@omegagrid/bundle 0.6.102 → 0.6.103
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/omegagrid.js +63 -62
- package/package.json +18 -18
package/omegagrid.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*! For license information please see omegagrid.js.LICENSE.txt */
|
|
2
|
-
(()=>{var t={4754:t=>{var e={utf8:{stringToBytes:function(t){return e.bin.stringToBytes(unescape(encodeURIComponent(t)))},bytesToString:function(t){return decodeURIComponent(escape(e.bin.bytesToString(t)))}},bin:{stringToBytes:function(t){for(var e=[],i=0;i<t.length;i++)e.push(255&t.charCodeAt(i));return e},bytesToString:function(t){for(var e=[],i=0;i<t.length;i++)e.push(String.fromCharCode(t[i]));return e.join("")}}};t.exports=e},4560:(t,e,i)=>{const o=i(7346),n={};for(const t of Object.keys(o))n[o[t]]=t;const r={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};t.exports=r;for(const t of Object.keys(r)){if(!("channels"in r[t]))throw new Error("missing channels property: "+t);if(!("labels"in r[t]))throw new Error("missing channel labels property: "+t);if(r[t].labels.length!==r[t].channels)throw new Error("channel and label counts mismatch: "+t);const{channels:e,labels:i}=r[t];delete r[t].channels,delete r[t].labels,Object.defineProperty(r[t],"channels",{value:e}),Object.defineProperty(r[t],"labels",{value:i})}r.rgb.hsl=function(t){const e=t[0]/255,i=t[1]/255,o=t[2]/255,n=Math.min(e,i,o),r=Math.max(e,i,o),s=r-n;let a,l;r===n?a=0:e===r?a=(i-o)/s:i===r?a=2+(o-e)/s:o===r&&(a=4+(e-i)/s),a=Math.min(60*a,360),a<0&&(a+=360);const c=(n+r)/2;return l=r===n?0:c<=.5?s/(r+n):s/(2-r-n),[a,100*l,100*c]},r.rgb.hsv=function(t){let e,i,o,n,r;const s=t[0]/255,a=t[1]/255,l=t[2]/255,c=Math.max(s,a,l),h=c-Math.min(s,a,l),d=function(t){return(c-t)/6/h+.5};return 0===h?(n=0,r=0):(r=h/c,e=d(s),i=d(a),o=d(l),s===c?n=o-i:a===c?n=1/3+e-o:l===c&&(n=2/3+i-e),n<0?n+=1:n>1&&(n-=1)),[360*n,100*r,100*c]},r.rgb.hwb=function(t){const e=t[0],i=t[1];let o=t[2];const n=r.rgb.hsl(t)[0],s=1/255*Math.min(e,Math.min(i,o));return o=1-1/255*Math.max(e,Math.max(i,o)),[n,100*s,100*o]},r.rgb.cmyk=function(t){const e=t[0]/255,i=t[1]/255,o=t[2]/255,n=Math.min(1-e,1-i,1-o);return[100*((1-e-n)/(1-n)||0),100*((1-i-n)/(1-n)||0),100*((1-o-n)/(1-n)||0),100*n]},r.rgb.keyword=function(t){const e=n[t];if(e)return e;let i,r=1/0;for(const e of Object.keys(o)){const n=(a=o[e],((s=t)[0]-a[0])**2+(s[1]-a[1])**2+(s[2]-a[2])**2);n<r&&(r=n,i=e)}var s,a;return i},r.keyword.rgb=function(t){return o[t]},r.rgb.xyz=function(t){let e=t[0]/255,i=t[1]/255,o=t[2]/255;return e=e>.04045?((e+.055)/1.055)**2.4:e/12.92,i=i>.04045?((i+.055)/1.055)**2.4:i/12.92,o=o>.04045?((o+.055)/1.055)**2.4:o/12.92,[100*(.4124*e+.3576*i+.1805*o),100*(.2126*e+.7152*i+.0722*o),100*(.0193*e+.1192*i+.9505*o)]},r.rgb.lab=function(t){const e=r.rgb.xyz(t);let i=e[0],o=e[1],n=e[2];return i/=95.047,o/=100,n/=108.883,i=i>.008856?i**(1/3):7.787*i+16/116,o=o>.008856?o**(1/3):7.787*o+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,[116*o-16,500*(i-o),200*(o-n)]},r.hsl.rgb=function(t){const e=t[0]/360,i=t[1]/100,o=t[2]/100;let n,r,s;if(0===i)return s=255*o,[s,s,s];n=o<.5?o*(1+i):o+i-o*i;const a=2*o-n,l=[0,0,0];for(let t=0;t<3;t++)r=e+1/3*-(t-1),r<0&&r++,r>1&&r--,s=6*r<1?a+6*(n-a)*r:2*r<1?n:3*r<2?a+(n-a)*(2/3-r)*6:a,l[t]=255*s;return l},r.hsl.hsv=function(t){const e=t[0];let i=t[1]/100,o=t[2]/100,n=i;const r=Math.max(o,.01);return o*=2,i*=o<=1?o:2-o,n*=r<=1?r:2-r,[e,100*(0===o?2*n/(r+n):2*i/(o+i)),(o+i)/2*100]},r.hsv.rgb=function(t){const e=t[0]/60,i=t[1]/100;let o=t[2]/100;const n=Math.floor(e)%6,r=e-Math.floor(e),s=255*o*(1-i),a=255*o*(1-i*r),l=255*o*(1-i*(1-r));switch(o*=255,n){case 0:return[o,l,s];case 1:return[a,o,s];case 2:return[s,o,l];case 3:return[s,a,o];case 4:return[l,s,o];case 5:return[o,s,a]}},r.hsv.hsl=function(t){const e=t[0],i=t[1]/100,o=t[2]/100,n=Math.max(o,.01);let r,s;s=(2-i)*o;const a=(2-i)*n;return r=i*n,r/=a<=1?a:2-a,r=r||0,s/=2,[e,100*r,100*s]},r.hwb.rgb=function(t){const e=t[0]/360;let i=t[1]/100,o=t[2]/100;const n=i+o;let r;n>1&&(i/=n,o/=n);const s=Math.floor(6*e),a=1-o;r=6*e-s,1&s&&(r=1-r);const l=i+r*(a-i);let c,h,d;switch(s){default:case 6:case 0:c=a,h=l,d=i;break;case 1:c=l,h=a,d=i;break;case 2:c=i,h=a,d=l;break;case 3:c=i,h=l,d=a;break;case 4:c=l,h=i,d=a;break;case 5:c=a,h=i,d=l}return[255*c,255*h,255*d]},r.cmyk.rgb=function(t){const e=t[0]/100,i=t[1]/100,o=t[2]/100,n=t[3]/100;return[255*(1-Math.min(1,e*(1-n)+n)),255*(1-Math.min(1,i*(1-n)+n)),255*(1-Math.min(1,o*(1-n)+n))]},r.xyz.rgb=function(t){const e=t[0]/100,i=t[1]/100,o=t[2]/100;let n,r,s;return n=3.2406*e+-1.5372*i+-.4986*o,r=-.9689*e+1.8758*i+.0415*o,s=.0557*e+-.204*i+1.057*o,n=n>.0031308?1.055*n**(1/2.4)-.055:12.92*n,r=r>.0031308?1.055*r**(1/2.4)-.055:12.92*r,s=s>.0031308?1.055*s**(1/2.4)-.055:12.92*s,n=Math.min(Math.max(0,n),1),r=Math.min(Math.max(0,r),1),s=Math.min(Math.max(0,s),1),[255*n,255*r,255*s]},r.xyz.lab=function(t){let e=t[0],i=t[1],o=t[2];return e/=95.047,i/=100,o/=108.883,e=e>.008856?e**(1/3):7.787*e+16/116,i=i>.008856?i**(1/3):7.787*i+16/116,o=o>.008856?o**(1/3):7.787*o+16/116,[116*i-16,500*(e-i),200*(i-o)]},r.lab.xyz=function(t){let e,i,o;i=(t[0]+16)/116,e=t[1]/500+i,o=i-t[2]/200;const n=i**3,r=e**3,s=o**3;return i=n>.008856?n:(i-16/116)/7.787,e=r>.008856?r:(e-16/116)/7.787,o=s>.008856?s:(o-16/116)/7.787,e*=95.047,i*=100,o*=108.883,[e,i,o]},r.lab.lch=function(t){const e=t[0],i=t[1],o=t[2];let n;return n=360*Math.atan2(o,i)/2/Math.PI,n<0&&(n+=360),[e,Math.sqrt(i*i+o*o),n]},r.lch.lab=function(t){const e=t[0],i=t[1],o=t[2]/360*2*Math.PI;return[e,i*Math.cos(o),i*Math.sin(o)]},r.rgb.ansi16=function(t,e=null){const[i,o,n]=t;let s=null===e?r.rgb.hsv(t)[2]:e;if(s=Math.round(s/50),0===s)return 30;let a=30+(Math.round(n/255)<<2|Math.round(o/255)<<1|Math.round(i/255));return 2===s&&(a+=60),a},r.hsv.ansi16=function(t){return r.rgb.ansi16(r.hsv.rgb(t),t[2])},r.rgb.ansi256=function(t){const e=t[0],i=t[1],o=t[2];return e===i&&i===o?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(i/255*5)+Math.round(o/255*5)},r.ansi16.rgb=function(t){let e=t%10;if(0===e||7===e)return t>50&&(e+=3.5),e=e/10.5*255,[e,e,e];const i=.5*(1+~~(t>50));return[(1&e)*i*255,(e>>1&1)*i*255,(e>>2&1)*i*255]},r.ansi256.rgb=function(t){if(t>=232){const e=10*(t-232)+8;return[e,e,e]}let e;return t-=16,[Math.floor(t/36)/5*255,Math.floor((e=t%36)/6)/5*255,e%6/5*255]},r.rgb.hex=function(t){const e=(((255&Math.round(t[0]))<<16)+((255&Math.round(t[1]))<<8)+(255&Math.round(t[2]))).toString(16).toUpperCase();return"000000".substring(e.length)+e},r.hex.rgb=function(t){const e=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];let i=e[0];3===e[0].length&&(i=i.split("").map((t=>t+t)).join(""));const o=parseInt(i,16);return[o>>16&255,o>>8&255,255&o]},r.rgb.hcg=function(t){const e=t[0]/255,i=t[1]/255,o=t[2]/255,n=Math.max(Math.max(e,i),o),r=Math.min(Math.min(e,i),o),s=n-r;let a,l;return a=s<1?r/(1-s):0,l=s<=0?0:n===e?(i-o)/s%6:n===i?2+(o-e)/s:4+(e-i)/s,l/=6,l%=1,[360*l,100*s,100*a]},r.hsl.hcg=function(t){const e=t[1]/100,i=t[2]/100,o=i<.5?2*e*i:2*e*(1-i);let n=0;return o<1&&(n=(i-.5*o)/(1-o)),[t[0],100*o,100*n]},r.hsv.hcg=function(t){const e=t[1]/100,i=t[2]/100,o=e*i;let n=0;return o<1&&(n=(i-o)/(1-o)),[t[0],100*o,100*n]},r.hcg.rgb=function(t){const e=t[0]/360,i=t[1]/100,o=t[2]/100;if(0===i)return[255*o,255*o,255*o];const n=[0,0,0],r=e%1*6,s=r%1,a=1-s;let l=0;switch(Math.floor(r)){case 0:n[0]=1,n[1]=s,n[2]=0;break;case 1:n[0]=a,n[1]=1,n[2]=0;break;case 2:n[0]=0,n[1]=1,n[2]=s;break;case 3:n[0]=0,n[1]=a,n[2]=1;break;case 4:n[0]=s,n[1]=0,n[2]=1;break;default:n[0]=1,n[1]=0,n[2]=a}return l=(1-i)*o,[255*(i*n[0]+l),255*(i*n[1]+l),255*(i*n[2]+l)]},r.hcg.hsv=function(t){const e=t[1]/100,i=e+t[2]/100*(1-e);let o=0;return i>0&&(o=e/i),[t[0],100*o,100*i]},r.hcg.hsl=function(t){const e=t[1]/100,i=t[2]/100*(1-e)+.5*e;let o=0;return i>0&&i<.5?o=e/(2*i):i>=.5&&i<1&&(o=e/(2*(1-i))),[t[0],100*o,100*i]},r.hcg.hwb=function(t){const e=t[1]/100,i=e+t[2]/100*(1-e);return[t[0],100*(i-e),100*(1-i)]},r.hwb.hcg=function(t){const e=t[1]/100,i=1-t[2]/100,o=i-e;let n=0;return o<1&&(n=(i-o)/(1-o)),[t[0],100*o,100*n]},r.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]},r.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]},r.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]},r.gray.hsl=function(t){return[0,0,t[0]]},r.gray.hsv=r.gray.hsl,r.gray.hwb=function(t){return[0,100,t[0]]},r.gray.cmyk=function(t){return[0,0,0,t[0]]},r.gray.lab=function(t){return[t[0],0,0]},r.gray.hex=function(t){const e=255&Math.round(t[0]/100*255),i=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(i.length)+i},r.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]}},8513:(t,e,i)=>{const o=i(4560),n=i(5920),r={};Object.keys(o).forEach((t=>{r[t]={},Object.defineProperty(r[t],"channels",{value:o[t].channels}),Object.defineProperty(r[t],"labels",{value:o[t].labels});const e=n(t);Object.keys(e).forEach((i=>{const o=e[i];r[t][i]=function(t){const e=function(...e){const i=e[0];if(null==i)return i;i.length>1&&(e=i);const o=t(e);if("object"==typeof o)for(let t=o.length,e=0;e<t;e++)o[e]=Math.round(o[e]);return o};return"conversion"in t&&(e.conversion=t.conversion),e}(o),r[t][i].raw=function(t){const e=function(...e){const i=e[0];return null==i?i:(i.length>1&&(e=i),t(e))};return"conversion"in t&&(e.conversion=t.conversion),e}(o)}))})),t.exports=r},5920:(t,e,i)=>{const o=i(4560);function n(t,e){return function(i){return e(t(i))}}function r(t,e){const i=[e[t].parent,t];let r=o[e[t].parent][t],s=e[t].parent;for(;e[s].parent;)i.unshift(e[s].parent),r=n(o[e[s].parent][s],r),s=e[s].parent;return r.conversion=i,r}t.exports=function(t){const e=function(t){const e=function(){const t={},e=Object.keys(o);for(let i=e.length,o=0;o<i;o++)t[e[o]]={distance:-1,parent:null};return t}(),i=[t];for(e[t].distance=0;i.length;){const t=i.pop(),n=Object.keys(o[t]);for(let o=n.length,r=0;r<o;r++){const o=n[r],s=e[o];-1===s.distance&&(s.distance=e[t].distance+1,s.parent=t,i.unshift(o))}}return e}(t),i={},n=Object.keys(e);for(let t=n.length,o=0;o<t;o++){const t=n[o];null!==e[t].parent&&(i[t]=r(t,e))}return i}},7346:t=>{"use strict";t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},6272:(t,e,i)=>{const o=i(2370),n=i(8513),r=["keyword","gray","hex"],s={};for(const t of Object.keys(n))s[[...n[t].labels].sort().join("")]=t;const a={};function l(t,e){if(!(this instanceof l))return new l(t,e);if(e&&e in r&&(e=null),e&&!(e in n))throw new Error("Unknown model: "+e);let i,c;if(null==t)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(t instanceof l)this.model=t.model,this.color=[...t.color],this.valpha=t.valpha;else if("string"==typeof t){const e=o.get(t);if(null===e)throw new Error("Unable to parse color from string: "+t);this.model=e.model,c=n[this.model].channels,this.color=e.value.slice(0,c),this.valpha="number"==typeof e.value[c]?e.value[c]:1}else if(t.length>0){this.model=e||"rgb",c=n[this.model].channels;const i=Array.prototype.slice.call(t,0,c);this.color=u(i,c),this.valpha="number"==typeof t[c]?t[c]:1}else if("number"==typeof t)this.model="rgb",this.color=[t>>16&255,t>>8&255,255&t],this.valpha=1;else{this.valpha=1;const e=Object.keys(t);"alpha"in t&&(e.splice(e.indexOf("alpha"),1),this.valpha="number"==typeof t.alpha?t.alpha:0);const o=e.sort().join("");if(!(o in s))throw new Error("Unable to parse color from object: "+JSON.stringify(t));this.model=s[o];const{labels:r}=n[this.model],a=[];for(i=0;i<r.length;i++)a.push(t[r[i]]);this.color=u(a)}if(a[this.model])for(c=n[this.model].channels,i=0;i<c;i++){const t=a[this.model][i];t&&(this.color[i]=t(this.color[i]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}l.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(t){let e=this.model in o.to?this:this.rgb();e=e.round("number"==typeof t?t:1);const i=1===e.valpha?e.color:[...e.color,this.valpha];return o.to[e.model](i)},percentString(t){const e=this.rgb().round("number"==typeof t?t:1),i=1===e.valpha?e.color:[...e.color,this.valpha];return o.to.rgb.percent(i)},array(){return 1===this.valpha?[...this.color]:[...this.color,this.valpha]},object(){const t={},{channels:e}=n[this.model],{labels:i}=n[this.model];for(let o=0;o<e;o++)t[i[o]]=this.color[o];return 1!==this.valpha&&(t.alpha=this.valpha),t},unitArray(){const t=this.rgb().color;return t[0]/=255,t[1]/=255,t[2]/=255,1!==this.valpha&&t.push(this.valpha),t},unitObject(){const t=this.rgb().object();return t.r/=255,t.g/=255,t.b/=255,1!==this.valpha&&(t.alpha=this.valpha),t},round(t){return t=Math.max(t||0,0),new l([...this.color.map(c(t)),this.valpha],this.model)},alpha(t){return void 0!==t?new l([...this.color,Math.max(0,Math.min(1,t))],this.model):this.valpha},red:h("rgb",0,d(255)),green:h("rgb",1,d(255)),blue:h("rgb",2,d(255)),hue:h(["hsl","hsv","hsl","hwb","hcg"],0,(t=>(t%360+360)%360)),saturationl:h("hsl",1,d(100)),lightness:h("hsl",2,d(100)),saturationv:h("hsv",1,d(100)),value:h("hsv",2,d(100)),chroma:h("hcg",1,d(100)),gray:h("hcg",2,d(100)),white:h("hwb",1,d(100)),wblack:h("hwb",2,d(100)),cyan:h("cmyk",0,d(100)),magenta:h("cmyk",1,d(100)),yellow:h("cmyk",2,d(100)),black:h("cmyk",3,d(100)),x:h("xyz",0,d(95.047)),y:h("xyz",1,d(100)),z:h("xyz",2,d(108.833)),l:h("lab",0,d(100)),a:h("lab",1),b:h("lab",2),keyword(t){return void 0!==t?new l(t):n[this.model].keyword(this.color)},hex(t){return void 0!==t?new l(t):o.to.hex(this.rgb().round().color)},hexa(t){if(void 0!==t)return new l(t);const e=this.rgb().round().color;let i=Math.round(255*this.valpha).toString(16).toUpperCase();return 1===i.length&&(i="0"+i),o.to.hex(e)+i},rgbNumber(){const t=this.rgb().color;return(255&t[0])<<16|(255&t[1])<<8|255&t[2]},luminosity(){const t=this.rgb().color,e=[];for(const[i,o]of t.entries()){const t=o/255;e[i]=t<=.04045?t/12.92:((t+.055)/1.055)**2.4}return.2126*e[0]+.7152*e[1]+.0722*e[2]},contrast(t){const e=this.luminosity(),i=t.luminosity();return e>i?(e+.05)/(i+.05):(i+.05)/(e+.05)},level(t){const e=this.contrast(t);return e>=7?"AAA":e>=4.5?"AA":""},isDark(){const t=this.rgb().color;return(2126*t[0]+7152*t[1]+722*t[2])/1e4<128},isLight(){return!this.isDark()},negate(){const t=this.rgb();for(let e=0;e<3;e++)t.color[e]=255-t.color[e];return t},lighten(t){const e=this.hsl();return e.color[2]+=e.color[2]*t,e},darken(t){const e=this.hsl();return e.color[2]-=e.color[2]*t,e},saturate(t){const e=this.hsl();return e.color[1]+=e.color[1]*t,e},desaturate(t){const e=this.hsl();return e.color[1]-=e.color[1]*t,e},whiten(t){const e=this.hwb();return e.color[1]+=e.color[1]*t,e},blacken(t){const e=this.hwb();return e.color[2]+=e.color[2]*t,e},grayscale(){const t=this.rgb().color,e=.3*t[0]+.59*t[1]+.11*t[2];return l.rgb(e,e,e)},fade(t){return this.alpha(this.valpha-this.valpha*t)},opaquer(t){return this.alpha(this.valpha+this.valpha*t)},rotate(t){const e=this.hsl();let i=e.color[0];return i=(i+t)%360,i=i<0?360+i:i,e.color[0]=i,e},mix(t,e){if(!t||!t.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof t);const i=t.rgb(),o=this.rgb(),n=void 0===e?.5:e,r=2*n-1,s=i.alpha()-o.alpha(),a=((r*s==-1?r:(r+s)/(1+r*s))+1)/2,c=1-a;return l.rgb(a*i.red()+c*o.red(),a*i.green()+c*o.green(),a*i.blue()+c*o.blue(),i.alpha()*n+o.alpha()*(1-n))}};for(const t of Object.keys(n)){if(r.includes(t))continue;const{channels:e}=n[t];l.prototype[t]=function(...e){return this.model===t?new l(this):e.length>0?new l(e,t):new l([...(i=n[this.model][t].raw(this.color),Array.isArray(i)?i:[i]),this.valpha],t);var i},l[t]=function(...i){let o=i[0];return"number"==typeof o&&(o=u(i,e)),new l(o,t)}}function c(t){return function(e){return function(t,e){return Number(t.toFixed(e))}(e,t)}}function h(t,e,i){t=Array.isArray(t)?t:[t];for(const o of t)(a[o]||(a[o]=[]))[e]=i;return t=t[0],function(o){let n;return void 0!==o?(i&&(o=i(o)),n=this[t](),n.color[e]=o,n):(n=this[t]().color[e],i&&(n=i(n)),n)}}function d(t){return function(e){return Math.max(0,Math.min(t,e))}}function u(t,e){for(let i=0;i<e;i++)"number"!=typeof t[i]&&(t[i]=0);return t}t.exports=l},2370:(t,e,i)=>{var o=i(7346),n=i(9311),r=Object.hasOwnProperty,s=Object.create(null);for(var a in o)r.call(o,a)&&(s[o[a]]=a);var l=t.exports={to:{},get:{}};function c(t,e,i){return Math.min(Math.max(e,t),i)}function h(t){var e=Math.round(t).toString(16).toUpperCase();return e.length<2?"0"+e:e}l.get=function(t){var e,i;switch(t.substring(0,3).toLowerCase()){case"hsl":e=l.get.hsl(t),i="hsl";break;case"hwb":e=l.get.hwb(t),i="hwb";break;default:e=l.get.rgb(t),i="rgb"}return e?{model:i,value:e}:null},l.get.rgb=function(t){if(!t)return null;var e,i,n,s=[0,0,0,1];if(e=t.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(n=e[2],e=e[1],i=0;i<3;i++){var a=2*i;s[i]=parseInt(e.slice(a,a+2),16)}n&&(s[3]=parseInt(n,16)/255)}else if(e=t.match(/^#([a-f0-9]{3,4})$/i)){for(n=(e=e[1])[3],i=0;i<3;i++)s[i]=parseInt(e[i]+e[i],16);n&&(s[3]=parseInt(n+n,16)/255)}else if(e=t.match(/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)){for(i=0;i<3;i++)s[i]=parseInt(e[i+1],0);e[4]&&(e[5]?s[3]=.01*parseFloat(e[4]):s[3]=parseFloat(e[4]))}else{if(!(e=t.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)))return(e=t.match(/^(\w+)$/))?"transparent"===e[1]?[0,0,0,0]:r.call(o,e[1])?((s=o[e[1]])[3]=1,s):null:null;for(i=0;i<3;i++)s[i]=Math.round(2.55*parseFloat(e[i+1]));e[4]&&(e[5]?s[3]=.01*parseFloat(e[4]):s[3]=parseFloat(e[4]))}for(i=0;i<3;i++)s[i]=c(s[i],0,255);return s[3]=c(s[3],0,1),s},l.get.hsl=function(t){if(!t)return null;var e=t.match(/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(e){var i=parseFloat(e[4]);return[(parseFloat(e[1])%360+360)%360,c(parseFloat(e[2]),0,100),c(parseFloat(e[3]),0,100),c(isNaN(i)?1:i,0,1)]}return null},l.get.hwb=function(t){if(!t)return null;var e=t.match(/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(e){var i=parseFloat(e[4]);return[(parseFloat(e[1])%360+360)%360,c(parseFloat(e[2]),0,100),c(parseFloat(e[3]),0,100),c(isNaN(i)?1:i,0,1)]}return null},l.to.hex=function(){var t=n(arguments);return"#"+h(t[0])+h(t[1])+h(t[2])+(t[3]<1?h(Math.round(255*t[3])):"")},l.to.rgb=function(){var t=n(arguments);return t.length<4||1===t[3]?"rgb("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+")":"rgba("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+", "+t[3]+")"},l.to.rgb.percent=function(){var t=n(arguments),e=Math.round(t[0]/255*100),i=Math.round(t[1]/255*100),o=Math.round(t[2]/255*100);return t.length<4||1===t[3]?"rgb("+e+"%, "+i+"%, "+o+"%)":"rgba("+e+"%, "+i+"%, "+o+"%, "+t[3]+")"},l.to.hsl=function(){var t=n(arguments);return t.length<4||1===t[3]?"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)":"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+t[3]+")"},l.to.hwb=function(){var t=n(arguments),e="";return t.length>=4&&1!==t[3]&&(e=", "+t[3]),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+e+")"},l.to.keyword=function(t){return s[t.slice(0,3)]}},7250:t=>{var e,i;e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i={rotl:function(t,e){return t<<e|t>>>32-e},rotr:function(t,e){return t<<32-e|t>>>e},endian:function(t){if(t.constructor==Number)return 16711935&i.rotl(t,8)|4278255360&i.rotl(t,24);for(var e=0;e<t.length;e++)t[e]=i.endian(t[e]);return t},randomBytes:function(t){for(var e=[];t>0;t--)e.push(Math.floor(256*Math.random()));return e},bytesToWords:function(t){for(var e=[],i=0,o=0;i<t.length;i++,o+=8)e[o>>>5]|=t[i]<<24-o%32;return e},wordsToBytes:function(t){for(var e=[],i=0;i<32*t.length;i+=8)e.push(t[i>>>5]>>>24-i%32&255);return e},bytesToHex:function(t){for(var e=[],i=0;i<t.length;i++)e.push((t[i]>>>4).toString(16)),e.push((15&t[i]).toString(16));return e.join("")},hexToBytes:function(t){for(var e=[],i=0;i<t.length;i+=2)e.push(parseInt(t.substr(i,2),16));return e},bytesToBase64:function(t){for(var i=[],o=0;o<t.length;o+=3)for(var n=t[o]<<16|t[o+1]<<8|t[o+2],r=0;r<4;r++)8*o+6*r<=8*t.length?i.push(e.charAt(n>>>6*(3-r)&63)):i.push("=");return i.join("")},base64ToBytes:function(t){t=t.replace(/[^A-Z0-9+\/]/gi,"");for(var i=[],o=0,n=0;o<t.length;n=++o%4)0!=n&&i.push((e.indexOf(t.charAt(o-1))&Math.pow(2,-2*n+8)-1)<<2*n|e.indexOf(t.charAt(o))>>>6-2*n);return i}},t.exports=i},8666:t=>{t.exports=function(t){return!(!t||"string"==typeof t)&&(t instanceof Array||Array.isArray(t)||t.length>=0&&(t.splice instanceof Function||Object.getOwnPropertyDescriptor(t,t.length-1)&&"String"!==t.constructor.name))}},4418:(t,e,i)=>{var o,n,r,s;o=i(7250),n=i(4754).utf8,r=i(4754).bin,(s=function(t,e){var i=o.wordsToBytes(function(t){t.constructor==String?t=n.stringToBytes(t):"undefined"!=typeof Buffer&&"function"==typeof Buffer.isBuffer&&Buffer.isBuffer(t)?t=Array.prototype.slice.call(t,0):Array.isArray(t)||(t=t.toString());var e=o.bytesToWords(t),i=8*t.length,r=[],s=1732584193,a=-271733879,l=-1732584194,c=271733878,h=-1009589776;e[i>>5]|=128<<24-i%32,e[15+(i+64>>>9<<4)]=i;for(var d=0;d<e.length;d+=16){for(var u=s,p=a,g=l,m=c,f=h,v=0;v<80;v++){if(v<16)r[v]=e[d+v];else{var b=r[v-3]^r[v-8]^r[v-14]^r[v-16];r[v]=b<<1|b>>>31}var y=(s<<5|s>>>27)+h+(r[v]>>>0)+(v<20?1518500249+(a&l|~a&c):v<40?1859775393+(a^l^c):v<60?(a&l|a&c|l&c)-1894007588:(a^l^c)-899497514);h=c,c=l,l=a<<30|a>>>2,a=s,s=y}s+=u,a+=p,l+=g,c+=m,h+=f}return[s,a,l,c,h]}(t));return e&&e.asBytes?i:e&&e.asString?r.bytesToString(i):o.bytesToHex(i)})._blocksize=16,s._digestsize=20,t.exports=s},9311:(t,e,i)=>{"use strict";var o=i(8666),n=Array.prototype.concat,r=Array.prototype.slice,s=t.exports=function(t){for(var e=[],i=0,s=t.length;i<s;i++){var a=t[i];o(a)?e=n.call(e,r.call(a)):e.push(a)}return e};s.wrap=function(t){return function(){return t(s(arguments))}}},3434:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"align-center",icon:[448,512,[],"f037","M112 48c-8.8 0-16 7.2-16 16s7.2 16 16 16H336c8.8 0 16-7.2 16-16s-7.2-16-16-16H112zM16 176c-8.8 0-16 7.2-16 16s7.2 16 16 16H432c8.8 0 16-7.2 16-16s-7.2-16-16-16H16zM96 320c0 8.8 7.2 16 16 16H336c8.8 0 16-7.2 16-16s-7.2-16-16-16H112c-8.8 0-16 7.2-16 16zM16 432c-8.8 0-16 7.2-16 16s7.2 16 16 16H432c8.8 0 16-7.2 16-16s-7.2-16-16-16H16z"]},e.mw},9314:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"align-left",icon:[448,512,[],"f036","M16 48C7.2 48 0 55.2 0 64s7.2 16 16 16H272c8.8 0 16-7.2 16-16s-7.2-16-16-16H16zm0 128c-8.8 0-16 7.2-16 16s7.2 16 16 16H432c8.8 0 16-7.2 16-16s-7.2-16-16-16H16zM0 320c0 8.8 7.2 16 16 16H272c8.8 0 16-7.2 16-16s-7.2-16-16-16H16c-8.8 0-16 7.2-16 16zM16 432c-8.8 0-16 7.2-16 16s7.2 16 16 16H432c8.8 0 16-7.2 16-16s-7.2-16-16-16H16z"]},e.mw},3093:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"align-right",icon:[448,512,[],"f038","M432 48c8.8 0 16 7.2 16 16s-7.2 16-16 16H176c-8.8 0-16-7.2-16-16s7.2-16 16-16H432zm0 128c8.8 0 16 7.2 16 16s-7.2 16-16 16H16c-8.8 0-16-7.2-16-16s7.2-16 16-16H432zm16 144c0 8.8-7.2 16-16 16H176c-8.8 0-16-7.2-16-16s7.2-16 16-16H432c8.8 0 16 7.2 16 16zM432 432c8.8 0 16 7.2 16 16s-7.2 16-16 16H16c-8.8 0-16-7.2-16-16s7.2-16 16-16H432z"]},e.mw},3573:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"angle-down",icon:[448,512,[8964],"f107","M212.7 331.3c6.2 6.2 16.4 6.2 22.6 0l160-160c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L224 297.4 75.3 148.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l160 160z"]},e.mw},9948:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"angle-up",icon:[448,512,[8963],"f106","M212.7 148.7c6.2-6.2 16.4-6.2 22.6 0l160 160c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0L224 182.6 75.3 331.3c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6l160-160z"]},e.mw},2611:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"arrow-down",icon:[384,512,[8595],"f063","M180.7 475.3c6.2 6.2 16.4 6.2 22.6 0l176-176c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L208 425.4 208 48c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 377.4L27.3 276.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l176 176z"]},e.mw},7946:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"arrow-left",icon:[448,512,[8592],"f060","M4.7 244.7c-6.2 6.2-6.2 16.4 0 22.6l176 176c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L54.6 272 432 272c8.8 0 16-7.2 16-16s-7.2-16-16-16L54.6 240 203.3 91.3c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0l-176 176z"]},e.mw},6301:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"arrow-right",icon:[448,512,[8594],"f061","M443.3 267.3c6.2-6.2 6.2-16.4 0-22.6l-176-176c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6L393.4 240 16 240c-8.8 0-16 7.2-16 16s7.2 16 16 16l377.4 0L244.7 420.7c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l176-176z"]},e.mw},3192:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"arrow-turn-down",icon:[384,512,["level-down"],"f149","M16 32C7.2 32 0 24.8 0 16S7.2 0 16 0L128 0c44.2 0 80 35.8 80 80l0 377.4L308.7 356.7c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6l-128 128c-6.2 6.2-16.4 6.2-22.6 0l-128-128c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0L176 457.4 176 80c0-26.5-21.5-48-48-48L16 32z"]},e.mw},9014:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"arrow-up",icon:[384,512,[8593],"f062","M203.3 36.7c-6.2-6.2-16.4-6.2-22.6 0l-176 176c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L176 86.6V464c0 8.8 7.2 16 16 16s16-7.2 16-16V86.6L356.7 235.3c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6l-176-176z"]},e.mw},2273:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i="arrows-rotate",o=[128472,"refresh","sync"],n="f021",r="M69.4 210.6C89.8 126.5 165.6 64 256 64c71.1 0 133.1 38.6 166.3 96H368c-8.8 0-16 7.2-16 16s7.2 16 16 16h80.7H464c8.8 0 16-7.2 16-16V80c0-8.8-7.2-16-16-16s-16 7.2-16 16v60.6C408.8 75.5 337.5 32 256 32C149.6 32 60.5 106.2 37.7 205.6C35.5 215.2 43.1 224 53 224c7.9 0 14.6-5.7 16.5-13.4zm373.2 90.9C422.2 385.5 346.4 448 256 448c-71.1 0-133.1-38.6-166.3-96h54.5c8.8 0 16-7.2 16-16s-7.2-16-16-16H63.3 48.2c-8.8 0-16 7.2-16 16v96c0 8.8 7.2 16 16 16s16-7.2 16-16V371.8C103.4 436.6 174.7 480 256 480c106.4 0 195.5-74.2 218.3-173.6c2.2-9.6-5.4-18.4-15.3-18.4c-7.9 0-14.6 5.7-16.5 13.4z";e.definition={prefix:"fal",iconName:i,icon:[512,512,o,n,r]},e.faArrowsRotate=e.definition,e.prefix="fal",e.iconName=i,e.width=512,e.height=512,e.ligatures=o,e.unicode=n,e.svgPathData=r,e.aliases=o},8020:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"arrows-to-dot",icon:[512,512,[],"e4be","M272 16c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 121.4L187.3 84.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l80 80c6.2 6.2 16.4 6.2 22.6 0l80-80c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L272 137.4 272 16zm16 240a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm59.3 171.3c6.2-6.2 6.2-16.4 0-22.6l-80-80c-6.2-6.2-16.4-6.2-22.6 0l-80 80c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L240 374.6V496c0 8.8 7.2 16 16 16s16-7.2 16-16V374.6l52.7 52.7c6.2 6.2 16.4 6.2 22.6 0zM84.7 164.7c-6.2 6.2-6.2 16.4 0 22.6L137.4 240 16 240c-8.8 0-16 7.2-16 16s7.2 16 16 16H137.4L84.7 324.7c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l80-80c6.2-6.2 6.2-16.4 0-22.6l-80-80c-6.2-6.2-16.4-6.2-22.6 0zm342.6 0c-6.2-6.2-16.4-6.2-22.6 0l-80 80c-6.2 6.2-6.2 16.4 0 22.6l80 80c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L374.6 272H496c8.8 0 16-7.2 16-16s-7.2-16-16-16l-121.4 0 52.7-52.7c6.2-6.2 6.2-16.4 0-22.6z"]},e.mw},9742:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"bars",icon:[448,512,["navicon"],"f0c9","M0 80c0-8.8 7.2-16 16-16H432c8.8 0 16 7.2 16 16s-7.2 16-16 16H16C7.2 96 0 88.8 0 80zM0 240c0-8.8 7.2-16 16-16H432c8.8 0 16 7.2 16 16s-7.2 16-16 16H16c-8.8 0-16-7.2-16-16zM448 400c0 8.8-7.2 16-16 16H16c-8.8 0-16-7.2-16-16s7.2-16 16-16H432c8.8 0 16 7.2 16 16z"]},e.mw},643:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"bold",icon:[384,512,[],"f032","M0 48c0-8.8 7.2-16 16-16H48 80 232c66.3 0 120 53.7 120 120c0 38.8-18.4 73.3-46.9 95.2C351.1 264 384 308.1 384 360c0 66.3-53.7 120-120 120H80 48 16c-8.8 0-16-7.2-16-16s7.2-16 16-16H32V256 64H16C7.2 64 0 56.8 0 48zM64 448H80 264c48.6 0 88-39.4 88-88s-39.4-88-88-88H232 64V448zm0-208H232c48.6 0 88-39.4 88-88s-39.4-88-88-88H80 64V240z"]},e.mw},4585:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"book",icon:[448,512,[128212],"f02d","M64 0C28.7 0 0 28.7 0 64L0 448l0 0c0 35.3 28.7 64 64 64H432c8.8 0 16-7.2 16-16s-7.2-16-16-16H416V413.3c18.6-6.6 32-24.4 32-45.3V48c0-26.5-21.5-48-48-48H64zM384 416v64H64c-17.7 0-32-14.3-32-32s14.3-32 32-32H384zM64 384c-11.7 0-22.6 3.1-32 8.6L32 64c0-17.7 14.3-32 32-32H96V384H64zm64 0V32H400c8.8 0 16 7.2 16 16V368c0 8.8-7.2 16-16 16H128zm48-240c0 8.8 7.2 16 16 16H352c8.8 0 16-7.2 16-16s-7.2-16-16-16H192c-8.8 0-16 7.2-16 16zm0 96c0 8.8 7.2 16 16 16H352c8.8 0 16-7.2 16-16s-7.2-16-16-16H192c-8.8 0-16 7.2-16 16z"]},e.mw},444:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"building",icon:[384,512,[127970,61687],"f1ad","M64 32C46.3 32 32 46.3 32 64V448c0 17.7 14.3 32 32 32h64V416c0-35.3 28.7-64 64-64s64 28.7 64 64v64h64c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32H64zM224 416c0-17.7-14.3-32-32-32s-32 14.3-32 32v64h64V416zm-96 96H64c-35.3 0-64-28.7-64-64V64C0 28.7 28.7 0 64 0H320c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H256 224 160 128zM64 120c0-13.3 10.7-24 24-24h48c13.3 0 24 10.7 24 24v48c0 13.3-10.7 24-24 24H88c-13.3 0-24-10.7-24-24V120zm32 8v32h32V128H96zM248 96h48c13.3 0 24 10.7 24 24v48c0 13.3-10.7 24-24 24H248c-13.3 0-24-10.7-24-24V120c0-13.3 10.7-24 24-24zm8 64h32V128H256v32zM64 248c0-13.3 10.7-24 24-24h48c13.3 0 24 10.7 24 24v48c0 13.3-10.7 24-24 24H88c-13.3 0-24-10.7-24-24V248zm32 8v32h32V256H96zm152-32h48c13.3 0 24 10.7 24 24v48c0 13.3-10.7 24-24 24H248c-13.3 0-24-10.7-24-24V248c0-13.3 10.7-24 24-24zm8 64h32V256H256v32z"]},e.mw},7029:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"caret-down",icon:[320,512,[],"f0d7","M165.6 349.8c-1.4 1.3-3.5 2.2-5.6 2.2s-4.2-.8-5.6-2.2L34.2 236.3c-1.4-1.3-2.2-3.2-2.2-5.2c0-3.9 3.2-7.1 7.1-7.1l241.7 0c3.9 0 7.1 3.2 7.1 7.1c0 2-.8 3.8-2.2 5.2L165.6 349.8zm22 23.3L307.7 259.6c7.8-7.4 12.3-17.7 12.3-28.4c0-21.6-17.5-39.1-39.1-39.1L39.1 192C17.5 192 0 209.5 0 231.1c0 10.8 4.4 21.1 12.3 28.4L132.4 373.1c7.4 7 17.3 10.9 27.6 10.9s20.1-3.9 27.6-10.9z"]},e.mw},8532:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"caret-left",icon:[256,512,[],"f0d9","M34.2 261.6c-1.3-1.4-2.2-3.5-2.2-5.6s.8-4.2 2.2-5.6L147.7 130.2c1.3-1.4 3.2-2.2 5.2-2.2c3.9 0 7.1 3.2 7.1 7.1l0 241.7c0 3.9-3.2 7.1-7.1 7.1c-2 0-3.8-.8-5.2-2.2L34.2 261.6zm-23.3 22L124.4 403.7c7.4 7.8 17.7 12.3 28.4 12.3c21.6 0 39.1-17.5 39.1-39.1l0-241.7c0-21.6-17.5-39.1-39.1-39.1c-10.8 0-21.1 4.4-28.5 12.3L10.9 228.4C3.9 235.9 0 245.8 0 256s3.9 20.1 10.9 27.6z"]},e.mw},6639:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"caret-right",icon:[256,512,[],"f0da","M221.8 250.4c1.3 1.4 2.2 3.5 2.2 5.6s-.8 4.2-2.2 5.6L108.3 381.8c-1.3 1.4-3.2 2.2-5.2 2.2c-3.9 0-7.1-3.2-7.1-7.1l0-241.7c0-3.9 3.2-7.1 7.1-7.1c2 0 3.8 .8 5.2 2.2L221.8 250.4zm23.3-22L131.6 108.3c-7.4-7.8-17.7-12.3-28.4-12.3C81.5 96 64 113.5 64 135.1l0 241.7c0 21.6 17.5 39.1 39.1 39.1c10.8 0 21.1-4.4 28.4-12.3L245.1 283.6c7-7.4 10.9-17.3 10.9-27.6s-3.9-20.1-10.9-27.6z"]},e.mw},1836:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"caret-up",icon:[320,512,[],"f0d8","M154.4 162.2c1.4-1.3 3.5-2.2 5.6-2.2s4.2 .8 5.6 2.2L285.8 275.7c1.4 1.3 2.2 3.2 2.2 5.2c0 3.9-3.2 7.1-7.1 7.1H39.1c-3.9 0-7.1-3.2-7.1-7.1c0-2 .8-3.8 2.2-5.2L154.4 162.2zm-22-23.3L12.3 252.4C4.4 259.8 0 270.1 0 280.9C0 302.5 17.5 320 39.1 320H280.9c21.6 0 39.1-17.5 39.1-39.1c0-10.8-4.4-21.1-12.3-28.4L187.6 138.9c-7.4-7-17.3-10.9-27.6-10.9s-20.1 3.9-27.6 10.9z"]},e.mw},2653:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"chart-bar",icon:[512,512,["bar-chart"],"f080","M16 32c8.8 0 16 7.2 16 16V400c0 26.5 21.5 48 48 48H496c8.8 0 16 7.2 16 16s-7.2 16-16 16H80c-44.2 0-80-35.8-80-80V48c0-8.8 7.2-16 16-16zM128 144c0-8.8 7.2-16 16-16l224 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-224 0c-8.8 0-16-7.2-16-16zm16 80H304c8.8 0 16 7.2 16 16s-7.2 16-16 16H144c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 96H432c8.8 0 16 7.2 16 16s-7.2 16-16 16H144c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]},e.mw},8055:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"chart-column",icon:[512,512,[],"e0e3","M16 32c8.8 0 16 7.2 16 16V400c0 26.5 21.5 48 48 48H496c8.8 0 16 7.2 16 16s-7.2 16-16 16H80c-44.2 0-80-35.8-80-80V48c0-8.8 7.2-16 16-16zM144 256c8.8 0 16 7.2 16 16v96c0 8.8-7.2 16-16 16s-16-7.2-16-16V272c0-8.8 7.2-16 16-16zM256 144V368c0 8.8-7.2 16-16 16s-16-7.2-16-16V144c0-8.8 7.2-16 16-16s16 7.2 16 16zm80 48c8.8 0 16 7.2 16 16V368c0 8.8-7.2 16-16 16s-16-7.2-16-16V208c0-8.8 7.2-16 16-16zm112-80V368c0 8.8-7.2 16-16 16s-16-7.2-16-16V112c0-8.8 7.2-16 16-16s16 7.2 16 16z"]},e.mw},9492:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"chart-line",icon:[512,512,["line-chart"],"f201","M32 48c0-8.8-7.2-16-16-16S0 39.2 0 48V400c0 44.2 35.8 80 80 80H496c8.8 0 16-7.2 16-16s-7.2-16-16-16H80c-26.5 0-48-21.5-48-48V48zM475.3 155.3c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L320 265.4l-84.7-84.7c-6.2-6.2-16.4-6.2-22.6 0l-112 112c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L224 214.6l84.7 84.7c6.2 6.2 16.4 6.2 22.6 0l144-144z"]},e.mw},4334:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"chart-pie",icon:[576,512,["pie-chart"],"f200","M511.3 208H336V32.7c93.3 7.7 167.6 82.1 175.3 175.3zM320 240H528.5c8.4 0 15.4-6.5 15.5-14.9l0-1.1C544 100.3 443.7 0 320 0l-1.1 0C310.5 0 304 7.1 304 15.5V224c0 8.8 7.2 16 16 16zm-86.6 70.6L375.3 452.6C344.9 470 309.6 480 272 480C157.1 480 64 386.9 64 272c0-98.3 68.3-180.8 160-202.4V288c0 8.5 3.4 16.6 9.4 22.6zM239 34.3C122.1 50.3 32 150.7 32 272c0 132.5 107.5 240 240 240c51.8 0 99.8-16.4 139-44.3c7.7-5.5 8.2-16.5 1.5-23.1L256 288V49.6c0-9.2-7.8-16.6-17-15.4zM489.6 412.3L397.3 320H538.4c-8.3 35-25.4 66.6-48.9 92.3zM573.8 305c1.3-9.2-6.1-17-15.4-17H358.6c-14.3 0-21.4 17.2-11.3 27.3L478.7 446.7c5.8 5.8 15.2 6.3 21.2 .7c39.3-36.7 66.2-86.5 73.9-142.3z"]},e.mw},7324:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"chart-simple",icon:[448,512,[],"e473","M240 64c8.8 0 16 7.2 16 16V432c0 8.8-7.2 16-16 16H208c-8.8 0-16-7.2-16-16V80c0-8.8 7.2-16 16-16h32zM208 32c-26.5 0-48 21.5-48 48V432c0 26.5 21.5 48 48 48h32c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48H208zM80 256c8.8 0 16 7.2 16 16V432c0 8.8-7.2 16-16 16H48c-8.8 0-16-7.2-16-16V272c0-8.8 7.2-16 16-16H80zM48 224c-26.5 0-48 21.5-48 48V432c0 26.5 21.5 48 48 48H80c26.5 0 48-21.5 48-48V272c0-26.5-21.5-48-48-48H48zm320-96h32c8.8 0 16 7.2 16 16V432c0 8.8-7.2 16-16 16H368c-8.8 0-16-7.2-16-16V144c0-8.8 7.2-16 16-16zm-48 16V432c0 26.5 21.5 48 48 48h32c26.5 0 48-21.5 48-48V144c0-26.5-21.5-48-48-48H368c-26.5 0-48 21.5-48 48z"]},e.mw},1513:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"check",icon:[448,512,[10003,10004],"f00c","M443.3 100.7c6.2 6.2 6.2 16.4 0 22.6l-272 272c-6.2 6.2-16.4 6.2-22.6 0l-144-144c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0L160 361.4 420.7 100.7c6.2-6.2 16.4-6.2 22.6 0z"]},e.mw},2841:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"chevron-down",icon:[512,512,[],"f078","M267.3 395.3c-6.2 6.2-16.4 6.2-22.6 0l-192-192c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0L256 361.4 436.7 180.7c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6l-192 192z"]},e.mw},9256:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"chevron-left",icon:[320,512,[9001],"f053","M20.7 267.3c-6.2-6.2-6.2-16.4 0-22.6l192-192c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6L54.6 256 235.3 436.7c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0l-192-192z"]},e.mw},75:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"chevron-right",icon:[320,512,[9002],"f054","M299.3 244.7c6.2 6.2 6.2 16.4 0 22.6l-192 192c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6L265.4 256 84.7 75.3c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0l192 192z"]},e.mw},9432:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"chevron-up",icon:[512,512,[],"f077","M244.7 116.7c6.2-6.2 16.4-6.2 22.6 0l192 192c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0L256 150.6 75.3 331.3c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6l192-192z"]},e.mw},2896:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle",icon:[512,512,[128308,128309,128992,128993,128994,128995,128996,9679,9898,9899,11044,61708,61915],"f111","M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480A256 256 0 1 0 256 0a256 256 0 1 0 0 512z"]},e.mw},8654:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-check",icon:[512,512,[61533,"check-circle"],"f058","M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM363.3 203.3c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L224 297.4l-52.7-52.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l64 64c6.2 6.2 16.4 6.2 22.6 0l128-128z"]},e.mw},9651:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-exclamation",icon:[512,512,["exclamation-circle"],"f06a","M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c-8.8 0-16 7.2-16 16V272c0 8.8 7.2 16 16 16s16-7.2 16-16V144c0-8.8-7.2-16-16-16zm24 224a24 24 0 1 0 -48 0 24 24 0 1 0 48 0z"]},e.mw},5629:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-half-stroke",icon:[512,512,[9680,"adjust"],"f042","M240 479.4V32.6C123.8 40.8 32 137.7 32 256s91.8 215.2 208 223.4zM480 256c0-118.3-91.8-215.2-208-223.4V479.4C388.2 471.2 480 374.3 480 256zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z"]},e.mw},5844:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM208 352c-8.8 0-16 7.2-16 16s7.2 16 16 16h96c8.8 0 16-7.2 16-16s-7.2-16-16-16H272V240c0-8.8-7.2-16-16-16H216c-8.8 0-16 7.2-16 16s7.2 16 16 16h24v96H208zm48-168a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"]},e.mw},8722:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-play",icon:[512,512,[61469,"play-circle"],"f144","M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm72.7-256L208 329.7V182.3L328.7 256zM212.5 147.5c-7.4-4.5-16.7-4.7-24.3-.5s-12.3 12.3-12.3 20.9V344c0 8.7 4.7 16.7 12.3 20.9s16.8 4.1 24.3-.5l144-88c7.1-4.4 11.5-12.1 11.5-20.5s-4.4-16.1-11.5-20.5l-144-88z"]},e.mw},3386:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-quarter-stroke",icon:[512,512,[],"e5d3","M480 256C480 132.3 379.7 32 256 32V208c0 26.5-21.5 48-48 48H32c0 123.7 100.3 224 224 224s224-100.3 224-224zM224 34.3C125.9 48.3 48.3 125.9 34.3 224H208c8.8 0 16-7.2 16-16V34.3zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z"]},e.mw},8804:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-question",icon:[512,512,[62108,"question-circle"],"f059","M480 256A224 224 0 1 0 32 256a224 224 0 1 0 448 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zm168.7-86.2c6.5-24.6 28.7-41.8 54.2-41.8H280c35.5 0 64 29 64 64.3c0 24-13.4 46.2-34.9 57.2L272 268.3V288c0 8.8-7.2 16-16 16s-16-7.2-16-16V258.5c0-6 3.4-11.5 8.7-14.3l45.8-23.4c10.7-5.4 17.5-16.6 17.5-28.7c0-17.8-14.4-32.3-32-32.3H222.9c-10.9 0-20.5 7.4-23.2 17.9l-.2 .7c-2.2 8.5-11 13.7-19.5 11.4s-13.7-11-11.4-19.5l.2-.7zM232 352a24 24 0 1 1 48 0 24 24 0 1 1 -48 0z"]},e.mw},257:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-radiation",icon:[512,512,[9762,"radiation-alt"],"f7ba","M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM160.6 148.1c2.4-2.1 5.3-2.8 8.4-2c3.3 .8 6.9 3.2 9.1 7.1l37.2 64.4c7.4-7.8 16.9-13.5 27.7-16l-37.2-64.4c-12.7-22-43.9-32.9-66.4-13c-28.1 24.9-48.2 58.6-56 96.9c-5.9 29.4 19.1 51 44.5 51h74.3c-1.5-5.1-2.3-10.4-2.3-16s.8-10.9 2.3-16H128c-4.5 0-8.4-1.9-10.7-4.4c-2.2-2.3-3.1-5.1-2.5-8.3c6.3-31.3 22.7-58.9 45.8-79.3zm54.7 146.4l-37.2 64.4c-12.7 22-6.6 54.4 21.9 64c17.6 5.9 36.5 9.1 56 9.1s38.4-3.2 56-9.1c28.5-9.6 34.6-42 21.9-64l-37.2-64.4c-7.4 7.8-16.9 13.5-27.7 16l37.2 64.4c2.3 3.9 2.6 8.2 1.6 11.4c-.9 3.1-2.9 5.2-5.9 6.2c-14.4 4.8-29.8 7.4-45.8 7.4s-31.5-2.6-45.8-7.4c-3-1-5-3.2-5.9-6.2c-1-3.3-.7-7.5 1.6-11.4L243 310.5c-10.8-2.6-20.3-8.2-27.7-16zM309.7 272H384c25.4 0 50.5-21.5 44.5-51c-7.7-38.3-27.8-72.1-56-96.9c-22.5-19.9-53.7-9-66.4 13L269 201.5c10.8 2.6 20.3 8.2 27.7 16l37.2-64.4c2.3-3.9 5.8-6.3 9.1-7.1c3.1-.7 6-.1 8.4 2c23.1 20.4 39.5 48 45.8 79.3c.6 3.1-.3 5.9-2.5 8.3c-2.3 2.5-6.2 4.4-10.7 4.4H309.7c1.5 5.1 2.3 10.4 2.3 16s-.8 10.9-2.3 16zM256 280a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"]},e.mw},6651:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-three-quarters-stroke",icon:[512,512,[],"e5d4","M477.7 288H272c-26.5 0-48-21.5-48-48V34.3C115.4 49.8 32 143.2 32 256c0 123.7 100.3 224 224 224c112.8 0 206.2-83.4 221.7-192zm2.3-32C480 132.3 379.7 32 256 32V240c0 8.8 7.2 16 16 16H480zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z"]},e.mw},5184:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-xmark",icon:[512,512,[61532,"times-circle","xmark-circle"],"f057","M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM180.7 180.7c-6.2 6.2-6.2 16.4 0 22.6L233.4 256l-52.7 52.7c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L256 278.6l52.7 52.7c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L278.6 256l52.7-52.7c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L256 233.4l-52.7-52.7c-6.2-6.2-16.4-6.2-22.6 0z"]},e.mw},6021:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"code",icon:[640,512,[],"f121","M405.1 .8c-8.4-2.8-17.4 1.7-20.2 10.1l-160 480c-2.8 8.4 1.7 17.4 10.1 20.2s17.4-1.7 20.2-10.1l160-480c2.8-8.4-1.7-17.4-10.1-20.2zM172 117.4c-5.9-6.6-16-7.2-22.6-1.3l-144 128C2 247.1 0 251.4 0 256s2 8.9 5.4 12l144 128c6.6 5.9 16.7 5.3 22.6-1.3s5.3-16.7-1.3-22.6L40.1 256 170.6 140c6.6-5.9 7.2-16 1.3-22.6zm296.1 0c-5.9 6.6-5.3 16.7 1.3 22.6L599.9 256 469.4 372c-6.6 5.9-7.2 16-1.3 22.6s16 7.2 22.6 1.3l144-128c3.4-3 5.4-7.4 5.4-12s-2-8.9-5.4-12l-144-128c-6.6-5.9-16.7-5.3-22.6 1.3z"]},e.mw},2211:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"comment",icon:[512,512,[128489,61669],"f075","M256 64C125.8 64 32 148.6 32 240c0 37.1 15.5 70.6 40 100c5.2 6.3 8.4 14.8 7.4 23.9c-3.1 27-11.4 52.5-25.7 76.3c-.5 .9-1.1 1.8-1.6 2.6c11.1-2.9 22.2-7 32.7-11.5L91.2 446l-6.4-14.7c17-7.4 33-16.7 48.4-27.4c8.5-5.9 19.4-7.5 29.2-4.2C193 410.1 224 416 256 416c130.2 0 224-84.6 224-176s-93.8-176-224-176zM0 240C0 125.2 114.5 32 256 32s256 93.2 256 208s-114.5 208-256 208c-36 0-70.5-6.7-103.8-17.9c-.2-.1-.5 0-.7 .1c-16.9 11.7-34.7 22.1-53.9 30.5C73.6 471.1 44.7 480 16 480c-6.5 0-12.3-3.9-14.8-9.8s-1.1-12.8 3.4-17.4c8.1-8.2 15.2-18.2 21.7-29c11.7-19.6 18.7-40.6 21.3-63.1c0 0-.1-.1-.1-.2C19.6 327.1 0 286.6 0 240z"]},e.mw},7765:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"copy",icon:[448,512,[],"f0c5","M384 352H224c-17.7 0-32-14.3-32-32V64c0-17.7 14.3-32 32-32H332.1c4.2 0 8.3 1.7 11.3 4.7l67.9 67.9c3 3 4.7 7.1 4.7 11.3V320c0 17.7-14.3 32-32 32zM433.9 81.9L366.1 14.1c-9-9-21.2-14.1-33.9-14.1H224c-35.3 0-64 28.7-64 64V320c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V115.9c0-12.7-5.1-24.9-14.1-33.9zM64 128c-35.3 0-64 28.7-64 64V448c0 35.3 28.7 64 64 64H224c35.3 0 64-28.7 64-64V416H256v32c0 17.7-14.3 32-32 32H64c-17.7 0-32-14.3-32-32V192c0-17.7 14.3-32 32-32h64V128H64z"]},e.mw},244:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"dash",icon:[512,512,["minus-large"],"e404","M0 256c0-8.8 7.2-16 16-16H496c8.8 0 16 7.2 16 16s-7.2 16-16 16H16c-8.8 0-16-7.2-16-16z"]},e.mw},588:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"down",icon:[384,512,["arrow-alt-down"],"f354","M189.7 448h4.6c4.4 0 8.6-1.8 11.6-5L348.5 293.2c2.2-2.3 3.5-5.4 3.5-8.7c0-6.9-5.6-12.6-12.6-12.6H256c-8.8 0-16-7.2-16-16V80c0-8.8-7.2-16-16-16H160c-8.8 0-16 7.2-16 16V256c0 8.8-7.2 16-16 16H44.6c-6.9 0-12.6 5.6-12.6 12.6c0 3.2 1.2 6.3 3.5 8.7L178.1 443c3 3.2 7.2 5 11.6 5zM384 284.6c0 11.4-4.4 22.5-12.3 30.7L229 465.1c-9.1 9.5-21.6 14.9-34.8 14.9h-4.6c-13.1 0-25.7-5.4-34.8-14.9L12.3 315.3C4.4 307 0 296 0 284.6C0 260 20 240 44.6 240H112V80c0-26.5 21.5-48 48-48h64c26.5 0 48 21.5 48 48V240h67.4c24.6 0 44.6 20 44.6 44.6z"]},e.mw},1736:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"down-right",icon:[384,512,[],"e16b","M312 384c4.4 0 8-3.6 8-8V174.6c0-3.7-3-6.6-6.6-6.6c-1.8 0-3.4 .7-4.7 1.9l-61.4 61.4c-6.2 6.2-16.4 6.2-22.6 0L112 118.6c-4.2-4.2-10-6.6-16-6.6s-11.8 2.4-16 6.6L54.6 144c-4.2 4.2-6.6 10-6.6 16s2.4 11.8 6.6 16L167.3 288.7c3 3 4.7 7.1 4.7 11.3s-1.7 8.3-4.7 11.3l-61.4 61.4c-1.2 1.2-1.9 2.9-1.9 4.7c0 3.7 3 6.6 6.6 6.6H312zm40-8c0 22.1-17.9 40-40 40H110.6C89.3 416 72 398.7 72 377.4c0-10.2 4.1-20.1 11.3-27.3L133.4 300 32 198.6C21.8 188.4 16 174.5 16 160s5.8-28.4 16-38.6L57.4 96C67.6 85.8 81.5 80 96 80s28.4 5.8 38.6 16L236 197.4l50.1-50.1c7.2-7.2 17.1-11.3 27.3-11.3c21.3 0 38.6 17.3 38.6 38.6V376z"]},e.mw},3788:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"download",icon:[512,512,[],"f019","M272 16c0-8.8-7.2-16-16-16s-16 7.2-16 16V329.4L139.3 228.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l128 128c6.2 6.2 16.4 6.2 22.6 0l128-128c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L272 329.4V16zM140.1 320H64c-35.3 0-64 28.7-64 64v64c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V384c0-35.3-28.7-64-64-64H371.9l-32 32H448c17.7 0 32 14.3 32 32v64c0 17.7-14.3 32-32 32H64c-17.7 0-32-14.3-32-32V384c0-17.7 14.3-32 32-32H172.1l-32-32zM432 416a24 24 0 1 0 -48 0 24 24 0 1 0 48 0z"]},e.mw},5327:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"ellipsis",icon:[448,512,["ellipsis-h"],"f141","M416 256a32 32 0 1 1 -64 0 32 32 0 1 1 64 0zm-160 0a32 32 0 1 1 -64 0 32 32 0 1 1 64 0zM64 288a32 32 0 1 1 0-64 32 32 0 1 1 0 64z"]},e.mw},8701:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"ellipsis-vertical",icon:[128,512,["ellipsis-v"],"f142","M64 384a32 32 0 1 0 0 64 32 32 0 1 0 0-64zm0-160a32 32 0 1 0 0 64 32 32 0 1 0 0-64zM96 96A32 32 0 1 0 32 96a32 32 0 1 0 64 0z"]},e.mw},7675:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"exclamation",icon:[64,512,[10069,10071,61738],"21","M48 48c0-8.8-7.2-16-16-16s-16 7.2-16 16V352c0 8.8 7.2 16 16 16s16-7.2 16-16V48zM32 472a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"]},e.mw},4155:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"eye",icon:[576,512,[128065],"f06e","M117.2 136C160.3 96 217.6 64 288 64s127.7 32 170.8 72c43.1 40 71.9 88 85.2 120c-13.3 32-42.1 80-85.2 120c-43.1 40-100.4 72-170.8 72s-127.7-32-170.8-72C74.1 336 45.3 288 32 256c13.3-32 42.1-80 85.2-120zM288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM192 256a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zm224 0a128 128 0 1 0 -256 0 128 128 0 1 0 256 0z"]},e.mw},6977:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"eye-slash",icon:[640,512,[],"f070","M25.9 3.4C19-2 8.9-.8 3.4 6.1S-.8 23.1 6.1 28.6l608 480c6.9 5.5 17 4.3 22.5-2.6s4.3-17-2.6-22.5L25.9 3.4zM605.5 268.3c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-51.2 0-96 14.8-133.9 36.8l27.3 21.5C244.6 74.2 280.2 64 320 64c70.4 0 127.7 32 170.8 72c43.1 40 71.9 88 85.2 120c-9.2 22.1-25.9 52-49.5 81.5l25.1 19.8c25.6-32 43.7-64.4 53.9-89zM88.4 154.7c-25.6 32-43.7 64.4-53.9 89c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c51.2 0 96-14.8 133.9-36.8l-27.3-21.5C395.4 437.8 359.8 448 320 448c-70.4 0-127.7-32-170.8-72C106.1 336 77.3 288 64 256c9.2-22.1 25.9-52 49.5-81.5L88.4 154.7zM320 384c16.7 0 32.7-3.2 47.4-9.1l-30.9-24.4c-5.4 .9-10.9 1.4-16.5 1.4c-51 0-92.8-39.8-95.8-90.1l-30.9-24.4c-.9 6-1.3 12.2-1.3 18.5c0 70.7 57.3 128 128 128zM448 256c0-70.7-57.3-128-128-128c-16.7 0-32.7 3.2-47.4 9.1l30.9 24.4c5.4-.9 10.9-1.4 16.5-1.4c51 0 92.8 39.8 95.8 90.1l30.9 24.4c.9-6 1.3-12.2 1.3-18.5z"]},e.mw},9805:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"fill",icon:[512,512,[],"f575","M59.3 4.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l97.4 97.4L30.6 228.1c-37.5 37.5-37.5 98.3 0 135.8L148.1 481.4c37.5 37.5 98.3 37.5 135.8 0L474.3 290.9c28.1-28.1 28.1-73.7 0-101.8L322.9 37.7c-28.1-28.1-73.7-28.1-101.8 0l-64.4 64.4L59.3 4.7zm97.4 142.6l88 88c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6l-88-88 64.4-64.4c15.6-15.6 40.9-15.6 56.6 0L451.7 211.7c15.6 15.6 15.6 40.9 0 56.6L432 288H35c1.7-13.6 7.8-26.8 18.2-37.3L156.7 147.3zM53.3 341.3C47 335 42.3 327.7 39.2 320H400L261.3 458.7c-25 25-65.5 25-90.5 0L53.3 341.3z"]},e.mw},5633:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"filter",icon:[512,512,[],"f0b0","M0 71.5C0 49.7 17.7 32 39.5 32H472.5C494.3 32 512 49.7 512 71.5c0 9.2-3.2 18.1-9.1 25.2L320 317.8V446.1c0 18.7-15.2 33.9-33.9 33.9c-7.5 0-14.8-2.5-20.8-7.1l-61-47.4c-7.8-6.1-12.4-15.4-12.4-25.3V317.8L9.1 96.7C3.2 89.6 0 80.7 0 71.5zM39.5 64c-4.2 0-7.5 3.4-7.5 7.5c0 1.8 .6 3.4 1.7 4.8L220.3 301.8c2.4 2.9 3.7 6.5 3.7 10.2v88.2l61 47.4c.3 .3 .7 .4 1.1 .4c1 0 1.9-.8 1.9-1.9V312c0-3.7 1.3-7.3 3.7-10.2L478.3 76.3c1.1-1.3 1.7-3 1.7-4.8c0-4.2-3.4-7.5-7.5-7.5H39.5z"]},e.mw},1552:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"flag-pennant",icon:[448,512,[128681,"pennant"],"f456","M32 16C32 7.2 24.8 0 16 0S0 7.2 0 16V32 64 320v32V496c0 8.8 7.2 16 16 16s16-7.2 16-16V350.9L432.9 213.2c9.1-3.1 15.1-11.6 15.1-21.2s-6.1-18.1-15.1-21.2L32 33.1V16zm0 50.9L396.1 192 32 317.1V66.9z"]},e.mw},279:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i="floppy-disk",o=[128190,128426,"save"],n="f0c7",r="M32 96c0-17.7 14.3-32 32-32l0 96c0 17.7 14.3 32 32 32H288c17.7 0 32-14.3 32-32V65.8c4.5 1.6 8.7 4.2 12.1 7.6l74.5 74.5c6 6 9.4 14.1 9.4 22.6V416c0 17.7-14.3 32-32 32H64c-17.7 0-32-14.3-32-32V96zM96 64H288v96H96V64zM0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V170.5c0-17-6.7-33.3-18.7-45.3L354.7 50.7c-12-12-28.3-18.7-45.3-18.7H64C28.7 32 0 60.7 0 96zM272 320a48 48 0 1 1 -96 0 48 48 0 1 1 96 0zm-48-80a80 80 0 1 0 0 160 80 80 0 1 0 0-160z";e.definition={prefix:"fal",iconName:i,icon:[448,512,o,n,r]},e.faFloppyDisk=e.definition,e.prefix="fal",e.iconName=i,e.width=448,e.height=512,e.ligatures=o,e.unicode=n,e.svgPathData=r,e.aliases=o},2476:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"folder",icon:[512,512,[128193,128447,61716,"folder-blank"],"f07b","M64 64C46.3 64 32 78.3 32 96V416c0 17.7 14.3 32 32 32H448c17.7 0 32-14.3 32-32V160c0-17.7-14.3-32-32-32H291.9c-17 0-33.3-6.7-45.3-18.7L210.7 73.4c-6-6-14.1-9.4-22.6-9.4H64zM0 96C0 60.7 28.7 32 64 32H188.1c17 0 33.3 6.7 45.3 18.7l35.9 35.9c6 6 14.1 9.4 22.6 9.4H448c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96z"]},e.mw},9648:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"folder-open",icon:[576,512,[128194,128449,61717],"f07c","M448 160v32h32V160c0-35.3-28.7-64-64-64H298.5c-17 0-33.3-6.7-45.3-18.7L226.7 50.7c-12-12-28.3-18.7-45.3-18.7H64C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384h80c19.6 0 37.3-11.9 44.6-30.2l64-160c5.9-14.8 4.1-31.5-4.8-44.7S543.9 224 528 224H128c-19.6 0-37.3 11.9-44.6 30.2L32 382.8V96c0-17.7 14.3-32 32-32H181.5c8.5 0 16.6 3.4 22.6 9.4l22.6-22.6L204.1 73.4l26.5 26.5c18 18 42.4 28.1 67.9 28.1H416c17.7 0 32 14.3 32 32zM384 448H64c-5.3 0-10.3-2.6-13.2-7s-3.6-10-1.6-14.9l64-160c2.4-6.1 8.3-10.1 14.9-10.1H528c5.3 0 10.3 2.6 13.2 7s3.6 10 1.6 14.9l-64 160C476.4 444 470.5 448 464 448H384z"]},e.mw},7325:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"font",icon:[448,512,[],"f031","M238.7 41.8c-2.5-5.9-8.3-9.8-14.7-9.8s-12.2 3.8-14.7 9.8L37.4 448H16c-8.8 0-16 7.2-16 16s7.2 16 16 16H96c8.8 0 16-7.2 16-16s-7.2-16-16-16H72.1l40.6-96H335.2l40.6 96H352c-8.8 0-16 7.2-16 16s7.2 16 16 16h80c8.8 0 16-7.2 16-16s-7.2-16-16-16H410.6L238.7 41.8zm83 278.2H126.3L224 89.1 321.7 320z"]},e.mw},2171:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"gear",icon:[512,512,[9881,"cog"],"f013","M223.3 37.8c.4-1.5 1.3-2.8 2.4-3.8c9.9-1.3 20-2 30.3-2s20.4 .7 30.3 2c1.1 1 1.9 2.3 2.4 3.8l13.7 47.7c3.5 12.1 12.2 21.1 22.5 26.1c7.6 3.6 14.8 7.8 21.7 12.5c9.4 6.5 21.7 9.5 33.9 6.5l48.2-12c1.5-.4 3-.3 4.4 .2c5.4 6.9 10.4 14.2 14.9 21.8l4.3 7.4c4.2 7.5 7.9 15.3 11.2 23.3c-.3 1.5-1 2.9-2.1 4L426.8 211c-8.7 9-12.2 21.1-11.3 32.5c.3 4.1 .5 8.3 .5 12.5s-.2 8.4-.5 12.5c-.9 11.4 2.6 23.5 11.3 32.5l34.5 35.7c1.1 1.1 1.8 2.5 2.1 4c-3.3 8-7 15.8-11.2 23.4l-4.2 7.3c-4.6 7.6-9.6 14.8-14.9 21.8c-1.4 .5-2.9 .5-4.4 .2l-48.2-12c-12.2-3-24.4 0-33.9 6.5c-6.9 4.7-14.1 8.9-21.7 12.5c-10.3 4.9-19.1 14-22.5 26.1l-13.7 47.7c-.4 1.5-1.3 2.8-2.4 3.8c-9.9 1.3-20 2-30.3 2s-20.4-.7-30.3-2c-1.1-1-1.9-2.3-2.4-3.8l-13.7-47.7c-3.5-12.1-12.2-21.1-22.5-26.1c-7.6-3.6-14.8-7.8-21.7-12.5c-9.4-6.5-21.7-9.5-33.9-6.5l-48.2 12c-1.5 .4-3 .3-4.4-.2c-5.4-7-10.4-14.2-15-21.8l-4.2-7.3c-4.2-7.5-7.9-15.3-11.2-23.4c.3-1.5 1-2.9 2.1-4L85.2 301c8.7-9 12.2-21.1 11.3-32.5c-.3-4.1-.5-8.3-.5-12.5s.2-8.4 .5-12.5c.9-11.4-2.6-23.5-11.3-32.5L50.7 175.2c-1.1-1.1-1.8-2.5-2.1-4c3.3-8 7-15.8 11.2-23.4l4.2-7.3c4.6-7.6 9.6-14.8 15-21.8c1.4-.5 2.9-.5 4.4-.2l48.2 12c12.2 3 24.4 0 33.9-6.5c6.9-4.7 14.1-8.9 21.7-12.5c10.3-4.9 19.1-14 22.5-26.1l13.7-47.7zM256 0c-13 0-25.9 1-38.4 2.9c-1.7 .3-3.4 .8-5 1.6c-9.5 4.9-16.9 13.6-20 24.5L178.9 76.7c-.6 2.2-2.5 4.5-5.6 6c-9.1 4.3-17.8 9.4-26 15c-2.8 1.9-5.8 2.4-8 1.8l-48.2-12C80.2 84.8 69 86.9 60 92.6c-1.5 .9-2.8 2.1-3.9 3.5C49 105 42.4 114.3 36.5 124.1l-.1 .3L32 132l-.1 .3c-5.4 9.8-10.2 19.9-14.3 30.4c-.6 1.6-1 3.3-1.1 5c-.5 10.8 3.3 21.6 11.2 29.8l34.5 35.7c1.6 1.7 2.7 4.4 2.4 7.8c-.4 5-.6 10-.6 15s.2 10.1 .6 15c.3 3.4-.8 6.2-2.4 7.8L27.7 314.6c-7.9 8.2-11.7 19-11.2 29.8c.1 1.7 .5 3.4 1.1 5c4.1 10.5 8.9 20.6 14.3 30.4l.1 .3 4.4 7.6 .1 .3c5.9 9.8 12.4 19.2 19.6 28.1c1.1 1.4 2.4 2.6 3.9 3.5c9 5.7 20.2 7.8 31.1 5.1l48.2-12c2.2-.6 5.2-.1 8 1.8c8.2 5.7 16.9 10.7 26 15c3.1 1.5 4.9 3.8 5.6 6L192.6 483c3.1 10.8 10.5 19.5 20 24.5c1.6 .8 3.2 1.4 5 1.6C230.1 511 243 512 256 512s25.9-1 38.4-2.9c1.7-.3 3.4-.8 5-1.6c9.5-4.9 16.9-13.6 20-24.5l13.7-47.7c.6-2.2 2.5-4.5 5.6-6c9.1-4.3 17.8-9.4 26-15c2.8-1.9 5.8-2.4 8-1.8l48.2 12c10.9 2.7 22.1 .7 31.1-5.1c1.5-.9 2.8-2.1 3.9-3.5c7.1-8.9 13.6-18.2 19.5-28l.1-.3L480 380l.1-.3c5.4-9.7 10.2-19.9 14.3-30.4c.6-1.6 1-3.3 1.1-5c.5-10.8-3.3-21.6-11.2-29.8l-34.5-35.7c-1.6-1.7-2.7-4.4-2.4-7.8c.4-5 .6-10 .6-15s-.2-10.1-.6-15c-.3-3.4 .8-6.2 2.4-7.8l34.5-35.7c7.9-8.2 11.7-19 11.2-29.8c-.1-1.7-.5-3.4-1.1-5c-4.1-10.5-8.9-20.6-14.3-30.4l-.1-.3-4.4-7.6-.1-.3c-5.9-9.8-12.4-19.2-19.5-28c-1.1-1.4-2.4-2.6-3.9-3.5c-9-5.7-20.2-7.8-31.1-5.1l-48.2 12c-2.2 .6-5.2 .1-8-1.8c-8.2-5.7-16.9-10.7-26-15c-3.1-1.5-4.9-3.8-5.6-6L319.4 29c-3.1-10.8-10.5-19.5-20-24.5c-1.6-.8-3.2-1.4-5-1.6C281.9 1 269 0 256 0zM200 256a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm144 0a88 88 0 1 0 -176 0 88 88 0 1 0 176 0z"]},e.mw},8569:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"grip-lines",icon:[448,512,[],"f7a4","M448 192c0-8.8-7.2-16-16-16L16 176c-8.8 0-16 7.2-16 16s7.2 16 16 16l416 0c8.8 0 16-7.2 16-16zm0 128c0-8.8-7.2-16-16-16L16 304c-8.8 0-16 7.2-16 16s7.2 16 16 16l416 0c8.8 0 16-7.2 16-16z"]},e.mw},2955:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"grip-lines-vertical",icon:[192,512,[],"f7a5","M32 32c-8.8 0-16 7.2-16 16l0 416c0 8.8 7.2 16 16 16s16-7.2 16-16L48 48c0-8.8-7.2-16-16-16zm128 0c-8.8 0-16 7.2-16 16l0 416c0 8.8 7.2 16 16 16s16-7.2 16-16l0-416c0-8.8-7.2-16-16-16z"]},e.mw},2582:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"grip-vertical",icon:[320,512,[],"f58e","M32 440l0-48c0-4.4 3.6-8 8-8l48 0c4.4 0 8 3.6 8 8l0 48c0 4.4-3.6 8-8 8l-48 0c-4.4 0-8-3.6-8-8zm8 40l48 0c22.1 0 40-17.9 40-40l0-48c0-22.1-17.9-40-40-40l-48 0c-22.1 0-40 17.9-40 40l0 48c0 22.1 17.9 40 40 40zm184-40l0-48c0-4.4 3.6-8 8-8l48 0c4.4 0 8 3.6 8 8l0 48c0 4.4-3.6 8-8 8l-48 0c-4.4 0-8-3.6-8-8zm8 40l48 0c22.1 0 40-17.9 40-40l0-48c0-22.1-17.9-40-40-40l-48 0c-22.1 0-40 17.9-40 40l0 48c0 22.1 17.9 40 40 40zM32 232c0-4.4 3.6-8 8-8l48 0c4.4 0 8 3.6 8 8l0 48c0 4.4-3.6 8-8 8l-48 0c-4.4 0-8-3.6-8-8l0-48zM0 280c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-48c0-22.1-17.9-40-40-40l-48 0c-22.1 0-40 17.9-40 40l0 48zm224 0l0-48c0-4.4 3.6-8 8-8l48 0c4.4 0 8 3.6 8 8l0 48c0 4.4-3.6 8-8 8l-48 0c-4.4 0-8-3.6-8-8zm8 40l48 0c22.1 0 40-17.9 40-40l0-48c0-22.1-17.9-40-40-40l-48 0c-22.1 0-40 17.9-40 40l0 48c0 22.1 17.9 40 40 40zM32 72c0-4.4 3.6-8 8-8l48 0c4.4 0 8 3.6 8 8l0 48c0 4.4-3.6 8-8 8l-48 0c-4.4 0-8-3.6-8-8l0-48zM0 120c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-48c0-22.1-17.9-40-40-40L40 32C17.9 32 0 49.9 0 72l0 48zm224 0l0-48c0-4.4 3.6-8 8-8l48 0c4.4 0 8 3.6 8 8l0 48c0 4.4-3.6 8-8 8l-48 0c-4.4 0-8-3.6-8-8zm8 40l48 0c22.1 0 40-17.9 40-40l0-48c0-22.1-17.9-40-40-40l-48 0c-22.1 0-40 17.9-40 40l0 48c0 22.1 17.9 40 40 40z"]},e.mw},8796:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"heading",icon:[448,512,["header"],"f1dc","M0 48c0-8.8 7.2-16 16-16H80h64c8.8 0 16 7.2 16 16s-7.2 16-16 16H96V224H352V64H304c-8.8 0-16-7.2-16-16s7.2-16 16-16h64 64c8.8 0 16 7.2 16 16s-7.2 16-16 16H384V240 448h48c8.8 0 16 7.2 16 16s-7.2 16-16 16H304c-8.8 0-16-7.2-16-16s7.2-16 16-16h48V256H96V448h48c8.8 0 16 7.2 16 16s-7.2 16-16 16H16c-8.8 0-16-7.2-16-16s7.2-16 16-16H64V240 64H16C7.2 64 0 56.8 0 48z"]},e.mw},486:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"horizontal-rule",icon:[640,512,[8213],"f86c","M0 256c0-8.8 7.2-16 16-16H624c8.8 0 16 7.2 16 16s-7.2 16-16 16H16c-8.8 0-16-7.2-16-16z"]},e.mw},9518:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"house",icon:[576,512,[127968,63498,63500,"home","home-alt","home-lg-alt"],"f015","M298.6 4c-6-5.3-15.1-5.3-21.2 0L5.4 244c-6.6 5.8-7.3 16-1.4 22.6s16 7.3 22.6 1.4L64 235V432c0 44.2 35.8 80 80 80H432c44.2 0 80-35.8 80-80V235l37.4 33c6.6 5.8 16.7 5.2 22.6-1.4s5.2-16.7-1.4-22.6L298.6 4zM96 432V206.7L288 37.3 480 206.7V432c0 26.5-21.5 48-48 48H368V320c0-17.7-14.3-32-32-32H240c-17.7 0-32 14.3-32 32V480H144c-26.5 0-48-21.5-48-48zm144 48V320h96V480H240z"]},e.mw},5255:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"image",icon:[512,512,[],"f03e","M64 64C46.3 64 32 78.3 32 96V329.4l67.7-67.7c15.6-15.6 40.9-15.6 56.6 0L224 329.4 355.7 197.7c15.6-15.6 40.9-15.6 56.6 0L480 265.4V96c0-17.7-14.3-32-32-32H64zM32 374.6V416c0 17.7 14.3 32 32 32h41.4l96-96-67.7-67.7c-3.1-3.1-8.2-3.1-11.3 0L32 374.6zM389.7 220.3c-3.1-3.1-8.2-3.1-11.3 0L150.6 448H448c17.7 0 32-14.3 32-32V310.6l-90.3-90.3zM0 96C0 60.7 28.7 32 64 32H448c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96zm160 48a16 16 0 1 0 -32 0 16 16 0 1 0 32 0zm-64 0a48 48 0 1 1 96 0 48 48 0 1 1 -96 0z"]},e.mw},5501:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"input-text",icon:[640,512,[],"e1bf","M64 96c-17.7 0-32 14.3-32 32V384c0 17.7 14.3 32 32 32H576c17.7 0 32-14.3 32-32V128c0-17.7-14.3-32-32-32H64zM0 128C0 92.7 28.7 64 64 64H576c35.3 0 64 28.7 64 64V384c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V128zm176 32c6.5 0 12.4 4 14.9 10.1l64 160c3.3 8.2-.7 17.5-8.9 20.8s-17.5-.7-20.8-8.9L216.4 320l-.4 0H136l-.4 0-8.8 21.9c-3.3 8.2-12.6 12.2-20.8 8.9s-12.2-12.6-8.9-20.8l64-160c2.4-6.1 8.3-10.1 14.9-10.1zm0 59.1L148.4 288h55.1L176 219.1zM288 176c0-8.8 7.2-16 16-16h56c30.9 0 56 25.1 56 56c0 12.1-3.8 23.3-10.4 32.5C421.5 258.4 432 276 432 296c0 30.9-25.1 56-56 56H304c-8.8 0-16-7.2-16-16V320 256 192 176zm72 96H320v48h56c13.3 0 24-10.7 24-24s-10.7-24-24-24H360zm0-32c13.3 0 24-10.7 24-24s-10.7-24-24-24H320v48h40z"]},e.mw},5156:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"italic",icon:[384,512,[],"f033","M128 48c0-8.8 7.2-16 16-16H368c8.8 0 16 7.2 16 16s-7.2 16-16 16H283L135.3 448H240c8.8 0 16 7.2 16 16s-7.2 16-16 16H16c-8.8 0-16-7.2-16-16s7.2-16 16-16h85L248.7 64H144c-8.8 0-16-7.2-16-16z"]},e.mw},9428:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"layer-group",icon:[576,512,[],"f5fd","M266.2 4.7C273 1.6 280.5 0 288 0s15 1.6 21.8 4.7l217.4 97.5c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 251.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 153.9C38.6 149.3 32 139.2 32 128s6.6-21.3 16.8-25.9L266.2 4.7zM288 32c-3 0-6 .6-8.8 1.9L69.3 128l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-210-94.1C294 32.6 291 32 288 32zM48.8 358.1l45.9-20.6 39.1 17.5L69.3 384l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-64.5-28.9 39.1-17.5 45.9 20.6c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 507.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 409.9C38.6 405.3 32 395.2 32 384s6.6-21.3 16.8-25.9zM94.7 209.5l39.1 17.5L69.3 256l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-64.5-28.9 39.1-17.5 45.9 20.6c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 379.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 281.9C38.6 277.3 32 267.2 32 256s6.6-21.3 16.8-25.9l45.9-20.6z"]},e.mw},7645:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"left",icon:[448,512,["arrow-alt-left"],"f355","M32 258.3l0-4.6c0-4.4 1.8-8.6 5-11.6L186.8 99.5c2.3-2.2 5.4-3.5 8.7-3.5c6.9 0 12.6 5.6 12.6 12.6l0 83.4c0 8.8 7.2 16 16 16l176 0c8.8 0 16 7.2 16 16l0 64c0 8.8-7.2 16-16 16l-176 0c-8.8 0-16 7.2-16 16l0 83.4c0 6.9-5.6 12.6-12.6 12.6c-3.2 0-6.3-1.2-8.7-3.5L37 269.9c-3.2-3-5-7.2-5-11.6zM195.4 64C184 64 173 68.4 164.7 76.3L14.9 219C5.4 228 0 240.6 0 253.7l0 4.6C0 271.4 5.4 284 14.9 293L164.7 435.7C173 443.6 184 448 195.4 448c24.6 0 44.6-20 44.6-44.6l0-67.4 160 0c26.5 0 48-21.5 48-48l0-64c0-26.5-21.5-48-48-48l-160 0 0-67.4C240 84 220 64 195.4 64z"]},e.mw},2052:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"link",icon:[640,512,[128279,"chain"],"f0c1","M591.5 256c50-50 50-131 0-181s-131-50-181 0L387.9 97.6c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l22.6-22.6c37.5-37.5 98.3-37.5 135.8 0s37.5 98.3 0 135.8L444.3 357.9c-37.4 37.4-98.1 37.4-135.6 0c-35.6-35.6-37.6-92.6-4.7-130.6l5.3-6.1c5.8-6.7 5.1-16.8-1.6-22.6s-16.8-5.1-22.6 1.6l-5.3 6.1c-43.9 50.7-41.2 126.7 6.2 174.1c49.9 49.9 130.9 49.9 180.8 0L591.5 256zM48.5 256c-50 50-50 131 0 181s131 50 181 0l22.6-22.6c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0l-22.6 22.6c-37.5 37.5-98.3 37.5-135.8 0s-37.5-98.3 0-135.8L195.7 154.1c37.4-37.4 98.1-37.4 135.6 0c35.6 35.6 37.6 92.6 4.7 130.6l-5.3 6.1c-5.8 6.7-5.1 16.8 1.6 22.6s16.8 5.1 22.6-1.6l5.3-6.1c43.9-50.7 41.2-126.7-6.2-174.1C303.9 81.5 223 81.5 173 131.4L48.5 256z"]},e.mw},3680:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"list",icon:[512,512,["list-squares"],"f03a","M48 112V80H80v32H48zM16 72v48c0 13.3 10.7 24 24 24H88c13.3 0 24-10.7 24-24V72c0-13.3-10.7-24-24-24H40C26.7 48 16 58.7 16 72zm160 8c-8.8 0-16 7.2-16 16s7.2 16 16 16H496c8.8 0 16-7.2 16-16s-7.2-16-16-16H176zm0 160c-8.8 0-16 7.2-16 16s7.2 16 16 16H496c8.8 0 16-7.2 16-16s-7.2-16-16-16H176zm0 160c-8.8 0-16 7.2-16 16s7.2 16 16 16H496c8.8 0 16-7.2 16-16s-7.2-16-16-16H176zM48 240H80v32H48V240zm-8-32c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24H88c13.3 0 24-10.7 24-24V232c0-13.3-10.7-24-24-24H40zm8 224V400H80v32H48zM16 392v48c0 13.3 10.7 24 24 24H88c13.3 0 24-10.7 24-24V392c0-13.3-10.7-24-24-24H40c-13.3 0-24 10.7-24 24z"]},e.mw},2830:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"list-check",icon:[512,512,["tasks"],"f0ae","M156.3 58.2c5.7-6.8 4.7-16.9-2-22.5s-16.9-4.7-22.5 2L62.9 120.3 27.3 84.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l48 48c3.2 3.2 7.5 4.9 12 4.7s8.7-2.3 11.6-5.7l80-96zm0 160c5.7-6.8 4.7-16.9-2-22.5s-16.9-4.7-22.5 2L62.9 280.3 27.3 244.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l48 48c3.2 3.2 7.5 4.9 12 4.7s8.7-2.3 11.6-5.7l80-96zM192 96c0 8.8 7.2 16 16 16H496c8.8 0 16-7.2 16-16s-7.2-16-16-16H208c-8.8 0-16 7.2-16 16zm0 160c0 8.8 7.2 16 16 16H496c8.8 0 16-7.2 16-16s-7.2-16-16-16H208c-8.8 0-16 7.2-16 16zM160 416c0 8.8 7.2 16 16 16H496c8.8 0 16-7.2 16-16s-7.2-16-16-16H176c-8.8 0-16 7.2-16 16zm-64 0a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"]},e.mw},9999:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"list-ol",icon:[512,512,["list-1-2","list-numeric"],"f0cb","M32 48c0 8.8 7.2 16 16 16H64V192H32c-8.8 0-16 7.2-16 16s7.2 16 16 16h96c8.8 0 16-7.2 16-16s-7.2-16-16-16H96V48c0-8.8-7.2-16-16-16H48c-8.8 0-16 7.2-16 16zM192 96c0 8.8 7.2 16 16 16H496c8.8 0 16-7.2 16-16s-7.2-16-16-16H208c-8.8 0-16 7.2-16 16zm0 160c0 8.8 7.2 16 16 16H496c8.8 0 16-7.2 16-16s-7.2-16-16-16H208c-8.8 0-16 7.2-16 16zm0 160c0 8.8 7.2 16 16 16H496c8.8 0 16-7.2 16-16s-7.2-16-16-16H208c-8.8 0-16 7.2-16 16zM58.7 323.9c11.1-11.1 29.2-10.5 39.6 1.3c9.2 10.5 8.9 26.2-.6 36.3L12.3 453.1c-4.3 4.7-5.5 11.5-3 17.3s8.3 9.6 14.7 9.6H128c8.8 0 16-7.2 16-16s-7.2-16-16-16H60.8l60.3-64.6c20.7-22.2 21.2-56.4 1.3-79.3c-22.5-25.7-62.1-27.1-86.3-2.9L20.7 316.7c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l15.4-15.4z"]},e.mw},5244:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"list-tree",icon:[512,512,[],"e1d2","M32 112H64V80H32v32zM0 72C0 58.7 10.7 48 24 48H72c13.3 0 24 10.7 24 24v48c0 13.3-10.7 24-24 24H64v96h64v-8c0-13.3 10.7-24 24-24h48c13.3 0 24 10.7 24 24v48c0 13.3-10.7 24-24 24H152c-13.3 0-24-10.7-24-24v-8H64V384c0 8.8 7.2 16 16 16h48v-8c0-13.3 10.7-24 24-24h48c13.3 0 24 10.7 24 24v48c0 13.3-10.7 24-24 24H152c-13.3 0-24-10.7-24-24v-8H80c-26.5 0-48-21.5-48-48V256 144H24c-13.3 0-24-10.7-24-24V72zM160 96c0-8.8 7.2-16 16-16H496c8.8 0 16 7.2 16 16s-7.2 16-16 16H176c-8.8 0-16-7.2-16-16zM288 256c0-8.8 7.2-16 16-16H496c8.8 0 16 7.2 16 16s-7.2 16-16 16H304c-8.8 0-16-7.2-16-16zm0 160c0-8.8 7.2-16 16-16H496c8.8 0 16 7.2 16 16s-7.2 16-16 16H304c-8.8 0-16-7.2-16-16zM160 432h32V400H160v32zm0-192v32h32V240H160z"]},e.mw},3849:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"magnifying-glass",icon:[512,512,[128269,"search"],"f002","M384 208A176 176 0 1 0 32 208a176 176 0 1 0 352 0zM343.3 366C307 397.2 259.7 416 208 416C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208c0 51.7-18.8 99-50 135.3L507.3 484.7c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0L343.3 366z"]},e.mw},9954:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"minus",icon:[448,512,[8211,8722,10134,"subtract"],"f068","M432 256c0 8.8-7.2 16-16 16L32 272c-8.8 0-16-7.2-16-16s7.2-16 16-16l384 0c8.8 0 16 7.2 16 16z"]},e.mw},6795:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"object-group",icon:[576,512,[],"f247","M64 125.3C45.4 118.7 32 100.9 32 80c0-26.5 21.5-48 48-48c20.9 0 38.7 13.4 45.3 32H450.7c6.6-18.6 24.4-32 45.3-32c26.5 0 48 21.5 48 48c0 20.9-13.4 38.7-32 45.3V386.7c18.6 6.6 32 24.4 32 45.3c0 26.5-21.5 48-48 48c-20.9 0-38.7-13.4-45.3-32H125.3c-6.6 18.6-24.4 32-45.3 32c-26.5 0-48-21.5-48-48c0-20.9 13.4-38.7 32-45.3V125.3zM125.3 96c-4.8 13.6-15.6 24.4-29.3 29.3V386.7c13.6 4.8 24.4 15.6 29.3 29.3H450.7c4.8-13.6 15.6-24.4 29.3-29.3V125.3c-13.6-4.8-24.4-15.6-29.3-29.3H125.3zM496 416a16 16 0 1 0 0 32 16 16 0 1 0 0-32zM96 432a16 16 0 1 0 -32 0 16 16 0 1 0 32 0zM496 64a16 16 0 1 0 0 32 16 16 0 1 0 0-32zM96 80A16 16 0 1 0 64 80a16 16 0 1 0 32 0zm80 48h96c26.5 0 48 21.5 48 48v64c0 26.5-21.5 48-48 48H176c-26.5 0-48-21.5-48-48V176c0-26.5 21.5-48 48-48zm-16 48v64c0 8.8 7.2 16 16 16h96c8.8 0 16-7.2 16-16V176c0-8.8-7.2-16-16-16H176c-8.8 0-16 7.2-16 16zm192 64c0-8.8 7.2-16 16-16h32c26.5 0 48 21.5 48 48v64c0 26.5-21.5 48-48 48H304c-26.5 0-48-21.5-48-48c0-8.8 7.2-16 16-16s16 7.2 16 16s7.2 16 16 16h96c8.8 0 16-7.2 16-16V272c0-8.8-7.2-16-16-16H368c-8.8 0-16-7.2-16-16z"]},e.mw},6204:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"object-union",icon:[512,512,[],"e49f","M160 320c17.7 0 32 14.3 32 32v96c0 17.7 14.3 32 32 32H448c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32H352c-17.7 0-32-14.3-32-32V64c0-17.7-14.3-32-32-32H64C46.3 32 32 46.3 32 64V288c0 17.7 14.3 32 32 32h96zm-32 32H64c-35.3 0-64-28.7-64-64V64C0 28.7 28.7 0 64 0H288c35.3 0 64 28.7 64 64v64 32h32 64c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H224c-35.3 0-64-28.7-64-64V384 352H128z"]},e.mw},2489:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"paintbrush-pencil",icon:[576,512,[],"e206","M534.5 86.6L369.9 251.3 324.6 206 489.3 41.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3zM347.3 273.9l-36.6 36.6-36.1 36.1 0 0-4.6 4.6L224.6 306l40.7-40.7 0 0L302 228.6l45.3 45.3zM176 320c6.9 0 13.5 .9 19.9 2.5l57.7 57.7c1.6 6.3 2.5 13 2.5 19.9c0 44.2-35.8 80-80 80H36.8C58 480 74.3 468.5 84 455.1c9.5-13.1 14.2-30 12.5-46.7c-.3-2.7-.4-5.5-.4-8.3c0-44.2 35.8-80 80-80zm110.3 60.2L557.2 109.3c25-25 25-65.5 0-90.5s-65.5-25-90.5 0l-271 271c-6.4-1.1-13-1.7-19.7-1.7c-61.9 0-112 50.1-112 112c0 3.9 .2 7.8 .6 11.6C66.4 429.1 54.4 448 36.8 448H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H176c61.9 0 112-50.1 112-112c0-6.8-.6-13.4-1.7-19.8zM170.8 17C148.9-4.9 113.5-4.9 91.6 17L49 59.6c-21.9 21.9-21.9 57.3 0 79.2L166.5 256.3c3.1-.2 6.3-.3 9.5-.3c2.7 0 5.3 .1 7.9 .2l13.9-13.9L149 193.6 225.6 117l48.8 48.8L297 143.2 170.8 17zM410.1 301.6l50.8 50.8c7.6 7.6 13.1 16.9 16.1 27.2l27.3 92.8-92.8-27.3c-10.3-3-19.6-8.6-27.2-16.1l-50.8-50.8-13.8 13.8c.1 2.7 .2 5.4 .2 8.1c0 3.2-.1 6.4-.3 9.5l42 42c11.4 11.4 25.4 19.7 40.8 24.2l121 35.6c5.6 1.7 11.7 .1 15.8-4s5.7-10.2 4-15.8l-35.6-121c-4.5-15.4-12.9-29.4-24.2-40.8l-50.8-50.8-22.6 22.6zM114.2 39.6c9.4-9.4 24.6-9.4 33.9 0L203 94.4 126.4 171 71.6 116.2c-9.4-9.4-9.4-24.6 0-33.9l42.6-42.6z"]},e.mw},2445:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"palette",icon:[512,512,[127912],"f53f","M480 258.3c-.1 14.1-13.8 29.7-38.1 29.7H344c-44.2 0-80 35.8-80 80c0 5.6 .6 11.2 1.7 16.6c2.9 13.8 8.9 27.3 13.2 37c.8 1.7 1.5 3.3 2.1 4.8c5 11.6 6.9 18.2 6.9 23.5c0 19.2-12.3 29.6-22.7 30c-3.1 .1-6.2 .2-9.3 .2C132.3 480 32 379.7 32 256S132.3 32 256 32s224 100.3 224 224c0 .8 0 1.6 0 2.3zm32 .3c0-.9 0-1.8 0-2.7C512 114.6 397.4 0 256 0S0 114.6 0 256S114.6 512 256 512c3.5 0 7.1-.1 10.6-.2c31.8-1.3 53.4-30.1 53.4-62c0-14.5-6.1-28.3-12.1-42c-4.3-9.8-8.7-19.7-10.8-29.9c-.7-3.2-1-6.5-1-9.9c0-26.5 21.5-48 48-48h97.9c36.5 0 69.7-24.8 70.1-61.3zM152 256a24 24 0 1 0 -48 0 24 24 0 1 0 48 0zm8-72a24 24 0 1 0 0-48 24 24 0 1 0 0 48zm120-56a24 24 0 1 0 -48 0 24 24 0 1 0 48 0zm72 56a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"]},e.mw},6817:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"pen",icon:[512,512,[128394],"f304","M395.8 39.6c9.4-9.4 24.6-9.4 33.9 0l42.6 42.6c9.4 9.4 9.4 24.6 0 33.9L417.6 171 341 94.4l54.8-54.8zM318.4 117L395 193.6 159.6 428.9c-7.6 7.6-16.9 13.1-27.2 16.1L39.6 472.4l27.3-92.8c3-10.3 8.6-19.6 16.1-27.2L318.4 117zM452.4 17c-21.9-21.9-57.3-21.9-79.2 0L60.4 329.7c-11.4 11.4-19.7 25.4-24.2 40.8L.7 491.5c-1.7 5.6-.1 11.7 4 15.8s10.2 5.7 15.8 4l121-35.6c15.4-4.5 29.4-12.9 40.8-24.2L495 138.8c21.9-21.9 21.9-57.3 0-79.2L452.4 17z"]},e.mw},6804:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M240 64c0-8.8-7.2-16-16-16s-16 7.2-16 16V240H32c-8.8 0-16 7.2-16 16s7.2 16 16 16H208V448c0 8.8 7.2 16 16 16s16-7.2 16-16V272H416c8.8 0 16-7.2 16-16s-7.2-16-16-16H240V64z"]},e.mw},760:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"puzzle-piece",icon:[512,512,[129513],"f12e","M169.1 17.3C183.8 6.3 203.2 0 224 0s40.2 6.3 54.9 17.3S304 44.6 304 64c0 19.5-10.6 35.9-25.3 46.8c-5.2 3.8-6.7 7.7-6.7 10c0 4 3.2 7.2 7.2 7.2H336c26.5 0 48 21.5 48 48v56.8c0 4 3.2 7.2 7.2 7.2c2.3 0 6.1-1.6 10-6.7c11-14.7 27.4-25.3 46.8-25.3c19.4 0 35.8 10.5 46.7 25.1s17.3 34.1 17.3 54.9s-6.3 40.2-17.3 54.9s-27.3 25.1-46.7 25.1c-19.5 0-35.9-10.6-46.8-25.3c-3.8-5.2-7.7-6.7-10-6.7c-4 0-7.2 3.2-7.2 7.2V464c0 26.5-21.5 48-48 48H279.2c-21.6 0-39.2-17.5-39.2-39.2c0-16.2 9.9-28.4 19.6-35.6c8.6-6.4 12.4-14.1 12.4-21.2c0-7.1-3.8-14.7-12.3-21.1s-21.1-10.9-35.7-10.9s-27.1 4.4-35.7 10.9s-12.3 14.1-12.3 21.1c0 7.1 3.8 14.8 12.4 21.2c9.7 7.2 19.6 19.4 19.6 35.6c0 21.7-17.5 39.2-39.2 39.2H48c-26.5 0-48-21.5-48-48V343.2C0 321.5 17.5 304 39.2 304c16.2 0 28.4 9.9 35.6 19.6C81.2 332.2 88.9 336 96 336c7.1 0 14.7-3.8 21.1-12.3s10.9-21.1 10.9-35.7s-4.4-27.1-10.9-35.7S103.1 240 96 240c-7.1 0-14.8 3.8-21.2 12.4C67.6 262.1 55.4 272 39.2 272C17.5 272 0 254.5 0 232.8V176c0-26.5 21.5-48 48-48H168.8c4 0 7.2-3.2 7.2-7.2c0-2.3-1.6-6.1-6.7-10C154.6 99.9 144 83.5 144 64c0-19.4 10.5-35.8 25.1-46.7zm19.2 25.6C179.8 49.3 176 56.9 176 64c0 7.1 3.8 14.8 12.4 21.2c9.7 7.2 19.6 19.4 19.6 35.6c0 21.6-17.5 39.2-39.2 39.2H48c-8.8 0-16 7.2-16 16v56.8c0 4 3.2 7.2 7.2 7.2c2.3 0 6.1-1.6 10-6.7C60.1 218.6 76.5 208 96 208c19.4 0 35.8 10.5 46.7 25.1s17.3 34.1 17.3 54.9s-6.3 40.2-17.3 54.9S115.4 368 96 368c-19.5 0-35.9-10.6-46.8-25.3c-3.8-5.2-7.7-6.7-10-6.7c-4 0-7.2 3.2-7.2 7.2V464c0 8.8 7.2 16 16 16H168.8c4 0 7.2-3.2 7.2-7.2c0-2.3-1.6-6.1-6.7-10c-14.7-11-25.3-27.4-25.3-46.8c0-19.4 10.5-35.8 25.1-46.7s34.1-17.3 54.9-17.3s40.2 6.3 54.9 17.3s25.1 27.3 25.1 46.7c0 19.5-10.6 35.9-25.3 46.8c-5.2 3.8-6.7 7.7-6.7 10c0 4 3.2 7.2 7.2 7.2H336c8.8 0 16-7.2 16-16V343.2c0-21.7 17.5-39.2 39.2-39.2c16.2 0 28.4 9.9 35.6 19.6c6.4 8.6 14.1 12.4 21.2 12.4c7.1 0 14.7-3.8 21.1-12.3s10.9-21.1 10.9-35.7s-4.4-27.1-10.9-35.7s-14.1-12.3-21.1-12.3c-7.1 0-14.8 3.8-21.2 12.4c-7.2 9.7-19.4 19.6-35.6 19.6c-21.7 0-39.2-17.5-39.2-39.2V176c0-8.8-7.2-16-16-16H279.2c-21.6 0-39.2-17.5-39.2-39.2c0-16.2 9.9-28.4 19.6-35.6C268.2 78.8 272 71.1 272 64c0-7.1-3.8-14.7-12.3-21.1S238.5 32 224 32s-27.1 4.4-35.7 10.9z"]},e.mw},4374:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"quote-right",icon:[448,512,[8221,"quote-right-alt"],"f10e","M448 304c0 61.9-50.1 112-112 112H304c-8.8 0-16-7.2-16-16s7.2-16 16-16h32c44.2 0 80-35.8 80-80V279.4c-9.4 5.4-20.3 8.6-32 8.6H320c-35.3 0-64-28.7-64-64V160c0-35.3 28.7-64 64-64h64c35.3 0 64 28.7 64 64v32 32 80zM416 192V160c0-17.7-14.3-32-32-32H320c-17.7 0-32 14.3-32 32v64c0 17.7 14.3 32 32 32h64c17.7 0 32-14.3 32-32V192zM192 304c0 61.9-50.1 112-112 112H48c-8.8 0-16-7.2-16-16s7.2-16 16-16H80c44.2 0 80-35.8 80-80V279.4c-9.4 5.4-20.3 8.6-32 8.6H64c-35.3 0-64-28.7-64-64V160c0-35.3 28.7-64 64-64h64c35.3 0 64 28.7 64 64v32 32 80zM160 192V160c0-17.7-14.3-32-32-32H64c-17.7 0-32 14.3-32 32v64c0 17.7 14.3 32 32 32h64c17.7 0 32-14.3 32-32V192z"]},e.mw},1633:(t,e,i)=>{"use strict";var o=i(2273);e.mw={prefix:o.prefix,iconName:o.iconName,icon:[o.width,o.height,o.aliases,o.unicode,o.svgPathData]},e.mw,o.prefix,o.iconName,o.width,o.height,o.aliases,o.unicode,o.svgPathData,o.aliases},7148:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"right",icon:[448,512,[11157,"arrow-alt-right"],"f356","M416 253.7l0 4.6c0 4.4-1.8 8.6-5 11.6L261.2 412.5c-2.3 2.2-5.4 3.5-8.7 3.5c-6.9 0-12.6-5.6-12.6-12.6l0-83.4c0-8.8-7.2-16-16-16L48 304c-8.8 0-16-7.2-16-16l0-64c0-8.8 7.2-16 16-16l176 0c8.8 0 16-7.2 16-16l0-83.4c0-6.9 5.6-12.6 12.6-12.6c3.2 0 6.3 1.2 8.7 3.5L411 242.1c3.2 3 5 7.2 5 11.6zM252.6 448c11.4 0 22.5-4.4 30.7-12.3L433.1 293c9.5-9.1 14.9-21.6 14.9-34.8l0-4.6c0-13.1-5.4-25.7-14.9-34.8L283.3 76.3C275 68.4 264 64 252.6 64C228 64 208 84 208 108.6l0 67.4L48 176c-26.5 0-48 21.5-48 48l0 64c0 26.5 21.5 48 48 48l160 0 0 67.4c0 24.6 20 44.6 44.6 44.6z"]},e.mw},2762:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"rotate-left",icon:[512,512,["rotate-back","rotate-backward","undo-alt"],"f2ea","M94.7 360.2c-3.2-5-8.7-8.2-14.7-8.2c-12.3 0-20.3 12.8-13.7 23.2C106 438.2 176.1 480 256 480c123.7 0 224-100.3 224-224S379.7 32 256 32c-56.1 0-107.4 20.6-146.7 54.7L78.6 56c-5.1-5.1-12.1-8-19.3-8C44.2 48 32 60.2 32 75.3V176c0 8.8 7.2 16 16 16H148.7c15.1 0 27.3-12.2 27.3-27.3c0-7.2-2.9-14.2-8-19.3l-36-36C165.5 81.1 208.7 64 256 64c106 0 192 86 192 192s-86 192-192 192c-67.6 0-127.1-35-161.3-87.8zM64 86.6L137.4 160H64V86.6z"]},e.mw},5981:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"rotate-right",icon:[512,512,["redo-alt","rotate-forward"],"f2f9","M417.3 360.2c3.2-5 8.7-8.2 14.7-8.2c12.3 0 20.3 12.8 13.7 23.2C406 438.2 335.9 480 256 480C132.3 480 32 379.7 32 256S132.3 32 256 32c56.1 0 107.4 20.6 146.7 54.7L433.4 56c5.1-5.1 12.1-8 19.3-8C467.8 48 480 60.2 480 75.3V176c0 8.8-7.2 16-16 16H363.3c-15.1 0-27.3-12.2-27.3-27.3c0-7.2 2.9-14.2 8-19.3l36-36C346.5 81.1 303.3 64 256 64C150 64 64 150 64 256s86 192 192 192c67.6 0 127.1-35 161.3-87.8zM448 86.6L374.6 160H448V86.6z"]},e.mw},1769:(t,e,i)=>{"use strict";var o=i(279);e.mw={prefix:o.prefix,iconName:o.iconName,icon:[o.width,o.height,o.aliases,o.unicode,o.svgPathData]},e.mw,o.prefix,o.iconName,o.width,o.height,o.aliases,o.unicode,o.svgPathData,o.aliases},4390:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"signal-bars",icon:[640,512,["signal-alt","signal-alt-4","signal-bars-strong"],"f690","M576 464V48c0-8.8-7.2-16-16-16s-16 7.2-16 16V464c0 8.8 7.2 16 16 16s16-7.2 16-16zM512 48c0-26.5 21.5-48 48-48s48 21.5 48 48V464c0 26.5-21.5 48-48 48s-48-21.5-48-48V48zM416 176c0-8.8-7.2-16-16-16s-16 7.2-16 16V464c0 8.8 7.2 16 16 16s16-7.2 16-16V176zm-64 0c0-26.5 21.5-48 48-48s48 21.5 48 48V464c0 26.5-21.5 48-48 48s-48-21.5-48-48V176zM256 464V304c0-8.8-7.2-16-16-16s-16 7.2-16 16V464c0 8.8 7.2 16 16 16s16-7.2 16-16zM240 256c26.5 0 48 21.5 48 48V464c0 26.5-21.5 48-48 48s-48-21.5-48-48V304c0-26.5 21.5-48 48-48zM96 432c0-8.8-7.2-16-16-16s-16 7.2-16 16v32c0 8.8 7.2 16 16 16s16-7.2 16-16V432zm-64 0c0-26.5 21.5-48 48-48s48 21.5 48 48v32c0 26.5-21.5 48-48 48s-48-21.5-48-48V432z"]},e.mw},2096:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"signal-bars-fair",icon:[640,512,["signal-alt-2"],"f692","M240 288c-8.8 0-16 7.2-16 16V464c0 8.8 7.2 16 16 16s16-7.2 16-16V304c0-8.8-7.2-16-16-16zm-48 16c0-26.5 21.5-48 48-48s48 21.5 48 48V464c0 26.5-21.5 48-48 48s-48-21.5-48-48V304zM96 432c0-8.8-7.2-16-16-16s-16 7.2-16 16v32c0 8.8 7.2 16 16 16s16-7.2 16-16V432zm-64 0c0-26.5 21.5-48 48-48s48 21.5 48 48v32c0 26.5-21.5 48-48 48s-48-21.5-48-48V432z"]},e.mw},9991:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"signal-bars-good",icon:[640,512,["signal-alt-3"],"f693","M416 464c0 8.8-7.2 16-16 16s-16-7.2-16-16V176c0-8.8 7.2-16 16-16s16 7.2 16 16V464zM400 128c-26.5 0-48 21.5-48 48V464c0 26.5 21.5 48 48 48s48-21.5 48-48V176c0-26.5-21.5-48-48-48zM256 464c0 8.8-7.2 16-16 16s-16-7.2-16-16V304c0-8.8 7.2-16 16-16s16 7.2 16 16V464zM240 256c-26.5 0-48 21.5-48 48V464c0 26.5 21.5 48 48 48s48-21.5 48-48V304c0-26.5-21.5-48-48-48zM96 432v32c0 8.8-7.2 16-16 16s-16-7.2-16-16V432c0-8.8 7.2-16 16-16s16 7.2 16 16zm-64 0v32c0 26.5 21.5 48 48 48s48-21.5 48-48V432c0-26.5-21.5-48-48-48s-48 21.5-48 48z"]},e.mw},7106:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"signal-bars-weak",icon:[640,512,["signal-alt-1"],"f691","M96 464c0 8.8-7.2 16-16 16s-16-7.2-16-16V432c0-8.8 7.2-16 16-16s16 7.2 16 16v32zM80 384c-26.5 0-48 21.5-48 48v32c0 26.5 21.5 48 48 48s48-21.5 48-48V432c0-26.5-21.5-48-48-48z"]},e.mw},1519:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"spinner",icon:[512,512,[],"f110","M256 64a16 16 0 1 0 0-32 16 16 0 1 0 0 32zm0-64a48 48 0 1 1 0 96 48 48 0 1 1 0-96zm0 480a16 16 0 1 0 0-32 16 16 0 1 0 0 32zm0-64a48 48 0 1 1 0 96 48 48 0 1 1 0-96zM64 256a16 16 0 1 0 -32 0 16 16 0 1 0 32 0zM0 256a48 48 0 1 1 96 0A48 48 0 1 1 0 256zm464 16a16 16 0 1 0 0-32 16 16 0 1 0 0 32zm0-64a48 48 0 1 1 0 96 48 48 0 1 1 0-96zM120.2 391.8A16 16 0 1 0 97.6 414.4a16 16 0 1 0 22.6-22.6zM75 437a48 48 0 1 1 67.9-67.9A48 48 0 1 1 75 437zM97.6 120.2a16 16 0 1 0 22.6-22.6A16 16 0 1 0 97.6 120.2zM142.9 75A48 48 0 1 1 75 142.9 48 48 0 1 1 142.9 75zM414.4 414.4a16 16 0 1 0 -22.6-22.6 16 16 0 1 0 22.6 22.6zm-45.3-45.3A48 48 0 1 1 437 437a48 48 0 1 1 -67.9-67.9z"]},e.mw},2803:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"square",icon:[448,512,[9632,9723,9724,61590],"f0c8","M384 64c17.7 0 32 14.3 32 32V416c0 17.7-14.3 32-32 32H64c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32H384zM64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64z"]},e.mw},9100:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"square-1",icon:[448,512,[],"e256","M384 64c17.7 0 32 14.3 32 32V416c0 17.7-14.3 32-32 32H64c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32H384zM64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm168 98.2c-4.9-2.9-11-2.9-16-.1l-56 32c-7.7 4.4-10.3 14.2-6 21.8s14.2 10.3 21.8 6L208 171.6V352H160c-8.8 0-16 7.2-16 16s7.2 16 16 16h64 64c8.8 0 16-7.2 16-16s-7.2-16-16-16H240V144c0-5.7-3-11-8-13.8z"]},e.mw},7381:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"square-2",icon:[448,512,[],"e257","M64 64C46.3 64 32 78.3 32 96V416c0 17.7 14.3 32 32 32H384c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32H64zM0 96C0 60.7 28.7 32 64 32H384c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96zm185 78.4L171 187.7c-6.4 6.1-16.6 5.7-22.6-.7s-5.7-16.6 .7-22.6l14.1-13.2c15.8-14.9 36.8-23 58.5-22.7C267.3 129 304 166.3 304 212c0 22.2-8.8 43.4-24.5 59.1L198.6 352H304c8.8 0 16 7.2 16 16s-7.2 16-16 16H160c-6.5 0-12.3-3.9-14.8-9.9s-1.1-12.9 3.5-17.4L256.9 248.5c9.7-9.7 15.1-22.8 15.1-36.5c0-28.2-22.7-51.2-50.9-51.6c-13.4-.2-26.3 4.8-36.1 14z"]},e.mw},9190:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"square-3",icon:[448,512,[],"e258","M64 64C46.3 64 32 78.3 32 96V416c0 17.7 14.3 32 32 32H384c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32H64zM0 96C0 60.7 28.7 32 64 32H384c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96zm144 32H288c6.7 0 12.7 4.2 15 10.4s.5 13.3-4.6 17.7l-78.9 67.6 19.9-.1c44.4-.2 80.6 35.7 80.6 80.2c0 44.3-35.9 80.2-80.2 80.2h-36c-27.6 0-53.5-13-70.1-35l-2.5-3.4c-5.3-7.1-3.9-17.1 3.2-22.4s17.1-3.9 22.4 3.2l2.5 3.4c10.5 14 27 22.2 44.5 22.2h36c26.6 0 48.2-21.6 48.2-48.2c0-26.7-21.7-48.3-48.4-48.2l-63.5 .3c-6.7 0-12.7-4.1-15.1-10.4s-.5-13.4 4.6-17.7L244.7 160H144c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]},e.mw},4071:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"square-4",icon:[448,512,[],"e259","M384 64c17.7 0 32 14.3 32 32V416c0 17.7-14.3 32-32 32H64c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32H384zM64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm133.9 97.1c-8.2-3.3-17.5 .7-20.8 8.9l-64 160c-2 4.9-1.4 10.5 1.6 14.9s7.9 7 13.2 7H256v48c0 8.8 7.2 16 16 16s16-7.2 16-16V320h16c8.8 0 16-7.2 16-16s-7.2-16-16-16H288V208c0-8.8-7.2-16-16-16s-16 7.2-16 16v80H151.6l55.2-138.1c3.3-8.2-.7-17.5-8.9-20.8z"]},e.mw},8e3:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"square-5",icon:[448,512,[],"e25a","M64 64C46.3 64 32 78.3 32 96V416c0 17.7 14.3 32 32 32H384c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32H64zM0 96C0 60.7 28.7 32 64 32H384c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96zm176 32H288c8.8 0 16 7.2 16 16s-7.2 16-16 16H188.5L172 225.9l80.4 8.1c38.4 3.9 67.6 36.2 67.6 74.8c0 41.5-33.7 75.2-75.2 75.2h-44c-27.4 0-53-13.7-68.3-36.4l-1.8-2.7c-4.9-7.3-3-17.3 4.4-22.2s17.3-3 22.2 4.4l1.8 2.7c9.3 13.9 25 22.3 41.8 22.3h44c23.8 0 43.2-19.3 43.2-43.2c0-22.2-16.8-40.7-38.8-42.9l-98.8-10c-4.6-.5-8.8-2.9-11.5-6.7s-3.6-8.6-2.4-13.1l24-96c1.8-7.1 8.2-12.1 15.5-12.1z"]},e.mw},4633:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"square-6",icon:[448,512,[],"e25b","M384 64c17.7 0 32 14.3 32 32V416c0 17.7-14.3 32-32 32H64c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32H384zM64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zM224 224a64 64 0 1 1 0 128 64 64 0 1 1 0-128zm-96 64c0 53 43 96 96 96s96-43 96-96c0-51.8-41-94-92.3-95.9l39.1-36.3c6.5-6 6.9-16.1 .8-22.6s-16.1-6.9-22.6-.8l-82.7 76.8c-22 20.4-34.4 49-34.4 78.9z"]},e.mw},875:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"square-check",icon:[448,512,[9745,9989,61510,"check-square"],"f14a","M64 64C46.3 64 32 78.3 32 96V416c0 17.7 14.3 32 32 32H384c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32H64zM0 96C0 60.7 28.7 32 64 32H384c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96zM331.3 203.3l-128 128c-6.2 6.2-16.4 6.2-22.6 0l-64-64c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0L192 297.4 308.7 180.7c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6z"]},e.mw},9595:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"square-minus",icon:[448,512,[61767,"minus-square"],"f146","M64 64C46.3 64 32 78.3 32 96V416c0 17.7 14.3 32 32 32H384c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32H64zM0 96C0 60.7 28.7 32 64 32H384c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96zM128 240H320c8.8 0 16 7.2 16 16s-7.2 16-16 16H128c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]},e.mw},1330:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"square-o",icon:[448,512,[],"e278","M64 64C46.3 64 32 78.3 32 96V416c0 17.7 14.3 32 32 32H384c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32H64zM0 96C0 60.7 28.7 32 64 32H384c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96zM128 256a96 96 0 1 0 192 0 96 96 0 1 0 -192 0zm96 128a128 128 0 1 1 0-256 128 128 0 1 1 0 256z"]},e.mw},3894:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"square-xmark",icon:[448,512,[10062,"times-square","xmark-square"],"f2d3","M64 64C46.3 64 32 78.3 32 96V416c0 17.7 14.3 32 32 32H384c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32H64zM0 96C0 60.7 28.7 32 64 32H384c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96zm148.7 84.7c6.2-6.2 16.4-6.2 22.6 0L224 233.4l52.7-52.7c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6L246.6 256l52.7 52.7c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0L224 278.6l-52.7 52.7c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6L201.4 256l-52.7-52.7c-6.2-6.2-6.2-16.4 0-22.6z"]},e.mw},9396:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"star",icon:[576,512,[11088,61446],"f005","M226.5 168.8L287.9 42.3l61.4 126.5c4.6 9.5 13.6 16.1 24.1 17.7l137.4 20.3-99.8 98.8c-7.4 7.3-10.8 17.8-9 28.1l23.5 139.5L303 407.7c-9.4-5-20.7-5-30.2 0L150.2 473.2l23.5-139.5c1.7-10.3-1.6-20.7-9-28.1L65 206.8l137.4-20.3c10.5-1.5 19.5-8.2 24.1-17.7zM424.9 509.1c8.1 4.3 17.9 3.7 25.3-1.7s11.2-14.5 9.7-23.5L433.6 328.4 544.8 218.2c6.5-6.4 8.7-15.9 5.9-24.5s-10.3-14.9-19.3-16.3L378.1 154.8 309.5 13.5C305.5 5.2 297.1 0 287.9 0s-17.6 5.2-21.6 13.5L197.7 154.8 44.5 177.5c-9 1.3-16.5 7.6-19.3 16.3s-.5 18.1 5.9 24.5L142.2 328.4 116 483.9c-1.5 9 2.2 18.1 9.7 23.5s17.3 6 25.3 1.7l137-73.2 137 73.2z"]},e.mw},7673:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"star-half-stroke",icon:[640,512,["star-half-alt"],"f5c0","M234.4 186.5L97 206.8l99.8 98.8c7.4 7.3 10.8 17.8 9 28.1L182.2 473.2 304 408.1V75.1l-45.5 93.7c-4.6 9.5-13.6 16.1-24.1 17.7zM336 408.2l121.6 65L434.1 333.7c-1.7-10.3 1.6-20.7 9-28.1l99.8-98.8L405.4 186.5c-10.5-1.5-19.5-8.2-24.1-17.7L336 75.4V408.2zm146.2 99.2c-7.4 5.3-17.3 6-25.3 1.7l-137-73.2L183 509.1c-8.1 4.3-17.9 3.7-25.3-1.7s-11.2-14.5-9.7-23.5l26.2-155.6L63.1 218.2c-6.5-6.4-8.7-15.9-5.9-24.5s10.3-14.9 19.3-16.3l153.2-22.6L298.3 13.5C302.4 5.2 310.7 0 319.9 0s17.6 5.2 21.6 13.5l68.6 141.3 153.2 22.6c9 1.3 16.5 7.6 19.3 16.3s.5 18.1-5.9 24.5L465.6 328.4l26.2 155.6c1.5 9-2.2 18.1-9.7 23.5z"]},e.mw},8249:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"strikethrough",icon:[512,512,[],"f0cc","M129.7 132c4.8-25.9 22-44.8 49.7-56.2c28.3-11.7 67-15 111-8.4c13.8 2.1 56.1 10 69.7 13.5c8.6 2.2 17.3-3 19.5-11.5s-3-17.3-11.5-19.5c-15.1-3.9-58.6-12-72.9-14.1c-47.7-7.2-92.7-4.1-127.9 10.5c-35.7 14.7-62.1 41.6-69.1 80.6c-.1 .3-.1 .6-.1 .9c-2.8 22.9 .6 42.7 9.5 59.7c8.8 16.8 22.4 29.6 37.9 39.8c18.7 12.2 41.6 21.2 65.2 28.9H16c-8.8 0-16 7.2-16 16s7.2 16 16 16H496c8.8 0 16-7.2 16-16s-7.2-16-16-16H319.4c-18.1-6.6-37-12.1-55.3-17.3l-1.2-.3c-39-11.2-74.8-21.6-100.2-38.1c-12.5-8.1-21.5-17.2-27.1-27.8c-5.4-10.4-8.1-23.3-6.1-40.5zM379 336.8c4.7 10.8 6.6 24.5 3.4 42.7c-4.7 26.1-21.9 45.2-49.8 56.6c-28.3 11.7-66.9 15-110.9 8.4c-22.1-3.5-59.5-15.7-88-25.1l0 0 0 0c-6.1-2-11.8-3.9-16.8-5.5c-8.4-2.7-17.4 1.9-20.1 10.4s1.9 17.4 10.4 20.1c4.4 1.4 9.6 3.1 15.3 5c28.3 9.3 69.3 22.8 94.4 26.7l.1 0c47.7 7.2 92.7 4.1 127.9-10.5c35.7-14.7 62.1-41.6 69.1-80.6c4.2-23.3 2.2-43.7-5.6-61.3c-.6-1.3-1.2-2.7-1.9-4H367.7c4.9 5.2 8.6 10.8 11.3 16.8z"]},e.mw},2214:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"table",icon:[512,512,[],"f0ce","M64 64C46.3 64 32 78.3 32 96l0 64 448 0V96c0-17.7-14.3-32-32-32L64 64zM32 192l0 112 208 0 0-112L32 192zm240 0l0 112H480l0-112-208 0zM240 336L32 336l0 80c0 17.7 14.3 32 32 32l176 0V336zm32 112H448c17.7 0 32-14.3 32-32V336H272V448zM0 96C0 60.7 28.7 32 64 32l384 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96z"]},e.mw},6069:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"table-cells",icon:[512,512,["th"],"f00a","M352 64v96H480V96c0-17.7-14.3-32-32-32H352zm-32 0H192v96H320V64zM160 64H64C46.3 64 32 78.3 32 96v64H160V64zM32 192V320H160V192H32zm0 160v64c0 17.7 14.3 32 32 32h96V352H32zm160 96H320V352H192v96zm160 0h96c17.7 0 32-14.3 32-32V352H352v96zM480 320V192H352V320H480zM0 96C0 60.7 28.7 32 64 32H448c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96zM192 320H320V192H192V320z"]},e.mw},9779:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"table-columns",icon:[512,512,["columns"],"f0db","M448 64c17.7 0 32 14.3 32 32v64L32 160l0-64c0-17.7 14.3-32 32-32l384 0zM32 416l0-224 208 0 0 256L64 448c-17.7 0-32-14.3-32-32zm240 32l0-256 208 0 0 224c0 17.7-14.3 32-32 32H272zM64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32z"]},e.mw},1879:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"table-rows",icon:[512,512,["rows"],"e292","M32 96c0-17.7 14.3-32 32-32l64 0 0 176 0 32 0 176-64 0c-17.7 0-32-14.3-32-32L32 96zM160 272l320 0 0 144c0 17.7-14.3 32-32 32l-288 0 0-176zm320-32l-320 0 0-176 288 0c17.7 0 32 14.3 32 32l0 144zM0 416c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32C28.7 32 0 60.7 0 96L0 416z"]},e.mw},3987:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"text",icon:[448,512,[],"f893","M0 64C0 46.3 14.3 32 32 32H416c17.7 0 32 14.3 32 32v48c0 8.8-7.2 16-16 16s-16-7.2-16-16V64H240l0 384h64c8.8 0 16 7.2 16 16s-7.2 16-16 16H144c-8.8 0-16-7.2-16-16s7.2-16 16-16h64l0-384H32v48c0 8.8-7.2 16-16 16s-16-7.2-16-16V64z"]},e.mw},7047:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"text-width",icon:[448,512,[],"f035","M32 32C14.3 32 0 46.3 0 64v64c0 8.8 7.2 16 16 16s16-7.2 16-16V64H208l0 192H160c-8.8 0-16 7.2-16 16s7.2 16 16 16H288c8.8 0 16-7.2 16-16s-7.2-16-16-16H240l0-192H416v64c0 8.8 7.2 16 16 16s16-7.2 16-16V64c0-17.7-14.3-32-32-32H32zM4.7 372.7c-6.2 6.2-6.2 16.4 0 22.6l80 80c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L54.6 400H393.4l-52.7 52.7c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l80-80c6.2-6.2 6.2-16.4 0-22.6l-80-80c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6L393.4 368H54.6l52.7-52.7c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0l-80 80z"]},e.mw},5196:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"trash",icon:[448,512,[],"f1f8","M177.7 32h92.5c5.5 0 10.6 2.8 13.6 7.5L299.1 64H148.9l15.3-24.5c2.9-4.7 8.1-7.5 13.6-7.5zM336.9 64L311 22.6C302.2 8.5 286.8 0 270.3 0H177.7C161.2 0 145.8 8.5 137 22.6L111.1 64H64.1 32 16C7.2 64 0 71.2 0 80s7.2 16 16 16H34.3L59.8 452.6C62.1 486.1 90 512 123.6 512H324.4c33.6 0 61.4-25.9 63.8-59.4L413.7 96H432c8.8 0 16-7.2 16-16s-7.2-16-16-16H416 383.9 336.9zm44.8 32L356.3 450.3C355.1 467 341.2 480 324.4 480H123.6c-16.8 0-30.7-13-31.9-29.7L66.4 96H381.6z"]},e.mw},1684:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"tree",icon:[448,512,[127794],"f1bb","M235.3 4.7c-6.2-6.2-16.4-6.2-22.6 0L72 145.4c-5.1 5.1-8 12.1-8 19.3C64 179.8 76.2 192 91.3 192h17.9L38.7 274.3c-4.3 5-6.7 11.4-6.7 18C32 307.6 44.4 320 59.7 320H77.2L6.7 402.3c-4.3 5-6.7 11.4-6.7 18C0 435.6 12.4 448 27.7 448H160h48v48c0 8.8 7.2 16 16 16s16-7.2 16-16V448h48H420.3c15.3 0 27.7-12.4 27.7-27.7c0-6.6-2.4-13-6.7-18L370.8 320h17.5c15.3 0 27.7-12.4 27.7-27.7c0-6.6-2.4-13-6.7-18L338.8 192h17.9c15.1 0 27.3-12.2 27.3-27.3c0-7.2-2.9-14.2-8-19.3L235.3 4.7zM240 416V208c0-8.8-7.2-16-16-16s-16 7.2-16 16V416H160 37.1l87.1-101.6c4.1-4.7 5-11.4 2.4-17.1s-8.3-9.3-14.5-9.3H69.1l87.1-101.6c4.1-4.7 5-11.4 2.4-17.1s-8.3-9.3-14.5-9.3H102.6L224 38.6 345.4 160H304c-6.2 0-11.9 3.6-14.5 9.3s-1.7 12.4 2.4 17.1L378.9 288H336c-6.2 0-11.9 3.6-14.5 9.3s-1.7 12.4 2.4 17.1L410.9 416H288 240z"]},e.mw},2596:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"triangle",icon:[512,512,[9650],"f2ec","M235.5 75.8c4.2-7.3 12-11.8 20.5-11.8s16.2 4.5 20.5 11.8l201 344.6c1.6 2.8 2.5 6 2.5 9.3c0 10.2-8.2 18.4-18.4 18.4H50.4C40.2 448 32 439.8 32 429.6c0-3.3 .9-6.4 2.5-9.3l201-344.6zM207.9 59.6L6.9 404.2C2.4 411.9 0 420.7 0 429.6C0 457.4 22.6 480 50.4 480H461.6c27.8 0 50.4-22.6 50.4-50.4c0-8.9-2.4-17.7-6.9-25.4L304.1 59.6C294.1 42.5 275.8 32 256 32s-38.1 10.5-48.1 27.6z"]},e.mw},822:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"underline",icon:[448,512,[],"f0cd","M0 48c0-8.8 7.2-16 16-16H144c8.8 0 16 7.2 16 16s-7.2 16-16 16H96V224c0 70.7 57.3 128 128 128s128-57.3 128-128V64H304c-8.8 0-16-7.2-16-16s7.2-16 16-16H432c8.8 0 16 7.2 16 16s-7.2 16-16 16H384V224c0 88.4-71.6 160-160 160s-160-71.6-160-160V64H16C7.2 64 0 56.8 0 48zM0 464c0-8.8 7.2-16 16-16H432c8.8 0 16 7.2 16 16s-7.2 16-16 16H16c-8.8 0-16-7.2-16-16z"]},e.mw},7721:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"up",icon:[384,512,["arrow-alt-up"],"f357","M189.7 64h4.6c4.4 0 8.6 1.8 11.6 5L348.5 218.8c2.2 2.3 3.5 5.4 3.5 8.7c0 6.9-5.6 12.6-12.6 12.6H256c-8.8 0-16 7.2-16 16V432c0 8.8-7.2 16-16 16H160c-8.8 0-16-7.2-16-16V256c0-8.8-7.2-16-16-16H44.6c-6.9 0-12.6-5.6-12.6-12.6c0-3.2 1.2-6.3 3.5-8.7L178.1 69c3-3.2 7.2-5 11.6-5zM384 227.4c0-11.4-4.4-22.5-12.3-30.7L229 46.9C220 37.4 207.4 32 194.3 32h-4.6C176.6 32 164 37.4 155 46.9L12.3 196.7C4.4 205 0 216 0 227.4C0 252 20 272 44.6 272H112V432c0 26.5 21.5 48 48 48h64c26.5 0 48-21.5 48-48V272h67.4c24.6 0 44.6-20 44.6-44.6z"]},e.mw},1187:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"up-right",icon:[384,512,[],"e2be","M312 128c4.4 0 8 3.6 8 8V337.4c0 3.7-3 6.6-6.6 6.6c-1.8 0-3.4-.7-4.7-1.9l-61.4-61.4c-6.2-6.2-16.4-6.2-22.6 0L112 393.4c-4.2 4.2-10 6.6-16 6.6s-11.8-2.4-16-6.6L54.6 368c-4.2-4.2-6.6-10-6.6-16s2.4-11.8 6.6-16L167.3 223.3c3-3 4.7-7.1 4.7-11.3s-1.7-8.3-4.7-11.3l-61.4-61.4c-1.2-1.2-1.9-2.9-1.9-4.7c0-3.7 3-6.6 6.6-6.6H312zm40 8c0-22.1-17.9-40-40-40H110.6C89.3 96 72 113.3 72 134.6c0 10.2 4.1 20.1 11.3 27.3L133.4 212 32 313.4C21.8 323.6 16 337.5 16 352s5.8 28.4 16 38.6L57.4 416c10.2 10.2 24.1 16 38.6 16s28.4-5.8 38.6-16L236 314.6l50.1 50.1c7.2 7.2 17.1 11.3 27.3 11.3c21.3 0 38.6-17.3 38.6-38.6V136z"]},e.mw},8497:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"upload",icon:[512,512,[],"f093","M272 54.6V368c0 8.8-7.2 16-16 16s-16-7.2-16-16V54.6L139.3 155.3c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6l128-128c6.2-6.2 16.4-6.2 22.6 0l128 128c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0L272 54.6zM208 352H64c-17.7 0-32 14.3-32 32v64c0 17.7 14.3 32 32 32H448c17.7 0 32-14.3 32-32V384c0-17.7-14.3-32-32-32H304V320H448c35.3 0 64 28.7 64 64v64c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V384c0-35.3 28.7-64 64-64H208v32zm176 64a24 24 0 1 1 48 0 24 24 0 1 1 -48 0z"]},e.mw},5211:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M324.5 411.1c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L214.6 256 347.1 123.5c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L192 233.4 59.5 100.9c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6L169.4 256 36.9 388.5c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L192 278.6 324.5 411.1z"]},e.mw},8113:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"align-center",icon:[448,512,[],"f037","M352 64c0-17.7-14.3-32-32-32H128c-17.7 0-32 14.3-32 32s14.3 32 32 32H320c17.7 0 32-14.3 32-32zm96 128c0-17.7-14.3-32-32-32H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H416c17.7 0 32-14.3 32-32zM0 448c0 17.7 14.3 32 32 32H416c17.7 0 32-14.3 32-32s-14.3-32-32-32H32c-17.7 0-32 14.3-32 32zM352 320c0-17.7-14.3-32-32-32H128c-17.7 0-32 14.3-32 32s14.3 32 32 32H320c17.7 0 32-14.3 32-32z"]},e.mw},1821:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"align-left",icon:[448,512,[],"f036","M288 64c0 17.7-14.3 32-32 32H32C14.3 96 0 81.7 0 64S14.3 32 32 32H256c17.7 0 32 14.3 32 32zm0 256c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H256c17.7 0 32 14.3 32 32zM0 192c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 448c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z"]},e.mw},7212:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"align-right",icon:[448,512,[],"f038","M448 64c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32zm0 256c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32zM0 192c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 448c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z"]},e.mw},930:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"angle-down",icon:[448,512,[8964],"f107","M201.4 342.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 274.7 86.6 137.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"]},e.mw},9723:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"angle-up",icon:[448,512,[8963],"f106","M201.4 137.4c12.5-12.5 32.8-12.5 45.3 0l160 160c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L224 205.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l160-160z"]},e.mw},536:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"arrow-down",icon:[384,512,[8595],"f063","M169.4 470.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 370.8 224 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 306.7L54.6 265.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"]},e.mw},1673:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"arrow-left",icon:[448,512,[8592],"f060","M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.2 288 416 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-306.7 0L214.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"]},e.mw},8736:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"arrow-right",icon:[448,512,[8594],"f061","M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z"]},e.mw},9511:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"arrow-turn-down",icon:[384,512,["level-down"],"f149","M32 64C14.3 64 0 49.7 0 32S14.3 0 32 0l96 0c53 0 96 43 96 96l0 306.7 73.4-73.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3l-128 128c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 402.7 160 96c0-17.7-14.3-32-32-32L32 64z"]},e.mw},5757:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"arrow-up",icon:[384,512,[8593],"f062","M214.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 141.2V448c0 17.7 14.3 32 32 32s32-14.3 32-32V141.2L329.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z"]},e.mw},6728:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i="arrows-rotate",o=[128472,"refresh","sync"],n="f021",r="M105.1 202.6c7.7-21.8 20.2-42.3 37.8-59.8c62.5-62.5 163.8-62.5 226.3 0L386.3 160H336c-17.7 0-32 14.3-32 32s14.3 32 32 32H463.5c0 0 0 0 0 0h.4c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32s-32 14.3-32 32v51.2L414.4 97.6c-87.5-87.5-229.3-87.5-316.8 0C73.2 122 55.6 150.7 44.8 181.4c-5.9 16.7 2.9 34.9 19.5 40.8s34.9-2.9 40.8-19.5zM39 289.3c-5 1.5-9.8 4.2-13.7 8.2c-4 4-6.7 8.8-8.1 14c-.3 1.2-.6 2.5-.8 3.8c-.3 1.7-.4 3.4-.4 5.1V448c0 17.7 14.3 32 32 32s32-14.3 32-32V396.9l17.6 17.5 0 0c87.5 87.4 229.3 87.4 316.7 0c24.4-24.4 42.1-53.1 52.9-83.7c5.9-16.7-2.9-34.9-19.5-40.8s-34.9 2.9-40.8 19.5c-7.7 21.8-20.2 42.3-37.8 59.8c-62.5 62.5-163.8 62.5-226.3 0l-.1-.1L125.6 352H176c17.7 0 32-14.3 32-32s-14.3-32-32-32H48.4c-1.6 0-3.2 .1-4.8 .3s-3.1 .5-4.6 1z";e.definition={prefix:"fas",iconName:i,icon:[512,512,o,n,r]},e.faArrowsRotate=e.definition,e.prefix="fas",e.iconName=i,e.width=512,e.height=512,e.ligatures=o,e.unicode=n,e.svgPathData=r,e.aliases=o},5927:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"arrows-to-dot",icon:[512,512,[],"e4be","M256 0c17.7 0 32 14.3 32 32V64h32c12.9 0 24.6 7.8 29.6 19.8s2.2 25.7-6.9 34.9l-64 64c-12.5 12.5-32.8 12.5-45.3 0l-64-64c-9.2-9.2-11.9-22.9-6.9-34.9s16.6-19.8 29.6-19.8h32V32c0-17.7 14.3-32 32-32zM169.4 393.4l64-64c12.5-12.5 32.8-12.5 45.3 0l64 64c9.2 9.2 11.9 22.9 6.9 34.9s-16.6 19.8-29.6 19.8H288v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V448H192c-12.9 0-24.6-7.8-29.6-19.8s-2.2-25.7 6.9-34.9zM32 224H64V192c0-12.9 7.8-24.6 19.8-29.6s25.7-2.2 34.9 6.9l64 64c12.5 12.5 12.5 32.8 0 45.3l-64 64c-9.2 9.2-22.9 11.9-34.9 6.9s-19.8-16.6-19.8-29.6V288H32c-17.7 0-32-14.3-32-32s14.3-32 32-32zm297.4 54.6c-12.5-12.5-12.5-32.8 0-45.3l64-64c9.2-9.2 22.9-11.9 34.9-6.9s19.8 16.6 19.8 29.6v32h32c17.7 0 32 14.3 32 32s-14.3 32-32 32H448v32c0 12.9-7.8 24.6-19.8 29.6s-25.7 2.2-34.9-6.9l-64-64zM256 224a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},e.mw},9231:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"bars",icon:[448,512,["navicon"],"f0c9","M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z"]},e.mw},8542:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"bold",icon:[384,512,[],"f032","M0 64C0 46.3 14.3 32 32 32H80 96 224c70.7 0 128 57.3 128 128c0 31.3-11.3 60.1-30 82.3c37.1 22.4 62 63.1 62 109.7c0 70.7-57.3 128-128 128H96 80 32c-17.7 0-32-14.3-32-32s14.3-32 32-32H48V256 96H32C14.3 96 0 81.7 0 64zM224 224c35.3 0 64-28.7 64-64s-28.7-64-64-64H112V224H224zM112 288V416H256c35.3 0 64-28.7 64-64s-28.7-64-64-64H224 112z"]},e.mw},2356:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"book",icon:[448,512,[128212],"f02d","M96 0C43 0 0 43 0 96V416c0 53 43 96 96 96H384h32c17.7 0 32-14.3 32-32s-14.3-32-32-32V384c17.7 0 32-14.3 32-32V32c0-17.7-14.3-32-32-32H384 96zm0 384H352v64H96c-17.7 0-32-14.3-32-32s14.3-32 32-32zm32-240c0-8.8 7.2-16 16-16H336c8.8 0 16 7.2 16 16s-7.2 16-16 16H144c-8.8 0-16-7.2-16-16zm16 48H336c8.8 0 16 7.2 16 16s-7.2 16-16 16H144c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]},e.mw},4505:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"building",icon:[384,512,[127970,61687],"f1ad","M48 0C21.5 0 0 21.5 0 48V464c0 26.5 21.5 48 48 48h96V432c0-26.5 21.5-48 48-48s48 21.5 48 48v80h96c26.5 0 48-21.5 48-48V48c0-26.5-21.5-48-48-48H48zM64 240c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V240zm112-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H176c-8.8 0-16-7.2-16-16V240c0-8.8 7.2-16 16-16zm80 16c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H272c-8.8 0-16-7.2-16-16V240zM80 96h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V112c0-8.8 7.2-16 16-16zm80 16c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H176c-8.8 0-16-7.2-16-16V112zM272 96h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H272c-8.8 0-16-7.2-16-16V112c0-8.8 7.2-16 16-16z"]},e.mw},4582:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"caret-down",icon:[320,512,[],"f0d7","M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z"]},e.mw},6127:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"caret-left",icon:[256,512,[],"f0d9","M9.4 278.6c-12.5-12.5-12.5-32.8 0-45.3l128-128c9.2-9.2 22.9-11.9 34.9-6.9s19.8 16.6 19.8 29.6l0 256c0 12.9-7.8 24.6-19.8 29.6s-25.7 2.2-34.9-6.9l-128-128z"]},e.mw},8238:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"caret-right",icon:[256,512,[],"f0da","M246.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-128-128c-9.2-9.2-22.9-11.9-34.9-6.9s-19.8 16.6-19.8 29.6l0 256c0 12.9 7.8 24.6 19.8 29.6s25.7 2.2 34.9-6.9l128-128z"]},e.mw},6343:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"caret-up",icon:[320,512,[],"f0d8","M182.6 137.4c-12.5-12.5-32.8-12.5-45.3 0l-128 128c-9.2 9.2-11.9 22.9-6.9 34.9s16.6 19.8 29.6 19.8H288c12.9 0 24.6-7.8 29.6-19.8s2.2-25.7-6.9-34.9l-128-128z"]},e.mw},5236:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"chart-bar",icon:[512,512,["bar-chart"],"f080","M32 32c17.7 0 32 14.3 32 32V400c0 8.8 7.2 16 16 16H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H80c-44.2 0-80-35.8-80-80V64C0 46.3 14.3 32 32 32zm96 96c0-17.7 14.3-32 32-32l192 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-192 0c-17.7 0-32-14.3-32-32zm32 64H288c17.7 0 32 14.3 32 32s-14.3 32-32 32H160c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 96H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H160c-17.7 0-32-14.3-32-32s14.3-32 32-32z"]},e.mw},6363:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"chart-column",icon:[512,512,[],"e0e3","M32 32c17.7 0 32 14.3 32 32V400c0 8.8 7.2 16 16 16H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H80c-44.2 0-80-35.8-80-80V64C0 46.3 14.3 32 32 32zM160 224c17.7 0 32 14.3 32 32v64c0 17.7-14.3 32-32 32s-32-14.3-32-32V256c0-17.7 14.3-32 32-32zm128-64V320c0 17.7-14.3 32-32 32s-32-14.3-32-32V160c0-17.7 14.3-32 32-32s32 14.3 32 32zm64 32c17.7 0 32 14.3 32 32v96c0 17.7-14.3 32-32 32s-32-14.3-32-32V224c0-17.7 14.3-32 32-32zM480 96V320c0 17.7-14.3 32-32 32s-32-14.3-32-32V96c0-17.7 14.3-32 32-32s32 14.3 32 32z"]},e.mw},3499:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"chart-line",icon:[512,512,["line-chart"],"f201","M64 64c0-17.7-14.3-32-32-32S0 46.3 0 64V400c0 44.2 35.8 80 80 80H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H80c-8.8 0-16-7.2-16-16V64zm406.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L320 210.7l-57.4-57.4c-12.5-12.5-32.8-12.5-45.3 0l-112 112c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L240 221.3l57.4 57.4c12.5 12.5 32.8 12.5 45.3 0l128-128z"]},e.mw},3811:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"chart-pie",icon:[576,512,["pie-chart"],"f200","M304 240V16.6c0-9 7-16.6 16-16.6C443.7 0 544 100.3 544 224c0 9-7.6 16-16.6 16H304zM32 272C32 150.7 122.1 50.3 239 34.3c9.2-1.3 17 6.1 17 15.4V288L412.5 444.5c6.7 6.7 6.2 17.7-1.5 23.1C371.8 495.6 323.8 512 272 512C139.5 512 32 404.6 32 272zm526.4 16c9.3 0 16.6 7.8 15.4 17c-7.7 55.9-34.6 105.6-73.9 142.3c-6 5.6-15.4 5.2-21.2-.7L320 288H558.4z"]},e.mw},4331:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"chart-simple",icon:[448,512,[],"e473","M160 80c0-26.5 21.5-48 48-48h32c26.5 0 48 21.5 48 48V432c0 26.5-21.5 48-48 48H208c-26.5 0-48-21.5-48-48V80zM0 272c0-26.5 21.5-48 48-48H80c26.5 0 48 21.5 48 48V432c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V272zM368 96h32c26.5 0 48 21.5 48 48V432c0 26.5-21.5 48-48 48H368c-26.5 0-48-21.5-48-48V144c0-26.5 21.5-48 48-48z"]},e.mw},789:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"check",icon:[448,512,[10003,10004],"f00c","M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"]},e.mw},8022:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"chevron-down",icon:[512,512,[],"f078","M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"]},e.mw},127:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"chevron-left",icon:[320,512,[9001],"f053","M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 246.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z"]},e.mw},6158:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"chevron-right",icon:[320,512,[9002],"f054","M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"]},e.mw},2439:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"chevron-up",icon:[512,512,[],"f077","M233.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 173.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z"]},e.mw},5037:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle",icon:[512,512,[128308,128309,128992,128993,128994,128995,128996,9679,9898,9899,11044,61708,61915],"f111","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512z"]},e.mw},7005:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-check",icon:[512,512,[61533,"check-circle"],"f058","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]},e.mw},1504:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-exclamation",icon:[512,512,["exclamation-circle"],"f06a","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c13.3 0 24 10.7 24 24V264c0 13.3-10.7 24-24 24s-24-10.7-24-24V152c0-13.3 10.7-24 24-24zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"]},e.mw},7436:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-half-stroke",icon:[512,512,[9680,"adjust"],"f042","M448 256c0-106-86-192-192-192V448c106 0 192-86 192-192zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z"]},e.mw},9517:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},e.mw},499:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-play",icon:[512,512,[61469,"play-circle"],"f144","M0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zM188.3 147.1c-7.6 4.2-12.3 12.3-12.3 20.9V344c0 8.7 4.7 16.7 12.3 20.9s16.8 4.1 24.3-.5l144-88c7.1-4.4 11.5-12.1 11.5-20.5s-4.4-16.1-11.5-20.5l-144-88c-7.4-4.5-16.7-4.7-24.3-.5z"]},e.mw},4201:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-quarter-stroke",icon:[512,512,[],"e5d3","M64 256l160 0c17.7 0 32-14.3 32-32l0-160c106 0 192 86 192 192s-86 192-192 192S64 362 64 256zM0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256z"]},e.mw},1261:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-question",icon:[512,512,[62108,"question-circle"],"f059","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM169.8 165.3c7.9-22.3 29.1-37.3 52.8-37.3h58.3c34.9 0 63.1 28.3 63.1 63.1c0 22.6-12.1 43.5-31.7 54.8L280 264.4c-.2 13-10.9 23.6-24 23.6c-13.3 0-24-10.7-24-24V250.5c0-8.6 4.6-16.5 12.1-20.8l44.3-25.4c4.7-2.7 7.6-7.7 7.6-13.1c0-8.4-6.8-15.1-15.1-15.1H222.6c-3.4 0-6.4 2.1-7.5 5.3l-.4 1.2c-4.4 12.5-18.2 19-30.6 14.6s-19-18.2-14.6-30.6l.4-1.2zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"]},e.mw},9626:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-radiation",icon:[512,512,[9762,"radiation-alt"],"f7ba","M256 64a192 192 0 1 1 0 384 192 192 0 1 1 0-384zm0 448A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM200 256c0-20.7 11.3-38.8 28-48.5l-36-62.3c-8.8-15.3-28.7-20.8-42-9c-25.6 22.6-43.9 53.3-50.9 88.1C95.7 241.5 110.3 256 128 256l72 0zm28 48.5l-36 62.4c-8.8 15.3-3.6 35.2 13.1 40.8c16 5.4 33.1 8.3 50.9 8.3s34.9-2.9 50.9-8.3c16.7-5.6 21.9-25.5 13.1-40.8l-36-62.4c-8.2 4.8-17.8 7.5-28 7.5s-19.8-2.7-28-7.5zM312 256l72 0c17.7 0 32.3-14.5 28.8-31.8c-7-34.8-25.3-65.5-50.9-88.1c-13.2-11.7-33.1-6.3-42 9l-36 62.3c16.7 9.7 28 27.8 28 48.5zm-56 32a32 32 0 1 0 0-64 32 32 0 1 0 0 64z"]},e.mw},8248:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-three-quarters-stroke",icon:[512,512,[],"e5d4","M256 64V224c0 17.7 14.3 32 32 32H448c0-106-86-192-192-192zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z"]},e.mw},5268:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-xmark",icon:[512,512,[61532,"times-circle","xmark-circle"],"f057","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM175 175c9.4-9.4 24.6-9.4 33.9 0l47 47 47-47c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-47 47 47 47c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-47-47-47 47c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l47-47-47-47c-9.4-9.4-9.4-24.6 0-33.9z"]},e.mw},8724:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"code",icon:[640,512,[],"f121","M392.8 1.2c-17-4.9-34.7 5-39.6 22l-128 448c-4.9 17 5 34.7 22 39.6s34.7-5 39.6-22l128-448c4.9-17-5-34.7-22-39.6zm80.6 120.1c-12.5 12.5-12.5 32.8 0 45.3L562.7 256l-89.4 89.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l112-112c12.5-12.5 12.5-32.8 0-45.3l-112-112c-12.5-12.5-32.8-12.5-45.3 0zm-306.7 0c-12.5-12.5-32.8-12.5-45.3 0l-112 112c-12.5 12.5-12.5 32.8 0 45.3l112 112c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256l89.4-89.4c12.5-12.5 12.5-32.8 0-45.3z"]},e.mw},8964:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"comment",icon:[512,512,[128489,61669],"f075","M512 240c0 114.9-114.6 208-256 208c-37.1 0-72.3-6.4-104.1-17.9c-11.9 8.7-31.3 20.6-54.3 30.6C73.6 471.1 44.7 480 16 480c-6.5 0-12.3-3.9-14.8-9.9c-2.5-6-1.1-12.8 3.4-17.4l0 0 0 0 0 0 0 0 .3-.3c.3-.3 .7-.7 1.3-1.4c1.1-1.2 2.8-3.1 4.9-5.7c4.1-5 9.6-12.4 15.2-21.6c10-16.6 19.5-38.4 21.4-62.9C17.7 326.8 0 285.1 0 240C0 125.1 114.6 32 256 32s256 93.1 256 208z"]},e.mw},5764:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"copy",icon:[448,512,[],"f0c5","M208 0H332.1c12.7 0 24.9 5.1 33.9 14.1l67.9 67.9c9 9 14.1 21.2 14.1 33.9V336c0 26.5-21.5 48-48 48H208c-26.5 0-48-21.5-48-48V48c0-26.5 21.5-48 48-48zM48 128h80v64H64V448H256V416h64v48c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V176c0-26.5 21.5-48 48-48z"]},e.mw},8573:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"dash",icon:[512,512,["minus-large"],"e404","M0 256c0-17.7 14.3-32 32-32H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32z"]},e.mw},5133:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"down",icon:[384,512,["arrow-alt-down"],"f354","M214.6 470.6c-12.5 12.5-32.8 12.5-45.3 0l-160-160c-9.2-9.2-11.9-22.9-6.9-34.9s16.6-19.8 29.6-19.8l96 0 0-184c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 184 96 0c12.9 0 24.6 7.8 29.6 19.8s2.2 25.7-6.9 34.9l-160 160z"]},e.mw},3247:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"down-right",icon:[384,512,[],"e16b","M336 432H96c-12.9 0-24.6-7.8-29.6-19.8s-2.2-25.7 6.9-34.9l72-72L11.3 171.3C4.1 164.1 0 154.2 0 144s4.1-20.1 11.3-27.3L52.7 75.3C59.9 68.1 69.8 64 80 64s20.1 4.1 27.3 11.3L241.4 209.4l72-72c9.2-9.2 22.9-11.9 34.9-6.9s19.8 16.6 19.8 29.6V400c0 17.7-14.3 32-32 32z"]},e.mw},397:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"download",icon:[512,512,[],"f019","M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32V274.7l-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L288 274.7V32zM64 352c-35.3 0-64 28.7-64 64v32c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V416c0-35.3-28.7-64-64-64H346.5l-45.3 45.3c-25 25-65.5 25-90.5 0L165.5 352H64zm368 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"]},e.mw},3478:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"ellipsis",icon:[448,512,["ellipsis-h"],"f141","M8 256a56 56 0 1 1 112 0A56 56 0 1 1 8 256zm160 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm216-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z"]},e.mw},512:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"ellipsis-vertical",icon:[128,512,["ellipsis-v"],"f142","M64 360a56 56 0 1 0 0 112 56 56 0 1 0 0-112zm0-160a56 56 0 1 0 0 112 56 56 0 1 0 0-112zM120 96A56 56 0 1 0 8 96a56 56 0 1 0 112 0z"]},e.mw},2680:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"exclamation",icon:[64,512,[10069,10071,61738],"21","M64 64c0-17.7-14.3-32-32-32S0 46.3 0 64V320c0 17.7 14.3 32 32 32s32-14.3 32-32V64zM32 480a40 40 0 1 0 0-80 40 40 0 1 0 0 80z"]},e.mw},2704:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"eye",icon:[576,512,[128065],"f06e","M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64c-7.1 0-13.9-1.2-20.3-3.3c-5.5-1.8-11.9 1.6-11.7 7.4c.3 6.9 1.3 13.8 3.2 20.7c13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3z"]},e.mw},2419:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"eye-slash",icon:[640,512,[],"f070","M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L525.6 386.7c39.6-40.6 66.4-86.1 79.9-118.4c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-68.2 0-125 26.3-169.3 60.8L38.8 5.1zM223.1 149.5C248.6 126.2 282.7 112 320 112c79.5 0 144 64.5 144 144c0 24.9-6.3 48.3-17.4 68.7L408 294.5c8.4-19.3 10.6-41.4 4.8-63.3c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3c0 10.2-2.4 19.8-6.6 28.3l-90.3-70.8zM373 389.9c-16.4 6.5-34.3 10.1-53 10.1c-79.5 0-144-64.5-144-144c0-6.9 .5-13.6 1.4-20.2L83.1 161.5C60.3 191.2 44 220.8 34.5 243.7c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c47.8 0 89.9-12.9 126.2-32.5L373 389.9z"]},e.mw},452:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"fill",icon:[512,512,[],"f575","M86.6 9.4C74.1-3.1 53.9-3.1 41.4 9.4s-12.5 32.8 0 45.3L122.7 136 30.6 228.1c-37.5 37.5-37.5 98.3 0 135.8L148.1 481.4c37.5 37.5 98.3 37.5 135.8 0L474.3 290.9c28.1-28.1 28.1-73.7 0-101.8L322.9 37.7c-28.1-28.1-73.7-28.1-101.8 0L168 90.7 86.6 9.4zM168 181.3l49.4 49.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L213.3 136l53.1-53.1c3.1-3.1 8.2-3.1 11.3 0L429.1 234.3c3.1 3.1 3.1 8.2 0 11.3L386.7 288H67.5c1.4-5.4 4.2-10.4 8.4-14.6L168 181.3z"]},e.mw},8659:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"filter",icon:[512,512,[],"f0b0","M3.9 54.9C10.5 40.9 24.5 32 40 32H472c15.5 0 29.5 8.9 36.1 22.9s4.6 30.5-5.2 42.5L320 320.9V448c0 12.1-6.8 23.2-17.7 28.6s-23.8 4.3-33.5-3l-64-48c-8.1-6-12.8-15.5-12.8-25.6V320.9L9 97.3C-.7 85.4-2.8 68.8 3.9 54.9z"]},e.mw},4555:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"flag-pennant",icon:[448,512,[128681,"pennant"],"f456","M64 32C64 14.3 49.7 0 32 0S0 14.3 0 32V480c0 17.7 14.3 32 32 32s32-14.3 32-32V352L433 213.6c9-3.4 15-12 15-21.6s-6-18.2-15-21.6L64 32z"]},e.mw},1202:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i="floppy-disk",o=[128190,128426,"save"],n="f0c7",r="M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V173.3c0-17-6.7-33.3-18.7-45.3L352 50.7C340 38.7 323.7 32 306.7 32H64zm0 96c0-17.7 14.3-32 32-32H288c17.7 0 32 14.3 32 32v64c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V128zM224 288a64 64 0 1 1 0 128 64 64 0 1 1 0-128z";e.definition={prefix:"fas",iconName:i,icon:[448,512,o,n,r]},e.faFloppyDisk=e.definition,e.prefix="fas",e.iconName=i,e.width=448,e.height=512,e.ligatures=o,e.unicode=n,e.svgPathData=r,e.aliases=o},4101:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"folder",icon:[512,512,[128193,128447,61716,"folder-blank"],"f07b","M64 480H448c35.3 0 64-28.7 64-64V160c0-35.3-28.7-64-64-64H288c-10.1 0-19.6-4.7-25.6-12.8L243.2 57.6C231.1 41.5 212.1 32 192 32H64C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64z"]},e.mw},7813:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"folder-open",icon:[576,512,[128194,128449,61717],"f07c","M88.7 223.8L0 375.8V96C0 60.7 28.7 32 64 32H181.5c17 0 33.3 6.7 45.3 18.7l26.5 26.5c12 12 28.3 18.7 45.3 18.7H416c35.3 0 64 28.7 64 64v32H144c-22.8 0-43.8 12.1-55.3 31.8zm27.6 16.1C122.1 230 132.6 224 144 224H544c11.5 0 22 6.1 27.7 16.1s5.7 22.2-.1 32.1l-112 192C453.9 474 443.4 480 432 480H32c-11.5 0-22-6.1-27.7-16.1s-5.7-22.2 .1-32.1l112-192z"]},e.mw},8680:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"font",icon:[448,512,[],"f031","M254 52.8C249.3 40.3 237.3 32 224 32s-25.3 8.3-30 20.8L57.8 416H32c-17.7 0-32 14.3-32 32s14.3 32 32 32h96c17.7 0 32-14.3 32-32s-14.3-32-32-32h-1.8l18-48H303.8l18 48H320c-17.7 0-32 14.3-32 32s14.3 32 32 32h96c17.7 0 32-14.3 32-32s-14.3-32-32-32H390.2L254 52.8zM279.8 304H168.2L224 155.1 279.8 304z"]},e.mw},5390:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"gear",icon:[512,512,[9881,"cog"],"f013","M495.9 166.6c3.2 8.7 .5 18.4-6.4 24.6l-43.3 39.4c1.1 8.3 1.7 16.8 1.7 25.4s-.6 17.1-1.7 25.4l43.3 39.4c6.9 6.2 9.6 15.9 6.4 24.6c-4.4 11.9-9.7 23.3-15.8 34.3l-4.7 8.1c-6.6 11-14 21.4-22.1 31.2c-5.9 7.2-15.7 9.6-24.5 6.8l-55.7-17.7c-13.4 10.3-28.2 18.9-44 25.4l-12.5 57.1c-2 9.1-9 16.3-18.2 17.8c-13.8 2.3-28 3.5-42.5 3.5s-28.7-1.2-42.5-3.5c-9.2-1.5-16.2-8.7-18.2-17.8l-12.5-57.1c-15.8-6.5-30.6-15.1-44-25.4L83.1 425.9c-8.8 2.8-18.6 .3-24.5-6.8c-8.1-9.8-15.5-20.2-22.1-31.2l-4.7-8.1c-6.1-11-11.4-22.4-15.8-34.3c-3.2-8.7-.5-18.4 6.4-24.6l43.3-39.4C64.6 273.1 64 264.6 64 256s.6-17.1 1.7-25.4L22.4 191.2c-6.9-6.2-9.6-15.9-6.4-24.6c4.4-11.9 9.7-23.3 15.8-34.3l4.7-8.1c6.6-11 14-21.4 22.1-31.2c5.9-7.2 15.7-9.6 24.5-6.8l55.7 17.7c13.4-10.3 28.2-18.9 44-25.4l12.5-57.1c2-9.1 9-16.3 18.2-17.8C227.3 1.2 241.5 0 256 0s28.7 1.2 42.5 3.5c9.2 1.5 16.2 8.7 18.2 17.8l12.5 57.1c15.8 6.5 30.6 15.1 44 25.4l55.7-17.7c8.8-2.8 18.6-.3 24.5 6.8c8.1 9.8 15.5 20.2 22.1 31.2l4.7 8.1c6.1 11 11.4 22.4 15.8 34.3zM256 336a80 80 0 1 0 0-160 80 80 0 1 0 0 160z"]},e.mw},9358:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"grip-lines",icon:[448,512,[],"f7a4","M32 288c-17.7 0-32 14.3-32 32s14.3 32 32 32l384 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L32 288zm0-128c-17.7 0-32 14.3-32 32s14.3 32 32 32l384 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L32 160z"]},e.mw},9176:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"grip-lines-vertical",icon:[192,512,[],"f7a5","M64 64c0-17.7-14.3-32-32-32S0 46.3 0 64V448c0 17.7 14.3 32 32 32s32-14.3 32-32V64zm128 0c0-17.7-14.3-32-32-32s-32 14.3-32 32V448c0 17.7 14.3 32 32 32s32-14.3 32-32V64z"]},e.mw},979:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"grip-vertical",icon:[320,512,[],"f58e","M40 352l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zm192 0l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 320c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 192l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 160c-22.1 0-40-17.9-40-40L0 72C0 49.9 17.9 32 40 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40z"]},e.mw},6267:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"heading",icon:[448,512,["header"],"f1dc","M0 64C0 46.3 14.3 32 32 32H80h48c17.7 0 32 14.3 32 32s-14.3 32-32 32H112V208H336V96H320c-17.7 0-32-14.3-32-32s14.3-32 32-32h48 48c17.7 0 32 14.3 32 32s-14.3 32-32 32H400V240 416h16c17.7 0 32 14.3 32 32s-14.3 32-32 32H368 320c-17.7 0-32-14.3-32-32s14.3-32 32-32h16V272H112V416h16c17.7 0 32 14.3 32 32s-14.3 32-32 32H80 32c-17.7 0-32-14.3-32-32s14.3-32 32-32H48V240 96H32C14.3 96 0 81.7 0 64z"]},e.mw},3559:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"horizontal-rule",icon:[640,512,[8213],"f86c","M0 256c0-17.7 14.3-32 32-32H608c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32z"]},e.mw},3285:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"house",icon:[576,512,[127968,63498,63500,"home","home-alt","home-lg-alt"],"f015","M575.8 255.5c0 18-15 32.1-32 32.1h-32l.7 160.2c0 2.7-.2 5.4-.5 8.1V472c0 22.1-17.9 40-40 40H456c-1.1 0-2.2 0-3.3-.1c-1.4 .1-2.8 .1-4.2 .1H416 392c-22.1 0-40-17.9-40-40V448 384c0-17.7-14.3-32-32-32H256c-17.7 0-32 14.3-32 32v64 24c0 22.1-17.9 40-40 40H160 128.1c-1.5 0-3-.1-4.5-.2c-1.2 .1-2.4 .2-3.6 .2H104c-22.1 0-40-17.9-40-40V360c0-.9 0-1.9 .1-2.8V287.6H32c-18 0-32-14-32-32.1c0-9 3-17 10-24L266.4 8c7-7 15-8 22-8s15 2 21 7L564.8 231.5c8 7 12 15 11 24z"]},e.mw},3300:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"image",icon:[512,512,[],"f03e","M0 96C0 60.7 28.7 32 64 32H448c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96zM323.8 202.5c-4.5-6.6-11.9-10.5-19.8-10.5s-15.4 3.9-19.8 10.5l-87 127.6L170.7 297c-4.6-5.7-11.5-9-18.7-9s-14.2 3.3-18.7 9l-64 80c-5.8 7.2-6.9 17.1-2.9 25.4s12.4 13.6 21.6 13.6h96 32H424c8.9 0 17.1-4.9 21.2-12.8s3.6-17.4-1.4-24.7l-120-176zM112 192a48 48 0 1 0 0-96 48 48 0 1 0 0 96z"]},e.mw},8270:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"input-text",icon:[640,512,[],"e1bf","M64 128V384H576V128H64zM0 128C0 92.7 28.7 64 64 64H576c35.3 0 64 28.7 64 64V384c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V128zm184 32c9.5 0 18.1 5.6 21.9 14.3l64 144c5.4 12.1-.1 26.3-12.2 31.7s-26.3-.1-31.7-12.2l-4.3-9.7H146.3l-4.3 9.7c-5.4 12.1-19.6 17.6-31.7 12.2s-17.6-19.6-12.2-31.7l64-144c3.9-8.7 12.4-14.3 21.9-14.3zm0 83.1L167.6 280h32.8L184 243.1zM304 184c0-13.3 10.7-24 24-24h52c33.1 0 60 26.9 60 60c0 9.2-2.1 17.9-5.8 25.7c13.3 11 21.8 27.6 21.8 46.3c0 33.1-26.9 60-60 60H328c-13.3 0-24-10.7-24-24v-8V256 192v-8zm48 24v24h28c6.6 0 12-5.4 12-12s-5.4-12-12-12H352zm0 96h44c6.6 0 12-5.4 12-12s-5.4-12-12-12H380 352v24z"]},e.mw},8385:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"italic",icon:[384,512,[],"f033","M128 64c0-17.7 14.3-32 32-32H352c17.7 0 32 14.3 32 32s-14.3 32-32 32H293.3L160 416h64c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H90.7L224 96H160c-17.7 0-32-14.3-32-32z"]},e.mw},2377:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"layer-group",icon:[576,512,[],"f5fd","M264.5 5.2c14.9-6.9 32.1-6.9 47 0l218.6 101c8.5 3.9 13.9 12.4 13.9 21.8s-5.4 17.9-13.9 21.8l-218.6 101c-14.9 6.9-32.1 6.9-47 0L45.9 149.8C37.4 145.8 32 137.3 32 128s5.4-17.9 13.9-21.8L264.5 5.2zM476.9 209.6l53.2 24.6c8.5 3.9 13.9 12.4 13.9 21.8s-5.4 17.9-13.9 21.8l-218.6 101c-14.9 6.9-32.1 6.9-47 0L45.9 277.8C37.4 273.8 32 265.3 32 256s5.4-17.9 13.9-21.8l53.2-24.6 152 70.2c23.4 10.8 50.4 10.8 73.8 0l152-70.2zm-152 198.2l152-70.2 53.2 24.6c8.5 3.9 13.9 12.4 13.9 21.8s-5.4 17.9-13.9 21.8l-218.6 101c-14.9 6.9-32.1 6.9-47 0L45.9 405.8C37.4 401.8 32 393.3 32 384s5.4-17.9 13.9-21.8l53.2-24.6 152 70.2c23.4 10.8 50.4 10.8 73.8 0z"]},e.mw},6092:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"left",icon:[448,512,["arrow-alt-left"],"f355","M9.4 278.6c-12.5-12.5-12.5-32.8 0-45.3l160-160c9.2-9.2 22.9-11.9 34.9-6.9s19.8 16.6 19.8 29.6l0 96 184 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-184 0 0 96c0 12.9-7.8 24.6-19.8 29.6s-25.7 2.2-34.9-6.9l-160-160z"]},e.mw},5741:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"link",icon:[640,512,[128279,"chain"],"f0c1","M579.8 267.7c56.5-56.5 56.5-148 0-204.5c-50-50-128.8-56.5-186.3-15.4l-1.6 1.1c-14.4 10.3-17.7 30.3-7.4 44.6s30.3 17.7 44.6 7.4l1.6-1.1c32.1-22.9 76-19.3 103.8 8.6c31.5 31.5 31.5 82.5 0 114L422.3 334.8c-31.5 31.5-82.5 31.5-114 0c-27.9-27.9-31.5-71.8-8.6-103.8l1.1-1.6c10.3-14.4 6.9-34.4-7.4-44.6s-34.4-6.9-44.6 7.4l-1.1 1.6C206.5 251.2 213 330 263 380c56.5 56.5 148 56.5 204.5 0L579.8 267.7zM60.2 244.3c-56.5 56.5-56.5 148 0 204.5c50 50 128.8 56.5 186.3 15.4l1.6-1.1c14.4-10.3 17.7-30.3 7.4-44.6s-30.3-17.7-44.6-7.4l-1.6 1.1c-32.1 22.9-76 19.3-103.8-8.6C74 372 74 321 105.5 289.5L217.7 177.2c31.5-31.5 82.5-31.5 114 0c27.9 27.9 31.5 71.8 8.6 103.9l-1.1 1.6c-10.3 14.4-6.9 34.4 7.4 44.6s34.4 6.9 44.6-7.4l1.1-1.6C433.5 260.8 427 182 377 132c-56.5-56.5-148-56.5-204.5 0L60.2 244.3z"]},e.mw},809:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"list",icon:[512,512,["list-squares"],"f03a","M40 48C26.7 48 16 58.7 16 72v48c0 13.3 10.7 24 24 24H88c13.3 0 24-10.7 24-24V72c0-13.3-10.7-24-24-24H40zM192 64c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zM16 232v48c0 13.3 10.7 24 24 24H88c13.3 0 24-10.7 24-24V232c0-13.3-10.7-24-24-24H40c-13.3 0-24 10.7-24 24zM40 368c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24H88c13.3 0 24-10.7 24-24V392c0-13.3-10.7-24-24-24H40z"]},e.mw},8265:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"list-check",icon:[512,512,["tasks"],"f0ae","M152.1 38.2c9.9 8.9 10.7 24 1.8 33.9l-72 80c-4.4 4.9-10.6 7.8-17.2 7.9s-12.9-2.4-17.6-7L7 113C-2.3 103.6-2.3 88.4 7 79s24.6-9.4 33.9 0l22.1 22.1 55.1-61.2c8.9-9.9 24-10.7 33.9-1.8zm0 160c9.9 8.9 10.7 24 1.8 33.9l-72 80c-4.4 4.9-10.6 7.8-17.2 7.9s-12.9-2.4-17.6-7L7 273c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l22.1 22.1 55.1-61.2c8.9-9.9 24-10.7 33.9-1.8zM224 96c0-17.7 14.3-32 32-32H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H256c-17.7 0-32-14.3-32-32zm0 160c0-17.7 14.3-32 32-32H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H256c-17.7 0-32-14.3-32-32zM160 416c0-17.7 14.3-32 32-32H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H192c-17.7 0-32-14.3-32-32zM48 368a48 48 0 1 1 0 96 48 48 0 1 1 0-96z"]},e.mw},8014:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"list-ol",icon:[512,512,["list-1-2","list-numeric"],"f0cb","M24 56c0-13.3 10.7-24 24-24H80c13.3 0 24 10.7 24 24V176h16c13.3 0 24 10.7 24 24s-10.7 24-24 24H40c-13.3 0-24-10.7-24-24s10.7-24 24-24H56V80H48C34.7 80 24 69.3 24 56zM86.7 341.2c-6.5-7.4-18.3-6.9-24 1.2L51.5 357.9c-7.7 10.8-22.7 13.3-33.5 5.6s-13.3-22.7-5.6-33.5l11.1-15.6c23.7-33.2 72.3-35.6 99.2-4.9c21.3 24.4 20.8 60.9-1.1 84.7L86.8 432H120c13.3 0 24 10.7 24 24s-10.7 24-24 24H32c-9.5 0-18.2-5.6-22-14.4s-2.1-18.9 4.3-25.9l72-78c5.3-5.8 5.4-14.6 .3-20.5zM224 64H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H224c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 160H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H224c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 160H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H224c-17.7 0-32-14.3-32-32s14.3-32 32-32z"]},e.mw},7261:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"list-tree",icon:[512,512,[],"e1d2","M24 48C10.7 48 0 58.7 0 72v48c0 13.3 10.7 24 24 24V256 384c0 30.9 25.1 56 56 56h48c0 13.3 10.7 24 24 24h48c13.3 0 24-10.7 24-24V392c0-13.3-10.7-24-24-24H152c-13.3 0-24 10.7-24 24H80c-4.4 0-8-3.6-8-8V280h56c0 13.3 10.7 24 24 24h48c13.3 0 24-10.7 24-24V232c0-13.3-10.7-24-24-24H152c-13.3 0-24 10.7-24 24H72V144c13.3 0 24-10.7 24-24V72c0-13.3-10.7-24-24-24H24zM160 96c0 17.7 14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192c-17.7 0-32 14.3-32 32zM288 256c0 17.7 14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H320c-17.7 0-32 14.3-32 32zm0 160c0 17.7 14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H320c-17.7 0-32 14.3-32 32z"]},e.mw},2698:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"magnifying-glass",icon:[512,512,[128269,"search"],"f002","M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"]},e.mw},4729:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"minus",icon:[448,512,[8211,8722,10134,"subtract"],"f068","M432 256c0 17.7-14.3 32-32 32L48 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l352 0c17.7 0 32 14.3 32 32z"]},e.mw},2583:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"object-group",icon:[576,512,[],"f247","M32 119.4C12.9 108.4 0 87.7 0 64C0 28.7 28.7 0 64 0c23.7 0 44.4 12.9 55.4 32H456.6C467.6 12.9 488.3 0 512 0c35.3 0 64 28.7 64 64c0 23.7-12.9 44.4-32 55.4V392.6c19.1 11.1 32 31.7 32 55.4c0 35.3-28.7 64-64 64c-23.7 0-44.4-12.9-55.4-32H119.4c-11.1 19.1-31.7 32-55.4 32c-35.3 0-64-28.7-64-64c0-23.7 12.9-44.4 32-55.4V119.4zM456.6 96H119.4c-5.6 9.7-13.7 17.8-23.4 23.4V392.6c9.7 5.6 17.8 13.7 23.4 23.4H456.6c5.6-9.7 13.7-17.8 23.4-23.4V119.4c-9.7-5.6-17.8-13.7-23.4-23.4zM128 160c0-17.7 14.3-32 32-32H288c17.7 0 32 14.3 32 32v96c0 17.7-14.3 32-32 32H160c-17.7 0-32-14.3-32-32V160zM256 320h32c35.3 0 64-28.7 64-64V224h64c17.7 0 32 14.3 32 32v96c0 17.7-14.3 32-32 32H288c-17.7 0-32-14.3-32-32V320z"]},e.mw},8783:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"object-union",icon:[512,512,[],"e49f","M64 0C28.7 0 0 28.7 0 64V288c0 35.3 28.7 64 64 64h96v96c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V224c0-35.3-28.7-64-64-64H352V64c0-35.3-28.7-64-64-64H64z"]},e.mw},1072:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"paintbrush-pencil",icon:[576,512,[],"e206","M559.6 95.6c21.9-21.9 21.9-57.3 0-79.2s-57.3-21.9-79.2 0L227.7 269.1l79.2 79.2L559.6 95.6zM205 291.8c-9.3-2.5-19-3.8-29-3.8c-61.9 0-112 50.1-112 112c0 3.9 .2 7.8 .6 11.6C66.4 429.1 54.4 448 36.8 448H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H176c61.9 0 112-50.1 112-112c0-10-1.3-19.8-3.8-29l.1-.1-79.2-79.2-.1 .1zm93.4-138.7L164.7 19.3c-25-25-65.5-25-90.5 0L50.7 42.7c-25 25-25 65.5 0 90.5L173.5 256c.8 0 1.7 0 2.5 0c6.2 0 12.4 .4 18.4 1.2L298.5 153.1zM320 402.5l64.6 64.6c6.7 6.7 15.1 11.6 24.2 14.2l104 29.7c8.4 2.4 17.4 .1 23.6-6.1s8.5-15.2 6.1-23.6l-29.7-104c-2.6-9.2-7.5-17.5-14.2-24.2l-75.6-75.6L318.8 381.6c.8 6 1.2 12.2 1.2 18.4c0 .8 0 1.7 0 2.5z"]},e.mw},9646:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"palette",icon:[512,512,[127912],"f53f","M512 256c0 .9 0 1.8 0 2.7c-.4 36.5-33.6 61.3-70.1 61.3H344c-26.5 0-48 21.5-48 48c0 3.4 .4 6.7 1 9.9c2.1 10.2 6.5 20 10.8 29.9c6.1 13.8 12.1 27.5 12.1 42c0 31.8-21.6 60.7-53.4 62c-3.5 .1-7 .2-10.6 .2C114.6 512 0 397.4 0 256S114.6 0 256 0S512 114.6 512 256zM128 288a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm0-96a32 32 0 1 0 0-64 32 32 0 1 0 0 64zM288 96a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm96 96a32 32 0 1 0 0-64 32 32 0 1 0 0 64z"]},e.mw},3838:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"pen",icon:[512,512,[128394],"f304","M362.7 19.3L314.3 67.7 444.3 197.7l48.4-48.4c25-25 25-65.5 0-90.5L453.3 19.3c-25-25-65.5-25-90.5 0zm-71 71L58.6 323.5c-10.4 10.4-18 23.3-22.2 37.4L1 481.2C-1.5 489.7 .8 498.8 7 505s15.3 8.5 23.7 6.1l120.3-35.4c14.1-4.2 27-11.8 37.4-22.2L421.7 220.3 291.7 90.3z"]},e.mw},1953:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32V224H48c-17.7 0-32 14.3-32 32s14.3 32 32 32H192V432c0 17.7 14.3 32 32 32s32-14.3 32-32V288H400c17.7 0 32-14.3 32-32s-14.3-32-32-32H256V80z"]},e.mw},3071:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"puzzle-piece",icon:[512,512,[129513],"f12e","M192 104.8c0-9.2-5.8-17.3-13.2-22.8C167.2 73.3 160 61.3 160 48c0-26.5 28.7-48 64-48s64 21.5 64 48c0 13.3-7.2 25.3-18.8 34c-7.4 5.5-13.2 13.6-13.2 22.8v0c0 12.8 10.4 23.2 23.2 23.2H336c26.5 0 48 21.5 48 48v56.8c0 12.8 10.4 23.2 23.2 23.2v0c9.2 0 17.3-5.8 22.8-13.2c8.7-11.6 20.7-18.8 34-18.8c26.5 0 48 28.7 48 64s-21.5 64-48 64c-13.3 0-25.3-7.2-34-18.8c-5.5-7.4-13.6-13.2-22.8-13.2v0c-12.8 0-23.2 10.4-23.2 23.2V464c0 26.5-21.5 48-48 48H279.2c-12.8 0-23.2-10.4-23.2-23.2v0c0-9.2 5.8-17.3 13.2-22.8c11.6-8.7 18.8-20.7 18.8-34c0-26.5-28.7-48-64-48s-64 21.5-64 48c0 13.3 7.2 25.3 18.8 34c7.4 5.5 13.2 13.6 13.2 22.8v0c0 12.8-10.4 23.2-23.2 23.2H48c-26.5 0-48-21.5-48-48V343.2C0 330.4 10.4 320 23.2 320v0c9.2 0 17.3 5.8 22.8 13.2C54.7 344.8 66.7 352 80 352c26.5 0 48-28.7 48-64s-21.5-64-48-64c-13.3 0-25.3 7.2-34 18.8C40.5 250.2 32.4 256 23.2 256v0C10.4 256 0 245.6 0 232.8V176c0-26.5 21.5-48 48-48H168.8c12.8 0 23.2-10.4 23.2-23.2v0z"]},e.mw},8955:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"quote-right",icon:[448,512,[8221,"quote-right-alt"],"f10e","M448 296c0 66.3-53.7 120-120 120h-8c-17.7 0-32-14.3-32-32s14.3-32 32-32h8c30.9 0 56-25.1 56-56v-8H320c-35.3 0-64-28.7-64-64V160c0-35.3 28.7-64 64-64h64c35.3 0 64 28.7 64 64v32 32 72zm-256 0c0 66.3-53.7 120-120 120H64c-17.7 0-32-14.3-32-32s14.3-32 32-32h8c30.9 0 56-25.1 56-56v-8H64c-35.3 0-64-28.7-64-64V160c0-35.3 28.7-64 64-64h64c35.3 0 64 28.7 64 64v32 32 72z"]},e.mw},7362:(t,e,i)=>{"use strict";var o=i(6728);e.mw={prefix:o.prefix,iconName:o.iconName,icon:[o.width,o.height,o.aliases,o.unicode,o.svgPathData]},e.mw,o.prefix,o.iconName,o.width,o.height,o.aliases,o.unicode,o.svgPathData,o.aliases},791:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"right",icon:[448,512,[11157,"arrow-alt-right"],"f356","M438.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-9.2 9.2-22.9 11.9-34.9 6.9s-19.8-16.6-19.8-29.6l0-96L40 320c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40l184 0 0-96c0-12.9 7.8-24.6 19.8-29.6s25.7-2.2 34.9 6.9l160 160z"]},e.mw},7699:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"rotate-left",icon:[512,512,["rotate-back","rotate-backward","undo-alt"],"f2ea","M48.5 224H40c-13.3 0-24-10.7-24-24V72c0-9.7 5.8-18.5 14.8-22.2s19.3-1.7 26.2 5.2L98.6 96.6c87.6-86.5 228.7-86.2 315.8 1c87.5 87.5 87.5 229.3 0 316.8s-229.3 87.5-316.8 0c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0c62.5 62.5 163.8 62.5 226.3 0s62.5-163.8 0-226.3c-62.2-62.2-162.7-62.5-225.3-1L185 183c6.9 6.9 8.9 17.2 5.2 26.2s-12.5 14.8-22.2 14.8H48.5z"]},e.mw},3322:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"rotate-right",icon:[512,512,["redo-alt","rotate-forward"],"f2f9","M463.5 224H472c13.3 0 24-10.7 24-24V72c0-9.7-5.8-18.5-14.8-22.2s-19.3-1.7-26.2 5.2L413.4 96.6c-87.6-86.5-228.7-86.2-315.8 1c-87.5 87.5-87.5 229.3 0 316.8s229.3 87.5 316.8 0c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0c-62.5 62.5-163.8 62.5-226.3 0s-62.5-163.8 0-226.3c62.2-62.2 162.7-62.5 225.3-1L327 183c-6.9 6.9-8.9 17.2-5.2 26.2s12.5 14.8 22.2 14.8H463.5z"]},e.mw},6780:(t,e,i)=>{"use strict";var o=i(1202);e.mw={prefix:o.prefix,iconName:o.iconName,icon:[o.width,o.height,o.aliases,o.unicode,o.svgPathData]},e.mw,o.prefix,o.iconName,o.width,o.height,o.aliases,o.unicode,o.svgPathData,o.aliases},5143:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"signal-bars",icon:[640,512,["signal-alt","signal-alt-4","signal-bars-strong"],"f690","M560 0c-26.5 0-48 21.5-48 48V464c0 26.5 21.5 48 48 48s48-21.5 48-48V48c0-26.5-21.5-48-48-48zM352 176V464c0 26.5 21.5 48 48 48s48-21.5 48-48V176c0-26.5-21.5-48-48-48s-48 21.5-48 48zM240 256c-26.5 0-48 21.5-48 48V464c0 26.5 21.5 48 48 48s48-21.5 48-48V304c0-26.5-21.5-48-48-48zM80 384c-26.5 0-48 21.5-48 48v32c0 26.5 21.5 48 48 48s48-21.5 48-48V432c0-26.5-21.5-48-48-48z"]},e.mw},2561:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"signal-bars-fair",icon:[640,512,["signal-alt-2"],"f692","M240 256c-26.5 0-48 21.5-48 48V464c0 26.5 21.5 48 48 48s48-21.5 48-48V304c0-26.5-21.5-48-48-48zM80 384c-26.5 0-48 21.5-48 48v32c0 26.5 21.5 48 48 48s48-21.5 48-48V432c0-26.5-21.5-48-48-48z"]},e.mw},5726:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"signal-bars-good",icon:[640,512,["signal-alt-3"],"f693","M400 128c-26.5 0-48 21.5-48 48V464c0 26.5 21.5 48 48 48s48-21.5 48-48V176c0-26.5-21.5-48-48-48zM192 304V464c0 26.5 21.5 48 48 48s48-21.5 48-48V304c0-26.5-21.5-48-48-48s-48 21.5-48 48zM32 432v32c0 26.5 21.5 48 48 48s48-21.5 48-48V432c0-26.5-21.5-48-48-48s-48 21.5-48 48z"]},e.mw},2415:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"signal-bars-weak",icon:[640,512,["signal-alt-1"],"f691","M32 432c0-26.5 21.5-48 48-48s48 21.5 48 48v32c0 26.5-21.5 48-48 48s-48-21.5-48-48V432z"]},e.mw},8752:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"spinner",icon:[512,512,[],"f110","M304 48a48 48 0 1 0 -96 0 48 48 0 1 0 96 0zm0 416a48 48 0 1 0 -96 0 48 48 0 1 0 96 0zM48 304a48 48 0 1 0 0-96 48 48 0 1 0 0 96zm464-48a48 48 0 1 0 -96 0 48 48 0 1 0 96 0zM142.9 437A48 48 0 1 0 75 369.1 48 48 0 1 0 142.9 437zm0-294.2A48 48 0 1 0 75 75a48 48 0 1 0 67.9 67.9zM369.1 437A48 48 0 1 0 437 369.1 48 48 0 1 0 369.1 437z"]},e.mw},1386:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"square",icon:[448,512,[9632,9723,9724,61590],"f0c8","M0 96C0 60.7 28.7 32 64 32H384c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96z"]},e.mw},1239:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"square-1",icon:[448,512,[],"e256","M0 96C0 60.7 28.7 32 64 32H384c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96zm236 35.2c-7.4-4.3-16.5-4.3-24-.1l-56 32c-11.5 6.6-15.5 21.2-8.9 32.7s21.2 15.5 32.7 8.9L200 193.4V336H160c-13.3 0-24 10.7-24 24s10.7 24 24 24h64 64c13.3 0 24-10.7 24-24s-10.7-24-24-24H248V152c0-8.6-4.6-16.5-12-20.8z"]},e.mw},4218:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"square-2",icon:[448,512,[],"e257","M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zM190.7 184.7l-24.2 18.4c-10.5 8-25.6 6-33.6-4.5s-6-25.6 4.5-33.6l24.2-18.4c15.8-12 35.2-18.4 55.1-18.1l3.4 .1c46.5 .7 83.8 38.6 83.8 85.1c0 23.5-9.7 46-26.9 62.1L212.7 336H296c13.3 0 24 10.7 24 24s-10.7 24-24 24H152c-9.8 0-18.7-6-22.3-15.2s-1.3-19.6 5.9-26.3L244.3 240.6c7.5-7 11.7-16.8 11.7-27.1c0-20.3-16.3-36.8-36.6-37.1l-3.4-.1c-9.1-.1-18 2.8-25.3 8.3z"]},e.mw},8377:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"square-3",icon:[448,512,[],"e258","M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm88 96H280c9.9 0 18.8 6.1 22.4 15.3s1.1 19.7-6.2 26.4l-50.8 46.5c41.9 4.8 74.6 40.4 74.6 83.6c0 46.5-37.7 84.2-84.2 84.2H208c-30.1 0-58.1-15.6-73.9-41.2l-2.6-4.2c-7-11.3-3.5-26.1 7.8-33s26.1-3.5 33 7.8l2.6 4.2c7.1 11.5 19.6 18.4 33 18.4h27.8c20 0 36.2-16.2 36.2-36.2c0-20.1-16.3-36.3-36.4-36.2l-51.5 .3c-9.9 .1-18.9-6-22.5-15.2s-1.2-19.8 6.1-26.5L218.3 176H152c-13.3 0-24-10.7-24-24s10.7-24 24-24z"]},e.mw},3740:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"square-4",icon:[448,512,[],"e259","M0 96C0 60.7 28.7 32 64 32H384c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96zm191.6 33.2c-12.6-4.2-26.2 2.6-30.4 15.2l-48 144c-2.4 7.3-1.2 15.4 3.3 21.6s11.8 10 19.5 10H240v40c0 13.3 10.7 24 24 24s24-10.7 24-24V320h8c13.3 0 24-10.7 24-24s-10.7-24-24-24h-8V216c0-13.3-10.7-24-24-24s-24 10.7-24 24v56H169.3l37.5-112.4c4.2-12.6-2.6-26.2-15.2-30.4z"]},e.mw},5379:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"square-5",icon:[448,512,[],"e25a","M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm112 96H280c13.3 0 24 10.7 24 24s-10.7 24-24 24H196l-7.8 43 61.4 6.9c40.1 4.5 70.4 38.4 70.4 78.8c0 43.8-35.5 79.3-79.3 79.3h-36c-27.5 0-53.3-13.7-68.6-36.6l-4.1-6.1c-7.4-11-4.5-25.9 6.5-33.3s25.9-4.5 33.3 6.5l4.1 6.1c6.4 9.6 17.2 15.3 28.8 15.3h36c17.3 0 31.3-14 31.3-31.3c0-15.9-12-29.3-27.8-31.1l-86.9-9.8c-6.6-.7-12.6-4.2-16.6-9.5s-5.5-12.1-4.4-18.6l16-88c2.1-11.4 12-19.7 23.6-19.7z"]},e.mw},9974:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"square-6",icon:[448,512,[],"e25b","M0 96C0 60.7 28.7 32 64 32H384c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96zM224 240a48 48 0 1 1 0 96 48 48 0 1 1 0-96zm-96 48c0 53 43 96 96 96s96-43 96-96c0-44-29.6-81.1-70-92.4l29.6-25.4c10.1-8.6 11.2-23.8 2.6-33.8s-23.8-11.2-33.8-2.6l-81.6 70C142.2 224.8 128 255.6 128 288z"]},e.mw},3368:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"square-check",icon:[448,512,[9745,9989,61510,"check-square"],"f14a","M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zM337 209L209 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L303 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]},e.mw},6288:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"square-minus",icon:[448,512,[61767,"minus-square"],"f146","M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm88 200H296c13.3 0 24 10.7 24 24s-10.7 24-24 24H152c-13.3 0-24-10.7-24-24s10.7-24 24-24z"]},e.mw},5293:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"square-o",icon:[448,512,[],"e278","M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm80 224a80 80 0 1 0 160 0 80 80 0 1 0 -160 0zm80 128a128 128 0 1 1 0-256 128 128 0 1 1 0 256z"]},e.mw},7513:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"square-xmark",icon:[448,512,[10062,"times-square","xmark-square"],"f2d3","M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm79 143c9.4-9.4 24.6-9.4 33.9 0l47 47 47-47c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-47 47 47 47c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-47-47-47 47c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l47-47-47-47c-9.4-9.4-9.4-24.6 0-33.9z"]},e.mw},4373:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"star",icon:[576,512,[11088,61446],"f005","M316.9 18C311.6 7 300.4 0 288.1 0s-23.4 7-28.8 18L195 150.3 51.4 171.5c-12 1.8-22 10.2-25.7 21.7s-.7 24.2 7.9 32.7L137.8 329 113.2 474.7c-2 12 3 24.2 12.9 31.3s23 8 33.8 2.3l128.3-68.5 128.3 68.5c10.8 5.7 23.9 4.9 33.8-2.3s14.9-19.3 12.9-31.3L438.5 329 542.7 225.9c8.6-8.5 11.7-21.2 7.9-32.7s-13.7-19.9-25.7-21.7L381.2 150.3 316.9 18z"]},e.mw},436:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"star-half-stroke",icon:[640,512,["star-half-alt"],"f5c0","M320 376.4l.1-.1 26.4 14.1 85.2 45.5-16.5-97.6-4.8-28.7 20.7-20.5 70.1-69.3-96.1-14.2-29.3-4.3-12.9-26.6L320.1 86.9l-.1 .3V376.4zm175.1 98.3c2 12-3 24.2-12.9 31.3s-23 8-33.8 2.3L320.1 439.8 191.8 508.3C181 514 167.9 513.1 158 506s-14.9-19.3-12.9-31.3L169.8 329 65.6 225.9c-8.6-8.5-11.7-21.2-7.9-32.7s13.7-19.9 25.7-21.7L227 150.3 291.4 18c5.4-11 16.5-18 28.8-18s23.4 7 28.8 18l64.3 132.3 143.6 21.2c12 1.8 22 10.2 25.7 21.7s.7 24.2-7.9 32.7L470.5 329l24.6 145.7z"]},e.mw},2034:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"strikethrough",icon:[512,512,[],"f0cc","M161.3 144c3.2-17.2 14-30.1 33.7-38.6c21.1-9 51.8-12.3 88.6-6.5c11.9 1.9 48.8 9.1 60.1 12c17.1 4.5 34.6-5.6 39.2-22.7s-5.6-34.6-22.7-39.2c-14.3-3.8-53.6-11.4-66.6-13.4c-44.7-7-88.3-4.2-123.7 10.9c-36.5 15.6-64.4 44.8-71.8 87.3c-.1 .6-.2 1.1-.2 1.7c-2.8 23.9 .5 45.6 10.1 64.6c4.5 9 10.2 16.9 16.7 23.9H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H270.1c-.1 0-.3-.1-.4-.1l-1.1-.3c-36-10.8-65.2-19.6-85.2-33.1c-9.3-6.3-15-12.6-18.2-19.1c-3.1-6.1-5.2-14.6-3.8-27.4zM348.9 337.2c2.7 6.5 4.4 15.8 1.9 30.1c-3 17.6-13.8 30.8-33.9 39.4c-21.1 9-51.7 12.3-88.5 6.5c-18-2.9-49.1-13.5-74.4-22.1c-5.6-1.9-11-3.7-15.9-5.4c-16.8-5.6-34.9 3.5-40.5 20.3s3.5 34.9 20.3 40.5c3.6 1.2 7.9 2.7 12.7 4.3l0 0 0 0c24.9 8.5 63.6 21.7 87.6 25.6l0 0 .2 0c44.7 7 88.3 4.2 123.7-10.9c36.5-15.6 64.4-44.8 71.8-87.3c3.6-21 2.7-40.4-3.1-58.1H335.1c7 5.6 11.4 11.2 13.9 17.2z"]},e.mw},8033:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"table",icon:[512,512,[],"f0ce","M64 256V160H224v96H64zm0 64H224v96H64V320zm224 96V320H448v96H288zM448 256H288V160H448v96zM64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64z"]},e.mw},8644:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"table-cells",icon:[512,512,["th"],"f00a","M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm88 64v64H64V96h88zm56 0h88v64H208V96zm240 0v64H360V96h88zM64 224h88v64H64V224zm232 0v64H208V224h88zm64 0h88v64H360V224zM152 352v64H64V352h88zm56 0h88v64H208V352zm240 0v64H360V352h88z"]},e.mw},7998:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"table-columns",icon:[512,512,["columns"],"f0db","M0 96C0 60.7 28.7 32 64 32H448c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96zm64 64V416H224V160H64zm384 0H288V416H448V160z"]},e.mw},2864:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"table-rows",icon:[512,512,["rows"],"e292","M0 96C0 60.7 28.7 32 64 32H448c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96zm128 0V224H448V96H128zM448 288H128V416H448V288z"]},e.mw},1802:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"text",icon:[448,512,[],"f893","M64 96v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V80C0 53.5 21.5 32 48 32H224 400c26.5 0 48 21.5 48 48v48c0 17.7-14.3 32-32 32s-32-14.3-32-32V96H256l0 320h48c17.7 0 32 14.3 32 32s-14.3 32-32 32H144c-17.7 0-32-14.3-32-32s14.3-32 32-32h48l0-320H64z"]},e.mw},5360:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"text-width",icon:[448,512,[],"f035","M64 128V96H192l0 128H176c-17.7 0-32 14.3-32 32s14.3 32 32 32h96c17.7 0 32-14.3 32-32s-14.3-32-32-32H256l0-128H384v32c0 17.7 14.3 32 32 32s32-14.3 32-32V80c0-26.5-21.5-48-48-48H224 48C21.5 32 0 53.5 0 80v48c0 17.7 14.3 32 32 32s32-14.3 32-32zM9.4 361.4c-12.5 12.5-12.5 32.8 0 45.3l64 64c9.2 9.2 22.9 11.9 34.9 6.9s19.8-16.6 19.8-29.6V416H320v32c0 12.9 7.8 24.6 19.8 29.6s25.7 2.2 34.9-6.9l64-64c12.5-12.5 12.5-32.8 0-45.3l-64-64c-9.2-9.2-22.9-11.9-34.9-6.9s-19.8 16.6-19.8 29.6v32H128V320c0-12.9-7.8-24.6-19.8-29.6s-25.7-2.2-34.9 6.9l-64 64z"]},e.mw},4935:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"trash",icon:[448,512,[],"f1f8","M135.2 17.7L128 32H32C14.3 32 0 46.3 0 64S14.3 96 32 96H416c17.7 0 32-14.3 32-32s-14.3-32-32-32H320l-7.2-14.3C307.4 6.8 296.3 0 284.2 0H163.8c-12.1 0-23.2 6.8-28.6 17.7zM416 128H32L53.2 467c1.6 25.3 22.6 45 47.9 45H346.9c25.3 0 46.3-19.7 47.9-45L416 128z"]},e.mw},6433:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"tree",icon:[448,512,[127794],"f1bb","M210.6 5.9L62 169.4c-3.9 4.2-6 9.8-6 15.5C56 197.7 66.3 208 79.1 208H104L30.6 281.4c-4.2 4.2-6.6 10-6.6 16C24 309.9 34.1 320 46.6 320H80L5.4 409.5C1.9 413.7 0 419 0 424.5c0 13 10.5 23.5 23.5 23.5H192v32c0 17.7 14.3 32 32 32s32-14.3 32-32V448H424.5c13 0 23.5-10.5 23.5-23.5c0-5.5-1.9-10.8-5.4-15L368 320h33.4c12.5 0 22.6-10.1 22.6-22.6c0-6-2.4-11.8-6.6-16L344 208h24.9c12.7 0 23.1-10.3 23.1-23.1c0-5.7-2.1-11.3-6-15.5L237.4 5.9C234 2.1 229.1 0 224 0s-10 2.1-13.4 5.9z"]},e.mw},6981:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"triangle",icon:[512,512,[9650],"f2ec","M290.5 51.8C283.3 39.5 270.2 32 256 32s-27.3 7.5-34.5 19.8l-216 368c-7.3 12.4-7.3 27.7-.2 40.1S25.7 480 40 480H472c14.3 0 27.6-7.7 34.7-20.1s7-27.8-.2-40.1l-216-368z"]},e.mw},1025:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"underline",icon:[448,512,[],"f0cd","M16 64c0-17.7 14.3-32 32-32h96c17.7 0 32 14.3 32 32s-14.3 32-32 32H128V224c0 53 43 96 96 96s96-43 96-96V96H304c-17.7 0-32-14.3-32-32s14.3-32 32-32h96c17.7 0 32 14.3 32 32s-14.3 32-32 32H384V224c0 88.4-71.6 160-160 160s-160-71.6-160-160V96H48C30.3 96 16 81.7 16 64zM0 448c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32z"]},e.mw},196:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"up",icon:[384,512,["arrow-alt-up"],"f357","M169.4 41.4c12.5-12.5 32.8-12.5 45.3 0l160 160c9.2 9.2 11.9 22.9 6.9 34.9s-16.6 19.8-29.6 19.8H256V440c0 22.1-17.9 40-40 40H168c-22.1 0-40-17.9-40-40V256H32c-12.9 0-24.6-7.8-29.6-19.8s-2.2-25.7 6.9-34.9l160-160z"]},e.mw},1808:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"up-right",icon:[384,512,[],"e2be","M336 80H96c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l72 72L11.3 340.7C4.1 347.9 0 357.8 0 368s4.1 20.1 11.3 27.3l41.4 41.4C59.9 443.9 69.8 448 80 448s20.1-4.1 27.3-11.3L241.4 302.6l72 72c9.2 9.2 22.9 11.9 34.9 6.9s19.8-16.6 19.8-29.6V112c0-17.7-14.3-32-32-32z"]},e.mw},7700:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"upload",icon:[512,512,[],"f093","M288 109.3V352c0 17.7-14.3 32-32 32s-32-14.3-32-32V109.3l-73.4 73.4c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l128-128c12.5-12.5 32.8-12.5 45.3 0l128 128c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L288 109.3zM64 352H192c0 35.3 28.7 64 64 64s64-28.7 64-64H448c35.3 0 64 28.7 64 64v32c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V416c0-35.3 28.7-64 64-64zM432 456a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"]},e.mw},8540:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"]},e.mw},6565:(t,e,i)=>{"use strict";var o=i(2180);t.exports=function(t,e,i,n){var r,s,a;if(t<=0)return 0;if(1===t||0===n)return e+i[0];if(r=n<0?(1-t)*n:0,t<8){for(s=0,a=0;a<t;a++)s+=e+i[r],r+=n;return s}return o(t,e,i,n,r)}},5271:(t,e,i)=>{"use strict";var o=i(5714);t.exports=o},5714:(t,e,i)=>{"use strict";var o=i(6448),n=i(6565);o(n,"ndarray",i(2180)),t.exports=n},2180:(t,e,i)=>{"use strict";var o=i(2287);t.exports=function t(e,i,n,r,s){var a,l,c,h,d,u,p,g,m,f,v,b,y;if(e<=0)return 0;if(1===e||0===r)return i+n[s];if(a=s,e<8){for(v=0,y=0;y<e;y++)v+=i+n[a],a+=r;return v}if(e<=128){for(l=i+n[a],c=i+n[a+r],h=i+n[a+2*r],d=i+n[a+3*r],u=i+n[a+4*r],p=i+n[a+5*r],g=i+n[a+6*r],m=i+n[a+7*r],a+=8*r,f=e%8,y=8;y<e-f;y+=8)l+=i+n[a],c+=i+n[a+r],h+=i+n[a+2*r],d+=i+n[a+3*r],u+=i+n[a+4*r],p+=i+n[a+5*r],g+=i+n[a+6*r],m+=i+n[a+7*r],a+=8*r;for(v=l+c+(h+d)+(u+p+(g+m));y<e;y++)v+=i+n[a],a+=r;return v}return b=o(e/2),t(b-=b%8,i,n,r,a)+t(e-b,i,n,r,a+b*r)}},9341:(t,e,i)=>{"use strict";var o=i(3465);t.exports=function(t,e,i){var n,r,s;if(t<=0)return 0;if(1===t||0===i)return e[0];if(n=i<0?(1-t)*i:0,t<8){for(r=0,s=0;s<t;s++)r+=e[n],n+=i;return r}return o(t,e,i,n)}},1094:(t,e,i)=>{"use strict";var o=i(2905);t.exports=o},2905:(t,e,i)=>{"use strict";var o=i(6448),n=i(9341);o(n,"ndarray",i(3465)),t.exports=n},3465:(t,e,i)=>{"use strict";var o=i(2287);t.exports=function t(e,i,n,r){var s,a,l,c,h,d,u,p,g,m,f,v,b;if(e<=0)return 0;if(1===e||0===n)return i[r];if(s=r,e<8){for(f=0,b=0;b<e;b++)f+=i[s],s+=n;return f}if(e<=128){for(a=i[s],l=i[s+n],c=i[s+2*n],h=i[s+3*n],d=i[s+4*n],u=i[s+5*n],p=i[s+6*n],g=i[s+7*n],s+=8*n,m=e%8,b=8;b<e-m;b+=8)a+=i[s],l+=i[s+n],c+=i[s+2*n],h+=i[s+3*n],d+=i[s+4*n],u+=i[s+5*n],p+=i[s+6*n],g+=i[s+7*n],s+=8*n;for(f=a+l+(c+h)+(d+u+(p+g));b<e;b++)f+=i[s],s+=n;return f}return v=o(e/2),t(v-=v%8,i,n,s)+t(e-v,i,n,s+v*n)}},2287:(t,e,i)=>{"use strict";var o=i(2154);t.exports=o},2154:t=>{"use strict";var e=Math.floor;t.exports=e},235:(t,e,i)=>{"use strict";var o=i(9830);t.exports=o},9830:(t,e,i)=>{"use strict";var o=i(6448),n=i(1114);o(n,"ndarray",i(6432)),t.exports=n},1114:(t,e,i)=>{"use strict";var o=i(6985);t.exports=function(t,e,i){return o(t,e,i)}},6432:(t,e,i)=>{"use strict";var o=i(6985).ndarray;t.exports=function(t,e,i,n){return o(t,e,i,n)}},6985:(t,e,i)=>{"use strict";var o=i(184);t.exports=o},184:(t,e,i)=>{"use strict";var o=i(6448),n=i(4186);o(n,"ndarray",i(2510)),t.exports=n},4186:(t,e,i)=>{"use strict";var o=i(1094),n=i(5271);t.exports=function(t,e,i){var r;return t<=0?NaN:1===t||0===i?e[0]:(r=o(t,e,i)/t)+n(t,-r,e,i)/t}},2510:(t,e,i)=>{"use strict";var o=i(1094).ndarray,n=i(5271).ndarray;t.exports=function(t,e,i,r){var s;return t<=0?NaN:1===t||0===i?e[r]:(s=o(t,e,i,r)/t)+n(t,-s,e,i,r)/t}},5949:(t,e,i)=>{"use strict";var o=i(780);t.exports=o},780:t=>{"use strict";t.exports=function(){var t,e,i;return t=0,i=0,function(o,n){return 0===arguments.length?void 0===e?null:i:(e=!0,i+=n/(t+=n)*(o-i))}}},6448:(t,e,i)=>{"use strict";var o=i(487);t.exports=o},487:(t,e,i)=>{"use strict";var o=i(5580);t.exports=function(t,e,i){o(t,e,{configurable:!1,enumerable:!1,writable:!1,value:i})}},6859:t=>{"use strict";var e=Object.defineProperty;t.exports=e},7581:t=>{"use strict";var e="function"==typeof Object.defineProperty?Object.defineProperty:null;t.exports=e},894:(t,e,i)=>{"use strict";var o=i(7581);t.exports=function(){try{return o({},"x",{}),!0}catch(t){return!1}}},5580:(t,e,i)=>{"use strict";var o,n=i(894),r=i(6859),s=i(3509);o=n()?r:s,t.exports=o},3509:t=>{"use strict";var e=Object.prototype,i=e.toString,o=e.__defineGetter__,n=e.__defineSetter__,r=e.__lookupGetter__,s=e.__lookupSetter__;t.exports=function(t,a,l){var c,h,d,u;if("object"!=typeof t||null===t||"[object Array]"===i.call(t))throw new TypeError("invalid argument. First argument must be an object. Value: `"+t+"`.");if("object"!=typeof l||null===l||"[object Array]"===i.call(l))throw new TypeError("invalid argument. Property descriptor must be an object. Value: `"+l+"`.");if((h="value"in l)&&(r.call(t,a)||s.call(t,a)?(c=t.__proto__,t.__proto__=e,delete t[a],t[a]=l.value,t.__proto__=c):t[a]=l.value),d="get"in l,u="set"in l,h&&(d||u))throw new Error("invalid argument. Cannot specify one or more accessors and a value or writable attribute in the property descriptor.");return d&&o&&o.call(t,a,l.get),u&&n&&n.call(t,a,l.set),t}}},e={};function i(o){var n=e[o];if(void 0!==n)return n.exports;var r=e[o]={exports:{}};return t[o](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var o in e)i.o(e,o)&&!i.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var o={};(()=>{"use strict";i.r(o),i.d(o,{bucket:()=>w,calendar:()=>O,code:()=>k,commands:()=>y,core:()=>v,dialog:()=>C,editor:()=>D,form:()=>$,grid:()=>A,localize:()=>r,markdown:()=>N,package:()=>ST,plugins:()=>_T,statusbar:()=>P,tabs:()=>b,toolbar:()=>j,tree:()=>x});var t={};i.r(t),i.d(t,{bind:()=>mt,clone:()=>rt,cloneDeep:()=>nt,escapeRegExp:()=>ut,ifNull:()=>it,intersect:()=>pt,isBool:()=>q,isCharLetter:()=>et,isControlCharacter:()=>dt,isFunction:()=>X,isNumber:()=>tt,isNumericString:()=>K,isObject:()=>Z,isString:()=>Q,mergeDeep:()=>ot,minmax:()=>at,minmax2d:()=>lt,rectIntersect:()=>gt,removeAccents:()=>ct,strToNum:()=>J,trim:()=>st});var e={};i.r(e),i.d(e,{appendElement:()=>wt,appendScript:()=>At,appendStyle:()=>Tt,createElement:()=>yt,createName:()=>ft,debounceOn:()=>Lt,empty:()=>St,findParent:()=>zt,fixElementPosition:()=>Ft,fixElementSize:()=>Wt,fixPosition:()=>Xt,getElementOffset:()=>Ht,hideCell:()=>_t,hideElement:()=>kt,isHidden:()=>Ct,measureText:()=>Jt,numToPixels:()=>Ot,on:()=>Rt,px:()=>$t,query:()=>te,register:()=>vt,remove:()=>Et,setBorderWidth:()=>Zt,setCenterPosition:()=>qt,setClasses:()=>It,setInset:()=>Vt,setLineHeight:()=>Bt,setMargin:()=>Gt,setMaxSize:()=>Nt,setMinSize:()=>Pt,setPadding:()=>Yt,setPosition:()=>jt,setSize:()=>Dt,setStyle:()=>bt,setZIndex:()=>Ut,showCell:()=>Mt,showElement:()=>xt,zoomElement:()=>Qt});var n={};i.r(n),i.d(n,{escapeHTML:()=>oe,highlightText:()=>ne});var r={};i.r(r),i.d(r,{LocaleChangeEvent:()=>ho,createTranslateFunction:()=>wo,getISOCode:()=>Mo,getLocale:()=>vo,getRegionISOCode:()=>_o,getSystemLocale:()=>uo,hasLocale:()=>bo,msg:()=>xo,registerLocale:()=>fo,setLocale:()=>yo});var s={};i.r(s),i.d(s,{createDateFormatter:()=>No,dateToSerialDate:()=>Wo,detectDefaultFormat:()=>Ao,detectFormat:()=>Ho,getDateFormatter:()=>$o,getDateLocale:()=>Do,getFiscalISOWeek:()=>Fo,getFiscalQuarter:()=>jo,getFiscalYear:()=>Po,getFiscalYearBounds:()=>Bo,parse:()=>Oo,registerDateLocale:()=>Ro,serialDateToDate:()=>Uo,stripTime:()=>Vo,workday:()=>Go});var a={};i.r(a),i.d(a,{createNumberFormatter:()=>tn,fixNumberFormat:()=>rn,getLocalDecimalSeparator:()=>sn,getNumberFormatter:()=>Jo,isExtendedNumberFormat:()=>Yo,isNumberFormat:()=>Qo,mod:()=>qo,romanize:()=>Xo,stringFormatToNumberFormat:()=>on});var l={};i.r(l),i.d(l,{CsvReader:()=>ln,DEFAULT_CSV_DESCRIPTION:()=>an,arrayToCsv:()=>cn,csvToArray:()=>hn});var c={};i.r(c),i.d(c,{LogLevel:()=>dn,Logger:()=>un,getLogger:()=>gn});var h={};i.r(h),i.d(h,{FilterState:()=>mn,TreeNodeMixin:()=>vn,buildLevelBasedTree:()=>bn,buildParentBasedTree:()=>yn,buildTree:()=>wn});var d={};i.r(d),i.d(d,{alpha:()=>Cn,contrastColor:()=>Sn,css:()=>zn,darken:()=>kn,getComplmentaryColor:()=>Mn,lighten:()=>xn,mix:()=>_n,plainHex:()=>En});var u={};i.r(u),i.d(u,{ActionEvent:()=>Rn,dispatchActionEvent:()=>Ln});var p={};i.r(p),i.d(p,{clone:()=>An,reverseColumns:()=>In,reverseRows:()=>Hn,transpose:()=>Tn});var g={};i.r(g),i.d(g,{AddEvent:()=>$n,ChangeEvent:()=>On,SerialzieEvent:()=>Dn});var m={};i.r(m),i.d(m,{PAPER_SIZES:()=>Nn});var f={};i.r(f),i.d(f,{detect:()=>Pn});var v={};i.r(v),i.d(v,{AMD:()=>Yn,Accordion:()=>Ks,Alert:()=>oa,AlertEvent:()=>ia,BaseElement:()=>ra,Button:()=>Ma,Checkbox:()=>qh,ColorPicker:()=>Md,ColorPickerEvent:()=>xd,ColorTypes:()=>Js,ComponentAdapter:()=>cd,ComponentEvent:()=>na,ComponentSlice:()=>gd,ComponentStore:()=>pd,Container:()=>bd,Dropdown:()=>Hd,DropdownColorPicker:()=>Ad,DropdownContainer:()=>Id,DropdownEvent:()=>Ld,DropdownList:()=>Ud,DropdownMenu:()=>Fd,ExpandEvent:()=>Zd,Expander:()=>Qd,FileInput:()=>au,Icon:()=>eu,Input:()=>nu,LevelExpandEvent:()=>Xd,LevelExpander:()=>Kd,LinkedList:()=>Xn,LinkedListNode:()=>Zn,List:()=>fu,ListPointerEvent:()=>mu,ListSelectEvent:()=>gu,ListSelectTrigger:()=>uu,ListSortEvent:()=>Ru,Loader:()=>ju,Menu:()=>Pd,MenuEvent:()=>Nd,NumericInput:()=>hu,OmegaComponent:()=>ud,Overlay:()=>wu,Panel:()=>Cu,Plugin:()=>md,Plugins:()=>fd,ResizeEvent:()=>_u,ScriptLoader:()=>qn,Sizer:()=>Su,SlideEvent:()=>ad,Slider:()=>ld,SliderDirection:()=>od,SortableList:()=>Lu,SplitContainer:()=>Ms,SplitContainerEvent:()=>ks,SplitContainerResizeEvent:()=>Cs,Switch:()=>Ou,SwitchEvent:()=>Au,ThemeChangeEvent:()=>va,ThemeManager:()=>ba,Tooltip:()=>Nu,actions:()=>u,addThemeVariables:()=>pa,colorable:()=>ma,colors:()=>d,constants:()=>G,createThemeVariables:()=>da,createThemeVariablesCss:()=>ua,csv:()=>l,dates:()=>s,detectThemeType:()=>ha,device:()=>f,dom:()=>e,events:()=>g,getDefaultOptions:()=>Bn,getThemeManager:()=>wa,html:()=>n,images:()=>Gd,initCommonOptions:()=>Fn,initOptions:()=>Fn,log:()=>c,matrix:()=>p,numbers:()=>a,paper:()=>m,setDefaultOptions:()=>Vn,themeable:()=>ga,tree:()=>h,utils:()=>t});var b={};i.r(b),i.d(b,{TabContainer:()=>Xp,TabEvent:()=>Fp,TabSplitContainer:()=>Jp,TabSplitContainerModel:()=>Np,Tabs:()=>Up});var y={};i.r(y),i.d(y,{Command:()=>eg,CommandEvent:()=>hg,CommandSection:()=>tg,CommandWindow:()=>dg,Commands:()=>ig,CommandsAdapter:()=>og,initOptions:()=>rg});var w={};i.r(w),i.d(w,{AlertEvent:()=>zg,Bucket:()=>_g,BucketAlert:()=>Rg,BucketButton:()=>Pg,BucketEvent:()=>Mg,BucketPath:()=>qg,BucketPathEvent:()=>Yg,BucketTop:()=>Dg,ComponentHost:()=>Vg,ModalSidebar:()=>Wg,Sidebar:()=>Ig,Sidemenu:()=>Ag,commonMenus:()=>gg});var x={};i.r(x),i.d(x,{DateTreeAdapter:()=>Sf,ItemPropertyType:()=>Im,LevelSelectEvent:()=>Jm,NodeModel:()=>zm,NodeSelectionStatus:()=>Hm,SelectMode:()=>Lm,Tree:()=>Ym,TreeAdapter:()=>qm,TreeDropEvent:()=>Gm,TreeDropdown:()=>Qm,TreeEvent:()=>Wm,TreeMenu:()=>rf,TreeModel:()=>Rm,TreePointerEvent:()=>Um,TreeSearchEvent:()=>of,TreeSelectionModel:()=>Am,normalizeSerializedValues:()=>Tm});var k={};i.r(k),i.d(k,{Code:()=>dm,CodeBlock:()=>Of,CodeDiffEditor:()=>Em,CodeEvent:()=>Xg,CodeView:()=>Nf,MonacoLoader:()=>Zg,loader:()=>Zg});var C={};i.r(C),i.d(C,{Dialog:()=>Wf,DialogEvent:()=>Ff});var M={};i.r(M),i.d(M,{SHEET_NAME_REGEX:()=>Xf,isSheetNameValid:()=>Qf,sanitizeSheetName:()=>Kf});var _={};i.r(_),i.d(_,{concat:()=>Pv,left:()=>$v,mid:()=>Nv,right:()=>Dv,text:()=>Ov});var S={};i.r(S),i.d(S,{date:()=>Yv,datevalue:()=>Bv,day:()=>Xv,eomonth:()=>Qv,isBlank:()=>Gv,isoweeknum:()=>Kv,month:()=>Zv,today:()=>Uv,weekday:()=>Fv,workday:()=>Wv,year:()=>qv});var E={};i.r(E),i.d(E,{PI:()=>gb,abs:()=>xb,acos:()=>Jv,acosh:()=>tb,acot:()=>eb,acoth:()=>ib,asin:()=>ob,asinh:()=>nb,atan:()=>rb,atanh:()=>sb,ceiling:()=>kb,cos:()=>ab,cosh:()=>lb,cot:()=>cb,coth:()=>hb,count:()=>Xb,countblank:()=>Qb,countif:()=>Kb,countunique:()=>Jb,csc:()=>db,csch:()=>ub,degrees:()=>pb,even:()=>Cb,exp:()=>Mb,fact:()=>_b,factdouble:()=>Sb,floor:()=>Eb,isdecimal:()=>zb,iseven:()=>Rb,isodd:()=>Lb,ln:()=>Ib,log:()=>Hb,log10:()=>Tb,mod:()=>Ab,odd:()=>Ob,power:()=>$b,product:()=>Db,quotient:()=>Nb,radians:()=>Pb,rand:()=>jb,randarray:()=>Vb,randbetween:()=>Bb,round:()=>Fb,rounddown:()=>Wb,roundup:()=>Ub,sec:()=>mb,sech:()=>fb,sequence:()=>Gb,sign:()=>Yb,sin:()=>vb,sinh:()=>bb,sqrt:()=>qb,sqrtpi:()=>Zb,sum:()=>ty,sumif:()=>ey,sumproduct:()=>oy,sumsq:()=>iy,tan:()=>yb,tanh:()=>wb});var z={};i.r(z),i.d(z,{address:()=>ry,choose:()=>cy,column:()=>hy,columns:()=>uy,filter:()=>yy,formulatext:()=>gy,hlookup:()=>ay,index:()=>my,indirect:()=>fy,lookup:()=>ly,match:()=>vy,offset:()=>by,row:()=>dy,rows:()=>py,vlookup:()=>sy});var R={};i.r(R),i.d(R,{erfc:()=>ky});var L={};i.r(L),i.d(L,{_false:()=>Ry,_if:()=>Ey,_switch:()=>Sy,_true:()=>Ly,and:()=>Cy,iferror:()=>Iy,not:()=>zy,or:()=>My,xor:()=>_y});var I={};i.r(I),i.d(I,{avedev:()=>Ny,average:()=>$y,average_weighted:()=>Dy,max:()=>jy,min:()=>Py});var H={};i.r(H),i.d(H,{_map:()=>By,date:()=>S,logical:()=>L,lookup:()=>z,math:()=>E,special:()=>R,statistical:()=>I,text:()=>_});var T={};i.r(T),i.d(T,{BaseRenderer:()=>Bk,CheckboxRenderer:()=>Wk,DateTimeRenderer:()=>Uk,DropdownRenderer:()=>Gk,GeneralRenderer:()=>Zk,NumberRenderer:()=>Yk,TextRenderer:()=>qk,applyStyle:()=>Vk,cellTypeRendererMap:()=>Xk,getCellRenderer:()=>Qk});var A={};i.r(A),i.d(A,{CalculationContext:()=>Fy,CalculationModel:()=>Cw,CellModel:()=>cw,CellRange:()=>fv,ColumnModel:()=>dw,Comment:()=>jk,CommentEvent:()=>Pk,CommentItem:()=>vw,CommentModel:()=>bw,ConditionalFormats:()=>Lw,Dependencies:()=>ww,ElementCache:()=>fx,ElementModel:()=>Zy,FilterEvent:()=>$w,FilterLabel:()=>bx,FilterModel:()=>Dw,Formula:()=>Av,FormulaInput:()=>kx,FormulaInputEvent:()=>xx,Grid:()=>kk,GridAdapter:()=>Kk,GridColumnResizeEvent:()=>Ax,GridEditEvent:()=>Hx,GridEditing:()=>Jx,GridEvent:()=>Ix,GridEvents:()=>$x,GridFiltering:()=>ck,GridGroup:()=>zk,GridGroupEvent:()=>Ek,GridModel:()=>dx,GridRendering:()=>Dx,GridResizeEvent:()=>Tx,GridRowResizeEvent:()=>Ox,GridSelecting:()=>Nx,GridSorting:()=>mk,GridTooltip:()=>$k,GroupModel:()=>ux,History:()=>px,IterableAddressRange:()=>jw,IterableAxisRange:()=>Vw,IterableRange:()=>Pw,MergeCellState:()=>lx,Merges:()=>cx,NamingModel:()=>Bw,ObjectEvent:()=>uk,ObjectHost:()=>pk,RowModel:()=>Ww,SelectionModel:()=>gx,Selector:()=>Tk,SelectorEvent:()=>Ik,SelectorMoveEvent:()=>Hk,SortOrder:()=>uw,SortingArrow:()=>Sx,SortingModel:()=>fw,Sparkline:()=>Ok,Sparklines:()=>Nw,Table:()=>Rx,TableEvent:()=>zx,TokenType:()=>av,Tokenizer:()=>pv,addGradient:()=>nw,addPattern:()=>ow,alignmentToString:()=>Kw,applyCellTheme:()=>nx,applyColumnTheme:()=>rx,applyRowTheme:()=>sx,applyTheme:()=>ax,autofill:()=>Gy,borderCSSStyleMap:()=>Ky,borderStyleCSSMap:()=>Qy,borderToString:()=>Qw,convertCSSBorder:()=>ew,convertCSSColor:()=>tw,convertCSSVerticalAlignment:()=>Jy,convertToCSSBorder:()=>iw,createBoolMatcher:()=>Hw,createCellMatcher:()=>Ow,createGroupCommands:()=>bk,createMultiMatcher:()=>Tw,createMultiMultiMatcher:()=>Aw,createTextMatcher:()=>Iw,cssStyleFromString:()=>Xy,cssStyleToStyle:()=>sw,decodeColumn:()=>wv,decodeRow:()=>bv,encodeColumn:()=>yv,encodeRow:()=>vv,extrapolateFormulas:()=>Uy,extrapolateValues:()=>Wy,functions:()=>H,gridConstants:()=>Zf,hashStyle:()=>Jw,iconSets:()=>zw,initGridCommands:()=>wk,initOptions:()=>Fw,isArythmeticOperator:()=>ov,isBool:()=>hv,isFormula:()=>zv,isLetter:()=>dv,isLogicalOperator:()=>iv,isNumber:()=>cv,isOperand:()=>lv,isOperator:()=>nv,matrixOperation:()=>sv,normalizeCellValidation:()=>Yy,operatorMap:()=>ev,prefixFormula:()=>Rv,renderers:()=>T,scalarOperation:()=>rv,sortRanges:()=>xv,stripFormulaPrefix:()=>Lv,styleToCSStyle:()=>rw,utils:()=>M,validateValue:()=>qy});var O={};i.r(O),i.d(O,{Calendar:()=>_C,CalendarDropdown:()=>HC});var $={};i.r($),i.d($,{CalendarDateInput:()=>lM,Form:()=>GC,FormAdapter:()=>YC,FormButton:()=>vM,FormCheckbox:()=>uM,FormColorInput:()=>rM,FormContainer:()=>JC,FormControlModel:()=>jC,FormControlType:()=>PC,FormDateInput:()=>aM,FormEvent:()=>UC,FormFileInput:()=>dM,FormLabel:()=>pM,FormList:()=>mM,FormModel:()=>VC,FormNumericInput:()=>hM,FormTextInput:()=>oM});var D={};i.r(D),i.d(D,{ConfigForm:()=>xM,Editor:()=>EM,EditorEvent:()=>SM,EditorFormula:()=>HM,EditorStatusbar:()=>NM,EditorToolbar:()=>GM,EditorZoom:()=>RM,GridStats:()=>AM,HeaderForm:()=>qM,HyperlinkEditor:()=>A_,NamesForm:()=>KM,RuleEditor:()=>R_,RuleForm:()=>e_,RuleList:()=>s_,RuleThreshold:()=>h_,SparklineForm:()=>b_,StyleEditor:()=>H_,StyleForm:()=>p_,ThemeEditor:()=>M_,ThemeEditorSidebar:()=>k_,ThemeItemEditor:()=>E_});var N={};i.r(N),i.d(N,{BlockEditMenu:()=>gE,EditorFeature:()=>vE,HtmlBlock:()=>DS,HtmlBlockComponent:()=>$S,LinkEdit:()=>nE,MarkdownEditor:()=>X_,MarkdownLinkEvent:()=>Z_,MarkdownView:()=>Q_,configureFeatures:()=>mE,createEditor:()=>B_,createHtmlBlockConfig:()=>PS,createHtmlBlockView:()=>jS,defaultCodeEditorConfig:()=>NS,getFeatures:()=>yE,loader:()=>V_,markdownToHtml:()=>F_});var P={};i.r(P),i.d(P,{Statusbar:()=>CE});var j={};i.r(j),i.d(j,{Toolbar:()=>IE,ToolbarButton:()=>TE,ToolbarColorPicker:()=>YE,ToolbarCustomDropdown:()=>DE,ToolbarDropdown:()=>OE,ToolbarDropdownButton:()=>PE,ToolbarDropdownMenu:()=>VE,ToolbarGrid:()=>FE,ToolbarText:()=>UE});var V={};i.r(V),i.d(V,{SheetjsLoader:()=>qE,XlsxEditorPlugin:()=>zz,convertMargins:()=>mz,convertStyle:()=>sz,createModel:()=>_z,createModelFromArrayBuffer:()=>Ez,createModelFromWorkbook:()=>Sz,createWorkbook:()=>vz,createWorksheet:()=>fz,detectOutlineColumnDirection:()=>uz,detectOutlineRowDirection:()=>dz,exportXLSX:()=>bz,getWorkbookNames:()=>Mz,getWorksheetCells:()=>lz,getWorksheetColumns:()=>tz,getWorksheetConditionalFormats:()=>hz,getWorksheetHeaderCells:()=>oz,getWorksheetMerges:()=>iz,getWorksheetRows:()=>ez,loader:()=>qE});var B={};i.r(B),i.d(B,{Chart:()=>Nz,ChartEditorPlugin:()=>Iz,ChartGridPlugin:()=>Lz,ChartList:()=>Bz,ChartModel:()=>Rz,HighchartsLoader:()=>Hz,RuleForm:()=>Uz,createChartOptions:()=>Az,loader:()=>Hz,renderChart:()=>Oz});var F=i(6272),W=i.n(F);const U="#00955d",G={PREFIX:"og",DEFAULT_ACCENT_COLOR:U,DEFAULT_ACCENT_COLOR_2:W()(U).darken(.6),SIZER_SIZE:5,SLIDER_SIZE:12,SLIDER_MIN_LENGTH:30,EXPANDER_SIZE:13,LIST_ITEM_HEIGHT:22,LIST_RENDERING_TRESHOLD:30,LIST_AUTOSCROLL_TRESHOLD:30,LIST_AUTOSCROLL_DELAY:100,DEFAULT_TEXT_HIGHLIGHT_COLOR:"var(--og-text-highlight-color)",TOOLTIP_MARGIN:8,MENU_ITEM_HEIGHT:25,COLORPICKER_COLOR_SIZE:16,DEFAULT_NUMBER_FORMAT:"#,0.#####",FONT_SIZE:12};function Y(t,e,i){var o,n,r;void 0===e&&(e=50),void 0===i&&(i={});var s=null!=(o=i.isImmediate)&&o,a=null!=(n=i.callback)&&n,l=i.maxWait,c=Date.now(),h=[];function d(){if(void 0!==l){var t=Date.now()-c;if(t+e>=l)return l-t}return e}var u=function(){var e=[].slice.call(arguments),i=this;return new Promise((function(o,n){var l=s&&void 0===r;if(void 0!==r&&clearTimeout(r),r=setTimeout((function(){if(r=void 0,c=Date.now(),!s){var o=t.apply(i,e);a&&a(o),h.forEach((function(t){return(0,t.resolve)(o)})),h=[]}}),d()),l){var u=t.apply(i,e);return a&&a(u),o(u)}h.push({resolve:o,reject:n})}))};return u.cancel=function(t){void 0!==r&&clearTimeout(r),h.forEach((function(e){return(0,e.reject)(t)})),h=[]},u}function q(t){return"boolean"==typeof t}function Z(t){return t&&"object"==typeof t&&!Array.isArray(t)}function X(t){return t&&"function"==typeof t}function Q(t){return"string"==typeof t}function K(t){let e=0;for(let i=0;i<t.length;i++){const o=t.charAt(i);if("."===o||","===o){if(++e>1)return!1}else if(o<"0"||o>"9")return!1}return!0}function J(t){return parseFloat(t.replace?t.replace(",","."):t)}function tt(t){return"number"==typeof t}function et(t){return t.toLowerCase()!==t.toUpperCase()}function it(t,e){return null==t?e:t}function ot(...t){const e={};return t.forEach((t=>{for(const i in t)if(t.hasOwnProperty(i)){const o=t[i],n=e[i];Array.isArray(o)?e[i]=[...o]:e[i]="object"==typeof o&&null!==o?ot(n||{},o):o}})),e}function nt(t){return ot({},t)}function rt(t){return Object.assign({},t)}function st(t,e){return"]"===e&&(e="\\]"),"^"===e&&(e="\\^"),"\\"===e&&(e="\\\\"),t.replace(new RegExp("^["+e+"]+|["+e+"]+$","g"),"")}function at(t){let e=null,i=null;return t.forEach((t=>{isNaN(t)||null==t||(e=Math.min(null==e?Number.MAX_SAFE_INTEGER:e,t),i=Math.max(null==i?Number.MIN_SAFE_INTEGER:i,t))})),[e,i]}function lt(...t){let e=null,i=null;return t.forEach((t=>t.forEach((t=>t.forEach((t=>{isNaN(t)||null==t||(e=Math.min(null==e?Number.MAX_SAFE_INTEGER:e,t),i=Math.max(null==i?Number.MIN_SAFE_INTEGER:i,t))})))))),[e,i]}function ct(t){return t.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}const ht=["Shift","Escape","ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Enter"];function dt(t){return ht.includes(t)}function ut(t){return t.replace(/[.*+?^${}()|[\]\\]/gi,"\\$&")}function pt(t,e){return t.filter((t=>e.includes(t)))}function gt(t,e){return t.x>=e.x+e.w||e.x>=t.x+t.w||t.y>=e.y+e.h||e.y>=t.y+t.h?null:{x:Math.max(t.x,e.x),y:Math.max(t.y,e.y),w:Math.min(t.x+t.w,e.x+e.w)-Math.max(t.x,e.x),h:Math.min(t.y+t.h,e.y+e.h)-Math.max(t.y,e.y)}}function mt(t,e,i){return function(...o){const n=e.apply(t,o);return"function"==typeof i&&i(n,...o),n}}function ft(t,e=G.PREFIX){return`${e}-${t}`}function vt(t,e,i=null,o=G.PREFIX){customElements.define(`${o}-${t}`,e,i?{extends:i}:void 0)}function bt(t,e){for(const i in e)t.style[i]=e[i];return t}function yt(t,e){const i=document.createElement(t);if(e)for(const t in e)"style"===t?"object"==typeof e[t]&&bt(i,e[t]):i[t]=e[t];return i}function wt(t,e){return t.appendChild(e),t}function xt(t,e=""){return t&&(t.style.display=t.dataset.display||e||"block"),t}function kt(t){return t&&(t.dataset.display="none"==t.style.display?"":t.style.display,t.style.display="none"),t}function Ct(t){return"none"==t.style.display}function Mt(t){t.style.display="table-cell"}function _t(t){t.style.display="none"}function St(t){return t.innerHTML="",t}function Et(t){t.parentNode?.removeChild(t)}function zt(t,e){const i="string"==typeof e?t=>t.matches(e):e;for(;t.parentNode;)if((t=t.parentNode)instanceof ShadowRoot&&t.host&&(t=t.host),t instanceof HTMLElement&&i(t))return t;return null}function Rt(t,e,i,o,n){return t.addEventListener(e,(t=>{for(const e of t.composedPath())if(e.matches&&e.matches(i))return void o(t,e);n&&n(t,null)})),t}function Lt(t,e,i,o,n){const r=Y(((t,e)=>((t,e)=>{for(const n of e)if(n.matches&&n.matches(i))return void o(t,n);n?.noMatchCallback&&n.noMatchCallback(t,null)})(t,e)),n.wait,n);return t.addEventListener(e,(t=>r(t,t.composedPath()))),t}function It(t,e){return t.className=e?e.reduce(((t,e,i)=>t+(e?(0==i?"":" ")+e:"")),""):"",t}function Ht(t,e){let i=0,o=0;for(;t&&!isNaN(t.offsetLeft)&&!isNaN(t.offsetTop)&&(!e||e!==t);)i+=t.offsetLeft-t.scrollLeft,o+=t.offsetTop-t.scrollTop,t=t.offsetParent;return{top:o,left:i}}function Tt(t,e,i=null){if(e){let o=i?t.querySelector("#"+i):null;o||(o=yt("style"),i&&(o.id=i)),o.innerHTML=e,o.parentElement||t.appendChild(o)}return t}function At(t,e,i=null){if(!e)return t;let o=i?t.querySelector("#"+i):null;return o||(o=yt("script"),i&&(o.id=i)),o.textContent=e,o.parentElement||t.appendChild(o),t}function Ot(t){return isNaN(t)?"0":t.toString()+"px"}const $t=Ot;function Dt(t,e,i=!1){if(t)return null!=e.w&&(t.style[i?"minWidth":"width"]=Q(e.w)?e.w:Ot(e.w)),null!=e.h&&(t.style[i?"minHeight":"height"]=Q(e.h)?e.h:Ot(e.h)),t}function Nt(t,e){return null!=e.w&&(t.style.maxWidth=Q(e.w)?e.w:Ot(e.w)),null!=e.h&&(t.style.maxHeight=Q(e.h)?e.h:Ot(e.h)),t}function Pt(t,e){return null!=e.w&&(t.style.minWidth=Q(e.w)?e.w:Ot(e.w)),null!=e.h&&(t.style.minHeight=Q(e.h)?e.h:Ot(e.h)),t}function jt(t,e){t.style.position="absolute",null!=e.r&&(t.style.right=Ot(e.r)),null!=e.b&&(t.style.bottom=Ot(e.b)),null!=e.l&&(t.style.left=Ot(e.l)),null!=e.t&&(t.style.top=Ot(e.t))}function Vt(t,e){t.style.position="absolute",t.style.inset=Ot(e)}function Bt(t,e){t.style.lineHeight=Ot(e)}function Ft(t,e=null){const i=Ht(t,e=e||t.parentElement),o=Xt({x:i.left,y:i.top,w:t.offsetWidth,h:t.offsetHeight},e);jt(t,{l:o.x,t:o.y})}function Wt(t,e=null){((e=e||t.parentElement).offsetWidth<t.offsetWidth||e.offsetHeight<t.offsetHeight)&&Dt(t,{w:Math.min(e.offsetWidth,t.offsetWidth),h:Math.min(e.offsetHeight,t.offsetHeight)})}function Ut(t,e){t.style.zIndex=e.toString()}function Gt(t,e){void 0!==e.r&&(t.style.marginRight=Ot(e.r)),void 0!==e.l&&(t.style.marginLeft=Ot(e.l)),void 0!==e.t&&(t.style.marginTop=Ot(e.t)),void 0!==e.b&&(t.style.marginBottom=Ot(e.b))}function Yt(t,e){void 0!==e.r&&(t.style.paddingRight=Ot(e.r)),void 0!==e.l&&(t.style.paddingLeft=Ot(e.l)),void 0!==e.t&&(t.style.paddingTop=Ot(e.t)),void 0!==e.b&&(t.style.paddingBottom=Ot(e.b))}function qt(t,e,i={vertical:!0,horizontal:!0}){t.style.position="absolute",i.vertical&&(t.style.top=Ot(Math.round(e.clientHeight/2-t.offsetHeight/2))),i.horizontal&&(t.style.left=Ot(Math.round(e.clientWidth/2-t.offsetWidth/2)))}function Zt(t,e){null!=e.r&&(t.style.borderRightWidth=Ot(e.r)),null!=e.b&&(t.style.borderBottomWidth=Ot(e.b)),null!=e.l&&(t.style.borderLeftWidth=Ot(e.l)),null!=e.t&&(t.style.borderTopWidth=Ot(e.t))}function Xt(t,e){let i=Math.max(0,t.x),o=Math.max(0,t.y);return i+t.w>e.clientWidth&&(i=e.clientWidth-t.w),o+t.h>e.clientHeight&&(o=e.clientHeight-t.h),{x:i,y:o}}function Qt(t,e){t.style.transformOrigin="0% 0% 0px",t.style.transform=`scale(${e})`}let Kt;function Jt(t,e){Kt||(Kt=new Map);let i=Kt.get(e);return i||(i=document.createElement("canvas").getContext("2d"),i.font=e,Kt.set(e,i)),i.measureText(t)}function te(t,e=document){return e.querySelector(t)}const ee={"&":"&","<":"<",">":">"},ie=t=>ee[t]||t;function oe(t){return t.replace(/[&<>]/g,ie)}function ne(t,e,i=G.DEFAULT_TEXT_HIGHLIGHT_COLOR){const o=[];let n=0,r=0;for(const s of e)n=s[0],r<n&&o.push(oe(t.substring(r,n))),r=s[1],o.push(`<span style="color:${i}">${oe(t.substring(n,r))}</span>`);return r<t.length&&o.push(oe(t.substring(r))),o.join("")}function re(t){const e=Object.prototype.toString.call(t);return t instanceof Date||"object"==typeof t&&"[object Date]"===e?new t.constructor(+t):"number"==typeof t||"[object Number]"===e||"string"==typeof t||"[object String]"===e?new Date(t):new Date(NaN)}function se(t){const e=re(t);return e.setHours(0,0,0,0),e}function ae(t,e){return t instanceof Date?new t.constructor(e):new Date(e)}let le={};function ce(){return le}const he={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function de(t){return(e={})=>{const i=e.width?String(e.width):t.defaultWidth;return t.formats[i]||t.formats[t.defaultWidth]}}const ue={date:de({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:de({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:de({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},pe={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function ge(t){return(e,i)=>{let o;if("formatting"===(i?.context?String(i.context):"standalone")&&t.formattingValues){const e=t.defaultFormattingWidth||t.defaultWidth,n=i?.width?String(i.width):e;o=t.formattingValues[n]||t.formattingValues[e]}else{const e=t.defaultWidth,n=i?.width?String(i.width):t.defaultWidth;o=t.values[n]||t.values[e]}return o[t.argumentCallback?t.argumentCallback(e):e]}}const me={ordinalNumber:(t,e)=>{const i=Number(t),o=i%100;if(o>20||o<10)switch(o%10){case 1:return i+"st";case 2:return i+"nd";case 3:return i+"rd"}return i+"th"},era:ge({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:ge({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:t=>t-1}),month:ge({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:ge({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:ge({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};function fe(t){return(e,i={})=>{const o=i.width,n=o&&t.matchPatterns[o]||t.matchPatterns[t.defaultMatchWidth],r=e.match(n);if(!r)return null;const s=r[0],a=o&&t.parsePatterns[o]||t.parsePatterns[t.defaultParseWidth],l=Array.isArray(a)?function(t,e){for(let e=0;e<t.length;e++)if(t[e].test(s))return e}(a):function(t,e){for(const e in t)if(Object.prototype.hasOwnProperty.call(t,e)&&t[e].test(s))return e}(a);let c;return c=t.valueCallback?t.valueCallback(l):l,c=i.valueCallback?i.valueCallback(c):c,{value:c,rest:e.slice(s.length)}}}function ve(t){return(e,i={})=>{const o=e.match(t.matchPattern);if(!o)return null;const n=o[0],r=e.match(t.parsePattern);if(!r)return null;let s=t.valueCallback?t.valueCallback(r[0]):r[0];return s=i.valueCallback?i.valueCallback(s):s,{value:s,rest:e.slice(n.length)}}}const be={ordinalNumber:ve({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:t=>parseInt(t,10)}),era:fe({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:fe({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:t=>t+1}),month:fe({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:fe({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:fe({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},ye={code:"en-US",formatDistance:(t,e,i)=>{let o;const n=he[t];return o="string"==typeof n?n:1===e?n.one:n.other.replace("{{count}}",e.toString()),i?.addSuffix?i.comparison&&i.comparison>0?"in "+o:o+" ago":o},formatLong:ue,formatRelative:(t,e,i,o)=>pe[t],localize:me,match:be,options:{weekStartsOn:0,firstWeekContainsDate:1}},we=(t,e)=>{switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});default:return e.date({width:"full"})}},xe=(t,e)=>{switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});default:return e.time({width:"full"})}},ke={p:xe,P:(t,e)=>{const i=t.match(/(P+)(p+)?/)||[],o=i[1],n=i[2];if(!n)return we(t,e);let r;switch(o){case"P":r=e.dateTime({width:"short"});break;case"PP":r=e.dateTime({width:"medium"});break;case"PPP":r=e.dateTime({width:"long"});break;default:r=e.dateTime({width:"full"})}return r.replace("{{date}}",we(o,e)).replace("{{time}}",xe(n,e))}},Ce=/^D+$/,Me=/^Y+$/,_e=["D","DD","YY","YYYY"];function Se(t){return Ce.test(t)}function Ee(t){return Me.test(t)}function ze(t,e,i){const o=function(t,e,i){const o="Y"===t[0]?"years":"days of the month";return`Use \`${t.toLowerCase()}\` instead of \`${t}\` (in \`${e}\`) for formatting ${o} to the input \`${i}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(t,e,i);if(console.warn(o),_e.includes(t))throw new RangeError(o)}class Re{subPriority=0;validate(t,e){return!0}}class Le extends Re{constructor(t,e,i,o,n){super(),this.value=t,this.validateValue=e,this.setValue=i,this.priority=o,n&&(this.subPriority=n)}validate(t,e){return this.validateValue(t,this.value,e)}set(t,e,i){return this.setValue(t,e,this.value,i)}}class Ie extends Re{priority=10;subPriority=-1;set(t,e){return e.timestampIsSet?t:ae(t,function(t,e){const i=e instanceof Date?ae(e,0):new e(0);return i.setFullYear(t.getFullYear(),t.getMonth(),t.getDate()),i.setHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),i}(t,Date))}}class He{run(t,e,i,o){const n=this.parse(t,e,i,o);return n?{setter:new Le(n.value,this.validate,this.set,this.priority,this.subPriority),rest:n.rest}:null}validate(t,e,i){return!0}}Math.pow(10,8);const Te=6048e5,Ae=864e5,Oe=/^(1[0-2]|0?\d)/,$e=/^(3[0-1]|[0-2]?\d)/,De=/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,Ne=/^(5[0-3]|[0-4]?\d)/,Pe=/^(2[0-3]|[0-1]?\d)/,je=/^(2[0-4]|[0-1]?\d)/,Ve=/^(1[0-1]|0?\d)/,Be=/^(1[0-2]|0?\d)/,Fe=/^[0-5]?\d/,We=/^[0-5]?\d/,Ue=/^\d/,Ge=/^\d{1,2}/,Ye=/^\d{1,3}/,qe=/^\d{1,4}/,Ze=/^-?\d+/,Xe=/^-?\d/,Qe=/^-?\d{1,2}/,Ke=/^-?\d{1,3}/,Je=/^-?\d{1,4}/,ti=/^([+-])(\d{2})(\d{2})?|Z/,ei=/^([+-])(\d{2})(\d{2})|Z/,ii=/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,oi=/^([+-])(\d{2}):(\d{2})|Z/,ni=/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/;function ri(t,e){return t?{value:e(t.value),rest:t.rest}:t}function si(t,e){const i=e.match(t);return i?{value:parseInt(i[0],10),rest:e.slice(i[0].length)}:null}function ai(t,e){const i=e.match(t);return i?"Z"===i[0]?{value:0,rest:e.slice(1)}:{value:("+"===i[1]?1:-1)*(36e5*(i[2]?parseInt(i[2],10):0)+6e4*(i[3]?parseInt(i[3],10):0)+1e3*(i[5]?parseInt(i[5],10):0)),rest:e.slice(i[0].length)}:null}function li(t){return si(Ze,t)}function ci(t,e){switch(t){case 1:return si(Ue,e);case 2:return si(Ge,e);case 3:return si(Ye,e);case 4:return si(qe,e);default:return si(new RegExp("^\\d{1,"+t+"}"),e)}}function hi(t,e){switch(t){case 1:return si(Xe,e);case 2:return si(Qe,e);case 3:return si(Ke,e);case 4:return si(Je,e);default:return si(new RegExp("^-?\\d{1,"+t+"}"),e)}}function di(t){switch(t){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function ui(t,e){const i=e>0,o=i?e:1-e;let n;if(o<=50)n=t||100;else{const e=o+50;n=t+100*Math.trunc(e/100)-(t>=e%100?100:0)}return i?n:1-n}function pi(t){return t%400==0||t%4==0&&t%100!=0}function gi(t,e){const i=ce(),o=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??i.weekStartsOn??i.locale?.options?.weekStartsOn??0,n=re(t),r=n.getDay(),s=(r<o?7:0)+r-o;return n.setDate(n.getDate()-s),n.setHours(0,0,0,0),n}function mi(t,e){const i=re(t),o=i.getFullYear(),n=ce(),r=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,s=ae(t,0);s.setFullYear(o+1,0,r),s.setHours(0,0,0,0);const a=gi(s,e),l=ae(t,0);l.setFullYear(o,0,r),l.setHours(0,0,0,0);const c=gi(l,e);return i.getTime()>=a.getTime()?o+1:i.getTime()>=c.getTime()?o:o-1}function fi(t){return gi(t,{weekStartsOn:1})}function vi(t,e){const i=re(t),o=+gi(i,e)-+function(t,e){const i=ce(),o=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,n=mi(t,e),r=ae(t,0);return r.setFullYear(n,0,o),r.setHours(0,0,0,0),gi(r,e)}(i,e);return Math.round(o/Te)+1}function bi(t){const e=re(t),i=e.getFullYear(),o=ae(t,0);o.setFullYear(i+1,0,4),o.setHours(0,0,0,0);const n=fi(o),r=ae(t,0);r.setFullYear(i,0,4),r.setHours(0,0,0,0);const s=fi(r);return e.getTime()>=n.getTime()?i+1:e.getTime()>=s.getTime()?i:i-1}function yi(t){const e=re(t),i=+fi(e)-+function(t){const e=bi(t),i=ae(t,0);return i.setFullYear(e,0,4),i.setHours(0,0,0,0),fi(i)}(e);return Math.round(i/Te)+1}const wi=[31,28,31,30,31,30,31,31,30,31,30,31],xi=[31,29,31,30,31,30,31,31,30,31,30,31];function ki(t,e){const i=re(t);return isNaN(e)?ae(t,NaN):e?(i.setDate(i.getDate()+e),i):i}function Ci(t,e,i){const o=ce(),n=i?.weekStartsOn??i?.locale?.options?.weekStartsOn??o.weekStartsOn??o.locale?.options?.weekStartsOn??0,r=re(t),s=r.getDay(),a=7-n;return ki(r,e<0||e>6?e-(s+a)%7:((e%7+7)%7+a)%7-(s+a)%7)}function Mi(t){let e=re(t).getDay();return 0===e&&(e=7),e}function _i(t){const e=re(t),i=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return i.setUTCFullYear(e.getFullYear()),+t-+i}const Si={G:new class extends He{priority=140;parse(t,e,i){switch(e){case"G":case"GG":case"GGG":return i.era(t,{width:"abbreviated"})||i.era(t,{width:"narrow"});case"GGGGG":return i.era(t,{width:"narrow"});default:return i.era(t,{width:"wide"})||i.era(t,{width:"abbreviated"})||i.era(t,{width:"narrow"})}}set(t,e,i){return e.era=i,t.setFullYear(i,0,1),t.setHours(0,0,0,0),t}incompatibleTokens=["R","u","t","T"]},y:new class extends He{priority=130;incompatibleTokens=["Y","R","u","w","I","i","e","c","t","T"];parse(t,e,i){const o=t=>({year:t,isTwoDigitYear:"yy"===e});switch(e){case"y":return ri(ci(4,t),o);case"yo":return ri(i.ordinalNumber(t,{unit:"year"}),o);default:return ri(ci(e.length,t),o)}}validate(t,e){return e.isTwoDigitYear||e.year>0}set(t,e,i){const o=t.getFullYear();if(i.isTwoDigitYear){const e=ui(i.year,o);return t.setFullYear(e,0,1),t.setHours(0,0,0,0),t}const n="era"in e&&1!==e.era?1-i.year:i.year;return t.setFullYear(n,0,1),t.setHours(0,0,0,0),t}},Y:new class extends He{priority=130;parse(t,e,i){const o=t=>({year:t,isTwoDigitYear:"YY"===e});switch(e){case"Y":return ri(ci(4,t),o);case"Yo":return ri(i.ordinalNumber(t,{unit:"year"}),o);default:return ri(ci(e.length,t),o)}}validate(t,e){return e.isTwoDigitYear||e.year>0}set(t,e,i,o){const n=mi(t,o);if(i.isTwoDigitYear){const e=ui(i.year,n);return t.setFullYear(e,0,o.firstWeekContainsDate),t.setHours(0,0,0,0),gi(t,o)}const r="era"in e&&1!==e.era?1-i.year:i.year;return t.setFullYear(r,0,o.firstWeekContainsDate),t.setHours(0,0,0,0),gi(t,o)}incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]},R:new class extends He{priority=130;parse(t,e){return hi("R"===e?4:e.length,t)}set(t,e,i){const o=ae(t,0);return o.setFullYear(i,0,4),o.setHours(0,0,0,0),fi(o)}incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]},u:new class extends He{priority=130;parse(t,e){return hi("u"===e?4:e.length,t)}set(t,e,i){return t.setFullYear(i,0,1),t.setHours(0,0,0,0),t}incompatibleTokens=["G","y","Y","R","w","I","i","e","c","t","T"]},Q:new class extends He{priority=120;parse(t,e,i){switch(e){case"Q":case"QQ":return ci(e.length,t);case"Qo":return i.ordinalNumber(t,{unit:"quarter"});case"QQQ":return i.quarter(t,{width:"abbreviated",context:"formatting"})||i.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return i.quarter(t,{width:"narrow",context:"formatting"});default:return i.quarter(t,{width:"wide",context:"formatting"})||i.quarter(t,{width:"abbreviated",context:"formatting"})||i.quarter(t,{width:"narrow",context:"formatting"})}}validate(t,e){return e>=1&&e<=4}set(t,e,i){return t.setMonth(3*(i-1),1),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]},q:new class extends He{priority=120;parse(t,e,i){switch(e){case"q":case"qq":return ci(e.length,t);case"qo":return i.ordinalNumber(t,{unit:"quarter"});case"qqq":return i.quarter(t,{width:"abbreviated",context:"standalone"})||i.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return i.quarter(t,{width:"narrow",context:"standalone"});default:return i.quarter(t,{width:"wide",context:"standalone"})||i.quarter(t,{width:"abbreviated",context:"standalone"})||i.quarter(t,{width:"narrow",context:"standalone"})}}validate(t,e){return e>=1&&e<=4}set(t,e,i){return t.setMonth(3*(i-1),1),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]},M:new class extends He{incompatibleTokens=["Y","R","q","Q","L","w","I","D","i","e","c","t","T"];priority=110;parse(t,e,i){const o=t=>t-1;switch(e){case"M":return ri(si(Oe,t),o);case"MM":return ri(ci(2,t),o);case"Mo":return ri(i.ordinalNumber(t,{unit:"month"}),o);case"MMM":return i.month(t,{width:"abbreviated",context:"formatting"})||i.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return i.month(t,{width:"narrow",context:"formatting"});default:return i.month(t,{width:"wide",context:"formatting"})||i.month(t,{width:"abbreviated",context:"formatting"})||i.month(t,{width:"narrow",context:"formatting"})}}validate(t,e){return e>=0&&e<=11}set(t,e,i){return t.setMonth(i,1),t.setHours(0,0,0,0),t}},L:new class extends He{priority=110;parse(t,e,i){const o=t=>t-1;switch(e){case"L":return ri(si(Oe,t),o);case"LL":return ri(ci(2,t),o);case"Lo":return ri(i.ordinalNumber(t,{unit:"month"}),o);case"LLL":return i.month(t,{width:"abbreviated",context:"standalone"})||i.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return i.month(t,{width:"narrow",context:"standalone"});default:return i.month(t,{width:"wide",context:"standalone"})||i.month(t,{width:"abbreviated",context:"standalone"})||i.month(t,{width:"narrow",context:"standalone"})}}validate(t,e){return e>=0&&e<=11}set(t,e,i){return t.setMonth(i,1),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]},w:new class extends He{priority=100;parse(t,e,i){switch(e){case"w":return si(Ne,t);case"wo":return i.ordinalNumber(t,{unit:"week"});default:return ci(e.length,t)}}validate(t,e){return e>=1&&e<=53}set(t,e,i,o){return gi(function(t,e,i){const o=re(t),n=vi(o,i)-e;return o.setDate(o.getDate()-7*n),o}(t,i,o),o)}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","i","t","T"]},I:new class extends He{priority=100;parse(t,e,i){switch(e){case"I":return si(Ne,t);case"Io":return i.ordinalNumber(t,{unit:"week"});default:return ci(e.length,t)}}validate(t,e){return e>=1&&e<=53}set(t,e,i){return fi(function(t,e){const i=re(t),o=yi(i)-e;return i.setDate(i.getDate()-7*o),i}(t,i))}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]},d:new class extends He{priority=90;subPriority=1;parse(t,e,i){switch(e){case"d":return si($e,t);case"do":return i.ordinalNumber(t,{unit:"date"});default:return ci(e.length,t)}}validate(t,e){const i=pi(t.getFullYear()),o=t.getMonth();return i?e>=1&&e<=xi[o]:e>=1&&e<=wi[o]}set(t,e,i){return t.setDate(i),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","Q","w","I","D","i","e","c","t","T"]},D:new class extends He{priority=90;subpriority=1;parse(t,e,i){switch(e){case"D":case"DD":return si(De,t);case"Do":return i.ordinalNumber(t,{unit:"date"});default:return ci(e.length,t)}}validate(t,e){return pi(t.getFullYear())?e>=1&&e<=366:e>=1&&e<=365}set(t,e,i){return t.setMonth(0,i),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]},E:new class extends He{priority=90;parse(t,e,i){switch(e){case"E":case"EE":case"EEE":return i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return i.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"});default:return i.day(t,{width:"wide",context:"formatting"})||i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"})}}validate(t,e){return e>=0&&e<=6}set(t,e,i,o){return(t=Ci(t,i,o)).setHours(0,0,0,0),t}incompatibleTokens=["D","i","e","c","t","T"]},e:new class extends He{priority=90;parse(t,e,i,o){const n=t=>{const e=7*Math.floor((t-1)/7);return(t+o.weekStartsOn+6)%7+e};switch(e){case"e":case"ee":return ri(ci(e.length,t),n);case"eo":return ri(i.ordinalNumber(t,{unit:"day"}),n);case"eee":return i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"});case"eeeee":return i.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"});default:return i.day(t,{width:"wide",context:"formatting"})||i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"})}}validate(t,e){return e>=0&&e<=6}set(t,e,i,o){return(t=Ci(t,i,o)).setHours(0,0,0,0),t}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]},c:new class extends He{priority=90;parse(t,e,i,o){const n=t=>{const e=7*Math.floor((t-1)/7);return(t+o.weekStartsOn+6)%7+e};switch(e){case"c":case"cc":return ri(ci(e.length,t),n);case"co":return ri(i.ordinalNumber(t,{unit:"day"}),n);case"ccc":return i.day(t,{width:"abbreviated",context:"standalone"})||i.day(t,{width:"short",context:"standalone"})||i.day(t,{width:"narrow",context:"standalone"});case"ccccc":return i.day(t,{width:"narrow",context:"standalone"});case"cccccc":return i.day(t,{width:"short",context:"standalone"})||i.day(t,{width:"narrow",context:"standalone"});default:return i.day(t,{width:"wide",context:"standalone"})||i.day(t,{width:"abbreviated",context:"standalone"})||i.day(t,{width:"short",context:"standalone"})||i.day(t,{width:"narrow",context:"standalone"})}}validate(t,e){return e>=0&&e<=6}set(t,e,i,o){return(t=Ci(t,i,o)).setHours(0,0,0,0),t}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]},i:new class extends He{priority=90;parse(t,e,i){const o=t=>0===t?7:t;switch(e){case"i":case"ii":return ci(e.length,t);case"io":return i.ordinalNumber(t,{unit:"day"});case"iii":return ri(i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"}),o);case"iiiii":return ri(i.day(t,{width:"narrow",context:"formatting"}),o);case"iiiiii":return ri(i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"}),o);default:return ri(i.day(t,{width:"wide",context:"formatting"})||i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"}),o)}}validate(t,e){return e>=1&&e<=7}set(t,e,i){return(t=function(t,e){const i=re(t);return ki(i,e-Mi(i))}(t,i)).setHours(0,0,0,0),t}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]},a:new class extends He{priority=80;parse(t,e,i){switch(e){case"a":case"aa":case"aaa":return i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return i.dayPeriod(t,{width:"narrow",context:"formatting"});default:return i.dayPeriod(t,{width:"wide",context:"formatting"})||i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,e,i){return t.setHours(di(i),0,0,0),t}incompatibleTokens=["b","B","H","k","t","T"]},b:new class extends He{priority=80;parse(t,e,i){switch(e){case"b":case"bb":case"bbb":return i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return i.dayPeriod(t,{width:"narrow",context:"formatting"});default:return i.dayPeriod(t,{width:"wide",context:"formatting"})||i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,e,i){return t.setHours(di(i),0,0,0),t}incompatibleTokens=["a","B","H","k","t","T"]},B:new class extends He{priority=80;parse(t,e,i){switch(e){case"B":case"BB":case"BBB":return i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return i.dayPeriod(t,{width:"narrow",context:"formatting"});default:return i.dayPeriod(t,{width:"wide",context:"formatting"})||i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,e,i){return t.setHours(di(i),0,0,0),t}incompatibleTokens=["a","b","t","T"]},h:new class extends He{priority=70;parse(t,e,i){switch(e){case"h":return si(Be,t);case"ho":return i.ordinalNumber(t,{unit:"hour"});default:return ci(e.length,t)}}validate(t,e){return e>=1&&e<=12}set(t,e,i){const o=t.getHours()>=12;return o&&i<12?t.setHours(i+12,0,0,0):o||12!==i?t.setHours(i,0,0,0):t.setHours(0,0,0,0),t}incompatibleTokens=["H","K","k","t","T"]},H:new class extends He{priority=70;parse(t,e,i){switch(e){case"H":return si(Pe,t);case"Ho":return i.ordinalNumber(t,{unit:"hour"});default:return ci(e.length,t)}}validate(t,e){return e>=0&&e<=23}set(t,e,i){return t.setHours(i,0,0,0),t}incompatibleTokens=["a","b","h","K","k","t","T"]},K:new class extends He{priority=70;parse(t,e,i){switch(e){case"K":return si(Ve,t);case"Ko":return i.ordinalNumber(t,{unit:"hour"});default:return ci(e.length,t)}}validate(t,e){return e>=0&&e<=11}set(t,e,i){return t.getHours()>=12&&i<12?t.setHours(i+12,0,0,0):t.setHours(i,0,0,0),t}incompatibleTokens=["h","H","k","t","T"]},k:new class extends He{priority=70;parse(t,e,i){switch(e){case"k":return si(je,t);case"ko":return i.ordinalNumber(t,{unit:"hour"});default:return ci(e.length,t)}}validate(t,e){return e>=1&&e<=24}set(t,e,i){const o=i<=24?i%24:i;return t.setHours(o,0,0,0),t}incompatibleTokens=["a","b","h","H","K","t","T"]},m:new class extends He{priority=60;parse(t,e,i){switch(e){case"m":return si(Fe,t);case"mo":return i.ordinalNumber(t,{unit:"minute"});default:return ci(e.length,t)}}validate(t,e){return e>=0&&e<=59}set(t,e,i){return t.setMinutes(i,0,0),t}incompatibleTokens=["t","T"]},s:new class extends He{priority=50;parse(t,e,i){switch(e){case"s":return si(We,t);case"so":return i.ordinalNumber(t,{unit:"second"});default:return ci(e.length,t)}}validate(t,e){return e>=0&&e<=59}set(t,e,i){return t.setSeconds(i,0),t}incompatibleTokens=["t","T"]},S:new class extends He{priority=30;parse(t,e){return ri(ci(e.length,t),(t=>Math.trunc(t*Math.pow(10,3-e.length))))}set(t,e,i){return t.setMilliseconds(i),t}incompatibleTokens=["t","T"]},X:new class extends He{priority=10;parse(t,e){switch(e){case"X":return ai(ti,t);case"XX":return ai(ei,t);case"XXXX":return ai(ii,t);case"XXXXX":return ai(ni,t);default:return ai(oi,t)}}set(t,e,i){return e.timestampIsSet?t:ae(t,t.getTime()-_i(t)-i)}incompatibleTokens=["t","T","x"]},x:new class extends He{priority=10;parse(t,e){switch(e){case"x":return ai(ti,t);case"xx":return ai(ei,t);case"xxxx":return ai(ii,t);case"xxxxx":return ai(ni,t);default:return ai(oi,t)}}set(t,e,i){return e.timestampIsSet?t:ae(t,t.getTime()-_i(t)-i)}incompatibleTokens=["t","T","X"]},t:new class extends He{priority=40;parse(t){return li(t)}set(t,e,i){return[ae(t,1e3*i),{timestampIsSet:!0}]}incompatibleTokens="*"},T:new class extends He{priority=20;parse(t){return li(t)}set(t,e,i){return[ae(t,i),{timestampIsSet:!0}]}incompatibleTokens="*"}},Ei=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,zi=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Ri=/^'([^]*?)'?$/,Li=/''/g,Ii=/\S/,Hi=/[a-zA-Z]/;function Ti(t,e,i,o){const n=Object.assign({},ce()),r=o?.locale??n.locale??ye,s=o?.firstWeekContainsDate??o?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,a=o?.weekStartsOn??o?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0;if(""===e)return""===t?re(i):ae(i,NaN);const l={firstWeekContainsDate:s,weekStartsOn:a,locale:r},c=[new Ie],h=e.match(zi).map((t=>{const e=t[0];return e in ke?(0,ke[e])(t,r.formatLong):t})).join("").match(Ei),d=[];for(let n of h){!o?.useAdditionalWeekYearTokens&&Ee(n)&&ze(n,e,t),!o?.useAdditionalDayOfYearTokens&&Se(n)&&ze(n,e,t);const s=n[0],a=Si[s];if(a){const{incompatibleTokens:e}=a;if(Array.isArray(e)){const t=d.find((t=>e.includes(t.token)||t.token===s));if(t)throw new RangeError(`The format string mustn't contain \`${t.fullToken}\` and \`${n}\` at the same time`)}else if("*"===a.incompatibleTokens&&d.length>0)throw new RangeError(`The format string mustn't contain \`${n}\` and any other token at the same time`);d.push({token:s,fullToken:n});const o=a.run(t,n,r.match,l);if(!o)return ae(i,NaN);c.push(o.setter),t=o.rest}else{if(s.match(Hi))throw new RangeError("Format string contains an unescaped latin alphabet character `"+s+"`");if("''"===n?n="'":"'"===s&&(n=n.match(Ri)[1].replace(Li,"'")),0!==t.indexOf(n))return ae(i,NaN);t=t.slice(n.length)}}if(t.length>0&&Ii.test(t))return ae(i,NaN);const u=c.map((t=>t.priority)).sort(((t,e)=>e-t)).filter(((t,e,i)=>i.indexOf(t)===e)).map((t=>c.filter((e=>e.priority===t)).sort(((t,e)=>e.subPriority-t.subPriority)))).map((t=>t[0]));let p=re(i);if(isNaN(p.getTime()))return ae(i,NaN);const g={};for(const t of u){if(!t.validate(p,l))return ae(i,NaN);const e=t.set(p,g,l);Array.isArray(e)?(p=e[0],Object.assign(g,e[1])):p=e}return ae(i,p)}function Ai(t,e){const i=se(t),o=se(e),n=+i-_i(i),r=+o-_i(o);return Math.round((n-r)/Ae)}function Oi(t){const e=re(t),i=ae(t,0);return i.setFullYear(e.getFullYear(),0,1),i.setHours(0,0,0,0),i}function $i(t,e){return(t<0?"-":"")+Math.abs(t).toString().padStart(e,"0")}const Di={y(t,e){const i=t.getFullYear(),o=i>0?i:1-i;return $i("yy"===e?o%100:o,e.length)},M(t,e){const i=t.getMonth();return"M"===e?String(i+1):$i(i+1,2)},d:(t,e)=>$i(t.getDate(),e.length),a(t,e){const i=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return i.toUpperCase();case"aaa":return i;case"aaaaa":return i[0];default:return"am"===i?"a.m.":"p.m."}},h:(t,e)=>$i(t.getHours()%12||12,e.length),H:(t,e)=>$i(t.getHours(),e.length),m:(t,e)=>$i(t.getMinutes(),e.length),s:(t,e)=>$i(t.getSeconds(),e.length),S(t,e){const i=e.length,o=t.getMilliseconds();return $i(Math.trunc(o*Math.pow(10,i-3)),e.length)}},Ni={G:function(t,e,i){const o=t.getFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return i.era(o,{width:"abbreviated"});case"GGGGG":return i.era(o,{width:"narrow"});default:return i.era(o,{width:"wide"})}},y:function(t,e,i){if("yo"===e){const e=t.getFullYear(),o=e>0?e:1-e;return i.ordinalNumber(o,{unit:"year"})}return Di.y(t,e)},Y:function(t,e,i,o){const n=mi(t,o),r=n>0?n:1-n;return"YY"===e?$i(r%100,2):"Yo"===e?i.ordinalNumber(r,{unit:"year"}):$i(r,e.length)},R:function(t,e){return $i(bi(t),e.length)},u:function(t,e){return $i(t.getFullYear(),e.length)},Q:function(t,e,i){const o=Math.ceil((t.getMonth()+1)/3);switch(e){case"Q":return String(o);case"QQ":return $i(o,2);case"Qo":return i.ordinalNumber(o,{unit:"quarter"});case"QQQ":return i.quarter(o,{width:"abbreviated",context:"formatting"});case"QQQQQ":return i.quarter(o,{width:"narrow",context:"formatting"});default:return i.quarter(o,{width:"wide",context:"formatting"})}},q:function(t,e,i){const o=Math.ceil((t.getMonth()+1)/3);switch(e){case"q":return String(o);case"qq":return $i(o,2);case"qo":return i.ordinalNumber(o,{unit:"quarter"});case"qqq":return i.quarter(o,{width:"abbreviated",context:"standalone"});case"qqqqq":return i.quarter(o,{width:"narrow",context:"standalone"});default:return i.quarter(o,{width:"wide",context:"standalone"})}},M:function(t,e,i){const o=t.getMonth();switch(e){case"M":case"MM":return Di.M(t,e);case"Mo":return i.ordinalNumber(o+1,{unit:"month"});case"MMM":return i.month(o,{width:"abbreviated",context:"formatting"});case"MMMMM":return i.month(o,{width:"narrow",context:"formatting"});default:return i.month(o,{width:"wide",context:"formatting"})}},L:function(t,e,i){const o=t.getMonth();switch(e){case"L":return String(o+1);case"LL":return $i(o+1,2);case"Lo":return i.ordinalNumber(o+1,{unit:"month"});case"LLL":return i.month(o,{width:"abbreviated",context:"standalone"});case"LLLLL":return i.month(o,{width:"narrow",context:"standalone"});default:return i.month(o,{width:"wide",context:"standalone"})}},w:function(t,e,i,o){const n=vi(t,o);return"wo"===e?i.ordinalNumber(n,{unit:"week"}):$i(n,e.length)},I:function(t,e,i){const o=yi(t);return"Io"===e?i.ordinalNumber(o,{unit:"week"}):$i(o,e.length)},d:function(t,e,i){return"do"===e?i.ordinalNumber(t.getDate(),{unit:"date"}):Di.d(t,e)},D:function(t,e,i){const o=function(t){const e=re(t);return Ai(e,Oi(e))+1}(t);return"Do"===e?i.ordinalNumber(o,{unit:"dayOfYear"}):$i(o,e.length)},E:function(t,e,i){const o=t.getDay();switch(e){case"E":case"EE":case"EEE":return i.day(o,{width:"abbreviated",context:"formatting"});case"EEEEE":return i.day(o,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(o,{width:"short",context:"formatting"});default:return i.day(o,{width:"wide",context:"formatting"})}},e:function(t,e,i,o){const n=t.getDay(),r=(n-o.weekStartsOn+8)%7||7;switch(e){case"e":return String(r);case"ee":return $i(r,2);case"eo":return i.ordinalNumber(r,{unit:"day"});case"eee":return i.day(n,{width:"abbreviated",context:"formatting"});case"eeeee":return i.day(n,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(n,{width:"short",context:"formatting"});default:return i.day(n,{width:"wide",context:"formatting"})}},c:function(t,e,i,o){const n=t.getDay(),r=(n-o.weekStartsOn+8)%7||7;switch(e){case"c":return String(r);case"cc":return $i(r,e.length);case"co":return i.ordinalNumber(r,{unit:"day"});case"ccc":return i.day(n,{width:"abbreviated",context:"standalone"});case"ccccc":return i.day(n,{width:"narrow",context:"standalone"});case"cccccc":return i.day(n,{width:"short",context:"standalone"});default:return i.day(n,{width:"wide",context:"standalone"})}},i:function(t,e,i){const o=t.getDay(),n=0===o?7:o;switch(e){case"i":return String(n);case"ii":return $i(n,e.length);case"io":return i.ordinalNumber(n,{unit:"day"});case"iii":return i.day(o,{width:"abbreviated",context:"formatting"});case"iiiii":return i.day(o,{width:"narrow",context:"formatting"});case"iiiiii":return i.day(o,{width:"short",context:"formatting"});default:return i.day(o,{width:"wide",context:"formatting"})}},a:function(t,e,i){const o=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return i.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return i.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return i.dayPeriod(o,{width:"narrow",context:"formatting"});default:return i.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(t,e,i){const o=t.getHours();let n;switch(n=12===o?"noon":0===o?"midnight":o/12>=1?"pm":"am",e){case"b":case"bb":return i.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"bbb":return i.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return i.dayPeriod(n,{width:"narrow",context:"formatting"});default:return i.dayPeriod(n,{width:"wide",context:"formatting"})}},B:function(t,e,i){const o=t.getHours();let n;switch(n=o>=17?"evening":o>=12?"afternoon":o>=4?"morning":"night",e){case"B":case"BB":case"BBB":return i.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"BBBBB":return i.dayPeriod(n,{width:"narrow",context:"formatting"});default:return i.dayPeriod(n,{width:"wide",context:"formatting"})}},h:function(t,e,i){if("ho"===e){let e=t.getHours()%12;return 0===e&&(e=12),i.ordinalNumber(e,{unit:"hour"})}return Di.h(t,e)},H:function(t,e,i){return"Ho"===e?i.ordinalNumber(t.getHours(),{unit:"hour"}):Di.H(t,e)},K:function(t,e,i){const o=t.getHours()%12;return"Ko"===e?i.ordinalNumber(o,{unit:"hour"}):$i(o,e.length)},k:function(t,e,i){let o=t.getHours();return 0===o&&(o=24),"ko"===e?i.ordinalNumber(o,{unit:"hour"}):$i(o,e.length)},m:function(t,e,i){return"mo"===e?i.ordinalNumber(t.getMinutes(),{unit:"minute"}):Di.m(t,e)},s:function(t,e,i){return"so"===e?i.ordinalNumber(t.getSeconds(),{unit:"second"}):Di.s(t,e)},S:function(t,e){return Di.S(t,e)},X:function(t,e,i){const o=t.getTimezoneOffset();if(0===o)return"Z";switch(e){case"X":return ji(o);case"XXXX":case"XX":return Vi(o);default:return Vi(o,":")}},x:function(t,e,i){const o=t.getTimezoneOffset();switch(e){case"x":return ji(o);case"xxxx":case"xx":return Vi(o);default:return Vi(o,":")}},O:function(t,e,i){const o=t.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+Pi(o,":");default:return"GMT"+Vi(o,":")}},z:function(t,e,i){const o=t.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+Pi(o,":");default:return"GMT"+Vi(o,":")}},t:function(t,e,i){return $i(Math.trunc(t.getTime()/1e3),e.length)},T:function(t,e,i){return $i(t.getTime(),e.length)}};function Pi(t,e=""){const i=t>0?"-":"+",o=Math.abs(t),n=Math.trunc(o/60),r=o%60;return 0===r?i+String(n):i+String(n)+e+$i(r,2)}function ji(t,e){return t%60==0?(t>0?"-":"+")+$i(Math.abs(t)/60,2):Vi(t,e)}function Vi(t,e=""){const i=t>0?"-":"+",o=Math.abs(t);return i+$i(Math.trunc(o/60),2)+e+$i(o%60,2)}function Bi(t){if(!(e=t,e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e)||"number"==typeof t))return!1;var e;const i=re(t);return!isNaN(Number(i))}const Fi=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Wi=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Ui=/^'([^]*?)'?$/,Gi=/''/g,Yi=/[a-zA-Z]/;function qi(t,e,i){const o=ce(),n=i?.locale??o.locale??ye,r=i?.firstWeekContainsDate??i?.locale?.options?.firstWeekContainsDate??o.firstWeekContainsDate??o.locale?.options?.firstWeekContainsDate??1,s=i?.weekStartsOn??i?.locale?.options?.weekStartsOn??o.weekStartsOn??o.locale?.options?.weekStartsOn??0,a=re(t);if(!Bi(a))throw new RangeError("Invalid time value");let l=e.match(Wi).map((t=>{const e=t[0];return"p"===e||"P"===e?(0,ke[e])(t,n.formatLong):t})).join("").match(Fi).map((t=>{if("''"===t)return{isToken:!1,value:"'"};const e=t[0];if("'"===e)return{isToken:!1,value:Zi(t)};if(Ni[e])return{isToken:!0,value:t};if(e.match(Yi))throw new RangeError("Format string contains an unescaped latin alphabet character `"+e+"`");return{isToken:!1,value:t}}));n.localize.preprocessor&&(l=n.localize.preprocessor(a,l));const c={firstWeekContainsDate:r,weekStartsOn:s,locale:n};return l.map((o=>{if(!o.isToken)return o.value;const r=o.value;return(!i?.useAdditionalWeekYearTokens&&Ee(r)||!i?.useAdditionalDayOfYearTokens&&Se(r))&&ze(r,e,String(t)),(0,Ni[r[0]])(a,r,n.localize,c)})).join("")}function Zi(t){const e=t.match(Ui);return e?e[1].replace(Gi,"'"):t}function Xi(t,e){const i=re(t);if(isNaN(e))return ae(t,NaN);if(!e)return i;const o=i.getDate(),n=ae(t,i.getTime());return n.setMonth(i.getMonth()+e+1,0),o>=n.getDate()?n:(i.setFullYear(n.getFullYear(),n.getMonth(),o),i)}function Qi(t,e){return function(t,e){return Xi(t,12*e)}(t,-e)}function Ki(t){const e=re(t),i=e.getMonth();return e.setFullYear(e.getFullYear(),i+1,0),e.setHours(23,59,59,999),e}function Ji(t,e){const i=re(t),o=re(e),n=to(i,o),r=Math.abs(Ai(i,o));i.setDate(i.getDate()-n*r);const s=n*(r-Number(to(i,o)===-n));return 0===s?0:s}function to(t,e){const i=t.getFullYear()-e.getFullYear()||t.getMonth()-e.getMonth()||t.getDate()-e.getDate()||t.getHours()-e.getHours()||t.getMinutes()-e.getMinutes()||t.getSeconds()-e.getSeconds()||t.getMilliseconds()-e.getMilliseconds();return i<0?-1:i>0?1:i}function eo(t,e){return ki(t,-e)}function io(t,e){return Xi(t,-e)}const oo={lessThanXSeconds:{one:{regular:"méně než 1 sekunda",past:"před méně než 1 sekundou",future:"za méně než 1 sekundu"},few:{regular:"méně než {{count}} sekundy",past:"před méně než {{count}} sekundami",future:"za méně než {{count}} sekundy"},many:{regular:"méně než {{count}} sekund",past:"před méně než {{count}} sekundami",future:"za méně než {{count}} sekund"}},xSeconds:{one:{regular:"1 sekunda",past:"před 1 sekundou",future:"za 1 sekundu"},few:{regular:"{{count}} sekundy",past:"před {{count}} sekundami",future:"za {{count}} sekundy"},many:{regular:"{{count}} sekund",past:"před {{count}} sekundami",future:"za {{count}} sekund"}},halfAMinute:{type:"other",other:{regular:"půl minuty",past:"před půl minutou",future:"za půl minuty"}},lessThanXMinutes:{one:{regular:"méně než 1 minuta",past:"před méně než 1 minutou",future:"za méně než 1 minutu"},few:{regular:"méně než {{count}} minuty",past:"před méně než {{count}} minutami",future:"za méně než {{count}} minuty"},many:{regular:"méně než {{count}} minut",past:"před méně než {{count}} minutami",future:"za méně než {{count}} minut"}},xMinutes:{one:{regular:"1 minuta",past:"před 1 minutou",future:"za 1 minutu"},few:{regular:"{{count}} minuty",past:"před {{count}} minutami",future:"za {{count}} minuty"},many:{regular:"{{count}} minut",past:"před {{count}} minutami",future:"za {{count}} minut"}},aboutXHours:{one:{regular:"přibližně 1 hodina",past:"přibližně před 1 hodinou",future:"přibližně za 1 hodinu"},few:{regular:"přibližně {{count}} hodiny",past:"přibližně před {{count}} hodinami",future:"přibližně za {{count}} hodiny"},many:{regular:"přibližně {{count}} hodin",past:"přibližně před {{count}} hodinami",future:"přibližně za {{count}} hodin"}},xHours:{one:{regular:"1 hodina",past:"před 1 hodinou",future:"za 1 hodinu"},few:{regular:"{{count}} hodiny",past:"před {{count}} hodinami",future:"za {{count}} hodiny"},many:{regular:"{{count}} hodin",past:"před {{count}} hodinami",future:"za {{count}} hodin"}},xDays:{one:{regular:"1 den",past:"před 1 dnem",future:"za 1 den"},few:{regular:"{{count}} dny",past:"před {{count}} dny",future:"za {{count}} dny"},many:{regular:"{{count}} dní",past:"před {{count}} dny",future:"za {{count}} dní"}},aboutXWeeks:{one:{regular:"přibližně 1 týden",past:"přibližně před 1 týdnem",future:"přibližně za 1 týden"},few:{regular:"přibližně {{count}} týdny",past:"přibližně před {{count}} týdny",future:"přibližně za {{count}} týdny"},many:{regular:"přibližně {{count}} týdnů",past:"přibližně před {{count}} týdny",future:"přibližně za {{count}} týdnů"}},xWeeks:{one:{regular:"1 týden",past:"před 1 týdnem",future:"za 1 týden"},few:{regular:"{{count}} týdny",past:"před {{count}} týdny",future:"za {{count}} týdny"},many:{regular:"{{count}} týdnů",past:"před {{count}} týdny",future:"za {{count}} týdnů"}},aboutXMonths:{one:{regular:"přibližně 1 měsíc",past:"přibližně před 1 měsícem",future:"přibližně za 1 měsíc"},few:{regular:"přibližně {{count}} měsíce",past:"přibližně před {{count}} měsíci",future:"přibližně za {{count}} měsíce"},many:{regular:"přibližně {{count}} měsíců",past:"přibližně před {{count}} měsíci",future:"přibližně za {{count}} měsíců"}},xMonths:{one:{regular:"1 měsíc",past:"před 1 měsícem",future:"za 1 měsíc"},few:{regular:"{{count}} měsíce",past:"před {{count}} měsíci",future:"za {{count}} měsíce"},many:{regular:"{{count}} měsíců",past:"před {{count}} měsíci",future:"za {{count}} měsíců"}},aboutXYears:{one:{regular:"přibližně 1 rok",past:"přibližně před 1 rokem",future:"přibližně za 1 rok"},few:{regular:"přibližně {{count}} roky",past:"přibližně před {{count}} roky",future:"přibližně za {{count}} roky"},many:{regular:"přibližně {{count}} roků",past:"přibližně před {{count}} roky",future:"přibližně za {{count}} roků"}},xYears:{one:{regular:"1 rok",past:"před 1 rokem",future:"za 1 rok"},few:{regular:"{{count}} roky",past:"před {{count}} roky",future:"za {{count}} roky"},many:{regular:"{{count}} roků",past:"před {{count}} roky",future:"za {{count}} roků"}},overXYears:{one:{regular:"více než 1 rok",past:"před více než 1 rokem",future:"za více než 1 rok"},few:{regular:"více než {{count}} roky",past:"před více než {{count}} roky",future:"za více než {{count}} roky"},many:{regular:"více než {{count}} roků",past:"před více než {{count}} roky",future:"za více než {{count}} roků"}},almostXYears:{one:{regular:"skoro 1 rok",past:"skoro před 1 rokem",future:"skoro za 1 rok"},few:{regular:"skoro {{count}} roky",past:"skoro před {{count}} roky",future:"skoro za {{count}} roky"},many:{regular:"skoro {{count}} roků",past:"skoro před {{count}} roky",future:"skoro za {{count}} roků"}}},no={date:de({formats:{full:"EEEE, d. MMMM yyyy",long:"d. MMMM yyyy",medium:"d. M. yyyy",short:"dd.MM.yyyy"},defaultWidth:"full"}),time:de({formats:{full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},defaultWidth:"full"}),dateTime:de({formats:{full:"{{date}} 'v' {{time}}",long:"{{date}} 'v' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},ro=["neděli","pondělí","úterý","středu","čtvrtek","pátek","sobotu"],so={lastWeek:"'poslední' eeee 've' p",yesterday:"'včera v' p",today:"'dnes v' p",tomorrow:"'zítra v' p",nextWeek:t=>{const e=t.getDay();return"'v "+ro[e]+" o' p"},other:"P"},ao={ordinalNumber:(t,e)=>Number(t)+".",era:ge({values:{narrow:["př. n. l.","n. l."],abbreviated:["př. n. l.","n. l."],wide:["před naším letopočtem","našeho letopočtu"]},defaultWidth:"wide"}),quarter:ge({values:{narrow:["1","2","3","4"],abbreviated:["1. čtvrtletí","2. čtvrtletí","3. čtvrtletí","4. čtvrtletí"],wide:["1. čtvrtletí","2. čtvrtletí","3. čtvrtletí","4. čtvrtletí"]},defaultWidth:"wide",argumentCallback:t=>t-1}),month:ge({values:{narrow:["L","Ú","B","D","K","Č","Č","S","Z","Ř","L","P"],abbreviated:["led","úno","bře","dub","kvě","čvn","čvc","srp","zář","říj","lis","pro"],wide:["leden","únor","březen","duben","květen","červen","červenec","srpen","září","říjen","listopad","prosinec"]},defaultWidth:"wide",formattingValues:{narrow:["L","Ú","B","D","K","Č","Č","S","Z","Ř","L","P"],abbreviated:["led","úno","bře","dub","kvě","čvn","čvc","srp","zář","říj","lis","pro"],wide:["ledna","února","března","dubna","května","června","července","srpna","září","října","listopadu","prosince"]},defaultFormattingWidth:"wide"}),day:ge({values:{narrow:["ne","po","út","st","čt","pá","so"],short:["ne","po","út","st","čt","pá","so"],abbreviated:["ned","pon","úte","stř","čtv","pát","sob"],wide:["neděle","pondělí","úterý","středa","čtvrtek","pátek","sobota"]},defaultWidth:"wide"}),dayPeriod:ge({values:{narrow:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},abbreviated:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},wide:{am:"dopoledne",pm:"odpoledne",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"}},defaultWidth:"wide",formattingValues:{narrow:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},abbreviated:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},wide:{am:"dopoledne",pm:"odpoledne",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"}},defaultFormattingWidth:"wide"})},lo={ordinalNumber:ve({matchPattern:/^(\d+)\.?/i,parsePattern:/\d+/i,valueCallback:t=>parseInt(t,10)}),era:fe({matchPatterns:{narrow:/^(p[řr](\.|ed) Kr\.|p[řr](\.|ed) n\. l\.|po Kr\.|n\. l\.)/i,abbreviated:/^(p[řr](\.|ed) Kr\.|p[řr](\.|ed) n\. l\.|po Kr\.|n\. l\.)/i,wide:/^(p[řr](\.|ed) Kristem|p[řr](\.|ed) na[šs][íi]m letopo[čc]tem|po Kristu|na[šs]eho letopo[čc]tu)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^p[řr]/i,/^(po|n)/i]},defaultParseWidth:"any"}),quarter:fe({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^[1234]\. [čc]tvrtlet[íi]/i,wide:/^[1234]\. [čc]tvrtlet[íi]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:t=>t+1}),month:fe({matchPatterns:{narrow:/^[lúubdkčcszřrlp]/i,abbreviated:/^(led|[úu]no|b[řr]e|dub|kv[ěe]|[čc]vn|[čc]vc|srp|z[áa][řr]|[řr][íi]j|lis|pro)/i,wide:/^(leden|ledna|[úu]nora?|b[řr]ezen|b[řr]ezna|duben|dubna|kv[ěe]ten|kv[ěe]tna|[čc]erven(ec|ce)?|[čc]ervna|srpen|srpna|z[áa][řr][íi]|[řr][íi]jen|[řr][íi]jna|listopad(a|u)?|prosinec|prosince)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^l/i,/^[úu]/i,/^b/i,/^d/i,/^k/i,/^[čc]/i,/^[čc]/i,/^s/i,/^z/i,/^[řr]/i,/^l/i,/^p/i],any:[/^led/i,/^[úu]n/i,/^b[řr]e/i,/^dub/i,/^kv[ěe]/i,/^[čc]vn|[čc]erven(?!\w)|[čc]ervna/i,/^[čc]vc|[čc]erven(ec|ce)/i,/^srp/i,/^z[áa][řr]/i,/^[řr][íi]j/i,/^lis/i,/^pro/i]},defaultParseWidth:"any"}),day:fe({matchPatterns:{narrow:/^[npuúsčps]/i,short:/^(ne|po|[úu]t|st|[čc]t|p[áa]|so)/i,abbreviated:/^(ned|pon|[úu]te|st[rř]|[čc]tv|p[áa]t|sob)/i,wide:/^(ned[ěe]le|pond[ěe]l[íi]|[úu]ter[ýy]|st[řr]eda|[čc]tvrtek|p[áa]tek|sobota)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^n/i,/^p/i,/^[úu]/i,/^s/i,/^[čc]/i,/^p/i,/^s/i],any:[/^ne/i,/^po/i,/^[úu]t/i,/^st/i,/^[čc]t/i,/^p[áa]/i,/^so/i]},defaultParseWidth:"any"}),dayPeriod:fe({matchPatterns:{any:/^dopoledne|dop\.?|odpoledne|odp\.?|p[ůu]lnoc|poledne|r[áa]no|odpoledne|ve[čc]er|(v )?noci?/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^dop/i,pm:/^odp/i,midnight:/^p[ůu]lnoc/i,noon:/^poledne/i,morning:/r[áa]no/i,afternoon:/odpoledne/i,evening:/ve[čc]er/i,night:/noc/i}},defaultParseWidth:"any"})},co={code:"cs",formatDistance:(t,e,i)=>{let o;const n=oo[t];o="other"===n.type?n.other:1===e?n.one:e>1&&e<5?n.few:n.many;const r=!0===i?.addSuffix,s=i?.comparison;let a;return a=r&&-1===s?o.past:r&&1===s?o.future:o.regular,a.replace("{{count}}",String(e))},formatLong:no,formatRelative:(t,e)=>{const i=so[t];return"function"==typeof i?i(e):i},localize:ao,match:lo,options:{weekStartsOn:1,firstWeekContainsDate:4}};class ho extends Event{constructor(t){super("localechange"),this.locale=t}}function uo(){return"undefined"!=typeof navigator?navigator.languages&&navigator.languages.length?navigator.languages[0]:navigator.language:"en"}const po=new Map,go=new Map;let mo=uo();function fo(t,e){(Array.isArray(t)?t:[t]).forEach((t=>po.set(t,e)))}function vo(){return mo}function bo(t){return po.has(t)}function yo(t){if(!po.has(t)){let t=mo;null==t&&(po.has("en")?t="en":po.size>0&&(t=po.keys().next().value))}go.has(t)||go.set(t,new Map);const e=go.get(t);po.get(t)?.forEach((t=>e.set(t.source,t))),mo!==t&&(mo=t,document.dispatchEvent(new ho(t)))}function wo(t){const e=Array.from(t.matchAll(/\{([^}]+)\}/g)).map((t=>({name:t[1],start:t.index,end:t.index+t[0].length})));return i=>{if(!i)return t;let o="",n=0;for(const r of e){o+=t.slice(n,r.start);const e=i[r.name];o+=null!=e?String(e):"",n=r.end}return o+t.slice(n)}}function xo(t,e){if(Array.isArray(t))return t.map((t=>xo(t,e))).join(e?.separator??" ");if(null==t||""===t)return"";const i=t.toLowerCase();let o=go.get(mo);o||(o=new Map,go.set(mo,o));let n=o.get(i);if(n||(n={id:e?.id??null,source:i,target:i},o.set(i,n)),e?.data&&!n.translate&&(n.translate=wo(n.target)),!n)return t;let r=n.translate?n.translate(e?.data):n.target;return null==r||""===r?"":(t.length>0&&t[0]===t[0].toUpperCase()&&(r=r[0].toUpperCase()+r.slice(1)),r)}const ko={af:["af-ZA"],ar:["ar-AE","ar-BH","ar-DZ","ar-EG","ar-IQ","ar-JO","ar-KW","ar-LB","ar-LY","ar-MA","ar-OM","ar-QA","ar-SA","ar-SY","ar-TN","ar-YE"],az:["az-AZ"],be:["be-BY"],bg:["bg-BG"],ca:["ca-ES"],cs:["cs-CZ"],cy:["cy-GB"],da:["da-DK"],de:["de-DE","de-AT","de-CH","de-LI","de-LU"],dv:["dv-MV"],el:["el-GR"],en:["en-US","en-AU","en-BZ","en-CA","en-CB","en-GB","en-IE","en-JM","en-NZ","en-PH","en-TT","en-ZA","en-ZW"],eo:["eo"],es:["es-ES","es-AR","es-BO","es-CL","es-CO","es-CR","es-DO","es-EC","es-GT","es-HN","es-MX","es-NI","es-PA","es-PE","es-PR","es-PY","es-SV","es-UY","es-VE"],et:["et-EE"],eu:["eu-ES"],fa:["fa-IR"],fi:["fi-FI"],fo:["fo-FO"],fr:["fr-BE","fr-CA","fr-CH","fr-FR","fr-LU","fr-MC"],gl:["gl-ES"],gu:["gu-IN"],he:["he-IL"],hi:["hi-IN"],hr:["hr-BA","hr-HR"],hu:["hu-HU"],hy:["hy-AM"],id:["id-ID"],is:["is-IS"],it:["it-CH","it-IT"],ja:["ja-JP"],ka:["ka-GE"],kk:["kk-KZ"],kn:["kn-IN"],ko:["ko-KR"],kok:["kok-IN"],ky:["ky-KG"],lt:["lt-LT"],lv:["lv-LV"],mi:["mi-NZ"],mk:["mk-MK"],mn:["mn-MN"],mr:["mr-IN"],ms:["ms-BN","ms-MY"],mt:["mt-MT"],nb:["nb-NO"],nl:["nl-BE","nl-NL"],nn:["nn-NO"],ns:["ns-ZA"],pa:["pa-IN"],pl:["pl-PL"],ps:["ps-AR"],pt:["pt-BR","pt-PT"],qu:["qu-BO","qu-EC","qu-PE"],ro:["ro-RO"],ru:["ru-RU"],sa:["sa-IN"],se:["se-FI","se-NO","se-SE"],sk:["sk-SK"],sl:["sl-SI"],sq:["sq-AL"],sr:["sr-BA","sr-SP"],sv:["sv-FI","sv-SE"],sw:["sw-KE"],syr:["syr-SY"],ta:["ta-IN"],te:["te-IN"],th:["th-TH"],tl:["tl-PH"],tn:["tn-ZA"],tr:["tr-TR"],tt:["tt-RU"],ts:["ts"],uk:["uk-UA"],ur:["ur-PK"],uz:["uz-UZ"],vi:["vi-VN"],xh:["xh-ZA"],zh:["zh-CN","zh-HK","zh-MO","zh-SG","zh-TW"],zu:["zu-ZA"]};let Co;function Mo(t){if(ko[t])return t;if(Co&&Co.has(t))return Co.get(t);for(const e in ko)if(ko[e].includes(t))return Co=Co??new Map,Co.set(t,e),e;return null}function _o(t){const e=Mo(t);return e?ko[e]?ko[e][0]:t:null}const So=[{id:null,source:"copied",target:"copied"},{id:null,source:"close",target:"close"},{id:null,source:"headers",target:"headers"},{id:null,source:"conditional formatting",target:"conditional formatting"},{id:null,source:"sparklines",target:"sparklines"},{id:null,source:"charts",target:"charts"},{id:null,source:"named ranges",target:"named ranges"},{id:null,source:"search",target:"search"},{id:null,source:"load more",target:"load more"},{id:null,source:"today",target:"today"}],Eo=[{id:null,source:"copied",target:"zkopírováno"},{id:null,source:"close",target:"zavřít"},{id:null,source:"headers",target:"hlavičky"},{id:null,source:"conditional formatting",target:"podmíněné formátování"},{id:null,source:"sparklines",target:"mikrografy"},{id:null,source:"charts",target:"grafy"},{id:null,source:"named ranges",target:"pojmenované rozsahy"},{id:null,source:"search",target:"hledat"},{id:null,source:"load more",target:"načíst další"},{id:null,source:"today",target:"dnes"}];[["en-US",So],["en",So],["cs-CZ",Eo],["cs",Eo],["sk",Eo]].forEach((([t,e])=>fo(t,e)));const zo=new Map;function Ro(t){zo.set(t.code,t)}Ro(ye),Ro(co);const Lo=new Map,Io=/^(\d{1,2})[./](\d{1,2})[./](\d{4})$/;function Ho(t,e){return Io.test(t.replace(/\s/g,""))?e.startsWith("en")&&"/"===t[2]?"MM/dd/yyyy":"dd.MM.yyyy":"yyyy-MM-dd"}let To;function Ao(t){if(t=t??vo(),To=To??new Map,To.has(t))return To.get(t);let e;try{const i=_o(t);e=Ho(function(t,e,i){let o;var n;return void 0===(n=e)||"locale"in n?i=e:o=e,new Intl.DateTimeFormat(i?.locale,o).format(re(t))}(se(new Date),{locale:i}),i)}catch(t){e="yyyy-MM-dd"}return To.set(t,e),e}function Oo(t,e){const i=Ti(t,Ho(t,e),new Date);return isNaN(i.getTime())?null:i}function $o(t,e){e=e??Ao(t);const i=Lo.has(t)?Lo.get(t):Lo.set(t,new Map).get(t);return i.has(e)||i.set(e,No(t,e)),i.get(e)}function Do(t){return zo.has(t)?zo.get(t):(t=t.split("-")[0],zo.has(t)?zo.get(t):zo.get("en-US"))}function No(t,e){return e=e??Ao(t),(i,o)=>(Q(i)?i=Oo(i,t):i instanceof Date||isNaN(i)||(i=Uo(i)),null==i?"":qi(i,o||e,{locale:Do(t)}))}function Po(t,e){const i=t.getFullYear(),o=t.getMonth()+1;return e>=0?i-Math.floor((12-o+e)/12):i+Math.floor((o-e-1)/12)}function jo(t,e){const i=qo(t.getMonth()-e,12);return Math.floor(i/3)+1}function Vo(t){return t.setHours(0),t.setMinutes(0),t.setSeconds(0),t.setMilliseconds(0),t}function Bo(t,e){let i=new Date(t.getFullYear(),qo(e,12),1);return function(t,e){const i=re(t),o=re(e),n=i.getTime()-o.getTime();return n<0?-1:n>0?1:n}(t,i)<0&&(i=Qi(i,1)),[i,Vo(Ki(Xi(new Date(i),11)))]}function Fo(t,e=0,i=1){const[o,n]=Bo(t,e),r=Ji(t,o)+1,s=(Mi(t)+i-2)%7+1;let a=Po(t,e),l=Math.floor((10+r-s)/7);if(0==l){const t=eo(o,4),e=Ji(t,io(o,12))+1,n=(Mi(t)+i-1)%7;l=Math.floor((10+e-n)/7),--a}else if(l>52){const t=eo(n,3),e=Ji(t,o)+1,r=(Mi(t)+i-1)%7;l>Math.floor((10+e-r)/7)&&(l=1,++a)}return[l,a]}function Wo(t){return 25569+(t.getTime()-60*t.getTimezoneOffset()*1e3)/864e5}function Uo(t){return new Date(Date.UTC(0,0,t-1))}function Go(t,e,i){let o=Uo(t).getDay();for(i&&i.length>0&&i.forEach((t=>undefined.set(t,t)));e>0;)++t,o=++o>7?1:o,o<6&&--e;return t}const Yo=t=>t.text||t.color||t.brackets||t.empty;function qo(t,e){let i=t%e;return i<0&&(i+=Math.abs(e)),i}const Zo=["","C","CC","CCC","CD","D","DC","DCC","DCCC","CM","","X","XX","XXX","XL","L","LX","LXX","LXXX","XC","","I","II","III","IV","V","VI","VII","VIII","IX"];function Xo(t){if(isNaN(t))return NaN;const e=String(+t).split("");let i="",o=3;for(;o--;)i=(Zo[+e.pop()+10*o]||"")+i;return Array(+e.join("")+1).join("M")+i}function Qo(t){return["0","#"].includes(t[0])}const Ko=new Map;function Jo(t,e="",i){const o=Ko.has(t)?Ko.get(t):Ko.set(t,new Map).get(t);return o.has(e)||o.set(e,tn(t,e,i)),o.get(e)}function tn(t,e="",i){const o=(e?on(i?rn(e,"n"):e):[{maximumFractionDigits:3}]).map((e=>Z(e)?Yo(e)?function(t,e){const i=new Intl.NumberFormat(t,e);return{format:t=>{let o=tt(t)?i.format(t):"";return e.text&&(o+=e.text||""),e.brackets&&(o=`(${o})`),e.color&&(o=`<span style="color:${e.color}">${o}</span>`),o}}}(t,e):new Intl.NumberFormat(t,e):{format:$o(t,e)}));return 1==o.length&&o.push(o[0]),2==o.length&&o.push(o[0]),t=>null==t?"":Q(t)?o[3]?o[3].format(t):t:isNaN(t)?"#NaN":t>0?o[0].format(t):t<0?o[1].format(t):0==t?o[2].format(t):void 0}const en={useGrouping:!1,maximumFractionDigits:0,signDisplay:"negative",empty:!0};function on(t){const e=[];let i,o,n,r=Object.assign({},en),s=!1,a=0;for(;a<t.length;)switch(i=t.charAt(a),";"!=i&&r.empty&&delete r.empty,i.toLowerCase()){case"(":r.brackets=!0,++a;break;case"[":for(r.color="";++a<t.length&&(i=t.charAt(a),"]"!==i);)r.color+=i;break;case";":e.push(r),r=Object.assign({},en),1==e.length&&(r.signDisplay="never"),s=!1,++a;break;case"0":case"#":for(o=null,n=null;a<t.length;){if(i=t.charAt(a),"0"===i)o=null===o?1:o+1;else if("#"===i)n=null===n?1:n+1;else{if(","!==i)break;r.useGrouping=!0}++a}s?(null!==o&&(r.minimumFractionDigits=o,null==n&&(r.maximumFractionDigits=o)),null!==n&&(r.maximumFractionDigits=n+(o||0))):null!==o&&(r.minimumIntegerDigits=o);break;case'"':for(r.text="";++a<t.length&&(i=t.charAt(a),'"'!==i);)r.text+=i;++a;break;case".":s=!0,++a;break;case"+":r.signDisplay="exceptZero",++a;break;case"-":1==e.length&&(r.signDisplay="always"),++a;break;case"$":r.style="currency",++a;break;case"%":r.style="percent",++a;break;default:if(et(i)){let o=i;for(r=null;++a<t.length;){if(i=t.charAt(a),";"===i){r=Object.assign({},en);break}o+=i}e.push(o)}++a}return r&&e.push(r),e}const nn={d:[[/\\/g,""],[/m/g,"M"],[/ddd/g,"eee"]],n:[[/0,/g,"#,"]]};function rn(t,e){return nn[e].forEach((([e,i])=>t=t.replace(e,i))),t}function sn(t){return Intl.NumberFormat(t,{minimumIntegerDigits:1,minimumFractionDigits:1}).format(1.1).charAt(1)}const an={delimiter:"\t",quote:"",encoding:"utf-8",decimalSeparator:".",header:!1};class ln{constructor(t,e){this.csv=t,this.offset=0,this.length=t.length,this.description=Object.assign({},an,e)}get eof(){return this.offset>=this.length}readLine(){if(this.eof)return null;const t=[];let e,i="",o=!1;for(;this.offset<this.length;){if(e=this.csv.charAt(this.offset++),"\n"===e){if(o)continue;t.push(i),i=null;break}"\r"!==e&&(o?e===this.description.quote?(i=st(i,this.description.quote),o=!1):i+=e:e==this.description.delimiter?(t.push(i),i=""):""==i&&e==this.description.quote?(o=!0,i=""):i+=e)}return null!=i&&t.push(i),t}}function cn(t,e){e=Object.assign({},an,e);let i="";for(let o=0;o<t.length;o++)i+=t[o].map((t=>null==t?"":isNaN(t)?(t??"").toString().replace(e.delimiter," "):"."!=e.decimalSeparator?t.toString().replace(".",e.decimalSeparator):t.toString())).join(e.delimiter)+"\n";return i}function hn(t,e){const i=[];let o;const n=new ln(t,e);for(;!n.eof;)o=n.readLine(),o&&o.length>0&&i.push(o);return i}var dn;!function(t){t.Info="i",t.Warn="w",t.Error="e",t.Debug="d",t.Trace="t"}(dn||(dn={}));class un{constructor(t){this.name=t,this.styles=["color: #ffff00","color: #00955d","color: #aaaaaa"],this.errorStyles=["color: #ff0000","color: #00955d","color: #aaaaaa"],this.defaultLevel=dn.Info}format(t,e){return`%c[${e}] %c${this.name.padEnd(20," ")} %c${t.padEnd(50," ")}`}log(t){console.log(t,...this.styles)}info(t){console.info(this.format(t,dn.Info),...this.styles)}warn(t){console.info(this.format(t,dn.Warn),...this.styles)}error(t,e){console.error(this.format(t,dn.Error),...this.errorStyles),e&&console.error(e)}debug(t){console.info(this.format(t,dn.Debug),...this.styles)}trace(t){console.trace(this.format(t,dn.Trace),...this.styles)}}const pn=new Map;function gn(t){if(null==t){if(pn.size>0)return pn.entries().next().value[1];t=t||"Ω"}return pn.has(t)||pn.set(t,new un(t)),pn.get(t)}var mn;!function(t){t[t.Filtered=0]="Filtered",t[t.Matched=1]="Matched",t[t.ChildMatched=2]="ChildMatched",t[t.ParentMatched=3]="ParentMatched"}(mn||(mn={}));class fn{populate(t){}getSourceData(){return{}}}function vn(t=fn){return class extends t{constructor(){super(...arguments),this._children=[],this._filterState=mn.Matched}populate(t){super.populate(t),isNaN(t.i)||(this.index=t.i),this.level=t.level||t.l||0,this.parentIndex=t.p,this._count=t.count,this._hidden=t.hidden,this._filterable=t.filterable,this._sortable=t.sortable,(t.collapsed||t.count)&&(this._collapsed=!0)}getSourceData(){const t=super.getSourceData();return this.level>0&&(t.l=this.level),null!=this.parentIndex&&(t.p=this.parentIndex),null!=this._collapsed&&(t.collapsed=this._collapsed),t}get filterable(){return!1!==this._filterable}get sortable(){return!1!==this._sortable}get filterState(){return this._filterState}set filterState(t){this._filterState=t}get hidden(){return this._hidden}set hidden(t){this._hidden=t}get visible(){return!this.hidden&&this.filterState>0}get collapsed(){return this._collapsed}set collapsed(t){this._collapsed=t}set parent(t){this._parent=t}get parent(){return this._parent}set children(t){this._children=t,this._count=Math.max(this._count||0,this._children.length)}get children(){return this._children}get hasChildren(){return this._children.length>0||this._count>0}set count(t){this._count=t}get isLoaded(){return null==this._count||this._count<=this._children.length}get isPartialyLoaded(){return this._children.length>0&&this._count>this._children.length}get hasParent(){return!!this.parent&&this.parent.level>-1}get firstChild(){return this.children[0]}get lastChild(){return this.children[this.children.length-1]}addChild(t){this._children.push(t),t.parent=this,t.level=this.level+1,this._count=Math.max(this._count||0,this._children.length)}insertChildren(t,e){this._children.splice(e,0,...t),t.forEach((t=>{t.parent=this,t.level=this.level+1})),this._count=Math.max(this._count||0,this._children.length)}deleteChildren(t,e){if(Array.isArray(t)){const e=new Set;t.forEach((t=>{t.parent=null,e.add(t)})),this._children=this._children.filter((t=>!e.has(t))),this._count-=t.length}else e=e||1,this._children.splice(t,e),this._count-=e}expand(t){this._collapsed=!1,t&&this.hasChildren&&this.walk((t=>t.hidden=!1))}collapse(){this._collapsed=!0}toggleCollapse(t=!1,e){const i=this._collapsed;i?this.expand(e):this.collapse(),t&&(i?this.walk((t=>t.expand(e))):this.walk((t=>t.collapse())))}clearChildren(){this._children.forEach((t=>t.parent=null)),this._children=[],this._count=null}walk(t){this._children.forEach((e=>{!1!==t(e)&&e.walk(t)}))}walkVisible(t){this._children.forEach((e=>{e.visible&&(!1===t(e)||e.collapsed)||e.walkVisible(t)}))}walkUp(t){this._parent&&!1!==t(this._parent)&&this._parent.walkUp(t)}_sort(t){this.hasChildren&&(this._children.sort(t),this._children.forEach((e=>e._sort(t))))}sort(t){this._sort(((e,i)=>e.sortable&&i.sortable?t(e,i):e.index-i.index))}}}function bn(t,e,i){const o=[[e,-1]];let n,r=-1,s=-1,a=0;return i?.reverse&&(t=[...t].reverse()),e._children=[],e._parent=null,t.forEach((t=>{for(t._children=[],t._parent=null,a=t.level+e.level+1,n&&r<a&&o.push([n,r]);o[o.length-1][1]>=a;)o.pop();r=a,o[o.length-1][0].addChild(t),s=Math.max(s,t.level+(t.hasChildren?1:0)),n=t})),s}function yn(t,e){let i=-1;return t.forEach((i=>{(null==i.parentIndex?e:t[i.parentIndex]).addChild(i)})),e.walk((t=>{t.level=t.parent?t.parent.level+1:0,i=Math.max(i,t.level)})),i}function wn(t,e){return t.length>0?null==t[0].level?yn(t,e):bn(t,e):-1}function xn(t,e=.15){return W()(t).lighten(e).hex().toString()}function kn(t,e=.15){return W()(t).darken(e).hex().toString()}function Cn(t,e=.15){return W()(t).alpha(e).hexa().toString()}function Mn(t){const e=W()(t);return e.red(255-e.red()).green(255-e.green()).blue(255-e.red()).hex().toString()}function _n(t,e,i=.15){return W()(t).mix(W()(e),i).hex().toString()}function Sn(t){const e=W()(t);return.299*e.red()+.587*e.green()+.114*e.blue()>128?"#000000":"#FFFFFF"}function En(t){return t&&"#"==t[0]?t.substring(1):t}function zn(t){return t&&"#"!=t[0]?"#"+t:t}class Rn extends Event{constructor(t,e,i=null,o={}){super(`${t}.action${(o=Object.assign({common:!0,composed:!0,bubbles:!0},o)).common?"":`.${e.key}`}`,o),this.scope=t,this.action=e,this.args=i}}function Ln(t,e,i,o=null,n=null){t.dispatchEvent(new Rn(e,i,o,Object.assign({common:!1},n))),t.dispatchEvent(new Rn(e,i,o,Object.assign({common:!0},n)))}function In(t){return t.map((t=>[...t].reverse()))}function Hn(t){return t.map((t=>[...t])).reverse()}function Tn(t){const e=Array(t[0].length).fill(null).map((()=>Array(t.length)));for(let i=0;i<t.length;i++)for(let o=0;o<t[i].length;o++)e[o][i]=t[i][o];return e}function An(t){return t.map((t=>[...t]))}class On extends Event{constructor(t={}){Z(t)?(super(t.type??"change"),this.value=t.value,this.oldValue=t.oldValue):(super("change"),this.value=t)}}class $n extends Event{constructor(t={}){super("add"),Z(t)?Object.assign(this,t):this.value=t}}class Dn extends Event{constructor(t){super("serialize"),this.data=t}}const Nn={Letter:{width:215.9,height:279.4},Tabloid:{width:279.4,height:431.8},Legal:{width:215.9,height:355.6},Executive:{width:184.15,height:266.7},A3:{width:297,height:420},A4:{width:210,height:297},A5:{width:148,height:210},A6:{width:105,height:148},B4:{width:250,height:353},B5:{width:176,height:250},Folio:{width:215.9,height:330.2},Envelope:{width:104.8,height:241.3},Monarch:{width:98.4,height:190.5}};function Pn(){const t=window.innerWidth;return t<=768?"mobile":t>768&&t<=1024?"tablet":"desktop"}let jn={};const Vn=t=>{t.locale&&yo(t.locale),jn=t},Bn=()=>ot({locale:vo(),formatLocale:vo(),dateFormat:"yyyy-MM-dd",fontSize:G.FONT_SIZE,systemDecimalSeparator:sn(vo()),user:{id:"0",name:"Anonymous"}},jn);function Fn(t,e=null){const i=ot({},Bn(),e,t);return i.dateFormatter=i.dateFormatter||No(i.locale,i.dateFormat),i}var Wn,Un,Gn=function(t,e,i,o){if("a"===i&&!o)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!o:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?o:"a"===i?o.call(t):o?o.value:e.get(t)};class Yn{}class qn{static async load(t,e){let i=(e=e||document).__ogid;i||(i=Math.random().toString(36).slice(2),e.__ogid=i);const o=`${i}-${t}`;if(Gn(this,Wn,"f",Un)||function(t,e,i,o,n){if("m"===o)throw new TypeError("Private method is not writable");if("a"===o&&!n)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!n:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");"a"===o?n.call(t,i):n?n.value=i:e.set(t,i)}(this,Wn,new Map,"f",Un),this.scripts||(this.scripts=new Map),!this.scripts.has(o))return new Promise(((i,n)=>{const r=Gn(this,Wn,"f",Un).get(o)||[];if(r.push([i,n]),Gn(this,Wn,"f",Un).set(o,r),r.length>1)return;const s=e.createElement("script");s.src=t,s.onload=()=>{Gn(this,Wn,"f",Un).get(o).forEach((([t])=>t())),Gn(this,Wn,"f",Un).delete(o)},s.onerror=t=>{const e=Q(t)?new Error(t):t;Gn(this,Wn,"f",Un).get(o).forEach((([t,i])=>i(e))),Gn(this,Wn,"f",Un).delete(o)},e.head.appendChild(s)}))}}Wn=qn,Un={value:void 0};class Zn{constructor(t){this.data=t,this.next=null,this.prev=null}}class Xn{constructor(){this.head=null}insertAtEnd(t){const e=new Zn(t);if(this.head){const t=e=>e.next?t(e.next):e,i=t(this.head);e.prev=i,i.next=e}else this.head=e;return e}insertInBegin(t){const e=new Zn(t);return this.head?(this.head.prev=e,e.next=this.head,this.head=e):this.head=e,e}deleteNode(t){t.prev?t.prev.next=t.next:this.head=t.next}search(t){const e=i=>t(i.data)?i:i.next?e(i.next):null;return this.head?e(this.head):null}traverse(){const t=[];if(!this.head)return t;const e=i=>(t.push(i.data),i.next?e(i.next):t);return e(this.head)}size(){return this.traverse().length}}const Qn=globalThis,Kn=Qn.ShadowRoot&&(void 0===Qn.ShadyCSS||Qn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Jn=Symbol(),tr=new WeakMap;class er{constructor(t,e,i){if(this._$cssResult$=!0,i!==Jn)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(Kn&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=tr.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&tr.set(e,t))}return t}toString(){return this.cssText}}const ir=t=>new er("string"==typeof t?t:t+"",void 0,Jn),or=(t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[o+1]),t[0]);return new er(i,t,Jn)},nr=(t,e)=>{if(Kn)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const i of e){const e=document.createElement("style"),o=Qn.litNonce;void 0!==o&&e.setAttribute("nonce",o),e.textContent=i.cssText,t.appendChild(e)}},rr=Kn?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return ir(e)})(t):t,{is:sr,defineProperty:ar,getOwnPropertyDescriptor:lr,getOwnPropertyNames:cr,getOwnPropertySymbols:hr,getPrototypeOf:dr}=Object,ur=globalThis,pr=ur.trustedTypes,gr=pr?pr.emptyScript:"",mr=ur.reactiveElementPolyfillSupport,fr=(t,e)=>t,vr={toAttribute(t,e){switch(e){case Boolean:t=t?gr:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},br=(t,e)=>!sr(t,e),yr={attribute:!0,type:String,converter:vr,reflect:!1,hasChanged:br};Symbol.metadata??=Symbol("metadata"),ur.litPropertyMetadata??=new WeakMap;class wr extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=yr){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const i=Symbol(),o=this.getPropertyDescriptor(t,i,e);void 0!==o&&ar(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){const{get:o,set:n}=lr(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return o?.call(this)},set(e){const r=o?.call(this);n.call(this,e),this.requestUpdate(t,r,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??yr}static _$Ei(){if(this.hasOwnProperty(fr("elementProperties")))return;const t=dr(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(fr("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(fr("properties"))){const t=this.properties,e=[...cr(t),...hr(t)];for(const i of e)this.createProperty(i,t[i])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,i]of e)this.elementProperties.set(t,i)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const i=this._$Eu(t,e);void 0!==i&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(rr(t))}else void 0!==t&&e.push(rr(t));return e}static _$Eu(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const i of e.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return nr(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EC(t,e){const i=this.constructor.elementProperties.get(t),o=this.constructor._$Eu(t,i);if(void 0!==o&&!0===i.reflect){const n=(void 0!==i.converter?.toAttribute?i.converter:vr).toAttribute(e,i.type);this._$Em=t,null==n?this.removeAttribute(o):this.setAttribute(o,n),this._$Em=null}}_$AK(t,e){const i=this.constructor,o=i._$Eh.get(t);if(void 0!==o&&this._$Em!==o){const t=i.getPropertyOptions(o),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:vr;this._$Em=o,this[o]=n.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,i){if(void 0!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??br)(this[t],e))return;this.P(t,e,i)}!1===this.isUpdatePending&&(this._$ES=this._$ET())}P(t,e,i){this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,i]of t)!0!==i.wrapped||this._$AL.has(e)||void 0===this[e]||this.P(e,this[e],i)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$EU()}catch(e){throw t=!1,this._$EU(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU()}updated(t){}firstUpdated(t){}}wr.elementStyles=[],wr.shadowRootOptions={mode:"open"},wr[fr("elementProperties")]=new Map,wr[fr("finalized")]=new Map,mr?.({ReactiveElement:wr}),(ur.reactiveElementVersions??=[]).push("2.0.4");const xr=globalThis,kr=xr.trustedTypes,Cr=kr?kr.createPolicy("lit-html",{createHTML:t=>t}):void 0,Mr="$lit$",_r=`lit$${Math.random().toFixed(9).slice(2)}$`,Sr="?"+_r,Er=`<${Sr}>`,zr=document,Rr=()=>zr.createComment(""),Lr=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Ir=Array.isArray,Hr=t=>Ir(t)||"function"==typeof t?.[Symbol.iterator],Tr="[ \t\n\f\r]",Ar=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Or=/-->/g,$r=/>/g,Dr=RegExp(`>|${Tr}(?:([^\\s"'>=/]+)(${Tr}*=${Tr}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Nr=/'/g,Pr=/"/g,jr=/^(?:script|style|textarea|title)$/i,Vr=t=>(e,...i)=>({_$litType$:t,strings:e,values:i}),Br=Vr(1),Fr=Vr(2),Wr=Symbol.for("lit-noChange"),Ur=Symbol.for("lit-nothing"),Gr=new WeakMap,Yr=zr.createTreeWalker(zr,129);function qr(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Cr?Cr.createHTML(e):e}const Zr=(t,e)=>{const i=t.length-1,o=[];let n,r=2===e?"<svg>":"",s=Ar;for(let e=0;e<i;e++){const i=t[e];let a,l,c=-1,h=0;for(;h<i.length&&(s.lastIndex=h,l=s.exec(i),null!==l);)h=s.lastIndex,s===Ar?"!--"===l[1]?s=Or:void 0!==l[1]?s=$r:void 0!==l[2]?(jr.test(l[2])&&(n=RegExp("</"+l[2],"g")),s=Dr):void 0!==l[3]&&(s=Dr):s===Dr?">"===l[0]?(s=n??Ar,c=-1):void 0===l[1]?c=-2:(c=s.lastIndex-l[2].length,a=l[1],s=void 0===l[3]?Dr:'"'===l[3]?Pr:Nr):s===Pr||s===Nr?s=Dr:s===Or||s===$r?s=Ar:(s=Dr,n=void 0);const d=s===Dr&&t[e+1].startsWith("/>")?" ":"";r+=s===Ar?i+Er:c>=0?(o.push(a),i.slice(0,c)+Mr+i.slice(c)+_r+d):i+_r+(-2===c?e:d)}return[qr(t,r+(t[i]||"<?>")+(2===e?"</svg>":"")),o]};class Xr{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let n=0,r=0;const s=t.length-1,a=this.parts,[l,c]=Zr(t,e);if(this.el=Xr.createElement(l,i),Yr.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(o=Yr.nextNode())&&a.length<s;){if(1===o.nodeType){if(o.hasAttributes())for(const t of o.getAttributeNames())if(t.endsWith(Mr)){const e=c[r++],i=o.getAttribute(t).split(_r),s=/([.?@])?(.*)/.exec(e);a.push({type:1,index:n,name:s[2],strings:i,ctor:"."===s[1]?es:"?"===s[1]?is:"@"===s[1]?os:ts}),o.removeAttribute(t)}else t.startsWith(_r)&&(a.push({type:6,index:n}),o.removeAttribute(t));if(jr.test(o.tagName)){const t=o.textContent.split(_r),e=t.length-1;if(e>0){o.textContent=kr?kr.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],Rr()),Yr.nextNode(),a.push({type:2,index:++n});o.append(t[e],Rr())}}}else if(8===o.nodeType)if(o.data===Sr)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(_r,t+1));)a.push({type:7,index:n}),t+=_r.length-1}n++}}static createElement(t,e){const i=zr.createElement("template");return i.innerHTML=t,i}}function Qr(t,e,i=t,o){if(e===Wr)return e;let n=void 0!==o?i._$Co?.[o]:i._$Cl;const r=Lr(e)?void 0:e._$litDirective$;return n?.constructor!==r&&(n?._$AO?.(!1),void 0===r?n=void 0:(n=new r(t),n._$AT(t,i,o)),void 0!==o?(i._$Co??=[])[o]=n:i._$Cl=n),void 0!==n&&(e=Qr(t,n._$AS(t,e.values),n,o)),e}class Kr{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:i}=this._$AD,o=(t?.creationScope??zr).importNode(e,!0);Yr.currentNode=o;let n=Yr.nextNode(),r=0,s=0,a=i[0];for(;void 0!==a;){if(r===a.index){let e;2===a.type?e=new Jr(n,n.nextSibling,this,t):1===a.type?e=new a.ctor(n,a.name,a.strings,this,t):6===a.type&&(e=new ns(n,this,t)),this._$AV.push(e),a=i[++s]}r!==a?.index&&(n=Yr.nextNode(),r++)}return Yr.currentNode=zr,o}p(t){let e=0;for(const i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class Jr{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,i,o){this.type=2,this._$AH=Ur,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cv=o?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=Qr(this,t,e),Lr(t)?t===Ur||null==t||""===t?(this._$AH!==Ur&&this._$AR(),this._$AH=Ur):t!==this._$AH&&t!==Wr&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):Hr(t)?this.k(t):this._(t)}S(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.S(t))}_(t){this._$AH!==Ur&&Lr(this._$AH)?this._$AA.nextSibling.data=t:this.T(zr.createTextNode(t)),this._$AH=t}$(t){const{values:e,_$litType$:i}=t,o="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=Xr.createElement(qr(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===o)this._$AH.p(e);else{const t=new Kr(o,this),i=t.u(this.options);t.p(e),this.T(i),this._$AH=t}}_$AC(t){let e=Gr.get(t.strings);return void 0===e&&Gr.set(t.strings,e=new Xr(t)),e}k(t){Ir(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const n of t)o===e.length?e.push(i=new Jr(this.S(Rr()),this.S(Rr()),this,this.options)):i=e[o],i._$AI(n),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class ts{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,i,o,n){this.type=1,this._$AH=Ur,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=n,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=Ur}_$AI(t,e=this,i,o){const n=this.strings;let r=!1;if(void 0===n)t=Qr(this,t,e,0),r=!Lr(t)||t!==this._$AH&&t!==Wr,r&&(this._$AH=t);else{const o=t;let s,a;for(t=n[0],s=0;s<n.length-1;s++)a=Qr(this,o[i+s],e,s),a===Wr&&(a=this._$AH[s]),r||=!Lr(a)||a!==this._$AH[s],a===Ur?t=Ur:t!==Ur&&(t+=(a??"")+n[s+1]),this._$AH[s]=a}r&&!o&&this.j(t)}j(t){t===Ur?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class es extends ts{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===Ur?void 0:t}}class is extends ts{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==Ur)}}class os extends ts{constructor(t,e,i,o,n){super(t,e,i,o,n),this.type=5}_$AI(t,e=this){if((t=Qr(this,t,e,0)??Ur)===Wr)return;const i=this._$AH,o=t===Ur&&i!==Ur||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,n=t!==Ur&&(i===Ur||o);o&&this.element.removeEventListener(this.name,this,i),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class ns{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){Qr(this,t)}}const rs={P:Mr,A:_r,C:Sr,M:1,L:Zr,R:Kr,D:Hr,V:Qr,I:Jr,H:ts,N:is,U:os,B:es,F:ns},ss=xr.litHtmlPolyfillSupport;ss?.(Xr,Jr),(xr.litHtmlVersions??=[]).push("3.1.3");const as=(t,e,i)=>{const o=i?.renderBefore??e;let n=o._$litPart$;if(void 0===n){const t=i?.renderBefore??null;o._$litPart$=n=new Jr(e.insertBefore(Rr(),t),t,void 0,i??{})}return n._$AI(t),n};class ls extends wr{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=as(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Wr}}ls._$litElement$=!0,ls.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:ls});const cs=globalThis.litElementPolyfillSupport;cs?.({LitElement:ls}),(globalThis.litElementVersions??=[]).push("4.0.5");const hs=t=>(e,i)=>{void 0!==i?i.addInitializer((()=>{customElements.define(t,e)})):customElements.define(t,e)},ds={attribute:!0,type:String,converter:vr,reflect:!1,hasChanged:br},us=(t=ds,e,i)=>{const{kind:o,metadata:n}=i;let r=globalThis.litPropertyMetadata.get(n);if(void 0===r&&globalThis.litPropertyMetadata.set(n,r=new Map),r.set(i.name,t),"accessor"===o){const{name:o}=i;return{set(i){const n=e.get.call(this);e.set.call(this,i),this.requestUpdate(o,n,t)},init(e){return void 0!==e&&this.P(o,void 0,t),e}}}if("setter"===o){const{name:o}=i;return function(i){const n=this[o];e.call(this,i),this.requestUpdate(o,n,t)}}throw Error("Unsupported decorator location: "+o)};function ps(t){return(e,i)=>"object"==typeof i?us(t,e,i):((t,e,i)=>{const o=e.hasOwnProperty(i);return e.constructor.createProperty(i,o?{...t,wrapped:!0}:t),o?Object.getOwnPropertyDescriptor(e,i):void 0})(t,e,i)}function gs(t){return ps({...t,state:!0,attribute:!1})}const ms=(t,e,i)=>(i.configurable=!0,i.enumerable=!0,Reflect.decorate&&"object"!=typeof e&&Object.defineProperty(t,e,i),i);function fs(t,e){return(i,o,n)=>{const r=e=>e.renderRoot?.querySelector(t)??null;if(e){const{get:t,set:e}="object"==typeof o?i:n??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return ms(i,o,{get(){let i=t.call(this);return void 0===i&&(i=r(this),(null!==i||this.hasUpdated)&&e.call(this,i)),i}})}return ms(i,o,{get(){return r(this)}})}}let vs;function bs(t){return(e,i)=>ms(e,i,{get(){return(this.renderRoot??(vs??=document.createDocumentFragment())).querySelectorAll(t)}})}function*ys(t,e){if(void 0!==t){let i=0;for(const o of t)yield e(o,i++)}}const ws=or`
|
|
2
|
+
(()=>{var t={4754:t=>{var e={utf8:{stringToBytes:function(t){return e.bin.stringToBytes(unescape(encodeURIComponent(t)))},bytesToString:function(t){return decodeURIComponent(escape(e.bin.bytesToString(t)))}},bin:{stringToBytes:function(t){for(var e=[],i=0;i<t.length;i++)e.push(255&t.charCodeAt(i));return e},bytesToString:function(t){for(var e=[],i=0;i<t.length;i++)e.push(String.fromCharCode(t[i]));return e.join("")}}};t.exports=e},4560:(t,e,i)=>{const o=i(7346),n={};for(const t of Object.keys(o))n[o[t]]=t;const r={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};t.exports=r;for(const t of Object.keys(r)){if(!("channels"in r[t]))throw new Error("missing channels property: "+t);if(!("labels"in r[t]))throw new Error("missing channel labels property: "+t);if(r[t].labels.length!==r[t].channels)throw new Error("channel and label counts mismatch: "+t);const{channels:e,labels:i}=r[t];delete r[t].channels,delete r[t].labels,Object.defineProperty(r[t],"channels",{value:e}),Object.defineProperty(r[t],"labels",{value:i})}r.rgb.hsl=function(t){const e=t[0]/255,i=t[1]/255,o=t[2]/255,n=Math.min(e,i,o),r=Math.max(e,i,o),s=r-n;let a,l;r===n?a=0:e===r?a=(i-o)/s:i===r?a=2+(o-e)/s:o===r&&(a=4+(e-i)/s),a=Math.min(60*a,360),a<0&&(a+=360);const c=(n+r)/2;return l=r===n?0:c<=.5?s/(r+n):s/(2-r-n),[a,100*l,100*c]},r.rgb.hsv=function(t){let e,i,o,n,r;const s=t[0]/255,a=t[1]/255,l=t[2]/255,c=Math.max(s,a,l),h=c-Math.min(s,a,l),d=function(t){return(c-t)/6/h+.5};return 0===h?(n=0,r=0):(r=h/c,e=d(s),i=d(a),o=d(l),s===c?n=o-i:a===c?n=1/3+e-o:l===c&&(n=2/3+i-e),n<0?n+=1:n>1&&(n-=1)),[360*n,100*r,100*c]},r.rgb.hwb=function(t){const e=t[0],i=t[1];let o=t[2];const n=r.rgb.hsl(t)[0],s=1/255*Math.min(e,Math.min(i,o));return o=1-1/255*Math.max(e,Math.max(i,o)),[n,100*s,100*o]},r.rgb.cmyk=function(t){const e=t[0]/255,i=t[1]/255,o=t[2]/255,n=Math.min(1-e,1-i,1-o);return[100*((1-e-n)/(1-n)||0),100*((1-i-n)/(1-n)||0),100*((1-o-n)/(1-n)||0),100*n]},r.rgb.keyword=function(t){const e=n[t];if(e)return e;let i,r=1/0;for(const e of Object.keys(o)){const n=(a=o[e],((s=t)[0]-a[0])**2+(s[1]-a[1])**2+(s[2]-a[2])**2);n<r&&(r=n,i=e)}var s,a;return i},r.keyword.rgb=function(t){return o[t]},r.rgb.xyz=function(t){let e=t[0]/255,i=t[1]/255,o=t[2]/255;return e=e>.04045?((e+.055)/1.055)**2.4:e/12.92,i=i>.04045?((i+.055)/1.055)**2.4:i/12.92,o=o>.04045?((o+.055)/1.055)**2.4:o/12.92,[100*(.4124*e+.3576*i+.1805*o),100*(.2126*e+.7152*i+.0722*o),100*(.0193*e+.1192*i+.9505*o)]},r.rgb.lab=function(t){const e=r.rgb.xyz(t);let i=e[0],o=e[1],n=e[2];return i/=95.047,o/=100,n/=108.883,i=i>.008856?i**(1/3):7.787*i+16/116,o=o>.008856?o**(1/3):7.787*o+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,[116*o-16,500*(i-o),200*(o-n)]},r.hsl.rgb=function(t){const e=t[0]/360,i=t[1]/100,o=t[2]/100;let n,r,s;if(0===i)return s=255*o,[s,s,s];n=o<.5?o*(1+i):o+i-o*i;const a=2*o-n,l=[0,0,0];for(let t=0;t<3;t++)r=e+1/3*-(t-1),r<0&&r++,r>1&&r--,s=6*r<1?a+6*(n-a)*r:2*r<1?n:3*r<2?a+(n-a)*(2/3-r)*6:a,l[t]=255*s;return l},r.hsl.hsv=function(t){const e=t[0];let i=t[1]/100,o=t[2]/100,n=i;const r=Math.max(o,.01);return o*=2,i*=o<=1?o:2-o,n*=r<=1?r:2-r,[e,100*(0===o?2*n/(r+n):2*i/(o+i)),(o+i)/2*100]},r.hsv.rgb=function(t){const e=t[0]/60,i=t[1]/100;let o=t[2]/100;const n=Math.floor(e)%6,r=e-Math.floor(e),s=255*o*(1-i),a=255*o*(1-i*r),l=255*o*(1-i*(1-r));switch(o*=255,n){case 0:return[o,l,s];case 1:return[a,o,s];case 2:return[s,o,l];case 3:return[s,a,o];case 4:return[l,s,o];case 5:return[o,s,a]}},r.hsv.hsl=function(t){const e=t[0],i=t[1]/100,o=t[2]/100,n=Math.max(o,.01);let r,s;s=(2-i)*o;const a=(2-i)*n;return r=i*n,r/=a<=1?a:2-a,r=r||0,s/=2,[e,100*r,100*s]},r.hwb.rgb=function(t){const e=t[0]/360;let i=t[1]/100,o=t[2]/100;const n=i+o;let r;n>1&&(i/=n,o/=n);const s=Math.floor(6*e),a=1-o;r=6*e-s,1&s&&(r=1-r);const l=i+r*(a-i);let c,h,d;switch(s){default:case 6:case 0:c=a,h=l,d=i;break;case 1:c=l,h=a,d=i;break;case 2:c=i,h=a,d=l;break;case 3:c=i,h=l,d=a;break;case 4:c=l,h=i,d=a;break;case 5:c=a,h=i,d=l}return[255*c,255*h,255*d]},r.cmyk.rgb=function(t){const e=t[0]/100,i=t[1]/100,o=t[2]/100,n=t[3]/100;return[255*(1-Math.min(1,e*(1-n)+n)),255*(1-Math.min(1,i*(1-n)+n)),255*(1-Math.min(1,o*(1-n)+n))]},r.xyz.rgb=function(t){const e=t[0]/100,i=t[1]/100,o=t[2]/100;let n,r,s;return n=3.2406*e+-1.5372*i+-.4986*o,r=-.9689*e+1.8758*i+.0415*o,s=.0557*e+-.204*i+1.057*o,n=n>.0031308?1.055*n**(1/2.4)-.055:12.92*n,r=r>.0031308?1.055*r**(1/2.4)-.055:12.92*r,s=s>.0031308?1.055*s**(1/2.4)-.055:12.92*s,n=Math.min(Math.max(0,n),1),r=Math.min(Math.max(0,r),1),s=Math.min(Math.max(0,s),1),[255*n,255*r,255*s]},r.xyz.lab=function(t){let e=t[0],i=t[1],o=t[2];return e/=95.047,i/=100,o/=108.883,e=e>.008856?e**(1/3):7.787*e+16/116,i=i>.008856?i**(1/3):7.787*i+16/116,o=o>.008856?o**(1/3):7.787*o+16/116,[116*i-16,500*(e-i),200*(i-o)]},r.lab.xyz=function(t){let e,i,o;i=(t[0]+16)/116,e=t[1]/500+i,o=i-t[2]/200;const n=i**3,r=e**3,s=o**3;return i=n>.008856?n:(i-16/116)/7.787,e=r>.008856?r:(e-16/116)/7.787,o=s>.008856?s:(o-16/116)/7.787,e*=95.047,i*=100,o*=108.883,[e,i,o]},r.lab.lch=function(t){const e=t[0],i=t[1],o=t[2];let n;return n=360*Math.atan2(o,i)/2/Math.PI,n<0&&(n+=360),[e,Math.sqrt(i*i+o*o),n]},r.lch.lab=function(t){const e=t[0],i=t[1],o=t[2]/360*2*Math.PI;return[e,i*Math.cos(o),i*Math.sin(o)]},r.rgb.ansi16=function(t,e=null){const[i,o,n]=t;let s=null===e?r.rgb.hsv(t)[2]:e;if(s=Math.round(s/50),0===s)return 30;let a=30+(Math.round(n/255)<<2|Math.round(o/255)<<1|Math.round(i/255));return 2===s&&(a+=60),a},r.hsv.ansi16=function(t){return r.rgb.ansi16(r.hsv.rgb(t),t[2])},r.rgb.ansi256=function(t){const e=t[0],i=t[1],o=t[2];return e===i&&i===o?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(i/255*5)+Math.round(o/255*5)},r.ansi16.rgb=function(t){let e=t%10;if(0===e||7===e)return t>50&&(e+=3.5),e=e/10.5*255,[e,e,e];const i=.5*(1+~~(t>50));return[(1&e)*i*255,(e>>1&1)*i*255,(e>>2&1)*i*255]},r.ansi256.rgb=function(t){if(t>=232){const e=10*(t-232)+8;return[e,e,e]}let e;return t-=16,[Math.floor(t/36)/5*255,Math.floor((e=t%36)/6)/5*255,e%6/5*255]},r.rgb.hex=function(t){const e=(((255&Math.round(t[0]))<<16)+((255&Math.round(t[1]))<<8)+(255&Math.round(t[2]))).toString(16).toUpperCase();return"000000".substring(e.length)+e},r.hex.rgb=function(t){const e=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];let i=e[0];3===e[0].length&&(i=i.split("").map((t=>t+t)).join(""));const o=parseInt(i,16);return[o>>16&255,o>>8&255,255&o]},r.rgb.hcg=function(t){const e=t[0]/255,i=t[1]/255,o=t[2]/255,n=Math.max(Math.max(e,i),o),r=Math.min(Math.min(e,i),o),s=n-r;let a,l;return a=s<1?r/(1-s):0,l=s<=0?0:n===e?(i-o)/s%6:n===i?2+(o-e)/s:4+(e-i)/s,l/=6,l%=1,[360*l,100*s,100*a]},r.hsl.hcg=function(t){const e=t[1]/100,i=t[2]/100,o=i<.5?2*e*i:2*e*(1-i);let n=0;return o<1&&(n=(i-.5*o)/(1-o)),[t[0],100*o,100*n]},r.hsv.hcg=function(t){const e=t[1]/100,i=t[2]/100,o=e*i;let n=0;return o<1&&(n=(i-o)/(1-o)),[t[0],100*o,100*n]},r.hcg.rgb=function(t){const e=t[0]/360,i=t[1]/100,o=t[2]/100;if(0===i)return[255*o,255*o,255*o];const n=[0,0,0],r=e%1*6,s=r%1,a=1-s;let l=0;switch(Math.floor(r)){case 0:n[0]=1,n[1]=s,n[2]=0;break;case 1:n[0]=a,n[1]=1,n[2]=0;break;case 2:n[0]=0,n[1]=1,n[2]=s;break;case 3:n[0]=0,n[1]=a,n[2]=1;break;case 4:n[0]=s,n[1]=0,n[2]=1;break;default:n[0]=1,n[1]=0,n[2]=a}return l=(1-i)*o,[255*(i*n[0]+l),255*(i*n[1]+l),255*(i*n[2]+l)]},r.hcg.hsv=function(t){const e=t[1]/100,i=e+t[2]/100*(1-e);let o=0;return i>0&&(o=e/i),[t[0],100*o,100*i]},r.hcg.hsl=function(t){const e=t[1]/100,i=t[2]/100*(1-e)+.5*e;let o=0;return i>0&&i<.5?o=e/(2*i):i>=.5&&i<1&&(o=e/(2*(1-i))),[t[0],100*o,100*i]},r.hcg.hwb=function(t){const e=t[1]/100,i=e+t[2]/100*(1-e);return[t[0],100*(i-e),100*(1-i)]},r.hwb.hcg=function(t){const e=t[1]/100,i=1-t[2]/100,o=i-e;let n=0;return o<1&&(n=(i-o)/(1-o)),[t[0],100*o,100*n]},r.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]},r.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]},r.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]},r.gray.hsl=function(t){return[0,0,t[0]]},r.gray.hsv=r.gray.hsl,r.gray.hwb=function(t){return[0,100,t[0]]},r.gray.cmyk=function(t){return[0,0,0,t[0]]},r.gray.lab=function(t){return[t[0],0,0]},r.gray.hex=function(t){const e=255&Math.round(t[0]/100*255),i=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(i.length)+i},r.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]}},8513:(t,e,i)=>{const o=i(4560),n=i(5920),r={};Object.keys(o).forEach((t=>{r[t]={},Object.defineProperty(r[t],"channels",{value:o[t].channels}),Object.defineProperty(r[t],"labels",{value:o[t].labels});const e=n(t);Object.keys(e).forEach((i=>{const o=e[i];r[t][i]=function(t){const e=function(...e){const i=e[0];if(null==i)return i;i.length>1&&(e=i);const o=t(e);if("object"==typeof o)for(let t=o.length,e=0;e<t;e++)o[e]=Math.round(o[e]);return o};return"conversion"in t&&(e.conversion=t.conversion),e}(o),r[t][i].raw=function(t){const e=function(...e){const i=e[0];return null==i?i:(i.length>1&&(e=i),t(e))};return"conversion"in t&&(e.conversion=t.conversion),e}(o)}))})),t.exports=r},5920:(t,e,i)=>{const o=i(4560);function n(t,e){return function(i){return e(t(i))}}function r(t,e){const i=[e[t].parent,t];let r=o[e[t].parent][t],s=e[t].parent;for(;e[s].parent;)i.unshift(e[s].parent),r=n(o[e[s].parent][s],r),s=e[s].parent;return r.conversion=i,r}t.exports=function(t){const e=function(t){const e=function(){const t={},e=Object.keys(o);for(let i=e.length,o=0;o<i;o++)t[e[o]]={distance:-1,parent:null};return t}(),i=[t];for(e[t].distance=0;i.length;){const t=i.pop(),n=Object.keys(o[t]);for(let o=n.length,r=0;r<o;r++){const o=n[r],s=e[o];-1===s.distance&&(s.distance=e[t].distance+1,s.parent=t,i.unshift(o))}}return e}(t),i={},n=Object.keys(e);for(let t=n.length,o=0;o<t;o++){const t=n[o];null!==e[t].parent&&(i[t]=r(t,e))}return i}},7346:t=>{"use strict";t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},6272:(t,e,i)=>{const o=i(2370),n=i(8513),r=["keyword","gray","hex"],s={};for(const t of Object.keys(n))s[[...n[t].labels].sort().join("")]=t;const a={};function l(t,e){if(!(this instanceof l))return new l(t,e);if(e&&e in r&&(e=null),e&&!(e in n))throw new Error("Unknown model: "+e);let i,c;if(null==t)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(t instanceof l)this.model=t.model,this.color=[...t.color],this.valpha=t.valpha;else if("string"==typeof t){const e=o.get(t);if(null===e)throw new Error("Unable to parse color from string: "+t);this.model=e.model,c=n[this.model].channels,this.color=e.value.slice(0,c),this.valpha="number"==typeof e.value[c]?e.value[c]:1}else if(t.length>0){this.model=e||"rgb",c=n[this.model].channels;const i=Array.prototype.slice.call(t,0,c);this.color=u(i,c),this.valpha="number"==typeof t[c]?t[c]:1}else if("number"==typeof t)this.model="rgb",this.color=[t>>16&255,t>>8&255,255&t],this.valpha=1;else{this.valpha=1;const e=Object.keys(t);"alpha"in t&&(e.splice(e.indexOf("alpha"),1),this.valpha="number"==typeof t.alpha?t.alpha:0);const o=e.sort().join("");if(!(o in s))throw new Error("Unable to parse color from object: "+JSON.stringify(t));this.model=s[o];const{labels:r}=n[this.model],a=[];for(i=0;i<r.length;i++)a.push(t[r[i]]);this.color=u(a)}if(a[this.model])for(c=n[this.model].channels,i=0;i<c;i++){const t=a[this.model][i];t&&(this.color[i]=t(this.color[i]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}l.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(t){let e=this.model in o.to?this:this.rgb();e=e.round("number"==typeof t?t:1);const i=1===e.valpha?e.color:[...e.color,this.valpha];return o.to[e.model](i)},percentString(t){const e=this.rgb().round("number"==typeof t?t:1),i=1===e.valpha?e.color:[...e.color,this.valpha];return o.to.rgb.percent(i)},array(){return 1===this.valpha?[...this.color]:[...this.color,this.valpha]},object(){const t={},{channels:e}=n[this.model],{labels:i}=n[this.model];for(let o=0;o<e;o++)t[i[o]]=this.color[o];return 1!==this.valpha&&(t.alpha=this.valpha),t},unitArray(){const t=this.rgb().color;return t[0]/=255,t[1]/=255,t[2]/=255,1!==this.valpha&&t.push(this.valpha),t},unitObject(){const t=this.rgb().object();return t.r/=255,t.g/=255,t.b/=255,1!==this.valpha&&(t.alpha=this.valpha),t},round(t){return t=Math.max(t||0,0),new l([...this.color.map(c(t)),this.valpha],this.model)},alpha(t){return void 0!==t?new l([...this.color,Math.max(0,Math.min(1,t))],this.model):this.valpha},red:h("rgb",0,d(255)),green:h("rgb",1,d(255)),blue:h("rgb",2,d(255)),hue:h(["hsl","hsv","hsl","hwb","hcg"],0,(t=>(t%360+360)%360)),saturationl:h("hsl",1,d(100)),lightness:h("hsl",2,d(100)),saturationv:h("hsv",1,d(100)),value:h("hsv",2,d(100)),chroma:h("hcg",1,d(100)),gray:h("hcg",2,d(100)),white:h("hwb",1,d(100)),wblack:h("hwb",2,d(100)),cyan:h("cmyk",0,d(100)),magenta:h("cmyk",1,d(100)),yellow:h("cmyk",2,d(100)),black:h("cmyk",3,d(100)),x:h("xyz",0,d(95.047)),y:h("xyz",1,d(100)),z:h("xyz",2,d(108.833)),l:h("lab",0,d(100)),a:h("lab",1),b:h("lab",2),keyword(t){return void 0!==t?new l(t):n[this.model].keyword(this.color)},hex(t){return void 0!==t?new l(t):o.to.hex(this.rgb().round().color)},hexa(t){if(void 0!==t)return new l(t);const e=this.rgb().round().color;let i=Math.round(255*this.valpha).toString(16).toUpperCase();return 1===i.length&&(i="0"+i),o.to.hex(e)+i},rgbNumber(){const t=this.rgb().color;return(255&t[0])<<16|(255&t[1])<<8|255&t[2]},luminosity(){const t=this.rgb().color,e=[];for(const[i,o]of t.entries()){const t=o/255;e[i]=t<=.04045?t/12.92:((t+.055)/1.055)**2.4}return.2126*e[0]+.7152*e[1]+.0722*e[2]},contrast(t){const e=this.luminosity(),i=t.luminosity();return e>i?(e+.05)/(i+.05):(i+.05)/(e+.05)},level(t){const e=this.contrast(t);return e>=7?"AAA":e>=4.5?"AA":""},isDark(){const t=this.rgb().color;return(2126*t[0]+7152*t[1]+722*t[2])/1e4<128},isLight(){return!this.isDark()},negate(){const t=this.rgb();for(let e=0;e<3;e++)t.color[e]=255-t.color[e];return t},lighten(t){const e=this.hsl();return e.color[2]+=e.color[2]*t,e},darken(t){const e=this.hsl();return e.color[2]-=e.color[2]*t,e},saturate(t){const e=this.hsl();return e.color[1]+=e.color[1]*t,e},desaturate(t){const e=this.hsl();return e.color[1]-=e.color[1]*t,e},whiten(t){const e=this.hwb();return e.color[1]+=e.color[1]*t,e},blacken(t){const e=this.hwb();return e.color[2]+=e.color[2]*t,e},grayscale(){const t=this.rgb().color,e=.3*t[0]+.59*t[1]+.11*t[2];return l.rgb(e,e,e)},fade(t){return this.alpha(this.valpha-this.valpha*t)},opaquer(t){return this.alpha(this.valpha+this.valpha*t)},rotate(t){const e=this.hsl();let i=e.color[0];return i=(i+t)%360,i=i<0?360+i:i,e.color[0]=i,e},mix(t,e){if(!t||!t.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof t);const i=t.rgb(),o=this.rgb(),n=void 0===e?.5:e,r=2*n-1,s=i.alpha()-o.alpha(),a=((r*s==-1?r:(r+s)/(1+r*s))+1)/2,c=1-a;return l.rgb(a*i.red()+c*o.red(),a*i.green()+c*o.green(),a*i.blue()+c*o.blue(),i.alpha()*n+o.alpha()*(1-n))}};for(const t of Object.keys(n)){if(r.includes(t))continue;const{channels:e}=n[t];l.prototype[t]=function(...e){return this.model===t?new l(this):e.length>0?new l(e,t):new l([...(i=n[this.model][t].raw(this.color),Array.isArray(i)?i:[i]),this.valpha],t);var i},l[t]=function(...i){let o=i[0];return"number"==typeof o&&(o=u(i,e)),new l(o,t)}}function c(t){return function(e){return function(t,e){return Number(t.toFixed(e))}(e,t)}}function h(t,e,i){t=Array.isArray(t)?t:[t];for(const o of t)(a[o]||(a[o]=[]))[e]=i;return t=t[0],function(o){let n;return void 0!==o?(i&&(o=i(o)),n=this[t](),n.color[e]=o,n):(n=this[t]().color[e],i&&(n=i(n)),n)}}function d(t){return function(e){return Math.max(0,Math.min(t,e))}}function u(t,e){for(let i=0;i<e;i++)"number"!=typeof t[i]&&(t[i]=0);return t}t.exports=l},2370:(t,e,i)=>{var o=i(7346),n=i(9311),r=Object.hasOwnProperty,s=Object.create(null);for(var a in o)r.call(o,a)&&(s[o[a]]=a);var l=t.exports={to:{},get:{}};function c(t,e,i){return Math.min(Math.max(e,t),i)}function h(t){var e=Math.round(t).toString(16).toUpperCase();return e.length<2?"0"+e:e}l.get=function(t){var e,i;switch(t.substring(0,3).toLowerCase()){case"hsl":e=l.get.hsl(t),i="hsl";break;case"hwb":e=l.get.hwb(t),i="hwb";break;default:e=l.get.rgb(t),i="rgb"}return e?{model:i,value:e}:null},l.get.rgb=function(t){if(!t)return null;var e,i,n,s=[0,0,0,1];if(e=t.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(n=e[2],e=e[1],i=0;i<3;i++){var a=2*i;s[i]=parseInt(e.slice(a,a+2),16)}n&&(s[3]=parseInt(n,16)/255)}else if(e=t.match(/^#([a-f0-9]{3,4})$/i)){for(n=(e=e[1])[3],i=0;i<3;i++)s[i]=parseInt(e[i]+e[i],16);n&&(s[3]=parseInt(n+n,16)/255)}else if(e=t.match(/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)){for(i=0;i<3;i++)s[i]=parseInt(e[i+1],0);e[4]&&(e[5]?s[3]=.01*parseFloat(e[4]):s[3]=parseFloat(e[4]))}else{if(!(e=t.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)))return(e=t.match(/^(\w+)$/))?"transparent"===e[1]?[0,0,0,0]:r.call(o,e[1])?((s=o[e[1]])[3]=1,s):null:null;for(i=0;i<3;i++)s[i]=Math.round(2.55*parseFloat(e[i+1]));e[4]&&(e[5]?s[3]=.01*parseFloat(e[4]):s[3]=parseFloat(e[4]))}for(i=0;i<3;i++)s[i]=c(s[i],0,255);return s[3]=c(s[3],0,1),s},l.get.hsl=function(t){if(!t)return null;var e=t.match(/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(e){var i=parseFloat(e[4]);return[(parseFloat(e[1])%360+360)%360,c(parseFloat(e[2]),0,100),c(parseFloat(e[3]),0,100),c(isNaN(i)?1:i,0,1)]}return null},l.get.hwb=function(t){if(!t)return null;var e=t.match(/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(e){var i=parseFloat(e[4]);return[(parseFloat(e[1])%360+360)%360,c(parseFloat(e[2]),0,100),c(parseFloat(e[3]),0,100),c(isNaN(i)?1:i,0,1)]}return null},l.to.hex=function(){var t=n(arguments);return"#"+h(t[0])+h(t[1])+h(t[2])+(t[3]<1?h(Math.round(255*t[3])):"")},l.to.rgb=function(){var t=n(arguments);return t.length<4||1===t[3]?"rgb("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+")":"rgba("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+", "+t[3]+")"},l.to.rgb.percent=function(){var t=n(arguments),e=Math.round(t[0]/255*100),i=Math.round(t[1]/255*100),o=Math.round(t[2]/255*100);return t.length<4||1===t[3]?"rgb("+e+"%, "+i+"%, "+o+"%)":"rgba("+e+"%, "+i+"%, "+o+"%, "+t[3]+")"},l.to.hsl=function(){var t=n(arguments);return t.length<4||1===t[3]?"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)":"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+t[3]+")"},l.to.hwb=function(){var t=n(arguments),e="";return t.length>=4&&1!==t[3]&&(e=", "+t[3]),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+e+")"},l.to.keyword=function(t){return s[t.slice(0,3)]}},7250:t=>{var e,i;e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i={rotl:function(t,e){return t<<e|t>>>32-e},rotr:function(t,e){return t<<32-e|t>>>e},endian:function(t){if(t.constructor==Number)return 16711935&i.rotl(t,8)|4278255360&i.rotl(t,24);for(var e=0;e<t.length;e++)t[e]=i.endian(t[e]);return t},randomBytes:function(t){for(var e=[];t>0;t--)e.push(Math.floor(256*Math.random()));return e},bytesToWords:function(t){for(var e=[],i=0,o=0;i<t.length;i++,o+=8)e[o>>>5]|=t[i]<<24-o%32;return e},wordsToBytes:function(t){for(var e=[],i=0;i<32*t.length;i+=8)e.push(t[i>>>5]>>>24-i%32&255);return e},bytesToHex:function(t){for(var e=[],i=0;i<t.length;i++)e.push((t[i]>>>4).toString(16)),e.push((15&t[i]).toString(16));return e.join("")},hexToBytes:function(t){for(var e=[],i=0;i<t.length;i+=2)e.push(parseInt(t.substr(i,2),16));return e},bytesToBase64:function(t){for(var i=[],o=0;o<t.length;o+=3)for(var n=t[o]<<16|t[o+1]<<8|t[o+2],r=0;r<4;r++)8*o+6*r<=8*t.length?i.push(e.charAt(n>>>6*(3-r)&63)):i.push("=");return i.join("")},base64ToBytes:function(t){t=t.replace(/[^A-Z0-9+\/]/gi,"");for(var i=[],o=0,n=0;o<t.length;n=++o%4)0!=n&&i.push((e.indexOf(t.charAt(o-1))&Math.pow(2,-2*n+8)-1)<<2*n|e.indexOf(t.charAt(o))>>>6-2*n);return i}},t.exports=i},8666:t=>{t.exports=function(t){return!(!t||"string"==typeof t)&&(t instanceof Array||Array.isArray(t)||t.length>=0&&(t.splice instanceof Function||Object.getOwnPropertyDescriptor(t,t.length-1)&&"String"!==t.constructor.name))}},4418:(t,e,i)=>{var o,n,r,s;o=i(7250),n=i(4754).utf8,r=i(4754).bin,(s=function(t,e){var i=o.wordsToBytes(function(t){t.constructor==String?t=n.stringToBytes(t):"undefined"!=typeof Buffer&&"function"==typeof Buffer.isBuffer&&Buffer.isBuffer(t)?t=Array.prototype.slice.call(t,0):Array.isArray(t)||(t=t.toString());var e=o.bytesToWords(t),i=8*t.length,r=[],s=1732584193,a=-271733879,l=-1732584194,c=271733878,h=-1009589776;e[i>>5]|=128<<24-i%32,e[15+(i+64>>>9<<4)]=i;for(var d=0;d<e.length;d+=16){for(var u=s,p=a,g=l,m=c,f=h,v=0;v<80;v++){if(v<16)r[v]=e[d+v];else{var b=r[v-3]^r[v-8]^r[v-14]^r[v-16];r[v]=b<<1|b>>>31}var y=(s<<5|s>>>27)+h+(r[v]>>>0)+(v<20?1518500249+(a&l|~a&c):v<40?1859775393+(a^l^c):v<60?(a&l|a&c|l&c)-1894007588:(a^l^c)-899497514);h=c,c=l,l=a<<30|a>>>2,a=s,s=y}s+=u,a+=p,l+=g,c+=m,h+=f}return[s,a,l,c,h]}(t));return e&&e.asBytes?i:e&&e.asString?r.bytesToString(i):o.bytesToHex(i)})._blocksize=16,s._digestsize=20,t.exports=s},9311:(t,e,i)=>{"use strict";var o=i(8666),n=Array.prototype.concat,r=Array.prototype.slice,s=t.exports=function(t){for(var e=[],i=0,s=t.length;i<s;i++){var a=t[i];o(a)?e=n.call(e,r.call(a)):e.push(a)}return e};s.wrap=function(t){return function(){return t(s(arguments))}}},3434:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"align-center",icon:[448,512,[],"f037","M112 48c-8.8 0-16 7.2-16 16s7.2 16 16 16H336c8.8 0 16-7.2 16-16s-7.2-16-16-16H112zM16 176c-8.8 0-16 7.2-16 16s7.2 16 16 16H432c8.8 0 16-7.2 16-16s-7.2-16-16-16H16zM96 320c0 8.8 7.2 16 16 16H336c8.8 0 16-7.2 16-16s-7.2-16-16-16H112c-8.8 0-16 7.2-16 16zM16 432c-8.8 0-16 7.2-16 16s7.2 16 16 16H432c8.8 0 16-7.2 16-16s-7.2-16-16-16H16z"]},e.mw},9314:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"align-left",icon:[448,512,[],"f036","M16 48C7.2 48 0 55.2 0 64s7.2 16 16 16H272c8.8 0 16-7.2 16-16s-7.2-16-16-16H16zm0 128c-8.8 0-16 7.2-16 16s7.2 16 16 16H432c8.8 0 16-7.2 16-16s-7.2-16-16-16H16zM0 320c0 8.8 7.2 16 16 16H272c8.8 0 16-7.2 16-16s-7.2-16-16-16H16c-8.8 0-16 7.2-16 16zM16 432c-8.8 0-16 7.2-16 16s7.2 16 16 16H432c8.8 0 16-7.2 16-16s-7.2-16-16-16H16z"]},e.mw},3093:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"align-right",icon:[448,512,[],"f038","M432 48c8.8 0 16 7.2 16 16s-7.2 16-16 16H176c-8.8 0-16-7.2-16-16s7.2-16 16-16H432zm0 128c8.8 0 16 7.2 16 16s-7.2 16-16 16H16c-8.8 0-16-7.2-16-16s7.2-16 16-16H432zm16 144c0 8.8-7.2 16-16 16H176c-8.8 0-16-7.2-16-16s7.2-16 16-16H432c8.8 0 16 7.2 16 16zM432 432c8.8 0 16 7.2 16 16s-7.2 16-16 16H16c-8.8 0-16-7.2-16-16s7.2-16 16-16H432z"]},e.mw},3573:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"angle-down",icon:[448,512,[8964],"f107","M212.7 331.3c6.2 6.2 16.4 6.2 22.6 0l160-160c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L224 297.4 75.3 148.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l160 160z"]},e.mw},9948:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"angle-up",icon:[448,512,[8963],"f106","M212.7 148.7c6.2-6.2 16.4-6.2 22.6 0l160 160c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0L224 182.6 75.3 331.3c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6l160-160z"]},e.mw},2611:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"arrow-down",icon:[384,512,[8595],"f063","M180.7 475.3c6.2 6.2 16.4 6.2 22.6 0l176-176c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L208 425.4 208 48c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 377.4L27.3 276.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l176 176z"]},e.mw},7946:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"arrow-left",icon:[448,512,[8592],"f060","M4.7 244.7c-6.2 6.2-6.2 16.4 0 22.6l176 176c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L54.6 272 432 272c8.8 0 16-7.2 16-16s-7.2-16-16-16L54.6 240 203.3 91.3c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0l-176 176z"]},e.mw},6301:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"arrow-right",icon:[448,512,[8594],"f061","M443.3 267.3c6.2-6.2 6.2-16.4 0-22.6l-176-176c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6L393.4 240 16 240c-8.8 0-16 7.2-16 16s7.2 16 16 16l377.4 0L244.7 420.7c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l176-176z"]},e.mw},3192:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"arrow-turn-down",icon:[384,512,["level-down"],"f149","M16 32C7.2 32 0 24.8 0 16S7.2 0 16 0L128 0c44.2 0 80 35.8 80 80l0 377.4L308.7 356.7c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6l-128 128c-6.2 6.2-16.4 6.2-22.6 0l-128-128c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0L176 457.4 176 80c0-26.5-21.5-48-48-48L16 32z"]},e.mw},9014:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"arrow-up",icon:[384,512,[8593],"f062","M203.3 36.7c-6.2-6.2-16.4-6.2-22.6 0l-176 176c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L176 86.6V464c0 8.8 7.2 16 16 16s16-7.2 16-16V86.6L356.7 235.3c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6l-176-176z"]},e.mw},2273:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i="arrows-rotate",o=[128472,"refresh","sync"],n="f021",r="M69.4 210.6C89.8 126.5 165.6 64 256 64c71.1 0 133.1 38.6 166.3 96H368c-8.8 0-16 7.2-16 16s7.2 16 16 16h80.7H464c8.8 0 16-7.2 16-16V80c0-8.8-7.2-16-16-16s-16 7.2-16 16v60.6C408.8 75.5 337.5 32 256 32C149.6 32 60.5 106.2 37.7 205.6C35.5 215.2 43.1 224 53 224c7.9 0 14.6-5.7 16.5-13.4zm373.2 90.9C422.2 385.5 346.4 448 256 448c-71.1 0-133.1-38.6-166.3-96h54.5c8.8 0 16-7.2 16-16s-7.2-16-16-16H63.3 48.2c-8.8 0-16 7.2-16 16v96c0 8.8 7.2 16 16 16s16-7.2 16-16V371.8C103.4 436.6 174.7 480 256 480c106.4 0 195.5-74.2 218.3-173.6c2.2-9.6-5.4-18.4-15.3-18.4c-7.9 0-14.6 5.7-16.5 13.4z";e.definition={prefix:"fal",iconName:i,icon:[512,512,o,n,r]},e.faArrowsRotate=e.definition,e.prefix="fal",e.iconName=i,e.width=512,e.height=512,e.ligatures=o,e.unicode=n,e.svgPathData=r,e.aliases=o},8020:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"arrows-to-dot",icon:[512,512,[],"e4be","M272 16c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 121.4L187.3 84.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l80 80c6.2 6.2 16.4 6.2 22.6 0l80-80c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L272 137.4 272 16zm16 240a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm59.3 171.3c6.2-6.2 6.2-16.4 0-22.6l-80-80c-6.2-6.2-16.4-6.2-22.6 0l-80 80c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L240 374.6V496c0 8.8 7.2 16 16 16s16-7.2 16-16V374.6l52.7 52.7c6.2 6.2 16.4 6.2 22.6 0zM84.7 164.7c-6.2 6.2-6.2 16.4 0 22.6L137.4 240 16 240c-8.8 0-16 7.2-16 16s7.2 16 16 16H137.4L84.7 324.7c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l80-80c6.2-6.2 6.2-16.4 0-22.6l-80-80c-6.2-6.2-16.4-6.2-22.6 0zm342.6 0c-6.2-6.2-16.4-6.2-22.6 0l-80 80c-6.2 6.2-6.2 16.4 0 22.6l80 80c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L374.6 272H496c8.8 0 16-7.2 16-16s-7.2-16-16-16l-121.4 0 52.7-52.7c6.2-6.2 6.2-16.4 0-22.6z"]},e.mw},9742:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"bars",icon:[448,512,["navicon"],"f0c9","M0 80c0-8.8 7.2-16 16-16H432c8.8 0 16 7.2 16 16s-7.2 16-16 16H16C7.2 96 0 88.8 0 80zM0 240c0-8.8 7.2-16 16-16H432c8.8 0 16 7.2 16 16s-7.2 16-16 16H16c-8.8 0-16-7.2-16-16zM448 400c0 8.8-7.2 16-16 16H16c-8.8 0-16-7.2-16-16s7.2-16 16-16H432c8.8 0 16 7.2 16 16z"]},e.mw},643:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"bold",icon:[384,512,[],"f032","M0 48c0-8.8 7.2-16 16-16H48 80 232c66.3 0 120 53.7 120 120c0 38.8-18.4 73.3-46.9 95.2C351.1 264 384 308.1 384 360c0 66.3-53.7 120-120 120H80 48 16c-8.8 0-16-7.2-16-16s7.2-16 16-16H32V256 64H16C7.2 64 0 56.8 0 48zM64 448H80 264c48.6 0 88-39.4 88-88s-39.4-88-88-88H232 64V448zm0-208H232c48.6 0 88-39.4 88-88s-39.4-88-88-88H80 64V240z"]},e.mw},4585:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"book",icon:[448,512,[128212],"f02d","M64 0C28.7 0 0 28.7 0 64L0 448l0 0c0 35.3 28.7 64 64 64H432c8.8 0 16-7.2 16-16s-7.2-16-16-16H416V413.3c18.6-6.6 32-24.4 32-45.3V48c0-26.5-21.5-48-48-48H64zM384 416v64H64c-17.7 0-32-14.3-32-32s14.3-32 32-32H384zM64 384c-11.7 0-22.6 3.1-32 8.6L32 64c0-17.7 14.3-32 32-32H96V384H64zm64 0V32H400c8.8 0 16 7.2 16 16V368c0 8.8-7.2 16-16 16H128zm48-240c0 8.8 7.2 16 16 16H352c8.8 0 16-7.2 16-16s-7.2-16-16-16H192c-8.8 0-16 7.2-16 16zm0 96c0 8.8 7.2 16 16 16H352c8.8 0 16-7.2 16-16s-7.2-16-16-16H192c-8.8 0-16 7.2-16 16z"]},e.mw},444:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"building",icon:[384,512,[127970,61687],"f1ad","M64 32C46.3 32 32 46.3 32 64V448c0 17.7 14.3 32 32 32h64V416c0-35.3 28.7-64 64-64s64 28.7 64 64v64h64c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32H64zM224 416c0-17.7-14.3-32-32-32s-32 14.3-32 32v64h64V416zm-96 96H64c-35.3 0-64-28.7-64-64V64C0 28.7 28.7 0 64 0H320c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H256 224 160 128zM64 120c0-13.3 10.7-24 24-24h48c13.3 0 24 10.7 24 24v48c0 13.3-10.7 24-24 24H88c-13.3 0-24-10.7-24-24V120zm32 8v32h32V128H96zM248 96h48c13.3 0 24 10.7 24 24v48c0 13.3-10.7 24-24 24H248c-13.3 0-24-10.7-24-24V120c0-13.3 10.7-24 24-24zm8 64h32V128H256v32zM64 248c0-13.3 10.7-24 24-24h48c13.3 0 24 10.7 24 24v48c0 13.3-10.7 24-24 24H88c-13.3 0-24-10.7-24-24V248zm32 8v32h32V256H96zm152-32h48c13.3 0 24 10.7 24 24v48c0 13.3-10.7 24-24 24H248c-13.3 0-24-10.7-24-24V248c0-13.3 10.7-24 24-24zm8 64h32V256H256v32z"]},e.mw},7029:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"caret-down",icon:[320,512,[],"f0d7","M165.6 349.8c-1.4 1.3-3.5 2.2-5.6 2.2s-4.2-.8-5.6-2.2L34.2 236.3c-1.4-1.3-2.2-3.2-2.2-5.2c0-3.9 3.2-7.1 7.1-7.1l241.7 0c3.9 0 7.1 3.2 7.1 7.1c0 2-.8 3.8-2.2 5.2L165.6 349.8zm22 23.3L307.7 259.6c7.8-7.4 12.3-17.7 12.3-28.4c0-21.6-17.5-39.1-39.1-39.1L39.1 192C17.5 192 0 209.5 0 231.1c0 10.8 4.4 21.1 12.3 28.4L132.4 373.1c7.4 7 17.3 10.9 27.6 10.9s20.1-3.9 27.6-10.9z"]},e.mw},8532:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"caret-left",icon:[256,512,[],"f0d9","M34.2 261.6c-1.3-1.4-2.2-3.5-2.2-5.6s.8-4.2 2.2-5.6L147.7 130.2c1.3-1.4 3.2-2.2 5.2-2.2c3.9 0 7.1 3.2 7.1 7.1l0 241.7c0 3.9-3.2 7.1-7.1 7.1c-2 0-3.8-.8-5.2-2.2L34.2 261.6zm-23.3 22L124.4 403.7c7.4 7.8 17.7 12.3 28.4 12.3c21.6 0 39.1-17.5 39.1-39.1l0-241.7c0-21.6-17.5-39.1-39.1-39.1c-10.8 0-21.1 4.4-28.5 12.3L10.9 228.4C3.9 235.9 0 245.8 0 256s3.9 20.1 10.9 27.6z"]},e.mw},6639:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"caret-right",icon:[256,512,[],"f0da","M221.8 250.4c1.3 1.4 2.2 3.5 2.2 5.6s-.8 4.2-2.2 5.6L108.3 381.8c-1.3 1.4-3.2 2.2-5.2 2.2c-3.9 0-7.1-3.2-7.1-7.1l0-241.7c0-3.9 3.2-7.1 7.1-7.1c2 0 3.8 .8 5.2 2.2L221.8 250.4zm23.3-22L131.6 108.3c-7.4-7.8-17.7-12.3-28.4-12.3C81.5 96 64 113.5 64 135.1l0 241.7c0 21.6 17.5 39.1 39.1 39.1c10.8 0 21.1-4.4 28.4-12.3L245.1 283.6c7-7.4 10.9-17.3 10.9-27.6s-3.9-20.1-10.9-27.6z"]},e.mw},1836:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"caret-up",icon:[320,512,[],"f0d8","M154.4 162.2c1.4-1.3 3.5-2.2 5.6-2.2s4.2 .8 5.6 2.2L285.8 275.7c1.4 1.3 2.2 3.2 2.2 5.2c0 3.9-3.2 7.1-7.1 7.1H39.1c-3.9 0-7.1-3.2-7.1-7.1c0-2 .8-3.8 2.2-5.2L154.4 162.2zm-22-23.3L12.3 252.4C4.4 259.8 0 270.1 0 280.9C0 302.5 17.5 320 39.1 320H280.9c21.6 0 39.1-17.5 39.1-39.1c0-10.8-4.4-21.1-12.3-28.4L187.6 138.9c-7.4-7-17.3-10.9-27.6-10.9s-20.1 3.9-27.6 10.9z"]},e.mw},2653:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"chart-bar",icon:[512,512,["bar-chart"],"f080","M16 32c8.8 0 16 7.2 16 16V400c0 26.5 21.5 48 48 48H496c8.8 0 16 7.2 16 16s-7.2 16-16 16H80c-44.2 0-80-35.8-80-80V48c0-8.8 7.2-16 16-16zM128 144c0-8.8 7.2-16 16-16l224 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-224 0c-8.8 0-16-7.2-16-16zm16 80H304c8.8 0 16 7.2 16 16s-7.2 16-16 16H144c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 96H432c8.8 0 16 7.2 16 16s-7.2 16-16 16H144c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]},e.mw},8055:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"chart-column",icon:[512,512,[],"e0e3","M16 32c8.8 0 16 7.2 16 16V400c0 26.5 21.5 48 48 48H496c8.8 0 16 7.2 16 16s-7.2 16-16 16H80c-44.2 0-80-35.8-80-80V48c0-8.8 7.2-16 16-16zM144 256c8.8 0 16 7.2 16 16v96c0 8.8-7.2 16-16 16s-16-7.2-16-16V272c0-8.8 7.2-16 16-16zM256 144V368c0 8.8-7.2 16-16 16s-16-7.2-16-16V144c0-8.8 7.2-16 16-16s16 7.2 16 16zm80 48c8.8 0 16 7.2 16 16V368c0 8.8-7.2 16-16 16s-16-7.2-16-16V208c0-8.8 7.2-16 16-16zm112-80V368c0 8.8-7.2 16-16 16s-16-7.2-16-16V112c0-8.8 7.2-16 16-16s16 7.2 16 16z"]},e.mw},9492:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"chart-line",icon:[512,512,["line-chart"],"f201","M32 48c0-8.8-7.2-16-16-16S0 39.2 0 48V400c0 44.2 35.8 80 80 80H496c8.8 0 16-7.2 16-16s-7.2-16-16-16H80c-26.5 0-48-21.5-48-48V48zM475.3 155.3c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L320 265.4l-84.7-84.7c-6.2-6.2-16.4-6.2-22.6 0l-112 112c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L224 214.6l84.7 84.7c6.2 6.2 16.4 6.2 22.6 0l144-144z"]},e.mw},4334:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"chart-pie",icon:[576,512,["pie-chart"],"f200","M511.3 208H336V32.7c93.3 7.7 167.6 82.1 175.3 175.3zM320 240H528.5c8.4 0 15.4-6.5 15.5-14.9l0-1.1C544 100.3 443.7 0 320 0l-1.1 0C310.5 0 304 7.1 304 15.5V224c0 8.8 7.2 16 16 16zm-86.6 70.6L375.3 452.6C344.9 470 309.6 480 272 480C157.1 480 64 386.9 64 272c0-98.3 68.3-180.8 160-202.4V288c0 8.5 3.4 16.6 9.4 22.6zM239 34.3C122.1 50.3 32 150.7 32 272c0 132.5 107.5 240 240 240c51.8 0 99.8-16.4 139-44.3c7.7-5.5 8.2-16.5 1.5-23.1L256 288V49.6c0-9.2-7.8-16.6-17-15.4zM489.6 412.3L397.3 320H538.4c-8.3 35-25.4 66.6-48.9 92.3zM573.8 305c1.3-9.2-6.1-17-15.4-17H358.6c-14.3 0-21.4 17.2-11.3 27.3L478.7 446.7c5.8 5.8 15.2 6.3 21.2 .7c39.3-36.7 66.2-86.5 73.9-142.3z"]},e.mw},7324:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"chart-simple",icon:[448,512,[],"e473","M240 64c8.8 0 16 7.2 16 16V432c0 8.8-7.2 16-16 16H208c-8.8 0-16-7.2-16-16V80c0-8.8 7.2-16 16-16h32zM208 32c-26.5 0-48 21.5-48 48V432c0 26.5 21.5 48 48 48h32c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48H208zM80 256c8.8 0 16 7.2 16 16V432c0 8.8-7.2 16-16 16H48c-8.8 0-16-7.2-16-16V272c0-8.8 7.2-16 16-16H80zM48 224c-26.5 0-48 21.5-48 48V432c0 26.5 21.5 48 48 48H80c26.5 0 48-21.5 48-48V272c0-26.5-21.5-48-48-48H48zm320-96h32c8.8 0 16 7.2 16 16V432c0 8.8-7.2 16-16 16H368c-8.8 0-16-7.2-16-16V144c0-8.8 7.2-16 16-16zm-48 16V432c0 26.5 21.5 48 48 48h32c26.5 0 48-21.5 48-48V144c0-26.5-21.5-48-48-48H368c-26.5 0-48 21.5-48 48z"]},e.mw},1513:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"check",icon:[448,512,[10003,10004],"f00c","M443.3 100.7c6.2 6.2 6.2 16.4 0 22.6l-272 272c-6.2 6.2-16.4 6.2-22.6 0l-144-144c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0L160 361.4 420.7 100.7c6.2-6.2 16.4-6.2 22.6 0z"]},e.mw},2841:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"chevron-down",icon:[512,512,[],"f078","M267.3 395.3c-6.2 6.2-16.4 6.2-22.6 0l-192-192c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0L256 361.4 436.7 180.7c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6l-192 192z"]},e.mw},9256:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"chevron-left",icon:[320,512,[9001],"f053","M20.7 267.3c-6.2-6.2-6.2-16.4 0-22.6l192-192c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6L54.6 256 235.3 436.7c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0l-192-192z"]},e.mw},75:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"chevron-right",icon:[320,512,[9002],"f054","M299.3 244.7c6.2 6.2 6.2 16.4 0 22.6l-192 192c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6L265.4 256 84.7 75.3c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0l192 192z"]},e.mw},9432:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"chevron-up",icon:[512,512,[],"f077","M244.7 116.7c6.2-6.2 16.4-6.2 22.6 0l192 192c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0L256 150.6 75.3 331.3c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6l192-192z"]},e.mw},2896:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle",icon:[512,512,[128308,128309,128992,128993,128994,128995,128996,9679,9898,9899,11044,61708,61915],"f111","M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480A256 256 0 1 0 256 0a256 256 0 1 0 0 512z"]},e.mw},8654:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-check",icon:[512,512,[61533,"check-circle"],"f058","M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM363.3 203.3c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L224 297.4l-52.7-52.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l64 64c6.2 6.2 16.4 6.2 22.6 0l128-128z"]},e.mw},9651:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-exclamation",icon:[512,512,["exclamation-circle"],"f06a","M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c-8.8 0-16 7.2-16 16V272c0 8.8 7.2 16 16 16s16-7.2 16-16V144c0-8.8-7.2-16-16-16zm24 224a24 24 0 1 0 -48 0 24 24 0 1 0 48 0z"]},e.mw},5629:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-half-stroke",icon:[512,512,[9680,"adjust"],"f042","M240 479.4V32.6C123.8 40.8 32 137.7 32 256s91.8 215.2 208 223.4zM480 256c0-118.3-91.8-215.2-208-223.4V479.4C388.2 471.2 480 374.3 480 256zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z"]},e.mw},5844:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM208 352c-8.8 0-16 7.2-16 16s7.2 16 16 16h96c8.8 0 16-7.2 16-16s-7.2-16-16-16H272V240c0-8.8-7.2-16-16-16H216c-8.8 0-16 7.2-16 16s7.2 16 16 16h24v96H208zm48-168a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"]},e.mw},8722:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-play",icon:[512,512,[61469,"play-circle"],"f144","M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm72.7-256L208 329.7V182.3L328.7 256zM212.5 147.5c-7.4-4.5-16.7-4.7-24.3-.5s-12.3 12.3-12.3 20.9V344c0 8.7 4.7 16.7 12.3 20.9s16.8 4.1 24.3-.5l144-88c7.1-4.4 11.5-12.1 11.5-20.5s-4.4-16.1-11.5-20.5l-144-88z"]},e.mw},3386:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-quarter-stroke",icon:[512,512,[],"e5d3","M480 256C480 132.3 379.7 32 256 32V208c0 26.5-21.5 48-48 48H32c0 123.7 100.3 224 224 224s224-100.3 224-224zM224 34.3C125.9 48.3 48.3 125.9 34.3 224H208c8.8 0 16-7.2 16-16V34.3zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z"]},e.mw},8804:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-question",icon:[512,512,[62108,"question-circle"],"f059","M480 256A224 224 0 1 0 32 256a224 224 0 1 0 448 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zm168.7-86.2c6.5-24.6 28.7-41.8 54.2-41.8H280c35.5 0 64 29 64 64.3c0 24-13.4 46.2-34.9 57.2L272 268.3V288c0 8.8-7.2 16-16 16s-16-7.2-16-16V258.5c0-6 3.4-11.5 8.7-14.3l45.8-23.4c10.7-5.4 17.5-16.6 17.5-28.7c0-17.8-14.4-32.3-32-32.3H222.9c-10.9 0-20.5 7.4-23.2 17.9l-.2 .7c-2.2 8.5-11 13.7-19.5 11.4s-13.7-11-11.4-19.5l.2-.7zM232 352a24 24 0 1 1 48 0 24 24 0 1 1 -48 0z"]},e.mw},257:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-radiation",icon:[512,512,[9762,"radiation-alt"],"f7ba","M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM160.6 148.1c2.4-2.1 5.3-2.8 8.4-2c3.3 .8 6.9 3.2 9.1 7.1l37.2 64.4c7.4-7.8 16.9-13.5 27.7-16l-37.2-64.4c-12.7-22-43.9-32.9-66.4-13c-28.1 24.9-48.2 58.6-56 96.9c-5.9 29.4 19.1 51 44.5 51h74.3c-1.5-5.1-2.3-10.4-2.3-16s.8-10.9 2.3-16H128c-4.5 0-8.4-1.9-10.7-4.4c-2.2-2.3-3.1-5.1-2.5-8.3c6.3-31.3 22.7-58.9 45.8-79.3zm54.7 146.4l-37.2 64.4c-12.7 22-6.6 54.4 21.9 64c17.6 5.9 36.5 9.1 56 9.1s38.4-3.2 56-9.1c28.5-9.6 34.6-42 21.9-64l-37.2-64.4c-7.4 7.8-16.9 13.5-27.7 16l37.2 64.4c2.3 3.9 2.6 8.2 1.6 11.4c-.9 3.1-2.9 5.2-5.9 6.2c-14.4 4.8-29.8 7.4-45.8 7.4s-31.5-2.6-45.8-7.4c-3-1-5-3.2-5.9-6.2c-1-3.3-.7-7.5 1.6-11.4L243 310.5c-10.8-2.6-20.3-8.2-27.7-16zM309.7 272H384c25.4 0 50.5-21.5 44.5-51c-7.7-38.3-27.8-72.1-56-96.9c-22.5-19.9-53.7-9-66.4 13L269 201.5c10.8 2.6 20.3 8.2 27.7 16l37.2-64.4c2.3-3.9 5.8-6.3 9.1-7.1c3.1-.7 6-.1 8.4 2c23.1 20.4 39.5 48 45.8 79.3c.6 3.1-.3 5.9-2.5 8.3c-2.3 2.5-6.2 4.4-10.7 4.4H309.7c1.5 5.1 2.3 10.4 2.3 16s-.8 10.9-2.3 16zM256 280a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"]},e.mw},6651:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-three-quarters-stroke",icon:[512,512,[],"e5d4","M477.7 288H272c-26.5 0-48-21.5-48-48V34.3C115.4 49.8 32 143.2 32 256c0 123.7 100.3 224 224 224c112.8 0 206.2-83.4 221.7-192zm2.3-32C480 132.3 379.7 32 256 32V240c0 8.8 7.2 16 16 16H480zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z"]},e.mw},5184:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-xmark",icon:[512,512,[61532,"times-circle","xmark-circle"],"f057","M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM180.7 180.7c-6.2 6.2-6.2 16.4 0 22.6L233.4 256l-52.7 52.7c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L256 278.6l52.7 52.7c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L278.6 256l52.7-52.7c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L256 233.4l-52.7-52.7c-6.2-6.2-16.4-6.2-22.6 0z"]},e.mw},6021:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"code",icon:[640,512,[],"f121","M405.1 .8c-8.4-2.8-17.4 1.7-20.2 10.1l-160 480c-2.8 8.4 1.7 17.4 10.1 20.2s17.4-1.7 20.2-10.1l160-480c2.8-8.4-1.7-17.4-10.1-20.2zM172 117.4c-5.9-6.6-16-7.2-22.6-1.3l-144 128C2 247.1 0 251.4 0 256s2 8.9 5.4 12l144 128c6.6 5.9 16.7 5.3 22.6-1.3s5.3-16.7-1.3-22.6L40.1 256 170.6 140c6.6-5.9 7.2-16 1.3-22.6zm296.1 0c-5.9 6.6-5.3 16.7 1.3 22.6L599.9 256 469.4 372c-6.6 5.9-7.2 16-1.3 22.6s16 7.2 22.6 1.3l144-128c3.4-3 5.4-7.4 5.4-12s-2-8.9-5.4-12l-144-128c-6.6-5.9-16.7-5.3-22.6 1.3z"]},e.mw},2211:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"comment",icon:[512,512,[128489,61669],"f075","M256 64C125.8 64 32 148.6 32 240c0 37.1 15.5 70.6 40 100c5.2 6.3 8.4 14.8 7.4 23.9c-3.1 27-11.4 52.5-25.7 76.3c-.5 .9-1.1 1.8-1.6 2.6c11.1-2.9 22.2-7 32.7-11.5L91.2 446l-6.4-14.7c17-7.4 33-16.7 48.4-27.4c8.5-5.9 19.4-7.5 29.2-4.2C193 410.1 224 416 256 416c130.2 0 224-84.6 224-176s-93.8-176-224-176zM0 240C0 125.2 114.5 32 256 32s256 93.2 256 208s-114.5 208-256 208c-36 0-70.5-6.7-103.8-17.9c-.2-.1-.5 0-.7 .1c-16.9 11.7-34.7 22.1-53.9 30.5C73.6 471.1 44.7 480 16 480c-6.5 0-12.3-3.9-14.8-9.8s-1.1-12.8 3.4-17.4c8.1-8.2 15.2-18.2 21.7-29c11.7-19.6 18.7-40.6 21.3-63.1c0 0-.1-.1-.1-.2C19.6 327.1 0 286.6 0 240z"]},e.mw},7765:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"copy",icon:[448,512,[],"f0c5","M384 352H224c-17.7 0-32-14.3-32-32V64c0-17.7 14.3-32 32-32H332.1c4.2 0 8.3 1.7 11.3 4.7l67.9 67.9c3 3 4.7 7.1 4.7 11.3V320c0 17.7-14.3 32-32 32zM433.9 81.9L366.1 14.1c-9-9-21.2-14.1-33.9-14.1H224c-35.3 0-64 28.7-64 64V320c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V115.9c0-12.7-5.1-24.9-14.1-33.9zM64 128c-35.3 0-64 28.7-64 64V448c0 35.3 28.7 64 64 64H224c35.3 0 64-28.7 64-64V416H256v32c0 17.7-14.3 32-32 32H64c-17.7 0-32-14.3-32-32V192c0-17.7 14.3-32 32-32h64V128H64z"]},e.mw},244:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"dash",icon:[512,512,["minus-large"],"e404","M0 256c0-8.8 7.2-16 16-16H496c8.8 0 16 7.2 16 16s-7.2 16-16 16H16c-8.8 0-16-7.2-16-16z"]},e.mw},588:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"down",icon:[384,512,["arrow-alt-down"],"f354","M189.7 448h4.6c4.4 0 8.6-1.8 11.6-5L348.5 293.2c2.2-2.3 3.5-5.4 3.5-8.7c0-6.9-5.6-12.6-12.6-12.6H256c-8.8 0-16-7.2-16-16V80c0-8.8-7.2-16-16-16H160c-8.8 0-16 7.2-16 16V256c0 8.8-7.2 16-16 16H44.6c-6.9 0-12.6 5.6-12.6 12.6c0 3.2 1.2 6.3 3.5 8.7L178.1 443c3 3.2 7.2 5 11.6 5zM384 284.6c0 11.4-4.4 22.5-12.3 30.7L229 465.1c-9.1 9.5-21.6 14.9-34.8 14.9h-4.6c-13.1 0-25.7-5.4-34.8-14.9L12.3 315.3C4.4 307 0 296 0 284.6C0 260 20 240 44.6 240H112V80c0-26.5 21.5-48 48-48h64c26.5 0 48 21.5 48 48V240h67.4c24.6 0 44.6 20 44.6 44.6z"]},e.mw},1736:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"down-right",icon:[384,512,[],"e16b","M312 384c4.4 0 8-3.6 8-8V174.6c0-3.7-3-6.6-6.6-6.6c-1.8 0-3.4 .7-4.7 1.9l-61.4 61.4c-6.2 6.2-16.4 6.2-22.6 0L112 118.6c-4.2-4.2-10-6.6-16-6.6s-11.8 2.4-16 6.6L54.6 144c-4.2 4.2-6.6 10-6.6 16s2.4 11.8 6.6 16L167.3 288.7c3 3 4.7 7.1 4.7 11.3s-1.7 8.3-4.7 11.3l-61.4 61.4c-1.2 1.2-1.9 2.9-1.9 4.7c0 3.7 3 6.6 6.6 6.6H312zm40-8c0 22.1-17.9 40-40 40H110.6C89.3 416 72 398.7 72 377.4c0-10.2 4.1-20.1 11.3-27.3L133.4 300 32 198.6C21.8 188.4 16 174.5 16 160s5.8-28.4 16-38.6L57.4 96C67.6 85.8 81.5 80 96 80s28.4 5.8 38.6 16L236 197.4l50.1-50.1c7.2-7.2 17.1-11.3 27.3-11.3c21.3 0 38.6 17.3 38.6 38.6V376z"]},e.mw},3788:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"download",icon:[512,512,[],"f019","M272 16c0-8.8-7.2-16-16-16s-16 7.2-16 16V329.4L139.3 228.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l128 128c6.2 6.2 16.4 6.2 22.6 0l128-128c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L272 329.4V16zM140.1 320H64c-35.3 0-64 28.7-64 64v64c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V384c0-35.3-28.7-64-64-64H371.9l-32 32H448c17.7 0 32 14.3 32 32v64c0 17.7-14.3 32-32 32H64c-17.7 0-32-14.3-32-32V384c0-17.7 14.3-32 32-32H172.1l-32-32zM432 416a24 24 0 1 0 -48 0 24 24 0 1 0 48 0z"]},e.mw},5327:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"ellipsis",icon:[448,512,["ellipsis-h"],"f141","M416 256a32 32 0 1 1 -64 0 32 32 0 1 1 64 0zm-160 0a32 32 0 1 1 -64 0 32 32 0 1 1 64 0zM64 288a32 32 0 1 1 0-64 32 32 0 1 1 0 64z"]},e.mw},8701:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"ellipsis-vertical",icon:[128,512,["ellipsis-v"],"f142","M64 384a32 32 0 1 0 0 64 32 32 0 1 0 0-64zm0-160a32 32 0 1 0 0 64 32 32 0 1 0 0-64zM96 96A32 32 0 1 0 32 96a32 32 0 1 0 64 0z"]},e.mw},7675:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"exclamation",icon:[64,512,[10069,10071,61738],"21","M48 48c0-8.8-7.2-16-16-16s-16 7.2-16 16V352c0 8.8 7.2 16 16 16s16-7.2 16-16V48zM32 472a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"]},e.mw},4155:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"eye",icon:[576,512,[128065],"f06e","M117.2 136C160.3 96 217.6 64 288 64s127.7 32 170.8 72c43.1 40 71.9 88 85.2 120c-13.3 32-42.1 80-85.2 120c-43.1 40-100.4 72-170.8 72s-127.7-32-170.8-72C74.1 336 45.3 288 32 256c13.3-32 42.1-80 85.2-120zM288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM192 256a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zm224 0a128 128 0 1 0 -256 0 128 128 0 1 0 256 0z"]},e.mw},6977:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"eye-slash",icon:[640,512,[],"f070","M25.9 3.4C19-2 8.9-.8 3.4 6.1S-.8 23.1 6.1 28.6l608 480c6.9 5.5 17 4.3 22.5-2.6s4.3-17-2.6-22.5L25.9 3.4zM605.5 268.3c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-51.2 0-96 14.8-133.9 36.8l27.3 21.5C244.6 74.2 280.2 64 320 64c70.4 0 127.7 32 170.8 72c43.1 40 71.9 88 85.2 120c-9.2 22.1-25.9 52-49.5 81.5l25.1 19.8c25.6-32 43.7-64.4 53.9-89zM88.4 154.7c-25.6 32-43.7 64.4-53.9 89c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c51.2 0 96-14.8 133.9-36.8l-27.3-21.5C395.4 437.8 359.8 448 320 448c-70.4 0-127.7-32-170.8-72C106.1 336 77.3 288 64 256c9.2-22.1 25.9-52 49.5-81.5L88.4 154.7zM320 384c16.7 0 32.7-3.2 47.4-9.1l-30.9-24.4c-5.4 .9-10.9 1.4-16.5 1.4c-51 0-92.8-39.8-95.8-90.1l-30.9-24.4c-.9 6-1.3 12.2-1.3 18.5c0 70.7 57.3 128 128 128zM448 256c0-70.7-57.3-128-128-128c-16.7 0-32.7 3.2-47.4 9.1l30.9 24.4c5.4-.9 10.9-1.4 16.5-1.4c51 0 92.8 39.8 95.8 90.1l30.9 24.4c.9-6 1.3-12.2 1.3-18.5z"]},e.mw},9805:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"fill",icon:[512,512,[],"f575","M59.3 4.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l97.4 97.4L30.6 228.1c-37.5 37.5-37.5 98.3 0 135.8L148.1 481.4c37.5 37.5 98.3 37.5 135.8 0L474.3 290.9c28.1-28.1 28.1-73.7 0-101.8L322.9 37.7c-28.1-28.1-73.7-28.1-101.8 0l-64.4 64.4L59.3 4.7zm97.4 142.6l88 88c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6l-88-88 64.4-64.4c15.6-15.6 40.9-15.6 56.6 0L451.7 211.7c15.6 15.6 15.6 40.9 0 56.6L432 288H35c1.7-13.6 7.8-26.8 18.2-37.3L156.7 147.3zM53.3 341.3C47 335 42.3 327.7 39.2 320H400L261.3 458.7c-25 25-65.5 25-90.5 0L53.3 341.3z"]},e.mw},5633:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"filter",icon:[512,512,[],"f0b0","M0 71.5C0 49.7 17.7 32 39.5 32H472.5C494.3 32 512 49.7 512 71.5c0 9.2-3.2 18.1-9.1 25.2L320 317.8V446.1c0 18.7-15.2 33.9-33.9 33.9c-7.5 0-14.8-2.5-20.8-7.1l-61-47.4c-7.8-6.1-12.4-15.4-12.4-25.3V317.8L9.1 96.7C3.2 89.6 0 80.7 0 71.5zM39.5 64c-4.2 0-7.5 3.4-7.5 7.5c0 1.8 .6 3.4 1.7 4.8L220.3 301.8c2.4 2.9 3.7 6.5 3.7 10.2v88.2l61 47.4c.3 .3 .7 .4 1.1 .4c1 0 1.9-.8 1.9-1.9V312c0-3.7 1.3-7.3 3.7-10.2L478.3 76.3c1.1-1.3 1.7-3 1.7-4.8c0-4.2-3.4-7.5-7.5-7.5H39.5z"]},e.mw},1552:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"flag-pennant",icon:[448,512,[128681,"pennant"],"f456","M32 16C32 7.2 24.8 0 16 0S0 7.2 0 16V32 64 320v32V496c0 8.8 7.2 16 16 16s16-7.2 16-16V350.9L432.9 213.2c9.1-3.1 15.1-11.6 15.1-21.2s-6.1-18.1-15.1-21.2L32 33.1V16zm0 50.9L396.1 192 32 317.1V66.9z"]},e.mw},279:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i="floppy-disk",o=[128190,128426,"save"],n="f0c7",r="M32 96c0-17.7 14.3-32 32-32l0 96c0 17.7 14.3 32 32 32H288c17.7 0 32-14.3 32-32V65.8c4.5 1.6 8.7 4.2 12.1 7.6l74.5 74.5c6 6 9.4 14.1 9.4 22.6V416c0 17.7-14.3 32-32 32H64c-17.7 0-32-14.3-32-32V96zM96 64H288v96H96V64zM0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V170.5c0-17-6.7-33.3-18.7-45.3L354.7 50.7c-12-12-28.3-18.7-45.3-18.7H64C28.7 32 0 60.7 0 96zM272 320a48 48 0 1 1 -96 0 48 48 0 1 1 96 0zm-48-80a80 80 0 1 0 0 160 80 80 0 1 0 0-160z";e.definition={prefix:"fal",iconName:i,icon:[448,512,o,n,r]},e.faFloppyDisk=e.definition,e.prefix="fal",e.iconName=i,e.width=448,e.height=512,e.ligatures=o,e.unicode=n,e.svgPathData=r,e.aliases=o},2476:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"folder",icon:[512,512,[128193,128447,61716,"folder-blank"],"f07b","M64 64C46.3 64 32 78.3 32 96V416c0 17.7 14.3 32 32 32H448c17.7 0 32-14.3 32-32V160c0-17.7-14.3-32-32-32H291.9c-17 0-33.3-6.7-45.3-18.7L210.7 73.4c-6-6-14.1-9.4-22.6-9.4H64zM0 96C0 60.7 28.7 32 64 32H188.1c17 0 33.3 6.7 45.3 18.7l35.9 35.9c6 6 14.1 9.4 22.6 9.4H448c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96z"]},e.mw},9648:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"folder-open",icon:[576,512,[128194,128449,61717],"f07c","M448 160v32h32V160c0-35.3-28.7-64-64-64H298.5c-17 0-33.3-6.7-45.3-18.7L226.7 50.7c-12-12-28.3-18.7-45.3-18.7H64C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384h80c19.6 0 37.3-11.9 44.6-30.2l64-160c5.9-14.8 4.1-31.5-4.8-44.7S543.9 224 528 224H128c-19.6 0-37.3 11.9-44.6 30.2L32 382.8V96c0-17.7 14.3-32 32-32H181.5c8.5 0 16.6 3.4 22.6 9.4l22.6-22.6L204.1 73.4l26.5 26.5c18 18 42.4 28.1 67.9 28.1H416c17.7 0 32 14.3 32 32zM384 448H64c-5.3 0-10.3-2.6-13.2-7s-3.6-10-1.6-14.9l64-160c2.4-6.1 8.3-10.1 14.9-10.1H528c5.3 0 10.3 2.6 13.2 7s3.6 10 1.6 14.9l-64 160C476.4 444 470.5 448 464 448H384z"]},e.mw},7325:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"font",icon:[448,512,[],"f031","M238.7 41.8c-2.5-5.9-8.3-9.8-14.7-9.8s-12.2 3.8-14.7 9.8L37.4 448H16c-8.8 0-16 7.2-16 16s7.2 16 16 16H96c8.8 0 16-7.2 16-16s-7.2-16-16-16H72.1l40.6-96H335.2l40.6 96H352c-8.8 0-16 7.2-16 16s7.2 16 16 16h80c8.8 0 16-7.2 16-16s-7.2-16-16-16H410.6L238.7 41.8zm83 278.2H126.3L224 89.1 321.7 320z"]},e.mw},2171:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"gear",icon:[512,512,[9881,"cog"],"f013","M223.3 37.8c.4-1.5 1.3-2.8 2.4-3.8c9.9-1.3 20-2 30.3-2s20.4 .7 30.3 2c1.1 1 1.9 2.3 2.4 3.8l13.7 47.7c3.5 12.1 12.2 21.1 22.5 26.1c7.6 3.6 14.8 7.8 21.7 12.5c9.4 6.5 21.7 9.5 33.9 6.5l48.2-12c1.5-.4 3-.3 4.4 .2c5.4 6.9 10.4 14.2 14.9 21.8l4.3 7.4c4.2 7.5 7.9 15.3 11.2 23.3c-.3 1.5-1 2.9-2.1 4L426.8 211c-8.7 9-12.2 21.1-11.3 32.5c.3 4.1 .5 8.3 .5 12.5s-.2 8.4-.5 12.5c-.9 11.4 2.6 23.5 11.3 32.5l34.5 35.7c1.1 1.1 1.8 2.5 2.1 4c-3.3 8-7 15.8-11.2 23.4l-4.2 7.3c-4.6 7.6-9.6 14.8-14.9 21.8c-1.4 .5-2.9 .5-4.4 .2l-48.2-12c-12.2-3-24.4 0-33.9 6.5c-6.9 4.7-14.1 8.9-21.7 12.5c-10.3 4.9-19.1 14-22.5 26.1l-13.7 47.7c-.4 1.5-1.3 2.8-2.4 3.8c-9.9 1.3-20 2-30.3 2s-20.4-.7-30.3-2c-1.1-1-1.9-2.3-2.4-3.8l-13.7-47.7c-3.5-12.1-12.2-21.1-22.5-26.1c-7.6-3.6-14.8-7.8-21.7-12.5c-9.4-6.5-21.7-9.5-33.9-6.5l-48.2 12c-1.5 .4-3 .3-4.4-.2c-5.4-7-10.4-14.2-15-21.8l-4.2-7.3c-4.2-7.5-7.9-15.3-11.2-23.4c.3-1.5 1-2.9 2.1-4L85.2 301c8.7-9 12.2-21.1 11.3-32.5c-.3-4.1-.5-8.3-.5-12.5s.2-8.4 .5-12.5c.9-11.4-2.6-23.5-11.3-32.5L50.7 175.2c-1.1-1.1-1.8-2.5-2.1-4c3.3-8 7-15.8 11.2-23.4l4.2-7.3c4.6-7.6 9.6-14.8 15-21.8c1.4-.5 2.9-.5 4.4-.2l48.2 12c12.2 3 24.4 0 33.9-6.5c6.9-4.7 14.1-8.9 21.7-12.5c10.3-4.9 19.1-14 22.5-26.1l13.7-47.7zM256 0c-13 0-25.9 1-38.4 2.9c-1.7 .3-3.4 .8-5 1.6c-9.5 4.9-16.9 13.6-20 24.5L178.9 76.7c-.6 2.2-2.5 4.5-5.6 6c-9.1 4.3-17.8 9.4-26 15c-2.8 1.9-5.8 2.4-8 1.8l-48.2-12C80.2 84.8 69 86.9 60 92.6c-1.5 .9-2.8 2.1-3.9 3.5C49 105 42.4 114.3 36.5 124.1l-.1 .3L32 132l-.1 .3c-5.4 9.8-10.2 19.9-14.3 30.4c-.6 1.6-1 3.3-1.1 5c-.5 10.8 3.3 21.6 11.2 29.8l34.5 35.7c1.6 1.7 2.7 4.4 2.4 7.8c-.4 5-.6 10-.6 15s.2 10.1 .6 15c.3 3.4-.8 6.2-2.4 7.8L27.7 314.6c-7.9 8.2-11.7 19-11.2 29.8c.1 1.7 .5 3.4 1.1 5c4.1 10.5 8.9 20.6 14.3 30.4l.1 .3 4.4 7.6 .1 .3c5.9 9.8 12.4 19.2 19.6 28.1c1.1 1.4 2.4 2.6 3.9 3.5c9 5.7 20.2 7.8 31.1 5.1l48.2-12c2.2-.6 5.2-.1 8 1.8c8.2 5.7 16.9 10.7 26 15c3.1 1.5 4.9 3.8 5.6 6L192.6 483c3.1 10.8 10.5 19.5 20 24.5c1.6 .8 3.2 1.4 5 1.6C230.1 511 243 512 256 512s25.9-1 38.4-2.9c1.7-.3 3.4-.8 5-1.6c9.5-4.9 16.9-13.6 20-24.5l13.7-47.7c.6-2.2 2.5-4.5 5.6-6c9.1-4.3 17.8-9.4 26-15c2.8-1.9 5.8-2.4 8-1.8l48.2 12c10.9 2.7 22.1 .7 31.1-5.1c1.5-.9 2.8-2.1 3.9-3.5c7.1-8.9 13.6-18.2 19.5-28l.1-.3L480 380l.1-.3c5.4-9.7 10.2-19.9 14.3-30.4c.6-1.6 1-3.3 1.1-5c.5-10.8-3.3-21.6-11.2-29.8l-34.5-35.7c-1.6-1.7-2.7-4.4-2.4-7.8c.4-5 .6-10 .6-15s-.2-10.1-.6-15c-.3-3.4 .8-6.2 2.4-7.8l34.5-35.7c7.9-8.2 11.7-19 11.2-29.8c-.1-1.7-.5-3.4-1.1-5c-4.1-10.5-8.9-20.6-14.3-30.4l-.1-.3-4.4-7.6-.1-.3c-5.9-9.8-12.4-19.2-19.5-28c-1.1-1.4-2.4-2.6-3.9-3.5c-9-5.7-20.2-7.8-31.1-5.1l-48.2 12c-2.2 .6-5.2 .1-8-1.8c-8.2-5.7-16.9-10.7-26-15c-3.1-1.5-4.9-3.8-5.6-6L319.4 29c-3.1-10.8-10.5-19.5-20-24.5c-1.6-.8-3.2-1.4-5-1.6C281.9 1 269 0 256 0zM200 256a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm144 0a88 88 0 1 0 -176 0 88 88 0 1 0 176 0z"]},e.mw},8569:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"grip-lines",icon:[448,512,[],"f7a4","M448 192c0-8.8-7.2-16-16-16L16 176c-8.8 0-16 7.2-16 16s7.2 16 16 16l416 0c8.8 0 16-7.2 16-16zm0 128c0-8.8-7.2-16-16-16L16 304c-8.8 0-16 7.2-16 16s7.2 16 16 16l416 0c8.8 0 16-7.2 16-16z"]},e.mw},2955:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"grip-lines-vertical",icon:[192,512,[],"f7a5","M32 32c-8.8 0-16 7.2-16 16l0 416c0 8.8 7.2 16 16 16s16-7.2 16-16L48 48c0-8.8-7.2-16-16-16zm128 0c-8.8 0-16 7.2-16 16l0 416c0 8.8 7.2 16 16 16s16-7.2 16-16l0-416c0-8.8-7.2-16-16-16z"]},e.mw},2582:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"grip-vertical",icon:[320,512,[],"f58e","M32 440l0-48c0-4.4 3.6-8 8-8l48 0c4.4 0 8 3.6 8 8l0 48c0 4.4-3.6 8-8 8l-48 0c-4.4 0-8-3.6-8-8zm8 40l48 0c22.1 0 40-17.9 40-40l0-48c0-22.1-17.9-40-40-40l-48 0c-22.1 0-40 17.9-40 40l0 48c0 22.1 17.9 40 40 40zm184-40l0-48c0-4.4 3.6-8 8-8l48 0c4.4 0 8 3.6 8 8l0 48c0 4.4-3.6 8-8 8l-48 0c-4.4 0-8-3.6-8-8zm8 40l48 0c22.1 0 40-17.9 40-40l0-48c0-22.1-17.9-40-40-40l-48 0c-22.1 0-40 17.9-40 40l0 48c0 22.1 17.9 40 40 40zM32 232c0-4.4 3.6-8 8-8l48 0c4.4 0 8 3.6 8 8l0 48c0 4.4-3.6 8-8 8l-48 0c-4.4 0-8-3.6-8-8l0-48zM0 280c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-48c0-22.1-17.9-40-40-40l-48 0c-22.1 0-40 17.9-40 40l0 48zm224 0l0-48c0-4.4 3.6-8 8-8l48 0c4.4 0 8 3.6 8 8l0 48c0 4.4-3.6 8-8 8l-48 0c-4.4 0-8-3.6-8-8zm8 40l48 0c22.1 0 40-17.9 40-40l0-48c0-22.1-17.9-40-40-40l-48 0c-22.1 0-40 17.9-40 40l0 48c0 22.1 17.9 40 40 40zM32 72c0-4.4 3.6-8 8-8l48 0c4.4 0 8 3.6 8 8l0 48c0 4.4-3.6 8-8 8l-48 0c-4.4 0-8-3.6-8-8l0-48zM0 120c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-48c0-22.1-17.9-40-40-40L40 32C17.9 32 0 49.9 0 72l0 48zm224 0l0-48c0-4.4 3.6-8 8-8l48 0c4.4 0 8 3.6 8 8l0 48c0 4.4-3.6 8-8 8l-48 0c-4.4 0-8-3.6-8-8zm8 40l48 0c22.1 0 40-17.9 40-40l0-48c0-22.1-17.9-40-40-40l-48 0c-22.1 0-40 17.9-40 40l0 48c0 22.1 17.9 40 40 40z"]},e.mw},8796:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"heading",icon:[448,512,["header"],"f1dc","M0 48c0-8.8 7.2-16 16-16H80h64c8.8 0 16 7.2 16 16s-7.2 16-16 16H96V224H352V64H304c-8.8 0-16-7.2-16-16s7.2-16 16-16h64 64c8.8 0 16 7.2 16 16s-7.2 16-16 16H384V240 448h48c8.8 0 16 7.2 16 16s-7.2 16-16 16H304c-8.8 0-16-7.2-16-16s7.2-16 16-16h48V256H96V448h48c8.8 0 16 7.2 16 16s-7.2 16-16 16H16c-8.8 0-16-7.2-16-16s7.2-16 16-16H64V240 64H16C7.2 64 0 56.8 0 48z"]},e.mw},486:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"horizontal-rule",icon:[640,512,[8213],"f86c","M0 256c0-8.8 7.2-16 16-16H624c8.8 0 16 7.2 16 16s-7.2 16-16 16H16c-8.8 0-16-7.2-16-16z"]},e.mw},9518:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"house",icon:[576,512,[127968,63498,63500,"home","home-alt","home-lg-alt"],"f015","M298.6 4c-6-5.3-15.1-5.3-21.2 0L5.4 244c-6.6 5.8-7.3 16-1.4 22.6s16 7.3 22.6 1.4L64 235V432c0 44.2 35.8 80 80 80H432c44.2 0 80-35.8 80-80V235l37.4 33c6.6 5.8 16.7 5.2 22.6-1.4s5.2-16.7-1.4-22.6L298.6 4zM96 432V206.7L288 37.3 480 206.7V432c0 26.5-21.5 48-48 48H368V320c0-17.7-14.3-32-32-32H240c-17.7 0-32 14.3-32 32V480H144c-26.5 0-48-21.5-48-48zm144 48V320h96V480H240z"]},e.mw},5255:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"image",icon:[512,512,[],"f03e","M64 64C46.3 64 32 78.3 32 96V329.4l67.7-67.7c15.6-15.6 40.9-15.6 56.6 0L224 329.4 355.7 197.7c15.6-15.6 40.9-15.6 56.6 0L480 265.4V96c0-17.7-14.3-32-32-32H64zM32 374.6V416c0 17.7 14.3 32 32 32h41.4l96-96-67.7-67.7c-3.1-3.1-8.2-3.1-11.3 0L32 374.6zM389.7 220.3c-3.1-3.1-8.2-3.1-11.3 0L150.6 448H448c17.7 0 32-14.3 32-32V310.6l-90.3-90.3zM0 96C0 60.7 28.7 32 64 32H448c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96zm160 48a16 16 0 1 0 -32 0 16 16 0 1 0 32 0zm-64 0a48 48 0 1 1 96 0 48 48 0 1 1 -96 0z"]},e.mw},5501:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"input-text",icon:[640,512,[],"e1bf","M64 96c-17.7 0-32 14.3-32 32V384c0 17.7 14.3 32 32 32H576c17.7 0 32-14.3 32-32V128c0-17.7-14.3-32-32-32H64zM0 128C0 92.7 28.7 64 64 64H576c35.3 0 64 28.7 64 64V384c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V128zm176 32c6.5 0 12.4 4 14.9 10.1l64 160c3.3 8.2-.7 17.5-8.9 20.8s-17.5-.7-20.8-8.9L216.4 320l-.4 0H136l-.4 0-8.8 21.9c-3.3 8.2-12.6 12.2-20.8 8.9s-12.2-12.6-8.9-20.8l64-160c2.4-6.1 8.3-10.1 14.9-10.1zm0 59.1L148.4 288h55.1L176 219.1zM288 176c0-8.8 7.2-16 16-16h56c30.9 0 56 25.1 56 56c0 12.1-3.8 23.3-10.4 32.5C421.5 258.4 432 276 432 296c0 30.9-25.1 56-56 56H304c-8.8 0-16-7.2-16-16V320 256 192 176zm72 96H320v48h56c13.3 0 24-10.7 24-24s-10.7-24-24-24H360zm0-32c13.3 0 24-10.7 24-24s-10.7-24-24-24H320v48h40z"]},e.mw},5156:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"italic",icon:[384,512,[],"f033","M128 48c0-8.8 7.2-16 16-16H368c8.8 0 16 7.2 16 16s-7.2 16-16 16H283L135.3 448H240c8.8 0 16 7.2 16 16s-7.2 16-16 16H16c-8.8 0-16-7.2-16-16s7.2-16 16-16h85L248.7 64H144c-8.8 0-16-7.2-16-16z"]},e.mw},9428:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"layer-group",icon:[576,512,[],"f5fd","M266.2 4.7C273 1.6 280.5 0 288 0s15 1.6 21.8 4.7l217.4 97.5c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 251.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 153.9C38.6 149.3 32 139.2 32 128s6.6-21.3 16.8-25.9L266.2 4.7zM288 32c-3 0-6 .6-8.8 1.9L69.3 128l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-210-94.1C294 32.6 291 32 288 32zM48.8 358.1l45.9-20.6 39.1 17.5L69.3 384l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-64.5-28.9 39.1-17.5 45.9 20.6c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 507.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 409.9C38.6 405.3 32 395.2 32 384s6.6-21.3 16.8-25.9zM94.7 209.5l39.1 17.5L69.3 256l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-64.5-28.9 39.1-17.5 45.9 20.6c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 379.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 281.9C38.6 277.3 32 267.2 32 256s6.6-21.3 16.8-25.9l45.9-20.6z"]},e.mw},7645:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"left",icon:[448,512,["arrow-alt-left"],"f355","M32 258.3l0-4.6c0-4.4 1.8-8.6 5-11.6L186.8 99.5c2.3-2.2 5.4-3.5 8.7-3.5c6.9 0 12.6 5.6 12.6 12.6l0 83.4c0 8.8 7.2 16 16 16l176 0c8.8 0 16 7.2 16 16l0 64c0 8.8-7.2 16-16 16l-176 0c-8.8 0-16 7.2-16 16l0 83.4c0 6.9-5.6 12.6-12.6 12.6c-3.2 0-6.3-1.2-8.7-3.5L37 269.9c-3.2-3-5-7.2-5-11.6zM195.4 64C184 64 173 68.4 164.7 76.3L14.9 219C5.4 228 0 240.6 0 253.7l0 4.6C0 271.4 5.4 284 14.9 293L164.7 435.7C173 443.6 184 448 195.4 448c24.6 0 44.6-20 44.6-44.6l0-67.4 160 0c26.5 0 48-21.5 48-48l0-64c0-26.5-21.5-48-48-48l-160 0 0-67.4C240 84 220 64 195.4 64z"]},e.mw},2052:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"link",icon:[640,512,[128279,"chain"],"f0c1","M591.5 256c50-50 50-131 0-181s-131-50-181 0L387.9 97.6c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l22.6-22.6c37.5-37.5 98.3-37.5 135.8 0s37.5 98.3 0 135.8L444.3 357.9c-37.4 37.4-98.1 37.4-135.6 0c-35.6-35.6-37.6-92.6-4.7-130.6l5.3-6.1c5.8-6.7 5.1-16.8-1.6-22.6s-16.8-5.1-22.6 1.6l-5.3 6.1c-43.9 50.7-41.2 126.7 6.2 174.1c49.9 49.9 130.9 49.9 180.8 0L591.5 256zM48.5 256c-50 50-50 131 0 181s131 50 181 0l22.6-22.6c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0l-22.6 22.6c-37.5 37.5-98.3 37.5-135.8 0s-37.5-98.3 0-135.8L195.7 154.1c37.4-37.4 98.1-37.4 135.6 0c35.6 35.6 37.6 92.6 4.7 130.6l-5.3 6.1c-5.8 6.7-5.1 16.8 1.6 22.6s16.8 5.1 22.6-1.6l5.3-6.1c43.9-50.7 41.2-126.7-6.2-174.1C303.9 81.5 223 81.5 173 131.4L48.5 256z"]},e.mw},3680:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"list",icon:[512,512,["list-squares"],"f03a","M48 112V80H80v32H48zM16 72v48c0 13.3 10.7 24 24 24H88c13.3 0 24-10.7 24-24V72c0-13.3-10.7-24-24-24H40C26.7 48 16 58.7 16 72zm160 8c-8.8 0-16 7.2-16 16s7.2 16 16 16H496c8.8 0 16-7.2 16-16s-7.2-16-16-16H176zm0 160c-8.8 0-16 7.2-16 16s7.2 16 16 16H496c8.8 0 16-7.2 16-16s-7.2-16-16-16H176zm0 160c-8.8 0-16 7.2-16 16s7.2 16 16 16H496c8.8 0 16-7.2 16-16s-7.2-16-16-16H176zM48 240H80v32H48V240zm-8-32c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24H88c13.3 0 24-10.7 24-24V232c0-13.3-10.7-24-24-24H40zm8 224V400H80v32H48zM16 392v48c0 13.3 10.7 24 24 24H88c13.3 0 24-10.7 24-24V392c0-13.3-10.7-24-24-24H40c-13.3 0-24 10.7-24 24z"]},e.mw},2830:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"list-check",icon:[512,512,["tasks"],"f0ae","M156.3 58.2c5.7-6.8 4.7-16.9-2-22.5s-16.9-4.7-22.5 2L62.9 120.3 27.3 84.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l48 48c3.2 3.2 7.5 4.9 12 4.7s8.7-2.3 11.6-5.7l80-96zm0 160c5.7-6.8 4.7-16.9-2-22.5s-16.9-4.7-22.5 2L62.9 280.3 27.3 244.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l48 48c3.2 3.2 7.5 4.9 12 4.7s8.7-2.3 11.6-5.7l80-96zM192 96c0 8.8 7.2 16 16 16H496c8.8 0 16-7.2 16-16s-7.2-16-16-16H208c-8.8 0-16 7.2-16 16zm0 160c0 8.8 7.2 16 16 16H496c8.8 0 16-7.2 16-16s-7.2-16-16-16H208c-8.8 0-16 7.2-16 16zM160 416c0 8.8 7.2 16 16 16H496c8.8 0 16-7.2 16-16s-7.2-16-16-16H176c-8.8 0-16 7.2-16 16zm-64 0a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"]},e.mw},9999:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"list-ol",icon:[512,512,["list-1-2","list-numeric"],"f0cb","M32 48c0 8.8 7.2 16 16 16H64V192H32c-8.8 0-16 7.2-16 16s7.2 16 16 16h96c8.8 0 16-7.2 16-16s-7.2-16-16-16H96V48c0-8.8-7.2-16-16-16H48c-8.8 0-16 7.2-16 16zM192 96c0 8.8 7.2 16 16 16H496c8.8 0 16-7.2 16-16s-7.2-16-16-16H208c-8.8 0-16 7.2-16 16zm0 160c0 8.8 7.2 16 16 16H496c8.8 0 16-7.2 16-16s-7.2-16-16-16H208c-8.8 0-16 7.2-16 16zm0 160c0 8.8 7.2 16 16 16H496c8.8 0 16-7.2 16-16s-7.2-16-16-16H208c-8.8 0-16 7.2-16 16zM58.7 323.9c11.1-11.1 29.2-10.5 39.6 1.3c9.2 10.5 8.9 26.2-.6 36.3L12.3 453.1c-4.3 4.7-5.5 11.5-3 17.3s8.3 9.6 14.7 9.6H128c8.8 0 16-7.2 16-16s-7.2-16-16-16H60.8l60.3-64.6c20.7-22.2 21.2-56.4 1.3-79.3c-22.5-25.7-62.1-27.1-86.3-2.9L20.7 316.7c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l15.4-15.4z"]},e.mw},5244:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"list-tree",icon:[512,512,[],"e1d2","M32 112H64V80H32v32zM0 72C0 58.7 10.7 48 24 48H72c13.3 0 24 10.7 24 24v48c0 13.3-10.7 24-24 24H64v96h64v-8c0-13.3 10.7-24 24-24h48c13.3 0 24 10.7 24 24v48c0 13.3-10.7 24-24 24H152c-13.3 0-24-10.7-24-24v-8H64V384c0 8.8 7.2 16 16 16h48v-8c0-13.3 10.7-24 24-24h48c13.3 0 24 10.7 24 24v48c0 13.3-10.7 24-24 24H152c-13.3 0-24-10.7-24-24v-8H80c-26.5 0-48-21.5-48-48V256 144H24c-13.3 0-24-10.7-24-24V72zM160 96c0-8.8 7.2-16 16-16H496c8.8 0 16 7.2 16 16s-7.2 16-16 16H176c-8.8 0-16-7.2-16-16zM288 256c0-8.8 7.2-16 16-16H496c8.8 0 16 7.2 16 16s-7.2 16-16 16H304c-8.8 0-16-7.2-16-16zm0 160c0-8.8 7.2-16 16-16H496c8.8 0 16 7.2 16 16s-7.2 16-16 16H304c-8.8 0-16-7.2-16-16zM160 432h32V400H160v32zm0-192v32h32V240H160z"]},e.mw},3849:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"magnifying-glass",icon:[512,512,[128269,"search"],"f002","M384 208A176 176 0 1 0 32 208a176 176 0 1 0 352 0zM343.3 366C307 397.2 259.7 416 208 416C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208c0 51.7-18.8 99-50 135.3L507.3 484.7c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0L343.3 366z"]},e.mw},9954:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"minus",icon:[448,512,[8211,8722,10134,"subtract"],"f068","M432 256c0 8.8-7.2 16-16 16L32 272c-8.8 0-16-7.2-16-16s7.2-16 16-16l384 0c8.8 0 16 7.2 16 16z"]},e.mw},6795:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"object-group",icon:[576,512,[],"f247","M64 125.3C45.4 118.7 32 100.9 32 80c0-26.5 21.5-48 48-48c20.9 0 38.7 13.4 45.3 32H450.7c6.6-18.6 24.4-32 45.3-32c26.5 0 48 21.5 48 48c0 20.9-13.4 38.7-32 45.3V386.7c18.6 6.6 32 24.4 32 45.3c0 26.5-21.5 48-48 48c-20.9 0-38.7-13.4-45.3-32H125.3c-6.6 18.6-24.4 32-45.3 32c-26.5 0-48-21.5-48-48c0-20.9 13.4-38.7 32-45.3V125.3zM125.3 96c-4.8 13.6-15.6 24.4-29.3 29.3V386.7c13.6 4.8 24.4 15.6 29.3 29.3H450.7c4.8-13.6 15.6-24.4 29.3-29.3V125.3c-13.6-4.8-24.4-15.6-29.3-29.3H125.3zM496 416a16 16 0 1 0 0 32 16 16 0 1 0 0-32zM96 432a16 16 0 1 0 -32 0 16 16 0 1 0 32 0zM496 64a16 16 0 1 0 0 32 16 16 0 1 0 0-32zM96 80A16 16 0 1 0 64 80a16 16 0 1 0 32 0zm80 48h96c26.5 0 48 21.5 48 48v64c0 26.5-21.5 48-48 48H176c-26.5 0-48-21.5-48-48V176c0-26.5 21.5-48 48-48zm-16 48v64c0 8.8 7.2 16 16 16h96c8.8 0 16-7.2 16-16V176c0-8.8-7.2-16-16-16H176c-8.8 0-16 7.2-16 16zm192 64c0-8.8 7.2-16 16-16h32c26.5 0 48 21.5 48 48v64c0 26.5-21.5 48-48 48H304c-26.5 0-48-21.5-48-48c0-8.8 7.2-16 16-16s16 7.2 16 16s7.2 16 16 16h96c8.8 0 16-7.2 16-16V272c0-8.8-7.2-16-16-16H368c-8.8 0-16-7.2-16-16z"]},e.mw},6204:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"object-union",icon:[512,512,[],"e49f","M160 320c17.7 0 32 14.3 32 32v96c0 17.7 14.3 32 32 32H448c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32H352c-17.7 0-32-14.3-32-32V64c0-17.7-14.3-32-32-32H64C46.3 32 32 46.3 32 64V288c0 17.7 14.3 32 32 32h96zm-32 32H64c-35.3 0-64-28.7-64-64V64C0 28.7 28.7 0 64 0H288c35.3 0 64 28.7 64 64v64 32h32 64c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H224c-35.3 0-64-28.7-64-64V384 352H128z"]},e.mw},2489:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"paintbrush-pencil",icon:[576,512,[],"e206","M534.5 86.6L369.9 251.3 324.6 206 489.3 41.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3zM347.3 273.9l-36.6 36.6-36.1 36.1 0 0-4.6 4.6L224.6 306l40.7-40.7 0 0L302 228.6l45.3 45.3zM176 320c6.9 0 13.5 .9 19.9 2.5l57.7 57.7c1.6 6.3 2.5 13 2.5 19.9c0 44.2-35.8 80-80 80H36.8C58 480 74.3 468.5 84 455.1c9.5-13.1 14.2-30 12.5-46.7c-.3-2.7-.4-5.5-.4-8.3c0-44.2 35.8-80 80-80zm110.3 60.2L557.2 109.3c25-25 25-65.5 0-90.5s-65.5-25-90.5 0l-271 271c-6.4-1.1-13-1.7-19.7-1.7c-61.9 0-112 50.1-112 112c0 3.9 .2 7.8 .6 11.6C66.4 429.1 54.4 448 36.8 448H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H176c61.9 0 112-50.1 112-112c0-6.8-.6-13.4-1.7-19.8zM170.8 17C148.9-4.9 113.5-4.9 91.6 17L49 59.6c-21.9 21.9-21.9 57.3 0 79.2L166.5 256.3c3.1-.2 6.3-.3 9.5-.3c2.7 0 5.3 .1 7.9 .2l13.9-13.9L149 193.6 225.6 117l48.8 48.8L297 143.2 170.8 17zM410.1 301.6l50.8 50.8c7.6 7.6 13.1 16.9 16.1 27.2l27.3 92.8-92.8-27.3c-10.3-3-19.6-8.6-27.2-16.1l-50.8-50.8-13.8 13.8c.1 2.7 .2 5.4 .2 8.1c0 3.2-.1 6.4-.3 9.5l42 42c11.4 11.4 25.4 19.7 40.8 24.2l121 35.6c5.6 1.7 11.7 .1 15.8-4s5.7-10.2 4-15.8l-35.6-121c-4.5-15.4-12.9-29.4-24.2-40.8l-50.8-50.8-22.6 22.6zM114.2 39.6c9.4-9.4 24.6-9.4 33.9 0L203 94.4 126.4 171 71.6 116.2c-9.4-9.4-9.4-24.6 0-33.9l42.6-42.6z"]},e.mw},2445:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"palette",icon:[512,512,[127912],"f53f","M480 258.3c-.1 14.1-13.8 29.7-38.1 29.7H344c-44.2 0-80 35.8-80 80c0 5.6 .6 11.2 1.7 16.6c2.9 13.8 8.9 27.3 13.2 37c.8 1.7 1.5 3.3 2.1 4.8c5 11.6 6.9 18.2 6.9 23.5c0 19.2-12.3 29.6-22.7 30c-3.1 .1-6.2 .2-9.3 .2C132.3 480 32 379.7 32 256S132.3 32 256 32s224 100.3 224 224c0 .8 0 1.6 0 2.3zm32 .3c0-.9 0-1.8 0-2.7C512 114.6 397.4 0 256 0S0 114.6 0 256S114.6 512 256 512c3.5 0 7.1-.1 10.6-.2c31.8-1.3 53.4-30.1 53.4-62c0-14.5-6.1-28.3-12.1-42c-4.3-9.8-8.7-19.7-10.8-29.9c-.7-3.2-1-6.5-1-9.9c0-26.5 21.5-48 48-48h97.9c36.5 0 69.7-24.8 70.1-61.3zM152 256a24 24 0 1 0 -48 0 24 24 0 1 0 48 0zm8-72a24 24 0 1 0 0-48 24 24 0 1 0 0 48zm120-56a24 24 0 1 0 -48 0 24 24 0 1 0 48 0zm72 56a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"]},e.mw},6817:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"pen",icon:[512,512,[128394],"f304","M395.8 39.6c9.4-9.4 24.6-9.4 33.9 0l42.6 42.6c9.4 9.4 9.4 24.6 0 33.9L417.6 171 341 94.4l54.8-54.8zM318.4 117L395 193.6 159.6 428.9c-7.6 7.6-16.9 13.1-27.2 16.1L39.6 472.4l27.3-92.8c3-10.3 8.6-19.6 16.1-27.2L318.4 117zM452.4 17c-21.9-21.9-57.3-21.9-79.2 0L60.4 329.7c-11.4 11.4-19.7 25.4-24.2 40.8L.7 491.5c-1.7 5.6-.1 11.7 4 15.8s10.2 5.7 15.8 4l121-35.6c15.4-4.5 29.4-12.9 40.8-24.2L495 138.8c21.9-21.9 21.9-57.3 0-79.2L452.4 17z"]},e.mw},6804:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M240 64c0-8.8-7.2-16-16-16s-16 7.2-16 16V240H32c-8.8 0-16 7.2-16 16s7.2 16 16 16H208V448c0 8.8 7.2 16 16 16s16-7.2 16-16V272H416c8.8 0 16-7.2 16-16s-7.2-16-16-16H240V64z"]},e.mw},760:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"puzzle-piece",icon:[512,512,[129513],"f12e","M169.1 17.3C183.8 6.3 203.2 0 224 0s40.2 6.3 54.9 17.3S304 44.6 304 64c0 19.5-10.6 35.9-25.3 46.8c-5.2 3.8-6.7 7.7-6.7 10c0 4 3.2 7.2 7.2 7.2H336c26.5 0 48 21.5 48 48v56.8c0 4 3.2 7.2 7.2 7.2c2.3 0 6.1-1.6 10-6.7c11-14.7 27.4-25.3 46.8-25.3c19.4 0 35.8 10.5 46.7 25.1s17.3 34.1 17.3 54.9s-6.3 40.2-17.3 54.9s-27.3 25.1-46.7 25.1c-19.5 0-35.9-10.6-46.8-25.3c-3.8-5.2-7.7-6.7-10-6.7c-4 0-7.2 3.2-7.2 7.2V464c0 26.5-21.5 48-48 48H279.2c-21.6 0-39.2-17.5-39.2-39.2c0-16.2 9.9-28.4 19.6-35.6c8.6-6.4 12.4-14.1 12.4-21.2c0-7.1-3.8-14.7-12.3-21.1s-21.1-10.9-35.7-10.9s-27.1 4.4-35.7 10.9s-12.3 14.1-12.3 21.1c0 7.1 3.8 14.8 12.4 21.2c9.7 7.2 19.6 19.4 19.6 35.6c0 21.7-17.5 39.2-39.2 39.2H48c-26.5 0-48-21.5-48-48V343.2C0 321.5 17.5 304 39.2 304c16.2 0 28.4 9.9 35.6 19.6C81.2 332.2 88.9 336 96 336c7.1 0 14.7-3.8 21.1-12.3s10.9-21.1 10.9-35.7s-4.4-27.1-10.9-35.7S103.1 240 96 240c-7.1 0-14.8 3.8-21.2 12.4C67.6 262.1 55.4 272 39.2 272C17.5 272 0 254.5 0 232.8V176c0-26.5 21.5-48 48-48H168.8c4 0 7.2-3.2 7.2-7.2c0-2.3-1.6-6.1-6.7-10C154.6 99.9 144 83.5 144 64c0-19.4 10.5-35.8 25.1-46.7zm19.2 25.6C179.8 49.3 176 56.9 176 64c0 7.1 3.8 14.8 12.4 21.2c9.7 7.2 19.6 19.4 19.6 35.6c0 21.6-17.5 39.2-39.2 39.2H48c-8.8 0-16 7.2-16 16v56.8c0 4 3.2 7.2 7.2 7.2c2.3 0 6.1-1.6 10-6.7C60.1 218.6 76.5 208 96 208c19.4 0 35.8 10.5 46.7 25.1s17.3 34.1 17.3 54.9s-6.3 40.2-17.3 54.9S115.4 368 96 368c-19.5 0-35.9-10.6-46.8-25.3c-3.8-5.2-7.7-6.7-10-6.7c-4 0-7.2 3.2-7.2 7.2V464c0 8.8 7.2 16 16 16H168.8c4 0 7.2-3.2 7.2-7.2c0-2.3-1.6-6.1-6.7-10c-14.7-11-25.3-27.4-25.3-46.8c0-19.4 10.5-35.8 25.1-46.7s34.1-17.3 54.9-17.3s40.2 6.3 54.9 17.3s25.1 27.3 25.1 46.7c0 19.5-10.6 35.9-25.3 46.8c-5.2 3.8-6.7 7.7-6.7 10c0 4 3.2 7.2 7.2 7.2H336c8.8 0 16-7.2 16-16V343.2c0-21.7 17.5-39.2 39.2-39.2c16.2 0 28.4 9.9 35.6 19.6c6.4 8.6 14.1 12.4 21.2 12.4c7.1 0 14.7-3.8 21.1-12.3s10.9-21.1 10.9-35.7s-4.4-27.1-10.9-35.7s-14.1-12.3-21.1-12.3c-7.1 0-14.8 3.8-21.2 12.4c-7.2 9.7-19.4 19.6-35.6 19.6c-21.7 0-39.2-17.5-39.2-39.2V176c0-8.8-7.2-16-16-16H279.2c-21.6 0-39.2-17.5-39.2-39.2c0-16.2 9.9-28.4 19.6-35.6C268.2 78.8 272 71.1 272 64c0-7.1-3.8-14.7-12.3-21.1S238.5 32 224 32s-27.1 4.4-35.7 10.9z"]},e.mw},4374:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"quote-right",icon:[448,512,[8221,"quote-right-alt"],"f10e","M448 304c0 61.9-50.1 112-112 112H304c-8.8 0-16-7.2-16-16s7.2-16 16-16h32c44.2 0 80-35.8 80-80V279.4c-9.4 5.4-20.3 8.6-32 8.6H320c-35.3 0-64-28.7-64-64V160c0-35.3 28.7-64 64-64h64c35.3 0 64 28.7 64 64v32 32 80zM416 192V160c0-17.7-14.3-32-32-32H320c-17.7 0-32 14.3-32 32v64c0 17.7 14.3 32 32 32h64c17.7 0 32-14.3 32-32V192zM192 304c0 61.9-50.1 112-112 112H48c-8.8 0-16-7.2-16-16s7.2-16 16-16H80c44.2 0 80-35.8 80-80V279.4c-9.4 5.4-20.3 8.6-32 8.6H64c-35.3 0-64-28.7-64-64V160c0-35.3 28.7-64 64-64h64c35.3 0 64 28.7 64 64v32 32 80zM160 192V160c0-17.7-14.3-32-32-32H64c-17.7 0-32 14.3-32 32v64c0 17.7 14.3 32 32 32h64c17.7 0 32-14.3 32-32V192z"]},e.mw},1633:(t,e,i)=>{"use strict";var o=i(2273);e.mw={prefix:o.prefix,iconName:o.iconName,icon:[o.width,o.height,o.aliases,o.unicode,o.svgPathData]},e.mw,o.prefix,o.iconName,o.width,o.height,o.aliases,o.unicode,o.svgPathData,o.aliases},7148:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"right",icon:[448,512,[11157,"arrow-alt-right"],"f356","M416 253.7l0 4.6c0 4.4-1.8 8.6-5 11.6L261.2 412.5c-2.3 2.2-5.4 3.5-8.7 3.5c-6.9 0-12.6-5.6-12.6-12.6l0-83.4c0-8.8-7.2-16-16-16L48 304c-8.8 0-16-7.2-16-16l0-64c0-8.8 7.2-16 16-16l176 0c8.8 0 16-7.2 16-16l0-83.4c0-6.9 5.6-12.6 12.6-12.6c3.2 0 6.3 1.2 8.7 3.5L411 242.1c3.2 3 5 7.2 5 11.6zM252.6 448c11.4 0 22.5-4.4 30.7-12.3L433.1 293c9.5-9.1 14.9-21.6 14.9-34.8l0-4.6c0-13.1-5.4-25.7-14.9-34.8L283.3 76.3C275 68.4 264 64 252.6 64C228 64 208 84 208 108.6l0 67.4L48 176c-26.5 0-48 21.5-48 48l0 64c0 26.5 21.5 48 48 48l160 0 0 67.4c0 24.6 20 44.6 44.6 44.6z"]},e.mw},2762:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"rotate-left",icon:[512,512,["rotate-back","rotate-backward","undo-alt"],"f2ea","M94.7 360.2c-3.2-5-8.7-8.2-14.7-8.2c-12.3 0-20.3 12.8-13.7 23.2C106 438.2 176.1 480 256 480c123.7 0 224-100.3 224-224S379.7 32 256 32c-56.1 0-107.4 20.6-146.7 54.7L78.6 56c-5.1-5.1-12.1-8-19.3-8C44.2 48 32 60.2 32 75.3V176c0 8.8 7.2 16 16 16H148.7c15.1 0 27.3-12.2 27.3-27.3c0-7.2-2.9-14.2-8-19.3l-36-36C165.5 81.1 208.7 64 256 64c106 0 192 86 192 192s-86 192-192 192c-67.6 0-127.1-35-161.3-87.8zM64 86.6L137.4 160H64V86.6z"]},e.mw},5981:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"rotate-right",icon:[512,512,["redo-alt","rotate-forward"],"f2f9","M417.3 360.2c3.2-5 8.7-8.2 14.7-8.2c12.3 0 20.3 12.8 13.7 23.2C406 438.2 335.9 480 256 480C132.3 480 32 379.7 32 256S132.3 32 256 32c56.1 0 107.4 20.6 146.7 54.7L433.4 56c5.1-5.1 12.1-8 19.3-8C467.8 48 480 60.2 480 75.3V176c0 8.8-7.2 16-16 16H363.3c-15.1 0-27.3-12.2-27.3-27.3c0-7.2 2.9-14.2 8-19.3l36-36C346.5 81.1 303.3 64 256 64C150 64 64 150 64 256s86 192 192 192c67.6 0 127.1-35 161.3-87.8zM448 86.6L374.6 160H448V86.6z"]},e.mw},1769:(t,e,i)=>{"use strict";var o=i(279);e.mw={prefix:o.prefix,iconName:o.iconName,icon:[o.width,o.height,o.aliases,o.unicode,o.svgPathData]},e.mw,o.prefix,o.iconName,o.width,o.height,o.aliases,o.unicode,o.svgPathData,o.aliases},4390:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"signal-bars",icon:[640,512,["signal-alt","signal-alt-4","signal-bars-strong"],"f690","M576 464V48c0-8.8-7.2-16-16-16s-16 7.2-16 16V464c0 8.8 7.2 16 16 16s16-7.2 16-16zM512 48c0-26.5 21.5-48 48-48s48 21.5 48 48V464c0 26.5-21.5 48-48 48s-48-21.5-48-48V48zM416 176c0-8.8-7.2-16-16-16s-16 7.2-16 16V464c0 8.8 7.2 16 16 16s16-7.2 16-16V176zm-64 0c0-26.5 21.5-48 48-48s48 21.5 48 48V464c0 26.5-21.5 48-48 48s-48-21.5-48-48V176zM256 464V304c0-8.8-7.2-16-16-16s-16 7.2-16 16V464c0 8.8 7.2 16 16 16s16-7.2 16-16zM240 256c26.5 0 48 21.5 48 48V464c0 26.5-21.5 48-48 48s-48-21.5-48-48V304c0-26.5 21.5-48 48-48zM96 432c0-8.8-7.2-16-16-16s-16 7.2-16 16v32c0 8.8 7.2 16 16 16s16-7.2 16-16V432zm-64 0c0-26.5 21.5-48 48-48s48 21.5 48 48v32c0 26.5-21.5 48-48 48s-48-21.5-48-48V432z"]},e.mw},2096:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"signal-bars-fair",icon:[640,512,["signal-alt-2"],"f692","M240 288c-8.8 0-16 7.2-16 16V464c0 8.8 7.2 16 16 16s16-7.2 16-16V304c0-8.8-7.2-16-16-16zm-48 16c0-26.5 21.5-48 48-48s48 21.5 48 48V464c0 26.5-21.5 48-48 48s-48-21.5-48-48V304zM96 432c0-8.8-7.2-16-16-16s-16 7.2-16 16v32c0 8.8 7.2 16 16 16s16-7.2 16-16V432zm-64 0c0-26.5 21.5-48 48-48s48 21.5 48 48v32c0 26.5-21.5 48-48 48s-48-21.5-48-48V432z"]},e.mw},9991:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"signal-bars-good",icon:[640,512,["signal-alt-3"],"f693","M416 464c0 8.8-7.2 16-16 16s-16-7.2-16-16V176c0-8.8 7.2-16 16-16s16 7.2 16 16V464zM400 128c-26.5 0-48 21.5-48 48V464c0 26.5 21.5 48 48 48s48-21.5 48-48V176c0-26.5-21.5-48-48-48zM256 464c0 8.8-7.2 16-16 16s-16-7.2-16-16V304c0-8.8 7.2-16 16-16s16 7.2 16 16V464zM240 256c-26.5 0-48 21.5-48 48V464c0 26.5 21.5 48 48 48s48-21.5 48-48V304c0-26.5-21.5-48-48-48zM96 432v32c0 8.8-7.2 16-16 16s-16-7.2-16-16V432c0-8.8 7.2-16 16-16s16 7.2 16 16zm-64 0v32c0 26.5 21.5 48 48 48s48-21.5 48-48V432c0-26.5-21.5-48-48-48s-48 21.5-48 48z"]},e.mw},7106:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"signal-bars-weak",icon:[640,512,["signal-alt-1"],"f691","M96 464c0 8.8-7.2 16-16 16s-16-7.2-16-16V432c0-8.8 7.2-16 16-16s16 7.2 16 16v32zM80 384c-26.5 0-48 21.5-48 48v32c0 26.5 21.5 48 48 48s48-21.5 48-48V432c0-26.5-21.5-48-48-48z"]},e.mw},1519:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"spinner",icon:[512,512,[],"f110","M256 64a16 16 0 1 0 0-32 16 16 0 1 0 0 32zm0-64a48 48 0 1 1 0 96 48 48 0 1 1 0-96zm0 480a16 16 0 1 0 0-32 16 16 0 1 0 0 32zm0-64a48 48 0 1 1 0 96 48 48 0 1 1 0-96zM64 256a16 16 0 1 0 -32 0 16 16 0 1 0 32 0zM0 256a48 48 0 1 1 96 0A48 48 0 1 1 0 256zm464 16a16 16 0 1 0 0-32 16 16 0 1 0 0 32zm0-64a48 48 0 1 1 0 96 48 48 0 1 1 0-96zM120.2 391.8A16 16 0 1 0 97.6 414.4a16 16 0 1 0 22.6-22.6zM75 437a48 48 0 1 1 67.9-67.9A48 48 0 1 1 75 437zM97.6 120.2a16 16 0 1 0 22.6-22.6A16 16 0 1 0 97.6 120.2zM142.9 75A48 48 0 1 1 75 142.9 48 48 0 1 1 142.9 75zM414.4 414.4a16 16 0 1 0 -22.6-22.6 16 16 0 1 0 22.6 22.6zm-45.3-45.3A48 48 0 1 1 437 437a48 48 0 1 1 -67.9-67.9z"]},e.mw},2803:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"square",icon:[448,512,[9632,9723,9724,61590],"f0c8","M384 64c17.7 0 32 14.3 32 32V416c0 17.7-14.3 32-32 32H64c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32H384zM64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64z"]},e.mw},9100:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"square-1",icon:[448,512,[],"e256","M384 64c17.7 0 32 14.3 32 32V416c0 17.7-14.3 32-32 32H64c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32H384zM64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm168 98.2c-4.9-2.9-11-2.9-16-.1l-56 32c-7.7 4.4-10.3 14.2-6 21.8s14.2 10.3 21.8 6L208 171.6V352H160c-8.8 0-16 7.2-16 16s7.2 16 16 16h64 64c8.8 0 16-7.2 16-16s-7.2-16-16-16H240V144c0-5.7-3-11-8-13.8z"]},e.mw},7381:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"square-2",icon:[448,512,[],"e257","M64 64C46.3 64 32 78.3 32 96V416c0 17.7 14.3 32 32 32H384c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32H64zM0 96C0 60.7 28.7 32 64 32H384c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96zm185 78.4L171 187.7c-6.4 6.1-16.6 5.7-22.6-.7s-5.7-16.6 .7-22.6l14.1-13.2c15.8-14.9 36.8-23 58.5-22.7C267.3 129 304 166.3 304 212c0 22.2-8.8 43.4-24.5 59.1L198.6 352H304c8.8 0 16 7.2 16 16s-7.2 16-16 16H160c-6.5 0-12.3-3.9-14.8-9.9s-1.1-12.9 3.5-17.4L256.9 248.5c9.7-9.7 15.1-22.8 15.1-36.5c0-28.2-22.7-51.2-50.9-51.6c-13.4-.2-26.3 4.8-36.1 14z"]},e.mw},9190:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"square-3",icon:[448,512,[],"e258","M64 64C46.3 64 32 78.3 32 96V416c0 17.7 14.3 32 32 32H384c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32H64zM0 96C0 60.7 28.7 32 64 32H384c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96zm144 32H288c6.7 0 12.7 4.2 15 10.4s.5 13.3-4.6 17.7l-78.9 67.6 19.9-.1c44.4-.2 80.6 35.7 80.6 80.2c0 44.3-35.9 80.2-80.2 80.2h-36c-27.6 0-53.5-13-70.1-35l-2.5-3.4c-5.3-7.1-3.9-17.1 3.2-22.4s17.1-3.9 22.4 3.2l2.5 3.4c10.5 14 27 22.2 44.5 22.2h36c26.6 0 48.2-21.6 48.2-48.2c0-26.7-21.7-48.3-48.4-48.2l-63.5 .3c-6.7 0-12.7-4.1-15.1-10.4s-.5-13.4 4.6-17.7L244.7 160H144c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]},e.mw},4071:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"square-4",icon:[448,512,[],"e259","M384 64c17.7 0 32 14.3 32 32V416c0 17.7-14.3 32-32 32H64c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32H384zM64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm133.9 97.1c-8.2-3.3-17.5 .7-20.8 8.9l-64 160c-2 4.9-1.4 10.5 1.6 14.9s7.9 7 13.2 7H256v48c0 8.8 7.2 16 16 16s16-7.2 16-16V320h16c8.8 0 16-7.2 16-16s-7.2-16-16-16H288V208c0-8.8-7.2-16-16-16s-16 7.2-16 16v80H151.6l55.2-138.1c3.3-8.2-.7-17.5-8.9-20.8z"]},e.mw},8e3:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"square-5",icon:[448,512,[],"e25a","M64 64C46.3 64 32 78.3 32 96V416c0 17.7 14.3 32 32 32H384c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32H64zM0 96C0 60.7 28.7 32 64 32H384c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96zm176 32H288c8.8 0 16 7.2 16 16s-7.2 16-16 16H188.5L172 225.9l80.4 8.1c38.4 3.9 67.6 36.2 67.6 74.8c0 41.5-33.7 75.2-75.2 75.2h-44c-27.4 0-53-13.7-68.3-36.4l-1.8-2.7c-4.9-7.3-3-17.3 4.4-22.2s17.3-3 22.2 4.4l1.8 2.7c9.3 13.9 25 22.3 41.8 22.3h44c23.8 0 43.2-19.3 43.2-43.2c0-22.2-16.8-40.7-38.8-42.9l-98.8-10c-4.6-.5-8.8-2.9-11.5-6.7s-3.6-8.6-2.4-13.1l24-96c1.8-7.1 8.2-12.1 15.5-12.1z"]},e.mw},4633:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"square-6",icon:[448,512,[],"e25b","M384 64c17.7 0 32 14.3 32 32V416c0 17.7-14.3 32-32 32H64c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32H384zM64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zM224 224a64 64 0 1 1 0 128 64 64 0 1 1 0-128zm-96 64c0 53 43 96 96 96s96-43 96-96c0-51.8-41-94-92.3-95.9l39.1-36.3c6.5-6 6.9-16.1 .8-22.6s-16.1-6.9-22.6-.8l-82.7 76.8c-22 20.4-34.4 49-34.4 78.9z"]},e.mw},875:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"square-check",icon:[448,512,[9745,9989,61510,"check-square"],"f14a","M64 64C46.3 64 32 78.3 32 96V416c0 17.7 14.3 32 32 32H384c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32H64zM0 96C0 60.7 28.7 32 64 32H384c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96zM331.3 203.3l-128 128c-6.2 6.2-16.4 6.2-22.6 0l-64-64c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0L192 297.4 308.7 180.7c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6z"]},e.mw},9595:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"square-minus",icon:[448,512,[61767,"minus-square"],"f146","M64 64C46.3 64 32 78.3 32 96V416c0 17.7 14.3 32 32 32H384c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32H64zM0 96C0 60.7 28.7 32 64 32H384c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96zM128 240H320c8.8 0 16 7.2 16 16s-7.2 16-16 16H128c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]},e.mw},1330:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"square-o",icon:[448,512,[],"e278","M64 64C46.3 64 32 78.3 32 96V416c0 17.7 14.3 32 32 32H384c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32H64zM0 96C0 60.7 28.7 32 64 32H384c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96zM128 256a96 96 0 1 0 192 0 96 96 0 1 0 -192 0zm96 128a128 128 0 1 1 0-256 128 128 0 1 1 0 256z"]},e.mw},3894:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"square-xmark",icon:[448,512,[10062,"times-square","xmark-square"],"f2d3","M64 64C46.3 64 32 78.3 32 96V416c0 17.7 14.3 32 32 32H384c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32H64zM0 96C0 60.7 28.7 32 64 32H384c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96zm148.7 84.7c6.2-6.2 16.4-6.2 22.6 0L224 233.4l52.7-52.7c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6L246.6 256l52.7 52.7c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0L224 278.6l-52.7 52.7c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6L201.4 256l-52.7-52.7c-6.2-6.2-6.2-16.4 0-22.6z"]},e.mw},9396:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"star",icon:[576,512,[11088,61446],"f005","M226.5 168.8L287.9 42.3l61.4 126.5c4.6 9.5 13.6 16.1 24.1 17.7l137.4 20.3-99.8 98.8c-7.4 7.3-10.8 17.8-9 28.1l23.5 139.5L303 407.7c-9.4-5-20.7-5-30.2 0L150.2 473.2l23.5-139.5c1.7-10.3-1.6-20.7-9-28.1L65 206.8l137.4-20.3c10.5-1.5 19.5-8.2 24.1-17.7zM424.9 509.1c8.1 4.3 17.9 3.7 25.3-1.7s11.2-14.5 9.7-23.5L433.6 328.4 544.8 218.2c6.5-6.4 8.7-15.9 5.9-24.5s-10.3-14.9-19.3-16.3L378.1 154.8 309.5 13.5C305.5 5.2 297.1 0 287.9 0s-17.6 5.2-21.6 13.5L197.7 154.8 44.5 177.5c-9 1.3-16.5 7.6-19.3 16.3s-.5 18.1 5.9 24.5L142.2 328.4 116 483.9c-1.5 9 2.2 18.1 9.7 23.5s17.3 6 25.3 1.7l137-73.2 137 73.2z"]},e.mw},7673:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"star-half-stroke",icon:[640,512,["star-half-alt"],"f5c0","M234.4 186.5L97 206.8l99.8 98.8c7.4 7.3 10.8 17.8 9 28.1L182.2 473.2 304 408.1V75.1l-45.5 93.7c-4.6 9.5-13.6 16.1-24.1 17.7zM336 408.2l121.6 65L434.1 333.7c-1.7-10.3 1.6-20.7 9-28.1l99.8-98.8L405.4 186.5c-10.5-1.5-19.5-8.2-24.1-17.7L336 75.4V408.2zm146.2 99.2c-7.4 5.3-17.3 6-25.3 1.7l-137-73.2L183 509.1c-8.1 4.3-17.9 3.7-25.3-1.7s-11.2-14.5-9.7-23.5l26.2-155.6L63.1 218.2c-6.5-6.4-8.7-15.9-5.9-24.5s10.3-14.9 19.3-16.3l153.2-22.6L298.3 13.5C302.4 5.2 310.7 0 319.9 0s17.6 5.2 21.6 13.5l68.6 141.3 153.2 22.6c9 1.3 16.5 7.6 19.3 16.3s.5 18.1-5.9 24.5L465.6 328.4l26.2 155.6c1.5 9-2.2 18.1-9.7 23.5z"]},e.mw},8249:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"strikethrough",icon:[512,512,[],"f0cc","M129.7 132c4.8-25.9 22-44.8 49.7-56.2c28.3-11.7 67-15 111-8.4c13.8 2.1 56.1 10 69.7 13.5c8.6 2.2 17.3-3 19.5-11.5s-3-17.3-11.5-19.5c-15.1-3.9-58.6-12-72.9-14.1c-47.7-7.2-92.7-4.1-127.9 10.5c-35.7 14.7-62.1 41.6-69.1 80.6c-.1 .3-.1 .6-.1 .9c-2.8 22.9 .6 42.7 9.5 59.7c8.8 16.8 22.4 29.6 37.9 39.8c18.7 12.2 41.6 21.2 65.2 28.9H16c-8.8 0-16 7.2-16 16s7.2 16 16 16H496c8.8 0 16-7.2 16-16s-7.2-16-16-16H319.4c-18.1-6.6-37-12.1-55.3-17.3l-1.2-.3c-39-11.2-74.8-21.6-100.2-38.1c-12.5-8.1-21.5-17.2-27.1-27.8c-5.4-10.4-8.1-23.3-6.1-40.5zM379 336.8c4.7 10.8 6.6 24.5 3.4 42.7c-4.7 26.1-21.9 45.2-49.8 56.6c-28.3 11.7-66.9 15-110.9 8.4c-22.1-3.5-59.5-15.7-88-25.1l0 0 0 0c-6.1-2-11.8-3.9-16.8-5.5c-8.4-2.7-17.4 1.9-20.1 10.4s1.9 17.4 10.4 20.1c4.4 1.4 9.6 3.1 15.3 5c28.3 9.3 69.3 22.8 94.4 26.7l.1 0c47.7 7.2 92.7 4.1 127.9-10.5c35.7-14.7 62.1-41.6 69.1-80.6c4.2-23.3 2.2-43.7-5.6-61.3c-.6-1.3-1.2-2.7-1.9-4H367.7c4.9 5.2 8.6 10.8 11.3 16.8z"]},e.mw},2214:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"table",icon:[512,512,[],"f0ce","M64 64C46.3 64 32 78.3 32 96l0 64 448 0V96c0-17.7-14.3-32-32-32L64 64zM32 192l0 112 208 0 0-112L32 192zm240 0l0 112H480l0-112-208 0zM240 336L32 336l0 80c0 17.7 14.3 32 32 32l176 0V336zm32 112H448c17.7 0 32-14.3 32-32V336H272V448zM0 96C0 60.7 28.7 32 64 32l384 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96z"]},e.mw},6069:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"table-cells",icon:[512,512,["th"],"f00a","M352 64v96H480V96c0-17.7-14.3-32-32-32H352zm-32 0H192v96H320V64zM160 64H64C46.3 64 32 78.3 32 96v64H160V64zM32 192V320H160V192H32zm0 160v64c0 17.7 14.3 32 32 32h96V352H32zm160 96H320V352H192v96zm160 0h96c17.7 0 32-14.3 32-32V352H352v96zM480 320V192H352V320H480zM0 96C0 60.7 28.7 32 64 32H448c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96zM192 320H320V192H192V320z"]},e.mw},9779:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"table-columns",icon:[512,512,["columns"],"f0db","M448 64c17.7 0 32 14.3 32 32v64L32 160l0-64c0-17.7 14.3-32 32-32l384 0zM32 416l0-224 208 0 0 256L64 448c-17.7 0-32-14.3-32-32zm240 32l0-256 208 0 0 224c0 17.7-14.3 32-32 32H272zM64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32z"]},e.mw},1879:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"table-rows",icon:[512,512,["rows"],"e292","M32 96c0-17.7 14.3-32 32-32l64 0 0 176 0 32 0 176-64 0c-17.7 0-32-14.3-32-32L32 96zM160 272l320 0 0 144c0 17.7-14.3 32-32 32l-288 0 0-176zm320-32l-320 0 0-176 288 0c17.7 0 32 14.3 32 32l0 144zM0 416c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32C28.7 32 0 60.7 0 96L0 416z"]},e.mw},3987:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"text",icon:[448,512,[],"f893","M0 64C0 46.3 14.3 32 32 32H416c17.7 0 32 14.3 32 32v48c0 8.8-7.2 16-16 16s-16-7.2-16-16V64H240l0 384h64c8.8 0 16 7.2 16 16s-7.2 16-16 16H144c-8.8 0-16-7.2-16-16s7.2-16 16-16h64l0-384H32v48c0 8.8-7.2 16-16 16s-16-7.2-16-16V64z"]},e.mw},7047:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"text-width",icon:[448,512,[],"f035","M32 32C14.3 32 0 46.3 0 64v64c0 8.8 7.2 16 16 16s16-7.2 16-16V64H208l0 192H160c-8.8 0-16 7.2-16 16s7.2 16 16 16H288c8.8 0 16-7.2 16-16s-7.2-16-16-16H240l0-192H416v64c0 8.8 7.2 16 16 16s16-7.2 16-16V64c0-17.7-14.3-32-32-32H32zM4.7 372.7c-6.2 6.2-6.2 16.4 0 22.6l80 80c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L54.6 400H393.4l-52.7 52.7c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l80-80c6.2-6.2 6.2-16.4 0-22.6l-80-80c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6L393.4 368H54.6l52.7-52.7c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0l-80 80z"]},e.mw},5196:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"trash",icon:[448,512,[],"f1f8","M177.7 32h92.5c5.5 0 10.6 2.8 13.6 7.5L299.1 64H148.9l15.3-24.5c2.9-4.7 8.1-7.5 13.6-7.5zM336.9 64L311 22.6C302.2 8.5 286.8 0 270.3 0H177.7C161.2 0 145.8 8.5 137 22.6L111.1 64H64.1 32 16C7.2 64 0 71.2 0 80s7.2 16 16 16H34.3L59.8 452.6C62.1 486.1 90 512 123.6 512H324.4c33.6 0 61.4-25.9 63.8-59.4L413.7 96H432c8.8 0 16-7.2 16-16s-7.2-16-16-16H416 383.9 336.9zm44.8 32L356.3 450.3C355.1 467 341.2 480 324.4 480H123.6c-16.8 0-30.7-13-31.9-29.7L66.4 96H381.6z"]},e.mw},1684:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"tree",icon:[448,512,[127794],"f1bb","M235.3 4.7c-6.2-6.2-16.4-6.2-22.6 0L72 145.4c-5.1 5.1-8 12.1-8 19.3C64 179.8 76.2 192 91.3 192h17.9L38.7 274.3c-4.3 5-6.7 11.4-6.7 18C32 307.6 44.4 320 59.7 320H77.2L6.7 402.3c-4.3 5-6.7 11.4-6.7 18C0 435.6 12.4 448 27.7 448H160h48v48c0 8.8 7.2 16 16 16s16-7.2 16-16V448h48H420.3c15.3 0 27.7-12.4 27.7-27.7c0-6.6-2.4-13-6.7-18L370.8 320h17.5c15.3 0 27.7-12.4 27.7-27.7c0-6.6-2.4-13-6.7-18L338.8 192h17.9c15.1 0 27.3-12.2 27.3-27.3c0-7.2-2.9-14.2-8-19.3L235.3 4.7zM240 416V208c0-8.8-7.2-16-16-16s-16 7.2-16 16V416H160 37.1l87.1-101.6c4.1-4.7 5-11.4 2.4-17.1s-8.3-9.3-14.5-9.3H69.1l87.1-101.6c4.1-4.7 5-11.4 2.4-17.1s-8.3-9.3-14.5-9.3H102.6L224 38.6 345.4 160H304c-6.2 0-11.9 3.6-14.5 9.3s-1.7 12.4 2.4 17.1L378.9 288H336c-6.2 0-11.9 3.6-14.5 9.3s-1.7 12.4 2.4 17.1L410.9 416H288 240z"]},e.mw},2596:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"triangle",icon:[512,512,[9650],"f2ec","M235.5 75.8c4.2-7.3 12-11.8 20.5-11.8s16.2 4.5 20.5 11.8l201 344.6c1.6 2.8 2.5 6 2.5 9.3c0 10.2-8.2 18.4-18.4 18.4H50.4C40.2 448 32 439.8 32 429.6c0-3.3 .9-6.4 2.5-9.3l201-344.6zM207.9 59.6L6.9 404.2C2.4 411.9 0 420.7 0 429.6C0 457.4 22.6 480 50.4 480H461.6c27.8 0 50.4-22.6 50.4-50.4c0-8.9-2.4-17.7-6.9-25.4L304.1 59.6C294.1 42.5 275.8 32 256 32s-38.1 10.5-48.1 27.6z"]},e.mw},822:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"underline",icon:[448,512,[],"f0cd","M0 48c0-8.8 7.2-16 16-16H144c8.8 0 16 7.2 16 16s-7.2 16-16 16H96V224c0 70.7 57.3 128 128 128s128-57.3 128-128V64H304c-8.8 0-16-7.2-16-16s7.2-16 16-16H432c8.8 0 16 7.2 16 16s-7.2 16-16 16H384V224c0 88.4-71.6 160-160 160s-160-71.6-160-160V64H16C7.2 64 0 56.8 0 48zM0 464c0-8.8 7.2-16 16-16H432c8.8 0 16 7.2 16 16s-7.2 16-16 16H16c-8.8 0-16-7.2-16-16z"]},e.mw},7721:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"up",icon:[384,512,["arrow-alt-up"],"f357","M189.7 64h4.6c4.4 0 8.6 1.8 11.6 5L348.5 218.8c2.2 2.3 3.5 5.4 3.5 8.7c0 6.9-5.6 12.6-12.6 12.6H256c-8.8 0-16 7.2-16 16V432c0 8.8-7.2 16-16 16H160c-8.8 0-16-7.2-16-16V256c0-8.8-7.2-16-16-16H44.6c-6.9 0-12.6-5.6-12.6-12.6c0-3.2 1.2-6.3 3.5-8.7L178.1 69c3-3.2 7.2-5 11.6-5zM384 227.4c0-11.4-4.4-22.5-12.3-30.7L229 46.9C220 37.4 207.4 32 194.3 32h-4.6C176.6 32 164 37.4 155 46.9L12.3 196.7C4.4 205 0 216 0 227.4C0 252 20 272 44.6 272H112V432c0 26.5 21.5 48 48 48h64c26.5 0 48-21.5 48-48V272h67.4c24.6 0 44.6-20 44.6-44.6z"]},e.mw},1187:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"up-right",icon:[384,512,[],"e2be","M312 128c4.4 0 8 3.6 8 8V337.4c0 3.7-3 6.6-6.6 6.6c-1.8 0-3.4-.7-4.7-1.9l-61.4-61.4c-6.2-6.2-16.4-6.2-22.6 0L112 393.4c-4.2 4.2-10 6.6-16 6.6s-11.8-2.4-16-6.6L54.6 368c-4.2-4.2-6.6-10-6.6-16s2.4-11.8 6.6-16L167.3 223.3c3-3 4.7-7.1 4.7-11.3s-1.7-8.3-4.7-11.3l-61.4-61.4c-1.2-1.2-1.9-2.9-1.9-4.7c0-3.7 3-6.6 6.6-6.6H312zm40 8c0-22.1-17.9-40-40-40H110.6C89.3 96 72 113.3 72 134.6c0 10.2 4.1 20.1 11.3 27.3L133.4 212 32 313.4C21.8 323.6 16 337.5 16 352s5.8 28.4 16 38.6L57.4 416c10.2 10.2 24.1 16 38.6 16s28.4-5.8 38.6-16L236 314.6l50.1 50.1c7.2 7.2 17.1 11.3 27.3 11.3c21.3 0 38.6-17.3 38.6-38.6V136z"]},e.mw},8497:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"upload",icon:[512,512,[],"f093","M272 54.6V368c0 8.8-7.2 16-16 16s-16-7.2-16-16V54.6L139.3 155.3c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6l128-128c6.2-6.2 16.4-6.2 22.6 0l128 128c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0L272 54.6zM208 352H64c-17.7 0-32 14.3-32 32v64c0 17.7 14.3 32 32 32H448c17.7 0 32-14.3 32-32V384c0-17.7-14.3-32-32-32H304V320H448c35.3 0 64 28.7 64 64v64c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V384c0-35.3 28.7-64 64-64H208v32zm176 64a24 24 0 1 1 48 0 24 24 0 1 1 -48 0z"]},e.mw},5211:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M324.5 411.1c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L214.6 256 347.1 123.5c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L192 233.4 59.5 100.9c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6L169.4 256 36.9 388.5c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L192 278.6 324.5 411.1z"]},e.mw},8113:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"align-center",icon:[448,512,[],"f037","M352 64c0-17.7-14.3-32-32-32H128c-17.7 0-32 14.3-32 32s14.3 32 32 32H320c17.7 0 32-14.3 32-32zm96 128c0-17.7-14.3-32-32-32H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H416c17.7 0 32-14.3 32-32zM0 448c0 17.7 14.3 32 32 32H416c17.7 0 32-14.3 32-32s-14.3-32-32-32H32c-17.7 0-32 14.3-32 32zM352 320c0-17.7-14.3-32-32-32H128c-17.7 0-32 14.3-32 32s14.3 32 32 32H320c17.7 0 32-14.3 32-32z"]},e.mw},1821:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"align-left",icon:[448,512,[],"f036","M288 64c0 17.7-14.3 32-32 32H32C14.3 96 0 81.7 0 64S14.3 32 32 32H256c17.7 0 32 14.3 32 32zm0 256c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H256c17.7 0 32 14.3 32 32zM0 192c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 448c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z"]},e.mw},7212:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"align-right",icon:[448,512,[],"f038","M448 64c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32zm0 256c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32zM0 192c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 448c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z"]},e.mw},930:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"angle-down",icon:[448,512,[8964],"f107","M201.4 342.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 274.7 86.6 137.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"]},e.mw},9723:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"angle-up",icon:[448,512,[8963],"f106","M201.4 137.4c12.5-12.5 32.8-12.5 45.3 0l160 160c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L224 205.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l160-160z"]},e.mw},536:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"arrow-down",icon:[384,512,[8595],"f063","M169.4 470.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 370.8 224 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 306.7L54.6 265.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"]},e.mw},1673:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"arrow-left",icon:[448,512,[8592],"f060","M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.2 288 416 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-306.7 0L214.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"]},e.mw},8736:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"arrow-right",icon:[448,512,[8594],"f061","M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z"]},e.mw},9511:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"arrow-turn-down",icon:[384,512,["level-down"],"f149","M32 64C14.3 64 0 49.7 0 32S14.3 0 32 0l96 0c53 0 96 43 96 96l0 306.7 73.4-73.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3l-128 128c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 402.7 160 96c0-17.7-14.3-32-32-32L32 64z"]},e.mw},5757:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"arrow-up",icon:[384,512,[8593],"f062","M214.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 141.2V448c0 17.7 14.3 32 32 32s32-14.3 32-32V141.2L329.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z"]},e.mw},6728:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i="arrows-rotate",o=[128472,"refresh","sync"],n="f021",r="M105.1 202.6c7.7-21.8 20.2-42.3 37.8-59.8c62.5-62.5 163.8-62.5 226.3 0L386.3 160H336c-17.7 0-32 14.3-32 32s14.3 32 32 32H463.5c0 0 0 0 0 0h.4c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32s-32 14.3-32 32v51.2L414.4 97.6c-87.5-87.5-229.3-87.5-316.8 0C73.2 122 55.6 150.7 44.8 181.4c-5.9 16.7 2.9 34.9 19.5 40.8s34.9-2.9 40.8-19.5zM39 289.3c-5 1.5-9.8 4.2-13.7 8.2c-4 4-6.7 8.8-8.1 14c-.3 1.2-.6 2.5-.8 3.8c-.3 1.7-.4 3.4-.4 5.1V448c0 17.7 14.3 32 32 32s32-14.3 32-32V396.9l17.6 17.5 0 0c87.5 87.4 229.3 87.4 316.7 0c24.4-24.4 42.1-53.1 52.9-83.7c5.9-16.7-2.9-34.9-19.5-40.8s-34.9 2.9-40.8 19.5c-7.7 21.8-20.2 42.3-37.8 59.8c-62.5 62.5-163.8 62.5-226.3 0l-.1-.1L125.6 352H176c17.7 0 32-14.3 32-32s-14.3-32-32-32H48.4c-1.6 0-3.2 .1-4.8 .3s-3.1 .5-4.6 1z";e.definition={prefix:"fas",iconName:i,icon:[512,512,o,n,r]},e.faArrowsRotate=e.definition,e.prefix="fas",e.iconName=i,e.width=512,e.height=512,e.ligatures=o,e.unicode=n,e.svgPathData=r,e.aliases=o},5927:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"arrows-to-dot",icon:[512,512,[],"e4be","M256 0c17.7 0 32 14.3 32 32V64h32c12.9 0 24.6 7.8 29.6 19.8s2.2 25.7-6.9 34.9l-64 64c-12.5 12.5-32.8 12.5-45.3 0l-64-64c-9.2-9.2-11.9-22.9-6.9-34.9s16.6-19.8 29.6-19.8h32V32c0-17.7 14.3-32 32-32zM169.4 393.4l64-64c12.5-12.5 32.8-12.5 45.3 0l64 64c9.2 9.2 11.9 22.9 6.9 34.9s-16.6 19.8-29.6 19.8H288v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V448H192c-12.9 0-24.6-7.8-29.6-19.8s-2.2-25.7 6.9-34.9zM32 224H64V192c0-12.9 7.8-24.6 19.8-29.6s25.7-2.2 34.9 6.9l64 64c12.5 12.5 12.5 32.8 0 45.3l-64 64c-9.2 9.2-22.9 11.9-34.9 6.9s-19.8-16.6-19.8-29.6V288H32c-17.7 0-32-14.3-32-32s14.3-32 32-32zm297.4 54.6c-12.5-12.5-12.5-32.8 0-45.3l64-64c9.2-9.2 22.9-11.9 34.9-6.9s19.8 16.6 19.8 29.6v32h32c17.7 0 32 14.3 32 32s-14.3 32-32 32H448v32c0 12.9-7.8 24.6-19.8 29.6s-25.7 2.2-34.9-6.9l-64-64zM256 224a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},e.mw},9231:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"bars",icon:[448,512,["navicon"],"f0c9","M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z"]},e.mw},8542:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"bold",icon:[384,512,[],"f032","M0 64C0 46.3 14.3 32 32 32H80 96 224c70.7 0 128 57.3 128 128c0 31.3-11.3 60.1-30 82.3c37.1 22.4 62 63.1 62 109.7c0 70.7-57.3 128-128 128H96 80 32c-17.7 0-32-14.3-32-32s14.3-32 32-32H48V256 96H32C14.3 96 0 81.7 0 64zM224 224c35.3 0 64-28.7 64-64s-28.7-64-64-64H112V224H224zM112 288V416H256c35.3 0 64-28.7 64-64s-28.7-64-64-64H224 112z"]},e.mw},2356:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"book",icon:[448,512,[128212],"f02d","M96 0C43 0 0 43 0 96V416c0 53 43 96 96 96H384h32c17.7 0 32-14.3 32-32s-14.3-32-32-32V384c17.7 0 32-14.3 32-32V32c0-17.7-14.3-32-32-32H384 96zm0 384H352v64H96c-17.7 0-32-14.3-32-32s14.3-32 32-32zm32-240c0-8.8 7.2-16 16-16H336c8.8 0 16 7.2 16 16s-7.2 16-16 16H144c-8.8 0-16-7.2-16-16zm16 48H336c8.8 0 16 7.2 16 16s-7.2 16-16 16H144c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]},e.mw},4505:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"building",icon:[384,512,[127970,61687],"f1ad","M48 0C21.5 0 0 21.5 0 48V464c0 26.5 21.5 48 48 48h96V432c0-26.5 21.5-48 48-48s48 21.5 48 48v80h96c26.5 0 48-21.5 48-48V48c0-26.5-21.5-48-48-48H48zM64 240c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V240zm112-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H176c-8.8 0-16-7.2-16-16V240c0-8.8 7.2-16 16-16zm80 16c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H272c-8.8 0-16-7.2-16-16V240zM80 96h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V112c0-8.8 7.2-16 16-16zm80 16c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H176c-8.8 0-16-7.2-16-16V112zM272 96h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H272c-8.8 0-16-7.2-16-16V112c0-8.8 7.2-16 16-16z"]},e.mw},4582:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"caret-down",icon:[320,512,[],"f0d7","M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z"]},e.mw},6127:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"caret-left",icon:[256,512,[],"f0d9","M9.4 278.6c-12.5-12.5-12.5-32.8 0-45.3l128-128c9.2-9.2 22.9-11.9 34.9-6.9s19.8 16.6 19.8 29.6l0 256c0 12.9-7.8 24.6-19.8 29.6s-25.7 2.2-34.9-6.9l-128-128z"]},e.mw},8238:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"caret-right",icon:[256,512,[],"f0da","M246.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-128-128c-9.2-9.2-22.9-11.9-34.9-6.9s-19.8 16.6-19.8 29.6l0 256c0 12.9 7.8 24.6 19.8 29.6s25.7 2.2 34.9-6.9l128-128z"]},e.mw},6343:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"caret-up",icon:[320,512,[],"f0d8","M182.6 137.4c-12.5-12.5-32.8-12.5-45.3 0l-128 128c-9.2 9.2-11.9 22.9-6.9 34.9s16.6 19.8 29.6 19.8H288c12.9 0 24.6-7.8 29.6-19.8s2.2-25.7-6.9-34.9l-128-128z"]},e.mw},5236:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"chart-bar",icon:[512,512,["bar-chart"],"f080","M32 32c17.7 0 32 14.3 32 32V400c0 8.8 7.2 16 16 16H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H80c-44.2 0-80-35.8-80-80V64C0 46.3 14.3 32 32 32zm96 96c0-17.7 14.3-32 32-32l192 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-192 0c-17.7 0-32-14.3-32-32zm32 64H288c17.7 0 32 14.3 32 32s-14.3 32-32 32H160c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 96H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H160c-17.7 0-32-14.3-32-32s14.3-32 32-32z"]},e.mw},6363:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"chart-column",icon:[512,512,[],"e0e3","M32 32c17.7 0 32 14.3 32 32V400c0 8.8 7.2 16 16 16H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H80c-44.2 0-80-35.8-80-80V64C0 46.3 14.3 32 32 32zM160 224c17.7 0 32 14.3 32 32v64c0 17.7-14.3 32-32 32s-32-14.3-32-32V256c0-17.7 14.3-32 32-32zm128-64V320c0 17.7-14.3 32-32 32s-32-14.3-32-32V160c0-17.7 14.3-32 32-32s32 14.3 32 32zm64 32c17.7 0 32 14.3 32 32v96c0 17.7-14.3 32-32 32s-32-14.3-32-32V224c0-17.7 14.3-32 32-32zM480 96V320c0 17.7-14.3 32-32 32s-32-14.3-32-32V96c0-17.7 14.3-32 32-32s32 14.3 32 32z"]},e.mw},3499:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"chart-line",icon:[512,512,["line-chart"],"f201","M64 64c0-17.7-14.3-32-32-32S0 46.3 0 64V400c0 44.2 35.8 80 80 80H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H80c-8.8 0-16-7.2-16-16V64zm406.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L320 210.7l-57.4-57.4c-12.5-12.5-32.8-12.5-45.3 0l-112 112c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L240 221.3l57.4 57.4c12.5 12.5 32.8 12.5 45.3 0l128-128z"]},e.mw},3811:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"chart-pie",icon:[576,512,["pie-chart"],"f200","M304 240V16.6c0-9 7-16.6 16-16.6C443.7 0 544 100.3 544 224c0 9-7.6 16-16.6 16H304zM32 272C32 150.7 122.1 50.3 239 34.3c9.2-1.3 17 6.1 17 15.4V288L412.5 444.5c6.7 6.7 6.2 17.7-1.5 23.1C371.8 495.6 323.8 512 272 512C139.5 512 32 404.6 32 272zm526.4 16c9.3 0 16.6 7.8 15.4 17c-7.7 55.9-34.6 105.6-73.9 142.3c-6 5.6-15.4 5.2-21.2-.7L320 288H558.4z"]},e.mw},4331:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"chart-simple",icon:[448,512,[],"e473","M160 80c0-26.5 21.5-48 48-48h32c26.5 0 48 21.5 48 48V432c0 26.5-21.5 48-48 48H208c-26.5 0-48-21.5-48-48V80zM0 272c0-26.5 21.5-48 48-48H80c26.5 0 48 21.5 48 48V432c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V272zM368 96h32c26.5 0 48 21.5 48 48V432c0 26.5-21.5 48-48 48H368c-26.5 0-48-21.5-48-48V144c0-26.5 21.5-48 48-48z"]},e.mw},789:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"check",icon:[448,512,[10003,10004],"f00c","M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"]},e.mw},8022:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"chevron-down",icon:[512,512,[],"f078","M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"]},e.mw},127:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"chevron-left",icon:[320,512,[9001],"f053","M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 246.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z"]},e.mw},6158:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"chevron-right",icon:[320,512,[9002],"f054","M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"]},e.mw},2439:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"chevron-up",icon:[512,512,[],"f077","M233.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 173.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z"]},e.mw},5037:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle",icon:[512,512,[128308,128309,128992,128993,128994,128995,128996,9679,9898,9899,11044,61708,61915],"f111","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512z"]},e.mw},7005:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-check",icon:[512,512,[61533,"check-circle"],"f058","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]},e.mw},1504:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-exclamation",icon:[512,512,["exclamation-circle"],"f06a","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c13.3 0 24 10.7 24 24V264c0 13.3-10.7 24-24 24s-24-10.7-24-24V152c0-13.3 10.7-24 24-24zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"]},e.mw},7436:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-half-stroke",icon:[512,512,[9680,"adjust"],"f042","M448 256c0-106-86-192-192-192V448c106 0 192-86 192-192zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z"]},e.mw},9517:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},e.mw},499:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-play",icon:[512,512,[61469,"play-circle"],"f144","M0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zM188.3 147.1c-7.6 4.2-12.3 12.3-12.3 20.9V344c0 8.7 4.7 16.7 12.3 20.9s16.8 4.1 24.3-.5l144-88c7.1-4.4 11.5-12.1 11.5-20.5s-4.4-16.1-11.5-20.5l-144-88c-7.4-4.5-16.7-4.7-24.3-.5z"]},e.mw},4201:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-quarter-stroke",icon:[512,512,[],"e5d3","M64 256l160 0c17.7 0 32-14.3 32-32l0-160c106 0 192 86 192 192s-86 192-192 192S64 362 64 256zM0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256z"]},e.mw},1261:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-question",icon:[512,512,[62108,"question-circle"],"f059","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM169.8 165.3c7.9-22.3 29.1-37.3 52.8-37.3h58.3c34.9 0 63.1 28.3 63.1 63.1c0 22.6-12.1 43.5-31.7 54.8L280 264.4c-.2 13-10.9 23.6-24 23.6c-13.3 0-24-10.7-24-24V250.5c0-8.6 4.6-16.5 12.1-20.8l44.3-25.4c4.7-2.7 7.6-7.7 7.6-13.1c0-8.4-6.8-15.1-15.1-15.1H222.6c-3.4 0-6.4 2.1-7.5 5.3l-.4 1.2c-4.4 12.5-18.2 19-30.6 14.6s-19-18.2-14.6-30.6l.4-1.2zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"]},e.mw},9626:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-radiation",icon:[512,512,[9762,"radiation-alt"],"f7ba","M256 64a192 192 0 1 1 0 384 192 192 0 1 1 0-384zm0 448A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM200 256c0-20.7 11.3-38.8 28-48.5l-36-62.3c-8.8-15.3-28.7-20.8-42-9c-25.6 22.6-43.9 53.3-50.9 88.1C95.7 241.5 110.3 256 128 256l72 0zm28 48.5l-36 62.4c-8.8 15.3-3.6 35.2 13.1 40.8c16 5.4 33.1 8.3 50.9 8.3s34.9-2.9 50.9-8.3c16.7-5.6 21.9-25.5 13.1-40.8l-36-62.4c-8.2 4.8-17.8 7.5-28 7.5s-19.8-2.7-28-7.5zM312 256l72 0c17.7 0 32.3-14.5 28.8-31.8c-7-34.8-25.3-65.5-50.9-88.1c-13.2-11.7-33.1-6.3-42 9l-36 62.3c16.7 9.7 28 27.8 28 48.5zm-56 32a32 32 0 1 0 0-64 32 32 0 1 0 0 64z"]},e.mw},8248:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-three-quarters-stroke",icon:[512,512,[],"e5d4","M256 64V224c0 17.7 14.3 32 32 32H448c0-106-86-192-192-192zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z"]},e.mw},5268:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-xmark",icon:[512,512,[61532,"times-circle","xmark-circle"],"f057","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM175 175c9.4-9.4 24.6-9.4 33.9 0l47 47 47-47c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-47 47 47 47c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-47-47-47 47c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l47-47-47-47c-9.4-9.4-9.4-24.6 0-33.9z"]},e.mw},8724:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"code",icon:[640,512,[],"f121","M392.8 1.2c-17-4.9-34.7 5-39.6 22l-128 448c-4.9 17 5 34.7 22 39.6s34.7-5 39.6-22l128-448c4.9-17-5-34.7-22-39.6zm80.6 120.1c-12.5 12.5-12.5 32.8 0 45.3L562.7 256l-89.4 89.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l112-112c12.5-12.5 12.5-32.8 0-45.3l-112-112c-12.5-12.5-32.8-12.5-45.3 0zm-306.7 0c-12.5-12.5-32.8-12.5-45.3 0l-112 112c-12.5 12.5-12.5 32.8 0 45.3l112 112c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256l89.4-89.4c12.5-12.5 12.5-32.8 0-45.3z"]},e.mw},8964:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"comment",icon:[512,512,[128489,61669],"f075","M512 240c0 114.9-114.6 208-256 208c-37.1 0-72.3-6.4-104.1-17.9c-11.9 8.7-31.3 20.6-54.3 30.6C73.6 471.1 44.7 480 16 480c-6.5 0-12.3-3.9-14.8-9.9c-2.5-6-1.1-12.8 3.4-17.4l0 0 0 0 0 0 0 0 .3-.3c.3-.3 .7-.7 1.3-1.4c1.1-1.2 2.8-3.1 4.9-5.7c4.1-5 9.6-12.4 15.2-21.6c10-16.6 19.5-38.4 21.4-62.9C17.7 326.8 0 285.1 0 240C0 125.1 114.6 32 256 32s256 93.1 256 208z"]},e.mw},5764:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"copy",icon:[448,512,[],"f0c5","M208 0H332.1c12.7 0 24.9 5.1 33.9 14.1l67.9 67.9c9 9 14.1 21.2 14.1 33.9V336c0 26.5-21.5 48-48 48H208c-26.5 0-48-21.5-48-48V48c0-26.5 21.5-48 48-48zM48 128h80v64H64V448H256V416h64v48c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V176c0-26.5 21.5-48 48-48z"]},e.mw},8573:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"dash",icon:[512,512,["minus-large"],"e404","M0 256c0-17.7 14.3-32 32-32H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32z"]},e.mw},5133:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"down",icon:[384,512,["arrow-alt-down"],"f354","M214.6 470.6c-12.5 12.5-32.8 12.5-45.3 0l-160-160c-9.2-9.2-11.9-22.9-6.9-34.9s16.6-19.8 29.6-19.8l96 0 0-184c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 184 96 0c12.9 0 24.6 7.8 29.6 19.8s2.2 25.7-6.9 34.9l-160 160z"]},e.mw},3247:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"down-right",icon:[384,512,[],"e16b","M336 432H96c-12.9 0-24.6-7.8-29.6-19.8s-2.2-25.7 6.9-34.9l72-72L11.3 171.3C4.1 164.1 0 154.2 0 144s4.1-20.1 11.3-27.3L52.7 75.3C59.9 68.1 69.8 64 80 64s20.1 4.1 27.3 11.3L241.4 209.4l72-72c9.2-9.2 22.9-11.9 34.9-6.9s19.8 16.6 19.8 29.6V400c0 17.7-14.3 32-32 32z"]},e.mw},397:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"download",icon:[512,512,[],"f019","M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32V274.7l-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L288 274.7V32zM64 352c-35.3 0-64 28.7-64 64v32c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V416c0-35.3-28.7-64-64-64H346.5l-45.3 45.3c-25 25-65.5 25-90.5 0L165.5 352H64zm368 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"]},e.mw},3478:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"ellipsis",icon:[448,512,["ellipsis-h"],"f141","M8 256a56 56 0 1 1 112 0A56 56 0 1 1 8 256zm160 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm216-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z"]},e.mw},512:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"ellipsis-vertical",icon:[128,512,["ellipsis-v"],"f142","M64 360a56 56 0 1 0 0 112 56 56 0 1 0 0-112zm0-160a56 56 0 1 0 0 112 56 56 0 1 0 0-112zM120 96A56 56 0 1 0 8 96a56 56 0 1 0 112 0z"]},e.mw},2680:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"exclamation",icon:[64,512,[10069,10071,61738],"21","M64 64c0-17.7-14.3-32-32-32S0 46.3 0 64V320c0 17.7 14.3 32 32 32s32-14.3 32-32V64zM32 480a40 40 0 1 0 0-80 40 40 0 1 0 0 80z"]},e.mw},2704:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"eye",icon:[576,512,[128065],"f06e","M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64c-7.1 0-13.9-1.2-20.3-3.3c-5.5-1.8-11.9 1.6-11.7 7.4c.3 6.9 1.3 13.8 3.2 20.7c13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3z"]},e.mw},2419:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"eye-slash",icon:[640,512,[],"f070","M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L525.6 386.7c39.6-40.6 66.4-86.1 79.9-118.4c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-68.2 0-125 26.3-169.3 60.8L38.8 5.1zM223.1 149.5C248.6 126.2 282.7 112 320 112c79.5 0 144 64.5 144 144c0 24.9-6.3 48.3-17.4 68.7L408 294.5c8.4-19.3 10.6-41.4 4.8-63.3c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3c0 10.2-2.4 19.8-6.6 28.3l-90.3-70.8zM373 389.9c-16.4 6.5-34.3 10.1-53 10.1c-79.5 0-144-64.5-144-144c0-6.9 .5-13.6 1.4-20.2L83.1 161.5C60.3 191.2 44 220.8 34.5 243.7c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c47.8 0 89.9-12.9 126.2-32.5L373 389.9z"]},e.mw},452:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"fill",icon:[512,512,[],"f575","M86.6 9.4C74.1-3.1 53.9-3.1 41.4 9.4s-12.5 32.8 0 45.3L122.7 136 30.6 228.1c-37.5 37.5-37.5 98.3 0 135.8L148.1 481.4c37.5 37.5 98.3 37.5 135.8 0L474.3 290.9c28.1-28.1 28.1-73.7 0-101.8L322.9 37.7c-28.1-28.1-73.7-28.1-101.8 0L168 90.7 86.6 9.4zM168 181.3l49.4 49.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L213.3 136l53.1-53.1c3.1-3.1 8.2-3.1 11.3 0L429.1 234.3c3.1 3.1 3.1 8.2 0 11.3L386.7 288H67.5c1.4-5.4 4.2-10.4 8.4-14.6L168 181.3z"]},e.mw},8659:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"filter",icon:[512,512,[],"f0b0","M3.9 54.9C10.5 40.9 24.5 32 40 32H472c15.5 0 29.5 8.9 36.1 22.9s4.6 30.5-5.2 42.5L320 320.9V448c0 12.1-6.8 23.2-17.7 28.6s-23.8 4.3-33.5-3l-64-48c-8.1-6-12.8-15.5-12.8-25.6V320.9L9 97.3C-.7 85.4-2.8 68.8 3.9 54.9z"]},e.mw},4555:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"flag-pennant",icon:[448,512,[128681,"pennant"],"f456","M64 32C64 14.3 49.7 0 32 0S0 14.3 0 32V480c0 17.7 14.3 32 32 32s32-14.3 32-32V352L433 213.6c9-3.4 15-12 15-21.6s-6-18.2-15-21.6L64 32z"]},e.mw},1202:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i="floppy-disk",o=[128190,128426,"save"],n="f0c7",r="M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V173.3c0-17-6.7-33.3-18.7-45.3L352 50.7C340 38.7 323.7 32 306.7 32H64zm0 96c0-17.7 14.3-32 32-32H288c17.7 0 32 14.3 32 32v64c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V128zM224 288a64 64 0 1 1 0 128 64 64 0 1 1 0-128z";e.definition={prefix:"fas",iconName:i,icon:[448,512,o,n,r]},e.faFloppyDisk=e.definition,e.prefix="fas",e.iconName=i,e.width=448,e.height=512,e.ligatures=o,e.unicode=n,e.svgPathData=r,e.aliases=o},4101:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"folder",icon:[512,512,[128193,128447,61716,"folder-blank"],"f07b","M64 480H448c35.3 0 64-28.7 64-64V160c0-35.3-28.7-64-64-64H288c-10.1 0-19.6-4.7-25.6-12.8L243.2 57.6C231.1 41.5 212.1 32 192 32H64C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64z"]},e.mw},7813:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"folder-open",icon:[576,512,[128194,128449,61717],"f07c","M88.7 223.8L0 375.8V96C0 60.7 28.7 32 64 32H181.5c17 0 33.3 6.7 45.3 18.7l26.5 26.5c12 12 28.3 18.7 45.3 18.7H416c35.3 0 64 28.7 64 64v32H144c-22.8 0-43.8 12.1-55.3 31.8zm27.6 16.1C122.1 230 132.6 224 144 224H544c11.5 0 22 6.1 27.7 16.1s5.7 22.2-.1 32.1l-112 192C453.9 474 443.4 480 432 480H32c-11.5 0-22-6.1-27.7-16.1s-5.7-22.2 .1-32.1l112-192z"]},e.mw},8680:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"font",icon:[448,512,[],"f031","M254 52.8C249.3 40.3 237.3 32 224 32s-25.3 8.3-30 20.8L57.8 416H32c-17.7 0-32 14.3-32 32s14.3 32 32 32h96c17.7 0 32-14.3 32-32s-14.3-32-32-32h-1.8l18-48H303.8l18 48H320c-17.7 0-32 14.3-32 32s14.3 32 32 32h96c17.7 0 32-14.3 32-32s-14.3-32-32-32H390.2L254 52.8zM279.8 304H168.2L224 155.1 279.8 304z"]},e.mw},5390:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"gear",icon:[512,512,[9881,"cog"],"f013","M495.9 166.6c3.2 8.7 .5 18.4-6.4 24.6l-43.3 39.4c1.1 8.3 1.7 16.8 1.7 25.4s-.6 17.1-1.7 25.4l43.3 39.4c6.9 6.2 9.6 15.9 6.4 24.6c-4.4 11.9-9.7 23.3-15.8 34.3l-4.7 8.1c-6.6 11-14 21.4-22.1 31.2c-5.9 7.2-15.7 9.6-24.5 6.8l-55.7-17.7c-13.4 10.3-28.2 18.9-44 25.4l-12.5 57.1c-2 9.1-9 16.3-18.2 17.8c-13.8 2.3-28 3.5-42.5 3.5s-28.7-1.2-42.5-3.5c-9.2-1.5-16.2-8.7-18.2-17.8l-12.5-57.1c-15.8-6.5-30.6-15.1-44-25.4L83.1 425.9c-8.8 2.8-18.6 .3-24.5-6.8c-8.1-9.8-15.5-20.2-22.1-31.2l-4.7-8.1c-6.1-11-11.4-22.4-15.8-34.3c-3.2-8.7-.5-18.4 6.4-24.6l43.3-39.4C64.6 273.1 64 264.6 64 256s.6-17.1 1.7-25.4L22.4 191.2c-6.9-6.2-9.6-15.9-6.4-24.6c4.4-11.9 9.7-23.3 15.8-34.3l4.7-8.1c6.6-11 14-21.4 22.1-31.2c5.9-7.2 15.7-9.6 24.5-6.8l55.7 17.7c13.4-10.3 28.2-18.9 44-25.4l12.5-57.1c2-9.1 9-16.3 18.2-17.8C227.3 1.2 241.5 0 256 0s28.7 1.2 42.5 3.5c9.2 1.5 16.2 8.7 18.2 17.8l12.5 57.1c15.8 6.5 30.6 15.1 44 25.4l55.7-17.7c8.8-2.8 18.6-.3 24.5 6.8c8.1 9.8 15.5 20.2 22.1 31.2l4.7 8.1c6.1 11 11.4 22.4 15.8 34.3zM256 336a80 80 0 1 0 0-160 80 80 0 1 0 0 160z"]},e.mw},9358:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"grip-lines",icon:[448,512,[],"f7a4","M32 288c-17.7 0-32 14.3-32 32s14.3 32 32 32l384 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L32 288zm0-128c-17.7 0-32 14.3-32 32s14.3 32 32 32l384 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L32 160z"]},e.mw},9176:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"grip-lines-vertical",icon:[192,512,[],"f7a5","M64 64c0-17.7-14.3-32-32-32S0 46.3 0 64V448c0 17.7 14.3 32 32 32s32-14.3 32-32V64zm128 0c0-17.7-14.3-32-32-32s-32 14.3-32 32V448c0 17.7 14.3 32 32 32s32-14.3 32-32V64z"]},e.mw},979:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"grip-vertical",icon:[320,512,[],"f58e","M40 352l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zm192 0l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 320c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 192l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 160c-22.1 0-40-17.9-40-40L0 72C0 49.9 17.9 32 40 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40z"]},e.mw},6267:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"heading",icon:[448,512,["header"],"f1dc","M0 64C0 46.3 14.3 32 32 32H80h48c17.7 0 32 14.3 32 32s-14.3 32-32 32H112V208H336V96H320c-17.7 0-32-14.3-32-32s14.3-32 32-32h48 48c17.7 0 32 14.3 32 32s-14.3 32-32 32H400V240 416h16c17.7 0 32 14.3 32 32s-14.3 32-32 32H368 320c-17.7 0-32-14.3-32-32s14.3-32 32-32h16V272H112V416h16c17.7 0 32 14.3 32 32s-14.3 32-32 32H80 32c-17.7 0-32-14.3-32-32s14.3-32 32-32H48V240 96H32C14.3 96 0 81.7 0 64z"]},e.mw},3559:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"horizontal-rule",icon:[640,512,[8213],"f86c","M0 256c0-17.7 14.3-32 32-32H608c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32z"]},e.mw},3285:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"house",icon:[576,512,[127968,63498,63500,"home","home-alt","home-lg-alt"],"f015","M575.8 255.5c0 18-15 32.1-32 32.1h-32l.7 160.2c0 2.7-.2 5.4-.5 8.1V472c0 22.1-17.9 40-40 40H456c-1.1 0-2.2 0-3.3-.1c-1.4 .1-2.8 .1-4.2 .1H416 392c-22.1 0-40-17.9-40-40V448 384c0-17.7-14.3-32-32-32H256c-17.7 0-32 14.3-32 32v64 24c0 22.1-17.9 40-40 40H160 128.1c-1.5 0-3-.1-4.5-.2c-1.2 .1-2.4 .2-3.6 .2H104c-22.1 0-40-17.9-40-40V360c0-.9 0-1.9 .1-2.8V287.6H32c-18 0-32-14-32-32.1c0-9 3-17 10-24L266.4 8c7-7 15-8 22-8s15 2 21 7L564.8 231.5c8 7 12 15 11 24z"]},e.mw},3300:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"image",icon:[512,512,[],"f03e","M0 96C0 60.7 28.7 32 64 32H448c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96zM323.8 202.5c-4.5-6.6-11.9-10.5-19.8-10.5s-15.4 3.9-19.8 10.5l-87 127.6L170.7 297c-4.6-5.7-11.5-9-18.7-9s-14.2 3.3-18.7 9l-64 80c-5.8 7.2-6.9 17.1-2.9 25.4s12.4 13.6 21.6 13.6h96 32H424c8.9 0 17.1-4.9 21.2-12.8s3.6-17.4-1.4-24.7l-120-176zM112 192a48 48 0 1 0 0-96 48 48 0 1 0 0 96z"]},e.mw},8270:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"input-text",icon:[640,512,[],"e1bf","M64 128V384H576V128H64zM0 128C0 92.7 28.7 64 64 64H576c35.3 0 64 28.7 64 64V384c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V128zm184 32c9.5 0 18.1 5.6 21.9 14.3l64 144c5.4 12.1-.1 26.3-12.2 31.7s-26.3-.1-31.7-12.2l-4.3-9.7H146.3l-4.3 9.7c-5.4 12.1-19.6 17.6-31.7 12.2s-17.6-19.6-12.2-31.7l64-144c3.9-8.7 12.4-14.3 21.9-14.3zm0 83.1L167.6 280h32.8L184 243.1zM304 184c0-13.3 10.7-24 24-24h52c33.1 0 60 26.9 60 60c0 9.2-2.1 17.9-5.8 25.7c13.3 11 21.8 27.6 21.8 46.3c0 33.1-26.9 60-60 60H328c-13.3 0-24-10.7-24-24v-8V256 192v-8zm48 24v24h28c6.6 0 12-5.4 12-12s-5.4-12-12-12H352zm0 96h44c6.6 0 12-5.4 12-12s-5.4-12-12-12H380 352v24z"]},e.mw},8385:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"italic",icon:[384,512,[],"f033","M128 64c0-17.7 14.3-32 32-32H352c17.7 0 32 14.3 32 32s-14.3 32-32 32H293.3L160 416h64c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H90.7L224 96H160c-17.7 0-32-14.3-32-32z"]},e.mw},2377:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"layer-group",icon:[576,512,[],"f5fd","M264.5 5.2c14.9-6.9 32.1-6.9 47 0l218.6 101c8.5 3.9 13.9 12.4 13.9 21.8s-5.4 17.9-13.9 21.8l-218.6 101c-14.9 6.9-32.1 6.9-47 0L45.9 149.8C37.4 145.8 32 137.3 32 128s5.4-17.9 13.9-21.8L264.5 5.2zM476.9 209.6l53.2 24.6c8.5 3.9 13.9 12.4 13.9 21.8s-5.4 17.9-13.9 21.8l-218.6 101c-14.9 6.9-32.1 6.9-47 0L45.9 277.8C37.4 273.8 32 265.3 32 256s5.4-17.9 13.9-21.8l53.2-24.6 152 70.2c23.4 10.8 50.4 10.8 73.8 0l152-70.2zm-152 198.2l152-70.2 53.2 24.6c8.5 3.9 13.9 12.4 13.9 21.8s-5.4 17.9-13.9 21.8l-218.6 101c-14.9 6.9-32.1 6.9-47 0L45.9 405.8C37.4 401.8 32 393.3 32 384s5.4-17.9 13.9-21.8l53.2-24.6 152 70.2c23.4 10.8 50.4 10.8 73.8 0z"]},e.mw},6092:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"left",icon:[448,512,["arrow-alt-left"],"f355","M9.4 278.6c-12.5-12.5-12.5-32.8 0-45.3l160-160c9.2-9.2 22.9-11.9 34.9-6.9s19.8 16.6 19.8 29.6l0 96 184 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-184 0 0 96c0 12.9-7.8 24.6-19.8 29.6s-25.7 2.2-34.9-6.9l-160-160z"]},e.mw},5741:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"link",icon:[640,512,[128279,"chain"],"f0c1","M579.8 267.7c56.5-56.5 56.5-148 0-204.5c-50-50-128.8-56.5-186.3-15.4l-1.6 1.1c-14.4 10.3-17.7 30.3-7.4 44.6s30.3 17.7 44.6 7.4l1.6-1.1c32.1-22.9 76-19.3 103.8 8.6c31.5 31.5 31.5 82.5 0 114L422.3 334.8c-31.5 31.5-82.5 31.5-114 0c-27.9-27.9-31.5-71.8-8.6-103.8l1.1-1.6c10.3-14.4 6.9-34.4-7.4-44.6s-34.4-6.9-44.6 7.4l-1.1 1.6C206.5 251.2 213 330 263 380c56.5 56.5 148 56.5 204.5 0L579.8 267.7zM60.2 244.3c-56.5 56.5-56.5 148 0 204.5c50 50 128.8 56.5 186.3 15.4l1.6-1.1c14.4-10.3 17.7-30.3 7.4-44.6s-30.3-17.7-44.6-7.4l-1.6 1.1c-32.1 22.9-76 19.3-103.8-8.6C74 372 74 321 105.5 289.5L217.7 177.2c31.5-31.5 82.5-31.5 114 0c27.9 27.9 31.5 71.8 8.6 103.9l-1.1 1.6c-10.3 14.4-6.9 34.4 7.4 44.6s34.4 6.9 44.6-7.4l1.1-1.6C433.5 260.8 427 182 377 132c-56.5-56.5-148-56.5-204.5 0L60.2 244.3z"]},e.mw},809:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"list",icon:[512,512,["list-squares"],"f03a","M40 48C26.7 48 16 58.7 16 72v48c0 13.3 10.7 24 24 24H88c13.3 0 24-10.7 24-24V72c0-13.3-10.7-24-24-24H40zM192 64c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zM16 232v48c0 13.3 10.7 24 24 24H88c13.3 0 24-10.7 24-24V232c0-13.3-10.7-24-24-24H40c-13.3 0-24 10.7-24 24zM40 368c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24H88c13.3 0 24-10.7 24-24V392c0-13.3-10.7-24-24-24H40z"]},e.mw},8265:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"list-check",icon:[512,512,["tasks"],"f0ae","M152.1 38.2c9.9 8.9 10.7 24 1.8 33.9l-72 80c-4.4 4.9-10.6 7.8-17.2 7.9s-12.9-2.4-17.6-7L7 113C-2.3 103.6-2.3 88.4 7 79s24.6-9.4 33.9 0l22.1 22.1 55.1-61.2c8.9-9.9 24-10.7 33.9-1.8zm0 160c9.9 8.9 10.7 24 1.8 33.9l-72 80c-4.4 4.9-10.6 7.8-17.2 7.9s-12.9-2.4-17.6-7L7 273c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l22.1 22.1 55.1-61.2c8.9-9.9 24-10.7 33.9-1.8zM224 96c0-17.7 14.3-32 32-32H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H256c-17.7 0-32-14.3-32-32zm0 160c0-17.7 14.3-32 32-32H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H256c-17.7 0-32-14.3-32-32zM160 416c0-17.7 14.3-32 32-32H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H192c-17.7 0-32-14.3-32-32zM48 368a48 48 0 1 1 0 96 48 48 0 1 1 0-96z"]},e.mw},8014:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"list-ol",icon:[512,512,["list-1-2","list-numeric"],"f0cb","M24 56c0-13.3 10.7-24 24-24H80c13.3 0 24 10.7 24 24V176h16c13.3 0 24 10.7 24 24s-10.7 24-24 24H40c-13.3 0-24-10.7-24-24s10.7-24 24-24H56V80H48C34.7 80 24 69.3 24 56zM86.7 341.2c-6.5-7.4-18.3-6.9-24 1.2L51.5 357.9c-7.7 10.8-22.7 13.3-33.5 5.6s-13.3-22.7-5.6-33.5l11.1-15.6c23.7-33.2 72.3-35.6 99.2-4.9c21.3 24.4 20.8 60.9-1.1 84.7L86.8 432H120c13.3 0 24 10.7 24 24s-10.7 24-24 24H32c-9.5 0-18.2-5.6-22-14.4s-2.1-18.9 4.3-25.9l72-78c5.3-5.8 5.4-14.6 .3-20.5zM224 64H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H224c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 160H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H224c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 160H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H224c-17.7 0-32-14.3-32-32s14.3-32 32-32z"]},e.mw},7261:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"list-tree",icon:[512,512,[],"e1d2","M24 48C10.7 48 0 58.7 0 72v48c0 13.3 10.7 24 24 24V256 384c0 30.9 25.1 56 56 56h48c0 13.3 10.7 24 24 24h48c13.3 0 24-10.7 24-24V392c0-13.3-10.7-24-24-24H152c-13.3 0-24 10.7-24 24H80c-4.4 0-8-3.6-8-8V280h56c0 13.3 10.7 24 24 24h48c13.3 0 24-10.7 24-24V232c0-13.3-10.7-24-24-24H152c-13.3 0-24 10.7-24 24H72V144c13.3 0 24-10.7 24-24V72c0-13.3-10.7-24-24-24H24zM160 96c0 17.7 14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192c-17.7 0-32 14.3-32 32zM288 256c0 17.7 14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H320c-17.7 0-32 14.3-32 32zm0 160c0 17.7 14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H320c-17.7 0-32 14.3-32 32z"]},e.mw},2698:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"magnifying-glass",icon:[512,512,[128269,"search"],"f002","M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"]},e.mw},4729:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"minus",icon:[448,512,[8211,8722,10134,"subtract"],"f068","M432 256c0 17.7-14.3 32-32 32L48 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l352 0c17.7 0 32 14.3 32 32z"]},e.mw},2583:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"object-group",icon:[576,512,[],"f247","M32 119.4C12.9 108.4 0 87.7 0 64C0 28.7 28.7 0 64 0c23.7 0 44.4 12.9 55.4 32H456.6C467.6 12.9 488.3 0 512 0c35.3 0 64 28.7 64 64c0 23.7-12.9 44.4-32 55.4V392.6c19.1 11.1 32 31.7 32 55.4c0 35.3-28.7 64-64 64c-23.7 0-44.4-12.9-55.4-32H119.4c-11.1 19.1-31.7 32-55.4 32c-35.3 0-64-28.7-64-64c0-23.7 12.9-44.4 32-55.4V119.4zM456.6 96H119.4c-5.6 9.7-13.7 17.8-23.4 23.4V392.6c9.7 5.6 17.8 13.7 23.4 23.4H456.6c5.6-9.7 13.7-17.8 23.4-23.4V119.4c-9.7-5.6-17.8-13.7-23.4-23.4zM128 160c0-17.7 14.3-32 32-32H288c17.7 0 32 14.3 32 32v96c0 17.7-14.3 32-32 32H160c-17.7 0-32-14.3-32-32V160zM256 320h32c35.3 0 64-28.7 64-64V224h64c17.7 0 32 14.3 32 32v96c0 17.7-14.3 32-32 32H288c-17.7 0-32-14.3-32-32V320z"]},e.mw},8783:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"object-union",icon:[512,512,[],"e49f","M64 0C28.7 0 0 28.7 0 64V288c0 35.3 28.7 64 64 64h96v96c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V224c0-35.3-28.7-64-64-64H352V64c0-35.3-28.7-64-64-64H64z"]},e.mw},1072:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"paintbrush-pencil",icon:[576,512,[],"e206","M559.6 95.6c21.9-21.9 21.9-57.3 0-79.2s-57.3-21.9-79.2 0L227.7 269.1l79.2 79.2L559.6 95.6zM205 291.8c-9.3-2.5-19-3.8-29-3.8c-61.9 0-112 50.1-112 112c0 3.9 .2 7.8 .6 11.6C66.4 429.1 54.4 448 36.8 448H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H176c61.9 0 112-50.1 112-112c0-10-1.3-19.8-3.8-29l.1-.1-79.2-79.2-.1 .1zm93.4-138.7L164.7 19.3c-25-25-65.5-25-90.5 0L50.7 42.7c-25 25-25 65.5 0 90.5L173.5 256c.8 0 1.7 0 2.5 0c6.2 0 12.4 .4 18.4 1.2L298.5 153.1zM320 402.5l64.6 64.6c6.7 6.7 15.1 11.6 24.2 14.2l104 29.7c8.4 2.4 17.4 .1 23.6-6.1s8.5-15.2 6.1-23.6l-29.7-104c-2.6-9.2-7.5-17.5-14.2-24.2l-75.6-75.6L318.8 381.6c.8 6 1.2 12.2 1.2 18.4c0 .8 0 1.7 0 2.5z"]},e.mw},9646:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"palette",icon:[512,512,[127912],"f53f","M512 256c0 .9 0 1.8 0 2.7c-.4 36.5-33.6 61.3-70.1 61.3H344c-26.5 0-48 21.5-48 48c0 3.4 .4 6.7 1 9.9c2.1 10.2 6.5 20 10.8 29.9c6.1 13.8 12.1 27.5 12.1 42c0 31.8-21.6 60.7-53.4 62c-3.5 .1-7 .2-10.6 .2C114.6 512 0 397.4 0 256S114.6 0 256 0S512 114.6 512 256zM128 288a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm0-96a32 32 0 1 0 0-64 32 32 0 1 0 0 64zM288 96a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm96 96a32 32 0 1 0 0-64 32 32 0 1 0 0 64z"]},e.mw},3838:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"pen",icon:[512,512,[128394],"f304","M362.7 19.3L314.3 67.7 444.3 197.7l48.4-48.4c25-25 25-65.5 0-90.5L453.3 19.3c-25-25-65.5-25-90.5 0zm-71 71L58.6 323.5c-10.4 10.4-18 23.3-22.2 37.4L1 481.2C-1.5 489.7 .8 498.8 7 505s15.3 8.5 23.7 6.1l120.3-35.4c14.1-4.2 27-11.8 37.4-22.2L421.7 220.3 291.7 90.3z"]},e.mw},1953:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32V224H48c-17.7 0-32 14.3-32 32s14.3 32 32 32H192V432c0 17.7 14.3 32 32 32s32-14.3 32-32V288H400c17.7 0 32-14.3 32-32s-14.3-32-32-32H256V80z"]},e.mw},3071:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"puzzle-piece",icon:[512,512,[129513],"f12e","M192 104.8c0-9.2-5.8-17.3-13.2-22.8C167.2 73.3 160 61.3 160 48c0-26.5 28.7-48 64-48s64 21.5 64 48c0 13.3-7.2 25.3-18.8 34c-7.4 5.5-13.2 13.6-13.2 22.8v0c0 12.8 10.4 23.2 23.2 23.2H336c26.5 0 48 21.5 48 48v56.8c0 12.8 10.4 23.2 23.2 23.2v0c9.2 0 17.3-5.8 22.8-13.2c8.7-11.6 20.7-18.8 34-18.8c26.5 0 48 28.7 48 64s-21.5 64-48 64c-13.3 0-25.3-7.2-34-18.8c-5.5-7.4-13.6-13.2-22.8-13.2v0c-12.8 0-23.2 10.4-23.2 23.2V464c0 26.5-21.5 48-48 48H279.2c-12.8 0-23.2-10.4-23.2-23.2v0c0-9.2 5.8-17.3 13.2-22.8c11.6-8.7 18.8-20.7 18.8-34c0-26.5-28.7-48-64-48s-64 21.5-64 48c0 13.3 7.2 25.3 18.8 34c7.4 5.5 13.2 13.6 13.2 22.8v0c0 12.8-10.4 23.2-23.2 23.2H48c-26.5 0-48-21.5-48-48V343.2C0 330.4 10.4 320 23.2 320v0c9.2 0 17.3 5.8 22.8 13.2C54.7 344.8 66.7 352 80 352c26.5 0 48-28.7 48-64s-21.5-64-48-64c-13.3 0-25.3 7.2-34 18.8C40.5 250.2 32.4 256 23.2 256v0C10.4 256 0 245.6 0 232.8V176c0-26.5 21.5-48 48-48H168.8c12.8 0 23.2-10.4 23.2-23.2v0z"]},e.mw},8955:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"quote-right",icon:[448,512,[8221,"quote-right-alt"],"f10e","M448 296c0 66.3-53.7 120-120 120h-8c-17.7 0-32-14.3-32-32s14.3-32 32-32h8c30.9 0 56-25.1 56-56v-8H320c-35.3 0-64-28.7-64-64V160c0-35.3 28.7-64 64-64h64c35.3 0 64 28.7 64 64v32 32 72zm-256 0c0 66.3-53.7 120-120 120H64c-17.7 0-32-14.3-32-32s14.3-32 32-32h8c30.9 0 56-25.1 56-56v-8H64c-35.3 0-64-28.7-64-64V160c0-35.3 28.7-64 64-64h64c35.3 0 64 28.7 64 64v32 32 72z"]},e.mw},7362:(t,e,i)=>{"use strict";var o=i(6728);e.mw={prefix:o.prefix,iconName:o.iconName,icon:[o.width,o.height,o.aliases,o.unicode,o.svgPathData]},e.mw,o.prefix,o.iconName,o.width,o.height,o.aliases,o.unicode,o.svgPathData,o.aliases},791:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"right",icon:[448,512,[11157,"arrow-alt-right"],"f356","M438.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-9.2 9.2-22.9 11.9-34.9 6.9s-19.8-16.6-19.8-29.6l0-96L40 320c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40l184 0 0-96c0-12.9 7.8-24.6 19.8-29.6s25.7-2.2 34.9 6.9l160 160z"]},e.mw},7699:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"rotate-left",icon:[512,512,["rotate-back","rotate-backward","undo-alt"],"f2ea","M48.5 224H40c-13.3 0-24-10.7-24-24V72c0-9.7 5.8-18.5 14.8-22.2s19.3-1.7 26.2 5.2L98.6 96.6c87.6-86.5 228.7-86.2 315.8 1c87.5 87.5 87.5 229.3 0 316.8s-229.3 87.5-316.8 0c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0c62.5 62.5 163.8 62.5 226.3 0s62.5-163.8 0-226.3c-62.2-62.2-162.7-62.5-225.3-1L185 183c6.9 6.9 8.9 17.2 5.2 26.2s-12.5 14.8-22.2 14.8H48.5z"]},e.mw},3322:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"rotate-right",icon:[512,512,["redo-alt","rotate-forward"],"f2f9","M463.5 224H472c13.3 0 24-10.7 24-24V72c0-9.7-5.8-18.5-14.8-22.2s-19.3-1.7-26.2 5.2L413.4 96.6c-87.6-86.5-228.7-86.2-315.8 1c-87.5 87.5-87.5 229.3 0 316.8s229.3 87.5 316.8 0c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0c-62.5 62.5-163.8 62.5-226.3 0s-62.5-163.8 0-226.3c62.2-62.2 162.7-62.5 225.3-1L327 183c-6.9 6.9-8.9 17.2-5.2 26.2s12.5 14.8 22.2 14.8H463.5z"]},e.mw},6780:(t,e,i)=>{"use strict";var o=i(1202);e.mw={prefix:o.prefix,iconName:o.iconName,icon:[o.width,o.height,o.aliases,o.unicode,o.svgPathData]},e.mw,o.prefix,o.iconName,o.width,o.height,o.aliases,o.unicode,o.svgPathData,o.aliases},5143:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"signal-bars",icon:[640,512,["signal-alt","signal-alt-4","signal-bars-strong"],"f690","M560 0c-26.5 0-48 21.5-48 48V464c0 26.5 21.5 48 48 48s48-21.5 48-48V48c0-26.5-21.5-48-48-48zM352 176V464c0 26.5 21.5 48 48 48s48-21.5 48-48V176c0-26.5-21.5-48-48-48s-48 21.5-48 48zM240 256c-26.5 0-48 21.5-48 48V464c0 26.5 21.5 48 48 48s48-21.5 48-48V304c0-26.5-21.5-48-48-48zM80 384c-26.5 0-48 21.5-48 48v32c0 26.5 21.5 48 48 48s48-21.5 48-48V432c0-26.5-21.5-48-48-48z"]},e.mw},2561:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"signal-bars-fair",icon:[640,512,["signal-alt-2"],"f692","M240 256c-26.5 0-48 21.5-48 48V464c0 26.5 21.5 48 48 48s48-21.5 48-48V304c0-26.5-21.5-48-48-48zM80 384c-26.5 0-48 21.5-48 48v32c0 26.5 21.5 48 48 48s48-21.5 48-48V432c0-26.5-21.5-48-48-48z"]},e.mw},5726:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"signal-bars-good",icon:[640,512,["signal-alt-3"],"f693","M400 128c-26.5 0-48 21.5-48 48V464c0 26.5 21.5 48 48 48s48-21.5 48-48V176c0-26.5-21.5-48-48-48zM192 304V464c0 26.5 21.5 48 48 48s48-21.5 48-48V304c0-26.5-21.5-48-48-48s-48 21.5-48 48zM32 432v32c0 26.5 21.5 48 48 48s48-21.5 48-48V432c0-26.5-21.5-48-48-48s-48 21.5-48 48z"]},e.mw},2415:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"signal-bars-weak",icon:[640,512,["signal-alt-1"],"f691","M32 432c0-26.5 21.5-48 48-48s48 21.5 48 48v32c0 26.5-21.5 48-48 48s-48-21.5-48-48V432z"]},e.mw},8752:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"spinner",icon:[512,512,[],"f110","M304 48a48 48 0 1 0 -96 0 48 48 0 1 0 96 0zm0 416a48 48 0 1 0 -96 0 48 48 0 1 0 96 0zM48 304a48 48 0 1 0 0-96 48 48 0 1 0 0 96zm464-48a48 48 0 1 0 -96 0 48 48 0 1 0 96 0zM142.9 437A48 48 0 1 0 75 369.1 48 48 0 1 0 142.9 437zm0-294.2A48 48 0 1 0 75 75a48 48 0 1 0 67.9 67.9zM369.1 437A48 48 0 1 0 437 369.1 48 48 0 1 0 369.1 437z"]},e.mw},1386:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"square",icon:[448,512,[9632,9723,9724,61590],"f0c8","M0 96C0 60.7 28.7 32 64 32H384c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96z"]},e.mw},1239:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"square-1",icon:[448,512,[],"e256","M0 96C0 60.7 28.7 32 64 32H384c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96zm236 35.2c-7.4-4.3-16.5-4.3-24-.1l-56 32c-11.5 6.6-15.5 21.2-8.9 32.7s21.2 15.5 32.7 8.9L200 193.4V336H160c-13.3 0-24 10.7-24 24s10.7 24 24 24h64 64c13.3 0 24-10.7 24-24s-10.7-24-24-24H248V152c0-8.6-4.6-16.5-12-20.8z"]},e.mw},4218:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"square-2",icon:[448,512,[],"e257","M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zM190.7 184.7l-24.2 18.4c-10.5 8-25.6 6-33.6-4.5s-6-25.6 4.5-33.6l24.2-18.4c15.8-12 35.2-18.4 55.1-18.1l3.4 .1c46.5 .7 83.8 38.6 83.8 85.1c0 23.5-9.7 46-26.9 62.1L212.7 336H296c13.3 0 24 10.7 24 24s-10.7 24-24 24H152c-9.8 0-18.7-6-22.3-15.2s-1.3-19.6 5.9-26.3L244.3 240.6c7.5-7 11.7-16.8 11.7-27.1c0-20.3-16.3-36.8-36.6-37.1l-3.4-.1c-9.1-.1-18 2.8-25.3 8.3z"]},e.mw},8377:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"square-3",icon:[448,512,[],"e258","M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm88 96H280c9.9 0 18.8 6.1 22.4 15.3s1.1 19.7-6.2 26.4l-50.8 46.5c41.9 4.8 74.6 40.4 74.6 83.6c0 46.5-37.7 84.2-84.2 84.2H208c-30.1 0-58.1-15.6-73.9-41.2l-2.6-4.2c-7-11.3-3.5-26.1 7.8-33s26.1-3.5 33 7.8l2.6 4.2c7.1 11.5 19.6 18.4 33 18.4h27.8c20 0 36.2-16.2 36.2-36.2c0-20.1-16.3-36.3-36.4-36.2l-51.5 .3c-9.9 .1-18.9-6-22.5-15.2s-1.2-19.8 6.1-26.5L218.3 176H152c-13.3 0-24-10.7-24-24s10.7-24 24-24z"]},e.mw},3740:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"square-4",icon:[448,512,[],"e259","M0 96C0 60.7 28.7 32 64 32H384c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96zm191.6 33.2c-12.6-4.2-26.2 2.6-30.4 15.2l-48 144c-2.4 7.3-1.2 15.4 3.3 21.6s11.8 10 19.5 10H240v40c0 13.3 10.7 24 24 24s24-10.7 24-24V320h8c13.3 0 24-10.7 24-24s-10.7-24-24-24h-8V216c0-13.3-10.7-24-24-24s-24 10.7-24 24v56H169.3l37.5-112.4c4.2-12.6-2.6-26.2-15.2-30.4z"]},e.mw},5379:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"square-5",icon:[448,512,[],"e25a","M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm112 96H280c13.3 0 24 10.7 24 24s-10.7 24-24 24H196l-7.8 43 61.4 6.9c40.1 4.5 70.4 38.4 70.4 78.8c0 43.8-35.5 79.3-79.3 79.3h-36c-27.5 0-53.3-13.7-68.6-36.6l-4.1-6.1c-7.4-11-4.5-25.9 6.5-33.3s25.9-4.5 33.3 6.5l4.1 6.1c6.4 9.6 17.2 15.3 28.8 15.3h36c17.3 0 31.3-14 31.3-31.3c0-15.9-12-29.3-27.8-31.1l-86.9-9.8c-6.6-.7-12.6-4.2-16.6-9.5s-5.5-12.1-4.4-18.6l16-88c2.1-11.4 12-19.7 23.6-19.7z"]},e.mw},9974:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"square-6",icon:[448,512,[],"e25b","M0 96C0 60.7 28.7 32 64 32H384c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96zM224 240a48 48 0 1 1 0 96 48 48 0 1 1 0-96zm-96 48c0 53 43 96 96 96s96-43 96-96c0-44-29.6-81.1-70-92.4l29.6-25.4c10.1-8.6 11.2-23.8 2.6-33.8s-23.8-11.2-33.8-2.6l-81.6 70C142.2 224.8 128 255.6 128 288z"]},e.mw},3368:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"square-check",icon:[448,512,[9745,9989,61510,"check-square"],"f14a","M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zM337 209L209 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L303 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]},e.mw},6288:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"square-minus",icon:[448,512,[61767,"minus-square"],"f146","M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm88 200H296c13.3 0 24 10.7 24 24s-10.7 24-24 24H152c-13.3 0-24-10.7-24-24s10.7-24 24-24z"]},e.mw},5293:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"square-o",icon:[448,512,[],"e278","M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm80 224a80 80 0 1 0 160 0 80 80 0 1 0 -160 0zm80 128a128 128 0 1 1 0-256 128 128 0 1 1 0 256z"]},e.mw},7513:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"square-xmark",icon:[448,512,[10062,"times-square","xmark-square"],"f2d3","M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm79 143c9.4-9.4 24.6-9.4 33.9 0l47 47 47-47c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-47 47 47 47c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-47-47-47 47c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l47-47-47-47c-9.4-9.4-9.4-24.6 0-33.9z"]},e.mw},4373:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"star",icon:[576,512,[11088,61446],"f005","M316.9 18C311.6 7 300.4 0 288.1 0s-23.4 7-28.8 18L195 150.3 51.4 171.5c-12 1.8-22 10.2-25.7 21.7s-.7 24.2 7.9 32.7L137.8 329 113.2 474.7c-2 12 3 24.2 12.9 31.3s23 8 33.8 2.3l128.3-68.5 128.3 68.5c10.8 5.7 23.9 4.9 33.8-2.3s14.9-19.3 12.9-31.3L438.5 329 542.7 225.9c8.6-8.5 11.7-21.2 7.9-32.7s-13.7-19.9-25.7-21.7L381.2 150.3 316.9 18z"]},e.mw},436:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"star-half-stroke",icon:[640,512,["star-half-alt"],"f5c0","M320 376.4l.1-.1 26.4 14.1 85.2 45.5-16.5-97.6-4.8-28.7 20.7-20.5 70.1-69.3-96.1-14.2-29.3-4.3-12.9-26.6L320.1 86.9l-.1 .3V376.4zm175.1 98.3c2 12-3 24.2-12.9 31.3s-23 8-33.8 2.3L320.1 439.8 191.8 508.3C181 514 167.9 513.1 158 506s-14.9-19.3-12.9-31.3L169.8 329 65.6 225.9c-8.6-8.5-11.7-21.2-7.9-32.7s13.7-19.9 25.7-21.7L227 150.3 291.4 18c5.4-11 16.5-18 28.8-18s23.4 7 28.8 18l64.3 132.3 143.6 21.2c12 1.8 22 10.2 25.7 21.7s.7 24.2-7.9 32.7L470.5 329l24.6 145.7z"]},e.mw},2034:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"strikethrough",icon:[512,512,[],"f0cc","M161.3 144c3.2-17.2 14-30.1 33.7-38.6c21.1-9 51.8-12.3 88.6-6.5c11.9 1.9 48.8 9.1 60.1 12c17.1 4.5 34.6-5.6 39.2-22.7s-5.6-34.6-22.7-39.2c-14.3-3.8-53.6-11.4-66.6-13.4c-44.7-7-88.3-4.2-123.7 10.9c-36.5 15.6-64.4 44.8-71.8 87.3c-.1 .6-.2 1.1-.2 1.7c-2.8 23.9 .5 45.6 10.1 64.6c4.5 9 10.2 16.9 16.7 23.9H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H270.1c-.1 0-.3-.1-.4-.1l-1.1-.3c-36-10.8-65.2-19.6-85.2-33.1c-9.3-6.3-15-12.6-18.2-19.1c-3.1-6.1-5.2-14.6-3.8-27.4zM348.9 337.2c2.7 6.5 4.4 15.8 1.9 30.1c-3 17.6-13.8 30.8-33.9 39.4c-21.1 9-51.7 12.3-88.5 6.5c-18-2.9-49.1-13.5-74.4-22.1c-5.6-1.9-11-3.7-15.9-5.4c-16.8-5.6-34.9 3.5-40.5 20.3s3.5 34.9 20.3 40.5c3.6 1.2 7.9 2.7 12.7 4.3l0 0 0 0c24.9 8.5 63.6 21.7 87.6 25.6l0 0 .2 0c44.7 7 88.3 4.2 123.7-10.9c36.5-15.6 64.4-44.8 71.8-87.3c3.6-21 2.7-40.4-3.1-58.1H335.1c7 5.6 11.4 11.2 13.9 17.2z"]},e.mw},8033:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"table",icon:[512,512,[],"f0ce","M64 256V160H224v96H64zm0 64H224v96H64V320zm224 96V320H448v96H288zM448 256H288V160H448v96zM64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64z"]},e.mw},8644:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"table-cells",icon:[512,512,["th"],"f00a","M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm88 64v64H64V96h88zm56 0h88v64H208V96zm240 0v64H360V96h88zM64 224h88v64H64V224zm232 0v64H208V224h88zm64 0h88v64H360V224zM152 352v64H64V352h88zm56 0h88v64H208V352zm240 0v64H360V352h88z"]},e.mw},7998:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"table-columns",icon:[512,512,["columns"],"f0db","M0 96C0 60.7 28.7 32 64 32H448c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96zm64 64V416H224V160H64zm384 0H288V416H448V160z"]},e.mw},2864:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"table-rows",icon:[512,512,["rows"],"e292","M0 96C0 60.7 28.7 32 64 32H448c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96zm128 0V224H448V96H128zM448 288H128V416H448V288z"]},e.mw},1802:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"text",icon:[448,512,[],"f893","M64 96v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V80C0 53.5 21.5 32 48 32H224 400c26.5 0 48 21.5 48 48v48c0 17.7-14.3 32-32 32s-32-14.3-32-32V96H256l0 320h48c17.7 0 32 14.3 32 32s-14.3 32-32 32H144c-17.7 0-32-14.3-32-32s14.3-32 32-32h48l0-320H64z"]},e.mw},5360:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"text-width",icon:[448,512,[],"f035","M64 128V96H192l0 128H176c-17.7 0-32 14.3-32 32s14.3 32 32 32h96c17.7 0 32-14.3 32-32s-14.3-32-32-32H256l0-128H384v32c0 17.7 14.3 32 32 32s32-14.3 32-32V80c0-26.5-21.5-48-48-48H224 48C21.5 32 0 53.5 0 80v48c0 17.7 14.3 32 32 32s32-14.3 32-32zM9.4 361.4c-12.5 12.5-12.5 32.8 0 45.3l64 64c9.2 9.2 22.9 11.9 34.9 6.9s19.8-16.6 19.8-29.6V416H320v32c0 12.9 7.8 24.6 19.8 29.6s25.7 2.2 34.9-6.9l64-64c12.5-12.5 12.5-32.8 0-45.3l-64-64c-9.2-9.2-22.9-11.9-34.9-6.9s-19.8 16.6-19.8 29.6v32H128V320c0-12.9-7.8-24.6-19.8-29.6s-25.7-2.2-34.9 6.9l-64 64z"]},e.mw},4935:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"trash",icon:[448,512,[],"f1f8","M135.2 17.7L128 32H32C14.3 32 0 46.3 0 64S14.3 96 32 96H416c17.7 0 32-14.3 32-32s-14.3-32-32-32H320l-7.2-14.3C307.4 6.8 296.3 0 284.2 0H163.8c-12.1 0-23.2 6.8-28.6 17.7zM416 128H32L53.2 467c1.6 25.3 22.6 45 47.9 45H346.9c25.3 0 46.3-19.7 47.9-45L416 128z"]},e.mw},6433:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"tree",icon:[448,512,[127794],"f1bb","M210.6 5.9L62 169.4c-3.9 4.2-6 9.8-6 15.5C56 197.7 66.3 208 79.1 208H104L30.6 281.4c-4.2 4.2-6.6 10-6.6 16C24 309.9 34.1 320 46.6 320H80L5.4 409.5C1.9 413.7 0 419 0 424.5c0 13 10.5 23.5 23.5 23.5H192v32c0 17.7 14.3 32 32 32s32-14.3 32-32V448H424.5c13 0 23.5-10.5 23.5-23.5c0-5.5-1.9-10.8-5.4-15L368 320h33.4c12.5 0 22.6-10.1 22.6-22.6c0-6-2.4-11.8-6.6-16L344 208h24.9c12.7 0 23.1-10.3 23.1-23.1c0-5.7-2.1-11.3-6-15.5L237.4 5.9C234 2.1 229.1 0 224 0s-10 2.1-13.4 5.9z"]},e.mw},6981:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"triangle",icon:[512,512,[9650],"f2ec","M290.5 51.8C283.3 39.5 270.2 32 256 32s-27.3 7.5-34.5 19.8l-216 368c-7.3 12.4-7.3 27.7-.2 40.1S25.7 480 40 480H472c14.3 0 27.6-7.7 34.7-20.1s7-27.8-.2-40.1l-216-368z"]},e.mw},1025:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"underline",icon:[448,512,[],"f0cd","M16 64c0-17.7 14.3-32 32-32h96c17.7 0 32 14.3 32 32s-14.3 32-32 32H128V224c0 53 43 96 96 96s96-43 96-96V96H304c-17.7 0-32-14.3-32-32s14.3-32 32-32h96c17.7 0 32 14.3 32 32s-14.3 32-32 32H384V224c0 88.4-71.6 160-160 160s-160-71.6-160-160V96H48C30.3 96 16 81.7 16 64zM0 448c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32z"]},e.mw},196:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"up",icon:[384,512,["arrow-alt-up"],"f357","M169.4 41.4c12.5-12.5 32.8-12.5 45.3 0l160 160c9.2 9.2 11.9 22.9 6.9 34.9s-16.6 19.8-29.6 19.8H256V440c0 22.1-17.9 40-40 40H168c-22.1 0-40-17.9-40-40V256H32c-12.9 0-24.6-7.8-29.6-19.8s-2.2-25.7 6.9-34.9l160-160z"]},e.mw},1808:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"up-right",icon:[384,512,[],"e2be","M336 80H96c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l72 72L11.3 340.7C4.1 347.9 0 357.8 0 368s4.1 20.1 11.3 27.3l41.4 41.4C59.9 443.9 69.8 448 80 448s20.1-4.1 27.3-11.3L241.4 302.6l72 72c9.2 9.2 22.9 11.9 34.9 6.9s19.8-16.6 19.8-29.6V112c0-17.7-14.3-32-32-32z"]},e.mw},7700:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"upload",icon:[512,512,[],"f093","M288 109.3V352c0 17.7-14.3 32-32 32s-32-14.3-32-32V109.3l-73.4 73.4c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l128-128c12.5-12.5 32.8-12.5 45.3 0l128 128c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L288 109.3zM64 352H192c0 35.3 28.7 64 64 64s64-28.7 64-64H448c35.3 0 64 28.7 64 64v32c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V416c0-35.3 28.7-64 64-64zM432 456a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"]},e.mw},8540:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"]},e.mw},6565:(t,e,i)=>{"use strict";var o=i(2180);t.exports=function(t,e,i,n){var r,s,a;if(t<=0)return 0;if(1===t||0===n)return e+i[0];if(r=n<0?(1-t)*n:0,t<8){for(s=0,a=0;a<t;a++)s+=e+i[r],r+=n;return s}return o(t,e,i,n,r)}},5271:(t,e,i)=>{"use strict";var o=i(5714);t.exports=o},5714:(t,e,i)=>{"use strict";var o=i(6448),n=i(6565);o(n,"ndarray",i(2180)),t.exports=n},2180:(t,e,i)=>{"use strict";var o=i(2287);t.exports=function t(e,i,n,r,s){var a,l,c,h,d,u,p,g,m,f,v,b,y;if(e<=0)return 0;if(1===e||0===r)return i+n[s];if(a=s,e<8){for(v=0,y=0;y<e;y++)v+=i+n[a],a+=r;return v}if(e<=128){for(l=i+n[a],c=i+n[a+r],h=i+n[a+2*r],d=i+n[a+3*r],u=i+n[a+4*r],p=i+n[a+5*r],g=i+n[a+6*r],m=i+n[a+7*r],a+=8*r,f=e%8,y=8;y<e-f;y+=8)l+=i+n[a],c+=i+n[a+r],h+=i+n[a+2*r],d+=i+n[a+3*r],u+=i+n[a+4*r],p+=i+n[a+5*r],g+=i+n[a+6*r],m+=i+n[a+7*r],a+=8*r;for(v=l+c+(h+d)+(u+p+(g+m));y<e;y++)v+=i+n[a],a+=r;return v}return b=o(e/2),t(b-=b%8,i,n,r,a)+t(e-b,i,n,r,a+b*r)}},9341:(t,e,i)=>{"use strict";var o=i(3465);t.exports=function(t,e,i){var n,r,s;if(t<=0)return 0;if(1===t||0===i)return e[0];if(n=i<0?(1-t)*i:0,t<8){for(r=0,s=0;s<t;s++)r+=e[n],n+=i;return r}return o(t,e,i,n)}},1094:(t,e,i)=>{"use strict";var o=i(2905);t.exports=o},2905:(t,e,i)=>{"use strict";var o=i(6448),n=i(9341);o(n,"ndarray",i(3465)),t.exports=n},3465:(t,e,i)=>{"use strict";var o=i(2287);t.exports=function t(e,i,n,r){var s,a,l,c,h,d,u,p,g,m,f,v,b;if(e<=0)return 0;if(1===e||0===n)return i[r];if(s=r,e<8){for(f=0,b=0;b<e;b++)f+=i[s],s+=n;return f}if(e<=128){for(a=i[s],l=i[s+n],c=i[s+2*n],h=i[s+3*n],d=i[s+4*n],u=i[s+5*n],p=i[s+6*n],g=i[s+7*n],s+=8*n,m=e%8,b=8;b<e-m;b+=8)a+=i[s],l+=i[s+n],c+=i[s+2*n],h+=i[s+3*n],d+=i[s+4*n],u+=i[s+5*n],p+=i[s+6*n],g+=i[s+7*n],s+=8*n;for(f=a+l+(c+h)+(d+u+(p+g));b<e;b++)f+=i[s],s+=n;return f}return v=o(e/2),t(v-=v%8,i,n,s)+t(e-v,i,n,s+v*n)}},2287:(t,e,i)=>{"use strict";var o=i(2154);t.exports=o},2154:t=>{"use strict";var e=Math.floor;t.exports=e},235:(t,e,i)=>{"use strict";var o=i(9830);t.exports=o},9830:(t,e,i)=>{"use strict";var o=i(6448),n=i(1114);o(n,"ndarray",i(6432)),t.exports=n},1114:(t,e,i)=>{"use strict";var o=i(6985);t.exports=function(t,e,i){return o(t,e,i)}},6432:(t,e,i)=>{"use strict";var o=i(6985).ndarray;t.exports=function(t,e,i,n){return o(t,e,i,n)}},6985:(t,e,i)=>{"use strict";var o=i(184);t.exports=o},184:(t,e,i)=>{"use strict";var o=i(6448),n=i(4186);o(n,"ndarray",i(2510)),t.exports=n},4186:(t,e,i)=>{"use strict";var o=i(1094),n=i(5271);t.exports=function(t,e,i){var r;return t<=0?NaN:1===t||0===i?e[0]:(r=o(t,e,i)/t)+n(t,-r,e,i)/t}},2510:(t,e,i)=>{"use strict";var o=i(1094).ndarray,n=i(5271).ndarray;t.exports=function(t,e,i,r){var s;return t<=0?NaN:1===t||0===i?e[r]:(s=o(t,e,i,r)/t)+n(t,-s,e,i,r)/t}},5949:(t,e,i)=>{"use strict";var o=i(780);t.exports=o},780:t=>{"use strict";t.exports=function(){var t,e,i;return t=0,i=0,function(o,n){return 0===arguments.length?void 0===e?null:i:(e=!0,i+=n/(t+=n)*(o-i))}}},6448:(t,e,i)=>{"use strict";var o=i(487);t.exports=o},487:(t,e,i)=>{"use strict";var o=i(5580);t.exports=function(t,e,i){o(t,e,{configurable:!1,enumerable:!1,writable:!1,value:i})}},6859:t=>{"use strict";var e=Object.defineProperty;t.exports=e},7581:t=>{"use strict";var e="function"==typeof Object.defineProperty?Object.defineProperty:null;t.exports=e},894:(t,e,i)=>{"use strict";var o=i(7581);t.exports=function(){try{return o({},"x",{}),!0}catch(t){return!1}}},5580:(t,e,i)=>{"use strict";var o,n=i(894),r=i(6859),s=i(3509);o=n()?r:s,t.exports=o},3509:t=>{"use strict";var e=Object.prototype,i=e.toString,o=e.__defineGetter__,n=e.__defineSetter__,r=e.__lookupGetter__,s=e.__lookupSetter__;t.exports=function(t,a,l){var c,h,d,u;if("object"!=typeof t||null===t||"[object Array]"===i.call(t))throw new TypeError("invalid argument. First argument must be an object. Value: `"+t+"`.");if("object"!=typeof l||null===l||"[object Array]"===i.call(l))throw new TypeError("invalid argument. Property descriptor must be an object. Value: `"+l+"`.");if((h="value"in l)&&(r.call(t,a)||s.call(t,a)?(c=t.__proto__,t.__proto__=e,delete t[a],t[a]=l.value,t.__proto__=c):t[a]=l.value),d="get"in l,u="set"in l,h&&(d||u))throw new Error("invalid argument. Cannot specify one or more accessors and a value or writable attribute in the property descriptor.");return d&&o&&o.call(t,a,l.get),u&&n&&n.call(t,a,l.set),t}}},e={};function i(o){var n=e[o];if(void 0!==n)return n.exports;var r=e[o]={exports:{}};return t[o](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var o in e)i.o(e,o)&&!i.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var o={};(()=>{"use strict";i.r(o),i.d(o,{bucket:()=>w,calendar:()=>O,code:()=>k,commands:()=>y,core:()=>v,dialog:()=>C,editor:()=>D,form:()=>$,grid:()=>A,localize:()=>r,markdown:()=>N,package:()=>ST,plugins:()=>_T,statusbar:()=>P,tabs:()=>b,toolbar:()=>j,tree:()=>x});var t={};i.r(t),i.d(t,{bind:()=>mt,clone:()=>rt,cloneDeep:()=>nt,escapeRegExp:()=>ut,ifNull:()=>it,intersect:()=>pt,isBool:()=>q,isCharLetter:()=>et,isControlCharacter:()=>dt,isFunction:()=>X,isNumber:()=>tt,isNumericString:()=>K,isObject:()=>Z,isString:()=>Q,mergeDeep:()=>ot,minmax:()=>at,minmax2d:()=>lt,rectIntersect:()=>gt,removeAccents:()=>ct,strToNum:()=>J,trim:()=>st});var e={};i.r(e),i.d(e,{appendElement:()=>wt,appendScript:()=>At,appendStyle:()=>Tt,createElement:()=>yt,createName:()=>ft,debounceOn:()=>It,empty:()=>St,findParent:()=>zt,fixElementPosition:()=>Ft,fixElementSize:()=>Wt,fixPosition:()=>Xt,getElementOffset:()=>Ht,hideCell:()=>_t,hideElement:()=>kt,isHidden:()=>Ct,measureText:()=>Jt,numToPixels:()=>Ot,on:()=>Rt,px:()=>$t,query:()=>te,register:()=>vt,remove:()=>Et,setBorderWidth:()=>Zt,setCenterPosition:()=>qt,setClasses:()=>Lt,setInset:()=>Vt,setLineHeight:()=>Bt,setMargin:()=>Gt,setMaxSize:()=>Nt,setMinSize:()=>Pt,setPadding:()=>Yt,setPosition:()=>jt,setSize:()=>Dt,setStyle:()=>bt,setZIndex:()=>Ut,showCell:()=>Mt,showElement:()=>xt,zoomElement:()=>Qt});var n={};i.r(n),i.d(n,{escapeHTML:()=>oe,highlightText:()=>ne});var r={};i.r(r),i.d(r,{LocaleChangeEvent:()=>ho,createTranslateFunction:()=>wo,getISOCode:()=>Mo,getLocale:()=>vo,getRegionISOCode:()=>_o,getSystemLocale:()=>uo,hasLocale:()=>bo,msg:()=>xo,registerLocale:()=>fo,setLocale:()=>yo});var s={};i.r(s),i.d(s,{createDateFormatter:()=>No,dateToSerialDate:()=>Wo,detectDefaultFormat:()=>Ao,detectFormat:()=>Ho,getDateFormatter:()=>$o,getDateLocale:()=>Do,getFiscalISOWeek:()=>Fo,getFiscalQuarter:()=>jo,getFiscalYear:()=>Po,getFiscalYearBounds:()=>Bo,parse:()=>Oo,registerDateLocale:()=>Ro,serialDateToDate:()=>Uo,stripTime:()=>Vo,workday:()=>Go});var a={};i.r(a),i.d(a,{createNumberFormatter:()=>tn,fixNumberFormat:()=>rn,getLocalDecimalSeparator:()=>sn,getNumberFormatter:()=>Jo,isExtendedNumberFormat:()=>Yo,isNumberFormat:()=>Qo,mod:()=>qo,romanize:()=>Xo,stringFormatToNumberFormat:()=>on});var l={};i.r(l),i.d(l,{CsvReader:()=>ln,DEFAULT_CSV_DESCRIPTION:()=>an,arrayToCsv:()=>cn,csvToArray:()=>hn});var c={};i.r(c),i.d(c,{LogLevel:()=>dn,Logger:()=>un,getLogger:()=>gn});var h={};i.r(h),i.d(h,{FilterState:()=>mn,TreeNodeMixin:()=>vn,buildLevelBasedTree:()=>bn,buildParentBasedTree:()=>yn,buildTree:()=>wn});var d={};i.r(d),i.d(d,{alpha:()=>Cn,contrastColor:()=>Sn,css:()=>zn,darken:()=>kn,getComplmentaryColor:()=>Mn,lighten:()=>xn,mix:()=>_n,plainHex:()=>En});var u={};i.r(u),i.d(u,{ActionEvent:()=>Rn,dispatchActionEvent:()=>In});var p={};i.r(p),i.d(p,{clone:()=>An,reverseColumns:()=>Ln,reverseRows:()=>Hn,transpose:()=>Tn});var g={};i.r(g),i.d(g,{AddEvent:()=>$n,ChangeEvent:()=>On,SerialzieEvent:()=>Dn});var m={};i.r(m),i.d(m,{PAPER_SIZES:()=>Nn});var f={};i.r(f),i.d(f,{detect:()=>Pn});var v={};i.r(v),i.d(v,{AMD:()=>Yn,Accordion:()=>Ks,Alert:()=>oa,AlertEvent:()=>ia,BaseElement:()=>ra,Button:()=>Ma,Checkbox:()=>qh,ColorPicker:()=>Md,ColorPickerEvent:()=>xd,ColorTypes:()=>Js,ComponentAdapter:()=>cd,ComponentEvent:()=>na,ComponentSlice:()=>gd,ComponentStore:()=>pd,Container:()=>bd,Dropdown:()=>Hd,DropdownColorPicker:()=>Ad,DropdownContainer:()=>Ld,DropdownEvent:()=>Id,DropdownList:()=>Ud,DropdownMenu:()=>Fd,ExpandEvent:()=>Zd,Expander:()=>Qd,FileInput:()=>au,Icon:()=>eu,Input:()=>nu,LevelExpandEvent:()=>Xd,LevelExpander:()=>Kd,LinkedList:()=>Xn,LinkedListNode:()=>Zn,List:()=>fu,ListPointerEvent:()=>mu,ListSelectEvent:()=>gu,ListSelectTrigger:()=>uu,ListSortEvent:()=>Ru,Loader:()=>ju,Menu:()=>Pd,MenuEvent:()=>Nd,NumericInput:()=>hu,OmegaComponent:()=>ud,Overlay:()=>wu,Panel:()=>Cu,Plugin:()=>md,Plugins:()=>fd,ResizeEvent:()=>_u,ScriptLoader:()=>qn,Sizer:()=>Su,SlideEvent:()=>ad,Slider:()=>ld,SliderDirection:()=>od,SortableList:()=>Iu,SplitContainer:()=>Ms,SplitContainerEvent:()=>ks,SplitContainerResizeEvent:()=>Cs,Switch:()=>Ou,SwitchEvent:()=>Au,ThemeChangeEvent:()=>va,ThemeManager:()=>ba,Tooltip:()=>Nu,actions:()=>u,addThemeVariables:()=>pa,colorable:()=>ma,colors:()=>d,constants:()=>G,createThemeVariables:()=>da,createThemeVariablesCss:()=>ua,csv:()=>l,dates:()=>s,detectThemeType:()=>ha,device:()=>f,dom:()=>e,events:()=>g,getDefaultOptions:()=>Bn,getThemeManager:()=>wa,html:()=>n,images:()=>Gd,initCommonOptions:()=>Fn,initOptions:()=>Fn,log:()=>c,matrix:()=>p,numbers:()=>a,paper:()=>m,setDefaultOptions:()=>Vn,themeable:()=>ga,tree:()=>h,utils:()=>t});var b={};i.r(b),i.d(b,{TabContainer:()=>Xp,TabEvent:()=>Fp,TabSplitContainer:()=>Jp,TabSplitContainerModel:()=>Np,Tabs:()=>Up});var y={};i.r(y),i.d(y,{Command:()=>eg,CommandEvent:()=>hg,CommandSection:()=>tg,CommandWindow:()=>dg,Commands:()=>ig,CommandsAdapter:()=>og,initOptions:()=>rg});var w={};i.r(w),i.d(w,{AlertEvent:()=>zg,Bucket:()=>_g,BucketAlert:()=>Rg,BucketButton:()=>Pg,BucketEvent:()=>Mg,BucketPath:()=>qg,BucketPathEvent:()=>Yg,BucketTop:()=>Dg,ComponentHost:()=>Vg,ModalSidebar:()=>Wg,Sidebar:()=>Lg,Sidemenu:()=>Ag,commonMenus:()=>gg});var x={};i.r(x),i.d(x,{DateTreeAdapter:()=>Sf,ItemPropertyType:()=>Lm,LevelSelectEvent:()=>Jm,NodeModel:()=>zm,NodeSelectionStatus:()=>Hm,SelectMode:()=>Im,Tree:()=>Ym,TreeAdapter:()=>qm,TreeDropEvent:()=>Gm,TreeDropdown:()=>Qm,TreeEvent:()=>Wm,TreeMenu:()=>rf,TreeModel:()=>Rm,TreePointerEvent:()=>Um,TreeSearchEvent:()=>of,TreeSelectionModel:()=>Am,normalizeSerializedValues:()=>Tm});var k={};i.r(k),i.d(k,{Code:()=>dm,CodeBlock:()=>Of,CodeDiffEditor:()=>Em,CodeEvent:()=>Xg,CodeView:()=>Nf,MonacoLoader:()=>Zg,loader:()=>Zg});var C={};i.r(C),i.d(C,{Dialog:()=>Wf,DialogEvent:()=>Ff});var M={};i.r(M),i.d(M,{SHEET_NAME_REGEX:()=>Xf,isSheetNameValid:()=>Qf,sanitizeSheetName:()=>Kf});var _={};i.r(_),i.d(_,{concat:()=>Pv,left:()=>$v,mid:()=>Nv,right:()=>Dv,text:()=>Ov});var S={};i.r(S),i.d(S,{date:()=>Yv,datevalue:()=>Bv,day:()=>Xv,eomonth:()=>Qv,isBlank:()=>Gv,isoweeknum:()=>Kv,month:()=>Zv,today:()=>Uv,weekday:()=>Fv,workday:()=>Wv,year:()=>qv});var E={};i.r(E),i.d(E,{PI:()=>gb,abs:()=>xb,acos:()=>Jv,acosh:()=>tb,acot:()=>eb,acoth:()=>ib,asin:()=>ob,asinh:()=>nb,atan:()=>rb,atanh:()=>sb,ceiling:()=>kb,cos:()=>ab,cosh:()=>lb,cot:()=>cb,coth:()=>hb,count:()=>Xb,countblank:()=>Qb,countif:()=>Kb,countunique:()=>Jb,csc:()=>db,csch:()=>ub,degrees:()=>pb,even:()=>Cb,exp:()=>Mb,fact:()=>_b,factdouble:()=>Sb,floor:()=>Eb,isdecimal:()=>zb,iseven:()=>Rb,isodd:()=>Ib,ln:()=>Lb,log:()=>Hb,log10:()=>Tb,mod:()=>Ab,odd:()=>Ob,power:()=>$b,product:()=>Db,quotient:()=>Nb,radians:()=>Pb,rand:()=>jb,randarray:()=>Vb,randbetween:()=>Bb,round:()=>Fb,rounddown:()=>Wb,roundup:()=>Ub,sec:()=>mb,sech:()=>fb,sequence:()=>Gb,sign:()=>Yb,sin:()=>vb,sinh:()=>bb,sqrt:()=>qb,sqrtpi:()=>Zb,sum:()=>ty,sumif:()=>ey,sumproduct:()=>oy,sumsq:()=>iy,tan:()=>yb,tanh:()=>wb});var z={};i.r(z),i.d(z,{address:()=>ry,choose:()=>cy,column:()=>hy,columns:()=>uy,filter:()=>yy,formulatext:()=>gy,hlookup:()=>ay,index:()=>my,indirect:()=>fy,lookup:()=>ly,match:()=>vy,offset:()=>by,row:()=>dy,rows:()=>py,vlookup:()=>sy});var R={};i.r(R),i.d(R,{erfc:()=>ky});var I={};i.r(I),i.d(I,{_false:()=>Ry,_if:()=>Ey,_switch:()=>Sy,_true:()=>Iy,and:()=>Cy,iferror:()=>Ly,not:()=>zy,or:()=>My,xor:()=>_y});var L={};i.r(L),i.d(L,{avedev:()=>Ny,average:()=>$y,average_weighted:()=>Dy,max:()=>jy,min:()=>Py});var H={};i.r(H),i.d(H,{_map:()=>By,date:()=>S,logical:()=>I,lookup:()=>z,math:()=>E,special:()=>R,statistical:()=>L,text:()=>_});var T={};i.r(T),i.d(T,{BaseRenderer:()=>Bk,CheckboxRenderer:()=>Wk,DateTimeRenderer:()=>Uk,DropdownRenderer:()=>Gk,GeneralRenderer:()=>Zk,NumberRenderer:()=>Yk,TextRenderer:()=>qk,applyStyle:()=>Vk,cellTypeRendererMap:()=>Xk,getCellRenderer:()=>Qk});var A={};i.r(A),i.d(A,{CalculationContext:()=>Fy,CalculationModel:()=>Cw,CellModel:()=>cw,CellRange:()=>fv,ColumnModel:()=>dw,Comment:()=>jk,CommentEvent:()=>Pk,CommentItem:()=>vw,CommentModel:()=>bw,ConditionalFormats:()=>Iw,Dependencies:()=>ww,ElementCache:()=>fx,ElementModel:()=>Zy,FilterEvent:()=>$w,FilterLabel:()=>bx,FilterModel:()=>Dw,Formula:()=>Av,FormulaInput:()=>kx,FormulaInputEvent:()=>xx,Grid:()=>kk,GridAdapter:()=>Kk,GridColumnResizeEvent:()=>Ax,GridEditEvent:()=>Hx,GridEditing:()=>Jx,GridEvent:()=>Lx,GridEvents:()=>$x,GridFiltering:()=>ck,GridGroup:()=>zk,GridGroupEvent:()=>Ek,GridModel:()=>dx,GridRendering:()=>Dx,GridResizeEvent:()=>Tx,GridRowResizeEvent:()=>Ox,GridSelecting:()=>Nx,GridSorting:()=>mk,GridTooltip:()=>$k,GroupModel:()=>ux,History:()=>px,IterableAddressRange:()=>jw,IterableAxisRange:()=>Vw,IterableRange:()=>Pw,MergeCellState:()=>lx,Merges:()=>cx,NamingModel:()=>Bw,ObjectEvent:()=>uk,ObjectHost:()=>pk,RowModel:()=>Ww,SelectionModel:()=>gx,Selector:()=>Tk,SelectorEvent:()=>Lk,SelectorMoveEvent:()=>Hk,SortOrder:()=>uw,SortingArrow:()=>Sx,SortingModel:()=>fw,Sparkline:()=>Ok,Sparklines:()=>Nw,Table:()=>Rx,TableEvent:()=>zx,TokenType:()=>av,Tokenizer:()=>pv,addGradient:()=>nw,addPattern:()=>ow,alignmentToString:()=>Kw,applyCellTheme:()=>nx,applyColumnTheme:()=>rx,applyRowTheme:()=>sx,applyTheme:()=>ax,autofill:()=>Gy,borderCSSStyleMap:()=>Ky,borderStyleCSSMap:()=>Qy,borderToString:()=>Qw,convertCSSBorder:()=>ew,convertCSSColor:()=>tw,convertCSSVerticalAlignment:()=>Jy,convertToCSSBorder:()=>iw,createBoolMatcher:()=>Hw,createCellMatcher:()=>Ow,createGroupCommands:()=>bk,createMultiMatcher:()=>Tw,createMultiMultiMatcher:()=>Aw,createTextMatcher:()=>Lw,cssStyleFromString:()=>Xy,cssStyleToStyle:()=>sw,decodeColumn:()=>wv,decodeRow:()=>bv,encodeColumn:()=>yv,encodeRow:()=>vv,extrapolateFormulas:()=>Uy,extrapolateValues:()=>Wy,functions:()=>H,gridConstants:()=>Zf,hashStyle:()=>Jw,iconSets:()=>zw,initGridCommands:()=>wk,initOptions:()=>Fw,isArythmeticOperator:()=>ov,isBool:()=>hv,isFormula:()=>zv,isLetter:()=>dv,isLogicalOperator:()=>iv,isNumber:()=>cv,isOperand:()=>lv,isOperator:()=>nv,matrixOperation:()=>sv,normalizeCellValidation:()=>Yy,operatorMap:()=>ev,prefixFormula:()=>Rv,renderers:()=>T,scalarOperation:()=>rv,sortRanges:()=>xv,stripFormulaPrefix:()=>Iv,styleToCSStyle:()=>rw,utils:()=>M,validateValue:()=>qy});var O={};i.r(O),i.d(O,{Calendar:()=>_C,CalendarDropdown:()=>HC});var $={};i.r($),i.d($,{CalendarDateInput:()=>lM,Form:()=>GC,FormAdapter:()=>YC,FormButton:()=>vM,FormCheckbox:()=>uM,FormColorInput:()=>rM,FormContainer:()=>JC,FormControlModel:()=>jC,FormControlType:()=>PC,FormDateInput:()=>aM,FormEvent:()=>UC,FormFileInput:()=>dM,FormLabel:()=>pM,FormList:()=>mM,FormModel:()=>VC,FormNumericInput:()=>hM,FormTextInput:()=>oM});var D={};i.r(D),i.d(D,{ConfigForm:()=>xM,Editor:()=>EM,EditorEvent:()=>SM,EditorFormula:()=>HM,EditorStatusbar:()=>NM,EditorToolbar:()=>GM,EditorZoom:()=>RM,GridStats:()=>AM,HeaderForm:()=>qM,HyperlinkEditor:()=>A_,NamesForm:()=>KM,RuleEditor:()=>R_,RuleForm:()=>e_,RuleList:()=>s_,RuleThreshold:()=>h_,SparklineForm:()=>b_,StyleEditor:()=>H_,StyleForm:()=>p_,ThemeEditor:()=>M_,ThemeEditorSidebar:()=>k_,ThemeItemEditor:()=>E_});var N={};i.r(N),i.d(N,{BlockEditMenu:()=>gE,EditorFeature:()=>vE,HtmlBlock:()=>DS,HtmlBlockComponent:()=>$S,LinkEdit:()=>nE,MarkdownEditor:()=>X_,MarkdownLinkEvent:()=>Z_,MarkdownView:()=>Q_,configureFeatures:()=>mE,createEditor:()=>B_,createHtmlBlockConfig:()=>PS,createHtmlBlockView:()=>jS,defaultCodeEditorConfig:()=>NS,getFeatures:()=>yE,loader:()=>V_,markdownToHtml:()=>F_});var P={};i.r(P),i.d(P,{Statusbar:()=>CE});var j={};i.r(j),i.d(j,{Toolbar:()=>LE,ToolbarButton:()=>TE,ToolbarColorPicker:()=>YE,ToolbarCustomDropdown:()=>DE,ToolbarDropdown:()=>OE,ToolbarDropdownButton:()=>PE,ToolbarDropdownMenu:()=>VE,ToolbarGrid:()=>FE,ToolbarText:()=>UE});var V={};i.r(V),i.d(V,{SheetjsLoader:()=>qE,XlsxEditorPlugin:()=>zz,convertMargins:()=>mz,convertStyle:()=>sz,createModel:()=>_z,createModelFromArrayBuffer:()=>Ez,createModelFromWorkbook:()=>Sz,createWorkbook:()=>vz,createWorksheet:()=>fz,detectOutlineColumnDirection:()=>uz,detectOutlineRowDirection:()=>dz,exportXLSX:()=>bz,getWorkbookNames:()=>Mz,getWorksheetCells:()=>lz,getWorksheetColumns:()=>tz,getWorksheetConditionalFormats:()=>hz,getWorksheetHeaderCells:()=>oz,getWorksheetMerges:()=>iz,getWorksheetRows:()=>ez,loader:()=>qE});var B={};i.r(B),i.d(B,{Chart:()=>Nz,ChartEditorPlugin:()=>Lz,ChartGridPlugin:()=>Iz,ChartList:()=>Bz,ChartModel:()=>Rz,HighchartsLoader:()=>Hz,RuleForm:()=>Uz,createChartOptions:()=>Az,loader:()=>Hz,renderChart:()=>Oz});var F=i(6272),W=i.n(F);const U="#00955d",G={PREFIX:"og",DEFAULT_ACCENT_COLOR:U,DEFAULT_ACCENT_COLOR_2:W()(U).darken(.6),SIZER_SIZE:5,SLIDER_SIZE:12,SLIDER_MIN_LENGTH:30,EXPANDER_SIZE:13,LIST_ITEM_HEIGHT:22,LIST_RENDERING_TRESHOLD:30,LIST_AUTOSCROLL_TRESHOLD:30,LIST_AUTOSCROLL_DELAY:100,DEFAULT_TEXT_HIGHLIGHT_COLOR:"var(--og-text-highlight-color)",TOOLTIP_MARGIN:8,MENU_ITEM_HEIGHT:25,COLORPICKER_COLOR_SIZE:16,DEFAULT_NUMBER_FORMAT:"#,0.#####",FONT_SIZE:12};function Y(t,e,i){var o,n,r;void 0===e&&(e=50),void 0===i&&(i={});var s=null!=(o=i.isImmediate)&&o,a=null!=(n=i.callback)&&n,l=i.maxWait,c=Date.now(),h=[];function d(){if(void 0!==l){var t=Date.now()-c;if(t+e>=l)return l-t}return e}var u=function(){var e=[].slice.call(arguments),i=this;return new Promise((function(o,n){var l=s&&void 0===r;if(void 0!==r&&clearTimeout(r),r=setTimeout((function(){if(r=void 0,c=Date.now(),!s){var o=t.apply(i,e);a&&a(o),h.forEach((function(t){return(0,t.resolve)(o)})),h=[]}}),d()),l){var u=t.apply(i,e);return a&&a(u),o(u)}h.push({resolve:o,reject:n})}))};return u.cancel=function(t){void 0!==r&&clearTimeout(r),h.forEach((function(e){return(0,e.reject)(t)})),h=[]},u}function q(t){return"boolean"==typeof t}function Z(t){return t&&"object"==typeof t&&!Array.isArray(t)}function X(t){return t&&"function"==typeof t}function Q(t){return"string"==typeof t}function K(t){let e=0;for(let i=0;i<t.length;i++){const o=t.charAt(i);if("."===o||","===o){if(++e>1)return!1}else if(o<"0"||o>"9")return!1}return!0}function J(t){return parseFloat(t.replace?t.replace(",","."):t)}function tt(t){return"number"==typeof t}function et(t){return t.toLowerCase()!==t.toUpperCase()}function it(t,e){return null==t?e:t}function ot(...t){const e={};return t.forEach((t=>{for(const i in t)if(t.hasOwnProperty(i)){const o=t[i],n=e[i];Array.isArray(o)?e[i]=[...o]:e[i]="object"==typeof o&&null!==o?ot(n||{},o):o}})),e}function nt(t){return ot({},t)}function rt(t){return Object.assign({},t)}function st(t,e){return"]"===e&&(e="\\]"),"^"===e&&(e="\\^"),"\\"===e&&(e="\\\\"),t.replace(new RegExp("^["+e+"]+|["+e+"]+$","g"),"")}function at(t){let e=null,i=null;return t.forEach((t=>{isNaN(t)||null==t||(e=Math.min(null==e?Number.MAX_SAFE_INTEGER:e,t),i=Math.max(null==i?Number.MIN_SAFE_INTEGER:i,t))})),[e,i]}function lt(...t){let e=null,i=null;return t.forEach((t=>t.forEach((t=>t.forEach((t=>{isNaN(t)||null==t||(e=Math.min(null==e?Number.MAX_SAFE_INTEGER:e,t),i=Math.max(null==i?Number.MIN_SAFE_INTEGER:i,t))})))))),[e,i]}function ct(t){return t.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}const ht=["Shift","Escape","ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Enter"];function dt(t){return ht.includes(t)}function ut(t){return t.replace(/[.*+?^${}()|[\]\\]/gi,"\\$&")}function pt(t,e){return t.filter((t=>e.includes(t)))}function gt(t,e){return t.x>=e.x+e.w||e.x>=t.x+t.w||t.y>=e.y+e.h||e.y>=t.y+t.h?null:{x:Math.max(t.x,e.x),y:Math.max(t.y,e.y),w:Math.min(t.x+t.w,e.x+e.w)-Math.max(t.x,e.x),h:Math.min(t.y+t.h,e.y+e.h)-Math.max(t.y,e.y)}}function mt(t,e,i){return function(...o){const n=e.apply(t,o);return"function"==typeof i&&i(n,...o),n}}function ft(t,e=G.PREFIX){return`${e}-${t}`}function vt(t,e,i=null,o=G.PREFIX){customElements.define(`${o}-${t}`,e,i?{extends:i}:void 0)}function bt(t,e){for(const i in e)t.style[i]=e[i];return t}function yt(t,e){const i=document.createElement(t);if(e)for(const t in e)"style"===t?"object"==typeof e[t]&&bt(i,e[t]):i[t]=e[t];return i}function wt(t,e){return t.appendChild(e),t}function xt(t,e=""){return t&&(t.style.display=t.dataset.display||e||"block"),t}function kt(t){return t&&(t.dataset.display="none"==t.style.display?"":t.style.display,t.style.display="none"),t}function Ct(t){return"none"==t.style.display}function Mt(t){t.style.display="table-cell"}function _t(t){t.style.display="none"}function St(t){return t.innerHTML="",t}function Et(t){t.parentNode?.removeChild(t)}function zt(t,e){const i="string"==typeof e?t=>t.matches(e):e;for(;t.parentNode;)if((t=t.parentNode)instanceof ShadowRoot&&t.host&&(t=t.host),t instanceof HTMLElement&&i(t))return t;return null}function Rt(t,e,i,o,n){return t.addEventListener(e,(t=>{for(const e of t.composedPath())if(e.matches&&e.matches(i))return void o(t,e);n&&n(t,null)})),t}function It(t,e,i,o,n){const r=Y(((t,e)=>((t,e)=>{for(const n of e)if(n.matches&&n.matches(i))return void o(t,n);n?.noMatchCallback&&n.noMatchCallback(t,null)})(t,e)),n.wait,n);return t.addEventListener(e,(t=>r(t,t.composedPath()))),t}function Lt(t,e){return t.className=e?e.reduce(((t,e,i)=>t+(e?(0==i?"":" ")+e:"")),""):"",t}function Ht(t,e){let i=0,o=0;for(;t&&!isNaN(t.offsetLeft)&&!isNaN(t.offsetTop)&&(!e||e!==t);)i+=t.offsetLeft-t.scrollLeft,o+=t.offsetTop-t.scrollTop,t=t.offsetParent;return{top:o,left:i}}function Tt(t,e,i=null){if(e){let o=i?t.querySelector("#"+i):null;o||(o=yt("style"),i&&(o.id=i)),o.innerHTML=e,o.parentElement||t.appendChild(o)}return t}function At(t,e,i=null){if(!e)return t;let o=i?t.querySelector("#"+i):null;return o||(o=yt("script"),i&&(o.id=i)),o.textContent=e,o.parentElement||t.appendChild(o),t}function Ot(t){return isNaN(t)?"0":t.toString()+"px"}const $t=Ot;function Dt(t,e,i=!1){if(t)return null!=e.w&&(t.style[i?"minWidth":"width"]=Q(e.w)?e.w:Ot(e.w)),null!=e.h&&(t.style[i?"minHeight":"height"]=Q(e.h)?e.h:Ot(e.h)),t}function Nt(t,e){return null!=e.w&&(t.style.maxWidth=Q(e.w)?e.w:Ot(e.w)),null!=e.h&&(t.style.maxHeight=Q(e.h)?e.h:Ot(e.h)),t}function Pt(t,e){return null!=e.w&&(t.style.minWidth=Q(e.w)?e.w:Ot(e.w)),null!=e.h&&(t.style.minHeight=Q(e.h)?e.h:Ot(e.h)),t}function jt(t,e){t.style.position="absolute",null!=e.r&&(t.style.right=Ot(e.r)),null!=e.b&&(t.style.bottom=Ot(e.b)),null!=e.l&&(t.style.left=Ot(e.l)),null!=e.t&&(t.style.top=Ot(e.t))}function Vt(t,e){t.style.position="absolute",t.style.inset=Ot(e)}function Bt(t,e){t.style.lineHeight=Ot(e)}function Ft(t,e=null){const i=Ht(t,e=e||t.parentElement),o=Xt({x:i.left,y:i.top,w:t.offsetWidth,h:t.offsetHeight},e);jt(t,{l:o.x,t:o.y})}function Wt(t,e=null){((e=e||t.parentElement).offsetWidth<t.offsetWidth||e.offsetHeight<t.offsetHeight)&&Dt(t,{w:Math.min(e.offsetWidth,t.offsetWidth),h:Math.min(e.offsetHeight,t.offsetHeight)})}function Ut(t,e){t.style.zIndex=e.toString()}function Gt(t,e){void 0!==e.r&&(t.style.marginRight=Ot(e.r)),void 0!==e.l&&(t.style.marginLeft=Ot(e.l)),void 0!==e.t&&(t.style.marginTop=Ot(e.t)),void 0!==e.b&&(t.style.marginBottom=Ot(e.b))}function Yt(t,e){void 0!==e.r&&(t.style.paddingRight=Ot(e.r)),void 0!==e.l&&(t.style.paddingLeft=Ot(e.l)),void 0!==e.t&&(t.style.paddingTop=Ot(e.t)),void 0!==e.b&&(t.style.paddingBottom=Ot(e.b))}function qt(t,e,i={vertical:!0,horizontal:!0}){t.style.position="absolute",i.vertical&&(t.style.top=Ot(Math.round(e.clientHeight/2-t.offsetHeight/2))),i.horizontal&&(t.style.left=Ot(Math.round(e.clientWidth/2-t.offsetWidth/2)))}function Zt(t,e){null!=e.r&&(t.style.borderRightWidth=Ot(e.r)),null!=e.b&&(t.style.borderBottomWidth=Ot(e.b)),null!=e.l&&(t.style.borderLeftWidth=Ot(e.l)),null!=e.t&&(t.style.borderTopWidth=Ot(e.t))}function Xt(t,e){let i=Math.max(0,t.x),o=Math.max(0,t.y);return i+t.w>e.clientWidth&&(i=e.clientWidth-t.w),o+t.h>e.clientHeight&&(o=e.clientHeight-t.h),{x:i,y:o}}function Qt(t,e){t.style.transformOrigin="0% 0% 0px",t.style.transform=`scale(${e})`}let Kt;function Jt(t,e){Kt||(Kt=new Map);let i=Kt.get(e);return i||(i=document.createElement("canvas").getContext("2d"),i.font=e,Kt.set(e,i)),i.measureText(t)}function te(t,e=document){return e.querySelector(t)}const ee={"&":"&","<":"<",">":">"},ie=t=>ee[t]||t;function oe(t){return t.replace(/[&<>]/g,ie)}function ne(t,e,i=G.DEFAULT_TEXT_HIGHLIGHT_COLOR){const o=[];let n=0,r=0;for(const s of e)n=s[0],r<n&&o.push(oe(t.substring(r,n))),r=s[1],o.push(`<span style="color:${i}">${oe(t.substring(n,r))}</span>`);return r<t.length&&o.push(oe(t.substring(r))),o.join("")}function re(t){const e=Object.prototype.toString.call(t);return t instanceof Date||"object"==typeof t&&"[object Date]"===e?new t.constructor(+t):"number"==typeof t||"[object Number]"===e||"string"==typeof t||"[object String]"===e?new Date(t):new Date(NaN)}function se(t){const e=re(t);return e.setHours(0,0,0,0),e}function ae(t,e){return t instanceof Date?new t.constructor(e):new Date(e)}let le={};function ce(){return le}const he={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function de(t){return(e={})=>{const i=e.width?String(e.width):t.defaultWidth;return t.formats[i]||t.formats[t.defaultWidth]}}const ue={date:de({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:de({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:de({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},pe={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function ge(t){return(e,i)=>{let o;if("formatting"===(i?.context?String(i.context):"standalone")&&t.formattingValues){const e=t.defaultFormattingWidth||t.defaultWidth,n=i?.width?String(i.width):e;o=t.formattingValues[n]||t.formattingValues[e]}else{const e=t.defaultWidth,n=i?.width?String(i.width):t.defaultWidth;o=t.values[n]||t.values[e]}return o[t.argumentCallback?t.argumentCallback(e):e]}}const me={ordinalNumber:(t,e)=>{const i=Number(t),o=i%100;if(o>20||o<10)switch(o%10){case 1:return i+"st";case 2:return i+"nd";case 3:return i+"rd"}return i+"th"},era:ge({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:ge({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:t=>t-1}),month:ge({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:ge({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:ge({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};function fe(t){return(e,i={})=>{const o=i.width,n=o&&t.matchPatterns[o]||t.matchPatterns[t.defaultMatchWidth],r=e.match(n);if(!r)return null;const s=r[0],a=o&&t.parsePatterns[o]||t.parsePatterns[t.defaultParseWidth],l=Array.isArray(a)?function(t,e){for(let e=0;e<t.length;e++)if(t[e].test(s))return e}(a):function(t,e){for(const e in t)if(Object.prototype.hasOwnProperty.call(t,e)&&t[e].test(s))return e}(a);let c;return c=t.valueCallback?t.valueCallback(l):l,c=i.valueCallback?i.valueCallback(c):c,{value:c,rest:e.slice(s.length)}}}function ve(t){return(e,i={})=>{const o=e.match(t.matchPattern);if(!o)return null;const n=o[0],r=e.match(t.parsePattern);if(!r)return null;let s=t.valueCallback?t.valueCallback(r[0]):r[0];return s=i.valueCallback?i.valueCallback(s):s,{value:s,rest:e.slice(n.length)}}}const be={ordinalNumber:ve({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:t=>parseInt(t,10)}),era:fe({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:fe({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:t=>t+1}),month:fe({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:fe({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:fe({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},ye={code:"en-US",formatDistance:(t,e,i)=>{let o;const n=he[t];return o="string"==typeof n?n:1===e?n.one:n.other.replace("{{count}}",e.toString()),i?.addSuffix?i.comparison&&i.comparison>0?"in "+o:o+" ago":o},formatLong:ue,formatRelative:(t,e,i,o)=>pe[t],localize:me,match:be,options:{weekStartsOn:0,firstWeekContainsDate:1}},we=(t,e)=>{switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});default:return e.date({width:"full"})}},xe=(t,e)=>{switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});default:return e.time({width:"full"})}},ke={p:xe,P:(t,e)=>{const i=t.match(/(P+)(p+)?/)||[],o=i[1],n=i[2];if(!n)return we(t,e);let r;switch(o){case"P":r=e.dateTime({width:"short"});break;case"PP":r=e.dateTime({width:"medium"});break;case"PPP":r=e.dateTime({width:"long"});break;default:r=e.dateTime({width:"full"})}return r.replace("{{date}}",we(o,e)).replace("{{time}}",xe(n,e))}},Ce=/^D+$/,Me=/^Y+$/,_e=["D","DD","YY","YYYY"];function Se(t){return Ce.test(t)}function Ee(t){return Me.test(t)}function ze(t,e,i){const o=function(t,e,i){const o="Y"===t[0]?"years":"days of the month";return`Use \`${t.toLowerCase()}\` instead of \`${t}\` (in \`${e}\`) for formatting ${o} to the input \`${i}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(t,e,i);if(console.warn(o),_e.includes(t))throw new RangeError(o)}class Re{subPriority=0;validate(t,e){return!0}}class Ie extends Re{constructor(t,e,i,o,n){super(),this.value=t,this.validateValue=e,this.setValue=i,this.priority=o,n&&(this.subPriority=n)}validate(t,e){return this.validateValue(t,this.value,e)}set(t,e,i){return this.setValue(t,e,this.value,i)}}class Le extends Re{priority=10;subPriority=-1;set(t,e){return e.timestampIsSet?t:ae(t,function(t,e){const i=e instanceof Date?ae(e,0):new e(0);return i.setFullYear(t.getFullYear(),t.getMonth(),t.getDate()),i.setHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),i}(t,Date))}}class He{run(t,e,i,o){const n=this.parse(t,e,i,o);return n?{setter:new Ie(n.value,this.validate,this.set,this.priority,this.subPriority),rest:n.rest}:null}validate(t,e,i){return!0}}Math.pow(10,8);const Te=6048e5,Ae=864e5,Oe=/^(1[0-2]|0?\d)/,$e=/^(3[0-1]|[0-2]?\d)/,De=/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,Ne=/^(5[0-3]|[0-4]?\d)/,Pe=/^(2[0-3]|[0-1]?\d)/,je=/^(2[0-4]|[0-1]?\d)/,Ve=/^(1[0-1]|0?\d)/,Be=/^(1[0-2]|0?\d)/,Fe=/^[0-5]?\d/,We=/^[0-5]?\d/,Ue=/^\d/,Ge=/^\d{1,2}/,Ye=/^\d{1,3}/,qe=/^\d{1,4}/,Ze=/^-?\d+/,Xe=/^-?\d/,Qe=/^-?\d{1,2}/,Ke=/^-?\d{1,3}/,Je=/^-?\d{1,4}/,ti=/^([+-])(\d{2})(\d{2})?|Z/,ei=/^([+-])(\d{2})(\d{2})|Z/,ii=/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,oi=/^([+-])(\d{2}):(\d{2})|Z/,ni=/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/;function ri(t,e){return t?{value:e(t.value),rest:t.rest}:t}function si(t,e){const i=e.match(t);return i?{value:parseInt(i[0],10),rest:e.slice(i[0].length)}:null}function ai(t,e){const i=e.match(t);return i?"Z"===i[0]?{value:0,rest:e.slice(1)}:{value:("+"===i[1]?1:-1)*(36e5*(i[2]?parseInt(i[2],10):0)+6e4*(i[3]?parseInt(i[3],10):0)+1e3*(i[5]?parseInt(i[5],10):0)),rest:e.slice(i[0].length)}:null}function li(t){return si(Ze,t)}function ci(t,e){switch(t){case 1:return si(Ue,e);case 2:return si(Ge,e);case 3:return si(Ye,e);case 4:return si(qe,e);default:return si(new RegExp("^\\d{1,"+t+"}"),e)}}function hi(t,e){switch(t){case 1:return si(Xe,e);case 2:return si(Qe,e);case 3:return si(Ke,e);case 4:return si(Je,e);default:return si(new RegExp("^-?\\d{1,"+t+"}"),e)}}function di(t){switch(t){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function ui(t,e){const i=e>0,o=i?e:1-e;let n;if(o<=50)n=t||100;else{const e=o+50;n=t+100*Math.trunc(e/100)-(t>=e%100?100:0)}return i?n:1-n}function pi(t){return t%400==0||t%4==0&&t%100!=0}function gi(t,e){const i=ce(),o=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??i.weekStartsOn??i.locale?.options?.weekStartsOn??0,n=re(t),r=n.getDay(),s=(r<o?7:0)+r-o;return n.setDate(n.getDate()-s),n.setHours(0,0,0,0),n}function mi(t,e){const i=re(t),o=i.getFullYear(),n=ce(),r=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,s=ae(t,0);s.setFullYear(o+1,0,r),s.setHours(0,0,0,0);const a=gi(s,e),l=ae(t,0);l.setFullYear(o,0,r),l.setHours(0,0,0,0);const c=gi(l,e);return i.getTime()>=a.getTime()?o+1:i.getTime()>=c.getTime()?o:o-1}function fi(t){return gi(t,{weekStartsOn:1})}function vi(t,e){const i=re(t),o=+gi(i,e)-+function(t,e){const i=ce(),o=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,n=mi(t,e),r=ae(t,0);return r.setFullYear(n,0,o),r.setHours(0,0,0,0),gi(r,e)}(i,e);return Math.round(o/Te)+1}function bi(t){const e=re(t),i=e.getFullYear(),o=ae(t,0);o.setFullYear(i+1,0,4),o.setHours(0,0,0,0);const n=fi(o),r=ae(t,0);r.setFullYear(i,0,4),r.setHours(0,0,0,0);const s=fi(r);return e.getTime()>=n.getTime()?i+1:e.getTime()>=s.getTime()?i:i-1}function yi(t){const e=re(t),i=+fi(e)-+function(t){const e=bi(t),i=ae(t,0);return i.setFullYear(e,0,4),i.setHours(0,0,0,0),fi(i)}(e);return Math.round(i/Te)+1}const wi=[31,28,31,30,31,30,31,31,30,31,30,31],xi=[31,29,31,30,31,30,31,31,30,31,30,31];function ki(t,e){const i=re(t);return isNaN(e)?ae(t,NaN):e?(i.setDate(i.getDate()+e),i):i}function Ci(t,e,i){const o=ce(),n=i?.weekStartsOn??i?.locale?.options?.weekStartsOn??o.weekStartsOn??o.locale?.options?.weekStartsOn??0,r=re(t),s=r.getDay(),a=7-n;return ki(r,e<0||e>6?e-(s+a)%7:((e%7+7)%7+a)%7-(s+a)%7)}function Mi(t){let e=re(t).getDay();return 0===e&&(e=7),e}function _i(t){const e=re(t),i=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return i.setUTCFullYear(e.getFullYear()),+t-+i}const Si={G:new class extends He{priority=140;parse(t,e,i){switch(e){case"G":case"GG":case"GGG":return i.era(t,{width:"abbreviated"})||i.era(t,{width:"narrow"});case"GGGGG":return i.era(t,{width:"narrow"});default:return i.era(t,{width:"wide"})||i.era(t,{width:"abbreviated"})||i.era(t,{width:"narrow"})}}set(t,e,i){return e.era=i,t.setFullYear(i,0,1),t.setHours(0,0,0,0),t}incompatibleTokens=["R","u","t","T"]},y:new class extends He{priority=130;incompatibleTokens=["Y","R","u","w","I","i","e","c","t","T"];parse(t,e,i){const o=t=>({year:t,isTwoDigitYear:"yy"===e});switch(e){case"y":return ri(ci(4,t),o);case"yo":return ri(i.ordinalNumber(t,{unit:"year"}),o);default:return ri(ci(e.length,t),o)}}validate(t,e){return e.isTwoDigitYear||e.year>0}set(t,e,i){const o=t.getFullYear();if(i.isTwoDigitYear){const e=ui(i.year,o);return t.setFullYear(e,0,1),t.setHours(0,0,0,0),t}const n="era"in e&&1!==e.era?1-i.year:i.year;return t.setFullYear(n,0,1),t.setHours(0,0,0,0),t}},Y:new class extends He{priority=130;parse(t,e,i){const o=t=>({year:t,isTwoDigitYear:"YY"===e});switch(e){case"Y":return ri(ci(4,t),o);case"Yo":return ri(i.ordinalNumber(t,{unit:"year"}),o);default:return ri(ci(e.length,t),o)}}validate(t,e){return e.isTwoDigitYear||e.year>0}set(t,e,i,o){const n=mi(t,o);if(i.isTwoDigitYear){const e=ui(i.year,n);return t.setFullYear(e,0,o.firstWeekContainsDate),t.setHours(0,0,0,0),gi(t,o)}const r="era"in e&&1!==e.era?1-i.year:i.year;return t.setFullYear(r,0,o.firstWeekContainsDate),t.setHours(0,0,0,0),gi(t,o)}incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]},R:new class extends He{priority=130;parse(t,e){return hi("R"===e?4:e.length,t)}set(t,e,i){const o=ae(t,0);return o.setFullYear(i,0,4),o.setHours(0,0,0,0),fi(o)}incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]},u:new class extends He{priority=130;parse(t,e){return hi("u"===e?4:e.length,t)}set(t,e,i){return t.setFullYear(i,0,1),t.setHours(0,0,0,0),t}incompatibleTokens=["G","y","Y","R","w","I","i","e","c","t","T"]},Q:new class extends He{priority=120;parse(t,e,i){switch(e){case"Q":case"QQ":return ci(e.length,t);case"Qo":return i.ordinalNumber(t,{unit:"quarter"});case"QQQ":return i.quarter(t,{width:"abbreviated",context:"formatting"})||i.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return i.quarter(t,{width:"narrow",context:"formatting"});default:return i.quarter(t,{width:"wide",context:"formatting"})||i.quarter(t,{width:"abbreviated",context:"formatting"})||i.quarter(t,{width:"narrow",context:"formatting"})}}validate(t,e){return e>=1&&e<=4}set(t,e,i){return t.setMonth(3*(i-1),1),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]},q:new class extends He{priority=120;parse(t,e,i){switch(e){case"q":case"qq":return ci(e.length,t);case"qo":return i.ordinalNumber(t,{unit:"quarter"});case"qqq":return i.quarter(t,{width:"abbreviated",context:"standalone"})||i.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return i.quarter(t,{width:"narrow",context:"standalone"});default:return i.quarter(t,{width:"wide",context:"standalone"})||i.quarter(t,{width:"abbreviated",context:"standalone"})||i.quarter(t,{width:"narrow",context:"standalone"})}}validate(t,e){return e>=1&&e<=4}set(t,e,i){return t.setMonth(3*(i-1),1),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]},M:new class extends He{incompatibleTokens=["Y","R","q","Q","L","w","I","D","i","e","c","t","T"];priority=110;parse(t,e,i){const o=t=>t-1;switch(e){case"M":return ri(si(Oe,t),o);case"MM":return ri(ci(2,t),o);case"Mo":return ri(i.ordinalNumber(t,{unit:"month"}),o);case"MMM":return i.month(t,{width:"abbreviated",context:"formatting"})||i.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return i.month(t,{width:"narrow",context:"formatting"});default:return i.month(t,{width:"wide",context:"formatting"})||i.month(t,{width:"abbreviated",context:"formatting"})||i.month(t,{width:"narrow",context:"formatting"})}}validate(t,e){return e>=0&&e<=11}set(t,e,i){return t.setMonth(i,1),t.setHours(0,0,0,0),t}},L:new class extends He{priority=110;parse(t,e,i){const o=t=>t-1;switch(e){case"L":return ri(si(Oe,t),o);case"LL":return ri(ci(2,t),o);case"Lo":return ri(i.ordinalNumber(t,{unit:"month"}),o);case"LLL":return i.month(t,{width:"abbreviated",context:"standalone"})||i.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return i.month(t,{width:"narrow",context:"standalone"});default:return i.month(t,{width:"wide",context:"standalone"})||i.month(t,{width:"abbreviated",context:"standalone"})||i.month(t,{width:"narrow",context:"standalone"})}}validate(t,e){return e>=0&&e<=11}set(t,e,i){return t.setMonth(i,1),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]},w:new class extends He{priority=100;parse(t,e,i){switch(e){case"w":return si(Ne,t);case"wo":return i.ordinalNumber(t,{unit:"week"});default:return ci(e.length,t)}}validate(t,e){return e>=1&&e<=53}set(t,e,i,o){return gi(function(t,e,i){const o=re(t),n=vi(o,i)-e;return o.setDate(o.getDate()-7*n),o}(t,i,o),o)}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","i","t","T"]},I:new class extends He{priority=100;parse(t,e,i){switch(e){case"I":return si(Ne,t);case"Io":return i.ordinalNumber(t,{unit:"week"});default:return ci(e.length,t)}}validate(t,e){return e>=1&&e<=53}set(t,e,i){return fi(function(t,e){const i=re(t),o=yi(i)-e;return i.setDate(i.getDate()-7*o),i}(t,i))}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]},d:new class extends He{priority=90;subPriority=1;parse(t,e,i){switch(e){case"d":return si($e,t);case"do":return i.ordinalNumber(t,{unit:"date"});default:return ci(e.length,t)}}validate(t,e){const i=pi(t.getFullYear()),o=t.getMonth();return i?e>=1&&e<=xi[o]:e>=1&&e<=wi[o]}set(t,e,i){return t.setDate(i),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","Q","w","I","D","i","e","c","t","T"]},D:new class extends He{priority=90;subpriority=1;parse(t,e,i){switch(e){case"D":case"DD":return si(De,t);case"Do":return i.ordinalNumber(t,{unit:"date"});default:return ci(e.length,t)}}validate(t,e){return pi(t.getFullYear())?e>=1&&e<=366:e>=1&&e<=365}set(t,e,i){return t.setMonth(0,i),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]},E:new class extends He{priority=90;parse(t,e,i){switch(e){case"E":case"EE":case"EEE":return i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return i.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"});default:return i.day(t,{width:"wide",context:"formatting"})||i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"})}}validate(t,e){return e>=0&&e<=6}set(t,e,i,o){return(t=Ci(t,i,o)).setHours(0,0,0,0),t}incompatibleTokens=["D","i","e","c","t","T"]},e:new class extends He{priority=90;parse(t,e,i,o){const n=t=>{const e=7*Math.floor((t-1)/7);return(t+o.weekStartsOn+6)%7+e};switch(e){case"e":case"ee":return ri(ci(e.length,t),n);case"eo":return ri(i.ordinalNumber(t,{unit:"day"}),n);case"eee":return i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"});case"eeeee":return i.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"});default:return i.day(t,{width:"wide",context:"formatting"})||i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"})}}validate(t,e){return e>=0&&e<=6}set(t,e,i,o){return(t=Ci(t,i,o)).setHours(0,0,0,0),t}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]},c:new class extends He{priority=90;parse(t,e,i,o){const n=t=>{const e=7*Math.floor((t-1)/7);return(t+o.weekStartsOn+6)%7+e};switch(e){case"c":case"cc":return ri(ci(e.length,t),n);case"co":return ri(i.ordinalNumber(t,{unit:"day"}),n);case"ccc":return i.day(t,{width:"abbreviated",context:"standalone"})||i.day(t,{width:"short",context:"standalone"})||i.day(t,{width:"narrow",context:"standalone"});case"ccccc":return i.day(t,{width:"narrow",context:"standalone"});case"cccccc":return i.day(t,{width:"short",context:"standalone"})||i.day(t,{width:"narrow",context:"standalone"});default:return i.day(t,{width:"wide",context:"standalone"})||i.day(t,{width:"abbreviated",context:"standalone"})||i.day(t,{width:"short",context:"standalone"})||i.day(t,{width:"narrow",context:"standalone"})}}validate(t,e){return e>=0&&e<=6}set(t,e,i,o){return(t=Ci(t,i,o)).setHours(0,0,0,0),t}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]},i:new class extends He{priority=90;parse(t,e,i){const o=t=>0===t?7:t;switch(e){case"i":case"ii":return ci(e.length,t);case"io":return i.ordinalNumber(t,{unit:"day"});case"iii":return ri(i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"}),o);case"iiiii":return ri(i.day(t,{width:"narrow",context:"formatting"}),o);case"iiiiii":return ri(i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"}),o);default:return ri(i.day(t,{width:"wide",context:"formatting"})||i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"}),o)}}validate(t,e){return e>=1&&e<=7}set(t,e,i){return(t=function(t,e){const i=re(t);return ki(i,e-Mi(i))}(t,i)).setHours(0,0,0,0),t}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]},a:new class extends He{priority=80;parse(t,e,i){switch(e){case"a":case"aa":case"aaa":return i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return i.dayPeriod(t,{width:"narrow",context:"formatting"});default:return i.dayPeriod(t,{width:"wide",context:"formatting"})||i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,e,i){return t.setHours(di(i),0,0,0),t}incompatibleTokens=["b","B","H","k","t","T"]},b:new class extends He{priority=80;parse(t,e,i){switch(e){case"b":case"bb":case"bbb":return i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return i.dayPeriod(t,{width:"narrow",context:"formatting"});default:return i.dayPeriod(t,{width:"wide",context:"formatting"})||i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,e,i){return t.setHours(di(i),0,0,0),t}incompatibleTokens=["a","B","H","k","t","T"]},B:new class extends He{priority=80;parse(t,e,i){switch(e){case"B":case"BB":case"BBB":return i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return i.dayPeriod(t,{width:"narrow",context:"formatting"});default:return i.dayPeriod(t,{width:"wide",context:"formatting"})||i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,e,i){return t.setHours(di(i),0,0,0),t}incompatibleTokens=["a","b","t","T"]},h:new class extends He{priority=70;parse(t,e,i){switch(e){case"h":return si(Be,t);case"ho":return i.ordinalNumber(t,{unit:"hour"});default:return ci(e.length,t)}}validate(t,e){return e>=1&&e<=12}set(t,e,i){const o=t.getHours()>=12;return o&&i<12?t.setHours(i+12,0,0,0):o||12!==i?t.setHours(i,0,0,0):t.setHours(0,0,0,0),t}incompatibleTokens=["H","K","k","t","T"]},H:new class extends He{priority=70;parse(t,e,i){switch(e){case"H":return si(Pe,t);case"Ho":return i.ordinalNumber(t,{unit:"hour"});default:return ci(e.length,t)}}validate(t,e){return e>=0&&e<=23}set(t,e,i){return t.setHours(i,0,0,0),t}incompatibleTokens=["a","b","h","K","k","t","T"]},K:new class extends He{priority=70;parse(t,e,i){switch(e){case"K":return si(Ve,t);case"Ko":return i.ordinalNumber(t,{unit:"hour"});default:return ci(e.length,t)}}validate(t,e){return e>=0&&e<=11}set(t,e,i){return t.getHours()>=12&&i<12?t.setHours(i+12,0,0,0):t.setHours(i,0,0,0),t}incompatibleTokens=["h","H","k","t","T"]},k:new class extends He{priority=70;parse(t,e,i){switch(e){case"k":return si(je,t);case"ko":return i.ordinalNumber(t,{unit:"hour"});default:return ci(e.length,t)}}validate(t,e){return e>=1&&e<=24}set(t,e,i){const o=i<=24?i%24:i;return t.setHours(o,0,0,0),t}incompatibleTokens=["a","b","h","H","K","t","T"]},m:new class extends He{priority=60;parse(t,e,i){switch(e){case"m":return si(Fe,t);case"mo":return i.ordinalNumber(t,{unit:"minute"});default:return ci(e.length,t)}}validate(t,e){return e>=0&&e<=59}set(t,e,i){return t.setMinutes(i,0,0),t}incompatibleTokens=["t","T"]},s:new class extends He{priority=50;parse(t,e,i){switch(e){case"s":return si(We,t);case"so":return i.ordinalNumber(t,{unit:"second"});default:return ci(e.length,t)}}validate(t,e){return e>=0&&e<=59}set(t,e,i){return t.setSeconds(i,0),t}incompatibleTokens=["t","T"]},S:new class extends He{priority=30;parse(t,e){return ri(ci(e.length,t),(t=>Math.trunc(t*Math.pow(10,3-e.length))))}set(t,e,i){return t.setMilliseconds(i),t}incompatibleTokens=["t","T"]},X:new class extends He{priority=10;parse(t,e){switch(e){case"X":return ai(ti,t);case"XX":return ai(ei,t);case"XXXX":return ai(ii,t);case"XXXXX":return ai(ni,t);default:return ai(oi,t)}}set(t,e,i){return e.timestampIsSet?t:ae(t,t.getTime()-_i(t)-i)}incompatibleTokens=["t","T","x"]},x:new class extends He{priority=10;parse(t,e){switch(e){case"x":return ai(ti,t);case"xx":return ai(ei,t);case"xxxx":return ai(ii,t);case"xxxxx":return ai(ni,t);default:return ai(oi,t)}}set(t,e,i){return e.timestampIsSet?t:ae(t,t.getTime()-_i(t)-i)}incompatibleTokens=["t","T","X"]},t:new class extends He{priority=40;parse(t){return li(t)}set(t,e,i){return[ae(t,1e3*i),{timestampIsSet:!0}]}incompatibleTokens="*"},T:new class extends He{priority=20;parse(t){return li(t)}set(t,e,i){return[ae(t,i),{timestampIsSet:!0}]}incompatibleTokens="*"}},Ei=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,zi=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Ri=/^'([^]*?)'?$/,Ii=/''/g,Li=/\S/,Hi=/[a-zA-Z]/;function Ti(t,e,i,o){const n=Object.assign({},ce()),r=o?.locale??n.locale??ye,s=o?.firstWeekContainsDate??o?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,a=o?.weekStartsOn??o?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0;if(""===e)return""===t?re(i):ae(i,NaN);const l={firstWeekContainsDate:s,weekStartsOn:a,locale:r},c=[new Le],h=e.match(zi).map((t=>{const e=t[0];return e in ke?(0,ke[e])(t,r.formatLong):t})).join("").match(Ei),d=[];for(let n of h){!o?.useAdditionalWeekYearTokens&&Ee(n)&&ze(n,e,t),!o?.useAdditionalDayOfYearTokens&&Se(n)&&ze(n,e,t);const s=n[0],a=Si[s];if(a){const{incompatibleTokens:e}=a;if(Array.isArray(e)){const t=d.find((t=>e.includes(t.token)||t.token===s));if(t)throw new RangeError(`The format string mustn't contain \`${t.fullToken}\` and \`${n}\` at the same time`)}else if("*"===a.incompatibleTokens&&d.length>0)throw new RangeError(`The format string mustn't contain \`${n}\` and any other token at the same time`);d.push({token:s,fullToken:n});const o=a.run(t,n,r.match,l);if(!o)return ae(i,NaN);c.push(o.setter),t=o.rest}else{if(s.match(Hi))throw new RangeError("Format string contains an unescaped latin alphabet character `"+s+"`");if("''"===n?n="'":"'"===s&&(n=n.match(Ri)[1].replace(Ii,"'")),0!==t.indexOf(n))return ae(i,NaN);t=t.slice(n.length)}}if(t.length>0&&Li.test(t))return ae(i,NaN);const u=c.map((t=>t.priority)).sort(((t,e)=>e-t)).filter(((t,e,i)=>i.indexOf(t)===e)).map((t=>c.filter((e=>e.priority===t)).sort(((t,e)=>e.subPriority-t.subPriority)))).map((t=>t[0]));let p=re(i);if(isNaN(p.getTime()))return ae(i,NaN);const g={};for(const t of u){if(!t.validate(p,l))return ae(i,NaN);const e=t.set(p,g,l);Array.isArray(e)?(p=e[0],Object.assign(g,e[1])):p=e}return ae(i,p)}function Ai(t,e){const i=se(t),o=se(e),n=+i-_i(i),r=+o-_i(o);return Math.round((n-r)/Ae)}function Oi(t){const e=re(t),i=ae(t,0);return i.setFullYear(e.getFullYear(),0,1),i.setHours(0,0,0,0),i}function $i(t,e){return(t<0?"-":"")+Math.abs(t).toString().padStart(e,"0")}const Di={y(t,e){const i=t.getFullYear(),o=i>0?i:1-i;return $i("yy"===e?o%100:o,e.length)},M(t,e){const i=t.getMonth();return"M"===e?String(i+1):$i(i+1,2)},d:(t,e)=>$i(t.getDate(),e.length),a(t,e){const i=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return i.toUpperCase();case"aaa":return i;case"aaaaa":return i[0];default:return"am"===i?"a.m.":"p.m."}},h:(t,e)=>$i(t.getHours()%12||12,e.length),H:(t,e)=>$i(t.getHours(),e.length),m:(t,e)=>$i(t.getMinutes(),e.length),s:(t,e)=>$i(t.getSeconds(),e.length),S(t,e){const i=e.length,o=t.getMilliseconds();return $i(Math.trunc(o*Math.pow(10,i-3)),e.length)}},Ni={G:function(t,e,i){const o=t.getFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return i.era(o,{width:"abbreviated"});case"GGGGG":return i.era(o,{width:"narrow"});default:return i.era(o,{width:"wide"})}},y:function(t,e,i){if("yo"===e){const e=t.getFullYear(),o=e>0?e:1-e;return i.ordinalNumber(o,{unit:"year"})}return Di.y(t,e)},Y:function(t,e,i,o){const n=mi(t,o),r=n>0?n:1-n;return"YY"===e?$i(r%100,2):"Yo"===e?i.ordinalNumber(r,{unit:"year"}):$i(r,e.length)},R:function(t,e){return $i(bi(t),e.length)},u:function(t,e){return $i(t.getFullYear(),e.length)},Q:function(t,e,i){const o=Math.ceil((t.getMonth()+1)/3);switch(e){case"Q":return String(o);case"QQ":return $i(o,2);case"Qo":return i.ordinalNumber(o,{unit:"quarter"});case"QQQ":return i.quarter(o,{width:"abbreviated",context:"formatting"});case"QQQQQ":return i.quarter(o,{width:"narrow",context:"formatting"});default:return i.quarter(o,{width:"wide",context:"formatting"})}},q:function(t,e,i){const o=Math.ceil((t.getMonth()+1)/3);switch(e){case"q":return String(o);case"qq":return $i(o,2);case"qo":return i.ordinalNumber(o,{unit:"quarter"});case"qqq":return i.quarter(o,{width:"abbreviated",context:"standalone"});case"qqqqq":return i.quarter(o,{width:"narrow",context:"standalone"});default:return i.quarter(o,{width:"wide",context:"standalone"})}},M:function(t,e,i){const o=t.getMonth();switch(e){case"M":case"MM":return Di.M(t,e);case"Mo":return i.ordinalNumber(o+1,{unit:"month"});case"MMM":return i.month(o,{width:"abbreviated",context:"formatting"});case"MMMMM":return i.month(o,{width:"narrow",context:"formatting"});default:return i.month(o,{width:"wide",context:"formatting"})}},L:function(t,e,i){const o=t.getMonth();switch(e){case"L":return String(o+1);case"LL":return $i(o+1,2);case"Lo":return i.ordinalNumber(o+1,{unit:"month"});case"LLL":return i.month(o,{width:"abbreviated",context:"standalone"});case"LLLLL":return i.month(o,{width:"narrow",context:"standalone"});default:return i.month(o,{width:"wide",context:"standalone"})}},w:function(t,e,i,o){const n=vi(t,o);return"wo"===e?i.ordinalNumber(n,{unit:"week"}):$i(n,e.length)},I:function(t,e,i){const o=yi(t);return"Io"===e?i.ordinalNumber(o,{unit:"week"}):$i(o,e.length)},d:function(t,e,i){return"do"===e?i.ordinalNumber(t.getDate(),{unit:"date"}):Di.d(t,e)},D:function(t,e,i){const o=function(t){const e=re(t);return Ai(e,Oi(e))+1}(t);return"Do"===e?i.ordinalNumber(o,{unit:"dayOfYear"}):$i(o,e.length)},E:function(t,e,i){const o=t.getDay();switch(e){case"E":case"EE":case"EEE":return i.day(o,{width:"abbreviated",context:"formatting"});case"EEEEE":return i.day(o,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(o,{width:"short",context:"formatting"});default:return i.day(o,{width:"wide",context:"formatting"})}},e:function(t,e,i,o){const n=t.getDay(),r=(n-o.weekStartsOn+8)%7||7;switch(e){case"e":return String(r);case"ee":return $i(r,2);case"eo":return i.ordinalNumber(r,{unit:"day"});case"eee":return i.day(n,{width:"abbreviated",context:"formatting"});case"eeeee":return i.day(n,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(n,{width:"short",context:"formatting"});default:return i.day(n,{width:"wide",context:"formatting"})}},c:function(t,e,i,o){const n=t.getDay(),r=(n-o.weekStartsOn+8)%7||7;switch(e){case"c":return String(r);case"cc":return $i(r,e.length);case"co":return i.ordinalNumber(r,{unit:"day"});case"ccc":return i.day(n,{width:"abbreviated",context:"standalone"});case"ccccc":return i.day(n,{width:"narrow",context:"standalone"});case"cccccc":return i.day(n,{width:"short",context:"standalone"});default:return i.day(n,{width:"wide",context:"standalone"})}},i:function(t,e,i){const o=t.getDay(),n=0===o?7:o;switch(e){case"i":return String(n);case"ii":return $i(n,e.length);case"io":return i.ordinalNumber(n,{unit:"day"});case"iii":return i.day(o,{width:"abbreviated",context:"formatting"});case"iiiii":return i.day(o,{width:"narrow",context:"formatting"});case"iiiiii":return i.day(o,{width:"short",context:"formatting"});default:return i.day(o,{width:"wide",context:"formatting"})}},a:function(t,e,i){const o=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return i.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return i.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return i.dayPeriod(o,{width:"narrow",context:"formatting"});default:return i.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(t,e,i){const o=t.getHours();let n;switch(n=12===o?"noon":0===o?"midnight":o/12>=1?"pm":"am",e){case"b":case"bb":return i.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"bbb":return i.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return i.dayPeriod(n,{width:"narrow",context:"formatting"});default:return i.dayPeriod(n,{width:"wide",context:"formatting"})}},B:function(t,e,i){const o=t.getHours();let n;switch(n=o>=17?"evening":o>=12?"afternoon":o>=4?"morning":"night",e){case"B":case"BB":case"BBB":return i.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"BBBBB":return i.dayPeriod(n,{width:"narrow",context:"formatting"});default:return i.dayPeriod(n,{width:"wide",context:"formatting"})}},h:function(t,e,i){if("ho"===e){let e=t.getHours()%12;return 0===e&&(e=12),i.ordinalNumber(e,{unit:"hour"})}return Di.h(t,e)},H:function(t,e,i){return"Ho"===e?i.ordinalNumber(t.getHours(),{unit:"hour"}):Di.H(t,e)},K:function(t,e,i){const o=t.getHours()%12;return"Ko"===e?i.ordinalNumber(o,{unit:"hour"}):$i(o,e.length)},k:function(t,e,i){let o=t.getHours();return 0===o&&(o=24),"ko"===e?i.ordinalNumber(o,{unit:"hour"}):$i(o,e.length)},m:function(t,e,i){return"mo"===e?i.ordinalNumber(t.getMinutes(),{unit:"minute"}):Di.m(t,e)},s:function(t,e,i){return"so"===e?i.ordinalNumber(t.getSeconds(),{unit:"second"}):Di.s(t,e)},S:function(t,e){return Di.S(t,e)},X:function(t,e,i){const o=t.getTimezoneOffset();if(0===o)return"Z";switch(e){case"X":return ji(o);case"XXXX":case"XX":return Vi(o);default:return Vi(o,":")}},x:function(t,e,i){const o=t.getTimezoneOffset();switch(e){case"x":return ji(o);case"xxxx":case"xx":return Vi(o);default:return Vi(o,":")}},O:function(t,e,i){const o=t.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+Pi(o,":");default:return"GMT"+Vi(o,":")}},z:function(t,e,i){const o=t.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+Pi(o,":");default:return"GMT"+Vi(o,":")}},t:function(t,e,i){return $i(Math.trunc(t.getTime()/1e3),e.length)},T:function(t,e,i){return $i(t.getTime(),e.length)}};function Pi(t,e=""){const i=t>0?"-":"+",o=Math.abs(t),n=Math.trunc(o/60),r=o%60;return 0===r?i+String(n):i+String(n)+e+$i(r,2)}function ji(t,e){return t%60==0?(t>0?"-":"+")+$i(Math.abs(t)/60,2):Vi(t,e)}function Vi(t,e=""){const i=t>0?"-":"+",o=Math.abs(t);return i+$i(Math.trunc(o/60),2)+e+$i(o%60,2)}function Bi(t){if(!(e=t,e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e)||"number"==typeof t))return!1;var e;const i=re(t);return!isNaN(Number(i))}const Fi=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Wi=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Ui=/^'([^]*?)'?$/,Gi=/''/g,Yi=/[a-zA-Z]/;function qi(t,e,i){const o=ce(),n=i?.locale??o.locale??ye,r=i?.firstWeekContainsDate??i?.locale?.options?.firstWeekContainsDate??o.firstWeekContainsDate??o.locale?.options?.firstWeekContainsDate??1,s=i?.weekStartsOn??i?.locale?.options?.weekStartsOn??o.weekStartsOn??o.locale?.options?.weekStartsOn??0,a=re(t);if(!Bi(a))throw new RangeError("Invalid time value");let l=e.match(Wi).map((t=>{const e=t[0];return"p"===e||"P"===e?(0,ke[e])(t,n.formatLong):t})).join("").match(Fi).map((t=>{if("''"===t)return{isToken:!1,value:"'"};const e=t[0];if("'"===e)return{isToken:!1,value:Zi(t)};if(Ni[e])return{isToken:!0,value:t};if(e.match(Yi))throw new RangeError("Format string contains an unescaped latin alphabet character `"+e+"`");return{isToken:!1,value:t}}));n.localize.preprocessor&&(l=n.localize.preprocessor(a,l));const c={firstWeekContainsDate:r,weekStartsOn:s,locale:n};return l.map((o=>{if(!o.isToken)return o.value;const r=o.value;return(!i?.useAdditionalWeekYearTokens&&Ee(r)||!i?.useAdditionalDayOfYearTokens&&Se(r))&&ze(r,e,String(t)),(0,Ni[r[0]])(a,r,n.localize,c)})).join("")}function Zi(t){const e=t.match(Ui);return e?e[1].replace(Gi,"'"):t}function Xi(t,e){const i=re(t);if(isNaN(e))return ae(t,NaN);if(!e)return i;const o=i.getDate(),n=ae(t,i.getTime());return n.setMonth(i.getMonth()+e+1,0),o>=n.getDate()?n:(i.setFullYear(n.getFullYear(),n.getMonth(),o),i)}function Qi(t,e){return function(t,e){return Xi(t,12*e)}(t,-e)}function Ki(t){const e=re(t),i=e.getMonth();return e.setFullYear(e.getFullYear(),i+1,0),e.setHours(23,59,59,999),e}function Ji(t,e){const i=re(t),o=re(e),n=to(i,o),r=Math.abs(Ai(i,o));i.setDate(i.getDate()-n*r);const s=n*(r-Number(to(i,o)===-n));return 0===s?0:s}function to(t,e){const i=t.getFullYear()-e.getFullYear()||t.getMonth()-e.getMonth()||t.getDate()-e.getDate()||t.getHours()-e.getHours()||t.getMinutes()-e.getMinutes()||t.getSeconds()-e.getSeconds()||t.getMilliseconds()-e.getMilliseconds();return i<0?-1:i>0?1:i}function eo(t,e){return ki(t,-e)}function io(t,e){return Xi(t,-e)}const oo={lessThanXSeconds:{one:{regular:"méně než 1 sekunda",past:"před méně než 1 sekundou",future:"za méně než 1 sekundu"},few:{regular:"méně než {{count}} sekundy",past:"před méně než {{count}} sekundami",future:"za méně než {{count}} sekundy"},many:{regular:"méně než {{count}} sekund",past:"před méně než {{count}} sekundami",future:"za méně než {{count}} sekund"}},xSeconds:{one:{regular:"1 sekunda",past:"před 1 sekundou",future:"za 1 sekundu"},few:{regular:"{{count}} sekundy",past:"před {{count}} sekundami",future:"za {{count}} sekundy"},many:{regular:"{{count}} sekund",past:"před {{count}} sekundami",future:"za {{count}} sekund"}},halfAMinute:{type:"other",other:{regular:"půl minuty",past:"před půl minutou",future:"za půl minuty"}},lessThanXMinutes:{one:{regular:"méně než 1 minuta",past:"před méně než 1 minutou",future:"za méně než 1 minutu"},few:{regular:"méně než {{count}} minuty",past:"před méně než {{count}} minutami",future:"za méně než {{count}} minuty"},many:{regular:"méně než {{count}} minut",past:"před méně než {{count}} minutami",future:"za méně než {{count}} minut"}},xMinutes:{one:{regular:"1 minuta",past:"před 1 minutou",future:"za 1 minutu"},few:{regular:"{{count}} minuty",past:"před {{count}} minutami",future:"za {{count}} minuty"},many:{regular:"{{count}} minut",past:"před {{count}} minutami",future:"za {{count}} minut"}},aboutXHours:{one:{regular:"přibližně 1 hodina",past:"přibližně před 1 hodinou",future:"přibližně za 1 hodinu"},few:{regular:"přibližně {{count}} hodiny",past:"přibližně před {{count}} hodinami",future:"přibližně za {{count}} hodiny"},many:{regular:"přibližně {{count}} hodin",past:"přibližně před {{count}} hodinami",future:"přibližně za {{count}} hodin"}},xHours:{one:{regular:"1 hodina",past:"před 1 hodinou",future:"za 1 hodinu"},few:{regular:"{{count}} hodiny",past:"před {{count}} hodinami",future:"za {{count}} hodiny"},many:{regular:"{{count}} hodin",past:"před {{count}} hodinami",future:"za {{count}} hodin"}},xDays:{one:{regular:"1 den",past:"před 1 dnem",future:"za 1 den"},few:{regular:"{{count}} dny",past:"před {{count}} dny",future:"za {{count}} dny"},many:{regular:"{{count}} dní",past:"před {{count}} dny",future:"za {{count}} dní"}},aboutXWeeks:{one:{regular:"přibližně 1 týden",past:"přibližně před 1 týdnem",future:"přibližně za 1 týden"},few:{regular:"přibližně {{count}} týdny",past:"přibližně před {{count}} týdny",future:"přibližně za {{count}} týdny"},many:{regular:"přibližně {{count}} týdnů",past:"přibližně před {{count}} týdny",future:"přibližně za {{count}} týdnů"}},xWeeks:{one:{regular:"1 týden",past:"před 1 týdnem",future:"za 1 týden"},few:{regular:"{{count}} týdny",past:"před {{count}} týdny",future:"za {{count}} týdny"},many:{regular:"{{count}} týdnů",past:"před {{count}} týdny",future:"za {{count}} týdnů"}},aboutXMonths:{one:{regular:"přibližně 1 měsíc",past:"přibližně před 1 měsícem",future:"přibližně za 1 měsíc"},few:{regular:"přibližně {{count}} měsíce",past:"přibližně před {{count}} měsíci",future:"přibližně za {{count}} měsíce"},many:{regular:"přibližně {{count}} měsíců",past:"přibližně před {{count}} měsíci",future:"přibližně za {{count}} měsíců"}},xMonths:{one:{regular:"1 měsíc",past:"před 1 měsícem",future:"za 1 měsíc"},few:{regular:"{{count}} měsíce",past:"před {{count}} měsíci",future:"za {{count}} měsíce"},many:{regular:"{{count}} měsíců",past:"před {{count}} měsíci",future:"za {{count}} měsíců"}},aboutXYears:{one:{regular:"přibližně 1 rok",past:"přibližně před 1 rokem",future:"přibližně za 1 rok"},few:{regular:"přibližně {{count}} roky",past:"přibližně před {{count}} roky",future:"přibližně za {{count}} roky"},many:{regular:"přibližně {{count}} roků",past:"přibližně před {{count}} roky",future:"přibližně za {{count}} roků"}},xYears:{one:{regular:"1 rok",past:"před 1 rokem",future:"za 1 rok"},few:{regular:"{{count}} roky",past:"před {{count}} roky",future:"za {{count}} roky"},many:{regular:"{{count}} roků",past:"před {{count}} roky",future:"za {{count}} roků"}},overXYears:{one:{regular:"více než 1 rok",past:"před více než 1 rokem",future:"za více než 1 rok"},few:{regular:"více než {{count}} roky",past:"před více než {{count}} roky",future:"za více než {{count}} roky"},many:{regular:"více než {{count}} roků",past:"před více než {{count}} roky",future:"za více než {{count}} roků"}},almostXYears:{one:{regular:"skoro 1 rok",past:"skoro před 1 rokem",future:"skoro za 1 rok"},few:{regular:"skoro {{count}} roky",past:"skoro před {{count}} roky",future:"skoro za {{count}} roky"},many:{regular:"skoro {{count}} roků",past:"skoro před {{count}} roky",future:"skoro za {{count}} roků"}}},no={date:de({formats:{full:"EEEE, d. MMMM yyyy",long:"d. MMMM yyyy",medium:"d. M. yyyy",short:"dd.MM.yyyy"},defaultWidth:"full"}),time:de({formats:{full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},defaultWidth:"full"}),dateTime:de({formats:{full:"{{date}} 'v' {{time}}",long:"{{date}} 'v' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},ro=["neděli","pondělí","úterý","středu","čtvrtek","pátek","sobotu"],so={lastWeek:"'poslední' eeee 've' p",yesterday:"'včera v' p",today:"'dnes v' p",tomorrow:"'zítra v' p",nextWeek:t=>{const e=t.getDay();return"'v "+ro[e]+" o' p"},other:"P"},ao={ordinalNumber:(t,e)=>Number(t)+".",era:ge({values:{narrow:["př. n. l.","n. l."],abbreviated:["př. n. l.","n. l."],wide:["před naším letopočtem","našeho letopočtu"]},defaultWidth:"wide"}),quarter:ge({values:{narrow:["1","2","3","4"],abbreviated:["1. čtvrtletí","2. čtvrtletí","3. čtvrtletí","4. čtvrtletí"],wide:["1. čtvrtletí","2. čtvrtletí","3. čtvrtletí","4. čtvrtletí"]},defaultWidth:"wide",argumentCallback:t=>t-1}),month:ge({values:{narrow:["L","Ú","B","D","K","Č","Č","S","Z","Ř","L","P"],abbreviated:["led","úno","bře","dub","kvě","čvn","čvc","srp","zář","říj","lis","pro"],wide:["leden","únor","březen","duben","květen","červen","červenec","srpen","září","říjen","listopad","prosinec"]},defaultWidth:"wide",formattingValues:{narrow:["L","Ú","B","D","K","Č","Č","S","Z","Ř","L","P"],abbreviated:["led","úno","bře","dub","kvě","čvn","čvc","srp","zář","říj","lis","pro"],wide:["ledna","února","března","dubna","května","června","července","srpna","září","října","listopadu","prosince"]},defaultFormattingWidth:"wide"}),day:ge({values:{narrow:["ne","po","út","st","čt","pá","so"],short:["ne","po","út","st","čt","pá","so"],abbreviated:["ned","pon","úte","stř","čtv","pát","sob"],wide:["neděle","pondělí","úterý","středa","čtvrtek","pátek","sobota"]},defaultWidth:"wide"}),dayPeriod:ge({values:{narrow:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},abbreviated:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},wide:{am:"dopoledne",pm:"odpoledne",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"}},defaultWidth:"wide",formattingValues:{narrow:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},abbreviated:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},wide:{am:"dopoledne",pm:"odpoledne",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"}},defaultFormattingWidth:"wide"})},lo={ordinalNumber:ve({matchPattern:/^(\d+)\.?/i,parsePattern:/\d+/i,valueCallback:t=>parseInt(t,10)}),era:fe({matchPatterns:{narrow:/^(p[řr](\.|ed) Kr\.|p[řr](\.|ed) n\. l\.|po Kr\.|n\. l\.)/i,abbreviated:/^(p[řr](\.|ed) Kr\.|p[řr](\.|ed) n\. l\.|po Kr\.|n\. l\.)/i,wide:/^(p[řr](\.|ed) Kristem|p[řr](\.|ed) na[šs][íi]m letopo[čc]tem|po Kristu|na[šs]eho letopo[čc]tu)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^p[řr]/i,/^(po|n)/i]},defaultParseWidth:"any"}),quarter:fe({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^[1234]\. [čc]tvrtlet[íi]/i,wide:/^[1234]\. [čc]tvrtlet[íi]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:t=>t+1}),month:fe({matchPatterns:{narrow:/^[lúubdkčcszřrlp]/i,abbreviated:/^(led|[úu]no|b[řr]e|dub|kv[ěe]|[čc]vn|[čc]vc|srp|z[áa][řr]|[řr][íi]j|lis|pro)/i,wide:/^(leden|ledna|[úu]nora?|b[řr]ezen|b[řr]ezna|duben|dubna|kv[ěe]ten|kv[ěe]tna|[čc]erven(ec|ce)?|[čc]ervna|srpen|srpna|z[áa][řr][íi]|[řr][íi]jen|[řr][íi]jna|listopad(a|u)?|prosinec|prosince)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^l/i,/^[úu]/i,/^b/i,/^d/i,/^k/i,/^[čc]/i,/^[čc]/i,/^s/i,/^z/i,/^[řr]/i,/^l/i,/^p/i],any:[/^led/i,/^[úu]n/i,/^b[řr]e/i,/^dub/i,/^kv[ěe]/i,/^[čc]vn|[čc]erven(?!\w)|[čc]ervna/i,/^[čc]vc|[čc]erven(ec|ce)/i,/^srp/i,/^z[áa][řr]/i,/^[řr][íi]j/i,/^lis/i,/^pro/i]},defaultParseWidth:"any"}),day:fe({matchPatterns:{narrow:/^[npuúsčps]/i,short:/^(ne|po|[úu]t|st|[čc]t|p[áa]|so)/i,abbreviated:/^(ned|pon|[úu]te|st[rř]|[čc]tv|p[áa]t|sob)/i,wide:/^(ned[ěe]le|pond[ěe]l[íi]|[úu]ter[ýy]|st[řr]eda|[čc]tvrtek|p[áa]tek|sobota)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^n/i,/^p/i,/^[úu]/i,/^s/i,/^[čc]/i,/^p/i,/^s/i],any:[/^ne/i,/^po/i,/^[úu]t/i,/^st/i,/^[čc]t/i,/^p[áa]/i,/^so/i]},defaultParseWidth:"any"}),dayPeriod:fe({matchPatterns:{any:/^dopoledne|dop\.?|odpoledne|odp\.?|p[ůu]lnoc|poledne|r[áa]no|odpoledne|ve[čc]er|(v )?noci?/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^dop/i,pm:/^odp/i,midnight:/^p[ůu]lnoc/i,noon:/^poledne/i,morning:/r[áa]no/i,afternoon:/odpoledne/i,evening:/ve[čc]er/i,night:/noc/i}},defaultParseWidth:"any"})},co={code:"cs",formatDistance:(t,e,i)=>{let o;const n=oo[t];o="other"===n.type?n.other:1===e?n.one:e>1&&e<5?n.few:n.many;const r=!0===i?.addSuffix,s=i?.comparison;let a;return a=r&&-1===s?o.past:r&&1===s?o.future:o.regular,a.replace("{{count}}",String(e))},formatLong:no,formatRelative:(t,e)=>{const i=so[t];return"function"==typeof i?i(e):i},localize:ao,match:lo,options:{weekStartsOn:1,firstWeekContainsDate:4}};class ho extends Event{constructor(t){super("localechange"),this.locale=t}}function uo(){return"undefined"!=typeof navigator?navigator.languages&&navigator.languages.length?navigator.languages[0]:navigator.language:"en"}const po=new Map,go=new Map;let mo=uo();function fo(t,e){(Array.isArray(t)?t:[t]).forEach((t=>po.set(t,e)))}function vo(){return mo}function bo(t){return po.has(t)}function yo(t){if(!po.has(t)){let t=mo;null==t&&(po.has("en")?t="en":po.size>0&&(t=po.keys().next().value))}go.has(t)||go.set(t,new Map);const e=go.get(t);po.get(t)?.forEach((t=>e.set(t.source,t))),mo!==t&&(mo=t,document.dispatchEvent(new ho(t)))}function wo(t){const e=Array.from(t.matchAll(/\{([^}]+)\}/g)).map((t=>({name:t[1],start:t.index,end:t.index+t[0].length})));return i=>{if(!i)return t;let o="",n=0;for(const r of e){o+=t.slice(n,r.start);const e=i[r.name];o+=null!=e?String(e):"",n=r.end}return o+t.slice(n)}}function xo(t,e){if(Array.isArray(t))return t.map((t=>xo(t,e))).join(e?.separator??" ");if(null==t||""===t)return"";const i=t.toLowerCase();let o=go.get(mo);o||(o=new Map,go.set(mo,o));let n=o.get(i);if(n||(n={id:e?.id??null,source:i,target:i},o.set(i,n)),e?.data&&!n.translate&&(n.translate=wo(n.target)),!n)return t;let r=n.translate?n.translate(e?.data):n.target;return null==r||""===r?"":(t.length>0&&t[0]===t[0].toUpperCase()&&(r=r[0].toUpperCase()+r.slice(1)),r)}const ko={af:["af-ZA"],ar:["ar-AE","ar-BH","ar-DZ","ar-EG","ar-IQ","ar-JO","ar-KW","ar-LB","ar-LY","ar-MA","ar-OM","ar-QA","ar-SA","ar-SY","ar-TN","ar-YE"],az:["az-AZ"],be:["be-BY"],bg:["bg-BG"],ca:["ca-ES"],cs:["cs-CZ"],cy:["cy-GB"],da:["da-DK"],de:["de-DE","de-AT","de-CH","de-LI","de-LU"],dv:["dv-MV"],el:["el-GR"],en:["en-US","en-AU","en-BZ","en-CA","en-CB","en-GB","en-IE","en-JM","en-NZ","en-PH","en-TT","en-ZA","en-ZW"],eo:["eo"],es:["es-ES","es-AR","es-BO","es-CL","es-CO","es-CR","es-DO","es-EC","es-GT","es-HN","es-MX","es-NI","es-PA","es-PE","es-PR","es-PY","es-SV","es-UY","es-VE"],et:["et-EE"],eu:["eu-ES"],fa:["fa-IR"],fi:["fi-FI"],fo:["fo-FO"],fr:["fr-BE","fr-CA","fr-CH","fr-FR","fr-LU","fr-MC"],gl:["gl-ES"],gu:["gu-IN"],he:["he-IL"],hi:["hi-IN"],hr:["hr-BA","hr-HR"],hu:["hu-HU"],hy:["hy-AM"],id:["id-ID"],is:["is-IS"],it:["it-CH","it-IT"],ja:["ja-JP"],ka:["ka-GE"],kk:["kk-KZ"],kn:["kn-IN"],ko:["ko-KR"],kok:["kok-IN"],ky:["ky-KG"],lt:["lt-LT"],lv:["lv-LV"],mi:["mi-NZ"],mk:["mk-MK"],mn:["mn-MN"],mr:["mr-IN"],ms:["ms-BN","ms-MY"],mt:["mt-MT"],nb:["nb-NO"],nl:["nl-BE","nl-NL"],nn:["nn-NO"],ns:["ns-ZA"],pa:["pa-IN"],pl:["pl-PL"],ps:["ps-AR"],pt:["pt-BR","pt-PT"],qu:["qu-BO","qu-EC","qu-PE"],ro:["ro-RO"],ru:["ru-RU"],sa:["sa-IN"],se:["se-FI","se-NO","se-SE"],sk:["sk-SK"],sl:["sl-SI"],sq:["sq-AL"],sr:["sr-BA","sr-SP"],sv:["sv-FI","sv-SE"],sw:["sw-KE"],syr:["syr-SY"],ta:["ta-IN"],te:["te-IN"],th:["th-TH"],tl:["tl-PH"],tn:["tn-ZA"],tr:["tr-TR"],tt:["tt-RU"],ts:["ts"],uk:["uk-UA"],ur:["ur-PK"],uz:["uz-UZ"],vi:["vi-VN"],xh:["xh-ZA"],zh:["zh-CN","zh-HK","zh-MO","zh-SG","zh-TW"],zu:["zu-ZA"]};let Co;function Mo(t){if(ko[t])return t;if(Co&&Co.has(t))return Co.get(t);for(const e in ko)if(ko[e].includes(t))return Co=Co??new Map,Co.set(t,e),e;return null}function _o(t){const e=Mo(t);return e?ko[e]?ko[e][0]:t:null}const So=[{id:null,source:"copied",target:"copied"},{id:null,source:"close",target:"close"},{id:null,source:"headers",target:"headers"},{id:null,source:"conditional formatting",target:"conditional formatting"},{id:null,source:"sparklines",target:"sparklines"},{id:null,source:"charts",target:"charts"},{id:null,source:"named ranges",target:"named ranges"},{id:null,source:"search",target:"search"},{id:null,source:"load more",target:"load more"},{id:null,source:"today",target:"today"}],Eo=[{id:null,source:"copied",target:"zkopírováno"},{id:null,source:"close",target:"zavřít"},{id:null,source:"headers",target:"hlavičky"},{id:null,source:"conditional formatting",target:"podmíněné formátování"},{id:null,source:"sparklines",target:"mikrografy"},{id:null,source:"charts",target:"grafy"},{id:null,source:"named ranges",target:"pojmenované rozsahy"},{id:null,source:"search",target:"hledat"},{id:null,source:"load more",target:"načíst další"},{id:null,source:"today",target:"dnes"}];[["en-US",So],["en",So],["cs-CZ",Eo],["cs",Eo],["sk",Eo]].forEach((([t,e])=>fo(t,e)));const zo=new Map;function Ro(t){zo.set(t.code,t)}Ro(ye),Ro(co);const Io=new Map,Lo=/^(\d{1,2})[./](\d{1,2})[./](\d{4})$/;function Ho(t,e){return Lo.test(t.replace(/\s/g,""))?e.startsWith("en")&&"/"===t[2]?"MM/dd/yyyy":"dd.MM.yyyy":"yyyy-MM-dd"}let To;function Ao(t){if(t=t??vo(),To=To??new Map,To.has(t))return To.get(t);let e;try{const i=_o(t);e=Ho(function(t,e,i){let o;var n;return void 0===(n=e)||"locale"in n?i=e:o=e,new Intl.DateTimeFormat(i?.locale,o).format(re(t))}(se(new Date),{locale:i}),i)}catch(t){e="yyyy-MM-dd"}return To.set(t,e),e}function Oo(t,e){const i=Ti(t,Ho(t,e),new Date);return isNaN(i.getTime())?null:i}function $o(t,e){e=e??Ao(t);const i=Io.has(t)?Io.get(t):Io.set(t,new Map).get(t);return i.has(e)||i.set(e,No(t,e)),i.get(e)}function Do(t){return zo.has(t)?zo.get(t):(t=t.split("-")[0],zo.has(t)?zo.get(t):zo.get("en-US"))}function No(t,e){return e=e??Ao(t),(i,o)=>(Q(i)?i=Oo(i,t):i instanceof Date||isNaN(i)||(i=Uo(i)),null==i?"":qi(i,o||e,{locale:Do(t)}))}function Po(t,e){const i=t.getFullYear(),o=t.getMonth()+1;return e>=0?i-Math.floor((12-o+e)/12):i+Math.floor((o-e-1)/12)}function jo(t,e){const i=qo(t.getMonth()-e,12);return Math.floor(i/3)+1}function Vo(t){return t.setHours(0),t.setMinutes(0),t.setSeconds(0),t.setMilliseconds(0),t}function Bo(t,e){let i=new Date(t.getFullYear(),qo(e,12),1);return function(t,e){const i=re(t),o=re(e),n=i.getTime()-o.getTime();return n<0?-1:n>0?1:n}(t,i)<0&&(i=Qi(i,1)),[i,Vo(Ki(Xi(new Date(i),11)))]}function Fo(t,e=0,i=1){const[o,n]=Bo(t,e),r=Ji(t,o)+1,s=(Mi(t)+i-2)%7+1;let a=Po(t,e),l=Math.floor((10+r-s)/7);if(0==l){const t=eo(o,4),e=Ji(t,io(o,12))+1,n=(Mi(t)+i-1)%7;l=Math.floor((10+e-n)/7),--a}else if(l>52){const t=eo(n,3),e=Ji(t,o)+1,r=(Mi(t)+i-1)%7;l>Math.floor((10+e-r)/7)&&(l=1,++a)}return[l,a]}function Wo(t){return 25569+(t.getTime()-60*t.getTimezoneOffset()*1e3)/864e5}function Uo(t){return new Date(Date.UTC(0,0,t-1))}function Go(t,e,i){let o=Uo(t).getDay();for(i&&i.length>0&&i.forEach((t=>undefined.set(t,t)));e>0;)++t,o=++o>7?1:o,o<6&&--e;return t}const Yo=t=>t.text||t.color||t.brackets||t.empty;function qo(t,e){let i=t%e;return i<0&&(i+=Math.abs(e)),i}const Zo=["","C","CC","CCC","CD","D","DC","DCC","DCCC","CM","","X","XX","XXX","XL","L","LX","LXX","LXXX","XC","","I","II","III","IV","V","VI","VII","VIII","IX"];function Xo(t){if(isNaN(t))return NaN;const e=String(+t).split("");let i="",o=3;for(;o--;)i=(Zo[+e.pop()+10*o]||"")+i;return Array(+e.join("")+1).join("M")+i}function Qo(t){return["0","#"].includes(t[0])}const Ko=new Map;function Jo(t,e="",i){const o=Ko.has(t)?Ko.get(t):Ko.set(t,new Map).get(t);return o.has(e)||o.set(e,tn(t,e,i)),o.get(e)}function tn(t,e="",i){const o=(e?on(i?rn(e,"n"):e):[{maximumFractionDigits:3}]).map((e=>Z(e)?Yo(e)?function(t,e){const i=new Intl.NumberFormat(t,e);return{format:t=>{let o=tt(t)?i.format(t):"";return e.text&&(o+=e.text||""),e.brackets&&(o=`(${o})`),e.color&&(o=`<span style="color:${e.color}">${o}</span>`),o}}}(t,e):new Intl.NumberFormat(t,e):{format:$o(t,e)}));return 1==o.length&&o.push(o[0]),2==o.length&&o.push(o[0]),t=>null==t?"":Q(t)?o[3]?o[3].format(t):t:isNaN(t)?"#NaN":t>0?o[0].format(t):t<0?o[1].format(t):0==t?o[2].format(t):void 0}const en={useGrouping:!1,maximumFractionDigits:0,signDisplay:"negative",empty:!0};function on(t){const e=[];let i,o,n,r=Object.assign({},en),s=!1,a=0;for(;a<t.length;)switch(i=t.charAt(a),";"!=i&&r.empty&&delete r.empty,i.toLowerCase()){case"(":r.brackets=!0,++a;break;case"[":for(r.color="";++a<t.length&&(i=t.charAt(a),"]"!==i);)r.color+=i;break;case";":e.push(r),r=Object.assign({},en),1==e.length&&(r.signDisplay="never"),s=!1,++a;break;case"0":case"#":for(o=null,n=null;a<t.length;){if(i=t.charAt(a),"0"===i)o=null===o?1:o+1;else if("#"===i)n=null===n?1:n+1;else{if(","!==i)break;r.useGrouping=!0}++a}s?(null!==o&&(r.minimumFractionDigits=o,null==n&&(r.maximumFractionDigits=o)),null!==n&&(r.maximumFractionDigits=n+(o||0))):null!==o&&(r.minimumIntegerDigits=o);break;case'"':for(r.text="";++a<t.length&&(i=t.charAt(a),'"'!==i);)r.text+=i;++a;break;case".":s=!0,++a;break;case"+":r.signDisplay="exceptZero",++a;break;case"-":1==e.length&&(r.signDisplay="always"),++a;break;case"$":r.style="currency",++a;break;case"%":r.style="percent",++a;break;default:if(et(i)){let o=i;for(r=null;++a<t.length;){if(i=t.charAt(a),";"===i){r=Object.assign({},en);break}o+=i}e.push(o)}++a}return r&&e.push(r),e}const nn={d:[[/\\/g,""],[/m/g,"M"],[/ddd/g,"eee"]],n:[[/0,/g,"#,"]]};function rn(t,e){return nn[e].forEach((([e,i])=>t=t.replace(e,i))),t}function sn(t){return Intl.NumberFormat(t,{minimumIntegerDigits:1,minimumFractionDigits:1}).format(1.1).charAt(1)}const an={delimiter:"\t",quote:"",encoding:"utf-8",decimalSeparator:".",header:!1};class ln{constructor(t,e){this.csv=t,this.offset=0,this.length=t.length,this.description=Object.assign({},an,e)}get eof(){return this.offset>=this.length}readLine(){if(this.eof)return null;const t=[];let e,i="",o=!1;for(;this.offset<this.length;){if(e=this.csv.charAt(this.offset++),"\n"===e){if(o)continue;t.push(i),i=null;break}"\r"!==e&&(o?e===this.description.quote?(i=st(i,this.description.quote),o=!1):i+=e:e==this.description.delimiter?(t.push(i),i=""):""==i&&e==this.description.quote?(o=!0,i=""):i+=e)}return null!=i&&t.push(i),t}}function cn(t,e){e=Object.assign({},an,e);let i="";for(let o=0;o<t.length;o++)i+=t[o].map((t=>null==t?"":isNaN(t)?(t??"").toString().replace(e.delimiter," "):"."!=e.decimalSeparator?t.toString().replace(".",e.decimalSeparator):t.toString())).join(e.delimiter)+"\n";return i}function hn(t,e){const i=[];let o;const n=new ln(t,e);for(;!n.eof;)o=n.readLine(),o&&o.length>0&&i.push(o);return i}var dn;!function(t){t.Info="i",t.Warn="w",t.Error="e",t.Debug="d",t.Trace="t"}(dn||(dn={}));class un{constructor(t){this.name=t,this.styles=["color: #ffff00","color: #00955d","color: #aaaaaa"],this.errorStyles=["color: #ff0000","color: #00955d","color: #aaaaaa"],this.defaultLevel=dn.Info}format(t,e){return`%c[${e}] %c${this.name.padEnd(20," ")} %c${t.padEnd(50," ")}`}log(t){console.log(t,...this.styles)}info(t){console.info(this.format(t,dn.Info),...this.styles)}warn(t){console.info(this.format(t,dn.Warn),...this.styles)}error(t,e){console.error(this.format(t,dn.Error),...this.errorStyles),e&&console.error(e)}debug(t){console.info(this.format(t,dn.Debug),...this.styles)}trace(t){console.trace(this.format(t,dn.Trace),...this.styles)}}const pn=new Map;function gn(t){if(null==t){if(pn.size>0)return pn.entries().next().value[1];t=t||"Ω"}return pn.has(t)||pn.set(t,new un(t)),pn.get(t)}var mn;!function(t){t[t.Filtered=0]="Filtered",t[t.Matched=1]="Matched",t[t.ChildMatched=2]="ChildMatched",t[t.ParentMatched=3]="ParentMatched"}(mn||(mn={}));class fn{populate(t){}getSourceData(){return{}}}function vn(t=fn){return class extends t{constructor(){super(...arguments),this._children=[],this._filterState=mn.Matched}populate(t){super.populate(t),isNaN(t.i)||(this.index=t.i),this.level=t.level||t.l||0,this.parentIndex=t.p,this._count=t.count,this._hidden=t.hidden,this._filterable=t.filterable,this._sortable=t.sortable,(t.collapsed||t.count)&&(this._collapsed=!0)}getSourceData(){const t=super.getSourceData();return this.level>0&&(t.l=this.level),null!=this.parentIndex&&(t.p=this.parentIndex),null!=this._collapsed&&(t.collapsed=this._collapsed),t}get filterable(){return!1!==this._filterable}get sortable(){return!1!==this._sortable}get filterState(){return this._filterState}set filterState(t){this._filterState=t}get hidden(){return this._hidden}set hidden(t){this._hidden=t}get visible(){return!this.hidden&&this.filterState>0}get collapsed(){return this._collapsed}set collapsed(t){this._collapsed=t}set parent(t){this._parent=t}get parent(){return this._parent}set children(t){this._children=t,this._count=Math.max(this._count||0,this._children.length)}get children(){return this._children}get hasChildren(){return this._children.length>0||this._count>0}set count(t){this._count=t}get isLoaded(){return null==this._count||this._count<=this._children.length}get isPartialyLoaded(){return this._children.length>0&&this._count>this._children.length}get hasParent(){return!!this.parent&&this.parent.level>-1}get firstChild(){return this.children[0]}get lastChild(){return this.children[this.children.length-1]}addChild(t){this._children.push(t),t.parent=this,t.level=this.level+1,this._count=Math.max(this._count||0,this._children.length)}insertChildren(t,e){this._children.splice(e,0,...t),t.forEach((t=>{t.parent=this,t.level=this.level+1})),this._count=Math.max(this._count||0,this._children.length)}deleteChildren(t,e){if(Array.isArray(t)){const e=new Set;t.forEach((t=>{t.parent=null,e.add(t)})),this._children=this._children.filter((t=>!e.has(t))),this._count-=t.length}else e=e||1,this._children.splice(t,e),this._count-=e}expand(t){this._collapsed=!1,t&&this.hasChildren&&this.walk((t=>t.hidden=!1))}collapse(){this._collapsed=!0}toggleCollapse(t=!1,e){const i=this._collapsed;i?this.expand(e):this.collapse(),t&&(i?this.walk((t=>t.expand(e))):this.walk((t=>t.collapse())))}clearChildren(){this._children.forEach((t=>t.parent=null)),this._children=[],this._count=null}walk(t){this._children.forEach((e=>{!1!==t(e)&&e.walk(t)}))}walkVisible(t){this._children.forEach((e=>{e.visible&&(!1===t(e)||e.collapsed)||e.walkVisible(t)}))}walkUp(t){this._parent&&!1!==t(this._parent)&&this._parent.walkUp(t)}_sort(t){this.hasChildren&&(this._children.sort(t),this._children.forEach((e=>e._sort(t))))}sort(t){this._sort(((e,i)=>e.sortable&&i.sortable?t(e,i):e.index-i.index))}}}function bn(t,e,i){const o=[[e,-1]];let n,r=-1,s=-1,a=0;return i?.reverse&&(t=[...t].reverse()),e._children=[],e._parent=null,t.forEach((t=>{for(t._children=[],t._parent=null,a=t.level+e.level+1,n&&r<a&&o.push([n,r]);o[o.length-1][1]>=a;)o.pop();r=a,o[o.length-1][0].addChild(t),s=Math.max(s,t.level+(t.hasChildren?1:0)),n=t})),s}function yn(t,e){let i=-1;return t.forEach((i=>{(null==i.parentIndex?e:t[i.parentIndex]).addChild(i)})),e.walk((t=>{t.level=t.parent?t.parent.level+1:0,i=Math.max(i,t.level)})),i}function wn(t,e){return t.length>0?null==t[0].level?yn(t,e):bn(t,e):-1}function xn(t,e=.15){return W()(t).lighten(e).hex().toString()}function kn(t,e=.15){return W()(t).darken(e).hex().toString()}function Cn(t,e=.15){return W()(t).alpha(e).hexa().toString()}function Mn(t){const e=W()(t);return e.red(255-e.red()).green(255-e.green()).blue(255-e.red()).hex().toString()}function _n(t,e,i=.15){return W()(t).mix(W()(e),i).hex().toString()}function Sn(t){const e=W()(t);return.299*e.red()+.587*e.green()+.114*e.blue()>128?"#000000":"#FFFFFF"}function En(t){return t&&"#"==t[0]?t.substring(1):t}function zn(t){return t&&"#"!=t[0]?"#"+t:t}class Rn extends Event{constructor(t,e,i=null,o={}){super(`${t}.action${(o=Object.assign({common:!0,composed:!0,bubbles:!0},o)).common?"":`.${e.key}`}`,o),this.scope=t,this.action=e,this.args=i}}function In(t,e,i,o=null,n=null){t.dispatchEvent(new Rn(e,i,o,Object.assign({common:!1},n))),t.dispatchEvent(new Rn(e,i,o,Object.assign({common:!0},n)))}function Ln(t){return t.map((t=>[...t].reverse()))}function Hn(t){return t.map((t=>[...t])).reverse()}function Tn(t){const e=Array(t[0].length).fill(null).map((()=>Array(t.length)));for(let i=0;i<t.length;i++)for(let o=0;o<t[i].length;o++)e[o][i]=t[i][o];return e}function An(t){return t.map((t=>[...t]))}class On extends Event{constructor(t={}){Z(t)?(super(t.type??"change"),this.value=t.value,this.oldValue=t.oldValue):(super("change"),this.value=t)}}class $n extends Event{constructor(t={}){super("add"),Z(t)?Object.assign(this,t):this.value=t}}class Dn extends Event{constructor(t){super("serialize"),this.data=t}}const Nn={Letter:{width:215.9,height:279.4},Tabloid:{width:279.4,height:431.8},Legal:{width:215.9,height:355.6},Executive:{width:184.15,height:266.7},A3:{width:297,height:420},A4:{width:210,height:297},A5:{width:148,height:210},A6:{width:105,height:148},B4:{width:250,height:353},B5:{width:176,height:250},Folio:{width:215.9,height:330.2},Envelope:{width:104.8,height:241.3},Monarch:{width:98.4,height:190.5}};function Pn(){const t=window.innerWidth;return t<=768?"mobile":t>768&&t<=1024?"tablet":"desktop"}let jn={};const Vn=t=>{t.locale&&yo(t.locale),jn=t},Bn=()=>ot({locale:vo(),formatLocale:vo(),dateFormat:"yyyy-MM-dd",fontSize:G.FONT_SIZE,systemDecimalSeparator:sn(vo()),user:{id:"0",name:"Anonymous"}},jn);function Fn(t,e=null){const i=ot({},Bn(),e,t);return i.dateFormatter=i.dateFormatter||No(i.locale,i.dateFormat),i}var Wn,Un,Gn=function(t,e,i,o){if("a"===i&&!o)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!o:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?o:"a"===i?o.call(t):o?o.value:e.get(t)};class Yn{}class qn{static async load(t,e){let i=(e=e||document).__ogid;i||(i=Math.random().toString(36).slice(2),e.__ogid=i);const o=`${i}-${t}`;if(Gn(this,Wn,"f",Un)||function(t,e,i,o,n){if("m"===o)throw new TypeError("Private method is not writable");if("a"===o&&!n)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!n:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");"a"===o?n.call(t,i):n?n.value=i:e.set(t,i)}(this,Wn,new Map,"f",Un),this.scripts||(this.scripts=new Map),!this.scripts.has(o))return new Promise(((i,n)=>{const r=Gn(this,Wn,"f",Un).get(o)||[];if(r.push([i,n]),Gn(this,Wn,"f",Un).set(o,r),r.length>1)return;const s=e.createElement("script");s.src=t,s.onload=()=>{Gn(this,Wn,"f",Un).get(o).forEach((([t])=>t())),Gn(this,Wn,"f",Un).delete(o)},s.onerror=t=>{const e=Q(t)?new Error(t):t;Gn(this,Wn,"f",Un).get(o).forEach((([t,i])=>i(e))),Gn(this,Wn,"f",Un).delete(o)},e.head.appendChild(s)}))}}Wn=qn,Un={value:void 0};class Zn{constructor(t){this.data=t,this.next=null,this.prev=null}}class Xn{constructor(){this.head=null}insertAtEnd(t){const e=new Zn(t);if(this.head){const t=e=>e.next?t(e.next):e,i=t(this.head);e.prev=i,i.next=e}else this.head=e;return e}insertInBegin(t){const e=new Zn(t);return this.head?(this.head.prev=e,e.next=this.head,this.head=e):this.head=e,e}deleteNode(t){t.prev?t.prev.next=t.next:this.head=t.next}search(t){const e=i=>t(i.data)?i:i.next?e(i.next):null;return this.head?e(this.head):null}traverse(){const t=[];if(!this.head)return t;const e=i=>(t.push(i.data),i.next?e(i.next):t);return e(this.head)}size(){return this.traverse().length}}const Qn=globalThis,Kn=Qn.ShadowRoot&&(void 0===Qn.ShadyCSS||Qn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Jn=Symbol(),tr=new WeakMap;class er{constructor(t,e,i){if(this._$cssResult$=!0,i!==Jn)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(Kn&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=tr.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&tr.set(e,t))}return t}toString(){return this.cssText}}const ir=t=>new er("string"==typeof t?t:t+"",void 0,Jn),or=(t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[o+1]),t[0]);return new er(i,t,Jn)},nr=(t,e)=>{if(Kn)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const i of e){const e=document.createElement("style"),o=Qn.litNonce;void 0!==o&&e.setAttribute("nonce",o),e.textContent=i.cssText,t.appendChild(e)}},rr=Kn?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return ir(e)})(t):t,{is:sr,defineProperty:ar,getOwnPropertyDescriptor:lr,getOwnPropertyNames:cr,getOwnPropertySymbols:hr,getPrototypeOf:dr}=Object,ur=globalThis,pr=ur.trustedTypes,gr=pr?pr.emptyScript:"",mr=ur.reactiveElementPolyfillSupport,fr=(t,e)=>t,vr={toAttribute(t,e){switch(e){case Boolean:t=t?gr:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},br=(t,e)=>!sr(t,e),yr={attribute:!0,type:String,converter:vr,reflect:!1,hasChanged:br};Symbol.metadata??=Symbol("metadata"),ur.litPropertyMetadata??=new WeakMap;class wr extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=yr){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const i=Symbol(),o=this.getPropertyDescriptor(t,i,e);void 0!==o&&ar(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){const{get:o,set:n}=lr(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return o?.call(this)},set(e){const r=o?.call(this);n.call(this,e),this.requestUpdate(t,r,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??yr}static _$Ei(){if(this.hasOwnProperty(fr("elementProperties")))return;const t=dr(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(fr("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(fr("properties"))){const t=this.properties,e=[...cr(t),...hr(t)];for(const i of e)this.createProperty(i,t[i])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,i]of e)this.elementProperties.set(t,i)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const i=this._$Eu(t,e);void 0!==i&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(rr(t))}else void 0!==t&&e.push(rr(t));return e}static _$Eu(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const i of e.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return nr(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EC(t,e){const i=this.constructor.elementProperties.get(t),o=this.constructor._$Eu(t,i);if(void 0!==o&&!0===i.reflect){const n=(void 0!==i.converter?.toAttribute?i.converter:vr).toAttribute(e,i.type);this._$Em=t,null==n?this.removeAttribute(o):this.setAttribute(o,n),this._$Em=null}}_$AK(t,e){const i=this.constructor,o=i._$Eh.get(t);if(void 0!==o&&this._$Em!==o){const t=i.getPropertyOptions(o),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:vr;this._$Em=o,this[o]=n.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,i){if(void 0!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??br)(this[t],e))return;this.P(t,e,i)}!1===this.isUpdatePending&&(this._$ES=this._$ET())}P(t,e,i){this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,i]of t)!0!==i.wrapped||this._$AL.has(e)||void 0===this[e]||this.P(e,this[e],i)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$EU()}catch(e){throw t=!1,this._$EU(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU()}updated(t){}firstUpdated(t){}}wr.elementStyles=[],wr.shadowRootOptions={mode:"open"},wr[fr("elementProperties")]=new Map,wr[fr("finalized")]=new Map,mr?.({ReactiveElement:wr}),(ur.reactiveElementVersions??=[]).push("2.0.4");const xr=globalThis,kr=xr.trustedTypes,Cr=kr?kr.createPolicy("lit-html",{createHTML:t=>t}):void 0,Mr="$lit$",_r=`lit$${Math.random().toFixed(9).slice(2)}$`,Sr="?"+_r,Er=`<${Sr}>`,zr=document,Rr=()=>zr.createComment(""),Ir=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Lr=Array.isArray,Hr=t=>Lr(t)||"function"==typeof t?.[Symbol.iterator],Tr="[ \t\n\f\r]",Ar=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Or=/-->/g,$r=/>/g,Dr=RegExp(`>|${Tr}(?:([^\\s"'>=/]+)(${Tr}*=${Tr}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Nr=/'/g,Pr=/"/g,jr=/^(?:script|style|textarea|title)$/i,Vr=t=>(e,...i)=>({_$litType$:t,strings:e,values:i}),Br=Vr(1),Fr=Vr(2),Wr=Symbol.for("lit-noChange"),Ur=Symbol.for("lit-nothing"),Gr=new WeakMap,Yr=zr.createTreeWalker(zr,129);function qr(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Cr?Cr.createHTML(e):e}const Zr=(t,e)=>{const i=t.length-1,o=[];let n,r=2===e?"<svg>":"",s=Ar;for(let e=0;e<i;e++){const i=t[e];let a,l,c=-1,h=0;for(;h<i.length&&(s.lastIndex=h,l=s.exec(i),null!==l);)h=s.lastIndex,s===Ar?"!--"===l[1]?s=Or:void 0!==l[1]?s=$r:void 0!==l[2]?(jr.test(l[2])&&(n=RegExp("</"+l[2],"g")),s=Dr):void 0!==l[3]&&(s=Dr):s===Dr?">"===l[0]?(s=n??Ar,c=-1):void 0===l[1]?c=-2:(c=s.lastIndex-l[2].length,a=l[1],s=void 0===l[3]?Dr:'"'===l[3]?Pr:Nr):s===Pr||s===Nr?s=Dr:s===Or||s===$r?s=Ar:(s=Dr,n=void 0);const d=s===Dr&&t[e+1].startsWith("/>")?" ":"";r+=s===Ar?i+Er:c>=0?(o.push(a),i.slice(0,c)+Mr+i.slice(c)+_r+d):i+_r+(-2===c?e:d)}return[qr(t,r+(t[i]||"<?>")+(2===e?"</svg>":"")),o]};class Xr{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let n=0,r=0;const s=t.length-1,a=this.parts,[l,c]=Zr(t,e);if(this.el=Xr.createElement(l,i),Yr.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(o=Yr.nextNode())&&a.length<s;){if(1===o.nodeType){if(o.hasAttributes())for(const t of o.getAttributeNames())if(t.endsWith(Mr)){const e=c[r++],i=o.getAttribute(t).split(_r),s=/([.?@])?(.*)/.exec(e);a.push({type:1,index:n,name:s[2],strings:i,ctor:"."===s[1]?es:"?"===s[1]?is:"@"===s[1]?os:ts}),o.removeAttribute(t)}else t.startsWith(_r)&&(a.push({type:6,index:n}),o.removeAttribute(t));if(jr.test(o.tagName)){const t=o.textContent.split(_r),e=t.length-1;if(e>0){o.textContent=kr?kr.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],Rr()),Yr.nextNode(),a.push({type:2,index:++n});o.append(t[e],Rr())}}}else if(8===o.nodeType)if(o.data===Sr)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(_r,t+1));)a.push({type:7,index:n}),t+=_r.length-1}n++}}static createElement(t,e){const i=zr.createElement("template");return i.innerHTML=t,i}}function Qr(t,e,i=t,o){if(e===Wr)return e;let n=void 0!==o?i._$Co?.[o]:i._$Cl;const r=Ir(e)?void 0:e._$litDirective$;return n?.constructor!==r&&(n?._$AO?.(!1),void 0===r?n=void 0:(n=new r(t),n._$AT(t,i,o)),void 0!==o?(i._$Co??=[])[o]=n:i._$Cl=n),void 0!==n&&(e=Qr(t,n._$AS(t,e.values),n,o)),e}class Kr{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:i}=this._$AD,o=(t?.creationScope??zr).importNode(e,!0);Yr.currentNode=o;let n=Yr.nextNode(),r=0,s=0,a=i[0];for(;void 0!==a;){if(r===a.index){let e;2===a.type?e=new Jr(n,n.nextSibling,this,t):1===a.type?e=new a.ctor(n,a.name,a.strings,this,t):6===a.type&&(e=new ns(n,this,t)),this._$AV.push(e),a=i[++s]}r!==a?.index&&(n=Yr.nextNode(),r++)}return Yr.currentNode=zr,o}p(t){let e=0;for(const i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class Jr{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,i,o){this.type=2,this._$AH=Ur,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cv=o?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=Qr(this,t,e),Ir(t)?t===Ur||null==t||""===t?(this._$AH!==Ur&&this._$AR(),this._$AH=Ur):t!==this._$AH&&t!==Wr&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):Hr(t)?this.k(t):this._(t)}S(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.S(t))}_(t){this._$AH!==Ur&&Ir(this._$AH)?this._$AA.nextSibling.data=t:this.T(zr.createTextNode(t)),this._$AH=t}$(t){const{values:e,_$litType$:i}=t,o="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=Xr.createElement(qr(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===o)this._$AH.p(e);else{const t=new Kr(o,this),i=t.u(this.options);t.p(e),this.T(i),this._$AH=t}}_$AC(t){let e=Gr.get(t.strings);return void 0===e&&Gr.set(t.strings,e=new Xr(t)),e}k(t){Lr(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const n of t)o===e.length?e.push(i=new Jr(this.S(Rr()),this.S(Rr()),this,this.options)):i=e[o],i._$AI(n),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class ts{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,i,o,n){this.type=1,this._$AH=Ur,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=n,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=Ur}_$AI(t,e=this,i,o){const n=this.strings;let r=!1;if(void 0===n)t=Qr(this,t,e,0),r=!Ir(t)||t!==this._$AH&&t!==Wr,r&&(this._$AH=t);else{const o=t;let s,a;for(t=n[0],s=0;s<n.length-1;s++)a=Qr(this,o[i+s],e,s),a===Wr&&(a=this._$AH[s]),r||=!Ir(a)||a!==this._$AH[s],a===Ur?t=Ur:t!==Ur&&(t+=(a??"")+n[s+1]),this._$AH[s]=a}r&&!o&&this.j(t)}j(t){t===Ur?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class es extends ts{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===Ur?void 0:t}}class is extends ts{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==Ur)}}class os extends ts{constructor(t,e,i,o,n){super(t,e,i,o,n),this.type=5}_$AI(t,e=this){if((t=Qr(this,t,e,0)??Ur)===Wr)return;const i=this._$AH,o=t===Ur&&i!==Ur||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,n=t!==Ur&&(i===Ur||o);o&&this.element.removeEventListener(this.name,this,i),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class ns{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){Qr(this,t)}}const rs={P:Mr,A:_r,C:Sr,M:1,L:Zr,R:Kr,D:Hr,V:Qr,I:Jr,H:ts,N:is,U:os,B:es,F:ns},ss=xr.litHtmlPolyfillSupport;ss?.(Xr,Jr),(xr.litHtmlVersions??=[]).push("3.1.3");const as=(t,e,i)=>{const o=i?.renderBefore??e;let n=o._$litPart$;if(void 0===n){const t=i?.renderBefore??null;o._$litPart$=n=new Jr(e.insertBefore(Rr(),t),t,void 0,i??{})}return n._$AI(t),n};class ls extends wr{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=as(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Wr}}ls._$litElement$=!0,ls.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:ls});const cs=globalThis.litElementPolyfillSupport;cs?.({LitElement:ls}),(globalThis.litElementVersions??=[]).push("4.0.5");const hs=t=>(e,i)=>{void 0!==i?i.addInitializer((()=>{customElements.define(t,e)})):customElements.define(t,e)},ds={attribute:!0,type:String,converter:vr,reflect:!1,hasChanged:br},us=(t=ds,e,i)=>{const{kind:o,metadata:n}=i;let r=globalThis.litPropertyMetadata.get(n);if(void 0===r&&globalThis.litPropertyMetadata.set(n,r=new Map),r.set(i.name,t),"accessor"===o){const{name:o}=i;return{set(i){const n=e.get.call(this);e.set.call(this,i),this.requestUpdate(o,n,t)},init(e){return void 0!==e&&this.P(o,void 0,t),e}}}if("setter"===o){const{name:o}=i;return function(i){const n=this[o];e.call(this,i),this.requestUpdate(o,n,t)}}throw Error("Unsupported decorator location: "+o)};function ps(t){return(e,i)=>"object"==typeof i?us(t,e,i):((t,e,i)=>{const o=e.hasOwnProperty(i);return e.constructor.createProperty(i,o?{...t,wrapped:!0}:t),o?Object.getOwnPropertyDescriptor(e,i):void 0})(t,e,i)}function gs(t){return ps({...t,state:!0,attribute:!1})}const ms=(t,e,i)=>(i.configurable=!0,i.enumerable=!0,Reflect.decorate&&"object"!=typeof e&&Object.defineProperty(t,e,i),i);function fs(t,e){return(i,o,n)=>{const r=e=>e.renderRoot?.querySelector(t)??null;if(e){const{get:t,set:e}="object"==typeof o?i:n??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return ms(i,o,{get(){let i=t.call(this);return void 0===i&&(i=r(this),(null!==i||this.hasUpdated)&&e.call(this,i)),i}})}return ms(i,o,{get(){return r(this)}})}}let vs;function bs(t){return(e,i)=>ms(e,i,{get(){return(this.renderRoot??(vs??=document.createDocumentFragment())).querySelectorAll(t)}})}function*ys(t,e){if(void 0!==t){let i=0;for(const o of t)yield e(o,i++)}}const ws=or`
|
|
3
3
|
* {
|
|
4
4
|
box-sizing: border-box;
|
|
5
5
|
}
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
@resize="${this._debounceResize}">
|
|
64
64
|
</og-sizer>
|
|
65
65
|
<div class="overlay"></div>
|
|
66
|
-
`},this.addEventListener("mousemove",this._onMouseMove)}getContainer(t){return this.containers[this.indexMap[t]]}connectedCallback(){super.connectedCallback()}disconnectedCallback(){super.disconnectedCallback()}splitContainer(t){this.items.splice(t,0,{size:null}),this.items.forEach((t=>t.size=null)),this.requestUpdate()}removeContainer(t){this.items.splice(t,1),this.items.forEach((t=>t.size=null)),this.requestUpdate()}getContainerComponent(t){return this.indexMap[t]>-1?this.containers[this.indexMap[t]].firstChild:null}setContainerSize(t,e){this.items[t].size=e;const i=this.getContainer(t);i&&(i.style.flexBasis=e>0?$t(e):"0",i.style.flexGrow=e>0?"0":"1",i.style.flexShrink=e>0?"0":"1")}getContainerSize(t){const e=this.getContainer(t);return e?"horizontal"==this.orientation?e.offsetWidth:e.offsetHeight:0}resetContainerSizes(){this.items.forEach(((t,e)=>this.setContainerSize(e,null)))}async collapse(t,e=!0){this.items[t].collapsed=e,this.indexContainers(),this.requestUpdate(),await this.updateComplete,this.layout()}indexContainers(){this.indexMap=[];let t=0;this.items.forEach(((e,i)=>{e||(e={size:null},this.items[i]=e),this.indexMap.push(e?.collapsed?-1:t++)}))}willUpdate(t){this.items&&0!=this.items.length||this.items.push({size:null}),(t.has("items")||0==this.dynamicSizeIndices.length)&&(this.dynamicSizeIndices=[...this.items.keys()].filter((t=>null==this.items[t].size)),0==this.dynamicSizeIndices.length&&(this.dynamicSizeIndices=[this.items.length-1])),this.indexContainers()}getComponent(t,e){return this.createComponent?this.createComponent(e??t):null}async updateComponent(t){if(this.items[t].collapsed)return;const e=this.getContainer(t);if(!e)return;const i=this.items[t];St(e),this.setContainerSize(t,i.size);const o=await this.getComponent(t,i.id);o&&(e.appendChild(o),this.dispatchEvent(new ks("component",{index:t,component:o})))}async updated(){for(const t of this.containers)await this.updateComponent(parseInt(t.dataset.index));this.layout()}fillRemainingSpace(){this.items?.length&&(this.items.find((t=>null==t.size))||this.setContainerSize(this.items.length-1,null))}layout(){this.fillRemainingSpace(),this.containers.forEach((t=>{const e=this.getContainerComponent(parseInt(t.dataset.index));e?.layout&&e.layout()}))}};Ms.styles=[ws],xs([ps({type:Array})],Ms.prototype,"items",void 0),xs([ps({type:String,reflect:!0})],Ms.prototype,"orientation",void 0),xs([bs(".item")],Ms.prototype,"containers",void 0),xs([fs(".overlay")],Ms.prototype,"overlay",void 0),xs([ps({type:Object})],Ms.prototype,"createComponent",void 0),xs([fs("og-sizer")],Ms.prototype,"sizer",void 0),Ms=xs([hs("og-splitcontainer")],Ms);const{I:_s}=rs,Ss=(t,e)=>void 0===e?void 0!==t?._$litType$:t?._$litType$===e,Es=()=>document.createComment(""),zs=(t,e,i)=>{const o=t._$AA.parentNode,n=void 0===e?t._$AB:e._$AA;if(void 0===i){const e=o.insertBefore(Es(),n),r=o.insertBefore(Es(),n);i=new _s(e,r,t,t.options)}else{const e=i._$AB.nextSibling,r=i._$AM,s=r!==t;if(s){let e;i._$AQ?.(t),i._$AM=t,void 0!==i._$AP&&(e=t._$AU)!==r._$AU&&i._$AP(e)}if(e!==n||s){let t=i._$AA;for(;t!==e;){const e=t.nextSibling;o.insertBefore(t,n),t=e}}}return i},Rs={},
|
|
66
|
+
`},this.addEventListener("mousemove",this._onMouseMove)}getContainer(t){return this.containers[this.indexMap[t]]}connectedCallback(){super.connectedCallback()}disconnectedCallback(){super.disconnectedCallback()}splitContainer(t){this.items.splice(t,0,{size:null}),this.items.forEach((t=>t.size=null)),this.requestUpdate()}removeContainer(t){this.items.splice(t,1),this.items.forEach((t=>t.size=null)),this.requestUpdate()}getContainerComponent(t){return this.indexMap[t]>-1?this.containers[this.indexMap[t]].firstChild:null}setContainerSize(t,e){this.items[t].size=e;const i=this.getContainer(t);i&&(i.style.flexBasis=e>0?$t(e):"0",i.style.flexGrow=e>0?"0":"1",i.style.flexShrink=e>0?"0":"1")}getContainerSize(t){const e=this.getContainer(t);return e?"horizontal"==this.orientation?e.offsetWidth:e.offsetHeight:0}resetContainerSizes(){this.items.forEach(((t,e)=>this.setContainerSize(e,null)))}async collapse(t,e=!0){this.items[t].collapsed=e,this.indexContainers(),this.requestUpdate(),await this.updateComplete,this.layout()}indexContainers(){this.indexMap=[];let t=0;this.items.forEach(((e,i)=>{e||(e={size:null},this.items[i]=e),this.indexMap.push(e?.collapsed?-1:t++)}))}willUpdate(t){this.items&&0!=this.items.length||this.items.push({size:null}),(t.has("items")||0==this.dynamicSizeIndices.length)&&(this.dynamicSizeIndices=[...this.items.keys()].filter((t=>null==this.items[t].size)),0==this.dynamicSizeIndices.length&&(this.dynamicSizeIndices=[this.items.length-1])),this.indexContainers()}getComponent(t,e){return this.createComponent?this.createComponent(e??t):null}async updateComponent(t){if(this.items[t].collapsed)return;const e=this.getContainer(t);if(!e)return;const i=this.items[t];St(e),this.setContainerSize(t,i.size);const o=await this.getComponent(t,i.id);o&&(e.appendChild(o),this.dispatchEvent(new ks("component",{index:t,component:o})))}async updated(){for(const t of this.containers)await this.updateComponent(parseInt(t.dataset.index));this.layout()}fillRemainingSpace(){this.items?.length&&(this.items.find((t=>null==t.size))||this.setContainerSize(this.items.length-1,null))}layout(){this.fillRemainingSpace(),this.containers.forEach((t=>{const e=this.getContainerComponent(parseInt(t.dataset.index));e?.layout&&e.layout()}))}};Ms.styles=[ws],xs([ps({type:Array})],Ms.prototype,"items",void 0),xs([ps({type:String,reflect:!0})],Ms.prototype,"orientation",void 0),xs([bs(".item")],Ms.prototype,"containers",void 0),xs([fs(".overlay")],Ms.prototype,"overlay",void 0),xs([ps({type:Object})],Ms.prototype,"createComponent",void 0),xs([fs("og-sizer")],Ms.prototype,"sizer",void 0),Ms=xs([hs("og-splitcontainer")],Ms);const{I:_s}=rs,Ss=(t,e)=>void 0===e?void 0!==t?._$litType$:t?._$litType$===e,Es=()=>document.createComment(""),zs=(t,e,i)=>{const o=t._$AA.parentNode,n=void 0===e?t._$AB:e._$AA;if(void 0===i){const e=o.insertBefore(Es(),n),r=o.insertBefore(Es(),n);i=new _s(e,r,t,t.options)}else{const e=i._$AB.nextSibling,r=i._$AM,s=r!==t;if(s){let e;i._$AQ?.(t),i._$AM=t,void 0!==i._$AP&&(e=t._$AU)!==r._$AU&&i._$AP(e)}if(e!==n||s){let t=i._$AA;for(;t!==e;){const e=t.nextSibling;o.insertBefore(t,n),t=e}}}return i},Rs={},Is=(t,e=Rs)=>t._$AH=e,Ls=t=>t._$AH,Hs=t=>(...e)=>({_$litDirective$:t,values:e});class Ts{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}const As=(t,e)=>{const i=t._$AN;if(void 0===i)return!1;for(const t of i)t._$AO?.(e,!1),As(t,e);return!0},Os=t=>{let e,i;do{if(void 0===(e=t._$AM))break;i=e._$AN,i.delete(t),t=e}while(0===i?.size)},$s=t=>{for(let e;e=t._$AM;t=e){let i=e._$AN;if(void 0===i)e._$AN=i=new Set;else if(i.has(t))break;i.add(t),Ps(e)}};function Ds(t){void 0!==this._$AN?(Os(this),this._$AM=t,$s(this)):this._$AM=t}function Ns(t,e=!1,i=0){const o=this._$AH,n=this._$AN;if(void 0!==n&&0!==n.size)if(e)if(Array.isArray(o))for(let t=i;t<o.length;t++)As(o[t],!1),Os(o[t]);else null!=o&&(As(o,!1),Os(o));else As(this,t)}const Ps=t=>{2==t.type&&(t._$AP??=Ns,t._$AQ??=Ds)};class js extends Ts{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,i){super._$AT(t,e,i),$s(this),this.isConnected=t._$AU}_$AO(t,e=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),e&&(As(this,t),Os(this))}setValue(t){if((t=>void 0===this._$Ct.strings)())this._$Ct._$AI(t,this);else{const e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}}class Vs{constructor(t){this.Y=t}disconnect(){this.Y=void 0}reconnect(t){this.Y=t}deref(){return this.Y}}class Bs{constructor(){this.Z=void 0,this.q=void 0}get(){return this.Z}pause(){this.Z??=new Promise((t=>this.q=t))}resume(){this.q?.(),this.Z=this.q=void 0}}const Fs=t=>!(t=>null===t||"object"!=typeof t&&"function"!=typeof t)(t)&&"function"==typeof t.then,Ws=1073741823,Us=Hs(class extends js{constructor(){super(...arguments),this._$Cwt=Ws,this._$Cbt=[],this._$CK=new Vs(this),this._$CX=new Bs}render(...t){return t.find((t=>!Fs(t)))??Wr}update(t,e){const i=this._$Cbt;let o=i.length;this._$Cbt=e;const n=this._$CK,r=this._$CX;this.isConnected||this.disconnected();for(let t=0;t<e.length&&!(t>this._$Cwt);t++){const s=e[t];if(!Fs(s))return this._$Cwt=t,s;t<o&&s===i[t]||(this._$Cwt=Ws,o=0,Promise.resolve(s).then((async t=>{for(;r.get();)await r.get();const e=n.deref();if(void 0!==e){const i=e._$Cbt.indexOf(s);i>-1&&i<e._$Cwt&&(e._$Cwt=i,e.setValue(t))}})))}return Wr}disconnected(){this._$CK.disconnect(),this._$CX.pause()}reconnected(){this._$CK.reconnect(this),this._$CX.resume()}});var Gs,Ys,qs,Zs=function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s},Xs=function(t,e,i,o,n){if("m"===o)throw new TypeError("Private method is not writable");if("a"===o&&!n)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!n:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===o?n.call(t,i):n?n.value=i:e.set(t,i),i},Qs=function(t,e,i,o){if("a"===i&&!o)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!o:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?o:"a"===i?o.call(t):o?o.value:e.get(t)};let Ks=class extends Ms{constructor(){super(),this.items=[],Gs.set(this,new Map),Ys.set(this,new Set),qs.set(this,[]),this.defaultLayout=!1,this.addEventListener("splitContainer.resize",(()=>{Xs(this,qs,[...this.containers].map((t=>t.offsetHeight)),"f"),this.layout()}))}willUpdate(t){t.has("items")&&(Qs(this,Gs,"f").clear(),Xs(this,qs,[],"f"),this.items?.forEach(((t,e)=>{t.collapsed&&Qs(this,Ys,"f").add(e),t.collapsed=!1,Qs(this,qs,"f").push(t.size)}))),super.willUpdate(t)}get totalCollapsedHeight(){return[...Qs(this,Ys,"f")].reduce(((t,e)=>{const i=Qs(this,Gs,"f").get(e);return i?t+(i.collapsed?i.header.offsetHeight??0:0):t}),0)}async fixSizes(){await Promise.all([...Qs(this,Gs,"f").values()].map((t=>t.updateComplete)));const t=this.clientHeight,e=Qs(this,Ys,"f").size,i=this.items.length-e;let o,n=0,r=0,s=0,a=new Array(this.items.length).fill(null);for(let t=0;t<this.items.length;t++)if(Qs(this,Ys,"f").has(t)){const e=Qs(this,Gs,"f").get(t);if(!e)continue;a[t]=e.header?.offsetHeight||0,n+=a[t]}else a[t]=Qs(this,qs,"f")[t],a[t]||s++,r+=a[t]||0,o=t;let l=t-n-r,c=!1,h=0,d=i;if(l>0)for(let t=0;t<this.items.length;t++)Qs(this,Ys,"f").has(t)||(a[t]?(h=l/d,a[t]+=h,l-=h):(h=l/s,a[t]=h,s--,l-=h,r+=h),d--);for(let t=0;t<this.items.length;t++)if(!Qs(this,Ys,"f").has(t)&&a[t]<50){c=!0;break}c?a=a.map(((t,e)=>Qs(this,Ys,"f").has(e)?t:r/i)):l>0&&(a[o]+=l),a.forEach(((t,e)=>this.setContainerSize(e,t)))}async layout(){await this.fixSizes(),this.containers.forEach(((t,e)=>{const i=this.getContainerComponent(e);i?.layout&&i.layout()}))}getComponent(t,e){let i=Qs(this,Gs,"f").get(t);if(i)return i;i=yt("og-panel");const o=this.items[t];return i.collapsible=!0,i.collapsed=Qs(this,Ys,"f").has(t)??!1,i.icon=o.icon,i.arrowPosition="left",Qs(this,Gs,"f").set(t,i),i.addEventListener("resizestart",(()=>{i.collapsed?(Qs(this,qs,"f")[t]||(Qs(this,qs,"f")[t]=this.getContainer(t).offsetHeight),Qs(this,Ys,"f").add(t)):Qs(this,Ys,"f").delete(t)})),i.addEventListener("resizestop",(()=>{this.layout()})),as(Br`
|
|
67
67
|
<div slot="header">${o.title??""}</div>
|
|
68
68
|
<div slot="body" style="height: 100%; overflow: hidden; position: relative">
|
|
69
69
|
${Us(this.createComponent(e??t))}
|
|
@@ -215,7 +215,7 @@
|
|
|
215
215
|
`:Br``}
|
|
216
216
|
${this.caret?Br`<og-fa-icon icon="caret-down" style="margin: 0 2px 0 4px">`:""}
|
|
217
217
|
</div>
|
|
218
|
-
`,this.addEventListener("click",(t=>{this.disabled?t.stopImmediatePropagation():"toggle"==this.type&&(this.state="checked"==this.state?"unchecked":"checked")}))}connectedCallback(){super.connectedCallback(),this.tabIndex=1}willUpdate(t){"toggle"==this.type&&null==this.state&&(this.state="unchecked"),t.has("icon")&&(Z(this.icon)?this.buttonIcon=this.icon:this.icon?this.buttonIcon={icon:this.icon}:this.buttonIcon=null)}get hasContent(){return this.text||this.children.length>0&&"content"==this.children[0].slot}};Ma.styles=[xa],Ca([ps()],Ma.prototype,"icon",void 0),Ca([ps({type:String})],Ma.prototype,"text",void 0),Ca([ps({type:String,reflect:!0})],Ma.prototype,"color",void 0),Ca([ps({type:Boolean,reflect:!0})],Ma.prototype,"caret",void 0),Ca([ps({type:Boolean,reflect:!0})],Ma.prototype,"disabled",void 0),Ca([ps({type:Boolean,reflect:!0})],Ma.prototype,"default",void 0),Ca([ps({type:String,reflect:!0})],Ma.prototype,"state",void 0),Ca([ps({type:String,reflect:!0})],Ma.prototype,"type",void 0),Ca([gs()],Ma.prototype,"buttonIcon",void 0),Ma=Ca([hs("og-button"),ma({props:["color","border","background"]})],Ma);const _a="important",Sa=" !"+_a,Ea=Hs(class extends Ts{constructor(t){if(super(t),1!==t.type||"style"!==t.name||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((e,i)=>{const o=t[i];return null==o?e:e+`${i=i.includes("-")?i:i.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`}),"")}update(t,[e]){const{style:i}=t.element;if(void 0===this.ft)return this.ft=new Set(Object.keys(e)),this.render(e);for(const t of this.ft)null==e[t]&&(this.ft.delete(t),t.includes("-")?i.removeProperty(t):i[t]=null);for(const t in e){const o=e[t];if(null!=o){this.ft.add(t);const e="string"==typeof o&&o.endsWith(Sa);t.includes("-")||e?i.setProperty(t,e?o.slice(0,-11):o,e?_a:""):i[t]=o}}return Wr}});function za(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,o)}return i}function Ra(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?za(Object(i),!0).forEach((function(e){Ha(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):za(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}function La(t){return La="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},La(t)}function Ia(t,e){for(var i=0;i<e.length;i++){var o=e[i];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Ha(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Ta(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var o,n,r=[],s=!0,a=!1;try{for(i=i.call(t);!(s=(o=i.next()).done)&&(r.push(o.value),!e||r.length!==e);s=!0);}catch(t){a=!0,n=t}finally{try{s||null==i.return||i.return()}finally{if(a)throw n}}return r}}(t,e)||Oa(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Aa(t){return function(t){if(Array.isArray(t))return $a(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||Oa(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Oa(t,e){if(t){if("string"==typeof t)return $a(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?$a(t,e):void 0}}function $a(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,o=new Array(e);i<e;i++)o[i]=t[i];return o}var Da=function(){},Na={},Pa={},ja=null,Va={mark:Da,measure:Da};try{"undefined"!=typeof window&&(Na=window),"undefined"!=typeof document&&(Pa=document),"undefined"!=typeof MutationObserver&&(ja=MutationObserver),"undefined"!=typeof performance&&(Va=performance)}catch(Kn){}var Ba,Fa,Wa,Ua,Ga,Ya=(Na.navigator||{}).userAgent,qa=void 0===Ya?"":Ya,Za=Na,Xa=Pa,Qa=ja,Ka=Va,Ja=(Za.document,!!Xa.documentElement&&!!Xa.head&&"function"==typeof Xa.addEventListener&&"function"==typeof Xa.createElement),tl=~qa.indexOf("MSIE")||~qa.indexOf("Trident/"),el="___FONT_AWESOME___",il="fa",ol="svg-inline--fa",nl="data-fa-i2svg",rl="data-fa-pseudo-element",sl="data-fa-pseudo-element-pending",al="data-prefix",ll="data-icon",cl="fontawesome-i2svg",hl="async",dl=["HTML","HEAD","STYLE","SCRIPT"],ul=function(){try{return!0}catch(t){return!1}}(),pl="classic",gl="sharp",ml=[pl,gl];function fl(t){return new Proxy(t,{get:function(t,e){return e in t?t[e]:t[pl]}})}var vl=fl((Ha(Ba={},pl,{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit","fa-kit":"kit"}),Ha(Ba,gl,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light"}),Ba)),bl=fl((Ha(Fa={},pl,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),Ha(Fa,gl,{solid:"fass",regular:"fasr",light:"fasl"}),Fa)),yl=fl((Ha(Wa={},pl,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),Ha(Wa,gl,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light"}),Wa)),wl=fl((Ha(Ua={},pl,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),Ha(Ua,gl,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl"}),Ua)),xl=/fa(s|r|l|t|d|b|k|ss|sr|sl)?[\-\ ]/,kl="fa-layers-text",Cl=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,Ml=fl((Ha(Ga={},pl,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),Ha(Ga,gl,{900:"fass",400:"fasr",300:"fasl"}),Ga)),_l=[1,2,3,4,5,6,7,8,9,10],Sl=_l.concat([11,12,13,14,15,16,17,18,19,20]),El=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],zl={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Rl=new Set;Object.keys(bl[pl]).map(Rl.add.bind(Rl)),Object.keys(bl[gl]).map(Rl.add.bind(Rl));var Ll=[].concat(ml,Aa(Rl),["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",zl.GROUP,zl.SWAP_OPACITY,zl.PRIMARY,zl.SECONDARY]).concat(_l.map((function(t){return"".concat(t,"x")}))).concat(Sl.map((function(t){return"w-".concat(t)}))),Il=Za.FontAwesomeConfig||{};Xa&&"function"==typeof Xa.querySelector&&[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach((function(t){var e=Ta(t,2),i=e[0],o=e[1],n=function(t){return""===t||"false"!==t&&("true"===t||t)}(function(t){var e=Xa.querySelector("script["+t+"]");if(e)return e.getAttribute(t)}(i));null!=n&&(Il[o]=n)}));var Hl={styleDefault:"solid",familyDefault:"classic",cssPrefix:il,replacementClass:ol,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Il.familyPrefix&&(Il.cssPrefix=Il.familyPrefix);var Tl=Ra(Ra({},Hl),Il);Tl.autoReplaceSvg||(Tl.observeMutations=!1);var Al={};Object.keys(Hl).forEach((function(t){Object.defineProperty(Al,t,{enumerable:!0,set:function(e){Tl[t]=e,Ol.forEach((function(t){return t(Al)}))},get:function(){return Tl[t]}})})),Object.defineProperty(Al,"familyPrefix",{enumerable:!0,set:function(t){Tl.cssPrefix=t,Ol.forEach((function(t){return t(Al)}))},get:function(){return Tl.cssPrefix}}),Za.FontAwesomeConfig=Al;var Ol=[],$l=16,Dl={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1},Nl="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Pl(){for(var t=12,e="";t-- >0;)e+=Nl[62*Math.random()|0];return e}function jl(t){for(var e=[],i=(t||[]).length>>>0;i--;)e[i]=t[i];return e}function Vl(t){return t.classList?jl(t.classList):(t.getAttribute("class")||"").split(" ").filter((function(t){return t}))}function Bl(t){return"".concat(t).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function Fl(t){return Object.keys(t||{}).reduce((function(e,i){return e+"".concat(i,": ").concat(t[i].trim(),";")}),"")}function Wl(t){return t.size!==Dl.size||t.x!==Dl.x||t.y!==Dl.y||t.rotate!==Dl.rotate||t.flipX||t.flipY}var Ul=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n transform: scale(var(--fa-counter-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(var(--fa-li-width, 2em) * -1);\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n -webkit-animation-name: fa-beat;\n animation-name: fa-beat;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n -webkit-animation-name: fa-bounce;\n animation-name: fa-bounce;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n -webkit-animation-name: fa-fade;\n animation-name: fa-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n -webkit-animation-name: fa-beat-fade;\n animation-name: fa-beat-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n -webkit-animation-name: fa-flip;\n animation-name: fa-flip;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n -webkit-animation-name: fa-shake;\n animation-name: fa-shake;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 2s);\n animation-duration: var(--fa-animation-duration, 2s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n -webkit-animation-delay: -1ms;\n animation-delay: -1ms;\n -webkit-animation-duration: 1ms;\n animation-duration: 1ms;\n -webkit-animation-iteration-count: 1;\n animation-iteration-count: 1;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n@-webkit-keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@-webkit-keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@-webkit-keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@-webkit-keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@-webkit-keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@-webkit-keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n -webkit-transform: rotate(var(--fa-rotate-angle, none));\n transform: rotate(var(--fa-rotate-angle, none));\n}\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n color: var(--fa-inverse, #fff);\n}';function Gl(){var t=il,e=ol,i=Al.cssPrefix,o=Al.replacementClass,n=Ul;if(i!==t||o!==e){var r=new RegExp("\\.".concat(t,"\\-"),"g"),s=new RegExp("\\--".concat(t,"\\-"),"g"),a=new RegExp("\\.".concat(e),"g");n=n.replace(r,".".concat(i,"-")).replace(s,"--".concat(i,"-")).replace(a,".".concat(o))}return n}var Yl=!1;function ql(){Al.autoAddCss&&!Yl&&(function(t){if(t&&Ja){var e=Xa.createElement("style");e.setAttribute("type","text/css"),e.innerHTML=t;for(var i=Xa.head.childNodes,o=null,n=i.length-1;n>-1;n--){var r=i[n],s=(r.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(s)>-1&&(o=r)}Xa.head.insertBefore(e,o)}}(Gl()),Yl=!0)}var Zl={mixout:function(){return{dom:{css:Gl,insertCss:ql}}},hooks:function(){return{beforeDOMElementCreation:function(){ql()},beforeI2svg:function(){ql()}}}},Xl=Za||{};Xl[el]||(Xl[el]={}),Xl[el].styles||(Xl[el].styles={}),Xl[el].hooks||(Xl[el].hooks={}),Xl[el].shims||(Xl[el].shims=[]);var Ql=Xl[el],Kl=[],Jl=!1;function tc(t){var e=t.tag,i=t.attributes,o=void 0===i?{}:i,n=t.children,r=void 0===n?[]:n;return"string"==typeof t?Bl(t):"<".concat(e," ").concat(function(t){return Object.keys(t||{}).reduce((function(e,i){return e+"".concat(i,'="').concat(Bl(t[i]),'" ')}),"").trim()}(o),">").concat(r.map(tc).join(""),"</").concat(e,">")}function ec(t,e,i){if(t&&t[e]&&t[e][i])return{prefix:e,iconName:i,icon:t[e][i]}}Ja&&((Jl=(Xa.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Xa.readyState))||Xa.addEventListener("DOMContentLoaded",(function t(){Xa.removeEventListener("DOMContentLoaded",t),Jl=1,Kl.map((function(t){return t()}))})));var ic=function(t,e,i,o){var n,r,s,a=Object.keys(t),l=a.length,c=void 0!==o?function(t,e){return function(i,o,n,r){return t.call(e,i,o,n,r)}}(e,o):e;for(void 0===i?(n=1,s=t[a[0]]):(n=0,s=i);n<l;n++)s=c(s,t[r=a[n]],r,t);return s};function oc(t){var e=function(t){for(var e=[],i=0,o=t.length;i<o;){var n=t.charCodeAt(i++);if(n>=55296&&n<=56319&&i<o){var r=t.charCodeAt(i++);56320==(64512&r)?e.push(((1023&n)<<10)+(1023&r)+65536):(e.push(n),i--)}else e.push(n)}return e}(t);return 1===e.length?e[0].toString(16):null}function nc(t){return Object.keys(t).reduce((function(e,i){var o=t[i];return o.icon?e[o.iconName]=o.icon:e[i]=o,e}),{})}function rc(t,e){var i=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,o=void 0!==i&&i,n=nc(e);"function"!=typeof Ql.hooks.addPack||o?Ql.styles[t]=Ra(Ra({},Ql.styles[t]||{}),n):Ql.hooks.addPack(t,nc(e)),"fas"===t&&rc("fa",e)}var sc,ac,lc,cc=Ql.styles,hc=Ql.shims,dc=(Ha(sc={},pl,Object.values(yl[pl])),Ha(sc,gl,Object.values(yl[gl])),sc),uc=null,pc={},gc={},mc={},fc={},vc={},bc=(Ha(ac={},pl,Object.keys(vl[pl])),Ha(ac,gl,Object.keys(vl[gl])),ac);var yc,wc=function(){var t=function(t){return ic(cc,(function(e,i,o){return e[o]=ic(i,t,{}),e}),{})};pc=t((function(t,e,i){if(e[3]&&(t[e[3]]=i),e[2]){var o=e[2].filter((function(t){return"number"==typeof t}));o.forEach((function(e){t[e.toString(16)]=i}))}return t})),gc=t((function(t,e,i){if(t[i]=i,e[2]){var o=e[2].filter((function(t){return"string"==typeof t}));o.forEach((function(e){t[e]=i}))}return t})),vc=t((function(t,e,i){var o=e[2];return t[i]=i,o.forEach((function(e){t[e]=i})),t}));var e="far"in cc||Al.autoFetchSvg,i=ic(hc,(function(t,i){var o=i[0],n=i[1],r=i[2];return"far"!==n||e||(n="fas"),"string"==typeof o&&(t.names[o]={prefix:n,iconName:r}),"number"==typeof o&&(t.unicodes[o.toString(16)]={prefix:n,iconName:r}),t}),{names:{},unicodes:{}});mc=i.names,fc=i.unicodes,uc=Sc(Al.styleDefault,{family:Al.familyDefault})};function xc(t,e){return(pc[t]||{})[e]}function kc(t,e){return(vc[t]||{})[e]}function Cc(t){return mc[t]||{prefix:null,iconName:null}}function Mc(){return uc}yc=function(t){uc=Sc(t.styleDefault,{family:Al.familyDefault})},Ol.push(yc),wc();var _c=function(){return{prefix:null,iconName:null,rest:[]}};function Sc(t){var e=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).family,i=void 0===e?pl:e,o=vl[i][t],n=bl[i][t]||bl[i][o],r=t in Ql.styles?t:null;return n||r||null}var Ec=(Ha(lc={},pl,Object.keys(yl[pl])),Ha(lc,gl,Object.keys(yl[gl])),lc);function zc(t){var e,i=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipLookups,o=void 0!==i&&i,n=(Ha(e={},pl,"".concat(Al.cssPrefix,"-").concat(pl)),Ha(e,gl,"".concat(Al.cssPrefix,"-").concat(gl)),e),r=null,s=pl;(t.includes(n[pl])||t.some((function(t){return Ec[pl].includes(t)})))&&(s=pl),(t.includes(n[gl])||t.some((function(t){return Ec[gl].includes(t)})))&&(s=gl);var a=t.reduce((function(t,e){var i=function(t,e){var i,o=e.split("-"),n=o[0],r=o.slice(1).join("-");return n!==t||""===r||(i=r,~Ll.indexOf(i))?null:r}(Al.cssPrefix,e);if(cc[e]?(e=dc[s].includes(e)?wl[s][e]:e,r=e,t.prefix=e):bc[s].indexOf(e)>-1?(r=e,t.prefix=Sc(e,{family:s})):i?t.iconName=i:e!==Al.replacementClass&&e!==n[pl]&&e!==n[gl]&&t.rest.push(e),!o&&t.prefix&&t.iconName){var a="fa"===r?Cc(t.iconName):{},l=kc(t.prefix,t.iconName);a.prefix&&(r=null),t.iconName=a.iconName||l||t.iconName,t.prefix=a.prefix||t.prefix,"far"!==t.prefix||cc.far||!cc.fas||Al.autoFetchSvg||(t.prefix="fas")}return t}),_c());return(t.includes("fa-brands")||t.includes("fab"))&&(a.prefix="fab"),(t.includes("fa-duotone")||t.includes("fad"))&&(a.prefix="fad"),a.prefix||s!==gl||!cc.fass&&!Al.autoFetchSvg||(a.prefix="fass",a.iconName=kc(a.prefix,a.iconName)||a.iconName),"fa"!==a.prefix&&"fa"!==r||(a.prefix=Mc()||"fas"),a}var Rc=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.definitions={}}var e,i;return e=t,i=[{key:"add",value:function(){for(var t=this,e=arguments.length,i=new Array(e),o=0;o<e;o++)i[o]=arguments[o];var n=i.reduce(this._pullDefinitions,{});Object.keys(n).forEach((function(e){t.definitions[e]=Ra(Ra({},t.definitions[e]||{}),n[e]),rc(e,n[e]);var i=yl[pl][e];i&&rc(i,n[e]),wc()}))}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(t,e){var i=e.prefix&&e.iconName&&e.icon?{0:e}:e;return Object.keys(i).map((function(e){var o=i[e],n=o.prefix,r=o.iconName,s=o.icon,a=s[2];t[n]||(t[n]={}),a.length>0&&a.forEach((function(e){"string"==typeof e&&(t[n][e]=s)})),t[n][r]=s})),t}}],i&&Ia(e.prototype,i),Object.defineProperty(e,"prototype",{writable:!1}),t}(),Lc=[],Ic={},Hc={},Tc=Object.keys(Hc);function Ac(t,e){for(var i=arguments.length,o=new Array(i>2?i-2:0),n=2;n<i;n++)o[n-2]=arguments[n];return(Ic[t]||[]).forEach((function(t){e=t.apply(null,[e].concat(o))})),e}function Oc(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),o=1;o<e;o++)i[o-1]=arguments[o];(Ic[t]||[]).forEach((function(t){t.apply(null,i)}))}function $c(){var t=arguments[0],e=Array.prototype.slice.call(arguments,1);return Hc[t]?Hc[t].apply(null,e):void 0}function Dc(t){"fa"===t.prefix&&(t.prefix="fas");var e=t.iconName,i=t.prefix||Mc();if(e)return e=kc(i,e)||e,ec(Nc.definitions,i,e)||ec(Ql.styles,i,e)}var Nc=new Rc,Pc={i2svg:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Ja?(Oc("beforeI2svg",t),$c("pseudoElements2svg",t),$c("i2svg",t)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.autoReplaceSvgRoot;!1===Al.autoReplaceSvg&&(Al.autoReplaceSvg=!0),Al.observeMutations=!0,t=function(){Bc({autoReplaceSvgRoot:i}),Oc("watch",e)},Ja&&(Jl?setTimeout(t,0):Kl.push(t))}},jc={icon:function(t){if(null===t)return null;if("object"===La(t)&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:kc(t.prefix,t.iconName)||t.iconName};if(Array.isArray(t)&&2===t.length){var e=0===t[1].indexOf("fa-")?t[1].slice(3):t[1],i=Sc(t[0]);return{prefix:i,iconName:kc(i,e)||e}}if("string"==typeof t&&(t.indexOf("".concat(Al.cssPrefix,"-"))>-1||t.match(xl))){var o=zc(t.split(" "),{skipLookups:!0});return{prefix:o.prefix||Mc(),iconName:kc(o.prefix,o.iconName)||o.iconName}}if("string"==typeof t){var n=Mc();return{prefix:n,iconName:kc(n,t)||t}}}},Vc={noAuto:function(){Al.autoReplaceSvg=!1,Al.observeMutations=!1,Oc("noAuto")},config:Al,dom:Pc,parse:jc,library:Nc,findIconDefinition:Dc,toHtml:tc},Bc=function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).autoReplaceSvgRoot,e=void 0===t?Xa:t;(Object.keys(Ql.styles).length>0||Al.autoFetchSvg)&&Ja&&Al.autoReplaceSvg&&Vc.dom.i2svg({node:e})};function Fc(t,e){return Object.defineProperty(t,"abstract",{get:e}),Object.defineProperty(t,"html",{get:function(){return t.abstract.map((function(t){return tc(t)}))}}),Object.defineProperty(t,"node",{get:function(){if(Ja){var e=Xa.createElement("div");return e.innerHTML=t.html,e.children}}}),t}function Wc(t){var e=t.icons,i=e.main,o=e.mask,n=t.prefix,r=t.iconName,s=t.transform,a=t.symbol,l=t.title,c=t.maskId,h=t.titleId,d=t.extra,u=t.watchable,p=void 0!==u&&u,g=o.found?o:i,m=g.width,f=g.height,v="fak"===n,b=[Al.replacementClass,r?"".concat(Al.cssPrefix,"-").concat(r):""].filter((function(t){return-1===d.classes.indexOf(t)})).filter((function(t){return""!==t||!!t})).concat(d.classes).join(" "),y={children:[],attributes:Ra(Ra({},d.attributes),{},{"data-prefix":n,"data-icon":r,class:b,role:d.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(m," ").concat(f)})},w=v&&!~d.classes.indexOf("fa-fw")?{width:"".concat(m/f*16*.0625,"em")}:{};p&&(y.attributes[nl]=""),l&&(y.children.push({tag:"title",attributes:{id:y.attributes["aria-labelledby"]||"title-".concat(h||Pl())},children:[l]}),delete y.attributes.title);var x=Ra(Ra({},y),{},{prefix:n,iconName:r,main:i,mask:o,maskId:c,transform:s,symbol:a,styles:Ra(Ra({},w),d.styles)}),k=o.found&&i.found?$c("generateAbstractMask",x)||{children:[],attributes:{}}:$c("generateAbstractIcon",x)||{children:[],attributes:{}},C=k.children,M=k.attributes;return x.children=C,x.attributes=M,a?function(t){var e=t.prefix,i=t.iconName,o=t.children,n=t.attributes,r=t.symbol,s=!0===r?"".concat(e,"-").concat(Al.cssPrefix,"-").concat(i):r;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:Ra(Ra({},n),{},{id:s}),children:o}]}]}(x):function(t){var e=t.children,i=t.main,o=t.mask,n=t.attributes,r=t.styles,s=t.transform;if(Wl(s)&&i.found&&!o.found){var a={x:i.width/i.height/2,y:.5};n.style=Fl(Ra(Ra({},r),{},{"transform-origin":"".concat(a.x+s.x/16,"em ").concat(a.y+s.y/16,"em")}))}return[{tag:"svg",attributes:n,children:e}]}(x)}function Uc(t){var e=t.content,i=t.width,o=t.height,n=t.transform,r=t.title,s=t.extra,a=t.watchable,l=void 0!==a&&a,c=Ra(Ra(Ra({},s.attributes),r?{title:r}:{}),{},{class:s.classes.join(" ")});l&&(c[nl]="");var h=Ra({},s.styles);Wl(n)&&(h.transform=function(t){var e=t.transform,i=t.width,o=void 0===i?16:i,n=t.height,r=void 0===n?16:n,s=t.startCentered,a=void 0!==s&&s,l="";return l+=a&&tl?"translate(".concat(e.x/$l-o/2,"em, ").concat(e.y/$l-r/2,"em) "):a?"translate(calc(-50% + ".concat(e.x/$l,"em), calc(-50% + ").concat(e.y/$l,"em)) "):"translate(".concat(e.x/$l,"em, ").concat(e.y/$l,"em) "),(l+="scale(".concat(e.size/$l*(e.flipX?-1:1),", ").concat(e.size/$l*(e.flipY?-1:1),") "))+"rotate(".concat(e.rotate,"deg) ")}({transform:n,startCentered:!0,width:i,height:o}),h["-webkit-transform"]=h.transform);var d=Fl(h);d.length>0&&(c.style=d);var u=[];return u.push({tag:"span",attributes:c,children:[e]}),r&&u.push({tag:"span",attributes:{class:"sr-only"},children:[r]}),u}var Gc=Ql.styles;function Yc(t){var e=t[0],i=t[1],o=Ta(t.slice(4),1)[0];return{found:!0,width:e,height:i,icon:Array.isArray(o)?{tag:"g",attributes:{class:"".concat(Al.cssPrefix,"-").concat(zl.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Al.cssPrefix,"-").concat(zl.SECONDARY),fill:"currentColor",d:o[0]}},{tag:"path",attributes:{class:"".concat(Al.cssPrefix,"-").concat(zl.PRIMARY),fill:"currentColor",d:o[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:o}}}}var qc={found:!1,width:512,height:512};function Zc(t,e){var i=e;return"fa"===e&&null!==Al.styleDefault&&(e=Mc()),new Promise((function(o,n){if($c("missingIconAbstract"),"fa"===i){var r=Cc(t)||{};t=r.iconName||t,e=r.prefix||e}if(t&&e&&Gc[e]&&Gc[e][t])return o(Yc(Gc[e][t]));!function(t,e){ul||Al.showMissingIcons||!t||console.error('Icon with name "'.concat(t,'" and prefix "').concat(e,'" is missing.'))}(t,e),o(Ra(Ra({},qc),{},{icon:Al.showMissingIcons&&t&&$c("missingIconAbstract")||{}}))}))}var Xc=function(){},Qc=Al.measurePerformance&&Ka&&Ka.mark&&Ka.measure?Ka:{mark:Xc,measure:Xc},Kc='FA "6.4.2"',Jc=function(t){Qc.mark("".concat(Kc," ").concat(t," ends")),Qc.measure("".concat(Kc," ").concat(t),"".concat(Kc," ").concat(t," begins"),"".concat(Kc," ").concat(t," ends"))},th={begin:function(t){return Qc.mark("".concat(Kc," ").concat(t," begins")),function(){return Jc(t)}},end:Jc},eh=function(){};function ih(t){return"string"==typeof(t.getAttribute?t.getAttribute(nl):null)}function oh(t){return Xa.createElementNS("http://www.w3.org/2000/svg",t)}function nh(t){return Xa.createElement(t)}function rh(t){var e=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ceFn,i=void 0===e?"svg"===t.tag?oh:nh:e;if("string"==typeof t)return Xa.createTextNode(t);var o=i(t.tag);return Object.keys(t.attributes||[]).forEach((function(e){o.setAttribute(e,t.attributes[e])})),(t.children||[]).forEach((function(t){o.appendChild(rh(t,{ceFn:i}))})),o}var sh={replace:function(t){var e=t[0];if(e.parentNode)if(t[1].forEach((function(t){e.parentNode.insertBefore(rh(t),e)})),null===e.getAttribute(nl)&&Al.keepOriginalSource){var i=Xa.createComment(function(t){var e=" ".concat(t.outerHTML," ");return"".concat(e,"Font Awesome fontawesome.com ")}(e));e.parentNode.replaceChild(i,e)}else e.remove()},nest:function(t){var e=t[0],i=t[1];if(~Vl(e).indexOf(Al.replacementClass))return sh.replace(t);var o=new RegExp("".concat(Al.cssPrefix,"-.*"));if(delete i[0].attributes.id,i[0].attributes.class){var n=i[0].attributes.class.split(" ").reduce((function(t,e){return e===Al.replacementClass||e.match(o)?t.toSvg.push(e):t.toNode.push(e),t}),{toNode:[],toSvg:[]});i[0].attributes.class=n.toSvg.join(" "),0===n.toNode.length?e.removeAttribute("class"):e.setAttribute("class",n.toNode.join(" "))}var r=i.map((function(t){return tc(t)})).join("\n");e.setAttribute(nl,""),e.innerHTML=r}};function ah(t){t()}function lh(t,e){var i="function"==typeof e?e:eh;if(0===t.length)i();else{var o=ah;Al.mutateApproach===hl&&(o=Za.requestAnimationFrame||ah),o((function(){var e=!0===Al.autoReplaceSvg?sh.replace:sh[Al.autoReplaceSvg]||sh.replace,o=th.begin("mutate");t.map(e),o(),i()}))}}var ch=!1;function hh(){ch=!0}function dh(){ch=!1}var uh=null;function ph(t){if(Qa&&Al.observeMutations){var e=t.treeCallback,i=void 0===e?eh:e,o=t.nodeCallback,n=void 0===o?eh:o,r=t.pseudoElementsCallback,s=void 0===r?eh:r,a=t.observeMutationsRoot,l=void 0===a?Xa:a;uh=new Qa((function(t){if(!ch){var e=Mc();jl(t).forEach((function(t){if("childList"===t.type&&t.addedNodes.length>0&&!ih(t.addedNodes[0])&&(Al.searchPseudoElements&&s(t.target),i(t.target)),"attributes"===t.type&&t.target.parentNode&&Al.searchPseudoElements&&s(t.target.parentNode),"attributes"===t.type&&ih(t.target)&&~El.indexOf(t.attributeName))if("class"===t.attributeName&&function(t){var e=t.getAttribute?t.getAttribute(al):null,i=t.getAttribute?t.getAttribute(ll):null;return e&&i}(t.target)){var o=zc(Vl(t.target)),r=o.prefix,a=o.iconName;t.target.setAttribute(al,r||e),a&&t.target.setAttribute(ll,a)}else(l=t.target)&&l.classList&&l.classList.contains&&l.classList.contains(Al.replacementClass)&&n(t.target);var l}))}})),Ja&&uh.observe(l,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function gh(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},i=function(t){var e,i,o=t.getAttribute("data-prefix"),n=t.getAttribute("data-icon"),r=void 0!==t.innerText?t.innerText.trim():"",s=zc(Vl(t));return s.prefix||(s.prefix=Mc()),o&&n&&(s.prefix=o,s.iconName=n),s.iconName&&s.prefix||(s.prefix&&r.length>0&&(s.iconName=(e=s.prefix,i=t.innerText,(gc[e]||{})[i]||xc(s.prefix,oc(t.innerText)))),!s.iconName&&Al.autoFetchSvg&&t.firstChild&&t.firstChild.nodeType===Node.TEXT_NODE&&(s.iconName=t.firstChild.data)),s}(t),o=i.iconName,n=i.prefix,r=i.rest,s=function(t){var e=jl(t.attributes).reduce((function(t,e){return"class"!==t.name&&"style"!==t.name&&(t[e.name]=e.value),t}),{}),i=t.getAttribute("title"),o=t.getAttribute("data-fa-title-id");return Al.autoA11y&&(i?e["aria-labelledby"]="".concat(Al.replacementClass,"-title-").concat(o||Pl()):(e["aria-hidden"]="true",e.focusable="false")),e}(t),a=Ac("parseNodeAttributes",{},t),l=e.styleParser?function(t){var e=t.getAttribute("style"),i=[];return e&&(i=e.split(";").reduce((function(t,e){var i=e.split(":"),o=i[0],n=i.slice(1);return o&&n.length>0&&(t[o]=n.join(":").trim()),t}),{})),i}(t):[];return Ra({iconName:o,title:t.getAttribute("title"),titleId:t.getAttribute("data-fa-title-id"),prefix:n,transform:Dl,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:r,styles:l,attributes:s}},a)}var mh=Ql.styles;function fh(t){var e="nest"===Al.autoReplaceSvg?gh(t,{styleParser:!1}):gh(t);return~e.extra.classes.indexOf(kl)?$c("generateLayersText",t,e):$c("generateSvgReplacementMutation",t,e)}var vh=new Set;function bh(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!Ja)return Promise.resolve();var i=Xa.documentElement.classList,o=function(t){return i.add("".concat(cl,"-").concat(t))},n=function(t){return i.remove("".concat(cl,"-").concat(t))},r=Al.autoFetchSvg?vh:ml.map((function(t){return"fa-".concat(t)})).concat(Object.keys(mh));r.includes("fa")||r.push("fa");var s=[".".concat(kl,":not([").concat(nl,"])")].concat(r.map((function(t){return".".concat(t,":not([").concat(nl,"])")}))).join(", ");if(0===s.length)return Promise.resolve();var a=[];try{a=jl(t.querySelectorAll(s))}catch(t){}if(!(a.length>0))return Promise.resolve();o("pending"),n("complete");var l=th.begin("onTree"),c=a.reduce((function(t,e){try{var i=fh(e);i&&t.push(i)}catch(t){ul||"MissingIcon"===t.name&&console.error(t)}return t}),[]);return new Promise((function(t,i){Promise.all(c).then((function(i){lh(i,(function(){o("active"),o("complete"),n("pending"),"function"==typeof e&&e(),l(),t()}))})).catch((function(t){l(),i(t)}))}))}function yh(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;fh(t).then((function(t){t&&lh([t],e)}))}ml.map((function(t){vh.add("fa-".concat(t))})),Object.keys(vl[pl]).map(vh.add.bind(vh)),Object.keys(vl[gl]).map(vh.add.bind(vh)),vh=Aa(vh);var wh=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e.transform,o=void 0===i?Dl:i,n=e.symbol,r=void 0!==n&&n,s=e.mask,a=void 0===s?null:s,l=e.maskId,c=void 0===l?null:l,h=e.title,d=void 0===h?null:h,u=e.titleId,p=void 0===u?null:u,g=e.classes,m=void 0===g?[]:g,f=e.attributes,v=void 0===f?{}:f,b=e.styles,y=void 0===b?{}:b;if(t){var w=t.prefix,x=t.iconName,k=t.icon;return Fc(Ra({type:"icon"},t),(function(){return Oc("beforeDOMElementCreation",{iconDefinition:t,params:e}),Al.autoA11y&&(d?v["aria-labelledby"]="".concat(Al.replacementClass,"-title-").concat(p||Pl()):(v["aria-hidden"]="true",v.focusable="false")),Wc({icons:{main:Yc(k),mask:a?Yc(a.icon):{found:!1,width:null,height:null,icon:{}}},prefix:w,iconName:x,transform:Ra(Ra({},Dl),o),symbol:r,title:d,maskId:c,titleId:p,extra:{attributes:v,styles:y,classes:m}})}))}},xh={mixout:function(){return{icon:(t=wh,function(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=(e||{}).icon?e:Dc(e||{}),n=i.mask;return n&&(n=(n||{}).icon?n:Dc(n||{})),t(o,Ra(Ra({},i),{},{mask:n}))})};var t},hooks:function(){return{mutationObserverCallbacks:function(t){return t.treeCallback=bh,t.nodeCallback=yh,t}}},provides:function(t){t.i2svg=function(t){var e=t.node,i=void 0===e?Xa:e,o=t.callback;return bh(i,void 0===o?function(){}:o)},t.generateSvgReplacementMutation=function(t,e){var i=e.iconName,o=e.title,n=e.titleId,r=e.prefix,s=e.transform,a=e.symbol,l=e.mask,c=e.maskId,h=e.extra;return new Promise((function(e,d){Promise.all([Zc(i,r),l.iconName?Zc(l.iconName,l.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then((function(l){var d=Ta(l,2),u=d[0],p=d[1];e([t,Wc({icons:{main:u,mask:p},prefix:r,iconName:i,transform:s,symbol:a,maskId:c,title:o,titleId:n,extra:h,watchable:!0})])})).catch(d)}))},t.generateAbstractIcon=function(t){var e,i=t.children,o=t.attributes,n=t.main,r=t.transform,s=Fl(t.styles);return s.length>0&&(o.style=s),Wl(r)&&(e=$c("generateAbstractTransformGrouping",{main:n,transform:r,containerWidth:n.width,iconWidth:n.width})),i.push(e||n.icon),{children:i,attributes:o}}}},kh={mixout:function(){return{layer:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e.classes,o=void 0===i?[]:i;return Fc({type:"layer"},(function(){Oc("beforeDOMElementCreation",{assembler:t,params:e});var i=[];return t((function(t){Array.isArray(t)?t.map((function(t){i=i.concat(t.abstract)})):i=i.concat(t.abstract)})),[{tag:"span",attributes:{class:["".concat(Al.cssPrefix,"-layers")].concat(Aa(o)).join(" ")},children:i}]}))}}}},Ch={mixout:function(){return{counter:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e.title,o=void 0===i?null:i,n=e.classes,r=void 0===n?[]:n,s=e.attributes,a=void 0===s?{}:s,l=e.styles,c=void 0===l?{}:l;return Fc({type:"counter",content:t},(function(){return Oc("beforeDOMElementCreation",{content:t,params:e}),function(t){var e=t.content,i=t.title,o=t.extra,n=Ra(Ra(Ra({},o.attributes),i?{title:i}:{}),{},{class:o.classes.join(" ")}),r=Fl(o.styles);r.length>0&&(n.style=r);var s=[];return s.push({tag:"span",attributes:n,children:[e]}),i&&s.push({tag:"span",attributes:{class:"sr-only"},children:[i]}),s}({content:t.toString(),title:o,extra:{attributes:a,styles:c,classes:["".concat(Al.cssPrefix,"-layers-counter")].concat(Aa(r))}})}))}}}},Mh={mixout:function(){return{text:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e.transform,o=void 0===i?Dl:i,n=e.title,r=void 0===n?null:n,s=e.classes,a=void 0===s?[]:s,l=e.attributes,c=void 0===l?{}:l,h=e.styles,d=void 0===h?{}:h;return Fc({type:"text",content:t},(function(){return Oc("beforeDOMElementCreation",{content:t,params:e}),Uc({content:t,transform:Ra(Ra({},Dl),o),title:r,extra:{attributes:c,styles:d,classes:["".concat(Al.cssPrefix,"-layers-text")].concat(Aa(a))}})}))}}},provides:function(t){t.generateLayersText=function(t,e){var i=e.title,o=e.transform,n=e.extra,r=null,s=null;if(tl){var a=parseInt(getComputedStyle(t).fontSize,10),l=t.getBoundingClientRect();r=l.width/a,s=l.height/a}return Al.autoA11y&&!i&&(n.attributes["aria-hidden"]="true"),Promise.resolve([t,Uc({content:t.innerHTML,width:r,height:s,transform:o,title:i,extra:n,watchable:!0})])}}},_h=new RegExp('"',"ug"),Sh=[1105920,1112319];function Eh(t,e){var i="".concat(sl).concat(e.replace(":","-"));return new Promise((function(o,n){if(null!==t.getAttribute(i))return o();var r,s,a,l=jl(t.children).filter((function(t){return t.getAttribute(rl)===e}))[0],c=Za.getComputedStyle(t,e),h=c.getPropertyValue("font-family").match(Cl),d=c.getPropertyValue("font-weight"),u=c.getPropertyValue("content");if(l&&!h)return t.removeChild(l),o();if(h&&"none"!==u&&""!==u){var p=c.getPropertyValue("content"),g=~["Sharp"].indexOf(h[2])?gl:pl,m=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(h[2])?bl[g][h[2].toLowerCase()]:Ml[g][d],f=function(t){var e,i,o,n,r=t.replace(_h,""),s=(o=(e=r).length,(n=e.charCodeAt(0))>=55296&&n<=56319&&o>1&&(i=e.charCodeAt(1))>=56320&&i<=57343?1024*(n-55296)+i-56320+65536:n),a=s>=Sh[0]&&s<=Sh[1],l=2===r.length&&r[0]===r[1];return{value:oc(l?r[0]:r),isSecondary:a||l}}(p),v=f.value,b=f.isSecondary,y=h[0].startsWith("FontAwesome"),w=xc(m,v),x=w;if(y){var k=(s=fc[r=v],a=xc("fas",r),s||(a?{prefix:"fas",iconName:a}:null)||{prefix:null,iconName:null});k.iconName&&k.prefix&&(w=k.iconName,m=k.prefix)}if(!w||b||l&&l.getAttribute(al)===m&&l.getAttribute(ll)===x)o();else{t.setAttribute(i,x),l&&t.removeChild(l);var C={iconName:null,title:null,titleId:null,prefix:null,transform:Dl,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},M=C.extra;M.attributes[rl]=e,Zc(w,m).then((function(n){var r=Wc(Ra(Ra({},C),{},{icons:{main:n,mask:_c()},prefix:m,iconName:x,extra:M,watchable:!0})),s=Xa.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===e?t.insertBefore(s,t.firstChild):t.appendChild(s),s.outerHTML=r.map((function(t){return tc(t)})).join("\n"),t.removeAttribute(i),o()})).catch(n)}}else o()}))}function zh(t){return Promise.all([Eh(t,"::before"),Eh(t,"::after")])}function Rh(t){return!(t.parentNode===document.head||~dl.indexOf(t.tagName.toUpperCase())||t.getAttribute(rl)||t.parentNode&&"svg"===t.parentNode.tagName)}function Lh(t){if(Ja)return new Promise((function(e,i){var o=jl(t.querySelectorAll("*")).filter(Rh).map(zh),n=th.begin("searchPseudoElements");hh(),Promise.all(o).then((function(){n(),dh(),e()})).catch((function(){n(),dh(),i()}))}))}var Ih=!1,Hh=function(t){return t.toLowerCase().split(" ").reduce((function(t,e){var i=e.toLowerCase().split("-"),o=i[0],n=i.slice(1).join("-");if(o&&"h"===n)return t.flipX=!0,t;if(o&&"v"===n)return t.flipY=!0,t;if(n=parseFloat(n),isNaN(n))return t;switch(o){case"grow":t.size=t.size+n;break;case"shrink":t.size=t.size-n;break;case"left":t.x=t.x-n;break;case"right":t.x=t.x+n;break;case"up":t.y=t.y-n;break;case"down":t.y=t.y+n;break;case"rotate":t.rotate=t.rotate+n}return t}),{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},Th={mixout:function(){return{parse:{transform:function(t){return Hh(t)}}}},hooks:function(){return{parseNodeAttributes:function(t,e){var i=e.getAttribute("data-fa-transform");return i&&(t.transform=Hh(i)),t}}},provides:function(t){t.generateAbstractTransformGrouping=function(t){var e=t.main,i=t.transform,o=t.containerWidth,n=t.iconWidth,r={transform:"translate(".concat(o/2," 256)")},s="translate(".concat(32*i.x,", ").concat(32*i.y,") "),a="scale(".concat(i.size/16*(i.flipX?-1:1),", ").concat(i.size/16*(i.flipY?-1:1),") "),l="rotate(".concat(i.rotate," 0 0)"),c={outer:r,inner:{transform:"".concat(s," ").concat(a," ").concat(l)},path:{transform:"translate(".concat(n/2*-1," -256)")}};return{tag:"g",attributes:Ra({},c.outer),children:[{tag:"g",attributes:Ra({},c.inner),children:[{tag:e.icon.tag,children:e.icon.children,attributes:Ra(Ra({},e.icon.attributes),c.path)}]}]}}}},Ah={x:0,y:0,width:"100%",height:"100%"};function Oh(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return t.attributes&&(t.attributes.fill||e)&&(t.attributes.fill="black"),t}var $h,Dh={hooks:function(){return{parseNodeAttributes:function(t,e){var i=e.getAttribute("data-fa-mask"),o=i?zc(i.split(" ").map((function(t){return t.trim()}))):_c();return o.prefix||(o.prefix=Mc()),t.mask=o,t.maskId=e.getAttribute("data-fa-mask-id"),t}}},provides:function(t){t.generateAbstractMask=function(t){var e,i=t.children,o=t.attributes,n=t.main,r=t.mask,s=t.maskId,a=t.transform,l=n.width,c=n.icon,h=r.width,d=r.icon,u=function(t){var e=t.transform,i=t.iconWidth,o={transform:"translate(".concat(t.containerWidth/2," 256)")},n="translate(".concat(32*e.x,", ").concat(32*e.y,") "),r="scale(".concat(e.size/16*(e.flipX?-1:1),", ").concat(e.size/16*(e.flipY?-1:1),") "),s="rotate(".concat(e.rotate," 0 0)");return{outer:o,inner:{transform:"".concat(n," ").concat(r," ").concat(s)},path:{transform:"translate(".concat(i/2*-1," -256)")}}}({transform:a,containerWidth:h,iconWidth:l}),p={tag:"rect",attributes:Ra(Ra({},Ah),{},{fill:"white"})},g=c.children?{children:c.children.map(Oh)}:{},m={tag:"g",attributes:Ra({},u.inner),children:[Oh(Ra({tag:c.tag,attributes:Ra(Ra({},c.attributes),u.path)},g))]},f={tag:"g",attributes:Ra({},u.outer),children:[m]},v="mask-".concat(s||Pl()),b="clip-".concat(s||Pl()),y={tag:"mask",attributes:Ra(Ra({},Ah),{},{id:v,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[p,f]},w={tag:"defs",children:[{tag:"clipPath",attributes:{id:b},children:(e=d,"g"===e.tag?e.children:[e])},y]};return i.push(w,{tag:"rect",attributes:Ra({fill:"currentColor","clip-path":"url(#".concat(b,")"),mask:"url(#".concat(v,")")},Ah)}),{children:i,attributes:o}}}},Nh={provides:function(t){var e=!1;Za.matchMedia&&(e=Za.matchMedia("(prefers-reduced-motion: reduce)").matches),t.missingIconAbstract=function(){var t=[],i={fill:"currentColor"},o={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};t.push({tag:"path",attributes:Ra(Ra({},i),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var n=Ra(Ra({},o),{},{attributeName:"opacity"}),r={tag:"circle",attributes:Ra(Ra({},i),{},{cx:"256",cy:"364",r:"28"}),children:[]};return e||r.children.push({tag:"animate",attributes:Ra(Ra({},o),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:Ra(Ra({},n),{},{values:"1;0;1;1;0;1;"})}),t.push(r),t.push({tag:"path",attributes:Ra(Ra({},i),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:e?[]:[{tag:"animate",attributes:Ra(Ra({},n),{},{values:"1;0;0;0;0;1;"})}]}),e||t.push({tag:"path",attributes:Ra(Ra({},i),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:Ra(Ra({},n),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:t}}}};$h={mixoutsTo:Vc}.mixoutsTo,Lc=[Zl,xh,kh,Ch,Mh,{hooks:function(){return{mutationObserverCallbacks:function(t){return t.pseudoElementsCallback=Lh,t}}},provides:function(t){t.pseudoElements2svg=function(t){var e=t.node,i=void 0===e?Xa:e;Al.searchPseudoElements&&Lh(i)}}},{mixout:function(){return{dom:{unwatch:function(){hh(),Ih=!0}}}},hooks:function(){return{bootstrap:function(){ph(Ac("mutationObserverCallbacks",{}))},noAuto:function(){uh&&uh.disconnect()},watch:function(t){var e=t.observeMutationsRoot;Ih?dh():ph(Ac("mutationObserverCallbacks",{observeMutationsRoot:e}))}}}},Th,Dh,Nh,{hooks:function(){return{parseNodeAttributes:function(t,e){var i=e.getAttribute("data-fa-symbol"),o=null!==i&&(""===i||i);return t.symbol=o,t}}}}],Ic={},Object.keys(Hc).forEach((function(t){-1===Tc.indexOf(t)&&delete Hc[t]})),Lc.forEach((function(t){var e=t.mixout?t.mixout():{};if(Object.keys(e).forEach((function(t){"function"==typeof e[t]&&($h[t]=e[t]),"object"===La(e[t])&&Object.keys(e[t]).forEach((function(i){$h[t]||($h[t]={}),$h[t][i]=e[t][i]}))})),t.hooks){var i=t.hooks();Object.keys(i).forEach((function(t){Ic[t]||(Ic[t]=[]),Ic[t].push(i[t])}))}t.provides&&t.provides(Hc)}));var Ph,jh=Vc.config,Vh=Vc.library,Bh=Vc.parse,Fh=Vc.findIconDefinition,Wh=Vc.icon,Uh=Vc.text,Gh=function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};const Yh={none:"",checked:"-check",indeterminable:"-minus",unchecked:"-xmark"};let qh=Ph=class extends ls{constructor(){super(...arguments),this.value="none",this.render=()=>Br`
|
|
218
|
+
`,this.addEventListener("click",(t=>{this.disabled?t.stopImmediatePropagation():"toggle"==this.type&&(this.state="checked"==this.state?"unchecked":"checked")}))}connectedCallback(){super.connectedCallback(),this.tabIndex=1}willUpdate(t){"toggle"==this.type&&null==this.state&&(this.state="unchecked"),t.has("icon")&&(Z(this.icon)?this.buttonIcon=this.icon:this.icon?this.buttonIcon={icon:this.icon}:this.buttonIcon=null)}get hasContent(){return this.text||this.children.length>0&&"content"==this.children[0].slot}};Ma.styles=[xa],Ca([ps()],Ma.prototype,"icon",void 0),Ca([ps({type:String})],Ma.prototype,"text",void 0),Ca([ps({type:String,reflect:!0})],Ma.prototype,"color",void 0),Ca([ps({type:Boolean,reflect:!0})],Ma.prototype,"caret",void 0),Ca([ps({type:Boolean,reflect:!0})],Ma.prototype,"disabled",void 0),Ca([ps({type:Boolean,reflect:!0})],Ma.prototype,"default",void 0),Ca([ps({type:String,reflect:!0})],Ma.prototype,"state",void 0),Ca([ps({type:String,reflect:!0})],Ma.prototype,"type",void 0),Ca([gs()],Ma.prototype,"buttonIcon",void 0),Ma=Ca([hs("og-button"),ma({props:["color","border","background"]})],Ma);const _a="important",Sa=" !"+_a,Ea=Hs(class extends Ts{constructor(t){if(super(t),1!==t.type||"style"!==t.name||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((e,i)=>{const o=t[i];return null==o?e:e+`${i=i.includes("-")?i:i.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`}),"")}update(t,[e]){const{style:i}=t.element;if(void 0===this.ft)return this.ft=new Set(Object.keys(e)),this.render(e);for(const t of this.ft)null==e[t]&&(this.ft.delete(t),t.includes("-")?i.removeProperty(t):i[t]=null);for(const t in e){const o=e[t];if(null!=o){this.ft.add(t);const e="string"==typeof o&&o.endsWith(Sa);t.includes("-")||e?i.setProperty(t,e?o.slice(0,-11):o,e?_a:""):i[t]=o}}return Wr}});function za(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,o)}return i}function Ra(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?za(Object(i),!0).forEach((function(e){Ha(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):za(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}function Ia(t){return Ia="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ia(t)}function La(t,e){for(var i=0;i<e.length;i++){var o=e[i];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Ha(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Ta(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var o,n,r=[],s=!0,a=!1;try{for(i=i.call(t);!(s=(o=i.next()).done)&&(r.push(o.value),!e||r.length!==e);s=!0);}catch(t){a=!0,n=t}finally{try{s||null==i.return||i.return()}finally{if(a)throw n}}return r}}(t,e)||Oa(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Aa(t){return function(t){if(Array.isArray(t))return $a(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||Oa(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Oa(t,e){if(t){if("string"==typeof t)return $a(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?$a(t,e):void 0}}function $a(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,o=new Array(e);i<e;i++)o[i]=t[i];return o}var Da=function(){},Na={},Pa={},ja=null,Va={mark:Da,measure:Da};try{"undefined"!=typeof window&&(Na=window),"undefined"!=typeof document&&(Pa=document),"undefined"!=typeof MutationObserver&&(ja=MutationObserver),"undefined"!=typeof performance&&(Va=performance)}catch(Kn){}var Ba,Fa,Wa,Ua,Ga,Ya=(Na.navigator||{}).userAgent,qa=void 0===Ya?"":Ya,Za=Na,Xa=Pa,Qa=ja,Ka=Va,Ja=(Za.document,!!Xa.documentElement&&!!Xa.head&&"function"==typeof Xa.addEventListener&&"function"==typeof Xa.createElement),tl=~qa.indexOf("MSIE")||~qa.indexOf("Trident/"),el="___FONT_AWESOME___",il="fa",ol="svg-inline--fa",nl="data-fa-i2svg",rl="data-fa-pseudo-element",sl="data-fa-pseudo-element-pending",al="data-prefix",ll="data-icon",cl="fontawesome-i2svg",hl="async",dl=["HTML","HEAD","STYLE","SCRIPT"],ul=function(){try{return!0}catch(t){return!1}}(),pl="classic",gl="sharp",ml=[pl,gl];function fl(t){return new Proxy(t,{get:function(t,e){return e in t?t[e]:t[pl]}})}var vl=fl((Ha(Ba={},pl,{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit","fa-kit":"kit"}),Ha(Ba,gl,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light"}),Ba)),bl=fl((Ha(Fa={},pl,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),Ha(Fa,gl,{solid:"fass",regular:"fasr",light:"fasl"}),Fa)),yl=fl((Ha(Wa={},pl,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),Ha(Wa,gl,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light"}),Wa)),wl=fl((Ha(Ua={},pl,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),Ha(Ua,gl,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl"}),Ua)),xl=/fa(s|r|l|t|d|b|k|ss|sr|sl)?[\-\ ]/,kl="fa-layers-text",Cl=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,Ml=fl((Ha(Ga={},pl,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),Ha(Ga,gl,{900:"fass",400:"fasr",300:"fasl"}),Ga)),_l=[1,2,3,4,5,6,7,8,9,10],Sl=_l.concat([11,12,13,14,15,16,17,18,19,20]),El=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],zl={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Rl=new Set;Object.keys(bl[pl]).map(Rl.add.bind(Rl)),Object.keys(bl[gl]).map(Rl.add.bind(Rl));var Il=[].concat(ml,Aa(Rl),["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",zl.GROUP,zl.SWAP_OPACITY,zl.PRIMARY,zl.SECONDARY]).concat(_l.map((function(t){return"".concat(t,"x")}))).concat(Sl.map((function(t){return"w-".concat(t)}))),Ll=Za.FontAwesomeConfig||{};Xa&&"function"==typeof Xa.querySelector&&[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach((function(t){var e=Ta(t,2),i=e[0],o=e[1],n=function(t){return""===t||"false"!==t&&("true"===t||t)}(function(t){var e=Xa.querySelector("script["+t+"]");if(e)return e.getAttribute(t)}(i));null!=n&&(Ll[o]=n)}));var Hl={styleDefault:"solid",familyDefault:"classic",cssPrefix:il,replacementClass:ol,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Ll.familyPrefix&&(Ll.cssPrefix=Ll.familyPrefix);var Tl=Ra(Ra({},Hl),Ll);Tl.autoReplaceSvg||(Tl.observeMutations=!1);var Al={};Object.keys(Hl).forEach((function(t){Object.defineProperty(Al,t,{enumerable:!0,set:function(e){Tl[t]=e,Ol.forEach((function(t){return t(Al)}))},get:function(){return Tl[t]}})})),Object.defineProperty(Al,"familyPrefix",{enumerable:!0,set:function(t){Tl.cssPrefix=t,Ol.forEach((function(t){return t(Al)}))},get:function(){return Tl.cssPrefix}}),Za.FontAwesomeConfig=Al;var Ol=[],$l=16,Dl={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1},Nl="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Pl(){for(var t=12,e="";t-- >0;)e+=Nl[62*Math.random()|0];return e}function jl(t){for(var e=[],i=(t||[]).length>>>0;i--;)e[i]=t[i];return e}function Vl(t){return t.classList?jl(t.classList):(t.getAttribute("class")||"").split(" ").filter((function(t){return t}))}function Bl(t){return"".concat(t).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function Fl(t){return Object.keys(t||{}).reduce((function(e,i){return e+"".concat(i,": ").concat(t[i].trim(),";")}),"")}function Wl(t){return t.size!==Dl.size||t.x!==Dl.x||t.y!==Dl.y||t.rotate!==Dl.rotate||t.flipX||t.flipY}var Ul=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n transform: scale(var(--fa-counter-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(var(--fa-li-width, 2em) * -1);\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n -webkit-animation-name: fa-beat;\n animation-name: fa-beat;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n -webkit-animation-name: fa-bounce;\n animation-name: fa-bounce;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n -webkit-animation-name: fa-fade;\n animation-name: fa-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n -webkit-animation-name: fa-beat-fade;\n animation-name: fa-beat-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n -webkit-animation-name: fa-flip;\n animation-name: fa-flip;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n -webkit-animation-name: fa-shake;\n animation-name: fa-shake;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 2s);\n animation-duration: var(--fa-animation-duration, 2s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n -webkit-animation-delay: -1ms;\n animation-delay: -1ms;\n -webkit-animation-duration: 1ms;\n animation-duration: 1ms;\n -webkit-animation-iteration-count: 1;\n animation-iteration-count: 1;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n@-webkit-keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@-webkit-keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@-webkit-keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@-webkit-keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@-webkit-keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@-webkit-keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n -webkit-transform: rotate(var(--fa-rotate-angle, none));\n transform: rotate(var(--fa-rotate-angle, none));\n}\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n color: var(--fa-inverse, #fff);\n}';function Gl(){var t=il,e=ol,i=Al.cssPrefix,o=Al.replacementClass,n=Ul;if(i!==t||o!==e){var r=new RegExp("\\.".concat(t,"\\-"),"g"),s=new RegExp("\\--".concat(t,"\\-"),"g"),a=new RegExp("\\.".concat(e),"g");n=n.replace(r,".".concat(i,"-")).replace(s,"--".concat(i,"-")).replace(a,".".concat(o))}return n}var Yl=!1;function ql(){Al.autoAddCss&&!Yl&&(function(t){if(t&&Ja){var e=Xa.createElement("style");e.setAttribute("type","text/css"),e.innerHTML=t;for(var i=Xa.head.childNodes,o=null,n=i.length-1;n>-1;n--){var r=i[n],s=(r.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(s)>-1&&(o=r)}Xa.head.insertBefore(e,o)}}(Gl()),Yl=!0)}var Zl={mixout:function(){return{dom:{css:Gl,insertCss:ql}}},hooks:function(){return{beforeDOMElementCreation:function(){ql()},beforeI2svg:function(){ql()}}}},Xl=Za||{};Xl[el]||(Xl[el]={}),Xl[el].styles||(Xl[el].styles={}),Xl[el].hooks||(Xl[el].hooks={}),Xl[el].shims||(Xl[el].shims=[]);var Ql=Xl[el],Kl=[],Jl=!1;function tc(t){var e=t.tag,i=t.attributes,o=void 0===i?{}:i,n=t.children,r=void 0===n?[]:n;return"string"==typeof t?Bl(t):"<".concat(e," ").concat(function(t){return Object.keys(t||{}).reduce((function(e,i){return e+"".concat(i,'="').concat(Bl(t[i]),'" ')}),"").trim()}(o),">").concat(r.map(tc).join(""),"</").concat(e,">")}function ec(t,e,i){if(t&&t[e]&&t[e][i])return{prefix:e,iconName:i,icon:t[e][i]}}Ja&&((Jl=(Xa.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Xa.readyState))||Xa.addEventListener("DOMContentLoaded",(function t(){Xa.removeEventListener("DOMContentLoaded",t),Jl=1,Kl.map((function(t){return t()}))})));var ic=function(t,e,i,o){var n,r,s,a=Object.keys(t),l=a.length,c=void 0!==o?function(t,e){return function(i,o,n,r){return t.call(e,i,o,n,r)}}(e,o):e;for(void 0===i?(n=1,s=t[a[0]]):(n=0,s=i);n<l;n++)s=c(s,t[r=a[n]],r,t);return s};function oc(t){var e=function(t){for(var e=[],i=0,o=t.length;i<o;){var n=t.charCodeAt(i++);if(n>=55296&&n<=56319&&i<o){var r=t.charCodeAt(i++);56320==(64512&r)?e.push(((1023&n)<<10)+(1023&r)+65536):(e.push(n),i--)}else e.push(n)}return e}(t);return 1===e.length?e[0].toString(16):null}function nc(t){return Object.keys(t).reduce((function(e,i){var o=t[i];return o.icon?e[o.iconName]=o.icon:e[i]=o,e}),{})}function rc(t,e){var i=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,o=void 0!==i&&i,n=nc(e);"function"!=typeof Ql.hooks.addPack||o?Ql.styles[t]=Ra(Ra({},Ql.styles[t]||{}),n):Ql.hooks.addPack(t,nc(e)),"fas"===t&&rc("fa",e)}var sc,ac,lc,cc=Ql.styles,hc=Ql.shims,dc=(Ha(sc={},pl,Object.values(yl[pl])),Ha(sc,gl,Object.values(yl[gl])),sc),uc=null,pc={},gc={},mc={},fc={},vc={},bc=(Ha(ac={},pl,Object.keys(vl[pl])),Ha(ac,gl,Object.keys(vl[gl])),ac);var yc,wc=function(){var t=function(t){return ic(cc,(function(e,i,o){return e[o]=ic(i,t,{}),e}),{})};pc=t((function(t,e,i){if(e[3]&&(t[e[3]]=i),e[2]){var o=e[2].filter((function(t){return"number"==typeof t}));o.forEach((function(e){t[e.toString(16)]=i}))}return t})),gc=t((function(t,e,i){if(t[i]=i,e[2]){var o=e[2].filter((function(t){return"string"==typeof t}));o.forEach((function(e){t[e]=i}))}return t})),vc=t((function(t,e,i){var o=e[2];return t[i]=i,o.forEach((function(e){t[e]=i})),t}));var e="far"in cc||Al.autoFetchSvg,i=ic(hc,(function(t,i){var o=i[0],n=i[1],r=i[2];return"far"!==n||e||(n="fas"),"string"==typeof o&&(t.names[o]={prefix:n,iconName:r}),"number"==typeof o&&(t.unicodes[o.toString(16)]={prefix:n,iconName:r}),t}),{names:{},unicodes:{}});mc=i.names,fc=i.unicodes,uc=Sc(Al.styleDefault,{family:Al.familyDefault})};function xc(t,e){return(pc[t]||{})[e]}function kc(t,e){return(vc[t]||{})[e]}function Cc(t){return mc[t]||{prefix:null,iconName:null}}function Mc(){return uc}yc=function(t){uc=Sc(t.styleDefault,{family:Al.familyDefault})},Ol.push(yc),wc();var _c=function(){return{prefix:null,iconName:null,rest:[]}};function Sc(t){var e=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).family,i=void 0===e?pl:e,o=vl[i][t],n=bl[i][t]||bl[i][o],r=t in Ql.styles?t:null;return n||r||null}var Ec=(Ha(lc={},pl,Object.keys(yl[pl])),Ha(lc,gl,Object.keys(yl[gl])),lc);function zc(t){var e,i=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipLookups,o=void 0!==i&&i,n=(Ha(e={},pl,"".concat(Al.cssPrefix,"-").concat(pl)),Ha(e,gl,"".concat(Al.cssPrefix,"-").concat(gl)),e),r=null,s=pl;(t.includes(n[pl])||t.some((function(t){return Ec[pl].includes(t)})))&&(s=pl),(t.includes(n[gl])||t.some((function(t){return Ec[gl].includes(t)})))&&(s=gl);var a=t.reduce((function(t,e){var i=function(t,e){var i,o=e.split("-"),n=o[0],r=o.slice(1).join("-");return n!==t||""===r||(i=r,~Il.indexOf(i))?null:r}(Al.cssPrefix,e);if(cc[e]?(e=dc[s].includes(e)?wl[s][e]:e,r=e,t.prefix=e):bc[s].indexOf(e)>-1?(r=e,t.prefix=Sc(e,{family:s})):i?t.iconName=i:e!==Al.replacementClass&&e!==n[pl]&&e!==n[gl]&&t.rest.push(e),!o&&t.prefix&&t.iconName){var a="fa"===r?Cc(t.iconName):{},l=kc(t.prefix,t.iconName);a.prefix&&(r=null),t.iconName=a.iconName||l||t.iconName,t.prefix=a.prefix||t.prefix,"far"!==t.prefix||cc.far||!cc.fas||Al.autoFetchSvg||(t.prefix="fas")}return t}),_c());return(t.includes("fa-brands")||t.includes("fab"))&&(a.prefix="fab"),(t.includes("fa-duotone")||t.includes("fad"))&&(a.prefix="fad"),a.prefix||s!==gl||!cc.fass&&!Al.autoFetchSvg||(a.prefix="fass",a.iconName=kc(a.prefix,a.iconName)||a.iconName),"fa"!==a.prefix&&"fa"!==r||(a.prefix=Mc()||"fas"),a}var Rc=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.definitions={}}var e,i;return e=t,i=[{key:"add",value:function(){for(var t=this,e=arguments.length,i=new Array(e),o=0;o<e;o++)i[o]=arguments[o];var n=i.reduce(this._pullDefinitions,{});Object.keys(n).forEach((function(e){t.definitions[e]=Ra(Ra({},t.definitions[e]||{}),n[e]),rc(e,n[e]);var i=yl[pl][e];i&&rc(i,n[e]),wc()}))}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(t,e){var i=e.prefix&&e.iconName&&e.icon?{0:e}:e;return Object.keys(i).map((function(e){var o=i[e],n=o.prefix,r=o.iconName,s=o.icon,a=s[2];t[n]||(t[n]={}),a.length>0&&a.forEach((function(e){"string"==typeof e&&(t[n][e]=s)})),t[n][r]=s})),t}}],i&&La(e.prototype,i),Object.defineProperty(e,"prototype",{writable:!1}),t}(),Ic=[],Lc={},Hc={},Tc=Object.keys(Hc);function Ac(t,e){for(var i=arguments.length,o=new Array(i>2?i-2:0),n=2;n<i;n++)o[n-2]=arguments[n];return(Lc[t]||[]).forEach((function(t){e=t.apply(null,[e].concat(o))})),e}function Oc(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),o=1;o<e;o++)i[o-1]=arguments[o];(Lc[t]||[]).forEach((function(t){t.apply(null,i)}))}function $c(){var t=arguments[0],e=Array.prototype.slice.call(arguments,1);return Hc[t]?Hc[t].apply(null,e):void 0}function Dc(t){"fa"===t.prefix&&(t.prefix="fas");var e=t.iconName,i=t.prefix||Mc();if(e)return e=kc(i,e)||e,ec(Nc.definitions,i,e)||ec(Ql.styles,i,e)}var Nc=new Rc,Pc={i2svg:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Ja?(Oc("beforeI2svg",t),$c("pseudoElements2svg",t),$c("i2svg",t)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.autoReplaceSvgRoot;!1===Al.autoReplaceSvg&&(Al.autoReplaceSvg=!0),Al.observeMutations=!0,t=function(){Bc({autoReplaceSvgRoot:i}),Oc("watch",e)},Ja&&(Jl?setTimeout(t,0):Kl.push(t))}},jc={icon:function(t){if(null===t)return null;if("object"===Ia(t)&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:kc(t.prefix,t.iconName)||t.iconName};if(Array.isArray(t)&&2===t.length){var e=0===t[1].indexOf("fa-")?t[1].slice(3):t[1],i=Sc(t[0]);return{prefix:i,iconName:kc(i,e)||e}}if("string"==typeof t&&(t.indexOf("".concat(Al.cssPrefix,"-"))>-1||t.match(xl))){var o=zc(t.split(" "),{skipLookups:!0});return{prefix:o.prefix||Mc(),iconName:kc(o.prefix,o.iconName)||o.iconName}}if("string"==typeof t){var n=Mc();return{prefix:n,iconName:kc(n,t)||t}}}},Vc={noAuto:function(){Al.autoReplaceSvg=!1,Al.observeMutations=!1,Oc("noAuto")},config:Al,dom:Pc,parse:jc,library:Nc,findIconDefinition:Dc,toHtml:tc},Bc=function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).autoReplaceSvgRoot,e=void 0===t?Xa:t;(Object.keys(Ql.styles).length>0||Al.autoFetchSvg)&&Ja&&Al.autoReplaceSvg&&Vc.dom.i2svg({node:e})};function Fc(t,e){return Object.defineProperty(t,"abstract",{get:e}),Object.defineProperty(t,"html",{get:function(){return t.abstract.map((function(t){return tc(t)}))}}),Object.defineProperty(t,"node",{get:function(){if(Ja){var e=Xa.createElement("div");return e.innerHTML=t.html,e.children}}}),t}function Wc(t){var e=t.icons,i=e.main,o=e.mask,n=t.prefix,r=t.iconName,s=t.transform,a=t.symbol,l=t.title,c=t.maskId,h=t.titleId,d=t.extra,u=t.watchable,p=void 0!==u&&u,g=o.found?o:i,m=g.width,f=g.height,v="fak"===n,b=[Al.replacementClass,r?"".concat(Al.cssPrefix,"-").concat(r):""].filter((function(t){return-1===d.classes.indexOf(t)})).filter((function(t){return""!==t||!!t})).concat(d.classes).join(" "),y={children:[],attributes:Ra(Ra({},d.attributes),{},{"data-prefix":n,"data-icon":r,class:b,role:d.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(m," ").concat(f)})},w=v&&!~d.classes.indexOf("fa-fw")?{width:"".concat(m/f*16*.0625,"em")}:{};p&&(y.attributes[nl]=""),l&&(y.children.push({tag:"title",attributes:{id:y.attributes["aria-labelledby"]||"title-".concat(h||Pl())},children:[l]}),delete y.attributes.title);var x=Ra(Ra({},y),{},{prefix:n,iconName:r,main:i,mask:o,maskId:c,transform:s,symbol:a,styles:Ra(Ra({},w),d.styles)}),k=o.found&&i.found?$c("generateAbstractMask",x)||{children:[],attributes:{}}:$c("generateAbstractIcon",x)||{children:[],attributes:{}},C=k.children,M=k.attributes;return x.children=C,x.attributes=M,a?function(t){var e=t.prefix,i=t.iconName,o=t.children,n=t.attributes,r=t.symbol,s=!0===r?"".concat(e,"-").concat(Al.cssPrefix,"-").concat(i):r;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:Ra(Ra({},n),{},{id:s}),children:o}]}]}(x):function(t){var e=t.children,i=t.main,o=t.mask,n=t.attributes,r=t.styles,s=t.transform;if(Wl(s)&&i.found&&!o.found){var a={x:i.width/i.height/2,y:.5};n.style=Fl(Ra(Ra({},r),{},{"transform-origin":"".concat(a.x+s.x/16,"em ").concat(a.y+s.y/16,"em")}))}return[{tag:"svg",attributes:n,children:e}]}(x)}function Uc(t){var e=t.content,i=t.width,o=t.height,n=t.transform,r=t.title,s=t.extra,a=t.watchable,l=void 0!==a&&a,c=Ra(Ra(Ra({},s.attributes),r?{title:r}:{}),{},{class:s.classes.join(" ")});l&&(c[nl]="");var h=Ra({},s.styles);Wl(n)&&(h.transform=function(t){var e=t.transform,i=t.width,o=void 0===i?16:i,n=t.height,r=void 0===n?16:n,s=t.startCentered,a=void 0!==s&&s,l="";return l+=a&&tl?"translate(".concat(e.x/$l-o/2,"em, ").concat(e.y/$l-r/2,"em) "):a?"translate(calc(-50% + ".concat(e.x/$l,"em), calc(-50% + ").concat(e.y/$l,"em)) "):"translate(".concat(e.x/$l,"em, ").concat(e.y/$l,"em) "),(l+="scale(".concat(e.size/$l*(e.flipX?-1:1),", ").concat(e.size/$l*(e.flipY?-1:1),") "))+"rotate(".concat(e.rotate,"deg) ")}({transform:n,startCentered:!0,width:i,height:o}),h["-webkit-transform"]=h.transform);var d=Fl(h);d.length>0&&(c.style=d);var u=[];return u.push({tag:"span",attributes:c,children:[e]}),r&&u.push({tag:"span",attributes:{class:"sr-only"},children:[r]}),u}var Gc=Ql.styles;function Yc(t){var e=t[0],i=t[1],o=Ta(t.slice(4),1)[0];return{found:!0,width:e,height:i,icon:Array.isArray(o)?{tag:"g",attributes:{class:"".concat(Al.cssPrefix,"-").concat(zl.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Al.cssPrefix,"-").concat(zl.SECONDARY),fill:"currentColor",d:o[0]}},{tag:"path",attributes:{class:"".concat(Al.cssPrefix,"-").concat(zl.PRIMARY),fill:"currentColor",d:o[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:o}}}}var qc={found:!1,width:512,height:512};function Zc(t,e){var i=e;return"fa"===e&&null!==Al.styleDefault&&(e=Mc()),new Promise((function(o,n){if($c("missingIconAbstract"),"fa"===i){var r=Cc(t)||{};t=r.iconName||t,e=r.prefix||e}if(t&&e&&Gc[e]&&Gc[e][t])return o(Yc(Gc[e][t]));!function(t,e){ul||Al.showMissingIcons||!t||console.error('Icon with name "'.concat(t,'" and prefix "').concat(e,'" is missing.'))}(t,e),o(Ra(Ra({},qc),{},{icon:Al.showMissingIcons&&t&&$c("missingIconAbstract")||{}}))}))}var Xc=function(){},Qc=Al.measurePerformance&&Ka&&Ka.mark&&Ka.measure?Ka:{mark:Xc,measure:Xc},Kc='FA "6.4.2"',Jc=function(t){Qc.mark("".concat(Kc," ").concat(t," ends")),Qc.measure("".concat(Kc," ").concat(t),"".concat(Kc," ").concat(t," begins"),"".concat(Kc," ").concat(t," ends"))},th={begin:function(t){return Qc.mark("".concat(Kc," ").concat(t," begins")),function(){return Jc(t)}},end:Jc},eh=function(){};function ih(t){return"string"==typeof(t.getAttribute?t.getAttribute(nl):null)}function oh(t){return Xa.createElementNS("http://www.w3.org/2000/svg",t)}function nh(t){return Xa.createElement(t)}function rh(t){var e=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ceFn,i=void 0===e?"svg"===t.tag?oh:nh:e;if("string"==typeof t)return Xa.createTextNode(t);var o=i(t.tag);return Object.keys(t.attributes||[]).forEach((function(e){o.setAttribute(e,t.attributes[e])})),(t.children||[]).forEach((function(t){o.appendChild(rh(t,{ceFn:i}))})),o}var sh={replace:function(t){var e=t[0];if(e.parentNode)if(t[1].forEach((function(t){e.parentNode.insertBefore(rh(t),e)})),null===e.getAttribute(nl)&&Al.keepOriginalSource){var i=Xa.createComment(function(t){var e=" ".concat(t.outerHTML," ");return"".concat(e,"Font Awesome fontawesome.com ")}(e));e.parentNode.replaceChild(i,e)}else e.remove()},nest:function(t){var e=t[0],i=t[1];if(~Vl(e).indexOf(Al.replacementClass))return sh.replace(t);var o=new RegExp("".concat(Al.cssPrefix,"-.*"));if(delete i[0].attributes.id,i[0].attributes.class){var n=i[0].attributes.class.split(" ").reduce((function(t,e){return e===Al.replacementClass||e.match(o)?t.toSvg.push(e):t.toNode.push(e),t}),{toNode:[],toSvg:[]});i[0].attributes.class=n.toSvg.join(" "),0===n.toNode.length?e.removeAttribute("class"):e.setAttribute("class",n.toNode.join(" "))}var r=i.map((function(t){return tc(t)})).join("\n");e.setAttribute(nl,""),e.innerHTML=r}};function ah(t){t()}function lh(t,e){var i="function"==typeof e?e:eh;if(0===t.length)i();else{var o=ah;Al.mutateApproach===hl&&(o=Za.requestAnimationFrame||ah),o((function(){var e=!0===Al.autoReplaceSvg?sh.replace:sh[Al.autoReplaceSvg]||sh.replace,o=th.begin("mutate");t.map(e),o(),i()}))}}var ch=!1;function hh(){ch=!0}function dh(){ch=!1}var uh=null;function ph(t){if(Qa&&Al.observeMutations){var e=t.treeCallback,i=void 0===e?eh:e,o=t.nodeCallback,n=void 0===o?eh:o,r=t.pseudoElementsCallback,s=void 0===r?eh:r,a=t.observeMutationsRoot,l=void 0===a?Xa:a;uh=new Qa((function(t){if(!ch){var e=Mc();jl(t).forEach((function(t){if("childList"===t.type&&t.addedNodes.length>0&&!ih(t.addedNodes[0])&&(Al.searchPseudoElements&&s(t.target),i(t.target)),"attributes"===t.type&&t.target.parentNode&&Al.searchPseudoElements&&s(t.target.parentNode),"attributes"===t.type&&ih(t.target)&&~El.indexOf(t.attributeName))if("class"===t.attributeName&&function(t){var e=t.getAttribute?t.getAttribute(al):null,i=t.getAttribute?t.getAttribute(ll):null;return e&&i}(t.target)){var o=zc(Vl(t.target)),r=o.prefix,a=o.iconName;t.target.setAttribute(al,r||e),a&&t.target.setAttribute(ll,a)}else(l=t.target)&&l.classList&&l.classList.contains&&l.classList.contains(Al.replacementClass)&&n(t.target);var l}))}})),Ja&&uh.observe(l,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function gh(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},i=function(t){var e,i,o=t.getAttribute("data-prefix"),n=t.getAttribute("data-icon"),r=void 0!==t.innerText?t.innerText.trim():"",s=zc(Vl(t));return s.prefix||(s.prefix=Mc()),o&&n&&(s.prefix=o,s.iconName=n),s.iconName&&s.prefix||(s.prefix&&r.length>0&&(s.iconName=(e=s.prefix,i=t.innerText,(gc[e]||{})[i]||xc(s.prefix,oc(t.innerText)))),!s.iconName&&Al.autoFetchSvg&&t.firstChild&&t.firstChild.nodeType===Node.TEXT_NODE&&(s.iconName=t.firstChild.data)),s}(t),o=i.iconName,n=i.prefix,r=i.rest,s=function(t){var e=jl(t.attributes).reduce((function(t,e){return"class"!==t.name&&"style"!==t.name&&(t[e.name]=e.value),t}),{}),i=t.getAttribute("title"),o=t.getAttribute("data-fa-title-id");return Al.autoA11y&&(i?e["aria-labelledby"]="".concat(Al.replacementClass,"-title-").concat(o||Pl()):(e["aria-hidden"]="true",e.focusable="false")),e}(t),a=Ac("parseNodeAttributes",{},t),l=e.styleParser?function(t){var e=t.getAttribute("style"),i=[];return e&&(i=e.split(";").reduce((function(t,e){var i=e.split(":"),o=i[0],n=i.slice(1);return o&&n.length>0&&(t[o]=n.join(":").trim()),t}),{})),i}(t):[];return Ra({iconName:o,title:t.getAttribute("title"),titleId:t.getAttribute("data-fa-title-id"),prefix:n,transform:Dl,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:r,styles:l,attributes:s}},a)}var mh=Ql.styles;function fh(t){var e="nest"===Al.autoReplaceSvg?gh(t,{styleParser:!1}):gh(t);return~e.extra.classes.indexOf(kl)?$c("generateLayersText",t,e):$c("generateSvgReplacementMutation",t,e)}var vh=new Set;function bh(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!Ja)return Promise.resolve();var i=Xa.documentElement.classList,o=function(t){return i.add("".concat(cl,"-").concat(t))},n=function(t){return i.remove("".concat(cl,"-").concat(t))},r=Al.autoFetchSvg?vh:ml.map((function(t){return"fa-".concat(t)})).concat(Object.keys(mh));r.includes("fa")||r.push("fa");var s=[".".concat(kl,":not([").concat(nl,"])")].concat(r.map((function(t){return".".concat(t,":not([").concat(nl,"])")}))).join(", ");if(0===s.length)return Promise.resolve();var a=[];try{a=jl(t.querySelectorAll(s))}catch(t){}if(!(a.length>0))return Promise.resolve();o("pending"),n("complete");var l=th.begin("onTree"),c=a.reduce((function(t,e){try{var i=fh(e);i&&t.push(i)}catch(t){ul||"MissingIcon"===t.name&&console.error(t)}return t}),[]);return new Promise((function(t,i){Promise.all(c).then((function(i){lh(i,(function(){o("active"),o("complete"),n("pending"),"function"==typeof e&&e(),l(),t()}))})).catch((function(t){l(),i(t)}))}))}function yh(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;fh(t).then((function(t){t&&lh([t],e)}))}ml.map((function(t){vh.add("fa-".concat(t))})),Object.keys(vl[pl]).map(vh.add.bind(vh)),Object.keys(vl[gl]).map(vh.add.bind(vh)),vh=Aa(vh);var wh=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e.transform,o=void 0===i?Dl:i,n=e.symbol,r=void 0!==n&&n,s=e.mask,a=void 0===s?null:s,l=e.maskId,c=void 0===l?null:l,h=e.title,d=void 0===h?null:h,u=e.titleId,p=void 0===u?null:u,g=e.classes,m=void 0===g?[]:g,f=e.attributes,v=void 0===f?{}:f,b=e.styles,y=void 0===b?{}:b;if(t){var w=t.prefix,x=t.iconName,k=t.icon;return Fc(Ra({type:"icon"},t),(function(){return Oc("beforeDOMElementCreation",{iconDefinition:t,params:e}),Al.autoA11y&&(d?v["aria-labelledby"]="".concat(Al.replacementClass,"-title-").concat(p||Pl()):(v["aria-hidden"]="true",v.focusable="false")),Wc({icons:{main:Yc(k),mask:a?Yc(a.icon):{found:!1,width:null,height:null,icon:{}}},prefix:w,iconName:x,transform:Ra(Ra({},Dl),o),symbol:r,title:d,maskId:c,titleId:p,extra:{attributes:v,styles:y,classes:m}})}))}},xh={mixout:function(){return{icon:(t=wh,function(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=(e||{}).icon?e:Dc(e||{}),n=i.mask;return n&&(n=(n||{}).icon?n:Dc(n||{})),t(o,Ra(Ra({},i),{},{mask:n}))})};var t},hooks:function(){return{mutationObserverCallbacks:function(t){return t.treeCallback=bh,t.nodeCallback=yh,t}}},provides:function(t){t.i2svg=function(t){var e=t.node,i=void 0===e?Xa:e,o=t.callback;return bh(i,void 0===o?function(){}:o)},t.generateSvgReplacementMutation=function(t,e){var i=e.iconName,o=e.title,n=e.titleId,r=e.prefix,s=e.transform,a=e.symbol,l=e.mask,c=e.maskId,h=e.extra;return new Promise((function(e,d){Promise.all([Zc(i,r),l.iconName?Zc(l.iconName,l.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then((function(l){var d=Ta(l,2),u=d[0],p=d[1];e([t,Wc({icons:{main:u,mask:p},prefix:r,iconName:i,transform:s,symbol:a,maskId:c,title:o,titleId:n,extra:h,watchable:!0})])})).catch(d)}))},t.generateAbstractIcon=function(t){var e,i=t.children,o=t.attributes,n=t.main,r=t.transform,s=Fl(t.styles);return s.length>0&&(o.style=s),Wl(r)&&(e=$c("generateAbstractTransformGrouping",{main:n,transform:r,containerWidth:n.width,iconWidth:n.width})),i.push(e||n.icon),{children:i,attributes:o}}}},kh={mixout:function(){return{layer:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e.classes,o=void 0===i?[]:i;return Fc({type:"layer"},(function(){Oc("beforeDOMElementCreation",{assembler:t,params:e});var i=[];return t((function(t){Array.isArray(t)?t.map((function(t){i=i.concat(t.abstract)})):i=i.concat(t.abstract)})),[{tag:"span",attributes:{class:["".concat(Al.cssPrefix,"-layers")].concat(Aa(o)).join(" ")},children:i}]}))}}}},Ch={mixout:function(){return{counter:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e.title,o=void 0===i?null:i,n=e.classes,r=void 0===n?[]:n,s=e.attributes,a=void 0===s?{}:s,l=e.styles,c=void 0===l?{}:l;return Fc({type:"counter",content:t},(function(){return Oc("beforeDOMElementCreation",{content:t,params:e}),function(t){var e=t.content,i=t.title,o=t.extra,n=Ra(Ra(Ra({},o.attributes),i?{title:i}:{}),{},{class:o.classes.join(" ")}),r=Fl(o.styles);r.length>0&&(n.style=r);var s=[];return s.push({tag:"span",attributes:n,children:[e]}),i&&s.push({tag:"span",attributes:{class:"sr-only"},children:[i]}),s}({content:t.toString(),title:o,extra:{attributes:a,styles:c,classes:["".concat(Al.cssPrefix,"-layers-counter")].concat(Aa(r))}})}))}}}},Mh={mixout:function(){return{text:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e.transform,o=void 0===i?Dl:i,n=e.title,r=void 0===n?null:n,s=e.classes,a=void 0===s?[]:s,l=e.attributes,c=void 0===l?{}:l,h=e.styles,d=void 0===h?{}:h;return Fc({type:"text",content:t},(function(){return Oc("beforeDOMElementCreation",{content:t,params:e}),Uc({content:t,transform:Ra(Ra({},Dl),o),title:r,extra:{attributes:c,styles:d,classes:["".concat(Al.cssPrefix,"-layers-text")].concat(Aa(a))}})}))}}},provides:function(t){t.generateLayersText=function(t,e){var i=e.title,o=e.transform,n=e.extra,r=null,s=null;if(tl){var a=parseInt(getComputedStyle(t).fontSize,10),l=t.getBoundingClientRect();r=l.width/a,s=l.height/a}return Al.autoA11y&&!i&&(n.attributes["aria-hidden"]="true"),Promise.resolve([t,Uc({content:t.innerHTML,width:r,height:s,transform:o,title:i,extra:n,watchable:!0})])}}},_h=new RegExp('"',"ug"),Sh=[1105920,1112319];function Eh(t,e){var i="".concat(sl).concat(e.replace(":","-"));return new Promise((function(o,n){if(null!==t.getAttribute(i))return o();var r,s,a,l=jl(t.children).filter((function(t){return t.getAttribute(rl)===e}))[0],c=Za.getComputedStyle(t,e),h=c.getPropertyValue("font-family").match(Cl),d=c.getPropertyValue("font-weight"),u=c.getPropertyValue("content");if(l&&!h)return t.removeChild(l),o();if(h&&"none"!==u&&""!==u){var p=c.getPropertyValue("content"),g=~["Sharp"].indexOf(h[2])?gl:pl,m=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(h[2])?bl[g][h[2].toLowerCase()]:Ml[g][d],f=function(t){var e,i,o,n,r=t.replace(_h,""),s=(o=(e=r).length,(n=e.charCodeAt(0))>=55296&&n<=56319&&o>1&&(i=e.charCodeAt(1))>=56320&&i<=57343?1024*(n-55296)+i-56320+65536:n),a=s>=Sh[0]&&s<=Sh[1],l=2===r.length&&r[0]===r[1];return{value:oc(l?r[0]:r),isSecondary:a||l}}(p),v=f.value,b=f.isSecondary,y=h[0].startsWith("FontAwesome"),w=xc(m,v),x=w;if(y){var k=(s=fc[r=v],a=xc("fas",r),s||(a?{prefix:"fas",iconName:a}:null)||{prefix:null,iconName:null});k.iconName&&k.prefix&&(w=k.iconName,m=k.prefix)}if(!w||b||l&&l.getAttribute(al)===m&&l.getAttribute(ll)===x)o();else{t.setAttribute(i,x),l&&t.removeChild(l);var C={iconName:null,title:null,titleId:null,prefix:null,transform:Dl,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},M=C.extra;M.attributes[rl]=e,Zc(w,m).then((function(n){var r=Wc(Ra(Ra({},C),{},{icons:{main:n,mask:_c()},prefix:m,iconName:x,extra:M,watchable:!0})),s=Xa.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===e?t.insertBefore(s,t.firstChild):t.appendChild(s),s.outerHTML=r.map((function(t){return tc(t)})).join("\n"),t.removeAttribute(i),o()})).catch(n)}}else o()}))}function zh(t){return Promise.all([Eh(t,"::before"),Eh(t,"::after")])}function Rh(t){return!(t.parentNode===document.head||~dl.indexOf(t.tagName.toUpperCase())||t.getAttribute(rl)||t.parentNode&&"svg"===t.parentNode.tagName)}function Ih(t){if(Ja)return new Promise((function(e,i){var o=jl(t.querySelectorAll("*")).filter(Rh).map(zh),n=th.begin("searchPseudoElements");hh(),Promise.all(o).then((function(){n(),dh(),e()})).catch((function(){n(),dh(),i()}))}))}var Lh=!1,Hh=function(t){return t.toLowerCase().split(" ").reduce((function(t,e){var i=e.toLowerCase().split("-"),o=i[0],n=i.slice(1).join("-");if(o&&"h"===n)return t.flipX=!0,t;if(o&&"v"===n)return t.flipY=!0,t;if(n=parseFloat(n),isNaN(n))return t;switch(o){case"grow":t.size=t.size+n;break;case"shrink":t.size=t.size-n;break;case"left":t.x=t.x-n;break;case"right":t.x=t.x+n;break;case"up":t.y=t.y-n;break;case"down":t.y=t.y+n;break;case"rotate":t.rotate=t.rotate+n}return t}),{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},Th={mixout:function(){return{parse:{transform:function(t){return Hh(t)}}}},hooks:function(){return{parseNodeAttributes:function(t,e){var i=e.getAttribute("data-fa-transform");return i&&(t.transform=Hh(i)),t}}},provides:function(t){t.generateAbstractTransformGrouping=function(t){var e=t.main,i=t.transform,o=t.containerWidth,n=t.iconWidth,r={transform:"translate(".concat(o/2," 256)")},s="translate(".concat(32*i.x,", ").concat(32*i.y,") "),a="scale(".concat(i.size/16*(i.flipX?-1:1),", ").concat(i.size/16*(i.flipY?-1:1),") "),l="rotate(".concat(i.rotate," 0 0)"),c={outer:r,inner:{transform:"".concat(s," ").concat(a," ").concat(l)},path:{transform:"translate(".concat(n/2*-1," -256)")}};return{tag:"g",attributes:Ra({},c.outer),children:[{tag:"g",attributes:Ra({},c.inner),children:[{tag:e.icon.tag,children:e.icon.children,attributes:Ra(Ra({},e.icon.attributes),c.path)}]}]}}}},Ah={x:0,y:0,width:"100%",height:"100%"};function Oh(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return t.attributes&&(t.attributes.fill||e)&&(t.attributes.fill="black"),t}var $h,Dh={hooks:function(){return{parseNodeAttributes:function(t,e){var i=e.getAttribute("data-fa-mask"),o=i?zc(i.split(" ").map((function(t){return t.trim()}))):_c();return o.prefix||(o.prefix=Mc()),t.mask=o,t.maskId=e.getAttribute("data-fa-mask-id"),t}}},provides:function(t){t.generateAbstractMask=function(t){var e,i=t.children,o=t.attributes,n=t.main,r=t.mask,s=t.maskId,a=t.transform,l=n.width,c=n.icon,h=r.width,d=r.icon,u=function(t){var e=t.transform,i=t.iconWidth,o={transform:"translate(".concat(t.containerWidth/2," 256)")},n="translate(".concat(32*e.x,", ").concat(32*e.y,") "),r="scale(".concat(e.size/16*(e.flipX?-1:1),", ").concat(e.size/16*(e.flipY?-1:1),") "),s="rotate(".concat(e.rotate," 0 0)");return{outer:o,inner:{transform:"".concat(n," ").concat(r," ").concat(s)},path:{transform:"translate(".concat(i/2*-1," -256)")}}}({transform:a,containerWidth:h,iconWidth:l}),p={tag:"rect",attributes:Ra(Ra({},Ah),{},{fill:"white"})},g=c.children?{children:c.children.map(Oh)}:{},m={tag:"g",attributes:Ra({},u.inner),children:[Oh(Ra({tag:c.tag,attributes:Ra(Ra({},c.attributes),u.path)},g))]},f={tag:"g",attributes:Ra({},u.outer),children:[m]},v="mask-".concat(s||Pl()),b="clip-".concat(s||Pl()),y={tag:"mask",attributes:Ra(Ra({},Ah),{},{id:v,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[p,f]},w={tag:"defs",children:[{tag:"clipPath",attributes:{id:b},children:(e=d,"g"===e.tag?e.children:[e])},y]};return i.push(w,{tag:"rect",attributes:Ra({fill:"currentColor","clip-path":"url(#".concat(b,")"),mask:"url(#".concat(v,")")},Ah)}),{children:i,attributes:o}}}},Nh={provides:function(t){var e=!1;Za.matchMedia&&(e=Za.matchMedia("(prefers-reduced-motion: reduce)").matches),t.missingIconAbstract=function(){var t=[],i={fill:"currentColor"},o={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};t.push({tag:"path",attributes:Ra(Ra({},i),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var n=Ra(Ra({},o),{},{attributeName:"opacity"}),r={tag:"circle",attributes:Ra(Ra({},i),{},{cx:"256",cy:"364",r:"28"}),children:[]};return e||r.children.push({tag:"animate",attributes:Ra(Ra({},o),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:Ra(Ra({},n),{},{values:"1;0;1;1;0;1;"})}),t.push(r),t.push({tag:"path",attributes:Ra(Ra({},i),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:e?[]:[{tag:"animate",attributes:Ra(Ra({},n),{},{values:"1;0;0;0;0;1;"})}]}),e||t.push({tag:"path",attributes:Ra(Ra({},i),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:Ra(Ra({},n),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:t}}}};$h={mixoutsTo:Vc}.mixoutsTo,Ic=[Zl,xh,kh,Ch,Mh,{hooks:function(){return{mutationObserverCallbacks:function(t){return t.pseudoElementsCallback=Ih,t}}},provides:function(t){t.pseudoElements2svg=function(t){var e=t.node,i=void 0===e?Xa:e;Al.searchPseudoElements&&Ih(i)}}},{mixout:function(){return{dom:{unwatch:function(){hh(),Lh=!0}}}},hooks:function(){return{bootstrap:function(){ph(Ac("mutationObserverCallbacks",{}))},noAuto:function(){uh&&uh.disconnect()},watch:function(t){var e=t.observeMutationsRoot;Lh?dh():ph(Ac("mutationObserverCallbacks",{observeMutationsRoot:e}))}}}},Th,Dh,Nh,{hooks:function(){return{parseNodeAttributes:function(t,e){var i=e.getAttribute("data-fa-symbol"),o=null!==i&&(""===i||i);return t.symbol=o,t}}}}],Lc={},Object.keys(Hc).forEach((function(t){-1===Tc.indexOf(t)&&delete Hc[t]})),Ic.forEach((function(t){var e=t.mixout?t.mixout():{};if(Object.keys(e).forEach((function(t){"function"==typeof e[t]&&($h[t]=e[t]),"object"===Ia(e[t])&&Object.keys(e[t]).forEach((function(i){$h[t]||($h[t]={}),$h[t][i]=e[t][i]}))})),t.hooks){var i=t.hooks();Object.keys(i).forEach((function(t){Lc[t]||(Lc[t]=[]),Lc[t].push(i[t])}))}t.provides&&t.provides(Hc)}));var Ph,jh=Vc.config,Vh=Vc.library,Bh=Vc.parse,Fh=Vc.findIconDefinition,Wh=Vc.icon,Uh=Vc.text,Gh=function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};const Yh={none:"",checked:"-check",indeterminable:"-minus",unchecked:"-xmark"};let qh=Ph=class extends ls{constructor(){super(...arguments),this.value="none",this.render=()=>Br`
|
|
219
219
|
<og-fa-icon
|
|
220
220
|
.icon="${["checked"==this.value||"unchecked"==this.value?this.iconSet:this.alternateIconSet,this.icon]}"
|
|
221
221
|
style="${Ea({color:this.color})}">
|
|
@@ -419,7 +419,7 @@
|
|
|
419
419
|
.header > * {
|
|
420
420
|
height: 20px;
|
|
421
421
|
}
|
|
422
|
-
`,yd([ps({type:Array})],Md.prototype,"colors",void 0),yd([ps({type:String})],Md.prototype,"color",void 0),yd([fs("input")],Md.prototype,"input",void 0),Md=yd([hs("og-colorpicker")],Md);class _d extends Ts{constructor(t){if(super(t),this.it=Ur,2!==t.type)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===Ur||null==t)return this._t=void 0,this.it=t;if(t===Wr)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const e=[t];return e.raw=e,this._t={_$litType$:this.constructor.resultType,strings:e,values:[]}}}_d.directiveName="unsafeHTML",_d.resultType=1;const Sd=Hs(_d),Ed={},zd=Hs(class extends Ts{constructor(){super(...arguments),this.ot=Ed}render(t,e){return e()}update(t,[e,i]){if(Array.isArray(e)){if(Array.isArray(this.ot)&&this.ot.length===e.length&&e.every(((t,e)=>t===this.ot[e])))return Wr}else if(this.ot===e)return Wr;return this.ot=Array.isArray(e)?Array.from(e):e,this.render(e,i)}});var Rd=function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class
|
|
422
|
+
`,yd([ps({type:Array})],Md.prototype,"colors",void 0),yd([ps({type:String})],Md.prototype,"color",void 0),yd([fs("input")],Md.prototype,"input",void 0),Md=yd([hs("og-colorpicker")],Md);class _d extends Ts{constructor(t){if(super(t),this.it=Ur,2!==t.type)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===Ur||null==t)return this._t=void 0,this.it=t;if(t===Wr)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const e=[t];return e.raw=e,this._t={_$litType$:this.constructor.resultType,strings:e,values:[]}}}_d.directiveName="unsafeHTML",_d.resultType=1;const Sd=Hs(_d),Ed={},zd=Hs(class extends Ts{constructor(){super(...arguments),this.ot=Ed}render(t,e){return e()}update(t,[e,i]){if(Array.isArray(e)){if(Array.isArray(this.ot)&&this.ot.length===e.length&&e.every(((t,e)=>t===this.ot[e])))return Wr}else if(this.ot===e)return Wr;return this.ot=Array.isArray(e)?Array.from(e):e,this.render(e,i)}});var Rd=function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class Id extends Event{constructor(t){super(`dropdown.${t}`)}}let Ld=class extends ls{constructor(){super(),this.render=()=>Br`<div><slot name="inner-content"></slot></div>`,this.addEventListener("mousedown",(t=>t.stopPropagation()))}};Ld.styles=or`
|
|
423
423
|
:host {
|
|
424
424
|
border: 1px solid var(--og-accent-color);
|
|
425
425
|
background-color: var(--og-background-color);
|
|
@@ -433,7 +433,7 @@
|
|
|
433
433
|
line-height: 1;
|
|
434
434
|
border-radius: var(--og-base-radius);
|
|
435
435
|
}
|
|
436
|
-
`,
|
|
436
|
+
`,Ld=Rd([hs("og-dropdown-container")],Ld);let Hd=class extends ls{constructor(){super(...arguments),this.alignment="right",this.positionOffset=0,this.dropdownParent=document.body,this.color=Js.Accent,this.noCaret=!1,this.dropdownRef=Zh(),this._onDocumentMouseDown=t=>{for(const e of t.composedPath())if(e==this.dropdown||e==this)return;this.close()},this._onMousedown=async()=>this.toggle(),this.renderDropdown=()=>Br`
|
|
437
437
|
<og-dropdown-container ${Kh(this.dropdownRef)}
|
|
438
438
|
style="display: none">
|
|
439
439
|
</og-dropdown-container>
|
|
@@ -452,7 +452,7 @@
|
|
|
452
452
|
</og-button>
|
|
453
453
|
|
|
454
454
|
${this.renderDropdown()}
|
|
455
|
-
`}get dropdown(){return this.dropdownRef?.value}get isOpen(){return this.dropdown&&!Ct(this.dropdown)}connectedCallback(){super.connectedCallback(),this.tabIndex=0}async open(){this.dispatchEvent(new
|
|
455
|
+
`}get dropdown(){return this.dropdownRef?.value}get isOpen(){return this.dropdown&&!Ct(this.dropdown)}connectedCallback(){super.connectedCallback(),this.tabIndex=0}async open(){this.dispatchEvent(new Id("beforeOpen")),await this.updateComplete,this.dropdown.parentElement!==this.dropdownParent&&this.dropdownParent.appendChild(this.dropdown),this.children.length>0&&!this._contentElm&&(this._contentElm=[...this.children].find((t=>"content"==t.slot)),this._contentElm&&(this._contentElm.slot="inner-content",this.dropdown.appendChild(this._contentElm))),this.width>0&&Dt(this.dropdown,{w:this.width}),xt(this.dropdown),this.requestUpdate(),await this.dropdown.updateComplete,this.dispatchEvent(new Id("open")),this.layout(),document.body.addEventListener("mousedown",this._onDocumentMouseDown)}close(){this.dropdown&&kt(this.dropdown),document.body.removeEventListener("mousedown",this._onDocumentMouseDown)}toggle(){this.isOpen?this.close():this.open()}disconnectedCallback(){this.dropdown?.remove(),super.disconnectedCallback()}get hasLabelSlot(){return null!=this.querySelector('[slot="label"]')}layout(){if(!this.dropdown)return;const t=Ht(this,this.dropdownParent);Dt(this.dropdown,{w:this.offsetWidth},!0),jt(this.dropdown,{t:t.top+this.offsetHeight,l:this.positionOffset+("left"==this.alignment?t.left:t.left+this.offsetWidth-this.dropdown.offsetWidth-1)}),Ft(this.dropdown)}};Hd.styles=[or`
|
|
456
456
|
* {
|
|
457
457
|
box-sizing: border-box;
|
|
458
458
|
}
|
|
@@ -859,7 +859,7 @@
|
|
|
859
859
|
<div class="item-container" ${Kh(this.itemContainerRef)}></div>
|
|
860
860
|
</div>
|
|
861
861
|
</og-container>
|
|
862
|
-
`}}get pageSize(){return Math.floor(this.containerRef.value.offsetHeight/this.itemHeight)}get calculatedHeight(){return Math.min(this.maxHeight??this.parentElement?.clientHeight??0,this.itemHeight*this.size)}reset(){this.items.clear(),this.offset=0,this.itemHeights.clear()}scrollToOffset(t){this.containerRef.value.scrollVerticalTo(t),this.offset=t}scrollToIndex(t){this.scrollToOffset(this.calculateItemContainerOffset(t))}scrollToView(t){if(!t||Ht(t,this.containerRef.value).top<0){const t=this._selectedIndex==this.size-1?(this._selectedIndex+1)*this.itemHeight-this.containerRef.value.clientHeight:this._selectedIndex*this.itemHeight;this.containerRef.value.scrollVerticalTo(t),this.offset=t}else if(Ht(t,this.containerRef.value).top+this.itemHeight>this.containerRef.value.offsetHeight){const t=0==this._selectedIndex?0:(this._selectedIndex+1)*this.itemHeight-this.containerRef.value.clientHeight;this.containerRef.value.scrollVerticalTo(t),this.offset=t}}moveUp(t=1){0!=this.size&&(this._selectedIndex=this._selectedIndex??0,this.select(this._selectedIndex-t,uu.Arrow),this.scrollToView(this.items.get(this._selectedIndex)))}moveDown(t=1){0!=this.size&&(this._selectedIndex=this._selectedIndex??0,this.select(this._selectedIndex+t,uu.Arrow),this.scrollToView(this.items.get(this._selectedIndex)))}deselect(){this._selectedIndex>=0&&this.items.has(this._selectedIndex)&&this.items.get(this._selectedIndex).classList.remove("selected"),this._selectedIndex=-1}select(t,e=null,i=null){this.deselect(),t=(t=t>=this.size?0:t)<0?this.size-1:t,this.items.has(t)&&this.getItem(t).classList.add("selected"),this._selectedIndex=t,e&&(e!=uu.Arrow||this.arrowEvents)&&(this.dispatchEvent(new gu("select",e,t,i)),this.dispatchEvent(new gu("list.select",e,t,i)))}getItem(t){if(!this.items.has(t)){const e=yt("div");if(e.index=t,
|
|
862
|
+
`}}get pageSize(){return Math.floor(this.containerRef.value.offsetHeight/this.itemHeight)}get calculatedHeight(){return Math.min(this.maxHeight??this.parentElement?.clientHeight??0,this.itemHeight*this.size)}reset(){this.items.clear(),this.offset=0,this.itemHeights.clear()}scrollToOffset(t){this.containerRef.value.scrollVerticalTo(t),this.offset=t}scrollToIndex(t){this.scrollToOffset(this.calculateItemContainerOffset(t))}scrollToView(t){if(!t||Ht(t,this.containerRef.value).top<0){const t=this._selectedIndex==this.size-1?(this._selectedIndex+1)*this.itemHeight-this.containerRef.value.clientHeight:this._selectedIndex*this.itemHeight;this.containerRef.value.scrollVerticalTo(t),this.offset=t}else if(Ht(t,this.containerRef.value).top+this.itemHeight>this.containerRef.value.offsetHeight){const t=0==this._selectedIndex?0:(this._selectedIndex+1)*this.itemHeight-this.containerRef.value.clientHeight;this.containerRef.value.scrollVerticalTo(t),this.offset=t}}moveUp(t=1){0!=this.size&&(this._selectedIndex=this._selectedIndex??0,this.select(this._selectedIndex-t,uu.Arrow),this.scrollToView(this.items.get(this._selectedIndex)))}moveDown(t=1){0!=this.size&&(this._selectedIndex=this._selectedIndex??0,this.select(this._selectedIndex+t,uu.Arrow),this.scrollToView(this.items.get(this._selectedIndex)))}deselect(){this._selectedIndex>=0&&this.items.has(this._selectedIndex)&&this.items.get(this._selectedIndex).classList.remove("selected"),this._selectedIndex=-1}select(t,e=null,i=null){this.deselect(),t=(t=t>=this.size?0:t)<0?this.size-1:t,this.items.has(t)&&this.getItem(t).classList.add("selected"),this._selectedIndex=t,e&&(e!=uu.Arrow||this.arrowEvents)&&(this.dispatchEvent(new gu("select",e,t,i)),this.dispatchEvent(new gu("list.select",e,t,i)))}getItem(t){if(!this.items.has(t)){const e=yt("div");if(e.index=t,Lt(e,["item",t==this._selectedIndex?"selected":null]),this.dynamicItemHeight||(Dt(e,{h:this.itemHeight}),e.style.lineHeight=Ot(this.lineHeight??this.itemHeight)),this.itemRenderer){const i=this.itemRenderer(e,t);Q(i)?e.innerHTML=i:i&&(St(e),as(i,e))}else e.innerHTML=`item-${t}`;this.dynamicItemHeight&&this.itemHeights.get(t)!=e.offsetHeight&&this.itemHeights.set(t,null),this.items.set(t,e)}return this.items.get(t)}firstUpdated(){this.addEventListener("keydown",(t=>{if(this.disabledSelect)return;const e=this.keyActions[t.key];e&&e()})),this.container.addEventListener("verticalscroll",(t=>{this.offset=t.value})),Rt(this.container,"mousedown",".item",((t,e)=>{if(!this.disabledSelect&&!this.container.isScrolling&&0==t.button&&e.parentElement==this.itemContainerRef.value){const i=t.target.tabIndex;(null==i||i<0)&&(t.preventDefault(),this.focus()),this.select(e.index,uu.Click,t.target)}})),Rt(this.container,"contextmenu",".item",((t,e)=>{this.dispatchEvent(new mu("menu",t,{list:this,index:e.index}))}))}willUpdate(t){t.has("size")&&this.offset>=this.scrollHeight&&(this._offset=0,this.container?.scrollVerticalTo(0)),this.nativeHeight||Dt(this,{h:this.calculatedHeight}),this.disabledFocus?this.removeAttribute("tabindex"):this.tabIndex=0}updated(){this.items.clear(),this.renderItems(!0)}requestRender(){this.scrolling||(window.requestAnimationFrame((()=>{this.renderItems(),this.scrolling=!1})),this.scrolling=!0)}renderItems(t=!1){t&&this.items.clear();const e=this.itemContainer;if(!e)return;const i=Math.floor(this.offset/this.itemHeight),o=Math.max(0,i-G.LIST_RENDERING_TRESHOLD),n=i+Math.ceil(this.clientHeight/this.itemHeight),r=Math.min(this.size-1,n+G.LIST_RENDERING_TRESHOLD);St(e),kt(e);for(const[t,e]of this.items)(t<o||t>r)&&(e.remove(),this.items.delete(t));for(let t=o;t<=r;t++)e.appendChild(this.getItem(t));jt(e,{t:this.calculateItemContainerOffset(o)}),xt(e),this.layout(),this.dispatchEvent(this.renderEvent)}calculateItemContainerOffset(t){if(!this.dynamicItemHeight)return t*this.itemHeight;let e=0;for(let i=0;i<t;i++){let t=this.itemHeights.get(i);t||(t=this.getItem(i).offsetHeight,t?this.itemHeights.set(i,t):t=this.itemHeight),e+=t}return e}calculateViewportMaxItemWidth(){const t=Math.floor(this.offset/this.itemHeight),e=Math.min(this.size-1,t+Math.ceil(this.clientHeight/this.itemHeight));let i=0;for(let o=t;o<=e;o++)i=Math.max(i,this.measureItemWidth(o));return i}measureItemWidth(t){let e=this.measuredWidths.get(t);if(null!=e)return e;if(!this.itemRenderer||!this.itemContainer)return 0;const i=yt("div");i.style.overflow="hidden",jt(i,{t:0,l:0}),this.itemContainer.appendChild(i);const o=yt("div");o.className="item",i.appendChild(o);const n=this.itemRenderer(o,t,{measure:!0});return Q(n)?o.innerHTML=n:n&&as(n,o),e=o.offsetWidth,i.remove(),e>0&&this.measuredWidths.set(t,e),e+10}updateSliders(){this.container?.updateSliders()}async layout(){if(this.scrollContainer){if(this.dynamicItemHeight){let t=!1;for(const e of this.items.values())e.firstElementChild instanceof ls&&(t=!0,await e.firstElementChild.updateComplete);t||await new Promise((t=>setTimeout(t,0)))}Dt(this.scrollContainer,{h:this.scrollHeight}),this.updateSliders()}}get scrollHeight(){if(!this.dynamicItemHeight)return this.size*this.itemHeight;let t=0;for(const e of this.itemHeights.keys()){let i=this.itemHeights.get(e);i||(i=this.getItem(e).offsetHeight,i?this.itemHeights.set(e,i):i=this.itemHeight),t+=i}return t+(this.size-this.itemHeights.size)*this.itemHeight}get normalizedItemStyle(){return this.customStyle?(Array.isArray(this.customStyle)?this.customStyle:[this.customStyle]).map((t=>Q(t)?ir(t):t)):[]}};fu.styles=[du],fu.contentStyles=[or`
|
|
863
863
|
:host {
|
|
864
864
|
font-family: var(--og-font-family);
|
|
865
865
|
font-size: var(--og-font-size);
|
|
@@ -1060,7 +1060,7 @@
|
|
|
1060
1060
|
transparent 20px
|
|
1061
1061
|
);
|
|
1062
1062
|
}
|
|
1063
|
-
`,Mu([ps({type:String,reflect:!0})],Su.prototype,"orientation",void 0),Mu([ps({type:Boolean,reflect:!0})],Su.prototype,"noGuideLine",void 0),Su=Mu([hs("og-sizer")],Su);var Eu,zu=function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class Ru extends Event{constructor(t,e){super(`list.${t}`,{bubbles:!0,composed:!0}),e&&Object.assign(this,e)}}let
|
|
1063
|
+
`,Mu([ps({type:String,reflect:!0})],Su.prototype,"orientation",void 0),Mu([ps({type:Boolean,reflect:!0})],Su.prototype,"noGuideLine",void 0),Su=Mu([hs("og-sizer")],Su);var Eu,zu=function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class Ru extends Event{constructor(t,e){super(`list.${t}`,{bubbles:!0,composed:!0}),e&&Object.assign(this,e)}}let Iu=Eu=class extends fu{get sorting(){return this._sorting}get connectedSorting(){return this.connectedLists&&this.connectedLists.some((t=>t.sorting))}constructor(){super(),this.customHandle=!1,this._sorting=!1,this.sortIndex=-1,this.targetIndex=-1,this._onMouseDown=t=>{const e=t.composedPath(),i=e.find((t=>t.classList&&t.classList.contains("item")));if(this.customHandle){let t=i&&i.moveHandle;!t&&i?.firstElementChild&&(t=i.firstElementChild.moveHandle),t&&e.find((e=>e==t))&&this.startSorting(i)}else i&&this.startSorting(i)},this._onMouseUp=()=>{this.stopSorting(!0)},this._onMouseMove=t=>{if(this.sorting||this.connectedSorting){this.connectedLists?.forEach((t=>t.removeMark()));const e=t.composedPath().find((t=>t.classList&&t.classList.contains("item")));if(!(e instanceof HTMLElement))return;const i=Ht(e,this.container).top+t.offsetY;i<G.LIST_AUTOSCROLL_TRESHOLD?this.startAutoscroll("up"):this.container.clientHeight-i<G.LIST_AUTOSCROLL_TRESHOLD?this.startAutoscroll("down"):this.stopAutoscroll(),this.markedItem&&this.markedItem.classList.remove("target-prev","target-next"),t.offsetY>e.clientHeight/2?(e.classList.add("target-next"),this.drop="after"):(e.classList.add("target-prev"),this.drop="before"),this.markedItem=e,this.targetIndex=e.index}}}startSorting(t){Eu.sourceList=this,this._sorting=!0,this.sortIndex=t.index,this.dispatchEvent(new Ru("sortstart",{fromIndex:this.sortIndex,sourceList:this})),document.body.addEventListener("mouseup",(()=>this.stopSorting(!1)),{once:!0})}removeMark(){this.markedItem?.classList.remove("target-prev","target-next")}stopSorting(t){this._sorting=!1,this.stopAutoscroll(),this.removeMark(),this.targetIndex>-1&&t&&this.dispatchEvent(new Ru("sort",{fromIndex:(Eu.sourceList?Eu.sourceList:this).sortIndex,toIndex:this.targetIndex,sourceList:Eu.sourceList,targetList:this,drop:this.drop})),this.targetIndex=-1,this.sortIndex=-1,Eu.sourceList=null,t&&this.dispatchEvent(new Ru("sortend"))}startAutoscroll(t){this.autoscrollDirection!=t&&(this.autoscrollDirection=t,this.autoscrollTimer=window.setInterval((()=>{if("down"==this.autoscrollDirection){const t=Math.min(this.offset+this.itemHeight,this.size*this.itemHeight-this.clientHeight);t>this.offset&&this.scrollToOffset(t)}else{const t=Math.max(0,this.offset-this.itemHeight);t<this.offset&&this.scrollToOffset(t)}}),G.LIST_AUTOSCROLL_DELAY))}stopAutoscroll(){null!=this.autoscrollTimer&&(clearInterval(this.autoscrollTimer),this.autoscrollTimer=null,this.autoscrollDirection=null)}firstUpdated(){super.firstUpdated(),this.container.addEventListener("mousedown",this._onMouseDown),this.container.addEventListener("mousemove",this._onMouseMove),this.container.addEventListener("mouseup",this._onMouseUp)}};Iu.contentStyles=[...fu.contentStyles,or`
|
|
1064
1064
|
.item {
|
|
1065
1065
|
cursor: move !important;
|
|
1066
1066
|
}
|
|
@@ -1076,7 +1076,7 @@
|
|
|
1076
1076
|
.item.target-next {
|
|
1077
1077
|
border-bottom: 2px solid var(--og-accent-color);
|
|
1078
1078
|
}
|
|
1079
|
-
`],zu([ps({type:Boolean,reflect:!0})],
|
|
1079
|
+
`],zu([ps({type:Boolean,reflect:!0})],Iu.prototype,"customHandle",void 0),Iu=Eu=zu([hs("og-sortablelist")],Iu);const Lu=[...Object.values(Js).map((t=>or`
|
|
1080
1080
|
:host([color="${ir(t)}"][state="on"]) .background > div:nth-child(2) {
|
|
1081
1081
|
background-color: var(--og-colortype-${ir(t)}-background-color);
|
|
1082
1082
|
}
|
|
@@ -1241,7 +1241,7 @@
|
|
|
1241
1241
|
<input type="checkbox" @change="${this._onChange}" ?checked="${"on"==this.state}">
|
|
1242
1242
|
<div class="slider"></div>
|
|
1243
1243
|
</label>
|
|
1244
|
-
`}updated(){Tt(this.shadowRoot,`\n\t\t\t:host {\n\t\t\t\t--og-switch-width: ${Ot(this.offsetWidth)};\n\t\t\t\t--og-switch-height: ${Ot(this.offsetHeight)};\n\t\t\t\t--og-switch-margin: 6px;\n\t\t\t}\t\n\t\t`,"switch-style")}};Ou.styles=
|
|
1244
|
+
`}updated(){Tt(this.shadowRoot,`\n\t\t\t:host {\n\t\t\t\t--og-switch-width: ${Ot(this.offsetWidth)};\n\t\t\t\t--og-switch-height: ${Ot(this.offsetHeight)};\n\t\t\t\t--og-switch-margin: 6px;\n\t\t\t}\t\n\t\t`,"switch-style")}};Ou.styles=Lu,Ou.defaultShape="round",Tu([ps({type:String})],Ou.prototype,"text",void 0),Tu([ps({type:String,reflect:!0})],Ou.prototype,"color",void 0),Tu([ps({type:String,reflect:!0})],Ou.prototype,"state",void 0),Tu([ps({type:String,reflect:!0})],Ou.prototype,"shape",void 0),Tu([ps({type:Boolean,reflect:!0})],Ou.prototype,"noAnimation",void 0),Tu([fs("input")],Ou.prototype,"checkbox",void 0),Ou=Hu=Tu([hs("og-switch")],Ou);const $u=[or`
|
|
1245
1245
|
:host {
|
|
1246
1246
|
display: block;
|
|
1247
1247
|
position: absolute;
|
|
@@ -1366,7 +1366,7 @@
|
|
|
1366
1366
|
:host {
|
|
1367
1367
|
display: block;
|
|
1368
1368
|
}
|
|
1369
|
-
`,Pu([ps({type:String,reflect:!0})],ju.prototype,"icon",void 0),Pu([ps({type:String,reflect:!0})],ju.prototype,"color",void 0),Pu([ps({type:String,reflect:!0})],ju.prototype,"size",void 0),ju=Pu([hs("og-loader")],ju);const Vu="\n:root, :host {\n --fa-font-solid: normal 900 1em/1 'Font Awesome 6 Solid';\n --fa-font-regular: normal 400 1em/1 'Font Awesome 6 Regular';\n --fa-font-light: normal 300 1em/1 'Font Awesome 6 Light';\n --fa-font-thin: normal 100 1em/1 'Font Awesome 6 Thin';\n --fa-font-duotone: normal 900 1em/1 'Font Awesome 6 Duotone';\n --fa-font-sharp-solid: normal 900 1em/1 'Font Awesome 6 Sharp';\n --fa-font-sharp-regular: normal 400 1em/1 'Font Awesome 6 Sharp';\n --fa-font-brands: normal 400 1em/1 'Font Awesome 6 Brands'; }\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box; }\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -.125em; }\n .svg-inline--fa.fa-2xs {\n vertical-align: 0.1em; }\n .svg-inline--fa.fa-xs {\n vertical-align: 0em; }\n .svg-inline--fa.fa-sm {\n vertical-align: -0.07143em; }\n .svg-inline--fa.fa-lg {\n vertical-align: -0.2em; }\n .svg-inline--fa.fa-xl {\n vertical-align: -0.25em; }\n .svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em; }\n .svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto; }\n .svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto; }\n .svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em; }\n .svg-inline--fa.fa-fw {\n width: var(--fa-fw-width, 1.25em); }\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0; }\n\n.fa-layers-text, .fa-layers-counter {\n display: inline-block;\n position: absolute;\n text-align: center; }\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -.125em;\n width: 1em; }\n .fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center; }\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center; }\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n transform: scale(var(--fa-counter-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right; }\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right; }\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left; }\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right; }\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top left;\n transform-origin: top left; }\n\n.fa-1x {\n font-size: 1em; }\n\n.fa-2x {\n font-size: 2em; }\n\n.fa-3x {\n font-size: 3em; }\n\n.fa-4x {\n font-size: 4em; }\n\n.fa-5x {\n font-size: 5em; }\n\n.fa-6x {\n font-size: 6em; }\n\n.fa-7x {\n font-size: 7em; }\n\n.fa-8x {\n font-size: 8em; }\n\n.fa-9x {\n font-size: 9em; }\n\n.fa-10x {\n font-size: 10em; }\n\n.fa-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em; }\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.08333em;\n vertical-align: 0.125em; }\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.07143em;\n vertical-align: 0.05357em; }\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em; }\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.04167em;\n vertical-align: -0.125em; }\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em; }\n\n.fa-fw {\n text-align: center;\n width: 1.25em; }\n\n.fa-ul {\n list-style-type: none;\n margin-left: var(--fa-li-margin, 2.5em);\n padding-left: 0; }\n .fa-ul > li {\n position: relative; }\n\n.fa-li {\n left: calc(var(--fa-li-width, 2em) * -1);\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit; }\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em); }\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em); }\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em); }\n\n.fa-beat {\n -webkit-animation-name: fa-beat;\n animation-name: fa-beat;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out); }\n\n.fa-bounce {\n -webkit-animation-name: fa-bounce;\n animation-name: fa-bounce;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1)); }\n\n.fa-fade {\n -webkit-animation-name: fa-fade;\n animation-name: fa-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); }\n\n.fa-beat-fade {\n -webkit-animation-name: fa-beat-fade;\n animation-name: fa-beat-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); }\n\n.fa-flip {\n -webkit-animation-name: fa-flip;\n animation-name: fa-flip;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out); }\n\n.fa-shake {\n -webkit-animation-name: fa-shake;\n animation-name: fa-shake;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear); }\n\n.fa-spin {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 2s);\n animation-duration: var(--fa-animation-duration, 2s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear); }\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse; }\n\n.fa-pulse,\n.fa-spin-pulse {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n animation-timing-function: var(--fa-animation-timing, steps(8)); }\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n .fa-bounce,\n .fa-fade,\n .fa-beat-fade,\n .fa-flip,\n .fa-pulse,\n .fa-shake,\n .fa-spin,\n .fa-spin-pulse {\n -webkit-animation-delay: -1ms;\n animation-delay: -1ms;\n -webkit-animation-duration: 1ms;\n animation-duration: 1ms;\n -webkit-animation-iteration-count: 1;\n animation-iteration-count: 1;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s; } }\n\n@-webkit-keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1); }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25)); } }\n\n@keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1); }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25)); } }\n\n@-webkit-keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0); }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em)); }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0); }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0); } }\n\n@keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0); }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em)); }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0); }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0); } }\n\n@-webkit-keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4); } }\n\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4); } }\n\n@-webkit-keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1); }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125)); } }\n\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1); }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125)); } }\n\n@-webkit-keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); } }\n\n@keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); } }\n\n@-webkit-keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg); }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg); }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg); }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg); }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg); }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg); }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg); }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg); }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg); } }\n\n@keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg); }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg); }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg); }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg); }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg); }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg); }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg); }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg); }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg); } }\n\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg); }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg); } }\n\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg); }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg); } }\n\n.fa-rotate-90 {\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg); }\n\n.fa-rotate-180 {\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg); }\n\n.fa-rotate-270 {\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg); }\n\n.fa-flip-horizontal {\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1); }\n\n.fa-flip-vertical {\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1); }\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1); }\n\n.fa-rotate-by {\n -webkit-transform: rotate(var(--fa-rotate-angle, none));\n transform: rotate(var(--fa-rotate-angle, none)); }\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\n height: 2em;\n position: relative;\n width: 2.5em; }\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: var(--fa-stack-z-index, auto); }\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em; }\n\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em; }\n\n.fa-inverse {\n color: var(--fa-inverse, #fff); }\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0; }\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0; }\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1); }\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4); }\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4); }\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1); }\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black; }\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n color: var(--fa-inverse, #fff); }\n\n",Bu="adoptedStyleSheets"in document,Fu=({css:t})=>{try{const e=new CSSStyleSheet;return e.replaceSync(t),e}catch{return}},Wu=({css:t})=>{const e=document.createElement("template");return e.innerHTML=`\n\t\t<style>${t}</style>\n\t`,e},Uu=Bu?Fu({css:Vu}):null,Gu=Uu?null:Wu({css:Vu}),Yu=Uu?({css:t})=>{const e=Fu({css:t});return t=>{t.shadowRoot.adoptedStyleSheets=[Uu,e]}}:({css:t})=>{const e=Symbol("is-applied"),i=Wu({css:t});return t=>{t[e]||(t[e]=!0,t.shadowRoot.appendChild(Gu.content.cloneNode(!0)),t.shadowRoot.appendChild(i.content.cloneNode(!0)))}};function qu({prototype:t},e){for(const[i,o]of Object.entries(e))Zu(t,i,o);t.connectedCallback=function(){for(const[t,{connect:i=(()=>{})}]of Object.entries(e))i(this,t)}}function Zu(t,e,{get:i,set:o,observe:n=(()=>{}),defaultValue:r}){const s=i||((t,e)=>e),a=o||((t,e)=>e),l=Symbol(`cached-${e}`);t[l]=r,Object.defineProperty(t,e,{get(){const t=this[l];return this[l]=s(this,this[l]),this[l]!==t&&n(this,this[l],t),this[l]},set(t){const e=this[l],i=a(this,t,this[l]);void 0!==i&&(this[l]=s(this,i),e!==this[l]&&n(this,this[l],e))},enumerable:!0,configurable:!1})}function Xu({attribute:t,defaultValue:e,...i}){return{connect:ep(t,e),defaultValue:e,...i}}function Qu({defaultValue:t=!1,set:e=((t,e)=>e),...i}){return Xu({defaultValue:t,set:(t,i)=>e(t,Boolean(i)),...i})}function Ku({defaultValue:t="",set:e=((t,e)=>e),...i}){return Xu({defaultValue:t,set:(t,i)=>e(t,tp(i)),...i})}function Ju({defaultValue:t="",set:e=((t,e)=>e),...i}){return Xu({defaultValue:t,set:(t,i)=>{const o="object"==typeof i?i:tp(i);return e(t,o)},...i})}function tp(t){return null==t?"":String(t)}function ep(t,e){const i="boolean"==typeof e?()=>!0:e=>e.getAttribute(t);return(e,o)=>{e.hasAttribute(t)&&(e[o]=i(e))}}let ip,op,np,rp;function sp(t){return ip?"string"==typeof t?ip({iconName:t}):t&&2<=t.length?ip({prefix:t[0],iconName:t[1]}):t:t}function ap(...t){return op?hp("html",op(...t)):void 0}function lp(...t){return np?hp("html",np(...t)):void 0}function cp(...t){return rp?rp.transform(...t):void 0}function hp(t,e){if(e)return e[t]}function dp(t,e){if(void 0===e)return e=>dp(t,e);const i=(t,e)=>{return"function"==typeof t?t((i=e)?i.replace(/[^0-9a-zA-Z-_]/g,""):""):t;var i};return(o,n,r)=>{(r||n)&&(o[t].classList.remove(i(e,r)),n&&o[t].classList.add(i(e,n)))}}const up=Yu({css:'\n:host {\n\tbox-sizing: border-box;\n\tdisplay: inline-block;\n\tline-height: 1; }\n\n:host([pull="left"]) {\n\tfloat: left;\n\tmargin-right: .3em; }\n\n:host([pull="right"]) {\n\tfloat: right;\n\tmargin-left: .3em; }\n'}),pp=document.createElement("template");function gp({icon:t=[]}={}){const[e=1,i=1,,,o=""]=t;return[`<svg\n\t\t\tclass="svg-inline--fa"\n\t\t\taria-hidden="true"\n\t\t\trole="img"\n\t\t\tfocusable="false"\n\t\t\txmlns="http://www.w3.org/2000/svg"\n\t\t\tviewBox="0 0 ${e} ${i}"\n\t\t>\n\t\t\t${Array.isArray(o)?`<g class="fa-group">\n\t\t\t<path class="fa-secondary" fill="currentColor" d="${o[1]}" />\n\t\t\t<path class="fa-primary" fill="currentColor" d="${o[0]}" />\n\t\t</g>`:`<path fill="currentColor" d="${o}" />`}\n\t\t</svg>`]}pp.innerHTML=gp({icon:[]});const mp={SVG:Symbol("svg"),PATH_PRIMARY:Symbol("path-primary"),PATH_SECONDARY:Symbol("path-secondary"),NEEDS_REDRAW:Symbol("needs-complete-redraw-of-structure")},fp=dp(mp.SVG),vp=t=>fp((e=>t.concat(e))),bp={icon:Ju({attribute:"icon",observe:xp}),resolvedIcon:{get:({icon:t,_resolve:e})=>e(t)},isDuotone:{get:wp},transform:Ju({attribute:"transform",observe:xp}),parsedTransform:{get:function({_parseTransform:t,transform:e}){return(e&&"string"==typeof e?t(e):e)||void 0}},size:Ku({attribute:"size",observe:vp("fa-")}),rotation:Ku({attribute:"rotation",observe:vp("fa-rotate-")}),flip:Ku({attribute:"flip",observe:vp("fa-flip-")}),pull:Ku({attribute:"pull",observe:("pull",(t,e)=>t.setAttribute("pull",e))}),mask:Ju({attribute:"mask",observe:xp}),resolvedMask:{get:({mask:t,_resolve:e})=>e(t)},fixedWidth:Qu({attribute:"fixed-width",observe:fp("fa-fw")}),spin:Qu({attribute:"spin",observe:fp("fa-spin")}),pulse:Qu({attribute:"pulse",observe:fp("fa-pulse")}),inverse:Qu({attribute:"inverse",observe:fp("fa-inverse")}),swapOpacity:Qu({attribute:"swap-opacity",observe:fp("fa-swap-opacity")})};class yp extends HTMLElement{constructor(){super();const t=this.attachShadow({mode:"open"});t.appendChild(pp.content.cloneNode(!0)),up(this),this[mp.SVG]=t.querySelector("svg"),this[mp.PATH_PRIMARY]=t.querySelector("path"),this[mp.NEEDS_REDRAW]=t=>t.isDuotone||t.transform||t.mask,this._toHtml=ap,this._resolve=sp,this._parseTransform=cp,this.spin=!1}}function wp({resolvedIcon:t}){return t&&t.icon&&Array.isArray(t.icon[4])}function xp(t){t[mp.NEEDS_REDRAW](t)?function(t){const e=t[mp.SVG].classList;t[mp.SVG].remove();const i={transform:t.parsedTransform,mask:t.resolvedMask},[o]=t._toHtml(t.resolvedIcon,i)||gp(t.resolvedIcon);t.shadowRoot.innerHTML=t.shadowRoot.innerHTML.concat(o),t[mp.SVG]=t.shadowRoot.querySelector("svg"),t[mp.SVG].classList.add(...e);const n=t.shadowRoot.querySelectorAll("path");t[mp.PATH_PRIMARY]=n[1]?n[1]:n[0],t[mp.PATH_SECONDARY]=n[1]?n[0]:void 0;const{isDuotone:r}=t;t[mp.NEEDS_REDRAW]=t=>r!==t.isDuotone||t.transform||t.mask}(t):function(t){const{resolvedIcon:e}=t;if(!e)return;t[mp.SVG].setAttribute("viewBox",`0 0 ${e.icon[0]} ${e.icon[1]}`);(wp(t)?Cp:kp)(t,{vectorDefinition:e.icon[4]})}(t)}function kp(t,{vectorDefinition:e}){t[mp.PATH_PRIMARY].setAttribute("d",e)}function Cp(t,{vectorDefinition:e}){t[mp.PATH_PRIMARY].setAttribute("d",e[0]),t[mp.PATH_SECONDARY].setAttribute("d",e[1])}qu(yp,bp);const Mp=Yu({css:'\n\t:host {\n\t\tbox-sizing: border-box;\n\t\tdisplay: inline-block;\n\t\tline-height: 1; }\n\n\t\t:host([pull="left"]) {\n\t\t\tfloat: left;\n\t\t\tmargin-right: .3em; }\n\n\t\t:host([pull="right"]) {\n\t\t\tfloat: right;\n\t\t\tmargin-left: .3em; }\n\n\t::slotted(*) {\n\t\tbottom: 0;\n\t\tleft: 0;\n\t\tmargin: auto;\n\t\tposition: absolute;\n\t\tright: 0;\n\t\ttop: 0; }\n'}),_p=document.createElement("template");_p.innerHTML='\n<span class="fa-layers">\n\t<slot></slot>\n</span>\n';const Sp={LAYERS:Symbol("layers")},Ep=dp(Sp.LAYERS),zp={size:{...bp.size,observe:("fa-",Ep((t=>"fa-".concat(t))))},fixedWidth:{...bp.fixedWidth,observe:Ep("fa-fw")},pull:bp.pull};class Rp extends HTMLElement{constructor(){super();const t=this.attachShadow({mode:"open"});t.appendChild(_p.content.cloneNode(!0)),Mp(this),this[Sp.LAYERS]=t.querySelector(".fa-layers")}}qu(Rp,zp);const Lp=Yu({css:"\n:host {\n\tbox-sizing: border-box;\n\tdisplay: inline-block;\n\tline-height: 1; }\n\n.fa-layers-counter {\n\tbackground: var(--fa-layers-counter-background, #ff253a); }\n"}),Ip=document.createElement("template");Ip.innerHTML='\n<span class="fa-layers-text"></span>\n';const Hp={CONTAINER:Symbol("container"),NEEDS_REDRAW:Symbol("needs-complete-redraw-of-structure")},Tp=dp(Hp.CONTAINER),Ap=t=>Tp((e=>t.concat(e))),Op={value:Ku({attribute:"value",observe:Dp}),transform:{...bp.transform,observe:Dp},parsedTransform:bp.parsedTransform,size:Ku({attribute:"size",observe:Ap("fa-")}),position:Ku({attribute:"position",observe:Ap("fa-layers-")}),fixedWidth:Qu({attribute:"fixed-width",observe:Tp("fa-fw")}),inverse:Qu({attribute:"inverse",observe:Tp("fa-inverse")}),counter:Qu({attribute:"counter",observe:Dp})};class $p extends HTMLElement{constructor(){super();const t=this.attachShadow({mode:"open"});t.appendChild(Ip.content.cloneNode(!0)),Lp(this),this[Hp.CONTAINER]=t.querySelector(".fa-layers-text"),this[Hp.NEEDS_REDRAW]=t=>t.transform,this._toHtml=lp,this._parseTransform=cp}}function Dp(t){t[Hp.NEEDS_REDRAW](t)&&function(t){const e=t[Hp.CONTAINER].classList;t[Hp.CONTAINER].remove();const i={transform:t.parsedTransform},[o]=t._toHtml(String(t.value),i)||function(t=""){const e=document.createElement("span");return e.className="fa-layers-text",e.textContent=t,[e.outerHTML]}(t.value);t.shadowRoot.innerHTML=t.shadowRoot.innerHTML.concat(o),t[Hp.CONTAINER]=t.shadowRoot.querySelector(".fa-layers-text"),t[Hp.CONTAINER].classList.add(...e);const{transform:n}=t;t[Hp.NEEDS_REDRAW]=t=>n!==t.transform}(t),function(t){const e=t[Hp.CONTAINER].classList,i=t.counter?"fa-layers-counter":"fa-layers-text";e.contains(i)||(t[Hp.CONTAINER].classList.remove("fa-layers-counter","fa-layers-text"),t[Hp.CONTAINER].classList.add(i))}(t),function(t,e=t.value){const i=t.counter&&!e?0:e;t[Hp.CONTAINER].textContent=i}(t)}qu($p,Op),function({findIconDefinition:t,icon:e,text:i,parse:o}){ip=t,op=e,np=i,rp=o}({findIconDefinition:Fh,icon:Wh,text:Uh,parse:Bh}),customElements.get("og-fa-icon")||customElements.define("og-fa-icon",yp),customElements.get("og-fa-layers")||customElements.define("og-fa-layers",Rp);class Np{constructor(t){this.items=[],t&&this.populate(t)}clean(){const t=new Set;let e=!1;return this.items.forEach(((i,o)=>{i.container?e=i.container.clean()||e:i.tabs&&i.tabs.length||t.add(o)})),this.items=this.items.filter(((e,i)=>!t.has(i))),1==this.items.length&&this.parentItem&&(this.parentItem.tabs=this.items[0].tabs,this.parentItem.container=this.items[0].container,this.parentItem.parentContainer=this.items[0].parentContainer,e=!0),t.size>0||e}populate(t){this.orientation=t.orientation,this.items=t.items?t.items.map((t=>({tabs:t.tabs,selectedIndex:t.selectedIndex,container:t.container?new Np(t.container):null,size:t.size}))):[],this.items.forEach((t=>{t.parentContainer=this,t.container&&(t.container.parentItem=t)}))}updateTab(t,e){this.items.forEach((i=>{if(i.container)i.container.updateTab(t,e);else if(i.tabs)for(let o=0;o<i.tabs.length;o++)if(i.tabs[o].id==t){Object.assign(i.tabs[o],e);break}}))}addTab(t,e){for(const i of this.items)if(i.container)i.container.addTab(t,e);else{if(i.tabs=i.tabs||[],null==e)return void i.tabs.push(t);{const o=i.tabs.findIndex((t=>t.id==e))+1;if(o>0)return void i.tabs.splice(o,0,t)}}}removeTab(t){this.items.forEach((e=>{if(e.container)e.container.removeTab(t);else if(e.tabs){const i=e.tabs.findIndex((e=>e.id==t));i>-1&&e.tabs.splice(i,1)}}))}walk(t,e){for(const i of this.items)if(i.container){if(!1===i.container.walk(t,i.container))return!1}else if(i.tabs)for(const o of i.tabs)if(!1===t(o,e||this))return!1;return!0}getSourceData(){return{orientation:this.orientation,items:this.items.map((t=>{const e={};return e.collapsed=t.collapsed,e.size=t.size,e.selectedIndex=t.selectedIndex,t.container?e.container=t.container.getSourceData():t.tabs&&(e.tabs=t.tabs.map((t=>{const e=Object.assign({},t);return delete e.unsaved,e}))),e}))}}}const Pp={TAB_PANEL_HEIGHT:30,TAB_PANEL_BORDER:2,...G},jp=or`
|
|
1369
|
+
`,Pu([ps({type:String,reflect:!0})],ju.prototype,"icon",void 0),Pu([ps({type:String,reflect:!0})],ju.prototype,"color",void 0),Pu([ps({type:String,reflect:!0})],ju.prototype,"size",void 0),ju=Pu([hs("og-loader")],ju);const Vu="\n:root, :host {\n --fa-font-solid: normal 900 1em/1 'Font Awesome 6 Solid';\n --fa-font-regular: normal 400 1em/1 'Font Awesome 6 Regular';\n --fa-font-light: normal 300 1em/1 'Font Awesome 6 Light';\n --fa-font-thin: normal 100 1em/1 'Font Awesome 6 Thin';\n --fa-font-duotone: normal 900 1em/1 'Font Awesome 6 Duotone';\n --fa-font-sharp-solid: normal 900 1em/1 'Font Awesome 6 Sharp';\n --fa-font-sharp-regular: normal 400 1em/1 'Font Awesome 6 Sharp';\n --fa-font-brands: normal 400 1em/1 'Font Awesome 6 Brands'; }\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box; }\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -.125em; }\n .svg-inline--fa.fa-2xs {\n vertical-align: 0.1em; }\n .svg-inline--fa.fa-xs {\n vertical-align: 0em; }\n .svg-inline--fa.fa-sm {\n vertical-align: -0.07143em; }\n .svg-inline--fa.fa-lg {\n vertical-align: -0.2em; }\n .svg-inline--fa.fa-xl {\n vertical-align: -0.25em; }\n .svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em; }\n .svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto; }\n .svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto; }\n .svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em; }\n .svg-inline--fa.fa-fw {\n width: var(--fa-fw-width, 1.25em); }\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0; }\n\n.fa-layers-text, .fa-layers-counter {\n display: inline-block;\n position: absolute;\n text-align: center; }\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -.125em;\n width: 1em; }\n .fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center; }\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center; }\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n transform: scale(var(--fa-counter-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right; }\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right; }\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left; }\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right; }\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top left;\n transform-origin: top left; }\n\n.fa-1x {\n font-size: 1em; }\n\n.fa-2x {\n font-size: 2em; }\n\n.fa-3x {\n font-size: 3em; }\n\n.fa-4x {\n font-size: 4em; }\n\n.fa-5x {\n font-size: 5em; }\n\n.fa-6x {\n font-size: 6em; }\n\n.fa-7x {\n font-size: 7em; }\n\n.fa-8x {\n font-size: 8em; }\n\n.fa-9x {\n font-size: 9em; }\n\n.fa-10x {\n font-size: 10em; }\n\n.fa-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em; }\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.08333em;\n vertical-align: 0.125em; }\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.07143em;\n vertical-align: 0.05357em; }\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em; }\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.04167em;\n vertical-align: -0.125em; }\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em; }\n\n.fa-fw {\n text-align: center;\n width: 1.25em; }\n\n.fa-ul {\n list-style-type: none;\n margin-left: var(--fa-li-margin, 2.5em);\n padding-left: 0; }\n .fa-ul > li {\n position: relative; }\n\n.fa-li {\n left: calc(var(--fa-li-width, 2em) * -1);\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit; }\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em); }\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em); }\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em); }\n\n.fa-beat {\n -webkit-animation-name: fa-beat;\n animation-name: fa-beat;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out); }\n\n.fa-bounce {\n -webkit-animation-name: fa-bounce;\n animation-name: fa-bounce;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1)); }\n\n.fa-fade {\n -webkit-animation-name: fa-fade;\n animation-name: fa-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); }\n\n.fa-beat-fade {\n -webkit-animation-name: fa-beat-fade;\n animation-name: fa-beat-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); }\n\n.fa-flip {\n -webkit-animation-name: fa-flip;\n animation-name: fa-flip;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out); }\n\n.fa-shake {\n -webkit-animation-name: fa-shake;\n animation-name: fa-shake;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear); }\n\n.fa-spin {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 2s);\n animation-duration: var(--fa-animation-duration, 2s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear); }\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse; }\n\n.fa-pulse,\n.fa-spin-pulse {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n animation-timing-function: var(--fa-animation-timing, steps(8)); }\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n .fa-bounce,\n .fa-fade,\n .fa-beat-fade,\n .fa-flip,\n .fa-pulse,\n .fa-shake,\n .fa-spin,\n .fa-spin-pulse {\n -webkit-animation-delay: -1ms;\n animation-delay: -1ms;\n -webkit-animation-duration: 1ms;\n animation-duration: 1ms;\n -webkit-animation-iteration-count: 1;\n animation-iteration-count: 1;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s; } }\n\n@-webkit-keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1); }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25)); } }\n\n@keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1); }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25)); } }\n\n@-webkit-keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0); }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em)); }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0); }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0); } }\n\n@keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0); }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em)); }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0); }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0); } }\n\n@-webkit-keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4); } }\n\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4); } }\n\n@-webkit-keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1); }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125)); } }\n\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1); }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125)); } }\n\n@-webkit-keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); } }\n\n@keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); } }\n\n@-webkit-keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg); }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg); }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg); }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg); }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg); }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg); }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg); }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg); }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg); } }\n\n@keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg); }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg); }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg); }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg); }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg); }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg); }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg); }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg); }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg); } }\n\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg); }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg); } }\n\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg); }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg); } }\n\n.fa-rotate-90 {\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg); }\n\n.fa-rotate-180 {\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg); }\n\n.fa-rotate-270 {\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg); }\n\n.fa-flip-horizontal {\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1); }\n\n.fa-flip-vertical {\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1); }\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1); }\n\n.fa-rotate-by {\n -webkit-transform: rotate(var(--fa-rotate-angle, none));\n transform: rotate(var(--fa-rotate-angle, none)); }\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\n height: 2em;\n position: relative;\n width: 2.5em; }\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: var(--fa-stack-z-index, auto); }\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em; }\n\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em; }\n\n.fa-inverse {\n color: var(--fa-inverse, #fff); }\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0; }\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0; }\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1); }\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4); }\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4); }\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1); }\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black; }\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n color: var(--fa-inverse, #fff); }\n\n",Bu="adoptedStyleSheets"in document,Fu=({css:t})=>{try{const e=new CSSStyleSheet;return e.replaceSync(t),e}catch{return}},Wu=({css:t})=>{const e=document.createElement("template");return e.innerHTML=`\n\t\t<style>${t}</style>\n\t`,e},Uu=Bu?Fu({css:Vu}):null,Gu=Uu?null:Wu({css:Vu}),Yu=Uu?({css:t})=>{const e=Fu({css:t});return t=>{t.shadowRoot.adoptedStyleSheets=[Uu,e]}}:({css:t})=>{const e=Symbol("is-applied"),i=Wu({css:t});return t=>{t[e]||(t[e]=!0,t.shadowRoot.appendChild(Gu.content.cloneNode(!0)),t.shadowRoot.appendChild(i.content.cloneNode(!0)))}};function qu({prototype:t},e){for(const[i,o]of Object.entries(e))Zu(t,i,o);t.connectedCallback=function(){for(const[t,{connect:i=(()=>{})}]of Object.entries(e))i(this,t)}}function Zu(t,e,{get:i,set:o,observe:n=(()=>{}),defaultValue:r}){const s=i||((t,e)=>e),a=o||((t,e)=>e),l=Symbol(`cached-${e}`);t[l]=r,Object.defineProperty(t,e,{get(){const t=this[l];return this[l]=s(this,this[l]),this[l]!==t&&n(this,this[l],t),this[l]},set(t){const e=this[l],i=a(this,t,this[l]);void 0!==i&&(this[l]=s(this,i),e!==this[l]&&n(this,this[l],e))},enumerable:!0,configurable:!1})}function Xu({attribute:t,defaultValue:e,...i}){return{connect:ep(t,e),defaultValue:e,...i}}function Qu({defaultValue:t=!1,set:e=((t,e)=>e),...i}){return Xu({defaultValue:t,set:(t,i)=>e(t,Boolean(i)),...i})}function Ku({defaultValue:t="",set:e=((t,e)=>e),...i}){return Xu({defaultValue:t,set:(t,i)=>e(t,tp(i)),...i})}function Ju({defaultValue:t="",set:e=((t,e)=>e),...i}){return Xu({defaultValue:t,set:(t,i)=>{const o="object"==typeof i?i:tp(i);return e(t,o)},...i})}function tp(t){return null==t?"":String(t)}function ep(t,e){const i="boolean"==typeof e?()=>!0:e=>e.getAttribute(t);return(e,o)=>{e.hasAttribute(t)&&(e[o]=i(e))}}let ip,op,np,rp;function sp(t){return ip?"string"==typeof t?ip({iconName:t}):t&&2<=t.length?ip({prefix:t[0],iconName:t[1]}):t:t}function ap(...t){return op?hp("html",op(...t)):void 0}function lp(...t){return np?hp("html",np(...t)):void 0}function cp(...t){return rp?rp.transform(...t):void 0}function hp(t,e){if(e)return e[t]}function dp(t,e){if(void 0===e)return e=>dp(t,e);const i=(t,e)=>{return"function"==typeof t?t((i=e)?i.replace(/[^0-9a-zA-Z-_]/g,""):""):t;var i};return(o,n,r)=>{(r||n)&&(o[t].classList.remove(i(e,r)),n&&o[t].classList.add(i(e,n)))}}const up=Yu({css:'\n:host {\n\tbox-sizing: border-box;\n\tdisplay: inline-block;\n\tline-height: 1; }\n\n:host([pull="left"]) {\n\tfloat: left;\n\tmargin-right: .3em; }\n\n:host([pull="right"]) {\n\tfloat: right;\n\tmargin-left: .3em; }\n'}),pp=document.createElement("template");function gp({icon:t=[]}={}){const[e=1,i=1,,,o=""]=t;return[`<svg\n\t\t\tclass="svg-inline--fa"\n\t\t\taria-hidden="true"\n\t\t\trole="img"\n\t\t\tfocusable="false"\n\t\t\txmlns="http://www.w3.org/2000/svg"\n\t\t\tviewBox="0 0 ${e} ${i}"\n\t\t>\n\t\t\t${Array.isArray(o)?`<g class="fa-group">\n\t\t\t<path class="fa-secondary" fill="currentColor" d="${o[1]}" />\n\t\t\t<path class="fa-primary" fill="currentColor" d="${o[0]}" />\n\t\t</g>`:`<path fill="currentColor" d="${o}" />`}\n\t\t</svg>`]}pp.innerHTML=gp({icon:[]});const mp={SVG:Symbol("svg"),PATH_PRIMARY:Symbol("path-primary"),PATH_SECONDARY:Symbol("path-secondary"),NEEDS_REDRAW:Symbol("needs-complete-redraw-of-structure")},fp=dp(mp.SVG),vp=t=>fp((e=>t.concat(e))),bp={icon:Ju({attribute:"icon",observe:xp}),resolvedIcon:{get:({icon:t,_resolve:e})=>e(t)},isDuotone:{get:wp},transform:Ju({attribute:"transform",observe:xp}),parsedTransform:{get:function({_parseTransform:t,transform:e}){return(e&&"string"==typeof e?t(e):e)||void 0}},size:Ku({attribute:"size",observe:vp("fa-")}),rotation:Ku({attribute:"rotation",observe:vp("fa-rotate-")}),flip:Ku({attribute:"flip",observe:vp("fa-flip-")}),pull:Ku({attribute:"pull",observe:("pull",(t,e)=>t.setAttribute("pull",e))}),mask:Ju({attribute:"mask",observe:xp}),resolvedMask:{get:({mask:t,_resolve:e})=>e(t)},fixedWidth:Qu({attribute:"fixed-width",observe:fp("fa-fw")}),spin:Qu({attribute:"spin",observe:fp("fa-spin")}),pulse:Qu({attribute:"pulse",observe:fp("fa-pulse")}),inverse:Qu({attribute:"inverse",observe:fp("fa-inverse")}),swapOpacity:Qu({attribute:"swap-opacity",observe:fp("fa-swap-opacity")})};class yp extends HTMLElement{constructor(){super();const t=this.attachShadow({mode:"open"});t.appendChild(pp.content.cloneNode(!0)),up(this),this[mp.SVG]=t.querySelector("svg"),this[mp.PATH_PRIMARY]=t.querySelector("path"),this[mp.NEEDS_REDRAW]=t=>t.isDuotone||t.transform||t.mask,this._toHtml=ap,this._resolve=sp,this._parseTransform=cp,this.spin=!1}}function wp({resolvedIcon:t}){return t&&t.icon&&Array.isArray(t.icon[4])}function xp(t){t[mp.NEEDS_REDRAW](t)?function(t){const e=t[mp.SVG].classList;t[mp.SVG].remove();const i={transform:t.parsedTransform,mask:t.resolvedMask},[o]=t._toHtml(t.resolvedIcon,i)||gp(t.resolvedIcon);t.shadowRoot.innerHTML=t.shadowRoot.innerHTML.concat(o),t[mp.SVG]=t.shadowRoot.querySelector("svg"),t[mp.SVG].classList.add(...e);const n=t.shadowRoot.querySelectorAll("path");t[mp.PATH_PRIMARY]=n[1]?n[1]:n[0],t[mp.PATH_SECONDARY]=n[1]?n[0]:void 0;const{isDuotone:r}=t;t[mp.NEEDS_REDRAW]=t=>r!==t.isDuotone||t.transform||t.mask}(t):function(t){const{resolvedIcon:e}=t;if(!e)return;t[mp.SVG].setAttribute("viewBox",`0 0 ${e.icon[0]} ${e.icon[1]}`);(wp(t)?Cp:kp)(t,{vectorDefinition:e.icon[4]})}(t)}function kp(t,{vectorDefinition:e}){t[mp.PATH_PRIMARY].setAttribute("d",e)}function Cp(t,{vectorDefinition:e}){t[mp.PATH_PRIMARY].setAttribute("d",e[0]),t[mp.PATH_SECONDARY].setAttribute("d",e[1])}qu(yp,bp);const Mp=Yu({css:'\n\t:host {\n\t\tbox-sizing: border-box;\n\t\tdisplay: inline-block;\n\t\tline-height: 1; }\n\n\t\t:host([pull="left"]) {\n\t\t\tfloat: left;\n\t\t\tmargin-right: .3em; }\n\n\t\t:host([pull="right"]) {\n\t\t\tfloat: right;\n\t\t\tmargin-left: .3em; }\n\n\t::slotted(*) {\n\t\tbottom: 0;\n\t\tleft: 0;\n\t\tmargin: auto;\n\t\tposition: absolute;\n\t\tright: 0;\n\t\ttop: 0; }\n'}),_p=document.createElement("template");_p.innerHTML='\n<span class="fa-layers">\n\t<slot></slot>\n</span>\n';const Sp={LAYERS:Symbol("layers")},Ep=dp(Sp.LAYERS),zp={size:{...bp.size,observe:("fa-",Ep((t=>"fa-".concat(t))))},fixedWidth:{...bp.fixedWidth,observe:Ep("fa-fw")},pull:bp.pull};class Rp extends HTMLElement{constructor(){super();const t=this.attachShadow({mode:"open"});t.appendChild(_p.content.cloneNode(!0)),Mp(this),this[Sp.LAYERS]=t.querySelector(".fa-layers")}}qu(Rp,zp);const Ip=Yu({css:"\n:host {\n\tbox-sizing: border-box;\n\tdisplay: inline-block;\n\tline-height: 1; }\n\n.fa-layers-counter {\n\tbackground: var(--fa-layers-counter-background, #ff253a); }\n"}),Lp=document.createElement("template");Lp.innerHTML='\n<span class="fa-layers-text"></span>\n';const Hp={CONTAINER:Symbol("container"),NEEDS_REDRAW:Symbol("needs-complete-redraw-of-structure")},Tp=dp(Hp.CONTAINER),Ap=t=>Tp((e=>t.concat(e))),Op={value:Ku({attribute:"value",observe:Dp}),transform:{...bp.transform,observe:Dp},parsedTransform:bp.parsedTransform,size:Ku({attribute:"size",observe:Ap("fa-")}),position:Ku({attribute:"position",observe:Ap("fa-layers-")}),fixedWidth:Qu({attribute:"fixed-width",observe:Tp("fa-fw")}),inverse:Qu({attribute:"inverse",observe:Tp("fa-inverse")}),counter:Qu({attribute:"counter",observe:Dp})};class $p extends HTMLElement{constructor(){super();const t=this.attachShadow({mode:"open"});t.appendChild(Lp.content.cloneNode(!0)),Ip(this),this[Hp.CONTAINER]=t.querySelector(".fa-layers-text"),this[Hp.NEEDS_REDRAW]=t=>t.transform,this._toHtml=lp,this._parseTransform=cp}}function Dp(t){t[Hp.NEEDS_REDRAW](t)&&function(t){const e=t[Hp.CONTAINER].classList;t[Hp.CONTAINER].remove();const i={transform:t.parsedTransform},[o]=t._toHtml(String(t.value),i)||function(t=""){const e=document.createElement("span");return e.className="fa-layers-text",e.textContent=t,[e.outerHTML]}(t.value);t.shadowRoot.innerHTML=t.shadowRoot.innerHTML.concat(o),t[Hp.CONTAINER]=t.shadowRoot.querySelector(".fa-layers-text"),t[Hp.CONTAINER].classList.add(...e);const{transform:n}=t;t[Hp.NEEDS_REDRAW]=t=>n!==t.transform}(t),function(t){const e=t[Hp.CONTAINER].classList,i=t.counter?"fa-layers-counter":"fa-layers-text";e.contains(i)||(t[Hp.CONTAINER].classList.remove("fa-layers-counter","fa-layers-text"),t[Hp.CONTAINER].classList.add(i))}(t),function(t,e=t.value){const i=t.counter&&!e?0:e;t[Hp.CONTAINER].textContent=i}(t)}qu($p,Op),function({findIconDefinition:t,icon:e,text:i,parse:o}){ip=t,op=e,np=i,rp=o}({findIconDefinition:Fh,icon:Wh,text:Uh,parse:Bh}),customElements.get("og-fa-icon")||customElements.define("og-fa-icon",yp),customElements.get("og-fa-layers")||customElements.define("og-fa-layers",Rp);class Np{constructor(t){this.items=[],t&&this.populate(t)}clean(){const t=new Set;let e=!1;return this.items.forEach(((i,o)=>{i.container?e=i.container.clean()||e:i.tabs&&i.tabs.length||t.add(o)})),this.items=this.items.filter(((e,i)=>!t.has(i))),1==this.items.length&&this.parentItem&&(this.parentItem.tabs=this.items[0].tabs,this.parentItem.container=this.items[0].container,this.parentItem.parentContainer=this.items[0].parentContainer,e=!0),t.size>0||e}populate(t){this.orientation=t.orientation,this.items=t.items?t.items.map((t=>({tabs:t.tabs,selectedIndex:t.selectedIndex,container:t.container?new Np(t.container):null,size:t.size}))):[],this.items.forEach((t=>{t.parentContainer=this,t.container&&(t.container.parentItem=t)}))}updateTab(t,e){this.items.forEach((i=>{if(i.container)i.container.updateTab(t,e);else if(i.tabs)for(let o=0;o<i.tabs.length;o++)if(i.tabs[o].id==t){Object.assign(i.tabs[o],e);break}}))}addTab(t,e){for(const i of this.items)if(i.container)i.container.addTab(t,e);else{if(i.tabs=i.tabs||[],null==e)return void i.tabs.push(t);{const o=i.tabs.findIndex((t=>t.id==e))+1;if(o>0)return void i.tabs.splice(o,0,t)}}}removeTab(t){this.items.forEach((e=>{if(e.container)e.container.removeTab(t);else if(e.tabs){const i=e.tabs.findIndex((e=>e.id==t));i>-1&&e.tabs.splice(i,1)}}))}walk(t,e){for(const i of this.items)if(i.container){if(!1===i.container.walk(t,i.container))return!1}else if(i.tabs)for(const o of i.tabs)if(!1===t(o,e||this))return!1;return!0}getSourceData(){return{orientation:this.orientation,items:this.items.map((t=>{const e={};return e.collapsed=t.collapsed,e.size=t.size,e.selectedIndex=t.selectedIndex,t.container?e.container=t.container.getSourceData():t.tabs&&(e.tabs=t.tabs.map((t=>{const e=Object.assign({},t);return delete e.unsaved,e}))),e}))}}}const Pp={TAB_PANEL_HEIGHT:30,TAB_PANEL_BORDER:2,...G},jp=or`
|
|
1370
1370
|
* {
|
|
1371
1371
|
box-sizing: border-box;
|
|
1372
1372
|
}
|
|
@@ -1567,7 +1567,7 @@
|
|
|
1567
1567
|
style="display: none; z-index: 2000"
|
|
1568
1568
|
@select=${t=>this._onMenuItemSelect(t)}>
|
|
1569
1569
|
</og-menu>
|
|
1570
|
-
`}get menu(){return this.menuRef.value}get selectedItem(){return this.items[this.selectedIndex]}get container(){return zt(this,"og-tabcontainer")}updated(){this._contextMenuItems=[],this.closable&&(this._contextMenuItems=Wp),this.menu.items=this._contextMenuItems}positionOverlay(t){if(!t)return this.hideOverlay();const e=Ht(t,this);jt(this.overlay,{t:e.top,l:e.left}),Dt(this.overlay,{w:t.offsetWidth,h:t.offsetHeight}),xt(this.overlay)}selectTab(t,e=!1){this.selectedIndex=t,e&&this.dispatchEvent(new Fp("select",{tab:this.items[t],tabs:this}))}getIndexById(t){return this.items.findIndex((e=>e.id==t))}selectTabById(t,e=!1){const i=this.getIndexById(t);i>-1&&this.selectTab(i,e)}addTab(t,e=this.selectedIndex+1){this.hideOverlay(),this.items.splice(e,0,t),this.requestUpdate()}removeTab(t,e=!1){if(this.hideOverlay(),!this.dispatchEvent(new Fp("beforeRemove",{tab:this.items[t],tabs:this,index:t})))return;const[i]=this.items.splice(t,1);return this.selectedIndex>=this.items.length?this.selectTab(this.items.length-1,!0):this.selectedIndex==t&&this.selectTab(0,!0),this.requestUpdate(),e&&this.dispatchEvent(new Fp("remove",{tab:i,tabs:this,index:t})),i}_onDragover(t,e){Vp.dragParent&&Vp.dragParent.topLevelComponent==this.topLevelComponent&&(t.preventDefault(),t.stopPropagation(),t.dataTransfer.dropEffect="move",Vp.dropIndex=e,this.positionOverlay(e>=this.tabs.length?this.empty:this.tabs[e]))}_onDragStart(t,e){Vp.dragParent=this,Vp.dragTarget=null,Vp.dragIndex=e}_onDragStop(){Vp.dragParent=null}_onDrop(){if(Vp.dragTarget=this,Vp.dragParent==Vp.dragTarget)this.moveTab(Vp.dragIndex,Vp.dropIndex,!0);else{const t=Vp.dragParent.items[Vp.dragIndex];Vp.dragParent.removeTab(Vp.dragIndex),Vp.dragParent.selectTab(Math.min(Vp.dragParent.items.length-1,Vp.dragIndex),!0),Vp.dragTarget.addTab(t,Vp.dropIndex),Vp.dragTarget.selectTab(Vp.dropIndex,!0),this.dispatchEvent(new Fp("move",{tab:t,tabs:this}))}Vp.dragParent=null}moveTab(t,e,i=!1){if(t==e)return;const[o]=this.items.splice(e,0,this.items.splice(t,1)[0]);this.selectTab(Math.min(e,this.tabs.length-1),!0),this.requestUpdate(),i&&this.dispatchEvent(new Fp("move",{tab:o,tabs:this}))}_onMenuItemSelect(t){const e=this._contextMenuItems[t.index].key;if("close"==e)this.removeTab(this._contextMenuTabIndex,!0),this.selectedIndex>=this.items.length&&this.selectTab(Math.max(this.items.length-1,0),!0);else if("close_all"==e)for(;this.items.length>0;)this.removeTab(0,!0);else if("close_others"==e){for(let t=this.items.length-1;t>=0;t--)t!=this._contextMenuTabIndex&&this.removeTab(t,!0);this.selectTab(0,!0)}else if("close_right"==e){for(;this.items.length>this._contextMenuTabIndex+1;)this.removeTab(this._contextMenuTabIndex+1,!0);this.selectedIndex>=this.items.length&&this.selectTab(Math.max(this.items.length-1,0),!0)}}_onCrossClick(t,e){t.stopPropagation(),this.removeTab(e,!0)}_onContextMenu(t,e){t.preventDefault(),this._contextMenuTabIndex=e,this.menu.items.length>0&&this.menu.openAt(t.pageX,t.pageY),this.dispatchEvent(new Fp("contextmenu",{tab:this.items[e],tabs:this,uiEvent:t}))}_onActionClick(t){
|
|
1570
|
+
`}get menu(){return this.menuRef.value}get selectedItem(){return this.items[this.selectedIndex]}get container(){return zt(this,"og-tabcontainer")}updated(){this._contextMenuItems=[],this.closable&&(this._contextMenuItems=Wp),this.menu.items=this._contextMenuItems}positionOverlay(t){if(!t)return this.hideOverlay();const e=Ht(t,this);jt(this.overlay,{t:e.top,l:e.left}),Dt(this.overlay,{w:t.offsetWidth,h:t.offsetHeight}),xt(this.overlay)}selectTab(t,e=!1){this.selectedIndex=t,e&&this.dispatchEvent(new Fp("select",{tab:this.items[t],tabs:this}))}getIndexById(t){return this.items.findIndex((e=>e.id==t))}selectTabById(t,e=!1){const i=this.getIndexById(t);i>-1&&this.selectTab(i,e)}addTab(t,e=this.selectedIndex+1){this.hideOverlay(),this.items.splice(e,0,t),this.requestUpdate()}removeTab(t,e=!1){if(this.hideOverlay(),!this.dispatchEvent(new Fp("beforeRemove",{tab:this.items[t],tabs:this,index:t})))return;const[i]=this.items.splice(t,1);return this.selectedIndex>=this.items.length?this.selectTab(this.items.length-1,!0):this.selectedIndex==t&&this.selectTab(0,!0),this.requestUpdate(),e&&this.dispatchEvent(new Fp("remove",{tab:i,tabs:this,index:t})),i}_onDragover(t,e){Vp.dragParent&&Vp.dragParent.topLevelComponent==this.topLevelComponent&&(t.preventDefault(),t.stopPropagation(),t.dataTransfer.dropEffect="move",Vp.dropIndex=e,this.positionOverlay(e>=this.tabs.length?this.empty:this.tabs[e]))}_onDragStart(t,e){Vp.dragParent=this,Vp.dragTarget=null,Vp.dragIndex=e}_onDragStop(){Vp.dragParent=null}_onDrop(){if(Vp.dragTarget=this,Vp.dragParent==Vp.dragTarget)this.moveTab(Vp.dragIndex,Vp.dropIndex,!0);else{const t=Vp.dragParent.items[Vp.dragIndex];Vp.dragParent.removeTab(Vp.dragIndex),Vp.dragParent.selectTab(Math.min(Vp.dragParent.items.length-1,Vp.dragIndex),!0),Vp.dragTarget.addTab(t,Vp.dropIndex),Vp.dragTarget.selectTab(Vp.dropIndex,!0),this.dispatchEvent(new Fp("move",{tab:t,tabs:this}))}Vp.dragParent=null}moveTab(t,e,i=!1){if(t==e)return;const[o]=this.items.splice(e,0,this.items.splice(t,1)[0]);this.selectTab(Math.min(e,this.tabs.length-1),!0),this.requestUpdate(),i&&this.dispatchEvent(new Fp("move",{tab:o,tabs:this}))}_onMenuItemSelect(t){const e=this._contextMenuItems[t.index].key;if("close"==e)this.removeTab(this._contextMenuTabIndex,!0),this.selectedIndex>=this.items.length&&this.selectTab(Math.max(this.items.length-1,0),!0);else if("close_all"==e)for(;this.items.length>0;)this.removeTab(0,!0);else if("close_others"==e){for(let t=this.items.length-1;t>=0;t--)t!=this._contextMenuTabIndex&&this.removeTab(t,!0);this.selectTab(0,!0)}else if("close_right"==e){for(;this.items.length>this._contextMenuTabIndex+1;)this.removeTab(this._contextMenuTabIndex+1,!0);this.selectedIndex>=this.items.length&&this.selectTab(Math.max(this.items.length-1,0),!0)}}_onCrossClick(t,e){t.stopPropagation(),this.removeTab(e,!0)}_onContextMenu(t,e){t.preventDefault(),this._contextMenuTabIndex=e,this.menu.items.length>0&&this.menu.openAt(t.pageX,t.pageY),this.dispatchEvent(new Fp("contextmenu",{tab:this.items[e],tabs:this,uiEvent:t}))}_onActionClick(t){In(this,"tabs",t)}disconnectedCallback(){this.menu?.remove()}_onContainerDragover(t){t.preventDefault(),t.stopPropagation(),t.dataTransfer.dropEffect="move"}};Up.styles=[jp],Up.dragIndex=-1,Up.dropIndex=-1,Bp([ps({type:Object})],Up.prototype,"topLevelComponent",void 0),Bp([ps({type:Array})],Up.prototype,"items",void 0),Bp([ps({type:Boolean})],Up.prototype,"closable",void 0),Bp([ps({type:Boolean})],Up.prototype,"addButton",void 0),Bp([ps({type:Number})],Up.prototype,"selectedIndex",void 0),Bp([fs("#overlay")],Up.prototype,"overlay",void 0),Bp([bs(".tab")],Up.prototype,"tabs",void 0),Bp([ps({type:Array})],Up.prototype,"actions",void 0),Bp([ps({type:String,reflect:!0})],Up.prototype,"position",void 0),Bp([ps({type:Boolean})],Up.prototype,"fixed",void 0),Bp([fs(".empty")],Up.prototype,"empty",void 0),Up=Vp=Bp([hs("og-tabs")],Up);const Gp=or`
|
|
1571
1571
|
* {
|
|
1572
1572
|
box-sizing: border-box;
|
|
1573
1573
|
}
|
|
@@ -1847,7 +1847,7 @@
|
|
|
1847
1847
|
|
|
1848
1848
|
<div class="main"></div>
|
|
1849
1849
|
</div>
|
|
1850
|
-
`,this.components=new bg(this),this.sidebars=new yg(this),this.alerts=new mg(this),this.dialogs=new wg(this),this.options=vg(),this.logger.info("init"),this.addEventListener("state",(t=>{t.target!=this&&(t.stopPropagation(),this.dispatchStateEvent())}))}connectedCallback(){super.connectedCallback(),this.logger.info("connected"),window.addEventListener("beforeunload",this._onWindowBeforeUnload)}disconnectedCallback(){window.removeEventListener("beforeunload",this._onWindowBeforeUnload)}layout(){this.container?.layout(),this.top?.layout()}setSourceData(t){this.sourceData=t,t.options&&(this.options=vg(t.options,this.options))}async updated(){const t=this.compact?this.editorContainer:this.container;t.parentElement!=this.main&&(St(this.main),this.main.appendChild(t),t.requestUpdate());const e=(this.sourceData.sidemenu.items??[])[this.sourceData.sidemenu.activeIndex]?.id;e&&(this.sidebar1ComponentId=e),await(this.container?.updateComplete),this.layout()}async open(t){return this.compact&&this.hideSidebar(),xt(this.editorContainer),new Promise(((e,i)=>{this.components.enqueueComponentResolution(t.id,e,i),this.editorContainer.open(t),this.dispatchStateEvent()}))}async openDialog(t){return await this.dialogs.open(t)}async openMenu(t){let e;this.logger.info("open menu");const i=()=>{this.menu.removeEventListener("command.exec",o),this.menu.removeEventListener("command.close",i),e(new eg({id:null}))},o=t=>{this.menu.removeEventListener("command.exec",o),this.menu.removeEventListener("command.close",i),e(t.command)};return new Promise((n=>{e=n,this.menu.addEventListener("command.exec",o),this.menu.addEventListener("command.close",i),this.menu.text=t.text,this.menu.open(),this.menu.commands=t.content instanceof ig?t.content:new ig(gg[t.content])}))}openModalSidebar(t){return this.sidebars.openModalSidebar(t)}async toggleSidebar(t){t??(t=this.compact?this.sidebarHost.parentElement!=this.main:this.container.items[0].collapsed),t?this.showSidebar():this.hideSidebar()}async hideSidebar(){this.compact?this.sidebarHost.parentElement==this.main&&(St(this.main),this.main.appendChild(this.editorContainer)):await this.container.collapse(0,!0),this.layout()}async showSidebar(){this.compact?this.sidebarHost.parentElement!=this.main&&(St(this.main),this.main.appendChild(this.sidebarHost)):await this.container.collapse(0,!1),this.layout()}showAlert(t){return this.alerts.addAlert(t)}getState(){const t=this.container?.items[0];return{sidebar:{selectedItem:this.sidebar1ComponentId,width:t?.size,collapsed:!!t?.collapsed},layout:this.editorContainer?.model.getSourceData(),dialogs:[...Array.from(this.dialogs.items.entries()).map((([t,e])=>Object.assign({id:t},e.getOptions())))],components:[...this.components.items].reduce(((t,[e,i])=>{if(i.getState){const o=i.getState();o&&(t[e]=o)}return t}),{})}}async setState(t){this.state=t;const e=this.sourceData.sidemenu.items.findIndex((e=>e.id==t.sidebar.selectedItem));e>=0&&(this.sourceData.sidemenu.activeIndex=e,this.sidebar1ComponentId=t.sidebar.selectedItem),this.sourceData.editorLayout=t.layout,this._editorContainer=null,this.requestUpdate(),await this.updateComplete,this.sidemenu?.requestUpdate(),this.updateSidebarComponent(),this.updateMainComponent(),t.dialogs?.forEach((t=>this.openDialog(t)));for(const e in t.components)this.components.setState(e,t.components[e])}_onSidemenuSelect(t){const e=(this.sourceData.sidemenu.items??[])[t.index]?.id;e==this.sidebar1ComponentId?this.toggleSidebar():(this.toggleSidebar(!0),this.sidebar1ComponentId=e,this.updateSidebarComponent()),this.dispatchStateEvent()}updateSidebarComponent(){this.sidebarHost.componentId=this.sidebar1ComponentId}updateMainComponent(){this.container?.updateComponent(1)}};_g.styles=[pg],_g.uniqueId=0,_g.getUniqueId=()=>++xg.uniqueId,kg([fs("og-overlay")],_g.prototype,"overlay",void 0),kg([fs("og-commands")],_g.prototype,"menu",void 0),kg([fs("og-bucket-top")],_g.prototype,"top",void 0),kg([fs("og-bucket-sidemenu")],_g.prototype,"sidemenu",void 0),kg([fs(".body")],_g.prototype,"body",void 0),kg([fs(".main")],_g.prototype,"main",void 0),kg([ps({type:Object})],_g.prototype,"createComponent",void 0),kg([ps({type:Object})],_g.prototype,"sourceData",void 0),kg([ps({type:Object})],_g.prototype,"options",void 0),kg([ps({type:Object})],_g.prototype,"logger",void 0),kg([ps({type:Boolean})],_g.prototype,"compact",void 0),_g=xg=kg([hs("og-bucket")],_g);var Sg=function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};const Eg={info:[Js.Accent,"circle-info"],danger:[Js.Red,"circle-exclamation"],warning:[Js.Yellow,"circle-exclamation"],success:[Js.Green,"circle-check"]};class zg extends Event{constructor(t){super(`alert.${t}`,{bubbles:!0,composed:!0})}}let Rg=class extends ls{constructor(){super(...arguments),this.render=()=>Br`
|
|
1850
|
+
`,this.components=new bg(this),this.sidebars=new yg(this),this.alerts=new mg(this),this.dialogs=new wg(this),this.options=vg(),this.logger.info("init"),this.addEventListener("state",(t=>{t.target!=this&&(t.stopPropagation(),this.dispatchStateEvent())}))}connectedCallback(){super.connectedCallback(),this.logger.info("connected"),window.addEventListener("beforeunload",this._onWindowBeforeUnload)}disconnectedCallback(){window.removeEventListener("beforeunload",this._onWindowBeforeUnload)}layout(){this.container?.layout(),this.top?.layout()}setSourceData(t){this.sourceData=t,t.options&&(this.options=vg(t.options,this.options))}async updated(){const t=this.compact?this.editorContainer:this.container;t.parentElement!=this.main&&(St(this.main),this.main.appendChild(t),t.requestUpdate());const e=(this.sourceData.sidemenu.items??[])[this.sourceData.sidemenu.activeIndex]?.id;e&&(this.sidebar1ComponentId=e),await(this.container?.updateComplete),this.layout()}async open(t){return this.compact&&this.hideSidebar(),xt(this.editorContainer),new Promise(((e,i)=>{this.components.enqueueComponentResolution(t.id,e,i),this.editorContainer.open(t),this.dispatchStateEvent()}))}async openDialog(t){return await this.dialogs.open(t)}async openMenu(t){let e;this.logger.info("open menu");const i=()=>{this.menu.removeEventListener("command.exec",o),this.menu.removeEventListener("command.close",i),e(new eg({id:null}))},o=t=>{this.menu.removeEventListener("command.exec",o),this.menu.removeEventListener("command.close",i),e(t.command)};return new Promise((n=>{e=n,this.menu.addEventListener("command.exec",o),this.menu.addEventListener("command.close",i),this.menu.text=t.text,this.menu.open(),this.menu.commands=t.content instanceof ig?t.content:new ig(gg[t.content])}))}openModalSidebar(t){return this.sidebars.openModalSidebar(t)}async toggleSidebar(t){t??(t=this.compact?this.sidebarHost.parentElement!=this.main:this.container.items[0].collapsed),t?this.showSidebar():this.hideSidebar()}async hideSidebar(){this.compact?this.sidebarHost.parentElement==this.main&&(St(this.main),this.main.appendChild(this.editorContainer)):await this.container.collapse(0,!0),this.layout()}async showSidebar(){this.compact?this.sidebarHost.parentElement!=this.main&&(St(this.main),this.main.appendChild(this.sidebarHost)):await this.container.collapse(0,!1),this.layout()}showAlert(t){return this.alerts.addAlert(t)}getState(){const t=this.container?.items[0];return{sidebar:{selectedItem:this.sidebar1ComponentId,width:t?.size,collapsed:!!t?.collapsed},layout:this.editorContainer?.model.getSourceData(),dialogs:[...Array.from(this.dialogs.items.entries()).map((([t,e])=>Object.assign({id:t},e.getOptions())))],components:[...this.components.items].reduce(((t,[e,i])=>{if(i.getState){const o=i.getState();o&&(t[e]=o)}return t}),{})}}async setState(t){this.state=t;const e=this.sourceData.sidemenu.items.findIndex((e=>e.id==t.sidebar.selectedItem));e>=0&&(this.sourceData.sidemenu.activeIndex=e,this.sidebar1ComponentId=t.sidebar.selectedItem),this.sourceData.editorLayout=t.layout,this._editorContainer=null,this.requestUpdate(),await this.updateComplete,this.sidemenu?.requestUpdate(),this.updateSidebarComponent(),this.updateMainComponent(),t.dialogs?.forEach((t=>this.openDialog(t)));for(const e in t.components)this.components.setState(e,t.components[e])}_onSidemenuSelect(t){const e=(this.sourceData.sidemenu.items??[])[t.index]?.id;e==this.sidebar1ComponentId?this.toggleSidebar():(this.toggleSidebar(!0),this.sidebar1ComponentId=e,this.updateSidebarComponent()),this.dispatchStateEvent()}updateSidebarComponent(){this.sidebarHost.componentId=this.sidebar1ComponentId}updateMainComponent(){this.container?.updateComponent(1)}async openSidebarComponent(t){this.sidebar1ComponentId=t.toString(),this.showSidebar(),this.updateSidebarComponent(),this.sidemenu.selectItem(t.toString()),await this.sidebarHost.updateComplete}};_g.styles=[pg],_g.uniqueId=0,_g.getUniqueId=()=>++xg.uniqueId,kg([fs("og-overlay")],_g.prototype,"overlay",void 0),kg([fs("og-commands")],_g.prototype,"menu",void 0),kg([fs("og-bucket-top")],_g.prototype,"top",void 0),kg([fs("og-bucket-sidemenu")],_g.prototype,"sidemenu",void 0),kg([fs(".body")],_g.prototype,"body",void 0),kg([fs(".main")],_g.prototype,"main",void 0),kg([ps({type:Object})],_g.prototype,"createComponent",void 0),kg([ps({type:Object})],_g.prototype,"sourceData",void 0),kg([ps({type:Object})],_g.prototype,"options",void 0),kg([ps({type:Object})],_g.prototype,"logger",void 0),kg([ps({type:Boolean})],_g.prototype,"compact",void 0),_g=xg=kg([hs("og-bucket")],_g);var Sg=function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};const Eg={info:[Js.Accent,"circle-info"],danger:[Js.Red,"circle-exclamation"],warning:[Js.Yellow,"circle-exclamation"],success:[Js.Green,"circle-check"]};class zg extends Event{constructor(t){super(`alert.${t}`,{bubbles:!0,composed:!0})}}let Rg=class extends ls{constructor(){super(...arguments),this.render=()=>Br`
|
|
1851
1851
|
<div class="header">
|
|
1852
1852
|
<div class="icon">
|
|
1853
1853
|
<og-icon .icon="${this.iconSpec}"></og-icon>
|
|
@@ -1903,7 +1903,7 @@
|
|
|
1903
1903
|
.body {
|
|
1904
1904
|
padding: 2px;
|
|
1905
1905
|
}
|
|
1906
|
-
`,Sg([ps({type:Object})],Rg.prototype,"options",void 0),Sg([ps({type:String,reflect:!0})],Rg.prototype,"color",void 0),Rg=Sg([hs("og-bucket-alert"),ma({props:["border"]})],Rg);var
|
|
1906
|
+
`,Sg([ps({type:Object})],Rg.prototype,"options",void 0),Sg([ps({type:String,reflect:!0})],Rg.prototype,"color",void 0),Rg=Sg([hs("og-bucket-alert"),ma({props:["border"]})],Rg);var Ig=function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};let Lg=class extends ls{constructor(){super(...arguments),this.render=()=>Br`<div></div>`}async loadComponent(t){St(this.container),this._component=await this.bucket.components.get(t),this._component&&this.container.appendChild(this._component)}async updated(t){this.bucket&&t.has("componentId")&&this.loadComponent(this.componentId)}layout(){this._component?.layout&&this._component.layout()}};Lg.styles=or`
|
|
1907
1907
|
:host {
|
|
1908
1908
|
display: block;
|
|
1909
1909
|
color: var(--og-text-color);
|
|
@@ -1917,7 +1917,7 @@
|
|
|
1917
1917
|
div {
|
|
1918
1918
|
height: 100%;
|
|
1919
1919
|
}
|
|
1920
|
-
`,
|
|
1920
|
+
`,Ig([ps({type:Object})],Lg.prototype,"bucket",void 0),Ig([ps({type:String})],Lg.prototype,"componentId",void 0),Ig([fs("div")],Lg.prototype,"container",void 0),Lg=Ig([hs("og-bucket-sidebar")],Lg);var Hg=function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};const Tg=or`
|
|
1921
1921
|
.item {
|
|
1922
1922
|
vertical-align: middle;
|
|
1923
1923
|
text-align: center;
|
|
@@ -1933,19 +1933,20 @@
|
|
|
1933
1933
|
.item.selected og-bucket-button, .item:hover og-bucket-button {
|
|
1934
1934
|
color: var(--og-text-color-3);
|
|
1935
1935
|
}
|
|
1936
|
-
`;let Ag=class extends ls{get tooltip(){return this.tooltipRef?.value}get count(){return this.settings?.items?.length??0}constructor(){super(),this.tooltipRef=Zh(),this.items=new pd((t=>{const e=this.settings?.items[t];return yt("og-bucket-button",{active:this.settings?.activeIndex===t,text:e.text,icon:e.icon,statusIcon:["fas",e.statusIcon]})})),this._onMouseMove=(t,e)=>{const i=this.settings.items[e.index].tooltip;i?(this.tooltip.querySelector('[slot="body"]').innerText=i,this.tooltip.attachTo(e,"right")):this.tooltip.deatach()},this._itemRenderer=async(t,e)=>{const i=await this.items.get(e);St(t),t.appendChild(i)},this.render=()=>Br`
|
|
1936
|
+
`;let Ag=class extends ls{get tooltip(){return this.tooltipRef?.value}get count(){return this.settings?.items?.length??0}selectItem(t){const e=this.settings?.items.findIndex((e=>e.id===t));e>=0&&(this.list.select(e),this.updateActiveIndex())}constructor(){super(),this.tooltipRef=Zh(),this.items=new pd((t=>{const e=this.settings?.items[t];return yt("og-bucket-button",{active:this.settings?.activeIndex===t,text:e.text,icon:e.icon,statusIcon:["fas",e.statusIcon]})})),this._onMouseMove=(t,e)=>{const i=this.settings.items[e.index].tooltip;i?(this.tooltip.querySelector('[slot="body"]').innerText=i,this.tooltip.attachTo(e,"right")):this.tooltip.deatach()},this._itemRenderer=async(t,e)=>{const i=await this.items.get(e);St(t),t.appendChild(i)},this.render=()=>Br`
|
|
1937
1937
|
<og-list
|
|
1938
|
-
size="${this.count}"
|
|
1938
|
+
.size="${this.count}"
|
|
1939
1939
|
?nativeHeight="${!0}"
|
|
1940
1940
|
.customStyle="${Tg}"
|
|
1941
1941
|
itemHeight="${ug.SIDEMENU_WIDTH}"
|
|
1942
1942
|
.itemRenderer="${this._itemRenderer}"
|
|
1943
1943
|
@select="${()=>this.updateActiveIndex()}">
|
|
1944
1944
|
</og-list>
|
|
1945
|
+
|
|
1945
1946
|
<og-tooltip ${Kh(this.tooltipRef)} style="max-width: 300px; display: none">
|
|
1946
1947
|
<div style="padding: 5px" slot="body"></div>
|
|
1947
1948
|
</og-tooltip>
|
|
1948
|
-
`,
|
|
1949
|
+
`,It(this,"mousemove",".item",this._onMouseMove,{wait:10,noMatchCallback:()=>{this.tooltip.deatach()}}),Rt(this,"mouseout",".item",(()=>this.requestHide())),Rt(this,"mouseleave",".item",(()=>this.requestHide()))}requestHide(){null==this._hideTimer&&(this._hideTimer=window.setTimeout((()=>{this.tooltip.deatach(),this._hideTimer=null}),100))}async updated(){this.settings?.activeIndex>=0&&(this.list.select(this.settings?.activeIndex),this.updateActiveIndex())}updateActiveIndex(){this.settings.activeIndex=this.list.selectedIndex,this.items.forEach(((t,e)=>{t.active=e===this.settings.activeIndex}))}firstUpdated(){document.body.appendChild(this.tooltip)}};Ag.styles=or`
|
|
1949
1950
|
:host {
|
|
1950
1951
|
display: block;
|
|
1951
1952
|
}
|
|
@@ -2185,7 +2186,7 @@
|
|
|
2185
2186
|
height: 100%;
|
|
2186
2187
|
border: none;
|
|
2187
2188
|
}
|
|
2188
|
-
`,Mm([ps({type:Object,noAccessor:!0})],Em.prototype,"options",null),Mm([ps({type:String,noAccessor:!0})],Em.prototype,"modifiedContent",null),Mm([ps({type:String,noAccessor:!0})],Em.prototype,"originalContent",null),Mm([ps({type:String,noAccessor:!0})],Em.prototype,"language",null),Em=Cm=Mm([hs("og-code-diff")],Em);class zm extends(vn()){get type(){return this._type}set type(t){this._type=t}get checkbox(){return this._checkbox}set checkbox(t){this._checkbox=t}get key(){return this._key}set key(t){this._key=t}get value(){return this._value}set value(t){this._value=t}get htmlValue(){return this._htmlValue}set htmlValue(t){this._htmlValue=t}get icon(){return this._icon}set icon(t){this._icon=t}get folder(){return this._folder}set folder(t){this._folder=t}get renderer(){return this._renderer||this.model.options.nodeRenderer}set renderer(t){this._renderer=t}get properties(){return this._properties}set properties(t){this._properties=t}constructor(t,e){super(),this.model=t,this.subLevels=null,this._checkbox=null,this.populate(e)}populate(t){super.populate(t),this.key=t.hasOwnProperty("key")?t.key:t.k,this.value=((t.hasOwnProperty("value")?t.value:t.v)??"").toString(),this.type=t.t,this.icon=t.icon,this.folder=t.folder,this.checkbox=t.ch??null,this.renderer=t.renderer,this._properties=t.props}getSourceData(){const t=super.getSourceData();return this.key&&(t.k=this.key),this.value&&(t.v=this.value),this.type&&(t.t=this.type),this.icon&&(t.icon=this.icon),this.folder&&(t.folder=this.folder),null!=this.checkbox&&(t.ch=this.checkbox),this.properties&&(t.props=this.properties),t}}class Rm{get maxLevel(){return this._maxLevel}get root(){return this._root}get nodes(){return this._nodes}get visibleNodes(){return this._visibleNodes}getNodeByViewIndex(t){return this.visibleNodes[t]}constructor(t,e){this.options=e,this.nodeMap=new Map,this._maxLevel=-1,this.populate(t)}populate(t){this._root=new zm(this,{k:null,v:null,i:-1}),this._root.level=-1,this._nodes=t.map(((t,e)=>new zm(this,{...t,i:e}))),this._maxLevel=wn(this._nodes,this._root),this.indexNodes(!0),this.indexVisibleNodes()}insertNodes(t,e){const i=this.nodes[t].parent,o=isNaN(e)?e.length:e,n=isNaN(e)?e:new Array(o).fill(null).map((()=>new zm(this,{})));return this.nodes.splice(t,0,...n),this.maxLevel>0&&i.insertChildren(n,t-(i.index||-1)-1),this.indexNodes(),this.indexVisibleNodes(),n}deleteNodes(t,e){const i=this.nodes[t].parent,o=this.nodes.splice(t,e);return i?.deleteChildren(o),this.indexNodes(!0),this.indexVisibleNodes(),o}calculateNodeLevels(t){let e=t.parent;for(;e;)e.subLevels=Math.max(e.subLevels,t.level-e.level+(t.hasChildren?1:0)),e=e.parent}indexNodes(t=!1){this.nodeMap.clear(),this._nodes.forEach(((e,i)=>{e.index=i,this.nodeMap.set(e.key,e),t&&this.calculateNodeLevels(e)}))}indexNodesByTree(t=!1){this.nodeMap.clear(),this._nodes=[];let e=0;this.root.walk((i=>{i.index=e++,i.visibleIndex=null,this._nodes.push(i),this.nodeMap.set(i.key,i),t&&this.calculateNodeLevels(i)})),this.indexVisibleNodes()}indexVisibleNodes(){this._visibleNodes=[];const t=this.options?.pageSize;t>0?this.root.walkVisible((t=>{t.visibleIndex=this._visibleNodes.length,this._visibleNodes.push(t),t.parent&&t.parent.lastChild===t&&t.parent.isPartialyLoaded&&this._visibleNodes.push({placeholder:!0,parent:t.parent})})):this.root.walkVisible((t=>{t.visibleIndex=this._visibleNodes.length,this._visibleNodes.push(t)}))}getSourceData(){return this.nodes.map((t=>t.getSourceData()))}}var Lm,
|
|
2189
|
+
`,Mm([ps({type:Object,noAccessor:!0})],Em.prototype,"options",null),Mm([ps({type:String,noAccessor:!0})],Em.prototype,"modifiedContent",null),Mm([ps({type:String,noAccessor:!0})],Em.prototype,"originalContent",null),Mm([ps({type:String,noAccessor:!0})],Em.prototype,"language",null),Em=Cm=Mm([hs("og-code-diff")],Em);class zm extends(vn()){get type(){return this._type}set type(t){this._type=t}get checkbox(){return this._checkbox}set checkbox(t){this._checkbox=t}get key(){return this._key}set key(t){this._key=t}get value(){return this._value}set value(t){this._value=t}get htmlValue(){return this._htmlValue}set htmlValue(t){this._htmlValue=t}get icon(){return this._icon}set icon(t){this._icon=t}get folder(){return this._folder}set folder(t){this._folder=t}get renderer(){return this._renderer||this.model.options.nodeRenderer}set renderer(t){this._renderer=t}get properties(){return this._properties}set properties(t){this._properties=t}constructor(t,e){super(),this.model=t,this.subLevels=null,this._checkbox=null,this.populate(e)}populate(t){super.populate(t),this.key=t.hasOwnProperty("key")?t.key:t.k,this.value=((t.hasOwnProperty("value")?t.value:t.v)??"").toString(),this.type=t.t,this.icon=t.icon,this.folder=t.folder,this.checkbox=t.ch??null,this.renderer=t.renderer,this._properties=t.props}getSourceData(){const t=super.getSourceData();return this.key&&(t.k=this.key),this.value&&(t.v=this.value),this.type&&(t.t=this.type),this.icon&&(t.icon=this.icon),this.folder&&(t.folder=this.folder),null!=this.checkbox&&(t.ch=this.checkbox),this.properties&&(t.props=this.properties),t}}class Rm{get maxLevel(){return this._maxLevel}get root(){return this._root}get nodes(){return this._nodes}get visibleNodes(){return this._visibleNodes}getNodeByViewIndex(t){return this.visibleNodes[t]}constructor(t,e){this.options=e,this.nodeMap=new Map,this._maxLevel=-1,this.populate(t)}populate(t){this._root=new zm(this,{k:null,v:null,i:-1}),this._root.level=-1,this._nodes=t.map(((t,e)=>new zm(this,{...t,i:e}))),this._maxLevel=wn(this._nodes,this._root),this.indexNodes(!0),this.indexVisibleNodes()}insertNodes(t,e){const i=this.nodes[t].parent,o=isNaN(e)?e.length:e,n=isNaN(e)?e:new Array(o).fill(null).map((()=>new zm(this,{})));return this.nodes.splice(t,0,...n),this.maxLevel>0&&i.insertChildren(n,t-(i.index||-1)-1),this.indexNodes(),this.indexVisibleNodes(),n}deleteNodes(t,e){const i=this.nodes[t].parent,o=this.nodes.splice(t,e);return i?.deleteChildren(o),this.indexNodes(!0),this.indexVisibleNodes(),o}calculateNodeLevels(t){let e=t.parent;for(;e;)e.subLevels=Math.max(e.subLevels,t.level-e.level+(t.hasChildren?1:0)),e=e.parent}indexNodes(t=!1){this.nodeMap.clear(),this._nodes.forEach(((e,i)=>{e.index=i,this.nodeMap.set(e.key,e),t&&this.calculateNodeLevels(e)}))}indexNodesByTree(t=!1){this.nodeMap.clear(),this._nodes=[];let e=0;this.root.walk((i=>{i.index=e++,i.visibleIndex=null,this._nodes.push(i),this.nodeMap.set(i.key,i),t&&this.calculateNodeLevels(i)})),this.indexVisibleNodes()}indexVisibleNodes(){this._visibleNodes=[];const t=this.options?.pageSize;t>0?this.root.walkVisible((t=>{t.visibleIndex=this._visibleNodes.length,this._visibleNodes.push(t),t.parent&&t.parent.lastChild===t&&t.parent.isPartialyLoaded&&this._visibleNodes.push({placeholder:!0,parent:t.parent})})):this.root.walkVisible((t=>{t.visibleIndex=this._visibleNodes.length,this._visibleNodes.push(t)}))}getSourceData(){return this.nodes.map((t=>t.getSourceData()))}}var Im,Lm,Hm;function Tm(t){return t.map((t=>Array.isArray(t)?t:[t.toString(),0,1]))}!function(t){t.None="none",t.Single="single",t.Multiple="multiple",t.MultipleLevels="multipleLevels"}(Im||(Im={})),function(t){t.Numeric="n",t.Text="t",t.Date="d",t.Boolean="b"}(Lm||(Lm={})),function(t){t[t.None=0]="None",t[t.Checked=1]="Checked",t[t.CheckedByParent=2]="CheckedByParent",t[t.Unchecked=3]="Unchecked"}(Hm||(Hm={}));class Am{get count(){return this.items.size}constructor(t,e){this.options=t,this.items=new Map,e&&this.populate(e)}ensureItem(t,e){this.items.has(t)||this.items.set(t,{levels:new Map});const i=this.items.get(t);return null!=e&&(i.value=e),i}setItems(t){this.populate(t??[])}populate(t){const e=this.items;this.items=new Map,t.forEach((t=>{const i=t[3]?.v??t[3]?.value??e.get(t[0])?.value,o=this.ensureItem(t[0],i);o.levels.set(t[1]??0,1==(t[2]??1)),t[3]&&Object.assign(o,t[3])}))}getPropertySerializer(t){return(e,i)=>t.reduce(((t,o)=>(t[o]="v"==o||"value"==o?i.value??this.model?.nodeMap.get(e)?.value:this.model?.nodeMap.get(e)?.value,t)),{})}serialize(t){const e=[],i=t?.length?this.getPropertySerializer(t):null;return this.items.forEach(((t,o)=>{const n=i?i(o,t):null;t.levels.forEach(((t,i)=>e.push(n?[o,i,t?1:0,n]:[o,i,t?1:0])))})),e}clear(){this.items.clear()}validateChange(t,e,i){return this.options.selectMode!=Im.Single||!1!==i||1!=this.items.size}toggle(t,e){let i=this.ensureItem(t.key,t.value);const o=i.levels.has(e)?i.levels.get(e):null;return this.validateChange(t,e,!i.levels.has(e)||!i.levels.get(e))?(o?i.levels.delete(e):this.options.selectMode==Im.MultipleLevels?0==e&&this.isSelectedByParent(t)?!1===o?i.levels.delete(0):i.levels.set(0,!1):i.levels.set(e,!0):(this.options.selectMode==Im.Single&&(this.clear(),i=this.ensureItem(t.key,t.value)),0==e?i.levels.set(0,!0):this.toggleChildNodes(t,e)),0==i.levels.size&&this.clearItemSelection(t),this):this}select(t,e,i=!0){const o=this.ensureItem(t.key,t.value);return this.validateChange(t,e,null===i?!!o.levels.has(e)&&o.levels.get(e):i)?(!0===i?o.levels.set(e,!0):!1===i&&this.options.selectMode==Im.MultipleLevels?o.levels.set(e,!1):o.levels.delete(e),0==o.levels.size&&this.clearItemSelection(t),this):this}deselect(t,e){return this.validateChange(t,e,!1)?(this.items.has(t.key)&&(this.items.get(t.key).levels.delete(e),0==this.items.get(t.key).levels.size&&this.clearItemSelection(t)),this):this}clearItemSelection(t){this.items.delete(t.key)}getLevelSelection(t){return this.items.has(t.key)?this.items.get(t.key).levels:new Map}getValue(t,e,i=null){return this.items.has(t.key)?((t,e,i=null)=>t.has(e)?t.get(e):i)(this.items.get(t.key).levels,e,i):i}isSelectedByParent(t){let e=t.parent,i=0;for(;e;){if(this.getValue(e,++i,!1))return!0;e=e.parent}return!1}getSelectionStatus(t){const e=this.getValue(t,0,null);return!0===e?Hm.Checked:!1===e?Hm.Unchecked:this.options.selectMode==Im.MultipleLevels&&this.isSelectedByParent(t)?Hm.CheckedByParent:Hm.None}toggleChildNodes(t,e){const i=t.level;let o=null;t.walk((t=>{if(t.level-i==e)return null===o&&(o=this.getSelectionStatus(t)!=Hm.Checked),this.select(t,0,!!o||null),!1}))}}const Om={DEFAULT_NODE_HEIGHT:20,DEFAULT_MAX_NODES:10,RENDERING_NODE_TRESHOLD:20,TREE_COLUMN_WIDTH:16,MAX_HIGHLIGHT_ITEM_OFFSET:2,SEARCH_DEBOUNCE_DELAY:300,...G},$m={nodeHeight:Om.DEFAULT_NODE_HEIGHT,renderingNodeTreshold:Om.RENDERING_NODE_TRESHOLD,selectMode:Im.MultipleLevels,levelIndent:10,maxLevel:null,globalLevels:!0,levelsAlwaysVisible:!0,allowEmpty:!0,itemProperties:[],itemTypeOptions:{},expanders:!0,search:!1,checkboxes:!0,autoClose:!1,folderOptions:null,alwaysRefresh:!1};function Dm(t,e=null){return{...Fn(t,e),...$m,...e,...t}}const Nm=or`
|
|
2189
2190
|
:host {
|
|
2190
2191
|
font-size: var(--og-font-size);
|
|
2191
2192
|
font-family: var(--og-font-family);
|
|
@@ -2287,7 +2288,7 @@
|
|
|
2287
2288
|
.item:hover div.lvl {
|
|
2288
2289
|
display: flex;
|
|
2289
2290
|
}
|
|
2290
|
-
`,jm=Ea({display:"block",position:"relative",top:"5px",left:"4px"}),Vm={[Hm.Checked]:{value:"checked",color:null},[Hm.CheckedByParent]:{value:"checked",color:"#555555"},[Hm.None]:{value:"none",color:null},[Hm.Unchecked]:{value:"unchecked",color:"#ff0000"}};class Bm{get term(){return this._term}get hasFilter(){return""==this._term||null==this._term}constructor(t){this.model=t,this._term=null,this._property="value"}filter(t){this._term=t;const e=((t,e)=>{const i=new RegExp(`${ut(ct(t))}`,"ig");let o;return t=>{const n=[];for(;o=i.exec(ct((t[e]??"").toString()));)n.push([o.index,i.lastIndex]);return n}})(this._term,this._property);let i;this.model.nodes.forEach((o=>{o.collapsed=!1,o.htmlValue=null,t?(i=e(o),o.filterState=i.length>0?mn.Matched:mn.Filtered):(o.filterState=mn.Matched,o.collapse()),o.filterState==mn.Matched&&(o.walkUp((t=>{t.filterState==mn.Filtered&&(t.filterState=mn.ChildMatched)})),t&&(o.htmlValue=ne(o.value,i)))})),this.model.indexVisibleNodes()}clear(){this._term=null,this.model.nodes.forEach((t=>{t.filterState=mn.Matched,t.collapsed=!1,t.htmlValue=null})),this.model.indexVisibleNodes()}}var Fm=function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class Wm extends Event{constructor(t,e){super(t,{bubbles:!1,cancelable:!0,composed:!1}),Object.assign(this,e)}}class Um extends PointerEvent{constructor(t,e,i){super(`tree.${t}`,e),Object.assign(this,i)}}class Gm extends DragEvent{constructor(t,e,i){super(`tree.${t}`,e),Object.assign(this,i)}}let Ym=class extends ls{get size(){return this.model?.visibleNodes.length??0}get hasGlobalLevels(){return(this.options.selectMode==
|
|
2291
|
+
`,jm=Ea({display:"block",position:"relative",top:"5px",left:"4px"}),Vm={[Hm.Checked]:{value:"checked",color:null},[Hm.CheckedByParent]:{value:"checked",color:"#555555"},[Hm.None]:{value:"none",color:null},[Hm.Unchecked]:{value:"unchecked",color:"#ff0000"}};class Bm{get term(){return this._term}get hasFilter(){return""==this._term||null==this._term}constructor(t){this.model=t,this._term=null,this._property="value"}filter(t){this._term=t;const e=((t,e)=>{const i=new RegExp(`${ut(ct(t))}`,"ig");let o;return t=>{const n=[];for(;o=i.exec(ct((t[e]??"").toString()));)n.push([o.index,i.lastIndex]);return n}})(this._term,this._property);let i;this.model.nodes.forEach((o=>{o.collapsed=!1,o.htmlValue=null,t?(i=e(o),o.filterState=i.length>0?mn.Matched:mn.Filtered):(o.filterState=mn.Matched,o.collapse()),o.filterState==mn.Matched&&(o.walkUp((t=>{t.filterState==mn.Filtered&&(t.filterState=mn.ChildMatched)})),t&&(o.htmlValue=ne(o.value,i)))})),this.model.indexVisibleNodes()}clear(){this._term=null,this.model.nodes.forEach((t=>{t.filterState=mn.Matched,t.collapsed=!1,t.htmlValue=null})),this.model.indexVisibleNodes()}}var Fm=function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class Wm extends Event{constructor(t,e){super(t,{bubbles:!1,cancelable:!0,composed:!1}),Object.assign(this,e)}}class Um extends PointerEvent{constructor(t,e,i){super(`tree.${t}`,e),Object.assign(this,i)}}class Gm extends DragEvent{constructor(t,e,i){super(`tree.${t}`,e),Object.assign(this,i)}}let Ym=class extends ls{get size(){return this.model?.visibleNodes.length??0}get hasGlobalLevels(){return(this.options.selectMode==Im.Multiple||this.options.selectMode==Im.MultipleLevels)&&this.options.globalLevels&&this.model.maxLevel>0}constructor(){super(),this.options=Dm(),this.selection=new Am(this.options),this.logger=new un("Ωtree"),this.maxHeight=null,this.itemHeight=Om.LIST_ITEM_HEIGHT,this.disableAutoload=!1,this.loading=!1,this.noMatches=!1,this.awaitFilter=!1,this.currentFilter="",this.loadingNodes=new Set,this._onDragover=t=>{if(this.options.fileDrop&&(t.preventDefault(),t.stopPropagation(),"Files"==t.dataTransfer.types[0])){t.dataTransfer.dropEffect="move";const e=t.composedPath().find((t=>t.classList&&t.classList.contains("item")));this._onDragLeave(),e&&e.classList.add("drag"),this._lastDragItem=e}},this._onDrop=t=>{t.preventDefault(),this._onDragLeave();const e=t.composedPath().find((t=>t.classList&&t.classList.contains("item"))),i=this.model.nodes[parseInt(e.dataset.node)];this.dispatchEvent(new Gm("drop",t,{tree:this,node:i}))},this._onDragLeave=()=>{this._lastDragItem&&this._lastDragItem.classList.remove("drag"),this._lastDragItem=null},this.keyActions={ArrowRight:()=>{const t=this.model.visibleNodes[this.list.selectedIndex];t.collapsed&&(this.toggleNodeCollapse(t),this.model.indexVisibleNodes(),this.list.size=this.size)},ArrowLeft:()=>{const t=this.model.visibleNodes[this.list.selectedIndex];t.collapsed||(this.toggleNodeCollapse(t),this.model.indexVisibleNodes(),this.list.size=this.size)}},this._onGlobalLevelSelect=async t=>{this.toggleNode(this.model.root,t.level,!0),this.globalTreeLevels.requestUpdate(),this.requestUpdate(),await this.list.updateComplete,this.list.renderItems(!0)},this._onSearch=()=>{this.list.size=this.size,this.list.select(0),this.renderItems(!0),this.noMatches=0==this.size},this._onListRender=()=>{this.awaitFilter&&(this.filter(this.currentFilter),this.awaitFilter=null)},this._onListMenu=t=>{this.dispatchEvent(new Um("menu",t,{tree:this,node:this.model.visibleNodes[t.index]}))},this.addEventListener("dragover",this._onDragover),this.addEventListener("dragleave",this._onDragLeave),this.addEventListener("drop",this._onDrop)}destroy(){this.logger.info("destroy")}connectedCallback(){super.connectedCallback(),this.logger.info("init"),this.tabIndex=0}setSourceData(t,e=null){Object.assign(this.options,e??{}),this.model=new Rm(t,this.options),t?.length>0&&void 0!==t[0].s&&this.selection.setItems(t.filter((t=>t.s)).map((t=>[t.k,0,1]))),this.dispatchEvent(new Wm("load",{component:this}))}setValue(t){this.selection.populate(t)}async loadData(t){this.loading=!0,this.list&&(this.list.size=0),this.model=null,t=t??{};const[e,i]=await Promise.all([this.adapter.getTree(t),this.adapter.getOptions()]);this.setSourceData(e,i),i?.pageSize>0&&(this.updateNodeLoadState(this.model.root,this.model.root.children.length),this.model.indexVisibleNodes()),this.loading=!1}async loadMore(t){const e=t.children.length,i=await this.adapter.getTree({parent:t,parentKey:t.key,offset:e}),o=new Rm(i,this.options);t.insertChildren(o.root.children,e),this.updateNodeLoadState(t,o.root.children.length),this.model.indexNodesByTree(!0),this.list.size=this.size,this.list.requestUpdate()}willUpdate(t){t.has("adapter")&&this.adapter&&(this.model=null,this.adapter.attach(this),this.disableAutoload||this.loadData()),this.model=this.model??new Rm([],null),this.filtering=new Bm(this.model),this.selection.model=this.model,t.has("options")&&(this.options=Dm(this.options),this.model.options=this.options,this.selection.options=this.options)}updated(t){t.has("model")&&this.list&&(this.list.size=this.size,this.noMatches=this.noMatches&&0==this.size,this.list.requestUpdate())}async firstUpdated(){var t;this.value&&this.selection.setItems(this.value??[]),this.list.itemRenderer=(t=this,(e,i,o)=>{const n=t.model.visibleNodes[i];if(n.placeholder)return((t,e)=>{const i=e.parent,o=i.model.options;return e.element=t,Br`
|
|
2291
2292
|
<div
|
|
2292
2293
|
class="placeholder"
|
|
2293
2294
|
style="${Ea({paddingLeft:(i.level+1)*o.levelIndent+5+"px"})}">
|
|
@@ -2309,7 +2310,7 @@
|
|
|
2309
2310
|
</div>
|
|
2310
2311
|
`:""}
|
|
2311
2312
|
|
|
2312
|
-
${a.selectMode!=
|
|
2313
|
+
${a.selectMode!=Im.None&&a.checkboxes&&(r.checkbox??1)?Br`
|
|
2313
2314
|
<div class="chck">
|
|
2314
2315
|
<og-checkbox
|
|
2315
2316
|
.value="${Vm[s].value}"
|
|
@@ -2322,7 +2323,7 @@
|
|
|
2322
2323
|
|
|
2323
2324
|
${h}
|
|
2324
2325
|
|
|
2325
|
-
${r.subLevels>0&&(t.options.selectMode==
|
|
2326
|
+
${r.subLevels>0&&(t.options.selectMode==Im.Multiple||t.options.selectMode==Im.MultipleLevels)?Br`
|
|
2326
2327
|
<div class="lvl ${ka({hideable:!t.options.levelsAlwaysVisible})}">
|
|
2327
2328
|
<og-tree-levels
|
|
2328
2329
|
count="${r.subLevels}"
|
|
@@ -2330,7 +2331,7 @@
|
|
|
2330
2331
|
</og-tree-levels>
|
|
2331
2332
|
</div>
|
|
2332
2333
|
`:""}
|
|
2333
|
-
`}),Rt(this.list,"toggle",".item",(async(t,e)=>{const i=this.model.nodes[parseInt(e.dataset.node)];this.toggleNodeCollapse(i),this.model.indexVisibleNodes(),this.list.size=this.size})),Rt(this.list,"levelselect",".item",((t,e)=>{this.toggleNode(this.model.nodes[parseInt(e.dataset.node)],t.level,!0)})),Rt(this.list,"contextmenu",".item",((t,e)=>{t.preventDefault();const i=this.model.nodes[parseInt(e.dataset.node)];this.selection.select(i,0,!1),this.list.renderItems(!0)})),this.list.addEventListener("select",(t=>{if(t.stopPropagation(),t.trigger!=uu.Arrow&&!(t.elm instanceof Qd)){const e=this.model.visibleNodes[t.index];if(e instanceof zm){const t=e;t.checkbox??this.options.selectMode!=
|
|
2334
|
+
`}),Rt(this.list,"toggle",".item",(async(t,e)=>{const i=this.model.nodes[parseInt(e.dataset.node)];this.toggleNodeCollapse(i),this.model.indexVisibleNodes(),this.list.size=this.size})),Rt(this.list,"levelselect",".item",((t,e)=>{this.toggleNode(this.model.nodes[parseInt(e.dataset.node)],t.level,!0)})),Rt(this.list,"contextmenu",".item",((t,e)=>{t.preventDefault();const i=this.model.nodes[parseInt(e.dataset.node)];this.selection.select(i,0,!1),this.list.renderItems(!0)})),this.list.addEventListener("select",(t=>{if(t.stopPropagation(),t.trigger!=uu.Arrow&&!(t.elm instanceof Qd)){const e=this.model.visibleNodes[t.index];if(e instanceof zm){const t=e;t.checkbox??this.options.selectMode!=Im.None?this.toggleNode(t,0,!0):(this.toggleNodeCollapse(t),this.model.indexVisibleNodes(),this.list.size=this.size),this.dispatchEvent(new Wm("select",{component:this,node:t}))}else if(e){const t=e;if(t.loading)return;t.loading=!0,t.element.querySelector("og-icon").icon="hourglass-half",this.loadMore(t.parent)}}})),this.list.addEventListener("keydown",(t=>{const e=this.keyActions[t.key];if(e)e();else if(!isNaN(parseInt(t.key))){const e=parseInt(t.key),i=this.model.visibleNodes[this.list.selectedIndex];i.subLevels>=e&&this.toggleNode(i,e,!0)}}))}toggleNode(t,e,i=!1){this.selection.toggle(t,e),this.list.renderItems(!0),setTimeout((()=>this.list.focus())),i&&this.dispatchEvent(new Wm("change",{component:this,node:t}))}updateNodeLoadState(t,e){this.options.pageSize>0&&(e<this.options.pageSize?t.count=t.children.length:t.count=t.children.length+1)}async toggleNodeCollapse(t,e=!0){if(t.toggleCollapse(),!t.isLoaded&&!t.isPartialyLoaded&&this.adapter&&!this.loadingNodes.has(t.key)){this.loadingNodes.add(t.key),this.list.requestUpdate();const e=await this.adapter.getTree({parent:t,parentKey:t.key,offset:0}),i=new Rm(e,this.options);t.insertChildren(i.root.children,0),this.updateNodeLoadState(t,t.children.length),this.model.indexNodesByTree(!0),this.list.size=this.size,this.list.requestUpdate(),this.loadingNodes.delete(t.key)}e&&this.dispatchEvent(new Wm("tree.collapse",{component:this,node:t}))}toggleTreeCollapse(t,e=!0){0!=this.model.nodes.length&&(t||((t=this.model.root).collapsed=this.model.nodes[0].collapsed),t.toggleCollapse(!0),this.model.indexVisibleNodes(),this.list.size=this.size,e&&this.dispatchEvent(new Wm("tree.collapse",{component:this,node:t})))}get itemStyle(){const t=this.options?.customStyle;return[Pm,...t?Array.isArray(t)?t:[t]:[]]}render(){this.logger.info(`render ${this.model?.visibleNodes.length??0}`);const t=Br`
|
|
2334
2335
|
<div class="main" style="${Ea({overflow:"hidden",maxHeight:this.maxHeight?Ot(this.maxHeight):null})}">
|
|
2335
2336
|
<og-list
|
|
2336
2337
|
size="${this.size}"
|
|
@@ -2499,7 +2500,7 @@
|
|
|
2499
2500
|
background: var(--og-background-color);
|
|
2500
2501
|
color: var(--og-text-color);
|
|
2501
2502
|
}
|
|
2502
|
-
`],rf=function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s}([hs("og-tree-menu")],rf);var af,lf,cf,hf,df,uf,pf,gf,mf,ff,vf=function(t,e,i,o,n){if("m"===o)throw new TypeError("Private method is not writable");if("a"===o&&!n)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!n:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===o?n.call(t,i):n?n.value=i:e.set(t,i),i},bf=function(t,e,i,o){if("a"===i&&!o)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!o:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?o:"a"===i?o.call(t):o?o.value:e.get(t)};const yf={format:"yyyy",collapsed:!0,selectable:!1,order:"desc"},wf={format:"Q.'Q' yyyy",collapsed:!0,selectable:!1,order:"asc"},xf={format:"LLLL yyyy",collapsed:!0,selectable:!1,order:"asc"},kf={format:"II. yyyy",collapsed:!0,selectable:!1,order:"asc"},Cf={format:"dd.MM.yyyy",collapsed:!0,selectable:!0,order:"asc"},Mf={locale:"cs",minDate:Oi(se(function(t,e){const{years:i=0,months:o=0,weeks:n=0,days:r=0,hours:s=0,minutes:a=0,seconds:l=0}=e,c=1e3*(l+60*(a+60*s));return ae(t,eo(io(t,o+12*i),r+7*n).getTime()-c)}(new Date,{years:5}))),maxDate:function(t){const e=re(t),i=e.getFullYear();return e.setFullYear(i+1,0,0),e.setHours(23,59,59,999),e}(se(sf(new Date,{years:5}))),years:yf,quarters:wf,months:xf,weeks:!1,days:Cf,monthOffset:0},_f=t=>t instanceof Date?t:new Date(t+" 00:00:00");class Sf extends qm{constructor(t){super(),af.set(this,void 0),lf.set(this,void 0),cf.set(this,void 0),hf.set(this,void 0),df.set(this,void 0),uf.set(this,void 0),pf.set(this,void 0),gf.set(this,{}),mf.set(this,[]),ff.set(this,void 0),vf(this,af,Object.assign({},Mf,t),"f"),bf(this,af,"f").minDate=_f(bf(this,af,"f").minDate),bf(this,af,"f").maxDate=_f(bf(this,af,"f").maxDate),bf(this,af,"f").years&&(bf(this,mf,"f").push("y"),vf(this,cf,bf(this,af,"f").years?Object.assign({},yf,bf(this,af,"f").years):null,"f")),bf(this,af,"f").quarters&&(bf(this,mf,"f").push("q"),vf(this,hf,bf(this,af,"f").quarters?Object.assign({},wf,bf(this,af,"f").quarters):null,"f")),bf(this,af,"f").months&&(bf(this,mf,"f").push("m"),vf(this,df,bf(this,af,"f").months?Object.assign({},xf,bf(this,af,"f").months):null,"f")),bf(this,af,"f").weeks&&(bf(this,mf,"f").push("w"),vf(this,uf,bf(this,af,"f").weeks?Object.assign({},kf,bf(this,af,"f").weeks):null,"f")),bf(this,af,"f").days&&(bf(this,mf,"f").push("d"),vf(this,pf,bf(this,af,"f").days?Object.assign({},Cf,bf(this,af,"f").days):null,"f")),vf(this,lf,No(bf(this,af,"f").locale),"f"),bf(this,mf,"f").forEach(((t,e)=>bf(this,gf,"f")[t]=e)),vf(this,ff,btoa([bf(this,mf,"f").join(""),bf(this,af,"f").minDate.toISOString(),bf(this,af,"f").maxDate.toISOString()].join("_")),"f")}getDates(){const t=[],e=function(t){const e=re(t);return e.setHours(23,59,59,999),e}(bf(this,af,"f").maxDate).getTime();let i,o,n,r,s,a,l=bf(this,af,"f").minDate;const c=bf(this,af,"f").monthOffset??0;for(;l.getTime()<e;)[i,o,n,r,s,a]=[null,null,null,null,null,null],bf(this,uf,"f")?([r,i]=Fo(l,c),a=Mi(l)):i=Po(l,c),bf(this,hf,"f")&&(o=jo(l,c)),n=l.getMonth()+1,s=l.getDate(),t.push([l,{y:i,q:o,m:n,w:r,d:s,dw:a}]),l=sf(l,{days:1});const h="asc"==bf(this,cf,"f")?.order?1:-1,d="asc"==bf(this,hf,"f")?.order?1:-1,u="asc"==bf(this,pf,"f")?.order?1:-1,p=bf(this,df,"f")?"asc"==bf(this,df,"f").order?1:-1:u,g="asc"==bf(this,uf,"f")?.order?1:-1;return t.sort(((t,e)=>{if(bf(this,uf,"f")){if(r=(t[1].w-e[1].w)*g,i=(t[1].y-e[1].y)*h,0!=i)return i}else if(bf(this,cf,"f")&&(i=(t[1].y-e[1].y)*h,0!=i))return i;if(bf(this,hf,"f")&&(o=(t[1].q-e[1].q)*d,0!=o))return o;if(bf(this,uf,"f")){if(0!=r)return r}else if(n=(t[1].m-e[1].m)*p,0!=n)return n;return bf(this,uf,"f")?(t[1].dw-e[1].dw)*u:(t[1].d-e[1].d)*u})),t}getTree(){if(Sf.dateMap.has(bf(this,ff,"f")))return Sf.dateMap.get(bf(this,ff,"f"));const t=[];let e=0,i=0,o=0,n=0;return this.getDates().forEach((([r,s])=>{const a=s.y!=e;bf(this,cf,"f")&&a&&(e=s.y,t.push({k:e.toString(),v:bf(this,lf,"f").call(this,new Date(e,1,1),bf(this,cf,"f").format),l:bf(this,gf,"f").y,ch:!1,collapsed:!0})),bf(this,hf,"f")&&(s.q!=i||a)&&(i=s.q,t.push({k:s.y.toString()+i.toString(),v:bf(this,lf,"f").call(this,new Date(e,3*(i-1),1),bf(this,hf,"f").format),l:bf(this,gf,"f").q,ch:!1,collapsed:!0})),bf(this,df,"f")&&(s.m!=o||a)&&(o=s.m,t.push({k:r.getFullYear()+s.m.toString().padStart(2,"0"),v:bf(this,lf,"f").call(this,r,bf(this,df,"f").format),l:bf(this,gf,"f").m,ch:!1,collapsed:!0})),bf(this,uf,"f")&&(s.w!=n||a)&&(n=s.w,t.push({k:s.y+s.w.toString().padStart(3,"0"),v:`${s.w.toString()}. ${s.y}`,l:bf(this,gf,"f").w,ch:!1,collapsed:!0})),bf(this,pf,"f")&&t.push({k:bf(this,lf,"f").call(this,r,"yyyyMMdd"),v:bf(this,lf,"f").call(this,r,bf(this,pf,"f").format),l:bf(this,gf,"f").d})})),Sf.dateMap.set(bf(this,ff,"f"),t),t}}async function Ef(t){return t=t?t.toLowerCase():"",(await zf()).includes(t)?t:"plaintext"}async function zf(){return(await Zg.get()).languages.getLanguages().map((t=>t.id)).filter((t=>-1==t.indexOf(".")))}af=new WeakMap,lf=new WeakMap,cf=new WeakMap,hf=new WeakMap,df=new WeakMap,uf=new WeakMap,pf=new WeakMap,gf=new WeakMap,mf=new WeakMap,ff=new WeakMap,Sf.dateMap=new Map;var Rf,Lf
|
|
2503
|
+
`],rf=function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s}([hs("og-tree-menu")],rf);var af,lf,cf,hf,df,uf,pf,gf,mf,ff,vf=function(t,e,i,o,n){if("m"===o)throw new TypeError("Private method is not writable");if("a"===o&&!n)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!n:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===o?n.call(t,i):n?n.value=i:e.set(t,i),i},bf=function(t,e,i,o){if("a"===i&&!o)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!o:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?o:"a"===i?o.call(t):o?o.value:e.get(t)};const yf={format:"yyyy",collapsed:!0,selectable:!1,order:"desc"},wf={format:"Q.'Q' yyyy",collapsed:!0,selectable:!1,order:"asc"},xf={format:"LLLL yyyy",collapsed:!0,selectable:!1,order:"asc"},kf={format:"II. yyyy",collapsed:!0,selectable:!1,order:"asc"},Cf={format:"dd.MM.yyyy",collapsed:!0,selectable:!0,order:"asc"},Mf={locale:"cs",minDate:Oi(se(function(t,e){const{years:i=0,months:o=0,weeks:n=0,days:r=0,hours:s=0,minutes:a=0,seconds:l=0}=e,c=1e3*(l+60*(a+60*s));return ae(t,eo(io(t,o+12*i),r+7*n).getTime()-c)}(new Date,{years:5}))),maxDate:function(t){const e=re(t),i=e.getFullYear();return e.setFullYear(i+1,0,0),e.setHours(23,59,59,999),e}(se(sf(new Date,{years:5}))),years:yf,quarters:wf,months:xf,weeks:!1,days:Cf,monthOffset:0},_f=t=>t instanceof Date?t:new Date(t+" 00:00:00");class Sf extends qm{constructor(t){super(),af.set(this,void 0),lf.set(this,void 0),cf.set(this,void 0),hf.set(this,void 0),df.set(this,void 0),uf.set(this,void 0),pf.set(this,void 0),gf.set(this,{}),mf.set(this,[]),ff.set(this,void 0),vf(this,af,Object.assign({},Mf,t),"f"),bf(this,af,"f").minDate=_f(bf(this,af,"f").minDate),bf(this,af,"f").maxDate=_f(bf(this,af,"f").maxDate),bf(this,af,"f").years&&(bf(this,mf,"f").push("y"),vf(this,cf,bf(this,af,"f").years?Object.assign({},yf,bf(this,af,"f").years):null,"f")),bf(this,af,"f").quarters&&(bf(this,mf,"f").push("q"),vf(this,hf,bf(this,af,"f").quarters?Object.assign({},wf,bf(this,af,"f").quarters):null,"f")),bf(this,af,"f").months&&(bf(this,mf,"f").push("m"),vf(this,df,bf(this,af,"f").months?Object.assign({},xf,bf(this,af,"f").months):null,"f")),bf(this,af,"f").weeks&&(bf(this,mf,"f").push("w"),vf(this,uf,bf(this,af,"f").weeks?Object.assign({},kf,bf(this,af,"f").weeks):null,"f")),bf(this,af,"f").days&&(bf(this,mf,"f").push("d"),vf(this,pf,bf(this,af,"f").days?Object.assign({},Cf,bf(this,af,"f").days):null,"f")),vf(this,lf,No(bf(this,af,"f").locale),"f"),bf(this,mf,"f").forEach(((t,e)=>bf(this,gf,"f")[t]=e)),vf(this,ff,btoa([bf(this,mf,"f").join(""),bf(this,af,"f").minDate.toISOString(),bf(this,af,"f").maxDate.toISOString()].join("_")),"f")}getDates(){const t=[],e=function(t){const e=re(t);return e.setHours(23,59,59,999),e}(bf(this,af,"f").maxDate).getTime();let i,o,n,r,s,a,l=bf(this,af,"f").minDate;const c=bf(this,af,"f").monthOffset??0;for(;l.getTime()<e;)[i,o,n,r,s,a]=[null,null,null,null,null,null],bf(this,uf,"f")?([r,i]=Fo(l,c),a=Mi(l)):i=Po(l,c),bf(this,hf,"f")&&(o=jo(l,c)),n=l.getMonth()+1,s=l.getDate(),t.push([l,{y:i,q:o,m:n,w:r,d:s,dw:a}]),l=sf(l,{days:1});const h="asc"==bf(this,cf,"f")?.order?1:-1,d="asc"==bf(this,hf,"f")?.order?1:-1,u="asc"==bf(this,pf,"f")?.order?1:-1,p=bf(this,df,"f")?"asc"==bf(this,df,"f").order?1:-1:u,g="asc"==bf(this,uf,"f")?.order?1:-1;return t.sort(((t,e)=>{if(bf(this,uf,"f")){if(r=(t[1].w-e[1].w)*g,i=(t[1].y-e[1].y)*h,0!=i)return i}else if(bf(this,cf,"f")&&(i=(t[1].y-e[1].y)*h,0!=i))return i;if(bf(this,hf,"f")&&(o=(t[1].q-e[1].q)*d,0!=o))return o;if(bf(this,uf,"f")){if(0!=r)return r}else if(n=(t[1].m-e[1].m)*p,0!=n)return n;return bf(this,uf,"f")?(t[1].dw-e[1].dw)*u:(t[1].d-e[1].d)*u})),t}getTree(){if(Sf.dateMap.has(bf(this,ff,"f")))return Sf.dateMap.get(bf(this,ff,"f"));const t=[];let e=0,i=0,o=0,n=0;return this.getDates().forEach((([r,s])=>{const a=s.y!=e;bf(this,cf,"f")&&a&&(e=s.y,t.push({k:e.toString(),v:bf(this,lf,"f").call(this,new Date(e,1,1),bf(this,cf,"f").format),l:bf(this,gf,"f").y,ch:!1,collapsed:!0})),bf(this,hf,"f")&&(s.q!=i||a)&&(i=s.q,t.push({k:s.y.toString()+i.toString(),v:bf(this,lf,"f").call(this,new Date(e,3*(i-1),1),bf(this,hf,"f").format),l:bf(this,gf,"f").q,ch:!1,collapsed:!0})),bf(this,df,"f")&&(s.m!=o||a)&&(o=s.m,t.push({k:r.getFullYear()+s.m.toString().padStart(2,"0"),v:bf(this,lf,"f").call(this,r,bf(this,df,"f").format),l:bf(this,gf,"f").m,ch:!1,collapsed:!0})),bf(this,uf,"f")&&(s.w!=n||a)&&(n=s.w,t.push({k:s.y+s.w.toString().padStart(3,"0"),v:`${s.w.toString()}. ${s.y}`,l:bf(this,gf,"f").w,ch:!1,collapsed:!0})),bf(this,pf,"f")&&t.push({k:bf(this,lf,"f").call(this,r,"yyyyMMdd"),v:bf(this,lf,"f").call(this,r,bf(this,pf,"f").format),l:bf(this,gf,"f").d})})),Sf.dateMap.set(bf(this,ff,"f"),t),t}}async function Ef(t){return t=t?t.toLowerCase():"",(await zf()).includes(t)?t:"plaintext"}async function zf(){return(await Zg.get()).languages.getLanguages().map((t=>t.id)).filter((t=>-1==t.indexOf(".")))}af=new WeakMap,lf=new WeakMap,cf=new WeakMap,hf=new WeakMap,df=new WeakMap,uf=new WeakMap,pf=new WeakMap,gf=new WeakMap,mf=new WeakMap,ff=new WeakMap,Sf.dateMap=new Map;var Rf,If,Lf=function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s},Hf=function(t,e,i,o){if("a"===i&&!o)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!o:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?o:"a"===i?o.call(t):o?o.value:e.get(t)},Tf=function(t,e,i,o,n){if("m"===o)throw new TypeError("Private method is not writable");if("a"===o&&!n)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!n:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===o?n.call(t,i):n?n.value=i:e.set(t,i),i};class Af extends qm{async getTree(){const t=await zf();return t.sort(),t.map((t=>({k:t,v:t})))}getOptions(){return{search:!0,selectMode:"single",autoClose:!0}}}let Of=class extends ls{constructor(){super(...arguments),this.language="typescript",this.dynamicHeight=!1,this.maxHeight=400,this.minHeight=25,this.disableToolbar=!1,this.editing=!1,Rf.set(this,void 0),If.set(this,void 0),this._onChange=t=>{this.updateHeight()},this._onLanguageChange=t=>{this.language=t.node.key,this.dispatchEvent(new On({type:"changeLanguage",value:this.language}))},this.getEditorOptions=()=>({scrollBeyondLastLine:!this.dynamicHeight,...this.editorOptions}),this.render=()=>Br`
|
|
2503
2504
|
${this.disableToolbar?"":Br`
|
|
2504
2505
|
<div class="toolbar">
|
|
2505
2506
|
<og-tree-dropdown
|
|
@@ -2517,7 +2518,7 @@
|
|
|
2517
2518
|
.options="${this.getEditorOptions()}"
|
|
2518
2519
|
@code.change="${this._onChange}"
|
|
2519
2520
|
@code.ready="${()=>this.updateHeight()}"
|
|
2520
|
-
@code.blur="${()=>{Tf(this,
|
|
2521
|
+
@code.blur="${()=>{Tf(this,If,this.editor.content,"f"),this.editing=!1}}">
|
|
2521
2522
|
</og-code>
|
|
2522
2523
|
`:Br`
|
|
2523
2524
|
<og-code-view
|
|
@@ -2527,7 +2528,7 @@
|
|
|
2527
2528
|
@click="${()=>this.editing=!0}">
|
|
2528
2529
|
</og-code-view>
|
|
2529
2530
|
`}
|
|
2530
|
-
`}get languageAdapter(){return Hf(this,Rf,"f")||Tf(this,Rf,new Af,"f"),Hf(this,Rf,"f")}get content(){return this.editor?.content??Hf(this,
|
|
2531
|
+
`}get languageAdapter(){return Hf(this,Rf,"f")||Tf(this,Rf,new Af,"f"),Hf(this,Rf,"f")}get content(){return this.editor?.content??Hf(this,If,"f")}set content(t){Tf(this,If,t,"f"),this.editor&&(this.editor.content=t)}get monacoEditor(){return this.editor?.editor}get model(){return this.monacoEditor?.getModel()}updateHeight(){if(!this.dynamicHeight)return;let t=this.editor?.editor?.getScrollHeight();null!=t&&(t=Math.max(this.minHeight,t),Dt(this.editor,{h:Math.min(this.maxHeight,t)}),this.layout())}async willUpdate(t){t.has("language")&&(this.language=await Ef(this.language))}layout(){this.editor?.layout()}focus(){this.editor?.focus()}};Rf=new WeakMap,If=new WeakMap,Of.styles=or`
|
|
2531
2532
|
* {
|
|
2532
2533
|
box-sizing: border-box;
|
|
2533
2534
|
}
|
|
@@ -2569,7 +2570,7 @@
|
|
|
2569
2570
|
width: 150px;
|
|
2570
2571
|
height: 20px;
|
|
2571
2572
|
}
|
|
2572
|
-
`,
|
|
2573
|
+
`,Lf([ps({type:String})],Of.prototype,"language",void 0),Lf([ps({type:Boolean,reflect:!0})],Of.prototype,"dynamicHeight",void 0),Lf([ps({type:Number})],Of.prototype,"maxHeight",void 0),Lf([ps({type:Number})],Of.prototype,"minHeight",void 0),Lf([ps({type:Boolean,reflect:!0})],Of.prototype,"disableToolbar",void 0),Lf([fs("og-code")],Of.prototype,"editor",void 0),Lf([fs("og-code-view")],Of.prototype,"view",void 0),Lf([ps({type:Object})],Of.prototype,"editorOptions",void 0),Lf([gs()],Of.prototype,"editing",void 0),Of=Lf([hs("og-code-block")],Of);const $f=or`
|
|
2573
2574
|
* {
|
|
2574
2575
|
box-sizing: border-box;
|
|
2575
2576
|
}
|
|
@@ -2809,7 +2810,7 @@
|
|
|
2809
2810
|
padding-right: 2px;
|
|
2810
2811
|
}
|
|
2811
2812
|
|
|
2812
|
-
`,Yf={enabled:!1,includeChildren:!0,includeParents:!0},qf={enabled:!0,reversed:!1},Zf={ROW_HEIGHT:22,RESIZE_TRESHOLD:10,ROW_HEADER_WIDTH:60,SLIDER_SIZE:12,EXPANDER_SIZE:13,MAX_CACHE_ITEMS:5e3,CACHE_CLEAN_INTERVAL:30,COMMENT_HIDE_TIMEOUT:1e3,SELECTOR_BORDER_WIDTH:2,MIN_ROW_HEIGHT:5,MIN_COL_WIDTH:5,SPARKLINE_GAP:4,AUTOSCROLL_TRESHOLD:100,AUTOSCROLL_RATIO:1.1,AUTOSCROLL_INTERVAL:100,DEFAULT_SPARKLINE_OPTIONS:{minValue:"auto",maxValue:"auto",type:"line",style:{color:"0094FF",weight:1},marker:{color:"ff0000"}},DEFAULT_OPTIONS:{rows:100,columns:20,readOnly:!1,rowNumbers:!0,rowPriority:2,rowTree:{enabled:!0},columnTree:{enabled:!0},colLetters:!0,emptyPlaceholder:!0,freezeTop:0,fontSize:12,rowHeight:22,rowResize:!0,columnWidth:100,columnResize:!0,columnPriority:1,freezeLeft:0,freezeRight:0,freezeBottom:0,maxSortingColumns:3,numberFormat:null,levelIndentFactor:2,cellIndentFactor:10,emptyClickable:!1,grid:!0,autofill:!0,undoRedo:!0,commandWindow:!0,cellCache:!0,singleCellModel:!1,zoom:1,editing:{rowInsertion:!0,rowDeletion:!0,colInsertion:!0,colDeletion:!0,rowOutline:!0,colOutline:!0,dateCalendarEditor:!1},comments:{hideTimeout:1e3,offsetX:30,offsetY:-30,zIndex:500,headerPosition:"top"},scrolling:{verticalOverscroll:!0,horizontalOverscroll:!0,scrollbarVisibilityTreshold:100},selecting:{enabled:!0,multiSelect:!0},events:{click:{mouseMoveTreshold:10}},clipboard:{pasteProps:["v","dv"],rowPasteMode:"rewrite_append",columnPasteMode:"rewrite"},print:{dpi:600,margins:{left:6.35,right:6.35,top:19.05,bottom:19.05,header:7.62,footer:7.62},orientation:"portrait",paper:"A4"}},...G},Xf=/^(?!.*[\\\/\*\[\]\:\?"])(.{1,31})$/;function Qf(t){return Xf.test(t)}function Kf(t){return["\\","/","*","[","]",":","?",'"'].forEach((e=>t=t.replace(new RegExp(`\\${e}`,"g"),""))),t}function Jf(t,e){return!isNaN(t)&&null!=t||!isNaN(e)&&null!=e||(t=null==t?"":ct(t.toString()).toLowerCase(),e=null==e?"":ct(e.toString()).toLowerCase()),t>e?1:t<e?-1:0}function tv(t,e){const i=Q(e);return Q(t)?(t=t.toString().trim()).startsWith("=")?0==Jf(e,i?t.substring(1):parseFloat(t.substring(1))):t.startsWith(">=")?Jf(e,i?t.substring(2):parseFloat(t.substring(2)))>=0:t.startsWith("<=")?Jf(e,i?t.substring(2):parseFloat(t.substring(2)))<=0:t.startsWith(">")?Jf(e,i?t.substring(1):parseFloat(t.substring(1)))>0:t.startsWith("<")?Jf(e,i?t.substring(1):parseFloat(t.substring(1)))<0:0==Jf(e,i?t:isNaN(t)?t||"":parseFloat(t)):e==t}const ev=new Map([["=",["==",1,0]],[">",[">",1,0]],["<",["<",1,0]],[">=",[">=",1,0]],["<=",["<=",1,0]],["+",["+",2,0]],["-",["-",2,0]],["*",["*",3,0]],["/",["/",3,0]]]),iv=t=>["=",">","<",">=","<="].includes(t),ov=t=>["+","-","*","/"].includes(t),nv=t=>ov(t)||iv(t);function rv(t,e,i){switch(i){case"+":return t+e;case"-":return t-e;case"*":return t*e;case"/":return t/e;case"=":return 0==Jf(t,e);case">":return Jf(t,e)>0;case"<":return Jf(t,e)<0;case">=":return Jf(t,e)>=0;case"<=":return Jf(t,e)<=0;default:throw new Error(`Invalid operator: ${i}`)}}function sv(t,e,i){const o=Array.isArray(t),n=Array.isArray(e);if(!o&&!n)return[[rv(t,e,i)]];const r=Math.max(o?t.length:0,n?e.length:0),s=Math.max(o?t[0].length:0,n?e[0].length:0),a=[];for(let l=0;l<r;l++){const r=[];for(let a=0;a<s;a++){const s=o?t[l]?.[a]:t,c=n?e[l]?.[a]:e,h=null==s&&null==c?null:rv(s,c,i);r.push(h)}a.push(r)}return a}var av;!function(t){t[t.Number=0]="Number",t[t.Boolean=1]="Boolean",t[t.String=2]="String",t[t.StringQuote=3]="StringQuote",t[t.Function=4]="Function",t[t.ArgumentSeparator=5]="ArgumentSeparator",t[t.OpenBracket=6]="OpenBracket",t[t.CloseBracket=7]="CloseBracket",t[t.Operator=8]="Operator",t[t.Cell=9]="Cell",t[t.Variable=10]="Variable",t[t.Range=11]="Range",t[t.Sheet=12]="Sheet",t[t.SheetQuote=13]="SheetQuote",t[t.SheetSeparator=14]="SheetSeparator",t[t.Unknown=15]="Unknown",t[t.Operand=16]="Operand"}(av||(av={}));const lv=t=>t===av.Number||t===av.Boolean||t===av.String||t===av.Cell||t===av.Variable||t===av.Range,cv=t=>t>=48&&t<=57,hv=t=>"true"===(t=t.toLowerCase())||"false"===t,dv=t=>t>=65&&t<=90||t>=97&&t<=122||t>=192&&t<=687,uv={decimalPoint:".",stringQuote:'"',sheetQuote:"'",argumentSeparator:","};class pv{constructor(t){this.options=Object.assign(uv,t)}tokenize(t){const e=[],i=t.length;let o,n,r,s,a=0,l="",c=!1,h=!1,d=!1;for(;a<i;){if(o=t.charAt(a),n=o.charCodeAt(0),"="==o&&0==a)++a;else if(cv(n)){for(l=(d?"-":"")+o,++a;a<i;)if(o=t.charAt(a),n=o.charCodeAt(0),cv(n))l+=o,++a;else{if(o!==this.options.decimalPoint)break;l+=".",++a}d=!1,e.push([l,av.Number])}else if(dv(n)||"$"==o){l=o,r=null,++a;do{if(o=t.charAt(a),n=o.charCodeAt(0),dv(n)||cv(n)||"."===o||"$"===o||"_"===o)"_"==o?r=av.Variable:cv(n)&&!c&&null==r&&(r=av.Cell),l+=o,++a,a==i&&e.push([l,r||av.Variable]);else{if("("==o){e.push([l.toUpperCase(),av.Function]),e.push([o,av.OpenBracket]),++a;break}if("'"==o)e.push([l,av.Sheet]),l="",e.push([o,av.SheetQuote]),c=!0,++a;else if(":"==o)r=av.Range,l+=o,++a;else{if(!c||" "!=o){if("!"==o){""!==l&&e.push([l,av.Sheet]),e.push([o,av.SheetSeparator]),c=!1,l="",++a;break}e.push([l,r||(hv(l)?av.Boolean:av.Variable)]);break}l+=o,++a}}}while(a<i)}else if(nv(o)){if("-"===o&&cv(t.charCodeAt(a+1))&&(null==s||"("==s[0]||iv(s[0])||s[1]==av.ArgumentSeparator))d=!0;else{for(l=o;iv(t.charAt(a+1));)l+=t.charAt(++a);e.push([l,av.Operator])}++a}else if("("===o)e.push([o,av.OpenBracket]),++a;else if(")"===o)e.push([o,av.CloseBracket]),++a;else if("'"===o)e.push([o,av.SheetQuote]),c=!0,++a;else if(o===this.options.argumentSeparator)e.push([o,av.ArgumentSeparator]),++a;else if(o===this.options.stringQuote){for(h=!1,e.push([o,av.StringQuote]),l="";++a<i;){if(o=t.charAt(a),o===this.options.stringQuote){h=!0,++a;break}l+=o}e.push([l,av.String]),h&&e.push([this.options.stringQuote,av.StringQuote])}else e.push([o,av.Unknown]),++a;s=e[e.length-1]}return e}}function gv(t,e,i=null,o=!0){return t+=e,0==e?t:t>=0?i?o?t%i:Math.min(t,i-1):t:o&&i?i+t%i:Math.max(t,0)}const mv=/(?:'?([\w\s]*)'?!)?(\$?)([a-z]*)(\$?)(\d*)(?::(\$?)([a-z]*)(\$?)(\d*))?/i;class fv{constructor(t,e,i,o,n){this.setCoords(t,e,i,o),this.sheet=n}setCoords(t,e,i,o){this.c1=null==t&&null==i?0:t,this.r1=null==e&&null==o?0:e,this.c2=null==o&&null!=t||null!=i?null==i?t:i:1/0,this.r2=null==i&&null!=e||null!=o?null==o?e:o:1/0,this.normalize()}get size(){return{columns:this.c2-this.c1+1,rows:this.r2-this.r1+1}}get count(){const{columns:t,rows:e}=this.size;return t*e}normalize(){const[t,e]=[Math.min(this.c1,this.c2),Math.max(this.c1,this.c2)],[i,o]=[Math.min(this.r1,this.r2),Math.max(this.r1,this.r2)];return this.c1=t,this.c2=e,this.r1=i,this.r2=o,this}move(t,e,i=null,o=null,n=!0){const r=gv(this.c1,t,i,n);n&&(e+=this.c1+t!=r&&0!=t?t>0?1:-1:0),this.c1=r,this.r1=gv(this.r1,e,o,n),this.c2=gv(this.c2,t,i,n),this.r2=gv(this.r2,e,o,n)}contains(t){return t.c1>=this.c1&&t.c2<=this.c2&&t.r1>=this.r1&&t.r2<=this.r2}containsColumn(t){return this.c1<=t&&this.c2>=t}containsRow(t){return this.r1<=t&&this.r2>=t}removeAnchors(){return this.c1Anchor=!1,this.c2Anchor=!1,this.r1Anchor=!1,this.r2Anchor=!1,this}addAnchors(){return this.c1Anchor=!0,this.c2Anchor=!0,this.r1Anchor=!0,this.r2Anchor=!0,this}shiftLeft(t,e=1,i=null,o=!1){return t<=this.c1&&(o||!this.c1Anchor)&&(null==i||this.c1<=i)&&(this.c1-=e),t<=this.c2&&(o||!this.c2Anchor)&&(null==i||this.c2<=i)&&(this.c2-=e),this}shiftRight(t,e=1,i=null,o=!1){return t<=this.c1&&(o||!this.c1Anchor)&&(null==i||this.c1<=i)&&(this.c1+=e),t<=this.c2&&(o||!this.c2Anchor)&&(null==i||this.c2<=i)&&(this.c2+=e),this}shiftUp(t,e=1,i=null,o=!1){return t<=this.r1&&(o||!this.r1Anchor)&&(null==i||this.r1<=i)&&(this.r1-=e),t<=this.r2&&(o||!this.r2Anchor)&&(null==i||this.r2<=i)&&(this.r2-=e),this}shiftDown(t,e=1,i=null,o=!1){return t<=this.r1&&(o||!this.r1Anchor)&&(null==i||this.r1<=i)&&(this.r1+=e),t<=this.r2&&(o||!this.r2Anchor)&&(null==i||this.r2<=i)&&(this.r2+=e),this}shift(t){const{index:e,offset:i,direction:o,maxIndex:n,ignoreAnchors:r}=t;switch(o){case"down":return this.shiftDown(e,i,n,r);case"up":return this.shiftUp(e,i,n,r);case"left":return this.shiftLeft(e,i,n,r);case"right":return this.shiftRight(e,i,n,r)}}intersect(t){this.normalize(),t.normalize();const e=Math.max(t.c1,this.c1),i=Math.min(t.c2,this.c2),o=Math.max(t.r1,this.r1),n=Math.min(t.r2,this.r2);return e<=i&&o<=n?new fv(e,o,i,n,this.sheet):null}unite(t){return this.normalize(),t.normalize(),new fv(Math.min(this.c1,t.c1),Math.min(this.r1,t.r1),Math.max(this.c2,t.c2),Math.max(this.r2,t.r2),this.sheet)}clone(){const t=new fv(this.c1,this.r1,this.c2,this.r2,this.sheet);return t.c1Anchor=this.c1Anchor,t.r1Anchor=this.r1Anchor,t.c2Anchor=this.c2Anchor,t.r2Anchor=this.r2Anchor,t}equals(t,e=!1){return t.c1==this.c1&&t.r1==this.r1&&t.c2==this.c2&&t.r2==this.r2&&(0==e||t.c1Anchor==this.c1Anchor&&t.r1Anchor==this.r1Anchor&&t.c2Anchor==this.c2Anchor&&t.r2Anchor==this.r2Anchor)}get isCell(){return this.c2==this.c2&&this.r2==this.r1}get isRange(){return this.c2!=this.c1||this.r2!=this.r1}get isColumn(){return 0==this.r1&&this.r2==1/0}get isRow(){return 0==this.c1&&this.c2==1/0}get A1(){const t=this.isRange,e=(this.c1Anchor?"$":"")+(0!==this.c1||this.c2!==1/0?yv(this.c1):"")+(0===this.r1&&this.r2===1/0?"":(this.r1Anchor?"$":"")+vv(this.r1)),i=t?(this.c2Anchor?"$":"")+(!isNaN(this.c2)&&this.c2<1/0?yv(this.c2):"")+(this.r2Anchor?"$":"")+(!isNaN(this.r2)&&this.r2<1/0?vv(this.r2):""):e;return(null==this.sheet?"":((o=this.sheet).indexOf(" ")>-1?"'"+o+"'":o)+"!")+(e==i?e:e+":"+i);var o}get bounds(){return[[new fv(this.c1,this.r1),this.c2<1/0?new fv(this.c2,this.r1):null],[this.r2<1/0?new fv(this.c1,this.r2):null,this.r2<1/0&&this.c2<1/0?new fv(this.c2,this.r2):null]]}*cells(){for(let t=this.r1;t<=this.r2;t++)for(let e=this.c1;e<=this.c2;e++)yield new fv(e,t)}static fromA1(t){const e=mv.exec(t),i=new fv(e[3]?wv(e[3]):null,e[5]?bv(e[5]):null,e[7]?wv(e[7]):null,e[9]?bv(e[9]):null,e[1]||null);return!e[2]&&e[3]||(i.c1Anchor=!0),!e[4]&&e[5]||(i.r1Anchor=!0),(e[6]||e[2]&&!e[7])&&(i.c2Anchor=!0),(e[8]||e[4]&&!e[9])&&(i.r2Anchor=!0),i}}function vv(t){return(t+1).toString()}function bv(t){return parseInt(t)-1}function yv(t){++t;let e,i="";for(;t>0;)e=(t-1)%26,i=String.fromCharCode(e+65)+i,t=(t-e-1)/26;return i}function wv(t){const e=t.length;let i=0;for(let o=0;o<e;o++)i+=(t.charCodeAt(o)-64)*Math.pow(26,e-o-1);return i-1}function xv(t){return t.sort(((t,e)=>{const i=Math.min(t.r1,t.r2),o=Math.min(e.r1,e.r2),n=Math.min(t.c1,t.c2),r=Math.min(e.c1,e.c2);return i<o?-1:i>o?1:n<r?-1:r>n?1:0}))}function kv(t){return t.formula.cells.map((e=>t.cell.model.getCellByRange(e[1])))}function Cv(t){let e=t;for(;Array.isArray(e);)e=e.length>0?e[0]:null;return e}function Mv(t){return Array.isArray(t)?t:[[t]]}function _v(t,e,i,o){if(!Array.isArray(t))return e(t,i,o);for(let o=0;o<t.length;o++)if(!1===_v(t[o],e,null==i?o:i,null==i?void 0:o))return!1}fv.fromA1s=(t,e=";")=>t.split(e).map((t=>fv.fromA1(t))),fv.toA1s=(t,e=";")=>t.map((t=>t.A1)).join(e),fv.fromCoords=t=>new fv(t.c1,t.r1,t.c2,t.r2),fv.fullColumn=t=>new fv(t,0,t,1/0),fv.fullRow=t=>new fv(0,t,1/0,t);const Sv=new Set(["SUMPRODUCT","FILTER"]),Ev=t=>Sv.has(t),zv=t=>!!(t&&t.length>0&&"="==t.charAt(0)),Rv=t=>zv(t)?t:"="+(t??""),Lv=t=>zv(t)?t.substring(1):t,Iv=["#5B97FF","#FF616B","#B77CFF","#00B02C","#FC58BE","#FF9000","#2EB0B3"],Hv=t=>Iv[t%Iv.length],Tv=new Map([["FORMULATEXT","_xlfn."],["CONCAT","_xlfn."],["INDIRECT","_xlfn."],["ISOWEEKNUM","_xlfn."],["SWITCH","_xlfn."],["XOR","_xlfn."]]);class Av{get fn(){return this._fn??(this._fn=new Function("t","ctx","return "+this.compile()))}get tokens(){return this._tokens}get variables(){return this._variables}get cells(){return this._cells}get ranges(){return this._ranges}get colors(){if(!this._colors){let t;this._colors=new Map,this._tokens.forEach(((e,i)=>{if([av.Cell,av.Range].includes(e[1])){const o=(t?"'"+t+"'!":"")+e[0];this._colors.set(o,{color:Hv(this._colors.size),address:e[0],sheet:t,type:e[1],tokenIndex:i}),t=null}else e[1]==av.Sheet&&(t=e[0])}))}return this._colors}constructor(t,e){this.expression=t,this.tokenizer=e,this._tokens=e.tokenize(this.expression),this.updateDependecies()}findTokenIndexAtPosition(t){let e=0;return this._tokens.findIndex((i=>{const o=i[0].length;if(t>=e&&t<=e+o)return!0;e+=o}))}findSheetTokenIndex(t){const e=this._tokens[t];if(![av.Cell,av.Range].includes(e[1]))return-1;if(0==t||this._tokens[t-1][1]!=av.SheetSeparator)return-1;let i=t-2;for(;i>=0;){if(this._tokens[i][1]==av.Sheet)return i;i--}return-1}removeSheetToken(t){if(this._tokens[t][1]!=av.Sheet&&(t=this.findSheetTokenIndex(t)),t>-1){t>0&&this._tokens[t-1][1]==av.SheetQuote&&t--;let e=t;for(;e<this._tokens.length&&[av.SheetSeparator,av.SheetQuote,av.Sheet].includes(this._tokens[e][1]);)e++;return this._tokens.splice(t,e-t),e-t}return 0}getNamedColor(t){return this.colors.get(t)?.color??"inherit"}getTokenPosition(t){let e=0;for(let i=0;i<t;i++)e+=this._tokens[i][0].length;return{min:e,max:e+this._tokens[t][0].length}}updateToken(t,e){this._fn=null,this._formula=null,this._xlFormula=null,this._tokens[t][0]=e}removeToken(t){this._fn=null,this._formula=null,this._xlFormula=null,this._tokens.splice(t,1)}insertToken(t,e,i){this._fn=null,this._formula=null,this._xlFormula=null;const o=[];return i==av.Sheet&&/\s/.test(e)?(o.push([this.tokenizer.options.sheetQuote,av.SheetQuote]),o.push([e,av.Sheet]),o.push([this.tokenizer.options.sheetQuote,av.SheetQuote])):o.push([e,i]),o.push(["!",av.SheetSeparator]),this._tokens.splice(t,0,...o),o.length}clone(){return new Av(this.createFormulaString(),this.tokenizer)}updateDependecies(){let t;this._variables=[],this._cells=[],this._ranges=[],this._tokens.forEach(((e,i)=>{switch(e[1]){case av.Sheet:t=e[0];break;case av.Variable:this._variables.push([i,e[0],t]),t=void 0;break;case av.Cell:this._cells.push([i,fv.fromA1(e[0]),t]),t=void 0;break;case av.Range:this._ranges.push([i,fv.fromA1(e[0]),t]),t=void 0}}))}createFormulaString(t=!1,e=!1){const i=this.tokenizer.options;let o,n,r,s="";for(let l=0;l<this._tokens.length;l++)switch(o=this._tokens[l],o[1]){case av.SheetQuote:s+="'";break;case av.SheetSeparator:s+="!";break;case av.Sheet:n=o[0],s+=t?`<span style="font-style:italic">${n}</span>`:n;break;case av.Variable:s+=o[0];break;case av.Range:case av.Cell:r=(n?"'"+n+"'!":"")+o[0],s+=t?`<span style="color:${this.getNamedColor(r)}">${o[0]}</span>`:o[0],n=null;break;case av.StringQuote:s+=i.stringQuote;break;case av.String:s+=o[0].replace(new RegExp(i.stringQuote,"g"),"\\"+i.stringQuote);break;case av.ArgumentSeparator:s+=i.argumentSeparator;break;case av.Function:s+=(e?(a=o[0],Tv.get(a)??""):"")+o[0];break;case av.Unknown:s+=t?`<span style="background:#f00;color:#fff">${o[0]}</span>`:o[0];break;default:s+=o[0]}var a;return s}createExpressionTree(){const t=[],e=[],i=this.tokens;let o,n,r,s,a,l=null;for(let c=0;c<i.length;c++)switch(o=i[c],o[1]){case av.Sheet:l=o[0];break;case av.Cell:case av.Range:t.push({t:o[0],tt:o[1],s:l}),l=null;break;case av.Number:case av.String:case av.Boolean:case av.Variable:t.push({t:o[0],tt:o[1]});break;case av.Operator:for(0==t.length&&t.push({t:"",tt:av.Operand}),r=ev.get(o[0]);e.length>0&&(s=ev.get(e[e.length-1][0]),s)&&(0===r[2]&&r[1]<=s[1]||1===r[2]&&r[1]<s[1]);)n=e.pop(),a=[t.pop(),t.pop()].reverse(),t.push({t:n[0],tt:n[1],c:a});e.push(o);break;case av.Function:case av.OpenBracket:e.push(o);break;case av.ArgumentSeparator:for(;e.length>0&&(n=e[e.length-1],![av.OpenBracket,av.ArgumentSeparator].includes(n[1]));)n=e.pop(),a=[t.pop(),t.pop()].reverse(),t.push({t:n[0],tt:n[1],c:a});e.push(o);break;case av.CloseBracket:for(a=[];e.length>0&&e[e.length-1][1]!==av.OpenBracket;)n=e.pop(),n[1]==av.Operator?a.push({t:n[0],tt:n[1],c:[t.pop(),t.pop()].reverse()}):n[1]==av.ArgumentSeparator&&t.length>0&&a.push(t.pop());e.pop(),e.length>0&&e[e.length-1][1]===av.Function?(n=e.pop(),a=a.reverse(),t.length>0&&i[c-1][1]!==av.OpenBracket&&a.unshift(t.pop()),t.push({t:n[0],tt:n[1],c:a})):t.push(...a)}for(;e.length>0;)n=e.pop(),t.push({t:n[0],tt:n[1],c:[t.pop(),t.pop()].reverse()});return t.pop()}createExpressionJSCode(t,e,i){let o;switch(t.tt){case av.Range:return"t.rn('"+t.t+"'"+(t.s?",'"+t.s+"'":"")+")";case av.Cell:return"t.cl('"+t.t+"'"+(t.s?",'"+t.s+"'":"")+")";case av.Operand:return"t.cl()";case av.Variable:return i||e?.tt===av.Function?"t.nr('"+t.t+"'"+(t.s?",'"+t.s+"'":"")+")":"t.nv('"+t.t+"'"+(t.s?",'"+t.s+"'":"")+")";case av.String:return"'"+t.t.replace(/'/g,"\\'")+"'";case av.Boolean:return"T"==t.t[0].toUpperCase()?"1":"0";case av.Function:return o=t.c.map((e=>this.createExpressionJSCode(e,t,i||Ev(t.t)))),"t.fn('"+t.t+"').call(ctx"+(o.length>0?","+o.join(","):"")+")";case av.Operator:return i?(o=t.c.map((e=>this.createExpressionJSCode(e,t,i||Ev(t.t)))),"t.op("+o[0]+","+o[1]+",'"+t.t+"')"):ev.has(t.t)?"("+t.c.map((e=>this.createExpressionJSCode(e,t,i))).join(ev.get(t.t)[0])+")":null;default:return t.t}}compile(){const t=this.createExpressionTree();return this.createExpressionJSCode(t)}toString(t=!1){return(t?"=":"")+(this._formula??(this._formula=this.createFormulaString()))}toExcelString(){return this._xlFormula??(this._xlFormula=this.createFormulaString(!1,!0))}shift(t){const{index:e,offset:i,direction:o,maxIndex:n,sheet:r,allSheets:s}=t;return this._cells&&this._cells.forEach((t=>{if(s||null==t[2]||t[2]==r){switch(o){case"up":t[1].shiftUp(e,i,n);break;case"right":t[1].shiftRight(e,i,n);break;case"down":t[1].shiftDown(e,i,n);break;case"left":t[1].shiftLeft(e,i,n)}this._tokens[t[0]][0]=t[1].A1}})),this._ranges&&this._ranges.forEach((t=>{if(s||null==t[2]||t[2]==r){switch(o){case"up":t[1].shiftUp(e,i,n);break;case"right":t[1].shiftRight(e,i,n);break;case"down":t[1].shiftDown(e,i,n);break;case"left":t[1].shiftLeft(e,i,n)}this._tokens[t[0]][0]=t[1].A1}})),this}hasSheetReference(t){for(const e of this._cells)if(e[2]==t)return!0;for(const e of this._ranges)if(e[2]==t)return!0;for(const e of this._variables)if(e[2]==t)return!0;return!1}renameSheet(t,e){let i=!1;return this._tokens.forEach((o=>{o[1]==av.Sheet&&o[0]==t&&(o[0]=e,i=!0)})),i}}function Ov(t,e){return e&&(t=Jo(this.cell.model.options.locale,rn(e,"d"),!1)(t)),null==t?"":t.toString()}function $v(t,e){return(t=null==t?"":t.toString()).substring(0,e)}function Dv(t,e){return(t=null==t?"":t.toString()).substring(Math.max(0,t.length-e),t.length)}function Nv(t,e,i){return(t=null==t?"":t.toString()).substring(e,e+i)}function Pv(...t){let e="";return _v(t,(t=>e+=null==t?"":t.toString())),e}function jv(t){return t instanceof Date?t:Q(t)?Oo(t,vo()):Uo(t)}function Vv(t){return tt(t)?t:Wo(t instanceof Date?t:Oo(t,vo()))}function Bv(t){return Q(t)?Vv(t):t}function Fv(t,e){const i=jv(t).getDay();switch(e){case 2:return i;case 3:return i-1;default:return i%7+1}}function Wv(t,e,i){return Go(Vv(Cv(t)),e)}function Uv(){return Wo(se(new Date))}function Gv(t){return null==(t=Cv(t))||""===t}function Yv(t,e,i){return Wo(new Date(t,e-1,i))}function qv(t){return jv(t).getFullYear()}function Zv(t){return jv(t).getMonth()+1}function Xv(t){return jv(t).getDate()}function Qv(t,e){const i=jv(t);return i.setMonth(i.getMonth()+e+1),i.setDate(0),Wo(i)}function Kv(t){return yi(jv(t))}function Jv(t){return Math.acos(t)}function tb(t){return Math.acosh(t)}function eb(t){return Math.PI/2-Math.atan(t)}function ib(t){return.5*Math.log((t+1)/(t-1))}function ob(t){return Math.asin(t)}function nb(t){return Math.asinh(t)}function rb(t){return Math.atan(t)}function sb(t){return Math.atanh(t)}function ab(t){return Math.cos(t)}function lb(t){return Math.cosh(t)}function cb(t){return 1/Math.tan(t)}function hb(t){return 1/Math.tanh(t)}function db(t){return 1/Math.sin(t)}function ub(t){return 1/Math.sinh(t)}function pb(t){return 180*t/Math.PI}function gb(){return Math.PI}function mb(t){return 1/Math.cos(t)}function fb(t){return 1/Math.cosh(t)}function vb(t){return Math.sin(t)}function bb(t){return Math.sinh(t)}function yb(t){return Math.tan(t)}function wb(t){return Math.tanh(t)}function xb(t){return Math.abs(t)}function kb(t){if(t<0)throw new Error("#NUM");return Math.ceil(t)}function Cb(t){return(t=Math.ceil(t))%2==0?t:t+1}function Mb(t){return Math.pow(Math.E,t)}function _b(t){return t<0?-1:0==t?1:t*_b(t-1)}function Sb(t){return t<=0?1:t*Sb(t-2)}function Eb(t){return Math.floor(t)}function zb(t){return t%1!=0}function Rb(t){return!zb(t)&&t%2==0}function Lb(t){return zb(t)||t%2==1}function Ib(t){return Math.log(t)}function Hb(t,e){return Math.log(t)/Math.log(e)}function Tb(t){return Math.log10(t)}function Ab(t,e){return t%e}function Ob(t){return(t=Math.ceil(t))%2==0?t+1:t}function $b(t,e){return Math.pow(t,e)}function Db(...t){let e=1;return _v(t,(t=>e*=t||1)),e}function Nb(t,e){return Math.floor(t/e)}function Pb(t){return t*Math.PI/180}function jb(){return Math.random()}function Vb(t,e){const i=Array(t).fill(null).map((()=>Array(e)));for(let o=0;o<t;o++)for(let t=0;t<e;t++)i[o][t]=Math.random();return i}function Bb(t,e){return t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t+1))+t}function Fb(t,e){return t.toFixed(e)}function Wb(t,e){return e=e||0,Math.floor(t*Math.pow(10,e))/Math.pow(10,e)}function Ub(t,e){return e=e||0,Math.ceil(t*Math.pow(10,e))/Math.pow(10,e)}function Gb(t,e,i=1,o=1){const n=Array(t).fill(null).map((()=>Array(e)));let r=i;for(let i=0;i<t;i++)for(let t=0;t<e;t++)n[i][t]=r,r+=o;return n}function Yb(t){return t<0?-1:t>0?1:0}function qb(t){return Math.sqrt(t)}function Zb(t){return Math.sqrt(Math.PI*t)}function Xb(...t){let e=0;return _v(t,(t=>e+=null==t?0:1)),e}function Qb(...t){let e=0;return _v(t,(t=>e+=null==t?1:0)),e}function Kb(t,e){let i=0;return _v(t,(t=>i+=tv(e,t)?1:0)),i}function Jb(...t){let e=0;const i=new Map;return _v(t,(t=>{i.has(t)||(i.set(t,t),++e)})),e}function ty(...t){let e=0;return _v(t,(t=>e+=isNaN(t)||null==t||""===t?0:t)),e}function ey(t,e,i){let o=0;if(i){const n=Mv(i);_v(t,((t,i,r)=>o+=tv(e,t)&&n[i]&&n[i][r]&&!isNaN(n[i][r])?n[i][r]:0))}else _v(t,(t=>o+=tv(e,t)&&!isNaN(t)?t:0));return o}function iy(t,e){let i=0;return _v(t,(t=>i+=tv(e,t)&&!isNaN(t)?t*t:0)),i}function oy(...t){let e=0;const i=t.shift();if(0===t.length)_v(i,(t=>e+=isNaN(t)?0:t));else{const o=Mv(t[0]);_v(i,((t,i,n)=>e+=o[i]&&o[i][n]&&!isNaN(t)&&!isNaN(o[i][n])?t*o[i][n]:0))}return e}function ny(t,e){return t=null==t?"":t.toString(),e?e=>e==t:(t=t.toLowerCase(),e=>(e??"").toString().toLowerCase()==t)}function ry(t,e,i=1){const o=new fv(Math.max((e||0)-1,0),Math.max((t||0)-1,0));return 1!=i&&2!=i||(o.r1Anchor=!0),1!=i&&3!=i||(o.c1Anchor=!0),o.A1}function sy(t,e,i,o=!1){let n,r;const s=ny(t,o);for(n=0;n<e.length;n++)for(r=0;r<e[n].length;r++)if(s(e[n][r]))return e[n][i-1];return null}function ay(t,e,i,o=!1){let n,r;const s=ny(t,o);for(n=0;n<e.length;n++)for(r=0;r<e[n].length;r++)if(s(e[n][r]))return e[i-1][r];return null}function ly(t,e,i){let o,n;t:for(o=0;o<e.length;o++)for(n=0;n<e[o].length;n++)if(e[o][n]==t)break t;return i?i[o]?i[o][n]:null:e[o][e[o].length-1]}function cy(t,...e){let i=null,o=0;return _v(e,(e=>{if(t==++o)return i=e,!1})),i}function hy(t){return(t?fv.fromA1(t).c1:this.cell.c)+1}function dy(t){return(t?fv.fromA1(t).r1:this.cell.r)+1}function uy(t){return Array.isArray(t)?t[0]?.length:1}function py(t){return Array.isArray(t)?t.length:1}function gy(){const t=kv(this)[0];return t&&t.hasFormula?" "+Rv(t.formula):""}function my(t,e,i){return e=e||1,i=i||1,Array.isArray(t)?t[e-1]?t[e-1][i-1]:null:1==e&&1==i?t:null}function fy(t){const e=this.cell,i=e.model,o=i.getCellByA1(t);let n;return i.calculations.dependencies.cellDependencies.has(e.address)?n=i.calculations.dependencies.cellDependencies.get(e.address):(n=new Map,i.calculations.dependencies.cellDependencies.set(e.address,n)),n.set(o.address,[o.range]),i.calculations.dependencies.cellDependants.has(o.address)?n=i.calculations.dependencies.cellDependants.get(o.address):(n=new Map,i.calculations.dependencies.cellDependants.set(o.address,n)),n.set(e.address,[e.range]),o.value}function vy(t,e,i=0){let o,n;for(o=0;o<e.length;o++)for(n=0;n<e[o].length;n++){if(0==i&&e[o][n]==t)return Math.max(o+1,n+1);if(1==i&&e[o][n]>t)return Math.max(o+1,n+1);if(-1==i&&e[o][n]<t)return Math.max(o+1,n+1)}return null}function by(t,e,i,o,n){const r=kv(this)[0],s=[];o=o||1,n=n||1;for(let t=0;t<o;t++){const o=[];for(let s=0;s<n;s++){const n=r.model.rows[r.r+t+e].cell(r.c+s+i);o.push(n?r.value:null)}s.push(o)}return s}function yy(t,e){const i=[];if(t.length==e.length)for(let o=0;o<t.length;o++){let n=!0;for(let t=0;t<e[o].length;t++)if(!e[o][t]){n=!1;break}n&&i.push(t[o])}return i}const wy=[[3.1611237438705655,113.86415415105016,377.485237685302,3209.3775891384694,.18577770618460315],[.5641884969886701,8.883149794388377,66.11919063714163,298.6351381974001,881.952221241769,1712.0476126340707,2051.0783778260716,1230.3393547979972,2.1531153547440383e-8],[.30532663496123236,.36034489994980445,.12578172611122926,.016083785148742275,.0006587491615298378,.016315387137302097]],xy=[[23.601290952344122,244.02463793444417,1282.6165260773723,2844.236833439171],[15.744926110709835,117.6939508913125,537.1811018620099,1621.3895745666903,3290.7992357334597,4362.619090143247,3439.3676741437216,1230.3393548037495],[2.568520192289822,1.8729528499234604,.5279051029514285,.06051834131244132,.0023352049762686918]];function ky(t){const e=t*t;let i,o=wy[0][4]*e,n=e;for(i=0;i<3;i+=1)o=(o+wy[0][i])*e,n=(n+xy[0][i])*e;return t*(o+wy[0][3])/(n+xy[0][3])}function Cy(...t){let e=!0;return _v(t,(t=>{if(!t)return e=!1})),e}function My(...t){let e=!1;return _v(t,(t=>{if(t)return e=!0})),e}function _y(...t){let e=null;return _v(t,(t=>{e=null===e?!!t:!!t!=e})),e}function Sy(...t){const e=t[0];for(let i=1;i<t.length;i+=2){if(i==t.length-1)return t[i];if(e==t[i])return t[i+1]}return null}function Ey(t,e,i){return t?e:i}function zy(t){return!t}function Ry(){return!1}function Ly(){return!0}function Iy(t,e){return e=""===e?null:e,this.cell.hasError?(this.cell.error.handled=!0,e):t===1/0||t===-1/0||Number.isNaN(t)?e:t}var Hy=i(235),Ty=i.n(Hy),Ay=i(5949),Oy=i.n(Ay);function $y(...t){let e=0,i=0;return _v(t,(t=>{null==t||isNaN(t)||(e+=t||0,++i)})),e/i}function Dy(t,e){const i=Oy()(),o=Mv(t),n=Mv(e);for(let t=0;t<o.length;t++)for(let e=0;e<o[t].length;e++)i(o[t][e],(n[t]?n[t][e]:1)??1);return i()}function Ny(...t){const e=function(t){const e=[];return _v(t,(t=>e.push(t))),e}(t),i=Ty()(e.length,e,1);return e.reduce(((t,e)=>t+Math.abs(e-i)),0)/e.length}function Py(...t){let e=1/0;return _v(t,(t=>e=Math.min(e,t))),e}function jy(...t){let e=-1/0;return _v(t,(t=>e=Math.max(e,t))),e}function Vy(t,e){Object.keys(e).forEach((i=>t.set(st(i,"_").replace(/_/g,".").toUpperCase(),e[i])))}const By=new Map;Vy(By,_),Vy(By,S),Vy(By,E),Vy(By,z),Vy(By,L),Vy(By,R),Vy(By,I);class Fy{constructor(t){this.model=t,this.getModel=t=>{const e=t?this.model.getConnectedModel(t):this.model;if(e)return e;throw new Error(`Sheet "${t}" not found`)},this.cl=(t,e)=>{const i=this.getModel(e);if(null==t)return this.currentCell.value;const o=i.getCellByA1(t);return o?o.value:(this.currentCell.error={message:`undefined cell ${t}`},null)},this.rn=(t,e)=>this.getModel(e).getValuesInRange(fv.fromA1(t)),this.nv=(t,e)=>this.getModel(e).getCellByName(t,this.currentCell.range).value,this.nr=(t,e)=>{const i=this.getModel(e).getValueMatrixByName(t);return 1===i.length&&1===i[0].length?i[0][0]:i},this.fn=t=>{const e=By.get(t);if(e)return e;throw new Error(`Function "${t}" not found`)},this.op=(t,e,i)=>sv(t,e,i)}}function Wy(t,e){const i=Array(e).fill(null);let o=0,n=[];if(t.length>1){n=t.map((t=>parseFloat(t.value)||0)),o=n[1]-n[0];for(let t=2;t<n.length;t++)if(n[t]-n[t-1]!==o){o=0;break}}if(0==o)for(let o=0;o<e;o++)i[o]=t[o%t.length]?.value;else{let t=n[n.length-1];for(let n=0;n<e;n++)t=i[n]=t+o}return i}function Uy(t,e,i){const o=new Av(t.formula,t.model.calculations.tokenizer),n=[];for(let t=0;t<i;t++)n.push(Rv(o.shift({index:0,offset:1,direction:e,allSheets:!0}).createFormulaString()));return n}function Gy(t,e,i,o){const n=t.getCellMatrix(e);let r;"right"==o?r=An(n):"down"==o?r=Tn(n):"left"==o?r=In(n):"up"==o&&(r=In(Tn(n)));const s=new Array(i.size.rows);for(let t=0;t<i.size.rows;t++){s[t]=new Array(i.size.columns);for(let e=0;e<i.size.columns;e++){const i=n.length>t?n[t][n[t].length>e?e:0]:n[0][e];s[t][e]=i.hasDisplayValue?i.displayValue:null}}const a=i.size["down"==o||"up"==o?"rows":"columns"];let l=r.map((t=>t[t.length-1].hasFormula?Uy(t[t.length-1],o,a):Wy(t,a)));return"down"==o?l=Tn(l):"left"==o?l=In(l):"up"==o&&(l=Hn(Tn(l))),t.spillValues({cell:t.getCellByRange(i.bounds[0][0]),values:l,propertyCell:t.getCellByRange(e.bounds[0][0]),displayValues:s})}function Yy(t){return t.pattern&&"string"==typeof t.pattern&&(t.pattern=new RegExp(t.pattern)),t}function qy(t,e){const i=t.validation;if(!i)return!0;if(i.allowInvalid)return!0;let o=!0;return i.pattern&&(i.pattern.test((e??"").toString())||(o=!1)),i.validate&&(i.validate(t,e)||(o=!1)),o}class Zy{get address(){return null}get renderer(){return this._renderer}set renderer(t){this._renderer=t}get afterRenderer(){return this._afterRenderer}set afterRenderer(t){this._afterRenderer=t}get commentRenderer(){return this._commentRenderer}set commentRenderer(t){this._commentRenderer=t}get type(){return this._type}set type(t){this._type=t}get name(){return this._name}set name(t){this._name=t}get style(){return this._style}set style(t){this._style=t}get commentable(){return this._commentable}set commentable(t){this._commentable=t}get clickable(){return this._clickable}set clickable(t){this._clickable=t}get editable(){return this._editable}set editable(t){this._editable=t}get validation(){return this._validation}set validation(t){this._validation=t}get hasFormula(){return!!this._formula}get formula(){return this._formula}set formula(t){this._formula=t?t.replace(/^=/,""):null}get value2(){return this.hasFormula?Rv(this.formula):null}get editorContent(){return this._editorContent}set editorContent(t){this._editorContent=t}get adapter(){return this._adapter}set adapter(t){this._adapter=t}get properties(){return this._properties}set properties(t){this._properties=t}getProperty(t){return this._properties?.[t]}setProperty(t,e){this._properties||(this._properties={}),this._properties[t]=e}get format(){return this._format}set format(t){this._format=t,this._valueFormatter=null}get valueFormatter(){return this._valueFormatter}constructor(t,e){this.model=t,this._type=null,this._clickable=!1,e&&this.populate(e)}populate(t){this._renderer=t.renderer,this._afterRenderer=t.afterRenderer,this._commentRenderer=t.commentRenderer,this._name=t.name,this._type=t.t,this._editorContent=t.content,this._adapter=t.adapter,this._format=t.z,this._formula=t.f,this._editable=t.e,this._commentable=t.commentable,this._clickable=t.clickable,this._validation=t.validation?Yy(t.validation):null,this._properties=t.props,this._style=null==t.s?null:this.model.styles.add(t.s).id}update(t){const e={};if("renderer"in t&&(e.renderer=this._renderer,this._renderer=t.renderer),"afterRenderer"in t&&(this._afterRenderer=t.afterRenderer),"commentRenderer"in t&&(this._commentRenderer=t.commentRenderer),"name"in t&&(e.name=this._name,this._name=t.name),"t"in t&&(e.t=this._type,this._type=t.t),"content"in t&&(e.content=this._editorContent,this._editorContent=t.content),"adapter"in t&&(e.adapter=this._adapter,this._adapter=t.adapter),"z"in t&&(e.z=this._format,this._format=t.z),"f"in t&&(e.f=this._formula,this._formula=t.f),"e"in t&&(e.e=this._editable,this._editable=t.e),"commentable"in t&&(e.commentable=this._commentable,this._commentable=t.commentable),"clickable"in t&&(e.clickable=this._clickable,this._clickable=t.clickable),"validation"in t&&(e.validation=this._validation,this._validation=Yy(t.validation)),"props"in t&&(e.props=this._properties,this._properties=t.props),"s"in t){const i=this.model.styles.add(t.s).id;this._style!==i&&(e.s=this._style,this._style=i)}return e}getSourceData(){const t={};return null!=this._type&&(t.t=this._type),null!=this._format&&(t.z=this._format),null!=this._formula&&(t.f=this._formula),null!=this._editable&&(t.e=this._editable),null!=this._commentable&&(t.commentable=this._commentable),null!=this._clickable&&(t.clickable=this._clickable),this._properties&&(t.props=nt(this._properties)),null!=this._editorContent&&(t.content=Z(this._editorContent)?nt(this._editorContent):this._editorContent),null!=this._style&&(t.s=this._style),null!=this._name&&(t.name=this._name),t}setStyleProperties(t,e=!1){this.style=e?this.model.styles.set(this.style,t).id:this.model.styles.duplicate(this.style,t).id}removeStyleProperties(t){null!==this.style&&this.model.styles.unset(this.style,t)}get composedStyle(){return this.model.styles.get(this.style)}}function Xy(t){const e={};return t.split(";").forEach((t=>{const[i,o]=t.split(":");e[i]=o.trim()})),e}const Qy=new Map([["thin",{width:1.5,style:"solid"}],["medium",{width:2,style:"solid"}],["thick",{width:3,style:"solid"}],["double",{width:3,style:"double"}],["dotted",{width:1.5,style:"dotted"}],["hair",{width:1,style:"solid"}],["dashed",{width:1.5,style:"dashed"}],["mediumDashed",{width:2,style:"dashed"}],["dashDot",{width:1.5,style:"dashed"}],["mediumDashDot",{width:2,style:"dashed"}],["dashDotDot",{width:1.5,style:"dotted"}],["mediumDashDotDot",{width:2,style:"dotted"}],["slantDashDot",{width:1.5,style:"dashed"}],["none",{width:1.5,style:"solid"}]]),Ky=(()=>{const t=new Map;return Qy.forEach(((e,i)=>{let o=t.get(e.style);o||(o=t.set(e.style,new Map).get(e.style)),o.set(e.width,i)})),t})();function Jy(t){return"middle"==t?"center":t}function tw(t){return 3==(t="#"==t.charAt(0)?t.substring(1):t).length?t[0]+t[0]+t[1]+t[1]+t[2]+t[2]:t}const ew=t=>{if("none"==t)return null;const e=t.split(" "),i=parseInt(e[0].charAt(0))||1,o=e.length>1?e[1]:"solid",n=Ky.get(o);return{style:(n?n.get(i):null)??"thin",color:e.length>2?tw(e[2]):"CCCCCC"}},iw=t=>{const e=Qy.get(t.style||"none");return e?[$t(e.width),e.style,"none"==t.style?"var(--og-cell-background)":t.color?`#${t.color}`:"var(--og-border-color)"].join(" "):"none"},ow=(t,e)=>{const i="#"+(e.fgColor||"000000"),o="#"+(e.bgColor||"FFFFFF");switch(e.patternType){case"solid":t.backgroundColor=i||o;break;case"darkGray":t.backgroundColor=kn(o,.75);break;case"mediumGray":t.backgroundColor=kn(o,.5);break;case"lightGray":t.backgroundColor=kn(o,.25);break;case"gray125":t.backgroundColor=kn(o,.125);break;case"gray0625":t.backgroundColor=kn(o,.0625);break;case"darkHorizontal":t.backgroundImage=`linear-gradient(0deg, ${i} 33.33%, ${o} 33.33%, ${o} 50%, ${i} 50%, ${i} 83.33%, ${o} 83.33%, ${o} 100%)`,t.backgroundSize="6px 6px";break;case"darkVertical":t.backgroundImage=`linear-gradient(90deg, ${i} 33.33%, ${o} 33.33%, ${o} 50%, ${i} 50%, ${i} 83.33%, ${o} 83.33%, ${o} 100%)`,t.backgroundSize="6px 6px";break;case"darkDown":t.backgroundImage=`linear-gradient(45deg, ${i} 33.33%, ${o} 33.33%, ${o} 50%, ${i} 50%, ${i} 83.33%, ${o} 83.33%, ${o} 100%)`,t.backgroundSize="6px 6px";break;case"darkUp":t.backgroundImage=`linear-gradient(-45deg, ${i} 33.33%, ${o} 33.33%, ${o} 50%, ${i} 50%, ${i} 83.33%, ${o} 83.33%, ${o} 100%)`,t.backgroundSize="6px 6px";break;case"lightHorizontal":t.backgroundImage=`linear-gradient(0deg, ${o} 25%, ${i} 25%, ${i} 50%, ${o} 50%, ${o} 75%, ${i} 75%, ${i} 100%)`,t.backgroundSize="4px 4px";break;case"lightVertical":t.backgroundImage=`linear-gradient(90deg, ${o} 25%, ${i} 25%, ${i} 50%, ${o} 50%, ${o} 75%, ${i} 75%, ${i} 100%)`,t.backgroundSize="4px 4px";break;case"lightDown":t.backgroundImage=`linear-gradient(45deg, ${o} 25%, ${i} 25%, ${i} 50%, ${o} 50%, ${o} 75%, ${i} 75%, ${i} 100%)`,t.backgroundSize="4px 4px";break;case"lightUp":t.backgroundImage=`linear-gradient(-45deg, ${o} 25%, ${i} 25%, ${i} 50%, ${o} 50%, ${o} 75%, ${i} 75%, ${i} 100%)`,t.backgroundSize="4px 4px";break;case"darkGrid":t.backgroundImage=`linear-gradient(${o} 0.5px, transparent 0.5px), linear-gradient(90deg, ${o} 0.5px, transparent 0.5px)`,t.backgroundSize="2px 2px";break;case"lightGrid":t.backgroundImage=`linear-gradient(${o} 0.5px, transparent 0.5px), linear-gradient(90deg, ${o} 0.5px, transparent 0.5px)`,t.backgroundSize="1px 1px";break;case"darkTrellis":t.backgroundImage=`linear-gradient(45deg, ${o} 0.5px, transparent 0.5px), linear-gradient(90deg, ${o} 0.5px, transparent 0.5px)`,t.backgroundSize="2px 2px";break;case"lightTrellis":t.backgroundImage=`linear-gradient(45deg, ${o} 0.5px, transparent 0.5px), linear-gradient(90deg, ${o} 0.5px, transparent 0.5px)`,t.backgroundSize="1px 1px"}return t},nw=(t,e)=>(t.backgroundImage=`linear-gradient(${(e.angle??0)+90}deg,${e.stops.map((t=>`#${t.rgb} ${100*t.v}%`)).join(",")})`,t),rw=t=>{const e=t.cssStyle?{...t.cssStyle}:{};return null!=t.bold&&(e.fontWeight=t.bold?"bold":"normal"),t.italic&&(e.fontStyle="italic"),t.underline?e.textDecoration="underline":t.strike&&(e.textDecoration="line-through"),t.sz&&(e.fontSize=Ot(t.sz)),t.color&&(e.color="#"+t.color),t.top&&(e.borderTop=iw(t.top)),t.right&&(e.borderRight=iw(t.right)),t.bottom&&(e.borderBottom=iw(t.bottom)),t.left&&(e.borderLeft=iw(t.left)),(t.top||t.right||t.bottom||t.left)&&(e.zIndex="1"),t.alignment&&t.alignment.vertical&&(e.display="flex",e.justifyContent=t.alignment.horizontal,e.alignItems="top"==t.alignment.vertical?"start":"bottom"==t.alignment.vertical?"end":"center"),t.alignment&&t.alignment.horizontal&&(e.textAlign=t.alignment.horizontal),t.alignment&&t.alignment.wrapText&&(e.display="flex",e.justifyContent=e.justifyContent??e.textAlign??"left",e.alignItems=e.alignItems??"center",e.whiteSpace="pre-wrap"),t.patternType?ow(e,t):t.stops&&t.stops.length?nw(e,t):t.fgColor?e.backgroundColor="#"+t.fgColor:t.bgColor&&(e.backgroundColor="#"+t.bgColor),e},sw=t=>{const e=Z(t)?t:Xy(t),i={};let o;for(const t in e){const n=e[t];if(null!=n)switch(t){case"borderTop":case"border-top":i.top=ew(n);break;case"borderTopColor":case"border-top-color":i.top?i.top.color=tw(n):i.top={style:"thin",color:tw(n)};break;case"borderRight":case"border-right":i.right=ew(n);break;case"borderRightColor":case"border-right-color":i.right?i.right.color=tw(n):i.right={style:"thin",color:tw(n)};break;case"borderBottom":case"border-bottom":i.bottom=ew(n);break;case"borderBottomColor":case"border-bottom-color":i.bottom?i.bottom.color=tw(n):i.bottom={style:"thin",color:tw(n)};break;case"borderLeft":case"border-left":i.left=ew(n);break;case"borderLeftColor":case"border-left-color":i.left?i.left.color=tw(n):i.left={style:"thin",color:tw(n)};break;case"border":o=ew(n),i.top=i.top||o,i.right=i.right||o,i.bottom=i.bottom||o,i.left=i.left||o;break;case"textAlign":case"text-align":i.alignment=i.alignment||{},i.alignment.horizontal=n;break;case"verticalAlign":case"vertical-align":i.alignment=i.alignment||{},i.alignment.vertical=Jy(n);break;case"whiteSpace":case"white-space":i.alignment=i.alignment||{},i.alignment.wrapText=n&&"nowrap"!=n;break;case"color":i.color=tw(n);break;case"background":case"backgroundColor":i.fgColor=tw(n);break;case"fontSize":case"font-size":i.sz=parseFloat(n);break;case"fontWeight":case"font-weight":i.bold="bold"==n;break;case"fontStyle":case"font-style":i.italic="italic"==n;break;default:i[t]=n}}return i},aw={n:t=>{const e=Q(t)?parseFloat(t):t;return Number.isNaN(e)?t:e},t:t=>t,d:(t,e)=>{if(null==t||""===t)return null;if(Q(t))try{return K(t)?J(t):Wo(Oo(t,e.model.options.formatLocale))}catch(i){return e.model.logger.error(`Invalid date value in cell ${e.address}: ${t}`),null}return t instanceof Date?Wo(t):t},tm:t=>Q(t)?new Date(t):t,dt:t=>Q(t)?new Date(t):t,b:t=>!!t&&"0"!==t&&"false"!==t.toString().toLowerCase(),s:t=>t,m:t=>t,g:t=>{if(null==t||""===t)return null;const e=parseFloat(t);return isNaN(e)?t:e},a:t=>Q(t)&&""!==t?JSON.parse(t):t,h:t=>t},lw=new Map;class cw extends Zy{get tooltip(){return this._tooltip}set tooltip(t){this._tooltip=t}get hasTooltip(){return null!=this._tooltip}get rowspan(){return this._rowspan}set rowspan(t){this._rowspan=t}get colspan(){return this._colspan}set colspan(t){this._colspan=t}get row(){return this._row}get r(){return this._row.index}set row(t){this._row=t,this._address=null}get column(){return this._column}set column(t){this._column=t,this._address=null}get c(){return this._column.index}get hasValue(){return null!=this._value}get value(){return this._evaluated||this.evaluate(),this._value}set value(t){if(t&&zv(t.toString()))this._value=void 0,this.formula=t;else{let e=aw[this.type](t,this);qy(this,e)||(e=void 0),e!==this._value&&(this._value=e,this._displayValue=void 0),this.row.data&&this.column.data&&(this.row.data[this.column.data]=this._value)}}evaluate(){return this._value=aw[this.type](this.model.calculations.evaluate(this),this),this._evaluated=!0,this._value}get value2(){return this.hasFormula?Rv(this.formula):this.value}get hasDisplayValue(){return null!=this._displayValue}get displayValue(){return this._displayValue}set displayValue(t){this._displayValue=t}get prefersDisplayValue(){return["s","m"].includes(this.type)}get error(){return this._error}set error(t){this._error=t}get hasError(){return!!this._error}clearError(){this._error=void 0}get spillRange(){return this._spillRange}get prevSpillRange(){return this._prevSpillRange}set spillRange(t){!this._spillRange||t&&this._spillRange.equals(t)||(this._prevSpillRange=this._spillRange),this._spillRange=t}get isSpillSource(){return null!=this._spillRange}get spillSource(){return this._spillSource}get isSpilled(){return null!=this._spillSource}spillValue(t,e){this.value=t,this._spillSource=e}clearSpilledValue(){this._spillSource=void 0,this._value=void 0}get hasSparkline(){return null===this._sparkline?this._sparkline=this.model.sparklines.has(this.address):this._sparkline}get hasComment(){return null===this._hasComment?this._hasComment=(this.model.comments.get(this.address)??[]).length>0:this._hasComment}get comments(){return this.model.comments.get(this.address)}get valueFormatter(){const t=super.valueFormatter??this.row.valueFormatter??this.column.valueFormatter;if(t)return t;const e=this.type,i=this.format,{formatLocale:o,fixNumberFormat:n}=this.model.options,r=this.value;if(null==r||""===r)return null;if("n"==e)return null!=i?Jo(o,i,n):this.model.options.numberFormatter;if("g"==e){if(null!=i)return Jo(o,i,n);if(tt(r))return this.model.options.numberFormatter}else{if("t"==e)return null==i?null:Jo(o,i,!1);if("d"==e)return i?$o(o,i):this.model.options.dateFormatter;if("s"==e&&this.editorContent)return(t=>{if(t=t||null,!lw.has(t))if(t){const e=t.reduce(((t,e)=>t.set(e.k,e.v)),new Map);lw.set(t,(t=>e.has(t)?e.get(t):t))}else lw.set(t,(t=>t));return lw.get(t)})(this.editorContent)}return null}get formattedValue(){return null==this.value?"":this.hasDisplayValue?this.displayValue:this.valueFormatter?this.valueFormatter(this.value):this.value.toString()}get elm1(){return this.row.priority>=this.column.priority?this.row:this.column}get elm2(){return this.row.priority<this.column.priority?this.row:this.column}get clickable(){return super.clickable??this.elm1.clickable??this.elm2.clickable}get type(){return super.type??this.elm1.type??this.elm2.type??"g"}set type(t){this._type=t}get editorContent(){return super.editorContent??this.elm1.editorContent??this.elm2.editorContent??null}get adapter(){return super.adapter??this.elm1.adapter??this.elm2.adapter}set adapter(t){this._adapter=t}get address(){return this._address??(this._address=this.column.address+this.row.address)}get range(){return fv.fromA1(this.address)}get validation(){return super.validation??this.elm1.validation??this.elm2.validation??this.model.options.cellValidation}get editable(){return super.editable??this.elm1.editable??this.elm2.editable??this.model.options.editable}set editable(t){this._editable=t}get commentable(){return super.commentable??this.elm1.commentable??this.elm2.commentable??this.model.options.commentable}get renderer(){return super.renderer??this.elm1.renderer??this.elm2.renderer}get afterRenderer(){return super.afterRenderer??this.elm1.afterRenderer??this.elm2.afterRenderer??this.model.options.afterRenderer}get commentRenderer(){return super.commentRenderer??this.elm1.commentRenderer??this.elm2.commentRenderer??this.model.options.comments.renderer}get format(){return super.format??this.elm1.format??this.elm2.format}set format(t){super.format=t}get hyperlink(){return this._hyperlink}set hyperlink(t){this._hyperlink=t}get hasOwnFormula(){return!!this._formula}get hasFormula(){return null==this._hasFormula&&(this._hasFormula=!!this.formula),this._hasFormula}get formula(){return this._formula??this.elm1.formula??this.elm2.formula}set formula(t){super.formula=t,this.refreshFormula()}invalidateValue(){this.hasFormula?(this._value=void 0,this._evaluated=!1):this._evaluated=!0,this.clearError()}refreshFormula(){this.invalidateValue(),this._hasFormula=null}clearFormula(){this._formula=null,this._hasFormula=!1,this._evaluated=!0}constructor(t,e){super(t),this._evaluated=!0,this._sparkline=null,this._hasComment=null,this._hasStyle=null,this.row=t.rows[e.r],this.column=t.columns[e.c],this.populate(e)}populate(t){super.populate(t),this._colspan=t.cs??1,this._rowspan=t.rs??1,this._tooltip=t.tooltip,this._hyperlink=t.hl,null!=t.f&&""!==t.f?this._evaluated=!1:null!=t.v&&(this.value=t.v),this._displayValue=t.dv}update(t){const e=super.update(t);return"cs"in t&&(e.cs=this._colspan,this._colspan=t.cs),"rs"in t&&(e.rs=this._rowspan,this._rowspan=t.rs),"tooltip"in t&&(e.tooltip=this._tooltip,this._tooltip=t.tooltip),"hl"in t&&(e.hl=this._hyperlink,this._hyperlink=t.hl),"f"in t?this._evaluated=!1:"v"in t&&(e.v=this.value,this.value=t.v),"dv"in t&&(e.dv=this._displayValue,this._displayValue=t.dv),e}getSourceData(t){const e=super.getSourceData();return this._colspan>1&&(e.cs=this._colspan),this._rowspan>1&&(e.rs=this._rowspan),null!=this.value&&(e.v=this.value),this.hasTooltip&&(e.tooltip=this._tooltip),this._hyperlink&&(e.hl=this._hyperlink),t&&t.displayValue&&this.hasDisplayValue&&(e.dv=this._displayValue),e}createComposedStyle(t,e,i){const o=[];return t=t||this.column.style,e=e||this.row.style,null!=t&&null!=e?this.column.priority>this.row.priority?o.push(e,t):o.push(t,e):null!=t?o.push(t):null!=e&&o.push(e),null!=this.style&&o.push(this.style),null!=i&&o.push(i),o.length>0?this.model.styles.merge(...o):null}get composedStyle(){if(null===this._hasStyle){const t=this.createComposedStyle(null,null,this.model.conditionalFormats.evaluate(this));this._hasStyle=null!=t,this._composedStyle=t}return this._composedStyle}get calculatedIndent(){const t=this.composedStyle;return t?.alignment?.indent?t.alignment.indent:this.column.levelIndent&&this.row.level>0?this.row.level*this.model.options.levelIndentFactor:null}get cssStyle(){if(!1===this._hasStyle)return null;if(!this._cssStyle){const t=this.composedStyle;t&&(this._cssStyle=rw(t))}return this._cssStyle}invalidateStyle(){this._hasComment=null,this._hasStyle=null,this._composedStyle=null,this._cssStyle=null,this._sparkline=null}setStyleProperties(t){super.setStyleProperties(t),this.invalidateStyle()}removeStyleProperties(t){super.removeStyleProperties(t),this.invalidateStyle()}previewStyleProperties(t,e="cell"){const i=Object.assign({},this.createComposedStyle("column"==e?t:null,"row"==e?t:null)??{});if("cell"==e)for(const e in t)i[e]=t[e];this._hasStyle=!0,this._cssStyle=rw(i)}validate(){return!this.validation||qy(this,this.value)}toString(){return this.address}}const hw={property:"value",enabled:!0};class dw extends(vn(Zy)){get comparer(){return this._comparer}set comparer(t){this._comparer=t}get filter(){return this._filter??(this.model.options.filters?.enabled?hw:{enabled:!1})}set filter(t){this._filter=t}get hasFilter(){return this.filter.enabled}get sorting(){return this._sorting??this.model.options.columnSorting}set sorting(t){this._sorting=t}get width(){return this._width??this.model.options.columnWidth}set width(t){this._width=t}get levelIndent(){return this._levelIndent}set levelIndent(t){this._levelIndent=t}get levelButtons(){return this._levelButtons}set levelButtons(t){this._levelButtons=t}get priority(){return this._priority}set priority(t){this._priority=t}get address(){return yv(this.index)}get range(){return new fv(this.index,null,this.index,null)}get hasFormula(){return!!this._formula}get formula(){return this._formula}set formula(t){super.formula=t;const e=this.index;this.model.rows.forEach((t=>t.cells[e]?.refreshFormula()))}constructor(t,e){super(t,e),null==this._priority&&(this._priority=t.options.columnPriority)}get mergedHeaders(){return this._mergedHeaders??(this._mergedHeaders=this._header?.filter((t=>t.cs>1||t.rs>1))??[])}updateMergedHeaders(){this._mergedHeaders=null}set header(t){this._mergedHeaders=null,this._header=t}get header(){if(!this._header||this._header.length<this.model.headerCount){this._header=this._header??[];for(let t=this._header.length;t<this.model.headerCount;t++)this._header.push({r:t})}return this._header}convertSourceHeader(t){return Array.isArray(t)?t.map(((t,e)=>(null==(t=t??{r:e}).height&&(t.height=t.h),t.r=e,null==t.style&&(t.style=t.s),t._style=null==t.style?null:this.model.styles.add(t.style).id,t))):Q(t)?[{label:t,r:0}]:null}populate(t){super.populate(t),this._width=null==t.w||"auto"==t.w?null:t.w,this._levelIndent=t.levelIndent,this._levelButtons=t.levelButtons,this._header=this.convertSourceHeader(t.header),this._sorting=t.sorting,this._filter=Z(t.filter)?Object.assign({enabled:!0},t.filter):t.filter?hw:!1===t.filter?{enabled:!1}:null,this._comparer=t.comparer,this.data=t.data,this._mergedHeaders=null,null!=t.priority&&(this._priority=t.priority)}getSourceData(){const t=super.getSourceData();return null!=this._width&&(t.w=this._width),null!=this._levelIndent&&(t.levelIndent=this._levelIndent),null!=this._levelButtons&&(t.levelButtons=this._levelButtons),null!=this._header&&(t.header=this._header),null!=this._sorting&&(t.sorting=this._sorting),null!=this._filter&&(t.filter=this._filter),null!=this.data&&(t.data=this.data),t}expand(t){super.expand(t),this.model.indexVisibleColumns()}collapse(){super.collapse(),this.model.indexVisibleColumns()}get prev(){return this.model.columns[this.index-1]}get next(){return this.model.columns[this.index+1]}get prevVisible(){const t=this.model.visibleColumnIndex[this.index];return null==t||0===t?null:this.model.visibleColumns[t-1]}get nextVisible(){const t=this.model.visibleColumnIndex[this.index];return null==t?null:this.model.visibleColumns[t+1]}calculateRealColspan(t){let e=1,i=this.nextVisible;for(;i&&i.index-this.index<t&&e<t;)++e,i=i.nextVisible;return e}cell(t){return this.model.rows[t].cell(this.index)}clearCalculatedValues(){this.model.rows.forEach((t=>{const e=t.cells[this.index];e&&this.model.calculations.refreshFormula(e)}))}}var uw;!function(t){t[t.Asc=1]="Asc",t[t.Desc=-1]="Desc"}(uw||(uw={}));const pw={g:(t,e)=>t.value==e.value?0:t.value>e.value?1:-1,t:(t,e)=>(t.value||"").toString().localeCompare((e.value||"").toString()),s:(t,e)=>t.value==e.value?0:t.value>e.value?1:-1,m:(t,e)=>t.value==e.value?0:t.value>e.value?1:-1,n:(t,e)=>t.value-e.value,d:(t,e)=>(t.value instanceof Date?t.value.getTime():0)-(e.value instanceof Date?e.value.getTime():0),tm:(t,e)=>(t.value instanceof Date?t.value.getTime():0)-(e.value instanceof Date?e.value.getTime():0),dt:(t,e)=>(t.value instanceof Date?t.value.getTime():0)-(e.value instanceof Date?e.value.getTime():0),b:(t,e)=>t.value-e.value,h:(t,e)=>(t.value||"").localeCompare(e.value),a:()=>0},gw={g:(t,e)=>e.value==t.value?0:e.value>t.value?1:-1,t:(t,e)=>(e.value||"").toString().localeCompare((t.value||"").toString()),s:(t,e)=>e.value==t.value?0:e.value>t.value?1:-1,m:(t,e)=>e.value==t.value?0:e.value>t.value?1:-1,n:(t,e)=>e.value-t.value,d:(t,e)=>(e.value instanceof Date?e.value.getTime():0)-(t.value instanceof Date?t.value.getTime():0),tm:(t,e)=>(e.value instanceof Date?e.value.getTime():0)-(t.value instanceof Date?t.value.getTime():0),dt:(t,e)=>(e.value instanceof Date?e.value.getTime():0)-(t.value instanceof Date?t.value.getTime():0),b:(t,e)=>e.value-t.value,h:(t,e)=>(e.value||"").localeCompare(t.value),a:()=>0},mw=(t,e)=>t.origIndex-e.origIndex;class fw{get settings(){return this._settings}set settings(t){this._settings=t,this.colMap.clear(),this.settings.length>0&&(this.settings.forEach(((t,e)=>this.colMap.set(t.c,e))),this.applySort(),gn().info(`sorting applied: ${JSON.stringify(this.settings)}`))}constructor(t,e=[]){this.model=t,this.colMap=new Map,this._settings=[],this.settings=e}get(t){return this.colMap.has(t)?this.settings[this.colMap.get(t)]:null}sort(t,e=null,i=!1){let o=this.get(t);return o&&o.ord==uw.Desc&&null===e?(this.settings.splice(this.colMap.get(t),1),o=null):o?(o.ord=uw.Desc,this.settings.splice(this.colMap.get(t),1)):o={c:t,ord:uw.Asc},o&&(null!==e&&(o.ord=e),this.colMap.set(t,0),this.settings.unshift(o)),this.settings.length>this.model.options.maxSortingColumns&&this.settings.pop(),this.colMap.clear(),this.settings.forEach(((t,e)=>{t.index=e,this.colMap.set(t.c,e)})),i||(this.settings.length>0?this.applySort():this.resetSort()),o}applySort(){const t=this.model,e=this.settings.map((e=>{const i=t.columns[e.c];return i?i.comparer?e.ord==uw.Asc?i.comparer:(t,e)=>-i.comparer(t,e):e.ord==uw.Asc?pw[i.type??"t"]:gw[i.type??"t"]:(gn().warn(`Column sorting: Column with index ${e.c} not found`),null)})).filter((t=>t)),i=e.length;let o,n,r;t.rowRoot.sort(((t,s)=>{if(!1===t.sortable||!1===s.sortable)return t.origIndex-s.origIndex;for(n=0;n<i;n++)if(r=this.settings[n].c,o=e[n](t.cell(r),s.cell(r)),0!=o)return o;return 0})),t.indexRowsByTree()}resetSort(){this.settings=[],this.colMap.clear(),this.model.rowRoot.sort(mw),this.model.indexRowsByTree()}persistSort(){this.model.rows.forEach(((t,e)=>t.origIndex=e))}}class vw{get properties(){return this._properties}set properties(t){this._properties=t}constructor(t){t&&this.pupulate(t)}pupulate(t){this.author=t.author,this.text=t.text,this.date=t.date?new Date(t.date):null,this.data=t.data,this.readOnly=!!t.readOnly,this._properties=t.props}getSourceData(){const t={};return this._properties&&(t.props=this._properties),this.author&&(t.author=this.author),this.text&&(t.text=this.text),this.data&&(t.data=this.data),null!==this.readOnly&&(t.readOnly=this.readOnly),this.date&&(t.date=$o("en-US")(this.date,"yyyy-MM-dd HH:mm:ss")),t}}class bw{constructor(t,e){this.model=t,this._commentMap=new Map,this.has=t=>this._commentMap.has(t),this.delete=t=>this._commentMap.delete(t),this.cleanCell=t=>{this.has(t)&&this._commentMap.set(t,this.get(t).filter((t=>(t.text??"").length>0||null!=t.data)))},this.get=t=>(this.has(t)||this._commentMap.set(t,[]),this._commentMap.get(t)),this.set=(t,e)=>{this._commentMap.set(t,e?.map((t=>t instanceof vw?t:new vw(t)))||[]),this.cleanCell(t)},e&&this.populate(e)}populate(t){t.forEach((t=>{const e=t.a1||new fv(t.c,t.r).A1;this._commentMap.has(e)||this._commentMap.set(e,[]),this._commentMap.get(e).push(new vw(t))})),this._commentMap.forEach((t=>{t.sort(((t,e)=>(e.date?e.date.getTime():0)-(t.date?t.date.getTime():0)))}))}shift(t){Array.from(this._commentMap.keys()).forEach((e=>{const i=fv.fromA1(e);i.shift(t),i.A1!=e&&(this._commentMap.set(i.A1,this._commentMap.get(e)),this._commentMap.delete(e))}))}}function yw(t,e,i){t.forEach((t=>t.forEach((t=>{t[1]==e&&(t[1]=i)}))))}class ww{get cellDependencies(){return this._cellDependencies}get cellDependants(){return this._cellDependants}get rangeDependencies(){return this._rangeDependencies}get rangeDependants(){return this._rangeDependants}get sheetDependencies(){return this._sheetDependencies}get sheetDependants(){return this._sheetDependants}constructor(t,e="calculations"){this.model=t,this.modelPart=e,this._cellDependencies=new Map,this._cellDependants=new Map,this._rangeDependencies=new Map,this._rangeDependants=new Map,this._sheetDependencies=new Map,this._sheetDependants=new Map}clear(){this._cellDependants.clear(),this._cellDependencies.clear(),this._rangeDependencies.clear(),this._rangeDependants.clear()}clearCellDependecies(t){return this._cellDependencies.has(t)&&this._cellDependencies.delete(t),this._rangeDependencies.has(t)&&this._rangeDependants.delete(t),this}has(t){return this._cellDependencies.has(t)||this._rangeDependencies.has(t)}add(t,e,i){const o=fv.fromA1(t).removeAnchors(),n=fv.fromA1(e).removeAnchors();e=n.A1;const r=n.isRange,s=r?this._rangeDependencies:this._cellDependencies;let a=null;if((s.has(t)?s.get(t):s.set(t,new Map).get(t)).set(e,[n,i]),i){const t=this.model.getConnectedModel(i);t&&(t.calculations.dependencies.sheetDependants.set(this.model.name,this.model.name),this.sheetDependencies.set(i,i),a=r?t.calculations.dependencies.rangeDependants:t.calculations.dependencies.cellDependants),i=this.model.name}else a=r?this._rangeDependants:this._cellDependants;a&&(a.has(e)||a.set(e,new Map),a.get(e).set(t,[o,i]))}getDependants(t,e=null){let i,o;const n=t.A1;return e=e??new Map,this._cellDependants.has(n)&&this._cellDependants.get(n).forEach((([t,r])=>{e.has(t)||(r&&(o=this.model.getConnectedModel(r)),i=o||this.model,e.set(t,[i.getCellByRange(t),r]),o?o[this.modelPart].dependencies.getDependants(t).forEach(((t,i)=>{e.set(i,[t[0],t[1]??r])})):(t.A1!=n||o)&&i.calculations.dependencies.getDependants(t,e))})),this._rangeDependants.forEach(((i,o)=>{fv.fromA1(o).contains(t)&&i.forEach((([t,i])=>{e.has(t)||(e.delete(t),this.getDependants(t,e.set(t,[(i?this.model.getConnectedModel(i):this.model).getCellByRange(t),i])))}))})),e}renameSheet(t,e){this._sheetDependants.has(t)&&(this._sheetDependants.delete(t),this._sheetDependants.set(e,e)),this._sheetDependencies.has(t)&&(this._sheetDependencies.delete(t),this._sheetDependencies.set(e,e)),yw(this._cellDependants,t,e),yw(this._cellDependencies,t,e),yw(this._rangeDependants,t,e),yw(this._rangeDependencies,t,e)}}class xw{get dependencies(){return this._dependencies}constructor(t,e){this.model=t,this._dependencies=new ww(t,e)}}function kw(t){return t instanceof RangeError?"Maximum call stack size exceeded"==t.message?"infinite loop":t.message:t.toString()}class Cw extends xw{get tokenizer(){return this._tokenizer}get formulas(){return this._formulas}constructor(t){super(t,"calculations"),this._tokenizer=new pv,this._formulas=new Map,this.context=new Fy(t)}createFormula(t){const e=new Av(t.formula,this.tokenizer);return this._formulas.set(t.address,e),t.hasOwnFormula&&(t.formula=e.createFormulaString()),this.createDependecies(t),e}createDependecies(t){const e=t.address;if(this.formulas.has(e)){const i=this.formulas.get(e);i.ranges.forEach((([t,i,o])=>this._dependencies.add(e,i.A1,o))),i.cells.forEach((([t,i,o])=>this._dependencies.add(e,i.A1,o))),i.variables.forEach((([i,o])=>{const n=this.model.getCellByName(o,t.range);n&&this._dependencies.add(e,n.address,null)}))}return this}refreshFormula(t){return t.refreshFormula(),this.formulas.delete(t.address),this.clearDependecies(t),this}updateDependencies(t){return this.clearDependecies(t).getFormula(t),this}getFormula(t){return this._formulas.has(t.address)?this._formulas.get(t.address):this.createFormula(t)}refresh(){this.dependencies.clear(),this._formulas.clear()}clearDependecies(t){const e=t.address;return this.dependencies.clearCellDependecies(e),this.formulas.delete(e),this}evaluateFormula(t,e){return this.context.currentCell=e,t.fn(this.context,{cell:e,formula:t})}evaluateExpression(t,e){this.context.currentCell=e;const i=new Av(t,this.tokenizer);return i.fn(this.context,{cell:e,formula:i})}evaluate(t,e){if(!t)return null;let i=null;if(t.hasFormula){const o=this.getFormula(t);try{t.clearError(),this.context.currentCell=t,i=o.fn(this.context,{cell:t,formula:o}),Array.isArray(i)?(e||this.model.spillValues({cell:t,values:i}).range,i=i.length>0&&i[0].length>0?i[0][0]:null,e&&(t.value=i)):t.value=i}catch(e){t.error={message:kw(e)}}}else i=t.value;return i}evaluateAll(){this.model.rows.forEach((t=>this.model.columns.forEach(((e,i)=>t.cell(i).evaluate()))))}calculateViewport(t){const e=[];return t.rows.forEach((t=>t.cells.forEach((t=>{if(t.hasFormula){if(!t.hasValue&&(this.evaluate(t),t.spillRange))for(const i of this.model.getRangeIterator(t.spillRange))e.push(i);e.push(t)}})))),e}shift(t){this.getFormulaCells().forEach((e=>{e.formula=this.getFormula(e).shift(t).createFormulaString(!1),this.updateDependencies(e)}));const e=this.model.name;return this.dependencies.sheetDependants.forEach((i=>{const o=this.model.getConnectedModel(i);o?.calculations.getFormulaCells().forEach((i=>{const n=o.calculations.getFormula(i);n.hasSheetReference(e)&&(i.formula=n.shift(t).createFormulaString(!1),o.calculations.updateDependencies(i))}))})),this}getFormulaCells(){const t=this.model,e=[];let i;const o=t.rows.length,n=t.columns.length;for(let r=0;r<o;r++){i=t.rows[r];for(let t=0;t<n;t++)i.hasCellFormula(t)&&e.push(i.cell(t))}return e}renameSheet(t,e){let i=!1;return this.dependencies.renameSheet(t,e),this.getFormulaCells().forEach((o=>{const n=this.getFormula(o);n.renameSheet(t,e)&&(o.formula=n.createFormulaString(),this.refreshFormula(o),i=!0)})),i}invalidateCellDependants(t){const e=[];return this.dependencies.getDependants(t.range).forEach((([t,i])=>{e.push([t,i]),t.invalidateValue()})),e}invalidateDependants(t){const e=new Map,i=new Map;for(const i of t)this.invalidateCellDependants(i).forEach((([t,i])=>e.set(t,i)));e.forEach(((t,e)=>i.set(e,t)));for(const i of t)e.set(i,null);return e.forEach(((t,e)=>{this.model.sparklines.dependencies.getDependants(e.range).forEach((([t,e])=>{i.set(t,e)})),this.model.conditionalFormats.dependencies.getDependants(e.range).forEach((([t,e])=>{this.model.conditionalFormats.invalidateExtremes(t),t.invalidateStyle(),i.set(t,e)}))})),i}}const Mw="#ff0000",_w="#fcd53f",Sw="#00bb5e",Ew="#555555",zw=new Map([["3Arrows",[{icon:["fas","down"],color:Mw},{icon:["fas","right"],color:_w},{icon:["fas","up"],color:Sw}]],["3ArrowsGray",[{icon:["fas","down"],color:Ew},{icon:["fas","right"],color:Ew},{icon:["fas","up"],color:Ew}]],["3Flags",[{icon:["fas","flag-pennant"],color:Mw},{icon:["fas","flag-pennant"],color:_w},{icon:["fas","flag-pennant"],color:Sw}]],["3TrafficLights1",[{icon:["fas","circle"],color:Mw},{icon:["fas","circle"],color:_w},{icon:["fas","circle"],color:Sw}]],["3TrafficLights2",[{icon:["fas","square-o"],color:Mw},{icon:["fas","square-o"],color:_w},{icon:["fas","square-o"],color:Sw}]],["3Signs",[{icon:["fas","square"],rotation:45,color:Mw},{icon:["fas","triangle"],color:_w},{icon:["fas","circle"],color:Sw}]],["3Symbols",[{icon:["fas","circle-xmark"],color:Mw},{icon:["fas","circle-exclamation"],color:_w},{icon:["fas","circle-check"],color:Sw}]],["3Symbols2",[{icon:["fas","xmark"],color:Mw},{icon:["fas","exclamation"],color:_w},{icon:["fas","check"],color:Sw}]],["3Stars",[{icon:["fal","star"],color:_w},{icon:["fas","star-half-stroke"],color:_w},{icon:["fas","star"],color:_w}]],["3Triangles",[{icon:"caret-down",color:Mw},{icon:"dash",color:_w},{icon:"caret-up",color:Sw}]],["4Arrows",[{icon:["fas","down"],color:Mw},{icon:["fas","down-right"],color:_w},{icon:["fas","up-right"],color:_w},{icon:["fas","up"],color:Sw}]],["4ArrowsGray",[{icon:["fas","down"],color:Ew},{icon:["fas","down-right"],color:Ew},{icon:["fas","up-right"],color:Ew},{icon:["fas","up"],color:Ew}]],["4RedToBlack",[{icon:["fas","circle"],color:"#000000"},{icon:["fas","circle"],color:"#b1b1b1"},{icon:["fas","circle"],color:"#edb2a3"},{icon:["fas","circle"],color:Mw}]],["4Rating",[{icon:"signal-bars-weak",color:"#4a7db1"},{icon:"signal-bars-fair",color:"#4a7db1"},{icon:"signal-bars-good",color:"#4a7db1"},{icon:["fas","signal-bars"],color:"#4a7db1"}]],["4TrafficLights",[{icon:["fas","circle"],color:"#000000"},{icon:["fas","circle"],color:Mw},{icon:["fas","circle"],color:_w},{icon:["fas","circle"],color:Sw}]],["5Arrows",[{icon:["fas","down"],color:Mw},{icon:["fas","down-right"],color:_w},{icon:["fas","right"],color:_w},{icon:["fas","up-right"],color:_w},{icon:["fas","up"],color:Sw}]],["5ArrowsGray",[{icon:["fas","down"],color:Ew},{icon:["fas","down-right"],color:Ew},{icon:["fas","right"],color:Ew},{icon:["fas","up-right"],color:Ew},{icon:["fas","up"],color:Ew}]],["5Rating",[{icon:["fal","signal-bars"]},{icon:["fal","signal-bars-weak"],color:"#4a7db1"},{icon:["fal","signal-bars-fair"],color:"#4a7db1"},{icon:["fal","signal-bars-good"],color:"#4a7db1"},{icon:["fas","signal-bars"],color:"#4a7db1"}]],["5Quarters",[{icon:["fal","circle"],color:"#505050"},{icon:["fas","circle-quarter-stroke"],color:"#505050"},{icon:["fas","circle-half-stroke"],color:"#505050"},{icon:["fas","circle-three-quarters-stroke"],color:"#505050"},{icon:["fas","circle"],color:"#505050"}]]]),Rw=(t,e)=>{const i=zw.get(t);return i?i[e]:null};class Lw extends xw{constructor(t,e){super(t,"conditionalFormats"),this.formats=[],this.cellFormatMap=new Map,this.extremes=new Map,e&&this.populate(e)}populate(t){t.forEach((t=>{try{this.add(t)}catch(e){gn().error(`conditional format error: ${JSON.stringify(t)}`,e)}}))}refresh(){this.dependencies.clear(),this.cellFormatMap.clear(),this.extremes.clear(),this.formats.forEach((t=>this.initConditionalFormat(t)))}clearCellDependecies(t){const e=t.address;return this.dependencies.clearCellDependecies(e),this.cellFormatMap.get(e).forEach((t=>({cf:t.cf}))),this}getExtremes(t){if(this.extremes.has(t.key))return this.extremes.get(t.key);const e=[1/0,-1/0];return t.ranges.forEach((t=>{for(const i of this.model.getValuesInRange(t))for(const t of i)null!=t&&(isNaN(t)||(e[0]=Math.min(e[0],t),e[1]=Math.max(e[1],t)))})),t.cmin&&("num"==t.cmin.t?e[0]=t.cmin.v:"percent"==t.cmin.t&&(e[0]=e[0]+(e[1]-e[0])*t.cmin.v/100)),t.cmax&&("num"==t.cmax.t?e[1]=t.cmax.v:"percent"==t.cmax.t&&(e[1]=e[0]+(e[1]-e[0])*t.cmax.v/100)),this.extremes.set(t.key,e),e}invalidateExtremes(t){this.cellFormatMap.get(t.address).forEach((t=>this.extremes.delete(t.cf.key)))}evaluateScaleFormat(t,e){const i=t.value;if(null==i)return null;const[o,n]=this.getExtremes(e.cf);let r;const s=(i-o)/(n-o);if(e.cf.cmid?.color)r=.5==s?"#"+e.cf.cmid.color:s>.5?_n("#"+e.cf.cmid.color,"#"+e.cf.cmax.color,2*(s-.5)):_n("#"+e.cf.cmin.color,"#"+e.cf.cmid.color,2*s);else{if(!e.cf.cmin?.color||!e.cf.cmax?.color)return null;r=_n("#"+e.cf.cmin.color,"#"+e.cf.cmax.color,s)}return{color:Sn(r).substring(1),fgColor:r.substring(1)}}evaluateBarFormat(t,e){const i=t.value;if(null==i)return null;const o=this.getExtremes(e.cf);let n=o[0];const r=o[1],s=n<0;s||(n-=.1*(r-n));const a=Math.round(100*(i-n)/(r-n));e.initialized||(e.initialized=!0,e.cf.ranges.forEach((e=>this._dependencies.add(t.address,e.A1,null))));const l=[];if(s){const t=Math.round(-100*n/(r-n));i>=0?(l.push(`#00000000 ${t}%`),l.push(`#${e.cf.color} ${t}%`),l.push(`#${e.cf.color} ${a}%`),l.push(`#00000000 ${a}%`)):(l.push(`#00000000 ${a}%`),l.push(`#ff0000 ${a}%`),l.push(`#ff0000 ${t}%`),l.push(`#00000000 ${t}%`))}else l.push(`#${e.cf.color} ${a}%`),l.push(`#00000000 ${a}%`);return{cssStyle:{backgroundClip:"padding-box",backgroundImage:`linear-gradient(90deg, ${l.join(",")})`}}}evaluateFormulaFormat(t,e){if(!e.initialized&&e.cf.condition){e.initialized=!0;const i=t.address,o=new Av(e.cf.condition,this.model.calculations.tokenizer);e.f=o.shift({index:0,offset:t.c-e.cf.firstCell.c1,direction:"right"}).shift({index:0,offset:t.r-e.cf.firstCell.r1,direction:"down"}),o.cells.forEach((t=>this._dependencies.add(i,t[1].A1,t[2]))),o.ranges.forEach((t=>this._dependencies.add(i,t[1].A1,t[2]))),o.variables.forEach((([e,o])=>{const n=this.model.getCellByName(o,t.range);n&&this._dependencies.add(i,n.address,null)}))}if(e.f&&!this.model.calculations.evaluateFormula(e.f,t))return null;const i={...e.cf.style};return i.color||En(Sn(zn(e.cf.style.fgColor))),i}evaluateIconFormat(t,e){const i=t.value;if(null==i)return null;const[o,n]=this.getExtremes(e.cf);let r;for(let t=e.cf.thresh.length-1;t>=0;t--){const s=e.cf.thresh[t];if("percent"===s.t){if(null==r&&(r=100*(i-o)/(n-o)),r>=s.v)return{icon:Rw(e.cf.v,t)}}else if("num"===s.t&&i>=s.v)return{icon:Rw(e.cf.v,t)}}return null}evaluate(t){const e=t.address,i=this.cellFormatMap.get(e);if(!i)return null;let o=null,n=null;for(const e of i){try{switch(e.cf.type){case"formula":n=this.evaluateFormulaFormat(t,e);break;case"scale":n=this.evaluateScaleFormat(t,e);break;case"bar":n=this.evaluateBarFormat(t,e);break;case"icon":n=this.evaluateIconFormat(t,e);break;default:n=null}}catch(t){gn().error(`Conditional format error: ${JSON.stringify(e)}`,t)}if(n&&(o=o?{...o,...n}:n,e.cf.stop))break}return o}initConditionalFormat(t){return t.firstCell=null,t.ranges.forEach((e=>{for(const i of new jw(e.intersect(this.model.gridRange))){const e=i.A1;"formula"===t.type&&(t.firstCell||(t.firstCell=i,t.formula=t.condition?new Av(t.condition,this.model.calculations.tokenizer):null)),(this.cellFormatMap.get(e)||this.cellFormatMap.set(e,[]).get(e)).push({cf:t})}})),t}add(t){const e={key:t.ranges,ranges:fv.fromA1s(t.ranges),type:t.type||"formula",firstCell:null,formula:null,style:t.style?this.model.styles.add(t.style):null,condition:t.condition,stop:!!t.stop,cmin:t.cmin,cmid:t.cmid,cmax:t.cmax,color:t.color,v:t.v,thresh:t.thresh};this.formats.push(this.initConditionalFormat(e))}getSourceData(){return this.formats.map((t=>({type:t.type,ranges:fv.toA1s(t.ranges),style:t.style,condition:t.condition,stop:t.stop,cmin:t.cmin,cmid:t.cmid,cmax:t.cmax,color:t.color,v:t.v,thresh:t.thresh})))}}const Iw=(t,e)=>{const i=new RegExp(`${ut(t)}`,"ig");return t=>(i.lastIndex=0,i.test(ct((t[e]??"").toString())))},Hw=(t,e)=>i=>!!i[e]===t,Tw=(t,e)=>{const i=t.map((t=>t.key?.toString()));return t=>null!=t[e]&&i.includes(t[e].toString())},Aw=(t,e)=>t=>!1,Ow=(t,e,i)=>(i=i??"value","b"===t?Hw(e,i):"s"===t&&Array.isArray(e)?Tw(e,"value"):"s"===t?Iw(e?.toString(),"formattedValue"):"m"===t&&Array.isArray(e)?Aw(e,i):Iw(e?.toString(),"d"===t?"formattedValue":i));class $w extends Event{constructor(){super("filter",{bubbles:!1,cancelable:!0,composed:!0})}}class Dw extends EventTarget{constructor(t){super(),this.model=t,this.settings=new Map,this.custom=!1}get(t){return this.settings.has(t)?this.settings.get(t):null}filter(t,e=!0){null===t.term||""===t.term?this.settings.delete(t.c):this.settings.set(t.c,t),this.custom||(this.settings.size>0?this.applyFilter(!1):this.resetFilter(!1)),e&&this.dispatchEvent(new $w)}applyFilter(t=!0){const e=[];this.settings.forEach(((t,i)=>{const o=this.model.columns[i];e.push({c:i,matcher:Ow(o.type,t.term,o.filter?.property)})}));const i=e.length,o=this.model.options.filters?.includeParents??!0,n=this.model.options.filters?.includeChildren??!0,r=new Set;this.model.rows.forEach((t=>{const s=r.has(t.index);(t=>{if(!t.filterable)return!0;for(let o=0;o<i;o++)if(!e[o].matcher(t.cell(e[o].c)))return!1;return!0})(t)?(t.filterState=mn.Matched,o&&t.walkUp((t=>{if(r.has(t.index)&&t.filterState>0)return!1;t.filterState=mn.ChildMatched,r.add(t.index)})),n&&t.walk((t=>{if(r.has(t.index)&&t.filterState>0)return!1;t.filterState=mn.ParentMatched,r.add(t.index)}))):s||(t.filterState=mn.Filtered),r.add(t.index)})),this.model.indexRows(),t&&this.dispatchEvent(new $w)}resetFilter(t=!0){this.settings.clear(),this.model.rows.forEach((t=>t.filterState=mn.Matched)),this.model.indexRows(),t&&this.dispatchEvent(new $w)}}class Nw extends xw{constructor(t,e){super(t,"sparklines"),this.model=t,this.map=new Map,this.groups=new Map,this.extremes=new Map,this.maxIndex=0,this.updateRangeMap=!1,this.populate(e)}populate(t){t?.forEach((t=>{try{this.add(fv.fromA1(t.location),Array.isArray(t.data)?t.data.map((t=>[fv.fromA1(t)])):t.data.split(",").map((t=>[fv.fromA1(t)])),ot({},Zf.DEFAULT_SPARKLINE_OPTIONS,t.options))}catch(e){this.model.logger.error(`sparkline error: ${JSON.stringify(t)}`,e)}}))}getSourceData(){const t=[];return this.groups.forEach((e=>{t.push({location:e.locRange.A1,data:e.dataRanges.map((t=>t[0].A1)).join(","),options:{minValue:e.minValue,maxValue:e.maxValue,type:e.type,style:e.style,marker:e.marker}})})),t}has(t){return this.map.has(t)}get(t){return this.map.get(t)}createDependencies(t){this.map.get(t)[1].forEach((e=>this._dependencies.add(t,e[0].A1,e[1])))}updateRangeMaps(){this.dependencies.clear(),this.map.clear(),this.groups.forEach(((t,e)=>this.createRangeMap(e,t.locRange,t.dataRanges)))}getValues(t){this.updateRangeMap&&this.updateRangeMaps();const e=this.map.get(t),i=e[1][0][1]?this.model.getConnectedModel(e[1][0][1]):this.model;return this._dependencies.has(t)||this.createDependencies(t),e[1].flatMap((t=>i.getValuesInRange(t[0])[0]))}getExtremes(t){const e=this.map.get(t),i=e[1][0][1]?this.model.getConnectedModel(e[1][0][1]):this.model,o=this.groups.get(e[0]);let n,r,s,a;return null==o.minValue||Q(o.minValue)?"auto"==(o.minValue||"auto")?(n=n??lt(...e[1].map((t=>i.getValuesInRange(t[0])))),s=n[0]):(this.extremes.has(e[0])||this.extremes.set(e[0],lt(...o.dataRanges.map((t=>i.getValuesInRange(t[0]))))),r=this.extremes.get(e[0]),s=r[0]):s=o.minValue,null==o.maxValue||Q(o.maxValue)?"auto"==(o.maxValue||"auto")?(n=n??lt(...e[1].map((t=>i.getValuesInRange(t[0])))),a=n[1]):(this.extremes.has(e[0])||this.extremes.set(e[0],lt(...o.dataRanges.map((t=>i.getValuesInRange(t[0]))))),r=this.extremes.get(e[0]),a=r[1]):a=o.maxValue,[s,a]}createRangeMap(t,e,i){e=e.intersect(this.model.gridRange);const o=i[0][0].size,n=e.size;if(n.columns>1&&n.rows>1)return void this.model.logger?.error(`invalid sparkline location range: ${e.A1}`);let r=!1;if(r=1==n.columns&&1==n.rows?o.rows>1:n.columns>1,r)for(let o=e.c1;o<=e.c2;o++)this.map.set(new fv(o,e.r1).A1,[t,i.map((([t,i])=>[new fv(t.c1+o-e.c1,t.r1,t.c1+o-e.c1,t.r2),i]))]);else for(let o=e.r1;o<=e.r2;o++)this.map.set(new fv(e.c1,o).A1,[t,i.map((([t,i])=>[new fv(t.c1,t.r1+o-e.r1,t.c2,t.r1+o-e.r1),i]))])}add(t,e,i){const o=++this.maxIndex;t&&e&&this.createRangeMap(o,t,e),this.groups.set(o,Object.assign({dataRanges:e,locRange:t},JSON.parse(JSON.stringify(Zf.DEFAULT_SPARKLINE_OPTIONS)),i))}update(t,e,i,o){const n=this.groups.get(t);Object.assign(n,{dataRanges:i,locRange:e},o),this.updateRangeMap=!0}delete(t){this.groups.delete(t),this.updateRangeMap=!0}shift(t){this.groups.forEach((e=>{e.dataRanges.forEach((([e])=>e.shift(t))),e.locRange.shift(t)})),this.updateRangeMaps()}}class Pw extends fv{constructor(t,e,i=!1){super(e.c1,e.r1,e.c2,e.r2),this.model=t,this.initializedOnly=i,this.r=0,this.c=-1,this.done=!1}[Symbol.iterator](){return this}nextInitialized(){let t;for(;!this.done&&!t;)this.c<this.size.columns-1?this.c++:this.r<this.size.rows-1&&(this.c=0,this.r++),t=this.model.rows[this.r].cells[this.c],this.done=this.c>=this.size.columns-1&&this.r>=this.size.rows-1;return t}next(){if(this.done)return{done:!0};this.c<this.size.columns-1?this.c++:this.r<this.size.rows-1&&(this.c=0,this.r++),this.done=this.c>=this.size.columns-1&&this.r>=this.size.rows-1;const t=this.model.rows[this.r+this.r1],e=this.c+this.c1,i=this.initializedOnly&&!t.isCellInitialized(e)?this.nextInitialized():t?.cell(e);return i?{done:!1,value:i}:{done:!0}}forEach(t){let e;for(;e=this.next().value;)t(e)}}class jw extends fv{constructor(t){super(t.c1,t.r1,t.c2,t.r2),this.r=0,this.c=-1,this.done=!1}[Symbol.iterator](){return this}next(){return this.done?{done:!0}:(this.c<this.size.columns-1?this.c++:this.r<this.size.rows-1&&(this.c=0,this.r++),this.done=this.c==this.size.columns-1&&this.r==this.size.rows-1,{done:!1,value:new fv(this.c+this.c1,this.r+this.r1)})}}class Vw extends fv{constructor(t,e,i){super(e.c1,e.r1,e.c2,e.r2),this.model=t,this.i=0,this.done=!1,this.axis=i,this.key="rows"===i?"r1":"c1"}[Symbol.iterator](){return this}next(){if(this.done)return{done:!0};this.i<this.size[this.axis]-1&&this.i++,this.done=this.i>=this.size[this.axis]-1;const t=this.model[this.axis][this.i+this[this.key]];return t?{done:!1,value:t}:{done:!0}}forEach(t){let e;for(;e=this.next().value;)t(e)}}class Bw{constructor(t,e){this.model=t,this.names=new Map,this.rangeMap=new Map,e&&this.populate(e)}populate(t){t.forEach((({name:t,ref:e})=>this.set(t,Z(e)?fv.fromCoords(e):fv.fromA1(e))))}set(t,e){this.names.set(t,e),this.rangeMap.set(e.A1,t)}delete(t){const e=this.names.get(t);e&&(this.rangeMap.delete(e.A1),this.names.delete(t))}findCellByName(t){let e;const i=this.model.rows,o=this.model.columns.length;for(let n=0;n<i.length;n++){e=i[n];for(let i=0;i<o;i++)if(e.hasCellName(i)){const o=e.cell(i);if(o.name==t)return o.range}}return null}getCellByName(t,e){const i=this.names.get(t)??this.findCellByName(t);return i?i.isColumn?this.model.rows.length>e.r1?this.model.columns[i.c1].cell(e.r1):null:i.isRow?this.model.columns.length>e.c1?this.model.rows[i.r1].cell(e.c1):null:this.model.rows[i.r1].cell(i.c1):null}getRangeByName(t,e=!0){const i=this.names.get(t);return e?i?.intersect(this.model.gridRange):i}shift(t){this.names.forEach(((e,i)=>{const o=e.A1;e.shift(t);const n=e.A1;o!=n&&(this.rangeMap.delete(o),this.rangeMap.set(n,i))}))}}function Fw(t,e=null){const i=ot({},Zf.DEFAULT_OPTIONS,e,Fn(t,e));return i.numberFormat?i.numberFormatter=Jo(i.formatLocale,i.numberFormat):i.numberFormatter||(i.numberFormatter=Jo(i.formatLocale)),i.dateFormat?i.dateFormatter=$o(i.formatLocale,i.dateFormat):i.dateFormatter||(i.dateFormatter=$o(i.formatLocale)),i.columnSorting&&(i.sorting=i.sorting||{enabled:!0}),"boolean"==typeof i.filters&&(i.filters={enabled:i.filters}),i.filters=Object.assign({},Yf,i.filters),"boolean"==typeof i.rowTree&&(i.rowTree={enabled:i.rowTree}),i.rowTree=Object.assign({},qf,i.rowTree),"boolean"==typeof i.columnTree&&(i.columnTree={enabled:i.columnTree}),i.columnTree=Object.assign({},qf,i.columnTree),i.cellValidation&&(i.cellValidation=Yy(i.cellValidation)),i}class Ww extends(vn(Zy)){get cells(){return this._cells}get data(){return this._data}set data(t){this._data=t}get height(){return this._height??this.model.options.rowHeight}set height(t){this._height=t}get priority(){return this._priority}set priority(t){this._priority=t}get address(){return vv(this.index)}get range(){return new fv(null,this.index,null,this.index)}get hasFormula(){return!!this._formula}get formula(){return this._formula}set formula(t){super.formula=t,this.model.columns.forEach((t=>this.cell(t.index).refreshFormula()))}get values(){return this.model.columns.map((t=>this.cell(t.index).value))}cell(t,e){if(this.model.options.singleCellModel)return this._singleCell||(this._singleCell=new cw(this.model,{c:t,r:this.index})),this._singleCell.row=this,this._singleCell.column=this.model.columns[t],this._singleCell;let i=this._cells[t];if((e||!i)&&this.model.columns[t]){if(i=new cw(this.model,e??{c:t,r:this.index}),this._data){const e=this.model.columns[t].data;null!=e&&(Z(this._data[e])?i.populate(this._data[e]):i.hasValue||(i.value=this._data[e]))}i.name&&this.model.names.set(i.name,i.range),this._cells[t]=i}return i}constructor(t,e){super(t,e),this.isCellInitialized=t=>!!this.cells[t],this._cells=[],null==this._priority&&(this._priority=t.options.rowPriority)}populate(t){super.populate(t),this._height=null==t.h||"auto"==t.h?this.model.options.rowHeight:t.h,t.data&&(Array.isArray(t.data)?this._data=[...t.data]:this._data={...t.data}),null!=t.priority&&(this._priority=t.priority)}getSourceData(){const t=super.getSourceData();return null!=this._height&&this._height!=this.model.options.rowHeight&&(t.h=this._height),t}expand(t){super.expand(t),this.model.indexVisibleRows()}collapse(){super.collapse(),this.model.indexVisibleRows()}get prev(){return this.model.rows[this.index-1]}get next(){return this.model.rows[this.index+1]}get prevVisible(){let t=this.prev;for(;t&&!t.visible;)t=t.prev;return t}get nextVisible(){let t=this.next;for(;t&&!t.visible;)t=t.next;return t}hasCellFormula(t){return this.cells[t]&&this.cells[t].hasFormula||this._data&&this._data[this.model.columns[t].data]&&this._data[this.model.columns[t].data].f}hasCellName(t){return this.cells[t]&&null!=this.cells[t].name||this._data&&this._data[this.model.columns[t].data]&&null!=this._data[this.model.columns[t].data].name}insertColumns(t,e,i=!1){let o;const n=this.model.columns.length,r=this.model.calculations;if(i)for(let i=0;i<n;i++)this.hasCellFormula(i)&&(o=this.cell(i),o.formula=r.getFormula(o).shift({index:t,offset:e,direction:"right"}).createFormulaString(!1));t<this.cells.length&&this.cells.splice(t,0,...Array(e).fill(null))}deleteColumns(t,e,i=!1){let o;const n=this.model.columns.length,r=this.model.calculations;if(i)for(let i=0;i<n;i++)this.hasCellFormula(i)&&(o=this.cell(i),o.formula=r.getFormula(o).shift({index:t,offset:e,direction:"left"}).createFormulaString(!1));return t<this.cells.length?this.cells.splice(t,e):null}clearCalculatedValues(){this.cells.forEach((t=>t&&this.model.calculations.refreshFormula(t)))}}var Uw=i(4418),Gw=i.n(Uw);const Yw=t=>t?"1":"0",qw=t=>null==t?"_":t,Zw=t=>null==t?"_":t.toString(),Xw=t=>null==t?"_":JSON.stringify(t),Qw=t=>qw(t&&t.color?t.color:"_")+qw(t&&t.style?t.style:"_"),Kw=t=>qw(t?t.horizontal:null)+qw(t?t.vertical:null)+qw(t?t.horizontal:null)+Zw(t?t.indent:null)+Yw(t?t.wrapText:null)+Zw(t?t.textRotation:null),Jw=t=>Gw()("s_"+Yw(t.bold)+Yw(t.italic)+Yw(t.underline)+Zw(t.sz)+qw(t.font)+qw(t.color)+Qw(t.top)+Qw(t.right)+Qw(t.bottom)+Qw(t.left)+qw(t.patternType)+qw(t.fgColor)+qw(t.bgColor)+Kw(t.alignment)+Zw(t.angle)+Xw(t.stops)+Yw(t.hidden)+Yw(t.editable)+Xw(t.cssStyle)+Xw(t.icon));function tx(t){const e={...t};return delete e.id,delete e.hash,e}class ex{constructor(t){this.model=t,this._count=0,this.hashmap=new Map,this.map=new Map}add(t){if(!isNaN(t))return this.get(t);const e=this.model.options.cssStyles?sw(t):t,i=e.hash?e.hash:Jw(e);return this.hashmap.has(i)?this.map.get(this.hashmap.get(i)):(null==e.id&&(e.id=this._count),this._count=Math.max(e.id+1,this._count+1),e.hash=i,this.hashmap.set(i,e.id),this.map.set(e.id,e),e)}populate(t){t.forEach((t=>this.add(t)))}get(t){return this.map.has(t)?this.map.get(t):null}remove(t){const e="object"==typeof t?t:this.map.get(t);this.hashmap.delete(e.hash),this.map.delete(e.id)}merge(...t){const e=Object.assign({},...t.map((t=>Z(t)?t:this.get(t))));return this.add(tx(e))}duplicate(t,e){const i=this.get(t);return this.add(tx({...i,...e}))}set(t,e){let i=this.map.has(t)?this.map.get(t):{};for(const t in e)i[t]=e[t];return i=i.id?i:this.add(i),i}unset(t,e){if(this.map.has(t)){const i=this.map.get(t);for(const t of e)delete i[t]}}getSourceData(){return Array.from(this.map.values())}clean(){const t=new Map(Array.from(this.map.entries()).map((([t])=>[t,0])));this.model.columns.forEach((e=>{const i=t.get(e.style);null!=i&&t.set(e.style,i+1)})),this.model.rows.forEach((e=>{const i=t.get(e.style);null!=i&&t.set(e.style,i+1),e.cells.forEach((e=>{const i=t.get(e.style);null!=i&&t.set(e.style,i+1)}))})),t.forEach(((t,e)=>{0==t&&this.remove(e)}))}}function ix(t,e,i,o){const n=o??("rows"==i?e.rows:e.columns),r=function(t){const e=new Map;for(const i of t)e.has(i.level)||e.set(i.level,[]),e.get(i.level).push(i);return e}(n),s=t[i]??[];for(const t of s){let o;if(o=t.index>-1?[n[t.index]]:t.level>-1?r.get(t.level):n,t.name){const e=t.name instanceof RegExp?t.name:new RegExp(ut(t.name));o=o.filter((t=>e.test(t.name)))}o?.forEach((o=>{null!=t.priority&&(o.priority=t.priority),t.type?e.conditionalFormats.add(Object.assign({ranges:`${o.address}:${o.address}`},t)):(o.style=e.styles.add(t.style).id,"rows"==i&&null!=t.height?o.height=t.height:"columns"==i&&null!=t.width&&(o.width=t.width))}))}}function ox(t,e){for(const i of t)if(e[i.property]!=i.value)return!1;return!0}function nx(t,e,i){const o=t.cells??[];for(const t of o)if(t.conditions?.length){const o=e.getRangeIterator(i??e.gridRange);for(const i of o)ox(t.conditions,i)&&(i.style=e.styles.add(t.style).id)}else if(t.type)e.conditionalFormats.add(Object.assign({ranges:"A:"+e.columns[e.columns.length-1].address},t));else for(const i of e.columns)null==i.style&&(i.style=e.styles.add(t.style).id)}function rx(t,e,i){ix(t,e,"columns",i)}function sx(t,e,i){ix(t,e,"rows",i)}function ax(t,e){nx(t,e),rx(t,e),sx(t,e)}var lx;!function(t){t[t.NONE=0]="NONE",t[t.MERGED=1]="MERGED",t[t.HIDDEN=2]="HIDDEN"}(lx||(lx={}));class cx{get mergedCells(){return this._mergedCells}get hiddenCells(){return this._hiddenCells}constructor(t){this.model=t,this._mergedCells=new Map,this._hiddenCells=new Map}clear(){this._mergedCells.clear(),this._hiddenCells.clear(),this.model.rows.forEach((t=>{t.cells.forEach((t=>{t.rowspan=1,t.colspan=1}))}))}getMergeState(t){return this._mergedCells.has(t)?lx.MERGED:this._hiddenCells.has(t)?lx.HIDDEN:lx.NONE}indexMergedCells(t){const e=t.A1,i=this._mergedCells.get(e);if(!i)return;const o=i.r,n=i.c,r=t.clone(),s=this.model.rows[o].cell(n);s.rowspan=i.rs,s.colspan=i.cs;for(let t=0;t<i.rs;t++)for(let e=0;e<i.cs;e++)0==t&&0==e||(r.r1=o+t,r.c1=n+e,r.r2=r.r1,r.c2=r.c1,this._hiddenCells.set(r.A1,i))}add(t){const e=new fv(t.c,t.r),i=e.A1;if(this._mergedCells.has(i))this.remove(i);else if(this._hiddenCells.has(i))return;this._mergedCells.set(i,t),this.indexMergedCells(e)}remove(t){const e=this._mergedCells.get(t);if(!e)return;const i=e.r,o=e.c,n=new fv(o,i),r=this.model.rows[i].cell(o);r.rowspan=1,r.colspan=1,this._hiddenCells.delete(t);for(let t=0;t<e.rs;t++)for(let r=0;r<e.cs;r++)0==t&&0==r||(n.r1=i+t,n.c1=o+r,n.r2=n.r1,n.c2=n.c1,this._hiddenCells.delete(n.A1))}shift(t){const{index:e,offset:i,direction:o}=t,n={down:t=>{e<=t.r?t.r+=i:e>t.r&&e<t.r+t.rs&&(t.rs+=i)},up:t=>{e<=t.r?t.r-=i:e>t.r&&e<t.r+t.rs&&(t.rs-=i)},right:t=>{e<=t.c?t.c+=i:e>t.c&&e<t.c+t.cs&&(t.cs+=i)},left:t=>{e<=t.c?t.c-=i:e>t.c&&e<t.c+t.cs&&(t.cs-=i)}};this.mergedCells.forEach((t=>{const e=new fv(t.c,t.r);this.remove(e.A1),n[o](t),this.add(t)}))}}const hx=["index","name","rows","columns","cells","options","sparklines","rules","comments","styles","names","props","tab","theme"];class dx{get mergedHeaders(){return this._mergedHeaders}get hasFilter(){return this._filter}get hasRowTree(){return this._maxRowLevel>0}get hasRowTreeEnabled(){return this.hasRowTree&&this.options.rowTree.enabled}get maxRowLevel(){return this._maxRowLevel}get hasColumnTree(){return this._maxColumnLevel>0}get hasColumnTreeEnabled(){return this.hasColumnTree&&this.options.columnTree.enabled}get maxColumnLevel(){return this._maxColumnLevel}get headerCount(){return this._headerCount}get columnHeaderCount(){return this.headerCount+(this.hasColumnTreeEnabled?1:0)+(this.hasFilter?1:0)}get properties(){return this._properties}set properties(t){this._properties=t}get theme(){return this._theme}set theme(t){this._theme=t}constructor(t,e,i){this.otherModels={},this.autofitColumns=new Set,this.autofitRows=new Set,this.merges=new cx(this),this.styles=new ex(this),this.comments=new bw(this),this.calculations=new Cw(this),this.names=new Bw(this),this.sorting=new fw(this),this.sparklines=new Nw(this),this.conditionalFormats=new Lw(this),this._filter=!1,this._maxRowLevel=0,this._maxColumnLevel=0,this._headerCount=0,this._levelBasedRowTree=!0,this._levelBasedColTree=!0,this.clearRows=()=>(this.rowRoot.clearChildren(),this.rows=[],this.rows),this.clearColumns=()=>this.columns=[],this.logger=i,this.options=e??Fw(t.options),this.populate(t)}getConnectedModel(t){return this.group?this.group.get(t):null}getModelByRange(t){return t.sheet?this.getConnectedModel(t.sheet):this}getCellByA1(t){return this.getCellByRange(fv.fromA1(t))}getCellByRange(t){return this.getCellByCoords(t.r1,t.c1)}getCellByCoords(t,e){return this.rows[t]?.cell(e)}cell(t,e){return isNaN(t)?t instanceof fv?this.getCellByRange(t):"string"==typeof t?this.getCellByA1(t):null:this.getCellByCoords(t,e||0)}createRows(t,e=new Ww(this,{l:-1}),i=0){let o=!1,n=!1;this.autofitRows.clear();const r=t.map(((t,e)=>{t||(t={}),isNaN(t.l)||(o=!0),null!=t.p&&(n=!0),"auto"==t.h&&this.autofitRows.add(e);const r=new Ww(this,t);return r.origIndex=e+i,r.name&&this.names.set(r.name,fv.fullRow(e)),r}));let s=-1;return o?s=bn(r,e,{reverse:this.options.rowTree.reversed}):n?s=yn(r,e):e.children=r,n||(o=!0),[e,r,s,o]}insertRowData(t,e,i){const o=this.createRows(i,new Ww(this,{l:t.level}),e);if(this._maxRowLevel=Math.max(this._maxRowLevel,o[2]),t.insertChildren(o[0].children,e),this.indexRowsByTree(),this.theme){const t=o[1];sx(this.theme,this,t),nx(this.theme,this,new fv(0,t[0].index,1/0,t[t.length-1].index))}}applyTheme(t,e){if(e)for(const t of this.getInitializedCellIterator())t.invalidateStyle();ax(t,this)}populate(t){this.index=t.index,this.name=t.name??this.name,this.tab=t.tab;let e=!1,i=!1;if(t.columns||(t.columns=new Array(this.options.columns).fill({})),t.rows||(t.rows=new Array(this.options.rows).fill({})),t.styles&&this.styles.populate(t.styles),this.autofitColumns.clear(),this.columns=t.columns.map(((t,o)=>{t||(t={}),t.l>0&&(e=!0),null!=t.p&&(i=!0),"auto"==t.w&&this.autofitColumns.add(o);const n=new dw(this,t);return this._filter=n.hasFilter||this._filter,n.name&&this.names.set(n.name,fv.fullColumn(o)),n})),this._levelBasedColTree=e,this._maxColumnLevel=-1,this.colRoot=new dw(this,{l:-1}),e?this._maxColumnLevel=bn(this.columns,this.colRoot,{reverse:this.options.columnTree.reversed}):i?this._maxColumnLevel=yn(this.columns,this.colRoot):this.colRoot.children=this.columns,i||(this._levelBasedColTree=!0),this.indexColumns(),this.indexVisibleColumns(),[this.rowRoot,this.rows,this._maxRowLevel,this._levelBasedRowTree]=this.createRows(t.rows),this.indexRows(),this.indexVisibleRows(),this.options.pageSize&&this.options.pageSize<=this.rows.length&&(this.rowRoot.count=1/0),this.merges.clear(),t.comments=t.comments||[],t.cells?.forEach(((e,i)=>{const o=this.rows[e.r]?this.rows[e.r].cell(e.c,e):null;o?(o.colspan>1||o.rowspan>1)&&this.merges.add({r:o.r,c:o.c,rs:o.rowspan,cs:o.colspan}):this.logger?.error(`invalid cell definition (index ${i}): ${JSON.stringify(e)}`),o&&e.comment&&t.comments.push(Object.assign(e.comment,{c:e.c,r:e.r}))})),t.sparklines)try{this.sparklines.populate(t.sparklines)}catch(t){gn().error(`Sparkline init error: ${t}`)}if(t.names)try{this.names.populate(t.names)}catch(t){gn().error(`Named range init error: ${t}`)}if(t.rules)try{this.conditionalFormats.populate(t.rules)}catch(t){gn().error(`Conditional formats init error: ${t}`)}if(t.theme)try{this.applyTheme(t.theme),this._theme=t.theme}catch(t){gn().error(`Theme init error: ${t}`)}if(t.comments)try{this.comments.populate(t.comments)}catch(t){gn().error(`Comment init error: ${t}`)}this._properties=t.props,this.otherSourceData={};const o=new Set(hx),n=Object.keys(t).filter((t=>!o.has(t)));n.forEach((e=>this.otherSourceData[e]=t[e])),this.options.sorting?.defaultSettings&&(this.sorting.settings=this.options.sorting.defaultSettings),this.calcHeaderHeights()}getSourceData(){const t={index:this.index,name:this.name,tab:this.tab,columns:this.columns.map((t=>t.getSourceData())),rows:this.rows.map((t=>t.getSourceData())),styles:this.styles.getSourceData(),rules:this.conditionalFormats.getSourceData(),sparklines:this.sparklines.getSourceData(),options:this.options};this._properties&&(t.props=this._properties);const e=[];let i;for(let t=0;t<this.rows.length;t++)for(let o=0;o<this.columns.length;o++)i=this.rows[t].cell(o).getSourceData(),Object.keys(i).length>0&&(i.r=t,i.c=o,e.push(i));e.length>0&&(t.cells=e);const o=[];return this.styles.clean(),this.styles.map.forEach((t=>o.push(t))),o.length>0&&(t.styles=o),new Set([...Object.keys(this.otherModels??{}),...Object.keys(this.otherSourceData??{})]).forEach((e=>t[e]=this.otherModels[e]?Array.from(this.otherModels[e]).map((t=>t.getSourceData())):this.otherSourceData[e])),t}calcHeaderHeights(){this._headerCount=0,this._headerHeights=[],this.columns.forEach((t=>{this._headerCount=t.header?t.header.length:this._headerCount,this._headerHeights.length<this._headerCount&&this._headerHeights.push(...Array(this._headerCount-this._headerHeights.length).fill(0)),t.header?.forEach(((t,e)=>{e>=this._headerHeights.length&&this._headerHeights.push(0),this._headerHeights[e]=Math.max(this._headerHeights[e],t.height??0)}))}))}indexRows(){this.visibleRows=[],this.rows.forEach(((t,e)=>{t.index=e,t.isLoaded||(t.collapsed=!0),t.hidden||t.filterState==mn.Filtered||(t.visibleIndex=this.visibleRows.length,this.visibleRows.push(t))}))}indexVisibleRows(){this.visibleRows=[];let t=0;if(this._levelBasedRowTree){if(this.rowRoot.walkVisible((e=>{e.visibleIndex=t++,this.visibleRows.push(e)})),this.options.rowTree.reversed){const e=new Array(this.visibleRows.length);this.visibleRows.forEach(((i,o)=>{t=this.visibleRows.length-o-1,i.visibleIndex=t,e[t]=i})),this.visibleRows=e}}else this.rowRoot.walkVisible((t=>this.visibleRows[t.index]=t)),this.visibleRows=this.visibleRows.filter((e=>!!e&&(e.visibleIndex=t++,!0)))}indexRowsByTree(){this.rows=[];let t=0;this.rowRoot.walk((e=>{e.index=t++,this.rows.push(e)})),this.options.rowTree.reversed&&this.rows.reverse(),this.indexVisibleRows()}indexColumns(){this.visibleColumns=[],this.columns.forEach(((t,e)=>{t.index=e,t.hidden||this.visibleColumns.push(t)}))}indexVisibleColumns(){this.visibleColumns=[],this.visibleColumnIndex={};let t=0;if(this.colRoot.walkVisible((e=>{e.visibleIndex=t,this.visibleColumnIndex[e.index]=t++,this.visibleColumns.push(e)})),this.options.columnTree.reversed){this.visibleColumnIndex={};const e=new Array(this.visibleColumns.length);this.visibleColumns.forEach(((i,o)=>{t=this.visibleColumns.length-o-1,i.visibleIndex=t,this.visibleColumnIndex[i.index]=t,e[t]=i})),this.visibleColumns=e}this.indexHeaders()}indexHeaders(){this._mergedHeaders=[],this._headerCount=0,this.colRoot.walkVisible((t=>{this._headerCount=Math.max(t.header?t.header.length:0,this._headerCount),t.mergedHeaders.forEach((e=>this._mergedHeaders.push({h:e,c:t.index,r:e.r,cs:t.calculateRealColspan(e.cs??1),rs:e.rs??1})))})),this._mergedHeaders.forEach((t=>{if(!t.h.hidden)for(let e=t.c;e<t.c+t.cs;e++)for(let i=t.r;i<t.r+t.rs;i++)(i>t.r||e>t.c)&&this.columns[e]&&this.columns[e].header[i]&&(this.columns[e].header[i].hidden=!0)})),this.calcHeaderHeights()}removeHeader(t){this.columns.forEach((e=>{t<e.header.length&&e.header.splice(t,1)})),this.indexHeaders()}clear(){this.clearRows(),this.clearColumns(),this.resetViewport()}resetViewport(){return this._viewport=null,this}getViewport(t,e,i){const o=[],n=[];let r,s,a=e.h,l=0;for(l=0;l<i.t;l++)r=this.visibleRows[l],a-=r.height,o.push(r);for(l=this.visibleRows.length-i.b;l<this.visibleRows.length;l++)r=this.visibleRows[l],a-=r.height;for(l=i.t+t.r;a>0&&l<this.visibleRows.length;)r=this.visibleRows[l++],a-=r.height,o.push(r);for(l=this.visibleRows.length-i.b;l<this.visibleRows.length;l++)o.push(this.visibleRows[l]);let c=e.w,h=0;for(h=0;h<i.l;h++)s=this.visibleColumns[h],c-=s.width,n.push(s);for(h=this.visibleColumns.length-i.r;h<this.visibleColumns.length;h++)s=this.visibleColumns[h],c-=s.width;for(h=i.l+t.c;c>0&&h<this.visibleColumns.length;)s=this.visibleColumns[h++],c-=s.width,n.push(s);for(h=this.visibleColumns.length-i.r;h<this.visibleColumns.length;h++)n.push(this.visibleColumns[h]);return this._viewport={rows:o,columns:n}}calculateViewport(){return this._viewport?this.calculations.calculateViewport(this._viewport):[]}getValuesInRange(t,e=!1){if(!(t=t.intersect(this.gridRange)))return[];const{columns:i,rows:o}=t.size,n=new Array(o);let r,s=0,a=0;for(let o=t.r1;o<=t.r2;o++){n[s]=new Array(i),a=0,r=this.rows[o];for(let i=t.c1;i<=t.c2;i++)n[s][a++]=e?r.cell(i).formattedValue:r.cell(i).value;++s}return n}setRowExpandLevel(t){this.rows.forEach((e=>{e.collapsed=!e.isLoaded&&!e.isPartialyLoaded||e.level>=t,e.level<=t&&(e.hidden=!1)})),this.indexVisibleRows()}setColumnExpandLevel(t){this.columns.forEach((e=>e.collapsed=e.level>=t)),this.indexVisibleColumns()}getViewportRange(){return this._viewport?new fv(this._viewport.columns[0].index,this._viewport.rows[0].index,this._viewport.columns[this._viewport.columns.length-1].index,this._viewport.rows[this._viewport.rows.length-1].index):null}get gridRange(){return new fv(0,0,this.columns.length-1,this.rows.length-1)}getRangeIterator(t,e=!1){return new Pw(this,e&&this._viewport?t.intersect(this.getViewportRange()):t.intersect(this.gridRange))}getInitializedCellIterator(){return new Pw(this,this.gridRange,!0)}getRowIterator(t,e=!1){return t=e&&this._viewport?t.intersect(this.getViewportRange()):t.intersect(this.gridRange),new Vw(this,t,"rows")}getColumnIterator(t,e=!1){return t=e&&this._viewport?t.intersect(this.getViewportRange()):t.intersect(this.gridRange),new Vw(this,t,"columns")}getCellArray(t){const e=[];for(const i of this.getRangeIterator(t))e.push(i);return e}transformRangeToMatrix(t,e){let i,o,n;const r=[];for(let s=(t=t.intersect(this.gridRange)).r1;s<=t.r2;s++)if(i=this.rows[s],i){n=[];for(let r=t.c1;r<=t.c2;r++)o=i.cell(r),o&&n.push(e(o));r.push(n)}return r}getCellMatrix(t){return this.getModelByRange(t)?.transformRangeToMatrix(t,(t=>t))}getValueMatrix(t){return this.getModelByRange(t)?.transformRangeToMatrix(t,(t=>t.value))}shift(t){t.sheet=this.name,this.merges.shift(t),this.calculations.shift(t),this.names.shift(t),this.comments.shift(t),this.sparklines.shift(t)}clearCalculations(t=!1){t&&this.group?this.group.models.forEach((t=>t.calculations.refresh())):this.calculations.refresh()}refreshSparklines(){this.sparklines.updateRangeMaps();for(const t of this.getInitializedCellIterator())t.invalidateStyle()}clearCalculatedStyles(){this.conditionalFormats.refresh();const t=[];for(const e of this.getInitializedCellIterator())t.push(e),e.invalidateStyle()}insertColumns(t,e,i=!1){const o=this.columns[Math.min(this.columns.length-1,t)].parent;i&&++t,this.shift({index:t,offset:e,direction:"right"});for(let i=0;i<this.rows.length;i++)this.rows[i].insertColumns(t,e,!1);const n=new Array(e).fill(null).map((()=>new dw(this)));return this.columns.splice(t,0,...n),this.maxColumnLevel>0&&o.insertChildren(n,t-(o.index||-1)-1),this.indexColumns(),this.clearCalculations(!0),n}deleteColumns(t,e){const i=this.columns[t].parent;this.shift({index:t,offset:e,direction:"left"});const o=[];for(let i=0;i<this.rows.length;i++)o.push(this.rows[i].deleteColumns(t,e,!1));const n=this.columns.splice(t,e);return i?.deleteChildren(n),this.indexColumns(),this.clearCalculations(!0),n}insertRows(t,e,i=!1){const o=Math.min(this.rows.length-1,t),n=o<0?this.rowRoot:this.rows[o].parent;i&&++t;const r=isNaN(e)?e.length:e;this.shift({index:t,offset:r,direction:"down"});const s=isNaN(e)?e:new Array(r).fill(null).map((()=>new Ww(this)));return this.rows.splice(t,0,...s),this.maxRowLevel>0&&n.insertChildren(s,t-(n.index||-1)-1),this.indexRows(),this.theme&&(sx(this.theme,this,s),nx(this.theme,this,new fv(0,s[0].index,1/0,s[s.length-1].index))),this.clearCalculations(!0),s}deleteRows(t,e){const i=this.rows[t].parent;this.shift({index:t,offset:e,direction:"up"});const o=this.rows.splice(t,e);return i?.deleteChildren(o),this.indexRows(),this.clearCalculations(!0),o}moveRows(t,e,i){const o=this.rows.splice(t,e);return this.rows.splice(i,0,...o),this.shift({index:t,offset:i-t,direction:"down",maxIndex:t+e-1}),this.indexRows(),this.clearCalculations(!0),o}moveColumns(t,e,i){const o=this.columns.splice(t,e);return this.columns.splice(i,0,...o),this.shift({index:t,offset:i-t,direction:"right",maxIndex:t+e-1}),this.indexColumns(),this.clearCalculations(!0),o}spillValues(t){const{cell:e,values:i,displayValues:o,propertyCell:n}=t,r=[],s=[],a=0===i.length||0===i[0].length;let l,c;const h=a?null:new fv(e.c,e.r,e.c+i[0].length-1,e.r+i.length-1);if(e.spillRange&&this.getRangeIterator(e.spillRange,!0).forEach((t=>{e==t||h?.contains(t.range)||t.clearSpilledValue()})),e.spillRange=h,a)return{cells:r,oldValues:s,range:null};for(let t=h.r1;t<=h.r2;t++){if(l=this.rows[t],!l)continue;const a=t-h.r1;for(let t=h.c1;t<=h.c2;t++){const d=t-h.c1;c=l.cell(t),c.editable&&(s.push(c.value2),c.spillValue(i[a][d],e),n&&(c.format=n.format,c.type=n.type),o&&null!=o[a][d]&&(c.displayValue=o[a][d]),r.push(c))}}return{cells:r,oldValues:s,range:h}}getCellByName(t,e,i=!0){return this.names.getCellByName(t,e)||(this.group&&i?this.group.getCellByName(t,e):null)}getRangeByName(t,e=!0){return this.names.getRangeByName(t)||(this.group&&e?this.group.getRangeByName(t):null)}getValueMatrixByName(t,e=!0){const i=this.names.getRangeByName(t);return i?this.getValueMatrix(i):this.group&&e?this.group.getValueMatrixByName(t):null}rebuildRowTree(){const t=this._levelBasedRowTree?bn:yn;this._maxRowLevel=t(this.rows,this.rowRoot,{reverse:this.options.rowTree.reversed}),this.indexRowsByTree()}rebuildColumnTree(){const t=this._levelBasedColTree?bn:yn;this._maxColumnLevel=t(this.columns,this.colRoot,{reverse:this.options.columnTree.reversed}),this.indexColumns()}calculateCellOffset(t){let e=0,i=0;for(let i=0;i<t.c1&&this.columns[i];i++)e+=this.columns[i].width;for(let e=0;e<t.r1&&this.rows[e];e++)i+=this.rows[e].height;return{x:e,y:i}}}class ux{get errors(){return this._errors}get(t){return this.models.get(t)}has(t){return this.models.has(t)}getNewName(){let t;do{t=`sheet${this._max}`}while(this.models.has(t));return t}add(t){if(t.index=t.index??this._max,++this._max,t.name=t.name||this.getNewName(),this.models.has(t.name))throw Error(`sheet "${t.name}" already exists`);return this.models.set(t.name,t),t.group=this,t}duplicate(t){const e=this.get(t);if(!e)return;const i=new dx(e.getSourceData(),e.options);let o=1;for(;this.models.has(`${t}_${o}`);)++o;return i.name=`${t}_${o}`,this.add(i),i}remove(t){return this.models.delete(t),this}rename(t,e){if(this.has(t)){if(this.has(e))throw new Error(`Model '${e}' already exists`);const i=this.get(t);i.name=e,this.models.set(e,i),this.models.delete(t),this.models.forEach((i=>{i.calculations.renameSheet(t,e)&&i.calculateViewport()}))}return this}clear(){this.models.clear(),this._errors=[]}constructor(t){this._max=0,this.models=new Map,this.themes=new Map,this._errors=[],t&&this.populate(t)}populate(t){this.clear(),t.models.forEach((t=>{const e=new dx(t);try{this.add(e)}catch(t){this.errors.push(t)}})),t.themes&&t.themes.forEach((t=>this.themes.set(t.name,t)))}getSourceData(){const t={models:[]};return this.models.forEach((e=>t.models.push(e.getSourceData()))),t}getCellByName(t,e){for(const i of this.models.values()){const o=i.getCellByName(t,e,!1);if(o)return o}return null}getRangeByName(t){for(const e of this.models.values()){const i=e.getRangeByName(t,!1);if(i)return i}return null}getValueMatrixByName(t){for(const e of this.models.values()){const i=e.getValueMatrixByName(t,!1);if(i)return i}return null}}class px{constructor(t){this.model=t,this.stack=[],this.restack=[]}push(t){return this.restack=[],t.timestamp||(t.timestamp=Date.now()),this.stack.push(t),this}pop(t=1){let e=0;const i=[];for(;e++<t&&this.stack.length>0;){const t=this.stack.pop();i.push(t),this.restack.push(t)}return i}pop2(t=1){let e=0;const i=[];for(;e++<t&&this.restack.length>0;){const t=this.restack.pop();i.push(t),this.stack.push(t)}return i}}class gx{get activeCellCoords(){return{c:this.range.c1+this.activeCell.c1,r:this.range.r1+this.activeCell.r1}}constructor(t,e,i,o){this.hidden=!1,this.range=new fv(t,e,i,o),this.activeCell=new fv(0,0)}static fromRange(t){return new gx(t.c1,t.r1,t.c2,t.r2)}setCoords(t,e,i,o){this.range.setCoords(t,e,i,o),this.activeCell.setCoords(0,0)}setRange(t){"string"==typeof t&&(t=fv.fromA1(t)),this.range.setCoords(t.c1,t.r1,t.c2,t.r2),this.activeCell.setCoords(0,0)}move(t,e,i,o){this.range.setCoords(this.range.c1+this.activeCell.c1,this.range.r1+this.activeCell.r1,this.range.c1+this.activeCell.c2,this.range.r1+this.activeCell.r2),this.range.move(t,e,i,o,!1),this.activeCell.setCoords(0,0)}moveRange(t,e,i,o){this.range.move(t,e,i,o,!0)}moveActiveCell(t,e){const{columns:i,rows:o}=this.range.size;this.activeCell.move(t,e,i,o,!0)}}const mx={...Zf,CUSTOM_CLIPBOARD_TYPE:"web application/json"};class fx{constructor(t,e,i=mx.MAX_CACHE_ITEMS){this.maxCacheItems=i,this.queue=[],this.disabled=!1,this.table=new Array(e).fill(null).map((()=>new Array(t)))}get(t,e){return this.table[e][t]}delete(t,e){return this.table[e][t]=null,this}deleteColumn(t){for(let e=0;e<this.table.length;e++)this.table[e][t]=null;return this}deleteRow(t){return this.table[t]=new Array(this.table[0].length).fill(null),this}set(t,e,i){this.disabled||(this.get(t,e)||this.queue.push([e,t]),this.table[e][t]=i)}clear(){this.queue=[],this.table=this.table.map((t=>new Array(t.length)))}clean(){if(this.maxCacheItems>0&&this.queue.length>this.maxCacheItems){let t=this.queue.length;for(let e=0;e<this.queue.length;e++){const i=this.queue[e];if(!this.table[i[0]][i[1]].parentNode&&(this.queue[e]=null,this.table[i[0]][i[1]]=null,--t<=this.maxCacheItems))break}t<this.queue.length&&(this.queue=this.queue.filter((t=>t)))}}}var vx=function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};let bx=class extends ls{constructor(){super(),this.render=()=>Br`
|
|
2813
|
+
`,Yf={enabled:!1,includeChildren:!0,includeParents:!0},qf={enabled:!0,reversed:!1},Zf={ROW_HEIGHT:22,RESIZE_TRESHOLD:10,ROW_HEADER_WIDTH:60,SLIDER_SIZE:12,EXPANDER_SIZE:13,MAX_CACHE_ITEMS:5e3,CACHE_CLEAN_INTERVAL:30,COMMENT_HIDE_TIMEOUT:1e3,SELECTOR_BORDER_WIDTH:2,MIN_ROW_HEIGHT:5,MIN_COL_WIDTH:5,SPARKLINE_GAP:4,AUTOSCROLL_TRESHOLD:100,AUTOSCROLL_RATIO:1.1,AUTOSCROLL_INTERVAL:100,DEFAULT_SPARKLINE_OPTIONS:{minValue:"auto",maxValue:"auto",type:"line",style:{color:"0094FF",weight:1},marker:{color:"ff0000"}},DEFAULT_OPTIONS:{rows:100,columns:20,readOnly:!1,rowNumbers:!0,rowPriority:2,rowTree:{enabled:!0},columnTree:{enabled:!0},colLetters:!0,emptyPlaceholder:!0,freezeTop:0,fontSize:12,rowHeight:22,rowResize:!0,columnWidth:100,columnResize:!0,columnPriority:1,freezeLeft:0,freezeRight:0,freezeBottom:0,maxSortingColumns:3,numberFormat:null,levelIndentFactor:2,cellIndentFactor:10,emptyClickable:!1,grid:!0,autofill:!0,undoRedo:!0,commandWindow:!0,cellCache:!0,singleCellModel:!1,zoom:1,editing:{rowInsertion:!0,rowDeletion:!0,colInsertion:!0,colDeletion:!0,rowOutline:!0,colOutline:!0,dateCalendarEditor:!1},comments:{hideTimeout:1e3,offsetX:30,offsetY:-30,zIndex:500,headerPosition:"top"},scrolling:{verticalOverscroll:!0,horizontalOverscroll:!0,scrollbarVisibilityTreshold:100},selecting:{enabled:!0,multiSelect:!0},events:{click:{mouseMoveTreshold:10}},clipboard:{pasteProps:["v","dv"],rowPasteMode:"rewrite_append",columnPasteMode:"rewrite"},print:{dpi:600,margins:{left:6.35,right:6.35,top:19.05,bottom:19.05,header:7.62,footer:7.62},orientation:"portrait",paper:"A4"}},...G},Xf=/^(?!.*[\\\/\*\[\]\:\?"])(.{1,31})$/;function Qf(t){return Xf.test(t)}function Kf(t){return["\\","/","*","[","]",":","?",'"'].forEach((e=>t=t.replace(new RegExp(`\\${e}`,"g"),""))),t}function Jf(t,e){return!isNaN(t)&&null!=t||!isNaN(e)&&null!=e||(t=null==t?"":ct(t.toString()).toLowerCase(),e=null==e?"":ct(e.toString()).toLowerCase()),t>e?1:t<e?-1:0}function tv(t,e){const i=Q(e);return Q(t)?(t=t.toString().trim()).startsWith("=")?0==Jf(e,i?t.substring(1):parseFloat(t.substring(1))):t.startsWith(">=")?Jf(e,i?t.substring(2):parseFloat(t.substring(2)))>=0:t.startsWith("<=")?Jf(e,i?t.substring(2):parseFloat(t.substring(2)))<=0:t.startsWith(">")?Jf(e,i?t.substring(1):parseFloat(t.substring(1)))>0:t.startsWith("<")?Jf(e,i?t.substring(1):parseFloat(t.substring(1)))<0:0==Jf(e,i?t:isNaN(t)?t||"":parseFloat(t)):e==t}const ev=new Map([["=",["==",1,0]],[">",[">",1,0]],["<",["<",1,0]],[">=",[">=",1,0]],["<=",["<=",1,0]],["+",["+",2,0]],["-",["-",2,0]],["*",["*",3,0]],["/",["/",3,0]]]),iv=t=>["=",">","<",">=","<="].includes(t),ov=t=>["+","-","*","/"].includes(t),nv=t=>ov(t)||iv(t);function rv(t,e,i){switch(i){case"+":return t+e;case"-":return t-e;case"*":return t*e;case"/":return t/e;case"=":return 0==Jf(t,e);case">":return Jf(t,e)>0;case"<":return Jf(t,e)<0;case">=":return Jf(t,e)>=0;case"<=":return Jf(t,e)<=0;default:throw new Error(`Invalid operator: ${i}`)}}function sv(t,e,i){const o=Array.isArray(t),n=Array.isArray(e);if(!o&&!n)return[[rv(t,e,i)]];const r=Math.max(o?t.length:0,n?e.length:0),s=Math.max(o?t[0].length:0,n?e[0].length:0),a=[];for(let l=0;l<r;l++){const r=[];for(let a=0;a<s;a++){const s=o?t[l]?.[a]:t,c=n?e[l]?.[a]:e,h=null==s&&null==c?null:rv(s,c,i);r.push(h)}a.push(r)}return a}var av;!function(t){t[t.Number=0]="Number",t[t.Boolean=1]="Boolean",t[t.String=2]="String",t[t.StringQuote=3]="StringQuote",t[t.Function=4]="Function",t[t.ArgumentSeparator=5]="ArgumentSeparator",t[t.OpenBracket=6]="OpenBracket",t[t.CloseBracket=7]="CloseBracket",t[t.Operator=8]="Operator",t[t.Cell=9]="Cell",t[t.Variable=10]="Variable",t[t.Range=11]="Range",t[t.Sheet=12]="Sheet",t[t.SheetQuote=13]="SheetQuote",t[t.SheetSeparator=14]="SheetSeparator",t[t.Unknown=15]="Unknown",t[t.Operand=16]="Operand"}(av||(av={}));const lv=t=>t===av.Number||t===av.Boolean||t===av.String||t===av.Cell||t===av.Variable||t===av.Range,cv=t=>t>=48&&t<=57,hv=t=>"true"===(t=t.toLowerCase())||"false"===t,dv=t=>t>=65&&t<=90||t>=97&&t<=122||t>=192&&t<=687,uv={decimalPoint:".",stringQuote:'"',sheetQuote:"'",argumentSeparator:","};class pv{constructor(t){this.options=Object.assign(uv,t)}tokenize(t){const e=[],i=t.length;let o,n,r,s,a=0,l="",c=!1,h=!1,d=!1;for(;a<i;){if(o=t.charAt(a),n=o.charCodeAt(0),"="==o&&0==a)++a;else if(cv(n)){for(l=(d?"-":"")+o,++a;a<i;)if(o=t.charAt(a),n=o.charCodeAt(0),cv(n))l+=o,++a;else{if(o!==this.options.decimalPoint)break;l+=".",++a}d=!1,e.push([l,av.Number])}else if(dv(n)||"$"==o){l=o,r=null,++a;do{if(o=t.charAt(a),n=o.charCodeAt(0),dv(n)||cv(n)||"."===o||"$"===o||"_"===o)"_"==o?r=av.Variable:cv(n)&&!c&&null==r&&(r=av.Cell),l+=o,++a,a==i&&e.push([l,r||av.Variable]);else{if("("==o){e.push([l.toUpperCase(),av.Function]),e.push([o,av.OpenBracket]),++a;break}if("'"==o)e.push([l,av.Sheet]),l="",e.push([o,av.SheetQuote]),c=!0,++a;else if(":"==o)r=av.Range,l+=o,++a;else{if(!c||" "!=o){if("!"==o){""!==l&&e.push([l,av.Sheet]),e.push([o,av.SheetSeparator]),c=!1,l="",++a;break}e.push([l,r||(hv(l)?av.Boolean:av.Variable)]);break}l+=o,++a}}}while(a<i)}else if(nv(o)){if("-"===o&&cv(t.charCodeAt(a+1))&&(null==s||"("==s[0]||iv(s[0])||s[1]==av.ArgumentSeparator))d=!0;else{for(l=o;iv(t.charAt(a+1));)l+=t.charAt(++a);e.push([l,av.Operator])}++a}else if("("===o)e.push([o,av.OpenBracket]),++a;else if(")"===o)e.push([o,av.CloseBracket]),++a;else if("'"===o)e.push([o,av.SheetQuote]),c=!0,++a;else if(o===this.options.argumentSeparator)e.push([o,av.ArgumentSeparator]),++a;else if(o===this.options.stringQuote){for(h=!1,e.push([o,av.StringQuote]),l="";++a<i;){if(o=t.charAt(a),o===this.options.stringQuote){h=!0,++a;break}l+=o}e.push([l,av.String]),h&&e.push([this.options.stringQuote,av.StringQuote])}else e.push([o,av.Unknown]),++a;s=e[e.length-1]}return e}}function gv(t,e,i=null,o=!0){return t+=e,0==e?t:t>=0?i?o?t%i:Math.min(t,i-1):t:o&&i?i+t%i:Math.max(t,0)}const mv=/(?:'?([\w\s]*)'?!)?(\$?)([a-z]*)(\$?)(\d*)(?::(\$?)([a-z]*)(\$?)(\d*))?/i;class fv{constructor(t,e,i,o,n){this.setCoords(t,e,i,o),this.sheet=n}setCoords(t,e,i,o){this.c1=null==t&&null==i?0:t,this.r1=null==e&&null==o?0:e,this.c2=null==o&&null!=t||null!=i?null==i?t:i:1/0,this.r2=null==i&&null!=e||null!=o?null==o?e:o:1/0,this.normalize()}get size(){return{columns:this.c2-this.c1+1,rows:this.r2-this.r1+1}}get count(){const{columns:t,rows:e}=this.size;return t*e}normalize(){const[t,e]=[Math.min(this.c1,this.c2),Math.max(this.c1,this.c2)],[i,o]=[Math.min(this.r1,this.r2),Math.max(this.r1,this.r2)];return this.c1=t,this.c2=e,this.r1=i,this.r2=o,this}move(t,e,i=null,o=null,n=!0){const r=gv(this.c1,t,i,n);n&&(e+=this.c1+t!=r&&0!=t?t>0?1:-1:0),this.c1=r,this.r1=gv(this.r1,e,o,n),this.c2=gv(this.c2,t,i,n),this.r2=gv(this.r2,e,o,n)}contains(t){return t.c1>=this.c1&&t.c2<=this.c2&&t.r1>=this.r1&&t.r2<=this.r2}containsColumn(t){return this.c1<=t&&this.c2>=t}containsRow(t){return this.r1<=t&&this.r2>=t}removeAnchors(){return this.c1Anchor=!1,this.c2Anchor=!1,this.r1Anchor=!1,this.r2Anchor=!1,this}addAnchors(){return this.c1Anchor=!0,this.c2Anchor=!0,this.r1Anchor=!0,this.r2Anchor=!0,this}shiftLeft(t,e=1,i=null,o=!1){return t<=this.c1&&(o||!this.c1Anchor)&&(null==i||this.c1<=i)&&(this.c1-=e),t<=this.c2&&(o||!this.c2Anchor)&&(null==i||this.c2<=i)&&(this.c2-=e),this}shiftRight(t,e=1,i=null,o=!1){return t<=this.c1&&(o||!this.c1Anchor)&&(null==i||this.c1<=i)&&(this.c1+=e),t<=this.c2&&(o||!this.c2Anchor)&&(null==i||this.c2<=i)&&(this.c2+=e),this}shiftUp(t,e=1,i=null,o=!1){return t<=this.r1&&(o||!this.r1Anchor)&&(null==i||this.r1<=i)&&(this.r1-=e),t<=this.r2&&(o||!this.r2Anchor)&&(null==i||this.r2<=i)&&(this.r2-=e),this}shiftDown(t,e=1,i=null,o=!1){return t<=this.r1&&(o||!this.r1Anchor)&&(null==i||this.r1<=i)&&(this.r1+=e),t<=this.r2&&(o||!this.r2Anchor)&&(null==i||this.r2<=i)&&(this.r2+=e),this}shift(t){const{index:e,offset:i,direction:o,maxIndex:n,ignoreAnchors:r}=t;switch(o){case"down":return this.shiftDown(e,i,n,r);case"up":return this.shiftUp(e,i,n,r);case"left":return this.shiftLeft(e,i,n,r);case"right":return this.shiftRight(e,i,n,r)}}intersect(t){this.normalize(),t.normalize();const e=Math.max(t.c1,this.c1),i=Math.min(t.c2,this.c2),o=Math.max(t.r1,this.r1),n=Math.min(t.r2,this.r2);return e<=i&&o<=n?new fv(e,o,i,n,this.sheet):null}unite(t){return this.normalize(),t.normalize(),new fv(Math.min(this.c1,t.c1),Math.min(this.r1,t.r1),Math.max(this.c2,t.c2),Math.max(this.r2,t.r2),this.sheet)}clone(){const t=new fv(this.c1,this.r1,this.c2,this.r2,this.sheet);return t.c1Anchor=this.c1Anchor,t.r1Anchor=this.r1Anchor,t.c2Anchor=this.c2Anchor,t.r2Anchor=this.r2Anchor,t}equals(t,e=!1){return t.c1==this.c1&&t.r1==this.r1&&t.c2==this.c2&&t.r2==this.r2&&(0==e||t.c1Anchor==this.c1Anchor&&t.r1Anchor==this.r1Anchor&&t.c2Anchor==this.c2Anchor&&t.r2Anchor==this.r2Anchor)}get isCell(){return this.c2==this.c2&&this.r2==this.r1}get isRange(){return this.c2!=this.c1||this.r2!=this.r1}get isColumn(){return 0==this.r1&&this.r2==1/0}get isRow(){return 0==this.c1&&this.c2==1/0}get A1(){const t=this.isRange,e=(this.c1Anchor?"$":"")+(0!==this.c1||this.c2!==1/0?yv(this.c1):"")+(0===this.r1&&this.r2===1/0?"":(this.r1Anchor?"$":"")+vv(this.r1)),i=t?(this.c2Anchor?"$":"")+(!isNaN(this.c2)&&this.c2<1/0?yv(this.c2):"")+(this.r2Anchor?"$":"")+(!isNaN(this.r2)&&this.r2<1/0?vv(this.r2):""):e;return(null==this.sheet?"":((o=this.sheet).indexOf(" ")>-1?"'"+o+"'":o)+"!")+(e==i?e:e+":"+i);var o}get bounds(){return[[new fv(this.c1,this.r1),this.c2<1/0?new fv(this.c2,this.r1):null],[this.r2<1/0?new fv(this.c1,this.r2):null,this.r2<1/0&&this.c2<1/0?new fv(this.c2,this.r2):null]]}*cells(){for(let t=this.r1;t<=this.r2;t++)for(let e=this.c1;e<=this.c2;e++)yield new fv(e,t)}static fromA1(t){const e=mv.exec(t),i=new fv(e[3]?wv(e[3]):null,e[5]?bv(e[5]):null,e[7]?wv(e[7]):null,e[9]?bv(e[9]):null,e[1]||null);return!e[2]&&e[3]||(i.c1Anchor=!0),!e[4]&&e[5]||(i.r1Anchor=!0),(e[6]||e[2]&&!e[7])&&(i.c2Anchor=!0),(e[8]||e[4]&&!e[9])&&(i.r2Anchor=!0),i}}function vv(t){return(t+1).toString()}function bv(t){return parseInt(t)-1}function yv(t){++t;let e,i="";for(;t>0;)e=(t-1)%26,i=String.fromCharCode(e+65)+i,t=(t-e-1)/26;return i}function wv(t){const e=t.length;let i=0;for(let o=0;o<e;o++)i+=(t.charCodeAt(o)-64)*Math.pow(26,e-o-1);return i-1}function xv(t){return t.sort(((t,e)=>{const i=Math.min(t.r1,t.r2),o=Math.min(e.r1,e.r2),n=Math.min(t.c1,t.c2),r=Math.min(e.c1,e.c2);return i<o?-1:i>o?1:n<r?-1:r>n?1:0}))}function kv(t){return t.formula.cells.map((e=>t.cell.model.getCellByRange(e[1])))}function Cv(t){let e=t;for(;Array.isArray(e);)e=e.length>0?e[0]:null;return e}function Mv(t){return Array.isArray(t)?t:[[t]]}function _v(t,e,i,o){if(!Array.isArray(t))return e(t,i,o);for(let o=0;o<t.length;o++)if(!1===_v(t[o],e,null==i?o:i,null==i?void 0:o))return!1}fv.fromA1s=(t,e=";")=>t.split(e).map((t=>fv.fromA1(t))),fv.toA1s=(t,e=";")=>t.map((t=>t.A1)).join(e),fv.fromCoords=t=>new fv(t.c1,t.r1,t.c2,t.r2),fv.fullColumn=t=>new fv(t,0,t,1/0),fv.fullRow=t=>new fv(0,t,1/0,t);const Sv=new Set(["SUMPRODUCT","FILTER"]),Ev=t=>Sv.has(t),zv=t=>!!(t&&t.length>0&&"="==t.charAt(0)),Rv=t=>zv(t)?t:"="+(t??""),Iv=t=>zv(t)?t.substring(1):t,Lv=["#5B97FF","#FF616B","#B77CFF","#00B02C","#FC58BE","#FF9000","#2EB0B3"],Hv=t=>Lv[t%Lv.length],Tv=new Map([["FORMULATEXT","_xlfn."],["CONCAT","_xlfn."],["INDIRECT","_xlfn."],["ISOWEEKNUM","_xlfn."],["SWITCH","_xlfn."],["XOR","_xlfn."]]);class Av{get fn(){return this._fn??(this._fn=new Function("t","ctx","return "+this.compile()))}get tokens(){return this._tokens}get variables(){return this._variables}get cells(){return this._cells}get ranges(){return this._ranges}get colors(){if(!this._colors){let t;this._colors=new Map,this._tokens.forEach(((e,i)=>{if([av.Cell,av.Range].includes(e[1])){const o=(t?"'"+t+"'!":"")+e[0];this._colors.set(o,{color:Hv(this._colors.size),address:e[0],sheet:t,type:e[1],tokenIndex:i}),t=null}else e[1]==av.Sheet&&(t=e[0])}))}return this._colors}constructor(t,e){this.expression=t,this.tokenizer=e,this._tokens=e.tokenize(this.expression),this.updateDependecies()}findTokenIndexAtPosition(t){let e=0;return this._tokens.findIndex((i=>{const o=i[0].length;if(t>=e&&t<=e+o)return!0;e+=o}))}findSheetTokenIndex(t){const e=this._tokens[t];if(![av.Cell,av.Range].includes(e[1]))return-1;if(0==t||this._tokens[t-1][1]!=av.SheetSeparator)return-1;let i=t-2;for(;i>=0;){if(this._tokens[i][1]==av.Sheet)return i;i--}return-1}removeSheetToken(t){if(this._tokens[t][1]!=av.Sheet&&(t=this.findSheetTokenIndex(t)),t>-1){t>0&&this._tokens[t-1][1]==av.SheetQuote&&t--;let e=t;for(;e<this._tokens.length&&[av.SheetSeparator,av.SheetQuote,av.Sheet].includes(this._tokens[e][1]);)e++;return this._tokens.splice(t,e-t),e-t}return 0}getNamedColor(t){return this.colors.get(t)?.color??"inherit"}getTokenPosition(t){let e=0;for(let i=0;i<t;i++)e+=this._tokens[i][0].length;return{min:e,max:e+this._tokens[t][0].length}}updateToken(t,e){this._fn=null,this._formula=null,this._xlFormula=null,this._tokens[t][0]=e}removeToken(t){this._fn=null,this._formula=null,this._xlFormula=null,this._tokens.splice(t,1)}insertToken(t,e,i){this._fn=null,this._formula=null,this._xlFormula=null;const o=[];return i==av.Sheet&&/\s/.test(e)?(o.push([this.tokenizer.options.sheetQuote,av.SheetQuote]),o.push([e,av.Sheet]),o.push([this.tokenizer.options.sheetQuote,av.SheetQuote])):o.push([e,i]),o.push(["!",av.SheetSeparator]),this._tokens.splice(t,0,...o),o.length}clone(){return new Av(this.createFormulaString(),this.tokenizer)}updateDependecies(){let t;this._variables=[],this._cells=[],this._ranges=[],this._tokens.forEach(((e,i)=>{switch(e[1]){case av.Sheet:t=e[0];break;case av.Variable:this._variables.push([i,e[0],t]),t=void 0;break;case av.Cell:this._cells.push([i,fv.fromA1(e[0]),t]),t=void 0;break;case av.Range:this._ranges.push([i,fv.fromA1(e[0]),t]),t=void 0}}))}createFormulaString(t=!1,e=!1){const i=this.tokenizer.options;let o,n,r,s="";for(let l=0;l<this._tokens.length;l++)switch(o=this._tokens[l],o[1]){case av.SheetQuote:s+="'";break;case av.SheetSeparator:s+="!";break;case av.Sheet:n=o[0],s+=t?`<span style="font-style:italic">${n}</span>`:n;break;case av.Variable:s+=o[0];break;case av.Range:case av.Cell:r=(n?"'"+n+"'!":"")+o[0],s+=t?`<span style="color:${this.getNamedColor(r)}">${o[0]}</span>`:o[0],n=null;break;case av.StringQuote:s+=i.stringQuote;break;case av.String:s+=o[0].replace(new RegExp(i.stringQuote,"g"),"\\"+i.stringQuote);break;case av.ArgumentSeparator:s+=i.argumentSeparator;break;case av.Function:s+=(e?(a=o[0],Tv.get(a)??""):"")+o[0];break;case av.Unknown:s+=t?`<span style="background:#f00;color:#fff">${o[0]}</span>`:o[0];break;default:s+=o[0]}var a;return s}createExpressionTree(){const t=[],e=[],i=this.tokens;let o,n,r,s,a,l=null;for(let c=0;c<i.length;c++)switch(o=i[c],o[1]){case av.Sheet:l=o[0];break;case av.Cell:case av.Range:t.push({t:o[0],tt:o[1],s:l}),l=null;break;case av.Number:case av.String:case av.Boolean:case av.Variable:t.push({t:o[0],tt:o[1]});break;case av.Operator:for(0==t.length&&t.push({t:"",tt:av.Operand}),r=ev.get(o[0]);e.length>0&&(s=ev.get(e[e.length-1][0]),s)&&(0===r[2]&&r[1]<=s[1]||1===r[2]&&r[1]<s[1]);)n=e.pop(),a=[t.pop(),t.pop()].reverse(),t.push({t:n[0],tt:n[1],c:a});e.push(o);break;case av.Function:case av.OpenBracket:e.push(o);break;case av.ArgumentSeparator:for(;e.length>0&&(n=e[e.length-1],![av.OpenBracket,av.ArgumentSeparator].includes(n[1]));)n=e.pop(),a=[t.pop(),t.pop()].reverse(),t.push({t:n[0],tt:n[1],c:a});e.push(o);break;case av.CloseBracket:for(a=[];e.length>0&&e[e.length-1][1]!==av.OpenBracket;)n=e.pop(),n[1]==av.Operator?a.push({t:n[0],tt:n[1],c:[t.pop(),t.pop()].reverse()}):n[1]==av.ArgumentSeparator&&t.length>0&&a.push(t.pop());e.pop(),e.length>0&&e[e.length-1][1]===av.Function?(n=e.pop(),a=a.reverse(),t.length>0&&i[c-1][1]!==av.OpenBracket&&a.unshift(t.pop()),t.push({t:n[0],tt:n[1],c:a})):t.push(...a)}for(;e.length>0;)n=e.pop(),t.push({t:n[0],tt:n[1],c:[t.pop(),t.pop()].reverse()});return t.pop()}createExpressionJSCode(t,e,i){let o;switch(t.tt){case av.Range:return"t.rn('"+t.t+"'"+(t.s?",'"+t.s+"'":"")+")";case av.Cell:return"t.cl('"+t.t+"'"+(t.s?",'"+t.s+"'":"")+")";case av.Operand:return"t.cl()";case av.Variable:return i||e?.tt===av.Function?"t.nr('"+t.t+"'"+(t.s?",'"+t.s+"'":"")+")":"t.nv('"+t.t+"'"+(t.s?",'"+t.s+"'":"")+")";case av.String:return"'"+t.t.replace(/'/g,"\\'")+"'";case av.Boolean:return"T"==t.t[0].toUpperCase()?"1":"0";case av.Function:return o=t.c.map((e=>this.createExpressionJSCode(e,t,i||Ev(t.t)))),"t.fn('"+t.t+"').call(ctx"+(o.length>0?","+o.join(","):"")+")";case av.Operator:return i?(o=t.c.map((e=>this.createExpressionJSCode(e,t,i||Ev(t.t)))),"t.op("+o[0]+","+o[1]+",'"+t.t+"')"):ev.has(t.t)?"("+t.c.map((e=>this.createExpressionJSCode(e,t,i))).join(ev.get(t.t)[0])+")":null;default:return t.t}}compile(){const t=this.createExpressionTree();return this.createExpressionJSCode(t)}toString(t=!1){return(t?"=":"")+(this._formula??(this._formula=this.createFormulaString()))}toExcelString(){return this._xlFormula??(this._xlFormula=this.createFormulaString(!1,!0))}shift(t){const{index:e,offset:i,direction:o,maxIndex:n,sheet:r,allSheets:s}=t;return this._cells&&this._cells.forEach((t=>{if(s||null==t[2]||t[2]==r){switch(o){case"up":t[1].shiftUp(e,i,n);break;case"right":t[1].shiftRight(e,i,n);break;case"down":t[1].shiftDown(e,i,n);break;case"left":t[1].shiftLeft(e,i,n)}this._tokens[t[0]][0]=t[1].A1}})),this._ranges&&this._ranges.forEach((t=>{if(s||null==t[2]||t[2]==r){switch(o){case"up":t[1].shiftUp(e,i,n);break;case"right":t[1].shiftRight(e,i,n);break;case"down":t[1].shiftDown(e,i,n);break;case"left":t[1].shiftLeft(e,i,n)}this._tokens[t[0]][0]=t[1].A1}})),this}hasSheetReference(t){for(const e of this._cells)if(e[2]==t)return!0;for(const e of this._ranges)if(e[2]==t)return!0;for(const e of this._variables)if(e[2]==t)return!0;return!1}renameSheet(t,e){let i=!1;return this._tokens.forEach((o=>{o[1]==av.Sheet&&o[0]==t&&(o[0]=e,i=!0)})),i}}function Ov(t,e){return e&&(t=Jo(this.cell.model.options.locale,rn(e,"d"),!1)(t)),null==t?"":t.toString()}function $v(t,e){return(t=null==t?"":t.toString()).substring(0,e)}function Dv(t,e){return(t=null==t?"":t.toString()).substring(Math.max(0,t.length-e),t.length)}function Nv(t,e,i){return(t=null==t?"":t.toString()).substring(e,e+i)}function Pv(...t){let e="";return _v(t,(t=>e+=null==t?"":t.toString())),e}function jv(t){return t instanceof Date?t:Q(t)?Oo(t,vo()):Uo(t)}function Vv(t){return tt(t)?t:Wo(t instanceof Date?t:Oo(t,vo()))}function Bv(t){return Q(t)?Vv(t):t}function Fv(t,e){const i=jv(t).getDay();switch(e){case 2:return i;case 3:return i-1;default:return i%7+1}}function Wv(t,e,i){return Go(Vv(Cv(t)),e)}function Uv(){return Wo(se(new Date))}function Gv(t){return null==(t=Cv(t))||""===t}function Yv(t,e,i){return Wo(new Date(t,e-1,i))}function qv(t){return jv(t).getFullYear()}function Zv(t){return jv(t).getMonth()+1}function Xv(t){return jv(t).getDate()}function Qv(t,e){const i=jv(t);return i.setMonth(i.getMonth()+e+1),i.setDate(0),Wo(i)}function Kv(t){return yi(jv(t))}function Jv(t){return Math.acos(t)}function tb(t){return Math.acosh(t)}function eb(t){return Math.PI/2-Math.atan(t)}function ib(t){return.5*Math.log((t+1)/(t-1))}function ob(t){return Math.asin(t)}function nb(t){return Math.asinh(t)}function rb(t){return Math.atan(t)}function sb(t){return Math.atanh(t)}function ab(t){return Math.cos(t)}function lb(t){return Math.cosh(t)}function cb(t){return 1/Math.tan(t)}function hb(t){return 1/Math.tanh(t)}function db(t){return 1/Math.sin(t)}function ub(t){return 1/Math.sinh(t)}function pb(t){return 180*t/Math.PI}function gb(){return Math.PI}function mb(t){return 1/Math.cos(t)}function fb(t){return 1/Math.cosh(t)}function vb(t){return Math.sin(t)}function bb(t){return Math.sinh(t)}function yb(t){return Math.tan(t)}function wb(t){return Math.tanh(t)}function xb(t){return Math.abs(t)}function kb(t){if(t<0)throw new Error("#NUM");return Math.ceil(t)}function Cb(t){return(t=Math.ceil(t))%2==0?t:t+1}function Mb(t){return Math.pow(Math.E,t)}function _b(t){return t<0?-1:0==t?1:t*_b(t-1)}function Sb(t){return t<=0?1:t*Sb(t-2)}function Eb(t){return Math.floor(t)}function zb(t){return t%1!=0}function Rb(t){return!zb(t)&&t%2==0}function Ib(t){return zb(t)||t%2==1}function Lb(t){return Math.log(t)}function Hb(t,e){return Math.log(t)/Math.log(e)}function Tb(t){return Math.log10(t)}function Ab(t,e){return t%e}function Ob(t){return(t=Math.ceil(t))%2==0?t+1:t}function $b(t,e){return Math.pow(t,e)}function Db(...t){let e=1;return _v(t,(t=>e*=t||1)),e}function Nb(t,e){return Math.floor(t/e)}function Pb(t){return t*Math.PI/180}function jb(){return Math.random()}function Vb(t,e){const i=Array(t).fill(null).map((()=>Array(e)));for(let o=0;o<t;o++)for(let t=0;t<e;t++)i[o][t]=Math.random();return i}function Bb(t,e){return t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t+1))+t}function Fb(t,e){return t.toFixed(e)}function Wb(t,e){return e=e||0,Math.floor(t*Math.pow(10,e))/Math.pow(10,e)}function Ub(t,e){return e=e||0,Math.ceil(t*Math.pow(10,e))/Math.pow(10,e)}function Gb(t,e,i=1,o=1){const n=Array(t).fill(null).map((()=>Array(e)));let r=i;for(let i=0;i<t;i++)for(let t=0;t<e;t++)n[i][t]=r,r+=o;return n}function Yb(t){return t<0?-1:t>0?1:0}function qb(t){return Math.sqrt(t)}function Zb(t){return Math.sqrt(Math.PI*t)}function Xb(...t){let e=0;return _v(t,(t=>e+=null==t?0:1)),e}function Qb(...t){let e=0;return _v(t,(t=>e+=null==t?1:0)),e}function Kb(t,e){let i=0;return _v(t,(t=>i+=tv(e,t)?1:0)),i}function Jb(...t){let e=0;const i=new Map;return _v(t,(t=>{i.has(t)||(i.set(t,t),++e)})),e}function ty(...t){let e=0;return _v(t,(t=>e+=isNaN(t)||null==t||""===t?0:t)),e}function ey(t,e,i){let o=0;if(i){const n=Mv(i);_v(t,((t,i,r)=>o+=tv(e,t)&&n[i]&&n[i][r]&&!isNaN(n[i][r])?n[i][r]:0))}else _v(t,(t=>o+=tv(e,t)&&!isNaN(t)?t:0));return o}function iy(t,e){let i=0;return _v(t,(t=>i+=tv(e,t)&&!isNaN(t)?t*t:0)),i}function oy(...t){let e=0;const i=t.shift();if(0===t.length)_v(i,(t=>e+=isNaN(t)?0:t));else{const o=Mv(t[0]);_v(i,((t,i,n)=>e+=o[i]&&o[i][n]&&!isNaN(t)&&!isNaN(o[i][n])?t*o[i][n]:0))}return e}function ny(t,e){return t=null==t?"":t.toString(),e?e=>e==t:(t=t.toLowerCase(),e=>(e??"").toString().toLowerCase()==t)}function ry(t,e,i=1){const o=new fv(Math.max((e||0)-1,0),Math.max((t||0)-1,0));return 1!=i&&2!=i||(o.r1Anchor=!0),1!=i&&3!=i||(o.c1Anchor=!0),o.A1}function sy(t,e,i,o=!1){let n,r;const s=ny(t,o);for(n=0;n<e.length;n++)for(r=0;r<e[n].length;r++)if(s(e[n][r]))return e[n][i-1];return null}function ay(t,e,i,o=!1){let n,r;const s=ny(t,o);for(n=0;n<e.length;n++)for(r=0;r<e[n].length;r++)if(s(e[n][r]))return e[i-1][r];return null}function ly(t,e,i){let o,n;t:for(o=0;o<e.length;o++)for(n=0;n<e[o].length;n++)if(e[o][n]==t)break t;return i?i[o]?i[o][n]:null:e[o][e[o].length-1]}function cy(t,...e){let i=null,o=0;return _v(e,(e=>{if(t==++o)return i=e,!1})),i}function hy(t){return(t?fv.fromA1(t).c1:this.cell.c)+1}function dy(t){return(t?fv.fromA1(t).r1:this.cell.r)+1}function uy(t){return Array.isArray(t)?t[0]?.length:1}function py(t){return Array.isArray(t)?t.length:1}function gy(){const t=kv(this)[0];return t&&t.hasFormula?" "+Rv(t.formula):""}function my(t,e,i){return e=e||1,i=i||1,Array.isArray(t)?t[e-1]?t[e-1][i-1]:null:1==e&&1==i?t:null}function fy(t){const e=this.cell,i=e.model,o=i.getCellByA1(t);let n;return i.calculations.dependencies.cellDependencies.has(e.address)?n=i.calculations.dependencies.cellDependencies.get(e.address):(n=new Map,i.calculations.dependencies.cellDependencies.set(e.address,n)),n.set(o.address,[o.range]),i.calculations.dependencies.cellDependants.has(o.address)?n=i.calculations.dependencies.cellDependants.get(o.address):(n=new Map,i.calculations.dependencies.cellDependants.set(o.address,n)),n.set(e.address,[e.range]),o.value}function vy(t,e,i=0){let o,n;for(o=0;o<e.length;o++)for(n=0;n<e[o].length;n++){if(0==i&&e[o][n]==t)return Math.max(o+1,n+1);if(1==i&&e[o][n]>t)return Math.max(o+1,n+1);if(-1==i&&e[o][n]<t)return Math.max(o+1,n+1)}return null}function by(t,e,i,o,n){const r=kv(this)[0],s=[];o=o||1,n=n||1;for(let t=0;t<o;t++){const o=[];for(let s=0;s<n;s++){const n=r.model.rows[r.r+t+e].cell(r.c+s+i);o.push(n?r.value:null)}s.push(o)}return s}function yy(t,e){const i=[];if(t.length==e.length)for(let o=0;o<t.length;o++){let n=!0;for(let t=0;t<e[o].length;t++)if(!e[o][t]){n=!1;break}n&&i.push(t[o])}return i}const wy=[[3.1611237438705655,113.86415415105016,377.485237685302,3209.3775891384694,.18577770618460315],[.5641884969886701,8.883149794388377,66.11919063714163,298.6351381974001,881.952221241769,1712.0476126340707,2051.0783778260716,1230.3393547979972,2.1531153547440383e-8],[.30532663496123236,.36034489994980445,.12578172611122926,.016083785148742275,.0006587491615298378,.016315387137302097]],xy=[[23.601290952344122,244.02463793444417,1282.6165260773723,2844.236833439171],[15.744926110709835,117.6939508913125,537.1811018620099,1621.3895745666903,3290.7992357334597,4362.619090143247,3439.3676741437216,1230.3393548037495],[2.568520192289822,1.8729528499234604,.5279051029514285,.06051834131244132,.0023352049762686918]];function ky(t){const e=t*t;let i,o=wy[0][4]*e,n=e;for(i=0;i<3;i+=1)o=(o+wy[0][i])*e,n=(n+xy[0][i])*e;return t*(o+wy[0][3])/(n+xy[0][3])}function Cy(...t){let e=!0;return _v(t,(t=>{if(!t)return e=!1})),e}function My(...t){let e=!1;return _v(t,(t=>{if(t)return e=!0})),e}function _y(...t){let e=null;return _v(t,(t=>{e=null===e?!!t:!!t!=e})),e}function Sy(...t){const e=t[0];for(let i=1;i<t.length;i+=2){if(i==t.length-1)return t[i];if(e==t[i])return t[i+1]}return null}function Ey(t,e,i){return t?e:i}function zy(t){return!t}function Ry(){return!1}function Iy(){return!0}function Ly(t,e){return e=""===e?null:e,this.cell.hasError?(this.cell.error.handled=!0,e):t===1/0||t===-1/0||Number.isNaN(t)?e:t}var Hy=i(235),Ty=i.n(Hy),Ay=i(5949),Oy=i.n(Ay);function $y(...t){let e=0,i=0;return _v(t,(t=>{null==t||isNaN(t)||(e+=t||0,++i)})),e/i}function Dy(t,e){const i=Oy()(),o=Mv(t),n=Mv(e);for(let t=0;t<o.length;t++)for(let e=0;e<o[t].length;e++)i(o[t][e],(n[t]?n[t][e]:1)??1);return i()}function Ny(...t){const e=function(t){const e=[];return _v(t,(t=>e.push(t))),e}(t),i=Ty()(e.length,e,1);return e.reduce(((t,e)=>t+Math.abs(e-i)),0)/e.length}function Py(...t){let e=1/0;return _v(t,(t=>e=Math.min(e,t))),e}function jy(...t){let e=-1/0;return _v(t,(t=>e=Math.max(e,t))),e}function Vy(t,e){Object.keys(e).forEach((i=>t.set(st(i,"_").replace(/_/g,".").toUpperCase(),e[i])))}const By=new Map;Vy(By,_),Vy(By,S),Vy(By,E),Vy(By,z),Vy(By,I),Vy(By,R),Vy(By,L);class Fy{constructor(t){this.model=t,this.getModel=t=>{const e=t?this.model.getConnectedModel(t):this.model;if(e)return e;throw new Error(`Sheet "${t}" not found`)},this.cl=(t,e)=>{const i=this.getModel(e);if(null==t)return this.currentCell.value;const o=i.getCellByA1(t);return o?o.value:(this.currentCell.error={message:`undefined cell ${t}`},null)},this.rn=(t,e)=>this.getModel(e).getValuesInRange(fv.fromA1(t)),this.nv=(t,e)=>this.getModel(e).getCellByName(t,this.currentCell.range).value,this.nr=(t,e)=>{const i=this.getModel(e).getValueMatrixByName(t);return 1===i.length&&1===i[0].length?i[0][0]:i},this.fn=t=>{const e=By.get(t);if(e)return e;throw new Error(`Function "${t}" not found`)},this.op=(t,e,i)=>sv(t,e,i)}}function Wy(t,e){const i=Array(e).fill(null);let o=0,n=[];if(t.length>1){n=t.map((t=>parseFloat(t.value)||0)),o=n[1]-n[0];for(let t=2;t<n.length;t++)if(n[t]-n[t-1]!==o){o=0;break}}if(0==o)for(let o=0;o<e;o++)i[o]=t[o%t.length]?.value;else{let t=n[n.length-1];for(let n=0;n<e;n++)t=i[n]=t+o}return i}function Uy(t,e,i){const o=new Av(t.formula,t.model.calculations.tokenizer),n=[];for(let t=0;t<i;t++)n.push(Rv(o.shift({index:0,offset:1,direction:e,allSheets:!0}).createFormulaString()));return n}function Gy(t,e,i,o){const n=t.getCellMatrix(e);let r;"right"==o?r=An(n):"down"==o?r=Tn(n):"left"==o?r=Ln(n):"up"==o&&(r=Ln(Tn(n)));const s=new Array(i.size.rows);for(let t=0;t<i.size.rows;t++){s[t]=new Array(i.size.columns);for(let e=0;e<i.size.columns;e++){const i=n.length>t?n[t][n[t].length>e?e:0]:n[0][e];s[t][e]=i.hasDisplayValue?i.displayValue:null}}const a=i.size["down"==o||"up"==o?"rows":"columns"];let l=r.map((t=>t[t.length-1].hasFormula?Uy(t[t.length-1],o,a):Wy(t,a)));return"down"==o?l=Tn(l):"left"==o?l=Ln(l):"up"==o&&(l=Hn(Tn(l))),t.spillValues({cell:t.getCellByRange(i.bounds[0][0]),values:l,propertyCell:t.getCellByRange(e.bounds[0][0]),displayValues:s})}function Yy(t){return t.pattern&&"string"==typeof t.pattern&&(t.pattern=new RegExp(t.pattern)),t}function qy(t,e){const i=t.validation;if(!i)return!0;if(i.allowInvalid)return!0;let o=!0;return i.pattern&&(i.pattern.test((e??"").toString())||(o=!1)),i.validate&&(i.validate(t,e)||(o=!1)),o}class Zy{get address(){return null}get renderer(){return this._renderer}set renderer(t){this._renderer=t}get afterRenderer(){return this._afterRenderer}set afterRenderer(t){this._afterRenderer=t}get commentRenderer(){return this._commentRenderer}set commentRenderer(t){this._commentRenderer=t}get type(){return this._type}set type(t){this._type=t}get name(){return this._name}set name(t){this._name=t}get style(){return this._style}set style(t){this._style=t}get commentable(){return this._commentable}set commentable(t){this._commentable=t}get clickable(){return this._clickable}set clickable(t){this._clickable=t}get editable(){return this._editable}set editable(t){this._editable=t}get validation(){return this._validation}set validation(t){this._validation=t}get hasFormula(){return!!this._formula}get formula(){return this._formula}set formula(t){this._formula=t?t.replace(/^=/,""):null}get value2(){return this.hasFormula?Rv(this.formula):null}get editorContent(){return this._editorContent}set editorContent(t){this._editorContent=t}get adapter(){return this._adapter}set adapter(t){this._adapter=t}get properties(){return this._properties}set properties(t){this._properties=t}getProperty(t){return this._properties?.[t]}setProperty(t,e){this._properties||(this._properties={}),this._properties[t]=e}get format(){return this._format}set format(t){this._format=t,this._valueFormatter=null}get valueFormatter(){return this._valueFormatter}constructor(t,e){this.model=t,this._type=null,this._clickable=!1,e&&this.populate(e)}populate(t){this._renderer=t.renderer,this._afterRenderer=t.afterRenderer,this._commentRenderer=t.commentRenderer,this._name=t.name,this._type=t.t,this._editorContent=t.content,this._adapter=t.adapter,this._format=t.z,this._formula=t.f,this._editable=t.e,this._commentable=t.commentable,this._clickable=t.clickable,this._validation=t.validation?Yy(t.validation):null,this._properties=t.props,this._style=null==t.s?null:this.model.styles.add(t.s).id}update(t){const e={};if("renderer"in t&&(e.renderer=this._renderer,this._renderer=t.renderer),"afterRenderer"in t&&(this._afterRenderer=t.afterRenderer),"commentRenderer"in t&&(this._commentRenderer=t.commentRenderer),"name"in t&&(e.name=this._name,this._name=t.name),"t"in t&&(e.t=this._type,this._type=t.t),"content"in t&&(e.content=this._editorContent,this._editorContent=t.content),"adapter"in t&&(e.adapter=this._adapter,this._adapter=t.adapter),"z"in t&&(e.z=this._format,this._format=t.z),"f"in t&&(e.f=this._formula,this._formula=t.f),"e"in t&&(e.e=this._editable,this._editable=t.e),"commentable"in t&&(e.commentable=this._commentable,this._commentable=t.commentable),"clickable"in t&&(e.clickable=this._clickable,this._clickable=t.clickable),"validation"in t&&(e.validation=this._validation,this._validation=Yy(t.validation)),"props"in t&&(e.props=this._properties,this._properties=t.props),"s"in t){const i=this.model.styles.add(t.s).id;this._style!==i&&(e.s=this._style,this._style=i)}return e}getSourceData(){const t={};return null!=this._type&&(t.t=this._type),null!=this._format&&(t.z=this._format),null!=this._formula&&(t.f=this._formula),null!=this._editable&&(t.e=this._editable),null!=this._commentable&&(t.commentable=this._commentable),null!=this._clickable&&(t.clickable=this._clickable),this._properties&&(t.props=nt(this._properties)),null!=this._editorContent&&(t.content=Z(this._editorContent)?nt(this._editorContent):this._editorContent),null!=this._style&&(t.s=this._style),null!=this._name&&(t.name=this._name),t}setStyleProperties(t,e=!1){this.style=e?this.model.styles.set(this.style,t).id:this.model.styles.duplicate(this.style,t).id}removeStyleProperties(t){null!==this.style&&this.model.styles.unset(this.style,t)}get composedStyle(){return this.model.styles.get(this.style)}}function Xy(t){const e={};return t.split(";").forEach((t=>{const[i,o]=t.split(":");e[i]=o.trim()})),e}const Qy=new Map([["thin",{width:1.5,style:"solid"}],["medium",{width:2,style:"solid"}],["thick",{width:3,style:"solid"}],["double",{width:3,style:"double"}],["dotted",{width:1.5,style:"dotted"}],["hair",{width:1,style:"solid"}],["dashed",{width:1.5,style:"dashed"}],["mediumDashed",{width:2,style:"dashed"}],["dashDot",{width:1.5,style:"dashed"}],["mediumDashDot",{width:2,style:"dashed"}],["dashDotDot",{width:1.5,style:"dotted"}],["mediumDashDotDot",{width:2,style:"dotted"}],["slantDashDot",{width:1.5,style:"dashed"}],["none",{width:1.5,style:"solid"}]]),Ky=(()=>{const t=new Map;return Qy.forEach(((e,i)=>{let o=t.get(e.style);o||(o=t.set(e.style,new Map).get(e.style)),o.set(e.width,i)})),t})();function Jy(t){return"middle"==t?"center":t}function tw(t){return 3==(t="#"==t.charAt(0)?t.substring(1):t).length?t[0]+t[0]+t[1]+t[1]+t[2]+t[2]:t}const ew=t=>{if("none"==t)return null;const e=t.split(" "),i=parseInt(e[0].charAt(0))||1,o=e.length>1?e[1]:"solid",n=Ky.get(o);return{style:(n?n.get(i):null)??"thin",color:e.length>2?tw(e[2]):"CCCCCC"}},iw=t=>{const e=Qy.get(t.style||"none");return e?[$t(e.width),e.style,"none"==t.style?"var(--og-cell-background)":t.color?`#${t.color}`:"var(--og-border-color)"].join(" "):"none"},ow=(t,e)=>{const i="#"+(e.fgColor||"000000"),o="#"+(e.bgColor||"FFFFFF");switch(e.patternType){case"solid":t.backgroundColor=i||o;break;case"darkGray":t.backgroundColor=kn(o,.75);break;case"mediumGray":t.backgroundColor=kn(o,.5);break;case"lightGray":t.backgroundColor=kn(o,.25);break;case"gray125":t.backgroundColor=kn(o,.125);break;case"gray0625":t.backgroundColor=kn(o,.0625);break;case"darkHorizontal":t.backgroundImage=`linear-gradient(0deg, ${i} 33.33%, ${o} 33.33%, ${o} 50%, ${i} 50%, ${i} 83.33%, ${o} 83.33%, ${o} 100%)`,t.backgroundSize="6px 6px";break;case"darkVertical":t.backgroundImage=`linear-gradient(90deg, ${i} 33.33%, ${o} 33.33%, ${o} 50%, ${i} 50%, ${i} 83.33%, ${o} 83.33%, ${o} 100%)`,t.backgroundSize="6px 6px";break;case"darkDown":t.backgroundImage=`linear-gradient(45deg, ${i} 33.33%, ${o} 33.33%, ${o} 50%, ${i} 50%, ${i} 83.33%, ${o} 83.33%, ${o} 100%)`,t.backgroundSize="6px 6px";break;case"darkUp":t.backgroundImage=`linear-gradient(-45deg, ${i} 33.33%, ${o} 33.33%, ${o} 50%, ${i} 50%, ${i} 83.33%, ${o} 83.33%, ${o} 100%)`,t.backgroundSize="6px 6px";break;case"lightHorizontal":t.backgroundImage=`linear-gradient(0deg, ${o} 25%, ${i} 25%, ${i} 50%, ${o} 50%, ${o} 75%, ${i} 75%, ${i} 100%)`,t.backgroundSize="4px 4px";break;case"lightVertical":t.backgroundImage=`linear-gradient(90deg, ${o} 25%, ${i} 25%, ${i} 50%, ${o} 50%, ${o} 75%, ${i} 75%, ${i} 100%)`,t.backgroundSize="4px 4px";break;case"lightDown":t.backgroundImage=`linear-gradient(45deg, ${o} 25%, ${i} 25%, ${i} 50%, ${o} 50%, ${o} 75%, ${i} 75%, ${i} 100%)`,t.backgroundSize="4px 4px";break;case"lightUp":t.backgroundImage=`linear-gradient(-45deg, ${o} 25%, ${i} 25%, ${i} 50%, ${o} 50%, ${o} 75%, ${i} 75%, ${i} 100%)`,t.backgroundSize="4px 4px";break;case"darkGrid":t.backgroundImage=`linear-gradient(${o} 0.5px, transparent 0.5px), linear-gradient(90deg, ${o} 0.5px, transparent 0.5px)`,t.backgroundSize="2px 2px";break;case"lightGrid":t.backgroundImage=`linear-gradient(${o} 0.5px, transparent 0.5px), linear-gradient(90deg, ${o} 0.5px, transparent 0.5px)`,t.backgroundSize="1px 1px";break;case"darkTrellis":t.backgroundImage=`linear-gradient(45deg, ${o} 0.5px, transparent 0.5px), linear-gradient(90deg, ${o} 0.5px, transparent 0.5px)`,t.backgroundSize="2px 2px";break;case"lightTrellis":t.backgroundImage=`linear-gradient(45deg, ${o} 0.5px, transparent 0.5px), linear-gradient(90deg, ${o} 0.5px, transparent 0.5px)`,t.backgroundSize="1px 1px"}return t},nw=(t,e)=>(t.backgroundImage=`linear-gradient(${(e.angle??0)+90}deg,${e.stops.map((t=>`#${t.rgb} ${100*t.v}%`)).join(",")})`,t),rw=t=>{const e=t.cssStyle?{...t.cssStyle}:{};return null!=t.bold&&(e.fontWeight=t.bold?"bold":"normal"),t.italic&&(e.fontStyle="italic"),t.underline?e.textDecoration="underline":t.strike&&(e.textDecoration="line-through"),t.sz&&(e.fontSize=Ot(t.sz)),t.color&&(e.color="#"+t.color),t.top&&(e.borderTop=iw(t.top)),t.right&&(e.borderRight=iw(t.right)),t.bottom&&(e.borderBottom=iw(t.bottom)),t.left&&(e.borderLeft=iw(t.left)),(t.top||t.right||t.bottom||t.left)&&(e.zIndex="1"),t.alignment&&t.alignment.vertical&&(e.display="flex",e.justifyContent=t.alignment.horizontal,e.alignItems="top"==t.alignment.vertical?"start":"bottom"==t.alignment.vertical?"end":"center"),t.alignment&&t.alignment.horizontal&&(e.textAlign=t.alignment.horizontal),t.alignment&&t.alignment.wrapText&&(e.display="flex",e.justifyContent=e.justifyContent??e.textAlign??"left",e.alignItems=e.alignItems??"center",e.whiteSpace="pre-wrap"),t.patternType?ow(e,t):t.stops&&t.stops.length?nw(e,t):t.fgColor?e.backgroundColor="#"+t.fgColor:t.bgColor&&(e.backgroundColor="#"+t.bgColor),e},sw=t=>{const e=Z(t)?t:Xy(t),i={};let o;for(const t in e){const n=e[t];if(null!=n)switch(t){case"borderTop":case"border-top":i.top=ew(n);break;case"borderTopColor":case"border-top-color":i.top?i.top.color=tw(n):i.top={style:"thin",color:tw(n)};break;case"borderRight":case"border-right":i.right=ew(n);break;case"borderRightColor":case"border-right-color":i.right?i.right.color=tw(n):i.right={style:"thin",color:tw(n)};break;case"borderBottom":case"border-bottom":i.bottom=ew(n);break;case"borderBottomColor":case"border-bottom-color":i.bottom?i.bottom.color=tw(n):i.bottom={style:"thin",color:tw(n)};break;case"borderLeft":case"border-left":i.left=ew(n);break;case"borderLeftColor":case"border-left-color":i.left?i.left.color=tw(n):i.left={style:"thin",color:tw(n)};break;case"border":o=ew(n),i.top=i.top||o,i.right=i.right||o,i.bottom=i.bottom||o,i.left=i.left||o;break;case"textAlign":case"text-align":i.alignment=i.alignment||{},i.alignment.horizontal=n;break;case"verticalAlign":case"vertical-align":i.alignment=i.alignment||{},i.alignment.vertical=Jy(n);break;case"whiteSpace":case"white-space":i.alignment=i.alignment||{},i.alignment.wrapText=n&&"nowrap"!=n;break;case"color":i.color=tw(n);break;case"background":case"backgroundColor":i.fgColor=tw(n);break;case"fontSize":case"font-size":i.sz=parseFloat(n);break;case"fontWeight":case"font-weight":i.bold="bold"==n;break;case"fontStyle":case"font-style":i.italic="italic"==n;break;default:i[t]=n}}return i},aw={n:t=>{const e=Q(t)?parseFloat(t):t;return Number.isNaN(e)?t:e},t:t=>t,d:(t,e)=>{if(null==t||""===t)return null;if(Q(t))try{return K(t)?J(t):Wo(Oo(t,e.model.options.formatLocale))}catch(i){return e.model.logger.error(`Invalid date value in cell ${e.address}: ${t}`),null}return t instanceof Date?Wo(t):t},tm:t=>Q(t)?new Date(t):t,dt:t=>Q(t)?new Date(t):t,b:t=>!!t&&"0"!==t&&"false"!==t.toString().toLowerCase(),s:t=>t,m:t=>t,g:t=>{if(null==t||""===t)return null;const e=parseFloat(t);return isNaN(e)?t:e},a:t=>Q(t)&&""!==t?JSON.parse(t):t,h:t=>t},lw=new Map;class cw extends Zy{get tooltip(){return this._tooltip}set tooltip(t){this._tooltip=t}get hasTooltip(){return null!=this._tooltip}get rowspan(){return this._rowspan}set rowspan(t){this._rowspan=t}get colspan(){return this._colspan}set colspan(t){this._colspan=t}get row(){return this._row}get r(){return this._row.index}set row(t){this._row=t,this._address=null}get column(){return this._column}set column(t){this._column=t,this._address=null}get c(){return this._column.index}get hasValue(){return null!=this._value}get value(){return this._evaluated||this.evaluate(),this._value}set value(t){if(t&&zv(t.toString()))this._value=void 0,this.formula=t;else{let e=aw[this.type](t,this);qy(this,e)||(e=void 0),e!==this._value&&(this._value=e,this._displayValue=void 0),this.row.data&&this.column.data&&(this.row.data[this.column.data]=this._value)}}evaluate(){return this._value=aw[this.type](this.model.calculations.evaluate(this),this),this._evaluated=!0,this._value}get value2(){return this.hasFormula?Rv(this.formula):this.value}get hasDisplayValue(){return null!=this._displayValue}get displayValue(){return this._displayValue}set displayValue(t){this._displayValue=t}get prefersDisplayValue(){return["s","m"].includes(this.type)}get error(){return this._error}set error(t){this._error=t}get hasError(){return!!this._error}clearError(){this._error=void 0}get spillRange(){return this._spillRange}get prevSpillRange(){return this._prevSpillRange}set spillRange(t){!this._spillRange||t&&this._spillRange.equals(t)||(this._prevSpillRange=this._spillRange),this._spillRange=t}get isSpillSource(){return null!=this._spillRange}get spillSource(){return this._spillSource}get isSpilled(){return null!=this._spillSource}spillValue(t,e){this.value=t,this._spillSource=e}clearSpilledValue(){this._spillSource=void 0,this._value=void 0}get hasSparkline(){return null===this._sparkline?this._sparkline=this.model.sparklines.has(this.address):this._sparkline}get hasComment(){return null===this._hasComment?this._hasComment=(this.model.comments.get(this.address)??[]).length>0:this._hasComment}get comments(){return this.model.comments.get(this.address)}get valueFormatter(){const t=super.valueFormatter??this.row.valueFormatter??this.column.valueFormatter;if(t)return t;const e=this.type,i=this.format,{formatLocale:o,fixNumberFormat:n}=this.model.options,r=this.value;if(null==r||""===r)return null;if("n"==e)return null!=i?Jo(o,i,n):this.model.options.numberFormatter;if("g"==e){if(null!=i)return Jo(o,i,n);if(tt(r))return this.model.options.numberFormatter}else{if("t"==e)return null==i?null:Jo(o,i,!1);if("d"==e)return i?$o(o,i):this.model.options.dateFormatter;if("s"==e&&this.editorContent)return(t=>{if(t=t||null,!lw.has(t))if(t){const e=t.reduce(((t,e)=>t.set(e.k,e.v)),new Map);lw.set(t,(t=>e.has(t)?e.get(t):t))}else lw.set(t,(t=>t));return lw.get(t)})(this.editorContent)}return null}get formattedValue(){return null==this.value?"":this.hasDisplayValue?this.displayValue:this.valueFormatter?this.valueFormatter(this.value):this.value.toString()}get elm1(){return this.row.priority>=this.column.priority?this.row:this.column}get elm2(){return this.row.priority<this.column.priority?this.row:this.column}get clickable(){return super.clickable??this.elm1.clickable??this.elm2.clickable}get type(){return super.type??this.elm1.type??this.elm2.type??"g"}set type(t){this._type=t}get editorContent(){return super.editorContent??this.elm1.editorContent??this.elm2.editorContent??null}get adapter(){return super.adapter??this.elm1.adapter??this.elm2.adapter}set adapter(t){this._adapter=t}get address(){return this._address??(this._address=this.column.address+this.row.address)}get range(){return fv.fromA1(this.address)}get validation(){return super.validation??this.elm1.validation??this.elm2.validation??this.model.options.cellValidation}get editable(){return super.editable??this.elm1.editable??this.elm2.editable??this.model.options.editable}set editable(t){this._editable=t}get commentable(){return super.commentable??this.elm1.commentable??this.elm2.commentable??this.model.options.commentable}get renderer(){return super.renderer??this.elm1.renderer??this.elm2.renderer}get afterRenderer(){return super.afterRenderer??this.elm1.afterRenderer??this.elm2.afterRenderer??this.model.options.afterRenderer}get commentRenderer(){return super.commentRenderer??this.elm1.commentRenderer??this.elm2.commentRenderer??this.model.options.comments.renderer}get format(){return super.format??this.elm1.format??this.elm2.format}set format(t){super.format=t}get hyperlink(){return this._hyperlink}set hyperlink(t){this._hyperlink=t}get hasOwnFormula(){return!!this._formula}get hasFormula(){return null==this._hasFormula&&(this._hasFormula=!!this.formula),this._hasFormula}get formula(){return this._formula??this.elm1.formula??this.elm2.formula}set formula(t){super.formula=t,this.refreshFormula()}invalidateValue(){this.hasFormula?(this._value=void 0,this._evaluated=!1):this._evaluated=!0,this.clearError()}refreshFormula(){this.invalidateValue(),this._hasFormula=null}clearFormula(){this._formula=null,this._hasFormula=!1,this._evaluated=!0}constructor(t,e){super(t),this._evaluated=!0,this._sparkline=null,this._hasComment=null,this._hasStyle=null,this.row=t.rows[e.r],this.column=t.columns[e.c],this.populate(e)}populate(t){super.populate(t),this._colspan=t.cs??1,this._rowspan=t.rs??1,this._tooltip=t.tooltip,this._hyperlink=t.hl,null!=t.f&&""!==t.f?this._evaluated=!1:null!=t.v&&(this.value=t.v),this._displayValue=t.dv}update(t){const e=super.update(t);return"cs"in t&&(e.cs=this._colspan,this._colspan=t.cs),"rs"in t&&(e.rs=this._rowspan,this._rowspan=t.rs),"tooltip"in t&&(e.tooltip=this._tooltip,this._tooltip=t.tooltip),"hl"in t&&(e.hl=this._hyperlink,this._hyperlink=t.hl),"f"in t?this._evaluated=!1:"v"in t&&(e.v=this.value,this.value=t.v),"dv"in t&&(e.dv=this._displayValue,this._displayValue=t.dv),e}getSourceData(t){const e=super.getSourceData();return this._colspan>1&&(e.cs=this._colspan),this._rowspan>1&&(e.rs=this._rowspan),null!=this.value&&(e.v=this.value),this.hasTooltip&&(e.tooltip=this._tooltip),this._hyperlink&&(e.hl=this._hyperlink),t&&t.displayValue&&this.hasDisplayValue&&(e.dv=this._displayValue),e}createComposedStyle(t,e,i){const o=[];return t=t||this.column.style,e=e||this.row.style,null!=t&&null!=e?this.column.priority>this.row.priority?o.push(e,t):o.push(t,e):null!=t?o.push(t):null!=e&&o.push(e),null!=this.style&&o.push(this.style),null!=i&&o.push(i),o.length>0?this.model.styles.merge(...o):null}get composedStyle(){if(null===this._hasStyle){const t=this.createComposedStyle(null,null,this.model.conditionalFormats.evaluate(this));this._hasStyle=null!=t,this._composedStyle=t}return this._composedStyle}get calculatedIndent(){const t=this.composedStyle;return t?.alignment?.indent?t.alignment.indent:this.column.levelIndent&&this.row.level>0?this.row.level*this.model.options.levelIndentFactor:null}get cssStyle(){if(!1===this._hasStyle)return null;if(!this._cssStyle){const t=this.composedStyle;t&&(this._cssStyle=rw(t))}return this._cssStyle}invalidateStyle(){this._hasComment=null,this._hasStyle=null,this._composedStyle=null,this._cssStyle=null,this._sparkline=null}setStyleProperties(t){super.setStyleProperties(t),this.invalidateStyle()}removeStyleProperties(t){super.removeStyleProperties(t),this.invalidateStyle()}previewStyleProperties(t,e="cell"){const i=Object.assign({},this.createComposedStyle("column"==e?t:null,"row"==e?t:null)??{});if("cell"==e)for(const e in t)i[e]=t[e];this._hasStyle=!0,this._cssStyle=rw(i)}validate(){return!this.validation||qy(this,this.value)}toString(){return this.address}}const hw={property:"value",enabled:!0};class dw extends(vn(Zy)){get comparer(){return this._comparer}set comparer(t){this._comparer=t}get filter(){return this._filter??(this.model.options.filters?.enabled?hw:{enabled:!1})}set filter(t){this._filter=t}get hasFilter(){return this.filter.enabled}get sorting(){return this._sorting??this.model.options.columnSorting}set sorting(t){this._sorting=t}get width(){return this._width??this.model.options.columnWidth}set width(t){this._width=t}get levelIndent(){return this._levelIndent}set levelIndent(t){this._levelIndent=t}get levelButtons(){return this._levelButtons}set levelButtons(t){this._levelButtons=t}get priority(){return this._priority}set priority(t){this._priority=t}get address(){return yv(this.index)}get range(){return new fv(this.index,null,this.index,null)}get hasFormula(){return!!this._formula}get formula(){return this._formula}set formula(t){super.formula=t;const e=this.index;this.model.rows.forEach((t=>t.cells[e]?.refreshFormula()))}constructor(t,e){super(t,e),null==this._priority&&(this._priority=t.options.columnPriority)}get mergedHeaders(){return this._mergedHeaders??(this._mergedHeaders=this._header?.filter((t=>t.cs>1||t.rs>1))??[])}updateMergedHeaders(){this._mergedHeaders=null}set header(t){this._mergedHeaders=null,this._header=t}get header(){if(!this._header||this._header.length<this.model.headerCount){this._header=this._header??[];for(let t=this._header.length;t<this.model.headerCount;t++)this._header.push({r:t})}return this._header}convertSourceHeader(t){return Array.isArray(t)?t.map(((t,e)=>(null==(t=t??{r:e}).height&&(t.height=t.h),t.r=e,null==t.style&&(t.style=t.s),t._style=null==t.style?null:this.model.styles.add(t.style).id,t))):Q(t)?[{label:t,r:0}]:null}populate(t){super.populate(t),this._width=null==t.w||"auto"==t.w?null:t.w,this._levelIndent=t.levelIndent,this._levelButtons=t.levelButtons,this._header=this.convertSourceHeader(t.header),this._sorting=t.sorting,this._filter=Z(t.filter)?Object.assign({enabled:!0},t.filter):t.filter?hw:!1===t.filter?{enabled:!1}:null,this._comparer=t.comparer,this.data=t.data,this._mergedHeaders=null,null!=t.priority&&(this._priority=t.priority)}getSourceData(){const t=super.getSourceData();return null!=this._width&&(t.w=this._width),null!=this._levelIndent&&(t.levelIndent=this._levelIndent),null!=this._levelButtons&&(t.levelButtons=this._levelButtons),null!=this._header&&(t.header=this._header),null!=this._sorting&&(t.sorting=this._sorting),null!=this._filter&&(t.filter=this._filter),null!=this.data&&(t.data=this.data),t}expand(t){super.expand(t),this.model.indexVisibleColumns()}collapse(){super.collapse(),this.model.indexVisibleColumns()}get prev(){return this.model.columns[this.index-1]}get next(){return this.model.columns[this.index+1]}get prevVisible(){const t=this.model.visibleColumnIndex[this.index];return null==t||0===t?null:this.model.visibleColumns[t-1]}get nextVisible(){const t=this.model.visibleColumnIndex[this.index];return null==t?null:this.model.visibleColumns[t+1]}calculateRealColspan(t){let e=1,i=this.nextVisible;for(;i&&i.index-this.index<t&&e<t;)++e,i=i.nextVisible;return e}cell(t){return this.model.rows[t].cell(this.index)}clearCalculatedValues(){this.model.rows.forEach((t=>{const e=t.cells[this.index];e&&this.model.calculations.refreshFormula(e)}))}}var uw;!function(t){t[t.Asc=1]="Asc",t[t.Desc=-1]="Desc"}(uw||(uw={}));const pw={g:(t,e)=>t.value==e.value?0:t.value>e.value?1:-1,t:(t,e)=>(t.value||"").toString().localeCompare((e.value||"").toString()),s:(t,e)=>t.value==e.value?0:t.value>e.value?1:-1,m:(t,e)=>t.value==e.value?0:t.value>e.value?1:-1,n:(t,e)=>t.value-e.value,d:(t,e)=>(t.value instanceof Date?t.value.getTime():0)-(e.value instanceof Date?e.value.getTime():0),tm:(t,e)=>(t.value instanceof Date?t.value.getTime():0)-(e.value instanceof Date?e.value.getTime():0),dt:(t,e)=>(t.value instanceof Date?t.value.getTime():0)-(e.value instanceof Date?e.value.getTime():0),b:(t,e)=>t.value-e.value,h:(t,e)=>(t.value||"").localeCompare(e.value),a:()=>0},gw={g:(t,e)=>e.value==t.value?0:e.value>t.value?1:-1,t:(t,e)=>(e.value||"").toString().localeCompare((t.value||"").toString()),s:(t,e)=>e.value==t.value?0:e.value>t.value?1:-1,m:(t,e)=>e.value==t.value?0:e.value>t.value?1:-1,n:(t,e)=>e.value-t.value,d:(t,e)=>(e.value instanceof Date?e.value.getTime():0)-(t.value instanceof Date?t.value.getTime():0),tm:(t,e)=>(e.value instanceof Date?e.value.getTime():0)-(t.value instanceof Date?t.value.getTime():0),dt:(t,e)=>(e.value instanceof Date?e.value.getTime():0)-(t.value instanceof Date?t.value.getTime():0),b:(t,e)=>e.value-t.value,h:(t,e)=>(e.value||"").localeCompare(t.value),a:()=>0},mw=(t,e)=>t.origIndex-e.origIndex;class fw{get settings(){return this._settings}set settings(t){this._settings=t,this.colMap.clear(),this.settings.length>0&&(this.settings.forEach(((t,e)=>this.colMap.set(t.c,e))),this.applySort(),gn().info(`sorting applied: ${JSON.stringify(this.settings)}`))}constructor(t,e=[]){this.model=t,this.colMap=new Map,this._settings=[],this.settings=e}get(t){return this.colMap.has(t)?this.settings[this.colMap.get(t)]:null}sort(t,e=null,i=!1){let o=this.get(t);return o&&o.ord==uw.Desc&&null===e?(this.settings.splice(this.colMap.get(t),1),o=null):o?(o.ord=uw.Desc,this.settings.splice(this.colMap.get(t),1)):o={c:t,ord:uw.Asc},o&&(null!==e&&(o.ord=e),this.colMap.set(t,0),this.settings.unshift(o)),this.settings.length>this.model.options.maxSortingColumns&&this.settings.pop(),this.colMap.clear(),this.settings.forEach(((t,e)=>{t.index=e,this.colMap.set(t.c,e)})),i||(this.settings.length>0?this.applySort():this.resetSort()),o}applySort(){const t=this.model,e=this.settings.map((e=>{const i=t.columns[e.c];return i?i.comparer?e.ord==uw.Asc?i.comparer:(t,e)=>-i.comparer(t,e):e.ord==uw.Asc?pw[i.type??"t"]:gw[i.type??"t"]:(gn().warn(`Column sorting: Column with index ${e.c} not found`),null)})).filter((t=>t)),i=e.length;let o,n,r;t.rowRoot.sort(((t,s)=>{if(!1===t.sortable||!1===s.sortable)return t.origIndex-s.origIndex;for(n=0;n<i;n++)if(r=this.settings[n].c,o=e[n](t.cell(r),s.cell(r)),0!=o)return o;return 0})),t.indexRowsByTree()}resetSort(){this.settings=[],this.colMap.clear(),this.model.rowRoot.sort(mw),this.model.indexRowsByTree()}persistSort(){this.model.rows.forEach(((t,e)=>t.origIndex=e))}}class vw{get properties(){return this._properties}set properties(t){this._properties=t}constructor(t){t&&this.pupulate(t)}pupulate(t){this.author=t.author,this.text=t.text,this.date=t.date?new Date(t.date):null,this.data=t.data,this.readOnly=!!t.readOnly,this._properties=t.props}getSourceData(){const t={};return this._properties&&(t.props=this._properties),this.author&&(t.author=this.author),this.text&&(t.text=this.text),this.data&&(t.data=this.data),null!==this.readOnly&&(t.readOnly=this.readOnly),this.date&&(t.date=$o("en-US")(this.date,"yyyy-MM-dd HH:mm:ss")),t}}class bw{constructor(t,e){this.model=t,this._commentMap=new Map,this.has=t=>this._commentMap.has(t),this.delete=t=>this._commentMap.delete(t),this.cleanCell=t=>{this.has(t)&&this._commentMap.set(t,this.get(t).filter((t=>(t.text??"").length>0||null!=t.data)))},this.get=t=>(this.has(t)||this._commentMap.set(t,[]),this._commentMap.get(t)),this.set=(t,e)=>{this._commentMap.set(t,e?.map((t=>t instanceof vw?t:new vw(t)))||[]),this.cleanCell(t)},e&&this.populate(e)}populate(t){t.forEach((t=>{const e=t.a1||new fv(t.c,t.r).A1;this._commentMap.has(e)||this._commentMap.set(e,[]),this._commentMap.get(e).push(new vw(t))})),this._commentMap.forEach((t=>{t.sort(((t,e)=>(e.date?e.date.getTime():0)-(t.date?t.date.getTime():0)))}))}shift(t){Array.from(this._commentMap.keys()).forEach((e=>{const i=fv.fromA1(e);i.shift(t),i.A1!=e&&(this._commentMap.set(i.A1,this._commentMap.get(e)),this._commentMap.delete(e))}))}}function yw(t,e,i){t.forEach((t=>t.forEach((t=>{t[1]==e&&(t[1]=i)}))))}class ww{get cellDependencies(){return this._cellDependencies}get cellDependants(){return this._cellDependants}get rangeDependencies(){return this._rangeDependencies}get rangeDependants(){return this._rangeDependants}get sheetDependencies(){return this._sheetDependencies}get sheetDependants(){return this._sheetDependants}constructor(t,e="calculations"){this.model=t,this.modelPart=e,this._cellDependencies=new Map,this._cellDependants=new Map,this._rangeDependencies=new Map,this._rangeDependants=new Map,this._sheetDependencies=new Map,this._sheetDependants=new Map}clear(){this._cellDependants.clear(),this._cellDependencies.clear(),this._rangeDependencies.clear(),this._rangeDependants.clear()}clearCellDependecies(t){return this._cellDependencies.has(t)&&this._cellDependencies.delete(t),this._rangeDependencies.has(t)&&this._rangeDependants.delete(t),this}has(t){return this._cellDependencies.has(t)||this._rangeDependencies.has(t)}add(t,e,i){const o=fv.fromA1(t).removeAnchors(),n=fv.fromA1(e).removeAnchors();e=n.A1;const r=n.isRange,s=r?this._rangeDependencies:this._cellDependencies;let a=null;if((s.has(t)?s.get(t):s.set(t,new Map).get(t)).set(e,[n,i]),i){const t=this.model.getConnectedModel(i);t&&(t.calculations.dependencies.sheetDependants.set(this.model.name,this.model.name),this.sheetDependencies.set(i,i),a=r?t.calculations.dependencies.rangeDependants:t.calculations.dependencies.cellDependants),i=this.model.name}else a=r?this._rangeDependants:this._cellDependants;a&&(a.has(e)||a.set(e,new Map),a.get(e).set(t,[o,i]))}getDependants(t,e=null){let i,o;const n=t.A1;return e=e??new Map,this._cellDependants.has(n)&&this._cellDependants.get(n).forEach((([t,r])=>{e.has(t)||(r&&(o=this.model.getConnectedModel(r)),i=o||this.model,e.set(t,[i.getCellByRange(t),r]),o?o[this.modelPart].dependencies.getDependants(t).forEach(((t,i)=>{e.set(i,[t[0],t[1]??r])})):(t.A1!=n||o)&&i.calculations.dependencies.getDependants(t,e))})),this._rangeDependants.forEach(((i,o)=>{fv.fromA1(o).contains(t)&&i.forEach((([t,i])=>{e.has(t)||(e.delete(t),this.getDependants(t,e.set(t,[(i?this.model.getConnectedModel(i):this.model).getCellByRange(t),i])))}))})),e}renameSheet(t,e){this._sheetDependants.has(t)&&(this._sheetDependants.delete(t),this._sheetDependants.set(e,e)),this._sheetDependencies.has(t)&&(this._sheetDependencies.delete(t),this._sheetDependencies.set(e,e)),yw(this._cellDependants,t,e),yw(this._cellDependencies,t,e),yw(this._rangeDependants,t,e),yw(this._rangeDependencies,t,e)}}class xw{get dependencies(){return this._dependencies}constructor(t,e){this.model=t,this._dependencies=new ww(t,e)}}function kw(t){return t instanceof RangeError?"Maximum call stack size exceeded"==t.message?"infinite loop":t.message:t.toString()}class Cw extends xw{get tokenizer(){return this._tokenizer}get formulas(){return this._formulas}constructor(t){super(t,"calculations"),this._tokenizer=new pv,this._formulas=new Map,this.context=new Fy(t)}createFormula(t){const e=new Av(t.formula,this.tokenizer);return this._formulas.set(t.address,e),t.hasOwnFormula&&(t.formula=e.createFormulaString()),this.createDependecies(t),e}createDependecies(t){const e=t.address;if(this.formulas.has(e)){const i=this.formulas.get(e);i.ranges.forEach((([t,i,o])=>this._dependencies.add(e,i.A1,o))),i.cells.forEach((([t,i,o])=>this._dependencies.add(e,i.A1,o))),i.variables.forEach((([i,o])=>{const n=this.model.getCellByName(o,t.range);n&&this._dependencies.add(e,n.address,null)}))}return this}refreshFormula(t){return t.refreshFormula(),this.formulas.delete(t.address),this.clearDependecies(t),this}updateDependencies(t){return this.clearDependecies(t).getFormula(t),this}getFormula(t){return this._formulas.has(t.address)?this._formulas.get(t.address):this.createFormula(t)}refresh(){this.dependencies.clear(),this._formulas.clear()}clearDependecies(t){const e=t.address;return this.dependencies.clearCellDependecies(e),this.formulas.delete(e),this}evaluateFormula(t,e){return this.context.currentCell=e,t.fn(this.context,{cell:e,formula:t})}evaluateExpression(t,e){this.context.currentCell=e;const i=new Av(t,this.tokenizer);return i.fn(this.context,{cell:e,formula:i})}evaluate(t,e){if(!t)return null;let i=null;if(t.hasFormula){const o=this.getFormula(t);try{t.clearError(),this.context.currentCell=t,i=o.fn(this.context,{cell:t,formula:o}),Array.isArray(i)?(e||this.model.spillValues({cell:t,values:i}).range,i=i.length>0&&i[0].length>0?i[0][0]:null,e&&(t.value=i)):t.value=i}catch(e){t.error={message:kw(e)}}}else i=t.value;return i}evaluateAll(){this.model.rows.forEach((t=>this.model.columns.forEach(((e,i)=>t.cell(i).evaluate()))))}calculateViewport(t){const e=[];return t.rows.forEach((t=>t.cells.forEach((t=>{if(t.hasFormula){if(!t.hasValue&&(this.evaluate(t),t.spillRange))for(const i of this.model.getRangeIterator(t.spillRange))e.push(i);e.push(t)}})))),e}shift(t){this.getFormulaCells().forEach((e=>{e.formula=this.getFormula(e).shift(t).createFormulaString(!1),this.updateDependencies(e)}));const e=this.model.name;return this.dependencies.sheetDependants.forEach((i=>{const o=this.model.getConnectedModel(i);o?.calculations.getFormulaCells().forEach((i=>{const n=o.calculations.getFormula(i);n.hasSheetReference(e)&&(i.formula=n.shift(t).createFormulaString(!1),o.calculations.updateDependencies(i))}))})),this}getFormulaCells(){const t=this.model,e=[];let i;const o=t.rows.length,n=t.columns.length;for(let r=0;r<o;r++){i=t.rows[r];for(let t=0;t<n;t++)i.hasCellFormula(t)&&e.push(i.cell(t))}return e}renameSheet(t,e){let i=!1;return this.dependencies.renameSheet(t,e),this.getFormulaCells().forEach((o=>{const n=this.getFormula(o);n.renameSheet(t,e)&&(o.formula=n.createFormulaString(),this.refreshFormula(o),i=!0)})),i}invalidateCellDependants(t){const e=[];return this.dependencies.getDependants(t.range).forEach((([t,i])=>{e.push([t,i]),t.invalidateValue()})),e}invalidateDependants(t){const e=new Map,i=new Map;for(const i of t)this.invalidateCellDependants(i).forEach((([t,i])=>e.set(t,i)));e.forEach(((t,e)=>i.set(e,t)));for(const i of t)e.set(i,null);return e.forEach(((t,e)=>{this.model.sparklines.dependencies.getDependants(e.range).forEach((([t,e])=>{i.set(t,e)})),this.model.conditionalFormats.dependencies.getDependants(e.range).forEach((([t,e])=>{this.model.conditionalFormats.invalidateExtremes(t),t.invalidateStyle(),i.set(t,e)}))})),i}}const Mw="#ff0000",_w="#fcd53f",Sw="#00bb5e",Ew="#555555",zw=new Map([["3Arrows",[{icon:["fas","down"],color:Mw},{icon:["fas","right"],color:_w},{icon:["fas","up"],color:Sw}]],["3ArrowsGray",[{icon:["fas","down"],color:Ew},{icon:["fas","right"],color:Ew},{icon:["fas","up"],color:Ew}]],["3Flags",[{icon:["fas","flag-pennant"],color:Mw},{icon:["fas","flag-pennant"],color:_w},{icon:["fas","flag-pennant"],color:Sw}]],["3TrafficLights1",[{icon:["fas","circle"],color:Mw},{icon:["fas","circle"],color:_w},{icon:["fas","circle"],color:Sw}]],["3TrafficLights2",[{icon:["fas","square-o"],color:Mw},{icon:["fas","square-o"],color:_w},{icon:["fas","square-o"],color:Sw}]],["3Signs",[{icon:["fas","square"],rotation:45,color:Mw},{icon:["fas","triangle"],color:_w},{icon:["fas","circle"],color:Sw}]],["3Symbols",[{icon:["fas","circle-xmark"],color:Mw},{icon:["fas","circle-exclamation"],color:_w},{icon:["fas","circle-check"],color:Sw}]],["3Symbols2",[{icon:["fas","xmark"],color:Mw},{icon:["fas","exclamation"],color:_w},{icon:["fas","check"],color:Sw}]],["3Stars",[{icon:["fal","star"],color:_w},{icon:["fas","star-half-stroke"],color:_w},{icon:["fas","star"],color:_w}]],["3Triangles",[{icon:"caret-down",color:Mw},{icon:"dash",color:_w},{icon:"caret-up",color:Sw}]],["4Arrows",[{icon:["fas","down"],color:Mw},{icon:["fas","down-right"],color:_w},{icon:["fas","up-right"],color:_w},{icon:["fas","up"],color:Sw}]],["4ArrowsGray",[{icon:["fas","down"],color:Ew},{icon:["fas","down-right"],color:Ew},{icon:["fas","up-right"],color:Ew},{icon:["fas","up"],color:Ew}]],["4RedToBlack",[{icon:["fas","circle"],color:"#000000"},{icon:["fas","circle"],color:"#b1b1b1"},{icon:["fas","circle"],color:"#edb2a3"},{icon:["fas","circle"],color:Mw}]],["4Rating",[{icon:"signal-bars-weak",color:"#4a7db1"},{icon:"signal-bars-fair",color:"#4a7db1"},{icon:"signal-bars-good",color:"#4a7db1"},{icon:["fas","signal-bars"],color:"#4a7db1"}]],["4TrafficLights",[{icon:["fas","circle"],color:"#000000"},{icon:["fas","circle"],color:Mw},{icon:["fas","circle"],color:_w},{icon:["fas","circle"],color:Sw}]],["5Arrows",[{icon:["fas","down"],color:Mw},{icon:["fas","down-right"],color:_w},{icon:["fas","right"],color:_w},{icon:["fas","up-right"],color:_w},{icon:["fas","up"],color:Sw}]],["5ArrowsGray",[{icon:["fas","down"],color:Ew},{icon:["fas","down-right"],color:Ew},{icon:["fas","right"],color:Ew},{icon:["fas","up-right"],color:Ew},{icon:["fas","up"],color:Ew}]],["5Rating",[{icon:["fal","signal-bars"]},{icon:["fal","signal-bars-weak"],color:"#4a7db1"},{icon:["fal","signal-bars-fair"],color:"#4a7db1"},{icon:["fal","signal-bars-good"],color:"#4a7db1"},{icon:["fas","signal-bars"],color:"#4a7db1"}]],["5Quarters",[{icon:["fal","circle"],color:"#505050"},{icon:["fas","circle-quarter-stroke"],color:"#505050"},{icon:["fas","circle-half-stroke"],color:"#505050"},{icon:["fas","circle-three-quarters-stroke"],color:"#505050"},{icon:["fas","circle"],color:"#505050"}]]]),Rw=(t,e)=>{const i=zw.get(t);return i?i[e]:null};class Iw extends xw{constructor(t,e){super(t,"conditionalFormats"),this.formats=[],this.cellFormatMap=new Map,this.extremes=new Map,e&&this.populate(e)}populate(t){t.forEach((t=>{try{this.add(t)}catch(e){gn().error(`conditional format error: ${JSON.stringify(t)}`,e)}}))}refresh(){this.dependencies.clear(),this.cellFormatMap.clear(),this.extremes.clear(),this.formats.forEach((t=>this.initConditionalFormat(t)))}clearCellDependecies(t){const e=t.address;return this.dependencies.clearCellDependecies(e),this.cellFormatMap.get(e).forEach((t=>({cf:t.cf}))),this}getExtremes(t){if(this.extremes.has(t.key))return this.extremes.get(t.key);const e=[1/0,-1/0];return t.ranges.forEach((t=>{for(const i of this.model.getValuesInRange(t))for(const t of i)null!=t&&(isNaN(t)||(e[0]=Math.min(e[0],t),e[1]=Math.max(e[1],t)))})),t.cmin&&("num"==t.cmin.t?e[0]=t.cmin.v:"percent"==t.cmin.t&&(e[0]=e[0]+(e[1]-e[0])*t.cmin.v/100)),t.cmax&&("num"==t.cmax.t?e[1]=t.cmax.v:"percent"==t.cmax.t&&(e[1]=e[0]+(e[1]-e[0])*t.cmax.v/100)),this.extremes.set(t.key,e),e}invalidateExtremes(t){this.cellFormatMap.get(t.address).forEach((t=>this.extremes.delete(t.cf.key)))}evaluateScaleFormat(t,e){const i=t.value;if(null==i)return null;const[o,n]=this.getExtremes(e.cf);let r;const s=(i-o)/(n-o);if(e.cf.cmid?.color)r=.5==s?"#"+e.cf.cmid.color:s>.5?_n("#"+e.cf.cmid.color,"#"+e.cf.cmax.color,2*(s-.5)):_n("#"+e.cf.cmin.color,"#"+e.cf.cmid.color,2*s);else{if(!e.cf.cmin?.color||!e.cf.cmax?.color)return null;r=_n("#"+e.cf.cmin.color,"#"+e.cf.cmax.color,s)}return{color:Sn(r).substring(1),fgColor:r.substring(1)}}evaluateBarFormat(t,e){const i=t.value;if(null==i)return null;const o=this.getExtremes(e.cf);let n=o[0];const r=o[1],s=n<0;s||(n-=.1*(r-n));const a=Math.round(100*(i-n)/(r-n));e.initialized||(e.initialized=!0,e.cf.ranges.forEach((e=>this._dependencies.add(t.address,e.A1,null))));const l=[];if(s){const t=Math.round(-100*n/(r-n));i>=0?(l.push(`#00000000 ${t}%`),l.push(`#${e.cf.color} ${t}%`),l.push(`#${e.cf.color} ${a}%`),l.push(`#00000000 ${a}%`)):(l.push(`#00000000 ${a}%`),l.push(`#ff0000 ${a}%`),l.push(`#ff0000 ${t}%`),l.push(`#00000000 ${t}%`))}else l.push(`#${e.cf.color} ${a}%`),l.push(`#00000000 ${a}%`);return{cssStyle:{backgroundClip:"padding-box",backgroundImage:`linear-gradient(90deg, ${l.join(",")})`}}}evaluateFormulaFormat(t,e){if(!e.initialized&&e.cf.condition){e.initialized=!0;const i=t.address,o=new Av(e.cf.condition,this.model.calculations.tokenizer);e.f=o.shift({index:0,offset:t.c-e.cf.firstCell.c1,direction:"right"}).shift({index:0,offset:t.r-e.cf.firstCell.r1,direction:"down"}),o.cells.forEach((t=>this._dependencies.add(i,t[1].A1,t[2]))),o.ranges.forEach((t=>this._dependencies.add(i,t[1].A1,t[2]))),o.variables.forEach((([e,o])=>{const n=this.model.getCellByName(o,t.range);n&&this._dependencies.add(i,n.address,null)}))}if(e.f&&!this.model.calculations.evaluateFormula(e.f,t))return null;const i={...e.cf.style};return i.color||En(Sn(zn(e.cf.style.fgColor))),i}evaluateIconFormat(t,e){const i=t.value;if(null==i)return null;const[o,n]=this.getExtremes(e.cf);let r;for(let t=e.cf.thresh.length-1;t>=0;t--){const s=e.cf.thresh[t];if("percent"===s.t){if(null==r&&(r=100*(i-o)/(n-o)),r>=s.v)return{icon:Rw(e.cf.v,t)}}else if("num"===s.t&&i>=s.v)return{icon:Rw(e.cf.v,t)}}return null}evaluate(t){const e=t.address,i=this.cellFormatMap.get(e);if(!i)return null;let o=null,n=null;for(const e of i){try{switch(e.cf.type){case"formula":n=this.evaluateFormulaFormat(t,e);break;case"scale":n=this.evaluateScaleFormat(t,e);break;case"bar":n=this.evaluateBarFormat(t,e);break;case"icon":n=this.evaluateIconFormat(t,e);break;default:n=null}}catch(t){gn().error(`Conditional format error: ${JSON.stringify(e)}`,t)}if(n&&(o=o?{...o,...n}:n,e.cf.stop))break}return o}initConditionalFormat(t){return t.firstCell=null,t.ranges.forEach((e=>{for(const i of new jw(e.intersect(this.model.gridRange))){const e=i.A1;"formula"===t.type&&(t.firstCell||(t.firstCell=i,t.formula=t.condition?new Av(t.condition,this.model.calculations.tokenizer):null)),(this.cellFormatMap.get(e)||this.cellFormatMap.set(e,[]).get(e)).push({cf:t})}})),t}add(t){const e={key:t.ranges,ranges:fv.fromA1s(t.ranges),type:t.type||"formula",firstCell:null,formula:null,style:t.style?this.model.styles.add(t.style):null,condition:t.condition,stop:!!t.stop,cmin:t.cmin,cmid:t.cmid,cmax:t.cmax,color:t.color,v:t.v,thresh:t.thresh};this.formats.push(this.initConditionalFormat(e))}getSourceData(){return this.formats.map((t=>({type:t.type,ranges:fv.toA1s(t.ranges),style:t.style,condition:t.condition,stop:t.stop,cmin:t.cmin,cmid:t.cmid,cmax:t.cmax,color:t.color,v:t.v,thresh:t.thresh})))}}const Lw=(t,e)=>{const i=new RegExp(`${ut(t)}`,"ig");return t=>(i.lastIndex=0,i.test(ct((t[e]??"").toString())))},Hw=(t,e)=>i=>!!i[e]===t,Tw=(t,e)=>{const i=t.map((t=>t.key?.toString()));return t=>null!=t[e]&&i.includes(t[e].toString())},Aw=(t,e)=>t=>!1,Ow=(t,e,i)=>(i=i??"value","b"===t?Hw(e,i):"s"===t&&Array.isArray(e)?Tw(e,"value"):"s"===t?Lw(e?.toString(),"formattedValue"):"m"===t&&Array.isArray(e)?Aw(e,i):Lw(e?.toString(),"d"===t?"formattedValue":i));class $w extends Event{constructor(){super("filter",{bubbles:!1,cancelable:!0,composed:!0})}}class Dw extends EventTarget{constructor(t){super(),this.model=t,this.settings=new Map,this.custom=!1}get(t){return this.settings.has(t)?this.settings.get(t):null}filter(t,e=!0){null===t.term||""===t.term?this.settings.delete(t.c):this.settings.set(t.c,t),this.custom||(this.settings.size>0?this.applyFilter(!1):this.resetFilter(!1)),e&&this.dispatchEvent(new $w)}applyFilter(t=!0){const e=[];this.settings.forEach(((t,i)=>{const o=this.model.columns[i];e.push({c:i,matcher:Ow(o.type,t.term,o.filter?.property)})}));const i=e.length,o=this.model.options.filters?.includeParents??!0,n=this.model.options.filters?.includeChildren??!0,r=new Set;this.model.rows.forEach((t=>{const s=r.has(t.index);(t=>{if(!t.filterable)return!0;for(let o=0;o<i;o++)if(!e[o].matcher(t.cell(e[o].c)))return!1;return!0})(t)?(t.filterState=mn.Matched,o&&t.walkUp((t=>{if(r.has(t.index)&&t.filterState>0)return!1;t.filterState=mn.ChildMatched,r.add(t.index)})),n&&t.walk((t=>{if(r.has(t.index)&&t.filterState>0)return!1;t.filterState=mn.ParentMatched,r.add(t.index)}))):s||(t.filterState=mn.Filtered),r.add(t.index)})),this.model.indexRows(),t&&this.dispatchEvent(new $w)}resetFilter(t=!0){this.settings.clear(),this.model.rows.forEach((t=>t.filterState=mn.Matched)),this.model.indexRows(),t&&this.dispatchEvent(new $w)}}class Nw extends xw{constructor(t,e){super(t,"sparklines"),this.model=t,this.map=new Map,this.groups=new Map,this.extremes=new Map,this.maxIndex=0,this.updateRangeMap=!1,this.populate(e)}populate(t){t?.forEach((t=>{try{this.add(fv.fromA1(t.location),Array.isArray(t.data)?t.data.map((t=>[fv.fromA1(t)])):t.data.split(",").map((t=>[fv.fromA1(t)])),ot({},Zf.DEFAULT_SPARKLINE_OPTIONS,t.options))}catch(e){this.model.logger.error(`sparkline error: ${JSON.stringify(t)}`,e)}}))}getSourceData(){const t=[];return this.groups.forEach((e=>{t.push({location:e.locRange.A1,data:e.dataRanges.map((t=>t[0].A1)).join(","),options:{minValue:e.minValue,maxValue:e.maxValue,type:e.type,style:e.style,marker:e.marker}})})),t}has(t){return this.map.has(t)}get(t){return this.map.get(t)}createDependencies(t){this.map.get(t)[1].forEach((e=>this._dependencies.add(t,e[0].A1,e[1])))}updateRangeMaps(){this.dependencies.clear(),this.map.clear(),this.groups.forEach(((t,e)=>this.createRangeMap(e,t.locRange,t.dataRanges)))}getValues(t){this.updateRangeMap&&this.updateRangeMaps();const e=this.map.get(t),i=e[1][0][1]?this.model.getConnectedModel(e[1][0][1]):this.model;return this._dependencies.has(t)||this.createDependencies(t),e[1].flatMap((t=>i.getValuesInRange(t[0])[0]))}getExtremes(t){const e=this.map.get(t),i=e[1][0][1]?this.model.getConnectedModel(e[1][0][1]):this.model,o=this.groups.get(e[0]);let n,r,s,a;return null==o.minValue||Q(o.minValue)?"auto"==(o.minValue||"auto")?(n=n??lt(...e[1].map((t=>i.getValuesInRange(t[0])))),s=n[0]):(this.extremes.has(e[0])||this.extremes.set(e[0],lt(...o.dataRanges.map((t=>i.getValuesInRange(t[0]))))),r=this.extremes.get(e[0]),s=r[0]):s=o.minValue,null==o.maxValue||Q(o.maxValue)?"auto"==(o.maxValue||"auto")?(n=n??lt(...e[1].map((t=>i.getValuesInRange(t[0])))),a=n[1]):(this.extremes.has(e[0])||this.extremes.set(e[0],lt(...o.dataRanges.map((t=>i.getValuesInRange(t[0]))))),r=this.extremes.get(e[0]),a=r[1]):a=o.maxValue,[s,a]}createRangeMap(t,e,i){e=e.intersect(this.model.gridRange);const o=i[0][0].size,n=e.size;if(n.columns>1&&n.rows>1)return void this.model.logger?.error(`invalid sparkline location range: ${e.A1}`);let r=!1;if(r=1==n.columns&&1==n.rows?o.rows>1:n.columns>1,r)for(let o=e.c1;o<=e.c2;o++)this.map.set(new fv(o,e.r1).A1,[t,i.map((([t,i])=>[new fv(t.c1+o-e.c1,t.r1,t.c1+o-e.c1,t.r2),i]))]);else for(let o=e.r1;o<=e.r2;o++)this.map.set(new fv(e.c1,o).A1,[t,i.map((([t,i])=>[new fv(t.c1,t.r1+o-e.r1,t.c2,t.r1+o-e.r1),i]))])}add(t,e,i){const o=++this.maxIndex;t&&e&&this.createRangeMap(o,t,e),this.groups.set(o,Object.assign({dataRanges:e,locRange:t},JSON.parse(JSON.stringify(Zf.DEFAULT_SPARKLINE_OPTIONS)),i))}update(t,e,i,o){const n=this.groups.get(t);Object.assign(n,{dataRanges:i,locRange:e},o),this.updateRangeMap=!0}delete(t){this.groups.delete(t),this.updateRangeMap=!0}shift(t){this.groups.forEach((e=>{e.dataRanges.forEach((([e])=>e.shift(t))),e.locRange.shift(t)})),this.updateRangeMaps()}}class Pw extends fv{constructor(t,e,i=!1){super(e.c1,e.r1,e.c2,e.r2),this.model=t,this.initializedOnly=i,this.r=0,this.c=-1,this.done=!1}[Symbol.iterator](){return this}nextInitialized(){let t;for(;!this.done&&!t;)this.c<this.size.columns-1?this.c++:this.r<this.size.rows-1&&(this.c=0,this.r++),t=this.model.rows[this.r].cells[this.c],this.done=this.c>=this.size.columns-1&&this.r>=this.size.rows-1;return t}next(){if(this.done)return{done:!0};this.c<this.size.columns-1?this.c++:this.r<this.size.rows-1&&(this.c=0,this.r++),this.done=this.c>=this.size.columns-1&&this.r>=this.size.rows-1;const t=this.model.rows[this.r+this.r1],e=this.c+this.c1,i=this.initializedOnly&&!t.isCellInitialized(e)?this.nextInitialized():t?.cell(e);return i?{done:!1,value:i}:{done:!0}}forEach(t){let e;for(;e=this.next().value;)t(e)}}class jw extends fv{constructor(t){super(t.c1,t.r1,t.c2,t.r2),this.r=0,this.c=-1,this.done=!1}[Symbol.iterator](){return this}next(){return this.done?{done:!0}:(this.c<this.size.columns-1?this.c++:this.r<this.size.rows-1&&(this.c=0,this.r++),this.done=this.c==this.size.columns-1&&this.r==this.size.rows-1,{done:!1,value:new fv(this.c+this.c1,this.r+this.r1)})}}class Vw extends fv{constructor(t,e,i){super(e.c1,e.r1,e.c2,e.r2),this.model=t,this.i=0,this.done=!1,this.axis=i,this.key="rows"===i?"r1":"c1"}[Symbol.iterator](){return this}next(){if(this.done)return{done:!0};this.i<this.size[this.axis]-1&&this.i++,this.done=this.i>=this.size[this.axis]-1;const t=this.model[this.axis][this.i+this[this.key]];return t?{done:!1,value:t}:{done:!0}}forEach(t){let e;for(;e=this.next().value;)t(e)}}class Bw{constructor(t,e){this.model=t,this.names=new Map,this.rangeMap=new Map,e&&this.populate(e)}populate(t){t.forEach((({name:t,ref:e})=>this.set(t,Z(e)?fv.fromCoords(e):fv.fromA1(e))))}set(t,e){this.names.set(t,e),this.rangeMap.set(e.A1,t)}delete(t){const e=this.names.get(t);e&&(this.rangeMap.delete(e.A1),this.names.delete(t))}findCellByName(t){let e;const i=this.model.rows,o=this.model.columns.length;for(let n=0;n<i.length;n++){e=i[n];for(let i=0;i<o;i++)if(e.hasCellName(i)){const o=e.cell(i);if(o.name==t)return o.range}}return null}getCellByName(t,e){const i=this.names.get(t)??this.findCellByName(t);return i?i.isColumn?this.model.rows.length>e.r1?this.model.columns[i.c1].cell(e.r1):null:i.isRow?this.model.columns.length>e.c1?this.model.rows[i.r1].cell(e.c1):null:this.model.rows[i.r1].cell(i.c1):null}getRangeByName(t,e=!0){const i=this.names.get(t);return e?i?.intersect(this.model.gridRange):i}shift(t){this.names.forEach(((e,i)=>{const o=e.A1;e.shift(t);const n=e.A1;o!=n&&(this.rangeMap.delete(o),this.rangeMap.set(n,i))}))}}function Fw(t,e=null){const i=ot({},Zf.DEFAULT_OPTIONS,e,Fn(t,e));return i.numberFormat?i.numberFormatter=Jo(i.formatLocale,i.numberFormat):i.numberFormatter||(i.numberFormatter=Jo(i.formatLocale)),i.dateFormat?i.dateFormatter=$o(i.formatLocale,i.dateFormat):i.dateFormatter||(i.dateFormatter=$o(i.formatLocale)),i.columnSorting&&(i.sorting=i.sorting||{enabled:!0}),"boolean"==typeof i.filters&&(i.filters={enabled:i.filters}),i.filters=Object.assign({},Yf,i.filters),"boolean"==typeof i.rowTree&&(i.rowTree={enabled:i.rowTree}),i.rowTree=Object.assign({},qf,i.rowTree),"boolean"==typeof i.columnTree&&(i.columnTree={enabled:i.columnTree}),i.columnTree=Object.assign({},qf,i.columnTree),i.cellValidation&&(i.cellValidation=Yy(i.cellValidation)),i}class Ww extends(vn(Zy)){get cells(){return this._cells}get data(){return this._data}set data(t){this._data=t}get height(){return this._height??this.model.options.rowHeight}set height(t){this._height=t}get priority(){return this._priority}set priority(t){this._priority=t}get address(){return vv(this.index)}get range(){return new fv(null,this.index,null,this.index)}get hasFormula(){return!!this._formula}get formula(){return this._formula}set formula(t){super.formula=t,this.model.columns.forEach((t=>this.cell(t.index).refreshFormula()))}get values(){return this.model.columns.map((t=>this.cell(t.index).value))}cell(t,e){if(this.model.options.singleCellModel)return this._singleCell||(this._singleCell=new cw(this.model,{c:t,r:this.index})),this._singleCell.row=this,this._singleCell.column=this.model.columns[t],this._singleCell;let i=this._cells[t];if((e||!i)&&this.model.columns[t]){if(i=new cw(this.model,e??{c:t,r:this.index}),this._data){const e=this.model.columns[t].data;null!=e&&(Z(this._data[e])?i.populate(this._data[e]):i.hasValue||(i.value=this._data[e]))}i.name&&this.model.names.set(i.name,i.range),this._cells[t]=i}return i}constructor(t,e){super(t,e),this.isCellInitialized=t=>!!this.cells[t],this._cells=[],null==this._priority&&(this._priority=t.options.rowPriority)}populate(t){super.populate(t),this._height=null==t.h||"auto"==t.h?this.model.options.rowHeight:t.h,t.data&&(Array.isArray(t.data)?this._data=[...t.data]:this._data={...t.data}),null!=t.priority&&(this._priority=t.priority)}getSourceData(){const t=super.getSourceData();return null!=this._height&&this._height!=this.model.options.rowHeight&&(t.h=this._height),t}expand(t){super.expand(t),this.model.indexVisibleRows()}collapse(){super.collapse(),this.model.indexVisibleRows()}get prev(){return this.model.rows[this.index-1]}get next(){return this.model.rows[this.index+1]}get prevVisible(){let t=this.prev;for(;t&&!t.visible;)t=t.prev;return t}get nextVisible(){let t=this.next;for(;t&&!t.visible;)t=t.next;return t}hasCellFormula(t){return this.cells[t]&&this.cells[t].hasFormula||this._data&&this._data[this.model.columns[t].data]&&this._data[this.model.columns[t].data].f}hasCellName(t){return this.cells[t]&&null!=this.cells[t].name||this._data&&this._data[this.model.columns[t].data]&&null!=this._data[this.model.columns[t].data].name}insertColumns(t,e,i=!1){let o;const n=this.model.columns.length,r=this.model.calculations;if(i)for(let i=0;i<n;i++)this.hasCellFormula(i)&&(o=this.cell(i),o.formula=r.getFormula(o).shift({index:t,offset:e,direction:"right"}).createFormulaString(!1));t<this.cells.length&&this.cells.splice(t,0,...Array(e).fill(null))}deleteColumns(t,e,i=!1){let o;const n=this.model.columns.length,r=this.model.calculations;if(i)for(let i=0;i<n;i++)this.hasCellFormula(i)&&(o=this.cell(i),o.formula=r.getFormula(o).shift({index:t,offset:e,direction:"left"}).createFormulaString(!1));return t<this.cells.length?this.cells.splice(t,e):null}clearCalculatedValues(){this.cells.forEach((t=>t&&this.model.calculations.refreshFormula(t)))}}var Uw=i(4418),Gw=i.n(Uw);const Yw=t=>t?"1":"0",qw=t=>null==t?"_":t,Zw=t=>null==t?"_":t.toString(),Xw=t=>null==t?"_":JSON.stringify(t),Qw=t=>qw(t&&t.color?t.color:"_")+qw(t&&t.style?t.style:"_"),Kw=t=>qw(t?t.horizontal:null)+qw(t?t.vertical:null)+qw(t?t.horizontal:null)+Zw(t?t.indent:null)+Yw(t?t.wrapText:null)+Zw(t?t.textRotation:null),Jw=t=>Gw()("s_"+Yw(t.bold)+Yw(t.italic)+Yw(t.underline)+Zw(t.sz)+qw(t.font)+qw(t.color)+Qw(t.top)+Qw(t.right)+Qw(t.bottom)+Qw(t.left)+qw(t.patternType)+qw(t.fgColor)+qw(t.bgColor)+Kw(t.alignment)+Zw(t.angle)+Xw(t.stops)+Yw(t.hidden)+Yw(t.editable)+Xw(t.cssStyle)+Xw(t.icon));function tx(t){const e={...t};return delete e.id,delete e.hash,e}class ex{constructor(t){this.model=t,this._count=0,this.hashmap=new Map,this.map=new Map}add(t){if(!isNaN(t))return this.get(t);const e=this.model.options.cssStyles?sw(t):t,i=e.hash?e.hash:Jw(e);return this.hashmap.has(i)?this.map.get(this.hashmap.get(i)):(null==e.id&&(e.id=this._count),this._count=Math.max(e.id+1,this._count+1),e.hash=i,this.hashmap.set(i,e.id),this.map.set(e.id,e),e)}populate(t){t.forEach((t=>this.add(t)))}get(t){return this.map.has(t)?this.map.get(t):null}remove(t){const e="object"==typeof t?t:this.map.get(t);this.hashmap.delete(e.hash),this.map.delete(e.id)}merge(...t){const e=Object.assign({},...t.map((t=>Z(t)?t:this.get(t))));return this.add(tx(e))}duplicate(t,e){const i=this.get(t);return this.add(tx({...i,...e}))}set(t,e){let i=this.map.has(t)?this.map.get(t):{};for(const t in e)i[t]=e[t];return i=i.id?i:this.add(i),i}unset(t,e){if(this.map.has(t)){const i=this.map.get(t);for(const t of e)delete i[t]}}getSourceData(){return Array.from(this.map.values())}clean(){const t=new Map(Array.from(this.map.entries()).map((([t])=>[t,0])));this.model.columns.forEach((e=>{const i=t.get(e.style);null!=i&&t.set(e.style,i+1)})),this.model.rows.forEach((e=>{const i=t.get(e.style);null!=i&&t.set(e.style,i+1),e.cells.forEach((e=>{const i=t.get(e.style);null!=i&&t.set(e.style,i+1)}))})),t.forEach(((t,e)=>{0==t&&this.remove(e)}))}}function ix(t,e,i,o){const n=o??("rows"==i?e.rows:e.columns),r=function(t){const e=new Map;for(const i of t)e.has(i.level)||e.set(i.level,[]),e.get(i.level).push(i);return e}(n),s=t[i]??[];for(const t of s){let o;if(o=t.index>-1?[n[t.index]]:t.level>-1?r.get(t.level):n,t.name){const e=t.name instanceof RegExp?t.name:new RegExp(ut(t.name));o=o.filter((t=>e.test(t.name)))}o?.forEach((o=>{null!=t.priority&&(o.priority=t.priority),t.type?e.conditionalFormats.add(Object.assign({ranges:`${o.address}:${o.address}`},t)):(o.style=e.styles.add(t.style).id,"rows"==i&&null!=t.height?o.height=t.height:"columns"==i&&null!=t.width&&(o.width=t.width))}))}}function ox(t,e){for(const i of t)if(e[i.property]!=i.value)return!1;return!0}function nx(t,e,i){const o=t.cells??[];for(const t of o)if(t.conditions?.length){const o=e.getRangeIterator(i??e.gridRange);for(const i of o)ox(t.conditions,i)&&(i.style=e.styles.add(t.style).id)}else if(t.type)e.conditionalFormats.add(Object.assign({ranges:"A:"+e.columns[e.columns.length-1].address},t));else for(const i of e.columns)null==i.style&&(i.style=e.styles.add(t.style).id)}function rx(t,e,i){ix(t,e,"columns",i)}function sx(t,e,i){ix(t,e,"rows",i)}function ax(t,e){nx(t,e),rx(t,e),sx(t,e)}var lx;!function(t){t[t.NONE=0]="NONE",t[t.MERGED=1]="MERGED",t[t.HIDDEN=2]="HIDDEN"}(lx||(lx={}));class cx{get mergedCells(){return this._mergedCells}get hiddenCells(){return this._hiddenCells}constructor(t){this.model=t,this._mergedCells=new Map,this._hiddenCells=new Map}clear(){this._mergedCells.clear(),this._hiddenCells.clear(),this.model.rows.forEach((t=>{t.cells.forEach((t=>{t.rowspan=1,t.colspan=1}))}))}getMergeState(t){return this._mergedCells.has(t)?lx.MERGED:this._hiddenCells.has(t)?lx.HIDDEN:lx.NONE}indexMergedCells(t){const e=t.A1,i=this._mergedCells.get(e);if(!i)return;const o=i.r,n=i.c,r=t.clone(),s=this.model.rows[o].cell(n);s.rowspan=i.rs,s.colspan=i.cs;for(let t=0;t<i.rs;t++)for(let e=0;e<i.cs;e++)0==t&&0==e||(r.r1=o+t,r.c1=n+e,r.r2=r.r1,r.c2=r.c1,this._hiddenCells.set(r.A1,i))}add(t){const e=new fv(t.c,t.r),i=e.A1;if(this._mergedCells.has(i))this.remove(i);else if(this._hiddenCells.has(i))return;this._mergedCells.set(i,t),this.indexMergedCells(e)}remove(t){const e=this._mergedCells.get(t);if(!e)return;const i=e.r,o=e.c,n=new fv(o,i),r=this.model.rows[i].cell(o);r.rowspan=1,r.colspan=1,this._hiddenCells.delete(t);for(let t=0;t<e.rs;t++)for(let r=0;r<e.cs;r++)0==t&&0==r||(n.r1=i+t,n.c1=o+r,n.r2=n.r1,n.c2=n.c1,this._hiddenCells.delete(n.A1))}shift(t){const{index:e,offset:i,direction:o}=t,n={down:t=>{e<=t.r?t.r+=i:e>t.r&&e<t.r+t.rs&&(t.rs+=i)},up:t=>{e<=t.r?t.r-=i:e>t.r&&e<t.r+t.rs&&(t.rs-=i)},right:t=>{e<=t.c?t.c+=i:e>t.c&&e<t.c+t.cs&&(t.cs+=i)},left:t=>{e<=t.c?t.c-=i:e>t.c&&e<t.c+t.cs&&(t.cs-=i)}};this.mergedCells.forEach((t=>{const e=new fv(t.c,t.r);this.remove(e.A1),n[o](t),this.add(t)}))}}const hx=["index","name","rows","columns","cells","options","sparklines","rules","comments","styles","names","props","tab","theme"];class dx{get mergedHeaders(){return this._mergedHeaders}get hasFilter(){return this._filter}get hasRowTree(){return this._maxRowLevel>0}get hasRowTreeEnabled(){return this.hasRowTree&&this.options.rowTree.enabled}get maxRowLevel(){return this._maxRowLevel}get hasColumnTree(){return this._maxColumnLevel>0}get hasColumnTreeEnabled(){return this.hasColumnTree&&this.options.columnTree.enabled}get maxColumnLevel(){return this._maxColumnLevel}get headerCount(){return this._headerCount}get columnHeaderCount(){return this.headerCount+(this.hasColumnTreeEnabled?1:0)+(this.hasFilter?1:0)}get properties(){return this._properties}set properties(t){this._properties=t}get theme(){return this._theme}set theme(t){this._theme=t}constructor(t,e,i){this.otherModels={},this.autofitColumns=new Set,this.autofitRows=new Set,this.merges=new cx(this),this.styles=new ex(this),this.comments=new bw(this),this.calculations=new Cw(this),this.names=new Bw(this),this.sorting=new fw(this),this.sparklines=new Nw(this),this.conditionalFormats=new Iw(this),this._filter=!1,this._maxRowLevel=0,this._maxColumnLevel=0,this._headerCount=0,this._levelBasedRowTree=!0,this._levelBasedColTree=!0,this.clearRows=()=>(this.rowRoot.clearChildren(),this.rows=[],this.rows),this.clearColumns=()=>this.columns=[],this.logger=i,this.options=e??Fw(t.options),this.populate(t)}getConnectedModel(t){return this.group?this.group.get(t):null}getModelByRange(t){return t.sheet?this.getConnectedModel(t.sheet):this}getCellByA1(t){return this.getCellByRange(fv.fromA1(t))}getCellByRange(t){return this.getCellByCoords(t.r1,t.c1)}getCellByCoords(t,e){return this.rows[t]?.cell(e)}cell(t,e){return isNaN(t)?t instanceof fv?this.getCellByRange(t):"string"==typeof t?this.getCellByA1(t):null:this.getCellByCoords(t,e||0)}createRows(t,e=new Ww(this,{l:-1}),i=0){let o=!1,n=!1;this.autofitRows.clear();const r=t.map(((t,e)=>{t||(t={}),isNaN(t.l)||(o=!0),null!=t.p&&(n=!0),"auto"==t.h&&this.autofitRows.add(e);const r=new Ww(this,t);return r.origIndex=e+i,r.name&&this.names.set(r.name,fv.fullRow(e)),r}));let s=-1;return o?s=bn(r,e,{reverse:this.options.rowTree.reversed}):n?s=yn(r,e):e.children=r,n||(o=!0),[e,r,s,o]}insertRowData(t,e,i){const o=this.createRows(i,new Ww(this,{l:t.level}),e);if(this._maxRowLevel=Math.max(this._maxRowLevel,o[2]),t.insertChildren(o[0].children,e),this.indexRowsByTree(),this.theme){const t=o[1];sx(this.theme,this,t),nx(this.theme,this,new fv(0,t[0].index,1/0,t[t.length-1].index))}}applyTheme(t,e){if(e)for(const t of this.getInitializedCellIterator())t.invalidateStyle();ax(t,this)}populate(t){this.index=t.index,this.name=t.name??this.name,this.tab=t.tab;let e=!1,i=!1;if(t.columns||(t.columns=new Array(this.options.columns).fill({})),t.rows||(t.rows=new Array(this.options.rows).fill({})),t.styles&&this.styles.populate(t.styles),this.autofitColumns.clear(),this.columns=t.columns.map(((t,o)=>{t||(t={}),t.l>0&&(e=!0),null!=t.p&&(i=!0),"auto"==t.w&&this.autofitColumns.add(o);const n=new dw(this,t);return this._filter=n.hasFilter||this._filter,n.name&&this.names.set(n.name,fv.fullColumn(o)),n})),this._levelBasedColTree=e,this._maxColumnLevel=-1,this.colRoot=new dw(this,{l:-1}),e?this._maxColumnLevel=bn(this.columns,this.colRoot,{reverse:this.options.columnTree.reversed}):i?this._maxColumnLevel=yn(this.columns,this.colRoot):this.colRoot.children=this.columns,i||(this._levelBasedColTree=!0),this.indexColumns(),this.indexVisibleColumns(),[this.rowRoot,this.rows,this._maxRowLevel,this._levelBasedRowTree]=this.createRows(t.rows),this.indexRows(),this.indexVisibleRows(),this.options.pageSize&&this.options.pageSize<=this.rows.length&&(this.rowRoot.count=1/0),this.merges.clear(),t.comments=t.comments||[],t.cells?.forEach(((e,i)=>{const o=this.rows[e.r]?this.rows[e.r].cell(e.c,e):null;o?(o.colspan>1||o.rowspan>1)&&this.merges.add({r:o.r,c:o.c,rs:o.rowspan,cs:o.colspan}):this.logger?.error(`invalid cell definition (index ${i}): ${JSON.stringify(e)}`),o&&e.comment&&t.comments.push(Object.assign(e.comment,{c:e.c,r:e.r}))})),t.sparklines)try{this.sparklines.populate(t.sparklines)}catch(t){gn().error(`Sparkline init error: ${t}`)}if(t.names)try{this.names.populate(t.names)}catch(t){gn().error(`Named range init error: ${t}`)}if(t.rules)try{this.conditionalFormats.populate(t.rules)}catch(t){gn().error(`Conditional formats init error: ${t}`)}if(t.theme)try{this.applyTheme(t.theme),this._theme=t.theme}catch(t){gn().error(`Theme init error: ${t}`)}if(t.comments)try{this.comments.populate(t.comments)}catch(t){gn().error(`Comment init error: ${t}`)}this._properties=t.props,this.otherSourceData={};const o=new Set(hx),n=Object.keys(t).filter((t=>!o.has(t)));n.forEach((e=>this.otherSourceData[e]=t[e])),this.options.sorting?.defaultSettings&&(this.sorting.settings=this.options.sorting.defaultSettings),this.calcHeaderHeights()}getSourceData(){const t={index:this.index,name:this.name,tab:this.tab,columns:this.columns.map((t=>t.getSourceData())),rows:this.rows.map((t=>t.getSourceData())),styles:this.styles.getSourceData(),rules:this.conditionalFormats.getSourceData(),sparklines:this.sparklines.getSourceData(),options:this.options};this._properties&&(t.props=this._properties);const e=[];let i;for(let t=0;t<this.rows.length;t++)for(let o=0;o<this.columns.length;o++)i=this.rows[t].cell(o).getSourceData(),Object.keys(i).length>0&&(i.r=t,i.c=o,e.push(i));e.length>0&&(t.cells=e);const o=[];return this.styles.clean(),this.styles.map.forEach((t=>o.push(t))),o.length>0&&(t.styles=o),new Set([...Object.keys(this.otherModels??{}),...Object.keys(this.otherSourceData??{})]).forEach((e=>t[e]=this.otherModels[e]?Array.from(this.otherModels[e]).map((t=>t.getSourceData())):this.otherSourceData[e])),t}calcHeaderHeights(){this._headerCount=0,this._headerHeights=[],this.columns.forEach((t=>{this._headerCount=t.header?t.header.length:this._headerCount,this._headerHeights.length<this._headerCount&&this._headerHeights.push(...Array(this._headerCount-this._headerHeights.length).fill(0)),t.header?.forEach(((t,e)=>{e>=this._headerHeights.length&&this._headerHeights.push(0),this._headerHeights[e]=Math.max(this._headerHeights[e],t.height??0)}))}))}indexRows(){this.visibleRows=[],this.rows.forEach(((t,e)=>{t.index=e,t.isLoaded||(t.collapsed=!0),t.hidden||t.filterState==mn.Filtered||(t.visibleIndex=this.visibleRows.length,this.visibleRows.push(t))}))}indexVisibleRows(){this.visibleRows=[];let t=0;if(this._levelBasedRowTree){if(this.rowRoot.walkVisible((e=>{e.visibleIndex=t++,this.visibleRows.push(e)})),this.options.rowTree.reversed){const e=new Array(this.visibleRows.length);this.visibleRows.forEach(((i,o)=>{t=this.visibleRows.length-o-1,i.visibleIndex=t,e[t]=i})),this.visibleRows=e}}else this.rowRoot.walkVisible((t=>this.visibleRows[t.index]=t)),this.visibleRows=this.visibleRows.filter((e=>!!e&&(e.visibleIndex=t++,!0)))}indexRowsByTree(){this.rows=[];let t=0;this.rowRoot.walk((e=>{e.index=t++,this.rows.push(e)})),this.options.rowTree.reversed&&this.rows.reverse(),this.indexVisibleRows()}indexColumns(){this.visibleColumns=[],this.columns.forEach(((t,e)=>{t.index=e,t.hidden||this.visibleColumns.push(t)}))}indexVisibleColumns(){this.visibleColumns=[],this.visibleColumnIndex={};let t=0;if(this.colRoot.walkVisible((e=>{e.visibleIndex=t,this.visibleColumnIndex[e.index]=t++,this.visibleColumns.push(e)})),this.options.columnTree.reversed){this.visibleColumnIndex={};const e=new Array(this.visibleColumns.length);this.visibleColumns.forEach(((i,o)=>{t=this.visibleColumns.length-o-1,i.visibleIndex=t,this.visibleColumnIndex[i.index]=t,e[t]=i})),this.visibleColumns=e}this.indexHeaders()}indexHeaders(){this._mergedHeaders=[],this._headerCount=0,this.colRoot.walkVisible((t=>{this._headerCount=Math.max(t.header?t.header.length:0,this._headerCount),t.mergedHeaders.forEach((e=>this._mergedHeaders.push({h:e,c:t.index,r:e.r,cs:t.calculateRealColspan(e.cs??1),rs:e.rs??1})))})),this._mergedHeaders.forEach((t=>{if(!t.h.hidden)for(let e=t.c;e<t.c+t.cs;e++)for(let i=t.r;i<t.r+t.rs;i++)(i>t.r||e>t.c)&&this.columns[e]&&this.columns[e].header[i]&&(this.columns[e].header[i].hidden=!0)})),this.calcHeaderHeights()}removeHeader(t){this.columns.forEach((e=>{t<e.header.length&&e.header.splice(t,1)})),this.indexHeaders()}clear(){this.clearRows(),this.clearColumns(),this.resetViewport()}resetViewport(){return this._viewport=null,this}getViewport(t,e,i){const o=[],n=[];let r,s,a=e.h,l=0;for(l=0;l<i.t;l++)r=this.visibleRows[l],a-=r.height,o.push(r);for(l=this.visibleRows.length-i.b;l<this.visibleRows.length;l++)r=this.visibleRows[l],a-=r.height;for(l=i.t+t.r;a>0&&l<this.visibleRows.length;)r=this.visibleRows[l++],a-=r.height,o.push(r);for(l=this.visibleRows.length-i.b;l<this.visibleRows.length;l++)o.push(this.visibleRows[l]);let c=e.w,h=0;for(h=0;h<i.l;h++)s=this.visibleColumns[h],c-=s.width,n.push(s);for(h=this.visibleColumns.length-i.r;h<this.visibleColumns.length;h++)s=this.visibleColumns[h],c-=s.width;for(h=i.l+t.c;c>0&&h<this.visibleColumns.length;)s=this.visibleColumns[h++],c-=s.width,n.push(s);for(h=this.visibleColumns.length-i.r;h<this.visibleColumns.length;h++)n.push(this.visibleColumns[h]);return this._viewport={rows:o,columns:n}}calculateViewport(){return this._viewport?this.calculations.calculateViewport(this._viewport):[]}getValuesInRange(t,e=!1){if(!(t=t.intersect(this.gridRange)))return[];const{columns:i,rows:o}=t.size,n=new Array(o);let r,s=0,a=0;for(let o=t.r1;o<=t.r2;o++){n[s]=new Array(i),a=0,r=this.rows[o];for(let i=t.c1;i<=t.c2;i++)n[s][a++]=e?r.cell(i).formattedValue:r.cell(i).value;++s}return n}setRowExpandLevel(t){this.rows.forEach((e=>{e.collapsed=!e.isLoaded&&!e.isPartialyLoaded||e.level>=t,e.level<=t&&(e.hidden=!1)})),this.indexVisibleRows()}setColumnExpandLevel(t){this.columns.forEach((e=>e.collapsed=e.level>=t)),this.indexVisibleColumns()}getViewportRange(){return this._viewport?new fv(this._viewport.columns[0].index,this._viewport.rows[0].index,this._viewport.columns[this._viewport.columns.length-1].index,this._viewport.rows[this._viewport.rows.length-1].index):null}get gridRange(){return new fv(0,0,this.columns.length-1,this.rows.length-1)}getRangeIterator(t,e=!1){return new Pw(this,e&&this._viewport?t.intersect(this.getViewportRange()):t.intersect(this.gridRange))}getInitializedCellIterator(){return new Pw(this,this.gridRange,!0)}getRowIterator(t,e=!1){return t=e&&this._viewport?t.intersect(this.getViewportRange()):t.intersect(this.gridRange),new Vw(this,t,"rows")}getColumnIterator(t,e=!1){return t=e&&this._viewport?t.intersect(this.getViewportRange()):t.intersect(this.gridRange),new Vw(this,t,"columns")}getCellArray(t){const e=[];for(const i of this.getRangeIterator(t))e.push(i);return e}transformRangeToMatrix(t,e){let i,o,n;const r=[];for(let s=(t=t.intersect(this.gridRange)).r1;s<=t.r2;s++)if(i=this.rows[s],i){n=[];for(let r=t.c1;r<=t.c2;r++)o=i.cell(r),o&&n.push(e(o));r.push(n)}return r}getCellMatrix(t){return this.getModelByRange(t)?.transformRangeToMatrix(t,(t=>t))}getValueMatrix(t){return this.getModelByRange(t)?.transformRangeToMatrix(t,(t=>t.value))}shift(t){t.sheet=this.name,this.merges.shift(t),this.calculations.shift(t),this.names.shift(t),this.comments.shift(t),this.sparklines.shift(t)}clearCalculations(t=!1){t&&this.group?this.group.models.forEach((t=>t.calculations.refresh())):this.calculations.refresh()}refreshSparklines(){this.sparklines.updateRangeMaps();for(const t of this.getInitializedCellIterator())t.invalidateStyle()}clearCalculatedStyles(){this.conditionalFormats.refresh();const t=[];for(const e of this.getInitializedCellIterator())t.push(e),e.invalidateStyle()}insertColumns(t,e,i=!1){const o=this.columns[Math.min(this.columns.length-1,t)].parent;i&&++t,this.shift({index:t,offset:e,direction:"right"});for(let i=0;i<this.rows.length;i++)this.rows[i].insertColumns(t,e,!1);const n=new Array(e).fill(null).map((()=>new dw(this)));return this.columns.splice(t,0,...n),this.maxColumnLevel>0&&o.insertChildren(n,t-(o.index||-1)-1),this.indexColumns(),this.clearCalculations(!0),n}deleteColumns(t,e){const i=this.columns[t].parent;this.shift({index:t,offset:e,direction:"left"});const o=[];for(let i=0;i<this.rows.length;i++)o.push(this.rows[i].deleteColumns(t,e,!1));const n=this.columns.splice(t,e);return i?.deleteChildren(n),this.indexColumns(),this.clearCalculations(!0),n}insertRows(t,e,i=!1){const o=Math.min(this.rows.length-1,t),n=o<0?this.rowRoot:this.rows[o].parent;i&&++t;const r=isNaN(e)?e.length:e;this.shift({index:t,offset:r,direction:"down"});const s=isNaN(e)?e:new Array(r).fill(null).map((()=>new Ww(this)));return this.rows.splice(t,0,...s),this.maxRowLevel>0&&n.insertChildren(s,t-(n.index||-1)-1),this.indexRows(),this.theme&&(sx(this.theme,this,s),nx(this.theme,this,new fv(0,s[0].index,1/0,s[s.length-1].index))),this.clearCalculations(!0),s}deleteRows(t,e){const i=this.rows[t].parent;this.shift({index:t,offset:e,direction:"up"});const o=this.rows.splice(t,e);return i?.deleteChildren(o),this.indexRows(),this.clearCalculations(!0),o}moveRows(t,e,i){const o=this.rows.splice(t,e);return this.rows.splice(i,0,...o),this.shift({index:t,offset:i-t,direction:"down",maxIndex:t+e-1}),this.indexRows(),this.clearCalculations(!0),o}moveColumns(t,e,i){const o=this.columns.splice(t,e);return this.columns.splice(i,0,...o),this.shift({index:t,offset:i-t,direction:"right",maxIndex:t+e-1}),this.indexColumns(),this.clearCalculations(!0),o}spillValues(t){const{cell:e,values:i,displayValues:o,propertyCell:n}=t,r=[],s=[],a=0===i.length||0===i[0].length;let l,c;const h=a?null:new fv(e.c,e.r,e.c+i[0].length-1,e.r+i.length-1);if(e.spillRange&&this.getRangeIterator(e.spillRange,!0).forEach((t=>{e==t||h?.contains(t.range)||t.clearSpilledValue()})),e.spillRange=h,a)return{cells:r,oldValues:s,range:null};for(let t=h.r1;t<=h.r2;t++){if(l=this.rows[t],!l)continue;const a=t-h.r1;for(let t=h.c1;t<=h.c2;t++){const d=t-h.c1;c=l.cell(t),c.editable&&(s.push(c.value2),c.spillValue(i[a][d],e),n&&(c.format=n.format,c.type=n.type),o&&null!=o[a][d]&&(c.displayValue=o[a][d]),r.push(c))}}return{cells:r,oldValues:s,range:h}}getCellByName(t,e,i=!0){return this.names.getCellByName(t,e)||(this.group&&i?this.group.getCellByName(t,e):null)}getRangeByName(t,e=!0){return this.names.getRangeByName(t)||(this.group&&e?this.group.getRangeByName(t):null)}getValueMatrixByName(t,e=!0){const i=this.names.getRangeByName(t);return i?this.getValueMatrix(i):this.group&&e?this.group.getValueMatrixByName(t):null}rebuildRowTree(){const t=this._levelBasedRowTree?bn:yn;this._maxRowLevel=t(this.rows,this.rowRoot,{reverse:this.options.rowTree.reversed}),this.indexRowsByTree()}rebuildColumnTree(){const t=this._levelBasedColTree?bn:yn;this._maxColumnLevel=t(this.columns,this.colRoot,{reverse:this.options.columnTree.reversed}),this.indexColumns()}calculateCellOffset(t){let e=0,i=0;for(let i=0;i<t.c1&&this.columns[i];i++)e+=this.columns[i].width;for(let e=0;e<t.r1&&this.rows[e];e++)i+=this.rows[e].height;return{x:e,y:i}}}class ux{get errors(){return this._errors}get(t){return this.models.get(t)}has(t){return this.models.has(t)}getNewName(){let t;do{t=`sheet${this._max}`}while(this.models.has(t));return t}add(t){if(t.index=t.index??this._max,++this._max,t.name=t.name||this.getNewName(),this.models.has(t.name))throw Error(`sheet "${t.name}" already exists`);return this.models.set(t.name,t),t.group=this,t}duplicate(t){const e=this.get(t);if(!e)return;const i=new dx(e.getSourceData(),e.options);let o=1;for(;this.models.has(`${t}_${o}`);)++o;return i.name=`${t}_${o}`,this.add(i),i}remove(t){return this.models.delete(t),this}rename(t,e){if(this.has(t)){if(this.has(e))throw new Error(`Model '${e}' already exists`);const i=this.get(t);i.name=e,this.models.set(e,i),this.models.delete(t),this.models.forEach((i=>{i.calculations.renameSheet(t,e)&&i.calculateViewport()}))}return this}clear(){this.models.clear(),this._errors=[]}constructor(t){this._max=0,this.models=new Map,this.themes=new Map,this._errors=[],t&&this.populate(t)}populate(t){this.clear(),t.models.forEach((t=>{const e=new dx(t);try{this.add(e)}catch(t){this.errors.push(t)}})),t.themes&&t.themes.forEach((t=>this.themes.set(t.name,t)))}getSourceData(){const t={models:[]};return this.models.forEach((e=>t.models.push(e.getSourceData()))),t}getCellByName(t,e){for(const i of this.models.values()){const o=i.getCellByName(t,e,!1);if(o)return o}return null}getRangeByName(t){for(const e of this.models.values()){const i=e.getRangeByName(t,!1);if(i)return i}return null}getValueMatrixByName(t){for(const e of this.models.values()){const i=e.getValueMatrixByName(t,!1);if(i)return i}return null}}class px{constructor(t){this.model=t,this.stack=[],this.restack=[]}push(t){return this.restack=[],t.timestamp||(t.timestamp=Date.now()),this.stack.push(t),this}pop(t=1){let e=0;const i=[];for(;e++<t&&this.stack.length>0;){const t=this.stack.pop();i.push(t),this.restack.push(t)}return i}pop2(t=1){let e=0;const i=[];for(;e++<t&&this.restack.length>0;){const t=this.restack.pop();i.push(t),this.stack.push(t)}return i}}class gx{get activeCellCoords(){return{c:this.range.c1+this.activeCell.c1,r:this.range.r1+this.activeCell.r1}}constructor(t,e,i,o){this.hidden=!1,this.range=new fv(t,e,i,o),this.activeCell=new fv(0,0)}static fromRange(t){return new gx(t.c1,t.r1,t.c2,t.r2)}setCoords(t,e,i,o){this.range.setCoords(t,e,i,o),this.activeCell.setCoords(0,0)}setRange(t){"string"==typeof t&&(t=fv.fromA1(t)),this.range.setCoords(t.c1,t.r1,t.c2,t.r2),this.activeCell.setCoords(0,0)}move(t,e,i,o){this.range.setCoords(this.range.c1+this.activeCell.c1,this.range.r1+this.activeCell.r1,this.range.c1+this.activeCell.c2,this.range.r1+this.activeCell.r2),this.range.move(t,e,i,o,!1),this.activeCell.setCoords(0,0)}moveRange(t,e,i,o){this.range.move(t,e,i,o,!0)}moveActiveCell(t,e){const{columns:i,rows:o}=this.range.size;this.activeCell.move(t,e,i,o,!0)}}const mx={...Zf,CUSTOM_CLIPBOARD_TYPE:"web application/json"};class fx{constructor(t,e,i=mx.MAX_CACHE_ITEMS){this.maxCacheItems=i,this.queue=[],this.disabled=!1,this.table=new Array(e).fill(null).map((()=>new Array(t)))}get(t,e){return this.table[e][t]}delete(t,e){return this.table[e][t]=null,this}deleteColumn(t){for(let e=0;e<this.table.length;e++)this.table[e][t]=null;return this}deleteRow(t){return this.table[t]=new Array(this.table[0].length).fill(null),this}set(t,e,i){this.disabled||(this.get(t,e)||this.queue.push([e,t]),this.table[e][t]=i)}clear(){this.queue=[],this.table=this.table.map((t=>new Array(t.length)))}clean(){if(this.maxCacheItems>0&&this.queue.length>this.maxCacheItems){let t=this.queue.length;for(let e=0;e<this.queue.length;e++){const i=this.queue[e];if(!this.table[i[0]][i[1]].parentNode&&(this.queue[e]=null,this.table[i[0]][i[1]]=null,--t<=this.maxCacheItems))break}t<this.queue.length&&(this.queue=this.queue.filter((t=>t)))}}}var vx=function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};let bx=class extends ls{constructor(){super(),this.render=()=>Br`
|
|
2813
2814
|
<og-icon id="filterIcon" .icon="${{icon:"filter"}}"></og-icon>
|
|
2814
2815
|
<div class="text">${q(this.value)?Br`
|
|
2815
2816
|
<og-icon .icon="${this.value?"square-check":"square"}"></og-icon>
|
|
@@ -3238,7 +3239,7 @@
|
|
|
3238
3239
|
<thead ${Kh(this.theadRef)}></thead>
|
|
3239
3240
|
<tbody ${Kh(this.tbodyRef)}></tbody>
|
|
3240
3241
|
</table>
|
|
3241
|
-
`,this.clearHeaderCache=()=>{this.resetFreezeLeft(),this.hCache=new fx(this.model.columns.length,this.columnHeaderCount),this.hCache.disabled=!this.model.options.cellCache},this.clearBodyCache=()=>{this.bCache=new fx(this.model.columns.length,this.model.rows.length),this.bCache.disabled=!this.model.options.cellCache},this.cellRenderSchedules=new WeakMap}willUpdate(){this._viewport=null,this._viewportSize=null,this.model&&(this.clearHeaderCache(),this.clearBodyCache())}updated(){this.model&&(this.createColumns(),this.createHeaderRows(),this.createBodyRows(),this.renderCells())}refresh(){this.clearHeaderCache(),this.clearBodyCache(),this.requestUpdate()}createColumns(){this._freezeLeft=null;const t=this.renderColCount;if(!this.cols||this.cols.length!=t){this.cols=new Array(t);for(let e=0;e<t;e++)this.cols[e]=yt("col"),this.cols.forEach((()=>this.colgroup.appendChild(this.cols[e])))}}createHeaderRows(){const t=this.columnHeaderCount,e=this.renderColCount;if(St(this.thead),!this.hRows||this.hRows.length!=t||!this.hRows[0]||this.hRows[0].children.length!=e){this.hRows=new Array(t);for(let i=0;i<t;i++){this.hRows[i]=yt("tr");for(let t=0;t<e;t++)this.hRows[i].appendChild(yt("th"))}}St(this.thead),this.hRows.forEach((t=>this.thead.appendChild(t)))}createBodyRows(){const t=this.renderRowCount,e=this.renderColCount,i=this.rowHeaderCount;if(!this.bRows||0==this.bRows.length||this.bRows.length!=t||this.bRows[0].children.length!=e)if(0==t&&this.grid.options.emptyPlaceholder)this.bRows=[yt("tr")],this.bRows[0].appendChild(yt("td"));else{this.bRows=new Array(t);for(let o=0;o<t;o++){this.bRows[o]=yt("tr");for(let t=0;t<i;t++)this.bRows[o].appendChild(yt("th"));for(let t=i;t<e;t++)this.bRows[o].appendChild(yt("td"))}}St(this.tbody),this.bRows.forEach((t=>this.tbody.appendChild(t)))}renderCells(t={vertical:!0,horizontal:!0}){this.table&&(t.vertical||t.horizontal)&&(this._viewport=null,t.horizontal&&this.renderHeader(),this.model.rows.length>0?(this.renderBody(),t.vertical&&this.renderRowTree()):this.model.options.emptyPlaceholder&&(this.renderEmptyBody(),this.table.appendChild(this.tbody)),this.dispatchEvent(new zx("rendercells")))}renderEmptyBody(){const t=this.bRows[0].children[0];t.innerHTML="no data",t.className="empty-placeholder",t.colSpan=this.viewport.columns.length+this.rowHeaderCount}renderHeader(){let t;this.colMap.clear();const e=this.rowHeaderCount,i=this.viewport;this.model.hasRowTreeEnabled&&Dt(this.colgroup.children[0],{w:this.treeHeaderWidth},!0),this.model.options.rowNumbers&&Dt(this.colgroup.children[e-1],{w:mx.ROW_HEADER_WIDTH},!0);for(let o=0;o<i.columns.length;o++)t=i.columns[o],this.model.autofitColumns.has(t.index)&&(this.grid.rendering.autofitColumn(t.index,!1,!1),this.model.autofitColumns.delete(t.index)),this.colMap.set(t.index,o),Dt(this.colgroup.children[o+e],{w:t.width}),Pt(this.colgroup.children[o+e],{w:t.width}),Nt(this.colgroup.children[o+e],{w:t.width});let o=0;this.model.hasColumnTreeEnabled&&(this.renderHeaderRowTree(this.hRows[o],o),++o),this.model.options.colLetters&&(Dt(this.hRows[o],{h:this.model.options.rowHeight}),this.renderHeaderRowLetters(this.hRows[o],o),++o);for(let t=0;t<this.model.headerCount;t++)this.renderHeaderRowLabels(this.hRows[o+t],o+t,t);o+=this.model.headerCount,this.model.hasFilter&&(Dt(this.hRows[o],{h:this.model.options.rowHeight}),this.renderHeaderRowFilters(this.hRows[o],o))}renderHeaderRowLetters(t,e){let i,o;const n=this.viewport,r=e-this.columnHeaderCount;let s=0;if(Dt(t,{h:this.model.options.rowHeight}),(this.model.hasRowTree||this.model.options.rowNumbers)&&!this.model.hasColumnTreeEnabled){i=t.children[s],i.colSpan=this.rowHeaderCount,i.rowSpan=this.columnHeaderCount;const e=s-this.rowHeaderCount,o=this.model.options.levelButtonCell;(!o||r==o.r&&e==o.c)&&this.renderHeaderRowCornerCell(i),s++}for(let e=s;e<this.rowHeaderCount;e++)_t(t.children[e]),s++;for(let e=s;e<t.children.length;e++)o=e-s,i=t.children[e],i.className="hlabel",n.columns.length>o?(i.innerHTML=n.columns[o].address,i.c=n.columns[o].index,Mt(i)):_t(i)}renderHeaderRowTree(t,e){if(!this.model.hasColumnTreeEnabled)return;let i,o,n=0;const r=e-this.columnHeaderCount,s=this.viewport,a=this.model.options.rowNumbers,l=this.model.hasRowTreeEnabled;if(Dt(t,{h:this.treeHeaderHeight}),i=t.children[n],!i)return;i.rowSpan=a||l?this.columnHeaderCount:1,i.colSpan=this.rowHeaderCount;const c=n-this.rowHeaderCount,h=this.model.options.levelButtonCell;let d=null;(!h&&(a||l)||h&&r==h.r&&c==h.c)&&(d=c,this.renderHeaderRowCornerCell(i)),(a||l)&&(++n,l&&(i=t.children[n],i.innerHTML="",_t(i),++n));for(let r=n;r<t.children.length;r++)o=r-n,i=t.children[r],s.columns.length>o?(d!=r&&(i.innerHTML="",i.className="htree",this.renderHeaderRowTreeCell(t,e,s.columns[o],i)),Mt(i)):_t(i)}renderHeaderRowTreeCell(t,e,i,o){let n=this.hCache.get(i.index,e);if(!n){n=yt("div"),this.hCache.set(i.index,e,n);const t=i.width+1,o=this.treeHeaderHeight/this.model.maxColumnLevel;if(i.hasChildren){const e=new Qd;e.addEventListener("toggle",(()=>this.grid.rendering.toggleColumn(i.index))),n.expander=e,n.appendChild(e),jt(e,{l:t/2-mx.EXPANDER_SIZE/2,t:i.level*o+o/2-mx.EXPANDER_SIZE/2}),n.expanderLine=this.createExpanderLine("h"),n.appendChild(n.expanderLine),jt(n.expanderLine,{l:this.model.options.columnTree.reversed?0:t/2,t:i.level*o+o/2}),Dt(n.expanderLine,{h:o/2,w:t/2+1})}if(i.hasParent){let e=i;for(;e.hasParent;){e=e.parent;const i=this.createExpanderLine("h");n.appendChild(i),Dt(i,{h:o/2,w:t-1}),jt(i,{l:0,t:e.level*o+o/2})}}}n.expander&&(n.expander.state=i.collapsed?"closed":"open"),o.appendChild(n)}createExpanderLine(t){const e=yt("div");return e.className=`${t}tree-line`,e}renderHeaderRowLabels(t,e,i){let o,n,r,s,a=0;const l=this.viewport,c=e-this.columnHeaderCount,h=this.model.options.levelButtonCell;let d;this.model.hasRowTreeEnabled&&(n=t.children[a],n.innerHTML="",this.model.hasColumnTreeEnabled||this.model.options.colLetters||i>0?_t(n):(n.rowSpan=this.columnHeaderCount,n.colSpan=this.rowHeaderCount,this.renderHeaderRowCornerCell(n)),++a),this.model.options.rowNumbers&&(n=t.children[a],n.innerHTML="",this.model.hasRowTreeEnabled||this.model.options.colLetters||this.model.hasColumnTreeEnabled||i>0?_t(n):(n.rowSpan=this.columnHeaderCount,n.colSpan=this.rowHeaderCount,this.renderHeaderRowCornerCell(n)),++a);for(let u=a;u<t.children.length;u++)if(s=u-a,n=t.children[u],n.className="hlabel",n.innerHTML="",l.columns.length>s)if(o=l.columns[s],r=o.header[i],r.height&&(d=Math.max(r.height,d||0)),n.colSpan=1,n.rowSpan=1,n.c=o.index,n.r=i,r?.hidden)if(s==this.freezeLeft){let t=o.prevVisible,r=0;for(;t&&t.header[i]?.hidden;)t=t.prevVisible,++r;t&&t.header[i].cs?(Mt(n),n.colSpan=t.header[i].cs-r-1,n.rowSpan=t.header[i].rs||1,this.renderHeaderRowLabelCell(n,t,e,i)):_t(n)}else _t(n);else{if(o.header&&o.header[i]){const t=o.header[i].cs||1;n.colSpan=t>1?o.calculateRealColspan(t):1,n.rowSpan=o.header[i].rs||1}Mt(n),this.renderHeaderRowLabelCell(n,o,e,i),h&&h.r==c&&h.c==o.index&&this.renderHeaderRowCornerCell(n)}else _t(n);Dt(t,{h:d??this.model.options.rowHeight})}renderHeaderRowLabelCell(t,e,i,o){let n=this.hCache.get(e.index,i);const r=e.header[o];if(n||(n=yt("div"),r?r.html?n.innerHTML=r.label??"":n.innerText=r.label??"":n.innerHTML="",r&&null!=r._style&&Vk(n,rw(this.model.styles.get(r._style))),this.hCache.set(e.index,i,n)),this.model.options.columnHeaderTreeButtons&&e.hasChildren&&o==e.level){let t=n.expander;t||(t=new Qd,t.addEventListener("toggle",(()=>this.grid.rendering.toggleColumn(e.index))),n.expander=t,n.prepend(t),jt(t,{l:4,t:4})),t.state=e.collapsed?"closed":"open"}e.sorting&&o==e.header.length-1&&(t.className+=" sort",n.sortingArrow||(n.sortingArrow=new Sx,n.appendChild(n.sortingArrow),jt(n.sortingArrow,{t:0,r:5})),n.sortingArrow.sortSettings=this.model.sorting.get(e.index)),t.appendChild(n)}renderHeaderRowFilters(t,e){let i,o,n=0;const r=this.viewport;this.model.hasRowTreeEnabled&&(i=t.children[n],i.innerHTML="",this.model.columnHeaderCount>1?_t(i):i.colSpan=this.model.columnHeaderCount,++n),this.model.options.rowNumbers&&(i=t.children[n],i.innerHTML="",this.model.hasRowTreeEnabled||this.model.options.colLetters||this.model.hasColumnTreeEnabled||this.model.headerCount>0?_t(i):(i.rowSpan=this.columnHeaderCount,i.colSpan=this.rowHeaderCount,this.renderHeaderRowCornerCell(i)),++n);for(let s=n;s<t.children.length;s++)if(o=s-n,i=t.children[s],r.columns.length>o){Mt(i);const n=r.columns[o];n.hasFilter?this.renderHeaderRowFilterCell(t,e,n,i):i.innerHTML=""}else _t(i)}renderHeaderRowFilterCell(t,e,i,o){o.innerHTML="",o.className="filter",o.c=i.index;let n=this.hCache.get(i.index,e);n||(n=yt("div"),n.filter=yt("og-filter-label"),n.appendChild(n.filter),this.hCache.set(i.index,e,n));const r=this.grid.filtering.filter.get(i.index)?.term;n.filter.value=Array.isArray(r)?r.map((t=>t.value??t.key)).join(", "):r,o.appendChild(n)}renderHeaderRowCornerCell(t){this.cornerDiv=yt("div");const e=Math.max((this.treeHeaderWidth||mx.EXPANDER_SIZE+2)/(this.model.maxRowLevel+1),mx.EXPANDER_SIZE+2);if(this.model.hasRowTree)for(let t=0;t<=this.model.maxRowLevel;t++){const i=new Kd;i.level=t,this.cornerDiv.appendChild(i),jt(i,{l:t*e+e/2-mx.EXPANDER_SIZE/2,b:3}),i.addEventListener("mousedown",(t=>t.stopPropagation())),i.addEventListener("toggle",(t=>{this.model.columns.filter((t=>t.levelButtons)).forEach((t=>this.bCache.deleteColumn(t.index))),this.grid.rendering.setRowExpandLevel(t.level)}))}if(this.model.hasColumnTree){const i=(this.model.hasColumnTree?this.treeHeaderHeight:t.clientHeight)/(this.model.maxColumnLevel+1),o=15*this.model.maxColumnLevel+20<=t.clientHeight;for(let t=0;t<=this.model.maxColumnLevel;t++){const n=new Kd;n.level=t,this.cornerDiv.appendChild(n),jt(n,o?{t:t*i+i/2-mx.EXPANDER_SIZE/2,r:3}:{r:t*e+e/2-mx.EXPANDER_SIZE/2,b:3}),n.addEventListener("mousedown",(t=>t.stopPropagation())),n.addEventListener("toggle",(t=>{this.grid.rendering.setColumnExpandLevel(t.level)}))}}St(t),t.appendChild(this.cornerDiv)}renderBody(){let t,e,i,o,n,r,s,a;const l=this.freezeLeft||0,c=this.freezeTop||0,h=this.rowHeaderCount,d=this.model.merges,u=this.model.options.rowNumbers,p=this.viewport,g=this.viewportRange;if(!g)return;const m=new fv(g.c1+l,g.r1+c,g.c2,g.r2);this.rowMap.clear();for(let l=0;l<this.bRows.length;l++)if(t=this.bRows[l],l<p.rows.length){i=p.rows[l],o=i.index,this.model.autofitRows.has(o)&&(this.grid.rendering.autofitRow(o,!1,!1),this.model.autofitRows.delete(o)),Dt(t,{h:i.height}),i.height<this.model.options.rowHeight&&Bt(t,i.height),this.rowMap.set(o,l),u&&(e=t.children[h-1],e.className="vlabel",e.r=o,e.c=-1,e.innerHTML=`<div>${vv(o)}</div>`);for(let l=h;l<t.children.length;l++)if(e=t.children[l],l-h<p.columns.length){if(r=p.columns[l-h],n=r.index,e.r=o,e.c=n,s=i.cell(n),a=s.address,d.getMergeState(a)==lx.HIDDEN){const t=d.hiddenCells.get(s.address),i=m.intersect(new fv(t.c,t.r,t.c+t.cs-1,t.r+t.rs-1));if(s.c!=i.c1||s.r!=i.r1){_t(e);continue}s=this.model.rows[t.r].cell(t.c),e.colSpan=i.size.columns,e.rowSpan=i.size.rows,e.c=s.c,e.r=s.r}else e.colSpan=s.colspan,e.rowSpan=s.rowspan;Mt(e),this.renderBodyCell(s,e)}else _t(e);t.style.display="table-row",t.className=i.filterState>1?"filtered":""}else t.style.display="none"}scheduleRenderBodyCell(t,e){this.cellRenderSchedules.has(e)&&(window.clearTimeout(this.cellRenderSchedules.get(e)),this.cellRenderSchedules.delete(e)),this.cellRenderSchedules.set(e,window.setTimeout((()=>this.renderBodyCell(t,e))))}fixCellBorders(t,e){"none"==e.bottom?.style&&(t.style.borderBottomColor="transparent"),"none"==e.top?.style&&(t.style.borderTop="transparent"),"none"==e.right?.style&&(t.style.borderRight="transparent"),"none"==e.left?.style&&(t.style.borderLeft="transparent")}renderBodyCell(t,e){const i=!e;if(e=e||this.getCellByCellModel(t)){let o=i?null:this.bCache.get(t.c,t.r);if(o||(o=yt("div"),Qk(t).call(this,o,t),this.bCache.set(t.c,t.r,o)),this.renderAll){const i=t.composedStyle;i&&this.fixCellBorders(e,i)}St(e),e.appendChild(o)}else this.bCache.delete(t.c,t.r)}mergeBodyCells(t){let e;const i=new Set;for(const o of t)if(e=this.bRows[o.r].cells[o.c],e&&!i.has(e))for(let t=o.r;t<o.r+o.rs;t++)for(let n=o.c;n<o.c+o.cs;n++)e=this.bRows[t].cells[n],e&&(t==o.r&&n==o.c?(e.colSpan=o.cs,e.rowSpan=o.rs):(i.add(e),_t(e)))}renderRowTree(){if(!this.model.hasRowTreeEnabled)return;let t;const e=this.viewport,i=-this.rowHeaderCount;for(let o=0;o<this.bRows.length;o++)t=this.bRows[o].children[0],t.innerHTML="",o<e.rows.length&&(t.className="vtree",this.renderRowTreeCell(i,e.rows[o],t))}renderRowTreeCell(t,e,i){let o=this.bCache.get(t,e.index);if(!o){o=yt("div"),this.bCache.set(t,e.index,o);const n=e.height+1,r=this.treeHeaderWidth/this.model.maxRowLevel;if(e.hasChildren){const t=new Qd;t.addEventListener("toggle",(()=>this.grid.rendering.toggleRow(e.index))),i.parentElement.expander=t,o.expander=t,o.appendChild(t),jt(t,{t:n/2-mx.EXPANDER_SIZE/2,l:e.level*r+r/2-mx.EXPANDER_SIZE/2});const s=this.createExpanderLine("v");o.appendChild(s),jt(s,{t:this.model.options.rowTree.reversed?0:n/2,l:e.level*r+r/2}),Dt(s,{w:r/2,h:n/2+1})}if(e.hasParent){let t=e;for(;t.hasParent;){t=t.parent;const e=this.createExpanderLine("v");o.appendChild(e),Dt(e,{w:r/2,h:n+2}),jt(e,{t:-1,l:t.level*r+r/2})}}}o.expander&&(o.expander.state=e.collapsed?"closed":"open"),i.appendChild(o)}};Rx.styles=[Mx],Ex([ps({type:Object})],Rx.prototype,"model",void 0),Ex([ps({type:Number,hasChanged:()=>!1})],Rx.prototype,"rowOffset",void 0),Ex([ps({type:Number,hasChanged:()=>!1})],Rx.prototype,"colOffset",void 0),Ex([ps({type:Number,reflect:!0})],Rx.prototype,"zoom",void 0),Ex([ps({type:Boolean,reflect:!0})],Rx.prototype,"nogrid",void 0),Ex([ps({type:Boolean,reflect:!0})],Rx.prototype,"renderAll",void 0),Rx=Ex([hs("og-table")],Rx);const Lx=["F5","F12"];class Ix extends Event{get selection(){return this.grid.selecting.selection}get activeCell(){return this.selection.activeCell}constructor(t,e){super(`grid.${t}`,{bubbles:!0,composed:!0}),Object.assign(this,e),this.cell&&(this.row=this.cell.row,this.column=this.cell.column)}}class Hx extends Ix{constructor(t){super("edit",t)}}class Tx extends _u{constructor(t,e,i){super(`grid.${t}`,i),this.grid=e}}class Ax extends Tx{constructor(t,e,i,o){super(t,e,o),this.column=i}}class Ox extends Tx{constructor(t,e,i,o){super(t,e,o),this.row=i}}class $x{get model(){return this.grid.model}get selection(){return this.grid.selection}get table(){return this.grid.table}constructor(t){this.grid=t,this.clickDisabled=!1,this.editDisabled=!1,this.clicked=!1,this.startOffset={x:0,y:0},this.suspendClick=()=>this.clickDisabled=!0,this.resumeClick=(t=!1)=>{this.isSliding||(t?setTimeout((()=>this.clickDisabled=!1),100):this.clickDisabled=!1)},this._onKeyDown=t=>{switch(Lx.includes(t.key)||t.preventDefault(),t.key){case"Tab":t.preventDefault(),this.grid.selecting.shiftActiveCell(t.shiftKey?-1:1,!0);break;case"ArrowRight":this.grid.selecting.debounceMoveSelector(1,0);break;case"ArrowLeft":this.grid.selecting.debounceMoveSelector(-1,0);break;case"ArrowDown":this.grid.selecting.debounceMoveSelector(0,1);break;case"ArrowUp":this.grid.selecting.debounceMoveSelector(0,-1);break;case"PageUp":this.grid.selecting.debounceMoveSelector(0,-this.table.viewport.rows.length);break;case"PageDown":this.grid.selecting.debounceMoveSelector(0,this.table.viewport.rows.length);break;case"Home":this.grid.selecting.debounceMoveSelector(-this.selection.range.c1,t.ctrlKey?-this.selection.range.r1:0);break;case"End":this.grid.selecting.debounceMoveSelector(this.model.gridRange.c2-this.selection.range.c1,t.ctrlKey?this.model.gridRange.r2-this.selection.range.r1:0);break;case"Enter":this.grid.selecting.enter();break;case"Escape":this.grid.selecting.hideCopySelector();break;case"c":case"C":t.ctrlKey&&this.grid.editing.copySelection();break;case"v":case"V":t.ctrlKey&&this.grid.editing.paste();break;case"z":case"Z":if(!this.grid.options.undoRedo)return;t.ctrlKey&&this.grid.editing.undo();break;case"y":case"Y":if(!this.grid.options.undoRedo)return;t.ctrlKey&&this.grid.editing.redo();break;case"F2":t.preventDefault(),this.grid.editing.startEdit();break;case"Delete":t.preventDefault(),this.grid.objects.delete(),this.grid.editing.clearSelection();break;case"Backspace":t.preventDefault(),this.grid.editing.clearSelection()}1!=t.key.length||t.ctrlKey||this.grid.editing.startEdit(t.key)},this._onMouseMove=t=>{let e=!0;const i=this.grid.hSizer,o=this.grid.vSizer,{offsetX:n,offsetY:r}=t;let s=this.model.options.scrolling.scrollbarVisibilityTreshold;s<=0&&(s=Math.max(this.grid.clientWidth,this.grid.clientHeight)),n>this.grid.clientWidth-s?this.grid.vSlider.show():this.grid.vSlider.hide(),r>this.grid.clientHeight-s?this.grid.hSlider.show():this.grid.hSlider.hide();const[a,l]=this.table.findNearestTableCellByOffset(n,r);if(l&&"TH"==l.tagName&&(this.model.options.columnResize&&!i.resizing&&l.classList.contains("hlabel")?l.offsetWidth-t.offsetX+l.offsetLeft<mx.RESIZE_TRESHOLD?(i.snap(l,this.grid),this.grid.rendering.currentResizedColumn=this.model.columns[l.c]):kt(i):this.model.options.rowResize&&!o.resizing&&l.classList.contains("vlabel")&&(l.offsetHeight-t.offsetY+l.offsetTop<mx.RESIZE_TRESHOLD?(o.snap(l,this.grid),this.grid.rendering.currentResizedRow=this.model.rows[l.r]):kt(o))),a&&"TH"==a.tagName)this.grid.selecting.isSelecting&&(this.suspendClick(),this.grid.selecting.updateSelecting(a.c,a.r));else{if(a&&"TD"==a.tagName)if(this.grid.selecting.isSelectorOperationActive||this.grid.selecting.isFormulaSelectorOperationActive){const{top:e,left:i}=Ht(a,this.grid);this.grid.rendering.autoscroll({x:i-this.table.totalHeaderWidth+t.offsetX-a.offsetLeft,y:e-this.table.thead.clientHeight+t.offsetY-a.offsetTop}),this.grid.selecting.isSelecting&&this.suspendClick(),this.grid.selecting.updateSelecting(a.c,a.r)}else{const t=this.model.rows[a.r]?.cell(a.c);t&&t.hasTooltip&&(e=!1,this.grid.tooltip.attachToCell(a,t)),t&&t.hasComment&&(e=!1,this.grid.comment.attachTo(a,t))}e&&(this.grid.tooltip.deatach(),this.grid.comment.deatach(this.model.options.comments.hideTimeout)),kt(i),kt(o)}},this._onMouseDown=t=>{if(1&t.buttons){this.grid.setPointerCapture(t.pointerId),this.startOffset={x:t.offsetX,y:t.offsetY};for(const e of t.composedPath()){if("TD"==e.tagName){const t=e;this.grid.selecting.startCellSelecting(new fv(t.c,t.r));break}if("TH"==e.tagName){const t=e;e.matches(".sort")?this.grid.sorting.sort(t.c):t.classList.contains("filter")?this.grid.filtering.openFilter(this.model.columns[t.c],t):t.classList.contains("hlabel")?this.grid.selecting.startColumnSelecting(t.c):t.classList.contains("vlabel")&&this.grid.selecting.startRowSelecting(t.r);break}}}},this._onMouseUp=t=>{if(0!=t.buttons)return;const e=Math.abs(this.startOffset.x-t.offsetX),i=Math.abs(this.startOffset.y-t.offsetY);Math.sqrt(Math.pow(e,2)+Math.pow(i,2))<this.model.options.events.click.mouseMoveTreshold&&this.resumeClick(),this.grid.releasePointerCapture(t.pointerId),this.grid.selecting.stopSelectOperations()},this._onClick=t=>{if(this.clickDisabled)return;if(this.grid.clientHeight-t.offsetY<this.grid.hSlider.offsetHeight)return;if(this.grid.clientWidth-t.offsetX<this.grid.vSlider.offsetWidth)return;const e=this.table.findTableCellByOffset(t.offsetX,t.offsetY),i="TD"==e?.tagName?this.model.rows[e.r]?.cell(e.c):null;this.grid.dispatchEvent(new Ix("click",{grid:this.grid,cell:i}))},this._onContextMenu=t=>{t.preventDefault();for(const e of t.composedPath())if("TD"==e.tagName){const i=e;this.grid.menus.openCellMenu(this.model.rows[i.r].cell(i.c),{x:t.pageX,y:t.pageY})}else if("TH"==e.tagName){const i=e;i.classList.contains("hlabel")?this.grid.menus.openColumnMenu(this.model.columns[i.c],{x:t.pageX,y:t.pageY}):i.classList.contains("vlabel")&&this.grid.menus.openRowMenu(this.model.rows[i.r],{x:t.pageX,y:t.pageY})}},this._onVerticalSlide=t=>{this.table.rowOffset=Math.min(t.value,this.model.visibleRows.length-1),this.grid.rendering.requireVerticalUpdate=!0,this.grid.rendering.renderCells()},this._onHorizontalSlide=t=>{this.table.colOffset=Math.min(t.value,this.model.visibleColumns.length-1),this.grid.rendering.requireHorizontalUpdate=!0,this.grid.rendering.renderCells()},this._onSlideStart=()=>{this.suspendClick()},this._onSlideStop=()=>{this.resumeClick(!0)},this._denbounceHorizontalScroll=Y((t=>this.grid.rendering.scrollHorizontalByPixels(t)),50),this._onWheel=t=>{t.ctrlKey||(0!=t.deltaY&&this.grid.rendering.scrollVerticalByPixels(t.deltaY),0!=t.deltaX&&this._denbounceHorizontalScroll(Math.sign(t.deltaX)*Math.min(100,Math.abs(t.deltaX))))},this._onTouchStart=t=>{this.grid.rendering.touchStartX=t.touches[0],this.grid.rendering.touchStartY=t.touches[0]},this._onTouchEnd=t=>{this.grid.rendering.touchStartX=t.touches[0],this.grid.rendering.touchStartY=t.touches[0]},this._onTouchMove=t=>{const e=this.grid.rendering;if(e.touchStartY){const i=e.touchStartY.clientY-t.touches[0].clientY;Math.abs(i)>this.model.options.rowHeight&&this.table.viewport.rows.length>0&&(e.scrollVerticalByPixels(i),e.touchStartY=t.touches[0])}if(e.touchStartX){const i=e.touchStartX.clientX-t.touches[0].clientX;Math.abs(i)>this.model.options.columnWidth&&this.table.viewport.columns.length>0&&(e.scrollHorizontalByPixels(i),e.touchStartX=t.touches[0])}},this._onHorizontalResizeStart=()=>{this.grid.rendering.resizing=!0,this.grid.rendering.currentResizedColumnWidth=this.grid.rendering.currentResizedColumn.width},this._onHorizontalResizeStop=t=>{this.suspendClick(),this.grid.rendering.resizing=!1,this.table.clearHeaderCache(),this.table.renderCells({horizontal:!0}),this.grid.dispatchEvent(new Ax("column.resize",this.grid,this.grid.rendering.currentResizedColumn,t))},this._onHorizontalResize=t=>{const e=this.grid.rendering;e.currentResizedColumn.width=e.currentResizedColumnWidth+t.deltaX,Dt(this.table.getColumnByModelIndex(e.currentResizedColumn.index),{w:e.currentResizedColumn.width},!0),this.grid.selecting.updateSelector()},this._onVerticalResizeStart=()=>{this.grid.rendering.resizing=!0,this.grid.rendering.currentResizedRowHeight=this.grid.rendering.currentResizedRow.height},this._onVerticalResizeStop=t=>{this.suspendClick(),this.grid.rendering.resizing=!1,this.table.clearBodyCache(),this.table.renderCells({vertical:!0}),this.grid.dispatchEvent(new Ox("row.resize",this.grid,this.grid.rendering.currentResizedRow,t))},this._onVerticalResize=t=>{const e=this.grid.rendering;e.currentResizedRow.height=e.currentResizedRowHeight+t.deltaY,Dt(this.table.getRowByModelIndex(e.currentResizedRow.index),{h:e.currentResizedRow.height},!1),this.grid.selecting.updateSelector()},this._onCommentCommit=t=>{this.grid.model.comments.set(t.cell.address,t.items),t.cell.invalidateStyle(),this.grid.rendering.updateCells([t.cell])},this._onAutofill=t=>{if(this.suspendClick(),this.grid.selection.range.equals(t.selector.autofillRange))return;const{cells:e,oldValues:i}=Gy(this.model,this.grid.selection.range,t.selector.autofillRange,t.selector.autofillDirection);this.grid.rendering.updateCells(e,!0),this.grid.selection.setRange(this.grid.selection.range.unite(t.selector.autofillRange)),this.grid.selecting.updateSelector(),this.grid.dispatchEvent(new Hx({grid:this.grid,editType:"autofill",cells:e,oldValues:i,newValues:e.map((t=>t.value2))}))},this._onEdit=t=>{if(t.fromHistory)return;const e=[],i=[],o=this.model.names.rangeMap;let n=[],r=[],s=[],a=[];switch(t.editType){case"value":n=t.newValues,r=t.newProps,s=t.oldValues,a=t.oldProps,t.cells.forEach((t=>{const n=t.address;e.push(n),i.push(o.get(n))}));break;case"insert_column":case"insert_row":t.newValues.forEach((t=>{const r=t.address;e.push(r),i.push(o.get(r)),n.push(t.getSourceData())}))}this.grid.history.push({type:t.editType,addresses:e,names:i,oldValues:s,oldProps:a,newValues:n,newProps:r})},this._onSelectorMove=t=>{this.suspendClick(),this.selection.setRange(t.toRange),t.fromRange.isRow?this.grid.editing.moveRows({index:t.fromRange.r1,count:t.fromRange.size.rows,targetIndex:t.toRange.r1}):t.fromRange.isColumn?this.grid.editing.moveColumns({index:t.fromRange.c1,count:t.fromRange.size.columns,targetIndex:t.toRange.c1}):console.log(t)},this._onMouseLeave=()=>{this.grid.rendering.hideSliders()},this.debounceHideSliders=Y((()=>this.grid.rendering.hideSliders()),1e3,{isImmediate:!1}),this._onRender=()=>{const t=this.grid;t.selecting.updateSelectors(),t.dispatchEvent(new Ix("render",{grid:this.grid})),t.adapter&&t.options.pageSize&&t.rendering.isLastRowInViewport()&&t.rendering.loadNextPage(),t.rendering.updateSliderVisibility(),this.model.options.scrolling.scrollbarVisibilityTreshold>0&&this.debounceHideSliders()},this._onHorizontalSizerDblClick=t=>{t.stopPropagation(),this.editDisabled=!0,this.grid.rendering.autofitColumn(this.grid.rendering.currentResizedColumn.index),this.grid.dispatchEvent(new Ax("column.resize",this.grid,this.grid.rendering.currentResizedColumn,t))},this._onVerticalSizerDblClick=t=>{t.stopPropagation(),this.editDisabled=!0,this.grid.rendering.autofitRow(this.grid.rendering.currentResizedRow.index),this.grid.dispatchEvent(new Ox("row.resize",this.grid,this.grid.rendering.currentResizedRow,t))},this._onDblClick=()=>{this.editDisabled?this.editDisabled=!1:this.grid.editing.startEdit()}}get isSliding(){return this.grid.hSlider.sliding||this.grid.vSlider.sliding}async init(){await this.grid.updateComplete,await this.table.updateComplete;const t=this.grid;t.addEventListener("wheel",this._onWheel,{passive:!0}),t.addEventListener("touchstart",this._onTouchStart,{passive:!0}),t.addEventListener("touchend",this._onTouchEnd,{passive:!0}),t.addEventListener("touchmove",this._onTouchMove,{passive:!0}),t.hSizer.addEventListener("resizestart",this._onHorizontalResizeStart),t.hSizer.addEventListener("resizestop",this._onHorizontalResizeStop),t.hSizer.addEventListener("resize",this._onHorizontalResize),t.hSizer.addEventListener("dblclick",this._onHorizontalSizerDblClick),t.vSizer.addEventListener("resizestart",this._onVerticalResizeStart),t.vSizer.addEventListener("resizestop",this._onVerticalResizeStop),t.vSizer.addEventListener("resize",this._onVerticalResize),t.vSizer.addEventListener("dblclick",this._onVerticalSizerDblClick),t.comment.addEventListener("comment.commit",this._onCommentCommit),t.addEventListener("keydown",this._onKeyDown),t.addEventListener("click",this._onClick),t.addEventListener("contextmenu",this._onContextMenu),t.addEventListener("toggle",(()=>t.rendering.debounceCalculateViewport())),t.addEventListener("pointerup",this._onMouseUp),t.addEventListener("pointerdown",this._onMouseDown);const e=Y(this._onMouseMove,20,{maxWait:50,isImmediate:!0});t.addEventListener("pointermove",e),t.addEventListener("mouseleave",this._onMouseLeave),t.table.addEventListener("rendercells",this._onRender),t.selector.addEventListener("grid.selector.autofill",this._onAutofill),t.selector.addEventListener("grid.selector.move",this._onSelectorMove),t.addEventListener("dblclick",this._onDblClick),t.addEventListener("grid.edit",this._onEdit)}}class Dx{get vScrolling(){return this._vScrolling}get hScrolling(){return this._hScrolling}get model(){return this.grid.model}get selection(){return this.grid.selection}get table(){return this.grid.table}constructor(t){this.grid=t,this.requireVerticalUpdate=!0,this.requireHorizontalUpdate=!1,this.resizing=!1,this._vScrolling=!0,this._hScrolling=!0,this.debounceRenderCells=Y(this.renderCells,50,{isImmediate:!1,maxWait:100}),this.debounceCalculateViewport=Y(this.calculateViewport,200)}isLastRowInViewport(){const t=this.grid.table.viewport.rows,e=this.model.visibleRows;return t[t.length-1]==e[e.length-1]}renderCells(t){t=t||{vertical:this.requireVerticalUpdate,horizontal:this.requireHorizontalUpdate},this.grid.comment.deatach(),this.grid.table.renderCells(t),this.requireHorizontalUpdate=!1,this.requireVerticalUpdate=!1,this.debounceCalculateViewport(),this.grid.objects.updatePostions()}renderAll(t=!1){this.grid.group?this.grid.group.grids.forEach((e=>e.rendering.render(t))):this.render(t)}async render(t=!1){this.grid.table&&this.model&&(this.grid.table.clearHeaderCache(),this.grid.table.clearBodyCache(),this.grid.table.isConnected&&(t&&(this.grid.table.requestUpdate(),await this.grid.table.updateComplete),this.grid.table.renderCells({horizontal:!0,vertical:!0}),this.calculateViewport()))}updateRange(t,e=!1){for(const i of this.model.getRangeIterator(t))this.updateCells([i],e)}updateCell(t,e=!1){this.updateCells([t],e)}updateSpilledCells(t){let e;t.prevSpillRange&&(e=new Set,this.model.getRangeIterator(t.prevSpillRange).forEach((t=>e.add(t)))),t.spillRange&&(e=e||new Set,this.model.getRangeIterator(t.spillRange).forEach((t=>e.add(t)))),e?.size>0&&this.updateCells(e)}updateCells(t,e=!1){if(e)for(const e of t)e.invalidateStyle(),e.invalidateValue(),this.model.calculations.clearDependecies(e).evaluate(e),this.updateSpilledCells(e);const i=this.grid.table;for(const e of t)i.renderBodyCell(e);e&&(this.model.calculations.invalidateDependants(t).forEach(((t,e)=>{t?this.grid.group.getGrid(t)?.table.renderBodyCell(e):i.renderBodyCell(e),this.updateSpilledCells(e)})),this.grid.dispatchGridEvent("calculate",{cells:Array.from(t)}))}updateHeaders(){this.model.indexVisibleColumns(),this.table.clearHeaderCache(),this.table.createHeaderRows(),this.table.renderHeader()}calculateViewport(t=!1){this.grid.logger.info("calculate viwport"),this.updateCells(this.model.calculateViewport(),t)}updateSliders(){const t=this.table.viewportSize;this.grid.vSlider.maxValue=this.model.visibleRows.length,this.grid.vSlider.pageSize=t.h/this.model.options.rowHeight,this.grid.vSlider.value=this.table.rowOffset,this.grid.hSlider.maxValue=this.model.visibleColumns.length,this.grid.hSlider.pageSize=t.w/this.model.options.columnWidth,this.grid.hSlider.value=this.table.colOffset}isVerticalScrollingEnabled(){return!1!==this.grid.options.scrolling.verticalOverscroll||this.table.viewport.rows.length<this.model.visibleRows.length}isHorizontalScrollingEnabled(){return!1!==this.grid.options.scrolling.horizontalOverscroll||this.table.viewport.columns.length<this.model.visibleColumns.length}updateSliderVisibility(){this._vScrolling=this.isVerticalScrollingEnabled(),this._vScrolling?(this.grid.vSlider.show(),xt(this.grid.vSlider)):(this.grid.vSlider.hide(),kt(this.grid.vSlider)),this._hScrolling=this.isHorizontalScrollingEnabled(),this._hScrolling?(this.grid.hSlider.show(),xt(this.grid.hSlider)):(this.grid.hSlider.hide(),kt(this.grid.hSlider))}hideSliders(){this.grid.vSlider.hide(),this.grid.hSlider.hide()}scrollVerticalByPixels(t){if(!this.vScrolling)return;let e,i=this.table.rowOffset,o=0,n=0;if(t>0){for(;o<t&&i+n<this.model.visibleRows.length;)o+=this.model.visibleRows[i+n++].height+2;i+=n}else if(t<0){for(t=Math.abs(t);o<t&&i+n>=0;)e=this.model.visibleRows[Math.min(this.model.visibleRows.length-1,i+n--)],o+=(e?e.height:0)+2;i+=n}i>=this.model.visibleRows.length&&(i=this.model.visibleRows.length-1),this.requireVerticalUpdate=!0,this.table.rowOffset=Math.max(0,i),this.debounceRenderCells(),this.updateSliders()}scrollHorizontalByPixels(t){if(!this.hScrolling)return;let e=this.table.colOffset,i=0,o=0;if(t>0){for(;i<t&&e+o<this.model.visibleColumns.length;)i+=this.model.visibleColumns[e+o++].width+2;e+=o}else if(t<0){for(t=Math.abs(t);i<t&&e+o>=0;)i+=this.model.visibleColumns[Math.min(this.model.visibleColumns.length-1,e+o--)].width+2;e+=o}e>=this.model.visibleColumns.length&&(e=this.model.visibleColumns.length-1),this.requireHorizontalUpdate=!0,this.table.colOffset=Math.max(0,e),this.debounceRenderCells(),this.updateSliders()}updateCellSelectionRange(){const t=this.table;for(const e of this.model.getRangeIterator(this.selection.range,!1))t.renderBodyCell(e)}getAdapterRequestFilters(){return{offset:0,filter:this.grid.filtering?.filter?Array.from(this.grid.filtering.filter.settings.values()):null,order:this.grid.model?.sorting?.settings}}async toggleRow(t,e=!0){const i=this.model.rows[t];if(i.isLoaded||i.isPartialyLoaded)i.toggleCollapse(!1,this.model.options.unhideRowAfterExpand),this.table.renderCells({vertical:!0});else if(this.grid.adapter){const e=this.table.getRowByModelIndex(t);e&&e.expander&&(e.expander.state="waiting"),i.collapsed=!1;const o=Object.assign(this.getAdapterRequestFilters(),{parent:{r:i.index,props:i.properties}}),[n]=await Promise.all([this.grid.adapter.getRows(o)]);this.model.insertRowData(i,0,n),o.rows=n;const[r]=await Promise.all([this.grid.adapter.getCells(o)]);r?.map((t=>this.model.getCellByCoords(t.r,t.c)?.update(t))),this.table.requestUpdate()}this.updateSliders(),e&&this.grid.dispatchEvent(new Ix("row.toggle",{grid:this.grid,row:i}))}toggleColumn(t,e=!0){const i=this.model.columns[t];i.toggleCollapse(!1,this.model.options.unhideColumnAfterExpand),this.table.renderCells({horizontal:!0}),this.updateSliders(),e&&this.grid.dispatchEvent(new Ix("column.toggle",{grid:this.grid,column:i}))}setRowExpandLevel(t){this.model.setRowExpandLevel(t),this.table.rowOffset=0,this.table.renderCells({vertical:!0}),this.updateSliders(),this.grid.dispatchEvent(new Ix("row.toggle",{grid:this.grid}))}setColumnExpandLevel(t){this.model.setColumnExpandLevel(t),this.table.colOffset=0,this.table.renderCells({horizontal:!0}),this.updateSliders(),this.grid.dispatchEvent(new Ix("column.toggle",{grid:this.grid}))}async exportHTML(){const t=yt("div");kt(t),document.body.appendChild(t);const e=yt("og-table");e.grid=this.grid,e.model=this.model,e.renderAll=!0,t.appendChild(e),await e.updateComplete;const i=this.model.options?.print?.rowBreaks,o=e.table,n=i&&i.length>0;if(n){const t=o.querySelector("colgroup"),n=[...o.tBodies[0].rows],r=this.model.options?.print?.rowTitles?fv.fromA1(this.model.options?.print?.rowTitles):null,s=r?Array.from({length:r.r2-r.r1+1},((t,i)=>n[e.rowMap.get(r.r1+i)])):[];for(let o=0;o<i.length;o++){const r=yt("table");r.appendChild(t.cloneNode(!0));const a=yt("tbody");r.appendChild(a);const l=e.rowMap.get(i[o]),c=o<i.length-1?e.rowMap.get(i[o+1]):this.model.visibleRows.length-1;s.forEach((t=>a.appendChild(t.cloneNode(!0))));for(let t=l;t<=c;t++)a.appendChild(n[t]);e.shadowRoot.appendChild(r)}t.cloneNode(!0)}const r=`\n\t\t\t<style>\n\t\t\t\thtml {\n\t\t\t\t\t${ua(wa().themes.get("light")).cssText}\n\t\t\t\t}\n\t\t\t\t${n?"table {break-after: page}":""}\n\t\t\t\t${Rx.styles.map((t=>t.cssText)).join("\n")}\n\t\t\t</style>\n\n\t\t`,s=r+e.shadowRoot.innerHTML.replace(/<!---->/g,"");return t.remove(),s}stopAutoscroll(){this.autoscrollTimer&&window.clearInterval(this.autoscrollTimer)}startAutoscroll(){this.stopAutoscroll(),this.autoscrollTimer=window.setInterval((()=>{if(0==this.autoscrollValue)return this.stopAutoscroll();const t=Math.pow(this.autoscrollValue,Zf.AUTOSCROLL_RATIO);switch(this.autoscrollDirection){case"down":this.scrollVerticalByPixels(t);break;case"up":this.scrollVerticalByPixels(-t);break;case"left":this.scrollHorizontalByPixels(-t);break;case"right":this.scrollHorizontalByPixels(t)}}),Zf.AUTOSCROLL_INTERVAL)}autoscroll(t){const{x:e,y:i}=t,o=this.table.clientWidth/this.table.zoom-this.table.totalHeaderWidth,n=this.table.clientHeight/this.table.zoom-this.table.totalHeaderHeight;let r,s=0;e<Zf.AUTOSCROLL_TRESHOLD&&e<i&&e<n-i?(r="left",s=Zf.AUTOSCROLL_TRESHOLD-e):o-e<Zf.AUTOSCROLL_TRESHOLD&&o-e<i&&o-e<n-i?(r="right",s=Zf.AUTOSCROLL_TRESHOLD-o+e):i<Zf.AUTOSCROLL_TRESHOLD?(r="up",s=Zf.AUTOSCROLL_TRESHOLD-i):n-i<Zf.AUTOSCROLL_TRESHOLD&&(r="down",s=Zf.AUTOSCROLL_TRESHOLD-n+i),this.autoscrollDirection=r,this.autoscrollValue=s,this.stopAutoscroll(),s>0&&this.startAutoscroll()}async load(t){t=t||this.getAdapterRequestFilters();const e=t.parent?.r??null,i=null!=e?this.model.rows[e]:this.model.rowRoot,[o]=await Promise.all([this.grid.adapter.getRows(t)]);o.length>0&&null===e&&this.model.insertRowData(i,t.offset,o);const[n]=await Promise.all([this.grid.adapter.getCells(t)]);n?.map((t=>this.model.getCellByCoords(t.r,t.c)?.update(t))),this.table.requestUpdate(),o.length>=this.model.options.pageSize?i.count=1/0:i.count=i.children.length,this.grid.logger.info(`loaded ${o.length} rows`),this.grid.loading=!1,this.grid.dispatchEvent(new Ix("afterLoad",{grid:this.grid}))}async loadNextPage(t=null,e=!1){if(this.grid.loading)return;const i=null!=t?this.model.rows[t]:this.model.rowRoot;if(!e&&i.isLoaded)return;this.grid.dispatchEvent(new Ix("beforeLoad",{grid:this.grid})),this.grid.loading=!0;const o=this.model.rows.length;this.grid.logger.info(`loading rows offset = ${o}`),await this.load(Object.assign(this.getAdapterRequestFilters(),{offset:o,parent:{r:t,props:null}}))}get totalSize(){return{width:this.table.totalHeaderWidth+this.model.visibleColumns.reduce(((t,e)=>t+e.width),0),height:this.table.thead.offsetHeight+this.model.visibleRows.reduce(((t,e)=>t+e.height),0)}}autofitColumn(t,e=!1,i=!0){const o="number"==typeof t?this.model.columns[t]:t,n=this.autofitDiv??(this.autofitDiv=yt("div"));n.style.position="absolute",n.style.zIndex="100000",jt(n,{l:-1e3,t:-1e3}),this.grid.shadowRoot.appendChild(n);let r=0;for(const t of this.model.getRangeIterator(fv.fromA1(o.address),!!e)){const e=Qk(t).call(this.table,n,t)||n;e.style.width="auto",r=Math.max(r,e.offsetWidth)}o.width=r+10,i&&this.table.renderCells({horizontal:!0})}autofitColumns(t=!1){this.model.columns.forEach((e=>this.autofitColumn(e,t,!1))),this.table.renderCells({horizontal:!0})}autofitRow(t,e=!1,i=!0){const o="number"==typeof t?this.model.rows[t]:t,n=this.autofitDiv??(this.autofitDiv=yt("div"));n.style.position="absolute",n.style.zIndex="100000",jt(n,{l:-1e3,t:-1e3}),this.grid.shadowRoot.appendChild(n);let r=0;for(const t of this.model.getRangeIterator(fv.fromA1(o.address),!!e)){const e=Qk(t).call(this.table,n,t)||n;e.style.height="auto",r=Math.max(r,e.offsetHeight)}o.height=r+8,i&&this.table.renderCells({vertical:!0})}autofitRows(t=!1){this.model.rows.forEach((e=>this.autofitRow(e,t,!1))),this.table.renderCells({vertical:!0})}scrollTo(t,e=0){let i;i=Q(t)?fv.fromA1(t):new fv(e,t),this.table.rowOffset=i.r1,this.table.colOffset=i.c1,this.requireVerticalUpdate=!0,this.requireHorizontalUpdate=!0,this.debounceRenderCells(),this.updateSliders()}}class Nx{get model(){return this.grid.model}get selection(){return this.grid.editing.isFormulaMode?this.formulaSelection:this.grid.selection}get selector(){return this.grid.editing.isFormulaMode?this.grid.formulaSelector:this.grid.selector}get formulaSelection(){return this._formulaSelection}get events(){return this.grid.events}get table(){return this.grid.table}get isSelecting(){return this.isCellSelecting||this.columnSelecting||this.rowSelecting}get isCellSelecting(){return this.selector.isSelecting}get isAutofilling(){return this.selector.isAutofilling}get isMoving(){return this.selector.isMoving}get isSelectorOperationActive(){return this.selector.isSelectorOperationActive}get isFormulaSelectorOperationActive(){if(!this.grid.editing.isFormulaMode)return!1;for(const t of this.formulaSelectors.values())if(t.isSelectorOperationActive)return!0;return!1}get activeCell(){const{c:t,r:e}=this.selection.activeCellCoords;return this.model.rows[e]?.cell(t)}constructor(t){this.grid=t,this.columnSelecting=!1,this.rowSelecting=!1,this._formulaSelection=new gx(0,0,0,0),this.formulaSelectors=new Map,this.debounceMoveSelector=Y(((t,e)=>this.moveSelector(t,e)),10)}moveToSelection(){const t=new fv(this.selection.range.c1,this.selection.range.r1);this.table.viewportRange.contains(t)}select(t,e=!1){this.selection.setRange(t),this.updateSelector(),e&&this.grid.dispatchEvent(new Ix("select",{grid:this.grid}))}startCellSelecting(t){this.grid.style.cursor="cell",this.startSelectingRange=t.clone(),this.select(t,!0),this.selector.startSelecting(t)}startColumnSelecting(t){this.columnSelecting=!0;const e=new fv(t,null,t,null);this.startSelectingRange=e.clone(),this.select(e,!0)}startRowSelecting(t){this.rowSelecting=!0;const e=new fv(null,t,null,t);this.startSelectingRange=e.clone(),this.select(e,!0)}updateSelecting(t,e){const i=this.model.options.selecting.multiSelect;(this.isCellSelecting||this.rowSelecting)&&(i||(this.selection.range.r1=e),this.selection.range.r2=e),(this.isCellSelecting||this.columnSelecting)&&(i||(this.selection.range.c1=t),this.selection.range.c2=t),this.grid.editing.isFormulaMode?(this.updateFormulaSelector(),this.formulaSelectors.forEach((i=>i.updateMovingOperations(t,e)))):(this.updateSelector(),this.hideFormulaSelector(),this.selector.updateMovingOperations(t,e))}stopSelecting(){this.grid.rendering.stopAutoscroll(),this.isSelecting&&!this.selection.range.equals(this.startSelectingRange)&&this.grid.dispatchEvent(new Ix("select",{grid:this.grid})),this.columnSelecting=!1,this.rowSelecting=!1,this.startSelectingRange=null,this.selector.stopSelectorOperations()}highlightSelection(){const t=this.selection.range,[e,i]=[Math.min(t.c1,t.c2),Math.max(t.c1,t.c2)],[o,n]=[Math.min(t.r1,t.r2),Math.max(t.r1,t.r2)],r=i-e+1,s=n-o+1;this.table.highlightColHeaderCells(r<1/0?Array.from(new Array(r),((t,i)=>i+e)):[]),this.table.highlightRowHeaderCells(s<1/0?Array.from(new Array(s),((t,e)=>e+o)):[])}updateSelector(t=!0){this.model.options.selecting.enabled?(this.showSelector(t),this.highlightSelection()):this.hideSelector(),this.grid.editing.isFormulaMode||this.grid.editing.endEdit()}showSelector(t=!0){this.selector&&(this.selector.show(),this.selector.select(this.selection.range,t))}hideSelector(){this.selector.hide()}moveSelector(t,e){if(this.selection.move(t,e,this.model.columns.length,this.model.rows.length),0!=e&&!this.model.rows[this.selection.range.r1].visible){const t=e>0?this.model.rows[this.selection.range.r1].nextVisible:this.model.rows[this.selection.range.r1].prevVisible;t&&(this.selection.range.r1=t.index,this.selection.range.r2=t.index)}if(0!=t&&!this.model.columns[this.selection.range.c1].visible){const e=t>0?this.model.columns[this.selection.range.c1].nextVisible:this.model.columns[this.selection.range.c1].prevVisible;e&&(this.selection.range.c1=e.index,this.selection.range.c2=e.index)}this.selector.selection=this.selection.range,this.selector.updatePosition();const i={c:0,r:0};(e>0&&this.selector.offsetTop+this.selector.offsetHeight>this.grid.clientHeight||e<0&&this.selector.offsetTop<this.table.totalHeaderHeight-1||e>=this.table.viewport.rows.length)&&(i.r+=e),(t>0&&this.selector.offsetLeft+this.selector.offsetWidth>this.grid.clientWidth||t<0&&this.selector.offsetLeft<this.table.totalHeaderWidth-1)&&(i.c+=t),0==i.c&&0==i.r||(this.table.colOffset=Math.max(0,this.table.colOffset+i.c),this.table.rowOffset=Math.min(Math.max(0,this.table.rowOffset+i.r),this.model.visibleRows.length-1),this.table.renderCells({horizontal:0!=i.c,vertical:0!=i.r}),this.grid.rendering.updateSliders()),this.grid.editing.isFormulaMode||this.grid.editing.endEdit(),this.highlightSelection(),this.grid.dispatchEvent(new Ix("select",{grid:this.grid}))}shiftActiveCell(t,e=!1){this.selection.moveActiveCell(t,0),this.selector.updatePosition(),e&&this.grid.dispatchEvent(new Ix("select",{grid:this.grid}))}updateFormulaSelector(t=!0){this.grid.editing.isFormulaMode?this.showFormulaSelector(t):this.hideFormulaSelector()}showFormulaSelector(t=!0){this.grid.formulaSelector.show(),this.grid.formulaSelector?.select(this.formulaSelection.range,t)}hideFormulaSelector(){this.grid.formulaSelector.hide()}updateFormulaSelectors(){this.formulaSelectors.forEach((t=>t.updatePosition()))}highlightColorItem(t){const e=gx.fromRange(fv.fromA1(t.address)),i=yt("og-selector");this.grid.shadowRoot.appendChild(i),i.addEventListener("grid.selector.move",(t=>this.select(t.selector.selection.clone()))),i.addEventListener("grid.selector.resize",(t=>this.select(t.selector.selection.clone()))),i.grid=this.grid,i.color=t.color,i.subselector=!1,i.movable=!0,i.resizable=!0,i.index=t.tokenIndex,this.formulaSelectors.set(t.tokenIndex,i),i.select(e.range.clone(),!1),i.show()}highlightFormula(t){this.removeFormulaHighlight(),this.formulaSelectors.clear();const e=new Set;t.colors.forEach((t=>{if(null==t.sheet||t.sheet==this.model.name)this.highlightColorItem(t);else if(this.grid.group){const i=this.grid.group.getGrid(t.sheet);if(!i)return;e.has(i)||(e.add(i),i.selecting.removeFormulaHighlight()),i.isConnected&&i.selecting.highlightColorItem(t)}}))}removeFormulaHighlight(){this.formulaSelectors?.forEach((t=>Et(t))),this.formulaSelectors.clear()}updateCopySelector(){this.grid.copySelector.isVisible&&this.grid.copySelector.updatePosition()}showCopySelector(){this.grid.copySelector.show(),this.grid.copySelector?.select(this.selection.range.clone(),!1)}hideCopySelector(){this.grid.copySelector.hide()}updateSelectors(){this.updateSelector(!1),this.updateCopySelector(),this.updateFormulaSelectors()}stopSelectOperations(){this.stopSelecting(),this.formulaSelectors.forEach((t=>t.stopSelectorOperations())),this.grid.style.removeProperty("cursor")}enter(){const t=this.grid.group;if(this.grid.editing.isFormulaMode&&t){const e=t.formulaModeGrid;e.editing.commitEdit(),t.activateGrid(e.model.name)}else this.debounceMoveSelector(0,1)}}class Px extends Event{}class jx extends ls{get isOpen(){return this._open}get isValid(){return this._valid}validate(){return this._valid=!0,this.activeCell&&(this._valid=qy(this.activeCellModel,this.getValue())),this.classList.toggle("invalid",!this._valid),this._valid}constructor(){super(),this.cancel=!1,this._open=!1,this._valid=!0,this.init()}getDisplayValue(){return null}init(){this.addEventListener("keydown",(t=>{"Enter"==t.key?this.close():"Escape"==t.key?(this.cancel=!0,this.close()):t.stopPropagation()}))}connectedCallback(){super.connectedCallback(),this.performUpdate()}alignWithCell(){if(!this.activeCell)return;const t=Ht(this.activeCell,this.grid);jt(this,{t:t.top*this.grid.zoom,l:t.left*this.grid.zoom}),Dt(this,{w:this.activeCell.offsetWidth,h:this.activeCell.offsetHeight})}open(t,e=null,i=!0){this._valid=!0,this.initialValue=e,this._open=!0,this.grid=t;const o=t.selecting.activeCell;return this.activeCellModel=o,this.activeCell=this.grid.table.getCellByModelIndex(o.c,o.r),this.grid.selector.hide(),xt(this),i&&this.alignWithCell(),this.activate(o),null!==e&&this.setValue(e),Qt(this,this.grid.zoom),this}commit(){this._open&&!this.cancel&&this.activeCellModel&&(this.grid.editing.updateCell(this.activeCellModel,{v:this.getValue(),dv:this.getDisplayValue()}),this.grid.rendering.updateCell(this.activeCellModel,!0)),this.cancel=!1}close(){this._open&&(this.deactivate(),kt(this),this.grid.table.renderBodyCell(this.activeCellModel),this.grid.selecting.showSelector(),this.grid.focus(),this._open=!1,this.grid.editing.endEdit()),this.cancel=!1}activate(t){this.activeCellModel=t,this.dispatchEvent(new Px("activate"))}deactivate(){this.dispatchEvent(new Px("deactivate"))}}jx.baseStyles=or`
|
|
3242
|
+
`,this.clearHeaderCache=()=>{this.resetFreezeLeft(),this.hCache=new fx(this.model.columns.length,this.columnHeaderCount),this.hCache.disabled=!this.model.options.cellCache},this.clearBodyCache=()=>{this.bCache=new fx(this.model.columns.length,this.model.rows.length),this.bCache.disabled=!this.model.options.cellCache},this.cellRenderSchedules=new WeakMap}willUpdate(){this._viewport=null,this._viewportSize=null,this.model&&(this.clearHeaderCache(),this.clearBodyCache())}updated(){this.model&&(this.createColumns(),this.createHeaderRows(),this.createBodyRows(),this.renderCells())}refresh(){this.clearHeaderCache(),this.clearBodyCache(),this.requestUpdate()}createColumns(){this._freezeLeft=null;const t=this.renderColCount;if(!this.cols||this.cols.length!=t){this.cols=new Array(t);for(let e=0;e<t;e++)this.cols[e]=yt("col"),this.cols.forEach((()=>this.colgroup.appendChild(this.cols[e])))}}createHeaderRows(){const t=this.columnHeaderCount,e=this.renderColCount;if(St(this.thead),!this.hRows||this.hRows.length!=t||!this.hRows[0]||this.hRows[0].children.length!=e){this.hRows=new Array(t);for(let i=0;i<t;i++){this.hRows[i]=yt("tr");for(let t=0;t<e;t++)this.hRows[i].appendChild(yt("th"))}}St(this.thead),this.hRows.forEach((t=>this.thead.appendChild(t)))}createBodyRows(){const t=this.renderRowCount,e=this.renderColCount,i=this.rowHeaderCount;if(!this.bRows||0==this.bRows.length||this.bRows.length!=t||this.bRows[0].children.length!=e)if(0==t&&this.grid.options.emptyPlaceholder)this.bRows=[yt("tr")],this.bRows[0].appendChild(yt("td"));else{this.bRows=new Array(t);for(let o=0;o<t;o++){this.bRows[o]=yt("tr");for(let t=0;t<i;t++)this.bRows[o].appendChild(yt("th"));for(let t=i;t<e;t++)this.bRows[o].appendChild(yt("td"))}}St(this.tbody),this.bRows.forEach((t=>this.tbody.appendChild(t)))}renderCells(t={vertical:!0,horizontal:!0}){this.table&&(t.vertical||t.horizontal)&&(this._viewport=null,t.horizontal&&this.renderHeader(),this.model.rows.length>0?(this.renderBody(),t.vertical&&this.renderRowTree()):this.model.options.emptyPlaceholder&&(this.renderEmptyBody(),this.table.appendChild(this.tbody)),this.dispatchEvent(new zx("rendercells")))}renderEmptyBody(){const t=this.bRows[0].children[0];t.innerHTML="no data",t.className="empty-placeholder",t.colSpan=this.viewport.columns.length+this.rowHeaderCount}renderHeader(){let t;this.colMap.clear();const e=this.rowHeaderCount,i=this.viewport;this.model.hasRowTreeEnabled&&Dt(this.colgroup.children[0],{w:this.treeHeaderWidth},!0),this.model.options.rowNumbers&&Dt(this.colgroup.children[e-1],{w:mx.ROW_HEADER_WIDTH},!0);for(let o=0;o<i.columns.length;o++)t=i.columns[o],this.model.autofitColumns.has(t.index)&&(this.grid.rendering.autofitColumn(t.index,!1,!1),this.model.autofitColumns.delete(t.index)),this.colMap.set(t.index,o),Dt(this.colgroup.children[o+e],{w:t.width}),Pt(this.colgroup.children[o+e],{w:t.width}),Nt(this.colgroup.children[o+e],{w:t.width});let o=0;this.model.hasColumnTreeEnabled&&(this.renderHeaderRowTree(this.hRows[o],o),++o),this.model.options.colLetters&&(Dt(this.hRows[o],{h:this.model.options.rowHeight}),this.renderHeaderRowLetters(this.hRows[o],o),++o);for(let t=0;t<this.model.headerCount;t++)this.renderHeaderRowLabels(this.hRows[o+t],o+t,t);o+=this.model.headerCount,this.model.hasFilter&&(Dt(this.hRows[o],{h:this.model.options.rowHeight}),this.renderHeaderRowFilters(this.hRows[o],o))}renderHeaderRowLetters(t,e){let i,o;const n=this.viewport,r=e-this.columnHeaderCount;let s=0;if(Dt(t,{h:this.model.options.rowHeight}),(this.model.hasRowTree||this.model.options.rowNumbers)&&!this.model.hasColumnTreeEnabled){i=t.children[s],i.colSpan=this.rowHeaderCount,i.rowSpan=this.columnHeaderCount;const e=s-this.rowHeaderCount,o=this.model.options.levelButtonCell;(!o||r==o.r&&e==o.c)&&this.renderHeaderRowCornerCell(i),s++}for(let e=s;e<this.rowHeaderCount;e++)_t(t.children[e]),s++;for(let e=s;e<t.children.length;e++)o=e-s,i=t.children[e],i.className="hlabel",n.columns.length>o?(i.innerHTML=n.columns[o].address,i.c=n.columns[o].index,Mt(i)):_t(i)}renderHeaderRowTree(t,e){if(!this.model.hasColumnTreeEnabled)return;let i,o,n=0;const r=e-this.columnHeaderCount,s=this.viewport,a=this.model.options.rowNumbers,l=this.model.hasRowTreeEnabled;if(Dt(t,{h:this.treeHeaderHeight}),i=t.children[n],!i)return;i.rowSpan=a||l?this.columnHeaderCount:1,i.colSpan=this.rowHeaderCount;const c=n-this.rowHeaderCount,h=this.model.options.levelButtonCell;let d=null;(!h&&(a||l)||h&&r==h.r&&c==h.c)&&(d=c,this.renderHeaderRowCornerCell(i)),(a||l)&&(++n,l&&(i=t.children[n],i.innerHTML="",_t(i),++n));for(let r=n;r<t.children.length;r++)o=r-n,i=t.children[r],s.columns.length>o?(d!=r&&(i.innerHTML="",i.className="htree",this.renderHeaderRowTreeCell(t,e,s.columns[o],i)),Mt(i)):_t(i)}renderHeaderRowTreeCell(t,e,i,o){let n=this.hCache.get(i.index,e);if(!n){n=yt("div"),this.hCache.set(i.index,e,n);const t=i.width+1,o=this.treeHeaderHeight/this.model.maxColumnLevel;if(i.hasChildren){const e=new Qd;e.addEventListener("toggle",(()=>this.grid.rendering.toggleColumn(i.index))),n.expander=e,n.appendChild(e),jt(e,{l:t/2-mx.EXPANDER_SIZE/2,t:i.level*o+o/2-mx.EXPANDER_SIZE/2}),n.expanderLine=this.createExpanderLine("h"),n.appendChild(n.expanderLine),jt(n.expanderLine,{l:this.model.options.columnTree.reversed?0:t/2,t:i.level*o+o/2}),Dt(n.expanderLine,{h:o/2,w:t/2+1})}if(i.hasParent){let e=i;for(;e.hasParent;){e=e.parent;const i=this.createExpanderLine("h");n.appendChild(i),Dt(i,{h:o/2,w:t-1}),jt(i,{l:0,t:e.level*o+o/2})}}}n.expander&&(n.expander.state=i.collapsed?"closed":"open"),o.appendChild(n)}createExpanderLine(t){const e=yt("div");return e.className=`${t}tree-line`,e}renderHeaderRowLabels(t,e,i){let o,n,r,s,a=0;const l=this.viewport,c=e-this.columnHeaderCount,h=this.model.options.levelButtonCell;let d;this.model.hasRowTreeEnabled&&(n=t.children[a],n.innerHTML="",this.model.hasColumnTreeEnabled||this.model.options.colLetters||i>0?_t(n):(n.rowSpan=this.columnHeaderCount,n.colSpan=this.rowHeaderCount,this.renderHeaderRowCornerCell(n)),++a),this.model.options.rowNumbers&&(n=t.children[a],n.innerHTML="",this.model.hasRowTreeEnabled||this.model.options.colLetters||this.model.hasColumnTreeEnabled||i>0?_t(n):(n.rowSpan=this.columnHeaderCount,n.colSpan=this.rowHeaderCount,this.renderHeaderRowCornerCell(n)),++a);for(let u=a;u<t.children.length;u++)if(s=u-a,n=t.children[u],n.className="hlabel",n.innerHTML="",l.columns.length>s)if(o=l.columns[s],r=o.header[i],r.height&&(d=Math.max(r.height,d||0)),n.colSpan=1,n.rowSpan=1,n.c=o.index,n.r=i,r?.hidden)if(s==this.freezeLeft){let t=o.prevVisible,r=0;for(;t&&t.header[i]?.hidden;)t=t.prevVisible,++r;t&&t.header[i].cs?(Mt(n),n.colSpan=t.header[i].cs-r-1,n.rowSpan=t.header[i].rs||1,this.renderHeaderRowLabelCell(n,t,e,i)):_t(n)}else _t(n);else{if(o.header&&o.header[i]){const t=o.header[i].cs||1;n.colSpan=t>1?o.calculateRealColspan(t):1,n.rowSpan=o.header[i].rs||1}Mt(n),this.renderHeaderRowLabelCell(n,o,e,i),h&&h.r==c&&h.c==o.index&&this.renderHeaderRowCornerCell(n)}else _t(n);Dt(t,{h:d??this.model.options.rowHeight})}renderHeaderRowLabelCell(t,e,i,o){let n=this.hCache.get(e.index,i);const r=e.header[o];if(n||(n=yt("div"),r?r.html?n.innerHTML=r.label??"":n.innerText=r.label??"":n.innerHTML="",r&&null!=r._style&&Vk(n,rw(this.model.styles.get(r._style))),this.hCache.set(e.index,i,n)),this.model.options.columnHeaderTreeButtons&&e.hasChildren&&o==e.level){let t=n.expander;t||(t=new Qd,t.addEventListener("toggle",(()=>this.grid.rendering.toggleColumn(e.index))),n.expander=t,n.prepend(t),jt(t,{l:4,t:4})),t.state=e.collapsed?"closed":"open"}e.sorting&&o==e.header.length-1&&(t.className+=" sort",n.sortingArrow||(n.sortingArrow=new Sx,n.appendChild(n.sortingArrow),jt(n.sortingArrow,{t:0,r:5})),n.sortingArrow.sortSettings=this.model.sorting.get(e.index)),t.appendChild(n)}renderHeaderRowFilters(t,e){let i,o,n=0;const r=this.viewport;this.model.hasRowTreeEnabled&&(i=t.children[n],i.innerHTML="",this.model.columnHeaderCount>1?_t(i):i.colSpan=this.model.columnHeaderCount,++n),this.model.options.rowNumbers&&(i=t.children[n],i.innerHTML="",this.model.hasRowTreeEnabled||this.model.options.colLetters||this.model.hasColumnTreeEnabled||this.model.headerCount>0?_t(i):(i.rowSpan=this.columnHeaderCount,i.colSpan=this.rowHeaderCount,this.renderHeaderRowCornerCell(i)),++n);for(let s=n;s<t.children.length;s++)if(o=s-n,i=t.children[s],r.columns.length>o){Mt(i);const n=r.columns[o];n.hasFilter?this.renderHeaderRowFilterCell(t,e,n,i):i.innerHTML=""}else _t(i)}renderHeaderRowFilterCell(t,e,i,o){o.innerHTML="",o.className="filter",o.c=i.index;let n=this.hCache.get(i.index,e);n||(n=yt("div"),n.filter=yt("og-filter-label"),n.appendChild(n.filter),this.hCache.set(i.index,e,n));const r=this.grid.filtering.filter.get(i.index)?.term;n.filter.value=Array.isArray(r)?r.map((t=>t.value??t.key)).join(", "):r,o.appendChild(n)}renderHeaderRowCornerCell(t){this.cornerDiv=yt("div");const e=Math.max((this.treeHeaderWidth||mx.EXPANDER_SIZE+2)/(this.model.maxRowLevel+1),mx.EXPANDER_SIZE+2);if(this.model.hasRowTree)for(let t=0;t<=this.model.maxRowLevel;t++){const i=new Kd;i.level=t,this.cornerDiv.appendChild(i),jt(i,{l:t*e+e/2-mx.EXPANDER_SIZE/2,b:3}),i.addEventListener("mousedown",(t=>t.stopPropagation())),i.addEventListener("toggle",(t=>{this.model.columns.filter((t=>t.levelButtons)).forEach((t=>this.bCache.deleteColumn(t.index))),this.grid.rendering.setRowExpandLevel(t.level)}))}if(this.model.hasColumnTree){const i=(this.model.hasColumnTree?this.treeHeaderHeight:t.clientHeight)/(this.model.maxColumnLevel+1),o=15*this.model.maxColumnLevel+20<=t.clientHeight;for(let t=0;t<=this.model.maxColumnLevel;t++){const n=new Kd;n.level=t,this.cornerDiv.appendChild(n),jt(n,o?{t:t*i+i/2-mx.EXPANDER_SIZE/2,r:3}:{r:t*e+e/2-mx.EXPANDER_SIZE/2,b:3}),n.addEventListener("mousedown",(t=>t.stopPropagation())),n.addEventListener("toggle",(t=>{this.grid.rendering.setColumnExpandLevel(t.level)}))}}St(t),t.appendChild(this.cornerDiv)}renderBody(){let t,e,i,o,n,r,s,a;const l=this.freezeLeft||0,c=this.freezeTop||0,h=this.rowHeaderCount,d=this.model.merges,u=this.model.options.rowNumbers,p=this.viewport,g=this.viewportRange;if(!g)return;const m=new fv(g.c1+l,g.r1+c,g.c2,g.r2);this.rowMap.clear();for(let l=0;l<this.bRows.length;l++)if(t=this.bRows[l],l<p.rows.length){i=p.rows[l],o=i.index,this.model.autofitRows.has(o)&&(this.grid.rendering.autofitRow(o,!1,!1),this.model.autofitRows.delete(o)),Dt(t,{h:i.height}),i.height<this.model.options.rowHeight&&Bt(t,i.height),this.rowMap.set(o,l),u&&(e=t.children[h-1],e.className="vlabel",e.r=o,e.c=-1,e.innerHTML=`<div>${vv(o)}</div>`);for(let l=h;l<t.children.length;l++)if(e=t.children[l],l-h<p.columns.length){if(r=p.columns[l-h],n=r.index,e.r=o,e.c=n,s=i.cell(n),a=s.address,d.getMergeState(a)==lx.HIDDEN){const t=d.hiddenCells.get(s.address),i=m.intersect(new fv(t.c,t.r,t.c+t.cs-1,t.r+t.rs-1));if(s.c!=i.c1||s.r!=i.r1){_t(e);continue}s=this.model.rows[t.r].cell(t.c),e.colSpan=i.size.columns,e.rowSpan=i.size.rows,e.c=s.c,e.r=s.r}else e.colSpan=s.colspan,e.rowSpan=s.rowspan;Mt(e),this.renderBodyCell(s,e)}else _t(e);t.style.display="table-row",t.className=i.filterState>1?"filtered":""}else t.style.display="none"}scheduleRenderBodyCell(t,e){this.cellRenderSchedules.has(e)&&(window.clearTimeout(this.cellRenderSchedules.get(e)),this.cellRenderSchedules.delete(e)),this.cellRenderSchedules.set(e,window.setTimeout((()=>this.renderBodyCell(t,e))))}fixCellBorders(t,e){"none"==e.bottom?.style&&(t.style.borderBottomColor="transparent"),"none"==e.top?.style&&(t.style.borderTop="transparent"),"none"==e.right?.style&&(t.style.borderRight="transparent"),"none"==e.left?.style&&(t.style.borderLeft="transparent")}renderBodyCell(t,e){const i=!e;if(e=e||this.getCellByCellModel(t)){let o=i?null:this.bCache.get(t.c,t.r);if(o||(o=yt("div"),Qk(t).call(this,o,t),this.bCache.set(t.c,t.r,o)),this.renderAll){const i=t.composedStyle;i&&this.fixCellBorders(e,i)}St(e),e.appendChild(o)}else this.bCache.delete(t.c,t.r)}mergeBodyCells(t){let e;const i=new Set;for(const o of t)if(e=this.bRows[o.r].cells[o.c],e&&!i.has(e))for(let t=o.r;t<o.r+o.rs;t++)for(let n=o.c;n<o.c+o.cs;n++)e=this.bRows[t].cells[n],e&&(t==o.r&&n==o.c?(e.colSpan=o.cs,e.rowSpan=o.rs):(i.add(e),_t(e)))}renderRowTree(){if(!this.model.hasRowTreeEnabled)return;let t;const e=this.viewport,i=-this.rowHeaderCount;for(let o=0;o<this.bRows.length;o++)t=this.bRows[o].children[0],t.innerHTML="",o<e.rows.length&&(t.className="vtree",this.renderRowTreeCell(i,e.rows[o],t))}renderRowTreeCell(t,e,i){let o=this.bCache.get(t,e.index);if(!o){o=yt("div"),this.bCache.set(t,e.index,o);const n=e.height+1,r=this.treeHeaderWidth/this.model.maxRowLevel;if(e.hasChildren){const t=new Qd;t.addEventListener("toggle",(()=>this.grid.rendering.toggleRow(e.index))),i.parentElement.expander=t,o.expander=t,o.appendChild(t),jt(t,{t:n/2-mx.EXPANDER_SIZE/2,l:e.level*r+r/2-mx.EXPANDER_SIZE/2});const s=this.createExpanderLine("v");o.appendChild(s),jt(s,{t:this.model.options.rowTree.reversed?0:n/2,l:e.level*r+r/2}),Dt(s,{w:r/2,h:n/2+1})}if(e.hasParent){let t=e;for(;t.hasParent;){t=t.parent;const e=this.createExpanderLine("v");o.appendChild(e),Dt(e,{w:r/2,h:n+2}),jt(e,{t:-1,l:t.level*r+r/2})}}}o.expander&&(o.expander.state=e.collapsed?"closed":"open"),i.appendChild(o)}};Rx.styles=[Mx],Ex([ps({type:Object})],Rx.prototype,"model",void 0),Ex([ps({type:Number,hasChanged:()=>!1})],Rx.prototype,"rowOffset",void 0),Ex([ps({type:Number,hasChanged:()=>!1})],Rx.prototype,"colOffset",void 0),Ex([ps({type:Number,reflect:!0})],Rx.prototype,"zoom",void 0),Ex([ps({type:Boolean,reflect:!0})],Rx.prototype,"nogrid",void 0),Ex([ps({type:Boolean,reflect:!0})],Rx.prototype,"renderAll",void 0),Rx=Ex([hs("og-table")],Rx);const Ix=["F5","F12"];class Lx extends Event{get selection(){return this.grid.selecting.selection}get activeCell(){return this.selection.activeCell}constructor(t,e){super(`grid.${t}`,{bubbles:!0,composed:!0}),Object.assign(this,e),this.cell&&(this.row=this.cell.row,this.column=this.cell.column)}}class Hx extends Lx{constructor(t){super("edit",t)}}class Tx extends _u{constructor(t,e,i){super(`grid.${t}`,i),this.grid=e}}class Ax extends Tx{constructor(t,e,i,o){super(t,e,o),this.column=i}}class Ox extends Tx{constructor(t,e,i,o){super(t,e,o),this.row=i}}class $x{get model(){return this.grid.model}get selection(){return this.grid.selection}get table(){return this.grid.table}constructor(t){this.grid=t,this.clickDisabled=!1,this.editDisabled=!1,this.clicked=!1,this.startOffset={x:0,y:0},this.suspendClick=()=>this.clickDisabled=!0,this.resumeClick=(t=!1)=>{this.isSliding||(t?setTimeout((()=>this.clickDisabled=!1),100):this.clickDisabled=!1)},this._onKeyDown=t=>{switch(Ix.includes(t.key)||t.preventDefault(),t.key){case"Tab":t.preventDefault(),this.grid.selecting.shiftActiveCell(t.shiftKey?-1:1,!0);break;case"ArrowRight":this.grid.selecting.debounceMoveSelector(1,0);break;case"ArrowLeft":this.grid.selecting.debounceMoveSelector(-1,0);break;case"ArrowDown":this.grid.selecting.debounceMoveSelector(0,1);break;case"ArrowUp":this.grid.selecting.debounceMoveSelector(0,-1);break;case"PageUp":this.grid.selecting.debounceMoveSelector(0,-this.table.viewport.rows.length);break;case"PageDown":this.grid.selecting.debounceMoveSelector(0,this.table.viewport.rows.length);break;case"Home":this.grid.selecting.debounceMoveSelector(-this.selection.range.c1,t.ctrlKey?-this.selection.range.r1:0);break;case"End":this.grid.selecting.debounceMoveSelector(this.model.gridRange.c2-this.selection.range.c1,t.ctrlKey?this.model.gridRange.r2-this.selection.range.r1:0);break;case"Enter":this.grid.selecting.enter();break;case"Escape":this.grid.selecting.hideCopySelector();break;case"c":case"C":t.ctrlKey&&this.grid.editing.copySelection();break;case"v":case"V":t.ctrlKey&&this.grid.editing.paste();break;case"z":case"Z":if(!this.grid.options.undoRedo)return;t.ctrlKey&&this.grid.editing.undo();break;case"y":case"Y":if(!this.grid.options.undoRedo)return;t.ctrlKey&&this.grid.editing.redo();break;case"F2":t.preventDefault(),this.grid.editing.startEdit();break;case"Delete":t.preventDefault(),this.grid.objects.delete(),this.grid.editing.clearSelection();break;case"Backspace":t.preventDefault(),this.grid.editing.clearSelection()}1!=t.key.length||t.ctrlKey||this.grid.editing.startEdit(t.key)},this._onMouseMove=t=>{let e=!0;const i=this.grid.hSizer,o=this.grid.vSizer,{offsetX:n,offsetY:r}=t;let s=this.model.options.scrolling.scrollbarVisibilityTreshold;s<=0&&(s=Math.max(this.grid.clientWidth,this.grid.clientHeight)),n>this.grid.clientWidth-s?this.grid.vSlider.show():this.grid.vSlider.hide(),r>this.grid.clientHeight-s?this.grid.hSlider.show():this.grid.hSlider.hide();const[a,l]=this.table.findNearestTableCellByOffset(n,r);if(l&&"TH"==l.tagName&&(this.model.options.columnResize&&!i.resizing&&l.classList.contains("hlabel")?l.offsetWidth-t.offsetX+l.offsetLeft<mx.RESIZE_TRESHOLD?(i.snap(l,this.grid),this.grid.rendering.currentResizedColumn=this.model.columns[l.c]):kt(i):this.model.options.rowResize&&!o.resizing&&l.classList.contains("vlabel")&&(l.offsetHeight-t.offsetY+l.offsetTop<mx.RESIZE_TRESHOLD?(o.snap(l,this.grid),this.grid.rendering.currentResizedRow=this.model.rows[l.r]):kt(o))),a&&"TH"==a.tagName)this.grid.selecting.isSelecting&&(this.suspendClick(),this.grid.selecting.updateSelecting(a.c,a.r));else{if(a&&"TD"==a.tagName)if(this.grid.selecting.isSelectorOperationActive||this.grid.selecting.isFormulaSelectorOperationActive){const{top:e,left:i}=Ht(a,this.grid);this.grid.rendering.autoscroll({x:i-this.table.totalHeaderWidth+t.offsetX-a.offsetLeft,y:e-this.table.thead.clientHeight+t.offsetY-a.offsetTop}),this.grid.selecting.isSelecting&&this.suspendClick(),this.grid.selecting.updateSelecting(a.c,a.r)}else{const t=this.model.rows[a.r]?.cell(a.c);t&&t.hasTooltip&&(e=!1,this.grid.tooltip.attachToCell(a,t)),t&&t.hasComment&&(e=!1,this.grid.comment.attachTo(a,t))}e&&(this.grid.tooltip.deatach(),this.grid.comment.deatach(this.model.options.comments.hideTimeout)),kt(i),kt(o)}},this._onMouseDown=t=>{if(1&t.buttons){this.grid.setPointerCapture(t.pointerId),this.startOffset={x:t.offsetX,y:t.offsetY};for(const e of t.composedPath()){if("TD"==e.tagName){const t=e;this.grid.selecting.startCellSelecting(new fv(t.c,t.r));break}if("TH"==e.tagName){const t=e;e.matches(".sort")?this.grid.sorting.sort(t.c):t.classList.contains("filter")?this.grid.filtering.openFilter(this.model.columns[t.c],t):t.classList.contains("hlabel")?this.grid.selecting.startColumnSelecting(t.c):t.classList.contains("vlabel")&&this.grid.selecting.startRowSelecting(t.r);break}}}},this._onMouseUp=t=>{if(0!=t.buttons)return;const e=Math.abs(this.startOffset.x-t.offsetX),i=Math.abs(this.startOffset.y-t.offsetY);Math.sqrt(Math.pow(e,2)+Math.pow(i,2))<this.model.options.events.click.mouseMoveTreshold&&this.resumeClick(),this.grid.releasePointerCapture(t.pointerId),this.grid.selecting.stopSelectOperations()},this._onClick=t=>{if(this.clickDisabled)return;if(this.grid.clientHeight-t.offsetY<this.grid.hSlider.offsetHeight)return;if(this.grid.clientWidth-t.offsetX<this.grid.vSlider.offsetWidth)return;const e=this.table.findTableCellByOffset(t.offsetX,t.offsetY),i="TD"==e?.tagName?this.model.rows[e.r]?.cell(e.c):null;this.grid.dispatchEvent(new Lx("click",{grid:this.grid,cell:i}))},this._onContextMenu=t=>{t.preventDefault();for(const e of t.composedPath())if("TD"==e.tagName){const i=e;this.grid.menus.openCellMenu(this.model.rows[i.r].cell(i.c),{x:t.pageX,y:t.pageY})}else if("TH"==e.tagName){const i=e;i.classList.contains("hlabel")?this.grid.menus.openColumnMenu(this.model.columns[i.c],{x:t.pageX,y:t.pageY}):i.classList.contains("vlabel")&&this.grid.menus.openRowMenu(this.model.rows[i.r],{x:t.pageX,y:t.pageY})}},this._onVerticalSlide=t=>{this.table.rowOffset=Math.min(t.value,this.model.visibleRows.length-1),this.grid.rendering.requireVerticalUpdate=!0,this.grid.rendering.renderCells()},this._onHorizontalSlide=t=>{this.table.colOffset=Math.min(t.value,this.model.visibleColumns.length-1),this.grid.rendering.requireHorizontalUpdate=!0,this.grid.rendering.renderCells()},this._onSlideStart=()=>{this.suspendClick()},this._onSlideStop=()=>{this.resumeClick(!0)},this._denbounceHorizontalScroll=Y((t=>this.grid.rendering.scrollHorizontalByPixels(t)),50),this._onWheel=t=>{t.ctrlKey||(0!=t.deltaY&&this.grid.rendering.scrollVerticalByPixels(t.deltaY),0!=t.deltaX&&this._denbounceHorizontalScroll(Math.sign(t.deltaX)*Math.min(100,Math.abs(t.deltaX))))},this._onTouchStart=t=>{this.grid.rendering.touchStartX=t.touches[0],this.grid.rendering.touchStartY=t.touches[0]},this._onTouchEnd=t=>{this.grid.rendering.touchStartX=t.touches[0],this.grid.rendering.touchStartY=t.touches[0]},this._onTouchMove=t=>{const e=this.grid.rendering;if(e.touchStartY){const i=e.touchStartY.clientY-t.touches[0].clientY;Math.abs(i)>this.model.options.rowHeight&&this.table.viewport.rows.length>0&&(e.scrollVerticalByPixels(i),e.touchStartY=t.touches[0])}if(e.touchStartX){const i=e.touchStartX.clientX-t.touches[0].clientX;Math.abs(i)>this.model.options.columnWidth&&this.table.viewport.columns.length>0&&(e.scrollHorizontalByPixels(i),e.touchStartX=t.touches[0])}},this._onHorizontalResizeStart=()=>{this.grid.rendering.resizing=!0,this.grid.rendering.currentResizedColumnWidth=this.grid.rendering.currentResizedColumn.width},this._onHorizontalResizeStop=t=>{this.suspendClick(),this.grid.rendering.resizing=!1,this.table.clearHeaderCache(),this.table.renderCells({horizontal:!0}),this.grid.dispatchEvent(new Ax("column.resize",this.grid,this.grid.rendering.currentResizedColumn,t))},this._onHorizontalResize=t=>{const e=this.grid.rendering;e.currentResizedColumn.width=e.currentResizedColumnWidth+t.deltaX,Dt(this.table.getColumnByModelIndex(e.currentResizedColumn.index),{w:e.currentResizedColumn.width},!0),this.grid.selecting.updateSelector()},this._onVerticalResizeStart=()=>{this.grid.rendering.resizing=!0,this.grid.rendering.currentResizedRowHeight=this.grid.rendering.currentResizedRow.height},this._onVerticalResizeStop=t=>{this.suspendClick(),this.grid.rendering.resizing=!1,this.table.clearBodyCache(),this.table.renderCells({vertical:!0}),this.grid.dispatchEvent(new Ox("row.resize",this.grid,this.grid.rendering.currentResizedRow,t))},this._onVerticalResize=t=>{const e=this.grid.rendering;e.currentResizedRow.height=e.currentResizedRowHeight+t.deltaY,Dt(this.table.getRowByModelIndex(e.currentResizedRow.index),{h:e.currentResizedRow.height},!1),this.grid.selecting.updateSelector()},this._onCommentCommit=t=>{this.grid.model.comments.set(t.cell.address,t.items),t.cell.invalidateStyle(),this.grid.rendering.updateCells([t.cell])},this._onAutofill=t=>{if(this.suspendClick(),this.grid.selection.range.equals(t.selector.autofillRange))return;const{cells:e,oldValues:i}=Gy(this.model,this.grid.selection.range,t.selector.autofillRange,t.selector.autofillDirection);this.grid.rendering.updateCells(e,!0),this.grid.selection.setRange(this.grid.selection.range.unite(t.selector.autofillRange)),this.grid.selecting.updateSelector(),this.grid.dispatchEvent(new Hx({grid:this.grid,editType:"autofill",cells:e,oldValues:i,newValues:e.map((t=>t.value2))}))},this._onEdit=t=>{if(t.fromHistory)return;const e=[],i=[],o=this.model.names.rangeMap;let n=[],r=[],s=[],a=[];switch(t.editType){case"value":n=t.newValues,r=t.newProps,s=t.oldValues,a=t.oldProps,t.cells.forEach((t=>{const n=t.address;e.push(n),i.push(o.get(n))}));break;case"insert_column":case"insert_row":t.newValues.forEach((t=>{const r=t.address;e.push(r),i.push(o.get(r)),n.push(t.getSourceData())}))}this.grid.history.push({type:t.editType,addresses:e,names:i,oldValues:s,oldProps:a,newValues:n,newProps:r})},this._onSelectorMove=t=>{this.suspendClick(),this.selection.setRange(t.toRange),t.fromRange.isRow?this.grid.editing.moveRows({index:t.fromRange.r1,count:t.fromRange.size.rows,targetIndex:t.toRange.r1}):t.fromRange.isColumn?this.grid.editing.moveColumns({index:t.fromRange.c1,count:t.fromRange.size.columns,targetIndex:t.toRange.c1}):console.log(t)},this._onMouseLeave=()=>{this.grid.rendering.hideSliders()},this.debounceHideSliders=Y((()=>this.grid.rendering.hideSliders()),1e3,{isImmediate:!1}),this._onRender=()=>{const t=this.grid;t.selecting.updateSelectors(),t.dispatchEvent(new Lx("render",{grid:this.grid})),t.adapter&&t.options.pageSize&&t.rendering.isLastRowInViewport()&&t.rendering.loadNextPage(),t.rendering.updateSliderVisibility(),this.model.options.scrolling.scrollbarVisibilityTreshold>0&&this.debounceHideSliders()},this._onHorizontalSizerDblClick=t=>{t.stopPropagation(),this.editDisabled=!0,this.grid.rendering.autofitColumn(this.grid.rendering.currentResizedColumn.index),this.grid.dispatchEvent(new Ax("column.resize",this.grid,this.grid.rendering.currentResizedColumn,t))},this._onVerticalSizerDblClick=t=>{t.stopPropagation(),this.editDisabled=!0,this.grid.rendering.autofitRow(this.grid.rendering.currentResizedRow.index),this.grid.dispatchEvent(new Ox("row.resize",this.grid,this.grid.rendering.currentResizedRow,t))},this._onDblClick=()=>{this.editDisabled?this.editDisabled=!1:this.grid.editing.startEdit()}}get isSliding(){return this.grid.hSlider.sliding||this.grid.vSlider.sliding}async init(){await this.grid.updateComplete,await this.table.updateComplete;const t=this.grid;t.addEventListener("wheel",this._onWheel,{passive:!0}),t.addEventListener("touchstart",this._onTouchStart,{passive:!0}),t.addEventListener("touchend",this._onTouchEnd,{passive:!0}),t.addEventListener("touchmove",this._onTouchMove,{passive:!0}),t.hSizer.addEventListener("resizestart",this._onHorizontalResizeStart),t.hSizer.addEventListener("resizestop",this._onHorizontalResizeStop),t.hSizer.addEventListener("resize",this._onHorizontalResize),t.hSizer.addEventListener("dblclick",this._onHorizontalSizerDblClick),t.vSizer.addEventListener("resizestart",this._onVerticalResizeStart),t.vSizer.addEventListener("resizestop",this._onVerticalResizeStop),t.vSizer.addEventListener("resize",this._onVerticalResize),t.vSizer.addEventListener("dblclick",this._onVerticalSizerDblClick),t.comment.addEventListener("comment.commit",this._onCommentCommit),t.addEventListener("keydown",this._onKeyDown),t.addEventListener("click",this._onClick),t.addEventListener("contextmenu",this._onContextMenu),t.addEventListener("toggle",(()=>t.rendering.debounceCalculateViewport())),t.addEventListener("pointerup",this._onMouseUp),t.addEventListener("pointerdown",this._onMouseDown);const e=Y(this._onMouseMove,20,{maxWait:50,isImmediate:!0});t.addEventListener("pointermove",e),t.addEventListener("mouseleave",this._onMouseLeave),t.table.addEventListener("rendercells",this._onRender),t.selector.addEventListener("grid.selector.autofill",this._onAutofill),t.selector.addEventListener("grid.selector.move",this._onSelectorMove),t.addEventListener("dblclick",this._onDblClick),t.addEventListener("grid.edit",this._onEdit)}}class Dx{get vScrolling(){return this._vScrolling}get hScrolling(){return this._hScrolling}get model(){return this.grid.model}get selection(){return this.grid.selection}get table(){return this.grid.table}constructor(t){this.grid=t,this.requireVerticalUpdate=!0,this.requireHorizontalUpdate=!1,this.resizing=!1,this._vScrolling=!0,this._hScrolling=!0,this.debounceRenderCells=Y(this.renderCells,50,{isImmediate:!1,maxWait:100}),this.debounceCalculateViewport=Y(this.calculateViewport,200)}isLastRowInViewport(){const t=this.grid.table.viewport.rows,e=this.model.visibleRows;return t[t.length-1]==e[e.length-1]}renderCells(t){t=t||{vertical:this.requireVerticalUpdate,horizontal:this.requireHorizontalUpdate},this.grid.comment.deatach(),this.grid.table.renderCells(t),this.requireHorizontalUpdate=!1,this.requireVerticalUpdate=!1,this.debounceCalculateViewport(),this.grid.objects.updatePostions()}renderAll(t=!1){this.grid.group?this.grid.group.grids.forEach((e=>e.rendering.render(t))):this.render(t)}async render(t=!1){this.grid.table&&this.model&&(this.grid.table.clearHeaderCache(),this.grid.table.clearBodyCache(),this.grid.table.isConnected&&(t&&(this.grid.table.requestUpdate(),await this.grid.table.updateComplete),this.grid.table.renderCells({horizontal:!0,vertical:!0}),this.calculateViewport()))}updateRange(t,e=!1){for(const i of this.model.getRangeIterator(t))this.updateCells([i],e)}updateCell(t,e=!1){this.updateCells([t],e)}updateSpilledCells(t){let e;t.prevSpillRange&&(e=new Set,this.model.getRangeIterator(t.prevSpillRange).forEach((t=>e.add(t)))),t.spillRange&&(e=e||new Set,this.model.getRangeIterator(t.spillRange).forEach((t=>e.add(t)))),e?.size>0&&this.updateCells(e)}updateCells(t,e=!1){if(e)for(const e of t)e.invalidateStyle(),e.invalidateValue(),this.model.calculations.clearDependecies(e).evaluate(e),this.updateSpilledCells(e);const i=this.grid.table;for(const e of t)i.renderBodyCell(e);e&&(this.model.calculations.invalidateDependants(t).forEach(((t,e)=>{t?this.grid.group.getGrid(t)?.table.renderBodyCell(e):i.renderBodyCell(e),this.updateSpilledCells(e)})),this.grid.dispatchGridEvent("calculate",{cells:Array.from(t)}))}updateHeaders(){this.model.indexVisibleColumns(),this.table.clearHeaderCache(),this.table.createHeaderRows(),this.table.renderHeader()}calculateViewport(t=!1){this.grid.logger.info("calculate viwport"),this.updateCells(this.model.calculateViewport(),t)}updateSliders(){const t=this.table.viewportSize;this.grid.vSlider.maxValue=this.model.visibleRows.length,this.grid.vSlider.pageSize=t.h/this.model.options.rowHeight,this.grid.vSlider.value=this.table.rowOffset,this.grid.hSlider.maxValue=this.model.visibleColumns.length,this.grid.hSlider.pageSize=t.w/this.model.options.columnWidth,this.grid.hSlider.value=this.table.colOffset}isVerticalScrollingEnabled(){return!1!==this.grid.options.scrolling.verticalOverscroll||this.table.viewport.rows.length<this.model.visibleRows.length}isHorizontalScrollingEnabled(){return!1!==this.grid.options.scrolling.horizontalOverscroll||this.table.viewport.columns.length<this.model.visibleColumns.length}updateSliderVisibility(){this._vScrolling=this.isVerticalScrollingEnabled(),this._vScrolling?(this.grid.vSlider.show(),xt(this.grid.vSlider)):(this.grid.vSlider.hide(),kt(this.grid.vSlider)),this._hScrolling=this.isHorizontalScrollingEnabled(),this._hScrolling?(this.grid.hSlider.show(),xt(this.grid.hSlider)):(this.grid.hSlider.hide(),kt(this.grid.hSlider))}hideSliders(){this.grid.vSlider.hide(),this.grid.hSlider.hide()}scrollVerticalByPixels(t){if(!this.vScrolling)return;let e,i=this.table.rowOffset,o=0,n=0;if(t>0){for(;o<t&&i+n<this.model.visibleRows.length;)o+=this.model.visibleRows[i+n++].height+2;i+=n}else if(t<0){for(t=Math.abs(t);o<t&&i+n>=0;)e=this.model.visibleRows[Math.min(this.model.visibleRows.length-1,i+n--)],o+=(e?e.height:0)+2;i+=n}i>=this.model.visibleRows.length&&(i=this.model.visibleRows.length-1),this.requireVerticalUpdate=!0,this.table.rowOffset=Math.max(0,i),this.debounceRenderCells(),this.updateSliders()}scrollHorizontalByPixels(t){if(!this.hScrolling)return;let e=this.table.colOffset,i=0,o=0;if(t>0){for(;i<t&&e+o<this.model.visibleColumns.length;)i+=this.model.visibleColumns[e+o++].width+2;e+=o}else if(t<0){for(t=Math.abs(t);i<t&&e+o>=0;)i+=this.model.visibleColumns[Math.min(this.model.visibleColumns.length-1,e+o--)].width+2;e+=o}e>=this.model.visibleColumns.length&&(e=this.model.visibleColumns.length-1),this.requireHorizontalUpdate=!0,this.table.colOffset=Math.max(0,e),this.debounceRenderCells(),this.updateSliders()}updateCellSelectionRange(){const t=this.table;for(const e of this.model.getRangeIterator(this.selection.range,!1))t.renderBodyCell(e)}getAdapterRequestFilters(){return{offset:0,filter:this.grid.filtering?.filter?Array.from(this.grid.filtering.filter.settings.values()):null,order:this.grid.model?.sorting?.settings}}async toggleRow(t,e=!0){const i=this.model.rows[t];if(i.isLoaded||i.isPartialyLoaded)i.toggleCollapse(!1,this.model.options.unhideRowAfterExpand),this.table.renderCells({vertical:!0});else if(this.grid.adapter){const e=this.table.getRowByModelIndex(t);e&&e.expander&&(e.expander.state="waiting"),i.collapsed=!1;const o=Object.assign(this.getAdapterRequestFilters(),{parent:{r:i.index,props:i.properties}}),[n]=await Promise.all([this.grid.adapter.getRows(o)]);this.model.insertRowData(i,0,n),o.rows=n;const[r]=await Promise.all([this.grid.adapter.getCells(o)]);r?.map((t=>this.model.getCellByCoords(t.r,t.c)?.update(t))),this.table.requestUpdate()}this.updateSliders(),e&&this.grid.dispatchEvent(new Lx("row.toggle",{grid:this.grid,row:i}))}toggleColumn(t,e=!0){const i=this.model.columns[t];i.toggleCollapse(!1,this.model.options.unhideColumnAfterExpand),this.table.renderCells({horizontal:!0}),this.updateSliders(),e&&this.grid.dispatchEvent(new Lx("column.toggle",{grid:this.grid,column:i}))}setRowExpandLevel(t){this.model.setRowExpandLevel(t),this.table.rowOffset=0,this.table.renderCells({vertical:!0}),this.updateSliders(),this.grid.dispatchEvent(new Lx("row.toggle",{grid:this.grid}))}setColumnExpandLevel(t){this.model.setColumnExpandLevel(t),this.table.colOffset=0,this.table.renderCells({horizontal:!0}),this.updateSliders(),this.grid.dispatchEvent(new Lx("column.toggle",{grid:this.grid}))}async exportHTML(){const t=yt("div");kt(t),document.body.appendChild(t);const e=yt("og-table");e.grid=this.grid,e.model=this.model,e.renderAll=!0,t.appendChild(e),await e.updateComplete;const i=this.model.options?.print?.rowBreaks,o=e.table,n=i&&i.length>0;if(n){const t=o.querySelector("colgroup"),n=[...o.tBodies[0].rows],r=this.model.options?.print?.rowTitles?fv.fromA1(this.model.options?.print?.rowTitles):null,s=r?Array.from({length:r.r2-r.r1+1},((t,i)=>n[e.rowMap.get(r.r1+i)])):[];for(let o=0;o<i.length;o++){const r=yt("table");r.appendChild(t.cloneNode(!0));const a=yt("tbody");r.appendChild(a);const l=e.rowMap.get(i[o]),c=o<i.length-1?e.rowMap.get(i[o+1]):this.model.visibleRows.length-1;s.forEach((t=>a.appendChild(t.cloneNode(!0))));for(let t=l;t<=c;t++)a.appendChild(n[t]);e.shadowRoot.appendChild(r)}t.cloneNode(!0)}const r=`\n\t\t\t<style>\n\t\t\t\thtml {\n\t\t\t\t\t${ua(wa().themes.get("light")).cssText}\n\t\t\t\t}\n\t\t\t\t${n?"table {break-after: page}":""}\n\t\t\t\t${Rx.styles.map((t=>t.cssText)).join("\n")}\n\t\t\t</style>\n\n\t\t`,s=r+e.shadowRoot.innerHTML.replace(/<!---->/g,"");return t.remove(),s}stopAutoscroll(){this.autoscrollTimer&&window.clearInterval(this.autoscrollTimer)}startAutoscroll(){this.stopAutoscroll(),this.autoscrollTimer=window.setInterval((()=>{if(0==this.autoscrollValue)return this.stopAutoscroll();const t=Math.pow(this.autoscrollValue,Zf.AUTOSCROLL_RATIO);switch(this.autoscrollDirection){case"down":this.scrollVerticalByPixels(t);break;case"up":this.scrollVerticalByPixels(-t);break;case"left":this.scrollHorizontalByPixels(-t);break;case"right":this.scrollHorizontalByPixels(t)}}),Zf.AUTOSCROLL_INTERVAL)}autoscroll(t){const{x:e,y:i}=t,o=this.table.clientWidth/this.table.zoom-this.table.totalHeaderWidth,n=this.table.clientHeight/this.table.zoom-this.table.totalHeaderHeight;let r,s=0;e<Zf.AUTOSCROLL_TRESHOLD&&e<i&&e<n-i?(r="left",s=Zf.AUTOSCROLL_TRESHOLD-e):o-e<Zf.AUTOSCROLL_TRESHOLD&&o-e<i&&o-e<n-i?(r="right",s=Zf.AUTOSCROLL_TRESHOLD-o+e):i<Zf.AUTOSCROLL_TRESHOLD?(r="up",s=Zf.AUTOSCROLL_TRESHOLD-i):n-i<Zf.AUTOSCROLL_TRESHOLD&&(r="down",s=Zf.AUTOSCROLL_TRESHOLD-n+i),this.autoscrollDirection=r,this.autoscrollValue=s,this.stopAutoscroll(),s>0&&this.startAutoscroll()}async load(t){t=t||this.getAdapterRequestFilters();const e=t.parent?.r??null,i=null!=e?this.model.rows[e]:this.model.rowRoot,[o]=await Promise.all([this.grid.adapter.getRows(t)]);o.length>0&&null===e&&this.model.insertRowData(i,t.offset,o);const[n]=await Promise.all([this.grid.adapter.getCells(t)]);n?.map((t=>this.model.getCellByCoords(t.r,t.c)?.update(t))),this.table.requestUpdate(),o.length>=this.model.options.pageSize?i.count=1/0:i.count=i.children.length,this.grid.logger.info(`loaded ${o.length} rows`),this.grid.loading=!1,this.grid.dispatchEvent(new Lx("afterLoad",{grid:this.grid}))}async loadNextPage(t=null,e=!1){if(this.grid.loading)return;const i=null!=t?this.model.rows[t]:this.model.rowRoot;if(!e&&i.isLoaded)return;this.grid.dispatchEvent(new Lx("beforeLoad",{grid:this.grid})),this.grid.loading=!0;const o=this.model.rows.length;this.grid.logger.info(`loading rows offset = ${o}`),await this.load(Object.assign(this.getAdapterRequestFilters(),{offset:o,parent:{r:t,props:null}}))}get totalSize(){return{width:this.table.totalHeaderWidth+this.model.visibleColumns.reduce(((t,e)=>t+e.width),0),height:this.table.thead.offsetHeight+this.model.visibleRows.reduce(((t,e)=>t+e.height),0)}}autofitColumn(t,e=!1,i=!0){const o="number"==typeof t?this.model.columns[t]:t,n=this.autofitDiv??(this.autofitDiv=yt("div"));n.style.position="absolute",n.style.zIndex="100000",jt(n,{l:-1e3,t:-1e3}),this.grid.shadowRoot.appendChild(n);let r=0;for(const t of this.model.getRangeIterator(fv.fromA1(o.address),!!e)){const e=Qk(t).call(this.table,n,t)||n;e.style.width="auto",r=Math.max(r,e.offsetWidth)}o.width=r+10,i&&this.table.renderCells({horizontal:!0})}autofitColumns(t=!1){this.model.columns.forEach((e=>this.autofitColumn(e,t,!1))),this.table.renderCells({horizontal:!0})}autofitRow(t,e=!1,i=!0){const o="number"==typeof t?this.model.rows[t]:t,n=this.autofitDiv??(this.autofitDiv=yt("div"));n.style.position="absolute",n.style.zIndex="100000",jt(n,{l:-1e3,t:-1e3}),this.grid.shadowRoot.appendChild(n);let r=0;for(const t of this.model.getRangeIterator(fv.fromA1(o.address),!!e)){const e=Qk(t).call(this.table,n,t)||n;e.style.height="auto",r=Math.max(r,e.offsetHeight)}o.height=r+8,i&&this.table.renderCells({vertical:!0})}autofitRows(t=!1){this.model.rows.forEach((e=>this.autofitRow(e,t,!1))),this.table.renderCells({vertical:!0})}scrollTo(t,e=0){let i;i=Q(t)?fv.fromA1(t):new fv(e,t),this.table.rowOffset=i.r1,this.table.colOffset=i.c1,this.requireVerticalUpdate=!0,this.requireHorizontalUpdate=!0,this.debounceRenderCells(),this.updateSliders()}}class Nx{get model(){return this.grid.model}get selection(){return this.grid.editing.isFormulaMode?this.formulaSelection:this.grid.selection}get selector(){return this.grid.editing.isFormulaMode?this.grid.formulaSelector:this.grid.selector}get formulaSelection(){return this._formulaSelection}get events(){return this.grid.events}get table(){return this.grid.table}get isSelecting(){return this.isCellSelecting||this.columnSelecting||this.rowSelecting}get isCellSelecting(){return this.selector.isSelecting}get isAutofilling(){return this.selector.isAutofilling}get isMoving(){return this.selector.isMoving}get isSelectorOperationActive(){return this.selector.isSelectorOperationActive}get isFormulaSelectorOperationActive(){if(!this.grid.editing.isFormulaMode)return!1;for(const t of this.formulaSelectors.values())if(t.isSelectorOperationActive)return!0;return!1}get activeCell(){const{c:t,r:e}=this.selection.activeCellCoords;return this.model.rows[e]?.cell(t)}constructor(t){this.grid=t,this.columnSelecting=!1,this.rowSelecting=!1,this._formulaSelection=new gx(0,0,0,0),this.formulaSelectors=new Map,this.debounceMoveSelector=Y(((t,e)=>this.moveSelector(t,e)),10)}moveToSelection(){const t=new fv(this.selection.range.c1,this.selection.range.r1);this.table.viewportRange.contains(t)}select(t,e=!1){this.selection.setRange(t),this.updateSelector(),e&&this.grid.dispatchEvent(new Lx("select",{grid:this.grid}))}startCellSelecting(t){this.grid.style.cursor="cell",this.startSelectingRange=t.clone(),this.select(t,!0),this.selector.startSelecting(t)}startColumnSelecting(t){this.columnSelecting=!0;const e=new fv(t,null,t,null);this.startSelectingRange=e.clone(),this.select(e,!0)}startRowSelecting(t){this.rowSelecting=!0;const e=new fv(null,t,null,t);this.startSelectingRange=e.clone(),this.select(e,!0)}updateSelecting(t,e){const i=this.model.options.selecting.multiSelect;(this.isCellSelecting||this.rowSelecting)&&(i||(this.selection.range.r1=e),this.selection.range.r2=e),(this.isCellSelecting||this.columnSelecting)&&(i||(this.selection.range.c1=t),this.selection.range.c2=t),this.grid.editing.isFormulaMode?(this.updateFormulaSelector(),this.formulaSelectors.forEach((i=>i.updateMovingOperations(t,e)))):(this.updateSelector(),this.hideFormulaSelector(),this.selector.updateMovingOperations(t,e))}stopSelecting(){this.grid.rendering.stopAutoscroll(),this.isSelecting&&!this.selection.range.equals(this.startSelectingRange)&&this.grid.dispatchEvent(new Lx("select",{grid:this.grid})),this.columnSelecting=!1,this.rowSelecting=!1,this.startSelectingRange=null,this.selector.stopSelectorOperations()}highlightSelection(){const t=this.selection.range,[e,i]=[Math.min(t.c1,t.c2),Math.max(t.c1,t.c2)],[o,n]=[Math.min(t.r1,t.r2),Math.max(t.r1,t.r2)],r=i-e+1,s=n-o+1;this.table.highlightColHeaderCells(r<1/0?Array.from(new Array(r),((t,i)=>i+e)):[]),this.table.highlightRowHeaderCells(s<1/0?Array.from(new Array(s),((t,e)=>e+o)):[])}updateSelector(t=!0){this.model.options.selecting.enabled?(this.showSelector(t),this.highlightSelection()):this.hideSelector(),this.grid.editing.isFormulaMode||this.grid.editing.endEdit()}showSelector(t=!0){this.selector&&(this.selector.show(),this.selector.select(this.selection.range,t))}hideSelector(){this.selector.hide()}moveSelector(t,e){if(this.selection.move(t,e,this.model.columns.length,this.model.rows.length),0!=e&&!this.model.rows[this.selection.range.r1].visible){const t=e>0?this.model.rows[this.selection.range.r1].nextVisible:this.model.rows[this.selection.range.r1].prevVisible;t&&(this.selection.range.r1=t.index,this.selection.range.r2=t.index)}if(0!=t&&!this.model.columns[this.selection.range.c1].visible){const e=t>0?this.model.columns[this.selection.range.c1].nextVisible:this.model.columns[this.selection.range.c1].prevVisible;e&&(this.selection.range.c1=e.index,this.selection.range.c2=e.index)}this.selector.selection=this.selection.range,this.selector.updatePosition();const i={c:0,r:0};(e>0&&this.selector.offsetTop+this.selector.offsetHeight>this.grid.clientHeight||e<0&&this.selector.offsetTop<this.table.totalHeaderHeight-1||e>=this.table.viewport.rows.length)&&(i.r+=e),(t>0&&this.selector.offsetLeft+this.selector.offsetWidth>this.grid.clientWidth||t<0&&this.selector.offsetLeft<this.table.totalHeaderWidth-1)&&(i.c+=t),0==i.c&&0==i.r||(this.table.colOffset=Math.max(0,this.table.colOffset+i.c),this.table.rowOffset=Math.min(Math.max(0,this.table.rowOffset+i.r),this.model.visibleRows.length-1),this.table.renderCells({horizontal:0!=i.c,vertical:0!=i.r}),this.grid.rendering.updateSliders()),this.grid.editing.isFormulaMode||this.grid.editing.endEdit(),this.highlightSelection(),this.grid.dispatchEvent(new Lx("select",{grid:this.grid}))}shiftActiveCell(t,e=!1){this.selection.moveActiveCell(t,0),this.selector.updatePosition(),e&&this.grid.dispatchEvent(new Lx("select",{grid:this.grid}))}updateFormulaSelector(t=!0){this.grid.editing.isFormulaMode?this.showFormulaSelector(t):this.hideFormulaSelector()}showFormulaSelector(t=!0){this.grid.formulaSelector.show(),this.grid.formulaSelector?.select(this.formulaSelection.range,t)}hideFormulaSelector(){this.grid.formulaSelector.hide()}updateFormulaSelectors(){this.formulaSelectors.forEach((t=>t.updatePosition()))}highlightColorItem(t){const e=gx.fromRange(fv.fromA1(t.address)),i=yt("og-selector");this.grid.shadowRoot.appendChild(i),i.addEventListener("grid.selector.move",(t=>this.select(t.selector.selection.clone()))),i.addEventListener("grid.selector.resize",(t=>this.select(t.selector.selection.clone()))),i.grid=this.grid,i.color=t.color,i.subselector=!1,i.movable=!0,i.resizable=!0,i.index=t.tokenIndex,this.formulaSelectors.set(t.tokenIndex,i),i.select(e.range.clone(),!1),i.show()}highlightFormula(t){this.removeFormulaHighlight(),this.formulaSelectors.clear();const e=new Set;t.colors.forEach((t=>{if(null==t.sheet||t.sheet==this.model.name)this.highlightColorItem(t);else if(this.grid.group){const i=this.grid.group.getGrid(t.sheet);if(!i)return;e.has(i)||(e.add(i),i.selecting.removeFormulaHighlight()),i.isConnected&&i.selecting.highlightColorItem(t)}}))}removeFormulaHighlight(){this.formulaSelectors?.forEach((t=>Et(t))),this.formulaSelectors.clear()}updateCopySelector(){this.grid.copySelector.isVisible&&this.grid.copySelector.updatePosition()}showCopySelector(){this.grid.copySelector.show(),this.grid.copySelector?.select(this.selection.range.clone(),!1)}hideCopySelector(){this.grid.copySelector.hide()}updateSelectors(){this.updateSelector(!1),this.updateCopySelector(),this.updateFormulaSelectors()}stopSelectOperations(){this.stopSelecting(),this.formulaSelectors.forEach((t=>t.stopSelectorOperations())),this.grid.style.removeProperty("cursor")}enter(){const t=this.grid.group;if(this.grid.editing.isFormulaMode&&t){const e=t.formulaModeGrid;e.editing.commitEdit(),t.activateGrid(e.model.name)}else this.debounceMoveSelector(0,1)}}class Px extends Event{}class jx extends ls{get isOpen(){return this._open}get isValid(){return this._valid}validate(){return this._valid=!0,this.activeCell&&(this._valid=qy(this.activeCellModel,this.getValue())),this.classList.toggle("invalid",!this._valid),this._valid}constructor(){super(),this.cancel=!1,this._open=!1,this._valid=!0,this.init()}getDisplayValue(){return null}init(){this.addEventListener("keydown",(t=>{"Enter"==t.key?this.close():"Escape"==t.key?(this.cancel=!0,this.close()):t.stopPropagation()}))}connectedCallback(){super.connectedCallback(),this.performUpdate()}alignWithCell(){if(!this.activeCell)return;const t=Ht(this.activeCell,this.grid);jt(this,{t:t.top*this.grid.zoom,l:t.left*this.grid.zoom}),Dt(this,{w:this.activeCell.offsetWidth,h:this.activeCell.offsetHeight})}open(t,e=null,i=!0){this._valid=!0,this.initialValue=e,this._open=!0,this.grid=t;const o=t.selecting.activeCell;return this.activeCellModel=o,this.activeCell=this.grid.table.getCellByModelIndex(o.c,o.r),this.grid.selector.hide(),xt(this),i&&this.alignWithCell(),this.activate(o),null!==e&&this.setValue(e),Qt(this,this.grid.zoom),this}commit(){this._open&&!this.cancel&&this.activeCellModel&&(this.grid.editing.updateCell(this.activeCellModel,{v:this.getValue(),dv:this.getDisplayValue()}),this.grid.rendering.updateCell(this.activeCellModel,!0)),this.cancel=!1}close(){this._open&&(this.deactivate(),kt(this),this.grid.table.renderBodyCell(this.activeCellModel),this.grid.selecting.showSelector(),this.grid.focus(),this._open=!1,this.grid.editing.endEdit()),this.cancel=!1}activate(t){this.activeCellModel=t,this.dispatchEvent(new Px("activate"))}deactivate(){this.dispatchEvent(new Px("deactivate"))}}jx.baseStyles=or`
|
|
3242
3243
|
* { box-sizing: border-box }
|
|
3243
3244
|
|
|
3244
3245
|
:host {
|
|
@@ -3281,7 +3282,7 @@
|
|
|
3281
3282
|
@tree.filter="${()=>this.searchUsed=!0}"
|
|
3282
3283
|
@blur="${this._onBlur}">
|
|
3283
3284
|
</og-tree-dropdown>
|
|
3284
|
-
`}commitSearchValue(){this.searchCommitted||this.searchUsed&&null!=this.dropdown?.searchTerm&&this.activeCellModel?.validation?.allowInvalid&&(this.currentValue=this.dropdown.searchTerm,this.currentDisplayValue=this.currentValue,this.activeCellModel.displayValue=this.currentDisplayValue,this.commit(),this.searchCommitted=!0)}init(){this.addEventListener("keydown",(t=>{"Enter"==t.key&&this.commitSearchValue()})),super.init()}async activate(t){if(super.activate(t),this.currentValue=null,this.searchCommitted=!1,this.searchUsed=!1,await this.dropdown.updateComplete,this.dropdown.updateOptions({selectMode:"s"==t.type?
|
|
3285
|
+
`}commitSearchValue(){this.searchCommitted||this.searchUsed&&null!=this.dropdown?.searchTerm&&this.activeCellModel?.validation?.allowInvalid&&(this.currentValue=this.dropdown.searchTerm,this.currentDisplayValue=this.currentValue,this.activeCellModel.displayValue=this.currentDisplayValue,this.commit(),this.searchCommitted=!0)}init(){this.addEventListener("keydown",(t=>{"Enter"==t.key&&this.commitSearchValue()})),super.init()}async activate(t){if(super.activate(t),this.currentValue=null,this.searchCommitted=!1,this.searchUsed=!1,await this.dropdown.updateComplete,this.dropdown.updateOptions({selectMode:"s"==t.type?Im.Single:Im.Multiple}),t.editorContent){let e=t.editorContent;e&&0!=e.length||(e=t.hasValue?[{k:t.value,v:t.value}]:[]),this.dropdown.value=null,this.dropdown.adapter=null,this.dropdown.setSourceData(e)}else t.adapter&&(this.dropdown.adapter=t.adapter);await this.dropdown.open(),this.setValue(this.currentValue??t.value)}getValue(){return this.currentValue}getDisplayValue(){return this.currentDisplayValue}setValue(t){this.currentValue=t,null==t?this.dropdown.value=null:"s"==this.activeCellModel.type?this.dropdown.value=this.activeCellModel.value==t&&null!=this.activeCellModel.displayValue?[[t,null,null,{value:this.activeCellModel.displayValue}]]:[[t]]:Array.isArray(t)?this.dropdown.value=Tm(t):this.dropdown.value=null,null!=this.initialValue&&this.dropdown.filter(t.toString())}close(){this.currentValue=null,super.close(),this.dropdown.close()}};Gx.styles=[jx.baseStyles,or`
|
|
3285
3286
|
og-tree-dropdown {
|
|
3286
3287
|
width: 100%;
|
|
3287
3288
|
height: 100%;
|
|
@@ -3307,7 +3308,7 @@
|
|
|
3307
3308
|
height: 100%;
|
|
3308
3309
|
padding: 0;
|
|
3309
3310
|
}
|
|
3310
|
-
`],Xx([fs("og-grid-formula")],Qx.prototype,"input",void 0),Qx=Xx([hs("og-grid-formulaeditor")],Qx);const Kx=new Map([["t",{createComponent:()=>new Fx}],["n",{createComponent:()=>new Wx}],["b",{createComponent:()=>new Vx}],["s",{createComponent:()=>new Gx}],["m",{createComponent:()=>new Gx}],["d",{createComponent:t=>t?.dateCalendarEditor?new Zx:new Yx}]]);class Jx{get model(){return this.grid.model}get selection(){return this.grid.selection}get selector(){return this.grid.selector}get events(){return this.grid.events}get table(){return this.grid.table}get isEditing(){return!!this.editor}get activeEditor(){return this.editor}get isFormulaMode(){return this._formulaMode||this.grid.group?.isFormulaMode}constructor(t){this.grid=t,this.editorMap=new Map,this.columnMoving=!1,this.rowMoving=!1,this._formulaMode=!1}canEdit(t){return t.editable||this.grid.designMode}updateCell(t,e,i=!0,o=!1){this.updateCells([t],[e],i,o)}updateCells(t,e,i=!0,o=!1){let n,r,s,a,l;t.forEach(((t,o)=>{const c=t.value;let h,d,u;Z(e[o])?(d=e[o],h="v"in d?d.v:void 0):h=e[o],d?u=t.update(d):(t.clearFormula(),c!==h&&(u={v:c,dv:t.displayValue},t.value=h)),i&&u&&(n=n||[],r=r||[],s=s||[],a=a||[],l=l||[],n.push(c),r.push(u),s.push(h),a.push(d),l.push(t))})),i&&l?.length&&this.grid.dispatchEvent(new Hx({grid:this.grid,fromHistory:!!o,cells:l,editType:"value",newValues:s,newProps:a,oldValues:n,oldProps:r}))}startFormulaMode(){this._formulaMode=!0,this.grid.group&&this.grid.group.startFormulaMode(this.grid)}endFormulaMode(t=!0){this._formulaMode=!1,t&&this.grid.group&&this.grid.group.endFormulaMode(),this.grid.selecting.hideFormulaSelector(),this.grid.selecting.removeFormulaHighlight(),this.grid.selecting.showSelector()}startEdit(t=null){const e=this.grid.selecting.activeCell;if(e&&this.canEdit(e)){this.grid.logger.info(`start edit ${new fv(e.c,e.r).A1}`);let i=!0;zv(t)||null==t&&e.hasOwnFormula?this.editor=this.getFormulaEditor().open(this.grid,t):(i=!1,this.editor=this.getEditor(e).open(this.grid,t)),this.grid.dispatchEvent(new
|
|
3311
|
+
`],Xx([fs("og-grid-formula")],Qx.prototype,"input",void 0),Qx=Xx([hs("og-grid-formulaeditor")],Qx);const Kx=new Map([["t",{createComponent:()=>new Fx}],["n",{createComponent:()=>new Wx}],["b",{createComponent:()=>new Vx}],["s",{createComponent:()=>new Gx}],["m",{createComponent:()=>new Gx}],["d",{createComponent:t=>t?.dateCalendarEditor?new Zx:new Yx}]]);class Jx{get model(){return this.grid.model}get selection(){return this.grid.selection}get selector(){return this.grid.selector}get events(){return this.grid.events}get table(){return this.grid.table}get isEditing(){return!!this.editor}get activeEditor(){return this.editor}get isFormulaMode(){return this._formulaMode||this.grid.group?.isFormulaMode}constructor(t){this.grid=t,this.editorMap=new Map,this.columnMoving=!1,this.rowMoving=!1,this._formulaMode=!1}canEdit(t){return t.editable||this.grid.designMode}updateCell(t,e,i=!0,o=!1){this.updateCells([t],[e],i,o)}updateCells(t,e,i=!0,o=!1){let n,r,s,a,l;t.forEach(((t,o)=>{const c=t.value;let h,d,u;Z(e[o])?(d=e[o],h="v"in d?d.v:void 0):h=e[o],d?u=t.update(d):(t.clearFormula(),c!==h&&(u={v:c,dv:t.displayValue},t.value=h)),i&&u&&(n=n||[],r=r||[],s=s||[],a=a||[],l=l||[],n.push(c),r.push(u),s.push(h),a.push(d),l.push(t))})),i&&l?.length&&this.grid.dispatchEvent(new Hx({grid:this.grid,fromHistory:!!o,cells:l,editType:"value",newValues:s,newProps:a,oldValues:n,oldProps:r}))}startFormulaMode(){this._formulaMode=!0,this.grid.group&&this.grid.group.startFormulaMode(this.grid)}endFormulaMode(t=!0){this._formulaMode=!1,t&&this.grid.group&&this.grid.group.endFormulaMode(),this.grid.selecting.hideFormulaSelector(),this.grid.selecting.removeFormulaHighlight(),this.grid.selecting.showSelector()}startEdit(t=null){const e=this.grid.selecting.activeCell;if(e&&this.canEdit(e)){this.grid.logger.info(`start edit ${new fv(e.c,e.r).A1}`);let i=!0;zv(t)||null==t&&e.hasOwnFormula?this.editor=this.getFormulaEditor().open(this.grid,t):(i=!1,this.editor=this.getEditor(e).open(this.grid,t)),this.grid.dispatchEvent(new Lx("startEdit",{grid:this.grid})),i&&(this.startFormulaMode(),this.grid.dispatchEvent(new Lx("startFormulaEdit",{grid:this.grid})))}}endEdit(){this.editor&&(this.grid.logger.info("end edit"),this.grid.editing.endFormulaMode(),this.editor?.close(),this.editor=null,this.grid.dispatchEvent(new Lx("endEdit",{grid:this.grid})))}commitEdit(){this.editor&&(this.editor.commit(),this.endEdit())}insertRows(t){const e=this.model.insertRows(t.index,t.count,t.after);return this.grid.rendering.renderAll(!0),it(t.dispatchEvent,!0)&&this.grid.dispatchEvent(new Hx({grid:this.grid,fromHistory:!!t.fromHistory,editType:"insert_row",newValues:e})),e}insertColumns(t){const e=this.model.insertColumns(t.index,t.count,t.after);return this.grid.rendering.renderAll(!0),it(t.dispatchEvent,!0)&&this.grid.dispatchEvent(new Hx({grid:this.grid,fromHistory:!!t.fromHistory,editType:"insert_column",newValues:e})),e}deleteRows(t){const e=this.model.deleteRows(t.index,t.count);return this.grid.rendering.renderAll(!0),it(t.dispatchEvent,!0)&&this.grid.dispatchEvent(new Hx({grid:this.grid,fromHistory:!!t.fromHistory,editType:"delete_row",oldValues:e})),e}deleteColumns(t){const e=this.model.deleteColumns(t.index,t.count);return this.grid.rendering.renderAll(!0),it(t.dispatchEvent,!0)&&this.grid.dispatchEvent(new Hx({grid:this.grid,fromHistory:!!t.fromHistory,editType:"delete_column",oldValues:e})),e}moveRows(t){this.model.moveRows(t.index,t.count,t.targetIndex),this.grid.rendering.renderAll(!1),it(t.dispatchEvent,!0)&&this.grid.dispatchEvent(new Hx({grid:this.grid,fromHistory:t.fromHistory,editType:"move_row",oldValues:[new fv(0,t.index,1/0,t.index+t.count-1)],newValues:[new fv(0,t.targetIndex,1/0,t.targetIndex+t.count-1)]}))}moveColumns(t){this.model.moveColumns(t.index,t.count,t.targetIndex),this.grid.rendering.renderAll(!1),it(t.dispatchEvent,!0)&&this.grid.dispatchEvent(new Hx({grid:this.grid,fromHistory:t.fromHistory,editType:"move_column",oldValues:[new fv(t.index,t.index+t.count-1,1/0)],newValues:[new fv(t.targetIndex,0,t.targetIndex+t.count-1,1/0)]}))}clearSelection(t=!0){const e=this.model.getCellArray(this.selection.range).filter((t=>this.canEdit(t)));this.updateCells(e,e.map((()=>null)),t),this.grid.rendering.updateCells(e,!0)}getEditor(t){const e=t.type;if(!this.editorMap.has(e)){const t=function(t){return Kx.get(Kx.has(t)?t:"t")}(e).createComponent(this.model.options.editing);this.grid.shadowRoot.appendChild(t),this.editorMap.set(e,t)}return this.editorMap.get(e)}getFormulaEditor(){const t="formula";if(!this.editorMap.has(t)){const e=new Qx;this.grid.shadowRoot.appendChild(e),this.editorMap.set(t,e)}return this.editorMap.get(t)}getSelectionCellData(){return this.model.getCellMatrix(this.selection.range).map((t=>t.map((t=>t.getSourceData({displayValue:!0})))))}copySelection(){const t=ClipboardItem.supports(mx.CUSTOM_CLIPBOARD_TYPE),e=this.model.getValuesInRange(this.selection.range,t);this.grid.selecting.hideSelector(),this.grid.selecting.showCopySelector();const i={"text/plain":new Blob([cn(e,{decimalSeparator:this.model.options.systemDecimalSeparator})],{type:"text/plain"})};t?i[mx.CUSTOM_CLIPBOARD_TYPE]=new Blob([JSON.stringify(this.getSelectionCellData())],{type:"application/json"}):this.grid.logger.warn("Browser does not support custom clipboard type"),navigator.clipboard.write([new ClipboardItem(i)]).then((()=>this.grid.logger.info("selected content copied")),(()=>this.grid.logger.error("copy rejected")))}pasteMatrix(t){const e=this.selection.range,i=[],o=[],n=this.model.options.clipboard?.rowPasteMode,r=this.model.options.clipboard?.columnPasteMode,s="all"==(this.model.options.clipboard?.pasteProps??"all")?null:this.model.options.clipboard.pasteProps,a=t.length,l=a>0?t[0].length:0;"insert"==n?this.insertRows({index:e.r1,count:a,after:!1}):"rewrite_append"==n&&e.r1+a>this.model.rows.length-1&&this.insertRows({index:this.model.rows.length-1,count:e.r1+a-this.model.rows.length,after:!0}),"insert"==r?this.insertColumns({index:e.c1,count:l,after:!1}):"rewrite_append"==r&&e.c1+l>this.model.columns.length-1&&this.insertColumns({index:this.model.columns.length-1,count:e.c1+l-this.model.columns.length,after:!0});const c=a>0&&l>0&&e.size.rows%a==0&&e.size.columns%l==0,h=Math.min(c?e.r2:e.r1+a-1,this.model.rows.length-1),d=Math.min(c?e.c2:e.c1+l-1,this.model.columns.length-1);for(let n=e.r1;n<=h;n++){const r=(n-e.r1)%a;for(let a=e.c1;a<=d;a++){const l=this.model.rows[n].cell(a);if(!l.editable)continue;const c=(a-e.c1)%t[r].length;if(s&&Z(t[r][c])){const e={};s.forEach((i=>{e[i]=t[r][c][i]})),l.prefersDisplayValue||(e.dv=void 0),o.push(e)}else o.push(t[r][c]);i.push(l)}}this.updateCells(i,o,!0),this.grid.rendering.updateCells(i,!0)}pasteText(t){this.pasteMatrix(hn(t))}async paste(){this.grid.selecting.hideCopySelector();try{const t=await navigator.clipboard.read();if(0==t.length)return;const e=t[0];if(e.types.includes(mx.CUSTOM_CLIPBOARD_TYPE)){const t=await e.getType(mx.CUSTOM_CLIPBOARD_TYPE);this.pasteMatrix(JSON.parse(await t.text()))}else if(e.types.includes("text/plain")){const t=await e.getType("text/plain");this.pasteText(await t.text())}}catch(t){return void this.grid.logger.error("paste rejected")}}openComments(t){setTimeout((()=>{this.grid.comment.attachTo(this.grid.table.getCellByCellModel(t),t,!0)}),100)}undo(){let t;const[e]=this.grid.history.pop();if(e)switch(e.type){case"value":t=e.addresses.map((t=>this.model.getCellByA1(t))),this.updateCells(t,e.oldProps,!0,!0),this.grid.rendering.updateCells(t,!0);break;case"insert_column":e.newValues.forEach(((t,i)=>this.grid.editing.deleteColumns({index:wv(e.addresses[i]),count:1,dispatchEvent:!0,fromHistory:!0})));break;case"insert_row":e.newValues.forEach(((t,i)=>this.grid.editing.deleteRows({index:bv(e.addresses[i]),count:1,dispatchEvent:!0,fromHistory:!0})))}}redo(){let t;const[e]=this.grid.history.pop2();if(e)switch(e.type){case"value":t=e.addresses.map((t=>this.model.getCellByA1(t))),this.updateCells(t,e.newValues,!0,!0),this.grid.rendering.updateCells(t,!0);break;case"insert_column":e.newValues.forEach(((t,i)=>this.grid.editing.insertColumns({index:wv(e.addresses[i]),count:1,dispatchEvent:!0,fromHistory:!0})));break;case"insert_row":e.newValues.forEach(((t,i)=>this.grid.editing.insertRows({index:bv(e.addresses[i]),count:1,dispatchEvent:!0,fromHistory:!0})))}}startColumnMoving(t){this.columnMoving=!0}merge(t){const e=t?fv.fromA1(t):this.selection.range,i=this.model.rows[e.r1]?.cell(e.c1);i&&(this.model.merges.add({r:e.r1,c:e.c1,rs:e.size.rows,cs:e.size.columns}),this.grid.rendering.renderCells({vertical:!0,horizontal:!0}),this.grid.selecting.select(e))}unmerge(t){const e=t?fv.fromA1(t):this.selection.range,i=this.model.rows[e.r1]?.cell(e.c1);if(!i)return;const o=this.model.merges.mergedCells.get(i.address);o&&(this.model.merges.remove(i.address),this.grid.rendering.renderCells({vertical:!0,horizontal:!0}),this.grid.selecting.select(new fv(o.c,o.r,o.c+o.cs-1,o.r+o.rs-1)))}}class tk extends Lx{constructor(t,e){super(`filter.${t}`,e)}}class ek extends ls{get currentValue(){return this.filterModel.get(this.columnModel.index)?.term}constructor(){super(),this.addEventListener("keydown",(t=>t.stopPropagation())),this.addEventListener("mousedown",(t=>t.stopPropagation())),this.addEventListener("pointerdown",(t=>t.stopPropagation())),this.addEventListener("click",(t=>t.stopPropagation())),this.addEventListener("dblclick",(t=>t.stopPropagation()))}filter(t){this.filterModel.filter({term:t,c:this.columnModel.index}),this.dispatchEvent(new tk("apply",{filter:Array.from(this.filterModel.settings.values())}))}clearFilter(){this.filterModel.filter({term:null,c:this.columnModel.index}),this.dispatchEvent(new tk("apply",{filter:Array.from(this.filterModel.settings.values())}))}activate(){this.dispatchEvent(new tk("activate"))}deactivate(){this.dispatchEvent(new tk("deactivate"))}}ek.styles=[or`
|
|
3311
3312
|
:host {
|
|
3312
3313
|
height: 100%;
|
|
3313
3314
|
border: 1px solid var(--og-accent-color);
|
|
@@ -3440,10 +3441,10 @@
|
|
|
3440
3441
|
overflow: hidden;
|
|
3441
3442
|
}
|
|
3442
3443
|
|
|
3443
|
-
`;var dk=function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class uk extends
|
|
3444
|
+
`;var dk=function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class uk extends Lx{constructor(t,e){super(`object.${t}`,e),Object.assign(this,e)}}let pk=class extends ls{constructor(){super(),this.active=!1,this.updatePosition=()=>{if(this.model){if(this.model.location){const{x:t,y:e}=this.model.location,i=this.grid.table.viewport.columns[0],o=this.grid.table.viewport.rows[0],n=this.grid.model.calculateCellOffset(o.cell(i.index).range);jt(this,{l:t-n.x+this.grid.table.totalHeaderWidth,t:e-n.y+this.grid.table.totalHeaderHeight})}this.model.size&&Dt(this,this.model.size)}},this._onHeadMouseDown=t=>{if(0!==t.button)return;const e=this.getBoundingClientRect(),i=t.clientX-e.left,o=t.clientY-e.top;let{top:n,left:r}=Ht(this.grid,document.body);r+=this.grid.table.totalHeaderWidth,n+=this.grid.table.totalHeaderHeight;const s=t=>{this.model.location={x:t.clientX-i-r,y:t.clientY-o-n},this.updatePosition()},a=()=>{document.removeEventListener("mousemove",s),document.removeEventListener("mouseup",a),this.dispatchEvent(this.grid.createEvent("moveend",{object:this.model,host:this},uk))};document.addEventListener("mousemove",s),document.addEventListener("mouseup",a)},this.render=()=>Br`
|
|
3444
3445
|
<div id="head" @mousedown="${this._onHeadMouseDown}"></div>
|
|
3445
3446
|
<div id="body"></div>
|
|
3446
|
-
`,this.addEventListener("pointerdown",(t=>t.stopImmediatePropagation())),this.addEventListener("click",(t=>t.stopImmediatePropagation()));const t=Y((()=>this.layout()),1);this.resizeObserver=new ResizeObserver((()=>{this.model.size={w:this.offsetWidth,h:this.offsetHeight},t()}))}connectedCallback(){super.connectedCallback(),this.resizeObserver.observe(this)}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver.unobserve(this)}async getComponent(){return this.component||(this.component=await this.createComponent()),this.component}async updated(t){St(this.body),this.body.appendChild(await this.getComponent()),this.layout(),t.has("active")&&this.layout()}layout(){this.component&&this.component.layout&&this.component.layout()}};pk.styles=[hk],dk([ps({type:Boolean,reflect:!0})],pk.prototype,"active",void 0),dk([ps({type:Object})],pk.prototype,"model",void 0),dk([fs("#body")],pk.prototype,"body",void 0),pk=dk([hs("og-object-host")],pk);class gk{get model(){return this.grid.model}get hosts(){return this._hosts}get activeObject(){return this._activeObject}constructor(t){this.grid=t,this._maxZIndex=999,this._hosts=new Set,this._onHostMouseDown=(t,e)=>{if(t.active)return e.stopImmediatePropagation();this.hosts.forEach(((e,i)=>{i==t?(i.active=!0,this._activeObject=i,this.bringToFront(i),setTimeout((()=>document.addEventListener("mousedown",(()=>{t.active&&(t.active=!1,t.dispatchEvent(new uk("deactivate",{host:t,object:t.model,grid:this.grid})))}),{once:!0})),100)):i.active&&(i.active=!1,i.dispatchEvent(new uk("deactivate",{host:i,object:i.model,grid:this.grid})))})),t.dispatchEvent(new uk("activate",{host:t,object:t.model,grid:this.grid}))},t.addEventListener("grid.object.deactivate",(t=>{t.host==this._activeObject&&(this._activeObject=null)}))}bringToFront(t){t.model.zIndex!=this._maxZIndex&&(this._maxZIndex++,this.hosts.add(t),Ut(t,this._maxZIndex))}add(t){const e=yt("og-object-host");e.grid=this.grid,e.model=t.model,e.createComponent=t.createComponent,e.addEventListener("mousedown",(t=>this._onHostMouseDown(e,t)));const i=t.model.zIndex||this._maxZIndex+1;return this._maxZIndex=Math.max(this._maxZIndex,i),Ut(e,i),this.hosts.add(e),e.updatePosition(),this.grid.shadowRoot.appendChild(e),e}delete(t){}updatePostions(){this.hosts.forEach(((t,e)=>e.updatePosition()))}}class mk{get model(){return this.grid.model}get selection(){return this.grid.selection}get selector(){return this.grid.selector}get events(){return this.grid.events}get table(){return this.grid.table}constructor(t){this.grid=t}clearCache(){this.table.clearBodyCache(),this.table.renderCells({vertical:!0,horizontal:!0})}sort(t,e=null){const i=this.grid.adapter&&!this.model.rowRoot.isLoaded&&this.model.options.pageSize>0;this.grid.model.sorting.sort(t,e,i),this.clearCache(),i&&(this.model.clearRows(),this.model.rowRoot.count=1/0,this.grid.rendering.loadNextPage())}resetSort(){this.grid.model.sorting.resetSort(),this.clearCache()}init(){}}class fk extends
|
|
3447
|
+
`,this.addEventListener("pointerdown",(t=>t.stopImmediatePropagation())),this.addEventListener("click",(t=>t.stopImmediatePropagation()));const t=Y((()=>this.layout()),1);this.resizeObserver=new ResizeObserver((()=>{this.model.size={w:this.offsetWidth,h:this.offsetHeight},t()}))}connectedCallback(){super.connectedCallback(),this.resizeObserver.observe(this)}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver.unobserve(this)}async getComponent(){return this.component||(this.component=await this.createComponent()),this.component}async updated(t){St(this.body),this.body.appendChild(await this.getComponent()),this.layout(),t.has("active")&&this.layout()}layout(){this.component&&this.component.layout&&this.component.layout()}};pk.styles=[hk],dk([ps({type:Boolean,reflect:!0})],pk.prototype,"active",void 0),dk([ps({type:Object})],pk.prototype,"model",void 0),dk([fs("#body")],pk.prototype,"body",void 0),pk=dk([hs("og-object-host")],pk);class gk{get model(){return this.grid.model}get hosts(){return this._hosts}get activeObject(){return this._activeObject}constructor(t){this.grid=t,this._maxZIndex=999,this._hosts=new Set,this._onHostMouseDown=(t,e)=>{if(t.active)return e.stopImmediatePropagation();this.hosts.forEach(((e,i)=>{i==t?(i.active=!0,this._activeObject=i,this.bringToFront(i),setTimeout((()=>document.addEventListener("mousedown",(()=>{t.active&&(t.active=!1,t.dispatchEvent(new uk("deactivate",{host:t,object:t.model,grid:this.grid})))}),{once:!0})),100)):i.active&&(i.active=!1,i.dispatchEvent(new uk("deactivate",{host:i,object:i.model,grid:this.grid})))})),t.dispatchEvent(new uk("activate",{host:t,object:t.model,grid:this.grid}))},t.addEventListener("grid.object.deactivate",(t=>{t.host==this._activeObject&&(this._activeObject=null)}))}bringToFront(t){t.model.zIndex!=this._maxZIndex&&(this._maxZIndex++,this.hosts.add(t),Ut(t,this._maxZIndex))}add(t){const e=yt("og-object-host");e.grid=this.grid,e.model=t.model,e.createComponent=t.createComponent,e.addEventListener("mousedown",(t=>this._onHostMouseDown(e,t)));const i=t.model.zIndex||this._maxZIndex+1;return this._maxZIndex=Math.max(this._maxZIndex,i),Ut(e,i),this.hosts.add(e),e.updatePosition(),this.grid.shadowRoot.appendChild(e),e}delete(t){}updatePostions(){this.hosts.forEach(((t,e)=>e.updatePosition()))}}class mk{get model(){return this.grid.model}get selection(){return this.grid.selection}get selector(){return this.grid.selector}get events(){return this.grid.events}get table(){return this.grid.table}constructor(t){this.grid=t}clearCache(){this.table.clearBodyCache(),this.table.renderCells({vertical:!0,horizontal:!0})}sort(t,e=null){const i=this.grid.adapter&&!this.model.rowRoot.isLoaded&&this.model.options.pageSize>0;this.grid.model.sorting.sort(t,e,i),this.clearCache(),i&&(this.model.clearRows(),this.model.rowRoot.count=1/0,this.grid.rendering.loadNextPage())}resetSort(){this.grid.model.sorting.resetSort(),this.clearCache()}init(){}}class fk extends Lx{constructor(t,e){super(`menu.${t}`,e)}}class vk{get model(){return this.grid.model}get selection(){return this.grid.selection}get selector(){return this.grid.selector}get events(){return this.grid.events}get table(){return this.grid.table}get contextMenu(){return this.grid.contextMenu}constructor(t){this.grid=t,this._onContextMenuClick=t=>{const e=this.grid;switch(this.currentMenuItems[t.index].key){case"insertColumn":e.editing.insertColumns({index:this.currentColumn.index,count:1});break;case"insertColumnAfter":e.editing.insertColumns({index:this.currentColumn.index,count:1,after:!0});break;case"deleteColumn":e.editing.deleteColumns({index:this.currentColumn.index,count:1});break;case"insertRow":e.editing.insertRows({index:this.currentRow.index,count:1});break;case"insertRowAfter":e.editing.insertRows({index:this.currentRow.index,count:1,after:!0});break;case"deleteRow":e.editing.deleteRows({index:this.currentRow.index,count:1});break;case"comment":this.grid.editing.openComments(this.currentCell)}this.grid.dispatchEvent(new fk("click",{grid:this.grid,cell:this.currentCell,row:this.currentRow,column:this.currentColumn,item:this.currentMenuItems[t.index]}))},this._onOutlineLevelChange=(t,e)=>{const i=t.target.value;e instanceof Ww?(this.model.getRowIterator(this.grid.selection.range).forEach((t=>t.level=i)),this.model.rebuildRowTree()):(this.model.getColumnIterator(this.grid.selection.range).forEach((t=>t.level=i)),this.model.rebuildColumnTree()),this.grid.rendering.render(!0)},this.renderOutlineMenuItem=t=>Br`
|
|
3447
3448
|
<div
|
|
3448
3449
|
style="display: flex; flex-direction: row; align-items: center;"
|
|
3449
3450
|
@mousedown="${t=>t.stopPropagation()}"
|
|
@@ -3514,7 +3515,7 @@
|
|
|
3514
3515
|
.target=${this}>
|
|
3515
3516
|
</og-commands>
|
|
3516
3517
|
`:""}
|
|
3517
|
-
`,this.debounceInnerLayout=Y(this.innerLayout,100)}get table(){return this.tableRef.value}get hSlider(){return this.hSliderRef.value}get vSlider(){return this.vSliderRef.value}get hSizer(){return this.hSizerRef.value}get vSizer(){return this.vSizerRef.value}get selector(){return this.selectorRef.value}get copySelector(){return this.copySelectorRef.value}get formulaSelector(){return this.formulaSelectorRef.value}get commandWindow(){return this.commandWindowRef.value}get contextMenu(){return this.contextMenuRef.value}get tooltip(){return this.tooltipRef.value}get comment(){return this.commentRef.value}get designMode(){return!!this.group&&this.group.designMode}connectedCallback(){super.connectedCallback(),this.logger.info("connected"),this.layout()}disconnectedCallback(){this.destroy()}destroy(){this.contextMenu&&Et(this.contextMenu),this.comment&&Et(this.comment)}async initAdapter(){this.adapter.attach(this),this.table&&(this.table.rowOffset=0),this.dispatchEvent(new
|
|
3518
|
+
`,this.debounceInnerLayout=Y(this.innerLayout,100)}get table(){return this.tableRef.value}get hSlider(){return this.hSliderRef.value}get vSlider(){return this.vSliderRef.value}get hSizer(){return this.hSizerRef.value}get vSizer(){return this.vSizerRef.value}get selector(){return this.selectorRef.value}get copySelector(){return this.copySelectorRef.value}get formulaSelector(){return this.formulaSelectorRef.value}get commandWindow(){return this.commandWindowRef.value}get contextMenu(){return this.contextMenuRef.value}get tooltip(){return this.tooltipRef.value}get comment(){return this.commentRef.value}get designMode(){return!!this.group&&this.group.designMode}connectedCallback(){super.connectedCallback(),this.logger.info("connected"),this.layout()}disconnectedCallback(){this.destroy()}destroy(){this.contextMenu&&Et(this.contextMenu),this.comment&&Et(this.comment)}async initAdapter(){this.adapter.attach(this),this.table&&(this.table.rowOffset=0),this.dispatchEvent(new Lx("beforeLoad",{grid:this}));const t=await this.adapter.getColumns(),e=this.rendering.getAdapterRequestFilters(),i=await this.adapter.getRows(e);e.rows=i;const o=await this.adapter.getCells(e),n=Fw(await this.adapter.getOptions(),this.options),r=await this.adapter.getSparklines(),s=await this.adapter.getComments(),a=await this.adapter.getRules(),l=await this.adapter.getStyles();this.setSourceData({columns:t,rows:i,cells:o,options:n,sparklines:r,comments:s,rules:a,styles:l}),this.dispatchEvent(new Lx("afterLoad",{grid:this}))}updateOptions(t){this.options=Fw(t,this.options),this.requestUpdate()}async firstUpdated(){this.tabIndex=0,this.events.init(),this.menus.init(),await this.table.updateComplete,this.logger.info("init"),this.dispatchEvent(new Lx("init",{grid:this}))}async updated(t){if(Dt(this.table,{w:this.clientWidth,h:this.clientHeight}),t.has("adapter")&&this.initAdapter(),this.model){if(this.options&&(this.model.options=this.options),this.rendering.requireVerticalUpdate=!0,this.rendering.requireHorizontalUpdate=!0,this.table.model=this.model,t.has("model")&&(this.sorting.init(),this.model.options.firstCell)){const t=fv.fromA1(this.model.options.firstCell);this.table.colOffset=t.c1,this.table.rowOffset=t.r1}await this.table.updateComplete,this.rendering.updateSliders(),this.rendering.debounceRenderCells(),wk(this),this.dispatchEvent(new Lx("loadmodel",{grid:this}))}t.has("zoom")&&(t.get("zoom")||1)!==(this.zoom||1)&&(this.options.zoom=this.zoom,this.rendering.render(!0))}innerLayout(){Dt(this.table,{w:this.clientWidth,h:this.clientHeight}),this.table.requestUpdate()}layout(){this.table&&this.debounceInnerLayout()}setSourceData(t){t.options&&(this.options=Fw(t.options,this.options)),this.model=new dx(t,this.options,this.logger)}willUpdate(t){t.has("model")&&(this.options=Fw(this.model.options,this.options),this.model.options=this.options,this.history=new px(this.model),this.filtering.init(),this.zoom=this.options.zoom||1)}focus(t){super.focus(t),this.editing.activeEditor?.focus()}async refresh(){this.adapter?(this.table.clearHeaderCache(),this.table.clearBodyCache(),await this.initAdapter()):await this.rendering.render(!0)}createEvent(t,e,i){return new(i??Lx)(t,{grid:this,...e})}dispatchGridEvent(t,e,i){this.dispatchEvent(this.createEvent(t,e,i))}getConnectedGrid(t){return this.group?.getGrid(t)}getSourceData(){const t=this.model?.getSourceData()??{},e=new Dn(t);return this.dispatchEvent(e),e.data}setTheme(t){this.model.theme=t,this.model.applyTheme(t,!0),this.refresh()}};kk.styles=[Cx],xk([ps({type:Object})],kk.prototype,"model",void 0),xk([ps({type:Object})],kk.prototype,"adapter",void 0),xk([ps({type:Object})],kk.prototype,"selection",void 0),xk([ps({type:Object})],kk.prototype,"options",void 0),xk([ps({type:Object})],kk.prototype,"logger",void 0),xk([ps({type:Number})],kk.prototype,"zoom",void 0),kk=xk([hs("og-grid")],kk);var Ck=function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};const Mk={options:{rows:100,columns:20,editable:!0}},_k=()=>new dx(Mk),Sk={commandWindow:!0,showHiddenTabs:!1};class Ek extends Event{constructor(t){super(`gridgroup.${t}`)}}let zk=class extends ls{get commandWindow(){return this.commandWindowRef.value}get activeGrid(){return this._activeGrid}get commands(){return this.activeGrid?this._commands.merge(this.activeGrid.commands):this._commands}get formulaModeGrid(){return this._formulaModeGrid}get isFormulaMode(){return null!=this.formulaModeGrid}get gridModels(){const t=new Map;return this.containerModel.walk((e=>{const i=this.model.get(e.id);i&&t.set(i.name,t.size)})),Array.from(this.model.models).sort(((e,i)=>(t.get(e[0])??0)-(t.get(i[0])??0))).map((([t,e])=>e))}startFormulaMode(t){this._formulaModeGrid=t}endFormulaMode(){this.isFormulaMode&&(this._formulaModeGrid=null,this.grids.forEach((t=>t.editing.endFormulaMode(!1))))}activateGrid(t,e=!0){const i=this.grids.get(t);i&&this.activeGrid?.model?.name!=t&&(this.activeGrid&&e&&this.dispatchEvent(new Ek("deactivate")),this._activeGrid=i,this.container.activate(t),setTimeout((()=>i.focus()),100),e&&this.dispatchEvent(new Ek("activate")))}previewZoom(t){this.grids.forEach((e=>{e.isConnected&&e.table.previewZoom(t)}))}updateZoom(){this.grids.forEach((t=>{t.isConnected&&(t.zoom=this.zoom)}))}hideSelectors(){this.grids.forEach((t=>{t.isConnected&&t.selecting.hideSelector()}))}showSelectors(){this.grids.forEach((t=>{t.isConnected&&t.selecting.showSelector()}))}renameSheet(t,e){if(this.model.has(e))throw new Error(`Sheet '${e}' already exists`);this.grids.has(t)&&(this.grids.set(e,this.grids.get(t)),this.grids.delete(t)),this.model.rename(t,e),this.container.model.updateTab(t,{id:e,title:e}),this.updateTabs()}updateTabs(){this.containerModel.walk((t=>{const e=this.model.get(t.id);e&&(t.id=e.name,t.color=e.tab?.color,t.hidden=!this.options.showHiddenTabs&&e.tab?.hidden,t.icon=e.tab?.hidden?"eye-slash":null)})),this.container?.updateTabs()}updateContainer(){this.container?.splitContainer?.requestUpdate()}updateCommands(){this.commandWindow&&(this.commandWindow.commands=this.commands)}constructor(){super(),this.options=Sk,this.designMode=!1,this.zoom=1,this.tabPosition="top",this.logger=new un("ΩgridGroup"),this.grids=new Map,this.commandWindowRef=Zh(),this._commands=new ig(bk()),this.plugins=new fd(this),this._formulaModeGrid=null,this._isLoaded=!1,this._onGridSelect=t=>{t.grid&&(this.isFormulaMode||(this.activateGrid(t.grid.model.name,!0),this.updateCommands()))},this.createGrid=t=>new Promise((e=>{const i=t;let o=this.grids.get(i);if(o)return void e(o);const n=this.model.has(i)?this.model.get(i):this.model.add(_k());n.options.commandWindow=!1,o=yt("og-grid"),o.style.height="100%",o.model=n,o.options=n.options,o.group=this,o.zoom=this.zoom,this.grids.set(n.name,o),e(o)})),this._onTabSelect=t=>{if(t.tab&&this._isLoaded){const e=this.grids.get(t.tab.id);this._activeGrid!=e&&(this.activateGrid(e.model.name,!0),setTimeout((()=>this._activeGrid.focus()),100),this.updateCommands())}},this._onTabAdd=t=>{const e=this.model.add(_k());t.tabs?.container&&t.tabs.container.open({id:e.name,title:e.name})},this._onCommandsOpen=()=>{this.commandWindow.commands=this.commands,this.commandWindow.requestUpdate()},this._onContainerLoad=()=>{this._isLoaded=!0,this.gridModels.length&&this.activateGrid(this.gridModels[0].name,!0)},this.render=()=>Br`
|
|
3518
3519
|
<og-tabsplitcontainer
|
|
3519
3520
|
?singleActive="${!0}"
|
|
3520
3521
|
?addButton="${!0}"
|
|
@@ -3650,7 +3651,7 @@
|
|
|
3650
3651
|
top: -4px;
|
|
3651
3652
|
cursor: ne-resize;
|
|
3652
3653
|
}
|
|
3653
|
-
`;var
|
|
3654
|
+
`;var Ik=function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class Lk extends Lx{constructor(t,e){super(`selector.${t}`,e)}}class Hk extends Lk{constructor(t){super("move",t)}}let Tk=class extends ls{constructor(){super(...arguments),this._animationTimer=null,this._autofilling=!1,this._moving=!1,this._resizing=!1,this._selecting=!1,this.subselector=!1,this.borderWidth=mx.SELECTOR_BORDER_WIDTH,this.animated=!1,this._isVisible=!1,this.hide=()=>{this._isVisible=!1,kt(this),this.stopSelectorOperations(),this.stopAnimation()},this.show=()=>{this._isVisible=!0,xt(this),this.startAnimation()},this._onMoveHandleMouseDown=(t,e)=>{const i=t.offsetX+t.target.offsetLeft+this.offsetLeft-this.table.totalHeaderWidth,o=t.offsetY+t.target.offsetTop+this.offsetTop-this.table.thead.clientHeight;let n=-1,r=0,s=0;for(;r<o&&this.table.bRows[++n];)r+=this.table.bRows[n].clientHeight;const a=this.table.bRows[n];if(a){for(n=-1;s<i&&a.children[++n];)s+="TD"==a.children[n].tagName?a.children[n].clientWidth:0;const t=a.children[Math.max(n,0)],{r:e,c:o}=t;this.startMoving(new fv(o,e))}},this._onResizeHandleMouseDown=(t,e)=>{t.stopImmediatePropagation(),this.startResizing(e)},this._onHandleMouseUp=t=>{0==t.button&&(this.stopMoving(),this.stopResizing())},this._onHandleMouseDown=()=>{this._autofilling=!0,this.autofillSelector=this.autofillSelector??this.createAutofillSelector(),kt(this.autofillSelector),wt(this.grid.shadowRoot,this.autofillSelector)},this.render=()=>Br`
|
|
3654
3655
|
${this.subselector?Br`<div id="subselector"></div>`:""}
|
|
3655
3656
|
${this.resizable?Br`
|
|
3656
3657
|
<div id="handle-nw" class="handle-resize" style="${Ea({backgroundColor:this.color})}"
|
|
@@ -3688,7 +3689,7 @@
|
|
|
3688
3689
|
<rect width="100%" height="100%" fill="none" stroke-width="4" stroke-dasharray="6,14" stroke-dashoffset="0" stroke-linecap="square" />
|
|
3689
3690
|
</svg>
|
|
3690
3691
|
`:""}
|
|
3691
|
-
`}get autofillDirection(){return this._autofillDirection}get autofillRange(){return this._autofillRange}get isAutofilling(){return this._autofilling}get isMoving(){return this._moving}get isResizing(){return this._resizing}get isSelecting(){return this._selecting}get isSelectorOperationActive(){return this._resizing||this._moving||this._autofilling||this._selecting}get table(){return this.grid?.table}get isVisible(){return this._isVisible}highlightAutofillRange(){const t=this.table.getCellByModelIndex(this._autofillRange.c1,this._autofillRange.r1),e=this.table.getCellByModelIndex(this._autofillRange.c2,this._autofillRange.r1),i=this.table.getCellByModelIndex(this._autofillRange.c2,this._autofillRange.r2),o=this.table.getCellByModelIndex(this._autofillRange.c1,this._autofillRange.r2);let n=-100,r=-100,s=this.table.offsetWidth+100,a=this.table.offsetHeight+100;if(t){const e=Ht(t,this.table);r=e.top,n=e.left}if(e){const t=Ht(e,this.table);r=t.top,s=t.left+i.offsetWidth}if(o){const t=Ht(o,this.table);a=t.top+o.offsetHeight,n=t.left}if(i){const t=Ht(i,this.table);a=t.top+i.offsetHeight,s=t.left+i.offsetWidth}jt(this.autofillSelector,{l:n,t:r}),Dt(this.autofillSelector,{w:s-n,h:a-r}),xt(this.autofillSelector)}createAutofillSelector(){const t=yt("div");return t.className="autofill",t.style.border="1px solid var(--og-accent-color)",t.style.zIndex="100",t.style.pointerEvents="none",t}stopAutofilling(t=!0){this.isAutofilling&&(this._autofilling=!1,t&&this.dispatchEvent(new Ik("autofill",{selector:this,grid:this.grid})),this.autofillSelector.remove())}updateAutofilling(t,e){const{c1:i,r1:o,c2:n,r2:r}=this.selection;this._autofillRange=null,e>r&&t-n<=e-r?(this._autofillDirection="down",this._autofillRange=new fv(i,r+1,n,e)):e<o&&i-t<=o-e?(this._autofillDirection="up",this._autofillRange=new fv(i,e,n,o-1)):t>n&&t-n>e-r?(this._autofillDirection="right",this._autofillRange=new fv(n+1,o,t,r)):t<i&&i-t>o-e&&(this._autofillDirection="left",this._autofillRange=new fv(t,o,i-1,r)),this._autofillRange&&this.highlightAutofillRange()}getMoveSelector(){return this.moveSelector||(this.moveSelector=yt("og-selector"),this.moveSelector.grid=this.grid,this.moveSelector.style.borderStyle="dotted",this.moveSelector.subselector=!1,this.moveSelector.selection=this.selection.clone(),this.grid.shadowRoot.appendChild(this.moveSelector)),this.moveSelector}startMoving(t){this.baseCell=t,this._moving=!0}updateMoving(t,e){t=this.selection.isRow?0:t-this.baseCell.c1,e=this.selection.isColumn?0:e-this.baseCell.r1;const i=this.getMoveSelector();i.selection.setCoords(this.selection.c1+t,this.selection.r1+e,this.selection.c2+t,this.selection.r2+e),i.select(i.selection),xt(this.moveSelector)}stopMoving(t=!0){if(this._moving&&(this._moving=!1,kt(this.moveSelector),this.moveSelector)){const e=this.selection.clone(),i=this.moveSelector.selection.clone();e.equals(i)||(this.selection=i,t&&this.dispatchEvent(new Hk({fromRange:e,toRange:i,selector:this,grid:this.grid})))}}startResizing(t){this._resizing=!0,this._resizingDirection=t}updateResizing(t,e){const{c1:i,r1:o,c2:n,r2:r}=this.selection,s=this.selection.clone();switch(this._resizingDirection){case"nw":e<=r&&t<=n&&(s.r1=e,s.c1=t);break;case"ne":e<=r&&t>=i&&(s.r1=e,s.c2=t);break;case"sw":e>=o&&t<=n&&(s.r2=e,s.c1=t);break;case"se":e>=o&&t>=i&&(s.r2=e,s.c2=t)}this.selection.equals(s)||(this.selection.r1=s.r1,this.selection.r2=s.r2,this.selection.c1=s.c1,this.selection.c2=s.c2,this.updatePosition())}stopResizing(t=!0){this._resizing&&(this._resizing=!1,t&&this.dispatchEvent(new Ik("resize",{selector:this,grid:this.grid})))}startSelecting(t){this.baseCell=t,this._selecting=!0,this.select(t)}select(t,e=!0){this.selection=t.clone(),e&&this.dispatchEvent(new Ik("select",{selector:this,grid:this.grid}))}stopSelecting(t=!0){this._selecting=!1,this.baseCell=null}updateMovingOperations(t,e){this.isAutofilling&&this.updateAutofilling(t,e),this.isMoving&&this.updateMoving(t,e),this.isResizing&&this.updateResizing(t,e)}stopSelectorOperations(t=!0){this.stopAutofilling(t),this.stopMoving(t),this.stopResizing(t),this.stopSelecting(t)}startAnimation(){if(!this.animated||null!=this._animationTimer||!this.isVisible)return;let t=0;this._animationTimer=window.setInterval((()=>{t+=2,t=20==t?0:t,this.svgAnimation.firstElementChild.setAttribute("stroke-dashoffset",t.toString())}),50)}stopAnimation(){null!=this._animationTimer&&window.clearInterval(this._animationTimer),this._animationTimer=null}disconnectedCallback(){this.stopAnimation()}willUpdate(){this.color&&(this.style.borderColor=this.color)}updated(){this.updatePosition(),this.animated||null==this._animationTimer?this.animated&&null==this._animationTimer&&this.startAnimation():this.stopAnimation()}updatePosition(){if(!this.table?.model)return;const t=this.table.zoom;Qt(this,t);let e=-1e3,i=-1e3,o=0,n=0,r=-1e3,s=-1e3,a=0,l=0;const c=this.table.model.options;if(this.selection){const t=Math.min(this.selection.c1,this.selection.c2),h=Math.max(this.selection.c1,this.selection.c2),d=Math.min(this.selection.r1,this.selection.r2),u=Math.max(this.selection.r1,this.selection.r2);if(this.topLeftCell=this.table.getCellByModelIndex(t,d),this.topRightCell=this.table.getCellByModelIndex(h,d),this.bottomLeftCell=this.table.getCellByModelIndex(t,u),this.bottomRightCell=this.table.getCellByModelIndex(h,u),(this.topLeftCell||this.topRightCell||this.bottomLeftCell||this.bottomRightCell)&&(Zt(this,{r:this.topRightCell||this.bottomRightCell?this.borderWidth:0,b:this.bottomRightCell||this.bottomLeftCell?this.borderWidth:0,l:this.topLeftCell||this.bottomLeftCell?this.borderWidth:0,t:this.topRightCell||this.topLeftCell?this.borderWidth:0}),e=this.topLeftCell||this.topRightCell?Ht(this.topLeftCell||this.topRightCell,this.table).top:Ht(this.table.getCellByGridIndex(0,c.freezeTop),this.table).top,n=(this.bottomRightCell||this.bottomLeftCell?Ht(this.bottomRightCell||this.bottomLeftCell,this.table).top-e+(this.bottomRightCell||this.bottomLeftCell).offsetHeight:u<=this.table.rowOffset?Ht(this.table.getCellByGridIndex(0,c.freezeTop),this.table).top-e:this.table.offsetHeight-e)+1,i=this.topLeftCell||this.bottomLeftCell?Ht(this.topLeftCell||this.bottomLeftCell,this.table).left:Ht(this.table.getCellByGridIndex(c.freezeLeft,0),this.table).left,o=(this.topRightCell||this.bottomRightCell?Ht(this.topRightCell||this.bottomRightCell,this.table).left-i+(this.topRightCell||this.bottomRightCell).offsetWidth:h<=this.table.colOffset?Ht(this.table.getCellByGridIndex(c.freezeLeft,0),this.table).left-i:this.table.offsetWidth-i)+1,this.activeCellRange&&(this.activeCell=this.table.getCellByModelIndex(t+this.activeCellRange.c1,d+this.activeCellRange.r1),this.activeCell))){const t=Ht(this.activeCell,this.table);s=t.left-i,r=t.top-e,a=this.activeCell.offsetWidth,l=this.activeCell.offsetHeight}}jt(this,{l:i*t,t:e*t}),Dt(this,{w:o,h:n}),this.subselectorElm&&(this.activeCellRange?(jt(this.subselectorElm,{l:s-mx.SELECTOR_BORDER_WIDTH,t:r-mx.SELECTOR_BORDER_WIDTH}),Dt(this.subselectorElm,{w:a-1,h:l-1})):kt(this.subselectorElm)),this.svgAnimation&&(this.svgAnimation.setAttribute("width",(this.clientWidth+4).toString()),this.svgAnimation.setAttribute("height",(this.clientHeight+4).toString()))}};Tk.styles=[Rk],Lk([ps({type:Boolean})],Tk.prototype,"autofill",void 0),Lk([ps({type:Boolean,reflect:!0})],Tk.prototype,"movable",void 0),Lk([ps({type:Boolean,reflect:!0})],Tk.prototype,"resizable",void 0),Lk([ps({type:Boolean,reflect:!0})],Tk.prototype,"subselector",void 0),Lk([ps({type:String})],Tk.prototype,"color",void 0),Lk([ps({type:Number})],Tk.prototype,"borderWidth",void 0),Lk([ps({type:Boolean,reflect:!0})],Tk.prototype,"animated",void 0),Lk([ps({type:Object})],Tk.prototype,"selection",void 0),Lk([ps({type:Object})],Tk.prototype,"activeCellRange",void 0),Lk([ps({type:Object})],Tk.prototype,"grid",void 0),Lk([fs("#handle")],Tk.prototype,"handleElm",void 0),Lk([fs("#svgAnimation")],Tk.prototype,"svgAnimation",void 0),Lk([fs("#handle-left")],Tk.prototype,"moveHandleLeftElm",void 0),Lk([fs("#handle-top")],Tk.prototype,"moveHandleTopElm",void 0),Lk([fs("#handle-right")],Tk.prototype,"moveHandleRightElm",void 0),Lk([fs("#handle-bottom")],Tk.prototype,"moveHandleBottomElm",void 0),Lk([fs("#subselector")],Tk.prototype,"subselectorElm",void 0),Tk=Lk([hs("og-selector")],Tk);var Ak=function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};let Ok=class extends ls{createSVGElement(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}renderLines(t,e){let i=[];t.forEach(((o,n)=>{if(o&&i.push(o),(!o||t.length==n+1)&&i.length>0){const t=this.createSVGElement("polyline");t.setAttribute("points",i.map((t=>t.join(","))).join(" ")),t.setAttribute("stroke",`#${e.style.color}`),t.setAttribute("stroke-width","2"),this.svg.appendChild(t),i=[]}})),e.marker&&t.forEach((t=>{if(t){const i=this.createSVGElement("circle");i.setAttribute("r","3"),i.setAttribute("fill",`#${e.marker.color}`),i.setAttribute("cx",t[0].toString()),i.setAttribute("cy",t[1].toString()),this.svg.appendChild(i)}}))}renderColumns(t,e){const i=(this.clientWidth-2*mx.SPARKLINE_GAP)/t.length-mx.SPARKLINE_GAP;t.forEach((t=>{if(t&&i>0){const o=this.createSVGElement("rect");o.setAttribute("width",i.toString()),o.setAttribute("height",(this.clientHeight-t[1]).toString()),o.setAttribute("fill",`#${e.style.color}`),o.setAttribute("x",(t[0]-i/2).toString()),o.setAttribute("y",t[1].toString()),this.svg.appendChild(o)}}))}renderSparkline(){if(this.cell&&this.cell.hasSparkline){const t=this.cell.address,e=this.cell.model.sparklines,i=e.getValues(t),[o,n]=e.getExtremes(t);if(null!=n){const r=(this.clientWidth-2*mx.SPARKLINE_GAP)/i.length,s=n-o,a=[];let l,c;this.svg=this.createSVGElement("svg"),this.svg.setAttribute("width",this.clientWidth.toString()),this.svg.setAttribute("height",this.clientHeight.toString()),this.shadowRoot.appendChild(this.svg),i.forEach(((t,e)=>{null==t||isNaN(t)?a.push(null):(l=mx.SPARKLINE_GAP+e*r+r/2,c=(this.clientHeight-2*mx.SPARKLINE_GAP)*(n-t)/s+mx.SPARKLINE_GAP,a.push([l,c]))}));const h=e.groups.get(e.get(t)[0]);"line"==h.type?this.renderLines(a,h):this.renderColumns(a,h)}}}updated(){this.shadowRoot.innerHTML="",this.timeout&&window.clearInterval(this.timeout),this.timeout=window.setTimeout((()=>{this.renderSparkline(),this.timeout=null}),1)}};Ok.styles=or`
|
|
3692
|
+
`}get autofillDirection(){return this._autofillDirection}get autofillRange(){return this._autofillRange}get isAutofilling(){return this._autofilling}get isMoving(){return this._moving}get isResizing(){return this._resizing}get isSelecting(){return this._selecting}get isSelectorOperationActive(){return this._resizing||this._moving||this._autofilling||this._selecting}get table(){return this.grid?.table}get isVisible(){return this._isVisible}highlightAutofillRange(){const t=this.table.getCellByModelIndex(this._autofillRange.c1,this._autofillRange.r1),e=this.table.getCellByModelIndex(this._autofillRange.c2,this._autofillRange.r1),i=this.table.getCellByModelIndex(this._autofillRange.c2,this._autofillRange.r2),o=this.table.getCellByModelIndex(this._autofillRange.c1,this._autofillRange.r2);let n=-100,r=-100,s=this.table.offsetWidth+100,a=this.table.offsetHeight+100;if(t){const e=Ht(t,this.table);r=e.top,n=e.left}if(e){const t=Ht(e,this.table);r=t.top,s=t.left+i.offsetWidth}if(o){const t=Ht(o,this.table);a=t.top+o.offsetHeight,n=t.left}if(i){const t=Ht(i,this.table);a=t.top+i.offsetHeight,s=t.left+i.offsetWidth}jt(this.autofillSelector,{l:n,t:r}),Dt(this.autofillSelector,{w:s-n,h:a-r}),xt(this.autofillSelector)}createAutofillSelector(){const t=yt("div");return t.className="autofill",t.style.border="1px solid var(--og-accent-color)",t.style.zIndex="100",t.style.pointerEvents="none",t}stopAutofilling(t=!0){this.isAutofilling&&(this._autofilling=!1,t&&this.dispatchEvent(new Lk("autofill",{selector:this,grid:this.grid})),this.autofillSelector.remove())}updateAutofilling(t,e){const{c1:i,r1:o,c2:n,r2:r}=this.selection;this._autofillRange=null,e>r&&t-n<=e-r?(this._autofillDirection="down",this._autofillRange=new fv(i,r+1,n,e)):e<o&&i-t<=o-e?(this._autofillDirection="up",this._autofillRange=new fv(i,e,n,o-1)):t>n&&t-n>e-r?(this._autofillDirection="right",this._autofillRange=new fv(n+1,o,t,r)):t<i&&i-t>o-e&&(this._autofillDirection="left",this._autofillRange=new fv(t,o,i-1,r)),this._autofillRange&&this.highlightAutofillRange()}getMoveSelector(){return this.moveSelector||(this.moveSelector=yt("og-selector"),this.moveSelector.grid=this.grid,this.moveSelector.style.borderStyle="dotted",this.moveSelector.subselector=!1,this.moveSelector.selection=this.selection.clone(),this.grid.shadowRoot.appendChild(this.moveSelector)),this.moveSelector}startMoving(t){this.baseCell=t,this._moving=!0}updateMoving(t,e){t=this.selection.isRow?0:t-this.baseCell.c1,e=this.selection.isColumn?0:e-this.baseCell.r1;const i=this.getMoveSelector();i.selection.setCoords(this.selection.c1+t,this.selection.r1+e,this.selection.c2+t,this.selection.r2+e),i.select(i.selection),xt(this.moveSelector)}stopMoving(t=!0){if(this._moving&&(this._moving=!1,kt(this.moveSelector),this.moveSelector)){const e=this.selection.clone(),i=this.moveSelector.selection.clone();e.equals(i)||(this.selection=i,t&&this.dispatchEvent(new Hk({fromRange:e,toRange:i,selector:this,grid:this.grid})))}}startResizing(t){this._resizing=!0,this._resizingDirection=t}updateResizing(t,e){const{c1:i,r1:o,c2:n,r2:r}=this.selection,s=this.selection.clone();switch(this._resizingDirection){case"nw":e<=r&&t<=n&&(s.r1=e,s.c1=t);break;case"ne":e<=r&&t>=i&&(s.r1=e,s.c2=t);break;case"sw":e>=o&&t<=n&&(s.r2=e,s.c1=t);break;case"se":e>=o&&t>=i&&(s.r2=e,s.c2=t)}this.selection.equals(s)||(this.selection.r1=s.r1,this.selection.r2=s.r2,this.selection.c1=s.c1,this.selection.c2=s.c2,this.updatePosition())}stopResizing(t=!0){this._resizing&&(this._resizing=!1,t&&this.dispatchEvent(new Lk("resize",{selector:this,grid:this.grid})))}startSelecting(t){this.baseCell=t,this._selecting=!0,this.select(t)}select(t,e=!0){this.selection=t.clone(),e&&this.dispatchEvent(new Lk("select",{selector:this,grid:this.grid}))}stopSelecting(t=!0){this._selecting=!1,this.baseCell=null}updateMovingOperations(t,e){this.isAutofilling&&this.updateAutofilling(t,e),this.isMoving&&this.updateMoving(t,e),this.isResizing&&this.updateResizing(t,e)}stopSelectorOperations(t=!0){this.stopAutofilling(t),this.stopMoving(t),this.stopResizing(t),this.stopSelecting(t)}startAnimation(){if(!this.animated||null!=this._animationTimer||!this.isVisible)return;let t=0;this._animationTimer=window.setInterval((()=>{t+=2,t=20==t?0:t,this.svgAnimation.firstElementChild.setAttribute("stroke-dashoffset",t.toString())}),50)}stopAnimation(){null!=this._animationTimer&&window.clearInterval(this._animationTimer),this._animationTimer=null}disconnectedCallback(){this.stopAnimation()}willUpdate(){this.color&&(this.style.borderColor=this.color)}updated(){this.updatePosition(),this.animated||null==this._animationTimer?this.animated&&null==this._animationTimer&&this.startAnimation():this.stopAnimation()}updatePosition(){if(!this.table?.model)return;const t=this.table.zoom;Qt(this,t);let e=-1e3,i=-1e3,o=0,n=0,r=-1e3,s=-1e3,a=0,l=0;const c=this.table.model.options;if(this.selection){const t=Math.min(this.selection.c1,this.selection.c2),h=Math.max(this.selection.c1,this.selection.c2),d=Math.min(this.selection.r1,this.selection.r2),u=Math.max(this.selection.r1,this.selection.r2);if(this.topLeftCell=this.table.getCellByModelIndex(t,d),this.topRightCell=this.table.getCellByModelIndex(h,d),this.bottomLeftCell=this.table.getCellByModelIndex(t,u),this.bottomRightCell=this.table.getCellByModelIndex(h,u),(this.topLeftCell||this.topRightCell||this.bottomLeftCell||this.bottomRightCell)&&(Zt(this,{r:this.topRightCell||this.bottomRightCell?this.borderWidth:0,b:this.bottomRightCell||this.bottomLeftCell?this.borderWidth:0,l:this.topLeftCell||this.bottomLeftCell?this.borderWidth:0,t:this.topRightCell||this.topLeftCell?this.borderWidth:0}),e=this.topLeftCell||this.topRightCell?Ht(this.topLeftCell||this.topRightCell,this.table).top:Ht(this.table.getCellByGridIndex(0,c.freezeTop),this.table).top,n=(this.bottomRightCell||this.bottomLeftCell?Ht(this.bottomRightCell||this.bottomLeftCell,this.table).top-e+(this.bottomRightCell||this.bottomLeftCell).offsetHeight:u<=this.table.rowOffset?Ht(this.table.getCellByGridIndex(0,c.freezeTop),this.table).top-e:this.table.offsetHeight-e)+1,i=this.topLeftCell||this.bottomLeftCell?Ht(this.topLeftCell||this.bottomLeftCell,this.table).left:Ht(this.table.getCellByGridIndex(c.freezeLeft,0),this.table).left,o=(this.topRightCell||this.bottomRightCell?Ht(this.topRightCell||this.bottomRightCell,this.table).left-i+(this.topRightCell||this.bottomRightCell).offsetWidth:h<=this.table.colOffset?Ht(this.table.getCellByGridIndex(c.freezeLeft,0),this.table).left-i:this.table.offsetWidth-i)+1,this.activeCellRange&&(this.activeCell=this.table.getCellByModelIndex(t+this.activeCellRange.c1,d+this.activeCellRange.r1),this.activeCell))){const t=Ht(this.activeCell,this.table);s=t.left-i,r=t.top-e,a=this.activeCell.offsetWidth,l=this.activeCell.offsetHeight}}jt(this,{l:i*t,t:e*t}),Dt(this,{w:o,h:n}),this.subselectorElm&&(this.activeCellRange?(jt(this.subselectorElm,{l:s-mx.SELECTOR_BORDER_WIDTH,t:r-mx.SELECTOR_BORDER_WIDTH}),Dt(this.subselectorElm,{w:a-1,h:l-1})):kt(this.subselectorElm)),this.svgAnimation&&(this.svgAnimation.setAttribute("width",(this.clientWidth+4).toString()),this.svgAnimation.setAttribute("height",(this.clientHeight+4).toString()))}};Tk.styles=[Rk],Ik([ps({type:Boolean})],Tk.prototype,"autofill",void 0),Ik([ps({type:Boolean,reflect:!0})],Tk.prototype,"movable",void 0),Ik([ps({type:Boolean,reflect:!0})],Tk.prototype,"resizable",void 0),Ik([ps({type:Boolean,reflect:!0})],Tk.prototype,"subselector",void 0),Ik([ps({type:String})],Tk.prototype,"color",void 0),Ik([ps({type:Number})],Tk.prototype,"borderWidth",void 0),Ik([ps({type:Boolean,reflect:!0})],Tk.prototype,"animated",void 0),Ik([ps({type:Object})],Tk.prototype,"selection",void 0),Ik([ps({type:Object})],Tk.prototype,"activeCellRange",void 0),Ik([ps({type:Object})],Tk.prototype,"grid",void 0),Ik([fs("#handle")],Tk.prototype,"handleElm",void 0),Ik([fs("#svgAnimation")],Tk.prototype,"svgAnimation",void 0),Ik([fs("#handle-left")],Tk.prototype,"moveHandleLeftElm",void 0),Ik([fs("#handle-top")],Tk.prototype,"moveHandleTopElm",void 0),Ik([fs("#handle-right")],Tk.prototype,"moveHandleRightElm",void 0),Ik([fs("#handle-bottom")],Tk.prototype,"moveHandleBottomElm",void 0),Ik([fs("#subselector")],Tk.prototype,"subselectorElm",void 0),Tk=Ik([hs("og-selector")],Tk);var Ak=function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};let Ok=class extends ls{createSVGElement(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}renderLines(t,e){let i=[];t.forEach(((o,n)=>{if(o&&i.push(o),(!o||t.length==n+1)&&i.length>0){const t=this.createSVGElement("polyline");t.setAttribute("points",i.map((t=>t.join(","))).join(" ")),t.setAttribute("stroke",`#${e.style.color}`),t.setAttribute("stroke-width","2"),this.svg.appendChild(t),i=[]}})),e.marker&&t.forEach((t=>{if(t){const i=this.createSVGElement("circle");i.setAttribute("r","3"),i.setAttribute("fill",`#${e.marker.color}`),i.setAttribute("cx",t[0].toString()),i.setAttribute("cy",t[1].toString()),this.svg.appendChild(i)}}))}renderColumns(t,e){const i=(this.clientWidth-2*mx.SPARKLINE_GAP)/t.length-mx.SPARKLINE_GAP;t.forEach((t=>{if(t&&i>0){const o=this.createSVGElement("rect");o.setAttribute("width",i.toString()),o.setAttribute("height",(this.clientHeight-t[1]).toString()),o.setAttribute("fill",`#${e.style.color}`),o.setAttribute("x",(t[0]-i/2).toString()),o.setAttribute("y",t[1].toString()),this.svg.appendChild(o)}}))}renderSparkline(){if(this.cell&&this.cell.hasSparkline){const t=this.cell.address,e=this.cell.model.sparklines,i=e.getValues(t),[o,n]=e.getExtremes(t);if(null!=n){const r=(this.clientWidth-2*mx.SPARKLINE_GAP)/i.length,s=n-o,a=[];let l,c;this.svg=this.createSVGElement("svg"),this.svg.setAttribute("width",this.clientWidth.toString()),this.svg.setAttribute("height",this.clientHeight.toString()),this.shadowRoot.appendChild(this.svg),i.forEach(((t,e)=>{null==t||isNaN(t)?a.push(null):(l=mx.SPARKLINE_GAP+e*r+r/2,c=(this.clientHeight-2*mx.SPARKLINE_GAP)*(n-t)/s+mx.SPARKLINE_GAP,a.push([l,c]))}));const h=e.groups.get(e.get(t)[0]);"line"==h.type?this.renderLines(a,h):this.renderColumns(a,h)}}}updated(){this.shadowRoot.innerHTML="",this.timeout&&window.clearInterval(this.timeout),this.timeout=window.setTimeout((()=>{this.renderSparkline(),this.timeout=null}),1)}};Ok.styles=or`
|
|
3692
3693
|
:host {
|
|
3693
3694
|
display: block;
|
|
3694
3695
|
z-index: 0;
|
|
@@ -3824,7 +3825,7 @@
|
|
|
3824
3825
|
<og-button
|
|
3825
3826
|
@pointermove="${t=>t.stopPropagation()}"
|
|
3826
3827
|
@pointerdown="${t=>t.stopPropagation()}"
|
|
3827
|
-
@click="${i=>function(t,e,i,o){t.stopPropagation(),e.selecting.select(i.range),e.dispatchEvent(new
|
|
3828
|
+
@click="${i=>function(t,e,i,o){t.stopPropagation(),e.selecting.select(i.range),e.dispatchEvent(new Lx("action",{grid:e,cell:i,action:o.action}))}(i,o,e,t)}"
|
|
3828
3829
|
@mouseenter="${()=>function(t,e){e.title?(t.tooltip.content=e.title,t.tooltip.attachToCursor()):Fk(t)}(o,t)}"
|
|
3829
3830
|
@mouseout="${()=>Fk(o)}"
|
|
3830
3831
|
icon="${t.icon}"
|
|
@@ -3832,7 +3833,7 @@
|
|
|
3832
3833
|
</og-button>
|
|
3833
3834
|
`))}
|
|
3834
3835
|
</div>
|
|
3835
|
-
`,t),Bk.call(this,t,e)},h:function(t,e,i){return t.innerHTML=e.value,Bk.call(this,t,e,i)}};function Qk(t){return t.renderer||Xk[t.type]||Zk}class Kk extends cd{getCells(t){return null}getStyles(){return null}getRules(){return null}getComments(){return null}getSparklines(){return null}getOptions(){return null}}function Jk(t,e){const i=ce(),o=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??i.weekStartsOn??i.locale?.options?.weekStartsOn??0,n=re(t),r=n.getDay(),s=6+(r<o?-7:0)-(r-o);return n.setDate(n.getDate()+s),n.setHours(23,59,59,999),n}const tC={minDate:new Date(1900,0,1,0,0,0),maxDate:new Date(2100,11,31,0,0,0),weekStart:1,todayButton:!0,controlsPosition:"top"};function eC(t,e=null){const i={...Fn(t,e),...tC,...e,...t};return i.minDate=gi(i.minDate,{weekStartsOn:i.weekStart}),i.maxDate=Jk(i.maxDate,{weekStartsOn:i.weekStart}),i}function iC(t,e){const i=re(t.start),o=re(t.end);let n=+i>+o;const r=n?+i:+o,s=n?o:i;s.setHours(0,0,0,0);let a=e?.step??1;if(!a)return[];a<0&&(a=-a,n=!n);const l=[];for(;+s<=r;)l.push(re(s)),s.setDate(s.getDate()+a),s.setHours(0,0,0,0);return n?l.reverse():l}function oC(t){return Math.ceil(Ji(t.maxDate,t.minDate)/7)}function nC(t,e,i){return sf(i.minDate,{days:7*t+e})}function rC(t,e){return{row:Math.floor(Ji(t,e.minDate)/7),column:Ji(t,e.minDate)%7}}const sC=t=>(t=>null!=t?._$litType$?.h)(t)?t._$litType$.h:t.strings,aC=Hs(class extends Ts{constructor(t){super(t),this.et=new WeakMap}render(t){return[t]}update(t,[e]){const i=Ss(this.it)?sC(this.it):null,o=Ss(e)?sC(e):null;if(null!==i&&(null===o||i!==o)){const e=
|
|
3836
|
+
`,t),Bk.call(this,t,e)},h:function(t,e,i){return t.innerHTML=e.value,Bk.call(this,t,e,i)}};function Qk(t){return t.renderer||Xk[t.type]||Zk}class Kk extends cd{getCells(t){return null}getStyles(){return null}getRules(){return null}getComments(){return null}getSparklines(){return null}getOptions(){return null}}function Jk(t,e){const i=ce(),o=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??i.weekStartsOn??i.locale?.options?.weekStartsOn??0,n=re(t),r=n.getDay(),s=6+(r<o?-7:0)-(r-o);return n.setDate(n.getDate()+s),n.setHours(23,59,59,999),n}const tC={minDate:new Date(1900,0,1,0,0,0),maxDate:new Date(2100,11,31,0,0,0),weekStart:1,todayButton:!0,controlsPosition:"top"};function eC(t,e=null){const i={...Fn(t,e),...tC,...e,...t};return i.minDate=gi(i.minDate,{weekStartsOn:i.weekStart}),i.maxDate=Jk(i.maxDate,{weekStartsOn:i.weekStart}),i}function iC(t,e){const i=re(t.start),o=re(t.end);let n=+i>+o;const r=n?+i:+o,s=n?o:i;s.setHours(0,0,0,0);let a=e?.step??1;if(!a)return[];a<0&&(a=-a,n=!n);const l=[];for(;+s<=r;)l.push(re(s)),s.setDate(s.getDate()+a),s.setHours(0,0,0,0);return n?l.reverse():l}function oC(t){return Math.ceil(Ji(t.maxDate,t.minDate)/7)}function nC(t,e,i){return sf(i.minDate,{days:7*t+e})}function rC(t,e){return{row:Math.floor(Ji(t,e.minDate)/7),column:Ji(t,e.minDate)%7}}const sC=t=>(t=>null!=t?._$litType$?.h)(t)?t._$litType$.h:t.strings,aC=Hs(class extends Ts{constructor(t){super(t),this.et=new WeakMap}render(t){return[t]}update(t,[e]){const i=Ss(this.it)?sC(this.it):null,o=Ss(e)?sC(e):null;if(null!==i&&(null===o||i!==o)){const e=Ls(t).pop();let o=this.et.get(i);if(void 0===o){const t=document.createDocumentFragment();o=as(Ur,t),o.setConnected(!1),this.et.set(i,o)}Is(o,[e]),zs(o,void 0,e)}if(null!==o){if(null===i||i!==o){const e=this.et.get(o);if(void 0!==e){const i=Ls(e).pop();(t=>{t._$AR()})(t),zs(t,void 0,i),Is(t,[i])}}this.it=e}else this.it=void 0;return this.render(e)}});var lC,cC,hC,dC,uC,pC,gC,mC,fC,vC,bC,yC,wC,xC,kC=function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s},CC=function(t,e,i,o){if("a"===i&&!o)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!o:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?o:"a"===i?o.call(t):o?o.value:e.get(t)},MC=function(t,e,i,o,n){if("m"===o)throw new TypeError("Private method is not writable");if("a"===o&&!n)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!n:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===o?n.call(t,i):n?n.value=i:e.set(t,i),i};let _C=class extends ud{constructor(){super(...arguments),lC.add(this),this.date=se(new Date),this.year=(new Date).getFullYear(),this.month=(new Date).getMonth()+1,cC.set(this,void 0),hC.set(this,(()=>this.dispatchEvent(new On({value:this.date})))),dC.set(this,(()=>this.body.clientWidth/7)),uC.set(this,(()=>(this.body.clientHeight-Uf.HEADER_HEIGHT)/6)),pC.set(this,void 0),gC.set(this,!1),mC.set(this,void 0),fC.set(this,((t,e)=>{const i=nC(e.r,e.c,this.options);return t.innerHTML=qi(i,"d"),t.style.lineHeight=$t(e.row.height),t.style.textAlign="center",null==CC(this,mC,"f")&&(MC(this,mC,(i.getMonth()+(i.getDate()<10?0:1))%12,"f"),this.month=CC(this,mC,"f")+1,this.year=i.getFullYear()),CC(this,mC,"f")==i.getMonth()?t.style.backgroundColor="initial":t.style.backgroundColor="var(--og-background-color-3)",t})),yC.set(this,(t=>{t.selection.activeCell&&this.updateDate(nC(t.selection.range.r1,t.selection.range.c1,this.options))})),wC.set(this,(()=>MC(this,mC,null,"f"))),xC.set(this,(async()=>{this.month=this.monthDropdown.value,this.year=this.yearDropdown.value,await this.updateComplete,this.gotoCurrentSelection()})),this.renderControls=()=>Br`
|
|
3836
3837
|
<div class="header">
|
|
3837
3838
|
${this.date?Br`
|
|
3838
3839
|
<og-button
|
|
@@ -3951,7 +3952,7 @@
|
|
|
3951
3952
|
#content {
|
|
3952
3953
|
display: flex;
|
|
3953
3954
|
}
|
|
3954
|
-
`;var EC,zC,RC=function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s},
|
|
3955
|
+
`;var EC,zC,RC=function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s},IC=function(t,e,i,o){if("a"===i&&!o)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!o:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?o:"a"===i?o.call(t):o?o.value:e.get(t)},LC=function(t,e,i,o,n){if("m"===o)throw new TypeError("Private method is not writable");if("a"===o&&!n)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!n:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===o?n.call(t,i):n?n.value=i:e.set(t,i),i};let HC=class extends Hd{constructor(){super(...arguments),this.calendarOptions=eC({controlsPosition:"bottom"}),this.buttonInput=!1,EC.set(this,void 0),this.cross=!1,zC.set(this,void 0),this._onInputFocus=()=>{this.open()},this._onInputBlur=()=>{const t=this.parseDate(this.input.value);null==t&&(this.input.value=""),t?.getTime()!==IC(this,EC,"f")?.getTime()&&(LC(this,EC,t,"f"),this.dispatchEvent(new On({value:this.value})))},this._onInput=()=>{const t=this.parseDate(this.input.value);t&&(IC(this,zC,"f").date=t)},this._onInputKeydown=t=>{"Enter"===t.key&&(this.input.blur(),this.close())},this.render=()=>Br`
|
|
3955
3956
|
${this.buttonInput?Br`
|
|
3956
3957
|
<og-input
|
|
3957
3958
|
@keydown="${this._onInputKeydown}"
|
|
@@ -3983,7 +3984,7 @@
|
|
|
3983
3984
|
`:""}
|
|
3984
3985
|
|
|
3985
3986
|
${this.renderDropdown()}
|
|
3986
|
-
`}get value(){return
|
|
3987
|
+
`}get value(){return IC(this,EC,"f")}set value(t){LC(this,EC,t,"f"),IC(this,zC,"f")&&(IC(this,zC,"f").date=t,this.requestUpdate())}get hasCrossButton(){return this.cross&&null!=IC(this,EC,"f")}get calendar(){return IC(this,zC,"f")||(LC(this,zC,yt("og-calendar"),"f"),IC(this,zC,"f").date=IC(this,EC,"f"),IC(this,zC,"f").options=this.calendarOptions,IC(this,zC,"f").slot="inner-content",IC(this,zC,"f").addEventListener("change",(t=>{LC(this,EC,t.value,"f"),this.dispatchEvent(new On({value:t.value})),this.requestUpdate()}))),IC(this,zC,"f")}async open(t=null){null!=t&&(this.input.value=t),await super.open(),this.calendar.parentElement!=this.dropdown&&this.dropdown.appendChild(this.calendar),this.layout()}clearValue(t=!0){this.value=null,this.close(),t&&this.dispatchEvent(new On({value:null}))}parseDate(t){return Oo(t,this.calendarOptions.locale)}layout(){super.layout(),this.calendar?.layout()}};EC=new WeakMap,zC=new WeakMap,HC.styles=[...Hd.styles,SC],RC([ps({type:Object})],HC.prototype,"calendarOptions",void 0),RC([ps({type:Boolean})],HC.prototype,"buttonInput",void 0),RC([ps({type:Object,noAccessor:!0})],HC.prototype,"value",null),RC([ps({type:Boolean,reflect:!0})],HC.prototype,"cross",void 0),RC([fs("og-input")],HC.prototype,"input",void 0),HC=RC([hs("og-calendar-dropdown")],HC);const TC=Symbol.for(""),AC=t=>{if(t?.r===TC)return t?._$litStatic$},OC=(t,...e)=>({_$litStatic$:e.reduce(((e,i,o)=>e+(t=>{if(void 0!==t._$litStatic$)return t._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${t}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(i)+t[o+1]),t[0]),r:TC}),$C=new Map,DC=t=>(e,...i)=>{const o=i.length;let n,r;const s=[],a=[];let l,c=0,h=!1;for(;c<o;){for(l=e[c];c<o&&void 0!==(r=i[c],n=AC(r));)l+=n+e[++c],h=!0;c!==o&&a.push(r),s.push(l),c++}if(c===o&&s.push(e[o]),h){const t=s.join("$$lit$$");void 0===(e=$C.get(t))&&(s.raw=s,$C.set(t,e=s)),i=a}return t(e,...i)},NC=DC(Br);var PC;DC(Fr),function(t){t.TextInput="text",t.Button="button",t.NumericInput="number",t.DateInput="date",t.CalendarDateInput="calendar",t.Checkbox="checkbox",t.Label="label",t.List="list",t.ColorInput="color",t.FileInput="file"}(PC||(PC={}));class jC{constructor(t){this.props=t,this.dependencies=[],this.errors=[]}get key(){return this.props.key}}class VC{get rowCount(){return this._rowCount}get colCount(){return this._colCount}get(t){return this.controlMap.get(t)}constructor(t){this._rowCount=0,this._colCount=0,this.controlMap=new Map,this.populate(t)}populate(t){this.options=t.options??{},this.controlMap.clear(),this.controls=[],this.rows=t.rows||[],this.columns=t.columns||[],this._rowCount=this.rows.length,this._colCount=this.columns.length,t.controls.forEach((t=>{this._rowCount=Math.max(this._rowCount,t.row+1),this._colCount=Math.max(this._colCount,t.col+1),this._rowCount>this.rows.length&&this.rows.push({}),this._colCount>this.columns.length&&this.columns.push({}),t.key=t.key??(t.row*this._colCount+t.col).toString(),this.controlMap.set(t.key,new jC(t))})),this.controls=[...Array(this.rowCount)].map((()=>Array(this.colCount))),this.controlMap.forEach((t=>{this.controls[t.props.row][t.props.col]=t,t.props.dependsOn&&this.controlMap.get(t.props.dependsOn).dependencies.push(t),t.props.for&&this.controlMap.get(t.props.for)?.props.required&&(t.props.required=!0)}))}}const BC=or`
|
|
3987
3988
|
:host {
|
|
3988
3989
|
display: block;
|
|
3989
3990
|
background-color: var(--og-form-background-color);
|
|
@@ -4305,7 +4306,7 @@
|
|
|
4305
4306
|
}
|
|
4306
4307
|
*/
|
|
4307
4308
|
|
|
4308
|
-
`],pM=function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s}([hs("og-form-label")],pM);var gM=function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};let mM=class extends iM{constructor(){super(...arguments),this._firstOpen=!0,this._onChange=t=>{const e=t.component.selection.serialize();this.dropdown.tree.options.selectMode==
|
|
4309
|
+
`],pM=function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s}([hs("og-form-label")],pM);var gM=function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};let mM=class extends iM{constructor(){super(...arguments),this._firstOpen=!0,this._onChange=t=>{const e=t.component.selection.serialize();this.dropdown.tree.options.selectMode==Im.Single?this.updateValue(e.length>0?e[0][0]:null,!0):this.updateValue(e,!0)},this._onDropdownOpen=()=>{this._firstOpen?this._firstOpen=!1:this.adapter?.attach(this.dropdown.tree)},this.render=()=>Br`
|
|
4309
4310
|
<og-tree-dropdown
|
|
4310
4311
|
@change="${this._onChange}"
|
|
4311
4312
|
@dropdown.open="${this._onDropdownOpen}"
|
|
@@ -4315,12 +4316,12 @@
|
|
|
4315
4316
|
.caption="${this.model.props.caption}"
|
|
4316
4317
|
.placeholder="${this.model.props.placeholder}">
|
|
4317
4318
|
</og-tree-dropdown>
|
|
4318
|
-
`}get isValid(){return!0}formatValue(t){return Array.isArray(t)?t:null==t?null:[[t,0,1]]}reset(){super.reset(),this.dropdown&&(this.dropdown.value=null,this.dropdown.value=this.formatValue(this.model.props.value))}getAdapter(){return this.adapter??this.formModel.options?.treeAdapter}async willUpdate(){if(this.value){const t=this.getAdapter();if(t){const[e]=await Promise.all([t.getOptions()]);e&&e.selectMode==
|
|
4319
|
+
`}get isValid(){return!0}formatValue(t){return Array.isArray(t)?t:null==t?null:[[t,0,1]]}reset(){super.reset(),this.dropdown&&(this.dropdown.value=null,this.dropdown.value=this.formatValue(this.model.props.value))}getAdapter(){return this.adapter??this.formModel.options?.treeAdapter}async willUpdate(){if(this.value){const t=this.getAdapter();if(t){const[e]=await Promise.all([t.getOptions()]);e&&e.selectMode==Im.Single&&this.updateValue(Array.isArray(this.value)&&this.value.length>0?this.value[0][0]:this.value)}}}async updated(){if(this.model.props.content){const t=this.model.props.content;this.dropdown.setSourceData(t.sourceData,t.options)}}};gM([fs("og-tree-dropdown")],mM.prototype,"dropdown",void 0),mM=gM([hs("og-form-list")],mM);var fM=function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};let vM=class extends Ma{constructor(){super(),this.value=null,this.addEventListener("click",(()=>{this.updateValue(this.value)}))}updateValue(t,e=!0){this.model&&(this.value=t,this.validate(),e&&this.dispatchEvent(new eM("change",this.model,t)))}willUpdate(t){t.has("model")&&(null===this.value&&(this.value=this.model.props.value),this.model.props.options&&Object.assign(this,this.model.props.options)),"toggle"==this.type&&null==this.state&&(this.state="unchecked"),this.icon&&(Z(this.icon)?this.buttonIcon=this.icon:this.icon?this.buttonIcon={icon:this.icon}:this.buttonIcon=null),this.text=this.value}reset(){this.updateValue(this.model.props.value)}validate(){this.model.errors=[]}get isValid(){return 0===this.model.errors.length}};vM.styles=[...Ma.styles,or`
|
|
4319
4320
|
:host {
|
|
4320
4321
|
width: 100%;
|
|
4321
4322
|
text-align: center;
|
|
4322
4323
|
}
|
|
4323
|
-
`],fM([ps({type:Object})],vM.prototype,"model",void 0),fM([ps({type:Object})],vM.prototype,"adapter",void 0),fM([ps({type:String})],vM.prototype,"value",void 0),vM=fM([hs("og-form-button"),ma({props:["color","border","background"]})],vM);var bM=function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};const yM={type:PC.List,value:[],content:{sourceData:[{k:!0,v:"Visible",icon:"eye"},{k:!1,v:"Hidden",icon:"eye-slash"}],options:{allowEmpty:!1,checkboxes:!1,selectMode:
|
|
4324
|
+
`],fM([ps({type:Object})],vM.prototype,"model",void 0),fM([ps({type:Object})],vM.prototype,"adapter",void 0),fM([ps({type:String})],vM.prototype,"value",void 0),vM=fM([hs("og-form-button"),ma({props:["color","border","background"]})],vM);var bM=function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};const yM={type:PC.List,value:[],content:{sourceData:[{k:!0,v:"Visible",icon:"eye"},{k:!1,v:"Hidden",icon:"eye-slash"}],options:{allowEmpty:!1,checkboxes:!1,selectMode:Im.Single,autoClose:!0}}},wM=[{caption:"Sheet Settings",controls:[{row:0,col:0,type:PC.Label,value:"Name"},{row:0,col:1,type:PC.TextInput,key:"name",pattern:Xf},{row:1,col:0,type:PC.Label,value:"Sheet"},Object.assign({row:1,col:1,key:"visible"},yM),{row:2,col:0,type:PC.Label,value:"Color"},{row:2,col:1,type:PC.ColorInput,key:"color"},{row:3,col:0,type:PC.Label,value:"Grid"},Object.assign({row:3,col:1,key:"grid"},yM),{row:4,col:0,type:PC.Label,value:"Row numbers"},Object.assign({row:4,col:1,key:"rowNumbers"},yM),{row:5,col:0,type:PC.Label,value:"Column letters"},Object.assign({row:5,col:1,key:"colLetters"},yM)],columns:[{width:120},{width:null}]},{caption:"Workbook Settings",controls:[{row:0,col:0,type:PC.Label,value:"Hidden Sheets"},Object.assign({row:0,col:1,key:"hiddenSheetsVisible"},yM)],columns:[{width:120},{width:null}]}];let xM=class extends JC{connectedCallback(){super.connectedCallback(),this.setSourceData(wM)}firstUpdated(){this.addEventListener("form.change",(t=>{if(!t.valid)return;const e=this.forms[0].values,i=this.forms[1].values,o=this.model;if(o.options.grid=e.grid,o.options.rowNumbers=e.rowNumbers,o.options.colLetters=e.colLetters,o.name!=e.name)try{this.group.renameSheet(o.name,e.name)}catch(t){setTimeout((()=>this.forms[0].setValue("name",o.name)),100)}o.tab=o.tab||{},o.tab.color=e.color,o.tab.hidden=!e.visible,this.group.options.showHiddenTabs=!!i.hiddenSheetsVisible,this.group.updateTabs(),this.grid?.table.refresh()}))}async updated(){await this.forms[0].updateComplete,await this.forms[1].updateComplete,this.forms[0].values=this.model?{name:this.model.name,color:this.model.tab?.color,visible:!this.model.tab?.hidden,grid:this.model.options.grid,rowNumbers:this.model.options.rowNumbers,colLetters:this.model.options.colLetters}:{},this.forms[1].values=this.model?{hiddenSheetsVisible:!!this.group.options.showHiddenTabs}:{}}};xM.styles=[...JC.styles],bM([ps({type:Object})],xM.prototype,"model",void 0),bM([ps({type:Object})],xM.prototype,"grid",void 0),bM([ps({type:Object})],xM.prototype,"group",void 0),xM=bM([hs("og-editor-form-config")],xM);const kM=or`
|
|
4324
4325
|
:host {
|
|
4325
4326
|
box-sizing: border-box;
|
|
4326
4327
|
display: flex;
|
|
@@ -4427,7 +4428,7 @@
|
|
|
4427
4428
|
width: 200px;
|
|
4428
4429
|
height: 100%;
|
|
4429
4430
|
}
|
|
4430
|
-
`],zM([ps({type:Object})],RM.prototype,"group",void 0),zM([fs("og-slider")],RM.prototype,"slider",void 0),RM=zM([hs("og-editor-zoom")],RM);const
|
|
4431
|
+
`],zM([ps({type:Object})],RM.prototype,"group",void 0),zM([fs("og-slider")],RM.prototype,"slider",void 0),RM=zM([hs("og-editor-zoom")],RM);const IM=or`
|
|
4431
4432
|
* {
|
|
4432
4433
|
box-sizing: border-box;
|
|
4433
4434
|
}
|
|
@@ -4472,7 +4473,7 @@
|
|
|
4472
4473
|
display: block;
|
|
4473
4474
|
padding: 0;
|
|
4474
4475
|
}
|
|
4475
|
-
`;var
|
|
4476
|
+
`;var LM=function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};let HM=class extends ls{constructor(){super(...arguments),this.isInputActive=!1,this._onGridSelectorUpdate=t=>{if(!this.isInputActive)return;if(null==t.selector?.index)return;const e=t.selector.selection.clone();t.selector.grid!=this.grid&&(e.sheet=t.selector.grid.model.name),this.formulaInput.setRange(e,t.selector.index)},this._onGridSelect=t=>{if(t.grid.editing.isFormulaMode){if(!this.isInputActive)return;const e=t.selection.range.clone();t.grid!=this.grid&&(e.sheet=t.grid.model.name),this.formulaInput.setRange(e)}else t.selection.range.isCell?this.gridElement=t.grid.selecting.activeCell:t.selection.range.isColumn?this.gridElement=t.grid.selecting.activeCell.column:t.selection.range.isRow&&(this.gridElement=t.grid.selecting.activeCell.row),this.formulaInput&&(this.formulaInput.value=this.gridElementValue)},this._onInputPreview=t=>{this.grid.selecting.removeFormulaHighlight(),t.formula&&this.grid.selecting.highlightFormula(t.formula)},this._onInputCommit=()=>{this.commit()},this._onInputDiscard=()=>{this.formulaInput.isDiscarded||this.commit(),this.grid.editing.endFormulaMode(),this.grid.focus(),this.isInputActive=!1,this.formulaInput.value=(this.gridElement?this.gridElement.value2??"":"").toString()},this._onAddressFocus=()=>{const t=this.grid?.selection.range,e=this.gridElement?.name;this.addressInput.selectionStart=e?t.A1.length+2:0,this.addressInput.selectionEnd=e?this.addressInput.selectionStart+e.length:t.A1.length},this._onInputFocus=()=>{this.isInputActive=!0,zv(this.formulaInput.inputValue)&&this.grid.editing.startFormulaMode()},this._onInput=()=>{zv(this.formulaInput.inputValue)&&this.grid.editing.startFormulaMode()},this.render=()=>{const t=this.grid?.selection.range;return Br`
|
|
4476
4477
|
<div id="address">
|
|
4477
4478
|
<input id="addressInput"
|
|
4478
4479
|
type="text"
|
|
@@ -4490,7 +4491,7 @@
|
|
|
4490
4491
|
@formula.commit="${this._onInputCommit}"
|
|
4491
4492
|
@formula.discard="${this._onInputDiscard}">
|
|
4492
4493
|
</og-grid-formula>
|
|
4493
|
-
`}}get gridElementValue(){return(this.gridElement?.value2??"").toString()}willUpdate(t){if(t.has("grid")&&this.grid){const t=this.grid.group?this.grid.group:this.grid;t.removeEventListener("grid.selector.resize",this._onGridSelectorUpdate),t.removeEventListener("grid.selector.move",this._onGridSelectorUpdate),t.removeEventListener("grid.select",this._onGridSelect),t.addEventListener("grid.selector.resize",this._onGridSelectorUpdate),t.addEventListener("grid.selector.move",this._onGridSelectorUpdate),t.addEventListener("grid.select",this._onGridSelect)}}commit(){if(this.formulaInput.isDiscarded)return;const t=this.gridElement,e=this.formulaInput.value;t instanceof cw?(t.value=e,this.grid.rendering.updateCell(t,!0)):t&&zv(e)?(t.formula=e,this.grid.rendering.calculateViewport(!0),this.grid.rendering.render(!1)):t&&(t.formula=null,this.grid.rendering.calculateViewport(!0),this.grid.rendering.render(!1)),this.grid.editing.endFormulaMode(),this.grid.focus(),this.isInputActive=!1}};HM.styles=[
|
|
4494
|
+
`}}get gridElementValue(){return(this.gridElement?.value2??"").toString()}willUpdate(t){if(t.has("grid")&&this.grid){const t=this.grid.group?this.grid.group:this.grid;t.removeEventListener("grid.selector.resize",this._onGridSelectorUpdate),t.removeEventListener("grid.selector.move",this._onGridSelectorUpdate),t.removeEventListener("grid.select",this._onGridSelect),t.addEventListener("grid.selector.resize",this._onGridSelectorUpdate),t.addEventListener("grid.selector.move",this._onGridSelectorUpdate),t.addEventListener("grid.select",this._onGridSelect)}}commit(){if(this.formulaInput.isDiscarded)return;const t=this.gridElement,e=this.formulaInput.value;t instanceof cw?(t.value=e,this.grid.rendering.updateCell(t,!0)):t&&zv(e)?(t.formula=e,this.grid.rendering.calculateViewport(!0),this.grid.rendering.render(!1)):t&&(t.formula=null,this.grid.rendering.calculateViewport(!0),this.grid.rendering.render(!1)),this.grid.editing.endFormulaMode(),this.grid.focus(),this.isInputActive=!1}};HM.styles=[IM],LM([ps({type:Object})],HM.prototype,"grid",void 0),LM([gs()],HM.prototype,"gridElement",void 0),LM([fs("#addressInput")],HM.prototype,"addressInput",void 0),LM([fs("#formulaInput")],HM.prototype,"formulaInput",void 0),HM=LM([hs("og-editor-formula")],HM);var TM=function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};let AM=class extends ls{constructor(){super(...arguments),this.stats=[],this.render=()=>Br`
|
|
4494
4495
|
${ys(this.stats,(t=>Br`
|
|
4495
4496
|
<div class="item">
|
|
4496
4497
|
<span>${t[0]}</span>: <span>${t[1]}</span>
|
|
@@ -5288,9 +5289,9 @@
|
|
|
5288
5289
|
`:""}
|
|
5289
5290
|
`,this.render=()=>((t,e,i)=>{for(const i of e)if(i[0]===t)return(0,i[1])()})(this.format?.type,[["formula",this.renderFormulaForm],["scale",this.renderScaleForm],["bar",this.renderBarForm],["icon",this.renderIconForm]])}updateFormat(){if(!this.format)return;let t=!1;this.conditionInput?this.format.condition=this.conditionInput.value:this.format.condition=null,this.styleForm?this.format.style=this.styleForm.data:this.format.style=null,this.cminColorInput?(this.format.cmin=this.format.cmin??{},this.format.cmin.t="min",this.format.cmin.color=En(this.cminColorInput.value)):this.format.cmin=null,this.cmidColorInput?(this.format.cmid=this.format.cmid??{},this.format.cmid.color=En(this.cmidColorInput.value)):this.format.cmid=null,this.cmaxColorInput?(this.format.cmax=this.format.cmax??{},this.format.cmax.t="max",this.format.cmax.color=En(this.cmaxColorInput.value)):this.format.cmax=null,this.colorInput?this.format.color=En(this.colorInput.value):this.format.color=null,this.iconList?(this.format.v!=this.iconList.value&&(t=!0),this.format.v=this.iconList.value):this.format.v=null,this.thresholds?this.format.thresh=Array.from(this.thresholds).map((t=>t.value)):this.format.thresh=null,this.cmin?this.format.cmin=this.cmin.value:this.format.cmin=null,this.cmid?this.format.cmid=this.cmid.value:this.format.cmid=null,this.cmax?this.format.cmax=this.cmax.value:this.format.cmax=null,t&&this.requestUpdate()}};R_.styles=[ud.styles,or`
|
|
5290
5291
|
|
|
5291
|
-
`],z_([ps({type:Object})],R_.prototype,"format",void 0),z_([fs("og-input#ranges")],R_.prototype,"rangesInput",void 0),z_([fs("og-input#condition")],R_.prototype,"conditionInput",void 0),z_([fs("og-dropdown-colorpicker#cminColor")],R_.prototype,"cminColorInput",void 0),z_([fs("og-dropdown-colorpicker#cmidColor")],R_.prototype,"cmidColorInput",void 0),z_([fs("og-dropdown-colorpicker#cmaxColor")],R_.prototype,"cmaxColorInput",void 0),z_([fs("og-dropdown-colorpicker#color")],R_.prototype,"colorInput",void 0),z_([fs("og-dropdown-list#icons")],R_.prototype,"iconList",void 0),z_([fs("og-editor-styleeditor#style")],R_.prototype,"styleForm",void 0),z_([bs("og-editor-rule-threshold.threshold")],R_.prototype,"thresholds",void 0),z_([fs("og-editor-rule-threshold#cmin")],R_.prototype,"cmin",void 0),z_([fs("og-editor-rule-threshold#cmid")],R_.prototype,"cmid",void 0),z_([fs("og-editor-rule-threshold#cmax")],R_.prototype,"cmax",void 0),R_=z_([hs("og-editor-ruleeditor")],R_);var
|
|
5292
|
+
`],z_([ps({type:Object})],R_.prototype,"format",void 0),z_([fs("og-input#ranges")],R_.prototype,"rangesInput",void 0),z_([fs("og-input#condition")],R_.prototype,"conditionInput",void 0),z_([fs("og-dropdown-colorpicker#cminColor")],R_.prototype,"cminColorInput",void 0),z_([fs("og-dropdown-colorpicker#cmidColor")],R_.prototype,"cmidColorInput",void 0),z_([fs("og-dropdown-colorpicker#cmaxColor")],R_.prototype,"cmaxColorInput",void 0),z_([fs("og-dropdown-colorpicker#color")],R_.prototype,"colorInput",void 0),z_([fs("og-dropdown-list#icons")],R_.prototype,"iconList",void 0),z_([fs("og-editor-styleeditor#style")],R_.prototype,"styleForm",void 0),z_([bs("og-editor-rule-threshold.threshold")],R_.prototype,"thresholds",void 0),z_([fs("og-editor-rule-threshold#cmin")],R_.prototype,"cmin",void 0),z_([fs("og-editor-rule-threshold#cmid")],R_.prototype,"cmid",void 0),z_([fs("og-editor-rule-threshold#cmax")],R_.prototype,"cmax",void 0),R_=z_([hs("og-editor-ruleeditor")],R_);var I_=function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};const L_=[{type:"togglebutton",id:"bold",icon:{icon:"bold"}},{type:"togglebutton",id:"italic",icon:{icon:"italic"}},{type:"togglebutton",id:"underline",icon:{icon:"underline"}},{type:"text",id:"sz",width:40,items:[8,9,10,11,12,14,16,18,20,22,24,26].map((t=>({k:t.toString(),v:t.toString()}))),placeholder:""},{type:"dropdown-button",id:"alignment",icon:{icon:"align-center"},items:[[{type:"button",id:"alignTopLeft",icon:{icon:"align-right",rotation:180}},{type:"button",id:"alignTopCenter",icon:{icon:"align-center"}},{type:"button",id:"alignTopRight",icon:{icon:"align-left",rotation:180}}],[{type:"button",id:"alignCenterLeft",icon:{icon:"align-left"}},{type:"button",id:"alignCenterCenter",icon:{icon:"align-center"}},{type:"button",id:"alignCenterRight",icon:{icon:"align-right"}}],[{type:"button",id:"alignBottomLeft",icon:{icon:"align-left"}},{type:"button",id:"alignBottomCenter",icon:{icon:"align-center"}},{type:"button",id:"alignBottomRight",icon:{icon:"align-right"}}]]},{type:"color",id:"color",icon:{icon:"font"}},{type:"color",id:"fgColor",icon:{icon:"fill"}},{type:"dropdown-button",id:"border",icon:{icon:"align-center"},items:[[{type:"button",id:"borderLeft",value:{left:{style:"thin"}},content:PM("left")},{type:"button",id:"borderRight",value:{right:{style:"thin"}},content:PM("right")},{type:"button",id:"borderTop",value:{top:{style:"thin"}},content:PM("top")},{type:"button",id:"borderBottom",value:{bottom:{style:"thin"}},content:PM("bottom")}],[{type:"button",id:"borderNone",value:{left:null,top:null,right:null,bottom:null},content:PM("none")},{type:"button",id:"borderAll",value:{left:{style:"thin"},top:{style:"thin"},right:{style:"thin"},bottom:{style:"thin"}},content:PM("all")},{type:"button",id:"borderOutside",value:{left:{style:"thin"},top:{style:"thin"},right:{style:"thin"},bottom:{style:"thin"}},content:PM("outside")},{type:"button",id:"borderOutsideThick",value:{left:{style:"thick"},top:{style:"thick"},right:{style:"thick"},bottom:{style:"thick"}},content:PM("outside-thick")}],[{type:"button",id:"borderBottomDouble",value:{bottom:{style:"double"}},content:PM("bottom-double")},{type:"button",id:"borderBottomThick",value:{bottom:{style:"thick"}},content:PM("bottom-thick")},{type:"button",id:"borderTopBottom",value:{top:{style:"thin"},bottom:{style:"thin"}},content:PM("top-bottom")},{type:"button",id:"borderTopBottomThick",value:{top:{style:"thin"},bottom:{style:"thick"}},content:PM("top-bottom-thick")}],[{type:"color",id:"borderColor",colspan:4,icon:{icon:"fill"}}]]}];let H_=class extends ls{constructor(){super(...arguments),this.data={},this._onAction=t=>{const e=t.action;if(/^preview/.test(e.type))return;const i=nt(this.data);switch(delete i.id,delete i.hash,e.key){case"bold":i.bold=!!e.value;break;case"italic":i.italic=!!e.value;break;case"underline":i.underline=!!e.value;break;case"sz":i.sz=e.value?parseInt(e.value):null;break;case"color":i.color=e.value.substring(1);break;case"fgColor":i.fgColor=e.value.substring(1);break;case"alignCenterCenter":i.alignment={vertical:"center",horizontal:"center"};break;case"alignTopLeft":i.alignment={vertical:"top",horizontal:"left"};break;case"alignTopCenter":i.alignment={vertical:"top",horizontal:"center"};break;case"alignTopRight":i.alignment={vertical:"top",horizontal:"right"};break;case"alignCenterLeft":i.alignment={vertical:"center",horizontal:"left"};break;case"alignCenterRight":i.alignment={vertical:"center",horizontal:"right"};break;case"alignBottomLeft":i.alignment={vertical:"bottom",horizontal:"left"};break;case"alignBottomCenter":i.alignment={vertical:"bottom",horizontal:"center"};break;case"alignBottomRight":i.alignment={vertical:"bottom",horizontal:"right"}}this.data=i,this.dispatchEvent(new On({value:i}))},this.render=()=>Br`
|
|
5292
5293
|
<og-toolbar
|
|
5293
|
-
.items="${
|
|
5294
|
+
.items="${L_}"
|
|
5294
5295
|
.values="${this.styleToToolbarValues(this.data)}"
|
|
5295
5296
|
@toolbar.action="${this._onAction}">
|
|
5296
5297
|
</og-toolbar>
|
|
@@ -5308,7 +5309,7 @@
|
|
|
5308
5309
|
height: 24px;
|
|
5309
5310
|
padding: 0;
|
|
5310
5311
|
}
|
|
5311
|
-
`],
|
|
5312
|
+
`],I_([ps({type:Object})],H_.prototype,"data",void 0),I_([fs("og-toolbar")],H_.prototype,"toolbar",void 0),H_=I_([hs("og-editor-styleeditor")],H_);var T_=function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};let A_=class extends ud{constructor(){super(...arguments),this.href="",this.render=()=>Br`
|
|
5312
5313
|
<div>
|
|
5313
5314
|
<og-input
|
|
5314
5315
|
.value="${this.href||""}"
|
|
@@ -6585,7 +6586,7 @@ milkdown-block-handle {
|
|
|
6585
6586
|
flex: 0;
|
|
6586
6587
|
text-align: center;
|
|
6587
6588
|
}
|
|
6588
|
-
`,xS=function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s}([hs("og-markdown-toolbar")],xS);class kS{constructor(t,e,i){fS.set(this,void 0),vS.set(this,void 0),bS.set(this,void 0),this.update=(t,e)=>{wS(this,fS,"f").update(t,e)},this.destroy=()=>{wS(this,fS,"f").destroy(),wS(this,bS,"f").remove()},this.hide=()=>{wS(this,fS,"f").hide()},yS(this,vS,t,"f");const o=yt("og-markdown-toolbar");o.addEventListener("hide",(()=>wS(this,fS,"f").hide())),o.ctx=t,o.md=i,yS(this,bS,o,"f"),yS(this,fS,new i.plugins.tooltip.TooltipProvider({content:wS(this,bS,"f"),offset:10,debounce:20,shouldShow(t){const{doc:e,selection:n}=t.state,{empty:r,from:s,to:a}=n,l=!e.textBetween(s,a).length&&n instanceof i.prose.state.TextSelection,c=!(n instanceof i.prose.state.TextSelection),h=t.dom.getRootNode().activeElement,d=o.contains(h),u=!t.hasFocus()&&!d,p=!t.editable;return!(u||c||r||l||p)}}),"f"),wS(this,fS,"f").onShow=()=>{xt(wS(this,bS,"f")),wS(this,bS,"f").requestUpdate()},wS(this,fS,"f").onHide=()=>kt(wS(this,bS,"f")),this.update(e)}}function CS(t){const{$from:e,$to:i}=t.selection,o=e.pos-e.node().content.size;return o>=0&&(t=t.deleteRange(o,i.pos)),t}function MS(t,e,i=null){const o=e.createAndFill(i);return o?t.replaceSelectionWith(o):null}function _S(t,e=null){return(i,o)=>{if(o){const n=function(t,e,i=null){const{from:o,to:n}=t.selection;return t.setBlockType(o,n,e,i)}(CS(i.tr),t,e);o(n.scrollIntoView())}return!0}}function SS(t,e=null){return(i,o)=>{const n=function(t,e,i=null){const{$from:o,$to:n}=t.selection,r=o.blockRange(n),s=r&&V_.getSync().prose.transform.findWrapping(r,e,i);return s?t.wrap(r,s):null}(CS(i.tr),t,e);return!!n&&(o&&o(n.scrollIntoView()),!0)}}function ES(t,e=null){return(i,o)=>{const n=MS(CS(i.tr),t,e);return!!n&&(o&&o(n.scrollIntoView()),!0)}}fS=new WeakMap,vS=new WeakMap,bS=new WeakMap;const zS={text:"Please enter...",mode:"block"},RS=t=>{const e=t.utils.$ctx(zS,"placeholderConfigCtx"),i=t.utils.$prose((i=>new t.prose.state.Plugin({key:new t.prose.state.PluginKey("MARKDOWN_PLACEHOLDER"),props:{decorations:o=>{const n=i.get(e.key);if("doc"===n.mode&&(!((r=o.doc).childCount<=1)||r.firstChild?.content.size))return null;var r;if("code_block"===o.selection.$from.parent.type.name||function(t){const e=t.$from.node(t.$from.depth-1)?.type;return"list_item"===e?.name}(o.selection))return null;const s=n.text??"Please enter...",a=function(t,e,i){const{selection:o}=e;if(!o.empty)return null;const n=o.$anchor,r=n.parent;if(r.content.size>0)return null;const s=t.prose.findParent((t=>"table"===t.type.name))(n);if(s)return null;const a=n.before();return t.prose.view.Decoration.node(a,a+r.nodeSize,{class:"crepe-placeholder","data-placeholder":i})}(t,o,s);return a?t.prose.view.DecorationSet.create(o.doc,[a]):null}}})));return{plugin:i,config:e}};class
|
|
6589
|
+
`,xS=function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s}([hs("og-markdown-toolbar")],xS);class kS{constructor(t,e,i){fS.set(this,void 0),vS.set(this,void 0),bS.set(this,void 0),this.update=(t,e)=>{wS(this,fS,"f").update(t,e)},this.destroy=()=>{wS(this,fS,"f").destroy(),wS(this,bS,"f").remove()},this.hide=()=>{wS(this,fS,"f").hide()},yS(this,vS,t,"f");const o=yt("og-markdown-toolbar");o.addEventListener("hide",(()=>wS(this,fS,"f").hide())),o.ctx=t,o.md=i,yS(this,bS,o,"f"),yS(this,fS,new i.plugins.tooltip.TooltipProvider({content:wS(this,bS,"f"),offset:10,debounce:20,shouldShow(t){const{doc:e,selection:n}=t.state,{empty:r,from:s,to:a}=n,l=!e.textBetween(s,a).length&&n instanceof i.prose.state.TextSelection,c=!(n instanceof i.prose.state.TextSelection),h=t.dom.getRootNode().activeElement,d=o.contains(h),u=!t.hasFocus()&&!d,p=!t.editable;return!(u||c||r||l||p)}}),"f"),wS(this,fS,"f").onShow=()=>{xt(wS(this,bS,"f")),wS(this,bS,"f").requestUpdate()},wS(this,fS,"f").onHide=()=>kt(wS(this,bS,"f")),this.update(e)}}function CS(t){const{$from:e,$to:i}=t.selection,o=e.pos-e.node().content.size;return o>=0&&(t=t.deleteRange(o,i.pos)),t}function MS(t,e,i=null){const o=e.createAndFill(i);return o?t.replaceSelectionWith(o):null}function _S(t,e=null){return(i,o)=>{if(o){const n=function(t,e,i=null){const{from:o,to:n}=t.selection;return t.setBlockType(o,n,e,i)}(CS(i.tr),t,e);o(n.scrollIntoView())}return!0}}function SS(t,e=null){return(i,o)=>{const n=function(t,e,i=null){const{$from:o,$to:n}=t.selection,r=o.blockRange(n),s=r&&V_.getSync().prose.transform.findWrapping(r,e,i);return s?t.wrap(r,s):null}(CS(i.tr),t,e);return!!n&&(o&&o(n.scrollIntoView()),!0)}}function ES(t,e=null){return(i,o)=>{const n=MS(CS(i.tr),t,e);return!!n&&(o&&o(n.scrollIntoView()),!0)}}fS=new WeakMap,vS=new WeakMap,bS=new WeakMap;const zS={text:"Please enter...",mode:"block"},RS=t=>{const e=t.utils.$ctx(zS,"placeholderConfigCtx"),i=t.utils.$prose((i=>new t.prose.state.Plugin({key:new t.prose.state.PluginKey("MARKDOWN_PLACEHOLDER"),props:{decorations:o=>{const n=i.get(e.key);if("doc"===n.mode&&(!((r=o.doc).childCount<=1)||r.firstChild?.content.size))return null;var r;if("code_block"===o.selection.$from.parent.type.name||function(t){const e=t.$from.node(t.$from.depth-1)?.type;return"list_item"===e?.name}(o.selection))return null;const s=n.text??"Please enter...",a=function(t,e,i){const{selection:o}=e;if(!o.empty)return null;const n=o.$anchor,r=n.parent;if(r.content.size>0)return null;const s=t.prose.findParent((t=>"table"===t.type.name))(n);if(s)return null;const a=n.before();return t.prose.view.Decoration.node(a,a+r.nodeSize,{class:"crepe-placeholder","data-placeholder":i})}(t,o,s);return a?t.prose.view.DecorationSet.create(o.doc,[a]):null}}})));return{plugin:i,config:e}};class IS{get editor(){return this.dom?.editor?.editor}get model(){return this.editor?.getModel()}constructor(t,e,i,o){this.md=t,this.node=e,this.view=i,this.getPos=o,this.updating=!1,this.languageName="plaintext",this._onChange=t=>{if(this.updating)return;const e=t.editor.getModel(),i=this.view.state.tr;this.view.dispatch(i.setNodeAttribute(this.getPos()??0,"content",e.getValue()))},this.setLanguage=t=>{this.view.dispatch(this.view.state.tr.setNodeAttribute(this.getPos()??0,"language",t))},this.dom=this.createComponent(),this.updateLanguage()}createComponent(){const t=this.view.editable?yt("og-code-block"):yt("og-code-view");return t.content=this.node.textContent,t instanceof Of?(t.dynamicHeight=!0,t.editorOptions={minimap:{enabled:!1},stickyScroll:{enabled:!1}},t.addEventListener("code.change",this._onChange),t.addEventListener("changeLanguage",(t=>this.setLanguage(t.value)))):t.copy=!0,t}setSelection(t,e){if(!this.dom?.isConnected)return;this.dom.focus(),this.updating=!0;const i=this.model;if(i){const o=i.getPositionAt(t),n=i.getPositionAt(e);this.editor.setSelection({startLineNumber:o.lineNumber,startColumn:o.column,endLineNumber:n.lineNumber,endColumn:n.column})}this.updating=!1}update(t){return t.type===this.node.type&&(this.updating||(this.node=t,this.updateLanguage(),this.dom.content=t.textContent),!0)}selectNode(){this.dom.focus()}deselectNode(){}stopEvent(){return!0}destroy(){}updateLanguage(){this.languageName=this.node.attrs.language||"plaintext",this.dom.language=this.languageName}}const LS={};var HS,TS=function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s},AS=function(t,e,i,o){if("a"===i&&!o)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!o:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?o:"a"===i?o.call(t):o?o.value:e.get(t)},OS=function(t,e,i,o,n){if("m"===o)throw new TypeError("Private method is not writable");if("a"===o&&!n)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!n:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===o?n.call(t,i):n?n.value=i:e.set(t,i),i};let $S=class extends ls{get content(){return AS(this,HS,"f")}set content(t){OS(this,HS,t,"f"),this.requestUpdate()}constructor(){super(),HS.set(this,""),this.editable=!1,this.editing=!1,this.startEdit=()=>{this.editing=!0},this.render=()=>this.editable?Br`
|
|
6589
6590
|
<div class="title">Raw HTML</div>
|
|
6590
6591
|
<div class="body">
|
|
6591
6592
|
${this.editing?Br`
|
|
@@ -6705,7 +6706,7 @@ milkdown-block-handle {
|
|
|
6705
6706
|
width: 100%;
|
|
6706
6707
|
height: 100%;
|
|
6707
6708
|
}
|
|
6708
|
-
`,hE([ps({type:Object})],gE.prototype,"ctx",void 0),hE([ps({type:Object})],gE.prototype,"md",void 0),gE=hE([hs("og-markdown-block-edit-menu")],gE);const fE=(t,e)=>t.atomico.html`<og-fa-icon icon=${e}></og-fa-icon>`;var vE;!function(t){t.BlockEdit="block-edit",t.Cursor="cursor",t.CodeEditor="code-editor",t.LinkTooltip="link-tooltip",t.ImageBlock="image-block",t.Toolbar="toolbar",t.Placeholder="placeholder",t.Table="table",t.Html="html"}(vE||(vE={}));const bE=t=>async e=>{if(!e)return null;const i=t(e);return"string"==typeof e?i:await i};function yE(t,e,i){const o=i.modifyImageUrl?bE(i.modifyImageUrl):null;return new Map([[vE.BlockEdit,{default:!0,init:()=>{t.config((t=>{t.set(e.plugins.block.blockConfig.key,{filterNodes:t=>!e.prose.findParent((t=>["table","blockquote"].includes(t.type.name)))(t)}),t.set(e.plugins.block.block.key,{view:()=>new aS(t,e)})})).use(e.plugins.block.block)}}],[vE.Cursor,{default:!0,init:()=>{t.config((t=>{t.update(e.plugins.cursor.dropCursorConfig.key,(()=>({class:"md-editor-drop-cursor",width:4})))})).use(e.plugins.cursor.cursor)}}],[vE.ImageBlock,{default:!0,init:()=>{t.config((t=>{t.update(e.components.imageInline.inlineImageConfig.key,(t=>({uploadButton:()=>fE(e,"upload"),imageIcon:()=>fE(e,"image"),confirmButton:()=>fE(e,"check"),uploadPlaceholderText:"or paste link",onUpload:i.onUpload,proxyDomURL:o}))),t.update(e.components.imageBlock.imageBlockConfig.key,(t=>({uploadButton:()=>"Upload file",imageIcon:()=>fE(e,"image"),captionIcon:()=>fE(e,"comment"),confirmButton:()=>"Confirm",captionPlaceholderText:"Write Image Caption",uploadPlaceholderText:"or paste link",onUpload:i.onUpload,proxyDomURL:o})))})).use(e.components.imageBlock.imageBlockComponent).use(e.components.imageInline.imageInlineComponent)}}],[vE.LinkTooltip,{default:!0,init:()=>{const e=rE.getPlugin();console.log(e),t.config(rE.configure).use(e)}}],[vE.Toolbar,{default:!0,init:()=>{const i=e.plugins.tooltip.tooltipFactory("MARKDOWN_TOOLBAR");t.config((t=>{t.set(i.key,{view:i=>new kS(t,i,e)})})).use(i)}}],[vE.Placeholder,{default:!0,init:()=>{const{config:i,plugin:o}=RS(e);t.config((t=>{t.update(i.key,(t=>({...t})))})).use(o).use(i)}}],[vE.Table,{default:!0,init:()=>{t.config((t=>{t.update(e.components.tableBlock.tableBlockConfig.key,(t=>({renderButton:t=>{switch(t){case"add_row":case"add_col":return fE(e,"plus");case"delete_row":case"delete_col":return fE(e,"trash");case"align_col_left":return fE(e,"align-left");case"align_col_center":return fE(e,"align-center");case"align_col_right":return fE(e,"align-right");case"col_drag_handle":return fE(e,"grip-lines-vertical");case"row_drag_handle":return fE(e,"grip-lines")}}})))})).use(e.components.tableBlock.tableBlock)}}],[vE.CodeEditor,{default:!0,init:()=>{const i=function(t){return t.utils.$ctx(
|
|
6709
|
+
`,hE([ps({type:Object})],gE.prototype,"ctx",void 0),hE([ps({type:Object})],gE.prototype,"md",void 0),gE=hE([hs("og-markdown-block-edit-menu")],gE);const fE=(t,e)=>t.atomico.html`<og-fa-icon icon=${e}></og-fa-icon>`;var vE;!function(t){t.BlockEdit="block-edit",t.Cursor="cursor",t.CodeEditor="code-editor",t.LinkTooltip="link-tooltip",t.ImageBlock="image-block",t.Toolbar="toolbar",t.Placeholder="placeholder",t.Table="table",t.Html="html"}(vE||(vE={}));const bE=t=>async e=>{if(!e)return null;const i=t(e);return"string"==typeof e?i:await i};function yE(t,e,i){const o=i.modifyImageUrl?bE(i.modifyImageUrl):null;return new Map([[vE.BlockEdit,{default:!0,init:()=>{t.config((t=>{t.set(e.plugins.block.blockConfig.key,{filterNodes:t=>!e.prose.findParent((t=>["table","blockquote"].includes(t.type.name)))(t)}),t.set(e.plugins.block.block.key,{view:()=>new aS(t,e)})})).use(e.plugins.block.block)}}],[vE.Cursor,{default:!0,init:()=>{t.config((t=>{t.update(e.plugins.cursor.dropCursorConfig.key,(()=>({class:"md-editor-drop-cursor",width:4})))})).use(e.plugins.cursor.cursor)}}],[vE.ImageBlock,{default:!0,init:()=>{t.config((t=>{t.update(e.components.imageInline.inlineImageConfig.key,(t=>({uploadButton:()=>fE(e,"upload"),imageIcon:()=>fE(e,"image"),confirmButton:()=>fE(e,"check"),uploadPlaceholderText:"or paste link",onUpload:i.onUpload,proxyDomURL:o}))),t.update(e.components.imageBlock.imageBlockConfig.key,(t=>({uploadButton:()=>"Upload file",imageIcon:()=>fE(e,"image"),captionIcon:()=>fE(e,"comment"),confirmButton:()=>"Confirm",captionPlaceholderText:"Write Image Caption",uploadPlaceholderText:"or paste link",onUpload:i.onUpload,proxyDomURL:o})))})).use(e.components.imageBlock.imageBlockComponent).use(e.components.imageInline.imageInlineComponent)}}],[vE.LinkTooltip,{default:!0,init:()=>{const e=rE.getPlugin();console.log(e),t.config(rE.configure).use(e)}}],[vE.Toolbar,{default:!0,init:()=>{const i=e.plugins.tooltip.tooltipFactory("MARKDOWN_TOOLBAR");t.config((t=>{t.set(i.key,{view:i=>new kS(t,i,e)})})).use(i)}}],[vE.Placeholder,{default:!0,init:()=>{const{config:i,plugin:o}=RS(e);t.config((t=>{t.update(i.key,(t=>({...t})))})).use(o).use(i)}}],[vE.Table,{default:!0,init:()=>{t.config((t=>{t.update(e.components.tableBlock.tableBlockConfig.key,(t=>({renderButton:t=>{switch(t){case"add_row":case"add_col":return fE(e,"plus");case"delete_row":case"delete_col":return fE(e,"trash");case"align_col_left":return fE(e,"align-left");case"align_col_center":return fE(e,"align-center");case"align_col_right":return fE(e,"align-right");case"col_drag_handle":return fE(e,"grip-lines-vertical");case"row_drag_handle":return fE(e,"grip-lines")}}})))})).use(e.components.tableBlock.tableBlock)}}],[vE.CodeEditor,{default:!0,init:()=>{const i=function(t){return t.utils.$ctx(LS,"codeEditorConfigCtx")}(e),o=function(t){return t.utils.$view(t.presets.commonmark.codeBlockSchema.node,(e=>(e,i,o)=>new IS(t,e,i,o)))}(e);t.config((t=>{t.update(i.key,(t=>({})))})).use([o,i])}}],[vE.Html,{default:!0,init:()=>{const i=PS(e),o=jS(e);t.config((t=>{t.update(i.key,(t=>({})))})).use([o,i])}}]])}const wE={STATUSBAR_HEIGHT:22,...G},xE=or`
|
|
6709
6710
|
* {
|
|
6710
6711
|
box-sizing: border-box;
|
|
6711
6712
|
}
|
|
@@ -6884,7 +6885,7 @@ milkdown-block-handle {
|
|
|
6884
6885
|
white-space: nowrap;
|
|
6885
6886
|
}
|
|
6886
6887
|
|
|
6887
|
-
`;var
|
|
6888
|
+
`;var IE=function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};let LE=class extends ls{get tooltip(){return this.tooltipRef.value}constructor(){super(),this.values={},this.controls=new Map,this.tooltipRef=Zh(),this._onItemMouseEnter=t=>{const e=t.target;e.dataset.tooltip&&(this.tooltip.content=e.dataset.tooltip,this._tooltipTimeout=window.setTimeout((()=>this.tooltip.attachTo(e,"bottom")),EE.TOOLBAR_TOOLTIP_DELAY))},this._onItemMouseLeave=()=>{this.tooltip.hide(),window.clearTimeout(this._tooltipTimeout)},this.render=()=>Br`
|
|
6888
6889
|
<div class="inner">
|
|
6889
6890
|
${ys(this.items,(t=>Br`
|
|
6890
6891
|
<div
|
|
@@ -6899,7 +6900,7 @@ milkdown-block-handle {
|
|
|
6899
6900
|
<og-tooltip id="tooltip" style="display: none" color="accent" ${Kh(this.tooltipRef)}></og-tooltip>
|
|
6900
6901
|
</div>
|
|
6901
6902
|
<div class="empty"> </div>
|
|
6902
|
-
`,this.addEventListener("toolbar.action",(t=>{"change"==t.action.type&&(this.values=this.values||{},this.values[t.action.key]=t.action.value)}))}layout(){}updated(){this.controls.clear(),this.shadowRoot.querySelectorAll(".control").forEach((t=>this.controls.set(t.dataset.id,t)))}};
|
|
6903
|
+
`,this.addEventListener("toolbar.action",(t=>{"change"==t.action.type&&(this.values=this.values||{},this.values[t.action.key]=t.action.value)}))}layout(){}updated(){this.controls.clear(),this.shadowRoot.querySelectorAll(".control").forEach((t=>this.controls.set(t.dataset.id,t)))}};LE.styles=[RE],IE([ps({type:Array})],LE.prototype,"items",void 0),IE([ps({type:Object})],LE.prototype,"values",void 0),LE=IE([hs("og-toolbar")],LE);var HE=function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};let TE=class extends Ma{constructor(){super(),this.color=null}firstUpdated(){this.addEventListener("click",(()=>{In(this,"toolbar",{type:"change",key:this.item.id,value:"toggle"==this.type?"checked"==this.state:this.item.value})}))}willUpdate(t){t.has("item")&&this.item&&(this.icon=this.item.icon,this.text=this.item.text,this.color=this.item.color?this.item.color:"normal"==this.type?Js.Gray:Js.Accent,this.item.content&&as(Br`<div slot="content">${this.item.content}</div>`,this)),super.willUpdate(t)}};TE.styles=[...Ma.styles,or`
|
|
6903
6904
|
:host {
|
|
6904
6905
|
box-sizing: border-box;
|
|
6905
6906
|
display: block;
|
|
@@ -6909,20 +6910,20 @@ milkdown-block-handle {
|
|
|
6909
6910
|
line-height: ${EE.TOOLBAR_COMPONENT_SIZE_BASE}px;
|
|
6910
6911
|
padding: 0;
|
|
6911
6912
|
}
|
|
6912
|
-
`],HE([ps({type:Object})],TE.prototype,"item",void 0),TE=HE([hs("og-toolbar-button")],TE);var AE=function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};let OE=class extends ls{constructor(){super(...arguments),this._onChange=()=>{this.tree.close();const t=this.tree.value;this.value=t&&t[0]&&t[0][0]?t[0][0]:null,
|
|
6913
|
+
`],HE([ps({type:Object})],TE.prototype,"item",void 0),TE=HE([hs("og-toolbar-button")],TE);var AE=function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};let OE=class extends ls{constructor(){super(...arguments),this._onChange=()=>{this.tree.close();const t=this.tree.value;this.value=t&&t[0]&&t[0][0]?t[0][0]:null,In(this,"toolbar",{type:"change",key:this.item.id,value:this.value})},this.render=()=>Br`
|
|
6913
6914
|
<og-tree-dropdown
|
|
6914
6915
|
color="gray"
|
|
6915
6916
|
@change="${this._onChange}"
|
|
6916
6917
|
.caption="${this.item.caption}"
|
|
6917
6918
|
.value="${null==this.value?null:[[this.value,0,1]]}">
|
|
6918
6919
|
</og-tree-dropdown>
|
|
6919
|
-
`}updated(){this.item.width&&Dt(this.tree,{w:this.item.width}),this.tree.setSourceData(this.item.items,{globalLevels:!1,selectMode:
|
|
6920
|
+
`}updated(){this.item.width&&Dt(this.tree,{w:this.item.width}),this.tree.setSourceData(this.item.items,{globalLevels:!1,selectMode:Im.Single,checkboxes:!1,expanders:!1,allowEmpty:!1})}};OE.styles=[or`
|
|
6920
6921
|
:host {
|
|
6921
6922
|
display: flex;
|
|
6922
6923
|
flex-direction: row;
|
|
6923
6924
|
height: ${EE.TOOLBAR_COMPONENT_SIZE_BASE}px;
|
|
6924
6925
|
}
|
|
6925
|
-
`],AE([fs("og-tree-dropdown")],OE.prototype,"tree",void 0),AE([ps({type:Object})],OE.prototype,"item",void 0),AE([ps({type:String})],OE.prototype,"value",void 0),OE=AE([hs("og-toolbar-dropdown")],OE);var $E=function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};let DE=class extends Hd{willUpdate(t){super.willUpdate(t),this.style.width=Ot(this.item.width||(this.item.text?null:23)),this.style.textAlign=this.item.text?"left":"center",this.icon=this.item.icon,this.color=Js.Gray,this.noCaret=!0}async getComponent(){if(!this.item.createComponent)return null;const t=await this.item.createComponent(this.item.id,this.value);return t.slot="inner-content",t.addEventListener("change",(t=>{this.close(),
|
|
6926
|
+
`],AE([fs("og-tree-dropdown")],OE.prototype,"tree",void 0),AE([ps({type:Object})],OE.prototype,"item",void 0),AE([ps({type:String})],OE.prototype,"value",void 0),OE=AE([hs("og-toolbar-dropdown")],OE);var $E=function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};let DE=class extends Hd{willUpdate(t){super.willUpdate(t),this.style.width=Ot(this.item.width||(this.item.text?null:23)),this.style.textAlign=this.item.text?"left":"center",this.icon=this.item.icon,this.color=Js.Gray,this.noCaret=!0}async getComponent(){if(!this.item.createComponent)return null;const t=await this.item.createComponent(this.item.id,this.value);return t.slot="inner-content",t.addEventListener("change",(t=>{this.close(),In(this,"toolbar",{type:"select",key:this.item.id,value:t.value})})),t}async open(){const t=await this.getComponent();t.parentElement!=this.dropdown&&(St(this.dropdown),this.dropdown.appendChild(t)),await super.open()}};DE.styles=[...Hd.styles,or`
|
|
6926
6927
|
:host {
|
|
6927
6928
|
display: flex;
|
|
6928
6929
|
flex-direction: row;
|
|
@@ -6949,7 +6950,7 @@ milkdown-block-handle {
|
|
|
6949
6950
|
.items="${this.item.items}">
|
|
6950
6951
|
</og-toolbar-grid>
|
|
6951
6952
|
</og-dropdown>
|
|
6952
|
-
`}get grid(){return this.gridRef.value}get dropdown(){return this.dropdownRef.value}willUpdate(){if(!this.currentItem&&this.item?.items){const t=this.item.items;this.currentItem=t.flatMap((t=>t)).find((t=>t.default)),this.currentItem||(this.currentItem=t[0][0])}this.item?.options?.mode&&(this.mode=this.item.options.mode)}firstUpdated(){Rt(this.grid,"click","og-toolbar-button",((t,e)=>{this.currentItem=e.item,this.dropdown.close()}));let t=null;Rt(this.grid,"mousemove","og-toolbar-button",((e,i)=>{t!=i.item.id&&(t=i.item.id,
|
|
6953
|
+
`}get grid(){return this.gridRef.value}get dropdown(){return this.dropdownRef.value}willUpdate(){if(!this.currentItem&&this.item?.items){const t=this.item.items;this.currentItem=t.flatMap((t=>t)).find((t=>t.default)),this.currentItem||(this.currentItem=t[0][0])}this.item?.options?.mode&&(this.mode=this.item.options.mode)}firstUpdated(){Rt(this.grid,"click","og-toolbar-button",((t,e)=>{this.currentItem=e.item,this.dropdown.close()}));let t=null;Rt(this.grid,"mousemove","og-toolbar-button",((e,i)=>{t!=i.item.id&&(t=i.item.id,In(this,"toolbar",{type:"preview",key:i.item.id,value:i.item.value}))})),this.grid.addEventListener("mouseleave",(()=>{In(this,"toolbar",{type:"previewEnd",key:t,value:null}),t=null})),this.grid.addEventListener("toolbar.action",(t=>{In(this,"toolbar",t.action)})),this.button?.addEventListener("click",(()=>{In(this,"toolbar",{type:"select",key:this.currentItem.id,value:this.currentItem.value})})),this.dropdown.addEventListener("mousedown",(t=>{t.stopPropagation()}))}};PE.styles=[or`
|
|
6953
6954
|
:host {
|
|
6954
6955
|
display: flex;
|
|
6955
6956
|
flex-direction: row;
|
|
@@ -6975,7 +6976,7 @@ milkdown-block-handle {
|
|
|
6975
6976
|
line-height: ${EE.TOOLBAR_COMPONENT_SIZE_BASE}px;
|
|
6976
6977
|
padding: 0;
|
|
6977
6978
|
}
|
|
6978
|
-
`],NE([fs("og-toolbar-button")],PE.prototype,"button",void 0),NE([ps({type:Object})],PE.prototype,"item",void 0),NE([ps({type:Object})],PE.prototype,"currentItem",void 0),NE([ps({type:String})],PE.prototype,"mode",void 0),PE=NE([hs("og-toolbar-dropdownbutton")],PE);var jE=function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};let VE=class extends Fd{willUpdate(t){super.willUpdate(t),this.style.width=Ot(this.item.width||(this.item.text?null:23)),this.style.textAlign=this.item.text?"left":"center",this.icon=this.item.icon,this.color=Js.Gray,this.label=this.item.caption??this.item.text,this.noCaret=!1,this.items=this.item.items||[]}constructor(){super(),this.addEventListener("menu.select",(t=>{
|
|
6979
|
+
`],NE([fs("og-toolbar-button")],PE.prototype,"button",void 0),NE([ps({type:Object})],PE.prototype,"item",void 0),NE([ps({type:Object})],PE.prototype,"currentItem",void 0),NE([ps({type:String})],PE.prototype,"mode",void 0),PE=NE([hs("og-toolbar-dropdownbutton")],PE);var jE=function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};let VE=class extends Fd{willUpdate(t){super.willUpdate(t),this.style.width=Ot(this.item.width||(this.item.text?null:23)),this.style.textAlign=this.item.text?"left":"center",this.icon=this.item.icon,this.color=Js.Gray,this.label=this.item.caption??this.item.text,this.noCaret=!1,this.items=this.item.items||[]}constructor(){super(),this.addEventListener("menu.select",(t=>{In(this,"toolbar",{type:"select",key:(t.item.key??t.item.k)?.toString(),value:(t.item.value??t.item.v)?.toString()})}))}};VE.styles=[...Fd.styles,or`
|
|
6979
6980
|
:host {
|
|
6980
6981
|
display: flex;
|
|
6981
6982
|
flex-direction: row;
|
|
@@ -6995,7 +6996,7 @@ milkdown-block-handle {
|
|
|
6995
6996
|
display: block;
|
|
6996
6997
|
background-color: var(--og-background-color);
|
|
6997
6998
|
}
|
|
6998
|
-
`],BE([ps({type:Array})],FE.prototype,"items",void 0),FE=BE([hs("og-toolbar-grid")],FE);var WE=function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};let UE=class extends ls{constructor(){super(...arguments),this.color="gray",this.dropdownRef=Zh(),this.listRef=Zh(),this._onSelect=t=>{this.dropdown.close(),this.value=this.item.items[t.index].k,
|
|
6999
|
+
`],BE([ps({type:Array})],FE.prototype,"items",void 0),FE=BE([hs("og-toolbar-grid")],FE);var WE=function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};let UE=class extends ls{constructor(){super(...arguments),this.color="gray",this.dropdownRef=Zh(),this.listRef=Zh(),this._onSelect=t=>{this.dropdown.close(),this.value=this.item.items[t.index].k,In(this,"toolbar",{type:"change",key:this.item.id,value:this.value})},this._onKeyUp=()=>{this.value!=this.input.value&&(this.value=this.input.value,In(this,"toolbar",{type:"change",key:this.item.id,value:this.value}),this.input.focus())},this.render=()=>Br`
|
|
6999
7000
|
<input
|
|
7000
7001
|
class="${this.item.items&&this.item.items.length>0?"has-dropdown":""}"
|
|
7001
7002
|
type="text"
|
|
@@ -7039,7 +7040,7 @@ milkdown-block-handle {
|
|
|
7039
7040
|
border-top-left-radius: 0;
|
|
7040
7041
|
border-bottom-left-radius: 0;
|
|
7041
7042
|
}
|
|
7042
|
-
`],WE([ps({type:String,reflect:!0})],UE.prototype,"color",void 0),WE([ps({type:Object})],UE.prototype,"item",void 0),WE([ps({type:String})],UE.prototype,"value",void 0),WE([fs("input")],UE.prototype,"input",void 0),UE=WE([hs("og-toolbar-text"),ma({props:["color","border","background"],selector:"input"})],UE);var GE=function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};let YE=class extends ls{constructor(){super(...arguments),this._onChange=t=>{this.btnContent.style.backgroundColor=t.value,
|
|
7043
|
+
`],WE([ps({type:String,reflect:!0})],UE.prototype,"color",void 0),WE([ps({type:Object})],UE.prototype,"item",void 0),WE([ps({type:String})],UE.prototype,"value",void 0),WE([fs("input")],UE.prototype,"input",void 0),UE=WE([hs("og-toolbar-text"),ma({props:["color","border","background"],selector:"input"})],UE);var GE=function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};let YE=class extends ls{constructor(){super(...arguments),this._onChange=t=>{this.btnContent.style.backgroundColor=t.value,In(this,"toolbar",{type:"select",key:this.item.id,value:t.value}),this.dropdown.close()},this._onPreview=t=>{this.btnContent.style.backgroundColor=t.color,In(this,"toolbar",{type:"preview",key:this.item.id,value:t.color})},this._onPreviewEnd=t=>{this.btnContent.style.backgroundColor=t.color,In(this,"toolbar",{type:"previewEnd",key:this.item.id,value:t.color})},this.render=()=>Br`
|
|
7043
7044
|
<og-button mode="toggle" color="gray">
|
|
7044
7045
|
<div id="btnContent" slot="content" style="${Ea({backgroundColor:this.value})}">
|
|
7045
7046
|
${this.item.icon?Br`<og-icon .icon="${this.item.icon}"></og-icon>`:""}
|
|
@@ -7091,7 +7092,7 @@ milkdown-block-handle {
|
|
|
7091
7092
|
border-top-left-radius: 0;
|
|
7092
7093
|
border-bottom-left-radius: 0;
|
|
7093
7094
|
}
|
|
7094
|
-
`],GE([ps({type:Object})],YE.prototype,"item",void 0),GE([ps({type:String})],YE.prototype,"value",void 0),GE([fs("og-dropdown")],YE.prototype,"dropdown",void 0),GE([fs("#btnContent")],YE.prototype,"btnContent",void 0),YE=GE([hs("og-toolbar-colorpicker")],YE);class qE{static init(t){this.path=t}static async get(){return this.xlsx||(this.xlsx=await this.load()),this.xlsx}static getSync(){return this.xlsx}static load(){if(!Yn.require)throw new Error("AMDLoader is not initialized");return Yn.require.config({paths:{xlsx:this.path+"/xlsx.full.min"}}),new Promise((t=>Yn.require(["xlsx"],(()=>t(self.XLSX)))))}}const ZE="aaaaaa",XE={bottom:{style:"thin",color:ZE},top:{style:"thin",color:ZE},right:{style:"thin",color:ZE},left:{style:"thin",color:ZE}},QE={exportHiddenRows:!0,exportHiddenColumns:!0,gridLines:!0,defaultBorders:!1,dropdownCells:"value"},KE={alignment:{vertical:"center",horizontal:"center"},bold:!0},JE={g:"n",b:"b",t:"s",n:"n",d:"d",dt:"d",s:"s",m:"s",tm:"s",h:"s",a:"z"};function tz(t,e){return(e.exportHiddenColumns?t.columns:t.visibleColumns).map((e=>({level:e.level,wpx:e.width,hidden:null==e.visibleIndex||t.visibleColumns[e.visibleIndex]!=e})))}function ez(t,e){const i=e.exportHiddenRows?t.rows:t.visibleRows,o=t.headerCount,n=new Array(i.length+o);return[...Array(o).keys()].map((t=>n[t]={level:0})),i.map(((e,i)=>n[i+o]={level:e.level,hpt:.75*e.height,hidden:null==e.visibleIndex||t.visibleRows[e.visibleIndex]!=e})),n}function iz(t,e){const i=t.headerCount,o=e.exportHiddenColumns?t=>t.c:e=>t.columns[e.c].visibleIndex,n=[];return t.merges.mergedCells.forEach((t=>{n.push({s:{c:o(t),r:t.r+i},e:{c:o(t)+t.cs-1,r:t.r+i+t.rs-1}})})),t.mergedHeaders.forEach((t=>{t.h?.hidden||n.push({s:{c:o(t),r:t.r},e:{c:o(t)+t.cs-1,r:t.r+t.rs-1}})})),n}function oz(t,e){const i=t.headerCount,o=e.exportHiddenColumns?t.columns:t.visibleColumns,n=az(e);return[...Array(i).keys()].map((e=>o.map((i=>{const o=i.header[e],r={t:o?"s":"z",s:KE};return o&&(o.html?r.h=`<span>${o.label}</span>`:null!=o.label?r.v=o.label:r.t="z"),n&&(r.s||(r.s={}),r.s=Object.assign({},n,r.s)),null!=o._style&&(r.s=Object.assign({},r.s,sz(t.styles.get(o._style)))),r}))))}function nz(t){return{rgb:t}}function rz(t){return"none"==t.style?null:{style:t.style,color:nz(t.color)}}function sz(t){const e={};return t.color&&(e.color=nz(t.color)),t.bgColor&&(e.bgColor=nz(t.bgColor)),t.fgColor&&(e.fgColor=nz(t.fgColor)),t.patternType&&(e.patternType=t.patternType),t.alignment&&(e.alignment=t.alignment),null!=t.bold&&(e.bold=t.bold),t.sz&&(e.sz=t.sz),t.bottom&&(e.bottom=rz(t.bottom)),t.top&&(e.top=rz(t.top)),t.right&&(e.right=rz(t.right)),t.left&&(e.left=rz(t.left)),null!=t.angle&&(e.angle=t.angle),t.stops&&(e.stops=t.stops.map((t=>({v:t.v,rgb:t.rgb})))),e}function az(t){const e=!0===t.defaultBorders?XE:t.defaultBorders;return e?function(t){const e={};return t.bottom&&(e.bottom=rz(t.bottom)),t.top&&(e.top=rz(t.top)),t.right&&(e.right=rz(t.right)),t.left&&(e.left=rz(t.left)),e}(e):null}function lz(t,e){e=pz(e);const i=t.headerCount,o=new Cw(t),n=new Array(i+t.rows.length),r=new Map,s=az(e),a=t.options.dateFormat||"yyyy-MM-dd",l="displayValue"==e.dropdownCells;oz(t,e).forEach(((t,e)=>n[e]=t));const c=e.exportHiddenRows?t.rows:t.visibleRows,h=e.exportHiddenColumns?t.columns:t.visibleColumns;return c.forEach(((t,e)=>n[e+i]=h.map((e=>{const n=t.cell(e.index),c=JE[n.type],h={t:n.hasValue?c:"z"};n.hasFormula?(h.f=i>0?o.getFormula(n).clone().shift({index:0,offset:i,direction:"down"}).toExcelString():o?o.getFormula(n).toExcelString():n.formula,"d"==n.type&&(h.t="n",h.z=n.format??a)):n.hasValue&&!n.isSpilled&&("s"==h.t?h.v=l?n.formattedValue.toString():n.value.toString():"z"!=h.t&&(h.v=n.value),"g"==n.type?h.t=Q(h.v)?"s":"n":"d"==n.type&&tt(h.v)&&(h.t="n"));const d=n.composedStyle;if(d&&(r.has(d.id)||r.set(d.id,sz(d)),h.s={...r.get(d.id)}),function(t,e){const i=t.calculatedIndent;i>0&&(e.s||(e.s={}),e.s.alignment||(e.s.alignment={}),e.s.alignment.indent=i)}(n,h),n.hasComment){const t=n.model.comments.get(n.address);h.c=t.filter((t=>(t.text??"").length>0)).map((t=>({a:t.author?t.author.name??t.author.id:"",t:t.text}))),h.c.hidden=!0}return"n"!=h.t&&"d"!=h.t||null!=h.z||(h.z=n.format??("d"==h.t?a:"General")),s&&(h.s||(h.s={}),h.s=Object.assign({},s,h.s)),h})))),n}function cz(t,e){return t||e?{t:(t=Object.assign({},e,t)).t,v:t.v,color:nz(t.color)}:null}function hz(t){const e=t.headerCount;return t.conditionalFormats.getSourceData().map((t=>({ref:fv.fromA1s(t.ranges).map((t=>t.shiftDown(0,e,null,!0).A1)).join(" "),t:t.type,f:t.condition&&iv(t.condition[0])?"A1"+t.condition:t.condition??null,s:t.style?sz(t.style):null,stop:t.stop,cmin:cz(t.cmin,"bar"==t.type?{t:"min",color:t.color}:null),cmid:t.cmid?cz(t.cmid,{v:50,t:"percentile"}):null,cmax:cz(t.cmax,"bar"==t.type?{t:"max",color:t.color}:null),color:nz(t.color),v:t.v,thresh:t.thresh})))}function dz(t){return null==t.options.rowTree.reversed?t.rows.length<2?"above":t.rows[0].level>t.rows[1].level?"below":"above":t.options.rowTree.reversed?"below":"above"}function uz(t){return null==t.options.columnTree.reversed?t.columns.length<2?"left":t.columns[0].level>t.columns[1].level?"right":"left":t.options.columnTree.reversed?"right":"left"}const pz=t=>{const e=Object.assign({},QE,t);return e.defaultBorders&&(e.defaultBorders=XE),e},gz=t=>t/25.4;function mz(t){return t?{top:gz(t.top),bottom:gz(t.bottom),left:gz(t.left),right:gz(t.right),header:gz(t.header),footer:gz(t.footer)}:null}function fz(t,e){e=pz(e);const i={};return i["!cols"]=tz(t,e),i["!rows"]=ez(t,e),i["!merges"]=iz(t,e),i["!condfmt"]=hz(t),i["!outline"]={above:"above"==dz(t),left:"left"==uz(t)},t.options.freezeLeft||t.options.freezeTop?i["!freeze"]=`${yv(t.options.freezeLeft)}${t.headerCount+t.options.freezeTop+1}`:t.headerCount>0&&(i["!freeze"]=`A${t.headerCount+1}`),i["!gridlines"]=e.gridLines,i["!print"]=function(t,e){const i=t.options.print??{},o={props:{}};o.props.scale=i.scale?i.scale:function(t){const e=t.options.print??{},i=Q(e.paper)?Nn[e.paper]??Nn.A4:e.paper,o=gz(i.width-e.margins.left-e.margins.right),n=t.columns.reduce(((t,e)=>t+e.width),0)/96;return Math.round(o/n*100)-2}(t),o.props.paper=i.paper,o.props.orientation=i.orientation,i.margins&&(o.margins=mz(i.margins));const n=i.rowBreaks;if(n?.length>0){o.rowBreaks=n.map((i=>({R:e.exportHiddenRows?i:t.rows[i].visibleIndex})));const i=t.options?.print?.rowTitles?fv.fromA1(t.options?.print?.rowTitles):null;i&&(o.titles={s:{r:i.r1,c:-1},e:{r:i.r2,c:-1}})}return o}(t,e),i}async function vz(t,e){const i=qE.get(),o=i instanceof Promise?await i:i;e=pz(e);const n=o.utils.book_new();return t.forEach(((t,i)=>{t.calculations.evaluateAll();const r={...e,...t.exportOptions},s=o.utils.sheet_add_aoa(fz(t,r),lz(t,r));let a=t.name||`Sheet${i+1}`;t.name=a,a.length>31&&(a=a.substring(0,31)),o.utils.book_append_sheet(n,s,a)})),n.Workbook=n.Workbook||{},t.forEach((t=>{const e=n.SheetNames.indexOf(t.name);e<0||(n.Workbook.Sheets||(n.Workbook.Sheets=[]),n.Workbook.Sheets[e]||(n.Workbook.Sheets[e]={}),t.tab?.hidden&&(n.Workbook.Sheets[e].Hidden=1))})),n}async function bz(t,e=null){const i=qE.get(),o=i instanceof Promise?await i:i;return e?o.writeFile(t,e,{cellStyles:!0,bookSST:!0}):o.writeXLSX(t,{cellStyles:!0,bookSST:!0,type:"buffer"})}const yz={b:"b",s:"t",n:"n",d:"d",z:"g",e:"t"};function wz(t){return t.rgb}function xz(t){return{color:wz(t.color),style:t.style}}function kz(t){const e={};return t.color&&(e.color=wz(t.color)),t.bgColor&&(e.bgColor=wz(t.bgColor)),t.fgColor&&(e.fgColor=wz(t.fgColor)),e.fgColor||"000000"!=e.color||(e.color=null),t.alignment&&(e.alignment=t.alignment),t.bold&&(e.bold=t.bold),t.sz&&(e.sz=t.sz),t.top&&(e.top=xz(t.top)),t.bottom&&(e.bottom=xz(t.bottom)),t.left&&(e.left=xz(t.left)),t.right&&(e.right=xz(t.right)),e}function Cz(t,e){const i=t["!ref"]?fv.fromA1(t["!ref"]):fv.fromA1("A1:T100"),o={},n={};if(t["!freeze"]){const e=fv.fromA1(t["!freeze"]);n.freezeLeft=e.c1,n.freezeTop=e.r1}return o.options=n,o.rows=function(t,e){const i=t["!rows"]??[],o=new Array(e);let n;for(let t=0;t<e;t++)n=i[t],o[t]={l:(n?n.level:0)||0,h:n?n.hpx:null};return o}(t,i.r2+1),o.columns=function(t,e){const i=t["!cols"]??[],o=new Array(e);let n;for(let t=0;t<e;t++)n=i[t],o[t]={l:(n?n.level:0)||0,w:n?n.wpx:null};return o}(t,i.c2+1),o.cells=function(t){const e=[],i=new Map;(t["!merges"]??[]).forEach((t=>{const e=new fv(t.s.c,t.s.r);i.set(e.A1,{c:t.s.c,cs:t.e.c-t.s.c+1,r:t.s.r,rs:t.e.r-t.s.r+1})}));for(const o in t){if("!"==o[0])continue;const n=t[o],r=fv.fromA1(o),s={r:r.r1,c:r.c1,t:yz[n.t]},a=i.get(o);a&&(s.cs=a.cs,s.rs=a.rs),n.s&&(s.s=kz(n.s)),n.f?s.f=Lv(n.f):s.v=n.v,["n","d"].includes(n.t)&&null!=n.z&&"General"!=n.z&&(s.z=rn(n.z,"d")),e.push(s)}return e}(t),o.names=e,o.rules=function(t){return t["!condfmt"]?.filter((t=>["formula","scale","bar"].includes(t.t))).map((t=>{const e={type:t.t,ranges:t.ref.toString().replace(/\s/g,";")};return e.style=t.s?kz(t.s):null,e.cmin=t.cmin?{t:t.cmin.t,color:t.cmin.color?wz(t.cmin.color):null}:null,e.cmid=t.cmid?{t:t.cmid.t,color:t.cmid.color?wz(t.cmid.color):null}:null,e.cmax=t.cmax?{t:t.cmax.t,color:t.cmax.color?wz(t.cmax.color):null}:null,e.color=t.color?wz(t.color):null,e.condition=t.f,e.stop=!0,e}))}(t),o}function Mz(t){const e=new Map;return t.Workbook.Names.forEach((({Name:t,Ref:i})=>{const[o,n]=i.split("!");if(!n)return;let r=e.get(o);r||e.set(o,r=[]);const s=fv.fromA1(n);s.c1Anchor&&!s.r1Anchor?(s.r1=0,s.r2=1/0):!s.c1Anchor&&s.r1Anchor&&(s.c1=0,s.c2=1/0),s.removeAnchors(),r.push({name:t,ref:s.A1})})),e}async function _z(t,e){return performance.mark("start_import"),Ez(await t.arrayBuffer(),e)}function Sz(t){const e=Mz(t);performance.mark("sheets_start");const i={models:[],layout:{items:[{tabs:[]}]}};for(const o in t.Sheets)performance.mark(`sheet_start_${o}`),i.layout.items[0].tabs.push({id:o}),i.models.push({...Cz(t.Sheets[o],e.get(o)),name:o}),performance.mark(`sheet_end_${o}`);return performance.mark("sheets_end"),i}async function Ez(t,e){performance.mark("array_buffer");const i=t instanceof ArrayBuffer?new Uint8Array(t):t,o=(await qE.get()).read(i,Object.assign({cellNF:!0,cellText:!1,cellStyles:!0,type:"buffer"},e||{}));return performance.mark("wb_read"),Sz(o)}class zz extends md{init(t){qE.get(),t.commands.register({section:"plugin",name:"export xlsx",fn:async()=>{const e=t.getGridContainer().model.models;bz(await vz(Array.from(e,(t=>t[1]))),"export.xlsx")}}),t.addEventListener("drop",(async e=>{if(e.preventDefault(),e.dataTransfer.files.length){const i=e.dataTransfer.files[0];t.setSourceData(await _z(i))}}))}}zz.pluginName="xlsx";class Rz{get dataRange(){return this._dataRange}set dataRange(t){this._dataRange=t,this.invalidateData()}get seriesRange(){return this._seriesRange}set seriesRange(t){this._seriesRange=t,this.invalidateData()}get categoriesRange(){return this._categoriesRange}set categoriesRange(t){this._categoriesRange=t,this.invalidateData()}get title(){return this._title}set title(t){this._title=t,this.invalidateData()}get size(){return this._size}set size(t){this._size=t}get location(){return this._location}set location(t){this._location=t,this.invalidateData()}get type(){return this._type}set type(t){this._type=t,this.invalidateData()}get grouping(){return this._grouping}set grouping(t){this._grouping=t,this.invalidateData()}get datasheetName(){return this.dataRange?.sheet}get dependencies(){if(this._dependencies)return this._dependencies;if(this._dependencies=new Set,this.seriesRange)for(const t of this.seriesRange.cells())this._dependencies.add(t.A1);if(this.categoriesRange)for(const t of this.categoriesRange.cells())this._dependencies.add(t.A1);if(this.dataRange)for(const t of this.dataRange.cells())this._dependencies.add(t.A1);return this._dependencies}invalidateData(){this._options=void 0,this._dependencies=void 0}constructor(t,e){this.model=t,this._inverted=!1,this.populate(e),this.init()}populate(t){this._dataRange=fv.fromA1(t.dataRange),this._title=t.title,this._size=t.size,this._location=t.location,this._type=t.type,this._grouping=t.grouping,this.zIndex=t.zIndex,t.seriesRange&&(this._seriesRange=fv.fromA1(t.seriesRange)),t.categoriesRange&&(this._categoriesRange=fv.fromA1(t.categoriesRange))}getSourceData(){return{dataRange:this.dataRange.A1,seriesRange:this.seriesRange?.A1,categoriesRange:this.categoriesRange?.A1,title:this.title,size:this.size,location:this.location,type:this.type,grouping:this.grouping,zIndex:this.zIndex}}getSeriesData(t,e){return t.map(((t,i)=>{return{type:this.type,name:e[i],stacking:(o=this.grouping,"stacked"===o?"normal":"percentStacked"===o?"percent":void 0),data:t.map((t=>({y:t})))};var o}))}init(){if(this._options)return this._options;let t,e,i=this.model.getValueMatrix(this.dataRange);this.seriesRange&&(this._inverted=this.seriesRange.isColumn,t=this.model.getValueMatrix(this.seriesRange).flat()),this.categoriesRange&&(this._inverted=this.seriesRange.isRow,e=this.model.getValueMatrix(this.categoriesRange).flat()),this._inverted||(i=Tn(i));const o=i.length,n=i[0].length;return t||(t=Array.from({length:o},((t,e)=>`Series ${e+1}`))),e||(e=Array.from({length:n},((t,e)=>(e+1).toString()))),this._options={plotOptions:{},series:this.getSeriesData(i,t),xAxis:{categories:e}},"pie"==this.type&&(this._options.plotOptions.pie={dataLabels:{enabled:!1},showInLegend:!0},this._options.series[0].data.forEach(((t,i)=>{t.name=e[i]})),this._options.series=[this._options.series[0]]),this._options}getOptions(){return this._options||this.init(),this._options}}class Lz extends md{constructor(){super(...arguments),this.charts=new Map,this.dependencies=new Map,this.grids=new Set,this.getChartFactory=t=>()=>{const e=yt("og-plugin-chart");return e.model=t,this.charts.set(t.index,e),e},this._onEdit=t=>{const e=this.getAffectedModels(t.grid.model.name,t.cells.map((t=>t.address)));e.forEach((t=>this.charts.get(t)?.refresh()))}}get models(){return this.grid.model.otherModels[Lz.pluginName]}getChartByModel(t){return this.charts.get(t.index)}getAffectedModels(t,e){const i=new Set;return e.forEach((e=>{const o=this.dependencies.get(t)?.get(e);o&&o.forEach((t=>i.add(t)))})),Array.from(i)}addModel(t){const e=new Rz(this.grid.model,t);e.index=this.models.size;const i=e.datasheetName||this.grid.model.name,o=this.dependencies.get(i)??new Map;if(this.dependencies.set(i,o),null==e.title&&(e.title=`Chart #${this.models.size+1}`),e.dependencies.forEach((t=>{const i=o.get(t)||[];i.push(e.index),o.set(t,i)})),this.models.add(e),this.grid.objects.add({model:e,createComponent:this.getChartFactory(e)}),i){const t=this.grid.getConnectedGrid(i);this.grids.has(t)||(t.addEventListener("grid.edit",this._onEdit),this.grids.add(t))}return e}clear(){this.models.clear(),this.charts=new Map,this.dependencies=new Map}init(t){this.grid=t,t.model.otherModels[Lz.pluginName]=new Set,t.addEventListener("grid.loadmodel",(t=>{this.clear(),t.grid.model.otherSourceData.charts&&t.grid.model.otherSourceData.charts.forEach((t=>this.addModel(t)))})),t.addEventListener("grid.edit",this._onEdit),this.grids.add(t)}}Lz.pluginName="charts";class Iz extends md{constructor(){super(...arguments),this._onModelChange=t=>{this.getGridByModel(t.value).plugins.get("charts").getChartByModel(t.value).refresh()},this.openSidebar=()=>this.editor.rightSidebarComponent="charts",this.closeSidebar=()=>this.editor.rightSidebarComponent=null,this.toggleSidebar=(t=null)=>!1===(t??!1)||"charts"==this.editor.rightSidebarComponent?this.closeSidebar():this.openSidebar()}get editor(){return this._editor}getGridByModel(t){return this.editor.group.getGridByModel(t.model)}init(t){this._editor=t;const e=t.createComponent;t.createComponent=t=>"charts"===t?(this.chartList||(this.chartList=yt("og-plugin-chart-list"),this.chartList.addEventListener("change",this._onModelChange)),this.chartList.filter=this._filter,this._filter=null,this.chartList):e?e(t):null,t.addEventListener("editor.toolbar.init",(()=>{const e=t.toolbar.toolbar3Config.slice(),i=e.findIndex((t=>"sparklines"===t.id))||0;e.splice(i,0,{type:"togglebutton",id:"charts",icon:{icon:"chart-column"},title:"Charts"}),t.toolbar.toolbar3Config=e})),t.addEventListener("editor.toolbar.action",(t=>{"charts"===t.action.key&&this.toggleSidebar()})),t.addEventListener("grid.init",(t=>{t.grid.plugins.register(new Lz)})),t.addEventListener("grid.object.activate",(t=>{t.object instanceof Rz&&(this.openSidebar(),this.chartList?this.chartList.filter=t.object.title:this._filter=t.object.title)})),t.addEventListener("grid.object.deactivate",(()=>{this.chartList&&(this.chartList.filter=null)}))}}Iz.pluginName="chartEditor";class Hz{static init(t){"string"==typeof t?Hz.path=t:Hz.highcharts=t}static async get(){return this.highcharts||(this.highcharts=await this.load()),this.highcharts}static getSync(){return this.highcharts}static async load(){if(Hz.highcharts)return Hz.highcharts;const t=window.define;return window.define=void 0,new Promise(((e,i)=>qn.load(`${this.path}/highcharts.js`).then((()=>{window.Highcharts?(Hz.highcharts=window.Highcharts,e(window.Highcharts)):i("Failed to load Highcharts")})).catch((t=>{console.error("Failed to load Highcharts",t),i(t)})).then((()=>{window.define=t}))))}}const Tz={chart:{styledMode:!0}};async function Az(t){const e=await Hz.get(),i={chart:{type:"column",reflow:!1},title:{text:t.title},series:[{type:"column",name:"Corn",data:[387749,28e4,129e3,64300,54e3,34300]},{type:"column",name:"Wheat",data:[45321,14e4,1e4,140500,19500,113500]}]};return e.merge(i,t.getOptions())}async function Oz(t,e){const i=await Hz.get(),o=await Az(t);return i.chart(e,i.merge(o,Tz,{chart:{}}))}const $z=or`
|
|
7095
|
+
`],GE([ps({type:Object})],YE.prototype,"item",void 0),GE([ps({type:String})],YE.prototype,"value",void 0),GE([fs("og-dropdown")],YE.prototype,"dropdown",void 0),GE([fs("#btnContent")],YE.prototype,"btnContent",void 0),YE=GE([hs("og-toolbar-colorpicker")],YE);class qE{static init(t){this.path=t}static async get(){return this.xlsx||(this.xlsx=await this.load()),this.xlsx}static getSync(){return this.xlsx}static load(){if(!Yn.require)throw new Error("AMDLoader is not initialized");return Yn.require.config({paths:{xlsx:this.path+"/xlsx.full.min"}}),new Promise((t=>Yn.require(["xlsx"],(()=>t(self.XLSX)))))}}const ZE="aaaaaa",XE={bottom:{style:"thin",color:ZE},top:{style:"thin",color:ZE},right:{style:"thin",color:ZE},left:{style:"thin",color:ZE}},QE={exportHiddenRows:!0,exportHiddenColumns:!0,gridLines:!0,defaultBorders:!1,dropdownCells:"value"},KE={alignment:{vertical:"center",horizontal:"center"},bold:!0},JE={g:"n",b:"b",t:"s",n:"n",d:"d",dt:"d",s:"s",m:"s",tm:"s",h:"s",a:"z"};function tz(t,e){return(e.exportHiddenColumns?t.columns:t.visibleColumns).map((e=>({level:e.level,wpx:e.width,hidden:null==e.visibleIndex||t.visibleColumns[e.visibleIndex]!=e})))}function ez(t,e){const i=e.exportHiddenRows?t.rows:t.visibleRows,o=t.headerCount,n=new Array(i.length+o);return[...Array(o).keys()].map((t=>n[t]={level:0})),i.map(((e,i)=>n[i+o]={level:e.level,hpt:.75*e.height,hidden:null==e.visibleIndex||t.visibleRows[e.visibleIndex]!=e})),n}function iz(t,e){const i=t.headerCount,o=e.exportHiddenColumns?t=>t.c:e=>t.columns[e.c].visibleIndex,n=[];return t.merges.mergedCells.forEach((t=>{n.push({s:{c:o(t),r:t.r+i},e:{c:o(t)+t.cs-1,r:t.r+i+t.rs-1}})})),t.mergedHeaders.forEach((t=>{t.h?.hidden||n.push({s:{c:o(t),r:t.r},e:{c:o(t)+t.cs-1,r:t.r+t.rs-1}})})),n}function oz(t,e){const i=t.headerCount,o=e.exportHiddenColumns?t.columns:t.visibleColumns,n=az(e);return[...Array(i).keys()].map((e=>o.map((i=>{const o=i.header[e],r={t:o?"s":"z",s:KE};return o&&(o.html?r.h=`<span>${o.label}</span>`:null!=o.label?r.v=o.label:r.t="z"),n&&(r.s||(r.s={}),r.s=Object.assign({},n,r.s)),null!=o._style&&(r.s=Object.assign({},r.s,sz(t.styles.get(o._style)))),r}))))}function nz(t){return{rgb:t}}function rz(t){return"none"==t.style?null:{style:t.style,color:nz(t.color)}}function sz(t){const e={};return t.color&&(e.color=nz(t.color)),t.bgColor&&(e.bgColor=nz(t.bgColor)),t.fgColor&&(e.fgColor=nz(t.fgColor)),t.patternType&&(e.patternType=t.patternType),t.alignment&&(e.alignment=t.alignment),null!=t.bold&&(e.bold=t.bold),t.sz&&(e.sz=t.sz),t.bottom&&(e.bottom=rz(t.bottom)),t.top&&(e.top=rz(t.top)),t.right&&(e.right=rz(t.right)),t.left&&(e.left=rz(t.left)),null!=t.angle&&(e.angle=t.angle),t.stops&&(e.stops=t.stops.map((t=>({v:t.v,rgb:t.rgb})))),e}function az(t){const e=!0===t.defaultBorders?XE:t.defaultBorders;return e?function(t){const e={};return t.bottom&&(e.bottom=rz(t.bottom)),t.top&&(e.top=rz(t.top)),t.right&&(e.right=rz(t.right)),t.left&&(e.left=rz(t.left)),e}(e):null}function lz(t,e){e=pz(e);const i=t.headerCount,o=new Cw(t),n=new Array(i+t.rows.length),r=new Map,s=az(e),a=t.options.dateFormat||"yyyy-MM-dd",l="displayValue"==e.dropdownCells;oz(t,e).forEach(((t,e)=>n[e]=t));const c=e.exportHiddenRows?t.rows:t.visibleRows,h=e.exportHiddenColumns?t.columns:t.visibleColumns;return c.forEach(((t,e)=>n[e+i]=h.map((e=>{const n=t.cell(e.index),c=JE[n.type],h={t:n.hasValue?c:"z"};n.hasFormula?(h.f=i>0?o.getFormula(n).clone().shift({index:0,offset:i,direction:"down"}).toExcelString():o?o.getFormula(n).toExcelString():n.formula,"d"==n.type&&(h.t="n",h.z=n.format??a)):n.hasValue&&!n.isSpilled&&("s"==h.t?h.v=l?n.formattedValue.toString():n.value.toString():"z"!=h.t&&(h.v=n.value),"g"==n.type?h.t=Q(h.v)?"s":"n":"d"==n.type&&tt(h.v)&&(h.t="n"));const d=n.composedStyle;if(d&&(r.has(d.id)||r.set(d.id,sz(d)),h.s={...r.get(d.id)}),function(t,e){const i=t.calculatedIndent;i>0&&(e.s||(e.s={}),e.s.alignment||(e.s.alignment={}),e.s.alignment.indent=i)}(n,h),n.hasComment){const t=n.model.comments.get(n.address);h.c=t.filter((t=>(t.text??"").length>0)).map((t=>({a:t.author?t.author.name??t.author.id:"",t:t.text}))),h.c.hidden=!0}return"n"!=h.t&&"d"!=h.t||null!=h.z||(h.z=n.format??("d"==h.t?a:"General")),s&&(h.s||(h.s={}),h.s=Object.assign({},s,h.s)),h})))),n}function cz(t,e){return t||e?{t:(t=Object.assign({},e,t)).t,v:t.v,color:nz(t.color)}:null}function hz(t){const e=t.headerCount;return t.conditionalFormats.getSourceData().map((t=>({ref:fv.fromA1s(t.ranges).map((t=>t.shiftDown(0,e,null,!0).A1)).join(" "),t:t.type,f:t.condition&&iv(t.condition[0])?"A1"+t.condition:t.condition??null,s:t.style?sz(t.style):null,stop:t.stop,cmin:cz(t.cmin,"bar"==t.type?{t:"min",color:t.color}:null),cmid:t.cmid?cz(t.cmid,{v:50,t:"percentile"}):null,cmax:cz(t.cmax,"bar"==t.type?{t:"max",color:t.color}:null),color:nz(t.color),v:t.v,thresh:t.thresh})))}function dz(t){return null==t.options.rowTree.reversed?t.rows.length<2?"above":t.rows[0].level>t.rows[1].level?"below":"above":t.options.rowTree.reversed?"below":"above"}function uz(t){return null==t.options.columnTree.reversed?t.columns.length<2?"left":t.columns[0].level>t.columns[1].level?"right":"left":t.options.columnTree.reversed?"right":"left"}const pz=t=>{const e=Object.assign({},QE,t);return e.defaultBorders&&(e.defaultBorders=XE),e},gz=t=>t/25.4;function mz(t){return t?{top:gz(t.top),bottom:gz(t.bottom),left:gz(t.left),right:gz(t.right),header:gz(t.header),footer:gz(t.footer)}:null}function fz(t,e){e=pz(e);const i={};return i["!cols"]=tz(t,e),i["!rows"]=ez(t,e),i["!merges"]=iz(t,e),i["!condfmt"]=hz(t),i["!outline"]={above:"above"==dz(t),left:"left"==uz(t)},t.options.freezeLeft||t.options.freezeTop?i["!freeze"]=`${yv(t.options.freezeLeft)}${t.headerCount+t.options.freezeTop+1}`:t.headerCount>0&&(i["!freeze"]=`A${t.headerCount+1}`),i["!gridlines"]=e.gridLines,i["!print"]=function(t,e){const i=t.options.print??{},o={props:{}};o.props.scale=i.scale?i.scale:function(t){const e=t.options.print??{},i=Q(e.paper)?Nn[e.paper]??Nn.A4:e.paper,o=gz(i.width-e.margins.left-e.margins.right),n=t.columns.reduce(((t,e)=>t+e.width),0)/96;return Math.round(o/n*100)-2}(t),o.props.paper=i.paper,o.props.orientation=i.orientation,i.margins&&(o.margins=mz(i.margins));const n=i.rowBreaks;if(n?.length>0){o.rowBreaks=n.map((i=>({R:e.exportHiddenRows?i:t.rows[i].visibleIndex})));const i=t.options?.print?.rowTitles?fv.fromA1(t.options?.print?.rowTitles):null;i&&(o.titles={s:{r:i.r1,c:-1},e:{r:i.r2,c:-1}})}return o}(t,e),i}async function vz(t,e){const i=qE.get(),o=i instanceof Promise?await i:i;e=pz(e);const n=o.utils.book_new();return t.forEach(((t,i)=>{t.calculations.evaluateAll();const r={...e,...t.exportOptions},s=o.utils.sheet_add_aoa(fz(t,r),lz(t,r));let a=t.name||`Sheet${i+1}`;t.name=a,a.length>31&&(a=a.substring(0,31)),o.utils.book_append_sheet(n,s,a)})),n.Workbook=n.Workbook||{},t.forEach((t=>{const e=n.SheetNames.indexOf(t.name);e<0||(n.Workbook.Sheets||(n.Workbook.Sheets=[]),n.Workbook.Sheets[e]||(n.Workbook.Sheets[e]={}),t.tab?.hidden&&(n.Workbook.Sheets[e].Hidden=1))})),n}async function bz(t,e=null){const i=qE.get(),o=i instanceof Promise?await i:i;return e?o.writeFile(t,e,{cellStyles:!0,bookSST:!0}):o.writeXLSX(t,{cellStyles:!0,bookSST:!0,type:"buffer"})}const yz={b:"b",s:"t",n:"n",d:"d",z:"g",e:"t"};function wz(t){return t.rgb}function xz(t){return{color:wz(t.color),style:t.style}}function kz(t){const e={};return t.color&&(e.color=wz(t.color)),t.bgColor&&(e.bgColor=wz(t.bgColor)),t.fgColor&&(e.fgColor=wz(t.fgColor)),e.fgColor||"000000"!=e.color||(e.color=null),t.alignment&&(e.alignment=t.alignment),t.bold&&(e.bold=t.bold),t.sz&&(e.sz=t.sz),t.top&&(e.top=xz(t.top)),t.bottom&&(e.bottom=xz(t.bottom)),t.left&&(e.left=xz(t.left)),t.right&&(e.right=xz(t.right)),e}function Cz(t,e){const i=t["!ref"]?fv.fromA1(t["!ref"]):fv.fromA1("A1:T100"),o={},n={};if(t["!freeze"]){const e=fv.fromA1(t["!freeze"]);n.freezeLeft=e.c1,n.freezeTop=e.r1}return o.options=n,o.rows=function(t,e){const i=t["!rows"]??[],o=new Array(e);let n;for(let t=0;t<e;t++)n=i[t],o[t]={l:(n?n.level:0)||0,h:n?n.hpx:null};return o}(t,i.r2+1),o.columns=function(t,e){const i=t["!cols"]??[],o=new Array(e);let n;for(let t=0;t<e;t++)n=i[t],o[t]={l:(n?n.level:0)||0,w:n?n.wpx:null};return o}(t,i.c2+1),o.cells=function(t){const e=[],i=new Map;(t["!merges"]??[]).forEach((t=>{const e=new fv(t.s.c,t.s.r);i.set(e.A1,{c:t.s.c,cs:t.e.c-t.s.c+1,r:t.s.r,rs:t.e.r-t.s.r+1})}));for(const o in t){if("!"==o[0])continue;const n=t[o],r=fv.fromA1(o),s={r:r.r1,c:r.c1,t:yz[n.t]},a=i.get(o);a&&(s.cs=a.cs,s.rs=a.rs),n.s&&(s.s=kz(n.s)),n.f?s.f=Iv(n.f):s.v=n.v,["n","d"].includes(n.t)&&null!=n.z&&"General"!=n.z&&(s.z=rn(n.z,"d")),e.push(s)}return e}(t),o.names=e,o.rules=function(t){return t["!condfmt"]?.filter((t=>["formula","scale","bar"].includes(t.t))).map((t=>{const e={type:t.t,ranges:t.ref.toString().replace(/\s/g,";")};return e.style=t.s?kz(t.s):null,e.cmin=t.cmin?{t:t.cmin.t,color:t.cmin.color?wz(t.cmin.color):null}:null,e.cmid=t.cmid?{t:t.cmid.t,color:t.cmid.color?wz(t.cmid.color):null}:null,e.cmax=t.cmax?{t:t.cmax.t,color:t.cmax.color?wz(t.cmax.color):null}:null,e.color=t.color?wz(t.color):null,e.condition=t.f,e.stop=!0,e}))}(t),o}function Mz(t){const e=new Map;return t.Workbook.Names.forEach((({Name:t,Ref:i})=>{const[o,n]=i.split("!");if(!n)return;let r=e.get(o);r||e.set(o,r=[]);const s=fv.fromA1(n);s.c1Anchor&&!s.r1Anchor?(s.r1=0,s.r2=1/0):!s.c1Anchor&&s.r1Anchor&&(s.c1=0,s.c2=1/0),s.removeAnchors(),r.push({name:t,ref:s.A1})})),e}async function _z(t,e){return performance.mark("start_import"),Ez(await t.arrayBuffer(),e)}function Sz(t){const e=Mz(t);performance.mark("sheets_start");const i={models:[],layout:{items:[{tabs:[]}]}};for(const o in t.Sheets)performance.mark(`sheet_start_${o}`),i.layout.items[0].tabs.push({id:o}),i.models.push({...Cz(t.Sheets[o],e.get(o)),name:o}),performance.mark(`sheet_end_${o}`);return performance.mark("sheets_end"),i}async function Ez(t,e){performance.mark("array_buffer");const i=t instanceof ArrayBuffer?new Uint8Array(t):t,o=(await qE.get()).read(i,Object.assign({cellNF:!0,cellText:!1,cellStyles:!0,type:"buffer"},e||{}));return performance.mark("wb_read"),Sz(o)}class zz extends md{init(t){qE.get(),t.commands.register({section:"plugin",name:"export xlsx",fn:async()=>{const e=t.getGridContainer().model.models;bz(await vz(Array.from(e,(t=>t[1]))),"export.xlsx")}}),t.addEventListener("drop",(async e=>{if(e.preventDefault(),e.dataTransfer.files.length){const i=e.dataTransfer.files[0];t.setSourceData(await _z(i))}}))}}zz.pluginName="xlsx";class Rz{get dataRange(){return this._dataRange}set dataRange(t){this._dataRange=t,this.invalidateData()}get seriesRange(){return this._seriesRange}set seriesRange(t){this._seriesRange=t,this.invalidateData()}get categoriesRange(){return this._categoriesRange}set categoriesRange(t){this._categoriesRange=t,this.invalidateData()}get title(){return this._title}set title(t){this._title=t,this.invalidateData()}get size(){return this._size}set size(t){this._size=t}get location(){return this._location}set location(t){this._location=t,this.invalidateData()}get type(){return this._type}set type(t){this._type=t,this.invalidateData()}get grouping(){return this._grouping}set grouping(t){this._grouping=t,this.invalidateData()}get datasheetName(){return this.dataRange?.sheet}get dependencies(){if(this._dependencies)return this._dependencies;if(this._dependencies=new Set,this.seriesRange)for(const t of this.seriesRange.cells())this._dependencies.add(t.A1);if(this.categoriesRange)for(const t of this.categoriesRange.cells())this._dependencies.add(t.A1);if(this.dataRange)for(const t of this.dataRange.cells())this._dependencies.add(t.A1);return this._dependencies}invalidateData(){this._options=void 0,this._dependencies=void 0}constructor(t,e){this.model=t,this._inverted=!1,this.populate(e),this.init()}populate(t){this._dataRange=fv.fromA1(t.dataRange),this._title=t.title,this._size=t.size,this._location=t.location,this._type=t.type,this._grouping=t.grouping,this.zIndex=t.zIndex,t.seriesRange&&(this._seriesRange=fv.fromA1(t.seriesRange)),t.categoriesRange&&(this._categoriesRange=fv.fromA1(t.categoriesRange))}getSourceData(){return{dataRange:this.dataRange.A1,seriesRange:this.seriesRange?.A1,categoriesRange:this.categoriesRange?.A1,title:this.title,size:this.size,location:this.location,type:this.type,grouping:this.grouping,zIndex:this.zIndex}}getSeriesData(t,e){return t.map(((t,i)=>{return{type:this.type,name:e[i],stacking:(o=this.grouping,"stacked"===o?"normal":"percentStacked"===o?"percent":void 0),data:t.map((t=>({y:t})))};var o}))}init(){if(this._options)return this._options;let t,e,i=this.model.getValueMatrix(this.dataRange);this.seriesRange&&(this._inverted=this.seriesRange.isColumn,t=this.model.getValueMatrix(this.seriesRange).flat()),this.categoriesRange&&(this._inverted=this.seriesRange.isRow,e=this.model.getValueMatrix(this.categoriesRange).flat()),this._inverted||(i=Tn(i));const o=i.length,n=i[0].length;return t||(t=Array.from({length:o},((t,e)=>`Series ${e+1}`))),e||(e=Array.from({length:n},((t,e)=>(e+1).toString()))),this._options={plotOptions:{},series:this.getSeriesData(i,t),xAxis:{categories:e}},"pie"==this.type&&(this._options.plotOptions.pie={dataLabels:{enabled:!1},showInLegend:!0},this._options.series[0].data.forEach(((t,i)=>{t.name=e[i]})),this._options.series=[this._options.series[0]]),this._options}getOptions(){return this._options||this.init(),this._options}}class Iz extends md{constructor(){super(...arguments),this.charts=new Map,this.dependencies=new Map,this.grids=new Set,this.getChartFactory=t=>()=>{const e=yt("og-plugin-chart");return e.model=t,this.charts.set(t.index,e),e},this._onEdit=t=>{const e=this.getAffectedModels(t.grid.model.name,t.cells.map((t=>t.address)));e.forEach((t=>this.charts.get(t)?.refresh()))}}get models(){return this.grid.model.otherModels[Iz.pluginName]}getChartByModel(t){return this.charts.get(t.index)}getAffectedModels(t,e){const i=new Set;return e.forEach((e=>{const o=this.dependencies.get(t)?.get(e);o&&o.forEach((t=>i.add(t)))})),Array.from(i)}addModel(t){const e=new Rz(this.grid.model,t);e.index=this.models.size;const i=e.datasheetName||this.grid.model.name,o=this.dependencies.get(i)??new Map;if(this.dependencies.set(i,o),null==e.title&&(e.title=`Chart #${this.models.size+1}`),e.dependencies.forEach((t=>{const i=o.get(t)||[];i.push(e.index),o.set(t,i)})),this.models.add(e),this.grid.objects.add({model:e,createComponent:this.getChartFactory(e)}),i){const t=this.grid.getConnectedGrid(i);this.grids.has(t)||(t.addEventListener("grid.edit",this._onEdit),this.grids.add(t))}return e}clear(){this.models.clear(),this.charts=new Map,this.dependencies=new Map}init(t){this.grid=t,t.model.otherModels[Iz.pluginName]=new Set,t.addEventListener("grid.loadmodel",(t=>{this.clear(),t.grid.model.otherSourceData.charts&&t.grid.model.otherSourceData.charts.forEach((t=>this.addModel(t)))})),t.addEventListener("grid.edit",this._onEdit),this.grids.add(t)}}Iz.pluginName="charts";class Lz extends md{constructor(){super(...arguments),this._onModelChange=t=>{this.getGridByModel(t.value).plugins.get("charts").getChartByModel(t.value).refresh()},this.openSidebar=()=>this.editor.rightSidebarComponent="charts",this.closeSidebar=()=>this.editor.rightSidebarComponent=null,this.toggleSidebar=(t=null)=>!1===(t??!1)||"charts"==this.editor.rightSidebarComponent?this.closeSidebar():this.openSidebar()}get editor(){return this._editor}getGridByModel(t){return this.editor.group.getGridByModel(t.model)}init(t){this._editor=t;const e=t.createComponent;t.createComponent=t=>"charts"===t?(this.chartList||(this.chartList=yt("og-plugin-chart-list"),this.chartList.addEventListener("change",this._onModelChange)),this.chartList.filter=this._filter,this._filter=null,this.chartList):e?e(t):null,t.addEventListener("editor.toolbar.init",(()=>{const e=t.toolbar.toolbar3Config.slice(),i=e.findIndex((t=>"sparklines"===t.id))||0;e.splice(i,0,{type:"togglebutton",id:"charts",icon:{icon:"chart-column"},title:"Charts"}),t.toolbar.toolbar3Config=e})),t.addEventListener("editor.toolbar.action",(t=>{"charts"===t.action.key&&this.toggleSidebar()})),t.addEventListener("grid.init",(t=>{t.grid.plugins.register(new Iz)})),t.addEventListener("grid.object.activate",(t=>{t.object instanceof Rz&&(this.openSidebar(),this.chartList?this.chartList.filter=t.object.title:this._filter=t.object.title)})),t.addEventListener("grid.object.deactivate",(()=>{this.chartList&&(this.chartList.filter=null)}))}}Lz.pluginName="chartEditor";class Hz{static init(t){"string"==typeof t?Hz.path=t:Hz.highcharts=t}static async get(){return this.highcharts||(this.highcharts=await this.load()),this.highcharts}static getSync(){return this.highcharts}static async load(){if(Hz.highcharts)return Hz.highcharts;const t=window.define;return window.define=void 0,new Promise(((e,i)=>qn.load(`${this.path}/highcharts.js`).then((()=>{window.Highcharts?(Hz.highcharts=window.Highcharts,e(window.Highcharts)):i("Failed to load Highcharts")})).catch((t=>{console.error("Failed to load Highcharts",t),i(t)})).then((()=>{window.define=t}))))}}const Tz={chart:{styledMode:!0}};async function Az(t){const e=await Hz.get(),i={chart:{type:"column",reflow:!1},title:{text:t.title},series:[{type:"column",name:"Corn",data:[387749,28e4,129e3,64300,54e3,34300]},{type:"column",name:"Wheat",data:[45321,14e4,1e4,140500,19500,113500]}]};return e.merge(i,t.getOptions())}async function Oz(t,e){const i=await Hz.get(),o=await Az(t);return i.chart(e,i.merge(o,Tz,{chart:{}}))}const $z=or`
|
|
7095
7096
|
* {
|
|
7096
7097
|
box-sizing: border-box;
|
|
7097
7098
|
}
|
|
@@ -8441,4 +8442,4 @@ milkdown-block-handle {
|
|
|
8441
8442
|
`:null}
|
|
8442
8443
|
</div>
|
|
8443
8444
|
</og-panel>
|
|
8444
|
-
`:null,this.addEventListener("mousedown",(t=>t.stopPropagation()))}getTypeIndex(t){const e=this.types.findIndex((e=>e.type==t.type&&e.grouping==(t.grouping||"standard")));return e>-1?e:null}updateModel(){if(this.editTitle=!1,!this.model)return;this.titleInput&&(this.model.title=this.titleInput.value);const t=this.types[this.typeList.value];this.model.type=t.type,this.model.grouping=t.grouping,this.model.categoriesRange=this.categoryRangeInput?.value?fv.fromA1(this.categoryRangeInput.value):null,this.model.seriesRange=this.seriesRangeInput?.value?fv.fromA1(this.seriesRangeInput.value):null,this.model.dataRange=fv.fromA1(this.dataRangeInput.value),this.dispatchEvent(new On({value:this.model}))}async updated(){this.editTitle&&this.titleInput&&(await this.titleInput.updateComplete,this.titleInput.focus(),this.titleInput.selectAll())}};Uz.styles=[Fz],Wz([ps({type:Object})],Uz.prototype,"model",void 0),Wz([gs()],Uz.prototype,"editTitle",void 0),Wz([fs("#title")],Uz.prototype,"titleInput",void 0),Wz([fs("#type")],Uz.prototype,"typeList",void 0),Wz([fs("#dataRange")],Uz.prototype,"dataRangeInput",void 0),Wz([fs("#seriesRange")],Uz.prototype,"seriesRangeInput",void 0),Wz([fs("#categoryRange")],Uz.prototype,"categoryRangeInput",void 0),Uz=Wz([hs("og-plugin-chart-form")],Uz);const Gz=wa().themes.get("dark");Object.assign(Gz.definition,{"highcharts-title-font-size":"16px","highcharts-subtitle-font-size":"14px","highcharts-color-0":"#2caffe","highcharts-color-1":"#544fc5","highcharts-color-2":"#00e272","highcharts-color-3":"#fe6a35","highcharts-color-4":"#6b8abc","highcharts-color-5":"#d568fb","highcharts-color-6":"#2ee0ca","highcharts-color-7":"#fa4b42","highcharts-color-8":"#feb56a","highcharts-color-9":"#91e8e1","highcharts-background-color":"rgb(48, 48, 48)","highcharts-neutral-color-100":"rgb(255, 255, 255)","highcharts-neutral-color-80":"rgb(214, 214, 214)","highcharts-neutral-color-60":"rgb(173, 173, 173)","highcharts-neutral-color-40":"rgb(133, 133, 133)","highcharts-neutral-color-20":"rgb(92, 92, 92)","highcharts-neutral-color-10":"rgb(71, 71, 71)","highcharts-neutral-color-5":"rgb(61, 61, 61)","highcharts-neutral-color-3":"rgb(57, 57, 57)","highcharts-highlight-color-100":"rgb(122, 167, 255)","highcharts-highlight-color-80":"rgb(108, 144, 214)","highcharts-highlight-color-60":"rgb(94, 121, 173)","highcharts-highlight-color-20":"rgb(65, 74, 92)","highcharts-highlight-color-10":"rgb(58, 63, 71)"});const Yz=wa().themes.get("light");Object.assign(Yz.definition,{"highcharts-title-font-size":"16px","chart-background-color":"#2a2a2b","highcharts-color-0":"#2caffe","highcharts-color-1":"#544fc5","highcharts-color-2":"#00e272","highcharts-color-3":"#fe6a35","highcharts-color-4":"#6b8abc","highcharts-color-5":"#d568fb","highcharts-color-6":"#2ee0ca","highcharts-color-7":"#fa4b42","highcharts-color-8":"#feb56a","highcharts-color-9":"#91e8e1","highcharts-background-color":"#ffffff","highcharts-neutral-color-100":"#000000","highcharts-neutral-color-80":"#333333","highcharts-neutral-color-60":"#666666","highcharts-neutral-color-40":"#999999","highcharts-neutral-color-20":"#cccccc","highcharts-neutral-color-10":"#e6e6e6","highcharts-neutral-color-5":"#f2f2f2","highcharts-neutral-color-3":"#f7f7f7","highcharts-highlight-color-100":"#0022ff","highcharts-highlight-color-80":"#334eff","highcharts-highlight-color-60":"#667aff","highcharts-highlight-color-20":"#ccd3ff","highcharts-highlight-color-10":"#e6e9ff","highcharts-positive-color":"#06b535","highcharts-negative-color":"#f21313","highcharts-annotation-color-0":"rgba(130, 170, 255, 0.4)","highcharts-annotation-color-1":"rgba(139, 191, 216, 0.4)","highcharts-annotation-color-2":"rgba(150, 216, 192, 0.4)","highcharts-annotation-color-3":"rgba(156, 229, 161, 0.4)","highcharts-annotation-color-4":"rgba(162, 241, 130, 0.4)","highcharts-annotation-color-5":"rgba(169, 255, 101, 0.4)"});var qz=i(2439),Zz=i(8022),Xz=i(6158),Qz=i(127),Kz=i(4505),Jz=i(8659),tR=i(397),eR=i(930),iR=i(9723),oR=i(6343),nR=i(4582),rR=i(6127),sR=i(8238),aR=i(7362),lR=i(452),cR=i(5390),hR=i(3368),dR=i(6288),uR=i(7513),pR=i(1386),gR=i(5764),mR=i(1261),fR=i(3071),vR=i(3285),bR=i(2356),yR=i(6780),wR=i(8542),xR=i(8385),kR=i(1025),CR=i(2034),MR=i(8113),_R=i(1821),SR=i(7212),ER=i(2583),zR=i(5360),RR=i(2377),
|
|
8445
|
+
`:null,this.addEventListener("mousedown",(t=>t.stopPropagation()))}getTypeIndex(t){const e=this.types.findIndex((e=>e.type==t.type&&e.grouping==(t.grouping||"standard")));return e>-1?e:null}updateModel(){if(this.editTitle=!1,!this.model)return;this.titleInput&&(this.model.title=this.titleInput.value);const t=this.types[this.typeList.value];this.model.type=t.type,this.model.grouping=t.grouping,this.model.categoriesRange=this.categoryRangeInput?.value?fv.fromA1(this.categoryRangeInput.value):null,this.model.seriesRange=this.seriesRangeInput?.value?fv.fromA1(this.seriesRangeInput.value):null,this.model.dataRange=fv.fromA1(this.dataRangeInput.value),this.dispatchEvent(new On({value:this.model}))}async updated(){this.editTitle&&this.titleInput&&(await this.titleInput.updateComplete,this.titleInput.focus(),this.titleInput.selectAll())}};Uz.styles=[Fz],Wz([ps({type:Object})],Uz.prototype,"model",void 0),Wz([gs()],Uz.prototype,"editTitle",void 0),Wz([fs("#title")],Uz.prototype,"titleInput",void 0),Wz([fs("#type")],Uz.prototype,"typeList",void 0),Wz([fs("#dataRange")],Uz.prototype,"dataRangeInput",void 0),Wz([fs("#seriesRange")],Uz.prototype,"seriesRangeInput",void 0),Wz([fs("#categoryRange")],Uz.prototype,"categoryRangeInput",void 0),Uz=Wz([hs("og-plugin-chart-form")],Uz);const Gz=wa().themes.get("dark");Object.assign(Gz.definition,{"highcharts-title-font-size":"16px","highcharts-subtitle-font-size":"14px","highcharts-color-0":"#2caffe","highcharts-color-1":"#544fc5","highcharts-color-2":"#00e272","highcharts-color-3":"#fe6a35","highcharts-color-4":"#6b8abc","highcharts-color-5":"#d568fb","highcharts-color-6":"#2ee0ca","highcharts-color-7":"#fa4b42","highcharts-color-8":"#feb56a","highcharts-color-9":"#91e8e1","highcharts-background-color":"rgb(48, 48, 48)","highcharts-neutral-color-100":"rgb(255, 255, 255)","highcharts-neutral-color-80":"rgb(214, 214, 214)","highcharts-neutral-color-60":"rgb(173, 173, 173)","highcharts-neutral-color-40":"rgb(133, 133, 133)","highcharts-neutral-color-20":"rgb(92, 92, 92)","highcharts-neutral-color-10":"rgb(71, 71, 71)","highcharts-neutral-color-5":"rgb(61, 61, 61)","highcharts-neutral-color-3":"rgb(57, 57, 57)","highcharts-highlight-color-100":"rgb(122, 167, 255)","highcharts-highlight-color-80":"rgb(108, 144, 214)","highcharts-highlight-color-60":"rgb(94, 121, 173)","highcharts-highlight-color-20":"rgb(65, 74, 92)","highcharts-highlight-color-10":"rgb(58, 63, 71)"});const Yz=wa().themes.get("light");Object.assign(Yz.definition,{"highcharts-title-font-size":"16px","chart-background-color":"#2a2a2b","highcharts-color-0":"#2caffe","highcharts-color-1":"#544fc5","highcharts-color-2":"#00e272","highcharts-color-3":"#fe6a35","highcharts-color-4":"#6b8abc","highcharts-color-5":"#d568fb","highcharts-color-6":"#2ee0ca","highcharts-color-7":"#fa4b42","highcharts-color-8":"#feb56a","highcharts-color-9":"#91e8e1","highcharts-background-color":"#ffffff","highcharts-neutral-color-100":"#000000","highcharts-neutral-color-80":"#333333","highcharts-neutral-color-60":"#666666","highcharts-neutral-color-40":"#999999","highcharts-neutral-color-20":"#cccccc","highcharts-neutral-color-10":"#e6e6e6","highcharts-neutral-color-5":"#f2f2f2","highcharts-neutral-color-3":"#f7f7f7","highcharts-highlight-color-100":"#0022ff","highcharts-highlight-color-80":"#334eff","highcharts-highlight-color-60":"#667aff","highcharts-highlight-color-20":"#ccd3ff","highcharts-highlight-color-10":"#e6e9ff","highcharts-positive-color":"#06b535","highcharts-negative-color":"#f21313","highcharts-annotation-color-0":"rgba(130, 170, 255, 0.4)","highcharts-annotation-color-1":"rgba(139, 191, 216, 0.4)","highcharts-annotation-color-2":"rgba(150, 216, 192, 0.4)","highcharts-annotation-color-3":"rgba(156, 229, 161, 0.4)","highcharts-annotation-color-4":"rgba(162, 241, 130, 0.4)","highcharts-annotation-color-5":"rgba(169, 255, 101, 0.4)"});var qz=i(2439),Zz=i(8022),Xz=i(6158),Qz=i(127),Kz=i(4505),Jz=i(8659),tR=i(397),eR=i(930),iR=i(9723),oR=i(6343),nR=i(4582),rR=i(6127),sR=i(8238),aR=i(7362),lR=i(452),cR=i(5390),hR=i(3368),dR=i(6288),uR=i(7513),pR=i(1386),gR=i(5764),mR=i(1261),fR=i(3071),vR=i(3285),bR=i(2356),yR=i(6780),wR=i(8542),xR=i(8385),kR=i(1025),CR=i(2034),MR=i(8113),_R=i(1821),SR=i(7212),ER=i(2583),zR=i(5360),RR=i(2377),IR=i(2864),LR=i(7998),HR=i(4101),TR=i(7813),AR=i(5037),OR=i(7005),$R=i(9626),DR=i(9517),NR=i(1504),PR=i(3838),jR=i(4935),VR=i(7699),BR=i(3322),FR=i(5757),WR=i(536),UR=i(1673),GR=i(8736),YR=i(196),qR=i(5133),ZR=i(6092),XR=i(791),QR=i(5927),KR=i(1802),JR=i(9511),tI=i(6267),eI=i(1072),iI=i(4331),oI=i(8644),nI=i(2704),rI=i(2419),sI=i(6363),aI=i(5236),lI=i(3499),cI=i(3811),hI=i(1953),dI=i(4729),uI=i(8964),pI=i(8540),gI=i(8752),mI=i(8783),fI=i(8270),vI=i(7261),bI=i(9231),yI=i(4555),wI=i(5293),xI=i(6981),kI=i(5268),CI=i(2680),MI=i(789),_I=i(4373),SI=i(436),EI=i(8573),zI=i(1808),RI=i(3247),II=i(5143),LI=i(2415),HI=i(2561),TI=i(5726),AI=i(7436),OI=i(4201),$I=i(8248),DI=i(6433),NI=i(2698),PI=i(979),jI=i(9358),VI=i(9176),BI=i(1239),FI=i(4218),WI=i(8377),UI=i(3740),GI=i(5379),YI=i(9974),qI=i(8955),ZI=i(3559),XI=i(809),QI=i(8014),KI=i(8265),JI=i(3300),tL=i(8724),eL=i(8033),iL=i(7700),oL=i(5741),nL=i(3478),rL=i(512),sL=i(499),aL=i(8680),lL=i(9646),cL=i(9432),hL=i(2841),dL=i(75),uL=i(9256),pL=i(444),gL=i(5633),mL=i(3788),fL=i(3573),vL=i(9948),bL=i(1836),yL=i(7029),wL=i(8532),xL=i(6639),kL=i(1633),CL=i(9805),ML=i(2171),_L=i(875),SL=i(9595),EL=i(3894),zL=i(2803),RL=i(7765),IL=i(8804),LL=i(8654),HL=i(257),TL=i(5844),AL=i(9651),OL=i(760),$L=i(9518),DL=i(4585),NL=i(1769),PL=i(643),jL=i(5156),VL=i(822),BL=i(8249),FL=i(3434),WL=i(9314),UL=i(3093),GL=i(7721),YL=i(588),qL=i(7645),ZL=i(7148),XL=i(6795),QL=i(7047),KL=i(9428),JL=i(1879),tH=i(9779),eH=i(2476),iH=i(9648),oH=i(2896),nH=i(6817),rH=i(5196),sH=i(2762),aH=i(5981),lH=i(9014),cH=i(2611),hH=i(7946),dH=i(6301),uH=i(8020),pH=i(3987),gH=i(3192),mH=i(8796),fH=i(2489),vH=i(7324),bH=i(6069),yH=i(4155),wH=i(6977),xH=i(8055),kH=i(2653),CH=i(9492),MH=i(4334),_H=i(6804),SH=i(9954),EH=i(2211),zH=i(5211),RH=i(1519),IH=i(6204),LH=i(5501),HH=i(5244),TH=i(9742),AH=i(1552),OH=i(1330),$H=i(2596),DH=i(5184),NH=i(7675),PH=i(1513),jH=i(9396),VH=i(7673),BH=i(244),FH=i(1187),WH=i(1736),UH=i(4390),GH=i(7106),YH=i(2096),qH=i(9991),ZH=i(5629),XH=i(3386),QH=i(6651),KH=i(1684),JH=i(3849),tT=i(2582),eT=i(8569),iT=i(2955),oT=i(9100),nT=i(7381),rT=i(9190),sT=i(4071),aT=i(8e3),lT=i(4633),cT=i(4374),hT=i(486),dT=i(3680),uT=i(9999),pT=i(2830),gT=i(5255),mT=i(6021),fT=i(2214),vT=i(8497),bT=i(2052),yT=i(5327),wT=i(8701),xT=i(8722),kT=i(7325),CT=i(2445);const MT=[qz.mw,Zz.mw,Xz.mw,Qz.mw,Kz.mw,Jz.mw,tR.mw,eR.mw,iR.mw,nR.mw,oR.mw,rR.mw,sR.mw,aR.mw,lR.mw,cR.mw,hR.mw,dR.mw,uR.mw,pR.mw,gR.mw,mR.mw,fR.mw,vR.mw,bR.mw,yR.mw,wR.mw,xR.mw,kR.mw,MR.mw,_R.mw,SR.mw,ER.mw,zR.mw,RR.mw,IR.mw,LR.mw,HR.mw,TR.mw,AR.mw,OR.mw,$R.mw,NR.mw,DR.mw,PR.mw,jR.mw,VR.mw,BR.mw,FR.mw,WR.mw,UR.mw,GR.mw,YR.mw,qR.mw,ZR.mw,XR.mw,KR.mw,JR.mw,tI.mw,eI.mw,iI.mw,oI.mw,nI.mw,rI.mw,sI.mw,aI.mw,lI.mw,cI.mw,hI.mw,dI.mw,uI.mw,pI.mw,gI.mw,mI.mw,fI.mw,QR.mw,vI.mw,bI.mw,yI.mw,wI.mw,xI.mw,kI.mw,CI.mw,MI.mw,_I.mw,SI.mw,EI.mw,zI.mw,RI.mw,II.mw,LI.mw,HI.mw,TI.mw,AI.mw,OI.mw,$I.mw,DI.mw,NI.mw,PI.mw,jI.mw,VI.mw,BI.mw,FI.mw,WI.mw,UI.mw,GI.mw,YI.mw,qI.mw,ZI.mw,XI.mw,QI.mw,KI.mw,JI.mw,tL.mw,eL.mw,iL.mw,oL.mw,CR.mw,nL.mw,rL.mw,sL.mw,aL.mw,lL.mw,cL.mw,hL.mw,dL.mw,uL.mw,pL.mw,gL.mw,mL.mw,fL.mw,vL.mw,yL.mw,bL.mw,xL.mw,wL.mw,kL.mw,CL.mw,ML.mw,_L.mw,SL.mw,EL.mw,zL.mw,RL.mw,IL.mw,OL.mw,$L.mw,DL.mw,NL.mw,PL.mw,jL.mw,VL.mw,FL.mw,WL.mw,UL.mw,XL.mw,QL.mw,KL.mw,JL.mw,tH.mw,eH.mw,iH.mw,oH.mw,LL.mw,HL.mw,AL.mw,TL.mw,nH.mw,rH.mw,sH.mw,aH.mw,lH.mw,cH.mw,hH.mw,dH.mw,GL.mw,YL.mw,qL.mw,ZL.mw,pH.mw,gH.mw,mH.mw,fH.mw,vH.mw,bH.mw,yH.mw,wH.mw,xH.mw,kH.mw,CH.mw,MH.mw,_H.mw,SH.mw,EH.mw,zH.mw,RH.mw,IH.mw,LH.mw,uH.mw,HH.mw,TH.mw,AH.mw,OH.mw,$H.mw,DH.mw,NH.mw,PH.mw,jH.mw,VH.mw,BH.mw,FH.mw,WH.mw,UH.mw,GH.mw,YH.mw,qH.mw,ZH.mw,XH.mw,QH.mw,KH.mw,JH.mw,tT.mw,eT.mw,iT.mw,oT.mw,nT.mw,rT.mw,sT.mw,aT.mw,lT.mw,cT.mw,hT.mw,dT.mw,uT.mw,pT.mw,gT.mw,mT.mw,fT.mw,vT.mw,bT.mw,BL.mw,yT.mw,wT.mw,xT.mw,kT.mw,CT.mw],_T={xlsx:V,charts:B},ST={name:"@omegagrid/bundle",version:"0.6.103"};wa().activate("light"),jh.styleDefault="fal",Vh.add(...MT)})(),window.Omegagrid=o})();
|