var ET=Object.create;var Rp=Object.defineProperty;var LT=Object.getOwnPropertyDescriptor;var TT=Object.getOwnPropertyNames;var CT=Object.getPrototypeOf,MT=Object.prototype.hasOwnProperty;var b=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var kT=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of TT(t))!MT.call(e,s)&&s!==r&&Rp(e,s,{get:()=>t[s],enumerable:!(o=LT(t,s))||o.enumerable});return e};var d=(e,t,r)=>(r=e!=null?ET(CT(e)):{},kT(t||!e||!e.__esModule?Rp(r,"default",{value:e,enumerable:!0}):r,e));var An=b((gP,Fo)=>{var IT=function(){var e=String.fromCharCode,t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",o={};function s(i,a){if(!o[i]){o[i]={};for(var l=0;l>>8,l[c*2+1]=f%256}return l},decompressFromUint8Array:function(i){if(i==null)return n.decompress(i);for(var a=new Array(i.length/2),l=0,c=a.length;l>1}else{for(p=1,c=0;c>1}m--,m==0&&(m=Math.pow(2,S),S++),delete h[y]}else for(p=f[y],c=0;c>1;m--,m==0&&(m=Math.pow(2,S),S++),f[u]=v++,y=String(w)}if(y!==""){if(Object.prototype.hasOwnProperty.call(h,y)){if(y.charCodeAt(0)<256){for(c=0;c>1}else{for(p=1,c=0;c>1}m--,m==0&&(m=Math.pow(2,S),S++),delete h[y]}else for(p=f[y],c=0;c>1;m--,m==0&&(m=Math.pow(2,S),S++)}for(p=2,c=0;c>1;for(;;)if(x=x<<1,E==a-1){g.push(l(x));break}else E++;return g.join("")},decompress:function(i){return i==null?"":i==""?null:n._decompress(i.length,32768,function(a){return i.charCodeAt(a)})},_decompress:function(i,a,l){var c=[],p,f=4,h=4,w=3,u="",y=[],m,v,S,g,x,E,M,C={val:l(0),position:a,index:1};for(m=0;m<3;m+=1)c[m]=m;for(S=0,x=Math.pow(2,2),E=1;E!=x;)g=C.val&C.position,C.position>>=1,C.position==0&&(C.position=a,C.val=l(C.index++)),S|=(g>0?1:0)*E,E<<=1;switch(p=S){case 0:for(S=0,x=Math.pow(2,8),E=1;E!=x;)g=C.val&C.position,C.position>>=1,C.position==0&&(C.position=a,C.val=l(C.index++)),S|=(g>0?1:0)*E,E<<=1;M=e(S);break;case 1:for(S=0,x=Math.pow(2,16),E=1;E!=x;)g=C.val&C.position,C.position>>=1,C.position==0&&(C.position=a,C.val=l(C.index++)),S|=(g>0?1:0)*E,E<<=1;M=e(S);break;case 2:return""}for(c[3]=M,v=M,y.push(M);;){if(C.index>i)return"";for(S=0,x=Math.pow(2,w),E=1;E!=x;)g=C.val&C.position,C.position>>=1,C.position==0&&(C.position=a,C.val=l(C.index++)),S|=(g>0?1:0)*E,E<<=1;switch(M=S){case 0:for(S=0,x=Math.pow(2,8),E=1;E!=x;)g=C.val&C.position,C.position>>=1,C.position==0&&(C.position=a,C.val=l(C.index++)),S|=(g>0?1:0)*E,E<<=1;c[h++]=e(S),M=h-1,f--;break;case 1:for(S=0,x=Math.pow(2,16),E=1;E!=x;)g=C.val&C.position,C.position>>=1,C.position==0&&(C.position=a,C.val=l(C.index++)),S|=(g>0?1:0)*E,E<<=1;c[h++]=e(S),M=h-1,f--;break;case 2:return y.join("")}if(f==0&&(f=Math.pow(2,w),w++),c[M])u=c[M];else if(M===h)u=v+v.charAt(0);else return null;y.push(u),c[h++]=v+u.charAt(0),f--,v=u,f==0&&(f=Math.pow(2,w),w++)}}};return n}();typeof Fo<"u"&&Fo!=null&&(Fo.exports=IT)});var er=b((qi,ah)=>{var WC=Object.prototype.hasOwnProperty;qi=function(e,t){return WC.call(e,t)};ah.exports=qi});var se=b((ds,lh)=>{var VC=er();Object.keys?ds=Object.keys:ds=function(e){var t=[];for(var r in e)VC(e,r)&&t.push(r);return t};lh.exports=ds});var tr=b((us,dh)=>{var GC=se();us=function(e){return JC.test(e)?e.replace(ZC,KC):e};var ch=us.map={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},ph="(?:"+GC(ch).join("|")+")",JC=new RegExp(ph),ZC=new RegExp(ph,"g"),KC=function(e){return ch[e]};dh.exports=us});var fe=b((Ni,uh)=>{Ni=function(e){return e==null?"":e.toString()};uh.exports=Ni});var fh=b((Oi,mh)=>{Oi=function(e,t,r){return Array.prototype.indexOf.call(e,t,r)};mh.exports=Oi});var je=b((Di,gh)=>{var YC=Object.prototype.toString;Di=function(e){return YC.call(e)};gh.exports=Di});var _=b((Ri,hh)=>{var QC=je();Ri=function(e){return QC(e)==="[object String]"};hh.exports=Ri});var Se=b(($i,yh)=>{var XC=je();$i=function(e){return XC(e)==="[object Number]"};yh.exports=$i});var ce=b((Bi,vh)=>{var eM=je();Bi=function(e){var t=eM(e);return t==="[object Function]"||t==="[object GeneratorFunction]"||t==="[object AsyncFunction]"};vh.exports=Bi});var Xe=b((_i,wh)=>{var tM=Se(),rM=ce(),oM=Math.pow(2,53)-1;_i=function(e){if(!e)return!1;var t=e.length;return tM(t)&&t>=0&&t<=oM&&!rM(e)};wh.exports=_i});var te=b((zi,bh)=>{zi=function(e){return e===void 0};bh.exports=zi});var Wi=b((Fi,Sh)=>{var sM=te();Fi=function(e,t,r){if(sM(t))return e;switch(r??3){case 1:return function(o){return e.call(t,o)};case 3:return function(o,s,n){return e.call(t,o,s,n)};case 4:return function(o,s,n,i){return e.call(t,o,s,n,i)}}return function(){return e.apply(t,arguments)}};Sh.exports=Fi});var N=b((Vi,xh)=>{var nM=Xe(),iM=se(),aM=Wi();Vi=function(e,t,r){t=aM(t,r);var o,s;if(nM(e))for(o=0,s=e.length;o{var lM=N();Gi=function(e){var t=[];return lM(e,function(r){t.push(r)}),t};Eh.exports=Gi});var ne=b((Ji,Th)=>{var cM=fh(),pM=_(),dM=Xe(),uM=Lh();Ji=function(e,t){return pM(e)?e.indexOf(t)>-1:(dM(e)||(e=uM(e)),cM(e,t)>=0)};Th.exports=Ji});var Ue=b((Zi,Ch)=>{Zi=function(e,t){return e.indexOf(t)===0};Ch.exports=Zi});var Yi=b((Ki,Mh)=>{var mM=fe();Ki=function(e){return mM(e).replace(fM,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 fM=/["'\\\n\r\u2028\u2029]/g;Mh.exports=Ki});var Xi=b((Qi,kh)=>{Qi=function(e,t){var r=e.length-t.length;return r>=0&&e.indexOf(t,r)===r};kh.exports=Qi});var xe=b((ms,Ih)=>{var gM=je();Array.isArray?ms=Array.isArray:ms=function(e){return gM(e)==="[object Array]"};Ih.exports=ms});var Uh=b((ea,jh)=>{var hM=je();ea=function(e){return hM(e)==="[object Arguments]"};jh.exports=ea});var fs=b((ta,Ah)=>{var yM=Xe(),vM=xe(),wM=_(),bM=Uh(),SM=se();ta=function(e){return e==null?!0:yM(e)&&(vM(e)||wM(e)||bM(e))?e.length===0:SM(e).length===0};Ah.exports=ta});var gs=b((ra,Hh)=>{var xM=te(),Ph=N();ra=function(e,t){return function(r){return Ph(arguments,function(o,s){if(s!==0){var n=e(o);Ph(n,function(i){(!t||xM(r[i]))&&(r[i]=o[i])})}}),r}};Hh.exports=ra});var pe=b((oa,qh)=>{oa=function(e){var t=typeof e;return!!e&&(t==="function"||t==="object")};qh.exports=oa});var hs=b((sa,Dh)=>{var EM=pe(),LM=ce(),Nh=Object.getPrototypeOf,Oh={}.constructor;sa=function(e){if(EM(e)){if(Nh)return Nh(e);var t=e.__proto__;if(t||t===null)return t;if(LM(e.constructor))return e.constructor.prototype;if(e instanceof Oh)return Oh.prototype}};Dh.exports=sa});var $h=b((na,Rh)=>{var TM=se(),CM=gs();na=CM(TM);Rh.exports=na});var _h=b((ia,Bh)=>{var MM=se();ia=function(e,t){var r=MM(t),o=r.length;if(e==null)return!o;e=Object(e);for(var s=0;s{var kM=$h(),IM=_h();aa=function(e){return e=kM({},e),function(t){return IM(t,e)}};zh.exports=aa});var Vh=b((la,Wh)=>{la=function(e){return e};Wh.exports=la});var ys=b((ca,Gh)=>{var jM=er(),UM=xe();ca=function(e,t){if(UM(e))return e;if(t&&jM(t,e))return[e];var r=[];return e.replace(AM,function(o,s,n,i){r.push(n?i.replace(PM,"$1"):s||o)}),r};var AM=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,PM=/\\(\\)?/g;Gh.exports=ca});var da=b((pa,Jh)=>{var HM=te(),qM=ys();pa=function(e,t){t=qM(t,e);var r;for(r=t.shift();!HM(r);){if(e=e[r],e==null)return;r=t.shift()}return e};Jh.exports=pa});var Kh=b((ua,Zh)=>{var NM=xe(),OM=da();ua=function(e){return NM(e)?function(t){return OM(t,e)}:DM(e)};function DM(e){return function(t){return t?.[e]}}Zh.exports=ua});var Mt=b((ma,Yh)=>{var RM=ce(),$M=pe(),BM=xe(),_M=Wi(),zM=Fh(),FM=Vh(),WM=Kh();ma=function(e,t,r){return e==null?FM:RM(e)?_M(e,t,r):$M(e)&&!BM(e)?zM(e):WM(e)};Yh.exports=ma});var rr=b((fa,Qh)=>{var VM=Mt(),GM=N();fa=function(e,t,r){var o=[];return t=VM(t,r),GM(e,function(s,n,i){t(s,n,i)&&o.push(s)}),o};Qh.exports=fa});var Fr=b((ga,Xh)=>{var JM=rr();ga=function(e,t){return t=t||ZM,JM(e,function(r,o,s){for(var n=s.length;++o{var ey=se(),KM=hs(),YM=Fr(),ha=Object.getOwnPropertyNames,ty=Object.getOwnPropertySymbols;ya=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.prototype,o=r===void 0?!0:r,s=t.unenumerable,n=s===void 0?!1:s,i=t.symbol,a=i===void 0?!1:i,l=[];if((n||a)&&ha){var c=ey;n&&ha&&(c=ha);do l=l.concat(c(e)),a&&ty&&(l=l.concat(ty(e)));while(o&&(e=KM(e))&&e!==Object.prototype);l=YM(l)}else if(o)for(var p in e)l.push(p);else l=ey(e);return l};ry.exports=ya});var et=b((va,oy)=>{var QM=gs(),XM=Wr();va=QM(XM,!0);oy.exports=va});var or=b((wa,sy)=>{var ek=et(),tk=te();wa=function(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};ek(r,rk);var o=r.ellipsis,s=r.separator,n=e.length;if(t>n)return e;var i=t-o.length;if(i<1)return o;var a=e.slice(0,i);if(tk(s))return a+o;if(e.indexOf(s,i)!==i){var l=a.lastIndexOf(s);l>-1&&(a=a.slice(0,l))}return a+o};var rk={ellipsis:"..."};sy.exports=wa});var sr=b((ba,ny)=>{ba=function(e){return e.length<1?e:e[0].toUpperCase()+e.slice(1)};ny.exports=ba});var Te=b((Sa,ay)=>{var ok=Mt(),sk=se(),nk=Xe();Sa=function(e,t,r){t=ok(t,r);for(var o=!nk(e)&&sk(e),s=(o||e).length,n=Array(s),i=0;i{var ik=/^\s+/;xa=function(e,t){if(t==null)return e.trimLeft?e.trimLeft():e.replace(ik,"");for(var r=0,o=e.length,s=t.length,n=!0,i,a;n&&r=o?"":e.substr(r,o)};ly.exports=xa});var dy=b((Ea,py)=>{Ea=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,s=!0,n,i;s&&r>=0;)for(s=!1,n=-1,i=e.charAt(r);++n=0?e.substring(0,r+1):""};py.exports=Ea});var Ee=b((La,uy)=>{var ak=cy(),lk=dy();La=function(e,t){return t==null&&e.trim?e.trim():ak(lk(e,t),t)};uy.exports=La});var vs=b((Ta,my)=>{Ta=typeof window=="object"&&typeof document=="object"&&document.nodeType===9;my.exports=Ta});var Be=b((Ca,fy)=>{var ck=vs();Ca=ck?window:global;fy.exports=Ca});var Gr=b((Ma,gy)=>{Ma=function(e){var t=e?e.length:0;if(t)return e[t-1]};gy.exports=Ma});var yy=b((ka,hy)=>{var pk=N(),dk=te(),uk=ce();ka=function(e,t){dk(t)&&(t=!0);var r=uk(t),o={};return pk(e,function(s){o[s]=r?t(s):t}),o};hy.exports=ka});var tt=b((Ia,vy)=>{var mk=fe();Ia=function(e){return mk(e).toLocaleLowerCase()};vy.exports=Ia});var Ey=b((ja,xy)=>{var ws=Gr(),fk=yy(),bs=Ue(),wy=tt();ja=function(e,t){for(var r=[],o,s=e;e;){if(o=!0,!ws(r)||!yk[ws(r)]){if(bs(e,"");n>=0&&(t.comment&&t.comment(e.substring(4,n)),e=e.substring(n+3),o=!1)}else if(bs(e,"]*>")).exec(e);if(f){var h=e.substring(0,f.index);e=e.substring(f.index+f[0].length),h&&t.text&&t.text(h)}u("",ws(r))}if(s===e)throw Error("Parse Error: "+e);s=e}u();function w(y,m,v,S){if(m=wy(m),S=!!S,S||r.push(m),t.start){var g={};v.replace(hk,function(x,E,M,C,A){g[E]=M||C||A||""}),t.start(m,g,S)}}function u(y,m){m=wy(m);var v;if(!m)v=0;else for(v=r.length-1;v>=0&&r[v]!==m;v--);if(v>=0){for(var S=r.length-1;S>=v;S--)t.end&&t.end(r[S]);r.length=v}}};var gk=/^\s]+))?)*)\s*(\/?)>/i,by=/^<\/([-A-Za-z0-9_]+)[^>]*>/,Sy=/^<([-A-Za-z0-9_]+)((?:\s+[-A-Za-z0-9_:@.]+(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/i,hk=/([-A-Za-z0-9_:@.]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,yk=fk("script,style".split(","));xy.exports=ja});var Ce=b((Ua,Ly)=>{var vk=gs(),wk=Wr();Ua=vk(wk);Ly.exports=Ua});var Le=b((Aa,Ty)=>{var bk=Xe(),Sk=Te(),xk=xe(),Ek=_();Aa=function(e){return e?xk(e)?e:bk(e)&&!Ek(e)?Sk(e):[e]:[]};Ty.exports=Aa});var Ha=b((Pa,My)=>{var Lk=pe();Pa=function(e){if(!Lk(e))return{};if(Cy)return Cy(e);function t(){}return t.prototype=e,new t};var Cy=Object.create;My.exports=Pa});var Iy=b((qa,ky)=>{var Tk=Ha();qa=function(e,t){e.prototype=Tk(t.prototype)};ky.exports=qa});var Oa=b((Na,jy)=>{var Ck=ce();Na=typeof wx<"u"&&Ck(wx.openLocation);jy.exports=Na});var rt=b((Ss,qy)=>{var Uy=Ce(),Ay=Le(),Py=Iy(),Mk=da(),kk=Oa();Ss=function(e,t){return Ik.extend(e,t)};function Hy(e,t,r){r=r||{};var o=t.className||Mk(t,"initialize.name")||"";delete t.className;var s=function(){var n=Ay(arguments);return this.initialize?this.initialize.apply(this,n)||this:this};if(!kk)try{s=new Function("toArr","return function "+o+"(){var args = toArr(arguments);return this.initialize ? this.initialize.apply(this, args) || this : this;};")(Ay)}catch{}return Py(s,e),s.prototype.constructor=s,s.extend=function(n,i){return Hy(s,n,i)},s.inherits=function(n){Py(s,n)},s.methods=function(n){return Uy(s.prototype,n),s},s.statics=function(n){return Uy(s,n),s},s.methods(t).statics(r),s}var Ik=Ss.Base=Hy(Object,{className:"Base",callSuper:function(e,t,r){var o=e.prototype[t];return o.apply(this,r)},toString:function(){return this.constructor.name}});qy.exports=Ss});var Oy=b((Da,Ny)=>{Da=function(e){var t=e.length,r=Array(t);t--;for(var o=0;o<=t;o++)r[t-o]=e[o];return r};Ny.exports=Da});var $a=b((Ra,Dy)=>{var jk=rt(),Uk=Oy();Ra=jk({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,s=0;o>=0;o--,s++)e.call(t,r[o],s,this)},toArr:function(){return Uk(this._items)}});Dy.exports=Ra});var $y=b((Ba,Ry)=>{var Ak=Mt(),Pk=se();Ba=function(e,t,r){t=Ak(t,r);for(var o=Pk(e),s=o.length,n={},i=0;i{var Hk=Ey(),qk=$a(),_y=xe(),By=N(),Nk=_(),Ok=$y();function Dk(e){var t=[],r=new qk;return Hk(e,{start:function(o,s){s=Ok(s,function(n){return Rk(n)}),r.push({tag:o,attrs:s})},end:function(){var o=r.pop();if(!r.size){t.push(o);return}var s=r.peek();_y(s.content)||(s.content=[]),s.content.push(o)},comment:function(o){var s=""),n=r.peek();if(!n){t.push(s);return}n.content||(n.content=[]),n.content.push(s)},text:function(o){var s=r.peek();if(!s){t.push(o);return}s.content||(s.content=[]),s.content.push(o)}}),t}function _a(e){var t="";return _y(e)?By(e,function(r){return t+=_a(r)}):Nk(e)?t=e:(t+="<".concat(e.tag),By(e.attrs,function(r,o){return t+=" ".concat(o,'="').concat($k(r),'"')}),t+=">",e.content&&(t+=_a(e.content)),t+="")),t}var Rk=function(e){return e.replace(/"/g,'"')},$k=function(e){return e.replace(/"/g,""")};za={parse:Dk,stringify:_a};zy.exports=za});var ot=b((Fa,Wy)=>{var Bk=Se(),Fy=pe(),_k=ce(),zk=_();Fa=function(e){if(Bk(e))return e;if(Fy(e)){var t=_k(e.valueOf)?e.valueOf():e;e=Fy(t)?t+"":t}return zk(e)?+e:e===0?e:+e};Wy.exports=Fa});var Gy=b((Wa,Vy)=>{var Fk=je();Wa=typeof process<"u"&&Fk(process)==="[object process]";Vy.exports=Wa});var Zr=b((Va,Jy)=>{var Wk=vs(),Vk=Gy();Va=function(e){!e&&Wk&&(e=navigator.userAgent);function t(n){return e.indexOf(n)>-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(Vk){var r=process,o=r.platform,s=r.env;if(o==="win32"||s.OSTYPE==="cygwin"||s.OSTYPE==="msys")return"windows";if(o==="darwin")return"os x";if(o==="linux")return"linux"}return"unknown"};Jy.exports=Va});var xs=b((Ga,Zy)=>{Ga=function(){};Zy.exports=Ga});var Kr=b((Ja,Ky)=>{var Gk=xs();Ja=function(e,t){t=t||Gk;var r=new Image;r.onload=function(){t(null,r)},r.onerror=function(o){t(o)},r.src=e};Ky.exports=Ja});var kt=b((Za,ev)=>{var Xy=Be(),Es=Xy.getComputedStyle,Yy=Xy.document;Za=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.display,o=r===void 0?!0:r,s=t.visibility,n=s===void 0?!1:s,i=t.opacity,a=i===void 0?!1:i,l=t.size,c=l===void 0?!1:l,p=t.viewport,f=p===void 0?!1:p,h=t.overflow,w=h===void 0?!1:h,u=Es(e);if(o){var y=e.tagName;if(y==="BODY"||y==="HTML"||u.position==="fixed"){if(u.display==="none")return!0;for(var m=e;m=m.parentElement;){var v=Es(m);if(v.display==="none")return!0}}else if(e.offsetParent===null)return!0}if(n&&u.visibility==="hidden")return!0;if(a){if(u.opacity==="0")return!0;for(var S=e;S=S.parentElement;){var g=Es(S);if(g.opacity==="0")return!0}}var x=e.getBoundingClientRect();if(c&&(x.width===0||x.height===0))return!0;if(f){var E={top:0,left:0,right:Yy.documentElement.clientWidth,bottom:Yy.documentElement.clientHeight};return Qy(x,E)}if(w)for(var M=e;M=M.parentElement;){var C=Es(M),A=C.overflow;if(A==="scroll"||A==="hidden"){var q=M.getBoundingClientRect();if(Qy(x,q))return!0}}return!1};function Qy(e,t){return e.rightt.right||e.bottomt.bottom}ev.exports=Za});var Cs=b((Xa,vv)=>{Xa=function(e){return e===!0||e===!1};vv.exports=Xa});var bv=b((el,wv)=>{el=function(e){return e==null};wv.exports=el});var rl=b((tl,Sv)=>{var Xk=bv();tl=function(e){if(Xk(e))return"";try{return eI.call(e)}catch{}try{return e+""}catch{}return""};var eI=Function.prototype.toString;Sv.exports=tl});var sl=b((ol,Ev)=>{var tI=pe(),xv=ce();ol=function(e){return tI(e)&&xv(e.then)&&xv(e.catch)};Ev.exports=ol});var il=b((nl,Lv)=>{var rI=Se();nl=function(e){return rI(e)&&e!==+e};Lv.exports=nl});var Cv=b((al,Tv)=>{var oI=ce();al=function(e){return e==null?!1:e._isBuffer?!0:e.constructor&&oI(e.constructor.isBuffer)&&e.constructor.isBuffer(e)};Tv.exports=al});var Ms=b((ll,Mv)=>{var sI=je(),nI=il(),iI=tt(),aI=Cv();ll=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"),nI(e)&&(r="NaN"),aI(e)&&(r="Buffer"),r||(r=sI(e).match(lI),r&&(r=r[1])),r?t?iI(r):r:""};var lI=/^\[object\s+(.*?)]$/;Mv.exports=ll});var ks=b((cl,kv)=>{cl=function(e,t){return t=t==null?e.length-1:+t,function(){var r=Math.max(arguments.length-t,0),o=new Array(r),s;for(s=0;s{var cI=ks();pl=cI(function(e,t){for(var r=e.length,o=0,s=t.length;o{var pI=rt(),dI=_(),uI=N(),mI=jv();Yr=pI({className:"Select",initialize:function(e){if(this.length=0,!e)return this;if(dI(e))return fI.find(e);e.nodeType&&(this[0]=e,this.length=1)},find:function(e){var t=new Yr;return this.each(function(){mI(t,this.querySelectorAll(e))}),t},each:function(e){return uI(this,function(t,r){e.call(t,r,t)}),this}});var fI=new Yr(document);Uv.exports=Yr});var Ae=b((ul,Av)=>{var gI=_(),hI=Le(),yI=dl();ul=function(e){return hI(gI(e)?new yI(e):e)};Av.exports=ul});var Hv=b((ml,Pv)=>{var vI=Ae();ml=function(e){e=vI(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)}};Pv.exports=ml});var Nv=b((gl,qv)=>{var wI=N(),bI=Ae();gl=function(e){e=bI(e),wI(e,function(t){SI(t)&&(t.style.display=xI(t.nodeName))})};function SI(e){return getComputedStyle(e,"").getPropertyValue("display")=="none"}var fl={};function xI(e){var t,r;return fl[e]||(t=document.createElement(e),document.documentElement.appendChild(t),r=getComputedStyle(t,"").getPropertyValue("display"),t.parentNode.removeChild(t),r=="none"&&(r="block"),fl[e]=r),fl[e]}qv.exports=gl});var yl=b((hl,Ov)=>{var EI=/([A-Z])/g,LI=/[_.\- ]+/g,TI=/(^-)|(-$)/g;hl=function(e){return e=e.replace(EI,"-$1").toLowerCase().replace(LI,"-").replace(TI,""),e.split("-")};Ov.exports=hl});var wl=b((vl,Dv)=>{var CI=yl();vl=function(e){return CI(e).join("-")};Dv.exports=vl});var $v=b((bl,Rv)=>{var MI=er();bl=function(e,t){var r=function(o){var s=r.cache,n=""+(t?t.apply(this,arguments):o);return MI(s,n)||(s[n]=e.apply(this,arguments)),s[n]};return r.cache={},r};Rv.exports=bl});var _v=b((Sl,Bv)=>{var kI=yl();Sl=function(e){var t=kI(e),r=t[0];return t.shift(),t.forEach(II,t),r+=t.join(""),r};function II(e,t){this[t]=e.replace(/\w/,function(r){return r.toUpperCase()})}Bv.exports=Sl});var Zv=b((Qr,Jv)=>{var Vv=$v(),jI=_v(),UI=sr(),zv=er(),AI=wl();Qr=Vv(function(e){if(e=e.replace(Gv,""),e=jI(e),zv(Wv,e))return e;for(var t=Fv.length;t--;){var r=Fv[t]+UI(e);if(zv(Wv,r))return r}return e});Qr.dash=Vv(function(e){var t=Qr(e);return(Gv.test(t)?"-":"")+AI(t)});var Fv=["O","ms","Moz","Webkit"],Gv=/^(O)|(ms)|(Moz)|(Webkit)|(-o-)|(-ms-)|(-moz-)|(-webkit-)/g,Wv=document.createElement("p").style;Jv.exports=Qr});var Is=b((xl,Qv)=>{var PI=_(),HI=pe(),qI=wl(),NI=te(),OI=ne(),DI=Se(),RI=Ae(),Yv=Zv(),Kv=N();xl=function(e,t,r){e=RI(e);var o=NI(r)&&PI(t);if(o)return $I(e[0],t);var s=t;HI(s)||(s={},s[t]=r),BI(e,s)};function $I(e,t){return e.style[Yv(t)]||getComputedStyle(e,"").getPropertyValue(t)}function BI(e,t){Kv(e,function(r){var o=";";Kv(t,function(s,n){n=Yv.dash(n),o+=n+":"+zI(n,s)+";"}),r.style.cssText+=o})}var _I=["column-count","columns","font-weight","line-weight","opacity","z-index","zoom"];function zI(e,t){var r=DI(t)&&!OI(_I,qI(e));return r?t+"px":t}Qv.exports=xl});var El=b((Us,ew)=>{var FI=Le(),WI=pe(),VI=_(),js=N(),GI=te(),Xv=Ae();Us=function(e,t,r){e=Xv(e);var o=GI(r)&&VI(t);if(o)return JI(e[0],t);var s=t;WI(s)||(s={},s[t]=r),ZI(e,s)};Us.remove=function(e,t){e=Xv(e),t=FI(t),js(e,function(r){js(t,function(o){r.removeAttribute(o)})})};function JI(e,t){return e.getAttribute(t)}function ZI(e,t){js(e,function(r){js(t,function(o,s){r.setAttribute(s,o)})})}ew.exports=Us});var rw=b((Tl,tw)=>{var KI=te(),YI=N(),QI=Ae();Tl={html:Ll("innerHTML"),text:Ll("textContent"),val:Ll("value")};function Ll(e){return function(t,r){t=QI(t);var o=t[0];if(KI(r))return o?o[e]:"";o&&YI(t,function(s){s[e]=r})}}tw.exports=Tl});var sw=b((Cl,ow)=>{var XI=N(),ej=Ae();Cl=function(e){e=ej(e),XI(e,function(t){var r=t.parentNode;r&&r.removeChild(t)})};ow.exports=Cl});var iw=b((Ml,nw)=>{var tj=El(),rj=_(),oj=pe(),sj=N(),O8=Ae();Ml=function(e,t,r){var o=t;return rj(t)&&(o="data-"+t),oj(t)&&(o={},sj(t,function(s,n){o["data-"+n]=s})),tj(e,o,r)};nw.exports=Ml});var lw=b((As,aw)=>{var nj=rt(),ij=ne();function kl(){return!0}function Il(){return!1}function aj(e){var t=this.events[e.type],r,o=lj.call(this,e,t);e=new As.Event(e);for(var s=0,n,i,a;(i=o[s++])&&!e.isPropagationStopped();)for(e.curTarget=i.el,n=0;(r=i.handlers[n++])&&!e.isImmediatePropagationStopped();)a=r.handler.apply(i.el,[e]),a===!1&&(e.preventDefault(),e.stopPropagation())}function lj(e,t){var r=e.target,o=[],s=t.delegateCount,n,i,a,l;if(r.nodeType)for(;r!==this;r=r.parentNode||this){for(i=[],l=0;l{var cj=lw(),pj=te(),dj=Ae(),uj=N();jl={on:cw("add"),off:cw("remove")};function cw(e){return function(t,r,o,s){t=dj(t),pj(s)&&(s=o,o=void 0),uj(t,function(n){cj[e](n,r,o,s)})}}pw.exports=jl});var Pl=b((Al,dw)=>{var mj=Mt(),fj=Xe(),gj=se();Al=function(e,t,r){t=mj(t,r);for(var o=!fj(e)&&gj(e),s=(o||e).length,n=0;n{var hj=Le(),yj=Pl(),Ps=Ae(),vj=_(),Xr=N();It={add:function(e,t){e=Ps(e);var r=uw(t);Xr(e,function(o){var s=[];Xr(r,function(n){It.has(o,n)||s.push(n)}),s.length!==0&&(o.className+=(o.className?" ":"")+s.join(" "))})},has:function(e,t){e=Ps(e);var r=new RegExp("(^|\\s)"+t+"(\\s|$)");return yj(e,function(o){return r.test(o.className)})},toggle:function(e,t){e=Ps(e),Xr(e,function(r){if(!It.has(r,t))return It.add(r,t);It.remove(r,t)})},remove:function(e,t){e=Ps(e);var r=uw(t);Xr(e,function(o){Xr(r,function(s){o.classList.remove(s)})})}};function uw(e){return vj(e)?e.split(/\s+/):hj(e)}mw.exports=It});var gw=b((ql,fw)=>{var wj=N(),bj=Ae(),Sj=_();ql={before:Hs("beforebegin"),after:Hs("afterend"),append:Hs("beforeend"),prepend:Hs("afterbegin")};function Hs(e){return function(t,r){t=bj(t),wj(t,function(o){if(Sj(r))o.insertAdjacentHTML(e,r);else{var s=o.parentNode;switch(e){case"beforebegin":s&&s.insertBefore(r,o);break;case"afterend":s&&s.insertBefore(r,o.nextSibling);break;case"beforeend":o.appendChild(r);break;case"afterbegin":o.prepend(r);break}}})}}fw.exports=ql});var _e=b((jt,ww)=>{var vw=dl(),xj=Hv(),Ej=Nv(),Lj=Is(),hw=El(),Nl=rw(),Tj=Gr(),Cj=sw(),Mj=iw(),yw=Ul(),qs=Hl(),Ns=gw(),Os=te(),kj=_();jt=function(e){return new vw(e)};vw.methods({offset:function(){return xj(this)},hide:function(){return this.css("display","none")},show:function(){return Ej(this),this},first:function(){return jt(this[0])},last:function(){return jt(Tj(this))},get:function(e){return this[e]},eq:function(e){return jt(this[e])},on:function(e,t,r){return yw.on(this,e,t,r),this},off:function(e,t,r){return yw.off(this,e,t,r),this},html:function(e){var t=Nl.html(this,e);return Os(e)?t:this},text:function(e){var t=Nl.text(this,e);return Os(e)?t:this},val:function(e){var t=Nl.val(this,e);return Os(e)?t:this},css:function(e,t){var r=Lj(this,e,t);return Ol(e,t)?r:this},attr:function(e,t){var r=hw(this,e,t);return Ol(e,t)?r:this},data:function(e,t){var r=Mj(this,e,t);return Ol(e,t)?r:this},rmAttr:function(e){return hw.remove(this,e),this},remove:function(){return Cj(this),this},addClass:function(e){return qs.add(this,e),this},rmClass:function(e){return qs.remove(this,e),this},toggleClass:function(e){return qs.toggle(this,e),this},hasClass:function(e){return qs.has(this,e)},parent:function(){return jt(this[0].parentNode)},append:function(e){return Ns.append(this,e),this},prepend:function(e){return Ns.prepend(this,e),this},before:function(e){return Ns.before(this,e),this},after:function(e){return Ns.after(this,e),this}});var Ol=function(e,t){return Os(t)&&kj(e)};ww.exports=jt});var xw=b((Dl,Sw)=>{var Ij=xe();Dl=function(e){return bw(e,[])};function bw(e,t){for(var r=e.length,o=-1,s;r--;)s=e[++o],Ij(s)?bw(s,t):t.push(s);return t}Sw.exports=Dl});var $l=b((Rl,Ew)=>{var jj=ks(),Uj=xw(),Aj=rr(),Pj=ne();Rl=jj(function(e,t){return t=Uj(t),Aj(e,function(r){return!Pj(t,r)})});Ew.exports=Rl});var _l=b((Bl,Lw)=>{Bl=function(e,t){var r=[];t=t||1;for(var o=0,s=Math.ceil(e.length/t);o{var Ds=Ue(),Tw=Be(),Cw=fe();Rs=function(e){return e.sort(Mw)};Rs.comparator=Mw;function Mw(e,t){if(e=Cw(e),t=Cw(t),Ds(e,"_")&&!Ds(t,"_"))return 1;if(Ds(t,"_")&&!Ds(e,"_"))return-1;for(var r=/^\d+|^\D+/,o,s,n,i;;){if(e){if(!t)return 1}else return t?-1:0;if(o=e.match(r)[0],s=t.match(r)[0],n=!Tw.isNaN(o),i=!Tw.isNaN(s),n&&!i)return-1;if(i&&!n)return 1;if(n&&i){var a=o-s;if(a)return a;if(o.length!==s.length)return!+o&&!+s?o.length-s.length:s.length-o.length}else if(o!==s)return o{var Nj=0;zl=function(e){var t=++Nj+"";return e?e+t:t};Pw.exports=zl});var qw=b((Fl,Hw)=>{Fl=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 s=[];t{var Oj=ks(),Dj=Le();Wl=Oj(function(e,t){return function(){var r=[];return r=r.concat(t),r=r.concat(Dj(arguments)),e.apply(this,r)}});Nw.exports=Wl});var Rw=b((Vl,Dw)=>{Vl=function(e,t){var r;return function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=null),r}};Dw.exports=Vl});var Bw=b((Gl,$w)=>{var Rj=Ow(),$j=Rw();Gl=Rj($j,2);$w.exports=Gl});var zs=b((Jl,_w)=>{var Bj=pe(),_j=xe(),zj=Ce();Jl=function(e){return Bj(e)?_j(e)?e.slice():zj({},e):e};_w.exports=Jl});var st=b((Fs,Ww)=>{var Fj=rt(),zw=er(),Fw=N(),Wj=qw(),Vj=Bw(),Gj=zs();Fs=Fj({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(zw(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,Vj(t)),this},emit:function(e){var t=this;if(zw(this._events,e)){var r=Wj(arguments,1),o=Gj(this._events[e]);return Fw(o,function(s){return s.apply(t,r)},this),this}},removeAllListeners:function(e){return e?delete this._events[e]:this._events={},this}},{mixin:function(e){Fw(["on","off","once","emit","removeAllListeners"],function(t){e[t]=Fs.prototype[t]}),e._events=e._events||{}}});Ww.exports=Fs});var ar=b((Kl,rb)=>{var Qj=Mt();Kl=function(e,t,r){var o=[];t=Qj(t,r);for(var s=-1,n=e.length;++s{var ob=st();Yl=ob.extend({className:"MediaQuery",initialize:function(e){var t=this;this.callSuper(ob,"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}});sb.exports=Yl});var to=b((lr,ib)=>{var Xj=st(),eU=nb(),Ql=new eU("(prefers-color-scheme: dark)");lr={get:function(){return Ql.isMatch()?"dark":"light"}};Xj.mixin(lr);Ql.on("match",function(){return lr.emit("change","dark")});Ql.on("unmatch",function(){return lr.emit("change","light")});ib.exports=lr});var ac=b((ic,_b)=>{ic=function(){for(var e=arguments,t=e[0],r=1,o=e.length;r{var nU=_(),iU=Le(),aU=ac(),lU=Te(),cU=Ee();lc=function(e){nU(e)&&(e=iU(e));for(var t="",r=arguments.length,o=new Array(r>1?r-1:0),s=1;s0?aU.apply(null,l):0;return cU(lU(a,function(u){return u[0]===" "?u.slice(w):u}).join(` `))};var pU=/^(\s+)\S+/;zb.exports=lc});var Ks=b((dc,iS)=>{dc=function(e){return!!(e&&e.nodeType===1)};iS.exports=dc});var io=b((fc,cS)=>{var aS=Ks(),uc=_(),mc=Ue(),fU=Hl(),gU=Is(),lS=N(),hU=ce();fc=function(e,t){for(var r=arguments.length,o=new Array(r>2?r-2:0),s=2;s{var vU=rt(),wU=zs(),pS=N(),bU=Le();Ys=vU({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=bU(arguments),r=wU(this._listeners);pS(r,function(o){return o.apply(e,t)},this)}},{mixin:function(e){pS(["addListener","rmListener","emit","rmAllListeners"],function(t){e[t]=Ys.prototype[t]}),e._listeners=e._listeners||[]}});dS.exports=Ys});var en=b((Xs,gS)=>{var Qs=uS(),ao=io(),mS=Ul(),gc=Is(),SU=ne(),hc=Ce(),fS=Be();fS.ResizeObserver?Xs=Qs.extend({initialize:function(t){var r=this;if(t._resizeSensor)return t._resizeSensor;this.callSuper(Qs,"initialize");var o=new fS.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))}}):Xs=Qs.extend({initialize:function(t){if(t._resizeSensor)return t._resizeSensor;this.callSuper(Qs,"initialize"),this._el=t,t._resizeSensor=this,SU(["absolute","relative","fixed","sticky"],gc(t,"position"))||gc(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=ao("div",{style:r}),s=ao("div.resize-sensor-expand",{style:t},o),n=ao("div.resize-sensor-shrink",{style:t},ao("div",{style:hc({width:"200%",height:"200%"},r)})),i=ao("div.resize-sensor",{dir:"ltr",style:t},s,n);this._expandEl=s,this._expandChildEl=o,this._shrinkEl=n,this._resizeSensorEl=i,e.appendChild(i),this._resetExpandShrink()},_bindEvent:function(){var e=this;mS.on(this._expandEl,"scroll",function(){return e._onScroll()}),mS.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;gc(this._expandChildEl,{width:t+10,height:r+10}),hc(this._expandEl,{scrollLeft:t+10,scrollTop:r+10}),hc(this._shrinkEl,{scrollLeft:t+10,scrollTop:r+10})}});gS.exports=Xs});var vc=b((yc,hS)=>{yc=function(e,t,r){var o;return function(){var s=this,n=arguments,i=function(){o=null,e.apply(s,n)};r||clearTimeout(o),(!r||!o)&&(o=setTimeout(i,t))}};hS.exports=yc});var bc=b((wc,yS)=>{var xU=vc();wc=function(e,t){return xU(e,t,!0)};yS.exports=wc});var tn=b((Sc,vS)=>{Sc=function(e){return e===null};vS.exports=Sc});var lo=b((xc,wS)=>{var EU=je();xc=function(e){return EU(e)==="[object RegExp]"};wS.exports=xc});var xS=b((Ec,SS)=>{var bS=te();Ec=function(e,t,r){return bS(r)&&(r=t,t=void 0),!bS(t)&&er?r:e};SS.exports=Ec});var LS=b((Lc,ES)=>{Lc=function(){for(var e=arguments,t=e[0],r=1,o=e.length;rt&&(t=e[r]);return t};ES.exports=Lc});var CS=b((Tc,TS)=>{var LU=Se();Tc=function(e){return LU(e)&&e%1===0};TS.exports=Tc});var kS=b((Cc,MS)=>{var TU=CS();Cc=function(e){return TU(e)?e%2!==0:!1};MS.exports=Cc});var pr=b((rn,IS)=>{Date.now?rn=Date.now:rn=function(){return new Date().getTime()};IS.exports=rn});var AS=b((Mc,US)=>{var jS=Be(),CU={down:"touchstart",move:"touchmove",up:"touchend"},MU={down:"mousedown",move:"mousemove",up:"mouseup"},kU={down:"pointerdown",move:"pointermove",up:"pointerup"},IU="PointerEvent"in jS,jU="ontouchstart"in jS;Mc=function(e){return IU?kU[e]:jU?CU[e]:MU[e]};US.exports=Mc});var gx=b((Hc,fx)=>{Hc=function(e){return window.ShadowRoot?e instanceof ShadowRoot:!1};fx.exports=Hc});var yx=b((mo,hx)=>{var qU=rt();mo=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;mo||(mo=qU({initialize:function(){},observe:function(){},disconnect:function(){},takeRecords:function(){}}));hx.exports=mo});var qc=b((dn,vx)=>{var pn=N(),NU=et();dn=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"js",r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};NU(r,OU),e=e.replace(//g,">"),t=gt[t];var o=0,s=[];pn(t,function(i){i.language&&(e=e.replace(i.re,function(a,l){return l?(s[o++]=dn(l,i.language,r),a.replace(l,"___subtmpl"+(o-1)+"___")):a}))}),pn(t,function(i,a){gt[i.language]||(e=e.replace(i.re,"___"+a+"___$1___end"+a+"___"))});var n=[];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,""),c=n.length>0?n[n.length-1]:null;return!a&&(c==null||l==c||c!=null&&t[c]&&t[c].embed!=null&&t[c].embed.indexOf(l)>-1)?(n.push(l),i):a&&l==c?(n.pop(),i):""}),pn(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"),'"))}),pn(t,function(i){i.language&&(e=e.replace(/___subtmpl\d+___/g,function(a){var l=parseInt(a.replace(/___subtmpl(\d+)___/,"$1"),10);return s[l]}))}),e};var OU={comment:"color:#63a35c;",string:"color:#183691;",number:"color:#0086b3;",keyword:"color:#a71d5d;",operator:"color:#994500;"},gt={};gt.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"}};gt.html={comment:{re:/(<!--([\s\S]*?)-->)/g,style:"comment"},tag:{re:/(<\/?\w(.|\n)*?\/?>)/g,style:"keyword",embed:["string"]},string:gt.js.string,css:{re:/(?:<style.*?>)([\s\S]*)?(?:<\/style>)/gi,language:"css"},script:{re:/(?:<script.*?>)([\s\S]*?)(?:<\/script>)/gi,language:"js"}};gt.css={comment:gt.js.comment,string:gt.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"}};vx.exports=dn});var Sx=b((Nc,bx)=>{var DU=Mt(),RU=Xe(),$U=se();Nc=function(e,t,r){t=DU(t,r);for(var o=!RU(e)&&$U(e),s=(o||e).length,n=0;n{var BU=N();Oc=function(e){var t={};return BU(e,function(r,o){t[r]=o}),t};xx.exports=Oc});var Tx=b((Dc,Lx)=>{var _U=_(),zU=Ex();Dc=function(e){return _U(e)?mr[e]:FU[e]};var mr={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(fo=97;fo<123;fo++)mr[String.fromCharCode(fo)]=fo-32;var fo;for(go=48;go<58;go++)mr[go-48]=go;var go;for(ho=1;ho<13;ho++)mr["f"+ho]=ho+111;var ho;for(yo=0;yo<10;yo++)mr["numpad "+yo]=yo+96;var yo,FU=zU(mr);Lx.exports=Dc});var Ux=b((Bc,jx)=>{var WU=st(),VU=Tx(),Cx=N(),GU=Fr(),JU=Ee(),ZU=Te(),Mx=ce();Bc={on:function(e,t,r){Mx(t)&&(r=t,t={}),e=e.split(kx),Cx(e,function(o){if(o=$c(o),t.element){var s=t,n=s.element,i=n._hotkeyListeners||{};n._hotkeyListeners=i,i[o]=i[o]||[];var a=function(l){o===Ix(l)&&r(l)};i[o].push({listener:a,origin:r}),n.addEventListener("keydown",a)}else Rc.on(o,r)})},off:function(e,t,r){Mx(t)&&(r=t,t={}),e=e.split(kx),Cx(e,function(o){if(o=$c(o),t.element){var s=t,n=s.element,i=n._hotkeyListeners;if(i&&i[o]){for(var a=i[o],l,c=0,p=a.length;c{var QU=je();Zc=function(e){switch(QU(e)){case"[object Error]":case"[object DOMException]":return!0;default:return e instanceof Error}};$x.exports=Zc});var zx=b((Kc,_x)=>{Kc=function(e){var t=typeof e;return e==null||t!=="function"&&t!=="object"};_x.exports=Kc});var Wx=b((Yc,Fx)=>{var XU=ot();Yc=function(e){return e?(e=XU(e),e-e%1):e===0?e:0};Fx.exports=Yc});var Jx=b((Qc,Gx)=>{var Vx=Le();Qc=function(){for(var e=Vx(arguments),t=[],r=0,o=e.length;r{var e1=Ms(),t1=sr(),r1=fe(),o1=te(),s1=ce(),n1=lo();Xc=function(e,t){return JSON.stringify(e,i1(),t)};function i1(){var e=[],t=[];return function(r,o){if(e.length>0){var s=e.indexOf(this);s>-1?(e.splice(s+1),t.splice(s,1/0,r)):(e.push(this),t.push(r));var n=e.indexOf(o);n>-1&&(e[0]===o?o="[Circular ~]":o="[Circular ~."+t.slice(0,n).join(".")+"]")}else e.push(o);return n1(o)||s1(o)?o="["+t1(e1(o))+" "+r1(o)+"]":o1(o)&&(o=null),o}}Zx.exports=Xc});var tp=b((ep,Yx)=>{var a1=Ce(),l1=xs();ep=function(e,t){t=t||l1;var r=document.createElement("textarea"),o=document.body;a1(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(s){t(s)}finally{o.removeChild(r)}};Yx.exports=ep});var op=b((rp,Qx)=>{rp=function(e){return typeof e=="symbol"};Qx.exports=rp});var eE=b((sp,Xx)=>{var c1=ys(),p1=te(),d1=fe(),u1=op(),m1=_();sp=function(e,t,r){t=c1(t,e);var o=t.pop(),s;for(s=t.shift();!p1(s);){if(!m1(s)&&!u1(s)&&(s=d1(s)),s==="__proto__"||s==="constructor"||s==="prototype")return;e[s]||(e[s]={}),e=e[s],s=t.shift()}e[o]=r};Xx.exports=sp});var oE=b((np,rE)=>{var f1=ys(),g1=_(),h1=pe(),y1=N();np=function(e,t,r){return g1(t)?tE(e,t,r):h1(t)&&y1(t,function(o,s){tE(e,s,o)}),e};function tE(e,t,r){for(var o=f1(t,e),s=o.pop();t=o.shift();)e[t]||(e[t]={}),e=e[t];Object.defineProperty(e,s,r)}rE.exports=np});var nE=b((ip,sE)=>{var v1=_(),w1=xe(),b1=ne(),S1=N();ip=function(e,t,r){if(v1(t)&&(t=[t]),w1(t)){var o=t;t=function(i,a){return b1(o,a)}}var s={},n=function(i,a){t(i,a)&&(s[a]=i)};return r&&(n=function(i,a){t(i,a)||(s[a]=i)}),S1(e,n),s};sE.exports=ip});var hE=b((yt,gE)=>{var x1=Yi(),E1=Ms(),hr=fe(),iE=Xi(),L1=rl(),dE=se(),bo=N(),T1=rt(),uE=hs(),C1=$l(),M1=Ce(),k1=sl(),I1=rr(),aE=pr(),lE=Wr(),mE=ne(),cp=pe(),j1=Oa(),cE=Ha(),U1=Ue(),A1=eE(),P1=oE(),pE=nE(),H1=Xe();yt=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.self,o=t.startTime,s=o===void 0?aE():o,n=t.timeout,i=n===void 0?0:n,a=t.depth,l=a===void 0?0:a,c=t.curDepth,p=c===void 0?1:c,f=t.visitor,h=f===void 0?new q1:f,w=t.unenumerable,u=w===void 0?!1:w,y=t.symbol,m=y===void 0?!1:y,v=t.accessGetter,S=v===void 0?!1:v,g=t.ignore,x=g===void 0?[]:g,E="",M={visitor:h,unenumerable:u,symbol:m,accessGetter:S,depth:l,curDepth:p+1,timeout:i,startTime:s,ignore:x},C=E1(e,!1);if(C==="String")E=gr(e);else if(C==="Number")E=hr(e),iE(E,"Infinity")&&(E='{"value":"'.concat(E,'","type":"Number"}'));else if(C==="NaN")E='{"value":"NaN","type":"Number"}';else if(C==="Boolean")E=e?"true":"false";else if(C==="Null")E="null";else if(C==="Undefined")E='{"type":"Undefined"}';else if(C==="Symbol"){var A="Symbol";try{A=hr(e)}catch{}E='{"value":'.concat(gr(A),',"type":"Symbol"}')}else{if(i&&aE()-s>i)return gr("Timeout");if(l&&p>l)return gr("{...}");E="{";var q=[],re=h.get(e),ie;if(re?(ie=re.id,q.push('"reference":'.concat(ie))):(ie=h.set(e),q.push('"id":'.concat(ie))),q.push('"type":"'.concat(C,'"')),iE(C,"Function")?q.push('"value":'.concat(gr(L1(e)))):C==="RegExp"&&q.push('"value":'.concat(gr(e))),!re){var Y=dE(e);if(Y.length&&q.push(ap("enumerable",Y,r||e,M)),u){var ae=C1(lE(e,{prototype:!1,unenumerable:!0}),Y);ae.length&&q.push(ap("unenumerable",ae,r||e,M))}if(m){var Fe=I1(lE(e,{prototype:!1,symbol:!0}),function(he){return typeof he=="symbol"});Fe.length&&q.push(ap("symbol",Fe,r||e,M))}var Q=uE(e);if(Q&&!mE(x,Q)){var ee='"proto":'.concat(yt(Q,M1(M,{self:r||e})));q.push(ee)}}E+=q.join(",")+"}"}return E};function ap(e,t,r,o){var s=[];return bo(t,function(n){var i,a=Object.getOwnPropertyDescriptor(r,n),l=a&&a.get,c=a&&a.set;if(!o.accessGetter&&l)i="(...)";else try{if(i=r[n],mE(o.ignore,i))return;k1(i)&&i.catch(function(){})}catch(p){i=p.message}s.push("".concat(lp(n),":").concat(yt(i,o))),l&&s.push("".concat(lp("get "+hr(n)),":").concat(yt(a.get,o))),c&&s.push("".concat(lp("set "+hr(n)),":").concat(yt(a.set,o)))}),'"'.concat(e,'":{')+s.join(",")+"}"}function lp(e){return'"'.concat(fE(e),'"')}function gr(e){return'"'.concat(fE(hr(e)),'"')}function fE(e){return x1(e).replace(/\\'/g,"'").replace(/\t/g,"\\t")}var q1=T1({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?So=process.nextTick:typeof setImmediate=="function"?So=function(e){setImmediate(yE(e))}:So=function(e){setTimeout(yE(e),0)};function yE(e){if(typeof e!="function")throw new TypeError(e+" is not a function");return e}vE.exports=So});var SE=b((pp,bE)=>{var R1=Fr(),$1=Ee(),B1=Te(),_1=Le();pp=function(e){var t=_1(e.match(z1));return R1(B1(t,function(r){return $1(r)}))};var z1=/((https?)|(ftp)):\/\/[\w.]+[^ \f\n\r\t\v"\\<>[\]\u2100-\uFFFF(),]*/gi;bE.exports=pp});var EE=b((dp,xE)=>{dp=function(e){return e.replace(/\W/g,"\\$&")};xE.exports=dp});var TE=b((up,LE)=>{var F1=SE(),W1=N(),V1=EE();up=function(e,t){t=t||G1;var r=F1(e);return W1(r,function(o){e=e.replace(new RegExp(V1(o),"g"),t)}),e};function G1(e){return''+e+""}LE.exports=up});var ME=b((gn,CE)=>{var xo=document;gn=function(e){var t=xo.createElement("body");return t.innerHTML=e,t.childNodes[0]};xo.createRange&&xo.body&&(fn=xo.createRange(),fn.selectNode(xo.body),fn.createContextualFragment&&(gn=function(e){return fn.createContextualFragment(e).childNodes[0]}));var fn;CE.exports=gn});var dL=b((Mo,pL)=>{var lL=pr(),cL=Be(),gp=cL.performance,wn=cL.process,bn;gp&&gp.now?Mo=function(){return gp.now()}:wn&&wn.hrtime?(hp=function(){var e=wn.hrtime();return e[0]*1e9+e[1]},bn=hp()-wn.uptime()*1e9,Mo=function(){return(hp()-bn)/1e6}):(bn=lL(),Mo=function(){return lL()-bn});var hp;pL.exports=Mo});var fL=b((yp,mL)=>{var Q1=_(),X1=rt();yp=function(e,t){return Q1(e)?eA(e):tA(e,t)};function eA(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 s=rA(o,t);if(!s||(r.push(s),s.optimized))break;o=o.parentNode}return r.reverse(),(r.length&&r[0].optimized?"":"/")+r.join("/")}function rA(e,t){var r,o=oA(e);if(o===-1)return null;switch(e.nodeType){case Node.ELEMENT_NODE:if(t&&e.getAttribute("id"))return new uL('//*[@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 uL(r,e.nodeType===Node.DOCUMENT_NODE)}function oA(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 c=a.nodeType===Node.CDATA_SECTION_NODE?Node.TEXT_NODE:a.nodeType,p=l.nodeType===Node.CDATA_SECTION_NODE?Node.TEXT_NODE:l.nodeType;return c===p}var r=e.parentNode?e.parentNode.children:null;if(!r)return 0;for(var o,s=0;s{var sA=je();vp=function(e){return sA(e)==="[object Date]"};gL.exports=vp});var vL=b((wp,yL)=>{wp=function(e,t){var r="";if(t<1)return"";for(;t>0;)t&1&&(r+=e),t>>=1,e+=e;return r};yL.exports=wp});var bL=b((bp,wL)=>{var nA=vL(),iA=fe();bp=function(e,t,r){e=iA(e);var o=e.length;return r=r||" ",o{var aA=_(),lA=hL(),Sn=fe(),cA=bL();qe=function(e,t,r,o){arguments.length===1&&aA(e)&&!uA.test(e)&&(t=e,e=void 0),e=e||new Date,lA(e)||(e=new Date(e)),t=Sn(qe.masks[t]||t||qe.masks.default);var s=t.slice(0,4);(s==="UTC:"||s==="GMT:")&&(t=t.slice(4),r=!0,s==="GMT:"&&(o=!0));var n=r?"getUTC":"get",i=e[n+"Date"](),a=e[n+"Day"](),l=e[n+"Month"](),c=e[n+"FullYear"](),p=e[n+"Hours"](),f=e[n+"Minutes"](),h=e[n+"Seconds"](),w=e[n+"Milliseconds"](),u=r?0:e.getTimezoneOffset(),y={d:i,dd:it(i),ddd:qe.i18n.dayNames[a],dddd:qe.i18n.dayNames[a+7],m:l+1,mm:it(l+1),mmm:qe.i18n.monthNames[l],mmmm:qe.i18n.monthNames[l+12],yy:Sn(c).slice(2),yyyy:c,h:p%12||12,hh:it(p%12||12),H:p,HH:it(p),M:f,MM:it(f),s:h,ss:it(h),l:it(w,3),L:it(Math.round(w/10)),t:p<12?"a":"p",tt:p<12?"am":"pm",T:p<12?"A":"P",TT:p<12?"AM":"PM",Z:o?"GMT":r?"UTC":(Sn(e).match(dA)||[""]).pop().replace(mA,""),o:(u>0?"-":"+")+it(Math.floor(Math.abs(u)/60)*100+Math.abs(u)%60,4),S:["th","st","nd","rd"][i%10>3?0:(i%100-i%10!=10)*i%10]};return t.replace(pA,function(m){return m in y?y[m]:m.slice(1,m.length-1)})};var it=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;return cA(Sn(e),t,"0")},pA=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|"[^"]*"|'[^']*'/g,dA=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,uA=/\d/,mA=/[^-+\dA-Z]/g;qe.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"};qe.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"]};SL.exports=qe});var AL=b((Sp,UL)=>{var fA=pr(),gA=vs(),ze,Ot,IL=0;if(gA){for(ze=window.requestAnimationFrame,Ot=window.cancelAnimationFrame,jo=["ms","moz","webkit","o"],yr=0,jL=jo.length;yr{w!==void 0&&c.searchParams.set(h,String(w))});let f=e.view==="headless"||s;if(i&&(console.warn(`Deprecation notice: "lite" option is deprecated. Use "config: { mode: 'lite' }" instead.`),typeof o=="object"&&o.mode==null?o.mode="lite":c.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:c.searchParams.set("view",a)),typeof o=="string")try{new URL(o),c.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"&&c.searchParams.set("title",o.title),o.description&&o.description.length>0&&c.searchParams.set("description",o.description),p.set("config","code/"+(0,Pn.compressToEncodedURIComponent)(JSON.stringify(o))));if(r&&typeof r=="object"&&Object.keys(r).length>0)try{p.set("params",(0,Pn.compressToEncodedURIComponent)(JSON.stringify(r)))}catch{Object.keys(r).forEach(h=>{c.searchParams.set(h,encodeURIComponent(String(r[h])))})}return n&&c.searchParams.set("x",encodeURIComponent(n)),f&&c.searchParams.set("headless","true"),c.hash=p.toString(),c.href}var jT=typeof btoa=="function",Hn=typeof Buffer=="function",yP=typeof TextDecoder=="function"?new TextDecoder:void 0,Bp=typeof TextEncoder=="function"?new TextEncoder:void 0,UT="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",Mr=Array.prototype.slice.call(UT),vP=(e=>{let t={};return e.forEach((r,o)=>t[r]=o),t})(Mr);var De=String.fromCharCode.bind(String),wP=typeof Uint8Array.from=="function"?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),AT=e=>e.replace(/=/g,"").replace(/[+\/]/g,t=>t=="+"?"-":"_");var PT=e=>{let t,r,o,s,n="",i=e.length%3;for(let a=0;a255||(o=e.charCodeAt(a++))>255||(s=e.charCodeAt(a++))>255)throw new TypeError("invalid character found");t=r<<16|o<<8|s,n+=Mr[t>>18&63]+Mr[t>>12&63]+Mr[t>>6&63]+Mr[t&63]}return i?n.slice(0,i-3)+"===".substring(i):n},zp=jT?e=>btoa(e):Hn?e=>Buffer.from(e,"binary").toString("base64"):PT,HT=Hn?e=>Buffer.from(e).toString("base64"):e=>{let r=[];for(let o=0,s=e.length;o{if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?De(192|t>>>6)+De(128|t&63):De(224|t>>>12&15)+De(128|t>>>6&63)+De(128|t&63)}else{var t=65536+(e.charCodeAt(0)-55296)*1024+(e.charCodeAt(1)-56320);return De(240|t>>>18&7)+De(128|t>>>12&63)+De(128|t>>>6&63)+De(128|t&63)}},NT=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,OT=e=>e.replace(NT,qT),_p=Hn?e=>Buffer.from(e,"utf8").toString("base64"):Bp?e=>HT(Bp.encode(e)):e=>zp(OT(e)),Fp=(e,t=!1)=>t?AT(_p(e)):_p(e);var qn=(e,t)=>{let r;return(...o)=>{r&&clearTimeout(r),r=setTimeout(()=>e.apply(null,o),typeof t=="function"?t():t)}},Wp=e=>{let t=document.createElement("textarea");return t.innerHTML=e,t.value};var Nn=e=>e.replace(/<\/script>/g,"<\\/script>"),bt=(e,t=!0)=>e.replace(/\\/g,t?"\\\\":"\\").replace(/`/g,"\\`").replace(/<\/script>/g,"<\\/script>");var Wo=()=>{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};var Bt=e=>!e?.startsWith("http")&&!e?.startsWith("data:"),_t=(e,t=document.baseURI)=>Bt(e)?new URL(e,t).href:e,Me=e=>(globalThis.structuredClone||(t=>JSON.parse(JSON.stringify(t,(r,o)=>o===void 0?null:o))))(e),kr=(e,t)=>Object.fromEntries(Object.entries(e).map(([r,o],s)=>[r,t(o,r,s)])),On=(e,t)=>Object.fromEntries(Object.entries(e).filter(([r,o],s)=>t(o,r,s))),Vp=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 Vo=(e,t=!1)=>{try{return JSON.stringify(e,void 0,t?2:void 0)}catch{return""}},Dn=()=>String(Math.random())+"-"+Date.now().toFixed();var 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 s=document.createElement("script");s.src=e,s.async=!0;let n=()=>{s.removeEventListener("load",i),s.removeEventListener("error",a)},i=()=>{if(n(),!t)return r("loaded: "+e);let l=setInterval(()=>{if(window[t])return clearInterval(l),r(window[t])},5)},a=()=>{n(),o("failed to load: "+e)};s.addEventListener("load",i),s.addEventListener("error",a),document.head.appendChild(s)}),zt=(e,t,r)=>{if(t&&document.getElementById(t))return;let o=document.createElement("link");o.rel="stylesheet",o.href=e,o.id=t||"styles-"+Dn(),o.crossOrigin="anonymous",document.head.insertBefore(o,r?document.querySelector(r):null)};var St=(e,t="text/javascript")=>`data:${t};charset=UTF-8;base64,`+Fp(e);var Ir=e=>e.replace(/\/\*[\s\S]*?\*\/|([^\\:]|^)\/\/.*$/gm,"$1"),DT=e=>e.replace(/'[^\n']*'/gm,"''").replace(/"[^\n"]*"/gm,'""').replace(/`[^`]*`/gm,"``"),Rn=e=>DT(Ir(e)),P=(e,t)=>({...t.customSettings[e]}),jr=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 $n=e=>e.charAt(0).toUpperCase()+e.slice(1),Gp=e=>e.replace(/[-_.]+/g," ").trim().replace(/^([A-Z])|\s+(\w)/g,function(t,r,o){return o?o.toUpperCase():r.toLowerCase()}),Ve=e=>Array.from(new Set(e));var Jp=(e,t)=>{if(typeof t=="object"){Object.entries(t).forEach(([o,s])=>e.setAttribute(o,s));return}let r=t.match(/[^\s="']+\s*=\s*(('[^']*')|("[^"]*"))/g)||[];for(let o of r){let[s,...n]=o.split("="),i=n.join("=");e.setAttribute(s,i.slice(1,-1))}};var Zp=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 s=o.split("(")[1].split(")")[0].split(",").map(c=>Number(c)),[n,i,a,l=1]=s;return{r:n,g:i,b:a,a:l}},RT=(e,t,r,o=1)=>{let s=e/255,n=t/255,i=r/255,a=Math.min(s,n,i),l=Math.max(s,n,i),c=l-a,p=0,f=0,h=0;return c===0?p=0:l===s?p=(n-i)/c%6:l===n?p=(i-s)/c+2:p=(s-n)/c+4,p=Math.round(p*60),p<0&&(p+=360),h=(l+a)/2,f=c===0?0:c/(1-Math.abs(2*h-1)),f=+(f*100).toFixed(0),h=+(h*100).toFixed(0),{h:p,s:f,l:h,a:o}},Kp=e=>{let{r:t,g:r,b:o,a:s}=Zp(e);return RT(t,r,o,s)},$T=(e,t,r)=>"#"+((e<<16)+(t<<8)+r).toString(16).padStart(6,"0"),Yp=e=>{let{r:t,g:r,b:o}=Zp(e);return $T(t,r,o)};var Bn=(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 s=Bn(e[o],t[o]).map(n=>`${o}.${n}`);r.push(...s)}else e[o]!==t[o]&&r.push(o);return r},Ur={APP_VERSION:"46",SDK_VERSION:"0.11.0",COMMIT_SHA:"7617d5c",REPO_URL:"https://github.com/live-codes/livecodes",DOCS_BASE_URL:"/docs/"};var Qp='