var YM=Object.create;var pm=Object.defineProperty;var QM=Object.getOwnPropertyDescriptor;var XM=Object.getOwnPropertyNames;var eI=Object.getPrototypeOf,tI=Object.prototype.hasOwnProperty;var T=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var rI=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of XM(t))!tI.call(e,n)&&n!==r&&pm(e,n,{get:()=>t[n],enumerable:!(o=QM(t,n))||o.enumerable});return e};var y=(e,t,r)=>(r=e!=null?YM(eI(e)):{},rI(t||!e||!e.__esModule?pm(r,"default",{value:e,enumerable:!0}):r,e));var Pa=T((nD,bs)=>{var oI=function(){var e=String.fromCharCode,t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",o={};function n(i,a){if(!o[i]){o[i]={};for(var l=0;l>>8,l[d*2+1]=m%256}return l},decompressFromUint8Array:function(i){if(i==null)return s.decompress(i);for(var a=new Array(i.length/2),l=0,d=a.length;l>1}else{for(c=1,d=0;d>1}g--,g==0&&(g=Math.pow(2,S),S++),delete h[f]}else for(c=m[f],d=0;d>1;g--,g==0&&(g=Math.pow(2,S),S++),m[p]=w++,f=String(v)}if(f!==""){if(Object.prototype.hasOwnProperty.call(h,f)){if(f.charCodeAt(0)<256){for(d=0;d>1}else{for(c=1,d=0;d>1}g--,g==0&&(g=Math.pow(2,S),S++),delete h[f]}else for(c=m[f],d=0;d>1;g--,g==0&&(g=Math.pow(2,S),S++)}for(c=2,d=0;d>1;for(;;)if(b=b<<1,E==a-1){u.push(l(b));break}else E++;return u.join("")},decompress:function(i){return i==null?"":i==""?null:s._decompress(i.length,32768,function(a){return i.charCodeAt(a)})},_decompress:function(i,a,l){var d=[],c,m=4,h=4,v=3,p="",f=[],g,w,S,u,b,E,k,L={val:l(0),position:a,index:1};for(g=0;g<3;g+=1)d[g]=g;for(S=0,b=Math.pow(2,2),E=1;E!=b;)u=L.val&L.position,L.position>>=1,L.position==0&&(L.position=a,L.val=l(L.index++)),S|=(u>0?1:0)*E,E<<=1;switch(c=S){case 0:for(S=0,b=Math.pow(2,8),E=1;E!=b;)u=L.val&L.position,L.position>>=1,L.position==0&&(L.position=a,L.val=l(L.index++)),S|=(u>0?1:0)*E,E<<=1;k=e(S);break;case 1:for(S=0,b=Math.pow(2,16),E=1;E!=b;)u=L.val&L.position,L.position>>=1,L.position==0&&(L.position=a,L.val=l(L.index++)),S|=(u>0?1:0)*E,E<<=1;k=e(S);break;case 2:return""}for(d[3]=k,w=k,f.push(k);;){if(L.index>i)return"";for(S=0,b=Math.pow(2,v),E=1;E!=b;)u=L.val&L.position,L.position>>=1,L.position==0&&(L.position=a,L.val=l(L.index++)),S|=(u>0?1:0)*E,E<<=1;switch(k=S){case 0:for(S=0,b=Math.pow(2,8),E=1;E!=b;)u=L.val&L.position,L.position>>=1,L.position==0&&(L.position=a,L.val=l(L.index++)),S|=(u>0?1:0)*E,E<<=1;d[h++]=e(S),k=h-1,m--;break;case 1:for(S=0,b=Math.pow(2,16),E=1;E!=b;)u=L.val&L.position,L.position>>=1,L.position==0&&(L.position=a,L.val=l(L.index++)),S|=(u>0?1:0)*E,E<<=1;d[h++]=e(S),k=h-1,m--;break;case 2:return f.join("")}if(m==0&&(m=Math.pow(2,v),v++),d[k])p=d[k];else if(k===h)p=w+w.charAt(0);else return null;f.push(p),d[h++]=w+p.charAt(0),m--,w=p,m==0&&(m=Math.pow(2,v),v++)}}};return s}();typeof bs<"u"&&bs!=null&&(bs.exports=oI)});var xo=T((Ql,Eb)=>{var Gj=Object.prototype.hasOwnProperty;Ql=function(e,t){return Gj.call(e,t)};Eb.exports=Ql});var Ae=T((ui,Lb)=>{var Jj=xo();Object.keys?ui=Object.keys:ui=function(e){var t=[];for(var r in e)Jj(e,r)&&t.push(r);return t};Lb.exports=ui});var Eo=T((mi,kb)=>{var Kj=Ae();mi=function(e){return Zj.test(e)?e.replace(Yj,Qj):e};var Tb=mi.map={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},Cb="(?:"+Kj(Tb).join("|")+")",Zj=new RegExp(Cb),Yj=new RegExp(Cb,"g"),Qj=function(e){return Tb[e]};kb.exports=mi});var Ye=T((Xl,Mb)=>{Xl=function(e){return e==null?"":e.toString()};Mb.exports=Xl});var jb=T((ec,Ib)=>{ec=function(e,t,r){return Array.prototype.indexOf.call(e,t,r)};Ib.exports=ec});var Et=T((tc,Ub)=>{var Xj=Object.prototype.toString;tc=function(e){return Xj.call(e)};Ub.exports=tc});var ie=T((rc,Ab)=>{var e1=Et();rc=function(e){return e1(e)==="[object String]"};Ab.exports=rc});var rt=T((oc,Pb)=>{var t1=Et();oc=function(e){return t1(e)==="[object Number]"};Pb.exports=oc});var Be=T((nc,Hb)=>{var r1=Et();nc=function(e){var t=r1(e);return t==="[object Function]"||t==="[object GeneratorFunction]"||t==="[object AsyncFunction]"};Hb.exports=nc});var Zt=T((sc,qb)=>{var o1=rt(),n1=Be(),s1=Math.pow(2,53)-1;sc=function(e){if(!e)return!1;var t=e.length;return o1(t)&&t>=0&&t<=s1&&!n1(e)};qb.exports=sc});var Me=T((ic,Nb)=>{ic=function(e){return e===void 0};Nb.exports=ic});var lc=T((ac,Ob)=>{var i1=Me();ac=function(e,t,r){if(i1(t))return e;switch(r??3){case 1:return function(o){return e.call(t,o)};case 3:return function(o,n,s){return e.call(t,o,n,s)};case 4:return function(o,n,s,i){return e.call(t,o,n,s,i)}}return function(){return e.apply(t,arguments)}};Ob.exports=ac});var Q=T((cc,Db)=>{var a1=Zt(),l1=Ae(),c1=lc();cc=function(e,t,r){t=c1(t,r);var o,n;if(a1(e))for(o=0,n=e.length;o{var d1=Q();dc=function(e){var t=[];return d1(e,function(r){t.push(r)}),t};Rb.exports=dc});var Pe=T((pc,Bb)=>{var p1=jb(),u1=ie(),m1=Zt(),f1=_b();pc=function(e,t){return u1(e)?e.indexOf(t)>-1:(m1(e)||(e=f1(e)),p1(e,t)>=0)};Bb.exports=pc});var Lt=T((uc,$b)=>{uc=function(e,t){return e.indexOf(t)===0};$b.exports=uc});var fc=T((mc,Fb)=>{var g1=Ye();mc=function(e){return g1(e).replace(h1,function(t){switch(t){case'"':case"'":case"\\":return"\\"+t;case` `:return"\\n";case"\r":return"\\r";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029"}})};var h1=/["'\\\n\r\u2028\u2029]/g;Fb.exports=mc});var hc=T((gc,zb)=>{gc=function(e,t){var r=e.length-t.length;return r>=0&&e.indexOf(t,r)===r};zb.exports=gc});var ot=T((fi,Wb)=>{var y1=Et();Array.isArray?fi=Array.isArray:fi=function(e){return y1(e)==="[object Array]"};Wb.exports=fi});var Gb=T((yc,Vb)=>{var v1=Et();yc=function(e){return v1(e)==="[object Arguments]"};Vb.exports=yc});var gi=T((vc,Jb)=>{var w1=Zt(),b1=ot(),S1=ie(),x1=Gb(),E1=Ae();vc=function(e){return e==null?!0:w1(e)&&(b1(e)||S1(e)||x1(e))?e.length===0:E1(e).length===0};Jb.exports=vc});var hi=T((wc,Zb)=>{var L1=Me(),Kb=Q();wc=function(e,t){return function(r){return Kb(arguments,function(o,n){if(n!==0){var s=e(o);Kb(s,function(i){(!t||L1(r[i]))&&(r[i]=o[i])})}}),r}};Zb.exports=wc});var $e=T((bc,Yb)=>{bc=function(e){var t=typeof e;return!!e&&(t==="function"||t==="object")};Yb.exports=bc});var yi=T((Sc,eS)=>{var T1=$e(),C1=Be(),Qb=Object.getPrototypeOf,Xb={}.constructor;Sc=function(e){if(T1(e)){if(Qb)return Qb(e);var t=e.__proto__;if(t||t===null)return t;if(C1(e.constructor))return e.constructor.prototype;if(e instanceof Xb)return Xb.prototype}};eS.exports=Sc});var rS=T((xc,tS)=>{var k1=Ae(),M1=hi();xc=M1(k1);tS.exports=xc});var nS=T((Ec,oS)=>{var I1=Ae();Ec=function(e,t){var r=I1(t),o=r.length;if(e==null)return!o;e=Object(e);for(var n=0;n{var j1=rS(),U1=nS();Lc=function(e){return e=j1({},e),function(t){return U1(t,e)}};sS.exports=Lc});var lS=T((Tc,aS)=>{Tc=function(e){return e};aS.exports=Tc});var vi=T((Cc,cS)=>{var A1=xo(),P1=ot();Cc=function(e,t){if(P1(e))return e;if(t&&A1(t,e))return[e];var r=[];return e.replace(H1,function(o,n,s,i){r.push(s?i.replace(q1,"$1"):n||o)}),r};var H1=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,q1=/\\(\\)?/g;cS.exports=Cc});var Mc=T((kc,dS)=>{var N1=Me(),O1=vi();kc=function(e,t){t=O1(t,e);var r;for(r=t.shift();!N1(r);){if(e=e[r],e==null)return;r=t.shift()}return e};dS.exports=kc});var uS=T((Ic,pS)=>{var D1=ot(),R1=Mc();Ic=function(e){return D1(e)?function(t){return R1(t,e)}:_1(e)};function _1(e){return function(t){return t?.[e]}}pS.exports=Ic});var Nr=T((jc,mS)=>{var B1=Be(),$1=$e(),F1=ot(),z1=lc(),W1=iS(),V1=lS(),G1=uS();jc=function(e,t,r){return e==null?V1:B1(e)?z1(e,t,r):$1(e)&&!F1(e)?W1(e):G1(e)};mS.exports=jc});var Lo=T((Uc,fS)=>{var J1=Nr(),K1=Q();Uc=function(e,t,r){var o=[];return t=J1(t,r),K1(e,function(n,s,i){t(n,s,i)&&o.push(n)}),o};fS.exports=Uc});var bn=T((Ac,gS)=>{var Z1=Lo();Ac=function(e,t){return t=t||Y1,Z1(e,function(r,o,n){for(var s=n.length;++o{var hS=Ae(),Q1=yi(),X1=bn(),Pc=Object.getOwnPropertyNames,yS=Object.getOwnPropertySymbols;Hc=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.prototype,o=r===void 0?!0:r,n=t.unenumerable,s=n===void 0?!1:n,i=t.symbol,a=i===void 0?!1:i,l=[];if((s||a)&&Pc){var d=hS;s&&Pc&&(d=Pc);do l=l.concat(d(e)),a&&yS&&(l=l.concat(yS(e)));while(o&&(e=Q1(e))&&e!==Object.prototype);l=X1(l)}else if(o)for(var c in e)l.push(c);else l=hS(e);return l};vS.exports=Hc});var Yt=T((qc,wS)=>{var eU=hi(),tU=Sn();qc=eU(tU,!0);wS.exports=qc});var To=T((Nc,bS)=>{var rU=Yt(),oU=Me();Nc=function(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};rU(r,nU);var o=r.ellipsis,n=r.separator,s=e.length;if(t>s)return e;var i=t-o.length;if(i<1)return o;var a=e.slice(0,i);if(oU(n))return a+o;if(e.indexOf(n,i)!==i){var l=a.lastIndexOf(n);l>-1&&(a=a.slice(0,l))}return a+o};var nU={ellipsis:"..."};bS.exports=Nc});var Co=T((Oc,SS)=>{Oc=function(e){return e.length<1?e:e[0].toUpperCase()+e.slice(1)};SS.exports=Oc});var dt=T((Dc,ES)=>{var sU=Nr(),iU=Ae(),aU=Zt();Dc=function(e,t,r){t=sU(t,r);for(var o=!aU(e)&&iU(e),n=(o||e).length,s=Array(n),i=0;i{var lU=/^\s+/;Rc=function(e,t){if(t==null)return e.trimLeft?e.trimLeft():e.replace(lU,"");for(var r=0,o=e.length,n=t.length,s=!0,i,a;s&&r=o?"":e.substr(r,o)};LS.exports=Rc});var kS=T((_c,CS)=>{_c=function(e,t){if(t==null){if(e.trimRight)return e.trimRight();t=` \r \f\v`}for(var r=e.length-1,o=t.length,n=!0,s,i;n&&r>=0;)for(n=!1,s=-1,i=e.charAt(r);++s=0?e.substring(0,r+1):""};CS.exports=_c});var nt=T((Bc,MS)=>{var cU=TS(),dU=kS();Bc=function(e,t){return t==null&&e.trim?e.trim():cU(dU(e,t),t)};MS.exports=Bc});var wi=T(($c,IS)=>{$c=typeof window=="object"&&typeof document=="object"&&document.nodeType===9;IS.exports=$c});var _t=T((Fc,jS)=>{var pU=wi();Fc=pU?window:global;jS.exports=Fc});var En=T((zc,US)=>{zc=function(e){var t=e?e.length:0;if(t)return e[t-1]};US.exports=zc});var PS=T((Wc,AS)=>{var uU=Q(),mU=Me(),fU=Be();Wc=function(e,t){mU(t)&&(t=!0);var r=fU(t),o={};return uU(e,function(n){o[n]=r?t(n):t}),o};AS.exports=Wc});var Qt=T((Vc,HS)=>{var gU=Ye();Vc=function(e){return gU(e).toLocaleLowerCase()};HS.exports=Vc});var RS=T((Gc,DS)=>{var bi=En(),hU=PS(),Si=Lt(),qS=Qt();Gc=function(e,t){for(var r=[],o,n=e;e;){if(o=!0,!bi(r)||!wU[bi(r)]){if(Si(e,"");s>=0&&(t.comment&&t.comment(e.substring(4,s)),e=e.substring(s+3),o=!1)}else if(Si(e,"]*>")).exec(e);if(m){var h=e.substring(0,m.index);e=e.substring(m.index+m[0].length),h&&t.text&&t.text(h)}p("",bi(r))}if(n===e)throw Error("Parse Error: "+e);n=e}p();function v(f,g,w,S){if(g=qS(g),S=!!S,S||r.push(g),t.start){var u={};w.replace(vU,function(b,E,k,L,P){u[E]=k||L||P||""}),t.start(g,u,S)}}function p(f,g){g=qS(g);var w;if(!g)w=0;else for(w=r.length-1;w>=0&&r[w]!==g;w--);if(w>=0){for(var S=r.length-1;S>=w;S--)t.end&&t.end(r[S]);r.length=w}}};var yU=/^\s]+))?)*)\s*(\/?)>/i,NS=/^<\/([-A-Za-z0-9_]+)[^>]*>/,OS=/^<([-A-Za-z0-9_]+)((?:\s+[-A-Za-z0-9_:@.]+(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/i,vU=/([-A-Za-z0-9_:@.]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,wU=hU("script,style".split(","));DS.exports=Gc});var pt=T((Jc,_S)=>{var bU=hi(),SU=Sn();Jc=bU(SU);_S.exports=Jc});var st=T((Kc,BS)=>{var xU=Zt(),EU=dt(),LU=ot(),TU=ie();Kc=function(e){return e?LU(e)?e:xU(e)&&!TU(e)?EU(e):[e]:[]};BS.exports=Kc});var Yc=T((Zc,FS)=>{var CU=$e();Zc=function(e){if(!CU(e))return{};if($S)return $S(e);function t(){}return t.prototype=e,new t};var $S=Object.create;FS.exports=Zc});var WS=T((Qc,zS)=>{var kU=Yc();Qc=function(e,t){e.prototype=kU(t.prototype)};zS.exports=Qc});var ed=T((Xc,VS)=>{var MU=Be();Xc=typeof wx<"u"&&MU(wx.openLocation);VS.exports=Xc});var Xt=T((xi,YS)=>{var GS=pt(),JS=st(),KS=WS(),IU=Mc(),jU=ed();xi=function(e,t){return UU.extend(e,t)};function ZS(e,t,r){r=r||{};var o=t.className||IU(t,"initialize.name")||"";delete t.className;var n=function(){var s=JS(arguments);return this.initialize?this.initialize.apply(this,s)||this:this};if(!jU)try{n=new Function("toArr","return function "+o+"(){var args = toArr(arguments);return this.initialize ? this.initialize.apply(this, args) || this : this;};")(JS)}catch{}return KS(n,e),n.prototype.constructor=n,n.extend=function(s,i){return ZS(n,s,i)},n.inherits=function(s){KS(n,s)},n.methods=function(s){return GS(n.prototype,s),n},n.statics=function(s){return GS(n,s),n},n.methods(t).statics(r),n}var UU=xi.Base=ZS(Object,{className:"Base",callSuper:function(e,t,r){var o=e.prototype[t];return o.apply(this,r)},toString:function(){return this.constructor.name}});YS.exports=xi});var XS=T((td,QS)=>{td=function(e){var t=e.length,r=Array(t);t--;for(var o=0;o<=t;o++)r[t-o]=e[o];return r};QS.exports=td});var od=T((rd,ex)=>{var AU=Xt(),PU=XS();rd=AU({initialize:function(){this.clear()},clear:function(){this._items=[],this.size=0},push:function(e){return this._items.push(e),++this.size},pop:function(){if(this.size)return this.size--,this._items.pop()},peek:function(){return this._items[this.size-1]},forEach:function(e,t){t=arguments.length>1?t:this;for(var r=this._items,o=this.size-1,n=0;o>=0;o--,n++)e.call(t,r[o],n,this)},toArr:function(){return PU(this._items)}});ex.exports=rd});var rx=T((nd,tx)=>{var HU=Nr(),qU=Ae();nd=function(e,t,r){t=HU(t,r);for(var o=qU(e),n=o.length,s={},i=0;i{var NU=RS(),OU=od(),nx=ot(),ox=Q(),DU=ie(),RU=rx();function _U(e){var t=[],r=new OU;return NU(e,{start:function(o,n){n=RU(n,function(s){return BU(s)}),r.push({tag:o,attrs:n})},end:function(){var o=r.pop();if(!r.size){t.push(o);return}var n=r.peek();nx(n.content)||(n.content=[]),n.content.push(o)},comment:function(o){var n=""),s=r.peek();if(!s){t.push(n);return}s.content||(s.content=[]),s.content.push(n)},text:function(o){var n=r.peek();if(!n){t.push(o);return}n.content||(n.content=[]),n.content.push(o)}}),t}function sd(e){var t="";return nx(e)?ox(e,function(r){return t+=sd(r)}):DU(e)?t=e:(t+="<".concat(e.tag),ox(e.attrs,function(r,o){return t+=" ".concat(o,'="').concat($U(r),'"')}),t+=">",e.content&&(t+=sd(e.content)),t+="")),t}var BU=function(e){return e.replace(/"/g,'"')},$U=function(e){return e.replace(/"/g,""")};id={parse:_U,stringify:sd};sx.exports=id});var er=T((ad,ax)=>{var FU=rt(),ix=$e(),zU=Be(),WU=ie();ad=function(e){if(FU(e))return e;if(ix(e)){var t=zU(e.valueOf)?e.valueOf():e;e=ix(t)?t+"":t}return WU(e)?+e:e===0?e:+e};ax.exports=ad});var cx=T((ld,lx)=>{var VU=Et();ld=typeof process<"u"&&VU(process)==="[object process]";lx.exports=ld});var Tn=T((cd,dx)=>{var GU=wi(),JU=cx();cd=function(e){!e&&GU&&(e=navigator.userAgent);function t(s){return e.indexOf(s)>-1}if(e){if(e=e.toLowerCase(),t("windows phone"))return"windows phone";if(t("win"))return"windows";if(t("android"))return"android";if(t("ipad")||t("iphone")||t("ipod"))return"ios";if(t("mac"))return"os x";if(t("linux"))return"linux"}else if(JU){var r=process,o=r.platform,n=r.env;if(o==="win32"||n.OSTYPE==="cygwin"||n.OSTYPE==="msys")return"windows";if(o==="darwin")return"os x";if(o==="linux")return"linux"}return"unknown"};dx.exports=cd});var Ei=T((dd,px)=>{dd=function(){};px.exports=dd});var Cn=T((pd,ux)=>{var KU=Ei();pd=function(e,t){t=t||KU;var r=new Image;r.onload=function(){t(null,r)},r.onerror=function(o){t(o)},r.src=e};ux.exports=pd});var Or=T((ud,hx)=>{var gx=_t(),Li=gx.getComputedStyle,mx=gx.document;ud=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.display,o=r===void 0?!0:r,n=t.visibility,s=n===void 0?!1:n,i=t.opacity,a=i===void 0?!1:i,l=t.size,d=l===void 0?!1:l,c=t.viewport,m=c===void 0?!1:c,h=t.overflow,v=h===void 0?!1:h,p=Li(e);if(o){var f=e.tagName;if(f==="BODY"||f==="HTML"||p.position==="fixed"){if(p.display==="none")return!0;for(var g=e;g=g.parentElement;){var w=Li(g);if(w.display==="none")return!0}}else if(e.offsetParent===null)return!0}if(s&&p.visibility==="hidden")return!0;if(a){if(p.opacity==="0")return!0;for(var S=e;S=S.parentElement;){var u=Li(S);if(u.opacity==="0")return!0}}var b=e.getBoundingClientRect();if(d&&(b.width===0||b.height===0))return!0;if(m){var E={top:0,left:0,right:mx.documentElement.clientWidth,bottom:mx.documentElement.clientHeight};return fx(b,E)}if(v)for(var k=e;k=k.parentElement;){var L=Li(k),P=L.overflow;if(P==="scroll"||P==="hidden"){var D=k.getBoundingClientRect();if(fx(b,D))return!0}}return!1};function fx(e,t){return e.rightt.right||e.bottomt.bottom}hx.exports=ud});var ki=T((hd,qx)=>{hd=function(e){return e===!0||e===!1};qx.exports=hd});var Ox=T((yd,Nx)=>{yd=function(e){return e==null};Nx.exports=yd});var wd=T((vd,Dx)=>{var tA=Ox();vd=function(e){if(tA(e))return"";try{return rA.call(e)}catch{}try{return e+""}catch{}return""};var rA=Function.prototype.toString;Dx.exports=vd});var Sd=T((bd,_x)=>{var oA=$e(),Rx=Be();bd=function(e){return oA(e)&&Rx(e.then)&&Rx(e.catch)};_x.exports=bd});var Ed=T((xd,Bx)=>{var nA=rt();xd=function(e){return nA(e)&&e!==+e};Bx.exports=xd});var Fx=T((Ld,$x)=>{var sA=Be();Ld=function(e){return e==null?!1:e._isBuffer?!0:e.constructor&&sA(e.constructor.isBuffer)&&e.constructor.isBuffer(e)};$x.exports=Ld});var Mi=T((Td,zx)=>{var iA=Et(),aA=Ed(),lA=Qt(),cA=Fx();Td=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,r;return e===null&&(r="Null"),e===void 0&&(r="Undefined"),aA(e)&&(r="NaN"),cA(e)&&(r="Buffer"),r||(r=iA(e).match(dA),r&&(r=r[1])),r?t?lA(r):r:""};var dA=/^\[object\s+(.*?)]$/;zx.exports=Td});var Ii=T((Cd,Wx)=>{Cd=function(e,t){return t=t==null?e.length-1:+t,function(){var r=Math.max(arguments.length-t,0),o=new Array(r),n;for(n=0;n{var pA=Ii();kd=pA(function(e,t){for(var r=e.length,o=0,n=t.length;o{var uA=Xt(),mA=ie(),fA=Q(),gA=Gx();kn=uA({className:"Select",initialize:function(e){if(this.length=0,!e)return this;if(mA(e))return hA.find(e);e.nodeType&&(this[0]=e,this.length=1)},find:function(e){var t=new kn;return this.each(function(){gA(t,this.querySelectorAll(e))}),t},each:function(e){return fA(this,function(t,r){e.call(t,r,t)}),this}});var hA=new kn(document);Jx.exports=kn});var Tt=T((Id,Kx)=>{var yA=ie(),vA=st(),wA=Md();Id=function(e){return vA(yA(e)?new wA(e):e)};Kx.exports=Id});var Yx=T((jd,Zx)=>{var bA=Tt();jd=function(e){e=bA(e);var t=e[0],r=t.getBoundingClientRect();return{left:r.left+window.pageXOffset,top:r.top+window.pageYOffset,width:Math.round(r.width),height:Math.round(r.height)}};Zx.exports=jd});var Xx=T((Ad,Qx)=>{var SA=Q(),xA=Tt();Ad=function(e){e=xA(e),SA(e,function(t){EA(t)&&(t.style.display=LA(t.nodeName))})};function EA(e){return getComputedStyle(e,"").getPropertyValue("display")=="none"}var Ud={};function LA(e){var t,r;return Ud[e]||(t=document.createElement(e),document.documentElement.appendChild(t),r=getComputedStyle(t,"").getPropertyValue("display"),t.parentNode.removeChild(t),r=="none"&&(r="block"),Ud[e]=r),Ud[e]}Qx.exports=Ad});var Hd=T((Pd,eE)=>{var TA=/([A-Z])/g,CA=/[_.\- ]+/g,kA=/(^-)|(-$)/g;Pd=function(e){return e=e.replace(TA,"-$1").toLowerCase().replace(CA,"-").replace(kA,""),e.split("-")};eE.exports=Pd});var Nd=T((qd,tE)=>{var MA=Hd();qd=function(e){return MA(e).join("-")};tE.exports=qd});var oE=T((Od,rE)=>{var IA=xo();Od=function(e,t){var r=function(o){var n=r.cache,s=""+(t?t.apply(this,arguments):o);return IA(n,s)||(n[s]=e.apply(this,arguments)),n[s]};return r.cache={},r};rE.exports=Od});var sE=T((Dd,nE)=>{var jA=Hd();Dd=function(e){var t=jA(e),r=t[0];return t.shift(),t.forEach(UA,t),r+=t.join(""),r};function UA(e,t){this[t]=e.replace(/\w/,function(r){return r.toUpperCase()})}nE.exports=Dd});var uE=T((Mn,pE)=>{var cE=oE(),AA=sE(),PA=Co(),iE=xo(),HA=Nd();Mn=cE(function(e){if(e=e.replace(dE,""),e=AA(e),iE(lE,e))return e;for(var t=aE.length;t--;){var r=aE[t]+PA(e);if(iE(lE,r))return r}return e});Mn.dash=cE(function(e){var t=Mn(e);return(dE.test(t)?"-":"")+HA(t)});var aE=["O","ms","Moz","Webkit"],dE=/^(O)|(ms)|(Moz)|(Webkit)|(-o-)|(-ms-)|(-moz-)|(-webkit-)/g,lE=document.createElement("p").style;pE.exports=Mn});var ji=T((Rd,gE)=>{var qA=ie(),NA=$e(),OA=Nd(),DA=Me(),RA=Pe(),_A=rt(),BA=Tt(),fE=uE(),mE=Q();Rd=function(e,t,r){e=BA(e);var o=DA(r)&&qA(t);if(o)return $A(e[0],t);var n=t;NA(n)||(n={},n[t]=r),FA(e,n)};function $A(e,t){return e.style[fE(t)]||getComputedStyle(e,"").getPropertyValue(t)}function FA(e,t){mE(e,function(r){var o=";";mE(t,function(n,s){s=fE.dash(s),o+=s+":"+WA(s,n)+";"}),r.style.cssText+=o})}var zA=["column-count","columns","font-weight","line-weight","opacity","z-index","zoom"];function WA(e,t){var r=_A(t)&&!RA(zA,OA(e));return r?t+"px":t}gE.exports=Rd});var _d=T((Ai,yE)=>{var VA=st(),GA=$e(),JA=ie(),Ui=Q(),KA=Me(),hE=Tt();Ai=function(e,t,r){e=hE(e);var o=KA(r)&&JA(t);if(o)return ZA(e[0],t);var n=t;GA(n)||(n={},n[t]=r),YA(e,n)};Ai.remove=function(e,t){e=hE(e),t=VA(t),Ui(e,function(r){Ui(t,function(o){r.removeAttribute(o)})})};function ZA(e,t){return e.getAttribute(t)}function YA(e,t){Ui(e,function(r){Ui(t,function(o,n){r.setAttribute(n,o)})})}yE.exports=Ai});var wE=T(($d,vE)=>{var QA=Me(),XA=Q(),eP=Tt();$d={html:Bd("innerHTML"),text:Bd("textContent"),val:Bd("value")};function Bd(e){return function(t,r){t=eP(t);var o=t[0];if(QA(r))return o?o[e]:"";o&&XA(t,function(n){n[e]=r})}}vE.exports=$d});var SE=T((Fd,bE)=>{var tP=Q(),rP=Tt();Fd=function(e){e=rP(e),tP(e,function(t){var r=t.parentNode;r&&r.removeChild(t)})};bE.exports=Fd});var EE=T((zd,xE)=>{var oP=_d(),nP=ie(),sP=$e(),iP=Q(),mG=Tt();zd=function(e,t,r){var o=t;return nP(t)&&(o="data-"+t),sP(t)&&(o={},iP(t,function(n,s){o["data-"+s]=n})),oP(e,o,r)};xE.exports=zd});var TE=T((Pi,LE)=>{var aP=Xt(),lP=Pe();function Wd(){return!0}function Vd(){return!1}function cP(e){var t=this.events[e.type],r,o=dP.call(this,e,t);e=new Pi.Event(e);for(var n=0,s,i,a;(i=o[n++])&&!e.isPropagationStopped();)for(e.curTarget=i.el,s=0;(r=i.handlers[s++])&&!e.isImmediatePropagationStopped();)a=r.handler.apply(i.el,[e]),a===!1&&(e.preventDefault(),e.stopPropagation())}function dP(e,t){var r=e.target,o=[],n=t.delegateCount,s,i,a,l;if(r.nodeType)for(;r!==this;r=r.parentNode||this){for(i=[],l=0;l{var pP=TE(),uP=Me(),mP=Tt(),fP=Q();Gd={on:CE("add"),off:CE("remove")};function CE(e){return function(t,r,o,n){t=mP(t),uP(n)&&(n=o,o=void 0),fP(t,function(s){pP[e](s,r,o,n)})}}kE.exports=Gd});var Zd=T((Kd,ME)=>{var gP=Nr(),hP=Zt(),yP=Ae();Kd=function(e,t,r){t=gP(t,r);for(var o=!hP(e)&&yP(e),n=(o||e).length,s=0;s{var vP=st(),wP=Zd(),Hi=Tt(),bP=ie(),In=Q();Dr={add:function(e,t){e=Hi(e);var r=IE(t);In(e,function(o){var n=[];In(r,function(s){Dr.has(o,s)||n.push(s)}),n.length!==0&&(o.className+=(o.className?" ":"")+n.join(" "))})},has:function(e,t){e=Hi(e);var r=new RegExp("(^|\\s)"+t+"(\\s|$)");return wP(e,function(o){return r.test(o.className)})},toggle:function(e,t){e=Hi(e),In(e,function(r){if(!Dr.has(r,t))return Dr.add(r,t);Dr.remove(r,t)})},remove:function(e,t){e=Hi(e);var r=IE(t);In(e,function(o){In(r,function(n){o.classList.remove(n)})})}};function IE(e){return bP(e)?e.split(/\s+/):vP(e)}jE.exports=Dr});var AE=T((Qd,UE)=>{var SP=Q(),xP=Tt(),EP=ie();Qd={before:qi("beforebegin"),after:qi("afterend"),append:qi("beforeend"),prepend:qi("afterbegin")};function qi(e){return function(t,r){t=xP(t),SP(t,function(o){if(EP(r))o.insertAdjacentHTML(e,r);else{var n=o.parentNode;switch(e){case"beforebegin":n&&n.insertBefore(r,o);break;case"afterend":n&&n.insertBefore(r,o.nextSibling);break;case"beforeend":o.appendChild(r);break;case"afterbegin":o.prepend(r);break}}})}}UE.exports=Qd});var Bt=T((Rr,NE)=>{var qE=Md(),LP=Yx(),TP=Xx(),CP=ji(),PE=_d(),Xd=wE(),kP=En(),MP=SE(),IP=EE(),HE=Jd(),Ni=Yd(),Oi=AE(),Di=Me(),jP=ie();Rr=function(e){return new qE(e)};qE.methods({offset:function(){return LP(this)},hide:function(){return this.css("display","none")},show:function(){return TP(this),this},first:function(){return Rr(this[0])},last:function(){return Rr(kP(this))},get:function(e){return this[e]},eq:function(e){return Rr(this[e])},on:function(e,t,r){return HE.on(this,e,t,r),this},off:function(e,t,r){return HE.off(this,e,t,r),this},html:function(e){var t=Xd.html(this,e);return Di(e)?t:this},text:function(e){var t=Xd.text(this,e);return Di(e)?t:this},val:function(e){var t=Xd.val(this,e);return Di(e)?t:this},css:function(e,t){var r=CP(this,e,t);return ep(e,t)?r:this},attr:function(e,t){var r=PE(this,e,t);return ep(e,t)?r:this},data:function(e,t){var r=IP(this,e,t);return ep(e,t)?r:this},rmAttr:function(e){return PE.remove(this,e),this},remove:function(){return MP(this),this},addClass:function(e){return Ni.add(this,e),this},rmClass:function(e){return Ni.remove(this,e),this},toggleClass:function(e){return Ni.toggle(this,e),this},hasClass:function(e){return Ni.has(this,e)},parent:function(){return Rr(this[0].parentNode)},append:function(e){return Oi.append(this,e),this},prepend:function(e){return Oi.prepend(this,e),this},before:function(e){return Oi.before(this,e),this},after:function(e){return Oi.after(this,e),this}});var ep=function(e,t){return Di(t)&&jP(e)};NE.exports=Rr});var RE=T((tp,DE)=>{var UP=ot();tp=function(e){return OE(e,[])};function OE(e,t){for(var r=e.length,o=-1,n;r--;)n=e[++o],UP(n)?OE(n,t):t.push(n);return t}DE.exports=tp});var op=T((rp,_E)=>{var AP=Ii(),PP=RE(),HP=Lo(),qP=Pe();rp=AP(function(e,t){return t=PP(t),HP(e,function(r){return!qP(t,r)})});_E.exports=rp});var sp=T((np,BE)=>{np=function(e,t){var r=[];t=t||1;for(var o=0,n=Math.ceil(e.length/t);o{var Ri=Lt(),$E=_t(),FE=Ye();_i=function(e){return e.sort(zE)};_i.comparator=zE;function zE(e,t){if(e=FE(e),t=FE(t),Ri(e,"_")&&!Ri(t,"_"))return 1;if(Ri(t,"_")&&!Ri(e,"_"))return-1;for(var r=/^\d+|^\D+/,o,n,s,i;;){if(e){if(!t)return 1}else return t?-1:0;if(o=e.match(r)[0],n=t.match(r)[0],s=!$E.isNaN(o),i=!$E.isNaN(n),s&&!i)return-1;if(i&&!s)return 1;if(s&&i){var a=o-n;if(a)return a;if(o.length!==n.length)return!+o&&!+n?o.length-n.length:n.length-o.length}else if(o!==n)return o{var DP=0;ip=function(e){var t=++DP+"";return e?e+t:t};ZE.exports=ip});var QE=T((ap,YE)=>{ap=function(e,t,r){var o=e.length;t==null?t=0:t<0?t=Math.max(o+t,0):t=Math.min(t,o),r==null?r=o:r<0?r=Math.max(o+r,0):r=Math.min(r,o);for(var n=[];t{var RP=Ii(),_P=st();lp=RP(function(e,t){return function(){var r=[];return r=r.concat(t),r=r.concat(_P(arguments)),e.apply(this,r)}});XE.exports=lp});var rL=T((cp,tL)=>{cp=function(e,t){var r;return function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=null),r}};tL.exports=cp});var nL=T((dp,oL)=>{var BP=eL(),$P=rL();dp=BP($P,2);oL.exports=dp});var zi=T((pp,sL)=>{var FP=$e(),zP=ot(),WP=pt();pp=function(e){return FP(e)?zP(e)?e.slice():WP({},e):e};sL.exports=pp});var tr=T((Wi,lL)=>{var VP=Xt(),iL=xo(),aL=Q(),GP=QE(),JP=nL(),KP=zi();Wi=VP({initialize:function(){this._events=this._events||{}},on:function(e,t){return this._events[e]=this._events[e]||[],this._events[e].push(t),this},off:function(e,t){var r=this._events;if(iL(r,e)){var o=r[e].indexOf(t);return o>-1&&r[e].splice(o,1),this}},once:function(e,t){return this.on(e,JP(t)),this},emit:function(e){var t=this;if(iL(this._events,e)){var r=GP(arguments,1),o=KP(this._events[e]);return aL(o,function(n){return n.apply(t,r)},this),this}},removeAllListeners:function(e){return e?delete this._events[e]:this._events={},this}},{mixin:function(e){aL(["on","off","once","emit","removeAllListeners"],function(t){e[t]=Wi.prototype[t]}),e._events=e._events||{}}});lL.exports=Wi});var Io=T((mp,wL)=>{var eH=Nr();mp=function(e,t,r){var o=[];t=eH(t,r);for(var n=-1,s=e.length;++n{var bL=tr();fp=bL.extend({className:"MediaQuery",initialize:function(e){var t=this;this.callSuper(bL,"initialize"),this._listener=function(){t.emit(t.isMatch()?"match":"unmatch")},this.setQuery(e)},setQuery:function(e){this._mql&&this._mql.removeListener(this._listener),this._mql=window.matchMedia(e),this._mql.addListener(this._listener)},isMatch:function(){return this._mql.matches}});SL.exports=fp});var Un=T((jo,EL)=>{var tH=tr(),rH=xL(),gp=new rH("(prefers-color-scheme: dark)");jo={get:function(){return gp.isMatch()?"dark":"light"}};tH.mixin(jo);gp.on("match",function(){return jo.emit("change","dark")});gp.on("unmatch",function(){return jo.emit("change","light")});EL.exports=jo});var Lp=T((Ep,sT)=>{Ep=function(){for(var e=arguments,t=e[0],r=1,o=e.length;r{var aH=ie(),lH=st(),cH=Lp(),dH=dt(),pH=nt();Tp=function(e){aH(e)&&(e=lH(e));for(var t="",r=arguments.length,o=new Array(r>1?r-1:0),n=1;n0?cH.apply(null,l):0;return pH(dH(a,function(p){return p[0]===" "?p.slice(v):p}).join(` `))};var uH=/^(\s+)\S+/;iT.exports=Tp});var Yi=T((Mp,ET)=>{Mp=function(e){return!!(e&&e.nodeType===1)};ET.exports=Mp});var Nn=T((Up,CT)=>{var LT=Yi(),Ip=ie(),jp=Lt(),hH=Yd(),yH=ji(),TT=Q(),vH=Be();Up=function(e,t){for(var r=arguments.length,o=new Array(r>2?r-2:0),n=2;n{var bH=Xt(),SH=zi(),kT=Q(),xH=st();Qi=bH({initialize:function(){this._listeners=[]},addListener:function(e){this._listeners.push(e)},rmListener:function(e){var t=this._listeners.indexOf(e);t>-1&&this._listeners.splice(t,1)},rmAllListeners:function(){this._listeners=[]},emit:function(){var e=this,t=xH(arguments),r=SH(this._listeners);kT(r,function(o){return o.apply(e,t)},this)}},{mixin:function(e){kT(["addListener","rmListener","emit","rmAllListeners"],function(t){e[t]=Qi.prototype[t]}),e._listeners=e._listeners||[]}});MT.exports=Qi});var ta=T((ea,AT)=>{var Xi=IT(),On=Nn(),jT=Jd(),Ap=ji(),EH=Pe(),Pp=pt(),UT=_t();UT.ResizeObserver?ea=Xi.extend({initialize:function(t){var r=this;if(t._resizeSensor)return t._resizeSensor;this.callSuper(Xi,"initialize");var o=new UT.ResizeObserver(function(){return r.emit()});o.observe(t),t._resizeSensor=this,this._resizeObserver=o,this._el=t},destroy:function(){var e=this._el;e._resizeSensor&&(this.rmAllListeners(),delete e._resizeSensor,this._resizeObserver.unobserve(e))}}):ea=Xi.extend({initialize:function(t){if(t._resizeSensor)return t._resizeSensor;this.callSuper(Xi,"initialize"),this._el=t,t._resizeSensor=this,EH(["absolute","relative","fixed","sticky"],Ap(t,"position"))||Ap(t,"position","relative"),this._appendResizeSensor(),this._bindEvent()},destroy:function(){var e=this._el;e._resizeSensor&&(this.rmAllListeners(),delete e._resizeSensor,e.removeChild(this._resizeSensorEl))},_appendResizeSensor:function(){var e=this._el,t={pointerEvents:"none",position:"absolute",left:"0px",top:"0px",right:"0px",bottom:"0px",overflow:"hidden",zIndex:"-1",visibility:"hidden",maxWidth:"100%"},r={position:"absolute",left:"0px",top:"0px",transition:"0s"},o=On("div",{style:r}),n=On("div.resize-sensor-expand",{style:t},o),s=On("div.resize-sensor-shrink",{style:t},On("div",{style:Pp({width:"200%",height:"200%"},r)})),i=On("div.resize-sensor",{dir:"ltr",style:t},n,s);this._expandEl=n,this._expandChildEl=o,this._shrinkEl=s,this._resizeSensorEl=i,e.appendChild(i),this._resetExpandShrink()},_bindEvent:function(){var e=this;jT.on(this._expandEl,"scroll",function(){return e._onScroll()}),jT.on(this._shrinkEl,"scroll",function(){return e._onScroll()})},_onScroll:function(){this.emit(),this._resetExpandShrink()},_resetExpandShrink:function(){var e=this._el,t=e.offsetWidth,r=e.offsetHeight;Ap(this._expandChildEl,{width:t+10,height:r+10}),Pp(this._expandEl,{scrollLeft:t+10,scrollTop:r+10}),Pp(this._shrinkEl,{scrollLeft:t+10,scrollTop:r+10})}});AT.exports=ea});var qp=T((Hp,PT)=>{Hp=function(e,t,r){var o;return function(){var n=this,s=arguments,i=function(){o=null,e.apply(n,s)};r||clearTimeout(o),(!r||!o)&&(o=setTimeout(i,t))}};PT.exports=Hp});var Op=T((Np,HT)=>{var LH=qp();Np=function(e,t){return LH(e,t,!0)};HT.exports=Np});var ra=T((Dp,qT)=>{Dp=function(e){return e===null};qT.exports=Dp});var Dn=T((Rp,NT)=>{var TH=Et();Rp=function(e){return TH(e)==="[object RegExp]"};NT.exports=Rp});var RT=T((_p,DT)=>{var OT=Me();_p=function(e,t,r){return OT(r)&&(r=t,t=void 0),!OT(t)&&er?r:e};DT.exports=_p});var BT=T((Bp,_T)=>{Bp=function(){for(var e=arguments,t=e[0],r=1,o=e.length;rt&&(t=e[r]);return t};_T.exports=Bp});var FT=T(($p,$T)=>{var CH=rt();$p=function(e){return CH(e)&&e%1===0};$T.exports=$p});var WT=T((Fp,zT)=>{var kH=FT();Fp=function(e){return kH(e)?e%2!==0:!1};zT.exports=Fp});var Ao=T((oa,VT)=>{Date.now?oa=Date.now:oa=function(){return new Date().getTime()};VT.exports=oa});var KT=T((zp,JT)=>{var GT=_t(),MH={down:"touchstart",move:"touchmove",up:"touchend"},IH={down:"mousedown",move:"mousemove",up:"mouseup"},jH={down:"pointerdown",move:"pointermove",up:"pointerup"},UH="PointerEvent"in GT,AH="ontouchstart"in GT;zp=function(e){return UH?jH[e]:AH?MH[e]:IH[e]};JT.exports=zp});var A0=T((Yp,U0)=>{Yp=function(e){return window.ShadowRoot?e instanceof ShadowRoot:!1};U0.exports=Yp});var H0=T(($n,P0)=>{var OH=Xt();$n=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;$n||($n=OH({initialize:function(){},observe:function(){},disconnect:function(){},takeRecords:function(){}}));P0.exports=$n});var Qp=T((pa,q0)=>{var da=Q(),DH=Yt();pa=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"js",r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};DH(r,RH),e=e.replace(//g,">"),t=fr[t];var o=0,n=[];da(t,function(i){i.language&&(e=e.replace(i.re,function(a,l){return l?(n[o++]=pa(l,i.language,r),a.replace(l,"___subtmpl"+(o-1)+"___")):a}))}),da(t,function(i,a){fr[i.language]||(e=e.replace(i.re,"___"+a+"___$1___end"+a+"___"))});var s=[];return e=e.replace(/___(?!subtmpl)\w+?___/g,function(i){var a=i.substr(3,3)==="end",l=(a?i.substr(6):i.substr(3)).replace(/_/g,""),d=s.length>0?s[s.length-1]:null;return!a&&(d==null||l==d||d!=null&&t[d]&&t[d].embed!=null&&t[d].embed.indexOf(l)>-1)?(s.push(l),i):a&&l==d?(s.pop(),i):""}),da(t,function(i,a){var l=r[i.style]?' style="'.concat(r[i.style],'"'):"";e=e.replace(new RegExp("___end"+a+"___","g"),"").replace(new RegExp("___"+a+"___","g"),'"))}),da(t,function(i){i.language&&(e=e.replace(/___subtmpl\d+___/g,function(a){var l=parseInt(a.replace(/___subtmpl(\d+)___/,"$1"),10);return n[l]}))}),e};var RH={comment:"color:#63a35c;",string:"color:#183691;",number:"color:#0086b3;",keyword:"color:#a71d5d;",operator:"color:#994500;"},fr={};fr.js={comment:{re:/(\/\/.*|\/\*([\s\S]*?)\*\/)/g,style:"comment"},string:{re:/(('.*?')|(".*?"))/g,style:"string"},numbers:{re:/(-?(\d+|\d+\.\d+|\.\d+))/g,style:"number"},keywords:{re:/(?:\b)(function|for|foreach|while|if|else|elseif|switch|break|as|return|this|class|self|default|var|const|let|false|true|null|undefined)(?:\b)/gi,style:"keyword"},operator:{re:/(\+|-|\/|\*|%|=|<|>|\||\?|\.)/g,style:"operator"}};fr.html={comment:{re:/(<!--([\s\S]*?)-->)/g,style:"comment"},tag:{re:/(<\/?\w(.|\n)*?\/?>)/g,style:"keyword",embed:["string"]},string:fr.js.string,css:{re:/(?:<style.*?>)([\s\S]*)?(?:<\/style>)/gi,language:"css"},script:{re:/(?:<script.*?>)([\s\S]*?)(?:<\/script>)/gi,language:"js"}};fr.css={comment:fr.js.comment,string:fr.js.string,numbers:{re:/((-?(\d+|\d+\.\d+|\.\d+)(%|px|em|pt|in)?)|#[0-9a-fA-F]{3}[0-9a-fA-F]{3})/g,style:"number"},keywords:{re:/(@\w+|:?:\w+|[a-z-]+:)/g,style:"keyword"}};q0.exports=pa});var O0=T((Xp,N0)=>{var _H=Nr(),BH=Zt(),$H=Ae();Xp=function(e,t,r){t=_H(t,r);for(var o=!BH(e)&&$H(e),n=(o||e).length,s=0;s{var FH=Q();eu=function(e){var t={};return FH(e,function(r,o){t[r]=o}),t};D0.exports=eu});var B0=T((tu,_0)=>{var zH=ie(),WH=R0();tu=function(e){return zH(e)?qo[e]:VH[e]};var qo={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,"pause/break":19,"caps lock":20,esc:27,space:32,"page up":33,"page down":34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,delete:46,windows:91,"right windows":92,"windows menu":93,"numpad *":106,"numpad +":107,"numpad -":109,"numpad .":110,"numpad /":111,"num lock":144,"scroll lock":145,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222};for(Fn=97;Fn<123;Fn++)qo[String.fromCharCode(Fn)]=Fn-32;var Fn;for(zn=48;zn<58;zn++)qo[zn-48]=zn;var zn;for(Wn=1;Wn<13;Wn++)qo["f"+Wn]=Wn+111;var Wn;for(Vn=0;Vn<10;Vn++)qo["numpad "+Vn]=Vn+96;var Vn,VH=WH(qo);_0.exports=tu});var G0=T((nu,V0)=>{var GH=tr(),JH=B0(),$0=Q(),KH=bn(),ZH=nt(),YH=dt(),F0=Be();nu={on:function(e,t,r){F0(t)&&(r=t,t={}),e=e.split(z0),$0(e,function(o){if(o=ou(o),t.element){var n=t,s=n.element,i=s._hotkeyListeners||{};s._hotkeyListeners=i,i[o]=i[o]||[];var a=function(l){o===W0(l)&&r(l)};i[o].push({listener:a,origin:r}),s.addEventListener("keydown",a)}else ru.on(o,r)})},off:function(e,t,r){F0(t)&&(r=t,t={}),e=e.split(z0),$0(e,function(o){if(o=ou(o),t.element){var n=t,s=n.element,i=s._hotkeyListeners;if(i&&i[o]){for(var a=i[o],l,d=0,c=a.length;d{var eq=Et();uu=function(e){switch(eq(e)){case"[object Error]":case"[object DOMException]":return!0;default:return e instanceof Error}};rC.exports=uu});var sC=T((mu,nC)=>{mu=function(e){var t=typeof e;return e==null||t!=="function"&&t!=="object"};nC.exports=mu});var aC=T((fu,iC)=>{var tq=er();fu=function(e){return e?(e=tq(e),e-e%1):e===0?e:0};iC.exports=fu});var dC=T((gu,cC)=>{var lC=st();gu=function(){for(var e=lC(arguments),t=[],r=0,o=e.length;r{var rq=Mi(),oq=Co(),nq=Ye(),sq=Me(),iq=Be(),aq=Dn();hu=function(e,t){return JSON.stringify(e,lq(),t)};function lq(){var e=[],t=[];return function(r,o){if(e.length>0){var n=e.indexOf(this);n>-1?(e.splice(n+1),t.splice(n,1/0,r)):(e.push(this),t.push(r));var s=e.indexOf(o);s>-1&&(e[0]===o?o="[Circular ~]":o="[Circular ~."+t.slice(0,s).join(".")+"]")}else e.push(o);return aq(o)||iq(o)?o="["+oq(rq(o))+" "+nq(o)+"]":sq(o)&&(o=null),o}}pC.exports=hu});var vu=T((yu,mC)=>{var cq=pt(),dq=Ei();yu=function(e,t){t=t||dq;var r=document.createElement("textarea"),o=document.body;cq(r.style,{fontSize:"12pt",border:"0",padding:"0",margin:"0",position:"absolute",left:"-9999px"}),r.value=e,o.appendChild(r),r.setAttribute("readonly",""),r.select(),r.setSelectionRange(0,e.length);try{document.execCommand("copy"),t()}catch(n){t(n)}finally{o.removeChild(r)}};mC.exports=yu});var bu=T((wu,fC)=>{wu=function(e){return typeof e=="symbol"};fC.exports=wu});var hC=T((Su,gC)=>{var pq=vi(),uq=Me(),mq=Ye(),fq=bu(),gq=ie();Su=function(e,t,r){t=pq(t,e);var o=t.pop(),n;for(n=t.shift();!uq(n);){if(!gq(n)&&!fq(n)&&(n=mq(n)),n==="__proto__"||n==="constructor"||n==="prototype")return;e[n]||(e[n]={}),e=e[n],n=t.shift()}e[o]=r};gC.exports=Su});var wC=T((xu,vC)=>{var hq=vi(),yq=ie(),vq=$e(),wq=Q();xu=function(e,t,r){return yq(t)?yC(e,t,r):vq(t)&&wq(t,function(o,n){yC(e,n,o)}),e};function yC(e,t,r){for(var o=hq(t,e),n=o.pop();t=o.shift();)e[t]||(e[t]={}),e=e[t];Object.defineProperty(e,n,r)}vC.exports=xu});var SC=T((Eu,bC)=>{var bq=ie(),Sq=ot(),xq=Pe(),Eq=Q();Eu=function(e,t,r){if(bq(t)&&(t=[t]),Sq(t)){var o=t;t=function(i,a){return xq(o,a)}}var n={},s=function(i,a){t(i,a)&&(n[a]=i)};return r&&(s=function(i,a){t(i,a)||(n[a]=i)}),Eq(e,s),n};bC.exports=Eu});var AC=T((hr,UC)=>{var Lq=fc(),Tq=Mi(),Do=Ye(),xC=hc(),Cq=wd(),kC=Ae(),Kn=Q(),kq=Xt(),MC=yi(),Mq=op(),Iq=pt(),jq=Sd(),Uq=Lo(),EC=Ao(),LC=Sn(),IC=Pe(),Cu=$e(),Aq=ed(),TC=Yc(),Pq=Lt(),Hq=hC(),qq=wC(),CC=SC(),Nq=Zt();hr=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.self,o=t.startTime,n=o===void 0?EC():o,s=t.timeout,i=s===void 0?0:s,a=t.depth,l=a===void 0?0:a,d=t.curDepth,c=d===void 0?1:d,m=t.visitor,h=m===void 0?new Oq:m,v=t.unenumerable,p=v===void 0?!1:v,f=t.symbol,g=f===void 0?!1:f,w=t.accessGetter,S=w===void 0?!1:w,u=t.ignore,b=u===void 0?[]:u,E="",k={visitor:h,unenumerable:p,symbol:g,accessGetter:S,depth:l,curDepth:c+1,timeout:i,startTime:n,ignore:b},L=Tq(e,!1);if(L==="String")E=Oo(e);else if(L==="Number")E=Do(e),xC(E,"Infinity")&&(E='{"value":"'.concat(E,'","type":"Number"}'));else if(L==="NaN")E='{"value":"NaN","type":"Number"}';else if(L==="Boolean")E=e?"true":"false";else if(L==="Null")E="null";else if(L==="Undefined")E='{"type":"Undefined"}';else if(L==="Symbol"){var P="Symbol";try{P=Do(e)}catch{}E='{"value":'.concat(Oo(P),',"type":"Symbol"}')}else{if(i&&EC()-n>i)return Oo("Timeout");if(l&&c>l)return Oo("{...}");E="{";var D=[],z=h.get(e),ae;if(z?(ae=z.id,D.push('"reference":'.concat(ae))):(ae=h.set(e),D.push('"id":'.concat(ae))),D.push('"type":"'.concat(L,'"')),xC(L,"Function")?D.push('"value":'.concat(Oo(Cq(e)))):L==="RegExp"&&D.push('"value":'.concat(Oo(e))),!z){var ee=kC(e);if(ee.length&&D.push(Lu("enumerable",ee,r||e,k)),p){var le=Mq(LC(e,{prototype:!1,unenumerable:!0}),ee);le.length&&D.push(Lu("unenumerable",le,r||e,k))}if(g){var te=Uq(LC(e,{prototype:!1,symbol:!0}),function(Ce){return typeof Ce=="symbol"});te.length&&D.push(Lu("symbol",te,r||e,k))}var re=MC(e);if(re&&!IC(b,re)){var ge='"proto":'.concat(hr(re,Iq(k,{self:r||e})));D.push(ge)}}E+=D.join(",")+"}"}return E};function Lu(e,t,r,o){var n=[];return Kn(t,function(s){var i,a=Object.getOwnPropertyDescriptor(r,s),l=a&&a.get,d=a&&a.set;if(!o.accessGetter&&l)i="(...)";else try{if(i=r[s],IC(o.ignore,i))return;jq(i)&&i.catch(function(){})}catch(c){i=c.message}n.push("".concat(Tu(s),":").concat(hr(i,o))),l&&n.push("".concat(Tu("get "+Do(s)),":").concat(hr(a.get,o))),d&&n.push("".concat(Tu("set "+Do(s)),":").concat(hr(a.set,o)))}),'"'.concat(e,'":{')+n.join(",")+"}"}function Tu(e){return'"'.concat(jC(e),'"')}function Oo(e){return'"'.concat(jC(Do(e)),'"')}function jC(e){return Lq(e).replace(/\\'/g,"'").replace(/\t/g,"\\t")}var Oq=kq({initialize:function(){this.id=1,this.visited=[]},set:function(e){var t=this.visited,r=this.id,o={id:r,val:e};return t.push(o),this.id++,r},get:function(e){for(var t=this.visited,r=0,o=t.length;r{typeof process=="object"&&process.nextTick?Zn=process.nextTick:typeof setImmediate=="function"?Zn=function(e){setImmediate(PC(e))}:Zn=function(e){setTimeout(PC(e),0)};function PC(e){if(typeof e!="function")throw new TypeError(e+" is not a function");return e}HC.exports=Zn});var OC=T((ku,NC)=>{var Bq=bn(),$q=nt(),Fq=dt(),zq=st();ku=function(e){var t=zq(e.match(Wq));return Bq(Fq(t,function(r){return $q(r)}))};var Wq=/((https?)|(ftp)):\/\/[\w.]+[^ \f\n\r\t\v"\\<>[\]\u2100-\uFFFF(),]*/gi;NC.exports=ku});var RC=T((Mu,DC)=>{Mu=function(e){return e.replace(/\W/g,"\\$&")};DC.exports=Mu});var BC=T((Iu,_C)=>{var Vq=OC(),Gq=Q(),Jq=RC();Iu=function(e,t){t=t||Kq;var r=Vq(e);return Gq(r,function(o){e=e.replace(new RegExp(Jq(o),"g"),t)}),e};function Kq(e){return''+e+""}_C.exports=Iu});var FC=T((ga,$C)=>{var Yn=document;ga=function(e){var t=Yn.createElement("body");return t.innerHTML=e,t.childNodes[0]};Yn.createRange&&Yn.body&&(fa=Yn.createRange(),fa.selectNode(Yn.body),fa.createContextualFragment&&(ga=function(e){return fa.createContextualFragment(e).childNodes[0]}));var fa;$C.exports=ga});var kk=T((rs,Ck)=>{var Lk=Ao(),Tk=_t(),Au=Tk.performance,wa=Tk.process,ba;Au&&Au.now?rs=function(){return Au.now()}:wa&&wa.hrtime?(Pu=function(){var e=wa.hrtime();return e[0]*1e9+e[1]},ba=Pu()-wa.uptime()*1e9,rs=function(){return(Pu()-ba)/1e6}):(ba=Lk(),rs=function(){return Lk()-ba});var Pu;Ck.exports=rs});var jk=T((Hu,Ik)=>{var eN=ie(),tN=Xt();Hu=function(e,t){return eN(e)?rN(e):oN(e,t)};function rN(e){for(var t=[],r=document.evaluate(e,document,null,XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,null),o=0;o1&&arguments[1]!==void 0?arguments[1]:!1;if(e.nodeType===Node.DOCUMENT_NODE)return"/";for(var r=[],o=e;o;){var n=nN(o,t);if(!n||(r.push(n),n.optimized))break;o=o.parentNode}return r.reverse(),(r.length&&r[0].optimized?"":"/")+r.join("/")}function nN(e,t){var r,o=sN(e);if(o===-1)return null;switch(e.nodeType){case Node.ELEMENT_NODE:if(t&&e.getAttribute("id"))return new Mk('//*[@id="'+e.getAttribute("id")+'"]',!0);r=e.localName;break;case Node.ATTRIBUTE_NODE:r="@"+e.nodeName();break;case Node.TEXT_NODE:case Node.CDATA_SECTION_NODE:r="text()";break;case Node.PROCESSING_INSTRUCTION_NODE:r="processing-instruction()";break;case Node.COMMENT_NODE:r="comment()";break;case Node.DOCUMENT_NODE:r="";break;default:r="";break}return o>0&&(r+="["+o+"]"),new Mk(r,e.nodeType===Node.DOCUMENT_NODE)}function sN(e){function t(a,l){if(a===l)return!0;if(a.nodeType===Node.ELEMENT_NODE&&l.nodeType===Node.ELEMENT_NODE)return a.localName===l.localName;if(a.nodeType===l.nodeType)return!0;var d=a.nodeType===Node.CDATA_SECTION_NODE?Node.TEXT_NODE:a.nodeType,c=l.nodeType===Node.CDATA_SECTION_NODE?Node.TEXT_NODE:l.nodeType;return d===c}var r=e.parentNode?e.parentNode.children:null;if(!r)return 0;for(var o,n=0;n{var iN=Et();qu=function(e){return iN(e)==="[object Date]"};Uk.exports=qu});var Hk=T((Nu,Pk)=>{Nu=function(e,t){var r="";if(t<1)return"";for(;t>0;)t&1&&(r+=e),t>>=1,e+=e;return r};Pk.exports=Nu});var Nk=T((Ou,qk)=>{var aN=Hk(),lN=Ye();Ou=function(e,t,r){e=lN(e);var o=e.length;return r=r||" ",o{var cN=ie(),dN=Ak(),Sa=Ye(),pN=Nk();Mt=function(e,t,r,o){arguments.length===1&&cN(e)&&!fN.test(e)&&(t=e,e=void 0),e=e||new Date,dN(e)||(e=new Date(e)),t=Sa(Mt.masks[t]||t||Mt.masks.default);var n=t.slice(0,4);(n==="UTC:"||n==="GMT:")&&(t=t.slice(4),r=!0,n==="GMT:"&&(o=!0));var s=r?"getUTC":"get",i=e[s+"Date"](),a=e[s+"Day"](),l=e[s+"Month"](),d=e[s+"FullYear"](),c=e[s+"Hours"](),m=e[s+"Minutes"](),h=e[s+"Seconds"](),v=e[s+"Milliseconds"](),p=r?0:e.getTimezoneOffset(),f={d:i,dd:or(i),ddd:Mt.i18n.dayNames[a],dddd:Mt.i18n.dayNames[a+7],m:l+1,mm:or(l+1),mmm:Mt.i18n.monthNames[l],mmmm:Mt.i18n.monthNames[l+12],yy:Sa(d).slice(2),yyyy:d,h:c%12||12,hh:or(c%12||12),H:c,HH:or(c),M:m,MM:or(m),s:h,ss:or(h),l:or(v,3),L:or(Math.round(v/10)),t:c<12?"a":"p",tt:c<12?"am":"pm",T:c<12?"A":"P",TT:c<12?"AM":"PM",Z:o?"GMT":r?"UTC":(Sa(e).match(mN)||[""]).pop().replace(gN,""),o:(p>0?"-":"+")+or(Math.floor(Math.abs(p)/60)*100+Math.abs(p)%60,4),S:["th","st","nd","rd"][i%10>3?0:(i%100-i%10!=10)*i%10]};return t.replace(uN,function(g){return g in f?f[g]:g.slice(1,g.length-1)})};var or=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;return pN(Sa(e),t,"0")},uN=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|"[^"]*"|'[^']*'/g,mN=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,fN=/\d/,gN=/[^-+\dA-Z]/g;Mt.masks={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"};Mt.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]};Ok.exports=Mt});var Jk=T((Du,Gk)=>{var hN=Ao(),yN=wi(),$t,Vr,Wk=0;if(yN){for($t=window.requestAnimationFrame,Vr=window.cancelAnimationFrame,ss=["ms","moz","webkit","o"],Ro=0,Vk=ss.length;Ro{v!==void 0&&d.searchParams.set(h,String(v))});let m=e.view==="headless"||n;if(i&&(console.warn(`Deprecation notice: "lite" option is deprecated. Use "config: { mode: 'lite' }" instead.`),typeof o=="object"&&o.mode==null?o.mode="lite":d.searchParams.set("lite","true")),a&&(console.warn('Deprecation notice: The "view" option has been moved to "config.view". For headless mode use "headless: true".'),typeof o=="object"&&o.view==null&&a!=="headless"?o.view=a:d.searchParams.set("view",a)),typeof o=="string")try{new URL(o),d.searchParams.set("config",encodeURIComponent(o))}catch{throw new Error('"config" is not a valid URL or configuration object.')}else o&&typeof o=="object"&&Object.keys(o).length>0&&(o.title&&o.title!=="Untitled Project"&&d.searchParams.set("title",o.title),o.description&&o.description.length>0&&d.searchParams.set("description",o.description),c.set("config","code/"+(0,Ha.compressToEncodedURIComponent)(JSON.stringify(o))));if(r&&typeof r=="object"&&Object.keys(r).length>0)try{c.set("params",(0,Ha.compressToEncodedURIComponent)(JSON.stringify(r)))}catch{Object.keys(r).forEach(h=>{d.searchParams.set(h,encodeURIComponent(String(r[h])))})}return s&&d.searchParams.set("x",encodeURIComponent(s)),m&&d.searchParams.set("headless","true"),d.hash=c.toString(),d.href}var nI=typeof btoa=="function",qa=typeof Buffer=="function",iD=typeof TextDecoder=="function"?new TextDecoder:void 0,mm=typeof TextEncoder=="function"?new TextEncoder:void 0,sI="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",zo=Array.prototype.slice.call(sI),aD=(e=>{let t={};return e.forEach((r,o)=>t[r]=o),t})(zo);var At=String.fromCharCode.bind(String),lD=typeof Uint8Array.from=="function"?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),iI=e=>e.replace(/=/g,"").replace(/[+\/]/g,t=>t=="+"?"-":"_");var aI=e=>{let t,r,o,n,s="",i=e.length%3;for(let a=0;a255||(o=e.charCodeAt(a++))>255||(n=e.charCodeAt(a++))>255)throw new TypeError("invalid character found");t=r<<16|o<<8|n,s+=zo[t>>18&63]+zo[t>>12&63]+zo[t>>6&63]+zo[t&63]}return i?s.slice(0,i-3)+"===".substring(i):s},gm=nI?e=>btoa(e):qa?e=>Buffer.from(e,"binary").toString("base64"):aI,lI=qa?e=>Buffer.from(e).toString("base64"):e=>{let r=[];for(let o=0,n=e.length;o{if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?At(192|t>>>6)+At(128|t&63):At(224|t>>>12&15)+At(128|t>>>6&63)+At(128|t&63)}else{var t=65536+(e.charCodeAt(0)-55296)*1024+(e.charCodeAt(1)-56320);return At(240|t>>>18&7)+At(128|t>>>12&63)+At(128|t>>>6&63)+At(128|t&63)}},dI=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,pI=e=>e.replace(dI,cI),fm=qa?e=>Buffer.from(e,"utf8").toString("base64"):mm?e=>lI(mm.encode(e)):e=>gm(pI(e)),hm=(e,t=!1)=>t?iI(fm(e)):fm(e);var Xr=(e,t)=>{let r;return(...o)=>{r&&clearTimeout(r),r=setTimeout(()=>e.apply(null,o),typeof t=="function"?t():t)}},ym=e=>{let t=document.createElement("textarea");return t.innerHTML=e,t.value};var Na=e=>e.replace(/<\/script>/g,"<\\/script>"),Er=(e,t=!0)=>e.replace(/\\/g,t?"\\\\":"\\").replace(/`/g,"\\`").replace(/<\/script>/g,"<\\/script>");var Oa=(e,t="_")=>e.replace(/[\W]+/g,t),ar=()=>{let e=!1,t=navigator.userAgent.toLowerCase();return function(r){(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(r)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(r.substr(0,4)))&&(e=!0)}(t||navigator.vendor||window.opera),e},Lr=()=>navigator.userAgent.includes("Mac")||navigator.platform.includes("Mac"),Se=e=>Lr()?e.metaKey:e.ctrlKey;var eo=e=>!e?.startsWith("http")&&!e?.startsWith("data:"),to=(e,t=document.baseURI)=>eo(e)?new URL(e,t).href:e,ft=e=>(globalThis.structuredClone||(t=>JSON.parse(JSON.stringify(t,(r,o)=>o===void 0?null:o))))(e),Wo=(e,t)=>Object.fromEntries(Object.entries(e).map(([r,o],n)=>[r,t(o,r,n)])),ro=(e,t)=>Object.fromEntries(Object.entries(e).filter(([r,o],n)=>t(o,r,n))),Ss=e=>{if("clipboard"in navigator)return navigator.clipboard.writeText(e);if(document.queryCommandSupported&&document.queryCommandSupported("copy")){let t=document.createElement("textarea");t.textContent=e,t.style.position="fixed",document.body.appendChild(t),t.select();try{return document.execCommand("copy")}catch(r){return console.warn("Copy to clipboard failed.",r),!1}finally{document.body.removeChild(t)}}return!1};var Da=e=>e.replace(/'[^'"]*'(?=(?:[^"]*"[^"]*")*[^"]*$)/g,function(r){return'"'+r.substring(1,r.length-1)+'"'}).replace(/(\w+(?=([^"\\]*(\\.|"([^"\\]*\\.)*[^"\\]*"))*[^"]*$))(\s*:)(?!(\w*)(?:"))/gm,function(r){return'"'+r.substring(0,r.length-1).trimEnd()+'":'}).replace(/,\s*([\]}])/g,"$1"),Vo=(e,t=!1)=>{try{return JSON.stringify(e,void 0,t?2:void 0)}catch{return""}},Ra=()=>String(Math.random())+"-"+Date.now().toFixed(),_a=(e,t,r)=>{let o=document.createElement("a");o.style.display="none",o.href=r,o.download=Oa(e)+"."+t,o.click(),o.remove()},Go=(e,t)=>new Promise((r,o)=>{if(t&&globalThis[t])return r(globalThis[t]);if(typeof globalThis.importScripts=="function")return globalThis.importScripts(e),t&&globalThis[t]?r(globalThis[t]):r(globalThis);let n=document.createElement("script");n.src=e,n.async=!0;let s=()=>{n.removeEventListener("load",i),n.removeEventListener("error",a)},i=()=>{if(s(),!t)return r("loaded: "+e);let l=setInterval(()=>{if(window[t])return clearInterval(l),r(window[t])},5)},a=()=>{s(),o("failed to load: "+e)};n.addEventListener("load",i),n.addEventListener("error",a),document.head.appendChild(n)}),Wt=(e,t,r)=>{if(t&&document.getElementById(t))return;let o=document.createElement("link");o.rel="stylesheet",o.href=e,o.id=t||"styles-"+Ra(),o.crossOrigin="anonymous",document.head.insertBefore(o,r?document.querySelector(r):null)};var lr=(e,t="text/javascript")=>`data:${t};charset=UTF-8;base64,`+hm(e);var oo=e=>e.replace(/\/\*[\s\S]*?\*\/|([^\\:]|^)\/\/.*$/gm,"$1"),uI=e=>e.replace(/'[^\n']*'/gm,"''").replace(/"[^\n"]*"/gm,'""').replace(/`[^`]*`/gm,"``"),Ba=e=>uI(oo(e)),$=(e,t)=>({...t.customSettings[e]}),Jo=e=>{if(!e)return null;let t=null;if(e.startsWith("http")||e.startsWith("data:"))try{t=new URL(e).href}catch{try{t=new URL(decodeURIComponent(e)).href}catch{}}return t};var xs=e=>e.charAt(0).toUpperCase()+e.slice(1),vm=e=>e.replace(/[-_.]+/g," ").trim().replace(/^([A-Z])|\s+(\w)/g,function(t,r,o){return o?o.toUpperCase():r.toLowerCase()}),Pt=e=>Array.from(new Set(e));var wm=(e,t)=>{if(typeof t=="object"){Object.entries(t).forEach(([o,n])=>e.setAttribute(o,n));return}let r=t.match(/[^\s="']+\s*=\s*(('[^']*')|("[^"]*"))/g)||[];for(let o of r){let[n,...s]=o.split("="),i=s.join("=");e.setAttribute(n,i.slice(1,-1))}};var bm=e=>{let t=document.createElement("div");t.style.height=e,t.style.display="none",document.body.appendChild(t);let r=window.getComputedStyle(t).height;return document.body.removeChild(t),r},Sm=e=>{let t=document.createElement("div");t.style.color=e,document.body.appendChild(t);let o=window.getComputedStyle(t).getPropertyValue("color")||"rgb(77, 121, 179)";document.body.removeChild(t);let n=o.split("(")[1].split(")")[0].split(",").map(d=>Number(d)),[s,i,a,l=1]=n;return{r:s,g:i,b:a,a:l}},mI=(e,t,r,o=1)=>{let n=e/255,s=t/255,i=r/255,a=Math.min(n,s,i),l=Math.max(n,s,i),d=l-a,c=0,m=0,h=0;return d===0?c=0:l===n?c=(s-i)/d%6:l===s?c=(i-n)/d+2:c=(n-s)/d+4,c=Math.round(c*60),c<0&&(c+=360),h=(l+a)/2,m=d===0?0:d/(1-Math.abs(2*h-1)),m=+(m*100).toFixed(0),h=+(h*100).toFixed(0),{h:c,s:m,l:h,a:o}},xm=e=>{let{r:t,g:r,b:o,a:n}=Sm(e);return mI(t,r,o,n)},fI=(e,t,r)=>"#"+((e<<16)+(t<<8)+r).toString(16).padStart(6,"0"),Em=e=>{let{r:t,g:r,b:o}=Sm(e);return fI(t,r,o)},Lm=()=>(...e)=>e,Tm=e=>{let t=e.querySelector("textarea")||e.querySelector('[role="textbox"]');if(t){let r=()=>t.tabIndex=-1;new MutationObserver(n=>{for(let s of n)s.type==="attributes"&&s.attributeName==="tabindex"&&t.tabIndex!==-1&&r()}).observe(t,{attributes:!0}),r()}};var Cm=e=>{if(!e||e.tabIndex<0)return!1;switch(e.tagName){case"A":return!!e.href;case"INPUT":return e.type!=="hidden"&&!e.disabled;case"SELECT":case"TEXTAREA":case"BUTTON":return!e.disabled;default:return!1}},$a=(e,t)=>{let r=[];for(let o of Object.keys(e))if(typeof e[o]!="function")if(!(o in t))r.push(o);else if(e[o]!==null&&typeof e[o]=="object"){let n=$a(e[o],t[o]).map(s=>`${o}.${s}`);r.push(...n)}else e[o]!==t[o]&&r.push(o);return r},Ht={APP_VERSION:"46",SDK_VERSION:"0.11.1",COMMIT_SHA:"328cc81",REPO_URL:"https://github.com/live-codes/livecodes",DOCS_BASE_URL:"/docs/"};var km='