From 04925e9f196c881a302ea7e9433e840828ff93d9 Mon Sep 17 00:00:00 2001 From: Jeff Allen Date: Fri, 11 Oct 2024 13:09:49 -0400 Subject: [PATCH] build --- .../assets/{2.CtFVF9-0.css => 3.CtFVF9-0.css} | 0 ...{_page.BsFCzpXs.css => _page.DtmK1zvO.css} | 2 +- docs/_app/immutable/chunks/entry.DVGp0EXr.js | 3 --- docs/_app/immutable/chunks/entry.k3Z5ma43.js | 3 +++ docs/_app/immutable/chunks/index.DWPsA_mN.js | 1 - docs/_app/immutable/chunks/index.Djyg5Tq4.js | 1 + ...uler.CA2Mf2KT.js => scheduler.8B3IDZxh.js} | 2 +- docs/_app/immutable/entry/app.DURevlBI.js | 2 ++ docs/_app/immutable/entry/app.oesq27Kn.js | 2 -- docs/_app/immutable/entry/start.BOpWsXpV.js | 1 - docs/_app/immutable/entry/start.DLoF9AGY.js | 1 + docs/_app/immutable/nodes/0.B4MbUAdn.js | 1 + docs/_app/immutable/nodes/0.oUQvJFBJ.js | 1 - docs/_app/immutable/nodes/1.B__zzMVm.js | 1 + docs/_app/immutable/nodes/1.BtCpqJEK.js | 1 - docs/_app/immutable/nodes/2.DdkqFTab.js | 1 + .../nodes/{2.DhYuc6pS.js => 3.9Nix9UIN.js} | 4 ++-- docs/_app/version.json | 2 +- docs/{index.html => map.html} | 18 +++++++++--------- docs/{ => map}/blocks-data-2021.pmtiles | Bin docs/{ => map}/logos.svg | 0 src/routes/map/+page.svelte | 4 ++-- static/{ => map}/blocks-data-2021.pmtiles | Bin static/{ => map}/logos.svg | 0 24 files changed, 26 insertions(+), 25 deletions(-) rename docs/_app/immutable/assets/{2.CtFVF9-0.css => 3.CtFVF9-0.css} (100%) rename docs/_app/immutable/assets/{_page.BsFCzpXs.css => _page.DtmK1zvO.css} (78%) delete mode 100644 docs/_app/immutable/chunks/entry.DVGp0EXr.js create mode 100644 docs/_app/immutable/chunks/entry.k3Z5ma43.js delete mode 100644 docs/_app/immutable/chunks/index.DWPsA_mN.js create mode 100644 docs/_app/immutable/chunks/index.Djyg5Tq4.js rename docs/_app/immutable/chunks/{scheduler.CA2Mf2KT.js => scheduler.8B3IDZxh.js} (93%) create mode 100644 docs/_app/immutable/entry/app.DURevlBI.js delete mode 100644 docs/_app/immutable/entry/app.oesq27Kn.js delete mode 100644 docs/_app/immutable/entry/start.BOpWsXpV.js create mode 100644 docs/_app/immutable/entry/start.DLoF9AGY.js create mode 100644 docs/_app/immutable/nodes/0.B4MbUAdn.js delete mode 100644 docs/_app/immutable/nodes/0.oUQvJFBJ.js create mode 100644 docs/_app/immutable/nodes/1.B__zzMVm.js delete mode 100644 docs/_app/immutable/nodes/1.BtCpqJEK.js create mode 100644 docs/_app/immutable/nodes/2.DdkqFTab.js rename docs/_app/immutable/nodes/{2.DhYuc6pS.js => 3.9Nix9UIN.js} (99%) rename docs/{index.html => map.html} (70%) rename docs/{ => map}/blocks-data-2021.pmtiles (100%) rename docs/{ => map}/logos.svg (100%) rename static/{ => map}/blocks-data-2021.pmtiles (100%) rename static/{ => map}/logos.svg (100%) diff --git a/docs/_app/immutable/assets/2.CtFVF9-0.css b/docs/_app/immutable/assets/3.CtFVF9-0.css similarity index 100% rename from docs/_app/immutable/assets/2.CtFVF9-0.css rename to docs/_app/immutable/assets/3.CtFVF9-0.css diff --git a/docs/_app/immutable/assets/_page.BsFCzpXs.css b/docs/_app/immutable/assets/_page.DtmK1zvO.css similarity index 78% rename from docs/_app/immutable/assets/_page.BsFCzpXs.css rename to docs/_app/immutable/assets/_page.DtmK1zvO.css index e4397d2..ad3de0c 100644 --- a/docs/_app/immutable/assets/_page.BsFCzpXs.css +++ b/docs/_app/immutable/assets/_page.DtmK1zvO.css @@ -1 +1 @@ -svg.svelte-qbd276{width:var(--chevron-icon-width, 20px);height:var(--chevron-icon-width, 20px);color:var(--chevron-icon-colour, currentColor)}svg.svelte-whdbu1{width:var(--clear-icon-width, 20px);height:var(--clear-icon-width, 20px);color:var(--clear-icon-color, currentColor)}.loading.svelte-1p3nqvd{width:var(--spinner-width, 20px);height:var(--spinner-height, 20px);color:var(--spinner-color, var(--icons-color));animation:svelte-1p3nqvd-rotate .75s linear infinite;transform-origin:center center;transform:none}.circle_path.svelte-1p3nqvd{stroke-dasharray:90;stroke-linecap:round}@keyframes svelte-1p3nqvd-rotate{to{transform:rotate(360deg)}}.svelte-select.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{--borderRadius:var(--border-radius);--clearSelectColor:var(--clear-select-color);--clearSelectWidth:var(--clear-select-width);--disabledBackground:var(--disabled-background);--disabledBorderColor:var(--disabled-border-color);--disabledColor:var(--disabled-color);--disabledPlaceholderColor:var(--disabled-placeholder-color);--disabledPlaceholderOpacity:var(--disabled-placeholder-opacity);--errorBackground:var(--error-background);--errorBorder:var(--error-border);--groupItemPaddingLeft:var(--group-item-padding-left);--groupTitleColor:var(--group-title-color);--groupTitleFontSize:var(--group-title-font-size);--groupTitleFontWeight:var(--group-title-font-weight);--groupTitlePadding:var(--group-title-padding);--groupTitleTextTransform:var(--group-title-text-transform);--groupTitleBorderColor:var(--group-title-border-color);--groupTitleBorderWidth:var(--group-title-border-width);--groupTitleBorderStyle:var(--group-title-border-style);--indicatorColor:var(--chevron-color);--indicatorHeight:var(--chevron-height);--indicatorWidth:var(--chevron-width);--inputColor:var(--input-color);--inputLeft:var(--input-left);--inputLetterSpacing:var(--input-letter-spacing);--inputMargin:var(--input-margin);--inputPadding:var(--input-padding);--itemActiveBackground:var(--item-active-background);--itemColor:var(--item-color);--itemFirstBorderRadius:var(--item-first-border-radius);--itemHoverBG:var(--item-hover-bg);--itemHoverColor:var(--item-hover-color);--itemIsActiveBG:var(--item-is-active-bg);--itemIsActiveColor:var(--item-is-active-color);--itemIsNotSelectableColor:var(--item-is-not-selectable-color);--itemPadding:var(--item-padding);--listBackground:var(--list-background);--listBorder:var(--list-border);--listBorderRadius:var(--list-border-radius);--listEmptyColor:var(--list-empty-color);--listEmptyPadding:var(--list-empty-padding);--listEmptyTextAlign:var(--list-empty-text-align);--listMaxHeight:var(--list-max-height);--listPosition:var(--list-position);--listShadow:var(--list-shadow);--listZIndex:var(--list-z-index);--multiItemBG:var(--multi-item-bg);--multiItemBorderRadius:var(--multi-item-border-radius);--multiItemDisabledHoverBg:var(--multi-item-disabled-hover-bg);--multiItemDisabledHoverColor:var(--multi-item-disabled-hover-color);--multiItemHeight:var(--multi-item-height);--multiItemMargin:var(--multi-item-margin);--multiItemPadding:var(--multi-item-padding);--multiSelectInputMargin:var(--multi-select-input-margin);--multiSelectInputPadding:var(--multi-select-input-padding);--multiSelectPadding:var(--multi-select-padding);--placeholderColor:var(--placeholder-color);--placeholderOpacity:var(--placeholder-opacity);--selectedItemPadding:var(--selected-item-padding);--spinnerColor:var(--spinner-color);--spinnerHeight:var(--spinner-height);--spinnerWidth:var(--spinner-width);--internal-padding:0 0 0 16px;border:var(--border, 1px solid #d8dbdf);border-radius:var(--border-radius, 6px);min-height:var(--height, 42px);position:relative;display:flex;align-items:stretch;padding:var(--padding, var(--internal-padding));background:var(--background, #fff);margin:var(--margin, 0);width:var(--width, 100%);font-size:var(--font-size, 16px);max-height:var(--max-height)}.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{box-sizing:var(--box-sizing, border-box)}.svelte-select.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8:hover{border:var(--border-hover, 1px solid #b2b8bf)}.value-container.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{display:flex;flex:1 1 0%;flex-wrap:wrap;align-items:center;gap:5px 10px;padding:var(--value-container-padding, 5px 0);position:relative;overflow:var(--value-container-overflow, hidden);align-self:stretch}.prepend.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8,.indicators.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{display:flex;flex-shrink:0;align-items:center}.indicators.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{position:var(--indicators-position);top:var(--indicators-top);right:var(--indicators-right);bottom:var(--indicators-bottom)}input.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{position:absolute;cursor:default;border:none;color:var(--input-color, var(--item-color));padding:var(--input-padding, 0);letter-spacing:var(--input-letter-spacing, inherit);margin:var(--input-margin, 0);min-width:10px;inset:0;background:transparent;font-size:var(--font-size, 16px)}.svelte-82qwg8:not(.multi)>.value-container.svelte-82qwg8>input.svelte-82qwg8{width:100%;height:100%}input.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8::placeholder{color:var(--placeholder-color, #78848f);opacity:var(--placeholder-opacity, 1)}input.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8:focus{outline:none}.svelte-select.focused.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{border:var(--border-focused, 1px solid #006fe8);border-radius:var(--border-radius-focused, var(--border-radius, 6px))}.disabled.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{background:var(--disabled-background, #ebedef);border-color:var(--disabled-border-color, #ebedef);color:var(--disabled-color, #c1c6cc)}.disabled.svelte-82qwg8 input.svelte-82qwg8.svelte-82qwg8::placeholder{color:var(--disabled-placeholder-color, #c1c6cc);opacity:var(--disabled-placeholder-opacity, 1)}.selected-item.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{position:relative;overflow:var(--selected-item-overflow, hidden);padding:var(--selected-item-padding, 0 20px 0 0);text-overflow:ellipsis;white-space:nowrap;color:var(--selected-item-color, inherit);font-size:var(--font-size, 16px)}.multi.svelte-82qwg8 .selected-item.svelte-82qwg8.svelte-82qwg8{position:absolute;line-height:var(--height, 42px);height:var(--height, 42px)}.selected-item.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8:focus{outline:none}.hide-selected-item.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{opacity:0}.icon.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{display:flex;align-items:center;justify-content:center}.clear-select.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{all:unset;display:flex;align-items:center;justify-content:center;width:var(--clear-select-width, 40px);height:var(--clear-select-height, 100%);color:var(--clear-select-color, var(--icons-color));margin:var(--clear-select-margin, 0);pointer-events:all;flex-shrink:0}.clear-select.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8:focus{outline:var(--clear-select-focus-outline, 1px solid #006fe8)}.loading.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{width:var(--loading-width, 40px);height:var(--loading-height);color:var(--loading-color, var(--icons-color));margin:var(--loading--margin, 0);flex-shrink:0}.chevron.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{width:var(--chevron-width, 40px);height:var(--chevron-height, 40px);background:var(--chevron-background, transparent);pointer-events:var(--chevron-pointer-events, none);color:var(--chevron-color, var(--icons-color));border:var(--chevron-border, 0 0 0 1px solid #d8dbdf);flex-shrink:0}.multi.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{padding:var(--multi-select-padding, var(--internal-padding))}.multi.svelte-82qwg8 input.svelte-82qwg8.svelte-82qwg8{padding:var(--multi-select-input-padding, 0);position:relative;margin:var(--multi-select-input-margin, 5px 0);flex:1 1 40px}.svelte-select.error.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{border:var(--error-border, 1px solid #ff2d55);background:var(--error-background, #fff)}.a11y-text.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{z-index:9999;border:0px;clip:rect(1px,1px,1px,1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap}.multi-item.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{background:var(--multi-item-bg, #ebedef);margin:var(--multi-item-margin, 0);outline:var(--multi-item-outline, 1px solid #ddd);border-radius:var(--multi-item-border-radius, 4px);height:var(--multi-item-height, 25px);line-height:var(--multi-item-height, 25px);display:flex;cursor:default;padding:var(--multi-item-padding, 0 5px);overflow:hidden;gap:var(--multi-item-gap, 4px);outline-offset:-1px;max-width:var(--multi-max-width, none);color:var(--multi-item-color, var(--item-color))}.multi-item.disabled.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8:hover{background:var(--multi-item-disabled-hover-bg, #ebedef);color:var(--multi-item-disabled-hover-color, #c1c6cc)}.multi-item-text.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.multi-item-clear.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{display:flex;align-items:center;justify-content:center;--clear-icon-color:var(--multi-item-clear-icon-color, #000)}.multi-item.active.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{outline:var(--multi-item-active-outline, 1px solid #006fe8)}.svelte-select-list.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{box-shadow:var(--list-shadow, 0 2px 3px 0 rgba(44, 62, 80, .24));border-radius:var(--list-border-radius, 4px);max-height:var(--list-max-height, 252px);overflow-y:auto;background:var(--list-background, #fff);position:var(--list-position, absolute);z-index:var(--list-z-index, 2);border:var(--list-border)}.prefloat.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{opacity:0;pointer-events:none}.list-group-title.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{color:var(--group-title-color, #8f8f8f);cursor:default;font-size:var(--group-title-font-size, 16px);font-weight:var(--group-title-font-weight, 600);height:var(--height, 42px);line-height:var(--height, 42px);padding:var(--group-title-padding, 0 20px);text-overflow:ellipsis;overflow-x:hidden;white-space:nowrap;text-transform:var(--group-title-text-transform, uppercase);border-width:var(--group-title-border-width, medium);border-style:var(--group-title-border-style, none);border-color:var(--group-title-border-color, color)}.empty.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{text-align:var(--list-empty-text-align, center);padding:var(--list-empty-padding, 20px 0);color:var(--list-empty-color, #78848f)}.item.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{cursor:default;height:var(--item-height, var(--height, 42px));line-height:var(--item-line-height, var(--height, 42px));padding:var(--item-padding, 0 20px);color:var(--item-color, inherit);text-overflow:ellipsis;overflow:hidden;white-space:nowrap;transition:var(--item-transition, all .2s);align-items:center;width:100%}.item.group-item.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{padding-left:var(--group-item-padding-left, 40px)}.item.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8:active{background:var(--item-active-background, #b9daff)}.item.active.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{background:var(--item-is-active-bg, #007aff);color:var(--item-is-active-color, #fff)}.item.first.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{border-radius:var(--item-first-border-radius, 4px 4px 0 0)}.item.hover.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8:not(.active){background:var(--item-hover-bg, #e7f2ff);color:var(--item-hover-color, inherit)}.item.not-selectable.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8,.item.hover.item.not-selectable.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8,.item.active.item.not-selectable.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8,.item.not-selectable.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8:active{color:var(--item-is-not-selectable-color, #999);background:transparent}.required.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{opacity:0;z-index:-1;position:absolute;inset:0}@font-face{font-family:TradeGothicBold;src:url(/non-profit-real-estate/_app/immutable/assets/Trade%20Gothic%20LT%20Bold.C7yXBsew.ttf)}@font-face{font-family:TradeGothicLTLightOblique;src:url(/non-profit-real-estate/_app/immutable/assets/Trade%20Gothic%20LT%20Light%20Oblique.bDXrON0t.ttf)}@font-face{font-family:TradeGothicLTLight;src:url(/non-profit-real-estate/_app/immutable/assets/Trade%20Gothic%20LT%20Light.yd_H8BMx.ttf)}@font-face{font-family:RobotoRegular;src:url(/non-profit-real-estate/_app/immutable/assets/Roboto-Regular.BHeBnKzs.ttf)}@font-face{font-family:RobotoBold;src:url(/non-profit-real-estate/_app/immutable/assets/Roboto-Bold.BKtbn9Wi.ttf)}@font-face{font-family:SourceSerif;src:url(/non-profit-real-estate/_app/immutable/assets/SourceSerifPro-Regular.BPwlsytF.otf)}:root{font-family:-apple-system,Roboto,Open Sans,Helvetica Neue,sans-serif;--brandBlack: #000000;--brandWhite: #ffffff;--brandGray: #D0D1C9;--brandGray70: #4d4d4d;--brandGray80: #333333;--brandGray90: #191919;--brandRed: #DA291C;--brandOrange: #D67C00}body{padding:0;margin:0;background-color:var(--brandWhite)}#container{display:flex}#panel{width:420px;min-width:420px;height:420px;height:100vh;overflow:auto;overflow-x:hidden;background-color:var(--brandWhite);border-right:solid 2px var(--brandRed)}.line{width:100%;height:1px;margin-top:20px;border-top:solid 1px var(--brandRed)}#map{height:100vh;width:calc(100vw - 420px);min-width:420px;background-color:var(--brandLightBlue)}@media screen and (max-width: 820px){#container{flex-direction:column-reverse}#map{height:50vh;width:100vw}#panel{height:calc(50vh - 1px);width:100vw;border-top:solid 1px var(--brandGray);border-right:none}}#title{text-decoration:none;margin:17px 16px 0;padding:10px;text-align:center;border-bottom:solid 2px var(--brandRed);background-color:var(--brandRed)}#title h1{font-family:Arial,Helvetica,sans-serif;font-size:42px;font-weight:700;padding-top:-40px;margin-top:5px;color:var(--brandWhite);text-decoration:underline}#title h2{font-family:Arial,Helvetica,sans-serif;font-size:26px;font-weight:700;padding-top:10px;margin-bottom:5px;margin-top:-20px;color:var(--brandWhite)}h3{text-align:left;font-family:Arial,Helvetica,sans-serif;font-size:16px;margin:16px;padding-left:4px;border-left:solid 3px var(--brandRed);color:var(--brandBlack)}h4{text-align:left;font-family:Arial,Helvetica,sans-serif;font-size:15px;margin:26px 13px -10px;font-weight:400;text-decoration:underline;padding-left:2px;color:var(--brandBlack)}p{font-family:Arial,Helvetica,sans-serif;color:var(--brandBlack);text-align:left;font-size:14px;line-height:19px;margin:16px 16px 16px 15px}.notes{font-size:12px;line-height:16px;color:var(--brandGray90)}a{text-decoration:underline;color:#000}a:hover{color:var(--brandRed)}.check-box.svelte-p76esw{margin-left:16px;margin-right:16px;width:387px}.label-format.svelte-p76esw{padding-right:4px;font-size:14px}.check-box-item.svelte-p76esw{accent-color:#DA291C;transform:scale(1.25)}.check-box-svg.svelte-p76esw{width:16px;height:16px;margin-top:4px}.des.svelte-p76esw{margin-top:4px;margin-left:20px;margin-right:20px;font-size:14px;line-height:18px}.box.svelte-p76esw{stroke-width:.5px;stroke:#cecece}.legend-label.svelte-p76esw{font-size:14px;fill:var(--brandBlack);font-weight:400;text-anchor:"middle"}.legend-label-dark.svelte-p76esw{font-size:14px;fill:var(--brandWhite);font-weight:400;text-anchor:"middle"} +svg.svelte-qbd276{width:var(--chevron-icon-width, 20px);height:var(--chevron-icon-width, 20px);color:var(--chevron-icon-colour, currentColor)}svg.svelte-whdbu1{width:var(--clear-icon-width, 20px);height:var(--clear-icon-width, 20px);color:var(--clear-icon-color, currentColor)}.loading.svelte-1p3nqvd{width:var(--spinner-width, 20px);height:var(--spinner-height, 20px);color:var(--spinner-color, var(--icons-color));animation:svelte-1p3nqvd-rotate .75s linear infinite;transform-origin:center center;transform:none}.circle_path.svelte-1p3nqvd{stroke-dasharray:90;stroke-linecap:round}@keyframes svelte-1p3nqvd-rotate{to{transform:rotate(360deg)}}.svelte-select.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{--borderRadius:var(--border-radius);--clearSelectColor:var(--clear-select-color);--clearSelectWidth:var(--clear-select-width);--disabledBackground:var(--disabled-background);--disabledBorderColor:var(--disabled-border-color);--disabledColor:var(--disabled-color);--disabledPlaceholderColor:var(--disabled-placeholder-color);--disabledPlaceholderOpacity:var(--disabled-placeholder-opacity);--errorBackground:var(--error-background);--errorBorder:var(--error-border);--groupItemPaddingLeft:var(--group-item-padding-left);--groupTitleColor:var(--group-title-color);--groupTitleFontSize:var(--group-title-font-size);--groupTitleFontWeight:var(--group-title-font-weight);--groupTitlePadding:var(--group-title-padding);--groupTitleTextTransform:var(--group-title-text-transform);--groupTitleBorderColor:var(--group-title-border-color);--groupTitleBorderWidth:var(--group-title-border-width);--groupTitleBorderStyle:var(--group-title-border-style);--indicatorColor:var(--chevron-color);--indicatorHeight:var(--chevron-height);--indicatorWidth:var(--chevron-width);--inputColor:var(--input-color);--inputLeft:var(--input-left);--inputLetterSpacing:var(--input-letter-spacing);--inputMargin:var(--input-margin);--inputPadding:var(--input-padding);--itemActiveBackground:var(--item-active-background);--itemColor:var(--item-color);--itemFirstBorderRadius:var(--item-first-border-radius);--itemHoverBG:var(--item-hover-bg);--itemHoverColor:var(--item-hover-color);--itemIsActiveBG:var(--item-is-active-bg);--itemIsActiveColor:var(--item-is-active-color);--itemIsNotSelectableColor:var(--item-is-not-selectable-color);--itemPadding:var(--item-padding);--listBackground:var(--list-background);--listBorder:var(--list-border);--listBorderRadius:var(--list-border-radius);--listEmptyColor:var(--list-empty-color);--listEmptyPadding:var(--list-empty-padding);--listEmptyTextAlign:var(--list-empty-text-align);--listMaxHeight:var(--list-max-height);--listPosition:var(--list-position);--listShadow:var(--list-shadow);--listZIndex:var(--list-z-index);--multiItemBG:var(--multi-item-bg);--multiItemBorderRadius:var(--multi-item-border-radius);--multiItemDisabledHoverBg:var(--multi-item-disabled-hover-bg);--multiItemDisabledHoverColor:var(--multi-item-disabled-hover-color);--multiItemHeight:var(--multi-item-height);--multiItemMargin:var(--multi-item-margin);--multiItemPadding:var(--multi-item-padding);--multiSelectInputMargin:var(--multi-select-input-margin);--multiSelectInputPadding:var(--multi-select-input-padding);--multiSelectPadding:var(--multi-select-padding);--placeholderColor:var(--placeholder-color);--placeholderOpacity:var(--placeholder-opacity);--selectedItemPadding:var(--selected-item-padding);--spinnerColor:var(--spinner-color);--spinnerHeight:var(--spinner-height);--spinnerWidth:var(--spinner-width);--internal-padding:0 0 0 16px;border:var(--border, 1px solid #d8dbdf);border-radius:var(--border-radius, 6px);min-height:var(--height, 42px);position:relative;display:flex;align-items:stretch;padding:var(--padding, var(--internal-padding));background:var(--background, #fff);margin:var(--margin, 0);width:var(--width, 100%);font-size:var(--font-size, 16px);max-height:var(--max-height)}.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{box-sizing:var(--box-sizing, border-box)}.svelte-select.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8:hover{border:var(--border-hover, 1px solid #b2b8bf)}.value-container.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{display:flex;flex:1 1 0%;flex-wrap:wrap;align-items:center;gap:5px 10px;padding:var(--value-container-padding, 5px 0);position:relative;overflow:var(--value-container-overflow, hidden);align-self:stretch}.prepend.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8,.indicators.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{display:flex;flex-shrink:0;align-items:center}.indicators.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{position:var(--indicators-position);top:var(--indicators-top);right:var(--indicators-right);bottom:var(--indicators-bottom)}input.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{position:absolute;cursor:default;border:none;color:var(--input-color, var(--item-color));padding:var(--input-padding, 0);letter-spacing:var(--input-letter-spacing, inherit);margin:var(--input-margin, 0);min-width:10px;inset:0;background:transparent;font-size:var(--font-size, 16px)}.svelte-82qwg8:not(.multi)>.value-container.svelte-82qwg8>input.svelte-82qwg8{width:100%;height:100%}input.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8::placeholder{color:var(--placeholder-color, #78848f);opacity:var(--placeholder-opacity, 1)}input.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8:focus{outline:none}.svelte-select.focused.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{border:var(--border-focused, 1px solid #006fe8);border-radius:var(--border-radius-focused, var(--border-radius, 6px))}.disabled.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{background:var(--disabled-background, #ebedef);border-color:var(--disabled-border-color, #ebedef);color:var(--disabled-color, #c1c6cc)}.disabled.svelte-82qwg8 input.svelte-82qwg8.svelte-82qwg8::placeholder{color:var(--disabled-placeholder-color, #c1c6cc);opacity:var(--disabled-placeholder-opacity, 1)}.selected-item.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{position:relative;overflow:var(--selected-item-overflow, hidden);padding:var(--selected-item-padding, 0 20px 0 0);text-overflow:ellipsis;white-space:nowrap;color:var(--selected-item-color, inherit);font-size:var(--font-size, 16px)}.multi.svelte-82qwg8 .selected-item.svelte-82qwg8.svelte-82qwg8{position:absolute;line-height:var(--height, 42px);height:var(--height, 42px)}.selected-item.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8:focus{outline:none}.hide-selected-item.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{opacity:0}.icon.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{display:flex;align-items:center;justify-content:center}.clear-select.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{all:unset;display:flex;align-items:center;justify-content:center;width:var(--clear-select-width, 40px);height:var(--clear-select-height, 100%);color:var(--clear-select-color, var(--icons-color));margin:var(--clear-select-margin, 0);pointer-events:all;flex-shrink:0}.clear-select.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8:focus{outline:var(--clear-select-focus-outline, 1px solid #006fe8)}.loading.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{width:var(--loading-width, 40px);height:var(--loading-height);color:var(--loading-color, var(--icons-color));margin:var(--loading--margin, 0);flex-shrink:0}.chevron.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{width:var(--chevron-width, 40px);height:var(--chevron-height, 40px);background:var(--chevron-background, transparent);pointer-events:var(--chevron-pointer-events, none);color:var(--chevron-color, var(--icons-color));border:var(--chevron-border, 0 0 0 1px solid #d8dbdf);flex-shrink:0}.multi.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{padding:var(--multi-select-padding, var(--internal-padding))}.multi.svelte-82qwg8 input.svelte-82qwg8.svelte-82qwg8{padding:var(--multi-select-input-padding, 0);position:relative;margin:var(--multi-select-input-margin, 5px 0);flex:1 1 40px}.svelte-select.error.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{border:var(--error-border, 1px solid #ff2d55);background:var(--error-background, #fff)}.a11y-text.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{z-index:9999;border:0px;clip:rect(1px,1px,1px,1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap}.multi-item.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{background:var(--multi-item-bg, #ebedef);margin:var(--multi-item-margin, 0);outline:var(--multi-item-outline, 1px solid #ddd);border-radius:var(--multi-item-border-radius, 4px);height:var(--multi-item-height, 25px);line-height:var(--multi-item-height, 25px);display:flex;cursor:default;padding:var(--multi-item-padding, 0 5px);overflow:hidden;gap:var(--multi-item-gap, 4px);outline-offset:-1px;max-width:var(--multi-max-width, none);color:var(--multi-item-color, var(--item-color))}.multi-item.disabled.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8:hover{background:var(--multi-item-disabled-hover-bg, #ebedef);color:var(--multi-item-disabled-hover-color, #c1c6cc)}.multi-item-text.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.multi-item-clear.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{display:flex;align-items:center;justify-content:center;--clear-icon-color:var(--multi-item-clear-icon-color, #000)}.multi-item.active.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{outline:var(--multi-item-active-outline, 1px solid #006fe8)}.svelte-select-list.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{box-shadow:var(--list-shadow, 0 2px 3px 0 rgba(44, 62, 80, .24));border-radius:var(--list-border-radius, 4px);max-height:var(--list-max-height, 252px);overflow-y:auto;background:var(--list-background, #fff);position:var(--list-position, absolute);z-index:var(--list-z-index, 2);border:var(--list-border)}.prefloat.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{opacity:0;pointer-events:none}.list-group-title.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{color:var(--group-title-color, #8f8f8f);cursor:default;font-size:var(--group-title-font-size, 16px);font-weight:var(--group-title-font-weight, 600);height:var(--height, 42px);line-height:var(--height, 42px);padding:var(--group-title-padding, 0 20px);text-overflow:ellipsis;overflow-x:hidden;white-space:nowrap;text-transform:var(--group-title-text-transform, uppercase);border-width:var(--group-title-border-width, medium);border-style:var(--group-title-border-style, none);border-color:var(--group-title-border-color, color)}.empty.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{text-align:var(--list-empty-text-align, center);padding:var(--list-empty-padding, 20px 0);color:var(--list-empty-color, #78848f)}.item.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{cursor:default;height:var(--item-height, var(--height, 42px));line-height:var(--item-line-height, var(--height, 42px));padding:var(--item-padding, 0 20px);color:var(--item-color, inherit);text-overflow:ellipsis;overflow:hidden;white-space:nowrap;transition:var(--item-transition, all .2s);align-items:center;width:100%}.item.group-item.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{padding-left:var(--group-item-padding-left, 40px)}.item.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8:active{background:var(--item-active-background, #b9daff)}.item.active.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{background:var(--item-is-active-bg, #007aff);color:var(--item-is-active-color, #fff)}.item.first.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{border-radius:var(--item-first-border-radius, 4px 4px 0 0)}.item.hover.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8:not(.active){background:var(--item-hover-bg, #e7f2ff);color:var(--item-hover-color, inherit)}.item.not-selectable.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8,.item.hover.item.not-selectable.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8,.item.active.item.not-selectable.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8,.item.not-selectable.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8:active{color:var(--item-is-not-selectable-color, #999);background:transparent}.required.svelte-82qwg8.svelte-82qwg8.svelte-82qwg8{opacity:0;z-index:-1;position:absolute;inset:0}@font-face{font-family:TradeGothicBold;src:url(/essential-spaces/_app/immutable/assets/Trade%20Gothic%20LT%20Bold.C7yXBsew.ttf)}@font-face{font-family:TradeGothicLTLightOblique;src:url(/essential-spaces/_app/immutable/assets/Trade%20Gothic%20LT%20Light%20Oblique.bDXrON0t.ttf)}@font-face{font-family:TradeGothicLTLight;src:url(/essential-spaces/_app/immutable/assets/Trade%20Gothic%20LT%20Light.yd_H8BMx.ttf)}@font-face{font-family:RobotoRegular;src:url(/essential-spaces/_app/immutable/assets/Roboto-Regular.BHeBnKzs.ttf)}@font-face{font-family:RobotoBold;src:url(/essential-spaces/_app/immutable/assets/Roboto-Bold.BKtbn9Wi.ttf)}@font-face{font-family:SourceSerif;src:url(/essential-spaces/_app/immutable/assets/SourceSerifPro-Regular.BPwlsytF.otf)}:root{font-family:-apple-system,Roboto,Open Sans,Helvetica Neue,sans-serif;--brandBlack: #000000;--brandWhite: #ffffff;--brandGray: #D0D1C9;--brandGray70: #4d4d4d;--brandGray80: #333333;--brandGray90: #191919;--brandRed: #DA291C;--brandOrange: #D67C00}body{padding:0;margin:0;background-color:var(--brandWhite)}#container{display:flex}#panel{width:420px;min-width:420px;height:420px;height:100vh;overflow:auto;overflow-x:hidden;background-color:var(--brandWhite);border-right:solid 2px var(--brandRed)}.line{width:100%;height:1px;margin-top:20px;border-top:solid 1px var(--brandRed)}#map{height:100vh;width:calc(100vw - 420px);min-width:420px;background-color:var(--brandLightBlue)}@media screen and (max-width: 820px){#container{flex-direction:column-reverse}#map{height:50vh;width:100vw}#panel{height:calc(50vh - 1px);width:100vw;border-top:solid 1px var(--brandGray);border-right:none}}#title{text-decoration:none;margin:17px 16px 0;padding:10px;text-align:center;border-bottom:solid 2px var(--brandRed);background-color:var(--brandRed)}#title h1{font-family:Arial,Helvetica,sans-serif;font-size:42px;font-weight:700;padding-top:-40px;margin-top:5px;color:var(--brandWhite);text-decoration:underline}#title h2{font-family:Arial,Helvetica,sans-serif;font-size:26px;font-weight:700;padding-top:10px;margin-bottom:5px;margin-top:-20px;color:var(--brandWhite)}h3{text-align:left;font-family:Arial,Helvetica,sans-serif;font-size:16px;margin:16px;padding-left:4px;border-left:solid 3px var(--brandRed);color:var(--brandBlack)}h4{text-align:left;font-family:Arial,Helvetica,sans-serif;font-size:15px;margin:26px 13px -10px;font-weight:400;text-decoration:underline;padding-left:2px;color:var(--brandBlack)}p{font-family:Arial,Helvetica,sans-serif;color:var(--brandBlack);text-align:left;font-size:14px;line-height:19px;margin:16px 16px 16px 15px}.notes{font-size:12px;line-height:16px;color:var(--brandGray90)}a{text-decoration:underline;color:#000}a:hover{color:var(--brandRed)}.check-box.svelte-p76esw{margin-left:16px;margin-right:16px;width:387px}.label-format.svelte-p76esw{padding-right:4px;font-size:14px}.check-box-item.svelte-p76esw{accent-color:#DA291C;transform:scale(1.25)}.check-box-svg.svelte-p76esw{width:16px;height:16px;margin-top:4px}.des.svelte-p76esw{margin-top:4px;margin-left:20px;margin-right:20px;font-size:14px;line-height:18px}.box.svelte-p76esw{stroke-width:.5px;stroke:#cecece}.legend-label.svelte-p76esw{font-size:14px;fill:var(--brandBlack);font-weight:400;text-anchor:"middle"}.legend-label-dark.svelte-p76esw{font-size:14px;fill:var(--brandWhite);font-weight:400;text-anchor:"middle"} diff --git a/docs/_app/immutable/chunks/entry.DVGp0EXr.js b/docs/_app/immutable/chunks/entry.DVGp0EXr.js deleted file mode 100644 index c078dcb..0000000 --- a/docs/_app/immutable/chunks/entry.DVGp0EXr.js +++ /dev/null @@ -1,3 +0,0 @@ -import{n as lt,s as le,z as fe}from"./scheduler.CA2Mf2KT.js";new URL("sveltekit-internal://");function ue(t,n){return t==="/"||n==="ignore"?t:n==="never"?t.endsWith("/")?t.slice(0,-1):t:n==="always"&&!t.endsWith("/")?t+"/":t}function de(t){return t.split("%25").map(decodeURI).join("%25")}function he(t){for(const n in t)t[n]=decodeURIComponent(t[n]);return t}function ft({href:t}){return t.split("#")[0]}const pe=["href","pathname","search","toString","toJSON"];function ge(t,n,e){const a=new URL(t);Object.defineProperty(a,"searchParams",{value:new Proxy(a.searchParams,{get(r,o){if(o==="get"||o==="getAll"||o==="has")return s=>(e(s),r[o](s));n();const i=Reflect.get(r,o);return typeof i=="function"?i.bind(r):i}}),enumerable:!0,configurable:!0});for(const r of pe)Object.defineProperty(a,r,{get(){return n(),t[r]},enumerable:!0,configurable:!0});return a}const me="/__data.json",_e=".html__data.json";function ye(t){return t.endsWith(".html")?t.replace(/\.html$/,_e):t.replace(/\/$/,"")+me}function we(...t){let n=5381;for(const e of t)if(typeof e=="string"){let a=e.length;for(;a;)n=n*33^e.charCodeAt(--a)}else if(ArrayBuffer.isView(e)){const a=new Uint8Array(e.buffer,e.byteOffset,e.byteLength);let r=a.length;for(;r;)n=n*33^a[--r]}else throw new TypeError("value must be a string or TypedArray");return(n>>>0).toString(36)}function ve(t){const n=atob(t),e=new Uint8Array(n.length);for(let a=0;a((t instanceof Request?t.method:(n==null?void 0:n.method)||"GET")!=="GET"&&G.delete(mt(t)),Vt(t,n));const G=new Map;function be(t,n){const e=mt(t,n),a=document.querySelector(e);if(a!=null&&a.textContent){let{body:r,...o}=JSON.parse(a.textContent);const i=a.getAttribute("data-ttl");return i&&G.set(e,{body:r,init:o,ttl:1e3*Number(i)}),a.getAttribute("data-b64")!==null&&(r=ve(r)),Promise.resolve(new Response(r,o))}return window.fetch(t,n)}function Ee(t,n,e){if(G.size>0){const a=mt(t,e),r=G.get(a);if(r){if(performance.now(){const r=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(a);if(r)return n.push({name:r[1],matcher:r[2],optional:!1,rest:!0,chained:!0}),"(?:/(.*))?";const o=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(a);if(o)return n.push({name:o[1],matcher:o[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!a)return;const i=a.split(/\[(.+?)\](?!\])/);return"/"+i.map((c,l)=>{if(l%2){if(c.startsWith("x+"))return ut(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return ut(String.fromCharCode(...c.slice(2).split("-").map(f=>parseInt(f,16))));const u=ke.exec(c),[,h,g,d,_]=u;return n.push({name:d,matcher:_,optional:!!h,rest:!!g,chained:g?l===1&&i[0]==="":!1}),g?"(.*?)":h?"([^/]*)?":"([^/]+?)"}return ut(c)}).join("")}).join("")}/?$`),params:n}}function Ae(t){return!/^\([^)]+\)$/.test(t)}function Re(t){return t.slice(1).split("/").filter(Ae)}function Ie(t,n,e){const a={},r=t.slice(1),o=r.filter(s=>s!==void 0);let i=0;for(let s=0;su).join("/"),i=0),l===void 0){c.rest&&(a[c.name]="");continue}if(!c.matcher||e[c.matcher](l)){a[c.name]=l;const u=n[s+1],h=r[s+1];u&&!u.rest&&u.optional&&h&&c.chained&&(i=0),!u&&!h&&Object.keys(a).length===o.length&&(i=0);continue}if(c.optional&&c.chained){i++;continue}return}if(!i)return a}function ut(t){return t.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function Le({nodes:t,server_loads:n,dictionary:e,matchers:a}){const r=new Set(n);return Object.entries(e).map(([s,[c,l,u]])=>{const{pattern:h,params:g}=Se(s),d={id:s,exec:_=>{const f=h.exec(_);if(f)return Ie(f,g,a)},errors:[1,...u||[]].map(_=>t[_]),layouts:[0,...l||[]].map(i),leaf:o(c)};return d.errors.length=d.layouts.length=Math.max(d.errors.length,d.layouts.length),d});function o(s){const c=s<0;return c&&(s=~s),[c,t[s]]}function i(s){return s===void 0?s:[r.has(s),t[s]]}}function Ft(t,n=JSON.parse){try{return n(sessionStorage[t])}catch{}}function Pt(t,n,e=JSON.stringify){const a=e(n);try{sessionStorage[t]=a}catch{}}const O=[];function _t(t,n=lt){let e;const a=new Set;function r(s){if(le(t,s)&&(t=s,e)){const c=!O.length;for(const l of a)l[1](),O.push(l,t);if(c){for(let l=0;l{a.delete(l),a.size===0&&e&&(e(),e=null)}}return{set:r,update:o,subscribe:i}}var Dt;const P=((Dt=globalThis.__sveltekit_1my4ss7)==null?void 0:Dt.base)??"/non-profit-real-estate";var Ct;const Pe=((Ct=globalThis.__sveltekit_1my4ss7)==null?void 0:Ct.assets)??P,Te="1728591061444",qt="sveltekit:snapshot",Gt="sveltekit:scroll",Mt="sveltekit:states",Ue="sveltekit:pageurl",D="sveltekit:history",H="sveltekit:navigation",J={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},K=location.origin;function Ht(t){if(t instanceof URL)return t;let n=document.baseURI;if(!n){const e=document.getElementsByTagName("base");n=e.length?e[0].href:document.URL}return new URL(t,n)}function yt(){return{x:pageXOffset,y:pageYOffset}}function j(t,n){return t.getAttribute(`data-sveltekit-${n}`)}const Tt={...J,"":J.hover};function zt(t){let n=t.assignedSlot??t.parentNode;return(n==null?void 0:n.nodeType)===11&&(n=n.host),n}function Bt(t,n){for(;t&&t!==n;){if(t.nodeName.toUpperCase()==="A"&&t.hasAttribute("href"))return t;t=zt(t)}}function ht(t,n){let e;try{e=new URL(t instanceof SVGAElement?t.href.baseVal:t.href,document.baseURI)}catch{}const a=t instanceof SVGAElement?t.target.baseVal:t.target,r=!e||!!a||at(e,n)||(t.getAttribute("rel")||"").split(/\s+/).includes("external"),o=(e==null?void 0:e.origin)===K&&t.hasAttribute("download");return{url:e,external:r,target:a,download:o}}function W(t){let n=null,e=null,a=null,r=null,o=null,i=null,s=t;for(;s&&s!==document.documentElement;)a===null&&(a=j(s,"preload-code")),r===null&&(r=j(s,"preload-data")),n===null&&(n=j(s,"keepfocus")),e===null&&(e=j(s,"noscroll")),o===null&&(o=j(s,"reload")),i===null&&(i=j(s,"replacestate")),s=zt(s);function c(l){switch(l){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:Tt[a??"off"],preload_data:Tt[r??"off"],keepfocus:c(n),noscroll:c(e),reload:c(o),replace_state:c(i)}}function Ut(t){const n=_t(t);let e=!0;function a(){e=!0,n.update(i=>i)}function r(i){e=!1,n.set(i)}function o(i){let s;return n.subscribe(c=>{(s===void 0||e&&c!==s)&&i(s=c)})}return{notify:a,set:r,subscribe:o}}function xe(){const{set:t,subscribe:n}=_t(!1);let e;async function a(){clearTimeout(e);try{const r=await fetch(`${Pe}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!r.ok)return!1;const i=(await r.json()).version!==Te;return i&&(t(!0),clearTimeout(e)),i}catch{return!1}}return{subscribe:n,check:a}}function at(t,n){return t.origin!==K||!t.pathname.startsWith(n)}const Ne=-1,Oe=-2,je=-3,$e=-4,De=-5,Ce=-6;function Ve(t,n){if(typeof t=="number")return r(t,!0);if(!Array.isArray(t)||t.length===0)throw new Error("Invalid input");const e=t,a=Array(e.length);function r(o,i=!1){if(o===Ne)return;if(o===je)return NaN;if(o===$e)return 1/0;if(o===De)return-1/0;if(o===Ce)return-0;if(i)throw new Error("Invalid input");if(o in a)return a[o];const s=e[o];if(!s||typeof s!="object")a[o]=s;else if(Array.isArray(s))if(typeof s[0]=="string"){const c=s[0],l=n==null?void 0:n[c];if(l)return a[o]=l(r(s[1]));switch(c){case"Date":a[o]=new Date(s[1]);break;case"Set":const u=new Set;a[o]=u;for(let d=1;dn!=null)}class rt{constructor(n,e){this.status=n,typeof e=="string"?this.body={message:e}:e?this.body=e:this.body={message:`Error: ${n}`}}toString(){return JSON.stringify(this.body)}}class Yt{constructor(n,e){this.status=n,this.location=e}}class wt extends Error{constructor(n,e,a){super(a),this.status=n,this.text=e}}const Ge="x-sveltekit-invalidated",Me="x-sveltekit-trailing-slash";function X(t){return t instanceof rt||t instanceof wt?t.status:500}function He(t){return t instanceof wt?t.text:"Internal Error"}const N=Ft(Gt)??{},z=Ft(qt)??{},U={url:Ut({}),page:Ut({}),navigating:_t(null),updated:xe()};function vt(t){N[t]=yt()}function ze(t,n){let e=t+1;for(;N[e];)delete N[e],e+=1;for(e=n+1;z[e];)delete z[e],e+=1}function V(t){return location.href=t.href,new Promise(()=>{})}function xt(){}let ot,pt,Z,T,gt,F;const Jt=[],Q=[];let R=null;const Wt=[],Be=[];let $=[],y={branch:[],error:null,url:null},bt=!1,tt=!1,Nt=!0,B=!1,q=!1,Xt=!1,Et=!1,kt,S,L,I,et;const M=new Set;async function an(t,n,e){var r,o;document.URL!==location.href&&(location.href=location.href),F=t,ot=Le(t),T=document.documentElement,gt=n,pt=t.nodes[0],Z=t.nodes[1],pt(),Z(),S=(r=history.state)==null?void 0:r[D],L=(o=history.state)==null?void 0:o[H],S||(S=L=Date.now(),history.replaceState({...history.state,[D]:S,[H]:L},""));const a=N[S];a&&(history.scrollRestoration="manual",scrollTo(a.x,a.y)),e?await tn(gt,e):Ze(location.href,{replaceState:!0}),Qe()}function Ke(){Jt.length=0,Et=!1}function Zt(t){Q.some(n=>n==null?void 0:n.snapshot)&&(z[t]=Q.map(n=>{var e;return(e=n==null?void 0:n.snapshot)==null?void 0:e.capture()}))}function Qt(t){var n;(n=z[t])==null||n.forEach((e,a)=>{var r,o;(o=(r=Q[a])==null?void 0:r.snapshot)==null||o.restore(e)})}function Ot(){vt(S),Pt(Gt,N),Zt(L),Pt(qt,z)}async function te(t,n,e,a){return Y({type:"goto",url:Ht(t),keepfocus:n.keepFocus,noscroll:n.noScroll,replace_state:n.replaceState,state:n.state,redirect_count:e,nav_token:a,accept:()=>{n.invalidateAll&&(Et=!0)}})}async function Ye(t){if(t.id!==(R==null?void 0:R.id)){const n={};M.add(n),R={id:t.id,token:n,promise:ne({...t,preload:n}).then(e=>(M.delete(n),e.type==="loaded"&&e.state.error&&(R=null),e))}}return R.promise}async function dt(t){const n=ot.find(e=>e.exec(ae(t)));n&&await Promise.all([...n.layouts,n.leaf].map(e=>e==null?void 0:e[1]()))}function ee(t,n,e){var o;y=t.state;const a=document.querySelector("style[data-sveltekit]");a&&a.remove(),I=t.props.page,kt=new F.root({target:n,props:{...t.props,stores:U,components:Q},hydrate:e}),Qt(L);const r={from:null,to:{params:y.params,route:{id:((o=y.route)==null?void 0:o.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};$.forEach(i=>i(r)),tt=!0}async function nt({url:t,params:n,branch:e,status:a,error:r,route:o,form:i}){let s="never";if(P&&(t.pathname===P||t.pathname===P+"/"))s="always";else for(const d of e)(d==null?void 0:d.slash)!==void 0&&(s=d.slash);t.pathname=ue(t.pathname,s),t.search=t.search;const c={type:"loaded",state:{url:t,params:n,branch:e,error:r,route:o},props:{constructors:qe(e).map(d=>d.node.component),page:I}};i!==void 0&&(c.props.form=i);let l={},u=!I,h=0;for(let d=0;d(s&&(c.route=!0),f[m])}),params:new Proxy(a,{get:(f,m)=>(s&&c.params.add(m),f[m])}),data:(o==null?void 0:o.data)??null,url:ge(e,()=>{s&&(c.url=!0)},f=>{s&&c.search_params.add(f)}),async fetch(f,m){let b;f instanceof Request?(b=f.url,m={body:f.method==="GET"||f.method==="HEAD"?void 0:await f.blob(),cache:f.cache,credentials:f.credentials,headers:f.headers,integrity:f.integrity,keepalive:f.keepalive,method:f.method,mode:f.mode,redirect:f.redirect,referrer:f.referrer,referrerPolicy:f.referrerPolicy,signal:f.signal,...m}):b=f;const A=new URL(b,e);return s&&d(A.href),A.origin===e.origin&&(b=A.href.slice(e.origin.length)),tt?Ee(b,A.href,m):be(b,m)},setHeaders:()=>{},depends:d,parent(){return s&&(c.parent=!0),n()},untrack(f){s=!1;try{return f()}finally{s=!0}}};i=await l.universal.load.call(null,_)??null}return{node:l,loader:t,server:o,universal:(h=l.universal)!=null&&h.load?{type:"data",data:i,uses:c}:null,data:i??(o==null?void 0:o.data)??null,slash:((g=l.universal)==null?void 0:g.trailingSlash)??(o==null?void 0:o.slash)}}function jt(t,n,e,a,r,o){if(Et)return!0;if(!r)return!1;if(r.parent&&t||r.route&&n||r.url&&e)return!0;for(const i of r.search_params)if(a.has(i))return!0;for(const i of r.params)if(o[i]!==y.params[i])return!0;for(const i of r.dependencies)if(Jt.some(s=>s(new URL(i))))return!0;return!1}function At(t,n){return(t==null?void 0:t.type)==="data"?t:(t==null?void 0:t.type)==="skip"?n??null:null}function Je(t,n){if(!t)return new Set(n.searchParams.keys());const e=new Set([...t.searchParams.keys(),...n.searchParams.keys()]);for(const a of e){const r=t.searchParams.getAll(a),o=n.searchParams.getAll(a);r.every(i=>o.includes(i))&&o.every(i=>r.includes(i))&&e.delete(a)}return e}function $t({error:t,url:n,route:e,params:a}){return{type:"loaded",state:{error:t,url:n,route:e,params:a,branch:[]},props:{page:I,constructors:[]}}}async function ne({id:t,invalidating:n,url:e,params:a,route:r,preload:o}){if((R==null?void 0:R.id)===t)return M.delete(R.token),R.promise;const{errors:i,layouts:s,leaf:c}=r,l=[...s,c];i.forEach(p=>p==null?void 0:p().catch(()=>{})),l.forEach(p=>p==null?void 0:p[1]().catch(()=>{}));let u=null;const h=y.url?t!==y.url.pathname+y.url.search:!1,g=y.route?r.id!==y.route.id:!1,d=Je(y.url,e);let _=!1;const f=l.map((p,v)=>{var x;const E=y.branch[v],k=!!(p!=null&&p[0])&&((E==null?void 0:E.loader)!==p[1]||jt(_,g,h,d,(x=E.server)==null?void 0:x.uses,a));return k&&(_=!0),k});if(f.some(Boolean)){try{u=await se(e,f)}catch(p){const v=await C(p,{url:e,params:a,route:{id:t}});return M.has(o)?$t({error:v,url:e,params:a,route:r}):st({status:X(p),error:v,url:e,route:r})}if(u.type==="redirect")return u}const m=u==null?void 0:u.nodes;let b=!1;const A=l.map(async(p,v)=>{var it;if(!p)return;const E=y.branch[v],k=m==null?void 0:m[v];if((!k||k.type==="skip")&&p[1]===(E==null?void 0:E.loader)&&!jt(b,g,h,d,(it=E.universal)==null?void 0:it.uses,a))return E;if(b=!0,(k==null?void 0:k.type)==="error")throw k;return St({loader:p[1],url:e,params:a,route:r,parent:async()=>{var Lt;const It={};for(let ct=0;ct{});const w=[];for(let p=0;pPromise.resolve({}),server_data_node:At(o)}),c={node:await Z(),loader:Z,universal:null,server:null,data:null};return await nt({url:e,params:r,branch:[s,c],status:t,error:n,route:null})}function Rt(t,n){if(!t||at(t,P))return;let e;try{e=F.hooks.reroute({url:new URL(t)})??t.pathname}catch{return}const a=ae(e);for(const r of ot){const o=r.exec(a);if(o)return{id:t.pathname+t.search,invalidating:n,route:r,params:he(o),url:t}}}function ae(t){return de(t.slice(P.length)||"/")}function re({url:t,type:n,intent:e,delta:a}){let r=!1;const o=ce(y,e,t,n);a!==void 0&&(o.navigation.delta=a);const i={...o.navigation,cancel:()=>{r=!0,o.reject(new Error("navigation cancelled"))}};return B||Wt.forEach(s=>s(i)),r?null:o}async function Y({type:t,url:n,popped:e,keepfocus:a,noscroll:r,replace_state:o,state:i={},redirect_count:s=0,nav_token:c={},accept:l=xt,block:u=xt}){const h=Rt(n,!1),g=re({url:n,type:t,delta:e==null?void 0:e.delta,intent:h});if(!g){u();return}const d=S,_=L;l(),B=!0,tt&&U.navigating.set(g.navigation),et=c;let f=h&&await ne(h);if(!f){if(at(n,P))return await V(n);f=await oe(n,{id:null},await C(new wt(404,"Not Found",`Not found: ${n.pathname}`),{url:n,params:{},route:{id:null}}),404)}if(n=(h==null?void 0:h.url)||n,et!==c)return g.reject(new Error("navigation aborted")),!1;if(f.type==="redirect")if(s>=20)f=await st({status:500,error:await C(new Error("Redirect loop"),{url:n,params:{},route:{id:null}}),url:n,route:{id:null}});else return te(new URL(f.location,n).href,{},s+1,c),!1;else f.props.page.status>=400&&await U.updated.check()&&await V(n);if(Ke(),vt(d),Zt(_),f.props.page.url.pathname!==n.pathname&&(n.pathname=f.props.page.url.pathname),i=e?e.state:i,!e){const w=o?0:1,p={[D]:S+=w,[H]:L+=w,[Mt]:i};(o?history.replaceState:history.pushState).call(history,p,"",n),o||ze(S,L)}if(R=null,f.props.page.state=i,tt){y=f.state,f.props.page&&(f.props.page.url=n);const w=(await Promise.all(Be.map(p=>p(g.navigation)))).filter(p=>typeof p=="function");if(w.length>0){let p=function(){$=$.filter(v=>!w.includes(v))};w.push(p),$.push(...w)}kt.$set(f.props),Xt=!0}else ee(f,gt,!1);const{activeElement:m}=document;await fe();const b=e?e.scroll:r?yt():null;if(Nt){const w=n.hash&&document.getElementById(decodeURIComponent(n.hash.slice(1)));b?scrollTo(b.x,b.y):w?w.scrollIntoView():scrollTo(0,0)}const A=document.activeElement!==m&&document.activeElement!==document.body;!a&&!A&&en(),Nt=!0,f.props.page&&(I=f.props.page),B=!1,t==="popstate"&&Qt(L),g.fulfil(void 0),$.forEach(w=>w(g.navigation)),U.navigating.set(null)}async function oe(t,n,e,a){return t.origin===K&&t.pathname===location.pathname&&!bt?await st({status:a,error:e,url:t,route:n}):await V(t)}function Xe(){let t;T.addEventListener("mousemove",o=>{const i=o.target;clearTimeout(t),t=setTimeout(()=>{a(i,2)},20)});function n(o){a(o.composedPath()[0],1)}T.addEventListener("mousedown",n),T.addEventListener("touchstart",n,{passive:!0});const e=new IntersectionObserver(o=>{for(const i of o)i.isIntersecting&&(dt(i.target.href),e.unobserve(i.target))},{threshold:0});function a(o,i){const s=Bt(o,T);if(!s)return;const{url:c,external:l,download:u}=ht(s,P);if(l||u)return;const h=W(s);if(!h.reload)if(i<=h.preload_data){const g=Rt(c,!1);g&&Ye(g)}else i<=h.preload_code&&dt(c.pathname)}function r(){e.disconnect();for(const o of T.querySelectorAll("a")){const{url:i,external:s,download:c}=ht(o,P);if(s||c)continue;const l=W(o);l.reload||(l.preload_code===J.viewport&&e.observe(o),l.preload_code===J.eager&&dt(i.pathname))}}$.push(r),r()}function C(t,n){if(t instanceof rt)return t.body;const e=X(t),a=He(t);return F.hooks.handleError({error:t,event:n,status:e,message:a})??{message:a}}function Ze(t,n={}){return t=Ht(t),t.origin!==K?Promise.reject(new Error("goto: invalid URL")):te(t,n,0)}function Qe(){var n;history.scrollRestoration="manual",addEventListener("beforeunload",e=>{let a=!1;if(Ot(),!B){const r=ce(y,void 0,null,"leave"),o={...r.navigation,cancel:()=>{a=!0,r.reject(new Error("navigation cancelled"))}};Wt.forEach(i=>i(o))}a?(e.preventDefault(),e.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Ot()}),(n=navigator.connection)!=null&&n.saveData||Xe(),T.addEventListener("click",e=>{var g;if(e.button||e.which!==1||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.defaultPrevented)return;const a=Bt(e.composedPath()[0],T);if(!a)return;const{url:r,external:o,target:i,download:s}=ht(a,P);if(!r)return;if(i==="_parent"||i==="_top"){if(window.parent!==window)return}else if(i&&i!=="_self")return;const c=W(a);if(!(a instanceof SVGAElement)&&r.protocol!==location.protocol&&!(r.protocol==="https:"||r.protocol==="http:")||s)return;if(o||c.reload){re({url:r,type:"link"})?B=!0:e.preventDefault();return}const[u,h]=r.href.split("#");if(h!==void 0&&u===ft(location)){const[,d]=y.url.href.split("#");if(d===h){e.preventDefault(),h===""||h==="top"&&a.ownerDocument.getElementById("top")===null?window.scrollTo({top:0}):(g=a.ownerDocument.getElementById(h))==null||g.scrollIntoView();return}if(q=!0,vt(S),t(r),!c.replace_state)return;q=!1}e.preventDefault(),Y({type:"link",url:r,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??r.href===location.href})}),T.addEventListener("submit",e=>{if(e.defaultPrevented)return;const a=HTMLFormElement.prototype.cloneNode.call(e.target),r=e.submitter;if(((r==null?void 0:r.formMethod)||a.method)!=="get")return;const i=new URL((r==null?void 0:r.hasAttribute("formaction"))&&(r==null?void 0:r.formAction)||a.action);if(at(i,P))return;const s=e.target,c=W(s);if(c.reload)return;e.preventDefault(),e.stopPropagation();const l=new FormData(s),u=r==null?void 0:r.getAttribute("name");u&&l.append(u,(r==null?void 0:r.getAttribute("value"))??""),i.search=new URLSearchParams(l).toString(),Y({type:"form",url:i,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??i.href===location.href})}),addEventListener("popstate",async e=>{var a;if((a=e.state)!=null&&a[D]){const r=e.state[D];if(et={},r===S)return;const o=N[r],i=e.state[Mt]??{},s=new URL(e.state[Ue]??location.href),c=e.state[H],l=ft(location)===ft(y.url);if(c===L&&(Xt||l)){t(s),N[S]=yt(),o&&scrollTo(o.x,o.y),i!==I.state&&(I={...I,state:i},kt.$set({page:I})),S=r;return}const h=r-S;await Y({type:"popstate",url:s,popped:{state:i,scroll:o,delta:h},accept:()=>{S=r,L=c},block:()=>{history.go(-h)},nav_token:et})}else if(!q){const r=new URL(location.href);t(r)}}),addEventListener("hashchange",()=>{q&&(q=!1,history.replaceState({...history.state,[D]:++S,[H]:L},"",location.href))});for(const e of document.querySelectorAll("link"))e.rel==="icon"&&(e.href=e.href);addEventListener("pageshow",e=>{e.persisted&&U.navigating.set(null)});function t(e){y.url=e,U.page.set({...I,url:e}),U.page.notify()}}async function tn(t,{status:n=200,error:e,node_ids:a,params:r,route:o,data:i,form:s}){bt=!0;const c=new URL(location.href);({params:r={},route:o={id:null}}=Rt(c,!1)||{});let l;try{const u=a.map(async(d,_)=>{const f=i[_];return f!=null&&f.uses&&(f.uses=ie(f.uses)),St({loader:F.nodes[d],url:c,params:r,route:o,parent:async()=>{const m={};for(let b=0;b<_;b+=1)Object.assign(m,(await u[b]).data);return m},server_data_node:At(f)})}),h=await Promise.all(u),g=ot.find(({id:d})=>d===o.id);if(g){const d=g.layouts;for(let _=0;_o?"1":"0").join(""));const a=await Vt(e.href);if(!a.ok){let o;throw(r=a.headers.get("content-type"))!=null&&r.includes("application/json")?o=await a.json():a.status===404?o="Not Found":a.status===500&&(o="Internal Error"),new rt(a.status,o)}return new Promise(async o=>{var h;const i=new Map,s=a.body.getReader(),c=new TextDecoder;function l(g){return Ve(g,{Promise:d=>new Promise((_,f)=>{i.set(d,{fulfil:_,reject:f})})})}let u="";for(;;){const{done:g,value:d}=await s.read();if(g&&!u)break;for(u+=!d&&u?` -`:c.decode(d,{stream:!0});;){const _=u.indexOf(` -`);if(_===-1)break;const f=JSON.parse(u.slice(0,_));if(u=u.slice(_+1),f.type==="redirect")return o(f);if(f.type==="data")(h=f.nodes)==null||h.forEach(m=>{(m==null?void 0:m.type)==="data"&&(m.uses=ie(m.uses),m.data=l(m.data))}),o(f);else if(f.type==="chunk"){const{id:m,data:b,error:A}=f,w=i.get(m);i.delete(m),A?w.reject(l(A)):w.fulfil(l(b))}}}})}function ie(t){return{dependencies:new Set((t==null?void 0:t.dependencies)??[]),params:new Set((t==null?void 0:t.params)??[]),parent:!!(t!=null&&t.parent),route:!!(t!=null&&t.route),url:!!(t!=null&&t.url),search_params:new Set((t==null?void 0:t.search_params)??[])}}function en(){const t=document.querySelector("[autofocus]");if(t)t.focus();else{const n=document.body,e=n.getAttribute("tabindex");n.tabIndex=-1,n.focus({preventScroll:!0,focusVisible:!1}),e!==null?n.setAttribute("tabindex",e):n.removeAttribute("tabindex");const a=getSelection();if(a&&a.type!=="None"){const r=[];for(let o=0;o{if(a.rangeCount===r.length){for(let o=0;o{r=u,o=h});return i.catch(()=>{}),{navigation:{from:{params:t.params,route:{id:((c=t.route)==null?void 0:c.id)??null},url:t.url},to:e&&{params:(n==null?void 0:n.params)??null,route:{id:((l=n==null?void 0:n.route)==null?void 0:l.id)??null},url:e},willUnload:!n,type:a,complete:i},fulfil:r,reject:o}}export{an as a,U as s}; diff --git a/docs/_app/immutable/chunks/entry.k3Z5ma43.js b/docs/_app/immutable/chunks/entry.k3Z5ma43.js new file mode 100644 index 0000000..b7e2feb --- /dev/null +++ b/docs/_app/immutable/chunks/entry.k3Z5ma43.js @@ -0,0 +1,3 @@ +import{n as lt,s as le,v as fe}from"./scheduler.8B3IDZxh.js";new URL("sveltekit-internal://");function ue(t,n){return t==="/"||n==="ignore"?t:n==="never"?t.endsWith("/")?t.slice(0,-1):t:n==="always"&&!t.endsWith("/")?t+"/":t}function de(t){return t.split("%25").map(decodeURI).join("%25")}function he(t){for(const n in t)t[n]=decodeURIComponent(t[n]);return t}function ft({href:t}){return t.split("#")[0]}const pe=["href","pathname","search","toString","toJSON"];function ge(t,n,e){const a=new URL(t);Object.defineProperty(a,"searchParams",{value:new Proxy(a.searchParams,{get(r,o){if(o==="get"||o==="getAll"||o==="has")return s=>(e(s),r[o](s));n();const i=Reflect.get(r,o);return typeof i=="function"?i.bind(r):i}}),enumerable:!0,configurable:!0});for(const r of pe)Object.defineProperty(a,r,{get(){return n(),t[r]},enumerable:!0,configurable:!0});return a}const me="/__data.json",_e=".html__data.json";function ye(t){return t.endsWith(".html")?t.replace(/\.html$/,_e):t.replace(/\/$/,"")+me}function we(...t){let n=5381;for(const e of t)if(typeof e=="string"){let a=e.length;for(;a;)n=n*33^e.charCodeAt(--a)}else if(ArrayBuffer.isView(e)){const a=new Uint8Array(e.buffer,e.byteOffset,e.byteLength);let r=a.length;for(;r;)n=n*33^a[--r]}else throw new TypeError("value must be a string or TypedArray");return(n>>>0).toString(36)}function ve(t){const n=atob(t),e=new Uint8Array(n.length);for(let a=0;a((t instanceof Request?t.method:(n==null?void 0:n.method)||"GET")!=="GET"&&G.delete(mt(t)),Vt(t,n));const G=new Map;function be(t,n){const e=mt(t,n),a=document.querySelector(e);if(a!=null&&a.textContent){let{body:r,...o}=JSON.parse(a.textContent);const i=a.getAttribute("data-ttl");return i&&G.set(e,{body:r,init:o,ttl:1e3*Number(i)}),a.getAttribute("data-b64")!==null&&(r=ve(r)),Promise.resolve(new Response(r,o))}return window.fetch(t,n)}function Ee(t,n,e){if(G.size>0){const a=mt(t,e),r=G.get(a);if(r){if(performance.now(){const r=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(a);if(r)return n.push({name:r[1],matcher:r[2],optional:!1,rest:!0,chained:!0}),"(?:/(.*))?";const o=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(a);if(o)return n.push({name:o[1],matcher:o[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!a)return;const i=a.split(/\[(.+?)\](?!\])/);return"/"+i.map((c,l)=>{if(l%2){if(c.startsWith("x+"))return ut(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return ut(String.fromCharCode(...c.slice(2).split("-").map(f=>parseInt(f,16))));const u=ke.exec(c),[,h,g,d,_]=u;return n.push({name:d,matcher:_,optional:!!h,rest:!!g,chained:g?l===1&&i[0]==="":!1}),g?"(.*?)":h?"([^/]*)?":"([^/]+?)"}return ut(c)}).join("")}).join("")}/?$`),params:n}}function Ae(t){return!/^\([^)]+\)$/.test(t)}function Re(t){return t.slice(1).split("/").filter(Ae)}function Ie(t,n,e){const a={},r=t.slice(1),o=r.filter(s=>s!==void 0);let i=0;for(let s=0;su).join("/"),i=0),l===void 0){c.rest&&(a[c.name]="");continue}if(!c.matcher||e[c.matcher](l)){a[c.name]=l;const u=n[s+1],h=r[s+1];u&&!u.rest&&u.optional&&h&&c.chained&&(i=0),!u&&!h&&Object.keys(a).length===o.length&&(i=0);continue}if(c.optional&&c.chained){i++;continue}return}if(!i)return a}function ut(t){return t.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function Le({nodes:t,server_loads:n,dictionary:e,matchers:a}){const r=new Set(n);return Object.entries(e).map(([s,[c,l,u]])=>{const{pattern:h,params:g}=Se(s),d={id:s,exec:_=>{const f=h.exec(_);if(f)return Ie(f,g,a)},errors:[1,...u||[]].map(_=>t[_]),layouts:[0,...l||[]].map(i),leaf:o(c)};return d.errors.length=d.layouts.length=Math.max(d.errors.length,d.layouts.length),d});function o(s){const c=s<0;return c&&(s=~s),[c,t[s]]}function i(s){return s===void 0?s:[r.has(s),t[s]]}}function Ft(t,n=JSON.parse){try{return n(sessionStorage[t])}catch{}}function Pt(t,n,e=JSON.stringify){const a=e(n);try{sessionStorage[t]=a}catch{}}const O=[];function _t(t,n=lt){let e;const a=new Set;function r(s){if(le(t,s)&&(t=s,e)){const c=!O.length;for(const l of a)l[1](),O.push(l,t);if(c){for(let l=0;l{a.delete(l),a.size===0&&e&&(e(),e=null)}}return{set:r,update:o,subscribe:i}}var Dt;const P=((Dt=globalThis.__sveltekit_12h2ifz)==null?void 0:Dt.base)??"/essential-spaces";var Ct;const Pe=((Ct=globalThis.__sveltekit_12h2ifz)==null?void 0:Ct.assets)??P,Te="1728666575632",qt="sveltekit:snapshot",Gt="sveltekit:scroll",Mt="sveltekit:states",Ue="sveltekit:pageurl",D="sveltekit:history",z="sveltekit:navigation",J={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},K=location.origin;function zt(t){if(t instanceof URL)return t;let n=document.baseURI;if(!n){const e=document.getElementsByTagName("base");n=e.length?e[0].href:document.URL}return new URL(t,n)}function yt(){return{x:pageXOffset,y:pageYOffset}}function j(t,n){return t.getAttribute(`data-sveltekit-${n}`)}const Tt={...J,"":J.hover};function Ht(t){let n=t.assignedSlot??t.parentNode;return(n==null?void 0:n.nodeType)===11&&(n=n.host),n}function Bt(t,n){for(;t&&t!==n;){if(t.nodeName.toUpperCase()==="A"&&t.hasAttribute("href"))return t;t=Ht(t)}}function ht(t,n){let e;try{e=new URL(t instanceof SVGAElement?t.href.baseVal:t.href,document.baseURI)}catch{}const a=t instanceof SVGAElement?t.target.baseVal:t.target,r=!e||!!a||at(e,n)||(t.getAttribute("rel")||"").split(/\s+/).includes("external"),o=(e==null?void 0:e.origin)===K&&t.hasAttribute("download");return{url:e,external:r,target:a,download:o}}function W(t){let n=null,e=null,a=null,r=null,o=null,i=null,s=t;for(;s&&s!==document.documentElement;)a===null&&(a=j(s,"preload-code")),r===null&&(r=j(s,"preload-data")),n===null&&(n=j(s,"keepfocus")),e===null&&(e=j(s,"noscroll")),o===null&&(o=j(s,"reload")),i===null&&(i=j(s,"replacestate")),s=Ht(s);function c(l){switch(l){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:Tt[a??"off"],preload_data:Tt[r??"off"],keepfocus:c(n),noscroll:c(e),reload:c(o),replace_state:c(i)}}function Ut(t){const n=_t(t);let e=!0;function a(){e=!0,n.update(i=>i)}function r(i){e=!1,n.set(i)}function o(i){let s;return n.subscribe(c=>{(s===void 0||e&&c!==s)&&i(s=c)})}return{notify:a,set:r,subscribe:o}}function xe(){const{set:t,subscribe:n}=_t(!1);let e;async function a(){clearTimeout(e);try{const r=await fetch(`${Pe}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!r.ok)return!1;const i=(await r.json()).version!==Te;return i&&(t(!0),clearTimeout(e)),i}catch{return!1}}return{subscribe:n,check:a}}function at(t,n){return t.origin!==K||!t.pathname.startsWith(n)}const Ne=-1,Oe=-2,je=-3,$e=-4,De=-5,Ce=-6;function Ve(t,n){if(typeof t=="number")return r(t,!0);if(!Array.isArray(t)||t.length===0)throw new Error("Invalid input");const e=t,a=Array(e.length);function r(o,i=!1){if(o===Ne)return;if(o===je)return NaN;if(o===$e)return 1/0;if(o===De)return-1/0;if(o===Ce)return-0;if(i)throw new Error("Invalid input");if(o in a)return a[o];const s=e[o];if(!s||typeof s!="object")a[o]=s;else if(Array.isArray(s))if(typeof s[0]=="string"){const c=s[0],l=n==null?void 0:n[c];if(l)return a[o]=l(r(s[1]));switch(c){case"Date":a[o]=new Date(s[1]);break;case"Set":const u=new Set;a[o]=u;for(let d=1;dn!=null)}class rt{constructor(n,e){this.status=n,typeof e=="string"?this.body={message:e}:e?this.body=e:this.body={message:`Error: ${n}`}}toString(){return JSON.stringify(this.body)}}class Yt{constructor(n,e){this.status=n,this.location=e}}class wt extends Error{constructor(n,e,a){super(a),this.status=n,this.text=e}}const Ge="x-sveltekit-invalidated",Me="x-sveltekit-trailing-slash";function X(t){return t instanceof rt||t instanceof wt?t.status:500}function ze(t){return t instanceof wt?t.text:"Internal Error"}const N=Ft(Gt)??{},H=Ft(qt)??{},U={url:Ut({}),page:Ut({}),navigating:_t(null),updated:xe()};function vt(t){N[t]=yt()}function He(t,n){let e=t+1;for(;N[e];)delete N[e],e+=1;for(e=n+1;H[e];)delete H[e],e+=1}function V(t){return location.href=t.href,new Promise(()=>{})}function xt(){}let ot,pt,Z,T,gt,F;const Jt=[],Q=[];let R=null;const Wt=[],Be=[];let $=[],y={branch:[],error:null,url:null},bt=!1,tt=!1,Nt=!0,B=!1,q=!1,Xt=!1,Et=!1,kt,S,L,I,et;const M=new Set;async function an(t,n,e){var r,o;document.URL!==location.href&&(location.href=location.href),F=t,ot=Le(t),T=document.documentElement,gt=n,pt=t.nodes[0],Z=t.nodes[1],pt(),Z(),S=(r=history.state)==null?void 0:r[D],L=(o=history.state)==null?void 0:o[z],S||(S=L=Date.now(),history.replaceState({...history.state,[D]:S,[z]:L},""));const a=N[S];a&&(history.scrollRestoration="manual",scrollTo(a.x,a.y)),e?await tn(gt,e):Ze(location.href,{replaceState:!0}),Qe()}function Ke(){Jt.length=0,Et=!1}function Zt(t){Q.some(n=>n==null?void 0:n.snapshot)&&(H[t]=Q.map(n=>{var e;return(e=n==null?void 0:n.snapshot)==null?void 0:e.capture()}))}function Qt(t){var n;(n=H[t])==null||n.forEach((e,a)=>{var r,o;(o=(r=Q[a])==null?void 0:r.snapshot)==null||o.restore(e)})}function Ot(){vt(S),Pt(Gt,N),Zt(L),Pt(qt,H)}async function te(t,n,e,a){return Y({type:"goto",url:zt(t),keepfocus:n.keepFocus,noscroll:n.noScroll,replace_state:n.replaceState,state:n.state,redirect_count:e,nav_token:a,accept:()=>{n.invalidateAll&&(Et=!0)}})}async function Ye(t){if(t.id!==(R==null?void 0:R.id)){const n={};M.add(n),R={id:t.id,token:n,promise:ne({...t,preload:n}).then(e=>(M.delete(n),e.type==="loaded"&&e.state.error&&(R=null),e))}}return R.promise}async function dt(t){const n=ot.find(e=>e.exec(ae(t)));n&&await Promise.all([...n.layouts,n.leaf].map(e=>e==null?void 0:e[1]()))}function ee(t,n,e){var o;y=t.state;const a=document.querySelector("style[data-sveltekit]");a&&a.remove(),I=t.props.page,kt=new F.root({target:n,props:{...t.props,stores:U,components:Q},hydrate:e}),Qt(L);const r={from:null,to:{params:y.params,route:{id:((o=y.route)==null?void 0:o.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};$.forEach(i=>i(r)),tt=!0}async function nt({url:t,params:n,branch:e,status:a,error:r,route:o,form:i}){let s="never";if(P&&(t.pathname===P||t.pathname===P+"/"))s="always";else for(const d of e)(d==null?void 0:d.slash)!==void 0&&(s=d.slash);t.pathname=ue(t.pathname,s),t.search=t.search;const c={type:"loaded",state:{url:t,params:n,branch:e,error:r,route:o},props:{constructors:qe(e).map(d=>d.node.component),page:I}};i!==void 0&&(c.props.form=i);let l={},u=!I,h=0;for(let d=0;d(s&&(c.route=!0),f[m])}),params:new Proxy(a,{get:(f,m)=>(s&&c.params.add(m),f[m])}),data:(o==null?void 0:o.data)??null,url:ge(e,()=>{s&&(c.url=!0)},f=>{s&&c.search_params.add(f)}),async fetch(f,m){let b;f instanceof Request?(b=f.url,m={body:f.method==="GET"||f.method==="HEAD"?void 0:await f.blob(),cache:f.cache,credentials:f.credentials,headers:f.headers,integrity:f.integrity,keepalive:f.keepalive,method:f.method,mode:f.mode,redirect:f.redirect,referrer:f.referrer,referrerPolicy:f.referrerPolicy,signal:f.signal,...m}):b=f;const A=new URL(b,e);return s&&d(A.href),A.origin===e.origin&&(b=A.href.slice(e.origin.length)),tt?Ee(b,A.href,m):be(b,m)},setHeaders:()=>{},depends:d,parent(){return s&&(c.parent=!0),n()},untrack(f){s=!1;try{return f()}finally{s=!0}}};i=await l.universal.load.call(null,_)??null}return{node:l,loader:t,server:o,universal:(h=l.universal)!=null&&h.load?{type:"data",data:i,uses:c}:null,data:i??(o==null?void 0:o.data)??null,slash:((g=l.universal)==null?void 0:g.trailingSlash)??(o==null?void 0:o.slash)}}function jt(t,n,e,a,r,o){if(Et)return!0;if(!r)return!1;if(r.parent&&t||r.route&&n||r.url&&e)return!0;for(const i of r.search_params)if(a.has(i))return!0;for(const i of r.params)if(o[i]!==y.params[i])return!0;for(const i of r.dependencies)if(Jt.some(s=>s(new URL(i))))return!0;return!1}function At(t,n){return(t==null?void 0:t.type)==="data"?t:(t==null?void 0:t.type)==="skip"?n??null:null}function Je(t,n){if(!t)return new Set(n.searchParams.keys());const e=new Set([...t.searchParams.keys(),...n.searchParams.keys()]);for(const a of e){const r=t.searchParams.getAll(a),o=n.searchParams.getAll(a);r.every(i=>o.includes(i))&&o.every(i=>r.includes(i))&&e.delete(a)}return e}function $t({error:t,url:n,route:e,params:a}){return{type:"loaded",state:{error:t,url:n,route:e,params:a,branch:[]},props:{page:I,constructors:[]}}}async function ne({id:t,invalidating:n,url:e,params:a,route:r,preload:o}){if((R==null?void 0:R.id)===t)return M.delete(R.token),R.promise;const{errors:i,layouts:s,leaf:c}=r,l=[...s,c];i.forEach(p=>p==null?void 0:p().catch(()=>{})),l.forEach(p=>p==null?void 0:p[1]().catch(()=>{}));let u=null;const h=y.url?t!==y.url.pathname+y.url.search:!1,g=y.route?r.id!==y.route.id:!1,d=Je(y.url,e);let _=!1;const f=l.map((p,v)=>{var x;const E=y.branch[v],k=!!(p!=null&&p[0])&&((E==null?void 0:E.loader)!==p[1]||jt(_,g,h,d,(x=E.server)==null?void 0:x.uses,a));return k&&(_=!0),k});if(f.some(Boolean)){try{u=await se(e,f)}catch(p){const v=await C(p,{url:e,params:a,route:{id:t}});return M.has(o)?$t({error:v,url:e,params:a,route:r}):st({status:X(p),error:v,url:e,route:r})}if(u.type==="redirect")return u}const m=u==null?void 0:u.nodes;let b=!1;const A=l.map(async(p,v)=>{var it;if(!p)return;const E=y.branch[v],k=m==null?void 0:m[v];if((!k||k.type==="skip")&&p[1]===(E==null?void 0:E.loader)&&!jt(b,g,h,d,(it=E.universal)==null?void 0:it.uses,a))return E;if(b=!0,(k==null?void 0:k.type)==="error")throw k;return St({loader:p[1],url:e,params:a,route:r,parent:async()=>{var Lt;const It={};for(let ct=0;ct{});const w=[];for(let p=0;pPromise.resolve({}),server_data_node:At(o)}),c={node:await Z(),loader:Z,universal:null,server:null,data:null};return await nt({url:e,params:r,branch:[s,c],status:t,error:n,route:null})}function Rt(t,n){if(!t||at(t,P))return;let e;try{e=F.hooks.reroute({url:new URL(t)})??t.pathname}catch{return}const a=ae(e);for(const r of ot){const o=r.exec(a);if(o)return{id:t.pathname+t.search,invalidating:n,route:r,params:he(o),url:t}}}function ae(t){return de(t.slice(P.length)||"/")}function re({url:t,type:n,intent:e,delta:a}){let r=!1;const o=ce(y,e,t,n);a!==void 0&&(o.navigation.delta=a);const i={...o.navigation,cancel:()=>{r=!0,o.reject(new Error("navigation cancelled"))}};return B||Wt.forEach(s=>s(i)),r?null:o}async function Y({type:t,url:n,popped:e,keepfocus:a,noscroll:r,replace_state:o,state:i={},redirect_count:s=0,nav_token:c={},accept:l=xt,block:u=xt}){const h=Rt(n,!1),g=re({url:n,type:t,delta:e==null?void 0:e.delta,intent:h});if(!g){u();return}const d=S,_=L;l(),B=!0,tt&&U.navigating.set(g.navigation),et=c;let f=h&&await ne(h);if(!f){if(at(n,P))return await V(n);f=await oe(n,{id:null},await C(new wt(404,"Not Found",`Not found: ${n.pathname}`),{url:n,params:{},route:{id:null}}),404)}if(n=(h==null?void 0:h.url)||n,et!==c)return g.reject(new Error("navigation aborted")),!1;if(f.type==="redirect")if(s>=20)f=await st({status:500,error:await C(new Error("Redirect loop"),{url:n,params:{},route:{id:null}}),url:n,route:{id:null}});else return te(new URL(f.location,n).href,{},s+1,c),!1;else f.props.page.status>=400&&await U.updated.check()&&await V(n);if(Ke(),vt(d),Zt(_),f.props.page.url.pathname!==n.pathname&&(n.pathname=f.props.page.url.pathname),i=e?e.state:i,!e){const w=o?0:1,p={[D]:S+=w,[z]:L+=w,[Mt]:i};(o?history.replaceState:history.pushState).call(history,p,"",n),o||He(S,L)}if(R=null,f.props.page.state=i,tt){y=f.state,f.props.page&&(f.props.page.url=n);const w=(await Promise.all(Be.map(p=>p(g.navigation)))).filter(p=>typeof p=="function");if(w.length>0){let p=function(){$=$.filter(v=>!w.includes(v))};w.push(p),$.push(...w)}kt.$set(f.props),Xt=!0}else ee(f,gt,!1);const{activeElement:m}=document;await fe();const b=e?e.scroll:r?yt():null;if(Nt){const w=n.hash&&document.getElementById(decodeURIComponent(n.hash.slice(1)));b?scrollTo(b.x,b.y):w?w.scrollIntoView():scrollTo(0,0)}const A=document.activeElement!==m&&document.activeElement!==document.body;!a&&!A&&en(),Nt=!0,f.props.page&&(I=f.props.page),B=!1,t==="popstate"&&Qt(L),g.fulfil(void 0),$.forEach(w=>w(g.navigation)),U.navigating.set(null)}async function oe(t,n,e,a){return t.origin===K&&t.pathname===location.pathname&&!bt?await st({status:a,error:e,url:t,route:n}):await V(t)}function Xe(){let t;T.addEventListener("mousemove",o=>{const i=o.target;clearTimeout(t),t=setTimeout(()=>{a(i,2)},20)});function n(o){a(o.composedPath()[0],1)}T.addEventListener("mousedown",n),T.addEventListener("touchstart",n,{passive:!0});const e=new IntersectionObserver(o=>{for(const i of o)i.isIntersecting&&(dt(i.target.href),e.unobserve(i.target))},{threshold:0});function a(o,i){const s=Bt(o,T);if(!s)return;const{url:c,external:l,download:u}=ht(s,P);if(l||u)return;const h=W(s);if(!h.reload)if(i<=h.preload_data){const g=Rt(c,!1);g&&Ye(g)}else i<=h.preload_code&&dt(c.pathname)}function r(){e.disconnect();for(const o of T.querySelectorAll("a")){const{url:i,external:s,download:c}=ht(o,P);if(s||c)continue;const l=W(o);l.reload||(l.preload_code===J.viewport&&e.observe(o),l.preload_code===J.eager&&dt(i.pathname))}}$.push(r),r()}function C(t,n){if(t instanceof rt)return t.body;const e=X(t),a=ze(t);return F.hooks.handleError({error:t,event:n,status:e,message:a})??{message:a}}function Ze(t,n={}){return t=zt(t),t.origin!==K?Promise.reject(new Error("goto: invalid URL")):te(t,n,0)}function Qe(){var n;history.scrollRestoration="manual",addEventListener("beforeunload",e=>{let a=!1;if(Ot(),!B){const r=ce(y,void 0,null,"leave"),o={...r.navigation,cancel:()=>{a=!0,r.reject(new Error("navigation cancelled"))}};Wt.forEach(i=>i(o))}a?(e.preventDefault(),e.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Ot()}),(n=navigator.connection)!=null&&n.saveData||Xe(),T.addEventListener("click",e=>{var g;if(e.button||e.which!==1||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.defaultPrevented)return;const a=Bt(e.composedPath()[0],T);if(!a)return;const{url:r,external:o,target:i,download:s}=ht(a,P);if(!r)return;if(i==="_parent"||i==="_top"){if(window.parent!==window)return}else if(i&&i!=="_self")return;const c=W(a);if(!(a instanceof SVGAElement)&&r.protocol!==location.protocol&&!(r.protocol==="https:"||r.protocol==="http:")||s)return;if(o||c.reload){re({url:r,type:"link"})?B=!0:e.preventDefault();return}const[u,h]=r.href.split("#");if(h!==void 0&&u===ft(location)){const[,d]=y.url.href.split("#");if(d===h){e.preventDefault(),h===""||h==="top"&&a.ownerDocument.getElementById("top")===null?window.scrollTo({top:0}):(g=a.ownerDocument.getElementById(h))==null||g.scrollIntoView();return}if(q=!0,vt(S),t(r),!c.replace_state)return;q=!1}e.preventDefault(),Y({type:"link",url:r,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??r.href===location.href})}),T.addEventListener("submit",e=>{if(e.defaultPrevented)return;const a=HTMLFormElement.prototype.cloneNode.call(e.target),r=e.submitter;if(((r==null?void 0:r.formMethod)||a.method)!=="get")return;const i=new URL((r==null?void 0:r.hasAttribute("formaction"))&&(r==null?void 0:r.formAction)||a.action);if(at(i,P))return;const s=e.target,c=W(s);if(c.reload)return;e.preventDefault(),e.stopPropagation();const l=new FormData(s),u=r==null?void 0:r.getAttribute("name");u&&l.append(u,(r==null?void 0:r.getAttribute("value"))??""),i.search=new URLSearchParams(l).toString(),Y({type:"form",url:i,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??i.href===location.href})}),addEventListener("popstate",async e=>{var a;if((a=e.state)!=null&&a[D]){const r=e.state[D];if(et={},r===S)return;const o=N[r],i=e.state[Mt]??{},s=new URL(e.state[Ue]??location.href),c=e.state[z],l=ft(location)===ft(y.url);if(c===L&&(Xt||l)){t(s),N[S]=yt(),o&&scrollTo(o.x,o.y),i!==I.state&&(I={...I,state:i},kt.$set({page:I})),S=r;return}const h=r-S;await Y({type:"popstate",url:s,popped:{state:i,scroll:o,delta:h},accept:()=>{S=r,L=c},block:()=>{history.go(-h)},nav_token:et})}else if(!q){const r=new URL(location.href);t(r)}}),addEventListener("hashchange",()=>{q&&(q=!1,history.replaceState({...history.state,[D]:++S,[z]:L},"",location.href))});for(const e of document.querySelectorAll("link"))e.rel==="icon"&&(e.href=e.href);addEventListener("pageshow",e=>{e.persisted&&U.navigating.set(null)});function t(e){y.url=e,U.page.set({...I,url:e}),U.page.notify()}}async function tn(t,{status:n=200,error:e,node_ids:a,params:r,route:o,data:i,form:s}){bt=!0;const c=new URL(location.href);({params:r={},route:o={id:null}}=Rt(c,!1)||{});let l;try{const u=a.map(async(d,_)=>{const f=i[_];return f!=null&&f.uses&&(f.uses=ie(f.uses)),St({loader:F.nodes[d],url:c,params:r,route:o,parent:async()=>{const m={};for(let b=0;b<_;b+=1)Object.assign(m,(await u[b]).data);return m},server_data_node:At(f)})}),h=await Promise.all(u),g=ot.find(({id:d})=>d===o.id);if(g){const d=g.layouts;for(let _=0;_o?"1":"0").join(""));const a=await Vt(e.href);if(!a.ok){let o;throw(r=a.headers.get("content-type"))!=null&&r.includes("application/json")?o=await a.json():a.status===404?o="Not Found":a.status===500&&(o="Internal Error"),new rt(a.status,o)}return new Promise(async o=>{var h;const i=new Map,s=a.body.getReader(),c=new TextDecoder;function l(g){return Ve(g,{Promise:d=>new Promise((_,f)=>{i.set(d,{fulfil:_,reject:f})})})}let u="";for(;;){const{done:g,value:d}=await s.read();if(g&&!u)break;for(u+=!d&&u?` +`:c.decode(d,{stream:!0});;){const _=u.indexOf(` +`);if(_===-1)break;const f=JSON.parse(u.slice(0,_));if(u=u.slice(_+1),f.type==="redirect")return o(f);if(f.type==="data")(h=f.nodes)==null||h.forEach(m=>{(m==null?void 0:m.type)==="data"&&(m.uses=ie(m.uses),m.data=l(m.data))}),o(f);else if(f.type==="chunk"){const{id:m,data:b,error:A}=f,w=i.get(m);i.delete(m),A?w.reject(l(A)):w.fulfil(l(b))}}}})}function ie(t){return{dependencies:new Set((t==null?void 0:t.dependencies)??[]),params:new Set((t==null?void 0:t.params)??[]),parent:!!(t!=null&&t.parent),route:!!(t!=null&&t.route),url:!!(t!=null&&t.url),search_params:new Set((t==null?void 0:t.search_params)??[])}}function en(){const t=document.querySelector("[autofocus]");if(t)t.focus();else{const n=document.body,e=n.getAttribute("tabindex");n.tabIndex=-1,n.focus({preventScroll:!0,focusVisible:!1}),e!==null?n.setAttribute("tabindex",e):n.removeAttribute("tabindex");const a=getSelection();if(a&&a.type!=="None"){const r=[];for(let o=0;o{if(a.rangeCount===r.length){for(let o=0;o{r=u,o=h});return i.catch(()=>{}),{navigation:{from:{params:t.params,route:{id:((c=t.route)==null?void 0:c.id)??null},url:t.url},to:e&&{params:(n==null?void 0:n.params)??null,route:{id:((l=n==null?void 0:n.route)==null?void 0:l.id)??null},url:e},willUnload:!n,type:a,complete:i},fulfil:r,reject:o}}export{an as a,U as s}; diff --git a/docs/_app/immutable/chunks/index.DWPsA_mN.js b/docs/_app/immutable/chunks/index.DWPsA_mN.js deleted file mode 100644 index 0898ed1..0000000 --- a/docs/_app/immutable/chunks/index.DWPsA_mN.js +++ /dev/null @@ -1 +0,0 @@ -var E=Object.defineProperty;var C=(t,e,n)=>e in t?E(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var _=(t,e,n)=>(C(t,typeof e!="symbol"?e+"":e,n),n);import{A as $,n as c,B as p,f as I,i as b,C as B,D as v,E as L,F as x,G as M,H as N,I as w,J as O,K as j,L as A,M as D,N as F}from"./scheduler.CA2Mf2KT.js";const u=new Set;let f;function V(){f={r:0,c:[],p:f}}function z(){f.r||$(f.c),f=f.p}function G(t,e){t&&t.i&&(u.delete(t),t.i(e))}function Q(t,e,n,a){if(t&&t.o){if(u.has(t))return;u.add(t),f.c.push(()=>{u.delete(t),a&&(n&&t.d(1),a())}),t.o(e)}else a&&a()}function T(t){t&&t.c()}function W(t,e){t&&t.l(e)}function H(t,e,n){const{fragment:a,after_update:i}=t.$$;a&&a.m(e,n),x(()=>{const d=t.$$.on_mount.map(O).filter(v);t.$$.on_destroy?t.$$.on_destroy.push(...d):$(d),t.$$.on_mount=[]}),i.forEach(x)}function J(t,e){const n=t.$$;n.fragment!==null&&(M(n.after_update),$(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function K(t,e){t.$$.dirty[0]===-1&&(j.push(t),A(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<{const y=m.length?m[0]:g;return s.ctx&&i(s.ctx[r],s.ctx[r]=y)&&(!s.skip_bound&&s.bound[r]&&s.bound[r](y),h&&K(t,r)),g}):[],s.update(),h=!0,$(s.before_update),s.fragment=a?a(s.ctx):!1,e.target){if(e.hydrate){D();const r=I(e.target);s.fragment&&s.fragment.l(r),r.forEach(b)}else s.fragment&&s.fragment.c();e.intro&&G(t.$$.fragment),H(t,e.target,e.anchor),F(),B()}w(o)}class Y{constructor(){_(this,"$$");_(this,"$$set")}$destroy(){J(this,1),this.$destroy=c}$on(e,n){if(!v(n))return c;const a=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return a.push(n),()=>{const i=a.indexOf(n);i!==-1&&a.splice(i,1)}}$set(e){this.$$set&&!L(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const P="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(P);export{Y as S,Q as a,T as b,z as c,W as d,J as e,V as g,X as i,H as m,G as t}; diff --git a/docs/_app/immutable/chunks/index.Djyg5Tq4.js b/docs/_app/immutable/chunks/index.Djyg5Tq4.js new file mode 100644 index 0000000..fd438d9 --- /dev/null +++ b/docs/_app/immutable/chunks/index.Djyg5Tq4.js @@ -0,0 +1 @@ +var E=Object.defineProperty;var b=(t,e,n)=>e in t?E(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var _=(t,e,n)=>(b(t,typeof e!="symbol"?e+"":e,n),n);import{w as $,n as c,x as p,b as C,f as I,y as B,z as v,A as O,B as x,C as j,D as z,E as w,F as A,G as D,H as F,I as G,J as H}from"./scheduler.8B3IDZxh.js";const u=new Set;let f;function V(){f={r:0,c:[],p:f}}function K(){f.r||$(f.c),f=f.p}function J(t,e){t&&t.i&&(u.delete(t),t.i(e))}function Q(t,e,n,a){if(t&&t.o){if(u.has(t))return;u.add(t),f.c.push(()=>{u.delete(t),a&&(n&&t.d(1),a())}),t.o(e)}else a&&a()}function T(t){t&&t.c()}function W(t,e){t&&t.l(e)}function L(t,e,n){const{fragment:a,after_update:i}=t.$$;a&&a.m(e,n),x(()=>{const d=t.$$.on_mount.map(A).filter(v);t.$$.on_destroy?t.$$.on_destroy.push(...d):$(d),t.$$.on_mount=[]}),i.forEach(x)}function M(t,e){const n=t.$$;n.fragment!==null&&(j(n.after_update),$(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function N(t,e){t.$$.dirty[0]===-1&&(D.push(t),F(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<{const y=m.length?m[0]:g;return s.ctx&&i(s.ctx[r],s.ctx[r]=y)&&(!s.skip_bound&&s.bound[r]&&s.bound[r](y),h&&N(t,r)),g}):[],s.update(),h=!0,$(s.before_update),s.fragment=a?a(s.ctx):!1,e.target){if(e.hydrate){G();const r=C(e.target);s.fragment&&s.fragment.l(r),r.forEach(I)}else s.fragment&&s.fragment.c();e.intro&&J(t.$$.fragment),L(t,e.target,e.anchor),H(),B()}w(o)}class Y{constructor(){_(this,"$$");_(this,"$$set")}$destroy(){M(this,1),this.$destroy=c}$on(e,n){if(!v(n))return c;const a=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return a.push(n),()=>{const i=a.indexOf(n);i!==-1&&a.splice(i,1)}}$set(e){this.$$set&&!O(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const P="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(P);export{Y as S,J as a,T as b,K as c,W as d,M as e,V as g,X as i,L as m,Q as t}; diff --git a/docs/_app/immutable/chunks/scheduler.CA2Mf2KT.js b/docs/_app/immutable/chunks/scheduler.8B3IDZxh.js similarity index 93% rename from docs/_app/immutable/chunks/scheduler.CA2Mf2KT.js rename to docs/_app/immutable/chunks/scheduler.8B3IDZxh.js index 93edc83..9838c14 100644 --- a/docs/_app/immutable/chunks/scheduler.CA2Mf2KT.js +++ b/docs/_app/immutable/chunks/scheduler.8B3IDZxh.js @@ -1 +1 @@ -function N(){}function D(t,e){for(const n in e)t[n]=e[n];return t}function q(t){return t()}function X(){return Object.create(null)}function C(t){t.forEach(q)}function T(t){return typeof t=="function"}function Y(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let m;function Z(t,e){return t===e?!0:(m||(m=document.createElement("a")),m.href=e,t===m.href)}function $(t){return Object.keys(t).length===0}function B(t,...e){if(t==null){for(const i of e)i(void 0);return N}const n=t.subscribe(...e);return n.unsubscribe?()=>n.unsubscribe():n}function tt(t,e,n){t.$$.on_destroy.push(B(e,n))}function et(t,e,n,i){if(t){const r=A(t,e,n,i);return t[0](r)}}function A(t,e,n,i){return t[1]&&i?D(n.ctx.slice(),t[1](i(e))):n.ctx}function nt(t,e,n,i){if(t[2]&&i){const r=t[2](i(n));if(e.dirty===void 0)return r;if(typeof r=="object"){const u=[],c=Math.max(e.dirty.length,r.length);for(let s=0;s32){const e=[],n=t.ctx.length/32;for(let i=0;i>1);n(r)<=i?t=r+1:e=r}return t}function M(t){if(t.hydrate_init)return;t.hydrate_init=!0;let e=t.childNodes;if(t.nodeName==="HEAD"){const l=[];for(let a=0;a0&&e[n[r]].claim_order<=a?r+1:L(1,r,P=>e[n[P]].claim_order,a))-1;i[l]=n[o]+1;const w=o+1;n[w]=l,r=Math.max(w,r)}const u=[],c=[];let s=e.length-1;for(let l=n[r]+1;l!=0;l=i[l-1]){for(u.push(e[l-1]);s>=l;s--)c.push(e[s]);s--}for(;s>=0;s--)c.push(e[s]);u.reverse(),c.sort((l,a)=>l.claim_order-a.claim_order);for(let l=0,a=0;l=u[a].claim_order;)a++;const o=at.removeEventListener(e,n,i)}function mt(t){return function(e){return e.preventDefault(),t.call(this,e)}}function pt(t){return function(e){return e.stopPropagation(),t.call(this,e)}}function z(t,e,n){n==null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}const F=["width","height"];function yt(t,e){const n=Object.getOwnPropertyDescriptors(t.__proto__);for(const i in e)e[i]==null?t.removeAttribute(i):i==="style"?t.style.cssText=e[i]:i==="__value"?t.value=t[i]=e[i]:n[i]&&n[i].set&&F.indexOf(i)===-1?t[i]=e[i]:z(t,i,e[i])}function bt(t){return t.dataset.svelteH}function gt(t,e,n){const i=new Set;for(let r=0;rt.push(i))},r(){e.forEach(n=>t.splice(t.indexOf(n),1))}}}function vt(t){return Array.from(t.childNodes)}function W(t){t.claim_info===void 0&&(t.claim_info={last_index:0,total_claimed:0})}function j(t,e,n,i,r=!1){W(t);const u=(()=>{for(let c=t.claim_info.last_index;c=0;c--){const s=t[c];if(e(s)){const l=n(s);return l===void 0?t.splice(c,1):t[c]=l,r?l===void 0&&t.claim_info.last_index--:t.claim_info.last_index=c,s}}return i()})();return u.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,u}function O(t,e,n,i){return j(t,r=>r.nodeName===e,r=>{const u=[];for(let c=0;cr.removeAttribute(c))},()=>i(e))}function wt(t,e,n){return O(t,e,n,I)}function Et(t,e,n){return O(t,e,n,U)}function G(t,e){return j(t,n=>n.nodeType===3,n=>{const i=""+e;if(n.data.startsWith(i)){if(n.data.length!==i.length)return n.splitText(i.length)}else n.data=i},()=>v(e),!0)}function kt(t){return G(t," ")}function Nt(t,e){e=""+e,t.data!==e&&(t.data=e)}function At(t,e){t.value=e??""}function jt(t,e,n,i){n==null?t.style.removeProperty(e):t.style.setProperty(e,n,"")}function Ot(t,e,n){t.classList.toggle(e,!!n)}function J(t,e,{bubbles:n=!1,cancelable:i=!1}={}){return new CustomEvent(t,{detail:e,bubbles:n,cancelable:i})}function St(t,e){return new t(e)}let p;function b(t){p=t}function h(){if(!p)throw new Error("Function called outside component initialization");return p}function Pt(t){h().$$.before_update.push(t)}function Dt(t){h().$$.on_mount.push(t)}function qt(t){h().$$.after_update.push(t)}function Ct(t){h().$$.on_destroy.push(t)}function Tt(){const t=h();return(e,n,{cancelable:i=!1}={})=>{const r=t.$$.callbacks[e];if(r){const u=J(e,n,{cancelable:i});return r.slice().forEach(c=>{c.call(t,u)}),!u.defaultPrevented}return!0}}function Bt(t,e){const n=t.$$.callbacks[e.type];n&&n.slice().forEach(i=>i.call(this,e))}const d=[],E=[];let _=[];const k=[],S=Promise.resolve();let x=!1;function K(){x||(x=!0,S.then(R))}function Lt(){return K(),S}function Q(t){_.push(t)}const g=new Set;let f=0;function R(){if(f!==0)return;const t=p;do{try{for(;ft.indexOf(i)===-1?e.push(i):n.push(i)),n.forEach(i=>i()),_=e}export{pt as $,C as A,X as B,R as C,T as D,$ as E,Q as F,Mt as G,p as H,b as I,q as J,d as K,K as L,st as M,ut as N,Ct as O,U as P,Et as Q,D as R,yt as S,Ot as T,At as U,ht as V,mt as W,lt as X,ct as Y,Tt as Z,Pt as _,nt as a,Bt as a0,ft as a1,bt as a2,xt as a3,Z as a4,gt as a5,_t as b,et as c,wt as d,I as e,vt as f,rt as g,G as h,ot as i,kt as j,at as k,H as l,Nt as m,N as n,tt as o,dt as p,qt as q,Dt as r,Y as s,v as t,it as u,z as v,jt as w,E as x,St as y,Lt as z}; +function N(){}function D(t,e){for(const n in e)t[n]=e[n];return t}function q(t){return t()}function X(){return Object.create(null)}function C(t){t.forEach(q)}function T(t){return typeof t=="function"}function Y(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let m;function Z(t,e){return t===e?!0:(m||(m=document.createElement("a")),m.href=e,t===m.href)}function $(t){return Object.keys(t).length===0}function B(t,...e){if(t==null){for(const i of e)i(void 0);return N}const n=t.subscribe(...e);return n.unsubscribe?()=>n.unsubscribe():n}function tt(t,e,n){t.$$.on_destroy.push(B(e,n))}function et(t,e,n,i){if(t){const r=A(t,e,n,i);return t[0](r)}}function A(t,e,n,i){return t[1]&&i?D(n.ctx.slice(),t[1](i(e))):n.ctx}function nt(t,e,n,i){if(t[2]&&i){const r=t[2](i(n));if(e.dirty===void 0)return r;if(typeof r=="object"){const u=[],c=Math.max(e.dirty.length,r.length);for(let s=0;s32){const e=[],n=t.ctx.length/32;for(let i=0;i>1);n(r)<=i?t=r+1:e=r}return t}function M(t){if(t.hydrate_init)return;t.hydrate_init=!0;let e=t.childNodes;if(t.nodeName==="HEAD"){const l=[];for(let a=0;a0&&e[n[r]].claim_order<=a?r+1:L(1,r,P=>e[n[P]].claim_order,a))-1;i[l]=n[o]+1;const w=o+1;n[w]=l,r=Math.max(w,r)}const u=[],c=[];let s=e.length-1;for(let l=n[r]+1;l!=0;l=i[l-1]){for(u.push(e[l-1]);s>=l;s--)c.push(e[s]);s--}for(;s>=0;s--)c.push(e[s]);u.reverse(),c.sort((l,a)=>l.claim_order-a.claim_order);for(let l=0,a=0;l=u[a].claim_order;)a++;const o=at.removeEventListener(e,n,i)}function mt(t){return function(e){return e.preventDefault(),t.call(this,e)}}function pt(t){return function(e){return e.stopPropagation(),t.call(this,e)}}function z(t,e,n){n==null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}const F=["width","height"];function yt(t,e){const n=Object.getOwnPropertyDescriptors(t.__proto__);for(const i in e)e[i]==null?t.removeAttribute(i):i==="style"?t.style.cssText=e[i]:i==="__value"?t.value=t[i]=e[i]:n[i]&&n[i].set&&F.indexOf(i)===-1?t[i]=e[i]:z(t,i,e[i])}function bt(t){return t.dataset.svelteH}function gt(t,e,n){const i=new Set;for(let r=0;rt.push(i))},r(){e.forEach(n=>t.splice(t.indexOf(n),1))}}}function vt(t){return Array.from(t.childNodes)}function W(t){t.claim_info===void 0&&(t.claim_info={last_index:0,total_claimed:0})}function j(t,e,n,i,r=!1){W(t);const u=(()=>{for(let c=t.claim_info.last_index;c=0;c--){const s=t[c];if(e(s)){const l=n(s);return l===void 0?t.splice(c,1):t[c]=l,r?l===void 0&&t.claim_info.last_index--:t.claim_info.last_index=c,s}}return i()})();return u.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,u}function O(t,e,n,i){return j(t,r=>r.nodeName===e,r=>{const u=[];for(let c=0;cr.removeAttribute(c))},()=>i(e))}function wt(t,e,n){return O(t,e,n,I)}function Et(t,e,n){return O(t,e,n,U)}function G(t,e){return j(t,n=>n.nodeType===3,n=>{const i=""+e;if(n.data.startsWith(i)){if(n.data.length!==i.length)return n.splitText(i.length)}else n.data=i},()=>v(e),!0)}function kt(t){return G(t," ")}function Nt(t,e){e=""+e,t.data!==e&&(t.data=e)}function At(t,e){t.value=e??""}function jt(t,e,n,i){n==null?t.style.removeProperty(e):t.style.setProperty(e,n,"")}function Ot(t,e,n){t.classList.toggle(e,!!n)}function J(t,e,{bubbles:n=!1,cancelable:i=!1}={}){return new CustomEvent(t,{detail:e,bubbles:n,cancelable:i})}function St(t,e){return new t(e)}let p;function b(t){p=t}function h(){if(!p)throw new Error("Function called outside component initialization");return p}function Pt(t){h().$$.before_update.push(t)}function Dt(t){h().$$.on_mount.push(t)}function qt(t){h().$$.after_update.push(t)}function Ct(t){h().$$.on_destroy.push(t)}function Tt(){const t=h();return(e,n,{cancelable:i=!1}={})=>{const r=t.$$.callbacks[e];if(r){const u=J(e,n,{cancelable:i});return r.slice().forEach(c=>{c.call(t,u)}),!u.defaultPrevented}return!0}}function Bt(t,e){const n=t.$$.callbacks[e.type];n&&n.slice().forEach(i=>i.call(this,e))}const d=[],E=[];let _=[];const k=[],S=Promise.resolve();let x=!1;function K(){x||(x=!0,S.then(R))}function Lt(){return K(),S}function Q(t){_.push(t)}const g=new Set;let f=0;function R(){if(f!==0)return;const t=p;do{try{for(;ft.indexOf(i)===-1?e.push(i):n.push(i)),n.forEach(i=>i()),_=e}export{pt as $,$ as A,Q as B,Mt as C,p as D,b as E,q as F,d as G,K as H,st as I,ut as J,Ct as K,U as L,Et as M,et as N,D as O,yt as P,Ot as Q,At as R,ht as S,mt as T,lt as U,it as V,rt as W,nt as X,ct as Y,Tt as Z,Pt as _,_t as a,Bt as a0,ft as a1,bt as a2,xt as a3,Z as a4,gt as a5,vt as b,wt as c,G as d,I as e,ot as f,kt as g,H as h,at as i,Nt as j,tt as k,dt as l,qt as m,N as n,Dt as o,z as p,jt as q,E as r,Y as s,v as t,St as u,Lt as v,C as w,X as x,R as y,T as z}; diff --git a/docs/_app/immutable/entry/app.DURevlBI.js b/docs/_app/immutable/entry/app.DURevlBI.js new file mode 100644 index 0000000..4d39ed9 --- /dev/null +++ b/docs/_app/immutable/entry/app.DURevlBI.js @@ -0,0 +1,2 @@ +const __vite__fileDeps=["../nodes/0.B4MbUAdn.js","../chunks/scheduler.8B3IDZxh.js","../chunks/index.Djyg5Tq4.js","../nodes/1.B__zzMVm.js","../chunks/entry.k3Z5ma43.js","../nodes/2.DdkqFTab.js","../nodes/3.9Nix9UIN.js","../assets/3.CtFVF9-0.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); +import{s as U,a as j,l as p,g as W,i as g,f as w,m as z,o as F,e as G,c as H,b as J,p as D,q as y,t as K,d as Q,j as X,r as N,u as b,v as Y}from"../chunks/scheduler.8B3IDZxh.js";import{S as Z,i as M,t as h,c as P,a as d,g as L,b as k,d as S,m as v,e as E}from"../chunks/index.Djyg5Tq4.js";const x="modulepreload",ee=function(f,e){return new URL(f,e).href},I={},A=function(e,n,r){let s=Promise.resolve();if(n&&n.length>0){const _=document.getElementsByTagName("link"),t=document.querySelector("meta[property=csp-nonce]"),o=(t==null?void 0:t.nonce)||(t==null?void 0:t.getAttribute("nonce"));s=Promise.all(n.map(i=>{if(i=ee(i,r),i in I)return;I[i]=!0;const c=i.endsWith(".css"),l=c?'[rel="stylesheet"]':"";if(!!r)for(let R=_.length-1;R>=0;R--){const $=_[R];if($.href===i&&(!c||$.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${l}`))return;const u=document.createElement("link");if(u.rel=c?"stylesheet":x,c||(u.as="script",u.crossOrigin=""),u.href=i,o&&u.setAttribute("nonce",o),document.head.appendChild(u),c)return new Promise((R,$)=>{u.addEventListener("load",R),u.addEventListener("error",()=>$(new Error(`Unable to preload CSS for ${i}`)))})}))}return s.then(()=>e()).catch(_=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=_,window.dispatchEvent(t),!t.defaultPrevented)throw _})},_e={};function te(f){let e,n,r;var s=f[1][0];function _(t,o){return{props:{data:t[3],form:t[2]}}}return s&&(e=b(s,_(f)),f[15](e)),{c(){e&&k(e.$$.fragment),n=p()},l(t){e&&S(e.$$.fragment,t),n=p()},m(t,o){e&&v(e,t,o),g(t,n,o),r=!0},p(t,o){if(o&2&&s!==(s=t[1][0])){if(e){L();const i=e;h(i.$$.fragment,1,0,()=>{E(i,1)}),P()}s?(e=b(s,_(t)),t[15](e),k(e.$$.fragment),d(e.$$.fragment,1),v(e,n.parentNode,n)):e=null}else if(s){const i={};o&8&&(i.data=t[3]),o&4&&(i.form=t[2]),e.$set(i)}},i(t){r||(e&&d(e.$$.fragment,t),r=!0)},o(t){e&&h(e.$$.fragment,t),r=!1},d(t){t&&w(n),f[15](null),e&&E(e,t)}}}function ne(f){let e,n,r;var s=f[1][0];function _(t,o){return{props:{data:t[3],$$slots:{default:[oe]},$$scope:{ctx:t}}}}return s&&(e=b(s,_(f)),f[14](e)),{c(){e&&k(e.$$.fragment),n=p()},l(t){e&&S(e.$$.fragment,t),n=p()},m(t,o){e&&v(e,t,o),g(t,n,o),r=!0},p(t,o){if(o&2&&s!==(s=t[1][0])){if(e){L();const i=e;h(i.$$.fragment,1,0,()=>{E(i,1)}),P()}s?(e=b(s,_(t)),t[14](e),k(e.$$.fragment),d(e.$$.fragment,1),v(e,n.parentNode,n)):e=null}else if(s){const i={};o&8&&(i.data=t[3]),o&65591&&(i.$$scope={dirty:o,ctx:t}),e.$set(i)}},i(t){r||(e&&d(e.$$.fragment,t),r=!0)},o(t){e&&h(e.$$.fragment,t),r=!1},d(t){t&&w(n),f[14](null),e&&E(e,t)}}}function ie(f){let e,n,r;var s=f[1][1];function _(t,o){return{props:{data:t[4],form:t[2]}}}return s&&(e=b(s,_(f)),f[13](e)),{c(){e&&k(e.$$.fragment),n=p()},l(t){e&&S(e.$$.fragment,t),n=p()},m(t,o){e&&v(e,t,o),g(t,n,o),r=!0},p(t,o){if(o&2&&s!==(s=t[1][1])){if(e){L();const i=e;h(i.$$.fragment,1,0,()=>{E(i,1)}),P()}s?(e=b(s,_(t)),t[13](e),k(e.$$.fragment),d(e.$$.fragment,1),v(e,n.parentNode,n)):e=null}else if(s){const i={};o&16&&(i.data=t[4]),o&4&&(i.form=t[2]),e.$set(i)}},i(t){r||(e&&d(e.$$.fragment,t),r=!0)},o(t){e&&h(e.$$.fragment,t),r=!1},d(t){t&&w(n),f[13](null),e&&E(e,t)}}}function se(f){let e,n,r;var s=f[1][1];function _(t,o){return{props:{data:t[4],$$slots:{default:[re]},$$scope:{ctx:t}}}}return s&&(e=b(s,_(f)),f[12](e)),{c(){e&&k(e.$$.fragment),n=p()},l(t){e&&S(e.$$.fragment,t),n=p()},m(t,o){e&&v(e,t,o),g(t,n,o),r=!0},p(t,o){if(o&2&&s!==(s=t[1][1])){if(e){L();const i=e;h(i.$$.fragment,1,0,()=>{E(i,1)}),P()}s?(e=b(s,_(t)),t[12](e),k(e.$$.fragment),d(e.$$.fragment,1),v(e,n.parentNode,n)):e=null}else if(s){const i={};o&16&&(i.data=t[4]),o&65575&&(i.$$scope={dirty:o,ctx:t}),e.$set(i)}},i(t){r||(e&&d(e.$$.fragment,t),r=!0)},o(t){e&&h(e.$$.fragment,t),r=!1},d(t){t&&w(n),f[12](null),e&&E(e,t)}}}function re(f){let e,n,r;var s=f[1][2];function _(t,o){return{props:{data:t[5],form:t[2]}}}return s&&(e=b(s,_(f)),f[11](e)),{c(){e&&k(e.$$.fragment),n=p()},l(t){e&&S(e.$$.fragment,t),n=p()},m(t,o){e&&v(e,t,o),g(t,n,o),r=!0},p(t,o){if(o&2&&s!==(s=t[1][2])){if(e){L();const i=e;h(i.$$.fragment,1,0,()=>{E(i,1)}),P()}s?(e=b(s,_(t)),t[11](e),k(e.$$.fragment),d(e.$$.fragment,1),v(e,n.parentNode,n)):e=null}else if(s){const i={};o&32&&(i.data=t[5]),o&4&&(i.form=t[2]),e.$set(i)}},i(t){r||(e&&d(e.$$.fragment,t),r=!0)},o(t){e&&h(e.$$.fragment,t),r=!1},d(t){t&&w(n),f[11](null),e&&E(e,t)}}}function oe(f){let e,n,r,s;const _=[se,ie],t=[];function o(i,c){return i[1][2]?0:1}return e=o(f),n=t[e]=_[e](f),{c(){n.c(),r=p()},l(i){n.l(i),r=p()},m(i,c){t[e].m(i,c),g(i,r,c),s=!0},p(i,c){let l=e;e=o(i),e===l?t[e].p(i,c):(L(),h(t[l],1,1,()=>{t[l]=null}),P(),n=t[e],n?n.p(i,c):(n=t[e]=_[e](i),n.c()),d(n,1),n.m(r.parentNode,r))},i(i){s||(d(n),s=!0)},o(i){h(n),s=!1},d(i){i&&w(r),t[e].d(i)}}}function O(f){let e,n=f[7]&&T(f);return{c(){e=G("div"),n&&n.c(),this.h()},l(r){e=H(r,"DIV",{id:!0,"aria-live":!0,"aria-atomic":!0,style:!0});var s=J(e);n&&n.l(s),s.forEach(w),this.h()},h(){D(e,"id","svelte-announcer"),D(e,"aria-live","assertive"),D(e,"aria-atomic","true"),y(e,"position","absolute"),y(e,"left","0"),y(e,"top","0"),y(e,"clip","rect(0 0 0 0)"),y(e,"clip-path","inset(50%)"),y(e,"overflow","hidden"),y(e,"white-space","nowrap"),y(e,"width","1px"),y(e,"height","1px")},m(r,s){g(r,e,s),n&&n.m(e,null)},p(r,s){r[7]?n?n.p(r,s):(n=T(r),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},d(r){r&&w(e),n&&n.d()}}}function T(f){let e;return{c(){e=K(f[8])},l(n){e=Q(n,f[8])},m(n,r){g(n,e,r)},p(n,r){r&256&&X(e,n[8])},d(n){n&&w(e)}}}function fe(f){let e,n,r,s,_;const t=[ne,te],o=[];function i(l,m){return l[1][1]?0:1}e=i(f),n=o[e]=t[e](f);let c=f[6]&&O(f);return{c(){n.c(),r=j(),c&&c.c(),s=p()},l(l){n.l(l),r=W(l),c&&c.l(l),s=p()},m(l,m){o[e].m(l,m),g(l,r,m),c&&c.m(l,m),g(l,s,m),_=!0},p(l,[m]){let u=e;e=i(l),e===u?o[e].p(l,m):(L(),h(o[u],1,1,()=>{o[u]=null}),P(),n=o[e],n?n.p(l,m):(n=o[e]=t[e](l),n.c()),d(n,1),n.m(r.parentNode,r)),l[6]?c?c.p(l,m):(c=O(l),c.c(),c.m(s.parentNode,s)):c&&(c.d(1),c=null)},i(l){_||(d(n),_=!0)},o(l){h(n),_=!1},d(l){l&&(w(r),w(s)),o[e].d(l),c&&c.d(l)}}}function le(f,e,n){let{stores:r}=e,{page:s}=e,{constructors:_}=e,{components:t=[]}=e,{form:o}=e,{data_0:i=null}=e,{data_1:c=null}=e,{data_2:l=null}=e;z(r.page.notify);let m=!1,u=!1,R=null;F(()=>{const a=r.page.subscribe(()=>{m&&(n(7,u=!0),Y().then(()=>{n(8,R=document.title||"untitled page")}))});return n(6,m=!0),a});function $(a){N[a?"unshift":"push"](()=>{t[2]=a,n(0,t)})}function V(a){N[a?"unshift":"push"](()=>{t[1]=a,n(0,t)})}function q(a){N[a?"unshift":"push"](()=>{t[1]=a,n(0,t)})}function C(a){N[a?"unshift":"push"](()=>{t[0]=a,n(0,t)})}function B(a){N[a?"unshift":"push"](()=>{t[0]=a,n(0,t)})}return f.$$set=a=>{"stores"in a&&n(9,r=a.stores),"page"in a&&n(10,s=a.page),"constructors"in a&&n(1,_=a.constructors),"components"in a&&n(0,t=a.components),"form"in a&&n(2,o=a.form),"data_0"in a&&n(3,i=a.data_0),"data_1"in a&&n(4,c=a.data_1),"data_2"in a&&n(5,l=a.data_2)},f.$$.update=()=>{f.$$.dirty&1536&&r.page.set(s)},[t,_,o,i,c,l,m,u,R,r,s,$,V,q,C,B]}class ue extends Z{constructor(e){super(),M(this,e,le,fe,U,{stores:9,page:10,constructors:1,components:0,form:2,data_0:3,data_1:4,data_2:5})}}const me=[()=>A(()=>import("../nodes/0.B4MbUAdn.js"),__vite__mapDeps([0,1,2]),import.meta.url),()=>A(()=>import("../nodes/1.B__zzMVm.js"),__vite__mapDeps([3,1,2,4]),import.meta.url),()=>A(()=>import("../nodes/2.DdkqFTab.js"),__vite__mapDeps([5,0,1,2]),import.meta.url),()=>A(()=>import("../nodes/3.9Nix9UIN.js"),__vite__mapDeps([6,1,2,7]),import.meta.url)],pe=[],he={"/map":[3,[2]]},de={handleError:({error:f})=>{console.error(f)},reroute:()=>{}};export{he as dictionary,de as hooks,_e as matchers,me as nodes,ue as root,pe as server_loads}; diff --git a/docs/_app/immutable/entry/app.oesq27Kn.js b/docs/_app/immutable/entry/app.oesq27Kn.js deleted file mode 100644 index 8ae3a5c..0000000 --- a/docs/_app/immutable/entry/app.oesq27Kn.js +++ /dev/null @@ -1,2 +0,0 @@ -const __vite__fileDeps=["../nodes/0.oUQvJFBJ.js","../chunks/scheduler.CA2Mf2KT.js","../chunks/index.DWPsA_mN.js","../nodes/1.BtCpqJEK.js","../chunks/entry.DVGp0EXr.js","../nodes/2.DhYuc6pS.js","../assets/2.CtFVF9-0.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); -import{s as V,b as B,p as d,j as U,k,i as p,q as j,r as z,e as W,d as F,f as G,v as A,w as h,t as H,h as J,m as K,x as q,y as E,z as Q}from"../chunks/scheduler.CA2Mf2KT.js";import{S as X,i as Y,a as g,c as L,t as w,g as S,b as y,d as D,m as R,e as P}from"../chunks/index.DWPsA_mN.js";const Z="modulepreload",M=function(a,e){return new URL(a,e).href},I={},C=function(e,n,i){let s=Promise.resolve();if(n&&n.length>0){const u=document.getElementsByTagName("link"),t=document.querySelector("meta[property=csp-nonce]"),r=(t==null?void 0:t.nonce)||(t==null?void 0:t.getAttribute("nonce"));s=Promise.all(n.map(o=>{if(o=M(o,i),o in I)return;I[o]=!0;const f=o.endsWith(".css"),l=f?'[rel="stylesheet"]':"";if(!!i)for(let b=u.length-1;b>=0;b--){const v=u[b];if(v.href===o&&(!f||v.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${l}`))return;const _=document.createElement("link");if(_.rel=f?"stylesheet":Z,f||(_.as="script",_.crossOrigin=""),_.href=o,r&&_.setAttribute("nonce",r),document.head.appendChild(_),f)return new Promise((b,v)=>{_.addEventListener("load",b),_.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${o}`)))})}))}return s.then(()=>e()).catch(u=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=u,window.dispatchEvent(t),!t.defaultPrevented)throw u})},re={};function $(a){let e,n,i;var s=a[1][0];function u(t,r){return{props:{data:t[3],form:t[2]}}}return s&&(e=E(s,u(a)),a[12](e)),{c(){e&&y(e.$$.fragment),n=d()},l(t){e&&D(e.$$.fragment,t),n=d()},m(t,r){e&&R(e,t,r),k(t,n,r),i=!0},p(t,r){if(r&2&&s!==(s=t[1][0])){if(e){S();const o=e;g(o.$$.fragment,1,0,()=>{P(o,1)}),L()}s?(e=E(s,u(t)),t[12](e),y(e.$$.fragment),w(e.$$.fragment,1),R(e,n.parentNode,n)):e=null}else if(s){const o={};r&8&&(o.data=t[3]),r&4&&(o.form=t[2]),e.$set(o)}},i(t){i||(e&&w(e.$$.fragment,t),i=!0)},o(t){e&&g(e.$$.fragment,t),i=!1},d(t){t&&p(n),a[12](null),e&&P(e,t)}}}function x(a){let e,n,i;var s=a[1][0];function u(t,r){return{props:{data:t[3],$$slots:{default:[ee]},$$scope:{ctx:t}}}}return s&&(e=E(s,u(a)),a[11](e)),{c(){e&&y(e.$$.fragment),n=d()},l(t){e&&D(e.$$.fragment,t),n=d()},m(t,r){e&&R(e,t,r),k(t,n,r),i=!0},p(t,r){if(r&2&&s!==(s=t[1][0])){if(e){S();const o=e;g(o.$$.fragment,1,0,()=>{P(o,1)}),L()}s?(e=E(s,u(t)),t[11](e),y(e.$$.fragment),w(e.$$.fragment,1),R(e,n.parentNode,n)):e=null}else if(s){const o={};r&8&&(o.data=t[3]),r&8215&&(o.$$scope={dirty:r,ctx:t}),e.$set(o)}},i(t){i||(e&&w(e.$$.fragment,t),i=!0)},o(t){e&&g(e.$$.fragment,t),i=!1},d(t){t&&p(n),a[11](null),e&&P(e,t)}}}function ee(a){let e,n,i;var s=a[1][1];function u(t,r){return{props:{data:t[4],form:t[2]}}}return s&&(e=E(s,u(a)),a[10](e)),{c(){e&&y(e.$$.fragment),n=d()},l(t){e&&D(e.$$.fragment,t),n=d()},m(t,r){e&&R(e,t,r),k(t,n,r),i=!0},p(t,r){if(r&2&&s!==(s=t[1][1])){if(e){S();const o=e;g(o.$$.fragment,1,0,()=>{P(o,1)}),L()}s?(e=E(s,u(t)),t[10](e),y(e.$$.fragment),w(e.$$.fragment,1),R(e,n.parentNode,n)):e=null}else if(s){const o={};r&16&&(o.data=t[4]),r&4&&(o.form=t[2]),e.$set(o)}},i(t){i||(e&&w(e.$$.fragment,t),i=!0)},o(t){e&&g(e.$$.fragment,t),i=!1},d(t){t&&p(n),a[10](null),e&&P(e,t)}}}function N(a){let e,n=a[6]&&O(a);return{c(){e=W("div"),n&&n.c(),this.h()},l(i){e=F(i,"DIV",{id:!0,"aria-live":!0,"aria-atomic":!0,style:!0});var s=G(e);n&&n.l(s),s.forEach(p),this.h()},h(){A(e,"id","svelte-announcer"),A(e,"aria-live","assertive"),A(e,"aria-atomic","true"),h(e,"position","absolute"),h(e,"left","0"),h(e,"top","0"),h(e,"clip","rect(0 0 0 0)"),h(e,"clip-path","inset(50%)"),h(e,"overflow","hidden"),h(e,"white-space","nowrap"),h(e,"width","1px"),h(e,"height","1px")},m(i,s){k(i,e,s),n&&n.m(e,null)},p(i,s){i[6]?n?n.p(i,s):(n=O(i),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},d(i){i&&p(e),n&&n.d()}}}function O(a){let e;return{c(){e=H(a[7])},l(n){e=J(n,a[7])},m(n,i){k(n,e,i)},p(n,i){i&128&&K(e,n[7])},d(n){n&&p(e)}}}function te(a){let e,n,i,s,u;const t=[x,$],r=[];function o(l,m){return l[1][1]?0:1}e=o(a),n=r[e]=t[e](a);let f=a[5]&&N(a);return{c(){n.c(),i=B(),f&&f.c(),s=d()},l(l){n.l(l),i=U(l),f&&f.l(l),s=d()},m(l,m){r[e].m(l,m),k(l,i,m),f&&f.m(l,m),k(l,s,m),u=!0},p(l,[m]){let _=e;e=o(l),e===_?r[e].p(l,m):(S(),g(r[_],1,1,()=>{r[_]=null}),L(),n=r[e],n?n.p(l,m):(n=r[e]=t[e](l),n.c()),w(n,1),n.m(i.parentNode,i)),l[5]?f?f.p(l,m):(f=N(l),f.c(),f.m(s.parentNode,s)):f&&(f.d(1),f=null)},i(l){u||(w(n),u=!0)},o(l){g(n),u=!1},d(l){l&&(p(i),p(s)),r[e].d(l),f&&f.d(l)}}}function ne(a,e,n){let{stores:i}=e,{page:s}=e,{constructors:u}=e,{components:t=[]}=e,{form:r}=e,{data_0:o=null}=e,{data_1:f=null}=e;j(i.page.notify);let l=!1,m=!1,_=null;z(()=>{const c=i.page.subscribe(()=>{l&&(n(6,m=!0),Q().then(()=>{n(7,_=document.title||"untitled page")}))});return n(5,l=!0),c});function b(c){q[c?"unshift":"push"](()=>{t[1]=c,n(0,t)})}function v(c){q[c?"unshift":"push"](()=>{t[0]=c,n(0,t)})}function T(c){q[c?"unshift":"push"](()=>{t[0]=c,n(0,t)})}return a.$$set=c=>{"stores"in c&&n(8,i=c.stores),"page"in c&&n(9,s=c.page),"constructors"in c&&n(1,u=c.constructors),"components"in c&&n(0,t=c.components),"form"in c&&n(2,r=c.form),"data_0"in c&&n(3,o=c.data_0),"data_1"in c&&n(4,f=c.data_1)},a.$$.update=()=>{a.$$.dirty&768&&i.page.set(s)},[t,u,r,o,f,l,m,_,i,s,b,v,T]}class oe extends X{constructor(e){super(),Y(this,e,ne,te,V,{stores:8,page:9,constructors:1,components:0,form:2,data_0:3,data_1:4})}}const ae=[()=>C(()=>import("../nodes/0.oUQvJFBJ.js"),__vite__mapDeps([0,1,2]),import.meta.url),()=>C(()=>import("../nodes/1.BtCpqJEK.js"),__vite__mapDeps([3,1,2,4]),import.meta.url),()=>C(()=>import("../nodes/2.DhYuc6pS.js"),__vite__mapDeps([5,1,2,6]),import.meta.url)],le=[],fe={"/":[2]},ce={handleError:({error:a})=>{console.error(a)},reroute:()=>{}};export{fe as dictionary,ce as hooks,re as matchers,ae as nodes,oe as root,le as server_loads}; diff --git a/docs/_app/immutable/entry/start.BOpWsXpV.js b/docs/_app/immutable/entry/start.BOpWsXpV.js deleted file mode 100644 index 5e1363b..0000000 --- a/docs/_app/immutable/entry/start.BOpWsXpV.js +++ /dev/null @@ -1 +0,0 @@ -import{a as t}from"../chunks/entry.DVGp0EXr.js";export{t as start}; diff --git a/docs/_app/immutable/entry/start.DLoF9AGY.js b/docs/_app/immutable/entry/start.DLoF9AGY.js new file mode 100644 index 0000000..0705b5d --- /dev/null +++ b/docs/_app/immutable/entry/start.DLoF9AGY.js @@ -0,0 +1 @@ +import{a as t}from"../chunks/entry.k3Z5ma43.js";export{t as start}; diff --git a/docs/_app/immutable/nodes/0.B4MbUAdn.js b/docs/_app/immutable/nodes/0.B4MbUAdn.js new file mode 100644 index 0000000..7792f34 --- /dev/null +++ b/docs/_app/immutable/nodes/0.B4MbUAdn.js @@ -0,0 +1 @@ +import{s as l,N as i,V as r,W as u,X as f}from"../chunks/scheduler.8B3IDZxh.js";import{S as _,i as c,a as p,t as m}from"../chunks/index.Djyg5Tq4.js";function $(n){let s;const a=n[1].default,e=i(a,n,n[0],null);return{c(){e&&e.c()},l(t){e&&e.l(t)},m(t,o){e&&e.m(t,o),s=!0},p(t,[o]){e&&e.p&&(!s||o&1)&&r(e,a,t,t[0],s?f(a,t[0],o,null):u(t[0]),null)},i(t){s||(p(e,t),s=!0)},o(t){m(e,t),s=!1},d(t){e&&e.d(t)}}}function d(n,s,a){let{$$slots:e={},$$scope:t}=s;return n.$$set=o=>{"$$scope"in o&&a(0,t=o.$$scope)},[t,e]}class S extends _{constructor(s){super(),c(this,s,d,$,l,{})}}export{S as component}; diff --git a/docs/_app/immutable/nodes/0.oUQvJFBJ.js b/docs/_app/immutable/nodes/0.oUQvJFBJ.js deleted file mode 100644 index ea22cd4..0000000 --- a/docs/_app/immutable/nodes/0.oUQvJFBJ.js +++ /dev/null @@ -1 +0,0 @@ -import{s as l,c as r,u as i,g as u,a as f}from"../chunks/scheduler.CA2Mf2KT.js";import{S as _,i as c,t as p,a as m}from"../chunks/index.DWPsA_mN.js";const d=!0,$=!1,v=Object.freeze(Object.defineProperty({__proto__:null,csr:d,ssr:$},Symbol.toStringTag,{value:"Module"}));function g(n){let s;const a=n[1].default,e=r(a,n,n[0],null);return{c(){e&&e.c()},l(t){e&&e.l(t)},m(t,o){e&&e.m(t,o),s=!0},p(t,[o]){e&&e.p&&(!s||o&1)&&i(e,a,t,t[0],s?f(a,t[0],o,null):u(t[0]),null)},i(t){s||(p(e,t),s=!0)},o(t){m(e,t),s=!1},d(t){e&&e.d(t)}}}function b(n,s,a){let{$$slots:e={},$$scope:t}=s;return n.$$set=o=>{"$$scope"in o&&a(0,t=o.$$scope)},[t,e]}class h extends _{constructor(s){super(),c(this,s,b,g,l,{})}}export{h as component,v as universal}; diff --git a/docs/_app/immutable/nodes/1.B__zzMVm.js b/docs/_app/immutable/nodes/1.B__zzMVm.js new file mode 100644 index 0000000..87685a0 --- /dev/null +++ b/docs/_app/immutable/nodes/1.B__zzMVm.js @@ -0,0 +1 @@ +import{s as S,e as _,t as f,a as x,c as d,b as g,d as h,f as u,g as j,i as m,h as v,j as $,n as E,k}from"../chunks/scheduler.8B3IDZxh.js";import{S as q,i as y}from"../chunks/index.Djyg5Tq4.js";import{s as C}from"../chunks/entry.k3Z5ma43.js";const H=()=>{const s=C;return{page:{subscribe:s.page.subscribe},navigating:{subscribe:s.navigating.subscribe},updated:s.updated}},P={subscribe(s){return H().page.subscribe(s)}};function w(s){var b;let t,r=s[0].status+"",o,n,i,c=((b=s[0].error)==null?void 0:b.message)+"",l;return{c(){t=_("h1"),o=f(r),n=x(),i=_("p"),l=f(c)},l(e){t=d(e,"H1",{});var a=g(t);o=h(a,r),a.forEach(u),n=j(e),i=d(e,"P",{});var p=g(i);l=h(p,c),p.forEach(u)},m(e,a){m(e,t,a),v(t,o),m(e,n,a),m(e,i,a),v(i,l)},p(e,[a]){var p;a&1&&r!==(r=e[0].status+"")&&$(o,r),a&1&&c!==(c=((p=e[0].error)==null?void 0:p.message)+"")&&$(l,c)},i:E,o:E,d(e){e&&(u(t),u(n),u(i))}}}function z(s,t,r){let o;return k(s,P,n=>r(0,o=n)),[o]}let F=class extends q{constructor(t){super(),y(this,t,z,w,S,{})}};export{F as component}; diff --git a/docs/_app/immutable/nodes/1.BtCpqJEK.js b/docs/_app/immutable/nodes/1.BtCpqJEK.js deleted file mode 100644 index db80cb1..0000000 --- a/docs/_app/immutable/nodes/1.BtCpqJEK.js +++ /dev/null @@ -1 +0,0 @@ -import{s as S,e as _,t as f,b as x,d,f as g,h,i as l,j,k as m,l as v,m as $,n as E,o as k}from"../chunks/scheduler.CA2Mf2KT.js";import{S as q,i as y}from"../chunks/index.DWPsA_mN.js";import{s as C}from"../chunks/entry.DVGp0EXr.js";const H=()=>{const s=C;return{page:{subscribe:s.page.subscribe},navigating:{subscribe:s.navigating.subscribe},updated:s.updated}},P={subscribe(s){return H().page.subscribe(s)}};function w(s){var b;let t,r=s[0].status+"",o,n,i,c=((b=s[0].error)==null?void 0:b.message)+"",u;return{c(){t=_("h1"),o=f(r),n=x(),i=_("p"),u=f(c)},l(e){t=d(e,"H1",{});var a=g(t);o=h(a,r),a.forEach(l),n=j(e),i=d(e,"P",{});var p=g(i);u=h(p,c),p.forEach(l)},m(e,a){m(e,t,a),v(t,o),m(e,n,a),m(e,i,a),v(i,u)},p(e,[a]){var p;a&1&&r!==(r=e[0].status+"")&&$(o,r),a&1&&c!==(c=((p=e[0].error)==null?void 0:p.message)+"")&&$(u,c)},i:E,o:E,d(e){e&&(l(t),l(n),l(i))}}}function z(s,t,r){let o;return k(s,P,n=>r(0,o=n)),[o]}let F=class extends q{constructor(t){super(),y(this,t,z,w,S,{})}};export{F as component}; diff --git a/docs/_app/immutable/nodes/2.DdkqFTab.js b/docs/_app/immutable/nodes/2.DdkqFTab.js new file mode 100644 index 0000000..9bf8ac9 --- /dev/null +++ b/docs/_app/immutable/nodes/2.DdkqFTab.js @@ -0,0 +1 @@ +import{component as s}from"./0.B4MbUAdn.js";const e=!0,o=!1,t=Object.freeze(Object.defineProperty({__proto__:null,csr:e,ssr:o},Symbol.toStringTag,{value:"Module"}));export{s as component,t as universal}; diff --git a/docs/_app/immutable/nodes/2.DhYuc6pS.js b/docs/_app/immutable/nodes/3.9Nix9UIN.js similarity index 99% rename from docs/_app/immutable/nodes/2.DhYuc6pS.js rename to docs/_app/immutable/nodes/3.9Nix9UIN.js index 74faebf..80499c5 100644 --- a/docs/_app/immutable/nodes/2.DhYuc6pS.js +++ b/docs/_app/immutable/nodes/3.9Nix9UIN.js @@ -1,4 +1,4 @@ -import{O as ln,z as Da,s as U1,P as S3,Q as w3,f as p7,i as k4,v as a4,k as p3,l as T4,n as W9,c as p6,R as Ba,e as y7,b as W7,d as m7,j as z7,S as wr,T as c3,U as B1,V as V3,W as v2,X as ie,u as l6,g as c6,a as y6,A as W1,Y as Oa,Z as Ha,_ as Va,r as cn,$ as _8,t as q3,h as K3,m as p5,p as P8,a0 as re,x as Ft,a1 as yn,D as vr,a2 as X5,a3 as Ua,w as R3,a4 as xt,a5 as bt}from"../chunks/scheduler.CA2Mf2KT.js";import{S as z1,i as q1,t as F7,g as b6,a as U7,c as A6,b as K1,d as G1,m as j1,e as Y1}from"../chunks/index.DWPsA_mN.js";function ae(h){return(h==null?void 0:h.length)!==void 0?h:Array.from(h)}function Wa(h,P){const C={},w={},x={$$scope:1};let B=h.length;for(;B--;){const T=h[B],p=P[B];if(p){for(const H in T)H in p||(w[H]=1);for(const H in p)x[H]||(C[H]=p[H],x[H]=1);h[B]=p}else for(const H in T)x[H]=1}for(const T in w)T in C||(C[T]=void 0);return C}const za=!0,xl=Object.freeze(Object.defineProperty({__proto__:null,prerender:za},Symbol.toStringTag,{value:"Module"}));var qa=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ka(h){return h&&h.__esModule&&Object.prototype.hasOwnProperty.call(h,"default")?h.default:h}var mn={exports:{}};/** +import{K as ln,v as Da,s as U1,L as S3,M as w3,b as p7,f as k4,p as a4,i as p3,h as T4,n as W9,N as p6,O as Ba,e as y7,a as W7,c as m7,g as z7,P as wr,Q as c3,R as B1,S as V3,T as v2,U as ie,V as l6,W as c6,X as y6,w as W1,Y as Oa,Z as Ha,_ as Va,o as cn,$ as _8,t as q3,d as K3,j as p5,l as P8,a0 as re,r as Ft,a1 as yn,z as vr,a2 as X5,a3 as Ua,q as R3,a4 as xt,a5 as bt}from"../chunks/scheduler.8B3IDZxh.js";import{S as z1,i as q1,a as F7,g as b6,t as U7,c as A6,b as K1,d as G1,m as j1,e as Y1}from"../chunks/index.Djyg5Tq4.js";function ae(h){return(h==null?void 0:h.length)!==void 0?h:Array.from(h)}function Wa(h,P){const C={},w={},x={$$scope:1};let B=h.length;for(;B--;){const T=h[B],p=P[B];if(p){for(const H in T)H in p||(w[H]=1);for(const H in p)x[H]||(C[H]=p[H],x[H]=1);h[B]=p}else for(const H in T)x[H]=1}for(const T in w)T in C||(C[T]=void 0);return C}const za=!0,xl=Object.freeze(Object.defineProperty({__proto__:null,prerender:za},Symbol.toStringTag,{value:"Module"}));var qa=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ka(h){return h&&h.__esModule&&Object.prototype.hasOwnProperty.call(h,"default")?h.default:h}var mn={exports:{}};/** * MapLibre GL JS * @license 3-Clause BSD. Full text of license: https://github.com/maplibre/maplibre-gl-js/blob/v4.5.0/LICENSE.txt */(function(h,P){(function(C,w){h.exports=w()})(qa,function(){var C={},w={};function x(T,p,H){if(w[T]=H,T==="index"){var X="var sharedModule = {}; ("+w.shared+")(sharedModule); ("+w.worker+")(sharedModule);",p4={};return w.shared(p4),w.index(C,p4),typeof window<"u"&&C.setWorkerUrl(window.URL.createObjectURL(new Blob([X],{type:"text/javascript"}))),C}}x("shared",["exports"],function(T){function p(o,e,r,i){return new(r||(r=Promise))(function(s,l){function m(S){try{f(i.next(S))}catch(F){l(F)}}function d(S){try{f(i.throw(S))}catch(F){l(F)}}function f(S){var F;S.done?s(S.value):(F=S.value,F instanceof r?F:new r(function(b){b(F)})).then(m,d)}f((i=i.apply(o,e||[])).next())})}function H(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o}typeof SuppressedError=="function"&&SuppressedError;var X=p4;function p4(o,e){this.x=o,this.y=e}p4.prototype={clone:function(){return new p4(this.x,this.y)},add:function(o){return this.clone()._add(o)},sub:function(o){return this.clone()._sub(o)},multByPoint:function(o){return this.clone()._multByPoint(o)},divByPoint:function(o){return this.clone()._divByPoint(o)},mult:function(o){return this.clone()._mult(o)},div:function(o){return this.clone()._div(o)},rotate:function(o){return this.clone()._rotate(o)},rotateAround:function(o,e){return this.clone()._rotateAround(o,e)},matMult:function(o){return this.clone()._matMult(o)},unit:function(){return this.clone()._unit()},perp:function(){return this.clone()._perp()},round:function(){return this.clone()._round()},mag:function(){return Math.sqrt(this.x*this.x+this.y*this.y)},equals:function(o){return this.x===o.x&&this.y===o.y},dist:function(o){return Math.sqrt(this.distSqr(o))},distSqr:function(o){var e=o.x-this.x,r=o.y-this.y;return e*e+r*r},angle:function(){return Math.atan2(this.y,this.x)},angleTo:function(o){return Math.atan2(this.y-o.y,this.x-o.x)},angleWith:function(o){return this.angleWithSep(o.x,o.y)},angleWithSep:function(o,e){return Math.atan2(this.x*e-this.y*o,this.x*o+this.y*e)},_matMult:function(o){var e=o[2]*this.x+o[3]*this.y;return this.x=o[0]*this.x+o[1]*this.y,this.y=e,this},_add:function(o){return this.x+=o.x,this.y+=o.y,this},_sub:function(o){return this.x-=o.x,this.y-=o.y,this},_mult:function(o){return this.x*=o,this.y*=o,this},_div:function(o){return this.x/=o,this.y/=o,this},_multByPoint:function(o){return this.x*=o.x,this.y*=o.y,this},_divByPoint:function(o){return this.x/=o.x,this.y/=o.y,this},_unit:function(){return this._div(this.mag()),this},_perp:function(){var o=this.y;return this.y=this.x,this.x=-o,this},_rotate:function(o){var e=Math.cos(o),r=Math.sin(o),i=r*this.x+e*this.y;return this.x=e*this.x-r*this.y,this.y=i,this},_rotateAround:function(o,e){var r=Math.cos(o),i=Math.sin(o),s=e.y+i*(this.x-e.x)+r*(this.y-e.y);return this.x=e.x+r*(this.x-e.x)-i*(this.y-e.y),this.y=s,this},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},p4.convert=function(o){return o instanceof p4?o:Array.isArray(o)?new p4(o[0],o[1]):o};var z=H(X),J=M4;function M4(o,e,r,i){this.cx=3*o,this.bx=3*(r-o)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*e,this.by=3*(i-e)-this.cy,this.ay=1-this.cy-this.by,this.p1x=o,this.p1y=e,this.p2x=r,this.p2y=i}M4.prototype={sampleCurveX:function(o){return((this.ax*o+this.bx)*o+this.cx)*o},sampleCurveY:function(o){return((this.ay*o+this.by)*o+this.cy)*o},sampleCurveDerivativeX:function(o){return(3*this.ax*o+2*this.bx)*o+this.cx},solveCurveX:function(o,e){if(e===void 0&&(e=1e-6),o<0)return 0;if(o>1)return 1;for(var r=o,i=0;i<8;i++){var s=this.sampleCurveX(r)-o;if(Math.abs(s)s?m=r:d=r,r=.5*(d-m)+m;return r},solve:function(o,e){return this.sampleCurveY(this.solveCurveX(o,e))}};var C4=H(J);let f4,x4;function e7(){return f4==null&&(f4=typeof OffscreenCanvas<"u"&&new OffscreenCanvas(1,1).getContext("2d")&&typeof createImageBitmap=="function"),f4}function D4(){if(x4==null&&(x4=!1,e7())){const e=new OffscreenCanvas(5,5).getContext("2d",{willReadFrequently:!0});if(e){for(let i=0;i<5*5;i++){const s=4*i;e.fillStyle=`rgb(${s},${s+1},${s+2})`,e.fillRect(i%5,Math.floor(i/5),1,1)}const r=e.getImageData(0,0,5,5).data;for(let i=0;i<5*5*4;i++)if(i%4!=3&&r[i]!==i){x4=!0;break}}}return x4||!1}function l7(o,e,r,i){const s=new C4(o,e,r,i);return l=>s.solve(l)}const Y7=l7(.25,.1,.25,1);function j4(o,e,r){return Math.min(r,Math.max(e,o))}function X4(o,e,r){const i=r-e,s=((o-e)%i+i)%i+e;return s===e?r:s}function M7(o,...e){for(const r of e)for(const i in r)o[i]=r[i];return o}let B7=1;function C7(o,e,r){const i={};for(const s in o)i[s]=e.call(this,o[s],s,o);return i}function R7(o,e,r){const i={};for(const s in o)e.call(this,o[s],s,o)&&(i[s]=o[s]);return i}function P4(o){return Array.isArray(o)?o.map(P4):typeof o=="object"&&o?C7(o,P4):o}const n7={};function S7(o){n7[o]||(typeof console<"u"&&console.warn(o),n7[o]=!0)}function g7(o,e,r){return(r.y-o.y)*(e.x-o.x)>(e.y-o.y)*(r.x-o.x)}function O7(o){return typeof WorkerGlobalScope<"u"&&o!==void 0&&o instanceof WorkerGlobalScope}let X7=null;function h7(o){return typeof ImageBitmap<"u"&&o instanceof ImageBitmap}const B4="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQYV2NgAAIAAAUAAarVyFEAAAAASUVORK5CYII=";function N4(o,e,r,i,s){return p(this,void 0,void 0,function*(){if(typeof VideoFrame>"u")throw new Error("VideoFrame not supported");const l=new VideoFrame(o,{timestamp:0});try{const m=l==null?void 0:l.format;if(!m||!m.startsWith("BGR")&&!m.startsWith("RGB"))throw new Error(`Unrecognized format ${m}`);const d=m.startsWith("BGR"),f=new Uint8ClampedArray(i*s*4);if(yield l.copyTo(f,function(S,F,b,I,k){const D=4*Math.max(-F,0),U=(Math.max(0,b)-b)*I*4+D,G=4*I,$=Math.max(0,F),c4=Math.max(0,b);return{rect:{x:$,y:c4,width:Math.min(S.width,F+I)-$,height:Math.min(S.height,b+k)-c4},layout:[{offset:U,stride:G}]}}(o,e,r,i,s)),d)for(let S=0;SO7(self)?self.worker&&self.worker.referrer:(window.location.protocol==="blob:"?window.parent:window).location.href,k3=function(o,e){if(/:\/\//.test(o.url)&&!/^https?:|^file:/.test(o.url)){const i=y3(o.url);if(i)return i(o,e);if(O7(self)&&self.worker&&self.worker.actor)return self.worker.actor.sendAsync({type:"GR",data:o,targetMapId:E3},e)}if(!(/^file:/.test(r=o.url)||/^file:/.test(m3())&&!/^\w+:/.test(r))){if(fetch&&Request&&AbortController&&Object.prototype.hasOwnProperty.call(Request.prototype,"signal"))return function(i,s){return p(this,void 0,void 0,function*(){const l=new Request(i.url,{method:i.method||"GET",body:i.body,credentials:i.credentials,headers:i.headers,cache:i.cache,referrer:m3(),signal:s.signal});i.type!=="json"||l.headers.has("Accept")||l.headers.set("Accept","application/json");const m=yield fetch(l);if(!m.ok){const S=yield m.blob();throw new a3(m.status,m.statusText,i.url,S)}let d;d=i.type==="arrayBuffer"||i.type==="image"?m.arrayBuffer():i.type==="json"?m.json():m.text();const f=yield d;if(s.signal.aborted)throw G3();return{data:f,cacheControl:m.headers.get("Cache-Control"),expires:m.headers.get("Expires")}})}(o,e);if(O7(self)&&self.worker&&self.worker.actor)return self.worker.actor.sendAsync({type:"GR",data:o,mustQueue:!0,targetMapId:E3},e)}var r;return function(i,s){return new Promise((l,m)=>{var d;const f=new XMLHttpRequest;f.open(i.method||"GET",i.url,!0),i.type!=="arrayBuffer"&&i.type!=="image"||(f.responseType="arraybuffer");for(const S in i.headers)f.setRequestHeader(S,i.headers[S]);i.type==="json"&&(f.responseType="text",!((d=i.headers)===null||d===void 0)&&d.Accept||f.setRequestHeader("Accept","application/json")),f.withCredentials=i.credentials==="include",f.onerror=()=>{m(new Error(f.statusText))},f.onload=()=>{if(!s.signal.aborted)if((f.status>=200&&f.status<300||f.status===0)&&f.response!==null){let S=f.response;if(i.type==="json")try{S=JSON.parse(f.response)}catch(F){return void m(F)}l({data:S,cacheControl:f.getResponseHeader("Cache-Control"),expires:f.getResponseHeader("Expires")})}else{const S=new Blob([f.response],{type:f.getResponseHeader("Content-Type")});m(new a3(f.status,f.statusText,i.url,S))}},s.signal.addEventListener("abort",()=>{f.abort(),m(G3())}),f.send(i.body)})}(o,e)};function g9(o){if(!o||o.indexOf("://")<=0||o.indexOf("data:image/")===0||o.indexOf("blob:")===0)return!0;const e=new URL(o),r=window.location;return e.protocol===r.protocol&&e.host===r.host}function f9(o,e,r){r[o]&&r[o].indexOf(e)!==-1||(r[o]=r[o]||[],r[o].push(e))}function j3(o,e,r){if(r&&r[o]){const i=r[o].indexOf(e);i!==-1&&r[o].splice(i,1)}}class u9{constructor(e,r={}){M7(this,r),this.type=e}}class $3 extends u9{constructor(e,r={}){super("error",M7({error:e},r))}}class q7{on(e,r){return this._listeners=this._listeners||{},f9(e,r,this._listeners),this}off(e,r){return j3(e,r,this._listeners),j3(e,r,this._oneTimeListeners),this}once(e,r){return r?(this._oneTimeListeners=this._oneTimeListeners||{},f9(e,r,this._oneTimeListeners),this):new Promise(i=>this.once(e,i))}fire(e,r){typeof e=="string"&&(e=new u9(e,r||{}));const i=e.type;if(this.listens(i)){e.target=this;const s=this._listeners&&this._listeners[i]?this._listeners[i].slice():[];for(const d of s)d.call(this,e);const l=this._oneTimeListeners&&this._oneTimeListeners[i]?this._oneTimeListeners[i].slice():[];for(const d of l)j3(i,d,this._oneTimeListeners),d.call(this,e);const m=this._eventedParent;m&&(M7(e,typeof this._eventedParentData=="function"?this._eventedParentData():this._eventedParentData),m.fire(e))}else e instanceof $3&&console.error(e.error);return this}listens(e){return this._listeners&&this._listeners[e]&&this._listeners[e].length>0||this._oneTimeListeners&&this._oneTimeListeners[e]&&this._oneTimeListeners[e].length>0||this._eventedParent&&this._eventedParent.listens(e)}setEventedParent(e,r){return this._eventedParent=e,this._eventedParentData=r,this}}var h4={$version:8,$root:{version:{required:!0,type:"enum",values:[8]},name:{type:"string"},metadata:{type:"*"},center:{type:"array",value:"number"},zoom:{type:"number"},bearing:{type:"number",default:0,period:360,units:"degrees"},pitch:{type:"number",default:0,units:"degrees"},light:{type:"light"},sky:{type:"sky"},projection:{type:"projection"},terrain:{type:"terrain"},sources:{required:!0,type:"sources"},sprite:{type:"sprite"},glyphs:{type:"string"},transition:{type:"transition"},layers:{required:!0,type:"array",value:"layer"}},sources:{"*":{type:"source"}},source:["source_vector","source_raster","source_raster_dem","source_geojson","source_video","source_image"],source_vector:{type:{required:!0,type:"enum",values:{vector:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},attribution:{type:"string"},promoteId:{type:"promoteId"},volatile:{type:"boolean",default:!1},"*":{type:"*"}},source_raster:{type:{required:!0,type:"enum",values:{raster:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},attribution:{type:"string"},volatile:{type:"boolean",default:!1},"*":{type:"*"}},source_raster_dem:{type:{required:!0,type:"enum",values:{"raster-dem":{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},attribution:{type:"string"},encoding:{type:"enum",values:{terrarium:{},mapbox:{},custom:{}},default:"mapbox"},redFactor:{type:"number",default:1},blueFactor:{type:"number",default:1},greenFactor:{type:"number",default:1},baseShift:{type:"number",default:0},volatile:{type:"boolean",default:!1},"*":{type:"*"}},source_geojson:{type:{required:!0,type:"enum",values:{geojson:{}}},data:{required:!0,type:"*"},maxzoom:{type:"number",default:18},attribution:{type:"string"},buffer:{type:"number",default:128,maximum:512,minimum:0},filter:{type:"*"},tolerance:{type:"number",default:.375},cluster:{type:"boolean",default:!1},clusterRadius:{type:"number",default:50,minimum:0},clusterMaxZoom:{type:"number"},clusterMinPoints:{type:"number"},clusterProperties:{type:"*"},lineMetrics:{type:"boolean",default:!1},generateId:{type:"boolean",default:!1},promoteId:{type:"promoteId"}},source_video:{type:{required:!0,type:"enum",values:{video:{}}},urls:{required:!0,type:"array",value:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},source_image:{type:{required:!0,type:"enum",values:{image:{}}},url:{required:!0,type:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},layer:{id:{type:"string",required:!0},type:{type:"enum",values:{fill:{},line:{},symbol:{},circle:{},heatmap:{},"fill-extrusion":{},raster:{},hillshade:{},background:{}},required:!0},metadata:{type:"*"},source:{type:"string"},"source-layer":{type:"string"},minzoom:{type:"number",minimum:0,maximum:24},maxzoom:{type:"number",minimum:0,maximum:24},filter:{type:"filter"},layout:{type:"layout"},paint:{type:"paint"}},layout:["layout_fill","layout_line","layout_circle","layout_heatmap","layout_fill-extrusion","layout_symbol","layout_raster","layout_hillshade","layout_background"],layout_background:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_fill:{"fill-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_circle:{"circle-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_heatmap:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},"layout_fill-extrusion":{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_line:{"line-cap":{type:"enum",values:{butt:{},round:{},square:{}},default:"butt",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-join":{type:"enum",values:{bevel:{},round:{},miter:{}},default:"miter",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-miter-limit":{type:"number",default:2,requires:[{"line-join":"miter"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-round-limit":{type:"number",default:1.05,requires:[{"line-join":"round"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_symbol:{"symbol-placement":{type:"enum",values:{point:{},line:{},"line-center":{}},default:"point",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-spacing":{type:"number",default:250,minimum:1,units:"pixels",requires:[{"symbol-placement":"line"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"symbol-avoid-edges":{type:"boolean",default:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"symbol-z-order":{type:"enum",values:{auto:{},"viewport-y":{},source:{}},default:"auto",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-allow-overlap":{type:"boolean",default:!1,requires:["icon-image",{"!":"icon-overlap"}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-overlap":{type:"enum",values:{never:{},always:{},cooperative:{}},requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-ignore-placement":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-optional":{type:"boolean",default:!1,requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-size":{type:"number",default:1,minimum:0,units:"factor of the original icon size",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-text-fit":{type:"enum",values:{none:{},width:{},height:{},both:{}},default:"none",requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-text-fit-padding":{type:"array",value:"number",length:4,default:[0,0,0,0],units:"pixels",requires:["icon-image","text-field",{"icon-text-fit":["both","width","height"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-image":{type:"resolvedImage",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-padding":{type:"padding",default:[2],units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-keep-upright":{type:"boolean",default:!1,requires:["icon-image",{"icon-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-offset":{type:"array",value:"number",length:2,default:[0,0],requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotation-alignment":{type:"enum",values:{map:{},viewport:{},"viewport-glyph":{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-field":{type:"formatted",default:"",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-font":{type:"array",value:"string",default:["Open Sans Regular","Arial Unicode MS Regular"],requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-size":{type:"number",default:16,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-width":{type:"number",default:10,minimum:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-line-height":{type:"number",default:1.2,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-letter-spacing":{type:"number",default:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-justify":{type:"enum",values:{auto:{},left:{},center:{},right:{}},default:"center",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-radial-offset":{type:"number",units:"ems",default:0,requires:["text-field"],"property-type":"data-driven",expression:{interpolated:!0,parameters:["zoom","feature"]}},"text-variable-anchor":{type:"array",value:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-variable-anchor-offset":{type:"variableAnchorOffsetCollection",requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["text-field",{"!":"text-variable-anchor"}],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-angle":{type:"number",default:45,units:"degrees",requires:["text-field",{"symbol-placement":["line","line-center"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-writing-mode":{type:"array",value:"enum",values:{horizontal:{},vertical:{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-keep-upright":{type:"boolean",default:!0,requires:["text-field",{"text-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-transform":{type:"enum",values:{none:{},uppercase:{},lowercase:{}},default:"none",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-offset":{type:"array",value:"number",units:"ems",length:2,default:[0,0],requires:["text-field",{"!":"text-radial-offset"}],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-allow-overlap":{type:"boolean",default:!1,requires:["text-field",{"!":"text-overlap"}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-overlap":{type:"enum",values:{never:{},always:{},cooperative:{}},requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-ignore-placement":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-optional":{type:"boolean",default:!1,requires:["text-field","icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_raster:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_hillshade:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},filter:{type:"array",value:"*"},filter_operator:{type:"enum",values:{"==":{},"!=":{},">":{},">=":{},"<":{},"<=":{},in:{},"!in":{},all:{},any:{},none:{},has:{},"!has":{}}},geometry_type:{type:"enum",values:{Point:{},LineString:{},Polygon:{}}},function:{expression:{type:"expression"},stops:{type:"array",value:"function_stop"},base:{type:"number",default:1,minimum:0},property:{type:"string",default:"$zoom"},type:{type:"enum",values:{identity:{},exponential:{},interval:{},categorical:{}},default:"exponential"},colorSpace:{type:"enum",values:{rgb:{},lab:{},hcl:{}},default:"rgb"},default:{type:"*",required:!1}},function_stop:{type:"array",minimum:0,maximum:24,value:["number","color"],length:2},expression:{type:"array",value:"*",minimum:1},light:{anchor:{type:"enum",default:"viewport",values:{map:{},viewport:{}},"property-type":"data-constant",transition:!1,expression:{interpolated:!1,parameters:["zoom"]}},position:{type:"array",default:[1.15,210,30],length:3,value:"number","property-type":"data-constant",transition:!0,expression:{interpolated:!0,parameters:["zoom"]}},color:{type:"color","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},intensity:{type:"number","property-type":"data-constant",default:.5,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0}},sky:{"sky-color":{type:"color","property-type":"data-constant",default:"#88C6FC",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},"horizon-color":{type:"color","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},"fog-color":{type:"color","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},"fog-ground-blend":{type:"number","property-type":"data-constant",default:.5,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0},"horizon-fog-blend":{type:"number","property-type":"data-constant",default:.8,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0},"sky-horizon-blend":{type:"number","property-type":"data-constant",default:.8,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0},"atmosphere-blend":{type:"number","property-type":"data-constant",default:.8,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0}},terrain:{source:{type:"string",required:!0},exaggeration:{type:"number",minimum:0,default:1}},projection:{type:{type:"enum",default:"mercator",values:{mercator:{},globe:{}}}},paint:["paint_fill","paint_line","paint_circle","paint_heatmap","paint_fill-extrusion","paint_symbol","paint_raster","paint_hillshade","paint_background"],paint_fill:{"fill-antialias":{type:"boolean",default:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-outline-color":{type:"color",transition:!0,requires:[{"!":"fill-pattern"},{"fill-antialias":!0}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"}},"paint_fill-extrusion":{"fill-extrusion-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-extrusion-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-extrusion-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"fill-extrusion-height":{type:"number",default:0,minimum:0,units:"meters",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-base":{type:"number",default:0,minimum:0,units:"meters",transition:!0,requires:["fill-extrusion-height"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-vertical-gradient":{type:"boolean",default:!0,transition:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_line:{"line-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"line-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["line-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-width":{type:"number",default:1,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-gap-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-offset":{type:"number",default:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-dasharray":{type:"array",value:"number",minimum:0,transition:!0,units:"line widths",requires:[{"!":"line-pattern"}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"line-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"line-gradient":{type:"color",transition:!1,requires:[{"!":"line-dasharray"},{"!":"line-pattern"},{source:"geojson",has:{lineMetrics:!0}}],expression:{interpolated:!0,parameters:["line-progress"]},"property-type":"color-ramp"}},paint_circle:{"circle-radius":{type:"number",default:5,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-blur":{type:"number",default:0,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"circle-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["circle-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-scale":{type:"enum",values:{map:{},viewport:{}},default:"map",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-alignment":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-stroke-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"}},paint_heatmap:{"heatmap-radius":{type:"number",default:30,minimum:1,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-weight":{type:"number",default:1,minimum:0,transition:!1,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-intensity":{type:"number",default:1,minimum:0,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"heatmap-color":{type:"color",default:["interpolate",["linear"],["heatmap-density"],0,"rgba(0, 0, 255, 0)",.1,"royalblue",.3,"cyan",.5,"lime",.7,"yellow",1,"red"],transition:!1,expression:{interpolated:!0,parameters:["heatmap-density"]},"property-type":"color-ramp"},"heatmap-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_symbol:{"icon-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-color":{type:"color",default:"#000000",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["icon-image","icon-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-color":{type:"color",default:"#000000",transition:!0,overridable:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["text-field","text-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_raster:{"raster-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-hue-rotate":{type:"number",default:0,period:360,transition:!0,units:"degrees",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-min":{type:"number",default:0,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-max":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-saturation":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-contrast":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-resampling":{type:"enum",values:{linear:{},nearest:{}},default:"linear",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"raster-fade-duration":{type:"number",default:300,minimum:0,transition:!1,units:"milliseconds",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_hillshade:{"hillshade-illumination-direction":{type:"number",default:335,minimum:0,maximum:359,transition:!1,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-illumination-anchor":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-exaggeration":{type:"number",default:.5,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-shadow-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-highlight-color":{type:"color",default:"#FFFFFF",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-accent-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_background:{"background-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"background-pattern"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"background-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"background-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},transition:{duration:{type:"number",default:300,minimum:0,units:"milliseconds"},delay:{type:"number",default:0,minimum:0,units:"milliseconds"}},"property-type":{"data-driven":{type:"property-type"},"cross-faded":{type:"property-type"},"cross-faded-data-driven":{type:"property-type"},"color-ramp":{type:"property-type"},"data-constant":{type:"property-type"},constant:{type:"property-type"}},promoteId:{"*":{type:"string"}}};const z9=["type","source","source-layer","minzoom","maxzoom","filter","layout"];function Q9(o,e){const r={};for(const i in o)i!=="ref"&&(r[i]=o[i]);return z9.forEach(i=>{i in e&&(r[i]=e[i])}),r}function f7(o,e){if(Array.isArray(o)){if(!Array.isArray(e)||o.length!==e.length)return!1;for(let r=0;r`:o.itemType.kind==="value"?"array":`array<${e}>`}return o.kind}const O=[O3,R4,E7,c7,t9,X3,P9,E(v7),o9,F9,Y];function K(o,e){if(e.kind==="error")return null;if(o.kind==="array"){if(e.kind==="array"&&(e.N===0&&e.itemType.kind==="value"||!K(o.itemType,e.itemType))&&(typeof o.N!="number"||o.N===e.N))return null}else{if(o.kind===e.kind)return null;if(o.kind==="value"){for(const r of O)if(!K(r,e))return null}}return`Expected ${R(o)} but found ${R(e)} instead.`}function o4(o,e){return e.some(r=>r.kind===o.kind)}function i4(o,e){return e.some(r=>r==="null"?o===null:r==="array"?Array.isArray(o):r==="object"?o&&!Array.isArray(o)&&typeof o=="object":r===typeof o)}function l4(o,e){return o.kind==="array"&&e.kind==="array"?o.itemType.kind===e.itemType.kind&&typeof o.N=="number":o.kind===e.kind}const e4=.96422,g4=.82521,v4=4/29,m4=6/29,E4=3*m4*m4,Z4=m4*m4*m4,i7=Math.PI/180,x7=180/Math.PI;function H7(o){return(o%=360)<0&&(o+=360),o}function a7([o,e,r,i]){let s,l;const m=u3((.2225045*(o=r3(o))+.7168786*(e=r3(e))+.0606169*(r=r3(r)))/1);o===e&&e===r?s=l=m:(s=u3((.4360747*o+.3850649*e+.1430804*r)/e4),l=u3((.0139322*o+.0971045*e+.7141733*r)/g4));const d=116*m-16;return[d<0?0:d,500*(s-m),200*(m-l),i]}function r3(o){return o<=.04045?o/12.92:Math.pow((o+.055)/1.055,2.4)}function u3(o){return o>Z4?Math.pow(o,1/3):o/E4+v4}function v3([o,e,r,i]){let s=(o+16)/116,l=isNaN(e)?s:s+e/500,m=isNaN(r)?s:s-r/200;return s=1*Z7(s),l=e4*Z7(l),m=g4*Z7(m),[A7(3.1338561*l-1.6168667*s-.4906146*m),A7(-.9787684*l+1.9161415*s+.033454*m),A7(.0719453*l-.2289914*s+1.4052427*m),i]}function A7(o){return(o=o<=.00304?12.92*o:1.055*Math.pow(o,1/2.4)-.055)<0?0:o>1?1:o}function Z7(o){return o>m4?o*o*o:E4*(o-v4)}function s3(o){return parseInt(o.padEnd(2,o),16)/255}function _3(o,e){return L3(e?o/100:o,0,1)}function L3(o,e,r){return Math.min(Math.max(e,o),r)}function Y3(o){return!o.some(Number.isNaN)}const m6={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]};class $7{constructor(e,r,i,s=1,l=!0){this.r=e,this.g=r,this.b=i,this.a=s,l||(this.r*=s,this.g*=s,this.b*=s,s||this.overwriteGetter("rgb",[e,r,i,s]))}static parse(e){if(e instanceof $7)return e;if(typeof e!="string")return;const r=function(i){if((i=i.toLowerCase().trim())==="transparent")return[0,0,0,0];const s=m6[i];if(s){const[m,d,f]=s;return[m/255,d/255,f/255,1]}if(i.startsWith("#")&&/^#(?:[0-9a-f]{3,4}|[0-9a-f]{6}|[0-9a-f]{8})$/.test(i)){const m=i.length<6?1:2;let d=1;return[s3(i.slice(d,d+=m)),s3(i.slice(d,d+=m)),s3(i.slice(d,d+=m)),s3(i.slice(d,d+m)||"ff")]}if(i.startsWith("rgb")){const m=i.match(/^rgba?\(\s*([\de.+-]+)(%)?(?:\s+|\s*(,)\s*)([\de.+-]+)(%)?(?:\s+|\s*(,)\s*)([\de.+-]+)(%)?(?:\s*([,\/])\s*([\de.+-]+)(%)?)?\s*\)$/);if(m){const[d,f,S,F,b,I,k,D,U,G,$,c4]=m,r4=[F||" ",k||" ",G].join("");if(r4===" "||r4===" /"||r4===",,"||r4===",,,"){const u4=[S,I,U].join(""),_4=u4==="%%%"?100:u4===""?255:0;if(_4){const F4=[L3(+f/_4,0,1),L3(+b/_4,0,1),L3(+D/_4,0,1),$?_3(+$,c4):1];if(Y3(F4))return F4}}return}}const l=i.match(/^hsla?\(\s*([\de.+-]+)(?:deg)?(?:\s+|\s*(,)\s*)([\de.+-]+)%(?:\s+|\s*(,)\s*)([\de.+-]+)%(?:\s*([,\/])\s*([\de.+-]+)(%)?)?\s*\)$/);if(l){const[m,d,f,S,F,b,I,k,D]=l,U=[f||" ",F||" ",I].join("");if(U===" "||U===" /"||U===",,"||U===",,,"){const G=[+d,L3(+S,0,100),L3(+b,0,100),k?_3(+k,D):1];if(Y3(G))return function([$,c4,r4,u4]){function _4(F4){const V4=(F4+$/30)%12,d7=c4*Math.min(r4,1-r4);return r4-d7*Math.max(-1,Math.min(V4-3,9-V4,1))}return $=H7($),c4/=100,r4/=100,[_4(0),_4(8),_4(4),u4]}(G)}}}(e);return r?new $7(...r,!1):void 0}get rgb(){const{r:e,g:r,b:i,a:s}=this,l=s||1/0;return this.overwriteGetter("rgb",[e/l,r/l,i/l,s])}get hcl(){return this.overwriteGetter("hcl",function(e){const[r,i,s,l]=a7(e),m=Math.sqrt(i*i+s*s);return[Math.round(1e4*m)?H7(Math.atan2(s,i)*x7):NaN,m,r,l]}(this.rgb))}get lab(){return this.overwriteGetter("lab",a7(this.rgb))}overwriteGetter(e,r){return Object.defineProperty(this,e,{value:r}),r}toString(){const[e,r,i,s]=this.rgb;return`rgba(${[e,r,i].map(l=>Math.round(255*l)).join(",")},${s})`}}$7.black=new $7(0,0,0,1),$7.white=new $7(1,1,1,1),$7.transparent=new $7(0,0,0,0),$7.red=new $7(1,0,0,1);class R6{constructor(e,r,i){this.sensitivity=e?r?"variant":"case":r?"accent":"base",this.locale=i,this.collator=new Intl.Collator(this.locale?this.locale:[],{sensitivity:this.sensitivity,usage:"search"})}compare(e,r){return this.collator.compare(e,r)}resolvedLocale(){return new Intl.Collator(this.locale?this.locale:[]).resolvedOptions().locale}}class d6{constructor(e,r,i,s,l){this.text=e,this.image=r,this.scale=i,this.fontStack=s,this.textColor=l}}class l3{constructor(e){this.sections=e}static fromString(e){return new l3([new d6(e,null,null,null,null)])}isEmpty(){return this.sections.length===0||!this.sections.some(e=>e.text.length!==0||e.image&&e.image.name.length!==0)}static factory(e){return e instanceof l3?e:l3.fromString(e)}toString(){return this.sections.length===0?"":this.sections.map(e=>e.text).join("")}}class r9{constructor(e){this.values=e.slice()}static parse(e){if(e instanceof r9)return e;if(typeof e=="number")return new r9([e,e,e,e]);if(Array.isArray(e)&&!(e.length<1||e.length>4)){for(const r of e)if(typeof r!="number")return;switch(e.length){case 1:e=[e[0],e[0],e[0],e[0]];break;case 2:e=[e[0],e[1],e[0],e[1]];break;case 3:e=[e[0],e[1],e[2],e[1]]}return new r9(e)}}toString(){return JSON.stringify(this.values)}}const y5=new Set(["center","left","right","top","bottom","top-left","top-right","bottom-left","bottom-right"]);class c9{constructor(e){this.values=e.slice()}static parse(e){if(e instanceof c9)return e;if(Array.isArray(e)&&!(e.length<1)&&e.length%2==0){for(let r=0;r=0&&o<=255&&typeof e=="number"&&e>=0&&e<=255&&typeof r=="number"&&r>=0&&r<=255?i===void 0||typeof i=="number"&&i>=0&&i<=1?null:`Invalid rgba value [${[o,e,r,i].join(", ")}]: 'a' must be between 0 and 1.`:`Invalid rgba value [${(typeof i=="number"?[o,e,r,i]:[o,e,r]).join(", ")}]: 'r', 'g', and 'b' must be between 0 and 255.`}function n9(o){if(o===null||typeof o=="string"||typeof o=="boolean"||typeof o=="number"||o instanceof $7||o instanceof R6||o instanceof l3||o instanceof r9||o instanceof c9||o instanceof W3)return!0;if(Array.isArray(o)){for(const e of o)if(!n9(e))return!1;return!0}if(typeof o=="object"){for(const e in o)if(!n9(o[e]))return!1;return!0}return!1}function _7(o){if(o===null)return O3;if(typeof o=="string")return E7;if(typeof o=="boolean")return c7;if(typeof o=="number")return R4;if(o instanceof $7)return t9;if(o instanceof R6)return v9;if(o instanceof l3)return X3;if(o instanceof r9)return o9;if(o instanceof c9)return Y;if(o instanceof W3)return F9;if(Array.isArray(o)){const e=o.length;let r;for(const i of o){const s=_7(i);if(r){if(r===s)continue;r=v7;break}r=s}return E(r||v7,e)}return P9}function e3(o){const e=typeof o;return o===null?"":e==="string"||e==="number"||e==="boolean"?String(o):o instanceof $7||o instanceof l3||o instanceof r9||o instanceof c9||o instanceof W3?o.toString():JSON.stringify(o)}class k7{constructor(e,r){this.type=e,this.value=r}static parse(e,r){if(e.length!==2)return r.error(`'literal' expression requires exactly one argument, but found ${e.length-1} instead.`);if(!n9(e[1]))return r.error("invalid value");const i=e[1];let s=_7(i);const l=r.expectedType;return s.kind!=="array"||s.N!==0||!l||l.kind!=="array"||typeof l.N=="number"&&l.N!==0||(s=l),new k7(s,i)}evaluate(){return this.value}eachChild(){}outputDefined(){return!0}}class d3{constructor(e){this.name="ExpressionEvaluationError",this.message=e}toJSON(){return this.message}}const g6={string:E7,number:R4,boolean:c7,object:P9};class C9{constructor(e,r){this.type=e,this.args=r}static parse(e,r){if(e.length<2)return r.error("Expected at least one argument.");let i,s=1;const l=e[0];if(l==="array"){let d,f;if(e.length>2){const S=e[1];if(typeof S!="string"||!(S in g6)||S==="object")return r.error('The item type argument of "array" must be one of string, number, boolean',1);d=g6[S],s++}else d=v7;if(e.length>3){if(e[2]!==null&&(typeof e[2]!="number"||e[2]<0||e[2]!==Math.floor(e[2])))return r.error('The length argument to "array" must be a positive integer literal',2);f=e[2],s++}i=E(d,f)}else{if(!g6[l])throw new Error(`Types doesn't contain name = ${l}`);i=g6[l]}const m=[];for(;se.outputDefined())}}const a6={"to-boolean":c7,"to-color":t9,"to-number":R4,"to-string":E7};class $9{constructor(e,r){this.type=e,this.args=r}static parse(e,r){if(e.length<2)return r.error("Expected at least one argument.");const i=e[0];if(!a6[i])throw new Error(`Can't parse ${i} as it is not part of the known types`);if((i==="to-boolean"||i==="to-string")&&e.length!==2)return r.error("Expected one argument.");const s=a6[i],l=[];for(let m=1;m4?`Invalid rbga value ${JSON.stringify(r)}: expected an array containing either three or four numeric values.`:h6(r[0],r[1],r[2],r[3]),!i))return new $7(r[0]/255,r[1]/255,r[2]/255,r[3])}throw new d3(i||`Could not parse color from value '${typeof r=="string"?r:JSON.stringify(r)}'`)}case"padding":{let r;for(const i of this.args){r=i.evaluate(e);const s=r9.parse(r);if(s)return s}throw new d3(`Could not parse padding from value '${typeof r=="string"?r:JSON.stringify(r)}'`)}case"variableAnchorOffsetCollection":{let r;for(const i of this.args){r=i.evaluate(e);const s=c9.parse(r);if(s)return s}throw new d3(`Could not parse variableAnchorOffsetCollection from value '${typeof r=="string"?r:JSON.stringify(r)}'`)}case"number":{let r=null;for(const i of this.args){if(r=i.evaluate(e),r===null)return 0;const s=Number(r);if(!isNaN(s))return s}throw new d3(`Could not convert ${JSON.stringify(r)} to number.`)}case"formatted":return l3.fromString(e3(this.args[0].evaluate(e)));case"resolvedImage":return W3.fromString(e3(this.args[0].evaluate(e)));default:return e3(this.args[0].evaluate(e))}}eachChild(e){this.args.forEach(e)}outputDefined(){return this.args.every(e=>e.outputDefined())}}const E6=["Unknown","Point","LineString","Polygon"];class k6{constructor(){this.globals=null,this.feature=null,this.featureState=null,this.formattedSection=null,this._parseColorCache={},this.availableImages=null,this.canonical=null}id(){return this.feature&&"id"in this.feature?this.feature.id:null}geometryType(){return this.feature?typeof this.feature.type=="number"?E6[this.feature.type]:this.feature.type:null}geometry(){return this.feature&&"geometry"in this.feature?this.feature.geometry:null}canonicalID(){return this.canonical}properties(){return this.feature&&this.feature.properties||{}}parseColor(e){let r=this._parseColorCache[e];return r||(r=this._parseColorCache[e]=$7.parse(e)),r}}class e6{constructor(e,r,i=[],s,l=new w9,m=[]){this.registry=e,this.path=i,this.key=i.map(d=>`[${d}]`).join(""),this.scope=l,this.errors=m,this.expectedType=s,this._isConstant=r}parse(e,r,i,s,l={}){return r?this.concat(r,i,s)._parse(e,l):this._parse(e,l)}_parse(e,r){function i(s,l,m){return m==="assert"?new C9(l,[s]):m==="coerce"?new $9(l,[s]):s}if(e!==null&&typeof e!="string"&&typeof e!="boolean"&&typeof e!="number"||(e=["literal",e]),Array.isArray(e)){if(e.length===0)return this.error('Expected an array with at least one element. If you wanted a literal array, use ["literal", []].');const s=e[0];if(typeof s!="string")return this.error(`Expression name must be a string, but found ${typeof s} instead. If you wanted a literal array, use ["literal", [...]].`,0),null;const l=this.registry[s];if(l){let m=l.parse(e,this);if(!m)return null;if(this.expectedType){const d=this.expectedType,f=m.type;if(d.kind!=="string"&&d.kind!=="number"&&d.kind!=="boolean"&&d.kind!=="object"&&d.kind!=="array"||f.kind!=="value")if(d.kind!=="color"&&d.kind!=="formatted"&&d.kind!=="resolvedImage"||f.kind!=="value"&&f.kind!=="string")if(d.kind!=="padding"||f.kind!=="value"&&f.kind!=="number"&&f.kind!=="array")if(d.kind!=="variableAnchorOffsetCollection"||f.kind!=="value"&&f.kind!=="array"){if(this.checkSubtype(d,f))return null}else m=i(m,d,r.typeAnnotation||"coerce");else m=i(m,d,r.typeAnnotation||"coerce");else m=i(m,d,r.typeAnnotation||"coerce");else m=i(m,d,r.typeAnnotation||"assert")}if(!(m instanceof k7)&&m.type.kind!=="resolvedImage"&&this._isConstant(m)){const d=new k6;try{m=new k7(m.type,m.evaluate(d))}catch(f){return this.error(f.message),null}}return m}return this.error(`Unknown expression "${s}". If you wanted a literal array, use ["literal", [...]].`,0)}return this.error(e===void 0?"'undefined' value invalid. Use null instead.":typeof e=="object"?'Bare objects invalid. Use ["literal", {...}] instead.':`Expected an array, but found ${typeof e} instead.`)}concat(e,r,i){const s=typeof e=="number"?this.path.concat(e):this.path,l=i?this.scope.concat(i):this.scope;return new e6(this.registry,this._isConstant,s,r||null,l,this.errors)}error(e,...r){const i=`${this.key}${r.map(s=>`[${s}]`).join("")}`;this.errors.push(new U3(i,e))}checkSubtype(e,r){const i=K(e,r);return i&&this.error(i),i}}class J7{constructor(e,r){this.type=r.type,this.bindings=[].concat(e),this.result=r}evaluate(e){return this.result.evaluate(e)}eachChild(e){for(const r of this.bindings)e(r[1]);e(this.result)}static parse(e,r){if(e.length<4)return r.error(`Expected at least 3 arguments, but found ${e.length-1} instead.`);const i=[];for(let l=1;l=i.length)throw new d3(`Array index out of bounds: ${r} > ${i.length-1}.`);if(r!==Math.floor(r))throw new d3(`Array index must be an integer, but found ${r} instead.`);return i[r]}eachChild(e){e(this.index),e(this.input)}outputDefined(){return!1}}class L7{constructor(e,r){this.type=c7,this.needle=e,this.haystack=r}static parse(e,r){if(e.length!==3)return r.error(`Expected 2 arguments, but found ${e.length-1} instead.`);const i=r.parse(e[1],1,v7),s=r.parse(e[2],2,v7);return i&&s?o4(i.type,[c7,E7,R4,O3,v7])?new L7(i,s):r.error(`Expected first argument to be of type boolean, string, number or null, but found ${R(i.type)} instead`):null}evaluate(e){const r=this.needle.evaluate(e),i=this.haystack.evaluate(e);if(!i)return!1;if(!i4(r,["boolean","string","number","null"]))throw new d3(`Expected first argument to be of type boolean, string, number or null, but found ${R(_7(r))} instead.`);if(!i4(i,["string","array"]))throw new d3(`Expected second argument to be of type array or string, but found ${R(_7(i))} instead.`);return i.indexOf(r)>=0}eachChild(e){e(this.needle),e(this.haystack)}outputDefined(){return!0}}class y9{constructor(e,r,i){this.type=R4,this.needle=e,this.haystack=r,this.fromIndex=i}static parse(e,r){if(e.length<=2||e.length>=5)return r.error(`Expected 3 or 4 arguments, but found ${e.length-1} instead.`);const i=r.parse(e[1],1,v7),s=r.parse(e[2],2,v7);if(!i||!s)return null;if(!o4(i.type,[c7,E7,R4,O3,v7]))return r.error(`Expected first argument to be of type boolean, string, number or null, but found ${R(i.type)} instead`);if(e.length===4){const l=r.parse(e[3],3,R4);return l?new y9(i,s,l):null}return new y9(i,s)}evaluate(e){const r=this.needle.evaluate(e),i=this.haystack.evaluate(e);if(!i4(r,["boolean","string","number","null"]))throw new d3(`Expected first argument to be of type boolean, string, number or null, but found ${R(_7(r))} instead.`);if(!i4(i,["string","array"]))throw new d3(`Expected second argument to be of type array or string, but found ${R(_7(i))} instead.`);if(this.fromIndex){const s=this.fromIndex.evaluate(e);return i.indexOf(r,s)}return i.indexOf(r)}eachChild(e){e(this.needle),e(this.haystack),this.fromIndex&&e(this.fromIndex)}outputDefined(){return!1}}class B9{constructor(e,r,i,s,l,m){this.inputType=e,this.type=r,this.input=i,this.cases=s,this.outputs=l,this.otherwise=m}static parse(e,r){if(e.length<5)return r.error(`Expected at least 4 arguments, but found only ${e.length-1}.`);if(e.length%2!=1)return r.error("Expected an even number of arguments.");let i,s;r.expectedType&&r.expectedType.kind!=="value"&&(s=r.expectedType);const l={},m=[];for(let S=2;SNumber.MAX_SAFE_INTEGER)return I.error(`Branch labels must be integers no larger than ${Number.MAX_SAFE_INTEGER}.`);if(typeof D=="number"&&Math.floor(D)!==D)return I.error("Numeric branch labels must be integer values.");if(i){if(I.checkSubtype(i,_7(D)))return null}else i=_7(D);if(l[String(D)]!==void 0)return I.error("Branch labels must be unique.");l[String(D)]=m.length}const k=r.parse(b,S,s);if(!k)return null;s=s||k.type,m.push(k)}const d=r.parse(e[1],1,v7);if(!d)return null;const f=r.parse(e[e.length-1],e.length-1,s);return f?d.type.kind!=="value"&&r.concat(1).checkSubtype(i,d.type)?null:new B9(i,s,d,l,m,f):null}evaluate(e){const r=this.input.evaluate(e);return(_7(r)===this.inputType&&this.outputs[this.cases[r]]||this.otherwise).evaluate(e)}eachChild(e){e(this.input),this.outputs.forEach(e),e(this.otherwise)}outputDefined(){return this.outputs.every(e=>e.outputDefined())&&this.otherwise.outputDefined()}}class i9{constructor(e,r,i){this.type=e,this.branches=r,this.otherwise=i}static parse(e,r){if(e.length<4)return r.error(`Expected at least 3 arguments, but found only ${e.length-1}.`);if(e.length%2!=0)return r.error("Expected an odd number of arguments.");let i;r.expectedType&&r.expectedType.kind!=="value"&&(i=r.expectedType);const s=[];for(let m=1;mr.outputDefined())&&this.otherwise.outputDefined()}}class W6{constructor(e,r,i,s){this.type=e,this.input=r,this.beginIndex=i,this.endIndex=s}static parse(e,r){if(e.length<=2||e.length>=5)return r.error(`Expected 3 or 4 arguments, but found ${e.length-1} instead.`);const i=r.parse(e[1],1,v7),s=r.parse(e[2],2,R4);if(!i||!s)return null;if(!o4(i.type,[E(v7),E7,v7]))return r.error(`Expected first argument to be of type array or string, but found ${R(i.type)} instead`);if(e.length===4){const l=r.parse(e[3],3,R4);return l?new W6(i.type,i,s,l):null}return new W6(i.type,i,s)}evaluate(e){const r=this.input.evaluate(e),i=this.beginIndex.evaluate(e);if(!i4(r,["string","array"]))throw new d3(`Expected first argument to be of type array or string, but found ${R(_7(r))} instead.`);if(this.endIndex){const s=this.endIndex.evaluate(e);return r.slice(i,s)}return r.slice(i)}eachChild(e){e(this.input),e(this.beginIndex),this.endIndex&&e(this.endIndex)}outputDefined(){return!1}}function L6(o,e){const r=o.length-1;let i,s,l=0,m=r,d=0;for(;l<=m;)if(d=Math.floor((l+m)/2),i=o[d],s=o[d+1],i<=e){if(d===r||ee))throw new d3("Input is not a number.");m=d-1}return 0}class z6{constructor(e,r,i){this.type=e,this.input=r,this.labels=[],this.outputs=[];for(const[s,l]of i)this.labels.push(s),this.outputs.push(l)}static parse(e,r){if(e.length-1<4)return r.error(`Expected at least 4 arguments, but found only ${e.length-1}.`);if((e.length-1)%2!=0)return r.error("Expected an even number of arguments.");const i=r.parse(e[1],1,R4);if(!i)return null;const s=[];let l=null;r.expectedType&&r.expectedType.kind!=="value"&&(l=r.expectedType);for(let m=1;m=d)return r.error('Input/output pairs for "step" expressions must be arranged with input values in strictly ascending order.',S);const b=r.parse(f,F,l);if(!b)return null;l=l||b.type,s.push([d,b])}return new z6(l,i,s)}evaluate(e){const r=this.labels,i=this.outputs;if(r.length===1)return i[0].evaluate(e);const s=this.input.evaluate(e);if(s<=r[0])return i[0].evaluate(e);const l=r.length;return s>=r[l-1]?i[l-1].evaluate(e):i[L6(r,s)].evaluate(e)}eachChild(e){e(this.input);for(const r of this.outputs)e(r)}outputDefined(){return this.outputs.every(e=>e.outputDefined())}}function fe(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o}var _e=X1;function X1(o,e,r,i){this.cx=3*o,this.bx=3*(r-o)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*e,this.by=3*(i-e)-this.cy,this.ay=1-this.cy-this.by,this.p1x=o,this.p1y=e,this.p2x=r,this.p2y=i}X1.prototype={sampleCurveX:function(o){return((this.ax*o+this.bx)*o+this.cx)*o},sampleCurveY:function(o){return((this.ay*o+this.by)*o+this.cy)*o},sampleCurveDerivativeX:function(o){return(3*this.ax*o+2*this.bx)*o+this.cx},solveCurveX:function(o,e){if(e===void 0&&(e=1e-6),o<0)return 0;if(o>1)return 1;for(var r=o,i=0;i<8;i++){var s=this.sampleCurveX(r)-o;if(Math.abs(s)s?m=r:d=r,r=.5*(d-m)+m;return r},solve:function(o,e){return this.sampleCurveY(this.solveCurveX(o,e))}};var Pe=fe(_e);function $6(o,e,r){return o+r*(e-o)}function e2(o,e,r){return o.map((i,s)=>$6(i,e[s],r))}const t6={number:$6,color:function(o,e,r,i="rgb"){switch(i){case"rgb":{const[s,l,m,d]=e2(o.rgb,e.rgb,r);return new $7(s,l,m,d,!1)}case"hcl":{const[s,l,m,d]=o.hcl,[f,S,F,b]=e.hcl;let I,k;if(isNaN(s)||isNaN(f))isNaN(s)?isNaN(f)?I=NaN:(I=f,m!==1&&m!==0||(k=S)):(I=s,F!==1&&F!==0||(k=l));else{let c4=f-s;f>s&&c4>180?c4-=360:f180&&(c4+=360),I=s+r*c4}const[D,U,G,$]=function([c4,r4,u4,_4]){return c4=isNaN(c4)?0:c4*i7,v3([u4,Math.cos(c4)*r4,Math.sin(c4)*r4,_4])}([I,k??$6(l,S,r),$6(m,F,r),$6(d,b,r)]);return new $7(D,U,G,$,!1)}case"lab":{const[s,l,m,d]=v3(e2(o.lab,e.lab,r));return new $7(s,l,m,d,!1)}}},array:e2,padding:function(o,e,r){return new r9(e2(o.values,e.values,r))},variableAnchorOffsetCollection:function(o,e,r){const i=o.values,s=e.values;if(i.length!==s.length)throw new d3(`Cannot interpolate values of different length. from: ${o.toString()}, to: ${e.toString()}`);const l=[];for(let m=0;mtypeof F!="number"||F<0||F>1))return r.error("Cubic bezier interpolation requires four numeric arguments with values between 0 and 1.",1);s={name:"cubic-bezier",controlPoints:S}}}if(e.length-1<4)return r.error(`Expected at least 4 arguments, but found only ${e.length-1}.`);if((e.length-1)%2!=0)return r.error("Expected an even number of arguments.");if(l=r.parse(l,2,R4),!l)return null;const d=[];let f=null;i==="interpolate-hcl"||i==="interpolate-lab"?f=t9:r.expectedType&&r.expectedType.kind!=="value"&&(f=r.expectedType);for(let S=0;S=F)return r.error('Input/output pairs for "interpolate" expressions must be arranged with input values in strictly ascending order.',I);const D=r.parse(b,k,f);if(!D)return null;f=f||D.type,d.push([F,D])}return l4(f,R4)||l4(f,t9)||l4(f,o9)||l4(f,Y)||l4(f,E(R4))?new o6(f,i,s,l,d):r.error(`Type ${R(f)} is not interpolatable.`)}evaluate(e){const r=this.labels,i=this.outputs;if(r.length===1)return i[0].evaluate(e);const s=this.input.evaluate(e);if(s<=r[0])return i[0].evaluate(e);const l=r.length;if(s>=r[l-1])return i[l-1].evaluate(e);const m=L6(r,s),d=o6.interpolationFactor(this.interpolation,s,r[m],r[m+1]),f=i[m].evaluate(e),S=i[m+1].evaluate(e);switch(this.operator){case"interpolate":return t6[this.type.kind](f,S,d);case"interpolate-hcl":return t6.color(f,S,d,"hcl");case"interpolate-lab":return t6.color(f,S,d,"lab")}}eachChild(e){e(this.input);for(const r of this.outputs)e(r)}outputDefined(){return this.outputs.every(e=>e.outputDefined())}}function t2(o,e,r,i){const s=i-r,l=o-r;return s===0?0:e===1?l/s:(Math.pow(e,l)-1)/(Math.pow(e,s)-1)}class b2{constructor(e,r){this.type=e,this.args=r}static parse(e,r){if(e.length<2)return r.error("Expectected at least one argument.");let i=null;const s=r.expectedType;s&&s.kind!=="value"&&(i=s);const l=[];for(const d of e.slice(1)){const f=r.parse(d,1+l.length,i,void 0,{typeAnnotation:"omit"});if(!f)return null;i=i||f.type,l.push(f)}if(!i)throw new Error("No output type");const m=s&&l.some(d=>K(s,d.type));return new b2(m?v7:i,l)}evaluate(e){let r,i=null,s=0;for(const l of this.args)if(s++,i=l.evaluate(e),i&&i instanceof W3&&!i.available&&(r||(r=i.name),i=null,s===this.args.length&&(i=r)),i!==null)break;return i}eachChild(e){this.args.forEach(e)}outputDefined(){return this.args.every(e=>e.outputDefined())}}function Q1(o,e){return o==="=="||o==="!="?e.kind==="boolean"||e.kind==="string"||e.kind==="number"||e.kind==="null"||e.kind==="value":e.kind==="string"||e.kind==="number"||e.kind==="value"}function $1(o,e,r,i){return i.compare(e,r)===0}function m5(o,e,r){const i=o!=="=="&&o!=="!=";return class dn{constructor(l,m,d){this.type=c7,this.lhs=l,this.rhs=m,this.collator=d,this.hasUntypedArgument=l.type.kind==="value"||m.type.kind==="value"}static parse(l,m){if(l.length!==3&&l.length!==4)return m.error("Expected two or three arguments.");const d=l[0];let f=m.parse(l[1],1,v7);if(!f)return null;if(!Q1(d,f.type))return m.concat(1).error(`"${d}" comparisons are not supported for type '${R(f.type)}'.`);let S=m.parse(l[2],2,v7);if(!S)return null;if(!Q1(d,S.type))return m.concat(2).error(`"${d}" comparisons are not supported for type '${R(S.type)}'.`);if(f.type.kind!==S.type.kind&&f.type.kind!=="value"&&S.type.kind!=="value")return m.error(`Cannot compare types '${R(f.type)}' and '${R(S.type)}'.`);i&&(f.type.kind==="value"&&S.type.kind!=="value"?f=new C9(S.type,[f]):f.type.kind!=="value"&&S.type.kind==="value"&&(S=new C9(f.type,[S])));let F=null;if(l.length===4){if(f.type.kind!=="string"&&S.type.kind!=="string"&&f.type.kind!=="value"&&S.type.kind!=="value")return m.error("Cannot use collator to compare non-string types.");if(F=m.parse(l[3],3,v9),!F)return null}return new dn(f,S,F)}evaluate(l){const m=this.lhs.evaluate(l),d=this.rhs.evaluate(l);if(i&&this.hasUntypedArgument){const f=_7(m),S=_7(d);if(f.kind!==S.kind||f.kind!=="string"&&f.kind!=="number")throw new d3(`Expected arguments for "${o}" to be (string, string) or (number, number), but found (${f.kind}, ${S.kind}) instead.`)}if(this.collator&&!i&&this.hasUntypedArgument){const f=_7(m),S=_7(d);if(f.kind!=="string"||S.kind!=="string")return e(l,m,d)}return this.collator?r(l,m,d,this.collator.evaluate(l)):e(l,m,d)}eachChild(l){l(this.lhs),l(this.rhs),this.collator&&l(this.collator)}outputDefined(){return!0}}}const e0=m5("==",function(o,e,r){return e===r},$1),Ce=m5("!=",function(o,e,r){return e!==r},function(o,e,r,i){return!$1(0,e,r,i)}),Me=m5("<",function(o,e,r){return e",function(o,e,r){return e>r},function(o,e,r,i){return i.compare(e,r)>0}),o0=m5("<=",function(o,e,r){return e<=r},function(o,e,r,i){return i.compare(e,r)<=0}),Te=m5(">=",function(o,e,r){return e>=r},function(o,e,r,i){return i.compare(e,r)>=0});class A2{constructor(e,r,i){this.type=v9,this.locale=i,this.caseSensitive=e,this.diacriticSensitive=r}static parse(e,r){if(e.length!==2)return r.error("Expected one argument.");const i=e[1];if(typeof i!="object"||Array.isArray(i))return r.error("Collator options argument must be an object.");const s=r.parse(i["case-sensitive"]!==void 0&&i["case-sensitive"],1,c7);if(!s)return null;const l=r.parse(i["diacritic-sensitive"]!==void 0&&i["diacritic-sensitive"],1,c7);if(!l)return null;let m=null;return i.locale&&(m=r.parse(i.locale,1,E7),!m)?null:new A2(s,l,m)}evaluate(e){return new R6(this.caseSensitive.evaluate(e),this.diacriticSensitive.evaluate(e),this.locale?this.locale.evaluate(e):null)}eachChild(e){e(this.caseSensitive),e(this.diacriticSensitive),this.locale&&e(this.locale)}outputDefined(){return!1}}class S8{constructor(e,r,i,s,l){this.type=E7,this.number=e,this.locale=r,this.currency=i,this.minFractionDigits=s,this.maxFractionDigits=l}static parse(e,r){if(e.length!==3)return r.error("Expected two arguments.");const i=r.parse(e[1],1,R4);if(!i)return null;const s=e[2];if(typeof s!="object"||Array.isArray(s))return r.error("NumberFormat options argument must be an object.");let l=null;if(s.locale&&(l=r.parse(s.locale,1,E7),!l))return null;let m=null;if(s.currency&&(m=r.parse(s.currency,1,E7),!m))return null;let d=null;if(s["min-fraction-digits"]&&(d=r.parse(s["min-fraction-digits"],1,R4),!d))return null;let f=null;return s["max-fraction-digits"]&&(f=r.parse(s["max-fraction-digits"],1,R4),!f)?null:new S8(i,l,m,d,f)}evaluate(e){return new Intl.NumberFormat(this.locale?this.locale.evaluate(e):[],{style:this.currency?"currency":"decimal",currency:this.currency?this.currency.evaluate(e):void 0,minimumFractionDigits:this.minFractionDigits?this.minFractionDigits.evaluate(e):void 0,maximumFractionDigits:this.maxFractionDigits?this.maxFractionDigits.evaluate(e):void 0}).format(this.number.evaluate(e))}eachChild(e){e(this.number),this.locale&&e(this.locale),this.currency&&e(this.currency),this.minFractionDigits&&e(this.minFractionDigits),this.maxFractionDigits&&e(this.maxFractionDigits)}outputDefined(){return!1}}class N2{constructor(e){this.type=X3,this.sections=e}static parse(e,r){if(e.length<2)return r.error("Expected at least one argument.");const i=e[1];if(!Array.isArray(i)&&typeof i=="object")return r.error("First argument must be an image or text section.");const s=[];let l=!1;for(let m=1;m<=e.length-1;++m){const d=e[m];if(l&&typeof d=="object"&&!Array.isArray(d)){l=!1;let f=null;if(d["font-scale"]&&(f=r.parse(d["font-scale"],1,R4),!f))return null;let S=null;if(d["text-font"]&&(S=r.parse(d["text-font"],1,E(E7)),!S))return null;let F=null;if(d["text-color"]&&(F=r.parse(d["text-color"],1,t9),!F))return null;const b=s[s.length-1];b.scale=f,b.font=S,b.textColor=F}else{const f=r.parse(e[m],1,v7);if(!f)return null;const S=f.type.kind;if(S!=="string"&&S!=="value"&&S!=="null"&&S!=="resolvedImage")return r.error("Formatted text type must be 'string', 'value', 'image' or 'null'.");l=!0,s.push({content:f,scale:null,font:null,textColor:null})}}return new N2(s)}evaluate(e){return new l3(this.sections.map(r=>{const i=r.content.evaluate(e);return _7(i)===F9?new d6("",i,null,null,null):new d6(e3(i),null,r.scale?r.scale.evaluate(e):null,r.font?r.font.evaluate(e).join(","):null,r.textColor?r.textColor.evaluate(e):null)}))}eachChild(e){for(const r of this.sections)e(r.content),r.scale&&e(r.scale),r.font&&e(r.font),r.textColor&&e(r.textColor)}outputDefined(){return!1}}class w8{constructor(e){this.type=F9,this.input=e}static parse(e,r){if(e.length!==2)return r.error("Expected two arguments.");const i=r.parse(e[1],1,E7);return i?new w8(i):r.error("No image name provided.")}evaluate(e){const r=this.input.evaluate(e),i=W3.fromString(r);return i&&e.availableImages&&(i.available=e.availableImages.indexOf(r)>-1),i}eachChild(e){e(this.input)}outputDefined(){return!1}}class v8{constructor(e){this.type=R4,this.input=e}static parse(e,r){if(e.length!==2)return r.error(`Expected 1 argument, but found ${e.length-1} instead.`);const i=r.parse(e[1],1);return i?i.type.kind!=="array"&&i.type.kind!=="string"&&i.type.kind!=="value"?r.error(`Expected argument of type string or array, but found ${R(i.type)} instead.`):new v8(i):null}evaluate(e){const r=this.input.evaluate(e);if(typeof r=="string"||Array.isArray(r))return r.length;throw new d3(`Expected value to be of type string or array, but found ${R(_7(r))} instead.`)}eachChild(e){e(this.input)}outputDefined(){return!1}}const D6=8192;function F8(o,e){const r=(180+o[0])/360,i=(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+o[1]*Math.PI/360)))/360,s=Math.pow(2,e.z);return[Math.round(r*s*D6),Math.round(i*s*D6)]}function N5(o,e){const r=Math.pow(2,e.z);return[(s=(o[0]/D6+e.x)/r,360*s-180),(i=(o[1]/D6+e.y)/r,360/Math.PI*Math.atan(Math.exp((180-360*i)*Math.PI/180))-90)];var i,s}function t3(o,e){o[0]=Math.min(o[0],e[0]),o[1]=Math.min(o[1],e[1]),o[2]=Math.max(o[2],e[0]),o[3]=Math.max(o[3],e[1])}function o2(o,e){return!(o[0]<=e[0]||o[2]>=e[2]||o[1]<=e[1]||o[3]>=e[3])}function Se(o,e,r){const i=o[0]-e[0],s=o[1]-e[1],l=o[0]-r[0],m=o[1]-r[1];return i*m-l*s==0&&i*l<=0&&s*m<=0}function I2(o,e,r,i){return(s=[i[0]-r[0],i[1]-r[1]])[0]*(l=[e[0]-o[0],e[1]-o[1]])[1]-s[1]*l[0]!=0&&!(!n0(o,e,r,i)||!n0(r,i,o,e));var s,l}function we(o,e,r){for(const i of r)for(let s=0;s(s=o)[1]!=(m=d[f+1])[1]>s[1]&&s[0]<(m[0]-l[0])*(s[1]-l[1])/(m[1]-l[1])+l[0]&&(i=!i)}var s,l,m;return i}function ve(o,e){for(const r of e)if(I5(o,r))return!0;return!1}function r0(o,e){for(const r of o)if(!I5(r,e))return!1;for(let r=0;r0&&d<0||m<0&&d>0}function x8(o,e,r){const i=[];for(let s=0;sr[2]){const s=.5*i;let l=o[0]-r[0]>s?-i:r[0]-o[0]>s?i:0;l===0&&(l=o[0]-r[2]>s?-i:r[2]-o[0]>s?i:0),o[0]+=l}t3(e,o)}function s0(o,e,r,i){const s=Math.pow(2,i.z)*D6,l=[i.x*D6,i.y*D6],m=[];for(const d of o)for(const f of d){const S=[f.x+l[0],f.y+l[1]];a0(S,e,r,s),m.push(S)}return m}function u0(o,e,r,i){const s=Math.pow(2,i.z)*D6,l=[i.x*D6,i.y*D6],m=[];for(const f of o){const S=[];for(const F of f){const b=[F.x+l[0],F.y+l[1]];t3(e,b),S.push(b)}m.push(S)}if(e[2]-e[0]<=s/2){(d=e)[0]=d[1]=1/0,d[2]=d[3]=-1/0;for(const f of m)for(const S of f)a0(S,e,r,s)}var d;return m}class d5{constructor(e,r){this.type=c7,this.geojson=e,this.geometries=r}static parse(e,r){if(e.length!==2)return r.error(`'within' expression requires exactly one argument, but found ${e.length-1} instead.`);if(n9(e[1])){const i=e[1];if(i.type==="FeatureCollection"){const s=[];for(const l of i.features){const{type:m,coordinates:d}=l.geometry;m==="Polygon"&&s.push(d),m==="MultiPolygon"&&s.push(...d)}if(s.length)return new d5(i,{type:"MultiPolygon",coordinates:s})}else if(i.type==="Feature"){const s=i.geometry.type;if(s==="Polygon"||s==="MultiPolygon")return new d5(i,i.geometry)}else if(i.type==="Polygon"||i.type==="MultiPolygon")return new d5(i,i)}return r.error("'within' expression requires valid geojson object that contains polygon geometry type.")}evaluate(e){if(e.geometry()!=null&&e.canonicalID()!=null){if(e.geometryType()==="Point")return function(r,i){const s=[1/0,1/0,-1/0,-1/0],l=[1/0,1/0,-1/0,-1/0],m=r.canonicalID();if(i.type==="Polygon"){const d=x8(i.coordinates,l,m),f=s0(r.geometry(),s,l,m);if(!o2(s,l))return!1;for(const S of f)if(!I5(S,d))return!1}if(i.type==="MultiPolygon"){const d=i0(i.coordinates,l,m),f=s0(r.geometry(),s,l,m);if(!o2(s,l))return!1;for(const S of f)if(!ve(S,d))return!1}return!0}(e,this.geometries);if(e.geometryType()==="LineString")return function(r,i){const s=[1/0,1/0,-1/0,-1/0],l=[1/0,1/0,-1/0,-1/0],m=r.canonicalID();if(i.type==="Polygon"){const d=x8(i.coordinates,l,m),f=u0(r.geometry(),s,l,m);if(!o2(s,l))return!1;for(const S of f)if(!r0(S,d))return!1}if(i.type==="MultiPolygon"){const d=i0(i.coordinates,l,m),f=u0(r.geometry(),s,l,m);if(!o2(s,l))return!1;for(const S of f)if(!Fe(S,d))return!1}return!0}(e,this.geometries)}return!1}eachChild(){}outputDefined(){return!0}}let p0=class{constructor(o=[],e=xe){if(this.data=o,this.length=this.data.length,this.compare=e,this.length>0)for(let r=(this.length>>1)-1;r>=0;r--)this._down(r)}push(o){this.data.push(o),this.length++,this._up(this.length-1)}pop(){if(this.length===0)return;const o=this.data[0],e=this.data.pop();return this.length--,this.length>0&&(this.data[0]=e,this._down(0)),o}peek(){return this.data[0]}_up(o){const{data:e,compare:r}=this,i=e[o];for(;o>0;){const s=o-1>>1,l=e[s];if(r(i,l)>=0)break;e[o]=l,o=s}e[o]=i}_down(o){const{data:e,compare:r}=this,i=this.length>>1,s=e[o];for(;o=0)break;e[o]=m,o=l}e[o]=s}};function xe(o,e){return oe?1:0}function be(o,e,r,i,s){l0(o,e,r,i||o.length-1,s||Ae)}function l0(o,e,r,i,s){for(;i>r;){if(i-r>600){var l=i-r+1,m=e-r+1,d=Math.log(l),f=.5*Math.exp(2*d/3),S=.5*Math.sqrt(d*f*(l-f)/l)*(m-l/2<0?-1:1);l0(o,e,Math.max(r,Math.floor(e-m*f/l+S)),Math.min(i,Math.floor(e+(l-m)*f/l+S)),s)}var F=o[e],b=r,I=i;for(r2(o,r,e),s(o[i],F)>0&&r2(o,r,i);b0;)I--}s(o[r],F)===0?r2(o,r,I):r2(o,++I,i),I<=e&&(r=I+1),e<=I&&(i=I-1)}}function r2(o,e,r){var i=o[e];o[e]=o[r],o[r]=i}function Ae(o,e){return oe?1:0}function R2(o,e){if(o.length<=1)return[o];const r=[];let i,s;for(const l of o){const m=Ie(l);m!==0&&(l.area=Math.abs(m),s===void 0&&(s=m<0),s===m<0?(i&&r.push(i),i=[l]):i.push(l))}if(i&&r.push(i),e>1)for(let l=0;l1?(S=e[f+1][0],F=e[f+1][1]):k>0&&(S+=b/this.kx*k,F+=I/this.ky*k)),b=this.wrap(r[0]-S)*this.kx,I=(r[1]-F)*this.ky;const D=b*b+I*I;D180;)e-=360;return e}}function d0(o,e){return e[0]-o[0]}function E2(o){return o[1]-o[0]+1}function q6(o,e){return o[1]>=o[0]&&o[1]o[1])return[null,null];const r=E2(o);if(e){if(r===2)return[o,null];const s=Math.floor(r/2);return[[o[0],o[0]+s],[o[0]+s,o[1]]]}if(r===1)return[o,null];const i=Math.floor(r/2)-1;return[[o[0],o[0]+i],[o[0]+i+1,o[1]]]}function A8(o,e){if(!q6(e,o.length))return[1/0,1/0,-1/0,-1/0];const r=[1/0,1/0,-1/0,-1/0];for(let i=e[0];i<=e[1];++i)t3(r,o[i]);return r}function N8(o){const e=[1/0,1/0,-1/0,-1/0];for(const r of o)for(const i of r)t3(e,i);return e}function h0(o){return o[0]!==-1/0&&o[1]!==-1/0&&o[2]!==1/0&&o[3]!==1/0}function I8(o,e,r){if(!h0(o)||!h0(e))return NaN;let i=0,s=0;return o[2]e[2]&&(i=o[0]-e[2]),o[1]>e[3]&&(s=o[1]-e[3]),o[3]=i)return i;if(o2(s,l)){if(i2(o,e))return 0}else if(i2(e,o))return 0;let m=1/0;for(const d of o)for(let f=0,S=d.length,F=S-1;f0;){const f=m.pop();if(f[0]>=l)continue;const S=f[1],F=e?50:100;if(E2(S)<=F){if(!q6(S,o.length))return NaN;if(e){const b=F3(o,S,r,i);if(isNaN(b)||b===0)return b;l=Math.min(l,b)}else for(let b=S[0];b<=S[1];++b){const I=D3(o[b],r,i);if(l=Math.min(l,I),l===0)return 0}}else{const b=n2(S,e);k8(m,l,i,o,d,b[0]),k8(m,l,i,o,d,b[1])}}return l}function D2(o,e,r,i,s,l=1/0){let m=Math.min(l,s.distance(o[0],r[0]));if(m===0)return m;const d=new p0([[0,[0,o.length-1],[0,r.length-1]]],d0);for(;d.length>0;){const f=d.pop();if(f[0]>=m)continue;const S=f[1],F=f[2],b=e?50:100,I=i?50:100;if(E2(S)<=b&&E2(F)<=I){if(!q6(S,o.length)&&q6(F,r.length))return NaN;let k;if(e&&i)k=K7(o,S,r,F,s),m=Math.min(m,k);else if(e&&!i){const D=o.slice(S[0],S[1]+1);for(let U=F[0];U<=F[1];++U)if(k=C3(r[U],D,s),m=Math.min(m,k),m===0)return m}else if(!e&&i){const D=r.slice(F[0],F[1]+1);for(let U=S[0];U<=S[1];++U)if(k=C3(o[U],D,s),m=Math.min(m,k),m===0)return m}else k=E8(o,S,r,F,s),m=Math.min(m,k)}else{const k=n2(S,e),D=n2(F,i);k2(d,m,s,o,r,k[0],D[0]),k2(d,m,s,o,r,k[0],D[1]),k2(d,m,s,o,r,k[1],D[0]),k2(d,m,s,o,r,k[1],D[1])}}return m}function L8(o){return o.type==="MultiPolygon"?o.coordinates.map(e=>({type:"Polygon",coordinates:e})):o.type==="MultiLineString"?o.coordinates.map(e=>({type:"LineString",coordinates:e})):o.type==="MultiPoint"?o.coordinates.map(e=>({type:"Point",coordinates:e})):[o]}class e5{constructor(e,r){this.type=R4,this.geojson=e,this.geometries=r}static parse(e,r){if(e.length!==2)return r.error(`'distance' expression requires exactly one argument, but found ${e.length-1} instead.`);if(n9(e[1])){const i=e[1];if(i.type==="FeatureCollection")return new e5(i,i.features.map(s=>L8(s.geometry)).flat());if(i.type==="Feature")return new e5(i,L8(i.geometry));if("type"in i&&"coordinates"in i)return new e5(i,L8(i))}return r.error("'distance' expression requires valid geojson object that contains polygon geometry type.")}evaluate(e){if(e.geometry()!=null&&e.canonicalID()!=null){if(e.geometryType()==="Point")return function(r,i){const s=r.geometry(),l=s.flat().map(f=>N5([f.x,f.y],r.canonical));if(s.length===0)return NaN;const m=new b8(l[0][1]);let d=1/0;for(const f of i){switch(f.type){case"Point":d=Math.min(d,D2(l,!1,[f.coordinates],!1,m,d));break;case"LineString":d=Math.min(d,D2(l,!1,f.coordinates,!0,m,d));break;case"Polygon":d=Math.min(d,L2(l,!1,f.coordinates,m,d))}if(d===0)return d}return d}(e,this.geometries);if(e.geometryType()==="LineString")return function(r,i){const s=r.geometry(),l=s.flat().map(f=>N5([f.x,f.y],r.canonical));if(s.length===0)return NaN;const m=new b8(l[0][1]);let d=1/0;for(const f of i){switch(f.type){case"Point":d=Math.min(d,D2(l,!0,[f.coordinates],!1,m,d));break;case"LineString":d=Math.min(d,D2(l,!0,f.coordinates,!0,m,d));break;case"Polygon":d=Math.min(d,L2(l,!0,f.coordinates,m,d))}if(d===0)return d}return d}(e,this.geometries);if(e.geometryType()==="Polygon")return function(r,i){const s=r.geometry();if(s.length===0||s[0].length===0)return NaN;const l=R2(s,0).map(f=>f.map(S=>S.map(F=>N5([F.x,F.y],r.canonical)))),m=new b8(l[0][0][0][1]);let d=1/0;for(const f of i)for(const S of l){switch(f.type){case"Point":d=Math.min(d,L2([f.coordinates],!1,S,m,d));break;case"LineString":d=Math.min(d,L2(f.coordinates,!0,S,m,d));break;case"Polygon":d=Math.min(d,g0(S,f.coordinates,m,d))}if(d===0)return d}return d}(e,this.geometries)}return NaN}eachChild(){}outputDefined(){return!0}}const h5={"==":e0,"!=":Ce,">":t0,"<":Me,">=":Te,"<=":o0,array:C9,at:t7,boolean:C9,case:i9,coalesce:b2,collator:A2,format:N2,image:w8,in:L7,"index-of":y9,interpolate:o6,"interpolate-hcl":o6,"interpolate-lab":o6,length:v8,let:J7,literal:k7,match:B9,number:C9,"number-format":S8,object:C9,slice:W6,step:z6,string:C9,"to-boolean":$9,"to-color":$9,"to-number":$9,"to-string":$9,var:t4,within:d5,distance:e5};class r6{constructor(e,r,i,s){this.name=e,this.type=r,this._evaluate=i,this.args=s}evaluate(e){return this._evaluate(e,this.args)}eachChild(e){this.args.forEach(e)}outputDefined(){return!1}static parse(e,r){const i=e[0],s=r6.definitions[i];if(!s)return r.error(`Unknown expression "${i}". If you wanted a literal array, use ["literal", [...]].`,0);const l=Array.isArray(s)?s[0]:s.type,m=Array.isArray(s)?[[s[1],s[2]]]:s.overloads,d=m.filter(([S])=>!Array.isArray(S)||S.length===e.length-1);let f=null;for(const[S,F]of d){f=new e6(r.registry,O2,r.path,null,r.scope);const b=[];let I=!1;for(let k=1;k{return I=b,Array.isArray(I)?`(${I.map(R).join(", ")})`:`(${R(I.type)}...)`;var I}).join(" | "),F=[];for(let b=1;b{r=e?r&&O2(i):r&&i instanceof k7}),!!r&&H2(o)&&V2(o,["zoom","heatmap-density","line-progress","accumulated","is-supported-script"])}function H2(o){if(o instanceof r6&&(o.name==="get"&&o.args.length===1||o.name==="feature-state"||o.name==="has"&&o.args.length===1||o.name==="properties"||o.name==="geometry-type"||o.name==="id"||/^filter-/.test(o.name))||o instanceof d5||o instanceof e5)return!1;let e=!0;return o.eachChild(r=>{e&&!H2(r)&&(e=!1)}),e}function a2(o){if(o instanceof r6&&o.name==="feature-state")return!1;let e=!0;return o.eachChild(r=>{e&&!a2(r)&&(e=!1)}),e}function V2(o,e){if(o instanceof r6&&e.indexOf(o.name)>=0)return!1;let r=!0;return o.eachChild(i=>{r&&!V2(i,e)&&(r=!1)}),r}function f0(o){return{result:"success",value:o}}function R5(o){return{result:"error",value:o}}function f5(o){return o["property-type"]==="data-driven"||o["property-type"]==="cross-faded-data-driven"}function O8(o){return!!o.expression&&o.expression.parameters.indexOf("zoom")>-1}function E5(o){return!!o.expression&&o.expression.interpolated}function n3(o){return o instanceof Number?"number":o instanceof String?"string":o instanceof Boolean?"boolean":Array.isArray(o)?"array":o===null?"null":typeof o}function s2(o){return typeof o=="object"&&o!==null&&!Array.isArray(o)}function _0(o){return o}function P0(o,e){const r=e.type==="color",i=o.stops&&typeof o.stops[0][0]=="object",s=i||!(i||o.property!==void 0),l=o.type||(E5(e)?"exponential":"interval");if(r||e.type==="padding"){const F=r?$7.parse:r9.parse;(o=l9({},o)).stops&&(o.stops=o.stops.map(b=>[b[0],F(b[1])])),o.default=F(o.default?o.default:e.default)}if(o.colorSpace&&(m=o.colorSpace)!=="rgb"&&m!=="hcl"&&m!=="lab")throw new Error(`Unknown color space: "${o.colorSpace}"`);var m;let d,f,S;if(l==="exponential")d=H8;else if(l==="interval")d=W2;else if(l==="categorical"){d=U2,f=Object.create(null);for(const F of o.stops)f[F[0]]=F[1];S=typeof o.stops[0][0]}else{if(l!=="identity")throw new Error(`Unknown function type "${l}"`);d=V8}if(i){const F={},b=[];for(let D=0;DD[0]),evaluate:({zoom:D},U)=>H8({stops:I,base:o.base},e,D).evaluate(D,U)}}if(s){const F=l==="exponential"?{name:"exponential",base:o.base!==void 0?o.base:1}:null;return{kind:"camera",interpolationType:F,interpolationFactor:o6.interpolationFactor.bind(void 0,F),zoomStops:o.stops.map(b=>b[0]),evaluate:({zoom:b})=>d(o,e,b,f,S)}}return{kind:"source",evaluate(F,b){const I=b&&b.properties?b.properties[o.property]:void 0;return I===void 0?_5(o.default,e.default):d(o,e,I,f,S)}}}function _5(o,e,r){return o!==void 0?o:e!==void 0?e:r!==void 0?r:void 0}function U2(o,e,r,i,s){return _5(typeof r===s?i[r]:void 0,o.default,e.default)}function W2(o,e,r){if(n3(r)!=="number")return _5(o.default,e.default);const i=o.stops.length;if(i===1||r<=o.stops[0][0])return o.stops[0][1];if(r>=o.stops[i-1][0])return o.stops[i-1][1];const s=L6(o.stops.map(l=>l[0]),r);return o.stops[s][1]}function H8(o,e,r){const i=o.base!==void 0?o.base:1;if(n3(r)!=="number")return _5(o.default,e.default);const s=o.stops.length;if(s===1||r<=o.stops[0][0])return o.stops[0][1];if(r>=o.stops[s-1][0])return o.stops[s-1][1];const l=L6(o.stops.map(F=>F[0]),r),m=function(F,b,I,k){const D=k-I,U=F-I;return D===0?0:b===1?U/D:(Math.pow(b,U)-1)/(Math.pow(b,D)-1)}(r,i,o.stops[l][0],o.stops[l+1][0]),d=o.stops[l][1],f=o.stops[l+1][1],S=t6[e.type]||_0;return typeof d.evaluate=="function"?{evaluate(...F){const b=d.evaluate.apply(void 0,F),I=f.evaluate.apply(void 0,F);if(b!==void 0&&I!==void 0)return S(b,I,m,o.colorSpace)}}:S(d,f,m,o.colorSpace)}function V8(o,e,r){switch(e.type){case"color":r=$7.parse(r);break;case"formatted":r=l3.fromString(r.toString());break;case"resolvedImage":r=W3.fromString(r.toString());break;case"padding":r=r9.parse(r);break;default:n3(r)===e.type||e.type==="enum"&&e.values[r]||(r=void 0)}return _5(r,o.default,e.default)}r6.register(h5,{error:[{kind:"error"},[E7],(o,[e])=>{throw new d3(e.evaluate(o))}],typeof:[E7,[v7],(o,[e])=>R(_7(e.evaluate(o)))],"to-rgba":[E(R4,4),[t9],(o,[e])=>{const[r,i,s,l]=e.evaluate(o).rgb;return[255*r,255*i,255*s,l]}],rgb:[t9,[R4,R4,R4],D8],rgba:[t9,[R4,R4,R4,R4],D8],has:{type:c7,overloads:[[[E7],(o,[e])=>B2(e.evaluate(o),o.properties())],[[E7,P9],(o,[e,r])=>B2(e.evaluate(o),r.evaluate(o))]]},get:{type:v7,overloads:[[[E7],(o,[e])=>B8(e.evaluate(o),o.properties())],[[E7,P9],(o,[e,r])=>B8(e.evaluate(o),r.evaluate(o))]]},"feature-state":[v7,[E7],(o,[e])=>B8(e.evaluate(o),o.featureState||{})],properties:[P9,[],o=>o.properties()],"geometry-type":[E7,[],o=>o.geometryType()],id:[v7,[],o=>o.id()],zoom:[R4,[],o=>o.globals.zoom],"heatmap-density":[R4,[],o=>o.globals.heatmapDensity||0],"line-progress":[R4,[],o=>o.globals.lineProgress||0],accumulated:[v7,[],o=>o.globals.accumulated===void 0?null:o.globals.accumulated],"+":[R4,g5(R4),(o,e)=>{let r=0;for(const i of e)r+=i.evaluate(o);return r}],"*":[R4,g5(R4),(o,e)=>{let r=1;for(const i of e)r*=i.evaluate(o);return r}],"-":{type:R4,overloads:[[[R4,R4],(o,[e,r])=>e.evaluate(o)-r.evaluate(o)],[[R4],(o,[e])=>-e.evaluate(o)]]},"/":[R4,[R4,R4],(o,[e,r])=>e.evaluate(o)/r.evaluate(o)],"%":[R4,[R4,R4],(o,[e,r])=>e.evaluate(o)%r.evaluate(o)],ln2:[R4,[],()=>Math.LN2],pi:[R4,[],()=>Math.PI],e:[R4,[],()=>Math.E],"^":[R4,[R4,R4],(o,[e,r])=>Math.pow(e.evaluate(o),r.evaluate(o))],sqrt:[R4,[R4],(o,[e])=>Math.sqrt(e.evaluate(o))],log10:[R4,[R4],(o,[e])=>Math.log(e.evaluate(o))/Math.LN10],ln:[R4,[R4],(o,[e])=>Math.log(e.evaluate(o))],log2:[R4,[R4],(o,[e])=>Math.log(e.evaluate(o))/Math.LN2],sin:[R4,[R4],(o,[e])=>Math.sin(e.evaluate(o))],cos:[R4,[R4],(o,[e])=>Math.cos(e.evaluate(o))],tan:[R4,[R4],(o,[e])=>Math.tan(e.evaluate(o))],asin:[R4,[R4],(o,[e])=>Math.asin(e.evaluate(o))],acos:[R4,[R4],(o,[e])=>Math.acos(e.evaluate(o))],atan:[R4,[R4],(o,[e])=>Math.atan(e.evaluate(o))],min:[R4,g5(R4),(o,e)=>Math.min(...e.map(r=>r.evaluate(o)))],max:[R4,g5(R4),(o,e)=>Math.max(...e.map(r=>r.evaluate(o)))],abs:[R4,[R4],(o,[e])=>Math.abs(e.evaluate(o))],round:[R4,[R4],(o,[e])=>{const r=e.evaluate(o);return r<0?-Math.round(-r):Math.round(r)}],floor:[R4,[R4],(o,[e])=>Math.floor(e.evaluate(o))],ceil:[R4,[R4],(o,[e])=>Math.ceil(e.evaluate(o))],"filter-==":[c7,[E7,v7],(o,[e,r])=>o.properties()[e.value]===r.value],"filter-id-==":[c7,[v7],(o,[e])=>o.id()===e.value],"filter-type-==":[c7,[E7],(o,[e])=>o.geometryType()===e.value],"filter-<":[c7,[E7,v7],(o,[e,r])=>{const i=o.properties()[e.value],s=r.value;return typeof i==typeof s&&i{const r=o.id(),i=e.value;return typeof r==typeof i&&r":[c7,[E7,v7],(o,[e,r])=>{const i=o.properties()[e.value],s=r.value;return typeof i==typeof s&&i>s}],"filter-id->":[c7,[v7],(o,[e])=>{const r=o.id(),i=e.value;return typeof r==typeof i&&r>i}],"filter-<=":[c7,[E7,v7],(o,[e,r])=>{const i=o.properties()[e.value],s=r.value;return typeof i==typeof s&&i<=s}],"filter-id-<=":[c7,[v7],(o,[e])=>{const r=o.id(),i=e.value;return typeof r==typeof i&&r<=i}],"filter->=":[c7,[E7,v7],(o,[e,r])=>{const i=o.properties()[e.value],s=r.value;return typeof i==typeof s&&i>=s}],"filter-id->=":[c7,[v7],(o,[e])=>{const r=o.id(),i=e.value;return typeof r==typeof i&&r>=i}],"filter-has":[c7,[v7],(o,[e])=>e.value in o.properties()],"filter-has-id":[c7,[],o=>o.id()!==null&&o.id()!==void 0],"filter-type-in":[c7,[E(E7)],(o,[e])=>e.value.indexOf(o.geometryType())>=0],"filter-id-in":[c7,[E(v7)],(o,[e])=>e.value.indexOf(o.id())>=0],"filter-in-small":[c7,[E7,E(v7)],(o,[e,r])=>r.value.indexOf(o.properties()[e.value])>=0],"filter-in-large":[c7,[E7,E(v7)],(o,[e,r])=>function(i,s,l,m){for(;l<=m;){const d=l+m>>1;if(s[d]===i)return!0;s[d]>i?m=d-1:l=d+1}return!1}(o.properties()[e.value],r.value,0,r.value.length-1)],all:{type:c7,overloads:[[[c7,c7],(o,[e,r])=>e.evaluate(o)&&r.evaluate(o)],[g5(c7),(o,e)=>{for(const r of e)if(!r.evaluate(o))return!1;return!0}]]},any:{type:c7,overloads:[[[c7,c7],(o,[e,r])=>e.evaluate(o)||r.evaluate(o)],[g5(c7),(o,e)=>{for(const r of e)if(r.evaluate(o))return!0;return!1}]]},"!":[c7,[c7],(o,[e])=>!e.evaluate(o)],"is-supported-script":[c7,[E7],(o,[e])=>{const r=o.globals&&o.globals.isSupportedScript;return!r||r(e.evaluate(o))}],upcase:[E7,[E7],(o,[e])=>e.evaluate(o).toUpperCase()],downcase:[E7,[E7],(o,[e])=>e.evaluate(o).toLowerCase()],concat:[E7,g5(v7),(o,e)=>e.map(r=>e3(r.evaluate(o))).join("")],"resolved-locale":[E7,[v9],(o,[e])=>e.evaluate(o).resolvedLocale()]});class z2{constructor(e,r){var i;this.expression=e,this._warningHistory={},this._evaluator=new k6,this._defaultValue=r?(i=r).type==="color"&&s2(i.default)?new $7(0,0,0,0):i.type==="color"?$7.parse(i.default)||null:i.type==="padding"?r9.parse(i.default)||null:i.type==="variableAnchorOffsetCollection"?c9.parse(i.default)||null:i.default===void 0?null:i.default:null,this._enumValues=r&&r.type==="enum"?r.values:null}evaluateWithoutErrorHandling(e,r,i,s,l,m){return this._evaluator.globals=e,this._evaluator.feature=r,this._evaluator.featureState=i,this._evaluator.canonical=s,this._evaluator.availableImages=l||null,this._evaluator.formattedSection=m,this.expression.evaluate(this._evaluator)}evaluate(e,r,i,s,l,m){this._evaluator.globals=e,this._evaluator.feature=r||null,this._evaluator.featureState=i||null,this._evaluator.canonical=s,this._evaluator.availableImages=l||null,this._evaluator.formattedSection=m||null;try{const d=this.expression.evaluate(this._evaluator);if(d==null||typeof d=="number"&&d!=d)return this._defaultValue;if(this._enumValues&&!(d in this._enumValues))throw new d3(`Expected value to be one of ${Object.keys(this._enumValues).map(f=>JSON.stringify(f)).join(", ")}, but found ${JSON.stringify(d)} instead.`);return d}catch(d){return this._warningHistory[d.message]||(this._warningHistory[d.message]=!0,typeof console<"u"&&console.warn(d.message)),this._defaultValue}}}function u2(o){return Array.isArray(o)&&o.length>0&&typeof o[0]=="string"&&o[0]in h5}function P5(o,e){const r=new e6(h5,O2,[],e?function(s){const l={color:t9,string:E7,number:R4,enum:E7,boolean:c7,formatted:X3,padding:o9,resolvedImage:F9,variableAnchorOffsetCollection:Y};return s.type==="array"?E(l[s.value]||v7,s.length):l[s.type]}(e):void 0),i=r.parse(o,void 0,void 0,void 0,e&&e.type==="string"?{typeAnnotation:"coerce"}:void 0);return i?f0(new z2(i,e)):R5(r.errors)}class U8{constructor(e,r){this.kind=e,this._styleExpression=r,this.isStateDependent=e!=="constant"&&!a2(r.expression)}evaluateWithoutErrorHandling(e,r,i,s,l,m){return this._styleExpression.evaluateWithoutErrorHandling(e,r,i,s,l,m)}evaluate(e,r,i,s,l,m){return this._styleExpression.evaluate(e,r,i,s,l,m)}}class W8{constructor(e,r,i,s){this.kind=e,this.zoomStops=i,this._styleExpression=r,this.isStateDependent=e!=="camera"&&!a2(r.expression),this.interpolationType=s}evaluateWithoutErrorHandling(e,r,i,s,l,m){return this._styleExpression.evaluateWithoutErrorHandling(e,r,i,s,l,m)}evaluate(e,r,i,s,l,m){return this._styleExpression.evaluate(e,r,i,s,l,m)}interpolationFactor(e,r,i){return this.interpolationType?o6.interpolationFactor(this.interpolationType,e,r,i):0}}function C0(o,e){const r=P5(o,e);if(r.result==="error")return r;const i=r.value.expression,s=H2(i);if(!s&&!f5(e))return R5([new U3("","data expressions not supported")]);const l=V2(i,["zoom"]);if(!l&&!O8(e))return R5([new U3("","zoom expressions not supported")]);const m=K2(i);return m||l?m instanceof U3?R5([m]):m instanceof o6&&!E5(e)?R5([new U3("",'"interpolate" expressions cannot be used with this property')]):f0(m?new W8(s?"camera":"composite",r.value,m.labels,m instanceof o6?m.interpolation:void 0):new U8(s?"constant":"source",r.value)):R5([new U3("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.')])}class q2{constructor(e,r){this._parameters=e,this._specification=r,l9(this,P0(this._parameters,this._specification))}static deserialize(e){return new q2(e._parameters,e._specification)}static serialize(e){return{_parameters:e._parameters,_specification:e._specification}}}function K2(o){let e=null;if(o instanceof J7)e=K2(o.result);else if(o instanceof b2){for(const r of o.args)if(e=K2(r),e)break}else(o instanceof z6||o instanceof o6)&&o.input instanceof r6&&o.input.name==="zoom"&&(e=o);return e instanceof U3||o.eachChild(r=>{const i=K2(r);i instanceof U3?e=i:!e&&i?e=new U3("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.'):e&&i&&e!==i&&(e=new U3("",'Only one zoom-based "step" or "interpolate" subexpression may be used in an expression.'))}),e}function k5(o){if(o===!0||o===!1)return!0;if(!Array.isArray(o)||o.length===0)return!1;switch(o[0]){case"has":return o.length>=2&&o[1]!=="$id"&&o[1]!=="$type";case"in":return o.length>=3&&(typeof o[1]!="string"||Array.isArray(o[2]));case"!in":case"!has":case"none":return!1;case"==":case"!=":case">":case">=":case"<":case"<=":return o.length!==3||Array.isArray(o[1])||Array.isArray(o[2]);case"any":case"all":for(const e of o.slice(1))if(!k5(e)&&typeof e!="boolean")return!1;return!0;default:return!0}}const G2={type:"boolean",default:!1,transition:!1,"property-type":"data-driven",expression:{interpolated:!1,parameters:["zoom","feature"]}};function O9(o){if(o==null)return{filter:()=>!0,needGeometry:!1};k5(o)||(o=j2(o));const e=P5(o,G2);if(e.result==="error")throw new Error(e.value.map(r=>`${r.key}: ${r.message}`).join(", "));return{filter:(r,i,s)=>e.value.evaluate(r,i,{},s),needGeometry:z8(o)}}function p2(o,e){return oe?1:0}function z8(o){if(!Array.isArray(o))return!1;if(o[0]==="within"||o[0]==="distance")return!0;for(let e=1;e"||e==="<="||e===">="?q8(o[1],o[2],e):e==="any"?(r=o.slice(1),["any"].concat(r.map(j2))):e==="all"?["all"].concat(o.slice(1).map(j2)):e==="none"?["all"].concat(o.slice(1).map(j2).map(D5)):e==="in"?L5(o[1],o.slice(2)):e==="!in"?D5(L5(o[1],o.slice(2))):e==="has"?K8(o[1]):e!=="!has"||D5(K8(o[1]));var r}function q8(o,e,r){switch(o){case"$type":return[`filter-type-${r}`,e];case"$id":return[`filter-id-${r}`,e];default:return[`filter-${r}`,o,e]}}function L5(o,e){if(e.length===0)return!1;switch(o){case"$type":return["filter-type-in",["literal",e]];case"$id":return["filter-id-in",["literal",e]];default:return e.length>200&&!e.some(r=>typeof r!=typeof e[0])?["filter-in-large",o,["literal",e.sort(p2)]]:["filter-in-small",o,["literal",e]]}}function K8(o){switch(o){case"$type":return!0;case"$id":return["filter-has-id"];default:return["filter-has",o]}}function D5(o){return["!",o]}function G8(o){const e=typeof o;if(e==="number"||e==="boolean"||e==="string"||o==null)return JSON.stringify(o);if(Array.isArray(o)){let s="[";for(const l of o)s+=`${G8(l)},`;return`${s}]`}const r=Object.keys(o).sort();let i="{";for(let s=0;si.maximum?[new b4(e,r,`${r} is greater than the maximum value ${i.maximum}`)]:[]}function Y8(o){const e=o.valueSpec,r=x3(o.value.type);let i,s,l,m={};const d=r!=="categorical"&&o.value.property===void 0,f=!d,S=n3(o.value.stops)==="array"&&n3(o.value.stops[0])==="array"&&n3(o.value.stops[0][0])==="object",F=q9({key:o.key,value:o.value,valueSpec:o.styleSpec.function,validateSpec:o.validateSpec,style:o.style,styleSpec:o.styleSpec,objectElementValidators:{stops:function(k){if(r==="identity")return[new b4(k.key,k.value,'identity function may not have a "stops" property')];let D=[];const U=k.value;return D=D.concat(Y2({key:k.key,value:U,valueSpec:k.valueSpec,validateSpec:k.validateSpec,style:k.style,styleSpec:k.styleSpec,arrayElementValidator:b})),n3(U)==="array"&&U.length===0&&D.push(new b4(k.key,U,"array must have at least one stop")),D},default:function(k){return k.validateSpec({key:k.key,value:k.value,valueSpec:e,validateSpec:k.validateSpec,style:k.style,styleSpec:k.styleSpec})}}});return r==="identity"&&d&&F.push(new b4(o.key,o.value,'missing required property "property"')),r==="identity"||o.value.stops||F.push(new b4(o.key,o.value,'missing required property "stops"')),r==="exponential"&&o.valueSpec.expression&&!E5(o.valueSpec)&&F.push(new b4(o.key,o.value,"exponential functions not supported")),o.styleSpec.$version>=8&&(f&&!f5(o.valueSpec)?F.push(new b4(o.key,o.value,"property functions not supported")):d&&!O8(o.valueSpec)&&F.push(new b4(o.key,o.value,"zoom functions not supported"))),r!=="categorical"&&!S||o.value.property!==void 0||F.push(new b4(o.key,o.value,'"property" property is required')),F;function b(k){let D=[];const U=k.value,G=k.key;if(n3(U)!=="array")return[new b4(G,U,`array expected, ${n3(U)} found`)];if(U.length!==2)return[new b4(G,U,`array length 2 expected, length ${U.length} found`)];if(S){if(n3(U[0])!=="object")return[new b4(G,U,`object expected, ${n3(U[0])} found`)];if(U[0].zoom===void 0)return[new b4(G,U,"object stop key must have zoom")];if(U[0].value===void 0)return[new b4(G,U,"object stop key must have value")];if(l&&l>x3(U[0].zoom))return[new b4(G,U[0].zoom,"stop zoom values must appear in ascending order")];x3(U[0].zoom)!==l&&(l=x3(U[0].zoom),s=void 0,m={}),D=D.concat(q9({key:`${G}[0]`,value:U[0],valueSpec:{zoom:{}},validateSpec:k.validateSpec,style:k.style,styleSpec:k.styleSpec,objectElementValidators:{zoom:l2,value:I}}))}else D=D.concat(I({key:`${G}[0]`,value:U[0],valueSpec:{},validateSpec:k.validateSpec,style:k.style,styleSpec:k.styleSpec},U));return u2(C5(U[1]))?D.concat([new b4(`${G}[1]`,U[1],"expressions are not allowed in function stops.")]):D.concat(k.validateSpec({key:`${G}[1]`,value:U[1],valueSpec:e,validateSpec:k.validateSpec,style:k.style,styleSpec:k.styleSpec}))}function I(k,D){const U=n3(k.value),G=x3(k.value),$=k.value!==null?k.value:D;if(i){if(U!==i)return[new b4(k.key,$,`${U} stop domain type must match previous stop domain type ${i}`)]}else i=U;if(U!=="number"&&U!=="string"&&U!=="boolean")return[new b4(k.key,$,"stop domain value must be a number, string, or boolean")];if(U!=="number"&&r!=="categorical"){let c4=`number expected, ${U} found`;return f5(e)&&r===void 0&&(c4+='\nIf you intended to use a categorical function, specify `"type": "categorical"`.'),[new b4(k.key,$,c4)]}return r!=="categorical"||U!=="number"||isFinite(G)&&Math.floor(G)===G?r!=="categorical"&&U==="number"&&s!==void 0&&Gnew b4(`${o.key}${i.key}`,o.value,i.message));const r=e.value.expression||e.value._styleExpression.expression;if(o.expressionContext==="property"&&o.propertyKey==="text-font"&&!r.outputDefined())return[new b4(o.key,o.value,`Invalid data expression for "${o.propertyKey}". Output values must be contained as literals within the expression.`)];if(o.expressionContext==="property"&&o.propertyType==="layout"&&!a2(r))return[new b4(o.key,o.value,'"feature-state" data expressions are not supported with layout properties.')];if(o.expressionContext==="filter"&&!a2(r))return[new b4(o.key,o.value,'"feature-state" data expressions are not supported with filters.')];if(o.expressionContext&&o.expressionContext.indexOf("cluster")===0){if(!V2(r,["zoom","feature-state"]))return[new b4(o.key,o.value,'"zoom" and "feature-state" expressions are not supported with cluster properties.')];if(o.expressionContext==="cluster-initial"&&!H2(r))return[new b4(o.key,o.value,"Feature data expressions are not supported with initial expression part of cluster properties.")]}return[]}function c2(o){const e=o.key,r=o.value,i=o.valueSpec,s=[];return Array.isArray(i.values)?i.values.indexOf(x3(r))===-1&&s.push(new b4(e,r,`expected one of [${i.values.join(", ")}], ${JSON.stringify(r)} found`)):Object.keys(i.values).indexOf(x3(r))===-1&&s.push(new b4(e,r,`expected one of [${Object.keys(i.values).join(", ")}], ${JSON.stringify(r)} found`)),s}function y2(o){return k5(C5(o.value))?M5(l9({},o,{expressionContext:"filter",valueSpec:{value:"boolean"}})):m2(o)}function m2(o){const e=o.value,r=o.key;if(n3(e)!=="array")return[new b4(r,e,`array expected, ${n3(e)} found`)];const i=o.styleSpec;let s,l=[];if(e.length<1)return[new b4(r,e,"filter array must have at least 1 element")];switch(l=l.concat(c2({key:`${r}[0]`,value:e[0],valueSpec:i.filter_operator,style:o.style,styleSpec:o.styleSpec})),x3(e[0])){case"<":case"<=":case">":case">=":e.length>=2&&x3(e[1])==="$type"&&l.push(new b4(r,e,`"$type" cannot be use with operator "${e[0]}"`));case"==":case"!=":e.length!==3&&l.push(new b4(r,e,`filter array for operator "${e[0]}" must have 3 elements`));case"in":case"!in":e.length>=2&&(s=n3(e[1]),s!=="string"&&l.push(new b4(`${r}[1]`,e[1],`string expected, ${s} found`)));for(let m=2;mh.group;function wl(h,P,C){let w=Wn,x=["#f7ecc3","#f2cd8d","#eeb05b","#e78052","#e15449"],B=["#793B91","#338ED8","#A3A3A3"];const T={"Equity Index":{dataSource:"Equity Index",group:"Equity Layers",breaks:[.3584,.4262,.4841,.5532],colours:x,text:"The layer combines the seven equity layers as a single metric. Areas in the higher quintiles have a greater need for community services due to the greater socio-economic disadvantages experienced by residents."},"Street Map":{dataSource:"meow",group:"Other Layers",breaks:[5,10,15,20],colours:[h8,h8,h8,h8,h8],text:"Street data from OpenStreetMap"},"Population Density":{dataSource:"PopuDenPerKM",group:"Other Layers",breaks:[2e3,4e3,8e3,16e3],colours:x,text:"Block-level population density from the 2021 Canadian census (residents per square kilometre)"},"% in Low Income Household (MBM)":{dataSource:"MBM%",group:"Equity Layers",breaks:[5,10,15,20],colours:x,text:"Percentage of residents in low-income households, based on the 2021 Census data as measured by the Market Basket Measure (MBM)"},"% of Low Income Housing (LIM)":{dataSource:"LIM%",group:"Equity Layers",breaks:[5,15,25,35],colours:x,text:"Percentage of residents low-income household based on 2021 T1 tax file income data as measured by the Low Income Measure (LIM)"},"% of Working Poor":{dataSource:"%ofWP",group:"Equity Layers",breaks:[2.5,5,10,15],colours:x,text:"Percentage of working adults aged 18-64 (excluding full-time and part-time students) who earned more than $3,000 monthly and lived in low-income households by LIM, out of all working adults of that age range"},"% Short-Term Workers":{dataSource:"ShortTerm%",group:"Equity Layers",breaks:[9,11,13,15],colours:x,text:"Percentage of workers who self-reported as an employee with a contract shorter than one year, out of the total number of employees in the 2021 Census"},"% of Youth Not in Employment, Education or Training":{dataSource:"Neet%",group:"Equity Layers",breaks:[10,15,20,25],colours:x,text:"Percentage of youth aged between 18-29 who were unemployed, not in school/training, or not in the labour force, out of the total youth population of the same age range"},"% of Recent Immigrants":{dataSource:"Immigrant%",group:"Other Layers",breaks:[2.5,5,10,15],colours:x,text:"Percentage of immigrants who migrated to Canada between 2016 to 2021 based on the 2021 Census, out of the total population"},"% of Visible Minority":{dataSource:"VM%",group:"Other Layers",breaks:[20,40,60,80],colours:x,text:"Percentage of people who self-identified as visible minority in the 2021 Census, out of the total population"},"% Single Parent Household":{dataSource:"1-ParentFam%",group:"Other Layers",breaks:[15,20,25,30],colours:x,text:"Percentage of households self-reported as a one-parent household in the 2021 Census, out of the total number of households with children"},"% of Renters in Core Housing Need":{dataSource:"%CHN",group:"Equity Layers",breaks:[10,20,30,40],colours:x,text:"Percentage of renters who reported experiencing at least one core housing need (e.g. housing affordability, suitability, and adequacy) in the 2021 Census, out of the total renter population"},"% of Renters in Unaffordable Housing":{dataSource:"%Affordable",group:"Equity Layers",breaks:[10,20,30,40],colours:x,text:"Percentage of renters who spent over 30% of their before-tax household income on rent as reported in the 2021 Census, out of the total renter population"}},p=Object.keys(T).map(h7=>({value:h7,label:h7,...T[h7]}));console.log(p);let H=null;function X(h7){console.log(X),C(6,w=h7.detail.value),p4(w)}function p4(h7){if(console.log(h7),h7==="Street Map")H.setPaintProperty("equity","fill-opacity",0),H.setPaintProperty("background","background-color",h8),H.setPaintProperty("water","fill-color","#e4e4ed"),H.setPaintProperty("nonResMask","fill-opacity",0),H.setPaintProperty("blocks","fill-opacity",0);else if(h7==="Population Density")H.setPaintProperty("equity","fill-opacity",0),H.setPaintProperty("nonResMask","fill-opacity",.95),H.setPaintProperty("background","background-color","#f5f5f5"),H.setPaintProperty("water","fill-color","#fff"),H.setPaintProperty("blocks","fill-opacity",.9);else{let B4=T[h7];H.setPaintProperty("equity","fill-opacity",.9),H.setPaintProperty("nonResMask","fill-opacity",.95),H.setPaintProperty("background","background-color","#f5f5f5"),H.setPaintProperty("water","fill-color","#fff"),H.setPaintProperty("blocks","fill-opacity",0),H.setPaintProperty("equity","fill-color",["case",["!=",["get",B4.dataSource],null],["step",["get",B4.dataSource],B4.colours[0],B4.breaks[0],B4.colours[1],B4.breaks[1],B4.colours[2],B4.breaks[2],B4.colours[3],B4.breaks[3],B4.colours[4]],"#cbcbcb"]),H.setPaintProperty("equity","fill-outline-color",["case",["!=",["get",B4.dataSource],null],["step",["get",B4.dataSource],B4.colours[0],B4.breaks[0],B4.colours[1],B4.breaks[1],B4.colours[2],B4.breaks[2],B4.colours[3],B4.breaks[3],B4.colours[4]],"#cbcbcb"])}}let z=[[-81.5,43],[-77.5,45.5]],J=["Own","Rent","Unknown"];function M4(){let h7=["match",["get","T"],"Own",J.includes("Own")?1:0,"Rent",J.includes("Rent")?1:0,J.includes("Unknown")?1:0];H&&(H.setPaintProperty("spre","circle-opacity",h7),H.setPaintProperty("spre","circle-stroke-opacity",h7))}let C4=!0;function f4(){H&&(C4?(H.setPaintProperty("transitLines","line-opacity",.8),H.setPaintProperty("transitStops","circle-opacity",1),H.setPaintProperty("transitStops","circle-stroke-opacity",1)):(H.setPaintProperty("transitLines","line-opacity",0),H.setPaintProperty("transitStops","circle-opacity",0),H.setPaintProperty("transitStops","circle-stroke-opacity",0)))}let x4=!1;function e7(){H&&(x4?(H.setPaintProperty("transitLinesFuture","line-opacity",.8),H.setPaintProperty("transitStopsFuture","circle-opacity",1),H.setPaintProperty("transitStopsFuture","circle-stroke-opacity",1)):(H.setPaintProperty("transitLinesFuture","line-opacity",0),H.setPaintProperty("transitStopsFuture","circle-opacity",0),H.setPaintProperty("transitStopsFuture","circle-stroke-opacity",0)))}let D4=!1;function l7(){H&&(D4?H.setPaintProperty("library","icon-opacity",1):H.setPaintProperty("library","icon-opacity",0))}let Y7=!1;function j4(){H&&(Y7?H.setPaintProperty("housing","circle-opacity",1):H.setPaintProperty("housing","circle-opacity",0))}let X4=!1;function M7(){H&&(X4?H.setPaintProperty("rec","icon-opacity",1):H.setPaintProperty("rec","icon-opacity",0))}cn(()=>{let h7=new Cs;k1.addProtocol("pmtiles",h7.tile),H=new k1.Map({container:"map",style:pp,center:[-79.46,43.78],zoom:10,minZoom:8,maxZoom:14,bearing:-17,projection:"globe",scrollZoom:!0,maxPitch:0,attributionControl:!1}),H.setMaxBounds(z),H.addControl(new k1.NavigationControl),H.addControl(new k1.ScaleControl,"bottom-right"),H.on("load",()=>{H.addSource("equity",{type:"geojson",data:Op}),H.addLayer({id:"equity",type:"fill",source:"equity",paint:{"fill-opacity":.9,"fill-color":"#fff","fill-outline-color":"#fff"}}),H.addSource("blocks",{type:"vector",url:"pmtiles://"+Tl}),H.addLayer({id:"blocks",type:"fill",source:"blocks","source-layer":"blockdata2021wgs84",paint:{"fill-opacity":0,"fill-color":["case",["!=",["get","popdens"],null],["step",["get","popdens"],x[0],2e3,x[1],4e3,x[2],8e3,x[3],16e3,x[4]],"#cbcbcb"]}}),H.addSource("nonResMask",{type:"geojson",data:kp}),H.addLayer({id:"nonResMask",type:"fill",source:"nonResMask",paint:{"fill-color":"#F7F7F7","fill-outline-color":"#F7F7F7","fill-opacity":.95}}),p4(w),lp.forEach(P7=>{H.addLayer(P7)}),H.addSource("transitLinesFuture",{type:"geojson",data:gl}),H.addLayer({id:"transitLinesFuture",type:"line",source:"transitLinesFuture",paint:{"line-color":"#3d3846","line-opacity":0,"line-width":1.5,"line-dasharray":[2,2]}}),H.addSource("transitStopsFuture",{type:"geojson",data:cl}),H.addLayer({id:"transitStopsFuture",type:"circle",source:"transitStopsFuture",paint:{"circle-stroke-color":"#3d3846","circle-color":"#fff","circle-radius":["interpolate",["linear"],["zoom"],8,1,14,4],"circle-stroke-width":1,"circle-opacity":0,"circle-stroke-opacity":0}}),H.addSource("transitLines",{type:"geojson",data:al}),H.addLayer({id:"transitLines",type:"line",source:"transitLines",paint:{"line-color":"#3d3846","line-opacity":.8,"line-width":1.5,"line-dasharray":[8,2]}}),H.addSource("transitStops",{type:"geojson",data:tl}),H.addLayer({id:"transitStops",type:"circle",source:"transitStops",paint:{"circle-stroke-color":"#3d3846","circle-color":"#fff","circle-radius":["interpolate",["linear"],["zoom"],8,1,14,4],"circle-stroke-width":1,"circle-opacity":1,"circle-stroke-opacity":1}}),H.addSource("adminLowerTier",{type:"geojson",data:wp}),H.addLayer({id:"adminLowerTier",type:"line",source:"adminLowerTier",paint:{"line-color":"#a09f9f","line-opacity":.75,"line-width":1}}),H.addSource("adminLowerTierCentroids",{type:"geojson",data:Ap}),H.addLayer({id:"adminLowerTierCentroids",type:"symbol",source:"adminLowerTierCentroids",layout:{"text-field":"{J_CSDNAME}","text-font":["TradeGothic LT Bold"],"text-ignore-placement":!0,"text-allow-overlap":!0,"text-size":["interpolate",["linear"],["zoom"],8,12,14,22],"text-anchor":"center"},paint:{"text-color":"#4d4d4d","text-halo-color":"#ffffff","text-halo-width":1,"text-opacity":["interpolate",["linear"],["zoom"],8,0,10,1]}}),H.addSource("adminUpperTier",{type:"geojson",data:Pp}),H.addLayer({id:"adminUpperTierCase",type:"line",source:"adminUpperTier",paint:{"line-color":"#4d4d4d","line-opacity":.05,"line-width":8}}),H.addLayer({id:"adminUpperTier",type:"line",source:"adminUpperTier",paint:{"line-color":"#4d4d4d","line-opacity":.8,"line-width":1.5}}),H.addSource("library",{type:"geojson",data:Wp});let B4=new Image;B4.src=Vn,B4.onload=function(){H.addImage("triangle_library",B4),H.addLayer({id:"library",type:"symbol",source:"library",layout:{"icon-image":"triangle_library","icon-size":["interpolate",["linear"],["zoom"],.05,.01,25,1.3],"icon-allow-overlap":!0},paint:{"icon-color":"#FF0000","icon-opacity":0}})},H.addSource("housing",{type:"geojson",data:Jp});let N4=new Image;N4.src=fl,N4.onload=function(){H.addImage("triangle_housing",N4),H.addLayer({id:"housing",type:"circle",source:"housing",paint:{"circle-color":"#000","circle-radius":["interpolate",["linear"],["zoom"],8,1,12,3.5],"circle-opacity":0}})},H.addSource("rec",{type:"geojson",data:Gp});let U4=new Image;U4.src=Un,U4.onload=function(){H.addImage("triangle_rec",U4),H.addLayer({id:"rec",type:"symbol",source:"rec",layout:{"icon-image":"triangle_rec","icon-size":["interpolate",["linear"],["zoom"],.05,.01,25,1.3],"icon-allow-overlap":!0},paint:{"icon-color":"#FF0000","icon-opacity":0}})},H.addSource("spre",{type:"geojson",data:dp}),H.addLayer({id:"spre",type:"circle",source:"spre",paint:{"circle-color":["match",["get","T"],"Own",B[1],"Rent",B[0],B[2]],"circle-radius":["interpolate",["linear"],["zoom"],8,2.5,10,3.5,12,7],"circle-stroke-color":["match",["get","T"],"Own","#fff","Rent","#fff","#fff"],"circle-opacity":["match",["get","T"],"Own",1,"Rent",1,1],"circle-stroke-opacity":["match",["get","T"],"Own",1,"Rent",1,1],"circle-stroke-width":1}})}),H.on("click","spre",B4=>{const N4=B4.features[0].geometry.coordinates.slice(),U4=B4.features[0].properties.N,P7=" (Tenure: "+B4.features[0].properties.T+")";for(;Math.abs(B4.lngLat.lng-N4[0])>180;)N4[0]+=B4.lngLat.lng>N4[0]?360:-360;const w7=U4+P7,D7=new k1.Popup({closeOnClick:!0,closeButton:!1}).setLngLat(N4).setHTML(w7).addTo(H)._content;D7&&(D7.style.padding="6px 12px 6px 6px",D7.style.backgroundColor="#ffffff",D7.style.boxShadow="0 0 10px rgba(0, 0, 0, 0.2)",D7.style.opacity=.95)}),H.on("mouseenter","spre",()=>{H.getCanvas().style.cursor="pointer"}),H.on("mouseleave","spre",()=>{H.getCanvas().style.cursor=""})});const B7=[[]];function C7(){J=bt(B7[0],this.__value,this.checked),C(0,J)}function R7(){J=bt(B7[0],this.__value,this.checked),C(0,J)}function P4(){J=bt(B7[0],this.__value,this.checked),C(0,J)}function n7(){C4=this.checked,C(1,C4)}function S7(){x4=this.checked,C(2,x4)}function g7(){D4=this.checked,C(3,D4)}function O7(){X4=this.checked,C(5,X4)}function X7(){Y7=this.checked,C(4,Y7)}return h.$$.update=()=>{h.$$.dirty&1&&M4(),h.$$.dirty&2&&f4(),h.$$.dirty&4&&e7(),h.$$.dirty&8&&l7(),h.$$.dirty&16&&j4(),h.$$.dirty&32&&M7()},[J,C4,x4,D4,Y7,X4,w,B,T,p,X,C7,B7,R7,P4,n7,S7,g7,O7,X7]}class bl extends z1{constructor(P){super(),q1(this,P,wl,Ml,U1,{})}}export{bl as component,xl as universal}; + `),e4=w3(L6,"svg",{width:!0,height:!0,viewBox:!0,xmlns:!0});var z6=p7(e4);g4=w3(z6,"circle",{cx:!0,cy:!0,r:!0,fill:!0}),p7(g4).forEach(k4),z6.forEach(k4),L6.forEach(k4),L7.forEach(k4),v4=z7(k7),m4=m7(k7,"DIV",{class:!0}),p7(m4).forEach(k4),E4=z7(k7),Z4=m7(k7,"H4",{"data-svelte-h":!0}),X5(Z4)!=="svelte-vedh82"&&(Z4.textContent=i7),x7=z7(k7),H7=m7(k7,"P",{class:!0,"data-svelte-h":!0}),X5(H7)!=="svelte-1tzjkp"&&(H7.innerHTML=a7),r3=z7(k7),u3=m7(k7,"DIV",{class:!0}),p7(u3).forEach(k4),v3=z7(k7),A7=m7(k7,"IMG",{src:!0,alt:!0}),s3=z7(k7),_3=m7(k7,"DIV",{class:!0}),p7(_3).forEach(k4),L3=z7(k7),Y3=m7(k7,"BR",{}),m6=z7(k7),$7=m7(k7,"BR",{}),k7.forEach(k4),R6=z7(e3),d6=m7(e3,"DIV",{id:!0}),p7(d6).forEach(k4),e3.forEach(k4),this.h()},h(){a4(w,"id","title"),a4(X,"class","line"),a4(x4,"type","checkbox"),a4(x4,"class","check-box-item svelte-p76esw"),x4.__value="Own",B1(x4,x4.__value),a4(l7,"cx","6"),a4(l7,"cy","10.5"),a4(l7,"r","5"),a4(l7,"fill",h[7][1]),a4(l7,"stroke","#fff"),a4(l7,"stroke-width","1"),a4(D4,"class","check-box-svg svelte-p76esw"),a4(f4,"class","label-format svelte-p76esw"),a4(X4,"type","checkbox"),a4(X4,"class","check-box-item svelte-p76esw"),X4.__value="Rent",B1(X4,X4.__value),a4(C7,"cx","6"),a4(C7,"cy","10.5"),a4(C7,"r","5"),a4(C7,"fill",h[7][0]),a4(C7,"stroke","#fff"),a4(C7,"stroke-width","1"),a4(B7,"class","check-box-svg svelte-p76esw"),a4(j4,"class","label-format svelte-p76esw"),a4(n7,"type","checkbox"),a4(n7,"class","check-box-item svelte-p76esw"),n7.__value="Unknown",B1(n7,n7.__value),a4(O7,"cx","6"),a4(O7,"cy","10.5"),a4(O7,"r","5"),a4(O7,"fill",h[7][2]),a4(O7,"stroke","#fff"),a4(O7,"stroke-width","1"),a4(g7,"class","check-box-svg svelte-p76esw"),a4(P4,"class","label-format svelte-p76esw"),a4(C4,"id","checkbox"),a4(C4,"class","check-box svelte-p76esw"),R3(w7,"display","contents"),R3(w7,"--margin","16px"),R3(w7,"--width","380px"),R3(w7,"--multi-max-width","300px"),R3(w7,"--background","white"),R3(w7,"--selected-item-color","var(--brandBlack)"),R3(w7,"--height","22px"),R3(w7,"--item-color","var(--brandBlack)"),R3(w7,"--border-radius","0px"),R3(w7,"--border","1px solid var(--brandGray)"),R3(w7,"--border-focused","1px solid #A50F00"),R3(w7,"--list-border-radius","0px"),R3(w7,"--font-size","13.7px"),R3(w7,"--max-height","30px"),R3(w7,"--item-is-active-color","#FFFFFF"),R3(w7,"--item-is-active-bg","#DA291C"),R3(w7,"--chevron-color","#DA291C"),R3(w7,"--item-hover-bg","#F8D4D2"),a4(U4,"id","select-wrapper"),a4(y3,"class","box svelte-p76esw"),a4(y3,"width","74"),a4(y3,"height","20"),a4(y3,"x","18"),a4(y3,"y","0"),R3(y3,"fill",h[8][h[6]].colours[0]),a4(E3,"class","box svelte-p76esw"),a4(E3,"width","74"),a4(E3,"height","20"),a4(E3,"x","94"),a4(E3,"y","0"),R3(E3,"fill",h[8][h[6]].colours[1]),a4(a3,"class","box svelte-p76esw"),a4(a3,"width","74"),a4(a3,"height","20"),a4(a3,"x","170"),a4(a3,"y","0"),R3(a3,"fill",h[8][h[6]].colours[2]),a4(m3,"class","box svelte-p76esw"),a4(m3,"width","74"),a4(m3,"height","20"),a4(m3,"x","246"),a4(m3,"y","0"),R3(m3,"fill",h[8][h[6]].colours[3]),a4(k3,"class","box svelte-p76esw"),a4(k3,"width","74"),a4(k3,"height","20"),a4(k3,"x","322"),a4(k3,"y","0"),R3(k3,"fill",h[8][h[6]].colours[4]),a4(D7,"width","400"),a4(D7,"height",g9=h[6]=="Equity Index"?24:40),a4(j3,"class","des svelte-p76esw"),a4(p9,"type","checkbox"),a4(p9,"class","check-box-item svelte-p76esw"),a4(Q7,"class","label-format svelte-p76esw"),a4(j7,"type","checkbox"),a4(j7,"class","check-box-item svelte-p76esw"),a4(S9,"class","label-format svelte-p76esw"),a4(R4,"type","checkbox"),a4(R4,"class","check-box-item svelte-p76esw"),xt(c7.src,t9=Vn)||a4(c7,"src",t9),a4(c7,"alt","Library Symbol"),a4(c7,"width","14"),a4(c7,"height","14"),a4(O3,"class","label-format svelte-p76esw"),a4(o9,"type","checkbox"),a4(o9,"class","check-box-item svelte-p76esw"),xt(Y.src,E=Un)||a4(Y,"src",E),a4(Y,"alt","Recreation Symbol"),a4(Y,"width","14"),a4(Y,"height","14"),a4(X3,"class","label-format svelte-p76esw"),a4(i4,"type","checkbox"),a4(i4,"class","check-box-item svelte-p76esw"),a4(g4,"cx","3"),a4(g4,"cy","3"),a4(g4,"r","2"),a4(g4,"fill","black"),a4(e4,"width","6px"),a4(e4,"height","10px"),a4(e4,"viewBox","0 0 6 6"),a4(e4,"xmlns","http://www.w3.org/2000/svg"),a4(o4,"class","label-format svelte-p76esw"),a4(f7,"id","checkbox"),a4(f7,"class","check-box svelte-p76esw"),a4(m4,"class","line"),a4(H7,"class","notes"),a4(u3,"class","line"),xt(A7.src,Z7="./map/logos.svg")||a4(A7,"src",Z7),a4(A7,"alt","United Way & University of Toronto Logos"),a4(_3,"class","line"),a4(C,"id","panel"),a4(d6,"id","map"),a4(P,"id","container"),r9.p(x4,X4,n7)},m(_7,e3){p3(_7,P,e3),T4(P,C),T4(C,w),T4(C,B),T4(C,T),T4(C,H),T4(C,X),T4(C,p4),T4(C,z),T4(C,M4),T4(C,C4),T4(C4,f4),T4(f4,x4),x4.checked=~(h[0]||[]).indexOf(x4.__value),T4(f4,e7),T4(f4,D4),T4(D4,l7),T4(C4,Y7),T4(C4,j4),T4(j4,X4),X4.checked=~(h[0]||[]).indexOf(X4.__value),T4(j4,M7),T4(j4,B7),T4(B7,C7),T4(C4,R7),T4(C4,P4),T4(P4,n7),n7.checked=~(h[0]||[]).indexOf(n7.__value),T4(P4,S7),T4(P4,g7),T4(g7,O7),T4(C,X7),T4(C,h7),T4(C,N4),T4(C,U4),T4(U4,w7),j1(P7,w7,null),T4(C,G3),T4(C,D7),T4(D7,y3),T4(D7,E3),T4(D7,a3),T4(D7,m3),T4(D7,k3),n9.m(D7,null),T4(C,f9),T4(C,j3),T4(j3,$3),T4(C,q7),T4(C,h4),T4(C,Q9),T4(C,f7),T4(f7,Q7),T4(Q7,p9),p9.checked=h[1],T4(Q7,D9),T4(f7,_9),T4(f7,o3),T4(f7,B3),T4(f7,S9),T4(S9,j7),j7.checked=h[2],T4(S9,b4),T4(f7,l9),T4(f7,U3),T4(f7,w9),T4(f7,O3),T4(O3,R4),R4.checked=h[3],T4(O3,E7),T4(O3,c7),T4(f7,P9),T4(f7,v7),T4(f7,v9),T4(f7,X3),T4(X3,o9),o9.checked=h[5],T4(X3,F9),T4(X3,Y),T4(f7,R),T4(f7,O),T4(f7,K),T4(f7,o4),T4(o4,i4),i4.checked=h[4],T4(o4,l4),T4(o4,e4),T4(e4,g4),T4(C,v4),T4(C,m4),T4(C,E4),T4(C,Z4),T4(C,x7),T4(C,H7),T4(C,r3),T4(C,u3),T4(C,v3),T4(C,A7),T4(C,s3),T4(C,_3),T4(C,L3),T4(C,Y3),T4(C,m6),T4(C,$7),T4(P,R6),T4(P,d6),l3=!0,y5||(c9=[V3(x4,"change",h[11]),V3(X4,"change",h[13]),V3(n7,"change",h[14]),V3(p9,"change",h[15]),V3(j7,"change",h[16]),V3(R4,"change",h[17]),V3(o9,"change",h[18]),V3(i4,"change",h[19])],y5=!0)},p(_7,[e3]){e3&1&&(x4.checked=~(_7[0]||[]).indexOf(x4.__value)),e3&1&&(X4.checked=~(_7[0]||[]).indexOf(X4.__value)),e3&1&&(n7.checked=~(_7[0]||[]).indexOf(n7.__value)),(!l3||e3&64)&&R3(y3,"fill",_7[8][_7[6]].colours[0]),(!l3||e3&64)&&R3(E3,"fill",_7[8][_7[6]].colours[1]),(!l3||e3&64)&&R3(a3,"fill",_7[8][_7[6]].colours[2]),(!l3||e3&64)&&R3(m3,"fill",_7[8][_7[6]].colours[3]),(!l3||e3&64)&&R3(k3,"fill",_7[8][_7[6]].colours[4]),h6===(h6=W3(_7))&&n9?n9.p(_7,e3):(n9.d(1),n9=h6(_7),n9&&(n9.c(),n9.m(D7,null))),(!l3||e3&64&&g9!==(g9=_7[6]=="Equity Index"?24:40))&&a4(D7,"height",g9),(!l3||e3&64)&&u9!==(u9=_7[8][_7[6]].text+"")&&p5($3,u9),e3&2&&(p9.checked=_7[1]),e3&4&&(j7.checked=_7[2]),e3&8&&(R4.checked=_7[3]),e3&32&&(o9.checked=_7[5]),e3&16&&(i4.checked=_7[4])},i(_7){l3||(F7(P7.$$.fragment,_7),l3=!0)},o(_7){U7(P7.$$.fragment,_7),l3=!1},d(_7){_7&&k4(P),Y1(P7),n9.d(),r9.r(),y5=!1,W1(c9)}}}let Tl="/essential-spaces/map/blocks-data-2021.pmtiles";const Wn="Equity Index";let h8="#cbcbd4";const Sl=h=>h.group;function wl(h,P,C){let w=Wn,x=["#f7ecc3","#f2cd8d","#eeb05b","#e78052","#e15449"],B=["#793B91","#338ED8","#A3A3A3"];const T={"Equity Index":{dataSource:"Equity Index",group:"Equity Layers",breaks:[.3584,.4262,.4841,.5532],colours:x,text:"The layer combines the seven equity layers as a single metric. Areas in the higher quintiles have a greater need for community services due to the greater socio-economic disadvantages experienced by residents."},"Street Map":{dataSource:"meow",group:"Other Layers",breaks:[5,10,15,20],colours:[h8,h8,h8,h8,h8],text:"Street data from OpenStreetMap"},"Population Density":{dataSource:"PopuDenPerKM",group:"Other Layers",breaks:[2e3,4e3,8e3,16e3],colours:x,text:"Block-level population density from the 2021 Canadian census (residents per square kilometre)"},"% in Low Income Household (MBM)":{dataSource:"MBM%",group:"Equity Layers",breaks:[5,10,15,20],colours:x,text:"Percentage of residents in low-income households, based on the 2021 Census data as measured by the Market Basket Measure (MBM)"},"% of Low Income Housing (LIM)":{dataSource:"LIM%",group:"Equity Layers",breaks:[5,15,25,35],colours:x,text:"Percentage of residents low-income household based on 2021 T1 tax file income data as measured by the Low Income Measure (LIM)"},"% of Working Poor":{dataSource:"%ofWP",group:"Equity Layers",breaks:[2.5,5,10,15],colours:x,text:"Percentage of working adults aged 18-64 (excluding full-time and part-time students) who earned more than $3,000 monthly and lived in low-income households by LIM, out of all working adults of that age range"},"% Short-Term Workers":{dataSource:"ShortTerm%",group:"Equity Layers",breaks:[9,11,13,15],colours:x,text:"Percentage of workers who self-reported as an employee with a contract shorter than one year, out of the total number of employees in the 2021 Census"},"% of Youth Not in Employment, Education or Training":{dataSource:"Neet%",group:"Equity Layers",breaks:[10,15,20,25],colours:x,text:"Percentage of youth aged between 18-29 who were unemployed, not in school/training, or not in the labour force, out of the total youth population of the same age range"},"% of Recent Immigrants":{dataSource:"Immigrant%",group:"Other Layers",breaks:[2.5,5,10,15],colours:x,text:"Percentage of population who migrated to Canada between 2016 to 2021 based on the 2021 Census"},"% of Visible Minority":{dataSource:"VM%",group:"Other Layers",breaks:[20,40,60,80],colours:x,text:"Percentage of people who self-identified as visible minority in the 2021 Census, out of the total population"},"% Single Parent Household":{dataSource:"1-ParentFam%",group:"Other Layers",breaks:[15,20,25,30],colours:x,text:"Percentage of households self-reported as a one-parent household in the 2021 Census, out of the total number of households with children"},"% of Renters in Core Housing Need":{dataSource:"%CHN",group:"Equity Layers",breaks:[10,20,30,40],colours:x,text:"Percentage of renters who reported experiencing at least one core housing need (e.g. housing affordability, suitability, and adequacy) in the 2021 Census, out of the total renter population"},"% of Renters in Unaffordable Housing":{dataSource:"%Affordable",group:"Equity Layers",breaks:[10,20,30,40],colours:x,text:"Percentage of renters who spent over 30% of their before-tax household income on rent as reported in the 2021 Census, out of the total renter population"}},p=Object.keys(T).map(h7=>({value:h7,label:h7,...T[h7]}));console.log(p);let H=null;function X(h7){console.log(X),C(6,w=h7.detail.value),p4(w)}function p4(h7){if(console.log(h7),h7==="Street Map")H.setPaintProperty("equity","fill-opacity",0),H.setPaintProperty("background","background-color",h8),H.setPaintProperty("water","fill-color","#e4e4ed"),H.setPaintProperty("nonResMask","fill-opacity",0),H.setPaintProperty("blocks","fill-opacity",0);else if(h7==="Population Density")H.setPaintProperty("equity","fill-opacity",0),H.setPaintProperty("nonResMask","fill-opacity",.95),H.setPaintProperty("background","background-color","#f5f5f5"),H.setPaintProperty("water","fill-color","#fff"),H.setPaintProperty("blocks","fill-opacity",.9);else{let B4=T[h7];H.setPaintProperty("equity","fill-opacity",.9),H.setPaintProperty("nonResMask","fill-opacity",.95),H.setPaintProperty("background","background-color","#f5f5f5"),H.setPaintProperty("water","fill-color","#fff"),H.setPaintProperty("blocks","fill-opacity",0),H.setPaintProperty("equity","fill-color",["case",["!=",["get",B4.dataSource],null],["step",["get",B4.dataSource],B4.colours[0],B4.breaks[0],B4.colours[1],B4.breaks[1],B4.colours[2],B4.breaks[2],B4.colours[3],B4.breaks[3],B4.colours[4]],"#cbcbcb"]),H.setPaintProperty("equity","fill-outline-color",["case",["!=",["get",B4.dataSource],null],["step",["get",B4.dataSource],B4.colours[0],B4.breaks[0],B4.colours[1],B4.breaks[1],B4.colours[2],B4.breaks[2],B4.colours[3],B4.breaks[3],B4.colours[4]],"#cbcbcb"])}}let z=[[-81.5,43],[-77.5,45.5]],J=["Own","Rent","Unknown"];function M4(){let h7=["match",["get","T"],"Own",J.includes("Own")?1:0,"Rent",J.includes("Rent")?1:0,J.includes("Unknown")?1:0];H&&(H.setPaintProperty("spre","circle-opacity",h7),H.setPaintProperty("spre","circle-stroke-opacity",h7))}let C4=!0;function f4(){H&&(C4?(H.setPaintProperty("transitLines","line-opacity",.8),H.setPaintProperty("transitStops","circle-opacity",1),H.setPaintProperty("transitStops","circle-stroke-opacity",1)):(H.setPaintProperty("transitLines","line-opacity",0),H.setPaintProperty("transitStops","circle-opacity",0),H.setPaintProperty("transitStops","circle-stroke-opacity",0)))}let x4=!1;function e7(){H&&(x4?(H.setPaintProperty("transitLinesFuture","line-opacity",.8),H.setPaintProperty("transitStopsFuture","circle-opacity",1),H.setPaintProperty("transitStopsFuture","circle-stroke-opacity",1)):(H.setPaintProperty("transitLinesFuture","line-opacity",0),H.setPaintProperty("transitStopsFuture","circle-opacity",0),H.setPaintProperty("transitStopsFuture","circle-stroke-opacity",0)))}let D4=!1;function l7(){H&&(D4?H.setPaintProperty("library","icon-opacity",1):H.setPaintProperty("library","icon-opacity",0))}let Y7=!1;function j4(){H&&(Y7?H.setPaintProperty("housing","circle-opacity",1):H.setPaintProperty("housing","circle-opacity",0))}let X4=!1;function M7(){H&&(X4?H.setPaintProperty("rec","icon-opacity",1):H.setPaintProperty("rec","icon-opacity",0))}cn(()=>{let h7=new Cs;k1.addProtocol("pmtiles",h7.tile),H=new k1.Map({container:"map",style:pp,center:[-79.46,43.78],zoom:10,minZoom:8,maxZoom:14,bearing:-17,projection:"globe",scrollZoom:!0,maxPitch:0,attributionControl:!1}),H.setMaxBounds(z),H.addControl(new k1.NavigationControl),H.addControl(new k1.ScaleControl,"bottom-right"),H.on("load",()=>{H.addSource("equity",{type:"geojson",data:Op}),H.addLayer({id:"equity",type:"fill",source:"equity",paint:{"fill-opacity":.9,"fill-color":"#fff","fill-outline-color":"#fff"}}),H.addSource("blocks",{type:"vector",url:"pmtiles://"+Tl}),H.addLayer({id:"blocks",type:"fill",source:"blocks","source-layer":"blockdata2021wgs84",paint:{"fill-opacity":0,"fill-color":["case",["!=",["get","popdens"],null],["step",["get","popdens"],x[0],2e3,x[1],4e3,x[2],8e3,x[3],16e3,x[4]],"#cbcbcb"]}}),H.addSource("nonResMask",{type:"geojson",data:kp}),H.addLayer({id:"nonResMask",type:"fill",source:"nonResMask",paint:{"fill-color":"#F7F7F7","fill-outline-color":"#F7F7F7","fill-opacity":.95}}),p4(w),lp.forEach(P7=>{H.addLayer(P7)}),H.addSource("transitLinesFuture",{type:"geojson",data:gl}),H.addLayer({id:"transitLinesFuture",type:"line",source:"transitLinesFuture",paint:{"line-color":"#3d3846","line-opacity":0,"line-width":1.5,"line-dasharray":[2,2]}}),H.addSource("transitStopsFuture",{type:"geojson",data:cl}),H.addLayer({id:"transitStopsFuture",type:"circle",source:"transitStopsFuture",paint:{"circle-stroke-color":"#3d3846","circle-color":"#fff","circle-radius":["interpolate",["linear"],["zoom"],8,1,14,4],"circle-stroke-width":1,"circle-opacity":0,"circle-stroke-opacity":0}}),H.addSource("transitLines",{type:"geojson",data:al}),H.addLayer({id:"transitLines",type:"line",source:"transitLines",paint:{"line-color":"#3d3846","line-opacity":.8,"line-width":1.5,"line-dasharray":[8,2]}}),H.addSource("transitStops",{type:"geojson",data:tl}),H.addLayer({id:"transitStops",type:"circle",source:"transitStops",paint:{"circle-stroke-color":"#3d3846","circle-color":"#fff","circle-radius":["interpolate",["linear"],["zoom"],8,1,14,4],"circle-stroke-width":1,"circle-opacity":1,"circle-stroke-opacity":1}}),H.addSource("adminLowerTier",{type:"geojson",data:wp}),H.addLayer({id:"adminLowerTier",type:"line",source:"adminLowerTier",paint:{"line-color":"#a09f9f","line-opacity":.75,"line-width":1}}),H.addSource("adminLowerTierCentroids",{type:"geojson",data:Ap}),H.addLayer({id:"adminLowerTierCentroids",type:"symbol",source:"adminLowerTierCentroids",layout:{"text-field":"{J_CSDNAME}","text-font":["TradeGothic LT Bold"],"text-ignore-placement":!0,"text-allow-overlap":!0,"text-size":["interpolate",["linear"],["zoom"],8,12,14,22],"text-anchor":"center"},paint:{"text-color":"#4d4d4d","text-halo-color":"#ffffff","text-halo-width":1,"text-opacity":["interpolate",["linear"],["zoom"],8,0,10,1]}}),H.addSource("adminUpperTier",{type:"geojson",data:Pp}),H.addLayer({id:"adminUpperTierCase",type:"line",source:"adminUpperTier",paint:{"line-color":"#4d4d4d","line-opacity":.05,"line-width":8}}),H.addLayer({id:"adminUpperTier",type:"line",source:"adminUpperTier",paint:{"line-color":"#4d4d4d","line-opacity":.8,"line-width":1.5}}),H.addSource("library",{type:"geojson",data:Wp});let B4=new Image;B4.src=Vn,B4.onload=function(){H.addImage("triangle_library",B4),H.addLayer({id:"library",type:"symbol",source:"library",layout:{"icon-image":"triangle_library","icon-size":["interpolate",["linear"],["zoom"],.05,.01,25,1.3],"icon-allow-overlap":!0},paint:{"icon-color":"#FF0000","icon-opacity":0}})},H.addSource("housing",{type:"geojson",data:Jp});let N4=new Image;N4.src=fl,N4.onload=function(){H.addImage("triangle_housing",N4),H.addLayer({id:"housing",type:"circle",source:"housing",paint:{"circle-color":"#000","circle-radius":["interpolate",["linear"],["zoom"],8,1,12,3.5],"circle-opacity":0}})},H.addSource("rec",{type:"geojson",data:Gp});let U4=new Image;U4.src=Un,U4.onload=function(){H.addImage("triangle_rec",U4),H.addLayer({id:"rec",type:"symbol",source:"rec",layout:{"icon-image":"triangle_rec","icon-size":["interpolate",["linear"],["zoom"],.05,.01,25,1.3],"icon-allow-overlap":!0},paint:{"icon-color":"#FF0000","icon-opacity":0}})},H.addSource("spre",{type:"geojson",data:dp}),H.addLayer({id:"spre",type:"circle",source:"spre",paint:{"circle-color":["match",["get","T"],"Own",B[1],"Rent",B[0],B[2]],"circle-radius":["interpolate",["linear"],["zoom"],8,2.5,10,3.5,12,7],"circle-stroke-color":["match",["get","T"],"Own","#fff","Rent","#fff","#fff"],"circle-opacity":["match",["get","T"],"Own",1,"Rent",1,1],"circle-stroke-opacity":["match",["get","T"],"Own",1,"Rent",1,1],"circle-stroke-width":1}})}),H.on("click","spre",B4=>{const N4=B4.features[0].geometry.coordinates.slice(),U4=B4.features[0].properties.N,P7=" (Tenure: "+B4.features[0].properties.T+")";for(;Math.abs(B4.lngLat.lng-N4[0])>180;)N4[0]+=B4.lngLat.lng>N4[0]?360:-360;const w7=U4+P7,D7=new k1.Popup({closeOnClick:!0,closeButton:!1}).setLngLat(N4).setHTML(w7).addTo(H)._content;D7&&(D7.style.padding="6px 12px 6px 6px",D7.style.backgroundColor="#ffffff",D7.style.boxShadow="0 0 10px rgba(0, 0, 0, 0.2)",D7.style.opacity=.95)}),H.on("mouseenter","spre",()=>{H.getCanvas().style.cursor="pointer"}),H.on("mouseleave","spre",()=>{H.getCanvas().style.cursor=""})});const B7=[[]];function C7(){J=bt(B7[0],this.__value,this.checked),C(0,J)}function R7(){J=bt(B7[0],this.__value,this.checked),C(0,J)}function P4(){J=bt(B7[0],this.__value,this.checked),C(0,J)}function n7(){C4=this.checked,C(1,C4)}function S7(){x4=this.checked,C(2,x4)}function g7(){D4=this.checked,C(3,D4)}function O7(){X4=this.checked,C(5,X4)}function X7(){Y7=this.checked,C(4,Y7)}return h.$$.update=()=>{h.$$.dirty&1&&M4(),h.$$.dirty&2&&f4(),h.$$.dirty&4&&e7(),h.$$.dirty&8&&l7(),h.$$.dirty&16&&j4(),h.$$.dirty&32&&M7()},[J,C4,x4,D4,Y7,X4,w,B,T,p,X,C7,B7,R7,P4,n7,S7,g7,O7,X7]}class bl extends z1{constructor(P){super(),q1(this,P,wl,Ml,U1,{})}}export{bl as component,xl as universal}; diff --git a/docs/_app/version.json b/docs/_app/version.json index c939bee..79de9e5 100644 --- a/docs/_app/version.json +++ b/docs/_app/version.json @@ -1 +1 @@ -{"version":"1728591061444"} \ No newline at end of file +{"version":"1728666575632"} \ No newline at end of file diff --git a/docs/index.html b/docs/map.html similarity index 70% rename from docs/index.html rename to docs/map.html index 6ab7480..9b37ad8 100644 --- a/docs/index.html +++ b/docs/map.html @@ -6,11 +6,11 @@ - - - - - + + + + + Essential Spaces: Real (Estate) Solutions for Community Needs @@ -20,16 +20,16 @@