From 8506568328b7cc3d87d2d75553a13516146084b8 Mon Sep 17 00:00:00 2001 From: silvester-pari Date: Thu, 30 Jan 2025 17:02:03 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20EOX-A/EO?= =?UTF-8?q?xElements@56edaf0dcdf37784457b1792faf968966de1ca59=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...or-F6OSRLHC-CvVWKL2l.js => Color-F6OSRLHC-D-erpJqC.js} | 2 +- ...HY34-C3sBenEi.js => DocsRenderer-CFRXHY34-BqYavBbx.js} | 2 +- assets/{iframe-YBxBTXqz.js => iframe-CR1vRkAE.js} | 4 ++-- assets/{index-oEW8ocTu.js => index-9geMTWX-.js} | 6 +++--- assets/{lerc--OnEzsnw.js => lerc-6b9o-jBY.js} | 2 +- assets/{preview-pxzbaAGv.js => preview-Bpyaj9zU.js} | 4 ++-- assets/{preview--v8B2K_6.js => preview-DXIyYOjp.js} | 8 ++++---- iframe.html | 2 +- project.json | 2 +- 9 files changed, 16 insertions(+), 16 deletions(-) rename assets/{Color-F6OSRLHC-CvVWKL2l.js => Color-F6OSRLHC-D-erpJqC.js} (99%) rename assets/{DocsRenderer-CFRXHY34-C3sBenEi.js => DocsRenderer-CFRXHY34-BqYavBbx.js} (93%) rename assets/{iframe-YBxBTXqz.js => iframe-CR1vRkAE.js} (99%) rename assets/{index-oEW8ocTu.js => index-9geMTWX-.js} (99%) rename assets/{lerc--OnEzsnw.js => lerc-6b9o-jBY.js} (99%) rename assets/{preview-pxzbaAGv.js => preview-Bpyaj9zU.js} (63%) rename assets/{preview--v8B2K_6.js => preview-DXIyYOjp.js} (99%) diff --git a/assets/Color-F6OSRLHC-CvVWKL2l.js b/assets/Color-F6OSRLHC-D-erpJqC.js similarity index 99% rename from assets/Color-F6OSRLHC-CvVWKL2l.js rename to assets/Color-F6OSRLHC-D-erpJqC.js index 3332ef6a0..17933eaf6 100644 --- a/assets/Color-F6OSRLHC-CvVWKL2l.js +++ b/assets/Color-F6OSRLHC-D-erpJqC.js @@ -1 +1 @@ -import{_ as ce,T as M,q as J,r as he,G as fe,M as de,d as ge,g as be,a as H}from"./index-oEW8ocTu.js";import{e as m,r as p}from"./index-DuuuSFPv.js";import"./iframe-YBxBTXqz.js";import"./index-DPS9-N-h.js";import"./index-DrFu-skq.js";var me=H({"../../node_modules/color-name/index.js"(n,l){l.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]}}}),Q=H({"../../node_modules/color-convert/conversions.js"(n,l){var c=me(),h={};for(let e of Object.keys(c))h[c[e]]=e;var u={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"]}};l.exports=u;for(let e of Object.keys(u)){if(!("channels"in u[e]))throw new Error("missing channels property: "+e);if(!("labels"in u[e]))throw new Error("missing channel labels property: "+e);if(u[e].labels.length!==u[e].channels)throw new Error("channel and label counts mismatch: "+e);let{channels:t,labels:r}=u[e];delete u[e].channels,delete u[e].labels,Object.defineProperty(u[e],"channels",{value:t}),Object.defineProperty(u[e],"labels",{value:r})}u.rgb.hsl=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.min(t,r,a),i=Math.max(t,r,a),s=i-o,f,g;i===o?f=0:t===i?f=(r-a)/s:r===i?f=2+(a-t)/s:a===i&&(f=4+(t-r)/s),f=Math.min(f*60,360),f<0&&(f+=360);let b=(o+i)/2;return i===o?g=0:b<=.5?g=s/(i+o):g=s/(2-i-o),[f,g*100,b*100]},u.rgb.hsv=function(e){let t,r,a,o,i,s=e[0]/255,f=e[1]/255,g=e[2]/255,b=Math.max(s,f,g),y=b-Math.min(s,f,g),v=function(w){return(b-w)/6/y+1/2};return y===0?(o=0,i=0):(i=y/b,t=v(s),r=v(f),a=v(g),s===b?o=a-r:f===b?o=1/3+t-a:g===b&&(o=2/3+r-t),o<0?o+=1:o>1&&(o-=1)),[o*360,i*100,b*100]},u.rgb.hwb=function(e){let t=e[0],r=e[1],a=e[2],o=u.rgb.hsl(e)[0],i=1/255*Math.min(t,Math.min(r,a));return a=1-1/255*Math.max(t,Math.max(r,a)),[o,i*100,a*100]},u.rgb.cmyk=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.min(1-t,1-r,1-a),i=(1-t-o)/(1-o)||0,s=(1-r-o)/(1-o)||0,f=(1-a-o)/(1-o)||0;return[i*100,s*100,f*100,o*100]};function d(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}u.rgb.keyword=function(e){let t=h[e];if(t)return t;let r=1/0,a;for(let o of Object.keys(c)){let i=c[o],s=d(e,i);s.04045?((t+.055)/1.055)**2.4:t/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,a=a>.04045?((a+.055)/1.055)**2.4:a/12.92;let o=t*.4124+r*.3576+a*.1805,i=t*.2126+r*.7152+a*.0722,s=t*.0193+r*.1192+a*.9505;return[o*100,i*100,s*100]},u.rgb.lab=function(e){let t=u.rgb.xyz(e),r=t[0],a=t[1],o=t[2];r/=95.047,a/=100,o/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,a=a>.008856?a**(1/3):7.787*a+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;let i=116*a-16,s=500*(r-a),f=200*(a-o);return[i,s,f]},u.hsl.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100,o,i,s;if(r===0)return s=a*255,[s,s,s];a<.5?o=a*(1+r):o=a+r-a*r;let f=2*a-o,g=[0,0,0];for(let b=0;b<3;b++)i=t+1/3*-(b-1),i<0&&i++,i>1&&i--,6*i<1?s=f+(o-f)*6*i:2*i<1?s=o:3*i<2?s=f+(o-f)*(2/3-i)*6:s=f,g[b]=s*255;return g},u.hsl.hsv=function(e){let t=e[0],r=e[1]/100,a=e[2]/100,o=r,i=Math.max(a,.01);a*=2,r*=a<=1?a:2-a,o*=i<=1?i:2-i;let s=(a+r)/2,f=a===0?2*o/(i+o):2*r/(a+r);return[t,f*100,s*100]},u.hsv.rgb=function(e){let t=e[0]/60,r=e[1]/100,a=e[2]/100,o=Math.floor(t)%6,i=t-Math.floor(t),s=255*a*(1-r),f=255*a*(1-r*i),g=255*a*(1-r*(1-i));switch(a*=255,o){case 0:return[a,g,s];case 1:return[f,a,s];case 2:return[s,a,g];case 3:return[s,f,a];case 4:return[g,s,a];case 5:return[a,s,f]}},u.hsv.hsl=function(e){let t=e[0],r=e[1]/100,a=e[2]/100,o=Math.max(a,.01),i,s;s=(2-r)*a;let f=(2-r)*o;return i=r*o,i/=f<=1?f:2-f,i=i||0,s/=2,[t,i*100,s*100]},u.hwb.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100,o=r+a,i;o>1&&(r/=o,a/=o);let s=Math.floor(6*t),f=1-a;i=6*t-s,s&1&&(i=1-i);let g=r+i*(f-r),b,y,v;switch(s){default:case 6:case 0:b=f,y=g,v=r;break;case 1:b=g,y=f,v=r;break;case 2:b=r,y=f,v=g;break;case 3:b=r,y=g,v=f;break;case 4:b=g,y=r,v=f;break;case 5:b=f,y=r,v=g;break}return[b*255,y*255,v*255]},u.cmyk.rgb=function(e){let t=e[0]/100,r=e[1]/100,a=e[2]/100,o=e[3]/100,i=1-Math.min(1,t*(1-o)+o),s=1-Math.min(1,r*(1-o)+o),f=1-Math.min(1,a*(1-o)+o);return[i*255,s*255,f*255]},u.xyz.rgb=function(e){let t=e[0]/100,r=e[1]/100,a=e[2]/100,o,i,s;return o=t*3.2406+r*-1.5372+a*-.4986,i=t*-.9689+r*1.8758+a*.0415,s=t*.0557+r*-.204+a*1.057,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,i=i>.0031308?1.055*i**(1/2.4)-.055:i*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,o=Math.min(Math.max(0,o),1),i=Math.min(Math.max(0,i),1),s=Math.min(Math.max(0,s),1),[o*255,i*255,s*255]},u.xyz.lab=function(e){let t=e[0],r=e[1],a=e[2];t/=95.047,r/=100,a/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,a=a>.008856?a**(1/3):7.787*a+16/116;let o=116*r-16,i=500*(t-r),s=200*(r-a);return[o,i,s]},u.lab.xyz=function(e){let t=e[0],r=e[1],a=e[2],o,i,s;i=(t+16)/116,o=r/500+i,s=i-a/200;let f=i**3,g=o**3,b=s**3;return i=f>.008856?f:(i-16/116)/7.787,o=g>.008856?g:(o-16/116)/7.787,s=b>.008856?b:(s-16/116)/7.787,o*=95.047,i*=100,s*=108.883,[o,i,s]},u.lab.lch=function(e){let t=e[0],r=e[1],a=e[2],o;o=Math.atan2(a,r)*360/2/Math.PI,o<0&&(o+=360);let i=Math.sqrt(r*r+a*a);return[t,i,o]},u.lch.lab=function(e){let t=e[0],r=e[1],a=e[2]/360*2*Math.PI,o=r*Math.cos(a),i=r*Math.sin(a);return[t,o,i]},u.rgb.ansi16=function(e,t=null){let[r,a,o]=e,i=t===null?u.rgb.hsv(e)[2]:t;if(i=Math.round(i/50),i===0)return 30;let s=30+(Math.round(o/255)<<2|Math.round(a/255)<<1|Math.round(r/255));return i===2&&(s+=60),s},u.hsv.ansi16=function(e){return u.rgb.ansi16(u.hsv.rgb(e),e[2])},u.rgb.ansi256=function(e){let t=e[0],r=e[1],a=e[2];return t===r&&r===a?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(a/255*5)},u.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];let r=(~~(e>50)+1)*.5,a=(t&1)*r*255,o=(t>>1&1)*r*255,i=(t>>2&1)*r*255;return[a,o,i]},u.ansi256.rgb=function(e){if(e>=232){let i=(e-232)*10+8;return[i,i,i]}e-=16;let t,r=Math.floor(e/36)/5*255,a=Math.floor((t=e%36)/6)/5*255,o=t%6/5*255;return[r,a,o]},u.rgb.hex=function(e){let t=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(t.length)+t},u.hex.rgb=function(e){let t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let r=t[0];t[0].length===3&&(r=r.split("").map(f=>f+f).join(""));let a=parseInt(r,16),o=a>>16&255,i=a>>8&255,s=a&255;return[o,i,s]},u.rgb.hcg=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.max(Math.max(t,r),a),i=Math.min(Math.min(t,r),a),s=o-i,f,g;return s<1?f=i/(1-s):f=0,s<=0?g=0:o===t?g=(r-a)/s%6:o===r?g=2+(a-t)/s:g=4+(t-r)/s,g/=6,g%=1,[g*360,s*100,f*100]},u.hsl.hcg=function(e){let t=e[1]/100,r=e[2]/100,a=r<.5?2*t*r:2*t*(1-r),o=0;return a<1&&(o=(r-.5*a)/(1-a)),[e[0],a*100,o*100]},u.hsv.hcg=function(e){let t=e[1]/100,r=e[2]/100,a=t*r,o=0;return a<1&&(o=(r-a)/(1-a)),[e[0],a*100,o*100]},u.hcg.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100;if(r===0)return[a*255,a*255,a*255];let o=[0,0,0],i=t%1*6,s=i%1,f=1-s,g=0;switch(Math.floor(i)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=f,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=f,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=f}return g=(1-r)*a,[(r*o[0]+g)*255,(r*o[1]+g)*255,(r*o[2]+g)*255]},u.hcg.hsv=function(e){let t=e[1]/100,r=e[2]/100,a=t+r*(1-t),o=0;return a>0&&(o=t/a),[e[0],o*100,a*100]},u.hcg.hsl=function(e){let t=e[1]/100,r=e[2]/100*(1-t)+.5*t,a=0;return r>0&&r<.5?a=t/(2*r):r>=.5&&r<1&&(a=t/(2*(1-r))),[e[0],a*100,r*100]},u.hcg.hwb=function(e){let t=e[1]/100,r=e[2]/100,a=t+r*(1-t);return[e[0],(a-t)*100,(1-a)*100]},u.hwb.hcg=function(e){let t=e[1]/100,r=1-e[2]/100,a=r-t,o=0;return a<1&&(o=(r-a)/(1-a)),[e[0],a*100,o*100]},u.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},u.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},u.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},u.gray.hsl=function(e){return[0,0,e[0]]},u.gray.hsv=u.gray.hsl,u.gray.hwb=function(e){return[0,100,e[0]]},u.gray.cmyk=function(e){return[0,0,0,e[0]]},u.gray.lab=function(e){return[e[0],0,0]},u.gray.hex=function(e){let t=Math.round(e[0]/100*255)&255,r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r},u.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}}),ve=H({"../../node_modules/color-convert/route.js"(n,l){var c=Q();function h(){let t={},r=Object.keys(c);for(let a=r.length,o=0;o1&&(o=i),r(o))};return"conversion"in r&&(a.conversion=r.conversion),a}function t(r){let a=function(...o){let i=o[0];if(i==null)return i;i.length>1&&(o=i);let s=r(o);if(typeof s=="object")for(let f=s.length,g=0;g{u[r]={},Object.defineProperty(u[r],"channels",{value:c[r].channels}),Object.defineProperty(u[r],"labels",{value:c[r].labels});let a=h(r);Object.keys(a).forEach(o=>{let i=a[o];u[r][o]=t(i),u[r][o].raw=e(i)})}),l.exports=u}}),_=ce(pe());function C(){return(C=Object.assign||function(n){for(var l=1;l=0||(u[c]=n[c]);return u}function L(n){var l=p.useRef(n),c=p.useRef(function(h){l.current&&l.current(h)});return l.current=n,c.current}var O=function(n,l,c){return l===void 0&&(l=0),c===void 0&&(c=1),n>c?c:n0:y.buttons>0)&&u.current?d(F(u.current,y,t.current)):b(!1)},g=function(){return b(!1)};function b(y){var v=r.current,w=B(u.current),E=y?w.addEventListener:w.removeEventListener;E(v?"touchmove":"mousemove",f),E(v?"touchend":"mouseup",g)}return[function(y){var v=y.nativeEvent,w=u.current;if(w&&(W(v),!function(k,P){return P&&!S(k)}(v,r.current)&&w)){if(S(v)){r.current=!0;var E=v.changedTouches||[];E.length&&(t.current=E[0].identifier)}w.focus(),d(F(w,v,t.current)),b(!0)}},function(y){var v=y.which||y.keyCode;v<37||v>40||(y.preventDefault(),e({left:v===39?.05:v===37?-.05:0,top:v===40?.05:v===38?-.05:0}))},b]},[e,d]),o=a[0],i=a[1],s=a[2];return p.useEffect(function(){return s},[s]),m.createElement("div",C({},h,{onTouchStart:o,onMouseDown:o,className:"react-colorful__interactive",ref:u,onKeyDown:i,tabIndex:0,role:"slider"}))}),N=function(n){return n.filter(Boolean).join(" ")},V=function(n){var l=n.color,c=n.left,h=n.top,u=h===void 0?.5:h,d=N(["react-colorful__pointer",n.className]);return m.createElement("div",{className:d,style:{top:100*u+"%",left:100*c+"%"}},m.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:l}}))},x=function(n,l,c){return l===void 0&&(l=0),c===void 0&&(c=Math.pow(10,l)),Math.round(c*n)/c},ye={grad:.9,turn:360,rad:360/(2*Math.PI)},xe=function(n){return re(X(n))},X=function(n){return n[0]==="#"&&(n=n.substring(1)),n.length<6?{r:parseInt(n[0]+n[0],16),g:parseInt(n[1]+n[1],16),b:parseInt(n[2]+n[2],16),a:n.length===4?x(parseInt(n[3]+n[3],16)/255,2):1}:{r:parseInt(n.substring(0,2),16),g:parseInt(n.substring(2,4),16),b:parseInt(n.substring(4,6),16),a:n.length===8?x(parseInt(n.substring(6,8),16)/255,2):1}},we=function(n,l){return l===void 0&&(l="deg"),Number(n)*(ye[l]||1)},ke=function(n){var l=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(n);return l?_e({h:we(l[1],l[2]),s:Number(l[3]),l:Number(l[4]),a:l[5]===void 0?1:Number(l[5])/(l[6]?100:1)}):{h:0,s:0,v:0,a:1}},_e=function(n){var l=n.s,c=n.l;return{h:n.h,s:(l*=(c<50?c:100-c)/100)>0?2*l/(c+l)*100:0,v:c+l,a:n.a}},Ee=function(n){return Ce(ee(n))},Z=function(n){var l=n.s,c=n.v,h=n.a,u=(200-l)*c/100;return{h:x(n.h),s:x(u>0&&u<200?l*c/100/(u<=100?u:200-u)*100:0),l:x(u/2),a:x(h,2)}},G=function(n){var l=Z(n);return"hsl("+l.h+", "+l.s+"%, "+l.l+"%)"},I=function(n){var l=Z(n);return"hsla("+l.h+", "+l.s+"%, "+l.l+"%, "+l.a+")"},ee=function(n){var l=n.h,c=n.s,h=n.v,u=n.a;l=l/360*6,c/=100,h/=100;var d=Math.floor(l),e=h*(1-c),t=h*(1-(l-d)*c),r=h*(1-(1-l+d)*c),a=d%6;return{r:x(255*[h,t,e,e,r,h][a]),g:x(255*[r,h,h,t,e,e][a]),b:x(255*[e,e,r,h,h,t][a]),a:x(u,2)}},Me=function(n){var l=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(n);return l?re({r:Number(l[1])/(l[2]?100/255:1),g:Number(l[3])/(l[4]?100/255:1),b:Number(l[5])/(l[6]?100/255:1),a:l[7]===void 0?1:Number(l[7])/(l[8]?100:1)}):{h:0,s:0,v:0,a:1}},j=function(n){var l=n.toString(16);return l.length<2?"0"+l:l},Ce=function(n){var l=n.r,c=n.g,h=n.b,u=n.a,d=u<1?j(x(255*u)):"";return"#"+j(l)+j(c)+j(h)+d},re=function(n){var l=n.r,c=n.g,h=n.b,u=n.a,d=Math.max(l,c,h),e=d-Math.min(l,c,h),t=e?d===l?(c-h)/e:d===c?2+(h-l)/e:4+(l-c)/e:0;return{h:x(60*(t<0?t+6:t)),s:x(d?e/d*100:0),v:x(d/255*100),a:u}},te=m.memo(function(n){var l=n.hue,c=n.onChange,h=N(["react-colorful__hue",n.className]);return m.createElement("div",{className:h},m.createElement(T,{onMove:function(u){c({h:360*u.left})},onKey:function(u){c({h:O(l+360*u.left,0,360)})},"aria-label":"Hue","aria-valuenow":x(l),"aria-valuemax":"360","aria-valuemin":"0"},m.createElement(V,{className:"react-colorful__hue-pointer",left:l/360,color:G({h:l,s:100,v:100,a:1})})))}),ne=m.memo(function(n){var l=n.hsva,c=n.onChange,h={backgroundColor:G({h:l.h,s:100,v:100,a:1})};return m.createElement("div",{className:"react-colorful__saturation",style:h},m.createElement(T,{onMove:function(u){c({s:100*u.left,v:100-100*u.top})},onKey:function(u){c({s:O(l.s+100*u.left,0,100),v:O(l.v-100*u.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+x(l.s)+"%, Brightness "+x(l.v)+"%"},m.createElement(V,{className:"react-colorful__saturation-pointer",top:1-l.v/100,left:l.s/100,color:G(l)})))}),ae=function(n,l){if(n===l)return!0;for(var c in n)if(n[c]!==l[c])return!1;return!0},oe=function(n,l){return n.replace(/\s/g,"")===l.replace(/\s/g,"")},$e=function(n,l){return n.toLowerCase()===l.toLowerCase()||ae(X(n),X(l))};function le(n,l,c){var h=L(c),u=p.useState(function(){return n.toHsva(l)}),d=u[0],e=u[1],t=p.useRef({color:l,hsva:d});p.useEffect(function(){if(!n.equal(l,t.current.color)){var a=n.toHsva(l);t.current={hsva:a,color:l},e(a)}},[l,n]),p.useEffect(function(){var a;ae(d,t.current.hsva)||n.equal(a=n.fromHsva(d),t.current.color)||(t.current={hsva:d,color:a},h(a))},[d,n,h]);var r=p.useCallback(function(a){e(function(o){return Object.assign({},o,a)})},[]);return[d,r]}var Oe=typeof window<"u"?p.useLayoutEffect:p.useEffect,Se=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},A=new Map,ie=function(n){Oe(function(){var l=n.current?n.current.ownerDocument:document;if(l!==void 0&&!A.has(l)){var c=l.createElement("style");c.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,A.set(l,c);var h=Se();h&&c.setAttribute("nonce",h),l.head.appendChild(c)}},[])},Ne=function(n){var l=n.className,c=n.colorModel,h=n.color,u=h===void 0?c.defaultColor:h,d=n.onChange,e=D(n,["className","colorModel","color","onChange"]),t=p.useRef(null);ie(t);var r=le(c,u,d),a=r[0],o=r[1],i=N(["react-colorful",l]);return m.createElement("div",C({},e,{ref:t,className:i}),m.createElement(ne,{hsva:a,onChange:o}),m.createElement(te,{hue:a.h,onChange:o,className:"react-colorful__last-control"}))},je={defaultColor:"000",toHsva:xe,fromHsva:function(n){return Ee({h:n.h,s:n.s,v:n.v,a:1})},equal:$e},Re=function(n){return m.createElement(Ne,C({},n,{colorModel:je}))},ze=function(n){var l=n.className,c=n.hsva,h=n.onChange,u={backgroundImage:"linear-gradient(90deg, "+I(Object.assign({},c,{a:0}))+", "+I(Object.assign({},c,{a:1}))+")"},d=N(["react-colorful__alpha",l]),e=x(100*c.a);return m.createElement("div",{className:d},m.createElement("div",{className:"react-colorful__alpha-gradient",style:u}),m.createElement(T,{onMove:function(t){h({a:t.left})},onKey:function(t){h({a:O(c.a+t.left)})},"aria-label":"Alpha","aria-valuetext":e+"%","aria-valuenow":e,"aria-valuemin":"0","aria-valuemax":"100"},m.createElement(V,{className:"react-colorful__alpha-pointer",left:c.a,color:I(c)})))},ue=function(n){var l=n.className,c=n.colorModel,h=n.color,u=h===void 0?c.defaultColor:h,d=n.onChange,e=D(n,["className","colorModel","color","onChange"]),t=p.useRef(null);ie(t);var r=le(c,u,d),a=r[0],o=r[1],i=N(["react-colorful",l]);return m.createElement("div",C({},e,{ref:t,className:i}),m.createElement(ne,{hsva:a,onChange:o}),m.createElement(te,{hue:a.h,onChange:o}),m.createElement(ze,{hsva:a,onChange:o,className:"react-colorful__last-control"}))},Ie={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:ke,fromHsva:I,equal:oe},qe=function(n){return m.createElement(ue,C({},n,{colorModel:Ie}))},He={defaultColor:"rgba(0, 0, 0, 1)",toHsva:Me,fromHsva:function(n){var l=ee(n);return"rgba("+l.r+", "+l.g+", "+l.b+", "+l.a+")"},equal:oe},Pe=function(n){return m.createElement(ue,C({},n,{colorModel:He}))},Le=M.div({position:"relative",maxWidth:250,'&[aria-readonly="true"]':{opacity:.5}}),Be=M(J)({position:"absolute",zIndex:1,top:4,left:4,"[aria-readonly=true] &":{cursor:"not-allowed"}}),Xe=M.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),Ge=M(he)(({theme:n})=>({fontFamily:n.typography.fonts.base})),Ke=M.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),De=M.div(({theme:n,active:l})=>({width:16,height:16,boxShadow:l?`${n.appBorderColor} 0 0 0 1px inset, ${n.textMutedColor}50 0 0 0 4px`:`${n.appBorderColor} 0 0 0 1px inset`,borderRadius:n.appBorderRadius})),Te=`url('data:image/svg+xml;charset=utf-8,')`,U=({value:n,style:l,...c})=>{let h=`linear-gradient(${n}, ${n}), ${Te}, linear-gradient(#fff, #fff)`;return m.createElement(De,{...c,style:{...l,backgroundImage:h}})},Ve=M(fe.Input)(({theme:n,readOnly:l})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:n.typography.fonts.base})),Fe=M(de)(({theme:n})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:n.input.color})),se=(n=>(n.RGB="rgb",n.HSL="hsl",n.HEX="hex",n))(se||{}),R=Object.values(se),We=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,Ae=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,Ue=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,K=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,Ye=/^\s*#?([0-9a-f]{3})\s*$/i,Je={hex:Re,rgb:Pe,hsl:qe},z={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},Y=n=>{let l=n==null?void 0:n.match(We);if(!l)return[0,0,0,1];let[,c,h,u,d=1]=l;return[c,h,u,d].map(Number)},$=n=>{if(!n)return;let l=!0;if(Ae.test(n)){let[e,t,r,a]=Y(n),[o,i,s]=_.default.rgb.hsl([e,t,r])||[0,0,0];return{valid:l,value:n,keyword:_.default.rgb.keyword([e,t,r]),colorSpace:"rgb",rgb:n,hsl:`hsla(${o}, ${i}%, ${s}%, ${a})`,hex:`#${_.default.rgb.hex([e,t,r]).toLowerCase()}`}}if(Ue.test(n)){let[e,t,r,a]=Y(n),[o,i,s]=_.default.hsl.rgb([e,t,r])||[0,0,0];return{valid:l,value:n,keyword:_.default.hsl.keyword([e,t,r]),colorSpace:"hsl",rgb:`rgba(${o}, ${i}, ${s}, ${a})`,hsl:n,hex:`#${_.default.hsl.hex([e,t,r]).toLowerCase()}`}}let c=n.replace("#",""),h=_.default.keyword.rgb(c)||_.default.hex.rgb(c),u=_.default.rgb.hsl(h),d=n;if(/[^#a-f0-9]/i.test(n)?d=c:K.test(n)&&(d=`#${c}`),d.startsWith("#"))l=K.test(d);else try{_.default.keyword.hex(d)}catch{l=!1}return{valid:l,value:d,keyword:_.default.rgb.keyword(h),colorSpace:"hex",rgb:`rgba(${h[0]}, ${h[1]}, ${h[2]}, 1)`,hsl:`hsla(${u[0]}, ${u[1]}%, ${u[2]}%, 1)`,hex:d}},Qe=(n,l,c)=>{if(!n||!(l!=null&&l.valid))return z[c];if(c!=="hex")return(l==null?void 0:l[c])||z[c];if(!l.hex.startsWith("#"))try{return`#${_.default.keyword.hex(l.hex)}`}catch{return z.hex}let h=l.hex.match(Ye);if(!h)return K.test(l.hex)?l.hex:z.hex;let[u,d,e]=h[1].split("");return`#${u}${u}${d}${d}${e}${e}`},Ze=(n,l)=>{let[c,h]=p.useState(n||""),[u,d]=p.useState(()=>$(c)),[e,t]=p.useState((u==null?void 0:u.colorSpace)||"hex");p.useEffect(()=>{let i=n||"",s=$(i);h(i),d(s),t((s==null?void 0:s.colorSpace)||"hex")},[n]);let r=p.useMemo(()=>Qe(c,u,e).toLowerCase(),[c,u,e]),a=p.useCallback(i=>{let s=$(i),f=(s==null?void 0:s.value)||i||"";h(f),f===""&&(d(void 0),l(void 0)),s&&(d(s),t(s.colorSpace),l(s.value))},[l]),o=p.useCallback(()=>{let i=R.indexOf(e)+1;i>=R.length&&(i=0),t(R[i]);let s=(u==null?void 0:u[R[i]])||"";h(s),l(s)},[u,e,l]);return{value:c,realValue:r,updateValue:a,color:u,colorSpace:e,cycleColorSpace:o}},q=n=>n.replace(/\s*/,"").toLowerCase(),er=(n,l,c)=>{let[h,u]=p.useState(l!=null&&l.valid?[l]:[]);p.useEffect(()=>{l===void 0&&u([])},[l]);let d=p.useMemo(()=>(n||[]).map(t=>typeof t=="string"?$(t):t.title?{...$(t.color),keyword:t.title}:$(t.color)).concat(h).filter(Boolean).slice(-27),[n,h]),e=p.useCallback(t=>{t!=null&&t.valid&&(d.some(r=>q(r[c])===q(t[c]))||u(r=>r.concat(t)))},[c,d]);return{presets:d,addPreset:e}},rr=({name:n,value:l,onChange:c,onFocus:h,onBlur:u,presetColors:d,startOpen:e=!1,argType:t})=>{var E;let r=p.useCallback(ge(c,200),[c]),{value:a,realValue:o,updateValue:i,color:s,colorSpace:f,cycleColorSpace:g}=Ze(l,r),{presets:b,addPreset:y}=er(d,s,f),v=Je[f],w=!!((E=t==null?void 0:t.table)!=null&&E.readonly);return m.createElement(Le,{"aria-readonly":w},m.createElement(Be,{startOpen:e,trigger:w?[null]:void 0,closeOnOutsideClick:!0,onVisibleChange:()=>y(s),tooltip:m.createElement(Xe,null,m.createElement(v,{color:o==="transparent"?"#000000":o,onChange:i,onFocus:h,onBlur:u}),b.length>0&&m.createElement(Ke,null,b.map((k,P)=>m.createElement(J,{key:`${k.value}-${P}`,hasChrome:!1,tooltip:m.createElement(Ge,{note:k.keyword||k.value})},m.createElement(U,{value:k[f],active:s&&q(k[f])===q(s[f]),onClick:()=>i(k.value)})))))},m.createElement(U,{value:o,style:{margin:4}})),m.createElement(Ve,{id:be(n),value:a,onChange:k=>i(k.target.value),onFocus:k=>k.target.select(),readOnly:w,placeholder:"Choose color..."}),a?m.createElement(Fe,{onClick:g}):null)},ir=rr;export{rr as ColorControl,ir as default}; +import{_ as ce,T as M,q as J,r as he,G as fe,M as de,d as ge,g as be,a as H}from"./index-9geMTWX-.js";import{e as m,r as p}from"./index-DuuuSFPv.js";import"./iframe-CR1vRkAE.js";import"./index-DPS9-N-h.js";import"./index-DrFu-skq.js";var me=H({"../../node_modules/color-name/index.js"(n,l){l.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]}}}),Q=H({"../../node_modules/color-convert/conversions.js"(n,l){var c=me(),h={};for(let e of Object.keys(c))h[c[e]]=e;var u={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"]}};l.exports=u;for(let e of Object.keys(u)){if(!("channels"in u[e]))throw new Error("missing channels property: "+e);if(!("labels"in u[e]))throw new Error("missing channel labels property: "+e);if(u[e].labels.length!==u[e].channels)throw new Error("channel and label counts mismatch: "+e);let{channels:t,labels:r}=u[e];delete u[e].channels,delete u[e].labels,Object.defineProperty(u[e],"channels",{value:t}),Object.defineProperty(u[e],"labels",{value:r})}u.rgb.hsl=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.min(t,r,a),i=Math.max(t,r,a),s=i-o,f,g;i===o?f=0:t===i?f=(r-a)/s:r===i?f=2+(a-t)/s:a===i&&(f=4+(t-r)/s),f=Math.min(f*60,360),f<0&&(f+=360);let b=(o+i)/2;return i===o?g=0:b<=.5?g=s/(i+o):g=s/(2-i-o),[f,g*100,b*100]},u.rgb.hsv=function(e){let t,r,a,o,i,s=e[0]/255,f=e[1]/255,g=e[2]/255,b=Math.max(s,f,g),y=b-Math.min(s,f,g),v=function(w){return(b-w)/6/y+1/2};return y===0?(o=0,i=0):(i=y/b,t=v(s),r=v(f),a=v(g),s===b?o=a-r:f===b?o=1/3+t-a:g===b&&(o=2/3+r-t),o<0?o+=1:o>1&&(o-=1)),[o*360,i*100,b*100]},u.rgb.hwb=function(e){let t=e[0],r=e[1],a=e[2],o=u.rgb.hsl(e)[0],i=1/255*Math.min(t,Math.min(r,a));return a=1-1/255*Math.max(t,Math.max(r,a)),[o,i*100,a*100]},u.rgb.cmyk=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.min(1-t,1-r,1-a),i=(1-t-o)/(1-o)||0,s=(1-r-o)/(1-o)||0,f=(1-a-o)/(1-o)||0;return[i*100,s*100,f*100,o*100]};function d(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}u.rgb.keyword=function(e){let t=h[e];if(t)return t;let r=1/0,a;for(let o of Object.keys(c)){let i=c[o],s=d(e,i);s.04045?((t+.055)/1.055)**2.4:t/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,a=a>.04045?((a+.055)/1.055)**2.4:a/12.92;let o=t*.4124+r*.3576+a*.1805,i=t*.2126+r*.7152+a*.0722,s=t*.0193+r*.1192+a*.9505;return[o*100,i*100,s*100]},u.rgb.lab=function(e){let t=u.rgb.xyz(e),r=t[0],a=t[1],o=t[2];r/=95.047,a/=100,o/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,a=a>.008856?a**(1/3):7.787*a+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;let i=116*a-16,s=500*(r-a),f=200*(a-o);return[i,s,f]},u.hsl.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100,o,i,s;if(r===0)return s=a*255,[s,s,s];a<.5?o=a*(1+r):o=a+r-a*r;let f=2*a-o,g=[0,0,0];for(let b=0;b<3;b++)i=t+1/3*-(b-1),i<0&&i++,i>1&&i--,6*i<1?s=f+(o-f)*6*i:2*i<1?s=o:3*i<2?s=f+(o-f)*(2/3-i)*6:s=f,g[b]=s*255;return g},u.hsl.hsv=function(e){let t=e[0],r=e[1]/100,a=e[2]/100,o=r,i=Math.max(a,.01);a*=2,r*=a<=1?a:2-a,o*=i<=1?i:2-i;let s=(a+r)/2,f=a===0?2*o/(i+o):2*r/(a+r);return[t,f*100,s*100]},u.hsv.rgb=function(e){let t=e[0]/60,r=e[1]/100,a=e[2]/100,o=Math.floor(t)%6,i=t-Math.floor(t),s=255*a*(1-r),f=255*a*(1-r*i),g=255*a*(1-r*(1-i));switch(a*=255,o){case 0:return[a,g,s];case 1:return[f,a,s];case 2:return[s,a,g];case 3:return[s,f,a];case 4:return[g,s,a];case 5:return[a,s,f]}},u.hsv.hsl=function(e){let t=e[0],r=e[1]/100,a=e[2]/100,o=Math.max(a,.01),i,s;s=(2-r)*a;let f=(2-r)*o;return i=r*o,i/=f<=1?f:2-f,i=i||0,s/=2,[t,i*100,s*100]},u.hwb.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100,o=r+a,i;o>1&&(r/=o,a/=o);let s=Math.floor(6*t),f=1-a;i=6*t-s,s&1&&(i=1-i);let g=r+i*(f-r),b,y,v;switch(s){default:case 6:case 0:b=f,y=g,v=r;break;case 1:b=g,y=f,v=r;break;case 2:b=r,y=f,v=g;break;case 3:b=r,y=g,v=f;break;case 4:b=g,y=r,v=f;break;case 5:b=f,y=r,v=g;break}return[b*255,y*255,v*255]},u.cmyk.rgb=function(e){let t=e[0]/100,r=e[1]/100,a=e[2]/100,o=e[3]/100,i=1-Math.min(1,t*(1-o)+o),s=1-Math.min(1,r*(1-o)+o),f=1-Math.min(1,a*(1-o)+o);return[i*255,s*255,f*255]},u.xyz.rgb=function(e){let t=e[0]/100,r=e[1]/100,a=e[2]/100,o,i,s;return o=t*3.2406+r*-1.5372+a*-.4986,i=t*-.9689+r*1.8758+a*.0415,s=t*.0557+r*-.204+a*1.057,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,i=i>.0031308?1.055*i**(1/2.4)-.055:i*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,o=Math.min(Math.max(0,o),1),i=Math.min(Math.max(0,i),1),s=Math.min(Math.max(0,s),1),[o*255,i*255,s*255]},u.xyz.lab=function(e){let t=e[0],r=e[1],a=e[2];t/=95.047,r/=100,a/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,a=a>.008856?a**(1/3):7.787*a+16/116;let o=116*r-16,i=500*(t-r),s=200*(r-a);return[o,i,s]},u.lab.xyz=function(e){let t=e[0],r=e[1],a=e[2],o,i,s;i=(t+16)/116,o=r/500+i,s=i-a/200;let f=i**3,g=o**3,b=s**3;return i=f>.008856?f:(i-16/116)/7.787,o=g>.008856?g:(o-16/116)/7.787,s=b>.008856?b:(s-16/116)/7.787,o*=95.047,i*=100,s*=108.883,[o,i,s]},u.lab.lch=function(e){let t=e[0],r=e[1],a=e[2],o;o=Math.atan2(a,r)*360/2/Math.PI,o<0&&(o+=360);let i=Math.sqrt(r*r+a*a);return[t,i,o]},u.lch.lab=function(e){let t=e[0],r=e[1],a=e[2]/360*2*Math.PI,o=r*Math.cos(a),i=r*Math.sin(a);return[t,o,i]},u.rgb.ansi16=function(e,t=null){let[r,a,o]=e,i=t===null?u.rgb.hsv(e)[2]:t;if(i=Math.round(i/50),i===0)return 30;let s=30+(Math.round(o/255)<<2|Math.round(a/255)<<1|Math.round(r/255));return i===2&&(s+=60),s},u.hsv.ansi16=function(e){return u.rgb.ansi16(u.hsv.rgb(e),e[2])},u.rgb.ansi256=function(e){let t=e[0],r=e[1],a=e[2];return t===r&&r===a?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(a/255*5)},u.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];let r=(~~(e>50)+1)*.5,a=(t&1)*r*255,o=(t>>1&1)*r*255,i=(t>>2&1)*r*255;return[a,o,i]},u.ansi256.rgb=function(e){if(e>=232){let i=(e-232)*10+8;return[i,i,i]}e-=16;let t,r=Math.floor(e/36)/5*255,a=Math.floor((t=e%36)/6)/5*255,o=t%6/5*255;return[r,a,o]},u.rgb.hex=function(e){let t=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(t.length)+t},u.hex.rgb=function(e){let t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let r=t[0];t[0].length===3&&(r=r.split("").map(f=>f+f).join(""));let a=parseInt(r,16),o=a>>16&255,i=a>>8&255,s=a&255;return[o,i,s]},u.rgb.hcg=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.max(Math.max(t,r),a),i=Math.min(Math.min(t,r),a),s=o-i,f,g;return s<1?f=i/(1-s):f=0,s<=0?g=0:o===t?g=(r-a)/s%6:o===r?g=2+(a-t)/s:g=4+(t-r)/s,g/=6,g%=1,[g*360,s*100,f*100]},u.hsl.hcg=function(e){let t=e[1]/100,r=e[2]/100,a=r<.5?2*t*r:2*t*(1-r),o=0;return a<1&&(o=(r-.5*a)/(1-a)),[e[0],a*100,o*100]},u.hsv.hcg=function(e){let t=e[1]/100,r=e[2]/100,a=t*r,o=0;return a<1&&(o=(r-a)/(1-a)),[e[0],a*100,o*100]},u.hcg.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100;if(r===0)return[a*255,a*255,a*255];let o=[0,0,0],i=t%1*6,s=i%1,f=1-s,g=0;switch(Math.floor(i)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=f,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=f,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=f}return g=(1-r)*a,[(r*o[0]+g)*255,(r*o[1]+g)*255,(r*o[2]+g)*255]},u.hcg.hsv=function(e){let t=e[1]/100,r=e[2]/100,a=t+r*(1-t),o=0;return a>0&&(o=t/a),[e[0],o*100,a*100]},u.hcg.hsl=function(e){let t=e[1]/100,r=e[2]/100*(1-t)+.5*t,a=0;return r>0&&r<.5?a=t/(2*r):r>=.5&&r<1&&(a=t/(2*(1-r))),[e[0],a*100,r*100]},u.hcg.hwb=function(e){let t=e[1]/100,r=e[2]/100,a=t+r*(1-t);return[e[0],(a-t)*100,(1-a)*100]},u.hwb.hcg=function(e){let t=e[1]/100,r=1-e[2]/100,a=r-t,o=0;return a<1&&(o=(r-a)/(1-a)),[e[0],a*100,o*100]},u.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},u.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},u.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},u.gray.hsl=function(e){return[0,0,e[0]]},u.gray.hsv=u.gray.hsl,u.gray.hwb=function(e){return[0,100,e[0]]},u.gray.cmyk=function(e){return[0,0,0,e[0]]},u.gray.lab=function(e){return[e[0],0,0]},u.gray.hex=function(e){let t=Math.round(e[0]/100*255)&255,r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r},u.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}}),ve=H({"../../node_modules/color-convert/route.js"(n,l){var c=Q();function h(){let t={},r=Object.keys(c);for(let a=r.length,o=0;o1&&(o=i),r(o))};return"conversion"in r&&(a.conversion=r.conversion),a}function t(r){let a=function(...o){let i=o[0];if(i==null)return i;i.length>1&&(o=i);let s=r(o);if(typeof s=="object")for(let f=s.length,g=0;g{u[r]={},Object.defineProperty(u[r],"channels",{value:c[r].channels}),Object.defineProperty(u[r],"labels",{value:c[r].labels});let a=h(r);Object.keys(a).forEach(o=>{let i=a[o];u[r][o]=t(i),u[r][o].raw=e(i)})}),l.exports=u}}),_=ce(pe());function C(){return(C=Object.assign||function(n){for(var l=1;l=0||(u[c]=n[c]);return u}function L(n){var l=p.useRef(n),c=p.useRef(function(h){l.current&&l.current(h)});return l.current=n,c.current}var O=function(n,l,c){return l===void 0&&(l=0),c===void 0&&(c=1),n>c?c:n0:y.buttons>0)&&u.current?d(F(u.current,y,t.current)):b(!1)},g=function(){return b(!1)};function b(y){var v=r.current,w=B(u.current),E=y?w.addEventListener:w.removeEventListener;E(v?"touchmove":"mousemove",f),E(v?"touchend":"mouseup",g)}return[function(y){var v=y.nativeEvent,w=u.current;if(w&&(W(v),!function(k,P){return P&&!S(k)}(v,r.current)&&w)){if(S(v)){r.current=!0;var E=v.changedTouches||[];E.length&&(t.current=E[0].identifier)}w.focus(),d(F(w,v,t.current)),b(!0)}},function(y){var v=y.which||y.keyCode;v<37||v>40||(y.preventDefault(),e({left:v===39?.05:v===37?-.05:0,top:v===40?.05:v===38?-.05:0}))},b]},[e,d]),o=a[0],i=a[1],s=a[2];return p.useEffect(function(){return s},[s]),m.createElement("div",C({},h,{onTouchStart:o,onMouseDown:o,className:"react-colorful__interactive",ref:u,onKeyDown:i,tabIndex:0,role:"slider"}))}),N=function(n){return n.filter(Boolean).join(" ")},V=function(n){var l=n.color,c=n.left,h=n.top,u=h===void 0?.5:h,d=N(["react-colorful__pointer",n.className]);return m.createElement("div",{className:d,style:{top:100*u+"%",left:100*c+"%"}},m.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:l}}))},x=function(n,l,c){return l===void 0&&(l=0),c===void 0&&(c=Math.pow(10,l)),Math.round(c*n)/c},ye={grad:.9,turn:360,rad:360/(2*Math.PI)},xe=function(n){return re(X(n))},X=function(n){return n[0]==="#"&&(n=n.substring(1)),n.length<6?{r:parseInt(n[0]+n[0],16),g:parseInt(n[1]+n[1],16),b:parseInt(n[2]+n[2],16),a:n.length===4?x(parseInt(n[3]+n[3],16)/255,2):1}:{r:parseInt(n.substring(0,2),16),g:parseInt(n.substring(2,4),16),b:parseInt(n.substring(4,6),16),a:n.length===8?x(parseInt(n.substring(6,8),16)/255,2):1}},we=function(n,l){return l===void 0&&(l="deg"),Number(n)*(ye[l]||1)},ke=function(n){var l=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(n);return l?_e({h:we(l[1],l[2]),s:Number(l[3]),l:Number(l[4]),a:l[5]===void 0?1:Number(l[5])/(l[6]?100:1)}):{h:0,s:0,v:0,a:1}},_e=function(n){var l=n.s,c=n.l;return{h:n.h,s:(l*=(c<50?c:100-c)/100)>0?2*l/(c+l)*100:0,v:c+l,a:n.a}},Ee=function(n){return Ce(ee(n))},Z=function(n){var l=n.s,c=n.v,h=n.a,u=(200-l)*c/100;return{h:x(n.h),s:x(u>0&&u<200?l*c/100/(u<=100?u:200-u)*100:0),l:x(u/2),a:x(h,2)}},G=function(n){var l=Z(n);return"hsl("+l.h+", "+l.s+"%, "+l.l+"%)"},I=function(n){var l=Z(n);return"hsla("+l.h+", "+l.s+"%, "+l.l+"%, "+l.a+")"},ee=function(n){var l=n.h,c=n.s,h=n.v,u=n.a;l=l/360*6,c/=100,h/=100;var d=Math.floor(l),e=h*(1-c),t=h*(1-(l-d)*c),r=h*(1-(1-l+d)*c),a=d%6;return{r:x(255*[h,t,e,e,r,h][a]),g:x(255*[r,h,h,t,e,e][a]),b:x(255*[e,e,r,h,h,t][a]),a:x(u,2)}},Me=function(n){var l=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(n);return l?re({r:Number(l[1])/(l[2]?100/255:1),g:Number(l[3])/(l[4]?100/255:1),b:Number(l[5])/(l[6]?100/255:1),a:l[7]===void 0?1:Number(l[7])/(l[8]?100:1)}):{h:0,s:0,v:0,a:1}},j=function(n){var l=n.toString(16);return l.length<2?"0"+l:l},Ce=function(n){var l=n.r,c=n.g,h=n.b,u=n.a,d=u<1?j(x(255*u)):"";return"#"+j(l)+j(c)+j(h)+d},re=function(n){var l=n.r,c=n.g,h=n.b,u=n.a,d=Math.max(l,c,h),e=d-Math.min(l,c,h),t=e?d===l?(c-h)/e:d===c?2+(h-l)/e:4+(l-c)/e:0;return{h:x(60*(t<0?t+6:t)),s:x(d?e/d*100:0),v:x(d/255*100),a:u}},te=m.memo(function(n){var l=n.hue,c=n.onChange,h=N(["react-colorful__hue",n.className]);return m.createElement("div",{className:h},m.createElement(T,{onMove:function(u){c({h:360*u.left})},onKey:function(u){c({h:O(l+360*u.left,0,360)})},"aria-label":"Hue","aria-valuenow":x(l),"aria-valuemax":"360","aria-valuemin":"0"},m.createElement(V,{className:"react-colorful__hue-pointer",left:l/360,color:G({h:l,s:100,v:100,a:1})})))}),ne=m.memo(function(n){var l=n.hsva,c=n.onChange,h={backgroundColor:G({h:l.h,s:100,v:100,a:1})};return m.createElement("div",{className:"react-colorful__saturation",style:h},m.createElement(T,{onMove:function(u){c({s:100*u.left,v:100-100*u.top})},onKey:function(u){c({s:O(l.s+100*u.left,0,100),v:O(l.v-100*u.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+x(l.s)+"%, Brightness "+x(l.v)+"%"},m.createElement(V,{className:"react-colorful__saturation-pointer",top:1-l.v/100,left:l.s/100,color:G(l)})))}),ae=function(n,l){if(n===l)return!0;for(var c in n)if(n[c]!==l[c])return!1;return!0},oe=function(n,l){return n.replace(/\s/g,"")===l.replace(/\s/g,"")},$e=function(n,l){return n.toLowerCase()===l.toLowerCase()||ae(X(n),X(l))};function le(n,l,c){var h=L(c),u=p.useState(function(){return n.toHsva(l)}),d=u[0],e=u[1],t=p.useRef({color:l,hsva:d});p.useEffect(function(){if(!n.equal(l,t.current.color)){var a=n.toHsva(l);t.current={hsva:a,color:l},e(a)}},[l,n]),p.useEffect(function(){var a;ae(d,t.current.hsva)||n.equal(a=n.fromHsva(d),t.current.color)||(t.current={hsva:d,color:a},h(a))},[d,n,h]);var r=p.useCallback(function(a){e(function(o){return Object.assign({},o,a)})},[]);return[d,r]}var Oe=typeof window<"u"?p.useLayoutEffect:p.useEffect,Se=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},A=new Map,ie=function(n){Oe(function(){var l=n.current?n.current.ownerDocument:document;if(l!==void 0&&!A.has(l)){var c=l.createElement("style");c.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,A.set(l,c);var h=Se();h&&c.setAttribute("nonce",h),l.head.appendChild(c)}},[])},Ne=function(n){var l=n.className,c=n.colorModel,h=n.color,u=h===void 0?c.defaultColor:h,d=n.onChange,e=D(n,["className","colorModel","color","onChange"]),t=p.useRef(null);ie(t);var r=le(c,u,d),a=r[0],o=r[1],i=N(["react-colorful",l]);return m.createElement("div",C({},e,{ref:t,className:i}),m.createElement(ne,{hsva:a,onChange:o}),m.createElement(te,{hue:a.h,onChange:o,className:"react-colorful__last-control"}))},je={defaultColor:"000",toHsva:xe,fromHsva:function(n){return Ee({h:n.h,s:n.s,v:n.v,a:1})},equal:$e},Re=function(n){return m.createElement(Ne,C({},n,{colorModel:je}))},ze=function(n){var l=n.className,c=n.hsva,h=n.onChange,u={backgroundImage:"linear-gradient(90deg, "+I(Object.assign({},c,{a:0}))+", "+I(Object.assign({},c,{a:1}))+")"},d=N(["react-colorful__alpha",l]),e=x(100*c.a);return m.createElement("div",{className:d},m.createElement("div",{className:"react-colorful__alpha-gradient",style:u}),m.createElement(T,{onMove:function(t){h({a:t.left})},onKey:function(t){h({a:O(c.a+t.left)})},"aria-label":"Alpha","aria-valuetext":e+"%","aria-valuenow":e,"aria-valuemin":"0","aria-valuemax":"100"},m.createElement(V,{className:"react-colorful__alpha-pointer",left:c.a,color:I(c)})))},ue=function(n){var l=n.className,c=n.colorModel,h=n.color,u=h===void 0?c.defaultColor:h,d=n.onChange,e=D(n,["className","colorModel","color","onChange"]),t=p.useRef(null);ie(t);var r=le(c,u,d),a=r[0],o=r[1],i=N(["react-colorful",l]);return m.createElement("div",C({},e,{ref:t,className:i}),m.createElement(ne,{hsva:a,onChange:o}),m.createElement(te,{hue:a.h,onChange:o}),m.createElement(ze,{hsva:a,onChange:o,className:"react-colorful__last-control"}))},Ie={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:ke,fromHsva:I,equal:oe},qe=function(n){return m.createElement(ue,C({},n,{colorModel:Ie}))},He={defaultColor:"rgba(0, 0, 0, 1)",toHsva:Me,fromHsva:function(n){var l=ee(n);return"rgba("+l.r+", "+l.g+", "+l.b+", "+l.a+")"},equal:oe},Pe=function(n){return m.createElement(ue,C({},n,{colorModel:He}))},Le=M.div({position:"relative",maxWidth:250,'&[aria-readonly="true"]':{opacity:.5}}),Be=M(J)({position:"absolute",zIndex:1,top:4,left:4,"[aria-readonly=true] &":{cursor:"not-allowed"}}),Xe=M.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),Ge=M(he)(({theme:n})=>({fontFamily:n.typography.fonts.base})),Ke=M.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),De=M.div(({theme:n,active:l})=>({width:16,height:16,boxShadow:l?`${n.appBorderColor} 0 0 0 1px inset, ${n.textMutedColor}50 0 0 0 4px`:`${n.appBorderColor} 0 0 0 1px inset`,borderRadius:n.appBorderRadius})),Te=`url('data:image/svg+xml;charset=utf-8,')`,U=({value:n,style:l,...c})=>{let h=`linear-gradient(${n}, ${n}), ${Te}, linear-gradient(#fff, #fff)`;return m.createElement(De,{...c,style:{...l,backgroundImage:h}})},Ve=M(fe.Input)(({theme:n,readOnly:l})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:n.typography.fonts.base})),Fe=M(de)(({theme:n})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:n.input.color})),se=(n=>(n.RGB="rgb",n.HSL="hsl",n.HEX="hex",n))(se||{}),R=Object.values(se),We=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,Ae=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,Ue=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,K=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,Ye=/^\s*#?([0-9a-f]{3})\s*$/i,Je={hex:Re,rgb:Pe,hsl:qe},z={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},Y=n=>{let l=n==null?void 0:n.match(We);if(!l)return[0,0,0,1];let[,c,h,u,d=1]=l;return[c,h,u,d].map(Number)},$=n=>{if(!n)return;let l=!0;if(Ae.test(n)){let[e,t,r,a]=Y(n),[o,i,s]=_.default.rgb.hsl([e,t,r])||[0,0,0];return{valid:l,value:n,keyword:_.default.rgb.keyword([e,t,r]),colorSpace:"rgb",rgb:n,hsl:`hsla(${o}, ${i}%, ${s}%, ${a})`,hex:`#${_.default.rgb.hex([e,t,r]).toLowerCase()}`}}if(Ue.test(n)){let[e,t,r,a]=Y(n),[o,i,s]=_.default.hsl.rgb([e,t,r])||[0,0,0];return{valid:l,value:n,keyword:_.default.hsl.keyword([e,t,r]),colorSpace:"hsl",rgb:`rgba(${o}, ${i}, ${s}, ${a})`,hsl:n,hex:`#${_.default.hsl.hex([e,t,r]).toLowerCase()}`}}let c=n.replace("#",""),h=_.default.keyword.rgb(c)||_.default.hex.rgb(c),u=_.default.rgb.hsl(h),d=n;if(/[^#a-f0-9]/i.test(n)?d=c:K.test(n)&&(d=`#${c}`),d.startsWith("#"))l=K.test(d);else try{_.default.keyword.hex(d)}catch{l=!1}return{valid:l,value:d,keyword:_.default.rgb.keyword(h),colorSpace:"hex",rgb:`rgba(${h[0]}, ${h[1]}, ${h[2]}, 1)`,hsl:`hsla(${u[0]}, ${u[1]}%, ${u[2]}%, 1)`,hex:d}},Qe=(n,l,c)=>{if(!n||!(l!=null&&l.valid))return z[c];if(c!=="hex")return(l==null?void 0:l[c])||z[c];if(!l.hex.startsWith("#"))try{return`#${_.default.keyword.hex(l.hex)}`}catch{return z.hex}let h=l.hex.match(Ye);if(!h)return K.test(l.hex)?l.hex:z.hex;let[u,d,e]=h[1].split("");return`#${u}${u}${d}${d}${e}${e}`},Ze=(n,l)=>{let[c,h]=p.useState(n||""),[u,d]=p.useState(()=>$(c)),[e,t]=p.useState((u==null?void 0:u.colorSpace)||"hex");p.useEffect(()=>{let i=n||"",s=$(i);h(i),d(s),t((s==null?void 0:s.colorSpace)||"hex")},[n]);let r=p.useMemo(()=>Qe(c,u,e).toLowerCase(),[c,u,e]),a=p.useCallback(i=>{let s=$(i),f=(s==null?void 0:s.value)||i||"";h(f),f===""&&(d(void 0),l(void 0)),s&&(d(s),t(s.colorSpace),l(s.value))},[l]),o=p.useCallback(()=>{let i=R.indexOf(e)+1;i>=R.length&&(i=0),t(R[i]);let s=(u==null?void 0:u[R[i]])||"";h(s),l(s)},[u,e,l]);return{value:c,realValue:r,updateValue:a,color:u,colorSpace:e,cycleColorSpace:o}},q=n=>n.replace(/\s*/,"").toLowerCase(),er=(n,l,c)=>{let[h,u]=p.useState(l!=null&&l.valid?[l]:[]);p.useEffect(()=>{l===void 0&&u([])},[l]);let d=p.useMemo(()=>(n||[]).map(t=>typeof t=="string"?$(t):t.title?{...$(t.color),keyword:t.title}:$(t.color)).concat(h).filter(Boolean).slice(-27),[n,h]),e=p.useCallback(t=>{t!=null&&t.valid&&(d.some(r=>q(r[c])===q(t[c]))||u(r=>r.concat(t)))},[c,d]);return{presets:d,addPreset:e}},rr=({name:n,value:l,onChange:c,onFocus:h,onBlur:u,presetColors:d,startOpen:e=!1,argType:t})=>{var E;let r=p.useCallback(ge(c,200),[c]),{value:a,realValue:o,updateValue:i,color:s,colorSpace:f,cycleColorSpace:g}=Ze(l,r),{presets:b,addPreset:y}=er(d,s,f),v=Je[f],w=!!((E=t==null?void 0:t.table)!=null&&E.readonly);return m.createElement(Le,{"aria-readonly":w},m.createElement(Be,{startOpen:e,trigger:w?[null]:void 0,closeOnOutsideClick:!0,onVisibleChange:()=>y(s),tooltip:m.createElement(Xe,null,m.createElement(v,{color:o==="transparent"?"#000000":o,onChange:i,onFocus:h,onBlur:u}),b.length>0&&m.createElement(Ke,null,b.map((k,P)=>m.createElement(J,{key:`${k.value}-${P}`,hasChrome:!1,tooltip:m.createElement(Ge,{note:k.keyword||k.value})},m.createElement(U,{value:k[f],active:s&&q(k[f])===q(s[f]),onClick:()=>i(k.value)})))))},m.createElement(U,{value:o,style:{margin:4}})),m.createElement(Ve,{id:be(n),value:a,onChange:k=>i(k.target.value),onFocus:k=>k.target.select(),readOnly:w,placeholder:"Choose color..."}),a?m.createElement(Fe,{onClick:g}):null)},ir=rr;export{rr as ColorControl,ir as default}; diff --git a/assets/DocsRenderer-CFRXHY34-C3sBenEi.js b/assets/DocsRenderer-CFRXHY34-BqYavBbx.js similarity index 93% rename from assets/DocsRenderer-CFRXHY34-C3sBenEi.js rename to assets/DocsRenderer-CFRXHY34-BqYavBbx.js index c36a0f357..6b3434aee 100644 --- a/assets/DocsRenderer-CFRXHY34-C3sBenEi.js +++ b/assets/DocsRenderer-CFRXHY34-BqYavBbx.js @@ -1,2 +1,2 @@ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-Ca-YMdQn.js","./index-DuuuSFPv.js"])))=>i.map(i=>d[i]); -import{_ as h}from"./iframe-YBxBTXqz.js";import{r as a,e as n}from"./index-DuuuSFPv.js";import{b as E,C as d,A as R,H as v,D as f}from"./index-oEW8ocTu.js";import"./index-DPS9-N-h.js";import"./index-DrFu-skq.js";var s={},m;function w(){if(m)return s;m=1;var e=E();return s.createRoot=e.createRoot,s.hydrateRoot=e.hydrateRoot,s}var _=w(),i=new Map;function y(){return globalThis.IS_REACT_ACT_ENVIRONMENT}var C=({callback:e,children:t})=>{let r=a.useRef();return a.useLayoutEffect(()=>{r.current!==e&&(r.current=e,e())},[e]),t};typeof Promise.withResolvers>"u"&&(Promise.withResolvers=()=>{let e=null,t=null;return{promise:new Promise((r,o)=>{e=r,t=o}),resolve:e,reject:t}});var x=async(e,t,r)=>{let o=await g(t,r);if(y()){o.render(e);return}let{promise:u,resolve:c}=Promise.withResolvers();return o.render(a.createElement(C,{callback:c},e)),u},D=(e,t)=>{let r=i.get(e);r&&(r.unmount(),i.delete(e))},g=async(e,t)=>{let r=i.get(e);return r||(r=_.createRoot(e,t),i.set(e,r)),r},A={code:d,a:R,...v},M=class extends a.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e){let{showException:t}=this.props;t(e)}render(){let{hasError:e}=this.state,{children:t}=this.props;return e?null:n.createElement(n.Fragment,null,t)}},P=class{constructor(){this.render=async(e,t,r)=>{let o={...A,...t==null?void 0:t.components},u=f;return new Promise((c,p)=>{h(async()=>{const{MDXProvider:l}=await import("./index-Ca-YMdQn.js");return{MDXProvider:l}},__vite__mapDeps([0,1]),import.meta.url).then(({MDXProvider:l})=>x(n.createElement(M,{showException:p,key:Math.random()},n.createElement(l,{components:o},n.createElement(u,{context:e,docsParameter:t}))),r)).then(()=>c())})},this.unmount=e=>{D(e)}}};export{P as DocsRenderer,A as defaultComponents}; +import{_ as h}from"./iframe-CR1vRkAE.js";import{r as a,e as n}from"./index-DuuuSFPv.js";import{b as E,C as d,A as R,H as v,D as f}from"./index-9geMTWX-.js";import"./index-DPS9-N-h.js";import"./index-DrFu-skq.js";var s={},m;function w(){if(m)return s;m=1;var e=E();return s.createRoot=e.createRoot,s.hydrateRoot=e.hydrateRoot,s}var _=w(),i=new Map;function y(){return globalThis.IS_REACT_ACT_ENVIRONMENT}var C=({callback:e,children:t})=>{let r=a.useRef();return a.useLayoutEffect(()=>{r.current!==e&&(r.current=e,e())},[e]),t};typeof Promise.withResolvers>"u"&&(Promise.withResolvers=()=>{let e=null,t=null;return{promise:new Promise((r,o)=>{e=r,t=o}),resolve:e,reject:t}});var x=async(e,t,r)=>{let o=await g(t,r);if(y()){o.render(e);return}let{promise:u,resolve:c}=Promise.withResolvers();return o.render(a.createElement(C,{callback:c},e)),u},D=(e,t)=>{let r=i.get(e);r&&(r.unmount(),i.delete(e))},g=async(e,t)=>{let r=i.get(e);return r||(r=_.createRoot(e,t),i.set(e,r)),r},A={code:d,a:R,...v},M=class extends a.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e){let{showException:t}=this.props;t(e)}render(){let{hasError:e}=this.state,{children:t}=this.props;return e?null:n.createElement(n.Fragment,null,t)}},P=class{constructor(){this.render=async(e,t,r)=>{let o={...A,...t==null?void 0:t.components},u=f;return new Promise((c,p)=>{h(async()=>{const{MDXProvider:l}=await import("./index-Ca-YMdQn.js");return{MDXProvider:l}},__vite__mapDeps([0,1]),import.meta.url).then(({MDXProvider:l})=>x(n.createElement(M,{showException:p,key:Math.random()},n.createElement(l,{components:o},n.createElement(u,{context:e,docsParameter:t}))),r)).then(()=>c())})},this.unmount=e=>{D(e)}}};export{P as DocsRenderer,A as defaultComponents}; diff --git a/assets/iframe-YBxBTXqz.js b/assets/iframe-CR1vRkAE.js similarity index 99% rename from assets/iframe-YBxBTXqz.js rename to assets/iframe-CR1vRkAE.js index 6f58ce1d5..e6152905a 100644 --- a/assets/iframe-YBxBTXqz.js +++ b/assets/iframe-CR1vRkAE.js @@ -1,4 +1,4 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./About-BDWeqeYR.js","./index-DuuuSFPv.js","./index-Ca-YMdQn.js","./chart.stories-B_n0eSyC.js","./lit-element-Dh4_iwrW.js","./drawtools.stories-BdLbKxLz.js","./geosearch.stories-Db8oGlqR.js","./itemfilter.stories-BBCxhT54.js","./index-CxotbXHJ.js","./jsonform.stories-bigFHcuC.js","./core-C4kcdPvA.js","./layercontrol.stories-LZYFqzxC.js","./directive-DUGPADuw.js","./layout.stories-S-lERfVa.js","./map.stories-CMVkKxDm.js","./main-CHQ92JtU.js","./stacinfo.stories-C616ffbU.js","./storytelling.stories-Bqui_4lf.js","./timecontrol.stories-CyvWINyS.js","./entry-preview-BErytJoa.js","./index-DrFu-skq.js","./entry-preview-docs-rliN-6v9.js","./chunk-L4EGOTBX-BALMY2cf.js","./index-DPS9-N-h.js","./tiny-invariant-CopsF_GD.js","./preview-D77C14du.js","./preview-DEMzn_yN.js","./preview-BWzBA1C2.js","./preview-0vsH2TXp.js","./preview--v8B2K_6.js","./index-oEW8ocTu.js"])))=>i.map(i=>d[i]); +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./About-BDWeqeYR.js","./index-DuuuSFPv.js","./index-Ca-YMdQn.js","./chart.stories-B_n0eSyC.js","./lit-element-Dh4_iwrW.js","./drawtools.stories-BdLbKxLz.js","./geosearch.stories-Db8oGlqR.js","./itemfilter.stories-BBCxhT54.js","./index-CxotbXHJ.js","./jsonform.stories-bigFHcuC.js","./core-C4kcdPvA.js","./layercontrol.stories-LZYFqzxC.js","./directive-DUGPADuw.js","./layout.stories-S-lERfVa.js","./map.stories-CMVkKxDm.js","./main-CHQ92JtU.js","./stacinfo.stories-C616ffbU.js","./storytelling.stories-Bqui_4lf.js","./timecontrol.stories-CyvWINyS.js","./entry-preview-BErytJoa.js","./index-DrFu-skq.js","./entry-preview-docs-rliN-6v9.js","./chunk-L4EGOTBX-BALMY2cf.js","./index-DPS9-N-h.js","./tiny-invariant-CopsF_GD.js","./preview-D77C14du.js","./preview-DEMzn_yN.js","./preview-BWzBA1C2.js","./preview-0vsH2TXp.js","./preview-DXIyYOjp.js","./index-9geMTWX-.js"])))=>i.map(i=>d[i]); (function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))o(a);new MutationObserver(a=>{for(const s of a)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&o(i)}).observe(document,{childList:!0,subtree:!0});function r(a){const s={};return a.integrity&&(s.integrity=a.integrity),a.referrerPolicy&&(s.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?s.credentials="include":a.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function o(a){if(a.ep)return;a.ep=!0;const s=r(a);fetch(a.href,s)}})();const scriptRel="modulepreload",assetsURL=function(t,e){return new URL(t,e).href},seen={},__vitePreload=function(e,r,o){let a=Promise.resolve();if(r&&r.length>0){const i=document.getElementsByTagName("link"),u=document.querySelector("meta[property=csp-nonce]"),l=(u==null?void 0:u.nonce)||(u==null?void 0:u.getAttribute("nonce"));a=Promise.allSettled(r.map(c=>{if(c=assetsURL(c,o),c in seen)return;seen[c]=!0;const g=c.endsWith(".css"),p=g?'[rel="stylesheet"]':"";if(!!o)for(let S=i.length-1;S>=0;S--){const _=i[S];if(_.href===c&&(!g||_.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${p}`))return;const b=document.createElement("link");if(b.rel=g?"stylesheet":scriptRel,g||(b.as="script"),b.crossOrigin="",b.href=c,l&&b.setAttribute("nonce",l),document.head.appendChild(b),g)return new Promise((S,_)=>{b.addEventListener("load",S),b.addEventListener("error",()=>_(new Error(`Unable to preload CSS for ${c}`)))})}))}function s(i){const u=new Event("vite:preloadError",{cancelable:!0});if(u.payload=i,window.dispatchEvent(u),!u.defaultPrevented)throw i}return a.then(i=>{for(const u of i||[])u.status==="rejected"&&s(u.reason);return e().catch(s)})};var Bi=Object.create,Wr=Object.defineProperty,Gi=Object.getOwnPropertyDescriptor,Vi=Object.getOwnPropertyNames,Hi=Object.getPrototypeOf,zi=Object.prototype.hasOwnProperty,n=(t,e)=>Wr(t,"name",{value:e,configurable:!0}),nr=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(e,r)=>(typeof require<"u"?require:e)[r]}):t)(function(t){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')}),B=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Ae=(t,e)=>{for(var r in e)Wr(t,r,{get:e[r],enumerable:!0})},Wi=(t,e,r,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of Vi(e))!zi.call(t,a)&&a!==r&&Wr(t,a,{get:()=>e[a],enumerable:!(o=Gi(e,a))||o.enumerable});return t},ue=(t,e,r)=>(r=t!=null?Bi(Hi(t)):{},Wi(Wr(r,"default",{value:t,enumerable:!0}),t)),Qr=B((t,e)=>{(function(r){if(typeof t=="object"&&typeof e<"u")e.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var o;typeof window<"u"?o=window:typeof global<"u"?o=global:typeof self<"u"?o=self:o=this,o.memoizerific=r()}})(function(){return n(function r(o,a,s){function i(c,g){if(!a[c]){if(!o[c]){var p=typeof nr=="function"&&nr;if(!g&&p)return p(c,!0);if(u)return u(c,!0);var h=new Error("Cannot find module '"+c+"'");throw h.code="MODULE_NOT_FOUND",h}var b=a[c]={exports:{}};o[c][0].call(b.exports,function(S){var _=o[c][1][S];return i(_||S)},b,b.exports,r,o,a,s)}return a[c].exports}n(i,"s");for(var u=typeof nr=="function"&&nr,l=0;l=0)return this.lastItem=this.list[u],this.list[u].val},s.prototype.set=function(i,u){var l;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=u,this):(l=this.indexOf(i),l>=0?(this.lastItem=this.list[l],this.list[l].val=u,this):(this.lastItem={key:i,val:u},this.list.push(this.lastItem),this.size++,this))},s.prototype.delete=function(i){var u;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),u=this.indexOf(i),u>=0)return this.size--,this.list.splice(u,1)[0]},s.prototype.has=function(i){var u;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(u=this.indexOf(i),u>=0?(this.lastItem=this.list[u],!0):!1)},s.prototype.forEach=function(i,u){var l;for(l=0;l0&&(m[w]={cacheItem:S,arg:arguments[w]},v?i(p,m):p.push(m),p.length>c&&u(p.shift())),b.wasMemoized=v,b.numArgs=w+1,A},"memoizerific");return b.limit=c,b.wasMemoized=!1,b.cache=g,b.lru=p,b}};function i(c,g){var p=c.length,h=g.length,b,S,_;for(S=0;S=0&&(p=c[b],h=p.cacheItem.get(p.arg),!h||!h.size);b--)p.cacheItem.delete(p.arg)}n(u,"removeCachedResult");function l(c,g){return c===g||c!==c&&g!==g}n(l,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})}),wn=B(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.encodeString=o;var e=Array.from({length:256},(a,s)=>"%"+((s<16?"0":"")+s.toString(16)).toUpperCase()),r=new Int8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,1,1,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,0]);function o(a){let s=a.length;if(s===0)return"";let i="",u=0,l=0;e:for(;l>6]+e[128|c&63];continue}if(c<55296||c>=57344){u=l+1,i+=e[224|c>>12]+e[128|c>>6&63]+e[128|c&63];continue}if(++l,l>=s)throw new Error("URI malformed");let g=a.charCodeAt(l)&1023;u=l+1,c=65536+((c&1023)<<10|g),i+=e[240|c>>18]+e[128|c>>12&63]+e[128|c>>6&63]+e[128|c&63]}return u===0?a:u{Object.defineProperty(t,"__esModule",{value:!0}),t.defaultOptions=t.defaultShouldSerializeObject=t.defaultValueSerializer=void 0;var e=wn(),r=n(s=>{switch(typeof s){case"string":return(0,e.encodeString)(s);case"bigint":case"boolean":return""+s;case"number":if(Number.isFinite(s))return s<1e21?""+s:(0,e.encodeString)(""+s);break}return s instanceof Date?(0,e.encodeString)(s.toISOString()):""},"defaultValueSerializer");t.defaultValueSerializer=r;var o=n(s=>s instanceof Date,"defaultShouldSerializeObject");t.defaultShouldSerializeObject=o;var a=n(s=>s,"identityFunc");t.defaultOptions={nesting:!0,nestingSyntax:"dot",arrayRepeat:!1,arrayRepeatSyntax:"repeat",delimiter:38,valueDeserializer:a,valueSerializer:t.defaultValueSerializer,keyDeserializer:a,shouldSerializeObject:t.defaultShouldSerializeObject}}),Pn=B(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getDeepObject=a,t.stringifyObject=g;var e=Tt(),r=wn();function o(p){return p==="__proto__"||p==="constructor"||p==="prototype"}n(o,"isPrototypeKey");function a(p,h,b,S,_){if(o(h))return p;let A=p[h];return typeof A=="object"&&A!==null?A:!S&&(_||typeof b=="number"||typeof b=="string"&&b*0===0&&b.indexOf(".")===-1)?p[h]=[]:p[h]={}}n(a,"getDeepObject");var s=20,i="[]",u="[",l="]",c=".";function g(p,h,b=0,S,_){let{nestingSyntax:A=e.defaultOptions.nestingSyntax,arrayRepeat:w=e.defaultOptions.arrayRepeat,arrayRepeatSyntax:m=e.defaultOptions.arrayRepeatSyntax,nesting:v=e.defaultOptions.nesting,delimiter:C=e.defaultOptions.delimiter,valueSerializer:k=e.defaultOptions.valueSerializer,shouldSerializeObject:x=e.defaultOptions.shouldSerializeObject}=h,F=typeof C=="number"?String.fromCharCode(C):C,U=_===!0&&w,V=A==="dot"||A==="js"&&!_;if(b>s)return"";let M="",Y=!0,I=!1;for(let j in p){let d=p[j],y;S?(y=S,U?m==="bracket"&&(y+=i):V?(y+=c,y+=j):(y+=u,y+=j,y+=l)):y=j,Y||(M+=F),typeof d=="object"&&d!==null&&!x(d)?(I=d.pop!==void 0,(v||w&&I)&&(M+=g(d,h,b+1,y,I))):(M+=(0,r.encodeString)(y),M+="=",M+=k(d,j)),Y&&(Y=!1)}return M}n(g,"stringifyObject")}),Va=B((t,e)=>{var r=12,o=0,a=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,7,7,7,7,7,7,7,7,7,7,7,7,8,7,7,10,9,9,9,11,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,24,36,48,60,72,84,96,0,12,12,12,0,0,0,0,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,0,0,24,24,24,0,0,0,0,0,0,0,0,0,24,24,0,0,0,0,0,0,0,0,0,0,48,48,48,0,0,0,0,0,0,0,0,0,0,48,48,0,0,0,0,0,0,0,0,0,48,0,0,0,0,0,0,0,0,0,0,127,63,63,63,0,31,15,15,15,7,7,7];function s(l){var c=l.indexOf("%");if(c===-1)return l;for(var g=l.length,p="",h=0,b=0,S=c,_=r;c>-1&&c>10),56320+(b&1023)),b=0,h=c+3,c=S=l.indexOf("%",h);else{if(_===o)return null;if(c+=3,c{var e=t&&t.__importDefault||function(p){return p&&p.__esModule?p:{default:p}};Object.defineProperty(t,"__esModule",{value:!0}),t.numberValueDeserializer=t.numberKeyDeserializer=void 0,t.parse=g;var r=Pn(),o=Tt(),a=e(Va()),s=n(p=>{let h=Number(p);return Number.isNaN(h)?p:h},"numberKeyDeserializer");t.numberKeyDeserializer=s;var i=n(p=>{let h=Number(p);return Number.isNaN(h)?p:h},"numberValueDeserializer");t.numberValueDeserializer=i;var u=/\+/g,l=n(function(){},"Empty");l.prototype=Object.create(null);function c(p,h,b,S,_){let A=p.substring(h,b);return S&&(A=A.replace(u," ")),_&&(A=(0,a.default)(A)||A),A}n(c,"computeKeySlice");function g(p,h){let{valueDeserializer:b=o.defaultOptions.valueDeserializer,keyDeserializer:S=o.defaultOptions.keyDeserializer,arrayRepeatSyntax:_=o.defaultOptions.arrayRepeatSyntax,nesting:A=o.defaultOptions.nesting,arrayRepeat:w=o.defaultOptions.arrayRepeat,nestingSyntax:m=o.defaultOptions.nestingSyntax,delimiter:v=o.defaultOptions.delimiter}=h??{},C=typeof v=="string"?v.charCodeAt(0):v,k=m==="js",x=new l;if(typeof p!="string")return x;let F=p.length,U="",V=-1,M=-1,Y=-1,I=x,j,d="",y="",E=!1,D=!1,T=!1,z=!1,te=!1,Q=!1,X=!1,re=0,ae=-1,se=-1,Re=-1;for(let ne=0;neV,X||(M=ne),Y!==M-1&&(y=c(p,Y+1,ae>-1?ae:M,T,E),d=S(y),j!==void 0&&(I=(0,r.getDeepObject)(I,j,d,k&&te,k&&Q))),X||d!==""){X&&(U=p.slice(M+1,ne),z&&(U=U.replace(u," ")),D&&(U=(0,a.default)(U)||U));let xe=b(U,d);if(w){let Le=I[d];Le===void 0?ae>-1?I[d]=[xe]:I[d]=xe:Le.pop?Le.push(xe):I[d]=[Le,xe]}else I[d]=xe}U="",V=ne,M=ne,E=!1,D=!1,T=!1,z=!1,te=!1,Q=!1,ae=-1,Y=ne,I=x,j=void 0,d=""}else re===93?(w&&_==="bracket"&&Re===91&&(ae=se),A&&(m==="index"||k)&&M<=V&&(Y!==se&&(y=c(p,Y+1,ne,T,E),d=S(y),j!==void 0&&(I=(0,r.getDeepObject)(I,j,d,void 0,k)),j=d,T=!1,E=!1),Y=ne,Q=!0,te=!1)):re===46?A&&(m==="dot"||k)&&M<=V&&(Y!==se&&(y=c(p,Y+1,ne,T,E),d=S(y),j!==void 0&&(I=(0,r.getDeepObject)(I,j,d,k)),j=d,T=!1,E=!1),te=!0,Q=!1,Y=ne):re===91?A&&(m==="index"||k)&&M<=V&&(Y!==se&&(y=c(p,Y+1,ne,T,E),d=S(y),k&&j!==void 0&&(I=(0,r.getDeepObject)(I,j,d,k)),j=d,T=!1,E=!1,te=!1,Q=!0),Y=ne):re===61?M<=V?M=ne:D=!0:re===43?M>V?z=!0:T=!0:re===37&&(M>V?D=!0:E=!0);se=ne,Re=re}return x}n(g,"parse")}),Ya=B(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.stringify=r;var e=Pn();function r(o,a){if(o===null||typeof o!="object")return"";let s=a??{};return(0,e.stringifyObject)(o,s)}n(r,"stringify")}),At=B(t=>{var e=t&&t.__createBinding||(Object.create?function(s,i,u,l){l===void 0&&(l=u);var c=Object.getOwnPropertyDescriptor(i,u);(!c||("get"in c?!i.__esModule:c.writable||c.configurable))&&(c={enumerable:!0,get:n(function(){return i[u]},"get")}),Object.defineProperty(s,l,c)}:function(s,i,u,l){l===void 0&&(l=u),s[l]=i[u]}),r=t&&t.__exportStar||function(s,i){for(var u in s)u!=="default"&&!Object.prototype.hasOwnProperty.call(i,u)&&e(i,s,u)};Object.defineProperty(t,"__esModule",{value:!0}),t.stringify=t.parse=void 0;var o=$a();Object.defineProperty(t,"parse",{enumerable:!0,get:n(function(){return o.parse},"get")});var a=Ya();Object.defineProperty(t,"stringify",{enumerable:!0,get:n(function(){return a.stringify},"get")}),r(Tt(),t)}),Nn=B((t,e)=>{e.exports={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:` `,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"}}),ri=B((t,e)=>{e.exports={Aacute:"Á",aacute:"á",Acirc:"Â",acirc:"â",acute:"´",AElig:"Æ",aelig:"æ",Agrave:"À",agrave:"à",amp:"&",AMP:"&",Aring:"Å",aring:"å",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",brvbar:"¦",Ccedil:"Ç",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",Eacute:"É",eacute:"é",Ecirc:"Ê",ecirc:"ê",Egrave:"È",egrave:"è",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",Iacute:"Í",iacute:"í",Icirc:"Î",icirc:"î",iexcl:"¡",Igrave:"Ì",igrave:"ì",iquest:"¿",Iuml:"Ï",iuml:"ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",Ntilde:"Ñ",ntilde:"ñ",Oacute:"Ó",oacute:"ó",Ocirc:"Ô",ocirc:"ô",Ograve:"Ò",ograve:"ò",ordf:"ª",ordm:"º",Oslash:"Ø",oslash:"ø",Otilde:"Õ",otilde:"õ",Ouml:"Ö",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",THORN:"Þ",thorn:"þ",times:"×",Uacute:"Ú",uacute:"ú",Ucirc:"Û",ucirc:"û",Ugrave:"Ù",ugrave:"ù",uml:"¨",Uuml:"Ü",uuml:"ü",Yacute:"Ý",yacute:"ý",yen:"¥",yuml:"ÿ"}}),kn=B((t,e)=>{e.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}}),ti=B((t,e)=>{e.exports={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}}),ni=B(t=>{var e=t&&t.__importDefault||function(s){return s&&s.__esModule?s:{default:s}};Object.defineProperty(t,"__esModule",{value:!0});var r=e(ti()),o=String.fromCodePoint||function(s){var i="";return s>65535&&(s-=65536,i+=String.fromCharCode(s>>>10&1023|55296),s=56320|s&1023),i+=String.fromCharCode(s),i};function a(s){return s>=55296&&s<=57343||s>1114111?"�":(s in r.default&&(s=r.default[s]),o(s))}n(a,"decodeCodePoint"),t.default=a}),jn=B(t=>{var e=t&&t.__importDefault||function(g){return g&&g.__esModule?g:{default:g}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeHTML=t.decodeHTMLStrict=t.decodeXML=void 0;var r=e(Nn()),o=e(ri()),a=e(kn()),s=e(ni()),i=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;t.decodeXML=u(a.default),t.decodeHTMLStrict=u(r.default);function u(g){var p=c(g);return function(h){return String(h).replace(i,p)}}n(u,"getStrictDecoder");var l=n(function(g,p){return g{var e=t&&t.__importDefault||function(m){return m&&m.__esModule?m:{default:m}};Object.defineProperty(t,"__esModule",{value:!0}),t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=void 0;var r=e(kn()),o=l(r.default),a=c(o);t.encodeXML=w(o);var s=e(Nn()),i=l(s.default),u=c(i);t.encodeHTML=b(i,u),t.encodeNonAsciiHTML=w(i);function l(m){return Object.keys(m).sort().reduce(function(v,C){return v[m[C]]="&"+C+";",v},{})}n(l,"getInverseObj");function c(m){for(var v=[],C=[],k=0,x=Object.keys(m);k1?p(m):m.charCodeAt(0)).toString(16).toUpperCase()+";"}n(h,"singleCharReplacer");function b(m,v){return function(C){return C.replace(v,function(k){return m[k]}).replace(g,h)}}n(b,"getInverse");var S=new RegExp(a.source+"|"+g.source,"g");function _(m){return m.replace(S,h)}n(_,"escape"),t.escape=_;function A(m){return m.replace(a,h)}n(A,"escapeUTF8"),t.escapeUTF8=A;function w(m){return function(v){return v.replace(S,function(C){return m[C]||h(C)})}}n(w,"getASCIIEncoder")}),Si=B(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXMLStrict=t.decodeHTML5Strict=t.decodeHTML4Strict=t.decodeHTML5=t.decodeHTML4=t.decodeHTMLStrict=t.decodeHTML=t.decodeXML=t.encodeHTML5=t.encodeHTML4=t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=t.encode=t.decodeStrict=t.decode=void 0;var e=jn(),r=qn();function o(l,c){return(!c||c<=0?e.decodeXML:e.decodeHTML)(l)}n(o,"decode"),t.decode=o;function a(l,c){return(!c||c<=0?e.decodeXML:e.decodeHTMLStrict)(l)}n(a,"decodeStrict"),t.decodeStrict=a;function s(l,c){return(!c||c<=0?r.encodeXML:r.encodeHTML)(l)}n(s,"encode"),t.encode=s;var i=qn();Object.defineProperty(t,"encodeXML",{enumerable:!0,get:n(function(){return i.encodeXML},"get")}),Object.defineProperty(t,"encodeHTML",{enumerable:!0,get:n(function(){return i.encodeHTML},"get")}),Object.defineProperty(t,"encodeNonAsciiHTML",{enumerable:!0,get:n(function(){return i.encodeNonAsciiHTML},"get")}),Object.defineProperty(t,"escape",{enumerable:!0,get:n(function(){return i.escape},"get")}),Object.defineProperty(t,"escapeUTF8",{enumerable:!0,get:n(function(){return i.escapeUTF8},"get")}),Object.defineProperty(t,"encodeHTML4",{enumerable:!0,get:n(function(){return i.encodeHTML},"get")}),Object.defineProperty(t,"encodeHTML5",{enumerable:!0,get:n(function(){return i.encodeHTML},"get")});var u=jn();Object.defineProperty(t,"decodeXML",{enumerable:!0,get:n(function(){return u.decodeXML},"get")}),Object.defineProperty(t,"decodeHTML",{enumerable:!0,get:n(function(){return u.decodeHTML},"get")}),Object.defineProperty(t,"decodeHTMLStrict",{enumerable:!0,get:n(function(){return u.decodeHTMLStrict},"get")}),Object.defineProperty(t,"decodeHTML4",{enumerable:!0,get:n(function(){return u.decodeHTML},"get")}),Object.defineProperty(t,"decodeHTML5",{enumerable:!0,get:n(function(){return u.decodeHTML},"get")}),Object.defineProperty(t,"decodeHTML4Strict",{enumerable:!0,get:n(function(){return u.decodeHTMLStrict},"get")}),Object.defineProperty(t,"decodeHTML5Strict",{enumerable:!0,get:n(function(){return u.decodeHTMLStrict},"get")}),Object.defineProperty(t,"decodeXMLStrict",{enumerable:!0,get:n(function(){return u.decodeXML},"get")})}),Ci=B((t,e)=>{function r(d,y){if(!(d instanceof y))throw new TypeError("Cannot call a class as a function")}n(r,"_classCallCheck");function o(d,y){for(var E=0;E=d.length?{done:!0}:{done:!1,value:d[D++]}},"n"),e:n(function(X){throw X},"e"),f:T}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var z=!0,te=!1,Q;return{s:n(function(){E=E.call(d)},"s"),n:n(function(){var X=E.next();return z=X.done,X},"n"),e:n(function(X){te=!0,Q=X},"e"),f:n(function(){try{!z&&E.return!=null&&E.return()}finally{if(te)throw Q}},"f")}}n(s,"_createForOfIteratorHelper");function i(d,y){if(d){if(typeof d=="string")return u(d,y);var E=Object.prototype.toString.call(d).slice(8,-1);if(E==="Object"&&d.constructor&&(E=d.constructor.name),E==="Map"||E==="Set")return Array.from(d);if(E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E))return u(d,y)}}n(i,"_unsupportedIterableToArray");function u(d,y){(y==null||y>d.length)&&(y=d.length);for(var E=0,D=new Array(y);E0?d*40+55:0,te=y>0?y*40+55:0,Q=E>0?E*40+55:0;D[T]=b([z,te,Q])}n(p,"setStyleColor");function h(d){for(var y=d.toString(16);y.length<2;)y="0"+y;return y}n(h,"toHexString");function b(d){var y=[],E=s(d),D;try{for(E.s();!(D=E.n()).done;){var T=D.value;y.push(h(T))}}catch(z){E.e(z)}finally{E.f()}return"#"+y.join("")}n(b,"toColorHexString");function S(d,y,E,D){var T;return y==="text"?T=k(E,D):y==="display"?T=A(d,E,D):y==="xterm256Foreground"?T=U(d,D.colors[E]):y==="xterm256Background"?T=V(d,D.colors[E]):y==="rgb"&&(T=_(d,E)),T}n(S,"generateOutput");function _(d,y){y=y.substring(2).slice(0,-1);var E=+y.substr(0,2),D=y.substring(5).split(";"),T=D.map(function(z){return("0"+Number(z).toString(16)).substr(-2)}).join("");return F(d,(E===38?"color:#":"background-color:#")+T)}n(_,"handleRgb");function A(d,y,E){y=parseInt(y,10);var D={"-1":n(function(){return"
"},"_"),0:n(function(){return d.length&&w(d)},"_"),1:n(function(){return x(d,"b")},"_"),3:n(function(){return x(d,"i")},"_"),4:n(function(){return x(d,"u")},"_"),8:n(function(){return F(d,"display:none")},"_"),9:n(function(){return x(d,"strike")},"_"),22:n(function(){return F(d,"font-weight:normal;text-decoration:none;font-style:normal")},"_"),23:n(function(){return M(d,"i")},"_"),24:n(function(){return M(d,"u")},"_"),39:n(function(){return U(d,E.fg)},"_"),49:n(function(){return V(d,E.bg)},"_"),53:n(function(){return F(d,"text-decoration:overline")},"_")},T;return D[y]?T=D[y]():4"}).join("")}n(w,"resetStyles");function m(d,y){for(var E=[],D=d;D<=y;D++)E.push(D);return E}n(m,"range");function v(d){return function(y){return(d===null||y.category!==d)&&d!=="all"}}n(v,"notCategory");function C(d){d=parseInt(d,10);var y=null;return d===0?y="all":d===1?y="bold":2")}n(x,"pushTag");function F(d,y){return x(d,"span",y)}n(F,"pushStyle");function U(d,y){return x(d,"span","color:"+y)}n(U,"pushForegroundColor");function V(d,y){return x(d,"span","background-color:"+y)}n(V,"pushBackgroundColor");function M(d,y){var E;if(d.slice(-1)[0]===y&&(E=d.pop()),E)return""}n(M,"closeTag");function Y(d,y,E){var D=!1,T=3;function z(){return""}n(z,"remove");function te(ie,de){return E("xterm256Foreground",de),""}n(te,"removeXterm256Foreground");function Q(ie,de){return E("xterm256Background",de),""}n(Q,"removeXterm256Background");function X(ie){return y.newline?E("display",-1):E("text",ie),""}n(X,"newline");function re(ie,de){D=!0,de.trim().length===0&&(de="0"),de=de.trimRight(";").split(";");var Me=s(de),_t;try{for(Me.s();!(_t=Me.n()).done;){var Ct=_t.value;E("display",Ct)}}catch(xt){Me.e(xt)}finally{Me.f()}return""}n(re,"ansiMess");function ae(ie){return E("text",ie),""}n(ae,"realText");function se(ie){return E("rgb",ie),""}n(se,"rgb");var Re=[{pattern:/^\x08+/,sub:z},{pattern:/^\x1b\[[012]?K/,sub:z},{pattern:/^\x1b\[\(B/,sub:z},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:se},{pattern:/^\x1b\[38;5;(\d+)m/,sub:te},{pattern:/^\x1b\[48;5;(\d+)m/,sub:Q},{pattern:/^\n/,sub:X},{pattern:/^\r+\n/,sub:X},{pattern:/^\r/,sub:X},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:re},{pattern:/^\x1b\[\d?J/,sub:z},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:z},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:z},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:ae}];function ne(ie,de){de>T&&D||(D=!1,d=d.replace(ie.pattern,ie.sub))}n(ne,"process");var xe=[],Le=d,ke=Le.length;e:for(;ke>0;){for(var Et=0,vt=0,Rt=Re.length;vt{(function(r,o){typeof t=="object"&&typeof e<"u"?e.exports=o():typeof define=="function"&&define.amd?define(o):(r=typeof globalThis<"u"?globalThis:r||self).BrowserDetector=o()})(t,function(){function r(l,c){for(var g=0;g1&&arguments[1]!==void 0?arguments[1]:-1,"})?")),g=Number(l).toString().match(c);return g?g[0]:null},"n"),i=n(function(){return typeof window<"u"?window.navigator:null},"i"),u=function(){function l(h){var b;(function(S,_){if(!(S instanceof _))throw new TypeError("Cannot call a class as a function")})(this,l),this.userAgent=h||((b=i())===null||b===void 0?void 0:b.userAgent)||null}n(l,"t");var c,g,p;return c=l,g=[{key:"parseUserAgent",value:n(function(h){var b,S,_,A={},w=h||this.userAgent||"",m=w.toLowerCase().replace(/\s\s+/g," "),v=/(edge)\/([\w.]+)/.exec(m)||/(edg)[/]([\w.]+)/.exec(m)||/(opr)[/]([\w.]+)/.exec(m)||/(opt)[/]([\w.]+)/.exec(m)||/(fxios)[/]([\w.]+)/.exec(m)||/(edgios)[/]([\w.]+)/.exec(m)||/(jsdom)[/]([\w.]+)/.exec(m)||/(samsungbrowser)[/]([\w.]+)/.exec(m)||/(electron)[/]([\w.]+)/.exec(m)||/(chrome)[/]([\w.]+)/.exec(m)||/(crios)[/]([\w.]+)/.exec(m)||/(opios)[/]([\w.]+)/.exec(m)||/(version)(applewebkit)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(m)||/(webkit)[/]([\w.]+).*(version)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(m)||/(applewebkit)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(m)||/(webkit)[/]([\w.]+)/.exec(m)||/(opera)(?:.*version|)[/]([\w.]+)/.exec(m)||/(msie) ([\w.]+)/.exec(m)||/(fennec)[/]([\w.]+)/.exec(m)||m.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(m)||m.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(m)||[],C=/(ipad)/.exec(m)||/(ipod)/.exec(m)||/(iphone)/.exec(m)||/(jsdom)/.exec(m)||/(windows phone)/.exec(m)||/(xbox)/.exec(m)||/(win)/.exec(m)||/(tablet)/.exec(m)||/(android)/.test(m)&&/(mobile)/.test(m)===!1&&["androidTablet"]||/(android)/.exec(m)||/(mac)/.exec(m)||/(linux)/.exec(m)||/(cros)/.exec(m)||[],k=v[5]||v[3]||v[1]||null,x=C[0]||null,F=v[4]||v[2]||null,U=i();k==="chrome"&&typeof(U==null||(b=U.brave)===null||b===void 0?void 0:b.isBrave)=="function"&&(k="brave"),k&&(A[k]=!0),x&&(A[x]=!0);var V=!!(A.tablet||A.android||A.androidTablet),M=!!(A.ipad||A.tablet||A.androidTablet),Y=!!(A.android||A.androidTablet||A.tablet||A.ipad||A.ipod||A.iphone||A["windows phone"]),I=!!(A.cros||A.mac||A.linux||A.win),j=!!(A.brave||A.chrome||A.crios||A.opr||A.safari||A.edg||A.electron),d=!!(A.msie||A.rv);return{name:(S=o[k])!==null&&S!==void 0?S:null,platform:(_=a[x])!==null&&_!==void 0?_:null,userAgent:w,version:F,shortVersion:F?s(parseFloat(F),2):null,isAndroid:V,isTablet:M,isMobile:Y,isDesktop:I,isWebkit:j,isIE:d}},"value")},{key:"getBrowserInfo",value:n(function(){var h=this.parseUserAgent();return{name:h.name,platform:h.platform,userAgent:h.userAgent,version:h.version,shortVersion:h.shortVersion}},"value")}],p=[{key:"VERSION",get:n(function(){return"3.4.0"},"get")}],g&&r(c.prototype,g),p&&r(c,p),Object.defineProperty(c,"prototype",{writable:!1}),l}();return u})}),Dt={};Ae(Dt,{global:()=>R});var R=(()=>{let t;return typeof window<"u"?t=window:typeof globalThis<"u"?t=globalThis:typeof global<"u"?t=global:typeof self<"u"?t=self:t={},t})(),fe={};Ae(fe,{ARGTYPES_INFO_REQUEST:()=>ro,ARGTYPES_INFO_RESPONSE:()=>Xr,CHANNEL_CREATED:()=>Yi,CHANNEL_WS_DISCONNECT:()=>kt,CONFIG_ERROR:()=>Lt,CREATE_NEW_STORYFILE_REQUEST:()=>Ki,CREATE_NEW_STORYFILE_RESPONSE:()=>Xi,CURRENT_STORY_WAS_SET:()=>$r,DOCS_PREPARED:()=>jt,DOCS_RENDERED:()=>sr,FILE_COMPONENT_SEARCH_REQUEST:()=>Ji,FILE_COMPONENT_SEARCH_RESPONSE:()=>Qi,FORCE_REMOUNT:()=>Mt,FORCE_RE_RENDER:()=>ar,GLOBALS_UPDATED:()=>_e,NAVIGATE_URL:()=>Zi,PLAY_FUNCTION_THREW_EXCEPTION:()=>qt,PRELOAD_ENTRIES:()=>Bt,PREVIEW_BUILDER_PROGRESS:()=>el,PREVIEW_KEYDOWN:()=>Gt,REGISTER_SUBSCRIPTION:()=>rl,REQUEST_WHATS_NEW_DATA:()=>dl,RESET_STORY_ARGS:()=>ir,RESULT_WHATS_NEW_DATA:()=>ul,SAVE_STORY_REQUEST:()=>ml,SAVE_STORY_RESPONSE:()=>hl,SELECT_STORY:()=>tl,SET_CONFIG:()=>ol,SET_CURRENT_STORY:()=>Vt,SET_FILTER:()=>nl,SET_GLOBALS:()=>Ht,SET_INDEX:()=>sl,SET_STORIES:()=>al,SET_WHATS_NEW_CACHE:()=>fl,SHARED_STATE_CHANGED:()=>il,SHARED_STATE_SET:()=>ll,STORIES_COLLAPSE_ALL:()=>cl,STORIES_EXPAND_ALL:()=>pl,STORY_ARGS_UPDATED:()=>zt,STORY_CHANGED:()=>Wt,STORY_ERRORED:()=>$t,STORY_FINISHED:()=>Kr,STORY_INDEX_INVALIDATED:()=>Yt,STORY_MISSING:()=>Yr,STORY_PREPARED:()=>Kt,STORY_RENDERED:()=>Be,STORY_RENDER_PHASE_CHANGED:()=>we,STORY_SPECIFIED:()=>Xt,STORY_THREW_EXCEPTION:()=>Jt,STORY_UNCHANGED:()=>Qt,TELEMETRY_ERROR:()=>eo,TESTING_MODULE_CANCEL_TEST_RUN_REQUEST:()=>El,TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE:()=>Rl,TESTING_MODULE_CONFIG_CHANGE:()=>Al,TESTING_MODULE_CRASH_REPORT:()=>gl,TESTING_MODULE_PROGRESS_REPORT:()=>Sl,TESTING_MODULE_RUN_ALL_REQUEST:()=>Tl,TESTING_MODULE_RUN_REQUEST:()=>bl,TESTING_MODULE_WATCH_MODE_REQUEST:()=>xl,TOGGLE_WHATS_NEW_NOTIFICATIONS:()=>yl,UNHANDLED_ERRORS_WHILE_PLAYING:()=>Ut,UPDATE_GLOBALS:()=>lr,UPDATE_QUERY_PARAMS:()=>Zt,UPDATE_STORY_ARGS:()=>cr,default:()=>$i});var Nt=(t=>(t.CHANNEL_WS_DISCONNECT="channelWSDisconnect",t.CHANNEL_CREATED="channelCreated",t.CONFIG_ERROR="configError",t.STORY_INDEX_INVALIDATED="storyIndexInvalidated",t.STORY_SPECIFIED="storySpecified",t.SET_CONFIG="setConfig",t.SET_STORIES="setStories",t.SET_INDEX="setIndex",t.SET_CURRENT_STORY="setCurrentStory",t.CURRENT_STORY_WAS_SET="currentStoryWasSet",t.FORCE_RE_RENDER="forceReRender",t.FORCE_REMOUNT="forceRemount",t.PRELOAD_ENTRIES="preloadStories",t.STORY_PREPARED="storyPrepared",t.DOCS_PREPARED="docsPrepared",t.STORY_CHANGED="storyChanged",t.STORY_UNCHANGED="storyUnchanged",t.STORY_RENDERED="storyRendered",t.STORY_FINISHED="storyFinished",t.STORY_MISSING="storyMissing",t.STORY_ERRORED="storyErrored",t.STORY_THREW_EXCEPTION="storyThrewException",t.STORY_RENDER_PHASE_CHANGED="storyRenderPhaseChanged",t.PLAY_FUNCTION_THREW_EXCEPTION="playFunctionThrewException",t.UNHANDLED_ERRORS_WHILE_PLAYING="unhandledErrorsWhilePlaying",t.UPDATE_STORY_ARGS="updateStoryArgs",t.STORY_ARGS_UPDATED="storyArgsUpdated",t.RESET_STORY_ARGS="resetStoryArgs",t.SET_FILTER="setFilter",t.SET_GLOBALS="setGlobals",t.UPDATE_GLOBALS="updateGlobals",t.GLOBALS_UPDATED="globalsUpdated",t.REGISTER_SUBSCRIPTION="registerSubscription",t.PREVIEW_KEYDOWN="previewKeydown",t.PREVIEW_BUILDER_PROGRESS="preview_builder_progress",t.SELECT_STORY="selectStory",t.STORIES_COLLAPSE_ALL="storiesCollapseAll",t.STORIES_EXPAND_ALL="storiesExpandAll",t.DOCS_RENDERED="docsRendered",t.SHARED_STATE_CHANGED="sharedStateChanged",t.SHARED_STATE_SET="sharedStateSet",t.NAVIGATE_URL="navigateUrl",t.UPDATE_QUERY_PARAMS="updateQueryParams",t.REQUEST_WHATS_NEW_DATA="requestWhatsNewData",t.RESULT_WHATS_NEW_DATA="resultWhatsNewData",t.SET_WHATS_NEW_CACHE="setWhatsNewCache",t.TOGGLE_WHATS_NEW_NOTIFICATIONS="toggleWhatsNewNotifications",t.TELEMETRY_ERROR="telemetryError",t.FILE_COMPONENT_SEARCH_REQUEST="fileComponentSearchRequest",t.FILE_COMPONENT_SEARCH_RESPONSE="fileComponentSearchResponse",t.SAVE_STORY_REQUEST="saveStoryRequest",t.SAVE_STORY_RESPONSE="saveStoryResponse",t.ARGTYPES_INFO_REQUEST="argtypesInfoRequest",t.ARGTYPES_INFO_RESPONSE="argtypesInfoResponse",t.CREATE_NEW_STORYFILE_REQUEST="createNewStoryfileRequest",t.CREATE_NEW_STORYFILE_RESPONSE="createNewStoryfileResponse",t.TESTING_MODULE_CRASH_REPORT="testingModuleCrashReport",t.TESTING_MODULE_PROGRESS_REPORT="testingModuleProgressReport",t.TESTING_MODULE_RUN_REQUEST="testingModuleRunRequest",t.TESTING_MODULE_RUN_ALL_REQUEST="testingModuleRunAllRequest",t.TESTING_MODULE_CANCEL_TEST_RUN_REQUEST="testingModuleCancelTestRunRequest",t.TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE="testingModuleCancelTestRunResponse",t.TESTING_MODULE_WATCH_MODE_REQUEST="testingModuleWatchModeRequest",t.TESTING_MODULE_CONFIG_CHANGE="testingModuleConfigChange",t))(Nt||{}),$i=Nt,{CHANNEL_WS_DISCONNECT:kt,CHANNEL_CREATED:Yi,CONFIG_ERROR:Lt,CREATE_NEW_STORYFILE_REQUEST:Ki,CREATE_NEW_STORYFILE_RESPONSE:Xi,CURRENT_STORY_WAS_SET:$r,DOCS_PREPARED:jt,DOCS_RENDERED:sr,FILE_COMPONENT_SEARCH_REQUEST:Ji,FILE_COMPONENT_SEARCH_RESPONSE:Qi,FORCE_RE_RENDER:ar,FORCE_REMOUNT:Mt,GLOBALS_UPDATED:_e,NAVIGATE_URL:Zi,PLAY_FUNCTION_THREW_EXCEPTION:qt,UNHANDLED_ERRORS_WHILE_PLAYING:Ut,PRELOAD_ENTRIES:Bt,PREVIEW_BUILDER_PROGRESS:el,PREVIEW_KEYDOWN:Gt,REGISTER_SUBSCRIPTION:rl,RESET_STORY_ARGS:ir,SELECT_STORY:tl,SET_CONFIG:ol,SET_CURRENT_STORY:Vt,SET_FILTER:nl,SET_GLOBALS:Ht,SET_INDEX:sl,SET_STORIES:al,SHARED_STATE_CHANGED:il,SHARED_STATE_SET:ll,STORIES_COLLAPSE_ALL:cl,STORIES_EXPAND_ALL:pl,STORY_ARGS_UPDATED:zt,STORY_CHANGED:Wt,STORY_ERRORED:$t,STORY_INDEX_INVALIDATED:Yt,STORY_MISSING:Yr,STORY_PREPARED:Kt,STORY_RENDER_PHASE_CHANGED:we,STORY_RENDERED:Be,STORY_FINISHED:Kr,STORY_SPECIFIED:Xt,STORY_THREW_EXCEPTION:Jt,STORY_UNCHANGED:Qt,UPDATE_GLOBALS:lr,UPDATE_QUERY_PARAMS:Zt,UPDATE_STORY_ARGS:cr,REQUEST_WHATS_NEW_DATA:dl,RESULT_WHATS_NEW_DATA:ul,SET_WHATS_NEW_CACHE:fl,TOGGLE_WHATS_NEW_NOTIFICATIONS:yl,TELEMETRY_ERROR:eo,SAVE_STORY_REQUEST:ml,SAVE_STORY_RESPONSE:hl,ARGTYPES_INFO_REQUEST:ro,ARGTYPES_INFO_RESPONSE:Xr,TESTING_MODULE_CRASH_REPORT:gl,TESTING_MODULE_PROGRESS_REPORT:Sl,TESTING_MODULE_RUN_REQUEST:bl,TESTING_MODULE_RUN_ALL_REQUEST:Tl,TESTING_MODULE_CANCEL_TEST_RUN_REQUEST:El,TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE:Rl,TESTING_MODULE_WATCH_MODE_REQUEST:xl,TESTING_MODULE_CONFIG_CHANGE:Al}=Nt,to={"@storybook/global":"__STORYBOOK_MODULE_GLOBAL__","storybook/internal/channels":"__STORYBOOK_MODULE_CHANNELS__","@storybook/channels":"__STORYBOOK_MODULE_CHANNELS__","@storybook/core/channels":"__STORYBOOK_MODULE_CHANNELS__","storybook/internal/client-logger":"__STORYBOOK_MODULE_CLIENT_LOGGER__","@storybook/client-logger":"__STORYBOOK_MODULE_CLIENT_LOGGER__","@storybook/core/client-logger":"__STORYBOOK_MODULE_CLIENT_LOGGER__","storybook/internal/core-events":"__STORYBOOK_MODULE_CORE_EVENTS__","@storybook/core-events":"__STORYBOOK_MODULE_CORE_EVENTS__","@storybook/core/core-events":"__STORYBOOK_MODULE_CORE_EVENTS__","storybook/internal/preview-errors":"__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__","@storybook/core-events/preview-errors":"__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__","@storybook/core/preview-errors":"__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__","storybook/internal/preview-api":"__STORYBOOK_MODULE_PREVIEW_API__","@storybook/preview-api":"__STORYBOOK_MODULE_PREVIEW_API__","@storybook/core/preview-api":"__STORYBOOK_MODULE_PREVIEW_API__","storybook/internal/types":"__STORYBOOK_MODULE_TYPES__","@storybook/types":"__STORYBOOK_MODULE_TYPES__","@storybook/core/types":"__STORYBOOK_MODULE_TYPES__"},Yn=Object.keys(to),yr={};Ae(yr,{Channel:()=>ye,PostMessageTransport:()=>$e,WebsocketTransport:()=>Ye,createBrowserChannel:()=>Ed,default:()=>Td});var _l=n(t=>t.transports!==void 0,"isMulti"),wl=n(()=>Math.random().toString(16).slice(2),"generateRandomId"),oo=class{constructor(e={}){this.sender=wl(),this.events={},this.data={},this.transports=[],this.isAsync=e.async||!1,_l(e)?(this.transports=e.transports||[],this.transports.forEach(r=>{r.setHandler(o=>this.handleEvent(o))})):this.transports=e.transport?[e.transport]:[],this.transports.forEach(r=>{r.setHandler(o=>this.handleEvent(o))})}get hasTransport(){return this.transports.length>0}addListener(e,r){this.events[e]=this.events[e]||[],this.events[e].push(r)}emit(e,...r){let o={type:e,args:r,from:this.sender},a={};r.length>=1&&r[0]&&r[0].options&&(a=r[0].options);let s=n(()=>{this.transports.forEach(i=>{i.send(o,a)}),this.handleEvent(o)},"handler");this.isAsync?setImmediate(s):s()}last(e){return this.data[e]}eventNames(){return Object.keys(this.events)}listenerCount(e){let r=this.listeners(e);return r?r.length:0}listeners(e){return this.events[e]||void 0}once(e,r){let o=this.onceListener(e,r);this.addListener(e,o)}removeAllListeners(e){e?this.events[e]&&delete this.events[e]:this.events={}}removeListener(e,r){let o=this.listeners(e);o&&(this.events[e]=o.filter(a=>a!==r))}on(e,r){this.addListener(e,r)}off(e,r){this.removeListener(e,r)}handleEvent(e){let r=this.listeners(e.type);r&&r.length&&r.forEach(o=>{o.apply(e,e.args)}),this.data[e.type]=e.args}onceListener(e,r){let o=n((...a)=>(this.removeListener(e,o),r(...a)),"onceListener");return o}};n(oo,"Channel");var ye=oo,pr={};Ae(pr,{deprecate:()=>oe,logger:()=>O,once:()=>L,pretty:()=>K});var{LOGLEVEL:vl}=R,me={trace:1,debug:2,info:3,warn:4,error:5,silent:10},Pl=vl,Ge=me[Pl]||me.info,O={trace:n((t,...e)=>{Ge<=me.trace&&console.trace(t,...e)},"trace"),debug:n((t,...e)=>{Ge<=me.debug&&console.debug(t,...e)},"debug"),info:n((t,...e)=>{Ge<=me.info&&console.info(t,...e)},"info"),warn:n((t,...e)=>{Ge<=me.warn&&console.warn(t,...e)},"warn"),error:n((t,...e)=>{Ge<=me.error&&console.error(t,...e)},"error"),log:n((t,...e)=>{Ge(e,...r)=>{if(!no.has(e))return no.add(e),O[t](e,...r)},"once");L.clear=()=>no.clear();L.trace=L("trace");L.debug=L("debug");L.info=L("info");L.warn=L("warn");L.error=L("error");L.log=L("log");var oe=L("warn"),K=n(t=>(...e)=>{let r=[];if(e.length){let o=//gi,a=/<\/span>/gi,s;for(r.push(e[0].replace(o,"%c").replace(a,"%c"));s=o.exec(e[0]);)r.push(s[2]),r.push("");for(let i=1;in(function(){return e||(0,t[Xn(t)[0]])((e={exports:{}}).exports,e),e.exports},"__require"),"__commonJS"),Dl=n((t,e,r,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of Xn(e))!Fl.call(t,a)&&a!==r&&Kn(t,a,{get:n(()=>e[a],"get"),enumerable:!(o=Ol(e,a))||o.enumerable});return t},"__copyProps"),Jr=n((t,e,r)=>(r=t!=null?Cl(Il(t)):{},Dl(e||!t||!t.__esModule?Kn(r,"default",{value:t,enumerable:!0}):r,t)),"__toESM"),Nl=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],kl=["detail"];function Jn(t){let e=Nl.filter(r=>t[r]!==void 0).reduce((r,o)=>({...r,[o]:t[o]}),{});return t instanceof CustomEvent&&kl.filter(r=>t[r]!==void 0).forEach(r=>{e[r]=t[r]}),e}n(Jn,"extractEventHiddenProperties");var fs=ue(Qr()),ns=J({"node_modules/has-symbols/shams.js"(t,e){e.exports=n(function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},o=Symbol("test"),a=Object(o);if(typeof o=="string"||Object.prototype.toString.call(o)!=="[object Symbol]"||Object.prototype.toString.call(a)!=="[object Symbol]")return!1;var s=42;r[o]=s;for(o in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var i=Object.getOwnPropertySymbols(r);if(i.length!==1||i[0]!==o||!Object.prototype.propertyIsEnumerable.call(r,o))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var u=Object.getOwnPropertyDescriptor(r,o);if(u.value!==s||u.enumerable!==!0)return!1}return!0},"hasSymbols")}}),ss=J({"node_modules/has-symbols/index.js"(t,e){var r=typeof Symbol<"u"&&Symbol,o=ns();e.exports=n(function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:o()},"hasNativeSymbols")}}),Ll=J({"node_modules/function-bind/implementation.js"(t,e){var r="Function.prototype.bind called on incompatible ",o=Array.prototype.slice,a=Object.prototype.toString,s="[object Function]";e.exports=n(function(i){var u=this;if(typeof u!="function"||a.call(u)!==s)throw new TypeError(r+u);for(var l=o.call(arguments,1),c,g=n(function(){if(this instanceof c){var _=u.apply(this,l.concat(o.call(arguments)));return Object(_)===_?_:this}else return u.apply(i,l.concat(o.call(arguments)))},"binder"),p=Math.max(0,u.length-l.length),h=[],b=0;b"u"?r:p(Uint8Array),S={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":g?p([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":a,"%GeneratorFunction%":h,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":g?p(p([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!g?r:p(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!g?r:p(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":g?p(""[Symbol.iterator]()):r,"%Symbol%":g?Symbol:r,"%SyntaxError%":o,"%ThrowTypeError%":c,"%TypedArray%":b,"%TypeError%":s,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet},_=n(function I(j){var d;if(j==="%AsyncFunction%")d=i("async function () {}");else if(j==="%GeneratorFunction%")d=i("function* () {}");else if(j==="%AsyncGeneratorFunction%")d=i("async function* () {}");else if(j==="%AsyncGenerator%"){var y=I("%AsyncGeneratorFunction%");y&&(d=y.prototype)}else if(j==="%AsyncIteratorPrototype%"){var E=I("%AsyncGenerator%");E&&(d=p(E.prototype))}return S[j]=d,d},"doEval2"),A={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},w=io(),m=jl(),v=w.call(Function.call,Array.prototype.concat),C=w.call(Function.apply,Array.prototype.splice),k=w.call(Function.call,String.prototype.replace),x=w.call(Function.call,String.prototype.slice),F=w.call(Function.call,RegExp.prototype.exec),U=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,V=/\\(\\)?/g,M=n(function(I){var j=x(I,0,1),d=x(I,-1);if(j==="%"&&d!=="%")throw new o("invalid intrinsic syntax, expected closing `%`");if(d==="%"&&j!=="%")throw new o("invalid intrinsic syntax, expected opening `%`");var y=[];return k(I,U,function(E,D,T,z){y[y.length]=T?k(z,V,"$1"):D||E}),y},"stringToPath3"),Y=n(function(I,j){var d=I,y;if(m(A,d)&&(y=A[d],d="%"+y[0]+"%"),m(S,d)){var E=S[d];if(E===h&&(E=_(d)),typeof E>"u"&&!j)throw new s("intrinsic "+I+" exists, but is not available. Please file an issue!");return{alias:y,name:d,value:E}}throw new o("intrinsic "+I+" does not exist!")},"getBaseIntrinsic2");e.exports=n(function(I,j){if(typeof I!="string"||I.length===0)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof j!="boolean")throw new s('"allowMissing" argument must be a boolean');if(F(/^%?[^%]*%?$/,I)===null)throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var d=M(I),y=d.length>0?d[0]:"",E=Y("%"+y+"%",j),D=E.name,T=E.value,z=!1,te=E.alias;te&&(y=te[0],C(d,v([0,1],te)));for(var Q=1,X=!0;Q=d.length){var Re=u(T,re);X=!!Re,X&&"get"in Re&&!("originalValue"in Re.get)?T=Re.get:T=T[re]}else X=m(T,re),T=T[re];X&&!z&&(S[D]=T)}}return T},"GetIntrinsic")}}),Ml=J({"node_modules/call-bind/index.js"(t,e){var r=io(),o=as(),a=o("%Function.prototype.apply%"),s=o("%Function.prototype.call%"),i=o("%Reflect.apply%",!0)||r.call(s,a),u=o("%Object.getOwnPropertyDescriptor%",!0),l=o("%Object.defineProperty%",!0),c=o("%Math.max%");if(l)try{l({},"a",{value:1})}catch{l=null}e.exports=n(function(p){var h=i(r,s,arguments);if(u&&l){var b=u(h,"length");b.configurable&&l(h,"length",{value:1+c(0,p.length-(arguments.length-1))})}return h},"callBind");var g=n(function(){return i(r,a,arguments)},"applyBind2");l?l(e.exports,"apply",{value:g}):e.exports.apply=g}}),ql=J({"node_modules/call-bind/callBound.js"(t,e){var r=as(),o=Ml(),a=o(r("String.prototype.indexOf"));e.exports=n(function(s,i){var u=r(s,!!i);return typeof u=="function"&&a(s,".prototype.")>-1?o(u):u},"callBoundIntrinsic")}}),Ul=J({"node_modules/has-tostringtag/shams.js"(t,e){var r=ns();e.exports=n(function(){return r()&&!!Symbol.toStringTag},"hasToStringTagShams")}}),Bl=J({"node_modules/is-regex/index.js"(t,e){var r=ql(),o=Ul()(),a,s,i,u;o&&(a=r("Object.prototype.hasOwnProperty"),s=r("RegExp.prototype.exec"),i={},l=n(function(){throw i},"throwRegexMarker"),u={toString:l,valueOf:l},typeof Symbol.toPrimitive=="symbol"&&(u[Symbol.toPrimitive]=l));var l,c=r("Object.prototype.toString"),g=Object.getOwnPropertyDescriptor,p="[object RegExp]";e.exports=n(o?function(h){if(!h||typeof h!="object")return!1;var b=g(h,"lastIndex"),S=b&&a(b,"value");if(!S)return!1;try{s(h,u)}catch(_){return _===i}}:function(h){return!h||typeof h!="object"&&typeof h!="function"?!1:c(h)===p},"isRegex")}}),Gl=J({"node_modules/is-function/index.js"(t,e){e.exports=o;var r=Object.prototype.toString;function o(a){if(!a)return!1;var s=r.call(a);return s==="[object Function]"||typeof a=="function"&&s!=="[object RegExp]"||typeof window<"u"&&(a===window.setTimeout||a===window.alert||a===window.confirm||a===window.prompt)}n(o,"isFunction3")}}),Vl=J({"node_modules/is-symbol/index.js"(t,e){var r=Object.prototype.toString,o=ss()();o?(a=Symbol.prototype.toString,s=/^Symbol\(.*\)$/,i=n(function(u){return typeof u.valueOf()!="symbol"?!1:s.test(a.call(u))},"isRealSymbolObject"),e.exports=n(function(u){if(typeof u=="symbol")return!0;if(r.call(u)!=="[object Symbol]")return!1;try{return i(u)}catch{return!1}},"isSymbol3")):e.exports=n(function(u){return!1},"isSymbol3");var a,s,i}}),Hl=Jr(Bl()),zl=Jr(Gl()),Wl=Jr(Vl());function $l(t){return t!=null&&typeof t=="object"&&Array.isArray(t)===!1}n($l,"isObject");var Yl=typeof global=="object"&&global&&global.Object===Object&&global,Kl=Yl,Xl=typeof self=="object"&&self&&self.Object===Object&&self,Jl=Kl||Xl||Function("return this")(),lo=Jl,Ql=lo.Symbol,Ve=Ql,is=Object.prototype,Zl=is.hasOwnProperty,ec=is.toString,dr=Ve?Ve.toStringTag:void 0;function rc(t){var e=Zl.call(t,dr),r=t[dr];try{t[dr]=void 0;var o=!0}catch{}var a=ec.call(t);return o&&(e?t[dr]=r:delete t[dr]),a}n(rc,"getRawTag");var tc=rc,oc=Object.prototype,nc=oc.toString;function sc(t){return nc.call(t)}n(sc,"objectToString");var ac=sc,ic="[object Null]",lc="[object Undefined]",Zn=Ve?Ve.toStringTag:void 0;function cc(t){return t==null?t===void 0?lc:ic:Zn&&Zn in Object(t)?tc(t):ac(t)}n(cc,"baseGetTag");var ls=cc;function pc(t){return t!=null&&typeof t=="object"}n(pc,"isObjectLike");var dc=pc,uc="[object Symbol]";function fc(t){return typeof t=="symbol"||dc(t)&&ls(t)==uc}n(fc,"isSymbol");var co=fc;function yc(t,e){for(var r=-1,o=t==null?0:t.length,a=Array(o);++r-1}n(xp,"listCacheHas");var Ap=xp;function _p(t,e){var r=this.__data__,o=et(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}n(_p,"listCacheSet");var wp=_p;function ze(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e{let e=null,r=!1,o=!1,a=!1,s="";if(t.indexOf("//")>=0||t.indexOf("/*")>=0)for(let i=0;i{throw k},"showException"),f The possible options are: ${Object.keys(Bn).join(", ")}, none. `)}showMode(e){clearTimeout(this.preparingTimeout),Object.keys(Ni).forEach(r=>{r===e?H.body.classList.add(Un[r]):H.body.classList.remove(Un[r])})}showErrorDisplay({message:e="",stack:r=""}){let o=e,a=r,s=e.split(` `);s.length>1&&([o]=s,a=s.slice(1).join(` -`).replace(/^\n/,"")),H.getElementById("error-message").innerHTML=Ii.toHtml(o),H.getElementById("error-stack").innerHTML=Ii.toHtml(a),this.showMode("ERROR")}showNoPreview(){var e,r;this.testing||(this.showMode("NOPREVIEW"),(e=this.storyRoot())==null||e.setAttribute("hidden","true"),(r=this.docsRoot())==null||r.setAttribute("hidden","true"))}showPreparingStory({immediate:e=!1}={}){clearTimeout(this.preparingTimeout),e?this.showMode("PREPARING_STORY"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_STORY"),Oi)}showPreparingDocs({immediate:e=!1}={}){clearTimeout(this.preparingTimeout),e?this.showMode("PREPARING_DOCS"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_DOCS"),Oi)}showMain(){this.showMode("MAIN")}showDocs(){this.storyRoot().setAttribute("hidden","true"),this.docsRoot().removeAttribute("hidden")}showStory(){this.docsRoot().setAttribute("hidden","true"),this.storyRoot().removeAttribute("hidden")}showStoryDuringRender(){H.body.classList.add(Un.MAIN)}};n(Gn,"WebView");var qe=Gn,Vn=class extends Ne{constructor(e,r){super(e,r,new je,new qe),this.importFn=e,this.getProjectAnnotations=r,R.__STORYBOOK_PREVIEW__=this}};n(Vn,"PreviewWeb");var Mr=Vn,{document:Ue}=R,Rf=["application/javascript","application/ecmascript","application/x-ecmascript","application/x-javascript","text/ecmascript","text/javascript","text/javascript1.0","text/javascript1.1","text/javascript1.2","text/javascript1.3","text/javascript1.4","text/javascript1.5","text/jscript","text/livescript","text/x-ecmascript","text/x-javascript","module"],xf="script",ki="scripts-root";function qr(){let t=Ue.createEvent("Event");t.initEvent("DOMContentLoaded",!0,!0),Ue.dispatchEvent(t)}n(qr,"simulateDOMContentLoaded");function Af(t,e,r){let o=Ue.createElement("script");o.type=t.type==="module"?"module":"text/javascript",t.src?(o.onload=e,o.onerror=e,o.src=t.src):o.textContent=t.innerText,r?r.appendChild(o):Ue.head.appendChild(o),t.parentNode.removeChild(t),t.src||e()}n(Af,"insertScript");function Li(t,e,r=0){t[r](()=>{r++,r===t.length?e():Li(t,e,r)})}n(Li,"insertScriptsSequentially");function Hn(t){let e=Ue.getElementById(ki);e?e.innerHTML="":(e=Ue.createElement("div"),e.id=ki,Ue.body.appendChild(e));let r=Array.from(t.querySelectorAll(xf));if(r.length){let o=[];r.forEach(a=>{let s=a.getAttribute("type");(!s||Rf.includes(s))&&o.push(i=>Af(a,i,e))}),o.length&&Li(o,qr,void 0)}else qr()}n(Hn,"simulatePageLoad");var ji={"@storybook/global":Dt,"storybook/internal/channels":yr,"@storybook/channels":yr,"@storybook/core/channels":yr,"storybook/internal/client-logger":pr,"@storybook/client-logger":pr,"@storybook/core/client-logger":pr,"storybook/internal/core-events":fe,"@storybook/core-events":fe,"@storybook/core/core-events":fe,"storybook/internal/preview-errors":Pr,"@storybook/core-events/preview-errors":Pr,"@storybook/core/preview-errors":Pr,"storybook/internal/preview-api":Ur,"@storybook/preview-api":Ur,"@storybook/core/preview-api":Ur,"storybook/internal/types":mr,"@storybook/types":mr,"@storybook/core/types":mr},qi=ue(Mi()),$n;function _f(){var t;return $n||($n=new qi.default((t=R.navigator)==null?void 0:t.userAgent).getBrowserInfo()),$n}n(_f,"getBrowserInfo");function Ui(t){return t.browserInfo=_f(),t}n(Ui,"prepareForTelemetry");function wf(t){let e=t.error||t;e.fromStorybook&&R.sendTelemetryError(e)}n(wf,"errorListener");function vf({reason:t}){t.fromStorybook&&R.sendTelemetryError(t)}n(vf,"unhandledRejectionListener");function Pf(){Yn.forEach(t=>{R[to[t]]=ji[t]}),R.sendTelemetryError=t=>{R.__STORYBOOK_ADDONS_CHANNEL__.emit(eo,Ui(t))},R.addEventListener("error",wf),R.addEventListener("unhandledrejection",vf)}n(Pf,"setup");Pf();const{createBrowserChannel}=__STORYBOOK_MODULE_CHANNELS__,{addons}=__STORYBOOK_MODULE_PREVIEW_API__,channel=createBrowserChannel({page:"preview"});addons.setChannel(channel);window.__STORYBOOK_ADDONS_CHANNEL__=channel;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=channel);const importers={"./.storybook/About.mdx":()=>__vitePreload(()=>import("./About-BDWeqeYR.js"),__vite__mapDeps([0,1,2]),import.meta.url),"./elements/chart/stories/chart.stories.js":()=>__vitePreload(()=>import("./chart.stories-B_n0eSyC.js"),__vite__mapDeps([3,4]),import.meta.url),"./elements/drawtools/stories/drawtools.stories.js":()=>__vitePreload(()=>import("./drawtools.stories-BdLbKxLz.js"),__vite__mapDeps([5,4]),import.meta.url),"./elements/geosearch/stories/geosearch.stories.js":()=>__vitePreload(()=>import("./geosearch.stories-Db8oGlqR.js"),__vite__mapDeps([6,4]),import.meta.url),"./elements/itemfilter/stories/itemfilter.stories.js":()=>__vitePreload(()=>import("./itemfilter.stories-BBCxhT54.js"),__vite__mapDeps([7,8,4]),import.meta.url),"./elements/jsonform/stories/jsonform.stories.js":()=>__vitePreload(()=>import("./jsonform.stories-bigFHcuC.js"),__vite__mapDeps([9,4,10]),import.meta.url),"./elements/layercontrol/stories/layercontrol.stories.js":()=>__vitePreload(()=>import("./layercontrol.stories-LZYFqzxC.js"),__vite__mapDeps([11,4,12]),import.meta.url),"./elements/layout/stories/layout.stories.js":()=>__vitePreload(()=>import("./layout.stories-S-lERfVa.js"),__vite__mapDeps([13,4]),import.meta.url),"./elements/map/stories/map.stories.js":()=>__vitePreload(()=>import("./map.stories-CMVkKxDm.js"),__vite__mapDeps([14,4,15]),import.meta.url),"./elements/stacinfo/stories/stacinfo.stories.js":()=>__vitePreload(()=>import("./stacinfo.stories-C616ffbU.js"),__vite__mapDeps([16,4]),import.meta.url),"./elements/storytelling/stories/storytelling.stories.js":()=>__vitePreload(()=>import("./storytelling.stories-Bqui_4lf.js"),__vite__mapDeps([17,4]),import.meta.url),"./elements/timecontrol/stories/timecontrol.stories.js":()=>__vitePreload(()=>import("./timecontrol.stories-CyvWINyS.js"),__vite__mapDeps([18,4]),import.meta.url)};async function importFn(t){return await importers[t]()}Pf();const{composeConfigs,PreviewWeb,ClientApi}=__STORYBOOK_MODULE_PREVIEW_API__,getProjectAnnotations=async(t=[])=>{const e=await Promise.all([t[0]??__vitePreload(()=>import("./entry-preview-BErytJoa.js").then(r=>r.e),__vite__mapDeps([19,4,20]),import.meta.url),t[1]??__vitePreload(()=>import("./entry-preview-docs-rliN-6v9.js"),__vite__mapDeps([21,22,19,4,20,23,24]),import.meta.url),t[2]??__vitePreload(()=>import("./preview-aVwhiz9X.js"),[],import.meta.url),t[3]??__vitePreload(()=>import("./preview-pxzbaAGv.js"),[],import.meta.url),t[4]??__vitePreload(()=>import("./preview-D77C14du.js"),__vite__mapDeps([25,20]),import.meta.url),t[5]??__vitePreload(()=>import("./preview-DFmD0pui.js"),[],import.meta.url),t[6]??__vitePreload(()=>import("./preview-DEMzn_yN.js"),__vite__mapDeps([26,24]),import.meta.url),t[7]??__vitePreload(()=>import("./preview-BWzBA1C2.js"),__vite__mapDeps([27,20]),import.meta.url),t[8]??__vitePreload(()=>import("./preview-DGUiP6tS.js"),[],import.meta.url),t[9]??__vitePreload(()=>import("./preview-0vsH2TXp.js"),__vite__mapDeps([28,8]),import.meta.url),t[10]??__vitePreload(()=>import("./preview--v8B2K_6.js").then(r=>r.p),__vite__mapDeps([29,22,19,4,20,1,2,30,23,12,15,10]),import.meta.url)]);return composeConfigs(e)};window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new PreviewWeb(importFn,getProjectAnnotations);window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;export{__vitePreload as _}; +`).replace(/^\n/,"")),H.getElementById("error-message").innerHTML=Ii.toHtml(o),H.getElementById("error-stack").innerHTML=Ii.toHtml(a),this.showMode("ERROR")}showNoPreview(){var e,r;this.testing||(this.showMode("NOPREVIEW"),(e=this.storyRoot())==null||e.setAttribute("hidden","true"),(r=this.docsRoot())==null||r.setAttribute("hidden","true"))}showPreparingStory({immediate:e=!1}={}){clearTimeout(this.preparingTimeout),e?this.showMode("PREPARING_STORY"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_STORY"),Oi)}showPreparingDocs({immediate:e=!1}={}){clearTimeout(this.preparingTimeout),e?this.showMode("PREPARING_DOCS"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_DOCS"),Oi)}showMain(){this.showMode("MAIN")}showDocs(){this.storyRoot().setAttribute("hidden","true"),this.docsRoot().removeAttribute("hidden")}showStory(){this.docsRoot().setAttribute("hidden","true"),this.storyRoot().removeAttribute("hidden")}showStoryDuringRender(){H.body.classList.add(Un.MAIN)}};n(Gn,"WebView");var qe=Gn,Vn=class extends Ne{constructor(e,r){super(e,r,new je,new qe),this.importFn=e,this.getProjectAnnotations=r,R.__STORYBOOK_PREVIEW__=this}};n(Vn,"PreviewWeb");var Mr=Vn,{document:Ue}=R,Rf=["application/javascript","application/ecmascript","application/x-ecmascript","application/x-javascript","text/ecmascript","text/javascript","text/javascript1.0","text/javascript1.1","text/javascript1.2","text/javascript1.3","text/javascript1.4","text/javascript1.5","text/jscript","text/livescript","text/x-ecmascript","text/x-javascript","module"],xf="script",ki="scripts-root";function qr(){let t=Ue.createEvent("Event");t.initEvent("DOMContentLoaded",!0,!0),Ue.dispatchEvent(t)}n(qr,"simulateDOMContentLoaded");function Af(t,e,r){let o=Ue.createElement("script");o.type=t.type==="module"?"module":"text/javascript",t.src?(o.onload=e,o.onerror=e,o.src=t.src):o.textContent=t.innerText,r?r.appendChild(o):Ue.head.appendChild(o),t.parentNode.removeChild(t),t.src||e()}n(Af,"insertScript");function Li(t,e,r=0){t[r](()=>{r++,r===t.length?e():Li(t,e,r)})}n(Li,"insertScriptsSequentially");function Hn(t){let e=Ue.getElementById(ki);e?e.innerHTML="":(e=Ue.createElement("div"),e.id=ki,Ue.body.appendChild(e));let r=Array.from(t.querySelectorAll(xf));if(r.length){let o=[];r.forEach(a=>{let s=a.getAttribute("type");(!s||Rf.includes(s))&&o.push(i=>Af(a,i,e))}),o.length&&Li(o,qr,void 0)}else qr()}n(Hn,"simulatePageLoad");var ji={"@storybook/global":Dt,"storybook/internal/channels":yr,"@storybook/channels":yr,"@storybook/core/channels":yr,"storybook/internal/client-logger":pr,"@storybook/client-logger":pr,"@storybook/core/client-logger":pr,"storybook/internal/core-events":fe,"@storybook/core-events":fe,"@storybook/core/core-events":fe,"storybook/internal/preview-errors":Pr,"@storybook/core-events/preview-errors":Pr,"@storybook/core/preview-errors":Pr,"storybook/internal/preview-api":Ur,"@storybook/preview-api":Ur,"@storybook/core/preview-api":Ur,"storybook/internal/types":mr,"@storybook/types":mr,"@storybook/core/types":mr},qi=ue(Mi()),$n;function _f(){var t;return $n||($n=new qi.default((t=R.navigator)==null?void 0:t.userAgent).getBrowserInfo()),$n}n(_f,"getBrowserInfo");function Ui(t){return t.browserInfo=_f(),t}n(Ui,"prepareForTelemetry");function wf(t){let e=t.error||t;e.fromStorybook&&R.sendTelemetryError(e)}n(wf,"errorListener");function vf({reason:t}){t.fromStorybook&&R.sendTelemetryError(t)}n(vf,"unhandledRejectionListener");function Pf(){Yn.forEach(t=>{R[to[t]]=ji[t]}),R.sendTelemetryError=t=>{R.__STORYBOOK_ADDONS_CHANNEL__.emit(eo,Ui(t))},R.addEventListener("error",wf),R.addEventListener("unhandledrejection",vf)}n(Pf,"setup");Pf();const{createBrowserChannel}=__STORYBOOK_MODULE_CHANNELS__,{addons}=__STORYBOOK_MODULE_PREVIEW_API__,channel=createBrowserChannel({page:"preview"});addons.setChannel(channel);window.__STORYBOOK_ADDONS_CHANNEL__=channel;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=channel);const importers={"./.storybook/About.mdx":()=>__vitePreload(()=>import("./About-BDWeqeYR.js"),__vite__mapDeps([0,1,2]),import.meta.url),"./elements/chart/stories/chart.stories.js":()=>__vitePreload(()=>import("./chart.stories-B_n0eSyC.js"),__vite__mapDeps([3,4]),import.meta.url),"./elements/drawtools/stories/drawtools.stories.js":()=>__vitePreload(()=>import("./drawtools.stories-BdLbKxLz.js"),__vite__mapDeps([5,4]),import.meta.url),"./elements/geosearch/stories/geosearch.stories.js":()=>__vitePreload(()=>import("./geosearch.stories-Db8oGlqR.js"),__vite__mapDeps([6,4]),import.meta.url),"./elements/itemfilter/stories/itemfilter.stories.js":()=>__vitePreload(()=>import("./itemfilter.stories-BBCxhT54.js"),__vite__mapDeps([7,8,4]),import.meta.url),"./elements/jsonform/stories/jsonform.stories.js":()=>__vitePreload(()=>import("./jsonform.stories-bigFHcuC.js"),__vite__mapDeps([9,4,10]),import.meta.url),"./elements/layercontrol/stories/layercontrol.stories.js":()=>__vitePreload(()=>import("./layercontrol.stories-LZYFqzxC.js"),__vite__mapDeps([11,4,12]),import.meta.url),"./elements/layout/stories/layout.stories.js":()=>__vitePreload(()=>import("./layout.stories-S-lERfVa.js"),__vite__mapDeps([13,4]),import.meta.url),"./elements/map/stories/map.stories.js":()=>__vitePreload(()=>import("./map.stories-CMVkKxDm.js"),__vite__mapDeps([14,4,15]),import.meta.url),"./elements/stacinfo/stories/stacinfo.stories.js":()=>__vitePreload(()=>import("./stacinfo.stories-C616ffbU.js"),__vite__mapDeps([16,4]),import.meta.url),"./elements/storytelling/stories/storytelling.stories.js":()=>__vitePreload(()=>import("./storytelling.stories-Bqui_4lf.js"),__vite__mapDeps([17,4]),import.meta.url),"./elements/timecontrol/stories/timecontrol.stories.js":()=>__vitePreload(()=>import("./timecontrol.stories-CyvWINyS.js"),__vite__mapDeps([18,4]),import.meta.url)};async function importFn(t){return await importers[t]()}Pf();const{composeConfigs,PreviewWeb,ClientApi}=__STORYBOOK_MODULE_PREVIEW_API__,getProjectAnnotations=async(t=[])=>{const e=await Promise.all([t[0]??__vitePreload(()=>import("./entry-preview-BErytJoa.js").then(r=>r.e),__vite__mapDeps([19,4,20]),import.meta.url),t[1]??__vitePreload(()=>import("./entry-preview-docs-rliN-6v9.js"),__vite__mapDeps([21,22,19,4,20,23,24]),import.meta.url),t[2]??__vitePreload(()=>import("./preview-aVwhiz9X.js"),[],import.meta.url),t[3]??__vitePreload(()=>import("./preview-Bpyaj9zU.js"),[],import.meta.url),t[4]??__vitePreload(()=>import("./preview-D77C14du.js"),__vite__mapDeps([25,20]),import.meta.url),t[5]??__vitePreload(()=>import("./preview-DFmD0pui.js"),[],import.meta.url),t[6]??__vitePreload(()=>import("./preview-DEMzn_yN.js"),__vite__mapDeps([26,24]),import.meta.url),t[7]??__vitePreload(()=>import("./preview-BWzBA1C2.js"),__vite__mapDeps([27,20]),import.meta.url),t[8]??__vitePreload(()=>import("./preview-DGUiP6tS.js"),[],import.meta.url),t[9]??__vitePreload(()=>import("./preview-0vsH2TXp.js"),__vite__mapDeps([28,8]),import.meta.url),t[10]??__vitePreload(()=>import("./preview-DXIyYOjp.js").then(r=>r.p),__vite__mapDeps([29,22,19,4,20,1,2,30,23,12,15,10]),import.meta.url)]);return composeConfigs(e)};window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new PreviewWeb(importFn,getProjectAnnotations);window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;export{__vitePreload as _}; diff --git a/assets/index-oEW8ocTu.js b/assets/index-9geMTWX-.js similarity index 99% rename from assets/index-oEW8ocTu.js rename to assets/index-9geMTWX-.js index 274e750fa..d4cd8ac2d 100644 --- a/assets/index-oEW8ocTu.js +++ b/assets/index-9geMTWX-.js @@ -1,5 +1,5 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Color-F6OSRLHC-CvVWKL2l.js","./index-DuuuSFPv.js","./iframe-YBxBTXqz.js","./index-DPS9-N-h.js","./index-DrFu-skq.js"])))=>i.map(i=>d[i]); -var Zz=Object.defineProperty;var Jz=(e,t,r)=>t in e?Zz(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var wl=(e,t,r)=>Jz(e,typeof t!="symbol"?t+"":t,r);import{_ as Wx}from"./iframe-YBxBTXqz.js";import{r as u,b as Qz,g as eB,e as D,j as ke}from"./index-DuuuSFPv.js";import{y as iw,g as Lf}from"./index-DPS9-N-h.js";import{d as tB}from"./index-DrFu-skq.js";var rB=Object.create,qx=Object.defineProperty,nB=Object.getOwnPropertyDescriptor,Gx=Object.getOwnPropertyNames,oB=Object.getPrototypeOf,aB=Object.prototype.hasOwnProperty,e0=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),Ma=(e,t)=>function(){return t||(0,e[Gx(e)[0]])((t={exports:{}}).exports,t),t.exports},lB=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Gx(t))!aB.call(e,a)&&a!==r&&qx(e,a,{get:()=>t[a],enumerable:!(n=nB(t,a))||n.enumerable});return e},c2=(e,t,r)=>(r=e!=null?rB(oB(e)):{},lB(t||!e||!e.__esModule?qx(r,"default",{value:e,enumerable:!0}):r,e));function iB(e,t,{signal:r,edges:n}={}){let a,i=null,s=n!=null&&n.includes("leading"),d=n==null||n.includes("trailing"),f=()=>{i!==null&&(e.apply(a,i),a=void 0,i=null)},m=()=>{d&&f(),v()},g=null,E=()=>{g!=null&&clearTimeout(g),g=setTimeout(()=>{g=null,m()},t)},w=()=>{g!==null&&(clearTimeout(g),g=null)},v=()=>{w(),a=void 0,i=null},x=()=>{w(),f()},b=function(...S){if(r!=null&&r.aborted)return;a=this,i=S;let _=g==null;E(),s&&_&&f()};return b.schedule=E,b.cancel=v,b.flush=x,r==null||r.addEventListener("abort",v,{once:!0}),b}function qQ(e,t=0,r={}){typeof r!="object"&&(r={});let{signal:n,leading:a=!1,trailing:i=!0,maxWait:s}=r,d=Array(2);a&&(d[0]="leading"),i&&(d[1]="trailing");let f,m=null,g=iB(function(...v){f=e.apply(this,v),m=null},t,{signal:n,edges:d}),E=function(...v){if(s!=null){if(m===null)m=Date.now();else if(Date.now()-m>=s)return f=e.apply(this,v),m=Date.now(),g.cancel(),g.schedule(),f}return g.apply(this,v),f},w=()=>(g.flush(),f);return E.cancel=g.cancel,E.flush=w,E}function sB(e){return Array.from(new Set(e))}function uB(e,t){let r={},n=Object.entries(e);for(let a=0;a`control-${e.replace(/\s+/g,"-")}`,Wd=e=>`set-${e.replace(/\s+/g,"-")}`,vB=Object.create,d2=Object.defineProperty,yB=Object.getOwnPropertyDescriptor,wB=Object.getOwnPropertyNames,bB=Object.getPrototypeOf,EB=Object.prototype.hasOwnProperty,$=(e,t)=>d2(e,"name",{value:t,configurable:!0}),t0=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),qd=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),xB=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of wB(t))!EB.call(e,a)&&a!==r&&d2(e,a,{get:()=>t[a],enumerable:!(n=yB(t,a))||n.enumerable});return e},p2=(e,t,r)=>(r=e!=null?vB(bB(e)):{},xB(t||!e||!e.__esModule?d2(r,"default",{value:e,enumerable:!0}):r,e)),CB=qd(e=>{(function(){var t=typeof Symbol=="function"&&Symbol.for,r=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,a=t?Symbol.for("react.fragment"):60107,i=t?Symbol.for("react.strict_mode"):60108,s=t?Symbol.for("react.profiler"):60114,d=t?Symbol.for("react.provider"):60109,f=t?Symbol.for("react.context"):60110,m=t?Symbol.for("react.async_mode"):60111,g=t?Symbol.for("react.concurrent_mode"):60111,E=t?Symbol.for("react.forward_ref"):60112,w=t?Symbol.for("react.suspense"):60113,v=t?Symbol.for("react.suspense_list"):60120,x=t?Symbol.for("react.memo"):60115,b=t?Symbol.for("react.lazy"):60116,S=t?Symbol.for("react.block"):60121,_=t?Symbol.for("react.fundamental"):60117,F=t?Symbol.for("react.responder"):60118,A=t?Symbol.for("react.scope"):60119;function k(se){return typeof se=="string"||typeof se=="function"||se===a||se===g||se===s||se===i||se===w||se===v||typeof se=="object"&&se!==null&&(se.$$typeof===b||se.$$typeof===x||se.$$typeof===d||se.$$typeof===f||se.$$typeof===E||se.$$typeof===_||se.$$typeof===F||se.$$typeof===A||se.$$typeof===S)}$(k,"isValidElementType");function R(se){if(typeof se=="object"&&se!==null){var Rt=se.$$typeof;switch(Rt){case r:var Jt=se.type;switch(Jt){case m:case g:case a:case s:case i:case w:return Jt;default:var Qr=Jt&&Jt.$$typeof;switch(Qr){case f:case E:case b:case x:case d:return Qr;default:return Rt}}case n:return Rt}}}$(R,"typeOf");var T=m,z=g,B=f,M=d,H=r,W=E,Y=a,K=b,re=x,ee=n,oe=s,pe=i,q=w,Q=!1;function X(se){return Q||(Q=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),fe(se)||R(se)===m}$(X,"isAsyncMode");function fe(se){return R(se)===g}$(fe,"isConcurrentMode");function ve(se){return R(se)===f}$(ve,"isContextConsumer");function Ee(se){return R(se)===d}$(Ee,"isContextProvider");function Se(se){return typeof se=="object"&&se!==null&&se.$$typeof===r}$(Se,"isElement");function ie(se){return R(se)===E}$(ie,"isForwardRef");function ye(se){return R(se)===a}$(ye,"isFragment");function De(se){return R(se)===b}$(De,"isLazy");function ze(se){return R(se)===x}$(ze,"isMemo");function rt(se){return R(se)===n}$(rt,"isPortal");function hr(se){return R(se)===s}$(hr,"isProfiler");function ut(se){return R(se)===i}$(ut,"isStrictMode");function Pt(se){return R(se)===w}$(Pt,"isSuspense"),e.AsyncMode=T,e.ConcurrentMode=z,e.ContextConsumer=B,e.ContextProvider=M,e.Element=H,e.ForwardRef=W,e.Fragment=Y,e.Lazy=K,e.Memo=re,e.Portal=ee,e.Profiler=oe,e.StrictMode=pe,e.Suspense=q,e.isAsyncMode=X,e.isConcurrentMode=fe,e.isContextConsumer=ve,e.isContextProvider=Ee,e.isElement=Se,e.isForwardRef=ie,e.isFragment=ye,e.isLazy=De,e.isMemo=ze,e.isPortal=rt,e.isProfiler=hr,e.isStrictMode=ut,e.isSuspense=Pt,e.isValidElementType=k,e.typeOf=R})()}),DB=qd((e,t)=>{t.exports=CB()}),Yx=qd((e,t)=>{var r=DB(),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},d={};d[r.ForwardRef]=i,d[r.Memo]=s;function f(S){return r.isMemo(S)?s:d[S.$$typeof]||n}$(f,"getStatics");var m=Object.defineProperty,g=Object.getOwnPropertyNames,E=Object.getOwnPropertySymbols,w=Object.getOwnPropertyDescriptor,v=Object.getPrototypeOf,x=Object.prototype;function b(S,_,F){if(typeof _!="string"){if(x){var A=v(_);A&&A!==x&&b(S,A,F)}var k=g(_);E&&(k=k.concat(E(_)));for(var R=f(S),T=f(_),z=0;z{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return $(function r(n,a,i){function s(m,g){if(!a[m]){if(!n[m]){var E=typeof t0=="function"&&t0;if(!g&&E)return E(m,!0);if(d)return d(m,!0);var w=new Error("Cannot find module '"+m+"'");throw w.code="MODULE_NOT_FOUND",w}var v=a[m]={exports:{}};n[m][0].call(v.exports,function(x){var b=n[m][1][x];return s(b||x)},v,v.exports,r,n,a,i)}return a[m].exports}$(s,"s");for(var d=typeof t0=="function"&&t0,f=0;f=0)return this.lastItem=this.list[d],this.list[d].val},i.prototype.set=function(s,d){var f;return this.lastItem&&this.isEqual(this.lastItem.key,s)?(this.lastItem.val=d,this):(f=this.indexOf(s),f>=0?(this.lastItem=this.list[f],this.list[f].val=d,this):(this.lastItem={key:s,val:d},this.list.push(this.lastItem),this.size++,this))},i.prototype.delete=function(s){var d;if(this.lastItem&&this.isEqual(this.lastItem.key,s)&&(this.lastItem=void 0),d=this.indexOf(s),d>=0)return this.size--,this.list.splice(d,1)[0]},i.prototype.has=function(s){var d;return this.lastItem&&this.isEqual(this.lastItem.key,s)?!0:(d=this.indexOf(s),d>=0?(this.lastItem=this.list[d],!0):!1)},i.prototype.forEach=function(s,d){var f;for(f=0;f0&&(F[_]={cacheItem:x,arg:arguments[_]},A?s(E,F):E.push(F),E.length>m&&d(E.shift())),v.wasMemoized=A,v.numArgs=_+1,S},"memoizerific");return v.limit=m,v.wasMemoized=!1,v.cache=g,v.lru=E,v}};function s(m,g){var E=m.length,w=g.length,v,x,b;for(x=0;x=0&&(E=m[v],w=E.cacheItem.get(E.arg),!w||!w.size);v--)E.cacheItem.delete(E.arg)}$(d,"removeCachedResult");function f(m,g){return m===g||m!==m&&g!==g}$(f,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})});function yn(){return yn=Object.assign?Object.assign.bind():function(e){for(var t=1;ti.map(i=>d[i]); +var Zz=Object.defineProperty;var Jz=(e,t,r)=>t in e?Zz(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var wl=(e,t,r)=>Jz(e,typeof t!="symbol"?t+"":t,r);import{_ as Wx}from"./iframe-CR1vRkAE.js";import{r as u,b as Qz,g as eB,e as D,j as ke}from"./index-DuuuSFPv.js";import{y as iw,g as Lf}from"./index-DPS9-N-h.js";import{d as tB}from"./index-DrFu-skq.js";var rB=Object.create,qx=Object.defineProperty,nB=Object.getOwnPropertyDescriptor,Gx=Object.getOwnPropertyNames,oB=Object.getPrototypeOf,aB=Object.prototype.hasOwnProperty,e0=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),Ma=(e,t)=>function(){return t||(0,e[Gx(e)[0]])((t={exports:{}}).exports,t),t.exports},lB=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Gx(t))!aB.call(e,a)&&a!==r&&qx(e,a,{get:()=>t[a],enumerable:!(n=nB(t,a))||n.enumerable});return e},c2=(e,t,r)=>(r=e!=null?rB(oB(e)):{},lB(t||!e||!e.__esModule?qx(r,"default",{value:e,enumerable:!0}):r,e));function iB(e,t,{signal:r,edges:n}={}){let a,i=null,s=n!=null&&n.includes("leading"),d=n==null||n.includes("trailing"),f=()=>{i!==null&&(e.apply(a,i),a=void 0,i=null)},m=()=>{d&&f(),v()},g=null,E=()=>{g!=null&&clearTimeout(g),g=setTimeout(()=>{g=null,m()},t)},w=()=>{g!==null&&(clearTimeout(g),g=null)},v=()=>{w(),a=void 0,i=null},x=()=>{w(),f()},b=function(...S){if(r!=null&&r.aborted)return;a=this,i=S;let _=g==null;E(),s&&_&&f()};return b.schedule=E,b.cancel=v,b.flush=x,r==null||r.addEventListener("abort",v,{once:!0}),b}function qQ(e,t=0,r={}){typeof r!="object"&&(r={});let{signal:n,leading:a=!1,trailing:i=!0,maxWait:s}=r,d=Array(2);a&&(d[0]="leading"),i&&(d[1]="trailing");let f,m=null,g=iB(function(...v){f=e.apply(this,v),m=null},t,{signal:n,edges:d}),E=function(...v){if(s!=null){if(m===null)m=Date.now();else if(Date.now()-m>=s)return f=e.apply(this,v),m=Date.now(),g.cancel(),g.schedule(),f}return g.apply(this,v),f},w=()=>(g.flush(),f);return E.cancel=g.cancel,E.flush=w,E}function sB(e){return Array.from(new Set(e))}function uB(e,t){let r={},n=Object.entries(e);for(let a=0;a`control-${e.replace(/\s+/g,"-")}`,Wd=e=>`set-${e.replace(/\s+/g,"-")}`,vB=Object.create,d2=Object.defineProperty,yB=Object.getOwnPropertyDescriptor,wB=Object.getOwnPropertyNames,bB=Object.getPrototypeOf,EB=Object.prototype.hasOwnProperty,$=(e,t)=>d2(e,"name",{value:t,configurable:!0}),t0=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),qd=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),xB=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of wB(t))!EB.call(e,a)&&a!==r&&d2(e,a,{get:()=>t[a],enumerable:!(n=yB(t,a))||n.enumerable});return e},p2=(e,t,r)=>(r=e!=null?vB(bB(e)):{},xB(t||!e||!e.__esModule?d2(r,"default",{value:e,enumerable:!0}):r,e)),CB=qd(e=>{(function(){var t=typeof Symbol=="function"&&Symbol.for,r=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,a=t?Symbol.for("react.fragment"):60107,i=t?Symbol.for("react.strict_mode"):60108,s=t?Symbol.for("react.profiler"):60114,d=t?Symbol.for("react.provider"):60109,f=t?Symbol.for("react.context"):60110,m=t?Symbol.for("react.async_mode"):60111,g=t?Symbol.for("react.concurrent_mode"):60111,E=t?Symbol.for("react.forward_ref"):60112,w=t?Symbol.for("react.suspense"):60113,v=t?Symbol.for("react.suspense_list"):60120,x=t?Symbol.for("react.memo"):60115,b=t?Symbol.for("react.lazy"):60116,S=t?Symbol.for("react.block"):60121,_=t?Symbol.for("react.fundamental"):60117,F=t?Symbol.for("react.responder"):60118,A=t?Symbol.for("react.scope"):60119;function k(se){return typeof se=="string"||typeof se=="function"||se===a||se===g||se===s||se===i||se===w||se===v||typeof se=="object"&&se!==null&&(se.$$typeof===b||se.$$typeof===x||se.$$typeof===d||se.$$typeof===f||se.$$typeof===E||se.$$typeof===_||se.$$typeof===F||se.$$typeof===A||se.$$typeof===S)}$(k,"isValidElementType");function R(se){if(typeof se=="object"&&se!==null){var Rt=se.$$typeof;switch(Rt){case r:var Jt=se.type;switch(Jt){case m:case g:case a:case s:case i:case w:return Jt;default:var Qr=Jt&&Jt.$$typeof;switch(Qr){case f:case E:case b:case x:case d:return Qr;default:return Rt}}case n:return Rt}}}$(R,"typeOf");var T=m,z=g,B=f,M=d,H=r,W=E,Y=a,K=b,re=x,ee=n,oe=s,pe=i,q=w,Q=!1;function X(se){return Q||(Q=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),fe(se)||R(se)===m}$(X,"isAsyncMode");function fe(se){return R(se)===g}$(fe,"isConcurrentMode");function ve(se){return R(se)===f}$(ve,"isContextConsumer");function Ee(se){return R(se)===d}$(Ee,"isContextProvider");function Se(se){return typeof se=="object"&&se!==null&&se.$$typeof===r}$(Se,"isElement");function ie(se){return R(se)===E}$(ie,"isForwardRef");function ye(se){return R(se)===a}$(ye,"isFragment");function De(se){return R(se)===b}$(De,"isLazy");function ze(se){return R(se)===x}$(ze,"isMemo");function rt(se){return R(se)===n}$(rt,"isPortal");function hr(se){return R(se)===s}$(hr,"isProfiler");function ut(se){return R(se)===i}$(ut,"isStrictMode");function Pt(se){return R(se)===w}$(Pt,"isSuspense"),e.AsyncMode=T,e.ConcurrentMode=z,e.ContextConsumer=B,e.ContextProvider=M,e.Element=H,e.ForwardRef=W,e.Fragment=Y,e.Lazy=K,e.Memo=re,e.Portal=ee,e.Profiler=oe,e.StrictMode=pe,e.Suspense=q,e.isAsyncMode=X,e.isConcurrentMode=fe,e.isContextConsumer=ve,e.isContextProvider=Ee,e.isElement=Se,e.isForwardRef=ie,e.isFragment=ye,e.isLazy=De,e.isMemo=ze,e.isPortal=rt,e.isProfiler=hr,e.isStrictMode=ut,e.isSuspense=Pt,e.isValidElementType=k,e.typeOf=R})()}),DB=qd((e,t)=>{t.exports=CB()}),Yx=qd((e,t)=>{var r=DB(),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},d={};d[r.ForwardRef]=i,d[r.Memo]=s;function f(S){return r.isMemo(S)?s:d[S.$$typeof]||n}$(f,"getStatics");var m=Object.defineProperty,g=Object.getOwnPropertyNames,E=Object.getOwnPropertySymbols,w=Object.getOwnPropertyDescriptor,v=Object.getPrototypeOf,x=Object.prototype;function b(S,_,F){if(typeof _!="string"){if(x){var A=v(_);A&&A!==x&&b(S,A,F)}var k=g(_);E&&(k=k.concat(E(_)));for(var R=f(S),T=f(_),z=0;z{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return $(function r(n,a,i){function s(m,g){if(!a[m]){if(!n[m]){var E=typeof t0=="function"&&t0;if(!g&&E)return E(m,!0);if(d)return d(m,!0);var w=new Error("Cannot find module '"+m+"'");throw w.code="MODULE_NOT_FOUND",w}var v=a[m]={exports:{}};n[m][0].call(v.exports,function(x){var b=n[m][1][x];return s(b||x)},v,v.exports,r,n,a,i)}return a[m].exports}$(s,"s");for(var d=typeof t0=="function"&&t0,f=0;f=0)return this.lastItem=this.list[d],this.list[d].val},i.prototype.set=function(s,d){var f;return this.lastItem&&this.isEqual(this.lastItem.key,s)?(this.lastItem.val=d,this):(f=this.indexOf(s),f>=0?(this.lastItem=this.list[f],this.list[f].val=d,this):(this.lastItem={key:s,val:d},this.list.push(this.lastItem),this.size++,this))},i.prototype.delete=function(s){var d;if(this.lastItem&&this.isEqual(this.lastItem.key,s)&&(this.lastItem=void 0),d=this.indexOf(s),d>=0)return this.size--,this.list.splice(d,1)[0]},i.prototype.has=function(s){var d;return this.lastItem&&this.isEqual(this.lastItem.key,s)?!0:(d=this.indexOf(s),d>=0?(this.lastItem=this.list[d],!0):!1)},i.prototype.forEach=function(s,d){var f;for(f=0;f0&&(F[_]={cacheItem:x,arg:arguments[_]},A?s(E,F):E.push(F),E.length>m&&d(E.shift())),v.wasMemoized=A,v.numArgs=_+1,S},"memoizerific");return v.limit=m,v.wasMemoized=!1,v.cache=g,v.lru=E,v}};function s(m,g){var E=m.length,w=g.length,v,x,b;for(x=0;x=0&&(E=m[v],w=E.cacheItem.get(E.arg),!w||!w.size);v--)E.cacheItem.delete(E.arg)}$(d,"removeCachedResult");function f(m,g){return m===g||m!==m&&g!==g}$(f,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})});function yn(){return yn=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?ft(mi,--Xt):0,Xl--,et===10&&(Xl=1,Kd--),et}$(nC,"prev");function Gt(){return et=Xt2||Zl(et)>3?"":" "}$(oC,"whitespace");function aC(e,t){for(;--t&&Gt()&&!(et<48||et>102||et>57&&et<65||et>70&&et<97););return gi(e,Ws()+(t<6&&jr()==32&&Gt()==32))}$(aC,"escaping");function rd(e){for(;Gt();)switch(et){case e:return Xt;case 34:case 39:e!==34&&e!==39&&rd(et);break;case 40:e===41&&rd(e);break;case 92:Gt();break}return Xt}$(rd,"delimiter");function lC(e,t){for(;Gt()&&e+et!==57&&!(e+et===84&&jr()===47););return"/*"+gi(t,Xt-1)+"*"+Gd(e===47?e:Gt())}$(lC,"commenter");function iC(e){for(;!Zl(jr());)Gt();return gi(e,Xt)}$(iC,"identifier");function sC(e){return b2(Gs("",null,null,null,[""],e=w2(e),0,[0],e))}$(sC,"compile");function Gs(e,t,r,n,a,i,s,d,f){for(var m=0,g=0,E=s,w=0,v=0,x=0,b=1,S=1,_=1,F=0,A="",k=a,R=i,T=n,z=A;S;)switch(x=F,F=Gt()){case 40:if(x!=108&&ft(z,E-1)==58){td(z+=Re(qs(F),"&","&\f"),"&\f")!=-1&&(_=-1);break}case 34:case 39:case 91:z+=qs(F);break;case 9:case 10:case 13:case 32:z+=oC(x);break;case 92:z+=aC(Ws()-1,7);continue;case 47:switch(jr()){case 42:case 47:Ts(uC(lC(Gt(),Ws()),t,r),f);break;default:z+="/"}break;case 123*b:d[m++]=Mr(z)*_;case 125*b:case 59:case 0:switch(F){case 0:case 125:S=0;case 59+g:_==-1&&(z=Re(z,/\f/g,"")),v>0&&Mr(z)-E&&Ts(v>32?gg(z+";",n,r,E-1):gg(Re(z," ","")+";",n,r,E-2),f);break;case 59:z+=";";default:if(Ts(T=mg(z,t,r,m,g,a,d,A,k=[],R=[],E),i),F===123)if(g===0)Gs(z,t,T,T,k,i,E,d,R);else switch(w===99&&ft(z,3)===110?100:w){case 100:case 108:case 109:case 115:Gs(e,T,T,n&&Ts(mg(e,T,T,0,0,a,d,A,a,k=[],E),R),a,R,E,d,n?k:R);break;default:Gs(z,T,T,T,[""],R,0,d,R)}}m=g=v=0,b=_=1,A=z="",E=s;break;case 58:E=1+Mr(z),v=x;default:if(b<1){if(F==123)--b;else if(F==125&&b++==0&&nC()==125)continue}switch(z+=Gd(F),F*b){case 38:_=g>0?1:(z+="\f",-1);break;case 44:d[m++]=(Mr(z)-1)*_,_=1;break;case 64:jr()===45&&(z+=qs(Gt())),w=jr(),g=E=Mr(A=z+=iC(Ws())),F++;break;case 45:x===45&&Mr(z)==2&&(b=0)}}return i}$(Gs,"parse");function mg(e,t,r,n,a,i,s,d,f,m,g){for(var E=a-1,w=a===0?i:[""],v=Yd(w),x=0,b=0,S=0;x0?w[_]+" "+F:Re(F,/&\f/g,w[_])))&&(f[S++]=A);return xu(e,t,r,a===0?g2:d,f,m,g)}$(mg,"ruleset");function uC(e,t,r){return xu(e,t,r,m2,Gd(rC()),Kl(e,2,-2),0)}$(uC,"comment");function gg(e,t,r,n){return xu(e,t,r,v2,Kl(e,0,n),Kl(e,n+1,-1),n)}$(gg,"declaration");function _a(e,t){for(var r="",n=Yd(e),a=0;a-1},"isIgnoringComment"),NB=$(function(e){return function(t,r,n){if(!(t.type!=="rule"||e.compat)){var a=t.value.match(/(:first|:nth|:nth-last)-child/g);if(a){for(var i=!!t.parent,s=i?t.parent.children:n,d=s.length-1;d>=0;d--){var f=s[d];if(f.line=0;r--)if(!pC(t[r]))return!0;return!1},"isPrependedWithRegularRules"),dw=$(function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},"nullifyElement"),HB=$(function(e,t,r){pC(e)&&(e.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),dw(e)):$B(t,r)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),dw(e)))},"incorrectImportAlarm");function E2(e,t){switch(Jx(e,t)){case 5103:return Ie+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Ie+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Ie+e+ed+e+Ft+e+e;case 6828:case 4268:return Ie+e+Ft+e+e;case 6165:return Ie+e+Ft+"flex-"+e+e;case 5187:return Ie+e+Re(e,/(\w+).+(:[^]+)/,Ie+"box-$1$2"+Ft+"flex-$1$2")+e;case 5443:return Ie+e+Ft+"flex-item-"+Re(e,/flex-|-self/,"")+e;case 4675:return Ie+e+Ft+"flex-line-pack"+Re(e,/align-content|flex-|-self/,"")+e;case 5548:return Ie+e+Ft+Re(e,"shrink","negative")+e;case 5292:return Ie+e+Ft+Re(e,"basis","preferred-size")+e;case 6060:return Ie+"box-"+Re(e,"-grow","")+Ie+e+Ft+Re(e,"grow","positive")+e;case 4554:return Ie+Re(e,/([^-])(transform)/g,"$1"+Ie+"$2")+e;case 6187:return Re(Re(Re(e,/(zoom-|grab)/,Ie+"$1"),/(image-set)/,Ie+"$1"),e,"")+e;case 5495:case 3959:return Re(e,/(image-set\([^]*)/,Ie+"$1$`$1");case 4968:return Re(Re(e,/(.+:)(flex-)?(.*)/,Ie+"box-pack:$3"+Ft+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ie+e+e;case 4095:case 3583:case 4068:case 2532:return Re(e,/(.+)-inline(.+)/,Ie+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Mr(e)-1-t>6)switch(ft(e,t+1)){case 109:if(ft(e,t+4)!==45)break;case 102:return Re(e,/(.+:)(.+)-([^]+)/,"$1"+Ie+"$2-$3$1"+ed+(ft(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~td(e,"stretch")?E2(Re(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(ft(e,t+1)!==115)break;case 6444:switch(ft(e,Mr(e)-3-(~td(e,"!important")&&10))){case 107:return Re(e,":",":"+Ie)+e;case 101:return Re(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ie+(ft(e,14)===45?"inline-":"")+"box$3$1"+Ie+"$2$3$1"+Ft+"$2box$3")+e}break;case 5936:switch(ft(e,t+11)){case 114:return Ie+e+Ft+Re(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ie+e+Ft+Re(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ie+e+Ft+Re(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ie+e+Ft+e+e}return e}$(E2,"prefix");var jB=$(function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case v2:e.return=E2(e.value,e.length);break;case Zx:return _a([_l(e,{value:Re(e.value,"@","@"+Ie)})],n);case g2:if(e.length)return eC(e.props,function(a){switch(Qx(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return _a([_l(e,{props:[Re(a,/:(read-\w+)/,":"+ed+"$1")]})],n);case"::placeholder":return _a([_l(e,{props:[Re(a,/:(plac\w+)/,":"+Ie+"input-$1")]}),_l(e,{props:[Re(a,/:(plac\w+)/,":"+ed+"$1")]}),_l(e,{props:[Re(a,/:(plac\w+)/,Ft+"input-$1")]})],n)}return""})}},"prefixer"),VB=[jB],UB=$(function(e){var t=e.key;if(!t)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache. If multiple caches share the same key they might "fight" for each other's style elements.`);if(t==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(x){var b=x.getAttribute("data-emotion");b.indexOf(" ")!==-1&&(document.head.appendChild(x),x.setAttribute("data-s",""))})}var n=e.stylisPlugins||VB;if(/[^a-z-]/.test(t))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed');var a={},i,s=[];i=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(x){for(var b=x.getAttribute("data-emotion").split(" "),S=1;S=4;++n,a-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(a){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}$(fC,"murmur2");var YB={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},pw=`You have illegal escape sequence in your template literal, most likely inside content's property value. Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';". @@ -583,7 +583,7 @@ ${t}`);let r=t.match($U);if(!r)return D.createElement(u.Fragment,null,t);let[,n, ${un(.02,e.input.background)} 100%)`:`linear-gradient(to right, ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, ${wa(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${wa(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,color:"transparent",width:"100%",height:"6px",cursor:"pointer"},"&::-ms-fill-lower":{borderRadius:6},"&::-ms-fill-upper":{borderRadius:6},"&::-ms-thumb":{width:16,height:16,background:`${e.input.background}`,border:`1px solid ${qn(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),PI=O.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums","[aria-readonly=true] &":{opacity:.5}}),FK=O(PI)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),RK=O.div({display:"flex",alignItems:"center",width:"100%"});function IK(e){let t=e.toString().match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}var TK=({name:e,value:t,onChange:r,min:n=0,max:a=100,step:i=1,onBlur:s,onFocus:d,argType:f})=>{var v;let m=x=>{r(jY(x.target.value))},g=t!==void 0,E=u.useMemo(()=>IK(i),[i]),w=!!((v=f==null?void 0:f.table)!=null&&v.readonly);return D.createElement(RK,{"aria-readonly":w},D.createElement(PI,null,n),D.createElement(_K,{id:Yr(e),type:"range",disabled:w,onChange:m,name:e,value:t,min:n,max:a,step:i,onFocus:d,onBlur:s}),D.createElement(FK,{numberOFDecimalsPlaces:E,max:a},g?t.toFixed(E):"--"," / ",a))},zK=O.label({display:"flex"}),BK=O.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),LK=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,maxLength:i,argType:s})=>{var v;let d=x=>{r(x.target.value)},f=!!((v=s==null?void 0:s.table)!=null&&v.readonly),[m,g]=u.useState(!1),E=u.useCallback(()=>{r(""),g(!0)},[g]);if(t===void 0)return D.createElement(Ko,{variant:"outline",size:"medium",disabled:f,id:Wd(e),onClick:E},"Set string");let w=typeof t=="string";return D.createElement(zK,null,D.createElement(Si.Textarea,{id:Yr(e),maxLength:i,onChange:d,disabled:f,size:"flex",placeholder:"Edit string...",autoFocus:m,valid:w?null:"error",name:e,value:w?t:"",onFocus:n,onBlur:a}),i&&D.createElement(BK,{isMaxed:(t==null?void 0:t.length)===i},(t==null?void 0:t.length)??0," / ",i))},OK=O(Si.Input)({padding:10});function MK(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var PK=({onChange:e,name:t,accept:r="image/*",value:n,argType:a})=>{var f;let i=u.useRef(null),s=(f=a==null?void 0:a.control)==null?void 0:f.readOnly;function d(m){if(!m.target.files)return;let g=Array.from(m.target.files).map(E=>URL.createObjectURL(E));e(g),MK(n)}return u.useEffect(()=>{n==null&&i.current&&(i.current.value=null)},[n,t]),D.createElement(OK,{ref:i,id:Yr(t),type:"file",name:t,multiple:!0,disabled:s,onChange:d,accept:r,size:"flex"})},NK=u.lazy(()=>Wx(()=>import("./Color-F6OSRLHC-CvVWKL2l.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url)),$K=e=>D.createElement(u.Suspense,{fallback:D.createElement("div",null)},D.createElement(NK,{...e})),HK={array:Lx,object:Lx,boolean:BY,color:$K,date:$Y,number:UY,check:Al,"inline-check":Al,radio:Al,"inline-radio":Al,select:Al,"multi-select":Al,range:TK,text:LK,file:PK},Ox=()=>D.createElement(D.Fragment,null,"-"),jK=({row:e,arg:t,updateArgs:r,isHovered:n})=>{var b;let{key:a,control:i}=e,[s,d]=u.useState(!1),[f,m]=u.useState({value:t});u.useEffect(()=>{s||m({value:t})},[s,t]);let g=u.useCallback(S=>(m({value:S}),r({[a]:S}),S),[r,a]),E=u.useCallback(()=>d(!1),[]),w=u.useCallback(()=>d(!0),[]);if(!i||i.disable){let S=(i==null?void 0:i.disable)!==!0&&((b=e==null?void 0:e.type)==null?void 0:b.name)!=="function";return n&&S?D.createElement(Yl,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):D.createElement(Ox,null)}let v={name:a,argType:e,value:f.value,onChange:g,onBlur:E,onFocus:w},x=HK[i.type]||Ox;return D.createElement(x,{...v,...i,controlType:i.type})},VK=O.table(({theme:e})=>({"&&":{borderCollapse:"collapse",borderSpacing:0,border:"none",tr:{border:"none !important",background:"none"},"td, th":{padding:0,border:"none",width:"auto!important"},marginTop:0,marginBottom:0,"th:first-of-type, td:first-of-type":{paddingLeft:0},"th:last-of-type, td:last-of-type":{paddingRight:0},td:{paddingTop:0,paddingBottom:4,"&:not(:first-of-type)":{paddingLeft:10,paddingRight:0}},tbody:{boxShadow:"none",border:"none"},code:Qn({theme:e}),div:{span:{fontWeight:"bold"}},"& code":{margin:0,display:"inline-block",fontSize:e.typography.size.s1}}})),UK=({tags:e})=>{let t=(e.params||[]).filter(i=>i.description),r=t.length!==0,n=e.deprecated!=null,a=e.returns!=null&&e.returns.description!=null;return!r&&!a&&!n?null:D.createElement(D.Fragment,null,D.createElement(VK,null,D.createElement("tbody",null,n&&D.createElement("tr",{key:"deprecated"},D.createElement("td",{colSpan:2},D.createElement("strong",null,"Deprecated"),": ",e.deprecated.toString())),r&&t.map(i=>D.createElement("tr",{key:i.name},D.createElement("td",null,D.createElement("code",null,i.name)),D.createElement("td",null,i.description))),a&&D.createElement("tr",{key:"returns"},D.createElement("td",null,D.createElement("code",null,"Returns")),D.createElement("td",null,e.returns.description)))))},WK=c2(ZR()),l2=8,Mx=O.div(({isExpanded:e})=>({display:"flex",flexDirection:e?"column":"row",flexWrap:"wrap",alignItems:"flex-start",marginBottom:"-4px",minWidth:100})),qK=O.span(Qn,({theme:e,simple:t=!1})=>({flex:"0 0 auto",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,wordBreak:"break-word",whiteSpace:"normal",maxWidth:"100%",margin:0,marginRight:"4px",marginBottom:"4px",paddingTop:"2px",paddingBottom:"2px",lineHeight:"13px",...t&&{background:"transparent",border:"0 none",paddingLeft:0}})),GK=O.button(({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,marginBottom:"4px",background:"none",border:"none"})),YK=O.div(Qn,({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,fontSize:e.typography.size.s1,margin:0,whiteSpace:"nowrap",display:"flex",alignItems:"center"})),KK=O.div(({theme:e,width:t})=>({width:t,minWidth:200,maxWidth:800,padding:15,fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,boxSizing:"content-box","& code":{padding:"0 !important"}})),XK=O(pq)({marginLeft:4}),ZK=O(XR)({marginLeft:4}),JK=()=>D.createElement("span",null,"-"),NI=({text:e,simple:t})=>D.createElement(qK,{simple:t},e),QK=(0,WK.default)(1e3)(e=>{let t=e.split(/\r?\n/);return`${Math.max(...t.map(r=>r.length))}ch`}),eX=e=>{if(!e)return[e];let t=e.split("|").map(r=>r.trim());return sB(t)},Px=(e,t=!0)=>{let r=e;return t||(r=e.slice(0,l2)),r.map(n=>D.createElement(NI,{key:n,text:n===""?'""':n}))},tX=({value:e,initialExpandedArgs:t})=>{let{summary:r,detail:n}=e,[a,i]=u.useState(!1),[s,d]=u.useState(t||!1);if(r==null)return null;let f=typeof r.toString=="function"?r.toString():r;if(n==null){if(/[(){}[\]<>]/.test(f))return D.createElement(NI,{text:f});let m=eX(f),g=m.length;return g>l2?D.createElement(Mx,{isExpanded:s},Px(m,s),D.createElement(GK,{onClick:()=>d(!s)},s?"Show less...":`Show ${g-l2} more...`)):D.createElement(Mx,null,Px(m))}return D.createElement(PR,{closeOnOutsideClick:!0,placement:"bottom",visible:a,onVisibleChange:m=>{i(m)},tooltip:D.createElement(KK,{width:QK(n)},D.createElement(Pp,{language:"jsx",format:!1},n))},D.createElement(YK,{className:"sbdocs-expandable"},D.createElement("span",null,f),a?D.createElement(XK,null):D.createElement(ZK,null)))},pg=({value:e,initialExpandedArgs:t})=>e==null?D.createElement(JK,null):D.createElement(tX,{value:e,initialExpandedArgs:t}),rX=O.span({fontWeight:"bold"}),nX=O.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),oX=O.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...Qn({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),aX=O.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?$e(.1,e.color.defaultText):$e(.2,e.color.defaultText),marginTop:t?4:0})),lX=O.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?$e(.1,e.color.defaultText):$e(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),iX=O.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),sX=e=>e&&{summary:typeof e=="string"?e:e.name},R0=e=>{var b;let[t,r]=u.useState(!1),{row:n,updateArgs:a,compact:i,expandable:s,initialExpandedArgs:d}=e,{name:f,description:m}=n,g=n.table||{},E=g.type||sX(n.type),w=g.defaultValue||n.defaultValue,v=(b=n.type)==null?void 0:b.required,x=m!=null&&m!=="";return D.createElement("tr",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},D.createElement(iX,{expandable:s},D.createElement(rX,null,f),v?D.createElement(nX,{title:"Required"},"*"):null),i?null:D.createElement("td",null,x&&D.createElement(oX,null,D.createElement(kI,null,m)),g.jsDocTags!=null?D.createElement(D.Fragment,null,D.createElement(lX,{hasDescription:x},D.createElement(pg,{value:E,initialExpandedArgs:d})),D.createElement(UK,{tags:g.jsDocTags})):D.createElement(aX,{hasDescription:x},D.createElement(pg,{value:E,initialExpandedArgs:d}))),i?null:D.createElement("td",null,D.createElement(pg,{value:w,initialExpandedArgs:d})),a?D.createElement("td",null,D.createElement(jK,{...e,isHovered:t})):null)},uX=O.div(({inAddonPanel:e,theme:t})=>({height:e?"100%":"auto",display:"flex",border:e?"none":`1px solid ${t.appBorderColor}`,borderRadius:e?0:t.appBorderRadius,padding:e?0:40,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:t.background.content,boxShadow:"rgba(0, 0, 0, 0.10) 0 1px 3px 0"})),cX=O.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),dX=O.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),pX=({inAddonPanel:e})=>{let[t,r]=u.useState(!0);return u.useEffect(()=>{let n=setTimeout(()=>{r(!1)},100);return()=>clearTimeout(n)},[]),t?null:D.createElement(uX,{inAddonPanel:e},D.createElement(hy,{title:e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated",description:D.createElement(D.Fragment,null,"Controls give you an easy to use interface to test your components. Set your story args and you'll see controls appearing here automatically."),footer:D.createElement(cX,null,e&&D.createElement(D.Fragment,null,D.createElement(Yl,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},D.createElement(lq,null)," Watch 5m video"),D.createElement(dX,null),D.createElement(Yl,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},D.createElement(X5,null)," Read docs")),!e&&D.createElement(Yl,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},D.createElement(X5,null)," Learn how to set that up"))}))},fX=O(cq)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?$e(.25,e.color.defaultText):$e(.3,e.color.defaultText),border:"none",display:"inline-block"})),hX=O(dq)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?$e(.25,e.color.defaultText):$e(.3,e.color.defaultText),border:"none",display:"inline-block"})),mX=O.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),gX=O.td(({theme:e})=>({position:"relative",letterSpacing:"0.35em",textTransform:"uppercase",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s1-1,color:e.base==="light"?$e(.4,e.color.defaultText):$e(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),vX=O.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),yX=O.td(()=>({position:"relative"})),wX=O.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${wa(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),Nx=O.button(()=>({background:"none",border:"none",padding:"0",font:"inherit",position:"absolute",top:0,bottom:0,left:0,right:0,height:"100%",width:"100%",color:"transparent",cursor:"row-resize !important"})),fg=({level:e="section",label:t,children:r,initialExpanded:n=!0,colSpan:a=3})=>{let[i,s]=u.useState(n),d=e==="subsection"?vX:gX,f=(r==null?void 0:r.length)||0,m=e==="subsection"?`${f} item${f!==1?"s":""}`:"",g=`${i?"Hide":"Show"} ${e==="subsection"?f:t} item${f!==1?"s":""}`;return D.createElement(D.Fragment,null,D.createElement(wX,{title:g},D.createElement(d,{colSpan:1},D.createElement(Nx,{onClick:E=>s(!i),tabIndex:0},g),D.createElement(mX,null,i?D.createElement(fX,null):D.createElement(hX,null),t)),D.createElement(yX,{colSpan:a-1},D.createElement(Nx,{onClick:E=>s(!i),tabIndex:-1,style:{outline:"none"}},g),i?null:m)),i?r:null)},I0=O.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),At=O.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),lt=O.div(({theme:e,width:t,height:r})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,width:t||"100%",height:r||16,borderRadius:3})),_t=[2,4,2,2],bX=()=>D.createElement(D.Fragment,null,D.createElement(I0,null,D.createElement(At,{numColumn:_t[0]},D.createElement(lt,{width:"60%"})),D.createElement(At,{numColumn:_t[1]},D.createElement(lt,{width:"30%"})),D.createElement(At,{numColumn:_t[2]},D.createElement(lt,{width:"60%"})),D.createElement(At,{numColumn:_t[3]},D.createElement(lt,{width:"60%"}))),D.createElement(I0,null,D.createElement(At,{numColumn:_t[0]},D.createElement(lt,{width:"60%"})),D.createElement(At,{numColumn:_t[1]},D.createElement(lt,{width:"80%"}),D.createElement(lt,{width:"30%"})),D.createElement(At,{numColumn:_t[2]},D.createElement(lt,{width:"60%"})),D.createElement(At,{numColumn:_t[3]},D.createElement(lt,{width:"60%"}))),D.createElement(I0,null,D.createElement(At,{numColumn:_t[0]},D.createElement(lt,{width:"60%"})),D.createElement(At,{numColumn:_t[1]},D.createElement(lt,{width:"80%"}),D.createElement(lt,{width:"30%"})),D.createElement(At,{numColumn:_t[2]},D.createElement(lt,{width:"60%"})),D.createElement(At,{numColumn:_t[3]},D.createElement(lt,{width:"60%"}))),D.createElement(I0,null,D.createElement(At,{numColumn:_t[0]},D.createElement(lt,{width:"60%"})),D.createElement(At,{numColumn:_t[1]},D.createElement(lt,{width:"80%"}),D.createElement(lt,{width:"30%"})),D.createElement(At,{numColumn:_t[2]},D.createElement(lt,{width:"60%"})),D.createElement(At,{numColumn:_t[3]},D.createElement(lt,{width:"60%"})))),EX=O.table(({theme:e,compact:t,inAddonPanel:r})=>({"&&":{borderSpacing:0,color:e.color.defaultText,"td, th":{padding:0,border:"none",verticalAlign:"top",textOverflow:"ellipsis"},fontSize:e.typography.size.s2-1,lineHeight:"20px",textAlign:"left",width:"100%",marginTop:r?0:25,marginBottom:r?0:40,"thead th:first-of-type, td:first-of-type":{width:"25%"},"th:first-of-type, td:first-of-type":{paddingLeft:20},"th:nth-of-type(2), td:nth-of-type(2)":{...t?null:{width:"35%"}},"td:nth-of-type(3)":{...t?null:{width:"15%"}},"th:last-of-type, td:last-of-type":{paddingRight:20,...t?null:{width:"25%"}},th:{color:e.base==="light"?$e(.25,e.color.defaultText):$e(.45,e.color.defaultText),paddingTop:10,paddingBottom:10,paddingLeft:15,paddingRight:15},td:{paddingTop:"10px",paddingBottom:"10px","&:not(:first-of-type)":{paddingLeft:15,paddingRight:15},"&:last-of-type":{paddingRight:20}},marginLeft:r?0:1,marginRight:r?0:1,tbody:{...r?null:{filter:e.base==="light"?"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.10))":"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.20))"},"> tr > *":{background:e.background.content,borderTop:`1px solid ${e.appBorderColor}`},...r?null:{"> tr:first-of-type > *":{borderBlockStart:`1px solid ${e.appBorderColor}`},"> tr:last-of-type > *":{borderBlockEnd:`1px solid ${e.appBorderColor}`},"> tr > *:first-of-type":{borderInlineStart:`1px solid ${e.appBorderColor}`},"> tr > *:last-of-type":{borderInlineEnd:`1px solid ${e.appBorderColor}`},"> tr:first-of-type > td:first-of-type":{borderTopLeftRadius:e.appBorderRadius},"> tr:first-of-type > td:last-of-type":{borderTopRightRadius:e.appBorderRadius},"> tr:last-of-type > td:first-of-type":{borderBottomLeftRadius:e.appBorderRadius},"> tr:last-of-type > td:last-of-type":{borderBottomRightRadius:e.appBorderRadius}}}}})),xX=O(Mo)(({theme:e})=>({margin:"-4px -12px -4px 0"})),CX=O.span({display:"flex",justifyContent:"space-between"}),DX={alpha:(e,t)=>e.name.localeCompare(t.name),requiredFirst:(e,t)=>{var r,n;return+!!((r=t.type)!=null&&r.required)-+!!((n=e.type)!=null&&n.required)||e.name.localeCompare(t.name)},none:void 0},SX=(e,t)=>{let r={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return r;Object.entries(e).forEach(([i,s])=>{let{category:d,subcategory:f}=(s==null?void 0:s.table)||{};if(d){let m=r.sections[d]||{ungrouped:[],subsections:{}};if(!f)m.ungrouped.push({key:i,...s});else{let g=m.subsections[f]||[];g.push({key:i,...s}),m.subsections[f]=g}r.sections[d]=m}else if(f){let m=r.ungroupedSubsections[f]||[];m.push({key:i,...s}),r.ungroupedSubsections[f]=m}else r.ungrouped.push({key:i,...s})});let n=DX[t],a=i=>n?Object.keys(i).reduce((s,d)=>({...s,[d]:i[d].sort(n)}),{}):i;return{ungrouped:r.ungrouped.sort(n),ungroupedSubsections:a(r.ungroupedSubsections),sections:Object.keys(r.sections).reduce((i,s)=>({...i,[s]:{ungrouped:r.sections[s].ungrouped.sort(n),subsections:a(r.sections[s].subsections)}}),{})}},kX=(e,t,r)=>{try{return SO(e,t,r)}catch(n){return mq.warn(n.message),!1}},i2=e=>{let{updateArgs:t,resetArgs:r,compact:n,inAddonPanel:a,initialExpandedArgs:i,sort:s="none",isLoading:d}=e;if("error"in e){let{error:F}=e;return D.createElement(rI,null,F," ",D.createElement(Yl,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},D.createElement(X5,null)," Read the docs"))}if(d)return D.createElement(bX,null);let{rows:f,args:m,globals:g}="rows"in e&&e,E=SX(uB(f||{},F=>{var A;return!((A=F==null?void 0:F.table)!=null&&A.disable)&&kX(F,m||{},g||{})}),s),w=E.ungrouped.length===0,v=Object.entries(E.sections).length===0,x=Object.entries(E.ungroupedSubsections).length===0;if(w&&v&&x)return D.createElement(pX,{inAddonPanel:a});let b=1;t&&(b+=1),n||(b+=2);let S=Object.keys(E.sections).length>0,_={updateArgs:t,compact:n,inAddonPanel:a,initialExpandedArgs:i};return D.createElement(ty,null,D.createElement(EX,{compact:n,inAddonPanel:a,className:"docblock-argstable sb-unstyled"},D.createElement("thead",{className:"docblock-argstable-head"},D.createElement("tr",null,D.createElement("th",null,D.createElement("span",null,"Name")),n?null:D.createElement("th",null,D.createElement("span",null,"Description")),n?null:D.createElement("th",null,D.createElement("span",null,"Default")),t?D.createElement("th",null,D.createElement(CX,null,"Control"," ",!d&&r&&D.createElement(xX,{onClick:()=>r(),title:"Reset controls"},D.createElement(fq,{"aria-hidden":!0})))):null)),D.createElement("tbody",{className:"docblock-argstable-body"},E.ungrouped.map(F=>D.createElement(R0,{key:F.key,row:F,arg:m&&m[F.key],..._})),Object.entries(E.ungroupedSubsections).map(([F,A])=>D.createElement(fg,{key:F,label:F,level:"subsection",colSpan:b},A.map(k=>D.createElement(R0,{key:k.key,row:k,arg:m&&m[k.key],expandable:S,..._})))),Object.entries(E.sections).map(([F,A])=>D.createElement(fg,{key:F,label:F,level:"section",colSpan:b},A.ungrouped.map(k=>D.createElement(R0,{key:k.key,row:k,arg:m&&m[k.key],..._})),Object.entries(A.subsections).map(([k,R])=>D.createElement(fg,{key:k,label:k,level:"subsection",colSpan:b},R.map(T=>D.createElement(R0,{key:T.key,row:T,arg:m&&m[T.key],expandable:S,..._})))))))))},AX=({tabs:e,...t})=>{let r=Object.entries(e);return r.length===1?D.createElement(i2,{...r[0][1],...t}):D.createElement(UR,null,r.map((n,a)=>{let[i,s]=n,d=`prop_table_div_${i}`,f="div",m=a===0?t:{sort:t.sort};return D.createElement(f,{key:d,id:d,title:i},({active:g})=>g?D.createElement(i2,{key:`prop_table_${i}`,...s,...m}):null)}))};O.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?$e(.4,e.color.defaultText):$e(.6,e.color.defaultText)}));O.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});O.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}});O.div(We,({theme:e})=>({...Gp(e),margin:"25px 0 40px",padding:"30px 20px"}));O.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText}));O.div(({theme:e})=>({color:e.base==="light"?$e(.2,e.color.defaultText):$e(.6,e.color.defaultText)}));O.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5});O.div(({theme:e})=>({flex:1,textAlign:"center",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,lineHeight:1,overflow:"hidden",color:e.base==="light"?$e(.4,e.color.defaultText):$e(.6,e.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}}));O.div({display:"flex",flexDirection:"row"});O.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}}));O.div(({theme:e})=>({...Gp(e),display:"flex",flexDirection:"row",height:50,marginBottom:5,overflow:"hidden",backgroundColor:"white",backgroundImage:"repeating-linear-gradient(-45deg, #ccc, #ccc 1px, #fff 1px, #fff 16px)",backgroundClip:"padding-box"}));O.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30});O.div({flex:1,display:"flex",flexDirection:"row"});O.div({display:"flex",alignItems:"flex-start"});O.div({flex:"0 0 30%"});O.div({flex:1});O.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:e.typography.weight.bold,color:e.base==="light"?$e(.4,e.color.defaultText):$e(.6,e.color.defaultText)}));O.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));O.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2}));O.div(({theme:e})=>({...Gp(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}}));O.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"});O.div({display:"flex",flexFlow:"row wrap"});var _X=e=>`anchor--${e}`,$I=({storyId:e,children:t})=>D.createElement("div",{id:_X(e),className:"sb-anchor"},t);globalThis&&globalThis.__DOCS_CONTEXT__===void 0&&(globalThis.__DOCS_CONTEXT__=u.createContext(null),globalThis.__DOCS_CONTEXT__.displayName="DocsContext");var Jr=globalThis?globalThis.__DOCS_CONTEXT__:u.createContext(null),Ga=(e,t)=>u.useContext(Jr).resolveOf(e,t),FX=e=>e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(""),RX=e=>{if(e)return typeof e=="string"?e.includes("-")?FX(e):e:e.__docgenInfo&&e.__docgenInfo.displayName?e.__docgenInfo.displayName:e.name};function IX(e,t="start"){e.scrollIntoView({behavior:"smooth",block:t,inline:"nearest"})}var TX=Object.create,HI=Object.defineProperty,zX=Object.getOwnPropertyDescriptor,jI=Object.getOwnPropertyNames,BX=Object.getPrototypeOf,LX=Object.prototype.hasOwnProperty,Sr=(e,t)=>function(){return t||(0,e[jI(e)[0]])((t={exports:{}}).exports,t),t.exports},OX=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of jI(t))!LX.call(e,a)&&a!==r&&HI(e,a,{get:()=>t[a],enumerable:!(n=zX(t,a))||n.enumerable});return e},Cy=(e,t,r)=>(r=e!=null?TX(BX(e)):{},OX(!e||!e.__esModule?HI(r,"default",{value:e,enumerable:!0}):r,e)),MX=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],PX=["detail"];function NX(e){let t=MX.filter(r=>e[r]!==void 0).reduce((r,n)=>({...r,[n]:e[n]}),{});return e instanceof CustomEvent&&PX.filter(r=>e[r]!==void 0).forEach(r=>{t[r]=e[r]}),t}var $X=c2(ZR(),1),VI=Sr({"node_modules/has-symbols/shams.js"(e,t){t.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},n=Symbol("test"),a=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(a)!=="[object Symbol]")return!1;var i=42;r[n]=i;for(n in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var s=Object.getOwnPropertySymbols(r);if(s.length!==1||s[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var d=Object.getOwnPropertyDescriptor(r,n);if(d.value!==i||d.enumerable!==!0)return!1}return!0}}}),UI=Sr({"node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=VI();t.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()}}}),HX=Sr({"node_modules/function-bind/implementation.js"(e,t){var r="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,a=Object.prototype.toString,i="[object Function]";t.exports=function(s){var d=this;if(typeof d!="function"||a.call(d)!==i)throw new TypeError(r+d);for(var f=n.call(arguments,1),m,g=function(){if(this instanceof m){var b=d.apply(this,f.concat(n.call(arguments)));return Object(b)===b?b:this}else return d.apply(s,f.concat(n.call(arguments)))},E=Math.max(0,d.length-f.length),w=[],v=0;v"u"?r:E(Uint8Array),x={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":g?E([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":w,"%AsyncGenerator%":w,"%AsyncGeneratorFunction%":w,"%AsyncIteratorPrototype%":w,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":a,"%GeneratorFunction%":w,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":g?E(E([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!g?r:E(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!g?r:E(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":g?E(""[Symbol.iterator]()):r,"%Symbol%":g?Symbol:r,"%SyntaxError%":n,"%ThrowTypeError%":m,"%TypedArray%":v,"%TypeError%":i,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet},b=function Y(K){var re;if(K==="%AsyncFunction%")re=s("async function () {}");else if(K==="%GeneratorFunction%")re=s("function* () {}");else if(K==="%AsyncGeneratorFunction%")re=s("async function* () {}");else if(K==="%AsyncGenerator%"){var ee=Y("%AsyncGeneratorFunction%");ee&&(re=ee.prototype)}else if(K==="%AsyncIteratorPrototype%"){var oe=Y("%AsyncGenerator%");oe&&(re=E(oe.prototype))}return x[K]=re,re},S={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},_=Dy(),F=jX(),A=_.call(Function.call,Array.prototype.concat),k=_.call(Function.apply,Array.prototype.splice),R=_.call(Function.call,String.prototype.replace),T=_.call(Function.call,String.prototype.slice),z=_.call(Function.call,RegExp.prototype.exec),B=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,M=/\\(\\)?/g,H=function(Y){var K=T(Y,0,1),re=T(Y,-1);if(K==="%"&&re!=="%")throw new n("invalid intrinsic syntax, expected closing `%`");if(re==="%"&&K!=="%")throw new n("invalid intrinsic syntax, expected opening `%`");var ee=[];return R(Y,B,function(oe,pe,q,Q){ee[ee.length]=q?R(Q,M,"$1"):pe||oe}),ee},W=function(Y,K){var re=Y,ee;if(F(S,re)&&(ee=S[re],re="%"+ee[0]+"%"),F(x,re)){var oe=x[re];if(oe===w&&(oe=b(re)),typeof oe>"u"&&!K)throw new i("intrinsic "+Y+" exists, but is not available. Please file an issue!");return{alias:ee,name:re,value:oe}}throw new n("intrinsic "+Y+" does not exist!")};t.exports=function(Y,K){if(typeof Y!="string"||Y.length===0)throw new i("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof K!="boolean")throw new i('"allowMissing" argument must be a boolean');if(z(/^%?[^%]*%?$/,Y)===null)throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var re=H(Y),ee=re.length>0?re[0]:"",oe=W("%"+ee+"%",K),pe=oe.name,q=oe.value,Q=!1,X=oe.alias;X&&(ee=X[0],k(re,A([0,1],X)));for(var fe=1,ve=!0;fe=re.length){var ye=d(q,Ee);ve=!!ye,ve&&"get"in ye&&!("originalValue"in ye.get)?q=ye.get:q=q[Ee]}else ve=F(q,Ee),q=q[Ee];ve&&!Q&&(x[pe]=q)}}return q}}}),VX=Sr({"node_modules/call-bind/index.js"(e,t){var r=Dy(),n=WI(),a=n("%Function.prototype.apply%"),i=n("%Function.prototype.call%"),s=n("%Reflect.apply%",!0)||r.call(i,a),d=n("%Object.getOwnPropertyDescriptor%",!0),f=n("%Object.defineProperty%",!0),m=n("%Math.max%");if(f)try{f({},"a",{value:1})}catch{f=null}t.exports=function(E){var w=s(r,i,arguments);if(d&&f){var v=d(w,"length");v.configurable&&f(w,"length",{value:1+m(0,E.length-(arguments.length-1))})}return w};var g=function(){return s(r,a,arguments)};f?f(t.exports,"apply",{value:g}):t.exports.apply=g}}),UX=Sr({"node_modules/call-bind/callBound.js"(e,t){var r=WI(),n=VX(),a=n(r("String.prototype.indexOf"));t.exports=function(i,s){var d=r(i,!!s);return typeof d=="function"&&a(i,".prototype.")>-1?n(d):d}}}),WX=Sr({"node_modules/has-tostringtag/shams.js"(e,t){var r=VI();t.exports=function(){return r()&&!!Symbol.toStringTag}}}),qX=Sr({"node_modules/is-regex/index.js"(e,t){var r=UX(),n=WX()(),a,i,s,d;n&&(a=r("Object.prototype.hasOwnProperty"),i=r("RegExp.prototype.exec"),s={},f=function(){throw s},d={toString:f,valueOf:f},typeof Symbol.toPrimitive=="symbol"&&(d[Symbol.toPrimitive]=f));var f,m=r("Object.prototype.toString"),g=Object.getOwnPropertyDescriptor,E="[object RegExp]";t.exports=n?function(w){if(!w||typeof w!="object")return!1;var v=g(w,"lastIndex"),x=v&&a(v,"value");if(!x)return!1;try{i(w,d)}catch(b){return b===s}}:function(w){return!w||typeof w!="object"&&typeof w!="function"?!1:m(w)===E}}}),GX=Sr({"node_modules/is-function/index.js"(e,t){t.exports=n;var r=Object.prototype.toString;function n(a){if(!a)return!1;var i=r.call(a);return i==="[object Function]"||typeof a=="function"&&i!=="[object RegExp]"||typeof window<"u"&&(a===window.setTimeout||a===window.alert||a===window.confirm||a===window.prompt)}}}),YX=Sr({"node_modules/is-symbol/index.js"(e,t){var r=Object.prototype.toString,n=UI()();n?(a=Symbol.prototype.toString,i=/^Symbol\(.*\)$/,s=function(d){return typeof d.valueOf()!="symbol"?!1:i.test(a.call(d))},t.exports=function(d){if(typeof d=="symbol")return!0;if(r.call(d)!=="[object Symbol]")return!1;try{return s(d)}catch{return!1}}):t.exports=function(d){return!1};var a,i,s}}),KX=Cy(qX()),XX=Cy(GX()),ZX=Cy(YX());function JX(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}var QX=typeof global=="object"&&global&&global.Object===Object&&global,eZ=QX,tZ=typeof self=="object"&&self&&self.Object===Object&&self,rZ=eZ||tZ||Function("return this")(),Sy=rZ,nZ=Sy.Symbol,hi=nZ,qI=Object.prototype,oZ=qI.hasOwnProperty,aZ=qI.toString,Is=hi?hi.toStringTag:void 0;function lZ(e){var t=oZ.call(e,Is),r=e[Is];try{e[Is]=void 0;var n=!0}catch{}var a=aZ.call(e);return n&&(t?e[Is]=r:delete e[Is]),a}var iZ=lZ,sZ=Object.prototype,uZ=sZ.toString;function cZ(e){return uZ.call(e)}var dZ=cZ,pZ="[object Null]",fZ="[object Undefined]",$x=hi?hi.toStringTag:void 0;function hZ(e){return e==null?e===void 0?fZ:pZ:$x&&$x in Object(e)?iZ(e):dZ(e)}var mZ=hZ,Hx=hi?hi.prototype:void 0;Hx&&Hx.toString;function gZ(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var GI=gZ,vZ="[object AsyncFunction]",yZ="[object Function]",wZ="[object GeneratorFunction]",bZ="[object Proxy]";function EZ(e){if(!GI(e))return!1;var t=mZ(e);return t==yZ||t==wZ||t==vZ||t==bZ}var xZ=EZ,CZ=Sy["__core-js_shared__"],hg=CZ,jx=function(){var e=/[^.]+$/.exec(hg&&hg.keys&&hg.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function DZ(e){return!!jx&&jx in e}var SZ=DZ,kZ=Function.prototype,AZ=kZ.toString;function _Z(e){if(e!=null){try{return AZ.call(e)}catch{}try{return e+""}catch{}}return""}var FZ=_Z,RZ=/[\\^$.*+?()[\]{}|]/g,IZ=/^\[object .+?Constructor\]$/,TZ=Function.prototype,zZ=Object.prototype,BZ=TZ.toString,LZ=zZ.hasOwnProperty,OZ=RegExp("^"+BZ.call(LZ).replace(RZ,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function MZ(e){if(!GI(e)||SZ(e))return!1;var t=xZ(e)?OZ:IZ;return t.test(FZ(e))}var PZ=MZ;function NZ(e,t){return e==null?void 0:e[t]}var $Z=NZ;function HZ(e,t){var r=$Z(e,t);return PZ(r)?r:void 0}var YI=HZ;function jZ(e,t){return e===t||e!==e&&t!==t}var VZ=jZ,UZ=YI(Object,"create"),Eu=UZ;function WZ(){this.__data__=Eu?Eu(null):{},this.size=0}var qZ=WZ;function GZ(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var YZ=GZ,KZ="__lodash_hash_undefined__",XZ=Object.prototype,ZZ=XZ.hasOwnProperty;function JZ(e){var t=this.__data__;if(Eu){var r=t[e];return r===KZ?void 0:r}return ZZ.call(t,e)?t[e]:void 0}var QZ=JZ,eJ=Object.prototype,tJ=eJ.hasOwnProperty;function rJ(e){var t=this.__data__;return Eu?t[e]!==void 0:tJ.call(t,e)}var nJ=rJ,oJ="__lodash_hash_undefined__";function aJ(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Eu&&t===void 0?oJ:t,this}var lJ=aJ;function ki(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t-1}var vJ=gJ;function yJ(e,t){var r=this.__data__,n=Xp(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var wJ=yJ;function Ai(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t{let t=null,r=!1,n=!1,a=!1,i="";if(e.indexOf("//")>=0||e.indexOf("/*")>=0)for(let s=0;s({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),RK=O.div({display:"flex",alignItems:"center",width:"100%"});function IK(e){let t=e.toString().match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}var TK=({name:e,value:t,onChange:r,min:n=0,max:a=100,step:i=1,onBlur:s,onFocus:d,argType:f})=>{var v;let m=x=>{r(jY(x.target.value))},g=t!==void 0,E=u.useMemo(()=>IK(i),[i]),w=!!((v=f==null?void 0:f.table)!=null&&v.readonly);return D.createElement(RK,{"aria-readonly":w},D.createElement(PI,null,n),D.createElement(_K,{id:Yr(e),type:"range",disabled:w,onChange:m,name:e,value:t,min:n,max:a,step:i,onFocus:d,onBlur:s}),D.createElement(FK,{numberOFDecimalsPlaces:E,max:a},g?t.toFixed(E):"--"," / ",a))},zK=O.label({display:"flex"}),BK=O.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),LK=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,maxLength:i,argType:s})=>{var v;let d=x=>{r(x.target.value)},f=!!((v=s==null?void 0:s.table)!=null&&v.readonly),[m,g]=u.useState(!1),E=u.useCallback(()=>{r(""),g(!0)},[g]);if(t===void 0)return D.createElement(Ko,{variant:"outline",size:"medium",disabled:f,id:Wd(e),onClick:E},"Set string");let w=typeof t=="string";return D.createElement(zK,null,D.createElement(Si.Textarea,{id:Yr(e),maxLength:i,onChange:d,disabled:f,size:"flex",placeholder:"Edit string...",autoFocus:m,valid:w?null:"error",name:e,value:w?t:"",onFocus:n,onBlur:a}),i&&D.createElement(BK,{isMaxed:(t==null?void 0:t.length)===i},(t==null?void 0:t.length)??0," / ",i))},OK=O(Si.Input)({padding:10});function MK(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var PK=({onChange:e,name:t,accept:r="image/*",value:n,argType:a})=>{var f;let i=u.useRef(null),s=(f=a==null?void 0:a.control)==null?void 0:f.readOnly;function d(m){if(!m.target.files)return;let g=Array.from(m.target.files).map(E=>URL.createObjectURL(E));e(g),MK(n)}return u.useEffect(()=>{n==null&&i.current&&(i.current.value=null)},[n,t]),D.createElement(OK,{ref:i,id:Yr(t),type:"file",name:t,multiple:!0,disabled:s,onChange:d,accept:r,size:"flex"})},NK=u.lazy(()=>Wx(()=>import("./Color-F6OSRLHC-D-erpJqC.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url)),$K=e=>D.createElement(u.Suspense,{fallback:D.createElement("div",null)},D.createElement(NK,{...e})),HK={array:Lx,object:Lx,boolean:BY,color:$K,date:$Y,number:UY,check:Al,"inline-check":Al,radio:Al,"inline-radio":Al,select:Al,"multi-select":Al,range:TK,text:LK,file:PK},Ox=()=>D.createElement(D.Fragment,null,"-"),jK=({row:e,arg:t,updateArgs:r,isHovered:n})=>{var b;let{key:a,control:i}=e,[s,d]=u.useState(!1),[f,m]=u.useState({value:t});u.useEffect(()=>{s||m({value:t})},[s,t]);let g=u.useCallback(S=>(m({value:S}),r({[a]:S}),S),[r,a]),E=u.useCallback(()=>d(!1),[]),w=u.useCallback(()=>d(!0),[]);if(!i||i.disable){let S=(i==null?void 0:i.disable)!==!0&&((b=e==null?void 0:e.type)==null?void 0:b.name)!=="function";return n&&S?D.createElement(Yl,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):D.createElement(Ox,null)}let v={name:a,argType:e,value:f.value,onChange:g,onBlur:E,onFocus:w},x=HK[i.type]||Ox;return D.createElement(x,{...v,...i,controlType:i.type})},VK=O.table(({theme:e})=>({"&&":{borderCollapse:"collapse",borderSpacing:0,border:"none",tr:{border:"none !important",background:"none"},"td, th":{padding:0,border:"none",width:"auto!important"},marginTop:0,marginBottom:0,"th:first-of-type, td:first-of-type":{paddingLeft:0},"th:last-of-type, td:last-of-type":{paddingRight:0},td:{paddingTop:0,paddingBottom:4,"&:not(:first-of-type)":{paddingLeft:10,paddingRight:0}},tbody:{boxShadow:"none",border:"none"},code:Qn({theme:e}),div:{span:{fontWeight:"bold"}},"& code":{margin:0,display:"inline-block",fontSize:e.typography.size.s1}}})),UK=({tags:e})=>{let t=(e.params||[]).filter(i=>i.description),r=t.length!==0,n=e.deprecated!=null,a=e.returns!=null&&e.returns.description!=null;return!r&&!a&&!n?null:D.createElement(D.Fragment,null,D.createElement(VK,null,D.createElement("tbody",null,n&&D.createElement("tr",{key:"deprecated"},D.createElement("td",{colSpan:2},D.createElement("strong",null,"Deprecated"),": ",e.deprecated.toString())),r&&t.map(i=>D.createElement("tr",{key:i.name},D.createElement("td",null,D.createElement("code",null,i.name)),D.createElement("td",null,i.description))),a&&D.createElement("tr",{key:"returns"},D.createElement("td",null,D.createElement("code",null,"Returns")),D.createElement("td",null,e.returns.description)))))},WK=c2(ZR()),l2=8,Mx=O.div(({isExpanded:e})=>({display:"flex",flexDirection:e?"column":"row",flexWrap:"wrap",alignItems:"flex-start",marginBottom:"-4px",minWidth:100})),qK=O.span(Qn,({theme:e,simple:t=!1})=>({flex:"0 0 auto",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,wordBreak:"break-word",whiteSpace:"normal",maxWidth:"100%",margin:0,marginRight:"4px",marginBottom:"4px",paddingTop:"2px",paddingBottom:"2px",lineHeight:"13px",...t&&{background:"transparent",border:"0 none",paddingLeft:0}})),GK=O.button(({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,marginBottom:"4px",background:"none",border:"none"})),YK=O.div(Qn,({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,fontSize:e.typography.size.s1,margin:0,whiteSpace:"nowrap",display:"flex",alignItems:"center"})),KK=O.div(({theme:e,width:t})=>({width:t,minWidth:200,maxWidth:800,padding:15,fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,boxSizing:"content-box","& code":{padding:"0 !important"}})),XK=O(pq)({marginLeft:4}),ZK=O(XR)({marginLeft:4}),JK=()=>D.createElement("span",null,"-"),NI=({text:e,simple:t})=>D.createElement(qK,{simple:t},e),QK=(0,WK.default)(1e3)(e=>{let t=e.split(/\r?\n/);return`${Math.max(...t.map(r=>r.length))}ch`}),eX=e=>{if(!e)return[e];let t=e.split("|").map(r=>r.trim());return sB(t)},Px=(e,t=!0)=>{let r=e;return t||(r=e.slice(0,l2)),r.map(n=>D.createElement(NI,{key:n,text:n===""?'""':n}))},tX=({value:e,initialExpandedArgs:t})=>{let{summary:r,detail:n}=e,[a,i]=u.useState(!1),[s,d]=u.useState(t||!1);if(r==null)return null;let f=typeof r.toString=="function"?r.toString():r;if(n==null){if(/[(){}[\]<>]/.test(f))return D.createElement(NI,{text:f});let m=eX(f),g=m.length;return g>l2?D.createElement(Mx,{isExpanded:s},Px(m,s),D.createElement(GK,{onClick:()=>d(!s)},s?"Show less...":`Show ${g-l2} more...`)):D.createElement(Mx,null,Px(m))}return D.createElement(PR,{closeOnOutsideClick:!0,placement:"bottom",visible:a,onVisibleChange:m=>{i(m)},tooltip:D.createElement(KK,{width:QK(n)},D.createElement(Pp,{language:"jsx",format:!1},n))},D.createElement(YK,{className:"sbdocs-expandable"},D.createElement("span",null,f),a?D.createElement(XK,null):D.createElement(ZK,null)))},pg=({value:e,initialExpandedArgs:t})=>e==null?D.createElement(JK,null):D.createElement(tX,{value:e,initialExpandedArgs:t}),rX=O.span({fontWeight:"bold"}),nX=O.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),oX=O.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...Qn({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),aX=O.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?$e(.1,e.color.defaultText):$e(.2,e.color.defaultText),marginTop:t?4:0})),lX=O.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?$e(.1,e.color.defaultText):$e(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),iX=O.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),sX=e=>e&&{summary:typeof e=="string"?e:e.name},R0=e=>{var b;let[t,r]=u.useState(!1),{row:n,updateArgs:a,compact:i,expandable:s,initialExpandedArgs:d}=e,{name:f,description:m}=n,g=n.table||{},E=g.type||sX(n.type),w=g.defaultValue||n.defaultValue,v=(b=n.type)==null?void 0:b.required,x=m!=null&&m!=="";return D.createElement("tr",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},D.createElement(iX,{expandable:s},D.createElement(rX,null,f),v?D.createElement(nX,{title:"Required"},"*"):null),i?null:D.createElement("td",null,x&&D.createElement(oX,null,D.createElement(kI,null,m)),g.jsDocTags!=null?D.createElement(D.Fragment,null,D.createElement(lX,{hasDescription:x},D.createElement(pg,{value:E,initialExpandedArgs:d})),D.createElement(UK,{tags:g.jsDocTags})):D.createElement(aX,{hasDescription:x},D.createElement(pg,{value:E,initialExpandedArgs:d}))),i?null:D.createElement("td",null,D.createElement(pg,{value:w,initialExpandedArgs:d})),a?D.createElement("td",null,D.createElement(jK,{...e,isHovered:t})):null)},uX=O.div(({inAddonPanel:e,theme:t})=>({height:e?"100%":"auto",display:"flex",border:e?"none":`1px solid ${t.appBorderColor}`,borderRadius:e?0:t.appBorderRadius,padding:e?0:40,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:t.background.content,boxShadow:"rgba(0, 0, 0, 0.10) 0 1px 3px 0"})),cX=O.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),dX=O.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),pX=({inAddonPanel:e})=>{let[t,r]=u.useState(!0);return u.useEffect(()=>{let n=setTimeout(()=>{r(!1)},100);return()=>clearTimeout(n)},[]),t?null:D.createElement(uX,{inAddonPanel:e},D.createElement(hy,{title:e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated",description:D.createElement(D.Fragment,null,"Controls give you an easy to use interface to test your components. Set your story args and you'll see controls appearing here automatically."),footer:D.createElement(cX,null,e&&D.createElement(D.Fragment,null,D.createElement(Yl,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},D.createElement(lq,null)," Watch 5m video"),D.createElement(dX,null),D.createElement(Yl,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},D.createElement(X5,null)," Read docs")),!e&&D.createElement(Yl,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},D.createElement(X5,null)," Learn how to set that up"))}))},fX=O(cq)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?$e(.25,e.color.defaultText):$e(.3,e.color.defaultText),border:"none",display:"inline-block"})),hX=O(dq)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?$e(.25,e.color.defaultText):$e(.3,e.color.defaultText),border:"none",display:"inline-block"})),mX=O.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),gX=O.td(({theme:e})=>({position:"relative",letterSpacing:"0.35em",textTransform:"uppercase",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s1-1,color:e.base==="light"?$e(.4,e.color.defaultText):$e(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),vX=O.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),yX=O.td(()=>({position:"relative"})),wX=O.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${wa(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),Nx=O.button(()=>({background:"none",border:"none",padding:"0",font:"inherit",position:"absolute",top:0,bottom:0,left:0,right:0,height:"100%",width:"100%",color:"transparent",cursor:"row-resize !important"})),fg=({level:e="section",label:t,children:r,initialExpanded:n=!0,colSpan:a=3})=>{let[i,s]=u.useState(n),d=e==="subsection"?vX:gX,f=(r==null?void 0:r.length)||0,m=e==="subsection"?`${f} item${f!==1?"s":""}`:"",g=`${i?"Hide":"Show"} ${e==="subsection"?f:t} item${f!==1?"s":""}`;return D.createElement(D.Fragment,null,D.createElement(wX,{title:g},D.createElement(d,{colSpan:1},D.createElement(Nx,{onClick:E=>s(!i),tabIndex:0},g),D.createElement(mX,null,i?D.createElement(fX,null):D.createElement(hX,null),t)),D.createElement(yX,{colSpan:a-1},D.createElement(Nx,{onClick:E=>s(!i),tabIndex:-1,style:{outline:"none"}},g),i?null:m)),i?r:null)},I0=O.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),At=O.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),lt=O.div(({theme:e,width:t,height:r})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,width:t||"100%",height:r||16,borderRadius:3})),_t=[2,4,2,2],bX=()=>D.createElement(D.Fragment,null,D.createElement(I0,null,D.createElement(At,{numColumn:_t[0]},D.createElement(lt,{width:"60%"})),D.createElement(At,{numColumn:_t[1]},D.createElement(lt,{width:"30%"})),D.createElement(At,{numColumn:_t[2]},D.createElement(lt,{width:"60%"})),D.createElement(At,{numColumn:_t[3]},D.createElement(lt,{width:"60%"}))),D.createElement(I0,null,D.createElement(At,{numColumn:_t[0]},D.createElement(lt,{width:"60%"})),D.createElement(At,{numColumn:_t[1]},D.createElement(lt,{width:"80%"}),D.createElement(lt,{width:"30%"})),D.createElement(At,{numColumn:_t[2]},D.createElement(lt,{width:"60%"})),D.createElement(At,{numColumn:_t[3]},D.createElement(lt,{width:"60%"}))),D.createElement(I0,null,D.createElement(At,{numColumn:_t[0]},D.createElement(lt,{width:"60%"})),D.createElement(At,{numColumn:_t[1]},D.createElement(lt,{width:"80%"}),D.createElement(lt,{width:"30%"})),D.createElement(At,{numColumn:_t[2]},D.createElement(lt,{width:"60%"})),D.createElement(At,{numColumn:_t[3]},D.createElement(lt,{width:"60%"}))),D.createElement(I0,null,D.createElement(At,{numColumn:_t[0]},D.createElement(lt,{width:"60%"})),D.createElement(At,{numColumn:_t[1]},D.createElement(lt,{width:"80%"}),D.createElement(lt,{width:"30%"})),D.createElement(At,{numColumn:_t[2]},D.createElement(lt,{width:"60%"})),D.createElement(At,{numColumn:_t[3]},D.createElement(lt,{width:"60%"})))),EX=O.table(({theme:e,compact:t,inAddonPanel:r})=>({"&&":{borderSpacing:0,color:e.color.defaultText,"td, th":{padding:0,border:"none",verticalAlign:"top",textOverflow:"ellipsis"},fontSize:e.typography.size.s2-1,lineHeight:"20px",textAlign:"left",width:"100%",marginTop:r?0:25,marginBottom:r?0:40,"thead th:first-of-type, td:first-of-type":{width:"25%"},"th:first-of-type, td:first-of-type":{paddingLeft:20},"th:nth-of-type(2), td:nth-of-type(2)":{...t?null:{width:"35%"}},"td:nth-of-type(3)":{...t?null:{width:"15%"}},"th:last-of-type, td:last-of-type":{paddingRight:20,...t?null:{width:"25%"}},th:{color:e.base==="light"?$e(.25,e.color.defaultText):$e(.45,e.color.defaultText),paddingTop:10,paddingBottom:10,paddingLeft:15,paddingRight:15},td:{paddingTop:"10px",paddingBottom:"10px","&:not(:first-of-type)":{paddingLeft:15,paddingRight:15},"&:last-of-type":{paddingRight:20}},marginLeft:r?0:1,marginRight:r?0:1,tbody:{...r?null:{filter:e.base==="light"?"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.10))":"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.20))"},"> tr > *":{background:e.background.content,borderTop:`1px solid ${e.appBorderColor}`},...r?null:{"> tr:first-of-type > *":{borderBlockStart:`1px solid ${e.appBorderColor}`},"> tr:last-of-type > *":{borderBlockEnd:`1px solid ${e.appBorderColor}`},"> tr > *:first-of-type":{borderInlineStart:`1px solid ${e.appBorderColor}`},"> tr > *:last-of-type":{borderInlineEnd:`1px solid ${e.appBorderColor}`},"> tr:first-of-type > td:first-of-type":{borderTopLeftRadius:e.appBorderRadius},"> tr:first-of-type > td:last-of-type":{borderTopRightRadius:e.appBorderRadius},"> tr:last-of-type > td:first-of-type":{borderBottomLeftRadius:e.appBorderRadius},"> tr:last-of-type > td:last-of-type":{borderBottomRightRadius:e.appBorderRadius}}}}})),xX=O(Mo)(({theme:e})=>({margin:"-4px -12px -4px 0"})),CX=O.span({display:"flex",justifyContent:"space-between"}),DX={alpha:(e,t)=>e.name.localeCompare(t.name),requiredFirst:(e,t)=>{var r,n;return+!!((r=t.type)!=null&&r.required)-+!!((n=e.type)!=null&&n.required)||e.name.localeCompare(t.name)},none:void 0},SX=(e,t)=>{let r={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return r;Object.entries(e).forEach(([i,s])=>{let{category:d,subcategory:f}=(s==null?void 0:s.table)||{};if(d){let m=r.sections[d]||{ungrouped:[],subsections:{}};if(!f)m.ungrouped.push({key:i,...s});else{let g=m.subsections[f]||[];g.push({key:i,...s}),m.subsections[f]=g}r.sections[d]=m}else if(f){let m=r.ungroupedSubsections[f]||[];m.push({key:i,...s}),r.ungroupedSubsections[f]=m}else r.ungrouped.push({key:i,...s})});let n=DX[t],a=i=>n?Object.keys(i).reduce((s,d)=>({...s,[d]:i[d].sort(n)}),{}):i;return{ungrouped:r.ungrouped.sort(n),ungroupedSubsections:a(r.ungroupedSubsections),sections:Object.keys(r.sections).reduce((i,s)=>({...i,[s]:{ungrouped:r.sections[s].ungrouped.sort(n),subsections:a(r.sections[s].subsections)}}),{})}},kX=(e,t,r)=>{try{return SO(e,t,r)}catch(n){return mq.warn(n.message),!1}},i2=e=>{let{updateArgs:t,resetArgs:r,compact:n,inAddonPanel:a,initialExpandedArgs:i,sort:s="none",isLoading:d}=e;if("error"in e){let{error:F}=e;return D.createElement(rI,null,F," ",D.createElement(Yl,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},D.createElement(X5,null)," Read the docs"))}if(d)return D.createElement(bX,null);let{rows:f,args:m,globals:g}="rows"in e&&e,E=SX(uB(f||{},F=>{var A;return!((A=F==null?void 0:F.table)!=null&&A.disable)&&kX(F,m||{},g||{})}),s),w=E.ungrouped.length===0,v=Object.entries(E.sections).length===0,x=Object.entries(E.ungroupedSubsections).length===0;if(w&&v&&x)return D.createElement(pX,{inAddonPanel:a});let b=1;t&&(b+=1),n||(b+=2);let S=Object.keys(E.sections).length>0,_={updateArgs:t,compact:n,inAddonPanel:a,initialExpandedArgs:i};return D.createElement(ty,null,D.createElement(EX,{compact:n,inAddonPanel:a,className:"docblock-argstable sb-unstyled"},D.createElement("thead",{className:"docblock-argstable-head"},D.createElement("tr",null,D.createElement("th",null,D.createElement("span",null,"Name")),n?null:D.createElement("th",null,D.createElement("span",null,"Description")),n?null:D.createElement("th",null,D.createElement("span",null,"Default")),t?D.createElement("th",null,D.createElement(CX,null,"Control"," ",!d&&r&&D.createElement(xX,{onClick:()=>r(),title:"Reset controls"},D.createElement(fq,{"aria-hidden":!0})))):null)),D.createElement("tbody",{className:"docblock-argstable-body"},E.ungrouped.map(F=>D.createElement(R0,{key:F.key,row:F,arg:m&&m[F.key],..._})),Object.entries(E.ungroupedSubsections).map(([F,A])=>D.createElement(fg,{key:F,label:F,level:"subsection",colSpan:b},A.map(k=>D.createElement(R0,{key:k.key,row:k,arg:m&&m[k.key],expandable:S,..._})))),Object.entries(E.sections).map(([F,A])=>D.createElement(fg,{key:F,label:F,level:"section",colSpan:b},A.ungrouped.map(k=>D.createElement(R0,{key:k.key,row:k,arg:m&&m[k.key],..._})),Object.entries(A.subsections).map(([k,R])=>D.createElement(fg,{key:k,label:k,level:"subsection",colSpan:b},R.map(T=>D.createElement(R0,{key:T.key,row:T,arg:m&&m[T.key],expandable:S,..._})))))))))},AX=({tabs:e,...t})=>{let r=Object.entries(e);return r.length===1?D.createElement(i2,{...r[0][1],...t}):D.createElement(UR,null,r.map((n,a)=>{let[i,s]=n,d=`prop_table_div_${i}`,f="div",m=a===0?t:{sort:t.sort};return D.createElement(f,{key:d,id:d,title:i},({active:g})=>g?D.createElement(i2,{key:`prop_table_${i}`,...s,...m}):null)}))};O.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?$e(.4,e.color.defaultText):$e(.6,e.color.defaultText)}));O.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});O.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}});O.div(We,({theme:e})=>({...Gp(e),margin:"25px 0 40px",padding:"30px 20px"}));O.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText}));O.div(({theme:e})=>({color:e.base==="light"?$e(.2,e.color.defaultText):$e(.6,e.color.defaultText)}));O.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5});O.div(({theme:e})=>({flex:1,textAlign:"center",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,lineHeight:1,overflow:"hidden",color:e.base==="light"?$e(.4,e.color.defaultText):$e(.6,e.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}}));O.div({display:"flex",flexDirection:"row"});O.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}}));O.div(({theme:e})=>({...Gp(e),display:"flex",flexDirection:"row",height:50,marginBottom:5,overflow:"hidden",backgroundColor:"white",backgroundImage:"repeating-linear-gradient(-45deg, #ccc, #ccc 1px, #fff 1px, #fff 16px)",backgroundClip:"padding-box"}));O.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30});O.div({flex:1,display:"flex",flexDirection:"row"});O.div({display:"flex",alignItems:"flex-start"});O.div({flex:"0 0 30%"});O.div({flex:1});O.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:e.typography.weight.bold,color:e.base==="light"?$e(.4,e.color.defaultText):$e(.6,e.color.defaultText)}));O.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));O.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2}));O.div(({theme:e})=>({...Gp(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}}));O.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"});O.div({display:"flex",flexFlow:"row wrap"});var _X=e=>`anchor--${e}`,$I=({storyId:e,children:t})=>D.createElement("div",{id:_X(e),className:"sb-anchor"},t);globalThis&&globalThis.__DOCS_CONTEXT__===void 0&&(globalThis.__DOCS_CONTEXT__=u.createContext(null),globalThis.__DOCS_CONTEXT__.displayName="DocsContext");var Jr=globalThis?globalThis.__DOCS_CONTEXT__:u.createContext(null),Ga=(e,t)=>u.useContext(Jr).resolveOf(e,t),FX=e=>e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(""),RX=e=>{if(e)return typeof e=="string"?e.includes("-")?FX(e):e:e.__docgenInfo&&e.__docgenInfo.displayName?e.__docgenInfo.displayName:e.name};function IX(e,t="start"){e.scrollIntoView({behavior:"smooth",block:t,inline:"nearest"})}var TX=Object.create,HI=Object.defineProperty,zX=Object.getOwnPropertyDescriptor,jI=Object.getOwnPropertyNames,BX=Object.getPrototypeOf,LX=Object.prototype.hasOwnProperty,Sr=(e,t)=>function(){return t||(0,e[jI(e)[0]])((t={exports:{}}).exports,t),t.exports},OX=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of jI(t))!LX.call(e,a)&&a!==r&&HI(e,a,{get:()=>t[a],enumerable:!(n=zX(t,a))||n.enumerable});return e},Cy=(e,t,r)=>(r=e!=null?TX(BX(e)):{},OX(!e||!e.__esModule?HI(r,"default",{value:e,enumerable:!0}):r,e)),MX=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],PX=["detail"];function NX(e){let t=MX.filter(r=>e[r]!==void 0).reduce((r,n)=>({...r,[n]:e[n]}),{});return e instanceof CustomEvent&&PX.filter(r=>e[r]!==void 0).forEach(r=>{t[r]=e[r]}),t}var $X=c2(ZR(),1),VI=Sr({"node_modules/has-symbols/shams.js"(e,t){t.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},n=Symbol("test"),a=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(a)!=="[object Symbol]")return!1;var i=42;r[n]=i;for(n in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var s=Object.getOwnPropertySymbols(r);if(s.length!==1||s[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var d=Object.getOwnPropertyDescriptor(r,n);if(d.value!==i||d.enumerable!==!0)return!1}return!0}}}),UI=Sr({"node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=VI();t.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()}}}),HX=Sr({"node_modules/function-bind/implementation.js"(e,t){var r="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,a=Object.prototype.toString,i="[object Function]";t.exports=function(s){var d=this;if(typeof d!="function"||a.call(d)!==i)throw new TypeError(r+d);for(var f=n.call(arguments,1),m,g=function(){if(this instanceof m){var b=d.apply(this,f.concat(n.call(arguments)));return Object(b)===b?b:this}else return d.apply(s,f.concat(n.call(arguments)))},E=Math.max(0,d.length-f.length),w=[],v=0;v"u"?r:E(Uint8Array),x={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":g?E([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":w,"%AsyncGenerator%":w,"%AsyncGeneratorFunction%":w,"%AsyncIteratorPrototype%":w,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":a,"%GeneratorFunction%":w,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":g?E(E([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!g?r:E(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!g?r:E(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":g?E(""[Symbol.iterator]()):r,"%Symbol%":g?Symbol:r,"%SyntaxError%":n,"%ThrowTypeError%":m,"%TypedArray%":v,"%TypeError%":i,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet},b=function Y(K){var re;if(K==="%AsyncFunction%")re=s("async function () {}");else if(K==="%GeneratorFunction%")re=s("function* () {}");else if(K==="%AsyncGeneratorFunction%")re=s("async function* () {}");else if(K==="%AsyncGenerator%"){var ee=Y("%AsyncGeneratorFunction%");ee&&(re=ee.prototype)}else if(K==="%AsyncIteratorPrototype%"){var oe=Y("%AsyncGenerator%");oe&&(re=E(oe.prototype))}return x[K]=re,re},S={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},_=Dy(),F=jX(),A=_.call(Function.call,Array.prototype.concat),k=_.call(Function.apply,Array.prototype.splice),R=_.call(Function.call,String.prototype.replace),T=_.call(Function.call,String.prototype.slice),z=_.call(Function.call,RegExp.prototype.exec),B=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,M=/\\(\\)?/g,H=function(Y){var K=T(Y,0,1),re=T(Y,-1);if(K==="%"&&re!=="%")throw new n("invalid intrinsic syntax, expected closing `%`");if(re==="%"&&K!=="%")throw new n("invalid intrinsic syntax, expected opening `%`");var ee=[];return R(Y,B,function(oe,pe,q,Q){ee[ee.length]=q?R(Q,M,"$1"):pe||oe}),ee},W=function(Y,K){var re=Y,ee;if(F(S,re)&&(ee=S[re],re="%"+ee[0]+"%"),F(x,re)){var oe=x[re];if(oe===w&&(oe=b(re)),typeof oe>"u"&&!K)throw new i("intrinsic "+Y+" exists, but is not available. Please file an issue!");return{alias:ee,name:re,value:oe}}throw new n("intrinsic "+Y+" does not exist!")};t.exports=function(Y,K){if(typeof Y!="string"||Y.length===0)throw new i("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof K!="boolean")throw new i('"allowMissing" argument must be a boolean');if(z(/^%?[^%]*%?$/,Y)===null)throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var re=H(Y),ee=re.length>0?re[0]:"",oe=W("%"+ee+"%",K),pe=oe.name,q=oe.value,Q=!1,X=oe.alias;X&&(ee=X[0],k(re,A([0,1],X)));for(var fe=1,ve=!0;fe=re.length){var ye=d(q,Ee);ve=!!ye,ve&&"get"in ye&&!("originalValue"in ye.get)?q=ye.get:q=q[Ee]}else ve=F(q,Ee),q=q[Ee];ve&&!Q&&(x[pe]=q)}}return q}}}),VX=Sr({"node_modules/call-bind/index.js"(e,t){var r=Dy(),n=WI(),a=n("%Function.prototype.apply%"),i=n("%Function.prototype.call%"),s=n("%Reflect.apply%",!0)||r.call(i,a),d=n("%Object.getOwnPropertyDescriptor%",!0),f=n("%Object.defineProperty%",!0),m=n("%Math.max%");if(f)try{f({},"a",{value:1})}catch{f=null}t.exports=function(E){var w=s(r,i,arguments);if(d&&f){var v=d(w,"length");v.configurable&&f(w,"length",{value:1+m(0,E.length-(arguments.length-1))})}return w};var g=function(){return s(r,a,arguments)};f?f(t.exports,"apply",{value:g}):t.exports.apply=g}}),UX=Sr({"node_modules/call-bind/callBound.js"(e,t){var r=WI(),n=VX(),a=n(r("String.prototype.indexOf"));t.exports=function(i,s){var d=r(i,!!s);return typeof d=="function"&&a(i,".prototype.")>-1?n(d):d}}}),WX=Sr({"node_modules/has-tostringtag/shams.js"(e,t){var r=VI();t.exports=function(){return r()&&!!Symbol.toStringTag}}}),qX=Sr({"node_modules/is-regex/index.js"(e,t){var r=UX(),n=WX()(),a,i,s,d;n&&(a=r("Object.prototype.hasOwnProperty"),i=r("RegExp.prototype.exec"),s={},f=function(){throw s},d={toString:f,valueOf:f},typeof Symbol.toPrimitive=="symbol"&&(d[Symbol.toPrimitive]=f));var f,m=r("Object.prototype.toString"),g=Object.getOwnPropertyDescriptor,E="[object RegExp]";t.exports=n?function(w){if(!w||typeof w!="object")return!1;var v=g(w,"lastIndex"),x=v&&a(v,"value");if(!x)return!1;try{i(w,d)}catch(b){return b===s}}:function(w){return!w||typeof w!="object"&&typeof w!="function"?!1:m(w)===E}}}),GX=Sr({"node_modules/is-function/index.js"(e,t){t.exports=n;var r=Object.prototype.toString;function n(a){if(!a)return!1;var i=r.call(a);return i==="[object Function]"||typeof a=="function"&&i!=="[object RegExp]"||typeof window<"u"&&(a===window.setTimeout||a===window.alert||a===window.confirm||a===window.prompt)}}}),YX=Sr({"node_modules/is-symbol/index.js"(e,t){var r=Object.prototype.toString,n=UI()();n?(a=Symbol.prototype.toString,i=/^Symbol\(.*\)$/,s=function(d){return typeof d.valueOf()!="symbol"?!1:i.test(a.call(d))},t.exports=function(d){if(typeof d=="symbol")return!0;if(r.call(d)!=="[object Symbol]")return!1;try{return s(d)}catch{return!1}}):t.exports=function(d){return!1};var a,i,s}}),KX=Cy(qX()),XX=Cy(GX()),ZX=Cy(YX());function JX(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}var QX=typeof global=="object"&&global&&global.Object===Object&&global,eZ=QX,tZ=typeof self=="object"&&self&&self.Object===Object&&self,rZ=eZ||tZ||Function("return this")(),Sy=rZ,nZ=Sy.Symbol,hi=nZ,qI=Object.prototype,oZ=qI.hasOwnProperty,aZ=qI.toString,Is=hi?hi.toStringTag:void 0;function lZ(e){var t=oZ.call(e,Is),r=e[Is];try{e[Is]=void 0;var n=!0}catch{}var a=aZ.call(e);return n&&(t?e[Is]=r:delete e[Is]),a}var iZ=lZ,sZ=Object.prototype,uZ=sZ.toString;function cZ(e){return uZ.call(e)}var dZ=cZ,pZ="[object Null]",fZ="[object Undefined]",$x=hi?hi.toStringTag:void 0;function hZ(e){return e==null?e===void 0?fZ:pZ:$x&&$x in Object(e)?iZ(e):dZ(e)}var mZ=hZ,Hx=hi?hi.prototype:void 0;Hx&&Hx.toString;function gZ(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var GI=gZ,vZ="[object AsyncFunction]",yZ="[object Function]",wZ="[object GeneratorFunction]",bZ="[object Proxy]";function EZ(e){if(!GI(e))return!1;var t=mZ(e);return t==yZ||t==wZ||t==vZ||t==bZ}var xZ=EZ,CZ=Sy["__core-js_shared__"],hg=CZ,jx=function(){var e=/[^.]+$/.exec(hg&&hg.keys&&hg.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function DZ(e){return!!jx&&jx in e}var SZ=DZ,kZ=Function.prototype,AZ=kZ.toString;function _Z(e){if(e!=null){try{return AZ.call(e)}catch{}try{return e+""}catch{}}return""}var FZ=_Z,RZ=/[\\^$.*+?()[\]{}|]/g,IZ=/^\[object .+?Constructor\]$/,TZ=Function.prototype,zZ=Object.prototype,BZ=TZ.toString,LZ=zZ.hasOwnProperty,OZ=RegExp("^"+BZ.call(LZ).replace(RZ,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function MZ(e){if(!GI(e)||SZ(e))return!1;var t=xZ(e)?OZ:IZ;return t.test(FZ(e))}var PZ=MZ;function NZ(e,t){return e==null?void 0:e[t]}var $Z=NZ;function HZ(e,t){var r=$Z(e,t);return PZ(r)?r:void 0}var YI=HZ;function jZ(e,t){return e===t||e!==e&&t!==t}var VZ=jZ,UZ=YI(Object,"create"),Eu=UZ;function WZ(){this.__data__=Eu?Eu(null):{},this.size=0}var qZ=WZ;function GZ(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var YZ=GZ,KZ="__lodash_hash_undefined__",XZ=Object.prototype,ZZ=XZ.hasOwnProperty;function JZ(e){var t=this.__data__;if(Eu){var r=t[e];return r===KZ?void 0:r}return ZZ.call(t,e)?t[e]:void 0}var QZ=JZ,eJ=Object.prototype,tJ=eJ.hasOwnProperty;function rJ(e){var t=this.__data__;return Eu?t[e]!==void 0:tJ.call(t,e)}var nJ=rJ,oJ="__lodash_hash_undefined__";function aJ(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Eu&&t===void 0?oJ:t,this}var lJ=aJ;function ki(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t-1}var vJ=gJ;function yJ(e,t){var r=this.__data__,n=Xp(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var wJ=yJ;function Ai(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t{let t=null,r=!1,n=!1,a=!1,i="";if(e.indexOf("//")>=0||e.indexOf("/*")>=0)for(let s=0;sUJ(e).replace(/\n\s*/g,"").trim()),qJ=function(e,t){let r=t.slice(0,t.indexOf("{")),n=t.slice(t.indexOf("{"));if(r.includes("=>")||r.includes("function"))return t;let a=r;return a=a.replace(e,"function"),a+n},GJ=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/;function XI(e){if(!VJ(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=NX(t),r=!0),t=Object.keys(t).reduce((n,a)=>{try{t[a]&&t[a].toJSON,n[a]=t[a]}catch{r=!0}return n},{}),r?t:e}var YJ=function(e){let t,r,n,a;return function(i,s){try{if(i==="")return a=[],t=new Map([[s,"[]"]]),r=new Map,n=[],s;let d=r.get(this)||this;for(;n.length&&d!==n[0];)n.shift(),a.pop();if(typeof s=="boolean")return s;if(s===void 0)return e.allowUndefined?"_undefined_":void 0;if(s===null)return null;if(typeof s=="number")return s===-1/0?"_-Infinity_":s===1/0?"_Infinity_":Number.isNaN(s)?"_NaN_":s;if(typeof s=="bigint")return`_bigint_${s.toString()}`;if(typeof s=="string")return GJ.test(s)?e.allowDate?`_date_${s}`:void 0:s;if((0,KX.default)(s))return e.allowRegExp?`_regexp_${s.flags}|${s.source}`:void 0;if((0,XX.default)(s)){if(!e.allowFunction)return;let{name:m}=s,g=s.toString();return g.match(/(\[native code\]|WEBPACK_IMPORTED_MODULE|__webpack_exports__|__webpack_require__)/)?`_function_${m}|${(()=>{}).toString()}`:`_function_${m}|${WJ(qJ(i,g))}`}if((0,ZX.default)(s)){if(!e.allowSymbol)return;let m=Symbol.keyFor(s);return m!==void 0?`_gsymbol_${m}`:`_symbol_${s.toString().slice(7,-1)}`}if(n.length>=e.maxDepth)return Array.isArray(s)?`[Array(${s.length})]`:"[Object]";if(s===this)return`_duplicate_${JSON.stringify(a)}`;if(s instanceof Error&&e.allowError)return{__isConvertedError__:!0,errorProperties:{...s.cause?{cause:s.cause}:{},...s,name:s.name,message:s.message,stack:s.stack,"_constructor-name_":s.constructor.name}};if(s.constructor&&s.constructor.name&&s.constructor.name!=="Object"&&!Array.isArray(s)&&!e.allowClass)return;let f=t.get(s);if(!f){let m=Array.isArray(s)?s:XI(s);if(s.constructor&&s.constructor.name&&s.constructor.name!=="Object"&&!Array.isArray(s)&&e.allowClass)try{Object.assign(m,{"_constructor-name_":s.constructor.name})}catch{}return a.push(i),n.unshift(m),t.set(s,JSON.stringify(a)),s!==m&&r.set(s,m),m}return`_duplicate_${f}`}catch{return}}},KJ={maxDepth:10,space:void 0,allowFunction:!0,allowRegExp:!0,allowDate:!0,allowClass:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0,lazyEval:!0},XJ=(e,t={})=>{let r={...KJ,...t};return JSON.stringify(XI(e),YJ(r),t.space)};function ZI(e){return XJ(e,{allowFunction:!1})}var JI=u.createContext({sources:{}}),QI="--unknown--",ZJ=({children:e,channel:t})=>{let[r,n]=u.useState({});return u.useEffect(()=>{let a=(i,s=null,d=!1)=>{let{id:f,args:m=void 0,source:g,format:E}=typeof i=="string"?{id:i,source:s,format:d}:i,w=m?ZI(m):QI;n(v=>({...v,[f]:{...v[f],[w]:{code:g,format:E}}}))};return t.on(iw,a),()=>t.off(iw,a)},[]),D.createElement(JI.Provider,{value:{sources:r}},e)},JJ=(e,t,r)=>{let{sources:n}=r,a=n==null?void 0:n[e];return(a==null?void 0:a[ZI(t)])||(a==null?void 0:a[QI])||{code:""}},QJ=({snippet:e,storyContext:t,typeFromProps:r,transformFromProps:n})=>{var f,m;let{__isArgsStory:a}=t.parameters,i=((f=t.parameters.docs)==null?void 0:f.source)||{},s=r||i.type||Lf.AUTO;if(i.code!==void 0)return i.code;let d=s===Lf.DYNAMIC||s===Lf.AUTO&&e&&a?e:i.originalSource||"";return((m=n??i.transform)==null?void 0:m(d,t))||d},eQ=(e,t,r)=>{var v,x,b,S;let n,{of:a}=e;if("of"in e&&a===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");if(a)n=t.resolveOf(a,["story"]).story;else try{n=t.storyById()}catch{}let i=((x=(v=n==null?void 0:n.parameters)==null?void 0:v.docs)==null?void 0:x.source)||{},{code:s}=e,d=e.format??i.format,f=e.language??i.language??"jsx",m=e.dark??i.dark??!1;if(!s&&!n)return{error:"Oh no! The source is not available."};if(s)return{code:s,format:d,language:f,dark:m};let g=t.getStoryContext(n),E=e.__forceInitialArgs?g.initialArgs:g.unmappedArgs,w=JJ(n.id,E,r);return d=w.format??((S=(b=n.parameters.docs)==null?void 0:b.source)==null?void 0:S.format)??!1,{code:QJ({snippet:w.code,storyContext:{...g,args:E},typeFromProps:e.type,transformFromProps:e.transform}),format:d,language:f,dark:m}};function tQ(e,t){let r=rQ([e],t);return r&&r[0]}function rQ(e,t){let[r,n]=u.useState({});return u.useEffect(()=>{Promise.all(e.map(async a=>{let i=await t.loadStory(a);n(s=>s[a]===i?s:{...s,[a]:i})}))}),e.map(a=>{if(r[a])return r[a];try{return t.storyById(a)}catch{return null}})}var nQ=(e,t)=>{let{of:r,meta:n}=e;if("of"in e&&r===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");return n&&t.referenceMeta(n,!1),t.resolveOf(r||"story",["story"]).story.id},oQ=(e,t,r)=>{let{parameters:n={}}=t||{},{docs:a={}}=n,i=a.story||{};if(a.disable)return null;if(e.inline??i.inline??!1){let d=e.height??i.height,f=e.autoplay??i.autoplay??!1;return{story:t,inline:!0,height:d,autoplay:f,forceInitialArgs:!!e.__forceInitialArgs,primary:!!e.__primary,renderStoryToElement:r.renderStoryToElement}}let s=e.height??i.height??i.iframeHeight??"100px";return{story:t,inline:!1,height:s,primary:!!e.__primary}},aQ=(e={__forceInitialArgs:!1,__primary:!1})=>{let t=u.useContext(Jr),r=nQ(e,t),n=tQ(r,t);if(!n)return D.createElement(aI,null);let a=oQ(e,n,t);return a?D.createElement(vG,{...a}):null},lQ=e=>{var w,v,x,b,S,_,F,A,k,R;let t=u.useContext(Jr),r=u.useContext(JI),{of:n,source:a}=e;if("of"in e&&n===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let{story:i}=Ga(n||"story",["story"]),s=eQ({...a,...n&&{of:n}},t,r),d=e.layout??i.parameters.layout??((v=(w=i.parameters.docs)==null?void 0:w.canvas)==null?void 0:v.layout)??"padded",f=e.withToolbar??((b=(x=i.parameters.docs)==null?void 0:x.canvas)==null?void 0:b.withToolbar)??!1,m=e.additionalActions??((_=(S=i.parameters.docs)==null?void 0:S.canvas)==null?void 0:_.additionalActions),g=e.sourceState??((A=(F=i.parameters.docs)==null?void 0:F.canvas)==null?void 0:A.sourceState)??"hidden",E=e.className??((R=(k=i.parameters.docs)==null?void 0:k.canvas)==null?void 0:R.className);return D.createElement(lI,{withSource:g==="none"?void 0:s,isExpanded:g==="shown",withToolbar:f,additionalActions:m,className:E,layout:d},D.createElement(aQ,{of:n||i.moduleExport,meta:e.meta,...e.story}))},iQ=(e,t)=>{let r=sQ(e,t);if(!r)throw new Error("No result when story was defined");return r},sQ=(e,t)=>{let r=e?t.getStoryContext(e):{args:{}},{id:n}=e||{id:"none"},[a,i]=u.useState(r.args);u.useEffect(()=>{let f=m=>{m.storyId===n&&i(m.args)};return t.channel.on(gx,f),()=>t.channel.off(gx,f)},[n,t.channel]);let s=u.useCallback(f=>t.channel.emit(gq,{storyId:n,updatedArgs:f}),[n,t.channel]),d=u.useCallback(f=>t.channel.emit(vq,{storyId:n,argNames:f}),[n,t.channel]);return e&&[a,s,d]},uQ=(e,t)=>{let r=t.getStoryContext(e),[n,a]=u.useState(r.globals);return u.useEffect(()=>{let i=s=>{a(s.globals)};return t.channel.on(vx,i),()=>t.channel.off(vx,i)},[t.channel]),[n]};function cQ(e,t){let{extractArgTypes:r}=t.docs||{};if(!r)throw new Error("Args unsupported. See Args documentation for your framework.");return r(e)}var dQ=e=>{var k;let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let r=u.useContext(Jr),{story:n}=r.resolveOf(t||"story",["story"]),{parameters:a,argTypes:i,component:s,subcomponents:d}=n,f=((k=a.docs)==null?void 0:k.controls)||{},m=e.include??f.include,g=e.exclude??f.exclude,E=e.sort??f.sort,[w,v,x]=iQ(n,r),[b]=uQ(n,r),S=mx(i,m,g);if(!(d&&Object.keys(d).length>0))return Object.keys(S).length>0||Object.keys(w).length>0?D.createElement(i2,{rows:S,sort:E,args:w,globals:b,updateArgs:v,resetArgs:x}):null;let _=RX(s),F=Object.fromEntries(Object.entries(d).map(([R,T])=>[R,{rows:mx(cQ(T,a),m,g),sort:E}])),A={[_]:{rows:S,sort:E},...F};return D.createElement(AX,{tabs:A,sort:E,args:w,globals:b,updateArgs:v,resetArgs:x})},{document:eT}=globalThis,pQ=({className:e,children:t,...r})=>{if(typeof e!="string"&&(typeof t!="string"||!t.match(/[\n\r]/g)))return D.createElement(ry,null,t);let n=e&&e.split("-");return D.createElement(nI,{language:n&&n[1]||"text",format:!1,code:t,...r})};function Ay(e,t){e.channel.emit(yq,t)}var s2=KR.a,fQ=({hash:e,children:t})=>{let r=u.useContext(Jr);return D.createElement(s2,{href:e,target:"_self",onClick:n=>{let a=e.substring(1);eT.getElementById(a)&&Ay(r,e)}},t)},hQ=e=>{let{href:t,target:r,children:n,...a}=e,i=u.useContext(Jr);return!t||r==="_blank"||/^https?:\/\//.test(t)?D.createElement(s2,{...e}):t.startsWith("#")?D.createElement(fQ,{hash:t},n):D.createElement(s2,{href:t,onClick:s=>{s.button===0&&!s.altKey&&!s.ctrlKey&&!s.metaKey&&!s.shiftKey&&(s.preventDefault(),Ay(i,s.currentTarget.getAttribute("href")))},target:r,...a},n)},tT=["h1","h2","h3","h4","h5","h6"],mQ=tT.reduce((e,t)=>({...e,[t]:O(t)({"& svg":{position:"relative",top:"-0.1em",visibility:"hidden"},"&:hover svg":{visibility:"visible"}})}),{}),gQ=O.a(()=>({float:"left",lineHeight:"inherit",paddingRight:"10px",marginLeft:"-24px",color:"inherit"})),vQ=({as:e,id:t,children:r,...n})=>{let a=u.useContext(Jr),i=mQ[e],s=`#${t}`;return D.createElement(i,{id:t,...n},D.createElement(gQ,{"aria-hidden":"true",href:s,tabIndex:-1,target:"_self",onClick:d=>{eT.getElementById(t)&&Ay(a,s)}},D.createElement(uq,null)),r)},_y=e=>{let{as:t,id:r,children:n,...a}=e;if(r)return D.createElement(vQ,{as:t,id:r,...a},n);let i=t,{as:s,...d}=e;return D.createElement(i,{...je(d,t)})},yQ=tT.reduce((e,t)=>({...e,[t]:r=>D.createElement(_y,{as:t,...r})}),{}),wQ=e=>{var t;if(!e.children)return null;if(typeof e.children!="string")throw new Error(tB`The Markdown block only accepts children as a single string, but children were of type: '${typeof e.children}' diff --git a/assets/lerc--OnEzsnw.js b/assets/lerc-6b9o-jBY.js similarity index 99% rename from assets/lerc--OnEzsnw.js rename to assets/lerc-6b9o-jBY.js index bf403e910..cad80ced9 100644 --- a/assets/lerc--OnEzsnw.js +++ b/assets/lerc-6b9o-jBY.js @@ -1 +1 @@ -import{i as sA}from"./pako.esm-CPws4d4z.js";import{g as DA}from"./index-DuuuSFPv.js";import{B as nA}from"./basedecoder-DvumDe3Y.js";import{L as fA,a as gA}from"./preview--v8B2K_6.js";import"./chunk-L4EGOTBX-BALMY2cf.js";import"./entry-preview-BErytJoa.js";import"./lit-element-Dh4_iwrW.js";import"./index-DrFu-skq.js";import"./index-Ca-YMdQn.js";import"./index-oEW8ocTu.js";import"./iframe-YBxBTXqz.js";import"./index-DPS9-N-h.js";import"./directive-DUGPADuw.js";import"./main-CHQ92JtU.js";import"./core-C4kcdPvA.js";var BA={exports:{}},iA;function tA(){return iA||(iA=1,function(j){/* Copyright 2015-2021 Esri. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 @preserve */(function(){var J=function(){var u={};u.defaultNoDataValue=-34027999387901484e22,u.decode=function(I,a){a=a||{};var Q=a.encodedMaskData||a.encodedMaskData===null,g=E(I,a.inputOffset||0,Q),D=a.noDataValue!==null?a.noDataValue:u.defaultNoDataValue,B=L(g,a.pixelType||Float32Array,a.encodedMaskData,D,a.returnMask),C={width:g.width,height:g.height,pixelData:B.resultPixels,minValue:B.minValue,maxValue:g.pixels.maxValue,noDataValue:D};return B.resultMask&&(C.maskData=B.resultMask),a.returnEncodedMask&&g.mask&&(C.encodedMaskData=g.mask.bitset?g.mask.bitset:null),a.returnFileInfo&&(C.fileInfo=d(g),a.computeUsedBitDepths&&(C.fileInfo.bitDepths=z(g))),C};var L=function(I,a,Q,g,D){var B=0,C=I.pixels.numBlocksX,o=I.pixels.numBlocksY,r=Math.floor(I.width/C),s=Math.floor(I.height/o),f=2*I.maxZError,e=Number.MAX_VALUE,i;Q=Q||(I.mask?I.mask.bitset:null);var t,F;t=new a(I.width*I.height),D&&Q&&(F=new Uint8Array(I.width*I.height));for(var S=new Float32Array(r*s),h,U,G=0;G<=o;G++){var R=G!==o?s:I.height%o;if(R!==0)for(var w=0;w<=C;w++){var n=w!==C?r:I.width%C;if(n!==0){var l=G*I.width*s+w*r,y=I.width-n,k=I.pixels.blocks[B],M,c,N;k.encoding<2?(k.encoding===0?M=k.rawData:(A(k.stuffedData,k.bitsPerPixel,k.numValidPixels,k.offset,f,S,I.pixels.maxValue),M=S),c=0):k.encoding===2?N=0:N=k.offset;var q;if(Q)for(U=0;U>3],q<<=l&7),h=0;h>3]),q&128?(F&&(F[l]=1),i=k.encoding<2?M[c++]:N,e=e>i?i:e,t[l++]=i):(F&&(F[l]=0),t[l++]=g),q<<=1;l+=y}else if(k.encoding<2)for(U=0;Ui?i:e,t[l++]=i;l+=y}else for(e=e>N?N:e,U=0;U0){var C=new Uint8Array(Math.ceil(g.width*g.height/8));B=new DataView(I,a,g.mask.numBytes);var o=B.getInt16(0,!0),r=2,s=0;do{if(o>0)for(;o--;)C[s++]=B.getUint8(r++);else{var f=B.getUint8(r++);for(o=-o;o--;)C[s++]=f}o=B.getInt16(r,!0),r+=2}while(r0?1:0),F=i+(g.height%i>0?1:0);g.pixels.blocks=new Array(t*F);for(var S=0,h=0;h3)throw"Invalid block encoding ("+w.encoding+")";if(w.encoding===2){a++;continue}if(n!==0&&n!==2){if(n>>=6,w.offsetType=n,n===2)w.offset=B.getInt8(1),G++;else if(n===1)w.offset=B.getInt16(1,!0),G+=2;else if(n===0)w.offset=B.getFloat32(1,!0),G+=4;else throw"Invalid block offset type";if(w.encoding===1)if(n=B.getUint8(G),G++,w.bitsPerPixel=n&63,n>>=6,w.numValidPixelsType=n,n===2)w.numValidPixels=B.getUint8(G),G++;else if(n===1)w.numValidPixels=B.getUint16(G,!0),G+=2;else if(n===0)w.numValidPixels=B.getUint32(G,!0),G+=4;else throw"Invalid valid pixel count type"}if(a+=G,w.encoding!==3){var l,y;if(w.encoding===0){var k=(g.pixels.numBytes-1)/4;if(k!==Math.floor(k))throw"uncompressed block has invalid length";l=new ArrayBuffer(k*4),y=new Uint8Array(l),y.set(new Uint8Array(I,a,k*4));var M=new Float32Array(l);w.rawData=M,a+=k*4}else if(w.encoding===1){var c=Math.ceil(w.numValidPixels*w.bitsPerPixel/8),N=Math.ceil(c/4);l=new ArrayBuffer(N*4),y=new Uint8Array(l),y.set(new Uint8Array(I,a,c)),w.stuffedData=new Uint32Array(l),a+=c}}}return g.eofOffset=a,g},A=function(I,a,Q,g,D,B,C){var o=(1<=a)e=i>>>f-a&o,f-=a;else{var S=a-f;e=(i&o)<>>f}B[s]=e=I?(f=e>>>s-I&C,s-=I):(i=I-s,f=(e&C)<>>s),A[r]=Q[f];else for(t=Math.ceil((B-g)/D),r=0;r=I?(f=e>>>s-I&C,s-=I):(i=I-s,f=(e&C)<>>s),A[r]=f=A?(s=f>>>r-A&D,r-=A):(o=A-r,s=(f&D)<>>r),e[C]=s=I?(e=i>>>f&C,s-=I,f+=I):(t=I-s,e=i>>>f&C,i=E[o++],s=32-t,e|=(i&(1<=I?(e=i>>>f&C,s-=I,f+=I):(t=I-s,e=i>>>f&C,i=E[o++],s=32-t,e|=(i&(1<=A?(s=e>>>f&D,r-=A,f+=A):(o=A-r,s=e>>>f&D,e=E[B++],r=32-o,s|=(e&(1<=I?(C=o>>>B-I&Q,B-=I):(r=I-B,C=(o&Q)<>>B),A[D]=C;return A},originalUnstuff2:function(E,A,I,a){var Q=(1<=I?(o=r>>>C&Q,B-=I,C+=I):(s=I-B,o=r>>>C&Q,r=E[g++],B=32-s,o|=(r&(1<=359?359:Q;Q-=D;do A+=E[g++]<<8,I+=A+=E[g++];while(--D);A=(A&65535)+(A>>>16),I=(I&65535)+(I>>>16)}return a&1&&(I+=A+=E[g]<<8),A=(A&65535)+(A>>>16),I=(I&65535)+(I>>>16),(I<<16|A)>>>0},readHeaderInfo:function(E,A){var I=A.ptr,a=new Uint8Array(E,I,6),Q={};if(Q.fileIdentifierString=String.fromCharCode.apply(null,a),Q.fileIdentifierString.lastIndexOf("Lerc2",0)!==0)throw"Unexpected file identifier string (expect Lerc2 ): "+Q.fileIdentifierString;I+=6;var g=new DataView(E,I,8),D=g.getInt32(0,!0);Q.fileVersion=D,I+=4,D>=3&&(Q.checksum=g.getUint32(4,!0),I+=4),g=new DataView(E,I,12),Q.height=g.getUint32(0,!0),Q.width=g.getUint32(4,!0),I+=8,D>=4?(Q.numDims=g.getUint32(8,!0),I+=4):Q.numDims=1,g=new DataView(E,I,40),Q.numValidPixel=g.getUint32(0,!0),Q.microBlockSize=g.getInt32(4,!0),Q.blobSize=g.getInt32(8,!0),Q.imageType=g.getInt32(12,!0),Q.maxZError=g.getFloat64(16,!0),Q.zMin=g.getFloat64(24,!0),Q.zMax=g.getFloat64(32,!0),I+=40,A.headerInfo=Q,A.ptr=I;var B,C;if(D>=3&&(C=D>=4?52:48,B=this.computeChecksumFletcher32(new Uint8Array(E,I-C,Q.blobSize-14)),B!==Q.checksum))throw"Checksum failed.";return!0},checkMinMaxRanges:function(E,A){var I=A.headerInfo,a=this.getDataTypeArray(I.imageType),Q=I.numDims*this.getDataTypeSize(I.imageType),g=this.readSubArray(E,A.ptr,a,Q),D=this.readSubArray(E,A.ptr+Q,a,Q);A.ptr+=2*Q;var B,C=!0;for(B=0;B0){C=new Uint8Array(Math.ceil(Q/8)),D=new DataView(E,I,B.numBytes);var r=D.getInt16(0,!0),s=2,f=0,e=0;do{if(r>0)for(;r--;)C[f++]=D.getUint8(s++);else for(e=D.getUint8(s++),r=-r;r--;)C[f++]=e;r=D.getInt16(s,!0),s+=2}while(s>3],i<<=t&7):i=C[t>>3],i&128&&(o[t]=1);A.pixels.resultMask=o,B.bitset=C,I+=B.numBytes}return A.ptr=I,A.mask=B,!0},readDataOneSweep:function(E,A,I,a){var Q=A.ptr,g=A.headerInfo,D=g.numDims,B=g.width*g.height,C=g.imageType,o=g.numValidPixel*L.getDataTypeSize(C)*D,r,s=A.pixels.resultMask;if(I===Uint8Array)r=new Uint8Array(E,Q,o);else{var f=new ArrayBuffer(o),e=new Uint8Array(f);e.set(new Uint8Array(E,Q,o)),r=new I(f)}if(r.length===B*D)a?A.pixels.resultPixels=L.swapDimensionOrder(r,B,D,I,!0):A.pixels.resultPixels=r;else{A.pixels.resultPixels=new I(B*D);var i=0,t=0,F=0,S=0;if(D>1){if(a){for(t=0;t=B)return!1;var C=new Uint32Array(B-D);L.decodeBits(E,A,C);var o=[],r,s,f,e;for(r=D;r0&&(o[s].second=G<>>32-e,32-U>=e?(U+=e,U===32&&(U=0,R++,G=h[R])):(U+=e-32,R++,G=h[R],o[s].second|=G>>>32-U));var w=0,n=0,l=new d;for(r=0;r=I?n=I:n=w;var y=[],k,M,c,N,q,m;for(r=D;r0)if(k=[e,s],e<=n)for(M=o[s].second<=0;N--)q=M>>>N&1,q?(m.right||(m.right=new d),m=m.right):(m.left||(m.left=new d),m=m.left),N===0&&!m.val&&(m.val=k[1]);return{decodeLut:y,numBitsLUTQick:n,numBitsLUT:w,tree:l,stuffedData:h,srcPtr:R,bitPos:U}},readHuffman:function(E,A,I,a){var Q=A.headerInfo,g=Q.numDims,D=A.headerInfo.height,B=A.headerInfo.width,C=B*D,o=this.readHuffmanTree(E,A),r=o.decodeLut,s=o.tree,f=o.stuffedData,e=o.srcPtr,i=o.bitPos,t=o.numBitsLUTQick,F=o.numBitsLUT,S=A.headerInfo.imageType===0?128:0,h,U,G,R=A.pixels.resultMask,w,n,l,y,k,M,c,N=0;i>0&&(e++,i=0);var q=f[e],m=A.encodeMode===1,O=new I(C*g),v=O,Y;if(g<2||m){for(Y=0;Y1&&(v=new I(O.buffer,C*Y,C),N=0),A.headerInfo.numValidPixel===B*D)for(M=0,y=0;y>>32-t,n=w,32-i>>64-i-t,n=w),r[n])U=r[n][1],i+=r[n][0];else for(w=q<>>32-F,n=w,32-i>>64-i-F,n=w),h=s,c=0;c>>F-c-1&1,h=l?h.right:h.left,!(h.left||h.right)){U=h.val,i=i+c+1;break}i>=32&&(i-=32,e++,q=f[e]),G=U-S,m?(k>0?G+=N:y>0?G+=v[M-B]:G+=N,G&=255,v[M]=G,N=G):v[M]=G}else for(M=0,y=0;y>>32-t,n=w,32-i>>64-i-t,n=w),r[n])U=r[n][1],i+=r[n][0];else for(w=q<>>32-F,n=w,32-i>>64-i-F,n=w),h=s,c=0;c>>F-c-1&1,h=l?h.right:h.left,!(h.left||h.right)){U=h.val,i=i+c+1;break}i>=32&&(i-=32,e++,q=f[e]),G=U-S,m?(k>0&&R[M-1]?G+=N:y>0&&R[M-B]?G+=v[M-B]:G+=N,G&=255,v[M]=G,N=G):v[M]=G}}else for(M=0,y=0;y>>32-t,n=w,32-i>>64-i-t,n=w),r[n])U=r[n][1],i+=r[n][0];else for(w=q<>>32-F,n=w,32-i>>64-i-F,n=w),h=s,c=0;c>>F-c-1&1,h=l?h.right:h.left,!(h.left||h.right)){U=h.val,i=i+c+1;break}i>=32&&(i-=32,e++,q=f[e]),G=U-S,v[M]=G}A.ptr=A.ptr+(e+1)*4+(i>0?4:0),A.pixels.resultPixels=O,g>1&&!a&&(A.pixels.resultPixels=L.swapDimensionOrder(O,C,g,I))},decodeBits:function(E,A,I,a,Q){{var g=A.headerInfo,D=g.fileVersion,B=0,C=E.byteLength-A.ptr>=5?5:E.byteLength-A.ptr,o=new DataView(E,A.ptr,C),r=o.getUint8(0);B++;var s=r>>6,f=s===0?4:3-s,e=(r&32)>0,i=r&31,t=0;if(f===1)t=o.getUint8(B),B++;else if(f===2)t=o.getUint16(B,!0),B+=2;else if(f===4)t=o.getUint32(B,!0),B+=4;else throw"Invalid valid pixel count type";var F=2*g.maxZError,S,h,U,G,R,w,n,l,y,k=g.numDims>1?g.maxValues[Q]:g.zMax;if(e){for(A.counter.lut++,l=o.getUint8(B),B++,G=Math.ceil((l-1)*i/8),R=Math.ceil(G/4),h=new ArrayBuffer(R*4),U=new Uint8Array(h),A.ptr+=B,U.set(new Uint8Array(E,A.ptr,G)),n=new Uint32Array(h),A.ptr+=G,y=0;l-1>>>y;)y++;G=Math.ceil(t*y/8),R=Math.ceil(G/4),h=new ArrayBuffer(R*4),U=new Uint8Array(h),U.set(new Uint8Array(E,A.ptr,G)),S=new Uint32Array(h),A.ptr+=G,D>=3?w=u.unstuffLUT2(n,i,l-1,a,F,k):w=u.unstuffLUT(n,i,l-1,a,F,k),D>=3?u.unstuff2(S,I,y,t,w):u.unstuff(S,I,y,t,w)}else A.counter.bitstuffer++,y=i,A.ptr+=B,y>0&&(G=Math.ceil(t*y/8),R=Math.ceil(G/4),h=new ArrayBuffer(R*4),U=new Uint8Array(h),U.set(new Uint8Array(E,A.ptr,G)),S=new Uint32Array(h),A.ptr+=G,D>=3?a==null?u.originalUnstuff2(S,I,y,t):u.unstuff2(S,I,y,t,!1,a,F,k):a==null?u.originalUnstuff(S,I,y,t):u.unstuff(S,I,y,t,!1,a,F,k))}},readTiles:function(E,A,I,a){var Q=A.headerInfo,g=Q.width,D=Q.height,B=g*D,C=Q.microBlockSize,o=Q.imageType,r=L.getDataTypeSize(o),s=Math.ceil(g/C),f=Math.ceil(D/C);A.pixels.numBlocksY=f,A.pixels.numBlocksX=s,A.pixels.ptr=0;var e=0,i=0,t=0,F=0,S=0,h=0,U=0,G=0,R=0,w=0,n=0,l=0,y=0,k=0,M=0,c=0,N,q,m,O,v,Y,P=new I(C*C),aA=D%C||C,rA=g%C||C,AA,b,$=Q.numDims,W,K=A.pixels.resultMask,H=A.pixels.resultPixels,oA=Q.fileVersion,EA=oA>=5?14:15,p,IA=Q.zMax,V;for(t=0;t1?(V=H,n=t*g*C+F*C,H=new I(A.pixels.resultPixels.buffer,B*W*r,B),IA=Q.maxValues[W]):V=null,U=E.byteLength-A.ptr,N=new DataView(E,A.ptr,Math.min(10,U)),q={},c=0,G=N.getUint8(0),c++,p=Q.fileVersion>=5?G&4:0,R=G>>6&255,w=G>>2&EA,w!==(F*C>>3&EA)||p&&W===0)throw"integrity issue";if(Y=G&3,Y>3)throw A.ptr+=c,"Invalid block encoding ("+Y+")";if(Y===2){if(p)if(K)for(e=0;e1&&!a&&(A.pixels.resultPixels=L.swapDimensionOrder(A.pixels.resultPixels,B,$,I))},formatFileInfo:function(E){return{fileIdentifierString:E.headerInfo.fileIdentifierString,fileVersion:E.headerInfo.fileVersion,imageType:E.headerInfo.imageType,height:E.headerInfo.height,width:E.headerInfo.width,numValidPixel:E.headerInfo.numValidPixel,microBlockSize:E.headerInfo.microBlockSize,blobSize:E.headerInfo.blobSize,maxZError:E.headerInfo.maxZError,pixelType:L.getPixelType(E.headerInfo.imageType),eofOffset:E.eofOffset,mask:E.mask?{numBytes:E.mask.numBytes}:null,pixels:{numBlocksX:E.pixels.numBlocksX,numBlocksY:E.pixels.numBlocksY,maxValue:E.headerInfo.zMax,minValue:E.headerInfo.zMin,noDataValue:E.noDataValue}}},constructConstantSurface:function(E,A){var I=E.headerInfo.zMax,a=E.headerInfo.zMin,Q=E.headerInfo.maxValues,g=E.headerInfo.numDims,D=E.headerInfo.height*E.headerInfo.width,B=0,C=0,o=0,r=E.pixels.resultMask,s=E.pixels.resultPixels;if(r)if(g>1){if(A)for(B=0;B1&&a!==I)if(A)for(B=0;B=-128&&A<=127;break;case 1:I=A>=0&&A<=255;break;case 2:I=A>=-32768&&A<=32767;break;case 3:I=A>=0&&A<=65536;break;case 4:I=A>=-2147483648&&A<=2147483647;break;case 5:I=A>=0&&A<=4294967296;break;case 6:I=A>=-34027999387901484e22&&A<=34027999387901484e22;break;case 7:I=A>=-17976931348623157e292&&A<=17976931348623157e292;break;default:I=!1}return I},getDataTypeSize:function(E){var A=0;switch(E){case 0:case 1:A=1;break;case 2:case 3:A=2;break;case 4:case 5:case 6:A=4;break;case 7:A=8;break;default:A=E}return A},getDataTypeUsed:function(E,A){var I=E;switch(E){case 2:case 4:I=E-A;break;case 3:case 5:I=E-2*A;break;case 6:A===0?I=E:A===1?I=2:I=1;break;case 7:A===0?I=E:I=E-2*A+1;break;default:I=E;break}return I},getOnePixel:function(E,A,I,a){var Q=0;switch(I){case 0:Q=a.getInt8(A);break;case 1:Q=a.getUint8(A);break;case 2:Q=a.getInt16(A,!0);break;case 3:Q=a.getUint16(A,!0);break;case 4:Q=a.getInt32(A,!0);break;case 5:Q=a.getUInt32(A,!0);break;case 6:Q=a.getFloat32(A,!0);break;case 7:Q=a.getFloat64(A,!0);break;default:throw"the decoder does not understand this pixel type"}return Q},swapDimensionOrder:function(E,A,I,a,Q){var g=0,D=0,B=0,C=0,o=E;if(I>1)if(o=new a(A*I),Q)for(g=0;g5)throw"unsupported lerc version 2."+D;L.readMask(E,Q),g.numValidPixel!==g.width*g.height&&!Q.pixels.resultMask&&(Q.pixels.resultMask=A.maskData);var C=g.width*g.height;Q.pixels.resultPixels=new B(C*g.numDims),Q.counter={onesweep:0,uncompressed:0,lut:0,bitstuffer:0,constant:0,constantoffset:0};var o=!A.returnPixelInterleavedDims;if(g.numValidPixel!==0)if(g.zMax===g.zMin)L.constructConstantSurface(Q,o);else if(D>=4&&L.checkMinMaxRanges(E,Q))L.constructConstantSurface(Q,o);else{var r=new DataView(E,Q.ptr,2),s=r.getUint8(0);if(Q.ptr++,s)L.readDataOneSweep(E,Q,B,o);else if(D>1&&g.imageType<=1&&Math.abs(g.maxZError-.5)<1e-5){var f=r.getUint8(1);if(Q.ptr++,Q.encodeMode=f,f>2||D<4&&f>1)throw"Invalid Huffman flag "+f;f?L.readHuffman(E,Q,B,o):L.readTiles(E,Q,B,o)}else L.readTiles(E,Q,B,o)}Q.eofOffset=Q.ptr;var e;A.inputOffset?(e=Q.headerInfo.blobSize+A.inputOffset-Q.ptr,Math.abs(e)>=1&&(Q.eofOffset=A.inputOffset+Q.headerInfo.blobSize)):(e=Q.headerInfo.blobSize-Q.ptr,Math.abs(e)>=1&&(Q.eofOffset=Q.headerInfo.blobSize));var i={width:g.width,height:g.height,pixelData:Q.pixels.resultPixels,minValue:g.zMin,maxValue:g.zMax,validPixelCount:g.numValidPixel,dimCount:g.numDims,dimStats:{minValues:g.minValues,maxValues:g.maxValues},maskData:Q.pixels.resultMask};if(Q.pixels.resultMask&&L.isValidPixelValue(g.imageType,I)){var t=Q.pixels.resultMask;for(a=0;a1&&(C&&D.push(C),s.fileInfo.mask&&s.fileInfo.mask.numBytes>0&&r++),a++,o.pixels.push(s.pixelData),o.statistics.push({minValue:s.minValue,maxValue:s.maxValue,noDataValue:s.noDataValue,dimStats:s.dimStats})}var f,e,i;if(I>1&&r>1){for(i=o.width*o.height,o.bandMasks=D,C=new Uint8Array(i),C.set(D[0]),f=1;fJ.arrayBuffer()).then(J=>WebAssembly.instantiate(J,QA)).then(this._init):_=WebAssembly.instantiate(Buffer.from(eA,"base64"),QA).then(this._init),_)}_init(J){x=J.instance,QA.env.emscripten_notify_memory_growth(0)}decode(J,T=0){if(!x)throw new Error("ZSTDDecoder: Await .init() before decoding.");const Z=J.byteLength,X=x.exports.malloc(Z);CA.set(J,X),T=T||Number(x.exports.ZSTD_findDecompressedSize(X,Z));const u=x.exports.malloc(T),L=x.exports.ZSTD_decompress(u,T,X,Z),d=CA.slice(u,u+L);return x.exports.free(X),x.exports.free(u),d}}const eA="AGFzbQEAAAABpQEVYAF/AX9gAn9/AGADf39/AX9gBX9/f39/AX9gAX8AYAJ/fwF/YAR/f39/AX9gA39/fwBgBn9/f39/fwF/YAd/f39/f39/AX9gAn9/AX5gAn5+AX5gAABgBX9/f39/AGAGf39/f39/AGAIf39/f39/f38AYAl/f39/f39/f38AYAABf2AIf39/f39/f38Bf2ANf39/f39/f39/f39/fwF/YAF/AX4CJwEDZW52H2Vtc2NyaXB0ZW5fbm90aWZ5X21lbW9yeV9ncm93dGgABANpaAEFAAAFAgEFCwACAQABAgIFB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IAJqLQAAOgAAIAINAAsMAgsgAkEDTQ0AIAIhBANAIAMgASgCADYCACABQQRqIQEgA0EEaiEDIARBfGoiBEEDSw0ACyACQQNxIQILIAJFDQADQCADIAEtAAA6AAAgA0EBaiEDIAFBAWohASACQX9qIgINAAsLIAAL8wICAn8BfgJAIAJFDQAgACACaiIDQX9qIAE6AAAgACABOgAAIAJBA0kNACADQX5qIAE6AAAgACABOgABIANBfWogAToAACAAIAE6AAIgAkEHSQ0AIANBfGogAToAACAAIAE6AAMgAkEJSQ0AIABBACAAa0EDcSIEaiIDIAFB/wFxQYGChAhsIgE2AgAgAyACIARrQXxxIgRqIgJBfGogATYCACAEQQlJDQAgAyABNgIIIAMgATYCBCACQXhqIAE2AgAgAkF0aiABNgIAIARBGUkNACADIAE2AhggAyABNgIUIAMgATYCECADIAE2AgwgAkFwaiABNgIAIAJBbGogATYCACACQWhqIAE2AgAgAkFkaiABNgIAIAQgA0EEcUEYciIEayICQSBJDQAgAa0iBUIghiAFhCEFIAMgBGohAQNAIAEgBTcDGCABIAU3AxAgASAFNwMIIAEgBTcDACABQSBqIQEgAkFgaiICQR9LDQALCyAACy8BAn8gACgCBCAAKAIAQQJ0aiICLQACIQMgACACLwEAIAEgAi0AAxAIajYCACADCy8BAn8gACgCBCAAKAIAQQJ0aiICLQACIQMgACACLwEAIAEgAi0AAxAFajYCACADCx8AIAAgASACKAIEEAg2AgAgARAEGiAAIAJBCGo2AgQLCAAgAGdBH3MLugUBDX8jAEEQayIKJAACfyAEQQNNBEAgCkEANgIMIApBDGogAyAEEAsaIAAgASACIApBDGpBBBAVIgBBbCAAEAMbIAAgACAESxsMAQsgAEEAIAEoAgBBAXRBAmoQECENQVQgAygAACIGQQ9xIgBBCksNABogAiAAQQVqNgIAIAMgBGoiAkF8aiEMIAJBeWohDiACQXtqIRAgAEEGaiELQQQhBSAGQQR2IQRBICAAdCIAQQFyIQkgASgCACEPQQAhAiADIQYCQANAIAlBAkggAiAPS3JFBEAgAiEHAkA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gAkEIaiECIABBCGoiACABSQ0ACwwFCyAAIAFLBEAgACEBDAQLIARBAUcgACACa0EPSnINASAAIQMgAiEEA0AgAyAEEAwgBEEIaiEEIANBCGoiAyABSQ0ACwwCCwNAIAAgAhAHIAJBEGohAiAAQRBqIgAgAUkNAAsMAwsgACEDIAIhBANAIAMgBBAHIARBEGohBCADQRBqIgMgAUkNAAsLIAIgASAAa2ohAgsDQCABIAVPDQEgASACLQAAOgAAIAFBAWohASACQQFqIQIMAAALAAsLQQECfyAAIAAoArjgASIDNgLE4AEgACgCvOABIQQgACABNgK84AEgACABIAJqNgK44AEgACABIAQgA2tqNgLA4AELpgEBAX8gACAAKALs4QEQFjYCyOABIABCADcD+OABIABCADcDuOABIABBwOABakIANwMAIABBqNAAaiIBQYyAgOAANgIAIABBADYCmOIBIABCADcDiOEBIABCAzcDgOEBIABBrNABakHgEikCADcCACAAQbTQAWpB6BIoAgA2AgAgACABNgIMIAAgAEGYIGo2AgggACAAQaAwajYCBCAAIABBEGo2AgALYQEBf0G4fyEDAkAgAUEDSQ0AIAIgABAhIgFBA3YiADYCCCACIAFBAXE2AgQgAiABQQF2QQNxIgM2AgACQCADQX9qIgFBAksNAAJAIAFBAWsOAgEAAgtBbA8LIAAhAwsgAwsMACAAIAEgAkEAEC4LiAQCA38CfiADEBYhBCAAQQBBKBAQIQAgBCACSwRAIAQPCyABRQRAQX8PCwJAAkAgA0EBRg0AIAEoAAAiBkGo6r5pRg0AQXYhAyAGQXBxQdDUtMIBRw0BQQghAyACQQhJDQEgAEEAQSgQECEAIAEoAAQhASAAQQE2AhQgACABrTcDAEEADwsgASACIAMQLyIDIAJLDQAgACADNgIYQXIhAyABIARqIgVBf2otAAAiAkEIcQ0AIAJBIHEiBkUEQEFwIQMgBS0AACIFQacBSw0BIAVBB3GtQgEgBUEDdkEKaq2GIgdCA4h+IAd8IQggBEEBaiEECyACQQZ2IQMgAkECdiEFAkAgAkEDcUF/aiICQQJLBEBBACECDAELAkACQAJAIAJB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AIMRQ0ACyAEKAI4BEAgAkEDTQRAIABBuH8QGgwCCyADQQRqIQMLIAQoAighAiAEKQMYIQcgAEEANgIEIAAgAyABazYCACAAIAIgBmytIAcgB0J/URs3AwgLIARBQGskAAslAQF/IwBBEGsiAiQAIAIgACABEFEgAigCACEAIAJBEGokACAAC30BBH8jAEGQBGsiBCQAIARB/wE2AggCQCAEQRBqIARBCGogBEEMaiABIAIQFSIGEAMEQCAGIQUMAQtBVCEFIAQoAgwiB0EGSw0AIAMgBEEQaiAEKAIIIAcQQSIFEAMNACAAIAEgBmogAiAGayADEDwhBQsgBEGQBGokACAFC4cBAgJ/An5BABAWIQMCQANAIAEgA08EQAJAIAAoAABBcHFB0NS0wgFGBEAgACABECIiAhADRQ0BQn4PCyAAIAEQVSIEQn1WDQMgBCAFfCIFIARUIQJCfiEEIAINAyAAIAEQUiICEAMNAwsgASACayEBIAAgAmohAAwBCwtCfiAFIAEbIQQLIAQLPwIBfwF+IwBBMGsiAiQAAn5CfiACQQhqIAAgARAtDQAaQgAgAigCHEEBRg0AGiACKQMICyEDIAJBMGokACADC40BAQJ/IwBBMGsiASQAAkAgAEUNACAAKAKI4gENACABIABB/OEBaigCADYCKCABIAApAvThATcDICAAEDAgACgCqOIBIQIgASABKAIoNgIYIAEgASkDIDcDECACIAFBEGoQGyAAQQA2AqjiASABIAEoAig2AgggASABKQMgNwMAIAAgARAbCyABQTBqJAALKgECfyMAQRBrIgAkACAAQQA2AgggAEIANwMAIAAQWCEBIABBEGokACABC4cBAQN/IwBBEGsiAiQAAkAgACgCAEUgACgCBEVzDQAgAiAAKAIINgIIIAIgACkCADcDAAJ/IAIoAgAiAQRAIAIoAghBqOMJIAERBQAMAQtBqOMJECgLIgFFDQAgASAAKQIANwL04QEgAUH84QFqIAAoAgg2AgAgARBZIAEhAwsgAkEQaiQAIAMLywEBAn8jAEEgayIBJAAgAEGBgIDAADYCtOIBIABBADYCiOIBIABBADYC7OEBIABCADcDkOIBIABBADYCpOMJIABBADYC3OIBIABCADcCzOIBIABBADYCvOIBIABBADYCxOABIABCADcCnOIBIABBpOIBakIANwIAIABBrOIBakEANgIAIAFCADcCECABQgA3AhggASABKQMYNwMIIAEgASkDEDcDACABKAIIQQh2QQFxIQIgAEEANgLg4gEgACACNgKM4gEgAUEgaiQAC3YBA38jAEEwayIBJAAgAARAIAEgAEHE0AFqIgIoAgA2AiggASAAKQK80AE3AyAgACgCACEDIAEgAigCADYCGCABIAApArzQATcDECADIAFBEGoQGyABIAEoAig2AgggASABKQMgNwMAIAAgARAbCyABQTBqJAALzAEBAX8gACABKAK00AE2ApjiASAAIAEoAgQiAjYCwOABIAAgAjYCvOABIAAgAiABKAIIaiICNgK44AEgACACNgLE4AEgASgCuNABBEAgAEKBgICAEDcDiOEBIAAgAUGk0ABqNgIMIAAgAUGUIGo2AgggACABQZwwajYCBCAAIAFBDGo2AgAgAEGs0AFqIAFBqNABaigCADYCACAAQbDQAWogAUGs0AFqKAIANgIAIABBtNABaiABQbDQAWooAgA2AgAPCyAAQgA3A4jhAQs7ACACRQRAQbp/DwsgBEUEQEFsDwsgAiAEEGAEQCAAIAEgAiADIAQgBRBhDwsgACABIAIgAyAEIAUQZQtGAQF/IwBBEGsiBSQAIAVBCGogBBAOAn8gBS0ACQRAIAAgASACIAMgBBAyDAELIAAgASACIAMgBBA0CyEAIAVBEGokACAACzQAIAAgAyAEIAUQNiIFEAMEQCAFDwsgBSAESQR/IAEgAiADIAVqIAQgBWsgABA1BUG4fwsLRgEBfyMAQRBrIgUkACAFQQhqIAQQDgJ/IAUtAAkEQCAAIAEgAiADIAQQYgwBCyAAIAEgAiADIAQQNQshACAFQRBqJAAgAAtZAQF/QQ8hAiABIABJBEAgAUEEdCAAbiECCyAAQQh2IgEgAkEYbCIAQYwIaigCAGwgAEGICGooAgBqIgJBA3YgAmogAEGACGooAgAgAEGECGooAgAgAWxqSQs3ACAAIAMgBCAFQYAQEDMiBRADBEAgBQ8LIAUgBEkEfyABIAIgAyAFaiAE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AAAABh8AAAAAAAAGIgAAAAAAAQYlAAAAAAABBikAAAAAAAIGLwAAAAAAAwY7AAAAAAAEBlMAAAAAAAcGgwAAAAAACQYDAgAAEAAABAQAAAAAAAAEBQAAACAAAAUGAAAAAAAABQcAAAAgAAAFCQAAAAAAAAUKAAAAAAAABgwAAAAAAAAGDwAAAAAAAAYSAAAAAAAABhUAAAAAAAAGGAAAAAAAAAYbAAAAAAAABh4AAAAAAAAGIQAAAAAAAQYjAAAAAAABBicAAAAAAAIGKwAAAAAAAwYzAAAAAAAEBkMAAAAAAAUGYwAAAAAACAYDAQAAIAAABAQAAAAwAAAEBAAAABAAAAQFAAAAIAAABQcAAAAgAAAFCAAAACAAAAUKAAAAIAAABQsAAAAAAAAGDgAAAAAAAAYRAAAAAAAABhQAAAAAAAAGFwAAAAAAAAYaAAAAAAAABh0AAAAAAAAGIAAAAAAAEAYDAAEAAAAPBgOAAAAAAA4GA0AAAAAADQYDIAAAAAAMBgMQAAAAAAsGAwgAAAAACgYDBABBpB0L2QEBAAAAAwAAAAcAAAAPAAAAHwAAAD8AAAB/AAAA/wAAAP8BAAD/AwAA/wcAAP8PAAD/HwAA/z8AAP9/AAD//wAA//8BAP//AwD//wcA//8PAP//HwD//z8A//9/AP///wD///8B////A////wf///8P////H////z////9/AAAAAAEAAAACAAAABAAAAAAAAAACAAAABAAAAAgAAAAAAAAAAQAAAAIAAAABAAAABAAAAAQAAAAEAAAABAAAAAgAAAAIAAAACAAAAAcAAAAIAAAACQAAAAoAAAALAEGgIAsDwBBQ",FA=new GA;class YA extends nA{constructor(J){super(),this.planarConfiguration=typeof J.PlanarConfiguration<"u"?J.PlanarConfiguration:1,this.samplesPerPixel=typeof J.SamplesPerPixel<"u"?J.SamplesPerPixel:1,this.addCompression=J.LercParameters[fA.AddCompression]}decodeBlock(J){switch(this.addCompression){case gA.None:break;case gA.Deflate:J=sA(new Uint8Array(J)).buffer;break;case gA.Zstandard:J=FA.decode(new Uint8Array(J)).buffer;break;default:throw new Error(`Unsupported LERC additional compression method identifier: ${this.addCompression}`)}return hA.decode(J,{returnPixelInterleavedDims:this.planarConfiguration===1}).pixels[0].buffer}}export{YA as default,FA as zstd}; +import{i as sA}from"./pako.esm-CPws4d4z.js";import{g as DA}from"./index-DuuuSFPv.js";import{B as nA}from"./basedecoder-DvumDe3Y.js";import{L as fA,a as gA}from"./preview-DXIyYOjp.js";import"./chunk-L4EGOTBX-BALMY2cf.js";import"./entry-preview-BErytJoa.js";import"./lit-element-Dh4_iwrW.js";import"./index-DrFu-skq.js";import"./index-Ca-YMdQn.js";import"./index-9geMTWX-.js";import"./iframe-CR1vRkAE.js";import"./index-DPS9-N-h.js";import"./directive-DUGPADuw.js";import"./main-CHQ92JtU.js";import"./core-C4kcdPvA.js";var BA={exports:{}},iA;function tA(){return iA||(iA=1,function(j){/* Copyright 2015-2021 Esri. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 @preserve */(function(){var J=function(){var u={};u.defaultNoDataValue=-34027999387901484e22,u.decode=function(I,a){a=a||{};var Q=a.encodedMaskData||a.encodedMaskData===null,g=E(I,a.inputOffset||0,Q),D=a.noDataValue!==null?a.noDataValue:u.defaultNoDataValue,B=L(g,a.pixelType||Float32Array,a.encodedMaskData,D,a.returnMask),C={width:g.width,height:g.height,pixelData:B.resultPixels,minValue:B.minValue,maxValue:g.pixels.maxValue,noDataValue:D};return B.resultMask&&(C.maskData=B.resultMask),a.returnEncodedMask&&g.mask&&(C.encodedMaskData=g.mask.bitset?g.mask.bitset:null),a.returnFileInfo&&(C.fileInfo=d(g),a.computeUsedBitDepths&&(C.fileInfo.bitDepths=z(g))),C};var L=function(I,a,Q,g,D){var B=0,C=I.pixels.numBlocksX,o=I.pixels.numBlocksY,r=Math.floor(I.width/C),s=Math.floor(I.height/o),f=2*I.maxZError,e=Number.MAX_VALUE,i;Q=Q||(I.mask?I.mask.bitset:null);var t,F;t=new a(I.width*I.height),D&&Q&&(F=new Uint8Array(I.width*I.height));for(var S=new Float32Array(r*s),h,U,G=0;G<=o;G++){var R=G!==o?s:I.height%o;if(R!==0)for(var w=0;w<=C;w++){var n=w!==C?r:I.width%C;if(n!==0){var l=G*I.width*s+w*r,y=I.width-n,k=I.pixels.blocks[B],M,c,N;k.encoding<2?(k.encoding===0?M=k.rawData:(A(k.stuffedData,k.bitsPerPixel,k.numValidPixels,k.offset,f,S,I.pixels.maxValue),M=S),c=0):k.encoding===2?N=0:N=k.offset;var q;if(Q)for(U=0;U>3],q<<=l&7),h=0;h>3]),q&128?(F&&(F[l]=1),i=k.encoding<2?M[c++]:N,e=e>i?i:e,t[l++]=i):(F&&(F[l]=0),t[l++]=g),q<<=1;l+=y}else if(k.encoding<2)for(U=0;Ui?i:e,t[l++]=i;l+=y}else for(e=e>N?N:e,U=0;U0){var C=new Uint8Array(Math.ceil(g.width*g.height/8));B=new DataView(I,a,g.mask.numBytes);var o=B.getInt16(0,!0),r=2,s=0;do{if(o>0)for(;o--;)C[s++]=B.getUint8(r++);else{var f=B.getUint8(r++);for(o=-o;o--;)C[s++]=f}o=B.getInt16(r,!0),r+=2}while(r0?1:0),F=i+(g.height%i>0?1:0);g.pixels.blocks=new Array(t*F);for(var S=0,h=0;h3)throw"Invalid block encoding ("+w.encoding+")";if(w.encoding===2){a++;continue}if(n!==0&&n!==2){if(n>>=6,w.offsetType=n,n===2)w.offset=B.getInt8(1),G++;else if(n===1)w.offset=B.getInt16(1,!0),G+=2;else if(n===0)w.offset=B.getFloat32(1,!0),G+=4;else throw"Invalid block offset type";if(w.encoding===1)if(n=B.getUint8(G),G++,w.bitsPerPixel=n&63,n>>=6,w.numValidPixelsType=n,n===2)w.numValidPixels=B.getUint8(G),G++;else if(n===1)w.numValidPixels=B.getUint16(G,!0),G+=2;else if(n===0)w.numValidPixels=B.getUint32(G,!0),G+=4;else throw"Invalid valid pixel count type"}if(a+=G,w.encoding!==3){var l,y;if(w.encoding===0){var k=(g.pixels.numBytes-1)/4;if(k!==Math.floor(k))throw"uncompressed block has invalid length";l=new ArrayBuffer(k*4),y=new Uint8Array(l),y.set(new Uint8Array(I,a,k*4));var M=new Float32Array(l);w.rawData=M,a+=k*4}else if(w.encoding===1){var c=Math.ceil(w.numValidPixels*w.bitsPerPixel/8),N=Math.ceil(c/4);l=new ArrayBuffer(N*4),y=new Uint8Array(l),y.set(new Uint8Array(I,a,c)),w.stuffedData=new Uint32Array(l),a+=c}}}return g.eofOffset=a,g},A=function(I,a,Q,g,D,B,C){var o=(1<=a)e=i>>>f-a&o,f-=a;else{var S=a-f;e=(i&o)<>>f}B[s]=e=I?(f=e>>>s-I&C,s-=I):(i=I-s,f=(e&C)<>>s),A[r]=Q[f];else for(t=Math.ceil((B-g)/D),r=0;r=I?(f=e>>>s-I&C,s-=I):(i=I-s,f=(e&C)<>>s),A[r]=f=A?(s=f>>>r-A&D,r-=A):(o=A-r,s=(f&D)<>>r),e[C]=s=I?(e=i>>>f&C,s-=I,f+=I):(t=I-s,e=i>>>f&C,i=E[o++],s=32-t,e|=(i&(1<=I?(e=i>>>f&C,s-=I,f+=I):(t=I-s,e=i>>>f&C,i=E[o++],s=32-t,e|=(i&(1<=A?(s=e>>>f&D,r-=A,f+=A):(o=A-r,s=e>>>f&D,e=E[B++],r=32-o,s|=(e&(1<=I?(C=o>>>B-I&Q,B-=I):(r=I-B,C=(o&Q)<>>B),A[D]=C;return A},originalUnstuff2:function(E,A,I,a){var Q=(1<=I?(o=r>>>C&Q,B-=I,C+=I):(s=I-B,o=r>>>C&Q,r=E[g++],B=32-s,o|=(r&(1<=359?359:Q;Q-=D;do A+=E[g++]<<8,I+=A+=E[g++];while(--D);A=(A&65535)+(A>>>16),I=(I&65535)+(I>>>16)}return a&1&&(I+=A+=E[g]<<8),A=(A&65535)+(A>>>16),I=(I&65535)+(I>>>16),(I<<16|A)>>>0},readHeaderInfo:function(E,A){var I=A.ptr,a=new Uint8Array(E,I,6),Q={};if(Q.fileIdentifierString=String.fromCharCode.apply(null,a),Q.fileIdentifierString.lastIndexOf("Lerc2",0)!==0)throw"Unexpected file identifier string (expect Lerc2 ): "+Q.fileIdentifierString;I+=6;var g=new DataView(E,I,8),D=g.getInt32(0,!0);Q.fileVersion=D,I+=4,D>=3&&(Q.checksum=g.getUint32(4,!0),I+=4),g=new DataView(E,I,12),Q.height=g.getUint32(0,!0),Q.width=g.getUint32(4,!0),I+=8,D>=4?(Q.numDims=g.getUint32(8,!0),I+=4):Q.numDims=1,g=new DataView(E,I,40),Q.numValidPixel=g.getUint32(0,!0),Q.microBlockSize=g.getInt32(4,!0),Q.blobSize=g.getInt32(8,!0),Q.imageType=g.getInt32(12,!0),Q.maxZError=g.getFloat64(16,!0),Q.zMin=g.getFloat64(24,!0),Q.zMax=g.getFloat64(32,!0),I+=40,A.headerInfo=Q,A.ptr=I;var B,C;if(D>=3&&(C=D>=4?52:48,B=this.computeChecksumFletcher32(new Uint8Array(E,I-C,Q.blobSize-14)),B!==Q.checksum))throw"Checksum failed.";return!0},checkMinMaxRanges:function(E,A){var I=A.headerInfo,a=this.getDataTypeArray(I.imageType),Q=I.numDims*this.getDataTypeSize(I.imageType),g=this.readSubArray(E,A.ptr,a,Q),D=this.readSubArray(E,A.ptr+Q,a,Q);A.ptr+=2*Q;var B,C=!0;for(B=0;B0){C=new Uint8Array(Math.ceil(Q/8)),D=new DataView(E,I,B.numBytes);var r=D.getInt16(0,!0),s=2,f=0,e=0;do{if(r>0)for(;r--;)C[f++]=D.getUint8(s++);else for(e=D.getUint8(s++),r=-r;r--;)C[f++]=e;r=D.getInt16(s,!0),s+=2}while(s>3],i<<=t&7):i=C[t>>3],i&128&&(o[t]=1);A.pixels.resultMask=o,B.bitset=C,I+=B.numBytes}return A.ptr=I,A.mask=B,!0},readDataOneSweep:function(E,A,I,a){var Q=A.ptr,g=A.headerInfo,D=g.numDims,B=g.width*g.height,C=g.imageType,o=g.numValidPixel*L.getDataTypeSize(C)*D,r,s=A.pixels.resultMask;if(I===Uint8Array)r=new Uint8Array(E,Q,o);else{var f=new ArrayBuffer(o),e=new Uint8Array(f);e.set(new Uint8Array(E,Q,o)),r=new I(f)}if(r.length===B*D)a?A.pixels.resultPixels=L.swapDimensionOrder(r,B,D,I,!0):A.pixels.resultPixels=r;else{A.pixels.resultPixels=new I(B*D);var i=0,t=0,F=0,S=0;if(D>1){if(a){for(t=0;t=B)return!1;var C=new Uint32Array(B-D);L.decodeBits(E,A,C);var o=[],r,s,f,e;for(r=D;r0&&(o[s].second=G<>>32-e,32-U>=e?(U+=e,U===32&&(U=0,R++,G=h[R])):(U+=e-32,R++,G=h[R],o[s].second|=G>>>32-U));var w=0,n=0,l=new d;for(r=0;r=I?n=I:n=w;var y=[],k,M,c,N,q,m;for(r=D;r0)if(k=[e,s],e<=n)for(M=o[s].second<=0;N--)q=M>>>N&1,q?(m.right||(m.right=new d),m=m.right):(m.left||(m.left=new d),m=m.left),N===0&&!m.val&&(m.val=k[1]);return{decodeLut:y,numBitsLUTQick:n,numBitsLUT:w,tree:l,stuffedData:h,srcPtr:R,bitPos:U}},readHuffman:function(E,A,I,a){var Q=A.headerInfo,g=Q.numDims,D=A.headerInfo.height,B=A.headerInfo.width,C=B*D,o=this.readHuffmanTree(E,A),r=o.decodeLut,s=o.tree,f=o.stuffedData,e=o.srcPtr,i=o.bitPos,t=o.numBitsLUTQick,F=o.numBitsLUT,S=A.headerInfo.imageType===0?128:0,h,U,G,R=A.pixels.resultMask,w,n,l,y,k,M,c,N=0;i>0&&(e++,i=0);var q=f[e],m=A.encodeMode===1,O=new I(C*g),v=O,Y;if(g<2||m){for(Y=0;Y1&&(v=new I(O.buffer,C*Y,C),N=0),A.headerInfo.numValidPixel===B*D)for(M=0,y=0;y>>32-t,n=w,32-i>>64-i-t,n=w),r[n])U=r[n][1],i+=r[n][0];else for(w=q<>>32-F,n=w,32-i>>64-i-F,n=w),h=s,c=0;c>>F-c-1&1,h=l?h.right:h.left,!(h.left||h.right)){U=h.val,i=i+c+1;break}i>=32&&(i-=32,e++,q=f[e]),G=U-S,m?(k>0?G+=N:y>0?G+=v[M-B]:G+=N,G&=255,v[M]=G,N=G):v[M]=G}else for(M=0,y=0;y>>32-t,n=w,32-i>>64-i-t,n=w),r[n])U=r[n][1],i+=r[n][0];else for(w=q<>>32-F,n=w,32-i>>64-i-F,n=w),h=s,c=0;c>>F-c-1&1,h=l?h.right:h.left,!(h.left||h.right)){U=h.val,i=i+c+1;break}i>=32&&(i-=32,e++,q=f[e]),G=U-S,m?(k>0&&R[M-1]?G+=N:y>0&&R[M-B]?G+=v[M-B]:G+=N,G&=255,v[M]=G,N=G):v[M]=G}}else for(M=0,y=0;y>>32-t,n=w,32-i>>64-i-t,n=w),r[n])U=r[n][1],i+=r[n][0];else for(w=q<>>32-F,n=w,32-i>>64-i-F,n=w),h=s,c=0;c>>F-c-1&1,h=l?h.right:h.left,!(h.left||h.right)){U=h.val,i=i+c+1;break}i>=32&&(i-=32,e++,q=f[e]),G=U-S,v[M]=G}A.ptr=A.ptr+(e+1)*4+(i>0?4:0),A.pixels.resultPixels=O,g>1&&!a&&(A.pixels.resultPixels=L.swapDimensionOrder(O,C,g,I))},decodeBits:function(E,A,I,a,Q){{var g=A.headerInfo,D=g.fileVersion,B=0,C=E.byteLength-A.ptr>=5?5:E.byteLength-A.ptr,o=new DataView(E,A.ptr,C),r=o.getUint8(0);B++;var s=r>>6,f=s===0?4:3-s,e=(r&32)>0,i=r&31,t=0;if(f===1)t=o.getUint8(B),B++;else if(f===2)t=o.getUint16(B,!0),B+=2;else if(f===4)t=o.getUint32(B,!0),B+=4;else throw"Invalid valid pixel count type";var F=2*g.maxZError,S,h,U,G,R,w,n,l,y,k=g.numDims>1?g.maxValues[Q]:g.zMax;if(e){for(A.counter.lut++,l=o.getUint8(B),B++,G=Math.ceil((l-1)*i/8),R=Math.ceil(G/4),h=new ArrayBuffer(R*4),U=new Uint8Array(h),A.ptr+=B,U.set(new Uint8Array(E,A.ptr,G)),n=new Uint32Array(h),A.ptr+=G,y=0;l-1>>>y;)y++;G=Math.ceil(t*y/8),R=Math.ceil(G/4),h=new ArrayBuffer(R*4),U=new Uint8Array(h),U.set(new Uint8Array(E,A.ptr,G)),S=new Uint32Array(h),A.ptr+=G,D>=3?w=u.unstuffLUT2(n,i,l-1,a,F,k):w=u.unstuffLUT(n,i,l-1,a,F,k),D>=3?u.unstuff2(S,I,y,t,w):u.unstuff(S,I,y,t,w)}else A.counter.bitstuffer++,y=i,A.ptr+=B,y>0&&(G=Math.ceil(t*y/8),R=Math.ceil(G/4),h=new ArrayBuffer(R*4),U=new Uint8Array(h),U.set(new Uint8Array(E,A.ptr,G)),S=new Uint32Array(h),A.ptr+=G,D>=3?a==null?u.originalUnstuff2(S,I,y,t):u.unstuff2(S,I,y,t,!1,a,F,k):a==null?u.originalUnstuff(S,I,y,t):u.unstuff(S,I,y,t,!1,a,F,k))}},readTiles:function(E,A,I,a){var Q=A.headerInfo,g=Q.width,D=Q.height,B=g*D,C=Q.microBlockSize,o=Q.imageType,r=L.getDataTypeSize(o),s=Math.ceil(g/C),f=Math.ceil(D/C);A.pixels.numBlocksY=f,A.pixels.numBlocksX=s,A.pixels.ptr=0;var e=0,i=0,t=0,F=0,S=0,h=0,U=0,G=0,R=0,w=0,n=0,l=0,y=0,k=0,M=0,c=0,N,q,m,O,v,Y,P=new I(C*C),aA=D%C||C,rA=g%C||C,AA,b,$=Q.numDims,W,K=A.pixels.resultMask,H=A.pixels.resultPixels,oA=Q.fileVersion,EA=oA>=5?14:15,p,IA=Q.zMax,V;for(t=0;t1?(V=H,n=t*g*C+F*C,H=new I(A.pixels.resultPixels.buffer,B*W*r,B),IA=Q.maxValues[W]):V=null,U=E.byteLength-A.ptr,N=new DataView(E,A.ptr,Math.min(10,U)),q={},c=0,G=N.getUint8(0),c++,p=Q.fileVersion>=5?G&4:0,R=G>>6&255,w=G>>2&EA,w!==(F*C>>3&EA)||p&&W===0)throw"integrity issue";if(Y=G&3,Y>3)throw A.ptr+=c,"Invalid block encoding ("+Y+")";if(Y===2){if(p)if(K)for(e=0;e1&&!a&&(A.pixels.resultPixels=L.swapDimensionOrder(A.pixels.resultPixels,B,$,I))},formatFileInfo:function(E){return{fileIdentifierString:E.headerInfo.fileIdentifierString,fileVersion:E.headerInfo.fileVersion,imageType:E.headerInfo.imageType,height:E.headerInfo.height,width:E.headerInfo.width,numValidPixel:E.headerInfo.numValidPixel,microBlockSize:E.headerInfo.microBlockSize,blobSize:E.headerInfo.blobSize,maxZError:E.headerInfo.maxZError,pixelType:L.getPixelType(E.headerInfo.imageType),eofOffset:E.eofOffset,mask:E.mask?{numBytes:E.mask.numBytes}:null,pixels:{numBlocksX:E.pixels.numBlocksX,numBlocksY:E.pixels.numBlocksY,maxValue:E.headerInfo.zMax,minValue:E.headerInfo.zMin,noDataValue:E.noDataValue}}},constructConstantSurface:function(E,A){var I=E.headerInfo.zMax,a=E.headerInfo.zMin,Q=E.headerInfo.maxValues,g=E.headerInfo.numDims,D=E.headerInfo.height*E.headerInfo.width,B=0,C=0,o=0,r=E.pixels.resultMask,s=E.pixels.resultPixels;if(r)if(g>1){if(A)for(B=0;B1&&a!==I)if(A)for(B=0;B=-128&&A<=127;break;case 1:I=A>=0&&A<=255;break;case 2:I=A>=-32768&&A<=32767;break;case 3:I=A>=0&&A<=65536;break;case 4:I=A>=-2147483648&&A<=2147483647;break;case 5:I=A>=0&&A<=4294967296;break;case 6:I=A>=-34027999387901484e22&&A<=34027999387901484e22;break;case 7:I=A>=-17976931348623157e292&&A<=17976931348623157e292;break;default:I=!1}return I},getDataTypeSize:function(E){var A=0;switch(E){case 0:case 1:A=1;break;case 2:case 3:A=2;break;case 4:case 5:case 6:A=4;break;case 7:A=8;break;default:A=E}return A},getDataTypeUsed:function(E,A){var I=E;switch(E){case 2:case 4:I=E-A;break;case 3:case 5:I=E-2*A;break;case 6:A===0?I=E:A===1?I=2:I=1;break;case 7:A===0?I=E:I=E-2*A+1;break;default:I=E;break}return I},getOnePixel:function(E,A,I,a){var Q=0;switch(I){case 0:Q=a.getInt8(A);break;case 1:Q=a.getUint8(A);break;case 2:Q=a.getInt16(A,!0);break;case 3:Q=a.getUint16(A,!0);break;case 4:Q=a.getInt32(A,!0);break;case 5:Q=a.getUInt32(A,!0);break;case 6:Q=a.getFloat32(A,!0);break;case 7:Q=a.getFloat64(A,!0);break;default:throw"the decoder does not understand this pixel type"}return Q},swapDimensionOrder:function(E,A,I,a,Q){var g=0,D=0,B=0,C=0,o=E;if(I>1)if(o=new a(A*I),Q)for(g=0;g5)throw"unsupported lerc version 2."+D;L.readMask(E,Q),g.numValidPixel!==g.width*g.height&&!Q.pixels.resultMask&&(Q.pixels.resultMask=A.maskData);var C=g.width*g.height;Q.pixels.resultPixels=new B(C*g.numDims),Q.counter={onesweep:0,uncompressed:0,lut:0,bitstuffer:0,constant:0,constantoffset:0};var o=!A.returnPixelInterleavedDims;if(g.numValidPixel!==0)if(g.zMax===g.zMin)L.constructConstantSurface(Q,o);else if(D>=4&&L.checkMinMaxRanges(E,Q))L.constructConstantSurface(Q,o);else{var r=new DataView(E,Q.ptr,2),s=r.getUint8(0);if(Q.ptr++,s)L.readDataOneSweep(E,Q,B,o);else if(D>1&&g.imageType<=1&&Math.abs(g.maxZError-.5)<1e-5){var f=r.getUint8(1);if(Q.ptr++,Q.encodeMode=f,f>2||D<4&&f>1)throw"Invalid Huffman flag "+f;f?L.readHuffman(E,Q,B,o):L.readTiles(E,Q,B,o)}else L.readTiles(E,Q,B,o)}Q.eofOffset=Q.ptr;var e;A.inputOffset?(e=Q.headerInfo.blobSize+A.inputOffset-Q.ptr,Math.abs(e)>=1&&(Q.eofOffset=A.inputOffset+Q.headerInfo.blobSize)):(e=Q.headerInfo.blobSize-Q.ptr,Math.abs(e)>=1&&(Q.eofOffset=Q.headerInfo.blobSize));var i={width:g.width,height:g.height,pixelData:Q.pixels.resultPixels,minValue:g.zMin,maxValue:g.zMax,validPixelCount:g.numValidPixel,dimCount:g.numDims,dimStats:{minValues:g.minValues,maxValues:g.maxValues},maskData:Q.pixels.resultMask};if(Q.pixels.resultMask&&L.isValidPixelValue(g.imageType,I)){var t=Q.pixels.resultMask;for(a=0;a1&&(C&&D.push(C),s.fileInfo.mask&&s.fileInfo.mask.numBytes>0&&r++),a++,o.pixels.push(s.pixelData),o.statistics.push({minValue:s.minValue,maxValue:s.maxValue,noDataValue:s.noDataValue,dimStats:s.dimStats})}var f,e,i;if(I>1&&r>1){for(i=o.width*o.height,o.bandMasks=D,C=new Uint8Array(i),C.set(D[0]),f=1;fJ.arrayBuffer()).then(J=>WebAssembly.instantiate(J,QA)).then(this._init):_=WebAssembly.instantiate(Buffer.from(eA,"base64"),QA).then(this._init),_)}_init(J){x=J.instance,QA.env.emscripten_notify_memory_growth(0)}decode(J,T=0){if(!x)throw new Error("ZSTDDecoder: Await .init() before decoding.");const Z=J.byteLength,X=x.exports.malloc(Z);CA.set(J,X),T=T||Number(x.exports.ZSTD_findDecompressedSize(X,Z));const u=x.exports.malloc(T),L=x.exports.ZSTD_decompress(u,T,X,Z),d=CA.slice(u,u+L);return x.exports.free(X),x.exports.free(u),d}}const eA="AGFzbQEAAAABpQEVYAF/AX9gAn9/AGADf39/AX9gBX9/f39/AX9gAX8AYAJ/fwF/YAR/f39/AX9gA39/fwBgBn9/f39/fwF/YAd/f39/f39/AX9gAn9/AX5gAn5+AX5gAABgBX9/f39/AGAGf39/f39/AGAIf39/f39/f38AYAl/f39/f39/f38AYAABf2AIf39/f39/f38Bf2ANf39/f39/f39/f39/fwF/YAF/AX4CJwEDZW52H2Vtc2NyaXB0ZW5fbm90aWZ5X21lbW9yeV9ncm93dGgABANpaAEFAAAFAgEFCwACAQABAgIFBQcAAwABDgsBAQcAEhMHAAUBDAQEAAANBwQCAgYCBAgDAwMDBgEACQkHBgICAAYGAgQUBwYGAwIGAAMCAQgBBwUGCgoEEQAEBAEIAwgDBQgDEA8IAAcABAUBcAECAgUEAQCAAgYJAX8BQaCg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INAAsLIAAL8wICAn8BfgJAIAJFDQAgACACaiIDQX9qIAE6AAAgACABOgAAIAJBA0kNACADQX5qIAE6AAAgACABOgABIANBfWogAToAACAAIAE6AAIgAkEHSQ0AIANBfGogAToAACAAIAE6AAMgAkEJSQ0AIABBACAAa0EDcSIEaiIDIAFB/wFxQYGChAhsIgE2AgAgAyACIARrQXxxIgRqIgJBfGogATYCACAEQQlJDQAgAyABNgIIIAMgATYCBCACQXhqIAE2AgAgAkF0aiABNgIAIARBGUkNACADIAE2AhggAyABNgIUIAMgATYCECADIAE2AgwgAkFwaiABNgIAIAJBbGogATYCACACQWhqIAE2AgAgAkFkaiABNgIAIAQgA0EEcUEYciIEayICQSBJDQAgAa0iBUIghiAFhCEFIAMgBGohAQNAIAEgBTcDGCABIAU3AxAgASAFNwMIIAEgBTcDACABQSBqIQEgAkFgaiICQR9LDQALCyAACy8BAn8gACgCBCAAKAIAQQJ0aiICLQACIQMgACACLwEAIAEgAi0AAxAIajYCACADCy8BAn8gACgCBCAAKAIAQQJ0aiICLQACIQMgACACLwEAIAEgAi0AAxAFajYCACADCx8AIAAgASACKAIEEAg2AgAgARAEGiAAIAJBCGo2AgQLCAAgAGdBH3MLugUBDX8jAEEQayIKJAACfyAEQQNNBEAgCkEANgIMIApBDGogAyAEEAsaIAAgASACIApBDGpBBBAVIgBBbCAAEAMbIAAgACAESxsMAQsgAEEAIAEoAgBBAXRBAmoQECENQVQgAygAACIGQQ9xIgBBCksNABogAiAAQQVqNgIAIAMgBGoiAkF8aiEMIAJBeWohDiACQXtqIRAgAEEGaiELQQQhBSAGQQR2IQRBICAAdCIAQQFyIQkgASgCACEPQQAhAiADIQYCQANAIAlBAkggAiAPS3JFBEAgAiEHAkAgCARAA0AgBEH//wNxQf//A0YEQCAHQRhqIQcgBiAQSQR/IAZBAmoiBigAACAFdgUgBUEQaiEFIARBEHYLIQQMAQsLA0AgBEEDcSIIQQNGBEAgBUECaiEFIARBAnYhBCAHQQNqIQcMAQsLIAcg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qIgAgAUkNAAsMAwsgACEDIAIhBANAIAMgBBAHIARBEGohBCADQRBqIgMgAUkNAAsLIAIgASAAa2ohAgsDQCABIAVPDQEgASACLQAAOgAAIAFBAWohASACQQFqIQIMAAALAAsLQQECfyAAIAAoArjgASIDNgLE4AEgACgCvOABIQQgACABNgK84AEgACABIAJqNgK44AEgACABIAQgA2tqNgLA4AELpgEBAX8gACAAKALs4QEQFjYCyOABIABCADcD+OABIABCADcDuOABIABBwOABakIANwMAIABBqNAAaiIBQYyAgOAANgIAIABBADYCmOIBIABCADcDiOEBIABCAzcDgOEBIABBrNABakHgEikCADcCACAAQbTQAWpB6BIoAgA2AgAgACABNgIMIAAgAEGYIGo2AgggACAAQaAwajYCBCAAIABBEGo2AgALYQEBf0G4fyEDAkAgAUEDSQ0AIAIgABAhIgFBA3YiADYCCCACIAFBAXE2AgQgAiABQQF2QQNxIgM2AgACQCADQX9qIgFBAksNAAJAIAFBAWsOAgEAAgtBbA8LIAAhAwsgAwsMACAAIAEgAkEAEC4LiAQCA38CfiADEBYhBCAAQQBBKBAQIQAgBCACSwRAIAQPCyABRQRAQX8PCwJAAkAgA0EBRg0AIAEoAAAiBkGo6r5pRg0AQXYhAyAGQXBxQdDUtMIBRw0BQQghAyACQQhJDQEgAEEAQSgQECEAIAEoAAQhASAAQQE2AhQgACABrTcDAEEADwsgASACIAMQLyIDIAJLDQAgACADNgIYQXIhAyABIARqIgVBf2otAAAiAkEIcQ0AIAJBIHEiBkUEQEFwIQMgBS0AACIFQacBSw0BIAVBB3GtQgEgBUEDdkEKaq2GIgdCA4h+IAd8IQggBEEBaiEECyACQQZ2IQMgAkECdiEFAkAgAkEDcUF/aiICQQJLBEBBACECDAELAkACQAJAIAJBAWsOAgECAAsgASAEai0AACECIARBAWohBAwCCyABIARqLwAAIQIgBEECaiEEDAELIAEgBGooAAAhAiAEQQRqIQQLIAVBAXEhBQJ+AkACQAJAIANBf2oiA0ECTQRAIANBAWsOAgIDAQtCfyAGRQ0DGi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kgCCAOa0sEQCAJIAggEWtLBEBBbCELDAILIBAgAiAOayICaiIKIANqIBBNBEAgCCAKIAMQDxoMAgsgCCAKQQAgAmsQDyEIIAcgAiADaiIDNgJkIAggAmshCCAOIQILIAlBEE8EQCADIAhqIQMDQCAIIAIQByACQRBqIQIgCEEQaiIIIANJDQALDAELAkAgCUEHTQRAIAggAi0AADoAACAIIAItAAE6AAEgCCACLQACOgACIAggAi0AAzoAAyAIQQRqIAIgCUECdCIDQcAeaigCAGoiAhAXIAIgA0HgHmooAgBrIQIgBygCZCEDDAELIAggAhAMCyADQQlJDQAgAyAIaiEDIAhBCGoiCCACQQhqIgJrQQ9MBEADQCAIIAIQDCACQQhqIQIgCEEIaiIIIANJDQAMAgALAAsDQCAIIAIQByACQRBqIQIgCEEQaiIIIANJDQALCyAHQRhqEAQaIAsgDCALEAMiAhshDCAEIAQgC2ogAhshBCAFQX9qIgUNAAsgDBADDQFBbCEMIAdBGGoQBEECSQ0BQQAhCANAIAhBA0cEQCAAIAhBAnQiAmpBrNABaiACIAdqKAJENgIAIAhBAWohCAwBCwsgBygCXCEIC0G6fyEMIA8gCGsiACANIARrSw0AIAQEfyAEIAggABALIABqBUEACyABayEMCyAHQfAAaiQAIAwLkRcCFn8FfiMAQdABayIHJAAgByAAKALw4QEiCDYCvAEgASACaiESIAggACgCgOIBaiETAkACQCAFRQRAIAEhAwwBCyAAKALE4AEhESAAKALA4AEhFSAAKAK84AEhDyAAQQE2AozhAUEAIQgDQCAIQQNHBEAgByAIQQJ0IgJqIAAgAmpBrNABaigCADYCVCAIQQFqIQgMAQsLIAcgETYCZCAHIA82AmAgByABIA9rNgJoQWwhECAHQShqIAMgBBAGEAMNASAFQQQgBUEESBshFyAHQTxqIAdBKGogACgCABATIAdBxABqIAdBKGogACgCCBATIAdBzABqIAdBKGogACgCBBATQQAhBCAHQeAAaiEMIAdB5ABqIQoDQCAHQShqEARBAksgBCAXTnJFBEAgBygCQCAHKAI8QQN0aikCACIdQhCIp0H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gEBADDQMgC0EBaiELIAMgEGohAwwBCwsDQCAEQQNHBEAgACAEQQJ0IgJqQazQAWogAiAHaigCVDYCACAEQQFqIQQMAQsLIAcoArwBIQgLQbp/IRAgEyAIayIAIBIgA2tLDQAgAwR/IAMgCCAAEAsgAGoFQQALIAFrIRALIAdB0AFqJAAgEAslACAAQgA3AgAgAEEAOwEIIABBADoACyAAIAE2AgwgACACOgAKC7QFAQN/IwBBMGsiBCQAIABB/wFqIgVBfWohBgJAIAMvAQIEQCAEQRhqIAEgAhAGIgIQAw0BIARBEGogBEEYaiADEBwgBEEIaiAEQRhqIAMQHCAAIQMDQAJAIARBGGoQBCADIAZPckUEQCADIARBEGogBEEYahASOgAAIAMgBEEIaiAEQRhqEBI6AAEgBEEYahAERQ0BIANBAmohAwsgBUF+aiEFAn8DQEG6fyECIAMiASAFSw0FIAEgBEEQaiAEQRhqEBI6AAAgAUEBaiEDIARBGGoQBEEDRgRAQQIhAiAEQQhqDAILIAMgBUsNBSABIARBCGogBEEYahASOgABIAFBAmohA0EDIQIgBEEYahAEQQNHDQALIARBEGoLIQUgAyAFIARBGGoQEjoAACABIAJqIABrIQIMAwsgAyAEQRBqIARBGGoQEjoAAiADIARBCGogBEEYahASOgADIANBBGohAwwAAAsACyAEQRhqIAEgAhAGIgIQAw0AIARBEGogBEEYaiADEBwgBEEIaiAEQRhqIAMQHCAAIQMDQAJAIARBGGoQBCADIAZPckUEQCADIARBEGogBEEYahAROgAAIAMgBEEIaiAEQRhqEBE6AAEgBEEYahAERQ0BIANBAmohAwsgBUF+aiEFAn8DQEG6fyECIAMiASAFSw0EIAEgBEEQaiAEQRhqEBE6AAAgAUEBaiEDIARBGGoQBEEDRgRAQQIhAiAEQQhqDAILIAMgBUsNBCABIARBCGogBEEYahAROgABIAFBAmohA0EDIQIgBEEYahAEQQNHDQALIARBEGoLIQUgAyAFIARBGGoQEToAACABIAJqIABrIQIMAgsgAyAEQRBqIARBGGoQEToAAiADIARBCGogBEEYahAROgADIAN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IgACABEFEgAigCACEAIAJBEGokACAAC30BBH8jAEGQBGsiBCQAIARB/wE2AggCQCAEQRBqIARBCGogBEEMaiABIAIQFSIGEAMEQCAGIQUMAQtBVCEFIAQoAgwiB0EGSw0AIAMgBEEQaiAEKAIIIAcQQSIFEAMNACAAIAEgBmogAiAGayADEDwhBQsgBEGQBGokACAFC4cBAgJ/An5BABAWIQMCQANAIAEgA08EQAJAIAAoAABBcHFB0NS0wgFGBEAgACABECIiAhADRQ0BQn4PCyAAIAEQVSIEQn1WDQMgBCAFfCIFIARUIQJCfiEEIAINAyAAIAEQUiICEAMNAwsgASACayEBIAAgAmohAAwBCwtCfiAFIAEbIQQLIAQLPwIBfwF+IwBBMGsiAiQAAn5CfiACQQhqIAAgARAtDQAaQgAgAigCHEEBRg0AGiACKQMICyEDIAJBMGokACADC40BAQJ/IwBBMGsiASQAAkAgAEUNACAAKAKI4gENACABIABB/OEBaigCADYCKCABIAApAvThATcDICAAEDAgACgCqOIBIQIgASABKAIoNgIYIAEgASkDIDcDECACIAFBEGoQGyAAQQA2AqjiASABIAEoAig2AgggASABKQMgNwMAIAAgARAbCyABQTBqJAALKgECfyMAQRBrIgAkACAAQQA2AgggAEIANwMAIAAQWCEBIABBEGokACABC4cBAQN/IwBBEGsiAiQAAkAgACgCAEUgACgCBEVzDQAgAiAAKAIINgIIIAIgACkCADcDAAJ/IAIoAgAiAQRAIAIoAghBqOMJIAERBQAMAQtBqOMJECgLIgFFDQAgASAAKQIANwL04QEgAUH84QFqIAAoAgg2AgAgARBZIAEhAwsgAkEQaiQAIAMLywEBAn8jAEEgayIBJAAgAEGBgIDAADYCtOIBIABBADYCiOIBIABBADYC7OEBIABCADcDkOIBIABBADYCpOMJIABBADYC3OIBIABCADcCzOIBIABBADYCvOIBIABBADYCxOABIABCADcCnOIBIABBpOIBakIANwIAIABBrOIBakEANgIAIAFCADcCECABQgA3AhggASABKQMYNwMIIAEgASkDEDcDACABKAIIQQh2QQFxIQIgAEEANgLg4gEg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CQAAAAAAAAUKAAAAAAAABgwAAAAAAAAGDwAAAAAAAAYSAAAAAAAABhUAAAAAAAAGGAAAAAAAAAYbAAAAAAAABh4AAAAAAAAGIQAAAAAAAQYjAAAAAAABBicAAAAAAAIGKwAAAAAAAwYzAAAAAAAEBkMAAAAAAAUGYwAAAAAACAYDAQAAIAAABAQAAAAwAAAEBAAAABAAAAQFAAAAIAAABQcAAAAgAAAFCAAAACAAAAUKAAAAIAAABQsAAAAAAAAGDgAAAAAAAAYRAAAAAAAABhQAAAAAAAAGFwAAAAAAAAYaAAAAAAAABh0AAAAAAAAGIAAAAAAAEAYDAAEAAAAPBgOAAAAAAA4GA0AAAAAADQYDIAAAAAAMBgMQAAAAAAsGAwgAAAAACgYDBABBpB0L2QEBAAAAAwAAAAcAAAAPAAAAHwAAAD8AAAB/AAAA/wAAAP8BAAD/AwAA/wcAAP8PAAD/HwAA/z8AAP9/AAD//wAA//8BAP//AwD//wcA//8PAP//HwD//z8A//9/AP///wD///8B////A////wf///8P////H////z////9/AAAAAAEAAAACAAAABAAAAAAAAAACAAAABAAAAAgAAAAAAAAAAQAAAAIAAAABAAAABAAAAAQAAAAEAAAABAAAAAgAAAAIAAAACAAAAAcAAAAIAAAACQAAAAoAAAALAEGgIAsDwBBQ",FA=new GA;class YA extends nA{constructor(J){super(),this.planarConfiguration=typeof J.PlanarConfiguration<"u"?J.PlanarConfiguration:1,this.samplesPerPixel=typeof J.SamplesPerPixel<"u"?J.SamplesPerPixel:1,this.addCompression=J.LercParameters[fA.AddCompression]}decodeBlock(J){switch(this.addCompression){case gA.None:break;case gA.Deflate:J=sA(new Uint8Array(J)).buffer;break;case gA.Zstandard:J=FA.decode(new Uint8Array(J)).buffer;break;default:throw new Error(`Unsupported LERC additional compression method identifier: ${this.addCompression}`)}return hA.decode(J,{returnPixelInterleavedDims:this.planarConfiguration===1}).pixels[0].buffer}}export{YA as default,FA as zstd}; diff --git a/assets/preview-pxzbaAGv.js b/assets/preview-Bpyaj9zU.js similarity index 63% rename from assets/preview-pxzbaAGv.js rename to assets/preview-Bpyaj9zU.js index b2c6f2777..e83059028 100644 --- a/assets/preview-pxzbaAGv.js +++ b/assets/preview-Bpyaj9zU.js @@ -1,2 +1,2 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DocsRenderer-CFRXHY34-C3sBenEi.js","./iframe-YBxBTXqz.js","./index-DuuuSFPv.js","./index-oEW8ocTu.js","./index-DPS9-N-h.js","./index-DrFu-skq.js"])))=>i.map(i=>d[i]); -import{_ as a}from"./iframe-YBxBTXqz.js";var s=Object.entries(globalThis.TAGS_OPTIONS??{}).reduce((e,r)=>{let[t,o]=r;return o.excludeFromDocsStories&&(e[t]=!0),e},{}),l={docs:{renderer:async()=>{let{DocsRenderer:e}=await a(()=>import("./DocsRenderer-CFRXHY34-C3sBenEi.js"),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url);return new e},stories:{filter:e=>{var r;return(e.tags||[]).filter(t=>s[t]).length===0&&!((r=e.parameters.docs)!=null&&r.disable)}}}};export{l as parameters}; +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DocsRenderer-CFRXHY34-BqYavBbx.js","./iframe-CR1vRkAE.js","./index-DuuuSFPv.js","./index-9geMTWX-.js","./index-DPS9-N-h.js","./index-DrFu-skq.js"])))=>i.map(i=>d[i]); +import{_ as a}from"./iframe-CR1vRkAE.js";var s=Object.entries(globalThis.TAGS_OPTIONS??{}).reduce((e,r)=>{let[t,o]=r;return o.excludeFromDocsStories&&(e[t]=!0),e},{}),l={docs:{renderer:async()=>{let{DocsRenderer:e}=await a(()=>import("./DocsRenderer-CFRXHY34-BqYavBbx.js"),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url);return new e},stories:{filter:e=>{var r;return(e.tags||[]).filter(t=>s[t]).length===0&&!((r=e.parameters.docs)!=null&&r.disable)}}}};export{l as parameters}; diff --git a/assets/preview--v8B2K_6.js b/assets/preview-DXIyYOjp.js similarity index 99% rename from assets/preview--v8B2K_6.js rename to assets/preview-DXIyYOjp.js index f8dbe86e4..f52899734 100644 --- a/assets/preview--v8B2K_6.js +++ b/assets/preview-DXIyYOjp.js @@ -1,5 +1,5 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./raw-Dt1HMqYc.js","./basedecoder-DvumDe3Y.js","./lzw-DpvbRwG5.js","./jpeg-CdeCw_eT.js","./deflate-CUkHh1nh.js","./pako.esm-CPws4d4z.js","./packbits-DQnG8s9w.js","./lerc--OnEzsnw.js","./index-DuuuSFPv.js","./chunk-L4EGOTBX-BALMY2cf.js","./entry-preview-BErytJoa.js","./lit-element-Dh4_iwrW.js","./index-DrFu-skq.js","./index-Ca-YMdQn.js","./index-oEW8ocTu.js","./iframe-YBxBTXqz.js","./index-DPS9-N-h.js","./directive-DUGPADuw.js","./main-CHQ92JtU.js","./core-C4kcdPvA.js","./webimage-BcnuJlio.js"])))=>i.map(i=>d[i]); -var JBe=Object.defineProperty;var Ove=e=>{throw TypeError(e)};var QBe=(e,t,n)=>t in e?JBe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var tn=(e,t,n)=>QBe(e,typeof t!="symbol"?t+"":t,n),nF=(e,t,n)=>t.has(e)||Ove("Cannot "+n);var $t=(e,t,n)=>(nF(e,t,"read from private field"),n?n.call(e):t.get(e)),gn=(e,t,n)=>t.has(e)?Ove("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),Ui=(e,t,n,r)=>(nF(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),dn=(e,t,n)=>(nF(e,t,"access private method"),n);import{s as eze}from"./chunk-L4EGOTBX-BALMY2cf.js";import{m as dI,p as tze,v as ng,r as iw,M as rF,f as nze}from"./entry-preview-BErytJoa.js";import{g as sa,j as bu,c as Xi,a as LCe}from"./index-DuuuSFPv.js";import{useMDXComponents as RCe}from"./index-Ca-YMdQn.js";import{c as rze,e as ize,S as sze,P as oze,f as aze,h as lze,i as uze}from"./index-oEW8ocTu.js";import{r as Zr,x as Ke,E as qr,T as fv,i as hI,b as Fy}from"./lit-element-Dh4_iwrW.js";import{c as q_,n as cze,d as fze,I as f3,R as FCe,r as dze,g as hze,h as pze,j as mze,C as gze,k as yze,m as Mve,u as $ve,v as pI,w as wg,x as V4,y as ku,z as W4,A as mI,B as vze,D as bze,E as xze,F as wze,i as _ze,G as Eze,H as Sze,J as Aze,K as Cze,L as kze,M as Tze,N as gI,O as Dze,p as yI,P as Ive,Q as OCe,S as vI,T as H_,U as lD,V as Qg,W as Lze,X as Rze,Y as Fze,Z as MCe,_ as uD,$ as cD,a0 as Oze,a1 as Mze,a2 as $ze,a3 as Ize,a4 as Pve,a5 as Pze,a6 as Nze,a7 as Bze,f as zze,a8 as jze,l as Uze,a9 as qze,aa as Hze,ab as Gze,ac as Vze,s as $Ce,ad as Wze,ae as Yze,af as Xze,ag as Zze,q as Kze,t as Jze,o as ICe,ah as Qze,ai as eje,aj as d3,ak as tje,al as nje,e as tE,a as fD,b as sp}from"./directive-DUGPADuw.js";import{m as G_,g as rje,C as ije,a as oi,b as h3,s as sje,S as V_,V as bI,d as Nve,c as y_,T as Bve,F as Y4,R as _g,e as nE,f as oje,w as aje,h as lje,i as e0,j as W_,k as dD,l as Fp,n as wC,o as au,p as Zv,P as gc,q as eu,r as p3,t as As,u as Kv,v as dv,L as $f,I as PCe,x as Eg,J as uje,y as cje,z as Oo,A as fje,B as X4,D as dje,M as U1,E as hD,G as rE,H as iE,X as pD,K as Tn,N as Rn,O as Rt,Q as xI,U as m3,W as hje,Y as pje,Z as Op,_ as g3,$ as NCe,a0 as er,a1 as Ge,a2 as yr,a3 as Oi,a4 as tu,a5 as q1,a6 as vp,a7 as Y_,a8 as BCe,a9 as Zt,aa as y3,ab as v3,ac as Ue,ad as Dt,ae as mD,af as Ds,ag as Ea,ah as b3,ai as zCe,aj as rg,ak as mje,al as wI,am as jCe,an as Rd,ao as Dc,ap as mi,aq as gje,ar as yje,as as jp,at as zve,au as yc,av as gf,aw as vje,ax as _I,ay as gD,az as bje,aA as UCe,aB as xje,aC as wje,aD as Ei,aE as qCe,aF as Ko,aG as EI,aH as x3,aI as SI,aJ as _je,aK as Eje,aL as Z4,aM as iF,aN as Sje,aO as yD,aP as X_,aQ as bp,aR as xp,aS as Up,aT as vD,aU as AI,aV as rh,aW as CI,aX as HCe,aY as Aje,aZ as Cl,a_ as Ts,a$ as kI,b0 as Ec,b1 as TI,b2 as GCe,b3 as jve,b4 as t0,b5 as Uve,b6 as tv,b7 as Cje,b8 as K4,b9 as VCe,ba as kje,bb as qve,bc as Tje,bd as DI,be as Dje,bf as WCe,bg as Z_,bh as Lje,bi as Rje,bj as Si,bk as YCe,bl as K_,bm as kl,bn as qp,bo as H1,bp as Fje,bq as ur,br as Oje,bs as Mje,bt as XCe,bu as Hp,bv as $je,bw as Ije,bx as Pje,by as Nje,bz as LI,bA as Bje,bB as zje,bC as jje,bD as ZCe,bE as Uje,bF as w3,bG as RI,bH as _3,bI as KCe,bJ as gh,bK as sE,bL as oE,bM as FI,bN as OI,bO as J_,bP as qje,bQ as Hje,bR as Gje,bS as bD,bT as Vje,bU as Wje,bV as Yje,bW as sF,bX as Q_,bY as xD,bZ as Xje,b_ as Zje,b$ as Hve,c0 as Gve,c1 as Kje,c2 as Vve,c3 as Jje,c4 as Qje,c5 as J4,c6 as JCe,c7 as eUe,c8 as G1,c9 as QCe,ca as Wve,cb as E3,cc as Yve,cd as L0,ce as MI,cf as tUe,cg as e3e,ch as wD,ci as nUe,cj as $I,ck as t3e,cl as rUe,cm as iUe,cn as sUe,co as oUe,cp as n3e,cq as aUe,cr as lUe,cs as uUe,ct as cUe,cu as fUe,cv as r3e,cw as dUe,cx as i3e,cy as hUe,cz as e2,cA as Q4,cB as pUe,cC as mUe,cD as e6,cE as s3e,cF as gUe,cG as yUe}from"./main-CHQ92JtU.js";import{A as o3e,J as hv,S as vUe}from"./core-C4kcdPvA.js";import{_ as um}from"./iframe-YBxBTXqz.js";const Xve={duration:750},Zve={type:"FeatureCollection",features:[]};function bUe(e,t){let n=0,r,i=0,s=0;if(t===void 0)for(let o of e)o!=null&&(o=+o)>=o&&(r=o-i,i+=r/++n,s+=r*(o-i));else{let o=-1;for(let a of e)(a=t(a,++o,e))!=null&&(a=+a)>=a&&(r=a-i,i+=r/++n,s+=r*(a-i))}if(n>1)return s/(n-1)}function xUe(e,t){const n=bUe(e,t);return n&&Math.sqrt(n)}class Ja{constructor(){this._partials=new Float64Array(32),this._n=0}add(t){const n=this._partials;let r=0;for(let i=0;i0){for(o=t[--n];n>0&&(r=o,i=t[--n],o=r+i,s=i-(o-r),!s););n>0&&(s<0&&t[n-1]<0||s>0&&t[n-1]>0)&&(i=s*2,r=o+i,i==r-o&&(o=r))}return o}}function wUe(e,t){return Array.from(t,n=>e[n])}function _Ue(e=q_){if(e===q_)return a3e;if(typeof e!="function")throw new TypeError("compare is not a function");return(t,n)=>{const r=e(t,n);return r||r===0?r:(e(n,n)===0)-(e(t,t)===0)}}function a3e(e,t){return(e==null||!(e>=e))-(t==null||!(t>=t))||(et?1:0)}function zg(e,t){let n;if(t===void 0)for(const r of e)r!=null&&(n=r)&&(n=r);else{let r=-1;for(let i of e)(i=t(i,++r,e))!=null&&(n=i)&&(n=i)}return n}function t6(e,t){let n;if(t===void 0)for(const r of e)r!=null&&(n>r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let i of e)(i=t(i,++r,e))!=null&&(n>i||n===void 0&&i>=i)&&(n=i)}return n}function l3e(e,t,n=0,r=1/0,i){if(t=Math.floor(t),n=Math.floor(Math.max(0,n)),r=Math.floor(Math.min(e.length-1,r)),!(n<=t&&t<=r))return e;for(i=i===void 0?a3e:_Ue(i);r>n;){if(r-n>600){const l=r-n+1,u=t-n+1,f=Math.log(l),c=.5*Math.exp(2*f/3),d=.5*Math.sqrt(f*c*(l-c)/l)*(u-l/2<0?-1:1),h=Math.max(n,Math.floor(t-u*c/l+d)),p=Math.min(r,Math.floor(t+(l-u)*c/l+d));l3e(e,t,h,p,i)}const s=e[t];let o=n,a=r;for(sw(e,n,t),i(e[r],s)>0&&sw(e,n,r);o0;)--a}i(e[n],s)===0?sw(e,n,a):(++a,sw(e,a,r)),a<=t&&(n=a+1),t<=a&&(r=a-1)}return e}function sw(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function n6(e,t,n){if(e=Float64Array.from(cze(e,n)),!(!(r=e.length)||isNaN(t=+t))){if(t<=0||r<2)return t6(e);if(t>=1)return zg(e);var r,i=(r-1)*t,s=Math.floor(i),o=zg(l3e(e,s).subarray(0,s+1)),a=t6(e.subarray(s+1));return o+(a-o)*(i-s)}}function u3e(e,t,n=fze){if(!(!(r=e.length)||isNaN(t=+t))){if(t<=0||r<2)return+n(e[0],0,e);if(t>=1)return+n(e[r-1],r-1,e);var r,i=(r-1)*t,s=Math.floor(i),o=+n(e[s],s,e),a=+n(e[s+1],s+1,e);return o+(a-o)*(i-s)}}function EUe(e,t){let n=0,r=0;if(t===void 0)for(let i of e)i!=null&&(i=+i)>=i&&(++n,r+=i);else{let i=-1;for(let s of e)(s=t(s,++i,e))!=null&&(s=+s)>=s&&(++n,r+=s)}if(n)return r/n}function c3e(e,t){return n6(e,.5,t)}function*SUe(e){for(const t of e)yield*t}function f3e(e){return Array.from(SUe(e))}function Kl(e,t,n){e=+e,t=+t,n=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+n;for(var r=-1,i=Math.max(0,Math.ceil((t-e)/n))|0,s=new Array(i);++r180?f+=360:f-u>180&&(u+=360),d.push({i:c.push(i(c)+"rotate(",null,r)-2,x:wg(u,f)})):f&&c.push(i(c)+"rotate("+f+r)}function a(u,f,c,d){u!==f?d.push({i:c.push(i(c)+"skewX(",null,r)-2,x:wg(u,f)}):f&&c.push(i(c)+"skewX("+f+r)}function l(u,f,c,d,h,p){if(u!==c||f!==d){var g=h.push(i(h)+"scale(",null,",",null,")");p.push({i:g-4,x:wg(u,c)},{i:g-2,x:wg(f,d)})}else(c!==1||d!==1)&&h.push(i(h)+"scale("+c+","+d+")")}return function(u,f){var c=[],d=[];return u=e(u),f=e(f),s(u.translateX,u.translateY,f.translateX,f.translateY,c,d),o(u.rotate,f.rotate,c,d),a(u.skewX,f.skewX,c,d),l(u.scaleX,u.scaleY,f.scaleX,f.scaleY,c,d),u=f=null,function(h){for(var p=-1,g=d.length,v;++p0?n[a-1]:e[0],a(e(s=new Date(+s)),s),i.ceil=s=>(e(s=new Date(s-1)),t(s,1),e(s),s),i.round=s=>{const o=i(s),a=i.ceil(s);return s-o(t(s=new Date(+s),o==null?1:Math.floor(o)),s),i.range=(s,o,a)=>{const l=[];if(s=i.ceil(s),a=a==null?1:Math.floor(a),!(s0))return l;let u;do l.push(u=new Date(+s)),t(s,a),e(s);while(uvo(o=>{if(o>=o)for(;e(o),!s(o);)o.setTime(o-1)},(o,a)=>{if(o>=o)if(a<0)for(;++a<=0;)for(;t(o,-1),!s(o););else for(;--a>=0;)for(;t(o,1),!s(o););}),n&&(i.count=(s,o)=>(oF.setTime(+s),aF.setTime(+o),e(oF),e(aF),Math.floor(n(oF,aF))),i.every=s=>(s=Math.floor(s),!isFinite(s)||!(s>0)?null:s>1?i.filter(r?o=>r(o)%s===0:o=>i.count(0,o)%s===0):i)),i}const Jv=vo(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);Jv.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?vo(t=>{t.setTime(Math.floor(t/e)*e)},(t,n)=>{t.setTime(+t+n*e)},(t,n)=>(n-t)/e):Jv);Jv.range;const Bd=1e3,Tu=Bd*60,zd=Tu*60,ih=zd*24,NI=ih*7,n1e=ih*30,lF=ih*365,jd=vo(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*Bd)},(e,t)=>(t-e)/Bd,e=>e.getUTCSeconds());jd.range;const ED=vo(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Bd)},(e,t)=>{e.setTime(+e+t*Tu)},(e,t)=>(t-e)/Tu,e=>e.getMinutes());ED.range;const SD=vo(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*Tu)},(e,t)=>(t-e)/Tu,e=>e.getUTCMinutes());SD.range;const AD=vo(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Bd-e.getMinutes()*Tu)},(e,t)=>{e.setTime(+e+t*zd)},(e,t)=>(t-e)/zd,e=>e.getHours());AD.range;const CD=vo(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*zd)},(e,t)=>(t-e)/zd,e=>e.getUTCHours());CD.range;const Yd=vo(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Tu)/ih,e=>e.getDate()-1);Yd.range;const Mp=vo(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/ih,e=>e.getUTCDate()-1);Mp.range;const x3e=vo(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/ih,e=>Math.floor(e/ih));x3e.range;function R0(e){return vo(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(t,n)=>{t.setDate(t.getDate()+n*7)},(t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*Tu)/NI)}const V1=R0(0),S3=R0(1),VUe=R0(2),WUe=R0(3),Qv=R0(4),YUe=R0(5),XUe=R0(6);V1.range;S3.range;VUe.range;WUe.range;Qv.range;YUe.range;XUe.range;function F0(e){return vo(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCDate(t.getUTCDate()+n*7)},(t,n)=>(n-t)/NI)}const W1=F0(0),A3=F0(1),ZUe=F0(2),KUe=F0(3),e1=F0(4),JUe=F0(5),QUe=F0(6);W1.range;A3.range;ZUe.range;KUe.range;e1.range;JUe.range;QUe.range;const n2=vo(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12,e=>e.getMonth());n2.range;const r2=vo(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12,e=>e.getUTCMonth());r2.range;const If=vo(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t)=>{e.setFullYear(e.getFullYear()+t)},(e,t)=>t.getFullYear()-e.getFullYear(),e=>e.getFullYear());If.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:vo(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,n)=>{t.setFullYear(t.getFullYear()+n*e)});If.range;const Pf=vo(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)},(e,t)=>t.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());Pf.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:vo(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n*e)});Pf.range;function w3e(e,t,n,r,i,s){const o=[[jd,1,Bd],[jd,5,5*Bd],[jd,15,15*Bd],[jd,30,30*Bd],[s,1,Tu],[s,5,5*Tu],[s,15,15*Tu],[s,30,30*Tu],[i,1,zd],[i,3,3*zd],[i,6,6*zd],[i,12,12*zd],[r,1,ih],[r,2,2*ih],[n,1,NI],[t,1,n1e],[t,3,3*n1e],[e,1,lF]];function a(u,f,c){const d=fv).right(o,d);if(h===o.length)return e.every(Qg(u/lF,f/lF,c));if(h===0)return Jv.every(Math.max(Qg(u,f,c),1));const[p,g]=o[d/o[h-1][2]53)return null;"w"in Pe||(Pe.w=1),"Z"in Pe?(dt=cF(ow(Pe.y,0,1)),nn=dt.getUTCDay(),dt=nn>4||nn===0?A3.ceil(dt):A3(dt),dt=Mp.offset(dt,(Pe.V-1)*7),Pe.y=dt.getUTCFullYear(),Pe.m=dt.getUTCMonth(),Pe.d=dt.getUTCDate()+(Pe.w+6)%7):(dt=uF(ow(Pe.y,0,1)),nn=dt.getDay(),dt=nn>4||nn===0?S3.ceil(dt):S3(dt),dt=Yd.offset(dt,(Pe.V-1)*7),Pe.y=dt.getFullYear(),Pe.m=dt.getMonth(),Pe.d=dt.getDate()+(Pe.w+6)%7)}else("W"in Pe||"U"in Pe)&&("w"in Pe||(Pe.w="u"in Pe?Pe.u%7:"W"in Pe?1:0),nn="Z"in Pe?cF(ow(Pe.y,0,1)).getUTCDay():uF(ow(Pe.y,0,1)).getDay(),Pe.m=0,Pe.d="W"in Pe?(Pe.w+6)%7+Pe.W*7-(nn+5)%7:Pe.w+Pe.U*7-(nn+6)%7);return"Z"in Pe?(Pe.H+=Pe.Z/100|0,Pe.M+=Pe.Z%100,cF(Pe)):uF(Pe)}}function k(we,Ie,qe,Pe){for(var At=0,dt=Ie.length,nn=qe.length,Wt,Mn;At=nn)return-1;if(Wt=Ie.charCodeAt(At++),Wt===37){if(Wt=Ie.charAt(At++),Mn=A[Wt in r1e?Ie.charAt(At++):Wt],!Mn||(Pe=Mn(we,qe,Pe))<0)return-1}else if(Wt!=qe.charCodeAt(Pe++))return-1}return Pe}function R(we,Ie,qe){var Pe=u.exec(Ie.slice(qe));return Pe?(we.p=f.get(Pe[0].toLowerCase()),qe+Pe[0].length):-1}function O(we,Ie,qe){var Pe=h.exec(Ie.slice(qe));return Pe?(we.w=p.get(Pe[0].toLowerCase()),qe+Pe[0].length):-1}function B(we,Ie,qe){var Pe=c.exec(Ie.slice(qe));return Pe?(we.w=d.get(Pe[0].toLowerCase()),qe+Pe[0].length):-1}function K(we,Ie,qe){var Pe=x.exec(Ie.slice(qe));return Pe?(we.m=y.get(Pe[0].toLowerCase()),qe+Pe[0].length):-1}function L(we,Ie,qe){var Pe=g.exec(Ie.slice(qe));return Pe?(we.m=v.get(Pe[0].toLowerCase()),qe+Pe[0].length):-1}function $(we,Ie,qe){return k(we,t,Ie,qe)}function I(we,Ie,qe){return k(we,n,Ie,qe)}function U(we,Ie,qe){return k(we,r,Ie,qe)}function q(we){return o[we.getDay()]}function Y(we){return s[we.getDay()]}function X(we){return l[we.getMonth()]}function te(we){return a[we.getMonth()]}function le(we){return i[+(we.getHours()>=12)]}function ee(we){return 1+~~(we.getMonth()/3)}function z(we){return o[we.getUTCDay()]}function he(we){return s[we.getUTCDay()]}function de(we){return l[we.getUTCMonth()]}function ze(we){return a[we.getUTCMonth()]}function He(we){return i[+(we.getUTCHours()>=12)]}function je(we){return 1+~~(we.getUTCMonth()/3)}return{format:function(we){var Ie=T(we+="",w);return Ie.toString=function(){return we},Ie},parse:function(we){var Ie=D(we+="",!1);return Ie.toString=function(){return we},Ie},utcFormat:function(we){var Ie=T(we+="",_);return Ie.toString=function(){return we},Ie},utcParse:function(we){var Ie=D(we+="",!0);return Ie.toString=function(){return we},Ie}}}var r1e={"-":"",_:" ",0:"0"},$o=/^\s*\d+/,iqe=/^%/,sqe=/[\\^$*+?|[\]().{}]/g;function ai(e,t,n){var r=e<0?"-":"",i=(r?-e:e)+"",s=i.length;return r+(s[t.toLowerCase(),n]))}function aqe(e,t,n){var r=$o.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function lqe(e,t,n){var r=$o.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function uqe(e,t,n){var r=$o.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function cqe(e,t,n){var r=$o.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function fqe(e,t,n){var r=$o.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function i1e(e,t,n){var r=$o.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function s1e(e,t,n){var r=$o.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function dqe(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function hqe(e,t,n){var r=$o.exec(t.slice(n,n+1));return r?(e.q=r[0]*3-3,n+r[0].length):-1}function pqe(e,t,n){var r=$o.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function o1e(e,t,n){var r=$o.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function mqe(e,t,n){var r=$o.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function a1e(e,t,n){var r=$o.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function gqe(e,t,n){var r=$o.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function yqe(e,t,n){var r=$o.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function vqe(e,t,n){var r=$o.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function bqe(e,t,n){var r=$o.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function xqe(e,t,n){var r=iqe.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function wqe(e,t,n){var r=$o.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function _qe(e,t,n){var r=$o.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function l1e(e,t){return ai(e.getDate(),t,2)}function Eqe(e,t){return ai(e.getHours(),t,2)}function Sqe(e,t){return ai(e.getHours()%12||12,t,2)}function Aqe(e,t){return ai(1+Yd.count(If(e),e),t,3)}function E3e(e,t){return ai(e.getMilliseconds(),t,3)}function Cqe(e,t){return E3e(e,t)+"000"}function kqe(e,t){return ai(e.getMonth()+1,t,2)}function Tqe(e,t){return ai(e.getMinutes(),t,2)}function Dqe(e,t){return ai(e.getSeconds(),t,2)}function Lqe(e){var t=e.getDay();return t===0?7:t}function Rqe(e,t){return ai(V1.count(If(e)-1,e),t,2)}function S3e(e){var t=e.getDay();return t>=4||t===0?Qv(e):Qv.ceil(e)}function Fqe(e,t){return e=S3e(e),ai(Qv.count(If(e),e)+(If(e).getDay()===4),t,2)}function Oqe(e){return e.getDay()}function Mqe(e,t){return ai(S3.count(If(e)-1,e),t,2)}function $qe(e,t){return ai(e.getFullYear()%100,t,2)}function Iqe(e,t){return e=S3e(e),ai(e.getFullYear()%100,t,2)}function Pqe(e,t){return ai(e.getFullYear()%1e4,t,4)}function Nqe(e,t){var n=e.getDay();return e=n>=4||n===0?Qv(e):Qv.ceil(e),ai(e.getFullYear()%1e4,t,4)}function Bqe(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+ai(t/60|0,"0",2)+ai(t%60,"0",2)}function u1e(e,t){return ai(e.getUTCDate(),t,2)}function zqe(e,t){return ai(e.getUTCHours(),t,2)}function jqe(e,t){return ai(e.getUTCHours()%12||12,t,2)}function Uqe(e,t){return ai(1+Mp.count(Pf(e),e),t,3)}function A3e(e,t){return ai(e.getUTCMilliseconds(),t,3)}function qqe(e,t){return A3e(e,t)+"000"}function Hqe(e,t){return ai(e.getUTCMonth()+1,t,2)}function Gqe(e,t){return ai(e.getUTCMinutes(),t,2)}function Vqe(e,t){return ai(e.getUTCSeconds(),t,2)}function Wqe(e){var t=e.getUTCDay();return t===0?7:t}function Yqe(e,t){return ai(W1.count(Pf(e)-1,e),t,2)}function C3e(e){var t=e.getUTCDay();return t>=4||t===0?e1(e):e1.ceil(e)}function Xqe(e,t){return e=C3e(e),ai(e1.count(Pf(e),e)+(Pf(e).getUTCDay()===4),t,2)}function Zqe(e){return e.getUTCDay()}function Kqe(e,t){return ai(A3.count(Pf(e)-1,e),t,2)}function Jqe(e,t){return ai(e.getUTCFullYear()%100,t,2)}function Qqe(e,t){return e=C3e(e),ai(e.getUTCFullYear()%100,t,2)}function eHe(e,t){return ai(e.getUTCFullYear()%1e4,t,4)}function tHe(e,t){var n=e.getUTCDay();return e=n>=4||n===0?e1(e):e1.ceil(e),ai(e.getUTCFullYear()%1e4,t,4)}function nHe(){return"+0000"}function c1e(){return"%"}function f1e(e){return+e}function d1e(e){return Math.floor(+e/1e3)}var Oy,BI,k3e,zI,T3e;rHe({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function rHe(e){return Oy=_3e(e),BI=Oy.format,k3e=Oy.parse,zI=Oy.utcFormat,T3e=Oy.utcParse,Oy}function iHe(e){return new Date(e)}function sHe(e){return e instanceof Date?+e:+new Date(+e)}function jI(e,t,n,r,i,s,o,a,l,u){var f=Lze(),c=f.invert,d=f.domain,h=u(".%L"),p=u(":%S"),g=u("%I:%M"),v=u("%I %p"),x=u("%a %d"),y=u("%b %d"),w=u("%B"),_=u("%Y");function A(T){return(l(T)0&&f.length>0;)g=f.pop(),i=l.pop(),o=u.pop(),y=g.toString(),y in c||(r.push(o[0],o[1]),c[y]=!0),v=f.pop(),s=l.pop(),a=u.pop(),x=(g+v)/2,h=e(x),p=t(h),sje(p[0],p[1],o[0],o[1],a[0],a[1]){const i=r.get("graticule_label");return this.lonLabelStyleBase_.getText().setText(i),this.lonLabelStyleBase_},this.latLabelStyleBase_=new y_({text:t.latLabelStyle!==void 0?t.latLabelStyle.clone():new Bve({font:"12px Calibri,sans-serif",textAlign:"right",fill:new Y4({color:"rgba(0,0,0,1)"}),stroke:new V_({color:"rgba(255,255,255,1)",width:3})})}),this.latLabelStyle_=r=>{const i=r.get("graticule_label");return this.latLabelStyleBase_.getText().setText(i),this.latLabelStyleBase_},this.meridiansLabels_=[],this.parallelsLabels_=[],this.addEventListener(_g.POSTRENDER,this.drawLabels_.bind(this))),this.intervals_=t.intervals!==void 0?t.intervals:hHe,this.setSource(new nE({loader:this.loaderFunction.bind(this),strategy:this.strategyFunction.bind(this),features:new oje,overlaps:!1,useSpatialIndex:!1,wrapX:t.wrapX})),this.featurePool_=[],this.lineStyle_=new y_({stroke:this.strokeStyle_}),this.loadedExtent_=null,this.renderedExtent_=null,this.renderedResolution_=null,this.setRenderOrder(null)}strategyFunction(t,n){let r=t.slice();return this.projection_&&this.getSource().getWrapX()&&aje(r,this.projection_),this.loadedExtent_&&(lje(this.loadedExtent_,r,n)?r=this.loadedExtent_.slice():this.getSource().removeLoadedExtent(this.loadedExtent_)),[r]}loaderFunction(t,n,r){this.loadedExtent_=t;const i=this.getSource(),s=this.getExtent()||[-1/0,-1/0,1/0,1/0],o=e0(s,t);if(this.renderedExtent_&&W_(this.renderedExtent_,o)&&this.renderedResolution_===n||(this.renderedExtent_=o,this.renderedResolution_=n,dD(o)))return;const a=Fp(o),l=n*n/4;(!this.projection_||!wC(this.projection_,r))&&this.updateProjectionInfo_(r),this.createGraticule_(o,a,n,l);let f=this.meridians_.length+this.parallels_.length;this.meridiansLabels_&&(f+=this.meridians_.length),this.parallelsLabels_&&(f+=this.parallels_.length);let c;for(;f>this.featurePool_.length;)c=new au,this.featurePool_.push(c);const d=i.getFeaturesCollection();d.clear();let h=0,p,g;for(p=0,g=this.meridians_.length;pMath.PI/2;f=f!==p}const h=uHe(t);for(let p=l;p<=u;++p){let g=this.meridians_.length+this.parallels_.length,v,x,y,w;if(this.meridiansLabels_)for(x=0,y=this.meridiansLabels_.length;x=l?(t[0]=a[0],t[2]=a[2]):o=!0);const u=[As(n[0],this.minX_,this.maxX_),As(n[1],this.minY_,this.maxY_)],f=this.toLonLatTransform_(u);isNaN(f[1])&&(f[1]=Math.abs(this.maxLat_)>=Math.abs(this.minLat_)?this.maxLat_:this.minLat_);let c=As(f[0],this.minLon_,this.maxLon_),d=As(f[1],this.minLat_,this.maxLat_);const h=this.maxLines_;let p,g,v,x,y=t;o||(y=[As(t[0],this.minX_,this.maxX_),As(t[1],this.minY_,this.maxY_),As(t[2],this.minX_,this.maxX_),As(t[3],this.minY_,this.maxY_)]);const w=Kv(y,this.toLonLatTransform_,void 0,8);let _=w[3],A=w[2],T=w[1],D=w[0];if(o||(dv(y,this.bottomLeft_)&&(D=this.minLon_,T=this.minLat_),dv(y,this.bottomRight_)&&(A=this.maxLon_,T=this.minLat_),dv(y,this.topLeft_)&&(D=this.minLon_,_=this.maxLat_),dv(y,this.topRight_)&&(A=this.maxLon_,_=this.maxLat_),_=As(_,d,this.maxLat_),A=As(A,c,this.maxLon_),T=As(T,this.minLat_,d),D=As(D,this.minLon_,c)),c=Math.floor(c/s)*s,x=As(c,this.minLon_,this.maxLon_),g=this.addMeridian_(x,T,_,i,t,0),p=0,o)for(;(x-=s)>=D&&p++i[o]&&(s=o,o=1);const a=Math.max(n[1],i[s]),l=Math.min(n[3],i[o]),u=As(n[1]+Math.abs(n[1]-n[3])*this.lonLabelPosition_,a,l),c=[i[s-1]+(i[o-1]-i[s-1])*(u-i[s])/(i[o]-i[s]),u],d=this.meridiansLabels_[r].geom;return d.setCoordinates(c),d}getMeridians(){return this.meridians_}getParallel_(t,n,r,i,s){const o=fHe(t,n,r,this.projection_,i);let a=this.parallels_[s];return a?(a.setFlatCoordinates("XY",o),a.changed()):a=new $f(o,"XY"),a}getParallelPoint_(t,n,r){const i=t.getFlatCoordinates();let s=0,o=i.length-2;i[s]>i[o]&&(s=o,o=0);const a=Math.max(n[0],i[s]),l=Math.min(n[2],i[o]),u=As(n[0]+Math.abs(n[0]-n[2])*this.latLabelPosition_,a,l),f=i[s+1]+(i[o+1]-i[s+1])*(u-i[s])/(i[o]-i[s]),c=[u,f],d=this.parallelsLabels_[r].geom;return d.setCoordinates(c),d}getParallels(){return this.parallels_}updateProjectionInfo_(t){const n=oi("EPSG:4326"),r=t.getWorldExtent();this.maxLat_=r[3],this.maxLon_=r[2],this.minLat_=r[1],this.minLon_=r[0];const i=h3(t,n);if(this.minLon_=Math.abs(this.minLat_)?this.maxLat_:this.minLat_),this.projection_=t}};class qI extends PCe{constructor(t,n,r,i,s){const o=s!==void 0?Eg.IDLE:Eg.LOADED;super(t,n,r,o),this.loader_=s!==void 0?s:null,this.canvas_=i,this.error_=null}getError(){return this.error_}handleLoad_(t){t?(this.error_=t,this.state=Eg.ERROR):this.state=Eg.LOADED,this.changed()}load(){this.state==Eg.IDLE&&(this.state=Eg.LOADING,this.changed(),this.loader_(this.handleLoad_.bind(this)))}getImage(){return this.canvas_}}const mHe={Point:bHe,LineString:xHe,Polygon:SHe,MultiPoint:_He,MultiLineString:wHe,MultiPolygon:EHe},gHe={Point:AHe,LineString:CHe,Polygon:kHe,MultiPoint:DHe,MultiLineString:THe,MultiPolygon:LHe};class yHe extends uje{constructor(t){t=t||{},super(),this.geometryName_=t.geometryName}readFeatureFromObject(t,n,r){const i=t,s=h1e(i.geometry,n),o=new au;if(this.geometryName_&&o.setGeometryName(this.geometryName_),o.setGeometry(s),i.attributes){o.setProperties(i.attributes,!0);const a=i.attributes[r];a!==void 0&&o.setId(a)}return o}readFeaturesFromObject(t,n){if(n=n||{},t.features){const r=t,i=[],s=r.features;for(let o=0,a=s.length;o=0;s--){const u=r[s][0];if(p3(new X4(u).getExtent(),new X4(a).getExtent())){r[s].push(a),l=!0;break}}l||r.push([a.reverse()])}return r}function bHe(e){let t;return e.m!==void 0&&e.z!==void 0?t=new gc([e.x,e.y,e.z,e.m],"XYZM"):e.z!==void 0?t=new gc([e.x,e.y,e.z],"XYZ"):e.m!==void 0?t=new gc([e.x,e.y,e.m],"XYM"):t=new gc([e.x,e.y]),t}function xHe(e){const t=Y1(e);return new $f(e.paths[0],t)}function wHe(e){const t=Y1(e);return new U1(e.paths,t)}function Y1(e){let t="XY";return e.hasZ===!0&&e.hasM===!0?t="XYZM":e.hasZ===!0?t="XYZ":e.hasM===!0&&(t="XYM"),t}function _He(e){const t=Y1(e);return new hD(e.points,t)}function EHe(e){const t=Y1(e);return new rE(e.rings,t)}function SHe(e){const t=Y1(e);return new iE(e.rings,t)}function AHe(e,t){const n=e.getCoordinates();let r;const i=e.getLayout();if(i==="XYZ")r={x:n[0],y:n[1],z:n[2]};else if(i==="XYM")r={x:n[0],y:n[1],m:n[2]};else if(i==="XYZM")r={x:n[0],y:n[1],z:n[2],m:n[3]};else if(i==="XY")r={x:n[0],y:n[1]};else throw new Error("Invalid geometry layout");return r}function aE(e){const t=e.getLayout();return{hasZ:t==="XYZ"||t==="XYZM",hasM:t==="XYM"||t==="XYZM"}}function CHe(e,t){const n=aE(e);return{hasZ:n.hasZ,hasM:n.hasM,paths:[e.getCoordinates()]}}function kHe(e,t){const n=aE(e);return{hasZ:n.hasZ,hasM:n.hasM,rings:e.getCoordinates(!1)}}function THe(e,t){const n=aE(e);return{hasZ:n.hasZ,hasM:n.hasM,paths:e.getCoordinates()}}function DHe(e,t){const n=aE(e);return{hasZ:n.hasZ,hasM:n.hasM,points:e.getCoordinates()}}function LHe(e,t){const n=aE(e),r=e.getCoordinates(!1),i=[];for(let s=0;s=0;o--)i.push(r[s][o]);return{hasZ:n.hasZ,hasM:n.hasM,rings:i}}function p1e(e,t){const n=gHe[e.getType()];return n(Oo(e,!0,t),t)}const Xd="http://www.opengis.net/gml",RHe=/^\s*$/;class un extends pD{constructor(t){super(),t=t||{},this.featureType=t.featureType,this.featureNS=t.featureNS,this.srsName=t.srsName,this.schemaLocation="",this.FEATURE_COLLECTION_PARSERS={},this.FEATURE_COLLECTION_PARSERS[this.namespace]={featureMember:Tn(this.readFeaturesInternal),featureMembers:Rn(this.readFeaturesInternal)},this.supportedMediaTypes=["application/gml+xml"]}readFeaturesInternal(t,n){const r=t.localName;let i=null;if(r=="FeatureCollection")i=Rt([],this.FEATURE_COLLECTION_PARSERS,t,n,this);else if(r=="featureMembers"||r=="featureMember"||r=="member"){const s=n[0];let o=s.featureType,a=s.featureNS;const l="p",u="p0";if(!o&&t.childNodes){o=[],a={};for(let d=0,h=t.childNodes.length;d0&&!(u instanceof hje)){u={_content_:u};for(let d=0;d1,r=n&&e.imageInfo.profile[1].supports?e.imageInfo.profile[1].supports:[],i=n&&e.imageInfo.profile[1].formats?e.imageInfo.profile[1].formats:[],s=n&&e.imageInfo.profile[1].qualities?e.imageInfo.profile[1].qualities:[];return{url:e.imageInfo["@id"].replace(/\/?(?:info\.json)?$/g,""),sizes:e.imageInfo.sizes===void 0?void 0:e.imageInfo.sizes.map(function(o){return[o.width,o.height]}),tileSize:e.imageInfo.tiles===void 0?void 0:[e.imageInfo.tiles.map(function(o){return o.width})[0],e.imageInfo.tiles.map(function(o){return o.height===void 0?o.width:o.height})[0]],resolutions:e.imageInfo.tiles===void 0?void 0:e.imageInfo.tiles.map(function(o){return o.scaleFactors})[0],supports:[...t.supports,...r],formats:[...t.formats,...i],qualities:[...t.qualities,...s]}}function RGe(e){const t=e.getComplianceLevelSupportedFeatures(),n=e.imageInfo.extraFormats===void 0?t.formats:[...t.formats,...e.imageInfo.extraFormats],r=e.imageInfo.preferredFormats!==void 0&&Array.isArray(e.imageInfo.preferredFormats)&&e.imageInfo.preferredFormats.length>0?e.imageInfo.preferredFormats.filter(function(i){return["jpg","png","gif"].includes(i)}).reduce(function(i,s){return i===void 0&&n.includes(s)?s:i},void 0):void 0;return{url:e.imageInfo.id,sizes:e.imageInfo.sizes===void 0?void 0:e.imageInfo.sizes.map(function(i){return[i.width,i.height]}),tileSize:e.imageInfo.tiles===void 0?void 0:[e.imageInfo.tiles.map(function(i){return i.width})[0],e.imageInfo.tiles.map(function(i){return i.height})[0]],resolutions:e.imageInfo.tiles===void 0?void 0:e.imageInfo.tiles.map(function(i){return i.scaleFactors})[0],supports:e.imageInfo.extraFeatures===void 0?t.supports:[...t.supports,...e.imageInfo.extraFeatures],formats:n,qualities:e.imageInfo.extraQualities===void 0?t.qualities:[...t.qualities,...e.imageInfo.extraQualities],preferredFormat:r}}const DD={};DD[Zs.VERSION1]=DGe;DD[Zs.VERSION2]=LGe;DD[Zs.VERSION3]=RGe;class FGe{constructor(t){this.setImageInfo(t)}setImageInfo(t){typeof t=="string"?this.imageInfo=JSON.parse(t):this.imageInfo=t}getImageApiVersion(){if(this.imageInfo===void 0)return;let t=this.imageInfo["@context"]||"ol-no-context";typeof t=="string"&&(t=[t]);for(let n=0;n0&&typeof this.imageInfo.profile[0]=="string"&&m1e.test(this.imageInfo.profile[0]))return this.imageInfo.profile[0];break}}getComplianceLevelFromProfile(t){const n=this.getComplianceLevelEntryFromProfile(t);if(n===void 0)return;const r=n.match(/level[0-2](?:\.json)?$/g);return Array.isArray(r)?r[0].replace(".json",""):void 0}getComplianceLevelSupportedFeatures(){if(this.imageInfo===void 0)return;const t=this.getImageApiVersion(),n=this.getComplianceLevelFromProfile(t);return n===void 0?n0.none.none:n0[t][n]}getTileSourceOptions(t){const n=t||{},r=this.getImageApiVersion();if(r===void 0)return;const i=r===void 0?void 0:DD[r](this);if(i!==void 0)return{url:i.url,version:r,size:[this.imageInfo.width,this.imageInfo.height],sizes:i.sizes,format:n.format!==void 0&&i.formats.includes(n.format)?n.format:i.preferredFormat!==void 0?i.preferredFormat:"jpg",supports:i.supports,quality:n.quality&&i.qualities.includes(n.quality)?n.quality:i.qualities.includes("native")?"native":"default",resolutions:Array.isArray(i.resolutions)?i.resolutions.sort(function(s,o){return o-s}):void 0,tileSize:i.tileSize}}}class ZI{read(t){if(!t)return null;if(typeof t=="string"){const n=y3(t);return this.readFromDocument(n)}return v3(t)?this.readFromDocument(t):this.readFromNode(t)}readFromDocument(t){for(let n=t.firstChild;n;n=n.nextSibling)if(n.nodeType==Node.ELEMENT_NODE)return this.readFromNode(n);return null}readFromNode(t){Rd()}}const OGe="http://www.w3.org/1999/xlink";function X1(e){return e.getAttributeNS(OGe,"href")}const Bl=[null,"http://www.opengis.net/ows/1.1"],MGe=Zt(Bl,{ServiceIdentification:Ue(iVe),ServiceProvider:Ue(oVe),OperationsMetadata:Ue(nVe)});class I3e extends ZI{constructor(){super()}readFromNode(t){const n=Rt({},MGe,t,[]);return n||null}}const $Ge=Zt(Bl,{DeliveryPoint:Ue(Dt),City:Ue(Dt),AdministrativeArea:Ue(Dt),PostalCode:Ue(Dt),Country:Ue(Dt),ElectronicMailAddress:Ue(Dt)}),IGe=Zt(Bl,{Value:mi(aVe)}),PGe=Zt(Bl,{AllowedValues:Ue(XGe)}),NGe=Zt(Bl,{Phone:Ue(rVe),Address:Ue(YGe)}),BGe=Zt(Bl,{HTTP:Ue(eVe)}),zGe=Zt(Bl,{Get:mi(QGe),Post:void 0}),jGe=Zt(Bl,{DCP:Ue(JGe)}),UGe=Zt(Bl,{Operation:tVe}),qGe=Zt(Bl,{Voice:Ue(Dt),Facsimile:Ue(Dt)}),HGe=Zt(Bl,{Constraint:mi(ZGe)}),GGe=Zt(Bl,{IndividualName:Ue(Dt),PositionName:Ue(Dt),ContactInfo:Ue(KGe)}),VGe=Zt(Bl,{Abstract:Ue(Dt),AccessConstraints:Ue(Dt),Fees:Ue(Dt),Title:Ue(Dt),ServiceTypeVersion:Ue(Dt),ServiceType:Ue(Dt)}),WGe=Zt(Bl,{ProviderName:Ue(Dt),ProviderSite:Ue(X1),ServiceContact:Ue(sVe)});function YGe(e,t){return Rt({},$Ge,e,t)}function XGe(e,t){return Rt({},IGe,e,t)}function ZGe(e,t){const n=e.getAttribute("name");if(n)return Rt({name:n},PGe,e,t)}function KGe(e,t){return Rt({},NGe,e,t)}function JGe(e,t){return Rt({},BGe,e,t)}function QGe(e,t){const n=X1(e);if(n)return Rt({href:n},HGe,e,t)}function eVe(e,t){return Rt({},zGe,e,t)}function tVe(e,t){const n=e.getAttribute("name"),r=Rt({},jGe,e,t);if(!r)return;const i=t[t.length-1];i[n]=r}function nVe(e,t){return Rt({},UGe,e,t)}function rVe(e,t){return Rt({},qGe,e,t)}function iVe(e,t){return Rt({},VGe,e,t)}function sVe(e,t){return Rt({},GGe,e,t)}function oVe(e,t){return Rt({},WGe,e,t)}function aVe(e,t){return Dt(e)}function g1e(e,t,n,r,i,s){i!==void 0?(i=i,s=s!==void 0?s:0):(i=[],s=0);let o=t;for(;o>1):i>>1}return t}function mVe(e){let t="";for(let n=0,r=e.length;n=32;)t=(32|e&31)+63,n+=String.fromCharCode(t),e>>=5;return t=e+63,n+=String.fromCharCode(t),n}class Xr extends vt{constructor(t){t=t||{},super(t),this.schemaLocation=t.schemaLocation?t.schemaLocation:this.namespace+" http://schemas.opengis.net/gml/3.2.1/gml.xsd"}writeGeometryElement(t,n,r){const i=r[r.length-1];r[r.length-1]=Object.assign({multiCurve:!0,multiSurface:!0},i),super.writeGeometryElement(t,n,r)}}Xr.prototype.namespace="http://www.opengis.net/gml/3.2";Xr.prototype.GEOMETRY_FLAT_COORDINATES_PARSERS={"http://www.opengis.net/gml/3.2":{pos:Rn(vt.prototype.readFlatPos),posList:Rn(vt.prototype.readFlatPosList),coordinates:Rn(hr.prototype.readFlatCoordinates)}};Xr.prototype.FLAT_LINEAR_RINGS_PARSERS={"http://www.opengis.net/gml/3.2":{interior:vt.prototype.interiorParser,exterior:vt.prototype.exteriorParser}};Xr.prototype.GEOMETRY_PARSERS={"http://www.opengis.net/gml/3.2":{Point:Rn(un.prototype.readPoint),MultiPoint:Rn(un.prototype.readMultiPoint),LineString:Rn(un.prototype.readLineString),MultiLineString:Rn(un.prototype.readMultiLineString),LinearRing:Rn(un.prototype.readLinearRing),Polygon:Rn(un.prototype.readPolygon),MultiPolygon:Rn(un.prototype.readMultiPolygon),Surface:Rn(Xr.prototype.readSurface),MultiSurface:Rn(vt.prototype.readMultiSurface),Curve:Rn(Xr.prototype.readCurve),MultiCurve:Rn(vt.prototype.readMultiCurve),Envelope:Rn(Xr.prototype.readEnvelope)}};Xr.prototype.MULTICURVE_PARSERS={"http://www.opengis.net/gml/3.2":{curveMember:Tn(vt.prototype.curveMemberParser),curveMembers:Tn(vt.prototype.curveMemberParser)}};Xr.prototype.MULTISURFACE_PARSERS={"http://www.opengis.net/gml/3.2":{surfaceMember:Tn(vt.prototype.surfaceMemberParser),surfaceMembers:Tn(vt.prototype.surfaceMemberParser)}};Xr.prototype.CURVEMEMBER_PARSERS={"http://www.opengis.net/gml/3.2":{LineString:Tn(un.prototype.readLineString),Curve:Tn(vt.prototype.readCurve)}};Xr.prototype.SURFACEMEMBER_PARSERS={"http://www.opengis.net/gml/3.2":{Polygon:Tn(un.prototype.readPolygon),Surface:Tn(vt.prototype.readSurface)}};Xr.prototype.SURFACE_PARSERS={"http://www.opengis.net/gml/3.2":{patches:Rn(vt.prototype.readPatch)}};Xr.prototype.CURVE_PARSERS={"http://www.opengis.net/gml/3.2":{segments:Rn(vt.prototype.readSegment)}};Xr.prototype.ENVELOPE_PARSERS={"http://www.opengis.net/gml/3.2":{lowerCorner:Tn(vt.prototype.readFlatPosList),upperCorner:Tn(vt.prototype.readFlatPosList)}};Xr.prototype.PATCHES_PARSERS={"http://www.opengis.net/gml/3.2":{PolygonPatch:Rn(vt.prototype.readPolygonPatch)}};Xr.prototype.SEGMENTS_PARSERS={"http://www.opengis.net/gml/3.2":{LineStringSegment:BCe(vt.prototype.readLineStringSegment)}};Xr.prototype.MULTIPOINT_PARSERS={"http://www.opengis.net/gml/3.2":{pointMember:Tn(un.prototype.pointMemberParser),pointMembers:Tn(un.prototype.pointMemberParser)}};Xr.prototype.MULTILINESTRING_PARSERS={"http://www.opengis.net/gml/3.2":{lineStringMember:Tn(un.prototype.lineStringMemberParser),lineStringMembers:Tn(un.prototype.lineStringMemberParser)}};Xr.prototype.MULTIPOLYGON_PARSERS={"http://www.opengis.net/gml/3.2":{polygonMember:Tn(un.prototype.polygonMemberParser),polygonMembers:Tn(un.prototype.polygonMemberParser)}};Xr.prototype.POINTMEMBER_PARSERS={"http://www.opengis.net/gml/3.2":{Point:Tn(un.prototype.readFlatCoordinatesFromNode)}};Xr.prototype.LINESTRINGMEMBER_PARSERS={"http://www.opengis.net/gml/3.2":{LineString:Tn(un.prototype.readLineString)}};Xr.prototype.POLYGONMEMBER_PARSERS={"http://www.opengis.net/gml/3.2":{Polygon:Tn(un.prototype.readPolygon)}};Xr.prototype.RING_PARSERS={"http://www.opengis.net/gml/3.2":{LinearRing:Rn(un.prototype.readFlatLinearRing),Ring:Rn(Xr.prototype.readFlatCurveRing)}};Xr.prototype.RING_SERIALIZERS={"http://www.opengis.net/gml/3.2":{exterior:Ge(vt.prototype.writeRing),interior:Ge(vt.prototype.writeRing)}};Xr.prototype.ENVELOPE_SERIALIZERS={"http://www.opengis.net/gml/3.2":{lowerCorner:Ge(yr),upperCorner:Ge(yr)}};Xr.prototype.SURFACEORPOLYGONMEMBER_SERIALIZERS={"http://www.opengis.net/gml/3.2":{surfaceMember:Ge(vt.prototype.writeSurfaceOrPolygonMember),polygonMember:Ge(vt.prototype.writeSurfaceOrPolygonMember)}};Xr.prototype.POINTMEMBER_SERIALIZERS={"http://www.opengis.net/gml/3.2":{pointMember:Ge(vt.prototype.writePointMember)}};Xr.prototype.LINESTRINGORCURVEMEMBER_SERIALIZERS={"http://www.opengis.net/gml/3.2":{lineStringMember:Ge(vt.prototype.writeLineStringOrCurveMember),curveMember:Ge(vt.prototype.writeLineStringOrCurveMember)}};Xr.prototype.GEOMETRY_SERIALIZERS={"http://www.opengis.net/gml/3.2":{Curve:Ge(vt.prototype.writeCurveOrLineString),MultiCurve:Ge(vt.prototype.writeMultiCurveOrLineString),Point:Ge(Xr.prototype.writePoint),MultiPoint:Ge(vt.prototype.writeMultiPoint),LineString:Ge(vt.prototype.writeCurveOrLineString),MultiLineString:Ge(vt.prototype.writeMultiCurveOrLineString),LinearRing:Ge(vt.prototype.writeLinearRing),Polygon:Ge(vt.prototype.writeSurfaceOrPolygon),MultiPolygon:Ge(vt.prototype.writeMultiSurfaceOrPolygon),Surface:Ge(vt.prototype.writeSurfaceOrPolygon),MultiSurface:Ge(vt.prototype.writeMultiSurfaceOrPolygon),Envelope:Ge(vt.prototype.writeEnvelope)}};let P3e=class{constructor(t){this.tagName_=t}getTagName(){return this.tagName_}};class vVe extends P3e{constructor(t,n){super(t),this.conditions=n,Dc(this.conditions.length>=2,"At least 2 conditions are required")}}let bVe=class extends vVe{constructor(t){super("And",Array.prototype.slice.call(arguments))}};class xVe extends P3e{constructor(t,n,r){if(super("BBOX"),this.geometryName=t,this.extent=n,n.length!==4)throw new Error("Expected an extent with four values ([minX, minY, maxX, maxY])");this.srsName=r}}function wVe(e){const t=[null].concat(Array.prototype.slice.call(arguments));return new(Function.prototype.bind.apply(bVe,t))}function _Ve(e,t,n){return new xVe(e,t,n)}const y1e={"http://www.opengis.net/gml":{boundedBy:Ue(un.prototype.readExtentElement,"bounds")},"http://www.opengis.net/wfs/2.0":{member:Tn(un.prototype.readFeaturesInternal)}},EVe={"http://www.opengis.net/wfs":{totalInserted:Ue(Ds),totalUpdated:Ue(Ds),totalDeleted:Ue(Ds)},"http://www.opengis.net/wfs/2.0":{totalInserted:Ue(Ds),totalUpdated:Ue(Ds),totalDeleted:Ue(Ds)}},SVe={"http://www.opengis.net/wfs":{TransactionSummary:Ue(b1e,"transactionSummary"),InsertResults:Ue(w1e,"insertIds")},"http://www.opengis.net/wfs/2.0":{TransactionSummary:Ue(b1e,"transactionSummary"),InsertResults:Ue(w1e,"insertIds")}},AVe={"http://www.opengis.net/wfs":{PropertyName:Ge(yr)},"http://www.opengis.net/wfs/2.0":{PropertyName:Ge(yr)}},N3e={"http://www.opengis.net/wfs":{Insert:Ge(_1e),Update:Ge(S1e),Delete:Ge(E1e),Property:Ge(A1e),Native:Ge(C1e)},"http://www.opengis.net/wfs/2.0":{Insert:Ge(_1e),Update:Ge(S1e),Delete:Ge(E1e),Property:Ge(A1e),Native:Ge(C1e)}},B3e="feature",KI="http://www.w3.org/2000/xmlns/",JI={"2.0.0":"http://www.opengis.net/ogc/1.1","1.1.0":"http://www.opengis.net/ogc","1.0.0":"http://www.opengis.net/ogc"},s6={"2.0.0":"http://www.opengis.net/wfs/2.0","1.1.0":"http://www.opengis.net/wfs","1.0.0":"http://www.opengis.net/wfs"},QI={"2.0.0":"http://www.opengis.net/fes/2.0","1.1.0":"http://www.opengis.net/fes","1.0.0":"http://www.opengis.net/fes"},v1e={"2.0.0":"http://www.opengis.net/wfs/2.0 http://schemas.opengis.net/wfs/2.0/wfs.xsd","1.1.0":"http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd","1.0.0":"http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.0.0/wfs.xsd"},eP={"2.0.0":Xr,"1.1.0":vt,"1.0.0":hr},CVe="1.1.0";class kVe extends pD{constructor(t){super(),t=t||{},this.version_=t.version?t.version:CVe,this.featureType_=t.featureType,this.featureNS_=t.featureNS,this.gmlFormat_=t.gmlFormat?t.gmlFormat:new eP[this.version_],this.schemaLocation_=t.schemaLocation?t.schemaLocation:v1e[this.version_]}getFeatureType(){return this.featureType_}setFeatureType(t){this.featureType_=t}readFeaturesFromNode(t,n){const r={node:t};Object.assign(r,{featureType:this.featureType_,featureNS:this.featureNS_}),Object.assign(r,this.getReadOptions(t,n||{}));const i=[r];let s;this.version_==="2.0.0"?s=y1e:s=this.gmlFormat_.FEATURE_COLLECTION_PARSERS;let o=Rt([],s,t,i,this.gmlFormat_);return o||(o=[]),o}readTransactionResponse(t){if(t){if(typeof t=="string"){const n=y3(t);return this.readTransactionResponseFromDocument(n)}return v3(t)?this.readTransactionResponseFromDocument(t):this.readTransactionResponseFromNode(t)}}readFeatureCollectionMetadata(t){if(t){if(typeof t=="string"){const n=y3(t);return this.readFeatureCollectionMetadataFromDocument(n)}return v3(t)?this.readFeatureCollectionMetadataFromDocument(t):this.readFeatureCollectionMetadataFromNode(t)}}readFeatureCollectionMetadataFromDocument(t){for(let n=t.firstChild;n;n=n.nextSibling)if(n.nodeType==Node.ELEMENT_NODE)return this.readFeatureCollectionMetadataFromNode(n)}readFeatureCollectionMetadataFromNode(t){const n={},r=vp(t.getAttribute("numberOfFeatures"));return n.numberOfFeatures=r,Rt(n,y1e,t,[],this.gmlFormat_)}readTransactionResponseFromDocument(t){for(let n=t.firstChild;n;n=n.nextSibling)if(n.nodeType==Node.ELEMENT_NODE)return this.readTransactionResponseFromNode(n)}readTransactionResponseFromNode(t){return Rt({},SVe,t,[])}writeGetFeature(t){const n=er(s6[this.version_],"GetFeature");n.setAttribute("service","WFS"),n.setAttribute("version",this.version_),t.handle&&n.setAttribute("handle",t.handle),t.outputFormat&&n.setAttribute("outputFormat",t.outputFormat),t.maxFeatures!==void 0&&n.setAttribute("maxFeatures",String(t.maxFeatures)),t.resultType&&n.setAttribute("resultType",t.resultType),t.startIndex!==void 0&&n.setAttribute("startIndex",String(t.startIndex)),t.count!==void 0&&n.setAttribute("count",String(t.count)),t.viewParams!==void 0&&n.setAttribute("viewParams",t.viewParams),n.setAttributeNS(Y_,"xsi:schemaLocation",this.schemaLocation_);const r={node:n};if(Object.assign(r,{version:this.version_,srsName:t.srsName,featureNS:t.featureNS?t.featureNS:this.featureNS_,featurePrefix:t.featurePrefix,propertyNames:t.propertyNames?t.propertyNames:[]}),Dc(Array.isArray(t.featureTypes),"`options.featureTypes` must be an Array"),typeof t.featureTypes[0]=="string"){let i=t.filter;t.bbox&&(Dc(t.geometryName,"`options.geometryName` must also be provided when `options.bbox` is set"),i=this.combineBboxAndFilter(t.geometryName,t.bbox,t.srsName,i)),Object.assign(r,{geometryName:t.geometryName,filter:i}),I1e(n,t.featureTypes,[r])}else t.featureTypes.forEach(i=>{const s=this.combineBboxAndFilter(i.geometryName,i.bbox,t.srsName,t.filter);Object.assign(r,{geometryName:i.geometryName,filter:s}),I1e(n,[i.name],[r])});return n}combineBboxAndFilter(t,n,r,i){const s=_Ve(t,n,r);return i?wVe(i,s):s}writeTransaction(t,n,r,i){const s=[],o=i.version?i.version:this.version_,a=er(s6[o],"Transaction");a.setAttribute("service","WFS"),a.setAttribute("version",o);let l;i&&(l=i.gmlOptions?i.gmlOptions:{},i.handle&&a.setAttribute("handle",i.handle)),a.setAttributeNS(Y_,"xsi:schemaLocation",v1e[o]);const u=TVe(a,l,o,i);return t&&tA("Insert",t,s,u),n&&tA("Update",n,s,u),r&&tA("Delete",r,s,u),i.nativeElements&&tA("Native",i.nativeElements,s,u),a}readProjectionFromDocument(t){for(let n=t.firstChild;n;n=n.nextSibling)if(n.nodeType==Node.ELEMENT_NODE)return this.readProjectionFromNode(n);return null}readProjectionFromNode(t){if(t.firstElementChild&&t.firstElementChild.firstElementChild){t=t.firstElementChild.firstElementChild;for(let n=t.firstElementChild;n;n=n.nextElementSibling)if(!(n.childNodes.length===0||n.childNodes.length===1&&n.firstChild.nodeType===3)){const r=[{}];return this.gmlFormat_.readGeometryElement(n,r),oi(r.pop().srsName)}}return null}}function TVe(e,t,n,r){const i=r.featurePrefix?r.featurePrefix:B3e;let s;return n==="1.0.0"?s=2:n==="1.1.0"?s=3:n==="2.0.0"&&(s=3.2),Object.assign({node:e},{version:n,featureNS:r.featureNS,featureType:r.featureType,featurePrefix:i,gmlVersion:s,hasZ:r.hasZ,srsName:r.srsName},t)}function tA(e,t,n,r){Oi(r,N3e,tu(e),t,n)}function b1e(e,t){return Rt({},EVe,e,t)}const DVe={"http://www.opengis.net/ogc":{FeatureId:Tn(function(e,t){return e.getAttribute("fid")})},"http://www.opengis.net/ogc/1.1":{FeatureId:Tn(function(e,t){return e.getAttribute("fid")})}};function x1e(e,t){Op(DVe,e,t)}const LVe={"http://www.opengis.net/wfs":{Feature:x1e},"http://www.opengis.net/wfs/2.0":{Feature:x1e}};function w1e(e,t){return Rt([],LVe,e,t)}function _1e(e,t,n){const r=n[n.length-1],i=r.featureType,s=r.featureNS,o=r.gmlVersion,a=er(s,i);e.appendChild(a),o===2?hr.prototype.writeFeatureElement(a,t,n):o===3?vt.prototype.writeFeatureElement(a,t,n):Xr.prototype.writeFeatureElement(a,t,n)}function z3e(e,t,n){const i=n[n.length-1].version,s=JI[i],o=er(s,"Filter"),a=er(s,"FeatureId");o.appendChild(a),a.setAttribute("fid",t),e.appendChild(o)}function tP(e,t){e=e||B3e;const n=e+":";return t.startsWith(n)?t:n+t}function E1e(e,t,n){const r=n[n.length-1];Dc(t.getId()!==void 0,"Features must have an id set");const i=r.featureType,s=r.featurePrefix,o=r.featureNS,a=tP(s,i);e.setAttribute("typeName",a),e.setAttributeNS(KI,"xmlns:"+s,o);const l=t.getId();l!==void 0&&z3e(e,l,n)}function S1e(e,t,n){const r=n[n.length-1];Dc(t.getId()!==void 0,"Features must have an id set");const i=r.version,s=r.featureType,o=r.featurePrefix,a=r.featureNS,l=tP(o,s),u=t.getGeometryName();e.setAttribute("typeName",l),e.setAttributeNS(KI,"xmlns:"+o,a);const f=t.getId();if(f!==void 0){const c=t.getKeys(),d=[];for(let h=0,p=c.length;h0,i=this.readUint32(r),s=Math.floor((i&268435455)/1e3),o=!!(i&2147483648)||s===1||s===3,a=!!(i&1073741824)||s===2||s===3,l=!!(i&536870912),u=(i&268435455)%1e3,f=["XY",o?"Z":"",a?"M":""].join(""),c=l?this.readUint32(r):null;if(t!==void 0&&t!==u)throw new Error("Unexpected WKB geometry type "+u);if(this.initialized_){if(this.isLittleEndian_!==r)throw new Error("Inconsistent endian");if(this.layout_!==f)throw new Error("Inconsistent geometry layout");if(c&&this.srid_!==c)throw new Error("Inconsistent coordinate system (SRID)")}else this.isLittleEndian_=r,this.hasZ_=o,this.hasM_=a,this.layout_=f,this.srid_=c,this.initialized_=!0;return u}readWkbPayload(t){switch(t){case wi.POINT:return this.readPoint();case wi.LINE_STRING:return this.readLineString();case wi.POLYGON:case wi.TRIANGLE:return this.readPolygon();case wi.MULTI_POINT:return this.readMultiPoint();case wi.MULTI_LINE_STRING:return this.readMultiLineString();case wi.MULTI_POLYGON:case wi.POLYHEDRAL_SURFACE:case wi.TIN:return this.readMultiPolygon();case wi.GEOMETRY_COLLECTION:return this.readGeometryCollection();default:throw new Error("Unsupported WKB geometry type "+t+" is found")}}readWkbBlock(t){return this.readWkbPayload(this.readWkbHeader(t))}readWkbCollection(t,n){const r=this.readUint32(),i=[];for(let s=0;s({[i]:t[s]})));for(const i of this.layout_)this.writeDouble(i in r?r[i]:this.nodata_[i])}writeLineString(t,n){this.writeUint32(t.length);for(let r=0;ri===s?i:i==="XYZM"?s:s==="XYZM"?i:"XY";if(t instanceof zve)return r(t.getLayout(),n);if(t instanceof jp){const i=t.getGeometriesArray();for(let s=0;ss+o[0],0),n=new ArrayBuffer(t),r=new DataView(n);let i=0;return this.writeQueue_.forEach(s=>{switch(s[0]){case 1:r.setUint8(i,s[1]);break;case 4:r.setUint32(i,s[1],this.isLittleEndian_);break;case 8:r.setFloat64(i,s[1],this.isLittleEndian_);break}i+=s[0]}),n}}class MVe extends jCe{constructor(t){super(),t=t||{},this.splitCollection=!!t.splitCollection,this.viewCache_=null,this.hex_=t.hex!==!1,this.littleEndian_=t.littleEndian!==!1,this.ewkb_=t.ewkb!==!1,this.layout_=t.geometryLayout,this.nodataZ_=t.nodataZ||0,this.nodataM_=t.nodataM||0,this.srid_=t.srid}getType(){return this.hex_?"text":"arraybuffer"}readFeature(t,n){return new au({geometry:this.readGeometry(t,n)})}readFeatures(t,n){let r=[];const i=this.readGeometry(t,n);return this.splitCollection&&i instanceof jp?r=i.getGeometriesArray():r=[i],r.map(s=>new au({geometry:s}))}readGeometry(t,n){const r=N1e(t);if(!r)return null;const s=new P1e(r).readGeometry();return this.viewCache_=r,n=this.getReadOptions(t,n),this.viewCache_=null,Oo(s,!1,n)}readProjection(t){const n=this.viewCache_||N1e(t);if(!n)return;const r=new P1e(n);return r.readWkbHeader(),r.getSrid()&&oi("EPSG:"+r.getSrid())||void 0}writeFeature(t,n){return this.writeGeometry(t.getGeometry(),n)}writeFeatures(t,n){return this.writeGeometry(new jp(t.map(r=>r.getGeometry())),n)}writeGeometry(t,n){n=this.adaptOptions(n);const r=new OVe({layout:this.layout_,littleEndian:this.littleEndian_,ewkb:this.ewkb_,nodata:{Z:this.nodataZ_,M:this.nodataM_}});let i=Number.isInteger(this.srid_)?Number(this.srid_):null;if(this.srid_!==!1&&!Number.isInteger(this.srid_)){const o=n.dataProjection&&oi(n.dataProjection);if(o){const a=o.getCode();a.startsWith("EPSG:")&&(i=Number(a.substring(5)))}}r.writeGeometry(Oo(t,!0,n),i);const s=r.getBuffer();return this.hex_?$Ve(s):s}}function $Ve(e){const t=new Uint8Array(e);return Array.from(t.values()).map(n=>(n<16?"0":"")+Number(n).toString(16).toUpperCase()).join("")}function IVe(e){const t=new Uint8Array(e.length/2);for(let n=0;n="a"&&t<="z"||t>="A"&&t<="Z"}isNumeric_(t,n){return n=n!==void 0?n:!1,t>="0"&&t<="9"||t=="."&&!n}isWhiteSpace_(t){return t==" "||t==" "||t=="\r"||t==` +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./raw-Dt1HMqYc.js","./basedecoder-DvumDe3Y.js","./lzw-DpvbRwG5.js","./jpeg-CdeCw_eT.js","./deflate-CUkHh1nh.js","./pako.esm-CPws4d4z.js","./packbits-DQnG8s9w.js","./lerc-6b9o-jBY.js","./index-DuuuSFPv.js","./chunk-L4EGOTBX-BALMY2cf.js","./entry-preview-BErytJoa.js","./lit-element-Dh4_iwrW.js","./index-DrFu-skq.js","./index-Ca-YMdQn.js","./index-9geMTWX-.js","./iframe-CR1vRkAE.js","./index-DPS9-N-h.js","./directive-DUGPADuw.js","./main-CHQ92JtU.js","./core-C4kcdPvA.js","./webimage-BcnuJlio.js"])))=>i.map(i=>d[i]); +var JBe=Object.defineProperty;var Ove=e=>{throw TypeError(e)};var QBe=(e,t,n)=>t in e?JBe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var tn=(e,t,n)=>QBe(e,typeof t!="symbol"?t+"":t,n),nF=(e,t,n)=>t.has(e)||Ove("Cannot "+n);var $t=(e,t,n)=>(nF(e,t,"read from private field"),n?n.call(e):t.get(e)),gn=(e,t,n)=>t.has(e)?Ove("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),Ui=(e,t,n,r)=>(nF(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),dn=(e,t,n)=>(nF(e,t,"access private method"),n);import{s as eze}from"./chunk-L4EGOTBX-BALMY2cf.js";import{m as dI,p as tze,v as ng,r as iw,M as rF,f as nze}from"./entry-preview-BErytJoa.js";import{g as sa,j as bu,c as Xi,a as LCe}from"./index-DuuuSFPv.js";import{useMDXComponents as RCe}from"./index-Ca-YMdQn.js";import{c as rze,e as ize,S as sze,P as oze,f as aze,h as lze,i as uze}from"./index-9geMTWX-.js";import{r as Zr,x as Ke,E as qr,T as fv,i as hI,b as Fy}from"./lit-element-Dh4_iwrW.js";import{c as q_,n as cze,d as fze,I as f3,R as FCe,r as dze,g as hze,h as pze,j as mze,C as gze,k as yze,m as Mve,u as $ve,v as pI,w as wg,x as V4,y as ku,z as W4,A as mI,B as vze,D as bze,E as xze,F as wze,i as _ze,G as Eze,H as Sze,J as Aze,K as Cze,L as kze,M as Tze,N as gI,O as Dze,p as yI,P as Ive,Q as OCe,S as vI,T as H_,U as lD,V as Qg,W as Lze,X as Rze,Y as Fze,Z as MCe,_ as uD,$ as cD,a0 as Oze,a1 as Mze,a2 as $ze,a3 as Ize,a4 as Pve,a5 as Pze,a6 as Nze,a7 as Bze,f as zze,a8 as jze,l as Uze,a9 as qze,aa as Hze,ab as Gze,ac as Vze,s as $Ce,ad as Wze,ae as Yze,af as Xze,ag as Zze,q as Kze,t as Jze,o as ICe,ah as Qze,ai as eje,aj as d3,ak as tje,al as nje,e as tE,a as fD,b as sp}from"./directive-DUGPADuw.js";import{m as G_,g as rje,C as ije,a as oi,b as h3,s as sje,S as V_,V as bI,d as Nve,c as y_,T as Bve,F as Y4,R as _g,e as nE,f as oje,w as aje,h as lje,i as e0,j as W_,k as dD,l as Fp,n as wC,o as au,p as Zv,P as gc,q as eu,r as p3,t as As,u as Kv,v as dv,L as $f,I as PCe,x as Eg,J as uje,y as cje,z as Oo,A as fje,B as X4,D as dje,M as U1,E as hD,G as rE,H as iE,X as pD,K as Tn,N as Rn,O as Rt,Q as xI,U as m3,W as hje,Y as pje,Z as Op,_ as g3,$ as NCe,a0 as er,a1 as Ge,a2 as yr,a3 as Oi,a4 as tu,a5 as q1,a6 as vp,a7 as Y_,a8 as BCe,a9 as Zt,aa as y3,ab as v3,ac as Ue,ad as Dt,ae as mD,af as Ds,ag as Ea,ah as b3,ai as zCe,aj as rg,ak as mje,al as wI,am as jCe,an as Rd,ao as Dc,ap as mi,aq as gje,ar as yje,as as jp,at as zve,au as yc,av as gf,aw as vje,ax as _I,ay as gD,az as bje,aA as UCe,aB as xje,aC as wje,aD as Ei,aE as qCe,aF as Ko,aG as EI,aH as x3,aI as SI,aJ as _je,aK as Eje,aL as Z4,aM as iF,aN as Sje,aO as yD,aP as X_,aQ as bp,aR as xp,aS as Up,aT as vD,aU as AI,aV as rh,aW as CI,aX as HCe,aY as Aje,aZ as Cl,a_ as Ts,a$ as kI,b0 as Ec,b1 as TI,b2 as GCe,b3 as jve,b4 as t0,b5 as Uve,b6 as tv,b7 as Cje,b8 as K4,b9 as VCe,ba as kje,bb as qve,bc as Tje,bd as DI,be as Dje,bf as WCe,bg as Z_,bh as Lje,bi as Rje,bj as Si,bk as YCe,bl as K_,bm as kl,bn as qp,bo as H1,bp as Fje,bq as ur,br as Oje,bs as Mje,bt as XCe,bu as Hp,bv as $je,bw as Ije,bx as Pje,by as Nje,bz as LI,bA as Bje,bB as zje,bC as jje,bD as ZCe,bE as Uje,bF as w3,bG as RI,bH as _3,bI as KCe,bJ as gh,bK as sE,bL as oE,bM as FI,bN as OI,bO as J_,bP as qje,bQ as Hje,bR as Gje,bS as bD,bT as Vje,bU as Wje,bV as Yje,bW as sF,bX as Q_,bY as xD,bZ as Xje,b_ as Zje,b$ as Hve,c0 as Gve,c1 as Kje,c2 as Vve,c3 as Jje,c4 as Qje,c5 as J4,c6 as JCe,c7 as eUe,c8 as G1,c9 as QCe,ca as Wve,cb as E3,cc as Yve,cd as L0,ce as MI,cf as tUe,cg as e3e,ch as wD,ci as nUe,cj as $I,ck as t3e,cl as rUe,cm as iUe,cn as sUe,co as oUe,cp as n3e,cq as aUe,cr as lUe,cs as uUe,ct as cUe,cu as fUe,cv as r3e,cw as dUe,cx as i3e,cy as hUe,cz as e2,cA as Q4,cB as pUe,cC as mUe,cD as e6,cE as s3e,cF as gUe,cG as yUe}from"./main-CHQ92JtU.js";import{A as o3e,J as hv,S as vUe}from"./core-C4kcdPvA.js";import{_ as um}from"./iframe-CR1vRkAE.js";const Xve={duration:750},Zve={type:"FeatureCollection",features:[]};function bUe(e,t){let n=0,r,i=0,s=0;if(t===void 0)for(let o of e)o!=null&&(o=+o)>=o&&(r=o-i,i+=r/++n,s+=r*(o-i));else{let o=-1;for(let a of e)(a=t(a,++o,e))!=null&&(a=+a)>=a&&(r=a-i,i+=r/++n,s+=r*(a-i))}if(n>1)return s/(n-1)}function xUe(e,t){const n=bUe(e,t);return n&&Math.sqrt(n)}class Ja{constructor(){this._partials=new Float64Array(32),this._n=0}add(t){const n=this._partials;let r=0;for(let i=0;i0){for(o=t[--n];n>0&&(r=o,i=t[--n],o=r+i,s=i-(o-r),!s););n>0&&(s<0&&t[n-1]<0||s>0&&t[n-1]>0)&&(i=s*2,r=o+i,i==r-o&&(o=r))}return o}}function wUe(e,t){return Array.from(t,n=>e[n])}function _Ue(e=q_){if(e===q_)return a3e;if(typeof e!="function")throw new TypeError("compare is not a function");return(t,n)=>{const r=e(t,n);return r||r===0?r:(e(n,n)===0)-(e(t,t)===0)}}function a3e(e,t){return(e==null||!(e>=e))-(t==null||!(t>=t))||(et?1:0)}function zg(e,t){let n;if(t===void 0)for(const r of e)r!=null&&(n=r)&&(n=r);else{let r=-1;for(let i of e)(i=t(i,++r,e))!=null&&(n=i)&&(n=i)}return n}function t6(e,t){let n;if(t===void 0)for(const r of e)r!=null&&(n>r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let i of e)(i=t(i,++r,e))!=null&&(n>i||n===void 0&&i>=i)&&(n=i)}return n}function l3e(e,t,n=0,r=1/0,i){if(t=Math.floor(t),n=Math.floor(Math.max(0,n)),r=Math.floor(Math.min(e.length-1,r)),!(n<=t&&t<=r))return e;for(i=i===void 0?a3e:_Ue(i);r>n;){if(r-n>600){const l=r-n+1,u=t-n+1,f=Math.log(l),c=.5*Math.exp(2*f/3),d=.5*Math.sqrt(f*c*(l-c)/l)*(u-l/2<0?-1:1),h=Math.max(n,Math.floor(t-u*c/l+d)),p=Math.min(r,Math.floor(t+(l-u)*c/l+d));l3e(e,t,h,p,i)}const s=e[t];let o=n,a=r;for(sw(e,n,t),i(e[r],s)>0&&sw(e,n,r);o0;)--a}i(e[n],s)===0?sw(e,n,a):(++a,sw(e,a,r)),a<=t&&(n=a+1),t<=a&&(r=a-1)}return e}function sw(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function n6(e,t,n){if(e=Float64Array.from(cze(e,n)),!(!(r=e.length)||isNaN(t=+t))){if(t<=0||r<2)return t6(e);if(t>=1)return zg(e);var r,i=(r-1)*t,s=Math.floor(i),o=zg(l3e(e,s).subarray(0,s+1)),a=t6(e.subarray(s+1));return o+(a-o)*(i-s)}}function u3e(e,t,n=fze){if(!(!(r=e.length)||isNaN(t=+t))){if(t<=0||r<2)return+n(e[0],0,e);if(t>=1)return+n(e[r-1],r-1,e);var r,i=(r-1)*t,s=Math.floor(i),o=+n(e[s],s,e),a=+n(e[s+1],s+1,e);return o+(a-o)*(i-s)}}function EUe(e,t){let n=0,r=0;if(t===void 0)for(let i of e)i!=null&&(i=+i)>=i&&(++n,r+=i);else{let i=-1;for(let s of e)(s=t(s,++i,e))!=null&&(s=+s)>=s&&(++n,r+=s)}if(n)return r/n}function c3e(e,t){return n6(e,.5,t)}function*SUe(e){for(const t of e)yield*t}function f3e(e){return Array.from(SUe(e))}function Kl(e,t,n){e=+e,t=+t,n=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+n;for(var r=-1,i=Math.max(0,Math.ceil((t-e)/n))|0,s=new Array(i);++r180?f+=360:f-u>180&&(u+=360),d.push({i:c.push(i(c)+"rotate(",null,r)-2,x:wg(u,f)})):f&&c.push(i(c)+"rotate("+f+r)}function a(u,f,c,d){u!==f?d.push({i:c.push(i(c)+"skewX(",null,r)-2,x:wg(u,f)}):f&&c.push(i(c)+"skewX("+f+r)}function l(u,f,c,d,h,p){if(u!==c||f!==d){var g=h.push(i(h)+"scale(",null,",",null,")");p.push({i:g-4,x:wg(u,c)},{i:g-2,x:wg(f,d)})}else(c!==1||d!==1)&&h.push(i(h)+"scale("+c+","+d+")")}return function(u,f){var c=[],d=[];return u=e(u),f=e(f),s(u.translateX,u.translateY,f.translateX,f.translateY,c,d),o(u.rotate,f.rotate,c,d),a(u.skewX,f.skewX,c,d),l(u.scaleX,u.scaleY,f.scaleX,f.scaleY,c,d),u=f=null,function(h){for(var p=-1,g=d.length,v;++p0?n[a-1]:e[0],a(e(s=new Date(+s)),s),i.ceil=s=>(e(s=new Date(s-1)),t(s,1),e(s),s),i.round=s=>{const o=i(s),a=i.ceil(s);return s-o(t(s=new Date(+s),o==null?1:Math.floor(o)),s),i.range=(s,o,a)=>{const l=[];if(s=i.ceil(s),a=a==null?1:Math.floor(a),!(s0))return l;let u;do l.push(u=new Date(+s)),t(s,a),e(s);while(uvo(o=>{if(o>=o)for(;e(o),!s(o);)o.setTime(o-1)},(o,a)=>{if(o>=o)if(a<0)for(;++a<=0;)for(;t(o,-1),!s(o););else for(;--a>=0;)for(;t(o,1),!s(o););}),n&&(i.count=(s,o)=>(oF.setTime(+s),aF.setTime(+o),e(oF),e(aF),Math.floor(n(oF,aF))),i.every=s=>(s=Math.floor(s),!isFinite(s)||!(s>0)?null:s>1?i.filter(r?o=>r(o)%s===0:o=>i.count(0,o)%s===0):i)),i}const Jv=vo(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);Jv.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?vo(t=>{t.setTime(Math.floor(t/e)*e)},(t,n)=>{t.setTime(+t+n*e)},(t,n)=>(n-t)/e):Jv);Jv.range;const Bd=1e3,Tu=Bd*60,zd=Tu*60,ih=zd*24,NI=ih*7,n1e=ih*30,lF=ih*365,jd=vo(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*Bd)},(e,t)=>(t-e)/Bd,e=>e.getUTCSeconds());jd.range;const ED=vo(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Bd)},(e,t)=>{e.setTime(+e+t*Tu)},(e,t)=>(t-e)/Tu,e=>e.getMinutes());ED.range;const SD=vo(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*Tu)},(e,t)=>(t-e)/Tu,e=>e.getUTCMinutes());SD.range;const AD=vo(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Bd-e.getMinutes()*Tu)},(e,t)=>{e.setTime(+e+t*zd)},(e,t)=>(t-e)/zd,e=>e.getHours());AD.range;const CD=vo(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*zd)},(e,t)=>(t-e)/zd,e=>e.getUTCHours());CD.range;const Yd=vo(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Tu)/ih,e=>e.getDate()-1);Yd.range;const Mp=vo(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/ih,e=>e.getUTCDate()-1);Mp.range;const x3e=vo(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/ih,e=>Math.floor(e/ih));x3e.range;function R0(e){return vo(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(t,n)=>{t.setDate(t.getDate()+n*7)},(t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*Tu)/NI)}const V1=R0(0),S3=R0(1),VUe=R0(2),WUe=R0(3),Qv=R0(4),YUe=R0(5),XUe=R0(6);V1.range;S3.range;VUe.range;WUe.range;Qv.range;YUe.range;XUe.range;function F0(e){return vo(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCDate(t.getUTCDate()+n*7)},(t,n)=>(n-t)/NI)}const W1=F0(0),A3=F0(1),ZUe=F0(2),KUe=F0(3),e1=F0(4),JUe=F0(5),QUe=F0(6);W1.range;A3.range;ZUe.range;KUe.range;e1.range;JUe.range;QUe.range;const n2=vo(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12,e=>e.getMonth());n2.range;const r2=vo(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12,e=>e.getUTCMonth());r2.range;const If=vo(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t)=>{e.setFullYear(e.getFullYear()+t)},(e,t)=>t.getFullYear()-e.getFullYear(),e=>e.getFullYear());If.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:vo(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,n)=>{t.setFullYear(t.getFullYear()+n*e)});If.range;const Pf=vo(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)},(e,t)=>t.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());Pf.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:vo(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n*e)});Pf.range;function w3e(e,t,n,r,i,s){const o=[[jd,1,Bd],[jd,5,5*Bd],[jd,15,15*Bd],[jd,30,30*Bd],[s,1,Tu],[s,5,5*Tu],[s,15,15*Tu],[s,30,30*Tu],[i,1,zd],[i,3,3*zd],[i,6,6*zd],[i,12,12*zd],[r,1,ih],[r,2,2*ih],[n,1,NI],[t,1,n1e],[t,3,3*n1e],[e,1,lF]];function a(u,f,c){const d=fv).right(o,d);if(h===o.length)return e.every(Qg(u/lF,f/lF,c));if(h===0)return Jv.every(Math.max(Qg(u,f,c),1));const[p,g]=o[d/o[h-1][2]53)return null;"w"in Pe||(Pe.w=1),"Z"in Pe?(dt=cF(ow(Pe.y,0,1)),nn=dt.getUTCDay(),dt=nn>4||nn===0?A3.ceil(dt):A3(dt),dt=Mp.offset(dt,(Pe.V-1)*7),Pe.y=dt.getUTCFullYear(),Pe.m=dt.getUTCMonth(),Pe.d=dt.getUTCDate()+(Pe.w+6)%7):(dt=uF(ow(Pe.y,0,1)),nn=dt.getDay(),dt=nn>4||nn===0?S3.ceil(dt):S3(dt),dt=Yd.offset(dt,(Pe.V-1)*7),Pe.y=dt.getFullYear(),Pe.m=dt.getMonth(),Pe.d=dt.getDate()+(Pe.w+6)%7)}else("W"in Pe||"U"in Pe)&&("w"in Pe||(Pe.w="u"in Pe?Pe.u%7:"W"in Pe?1:0),nn="Z"in Pe?cF(ow(Pe.y,0,1)).getUTCDay():uF(ow(Pe.y,0,1)).getDay(),Pe.m=0,Pe.d="W"in Pe?(Pe.w+6)%7+Pe.W*7-(nn+5)%7:Pe.w+Pe.U*7-(nn+6)%7);return"Z"in Pe?(Pe.H+=Pe.Z/100|0,Pe.M+=Pe.Z%100,cF(Pe)):uF(Pe)}}function k(we,Ie,qe,Pe){for(var At=0,dt=Ie.length,nn=qe.length,Wt,Mn;At=nn)return-1;if(Wt=Ie.charCodeAt(At++),Wt===37){if(Wt=Ie.charAt(At++),Mn=A[Wt in r1e?Ie.charAt(At++):Wt],!Mn||(Pe=Mn(we,qe,Pe))<0)return-1}else if(Wt!=qe.charCodeAt(Pe++))return-1}return Pe}function R(we,Ie,qe){var Pe=u.exec(Ie.slice(qe));return Pe?(we.p=f.get(Pe[0].toLowerCase()),qe+Pe[0].length):-1}function O(we,Ie,qe){var Pe=h.exec(Ie.slice(qe));return Pe?(we.w=p.get(Pe[0].toLowerCase()),qe+Pe[0].length):-1}function B(we,Ie,qe){var Pe=c.exec(Ie.slice(qe));return Pe?(we.w=d.get(Pe[0].toLowerCase()),qe+Pe[0].length):-1}function K(we,Ie,qe){var Pe=x.exec(Ie.slice(qe));return Pe?(we.m=y.get(Pe[0].toLowerCase()),qe+Pe[0].length):-1}function L(we,Ie,qe){var Pe=g.exec(Ie.slice(qe));return Pe?(we.m=v.get(Pe[0].toLowerCase()),qe+Pe[0].length):-1}function $(we,Ie,qe){return k(we,t,Ie,qe)}function I(we,Ie,qe){return k(we,n,Ie,qe)}function U(we,Ie,qe){return k(we,r,Ie,qe)}function q(we){return o[we.getDay()]}function Y(we){return s[we.getDay()]}function X(we){return l[we.getMonth()]}function te(we){return a[we.getMonth()]}function le(we){return i[+(we.getHours()>=12)]}function ee(we){return 1+~~(we.getMonth()/3)}function z(we){return o[we.getUTCDay()]}function he(we){return s[we.getUTCDay()]}function de(we){return l[we.getUTCMonth()]}function ze(we){return a[we.getUTCMonth()]}function He(we){return i[+(we.getUTCHours()>=12)]}function je(we){return 1+~~(we.getUTCMonth()/3)}return{format:function(we){var Ie=T(we+="",w);return Ie.toString=function(){return we},Ie},parse:function(we){var Ie=D(we+="",!1);return Ie.toString=function(){return we},Ie},utcFormat:function(we){var Ie=T(we+="",_);return Ie.toString=function(){return we},Ie},utcParse:function(we){var Ie=D(we+="",!0);return Ie.toString=function(){return we},Ie}}}var r1e={"-":"",_:" ",0:"0"},$o=/^\s*\d+/,iqe=/^%/,sqe=/[\\^$*+?|[\]().{}]/g;function ai(e,t,n){var r=e<0?"-":"",i=(r?-e:e)+"",s=i.length;return r+(s[t.toLowerCase(),n]))}function aqe(e,t,n){var r=$o.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function lqe(e,t,n){var r=$o.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function uqe(e,t,n){var r=$o.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function cqe(e,t,n){var r=$o.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function fqe(e,t,n){var r=$o.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function i1e(e,t,n){var r=$o.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function s1e(e,t,n){var r=$o.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function dqe(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function hqe(e,t,n){var r=$o.exec(t.slice(n,n+1));return r?(e.q=r[0]*3-3,n+r[0].length):-1}function pqe(e,t,n){var r=$o.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function o1e(e,t,n){var r=$o.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function mqe(e,t,n){var r=$o.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function a1e(e,t,n){var r=$o.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function gqe(e,t,n){var r=$o.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function yqe(e,t,n){var r=$o.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function vqe(e,t,n){var r=$o.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function bqe(e,t,n){var r=$o.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function xqe(e,t,n){var r=iqe.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function wqe(e,t,n){var r=$o.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function _qe(e,t,n){var r=$o.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function l1e(e,t){return ai(e.getDate(),t,2)}function Eqe(e,t){return ai(e.getHours(),t,2)}function Sqe(e,t){return ai(e.getHours()%12||12,t,2)}function Aqe(e,t){return ai(1+Yd.count(If(e),e),t,3)}function E3e(e,t){return ai(e.getMilliseconds(),t,3)}function Cqe(e,t){return E3e(e,t)+"000"}function kqe(e,t){return ai(e.getMonth()+1,t,2)}function Tqe(e,t){return ai(e.getMinutes(),t,2)}function Dqe(e,t){return ai(e.getSeconds(),t,2)}function Lqe(e){var t=e.getDay();return t===0?7:t}function Rqe(e,t){return ai(V1.count(If(e)-1,e),t,2)}function S3e(e){var t=e.getDay();return t>=4||t===0?Qv(e):Qv.ceil(e)}function Fqe(e,t){return e=S3e(e),ai(Qv.count(If(e),e)+(If(e).getDay()===4),t,2)}function Oqe(e){return e.getDay()}function Mqe(e,t){return ai(S3.count(If(e)-1,e),t,2)}function $qe(e,t){return ai(e.getFullYear()%100,t,2)}function Iqe(e,t){return e=S3e(e),ai(e.getFullYear()%100,t,2)}function Pqe(e,t){return ai(e.getFullYear()%1e4,t,4)}function Nqe(e,t){var n=e.getDay();return e=n>=4||n===0?Qv(e):Qv.ceil(e),ai(e.getFullYear()%1e4,t,4)}function Bqe(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+ai(t/60|0,"0",2)+ai(t%60,"0",2)}function u1e(e,t){return ai(e.getUTCDate(),t,2)}function zqe(e,t){return ai(e.getUTCHours(),t,2)}function jqe(e,t){return ai(e.getUTCHours()%12||12,t,2)}function Uqe(e,t){return ai(1+Mp.count(Pf(e),e),t,3)}function A3e(e,t){return ai(e.getUTCMilliseconds(),t,3)}function qqe(e,t){return A3e(e,t)+"000"}function Hqe(e,t){return ai(e.getUTCMonth()+1,t,2)}function Gqe(e,t){return ai(e.getUTCMinutes(),t,2)}function Vqe(e,t){return ai(e.getUTCSeconds(),t,2)}function Wqe(e){var t=e.getUTCDay();return t===0?7:t}function Yqe(e,t){return ai(W1.count(Pf(e)-1,e),t,2)}function C3e(e){var t=e.getUTCDay();return t>=4||t===0?e1(e):e1.ceil(e)}function Xqe(e,t){return e=C3e(e),ai(e1.count(Pf(e),e)+(Pf(e).getUTCDay()===4),t,2)}function Zqe(e){return e.getUTCDay()}function Kqe(e,t){return ai(A3.count(Pf(e)-1,e),t,2)}function Jqe(e,t){return ai(e.getUTCFullYear()%100,t,2)}function Qqe(e,t){return e=C3e(e),ai(e.getUTCFullYear()%100,t,2)}function eHe(e,t){return ai(e.getUTCFullYear()%1e4,t,4)}function tHe(e,t){var n=e.getUTCDay();return e=n>=4||n===0?e1(e):e1.ceil(e),ai(e.getUTCFullYear()%1e4,t,4)}function nHe(){return"+0000"}function c1e(){return"%"}function f1e(e){return+e}function d1e(e){return Math.floor(+e/1e3)}var Oy,BI,k3e,zI,T3e;rHe({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function rHe(e){return Oy=_3e(e),BI=Oy.format,k3e=Oy.parse,zI=Oy.utcFormat,T3e=Oy.utcParse,Oy}function iHe(e){return new Date(e)}function sHe(e){return e instanceof Date?+e:+new Date(+e)}function jI(e,t,n,r,i,s,o,a,l,u){var f=Lze(),c=f.invert,d=f.domain,h=u(".%L"),p=u(":%S"),g=u("%I:%M"),v=u("%I %p"),x=u("%a %d"),y=u("%b %d"),w=u("%B"),_=u("%Y");function A(T){return(l(T)0&&f.length>0;)g=f.pop(),i=l.pop(),o=u.pop(),y=g.toString(),y in c||(r.push(o[0],o[1]),c[y]=!0),v=f.pop(),s=l.pop(),a=u.pop(),x=(g+v)/2,h=e(x),p=t(h),sje(p[0],p[1],o[0],o[1],a[0],a[1]){const i=r.get("graticule_label");return this.lonLabelStyleBase_.getText().setText(i),this.lonLabelStyleBase_},this.latLabelStyleBase_=new y_({text:t.latLabelStyle!==void 0?t.latLabelStyle.clone():new Bve({font:"12px Calibri,sans-serif",textAlign:"right",fill:new Y4({color:"rgba(0,0,0,1)"}),stroke:new V_({color:"rgba(255,255,255,1)",width:3})})}),this.latLabelStyle_=r=>{const i=r.get("graticule_label");return this.latLabelStyleBase_.getText().setText(i),this.latLabelStyleBase_},this.meridiansLabels_=[],this.parallelsLabels_=[],this.addEventListener(_g.POSTRENDER,this.drawLabels_.bind(this))),this.intervals_=t.intervals!==void 0?t.intervals:hHe,this.setSource(new nE({loader:this.loaderFunction.bind(this),strategy:this.strategyFunction.bind(this),features:new oje,overlaps:!1,useSpatialIndex:!1,wrapX:t.wrapX})),this.featurePool_=[],this.lineStyle_=new y_({stroke:this.strokeStyle_}),this.loadedExtent_=null,this.renderedExtent_=null,this.renderedResolution_=null,this.setRenderOrder(null)}strategyFunction(t,n){let r=t.slice();return this.projection_&&this.getSource().getWrapX()&&aje(r,this.projection_),this.loadedExtent_&&(lje(this.loadedExtent_,r,n)?r=this.loadedExtent_.slice():this.getSource().removeLoadedExtent(this.loadedExtent_)),[r]}loaderFunction(t,n,r){this.loadedExtent_=t;const i=this.getSource(),s=this.getExtent()||[-1/0,-1/0,1/0,1/0],o=e0(s,t);if(this.renderedExtent_&&W_(this.renderedExtent_,o)&&this.renderedResolution_===n||(this.renderedExtent_=o,this.renderedResolution_=n,dD(o)))return;const a=Fp(o),l=n*n/4;(!this.projection_||!wC(this.projection_,r))&&this.updateProjectionInfo_(r),this.createGraticule_(o,a,n,l);let f=this.meridians_.length+this.parallels_.length;this.meridiansLabels_&&(f+=this.meridians_.length),this.parallelsLabels_&&(f+=this.parallels_.length);let c;for(;f>this.featurePool_.length;)c=new au,this.featurePool_.push(c);const d=i.getFeaturesCollection();d.clear();let h=0,p,g;for(p=0,g=this.meridians_.length;pMath.PI/2;f=f!==p}const h=uHe(t);for(let p=l;p<=u;++p){let g=this.meridians_.length+this.parallels_.length,v,x,y,w;if(this.meridiansLabels_)for(x=0,y=this.meridiansLabels_.length;x=l?(t[0]=a[0],t[2]=a[2]):o=!0);const u=[As(n[0],this.minX_,this.maxX_),As(n[1],this.minY_,this.maxY_)],f=this.toLonLatTransform_(u);isNaN(f[1])&&(f[1]=Math.abs(this.maxLat_)>=Math.abs(this.minLat_)?this.maxLat_:this.minLat_);let c=As(f[0],this.minLon_,this.maxLon_),d=As(f[1],this.minLat_,this.maxLat_);const h=this.maxLines_;let p,g,v,x,y=t;o||(y=[As(t[0],this.minX_,this.maxX_),As(t[1],this.minY_,this.maxY_),As(t[2],this.minX_,this.maxX_),As(t[3],this.minY_,this.maxY_)]);const w=Kv(y,this.toLonLatTransform_,void 0,8);let _=w[3],A=w[2],T=w[1],D=w[0];if(o||(dv(y,this.bottomLeft_)&&(D=this.minLon_,T=this.minLat_),dv(y,this.bottomRight_)&&(A=this.maxLon_,T=this.minLat_),dv(y,this.topLeft_)&&(D=this.minLon_,_=this.maxLat_),dv(y,this.topRight_)&&(A=this.maxLon_,_=this.maxLat_),_=As(_,d,this.maxLat_),A=As(A,c,this.maxLon_),T=As(T,this.minLat_,d),D=As(D,this.minLon_,c)),c=Math.floor(c/s)*s,x=As(c,this.minLon_,this.maxLon_),g=this.addMeridian_(x,T,_,i,t,0),p=0,o)for(;(x-=s)>=D&&p++i[o]&&(s=o,o=1);const a=Math.max(n[1],i[s]),l=Math.min(n[3],i[o]),u=As(n[1]+Math.abs(n[1]-n[3])*this.lonLabelPosition_,a,l),c=[i[s-1]+(i[o-1]-i[s-1])*(u-i[s])/(i[o]-i[s]),u],d=this.meridiansLabels_[r].geom;return d.setCoordinates(c),d}getMeridians(){return this.meridians_}getParallel_(t,n,r,i,s){const o=fHe(t,n,r,this.projection_,i);let a=this.parallels_[s];return a?(a.setFlatCoordinates("XY",o),a.changed()):a=new $f(o,"XY"),a}getParallelPoint_(t,n,r){const i=t.getFlatCoordinates();let s=0,o=i.length-2;i[s]>i[o]&&(s=o,o=0);const a=Math.max(n[0],i[s]),l=Math.min(n[2],i[o]),u=As(n[0]+Math.abs(n[0]-n[2])*this.latLabelPosition_,a,l),f=i[s+1]+(i[o+1]-i[s+1])*(u-i[s])/(i[o]-i[s]),c=[u,f],d=this.parallelsLabels_[r].geom;return d.setCoordinates(c),d}getParallels(){return this.parallels_}updateProjectionInfo_(t){const n=oi("EPSG:4326"),r=t.getWorldExtent();this.maxLat_=r[3],this.maxLon_=r[2],this.minLat_=r[1],this.minLon_=r[0];const i=h3(t,n);if(this.minLon_=Math.abs(this.minLat_)?this.maxLat_:this.minLat_),this.projection_=t}};class qI extends PCe{constructor(t,n,r,i,s){const o=s!==void 0?Eg.IDLE:Eg.LOADED;super(t,n,r,o),this.loader_=s!==void 0?s:null,this.canvas_=i,this.error_=null}getError(){return this.error_}handleLoad_(t){t?(this.error_=t,this.state=Eg.ERROR):this.state=Eg.LOADED,this.changed()}load(){this.state==Eg.IDLE&&(this.state=Eg.LOADING,this.changed(),this.loader_(this.handleLoad_.bind(this)))}getImage(){return this.canvas_}}const mHe={Point:bHe,LineString:xHe,Polygon:SHe,MultiPoint:_He,MultiLineString:wHe,MultiPolygon:EHe},gHe={Point:AHe,LineString:CHe,Polygon:kHe,MultiPoint:DHe,MultiLineString:THe,MultiPolygon:LHe};class yHe extends uje{constructor(t){t=t||{},super(),this.geometryName_=t.geometryName}readFeatureFromObject(t,n,r){const i=t,s=h1e(i.geometry,n),o=new au;if(this.geometryName_&&o.setGeometryName(this.geometryName_),o.setGeometry(s),i.attributes){o.setProperties(i.attributes,!0);const a=i.attributes[r];a!==void 0&&o.setId(a)}return o}readFeaturesFromObject(t,n){if(n=n||{},t.features){const r=t,i=[],s=r.features;for(let o=0,a=s.length;o=0;s--){const u=r[s][0];if(p3(new X4(u).getExtent(),new X4(a).getExtent())){r[s].push(a),l=!0;break}}l||r.push([a.reverse()])}return r}function bHe(e){let t;return e.m!==void 0&&e.z!==void 0?t=new gc([e.x,e.y,e.z,e.m],"XYZM"):e.z!==void 0?t=new gc([e.x,e.y,e.z],"XYZ"):e.m!==void 0?t=new gc([e.x,e.y,e.m],"XYM"):t=new gc([e.x,e.y]),t}function xHe(e){const t=Y1(e);return new $f(e.paths[0],t)}function wHe(e){const t=Y1(e);return new U1(e.paths,t)}function Y1(e){let t="XY";return e.hasZ===!0&&e.hasM===!0?t="XYZM":e.hasZ===!0?t="XYZ":e.hasM===!0&&(t="XYM"),t}function _He(e){const t=Y1(e);return new hD(e.points,t)}function EHe(e){const t=Y1(e);return new rE(e.rings,t)}function SHe(e){const t=Y1(e);return new iE(e.rings,t)}function AHe(e,t){const n=e.getCoordinates();let r;const i=e.getLayout();if(i==="XYZ")r={x:n[0],y:n[1],z:n[2]};else if(i==="XYM")r={x:n[0],y:n[1],m:n[2]};else if(i==="XYZM")r={x:n[0],y:n[1],z:n[2],m:n[3]};else if(i==="XY")r={x:n[0],y:n[1]};else throw new Error("Invalid geometry layout");return r}function aE(e){const t=e.getLayout();return{hasZ:t==="XYZ"||t==="XYZM",hasM:t==="XYM"||t==="XYZM"}}function CHe(e,t){const n=aE(e);return{hasZ:n.hasZ,hasM:n.hasM,paths:[e.getCoordinates()]}}function kHe(e,t){const n=aE(e);return{hasZ:n.hasZ,hasM:n.hasM,rings:e.getCoordinates(!1)}}function THe(e,t){const n=aE(e);return{hasZ:n.hasZ,hasM:n.hasM,paths:e.getCoordinates()}}function DHe(e,t){const n=aE(e);return{hasZ:n.hasZ,hasM:n.hasM,points:e.getCoordinates()}}function LHe(e,t){const n=aE(e),r=e.getCoordinates(!1),i=[];for(let s=0;s=0;o--)i.push(r[s][o]);return{hasZ:n.hasZ,hasM:n.hasM,rings:i}}function p1e(e,t){const n=gHe[e.getType()];return n(Oo(e,!0,t),t)}const Xd="http://www.opengis.net/gml",RHe=/^\s*$/;class un extends pD{constructor(t){super(),t=t||{},this.featureType=t.featureType,this.featureNS=t.featureNS,this.srsName=t.srsName,this.schemaLocation="",this.FEATURE_COLLECTION_PARSERS={},this.FEATURE_COLLECTION_PARSERS[this.namespace]={featureMember:Tn(this.readFeaturesInternal),featureMembers:Rn(this.readFeaturesInternal)},this.supportedMediaTypes=["application/gml+xml"]}readFeaturesInternal(t,n){const r=t.localName;let i=null;if(r=="FeatureCollection")i=Rt([],this.FEATURE_COLLECTION_PARSERS,t,n,this);else if(r=="featureMembers"||r=="featureMember"||r=="member"){const s=n[0];let o=s.featureType,a=s.featureNS;const l="p",u="p0";if(!o&&t.childNodes){o=[],a={};for(let d=0,h=t.childNodes.length;d0&&!(u instanceof hje)){u={_content_:u};for(let d=0;d1,r=n&&e.imageInfo.profile[1].supports?e.imageInfo.profile[1].supports:[],i=n&&e.imageInfo.profile[1].formats?e.imageInfo.profile[1].formats:[],s=n&&e.imageInfo.profile[1].qualities?e.imageInfo.profile[1].qualities:[];return{url:e.imageInfo["@id"].replace(/\/?(?:info\.json)?$/g,""),sizes:e.imageInfo.sizes===void 0?void 0:e.imageInfo.sizes.map(function(o){return[o.width,o.height]}),tileSize:e.imageInfo.tiles===void 0?void 0:[e.imageInfo.tiles.map(function(o){return o.width})[0],e.imageInfo.tiles.map(function(o){return o.height===void 0?o.width:o.height})[0]],resolutions:e.imageInfo.tiles===void 0?void 0:e.imageInfo.tiles.map(function(o){return o.scaleFactors})[0],supports:[...t.supports,...r],formats:[...t.formats,...i],qualities:[...t.qualities,...s]}}function RGe(e){const t=e.getComplianceLevelSupportedFeatures(),n=e.imageInfo.extraFormats===void 0?t.formats:[...t.formats,...e.imageInfo.extraFormats],r=e.imageInfo.preferredFormats!==void 0&&Array.isArray(e.imageInfo.preferredFormats)&&e.imageInfo.preferredFormats.length>0?e.imageInfo.preferredFormats.filter(function(i){return["jpg","png","gif"].includes(i)}).reduce(function(i,s){return i===void 0&&n.includes(s)?s:i},void 0):void 0;return{url:e.imageInfo.id,sizes:e.imageInfo.sizes===void 0?void 0:e.imageInfo.sizes.map(function(i){return[i.width,i.height]}),tileSize:e.imageInfo.tiles===void 0?void 0:[e.imageInfo.tiles.map(function(i){return i.width})[0],e.imageInfo.tiles.map(function(i){return i.height})[0]],resolutions:e.imageInfo.tiles===void 0?void 0:e.imageInfo.tiles.map(function(i){return i.scaleFactors})[0],supports:e.imageInfo.extraFeatures===void 0?t.supports:[...t.supports,...e.imageInfo.extraFeatures],formats:n,qualities:e.imageInfo.extraQualities===void 0?t.qualities:[...t.qualities,...e.imageInfo.extraQualities],preferredFormat:r}}const DD={};DD[Zs.VERSION1]=DGe;DD[Zs.VERSION2]=LGe;DD[Zs.VERSION3]=RGe;class FGe{constructor(t){this.setImageInfo(t)}setImageInfo(t){typeof t=="string"?this.imageInfo=JSON.parse(t):this.imageInfo=t}getImageApiVersion(){if(this.imageInfo===void 0)return;let t=this.imageInfo["@context"]||"ol-no-context";typeof t=="string"&&(t=[t]);for(let n=0;n0&&typeof this.imageInfo.profile[0]=="string"&&m1e.test(this.imageInfo.profile[0]))return this.imageInfo.profile[0];break}}getComplianceLevelFromProfile(t){const n=this.getComplianceLevelEntryFromProfile(t);if(n===void 0)return;const r=n.match(/level[0-2](?:\.json)?$/g);return Array.isArray(r)?r[0].replace(".json",""):void 0}getComplianceLevelSupportedFeatures(){if(this.imageInfo===void 0)return;const t=this.getImageApiVersion(),n=this.getComplianceLevelFromProfile(t);return n===void 0?n0.none.none:n0[t][n]}getTileSourceOptions(t){const n=t||{},r=this.getImageApiVersion();if(r===void 0)return;const i=r===void 0?void 0:DD[r](this);if(i!==void 0)return{url:i.url,version:r,size:[this.imageInfo.width,this.imageInfo.height],sizes:i.sizes,format:n.format!==void 0&&i.formats.includes(n.format)?n.format:i.preferredFormat!==void 0?i.preferredFormat:"jpg",supports:i.supports,quality:n.quality&&i.qualities.includes(n.quality)?n.quality:i.qualities.includes("native")?"native":"default",resolutions:Array.isArray(i.resolutions)?i.resolutions.sort(function(s,o){return o-s}):void 0,tileSize:i.tileSize}}}class ZI{read(t){if(!t)return null;if(typeof t=="string"){const n=y3(t);return this.readFromDocument(n)}return v3(t)?this.readFromDocument(t):this.readFromNode(t)}readFromDocument(t){for(let n=t.firstChild;n;n=n.nextSibling)if(n.nodeType==Node.ELEMENT_NODE)return this.readFromNode(n);return null}readFromNode(t){Rd()}}const OGe="http://www.w3.org/1999/xlink";function X1(e){return e.getAttributeNS(OGe,"href")}const Bl=[null,"http://www.opengis.net/ows/1.1"],MGe=Zt(Bl,{ServiceIdentification:Ue(iVe),ServiceProvider:Ue(oVe),OperationsMetadata:Ue(nVe)});class I3e extends ZI{constructor(){super()}readFromNode(t){const n=Rt({},MGe,t,[]);return n||null}}const $Ge=Zt(Bl,{DeliveryPoint:Ue(Dt),City:Ue(Dt),AdministrativeArea:Ue(Dt),PostalCode:Ue(Dt),Country:Ue(Dt),ElectronicMailAddress:Ue(Dt)}),IGe=Zt(Bl,{Value:mi(aVe)}),PGe=Zt(Bl,{AllowedValues:Ue(XGe)}),NGe=Zt(Bl,{Phone:Ue(rVe),Address:Ue(YGe)}),BGe=Zt(Bl,{HTTP:Ue(eVe)}),zGe=Zt(Bl,{Get:mi(QGe),Post:void 0}),jGe=Zt(Bl,{DCP:Ue(JGe)}),UGe=Zt(Bl,{Operation:tVe}),qGe=Zt(Bl,{Voice:Ue(Dt),Facsimile:Ue(Dt)}),HGe=Zt(Bl,{Constraint:mi(ZGe)}),GGe=Zt(Bl,{IndividualName:Ue(Dt),PositionName:Ue(Dt),ContactInfo:Ue(KGe)}),VGe=Zt(Bl,{Abstract:Ue(Dt),AccessConstraints:Ue(Dt),Fees:Ue(Dt),Title:Ue(Dt),ServiceTypeVersion:Ue(Dt),ServiceType:Ue(Dt)}),WGe=Zt(Bl,{ProviderName:Ue(Dt),ProviderSite:Ue(X1),ServiceContact:Ue(sVe)});function YGe(e,t){return Rt({},$Ge,e,t)}function XGe(e,t){return Rt({},IGe,e,t)}function ZGe(e,t){const n=e.getAttribute("name");if(n)return Rt({name:n},PGe,e,t)}function KGe(e,t){return Rt({},NGe,e,t)}function JGe(e,t){return Rt({},BGe,e,t)}function QGe(e,t){const n=X1(e);if(n)return Rt({href:n},HGe,e,t)}function eVe(e,t){return Rt({},zGe,e,t)}function tVe(e,t){const n=e.getAttribute("name"),r=Rt({},jGe,e,t);if(!r)return;const i=t[t.length-1];i[n]=r}function nVe(e,t){return Rt({},UGe,e,t)}function rVe(e,t){return Rt({},qGe,e,t)}function iVe(e,t){return Rt({},VGe,e,t)}function sVe(e,t){return Rt({},GGe,e,t)}function oVe(e,t){return Rt({},WGe,e,t)}function aVe(e,t){return Dt(e)}function g1e(e,t,n,r,i,s){i!==void 0?(i=i,s=s!==void 0?s:0):(i=[],s=0);let o=t;for(;o>1):i>>1}return t}function mVe(e){let t="";for(let n=0,r=e.length;n=32;)t=(32|e&31)+63,n+=String.fromCharCode(t),e>>=5;return t=e+63,n+=String.fromCharCode(t),n}class Xr extends vt{constructor(t){t=t||{},super(t),this.schemaLocation=t.schemaLocation?t.schemaLocation:this.namespace+" http://schemas.opengis.net/gml/3.2.1/gml.xsd"}writeGeometryElement(t,n,r){const i=r[r.length-1];r[r.length-1]=Object.assign({multiCurve:!0,multiSurface:!0},i),super.writeGeometryElement(t,n,r)}}Xr.prototype.namespace="http://www.opengis.net/gml/3.2";Xr.prototype.GEOMETRY_FLAT_COORDINATES_PARSERS={"http://www.opengis.net/gml/3.2":{pos:Rn(vt.prototype.readFlatPos),posList:Rn(vt.prototype.readFlatPosList),coordinates:Rn(hr.prototype.readFlatCoordinates)}};Xr.prototype.FLAT_LINEAR_RINGS_PARSERS={"http://www.opengis.net/gml/3.2":{interior:vt.prototype.interiorParser,exterior:vt.prototype.exteriorParser}};Xr.prototype.GEOMETRY_PARSERS={"http://www.opengis.net/gml/3.2":{Point:Rn(un.prototype.readPoint),MultiPoint:Rn(un.prototype.readMultiPoint),LineString:Rn(un.prototype.readLineString),MultiLineString:Rn(un.prototype.readMultiLineString),LinearRing:Rn(un.prototype.readLinearRing),Polygon:Rn(un.prototype.readPolygon),MultiPolygon:Rn(un.prototype.readMultiPolygon),Surface:Rn(Xr.prototype.readSurface),MultiSurface:Rn(vt.prototype.readMultiSurface),Curve:Rn(Xr.prototype.readCurve),MultiCurve:Rn(vt.prototype.readMultiCurve),Envelope:Rn(Xr.prototype.readEnvelope)}};Xr.prototype.MULTICURVE_PARSERS={"http://www.opengis.net/gml/3.2":{curveMember:Tn(vt.prototype.curveMemberParser),curveMembers:Tn(vt.prototype.curveMemberParser)}};Xr.prototype.MULTISURFACE_PARSERS={"http://www.opengis.net/gml/3.2":{surfaceMember:Tn(vt.prototype.surfaceMemberParser),surfaceMembers:Tn(vt.prototype.surfaceMemberParser)}};Xr.prototype.CURVEMEMBER_PARSERS={"http://www.opengis.net/gml/3.2":{LineString:Tn(un.prototype.readLineString),Curve:Tn(vt.prototype.readCurve)}};Xr.prototype.SURFACEMEMBER_PARSERS={"http://www.opengis.net/gml/3.2":{Polygon:Tn(un.prototype.readPolygon),Surface:Tn(vt.prototype.readSurface)}};Xr.prototype.SURFACE_PARSERS={"http://www.opengis.net/gml/3.2":{patches:Rn(vt.prototype.readPatch)}};Xr.prototype.CURVE_PARSERS={"http://www.opengis.net/gml/3.2":{segments:Rn(vt.prototype.readSegment)}};Xr.prototype.ENVELOPE_PARSERS={"http://www.opengis.net/gml/3.2":{lowerCorner:Tn(vt.prototype.readFlatPosList),upperCorner:Tn(vt.prototype.readFlatPosList)}};Xr.prototype.PATCHES_PARSERS={"http://www.opengis.net/gml/3.2":{PolygonPatch:Rn(vt.prototype.readPolygonPatch)}};Xr.prototype.SEGMENTS_PARSERS={"http://www.opengis.net/gml/3.2":{LineStringSegment:BCe(vt.prototype.readLineStringSegment)}};Xr.prototype.MULTIPOINT_PARSERS={"http://www.opengis.net/gml/3.2":{pointMember:Tn(un.prototype.pointMemberParser),pointMembers:Tn(un.prototype.pointMemberParser)}};Xr.prototype.MULTILINESTRING_PARSERS={"http://www.opengis.net/gml/3.2":{lineStringMember:Tn(un.prototype.lineStringMemberParser),lineStringMembers:Tn(un.prototype.lineStringMemberParser)}};Xr.prototype.MULTIPOLYGON_PARSERS={"http://www.opengis.net/gml/3.2":{polygonMember:Tn(un.prototype.polygonMemberParser),polygonMembers:Tn(un.prototype.polygonMemberParser)}};Xr.prototype.POINTMEMBER_PARSERS={"http://www.opengis.net/gml/3.2":{Point:Tn(un.prototype.readFlatCoordinatesFromNode)}};Xr.prototype.LINESTRINGMEMBER_PARSERS={"http://www.opengis.net/gml/3.2":{LineString:Tn(un.prototype.readLineString)}};Xr.prototype.POLYGONMEMBER_PARSERS={"http://www.opengis.net/gml/3.2":{Polygon:Tn(un.prototype.readPolygon)}};Xr.prototype.RING_PARSERS={"http://www.opengis.net/gml/3.2":{LinearRing:Rn(un.prototype.readFlatLinearRing),Ring:Rn(Xr.prototype.readFlatCurveRing)}};Xr.prototype.RING_SERIALIZERS={"http://www.opengis.net/gml/3.2":{exterior:Ge(vt.prototype.writeRing),interior:Ge(vt.prototype.writeRing)}};Xr.prototype.ENVELOPE_SERIALIZERS={"http://www.opengis.net/gml/3.2":{lowerCorner:Ge(yr),upperCorner:Ge(yr)}};Xr.prototype.SURFACEORPOLYGONMEMBER_SERIALIZERS={"http://www.opengis.net/gml/3.2":{surfaceMember:Ge(vt.prototype.writeSurfaceOrPolygonMember),polygonMember:Ge(vt.prototype.writeSurfaceOrPolygonMember)}};Xr.prototype.POINTMEMBER_SERIALIZERS={"http://www.opengis.net/gml/3.2":{pointMember:Ge(vt.prototype.writePointMember)}};Xr.prototype.LINESTRINGORCURVEMEMBER_SERIALIZERS={"http://www.opengis.net/gml/3.2":{lineStringMember:Ge(vt.prototype.writeLineStringOrCurveMember),curveMember:Ge(vt.prototype.writeLineStringOrCurveMember)}};Xr.prototype.GEOMETRY_SERIALIZERS={"http://www.opengis.net/gml/3.2":{Curve:Ge(vt.prototype.writeCurveOrLineString),MultiCurve:Ge(vt.prototype.writeMultiCurveOrLineString),Point:Ge(Xr.prototype.writePoint),MultiPoint:Ge(vt.prototype.writeMultiPoint),LineString:Ge(vt.prototype.writeCurveOrLineString),MultiLineString:Ge(vt.prototype.writeMultiCurveOrLineString),LinearRing:Ge(vt.prototype.writeLinearRing),Polygon:Ge(vt.prototype.writeSurfaceOrPolygon),MultiPolygon:Ge(vt.prototype.writeMultiSurfaceOrPolygon),Surface:Ge(vt.prototype.writeSurfaceOrPolygon),MultiSurface:Ge(vt.prototype.writeMultiSurfaceOrPolygon),Envelope:Ge(vt.prototype.writeEnvelope)}};let P3e=class{constructor(t){this.tagName_=t}getTagName(){return this.tagName_}};class vVe extends P3e{constructor(t,n){super(t),this.conditions=n,Dc(this.conditions.length>=2,"At least 2 conditions are required")}}let bVe=class extends vVe{constructor(t){super("And",Array.prototype.slice.call(arguments))}};class xVe extends P3e{constructor(t,n,r){if(super("BBOX"),this.geometryName=t,this.extent=n,n.length!==4)throw new Error("Expected an extent with four values ([minX, minY, maxX, maxY])");this.srsName=r}}function wVe(e){const t=[null].concat(Array.prototype.slice.call(arguments));return new(Function.prototype.bind.apply(bVe,t))}function _Ve(e,t,n){return new xVe(e,t,n)}const y1e={"http://www.opengis.net/gml":{boundedBy:Ue(un.prototype.readExtentElement,"bounds")},"http://www.opengis.net/wfs/2.0":{member:Tn(un.prototype.readFeaturesInternal)}},EVe={"http://www.opengis.net/wfs":{totalInserted:Ue(Ds),totalUpdated:Ue(Ds),totalDeleted:Ue(Ds)},"http://www.opengis.net/wfs/2.0":{totalInserted:Ue(Ds),totalUpdated:Ue(Ds),totalDeleted:Ue(Ds)}},SVe={"http://www.opengis.net/wfs":{TransactionSummary:Ue(b1e,"transactionSummary"),InsertResults:Ue(w1e,"insertIds")},"http://www.opengis.net/wfs/2.0":{TransactionSummary:Ue(b1e,"transactionSummary"),InsertResults:Ue(w1e,"insertIds")}},AVe={"http://www.opengis.net/wfs":{PropertyName:Ge(yr)},"http://www.opengis.net/wfs/2.0":{PropertyName:Ge(yr)}},N3e={"http://www.opengis.net/wfs":{Insert:Ge(_1e),Update:Ge(S1e),Delete:Ge(E1e),Property:Ge(A1e),Native:Ge(C1e)},"http://www.opengis.net/wfs/2.0":{Insert:Ge(_1e),Update:Ge(S1e),Delete:Ge(E1e),Property:Ge(A1e),Native:Ge(C1e)}},B3e="feature",KI="http://www.w3.org/2000/xmlns/",JI={"2.0.0":"http://www.opengis.net/ogc/1.1","1.1.0":"http://www.opengis.net/ogc","1.0.0":"http://www.opengis.net/ogc"},s6={"2.0.0":"http://www.opengis.net/wfs/2.0","1.1.0":"http://www.opengis.net/wfs","1.0.0":"http://www.opengis.net/wfs"},QI={"2.0.0":"http://www.opengis.net/fes/2.0","1.1.0":"http://www.opengis.net/fes","1.0.0":"http://www.opengis.net/fes"},v1e={"2.0.0":"http://www.opengis.net/wfs/2.0 http://schemas.opengis.net/wfs/2.0/wfs.xsd","1.1.0":"http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd","1.0.0":"http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.0.0/wfs.xsd"},eP={"2.0.0":Xr,"1.1.0":vt,"1.0.0":hr},CVe="1.1.0";class kVe extends pD{constructor(t){super(),t=t||{},this.version_=t.version?t.version:CVe,this.featureType_=t.featureType,this.featureNS_=t.featureNS,this.gmlFormat_=t.gmlFormat?t.gmlFormat:new eP[this.version_],this.schemaLocation_=t.schemaLocation?t.schemaLocation:v1e[this.version_]}getFeatureType(){return this.featureType_}setFeatureType(t){this.featureType_=t}readFeaturesFromNode(t,n){const r={node:t};Object.assign(r,{featureType:this.featureType_,featureNS:this.featureNS_}),Object.assign(r,this.getReadOptions(t,n||{}));const i=[r];let s;this.version_==="2.0.0"?s=y1e:s=this.gmlFormat_.FEATURE_COLLECTION_PARSERS;let o=Rt([],s,t,i,this.gmlFormat_);return o||(o=[]),o}readTransactionResponse(t){if(t){if(typeof t=="string"){const n=y3(t);return this.readTransactionResponseFromDocument(n)}return v3(t)?this.readTransactionResponseFromDocument(t):this.readTransactionResponseFromNode(t)}}readFeatureCollectionMetadata(t){if(t){if(typeof t=="string"){const n=y3(t);return this.readFeatureCollectionMetadataFromDocument(n)}return v3(t)?this.readFeatureCollectionMetadataFromDocument(t):this.readFeatureCollectionMetadataFromNode(t)}}readFeatureCollectionMetadataFromDocument(t){for(let n=t.firstChild;n;n=n.nextSibling)if(n.nodeType==Node.ELEMENT_NODE)return this.readFeatureCollectionMetadataFromNode(n)}readFeatureCollectionMetadataFromNode(t){const n={},r=vp(t.getAttribute("numberOfFeatures"));return n.numberOfFeatures=r,Rt(n,y1e,t,[],this.gmlFormat_)}readTransactionResponseFromDocument(t){for(let n=t.firstChild;n;n=n.nextSibling)if(n.nodeType==Node.ELEMENT_NODE)return this.readTransactionResponseFromNode(n)}readTransactionResponseFromNode(t){return Rt({},SVe,t,[])}writeGetFeature(t){const n=er(s6[this.version_],"GetFeature");n.setAttribute("service","WFS"),n.setAttribute("version",this.version_),t.handle&&n.setAttribute("handle",t.handle),t.outputFormat&&n.setAttribute("outputFormat",t.outputFormat),t.maxFeatures!==void 0&&n.setAttribute("maxFeatures",String(t.maxFeatures)),t.resultType&&n.setAttribute("resultType",t.resultType),t.startIndex!==void 0&&n.setAttribute("startIndex",String(t.startIndex)),t.count!==void 0&&n.setAttribute("count",String(t.count)),t.viewParams!==void 0&&n.setAttribute("viewParams",t.viewParams),n.setAttributeNS(Y_,"xsi:schemaLocation",this.schemaLocation_);const r={node:n};if(Object.assign(r,{version:this.version_,srsName:t.srsName,featureNS:t.featureNS?t.featureNS:this.featureNS_,featurePrefix:t.featurePrefix,propertyNames:t.propertyNames?t.propertyNames:[]}),Dc(Array.isArray(t.featureTypes),"`options.featureTypes` must be an Array"),typeof t.featureTypes[0]=="string"){let i=t.filter;t.bbox&&(Dc(t.geometryName,"`options.geometryName` must also be provided when `options.bbox` is set"),i=this.combineBboxAndFilter(t.geometryName,t.bbox,t.srsName,i)),Object.assign(r,{geometryName:t.geometryName,filter:i}),I1e(n,t.featureTypes,[r])}else t.featureTypes.forEach(i=>{const s=this.combineBboxAndFilter(i.geometryName,i.bbox,t.srsName,t.filter);Object.assign(r,{geometryName:i.geometryName,filter:s}),I1e(n,[i.name],[r])});return n}combineBboxAndFilter(t,n,r,i){const s=_Ve(t,n,r);return i?wVe(i,s):s}writeTransaction(t,n,r,i){const s=[],o=i.version?i.version:this.version_,a=er(s6[o],"Transaction");a.setAttribute("service","WFS"),a.setAttribute("version",o);let l;i&&(l=i.gmlOptions?i.gmlOptions:{},i.handle&&a.setAttribute("handle",i.handle)),a.setAttributeNS(Y_,"xsi:schemaLocation",v1e[o]);const u=TVe(a,l,o,i);return t&&tA("Insert",t,s,u),n&&tA("Update",n,s,u),r&&tA("Delete",r,s,u),i.nativeElements&&tA("Native",i.nativeElements,s,u),a}readProjectionFromDocument(t){for(let n=t.firstChild;n;n=n.nextSibling)if(n.nodeType==Node.ELEMENT_NODE)return this.readProjectionFromNode(n);return null}readProjectionFromNode(t){if(t.firstElementChild&&t.firstElementChild.firstElementChild){t=t.firstElementChild.firstElementChild;for(let n=t.firstElementChild;n;n=n.nextElementSibling)if(!(n.childNodes.length===0||n.childNodes.length===1&&n.firstChild.nodeType===3)){const r=[{}];return this.gmlFormat_.readGeometryElement(n,r),oi(r.pop().srsName)}}return null}}function TVe(e,t,n,r){const i=r.featurePrefix?r.featurePrefix:B3e;let s;return n==="1.0.0"?s=2:n==="1.1.0"?s=3:n==="2.0.0"&&(s=3.2),Object.assign({node:e},{version:n,featureNS:r.featureNS,featureType:r.featureType,featurePrefix:i,gmlVersion:s,hasZ:r.hasZ,srsName:r.srsName},t)}function tA(e,t,n,r){Oi(r,N3e,tu(e),t,n)}function b1e(e,t){return Rt({},EVe,e,t)}const DVe={"http://www.opengis.net/ogc":{FeatureId:Tn(function(e,t){return e.getAttribute("fid")})},"http://www.opengis.net/ogc/1.1":{FeatureId:Tn(function(e,t){return e.getAttribute("fid")})}};function x1e(e,t){Op(DVe,e,t)}const LVe={"http://www.opengis.net/wfs":{Feature:x1e},"http://www.opengis.net/wfs/2.0":{Feature:x1e}};function w1e(e,t){return Rt([],LVe,e,t)}function _1e(e,t,n){const r=n[n.length-1],i=r.featureType,s=r.featureNS,o=r.gmlVersion,a=er(s,i);e.appendChild(a),o===2?hr.prototype.writeFeatureElement(a,t,n):o===3?vt.prototype.writeFeatureElement(a,t,n):Xr.prototype.writeFeatureElement(a,t,n)}function z3e(e,t,n){const i=n[n.length-1].version,s=JI[i],o=er(s,"Filter"),a=er(s,"FeatureId");o.appendChild(a),a.setAttribute("fid",t),e.appendChild(o)}function tP(e,t){e=e||B3e;const n=e+":";return t.startsWith(n)?t:n+t}function E1e(e,t,n){const r=n[n.length-1];Dc(t.getId()!==void 0,"Features must have an id set");const i=r.featureType,s=r.featurePrefix,o=r.featureNS,a=tP(s,i);e.setAttribute("typeName",a),e.setAttributeNS(KI,"xmlns:"+s,o);const l=t.getId();l!==void 0&&z3e(e,l,n)}function S1e(e,t,n){const r=n[n.length-1];Dc(t.getId()!==void 0,"Features must have an id set");const i=r.version,s=r.featureType,o=r.featurePrefix,a=r.featureNS,l=tP(o,s),u=t.getGeometryName();e.setAttribute("typeName",l),e.setAttributeNS(KI,"xmlns:"+o,a);const f=t.getId();if(f!==void 0){const c=t.getKeys(),d=[];for(let h=0,p=c.length;h0,i=this.readUint32(r),s=Math.floor((i&268435455)/1e3),o=!!(i&2147483648)||s===1||s===3,a=!!(i&1073741824)||s===2||s===3,l=!!(i&536870912),u=(i&268435455)%1e3,f=["XY",o?"Z":"",a?"M":""].join(""),c=l?this.readUint32(r):null;if(t!==void 0&&t!==u)throw new Error("Unexpected WKB geometry type "+u);if(this.initialized_){if(this.isLittleEndian_!==r)throw new Error("Inconsistent endian");if(this.layout_!==f)throw new Error("Inconsistent geometry layout");if(c&&this.srid_!==c)throw new Error("Inconsistent coordinate system (SRID)")}else this.isLittleEndian_=r,this.hasZ_=o,this.hasM_=a,this.layout_=f,this.srid_=c,this.initialized_=!0;return u}readWkbPayload(t){switch(t){case wi.POINT:return this.readPoint();case wi.LINE_STRING:return this.readLineString();case wi.POLYGON:case wi.TRIANGLE:return this.readPolygon();case wi.MULTI_POINT:return this.readMultiPoint();case wi.MULTI_LINE_STRING:return this.readMultiLineString();case wi.MULTI_POLYGON:case wi.POLYHEDRAL_SURFACE:case wi.TIN:return this.readMultiPolygon();case wi.GEOMETRY_COLLECTION:return this.readGeometryCollection();default:throw new Error("Unsupported WKB geometry type "+t+" is found")}}readWkbBlock(t){return this.readWkbPayload(this.readWkbHeader(t))}readWkbCollection(t,n){const r=this.readUint32(),i=[];for(let s=0;s({[i]:t[s]})));for(const i of this.layout_)this.writeDouble(i in r?r[i]:this.nodata_[i])}writeLineString(t,n){this.writeUint32(t.length);for(let r=0;ri===s?i:i==="XYZM"?s:s==="XYZM"?i:"XY";if(t instanceof zve)return r(t.getLayout(),n);if(t instanceof jp){const i=t.getGeometriesArray();for(let s=0;ss+o[0],0),n=new ArrayBuffer(t),r=new DataView(n);let i=0;return this.writeQueue_.forEach(s=>{switch(s[0]){case 1:r.setUint8(i,s[1]);break;case 4:r.setUint32(i,s[1],this.isLittleEndian_);break;case 8:r.setFloat64(i,s[1],this.isLittleEndian_);break}i+=s[0]}),n}}class MVe extends jCe{constructor(t){super(),t=t||{},this.splitCollection=!!t.splitCollection,this.viewCache_=null,this.hex_=t.hex!==!1,this.littleEndian_=t.littleEndian!==!1,this.ewkb_=t.ewkb!==!1,this.layout_=t.geometryLayout,this.nodataZ_=t.nodataZ||0,this.nodataM_=t.nodataM||0,this.srid_=t.srid}getType(){return this.hex_?"text":"arraybuffer"}readFeature(t,n){return new au({geometry:this.readGeometry(t,n)})}readFeatures(t,n){let r=[];const i=this.readGeometry(t,n);return this.splitCollection&&i instanceof jp?r=i.getGeometriesArray():r=[i],r.map(s=>new au({geometry:s}))}readGeometry(t,n){const r=N1e(t);if(!r)return null;const s=new P1e(r).readGeometry();return this.viewCache_=r,n=this.getReadOptions(t,n),this.viewCache_=null,Oo(s,!1,n)}readProjection(t){const n=this.viewCache_||N1e(t);if(!n)return;const r=new P1e(n);return r.readWkbHeader(),r.getSrid()&&oi("EPSG:"+r.getSrid())||void 0}writeFeature(t,n){return this.writeGeometry(t.getGeometry(),n)}writeFeatures(t,n){return this.writeGeometry(new jp(t.map(r=>r.getGeometry())),n)}writeGeometry(t,n){n=this.adaptOptions(n);const r=new OVe({layout:this.layout_,littleEndian:this.littleEndian_,ewkb:this.ewkb_,nodata:{Z:this.nodataZ_,M:this.nodataM_}});let i=Number.isInteger(this.srid_)?Number(this.srid_):null;if(this.srid_!==!1&&!Number.isInteger(this.srid_)){const o=n.dataProjection&&oi(n.dataProjection);if(o){const a=o.getCode();a.startsWith("EPSG:")&&(i=Number(a.substring(5)))}}r.writeGeometry(Oo(t,!0,n),i);const s=r.getBuffer();return this.hex_?$Ve(s):s}}function $Ve(e){const t=new Uint8Array(e);return Array.from(t.values()).map(n=>(n<16?"0":"")+Number(n).toString(16).toUpperCase()).join("")}function IVe(e){const t=new Uint8Array(e.length/2);for(let n=0;n="a"&&t<="z"||t>="A"&&t<="Z"}isNumeric_(t,n){return n=n!==void 0?n:!1,t>="0"&&t<="9"||t=="."&&!n}isWhiteSpace_(t){return t==" "||t==" "||t=="\r"||t==` `}nextChar_(){return this.wkt.charAt(++this.index_)}nextToken(){const t=this.nextChar_(),n=this.index_;let r=t,i;if(t=="(")i=pi.LEFT_PAREN;else if(t==",")i=pi.COMMA;else if(t==")")i=pi.RIGHT_PAREN;else if(this.isNumeric_(t)||t=="-")i=pi.NUMBER,r=this.readNumber_();else if(this.isAlpha_(t))i=pi.TEXT,r=this.readText_();else{if(this.isWhiteSpace_(t))return this.nextToken();if(t==="")i=pi.EOF;else throw new Error("Unexpected character: "+t)}return{position:n,value:r,type:i}}readNumber_(){let t;const n=this.index_;let r=!1,i=!1;do t=="."?r=!0:(t=="e"||t=="E")&&(i=!0),t=this.nextChar_();while(this.isNumeric_(t,r)||!i&&(t=="e"||t=="E")||i&&(t=="-"||t=="+"));return parseFloat(this.wkt.substring(n,this.index_--))}readText_(){let t;const n=this.index_;do t=this.nextChar_();while(this.isAlpha_(t));return this.wkt.substring(n,this.index_--).toUpperCase()}}class jVe{constructor(t){this.lexer_=t,this.token_={position:0,type:pi.START},this.layout_="XY"}consume_(){this.token_=this.lexer_.nextToken()}isTokenType(t){return this.token_.type==t}match(t){const n=this.isTokenType(t);return n&&this.consume_(),n}parse(){return this.consume_(),this.parseGeometry_()}parseGeometryLayout_(){let t="XY";const n=this.token_;if(this.isTokenType(pi.TEXT)){const r=n.value;r===U3e?t="XYZ":r===q3e?t="XYM":r===NVe&&(t="XYZM"),t!=="XY"&&this.consume_()}return t}parseGeometryCollectionText_(){if(this.match(pi.LEFT_PAREN)){const t=[];do t.push(this.parseGeometry_());while(this.match(pi.COMMA));if(this.match(pi.RIGHT_PAREN))return t}throw new Error(this.formatErrorMessage_())}parsePointText_(){if(this.match(pi.LEFT_PAREN)){const t=this.parsePoint_();if(this.match(pi.RIGHT_PAREN))return t}throw new Error(this.formatErrorMessage_())}parseLineStringText_(){if(this.match(pi.LEFT_PAREN)){const t=this.parsePointList_();if(this.match(pi.RIGHT_PAREN))return t}throw new Error(this.formatErrorMessage_())}parsePolygonText_(){if(this.match(pi.LEFT_PAREN)){const t=this.parseLineStringTextList_();if(this.match(pi.RIGHT_PAREN))return t}throw new Error(this.formatErrorMessage_())}parseMultiPointText_(){if(this.match(pi.LEFT_PAREN)){let t;if(this.token_.type==pi.LEFT_PAREN?t=this.parsePointTextList_():t=this.parsePointList_(),this.match(pi.RIGHT_PAREN))return t}throw new Error(this.formatErrorMessage_())}parseMultiLineStringText_(){if(this.match(pi.LEFT_PAREN)){const t=this.parseLineStringTextList_();if(this.match(pi.RIGHT_PAREN))return t}throw new Error(this.formatErrorMessage_())}parseMultiPolygonText_(){if(this.match(pi.LEFT_PAREN)){const t=this.parsePolygonTextList_();if(this.match(pi.RIGHT_PAREN))return t}throw new Error(this.formatErrorMessage_())}parsePoint_(){const t=[],n=this.layout_.length;for(let r=0;r0&&(i+=" "+s)}return r.length===0?i+" "+j3e:i+"("+r+")"}const eo=[null,"http://www.opengis.net/wms"];function K1(e){return vje(e[0].version,"1.3")>=0}const YVe=Zt(eo,{Service:Ue(yWe),Capability:Ue(gWe)}),Y3e={Request:Ue(CWe),Exception:Ue(wWe),Layer:Ue(_We)},XVe=Zt(eo,{...Y3e,UserDefinedSymbolization:Ue(pWe)}),ZVe=Zt(eo,Y3e);class KVe extends ZI{constructor(){super(),this.version=void 0}readFromNode(t){this.version=t.getAttribute("version").trim();const n=Rt({version:this.version},YVe,t,[]);return n||null}}const X3e={Name:Ue(Dt),Title:Ue(Dt),Abstract:Ue(Dt),KeywordList:Ue(tke),OnlineResource:Ue(X1),ContactInformation:Ue(vWe),Fees:Ue(Dt),AccessConstraints:Ue(Dt)},JVe=Zt(eo,X3e),QVe=Zt(eo,{...X3e,LayerLimit:Ue(Ds),MaxWidth:Ue(Ds),MaxHeight:Ue(Ds)}),eWe=Zt(eo,{ContactPersonPrimary:Ue(bWe),ContactPosition:Ue(Dt),ContactAddress:Ue(xWe),ContactVoiceTelephone:Ue(Dt),ContactFacsimileTelephone:Ue(Dt),ContactElectronicMailAddress:Ue(Dt)}),tWe=Zt(eo,{ContactPerson:Ue(Dt),ContactOrganization:Ue(Dt)}),nWe=Zt(eo,{AddressType:Ue(Dt),Address:Ue(Dt),City:Ue(Dt),StateOrProvince:Ue(Dt),PostCode:Ue(Dt),Country:Ue(Dt)}),rWe=Zt(eo,{Format:Tn(Dt)}),Z3e={Name:Ue(Dt),Title:Ue(Dt),Abstract:Ue(Dt),KeywordList:Ue(tke),BoundingBox:mi(Q3e),Dimension:mi(EWe),Attribution:Ue(hWe),AuthorityURL:mi(DWe),Identifier:mi(Dt),MetadataURL:mi(LWe),DataURL:mi(sh),FeatureListURL:mi(sh),Style:mi(RWe),Layer:mi(FD)},K3e=Zt(eo,{...Z3e,SRS:mi(Dt),Extent:Ue(SWe),ScaleHint:mi(AWe),LatLonBoundingBox:Ue((e,t)=>Q3e(e,t,!1)),Layer:mi(FD)}),J3e=Zt(eo,{...Z3e,CRS:mi(Dt),EX_GeographicBoundingBox:Ue(mWe),MinScaleDenominator:Ue(Ea),MaxScaleDenominator:Ue(Ea),Layer:mi(FD)}),iWe=Zt(eo,{Title:Ue(Dt),OnlineResource:Ue(X1),LogoURL:Ue(eke)}),sWe=Zt(eo,{westBoundLongitude:Ue(Ea),eastBoundLongitude:Ue(Ea),southBoundLatitude:Ue(Ea),northBoundLatitude:Ue(Ea)}),oWe=Zt(eo,{GetCapabilities:Ue(fF),GetMap:Ue(fF),GetFeatureInfo:Ue(fF)}),aWe=Zt(eo,{Format:mi(Dt),DCPType:mi(kWe)}),lWe=Zt(eo,{HTTP:Ue(TWe)}),uWe=Zt(eo,{Get:Ue(sh),Post:Ue(sh)}),cWe=Zt(eo,{Name:Ue(Dt),Title:Ue(Dt),Abstract:Ue(Dt),LegendURL:mi(eke),StyleSheetURL:Ue(sh),StyleURL:Ue(sh)}),fWe=Zt(eo,{Format:Ue(Dt),OnlineResource:Ue(X1)}),dWe=Zt(eo,{Keyword:Tn(Dt)});function hWe(e,t){return Rt({},iWe,e,t)}function pWe(e,t){return{SupportSLD:!!yc(e.getAttribute("UserDefinedSymbolization")),UserLayer:!!yc(e.getAttribute("UserLayer")),UserStyle:!!yc(e.getAttribute("UserStyle")),RemoteWFS:!!yc(e.getAttribute("RemoteWFS"))}}function Q3e(e,t,n=!0){const r=[gf(e.getAttribute("minx")),gf(e.getAttribute("miny")),gf(e.getAttribute("maxx")),gf(e.getAttribute("maxy"))],i=[gf(e.getAttribute("resx")),gf(e.getAttribute("resy"))],s={extent:r,res:i};return n&&(K1(t)?s.crs=e.getAttribute("CRS"):s.srs=e.getAttribute("SRS")),s}function mWe(e,t){const n=Rt({},sWe,e,t);if(!n)return;const r=n.westBoundLongitude,i=n.southBoundLatitude,s=n.eastBoundLongitude,o=n.northBoundLatitude;if(!(r===void 0||i===void 0||s===void 0||o===void 0))return[r,i,s,o]}function gWe(e,t){return Rt({},K1(t)?ZVe:XVe,e,t)}function yWe(e,t){return Rt({},K1(t)?QVe:JVe,e,t)}function vWe(e,t){return Rt({},eWe,e,t)}function bWe(e,t){return Rt({},tWe,e,t)}function xWe(e,t){return Rt({},nWe,e,t)}function wWe(e,t){return Rt([],rWe,e,t)}function _We(e,t){const n=Rt({},K1(t)?J3e:K3e,e,t);return n.Layer===void 0?Object.assign(n,FD(e,t)):n}function FD(e,t){const n=K1(t),r=t[t.length-1],i=Rt({},n?J3e:K3e,e,t);if(!i)return;let s=yc(e.getAttribute("queryable"));s===void 0&&(s=r.queryable),i.queryable=s!==void 0?s:!1;let o=vp(e.getAttribute("cascaded"));o===void 0&&(o=r.cascaded),i.cascaded=o;let a=yc(e.getAttribute("opaque"));a===void 0&&(a=r.opaque),i.opaque=a!==void 0?a:!1;let l=yc(e.getAttribute("noSubsets"));l===void 0&&(l=r.noSubsets),i.noSubsets=l!==void 0?l:!1;let u=gf(e.getAttribute("fixedWidth"));u||(u=r.fixedWidth),i.fixedWidth=u;let f=gf(e.getAttribute("fixedHeight"));f||(f=r.fixedHeight),i.fixedHeight=f;const c=["Style","AuthorityURL"];n?c.push("CRS"):c.push("SRS","Dimension"),c.forEach(function(h){if(h in r){const p=i[h]||[];i[h]=p.concat(r[h])}});const d=["BoundingBox","Attribution"];return n?d.push("Dimension","EX_GeographicBoundingBox","MinScaleDenominator","MaxScaleDenominator"):d.push("LatLonBoundingBox","ScaleHint","Extent"),d.forEach(function(h){if(!(h in i)){const p=r[h];i[h]=p}}),i}function EWe(e,t){const n={name:e.getAttribute("name"),units:e.getAttribute("units"),unitSymbol:e.getAttribute("unitSymbol")};return K1(t)&&Object.assign(n,{default:e.getAttribute("default"),multipleValues:yc(e.getAttribute("multipleValues")),nearestValue:yc(e.getAttribute("nearestValue")),current:yc(e.getAttribute("current")),values:Dt(e)}),n}function SWe(e,t){return{name:e.getAttribute("name"),default:e.getAttribute("default"),nearestValue:yc(e.getAttribute("nearestValue"))}}function AWe(e,t){return{min:gf(e.getAttribute("min")),max:gf(e.getAttribute("max"))}}function sh(e,t){return Rt({},fWe,e,t)}function CWe(e,t){return Rt({},oWe,e,t)}function kWe(e,t){return Rt({},lWe,e,t)}function TWe(e,t){return Rt({},uWe,e,t)}function fF(e,t){return Rt({},aWe,e,t)}function eke(e,t){const n=sh(e,t);if(n){const r=[vp(e.getAttribute("width")),vp(e.getAttribute("height"))];return n.size=r,n}}function DWe(e,t){const n=sh(e,t);if(n)return n.name=e.getAttribute("name"),n}function LWe(e,t){const n=sh(e,t);if(n)return n.type=e.getAttribute("type"),n}function RWe(e,t){return Rt({},cWe,e,t)}function tke(e,t){return Rt([],dWe,e,t)}const FWe="_feature",OWe="_layer";class MWe extends pD{constructor(t){super(),t=t||{},this.featureNS_="http://mapserver.gis.umn.edu/mapserver",this.gmlFormat_=new hr,this.layers_=t.layers?t.layers:null}getLayers(){return this.layers_}setLayers(t){this.layers_=t}readFeatures_(t,n){t.setAttribute("namespaceURI",this.featureNS_);const r=t.localName;let i=[];if(t.childNodes.length===0)return i;if(r=="msGMLOutput")for(let s=0,o=t.childNodes.length;s{t.getState()==="ready"&&(t.removeEventListener("change",n),this.setStyle(this.style_))};t.addEventListener("change",n)}else this.setStyle(this.style_)}getSourceBandCount_(){const t=Number.MAX_SAFE_INTEGER,n=this.getSources([-t,-t,t,t],t);return n&&n.length&&"bandCount"in n[0]?n[0].bandCount:4}createRenderer(){const t=Y1e(this.style_,this.getSourceBandCount_());return new CYe(this,{vertexShader:t.vertexShader,fragmentShader:t.fragmentShader,uniforms:t.uniforms,cacheSize:this.getCacheSize(),paletteTextures:t.paletteTextures})}renderSources(t,n){const r=this.getRenderer();let i;for(let s=0,o=n.length;s{u.getState()=="ready"&&(u.removeEventListener("change",c),this.changed())};u.addEventListener("change",c)}s=s&&f=="ready"}const o=this.renderSources(t,i);if(this.getRenderer().renderComplete&&s)return this.renderedResolution_=r.resolution,o;if(this.renderedResolution_>.5*r.resolution){const a=this.getSources(t.extent,this.renderedResolution_).filter(l=>!i.includes(l));if(a.length>0)return this.renderSources(t,a)}return o}setStyle(t){if(this.styleVariables_=t.variables||{},this.style_=t,this.hasRenderer()){const n=Y1e(this.style_,this.getSourceBandCount_());this.getRenderer().reset({vertexShader:n.vertexShader,fragmentShader:n.fragmentShader,uniforms:n.uniforms,paletteTextures:n.paletteTextures}),this.changed()}}updateStyleVariables(t){Object.assign(this.styleVariables_,t),this.changed()}}L3.prototype.dispose;class VYe{constructor(){this.globalCounter_=0,this.refToFeature_=new Map,this.uidToRef_=new Map,this.freeGlobalRef_=[],this.polygonBatch={entries:{},geometriesCount:0,verticesCount:0,ringsCount:0},this.pointBatch={entries:{},geometriesCount:0},this.lineStringBatch={entries:{},geometriesCount:0,verticesCount:0}}addFeatures(t,n){for(let r=0;r0?u[f-1]:null,p=h?h[h.length-1]:0,g=d[d.length-1];d=p>0?d.map(v=>v-p):d,this.addCoordinates_("Polygon",n.slice(p,g),d,i,s,o,a)}break}case"MultiLineString":{const u=r;for(let f=0,c=u.length;f0?u[f-1]:0;this.addCoordinates_("LineString",n.slice(d,u[f]),null,i,s,o,a)}break}case"MultiPoint":for(let u=0,f=n.length;u1){this.addCoordinates_("MultiPolygon",n,d,i,s,o,a);return}}this.polygonBatch.entries[s]||(this.polygonBatch.entries[s]=this.addRefToEntry_(s,{feature:i,flatCoordss:[],verticesCount:0,ringsCount:0,ringsVerticesCounts:[]})),l=n.length/o;const f=r.length,c=r.map((d,h,p)=>h>0?(d-p[h-1])/o:d/o);this.polygonBatch.verticesCount+=l,this.polygonBatch.ringsCount+=f,this.polygonBatch.geometriesCount++,this.polygonBatch.entries[s].flatCoordss.push(WYe(n,o)),this.polygonBatch.entries[s].ringsVerticesCounts.push(c),this.polygonBatch.entries[s].verticesCount+=l,this.polygonBatch.entries[s].ringsCount+=f;for(let d=0,h=u.length;d0?u[d-1]:0;this.addCoordinates_("LinearRing",n.slice(p,u[d]),null,i,s,o,a)}break}case"Point":this.pointBatch.entries[s]||(this.pointBatch.entries[s]=this.addRefToEntry_(s,{feature:i,flatCoordss:[]})),this.pointBatch.geometriesCount++,this.pointBatch.entries[s].flatCoordss.push(n);break;case"LineString":case"LinearRing":this.lineStringBatch.entries[s]||(this.lineStringBatch.entries[s]=this.addRefToEntry_(s,{feature:i,flatCoordss:[],verticesCount:0})),l=n.length/o,this.lineStringBatch.verticesCount+=l,this.lineStringBatch.geometriesCount++,this.lineStringBatch.entries[s].flatCoordss.push(YYe(n,o,a)),this.lineStringBatch.entries[s].verticesCount+=l;break}}addRefToEntry_(t,n){const r=this.uidToRef_.get(t),i=r||this.freeGlobalRef_.pop()||++this.globalCounter_;return n.ref=i,r||(this.refToFeature_.set(i,n.feature),this.uidToRef_.set(t,i)),n}returnRef_(t,n){if(!t)throw new Error("This feature has no ref: "+n);this.refToFeature_.delete(t),this.uidToRef_.delete(n),this.freeGlobalRef_.push(t)}changeFeature(t){this.removeFeature(t);const n=t.getGeometry();n&&this.addGeometry_(n,t)}removeFeature(t){let n;n=this.clearFeatureEntryInPointBatch_(t)||n,n=this.clearFeatureEntryInPolygonBatch_(t)||n,n=this.clearFeatureEntryInLineStringBatch_(t)||n,n&&this.returnRef_(n.ref,Ei(n.feature))}clear(){this.polygonBatch.entries={},this.polygonBatch.geometriesCount=0,this.polygonBatch.verticesCount=0,this.polygonBatch.ringsCount=0,this.lineStringBatch.entries={},this.lineStringBatch.geometriesCount=0,this.lineStringBatch.verticesCount=0,this.pointBatch.entries={},this.pointBatch.geometriesCount=0,this.globalCounter_=0,this.freeGlobalRef_=[],this.refToFeature_.clear(),this.uidToRef_.clear()}getFeatureFromRef(t){return this.refToFeature_.get(t)}}function WYe(e,t){return t===2?e:e.filter((n,r)=>r%t<2)}function YYe(e,t,n){return t===3&&n==="XYM"?e:t===4?e.filter((r,i)=>i%t!==2):t===3?e.map((r,i)=>i%t!==2?r:0):new Array(e.length*1.5).fill(0).map((r,i)=>i%3===2?0:e[Math.round(i/1.5)])}function fP(e,t,n,r){let i=0;for(const s in t){const o=t[s],a=o.callback.call(n,n.feature);e[r+i++]=a[0]??a,!(!o.size||o.size===1)&&(e[r+i++]=a[1],!(o.size<3)&&(e[r+i++]=a[2],!(o.size<4)&&(e[r+i++]=a[3])))}return i}function OD(e){return Object.keys(e).reduce((t,n)=>t+(e[n].size||1),0)}function XYe(e,t,n,r){const i=(2+OD(n))*e.geometriesCount;(!t||t.length!==i)&&(t=new Float32Array(i));const s=[];let o=0;for(const a in e.entries){const l=e.entries[a];for(let u=0,f=l.flatCoordss.length;u({name:`a_${u}`,size:f.size||1,type:$s.FLOAT}));this.polygonAttributesDesc_=[{name:sf.POSITION,size:2,type:$s.FLOAT},...l],this.lineStringAttributesDesc_=[{name:sf.SEGMENT_START,size:2,type:$s.FLOAT},{name:sf.MEASURE_START,size:1,type:$s.FLOAT},{name:sf.SEGMENT_END,size:2,type:$s.FLOAT},{name:sf.MEASURE_END,size:1,type:$s.FLOAT},{name:sf.JOIN_ANGLES,size:2,type:$s.FLOAT},{name:sf.DISTANCE,size:1,type:$s.FLOAT},{name:sf.PARAMETERS,size:1,type:$s.FLOAT},...l],this.pointAttributesDesc_=[{name:sf.POSITION,size:2,type:$s.FLOAT},{name:sf.INDEX,size:1,type:$s.FLOAT},...l],this.setHelper(r)}async generateBuffers(t,n){const r=this.generateRenderInstructions_(t,n),[i,s,o]=await Promise.all([this.generateBuffersForType_(r.polygonInstructions,"Polygon",n),this.generateBuffersForType_(r.lineStringInstructions,"LineString",n),this.generateBuffersForType_(r.pointInstructions,"Point",n)]),a=X_(Ko(),n);return{polygonBuffers:i,lineStringBuffers:s,pointBuffers:o,invertVerticesTransform:a}}generateRenderInstructions_(t,n){const r=this.hasFill_?KYe(t.polygonBatch,new Float32Array(0),this.customAttributes_,n):null,i=this.hasStroke_?ZYe(t.lineStringBatch,new Float32Array(0),this.customAttributes_,n):null,s=this.hasSymbol_?XYe(t.pointBatch,new Float32Array(0),this.customAttributes_,n):null;return{polygonInstructions:r,lineStringInstructions:i,pointInstructions:s}}generateBuffersForType_(t,n,r){if(t===null)return null;const i=QYe++;let s;switch(n){case"Polygon":s=v_.GENERATE_POLYGON_BUFFERS;break;case"LineString":s=v_.GENERATE_LINE_STRING_BUFFERS;break;case"Point":s=v_.GENERATE_POINT_BUFFERS;break}const o={id:i,type:s,renderInstructions:t.buffer,renderInstructionsTransform:r,customAttributesSize:OD(this.customAttributes_)};return mF.postMessage(o,[t.buffer]),t=null,new Promise(a=>{const l=u=>{const f=u.data;if(f.id!==i||(mF.removeEventListener("message",l),!this.helper_.getGL()))return;const c=new t1(uE,i2).fromArrayBuffer(f.vertexBuffer),d=new t1(cE,i2).fromArrayBuffer(f.indexBuffer);this.helper_.flushBufferData(c),this.helper_.flushBufferData(d),a([d,c])};mF.addEventListener("message",l)})}render(t,n,r){this.hasFill_&&this.renderInternal_(t.polygonBuffers[0],t.polygonBuffers[1],this.fillProgram_,this.polygonAttributesDesc_,n,r),this.hasStroke_&&this.renderInternal_(t.lineStringBuffers[0],t.lineStringBuffers[1],this.strokeProgram_,this.lineStringAttributesDesc_,n,r),this.hasSymbol_&&this.renderInternal_(t.pointBuffers[0],t.pointBuffers[1],this.symbolProgram_,this.pointAttributesDesc_,n,r)}renderInternal_(t,n,r,i,s,o){const a=t.getSize();a!==0&&(this.helper_.useProgram(r,s),this.helper_.bindBuffer(n),this.helper_.bindBuffer(t),this.helper_.enableAttributes(i),o(),this.helper_.drawElements(0,a))}setHelper(t,n=null){this.helper_=t,this.hasFill_&&(this.fillProgram_=this.helper_.getProgram(this.fillFragmentShader_,this.fillVertexShader_)),this.hasStroke_&&(this.strokeProgram_=this.helper_.getProgram(this.strokeFragmentShader_,this.strokeVertexShader_)),this.hasSymbol_&&(this.symbolProgram_=this.helper_.getProgram(this.symbolFragmentShader_,this.symbolVertexShader_)),this.helper_.addUniforms(this.uniforms_),n&&(n.polygonBuffers&&(this.helper_.flushBufferData(n.polygonBuffers[0]),this.helper_.flushBufferData(n.polygonBuffers[1])),n.lineStringBuffers&&(this.helper_.flushBufferData(n.lineStringBuffers[0]),this.helper_.flushBufferData(n.lineStringBuffers[1])),n.pointBuffers&&(this.helper_.flushBufferData(n.pointBuffers[0]),this.helper_.flushBufferData(n.pointBuffers[1])))}}const Iy={...df,RENDER_EXTENT:"u_renderExtent",PATTERN_ORIGIN:"u_patternOrigin",GLOBAL_ALPHA:"u_globalAlpha"};class tXe extends fE{constructor(t,n){const r={[Iy.RENDER_EXTENT]:[0,0,0,0],[Iy.PATTERN_ORIGIN]:[0,0],[Iy.GLOBAL_ALPHA]:1};super(t,{uniforms:r,postProcesses:n.postProcesses}),this.hitDetectionEnabled_=!n.disableHitDetection,this.hitRenderTarget_,this.sourceRevision_=-1,this.previousExtent_=yD(),this.currentTransform_=Ko(),this.tmpCoords_=[0,0],this.tmpTransform_=Ko(),this.tmpMat4_=EI(),this.currentFrameStateTransform_=Ko(),this.styleVariables_={},this.styles_=[],this.styleRenderers_=[],this.buffers_=[],this.applyOptions_(n),this.batch_=new VYe,this.initialFeaturesAdded_=!1,this.sourceListenKeys_=null}addInitialFeatures_(t){const n=this.getLayer().getSource();let r;this.batch_.addFeatures(n.getFeatures(),r),this.sourceListenKeys_=[bp(n,xp.ADDFEATURE,this.handleSourceFeatureAdded_.bind(this,r)),bp(n,xp.CHANGEFEATURE,this.handleSourceFeatureChanged_,this),bp(n,xp.REMOVEFEATURE,this.handleSourceFeatureDelete_,this),bp(n,xp.CLEAR,this.handleSourceFeatureClear_,this)]}applyOptions_(t){this.styleVariables_=t.variables,this.styles_=Array.isArray(t.style)?t.style:[t.style]}createRenderers_(){this.buffers_=[],this.styleRenderers_=this.styles_.map(t=>new eXe(t,this.styleVariables_,this.helper,this.hitDetectionEnabled_))}reset(t){this.applyOptions_(t),this.helper&&this.createRenderers_(),super.reset(t)}afterHelperCreated(){this.styleRenderers_.length?this.styleRenderers_.forEach((t,n)=>t.setHelper(this.helper,this.buffers_[n])):this.createRenderers_(),this.hitDetectionEnabled_&&(this.hitRenderTarget_=new oke(this.helper))}handleSourceFeatureAdded_(t,n){const r=n.feature;this.batch_.addFeature(r,t)}handleSourceFeatureChanged_(t){const n=t.feature;this.batch_.changeFeature(n)}handleSourceFeatureDelete_(t){const n=t.feature;this.batch_.removeFeature(n)}handleSourceFeatureClear_(){this.batch_.clear()}applyUniforms_(t){Uje(this.tmpTransform_,this.currentFrameStateTransform_),G_(this.tmpTransform_,t),this.helper.setUniformMatrixValue(Iy.PROJECTION_MATRIX,x3(this.tmpMat4_,this.tmpTransform_)),X_(this.tmpTransform_,this.tmpTransform_),this.helper.setUniformMatrixValue(Iy.SCREEN_TO_WORLD_MATRIX,x3(this.tmpMat4_,this.tmpTransform_)),this.tmpCoords_[0]=0,this.tmpCoords_[1]=0,X_(this.tmpTransform_,t),rh(this.tmpTransform_,this.tmpCoords_),this.helper.setUniformFloatVec2(Iy.PATTERN_ORIGIN,this.tmpCoords_)}renderFrame(t){const n=this.helper.getGL();this.preRender(n,t);const[r,i,s]=cke(t,this.getLayer());this.helper.prepareDraw(t),this.renderWorlds(t,!1,r,i,s),this.helper.finalizeDraw(t,this.dispatchPreComposeEvent,this.dispatchPostComposeEvent);const o=this.helper.getCanvas();return this.hitDetectionEnabled_&&(this.renderWorlds(t,!0,r,i,s),this.hitRenderTarget_.clearCachedData()),this.postRender(n,t),o}prepareFrameInternal(t){this.initialFeaturesAdded_||(this.addInitialFeatures_(t),this.initialFeaturesAdded_=!0);const n=this.getLayer(),r=n.getSource(),i=t.viewState,s=!t.viewHints[Up.ANIMATING]&&!t.viewHints[Up.INTERACTING],o=!W_(this.previousExtent_,t.extent),a=this.sourceRevision_p.generateBuffers(this.batch_,d).then(v=>{this.buffers_[g]&&this.disposeBuffers(this.buffers_[g]),this.buffers_[g]=v}));Promise.all(h).then(()=>{this.ready=!0,this.getLayer().changed()}),this.previousExtent_=t.extent.slice()}return!0}renderWorlds(t,n,r,i,s){let o=r;n&&(this.hitRenderTarget_.setSize([Math.floor(t.size[0]/2),Math.floor(t.size[1]/2)]),this.helper.prepareDrawToRenderTarget(t,this.hitRenderTarget_,!0));do{this.helper.makeProjectionTransform(t,this.currentFrameStateTransform_),CI(this.currentFrameStateTransform_,o*s,0);for(let a=0,l=this.styleRenderers_.length;a{this.applyUniforms_(f.invertVerticesTransform),this.helper.applyHitDetectionUniform(n)})}}while(++othis.helper.deleteBuffer(n)),t.lineStringBuffers&&t.lineStringBuffers.filter(Boolean).forEach(n=>this.helper.deleteBuffer(n)),t.polygonBuffers&&t.polygonBuffers.filter(Boolean).forEach(n=>this.helper.deleteBuffer(n))}disposeInternal(){this.buffers_.forEach(t=>{this.disposeBuffers(t)}),this.sourceListenKeys_&&(this.sourceListenKeys_.forEach(function(t){HCe(t)}),this.sourceListenKeys_=null),super.disposeInternal()}}class nXe extends LI{constructor(t){const n=Object.assign({},t);super(n),this.styleVariables_=t.variables||{},this.style_=t.style,this.hitDetectionDisabled_=!!t.disableHitDetection}createRenderer(){return new tXe(this,{style:this.style_,variables:this.styleVariables_,disableHitDetection:this.hitDetectionDisabled_})}updateStyleVariables(t){Object.assign(this.styleVariables_,t),this.changed()}setStyle(t){this.style=t,this.clearRenderer(),this.changed()}}const rXe=Object.freeze(Object.defineProperty({__proto__:null,Graticule:pHe,Group:w3,Heatmap:MYe,Image:RI,Layer:LI,Tile:_3,Vector:bI,VectorImage:PYe,VectorTile:KCe,WebGLPoints:GYe,WebGLTile:L3,WebGLVector:nXe},Symbol.toStringTag,{value:"Module"}));function iXe(e){const t=e[0],n=new Array(t);let r=1<>=1;return n.join("")}const sXe='Terms of Use';class oXe extends gh{constructor(t){const n=t.hidpi!==void 0?t.hidpi:!1;super({cacheSize:t.cacheSize,crossOrigin:"anonymous",interpolate:t.interpolate,projection:oi("EPSG:3857"),reprojectionErrorThreshold:t.reprojectionErrorThreshold,state:"loading",tileLoadFunction:t.tileLoadFunction,tilePixelRatio:n?2:1,wrapX:t.wrapX!==void 0?t.wrapX:!0,transition:t.transition,zDirection:t.zDirection}),this.hidpi_=n,this.culture_=t.culture!==void 0?t.culture:"en-us",this.maxZoom_=t.maxZoom!==void 0?t.maxZoom:-1,this.apiKey_=t.key,this.imagerySet_=t.imagerySet,this.placeholderTiles_=t.placeholderTiles;const r="https://dev.virtualearth.net/REST/v1/Imagery/Metadata/"+this.imagerySet_+"?uriScheme=https&include=ImageryProviders&key="+this.apiKey_+"&c="+this.culture_;fetch(r).then(i=>i.json()).then(i=>this.handleImageryMetadataResponse(i))}getApiKey(){return this.apiKey_}getImagerySet(){return this.imagerySet_}handleImageryMetadataResponse(t){if(t.statusCode!=200||t.statusDescription!="OK"||t.authenticationResultCode!="ValidCredentials"||t.resourceSets.length!=1||t.resourceSets[0].resources.length!=1){this.setState("error");return}const n=t.resourceSets[0].resources[0],r=this.maxZoom_==-1?n.zoomMax:this.maxZoom_,i=this.getProjection(),s=sE(i),o=this.hidpi_?2:1,a=n.imageWidth==n.imageHeight?n.imageWidth/o:[n.imageWidth/o,n.imageHeight/o],l=oE({extent:s,minZoom:n.zoomMin,maxZoom:r,tileSize:a});this.tileGrid=l;const u=this.culture_,f=this.hidpi_,c=this.placeholderTiles_;if(this.tileUrlFunction=FI(n.imageUrlSubdomains.map(function(d){const h=[0,0,0],p=n.imageUrl.replace("{subdomain}",d).replace("{culture}",u);return function(g,v,x){if(!g)return;K4(g[0],g[1],g[2],h);const y=new URL(p.replace("{quadkey}",iXe(h))),w=y.searchParams;return f&&(w.set("dpi","d1"),w.set("device","mobile")),c===!0?w.delete("n"):c===!1&&w.set("n","z"),y.toString()}})),n.imageryProviders){const d=OI(oi("EPSG:4326"),this.getProjection());this.setAttributions(h=>{const p=[],g=h.viewState,v=this.getTileGrid(),x=v.getZForResolution(g.resolution,this.zDirection),w=v.getTileCoordForCoordAndZ(g.center,x)[0];return n.imageryProviders.map(function(_){let A=!1;const T=_.coverageAreas;for(let D=0,k=T.length;D=R.zoomMin&&w<=R.zoomMax){const O=R.bbox,B=[O[1],O[0],O[3],O[2]],K=Kv(B,d);if(Zv(K,h.extent)){A=!0;break}}}A&&p.push(_.attribution)}),p.push(sXe),p})}this.setState("ready")}}class aXe extends J_{constructor(t){super({attributions:t.attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,maxZoom:t.maxZoom!==void 0?t.maxZoom:18,minZoom:t.minZoom,projection:t.projection,transition:t.transition,wrapX:t.wrapX,zDirection:t.zDirection}),this.account_=t.account,this.mapId_=t.map||"",this.config_=t.config||{},this.templateCache_={},this.initializeMap_()}getConfig(){return this.config_}updateConfig(t){Object.assign(this.config_,t),this.initializeMap_()}setConfig(t){this.config_=t||{},this.initializeMap_()}initializeMap_(){const t=JSON.stringify(this.config_);if(this.templateCache_[t]){this.applyTemplate_(this.templateCache_[t]);return}let n="https://"+this.account_+".carto.com/api/v1/map";this.mapId_&&(n+="/named/"+this.mapId_);const r=new XMLHttpRequest;r.addEventListener("load",this.handleInitResponse_.bind(this,t)),r.addEventListener("error",this.handleInitError_.bind(this)),r.open("POST",n),r.setRequestHeader("Content-type","application/json"),r.send(JSON.stringify(this.config_))}handleInitResponse_(t,n){const r=n.target;if(!r.status||r.status>=200&&r.status<300){let i;try{i=JSON.parse(r.responseText)}catch{this.setState("error");return}this.applyTemplate_(i),this.templateCache_[t]=i,this.setState("ready")}else this.setState("error")}handleInitError_(t){this.setState("error")}applyTemplate_(t){const n="https://"+t.cdn_url.https+"/"+this.account_+"/api/v1/map/"+t.layergroupid+"/{z}/{x}/{y}.png";this.setUrl(n)}}class lXe extends nE{constructor(t){t=t||{},super({attributions:t.attributions,wrapX:t.wrapX}),this.resolution=void 0,this.distance=t.distance!==void 0?t.distance:20,this.minDistance=t.minDistance||0,this.interpolationRatio=0,this.features=[],this.geometryFunction=t.geometryFunction||function(n){const r=n.getGeometry();return Dc(!r||r.getType()==="Point","The default `geometryFunction` can only handle `Point` or null geometries"),r},this.createCustomCluster_=t.createCluster,this.source=null,this.boundRefresh_=this.refresh.bind(this),this.updateDistance(this.distance,this.minDistance),this.setSource(t.source||null)}clear(t){this.features.length=0,super.clear(t)}getDistance(){return this.distance}getSource(){return this.source}loadFeatures(t,n,r){var i;(i=this.source)==null||i.loadFeatures(t,n,r),n!==this.resolution&&(this.resolution=n,this.refresh())}setDistance(t){this.updateDistance(t,this.minDistance)}setMinDistance(t){this.updateDistance(this.distance,t)}getMinDistance(){return this.minDistance}setSource(t){this.source&&this.source.removeEventListener(Cl.CHANGE,this.boundRefresh_),this.source=t,t&&t.addEventListener(Cl.CHANGE,this.boundRefresh_),this.refresh()}refresh(){this.clear(),this.cluster(),this.addFeatures(this.features)}updateDistance(t,n){const r=t===0?0:Math.min(n,t)/t,i=t!==this.distance||this.interpolationRatio!==r;this.distance=t,this.minDistance=n,this.interpolationRatio=r,i&&this.refresh()}cluster(){if(this.resolution===void 0||!this.source)return;const t=yD(),n=this.distance*this.resolution,r=this.source.getFeatures(),i={};for(let s=0,o=r.length;s=0;--a){const l=this.geometryFunction(t[a]);l?Hje(r,l.getCoordinates()):t.splice(a,1)}Gje(r,1/t.length);const i=Fp(n),s=this.interpolationRatio,o=new gc([r[0]*(1-s)+i[0]*s,r[1]*(1-s)+i[1]*s]);return this.createCustomCluster_?this.createCustomCluster_(o,t):new au({geometry:o,features:t})}}class dE extends bD{constructor(t){const n=t.projection===void 0?"EPSG:3857":t.projection;let r=t.tileGrid;r===void 0&&n&&(r=oE({extent:sE(n),maxResolution:t.maxResolution,maxZoom:t.maxZoom,minZoom:t.minZoom,tileSize:t.tileSize})),super({cacheSize:.1,attributions:t.attributions,attributionsCollapsible:t.attributionsCollapsible,projection:n,tileGrid:r,state:t.state,wrapX:t.wrapX,transition:t.transition,interpolate:t.interpolate,key:t.key,zDirection:t.zDirection}),this.gutter_=t.gutter!==void 0?t.gutter:0,this.tileSize_=t.tileSize?Ec(t.tileSize):null,this.tileSizes_=null,this.tileLoadingKeys_={},this.loader_=t.loader,this.handleTileChange_=this.handleTileChange_.bind(this),this.bandCount=t.bandCount===void 0?4:t.bandCount,this.tileGridForProjection_={},this.crossOrigin_=t.crossOrigin||"anonymous",this.transformMatrix=null}setTileSizes(t){this.tileSizes_=t}getTileSize(t){if(this.tileSizes_)return this.tileSizes_[t];if(this.tileSize_)return this.tileSize_;const n=this.getTileGrid();return n?Ec(n.getTileSize(t)):[256,256]}getGutterForProjection(t){const n=this.getProjection();return(!n||wC(n,t))&&!this.transformMatrix?this.gutter_:0}setLoader(t){this.loader_=t}getReprojTile_(t,n,r,i,s){const o=this.tileGrid||this.getTileGridForProjection(s||i),a=Math.max.apply(null,o.getResolutions().map((h,p)=>{const g=Ec(o.getTileSize(p)),v=this.getTileSize(p);return Math.max(v[0]/g[0],v[1]/g[1])})),l=this.getTileGridForProjection(i),u=[t,n,r],f=this.getTileCoordForTileUrlFunction(u,i),c=Object.assign({sourceProj:s||i,sourceTileGrid:o,targetProj:i,targetTileGrid:l,tileCoord:u,wrappedTileCoord:f,pixelRatio:a,gutter:this.gutter_,getTileFunction:(h,p,g,v)=>this.getTile(h,p,g,v),transformMatrix:this.transformMatrix},this.tileOptions),d=new DI(c);return d.key=this.getKey(),d}getTile(t,n,r,i,s){var w;const o=this.getProjection();if(s&&(o&&!wC(o,s)||this.transformMatrix))return this.getReprojTile_(t,n,r,s,o);const a=this.getTileSize(t),l=this.loader_,u=new AbortController,f={signal:u.signal,crossOrigin:this.crossOrigin_},c=this.getTileCoordForTileUrlFunction([t,n,r]);if(!c)return null;const d=c[0],h=c[1],p=c[2],g=(w=this.getTileGrid())==null?void 0:w.getFullTileRange(d);g&&(f.maxY=g.getHeight()-1);function v(){return Yje(function(){return l(d,h,p,f)})}const x=Object.assign({tileCoord:[t,n,r],loader:v,size:a,controller:u},this.tileOptions),y=new GCe(x);return y.key=this.getKey(),y.addEventListener(Cl.CHANGE,this.handleTileChange_),y}handleTileChange_(t){const n=t.target,r=Ei(n),i=n.getState();let s;i==Ts.LOADING?(this.tileLoadingKeys_[r]=!0,s=sF.TILELOADSTART):r in this.tileLoadingKeys_&&(delete this.tileLoadingKeys_[r],s=i==Ts.ERROR?sF.TILELOADERROR:i==Ts.LOADED?sF.TILELOADEND:void 0),s&&this.dispatchEvent(new Vje(s,n))}getTileGridForProjection(t){const n=this.getProjection();if(this.tileGrid&&(!n||wC(n,t))&&!this.transformMatrix)return this.tileGrid;const r=Ei(t);return r in this.tileGridForProjection_||(this.tileGridForProjection_[r]=Wje(t)),this.tileGridForProjection_[r]}setTileGridForProjection(t,n){const r=oi(t);if(r){const i=Ei(r);i in this.tileGridForProjection_||(this.tileGridForProjection_[i]=n)}}}function oa(e){return(t,...n)=>uXe(e,t,n)}function Q1(e,t){return oa(bke(e,t).get)}const{apply:uXe,construct:$jt,defineProperty:Ijt,get:Pjt,getOwnPropertyDescriptor:bke,getPrototypeOf:dP,has:Njt,ownKeys:cXe,set:Bjt,setPrototypeOf:zjt}=Reflect,{iterator:hE,species:jjt,toStringTag:fXe,for:Ujt}=Symbol,dXe=Object,{create:hP,defineProperty:hXe,freeze:qjt,is:Hjt}=dXe,pXe=Array,mXe=pXe.prototype,xke=mXe[hE],gXe=oa(xke),wke=ArrayBuffer,yXe=wke.prototype;Q1(yXe,"byteLength");const X1e=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:null;X1e&&Q1(X1e.prototype,"byteLength");const _ke=dP(Uint8Array);_ke.from;const rl=_ke.prototype;rl[hE];oa(rl.keys);oa(rl.values);oa(rl.entries);oa(rl.set);oa(rl.reverse);oa(rl.fill);oa(rl.copyWithin);oa(rl.sort);oa(rl.slice);oa(rl.subarray);Q1(rl,"buffer");Q1(rl,"byteOffset");Q1(rl,"length");Q1(rl,fXe);const vXe=Uint8Array,Eke=Uint16Array,pP=Uint32Array,bXe=Float32Array,s2=dP([][hE]()),Ske=oa(s2.next),xXe=oa(function*(){}().next),wXe=dP(s2),_Xe=DataView.prototype,EXe=oa(_Xe.getUint16),mP=WeakMap,Ake=mP.prototype,Cke=oa(Ake.get),SXe=oa(Ake.set),kke=new mP,AXe=hP(null,{next:{value:function(){const t=Cke(kke,this);return Ske(t)}},[hE]:{value:function(){return this}}});function CXe(e){if(e[hE]===xke&&s2.next===Ske)return e;const t=hP(AXe);return SXe(kke,t,gXe(e)),t}const kXe=new mP,TXe=hP(wXe,{next:{value:function(){const t=Cke(kXe,this);return xXe(t)},writable:!0,configurable:!0}});for(const e of cXe(s2))e!=="next"&&hXe(TXe,e,bke(s2,e));const Tke=new wke(4),DXe=new bXe(Tke),LXe=new pP(Tke),of=new Eke(512),af=new vXe(512);for(let e=0;e<256;++e){const t=e-127;t<-24?(of[e]=0,of[e|256]=32768,af[e]=24,af[e|256]=24):t<-14?(of[e]=1024>>-t-14,of[e|256]=1024>>-t-14|32768,af[e]=-t-1,af[e|256]=-t-1):t<=15?(of[e]=t+15<<10,of[e|256]=t+15<<10|32768,af[e]=13,af[e|256]=13):t<128?(of[e]=31744,of[e|256]=64512,af[e]=24,af[e|256]=24):(of[e]=31744,of[e|256]=64512,af[e]=13,af[e|256]=13)}const gP=new pP(2048);for(let e=1;e<1024;++e){let t=e<<13,n=0;for(;!(t&8388608);)t<<=1,n-=8388608;t&=-8388609,n+=947912704,gP[e]=t|n}for(let e=1024;e<2048;++e)gP[e]=939524096+(e-1024<<13);const eb=new pP(64);for(let e=1;e<31;++e)eb[e]=e<<23;eb[31]=1199570944;eb[32]=2147483648;for(let e=33;e<63;++e)eb[e]=2147483648+(e-32<<23);eb[63]=3347054592;const Dke=new Eke(64);for(let e=1;e<64;++e)e!==32&&(Dke[e]=1024);function RXe(e){const t=e>>10;return LXe[0]=gP[Dke[t]+(e&1023)]+eb[t],DXe[0]}function Lke(e,t,...n){return RXe(EXe(e,t,...CXe(n)))}var oA={exports:{}},Z1e;function FXe(){if(Z1e)return oA.exports;Z1e=1;function e(t,n,r){const i=r&&r.debug||!1;i&&console.log("[xml-utils] getting "+n+" in "+t);const s=typeof t=="object"?t.outer:t,o=s.slice(0,s.indexOf(">")+1),a=['"',"'"];for(let l=0;l/]`,u);if(a&&console.log("[xml-utils] start:",f),f===-1)return;const c=i.slice(f+s.length);let d=t(c,"^[^<]*[ /]>",0);const h=d!==-1&&c[d-1]==="/";if(a&&console.log("[xml-utils] selfClosing:",h),h===!1)if(l){let x=0,y=1,w=0;for(;(d=t(c,"[ /]"+s+">",x))!==-1;){const _=c.substring(x,d+1);if(y+=n(_,"<"+s+`[ - >]`),w+=n(_,""),w>=y)break;x=d}}else d=t(c,"[ /]"+s+">",0);const p=f+s.length+d+1;if(a&&console.log("[xml-utils] end:",p),p===-1)return;const g=i.slice(f,p);let v;return h?v=null:v=g.slice(g.indexOf(">")+1,g.lastIndexOf("<")),{inner:v,outer:g,start:f,end:p}}return lA.exports=r,lA.exports.default=r,lA.exports}var tbe;function NXe(){if(tbe)return aA.exports;tbe=1;const e=PXe();function t(n,r,i){const s=[],o=i&&i.debug||!1,a=i&&typeof i.nested=="boolean"?i.nested:!0;let l=i&&i.startIndex||0,u;for(;u=e(n,r,{debug:o,startIndex:l});)a?l=u.start+1+r.length:l=u.end,s.push(u);return o&&console.log("findTagsByName found",s.length,"tags"),s}return aA.exports=t,aA.exports.default=t,aA.exports}var BXe=NXe();const zXe=sa(BXe),b_={315:"Artist",258:"BitsPerSample",265:"CellLength",264:"CellWidth",320:"ColorMap",259:"Compression",33432:"Copyright",306:"DateTime",338:"ExtraSamples",266:"FillOrder",289:"FreeByteCounts",288:"FreeOffsets",291:"GrayResponseCurve",290:"GrayResponseUnit",316:"HostComputer",270:"ImageDescription",257:"ImageLength",256:"ImageWidth",271:"Make",281:"MaxSampleValue",280:"MinSampleValue",272:"Model",254:"NewSubfileType",274:"Orientation",262:"PhotometricInterpretation",284:"PlanarConfiguration",296:"ResolutionUnit",278:"RowsPerStrip",277:"SamplesPerPixel",305:"Software",279:"StripByteCounts",273:"StripOffsets",255:"SubfileType",263:"Threshholding",282:"XResolution",283:"YResolution",326:"BadFaxLines",327:"CleanFaxData",343:"ClipPath",328:"ConsecutiveBadFaxLines",433:"Decode",434:"DefaultImageColor",269:"DocumentName",336:"DotRange",321:"HalftoneHints",346:"Indexed",347:"JPEGTables",285:"PageName",297:"PageNumber",317:"Predictor",319:"PrimaryChromaticities",532:"ReferenceBlackWhite",339:"SampleFormat",340:"SMinSampleValue",341:"SMaxSampleValue",559:"StripRowCounts",330:"SubIFDs",292:"T4Options",293:"T6Options",325:"TileByteCounts",323:"TileLength",324:"TileOffsets",322:"TileWidth",301:"TransferFunction",318:"WhitePoint",344:"XClipPathUnits",286:"XPosition",529:"YCbCrCoefficients",531:"YCbCrPositioning",530:"YCbCrSubSampling",345:"YClipPathUnits",287:"YPosition",37378:"ApertureValue",40961:"ColorSpace",36868:"DateTimeDigitized",36867:"DateTimeOriginal",34665:"Exif IFD",36864:"ExifVersion",33434:"ExposureTime",41728:"FileSource",37385:"Flash",40960:"FlashpixVersion",33437:"FNumber",42016:"ImageUniqueID",37384:"LightSource",37500:"MakerNote",37377:"ShutterSpeedValue",37510:"UserComment",33723:"IPTC",34675:"ICC Profile",700:"XMP",42112:"GDAL_METADATA",42113:"GDAL_NODATA",34377:"Photoshop",33550:"ModelPixelScale",33922:"ModelTiepoint",34264:"ModelTransformation",34735:"GeoKeyDirectory",34736:"GeoDoubleParams",34737:"GeoAsciiParams",50674:"LercParameters"},cf={};for(const e in b_)b_.hasOwnProperty(e)&&(cf[b_[e]]=parseInt(e,10));const jXe=[cf.BitsPerSample,cf.ExtraSamples,cf.SampleFormat,cf.StripByteCounts,cf.StripOffsets,cf.StripRowCounts,cf.TileByteCounts,cf.TileOffsets,cf.SubIFDs],yF={1:"BYTE",2:"ASCII",3:"SHORT",4:"LONG",5:"RATIONAL",6:"SBYTE",7:"UNDEFINED",8:"SSHORT",9:"SLONG",10:"SRATIONAL",11:"FLOAT",12:"DOUBLE",13:"IFD",16:"LONG8",17:"SLONG8",18:"IFD8"},cr={};for(const e in yF)yF.hasOwnProperty(e)&&(cr[yF[e]]=parseInt(e,10));const yl={WhiteIsZero:0,BlackIsZero:1,RGB:2,Palette:3,TransparencyMask:4,CMYK:5,YCbCr:6,CIELab:8,ICCLab:9},UXe={Unspecified:0,Assocalpha:1,Unassalpha:2},Gjt={Version:0,AddCompression:1},Vjt={None:0,Deflate:1,Zstandard:2},qXe={1024:"GTModelTypeGeoKey",1025:"GTRasterTypeGeoKey",1026:"GTCitationGeoKey",2048:"GeographicTypeGeoKey",2049:"GeogCitationGeoKey",2050:"GeogGeodeticDatumGeoKey",2051:"GeogPrimeMeridianGeoKey",2052:"GeogLinearUnitsGeoKey",2053:"GeogLinearUnitSizeGeoKey",2054:"GeogAngularUnitsGeoKey",2055:"GeogAngularUnitSizeGeoKey",2056:"GeogEllipsoidGeoKey",2057:"GeogSemiMajorAxisGeoKey",2058:"GeogSemiMinorAxisGeoKey",2059:"GeogInvFlatteningGeoKey",2060:"GeogAzimuthUnitsGeoKey",2061:"GeogPrimeMeridianLongGeoKey",2062:"GeogTOWGS84GeoKey",3072:"ProjectedCSTypeGeoKey",3073:"PCSCitationGeoKey",3074:"ProjectionGeoKey",3075:"ProjCoordTransGeoKey",3076:"ProjLinearUnitsGeoKey",3077:"ProjLinearUnitSizeGeoKey",3078:"ProjStdParallel1GeoKey",3079:"ProjStdParallel2GeoKey",3080:"ProjNatOriginLongGeoKey",3081:"ProjNatOriginLatGeoKey",3082:"ProjFalseEastingGeoKey",3083:"ProjFalseNorthingGeoKey",3084:"ProjFalseOriginLongGeoKey",3085:"ProjFalseOriginLatGeoKey",3086:"ProjFalseOriginEastingGeoKey",3087:"ProjFalseOriginNorthingGeoKey",3088:"ProjCenterLongGeoKey",3089:"ProjCenterLatGeoKey",3090:"ProjCenterEastingGeoKey",3091:"ProjCenterNorthingGeoKey",3092:"ProjScaleAtNatOriginGeoKey",3093:"ProjScaleAtCenterGeoKey",3094:"ProjAzimuthAngleGeoKey",3095:"ProjStraightVertPoleLongGeoKey",3096:"ProjRectifiedGridAngleGeoKey",4096:"VerticalCSTypeGeoKey",4097:"VerticalCitationGeoKey",4098:"VerticalDatumGeoKey",4099:"VerticalUnitsGeoKey"};function HXe(e,t){const{width:n,height:r}=e,i=new Uint8Array(n*r*3);let s;for(let o=0,a=0;o>24,l=e[i+2]<<24>>24;let u=(o+16)/116,f=a/500+u,c=u-l/200,d,h,p;f=XXe*(f*f*f>.008856?f*f*f:(f-16/116)/7.787),u=ZXe*(u*u*u>.008856?u*u*u:(u-16/116)/7.787),c=KXe*(c*c*c>.008856?c*c*c:(c-16/116)/7.787),d=f*3.2406+u*-1.5372+c*-.4986,h=f*-.9689+u*1.8758+c*.0415,p=f*.0557+u*-.204+c*1.057,d=d>.0031308?1.055*d**(1/2.4)-.055:12.92*d,h=h>.0031308?1.055*h**(1/2.4)-.055:12.92*h,p=p>.0031308?1.055*p**(1/2.4)-.055:12.92*p,r[s]=Math.max(0,Math.min(1,d))*255,r[s+1]=Math.max(0,Math.min(1,h))*255,r[s+2]=Math.max(0,Math.min(1,p))*255}return r}const Rke=new Map;function cm(e,t){Array.isArray(e)||(e=[e]),e.forEach(n=>Rke.set(n,t))}async function Fke(e){const t=Rke.get(e.Compression);if(!t)throw new Error(`Unknown compression method identifier: ${e.Compression}`);const n=await t();return new n(e)}cm([void 0,1],()=>um(()=>import("./raw-Dt1HMqYc.js"),__vite__mapDeps([0,1]),import.meta.url).then(e=>e.default));cm(5,()=>um(()=>import("./lzw-DpvbRwG5.js"),__vite__mapDeps([2,1]),import.meta.url).then(e=>e.default));cm(6,()=>{throw new Error("old style JPEG compression is not supported.")});cm(7,()=>um(()=>import("./jpeg-CdeCw_eT.js"),__vite__mapDeps([3,1]),import.meta.url).then(e=>e.default));cm([8,32946],()=>um(()=>import("./deflate-CUkHh1nh.js"),__vite__mapDeps([4,5,1]),import.meta.url).then(e=>e.default));cm(32773,()=>um(()=>import("./packbits-DQnG8s9w.js"),__vite__mapDeps([6,1]),import.meta.url).then(e=>e.default));cm(34887,()=>um(()=>import("./lerc--OnEzsnw.js"),__vite__mapDeps([7,5,8,1,9,10,11,12,13,14,15,16,17,18,19]),import.meta.url).then(async e=>(await e.zstd.init(),e)).then(e=>e.default));cm(50001,()=>um(()=>import("./webimage-BcnuJlio.js"),__vite__mapDeps([20,1]),import.meta.url).then(e=>e.default));function MD(e,t,n,r=1){return new(Object.getPrototypeOf(e)).constructor(t*n*r)}function QXe(e,t,n,r,i){const s=t/r,o=n/i;return e.map(a=>{const l=MD(a,r,i);for(let u=0;u{const l=MD(a,r,i);for(let u=0;u>8-i-T&c;else if(T+i<=16)f[_]=a.getUint16(A)>>16-i-T&c;else if(T+i<=24){const D=a.getUint16(A)<<8|a.getUint8(A+2);f[_]=D>>24-i-T&c}else f[_]=a.getUint32(A)>>32-i-T&c}}}}return f.buffer}class Oke{constructor(t,n,r,i,s,o){this.fileDirectory=t,this.geoKeys=n,this.dataView=r,this.littleEndian=i,this.tiles=s?{}:null,this.isTiled=!t.StripOffsets;const a=t.PlanarConfiguration;if(this.planarConfiguration=typeof a>"u"?1:a,this.planarConfiguration!==1&&this.planarConfiguration!==2)throw new Error("Invalid planar configuration.");this.source=o}getFileDirectory(){return this.fileDirectory}getGeoKeys(){return this.geoKeys}getWidth(){return this.fileDirectory.ImageWidth}getHeight(){return this.fileDirectory.ImageLength}getSamplesPerPixel(){return typeof this.fileDirectory.SamplesPerPixel<"u"?this.fileDirectory.SamplesPerPixel:1}getTileWidth(){return this.isTiled?this.fileDirectory.TileWidth:this.getWidth()}getTileHeight(){return this.isTiled?this.fileDirectory.TileLength:typeof this.fileDirectory.RowsPerStrip<"u"?Math.min(this.fileDirectory.RowsPerStrip,this.getHeight()):this.getHeight()}getBlockWidth(){return this.getTileWidth()}getBlockHeight(t){return this.isTiled||(t+1)*this.getTileHeight()<=this.getHeight()?this.getTileHeight():this.getHeight()-t*this.getTileHeight()}getBytesPerPixel(){let t=0;for(let n=0;n=this.fileDirectory.BitsPerSample.length)throw new RangeError(`Sample index ${t} is out of range.`);return Math.ceil(this.fileDirectory.BitsPerSample[t]/8)}getReaderForSample(t){const n=this.fileDirectory.SampleFormat?this.fileDirectory.SampleFormat[t]:1,r=this.fileDirectory.BitsPerSample[t];switch(n){case 1:if(r<=8)return DataView.prototype.getUint8;if(r<=16)return DataView.prototype.getUint16;if(r<=32)return DataView.prototype.getUint32;break;case 2:if(r<=8)return DataView.prototype.getInt8;if(r<=16)return DataView.prototype.getInt16;if(r<=32)return DataView.prototype.getInt32;break;case 3:switch(r){case 16:return function(i,s){return Lke(this,i,s)};case 32:return DataView.prototype.getFloat32;case 64:return DataView.prototype.getFloat64}break}throw Error("Unsupported data format/bitsPerSample")}getSampleFormat(t=0){return this.fileDirectory.SampleFormat?this.fileDirectory.SampleFormat[t]:1}getBitsPerSample(t=0){return this.fileDirectory.BitsPerSample[t]}getArrayForSample(t,n){const r=this.getSampleFormat(t),i=this.getBitsPerSample(t);return c6(r,i,n)}async getTileOrStrip(t,n,r,i,s){const o=Math.ceil(this.getWidth()/this.getTileWidth()),a=Math.ceil(this.getHeight()/this.getTileHeight());let l;const{tiles:u}=this;this.planarConfiguration===1?l=n*o+t:this.planarConfiguration===2&&(l=r*o*a+n*o+t);let f,c;this.isTiled?(f=this.fileDirectory.TileOffsets[l],c=this.fileDirectory.TileByteCounts[l]):(f=this.fileDirectory.StripOffsets[l],c=this.fileDirectory.StripByteCounts[l]);const d=(await this.source.fetch([{offset:f,length:c}],s))[0];let h;return u===null||!u[l]?(h=(async()=>{let p=await i.decode(this.fileDirectory,d);const g=this.getSampleFormat(),v=this.getBitsPerSample();return oZe(g,v)&&(p=aZe(p,g,this.planarConfiguration,this.getSamplesPerPixel(),v,this.getTileWidth(),this.getBlockHeight(n))),p})(),u!==null&&(u[l]=h)):h=u[l],{x:t,y:n,sample:r,data:await h}}async _readRaster(t,n,r,i,s,o,a,l,u){const f=this.getTileWidth(),c=this.getTileHeight(),d=this.getWidth(),h=this.getHeight(),p=Math.max(Math.floor(t[0]/f),0),g=Math.min(Math.ceil(t[2]/f),Math.ceil(d/f)),v=Math.max(Math.floor(t[1]/c),0),x=Math.min(Math.ceil(t[3]/c),Math.ceil(h/c)),y=t[2]-t[0];let w=this.getBytesPerPixel();const _=[],A=[];for(let k=0;k{const U=I.data,q=new DataView(U),Y=this.getBlockHeight(I.y),X=I.y*c,te=I.x*f,le=X+Y,ee=(I.x+1)*f,z=A[K],he=Math.min(Y,Y-(le-t[3]),h-X),de=Math.min(f,f-(ee-t[2]),d-te);for(let ze=Math.max(0,t[1]-X);zef[2]||f[1]>f[3])throw new Error("Invalid subsets");const c=f[2]-f[0],d=f[3]-f[1],h=c*d,p=this.getSamplesPerPixel();if(!n||!n.length)for(let y=0;y=p)return Promise.reject(new RangeError(`Invalid sample index '${n[y]}'.`));let g;if(r){const y=this.fileDirectory.SampleFormat?Math.max.apply(null,this.fileDirectory.SampleFormat):1,w=Math.max.apply(null,this.fileDirectory.BitsPerSample);g=c6(y,w,h*n.length),l&&g.fill(l)}else{g=[];for(let y=0;yu[2]||u[1]>u[3])throw new Error("Invalid subsets");const f=this.fileDirectory.PhotometricInterpretation;if(f===yl.RGB){let x=[0,1,2];if(this.fileDirectory.ExtraSamples!==UXe.Unspecified&&a){x=[];for(let y=0;ygF(s,"sample")===void 0):i=i.filter(s=>Number(gF(s,"sample"))===t);for(let s=0;s[a+i*v+s*x,c+l*v+u*x]),p=h.map(v=>v[0]),g=h.map(v=>v[1]);return[Math.min(...p),Math.min(...g),Math.max(...p),Math.max(...g)]}else{const i=this.getOrigin(),s=this.getResolution(),o=i[0],a=i[1],l=o+s[0]*r,u=a+s[1]*n;return[Math.min(o,l),Math.min(a,u),Math.max(o,l),Math.max(a,u)]}}}class lZe{constructor(t){this._dataView=new DataView(t)}get buffer(){return this._dataView.buffer}getUint64(t,n){const r=this.getUint32(t,n),i=this.getUint32(t+4,n);let s;if(n){if(s=r+2**32*i,!Number.isSafeInteger(s))throw new Error(`${s} exceeds MAX_SAFE_INTEGER. Precision may be lost. Please report if you get this message to https://github.com/geotiffjs/geotiff.js/issues`);return s}if(s=2**32*r+i,!Number.isSafeInteger(s))throw new Error(`${s} exceeds MAX_SAFE_INTEGER. Precision may be lost. Please report if you get this message to https://github.com/geotiffjs/geotiff.js/issues`);return s}getInt64(t,n){let r=0;const i=(this._dataView.getUint8(t+(n?7:0))&128)>0;let s=!0;for(let o=0;o<8;o++){let a=this._dataView.getUint8(t+(n?o:7-o));i&&(s?a!==0&&(a=~(a-1)&255,s=!1):a=~a&255),r+=a*256**o}return i&&(r=-r),r}getUint8(t,n){return this._dataView.getUint8(t,n)}getInt8(t,n){return this._dataView.getInt8(t,n)}getUint16(t,n){return this._dataView.getUint16(t,n)}getInt16(t,n){return this._dataView.getInt16(t,n)}getUint32(t,n){return this._dataView.getUint32(t,n)}getInt32(t,n){return this._dataView.getInt32(t,n)}getFloat16(t,n){return Lke(this._dataView,t,n)}getFloat32(t,n){return this._dataView.getFloat32(t,n)}getFloat64(t,n){return this._dataView.getFloat64(t,n)}}class uZe{constructor(t,n,r,i){this._dataView=new DataView(t),this._sliceOffset=n,this._littleEndian=r,this._bigTiff=i}get sliceOffset(){return this._sliceOffset}get sliceTop(){return this._sliceOffset+this.buffer.byteLength}get littleEndian(){return this._littleEndian}get bigTiff(){return this._bigTiff}get buffer(){return this._dataView.buffer}covers(t,n){return this.sliceOffset<=t&&this.sliceTop>=t+n}readUint8(t){return this._dataView.getUint8(t-this._sliceOffset,this._littleEndian)}readInt8(t){return this._dataView.getInt8(t-this._sliceOffset,this._littleEndian)}readUint16(t){return this._dataView.getUint16(t-this._sliceOffset,this._littleEndian)}readInt16(t){return this._dataView.getInt16(t-this._sliceOffset,this._littleEndian)}readUint32(t){return this._dataView.getUint32(t-this._sliceOffset,this._littleEndian)}readInt32(t){return this._dataView.getInt32(t-this._sliceOffset,this._littleEndian)}readFloat32(t){return this._dataView.getFloat32(t-this._sliceOffset,this._littleEndian)}readFloat64(t){return this._dataView.getFloat64(t-this._sliceOffset,this._littleEndian)}readUint64(t){const n=this.readUint32(t),r=this.readUint32(t+4);let i;if(this._littleEndian){if(i=n+2**32*r,!Number.isSafeInteger(i))throw new Error(`${i} exceeds MAX_SAFE_INTEGER. Precision may be lost. Please report if you get this message to https://github.com/geotiffjs/geotiff.js/issues`);return i}if(i=2**32*n+r,!Number.isSafeInteger(i))throw new Error(`${i} exceeds MAX_SAFE_INTEGER. Precision may be lost. Please report if you get this message to https://github.com/geotiffjs/geotiff.js/issues`);return i}readInt64(t){let n=0;const r=(this._dataView.getUint8(t+(this._littleEndian?7:0))&128)>0;let i=!0;for(let s=0;s<8;s++){let o=this._dataView.getUint8(t+(this._littleEndian?s:7-s));r&&(i?o!==0&&(o=~(o-1)&255,i=!1):o=~o&255),n+=o*256**s}return r&&(n=-n),n}readOffset(t){return this._bigTiff?this.readUint64(t):this.readUint32(t)}}const cZe=typeof navigator<"u"&&navigator.hardwareConcurrency||2;class fZe{constructor(t=cZe,n){this.workers=null,this._awaitingDecoder=null,this.size=t,this.messageId=0,t&&(this._awaitingDecoder=n?Promise.resolve(n):new Promise(r=>{um(()=>import("./decoder-CaSv2t6h.js"),[],import.meta.url).then(i=>{r(i.create)})}),this._awaitingDecoder.then(r=>{this._awaitingDecoder=null,this.workers=[];for(let i=0;ir.decode(t,n)):new Promise(r=>{const i=this.workers.find(a=>a.idle)||this.workers[Math.floor(Math.random()*this.size)];i.idle=!1;const s=this.messageId++,o=a=>{a.data.id===s&&(i.idle=!0,r(a.data.decoded),i.worker.removeEventListener("message",o))};i.worker.addEventListener("message",o),i.worker.postMessage({fileDirectory:t,buffer:n,id:s},[n])})}destroy(){this.workers&&(this.workers.forEach(t=>{t.worker.terminate()}),this.workers=null)}}const nbe=`\r + >]`),w+=n(_,""),w>=y)break;x=d}}else d=t(c,"[ /]"+s+">",0);const p=f+s.length+d+1;if(a&&console.log("[xml-utils] end:",p),p===-1)return;const g=i.slice(f,p);let v;return h?v=null:v=g.slice(g.indexOf(">")+1,g.lastIndexOf("<")),{inner:v,outer:g,start:f,end:p}}return lA.exports=r,lA.exports.default=r,lA.exports}var tbe;function NXe(){if(tbe)return aA.exports;tbe=1;const e=PXe();function t(n,r,i){const s=[],o=i&&i.debug||!1,a=i&&typeof i.nested=="boolean"?i.nested:!0;let l=i&&i.startIndex||0,u;for(;u=e(n,r,{debug:o,startIndex:l});)a?l=u.start+1+r.length:l=u.end,s.push(u);return o&&console.log("findTagsByName found",s.length,"tags"),s}return aA.exports=t,aA.exports.default=t,aA.exports}var BXe=NXe();const zXe=sa(BXe),b_={315:"Artist",258:"BitsPerSample",265:"CellLength",264:"CellWidth",320:"ColorMap",259:"Compression",33432:"Copyright",306:"DateTime",338:"ExtraSamples",266:"FillOrder",289:"FreeByteCounts",288:"FreeOffsets",291:"GrayResponseCurve",290:"GrayResponseUnit",316:"HostComputer",270:"ImageDescription",257:"ImageLength",256:"ImageWidth",271:"Make",281:"MaxSampleValue",280:"MinSampleValue",272:"Model",254:"NewSubfileType",274:"Orientation",262:"PhotometricInterpretation",284:"PlanarConfiguration",296:"ResolutionUnit",278:"RowsPerStrip",277:"SamplesPerPixel",305:"Software",279:"StripByteCounts",273:"StripOffsets",255:"SubfileType",263:"Threshholding",282:"XResolution",283:"YResolution",326:"BadFaxLines",327:"CleanFaxData",343:"ClipPath",328:"ConsecutiveBadFaxLines",433:"Decode",434:"DefaultImageColor",269:"DocumentName",336:"DotRange",321:"HalftoneHints",346:"Indexed",347:"JPEGTables",285:"PageName",297:"PageNumber",317:"Predictor",319:"PrimaryChromaticities",532:"ReferenceBlackWhite",339:"SampleFormat",340:"SMinSampleValue",341:"SMaxSampleValue",559:"StripRowCounts",330:"SubIFDs",292:"T4Options",293:"T6Options",325:"TileByteCounts",323:"TileLength",324:"TileOffsets",322:"TileWidth",301:"TransferFunction",318:"WhitePoint",344:"XClipPathUnits",286:"XPosition",529:"YCbCrCoefficients",531:"YCbCrPositioning",530:"YCbCrSubSampling",345:"YClipPathUnits",287:"YPosition",37378:"ApertureValue",40961:"ColorSpace",36868:"DateTimeDigitized",36867:"DateTimeOriginal",34665:"Exif IFD",36864:"ExifVersion",33434:"ExposureTime",41728:"FileSource",37385:"Flash",40960:"FlashpixVersion",33437:"FNumber",42016:"ImageUniqueID",37384:"LightSource",37500:"MakerNote",37377:"ShutterSpeedValue",37510:"UserComment",33723:"IPTC",34675:"ICC Profile",700:"XMP",42112:"GDAL_METADATA",42113:"GDAL_NODATA",34377:"Photoshop",33550:"ModelPixelScale",33922:"ModelTiepoint",34264:"ModelTransformation",34735:"GeoKeyDirectory",34736:"GeoDoubleParams",34737:"GeoAsciiParams",50674:"LercParameters"},cf={};for(const e in b_)b_.hasOwnProperty(e)&&(cf[b_[e]]=parseInt(e,10));const jXe=[cf.BitsPerSample,cf.ExtraSamples,cf.SampleFormat,cf.StripByteCounts,cf.StripOffsets,cf.StripRowCounts,cf.TileByteCounts,cf.TileOffsets,cf.SubIFDs],yF={1:"BYTE",2:"ASCII",3:"SHORT",4:"LONG",5:"RATIONAL",6:"SBYTE",7:"UNDEFINED",8:"SSHORT",9:"SLONG",10:"SRATIONAL",11:"FLOAT",12:"DOUBLE",13:"IFD",16:"LONG8",17:"SLONG8",18:"IFD8"},cr={};for(const e in yF)yF.hasOwnProperty(e)&&(cr[yF[e]]=parseInt(e,10));const yl={WhiteIsZero:0,BlackIsZero:1,RGB:2,Palette:3,TransparencyMask:4,CMYK:5,YCbCr:6,CIELab:8,ICCLab:9},UXe={Unspecified:0,Assocalpha:1,Unassalpha:2},Gjt={Version:0,AddCompression:1},Vjt={None:0,Deflate:1,Zstandard:2},qXe={1024:"GTModelTypeGeoKey",1025:"GTRasterTypeGeoKey",1026:"GTCitationGeoKey",2048:"GeographicTypeGeoKey",2049:"GeogCitationGeoKey",2050:"GeogGeodeticDatumGeoKey",2051:"GeogPrimeMeridianGeoKey",2052:"GeogLinearUnitsGeoKey",2053:"GeogLinearUnitSizeGeoKey",2054:"GeogAngularUnitsGeoKey",2055:"GeogAngularUnitSizeGeoKey",2056:"GeogEllipsoidGeoKey",2057:"GeogSemiMajorAxisGeoKey",2058:"GeogSemiMinorAxisGeoKey",2059:"GeogInvFlatteningGeoKey",2060:"GeogAzimuthUnitsGeoKey",2061:"GeogPrimeMeridianLongGeoKey",2062:"GeogTOWGS84GeoKey",3072:"ProjectedCSTypeGeoKey",3073:"PCSCitationGeoKey",3074:"ProjectionGeoKey",3075:"ProjCoordTransGeoKey",3076:"ProjLinearUnitsGeoKey",3077:"ProjLinearUnitSizeGeoKey",3078:"ProjStdParallel1GeoKey",3079:"ProjStdParallel2GeoKey",3080:"ProjNatOriginLongGeoKey",3081:"ProjNatOriginLatGeoKey",3082:"ProjFalseEastingGeoKey",3083:"ProjFalseNorthingGeoKey",3084:"ProjFalseOriginLongGeoKey",3085:"ProjFalseOriginLatGeoKey",3086:"ProjFalseOriginEastingGeoKey",3087:"ProjFalseOriginNorthingGeoKey",3088:"ProjCenterLongGeoKey",3089:"ProjCenterLatGeoKey",3090:"ProjCenterEastingGeoKey",3091:"ProjCenterNorthingGeoKey",3092:"ProjScaleAtNatOriginGeoKey",3093:"ProjScaleAtCenterGeoKey",3094:"ProjAzimuthAngleGeoKey",3095:"ProjStraightVertPoleLongGeoKey",3096:"ProjRectifiedGridAngleGeoKey",4096:"VerticalCSTypeGeoKey",4097:"VerticalCitationGeoKey",4098:"VerticalDatumGeoKey",4099:"VerticalUnitsGeoKey"};function HXe(e,t){const{width:n,height:r}=e,i=new Uint8Array(n*r*3);let s;for(let o=0,a=0;o>24,l=e[i+2]<<24>>24;let u=(o+16)/116,f=a/500+u,c=u-l/200,d,h,p;f=XXe*(f*f*f>.008856?f*f*f:(f-16/116)/7.787),u=ZXe*(u*u*u>.008856?u*u*u:(u-16/116)/7.787),c=KXe*(c*c*c>.008856?c*c*c:(c-16/116)/7.787),d=f*3.2406+u*-1.5372+c*-.4986,h=f*-.9689+u*1.8758+c*.0415,p=f*.0557+u*-.204+c*1.057,d=d>.0031308?1.055*d**(1/2.4)-.055:12.92*d,h=h>.0031308?1.055*h**(1/2.4)-.055:12.92*h,p=p>.0031308?1.055*p**(1/2.4)-.055:12.92*p,r[s]=Math.max(0,Math.min(1,d))*255,r[s+1]=Math.max(0,Math.min(1,h))*255,r[s+2]=Math.max(0,Math.min(1,p))*255}return r}const Rke=new Map;function cm(e,t){Array.isArray(e)||(e=[e]),e.forEach(n=>Rke.set(n,t))}async function Fke(e){const t=Rke.get(e.Compression);if(!t)throw new Error(`Unknown compression method identifier: ${e.Compression}`);const n=await t();return new n(e)}cm([void 0,1],()=>um(()=>import("./raw-Dt1HMqYc.js"),__vite__mapDeps([0,1]),import.meta.url).then(e=>e.default));cm(5,()=>um(()=>import("./lzw-DpvbRwG5.js"),__vite__mapDeps([2,1]),import.meta.url).then(e=>e.default));cm(6,()=>{throw new Error("old style JPEG compression is not supported.")});cm(7,()=>um(()=>import("./jpeg-CdeCw_eT.js"),__vite__mapDeps([3,1]),import.meta.url).then(e=>e.default));cm([8,32946],()=>um(()=>import("./deflate-CUkHh1nh.js"),__vite__mapDeps([4,5,1]),import.meta.url).then(e=>e.default));cm(32773,()=>um(()=>import("./packbits-DQnG8s9w.js"),__vite__mapDeps([6,1]),import.meta.url).then(e=>e.default));cm(34887,()=>um(()=>import("./lerc-6b9o-jBY.js"),__vite__mapDeps([7,5,8,1,9,10,11,12,13,14,15,16,17,18,19]),import.meta.url).then(async e=>(await e.zstd.init(),e)).then(e=>e.default));cm(50001,()=>um(()=>import("./webimage-BcnuJlio.js"),__vite__mapDeps([20,1]),import.meta.url).then(e=>e.default));function MD(e,t,n,r=1){return new(Object.getPrototypeOf(e)).constructor(t*n*r)}function QXe(e,t,n,r,i){const s=t/r,o=n/i;return e.map(a=>{const l=MD(a,r,i);for(let u=0;u{const l=MD(a,r,i);for(let u=0;u>8-i-T&c;else if(T+i<=16)f[_]=a.getUint16(A)>>16-i-T&c;else if(T+i<=24){const D=a.getUint16(A)<<8|a.getUint8(A+2);f[_]=D>>24-i-T&c}else f[_]=a.getUint32(A)>>32-i-T&c}}}}return f.buffer}class Oke{constructor(t,n,r,i,s,o){this.fileDirectory=t,this.geoKeys=n,this.dataView=r,this.littleEndian=i,this.tiles=s?{}:null,this.isTiled=!t.StripOffsets;const a=t.PlanarConfiguration;if(this.planarConfiguration=typeof a>"u"?1:a,this.planarConfiguration!==1&&this.planarConfiguration!==2)throw new Error("Invalid planar configuration.");this.source=o}getFileDirectory(){return this.fileDirectory}getGeoKeys(){return this.geoKeys}getWidth(){return this.fileDirectory.ImageWidth}getHeight(){return this.fileDirectory.ImageLength}getSamplesPerPixel(){return typeof this.fileDirectory.SamplesPerPixel<"u"?this.fileDirectory.SamplesPerPixel:1}getTileWidth(){return this.isTiled?this.fileDirectory.TileWidth:this.getWidth()}getTileHeight(){return this.isTiled?this.fileDirectory.TileLength:typeof this.fileDirectory.RowsPerStrip<"u"?Math.min(this.fileDirectory.RowsPerStrip,this.getHeight()):this.getHeight()}getBlockWidth(){return this.getTileWidth()}getBlockHeight(t){return this.isTiled||(t+1)*this.getTileHeight()<=this.getHeight()?this.getTileHeight():this.getHeight()-t*this.getTileHeight()}getBytesPerPixel(){let t=0;for(let n=0;n=this.fileDirectory.BitsPerSample.length)throw new RangeError(`Sample index ${t} is out of range.`);return Math.ceil(this.fileDirectory.BitsPerSample[t]/8)}getReaderForSample(t){const n=this.fileDirectory.SampleFormat?this.fileDirectory.SampleFormat[t]:1,r=this.fileDirectory.BitsPerSample[t];switch(n){case 1:if(r<=8)return DataView.prototype.getUint8;if(r<=16)return DataView.prototype.getUint16;if(r<=32)return DataView.prototype.getUint32;break;case 2:if(r<=8)return DataView.prototype.getInt8;if(r<=16)return DataView.prototype.getInt16;if(r<=32)return DataView.prototype.getInt32;break;case 3:switch(r){case 16:return function(i,s){return Lke(this,i,s)};case 32:return DataView.prototype.getFloat32;case 64:return DataView.prototype.getFloat64}break}throw Error("Unsupported data format/bitsPerSample")}getSampleFormat(t=0){return this.fileDirectory.SampleFormat?this.fileDirectory.SampleFormat[t]:1}getBitsPerSample(t=0){return this.fileDirectory.BitsPerSample[t]}getArrayForSample(t,n){const r=this.getSampleFormat(t),i=this.getBitsPerSample(t);return c6(r,i,n)}async getTileOrStrip(t,n,r,i,s){const o=Math.ceil(this.getWidth()/this.getTileWidth()),a=Math.ceil(this.getHeight()/this.getTileHeight());let l;const{tiles:u}=this;this.planarConfiguration===1?l=n*o+t:this.planarConfiguration===2&&(l=r*o*a+n*o+t);let f,c;this.isTiled?(f=this.fileDirectory.TileOffsets[l],c=this.fileDirectory.TileByteCounts[l]):(f=this.fileDirectory.StripOffsets[l],c=this.fileDirectory.StripByteCounts[l]);const d=(await this.source.fetch([{offset:f,length:c}],s))[0];let h;return u===null||!u[l]?(h=(async()=>{let p=await i.decode(this.fileDirectory,d);const g=this.getSampleFormat(),v=this.getBitsPerSample();return oZe(g,v)&&(p=aZe(p,g,this.planarConfiguration,this.getSamplesPerPixel(),v,this.getTileWidth(),this.getBlockHeight(n))),p})(),u!==null&&(u[l]=h)):h=u[l],{x:t,y:n,sample:r,data:await h}}async _readRaster(t,n,r,i,s,o,a,l,u){const f=this.getTileWidth(),c=this.getTileHeight(),d=this.getWidth(),h=this.getHeight(),p=Math.max(Math.floor(t[0]/f),0),g=Math.min(Math.ceil(t[2]/f),Math.ceil(d/f)),v=Math.max(Math.floor(t[1]/c),0),x=Math.min(Math.ceil(t[3]/c),Math.ceil(h/c)),y=t[2]-t[0];let w=this.getBytesPerPixel();const _=[],A=[];for(let k=0;k{const U=I.data,q=new DataView(U),Y=this.getBlockHeight(I.y),X=I.y*c,te=I.x*f,le=X+Y,ee=(I.x+1)*f,z=A[K],he=Math.min(Y,Y-(le-t[3]),h-X),de=Math.min(f,f-(ee-t[2]),d-te);for(let ze=Math.max(0,t[1]-X);zef[2]||f[1]>f[3])throw new Error("Invalid subsets");const c=f[2]-f[0],d=f[3]-f[1],h=c*d,p=this.getSamplesPerPixel();if(!n||!n.length)for(let y=0;y=p)return Promise.reject(new RangeError(`Invalid sample index '${n[y]}'.`));let g;if(r){const y=this.fileDirectory.SampleFormat?Math.max.apply(null,this.fileDirectory.SampleFormat):1,w=Math.max.apply(null,this.fileDirectory.BitsPerSample);g=c6(y,w,h*n.length),l&&g.fill(l)}else{g=[];for(let y=0;yu[2]||u[1]>u[3])throw new Error("Invalid subsets");const f=this.fileDirectory.PhotometricInterpretation;if(f===yl.RGB){let x=[0,1,2];if(this.fileDirectory.ExtraSamples!==UXe.Unspecified&&a){x=[];for(let y=0;ygF(s,"sample")===void 0):i=i.filter(s=>Number(gF(s,"sample"))===t);for(let s=0;s[a+i*v+s*x,c+l*v+u*x]),p=h.map(v=>v[0]),g=h.map(v=>v[1]);return[Math.min(...p),Math.min(...g),Math.max(...p),Math.max(...g)]}else{const i=this.getOrigin(),s=this.getResolution(),o=i[0],a=i[1],l=o+s[0]*r,u=a+s[1]*n;return[Math.min(o,l),Math.min(a,u),Math.max(o,l),Math.max(a,u)]}}}class lZe{constructor(t){this._dataView=new DataView(t)}get buffer(){return this._dataView.buffer}getUint64(t,n){const r=this.getUint32(t,n),i=this.getUint32(t+4,n);let s;if(n){if(s=r+2**32*i,!Number.isSafeInteger(s))throw new Error(`${s} exceeds MAX_SAFE_INTEGER. Precision may be lost. Please report if you get this message to https://github.com/geotiffjs/geotiff.js/issues`);return s}if(s=2**32*r+i,!Number.isSafeInteger(s))throw new Error(`${s} exceeds MAX_SAFE_INTEGER. Precision may be lost. Please report if you get this message to https://github.com/geotiffjs/geotiff.js/issues`);return s}getInt64(t,n){let r=0;const i=(this._dataView.getUint8(t+(n?7:0))&128)>0;let s=!0;for(let o=0;o<8;o++){let a=this._dataView.getUint8(t+(n?o:7-o));i&&(s?a!==0&&(a=~(a-1)&255,s=!1):a=~a&255),r+=a*256**o}return i&&(r=-r),r}getUint8(t,n){return this._dataView.getUint8(t,n)}getInt8(t,n){return this._dataView.getInt8(t,n)}getUint16(t,n){return this._dataView.getUint16(t,n)}getInt16(t,n){return this._dataView.getInt16(t,n)}getUint32(t,n){return this._dataView.getUint32(t,n)}getInt32(t,n){return this._dataView.getInt32(t,n)}getFloat16(t,n){return Lke(this._dataView,t,n)}getFloat32(t,n){return this._dataView.getFloat32(t,n)}getFloat64(t,n){return this._dataView.getFloat64(t,n)}}class uZe{constructor(t,n,r,i){this._dataView=new DataView(t),this._sliceOffset=n,this._littleEndian=r,this._bigTiff=i}get sliceOffset(){return this._sliceOffset}get sliceTop(){return this._sliceOffset+this.buffer.byteLength}get littleEndian(){return this._littleEndian}get bigTiff(){return this._bigTiff}get buffer(){return this._dataView.buffer}covers(t,n){return this.sliceOffset<=t&&this.sliceTop>=t+n}readUint8(t){return this._dataView.getUint8(t-this._sliceOffset,this._littleEndian)}readInt8(t){return this._dataView.getInt8(t-this._sliceOffset,this._littleEndian)}readUint16(t){return this._dataView.getUint16(t-this._sliceOffset,this._littleEndian)}readInt16(t){return this._dataView.getInt16(t-this._sliceOffset,this._littleEndian)}readUint32(t){return this._dataView.getUint32(t-this._sliceOffset,this._littleEndian)}readInt32(t){return this._dataView.getInt32(t-this._sliceOffset,this._littleEndian)}readFloat32(t){return this._dataView.getFloat32(t-this._sliceOffset,this._littleEndian)}readFloat64(t){return this._dataView.getFloat64(t-this._sliceOffset,this._littleEndian)}readUint64(t){const n=this.readUint32(t),r=this.readUint32(t+4);let i;if(this._littleEndian){if(i=n+2**32*r,!Number.isSafeInteger(i))throw new Error(`${i} exceeds MAX_SAFE_INTEGER. Precision may be lost. Please report if you get this message to https://github.com/geotiffjs/geotiff.js/issues`);return i}if(i=2**32*n+r,!Number.isSafeInteger(i))throw new Error(`${i} exceeds MAX_SAFE_INTEGER. Precision may be lost. Please report if you get this message to https://github.com/geotiffjs/geotiff.js/issues`);return i}readInt64(t){let n=0;const r=(this._dataView.getUint8(t+(this._littleEndian?7:0))&128)>0;let i=!0;for(let s=0;s<8;s++){let o=this._dataView.getUint8(t+(this._littleEndian?s:7-s));r&&(i?o!==0&&(o=~(o-1)&255,i=!1):o=~o&255),n+=o*256**s}return r&&(n=-n),n}readOffset(t){return this._bigTiff?this.readUint64(t):this.readUint32(t)}}const cZe=typeof navigator<"u"&&navigator.hardwareConcurrency||2;class fZe{constructor(t=cZe,n){this.workers=null,this._awaitingDecoder=null,this.size=t,this.messageId=0,t&&(this._awaitingDecoder=n?Promise.resolve(n):new Promise(r=>{um(()=>import("./decoder-CaSv2t6h.js"),[],import.meta.url).then(i=>{r(i.create)})}),this._awaitingDecoder.then(r=>{this._awaitingDecoder=null,this.workers=[];for(let i=0;ir.decode(t,n)):new Promise(r=>{const i=this.workers.find(a=>a.idle)||this.workers[Math.floor(Math.random()*this.size)];i.idle=!1;const s=this.messageId++,o=a=>{a.data.id===s&&(i.idle=!0,r(a.data.decoded),i.worker.removeEventListener("message",o))};i.worker.addEventListener("message",o),i.worker.postMessage({fileDirectory:t,buffer:n,id:s},[n])})}destroy(){this.workers&&(this.workers.forEach(t=>{t.worker.terminate()}),this.workers=null)}}const nbe=`\r \r `;function Mke(e){if(typeof Object.fromEntries<"u")return Object.fromEntries(e);const t={};for(const[n,r]of e)t[n.toLowerCase()]=r;return t}function dZe(e){const t=e.split(`\r `).map(n=>{const r=n.split(":").map(i=>i.trim());return r[0]=r[0].toLowerCase(),r});return Mke(t)}function hZe(e){const[t,...n]=e.split(";").map(i=>i.trim()),r=n.map(i=>i.split("="));return{type:t,params:Mke(r)}}function f6(e){let t,n,r;return e&&([,t,n,r]=e.match(/bytes (\d+)-(\d+)\/(\d+)/),t=parseInt(t,10),n=parseInt(n,10),r=parseInt(r,10)),{start:t,end:n,total:r}}function pZe(e,t){let n=null;const r=new TextDecoder("ascii"),i=[],s=`--${t}`,o=`${s}--`;for(let a=0;a<10;++a)r.decode(new Uint8Array(e,a,s.length))===s&&(n=a);if(n===null)throw new Error("Could not find initial boundary");for(;nthis.fetchSlice(r,n)))}async fetchSlice(t){throw new Error(`fetching of slice ${t} not possible, not implemented`)}get fileSize(){return null}async close(){}}class mZe extends Map{constructor(t={}){if(super(),!(t.maxSize&&t.maxSize>0))throw new TypeError("`maxSize` must be a number greater than 0");if(typeof t.maxAge=="number"&&t.maxAge===0)throw new TypeError("`maxAge` must be a number greater than 0");this.maxSize=t.maxSize,this.maxAge=t.maxAge||Number.POSITIVE_INFINITY,this.onEviction=t.onEviction,this.cache=new Map,this.oldCache=new Map,this._size=0}_emitEvictions(t){if(typeof this.onEviction=="function")for(const[n,r]of t)this.onEviction(n,r.value)}_deleteIfExpired(t,n){return typeof n.expiry=="number"&&n.expiry<=Date.now()?(typeof this.onEviction=="function"&&this.onEviction(t,n.value),this.delete(t)):!1}_getOrDeleteIfExpired(t,n){if(this._deleteIfExpired(t,n)===!1)return n.value}_getItemValue(t,n){return n.expiry?this._getOrDeleteIfExpired(t,n):n.value}_peek(t,n){const r=n.get(t);return this._getItemValue(t,r)}_set(t,n){this.cache.set(t,n),this._size++,this._size>=this.maxSize&&(this._size=0,this._emitEvictions(this.oldCache),this.oldCache=this.cache,this.cache=new Map)}_moveToRecent(t,n){this.oldCache.delete(t),this._set(t,n)}*_entriesAscending(){for(const t of this.oldCache){const[n,r]=t;this.cache.has(n)||this._deleteIfExpired(n,r)===!1&&(yield t)}for(const t of this.cache){const[n,r]=t;this._deleteIfExpired(n,r)===!1&&(yield t)}}get(t){if(this.cache.has(t)){const n=this.cache.get(t);return this._getItemValue(t,n)}if(this.oldCache.has(t)){const n=this.oldCache.get(t);if(this._deleteIfExpired(t,n)===!1)return this._moveToRecent(t,n),n.value}}set(t,n,{maxAge:r=this.maxAge}={}){const i=typeof r=="number"&&r!==Number.POSITIVE_INFINITY?Date.now()+r:void 0;return this.cache.has(t)?this.cache.set(t,{value:n,expiry:i}):this._set(t,{value:n,expiry:i}),this}has(t){return this.cache.has(t)?!this._deleteIfExpired(t,this.cache.get(t)):this.oldCache.has(t)?!this._deleteIfExpired(t,this.oldCache.get(t)):!1}peek(t){if(this.cache.has(t))return this._peek(t,this.cache);if(this.oldCache.has(t))return this._peek(t,this.oldCache)}delete(t){const n=this.cache.delete(t);return n&&this._size--,this.oldCache.delete(t)||n}clear(){this.cache.clear(),this.oldCache.clear(),this._size=0}resize(t){if(!(t&&t>0))throw new TypeError("`maxSize` must be a number greater than 0");const n=[...this._entriesAscending()],r=n.length-t;r<0?(this.cache=new Map(n),this.oldCache=new Map,this._size=n.length):(r>0&&this._emitEvictions(n.slice(0,r)),this.oldCache=new Map(n.slice(r)),this.cache=new Map,this._size=0),this.maxSize=t}*keys(){for(const[t]of this)yield t}*values(){for(const[,t]of this)yield t}*[Symbol.iterator](){for(const t of this.cache){const[n,r]=t;this._deleteIfExpired(n,r)===!1&&(yield[n,r.value])}for(const t of this.oldCache){const[n,r]=t;this.cache.has(n)||this._deleteIfExpired(n,r)===!1&&(yield[n,r.value])}}*entriesDescending(){let t=[...this.cache];for(let n=t.length-1;n>=0;--n){const r=t[n],[i,s]=r;this._deleteIfExpired(i,s)===!1&&(yield[i,s.value])}t=[...this.oldCache];for(let n=t.length-1;n>=0;--n){const r=t[n],[i,s]=r;this.cache.has(i)||this._deleteIfExpired(i,s)===!1&&(yield[i,s.value])}}*entriesAscending(){for(const[t,n]of this._entriesAscending())yield[t,n.value]}get size(){if(!this._size)return this.oldCache.size;let t=0;for(const n of this.oldCache.keys())this.cache.has(n)||t++;return Math.min(this._size+t,this.maxSize)}entries(){return this.entriesAscending()}forEach(t,n=this){for(const[r,i]of this.entriesAscending())t.call(n,i,r,this)}get[Symbol.toStringTag](){return JSON.stringify([...this.entriesAscending()])}}async function gZe(e){return new Promise(t=>setTimeout(t,e))}function yZe(e,t){const n=Array.isArray(e)?e:Array.from(e),r=Array.isArray(t)?t:Array.from(t);return n.map((i,s)=>[i,r[s]])}class n1 extends Error{constructor(t){super(t),Error.captureStackTrace&&Error.captureStackTrace(this,n1),this.name="AbortError"}}class vZe extends Error{constructor(t,n){super(n),this.errors=t,this.message=n,this.name="AggregateError"}}const bZe=vZe;class xZe{constructor(t,n,r=null){this.offset=t,this.length=n,this.data=r}get top(){return this.offset+this.length}}class rbe{constructor(t,n,r){this.offset=t,this.length=n,this.blockIds=r}}class wZe extends yP{constructor(t,{blockSize:n=65536,cacheSize:r=100}={}){super(),this.source=t,this.blockSize=n,this.blockCache=new mZe({maxSize:r,onEviction:(i,s)=>{this.evictedBlocks.set(i,s)}}),this.evictedBlocks=new Map,this.blockRequests=new Map,this.blockIdsToFetch=new Set,this.abortedBlockIds=new Set}get fileSize(){return this.source.fileSize}async fetch(t,n){const r=[],i=[],s=[];this.evictedBlocks.clear();for(const{offset:d,length:h}of t){let p=d+h;const{fileSize:g}=this;g!==null&&(p=Math.min(p,g));const v=Math.floor(d/this.blockSize)*this.blockSize;for(let x=v;xthis.abortedBlockIds.has(d)||!this.blockCache.has(d));if(l.forEach(d=>this.blockIdsToFetch.add(d)),l.length>0&&n&&!n.aborted){this.fetchBlocks(null);for(const d of l){const h=this.blockRequests.get(d);if(!h)throw new Error(`Block ${d} is not in the block requests`);a.push(h)}await Promise.allSettled(a)}if(n&&n.aborted)throw new n1("Request was aborted");const u=s.map(d=>this.blockCache.get(d)||this.evictedBlocks.get(d)),f=u.filter(d=>!d);if(f.length)throw new bZe(f,"Request failed");const c=new Map(yZe(s,u));return this.readSliceData(t,c)}fetchBlocks(t){if(this.blockIdsToFetch.size>0){const n=this.groupBlocks(this.blockIdsToFetch),r=this.source.fetch(n,t);for(let i=0;i{try{const a=(await r)[i],l=o*this.blockSize,u=l-a.offset,f=Math.min(u+this.blockSize,a.data.byteLength),c=a.data.slice(u,f),d=new xZe(l,c.byteLength,c,o);this.blockCache.set(o,d),this.abortedBlockIds.delete(o)}catch(a){if(a.name==="AbortError")a.signal=t,this.blockCache.delete(o),this.abortedBlockIds.add(o);else throw a}finally{this.blockRequests.delete(o)}})())}this.blockIdsToFetch.clear()}}groupBlocks(t){const n=Array.from(t).sort((o,a)=>o-a);if(n.length===0)return[];let r=[],i=null;const s=[];for(const o of n)i===null||i+1===o?(r.push(o),i=o):(s.push(new rbe(r[0]*this.blockSize,r.length*this.blockSize,r)),r=[o],i=o);return s.push(new rbe(r[0]*this.blockSize,r.length*this.blockSize,r)),s}readSliceData(t,n){return t.map(r=>{let i=r.offset+r.length;this.fileSize!==null&&(i=Math.min(this.fileSize,i));const s=Math.floor(r.offset/this.blockSize),o=Math.floor(i/this.blockSize),a=new ArrayBuffer(r.length),l=new Uint8Array(a);for(let u=s;u<=o;++u){const f=n.get(u),c=f.offset-r.offset,d=f.top-i;let h=0,p=0,g;c<0?h=-c:c>0&&(p=c),d<0?g=f.length-h:g=i-f.offset-h;const v=new Uint8Array(f.data,h,g);l.set(v,p)}return a})}}class vP{get ok(){return this.status>=200&&this.status<=299}get status(){throw new Error("not implemented")}getHeader(t){throw new Error("not implemented")}async getData(){throw new Error("not implemented")}}class bP{constructor(t){this.url=t}async request({headers:t,signal:n}={}){throw new Error("request is not implemented")}}class _Ze extends vP{constructor(t){super(),this.response=t}get status(){return this.response.status}getHeader(t){return this.response.headers.get(t)}async getData(){return this.response.arrayBuffer?await this.response.arrayBuffer():(await this.response.buffer()).buffer}}class EZe extends bP{constructor(t,n){super(t),this.credentials=n}async request({headers:t,signal:n}={}){const r=await fetch(this.url,{headers:t,credentials:this.credentials,signal:n});return new _Ze(r)}}class SZe extends vP{constructor(t,n){super(),this.xhr=t,this.data=n}get status(){return this.xhr.status}getHeader(t){return this.xhr.getResponseHeader(t)}async getData(){return this.data}}class AZe extends bP{constructRequest(t,n){return new Promise((r,i)=>{const s=new XMLHttpRequest;s.open("GET",this.url),s.responseType="arraybuffer";for(const[o,a]of Object.entries(t))s.setRequestHeader(o,a);s.onload=()=>{const o=s.response;r(new SZe(s,o))},s.onerror=i,s.onabort=()=>i(new n1("Request aborted")),s.send(),n&&(n.aborted&&s.abort(),n.addEventListener("abort",()=>s.abort()))})}async request({headers:t,signal:n}={}){return await this.constructRequest(t,n)}}const vF={};class CZe extends vP{constructor(t,n){super(),this.response=t,this.dataPromise=n}get status(){return this.response.statusCode}getHeader(t){return this.response.headers[t]}async getData(){return await this.dataPromise}}class kZe extends bP{constructor(t){super(t),this.parsedUrl=vF.parse(this.url),this.httpApi=(this.parsedUrl.protocol==="http:",vF)}constructRequest(t,n){return new Promise((r,i)=>{const s=this.httpApi.get({...this.parsedUrl,headers:t},o=>{const a=new Promise(l=>{const u=[];o.on("data",f=>{u.push(f)}),o.on("end",()=>{const f=Buffer.concat(u).buffer;l(f)}),o.on("error",i)});r(new CZe(o,a))});s.on("error",i),n&&(n.aborted&&s.destroy(new n1("Request aborted")),n.addEventListener("abort",()=>s.destroy(new n1("Request aborted"))))})}async request({headers:t,signal:n}={}){return await this.constructRequest(t,n)}}class xP extends yP{constructor(t,n,r,i){super(),this.client=t,this.headers=n,this.maxRanges=r,this.allowFullFile=i,this._fileSize=null}async fetch(t,n){return this.maxRanges>=t.length?this.fetchSlices(t,n):(this.maxRanges>0&&t.length>1,Promise.all(t.map(r=>this.fetchSlice(r,n))))}async fetchSlices(t,n){const r=await this.client.request({headers:{...this.headers,Range:`bytes=${t.map(({offset:i,length:s})=>`${i}-${i+s}`).join(",")}`},signal:n});if(r.ok)if(r.status===206){const{type:i,params:s}=hZe(r.getHeader("content-type"));if(i==="multipart/byteranges"){const c=pZe(await r.getData(),s.boundary);return this._fileSize=c[0].fileSize||null,c}const o=await r.getData(),{start:a,end:l,total:u}=f6(r.getHeader("content-range"));this._fileSize=u||null;const f=[{data:o,offset:a,length:l-a}];if(t.length>1){const c=await Promise.all(t.slice(1).map(d=>this.fetchSlice(d,n)));return f.concat(c)}return f}else{if(!this.allowFullFile)throw new Error("Server responded with full file");const i=await r.getData();return this._fileSize=i.byteLength,[{data:i,offset:0,length:i.byteLength}]}else throw new Error("Error fetching data.")}async fetchSlice(t,n){const{offset:r,length:i}=t,s=await this.client.request({headers:{...this.headers,Range:`bytes=${r}-${r+i}`},signal:n});if(s.ok)if(s.status===206){const o=await s.getData(),{total:a}=f6(s.getHeader("content-range"));return this._fileSize=a||null,{data:o,offset:r,length:i}}else{if(!this.allowFullFile)throw new Error("Server responded with full file");const o=await s.getData();return this._fileSize=o.byteLength,{data:o,offset:0,length:o.byteLength}}else throw new Error("Error fetching data.")}get fileSize(){return this._fileSize}}function wP(e,{blockSize:t,cacheSize:n}){return t===null?e:new wZe(e,{blockSize:t,cacheSize:n})}function TZe(e,{headers:t={},credentials:n,maxRanges:r=0,allowFullFile:i=!1,...s}={}){const o=new EZe(e,n),a=new xP(o,t,r,i);return wP(a,s)}function DZe(e,{headers:t={},maxRanges:n=0,allowFullFile:r=!1,...i}={}){const s=new AZe(e),o=new xP(s,t,n,r);return wP(o,i)}function LZe(e,{headers:t={},maxRanges:n=0,allowFullFile:r=!1,...i}={}){const s=new kZe(e),o=new xP(s,t,n,r);return wP(o,i)}function d6(e,{forceXHR:t=!1,...n}={}){return typeof fetch=="function"&&!t?TZe(e,n):typeof XMLHttpRequest<"u"?DZe(e,n):LZe(e,n)}class RZe extends yP{constructor(t){super(),this.file=t}async fetchSlice(t,n){return new Promise((r,i)=>{const s=this.file.slice(t.offset,t.offset+t.length),o=new FileReader;o.onload=a=>r(a.target.result),o.onerror=i,o.onabort=i,o.readAsArrayBuffer(s),n&&n.addEventListener("abort",()=>o.abort())})}}function FZe(e){return new RZe(e)}function h6(e){switch(e){case cr.BYTE:case cr.ASCII:case cr.SBYTE:case cr.UNDEFINED:return 1;case cr.SHORT:case cr.SSHORT:return 2;case cr.LONG:case cr.SLONG:case cr.FLOAT:case cr.IFD:return 4;case cr.RATIONAL:case cr.SRATIONAL:case cr.DOUBLE:case cr.LONG8:case cr.SLONG8:case cr.IFD8:return 8;default:throw new RangeError(`Invalid field type: ${e}`)}}function OZe(e){const t=e.GeoKeyDirectory;if(!t)return null;const n={};for(let r=4;r<=t[3]*4;r+=4){const i=qXe[t[r]],s=t[r+1]?b_[t[r+1]]:null,o=t[r+2],a=t[r+3];let l=null;if(!s)l=a;else{if(l=e[s],typeof l>"u"||l===null)throw new Error(`Could not get value of geoKey '${i}'.`);typeof l=="string"?l=l.substring(a,a+o-1):l.subarray&&(l=l.subarray(a,a+o),o===1&&(l=l[0]))}n[i]=l}return n}function Py(e,t,n,r){let i=null,s=null;const o=h6(t);switch(t){case cr.BYTE:case cr.ASCII:case cr.UNDEFINED:i=new Uint8Array(n),s=e.readUint8;break;case cr.SBYTE:i=new Int8Array(n),s=e.readInt8;break;case cr.SHORT:i=new Uint16Array(n),s=e.readUint16;break;case cr.SSHORT:i=new Int16Array(n),s=e.readInt16;break;case cr.LONG:case cr.IFD:i=new Uint32Array(n),s=e.readUint32;break;case cr.SLONG:i=new Int32Array(n),s=e.readInt32;break;case cr.LONG8:case cr.IFD8:i=new Array(n),s=e.readUint64;break;case cr.SLONG8:i=new Array(n),s=e.readInt64;break;case cr.RATIONAL:i=new Uint32Array(n*2),s=e.readUint32;break;case cr.SRATIONAL:i=new Int32Array(n*2),s=e.readInt32;break;case cr.FLOAT:i=new Float32Array(n),s=e.readFloat32;break;case cr.DOUBLE:i=new Float64Array(n),s=e.readFloat64;break;default:throw new RangeError(`Invalid field type: ${t}`)}if(t===cr.RATIONAL||t===cr.SRATIONAL)for(let a=0;ap.getWidth()-g.getWidth());for(let p=0;pv||o&&o>x)break}}let d=n;if(a){const[h,p]=l.getOrigin(),[g,v]=u.getResolution(l);d=[Math.round((a[0]-h)/g),Math.round((a[1]-p)/v),Math.round((a[2]-h)/g),Math.round((a[3]-p)/v)],d=[Math.min(d[0],d[2]),Math.min(d[1],d[3]),Math.max(d[0],d[2]),Math.max(d[1],d[3])]}return u.readRasters({...t,window:d})}}class r1 extends $ke{constructor(t,n,r,i,s={}){super(),this.source=t,this.littleEndian=n,this.bigTiff=r,this.firstIFDOffset=i,this.cache=s.cache||!1,this.ifdRequests=[],this.ghostValues=null}async getSlice(t,n){const r=this.bigTiff?4048:1024;return new uZe((await this.source.fetch([{offset:t,length:typeof n<"u"?n:r}]))[0],t,this.littleEndian,this.bigTiff)}async parseFileDirectoryAt(t){const n=this.bigTiff?20:12,r=this.bigTiff?8:2;let i=await this.getSlice(t);const s=this.bigTiff?i.readUint64(t):i.readUint16(t),o=s*n+(this.bigTiff?16:6);i.covers(t,o)||(i=await this.getSlice(t,o));const a={};let l=t+(this.bigTiff?8:2);for(let c=0;c{const n=await this.ifdRequests[t-1];if(n.nextIFDByteOffset===0)throw new dA(t);return this.parseFileDirectoryAt(n.nextIFDByteOffset)})(),this.ifdRequests[t]}async getImage(t=0){const n=await this.requestIFD(t);return new Oke(n.fileDirectory,n.geoKeyDirectory,this.dataView,this.littleEndian,this.cache,this.source)}async getImageCount(){let t=0,n=!0;for(;n;)try{await this.requestIFD(t),++t}catch(r){if(r instanceof dA)n=!1;else throw r}return t}async getGhostValues(){const t=this.bigTiff?16:8;if(this.ghostValues)return this.ghostValues;const n="GDAL_STRUCTURAL_METADATA_SIZE=",r=n.length+100;let i=await this.getSlice(t,r);if(n===Py(i,cr.ASCII,n.length,t)){const o=Py(i,cr.ASCII,r,t).split(` `)[0],a=Number(o.split("=")[1].split(" ")[0])+o.length;a>r&&(i=await this.getSlice(t,a));const l=Py(i,cr.ASCII,a,t);this.ghostValues={},l.split(` `).filter(u=>u.length>0).map(u=>u.split("=")).forEach(([u,f])=>{this.ghostValues[u]=f})}return this.ghostValues}static async fromSource(t,n,r){const i=(await t.fetch([{offset:0,length:1024}],r))[0],s=new lZe(i),o=s.getUint16(0,0);let a;if(o===18761)a=!0;else if(o===19789)a=!1;else throw new TypeError("Invalid byte order value.");const l=s.getUint16(2,a);let u;if(l===42)u=!1;else if(l===43){if(u=!0,s.getUint16(4,a)!==8)throw new Error("Unsupported offset byte-size.")}else throw new TypeError("Invalid magic number.");const f=u?s.getUint64(8,a):s.getUint32(4,a);return new r1(t,a,u,f,n)}close(){return typeof this.source.close=="function"?this.source.close():!1}}class $Ze extends $ke{constructor(t,n){super(),this.mainFile=t,this.overviewFiles=n,this.imageFiles=[t].concat(n),this.fileDirectoriesPerFile=null,this.fileDirectoriesPerFileParsing=null,this.imageCount=null}async parseFileDirectoriesPerFile(){const t=[this.mainFile.parseFileDirectoryAt(this.mainFile.firstIFDOffset)].concat(this.overviewFiles.map(n=>n.parseFileDirectoryAt(n.firstIFDOffset)));return this.fileDirectoriesPerFile=await Promise.all(t),this.fileDirectoriesPerFile}async getImage(t=0){await this.getImageCount(),await this.parseFileDirectoriesPerFile();let n=0,r=0;for(let i=0;in.getImageCount()));return this.imageCounts=await Promise.all(t),this.imageCount=this.imageCounts.reduce((n,r)=>n+r,0),this.imageCount}}async function IZe(e,t={},n){return r1.fromSource(d6(e,t),n)}async function PZe(e,t){return r1.fromSource(FZe(e),t)}async function NZe(e,t=[],n={},r){const i=await r1.fromSource(d6(e,n),r),s=await Promise.all(t.map(o=>r1.fromSource(d6(o,n))));return new $Ze(i,s)}function BZe(e){return((e.fileDirectory.NewSubfileType||0)&4)===4}function zZe(e,t){if(!e)return!1;if(e===!0)return!0;if(t.getSamplesPerPixel()!==3)return!1;const n=t.fileDirectory.PhotometricInterpretation,r=yl;return n===r.CMYK||n===r.YCbCr||n===r.CIELab||n===r.ICCLab}const ibe="STATISTICS_MAXIMUM",sbe="STATISTICS_MINIMUM",bF=256;let xF;function jZe(){return xF||(xF=new fZe),xF}function UZe(e){try{return e.getBoundingBox(!0)}catch{return[0,0,e.getWidth(),e.getHeight()]}}function qZe(e){try{return e.getOrigin().slice(0,2)}catch{return[0,e.getHeight()]}}function HZe(e,t){try{return e.getResolution(t)}catch{return[t.getWidth()/e.getWidth(),t.getHeight()/e.getHeight()]}}function GZe(e){const t=e.geoKeys;if(!t)return null;if(t.ProjectedCSTypeGeoKey&&t.ProjectedCSTypeGeoKey!==32767){const n="EPSG:"+t.ProjectedCSTypeGeoKey;let r=oi(n);if(!r){const i=Hve(t.ProjLinearUnitsGeoKey);i&&(r=new Gve({code:n,units:i}))}return r}if(t.GeographicTypeGeoKey&&t.GeographicTypeGeoKey!==32767){const n="EPSG:"+t.GeographicTypeGeoKey;let r=oi(n);if(!r){const i=Hve(t.GeogAngularUnitsGeoKey);i&&(r=new Gve({code:n,units:i}))}return r}return null}function VZe(e){return e.getImageCount().then(function(t){const n=new Array(t);for(let r=0;rn*e)throw new Error(r)}function YZe(e){return e instanceof Int8Array?-128:e instanceof Int16Array?-32768:e instanceof Int32Array?-2147483648:e instanceof Float32Array?12e-39:0}function XZe(e){return e instanceof Int8Array?127:e instanceof Uint8Array||e instanceof Uint8ClampedArray?255:e instanceof Int16Array?32767:e instanceof Uint16Array?65535:e instanceof Int32Array?2147483647:e instanceof Uint32Array?4294967295:e instanceof Float32Array?34e37:255}class _P extends dE{constructor(t){super({state:"loading",tileGrid:null,projection:t.projection||null,transition:t.transition,interpolate:t.interpolate!==!1,wrapX:t.wrapX}),this.sourceInfo_=t.sources;const n=this.sourceInfo_.length;this.sourceOptions_=t.sourceOptions,this.sourceImagery_=new Array(n),this.sourceMasks_=new Array(n),this.resolutionFactors_=new Array(n),this.samplesPerPixel_,this.nodataValues_,this.metadata_,this.normalize_=t.normalize!==!1,this.addAlpha_=!1,this.error_=null,this.convertToRGB_=t.convertToRGB||!1,this.setKey(this.sourceInfo_.map(s=>s.url).join(","));const r=this,i=new Array(n);for(let s=0;s=0;--r){const i=n[r],s=GZe(i);if(s){this.projection=s;break}}}determineTransformMatrix(t){const n=t[0];for(let r=n.length-1;r>=0;--r){const s=n[r].fileDirectory.ModelTransformation;if(s){const[o,a,l,u,f,c,d,h]=s,p=G_(G_([1/Math.sqrt(o*o+f*f),0,0,-1/Math.sqrt(a*a+c*c),u,h],[o,f,a,c,0,0]),[1,0,0,1,-u,-h]);this.transformMatrix=p,this.addAlpha_=!0;break}}}configure_(t){let n,r,i,s,o;const a=new Array(t.length),l=new Array(t.length),u=new Array(t.length);let f=0;const c=t.length;for(let v=0;v{BZe(R)?y.push(R):x.push(R)});const w=x.length;if(y.length>0&&y.length!==w)throw new Error(`Expected one mask per image found ${y.length} masks and ${w} images`);let _,A;const T=new Array(w),D=new Array(w),k=new Array(w);l[v]=new Array(w),u[v]=new Array(w);for(let R=0;Rk.length&&(f=o.length-k.length);const R=o[o.length-1]/k[k.length-1];this.resolutionFactors_[v]=R;const O=k.map(K=>K*=R),B=`Resolution mismatch for source ${v}, got [${O}] but expected [${o}]`;Pw(o.slice(f,o.length),O,.02,B,this.viewRejector)}i?Pw(i.slice(f,i.length),D,.01,`Tile size mismatch for source ${v}`,this.viewRejector):i=D,s?Pw(s.slice(f,s.length),T,0,`Tile size mismatch for source ${v}`,this.viewRejector):s=T,this.sourceImagery_[v]=x.reverse(),this.sourceMasks_[v]=y.reverse()}for(let v=0,x=this.sourceImagery_.length;vrh(v,y));g=Kv(n,x)}this.viewResolver({showFullExtent:!0,projection:this.projection,resolutions:o,center:Xje(Fp(g),this.projection),extent:Zje(g,this.projection),zoom:p})}loadTile_(t,n,r,i){const s=this.getTileSize(t),o=this.sourceImagery_.length,a=new Array(o*2),l=this.nodataValues_,u=this.sourceInfo_,f=jZe();for(let c=0;cthis.createSession_(),f),this.setAttributions(this.fetchAttributions_.bind(this)),this.setState("ready")}async fetchAttributions_(t){if(t.viewHints[Up.ANIMATING]||t.viewHints[Up.INTERACTING]||t.animate)return this.previousViewportAttribution_;const[n,r]=Vve(Jje(t.extent),t.viewState.projection),[i,s]=Vve(Qje(t.extent),t.viewState.projection),l=`zoom=${this.getTileGrid().getZForResolution(t.viewState.resolution,this.zDirection)}&north=${s}&south=${r}&east=${i}&west=${n}`;if(this.previousViewportExtent_==l)return this.previousViewportAttribution_;this.previousViewportExtent_=l;const u=this.sessionTokenValue_,f=this.apiKey_,c=`${JZe}?session=${u}&key=${f}&${l}`;return this.previousViewportAttribution_=await fetch(c).then(d=>d.json()).then(d=>d.copyright),this.previousViewportAttribution_}disposeInternal(){clearTimeout(this.sessionRefreshId_),super.disposeInternal()}}let Ike=class extends kI{constructor(t,n,r,i,s,o,a){super(n,r,i,s,o,a),this.zoomifyImage_=null,this.tileSize_=t}getImage(){if(this.zoomifyImage_)return this.zoomifyImage_;const t=super.getImage();if(this.state==Ts.LOADED){const n=this.tileSize_;if(t.width==n[0]&&t.height==n[1])return this.zoomifyImage_=t,t;const r=t0(n[0],n[1]);return r.drawImage(t,0,0),this.zoomifyImage_=r.canvas,r.canvas}return t}};class tKe extends gh{constructor(t){const n=t.size,r=t.tierSizeCalculation!==void 0?t.tierSizeCalculation:"default",i=t.tilePixelRatio||1,s=n[0],o=n[1],a=[],l=t.tileSize||J4;let u=l*i;switch(r){case"default":for(;s>u||o>u;)a.push([Math.ceil(s/u),Math.ceil(o/u)]),u+=u;break;case"truncated":let T=s,D=o;for(;T>u||D>u;)a.push([Math.ceil(T/u),Math.ceil(D/u)]),T>>=1,D>>=1;break;default:throw new Error("Unknown `tierSizeCalculation` configured")}a.push([1,1]),a.reverse();const f=[i],c=[0];for(let T=1,D=a.length;T{g=l,this.changed()}),A.src=_}}function uw(e){return e.toLocaleString("en",{maximumFractionDigits:10})}class nKe extends gh{constructor(t){const n=t||{};let r=n.url||"";r=r+(r.lastIndexOf("/")===r.length-1||r===""?"":"/");const i=n.version||Zs.VERSION2,s=n.sizes||[],o=n.size;Dc(o!=null&&Array.isArray(o)&&o.length==2&&!isNaN(o[0])&&o[0]>0&&!isNaN(o[1])&&o[1]>0,"Missing or invalid `size`");const a=o[0],l=o[1],u=n.tileSize,f=n.tilePixelRatio||1,c=n.format||"jpg",d=n.quality||(n.version==Zs.VERSION1?"native":"default");let h=n.resolutions||[];const p=n.supports||[],g=n.extent||[0,-l,a,0],v=s!=null&&Array.isArray(s)&&s.length>0,x=u!==void 0&&(typeof u=="number"&&Number.isInteger(u)&&u>0||Array.isArray(u)&&u.length>0),y=p!=null&&Array.isArray(p)&&(p.includes("regionByPx")||p.includes("regionByPct"))&&(p.includes("sizeByWh")||p.includes("sizeByH")||p.includes("sizeByW")||p.includes("sizeByPct"));let w,_,A;if(h.sort(function(R,O){return O-R}),x||y)if(u!=null&&(typeof u=="number"&&Number.isInteger(u)&&u>0?(w=u,_=u):Array.isArray(u)&&u.length>0&&((u.length==1||u[1]==null&&Number.isInteger(u[0]))&&(w=u[0],_=u[0]),u.length==2&&(Number.isInteger(u[0])&&Number.isInteger(u[1])?(w=u[0],_=u[1]):u[0]==null&&Number.isInteger(u[1])&&(w=u[1],_=u[1])))),(w===void 0||_===void 0)&&(w=J4,_=J4),h.length==0){A=Math.max(Math.ceil(Math.log(a/w)/Math.LN2),Math.ceil(Math.log(l/_)/Math.LN2));for(let R=A;R>=0;R--)h.push(Math.pow(2,R))}else{const R=Math.max(...h);A=Math.round(Math.log(R)/Math.LN2)}else if(w=a,_=l,h=[],v){s.sort(function(O,B){return O[0]-B[0]}),A=-1;const R=[];for(let O=0;O0&&h[h.length-1]==B){R.push(O);continue}h.push(B),A++}if(R.length>0)for(let O=0;OA)return;const I=R[1],U=R[2],q=h[$];if(!(I===void 0||U===void 0||q===void 0||I<0||Math.ceil(a/q/w)<=I||U<0||Math.ceil(l/q/_)<=U)){if(y||x){const Y=I*w*q,X=U*_*q;let te=w*q,le=_*q,ee=w,z=_;if(Y+te>a&&(te=a-Y),X+le>l&&(le=l-X),Y+w*q>a&&(ee=Math.floor((a-Y+q-1)/q)),X+_*q>l&&(z=Math.floor((l-X+q-1)/q)),Y==0&&te==a&&X==0&&le==l)K="full";else if(!y||p.includes("regionByPx"))K=Y+","+X+","+te+","+le;else if(p.includes("regionByPct")){const he=uw(Y/a*100),de=uw(X/l*100),ze=uw(te/a*100),He=uw(le/l*100);K="pct:"+he+","+de+","+ze+","+He}i==Zs.VERSION3&&(!y||p.includes("sizeByWh"))?L=ee+","+z:!y||p.includes("sizeByW")?L=ee+",":p.includes("sizeByH")?L=","+z:p.includes("sizeByWh")?L=ee+","+z:p.includes("sizeByPct")&&(L="pct:"+uw(100/q))}else if(K="full",v){const Y=s[$][0],X=s[$][1];i==Zs.VERSION3?Y==a&&X==l?L="max":L=Y+","+X:Y==a?L="full":L=Y+","}else L=i==Zs.VERSION3?"max":"full";return r+K+"/"+L+"/0/"+d+"."+c}},k=Ike.bind(null,Ec(u||256).map(function(R){return R*f}));super({attributions:n.attributions,attributionsCollapsible:n.attributionsCollapsible,cacheSize:n.cacheSize,crossOrigin:n.crossOrigin,interpolate:n.interpolate,projection:n.projection,reprojectionErrorThreshold:n.reprojectionErrorThreshold,state:n.state,tileClass:k,tileGrid:T,tilePixelRatio:n.tilePixelRatio,tileUrlFunction:D,transition:n.transition}),this.zDirection=n.zDirection}}function Pke(e,t,n,r,i,s){const o=i.getCode().split(/:(?=\d+$)/).pop(),a=n/r,l=[Wve(eu(t)/a,Yve),Wve(Hp(t)/a,Yve)];s.SIZE=l[0]+","+l[1],s.BBOX=t.join(","),s.BBOXSR=o,s.IMAGESR=o,s.DPI=Math.round(s.DPI?s.DPI*r:90*r);const u=e.replace(/MapServer\/?$/,"MapServer/export").replace(/ImageServer\/?$/,"ImageServer/exportImage");return E3(u,s)}function Nke(e){const t=e.load?e.load:G1,n=oi(e.projection||"EPSG:3857"),r=e.ratio??1.5,i=e.crossOrigin??null;return function(s,o,a){a=e.hidpi?a:1;const l={F:"image",FORMAT:"PNG32",TRANSPARENT:!0};Object.assign(l,e.params),s=QCe(s,o,a,r);const u=Pke(e.url,s,o,a,n,l),f=new Image;return f.crossOrigin=i,t(f,u).then(c=>{const d=eu(s)/c.width*a;return{image:c,extent:s,resolution:d,pixelRatio:a}})}}class rKe extends L0{constructor(t){t=t||{},super({attributions:t.attributions,interpolate:t.interpolate,projection:t.projection,resolutions:t.resolutions}),this.crossOrigin_=t.crossOrigin!==void 0?t.crossOrigin:null,this.hidpi_=t.hidpi!==void 0?t.hidpi:!0,this.url_=t.url,this.imageLoadFunction_=t.imageLoadFunction!==void 0?t.imageLoadFunction:MI,this.params_=Object.assign({},t.params),this.imageSize_=[0,0],this.renderedRevision_=0,this.ratio_=t.ratio!==void 0?t.ratio:1.5,this.loaderProjection_=null}getParams(){return this.params_}getImageInternal(t,n,r,i){return this.url_===void 0?null:((!this.loader||this.loaderProjection_!==i)&&(this.loaderProjection_=i,this.loader=Nke({crossOrigin:this.crossOrigin_,params:this.params_,projection:i,hidpi:this.hidpi_,url:this.url_,ratio:this.ratio_,load:(s,o)=>(this.image.setImage(s),this.imageLoadFunction_(this.image,o),G1(s))})),super.getImageInternal(t,n,r,i))}getImageLoadFunction(){return this.imageLoadFunction_}getUrl(){return this.url_}setImageLoadFunction(t){this.imageLoadFunction_=t,this.changed()}setUrl(t){t!=this.url_&&(this.url_=t,this.loader=null,this.changed())}updateParams(t){Object.assign(this.params_,t),this.changed()}changed(){this.image=null,super.changed()}}class iKe extends L0{constructor(t){t=t||{},super({attributions:t.attributions,interpolate:t.interpolate,projection:t.projection,resolutions:t.resolutions,state:t.state}),this.canvasFunction_=t.canvasFunction,this.canvas_=null,this.renderedRevision_=0,this.ratio_=t.ratio!==void 0?t.ratio:1.5}getImageInternal(t,n,r,i){n=this.findNearestResolution(n);let s=this.canvas_;if(s&&this.renderedRevision_==this.getRevision()&&s.getResolution()==n&&s.getPixelRatio()==r&&p3(s.getExtent(),t))return s;t=t.slice(),XCe(t,this.ratio_);const o=eu(t)/n,a=Hp(t)/n,l=[o*r,a*r],u=this.canvasFunction_.call(this,t,n,r,l,i);return u&&(s=new qI(t,n,r,u)),this.canvas_=s,this.renderedRevision_=this.getRevision(),s}}function sKe(e,t,n,r){const i=eu(e),s=Hp(e),o=t[0],a=t[1],l=.0254/r;return a*i>o*s?i*n/(o*l):s*n/(a*l)}function oKe(e,t,n,r,i,s,o){const a=sKe(n,r,s,o),l=Fp(n),u={OPERATION:i?"GETDYNAMICMAPOVERLAYIMAGE":"GETMAPIMAGE",VERSION:"2.0.0",LOCALE:"en",CLIENTAGENT:"ol/source/ImageMapGuide source",CLIP:"1",SETDISPLAYDPI:o,SETDISPLAYWIDTH:Math.round(r[0]),SETDISPLAYHEIGHT:Math.round(r[1]),SETVIEWSCALE:a,SETVIEWCENTERX:l[0],SETVIEWCENTERY:l[1]};return Object.assign(u,t),E3(e,u)}function Bke(e){const t=e.load||G1,n=e.useOverlay??!1,r=e.metersPerUnit||1,i=e.displayDpi||96,s=e.ratio??1,o=e.crossOrigin??null;return function(a,l,u){const f=new Image;f.crossOrigin=o,a=QCe(a,l,u,s);const c=eu(a)/l,d=Hp(a)/l,h=[c*u,d*u],p=oKe(e.url,e.params,a,h,n,r,i);return t(f,p).then(g=>({image:g,extent:a,pixelRatio:u}))}}class aKe extends L0{constructor(t){super({interpolate:t.interpolate,projection:t.projection,resolutions:t.resolutions}),this.crossOrigin_=t.crossOrigin!==void 0?t.crossOrigin:null,this.displayDpi_=t.displayDpi!==void 0?t.displayDpi:96,this.params_=Object.assign({},t.params),this.url_=t.url,this.imageLoadFunction_=t.imageLoadFunction!==void 0?t.imageLoadFunction:MI,this.hidpi_=t.hidpi!==void 0?t.hidpi:!0,this.metersPerUnit_=t.metersPerUnit!==void 0?t.metersPerUnit:1,this.ratio_=t.ratio!==void 0?t.ratio:1,this.useOverlay_=t.useOverlay!==void 0?t.useOverlay:!1,this.renderedRevision_=0,this.loaderProjection_=null}getParams(){return this.params_}getImageInternal(t,n,r,i){return this.url_===void 0?null:((!this.loader||this.loaderProjection_!==i)&&(this.loaderProjection_=i,this.loader=Bke({crossOrigin:this.crossOrigin_,params:this.params_,hidpi:this.hidpi_,metersPerUnit:this.metersPerUnit_,url:this.url_,useOverlay:this.useOverlay_,ratio:this.ratio_,load:(s,o)=>(this.image.setImage(s),this.imageLoadFunction_(this.image,o),G1(s))})),super.getImageInternal(t,n,r,i))}getImageLoadFunction(){return this.imageLoadFunction_}updateParams(t){Object.assign(this.params_,t),this.changed()}setImageLoadFunction(t){this.imageLoadFunction_=t,this.changed()}changed(){this.image=null,super.changed()}}function zke(e){const t=e.load||G1,n=e.imageExtent,r=e.crossOrigin??null;return()=>{const i=new Image;return i.crossOrigin=r,t(i,e.url).then(s=>{const o=eu(n)/s.width,a=Hp(n)/s.height;return{image:s,extent:n,resolution:o!==a?[o,a]:a,pixelRatio:1}})}}class jke extends L0{constructor(t){const n=t.crossOrigin!==void 0?t.crossOrigin:null,r=t.imageLoadFunction!==void 0?t.imageLoadFunction:MI;super({attributions:t.attributions,interpolate:t.interpolate,projection:oi(t.projection)}),this.url_=t.url,this.imageExtent_=t.imageExtent,this.image=null,this.image=new PCe(this.imageExtent_,void 0,1,zke({url:t.url,imageExtent:t.imageExtent,crossOrigin:n,load:(i,s)=>(this.image.setImage(i),r(this.image,s),G1(i))})),this.image.addEventListener(Cl.CHANGE,this.handleImageChange.bind(this))}getImageExtent(){return this.imageExtent_}getImageInternal(t,n,r,i){return Zv(t,this.image.getExtent())?this.image:null}getUrl(){return this.url_}}const lKe=new Error("Image failed to load");function Uke(e,t,n,r,i){return new Promise((s,o)=>{const a=new Image;a.crossOrigin=i.crossOrigin??null,a.addEventListener("load",()=>s(a)),a.addEventListener("error",()=>o(lKe)),a.src=e3e(e,t,n,r,i.maxY)})}function obe(e){return function(t,n,r,i){const s=tUe(e,t,n,r);return Uke(s,t,n,r,i)}}function uKe(e){return function(t,n,r,i){const s=e(t,n,r,i);return Uke(s,t,n,r,i)}}function abe(e){let t;if(Array.isArray(e))t=obe(e);else if(typeof e=="string"){const n=JCe(e);t=obe(n)}else if(typeof e=="function")t=uKe(e);else throw new Error("The url option must be a single template, an array of templates, or a function for getting a URL");return t}let lbe=0;function ube(e){return Array.isArray(e)?e.join(` `):typeof e=="string"?e:(++lbe,"url-function-key-"+lbe)}class qke extends dE{constructor(t){t=t||{};let n=t.loader,r;t.url&&(n=abe(t.url),r=ube(t.url));const i=n?t.state:"loading",s=t.wrapX===void 0?!0:t.wrapX;super({loader:n,key:r,attributions:t.attributions,attributionsCollapsible:t.attributionsCollapsible,maxZoom:t.maxZoom,minZoom:t.minZoom,tileSize:t.tileSize,gutter:t.gutter,maxResolution:t.maxResolution,projection:t.projection,tileGrid:t.tileGrid,state:i,wrapX:s,transition:t.transition,interpolate:t.interpolate!==!1,crossOrigin:t.crossOrigin,zDirection:t.zDirection})}setUrl(t){const n=abe(t);this.setLoader(n),this.setKey(ube(t)),this.getState()!=="ready"&&this.setState("ready")}}function EP(e,t,n,r){const i=document.createElement("script"),s="olc_"+Ei(t);function o(){delete window[s],i.parentNode.removeChild(i)}i.async=!0,i.src=e+(e.includes("?")?"&":"?")+"callback="+s;const a=setTimeout(function(){o(),n&&n()},1e4);window[s]=function(l){clearTimeout(a),o(),t(l)},document.head.appendChild(i)}class cKe extends Error{constructor(t){const n="Unexpected response status: "+t.status;super(n),this.name="ResponseError",this.response=t}}class fKe extends Error{constructor(t){super("Failed to issue request"),this.name="ClientError",this.client=t}}function Hke(e){return new Promise(function(t,n){function r(o){const a=o.target;if(!a.status||a.status>=200&&a.status<300){let l;try{l=JSON.parse(a.responseText)}catch(u){const f="Error parsing response text as JSON: "+u.message;n(new Error(f));return}t(l);return}n(new cKe(a))}function i(o){n(new fKe(o.target))}const s=new XMLHttpRequest;s.addEventListener("load",r),s.addEventListener("error",i),s.open("GET",e),s.setRequestHeader("Accept","application/json"),s.send()})}function Gke(e,t){return t.includes("://")?t:new URL(t,e).href}const dKe={"image/png":!0,"image/jpeg":!0,"image/gif":!0,"image/webp":!0},hKe={"application/vnd.mapbox-vector-tile":!0,"application/geo+json":!0};function Vke(e,t){if(!t.length)return e;const n=new URL(e,"file:/");if(n.pathname.split("/").includes("collections"))return Q_('The "collections" query parameter cannot be added to collection endpoints'),e;const r=t.map(o=>encodeURIComponent(o)).join(",");n.searchParams.append("collections",r);const i=e.split("?")[0],s=decodeURIComponent(n.searchParams.toString());return`${i}?${s}`}function pKe(e,t,n){let r,i;for(let s=0;sT.replace(/E|X|Lon/i,"e").replace(/N|Y|Lat/i,"n")).join(""):i.getAxisOrientation()).startsWith("en"),l=t.tileMatrices,u={};for(let T=0;T$.maxTileCol||K.tileRow<$.minTileRow||K.tileRow>$.maxTileRow)return}Object.assign(K,w);const L=n.replace(/\{(\w+?)\}/g,function($,I){return K[I]});return Gke(_,L)}return{grid:y,projection:i,urlTemplate:n,urlFunction:A}}function gKe(e,t){const n=t.tileMatrixSetLimits;let r;if(t.dataType==="map")r=pKe(t.links,e.mediaType,e.collections);else if(t.dataType==="vector")r=mKe(t.links,e.mediaType,e.supportedMediaTypes,e.collections);else throw new Error('Expected tileset data type to be "map" or "vector"');if(t.tileMatrixSet)return cbe(e,t.tileMatrixSet,r,n);const i=t.links.find(a=>a.rel==="http://www.opengis.net/def/rel/ogc/1.0/tiling-scheme");if(!i)throw new Error("Expected http://www.opengis.net/def/rel/ogc/1.0/tiling-scheme link or tileMatrixSet");const s=i.href,o=Gke(e.url,s);return Hke(o).then(function(a){return cbe(e,a,r,n)})}function Wke(e){return Hke(e.url).then(function(t){return gKe(e,t)})}class yKe extends gh{constructor(t){super({attributions:t.attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,interpolate:t.interpolate,projection:t.projection,reprojectionErrorThreshold:t.reprojectionErrorThreshold,state:"loading",tileLoadFunction:t.tileLoadFunction,wrapX:t.wrapX!==void 0?t.wrapX:!0,transition:t.transition});const n={url:t.url,projection:this.getProjection(),mediaType:t.mediaType,context:t.context||null,collections:t.collections};Wke(n).then(this.handleTileSetInfo_.bind(this)).catch(this.handleError_.bind(this))}handleTileSetInfo_(t){this.tileGrid=t.grid,this.projection=t.projection,this.setTileUrlFunction(t.urlFunction,t.urlTemplate),this.setState("ready")}handleError_(t){Q_(t),this.setState("error")}}class vKe extends wD{constructor(t){super({attributions:t.attributions,attributionsCollapsible:t.attributionsCollapsible,cacheSize:t.cacheSize,format:t.format,overlaps:t.overlaps,projection:t.projection,tileClass:t.tileClass,transition:t.transition,wrapX:t.wrapX,zDirection:t.zDirection,state:"loading"});const n={url:t.url,projection:this.getProjection(),mediaType:t.mediaType,supportedMediaTypes:t.format.supportedMediaTypes,context:t.context||null,collections:t.collections};Wke(n).then(this.handleTileSetInfo_.bind(this)).catch(this.handleError_.bind(this))}handleTileSetInfo_(t){this.tileGrid=t.grid,this.projection=t.projection,this.setTileUrlFunction(t.urlFunction,t.urlTemplate),this.setState("ready")}handleError_(t){Q_(t),this.setState("error")}}function Yke(e){return function(t){const n=t.buffers,r=t.meta,i=t.imageOps,s=t.width,o=t.height,a=n.length,l=n[0].byteLength;if(i){const d=new Array(a);for(let p=0;p"u"?"data:text/javascript;base64,"+Buffer.from(r.join(` -`),"binary").toString("base64"):URL.createObjectURL(new Blob(r,{type:"text/javascript"})));return i.addEventListener("message",t),i}function xKe(e,t){const n=Yke(e.operation);let r=!1;return{postMessage:function(i){setTimeout(function(){r||t({data:{buffer:n(i),meta:i.meta}})},0)},terminate:function(){r=!0}}}class wKe extends qCe{constructor(t){super(),this.imageOps_=!!t.imageOps;let n;t.threads===0?n=0:this.imageOps_?n=1:n=t.threads||1;const r=new Array(n);if(n)for(let i=0;ithis.maxQueueLength_;)this.queue_.shift().callback(null,null)}dispatch_(){if(this.running_||this.queue_.length===0)return;const t=this.queue_.shift();this.job_=t;const n=t.inputs[0].width,r=t.inputs[0].height,i=t.inputs.map(function(l){return l.data.buffer}),s=this.workers_.length;if(this.running_=s,s===1){this.workers_[0].postMessage({buffers:i,meta:t.meta,imageOps:this.imageOps_,width:n,height:r},i);return}const o=t.inputs[0].data.length,a=4*Math.ceil(o/4/s);for(let l=0;l{var o;this.projection=t.projection!==void 0?oi(t.projection):r!==void 0?r.getProjection():this.projection,this.tileGrid=t.tileGrid!==void 0?t.tileGrid:r!==void 0?r.getTileGrid():this.tileGrid,this.zDirection=t.zDirection!==void 0?t.zDirection:r!==void 0?r.zDirection:this.zDirection,r instanceof dE&&(this.transformMatrix=((o=r.transformMatrix)==null?void 0:o.slice())||null);const s=this.tileGrid;s&&this.setTileSizes(s.getResolutions().map((a,l)=>Ec(s.getTileSize(l)).map(u=>Math.max(Math.floor(u),1)))),this.setLoader((a,l,u,f)=>{const c=e3e(n,a,l,u,f.maxY),[d,h]=this.getTileSize(a),p=t0(d,h);return p.strokeStyle="grey",p.strokeRect(.5,.5,d+.5,h+.5),p.fillStyle="grey",p.strokeStyle="white",p.textAlign="center",p.textBaseline="middle",p.font="24px sans-serif",p.lineWidth=4,p.strokeText(c,d/2,h/2,d),p.fillText(c,d/2,h/2,d),p.canvas}),this.setState("ready")};if(r===void 0||r.getState()==="ready")i();else{const s=()=>{r.getState()==="ready"&&(r.removeEventListener(Cl.CHANGE,s),i())};r.addEventListener(Cl.CHANGE,s)}}}class Zke extends gh{constructor(t){if(super({attributions:t.attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,interpolate:t.interpolate,projection:oi("EPSG:3857"),reprojectionErrorThreshold:t.reprojectionErrorThreshold,state:"loading",tileLoadFunction:t.tileLoadFunction,wrapX:t.wrapX!==void 0?t.wrapX:!0,transition:t.transition,zDirection:t.zDirection}),this.tileJSON_=null,this.tileSize_=t.tileSize,t.url)if(t.jsonp)EP(t.url,this.handleTileJSONResponse.bind(this),this.handleTileJSONError.bind(this));else{const n=new XMLHttpRequest;n.addEventListener("load",this.onXHRLoad_.bind(this)),n.addEventListener("error",this.onXHRError_.bind(this)),n.open("GET",t.url),n.send()}else if(t.tileJSON)this.handleTileJSONResponse(t.tileJSON);else throw new Error("Either `url` or `tileJSON` options must be provided")}onXHRLoad_(t){const n=t.target;if(!n.status||n.status>=200&&n.status<300){let r;try{r=JSON.parse(n.responseText)}catch{this.handleTileJSONError();return}this.handleTileJSONResponse(r)}else this.handleTileJSONError()}onXHRError_(t){this.handleTileJSONError()}getTileJSON(){return this.tileJSON_}handleTileJSONResponse(t){const n=oi("EPSG:4326"),r=this.getProjection();let i;if(t.bounds!==void 0){const u=OI(n,r);i=Kv(t.bounds,u)}const s=sE(r),o=t.minzoom||0,a=t.maxzoom||22,l=oE({extent:s,maxZoom:a,minZoom:o,tileSize:this.tileSize_});if(this.tileGrid=l,this.tileUrlFunction=n3e(t.tiles,l),t.attribution&&!this.getAttributions()){const u=i!==void 0?i:s;this.setAttributions(function(f){return Zv(u,f.extent)?[t.attribution]:null})}this.tileJSON_=t,this.setState("ready")}handleTileJSONError(){this.setState("error")}}class MKe extends lUe{constructor(t,n,r,i,s,o){super(t,n),this.src_=r,this.extent_=i,this.preemptive_=s,this.grid_=null,this.keys_=null,this.data_=null,this.jsonp_=o}getImage(){return null}getData(t){if(!this.grid_||!this.keys_)return null;const n=(t[0]-this.extent_[0])/(this.extent_[2]-this.extent_[0]),r=(t[1]-this.extent_[1])/(this.extent_[3]-this.extent_[1]),i=this.grid_[Math.floor((1-r)*this.grid_.length)];if(typeof i!="string")return null;let s=i.charCodeAt(Math.floor(n*i.length));s>=93&&s--,s>=35&&s--,s-=32;let o=null;if(s in this.keys_){const a=this.keys_[s];this.data_&&a in this.data_?o=this.data_[a]:o=a}return o}forDataAtCoordinate(t,n,r){this.state==Ts.EMPTY&&r===!0?(this.state=Ts.IDLE,uUe(this,Cl.CHANGE,i=>{n(this.getData(t))}),this.loadInternal_()):r===!0?setTimeout(()=>{n(this.getData(t))},0):n(this.getData(t))}getKey(){return this.src_}handleError_(){this.state=Ts.ERROR,this.changed()}handleLoad_(t){this.grid_=t.grid,this.keys_=t.keys,this.data_=t.data,this.state=Ts.LOADED,this.changed()}loadInternal_(){if(this.state==Ts.IDLE)if(this.state=Ts.LOADING,this.jsonp_)EP(this.src_,this.handleLoad_.bind(this),this.handleError_.bind(this));else{const t=new XMLHttpRequest;t.addEventListener("load",this.onXHRLoad_.bind(this)),t.addEventListener("error",this.onXHRError_.bind(this)),t.open("GET",this.src_),t.send()}}onXHRLoad_(t){const n=t.target;if(!n.status||n.status>=200&&n.status<300){let r;try{r=JSON.parse(n.responseText)}catch{this.handleError_();return}this.handleLoad_(r)}else this.handleError_()}onXHRError_(t){this.handleError_()}load(){this.preemptive_?this.loadInternal_():this.setState(Ts.EMPTY)}}class $Ke extends bD{constructor(t){if(super({projection:oi("EPSG:3857"),state:"loading",wrapX:t.wrapX!==void 0?t.wrapX:!0,zDirection:t.zDirection}),this.preemptive_=t.preemptive!==void 0?t.preemptive:!0,this.tileUrlFunction_=aUe,this.template_=void 0,this.jsonp_=t.jsonp||!1,t.url)if(this.jsonp_)EP(t.url,this.handleTileJSONResponse.bind(this),this.handleTileJSONError.bind(this));else{const n=new XMLHttpRequest;n.addEventListener("load",this.onXHRLoad_.bind(this)),n.addEventListener("error",this.onXHRError_.bind(this)),n.open("GET",t.url),n.send()}else if(t.tileJSON)this.handleTileJSONResponse(t.tileJSON);else throw new Error("Either `url` or `tileJSON` options must be provided")}onXHRLoad_(t){const n=t.target;if(!n.status||n.status>=200&&n.status<300){let r;try{r=JSON.parse(n.responseText)}catch{this.handleTileJSONError();return}this.handleTileJSONResponse(r)}else this.handleTileJSONError()}onXHRError_(t){this.handleTileJSONError()}getTemplate(){return this.template_}forDataAtCoordinateAndResolution(t,n,r,i){if(this.tileGrid){const s=this.tileGrid.getZForResolution(n,this.zDirection),o=this.tileGrid.getTileCoordForCoordAndZ(t,s);this.getTile(o[0],o[1],o[2],1,this.getProjection()).forDataAtCoordinate(t,r,i)}else i===!0?setTimeout(function(){r(null)},0):r(null)}handleTileJSONError(){this.setState("error")}handleTileJSONResponse(t){const n=oi("EPSG:4326"),r=this.getProjection();let i;if(t.bounds!==void 0){const f=OI(n,r);i=Kv(t.bounds,f)}const s=sE(r),o=t.minzoom||0,a=t.maxzoom||22,l=oE({extent:s,maxZoom:a,minZoom:o});this.tileGrid=l,this.template_=t.template;const u=t.grids;if(!u){this.setState("error");return}if(this.tileUrlFunction_=n3e(u,l),t.attribution){const f=i!==void 0?i:s;this.setAttributions(function(c){return Zv(f,c.extent)?[t.attribution]:null})}this.setState("ready")}getTile(t,n,r,i,s){const o=[t,n,r],a=this.getTileCoordForTileUrlFunction(o,s),l=this.tileUrlFunction_(a,i,s);return new MKe(o,l!==void 0?Ts.IDLE:Ts.EMPTY,l!==void 0?l:"",this.tileGrid.getTileCoordExtent(o),this.preemptive_,this.jsonp_)}}function IKe(e,t){const n=new VCe(32),r=e.getExtent();return function(i,s){n.expireCache(),r&&(i=e0(r,i));const o=e.getZForResolution(s),a=[];return e.forEachTileCoord(i,o,l=>{const u=l.toString();if(!n.containsKey(u)){const f=t(l);n.set(u,f)}a.push(n.get(u))}),a}}const PKe=Object.freeze(Object.defineProperty({__proto__:null,BingMaps:oXe,CartoDB:aXe,Cluster:lXe,DataTile:dE,GeoTIFF:_P,Google:eKe,IIIF:nKe,Image:L0,ImageArcGISRest:rKe,ImageCanvas:iKe,ImageMapGuide:aKe,ImageStatic:jke,ImageTile:qke,ImageWMS:cUe,OGCMapTile:yKe,OGCVectorTile:vKe,OSM:fUe,Raster:Xke,Source:$I,StadiaMaps:RKe,Tile:bD,TileArcGISRest:FKe,TileDebug:OKe,TileImage:gh,TileJSON:Zke,TileWMS:r3e,UTFGrid:$Ke,UrlTile:dUe,Vector:nE,VectorTile:wD,WMTS:i3e,XYZ:J_,Zoomify:tKe,createArcGISRestLoader:Nke,createMapGuideLoader:Bke,createStaticLoader:zke,createWMSLoader:hUe,sourcesFromTileGrid:IKe},Symbol.toStringTag,{value:"Module"})),NKe="1.0.0",BKe="",zKe=JSON.parse('[{"kind":"javascript-module","path":"elements/chart/src/main.js","declarations":[{"kind":"class","description":"Chart component based on [Vega-Lite](https://vega.github.io/vega-lite/)/[Vega-Embed](https://github.com/vega/vega-embed).\\nPass a valid Vega spec as `spec` property in order to render a chart.\\n\\nThe `eox-chart` provides some default `spec` settings (merged with the provided `spec` property) and helper functionalities on top of Vega-Lite.","name":"EOxChart","members":[{"kind":"field","name":"spec","privacy":"public","type":{"text":"VisualizationSpec"},"description":"[Vega-Lite spec](https://vega.github.io/vega-lite/docs/spec.html)","default":"undefined"},{"kind":"field","name":"dataValues","privacy":"public","type":{"text":"{[dataSourceName: string]: InlineData}"},"description":"Data values passed on runtime. Requires a [named data source](https://vega.github.io/vega-lite/docs/data.html#named) in the provided `spec`","default":"undefined"},{"kind":"field","name":"noShadow","privacy":"public","type":{"text":"Boolean"},"description":"Renders the element without a shadow root","default":"false","attribute":"no-shadow"},{"kind":"field","name":"unstyled","privacy":"public","type":{"text":"Boolean"},"description":"Render the element without additional styles","default":"false","attribute":"unstyled"}],"attributes":[{"name":"no-shadow","type":{"text":"Boolean"},"description":"Renders the element without a shadow root","default":"false","fieldName":"noShadow"},{"name":"unstyled","type":{"text":"Boolean"},"description":"Render the element without additional styles","default":"false","fieldName":"unstyled"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"eox-chart","customElement":true}],"exports":[{"kind":"js","name":"EOxChart","declaration":{"name":"EOxChart","module":"elements/chart/src/main.js"}},{"kind":"custom-element-definition","name":"eox-chart","declaration":{"name":"EOxChart","module":"elements/chart/src/main.js"}}]},{"kind":"javascript-module","path":"elements/geosearch/src/main.js","declarations":[{"kind":"class","description":"","name":"EOxGeoSearch","members":[{"kind":"field","name":"#eoxMap","privacy":"private","type":{"text":"EOxMap"}},{"kind":"method","name":"onInput","parameters":[{"name":"e"}]},{"kind":"method","name":"onInputBlur"},{"kind":"method","name":"onButtonClick"},{"kind":"method","name":"getFlexDirection"},{"kind":"method","name":"getResultsDirection"},{"kind":"method","name":"getVerticalAlign"},{"kind":"method","name":"getMarginDirection","parameters":[{"name":"direction"}]},{"kind":"method","name":"handleSelect","parameters":[{"name":"event"}]},{"kind":"method","name":"updateMap"},{"kind":"field","name":"eoxMap"},{"kind":"field","name":"_data","privacy":"private","description":"Internal storage of OpenCage API data after a successful API request.","type":{"text":"array"},"default":"[]"},{"kind":"field","name":"_isListVisible","privacy":"private","description":"Whether or not the list dropdown is visible.","type":{"text":"boolean"},"default":"false"},{"kind":"field","name":"_isInputVisible","privacy":"private","description":"Whether or not the input field is visible.","type":{"text":"boolean"},"default":"false"},{"kind":"field","name":"_query","privacy":"private","description":"The search query, which is bound to the input field.","type":{"text":"string"},"default":"\\"\\""},{"kind":"field","name":"_isLoading","privacy":"private","description":"Returns true if the element is currently loading data from the API.","type":{"text":"boolean"},"default":"false"},{"kind":"field","name":"for","privacy":"public","type":{"text":"String|HTMLElement"},"description":"Query selector of an `eox-map` (`String`, passed as an attribute or property)\\nor an `eox-map` DOM element (`HTMLElement`, passed as property)","default":"\\"eox-map\\"","attribute":"for"},{"kind":"field","name":"listDirection","type":{"text":"string"},"default":"\\"right\\""},{"kind":"field","name":"resultsDirection","privacy":"public","type":{"text":"string"},"description":"The direction of the results box relative to the input, with the following options:\\n\\n- `left`\\n- `top`\\n- `right`\\n- `bottom`","default":"\\"down\\"","attribute":"results-direction"},{"kind":"field","name":"interval","privacy":"public","type":{"text":"number"},"description":"Set a custom interval for the debounce function.","default":"800","attribute":"interval"},{"kind":"field","name":"loaderSvg","privacy":"public","type":{"text":"string"},"default":"` `","attribute":"loader-svg"},{"kind":"field","name":"fetchDebounced"},{"kind":"field","name":"endpoint","privacy":"public","type":{"text":"string"},"description":"The OpenCage API endpoint to use for the search, including the key but without the query parameter.","attribute":"endpoint"},{"kind":"field","name":"queryParameter","privacy":"public","type":{"text":"string"},"description":"The name of the query parameter to use for the search query in the endpoint URI.","attribute":"queryParameter"},{"kind":"field","name":"button","privacy":"public","type":{"text":"boolean"},"description":"Whether or not to enable button mode, which hides and shows the input field\\nsimilar to how a modal works.","attribute":"button"},{"kind":"field","name":"small","privacy":"public","type":{"text":"boolean"},"description":"Enables a smaller version of the button for use in map controls.","attribute":"small"},{"kind":"field","name":"label","privacy":"public","type":{"text":"string"},"description":"Which text to use for the button if it is enabled.","attribute":"label"},{"kind":"field","name":"direction","privacy":"public","type":{"text":"string"},"description":"The direction of the search input relative to the button, with the following options:\\n\\n- `left`\\n- `top`\\n- `right`\\n- `bottom`","attribute":"list-direction"},{"kind":"field","name":"unstyled","privacy":"public","type":{"text":"boolean"},"attribute":"unstyled"}],"events":[{"name":"geosearchSelect","type":{"text":"CustomEvent"},"description":"The select event, including the details of the selected item"}],"attributes":[{"name":"endpoint","type":{"text":"string"},"description":"The OpenCage API endpoint to use for the search, including the key but without the query parameter.","fieldName":"endpoint"},{"name":"for","type":{"text":"String|HTMLElement"},"description":"Query selector of an `eox-map` (`String`, passed as an attribute or property)\\nor an `eox-map` DOM element (`HTMLElement`, passed as property)","default":"\\"eox-map\\"","fieldName":"for"},{"name":"queryParameter","type":{"text":"string"},"description":"The name of the query parameter to use for the search query in the endpoint URI.","fieldName":"queryParameter"},{"name":"button","type":{"text":"boolean"},"description":"Whether or not to enable button mode, which hides and shows the input field\\nsimilar to how a modal works.","fieldName":"button"},{"name":"interval","type":{"text":"number"},"description":"Set a custom interval for the debounce function.","default":"800","fieldName":"interval"},{"name":"small","type":{"text":"boolean"},"description":"Enables a smaller version of the button for use in map controls.","fieldName":"small"},{"name":"label","type":{"text":"string"},"description":"Which text to use for the button if it is enabled.","fieldName":"label"},{"name":"list-direction","type":{"text":"string"},"description":"The direction of the search input relative to the button, with the following options:\\n\\n- `left`\\n- `top`\\n- `right`\\n- `bottom`","fieldName":"direction"},{"name":"results-direction","type":{"text":"string"},"description":"The direction of the results box relative to the input, with the following options:\\n\\n- `left`\\n- `top`\\n- `right`\\n- `bottom`","default":"\\"down\\"","fieldName":"resultsDirection"},{"name":"unstyled","type":{"text":"boolean"},"fieldName":"unstyled"},{"name":"loader-svg","type":{"text":"string"},"default":"loaderSvg","fieldName":"loaderSvg"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"eox-geosearch","customElement":true},{"kind":"class","description":"","name":"EOxGeoSearchItem","members":[{"kind":"field","name":"item","privacy":"public","type":{"text":"object"},"attribute":"item"},{"kind":"field","name":"onClick","privacy":"public","type":{"text":"function"},"attribute":"onClick"},{"kind":"field","name":"unstyled","privacy":"public","type":{"text":"boolean"},"attribute":"unstyled"}],"attributes":[{"name":"item","type":{"text":"object"},"fieldName":"item"},{"name":"onClick","type":{"text":"function"},"fieldName":"onClick"},{"name":"unstyled","type":{"text":"boolean"},"fieldName":"unstyled"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"eox-geosearch-item","customElement":true}],"exports":[{"kind":"custom-element-definition","name":"eox-geosearch","declaration":{"name":"EOxGeoSearch","module":"elements/geosearch/src/main.js"}},{"kind":"custom-element-definition","name":"eox-geosearch-item","declaration":{"name":"EOxGeoSearchItem","module":"elements/geosearch/src/main.js"}},{"kind":"js","name":"EOxGeoSearch","declaration":{"name":"EOxGeoSearch","module":"elements/geosearch/src/main.js"}}]},{"kind":"javascript-module","path":"elements/drawtools/src/main.js","declarations":[{"kind":"class","description":"Manage drawn features on a map","name":"EOxDrawTools","members":[{"kind":"field","name":"#eoxMap","privacy":"private","type":{"text":"EOxMap"}},{"kind":"field","name":"#olMap","privacy":"private","type":{"text":"Map"}},{"kind":"field","name":"#geoJSON","privacy":"private","type":{"text":"string"}},{"kind":"field","name":"#layerId","privacy":"private","type":{"text":"string"}},{"kind":"field","name":"layerId","privacy":"public","type":{"text":"string"},"description":"The ID of the Vector/Vector Tile Layer that contains features to be selected","default":"\\"\\"","attribute":"layer-id"},{"kind":"method","name":"startDrawing"},{"kind":"method","name":"discardDrawing"},{"kind":"method","name":"handleFeatureChange","parameters":[{"name":"text","description":"The string representation of the features to be parsed.","type":{"text":"string"}},{"name":"replaceFeatures","default":"false","description":"A boolean flag indicating whether to replace the existing features.","type":{"text":"boolean"}}]},{"kind":"method","name":"handleFilesChange","parameters":[{"name":"evt","description":"The event object from the file input interaction.","type":{"text":"DragEvent | Event"}}]},{"kind":"method","name":"onModifyEnd"},{"kind":"method","name":"updateGeoJSON","description":"Update #geoJSON with stringify feature."},{"kind":"method","name":"emitDrawnFeatures","description":"Triggers different events when the drawing of a shape is completed."},{"kind":"field","name":"eoxMap"},{"kind":"field","name":"allowModify","privacy":"public","type":{"text":"boolean"},"description":"Allow modifying the drawn feature(s)","default":"false","attribute":"allow-modify"},{"kind":"field","name":"for","privacy":"public","type":{"text":"String|HTMLElement"},"description":"Query selector of an `eox-map` (`String`, passed as an attribute or property)\\nor an `eox-map` DOM element (`HTMLElement`, passed as property)","default":"\\"eox-map\\"","attribute":"for"},{"kind":"field","name":"currentlyDrawing","privacy":"public","type":{"text":"boolean"},"description":"Whether the user is currently in the process of drawing or not","default":"false"},{"kind":"field","name":"draw","privacy":"public","type":{"text":"Draw | EOxSelectInteraction"},"description":"The current native OpenLayers `draw` interaction","default":"null"},{"kind":"field","name":"drawLayer","privacy":"public","type":{"text":"default"},"description":"The current native OpenLayers draw `layer` (initialized with a `zIndex` of 100)","default":"null"},{"kind":"field","name":"drawnFeatures","privacy":"public","type":{"text":"Array"},"description":"The array of drawn native OpenLayers features. Normally includes only one feature, until multiple feature drawing is enabled.","default":"[]"},{"kind":"field","name":"modify","privacy":"public","type":{"text":"Modify"},"description":"The current native OpenLayers `modify` interaction","default":"null"},{"kind":"field","name":"multipleFeatures","privacy":"public","type":{"text":"boolean"},"description":"Allow adding more than one feature at a time","default":"false","attribute":"multiple-features"},{"kind":"field","name":"importFeatures","privacy":"public","type":{"text":"boolean"},"description":"Allow import features using drag-drop and upload button","default":"false","attribute":"import-features"},{"kind":"field","name":"showEditor","privacy":"public","type":{"text":"boolean"},"description":"Show geo-json editor for draw tool","default":"false","attribute":"show-editor"},{"kind":"field","name":"showList","privacy":"public","type":{"text":"boolean"},"description":"Show list of features","default":"false","attribute":"show-list"},{"kind":"field","name":"projection","privacy":"public","type":{"text":"string"},"description":"Projection of the emitted drawn features","default":"\\"EPSG:4326\\"","attribute":"projection"},{"kind":"field","name":"type","privacy":"public","type":{"text":"\\"Polygon\\" | \\"Point\\" | \\"LineString\\" | \\"Circle\\" | \\"Box\\""},"description":"Type of the drawn feature","default":"\\"Polygon\\"","attribute":"type"},{"kind":"field","name":"selectionEvents","type":{"text":"ReturnType"},"default":"null"},{"kind":"field","name":"format","privacy":"public","type":{"text":"\\"feature\\"| \\"geojson\\" | \\"wkt\\""},"description":"The format in which the drawn features should be emitted","default":"\\"feature\\"","attribute":"format"},{"kind":"field","name":"unstyled","privacy":"public","type":{"text":"boolean"},"description":"Render the element without additional styles","default":"false","attribute":"unstyled"},{"kind":"field","name":"noShadow","privacy":"public","type":{"text":"Boolean"},"description":"Renders the element without a shadow root","default":"false","attribute":"noShadow"}],"events":[{"name":"drawupdate","type":{"text":"Array"},"description":"Fires whenever features are added, modified or discarded, where the event detail\\nis the `drawnFeatures` array"}],"attributes":[{"name":"allow-modify","type":{"text":"boolean"},"description":"Allow modifying the drawn feature(s)","default":"false","fieldName":"allowModify"},{"name":"for","type":{"text":"String|HTMLElement"},"description":"Query selector of an `eox-map` (`String`, passed as an attribute or property)\\nor an `eox-map` DOM element (`HTMLElement`, passed as property)","default":"\\"eox-map\\"","fieldName":"for"},{"name":"layer-id","type":{"text":"string"},"description":"The ID of the Vector/Vector Tile Layer that contains features to be selected","default":"\\"\\"","fieldName":"layerId"},{"name":"multiple-features","type":{"text":"boolean"},"description":"Allow adding more than one feature at a time","default":"false","fieldName":"multipleFeatures"},{"name":"import-features","type":{"text":"boolean"},"description":"Allow import features using drag-drop and upload button","default":"false","fieldName":"importFeatures"},{"name":"show-editor","type":{"text":"boolean"},"description":"Show geo-json editor for draw tool","default":"false","fieldName":"showEditor"},{"name":"show-list","type":{"text":"boolean"},"description":"Show list of features","default":"false","fieldName":"showList"},{"name":"projection","type":{"text":"string"},"description":"Projection of the emitted drawn features","default":"\\"EPSG:4326\\"","fieldName":"projection"},{"name":"noShadow","type":{"text":"Boolean"},"description":"Renders the element without a shadow root","default":"false","fieldName":"noShadow"},{"name":"format","type":{"text":"\\"feature\\"| \\"geojson\\" | \\"wkt\\""},"description":"The format in which the drawn features should be emitted","default":"\\"feature\\"","fieldName":"format"},{"name":"type","type":{"text":"\\"Polygon\\" | \\"Point\\" | \\"LineString\\" | \\"Circle\\" | \\"Box\\""},"description":"Type of the drawn feature","default":"\\"Polygon\\"","fieldName":"type"},{"name":"unstyled","type":{"text":"boolean"},"description":"Render the element without additional styles","default":"false","fieldName":"unstyled"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"eox-drawtools","customElement":true}],"exports":[{"kind":"js","name":"EOxDrawTools","declaration":{"name":"EOxDrawTools","module":"elements/drawtools/src/main.js"}},{"kind":"custom-element-definition","name":"eox-drawtools","declaration":{"name":"EOxDrawTools","module":"elements/drawtools/src/main.js"}}]},{"kind":"javascript-module","path":"elements/itemfilter/src/main.js","declarations":[{"kind":"class","description":"EOxItemFilter is a custom web component that provides a comprehensive item filtering system.\\nIt includes methods for applying filters, searching, sorting results, and resetting filters.\\nThe component supports both inline and dropdown modes for filter display.","name":"EOxItemFilter","members":[{"kind":"field","name":"#resultAggregation","privacy":"private","type":{"text":"Array"},"default":"[]"},{"kind":"field","name":"#items","privacy":"private","type":{"text":"Array"},"default":"[]"},{"kind":"field","name":"#config","privacy":"private","default":"ELEMENT_CONFIG","type":{"text":"Object"}},{"kind":"method","name":"apply","description":"Applies the filters to the items and updates the result aggregation."},{"kind":"method","name":"searchHandler","description":"Performs a search based on the current configuration and items.\\nRequests an update after the search completes."},{"kind":"method","name":"sortResults","parameters":[{"name":"items","description":"The items to be sorted.","type":{"text":"Array"}}],"description":"Sorts the given items based on the current configuration.","return":{"type":{"text":"Array"}}},{"kind":"method","name":"#createFilter","privacy":"private","parameters":[{"name":"filterObject","description":"The filter object.","type":{"text":"Object"}},{"name":"tabIndex","description":"The tab index for the filter element.","type":{"text":"number"}}],"description":"Creates a filter element based on the given filter object and tab index.","return":{"type":{"text":"import(\\"lit\\")"}}},{"kind":"method","name":"#createReset","privacy":"private","parameters":[{"name":"filterObject","description":"The filter object.","type":{"text":"Object"}},{"name":"tabIndex","description":"The tab index for the reset element.","type":{"text":"number"}}],"description":"Creates a reset element for the given filter object and tab index.","return":{"type":{"text":"import(\\"lit\\")"}}},{"kind":"method","name":"resetFilters","description":"Resets all applied filters."},{"kind":"method","name":"updateResult","parameters":[{"name":"evt","description":"\\"result\\" event triggered by result component","type":{"text":"{detail: Object}"}}],"description":"Updates selected result when result component triggers the \\"result\\" event."},{"kind":"field","name":"items","privacy":"public","type":{"text":"Array"},"description":"The items to be filtered","default":"null"},{"kind":"field","name":"filters","privacy":"public","type":{"text":"Object"},"description":"The state object containing the applied filters.","default":"{}"},{"kind":"field","name":"results","privacy":"public","type":{"text":"Array"},"description":"The state object containing the filtered results.","default":"[]"},{"kind":"field","name":"selectedResult","privacy":"public","type":{"text":"Object"},"description":"The currently selected result","default":"null"},{"kind":"field","name":"search","type":{"text":"Function"},"privacy":"private"},{"kind":"field","name":"aggregateResults","privacy":"public","type":{"text":"String"},"description":"Aggregate results by a property key","default":"undefined","attribute":"aggregate-results"},{"kind":"field","name":"autoSpreadSingle","privacy":"public","type":{"text":"Boolean"},"description":"Automatically spread single item summaries\\nremoving the summary header","default":"false","attribute":"auto-spread-single"},{"kind":"field","name":"enableHighlighting","privacy":"public","type":{"text":"Boolean"},"description":"Highlighting of search result character matches","default":"false","attribute":"enable-highlighting"},{"kind":"field","name":"externalFilter","privacy":"public","type":{"text":"Function"},"description":"Use an external search endpoint instead of fuse search.\\nPassed properties: input string, filters object","default":"null"},{"kind":"field","name":"filterProperties","privacy":"public","type":{"text":"Array<{key?: String, keys?: Array, title: String, type: String, placeholder?: String, format?: String, state?: Object}>"},"description":"The filter properties.","default":"[]"},{"kind":"field","name":"fuseConfig","privacy":"public","type":{"text":"Object"},"description":"Native fuse.js config override","default":"{}"},{"kind":"field","name":"inlineMode","privacy":"public","type":{"text":"Boolean"},"description":"Inline mode, for rendering the itemfilter in a very condensed space.\\nExpects showResults to be false","default":"false","attribute":"inline-mode"},{"kind":"field","name":"matchAllWhenEmpty","privacy":"public","type":{"text":"Boolean"},"description":"Show all result items if nothing is input by the user","default":"true","attribute":"match-all-when-empty"},{"kind":"field","name":"showResults","privacy":"public","type":{"text":"Boolean"},"description":"Display results list","default":"true","attribute":"show-result"},{"kind":"field","name":"titleProperty","privacy":"public","type":{"text":"String"},"description":"The property of the result items used for display","default":"\\"title\\"","attribute":"title-property"},{"kind":"field","name":"subTitleProperty","privacy":"public","type":{"text":"String"},"description":"The property of the result items used for a subtitle","default":"undefined","attribute":"sub-title-property"},{"kind":"field","name":"imageProperty","privacy":"public","type":{"text":"String"},"description":"The property of the result items used for an image","default":"undefined","attribute":"image-property"},{"kind":"field","name":"idProperty","privacy":"public","type":{"text":"String"},"description":"Unique id property of items","default":"\\"id\\"","attribute":"id-property"},{"kind":"field","name":"expandMultipleFilters","privacy":"public","type":{"text":"Boolean"},"description":"Allow opening multiple filter accordions in parallel","default":"true","attribute":"enable-multiple-filter"},{"kind":"field","name":"expandResults","privacy":"public","type":{"text":"Boolean"},"description":"Initialize result accordions expanded","default":"true","attribute":"expand-result"},{"kind":"field","name":"expandMultipleResults","privacy":"public","type":{"text":"Boolean"},"description":"Allow opening multiple result accordions in parallel","default":"true","attribute":"expand-multiple-results"},{"kind":"field","name":"resultType","privacy":"public","type":{"text":"String"},"description":"Rendering type for results (can be `list`or `cards`)","default":"\\"list\\"","attribute":"result-type"},{"kind":"field","name":"unstyled","privacy":"public","type":{"text":"boolean"},"description":"Render the element without additional styles","default":"false","attribute":"unstyled"}],"events":[{"name":"filter","type":{"text":"CustomEvent"},"description":"Fires when the filters are changed; event detail includes `filters` and `results`"},{"name":"select","type":{"text":"CustomEvent"},"description":"Fires when a result is selected; event detail is `selectedResult`"}],"attributes":[{"name":"aggregate-results","type":{"text":"String"},"description":"Aggregate results by a property key","default":"undefined","fieldName":"aggregateResults"},{"name":"auto-spread-single","type":{"text":"Boolean"},"description":"Automatically spread single item summaries\\nremoving the summary header","default":"false","fieldName":"autoSpreadSingle"},{"name":"enable-highlighting","type":{"text":"Boolean"},"description":"Highlighting of search result character matches","default":"false","fieldName":"enableHighlighting"},{"name":"inline-mode","type":{"text":"Boolean"},"description":"Inline mode, for rendering the itemfilter in a very condensed space.\\nExpects showResults to be false","default":"false","fieldName":"inlineMode"},{"name":"match-all-when-empty","type":{"text":"Boolean"},"description":"Show all result items if nothing is input by the user","default":"true","fieldName":"matchAllWhenEmpty"},{"name":"show-result","type":{"text":"Boolean"},"description":"Display results list","default":"true","fieldName":"showResults"},{"name":"id-property","type":{"text":"String"},"description":"Unique id property of items","default":"\\"id\\"","fieldName":"idProperty"},{"name":"title-property","type":{"text":"String"},"description":"The property of the result items used for display","default":"\\"title\\"","fieldName":"titleProperty"},{"name":"sub-title-property","type":{"text":"String"},"description":"The property of the result items used for a subtitle","default":"undefined","fieldName":"subTitleProperty"},{"name":"image-property","type":{"text":"String"},"description":"The property of the result items used for an image","default":"undefined","fieldName":"imageProperty"},{"name":"enable-multiple-filter","type":{"text":"Boolean"},"description":"Allow opening multiple filter accordions in parallel","default":"true","fieldName":"expandMultipleFilters"},{"name":"expand-result","type":{"text":"Boolean"},"description":"Initialize result accordions expanded","default":"true","fieldName":"expandResults"},{"name":"expand-multiple-results","type":{"text":"Boolean"},"description":"Allow opening multiple result accordions in parallel","default":"true","fieldName":"expandMultipleResults"},{"name":"result-type","type":{"text":"String"},"description":"Rendering type for results (can be `list`or `cards`)","default":"\\"list\\"","fieldName":"resultType"},{"name":"unstyled","type":{"text":"boolean"},"description":"Render the element without additional styles","default":"false","fieldName":"unstyled"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"eox-itemfilter","customElement":true}],"exports":[{"kind":"js","name":"EOxItemFilter","declaration":{"name":"EOxItemFilter","module":"elements/itemfilter/src/main.js"}},{"kind":"custom-element-definition","name":"eox-itemfilter","declaration":{"name":"EOxItemFilter","module":"elements/itemfilter/src/main.js"}}]},{"kind":"javascript-module","path":"elements/jsonform/src/main.js","declarations":[{"kind":"class","description":"","name":"EOxJSONForm","members":[{"kind":"field","name":"#editor","privacy":"private","type":{"text":"{[key: string]: any}"},"default":"null","description":"editor instance generated through - JSONEditor"},{"kind":"field","name":"editor","description":"Getter for the JSONEditor instance","readonly":true},{"kind":"field","name":"schema","privacy":"public","type":{"text":"JsonSchema"},"description":"Schema for the form editor","return":{"type":{"text":"JsonSchema | String"}},"parameters":[{"name":"newSchema","type":{"text":"JsonSchema"}}],"default":"null"},{"kind":"field","name":"value","privacy":"public","type":{"text":"JsonSchema"},"description":"Default values for the form editor","parameters":[{"name":"newVal","type":{"text":"JsonSchema"}}],"default":"null"},{"kind":"method","name":"#emitValue","privacy":"private","description":"Value object has been changed"},{"kind":"method","name":"#dispatchEvent","privacy":"private","description":"Dispatch same function for multiple event type"},{"kind":"field","name":"options","privacy":"public","type":{"text":"object"},"description":"Default values for the form editor","default":"{ show_opt_in: false, disable_collapse: true, disable_edit_json: true, disable_properties: true, disable_array_delete_all_rows: true, disable_array_delete_last_row: true, array_controls_top: true, }"},{"kind":"field","name":"noShadow","privacy":"public","type":{"text":"Boolean"},"description":"Renders the element without a shadow root","default":"false","attribute":"no-shadow"},{"kind":"field","name":"unstyled","privacy":"public","type":{"text":"Boolean"},"description":"Render the element without additional styles","default":"false","attribute":"unstyled"},{"kind":"field","name":"customEditorInterfaces","privacy":"public","type":{"text":"Array"},"description":"List of custom editor interface\\nRead more about the implementation of custom editor interfaces here:\\nhttps://github.com/json-editor/json-editor/blob/master/docs/custom-editor.html","default":"[]"}],"events":[{"name":"change","type":{"text":"CustomEvent"}}],"attributes":[{"name":"no-shadow","type":{"text":"Boolean"},"description":"Renders the element without a shadow root","default":"false","fieldName":"noShadow"},{"name":"unstyled","type":{"text":"Boolean"},"description":"Render the element without additional styles","default":"false","fieldName":"unstyled"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"eox-jsonform","customElement":true}],"exports":[{"kind":"js","name":"EOxJSONForm","declaration":{"name":"EOxJSONForm","module":"elements/jsonform/src/main.js"}},{"kind":"custom-element-definition","name":"eox-jsonform","declaration":{"name":"EOxJSONForm","module":"elements/jsonform/src/main.js"}}]},{"kind":"javascript-module","path":"elements/layercontrol/src/main.js","declarations":[{"kind":"class","description":"Display layers and groups of a connected OpenLayers map\\n\\n## Layer properties\\nIn order to be displayed correctly, the OpenLayers map layers need some custom properties (using e.g. `layer.set(property, value)`).\\n\\n#### `id?: string`\\nThe layer id. Not required but recommended. Can also be any other layer property (defined via the `idProperty` property or `id-property`attribute - see API).\\n\\n#### `title?: string`\\nThe title of the layer displayed in the layer control. Not required, but recommended in order to display human-readable layer titles. Can be any other layer property (defined via the `titleProperty` property or `title-property`attribute - see API).\\n\\n#### `layerControlHide?: Boolean`\\nCompletely hide a layer from the layer control.\\n\\n#### `layerControlOptional?: Boolean`\\nInitially hide a layer from the layer control, but make it available as an optional layer. If the layer is selected and added, it will be set to visible and pushed to the top of the layer list or (if originally configured within a layer group) to the top of the layer group.\\n\\n#### `layerControlExclusive?: Boolean`\\nMake layers mutually exclusive. If two or more layers (on the same level, i.e. at root or inside a layer group) have this property, then only one of them can be visualized at a time.\\n\\n#### `layerControlExpand?: Boolean`\\nPre-expand a layer dropdown so that it is always open when the component initializes.\\n\\n#### `layerControlToolsExpand?: Boolean`\\nPre-expand the layer tools so they are visible when the component initializes.\\n\\n#### `layerConfig?: Object`\\nConfiguration options for the layer (displayed in the layer tools\' \\"config\\" tab)\\n\\n#### `layerDateTime?: Object`\\nPartial eox-timecontrol config passed to the \\"datetime\\" tool\\n\\n### `layerLegend`?: Object\\nCreates a dynamic color legend based on range & domain of values. Extenteds partial config of `color-legend-element`","name":"EOxLayerControl","members":[{"kind":"field","name":"#eoxMap","privacy":"private","description":"Instance of `eox-map` which is a wrapper for the OL","type":{"text":"EOxMap"}},{"kind":"field","name":"eoxMap"},{"kind":"method","name":"#handleLayerControlLayerListChange","privacy":"private","parameters":[{"name":"evt","type":{"text":"CustomEvent & {target: Element}"}}],"description":"Event handler for changes in the layer list"},{"kind":"method","name":"#handleDatetimeUpdate","privacy":"private","parameters":[{"name":"evt","type":{"text":"CustomEvent"}}],"description":"Dispatches datetime updates from layer datetime to the layercontrol"},{"kind":"method","name":"#handleLayerConfigChange","privacy":"private","parameters":[{"name":"evt","type":{"text":"CustomEvent"}}],"description":"Dispatches jsonform updates from layer config to the layercontrol"},{"kind":"field","name":"#styleEOX","privacy":"private","default":"` :host, :root { font-family: Roboto, sans-serif; --padding: 0.5rem; --padding-vertical: .2rem; --list-padding: 48px; --layer-input-visibility: flex; --layer-summary-visibility: flex; --layer-type-visibility: block; --layer-title-visibility: flex; --layer-visibility: block; --layer-tools-button-visibility: flex; display: block; padding: var(--padding) 0; --background-color: var(--eox-background-color, transparent); background-color: var(--background-color, transparent); } select { background-color: var(--background-color); } `"},{"kind":"field","name":"for","privacy":"public","type":{"text":"String|HTMLElement"},"description":"Query selector of an `eox-map` (`String`, passed as an attribute or property)\\nor an `eox-map` DOM element (`HTMLElement`, passed as property)","default":"\\"eox-map\\"","attribute":"for"},{"kind":"field","name":"idProperty","privacy":"public","type":{"text":"String"},"description":"Layer id property","default":"\\"id\\"","attribute":"id-property"},{"kind":"field","name":"map","privacy":"public","type":{"text":"Map"},"description":"The native OL map instance","default":"null"},{"kind":"field","name":"titleProperty","privacy":"public","type":{"text":"String"},"description":"Layer title property","default":"\\"title\\"","attribute":"title-property"},{"kind":"field","name":"showLayerZoomState","privacy":"public","type":{"text":"Boolean"},"description":"Show layer state based on zoom level or not","default":"false","attribute":"show-layer-zoom-state"},{"kind":"field","name":"tools","privacy":"public","type":{"text":"Array"},"description":"Layer tools","default":"[\\"info\\", \\"opacity\\", \\"datetime\\", \\"config\\", \\"remove\\", \\"sort\\"]"},{"kind":"field","name":"addExternalLayers","privacy":"public","type":{"text":"Boolean"},"description":"Enable-disable external layer","default":"false"},{"kind":"field","name":"unstyled","privacy":"public","type":{"text":"Boolean"},"description":"Render the element without additional styles","default":"false","attribute":"unstyled"},{"kind":"field","name":"styleOverride","privacy":"public","type":{"text":"String"},"description":"Overrides elements current CSS.","default":"\\"\\"","attribute":"styleOverride"},{"kind":"field","name":"toolsAsList","privacy":"public","type":{"text":"Boolean"},"description":"If enabled, the tools section will be rendered as list.","default":"false","attribute":"toolsAsList"}],"events":[{"name":"layerchange","type":{"text":"CustomEvent"},"description":"A generic layer change event; could be a layer visibility, group length updates and others.\\nPasses the changed layer in the `detail`."},{"name":"datetime:updated","type":{"text":"CustomEvent"}},{"name":"layerConfig:change","type":{"text":"CustomEvent"}}],"attributes":[{"name":"for","type":{"text":"String|HTMLElement"},"description":"Query selector of an `eox-map` (`String`, passed as an attribute or property)\\nor an `eox-map` DOM element (`HTMLElement`, passed as property)","default":"\\"eox-map\\"","fieldName":"for"},{"name":"id-property","type":{"text":"String"},"description":"Layer id property","default":"\\"id\\"","fieldName":"idProperty"},{"name":"title-property","type":{"text":"String"},"description":"Layer title property","default":"\\"title\\"","fieldName":"titleProperty"},{"name":"show-layer-zoom-state","type":{"text":"Boolean"},"description":"Show layer state based on zoom level or not","default":"false","fieldName":"showLayerZoomState"},{"name":"unstyled","type":{"text":"Boolean"},"description":"Render the element without additional styles","default":"false","fieldName":"unstyled"},{"name":"styleOverride","type":{"text":"String"},"description":"Overrides elements current CSS.","default":"\\"\\"","fieldName":"styleOverride"},{"name":"toolsAsList","type":{"text":"Boolean"},"description":"If enabled, the tools section will be rendered as list.","default":"false","fieldName":"toolsAsList"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"eox-layercontrol","customElement":true}],"exports":[{"kind":"js","name":"EOxLayerControl","declaration":{"name":"EOxLayerControl","module":"elements/layercontrol/src/main.js"}},{"kind":"custom-element-definition","name":"eox-layercontrol","declaration":{"name":"EOxLayerControl","module":"elements/layercontrol/src/main.js"}}]},{"kind":"javascript-module","path":"elements/layout/src/main.js","declarations":[{"kind":"class","description":"This element allows to quickly set up an app layout using a 12x12 grid. It consists of two elements:\\n- `eox-layout`: the container holding all the items\\n- `eox-layout-item`: the individual items placed on the grid, with a defined x/y coordinate, and a w(idth) and h(eight)","name":"EOxLayout","members":[],"attributes":[{"name":"gap"}],"superclass":{"name":"HTMLElement"},"tagName":"eox-layout","customElement":true},{"kind":"class","description":"","name":"EOxLayoutItem","members":[],"attributes":[{"name":"x"},{"name":"y"},{"name":"w"},{"name":"h"}],"superclass":{"name":"HTMLElement"},"tagName":"eox-layout-item","customElement":true}],"exports":[{"kind":"js","name":"EOxLayout","declaration":{"name":"EOxLayout","module":"elements/layout/src/main.js"}},{"kind":"js","name":"EOxLayoutItem","declaration":{"name":"EOxLayoutItem","module":"elements/layout/src/main.js"}},{"kind":"custom-element-definition","name":"eox-layout","declaration":{"name":"EOxLayout","module":"elements/layout/src/main.js"}},{"kind":"custom-element-definition","name":"eox-layout-item","declaration":{"name":"EOxLayoutItem","module":"elements/layout/src/main.js"}}]},{"kind":"javascript-module","path":"elements/map/src/main.js","declarations":[{"kind":"class","description":"The `eox-map` is a wrapper for the library [OpenLayers](https://openlayers.org/) with additional features and helper functions.\\n\\nBasic usage:\\n\\n```\\nimport \\"@eox/map\\"\\n\\n\\n```\\n\\nSome basic layers, sources and formats are included in the default bundle, for advanced usage it is\\nrequired to import the `advancedLayersAndSources` plugin.\\n\\nIncluded in the base bundle:\\n- Formats: `GeoJSON`, `MVT`\\n- Layers: `Group`, `Image`, `Tile`, `Vector`, `VectorTile`\\n- Sources: `ImageWMS`, `OSM`, `Tile`, `TileWMS`, `Vector`, `VectorTile`, `WMTS`, `XYZ`\\n\\nIn order to use the rest of the layers and sources provided by OpenLayers, import the plugin as well:\\n\\n```\\nimport \\"@eox/map/src/plugins/advancedLayersAndSources\\"\\nimport \\"@eox/map\\"\\n\\n\\n```\\nIncluded in the advanced plugin bundle:\\n- Layers:\\n - All OpenLayers layer types\\n - [`STAC`](https://github.com/m-mohr/ol-stac)\\n- Sources:\\n - All OpenLayers source types\\n - [`WMTSCapabilities`](https://github.com/EOX-A/EOxElements/tree/main/elements/map/src/custom/sources/WMTSCapabilities.ts)\\n- Reprojection through [proj4](https://github.com/proj4js/proj4js)","name":"EOxMap","members":[{"kind":"field","name":"#zoomExtent","privacy":"private","description":"The current zoom extent of the map.\\nThis is used to define the maximum and minimum zoom levels.","type":{"text":"Extent"}},{"kind":"field","name":"#controls","privacy":"private","description":"Stores the controls applied to the map, such as zoom and navigation tools.","type":{"text":"ControlDictionary"}},{"kind":"field","name":"#layers","privacy":"private","description":"The array of layers currently added to the map.","type":{"text":"Array"}},{"kind":"field","name":"#preventScroll","privacy":"private","description":"Indicates whether the map\'s scroll interactions (zooming, panning) are prevented.","type":{"text":"Boolean"}},{"kind":"field","name":"#config","privacy":"private","description":"Holds the configuration object for initializing and managing the map\'s settings.","type":{"text":"ConfigObject"}},{"kind":"field","name":"#animationOptions","privacy":"private","description":"Options for animating changes to the map\'s view, such as panning or zooming.","type":{"text":"EOxAnimationOptions"}},{"kind":"field","name":"#sync","privacy":"private","description":"Represents the sync state of the map with another map instance.","type":{"text":"String"}},{"kind":"field","name":"#center","privacy":"private","type":{"text":"Array"},"default":"[0, 0]","description":"The current center coordinates of the map.\\nStored as an array of two numbers representing the x and y coordinates."},{"kind":"field","name":"#zoom","privacy":"private","type":{"text":"number"},"default":"0","description":"The current zoom level of the map."},{"kind":"field","name":"#projection","privacy":"private","type":{"text":"ProjectionLike"},"default":"\\"EPSG:3857\\"","description":"The map\'s projection system, specifying how coordinates are mapped on the globe.\\nDefaults to \\"EPSG:3857\\"."},{"kind":"field","name":"center","privacy":"public","type":{"text":"array"},"description":"Gets the current center coordinates of the map.","parameters":[{"description":"The new center coordinates [x, y].","name":"center","type":{"text":"Array"}}],"return":{"type":{"text":"Array"}}},{"kind":"field","name":"lonLatCenter","description":"Gets the current center of the map in longitude and latitude.","return":{"type":{"text":"Array"}},"readonly":true},{"kind":"field","name":"lonLatExtent","description":"Gets the current extent of the map in longitude and latitude.","return":{"type":{"text":"Array"}},"readonly":true},{"kind":"field","name":"zoom","description":"Gets the current zoom level of the map.","parameters":[{"description":"The new zoom level.","name":"zoom","type":{"text":"number"}}],"return":{"type":{"text":"number"}}},{"kind":"field","name":"zoomExtent","description":"Sets the zoom extent of the map.","parameters":[{"description":"The new zoom extent.","name":"extent","type":{"text":"Extent"}}]},{"kind":"field","name":"controls","description":"Gets the current map controls.","parameters":[{"description":"An array of control configurations.","name":"controls","type":{"text":"ControlDictionary"}}],"return":{"type":{"text":"Object"}}},{"kind":"field","name":"layers","privacy":"public","type":{"text":"array"},"description":"Gets the current layers of the map.","parameters":[{"description":"An array of layer configurations.","name":"layers","type":{"text":"Array"}}],"return":{"type":{"text":"Array"}}},{"kind":"field","name":"preventScroll","privacy":"public","type":{"text":"boolean"},"description":"Gets the current scroll interaction state.","parameters":[{"description":"Whether to prevent scroll interactions.","name":"preventScroll","type":{"text":"Boolean"}}],"return":{"type":{"text":"Boolean"}},"attribute":"prevent-scroll"},{"kind":"field","name":"config","privacy":"public","type":{"text":"object"},"description":"Gets the current configuration of the map.","parameters":[{"description":"The configuration object.","name":"config","type":{"text":"ConfigObject"}}],"return":{"type":{"text":"ConfigObject"}}},{"kind":"field","name":"animationOptions","description":"Gets the current animation options.","parameters":[{"description":"The animation options.","name":"animationOptions","type":{"text":"EOxAnimationOptions"}}],"return":{"type":{"text":"EOxAnimationOptions"}}},{"kind":"field","name":"projection","privacy":"public","type":{"text":"string"},"description":"Gets the current map projection.","parameters":[{"description":"The projection code (e.g., \\"EPSG:3857\\").","name":"projection","type":{"text":"ProjectionLike"}}],"return":{"type":{"text":"ProjectionLike"}},"attribute":"projection"},{"kind":"field","name":"sync","privacy":"public","type":{"text":"string"},"description":"Gets the current sync state of the map.","parameters":[{"description":"The ID of the map to sync with.","name":"sync","type":{"text":"string"}}],"return":{"type":{"text":"string"}},"attribute":"sync"},{"kind":"method","name":"addOrUpdateLayer","parameters":[{"name":"json","description":"The layer configuration in JSON format.","type":{"text":"EoxLayer"}}],"description":"Adds or updates a layer on the map.","return":{"type":{"text":"Object"}}},{"kind":"method","name":"removeInteraction","parameters":[{"name":"id","description":"The ID of the interaction to remove.","type":{"text":"string | number"}}],"description":"Removes an interaction from the map by its ID."},{"kind":"method","name":"removeSelect","parameters":[{"name":"id","description":"The ID of the select interaction to remove.","type":{"text":"string | number"}}],"description":"Removes a select interaction from the map by its ID."},{"kind":"method","name":"removeControl","parameters":[{"name":"id","description":"The ID of the control to remove.","type":{"text":"string"}}],"description":"Removes a control from the map by its ID."},{"kind":"method","name":"getLayerById","parameters":[{"name":"layerId","description":"The ID of the layer to retrieve.","type":{"text":"string"}}],"description":"Retrieves a layer from the map by its ID.","return":{"type":{"text":"AnyLayerWithSource"}}},{"kind":"field","name":"parseFeature","default":"parseFeature","description":"Parses a feature from the input data.","type":{"text":"Function"}},{"kind":"field","name":"parseTextToFeature","default":"parseTextToFeature","description":"Parses text into a feature."},{"kind":"field","name":"registerProjectionFromCode","default":"registerProjectionFromCode","description":"Registers a projection from an EPSG code."},{"kind":"field","name":"registerProjection","default":"registerProjection","description":"Registers a custom projection."},{"kind":"field","name":"getFlatLayersArray","default":"getFlatLayersArray","description":"Retrieves all layers in a flat array."},{"kind":"field","name":"transform","default":"transform","description":"Transforms coordinates between different projections."},{"kind":"field","name":"transformExtent","default":"transformExtent","description":"Transforms the extent between different projections."},{"kind":"field","name":"buffer","default":"buffer","description":"Applies a buffer around an extent."},{"kind":"field","name":"map","privacy":"public","description":"The OpenLayers map instance.","type":{"text":"default"},"default":"new Map({ controls: [], layers: [], view: new View({ center: [0, 0], zoom: 0, projection: this.projection, }), })"},{"kind":"field","name":"interactions","type":{"text":"Object."},"description":"Object to store various map interactions (e.g., drag, zoom).","default":"{}"},{"kind":"field","name":"selectInteractions","privacy":"public","type":{"text":"Object."},"description":"Object to store selection interactions for the map.","default":"{}"},{"kind":"field","name":"mapControls","privacy":"public","type":{"text":"Object."},"description":"Object to store map controls (e.g., custom buttons, geolocation).","default":"{}"},{"kind":"field","name":"intersections","privacy":"public","type":{"text":"object"}}],"attributes":[{"name":"prevent-scroll","type":{"text":"boolean"},"description":"Gets the current scroll interaction state.","parameters":[{"description":"Whether to prevent scroll interactions.","name":"preventScroll","type":{"text":"Boolean"}}],"return":{"type":{"text":"Boolean"}},"fieldName":"preventScroll"},{"name":"sync","type":{"text":"string"},"description":"Gets the current sync state of the map.","parameters":[{"description":"The ID of the map to sync with.","name":"sync","type":{"text":"string"}}],"return":{"type":{"text":"string"}},"fieldName":"sync"},{"name":"projection","type":{"text":"string"},"description":"Gets the current map projection.","parameters":[{"description":"The projection code (e.g., \\"EPSG:3857\\").","name":"projection","type":{"text":"ProjectionLike"}}],"return":{"type":{"text":"ProjectionLike"}},"fieldName":"projection"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"eox-map","customElement":true}],"exports":[{"kind":"js","name":"EOxMap","declaration":{"name":"EOxMap","module":"elements/map/src/main.js"}},{"kind":"custom-element-definition","name":"eox-map","declaration":{"name":"EOxMap","module":"elements/map/src/main.js"}}]},{"kind":"javascript-module","path":"elements/stacinfo/src/main.js","declarations":[{"kind":"class","description":"### Introduction\\nWorking with STAC catalogs, collections and items often times requires\\nto fetch a JSON file, parse its contents and display some of its fields\\nin some formatted way. To make these steps reusable, the `eox-stacinfo`\\nelement offers a set of functionalities:\\n- **automatically fetch a STAC file** as soon as the element loads\\n- offer a **property whitelist** functionality to choose which properties to display\\n- display the properties in **configurable sections** (header, body, featured, footer)\\n- allow to **override** any property display for application-specific custom needs\\n\\nThe use case for this element is alongside a map which displays STAC files\\nor in a catalog browsing scenario where a quick look at the most important properties\\nis needed.\\n\\n#### Technology\\nUnder the hood, this element uses [stac-fields](https://github.com/stac-utils/stac-fields) for parsing and pre-formatting properties.","name":"EOxStacInfo","members":[{"kind":"field","name":"allowHtml","privacy":"public","type":{"text":"boolean"},"description":"Whether to allow HTML in the property display","default":"false","attribute":"allow-html"},{"kind":"field","name":"unstyled","privacy":"public","type":{"text":"boolean"},"description":"Whether to use unstyled mode","default":"false","attribute":"unstyled"},{"kind":"field","name":"for","privacy":"public","type":{"text":"string"},"description":"The identifier for the STAC resource to fetch","default":"\\"\\"","attribute":"for"},{"kind":"field","name":"header","privacy":"public","type":{"text":"Array"},"description":"Keys of properties to display in the header","default":"[]"},{"kind":"field","name":"tags","privacy":"public","type":{"text":"Array"},"description":"Keys of properties to display to display as tags","default":"[]"},{"kind":"field","name":"body","privacy":"public","type":{"text":"Array"},"description":"Keys of properties to display to display in the main body","default":"[]"},{"kind":"field","name":"featured","privacy":"public","type":{"text":"Array"},"description":"Keys of properties to display in the featured section","default":"[]"},{"kind":"field","name":"footer","privacy":"public","type":{"text":"Array"},"description":"Keys of properties to display in the footer","default":"[]"},{"kind":"field","name":"stacInfo","privacy":"public","type":{"text":"Array"},"description":"The state object containing the fetched STAC information","default":"[]"},{"kind":"field","name":"stacProperties","privacy":"public","type":{"text":"Array"},"description":"The state object containing the parsed STAC properties","default":"[]"}],"attributes":[{"name":"allow-html","type":{"text":"boolean"},"description":"Whether to allow HTML in the property display","default":"false","fieldName":"allowHtml"},{"name":"unstyled","type":{"text":"boolean"},"description":"Whether to use unstyled mode","default":"false","fieldName":"unstyled"},{"name":"for","type":{"text":"string"},"description":"The identifier for the STAC resource to fetch","default":"\\"\\"","fieldName":"for"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"eox-stacinfo","customElement":true}],"exports":[{"kind":"js","name":"EOxStacInfo","declaration":{"name":"EOxStacInfo","module":"elements/stacinfo/src/main.js"}},{"kind":"custom-element-definition","name":"eox-stacinfo","declaration":{"name":"EOxStacInfo","module":"elements/stacinfo/src/main.js"}}]},{"kind":"javascript-module","path":"elements/storytelling/src/main.js","declarations":[{"kind":"class","description":"Manage drawn features on a map","name":"EOxStoryTelling","members":[{"kind":"field","name":"#html","privacy":"private","description":"Generated HTML string using markdown","type":{"text":"String"},"default":"undefined"},{"kind":"field","name":"#config","privacy":"private","type":{"text":"Object"},"default":"{}","description":"Basic config"},{"kind":"field","name":"#debounceUpdateMarkdown","privacy":"private","type":{"text":"Object"},"default":"null","description":"Debounce update markdown"},{"kind":"method","name":"#dispatchInitEvent","privacy":"private","parameters":[{"name":"element","description":"Dom element","type":{"text":"Element"}}]},{"kind":"method","name":"handleSlotChange","description":"Handles changes to the slot\'s content, updating the component\'s internal state."},{"kind":"method","name":"waitForHtmlInitialization"},{"kind":"field","name":"markdown","privacy":"public","type":{"text":"String"},"description":"Markdown Content","default":"\\"\\"","attribute":"markdown"},{"kind":"field","name":"markdownURL","privacy":"public","type":{"text":"String"},"description":"Markdown Content URL","default":"null","attribute":"markdown-url"},{"kind":"field","name":"unstyled","privacy":"public","type":{"text":"Boolean"},"description":"Render the element without additional styles","default":"false","attribute":"unstyled"},{"kind":"field","name":"noShadow","privacy":"public","type":{"text":"Boolean"},"description":"Renders the element without a shadow root","default":"false","attribute":"no-shadow"},{"kind":"field","name":"disableAutosave","privacy":"public","type":{"text":"Boolean"},"description":"Disable auto save","default":"false","attribute":"disable-autosave"},{"kind":"field","name":"showEditor","privacy":"public","type":{"text":"String | \\"closed\\" | undefined"},"description":"Enable or disable editor","default":"undefined","attribute":"show-editor"},{"kind":"field","name":"showNav","privacy":"public","type":{"text":"Boolean"},"description":"Enable or disable navigation","default":"false","attribute":"show-nav"},{"kind":"field","name":"nav","privacy":"public","type":{"text":"Array"},"description":"List of items in navigation","default":"[]"},{"kind":"field","name":"addCustomSectionIndex","privacy":"public","type":{"text":"Number"},"description":"custom section index","default":"-1","attribute":"addCustomSectionIndex"},{"kind":"field","name":"selectedCustomElement","privacy":"public","type":{"text":"Object | null"},"description":"Selected custom element object","default":"null","attribute":"selectedCustomElement"}],"events":[{"name":"init","type":{"text":"CustomEvent"}},{"name":"changed","type":{"text":"CustomEvent"}}],"attributes":[{"name":"markdown","type":{"text":"String"},"description":"Markdown Content","default":"\\"\\"","fieldName":"markdown"},{"name":"markdown-url","type":{"text":"String"},"description":"Markdown Content URL","default":"null","fieldName":"markdownURL"},{"name":"show-nav","type":{"text":"Boolean"},"description":"Enable or disable navigation","default":"false","fieldName":"showNav"},{"name":"show-editor","type":{"text":"String | \\"closed\\" | undefined"},"description":"Enable or disable editor","default":"undefined","fieldName":"showEditor"},{"name":"no-shadow","type":{"text":"Boolean"},"description":"Renders the element without a shadow root","default":"false","fieldName":"noShadow"},{"name":"disable-autosave","type":{"text":"Boolean"},"description":"Disable auto save","default":"false","fieldName":"disableAutosave"},{"name":"unstyled","type":{"text":"Boolean"},"description":"Render the element without additional styles","default":"false","fieldName":"unstyled"},{"name":"addCustomSectionIndex","type":{"text":"Number"},"description":"custom section index","default":"-1","fieldName":"addCustomSectionIndex"},{"name":"selectedCustomElement","type":{"text":"Object | null"},"description":"Selected custom element object","default":"null","fieldName":"selectedCustomElement"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"eox-storytelling","customElement":true}],"exports":[{"kind":"js","name":"EOxStoryTelling","declaration":{"name":"EOxStoryTelling","module":"elements/storytelling/src/main.js"}},{"kind":"custom-element-definition","name":"eox-storytelling","declaration":{"name":"EOxStoryTelling","module":"elements/storytelling/src/main.js"}}]},{"kind":"javascript-module","path":"elements/timecontrol/src/main.js","declarations":[{"kind":"class","description":"","name":"EOxTimeControl","members":[{"kind":"method","name":"next","description":"Go to next step"},{"kind":"method","name":"previous","description":"Go to previous step"},{"kind":"method","name":"playAnimation","parameters":[{"name":"on","description":"animation on/off","type":{"text":"boolean"}}],"description":"Toggle play animation"},{"kind":"method","name":"setConfig","parameters":[{"name":"config","type":{"text":"@param {string} [config.layer]\\n * @param {string} [config.controlProperty]\\n * @param {Array} [config.controlValues]"}}],"description":"Set the config at a later point"},{"kind":"field","name":"currentStep","privacy":"public","type":{"text":"string"},"description":"The currently selected step","attribute":"current-step"},{"kind":"method","name":"updateMap"},{"kind":"field","name":"eoxMap"},{"kind":"method","name":"_updateStep","parameters":[{"name":"step","default":"1","optional":true,"type":{"text":"number"}}],"privacy":"private"},{"kind":"method","name":"getFlatLayersArray","parameters":[{"name":"layers","type":{"text":"default[]"}}],"description":"TEMP / TO-DO, this is a copy of the function defined in the eox-map:\\nhttps://github.com/EOX-A/EOxElements/blob/main/elements/map/src/layer.ts#L25\\nConsider a way to properly export that function and use it here\\nSee also:\\nhttps://github.com/EOX-A/EOxElements/issues/974","return":{"type":{"text":"default[]"}}},{"kind":"field","name":"controlValues","privacy":"public","type":{"text":"string[]"},"description":"The list of available values for the animation property","default":"[]","attribute":"control-values"},{"kind":"field","name":"_newStepIndex","privacy":"public","type":{"text":"number"},"default":"0","attribute":"_newStepIndex"},{"kind":"field","name":"unstyled","privacy":"public","type":{"text":"boolean"},"default":"false","attribute":"unstyled"},{"kind":"field","name":"play","privacy":"public","type":{"text":"boolean"},"description":"Hides the play button if set","default":"false","attribute":"play"},{"kind":"field","name":"navigation","privacy":"public","type":{"text":"boolean"},"description":"Display left & right navigation buttons for the values","default":"true","attribute":"navigation"},{"kind":"field","name":"slider","privacy":"public","type":{"text":"boolean"},"description":"Display a slider for the values","default":"false","attribute":"slider"},{"kind":"field","name":"for","privacy":"public","type":{"text":"String|HTMLElement"},"description":"Query selector of an `eox-map` (`String`, passed as an attribute or property)\\nor an `eox-map` DOM element (`HTMLElement`, passed as property)","default":"\\"eox-map\\"","attribute":"for"},{"kind":"field","name":"layer","privacy":"public","type":{"text":"string"},"description":"The layerid of the animated layer","default":"\\"\\"","attribute":"layer"},{"kind":"field","name":"controlProperty","privacy":"public","type":{"text":"string | undefined"},"description":"The WMS parameter to update","default":"undefined","attribute":"control-property"},{"kind":"field","name":"_eoxMap","privacy":"public","type":{"text":"HTMLElement |undefined"},"default":"undefined","attribute":"_eoxMap"},{"kind":"field","name":"_width","privacy":"public","type":{"text":"number"},"default":"300","attribute":"_width"},{"kind":"field","name":"displayFormat","privacy":"public","type":{"text":"string"},"description":"Date format string for displaying the current step\\nusing [dayjs format token strings](https://day.js.org/docs/en/display/format)","default":"undefined","attribute":"display-format"},{"kind":"field","name":"_originalParams","privacy":"public","type":{"text":"object"},"description":"Original params of layer source","attribute":"_originalParams"},{"kind":"field","name":"_animationInterval","privacy":"public","attribute":"_animationInterval"},{"kind":"field","name":"_controlSource","privacy":"public","attribute":"_controlSource"},{"kind":"field","name":"_isAnimationPlaying","privacy":"public","attribute":"_isAnimationPlaying"}],"events":[{"name":"stepchange","type":{"text":"CustomEvent"},"description":"Triggers when *currentStep* is updated.\\n`event.detail.currentStep` returns the new *currentStep* value."}],"attributes":[{"name":"control-property","type":{"text":"string | undefined"},"description":"The WMS parameter to update","default":"undefined","fieldName":"controlProperty"},{"name":"control-values","type":{"text":"string[]"},"description":"The list of available values for the animation property","default":"[]","fieldName":"controlValues"},{"name":"for","type":{"text":"String|HTMLElement"},"description":"Query selector of an `eox-map` (`String`, passed as an attribute or property)\\nor an `eox-map` DOM element (`HTMLElement`, passed as property)","default":"\\"eox-map\\"","fieldName":"for"},{"name":"layer","type":{"text":"string"},"description":"The layerid of the animated layer","default":"\\"\\"","fieldName":"layer"},{"name":"slider","type":{"text":"boolean"},"description":"Display a slider for the values","default":"false","fieldName":"slider"},{"name":"navigation","type":{"text":"boolean"},"description":"Display left & right navigation buttons for the values","default":"true","fieldName":"navigation"},{"name":"_originalParams","type":{"text":"object"},"description":"Original params of layer source","fieldName":"_originalParams"},{"name":"play","type":{"text":"boolean"},"description":"Hides the play button if set","default":"false","fieldName":"play"},{"name":"display-format","type":{"text":"string"},"description":"Date format string for displaying the current step\\nusing [dayjs format token strings](https://day.js.org/docs/en/display/format)","default":"undefined","fieldName":"displayFormat"},{"name":"current-step","type":{"text":"string"},"description":"The currently selected step","fieldName":"currentStep"},{"name":"_animationInterval","fieldName":"_animationInterval"},{"name":"_controlSource","fieldName":"_controlSource"},{"name":"_isAnimationPlaying","fieldName":"_isAnimationPlaying"},{"name":"_newStepIndex","type":{"text":"number"},"default":"0","fieldName":"_newStepIndex"},{"name":"_eoxMap","type":{"text":"HTMLElement |undefined"},"default":"undefined","fieldName":"_eoxMap"},{"name":"_width","type":{"text":"number"},"default":"300","fieldName":"_width"},{"name":"unstyled","type":{"text":"boolean"},"default":"false","fieldName":"unstyled"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"eox-timecontrol","customElement":true}],"exports":[{"kind":"js","name":"EOxTimeControl","declaration":{"name":"EOxTimeControl","module":"elements/timecontrol/src/main.js"}},{"kind":"custom-element-definition","name":"eox-timecontrol","declaration":{"name":"EOxTimeControl","module":"elements/timecontrol/src/main.js"}}]},{"kind":"javascript-module","path":"elements/layercontrol/node_modules/@eox/jsonform/src/main.js","declarations":[{"kind":"class","description":"","name":"EOxJSONForm","members":[{"kind":"field","name":"#editor","privacy":"private","type":{"text":"{[key: string]: any}"},"default":"null","description":"editor instance generated through - JSONEditor"},{"kind":"field","name":"editor","description":"Getter for the JSONEditor instance","readonly":true},{"kind":"field","name":"schema","privacy":"public","type":{"text":"JsonSchema"},"description":"Schema for the form editor","return":{"type":{"text":"JsonSchema | String"}},"parameters":[{"name":"newSchema","type":{"text":"JsonSchema"}}],"default":"null"},{"kind":"field","name":"value","privacy":"public","type":{"text":"JsonSchema"},"description":"Default values for the form editor","parameters":[{"name":"newVal","type":{"text":"JsonSchema"}}],"default":"null"},{"kind":"method","name":"#emitValue","privacy":"private","description":"Value object has been changed"},{"kind":"method","name":"#dispatchEvent","privacy":"private","description":"Dispatch same function for multiple event type"},{"kind":"field","name":"options","privacy":"public","type":{"text":"object"},"description":"Default values for the form editor","default":"{ show_opt_in: false, disable_collapse: true, disable_edit_json: true, disable_properties: true, disable_array_delete_all_rows: true, disable_array_delete_last_row: true, array_controls_top: true, }"},{"kind":"field","name":"noShadow","privacy":"public","type":{"text":"Boolean"},"description":"Renders the element without a shadow root","default":"false","attribute":"no-shadow"},{"kind":"field","name":"unstyled","privacy":"public","type":{"text":"Boolean"},"description":"Render the element without additional styles","default":"false","attribute":"unstyled"}],"events":[{"name":"change","type":{"text":"CustomEvent"}}],"attributes":[{"name":"no-shadow","type":{"text":"Boolean"},"description":"Renders the element without a shadow root","default":"false","fieldName":"noShadow"},{"name":"unstyled","type":{"text":"Boolean"},"description":"Render the element without additional styles","default":"false","fieldName":"unstyled"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"eox-jsonform","customElement":true}],"exports":[{"kind":"js","name":"EOxJSONForm","declaration":{"name":"EOxJSONForm","module":"elements/layercontrol/node_modules/@eox/jsonform/src/main.js"}},{"kind":"custom-element-definition","name":"eox-jsonform","declaration":{"name":"EOxJSONForm","module":"elements/layercontrol/node_modules/@eox/jsonform/src/main.js"}}]},{"kind":"javascript-module","path":"elements/layercontrol/node_modules/@eox/map/src/main.js","declarations":[{"kind":"class","description":"The `eox-map` is a wrapper for the library [OpenLayers](https://openlayers.org/) with additional features and helper functions.\\n\\nBasic usage:\\n\\n```\\nimport \\"@eox/map\\"\\n\\n\\n```\\n\\nSome basic layers, sources and formats are included in the default bundle, for advanced usage it is\\nrequired to import the `advancedLayersAndSources` plugin.\\n\\nIncluded in the base bundle:\\n- Formats: `GeoJSON`, `MVT`\\n- Layers: `Group`, `Image`, `Tile`, `Vector`, `VectorTile`\\n- Sources: `ImageWMS`, `OSM`, `Tile`, `TileWMS`, `Vector`, `VectorTile`, `WMTS`, `XYZ`\\n\\nIn order to use the rest of the layers and sources provided by OpenLayers, import the plugin as well:\\n\\n```\\nimport \\"@eox/map/src/plugins/advancedLayersAndSources\\"\\nimport \\"@eox/map\\"\\n\\n\\n```\\nIncluded in the advanced plugin bundle:\\n- Layers:\\n - All OpenLayers layer types\\n - [`STAC`](https://github.com/m-mohr/ol-stac)\\n- Sources:\\n - All OpenLayers source types\\n - [`WMTSCapabilities`](https://github.com/EOX-A/EOxElements/tree/main/elements/map/src/custom/sources/WMTSCapabilities.ts)\\n- Reprojection through [proj4](https://github.com/proj4js/proj4js)","name":"EOxMap","members":[{"kind":"field","name":"#zoomExtent","privacy":"private","description":"The current zoom extent of the map.\\nThis is used to define the maximum and minimum zoom levels.","type":{"text":"Extent"}},{"kind":"field","name":"#controls","privacy":"private","description":"Stores the controls applied to the map, such as zoom and navigation tools.","type":{"text":"ControlDictionary"}},{"kind":"field","name":"#layers","privacy":"private","description":"The array of layers currently added to the map.","type":{"text":"Array"}},{"kind":"field","name":"#preventScroll","privacy":"private","description":"Indicates whether the map\'s scroll interactions (zooming, panning) are prevented.","type":{"text":"Boolean"}},{"kind":"field","name":"#config","privacy":"private","description":"Holds the configuration object for initializing and managing the map\'s settings.","type":{"text":"ConfigObject"}},{"kind":"field","name":"#animationOptions","privacy":"private","description":"Options for animating changes to the map\'s view, such as panning or zooming.","type":{"text":"EOxAnimationOptions"}},{"kind":"field","name":"#sync","privacy":"private","description":"Represents the sync state of the map with another map instance.","type":{"text":"String"}},{"kind":"field","name":"#center","privacy":"private","type":{"text":"Array"},"default":"[0, 0]","description":"The current center coordinates of the map.\\nStored as an array of two numbers representing the x and y coordinates."},{"kind":"field","name":"#zoom","privacy":"private","type":{"text":"number"},"default":"0","description":"The current zoom level of the map."},{"kind":"field","name":"#projection","privacy":"private","type":{"text":"ProjectionLike"},"default":"\\"EPSG:3857\\"","description":"The map\'s projection system, specifying how coordinates are mapped on the globe.\\nDefaults to \\"EPSG:3857\\"."},{"kind":"field","name":"center","privacy":"public","type":{"text":"array"},"description":"Gets the current center coordinates of the map.","parameters":[{"description":"The new center coordinates [x, y].","name":"center","type":{"text":"Array"}}],"return":{"type":{"text":"Array"}}},{"kind":"field","name":"lonLatCenter","description":"Gets the current center of the map in longitude and latitude.","return":{"type":{"text":"Array"}},"readonly":true},{"kind":"field","name":"lonLatExtent","description":"Gets the current extent of the map in longitude and latitude.","return":{"type":{"text":"Array"}},"readonly":true},{"kind":"field","name":"zoom","description":"Gets the current zoom level of the map.","parameters":[{"description":"The new zoom level.","name":"zoom","type":{"text":"number"}}],"return":{"type":{"text":"number"}}},{"kind":"field","name":"zoomExtent","description":"Sets the zoom extent of the map.","parameters":[{"description":"The new zoom extent.","name":"extent","type":{"text":"Extent"}}]},{"kind":"field","name":"controls","description":"Gets the current map controls.","parameters":[{"description":"An array of control configurations.","name":"controls","type":{"text":"ControlDictionary"}}],"return":{"type":{"text":"Object"}}},{"kind":"field","name":"layers","privacy":"public","type":{"text":"array"},"description":"Gets the current layers of the map.","parameters":[{"description":"An array of layer configurations.","name":"layers","type":{"text":"Array"}}],"return":{"type":{"text":"Array"}}},{"kind":"field","name":"preventScroll","privacy":"public","type":{"text":"boolean"},"description":"Gets the current scroll interaction state.","parameters":[{"description":"Whether to prevent scroll interactions.","name":"preventScroll","type":{"text":"Boolean"}}],"return":{"type":{"text":"Boolean"}},"attribute":"prevent-scroll"},{"kind":"field","name":"config","privacy":"public","type":{"text":"object"},"description":"Gets the current configuration of the map.","parameters":[{"description":"The configuration object.","name":"config","type":{"text":"ConfigObject"}}],"return":{"type":{"text":"ConfigObject"}}},{"kind":"field","name":"animationOptions","description":"Gets the current animation options.","parameters":[{"description":"The animation options.","name":"animationOptions","type":{"text":"EOxAnimationOptions"}}],"return":{"type":{"text":"EOxAnimationOptions"}}},{"kind":"field","name":"projection","privacy":"public","type":{"text":"string"},"description":"Gets the current map projection.","parameters":[{"description":"The projection code (e.g., \\"EPSG:3857\\").","name":"projection","type":{"text":"ProjectionLike"}}],"return":{"type":{"text":"ProjectionLike"}},"attribute":"projection"},{"kind":"field","name":"sync","privacy":"public","type":{"text":"string"},"description":"Gets the current sync state of the map.","parameters":[{"description":"The ID of the map to sync with.","name":"sync","type":{"text":"string"}}],"return":{"type":{"text":"string"}},"attribute":"sync"},{"kind":"method","name":"addOrUpdateLayer","parameters":[{"name":"json","description":"The layer configuration in JSON format.","type":{"text":"EoxLayer"}}],"description":"Adds or updates a layer on the map.","return":{"type":{"text":"Object"}}},{"kind":"method","name":"removeInteraction","parameters":[{"name":"id","description":"The ID of the interaction to remove.","type":{"text":"string | number"}}],"description":"Removes an interaction from the map by its ID."},{"kind":"method","name":"removeSelect","parameters":[{"name":"id","description":"The ID of the select interaction to remove.","type":{"text":"string"}}],"description":"Removes a select interaction from the map by its ID."},{"kind":"method","name":"removeControl","parameters":[{"name":"id","description":"The ID of the control to remove.","type":{"text":"string"}}],"description":"Removes a control from the map by its ID."},{"kind":"method","name":"getLayerById","parameters":[{"name":"layerId","description":"The ID of the layer to retrieve.","type":{"text":"string"}}],"description":"Retrieves a layer from the map by its ID.","return":{"type":{"text":"AnyLayerWithSource"}}},{"kind":"field","name":"parseFeature","default":"parseFeature","description":"Parses a feature from the input data.","type":{"text":"Function"}},{"kind":"field","name":"parseTextToFeature","default":"parseTextToFeature","description":"Parses text into a feature."},{"kind":"field","name":"registerProjectionFromCode","default":"registerProjectionFromCode","description":"Registers a projection from an EPSG code."},{"kind":"field","name":"registerProjection","default":"registerProjection","description":"Registers a custom projection."},{"kind":"field","name":"getFlatLayersArray","default":"getFlatLayersArray","description":"Retrieves all layers in a flat array."},{"kind":"field","name":"transform","default":"transform","description":"Transforms coordinates between different projections."},{"kind":"field","name":"transformExtent","default":"transformExtent","description":"Transforms the extent between different projections."},{"kind":"field","name":"buffer","default":"buffer","description":"Applies a buffer around an extent."},{"kind":"field","name":"map","privacy":"public","description":"The OpenLayers map instance.","type":{"text":"default"},"default":"new Map({ controls: [], layers: [], view: new View({ center: [0, 0], zoom: 0, projection: this.projection, }), })"},{"kind":"field","name":"interactions","type":{"text":"Object."},"description":"Object to store various map interactions (e.g., drag, zoom).","default":"{}"},{"kind":"field","name":"selectInteractions","privacy":"public","type":{"text":"Object."},"description":"Object to store selection interactions for the map.","default":"{}"},{"kind":"field","name":"mapControls","privacy":"public","type":{"text":"Object."},"description":"Object to store map controls (e.g., custom buttons, geolocation).","default":"{}"},{"kind":"field","name":"intersections","privacy":"public","type":{"text":"object"}}],"attributes":[{"name":"prevent-scroll","type":{"text":"boolean"},"description":"Gets the current scroll interaction state.","parameters":[{"description":"Whether to prevent scroll interactions.","name":"preventScroll","type":{"text":"Boolean"}}],"return":{"type":{"text":"Boolean"}},"fieldName":"preventScroll"},{"name":"sync","type":{"text":"string"},"description":"Gets the current sync state of the map.","parameters":[{"description":"The ID of the map to sync with.","name":"sync","type":{"text":"string"}}],"return":{"type":{"text":"string"}},"fieldName":"sync"},{"name":"projection","type":{"text":"string"},"description":"Gets the current map projection.","parameters":[{"description":"The projection code (e.g., \\"EPSG:3857\\").","name":"projection","type":{"text":"ProjectionLike"}}],"return":{"type":{"text":"ProjectionLike"}},"fieldName":"projection"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"eox-map","customElement":true}],"exports":[{"kind":"js","name":"EOxMap","declaration":{"name":"EOxMap","module":"elements/layercontrol/node_modules/@eox/map/src/main.js"}},{"kind":"custom-element-definition","name":"eox-map","declaration":{"name":"EOxMap","module":"elements/layercontrol/node_modules/@eox/map/src/main.js"}}]},{"kind":"javascript-module","path":"elements/layercontrol/node_modules/@eox/timecontrol/src/main.js","declarations":[{"kind":"class","description":"","name":"EOxTimeControl","members":[{"kind":"method","name":"next","description":"Go to next step"},{"kind":"method","name":"previous","description":"Go to previous step"},{"kind":"method","name":"playAnimation","parameters":[{"name":"on","description":"animation on/off","type":{"text":"boolean"}}],"description":"Toggle play animation"},{"kind":"method","name":"setConfig","parameters":[{"name":"config","type":{"text":"@param {string} [config.layer]\\n * @param {string} [config.controlProperty]\\n * @param {Array} [config.controlValues]"}}],"description":"Set the config at a later point"},{"kind":"field","name":"currentStep","privacy":"public","type":{"text":"string"},"description":"The currently selected step","attribute":"current-step"},{"kind":"method","name":"updateMap"},{"kind":"field","name":"eoxMap"},{"kind":"method","name":"_updateStep","parameters":[{"name":"step","default":"1","optional":true,"type":{"text":"number"}}],"privacy":"private"},{"kind":"method","name":"getFlatLayersArray","parameters":[{"name":"layers","type":{"text":"default[]"}}],"description":"TEMP / TO-DO, this is a copy of the function defined in the eox-map:\\nhttps://github.com/EOX-A/EOxElements/blob/main/elements/map/src/layer.ts#L25\\nConsider a way to properly export that function and use it here\\nSee also:\\nhttps://github.com/EOX-A/EOxElements/issues/974","return":{"type":{"text":"default[]"}}},{"kind":"field","name":"controlValues","privacy":"public","type":{"text":"string[]"},"description":"The list of available values for the animation property","default":"[]","attribute":"control-values"},{"kind":"field","name":"_newStepIndex","privacy":"public","type":{"text":"number"},"default":"0","attribute":"_newStepIndex"},{"kind":"field","name":"unstyled","privacy":"public","type":{"text":"boolean"},"default":"false","attribute":"unstyled"},{"kind":"field","name":"disablePlay","privacy":"public","type":{"text":"boolean"},"description":"Hides the play button if set","default":"false","attribute":"disable-play"},{"kind":"field","name":"slider","privacy":"public","type":{"text":"boolean"},"description":"Display a slider for the values","default":"false","attribute":"slider"},{"kind":"field","name":"for","privacy":"public","type":{"text":"String|HTMLElement"},"description":"Query selector of an `eox-map` (`String`, passed as an attribute or property)\\nor an `eox-map` DOM element (`HTMLElement`, passed as property)","default":"\\"eox-map\\"","attribute":"for"},{"kind":"field","name":"layer","privacy":"public","type":{"text":"string"},"description":"The layerid of the animated layer","default":"\\"\\"","attribute":"layer"},{"kind":"field","name":"controlProperty","privacy":"public","type":{"text":"string | undefined"},"description":"The WMS parameter to update","default":"undefined","attribute":"control-property"},{"kind":"field","name":"_eoxMap","privacy":"public","type":{"text":"HTMLElement |undefined"},"default":"undefined","attribute":"_eoxMap"},{"kind":"field","name":"_width","privacy":"public","type":{"text":"number"},"default":"300","attribute":"_width"},{"kind":"field","name":"_originalParams","privacy":"public","type":{"text":"object"},"description":"Original params of layer source","attribute":"_originalParams"},{"kind":"field","name":"_animationInterval","privacy":"public","attribute":"_animationInterval"},{"kind":"field","name":"_controlSource","privacy":"public","attribute":"_controlSource"},{"kind":"field","name":"_isAnimationPlaying","privacy":"public","attribute":"_isAnimationPlaying"}],"events":[{"name":"stepchange","type":{"text":"CustomEvent"},"description":"Triggers when *currentStep* is updated.\\n`event.detail.currentStep` returns the new *currentStep* value."}],"attributes":[{"name":"control-property","type":{"text":"string | undefined"},"description":"The WMS parameter to update","default":"undefined","fieldName":"controlProperty"},{"name":"control-values","type":{"text":"string[]"},"description":"The list of available values for the animation property","default":"[]","fieldName":"controlValues"},{"name":"for","type":{"text":"String|HTMLElement"},"description":"Query selector of an `eox-map` (`String`, passed as an attribute or property)\\nor an `eox-map` DOM element (`HTMLElement`, passed as property)","default":"\\"eox-map\\"","fieldName":"for"},{"name":"layer","type":{"text":"string"},"description":"The layerid of the animated layer","default":"\\"\\"","fieldName":"layer"},{"name":"slider","type":{"text":"boolean"},"description":"Display a slider for the values","default":"false","fieldName":"slider"},{"name":"_originalParams","type":{"text":"object"},"description":"Original params of layer source","fieldName":"_originalParams"},{"name":"disable-play","type":{"text":"boolean"},"description":"Hides the play button if set","default":"false","fieldName":"disablePlay"},{"name":"current-step","type":{"text":"string"},"description":"The currently selected step","fieldName":"currentStep"},{"name":"_animationInterval","fieldName":"_animationInterval"},{"name":"_controlSource","fieldName":"_controlSource"},{"name":"_isAnimationPlaying","fieldName":"_isAnimationPlaying"},{"name":"_newStepIndex","type":{"text":"number"},"default":"0","fieldName":"_newStepIndex"},{"name":"_eoxMap","type":{"text":"HTMLElement |undefined"},"default":"undefined","fieldName":"_eoxMap"},{"name":"_width","type":{"text":"number"},"default":"300","fieldName":"_width"},{"name":"unstyled","type":{"text":"boolean"},"default":"false","fieldName":"unstyled"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"eox-timecontrol","customElement":true}],"exports":[{"kind":"js","name":"EOxTimeControl","declaration":{"name":"EOxTimeControl","module":"elements/layercontrol/node_modules/@eox/timecontrol/src/main.js"}},{"kind":"custom-element-definition","name":"eox-timecontrol","declaration":{"name":"EOxTimeControl","module":"elements/layercontrol/node_modules/@eox/timecontrol/src/main.js"}}]}]'),jKe={schemaVersion:NKe,readme:BKe,modules:zKe};function hbe(e){const t={h3:"h3",...RCe(),...e.components};return bu.jsxs(bu.Fragment,{children:[` +`),"binary").toString("base64"):URL.createObjectURL(new Blob(r,{type:"text/javascript"})));return i.addEventListener("message",t),i}function xKe(e,t){const n=Yke(e.operation);let r=!1;return{postMessage:function(i){setTimeout(function(){r||t({data:{buffer:n(i),meta:i.meta}})},0)},terminate:function(){r=!0}}}class wKe extends qCe{constructor(t){super(),this.imageOps_=!!t.imageOps;let n;t.threads===0?n=0:this.imageOps_?n=1:n=t.threads||1;const r=new Array(n);if(n)for(let i=0;ithis.maxQueueLength_;)this.queue_.shift().callback(null,null)}dispatch_(){if(this.running_||this.queue_.length===0)return;const t=this.queue_.shift();this.job_=t;const n=t.inputs[0].width,r=t.inputs[0].height,i=t.inputs.map(function(l){return l.data.buffer}),s=this.workers_.length;if(this.running_=s,s===1){this.workers_[0].postMessage({buffers:i,meta:t.meta,imageOps:this.imageOps_,width:n,height:r},i);return}const o=t.inputs[0].data.length,a=4*Math.ceil(o/4/s);for(let l=0;l{var o;this.projection=t.projection!==void 0?oi(t.projection):r!==void 0?r.getProjection():this.projection,this.tileGrid=t.tileGrid!==void 0?t.tileGrid:r!==void 0?r.getTileGrid():this.tileGrid,this.zDirection=t.zDirection!==void 0?t.zDirection:r!==void 0?r.zDirection:this.zDirection,r instanceof dE&&(this.transformMatrix=((o=r.transformMatrix)==null?void 0:o.slice())||null);const s=this.tileGrid;s&&this.setTileSizes(s.getResolutions().map((a,l)=>Ec(s.getTileSize(l)).map(u=>Math.max(Math.floor(u),1)))),this.setLoader((a,l,u,f)=>{const c=e3e(n,a,l,u,f.maxY),[d,h]=this.getTileSize(a),p=t0(d,h);return p.strokeStyle="grey",p.strokeRect(.5,.5,d+.5,h+.5),p.fillStyle="grey",p.strokeStyle="white",p.textAlign="center",p.textBaseline="middle",p.font="24px sans-serif",p.lineWidth=4,p.strokeText(c,d/2,h/2,d),p.fillText(c,d/2,h/2,d),p.canvas}),this.setState("ready")};if(r===void 0||r.getState()==="ready")i();else{const s=()=>{r.getState()==="ready"&&(r.removeEventListener(Cl.CHANGE,s),i())};r.addEventListener(Cl.CHANGE,s)}}}class Zke extends gh{constructor(t){if(super({attributions:t.attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,interpolate:t.interpolate,projection:oi("EPSG:3857"),reprojectionErrorThreshold:t.reprojectionErrorThreshold,state:"loading",tileLoadFunction:t.tileLoadFunction,wrapX:t.wrapX!==void 0?t.wrapX:!0,transition:t.transition,zDirection:t.zDirection}),this.tileJSON_=null,this.tileSize_=t.tileSize,t.url)if(t.jsonp)EP(t.url,this.handleTileJSONResponse.bind(this),this.handleTileJSONError.bind(this));else{const n=new XMLHttpRequest;n.addEventListener("load",this.onXHRLoad_.bind(this)),n.addEventListener("error",this.onXHRError_.bind(this)),n.open("GET",t.url),n.send()}else if(t.tileJSON)this.handleTileJSONResponse(t.tileJSON);else throw new Error("Either `url` or `tileJSON` options must be provided")}onXHRLoad_(t){const n=t.target;if(!n.status||n.status>=200&&n.status<300){let r;try{r=JSON.parse(n.responseText)}catch{this.handleTileJSONError();return}this.handleTileJSONResponse(r)}else this.handleTileJSONError()}onXHRError_(t){this.handleTileJSONError()}getTileJSON(){return this.tileJSON_}handleTileJSONResponse(t){const n=oi("EPSG:4326"),r=this.getProjection();let i;if(t.bounds!==void 0){const u=OI(n,r);i=Kv(t.bounds,u)}const s=sE(r),o=t.minzoom||0,a=t.maxzoom||22,l=oE({extent:s,maxZoom:a,minZoom:o,tileSize:this.tileSize_});if(this.tileGrid=l,this.tileUrlFunction=n3e(t.tiles,l),t.attribution&&!this.getAttributions()){const u=i!==void 0?i:s;this.setAttributions(function(f){return Zv(u,f.extent)?[t.attribution]:null})}this.tileJSON_=t,this.setState("ready")}handleTileJSONError(){this.setState("error")}}class MKe extends lUe{constructor(t,n,r,i,s,o){super(t,n),this.src_=r,this.extent_=i,this.preemptive_=s,this.grid_=null,this.keys_=null,this.data_=null,this.jsonp_=o}getImage(){return null}getData(t){if(!this.grid_||!this.keys_)return null;const n=(t[0]-this.extent_[0])/(this.extent_[2]-this.extent_[0]),r=(t[1]-this.extent_[1])/(this.extent_[3]-this.extent_[1]),i=this.grid_[Math.floor((1-r)*this.grid_.length)];if(typeof i!="string")return null;let s=i.charCodeAt(Math.floor(n*i.length));s>=93&&s--,s>=35&&s--,s-=32;let o=null;if(s in this.keys_){const a=this.keys_[s];this.data_&&a in this.data_?o=this.data_[a]:o=a}return o}forDataAtCoordinate(t,n,r){this.state==Ts.EMPTY&&r===!0?(this.state=Ts.IDLE,uUe(this,Cl.CHANGE,i=>{n(this.getData(t))}),this.loadInternal_()):r===!0?setTimeout(()=>{n(this.getData(t))},0):n(this.getData(t))}getKey(){return this.src_}handleError_(){this.state=Ts.ERROR,this.changed()}handleLoad_(t){this.grid_=t.grid,this.keys_=t.keys,this.data_=t.data,this.state=Ts.LOADED,this.changed()}loadInternal_(){if(this.state==Ts.IDLE)if(this.state=Ts.LOADING,this.jsonp_)EP(this.src_,this.handleLoad_.bind(this),this.handleError_.bind(this));else{const t=new XMLHttpRequest;t.addEventListener("load",this.onXHRLoad_.bind(this)),t.addEventListener("error",this.onXHRError_.bind(this)),t.open("GET",this.src_),t.send()}}onXHRLoad_(t){const n=t.target;if(!n.status||n.status>=200&&n.status<300){let r;try{r=JSON.parse(n.responseText)}catch{this.handleError_();return}this.handleLoad_(r)}else this.handleError_()}onXHRError_(t){this.handleError_()}load(){this.preemptive_?this.loadInternal_():this.setState(Ts.EMPTY)}}class $Ke extends bD{constructor(t){if(super({projection:oi("EPSG:3857"),state:"loading",wrapX:t.wrapX!==void 0?t.wrapX:!0,zDirection:t.zDirection}),this.preemptive_=t.preemptive!==void 0?t.preemptive:!0,this.tileUrlFunction_=aUe,this.template_=void 0,this.jsonp_=t.jsonp||!1,t.url)if(this.jsonp_)EP(t.url,this.handleTileJSONResponse.bind(this),this.handleTileJSONError.bind(this));else{const n=new XMLHttpRequest;n.addEventListener("load",this.onXHRLoad_.bind(this)),n.addEventListener("error",this.onXHRError_.bind(this)),n.open("GET",t.url),n.send()}else if(t.tileJSON)this.handleTileJSONResponse(t.tileJSON);else throw new Error("Either `url` or `tileJSON` options must be provided")}onXHRLoad_(t){const n=t.target;if(!n.status||n.status>=200&&n.status<300){let r;try{r=JSON.parse(n.responseText)}catch{this.handleTileJSONError();return}this.handleTileJSONResponse(r)}else this.handleTileJSONError()}onXHRError_(t){this.handleTileJSONError()}getTemplate(){return this.template_}forDataAtCoordinateAndResolution(t,n,r,i){if(this.tileGrid){const s=this.tileGrid.getZForResolution(n,this.zDirection),o=this.tileGrid.getTileCoordForCoordAndZ(t,s);this.getTile(o[0],o[1],o[2],1,this.getProjection()).forDataAtCoordinate(t,r,i)}else i===!0?setTimeout(function(){r(null)},0):r(null)}handleTileJSONError(){this.setState("error")}handleTileJSONResponse(t){const n=oi("EPSG:4326"),r=this.getProjection();let i;if(t.bounds!==void 0){const f=OI(n,r);i=Kv(t.bounds,f)}const s=sE(r),o=t.minzoom||0,a=t.maxzoom||22,l=oE({extent:s,maxZoom:a,minZoom:o});this.tileGrid=l,this.template_=t.template;const u=t.grids;if(!u){this.setState("error");return}if(this.tileUrlFunction_=n3e(u,l),t.attribution){const f=i!==void 0?i:s;this.setAttributions(function(c){return Zv(f,c.extent)?[t.attribution]:null})}this.setState("ready")}getTile(t,n,r,i,s){const o=[t,n,r],a=this.getTileCoordForTileUrlFunction(o,s),l=this.tileUrlFunction_(a,i,s);return new MKe(o,l!==void 0?Ts.IDLE:Ts.EMPTY,l!==void 0?l:"",this.tileGrid.getTileCoordExtent(o),this.preemptive_,this.jsonp_)}}function IKe(e,t){const n=new VCe(32),r=e.getExtent();return function(i,s){n.expireCache(),r&&(i=e0(r,i));const o=e.getZForResolution(s),a=[];return e.forEachTileCoord(i,o,l=>{const u=l.toString();if(!n.containsKey(u)){const f=t(l);n.set(u,f)}a.push(n.get(u))}),a}}const PKe=Object.freeze(Object.defineProperty({__proto__:null,BingMaps:oXe,CartoDB:aXe,Cluster:lXe,DataTile:dE,GeoTIFF:_P,Google:eKe,IIIF:nKe,Image:L0,ImageArcGISRest:rKe,ImageCanvas:iKe,ImageMapGuide:aKe,ImageStatic:jke,ImageTile:qke,ImageWMS:cUe,OGCMapTile:yKe,OGCVectorTile:vKe,OSM:fUe,Raster:Xke,Source:$I,StadiaMaps:RKe,Tile:bD,TileArcGISRest:FKe,TileDebug:OKe,TileImage:gh,TileJSON:Zke,TileWMS:r3e,UTFGrid:$Ke,UrlTile:dUe,Vector:nE,VectorTile:wD,WMTS:i3e,XYZ:J_,Zoomify:tKe,createArcGISRestLoader:Nke,createMapGuideLoader:Bke,createStaticLoader:zke,createWMSLoader:hUe,sourcesFromTileGrid:IKe},Symbol.toStringTag,{value:"Module"})),NKe="1.0.0",BKe="",zKe=JSON.parse('[{"kind":"javascript-module","path":"elements/chart/src/main.js","declarations":[{"kind":"class","description":"Chart component based on [Vega-Lite](https://vega.github.io/vega-lite/)/[Vega-Embed](https://github.com/vega/vega-embed).\\nPass a valid Vega spec as `spec` property in order to render a chart.\\n\\nThe `eox-chart` provides some default `spec` settings (merged with the provided `spec` property) and helper functionalities on top of Vega-Lite.","name":"EOxChart","members":[{"kind":"field","name":"spec","privacy":"public","type":{"text":"VisualizationSpec"},"description":"[Vega-Lite spec](https://vega.github.io/vega-lite/docs/spec.html)","default":"undefined"},{"kind":"field","name":"dataValues","privacy":"public","type":{"text":"{[dataSourceName: string]: InlineData}"},"description":"Data values passed on runtime. Requires a [named data source](https://vega.github.io/vega-lite/docs/data.html#named) in the provided `spec`","default":"undefined"},{"kind":"field","name":"noShadow","privacy":"public","type":{"text":"Boolean"},"description":"Renders the element without a shadow root","default":"false","attribute":"no-shadow"},{"kind":"field","name":"unstyled","privacy":"public","type":{"text":"Boolean"},"description":"Render the element without additional styles","default":"false","attribute":"unstyled"}],"attributes":[{"name":"no-shadow","type":{"text":"Boolean"},"description":"Renders the element without a shadow root","default":"false","fieldName":"noShadow"},{"name":"unstyled","type":{"text":"Boolean"},"description":"Render the element without additional styles","default":"false","fieldName":"unstyled"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"eox-chart","customElement":true}],"exports":[{"kind":"js","name":"EOxChart","declaration":{"name":"EOxChart","module":"elements/chart/src/main.js"}},{"kind":"custom-element-definition","name":"eox-chart","declaration":{"name":"EOxChart","module":"elements/chart/src/main.js"}}]},{"kind":"javascript-module","path":"elements/drawtools/src/main.js","declarations":[{"kind":"class","description":"Manage drawn features on a map","name":"EOxDrawTools","members":[{"kind":"field","name":"#eoxMap","privacy":"private","type":{"text":"EOxMap"}},{"kind":"field","name":"#olMap","privacy":"private","type":{"text":"Map"}},{"kind":"field","name":"#geoJSON","privacy":"private","type":{"text":"string"}},{"kind":"field","name":"#layerId","privacy":"private","type":{"text":"string"}},{"kind":"field","name":"layerId","privacy":"public","type":{"text":"string"},"description":"The ID of the Vector/Vector Tile Layer that contains features to be selected","default":"\\"\\"","attribute":"layer-id"},{"kind":"method","name":"startDrawing"},{"kind":"method","name":"discardDrawing"},{"kind":"method","name":"handleFeatureChange","parameters":[{"name":"text","description":"The string representation of the features to be parsed.","type":{"text":"string"}},{"name":"replaceFeatures","default":"false","description":"A boolean flag indicating whether to replace the existing features.","type":{"text":"boolean"}}]},{"kind":"method","name":"handleFilesChange","parameters":[{"name":"evt","description":"The event object from the file input interaction.","type":{"text":"DragEvent | Event"}}]},{"kind":"method","name":"onModifyEnd"},{"kind":"method","name":"updateGeoJSON","description":"Update #geoJSON with stringify feature."},{"kind":"method","name":"emitDrawnFeatures","description":"Triggers different events when the drawing of a shape is completed."},{"kind":"field","name":"eoxMap"},{"kind":"field","name":"allowModify","privacy":"public","type":{"text":"boolean"},"description":"Allow modifying the drawn feature(s)","default":"false","attribute":"allow-modify"},{"kind":"field","name":"for","privacy":"public","type":{"text":"String|HTMLElement"},"description":"Query selector of an `eox-map` (`String`, passed as an attribute or property)\\nor an `eox-map` DOM element (`HTMLElement`, passed as property)","default":"\\"eox-map\\"","attribute":"for"},{"kind":"field","name":"currentlyDrawing","privacy":"public","type":{"text":"boolean"},"description":"Whether the user is currently in the process of drawing or not","default":"false"},{"kind":"field","name":"draw","privacy":"public","type":{"text":"Draw | EOxSelectInteraction"},"description":"The current native OpenLayers `draw` interaction","default":"null"},{"kind":"field","name":"drawLayer","privacy":"public","type":{"text":"default"},"description":"The current native OpenLayers draw `layer` (initialized with a `zIndex` of 100)","default":"null"},{"kind":"field","name":"drawnFeatures","privacy":"public","type":{"text":"Array"},"description":"The array of drawn native OpenLayers features. Normally includes only one feature, until multiple feature drawing is enabled.","default":"[]"},{"kind":"field","name":"modify","privacy":"public","type":{"text":"Modify"},"description":"The current native OpenLayers `modify` interaction","default":"null"},{"kind":"field","name":"multipleFeatures","privacy":"public","type":{"text":"boolean"},"description":"Allow adding more than one feature at a time","default":"false","attribute":"multiple-features"},{"kind":"field","name":"importFeatures","privacy":"public","type":{"text":"boolean"},"description":"Allow import features using drag-drop and upload button","default":"false","attribute":"import-features"},{"kind":"field","name":"showEditor","privacy":"public","type":{"text":"boolean"},"description":"Show geo-json editor for draw tool","default":"false","attribute":"show-editor"},{"kind":"field","name":"showList","privacy":"public","type":{"text":"boolean"},"description":"Show list of features","default":"false","attribute":"show-list"},{"kind":"field","name":"projection","privacy":"public","type":{"text":"string"},"description":"Projection of the emitted drawn features","default":"\\"EPSG:4326\\"","attribute":"projection"},{"kind":"field","name":"type","privacy":"public","type":{"text":"\\"Polygon\\" | \\"Point\\" | \\"LineString\\" | \\"Circle\\" | \\"Box\\""},"description":"Type of the drawn feature","default":"\\"Polygon\\"","attribute":"type"},{"kind":"field","name":"selectionEvents","type":{"text":"ReturnType"},"default":"null"},{"kind":"field","name":"format","privacy":"public","type":{"text":"\\"feature\\"| \\"geojson\\" | \\"wkt\\""},"description":"The format in which the drawn features should be emitted","default":"\\"feature\\"","attribute":"format"},{"kind":"field","name":"unstyled","privacy":"public","type":{"text":"boolean"},"description":"Render the element without additional styles","default":"false","attribute":"unstyled"},{"kind":"field","name":"noShadow","privacy":"public","type":{"text":"Boolean"},"description":"Renders the element without a shadow root","default":"false","attribute":"noShadow"}],"events":[{"name":"drawupdate","type":{"text":"Array"},"description":"Fires whenever features are added, modified or discarded, where the event detail\\nis the `drawnFeatures` array"}],"attributes":[{"name":"allow-modify","type":{"text":"boolean"},"description":"Allow modifying the drawn feature(s)","default":"false","fieldName":"allowModify"},{"name":"for","type":{"text":"String|HTMLElement"},"description":"Query selector of an `eox-map` (`String`, passed as an attribute or property)\\nor an `eox-map` DOM element (`HTMLElement`, passed as property)","default":"\\"eox-map\\"","fieldName":"for"},{"name":"layer-id","type":{"text":"string"},"description":"The ID of the Vector/Vector Tile Layer that contains features to be selected","default":"\\"\\"","fieldName":"layerId"},{"name":"multiple-features","type":{"text":"boolean"},"description":"Allow adding more than one feature at a time","default":"false","fieldName":"multipleFeatures"},{"name":"import-features","type":{"text":"boolean"},"description":"Allow import features using drag-drop and upload button","default":"false","fieldName":"importFeatures"},{"name":"show-editor","type":{"text":"boolean"},"description":"Show geo-json editor for draw tool","default":"false","fieldName":"showEditor"},{"name":"show-list","type":{"text":"boolean"},"description":"Show list of features","default":"false","fieldName":"showList"},{"name":"projection","type":{"text":"string"},"description":"Projection of the emitted drawn features","default":"\\"EPSG:4326\\"","fieldName":"projection"},{"name":"noShadow","type":{"text":"Boolean"},"description":"Renders the element without a shadow root","default":"false","fieldName":"noShadow"},{"name":"format","type":{"text":"\\"feature\\"| \\"geojson\\" | \\"wkt\\""},"description":"The format in which the drawn features should be emitted","default":"\\"feature\\"","fieldName":"format"},{"name":"type","type":{"text":"\\"Polygon\\" | \\"Point\\" | \\"LineString\\" | \\"Circle\\" | \\"Box\\""},"description":"Type of the drawn feature","default":"\\"Polygon\\"","fieldName":"type"},{"name":"unstyled","type":{"text":"boolean"},"description":"Render the element without additional styles","default":"false","fieldName":"unstyled"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"eox-drawtools","customElement":true}],"exports":[{"kind":"js","name":"EOxDrawTools","declaration":{"name":"EOxDrawTools","module":"elements/drawtools/src/main.js"}},{"kind":"custom-element-definition","name":"eox-drawtools","declaration":{"name":"EOxDrawTools","module":"elements/drawtools/src/main.js"}}]},{"kind":"javascript-module","path":"elements/geosearch/src/main.js","declarations":[{"kind":"class","description":"","name":"EOxGeoSearch","members":[{"kind":"field","name":"#eoxMap","privacy":"private","type":{"text":"EOxMap"}},{"kind":"method","name":"onInput","parameters":[{"name":"e"}]},{"kind":"method","name":"onInputBlur"},{"kind":"method","name":"onButtonClick"},{"kind":"method","name":"getFlexDirection"},{"kind":"method","name":"getResultsDirection"},{"kind":"method","name":"getVerticalAlign"},{"kind":"method","name":"getMarginDirection","parameters":[{"name":"direction"}]},{"kind":"method","name":"handleSelect","parameters":[{"name":"event"}]},{"kind":"method","name":"updateMap"},{"kind":"field","name":"eoxMap"},{"kind":"field","name":"_data","privacy":"private","description":"Internal storage of OpenCage API data after a successful API request.","type":{"text":"array"},"default":"[]"},{"kind":"field","name":"_isListVisible","privacy":"private","description":"Whether or not the list dropdown is visible.","type":{"text":"boolean"},"default":"false"},{"kind":"field","name":"_isInputVisible","privacy":"private","description":"Whether or not the input field is visible.","type":{"text":"boolean"},"default":"false"},{"kind":"field","name":"_query","privacy":"private","description":"The search query, which is bound to the input field.","type":{"text":"string"},"default":"\\"\\""},{"kind":"field","name":"_isLoading","privacy":"private","description":"Returns true if the element is currently loading data from the API.","type":{"text":"boolean"},"default":"false"},{"kind":"field","name":"for","privacy":"public","type":{"text":"String|HTMLElement"},"description":"Query selector of an `eox-map` (`String`, passed as an attribute or property)\\nor an `eox-map` DOM element (`HTMLElement`, passed as property)","default":"\\"eox-map\\"","attribute":"for"},{"kind":"field","name":"listDirection","type":{"text":"string"},"default":"\\"right\\""},{"kind":"field","name":"resultsDirection","privacy":"public","type":{"text":"string"},"description":"The direction of the results box relative to the input, with the following options:\\n\\n- `left`\\n- `top`\\n- `right`\\n- `bottom`","default":"\\"down\\"","attribute":"results-direction"},{"kind":"field","name":"interval","privacy":"public","type":{"text":"number"},"description":"Set a custom interval for the debounce function.","default":"800","attribute":"interval"},{"kind":"field","name":"loaderSvg","privacy":"public","type":{"text":"string"},"default":"` `","attribute":"loader-svg"},{"kind":"field","name":"fetchDebounced"},{"kind":"field","name":"endpoint","privacy":"public","type":{"text":"string"},"description":"The OpenCage API endpoint to use for the search, including the key but without the query parameter.","attribute":"endpoint"},{"kind":"field","name":"queryParameter","privacy":"public","type":{"text":"string"},"description":"The name of the query parameter to use for the search query in the endpoint URI.","attribute":"queryParameter"},{"kind":"field","name":"button","privacy":"public","type":{"text":"boolean"},"description":"Whether or not to enable button mode, which hides and shows the input field\\nsimilar to how a modal works.","attribute":"button"},{"kind":"field","name":"small","privacy":"public","type":{"text":"boolean"},"description":"Enables a smaller version of the button for use in map controls.","attribute":"small"},{"kind":"field","name":"label","privacy":"public","type":{"text":"string"},"description":"Which text to use for the button if it is enabled.","attribute":"label"},{"kind":"field","name":"direction","privacy":"public","type":{"text":"string"},"description":"The direction of the search input relative to the button, with the following options:\\n\\n- `left`\\n- `top`\\n- `right`\\n- `bottom`","attribute":"list-direction"},{"kind":"field","name":"unstyled","privacy":"public","type":{"text":"boolean"},"attribute":"unstyled"}],"events":[{"name":"geosearchSelect","type":{"text":"CustomEvent"},"description":"The select event, including the details of the selected item"}],"attributes":[{"name":"endpoint","type":{"text":"string"},"description":"The OpenCage API endpoint to use for the search, including the key but without the query parameter.","fieldName":"endpoint"},{"name":"for","type":{"text":"String|HTMLElement"},"description":"Query selector of an `eox-map` (`String`, passed as an attribute or property)\\nor an `eox-map` DOM element (`HTMLElement`, passed as property)","default":"\\"eox-map\\"","fieldName":"for"},{"name":"queryParameter","type":{"text":"string"},"description":"The name of the query parameter to use for the search query in the endpoint URI.","fieldName":"queryParameter"},{"name":"button","type":{"text":"boolean"},"description":"Whether or not to enable button mode, which hides and shows the input field\\nsimilar to how a modal works.","fieldName":"button"},{"name":"interval","type":{"text":"number"},"description":"Set a custom interval for the debounce function.","default":"800","fieldName":"interval"},{"name":"small","type":{"text":"boolean"},"description":"Enables a smaller version of the button for use in map controls.","fieldName":"small"},{"name":"label","type":{"text":"string"},"description":"Which text to use for the button if it is enabled.","fieldName":"label"},{"name":"list-direction","type":{"text":"string"},"description":"The direction of the search input relative to the button, with the following options:\\n\\n- `left`\\n- `top`\\n- `right`\\n- `bottom`","fieldName":"direction"},{"name":"results-direction","type":{"text":"string"},"description":"The direction of the results box relative to the input, with the following options:\\n\\n- `left`\\n- `top`\\n- `right`\\n- `bottom`","default":"\\"down\\"","fieldName":"resultsDirection"},{"name":"unstyled","type":{"text":"boolean"},"fieldName":"unstyled"},{"name":"loader-svg","type":{"text":"string"},"default":"loaderSvg","fieldName":"loaderSvg"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"eox-geosearch","customElement":true},{"kind":"class","description":"","name":"EOxGeoSearchItem","members":[{"kind":"field","name":"item","privacy":"public","type":{"text":"object"},"attribute":"item"},{"kind":"field","name":"onClick","privacy":"public","type":{"text":"function"},"attribute":"onClick"},{"kind":"field","name":"unstyled","privacy":"public","type":{"text":"boolean"},"attribute":"unstyled"}],"attributes":[{"name":"item","type":{"text":"object"},"fieldName":"item"},{"name":"onClick","type":{"text":"function"},"fieldName":"onClick"},{"name":"unstyled","type":{"text":"boolean"},"fieldName":"unstyled"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"eox-geosearch-item","customElement":true}],"exports":[{"kind":"custom-element-definition","name":"eox-geosearch","declaration":{"name":"EOxGeoSearch","module":"elements/geosearch/src/main.js"}},{"kind":"custom-element-definition","name":"eox-geosearch-item","declaration":{"name":"EOxGeoSearchItem","module":"elements/geosearch/src/main.js"}},{"kind":"js","name":"EOxGeoSearch","declaration":{"name":"EOxGeoSearch","module":"elements/geosearch/src/main.js"}}]},{"kind":"javascript-module","path":"elements/itemfilter/src/main.js","declarations":[{"kind":"class","description":"EOxItemFilter is a custom web component that provides a comprehensive item filtering system.\\nIt includes methods for applying filters, searching, sorting results, and resetting filters.\\nThe component supports both inline and dropdown modes for filter display.","name":"EOxItemFilter","members":[{"kind":"field","name":"#resultAggregation","privacy":"private","type":{"text":"Array"},"default":"[]"},{"kind":"field","name":"#items","privacy":"private","type":{"text":"Array"},"default":"[]"},{"kind":"field","name":"#config","privacy":"private","default":"ELEMENT_CONFIG","type":{"text":"Object"}},{"kind":"method","name":"apply","description":"Applies the filters to the items and updates the result aggregation."},{"kind":"method","name":"searchHandler","description":"Performs a search based on the current configuration and items.\\nRequests an update after the search completes."},{"kind":"method","name":"sortResults","parameters":[{"name":"items","description":"The items to be sorted.","type":{"text":"Array"}}],"description":"Sorts the given items based on the current configuration.","return":{"type":{"text":"Array"}}},{"kind":"method","name":"#createFilter","privacy":"private","parameters":[{"name":"filterObject","description":"The filter object.","type":{"text":"Object"}},{"name":"tabIndex","description":"The tab index for the filter element.","type":{"text":"number"}}],"description":"Creates a filter element based on the given filter object and tab index.","return":{"type":{"text":"import(\\"lit\\")"}}},{"kind":"method","name":"#createReset","privacy":"private","parameters":[{"name":"filterObject","description":"The filter object.","type":{"text":"Object"}},{"name":"tabIndex","description":"The tab index for the reset element.","type":{"text":"number"}}],"description":"Creates a reset element for the given filter object and tab index.","return":{"type":{"text":"import(\\"lit\\")"}}},{"kind":"method","name":"resetFilters","description":"Resets all applied filters."},{"kind":"method","name":"updateResult","parameters":[{"name":"evt","description":"\\"result\\" event triggered by result component","type":{"text":"{detail: Object}"}}],"description":"Updates selected result when result component triggers the \\"result\\" event."},{"kind":"field","name":"items","privacy":"public","type":{"text":"Array"},"description":"The items to be filtered","default":"null"},{"kind":"field","name":"filters","privacy":"public","type":{"text":"Object"},"description":"The state object containing the applied filters.","default":"{}"},{"kind":"field","name":"results","privacy":"public","type":{"text":"Array"},"description":"The state object containing the filtered results.","default":"[]"},{"kind":"field","name":"selectedResult","privacy":"public","type":{"text":"Object"},"description":"The currently selected result","default":"null"},{"kind":"field","name":"search","type":{"text":"Function"},"privacy":"private"},{"kind":"field","name":"aggregateResults","privacy":"public","type":{"text":"String"},"description":"Aggregate results by a property key","default":"undefined","attribute":"aggregate-results"},{"kind":"field","name":"autoSpreadSingle","privacy":"public","type":{"text":"Boolean"},"description":"Automatically spread single item summaries\\nremoving the summary header","default":"false","attribute":"auto-spread-single"},{"kind":"field","name":"enableHighlighting","privacy":"public","type":{"text":"Boolean"},"description":"Highlighting of search result character matches","default":"false","attribute":"enable-highlighting"},{"kind":"field","name":"externalFilter","privacy":"public","type":{"text":"Function"},"description":"Use an external search endpoint instead of fuse search.\\nPassed properties: input string, filters object","default":"null"},{"kind":"field","name":"filterProperties","privacy":"public","type":{"text":"Array<{key?: String, keys?: Array, title: String, type: String, placeholder?: String, format?: String, state?: Object}>"},"description":"The filter properties.","default":"[]"},{"kind":"field","name":"fuseConfig","privacy":"public","type":{"text":"Object"},"description":"Native fuse.js config override","default":"{}"},{"kind":"field","name":"inlineMode","privacy":"public","type":{"text":"Boolean"},"description":"Inline mode, for rendering the itemfilter in a very condensed space.\\nExpects showResults to be false","default":"false","attribute":"inline-mode"},{"kind":"field","name":"matchAllWhenEmpty","privacy":"public","type":{"text":"Boolean"},"description":"Show all result items if nothing is input by the user","default":"true","attribute":"match-all-when-empty"},{"kind":"field","name":"showResults","privacy":"public","type":{"text":"Boolean"},"description":"Display results list","default":"true","attribute":"show-result"},{"kind":"field","name":"titleProperty","privacy":"public","type":{"text":"String"},"description":"The property of the result items used for display","default":"\\"title\\"","attribute":"title-property"},{"kind":"field","name":"subTitleProperty","privacy":"public","type":{"text":"String"},"description":"The property of the result items used for a subtitle","default":"undefined","attribute":"sub-title-property"},{"kind":"field","name":"imageProperty","privacy":"public","type":{"text":"String"},"description":"The property of the result items used for an image","default":"undefined","attribute":"image-property"},{"kind":"field","name":"idProperty","privacy":"public","type":{"text":"String"},"description":"Unique id property of items","default":"\\"id\\"","attribute":"id-property"},{"kind":"field","name":"expandMultipleFilters","privacy":"public","type":{"text":"Boolean"},"description":"Allow opening multiple filter accordions in parallel","default":"true","attribute":"enable-multiple-filter"},{"kind":"field","name":"expandResults","privacy":"public","type":{"text":"Boolean"},"description":"Initialize result accordions expanded","default":"true","attribute":"expand-result"},{"kind":"field","name":"expandMultipleResults","privacy":"public","type":{"text":"Boolean"},"description":"Allow opening multiple result accordions in parallel","default":"true","attribute":"expand-multiple-results"},{"kind":"field","name":"resultType","privacy":"public","type":{"text":"String"},"description":"Rendering type for results (can be `list`or `cards`)","default":"\\"list\\"","attribute":"result-type"},{"kind":"field","name":"unstyled","privacy":"public","type":{"text":"boolean"},"description":"Render the element without additional styles","default":"false","attribute":"unstyled"}],"events":[{"name":"filter","type":{"text":"CustomEvent"},"description":"Fires when the filters are changed; event detail includes `filters` and `results`"},{"name":"select","type":{"text":"CustomEvent"},"description":"Fires when a result is selected; event detail is `selectedResult`"}],"attributes":[{"name":"aggregate-results","type":{"text":"String"},"description":"Aggregate results by a property key","default":"undefined","fieldName":"aggregateResults"},{"name":"auto-spread-single","type":{"text":"Boolean"},"description":"Automatically spread single item summaries\\nremoving the summary header","default":"false","fieldName":"autoSpreadSingle"},{"name":"enable-highlighting","type":{"text":"Boolean"},"description":"Highlighting of search result character matches","default":"false","fieldName":"enableHighlighting"},{"name":"inline-mode","type":{"text":"Boolean"},"description":"Inline mode, for rendering the itemfilter in a very condensed space.\\nExpects showResults to be false","default":"false","fieldName":"inlineMode"},{"name":"match-all-when-empty","type":{"text":"Boolean"},"description":"Show all result items if nothing is input by the user","default":"true","fieldName":"matchAllWhenEmpty"},{"name":"show-result","type":{"text":"Boolean"},"description":"Display results list","default":"true","fieldName":"showResults"},{"name":"id-property","type":{"text":"String"},"description":"Unique id property of items","default":"\\"id\\"","fieldName":"idProperty"},{"name":"title-property","type":{"text":"String"},"description":"The property of the result items used for display","default":"\\"title\\"","fieldName":"titleProperty"},{"name":"sub-title-property","type":{"text":"String"},"description":"The property of the result items used for a subtitle","default":"undefined","fieldName":"subTitleProperty"},{"name":"image-property","type":{"text":"String"},"description":"The property of the result items used for an image","default":"undefined","fieldName":"imageProperty"},{"name":"enable-multiple-filter","type":{"text":"Boolean"},"description":"Allow opening multiple filter accordions in parallel","default":"true","fieldName":"expandMultipleFilters"},{"name":"expand-result","type":{"text":"Boolean"},"description":"Initialize result accordions expanded","default":"true","fieldName":"expandResults"},{"name":"expand-multiple-results","type":{"text":"Boolean"},"description":"Allow opening multiple result accordions in parallel","default":"true","fieldName":"expandMultipleResults"},{"name":"result-type","type":{"text":"String"},"description":"Rendering type for results (can be `list`or `cards`)","default":"\\"list\\"","fieldName":"resultType"},{"name":"unstyled","type":{"text":"boolean"},"description":"Render the element without additional styles","default":"false","fieldName":"unstyled"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"eox-itemfilter","customElement":true}],"exports":[{"kind":"js","name":"EOxItemFilter","declaration":{"name":"EOxItemFilter","module":"elements/itemfilter/src/main.js"}},{"kind":"custom-element-definition","name":"eox-itemfilter","declaration":{"name":"EOxItemFilter","module":"elements/itemfilter/src/main.js"}}]},{"kind":"javascript-module","path":"elements/jsonform/src/main.js","declarations":[{"kind":"class","description":"","name":"EOxJSONForm","members":[{"kind":"field","name":"#editor","privacy":"private","type":{"text":"{[key: string]: any}"},"default":"null","description":"editor instance generated through - JSONEditor"},{"kind":"field","name":"editor","description":"Getter for the JSONEditor instance","readonly":true},{"kind":"field","name":"schema","privacy":"public","type":{"text":"JsonSchema"},"description":"Schema for the form editor","return":{"type":{"text":"JsonSchema | String"}},"parameters":[{"name":"newSchema","type":{"text":"JsonSchema"}}],"default":"null"},{"kind":"field","name":"value","privacy":"public","type":{"text":"JsonSchema"},"description":"Default values for the form editor","parameters":[{"name":"newVal","type":{"text":"JsonSchema"}}],"default":"null"},{"kind":"method","name":"#emitValue","privacy":"private","description":"Value object has been changed"},{"kind":"method","name":"#dispatchEvent","privacy":"private","description":"Dispatch same function for multiple event type"},{"kind":"field","name":"options","privacy":"public","type":{"text":"object"},"description":"Default values for the form editor","default":"{ show_opt_in: false, disable_collapse: true, disable_edit_json: true, disable_properties: true, disable_array_delete_all_rows: true, disable_array_delete_last_row: true, array_controls_top: true, }"},{"kind":"field","name":"noShadow","privacy":"public","type":{"text":"Boolean"},"description":"Renders the element without a shadow root","default":"false","attribute":"no-shadow"},{"kind":"field","name":"unstyled","privacy":"public","type":{"text":"Boolean"},"description":"Render the element without additional styles","default":"false","attribute":"unstyled"},{"kind":"field","name":"customEditorInterfaces","privacy":"public","type":{"text":"Array"},"description":"List of custom editor interface\\nRead more about the implementation of custom editor interfaces here:\\nhttps://github.com/json-editor/json-editor/blob/master/docs/custom-editor.html","default":"[]"}],"events":[{"name":"change","type":{"text":"CustomEvent"}}],"attributes":[{"name":"no-shadow","type":{"text":"Boolean"},"description":"Renders the element without a shadow root","default":"false","fieldName":"noShadow"},{"name":"unstyled","type":{"text":"Boolean"},"description":"Render the element without additional styles","default":"false","fieldName":"unstyled"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"eox-jsonform","customElement":true}],"exports":[{"kind":"js","name":"EOxJSONForm","declaration":{"name":"EOxJSONForm","module":"elements/jsonform/src/main.js"}},{"kind":"custom-element-definition","name":"eox-jsonform","declaration":{"name":"EOxJSONForm","module":"elements/jsonform/src/main.js"}}]},{"kind":"javascript-module","path":"elements/layercontrol/src/main.js","declarations":[{"kind":"class","description":"Display layers and groups of a connected OpenLayers map\\n\\n## Layer properties\\nIn order to be displayed correctly, the OpenLayers map layers need some custom properties (using e.g. `layer.set(property, value)`).\\n\\n#### `id?: string`\\nThe layer id. Not required but recommended. Can also be any other layer property (defined via the `idProperty` property or `id-property`attribute - see API).\\n\\n#### `title?: string`\\nThe title of the layer displayed in the layer control. Not required, but recommended in order to display human-readable layer titles. Can be any other layer property (defined via the `titleProperty` property or `title-property`attribute - see API).\\n\\n#### `layerControlHide?: Boolean`\\nCompletely hide a layer from the layer control.\\n\\n#### `layerControlOptional?: Boolean`\\nInitially hide a layer from the layer control, but make it available as an optional layer. If the layer is selected and added, it will be set to visible and pushed to the top of the layer list or (if originally configured within a layer group) to the top of the layer group.\\n\\n#### `layerControlExclusive?: Boolean`\\nMake layers mutually exclusive. If two or more layers (on the same level, i.e. at root or inside a layer group) have this property, then only one of them can be visualized at a time.\\n\\n#### `layerControlExpand?: Boolean`\\nPre-expand a layer dropdown so that it is always open when the component initializes.\\n\\n#### `layerControlToolsExpand?: Boolean`\\nPre-expand the layer tools so they are visible when the component initializes.\\n\\n#### `layerConfig?: Object`\\nConfiguration options for the layer (displayed in the layer tools\' \\"config\\" tab)\\n\\n#### `layerDateTime?: Object`\\nPartial eox-timecontrol config passed to the \\"datetime\\" tool\\n\\n### `layerLegend`?: Object\\nCreates a dynamic color legend based on range & domain of values. Extenteds partial config of `color-legend-element`","name":"EOxLayerControl","members":[{"kind":"field","name":"#eoxMap","privacy":"private","description":"Instance of `eox-map` which is a wrapper for the OL","type":{"text":"EOxMap"}},{"kind":"field","name":"eoxMap"},{"kind":"method","name":"#handleLayerControlLayerListChange","privacy":"private","parameters":[{"name":"evt","type":{"text":"CustomEvent & {target: Element}"}}],"description":"Event handler for changes in the layer list"},{"kind":"method","name":"#handleDatetimeUpdate","privacy":"private","parameters":[{"name":"evt","type":{"text":"CustomEvent"}}],"description":"Dispatches datetime updates from layer datetime to the layercontrol"},{"kind":"method","name":"#handleLayerConfigChange","privacy":"private","parameters":[{"name":"evt","type":{"text":"CustomEvent"}}],"description":"Dispatches jsonform updates from layer config to the layercontrol"},{"kind":"field","name":"#styleEOX","privacy":"private","default":"` :host, :root { font-family: Roboto, sans-serif; --padding: 0.5rem; --padding-vertical: .2rem; --list-padding: 48px; --layer-input-visibility: flex; --layer-summary-visibility: flex; --layer-type-visibility: block; --layer-title-visibility: flex; --layer-visibility: block; --layer-tools-button-visibility: flex; display: block; padding: var(--padding) 0; --background-color: var(--eox-background-color, transparent); background-color: var(--background-color, transparent); } select { background-color: var(--background-color); } `"},{"kind":"field","name":"for","privacy":"public","type":{"text":"String|HTMLElement"},"description":"Query selector of an `eox-map` (`String`, passed as an attribute or property)\\nor an `eox-map` DOM element (`HTMLElement`, passed as property)","default":"\\"eox-map\\"","attribute":"for"},{"kind":"field","name":"idProperty","privacy":"public","type":{"text":"String"},"description":"Layer id property","default":"\\"id\\"","attribute":"id-property"},{"kind":"field","name":"map","privacy":"public","type":{"text":"Map"},"description":"The native OL map instance","default":"null"},{"kind":"field","name":"titleProperty","privacy":"public","type":{"text":"String"},"description":"Layer title property","default":"\\"title\\"","attribute":"title-property"},{"kind":"field","name":"showLayerZoomState","privacy":"public","type":{"text":"Boolean"},"description":"Show layer state based on zoom level or not","default":"false","attribute":"show-layer-zoom-state"},{"kind":"field","name":"tools","privacy":"public","type":{"text":"Array"},"description":"Layer tools","default":"[\\"info\\", \\"opacity\\", \\"datetime\\", \\"config\\", \\"remove\\", \\"sort\\"]"},{"kind":"field","name":"addExternalLayers","privacy":"public","type":{"text":"Boolean"},"description":"Enable-disable external layer","default":"false"},{"kind":"field","name":"unstyled","privacy":"public","type":{"text":"Boolean"},"description":"Render the element without additional styles","default":"false","attribute":"unstyled"},{"kind":"field","name":"styleOverride","privacy":"public","type":{"text":"String"},"description":"Overrides elements current CSS.","default":"\\"\\"","attribute":"styleOverride"},{"kind":"field","name":"toolsAsList","privacy":"public","type":{"text":"Boolean"},"description":"If enabled, the tools section will be rendered as list.","default":"false","attribute":"toolsAsList"}],"events":[{"name":"layerchange","type":{"text":"CustomEvent"},"description":"A generic layer change event; could be a layer visibility, group length updates and others.\\nPasses the changed layer in the `detail`."},{"name":"datetime:updated","type":{"text":"CustomEvent"}},{"name":"layerConfig:change","type":{"text":"CustomEvent"}}],"attributes":[{"name":"for","type":{"text":"String|HTMLElement"},"description":"Query selector of an `eox-map` (`String`, passed as an attribute or property)\\nor an `eox-map` DOM element (`HTMLElement`, passed as property)","default":"\\"eox-map\\"","fieldName":"for"},{"name":"id-property","type":{"text":"String"},"description":"Layer id property","default":"\\"id\\"","fieldName":"idProperty"},{"name":"title-property","type":{"text":"String"},"description":"Layer title property","default":"\\"title\\"","fieldName":"titleProperty"},{"name":"show-layer-zoom-state","type":{"text":"Boolean"},"description":"Show layer state based on zoom level or not","default":"false","fieldName":"showLayerZoomState"},{"name":"unstyled","type":{"text":"Boolean"},"description":"Render the element without additional styles","default":"false","fieldName":"unstyled"},{"name":"styleOverride","type":{"text":"String"},"description":"Overrides elements current CSS.","default":"\\"\\"","fieldName":"styleOverride"},{"name":"toolsAsList","type":{"text":"Boolean"},"description":"If enabled, the tools section will be rendered as list.","default":"false","fieldName":"toolsAsList"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"eox-layercontrol","customElement":true}],"exports":[{"kind":"js","name":"EOxLayerControl","declaration":{"name":"EOxLayerControl","module":"elements/layercontrol/src/main.js"}},{"kind":"custom-element-definition","name":"eox-layercontrol","declaration":{"name":"EOxLayerControl","module":"elements/layercontrol/src/main.js"}}]},{"kind":"javascript-module","path":"elements/layout/src/main.js","declarations":[{"kind":"class","description":"This element allows to quickly set up an app layout using a 12x12 grid. It consists of two elements:\\n- `eox-layout`: the container holding all the items\\n- `eox-layout-item`: the individual items placed on the grid, with a defined x/y coordinate, and a w(idth) and h(eight)","name":"EOxLayout","members":[],"attributes":[{"name":"gap"}],"superclass":{"name":"HTMLElement"},"tagName":"eox-layout","customElement":true},{"kind":"class","description":"","name":"EOxLayoutItem","members":[],"attributes":[{"name":"x"},{"name":"y"},{"name":"w"},{"name":"h"}],"superclass":{"name":"HTMLElement"},"tagName":"eox-layout-item","customElement":true}],"exports":[{"kind":"js","name":"EOxLayout","declaration":{"name":"EOxLayout","module":"elements/layout/src/main.js"}},{"kind":"js","name":"EOxLayoutItem","declaration":{"name":"EOxLayoutItem","module":"elements/layout/src/main.js"}},{"kind":"custom-element-definition","name":"eox-layout","declaration":{"name":"EOxLayout","module":"elements/layout/src/main.js"}},{"kind":"custom-element-definition","name":"eox-layout-item","declaration":{"name":"EOxLayoutItem","module":"elements/layout/src/main.js"}}]},{"kind":"javascript-module","path":"elements/map/src/main.js","declarations":[{"kind":"class","description":"The `eox-map` is a wrapper for the library [OpenLayers](https://openlayers.org/) with additional features and helper functions.\\n\\nBasic usage:\\n\\n```\\nimport \\"@eox/map\\"\\n\\n\\n```\\n\\nSome basic layers, sources and formats are included in the default bundle, for advanced usage it is\\nrequired to import the `advancedLayersAndSources` plugin.\\n\\nIncluded in the base bundle:\\n- Formats: `GeoJSON`, `MVT`\\n- Layers: `Group`, `Image`, `Tile`, `Vector`, `VectorTile`\\n- Sources: `ImageWMS`, `OSM`, `Tile`, `TileWMS`, `Vector`, `VectorTile`, `WMTS`, `XYZ`\\n\\nIn order to use the rest of the layers and sources provided by OpenLayers, import the plugin as well:\\n\\n```\\nimport \\"@eox/map/src/plugins/advancedLayersAndSources\\"\\nimport \\"@eox/map\\"\\n\\n\\n```\\nIncluded in the advanced plugin bundle:\\n- Layers:\\n - All OpenLayers layer types\\n - [`STAC`](https://github.com/m-mohr/ol-stac)\\n- Sources:\\n - All OpenLayers source types\\n - [`WMTSCapabilities`](https://github.com/EOX-A/EOxElements/tree/main/elements/map/src/custom/sources/WMTSCapabilities.ts)\\n- Reprojection through [proj4](https://github.com/proj4js/proj4js)","name":"EOxMap","members":[{"kind":"field","name":"#zoomExtent","privacy":"private","description":"The current zoom extent of the map.\\nThis is used to define the maximum and minimum zoom levels.","type":{"text":"Extent"}},{"kind":"field","name":"#controls","privacy":"private","description":"Stores the controls applied to the map, such as zoom and navigation tools.","type":{"text":"ControlDictionary"}},{"kind":"field","name":"#layers","privacy":"private","description":"The array of layers currently added to the map.","type":{"text":"Array"}},{"kind":"field","name":"#preventScroll","privacy":"private","description":"Indicates whether the map\'s scroll interactions (zooming, panning) are prevented.","type":{"text":"Boolean"}},{"kind":"field","name":"#config","privacy":"private","description":"Holds the configuration object for initializing and managing the map\'s settings.","type":{"text":"ConfigObject"}},{"kind":"field","name":"#animationOptions","privacy":"private","description":"Options for animating changes to the map\'s view, such as panning or zooming.","type":{"text":"EOxAnimationOptions"}},{"kind":"field","name":"#sync","privacy":"private","description":"Represents the sync state of the map with another map instance.","type":{"text":"String"}},{"kind":"field","name":"#center","privacy":"private","type":{"text":"Array"},"default":"[0, 0]","description":"The current center coordinates of the map.\\nStored as an array of two numbers representing the x and y coordinates."},{"kind":"field","name":"#zoom","privacy":"private","type":{"text":"number"},"default":"0","description":"The current zoom level of the map."},{"kind":"field","name":"#projection","privacy":"private","type":{"text":"ProjectionLike"},"default":"\\"EPSG:3857\\"","description":"The map\'s projection system, specifying how coordinates are mapped on the globe.\\nDefaults to \\"EPSG:3857\\"."},{"kind":"field","name":"center","privacy":"public","type":{"text":"array"},"description":"Gets the current center coordinates of the map.","parameters":[{"description":"The new center coordinates [x, y].","name":"center","type":{"text":"Array"}}],"return":{"type":{"text":"Array"}}},{"kind":"field","name":"lonLatCenter","description":"Gets the current center of the map in longitude and latitude.","return":{"type":{"text":"Array"}},"readonly":true},{"kind":"field","name":"lonLatExtent","description":"Gets the current extent of the map in longitude and latitude.","return":{"type":{"text":"Array"}},"readonly":true},{"kind":"field","name":"zoom","description":"Gets the current zoom level of the map.","parameters":[{"description":"The new zoom level.","name":"zoom","type":{"text":"number"}}],"return":{"type":{"text":"number"}}},{"kind":"field","name":"zoomExtent","description":"Sets the zoom extent of the map.","parameters":[{"description":"The new zoom extent.","name":"extent","type":{"text":"Extent"}}]},{"kind":"field","name":"controls","description":"Gets the current map controls.","parameters":[{"description":"An array of control configurations.","name":"controls","type":{"text":"ControlDictionary"}}],"return":{"type":{"text":"Object"}}},{"kind":"field","name":"layers","privacy":"public","type":{"text":"array"},"description":"Gets the current layers of the map.","parameters":[{"description":"An array of layer configurations.","name":"layers","type":{"text":"Array"}}],"return":{"type":{"text":"Array"}}},{"kind":"field","name":"preventScroll","privacy":"public","type":{"text":"boolean"},"description":"Gets the current scroll interaction state.","parameters":[{"description":"Whether to prevent scroll interactions.","name":"preventScroll","type":{"text":"Boolean"}}],"return":{"type":{"text":"Boolean"}},"attribute":"prevent-scroll"},{"kind":"field","name":"config","privacy":"public","type":{"text":"object"},"description":"Gets the current configuration of the map.","parameters":[{"description":"The configuration object.","name":"config","type":{"text":"ConfigObject"}}],"return":{"type":{"text":"ConfigObject"}}},{"kind":"field","name":"animationOptions","description":"Gets the current animation options.","parameters":[{"description":"The animation options.","name":"animationOptions","type":{"text":"EOxAnimationOptions"}}],"return":{"type":{"text":"EOxAnimationOptions"}}},{"kind":"field","name":"projection","privacy":"public","type":{"text":"string"},"description":"Gets the current map projection.","parameters":[{"description":"The projection code (e.g., \\"EPSG:3857\\").","name":"projection","type":{"text":"ProjectionLike"}}],"return":{"type":{"text":"ProjectionLike"}},"attribute":"projection"},{"kind":"field","name":"sync","privacy":"public","type":{"text":"string"},"description":"Gets the current sync state of the map.","parameters":[{"description":"The ID of the map to sync with.","name":"sync","type":{"text":"string"}}],"return":{"type":{"text":"string"}},"attribute":"sync"},{"kind":"method","name":"addOrUpdateLayer","parameters":[{"name":"json","description":"The layer configuration in JSON format.","type":{"text":"EoxLayer"}}],"description":"Adds or updates a layer on the map.","return":{"type":{"text":"Object"}}},{"kind":"method","name":"removeInteraction","parameters":[{"name":"id","description":"The ID of the interaction to remove.","type":{"text":"string | number"}}],"description":"Removes an interaction from the map by its ID."},{"kind":"method","name":"removeSelect","parameters":[{"name":"id","description":"The ID of the select interaction to remove.","type":{"text":"string | number"}}],"description":"Removes a select interaction from the map by its ID."},{"kind":"method","name":"removeControl","parameters":[{"name":"id","description":"The ID of the control to remove.","type":{"text":"string"}}],"description":"Removes a control from the map by its ID."},{"kind":"method","name":"getLayerById","parameters":[{"name":"layerId","description":"The ID of the layer to retrieve.","type":{"text":"string"}}],"description":"Retrieves a layer from the map by its ID.","return":{"type":{"text":"AnyLayerWithSource"}}},{"kind":"field","name":"parseFeature","default":"parseFeature","description":"Parses a feature from the input data.","type":{"text":"Function"}},{"kind":"field","name":"parseTextToFeature","default":"parseTextToFeature","description":"Parses text into a feature."},{"kind":"field","name":"registerProjectionFromCode","default":"registerProjectionFromCode","description":"Registers a projection from an EPSG code."},{"kind":"field","name":"registerProjection","default":"registerProjection","description":"Registers a custom projection."},{"kind":"field","name":"getFlatLayersArray","default":"getFlatLayersArray","description":"Retrieves all layers in a flat array."},{"kind":"field","name":"transform","default":"transform","description":"Transforms coordinates between different projections."},{"kind":"field","name":"transformExtent","default":"transformExtent","description":"Transforms the extent between different projections."},{"kind":"field","name":"buffer","default":"buffer","description":"Applies a buffer around an extent."},{"kind":"field","name":"map","privacy":"public","description":"The OpenLayers map instance.","type":{"text":"default"},"default":"new Map({ controls: [], layers: [], view: new View({ center: [0, 0], zoom: 0, projection: this.projection, }), })"},{"kind":"field","name":"interactions","type":{"text":"Object."},"description":"Object to store various map interactions (e.g., drag, zoom).","default":"{}"},{"kind":"field","name":"selectInteractions","privacy":"public","type":{"text":"Object."},"description":"Object to store selection interactions for the map.","default":"{}"},{"kind":"field","name":"mapControls","privacy":"public","type":{"text":"Object."},"description":"Object to store map controls (e.g., custom buttons, geolocation).","default":"{}"},{"kind":"field","name":"intersections","privacy":"public","type":{"text":"object"}}],"attributes":[{"name":"prevent-scroll","type":{"text":"boolean"},"description":"Gets the current scroll interaction state.","parameters":[{"description":"Whether to prevent scroll interactions.","name":"preventScroll","type":{"text":"Boolean"}}],"return":{"type":{"text":"Boolean"}},"fieldName":"preventScroll"},{"name":"sync","type":{"text":"string"},"description":"Gets the current sync state of the map.","parameters":[{"description":"The ID of the map to sync with.","name":"sync","type":{"text":"string"}}],"return":{"type":{"text":"string"}},"fieldName":"sync"},{"name":"projection","type":{"text":"string"},"description":"Gets the current map projection.","parameters":[{"description":"The projection code (e.g., \\"EPSG:3857\\").","name":"projection","type":{"text":"ProjectionLike"}}],"return":{"type":{"text":"ProjectionLike"}},"fieldName":"projection"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"eox-map","customElement":true}],"exports":[{"kind":"js","name":"EOxMap","declaration":{"name":"EOxMap","module":"elements/map/src/main.js"}},{"kind":"custom-element-definition","name":"eox-map","declaration":{"name":"EOxMap","module":"elements/map/src/main.js"}}]},{"kind":"javascript-module","path":"elements/stacinfo/src/main.js","declarations":[{"kind":"class","description":"### Introduction\\nWorking with STAC catalogs, collections and items often times requires\\nto fetch a JSON file, parse its contents and display some of its fields\\nin some formatted way. To make these steps reusable, the `eox-stacinfo`\\nelement offers a set of functionalities:\\n- **automatically fetch a STAC file** as soon as the element loads\\n- offer a **property whitelist** functionality to choose which properties to display\\n- display the properties in **configurable sections** (header, body, featured, footer)\\n- allow to **override** any property display for application-specific custom needs\\n\\nThe use case for this element is alongside a map which displays STAC files\\nor in a catalog browsing scenario where a quick look at the most important properties\\nis needed.\\n\\n#### Technology\\nUnder the hood, this element uses [stac-fields](https://github.com/stac-utils/stac-fields) for parsing and pre-formatting properties.","name":"EOxStacInfo","members":[{"kind":"field","name":"allowHtml","privacy":"public","type":{"text":"boolean"},"description":"Whether to allow HTML in the property display","default":"false","attribute":"allow-html"},{"kind":"field","name":"unstyled","privacy":"public","type":{"text":"boolean"},"description":"Whether to use unstyled mode","default":"false","attribute":"unstyled"},{"kind":"field","name":"for","privacy":"public","type":{"text":"string"},"description":"The identifier for the STAC resource to fetch","default":"\\"\\"","attribute":"for"},{"kind":"field","name":"header","privacy":"public","type":{"text":"Array"},"description":"Keys of properties to display in the header","default":"[]"},{"kind":"field","name":"tags","privacy":"public","type":{"text":"Array"},"description":"Keys of properties to display to display as tags","default":"[]"},{"kind":"field","name":"body","privacy":"public","type":{"text":"Array"},"description":"Keys of properties to display to display in the main body","default":"[]"},{"kind":"field","name":"featured","privacy":"public","type":{"text":"Array"},"description":"Keys of properties to display in the featured section","default":"[]"},{"kind":"field","name":"footer","privacy":"public","type":{"text":"Array"},"description":"Keys of properties to display in the footer","default":"[]"},{"kind":"field","name":"stacInfo","privacy":"public","type":{"text":"Array"},"description":"The state object containing the fetched STAC information","default":"[]"},{"kind":"field","name":"stacProperties","privacy":"public","type":{"text":"Array"},"description":"The state object containing the parsed STAC properties","default":"[]"}],"attributes":[{"name":"allow-html","type":{"text":"boolean"},"description":"Whether to allow HTML in the property display","default":"false","fieldName":"allowHtml"},{"name":"unstyled","type":{"text":"boolean"},"description":"Whether to use unstyled mode","default":"false","fieldName":"unstyled"},{"name":"for","type":{"text":"string"},"description":"The identifier for the STAC resource to fetch","default":"\\"\\"","fieldName":"for"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"eox-stacinfo","customElement":true}],"exports":[{"kind":"js","name":"EOxStacInfo","declaration":{"name":"EOxStacInfo","module":"elements/stacinfo/src/main.js"}},{"kind":"custom-element-definition","name":"eox-stacinfo","declaration":{"name":"EOxStacInfo","module":"elements/stacinfo/src/main.js"}}]},{"kind":"javascript-module","path":"elements/storytelling/src/main.js","declarations":[{"kind":"class","description":"Manage drawn features on a map","name":"EOxStoryTelling","members":[{"kind":"field","name":"#html","privacy":"private","description":"Generated HTML string using markdown","type":{"text":"String"},"default":"undefined"},{"kind":"field","name":"#config","privacy":"private","type":{"text":"Object"},"default":"{}","description":"Basic config"},{"kind":"field","name":"#debounceUpdateMarkdown","privacy":"private","type":{"text":"Object"},"default":"null","description":"Debounce update markdown"},{"kind":"method","name":"#dispatchInitEvent","privacy":"private","parameters":[{"name":"element","description":"Dom element","type":{"text":"Element"}}]},{"kind":"method","name":"handleSlotChange","description":"Handles changes to the slot\'s content, updating the component\'s internal state."},{"kind":"method","name":"waitForHtmlInitialization"},{"kind":"field","name":"markdown","privacy":"public","type":{"text":"String"},"description":"Markdown Content","default":"\\"\\"","attribute":"markdown"},{"kind":"field","name":"markdownURL","privacy":"public","type":{"text":"String"},"description":"Markdown Content URL","default":"null","attribute":"markdown-url"},{"kind":"field","name":"unstyled","privacy":"public","type":{"text":"Boolean"},"description":"Render the element without additional styles","default":"false","attribute":"unstyled"},{"kind":"field","name":"noShadow","privacy":"public","type":{"text":"Boolean"},"description":"Renders the element without a shadow root","default":"false","attribute":"no-shadow"},{"kind":"field","name":"disableAutosave","privacy":"public","type":{"text":"Boolean"},"description":"Disable auto save","default":"false","attribute":"disable-autosave"},{"kind":"field","name":"showEditor","privacy":"public","type":{"text":"String | \\"closed\\" | undefined"},"description":"Enable or disable editor","default":"undefined","attribute":"show-editor"},{"kind":"field","name":"showNav","privacy":"public","type":{"text":"Boolean"},"description":"Enable or disable navigation","default":"false","attribute":"show-nav"},{"kind":"field","name":"nav","privacy":"public","type":{"text":"Array"},"description":"List of items in navigation","default":"[]"},{"kind":"field","name":"addCustomSectionIndex","privacy":"public","type":{"text":"Number"},"description":"custom section index","default":"-1","attribute":"addCustomSectionIndex"},{"kind":"field","name":"selectedCustomElement","privacy":"public","type":{"text":"Object | null"},"description":"Selected custom element object","default":"null","attribute":"selectedCustomElement"}],"events":[{"name":"init","type":{"text":"CustomEvent"}},{"name":"changed","type":{"text":"CustomEvent"}}],"attributes":[{"name":"markdown","type":{"text":"String"},"description":"Markdown Content","default":"\\"\\"","fieldName":"markdown"},{"name":"markdown-url","type":{"text":"String"},"description":"Markdown Content URL","default":"null","fieldName":"markdownURL"},{"name":"show-nav","type":{"text":"Boolean"},"description":"Enable or disable navigation","default":"false","fieldName":"showNav"},{"name":"show-editor","type":{"text":"String | \\"closed\\" | undefined"},"description":"Enable or disable editor","default":"undefined","fieldName":"showEditor"},{"name":"no-shadow","type":{"text":"Boolean"},"description":"Renders the element without a shadow root","default":"false","fieldName":"noShadow"},{"name":"disable-autosave","type":{"text":"Boolean"},"description":"Disable auto save","default":"false","fieldName":"disableAutosave"},{"name":"unstyled","type":{"text":"Boolean"},"description":"Render the element without additional styles","default":"false","fieldName":"unstyled"},{"name":"addCustomSectionIndex","type":{"text":"Number"},"description":"custom section index","default":"-1","fieldName":"addCustomSectionIndex"},{"name":"selectedCustomElement","type":{"text":"Object | null"},"description":"Selected custom element object","default":"null","fieldName":"selectedCustomElement"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"eox-storytelling","customElement":true}],"exports":[{"kind":"js","name":"EOxStoryTelling","declaration":{"name":"EOxStoryTelling","module":"elements/storytelling/src/main.js"}},{"kind":"custom-element-definition","name":"eox-storytelling","declaration":{"name":"EOxStoryTelling","module":"elements/storytelling/src/main.js"}}]},{"kind":"javascript-module","path":"elements/timecontrol/src/main.js","declarations":[{"kind":"class","description":"","name":"EOxTimeControl","members":[{"kind":"method","name":"next","description":"Go to next step"},{"kind":"method","name":"previous","description":"Go to previous step"},{"kind":"method","name":"playAnimation","parameters":[{"name":"on","description":"animation on/off","type":{"text":"boolean"}}],"description":"Toggle play animation"},{"kind":"method","name":"setConfig","parameters":[{"name":"config","type":{"text":"@param {string} [config.layer]\\n * @param {string} [config.controlProperty]\\n * @param {Array} [config.controlValues]"}}],"description":"Set the config at a later point"},{"kind":"field","name":"currentStep","privacy":"public","type":{"text":"string"},"description":"The currently selected step","attribute":"current-step"},{"kind":"method","name":"updateMap"},{"kind":"field","name":"eoxMap"},{"kind":"method","name":"_updateStep","parameters":[{"name":"step","default":"1","optional":true,"type":{"text":"number"}}],"privacy":"private"},{"kind":"method","name":"getFlatLayersArray","parameters":[{"name":"layers","type":{"text":"default[]"}}],"description":"TEMP / TO-DO, this is a copy of the function defined in the eox-map:\\nhttps://github.com/EOX-A/EOxElements/blob/main/elements/map/src/layer.ts#L25\\nConsider a way to properly export that function and use it here\\nSee also:\\nhttps://github.com/EOX-A/EOxElements/issues/974","return":{"type":{"text":"default[]"}}},{"kind":"field","name":"controlValues","privacy":"public","type":{"text":"string[]"},"description":"The list of available values for the animation property","default":"[]","attribute":"control-values"},{"kind":"field","name":"_newStepIndex","privacy":"public","type":{"text":"number"},"default":"0","attribute":"_newStepIndex"},{"kind":"field","name":"unstyled","privacy":"public","type":{"text":"boolean"},"default":"false","attribute":"unstyled"},{"kind":"field","name":"play","privacy":"public","type":{"text":"boolean"},"description":"Hides the play button if set","default":"false","attribute":"play"},{"kind":"field","name":"navigation","privacy":"public","type":{"text":"boolean"},"description":"Display left & right navigation buttons for the values","default":"true","attribute":"navigation"},{"kind":"field","name":"slider","privacy":"public","type":{"text":"boolean"},"description":"Display a slider for the values","default":"false","attribute":"slider"},{"kind":"field","name":"for","privacy":"public","type":{"text":"String|HTMLElement"},"description":"Query selector of an `eox-map` (`String`, passed as an attribute or property)\\nor an `eox-map` DOM element (`HTMLElement`, passed as property)","default":"\\"eox-map\\"","attribute":"for"},{"kind":"field","name":"layer","privacy":"public","type":{"text":"string"},"description":"The layerid of the animated layer","default":"\\"\\"","attribute":"layer"},{"kind":"field","name":"controlProperty","privacy":"public","type":{"text":"string | undefined"},"description":"The WMS parameter to update","default":"undefined","attribute":"control-property"},{"kind":"field","name":"_eoxMap","privacy":"public","type":{"text":"HTMLElement |undefined"},"default":"undefined","attribute":"_eoxMap"},{"kind":"field","name":"_width","privacy":"public","type":{"text":"number"},"default":"300","attribute":"_width"},{"kind":"field","name":"displayFormat","privacy":"public","type":{"text":"string"},"description":"Date format string for displaying the current step\\nusing [dayjs format token strings](https://day.js.org/docs/en/display/format)","default":"undefined","attribute":"display-format"},{"kind":"field","name":"_originalParams","privacy":"public","type":{"text":"object"},"description":"Original params of layer source","attribute":"_originalParams"},{"kind":"field","name":"_animationInterval","privacy":"public","attribute":"_animationInterval"},{"kind":"field","name":"_controlSource","privacy":"public","attribute":"_controlSource"},{"kind":"field","name":"_isAnimationPlaying","privacy":"public","attribute":"_isAnimationPlaying"}],"events":[{"name":"stepchange","type":{"text":"CustomEvent"},"description":"Triggers when *currentStep* is updated.\\n`event.detail.currentStep` returns the new *currentStep* value."}],"attributes":[{"name":"control-property","type":{"text":"string | undefined"},"description":"The WMS parameter to update","default":"undefined","fieldName":"controlProperty"},{"name":"control-values","type":{"text":"string[]"},"description":"The list of available values for the animation property","default":"[]","fieldName":"controlValues"},{"name":"for","type":{"text":"String|HTMLElement"},"description":"Query selector of an `eox-map` (`String`, passed as an attribute or property)\\nor an `eox-map` DOM element (`HTMLElement`, passed as property)","default":"\\"eox-map\\"","fieldName":"for"},{"name":"layer","type":{"text":"string"},"description":"The layerid of the animated layer","default":"\\"\\"","fieldName":"layer"},{"name":"slider","type":{"text":"boolean"},"description":"Display a slider for the values","default":"false","fieldName":"slider"},{"name":"navigation","type":{"text":"boolean"},"description":"Display left & right navigation buttons for the values","default":"true","fieldName":"navigation"},{"name":"_originalParams","type":{"text":"object"},"description":"Original params of layer source","fieldName":"_originalParams"},{"name":"play","type":{"text":"boolean"},"description":"Hides the play button if set","default":"false","fieldName":"play"},{"name":"display-format","type":{"text":"string"},"description":"Date format string for displaying the current step\\nusing [dayjs format token strings](https://day.js.org/docs/en/display/format)","default":"undefined","fieldName":"displayFormat"},{"name":"current-step","type":{"text":"string"},"description":"The currently selected step","fieldName":"currentStep"},{"name":"_animationInterval","fieldName":"_animationInterval"},{"name":"_controlSource","fieldName":"_controlSource"},{"name":"_isAnimationPlaying","fieldName":"_isAnimationPlaying"},{"name":"_newStepIndex","type":{"text":"number"},"default":"0","fieldName":"_newStepIndex"},{"name":"_eoxMap","type":{"text":"HTMLElement |undefined"},"default":"undefined","fieldName":"_eoxMap"},{"name":"_width","type":{"text":"number"},"default":"300","fieldName":"_width"},{"name":"unstyled","type":{"text":"boolean"},"default":"false","fieldName":"unstyled"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"eox-timecontrol","customElement":true}],"exports":[{"kind":"js","name":"EOxTimeControl","declaration":{"name":"EOxTimeControl","module":"elements/timecontrol/src/main.js"}},{"kind":"custom-element-definition","name":"eox-timecontrol","declaration":{"name":"EOxTimeControl","module":"elements/timecontrol/src/main.js"}}]},{"kind":"javascript-module","path":"elements/layercontrol/node_modules/@eox/jsonform/src/main.js","declarations":[{"kind":"class","description":"","name":"EOxJSONForm","members":[{"kind":"field","name":"#editor","privacy":"private","type":{"text":"{[key: string]: any}"},"default":"null","description":"editor instance generated through - JSONEditor"},{"kind":"field","name":"editor","description":"Getter for the JSONEditor instance","readonly":true},{"kind":"field","name":"schema","privacy":"public","type":{"text":"JsonSchema"},"description":"Schema for the form editor","return":{"type":{"text":"JsonSchema | String"}},"parameters":[{"name":"newSchema","type":{"text":"JsonSchema"}}],"default":"null"},{"kind":"field","name":"value","privacy":"public","type":{"text":"JsonSchema"},"description":"Default values for the form editor","parameters":[{"name":"newVal","type":{"text":"JsonSchema"}}],"default":"null"},{"kind":"method","name":"#emitValue","privacy":"private","description":"Value object has been changed"},{"kind":"method","name":"#dispatchEvent","privacy":"private","description":"Dispatch same function for multiple event type"},{"kind":"field","name":"options","privacy":"public","type":{"text":"object"},"description":"Default values for the form editor","default":"{ show_opt_in: false, disable_collapse: true, disable_edit_json: true, disable_properties: true, disable_array_delete_all_rows: true, disable_array_delete_last_row: true, array_controls_top: true, }"},{"kind":"field","name":"noShadow","privacy":"public","type":{"text":"Boolean"},"description":"Renders the element without a shadow root","default":"false","attribute":"no-shadow"},{"kind":"field","name":"unstyled","privacy":"public","type":{"text":"Boolean"},"description":"Render the element without additional styles","default":"false","attribute":"unstyled"}],"events":[{"name":"change","type":{"text":"CustomEvent"}}],"attributes":[{"name":"no-shadow","type":{"text":"Boolean"},"description":"Renders the element without a shadow root","default":"false","fieldName":"noShadow"},{"name":"unstyled","type":{"text":"Boolean"},"description":"Render the element without additional styles","default":"false","fieldName":"unstyled"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"eox-jsonform","customElement":true}],"exports":[{"kind":"js","name":"EOxJSONForm","declaration":{"name":"EOxJSONForm","module":"elements/layercontrol/node_modules/@eox/jsonform/src/main.js"}},{"kind":"custom-element-definition","name":"eox-jsonform","declaration":{"name":"EOxJSONForm","module":"elements/layercontrol/node_modules/@eox/jsonform/src/main.js"}}]},{"kind":"javascript-module","path":"elements/layercontrol/node_modules/@eox/map/src/main.js","declarations":[{"kind":"class","description":"The `eox-map` is a wrapper for the library [OpenLayers](https://openlayers.org/) with additional features and helper functions.\\n\\nBasic usage:\\n\\n```\\nimport \\"@eox/map\\"\\n\\n\\n```\\n\\nSome basic layers, sources and formats are included in the default bundle, for advanced usage it is\\nrequired to import the `advancedLayersAndSources` plugin.\\n\\nIncluded in the base bundle:\\n- Formats: `GeoJSON`, `MVT`\\n- Layers: `Group`, `Image`, `Tile`, `Vector`, `VectorTile`\\n- Sources: `ImageWMS`, `OSM`, `Tile`, `TileWMS`, `Vector`, `VectorTile`, `WMTS`, `XYZ`\\n\\nIn order to use the rest of the layers and sources provided by OpenLayers, import the plugin as well:\\n\\n```\\nimport \\"@eox/map/src/plugins/advancedLayersAndSources\\"\\nimport \\"@eox/map\\"\\n\\n\\n```\\nIncluded in the advanced plugin bundle:\\n- Layers:\\n - All OpenLayers layer types\\n - [`STAC`](https://github.com/m-mohr/ol-stac)\\n- Sources:\\n - All OpenLayers source types\\n - [`WMTSCapabilities`](https://github.com/EOX-A/EOxElements/tree/main/elements/map/src/custom/sources/WMTSCapabilities.ts)\\n- Reprojection through [proj4](https://github.com/proj4js/proj4js)","name":"EOxMap","members":[{"kind":"field","name":"#zoomExtent","privacy":"private","description":"The current zoom extent of the map.\\nThis is used to define the maximum and minimum zoom levels.","type":{"text":"Extent"}},{"kind":"field","name":"#controls","privacy":"private","description":"Stores the controls applied to the map, such as zoom and navigation tools.","type":{"text":"ControlDictionary"}},{"kind":"field","name":"#layers","privacy":"private","description":"The array of layers currently added to the map.","type":{"text":"Array"}},{"kind":"field","name":"#preventScroll","privacy":"private","description":"Indicates whether the map\'s scroll interactions (zooming, panning) are prevented.","type":{"text":"Boolean"}},{"kind":"field","name":"#config","privacy":"private","description":"Holds the configuration object for initializing and managing the map\'s settings.","type":{"text":"ConfigObject"}},{"kind":"field","name":"#animationOptions","privacy":"private","description":"Options for animating changes to the map\'s view, such as panning or zooming.","type":{"text":"EOxAnimationOptions"}},{"kind":"field","name":"#sync","privacy":"private","description":"Represents the sync state of the map with another map instance.","type":{"text":"String"}},{"kind":"field","name":"#center","privacy":"private","type":{"text":"Array"},"default":"[0, 0]","description":"The current center coordinates of the map.\\nStored as an array of two numbers representing the x and y coordinates."},{"kind":"field","name":"#zoom","privacy":"private","type":{"text":"number"},"default":"0","description":"The current zoom level of the map."},{"kind":"field","name":"#projection","privacy":"private","type":{"text":"ProjectionLike"},"default":"\\"EPSG:3857\\"","description":"The map\'s projection system, specifying how coordinates are mapped on the globe.\\nDefaults to \\"EPSG:3857\\"."},{"kind":"field","name":"center","privacy":"public","type":{"text":"array"},"description":"Gets the current center coordinates of the map.","parameters":[{"description":"The new center coordinates [x, y].","name":"center","type":{"text":"Array"}}],"return":{"type":{"text":"Array"}}},{"kind":"field","name":"lonLatCenter","description":"Gets the current center of the map in longitude and latitude.","return":{"type":{"text":"Array"}},"readonly":true},{"kind":"field","name":"lonLatExtent","description":"Gets the current extent of the map in longitude and latitude.","return":{"type":{"text":"Array"}},"readonly":true},{"kind":"field","name":"zoom","description":"Gets the current zoom level of the map.","parameters":[{"description":"The new zoom level.","name":"zoom","type":{"text":"number"}}],"return":{"type":{"text":"number"}}},{"kind":"field","name":"zoomExtent","description":"Sets the zoom extent of the map.","parameters":[{"description":"The new zoom extent.","name":"extent","type":{"text":"Extent"}}]},{"kind":"field","name":"controls","description":"Gets the current map controls.","parameters":[{"description":"An array of control configurations.","name":"controls","type":{"text":"ControlDictionary"}}],"return":{"type":{"text":"Object"}}},{"kind":"field","name":"layers","privacy":"public","type":{"text":"array"},"description":"Gets the current layers of the map.","parameters":[{"description":"An array of layer configurations.","name":"layers","type":{"text":"Array"}}],"return":{"type":{"text":"Array"}}},{"kind":"field","name":"preventScroll","privacy":"public","type":{"text":"boolean"},"description":"Gets the current scroll interaction state.","parameters":[{"description":"Whether to prevent scroll interactions.","name":"preventScroll","type":{"text":"Boolean"}}],"return":{"type":{"text":"Boolean"}},"attribute":"prevent-scroll"},{"kind":"field","name":"config","privacy":"public","type":{"text":"object"},"description":"Gets the current configuration of the map.","parameters":[{"description":"The configuration object.","name":"config","type":{"text":"ConfigObject"}}],"return":{"type":{"text":"ConfigObject"}}},{"kind":"field","name":"animationOptions","description":"Gets the current animation options.","parameters":[{"description":"The animation options.","name":"animationOptions","type":{"text":"EOxAnimationOptions"}}],"return":{"type":{"text":"EOxAnimationOptions"}}},{"kind":"field","name":"projection","privacy":"public","type":{"text":"string"},"description":"Gets the current map projection.","parameters":[{"description":"The projection code (e.g., \\"EPSG:3857\\").","name":"projection","type":{"text":"ProjectionLike"}}],"return":{"type":{"text":"ProjectionLike"}},"attribute":"projection"},{"kind":"field","name":"sync","privacy":"public","type":{"text":"string"},"description":"Gets the current sync state of the map.","parameters":[{"description":"The ID of the map to sync with.","name":"sync","type":{"text":"string"}}],"return":{"type":{"text":"string"}},"attribute":"sync"},{"kind":"method","name":"addOrUpdateLayer","parameters":[{"name":"json","description":"The layer configuration in JSON format.","type":{"text":"EoxLayer"}}],"description":"Adds or updates a layer on the map.","return":{"type":{"text":"Object"}}},{"kind":"method","name":"removeInteraction","parameters":[{"name":"id","description":"The ID of the interaction to remove.","type":{"text":"string | number"}}],"description":"Removes an interaction from the map by its ID."},{"kind":"method","name":"removeSelect","parameters":[{"name":"id","description":"The ID of the select interaction to remove.","type":{"text":"string"}}],"description":"Removes a select interaction from the map by its ID."},{"kind":"method","name":"removeControl","parameters":[{"name":"id","description":"The ID of the control to remove.","type":{"text":"string"}}],"description":"Removes a control from the map by its ID."},{"kind":"method","name":"getLayerById","parameters":[{"name":"layerId","description":"The ID of the layer to retrieve.","type":{"text":"string"}}],"description":"Retrieves a layer from the map by its ID.","return":{"type":{"text":"AnyLayerWithSource"}}},{"kind":"field","name":"parseFeature","default":"parseFeature","description":"Parses a feature from the input data.","type":{"text":"Function"}},{"kind":"field","name":"parseTextToFeature","default":"parseTextToFeature","description":"Parses text into a feature."},{"kind":"field","name":"registerProjectionFromCode","default":"registerProjectionFromCode","description":"Registers a projection from an EPSG code."},{"kind":"field","name":"registerProjection","default":"registerProjection","description":"Registers a custom projection."},{"kind":"field","name":"getFlatLayersArray","default":"getFlatLayersArray","description":"Retrieves all layers in a flat array."},{"kind":"field","name":"transform","default":"transform","description":"Transforms coordinates between different projections."},{"kind":"field","name":"transformExtent","default":"transformExtent","description":"Transforms the extent between different projections."},{"kind":"field","name":"buffer","default":"buffer","description":"Applies a buffer around an extent."},{"kind":"field","name":"map","privacy":"public","description":"The OpenLayers map instance.","type":{"text":"default"},"default":"new Map({ controls: [], layers: [], view: new View({ center: [0, 0], zoom: 0, projection: this.projection, }), })"},{"kind":"field","name":"interactions","type":{"text":"Object."},"description":"Object to store various map interactions (e.g., drag, zoom).","default":"{}"},{"kind":"field","name":"selectInteractions","privacy":"public","type":{"text":"Object."},"description":"Object to store selection interactions for the map.","default":"{}"},{"kind":"field","name":"mapControls","privacy":"public","type":{"text":"Object."},"description":"Object to store map controls (e.g., custom buttons, geolocation).","default":"{}"},{"kind":"field","name":"intersections","privacy":"public","type":{"text":"object"}}],"attributes":[{"name":"prevent-scroll","type":{"text":"boolean"},"description":"Gets the current scroll interaction state.","parameters":[{"description":"Whether to prevent scroll interactions.","name":"preventScroll","type":{"text":"Boolean"}}],"return":{"type":{"text":"Boolean"}},"fieldName":"preventScroll"},{"name":"sync","type":{"text":"string"},"description":"Gets the current sync state of the map.","parameters":[{"description":"The ID of the map to sync with.","name":"sync","type":{"text":"string"}}],"return":{"type":{"text":"string"}},"fieldName":"sync"},{"name":"projection","type":{"text":"string"},"description":"Gets the current map projection.","parameters":[{"description":"The projection code (e.g., \\"EPSG:3857\\").","name":"projection","type":{"text":"ProjectionLike"}}],"return":{"type":{"text":"ProjectionLike"}},"fieldName":"projection"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"eox-map","customElement":true}],"exports":[{"kind":"js","name":"EOxMap","declaration":{"name":"EOxMap","module":"elements/layercontrol/node_modules/@eox/map/src/main.js"}},{"kind":"custom-element-definition","name":"eox-map","declaration":{"name":"EOxMap","module":"elements/layercontrol/node_modules/@eox/map/src/main.js"}}]},{"kind":"javascript-module","path":"elements/layercontrol/node_modules/@eox/timecontrol/src/main.js","declarations":[{"kind":"class","description":"","name":"EOxTimeControl","members":[{"kind":"method","name":"next","description":"Go to next step"},{"kind":"method","name":"previous","description":"Go to previous step"},{"kind":"method","name":"playAnimation","parameters":[{"name":"on","description":"animation on/off","type":{"text":"boolean"}}],"description":"Toggle play animation"},{"kind":"method","name":"setConfig","parameters":[{"name":"config","type":{"text":"@param {string} [config.layer]\\n * @param {string} [config.controlProperty]\\n * @param {Array} [config.controlValues]"}}],"description":"Set the config at a later point"},{"kind":"field","name":"currentStep","privacy":"public","type":{"text":"string"},"description":"The currently selected step","attribute":"current-step"},{"kind":"method","name":"updateMap"},{"kind":"field","name":"eoxMap"},{"kind":"method","name":"_updateStep","parameters":[{"name":"step","default":"1","optional":true,"type":{"text":"number"}}],"privacy":"private"},{"kind":"method","name":"getFlatLayersArray","parameters":[{"name":"layers","type":{"text":"default[]"}}],"description":"TEMP / TO-DO, this is a copy of the function defined in the eox-map:\\nhttps://github.com/EOX-A/EOxElements/blob/main/elements/map/src/layer.ts#L25\\nConsider a way to properly export that function and use it here\\nSee also:\\nhttps://github.com/EOX-A/EOxElements/issues/974","return":{"type":{"text":"default[]"}}},{"kind":"field","name":"controlValues","privacy":"public","type":{"text":"string[]"},"description":"The list of available values for the animation property","default":"[]","attribute":"control-values"},{"kind":"field","name":"_newStepIndex","privacy":"public","type":{"text":"number"},"default":"0","attribute":"_newStepIndex"},{"kind":"field","name":"unstyled","privacy":"public","type":{"text":"boolean"},"default":"false","attribute":"unstyled"},{"kind":"field","name":"disablePlay","privacy":"public","type":{"text":"boolean"},"description":"Hides the play button if set","default":"false","attribute":"disable-play"},{"kind":"field","name":"slider","privacy":"public","type":{"text":"boolean"},"description":"Display a slider for the values","default":"false","attribute":"slider"},{"kind":"field","name":"for","privacy":"public","type":{"text":"String|HTMLElement"},"description":"Query selector of an `eox-map` (`String`, passed as an attribute or property)\\nor an `eox-map` DOM element (`HTMLElement`, passed as property)","default":"\\"eox-map\\"","attribute":"for"},{"kind":"field","name":"layer","privacy":"public","type":{"text":"string"},"description":"The layerid of the animated layer","default":"\\"\\"","attribute":"layer"},{"kind":"field","name":"controlProperty","privacy":"public","type":{"text":"string | undefined"},"description":"The WMS parameter to update","default":"undefined","attribute":"control-property"},{"kind":"field","name":"_eoxMap","privacy":"public","type":{"text":"HTMLElement |undefined"},"default":"undefined","attribute":"_eoxMap"},{"kind":"field","name":"_width","privacy":"public","type":{"text":"number"},"default":"300","attribute":"_width"},{"kind":"field","name":"_originalParams","privacy":"public","type":{"text":"object"},"description":"Original params of layer source","attribute":"_originalParams"},{"kind":"field","name":"_animationInterval","privacy":"public","attribute":"_animationInterval"},{"kind":"field","name":"_controlSource","privacy":"public","attribute":"_controlSource"},{"kind":"field","name":"_isAnimationPlaying","privacy":"public","attribute":"_isAnimationPlaying"}],"events":[{"name":"stepchange","type":{"text":"CustomEvent"},"description":"Triggers when *currentStep* is updated.\\n`event.detail.currentStep` returns the new *currentStep* value."}],"attributes":[{"name":"control-property","type":{"text":"string | undefined"},"description":"The WMS parameter to update","default":"undefined","fieldName":"controlProperty"},{"name":"control-values","type":{"text":"string[]"},"description":"The list of available values for the animation property","default":"[]","fieldName":"controlValues"},{"name":"for","type":{"text":"String|HTMLElement"},"description":"Query selector of an `eox-map` (`String`, passed as an attribute or property)\\nor an `eox-map` DOM element (`HTMLElement`, passed as property)","default":"\\"eox-map\\"","fieldName":"for"},{"name":"layer","type":{"text":"string"},"description":"The layerid of the animated layer","default":"\\"\\"","fieldName":"layer"},{"name":"slider","type":{"text":"boolean"},"description":"Display a slider for the values","default":"false","fieldName":"slider"},{"name":"_originalParams","type":{"text":"object"},"description":"Original params of layer source","fieldName":"_originalParams"},{"name":"disable-play","type":{"text":"boolean"},"description":"Hides the play button if set","default":"false","fieldName":"disablePlay"},{"name":"current-step","type":{"text":"string"},"description":"The currently selected step","fieldName":"currentStep"},{"name":"_animationInterval","fieldName":"_animationInterval"},{"name":"_controlSource","fieldName":"_controlSource"},{"name":"_isAnimationPlaying","fieldName":"_isAnimationPlaying"},{"name":"_newStepIndex","type":{"text":"number"},"default":"0","fieldName":"_newStepIndex"},{"name":"_eoxMap","type":{"text":"HTMLElement |undefined"},"default":"undefined","fieldName":"_eoxMap"},{"name":"_width","type":{"text":"number"},"default":"300","fieldName":"_width"},{"name":"unstyled","type":{"text":"boolean"},"default":"false","fieldName":"unstyled"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"eox-timecontrol","customElement":true}],"exports":[{"kind":"js","name":"EOxTimeControl","declaration":{"name":"EOxTimeControl","module":"elements/layercontrol/node_modules/@eox/timecontrol/src/main.js"}},{"kind":"custom-element-definition","name":"eox-timecontrol","declaration":{"name":"EOxTimeControl","module":"elements/layercontrol/node_modules/@eox/timecontrol/src/main.js"}}]}]'),jKe={schemaVersion:NKe,readme:BKe,modules:zKe};function hbe(e){const t={h3:"h3",...RCe(),...e.components};return bu.jsxs(bu.Fragment,{children:[` `,` `,bu.jsx(rze,{isTemplate:!0}),` `,bu.jsx(ize,{}),` diff --git a/iframe.html b/iframe.html index 62fe1471b..b33bf3bea 100644 --- a/iframe.html +++ b/iframe.html @@ -515,7 +515,7 @@ } - + diff --git a/project.json b/project.json index 04f7d4e76..2f2905cc3 100644 --- a/project.json +++ b/project.json @@ -1 +1 @@ -{"generatedAt":1738255361639,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":true,"hasStorybookEslint":false,"refCount":0,"testPackages":{"@cypress/code-coverage":"3.13.10","@cypress/mount-utils":"4.1.2","cypress":"13.17.0","cypress-fail-on-console-error":"5.1.1","cypress-lit":null,"cypress-network-idle":"1.15.0"},"hasRouterPackage":false,"monorepo":"Workspaces","packageManager":{"type":"npm","version":"10.8.2"},"preview":{"usesGlobals":false},"framework":{"name":"@storybook/web-components-vite","options":{}},"builder":"@storybook/builder-vite","renderer":"@storybook/web-components","portableStoriesFileCount":0,"applicationFileCount":2,"storybookVersion":"8.5.2","storybookVersionSpecifier":"^8.0.0","language":"javascript","storybookPackages":{"@storybook/addon-essentials":{"version":"8.5.2"},"@storybook/addon-interactions":{"version":"8.5.2"},"@storybook/blocks":{"version":"8.5.2"},"@storybook/csf-tools":{"version":"8.5.2"},"@storybook/test":{"version":"8.5.2"},"@storybook/theming":{"version":"8.5.2"},"@storybook/web-components":{"version":"8.5.2"},"@storybook/web-components-vite":{"version":"8.5.2"},"storybook":{"version":"8.5.2"}},"addons":{"$SNIP/node_modules/@storybook/addon-essentials":{"version":null},"$SNIP/node_modules/@storybook/addon-interactions":{"version":null}}} \ No newline at end of file +{"generatedAt":1738256504487,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":true,"hasStorybookEslint":false,"refCount":0,"testPackages":{"@cypress/code-coverage":"3.13.10","@cypress/mount-utils":"4.1.2","cypress":"13.17.0","cypress-fail-on-console-error":"5.1.1","cypress-lit":null,"cypress-network-idle":"1.15.0"},"hasRouterPackage":false,"monorepo":"Workspaces","packageManager":{"type":"npm","version":"10.8.2"},"preview":{"usesGlobals":false},"framework":{"name":"@storybook/web-components-vite","options":{}},"builder":"@storybook/builder-vite","renderer":"@storybook/web-components","portableStoriesFileCount":0,"applicationFileCount":2,"storybookVersion":"8.5.2","storybookVersionSpecifier":"^8.0.0","language":"javascript","storybookPackages":{"@storybook/addon-essentials":{"version":"8.5.2"},"@storybook/addon-interactions":{"version":"8.5.2"},"@storybook/blocks":{"version":"8.5.2"},"@storybook/csf-tools":{"version":"8.5.2"},"@storybook/test":{"version":"8.5.2"},"@storybook/theming":{"version":"8.5.2"},"@storybook/web-components":{"version":"8.5.2"},"@storybook/web-components-vite":{"version":"8.5.2"},"storybook":{"version":"8.5.2"}},"addons":{"$SNIP/node_modules/@storybook/addon-essentials":{"version":null},"$SNIP/node_modules/@storybook/addon-interactions":{"version":null}}} \ No newline at end of file