This commit is contained in:
HarelM committed 2024-02-21 05:18:43 +00:00
1 parent c853c754b1
commit 49f91a69f1
5 files changed
+79 -79

No files matched your search

+1
View File
@@ -0,0 +1 @@
html{background-color:#1c1f24}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:"";content:none}table{border-collapse:collapse;border-spacing:0}@font-face{font-family:Roboto;src:url(/maputnik/assets/Roboto-Regular-fhy1tayw.ttf) format("truetype");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Roboto;src:url(/maputnik/assets/Roboto-Medium-tM9scNHW.ttf) format("truetype");font-weight:700;font-style:normal;font-display:swap}html{color:#f0f0f0;font-size:14px;box-sizing:border-box}body{overflow:hidden}*,*:before,*:after{box-sizing:inherit}p{font-size:12px;margin-top:5px;margin-bottom:5px;color:#a4a4a4;line-height:1.3}h1{font-size:20px;margin-bottom:10px;font-weight:700}h2{font-size:18px;margin-bottom:10px;font-weight:700}h3{font-size:16px;margin-bottom:10px;font-weight:700}h4{font-size:14px;margin-bottom:10px}input:focus,textarea:focus,*[role=button]:focus,button:focus,.maputnik-toolbar-link:focus,.maputnik-toolbar-select:focus,.maputnik-toolbar-action:focus,select:focus{color:#f0f0f0;outline:#8e8e8e auto 1px}label:hover{color:#f0f0f0}.clearfix:after,.maputnik-zoom-spec-property:after,.maputnik-filter-editor:after,.maputnik-add-source:after,.maputnik-add-layer:after{content:"";display:table;clear:both}a{color:#fff}.hide{display:none!important}.maputnik-map__container{background:#fff;display:flex;position:fixed!important;top:40px;right:0;bottom:0;height:calc(100% - 40px);width:calc(100% - 570px)}.maputnik-map__container--error{align-items:center;justify-content:center}.maputnik-map__container__error-message{margin:16px;text-align:center}.maputnik-map__map{width:100%;height:100%}.maputnik-input-block:hover .maputnik-doc-button,.maputnik-filter-editor-compound-select:hover .maputnik-doc-button{opacity:1;pointer-events:all;cursor:pointer}.maputnik-doc-wrapper{display:inline-block;box-sizing:border-box;font-size:12px;line-height:2;-webkit-user-select:none;user-select:none;position:relative;vertical-align:top}.maputnik-doc-popup{display:none;color:#a4a4a4;background-color:#222429;padding:5px;font-size:10px;position:absolute;top:20px;left:0;width:120px;z-index:10;pointer-events:none}.maputnik-doc-button{opacity:0;pointer-events:none;background:#191b20;color:#fff;border:none;padding:4px}.maputnik-doc-button svg{pointer-events:none}.maputnik-doc-button--open{opacity:1;pointer-events:all}.maputnik-doc-inline{color:#a4a4a4;background-color:#222429;padding:5px;font-size:12px;margin-top:10px;line-height:1.5;flex:1 0}.maputnik-doc-target:hover .maputnik-doc-popup{display:block;text-align:left}.maputnik-button,.maputnik-radio-as-button{display:inline-block;cursor:pointer;background-color:#303237;color:#a4a4a4;font-size:12px;padding:5px;-webkit-user-select:none;user-select:none;border-width:0;border-radius:2px;box-sizing:border-box;text-decoration:none}.maputnik-button:hover,.maputnik-radio-as-button:hover{background-color:#4d5058;color:#f0f0f0}.maputnik-button:disabled,.maputnik-radio-as-button:disabled{background-color:#242629;color:#303237;cursor:not-allowed}.maputnik-big-button,.maputnik-add-source-button,.maputnik-add-layer-button,.maputnik-upload-button{margin-top:10px;display:inline-block;padding:10px;font-size:14px}.maputnik-wide-button{padding:5px 10px}.maputnik-green-button{background-color:#53b972;color:#191b20}.maputnik-white-button{background-color:#f0f0f0;color:#191b20}.maputnik-icon-button,.maputnik-make-data-function,.maputnik-delete-stop,.maputnik-make-zoom-function,.maputnik-delete-filter{background-color:transparent}.maputnik-icon-button:hover:not(:disabled),.maputnik-make-data-function:hover:not(:disabled),.maputnik-delete-stop:hover:not(:disabled),.maputnik-make-zoom-function:hover:not(:disabled),.maputnik-delete-filter:hover:not(:disabled){background-color:transparent}.maputnik-icon-button:hover:not(:disabled) label,.maputnik-make-data-function:hover:not(:disabled) label,.maputnik-delete-stop:hover:not(:disabled) label,.maputnik-make-zoom-function:hover:not(:disabled) label,.maputnik-delete-filter:hover:not(:disabled) label,.maputnik-icon-button:hover:not(:disabled) svg,.maputnik-make-data-function:hover:not(:disabled) svg,.maputnik-delete-stop:hover:not(:disabled) svg,.maputnik-make-zoom-function:hover:not(:disabled) svg,.maputnik-delete-filter:hover:not(:disabled) svg{cursor:pointer}.maputnik-icon-button:hover:not(:disabled) svg,Line truncated
@@ -1,53 +1,53 @@
var T$=Object.defineProperty;var K$=(e,n,t)=>n in e?T$(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t;var rn=(e,n,t)=>(K$(e,typeof n!="symbol"?n+"":n,t),t);(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function t(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=t(i);fetch(i.href,o)}})();var dh=typeof globalThis<"u"?globalThis:typeof window<"u"||typeof window<"u"?window:typeof self<"u"?self:{};function oa(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function bO(e){if(e.__esModule)return e;var n=e.default;if(typeof n=="function"){var t=function r(){return this instanceof r?Reflect.construct(n,arguments,this.constructor):n.apply(this,arguments)};t.prototype=n.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),t}var CF={exports:{}},IC={},bF={exports:{}},ga={};/*
var K$=Object.defineProperty;var P$=(e,n,t)=>n in e?K$(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t;var rn=(e,n,t)=>(P$(e,typeof n!="symbol"?n+"":n,t),t);(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function t(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=t(i);fetch(i.href,o)}})();var ch=typeof globalThis<"u"?globalThis:typeof window<"u"||typeof window<"u"?window:typeof self<"u"?self:{};function oa(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function xO(e){if(e.__esModule)return e;var n=e.default;if(typeof n=="function"){var t=function r(){return this instanceof r?Reflect.construct(n,arguments,this.constructor):n.apply(this,arguments)};t.prototype=n.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),t}var xF={exports:{}},IC={},wF={exports:{}},ga={};/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var wk=Object.getOwnPropertySymbols,P$=Object.prototype.hasOwnProperty,F$=Object.prototype.propertyIsEnumerable;function D$(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function L$(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var n={},t=0;t<10;t++)n["_"+String.fromCharCode(t)]=t;var r=Object.getOwnPropertyNames(n).map(function(o){return n[o]});if(r.join("")!=="0123456789")return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach(function(o){i[o]=o}),Object.keys(Object.assign({},i)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var xF=L$()?Object.assign:function(e,n){for(var t,r=D$(e),i,o=1;o<arguments.length;o++){t=Object(arguments[o]);for(var s in t)P$.call(t,s)&&(r[s]=t[s]);if(wk){i=wk(t);for(var a=0;a<i.length;a++)F$.call(t,i[a])&&(r[i[a]]=t[i[a]])}}return r};/** @license React v16.14.0
*/var Mk=Object.getOwnPropertySymbols,F$=Object.prototype.hasOwnProperty,D$=Object.prototype.propertyIsEnumerable;function L$(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function U$(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var n={},t=0;t<10;t++)n["_"+String.fromCharCode(t)]=t;var r=Object.getOwnPropertyNames(n).map(function(o){return n[o]});if(r.join("")!=="0123456789")return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach(function(o){i[o]=o}),Object.keys(Object.assign({},i)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var MF=U$()?Object.assign:function(e,n){for(var t,r=L$(e),i,o=1;o<arguments.length;o++){t=Object(arguments[o]);for(var s in t)F$.call(t,s)&&(r[s]=t[s]);if(Mk){i=Mk(t);for(var a=0;a<i.length;a++)D$.call(t,i[a])&&(r[i[a]]=t[i[a]])}}return r};/** @license React v16.14.0
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var xO=xF,hh=typeof Symbol=="function"&&Symbol.for,TC=hh?Symbol.for("react.element"):60103,U$=hh?Symbol.for("react.portal"):60106,R$=hh?Symbol.for("react.fragment"):60107,z$=hh?Symbol.for("react.strict_mode"):60108,j$=hh?Symbol.for("react.profiler"):60114,W$=hh?Symbol.for("react.provider"):60109,N$=hh?Symbol.for("react.context"):60110,G$=hh?Symbol.for("react.forward_ref"):60112,Q$=hh?Symbol.for("react.suspense"):60113,$$=hh?Symbol.for("react.memo"):60115,Y$=hh?Symbol.for("react.lazy"):60116,Mk=typeof Symbol=="function"&&Symbol.iterator;function KC(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t<arguments.length;t++)n+="&args[]="+encodeURIComponent(arguments[t]);return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var wF={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},MF={};function Uy(e,n,t){this.props=e,this.context=n,this.refs=MF,this.updater=t||wF}Uy.prototype.isReactComponent={};Uy.prototype.setState=function(e,n){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error(KC(85));this.updater.enqueueSetState(this,e,n,"setState")};Uy.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function SF(){}SF.prototype=Uy.prototype;function wO(e,n,t){this.props=e,this.context=n,this.refs=MF,this.updater=t||wF}var MO=wO.prototype=new SF;MO.constructor=wO;xO(MO,Uy.prototype);MO.isPureReactComponent=!0;var SO={current:null},EF=Object.prototype.hasOwnProperty,OF={key:!0,ref:!0,__self:!0,__source:!0};function BF(e,n,t){var r,i={},o=null,s=null;if(n!=null)for(r in n.ref!==void 0&&(s=n.ref),n.key!==void 0&&(o=""+n.key),n)EF.call(n,r)&&!OF.hasOwnProperty(r)&&(i[r]=n[r]);var a=arguments.length-2;if(a===1)i.children=t;else if(1<a){for(var h=Array(a),g=0;g<a;g++)h[g]=arguments[g+2];i.children=h}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)i[r]===void 0&&(i[r]=a[r]);return{$$typeof:TC,type:e,key:o,ref:s,props:i,_owner:SO.current}}function q$(e,n){return{$$typeof:TC,type:e.type,key:n,ref:e.ref,props:e.props,_owner:e._owner}}function EO(e){return typeof e=="object"&&e!==null&&e.$$typeof===TC}function V$(e){var n={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(t){return n[t]})}var kF=/\/+/g,T2=[];function IF(e,n,t,r){if(T2.length){var i=T2.pop();return i.result=e,i.keyPrefix=n,i.func=t,i.context=r,i.count=0,i}return{result:e,keyPrefix:n,func:t,context:r,count:0}}function TF(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>T2.length&&T2.push(e)}function OS(e,n,t,r){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var o=!1;if(e===null)o=!0;else switch(i){case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){case TC:case U$:o=!0}}if(o)return t(r,e,n===""?"."+Rw(e,0):n),1;if(o=0,n=n===""?".":n+":",Array.isArray(e))for(var s=0;s<e.length;s++){i=e[s];var a=n+Rw(i,s);o+=OS(i,a,t,r)}else if(e===null||typeof e!="object"?a=null:(a=Mk&&e[Mk]||e["@@iterator"],a=typeof a=="function"?a:null),typeof a=="function")for(e=a.call(e),s=0;!(i=e.next()).done;)i=i.value,a=n+Rw(i,s++),o+=OS(i,a,t,r);else if(i==="object")throw t=""+e,Error(KC(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t,""));return o}function BS(e,n,t){return e==null?0:OS(e,"",n,t)}function Rw(e,n){return typeof e=="object"&&e!==null&&e.key!=null?V$(e.key):n.toString(36)}function H$(e,n){e.func.call(e.context,n,e.count++)}function Z$(e,n,t){var r=e.result,i=e.keyPrefix;e=e.func.call(e.context,n,e.count++),Array.isArray(e)?kS(e,r,t,function(o){return o}):e!=null&&(EO(e)&&(e=q$(e,i+(!e.key||n&&n.key===e.key?"":(""+e.key).replace(kF,"$&/")+"/")+t)),r.push(e))}function kS(e,n,t,r,i){var o="";t!=null&&(o=(""+t).replace(kF,"$&/")+"/"),n=IF(n,o,r,i),BS(e,Z$,n),TF(n)}var KF={current:null};function kp(){var e=KF.current;if(e===null)throw Error(KC(321));return e}var X$={ReactCurrentDispatcher:KF,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:SO,IsSomeRendererActing:{current:!1},assign:xO};ga.Children={map:function(e,n,t){if(e==null)return e;var r=[];return kS(e,r,null,n,t),r},forEach:function(e,n,t){if(e==null)return e;n=IF(null,null,n,t),BS(e,H$,n),TF(n)},count:function(e){return BS(e,function(){return null},null)},toArray:function(e){var n=[];return kS(e,n,null,function(t){return t}),n},only:function(e){if(!EO(e))throw Error(KC(143));return e}};ga.Component=Uy;ga.Fragment=R$;ga.Profiler=j$;ga.PureComponent=wO;ga.StrictMode=z$;ga.Suspense=Q$;ga.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=X$;ga.cloneElement=function(e,n,t){if(e==null)throw Error(KC(267,e));var r=xO({},e.props),i=e.key,o=e.ref,s=e._owner;if(n!=null){if(n.ref!==void 0&&(o=n.ref,s=SO.current),n.key!==void 0&&(i=""+n.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(h in n)EF.call(n,h)&&!OF.hasOwnProperty(h)&&(r[h]=n[h]===void 0&&a!==void 0?a[h]Line truncated
*/var wO=MF,dh=typeof Symbol=="function"&&Symbol.for,TC=dh?Symbol.for("react.element"):60103,R$=dh?Symbol.for("react.portal"):60106,z$=dh?Symbol.for("react.fragment"):60107,j$=dh?Symbol.for("react.strict_mode"):60108,W$=dh?Symbol.for("react.profiler"):60114,N$=dh?Symbol.for("react.provider"):60109,G$=dh?Symbol.for("react.context"):60110,Q$=dh?Symbol.for("react.forward_ref"):60112,$$=dh?Symbol.for("react.suspense"):60113,Y$=dh?Symbol.for("react.memo"):60115,q$=dh?Symbol.for("react.lazy"):60116,Sk=typeof Symbol=="function"&&Symbol.iterator;function KC(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t<arguments.length;t++)n+="&args[]="+encodeURIComponent(arguments[t]);return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var SF={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},EF={};function Uy(e,n,t){this.props=e,this.context=n,this.refs=EF,this.updater=t||SF}Uy.prototype.isReactComponent={};Uy.prototype.setState=function(e,n){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error(KC(85));this.updater.enqueueSetState(this,e,n,"setState")};Uy.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function OF(){}OF.prototype=Uy.prototype;function MO(e,n,t){this.props=e,this.context=n,this.refs=EF,this.updater=t||SF}var SO=MO.prototype=new OF;SO.constructor=MO;wO(SO,Uy.prototype);SO.isPureReactComponent=!0;var EO={current:null},BF=Object.prototype.hasOwnProperty,kF={key:!0,ref:!0,__self:!0,__source:!0};function IF(e,n,t){var r,i={},o=null,s=null;if(n!=null)for(r in n.ref!==void 0&&(s=n.ref),n.key!==void 0&&(o=""+n.key),n)BF.call(n,r)&&!kF.hasOwnProperty(r)&&(i[r]=n[r]);var a=arguments.length-2;if(a===1)i.children=t;else if(1<a){for(var h=Array(a),g=0;g<a;g++)h[g]=arguments[g+2];i.children=h}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)i[r]===void 0&&(i[r]=a[r]);return{$$typeof:TC,type:e,key:o,ref:s,props:i,_owner:EO.current}}function V$(e,n){return{$$typeof:TC,type:e.type,key:n,ref:e.ref,props:e.props,_owner:e._owner}}function OO(e){return typeof e=="object"&&e!==null&&e.$$typeof===TC}function H$(e){var n={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(t){return n[t]})}var TF=/\/+/g,T2=[];function KF(e,n,t,r){if(T2.length){var i=T2.pop();return i.result=e,i.keyPrefix=n,i.func=t,i.context=r,i.count=0,i}return{result:e,keyPrefix:n,func:t,context:r,count:0}}function PF(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>T2.length&&T2.push(e)}function BS(e,n,t,r){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var o=!1;if(e===null)o=!0;else switch(i){case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){case TC:case R$:o=!0}}if(o)return t(r,e,n===""?"."+Rw(e,0):n),1;if(o=0,n=n===""?".":n+":",Array.isArray(e))for(var s=0;s<e.length;s++){i=e[s];var a=n+Rw(i,s);o+=BS(i,a,t,r)}else if(e===null||typeof e!="object"?a=null:(a=Sk&&e[Sk]||e["@@iterator"],a=typeof a=="function"?a:null),typeof a=="function")for(e=a.call(e),s=0;!(i=e.next()).done;)i=i.value,a=n+Rw(i,s++),o+=BS(i,a,t,r);else if(i==="object")throw t=""+e,Error(KC(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t,""));return o}function kS(e,n,t){return e==null?0:BS(e,"",n,t)}function Rw(e,n){return typeof e=="object"&&e!==null&&e.key!=null?H$(e.key):n.toString(36)}function Z$(e,n){e.func.call(e.context,n,e.count++)}function X$(e,n,t){var r=e.result,i=e.keyPrefix;e=e.func.call(e.context,n,e.count++),Array.isArray(e)?IS(e,r,t,function(o){return o}):e!=null&&(OO(e)&&(e=V$(e,i+(!e.key||n&&n.key===e.key?"":(""+e.key).replace(TF,"$&/")+"/")+t)),r.push(e))}function IS(e,n,t,r,i){var o="";t!=null&&(o=(""+t).replace(TF,"$&/")+"/"),n=KF(n,o,r,i),kS(e,X$,n),PF(n)}var FF={current:null};function Bp(){var e=FF.current;if(e===null)throw Error(KC(321));return e}var J$={ReactCurrentDispatcher:FF,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:EO,IsSomeRendererActing:{current:!1},assign:wO};ga.Children={map:function(e,n,t){if(e==null)return e;var r=[];return IS(e,r,null,n,t),r},forEach:function(e,n,t){if(e==null)return e;n=KF(null,null,n,t),kS(e,Z$,n),PF(n)},count:function(e){return kS(e,function(){return null},null)},toArray:function(e){var n=[];return IS(e,n,null,function(t){return t}),n},only:function(e){if(!OO(e))throw Error(KC(143));return e}};ga.Component=Uy;ga.Fragment=z$;ga.Profiler=W$;ga.PureComponent=MO;ga.StrictMode=j$;ga.Suspense=$$;ga.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=J$;ga.cloneElement=function(e,n,t){if(e==null)throw Error(KC(267,e));var r=wO({},e.props),i=e.key,o=e.ref,s=e._owner;if(n!=null){if(n.ref!==void 0&&(o=n.ref,s=EO.current),n.key!==void 0&&(i=""+n.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(h in n)BF.call(n,h)&&!kF.hasOwnProperty(h)&&(r[h]=n[h]===void 0&&a!==void 0?a[h]Line truncated
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var J$=Sr,PF=60103;IC.Fragment=60107;if(typeof Symbol=="function"&&Symbol.for){var Sk=Symbol.for;PF=Sk("react.element"),IC.Fragment=Sk("react.fragment")}var eY=J$.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,tY=Object.prototype.hasOwnProperty,nY={key:!0,ref:!0,__self:!0,__source:!0};function FF(e,n,t){var r,i={},o=null,s=null;t!==void 0&&(o=""+t),n.key!==void 0&&(o=""+n.key),n.ref!==void 0&&(s=n.ref);for(r in n)tY.call(n,r)&&!nY.hasOwnProperty(r)&&(i[r]=n[r]);if(e&&e.defaultProps)for(r in n=e.defaultProps,n)i[r]===void 0&&(i[r]=n[r]);return{$$typeof:PF,type:e,key:o,ref:s,props:i,_owner:eY.current}}IC.jsx=FF;IC.jsxs=FF;CF.exports=IC;var N=CF.exports,DF={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},IS=xn.createContext&&xn.createContext(DF),Sm=function(){return Sm=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++){n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Sm.apply(this,arguments)},rY=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)n.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(t[r[i]]=e[r[i]]);return t};function LF(e){return e&&e.map(function(n,t){return xn.createElement(n.tag,Sm({key:t},n.attr),LF(n.child))})}function rl(e){return function(n){return xn.createElement(iY,Sm({attr:Sm({},e.attr)},n),LF(e.child))}}function iY(e){var n=function(t){var r=e.attr,i=e.size,o=e.title,s=rY(e,["attr","size","title"]),a=i||t.size||"1em",h;return t.className&&(h=t.className),e.className&&(h=(h?h+" ":"")+e.className),xn.createElement("svg",Sm({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,r,s,{className:h,style:Sm(Sm({color:e.color||t.color},t.style),e.style),height:a,width:a,xmlns:"http://www.w3.org/2000/svg"}),o&&xn.createElement("title",null,o),e.children)};return IS!==void 0?xn.createElement(IS.Consumer,null,function(t){return n(t)}):n(DF)}var UF={exports:{}},Md={},RF={exports:{}},zF={};/** @license React v0.19.1
*/var eY=Sr,DF=60103;IC.Fragment=60107;if(typeof Symbol=="function"&&Symbol.for){var Ek=Symbol.for;DF=Ek("react.element"),IC.Fragment=Ek("react.fragment")}var tY=eY.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,nY=Object.prototype.hasOwnProperty,rY={key:!0,ref:!0,__self:!0,__source:!0};function LF(e,n,t){var r,i={},o=null,s=null;t!==void 0&&(o=""+t),n.key!==void 0&&(o=""+n.key),n.ref!==void 0&&(s=n.ref);for(r in n)nY.call(n,r)&&!rY.hasOwnProperty(r)&&(i[r]=n[r]);if(e&&e.defaultProps)for(r in n=e.defaultProps,n)i[r]===void 0&&(i[r]=n[r]);return{$$typeof:DF,type:e,key:o,ref:s,props:i,_owner:tY.current}}IC.jsx=LF;IC.jsxs=LF;xF.exports=IC;var N=xF.exports,UF={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},TS=xn.createContext&&xn.createContext(UF),Sm=function(){return Sm=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++){n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Sm.apply(this,arguments)},iY=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)n.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(t[r[i]]=e[r[i]]);return t};function RF(e){return e&&e.map(function(n,t){return xn.createElement(n.tag,Sm({key:t},n.attr),RF(n.child))})}function rl(e){return function(n){return xn.createElement(oY,Sm({attr:Sm({},e.attr)},n),RF(e.child))}}function oY(e){var n=function(t){var r=e.attr,i=e.size,o=e.title,s=iY(e,["attr","size","title"]),a=i||t.size||"1em",h;return t.className&&(h=t.className),e.className&&(h=(h?h+" ":"")+e.className),xn.createElement("svg",Sm({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,r,s,{className:h,style:Sm(Sm({color:e.color||t.color},t.style),e.style),height:a,width:a,xmlns:"http://www.w3.org/2000/svg"}),o&&xn.createElement("title",null,o),e.children)};return TS!==void 0?xn.createElement(TS.Consumer,null,function(t){return n(t)}):n(UF)}var zF={exports:{}},Md={},jF={exports:{}},WF={};/** @license React v0.19.1
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/(function(e){var n,t,r,i,o;if(typeof window>"u"||typeof MessageChannel!="function"){var s=null,a=null,h=function(){if(s!==null)try{var mt=e.unstable_now();s(!0,mt),s=null}catch(dt){throw setTimeout(h,0),dt}},g=Date.now();e.unstable_now=function(){return Date.now()-g},n=function(mt){s!==null?setTimeout(n,0,mt):(s=mt,setTimeout(h,0))},t=function(mt,dt){a=setTimeout(mt,dt)},r=function(){clearTimeout(a)},i=function(){return!1},o=e.unstable_forceFrameRate=function(){}}else{var C=window.performance,B=window.Date,k=window.setTimeout,P=window.clearTimeout;if(typeof console<"u"){var U=window.cancelAnimationFrame;typeof window.requestAnimationFrame!="function"&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),typeof U!="function"&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if(typeof C=="object"&&typeof C.now=="function")e.unstable_now=function(){return C.now()};else{var Z=B.now();e.unstable_now=function(){return B.now()-Z}}var W=!1,Q=null,q=-1,oe=5,re=0;i=function(){return e.unstable_now()>=re},o=function(){},e.unstable_forceFrameRate=function(mt){0>mt||125<mt?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):oe=0<mt?Math.floor(1e3/mt):5};var Ae=new MessageChannel,ae=Ae.port2;Ae.port1.onmessage=function(){if(Q!==null){var mt=e.unstable_now();re=mt+oe;try{Q(!0,mt)?ae.postMessage(null):(W=!1,Q=null)}catch(dt){throw ae.postMessage(null),dt}}else W=!1},n=function(mt){Q=mt,W||(W=!0,ae.postMessage(null))},t=function(mt,dt){q=k(function(){mt(e.unstable_now())},dt)},r=function(){P(q),q=-1}}function se(mt,dt){var kt=mt.length;mt.push(dt);e:for(;;){var Pt=kt-1>>>1,Me=mt[Pt];if(Me!==void 0&&0<Ne(Me,dt))mt[Pt]=dt,mt[kt]=Me,kt=Pt;else break e}}function ye(mt){return mt=mt[0],mt===void 0?null:mt}function De(mt){var dt=mt[0];if(dt!==void 0){var kt=mt.pop();if(kt!==dt){mt[0]=kt;e:for(var Pt=0,Me=mt.length;Pt<Me;){var he=2*(Pt+1)-1,be=mt[he],Pe=he+1,Ze=mt[Pe];if(be!==void 0&&0>Ne(be,kt))Ze!==void 0&&0>Ne(Ze,be)?(mt[Pt]=Ze,mt[Pe]=kt,Pt=Pe):(mt[Pt]=be,mt[he]=kt,Pt=he);else if(Ze!==void 0&&0>Ne(Ze,kt))mt[Pt]=Ze,mt[Pe]=kt,Pt=Pe;else break e}}return dt}return null}function Ne(mt,dt){var kt=mt.sortIndex-dt.sortIndex;return kt!==0?kt:mt.id-dt.id}var et=[],ft=[],Ke=1,rt=null,_e=3,Ut=!1,jt=!1,nn=!1;function Qt(mt){for(var dt=ye(ft);dt!==null;){if(dt.callback===null)De(ft);else if(dt.startTime<=mt)De(ft),dt.sortIndex=dt.expirationTime,se(et,dt);else break;dt=ye(ft)}}function He(mt){if(nn=!1,Qt(mt),!jt)if(ye(et)!==null)jt=!0,n(Je);else{var dt=ye(ft);dt!==null&&t(He,dt.startTime-mt)}}function Je(mt,dt){jt=!1,nn&&(nn=!1,r()),Ut=!0;var kt=_e;try{for(Qt(dt),rt=ye(et);rt!==null&&(!(rt.expirationTime>dt)||mt&&!i());){var Pt=rt.callback;if(Pt!==null){rt.callback=null,_e=rt.priorityLevel;var Me=Pt(rt.expirationTime<=dt);dt=e.unstable_now(),typeof Me=="function"?rt.callback=Me:rt===ye(et)&&De(et),Qt(dt)}else De(et);rt=ye(et)}if(rt!==null)var he=!0;else{var be=ye(ft);be!==null&&t(He,be.startTime-dt),he=!1}return he}finally{rt=null,_e=kt,Ut=!1}}function tt(mt){switch(mt){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var on=o;e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(mt){mt.callback=null},e.unstable_continueExecution=function(){jt||Ut||(jt=!0,n(Je))},e.unstable_getCurrentPriorityLevel=function(){return _e},e.unstable_getFirstCallbackNode=function(){return ye(et)},e.unstable_next=function(mt){switch(_e){case 1:case 2:case 3:var dt=3;break;default:dt=_e}var kt=_e;_e=dt;try{return mt()}finally{_e=kt}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=on,e.unstable_runWithPriority=function(mt,dt){switch(mt){case 1:case 2:case 3:case 4:case 5:break;default:mt=3}var kt=_e;_e=mt;try{return dt()}finally{_e=kt}},e.unstable_scheduleCallback=function(mt,dt,kt){var Pt=e.unstable_now();if(typeof kt=="object"&&kt!==null){var Me=kt.delay;Me=typeof Me=="number"&&0<Me?Pt+Me:Pt,kt=typeof kt.timeout=="number"?kt.timeout:tt(mt)}else kt=tt(mt),Me=Pt;return kt=Me+kt,mt={id:Ke++,callback:dt,priorityLevel:mt,startTime:Me,expirationTime:kt,sortIndex:-1},Me>Pt?(mt.sortIndex=Me,se(ft,mt),ye(et)===null&&mt===ye(ft)&&(nn?r():nn=!0,t(He,Me-Pt))):(mt.sortIndex=kt,se(et,mt),jt||Ut||(jt=!0,n(Je))),mt},e.unstable_shouldYield=function(){var mt=e.unstable_now();Qt(mt);var dt=ye(et);return dt!==rt&&rt!==null&&dt!==null&&dt.callback!==null&&dt.startTime<=mt&&dt.expirationTime<rt.expirationTime||i()},e.unstable_wrapCallback=function(mt){var dt=_e;return function(){var kt=_e;_e=dt;try{return mt.apply(this,arguments)}finally{_e=kt}}}})(zF);RF.exports=zF;var oY=RF.exports;/** @licens Line truncated
*/(function(e){var n,t,r,i,o;if(typeof window>"u"||typeof MessageChannel!="function"){var s=null,a=null,h=function(){if(s!==null)try{var mt=e.unstable_now();s(!0,mt),s=null}catch(dt){throw setTimeout(h,0),dt}},g=Date.now();e.unstable_now=function(){return Date.now()-g},n=function(mt){s!==null?setTimeout(n,0,mt):(s=mt,setTimeout(h,0))},t=function(mt,dt){a=setTimeout(mt,dt)},r=function(){clearTimeout(a)},i=function(){return!1},o=e.unstable_forceFrameRate=function(){}}else{var C=window.performance,B=window.Date,k=window.setTimeout,P=window.clearTimeout;if(typeof console<"u"){var U=window.cancelAnimationFrame;typeof window.requestAnimationFrame!="function"&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),typeof U!="function"&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if(typeof C=="object"&&typeof C.now=="function")e.unstable_now=function(){return C.now()};else{var Z=B.now();e.unstable_now=function(){return B.now()-Z}}var W=!1,Q=null,q=-1,oe=5,re=0;i=function(){return e.unstable_now()>=re},o=function(){},e.unstable_forceFrameRate=function(mt){0>mt||125<mt?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):oe=0<mt?Math.floor(1e3/mt):5};var Ae=new MessageChannel,ae=Ae.port2;Ae.port1.onmessage=function(){if(Q!==null){var mt=e.unstable_now();re=mt+oe;try{Q(!0,mt)?ae.postMessage(null):(W=!1,Q=null)}catch(dt){throw ae.postMessage(null),dt}}else W=!1},n=function(mt){Q=mt,W||(W=!0,ae.postMessage(null))},t=function(mt,dt){q=k(function(){mt(e.unstable_now())},dt)},r=function(){P(q),q=-1}}function se(mt,dt){var kt=mt.length;mt.push(dt);e:for(;;){var Pt=kt-1>>>1,Me=mt[Pt];if(Me!==void 0&&0<Ne(Me,dt))mt[Pt]=dt,mt[kt]=Me,kt=Pt;else break e}}function ye(mt){return mt=mt[0],mt===void 0?null:mt}function De(mt){var dt=mt[0];if(dt!==void 0){var kt=mt.pop();if(kt!==dt){mt[0]=kt;e:for(var Pt=0,Me=mt.length;Pt<Me;){var he=2*(Pt+1)-1,be=mt[he],Pe=he+1,Ze=mt[Pe];if(be!==void 0&&0>Ne(be,kt))Ze!==void 0&&0>Ne(Ze,be)?(mt[Pt]=Ze,mt[Pe]=kt,Pt=Pe):(mt[Pt]=be,mt[he]=kt,Pt=he);else if(Ze!==void 0&&0>Ne(Ze,kt))mt[Pt]=Ze,mt[Pe]=kt,Pt=Pe;else break e}}return dt}return null}function Ne(mt,dt){var kt=mt.sortIndex-dt.sortIndex;return kt!==0?kt:mt.id-dt.id}var et=[],ft=[],Ke=1,rt=null,_e=3,Ut=!1,jt=!1,nn=!1;function Qt(mt){for(var dt=ye(ft);dt!==null;){if(dt.callback===null)De(ft);else if(dt.startTime<=mt)De(ft),dt.sortIndex=dt.expirationTime,se(et,dt);else break;dt=ye(ft)}}function He(mt){if(nn=!1,Qt(mt),!jt)if(ye(et)!==null)jt=!0,n(Je);else{var dt=ye(ft);dt!==null&&t(He,dt.startTime-mt)}}function Je(mt,dt){jt=!1,nn&&(nn=!1,r()),Ut=!0;var kt=_e;try{for(Qt(dt),rt=ye(et);rt!==null&&(!(rt.expirationTime>dt)||mt&&!i());){var Pt=rt.callback;if(Pt!==null){rt.callback=null,_e=rt.priorityLevel;var Me=Pt(rt.expirationTime<=dt);dt=e.unstable_now(),typeof Me=="function"?rt.callback=Me:rt===ye(et)&&De(et),Qt(dt)}else De(et);rt=ye(et)}if(rt!==null)var he=!0;else{var be=ye(ft);be!==null&&t(He,be.startTime-dt),he=!1}return he}finally{rt=null,_e=kt,Ut=!1}}function tt(mt){switch(mt){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var on=o;e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(mt){mt.callback=null},e.unstable_continueExecution=function(){jt||Ut||(jt=!0,n(Je))},e.unstable_getCurrentPriorityLevel=function(){return _e},e.unstable_getFirstCallbackNode=function(){return ye(et)},e.unstable_next=function(mt){switch(_e){case 1:case 2:case 3:var dt=3;break;default:dt=_e}var kt=_e;_e=dt;try{return mt()}finally{_e=kt}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=on,e.unstable_runWithPriority=function(mt,dt){switch(mt){case 1:case 2:case 3:case 4:case 5:break;default:mt=3}var kt=_e;_e=mt;try{return dt()}finally{_e=kt}},e.unstable_scheduleCallback=function(mt,dt,kt){var Pt=e.unstable_now();if(typeof kt=="object"&&kt!==null){var Me=kt.delay;Me=typeof Me=="number"&&0<Me?Pt+Me:Pt,kt=typeof kt.timeout=="number"?kt.timeout:tt(mt)}else kt=tt(mt),Me=Pt;return kt=Me+kt,mt={id:Ke++,callback:dt,priorityLevel:mt,startTime:Me,expirationTime:kt,sortIndex:-1},Me>Pt?(mt.sortIndex=Me,se(ft,mt),ye(et)===null&&mt===ye(ft)&&(nn?r():nn=!0,t(He,Me-Pt))):(mt.sortIndex=kt,se(et,mt),jt||Ut||(jt=!0,n(Je))),mt},e.unstable_shouldYield=function(){var mt=e.unstable_now();Qt(mt);var dt=ye(et);return dt!==rt&&rt!==null&&dt!==null&&dt.callback!==null&&dt.startTime<=mt&&dt.expirationTime<rt.expirationTime||i()},e.unstable_wrapCallback=function(mt){var dt=_e;return function(){var kt=_e;_e=dt;try{return mt.apply(this,arguments)}finally{_e=kt}}}})(WF);jF.exports=WF;var aY=jF.exports;/** @licens Line truncated
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var T4=Sr,CA=xF,Eu=oY;function jn(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t<arguments.length;t++)n+="&args[]="+encodeURIComponent(arguments[t]);return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!T4)throw Error(jn(227));function aY(e,n,t,r,i,o,s,a,h){var g=Array.prototype.slice.call(arguments,3);try{n.apply(t,g)}catch(C){this.onError(C)}}var v_=!1,K2=null,P2=!1,TS=null,sY={onError:function(e){v_=!0,K2=e}};function lY(e,n,t,r,i,o,s,a,h){v_=!1,K2=null,aY.apply(sY,arguments)}function uY(e,n,t,r,i,o,s,a,h){if(lY.apply(this,arguments),v_){if(v_){var g=K2;v_=!1,K2=null}else throw Error(jn(198));P2||(P2=!0,TS=g)}}var OO=null,jF=null,WF=null;function Ek(e,n,t){var r=e.type||"unknown-event";e.currentTarget=WF(t),uY(r,n,void 0,e),e.currentTarget=null}var F2=null,Kg={};function NF(){if(F2)for(var e in Kg){var n=Kg[e],t=F2.indexOf(e);if(!(-1<t))throw Error(jn(96,e));if(!D2[t]){if(!n.extractEvents)throw Error(jn(97,e));D2[t]=n,t=n.eventTypes;for(var r in t){var i=void 0,o=t[r],s=n,a=r;if(KS.hasOwnProperty(a))throw Error(jn(99,a));KS[a]=o;var h=o.phasedRegistrationNames;if(h){for(i in h)h.hasOwnProperty(i)&&Ok(h[i],s,a);i=!0}else o.registrationName?(Ok(o.registrationName,s,a),i=!0):i=!1;if(!i)throw Error(jn(98,r,e))}}}}function Ok(e,n,t){if(Cy[e])throw Error(jn(100,e));Cy[e]=n,BO[e]=n.eventTypes[t].dependencies}var D2=[],KS={},Cy={},BO={};function GF(e){var n=!1,t;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];if(!Kg.hasOwnProperty(t)||Kg[t]!==r){if(Kg[t])throw Error(jn(102,t));Kg[t]=r,n=!0}}n&&NF()}var $m=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),PS=null,Hg=null,Zg=null;function Bk(e){if(e=jF(e)){if(typeof PS!="function")throw Error(jn(280));var n=e.stateNode;n&&(n=OO(n),PS(e.stateNode,e.type,n))}}function QF(e){Hg?Zg?Zg.push(e):Zg=[e]:Hg=e}function $F(){if(Hg){var e=Hg,n=Zg;if(Zg=Hg=null,Bk(e),n)for(e=0;e<n.length;e++)Bk(n[e])}}function kO(e,n){return e(n)}function YF(e,n,t,r,i){return e(n,t,r,i)}function IO(){}var qF=kO,L0=!1,zw=!1;function TO(){(Hg!==null||Zg!==null)&&(IO(),$F())}function VF(e,n,t){if(zw)return e(n,t);zw=!0;try{return qF(e,n,t)}finally{zw=!1,TO()}}var AY=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,kk=Object.prototype.hasOwnProperty,Ik={},Tk={};function cY(e){return kk.call(Tk,e)?!0:kk.call(Ik,e)?!1:AY.test(e)?Tk[e]=!0:(Ik[e]=!0,!1)}function dY(e,n,t,r){if(t!==null&&t.type===0)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return r?!1:t!==null?!t.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function hY(e,n,t,r){if(n===null||typeof n>"u"||dY(e,n,t,r))return!0;if(r)return!1;if(t!==null)switch(t.type){case 3:return!n;case 4:return n===!1;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function bA(e,n,t,r,i,o){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=t,this.propertyName=e,this.type=n,this.sanitizeURL=o}var Ou={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ou[e]=new bA(e,0,!1,e,null,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];Ou[n]=new bA(n,1,!1,e[1],null,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ou[e]=new bA(e,2,!1,e.toLowerCase(),null,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ou[e]=new bA(e,2,!1,e,null,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Ou[e]=new bA(e,3,!1,e.toLowerCase(),null,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ou[e]=new bA(e,3,!0,e,null,!1)});["capture","download"].forEach(function(e){Ou[e]=new bA(e,4,!1,e,null,!1)});["cols","rows","size","span"].forEach(function(e){Ou[e]=new bA(e,6,!1,e,null,!1)});["rowSpan","start"].forEach(function(e){Ou[e]=new bA(e,5,!1,e.toLowerCase(),null,!1)});var KO=/[\-:]([a-z])/g;function PO(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-faLine truncated
in `+(r||"Unknown")+o}n+=t,e=e.return}while(e);return n}function zm(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function tD(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function gY(e){var n=tD(e)?"checked":"value",t=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),r=""+e[n];if(!e.hasOwnProperty(n)&&typeof t<"u"&&typeof t.get=="function"&&typeof t.set=="function"){var i=t.get,o=t.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,o.call(this,s)}}),Object.defineProperty(e,n,{enumerable:t.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function lx(e){e._valueTracker||(e._valueTracker=gY(e))}function nD(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var t=n.getValue(),r="";return e&&(r=tD(e)?e.checked?"true":"false":e.value),e=r,e!==t?(n.setValue(e),!0):!1}function DS(e,n){var t=n.checked;return CA({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:t??e._wrapperState.initialChecked})}function Pk(e,n){var t=n.defaultValue==null?"":n.defaultValue,r=n.checked!=null?n.checked:n.defaultChecked;t=zm(n.value!=null?n.value:t),e._wrapperState={initialChecked:r,initialValue:t,controlled:n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null}}function rD(e,n){n=n.checked,n!=null&&FO(e,"checked",n,!1)}function LS(e,n){rD(e,n);var t=zm(n.value),r=n.type;if(t!=null)r==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+t):e.value!==""+t&&(e.value=""+t);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}n.hasOwnProperty("value")?US(e,n.type,t):n.hasOwnProperty("defaultValue")&&US(e,n.type,zm(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function Fk(e,n,t){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var r=n.type;if(!(r!=="submit"&&r!=="reset"||n.value!==void 0&&n.value!==null))return;n=""+e._wrapperState.initialValue,t||n===e.value||(e.value=n),e.defaultValue=n}t=e.name,t!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,t!==""&&(e.name=t)}function US(e,n,t){(n!=="number"||e.ownerDocument.activeElement!==e)&&(t==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+t&&(e.defaultValue=""+t))}function yY(e){var n="";return T4.Children.forEach(e,function(t){t!=null&&(n+=t)}),n}function RS(e,n){return e=CA({children:void 0},n),(n=yY(n.children))&&(e.children=n),e}function Xg(e,n,t,r){if(e=e.options,n){n={};for(var i=0;i<t.length;i++)n["$"+t[i]]=!0;for(t=0;t<e.length;t++)i=n.hasOwnProperty("$"+e[t].value),e[t].selected!==i&&(e[t].selected=i),i&&r&&(e[t].defaultSelected=!0)}else{for(t=""+zm(t),n=null,i=0;i<e.length;i++){if(e[i].value===t){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}n!==null||e[i].disabled||(n=e[i])}n!==null&&(n.selected=!0)}}function zS(e,n){if(n.dangerouslySetInnerHTML!=null)throw Error(jn(91));return CA({},n,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Dk(e,n){var t=n.value;if(t==null){if(t=n.children,n=n.defaultValue,t!=null){if(n!=null)throw Error(jn(92));if(Array.isArray(t)){if(!(1>=t.length))throw Error(jn(93));t=t[0]}n=t}n==null&&(n=""),t=n}e._wrapperState={initialValue:zm(t)}}function iD(e,n){var t=zm(n.value),r=zm(n.defaultValue);t!=null&&(t=""+t,t!==e.value&&(e.value=t),n.defaultValue==null&&e.defaultValue!==t&&(e.defaultValue=t)),r!=null&&(e.defaultValue=""+r)}function Lk(e){var n=e.textContent;n===e._wrapperState.initialValue&&n!==""&&n!==null&&(e.value=n)}var oD={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function aD(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function jS(e,n){return e==null||e==="http://www.w3.org/1999/xhtml"?aD(n):e==="http://www.w3.org/2000/svg"&&n==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var ux,sD=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(n,t,r,i){MSApp.execUnsafeLocalFunction(function(){return e(n,t,r,i)})}:e}(function(e,n){if(e.namespaceURI!==oD.svg||"innerHTML"in e)e.innerHTML=n;else{for(ux=ux||document.createElement("div"),ux.innerHTML="<svg>"+n.valueOf().toString()+"</svg>",n=ux.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}});function $_(e,n){if(n){var t=e.firstChild;if(t&&t===e.lastChild&&t.nodeType===3){t.nodeValue=n;return}}e.textContent=n}function Ax(e,n){var t={};return t[e.toLowerCase()]=n.toLowerCase(),t["Webkit"+e]="webkit"+n,t["Moz"+e]="moz"+n,t}var Fg={animationend:Ax("Animation","AnimationEnd"),animationiteration:Ax("Animation","AnimationIteration"),animationstart:Ax("Animation","AnimationStart") Line truncated
*/var T4=Sr,CA=MF,Eu=aY;function jn(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t<arguments.length;t++)n+="&args[]="+encodeURIComponent(arguments[t]);return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!T4)throw Error(jn(227));function sY(e,n,t,r,i,o,s,a,h){var g=Array.prototype.slice.call(arguments,3);try{n.apply(t,g)}catch(C){this.onError(C)}}var v_=!1,K2=null,P2=!1,KS=null,lY={onError:function(e){v_=!0,K2=e}};function uY(e,n,t,r,i,o,s,a,h){v_=!1,K2=null,sY.apply(lY,arguments)}function AY(e,n,t,r,i,o,s,a,h){if(uY.apply(this,arguments),v_){if(v_){var g=K2;v_=!1,K2=null}else throw Error(jn(198));P2||(P2=!0,KS=g)}}var BO=null,NF=null,GF=null;function Ok(e,n,t){var r=e.type||"unknown-event";e.currentTarget=GF(t),AY(r,n,void 0,e),e.currentTarget=null}var F2=null,Kg={};function QF(){if(F2)for(var e in Kg){var n=Kg[e],t=F2.indexOf(e);if(!(-1<t))throw Error(jn(96,e));if(!D2[t]){if(!n.extractEvents)throw Error(jn(97,e));D2[t]=n,t=n.eventTypes;for(var r in t){var i=void 0,o=t[r],s=n,a=r;if(PS.hasOwnProperty(a))throw Error(jn(99,a));PS[a]=o;var h=o.phasedRegistrationNames;if(h){for(i in h)h.hasOwnProperty(i)&&Bk(h[i],s,a);i=!0}else o.registrationName?(Bk(o.registrationName,s,a),i=!0):i=!1;if(!i)throw Error(jn(98,r,e))}}}}function Bk(e,n,t){if(Cy[e])throw Error(jn(100,e));Cy[e]=n,kO[e]=n.eventTypes[t].dependencies}var D2=[],PS={},Cy={},kO={};function $F(e){var n=!1,t;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];if(!Kg.hasOwnProperty(t)||Kg[t]!==r){if(Kg[t])throw Error(jn(102,t));Kg[t]=r,n=!0}}n&&QF()}var $m=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),FS=null,Hg=null,Zg=null;function kk(e){if(e=NF(e)){if(typeof FS!="function")throw Error(jn(280));var n=e.stateNode;n&&(n=BO(n),FS(e.stateNode,e.type,n))}}function YF(e){Hg?Zg?Zg.push(e):Zg=[e]:Hg=e}function qF(){if(Hg){var e=Hg,n=Zg;if(Zg=Hg=null,kk(e),n)for(e=0;e<n.length;e++)kk(n[e])}}function IO(e,n){return e(n)}function VF(e,n,t,r,i){return e(n,t,r,i)}function TO(){}var HF=IO,L0=!1,zw=!1;function KO(){(Hg!==null||Zg!==null)&&(TO(),qF())}function ZF(e,n,t){if(zw)return e(n,t);zw=!0;try{return HF(e,n,t)}finally{zw=!1,KO()}}var cY=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Ik=Object.prototype.hasOwnProperty,Tk={},Kk={};function dY(e){return Ik.call(Kk,e)?!0:Ik.call(Tk,e)?!1:cY.test(e)?Kk[e]=!0:(Tk[e]=!0,!1)}function hY(e,n,t,r){if(t!==null&&t.type===0)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return r?!1:t!==null?!t.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function fY(e,n,t,r){if(n===null||typeof n>"u"||hY(e,n,t,r))return!0;if(r)return!1;if(t!==null)switch(t.type){case 3:return!n;case 4:return n===!1;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function bA(e,n,t,r,i,o){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=t,this.propertyName=e,this.type=n,this.sanitizeURL=o}var Ou={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ou[e]=new bA(e,0,!1,e,null,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];Ou[n]=new bA(n,1,!1,e[1],null,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ou[e]=new bA(e,2,!1,e.toLowerCase(),null,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ou[e]=new bA(e,2,!1,e,null,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Ou[e]=new bA(e,3,!1,e.toLowerCase(),null,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ou[e]=new bA(e,3,!0,e,null,!1)});["capture","download"].forEach(function(e){Ou[e]=new bA(e,4,!1,e,null,!1)});["cols","rows","size","span"].forEach(function(e){Ou[e]=new bA(e,6,!1,e,null,!1)});["rowSpan","start"].forEach(function(e){Ou[e]=new bA(e,5,!1,e.toLowerCase(),null,!1)});var PO=/[\-:]([a-z])/g;function FO(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-faLine truncated
in `+(r||"Unknown")+o}n+=t,e=e.return}while(e);return n}function zm(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function rD(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function yY(e){var n=rD(e)?"checked":"value",t=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),r=""+e[n];if(!e.hasOwnProperty(n)&&typeof t<"u"&&typeof t.get=="function"&&typeof t.set=="function"){var i=t.get,o=t.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,o.call(this,s)}}),Object.defineProperty(e,n,{enumerable:t.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function lx(e){e._valueTracker||(e._valueTracker=yY(e))}function iD(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var t=n.getValue(),r="";return e&&(r=rD(e)?e.checked?"true":"false":e.value),e=r,e!==t?(n.setValue(e),!0):!1}function LS(e,n){var t=n.checked;return CA({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:t??e._wrapperState.initialChecked})}function Fk(e,n){var t=n.defaultValue==null?"":n.defaultValue,r=n.checked!=null?n.checked:n.defaultChecked;t=zm(n.value!=null?n.value:t),e._wrapperState={initialChecked:r,initialValue:t,controlled:n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null}}function oD(e,n){n=n.checked,n!=null&&DO(e,"checked",n,!1)}function US(e,n){oD(e,n);var t=zm(n.value),r=n.type;if(t!=null)r==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+t):e.value!==""+t&&(e.value=""+t);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}n.hasOwnProperty("value")?RS(e,n.type,t):n.hasOwnProperty("defaultValue")&&RS(e,n.type,zm(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function Dk(e,n,t){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var r=n.type;if(!(r!=="submit"&&r!=="reset"||n.value!==void 0&&n.value!==null))return;n=""+e._wrapperState.initialValue,t||n===e.value||(e.value=n),e.defaultValue=n}t=e.name,t!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,t!==""&&(e.name=t)}function RS(e,n,t){(n!=="number"||e.ownerDocument.activeElement!==e)&&(t==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+t&&(e.defaultValue=""+t))}function vY(e){var n="";return T4.Children.forEach(e,function(t){t!=null&&(n+=t)}),n}function zS(e,n){return e=CA({children:void 0},n),(n=vY(n.children))&&(e.children=n),e}function Xg(e,n,t,r){if(e=e.options,n){n={};for(var i=0;i<t.length;i++)n["$"+t[i]]=!0;for(t=0;t<e.length;t++)i=n.hasOwnProperty("$"+e[t].value),e[t].selected!==i&&(e[t].selected=i),i&&r&&(e[t].defaultSelected=!0)}else{for(t=""+zm(t),n=null,i=0;i<e.length;i++){if(e[i].value===t){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}n!==null||e[i].disabled||(n=e[i])}n!==null&&(n.selected=!0)}}function jS(e,n){if(n.dangerouslySetInnerHTML!=null)throw Error(jn(91));return CA({},n,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Lk(e,n){var t=n.value;if(t==null){if(t=n.children,n=n.defaultValue,t!=null){if(n!=null)throw Error(jn(92));if(Array.isArray(t)){if(!(1>=t.length))throw Error(jn(93));t=t[0]}n=t}n==null&&(n=""),t=n}e._wrapperState={initialValue:zm(t)}}function aD(e,n){var t=zm(n.value),r=zm(n.defaultValue);t!=null&&(t=""+t,t!==e.value&&(e.value=t),n.defaultValue==null&&e.defaultValue!==t&&(e.defaultValue=t)),r!=null&&(e.defaultValue=""+r)}function Uk(e){var n=e.textContent;n===e._wrapperState.initialValue&&n!==""&&n!==null&&(e.value=n)}var sD={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function lD(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function WS(e,n){return e==null||e==="http://www.w3.org/1999/xhtml"?lD(n):e==="http://www.w3.org/2000/svg"&&n==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var ux,uD=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(n,t,r,i){MSApp.execUnsafeLocalFunction(function(){return e(n,t,r,i)})}:e}(function(e,n){if(e.namespaceURI!==sD.svg||"innerHTML"in e)e.innerHTML=n;else{for(ux=ux||document.createElement("div"),ux.innerHTML="<svg>"+n.valueOf().toString()+"</svg>",n=ux.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}});function $_(e,n){if(n){var t=e.firstChild;if(t&&t===e.lastChild&&t.nodeType===3){t.nodeValue=n;return}}e.textContent=n}function Ax(e,n){var t={};return t[e.toLowerCase()]=n.toLowerCase(),t["Webkit"+e]="webkit"+n,t["Moz"+e]="moz"+n,t}var Fg={animationend:Ax("Animation","AnimationEnd"),animationiteration:Ax("Animation","AnimationIteration"),animationstart:Ax("Animation","AnimationStart") Line truncated
Add a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.`+UO(s))}su!==fB&&(su=CL),a=dB(a,s),B=o;do{switch(B.tag){case 3:h=a,B.effectTag|=4096,B.expirationTime=n;var re=yL(B,h,n);lI(B,re);break e;case 1:h=a;var Ae=B.type,ae=B.stateNode;if(!(B.effectTag&64)&&(typeof Ae.getDerivedStateFromError=="function"||ae!==null&&typeof ae.componentDidCatch=="function"&&(Tm===null||!Tm.has(ae)))){B.effectTag|=4096,B.expirationTime=n;var se=vL(B,h,n);lI(B,se);break e}}B=B.return}while(B!==null)}Zi=kL(Zi)}catch(ye){n=ye;continue}break}while(!0)}function EL(){var e=Z2.current;return Z2.current=H2,e===null?H2:e}function OL(e,n){e<gp&&2<e&&(gp=e),n!==null&&e<eC&&2<e&&(eC=e,e3=n)}function N4(e){e>tC&&(tC=e)}function Fq(){for(;Zi!==null;)Zi=BL(Zi)}function Dq(){for(;Zi!==null&&!_q();)Zi=BL(Zi)}function BL(e){var n=IL(e.alternate,e,XA);return e.memoizedProps=e.pendingProps,n===null&&(n=kL(e)),_L.current=null,n}function kL(e){Zi=e;do{var n=Zi.alternate;if(e=Zi.return,Zi.effectTag&2048){if(n=Eq(Zi),n!==null)return n.effectTag&=2047,n;e!==null&&(e.firstEffect=e.lastEffect=null,e.effectTag|=2048)}else{if(n=Sq(n,Zi,XA),XA===1||Zi.childExpirationTime!==1){for(var t=0,r=Zi.child;r!==null;){var i=r.expirationTime,o=r.childExpirationTime;i>t&&(t=i),o>t&&(t=o),r=r.sibling}Zi.childExpirationTime=t}if(n!==null)return n;e!==null&&!(e.effectTag&2048)&&(e.firstEffect===null&&(e.firstEffect=Zi.firstEffect),Zi.lastEffect!==null&&(e.lastEffect!==null&&(e.lastEffect.nextEffect=Zi.firstEffect),e.lastEffect=Zi.lastEffect),1<Zi.effectTag&&(e.lastEffect!==null?e.lastEffect.nextEffect=Zi:e.firstEffect=Zi,e.lastEffect=Zi))}if(n=Zi.sibling,n!==null)return n;Zi=e}while(Zi!==null);return su===V0&&(su=fB),null}function g6(e){var n=e.expirationTime;return e=e.childExpirationTime,n>e?n:e}function S0(e){var n=U4();return Wm(99,Lq.bind(null,e,n)),null}function Lq(e,n){do zy();while(M_!==null);if((Ri&(ch|yf))!==lu)throw Error(jn(327));var t=e.finishedWork,r=e.finishedExpirationTime;if(t===null)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,t===e.current)throw Error(jn(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var i=g6(t);if(e.firstPendingTime=i,r<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:r<=e.firstSuspendedTime&&(e.firstSuspendedTime=r-1),r<=e.lastPingedTime&&(e.lastPingedTime=0),r<=e.lastExpiredTime&&(e.lastExpiredTime=0),e===Lc&&(Zi=Lc=null,XA=0),1<t.effectTag?t.lastEffect!==null?(t.lastEffect.nextEffect=t,i=t.firstEffect):i=t:i=t.firstEffect,i!==null){var o=Ri;Ri|=yf,_L.current=null,Nw=a2;var s=$k();if(VS(s)){if("selectionStart"in s)var a={start:s.selectionStart,end:s.selectionEnd};else e:{a=(a=s.ownerDocument)&&a.defaultView||window;var h=a.getSelection&&a.getSelection();if(h&&h.rangeCount!==0){a=h.anchorNode;var g=h.anchorOffset,C=h.focusNode;h=h.focusOffset;try{a.nodeType,C.nodeType}catch{a=null;break e}var B=0,k=-1,P=-1,U=0,Z=0,W=s,Q=null;t:for(;;){for(var q;W!==a||g!==0&&W.nodeType!==3||(k=B+g),W!==C||h!==0&&W.nodeType!==3||(P=B+h),W.nodeType===3&&(B+=W.nodeValue.length),(q=W.firstChild)!==null;)Q=W,W=q;for(;;){if(W===s)break t;if(Q===a&&++U===g&&(k=B),Q===C&&++Z===h&&(P=B),(q=W.nextSibling)!==null)break;W=Q,Q=W.parentNode}W=q}a=k===-1||P===-1?null:{start:k,end:P}}else a=null}a=a||{start:0,end:0}}else a=null;Gw={activeElementDetached:null,focusedElem:s,selectionRange:a},a2=!1,Gr=i;do try{Uq()}catch(De){if(Gr===null)throw Error(jn(330));Z0(Gr,De),Gr=Gr.nextEffect}while(Gr!==null);Gr=i;do try{for(s=e,a=n;Gr!==null;){var oe=Gr.effectTag;if(oe&16&&$_(Gr.stateNode,""),oe&128){var re=Gr.alternate;if(re!==null){var Ae=re.ref;Ae!==null&&(typeof Ae=="function"?Ae(null):Ae.current=null)}}switch(oe&1038){case 2:EI(Gr),Gr.effectTag&=-3;break;case 6:EI(Gr),Gr.effectTag&=-3,Zw(Gr.alternate,Gr);break;case 1024:Gr.effectTag&=-1025;break;case 1028:Gr.effectTag&=-1025,Zw(Gr.alternate,Gr);break;case 4:Zw(Gr.alternate,Gr);break;case 8:g=Gr,gL(s,g,a),mL(g)}Gr=Gr.nextEffect}}catch(De){if(Gr===null)throw Error(jn(330));Z0(Gr,De),Gr=Gr.nextEffect}while(Gr!==null);if(Ae=Gw,re=$k(),oe=Ae.focusedElem,a=Ae.selectionRange,re!==oe&&oe&&oe.ownerDocument&&SD(oe.ownerDocument.documentElement,oe)){for(a!==null&&VS(oe)&&(re=a.start,Ae=a.end,Ae===void 0&&(Ae=re),"selectionStart"in oe?(oe.selectionStart=re,oe.selectionEnd=Math.min(Ae,oe.value.length)):(Ae=(re=oe.ownerDocument||document)&&re.defaultView||window,Ae.getSelection&&(Ae=Ae.getSelection(),g=oe.textContent.length,s=Math.min(a.start,g),a=a.end===void 0?s:Math.min(a.end,g),!Ae.extend&&s>a&&(g=a,a=s,s=g),g=Qk(oe,s),C=Qk(oe,a),g&&C&&(Ae.rangeCount!==1||Ae.anchorNode!==g.node||Ae.anchorOffset!==g.offset||Ae.focusNode!==C.node||Ae.focusOffset!==C.offset)&&(re=re.createRange(),re.setStart(g.node,g.offset),Ae.removeAllRanges(),s>a?(Ae.addRange(re),Ae.extend(C.node,C.offset)):(re.setEnd(C.node,C.offset),Ae.addRange(re)))))),re=[],Ae=oe;Ae=Ae.parentNode;)Ae.nodeTyp Line truncated
Add a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.`+RO(s))}su!==pB&&(su=xL),a=hB(a,s),B=o;do{switch(B.tag){case 3:h=a,B.effectTag|=4096,B.expirationTime=n;var re=_L(B,h,n);uI(B,re);break e;case 1:h=a;var Ae=B.type,ae=B.stateNode;if(!(B.effectTag&64)&&(typeof Ae.getDerivedStateFromError=="function"||ae!==null&&typeof ae.componentDidCatch=="function"&&(Tm===null||!Tm.has(ae)))){B.effectTag|=4096,B.expirationTime=n;var se=CL(B,h,n);uI(B,se);break e}}B=B.return}while(B!==null)}Zi=TL(Zi)}catch(ye){n=ye;continue}break}while(!0)}function BL(){var e=Z2.current;return Z2.current=H2,e===null?H2:e}function kL(e,n){e<mp&&2<e&&(mp=e),n!==null&&e<eC&&2<e&&(eC=e,e3=n)}function N4(e){e>tC&&(tC=e)}function Dq(){for(;Zi!==null;)Zi=IL(Zi)}function Lq(){for(;Zi!==null&&!Cq();)Zi=IL(Zi)}function IL(e){var n=KL(e.alternate,e,XA);return e.memoizedProps=e.pendingProps,n===null&&(n=TL(e)),bL.current=null,n}function TL(e){Zi=e;do{var n=Zi.alternate;if(e=Zi.return,Zi.effectTag&2048){if(n=Oq(Zi),n!==null)return n.effectTag&=2047,n;e!==null&&(e.firstEffect=e.lastEffect=null,e.effectTag|=2048)}else{if(n=Eq(n,Zi,XA),XA===1||Zi.childExpirationTime!==1){for(var t=0,r=Zi.child;r!==null;){var i=r.expirationTime,o=r.childExpirationTime;i>t&&(t=i),o>t&&(t=o),r=r.sibling}Zi.childExpirationTime=t}if(n!==null)return n;e!==null&&!(e.effectTag&2048)&&(e.firstEffect===null&&(e.firstEffect=Zi.firstEffect),Zi.lastEffect!==null&&(e.lastEffect!==null&&(e.lastEffect.nextEffect=Zi.firstEffect),e.lastEffect=Zi.lastEffect),1<Zi.effectTag&&(e.lastEffect!==null?e.lastEffect.nextEffect=Zi:e.firstEffect=Zi,e.lastEffect=Zi))}if(n=Zi.sibling,n!==null)return n;Zi=e}while(Zi!==null);return su===V0&&(su=pB),null}function y6(e){var n=e.expirationTime;return e=e.childExpirationTime,n>e?n:e}function S0(e){var n=U4();return Wm(99,Uq.bind(null,e,n)),null}function Uq(e,n){do zy();while(M_!==null);if((Ri&(Ah|gf))!==lu)throw Error(jn(327));var t=e.finishedWork,r=e.finishedExpirationTime;if(t===null)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,t===e.current)throw Error(jn(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var i=y6(t);if(e.firstPendingTime=i,r<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:r<=e.firstSuspendedTime&&(e.firstSuspendedTime=r-1),r<=e.lastPingedTime&&(e.lastPingedTime=0),r<=e.lastExpiredTime&&(e.lastExpiredTime=0),e===Lc&&(Zi=Lc=null,XA=0),1<t.effectTag?t.lastEffect!==null?(t.lastEffect.nextEffect=t,i=t.firstEffect):i=t:i=t.firstEffect,i!==null){var o=Ri;Ri|=gf,bL.current=null,Nw=a2;var s=Yk();if(HS(s)){if("selectionStart"in s)var a={start:s.selectionStart,end:s.selectionEnd};else e:{a=(a=s.ownerDocument)&&a.defaultView||window;var h=a.getSelection&&a.getSelection();if(h&&h.rangeCount!==0){a=h.anchorNode;var g=h.anchorOffset,C=h.focusNode;h=h.focusOffset;try{a.nodeType,C.nodeType}catch{a=null;break e}var B=0,k=-1,P=-1,U=0,Z=0,W=s,Q=null;t:for(;;){for(var q;W!==a||g!==0&&W.nodeType!==3||(k=B+g),W!==C||h!==0&&W.nodeType!==3||(P=B+h),W.nodeType===3&&(B+=W.nodeValue.length),(q=W.firstChild)!==null;)Q=W,W=q;for(;;){if(W===s)break t;if(Q===a&&++U===g&&(k=B),Q===C&&++Z===h&&(P=B),(q=W.nextSibling)!==null)break;W=Q,Q=W.parentNode}W=q}a=k===-1||P===-1?null:{start:k,end:P}}else a=null}a=a||{start:0,end:0}}else a=null;Gw={activeElementDetached:null,focusedElem:s,selectionRange:a},a2=!1,Gr=i;do try{Rq()}catch(De){if(Gr===null)throw Error(jn(330));Z0(Gr,De),Gr=Gr.nextEffect}while(Gr!==null);Gr=i;do try{for(s=e,a=n;Gr!==null;){var oe=Gr.effectTag;if(oe&16&&$_(Gr.stateNode,""),oe&128){var re=Gr.alternate;if(re!==null){var Ae=re.ref;Ae!==null&&(typeof Ae=="function"?Ae(null):Ae.current=null)}}switch(oe&1038){case 2:OI(Gr),Gr.effectTag&=-3;break;case 6:OI(Gr),Gr.effectTag&=-3,Zw(Gr.alternate,Gr);break;case 1024:Gr.effectTag&=-1025;break;case 1028:Gr.effectTag&=-1025,Zw(Gr.alternate,Gr);break;case 4:Zw(Gr.alternate,Gr);break;case 8:g=Gr,vL(s,g,a),yL(g)}Gr=Gr.nextEffect}}catch(De){if(Gr===null)throw Error(jn(330));Z0(Gr,De),Gr=Gr.nextEffect}while(Gr!==null);if(Ae=Gw,re=Yk(),oe=Ae.focusedElem,a=Ae.selectionRange,re!==oe&&oe&&oe.ownerDocument&&OD(oe.ownerDocument.documentElement,oe)){for(a!==null&&HS(oe)&&(re=a.start,Ae=a.end,Ae===void 0&&(Ae=re),"selectionStart"in oe?(oe.selectionStart=re,oe.selectionEnd=Math.min(Ae,oe.value.length)):(Ae=(re=oe.ownerDocument||document)&&re.defaultView||window,Ae.getSelection&&(Ae=Ae.getSelection(),g=oe.textContent.length,s=Math.min(a.start,g),a=a.end===void 0?s:Math.min(a.end,g),!Ae.extend&&s>a&&(g=a,a=s,s=g),g=$k(oe,s),C=$k(oe,a),g&&C&&(Ae.rangeCount!==1||Ae.anchorNode!==g.node||Ae.anchorOffset!==g.offset||Ae.focusNode!==C.node||Ae.focusOffset!==C.offset)&&(re=re.createRange(),re.setStart(g.node,g.offset),Ae.removeAllRanges(),s>a?(Ae.addRange(re),Ae.extend(C.node,C.offset)):(re.setEnd(C.node,C.offset),Ae.addRange(re)))))),re=[],Ae=oe;Ae=Ae.parentNode;)Ae.nodeTyp Line truncated
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/(function(e){const n=Q4,t=$4,r=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=a,e.SlowBuffer=q,e.INSPECT_MAX_BYTES=50;const i=2147483647;e.kMaxLength=i,a.TYPED_ARRAY_SUPPORT=o(),!a.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function o(){try{const we=new Uint8Array(1),H={foo:function(){return 42}};return Object.setPrototypeOf(H,Uint8Array.prototype),Object.setPrototypeOf(we,H),we.foo()===42}catch{return!1}}Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}});function s(we){if(we>i)throw new RangeError('The value "'+we+'" is invalid for option "size"');const H=new Uint8Array(we);return Object.setPrototypeOf(H,a.prototype),H}function a(we,H,Y){if(typeof we=="number"){if(typeof H=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return B(we)}return h(we,H,Y)}a.poolSize=8192;function h(we,H,Y){if(typeof we=="string")return k(we,H);if(ArrayBuffer.isView(we))return U(we);if(we==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof we);if(mr(we,ArrayBuffer)||we&&mr(we.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(mr(we,SharedArrayBuffer)||we&&mr(we.buffer,SharedArrayBuffer)))return Z(we,H,Y);if(typeof we=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const Be=we.valueOf&&we.valueOf();if(Be!=null&&Be!==we)return a.from(Be,H,Y);const st=W(we);if(st)return st;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof we[Symbol.toPrimitive]=="function")return a.from(we[Symbol.toPrimitive]("string"),H,Y);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof we)}a.from=function(we,H,Y){return h(we,H,Y)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array);function g(we){if(typeof we!="number")throw new TypeError('"size" argument must be of type number');if(we<0)throw new RangeError('The value "'+we+'" is invalid for option "size"')}function C(we,H,Y){return g(we),we<=0?s(we):H!==void 0?typeof Y=="string"?s(we).fill(H,Y):s(we).fill(H):s(we)}a.alloc=function(we,H,Y){return C(we,H,Y)};function B(we){return g(we),s(we<0?0:Q(we)|0)}a.allocUnsafe=function(we){return B(we)},a.allocUnsafeSlow=function(we){return B(we)};function k(we,H){if((typeof H!="string"||H==="")&&(H="utf8"),!a.isEncoding(H))throw new TypeError("Unknown encoding: "+H);const Y=oe(we,H)|0;let Be=s(Y);const st=Be.write(we,H);return st!==Y&&(Be=Be.slice(0,st)),Be}function P(we){const H=we.length<0?0:Q(we.length)|0,Y=s(H);for(let Be=0;Be<H;Be+=1)Y[Be]=we[Be]&255;return Y}function U(we){if(mr(we,Uint8Array)){const H=new Uint8Array(we);return Z(H.buffer,H.byteOffset,H.byteLength)}return P(we)}function Z(we,H,Y){if(H<0||we.byteLength<H)throw new RangeError('"offset" is outside of buffer bounds');if(we.byteLength<H+(Y||0))throw new RangeError('"length" is outside of buffer bounds');let Be;return H===void 0&&Y===void 0?Be=new Uint8Array(we):Y===void 0?Be=new Uint8Array(we,H):Be=new Uint8Array(we,H,Y),Object.setPrototypeOf(Be,a.prototype),Be}function W(we){if(a.isBuffer(we)){const H=Q(we.length)|0,Y=s(H);return Y.length===0||we.copy(Y,0,0,H),Y}if(we.length!==void 0)return typeof we.length!="number"||xr(we.length)?s(0):P(we);if(we.type==="Buffer"&&Array.isArray(we.data))return P(we.data)}function Q(we){if(we>=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return we|0}function q(we){return+we!=we&&(we=0),a.alloc(+we)}a.isBuffer=function(H){return H!=null&&H._isBuffer===!0&&H!==a.prototype},a.compare=function(H,Y){if(mr(H,Uint8Array)&&(H=a.from(H,H.offset,H.byteLength)),mr(Y,Uint8Array)&&(Y=a.from(Y,Y.offset,Y.byteLength)),!a.isBuffer(H)||!a.isBuffer(Y))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(H===Y)return 0;let Be=H.length,st=Y.length;for(let St=0,Et=Math.min(Be,st);St<Et;++St)if(H[St]!==Y[St]){Be=H[St],st=Y[St];break}return Be<st?-1:st<Be?1:0},a.isEncoding=function(H){switch(String(H).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.concat=function(H,Y){if(!Array.isArray(H))throw new TypeError('"list" argument must be an Array of Buffers');if(H.length===0)return a.alloc(0);let Be;if(Y===void 0)for(Y=0,Be=0;Be<H.length;++Be)Y+=H[Be].length;const st=a.allocUnsafe(Y);let St=0;forLine truncated
*/(function(e){const n=Q4,t=$4,r=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=a,e.SlowBuffer=q,e.INSPECT_MAX_BYTES=50;const i=2147483647;e.kMaxLength=i,a.TYPED_ARRAY_SUPPORT=o(),!a.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function o(){try{const we=new Uint8Array(1),H={foo:function(){return 42}};return Object.setPrototypeOf(H,Uint8Array.prototype),Object.setPrototypeOf(we,H),we.foo()===42}catch{return!1}}Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}});function s(we){if(we>i)throw new RangeError('The value "'+we+'" is invalid for option "size"');const H=new Uint8Array(we);return Object.setPrototypeOf(H,a.prototype),H}function a(we,H,Y){if(typeof we=="number"){if(typeof H=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return B(we)}return h(we,H,Y)}a.poolSize=8192;function h(we,H,Y){if(typeof we=="string")return k(we,H);if(ArrayBuffer.isView(we))return U(we);if(we==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof we);if(mr(we,ArrayBuffer)||we&&mr(we.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(mr(we,SharedArrayBuffer)||we&&mr(we.buffer,SharedArrayBuffer)))return Z(we,H,Y);if(typeof we=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const Be=we.valueOf&&we.valueOf();if(Be!=null&&Be!==we)return a.from(Be,H,Y);const st=W(we);if(st)return st;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof we[Symbol.toPrimitive]=="function")return a.from(we[Symbol.toPrimitive]("string"),H,Y);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof we)}a.from=function(we,H,Y){return h(we,H,Y)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array);function g(we){if(typeof we!="number")throw new TypeError('"size" argument must be of type number');if(we<0)throw new RangeError('The value "'+we+'" is invalid for option "size"')}function C(we,H,Y){return g(we),we<=0?s(we):H!==void 0?typeof Y=="string"?s(we).fill(H,Y):s(we).fill(H):s(we)}a.alloc=function(we,H,Y){return C(we,H,Y)};function B(we){return g(we),s(we<0?0:Q(we)|0)}a.allocUnsafe=function(we){return B(we)},a.allocUnsafeSlow=function(we){return B(we)};function k(we,H){if((typeof H!="string"||H==="")&&(H="utf8"),!a.isEncoding(H))throw new TypeError("Unknown encoding: "+H);const Y=oe(we,H)|0;let Be=s(Y);const st=Be.write(we,H);return st!==Y&&(Be=Be.slice(0,st)),Be}function P(we){const H=we.length<0?0:Q(we.length)|0,Y=s(H);for(let Be=0;Be<H;Be+=1)Y[Be]=we[Be]&255;return Y}function U(we){if(mr(we,Uint8Array)){const H=new Uint8Array(we);return Z(H.buffer,H.byteOffset,H.byteLength)}return P(we)}function Z(we,H,Y){if(H<0||we.byteLength<H)throw new RangeError('"offset" is outside of buffer bounds');if(we.byteLength<H+(Y||0))throw new RangeError('"length" is outside of buffer bounds');let Be;return H===void 0&&Y===void 0?Be=new Uint8Array(we):Y===void 0?Be=new Uint8Array(we,H):Be=new Uint8Array(we,H,Y),Object.setPrototypeOf(Be,a.prototype),Be}function W(we){if(a.isBuffer(we)){const H=Q(we.length)|0,Y=s(H);return Y.length===0||we.copy(Y,0,0,H),Y}if(we.length!==void 0)return typeof we.length!="number"||xr(we.length)?s(0):P(we);if(we.type==="Buffer"&&Array.isArray(we.data))return P(we.data)}function Q(we){if(we>=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return we|0}function q(we){return+we!=we&&(we=0),a.alloc(+we)}a.isBuffer=function(H){return H!=null&&H._isBuffer===!0&&H!==a.prototype},a.compare=function(H,Y){if(mr(H,Uint8Array)&&(H=a.from(H,H.offset,H.byteLength)),mr(Y,Uint8Array)&&(Y=a.from(Y,Y.offset,Y.byteLength)),!a.isBuffer(H)||!a.isBuffer(Y))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(H===Y)return 0;let Be=H.length,st=Y.length;for(let St=0,Et=Math.min(Be,st);St<Et;++St)if(H[St]!==Y[St]){Be=H[St],st=Y[St];break}return Be<st?-1:st<Be?1:0},a.isEncoding=function(H){switch(String(H).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.concat=function(H,Y){if(!Array.isArray(H))throw new TypeError('"list" argument must be an Array of Buffers');if(H.length===0)return a.alloc(0);let Be;if(Y===void 0)for(Y=0,Be=0;Be<H.length;++Be)Y+=H[Be].length;const st=a.allocUnsafe(Y);let St=0;forLine truncated
* @license
* Lodash <https://lodash.com/>
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
* Released under MIT license <https://lodash.com/license>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
*/a3.exports;(function(e,n){(function(){var t,r="4.17.21",i=200,o="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",s="Expected a function",a="Invalid `variable` option passed into `_.template`",h="__lodash_hash_undefined__",g=500,C="__lodash_placeholder__",B=1,k=2,P=4,U=1,Z=2,W=1,Q=2,q=4,oe=8,re=16,Ae=32,ae=64,se=128,ye=256,De=512,Ne=30,et="...",ft=800,Ke=16,rt=1,_e=2,Ut=3,jt=1/0,nn=9007199254740991,Qt=17976931348623157e292,He=NaN,Je=4294967295,tt=Je-1,on=Je>>>1,mt=[["ary",se],["bind",W],["bindKey",Q],["curry",oe],["curryRight",re],["flip",De],["partial",Ae],["partialRight",ae],["rearg",ye]],dt="[object Arguments]",kt="[object Array]",Pt="[object AsyncFunction]",Me="[object Boolean]",he="[object Date]",be="[object DOMException]",Pe="[object Error]",Ze="[object Function]",nt="[object GeneratorFunction]",xt="[object Map]",Ft="[object Number]",Dt="[object Null]",pt="[object Object]",nr="[object Promise]",pn="[object Proxy]",bn="[object RegExp]",Jn="[object Set]",mr="[object String]",xr="[object Symbol]",Nr="[object Undefined]",_r="[object WeakMap]",fi="[object WeakSet]",we="[object ArrayBuffer]",H="[object DataView]",Y="[object Float32Array]",Be="[object Float64Array]",st="[object Int8Array]",St="[object Int16Array]",Et="[object Int32Array]",Nt="[object Uint8Array]",mn="[object Uint8ClampedArray]",Kn="[object Uint16Array]",En="[object Uint32Array]",m=/\b__p \+= '';/g,Tt=/\b(__p \+=) '' \+/g,Lr=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Wn=/&(?:amp|lt|gt|quot|#39);/g,Te=/[&<>"']/g,de=RegExp(Wn.source),ve=RegExp(Te.source),Se=/<%-([\s\S]+?)%>/g,Ue=/<%([\s\S]+?)%>/g,Xe=/<%=([\s\S]+?)%>/g,at=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ht=/^\w*$/,Ve=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ct=/[\\^$.*+?()[\]{}|]/g,Zt=RegExp(Ct.source),Ht=/^\s+/,qt=/\s/,Vn=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,On=/\{\n\/\* \[wrapped with (.+)\] \*/,ir=/,? & /,or=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Tr=/[()=,{}\[\]\/\s]/,Ur=/\\(\\)?/g,Dr=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ei=/\w*$/,rr=/^[-+]0x[0-9a-f]+$/i,li=/^0b[01]+$/i,ki=/^\[object .+?Constructor\]$/,Xi=/^0o[0-7]+$/i,xo=/^(?:0|[1-9]\d*)$/,pi=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Oo=/($^)/,As=/['\n\r\u2028\u2029\\]/g,Ia="\\ud800-\\udfff",_i="\\u0300-\\u036f",Ss="\\ufe20-\\ufe2f",Si="\\u20d0-\\u20ff",Qn=_i+Ss+Si,so="\\u2700-\\u27bf",Go="a-z\\xdf-\\xf6\\xf8-\\xff",Ji="\\xac\\xb1\\xd7\\xf7",ge="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",$e="\\u2000-\\u206f",Xt=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ln="A-Z\\xc0-\\xd6\\xd8-\\xde",Kt="\\ufe0e\\ufe0f",Mn=Ji+ge+$e+Xt,cr="['’]",Ii="["+Ia+"]",ii="["+Mn+"]",ya="["+Qn+"]",qa="\\d+",Br="["+so+"]",mi="["+Go+"]",il="[^"+Ia+Mn+qa+so+Go+ln+"]",Va="\\ud83c[\\udffb-\\udfff]",xa="(?:"+ya+"|"+Va+")",Bu="[^"+Ia+"]",Ns="(?:\\ud83c[\\udde6-\\uddff]){2}",Ha="[\\ud800-\\udbff][\\udc00-\\udfff]",Za="["+ln+"]",Gs="\\u200d",xA="(?:"+mi+"|"+il+")",pl="(?:"+Za+"|"+il+")",ic="(?:"+cr+"(?:d|ll|m|re|s|t|ve))?",wA="(?:"+cr+"(?:D|LL|M|RE|S|T|VE))?",MA=xa+"?",tA="["+Kt+"]?",oc="(?:"+Gs+"(?:"+[Bu,Ns,Ha].join("|")+")"+tA+MA+")*",Xa="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Es="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",SA=tA+MA+oc,ml="(?:"+[Br,Ns,Ha].join("|")+")"+SA,Il="(?:"+[Bu+ya+"?",ya,Ns,Ha,Ii].join("|")+")",Ho=RegExp(cr,"g"),nA=RegExp(ya,"g"),uu=RegExp(Va+"(?="+Va+")|"+Il+SA,"g"),Au=RegExp([Za+"?"+mi+"+"+ic+"(?="+[ii,Za,"$"].join("|")+")",pl+"+"+wA+"(?="+[ii,Za+xA,"$"].join("|")+")",Za+"?"+xA+"+"+ic,Za+"+"+wA,Es,Xa,qa,ml].join("|"),"g"),ku=RegExp("["+Gs+Ia+Qn+Kt+"]"),cs=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,cu=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ac=-1,mo={};mo[Y]=mo[Be]=mo[st]=mo[St]=mo[Et]=mo[Nt]=mo[mn]=mo[Kn]=mo[En]=!0,mo[dt]=mo[kt]=mo[we]=mo[Me]=mo[H]=mo[he]=mo[Pe]=mo[Ze]=mo[xt]=mo[Ft]=mo[pt]=mo[bn]=mo[Jn]=mo[mr]=mo[_r]=!1;var Ao={};Ao[dt]=Ao[kt]=Ao[we]=Ao[H]=Ao[Me]=Ao[he]=Ao[Y]=Ao[Be]=Ao[st]=Ao[St]=Ao[Et]=Ao[xt]=Ao[Ft]=Ao[pt]=Ao[bn]=Ao[Jn]=Ao[mr]=Ao[xr]=Ao[Nt]=Ao[mn]=Ao[Kn]=Ao[En]=!0,Ao[Pe]=Ao[Ze]=Ao[_r]=!1;var ne={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",Line truncated
*/a3.exports;(function(e,n){(function(){var t,r="4.17.21",i=200,o="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",s="Expected a function",a="Invalid `variable` option passed into `_.template`",h="__lodash_hash_undefined__",g=500,C="__lodash_placeholder__",B=1,k=2,P=4,U=1,Z=2,W=1,Q=2,q=4,oe=8,re=16,Ae=32,ae=64,se=128,ye=256,De=512,Ne=30,et="...",ft=800,Ke=16,rt=1,_e=2,Ut=3,jt=1/0,nn=9007199254740991,Qt=17976931348623157e292,He=NaN,Je=4294967295,tt=Je-1,on=Je>>>1,mt=[["ary",se],["bind",W],["bindKey",Q],["curry",oe],["curryRight",re],["flip",De],["partial",Ae],["partialRight",ae],["rearg",ye]],dt="[object Arguments]",kt="[object Array]",Pt="[object AsyncFunction]",Me="[object Boolean]",he="[object Date]",be="[object DOMException]",Pe="[object Error]",Ze="[object Function]",nt="[object GeneratorFunction]",xt="[object Map]",Ft="[object Number]",Dt="[object Null]",pt="[object Object]",nr="[object Promise]",pn="[object Proxy]",bn="[object RegExp]",Jn="[object Set]",mr="[object String]",xr="[object Symbol]",Nr="[object Undefined]",_r="[object WeakMap]",fi="[object WeakSet]",we="[object ArrayBuffer]",H="[object DataView]",Y="[object Float32Array]",Be="[object Float64Array]",st="[object Int8Array]",St="[object Int16Array]",Et="[object Int32Array]",Nt="[object Uint8Array]",mn="[object Uint8ClampedArray]",Kn="[object Uint16Array]",En="[object Uint32Array]",m=/\b__p \+= '';/g,Tt=/\b(__p \+=) '' \+/g,Lr=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Wn=/&(?:amp|lt|gt|quot|#39);/g,Te=/[&<>"']/g,de=RegExp(Wn.source),ve=RegExp(Te.source),Se=/<%-([\s\S]+?)%>/g,Ue=/<%([\s\S]+?)%>/g,Xe=/<%=([\s\S]+?)%>/g,at=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ht=/^\w*$/,Ve=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ct=/[\\^$.*+?()[\]{}|]/g,Zt=RegExp(Ct.source),Ht=/^\s+/,qt=/\s/,Vn=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,On=/\{\n\/\* \[wrapped with (.+)\] \*/,ir=/,? & /,or=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Tr=/[()=,{}\[\]\/\s]/,Ur=/\\(\\)?/g,Dr=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Jr=/\w*$/,rr=/^[-+]0x[0-9a-f]+$/i,li=/^0b[01]+$/i,ki=/^\[object .+?Constructor\]$/,Xi=/^0o[0-7]+$/i,xo=/^(?:0|[1-9]\d*)$/,pi=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Oo=/($^)/,As=/['\n\r\u2028\u2029\\]/g,Ia="\\ud800-\\udfff",_i="\\u0300-\\u036f",Ss="\\ufe20-\\ufe2f",Si="\\u20d0-\\u20ff",Qn=_i+Ss+Si,so="\\u2700-\\u27bf",No="a-z\\xdf-\\xf6\\xf8-\\xff",Ji="\\xac\\xb1\\xd7\\xf7",ge="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",$e="\\u2000-\\u206f",Xt=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ln="A-Z\\xc0-\\xd6\\xd8-\\xde",Kt="\\ufe0e\\ufe0f",Mn=Ji+ge+$e+Xt,cr="['’]",Ii="["+Ia+"]",ri="["+Mn+"]",ya="["+Qn+"]",qa="\\d+",Br="["+so+"]",mi="["+No+"]",il="[^"+Ia+Mn+qa+so+No+ln+"]",Va="\\ud83c[\\udffb-\\udfff]",xa="(?:"+ya+"|"+Va+")",Bu="[^"+Ia+"]",Ns="(?:\\ud83c[\\udde6-\\uddff]){2}",Ha="[\\ud800-\\udbff][\\udc00-\\udfff]",Za="["+ln+"]",Gs="\\u200d",xA="(?:"+mi+"|"+il+")",pl="(?:"+Za+"|"+il+")",ic="(?:"+cr+"(?:d|ll|m|re|s|t|ve))?",wA="(?:"+cr+"(?:D|LL|M|RE|S|T|VE))?",MA=xa+"?",tA="["+Kt+"]?",oc="(?:"+Gs+"(?:"+[Bu,Ns,Ha].join("|")+")"+tA+MA+")*",Xa="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Es="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",SA=tA+MA+oc,ml="(?:"+[Br,Ns,Ha].join("|")+")"+SA,Il="(?:"+[Bu+ya+"?",ya,Ns,Ha,Ii].join("|")+")",Ho=RegExp(cr,"g"),nA=RegExp(ya,"g"),uu=RegExp(Va+"(?="+Va+")|"+Il+SA,"g"),Au=RegExp([Za+"?"+mi+"+"+ic+"(?="+[ri,Za,"$"].join("|")+")",pl+"+"+wA+"(?="+[ri,Za+xA,"$"].join("|")+")",Za+"?"+xA+"+"+ic,Za+"+"+wA,Es,Xa,qa,ml].join("|"),"g"),ku=RegExp("["+Gs+Ia+Qn+Kt+"]"),cs=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,cu=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ac=-1,mo={};mo[Y]=mo[Be]=mo[st]=mo[St]=mo[Et]=mo[Nt]=mo[mn]=mo[Kn]=mo[En]=!0,mo[dt]=mo[kt]=mo[we]=mo[Me]=mo[H]=mo[he]=mo[Pe]=mo[Ze]=mo[xt]=mo[Ft]=mo[pt]=mo[bn]=mo[Jn]=mo[mr]=mo[_r]=!1;var Ao={};Ao[dt]=Ao[kt]=Ao[we]=Ao[H]=Ao[Me]=Ao[he]=Ao[Y]=Ao[Be]=Ao[st]=Ao[St]=Ao[Et]=Ao[xt]=Ao[Ft]=Ao[pt]=Ao[bn]=Ao[Jn]=Ao[mr]=Ao[xr]=Ao[Nt]=Ao[mn]=Ao[Kn]=Ao[En]=!0,Ao[Pe]=Ao[Ze]=Ao[_r]=!1;var ne={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",Line truncated
/* [wrapped with `+S+`] */
`)}function f(v){return ee(v)||V(v)||!!(Kf&&v&&v[Kf])}function x(v,S){var F=typeof v;return S=S??nn,!!S&&(F=="number"||F!="symbol"&&xo.test(v))&&v>-1&&v%1==0&&v<S}function b(v,S,F){if(!Cn(F))return!1;var X=typeof S;return(X=="number"?me(F)&&x(S,F.length):X=="string"&&S in F)?K(F[S],v):!1}function E(v,S){if(ee(v))return!1;var F=typeof v;return F=="number"||F=="symbol"||F=="boolean"||v==null||No(v)?!0:ht.test(v)||!at.test(v)||S!=null&&v in co(S)}function L(v){var S=typeof v;return S=="string"||S=="number"||S=="symbol"||S=="boolean"?v!=="__proto__":v===null}function $(v){var S=qd(v),F=ke[S];if(typeof F!="function"||!(S in jr.prototype))return!1;if(v===F)return!0;var X=bc(F);return!!X&&v===X[0]}function J(v){return!!Mh&&Mh in v}var le=pu?Dn:Uw;function pe(v){var S=v&&v.constructor,F=typeof S=="function"&&S.prototype||Jo;return v===F}function We(v){return v===v&&!Cn(v)}function qe(v,S){return function(F){return F==null?!1:F[v]===S&&(S!==t||v in co(F))}}function wt(v){var S=Jp(v,function(X){return F.size===g&&F.clear(),X}),F=S.cache;return S}function gt(v,S){var F=v[1],X=S[1],Ce=F|X,Le=Ce<(W|Q|se),ot=X==se&&F==oe||X==se&&F==ye&&v[7].length<=S[8]||X==(se|ye)&&S[7].length<=S[8]&&F==oe;if(!(Le||ot))return v;X&W&&(v[2]=S[2],Ce|=F&W?0:q);var yt=S[3];if(yt){var Bt=v[3];v[3]=Bt?Wd(Bt,yt,S[4]):yt,v[4]=Bt?Kl(v[3],C):S[4]}return yt=S[5],yt&&(Bt=v[5],v[5]=Bt?Uh(Bt,yt,S[6]):yt,v[6]=Bt?Kl(v[5],C):S[6]),yt=S[7],yt&&(v[7]=yt),X&se&&(v[8]=v[8]==null?S[8]:ea(v[8],S[8])),v[9]==null&&(v[9]=S[9]),v[0]=S[0],v[1]=Ce,v}function Lt(v){var S=[];if(v!=null)for(var F in co(v))S.push(F);return S}function dn(v){return vl.call(v)}function Bn(v,S,F){return S=to(S===t?v.length-1:S,0),function(){for(var X=arguments,Ce=-1,Le=to(X.length-S,0),ot=Rt(Le);++Ce<Le;)ot[Ce]=X[S+Ce];Ce=-1;for(var yt=Rt(S+1);++Ce<S;)yt[Ce]=X[Ce];return yt[S]=F(ot),ds(v,this,yt)}}function Gn(v,S){return S.length<2?v:Bo(v,Sa(S,0,-1))}function _n(v,S){for(var F=v.length,X=ea(S.length,F),Ce=Vs(v);X--;){var Le=S[X];v[X]=x(Le,F)?Ce[Le]:t}return v}function Fn(v,S){if(!(S==="constructor"&&typeof v[S]=="function")&&S!="__proto__")return v[S]}var ar=ko(Rp),Or=Lu||function(v,S){return Yr.setTimeout(v,S)},yr=ko(K1);function oi(v,S,F){var X=S+"";return yr(v,A(X,ts(Da(X),F)))}function ko(v){var S=0,F=0;return function(){var X=gr(),Ce=Ke-(X-F);if(F=X,Ce>0){if(++S>=ft)return arguments[0]}else S=0;return v.apply(t,arguments)}}function La(v,S){var F=-1,X=v.length,Ce=X-1;for(S=S===t?X:S;++F<S;){var Le=Lp(F,Ce),ot=v[Le];v[Le]=v[F],v[F]=ot}return v.length=S,v}var ca=wt(function(v){var S=[];return v.charCodeAt(0)===46&&S.push(""),v.replace(Ve,function(F,X,Ce,Le){S.push(Ce?Le.replace(Ur,"$1"):X||F)}),S});function Ea(v){if(typeof v=="string"||No(v))return v;var S=v+"";return S=="0"&&1/v==-jt?"-0":S}function es(v){if(v!=null){try{return Bs.call(v)}catch{}try{return v+""}catch{}}return""}function ts(v,S){return $l(mt,function(F){var X="_."+F[0];S&F[1]&&!Nc(v,X)&&v.push(X)}),v.sort()}function xl(v){if(v instanceof jr)return v.clone();var S=new no(v.__wrapped__,v.__chain__);return S.__actions__=Vs(v.__actions__),S.__index__=v.__index__,S.__values__=v.__values__,S}function Hs(v,S,F){(F?b(v,S,F):S===t)?S=1:S=to($r(S),0);var X=v==null?0:v.length;if(!X||S<1)return[];for(var Ce=0,Le=0,ot=Rt(yo(X/S));Ce<X;)ot[Le++]=Sa(v,Ce,Ce+=S);return ot}function gs(v){for(var S=-1,F=v==null?0:v.length,X=0,Ce=[];++S<F;){var Le=v[S];Le&&(Ce[X++]=Le)}return Ce}function ns(){var v=arguments.length;if(!v)return[];for(var S=Rt(v-1),F=arguments[0],X=v;X--;)S[X-1]=arguments[X];return Ku(ee(F)?Vs(F):[F],vo(S,1))}var na=ji(function(v,S){return xe(v)?Yo(v,vo(S,1,xe,!0)):[]}),ys=ji(function(v,S){var F=cA(S);return xe(F)&&(F=t),xe(v)?Yo(v,vo(S,1,xe,!0),Qr(F,2)):[]}),Vd=ji(function(v,S){var F=cA(S);return xe(F)&&(F=t),xe(v)?Yo(v,vo(S,1,xe,!0),t,F):[]});function zA(v,S,F){var X=v==null?0:v.length;return X?(S=F||S===t?1:$r(S),Sa(v,S<0?0:S,X)):[]}function Ps(v,S,F){var X=v==null?0:v.length;return X?(S=F||S===t?1:$r(S),S=X-S,Sa(v,0,S<0?0:S)):[]}function jA(v,S){return v&&v.length?nd(v,Qr(S,3),!0,!0):[]}function Fs(v,S){return v&&v.length?nd(v,Qr(S,3),!0):[]}function A0(v,S,F,X){var Ce=v==null?0:v.length;return Ce?(F&&typeof F!="number"&&b(v,S,F)&&(F=0,X=Ce),Is(v,S,F,X)):[]}function AA(v,S,F){var X=v==null?0:v.length;if(!X)return-1;var Ce=F==null?0:$r(F);return Ce<0&&(Ce=to(X+Ce,0)),hi(v,Qr(S,3),Ce)}function wc(v,S,F){var X=v==null?0:v.length;if(!X)return-1;var Ce=X-1;return F!==t&&(Ce=$r(F),Ce=F<0?to(X+Ce,0):ea(Ce,X-1)),hi(v,Qr(S,3),Ce,!0)}function Ua(v){var S=v==null?0:v.length;return S?vo(v,1):[]}function Zs(v){var S=v==null?0:v.length;return S?vo(v,jt):[]}function Hd(v,S){var F=v==null?0:v.length;return F?(S=S===t?1:$r(S),vo(v,S)):[]}function WA(v){for(var S=-1,F=v==null?0:v.length,X={};++S<F;){var Ce=v[S];X[Ce[0]]=Ce[1]}return X}function qp(v){return v&&v.length?v[0]:t}function c0(v,S,F){var X=v==null?0:v.length;if(!X)return-1;var Ce=F==null?0:$r(F);return Ce<0&&(Ce=to(X+Ce,0)),Do(v,S,Ce)}function Vp(v){var S=v==null?0:v.length;ret Line truncated
`)}function f(v){return ee(v)||V(v)||!!(Tf&&v&&v[Tf])}function x(v,S){var F=typeof v;return S=S??nn,!!S&&(F=="number"||F!="symbol"&&xo.test(v))&&v>-1&&v%1==0&&v<S}function b(v,S,F){if(!Cn(F))return!1;var X=typeof S;return(X=="number"?me(F)&&x(S,F.length):X=="string"&&S in F)?K(F[S],v):!1}function E(v,S){if(ee(v))return!1;var F=typeof v;return F=="number"||F=="symbol"||F=="boolean"||v==null||Wo(v)?!0:ht.test(v)||!at.test(v)||S!=null&&v in co(S)}function L(v){var S=typeof v;return S=="string"||S=="number"||S=="symbol"||S=="boolean"?v!=="__proto__":v===null}function $(v){var S=qd(v),F=ke[S];if(typeof F!="function"||!(S in jr.prototype))return!1;if(v===F)return!0;var X=bc(F);return!!X&&v===X[0]}function J(v){return!!wh&&wh in v}var le=pu?Dn:Uw;function pe(v){var S=v&&v.constructor,F=typeof S=="function"&&S.prototype||Jo;return v===F}function We(v){return v===v&&!Cn(v)}function qe(v,S){return function(F){return F==null?!1:F[v]===S&&(S!==t||v in co(F))}}function wt(v){var S=Xp(v,function(X){return F.size===g&&F.clear(),X}),F=S.cache;return S}function gt(v,S){var F=v[1],X=S[1],Ce=F|X,Le=Ce<(W|Q|se),ot=X==se&&F==oe||X==se&&F==ye&&v[7].length<=S[8]||X==(se|ye)&&S[7].length<=S[8]&&F==oe;if(!(Le||ot))return v;X&W&&(v[2]=S[2],Ce|=F&W?0:q);var yt=S[3];if(yt){var Bt=v[3];v[3]=Bt?Wd(Bt,yt,S[4]):yt,v[4]=Bt?Kl(v[3],C):S[4]}return yt=S[5],yt&&(Bt=v[5],v[5]=Bt?Lh(Bt,yt,S[6]):yt,v[6]=Bt?Kl(v[5],C):S[6]),yt=S[7],yt&&(v[7]=yt),X&se&&(v[8]=v[8]==null?S[8]:ea(v[8],S[8])),v[9]==null&&(v[9]=S[9]),v[0]=S[0],v[1]=Ce,v}function Lt(v){var S=[];if(v!=null)for(var F in co(v))S.push(F);return S}function dn(v){return vl.call(v)}function Bn(v,S,F){return S=to(S===t?v.length-1:S,0),function(){for(var X=arguments,Ce=-1,Le=to(X.length-S,0),ot=Rt(Le);++Ce<Le;)ot[Ce]=X[S+Ce];Ce=-1;for(var yt=Rt(S+1);++Ce<S;)yt[Ce]=X[Ce];return yt[S]=F(ot),ds(v,this,yt)}}function Gn(v,S){return S.length<2?v:Bo(v,Sa(S,0,-1))}function _n(v,S){for(var F=v.length,X=ea(S.length,F),Ce=Vs(v);X--;){var Le=S[X];v[X]=x(Le,F)?Ce[Le]:t}return v}function Fn(v,S){if(!(S==="constructor"&&typeof v[S]=="function")&&S!="__proto__")return v[S]}var ar=ko(Up),Or=Lu||function(v,S){return Yr.setTimeout(v,S)},yr=ko(K1);function ii(v,S,F){var X=S+"";return yr(v,A(X,ts(Da(X),F)))}function ko(v){var S=0,F=0;return function(){var X=gr(),Ce=Ke-(X-F);if(F=X,Ce>0){if(++S>=ft)return arguments[0]}else S=0;return v.apply(t,arguments)}}function La(v,S){var F=-1,X=v.length,Ce=X-1;for(S=S===t?X:S;++F<S;){var Le=Dp(F,Ce),ot=v[Le];v[Le]=v[F],v[F]=ot}return v.length=S,v}var ca=wt(function(v){var S=[];return v.charCodeAt(0)===46&&S.push(""),v.replace(Ve,function(F,X,Ce,Le){S.push(Ce?Le.replace(Ur,"$1"):X||F)}),S});function Ea(v){if(typeof v=="string"||Wo(v))return v;var S=v+"";return S=="0"&&1/v==-jt?"-0":S}function es(v){if(v!=null){try{return Bs.call(v)}catch{}try{return v+""}catch{}}return""}function ts(v,S){return $l(mt,function(F){var X="_."+F[0];S&F[1]&&!Nc(v,X)&&v.push(X)}),v.sort()}function xl(v){if(v instanceof jr)return v.clone();var S=new no(v.__wrapped__,v.__chain__);return S.__actions__=Vs(v.__actions__),S.__index__=v.__index__,S.__values__=v.__values__,S}function Hs(v,S,F){(F?b(v,S,F):S===t)?S=1:S=to($r(S),0);var X=v==null?0:v.length;if(!X||S<1)return[];for(var Ce=0,Le=0,ot=Rt(yo(X/S));Ce<X;)ot[Le++]=Sa(v,Ce,Ce+=S);return ot}function gs(v){for(var S=-1,F=v==null?0:v.length,X=0,Ce=[];++S<F;){var Le=v[S];Le&&(Ce[X++]=Le)}return Ce}function ns(){var v=arguments.length;if(!v)return[];for(var S=Rt(v-1),F=arguments[0],X=v;X--;)S[X-1]=arguments[X];return Ku(ee(F)?Vs(F):[F],vo(S,1))}var na=ji(function(v,S){return xe(v)?$o(v,vo(S,1,xe,!0)):[]}),ys=ji(function(v,S){var F=cA(S);return xe(F)&&(F=t),xe(v)?$o(v,vo(S,1,xe,!0),Qr(F,2)):[]}),Vd=ji(function(v,S){var F=cA(S);return xe(F)&&(F=t),xe(v)?$o(v,vo(S,1,xe,!0),t,F):[]});function zA(v,S,F){var X=v==null?0:v.length;return X?(S=F||S===t?1:$r(S),Sa(v,S<0?0:S,X)):[]}function Ps(v,S,F){var X=v==null?0:v.length;return X?(S=F||S===t?1:$r(S),S=X-S,Sa(v,0,S<0?0:S)):[]}function jA(v,S){return v&&v.length?nd(v,Qr(S,3),!0,!0):[]}function Fs(v,S){return v&&v.length?nd(v,Qr(S,3),!0):[]}function A0(v,S,F,X){var Ce=v==null?0:v.length;return Ce?(F&&typeof F!="number"&&b(v,S,F)&&(F=0,X=Ce),Is(v,S,F,X)):[]}function AA(v,S,F){var X=v==null?0:v.length;if(!X)return-1;var Ce=F==null?0:$r(F);return Ce<0&&(Ce=to(X+Ce,0)),hi(v,Qr(S,3),Ce)}function wc(v,S,F){var X=v==null?0:v.length;if(!X)return-1;var Ce=X-1;return F!==t&&(Ce=$r(F),Ce=F<0?to(X+Ce,0):ea(Ce,X-1)),hi(v,Qr(S,3),Ce,!0)}function Ua(v){var S=v==null?0:v.length;return S?vo(v,1):[]}function Zs(v){var S=v==null?0:v.length;return S?vo(v,jt):[]}function Hd(v,S){var F=v==null?0:v.length;return F?(S=S===t?1:$r(S),vo(v,S)):[]}function WA(v){for(var S=-1,F=v==null?0:v.length,X={};++S<F;){var Ce=v[S];X[Ce[0]]=Ce[1]}return X}function Yp(v){return v&&v.length?v[0]:t}function c0(v,S,F){var X=v==null?0:v.length;if(!X)return-1;var Ce=F==null?0:$r(F);return Ce<0&&(Ce=to(X+Ce,0)),Fo(v,S,Ce)}function qp(v){var S=v==null?0:v.length;ret Line truncated
`;v.replace(hr,function(Ai,po,So,Sc,pA,Ec){return So||(So=Sc),kn+=v.slice(gn,Ec).replace(As,Fu),po&&(yt=!0,kn+=`' +
__e(`+po+`) +
'`),pA&&(Bt=!0,kn+=`';
@@ -58,17 +58,17 @@ __p += '`),So&&(kn+=`' +
`;var ui=Vi.call(S,"variable")&&S.variable;if(!ui)kn=`with (obj) {
`+kn+`
}
`;else if(Tr.test(ui))throw new ti(a);kn=(Bt?kn.replace(m,""):kn).replace(Tt,"$1").replace(Lr,"$1;"),kn="function("+(ui||"obj")+`) {
`;else if(Tr.test(ui))throw new ei(a);kn=(Bt?kn.replace(m,""):kn).replace(Tt,"$1").replace(Lr,"$1;"),kn="function("+(ui||"obj")+`) {
`+(ui?"":`obj || (obj = {});
`)+"var __t, __p = ''"+(yt?", __e = _.escape":"")+(Bt?`, __j = Array.prototype.join;
function print() { __p += __j.call(arguments, '') }
`:`;
`)+kn+`return __p
}`;var ro=Ck(function(){return eo(Le,Wr+"return "+kn).apply(t,ot)});if(ro.source=kn,tn(ro))throw ro;return ro}function RQ(v){return ai(v).toLowerCase()}function zQ(v){return ai(v).toUpperCase()}function jQ(v,S,F){if(v=ai(v),v&&(F||S===t))return Qc(v);if(!v||!(S=_u(S)))return v;var X=yl(v),Ce=yl(S),Le=Tl(X,Ce),ot=BA(X,Ce)+1;return Cc(X,Le,ot).join("")}function WQ(v,S,F){if(v=ai(v),v&&(F||S===t))return v.slice(0,xh(v)+1);if(!v||!(S=_u(S)))return v;var X=yl(v),Ce=BA(X,yl(S))+1;return Cc(X,0,Ce).join("")}function NQ(v,S,F){if(v=ai(v),v&&(F||S===t))return v.replace(Ht,"");if(!v||!(S=_u(S)))return v;var X=yl(v),Ce=Tl(X,yl(S));return Cc(X,Ce).join("")}function GQ(v,S){var F=Ne,X=et;if(Cn(S)){var Ce="separator"in S?S.separator:Ce;F="length"in S?$r(S.length):F,X="omission"in S?_u(S.omission):X}v=ai(v);var Le=v.length;if(kA(v)){var ot=yl(v);Le=ot.length}if(F>=Le)return v;var yt=F-IA(X);if(yt<1)return X;var Bt=ot?Cc(ot,0,yt).join(""):v.slice(0,yt);if(Ce===t)return Bt+X;if(ot&&(yt+=Bt.length-yt),Xl(Ce)){if(v.slice(yt).search(Ce)){var gn,yn=Bt;for(Ce.global||(Ce=hs(Ce.source,ai(ei.exec(Ce))+"g")),Ce.lastIndex=0;gn=Ce.exec(yn);)var kn=gn.index;Bt=Bt.slice(0,kn===t?yt:kn)}}else if(v.indexOf(_u(Ce),yt)!=yt){var hr=Bt.lastIndexOf(Ce);hr>-1&&(Bt=Bt.slice(0,hr))}return Bt+X}function QQ(v){return v=ai(v),v&&de.test(v)?v.replace(Wn,iA):v}var $Q=zh(function(v,S,F){return v+(F?" ":"")+S.toUpperCase()}),Tw=Rh("toUpperCase");function _k(v,S,F){return v=ai(v),S=F?t:S,S===t?Tf(v)?Id(v):Kp(v):v.match(S)||[]}var Ck=ji(function(v,S){try{return ds(v,t,S)}catch(F){return tn(F)?F:new ti(F)}}),YQ=RA(function(v,S){return $l(S,function(F){F=Ea(F),In(v,F,tg(v[F],v))}),v});function qQ(v){var S=v==null?0:v.length,F=Qr();return v=S?Qo(v,function(X){if(typeof X[1]!="function")throw new fs(s);return[F(X[0]),X[1]]}):[],ji(function(X){for(var Ce=-1;++Ce<S;){var Le=v[Ce];if(ds(Le[0],this,X))return ds(Le[1],this,X)}})}function VQ(v){return bi(zi(v,B))}function Kw(v){return function(){return v}}function HQ(v,S){return v==null||v!==v?S:v}var ZQ=jp(),XQ=jp(!0);function $A(v){return v}function Pw(v){return Jc(typeof v=="function"?v:zi(v,B))}function JQ(v){return Th(zi(v,B))}function e$(v,S){return Kh(v,zi(S,B))}var t$=ji(function(v,S){return function(F){return LA(F,v,S)}}),n$=ji(function(v,S){return function(F){return LA(v,F,S)}});function Fw(v,S,F){var X=El(S),Ce=Ca(S,X);F==null&&!(Cn(S)&&(Ce.length||!X.length))&&(F=S,S=v,v=this,Ce=Ca(S,El(S)));var Le=!(Cn(F)&&"chain"in F)||!!F.chain,ot=Dn(v);return $l(Ce,function(yt){var Bt=S[yt];v[yt]=Bt,ot&&(v.prototype[yt]=function(){var gn=this.__chain__;if(Le||gn){var yn=v(this.__wrapped__),kn=yn.__actions__=Vs(this.__actions__);return kn.push({func:Bt,args:arguments,thisArg:v}),yn.__chain__=gn,yn}return Bt.apply(v,Ku([this.value()],arguments))})}),v}function r$(){return Yr._===this&&(Yr._=Ma),this}function Dw(){}function i$(v){return v=$r(v),ji(function(S){return Rd(S,v)})}var o$=Np(Qo),a$=Np(Wc),s$=Np(lc);function bk(v){return E(v)?sa(Ea(v)):Jm(v)}function l$(v){return function(S){return v==null?t:Bo(v,S)}}var u$=$d(),A$=$d(!0);function Lw(){return[]}function Uw(){return!1}function c$(){return{}}function d$(){return""}function h$(){return!0}function f$(v,S){if(v=$r(v),v<1||v>nn)return[];var F=Je,X=ea(v,Je);S=Qr(S),v-=Je;for(var Ce=go(X,S);++F<v;)S(F);return Ce}function p$(v){return ee(v)?Qo(v,Ea):No(v)?[v]:Vs(ca(ai(v)))}function m$(v){var S=++wh;return ai(v)+S}var g$=Qd(function(v,S){return v+S},0),y$=s0("ceil"),v$=Qd(function(v,S){return v/S},1),_$=s0("floor");function C$(v){return v&&v.length?Wo(v,$A,Mo):t}function b$(v,S){return v&&v.length?Wo(v,Qr(S,2),Mo):t}function x$(v){return Pu(v,$A)}function w$(v,S){return Pu(v,Qr(S,2))}function M$(v){return v&&v.length?Wo(v,$A,Wu):t}function S$(v,S){return v&&v.length?Wo(v,Qr(S,2),Wu):t}var E$=Qd(function(v,S){return v*S},1),O$=s0("round"),B$=Qd(function(v,S){return v-S},0);function k$(v){return v&&v.length?wo(v,$A):0}function I$(v,S){return v&&v.length?wo(v,Qr(S,2)):0}return ke.after=Hh,ke.ary=eg,ke.assign=NA,ke.assignIn=GA,ke.assignInWith=$u,ke.assignWith=Xd,ke.at=QA,ke.before=Cv,ke.bind=tg,ke.bindAll=YQ,ke.bindKey=ng,ke.castArray=c,ke.chain=gv,ke.chunk=Hs,ke.compact=gs,ke.concat=ns,ke.cond=qQ,ke.conforms=VQ,ke.constant=Kw,ke.countBy=Gb,ke.create=hA,ke.curry=ex,ke.curryRight=bv,ke.debounce=xv,ke.defaults=xu,ke.defaultsDeep=Jd,ke.defer=xw,ke.delay=tx,ke.difference=na,ke.differenceBy=ys,ke.differenceWith=Vd,ke.drop=zA,ke.dropRight=Ps,ke.dropRightWhile=jA,ke.dropWhile=Fs,ke.fill=A0,ke.filter=$b,ke.flatMap=qb,ke.flatMapDeep=Vh,ke.flatMapDepth=Vb,ke.flatten=Ua,ke.flattenDeep=Zs,ke.flattenDepth=Hd,ke.flip=wv,ke.flow=ZQ,ke.flowRight=XQ,ke.fromPairs=WA,ke.functions=ix,ke.functionsIn=Mw,ke.groupBy=Hb,ke.initial=Vp,ke.intersection=N1,ke.intersectionBy=G1,ke.intersectionWith=iw,ke.invert=Ew,ke.invertBy=Ow,ke.invokeMap=yw,ke.iteratee=Pw,ke.keyBy=Zb,ke.keys=El,ke.keysIn=Ra,ke.map=Zd,ke.mapKeys=ag,ke.mapValues=ox,ke.matches=JQ,ke.matchesProperty=e$,ke.memoize=Jp,ke.merge=kw,ke.mer Line truncated
Use an identity property function instead: \`{ "type": "identity", "property": ${JSON.stringify(B[1])} }\`.`)];const k=[];return e.layerType==="symbol"&&(a==="text-field"&&i&&!i.glyphs&&k.push(new Hn(t,s,'use of "text-field" requires a style "glyphs" property')),a==="text-font"&&WC(A1(s))&&nl(s.type)==="identity"&&k.push(new Hn(t,s,'"text-font" does not support identity functions'))),k.concat(r({key:e.key,value:s,valueSpec:C,style:i,styleSpec:o,expressionContext:"property",propertyType:n,propertyKey:a}))}function QU(e){return GU(e,"paint")}function $U(e){return GU(e,"layout")}function YU(e){let n=[];const t=e.value,r=e.key,i=e.style,o=e.styleSpec;!t.type&&!t.ref&&n.push(new Hn(r,t,'either "type" or "ref" is required'));let s=nl(t.type);const a=nl(t.ref);if(t.id){const h=nl(t.id);for(let g=0;g<e.arrayIndex;g++){const C=i.layers[g];nl(C.id)===h&&n.push(new Hn(r,t.id,`duplicate layer id "${t.id}", previously used at line ${C.id.__line__}`))}}if("ref"in t){["type","source","source-layer","filter","layout"].forEach(g=>{g in t&&n.push(new Hn(r,t[g],`"${g}" is prohibited for ref layers`))});let h;i.layers.forEach(g=>{nl(g.id)===a&&(h=g)}),h?h.ref?n.push(new Hn(r,t.ref,"ref cannot reference another ref layer")):s=nl(h.type):n.push(new Hn(r,t.ref,`ref layer "${a}" not found`))}else if(s!=="background")if(!t.source)n.push(new Hn(r,t,'missing required property "source"'));else{const h=i.sources&&i.sources[t.source],g=h&&nl(h.type);h?g==="vector"&&s==="raster"?n.push(new Hn(r,t.source,`layer "${t.id}" requires a raster source`)):g!=="raster-dem"&&s==="hillshade"?n.push(new Hn(r,t.source,`layer "${t.id}" requires a raster-dem source`)):g==="raster"&&s!=="raster"?n.push(new Hn(r,t.source,`layer "${t.id}" requires a vector source`)):g==="vector"&&!t["source-layer"]?n.push(new Hn(r,t,`layer "${t.id}" must specify a "source-layer"`)):g==="raster-dem"&&s!=="hillshade"?n.push(new Hn(r,t.source,"raster-dem source can only be used with layer type 'hillshade'.")):s==="line"&&t.paint&&t.paint["line-gradient"]&&(g!=="geojson"||!h.lineMetrics)&&n.push(new Hn(r,t,`layer "${t.id}" specifies a line-gradient, which requires a GeoJSON source with \`lineMetrics\` enabled.`)):n.push(new Hn(r,t.source,`source "${t.source}" not found`))}return n=n.concat(gd({key:r,value:t,valueSpec:o.layer,style:e.style,styleSpec:e.styleSpec,validateSpec:e.validateSpec,objectElementValidators:{"*"(){return[]},type(){return e.validateSpec({key:`${r}.type`,value:t.type,valueSpec:o.layer.type,style:e.style,styleSpec:e.styleSpec,validateSpec:e.validateSpec,object:t,objectKey:"type"})},filter:zB,layout(h){return gd({layer:t,key:h.key,value:h.value,style:h.style,styleSpec:h.styleSpec,validateSpec:h.validateSpec,objectElementValidators:{"*"(g){return $U(Ey({layerType:s},g))}}})},paint(h){return gd({layer:t,key:h.key,value:h.value,style:h.style,styleSpec:h.styleSpec,validateSpec:h.validateSpec,objectElementValidators:{"*"(g){return QU(Ey({layerType:s},g))}}})}}})),n}function c1(e){const n=e.value,t=e.key,r=Ko(n);return r!=="string"?[new Hn(t,n,`string expected, ${r} found`)]:[]}function WX(e){var n;const t=(n=e.sourceName)!==null&&n!==void 0?n:"",r=e.value,i=e.styleSpec,o=i.source_raster_dem,s=e.style;let a=[];const h=Ko(r);if(r===void 0)return a;if(h!=="object")return a.push(new Hn("source_raster_dem",r,`object expected, ${h} found`)),a;const C=nl(r.encoding)==="custom",B=["redFactor","greenFactor","blueFactor","baseShift"],k=e.value.encoding?`"${e.value.encoding}"`:"Default";for(const P in r)!C&&B.includes(P)?a.push(new Hn(P,r[P],`In "${t}": "${P}" is only valid when "encoding" is set to "custom". ${k} encoding found`)):o[P]?a=a.concat(e.validateSpec({key:P,value:r[P],valueSpec:o[P],validateSpec:e.validateSpec,style:s,styleSpec:i})):a.push(new Hn(P,r[P],`unknown property "${P}"`));return a}const t9={promoteId:NX};function qU(e){const n=e.value,t=e.key,r=e.styleSpec,i=e.style,o=e.validateSpec;if(!n.type)return[new Hn(t,n,'"type" is required')];const s=nl(n.type);let a;switch(s){case"vector":case"raster":return a=gd({key:t,value:n,valueSpec:r[`source_${s.replace("-","_")}`],style:e.style,styleSpec:r,objectElementValidators:t9,validateSpec:o}),a;case"raster-dem":return a=WX({sourceName:t,value:n,style:e.style,styleSpec:r,validateSpec:o}),a;case"geojson":if(a=gd({key:t,value:n,valueSpec:r.source_geojson,style:i,styleSpec:r,validateSpec:o,objectElementValidators:t9}),n.cluster)for(const h in n.clusterProperties){const[g,C]=n.clusterProperties[h],B=typeof g=="string"?[g,["accumulated"],["get",h]]:g;a.push(...Oy({key:`${t}.${h}.map`,value:C,validateSpec:o,expressionContext:"cluster-map"})),a.push(...Oy({key:`${t}.${h}.reduce`,value:B,validateSpec:o,expressionContext:"cluster-reduce"}))}return a;case"video":return gd({key:t,value:n,valueSpec:r.source_video,style:i,validateSpec:o,styleSpec:r});case"image":return gd({key:t,value:n,valueSpec:r.source_image,style:i,validateSpec:o,styleSpec:r});case"canvas":return[new Hn(t,null,"Please use runtime APIs to add canvas sources,Line truncated
}`;var ro=bk(function(){return eo(Le,Wr+"return "+kn).apply(t,ot)});if(ro.source=kn,tn(ro))throw ro;return ro}function zQ(v){return oi(v).toLowerCase()}function jQ(v){return oi(v).toUpperCase()}function WQ(v,S,F){if(v=oi(v),v&&(F||S===t))return Qc(v);if(!v||!(S=_u(S)))return v;var X=yl(v),Ce=yl(S),Le=Tl(X,Ce),ot=BA(X,Ce)+1;return Cc(X,Le,ot).join("")}function NQ(v,S,F){if(v=oi(v),v&&(F||S===t))return v.slice(0,bh(v)+1);if(!v||!(S=_u(S)))return v;var X=yl(v),Ce=BA(X,yl(S))+1;return Cc(X,0,Ce).join("")}function GQ(v,S,F){if(v=oi(v),v&&(F||S===t))return v.replace(Ht,"");if(!v||!(S=_u(S)))return v;var X=yl(v),Ce=Tl(X,yl(S));return Cc(X,Ce).join("")}function QQ(v,S){var F=Ne,X=et;if(Cn(S)){var Ce="separator"in S?S.separator:Ce;F="length"in S?$r(S.length):F,X="omission"in S?_u(S.omission):X}v=oi(v);var Le=v.length;if(kA(v)){var ot=yl(v);Le=ot.length}if(F>=Le)return v;var yt=F-IA(X);if(yt<1)return X;var Bt=ot?Cc(ot,0,yt).join(""):v.slice(0,yt);if(Ce===t)return Bt+X;if(ot&&(yt+=Bt.length-yt),Xl(Ce)){if(v.slice(yt).search(Ce)){var gn,yn=Bt;for(Ce.global||(Ce=hs(Ce.source,oi(Jr.exec(Ce))+"g")),Ce.lastIndex=0;gn=Ce.exec(yn);)var kn=gn.index;Bt=Bt.slice(0,kn===t?yt:kn)}}else if(v.indexOf(_u(Ce),yt)!=yt){var hr=Bt.lastIndexOf(Ce);hr>-1&&(Bt=Bt.slice(0,hr))}return Bt+X}function $Q(v){return v=oi(v),v&&de.test(v)?v.replace(Wn,iA):v}var YQ=Rh(function(v,S,F){return v+(F?" ":"")+S.toUpperCase()}),Tw=Uh("toUpperCase");function Ck(v,S,F){return v=oi(v),S=F?t:S,S===t?If(v)?Id(v):Tp(v):v.match(S)||[]}var bk=ji(function(v,S){try{return ds(v,t,S)}catch(F){return tn(F)?F:new ei(F)}}),qQ=RA(function(v,S){return $l(S,function(F){F=Ea(F),In(v,F,tg(v[F],v))}),v});function VQ(v){var S=v==null?0:v.length,F=Qr();return v=S?Go(v,function(X){if(typeof X[1]!="function")throw new fs(s);return[F(X[0]),X[1]]}):[],ji(function(X){for(var Ce=-1;++Ce<S;){var Le=v[Ce];if(ds(Le[0],this,X))return ds(Le[1],this,X)}})}function HQ(v){return bi(zi(v,B))}function Kw(v){return function(){return v}}function ZQ(v,S){return v==null||v!==v?S:v}var XQ=zp(),JQ=zp(!0);function $A(v){return v}function Pw(v){return Jc(typeof v=="function"?v:zi(v,B))}function e$(v){return Ih(zi(v,B))}function t$(v,S){return Th(v,zi(S,B))}var n$=ji(function(v,S){return function(F){return LA(F,v,S)}}),r$=ji(function(v,S){return function(F){return LA(v,F,S)}});function Fw(v,S,F){var X=El(S),Ce=Ca(S,X);F==null&&!(Cn(S)&&(Ce.length||!X.length))&&(F=S,S=v,v=this,Ce=Ca(S,El(S)));var Le=!(Cn(F)&&"chain"in F)||!!F.chain,ot=Dn(v);return $l(Ce,function(yt){var Bt=S[yt];v[yt]=Bt,ot&&(v.prototype[yt]=function(){var gn=this.__chain__;if(Le||gn){var yn=v(this.__wrapped__),kn=yn.__actions__=Vs(this.__actions__);return kn.push({func:Bt,args:arguments,thisArg:v}),yn.__chain__=gn,yn}return Bt.apply(v,Ku([this.value()],arguments))})}),v}function i$(){return Yr._===this&&(Yr._=Ma),this}function Dw(){}function o$(v){return v=$r(v),ji(function(S){return Rd(S,v)})}var a$=Wp(Go),s$=Wp(Wc),l$=Wp(lc);function xk(v){return E(v)?sa(Ea(v)):Jm(v)}function u$(v){return function(S){return v==null?t:Bo(v,S)}}var A$=$d(),c$=$d(!0);function Lw(){return[]}function Uw(){return!1}function d$(){return{}}function h$(){return""}function f$(){return!0}function p$(v,S){if(v=$r(v),v<1||v>nn)return[];var F=Je,X=ea(v,Je);S=Qr(S),v-=Je;for(var Ce=go(X,S);++F<v;)S(F);return Ce}function m$(v){return ee(v)?Go(v,Ea):Wo(v)?[v]:Vs(ca(oi(v)))}function g$(v){var S=++xh;return oi(v)+S}var y$=Qd(function(v,S){return v+S},0),v$=s0("ceil"),_$=Qd(function(v,S){return v/S},1),C$=s0("floor");function b$(v){return v&&v.length?jo(v,$A,Mo):t}function x$(v,S){return v&&v.length?jo(v,Qr(S,2),Mo):t}function w$(v){return Pu(v,$A)}function M$(v,S){return Pu(v,Qr(S,2))}function S$(v){return v&&v.length?jo(v,$A,Wu):t}function E$(v,S){return v&&v.length?jo(v,Qr(S,2),Wu):t}var O$=Qd(function(v,S){return v*S},1),B$=s0("round"),k$=Qd(function(v,S){return v-S},0);function I$(v){return v&&v.length?wo(v,$A):0}function T$(v,S){return v&&v.length?wo(v,Qr(S,2)):0}return ke.after=Vh,ke.ary=eg,ke.assign=NA,ke.assignIn=GA,ke.assignInWith=$u,ke.assignWith=Xd,ke.at=QA,ke.before=Cv,ke.bind=tg,ke.bindAll=qQ,ke.bindKey=ng,ke.castArray=c,ke.chain=gv,ke.chunk=Hs,ke.compact=gs,ke.concat=ns,ke.cond=VQ,ke.conforms=HQ,ke.constant=Kw,ke.countBy=Gb,ke.create=hA,ke.curry=ex,ke.curryRight=bv,ke.debounce=xv,ke.defaults=xu,ke.defaultsDeep=Jd,ke.defer=xw,ke.delay=tx,ke.difference=na,ke.differenceBy=ys,ke.differenceWith=Vd,ke.drop=zA,ke.dropRight=Ps,ke.dropRightWhile=jA,ke.dropWhile=Fs,ke.fill=A0,ke.filter=$b,ke.flatMap=qb,ke.flatMapDeep=qh,ke.flatMapDepth=Vb,ke.flatten=Ua,ke.flattenDeep=Zs,ke.flattenDepth=Hd,ke.flip=wv,ke.flow=XQ,ke.flowRight=JQ,ke.fromPairs=WA,ke.functions=ix,ke.functionsIn=Mw,ke.groupBy=Hb,ke.initial=qp,ke.intersection=N1,ke.intersectionBy=G1,ke.intersectionWith=iw,ke.invert=Ew,ke.invertBy=Ow,ke.invokeMap=yw,ke.iteratee=Pw,ke.keyBy=Zb,ke.keys=El,ke.keysIn=Ra,ke.map=Zd,ke.mapKeys=ag,ke.mapValues=ox,ke.matches=e$,ke.matchesProperty=t$,ke.memoize=Xp,ke.merge=kw,ke.mer Line truncated
Use an identity property function instead: \`{ "type": "identity", "property": ${JSON.stringify(B[1])} }\`.`)];const k=[];return e.layerType==="symbol"&&(a==="text-field"&&i&&!i.glyphs&&k.push(new Hn(t,s,'use of "text-field" requires a style "glyphs" property')),a==="text-font"&&WC(A1(s))&&nl(s.type)==="identity"&&k.push(new Hn(t,s,'"text-font" does not support identity functions'))),k.concat(r({key:e.key,value:s,valueSpec:C,style:i,styleSpec:o,expressionContext:"property",propertyType:n,propertyKey:a}))}function YU(e){return $U(e,"paint")}function qU(e){return $U(e,"layout")}function VU(e){let n=[];const t=e.value,r=e.key,i=e.style,o=e.styleSpec;!t.type&&!t.ref&&n.push(new Hn(r,t,'either "type" or "ref" is required'));let s=nl(t.type);const a=nl(t.ref);if(t.id){const h=nl(t.id);for(let g=0;g<e.arrayIndex;g++){const C=i.layers[g];nl(C.id)===h&&n.push(new Hn(r,t.id,`duplicate layer id "${t.id}", previously used at line ${C.id.__line__}`))}}if("ref"in t){["type","source","source-layer","filter","layout"].forEach(g=>{g in t&&n.push(new Hn(r,t[g],`"${g}" is prohibited for ref layers`))});let h;i.layers.forEach(g=>{nl(g.id)===a&&(h=g)}),h?h.ref?n.push(new Hn(r,t.ref,"ref cannot reference another ref layer")):s=nl(h.type):n.push(new Hn(r,t.ref,`ref layer "${a}" not found`))}else if(s!=="background")if(!t.source)n.push(new Hn(r,t,'missing required property "source"'));else{const h=i.sources&&i.sources[t.source],g=h&&nl(h.type);h?g==="vector"&&s==="raster"?n.push(new Hn(r,t.source,`layer "${t.id}" requires a raster source`)):g!=="raster-dem"&&s==="hillshade"?n.push(new Hn(r,t.source,`layer "${t.id}" requires a raster-dem source`)):g==="raster"&&s!=="raster"?n.push(new Hn(r,t.source,`layer "${t.id}" requires a vector source`)):g==="vector"&&!t["source-layer"]?n.push(new Hn(r,t,`layer "${t.id}" must specify a "source-layer"`)):g==="raster-dem"&&s!=="hillshade"?n.push(new Hn(r,t.source,"raster-dem source can only be used with layer type 'hillshade'.")):s==="line"&&t.paint&&t.paint["line-gradient"]&&(g!=="geojson"||!h.lineMetrics)&&n.push(new Hn(r,t,`layer "${t.id}" specifies a line-gradient, which requires a GeoJSON source with \`lineMetrics\` enabled.`)):n.push(new Hn(r,t.source,`source "${t.source}" not found`))}return n=n.concat(gd({key:r,value:t,valueSpec:o.layer,style:e.style,styleSpec:e.styleSpec,validateSpec:e.validateSpec,objectElementValidators:{"*"(){return[]},type(){return e.validateSpec({key:`${r}.type`,value:t.type,valueSpec:o.layer.type,style:e.style,styleSpec:e.styleSpec,validateSpec:e.validateSpec,object:t,objectKey:"type"})},filter:jB,layout(h){return gd({layer:t,key:h.key,value:h.value,style:h.style,styleSpec:h.styleSpec,validateSpec:h.validateSpec,objectElementValidators:{"*"(g){return qU(Ey({layerType:s},g))}}})},paint(h){return gd({layer:t,key:h.key,value:h.value,style:h.style,styleSpec:h.styleSpec,validateSpec:h.validateSpec,objectElementValidators:{"*"(g){return YU(Ey({layerType:s},g))}}})}}})),n}function c1(e){const n=e.value,t=e.key,r=Ko(n);return r!=="string"?[new Hn(t,n,`string expected, ${r} found`)]:[]}function NX(e){var n;const t=(n=e.sourceName)!==null&&n!==void 0?n:"",r=e.value,i=e.styleSpec,o=i.source_raster_dem,s=e.style;let a=[];const h=Ko(r);if(r===void 0)return a;if(h!=="object")return a.push(new Hn("source_raster_dem",r,`object expected, ${h} found`)),a;const C=nl(r.encoding)==="custom",B=["redFactor","greenFactor","blueFactor","baseShift"],k=e.value.encoding?`"${e.value.encoding}"`:"Default";for(const P in r)!C&&B.includes(P)?a.push(new Hn(P,r[P],`In "${t}": "${P}" is only valid when "encoding" is set to "custom". ${k} encoding found`)):o[P]?a=a.concat(e.validateSpec({key:P,value:r[P],valueSpec:o[P],validateSpec:e.validateSpec,style:s,styleSpec:i})):a.push(new Hn(P,r[P],`unknown property "${P}"`));return a}const n9={promoteId:GX};function HU(e){const n=e.value,t=e.key,r=e.styleSpec,i=e.style,o=e.validateSpec;if(!n.type)return[new Hn(t,n,'"type" is required')];const s=nl(n.type);let a;switch(s){case"vector":case"raster":return a=gd({key:t,value:n,valueSpec:r[`source_${s.replace("-","_")}`],style:e.style,styleSpec:r,objectElementValidators:n9,validateSpec:o}),a;case"raster-dem":return a=NX({sourceName:t,value:n,style:e.style,styleSpec:r,validateSpec:o}),a;case"geojson":if(a=gd({key:t,value:n,valueSpec:r.source_geojson,style:i,styleSpec:r,validateSpec:o,objectElementValidators:n9}),n.cluster)for(const h in n.clusterProperties){const[g,C]=n.clusterProperties[h],B=typeof g=="string"?[g,["accumulated"],["get",h]]:g;a.push(...Oy({key:`${t}.${h}.map`,value:C,validateSpec:o,expressionContext:"cluster-map"})),a.push(...Oy({key:`${t}.${h}.reduce`,value:B,validateSpec:o,expressionContext:"cluster-reduce"}))}return a;case"video":return gd({key:t,value:n,valueSpec:r.source_video,style:i,validateSpec:o,styleSpec:r});case"image":return gd({key:t,value:n,valueSpec:r.source_image,style:i,validateSpec:o,styleSpec:r});case"canvas":return[new Hn(t,null,"Please use runtime APIs to add canvas sources,Line truncated
${B}`),Z].join(`
${a}`)}return g}(e,"",0)}function r9(e,n){const t={};for(const r in n)e[r]!==void 0&&(t[r]=e[r]);for(const r in e)t[r]===void 0&&(t[r]=e[r]);return t}function tR(e,n=2){return e=r9(e,ma.$root),e.layers&&(e.layers=e.layers.map(t=>r9(t,ma.layer))),VX(e,{indent:n})}function AM(e,n){for(const t in e)t.indexOf("layout")===0&&n(e[t],t)}function i9(e,n){for(const t in e)t.indexOf("paint")===0&&n(e[t],t)}function K6(e,n){return typeof n=="string"&&n[0]==="@"?K6(e,e.constants[n]):n}function HX(e){return Array.isArray(e.stops)}function jv(e,n,t){e[t]=e[n],delete e[n]}function ZX(e){e.version=8,RX(e,i=>{i.type==="video"&&i.url!==void 0&&jv(i,"url","urls"),i.type==="video"&&i.coordinates.forEach(o=>o.reverse())}),B_(e,i=>{AM(i,o=>{o["symbol-min-distance"]!==void 0&&jv(o,"symbol-min-distance","symbol-spacing")}),i9(i,o=>{o["background-image"]!==void 0&&jv(o,"background-image","background-pattern"),o["line-image"]!==void 0&&jv(o,"line-image","line-pattern"),o["fill-image"]!==void 0&&jv(o,"fill-image","fill-pattern")})}),LB(e,{paint:!0,layout:!0},i=>{const o=K6(e,i.value);HX(o)&&o.stops.forEach(s=>{s[1]=K6(e,s[1])}),i.set(o)}),delete e.constants,B_(e,i=>{AM(i,o=>{delete o["text-max-size"],delete o["icon-max-size"]}),i9(i,o=>{o["text-size"]&&(i.layout||(i.layout={}),i.layout["text-size"]=o["text-size"],delete o["text-size"]),o["icon-size"]&&(i.layout||(i.layout={}),i.layout["icon-size"]=o["icon-size"],delete o["icon-size"])})});function n(i){function o(s){return s.split(",").map(a=>a.trim())}if(Array.isArray(i))return i;if(typeof i=="string")return o(i);if(typeof i=="object")return i.stops.forEach(s=>{s[1]=o(s[1])}),i;throw new Error("unexpected font value")}B_(e,i=>{AM(i,o=>{o["text-font"]&&(o["text-font"]=n(o["text-font"]))})});let t=0;for(let i=e.layers.length-1;i>=0;i--)if(e.layers[i].type!=="symbol"){t=i+1;break}const r=e.layers.splice(t);return r.reverse(),e.layers=e.layers.concat(r),e}function XX(e){const n=[];return B_(e,t=>{t.filter&&(t.filter=O_(t.filter))}),LB(e,{paint:!0,layout:!0},({path:t,value:r,reference:i,set:o})=>{GC(r)||(typeof r=="object"&&!Array.isArray(r)?(o(RU(r,i)),n.push(t.join("."))):i.tokens&&typeof r=="string"&&o(zU(r)))}),e}function JX(e){return JSON.parse(eJ(JSON.stringify(e)))}function eJ(e){return e.replace(/"hsla?\((.+?)\)"/gi,(n,t)=>{const r=t.match(/^(.+?)\s*,\s*(.+?)\s*,\s*(.+?)(?:\s*,\s*(.+))?$/i);if(r){let[i,o,s,a]=r.slice(1);return[o,s]=[o,s].map(h=>h.endsWith("%")?h:`${parseFloat(h)*100}%`),`"hsl${typeof a=="string"?"a":""}(${[i,o,s,a].filter(Boolean).join(",")})"`}return n})}function tJ(e){let n=!1;if(e.version===7&&(e=ZX(e),n=!0),e.version===8&&(n=!!XX(e),n=!0),LB(e,{paint:!0,layout:!0},({value:t,reference:r,set:i})=>{r.type==="color"&&i(JX(t))}),!n)throw new Error(`Cannot migrate from ${e.version}`);return e}const nJ={StyleExpression:DU,StylePropertyFunction:LU,ZoomConstantExpression:k6,ZoomDependentExpression:I6,createExpression:TB,createPropertyExpression:KB,isExpression:GC,isExpressionFilter:i5,isZoomExpression:OX,normalizePropertyExpression:BX},rJ={convertFunction:RU,createFunction:IB,isFunction:WC};var nR={exports:{}};(function(e,n){(function(t,r){e.exports=r()})(dh,function(){var t={},r={};function i(s,a,h){if(r[s]=h,s==="index"){var g="var sharedModule = {}; ("+r.shared+")(sharedModule); ("+r.worker+")(sharedModule);",C={};return r.shared(C),r.index(t,C),typeof window<"u"&&t.setWorkerUrl(window.URL.createObjectURL(new Blob([g],{type:"text/javascript"}))),t}}i("shared",["exports"],function(s){function a(c,l,d,y){return new(d||(d=Promise))(function(w,T){function K(V){try{z(y.next(V))}catch(ee){T(ee)}}function D(V){try{z(y.throw(V))}catch(ee){T(ee)}}function z(V){var ee;V.done?w(V.value):(ee=V.value,ee instanceof d?ee:new d(function(ce){ce(ee)})).then(K,D)}z((y=y.apply(c,l||[])).next())})}function h(c){return c&&c.__esModule&&Object.prototype.hasOwnProperty.call(c,"default")?c.default:c}typeof SuppressedError=="function"&&SuppressedError;var g=C;function C(c,l){this.x=c,this.y=l}C.prototype={clone:function(){return new C(this.x,this.y)},add:function(c){return this.clone()._add(c)},sub:function(c){return this.clone()._sub(c)},multByPoint:function(c){return this.clone()._multByPoint(c)},divByPoint:function(c){return this.clone()._divByPoint(c)},mult:function(c){return this.clone()._mult(c)},div:function(c){return this.clone()._div(c)},rotate:function(c){return this.clone()._rotate(c)},rotateAround:function(c,l){return this.clone()._rotateAround(c,l)},matMult:function(c){return this.clone()._matMult(c)},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(c){return this.x===c.x&&this.y===c.y},dist:function(c){return Math.sqrt(this.distSqr(c))},distSqr:function(c){var l=c.x-this.x,d=c.y-this.y;return l*l+d*d},angle:function(){return Math.atan2(this.y,this.x)},angleTo:function(c){return Math.atan2(this.y-c.y,this.x-c.x)}, Line truncated
Use an identity property function instead: \`{ "type": "identity", "property": ${JSON.stringify(ce[1])} }\`.`)];const me=[];return c.layerType==="symbol"&&(D==="text-field"&&w&&!w.glyphs&&me.push(new Y(d,K,'use of "text-field" requires a style "glyphs" property')),D==="text-font"&&Do(rA(K))&&Zo(K.type)==="identity"&&me.push(new Y(d,K,'"text-font" does not support identity functions'))),me.concat(y({key:c.key,value:K,valueSpec:ee,style:w,styleSpec:T,expressionContext:"property",propertyType:l,propertyKey:D}))}function fu(c){return Td(c,"paint")}function bt(c){return Td(c,"layout")}function an(c){let l=[];const d=c.value,y=c.key,w=c.style,T=c.styleSpec;d.type||d.ref||l.push(new Y(y,d,'either "type" or "ref" is required'));let K=Zo(d.type);const D=Zo(d.ref);if(d.id){const z=Zo(d.id);for(let V=0;V<c.arrayIndex;V++){const ee=w.layers[V];Zo(ee.id)===z&&l.push(new Y(y,d.id,`duplicate layer id "${d.id}", previously used at line ${ee.id.__line__}`))}}if("ref"in d){let z;["type","source","source-layer","filter","layout"].forEach(V=>{V in d&&l.push(new Y(y,d[V],`"${V}" is prohibited for ref layers`))}),w.layers.forEach(V=>{Zo(V.id)===D&&(z=V)}),z?z.ref?l.push(new Y(y,d.ref,"ref cannot reference another ref layer")):K=Zo(z.type):l.push(new Y(y,d.ref,`ref layer "${D}" not found`))}else if(K!=="background")if(d.source){const z=w.sources&&w.sources[d.source],V=z&&Zo(z.type);z?V==="vector"&&K==="raster"?l.push(new Y(y,d.source,`layer "${d.id}" requires a raster source`)):V!=="raster-dem"&&K==="hillshade"?l.push(new Y(y,d.source,`layer "${d.id}" requires a raster-dem source`)):V==="raster"&&K!=="raster"?l.push(new Y(y,d.source,`layer "${d.id}" requires a vector source`)):V!=="vector"||d["source-layer"]?V==="raster-dem"&&K!=="hillshade"?l.push(new Y(y,d.source,"raster-dem source can only be used with layer type 'hillshade'.")):K!=="line"||!d.paint||!d.paint["line-gradient"]||V==="geojson"&&z.lineMetrics||l.push(new Y(y,d,`layer "${d.id}" specifies a line-gradient, which requires a GeoJSON source with \`lineMetrics\` enabled.`)):l.push(new Y(y,d,`layer "${d.id}" must specify a "source-layer"`)):l.push(new Y(y,d.source,`source "${d.source}" not found`))}else l.push(new Y(y,d,'missing required property "source"'));return l=l.concat(ol({key:y,value:d,valueSpec:T.layer,style:c.style,styleSpec:c.styleSpec,validateSpec:c.validateSpec,objectElementValidators:{"*":()=>[],type:()=>c.validateSpec({key:`${y}.type`,value:d.type,valueSpec:T.layer.type,style:c.style,styleSpec:c.styleSpec,validateSpec:c.validateSpec,object:d,objectKey:"type"}),filter:cc,layout:z=>ol({layer:d,key:z.key,value:z.value,style:z.style,styleSpec:z.styleSpec,validateSpec:z.validateSpec,objectElementValidators:{"*":V=>bt(Be({layerType:K},V))}}),paint:z=>ol({layer:d,key:z.key,value:z.value,style:z.style,styleSpec:z.styleSpec,validateSpec:z.validateSpec,objectElementValidators:{"*":V=>fu(Be({layerType:K},V))}})}})),l}function Rt(c){const l=c.value,d=c.key,y=hi(l);return y!=="string"?[new Y(d,l,`string expected, ${y} found`)]:[]}const dr={promoteId:function({key:c,value:l}){if(hi(l)==="string")return Rt({key:c,value:l});{const d=[];for(const y in l)d.push(...Rt({key:`${c}.${y}`,value:l[y]}));return d}}};function ti(c){const l=c.value,d=c.key,y=c.styleSpec,w=c.style,T=c.validateSpec;if(!l.type)return[new Y(d,l,'"type" is required')];const K=Zo(l.type);let D;switch(K){case"vector":case"raster":return D=ol({key:d,value:l,valueSpec:y[`source_${K.replace("-","_")}`],style:c.style,styleSpec:y,objectElementValidators:dr,validateSpec:T}),D;case"raster-dem":return D=function(z){var V;const ee=(V=z.sourceName)!==null&&V!==void 0?V:"",ce=z.value,me=z.styleSpec,xe=me.source_raster_dem,Oe=z.style;let Re=[];const Qe=hi(ce);if(ce===void 0)return Re;if(Qe!=="object")return Re.push(new Y("source_raster_dem",ce,`object expected, ${Qe} found`)),Re;const it=Zo(ce.encoding)==="custom",Mt=["redFactor","greenFactor","blueFactor","baseShift"],lt=z.value.encoding?`"${z.value.encoding}"`:"Default";for(const vt in ce)!it&&Mt.includes(vt)?Re.push(new Y(vt,ce[vt],`In "${ee}": "${vt}" is only valid when "encoding" is set to "custom". ${lt} encoding found`)):xe[vt]?Re=Re.concat(z.validateSpec({key:vt,value:ce[vt],valueSpec:xe[vt],validateSpec:z.validateSpec,style:Oe,styleSpec:me})):Re.push(new Y(vt,ce[vt],`unknown property "${vt}"`));return Re}({sourceName:d,value:l,style:c.style,styleSpec:y,validateSpec:T}),D;case"geojson":if(D=ol({key:d,value:l,valueSpec:y.source_geojson,style:w,styleSpec:y,validateSpec:T,objectElementValidators:dr}),l.cluster)for(const z in l.clusterProperties){const[V,ee]=l.clusterProperties[z],ce=typeof V=="string"?[V,["accumulated"],["get",z]]:V;D.push(...iA({key:`${d}.${z}.map`,value:ee,validateSpec:T,expressionContext:"cluster-map"})),D.push(...iA({key:`${d}.${z}.reduce`,value:ce,validateSpec:T,expressionContext:"cluster-reduce"}))}return D;case"video":return ol({key:d,value:l,valueSpec:y.source_video,style:w,validateSpec:T,styleSpec:y});case"image":return ol({key:d,value:lLine truncated
${a}`)}return g}(e,"",0)}function i9(e,n){const t={};for(const r in n)e[r]!==void 0&&(t[r]=e[r]);for(const r in e)t[r]===void 0&&(t[r]=e[r]);return t}function rR(e,n=2){return e=i9(e,ma.$root),e.layers&&(e.layers=e.layers.map(t=>i9(t,ma.layer))),HX(e,{indent:n})}function AM(e,n){for(const t in e)t.indexOf("layout")===0&&n(e[t],t)}function o9(e,n){for(const t in e)t.indexOf("paint")===0&&n(e[t],t)}function P6(e,n){return typeof n=="string"&&n[0]==="@"?P6(e,e.constants[n]):n}function ZX(e){return Array.isArray(e.stops)}function jv(e,n,t){e[t]=e[n],delete e[n]}function XX(e){e.version=8,zX(e,i=>{i.type==="video"&&i.url!==void 0&&jv(i,"url","urls"),i.type==="video"&&i.coordinates.forEach(o=>o.reverse())}),B_(e,i=>{AM(i,o=>{o["symbol-min-distance"]!==void 0&&jv(o,"symbol-min-distance","symbol-spacing")}),o9(i,o=>{o["background-image"]!==void 0&&jv(o,"background-image","background-pattern"),o["line-image"]!==void 0&&jv(o,"line-image","line-pattern"),o["fill-image"]!==void 0&&jv(o,"fill-image","fill-pattern")})}),UB(e,{paint:!0,layout:!0},i=>{const o=P6(e,i.value);ZX(o)&&o.stops.forEach(s=>{s[1]=P6(e,s[1])}),i.set(o)}),delete e.constants,B_(e,i=>{AM(i,o=>{delete o["text-max-size"],delete o["icon-max-size"]}),o9(i,o=>{o["text-size"]&&(i.layout||(i.layout={}),i.layout["text-size"]=o["text-size"],delete o["text-size"]),o["icon-size"]&&(i.layout||(i.layout={}),i.layout["icon-size"]=o["icon-size"],delete o["icon-size"])})});function n(i){function o(s){return s.split(",").map(a=>a.trim())}if(Array.isArray(i))return i;if(typeof i=="string")return o(i);if(typeof i=="object")return i.stops.forEach(s=>{s[1]=o(s[1])}),i;throw new Error("unexpected font value")}B_(e,i=>{AM(i,o=>{o["text-font"]&&(o["text-font"]=n(o["text-font"]))})});let t=0;for(let i=e.layers.length-1;i>=0;i--)if(e.layers[i].type!=="symbol"){t=i+1;break}const r=e.layers.splice(t);return r.reverse(),e.layers=e.layers.concat(r),e}function JX(e){const n=[];return B_(e,t=>{t.filter&&(t.filter=O_(t.filter))}),UB(e,{paint:!0,layout:!0},({path:t,value:r,reference:i,set:o})=>{GC(r)||(typeof r=="object"&&!Array.isArray(r)?(o(jU(r,i)),n.push(t.join("."))):i.tokens&&typeof r=="string"&&o(WU(r)))}),e}function eJ(e){return JSON.parse(tJ(JSON.stringify(e)))}function tJ(e){return e.replace(/"hsla?\((.+?)\)"/gi,(n,t)=>{const r=t.match(/^(.+?)\s*,\s*(.+?)\s*,\s*(.+?)(?:\s*,\s*(.+))?$/i);if(r){let[i,o,s,a]=r.slice(1);return[o,s]=[o,s].map(h=>h.endsWith("%")?h:`${parseFloat(h)*100}%`),`"hsl${typeof a=="string"?"a":""}(${[i,o,s,a].filter(Boolean).join(",")})"`}return n})}function nJ(e){let n=!1;if(e.version===7&&(e=XX(e),n=!0),e.version===8&&(n=!!JX(e),n=!0),UB(e,{paint:!0,layout:!0},({value:t,reference:r,set:i})=>{r.type==="color"&&i(eJ(t))}),!n)throw new Error(`Cannot migrate from ${e.version}`);return e}const rJ={StyleExpression:UU,StylePropertyFunction:RU,ZoomConstantExpression:I6,ZoomDependentExpression:T6,createExpression:KB,createPropertyExpression:PB,isExpression:GC,isExpressionFilter:i5,isZoomExpression:BX,normalizePropertyExpression:kX},iJ={convertFunction:jU,createFunction:TB,isFunction:WC};var iR={exports:{}};(function(e,n){(function(t,r){e.exports=r()})(ch,function(){var t={},r={};function i(s,a,h){if(r[s]=h,s==="index"){var g="var sharedModule = {}; ("+r.shared+")(sharedModule); ("+r.worker+")(sharedModule);",C={};return r.shared(C),r.index(t,C),typeof window<"u"&&t.setWorkerUrl(window.URL.createObjectURL(new Blob([g],{type:"text/javascript"}))),t}}i("shared",["exports"],function(s){function a(c,l,d,y){return new(d||(d=Promise))(function(w,T){function K(V){try{z(y.next(V))}catch(ee){T(ee)}}function D(V){try{z(y.throw(V))}catch(ee){T(ee)}}function z(V){var ee;V.done?w(V.value):(ee=V.value,ee instanceof d?ee:new d(function(ce){ce(ee)})).then(K,D)}z((y=y.apply(c,l||[])).next())})}function h(c){return c&&c.__esModule&&Object.prototype.hasOwnProperty.call(c,"default")?c.default:c}typeof SuppressedError=="function"&&SuppressedError;var g=C;function C(c,l){this.x=c,this.y=l}C.prototype={clone:function(){return new C(this.x,this.y)},add:function(c){return this.clone()._add(c)},sub:function(c){return this.clone()._sub(c)},multByPoint:function(c){return this.clone()._multByPoint(c)},divByPoint:function(c){return this.clone()._divByPoint(c)},mult:function(c){return this.clone()._mult(c)},div:function(c){return this.clone()._div(c)},rotate:function(c){return this.clone()._rotate(c)},rotateAround:function(c,l){return this.clone()._rotateAround(c,l)},matMult:function(c){return this.clone()._matMult(c)},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(c){return this.x===c.x&&this.y===c.y},dist:function(c){return Math.sqrt(this.distSqr(c))},distSqr:function(c){var l=c.x-this.x,d=c.y-this.y;return l*l+d*d},angle:function(){return Math.atan2(this.y,this.x)},angleTo:function(c){return Math.atan2(this.y-c.y,this.x-c.x)}, Line truncated
Use an identity property function instead: \`{ "type": "identity", "property": ${JSON.stringify(ce[1])} }\`.`)];const me=[];return c.layerType==="symbol"&&(D==="text-field"&&w&&!w.glyphs&&me.push(new Y(d,K,'use of "text-field" requires a style "glyphs" property')),D==="text-font"&&Fo(rA(K))&&Zo(K.type)==="identity"&&me.push(new Y(d,K,'"text-font" does not support identity functions'))),me.concat(y({key:c.key,value:K,valueSpec:ee,style:w,styleSpec:T,expressionContext:"property",propertyType:l,propertyKey:D}))}function fu(c){return Td(c,"paint")}function bt(c){return Td(c,"layout")}function an(c){let l=[];const d=c.value,y=c.key,w=c.style,T=c.styleSpec;d.type||d.ref||l.push(new Y(y,d,'either "type" or "ref" is required'));let K=Zo(d.type);const D=Zo(d.ref);if(d.id){const z=Zo(d.id);for(let V=0;V<c.arrayIndex;V++){const ee=w.layers[V];Zo(ee.id)===z&&l.push(new Y(y,d.id,`duplicate layer id "${d.id}", previously used at line ${ee.id.__line__}`))}}if("ref"in d){let z;["type","source","source-layer","filter","layout"].forEach(V=>{V in d&&l.push(new Y(y,d[V],`"${V}" is prohibited for ref layers`))}),w.layers.forEach(V=>{Zo(V.id)===D&&(z=V)}),z?z.ref?l.push(new Y(y,d.ref,"ref cannot reference another ref layer")):K=Zo(z.type):l.push(new Y(y,d.ref,`ref layer "${D}" not found`))}else if(K!=="background")if(d.source){const z=w.sources&&w.sources[d.source],V=z&&Zo(z.type);z?V==="vector"&&K==="raster"?l.push(new Y(y,d.source,`layer "${d.id}" requires a raster source`)):V!=="raster-dem"&&K==="hillshade"?l.push(new Y(y,d.source,`layer "${d.id}" requires a raster-dem source`)):V==="raster"&&K!=="raster"?l.push(new Y(y,d.source,`layer "${d.id}" requires a vector source`)):V!=="vector"||d["source-layer"]?V==="raster-dem"&&K!=="hillshade"?l.push(new Y(y,d.source,"raster-dem source can only be used with layer type 'hillshade'.")):K!=="line"||!d.paint||!d.paint["line-gradient"]||V==="geojson"&&z.lineMetrics||l.push(new Y(y,d,`layer "${d.id}" specifies a line-gradient, which requires a GeoJSON source with \`lineMetrics\` enabled.`)):l.push(new Y(y,d,`layer "${d.id}" must specify a "source-layer"`)):l.push(new Y(y,d.source,`source "${d.source}" not found`))}else l.push(new Y(y,d,'missing required property "source"'));return l=l.concat(ol({key:y,value:d,valueSpec:T.layer,style:c.style,styleSpec:c.styleSpec,validateSpec:c.validateSpec,objectElementValidators:{"*":()=>[],type:()=>c.validateSpec({key:`${y}.type`,value:d.type,valueSpec:T.layer.type,style:c.style,styleSpec:c.styleSpec,validateSpec:c.validateSpec,object:d,objectKey:"type"}),filter:cc,layout:z=>ol({layer:d,key:z.key,value:z.value,style:z.style,styleSpec:z.styleSpec,validateSpec:z.validateSpec,objectElementValidators:{"*":V=>bt(Be({layerType:K},V))}}),paint:z=>ol({layer:d,key:z.key,value:z.value,style:z.style,styleSpec:z.styleSpec,validateSpec:z.validateSpec,objectElementValidators:{"*":V=>fu(Be({layerType:K},V))}})}})),l}function Rt(c){const l=c.value,d=c.key,y=hi(l);return y!=="string"?[new Y(d,l,`string expected, ${y} found`)]:[]}const dr={promoteId:function({key:c,value:l}){if(hi(l)==="string")return Rt({key:c,value:l});{const d=[];for(const y in l)d.push(...Rt({key:`${c}.${y}`,value:l[y]}));return d}}};function ei(c){const l=c.value,d=c.key,y=c.styleSpec,w=c.style,T=c.validateSpec;if(!l.type)return[new Y(d,l,'"type" is required')];const K=Zo(l.type);let D;switch(K){case"vector":case"raster":return D=ol({key:d,value:l,valueSpec:y[`source_${K.replace("-","_")}`],style:c.style,styleSpec:y,objectElementValidators:dr,validateSpec:T}),D;case"raster-dem":return D=function(z){var V;const ee=(V=z.sourceName)!==null&&V!==void 0?V:"",ce=z.value,me=z.styleSpec,xe=me.source_raster_dem,Oe=z.style;let Re=[];const Qe=hi(ce);if(ce===void 0)return Re;if(Qe!=="object")return Re.push(new Y("source_raster_dem",ce,`object expected, ${Qe} found`)),Re;const it=Zo(ce.encoding)==="custom",Mt=["redFactor","greenFactor","blueFactor","baseShift"],lt=z.value.encoding?`"${z.value.encoding}"`:"Default";for(const vt in ce)!it&&Mt.includes(vt)?Re.push(new Y(vt,ce[vt],`In "${ee}": "${vt}" is only valid when "encoding" is set to "custom". ${lt} encoding found`)):xe[vt]?Re=Re.concat(z.validateSpec({key:vt,value:ce[vt],valueSpec:xe[vt],validateSpec:z.validateSpec,style:Oe,styleSpec:me})):Re.push(new Y(vt,ce[vt],`unknown property "${vt}"`));return Re}({sourceName:d,value:l,style:c.style,styleSpec:y,validateSpec:T}),D;case"geojson":if(D=ol({key:d,value:l,valueSpec:y.source_geojson,style:w,styleSpec:y,validateSpec:T,objectElementValidators:dr}),l.cluster)for(const z in l.clusterProperties){const[V,ee]=l.clusterProperties[z],ce=typeof V=="string"?[V,["accumulated"],["get",z]]:V;D.push(...iA({key:`${d}.${z}.map`,value:ee,validateSpec:T,expressionContext:"cluster-map"})),D.push(...iA({key:`${d}.${z}.reduce`,value:ce,validateSpec:T,expressionContext:"cluster-reduce"}))}return D;case"video":return ol({key:d,value:l,valueSpec:y.source_video,style:w,validateSpec:T,styleSpec:y});case"image":return ol({key:d,value:lLine truncated
precision mediump float;
#else
#if !defined(lowp)
@@ -643,110 +643,110 @@ uniform ${ue} ${fe} u_${Ee};
#endif
`}),staticAttributes:_,staticUniforms:R}}class il{constructor(){this.boundProgram=null,this.boundLayoutVertexBuffer=null,this.boundPaintVertexBuffers=[],this.boundIndexBuffer=null,this.boundVertexOffset=null,this.boundDynamicVertexBuffer=null,this.vao=null}bind(u,p,_,M,I,R,j,G,te){this.context=u;let ue=this.boundPaintVertexBuffers.length!==M.length;for(let fe=0;!ue&&fe<M.length;fe++)this.boundPaintVertexBuffers[fe]!==M[fe]&&(ue=!0);!this.vao||this.boundProgram!==p||this.boundLayoutVertexBuffer!==_||ue||this.boundIndexBuffer!==I||this.boundVertexOffset!==R||this.boundDynamicVertexBuffer!==j||this.boundDynamicVertexBuffer2!==G||this.boundDynamicVertexBuffer3!==te?this.freshBind(p,_,M,I,R,j,G,te):(u.bindVertexArray.set(this.vao),j&&j.bind(),I&&I.dynamicDraw&&I.bind(),G&&G.bind(),te&&te.bind())}freshBind(u,p,_,M,I,R,j,G){const te=u.numAttributes,ue=this.context,fe=ue.gl;this.vao&&this.destroy(),this.vao=ue.createVertexArray(),ue.bindVertexArray.set(this.vao),this.boundProgram=u,this.boundLayoutVertexBuffer=p,this.boundPaintVertexBuffers=_,this.boundIndexBuffer=M,this.boundVertexOffset=I,this.boundDynamicVertexBuffer=R,this.boundDynamicVertexBuffer2=j,this.boundDynamicVertexBuffer3=G,p.enableAttributes(fe,u);for(const Ee of _)Ee.enableAttributes(fe,u);R&&R.enableAttributes(fe,u),j&&j.enableAttributes(fe,u),G&&G.enableAttributes(fe,u),p.bind(),p.setVertexAttribPointers(fe,u,I);for(const Ee of _)Ee.bind(),Ee.setVertexAttribPointers(fe,u,I);R&&(R.bind(),R.setVertexAttribPointers(fe,u,I)),M&&M.bind(),j&&(j.bind(),j.setVertexAttribPointers(fe,u,I)),G&&(G.bind(),G.setVertexAttribPointers(fe,u,I)),ue.currentNumAttributes=te}destroy(){this.vao&&(this.context.deleteVertexArray(this.vao),this.vao=null)}}function Va(O){const u=[];for(let p=0;p<O.length;p++){if(O[p]===null)continue;const _=O[p].split(" ");u.push(_.pop())}return u}class xa{constructor(u,p,_,M,I,R){const j=u.gl;this.program=j.createProgram();const G=Va(p.staticAttributes),te=_?_.getBinderAttributes():[],ue=G.concat(te),fe=Br.prelude.staticUniforms?Va(Br.prelude.staticUniforms):[],Ee=p.staticUniforms?Va(p.staticUniforms):[],ze=_?_.getBinderUniforms():[],Fe=fe.concat(Ee).concat(ze),Ge=[];for(const It of Fe)Ge.indexOf(It)<0&&Ge.push(It);const je=_?_.defines():[];I&&je.push("#define OVERDRAW_INSPECTOR;"),R&&je.push("#define TERRAIN3D;");const ct=je.concat(Br.prelude.fragmentSource,p.fragmentSource).join(`
`),Ot=je.concat(Br.prelude.vertexSource,p.vertexSource).join(`
`),Ye=j.createShader(j.FRAGMENT_SHADER);if(j.isContextLost())return void(this.failedToCreate=!0);if(j.shaderSource(Ye,ct),j.compileShader(Ye),!j.getShaderParameter(Ye,j.COMPILE_STATUS))throw new Error(`Could not compile fragment shader: ${j.getShaderInfoLog(Ye)}`);j.attachShader(this.program,Ye);const _t=j.createShader(j.VERTEX_SHADER);if(j.isContextLost())return void(this.failedToCreate=!0);if(j.shaderSource(_t,Ot),j.compileShader(_t),!j.getShaderParameter(_t,j.COMPILE_STATUS))throw new Error(`Could not compile vertex shader: ${j.getShaderInfoLog(_t)}`);j.attachShader(this.program,_t),this.attributes={};const Gt={};this.numAttributes=ue.length;for(let It=0;It<this.numAttributes;It++)ue[It]&&(j.bindAttribLocation(this.program,It,ue[It]),this.attributes[ue[It]]=It);if(j.linkProgram(this.program),!j.getProgramParameter(this.program,j.LINK_STATUS))throw new Error(`Program failed to link: ${j.getProgramInfoLog(this.program)}`);j.deleteShader(_t),j.deleteShader(Ye);for(let It=0;It<Ge.length;It++){const en=Ge[It];if(en&&!Gt[en]){const cn=j.getUniformLocation(this.program,en);cn&&(Gt[en]=cn)}}this.fixedUniforms=M(u,Gt),this.terrainUniforms=((It,en)=>({u_depth:new a.aG(It,en.u_depth),u_terrain:new a.aG(It,en.u_terrain),u_terrain_dim:new a.aH(It,en.u_terrain_dim),u_terrain_matrix:new a.aI(It,en.u_terrain_matrix),u_terrain_unpack:new a.aJ(It,en.u_terrain_unpack),u_terrain_exaggeration:new a.aH(It,en.u_terrain_exaggeration)}))(u,Gt),this.binderUniforms=_?_.getUniforms(u,Gt):[]}draw(u,p,_,M,I,R,j,G,te,ue,fe,Ee,ze,Fe,Ge,je,ct,Ot){const Ye=u.gl;if(this.failedToCreate)return;if(u.program.set(this.program),u.setDepthMode(_),u.setStencilMode(M),u.setColorMode(I),u.setCullFace(R),G){u.activeTexture.set(Ye.TEXTURE2),Ye.bindTexture(Ye.TEXTURE_2D,G.depthTexture),u.activeTexture.set(Ye.TEXTURE3),Ye.bindTexture(Ye.TEXTURE_2D,G.texture);for(const Gt in this.terrainUniforms)this.terrainUniforms[Gt].set(G[Gt])}for(const Gt in this.fixedUniforms)this.fixedUniforms[Gt].set(j[Gt]);Ge&&Ge.setUniforms(u,this.binderUniforms,ze,{zoom:Fe});let _t=0;switch(p){case Ye.LINES:_t=2;break;case Ye.TRIANGLES:_t=3;break;case Ye.LINE_STRIP:_t=1}for(const Gt of Ee.get()){const It=Gt.vaos||(Gt.vaos={});(It[te]||(It[te]=new il)).bind(u,this,ue,Ge?Ge.getPaintVertexBuffers():[],fe,Gt.vertexOffset,je,ct,Ot),Ye.drawElements(p,Gt.primitiveLength*_t,Ye.UNSIGNED_SHORT,Gt.primitiveOffset*_t*2)}}}function Bu(O,u,p){const _=1/or(p,1,u.transform.tileZoom),M=Math.pow(2,p.tileID.overscaledZ),I=p.tileSize*Math.pow(2,u.transform.tileZoom)/M,R=I*(p.tileID.canonical.x+p.tileID.wrap*M),j=I*p.tileID.canonical.y;return{u_image:0,u_texsize:p.imageAtlasTexture.size,u_scale:[_,O.fromScale,O.toScale],u_fade:O.t,u_pixel_coord_upper:[R>>16,j>>16],u_pixel_coord_lower:[65535&R,65535&j]}}const Ns=(O,u,p,_)=>{const M=u.style.light,I=M.properties.get("position"),R=[I.x,I.y,I.z],j=function(){var te=new a.A(9);return a.A!=Float32Array&&(te[1]=0,te[2]=0,te[3]=0,te[5]=0,te[6]=0,te[7]=0),te[0]=1,te[4]=1,te[8]=1,te}();M.properties.get("anchor")==="viewport"&&function(te,ue){var fe=Math.sin(ue),Ee=Math.cos(ue);te[0]=Ee,te[1]=fe,te[2]=0,te[3]=-fe,te[4]=Ee,te[5]=0,te[6]=0,te[7]=0,te[8]=1}(j,-u.transform.angle),function(te,ue,fe){var Ee=ue[0],ze=ue[1],Fe=ue[2];te[0]=Ee*fe[0]+ze*fe[3]+Fe*fe[6],te[1]=Ee*fe[1]+ze*fe[4]+Fe*fe[7],te[2]=Ee*fe[2]+ze*fe[5]+Fe*fe[8]}(R,R,j);const G=M.properties.get("color");return{u_matrix:O,u_lightpos:R,u_lightintensity:M.properties.get("intensity"),u_lightcolor:[G.r,G.g,G.b],u_vertical_gradient:+p,u_opacity:_}},Ha=(O,u,p,_,M,I,R)=>a.e(Ns(O,u,p,_),Bu(I,u,R),{u_height_factor:-Math.pow(2,M.overscaledZ)/R.tileSize/8}),Za=O=>({u_matrix:O}),Gs=(O,u,p,_)=>a.e(Za(O),Bu(p,u,_)),xA=(O,u)=>({u_matrix:O,u_world:u}),pl=(O,u,p,_,M)=>a.e(Gs(O,u,p,_),{u_world:M}),ic=(O,u,p,_)=>{const M=O.transform;let I,R;if(_.paint.get("circle-pitch-alignment")==="map"){const j=or(p,1,M.zoom);I=!0,R=[j,j]}else I=!1,R=M.pixelsToGLUnits;return{u_camera_to_center_distance:M.cameraToCenterDistance,u_scale_with_map:+(_.paint.get("circle-pitch-scale")==="map"),u_matrix:O.translatePosMatrix(u.posMatrix,p,_.paint.get("circle-translate"),_.paint.get("circle-translate-anchor")),u_pitch_with_map:+I,u_device_pixel_ratio:O.pixelRatio,u_extrude_scale:R}},wA=(O,u,p)=>{const _=or(p,1,u.zoom),M=Math.pow(2,u.zoom-p.tileID.overscaledZ),I=p.tileID.overscaleFactor();return{u_matrix:O,u_camera_to_center_distance:u.cameraToCenterDistance,u_pixels_to_tile_units:_,u_extrude_scale:[u.pixelsToGLUnits[0]/(_*M),u.pixelsToGLUnits[1]/(_*M)],u_overscale_factor:I}},MA=(O,u,p=1)=>({u_matrix:O,u_color:u,u_overlay:0,u_overlay_scale:p}),tA=O=>({u_matrix:O}),oc=(O,u,p,_)=>({u_matrix:O,u_extrude_scale:or(u,1,p),u_intensity:_});function Xa(O,u){const p=Math.pow(2,u.canonical.z),_=u.canonical.y;return[new a.Y(0,_/p).toLngLat().lat,new a.Y(0,(_+1)/p).toLngLat().lat]}const Es=(O,u,p,_)=>{const M=O.transform;return{u_matrix:nA(O,u,p,_),u_ratio:1/or(u,1,M.zoom),u_device_pixel_ratio:O.pixelRatio,u_units_to_pixels:[1/M.pixelsToGLUnits[0],1/M.p Line truncated
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/(function(e){(function(){var n={}.hasOwnProperty;function t(){for(var o="",s=0;s<arguments.length;s++){var a=arguments[s];a&&(o=i(o,r(a)))}return o}function r(o){if(typeof o=="string"||typeof o=="number")return o;if(typeof o!="object")return"";if(Array.isArray(o))return t.apply(null,o);if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]"))return o.toString();var s="";for(var a in o)n.call(o,a)&&o[a]&&(s=i(s,a));return s}function i(o,s){return s?o?o+" "+s:o+s:o}e.exports?(t.default=t,e.exports=t):window.classNames=t})()})(dR);var aee=dR.exports;const _f=oa(aee);function Eo(){var e="/home/runner/work/maputnik/maputnik/src/components/FieldDocLabel.tsx",n="3158bd93bbefd1bd0e63d26617da070781685c25",t=globalThis,r="__coverage__",i={path:"/home/runner/work/maputnik/maputnik/src/components/FieldDocLabel.tsx",statementMap:{0:{start:{line:6,column:4},end:{line:6,column:17}},1:{start:{line:7,column:4},end:{line:9,column:6}},2:{start:{line:11,column:16},end:{line:19,column:3}},3:{start:{line:12,column:4},end:{line:18,column:7}},4:{start:{line:15,column:6},end:{line:17,column:7}},5:{start:{line:16,column:8},end:{line:16,column:48}},6:{start:{line:21,column:33},end:{line:21,column:43}},7:{start:{line:22,column:20},end:{line:22,column:35}},8:{start:{line:23,column:4},end:{line:42,column:5}},9:{start:{line:24,column:6},end:{line:37,column:14}},10:{start:{line:32,column:27},end:{line:32,column:61}},11:{start:{line:38,column:11},end:{line:42,column:5}},12:{start:{line:39,column:6},end:{line:39,column:174}},13:{start:{line:41,column:22},end:{line:41,column:37}}},fnMap:{0:{name:"(anonymous_0)",decl:{start:{line:5,column:2},end:{line:5,column:3}},loc:{start:{line:5,column:21},end:{line:10,column:3}},line:5},1:{name:"(anonymous_1)",decl:{start:{line:11,column:16},end:{line:11,column:17}},loc:{start:{line:11,column:26},end:{line:19,column:3}},line:11},2:{name:"(anonymous_2)",decl:{start:{line:14,column:7},end:{line:14,column:8}},loc:{start:{line:14,column:13},end:{line:18,column:5}},line:14},3:{name:"(anonymous_3)",decl:{start:{line:20,column:2},end:{line:20,column:3}},loc:{start:{line:20,column:11},end:{line:43,column:3}},line:20},4:{name:"(anonymous_4)",decl:{start:{line:32,column:21},end:{line:32,column:22}},loc:{start:{line:32,column:27},end:{line:32,column:61}},line:32}},branchMap:{0:{loc:{start:{line:15,column:6},end:{line:17,column:7}},type:"if",locations:[{start:{line:15,column:6},end:{line:17,column:7}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:15},1:{loc:{start:{line:22,column:20},end:{line:22,column:35}},type:"binary-expr",locations:[{start:{line:22,column:20},end:{line:22,column:29}},{start:{line:22,column:33},end:{line:22,column:35}}],line:22},2:{loc:{start:{line:23,column:4},end:{line:42,column:5}},type:"if",locations:[{start:{line:23,column:4},end:{line:42,column:5}},{start:{line:38,column:11},end:{line:42,column:5}}],line:23},3:{loc:{start:{line:30,column:26},end:{line:30,column:106}},type:"cond-expr",locations:[{start:{line:30,column:44},end:{line:30,column:74}},{start:{line:30,column:77},end:{line:30,column:106}}],line:30},4:{loc:{start:{line:31,column:67},end:{line:31,column:102}},type:"cond-expr",locations:[{start:{line:31,column:85},end:{line:31,column:91}},{start:{line:31,column:94},end:{line:31,column:102}}],line:31},5:{loc:{start:{line:34,column:22},end:{line:34,column:120}},type:"cond-expr",locations:[{start:{line:34,column:56},end:{line:34,column:79}},{start:{line:34,column:98},end:{line:34,column:120}}],line:34},6:{loc:{start:{line:38,column:11},end:{line:42,column:5}},type:"if",locations:[{start:{line:38,column:11},end:{line:42,column:5}},{start:{line:40,column:11},end:{line:42,column:5}}],line:38}},s:{0:0,1:0,2:0,3:0,4:0,5:0,6:0,7:0,8:0,9:0,10:0,11:0,12:0,13:0},f:{0:0,1:0,2:0,3:0,4:0},b:{0:[0,0],1:[0,0],2:[0,0],3:[0,0],4:[0,0],5:[0,0],6:[0,0]},inputSourceMap:{version:3,file:null,sources:["/home/runner/work/maputnik/maputnik/src/components/FieldDocLabel.tsx"],names:[],mappings:"AAuCQ,SASuB,KATvB;AAvCR,OAAO,WAAW;AAClB,SAAQ,eAAe,sBAAqB;AAc5C,qBAAqB,sBAAsB,MAAM,UAAkD;AAAA,EACjG,YAAa,OAA2B;AACtC,UAAM,KAAK;AACX,SAAK,QAAQ;AAAA,MACX,MAAM;AAAA,IACR;AAAA,EACF;AAAA,EAEA,cAAc,CAAC,SAAkB;AAC/B,SAAK,SAAS;AAAA,MACZ;AAAA,IACF,GAAG,MAAM;AACP,UAAI,KAAK,MAAM,aAAa;AAC1B,aAAK,MAAM,YAAY,KAAK,MAAM,IAAI;AAAA,MACxC;AAAA,IACF,CAAC;AAAA,EACH;AAAA,EAEA,SAAS;AACP,UAAM,EAAC,OAAO,UAAS,IAAI,KAAK;AAChC,UAAM,EAAC,IAAG,IAAI,aAAa,CAAC;AAE5B,QAAI,KAAK;AACP,aAAO,oBAAC,WAAM,WAAU,wBACtB,+BAAC,SAAI,WAAU,uBACZ;AAAA;AAAA,QACA;AAAA,QACD;AAAA,UAAC;AAAA;AAAA,YACC,cAAY,KAAK,MAAM,OAAO,iCAAiC;AAAA,YAC/D,WAAW,4CAA4C,KAAK,MAAM,OAAO,SAAS,QAAQ;AAAA,YAC1F,SAAS,MAAM,KAAK,YAAY,CAAC,KAAK,MAAM,IAAI;AAAA,YAChD,eAAa,sBAAoB;AAAA,YAEhC,eAAK,MAAM,OAAO,oBAAC,kBAAe,IAAK,oBAAC,iBAAc;AAAA;AAAA,QACzD;AAAA,SACF,GACF;AAAA,IACF,WACS,OAAO;AACd,aAAO,oBAAC,WAAM,WAAU,wBACtB,8BAAC,SAAI,WAAU,uBACZ,iBACH,GACF;AAAA,IACF,OACK;AACH,0BAAC,SAAI;AAAA,IACP;AAAA,EACF;AACF;"},_coverageSchema:"1a1c01bbd47fc00a2c39e9Line truncated
`),Ye=j.createShader(j.FRAGMENT_SHADER);if(j.isContextLost())return void(this.failedToCreate=!0);if(j.shaderSource(Ye,ct),j.compileShader(Ye),!j.getShaderParameter(Ye,j.COMPILE_STATUS))throw new Error(`Could not compile fragment shader: ${j.getShaderInfoLog(Ye)}`);j.attachShader(this.program,Ye);const _t=j.createShader(j.VERTEX_SHADER);if(j.isContextLost())return void(this.failedToCreate=!0);if(j.shaderSource(_t,Ot),j.compileShader(_t),!j.getShaderParameter(_t,j.COMPILE_STATUS))throw new Error(`Could not compile vertex shader: ${j.getShaderInfoLog(_t)}`);j.attachShader(this.program,_t),this.attributes={};const Gt={};this.numAttributes=ue.length;for(let It=0;It<this.numAttributes;It++)ue[It]&&(j.bindAttribLocation(this.program,It,ue[It]),this.attributes[ue[It]]=It);if(j.linkProgram(this.program),!j.getProgramParameter(this.program,j.LINK_STATUS))throw new Error(`Program failed to link: ${j.getProgramInfoLog(this.program)}`);j.deleteShader(_t),j.deleteShader(Ye);for(let It=0;It<Ge.length;It++){const en=Ge[It];if(en&&!Gt[en]){const cn=j.getUniformLocation(this.program,en);cn&&(Gt[en]=cn)}}this.fixedUniforms=M(u,Gt),this.terrainUniforms=((It,en)=>({u_depth:new a.aG(It,en.u_depth),u_terrain:new a.aG(It,en.u_terrain),u_terrain_dim:new a.aH(It,en.u_terrain_dim),u_terrain_matrix:new a.aI(It,en.u_terrain_matrix),u_terrain_unpack:new a.aJ(It,en.u_terrain_unpack),u_terrain_exaggeration:new a.aH(It,en.u_terrain_exaggeration)}))(u,Gt),this.binderUniforms=_?_.getUniforms(u,Gt):[]}draw(u,p,_,M,I,R,j,G,te,ue,fe,Ee,ze,Fe,Ge,je,ct,Ot){const Ye=u.gl;if(this.failedToCreate)return;if(u.program.set(this.program),u.setDepthMode(_),u.setStencilMode(M),u.setColorMode(I),u.setCullFace(R),G){u.activeTexture.set(Ye.TEXTURE2),Ye.bindTexture(Ye.TEXTURE_2D,G.depthTexture),u.activeTexture.set(Ye.TEXTURE3),Ye.bindTexture(Ye.TEXTURE_2D,G.texture);for(const Gt in this.terrainUniforms)this.terrainUniforms[Gt].set(G[Gt])}for(const Gt in this.fixedUniforms)this.fixedUniforms[Gt].set(j[Gt]);Ge&&Ge.setUniforms(u,this.binderUniforms,ze,{zoom:Fe});let _t=0;switch(p){case Ye.LINES:_t=2;break;case Ye.TRIANGLES:_t=3;break;case Ye.LINE_STRIP:_t=1}for(const Gt of Ee.get()){const It=Gt.vaos||(Gt.vaos={});(It[te]||(It[te]=new il)).bind(u,this,ue,Ge?Ge.getPaintVertexBuffers():[],fe,Gt.vertexOffset,je,ct,Ot),Ye.drawElements(p,Gt.primitiveLength*_t,Ye.UNSIGNED_SHORT,Gt.primitiveOffset*_t*2)}}}function Bu(O,u,p){const _=1/or(p,1,u.transform.tileZoom),M=Math.pow(2,p.tileID.overscaledZ),I=p.tileSize*Math.pow(2,u.transform.tileZoom)/M,R=I*(p.tileID.canonical.x+p.tileID.wrap*M),j=I*p.tileID.canonical.y;return{u_image:0,u_texsize:p.imageAtlasTexture.size,u_scale:[_,O.fromScale,O.toScale],u_fade:O.t,u_pixel_coord_upper:[R>>16,j>>16],u_pixel_coord_lower:[65535&R,65535&j]}}const Ns=(O,u,p,_)=>{const M=u.style.light,I=M.properties.get("position"),R=[I.x,I.y,I.z],j=function(){var te=new a.A(9);return a.A!=Float32Array&&(te[1]=0,te[2]=0,te[3]=0,te[5]=0,te[6]=0,te[7]=0),te[0]=1,te[4]=1,te[8]=1,te}();M.properties.get("anchor")==="viewport"&&function(te,ue){var fe=Math.sin(ue),Ee=Math.cos(ue);te[0]=Ee,te[1]=fe,te[2]=0,te[3]=-fe,te[4]=Ee,te[5]=0,te[6]=0,te[7]=0,te[8]=1}(j,-u.transform.angle),function(te,ue,fe){var Ee=ue[0],ze=ue[1],Fe=ue[2];te[0]=Ee*fe[0]+ze*fe[3]+Fe*fe[6],te[1]=Ee*fe[1]+ze*fe[4]+Fe*fe[7],te[2]=Ee*fe[2]+ze*fe[5]+Fe*fe[8]}(R,R,j);const G=M.properties.get("color");return{u_matrix:O,u_lightpos:R,u_lightintensity:M.properties.get("intensity"),u_lightcolor:[G.r,G.g,G.b],u_vertical_gradient:+p,u_opacity:_}},Ha=(O,u,p,_,M,I,R)=>a.e(Ns(O,u,p,_),Bu(I,u,R),{u_height_factor:-Math.pow(2,M.overscaledZ)/R.tileSize/8}),Za=O=>({u_matrix:O}),Gs=(O,u,p,_)=>a.e(Za(O),Bu(p,u,_)),xA=(O,u)=>({u_matrix:O,u_world:u}),pl=(O,u,p,_,M)=>a.e(Gs(O,u,p,_),{u_world:M}),ic=(O,u,p,_)=>{const M=O.transform;let I,R;if(_.paint.get("circle-pitch-alignment")==="map"){const j=or(p,1,M.zoom);I=!0,R=[j,j]}else I=!1,R=M.pixelsToGLUnits;return{u_camera_to_center_distance:M.cameraToCenterDistance,u_scale_with_map:+(_.paint.get("circle-pitch-scale")==="map"),u_matrix:O.translatePosMatrix(u.posMatrix,p,_.paint.get("circle-translate"),_.paint.get("circle-translate-anchor")),u_pitch_with_map:+I,u_device_pixel_ratio:O.pixelRatio,u_extrude_scale:R}},wA=(O,u,p)=>{const _=or(p,1,u.zoom),M=Math.pow(2,u.zoom-p.tileID.overscaledZ),I=p.tileID.overscaleFactor();return{u_matrix:O,u_camera_to_center_distance:u.cameraToCenterDistance,u_pixels_to_tile_units:_,u_extrude_scale:[u.pixelsToGLUnits[0]/(_*M),u.pixelsToGLUnits[1]/(_*M)],u_overscale_factor:I}},MA=(O,u,p=1)=>({u_matrix:O,u_color:u,u_overlay:0,u_overlay_scale:p}),tA=O=>({u_matrix:O}),oc=(O,u,p,_)=>({u_matrix:O,u_extrude_scale:or(u,1,p),u_intensity:_});function Xa(O,u){const p=Math.pow(2,u.canonical.z),_=u.canonical.y;return[new a.Y(0,_/p).toLngLat().lat,new a.Y(0,(_+1)/p).toLngLat().lat]}const Es=(O,u,p,_)=>{const M=O.transform;return{u_matrix:nA(O,u,p,_),u_ratio:1/or(u,1,M.zoom),u_device_pixel_ratio:O.pixelRatio,u_units_to_pixels:[1/M.pixelsToGLUnits[0],1/M.p Line truncated
Zoom: <span></span>
`,da().s[8]++,this._textEl=this._container.querySelector("span"),da().s[9]++,this.addEventListeners(),da().s[10]++,this._container}updateZoomLevel(){da().f[1]++,da().s[11]++,this._textEl.innerHTML=this._map.getZoom().toFixed(2)}addEventListeners(){da().f[2]++,da().s[12]++,this._map.on("render",()=>(da().f[3]++,da().s[13]++,this.updateZoomLevel())),da().s[14]++,this._map.on("zoomIn",()=>(da().f[4]++,da().s[15]++,this.updateZoomLevel())),da().s[16]++,this._map.on("zoomOut",()=>(da().f[5]++,da().s[17]++,this.updateZoomLevel()))}onRemove(){da().f[6]++,da().s[18]++,this._container.parentNode.removeChild(this._container),da().s[19]++,this._map=void 0}}function wi(){var e="/home/runner/work/maputnik/maputnik/src/libs/highlight.ts",n="a1afd3a6454022c4d7be658acdbd4aecf51f38d3",t=globalThis,r="__coverage__",i={path:"/home/runner/work/maputnik/maputnik/src/libs/highlight.ts",statementMap:{0:{start:{line:4,column:2},end:{line:8,column:3}},1:{start:{line:5,column:4},end:{line:5,column:33}},2:{start:{line:6,column:9},end:{line:8,column:3}},3:{start:{line:7,column:4},end:{line:7,column:30}},4:{start:{line:9,column:2},end:{line:13,column:3}},5:{start:{line:10,column:4},end:{line:10,column:28}},6:{start:{line:12,column:4},end:{line:12,column:23}},7:{start:{line:14,column:2},end:{line:14,column:29}},8:{start:{line:15,column:2},end:{line:15,column:11}},9:{start:{line:18,column:2},end:{line:19,column:16}},10:{start:{line:19,column:4},end:{line:19,column:16}},11:{start:{line:20,column:24},end:{line:20,column:51}},12:{start:{line:21,column:16},end:{line:21,column:52}},13:{start:{line:22,column:2},end:{line:24,column:3}},14:{start:{line:23,column:4},end:{line:23,column:104}},15:{start:{line:25,column:2},end:{line:27,column:3}},16:{start:{line:26,column:4},end:{line:26,column:96}},17:{start:{line:28,column:2},end:{line:30,column:3}},18:{start:{line:29,column:4},end:{line:29,column:94}},19:{start:{line:31,column:2},end:{line:31,column:14}}},fnMap:{0:{name:"changeLayer",decl:{start:{line:3,column:9},end:{line:3,column:20}},loc:{start:{line:3,column:31},end:{line:16,column:1}},line:3},1:{name:"colorHighlightedLayer",decl:{start:{line:17,column:16},end:{line:17,column:37}},loc:{start:{line:17,column:45},end:{line:32,column:1}},line:17}},branchMap:{0:{loc:{start:{line:4,column:2},end:{line:8,column:3}},type:"if",locations:[{start:{line:4,column:2},end:{line:8,column:3}},{start:{line:6,column:9},end:{line:8,column:3}}],line:4},1:{loc:{start:{line:6,column:9},end:{line:8,column:3}},type:"if",locations:[{start:{line:6,column:9},end:{line:8,column:3}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:6},2:{loc:{start:{line:9,column:2},end:{line:13,column:3}},type:"if",locations:[{start:{line:9,column:2},end:{line:13,column:3}},{start:{line:11,column:9},end:{line:13,column:3}}],line:9},3:{loc:{start:{line:18,column:2},end:{line:19,column:16}},type:"if",locations:[{start:{line:18,column:2},end:{line:19,column:16}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:18},4:{loc:{start:{line:18,column:6},end:{line:18,column:70}},type:"binary-expr",locations:[{start:{line:18,column:6},end:{line:18,column:12}},{start:{line:18,column:16},end:{line:18,column:43}},{start:{line:18,column:47},end:{line:18,column:70}}],line:18},5:{loc:{start:{line:20,column:24},end:{line:20,column:51}},type:"binary-expr",locations:[{start:{line:20,column:24},end:{line:20,column:45}},{start:{line:20,column:49},end:{line:20,column:51}}],line:20},6:{loc:{start:{line:22,column:2},end:{line:24,column:3}},type:"if",locations:[{start:{line:22,column:2},end:{line:24,column:3}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:22},7:{loc:{start:{line:22,column:6},end:{line:22,column:62}},type:"binary-expr",locations:[{start:{line:22,column:6},end:{line:22,column:27}},{start:{line:22,column:31},end:{line:22,column:62}}],line:22},8:{loc:{start:{line:25,column:2},end:{line:27,column:3}},type:"if",locations:[{start:{line:25,column:2},end:{line:27,column:3}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:25},9:{loc:{start:{line:25,column:6},end:{line:25,column:56}},type:"binary-expr",locations:[{start:{line:25,column:6},end:{line:25,column:29}},{start:{line:25,column:33},end:{line:25,column:56}}],line:25},10:{loc:{start:{line:28,column:2},end:{line:30,column:3}},type:"if",locations:[{start:{line:28,column:2},end:{line:30,column:3}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:28}},s:{0:0,1:0,2:0,3:0,4:0,5:0,6:0,7:0,8:0,9:0,10:0,11:0,12:0,13:0,14:0,15:0,16:0,17:0,18:0,19:0},f:{0:0,1:0},b:{0:[0,0],1:[0,0],2:[0,0],3:[0,0],4:[0,0,0],5:[0,0],6:[0,0],7:[0,0],8:[0,0],9:[0,0],10:[0,0]},inputSourceMap:{version:3,file:null,sources:["/home/runner/work/maputnik/maputnik/src/libs/highlight.ts"],names:[],mappings:"AACA,OAAO,cAAc;AAErB,OAAO,YAAY;AAKnB,SAAS,YAAY,GAAqB,OAA2B;AACnE,MAAG,EAAE,SAAS,UAAU;AACtB,MAAE,MAAO,eAAe,IAAI;AAAA,EAC9B,WAAU,EAAE,SAAS,QAAQ;AAC3B,MAAE,MAA Line truncated
`))?($C(uE),Sg=null,lE=void 0,lp.set(P,e)):(lp.set(P,lp.get(P)+1,!0),g=!1))}g&&(clearInterval(o),o=void 0)}return function(g){var C=_z(g);if(C)for(var B=C.families,k=0,P=B.length;k<P;++k){var U=B[k],Z=C.style+`
`,da().s[8]++,this._textEl=this._container.querySelector("span"),da().s[9]++,this.addEventListeners(),da().s[10]++,this._container}updateZoomLevel(){da().f[1]++,da().s[11]++,this._textEl.innerHTML=this._map.getZoom().toFixed(2)}addEventListeners(){da().f[2]++,da().s[12]++,this._map.on("render",()=>(da().f[3]++,da().s[13]++,this.updateZoomLevel())),da().s[14]++,this._map.on("zoomIn",()=>(da().f[4]++,da().s[15]++,this.updateZoomLevel())),da().s[16]++,this._map.on("zoomOut",()=>(da().f[5]++,da().s[17]++,this.updateZoomLevel()))}onRemove(){da().f[6]++,da().s[18]++,this._container.parentNode.removeChild(this._container),da().s[19]++,this._map=void 0}}function wi(){var e="/home/runner/work/maputnik/maputnik/src/libs/highlight.ts",n="a1afd3a6454022c4d7be658acdbd4aecf51f38d3",t=globalThis,r="__coverage__",i={path:"/home/runner/work/maputnik/maputnik/src/libs/highlight.ts",statementMap:{0:{start:{line:4,column:2},end:{line:8,column:3}},1:{start:{line:5,column:4},end:{line:5,column:33}},2:{start:{line:6,column:9},end:{line:8,column:3}},3:{start:{line:7,column:4},end:{line:7,column:30}},4:{start:{line:9,column:2},end:{line:13,column:3}},5:{start:{line:10,column:4},end:{line:10,column:28}},6:{start:{line:12,column:4},end:{line:12,column:23}},7:{start:{line:14,column:2},end:{line:14,column:29}},8:{start:{line:15,column:2},end:{line:15,column:11}},9:{start:{line:18,column:2},end:{line:19,column:16}},10:{start:{line:19,column:4},end:{line:19,column:16}},11:{start:{line:20,column:24},end:{line:20,column:51}},12:{start:{line:21,column:16},end:{line:21,column:52}},13:{start:{line:22,column:2},end:{line:24,column:3}},14:{start:{line:23,column:4},end:{line:23,column:104}},15:{start:{line:25,column:2},end:{line:27,column:3}},16:{start:{line:26,column:4},end:{line:26,column:96}},17:{start:{line:28,column:2},end:{line:30,column:3}},18:{start:{line:29,column:4},end:{line:29,column:94}},19:{start:{line:31,column:2},end:{line:31,column:14}}},fnMap:{0:{name:"changeLayer",decl:{start:{line:3,column:9},end:{line:3,column:20}},loc:{start:{line:3,column:31},end:{line:16,column:1}},line:3},1:{name:"colorHighlightedLayer",decl:{start:{line:17,column:16},end:{line:17,column:37}},loc:{start:{line:17,column:45},end:{line:32,column:1}},line:17}},branchMap:{0:{loc:{start:{line:4,column:2},end:{line:8,column:3}},type:"if",locations:[{start:{line:4,column:2},end:{line:8,column:3}},{start:{line:6,column:9},end:{line:8,column:3}}],line:4},1:{loc:{start:{line:6,column:9},end:{line:8,column:3}},type:"if",locations:[{start:{line:6,column:9},end:{line:8,column:3}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:6},2:{loc:{start:{line:9,column:2},end:{line:13,column:3}},type:"if",locations:[{start:{line:9,column:2},end:{line:13,column:3}},{start:{line:11,column:9},end:{line:13,column:3}}],line:9},3:{loc:{start:{line:18,column:2},end:{line:19,column:16}},type:"if",locations:[{start:{line:18,column:2},end:{line:19,column:16}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:18},4:{loc:{start:{line:18,column:6},end:{line:18,column:70}},type:"binary-expr",locations:[{start:{line:18,column:6},end:{line:18,column:12}},{start:{line:18,column:16},end:{line:18,column:43}},{start:{line:18,column:47},end:{line:18,column:70}}],line:18},5:{loc:{start:{line:20,column:24},end:{line:20,column:51}},type:"binary-expr",locations:[{start:{line:20,column:24},end:{line:20,column:45}},{start:{line:20,column:49},end:{line:20,column:51}}],line:20},6:{loc:{start:{line:22,column:2},end:{line:24,column:3}},type:"if",locations:[{start:{line:22,column:2},end:{line:24,column:3}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:22},7:{loc:{start:{line:22,column:6},end:{line:22,column:62}},type:"binary-expr",locations:[{start:{line:22,column:6},end:{line:22,column:27}},{start:{line:22,column:31},end:{line:22,column:62}}],line:22},8:{loc:{start:{line:25,column:2},end:{line:27,column:3}},type:"if",locations:[{start:{line:25,column:2},end:{line:27,column:3}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:25},9:{loc:{start:{line:25,column:6},end:{line:25,column:56}},type:"binary-expr",locations:[{start:{line:25,column:6},end:{line:25,column:29}},{start:{line:25,column:33},end:{line:25,column:56}}],line:25},10:{loc:{start:{line:28,column:2},end:{line:30,column:3}},type:"if",locations:[{start:{line:28,column:2},end:{line:30,column:3}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:28}},s:{0:0,1:0,2:0,3:0,4:0,5:0,6:0,7:0,8:0,9:0,10:0,11:0,12:0,13:0,14:0,15:0,16:0,17:0,18:0,19:0},f:{0:0,1:0},b:{0:[0,0],1:[0,0],2:[0,0],3:[0,0],4:[0,0,0],5:[0,0],6:[0,0],7:[0,0],8:[0,0],9:[0,0],10:[0,0]},inputSourceMap:{version:3,file:null,sources:["/home/runner/work/maputnik/maputnik/src/libs/highlight.ts"],names:[],mappings:"AACA,OAAO,cAAc;AAErB,OAAO,YAAY;AAKnB,SAAS,YAAY,GAAqB,OAA2B;AACnE,MAAG,EAAE,SAAS,UAAU;AACtB,MAAE,MAAO,eAAe,IAAI;AAAA,EAC9B,WAAU,EAAE,SAAS,QAAQ;AAC3B,MAAE,MAA Line truncated
`))?($C(AE),Sg=null,uE=void 0,sp.set(P,e)):(sp.set(P,sp.get(P)+1,!0),g=!1))}g&&(clearInterval(o),o=void 0)}return function(g){var C=_z(g);if(C)for(var B=C.families,k=0,P=B.length;k<P;++k){var U=B[k],Z=C.style+`
`+C.weight+`
`+U;lp.get(Z)===void 0&&(lp.set(Z,e,!0),a(C.style,C.weight,U)||(lp.set(Z,0,!0),o===void 0&&(o=setInterval(h,32))))}}}(),kie=function(){var e;return function(n){var t=uE[n];if(t==null){if(u5){var r=_z(n),i=xz(n,"Žg"),o=isNaN(Number(r.lineHeight))?1.2:Number(r.lineHeight);t=o*(i.actualBoundingBoxAscent+i.actualBoundingBoxDescent)}else e||(e=document.createElement("div"),e.innerHTML="M",e.style.minHeight="0",e.style.maxHeight="none",e.style.height="auto",e.style.padding="0",e.style.border="none",e.style.position="absolute",e.style.display="block",e.style.left="-99999px"),e.style.font=n,document.body.appendChild(e),t=e.offsetHeight,document.body.removeChild(e);uE[n]=t}return t}}();function xz(e,n){return Sg||(Sg=ec(1,1)),e!=lE&&(Sg.font=e,lE=Sg.font),Sg.measureText(n)}function F3(e,n){return xz(e,n).width}function W9(e,n,t){if(n in t)return t[n];var r=n.split(`
`).reduce(function(i,o){return Math.max(i,F3(e,o))},0);return t[n]=r,r}function Iie(e,n){for(var t=[],r=[],i=[],o=0,s=0,a=0,h=0,g=0,C=n.length;g<=C;g+=2){var B=n[g];if(B===`
`||g===C){o=Math.max(o,s),i.push(s),s=0,a+=h;continue}var k=n[g+1]||e.font,P=F3(k,B);t.push(P),s+=P;var U=kie(k);r.push(U),h=Math.max(h,U)}return{width:o,height:a,widths:t,heights:r,lineWidths:i}}function Tie(e,n,t,r,i,o,s,a,h,g,C){e.save(),t!==1&&(e.globalAlpha*=t),n&&e.setTransform.apply(e,n),r.contextInstructions?(e.translate(h,g),e.scale(C[0],C[1]),Kie(r,e)):C[0]<0||C[1]<0?(e.translate(h,g),e.scale(C[0],C[1]),e.drawImage(r,i,o,s,a,0,0,s,a)):e.drawImage(r,i,o,s,a,h,g,s*C[0],a*C[1]),e.restore()}function Kie(e,n){for(var t=e.contextInstructions,r=0,i=t.length;r<i;r+=2)Array.isArray(t[r+1])?n[t[r]].apply(n,t[r+1]):n[t[r]]=t[r+1]}var Pie=function(){var e=function(n,t){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(n,t)};return function(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(n,t);function r(){this.constructor=n}n.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}}(),Fie=function(e){Pie(n,e);function n(t){var r=e.call(this,t)||this;r.fontChangeListenerKey_=bo(lp,By.PROPERTYCHANGE,t.redrawText.bind(t)),r.element_=document.createElement("div");var i=r.element_.style;i.position="absolute",i.width="100%",i.height="100%",i.zIndex="0",r.element_.className=y5+" ol-layers";var o=t.getViewport();return o.insertBefore(r.element_,o.firstChild||null),r.children_=[],r.renderedVisible_=!0,r}return n.prototype.dispatchRenderEvent=function(t,r){var i=this.getMap();if(i.hasListener(t)){var o=new vz(t,void 0,r);i.dispatchEvent(o)}},n.prototype.disposeInternal=function(){Ya(this.fontChangeListenerKey_),this.element_.parentNode.removeChild(this.element_),e.prototype.disposeInternal.call(this)},n.prototype.renderFrame=function(t){if(!t){this.renderedVisible_&&(this.element_.style.display="none",this.renderedVisible_=!1);return}this.calculateMatrices2D(t),this.dispatchRenderEvent(Um.PRECOMPOSE,t);var r=t.layerStatesArray.sort(function(P,U){return P.zIndex-U.zIndex}),i=t.viewState;this.children_.length=0;for(var o=[],s=null,a=0,h=r.length;a<h;++a){var g=r[a];t.layerIndex=a;var C=g.layer,B=C.getSourceState();if(!I3(g,i)||B!="ready"&&B!="undefined"){C.unrender();continue}var k=C.render(t,s);k&&(k!==s&&(this.children_.push(k),s=k),"getDeclutter"in C&&o.push(C))}for(var a=o.length-1;a>=0;--a)o[a].renderDeclutter(t);Oie(this.element_,this.children_),this.dispatchRenderEvent(Um.POSTCOMPOSE,t),this.renderedVisible_||(this.element_.style.display="",this.renderedVisible_=!0),this.scheduleExpireIconCache(t)},n.prototype.forEachLayerAtPixel=function(t,r,i,o,s){for(var a=r.viewState,h=r.layerStatesArray,g=h.length,C=g-1;C>=0;--C){var B=h[C],k=B.layer;if(k.hasRenderer()&&I3(B,a)&&s(k)){var P=k.getRenderer(),U=P.getDataAtPixel(t,r,i);if(U){var Z=o(k,U);if(Z)return Z}}}},n}(bie);const Die=Fie,VA={ADD:"add",REMOVE:"remove"};var wz=function(){var e=function(n,t){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(n,t)};return function(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(n,t);function r(){this.constructor=n}n.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}}(),N9={LENGTH:"length"},Bx=function(e){wz(n,e);function n(t,r,i){var o=e.call(this,t)||this;return o.element=r,o.index=i,o}return n}(Ip),yd=function(e){wz(n,e);function n(t,r){var i=e.call(this)||this;i.on,i.once,i.un;var o=r||{};if(i.unique_=!!o.unique,i.array_=t||[],i.unique_)for(var s=0,a=i.array_.length;s<a;++s)i.assertUnique_(i.array_[s],s);return i.updateLength_(),i}return n.prototype.clear=function(){for(;this.getLength()>0;)this.pop()},n.prototype.extend=function(t){for(var r=0,i=t.length;r<i;++r)this.push(t[r]);return this},n.prototype.forEach=function(t){for(var r=this.array_,i=0,o=r.length;i<o;++i)t(r[i],i,r)},n.prototype.getArray=function(){return this.array_},n.prototype.item=function(t){return this.array_[t]},n.prototype.getLength=function(){return this.get(N9.LENGTH)},n.prototype.insertAt=function(t,r){this.unique_&&this.assertUnique_(r),this.array_.splice(t,0,r),this.updateLength_(),this.dispatchEvent(new Bx(VA.ADD,r,t))},n.prototype.pop=function(){return this.removeAt(this.getLength()-1)},n.prototype.push=function(t){this.unique_&&this.assertUnique_(t);var r=this.getLength();return this.insertAt(r,t),this.getLength()},n.prototype.remove=function(t){for(var r=this.array_,i=0,o=r.length;i<o;++i)if(r[i]===t)return this.removeAt(i)},n.prototype.removeAt=function(t){var r=this.array_[t];return this.array_.splice(t,1),this.updateLength_(),this.dispatchEvent(new Bx(VA.REMOVE,r,t)),r},n.prototype.setAt=function(t,r){var i=this.getLength();if(t<i){this.unique_&&this.assertUnique_(r,t);var o=this.array_[t];this.array_[ Line truncated
`,""),e.push(n,""),e}var Xae=function(){function e(n,t,r,i){this.overlaps=r,this.pixelRatio=t,this.resolution=n,this.alignFill_,this.instructions=i.instructions,this.coordinates=i.coordinates,this.coordinateCache_={},this.renderedTransform_=_d(),this.hitDetectionInstructions=i.hitDetectionInstructions,this.pixelCoordinates_=null,this.viewRotation_=0,this.fillStates=i.fillStates||{},this.strokeStates=i.strokeStates||{},this.textStates=i.textStates||{},this.widths_={},this.labels_={}}return e.prototype.createLabel=function(n,t,r,i){var o=n+t+r+i;if(this.labels_[o])return this.labels_[o];var s=i?this.strokeStates[i]:null,a=r?this.fillStates[r]:null,h=this.textStates[t],g=this.pixelRatio,C=[h.scale[0]*g,h.scale[1]*g],B=Array.isArray(n),k=h.justify?T_[h.justify]:nT(Array.isArray(n)?n[0]:n,h.textAlign||yC),P=i&&s.lineWidth?s.lineWidth:0,U=B?n:n.split(`
`).reduce(Zae,[]),Z=Iie(h,U),W=Z.width,Q=Z.height,q=Z.widths,oe=Z.heights,re=Z.lineWidths,Ae=W+P,ae=[],se=(Ae+2)*C[0],ye=(Q+P)*C[1],De={width:se<0?Math.floor(se):Math.ceil(se),height:ye<0?Math.floor(ye):Math.ceil(ye),contextInstructions:ae};if((C[0]!=1||C[1]!=1)&&ae.push("scale",C),i){ae.push("strokeStyle",s.strokeStyle),ae.push("lineWidth",P),ae.push("lineCap",s.lineCap),ae.push("lineJoin",s.lineJoin),ae.push("miterLimit",s.miterLimit);var Ne=u5?OffscreenCanvasRenderingContext2D:CanvasRenderingContext2D;Ne.prototype.setLineDash&&(ae.push("setLineDash",[s.lineDash]),ae.push("lineDashOffset",s.lineDashOffset))}r&&ae.push("fillStyle",a.fillStyle),ae.push("textBaseline","middle"),ae.push("textAlign","center");for(var et=.5-k,ft=k*Ae+et*P,Ke=[],rt=[],_e=0,Ut=0,jt=0,nn=0,Qt,He=0,Je=U.length;He<Je;He+=2){var tt=U[He];if(tt===`
`){Ut+=_e,_e=0,ft=k*Ae+et*P,++nn;continue}var on=U[He+1]||h.font;on!==Qt&&(i&&Ke.push("font",on),r&&rt.push("font",on),Qt=on),_e=Math.max(_e,oe[jt]);var mt=[tt,ft+et*q[jt]+k*(q[jt]-re[nn]),.5*(P+_e)+Ut];ft+=q[jt],i&&Ke.push("strokeText",mt),r&&rt.push("fillText",mt),++jt}return Array.prototype.push.apply(ae,Ke),Array.prototype.push.apply(ae,rt),this.labels_[o]=De,De},e.prototype.replayTextBackground_=function(n,t,r,i,o,s,a){n.beginPath(),n.moveTo.apply(n,t),n.lineTo.apply(n,r),n.lineTo.apply(n,i),n.lineTo.apply(n,o),n.lineTo.apply(n,t),s&&(this.alignFill_=s[2],this.fill_(n)),a&&(this.setStrokeStyle_(n,a),n.stroke())},e.prototype.calculateImageOrLabelDimensions_=function(n,t,r,i,o,s,a,h,g,C,B,k,P,U,Z,W){a*=k[0],h*=k[1];var Q=r-a,q=i-h,oe=o+g>n?n-g:o,re=s+C>t?t-C:s,Ae=U[3]+oe*k[0]+U[1],ae=U[0]+re*k[1]+U[2],se=Q-U[3],ye=q-U[0];(Z||B!==0)&&(em[0]=se,tm[0]=se,em[1]=ye,tp[1]=ye,tp[0]=se+Ae,np[0]=tp[0],np[1]=ye+ae,tm[1]=np[1]);var De;return B!==0?(De=bf(_d(),r,i,1,1,B,-r,-i),Al(De,em),Al(De,tp),Al(De,np),Al(De,tm),xf(Math.min(em[0],tp[0],np[0],tm[0]),Math.min(em[1],tp[1],np[1],tm[1]),Math.max(em[0],tp[0],np[0],tm[0]),Math.max(em[1],tp[1],np[1],tm[1]),hg)):xf(Math.min(se,se+Ae),Math.min(ye,ye+ae),Math.max(se,se+Ae),Math.max(ye,ye+ae),hg),P&&(Q=Math.round(Q),q=Math.round(q)),{drawImageX:Q,drawImageY:q,drawImageW:oe,drawImageH:re,originX:g,originY:C,declutterBox:{minX:hg[0],minY:hg[1],maxX:hg[2],maxY:hg[3],value:W},canvasTransform:De,scale:k}},e.prototype.replayImageOrLabel_=function(n,t,r,i,o,s,a){var h=!!(s||a),g=i.declutterBox,C=n.canvas,B=a?a[2]*i.scale[0]/2:0,k=g.minX-B<=C.width/t&&g.maxX+B>=0&&g.minY-B<=C.height/t&&g.maxY+B>=0;return k&&(h&&this.replayTextBackground_(n,em,tp,np,tm,s,a),Tie(n,i.canvasTransform,o,r,i.originX,i.originY,i.drawImageW,i.drawImageH,i.drawImageX,i.drawImageY,i.scale)),!0},e.prototype.fill_=function(n){if(this.alignFill_){var t=Al(this.renderedTransform_,[0,0]),r=512*this.pixelRatio;n.save(),n.translate(t[0]%r,t[1]%r),n.rotate(this.viewRotation_)}n.fill(),this.alignFill_&&n.restore()},e.prototype.setStrokeStyle_=function(n,t){n.strokeStyle=t[1],n.lineWidth=t[2],n.lineCap=t[3],n.lineJoin=t[4],n.miterLimit=t[5],n.setLineDash&&(n.lineDashOffset=t[7],n.setLineDash(t[6]))},e.prototype.drawLabelWithPointPlacement_=function(n,t,r,i){var o=this.textStates[t],s=this.createLabel(n,t,i,r),a=this.strokeStates[r],h=this.pixelRatio,g=nT(Array.isArray(n)?n[0]:n,o.textAlign||yC),C=T_[o.textBaseline||P3],B=a&&a.lineWidth?a.lineWidth:0,k=s.width/h-2*o.scale[0],P=g*k+2*(.5-g)*B,U=C*s.height/h+2*(.5-C)*B;return{label:s,anchorX:P,anchorY:U}},e.prototype.execute_=function(n,t,r,i,o,s,a,h){var g;this.pixelCoordinates_&&b1(r,this.renderedTransform_)?g=this.pixelCoordinates_:(this.pixelCoordinates_||(this.pixelCoordinates_=[]),g=Lm(this.coordinates,0,this.coordinates.length,2,r,this.pixelCoordinates_),Vte(this.renderedTransform_,r));for(var C=0,B=i.length,k=0,P,U,Z,W,Q,q,oe,re,Ae,ae,se,ye,De=0,Ne=0,et=null,ft=null,Ke=this.coordinateCache_,rt=this.viewRotation_,_e=Math.round(Math.atan2(-r[1],r[0])*1e12)/1e12,Ut={context:n,pixelRatio:this.pixelRatio,resolution:this.resolution,rotation:rt},jt=this.instructions!=i||this.overlaps?0:200,nn,Qt,He,Je;C<B;){var tt=i[C],on=tt[0];switch(on){case ri.BEGIN_GEOMETRY:nn=tt[1],Je=tt[3],nn.getGeometry()?a!==void 0&&!cl(a,Je.getExtent())?C=tt[2]+1:++C:C=tt[2];break;case ri.BEGIN_PATH:De>jt&&(this.fill_(n),De=0),Ne>jt&&(n.stroke(),Ne=0),!De&&!Ne&&(n.beginPath(),W=NaN,Q=NaN),++C;break;case ri.CIRCLE:k=tt[1];var mt=g[k],dt=g[k+1],kt=g[k+2],Pt=g[k+3],Me=kt-mt,he=Pt-dt,be=Math.sqrt(Me*Me+he*he);n.moveTo(mt+be,dt),n.arc(mt,dt,be,0,2*Math.PI,!0),++C;break;case ri.CLOSE_PATH:n.closePath(),++C;break;case ri.CUSTOM:k=tt[1],P=tt[2];var Pe=tt[3],Ze=tt[4],nt=tt.length==6?tt[5]:void 0;Ut.geometry=Pe,Ut.feature=nn,C in Ke||(Ke[C]=[]);var xt=Ke[C];nt?nt(g,k,P,2,xt):(xt[0]=g[k],xt[1]=g[k+1],xt.length=2),Ze(xt,Ut),++C;break;case ri.DRAW_IMAGE:k=tt[1],P=tt[2],re=tt[3],U=tt[4],Z=tt[5];var Ft=tt[6],Dt=tt[7],pt=tt[8],nr=tt[9],pn=tt[10],bn=tt[11],Jn=tt[12],mr=tt[13],xr=tt[14],Nr=tt[15];if(!re&&tt.length>=20){Ae=tt[19],ae=tt[20],se=tt[21],ye=tt[22];var _r=this.drawLabelWithPointPlacement_(Ae,ae,se,ye);re=_r.label,tt[3]=re;var fi=tt[23];U=(_r.anchorX-fi)*this.pixelRatio,tt[4]=U;var we=tt[24];Z=(_r.anchorY-we)*this.pixelRatio,tt[5]=Z,Ft=re.height,tt[6]=Ft,mr=re.width,tt[13]=mr}var H=void 0;tt.length>25&&(H=tt[25]);var Y=void 0,Be=void 0,st=void 0;tt.length>17?(Y=tt[16],Be=tt[17],st=tt[18]):(Y=G0,Be=!1,st=!1),pn&&_e?bn+=rt:!pn&&!_e&&(bn-=rt);for(var St=0;k<P;k+=2)if(!(H&&H[St++]<mr/this.pixelRatio)){var Et=this.calculateImageOrLabelDimensions_(re.width,re.height,g[k],g[k+1],mr,Ft,U,Z,pt,nr,bn,Jn,o,Y,Be||st,nn),Nt=[n,t,re,Et,Dt,Be?et:null,st?ft:null];if(h){if(xr==="none")continue;if(xr==="obstacle"){h.insert(Et.declutterBox);continue}else{var mn=void 0,Kn=void 0;if(Nr){var En=P-k;if(!Nr[En]){Nr[En]=Nt;continue}if(mn=Nr[En],delete Nr[En],Kn=tT(mn),h.collides(Kn))continue}if(h.collides(Et.declutterBox))cont Line truncated
`);this.generateTileUrlFunction_?this.setTileUrlFunction(Aj(t,this.tileGrid),r):this.setKey(r)},n.prototype.tileUrlFunction=function(t,r,i){},n.prototype.useTile=function(t,r,i){var o=qy(t,r,i);this.tileCache.containsKey(o)&&this.tileCache.get(o)},n}(dle);const cj=gle;var yle=function(){var e=function(n,t){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(n,t)};return function(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(n,t);function r(){this.constructor=n}n.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}}(),vle=function(e){yle(n,e);function n(t){var r=this,i=t.imageSmoothing!==void 0?t.imageSmoothing:!0;return t.interpolate!==void 0&&(i=t.interpolate),r=e.call(this,{attributions:t.attributions,cacheSize:t.cacheSize,opaque:t.opaque,projection:t.projection,state:t.state,tileGrid:t.tileGrid,tileLoadFunction:t.tileLoadFunction?t.tileLoadFunction:_le,tilePixelRatio:t.tilePixelRatio,tileUrlFunction:t.tileUrlFunction,url:t.url,urls:t.urls,wrapX:t.wrapX,transition:t.transition,interpolate:i,key:t.key,attributionsCollapsible:t.attributionsCollapsible,zDirection:t.zDirection})||this,r.crossOrigin=t.crossOrigin!==void 0?t.crossOrigin:null,r.tileClass=t.tileClass!==void 0?t.tileClass:ij,r.tileCacheForProjection={},r.tileGridForProjection={},r.reprojectionErrorThreshold_=t.reprojectionErrorThreshold,r.renderReprojectionEdges_=!1,r}return n.prototype.canExpireCache=function(){if(this.tileCache.canExpireCache())return!0;for(var t in this.tileCacheForProjection)if(this.tileCacheForProjection[t].canExpireCache())return!0;return!1},n.prototype.expireCache=function(t,r){var i=this.getTileCacheForProjection(t);this.tileCache.expireCache(this.tileCache==i?r:{});for(var o in this.tileCacheForProjection){var s=this.tileCacheForProjection[o];s.expireCache(s==i?r:{})}},n.prototype.getGutterForProjection=function(t){return this.getProjection()&&t&&!T0(this.getProjection(),t)?0:this.getGutter()},n.prototype.getGutter=function(){return 0},n.prototype.getKey=function(){var t=e.prototype.getKey.call(this);return this.getInterpolate()||(t+=":disable-interpolation"),t},n.prototype.getOpaque=function(t){return this.getProjection()&&t&&!T0(this.getProjection(),t)?!1:e.prototype.getOpaque.call(this,t)},n.prototype.getTileGridForProjection=function(t){var r=this.getProjection();if(this.tileGrid&&(!r||T0(r,t)))return this.tileGrid;var i=Ni(t);return i in this.tileGridForProjection||(this.tileGridForProjection[i]=sj(t)),this.tileGridForProjection[i]},n.prototype.getTileCacheForProjection=function(t){var r=this.getProjection();if(!r||T0(r,t))return this.tileCache;var i=Ni(t);return i in this.tileCacheForProjection||(this.tileCacheForProjection[i]=new E7(this.tileCache.highWaterMark)),this.tileCacheForProjection[i]},n.prototype.createTile_=function(t,r,i,o,s,a){var h=[t,r,i],g=this.getTileCoordForTileUrlFunction(h,s),C=g?this.tileUrlFunction(g,o,s):void 0,B=new this.tileClass(h,C!==void 0?pr.IDLE:pr.EMPTY,C!==void 0?C:"",this.crossOrigin,this.tileLoadFunction,this.tileOptions);return B.key=a,B.addEventListener(Bi.CHANGE,this.handleTileChange.bind(this)),B},n.prototype.getTile=function(t,r,i,o,s){var a=this.getProjection();if(!a||!s||T0(a,s))return this.getTileInternal(t,r,i,o,a||s);var h=this.getTileCacheForProjection(s),g=[t,r,i],C=void 0,B=nj(g);h.containsKey(B)&&(C=h.get(B));var k=this.getKey();if(C&&C.key==k)return C;var P=this.getTileGridForProjection(a),U=this.getTileGridForProjection(s),Z=this.getTileCoordForTileUrlFunction(g,s),W=new aj(a,P,s,U,g,Z,this.getTilePixelRatio(o),this.getGutter(),(function(Q,q,oe,re){return this.getTileInternal(Q,q,oe,re,a)}).bind(this),this.reprojectionErrorThreshold_,this.renderReprojectionEdges_,this.getInterpolate());return W.key=k,C?(W.interimTile=C,W.refreshInterimChain(),h.replace(B,W)):h.set(B,W),W},n.prototype.getTileInternal=function(t,r,i,o,s){var a=null,h=qy(t,r,i),g=this.getKey();if(!this.tileCache.containsKey(h))a=this.createTile_(t,r,i,o,s,g),this.tileCache.set(h,a);else if(a=this.tileCache.get(h),a.key!=g){var C=a;a=this.createTile_(t,r,i,o,s,g),C.getState()==pr.IDLE?a.interimTile=C.interimTile:a.interimTile=C,a.refreshInterimChain(),this.tileCache.replace(h,a)}return a},n.prototype.setRenderReprojectionEdges=function(t){if(this.renderReprojectionEdges_!=t){this.renderReprojectionEdges_=t;for(var r in this.tileCacheForProjection)this.tileCacheForProjection[r].clear();this.changed()}},n.prototype.setTileGridForProjection=function(t,r){{var i=Ws(t);if(i){var o=Ni(i);o in this.tileGridForProjection||(this.tileGridForProjection[o]=r)}}},n}(cj);function _le(e,n){e.getImage().src=n}const Cle=vle;var dj=function(){var e=function(n,t){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototyp Line truncated
`+U;sp.get(Z)===void 0&&(sp.set(Z,e,!0),a(C.style,C.weight,U)||(sp.set(Z,0,!0),o===void 0&&(o=setInterval(h,32))))}}}(),Oie=function(){var e;return function(n){var t=AE[n];if(t==null){if(u5){var r=_z(n),i=xz(n,"Žg"),o=isNaN(Number(r.lineHeight))?1.2:Number(r.lineHeight);t=o*(i.actualBoundingBoxAscent+i.actualBoundingBoxDescent)}else e||(e=document.createElement("div"),e.innerHTML="M",e.style.minHeight="0",e.style.maxHeight="none",e.style.height="auto",e.style.padding="0",e.style.border="none",e.style.position="absolute",e.style.display="block",e.style.left="-99999px"),e.style.font=n,document.body.appendChild(e),t=e.offsetHeight,document.body.removeChild(e);AE[n]=t}return t}}();function xz(e,n){return Sg||(Sg=ec(1,1)),e!=uE&&(Sg.font=e,uE=Sg.font),Sg.measureText(n)}function P3(e,n){return xz(e,n).width}function N9(e,n,t){if(n in t)return t[n];var r=n.split(`
`).reduce(function(i,o){return Math.max(i,P3(e,o))},0);return t[n]=r,r}function Bie(e,n){for(var t=[],r=[],i=[],o=0,s=0,a=0,h=0,g=0,C=n.length;g<=C;g+=2){var B=n[g];if(B===`
`||g===C){o=Math.max(o,s),i.push(s),s=0,a+=h;continue}var k=n[g+1]||e.font,P=P3(k,B);t.push(P),s+=P;var U=Oie(k);r.push(U),h=Math.max(h,U)}return{width:o,height:a,widths:t,heights:r,lineWidths:i}}function kie(e,n,t,r,i,o,s,a,h,g,C){e.save(),t!==1&&(e.globalAlpha*=t),n&&e.setTransform.apply(e,n),r.contextInstructions?(e.translate(h,g),e.scale(C[0],C[1]),Iie(r,e)):C[0]<0||C[1]<0?(e.translate(h,g),e.scale(C[0],C[1]),e.drawImage(r,i,o,s,a,0,0,s,a)):e.drawImage(r,i,o,s,a,h,g,s*C[0],a*C[1]),e.restore()}function Iie(e,n){for(var t=e.contextInstructions,r=0,i=t.length;r<i;r+=2)Array.isArray(t[r+1])?n[t[r]].apply(n,t[r+1]):n[t[r]]=t[r+1]}var Tie=function(){var e=function(n,t){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(n,t)};return function(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(n,t);function r(){this.constructor=n}n.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}}(),Kie=function(e){Tie(n,e);function n(t){var r=e.call(this,t)||this;r.fontChangeListenerKey_=bo(sp,By.PROPERTYCHANGE,t.redrawText.bind(t)),r.element_=document.createElement("div");var i=r.element_.style;i.position="absolute",i.width="100%",i.height="100%",i.zIndex="0",r.element_.className=y5+" ol-layers";var o=t.getViewport();return o.insertBefore(r.element_,o.firstChild||null),r.children_=[],r.renderedVisible_=!0,r}return n.prototype.dispatchRenderEvent=function(t,r){var i=this.getMap();if(i.hasListener(t)){var o=new vz(t,void 0,r);i.dispatchEvent(o)}},n.prototype.disposeInternal=function(){Ya(this.fontChangeListenerKey_),this.element_.parentNode.removeChild(this.element_),e.prototype.disposeInternal.call(this)},n.prototype.renderFrame=function(t){if(!t){this.renderedVisible_&&(this.element_.style.display="none",this.renderedVisible_=!1);return}this.calculateMatrices2D(t),this.dispatchRenderEvent(Um.PRECOMPOSE,t);var r=t.layerStatesArray.sort(function(P,U){return P.zIndex-U.zIndex}),i=t.viewState;this.children_.length=0;for(var o=[],s=null,a=0,h=r.length;a<h;++a){var g=r[a];t.layerIndex=a;var C=g.layer,B=C.getSourceState();if(!k3(g,i)||B!="ready"&&B!="undefined"){C.unrender();continue}var k=C.render(t,s);k&&(k!==s&&(this.children_.push(k),s=k),"getDeclutter"in C&&o.push(C))}for(var a=o.length-1;a>=0;--a)o[a].renderDeclutter(t);Sie(this.element_,this.children_),this.dispatchRenderEvent(Um.POSTCOMPOSE,t),this.renderedVisible_||(this.element_.style.display="",this.renderedVisible_=!0),this.scheduleExpireIconCache(t)},n.prototype.forEachLayerAtPixel=function(t,r,i,o,s){for(var a=r.viewState,h=r.layerStatesArray,g=h.length,C=g-1;C>=0;--C){var B=h[C],k=B.layer;if(k.hasRenderer()&&k3(B,a)&&s(k)){var P=k.getRenderer(),U=P.getDataAtPixel(t,r,i);if(U){var Z=o(k,U);if(Z)return Z}}}},n}(_ie);const Pie=Kie,VA={ADD:"add",REMOVE:"remove"};var wz=function(){var e=function(n,t){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(n,t)};return function(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(n,t);function r(){this.constructor=n}n.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}}(),G9={LENGTH:"length"},Bx=function(e){wz(n,e);function n(t,r,i){var o=e.call(this,t)||this;return o.element=r,o.index=i,o}return n}(kp),yd=function(e){wz(n,e);function n(t,r){var i=e.call(this)||this;i.on,i.once,i.un;var o=r||{};if(i.unique_=!!o.unique,i.array_=t||[],i.unique_)for(var s=0,a=i.array_.length;s<a;++s)i.assertUnique_(i.array_[s],s);return i.updateLength_(),i}return n.prototype.clear=function(){for(;this.getLength()>0;)this.pop()},n.prototype.extend=function(t){for(var r=0,i=t.length;r<i;++r)this.push(t[r]);return this},n.prototype.forEach=function(t){for(var r=this.array_,i=0,o=r.length;i<o;++i)t(r[i],i,r)},n.prototype.getArray=function(){return this.array_},n.prototype.item=function(t){return this.array_[t]},n.prototype.getLength=function(){return this.get(G9.LENGTH)},n.prototype.insertAt=function(t,r){this.unique_&&this.assertUnique_(r),this.array_.splice(t,0,r),this.updateLength_(),this.dispatchEvent(new Bx(VA.ADD,r,t))},n.prototype.pop=function(){return this.removeAt(this.getLength()-1)},n.prototype.push=function(t){this.unique_&&this.assertUnique_(t);var r=this.getLength();return this.insertAt(r,t),this.getLength()},n.prototype.remove=function(t){for(var r=this.array_,i=0,o=r.length;i<o;++i)if(r[i]===t)return this.removeAt(i)},n.prototype.removeAt=function(t){var r=this.array_[t];return this.array_.splice(t,1),this.updateLength_(),this.dispatchEvent(new Bx(VA.REMOVE,r,t)),r},n.prototype.setAt=function(t,r){var i=this.getLength();if(t<i){this.unique_&&this.assertUnique_(r,t);var o=this.array_[t];this.array_[ Line truncated
`,""),e.push(n,""),e}var Hae=function(){function e(n,t,r,i){this.overlaps=r,this.pixelRatio=t,this.resolution=n,this.alignFill_,this.instructions=i.instructions,this.coordinates=i.coordinates,this.coordinateCache_={},this.renderedTransform_=_d(),this.hitDetectionInstructions=i.hitDetectionInstructions,this.pixelCoordinates_=null,this.viewRotation_=0,this.fillStates=i.fillStates||{},this.strokeStates=i.strokeStates||{},this.textStates=i.textStates||{},this.widths_={},this.labels_={}}return e.prototype.createLabel=function(n,t,r,i){var o=n+t+r+i;if(this.labels_[o])return this.labels_[o];var s=i?this.strokeStates[i]:null,a=r?this.fillStates[r]:null,h=this.textStates[t],g=this.pixelRatio,C=[h.scale[0]*g,h.scale[1]*g],B=Array.isArray(n),k=h.justify?T_[h.justify]:rT(Array.isArray(n)?n[0]:n,h.textAlign||yC),P=i&&s.lineWidth?s.lineWidth:0,U=B?n:n.split(`
`).reduce(Vae,[]),Z=Bie(h,U),W=Z.width,Q=Z.height,q=Z.widths,oe=Z.heights,re=Z.lineWidths,Ae=W+P,ae=[],se=(Ae+2)*C[0],ye=(Q+P)*C[1],De={width:se<0?Math.floor(se):Math.ceil(se),height:ye<0?Math.floor(ye):Math.ceil(ye),contextInstructions:ae};if((C[0]!=1||C[1]!=1)&&ae.push("scale",C),i){ae.push("strokeStyle",s.strokeStyle),ae.push("lineWidth",P),ae.push("lineCap",s.lineCap),ae.push("lineJoin",s.lineJoin),ae.push("miterLimit",s.miterLimit);var Ne=u5?OffscreenCanvasRenderingContext2D:CanvasRenderingContext2D;Ne.prototype.setLineDash&&(ae.push("setLineDash",[s.lineDash]),ae.push("lineDashOffset",s.lineDashOffset))}r&&ae.push("fillStyle",a.fillStyle),ae.push("textBaseline","middle"),ae.push("textAlign","center");for(var et=.5-k,ft=k*Ae+et*P,Ke=[],rt=[],_e=0,Ut=0,jt=0,nn=0,Qt,He=0,Je=U.length;He<Je;He+=2){var tt=U[He];if(tt===`
`){Ut+=_e,_e=0,ft=k*Ae+et*P,++nn;continue}var on=U[He+1]||h.font;on!==Qt&&(i&&Ke.push("font",on),r&&rt.push("font",on),Qt=on),_e=Math.max(_e,oe[jt]);var mt=[tt,ft+et*q[jt]+k*(q[jt]-re[nn]),.5*(P+_e)+Ut];ft+=q[jt],i&&Ke.push("strokeText",mt),r&&rt.push("fillText",mt),++jt}return Array.prototype.push.apply(ae,Ke),Array.prototype.push.apply(ae,rt),this.labels_[o]=De,De},e.prototype.replayTextBackground_=function(n,t,r,i,o,s,a){n.beginPath(),n.moveTo.apply(n,t),n.lineTo.apply(n,r),n.lineTo.apply(n,i),n.lineTo.apply(n,o),n.lineTo.apply(n,t),s&&(this.alignFill_=s[2],this.fill_(n)),a&&(this.setStrokeStyle_(n,a),n.stroke())},e.prototype.calculateImageOrLabelDimensions_=function(n,t,r,i,o,s,a,h,g,C,B,k,P,U,Z,W){a*=k[0],h*=k[1];var Q=r-a,q=i-h,oe=o+g>n?n-g:o,re=s+C>t?t-C:s,Ae=U[3]+oe*k[0]+U[1],ae=U[0]+re*k[1]+U[2],se=Q-U[3],ye=q-U[0];(Z||B!==0)&&(Jp[0]=se,em[0]=se,Jp[1]=ye,ep[1]=ye,ep[0]=se+Ae,tp[0]=ep[0],tp[1]=ye+ae,em[1]=tp[1]);var De;return B!==0?(De=_f(_d(),r,i,1,1,B,-r,-i),Al(De,Jp),Al(De,ep),Al(De,tp),Al(De,em),Cf(Math.min(Jp[0],ep[0],tp[0],em[0]),Math.min(Jp[1],ep[1],tp[1],em[1]),Math.max(Jp[0],ep[0],tp[0],em[0]),Math.max(Jp[1],ep[1],tp[1],em[1]),hg)):Cf(Math.min(se,se+Ae),Math.min(ye,ye+ae),Math.max(se,se+Ae),Math.max(ye,ye+ae),hg),P&&(Q=Math.round(Q),q=Math.round(q)),{drawImageX:Q,drawImageY:q,drawImageW:oe,drawImageH:re,originX:g,originY:C,declutterBox:{minX:hg[0],minY:hg[1],maxX:hg[2],maxY:hg[3],value:W},canvasTransform:De,scale:k}},e.prototype.replayImageOrLabel_=function(n,t,r,i,o,s,a){var h=!!(s||a),g=i.declutterBox,C=n.canvas,B=a?a[2]*i.scale[0]/2:0,k=g.minX-B<=C.width/t&&g.maxX+B>=0&&g.minY-B<=C.height/t&&g.maxY+B>=0;return k&&(h&&this.replayTextBackground_(n,Jp,ep,tp,em,s,a),kie(n,i.canvasTransform,o,r,i.originX,i.originY,i.drawImageW,i.drawImageH,i.drawImageX,i.drawImageY,i.scale)),!0},e.prototype.fill_=function(n){if(this.alignFill_){var t=Al(this.renderedTransform_,[0,0]),r=512*this.pixelRatio;n.save(),n.translate(t[0]%r,t[1]%r),n.rotate(this.viewRotation_)}n.fill(),this.alignFill_&&n.restore()},e.prototype.setStrokeStyle_=function(n,t){n.strokeStyle=t[1],n.lineWidth=t[2],n.lineCap=t[3],n.lineJoin=t[4],n.miterLimit=t[5],n.setLineDash&&(n.lineDashOffset=t[7],n.setLineDash(t[6]))},e.prototype.drawLabelWithPointPlacement_=function(n,t,r,i){var o=this.textStates[t],s=this.createLabel(n,t,i,r),a=this.strokeStates[r],h=this.pixelRatio,g=rT(Array.isArray(n)?n[0]:n,o.textAlign||yC),C=T_[o.textBaseline||K3],B=a&&a.lineWidth?a.lineWidth:0,k=s.width/h-2*o.scale[0],P=g*k+2*(.5-g)*B,U=C*s.height/h+2*(.5-C)*B;return{label:s,anchorX:P,anchorY:U}},e.prototype.execute_=function(n,t,r,i,o,s,a,h){var g;this.pixelCoordinates_&&b1(r,this.renderedTransform_)?g=this.pixelCoordinates_:(this.pixelCoordinates_||(this.pixelCoordinates_=[]),g=Lm(this.coordinates,0,this.coordinates.length,2,r,this.pixelCoordinates_),Yte(this.renderedTransform_,r));for(var C=0,B=i.length,k=0,P,U,Z,W,Q,q,oe,re,Ae,ae,se,ye,De=0,Ne=0,et=null,ft=null,Ke=this.coordinateCache_,rt=this.viewRotation_,_e=Math.round(Math.atan2(-r[1],r[0])*1e12)/1e12,Ut={context:n,pixelRatio:this.pixelRatio,resolution:this.resolution,rotation:rt},jt=this.instructions!=i||this.overlaps?0:200,nn,Qt,He,Je;C<B;){var tt=i[C],on=tt[0];switch(on){case ni.BEGIN_GEOMETRY:nn=tt[1],Je=tt[3],nn.getGeometry()?a!==void 0&&!cl(a,Je.getExtent())?C=tt[2]+1:++C:C=tt[2];break;case ni.BEGIN_PATH:De>jt&&(this.fill_(n),De=0),Ne>jt&&(n.stroke(),Ne=0),!De&&!Ne&&(n.beginPath(),W=NaN,Q=NaN),++C;break;case ni.CIRCLE:k=tt[1];var mt=g[k],dt=g[k+1],kt=g[k+2],Pt=g[k+3],Me=kt-mt,he=Pt-dt,be=Math.sqrt(Me*Me+he*he);n.moveTo(mt+be,dt),n.arc(mt,dt,be,0,2*Math.PI,!0),++C;break;case ni.CLOSE_PATH:n.closePath(),++C;break;case ni.CUSTOM:k=tt[1],P=tt[2];var Pe=tt[3],Ze=tt[4],nt=tt.length==6?tt[5]:void 0;Ut.geometry=Pe,Ut.feature=nn,C in Ke||(Ke[C]=[]);var xt=Ke[C];nt?nt(g,k,P,2,xt):(xt[0]=g[k],xt[1]=g[k+1],xt.length=2),Ze(xt,Ut),++C;break;case ni.DRAW_IMAGE:k=tt[1],P=tt[2],re=tt[3],U=tt[4],Z=tt[5];var Ft=tt[6],Dt=tt[7],pt=tt[8],nr=tt[9],pn=tt[10],bn=tt[11],Jn=tt[12],mr=tt[13],xr=tt[14],Nr=tt[15];if(!re&&tt.length>=20){Ae=tt[19],ae=tt[20],se=tt[21],ye=tt[22];var _r=this.drawLabelWithPointPlacement_(Ae,ae,se,ye);re=_r.label,tt[3]=re;var fi=tt[23];U=(_r.anchorX-fi)*this.pixelRatio,tt[4]=U;var we=tt[24];Z=(_r.anchorY-we)*this.pixelRatio,tt[5]=Z,Ft=re.height,tt[6]=Ft,mr=re.width,tt[13]=mr}var H=void 0;tt.length>25&&(H=tt[25]);var Y=void 0,Be=void 0,st=void 0;tt.length>17?(Y=tt[16],Be=tt[17],st=tt[18]):(Y=G0,Be=!1,st=!1),pn&&_e?bn+=rt:!pn&&!_e&&(bn-=rt);for(var St=0;k<P;k+=2)if(!(H&&H[St++]<mr/this.pixelRatio)){var Et=this.calculateImageOrLabelDimensions_(re.width,re.height,g[k],g[k+1],mr,Ft,U,Z,pt,nr,bn,Jn,o,Y,Be||st,nn),Nt=[n,t,re,Et,Dt,Be?et:null,st?ft:null];if(h){if(xr==="none")continue;if(xr==="obstacle"){h.insert(Et.declutterBox);continue}else{var mn=void 0,Kn=void 0;if(Nr){var En=P-k;if(!Nr[En]){Nr[En]=Nt;continue}if(mn=Nr[En],delete Nr[En],Kn=nT(mn),h.collides(Kn))continue}if(h.collides(Et.declutterBox))cont Line truncated
`);this.generateTileUrlFunction_?this.setTileUrlFunction(Aj(t,this.tileGrid),r):this.setKey(r)},n.prototype.tileUrlFunction=function(t,r,i){},n.prototype.useTile=function(t,r,i){var o=qy(t,r,i);this.tileCache.containsKey(o)&&this.tileCache.get(o)},n}(Ale);const cj=ple;var mle=function(){var e=function(n,t){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(n,t)};return function(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(n,t);function r(){this.constructor=n}n.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}}(),gle=function(e){mle(n,e);function n(t){var r=this,i=t.imageSmoothing!==void 0?t.imageSmoothing:!0;return t.interpolate!==void 0&&(i=t.interpolate),r=e.call(this,{attributions:t.attributions,cacheSize:t.cacheSize,opaque:t.opaque,projection:t.projection,state:t.state,tileGrid:t.tileGrid,tileLoadFunction:t.tileLoadFunction?t.tileLoadFunction:yle,tilePixelRatio:t.tilePixelRatio,tileUrlFunction:t.tileUrlFunction,url:t.url,urls:t.urls,wrapX:t.wrapX,transition:t.transition,interpolate:i,key:t.key,attributionsCollapsible:t.attributionsCollapsible,zDirection:t.zDirection})||this,r.crossOrigin=t.crossOrigin!==void 0?t.crossOrigin:null,r.tileClass=t.tileClass!==void 0?t.tileClass:ij,r.tileCacheForProjection={},r.tileGridForProjection={},r.reprojectionErrorThreshold_=t.reprojectionErrorThreshold,r.renderReprojectionEdges_=!1,r}return n.prototype.canExpireCache=function(){if(this.tileCache.canExpireCache())return!0;for(var t in this.tileCacheForProjection)if(this.tileCacheForProjection[t].canExpireCache())return!0;return!1},n.prototype.expireCache=function(t,r){var i=this.getTileCacheForProjection(t);this.tileCache.expireCache(this.tileCache==i?r:{});for(var o in this.tileCacheForProjection){var s=this.tileCacheForProjection[o];s.expireCache(s==i?r:{})}},n.prototype.getGutterForProjection=function(t){return this.getProjection()&&t&&!T0(this.getProjection(),t)?0:this.getGutter()},n.prototype.getGutter=function(){return 0},n.prototype.getKey=function(){var t=e.prototype.getKey.call(this);return this.getInterpolate()||(t+=":disable-interpolation"),t},n.prototype.getOpaque=function(t){return this.getProjection()&&t&&!T0(this.getProjection(),t)?!1:e.prototype.getOpaque.call(this,t)},n.prototype.getTileGridForProjection=function(t){var r=this.getProjection();if(this.tileGrid&&(!r||T0(r,t)))return this.tileGrid;var i=Ni(t);return i in this.tileGridForProjection||(this.tileGridForProjection[i]=sj(t)),this.tileGridForProjection[i]},n.prototype.getTileCacheForProjection=function(t){var r=this.getProjection();if(!r||T0(r,t))return this.tileCache;var i=Ni(t);return i in this.tileCacheForProjection||(this.tileCacheForProjection[i]=new S7(this.tileCache.highWaterMark)),this.tileCacheForProjection[i]},n.prototype.createTile_=function(t,r,i,o,s,a){var h=[t,r,i],g=this.getTileCoordForTileUrlFunction(h,s),C=g?this.tileUrlFunction(g,o,s):void 0,B=new this.tileClass(h,C!==void 0?pr.IDLE:pr.EMPTY,C!==void 0?C:"",this.crossOrigin,this.tileLoadFunction,this.tileOptions);return B.key=a,B.addEventListener(Bi.CHANGE,this.handleTileChange.bind(this)),B},n.prototype.getTile=function(t,r,i,o,s){var a=this.getProjection();if(!a||!s||T0(a,s))return this.getTileInternal(t,r,i,o,a||s);var h=this.getTileCacheForProjection(s),g=[t,r,i],C=void 0,B=nj(g);h.containsKey(B)&&(C=h.get(B));var k=this.getKey();if(C&&C.key==k)return C;var P=this.getTileGridForProjection(a),U=this.getTileGridForProjection(s),Z=this.getTileCoordForTileUrlFunction(g,s),W=new aj(a,P,s,U,g,Z,this.getTilePixelRatio(o),this.getGutter(),(function(Q,q,oe,re){return this.getTileInternal(Q,q,oe,re,a)}).bind(this),this.reprojectionErrorThreshold_,this.renderReprojectionEdges_,this.getInterpolate());return W.key=k,C?(W.interimTile=C,W.refreshInterimChain(),h.replace(B,W)):h.set(B,W),W},n.prototype.getTileInternal=function(t,r,i,o,s){var a=null,h=qy(t,r,i),g=this.getKey();if(!this.tileCache.containsKey(h))a=this.createTile_(t,r,i,o,s,g),this.tileCache.set(h,a);else if(a=this.tileCache.get(h),a.key!=g){var C=a;a=this.createTile_(t,r,i,o,s,g),C.getState()==pr.IDLE?a.interimTile=C.interimTile:a.interimTile=C,a.refreshInterimChain(),this.tileCache.replace(h,a)}return a},n.prototype.setRenderReprojectionEdges=function(t){if(this.renderReprojectionEdges_!=t){this.renderReprojectionEdges_=t;for(var r in this.tileCacheForProjection)this.tileCacheForProjection[r].clear();this.changed()}},n.prototype.setTileGridForProjection=function(t,r){{var i=Ws(t);if(i){var o=Ni(i);o in this.tileGridForProjection||(this.tileGridForProjection[o]=r)}}},n}(cj);function yle(e,n){e.getImage().src=n}const vle=gle;var dj=function(){var e=function(n,t){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototyp Line truncated
* In categorical functions, when the feature value does not match any of the stop domain values.
* In property and zoom-and-property functions, when a feature does not contain a value for the specified property.
* In identity functions, when the feature value is not valid for the style property (for example, if the function is being used for a \`circle-color\` property but the feature property value is not a string or not a valid color).
* In interval or exponential property and zoom-and-property functions, when the feature value is not numeric.
If no default is provided, the style property's default is used in these circumstances.`}},function_stop:xue,expression:wue,expression_name:Mue,fog:Sue,light:Eue,projection:Oue,terrain:Bue,paint:kue,paint_fill:Iue,"paint_fill-extrusion":{"fill-extrusion-opacity":{type:"number",default:1,minimum:0,maximum:1,doc:"The opacity of the entire fill extrusion layer. This is rendered on a per-layer, not per-feature, basis, and data-driven styling is not available.",transition:!0,"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-color":{type:"color",default:"#000000",doc:"The base color of the extruded fill. The extrusion's surfaces will be shaded differently based on this color in combination with the root `light` settings. If this color is specified as `rgba` with an alpha component, the alpha component will be ignored; use `fill-extrusion-opacity` to set layer opacity.",transition:!0,requires:[{"!":"fill-extrusion-pattern"}],"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"},"data-driven styling":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},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",doc:"The geometry's offset. Values are [x, y] where negatives indicate left and up (on the flat plane), respectively.","sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-translate-anchor":{type:"enum",values:{map:{doc:"The fill extrusion is translated relative to the map."},viewport:{doc:"The fill extrusion is translated relative to the viewport."}},doc:"Controls the frame of reference for `fill-extrusion-translate`.",default:"map",requires:["fill-extrusion-translate"],"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-pattern":{type:"resolvedImage",transition:!1,doc:"Name of image in sprite to use for drawing images on extruded fills. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.","sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"},"data-driven styling":{js:"0.49.0",android:"6.5.0",macos:"0.11.0",ios:"4.4.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"fill-extrusion-height":{type:"number",default:0,minimum:0,units:"meters",doc:"The height with which to extrude this layer.",transition:!0,"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"},"data-driven styling":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-base":{type:"number",default:0,minimum:0,units:"meters",doc:"The height with which to extrude the base of this layer. Must be less than or equal to `fill-extrusion-height`.",transition:!0,requires:["fill-extrusion-height"],"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"},"data-driven styling":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-vertical-gradient":{type:"boolean",default:!0,doc:"Whether to apply a vertical gradient to the sides of a fill-extrusion layer. If true, sides will be shaded slightly darker farther down.",transition:!1,"sdk-support":{"basic functionality":{js:"0.50.0",android:"7.0.0",ios:"4.7.0",macos:"0.13.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-ambient-occlusion-intensity":{"property-type":"data-constant",type:"number",private:!0,default:0,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0,doc:"Controls the intensity of shading near ground and concave angles between walls. Default value 0.0 disables ambient occlusion and values around 0.3 provide the most plausible results for buildings.","sdk-support":{"basic functionality":{js:"2.10.0",android:"10.7.0",ios:"10.7.0"}}},"fill-extrusion-ambient-occlusion-radius":{"property-type":"data-constant",type:"number",private:!0,default:3,minimum:0,expression:{interpolated:!0,parameters:["zoom"]},transition:!0,doc:"Shades area near ground and concave angles between walls where the radius defines only vertical impact. Default value 3.0 corresponds to height of one floor and brings the moLine truncated
`," "],Zue=["{","}","|","\\","^","`"].concat(Hue),mE=["'"].concat(Zue),fT=["%","/","?",";","#"].concat(mE),pT=["/","?","#"],Xue=255,mT=/^[+a-z0-9A-Z_-]{0,63}$/,Jue=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,eAe={javascript:!0,"javascript:":!0},gE={javascript:!0,"javascript:":!0},uy={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},yE=_C;function tAe(e,n,t){if(e&&pp.isObject(e)&&e instanceof Ep)return e;var r=new Ep;return r.parse(e,n,t),r}Ep.prototype.parse=function(e,n,t){if(!pp.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var r=e.indexOf("?"),i=r!==-1&&r<e.indexOf("#")?"?":"#",o=e.split(i),s=/\\/g;o[0]=o[0].replace(s,"/"),e=o.join(i);var a=e;if(a=a.trim(),!t&&e.split("#").length===1){var h=Vue.exec(a);if(h)return this.path=a,this.href=a,this.pathname=h[1],h[2]?(this.search=h[2],n?this.query=yE.parse(this.search.substr(1)):this.query=this.search.substr(1)):n&&(this.search="",this.query={}),this}var g=Yue.exec(a);if(g){g=g[0];var C=g.toLowerCase();this.protocol=C,a=a.substr(g.length)}if(t||g||a.match(/^\/\/[^@\/]+@[^@\/]+/)){var B=a.substr(0,2)==="//";B&&!(g&&gE[g])&&(a=a.substr(2),this.slashes=!0)}if(!gE[g]&&(B||g&&!uy[g])){for(var k=-1,P=0;P<pT.length;P++){var U=a.indexOf(pT[P]);U!==-1&&(k===-1||U<k)&&(k=U)}var Z,W;k===-1?W=a.lastIndexOf("@"):W=a.lastIndexOf("@",k),W!==-1&&(Z=a.slice(0,W),a=a.slice(W+1),this.auth=decodeURIComponent(Z)),k=-1;for(var P=0;P<fT.length;P++){var U=a.indexOf(fT[P]);U!==-1&&(k===-1||U<k)&&(k=U)}k===-1&&(k=a.length),this.host=a.slice(0,k),a=a.slice(k),this.parseHost(),this.hostname=this.hostname||"";var Q=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!Q)for(var q=this.hostname.split(/\./),P=0,oe=q.length;P<oe;P++){var re=q[P];if(re&&!re.match(mT)){for(var Ae="",ae=0,se=re.length;ae<se;ae++)re.charCodeAt(ae)>127?Ae+="x":Ae+=re[ae];if(!Ae.match(mT)){var ye=q.slice(0,P),De=q.slice(P+1),Ne=re.match(Jue);Ne&&(ye.push(Ne[1]),De.unshift(Ne[2])),De.length&&(a="/"+De.join(".")+a),this.hostname=ye.join(".");break}}}this.hostname.length>Xue?this.hostname="":this.hostname=this.hostname.toLowerCase(),Q||(this.hostname=$ue.toASCII(this.hostname));var et=this.port?":"+this.port:"",ft=this.hostname||"";this.host=ft+et,this.href+=this.host,Q&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),a[0]!=="/"&&(a="/"+a))}if(!eAe[C])for(var P=0,oe=mE.length;P<oe;P++){var Ke=mE[P];if(a.indexOf(Ke)!==-1){var rt=encodeURIComponent(Ke);rt===Ke&&(rt=escape(Ke)),a=a.split(Ke).join(rt)}}var _e=a.indexOf("#");_e!==-1&&(this.hash=a.substr(_e),a=a.slice(0,_e));var Ut=a.indexOf("?");if(Ut!==-1?(this.search=a.substr(Ut),this.query=a.substr(Ut+1),n&&(this.query=yE.parse(this.query)),a=a.slice(0,Ut)):n&&(this.search="",this.query={}),a&&(this.pathname=a),uy[C]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var et=this.pathname||"",jt=this.search||"";this.path=et+jt}return this.href=this.format(),this};Ep.prototype.format=function(){var e=this.auth||"";e&&(e=encodeURIComponent(e),e=e.replace(/%3A/i,":"),e+="@");var n=this.protocol||"",t=this.pathname||"",r=this.hash||"",i=!1,o="";this.host?i=e+this.host:this.hostname&&(i=e+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&pp.isObject(this.query)&&Object.keys(this.query).length&&(o=yE.stringify(this.query));var s=this.search||o&&"?"+o||"";return n&&n.substr(-1)!==":"&&(n+=":"),this.slashes||(!n||uy[n])&&i!==!1?(i="//"+(i||""),t&&t.charAt(0)!=="/"&&(t="/"+t)):i||(i=""),r&&r.charAt(0)!=="#"&&(r="#"+r),s&&s.charAt(0)!=="?"&&(s="?"+s),t=t.replace(/[?#]/g,function(a){return encodeURIComponent(a)}),s=s.replace("#","%23"),n+i+t+s+r};Ep.prototype.resolve=function(e){return this.resolveObject(tAe(e,!1,!0)).format()};Ep.prototype.resolveObject=function(e){if(pp.isString(e)){var n=new Ep;n.parse(e,!1,!0),e=n}for(var t=new Ep,r=Object.keys(this),i=0;i<r.length;i++){var o=r[i];t[o]=this[o]}if(t.hash=e.hash,e.href==="")return t.href=t.format(),t;if(e.slashes&&!e.protocol){for(var s=Object.keys(e),a=0;a<s.length;a++){var h=s[a];h!=="protocol"&&(t[h]=e[h])}return uy[t.protocol]&&t.hostname&&!t.pathname&&(t.path=t.pathname="/"),t.href=t.format(),t}if(e.protocol&&e.protocol!==t.protocol){if(!uy[e.protocol]){for(var g=Object.keys(e),C=0;C<g.length;C++){var B=g[C];t[B]=e[B]}return t.href=t.format(),t}if(t.protocol=e.protocol,!e.host&&!gE[e.protocol]){for(var oe=(e.pathname||"").split("/");oe.length&&!(e.host=oe.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),oe[0]!==""&&oe.unshift(""),oe.length<2&&oe.unshift(""),t.pathname=oe.join("/")}else t.pathname=e.pathname;if(t.search=e.search,t.query=e.query,t.host=e.host||"",t.auth=e.auth,t.hostname=e.hostname||e.host,t.port=e.port,t.pathname||t.search){var k=t.pathname||"",P=t.search||"";t.path=k+P}return t.slashes=t.slashes||e.slashes,t.href=t.format(),t}var U=t.pathname&&t.pathname.charAt(0)==="/",Z=e.host||e.pathname&&e.pathnam Line truncated
If no default is provided, the style property's default is used in these circumstances.`}},function_stop:Cue,expression:bue,expression_name:xue,fog:wue,light:Mue,projection:Sue,terrain:Eue,paint:Oue,paint_fill:Bue,"paint_fill-extrusion":{"fill-extrusion-opacity":{type:"number",default:1,minimum:0,maximum:1,doc:"The opacity of the entire fill extrusion layer. This is rendered on a per-layer, not per-feature, basis, and data-driven styling is not available.",transition:!0,"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-color":{type:"color",default:"#000000",doc:"The base color of the extruded fill. The extrusion's surfaces will be shaded differently based on this color in combination with the root `light` settings. If this color is specified as `rgba` with an alpha component, the alpha component will be ignored; use `fill-extrusion-opacity` to set layer opacity.",transition:!0,requires:[{"!":"fill-extrusion-pattern"}],"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"},"data-driven styling":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},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",doc:"The geometry's offset. Values are [x, y] where negatives indicate left and up (on the flat plane), respectively.","sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-translate-anchor":{type:"enum",values:{map:{doc:"The fill extrusion is translated relative to the map."},viewport:{doc:"The fill extrusion is translated relative to the viewport."}},doc:"Controls the frame of reference for `fill-extrusion-translate`.",default:"map",requires:["fill-extrusion-translate"],"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-pattern":{type:"resolvedImage",transition:!1,doc:"Name of image in sprite to use for drawing images on extruded fills. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.","sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"},"data-driven styling":{js:"0.49.0",android:"6.5.0",macos:"0.11.0",ios:"4.4.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"fill-extrusion-height":{type:"number",default:0,minimum:0,units:"meters",doc:"The height with which to extrude this layer.",transition:!0,"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"},"data-driven styling":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-base":{type:"number",default:0,minimum:0,units:"meters",doc:"The height with which to extrude the base of this layer. Must be less than or equal to `fill-extrusion-height`.",transition:!0,requires:["fill-extrusion-height"],"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"},"data-driven styling":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-vertical-gradient":{type:"boolean",default:!0,doc:"Whether to apply a vertical gradient to the sides of a fill-extrusion layer. If true, sides will be shaded slightly darker farther down.",transition:!1,"sdk-support":{"basic functionality":{js:"0.50.0",android:"7.0.0",ios:"4.7.0",macos:"0.13.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-ambient-occlusion-intensity":{"property-type":"data-constant",type:"number",private:!0,default:0,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0,doc:"Controls the intensity of shading near ground and concave angles between walls. Default value 0.0 disables ambient occlusion and values around 0.3 provide the most plausible results for buildings.","sdk-support":{"basic functionality":{js:"2.10.0",android:"10.7.0",ios:"10.7.0"}}},"fill-extrusion-ambient-occlusion-radius":{"property-type":"data-constant",type:"number",private:!0,default:3,minimum:0,expression:{interpolated:!0,parameters:["zoom"]},transition:!0,doc:"Shades area near ground and concave angles between walls where the radius defines only vertical impact. Default value 3.0 corresponds to height of one floor and brings the moLine truncated
`," "],Vue=["{","}","|","\\","^","`"].concat(que),gE=["'"].concat(Vue),pT=["%","/","?",";","#"].concat(gE),mT=["/","?","#"],Hue=255,gT=/^[+a-z0-9A-Z_-]{0,63}$/,Zue=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Xue={javascript:!0,"javascript:":!0},yE={javascript:!0,"javascript:":!0},uy={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},vE=_C;function Jue(e,n,t){if(e&&fp.isObject(e)&&e instanceof Sp)return e;var r=new Sp;return r.parse(e,n,t),r}Sp.prototype.parse=function(e,n,t){if(!fp.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var r=e.indexOf("?"),i=r!==-1&&r<e.indexOf("#")?"?":"#",o=e.split(i),s=/\\/g;o[0]=o[0].replace(s,"/"),e=o.join(i);var a=e;if(a=a.trim(),!t&&e.split("#").length===1){var h=Yue.exec(a);if(h)return this.path=a,this.href=a,this.pathname=h[1],h[2]?(this.search=h[2],n?this.query=vE.parse(this.search.substr(1)):this.query=this.search.substr(1)):n&&(this.search="",this.query={}),this}var g=Que.exec(a);if(g){g=g[0];var C=g.toLowerCase();this.protocol=C,a=a.substr(g.length)}if(t||g||a.match(/^\/\/[^@\/]+@[^@\/]+/)){var B=a.substr(0,2)==="//";B&&!(g&&yE[g])&&(a=a.substr(2),this.slashes=!0)}if(!yE[g]&&(B||g&&!uy[g])){for(var k=-1,P=0;P<mT.length;P++){var U=a.indexOf(mT[P]);U!==-1&&(k===-1||U<k)&&(k=U)}var Z,W;k===-1?W=a.lastIndexOf("@"):W=a.lastIndexOf("@",k),W!==-1&&(Z=a.slice(0,W),a=a.slice(W+1),this.auth=decodeURIComponent(Z)),k=-1;for(var P=0;P<pT.length;P++){var U=a.indexOf(pT[P]);U!==-1&&(k===-1||U<k)&&(k=U)}k===-1&&(k=a.length),this.host=a.slice(0,k),a=a.slice(k),this.parseHost(),this.hostname=this.hostname||"";var Q=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!Q)for(var q=this.hostname.split(/\./),P=0,oe=q.length;P<oe;P++){var re=q[P];if(re&&!re.match(gT)){for(var Ae="",ae=0,se=re.length;ae<se;ae++)re.charCodeAt(ae)>127?Ae+="x":Ae+=re[ae];if(!Ae.match(gT)){var ye=q.slice(0,P),De=q.slice(P+1),Ne=re.match(Zue);Ne&&(ye.push(Ne[1]),De.unshift(Ne[2])),De.length&&(a="/"+De.join(".")+a),this.hostname=ye.join(".");break}}}this.hostname.length>Hue?this.hostname="":this.hostname=this.hostname.toLowerCase(),Q||(this.hostname=Gue.toASCII(this.hostname));var et=this.port?":"+this.port:"",ft=this.hostname||"";this.host=ft+et,this.href+=this.host,Q&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),a[0]!=="/"&&(a="/"+a))}if(!Xue[C])for(var P=0,oe=gE.length;P<oe;P++){var Ke=gE[P];if(a.indexOf(Ke)!==-1){var rt=encodeURIComponent(Ke);rt===Ke&&(rt=escape(Ke)),a=a.split(Ke).join(rt)}}var _e=a.indexOf("#");_e!==-1&&(this.hash=a.substr(_e),a=a.slice(0,_e));var Ut=a.indexOf("?");if(Ut!==-1?(this.search=a.substr(Ut),this.query=a.substr(Ut+1),n&&(this.query=vE.parse(this.query)),a=a.slice(0,Ut)):n&&(this.search="",this.query={}),a&&(this.pathname=a),uy[C]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var et=this.pathname||"",jt=this.search||"";this.path=et+jt}return this.href=this.format(),this};Sp.prototype.format=function(){var e=this.auth||"";e&&(e=encodeURIComponent(e),e=e.replace(/%3A/i,":"),e+="@");var n=this.protocol||"",t=this.pathname||"",r=this.hash||"",i=!1,o="";this.host?i=e+this.host:this.hostname&&(i=e+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&fp.isObject(this.query)&&Object.keys(this.query).length&&(o=vE.stringify(this.query));var s=this.search||o&&"?"+o||"";return n&&n.substr(-1)!==":"&&(n+=":"),this.slashes||(!n||uy[n])&&i!==!1?(i="//"+(i||""),t&&t.charAt(0)!=="/"&&(t="/"+t)):i||(i=""),r&&r.charAt(0)!=="#"&&(r="#"+r),s&&s.charAt(0)!=="?"&&(s="?"+s),t=t.replace(/[?#]/g,function(a){return encodeURIComponent(a)}),s=s.replace("#","%23"),n+i+t+s+r};Sp.prototype.resolve=function(e){return this.resolveObject(Jue(e,!1,!0)).format()};Sp.prototype.resolveObject=function(e){if(fp.isString(e)){var n=new Sp;n.parse(e,!1,!0),e=n}for(var t=new Sp,r=Object.keys(this),i=0;i<r.length;i++){var o=r[i];t[o]=this[o]}if(t.hash=e.hash,e.href==="")return t.href=t.format(),t;if(e.slashes&&!e.protocol){for(var s=Object.keys(e),a=0;a<s.length;a++){var h=s[a];h!=="protocol"&&(t[h]=e[h])}return uy[t.protocol]&&t.hostname&&!t.pathname&&(t.path=t.pathname="/"),t.href=t.format(),t}if(e.protocol&&e.protocol!==t.protocol){if(!uy[e.protocol]){for(var g=Object.keys(e),C=0;C<g.length;C++){var B=g[C];t[B]=e[B]}return t.href=t.format(),t}if(t.protocol=e.protocol,!e.host&&!yE[e.protocol]){for(var oe=(e.pathname||"").split("/");oe.length&&!(e.host=oe.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),oe[0]!==""&&oe.unshift(""),oe.length<2&&oe.unshift(""),t.pathname=oe.join("/")}else t.pathname=e.pathname;if(t.search=e.search,t.query=e.query,t.host=e.host||"",t.auth=e.auth,t.hostname=e.hostname||e.host,t.port=e.port,t.pathname||t.search){var k=t.pathname||"",P=t.search||"";t.path=k+P}return t.slashes=t.slashes||e.slashes,t.href=t.format(),t}var U=t.pathname&&t.pathname.charAt(0)==="/",Z=e.host||e.pathname&&e.pathnam Line truncated
This is most likely a bug, please report this via https://github.com/mapbox/mapbox-gl-js/issues/new?assignees=&labels=&template=Bug_report.md
and paste the contents of this message in the report.
Thank you!
Filter Expression:
${JSON.stringify(t,null,2)}
`)}const i=gj[`filter_${n}`],o=Y3(r,i);let s=null;if(o.result==="error")throw new Error(o.value.map(C=>`${C.key}: ${C.message}`).join(", "));s=(C,B,k)=>o.value.evaluate(C,B,{},k);let a=null,h=null;if(r!==t){const C=Y3(t,i);if(C.result==="error")throw new Error(C.value.map(B=>`${B.key}: ${B.message}`).join(", "));a=(B,k,P,U,Z)=>C.value.evaluate(B,k,{},P,void 0,void 0,U,Z),h=!O5(C.value.expression)}s=s;const g=Hj(r);return{filter:s,dynamicFilter:a||void 0,needGeometry:g,needFeature:!!h}}function Sce(e){if(!hy(e))return e;let n=ME(e);return Vj(n),n=qj(n),n}function qj(e){if(!Array.isArray(e))return e;const n=Bce(e);return n===!0?n:n.map(t=>qj(t))}function Vj(e){let n=!1;const t=[];if(e[0]==="case"){for(let r=1;r<e.length-1;r+=2)n=n||hy(e[r]),t.push(e[r+1]);t.push(e[e.length-1])}else if(e[0]==="match"){n=n||hy(e[1]);for(let r=2;r<e.length-1;r+=2)t.push(e[r+1]);t.push(e[e.length-1])}else if(e[0]==="step"){n=n||hy(e[1]);for(let r=1;r<e.length-1;r+=2)t.push(e[r+1])}n&&(e.length=0,e.push("any",...t));for(let r=1;r<e.length;r++)Vj(e[r])}function hy(e){if(!Array.isArray(e))return!1;if(Ece(e[0]))return!0;for(let n=1;n<e.length;n++){const t=e[n];if(hy(t))return!0}return!1}function Ece(e){return e==="pitch"||e==="distance-from-center"}const Oce=new Set(["in","==","!=",">",">=","<","<=","to-boolean"]);function Bce(e){if(Oce.has(e[0]))for(let n=1;n<e.length;n++){const t=e[n];if(hy(t))return!0}return e}function kce(e,n){return e<n?-1:e>n?1:0}function Hj(e){if(!Array.isArray(e))return!1;if(e[0]==="within")return!0;for(let n=1;n<e.length;n++)if(Hj(e[n]))return!0;return!1}function q3(e){if(!e)return!0;const n=e[0];return e.length<=1?n!=="any":n==="=="?zM(e[1],e[2],"=="):n==="!="?Dx(zM(e[1],e[2],"==")):n==="<"||n===">"||n==="<="||n===">="?zM(e[1],e[2],n):n==="any"?Ice(e.slice(1)):n==="all"?["all"].concat(e.slice(1).map(q3)):n==="none"?["all"].concat(e.slice(1).map(q3).map(Dx)):n==="in"?ET(e[1],e.slice(2)):n==="!in"?Dx(ET(e[1],e.slice(2))):n==="has"?OT(e[1]):n==="!has"?Dx(OT(e[1])):n==="within"?e:!0}function zM(e,n,t){switch(e){case"$type":return[`filter-type-${t}`,n];case"$id":return[`filter-id-${t}`,n];default:return[`filter-${t}`,e,n]}}function Ice(e){return["any"].concat(e.map(q3))}function ET(e,n){if(n.length===0)return!1;switch(e){case"$type":return["filter-type-in",["literal",n]];case"$id":return["filter-id-in",["literal",n]];default:return n.length>200&&!n.some(t=>typeof t!=typeof n[0])?["filter-in-large",e,["literal",n.sort(kce)]]:["filter-in-small",e,["literal",n]]}}function OT(e){switch(e){case"$type":return!0;case"$id":return["filter-has-id"];default:return["filter-has",e]}}function Dx(e){return["!",e]}var Tce=["type","source","source-layer","minzoom","maxzoom","filter","layout"];function Kce(e,n){const t={};for(const r in e)r!=="ref"&&(t[r]=e[r]);return Tce.forEach(r=>{r in n&&(t[r]=n[r])}),t}function Pce(e){e=e.slice();const n=Object.create(null);for(let t=0;t<e.length;t++)n[e[t].id]=e[t];for(let t=0;t<e.length;t++)"ref"in e[t]&&(e[t]=Kce(e[t],n[e[t].ref]));return e}function Fce(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Dce={};(function(e){var n=function(){var t=function(W,Q,q,oe){for(q=q||{},oe=W.length;oe--;q[W[oe]]=Q);return q},r=[1,12],i=[1,13],o=[1,9],s=[1,10],a=[1,11],h=[1,14],g=[1,15],C=[14,18,22,24],B=[18,22],k=[22,24],P={trace:function(){},yy:{},symbols_:{error:2,JSONString:3,STRING:4,JSONNumber:5,NUMBER:6,JSONNullLiteral:7,NULL:8,JSONBooleanLiteral:9,TRUE:10,FALSE:11,JSONText:12,JSONValue:13,EOF:14,JSONObject:15,JSONArray:16,"{":17,"}":18,JSONMemberList:19,JSONMember:20,":":21,",":22,"[":23,"]":24,JSONElementList:25,$accept:0,$end:1},terminals_:{2:"error",4:"STRING",6:"NUMBER",8:"NULL",10:"TRUE",11:"FALSE",14:"EOF",17:"{",18:"}",21:":",22:",",23:"[",24:"]"},productions_:[0,[3,1],[5,1],[7,1],[9,1],[9,1],[12,2],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[15,2],[15,3],[20,3],[19,1],[19,3],[16,2],[16,3],[25,1],[25,3]],performAction:function(Q,q,oe,re,Ae,ae,se){var ye=ae.length-1;switch(Ae){case 1:this.$=new String(Q.replace(/\\(\\|")/g,"$1").replace(/\\n/g,`
`)}const i=gj[`filter_${n}`],o=$3(r,i);let s=null;if(o.result==="error")throw new Error(o.value.map(C=>`${C.key}: ${C.message}`).join(", "));s=(C,B,k)=>o.value.evaluate(C,B,{},k);let a=null,h=null;if(r!==t){const C=$3(t,i);if(C.result==="error")throw new Error(C.value.map(B=>`${B.key}: ${B.message}`).join(", "));a=(B,k,P,U,Z)=>C.value.evaluate(B,k,{},P,void 0,void 0,U,Z),h=!O5(C.value.expression)}s=s;const g=Hj(r);return{filter:s,dynamicFilter:a||void 0,needGeometry:g,needFeature:!!h}}function wce(e){if(!hy(e))return e;let n=SE(e);return Vj(n),n=qj(n),n}function qj(e){if(!Array.isArray(e))return e;const n=Ece(e);return n===!0?n:n.map(t=>qj(t))}function Vj(e){let n=!1;const t=[];if(e[0]==="case"){for(let r=1;r<e.length-1;r+=2)n=n||hy(e[r]),t.push(e[r+1]);t.push(e[e.length-1])}else if(e[0]==="match"){n=n||hy(e[1]);for(let r=2;r<e.length-1;r+=2)t.push(e[r+1]);t.push(e[e.length-1])}else if(e[0]==="step"){n=n||hy(e[1]);for(let r=1;r<e.length-1;r+=2)t.push(e[r+1])}n&&(e.length=0,e.push("any",...t));for(let r=1;r<e.length;r++)Vj(e[r])}function hy(e){if(!Array.isArray(e))return!1;if(Mce(e[0]))return!0;for(let n=1;n<e.length;n++){const t=e[n];if(hy(t))return!0}return!1}function Mce(e){return e==="pitch"||e==="distance-from-center"}const Sce=new Set(["in","==","!=",">",">=","<","<=","to-boolean"]);function Ece(e){if(Sce.has(e[0]))for(let n=1;n<e.length;n++){const t=e[n];if(hy(t))return!0}return e}function Oce(e,n){return e<n?-1:e>n?1:0}function Hj(e){if(!Array.isArray(e))return!1;if(e[0]==="within")return!0;for(let n=1;n<e.length;n++)if(Hj(e[n]))return!0;return!1}function Y3(e){if(!e)return!0;const n=e[0];return e.length<=1?n!=="any":n==="=="?jM(e[1],e[2],"=="):n==="!="?Dx(jM(e[1],e[2],"==")):n==="<"||n===">"||n==="<="||n===">="?jM(e[1],e[2],n):n==="any"?Bce(e.slice(1)):n==="all"?["all"].concat(e.slice(1).map(Y3)):n==="none"?["all"].concat(e.slice(1).map(Y3).map(Dx)):n==="in"?OT(e[1],e.slice(2)):n==="!in"?Dx(OT(e[1],e.slice(2))):n==="has"?BT(e[1]):n==="!has"?Dx(BT(e[1])):n==="within"?e:!0}function jM(e,n,t){switch(e){case"$type":return[`filter-type-${t}`,n];case"$id":return[`filter-id-${t}`,n];default:return[`filter-${t}`,e,n]}}function Bce(e){return["any"].concat(e.map(Y3))}function OT(e,n){if(n.length===0)return!1;switch(e){case"$type":return["filter-type-in",["literal",n]];case"$id":return["filter-id-in",["literal",n]];default:return n.length>200&&!n.some(t=>typeof t!=typeof n[0])?["filter-in-large",e,["literal",n.sort(Oce)]]:["filter-in-small",e,["literal",n]]}}function BT(e){switch(e){case"$type":return!0;case"$id":return["filter-has-id"];default:return["filter-has",e]}}function Dx(e){return["!",e]}var kce=["type","source","source-layer","minzoom","maxzoom","filter","layout"];function Ice(e,n){const t={};for(const r in e)r!=="ref"&&(t[r]=e[r]);return kce.forEach(r=>{r in n&&(t[r]=n[r])}),t}function Tce(e){e=e.slice();const n=Object.create(null);for(let t=0;t<e.length;t++)n[e[t].id]=e[t];for(let t=0;t<e.length;t++)"ref"in e[t]&&(e[t]=Ice(e[t],n[e[t].ref]));return e}function Kce(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Pce={};(function(e){var n=function(){var t=function(W,Q,q,oe){for(q=q||{},oe=W.length;oe--;q[W[oe]]=Q);return q},r=[1,12],i=[1,13],o=[1,9],s=[1,10],a=[1,11],h=[1,14],g=[1,15],C=[14,18,22,24],B=[18,22],k=[22,24],P={trace:function(){},yy:{},symbols_:{error:2,JSONString:3,STRING:4,JSONNumber:5,NUMBER:6,JSONNullLiteral:7,NULL:8,JSONBooleanLiteral:9,TRUE:10,FALSE:11,JSONText:12,JSONValue:13,EOF:14,JSONObject:15,JSONArray:16,"{":17,"}":18,JSONMemberList:19,JSONMember:20,":":21,",":22,"[":23,"]":24,JSONElementList:25,$accept:0,$end:1},terminals_:{2:"error",4:"STRING",6:"NUMBER",8:"NULL",10:"TRUE",11:"FALSE",14:"EOF",17:"{",18:"}",21:":",22:",",23:"[",24:"]"},productions_:[0,[3,1],[5,1],[7,1],[9,1],[9,1],[12,2],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[15,2],[15,3],[20,3],[19,1],[19,3],[16,2],[16,3],[25,1],[25,3]],performAction:function(Q,q,oe,re,Ae,ae,se){var ye=ae.length-1;switch(Ae){case 1:this.$=new String(Q.replace(/\\(\\|")/g,"$1").replace(/\\n/g,`
`).replace(/\\r/g,"\r").replace(/\\t/g," ").replace(/\\v/g,"\v").replace(/\\f/g,"\f").replace(/\\b/g,"\b")),this.$.__line__=this._$.first_line;break;case 2:this.$=new Number(Q),this.$.__line__=this._$.first_line;break;case 3:this.$=null;break;case 4:this.$=new Boolean(!0),this.$.__line__=this._$.first_line;break;case 5:this.$=new Boolean(!1),this.$.__line__=this._$.first_line;break;case 6:return this.$=ae[ye-1];case 13:this.$={},Object.defineProperty(this.$,"__line__",{value:this._$.first_line,enumerable:!1});break;case 14:case 19:this.$=ae[ye-1],Object.defineProperty(this.$,"__line__",{value:this._$.first_line,enumerable:!1});break;case 15:this.$=[ae[ye-2],ae[ye]];break;case 16:this.$={},this.$[ae[ye][0]]=ae[ye][1];break;case 17:this.$=ae[ye-2],ae[ye-2][ae[ye][0]]=ae[ye][1];break;case 18:this.$=[],Object.defineProperty(this.$,"__line__",{value:this._$.first_line,enumerable:!1});break;case 20:this.$=[ae[ye]];break;case 21:this.$=ae[ye-2],ae[ye-2].push(ae[ye]);break}},table:[{3:5,4:r,5:6,6:i,7:3,8:o,9:4,10:s,11:a,12:1,13:2,15:7,16:8,17:h,23:g},{1:[3]},{14:[1,16]},t(C,[2,7]),t(C,[2,8]),t(C,[2,9]),t(C,[2,10]),t(C,[2,11]),t(C,[2,12]),t(C,[2,3]),t(C,[2,4]),t(C,[2,5]),t([14,18,21,22,24],[2,1]),t(C,[2,2]),{3:20,4:r,18:[1,17],19:18,20:19},{3:5,4:r,5:6,6:i,7:3,8:o,9:4,10:s,11:a,13:23,15:7,16:8,17:h,23:g,24:[1,21],25:22},{1:[2,6]},t(C,[2,13]),{18:[1,24],22:[1,25]},t(B,[2,16]),{21:[1,26]},t(C,[2,18]),{22:[1,28],24:[1,27]},t(k,[2,20]),t(C,[2,14]),{3:20,4:r,20:29},{3:5,4:r,5:6,6:i,7:3,8:o,9:4,10:s,11:a,13:30,15:7,16:8,17:h,23:g},t(C,[2,19]),{3:5,4:r,5:6,6:i,7:3,8:o,9:4,10:s,11:a,13:31,15:7,16:8,17:h,23:g},t(B,[2,17]),t(B,[2,15]),t(k,[2,21])],defaultActions:{16:[2,6]},parseError:function(Q,q){if(q.recoverable)this.trace(Q);else throw new Error(Q)},parse:function(Q){var q=this,oe=[0],re=[null],Ae=[],ae=this.table,se="",ye=0,De=0,Ne=2,et=1,ft=Ae.slice.call(arguments,1),Ke=Object.create(this.lexer),rt={yy:{}};for(var _e in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_e)&&(rt.yy[_e]=this.yy[_e]);Ke.setInput(Q,rt.yy),rt.yy.lexer=Ke,rt.yy.parser=this,typeof Ke.yylloc>"u"&&(Ke.yylloc={});var Ut=Ke.yylloc;Ae.push(Ut);var jt=Ke.options&&Ke.options.ranges;typeof rt.yy.parseError=="function"?this.parseError=rt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function nn(){var he;return he=Ke.lex()||et,typeof he!="number"&&(he=q.symbols_[he]||he),he}for(var Qt,He,Je,tt,on={},mt,dt,kt,Pt;;){if(He=oe[oe.length-1],this.defaultActions[He]?Je=this.defaultActions[He]:((Qt===null||typeof Qt>"u")&&(Qt=nn()),Je=ae[He]&&ae[He][Qt]),typeof Je>"u"||!Je.length||!Je[0]){var Me="";Pt=[];for(mt in ae[He])this.terminals_[mt]&&mt>Ne&&Pt.push("'"+this.terminals_[mt]+"'");Ke.showPosition?Me="Parse error on line "+(ye+1)+`:
`+Ke.showPosition()+`
Expecting `+Pt.join(", ")+", got '"+(this.terminals_[Qt]||Qt)+"'":Me="Parse error on line "+(ye+1)+": Unexpected "+(Qt==et?"end of input":"'"+(this.terminals_[Qt]||Qt)+"'"),this.parseError(Me,{text:Ke.match,token:this.terminals_[Qt]||Qt,line:Ke.yylineno,loc:Ut,expected:Pt})}if(Je[0]instanceof Array&&Je.length>1)throw new Error("Parse Error: multiple actions possible at state: "+He+", token: "+Qt);switch(Je[0]){case 1:oe.push(Qt),re.push(Ke.yytext),Ae.push(Ke.yylloc),oe.push(Je[1]),Qt=null,De=Ke.yyleng,se=Ke.yytext,ye=Ke.yylineno,Ut=Ke.yylloc;break;case 2:if(dt=this.productions_[Je[1]][1],on.$=re[re.length-dt],on._$={first_line:Ae[Ae.length-(dt||1)].first_line,last_line:Ae[Ae.length-1].last_line,first_column:Ae[Ae.length-(dt||1)].first_column,last_column:Ae[Ae.length-1].last_column},jt&&(on._$.range=[Ae[Ae.length-(dt||1)].range[0],Ae[Ae.length-1].range[1]]),tt=this.performAction.apply(on,[se,De,ye,rt.yy,Je[1],re,Ae].concat(ft)),typeof tt<"u")return tt;dt&&(oe=oe.slice(0,-1*dt*2),re=re.slice(0,-1*dt),Ae=Ae.slice(0,-1*dt)),oe.push(this.productions_[Je[1]][0]),re.push(on.$),Ae.push(on._$),kt=ae[oe[oe.length-2]][oe[oe.length-1]],oe.push(kt);break;case 3:return!0}}return!0}},U=function(){var W={EOF:1,parseError:function(q,oe){if(this.yy.parser)this.yy.parser.parseError(q,oe);else throw new Error(q)},setInput:function(Q,q){return this.yy=q||this.yy||{},this._input=Q,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var Q=this._input[0];this.yytext+=Q,this.yyleng++,this.offset++,this.match+=Q,this.matched+=Q;var q=Q.match(/(?:\r\n?|\n).*/g);return q?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),Q},unput:function(Q){var q=Q.length,oe=Q.split(/(?:\r\n?|\n)/g);this._input=Q+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-q),this.offset-=q;var re=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),oe.length-1&&(this.yylineno-=oe.length-1);var Ae=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:oe?(oe.length===re.length?this.yylloc.first_column:0)+re[re.length-oe.length].length-oe[0].length:this.yylloc.first_column-q},this.options.ranges&&(this.yylloc.range=[Ae[0],Ae[0]+this.yyleng-q]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(Q){this.unput(this.match.slice(Q))},pastInput:function(){var Q=this.matched.substr(0,this.matched.length-this.match.length);return(Q.length>20?"...":"")+Q.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var Q=this.match;return Q.length<20&&(Q+=this._input.substr(0,20-Q.length)),(Q.substr(0,20)+(Q.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var Q=this.pastInput(),q=new Array(Q.length+1).join("-");return Q+this.upcomingInput()+`
`+q+"^"},test_match:function(Q,q){var oe,re,Ae;if(this.options.backtrack_lexer&&(Ae={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(Ae.yylloc.range=this.yylloc.range.slice(0))),re=Q[0].match(/(?:\r\n?|\n).*/g),re&&(this.yylineno+=re.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:re?re[re.length-1].length-re[re.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+Q[0].length},this.yytext+=Q[0],this.match+=Q[0],this.matches=Q,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(Q[0].length),this.matched+=Q[0],oe=this.performAction.call(this,this.yy,this,q,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),oe)return oe;if(this._backtrack){for(var ae in Ae)this[ae]=Ae[ae];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var Q,q,oe,re;this._more||(this.yytext="",this.match="");for(var Ae=this._currentRules(),ae=0;ae<Ae.length;ae++)if(oe=this._input.match(this.rules[Ae[ae]]),oe&&(!q||oe[0].length>q[0].length)){if(q=oe,re=ae,this.options.backtrack_lexer){if(Q=this.test_match(oe,Ae[ae]),Q!==!1)return Q;if(this._backtrack){q=!1;continue}else return!1}else if(!this.options.flex)break}return q?(Q=this.test_match(q,Ae[re]),Q!==!1?Q:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var q=this.next();return q||this.lex()},begin:function(q){this.conditionStack.push(q)},popState:function(){var q=this.conditionStack.length-1;return q>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(q){return q=this.conditionStack.length-1-Math.abs(q||0),q>=0?this.conditionStack[q]:"INITIAL"},pushState:function(q){this.begin(q)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(q,oe,re,Ae){switch(re){case 0:break;case 1:return 6;case 2:return oe.yytext=oe.yytext.substr(1,oe.yyleng-2),4;case 3:return 17;case 4:return 18;case 5:return 23;case 6:return 24;case 7:return 22;case 8:return 21;case 9:return 10;case 10:return 11;case 11:return 8;case 12:return 14;case 13:return"INVALID"}},rules:[/^(?:\s+)/,/^(?:(-?([0-9]|[1-9][0-9]+))(\.[0-9]+)?([eE][-+]?[0-9]+)?\b)/,/^(?:"(?:\\[\\"bfnrt/]|\\u[a-fA-F0-9]{4}|[^\\\0-\x09\x0a-\x1f"])*")/,/^(?:\{)/,/^(?:\})/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?::)/,/^(?:true\b)/,/^(?:false\b)/,/^(?:null\b)/,/^(?:$)/,/^(?:.)/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}}};return W}();P.lexer=U;function Z(){this.yy={}}return Z.prototype=P,P.Parser=Z,new Z}();typeof Fce<"u"&&(e.parser=n,e.Parser=n.Parser,e.parse=function(){return n.parse.apply(n,arguments)})})(Dce);const Zj={StyleExpression:Qj,isExpression:$j,isExpressionFilter:r8,createExpression:Y3,createPropertyExpression:Yj,normalizePropertyExpression:pce,ZoomConstantExpression:bE,ZoomDependentExpression:xE,StylePropertyFunction:k5},Xj={convertFunction:yce,createFunction:J7,isFunction:X7};var Jj=typeof Object.assign=="function"?Object.assign:function(e,n){if(e==null)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),r=1,i=arguments.length;r<i;++r){var o=arguments[r];if(o!=null)for(var s in o)o.hasOwnProperty(s)&&(t[s]=o[s])}return t};function jM(e){return e*Math.PI/180}var Ty=function(){for(var e=[],n=78271.51696402048;e.length<=24;n/=2)e.push(n);return e}();function eW(e,n){if(typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof OffscreenCanvas<"u")return new OffscreenCanvas(e,n);var t=document.createElement("canvas");return t.width=e,t.height=n,t}function Lce(e,n){for(var t=0,r=n.length;t<r;++t){var i=n[t];if(i<e&&t+1<r){var o=n[t]/n[t+1];return t+Math.log(n[t]/e)/Math.log(o)}}return r-1}var Uce=Array(256).join(" ");function SE(e,n){if(n>=.05){for(var t="",r=e.split(`
`),i=Uce.slice(0,Math.round(n/.1)),o=0,s=r.length;o<s;++o)o>0&&(t+=`
`),t+=r[o].split("").join(i);return t}return e}var WM;function tW(){return WM||(WM=eW(1,1).getContext("2d")),WM}function C0(e,n){return tW().measureText(e).width+(e.length-1)*n}var EE={};sE&&bo(sE,Bi.CLEAR,function(){EE={}});function OE(e,n,t,r){if(e.indexOf(`
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var q=this.next();return q||this.lex()},begin:function(q){this.conditionStack.push(q)},popState:function(){var q=this.conditionStack.length-1;return q>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(q){return q=this.conditionStack.length-1-Math.abs(q||0),q>=0?this.conditionStack[q]:"INITIAL"},pushState:function(q){this.begin(q)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(q,oe,re,Ae){switch(re){case 0:break;case 1:return 6;case 2:return oe.yytext=oe.yytext.substr(1,oe.yyleng-2),4;case 3:return 17;case 4:return 18;case 5:return 23;case 6:return 24;case 7:return 22;case 8:return 21;case 9:return 10;case 10:return 11;case 11:return 8;case 12:return 14;case 13:return"INVALID"}},rules:[/^(?:\s+)/,/^(?:(-?([0-9]|[1-9][0-9]+))(\.[0-9]+)?([eE][-+]?[0-9]+)?\b)/,/^(?:"(?:\\[\\"bfnrt/]|\\u[a-fA-F0-9]{4}|[^\\\0-\x09\x0a-\x1f"])*")/,/^(?:\{)/,/^(?:\})/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?::)/,/^(?:true\b)/,/^(?:false\b)/,/^(?:null\b)/,/^(?:$)/,/^(?:.)/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}}};return W}();P.lexer=U;function Z(){this.yy={}}return Z.prototype=P,P.Parser=Z,new Z}();typeof Kce<"u"&&(e.parser=n,e.Parser=n.Parser,e.parse=function(){return n.parse.apply(n,arguments)})})(Pce);const Zj={StyleExpression:Qj,isExpression:$j,isExpressionFilter:n8,createExpression:$3,createPropertyExpression:Yj,normalizePropertyExpression:hce,ZoomConstantExpression:xE,ZoomDependentExpression:wE,StylePropertyFunction:k5},Xj={convertFunction:mce,createFunction:X7,isFunction:Z7};var Jj=typeof Object.assign=="function"?Object.assign:function(e,n){if(e==null)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),r=1,i=arguments.length;r<i;++r){var o=arguments[r];if(o!=null)for(var s in o)o.hasOwnProperty(s)&&(t[s]=o[s])}return t};function WM(e){return e*Math.PI/180}var Ty=function(){for(var e=[],n=78271.51696402048;e.length<=24;n/=2)e.push(n);return e}();function eW(e,n){if(typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof OffscreenCanvas<"u")return new OffscreenCanvas(e,n);var t=document.createElement("canvas");return t.width=e,t.height=n,t}function Fce(e,n){for(var t=0,r=n.length;t<r;++t){var i=n[t];if(i<e&&t+1<r){var o=n[t]/n[t+1];return t+Math.log(n[t]/e)/Math.log(o)}}return r-1}var Dce=Array(256).join(" ");function EE(e,n){if(n>=.05){for(var t="",r=e.split(`
`),i=Dce.slice(0,Math.round(n/.1)),o=0,s=r.length;o<s;++o)o>0&&(t+=`
`),t+=r[o].split("").join(i);return t}return e}var NM;function tW(){return NM||(NM=eW(1,1).getContext("2d")),NM}function C0(e,n){return tW().measureText(e).width+(e.length-1)*n}var OE={};lE&&bo(lE,Bi.CLEAR,function(){OE={}});function BE(e,n,t,r){if(e.indexOf(`
`)!==-1){for(var i=e.split(`
`),o=[],s=0,a=i.length;s<a;++s)o.push(OE(i[s],n,t,r));return o.join(`
`)}var h=t+","+n+","+e+","+r,g=EE[h];if(!g){var C=e.split(" ");if(C.length>1){var B=tW();B.font=n;for(var k=B.measureText("M").width,P=k*t,U="",o=[],s=0,a=C.length;s<a;++s){var Z=C[s],W=U+(U?" ":"")+Z;C0(W,r)<=P?U=W:(U&&o.push(U),U=Z)}U&&o.push(U);for(var s=0,a=o.length;s<a&&a>1;++s){var Q=o[s];if(C0(Q,r)<P*.35){var q=s>0?C0(o[s-1],r):1/0,oe=s<a-1?C0(o[s+1],r):1/0;o.splice(s,1),a-=1,q<oe?(o[s-1]+=" "+Q,s-=1):o[s]=Q+" "+o[s]}}for(var s=0,a=o.length-1;s<a;++s){var re=o[s],Ae=o[s+1];if(C0(re,r)>P*.7&&C0(Ae,r)<P*.6){var ae=re.split(" "),se=ae.pop();C0(se,r)<P*.2&&(o[s]=ae.join(" "),o[s+1]=se+" "+Ae),a-=1}}g=o.join(`
`)}else g=e;g=SE(g,r),EE[h]=g}return g}var Rce=Xj.isFunction,zce=Xj.convertFunction,jce=Zj.isExpression,Wce=Zj.createPropertyExpression,Nce={Point:1,MultiPoint:1,LineString:2,MultiLineString:2,Polygon:3,MultiPolygon:3},Gce={center:[.5,.5],left:[0,.5],right:[1,.5],top:[.5,0],bottom:[.5,1],"top-left":[0,0],"top-right":[1,0],"bottom-left":[0,1],"bottom-right":[1,1]},Qce=function(e,n){var t=Wce(e,n);if(t.result==="error")throw new Error(t.value.map(function(r){return"".concat(r.key,": ").concat(r.message)}).join(", "));return t.value},BE={},V3={zoom:0},Lx,NM;function xi(e,n,t,r,i,o){var s=e.id;o||(o={},console.warn("No functionCache provided to getValue()")),o[s]||(o[s]={});var a=o[s];if(!a[t]){var h=(e[n]||BE)[t],g=gj["".concat(n,"_").concat(e.type)][t];h===void 0&&(h=g.default);var C=jce(h);if(!C&&Rce(h)&&(h=zce(h,g),C=!0),C){var B=Qce(h,g);a[t]=B.evaluate.bind(B)}else g.type=="color"&&(h=Gl.parse(h)),a[t]=function(){return h}}return V3.zoom=r,a[t](V3,i)}function $ce(e,n,t,r,i){return i||console.warn("No filterCache provided to evaluateFilter()"),e in i||(i[e]=Mce(n).filter),V3.zoom=r,i[e](V3,t)}function sm(e,n){if(e){if(e.a===0||n===0)return;var t=e.a;return n=n===void 0?1:n,t===0?"transparent":"rgba("+Math.round(e.r*255/t)+","+Math.round(e.g*255/t)+","+Math.round(e.b*255/t)+","+t*n+")"}return e}var Yce=/^([^]*)\{(.*)\}([^]*)$/;function GM(e,n){var t;do if(t=e.match(Yce),t){var r=n[t[2]]||"";e=t[1]+r+t[3]}while(t);return e}function qce(e,n,t,r,i,o,s){if(r===void 0&&(r=Ty),typeof n=="string"&&(n=JSON.parse(n)),n.version!=8)throw new Error("glStyle version 8 required.");var a,h;if(o){if(typeof Image<"u"){var g=new Image;g.crossOrigin="anonymous",g.onload=function(){a=g,h=[g.width,g.height],e.changed(),g.onload=null},g.src=o}else if(typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope){var C=self;C.postMessage({action:"loadImage",src:o}),C.addEventListener("message",function(Ut){Ut.data.action==="imageLoaded"&&Ut.data.src===o&&(a=Ut.data.image,h=[a.width,a.height])})}}for(var B=Pce(n.layers),k={},P=[],U={},Z={},W={},Q={},q,oe=0,re=B.length;oe<re;++oe){var Ae=B[oe],ae=Ae.id;if(typeof t=="string"&&Ae.source==t||t.indexOf(ae)!==-1){var se=Ae["source-layer"];if(!q){q=Ae.source;var ye=n.sources[q];if(!ye)throw new Error('Source "'.concat(q,'" is not defined'));var De=ye.type;if(De!=="vector"&&De!=="geojson")throw new Error('Source "'.concat(q,'" is not of type "vector" or "geojson", but "').concat(De,'"'))}var Ne=k[se];Ne||(Ne=[],k[se]=Ne),Ne.push({layer:Ae,index:oe}),P.push(ae)}}var et=new u_,ft=new Wg,Ke=[],rt=function(_e,Ut){var jt=_e.getProperties(),nn=k[jt.layer];if(nn){var Qt=r.indexOf(Ut);Qt==-1&&(Qt=Lce(Ut,r));for(var He=Nce[_e.getGeometry().getType()],Je={properties:jt,type:He},tt=-1,on=function(kt,Pt){var Me=nn[kt],he=Me.layer,be=he.id,Pe=he.layout||BE,Ze=he.paint||BE;if(Pe.visibility==="none"||"minzoom"in he&&Qt<he.minzoom||"maxzoom"in he&&Qt>=he.maxzoom)return"continue";var nt=he.filter;if(!nt||$ce(be,nt,Je,Qt,Q)){var xt=void 0,Ft=void 0,Dt=void 0,pt=void 0,nr=void 0,pn=void 0,bn=Me.index;if(He==3&&(he.type=="fill"||he.type=="fill-extrusion"))if(Ft=xi(he,"paint",he.type+"-opacity",Qt,Je,W),he.type+"-pattern"in Ze){var Jn=xi(he,"paint",he.type+"-pattern",Qt,Je,W);if(Jn){var mr=typeof Jn=="string"?GM(Jn,jt):Jn.toString();if(a&&i&&i[mr]){++tt,pn=Ke[tt],(!pn||!pn.getFill()||pn.getStroke()||pn.getText())&&(pn=new O0({fill:new Wg}),Ke[tt]=pn),Dt=pn.getFill(),pn.setZIndex(bn);var xr=mr+"."+Ft,Nr=Z[xr];if(!Nr){var _r=i[mr],fi=eW(_r.width,_r.height),we=fi.getContext("2d");we.globalAlpha=Ft,we.drawImage(a,_r.x,_r.y,_r.width,_r.height,0,0,_r.width,_r.height),Nr=we.createPattern(fi,"repeat"),Z[xr]=Nr}Dt.setColor(Nr)}}}else xt=sm(xi(he,"paint",he.type+"-color",Qt,Je,W),Ft),he.type+"-outline-color"in Ze&&(nr=sm(xi(he,"paint",he.type+"-outline-color",Qt,Je,W),Ft)),nr||(nr=xt),(xt||nr)&&(++tt,pn=Ke[tt],(!pn||xt&&!pn.getFill()||!xt&&pn.getFill()||nr&&!pn.getStroke()||!nr&&pn.getStroke()||pn.getText())&&(pn=new O0({fill:xt?new Wg:void 0,stroke:nr?new u_:void 0}),Ke[tt]=pn),xt&&(Dt=pn.getFill(),Dt.setColor(xt)),nr&&(pt=pn.getStroke(),pt.setColor(nr),pt.setWidth(.5)),pn.setZIndex(bn));if(He!=1&&he.type=="line"){xt=!("line-pattern"in Ze)&&"line-color"in Ze?sm(xi(he,"paint","line-color",Qt,Je,W),xi(he,"paint","line-opacity",Qt,Je,W)):void 0;var H=xi(he,"paint","line-width",Qt,Je,W);xt&&H>0&&(++tt,pn=Ke[tt],(!pn||!pn.getStroke()||pn.getFill()||pn.getText())&&(pn=new O0({stroke:new u_}),Ke[tt]=pn),pt=pn.getStroke(),pt.setLineCap(xi(he,"layout","line-cap",Qt,Je,W)),pt.setLineJoin(xi(he,"layout","line-join",Qt,Je,W)),pt.setMiterLimit(xi(he,"layout","line-miter-limit",Qt,Je,W)),pt.setColor(xt),pt.setWidth(H),pt.setLineDash(Ze["line-dasharray"]?xi(he,"paint","line-dasharray",Qt,Je,W).map(function(Ii){return Ii*H}):null),pn.setZIndex(bn))}var Y=!1,Be=null,st=0,St=void 0,Et=void 0,Nt=void 0;if((He==1||He==2)&&"icon-image"in Pe){var mn=xi(he,"layout","icon-image",Qt,Je,W);if(mn){St=typeof mn=="string"?GM(mn,jt):mn.toString Line truncated
`),o=[],s=0,a=i.length;s<a;++s)o.push(BE(i[s],n,t,r));return o.join(`
`)}var h=t+","+n+","+e+","+r,g=OE[h];if(!g){var C=e.split(" ");if(C.length>1){var B=tW();B.font=n;for(var k=B.measureText("M").width,P=k*t,U="",o=[],s=0,a=C.length;s<a;++s){var Z=C[s],W=U+(U?" ":"")+Z;C0(W,r)<=P?U=W:(U&&o.push(U),U=Z)}U&&o.push(U);for(var s=0,a=o.length;s<a&&a>1;++s){var Q=o[s];if(C0(Q,r)<P*.35){var q=s>0?C0(o[s-1],r):1/0,oe=s<a-1?C0(o[s+1],r):1/0;o.splice(s,1),a-=1,q<oe?(o[s-1]+=" "+Q,s-=1):o[s]=Q+" "+o[s]}}for(var s=0,a=o.length-1;s<a;++s){var re=o[s],Ae=o[s+1];if(C0(re,r)>P*.7&&C0(Ae,r)<P*.6){var ae=re.split(" "),se=ae.pop();C0(se,r)<P*.2&&(o[s]=ae.join(" "),o[s+1]=se+" "+Ae),a-=1}}g=o.join(`
`)}else g=e;g=EE(g,r),OE[h]=g}return g}var Lce=Xj.isFunction,Uce=Xj.convertFunction,Rce=Zj.isExpression,zce=Zj.createPropertyExpression,jce={Point:1,MultiPoint:1,LineString:2,MultiLineString:2,Polygon:3,MultiPolygon:3},Wce={center:[.5,.5],left:[0,.5],right:[1,.5],top:[.5,0],bottom:[.5,1],"top-left":[0,0],"top-right":[1,0],"bottom-left":[0,1],"bottom-right":[1,1]},Nce=function(e,n){var t=zce(e,n);if(t.result==="error")throw new Error(t.value.map(function(r){return"".concat(r.key,": ").concat(r.message)}).join(", "));return t.value},kE={},q3={zoom:0},Lx,GM;function xi(e,n,t,r,i,o){var s=e.id;o||(o={},console.warn("No functionCache provided to getValue()")),o[s]||(o[s]={});var a=o[s];if(!a[t]){var h=(e[n]||kE)[t],g=gj["".concat(n,"_").concat(e.type)][t];h===void 0&&(h=g.default);var C=Rce(h);if(!C&&Lce(h)&&(h=Uce(h,g),C=!0),C){var B=Nce(h,g);a[t]=B.evaluate.bind(B)}else g.type=="color"&&(h=Gl.parse(h)),a[t]=function(){return h}}return q3.zoom=r,a[t](q3,i)}function Gce(e,n,t,r,i){return i||console.warn("No filterCache provided to evaluateFilter()"),e in i||(i[e]=xce(n).filter),q3.zoom=r,i[e](q3,t)}function am(e,n){if(e){if(e.a===0||n===0)return;var t=e.a;return n=n===void 0?1:n,t===0?"transparent":"rgba("+Math.round(e.r*255/t)+","+Math.round(e.g*255/t)+","+Math.round(e.b*255/t)+","+t*n+")"}return e}var Qce=/^([^]*)\{(.*)\}([^]*)$/;function QM(e,n){var t;do if(t=e.match(Qce),t){var r=n[t[2]]||"";e=t[1]+r+t[3]}while(t);return e}function $ce(e,n,t,r,i,o,s){if(r===void 0&&(r=Ty),typeof n=="string"&&(n=JSON.parse(n)),n.version!=8)throw new Error("glStyle version 8 required.");var a,h;if(o){if(typeof Image<"u"){var g=new Image;g.crossOrigin="anonymous",g.onload=function(){a=g,h=[g.width,g.height],e.changed(),g.onload=null},g.src=o}else if(typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope){var C=self;C.postMessage({action:"loadImage",src:o}),C.addEventListener("message",function(Ut){Ut.data.action==="imageLoaded"&&Ut.data.src===o&&(a=Ut.data.image,h=[a.width,a.height])})}}for(var B=Tce(n.layers),k={},P=[],U={},Z={},W={},Q={},q,oe=0,re=B.length;oe<re;++oe){var Ae=B[oe],ae=Ae.id;if(typeof t=="string"&&Ae.source==t||t.indexOf(ae)!==-1){var se=Ae["source-layer"];if(!q){q=Ae.source;var ye=n.sources[q];if(!ye)throw new Error('Source "'.concat(q,'" is not defined'));var De=ye.type;if(De!=="vector"&&De!=="geojson")throw new Error('Source "'.concat(q,'" is not of type "vector" or "geojson", but "').concat(De,'"'))}var Ne=k[se];Ne||(Ne=[],k[se]=Ne),Ne.push({layer:Ae,index:oe}),P.push(ae)}}var et=new u_,ft=new Wg,Ke=[],rt=function(_e,Ut){var jt=_e.getProperties(),nn=k[jt.layer];if(nn){var Qt=r.indexOf(Ut);Qt==-1&&(Qt=Fce(Ut,r));for(var He=jce[_e.getGeometry().getType()],Je={properties:jt,type:He},tt=-1,on=function(kt,Pt){var Me=nn[kt],he=Me.layer,be=he.id,Pe=he.layout||kE,Ze=he.paint||kE;if(Pe.visibility==="none"||"minzoom"in he&&Qt<he.minzoom||"maxzoom"in he&&Qt>=he.maxzoom)return"continue";var nt=he.filter;if(!nt||Gce(be,nt,Je,Qt,Q)){var xt=void 0,Ft=void 0,Dt=void 0,pt=void 0,nr=void 0,pn=void 0,bn=Me.index;if(He==3&&(he.type=="fill"||he.type=="fill-extrusion"))if(Ft=xi(he,"paint",he.type+"-opacity",Qt,Je,W),he.type+"-pattern"in Ze){var Jn=xi(he,"paint",he.type+"-pattern",Qt,Je,W);if(Jn){var mr=typeof Jn=="string"?QM(Jn,jt):Jn.toString();if(a&&i&&i[mr]){++tt,pn=Ke[tt],(!pn||!pn.getFill()||pn.getStroke()||pn.getText())&&(pn=new O0({fill:new Wg}),Ke[tt]=pn),Dt=pn.getFill(),pn.setZIndex(bn);var xr=mr+"."+Ft,Nr=Z[xr];if(!Nr){var _r=i[mr],fi=eW(_r.width,_r.height),we=fi.getContext("2d");we.globalAlpha=Ft,we.drawImage(a,_r.x,_r.y,_r.width,_r.height,0,0,_r.width,_r.height),Nr=we.createPattern(fi,"repeat"),Z[xr]=Nr}Dt.setColor(Nr)}}}else xt=am(xi(he,"paint",he.type+"-color",Qt,Je,W),Ft),he.type+"-outline-color"in Ze&&(nr=am(xi(he,"paint",he.type+"-outline-color",Qt,Je,W),Ft)),nr||(nr=xt),(xt||nr)&&(++tt,pn=Ke[tt],(!pn||xt&&!pn.getFill()||!xt&&pn.getFill()||nr&&!pn.getStroke()||!nr&&pn.getStroke()||pn.getText())&&(pn=new O0({fill:xt?new Wg:void 0,stroke:nr?new u_:void 0}),Ke[tt]=pn),xt&&(Dt=pn.getFill(),Dt.setColor(xt)),nr&&(pt=pn.getStroke(),pt.setColor(nr),pt.setWidth(.5)),pn.setZIndex(bn));if(He!=1&&he.type=="line"){xt=!("line-pattern"in Ze)&&"line-color"in Ze?am(xi(he,"paint","line-color",Qt,Je,W),xi(he,"paint","line-opacity",Qt,Je,W)):void 0;var H=xi(he,"paint","line-width",Qt,Je,W);xt&&H>0&&(++tt,pn=Ke[tt],(!pn||!pn.getStroke()||pn.getFill()||pn.getText())&&(pn=new O0({stroke:new u_}),Ke[tt]=pn),pt=pn.getStroke(),pt.setLineCap(xi(he,"layout","line-cap",Qt,Je,W)),pt.setLineJoin(xi(he,"layout","line-join",Qt,Je,W)),pt.setMiterLimit(xi(he,"layout","line-miter-limit",Qt,Je,W)),pt.setColor(xt),pt.setWidth(H),pt.setLineDash(Ze["line-dasharray"]?xi(he,"paint","line-dasharray",Qt,Je,W).map(function(Ii){return Ii*H}):null),pn.setZIndex(bn))}var Y=!1,Be=null,st=0,St=void 0,Et=void 0,Nt=void 0;if((He==1||He==2)&&"icon-image"in Pe){var mn=xi(he,"layout","icon-image",Qt,Je,W);if(mn){St=typeof mn=="string"?QM(mn,jt):mn.toString Line truncated
`)return Ii.push(`
`,""),Ii;if(He==2){Ii.push(SE(mi,xo),Br);return}mi=OE(mi,Br,pi,xo).split(`
`,""),Ii;if(He==2){Ii.push(EE(mi,xo),Br);return}mi=BE(mi,Br,pi,xo).split(`
`);for(var il=0,Va=mi.length;il<Va;++il)il>0&&Ii.push(`
`,""),Ii.push(mi[il],Br);return Ii},[]):rr=GM(As,jt).trim(),Ft=xi(he,"paint","text-opacity",Qt,Je,W)}if(rr&&Ft&&!Nt){Y||(++tt,pn=Ke[tt],(!pn||!pn.getText()||pn.getFill()||pn.getStroke())&&(pn=new O0,Ke[tt]=pn),pn.setImage(void 0),pn.setGeometry(void 0)),pn.getText()||pn.setText(Be||new fse({padding:[2,2,2,2]})),Be=pn.getText();var Ia=Pe["text-transform"];Ia=="uppercase"?rr=Array.isArray(rr)?rr.map(function(ii,ya){return ya%2?ii:ii.toUpperCase()}):rr.toUpperCase():Ia=="lowercase"&&(rr=Array.isArray(rr)?rr.map(function(ii,ya){return ya%2?ii:ii.toLowerCase()}):rr.toLowerCase());var _i=Array.isArray(rr)?rr:He==2?SE(rr,xo):OE(rr,li,pi,xo);Be.setText(_i),Be.setFont(li),Be.setRotation(jM(xi(he,"layout","text-rotate",Qt,Je,W)));var Ss=xi(he,"layout","text-anchor",Qt,Je,W),Te=Y||He==1?"point":xi(he,"layout","symbol-placement",Qt,Je,W);Be.setPlacement(Te),Be.setOverflow(Te==="point");var Si=xi(he,"paint","text-halo-width",Qt,Je,W),Qn=xi(he,"layout","text-offset",Qt,Je,W),so=xi(he,"paint","text-translate",Qt,Je,W),Go=0,Ji=0;if(Te=="point"){var ge="center";Ss.indexOf("left")!==-1?(ge="left",Ji=Si):Ss.indexOf("right")!==-1&&(ge="right",Ji=-Si),Be.setTextAlign(ge);var $e=xi(he,"layout","text-rotation-alignment",Qt,Je,W);Be.setRotateWithView($e=="map")}else Be.setMaxAngle(jM(xi(he,"layout","text-max-angle",Qt,Je,W))*rr.length/_i.length),Be.setTextAlign(),Be.setRotateWithView(!1);var Xt="middle";Ss.indexOf("bottom")==0?(Xt="bottom",Go=-Si-.5*(ki-1)*Xi):Ss.indexOf("top")==0&&(Xt="top",Go=Si+.5*(ki-1)*Xi),Be.setTextBaseline(Xt),Be.setOffsetX(Qn[0]*Xi+Ji+so[0]),Be.setOffsetY(Qn[1]*Xi+Go+so[1]),ft.setColor(sm(xi(he,"paint","text-color",Qt,Je,W),Ft)),Be.setFill(ft);var ln=sm(xi(he,"paint","text-halo-color",Qt,Je,W),Ft);if(ln){et.setColor(ln),Si*=2;var Kt=.5*Xi;et.setWidth(Si<=Kt?Si:Kt),Be.setStroke(et)}else Be.setStroke(void 0);var Mn=xi(he,"layout","text-padding",Qt,Je,W),cr=Be.getPadding();Mn!==cr[0]&&(cr[0]=Mn,cr[1]=Mn,cr[2]=Mn,cr[3]=Mn),pn.setZIndex(bn)}}},mt=0,dt=nn.length;mt<dt;++mt)on(mt);if(tt>-1)return Ke.length=tt+1,Ke}};return e.setStyle(rt),e.set("mapbox-source",q),e.set("mapbox-layers",P),rt}var nW={exports:{}};(function(){var e;nW.exports={icon:"icons/google.svg",name:"google",title:"Google Fonts",link:"google.com/fonts",getNames:function(){return e},getLink:function(n){return"https://fonts.google.com/specimen/"+n.replace(/( )/g,"+")},normalizeName:function(n){return n}},e=["ABeeZee","Abel","Abril Fatface","Aclonica","Acme","Actor","Adamina","Advent Pro","Aguafina Script","Akronim","Aladin","Aldrich","Alef","Alegreya","Alegreya SC","Alegreya Sans","Alegreya Sans SC","Alex Brush","Alfa Slab One","Alice","Alike","Alike Angular","Allan","Allerta","Allerta Stencil","Allura","Almendra","Almendra Display","Almendra SC","Amarante","Amaranth","Amatic SC","Amethysta","Amiri","Amita","Anaheim","Andada","Andika","Angkor","Annie Use Your Telescope","Anonymous Pro","Antic","Antic Didone","Antic Slab","Anton","Arapey","Arbutus","Arbutus Slab","Architects Daughter","Archivo Black","Archivo Narrow","Arimo","Arizonia","Armata","Artifika","Arvo","Arya","Asap","Asar","Asset","Astloch","Asul","Atomic Age","Aubrey","Audiowide","Autour One","Average","Average Sans","Averia Gruesa Libre","Averia Libre","Averia Sans Libre","Averia Serif Libre","Bad Script","Balthazar","Bangers","Basic","Battambang","Baumans","Bayon","Belgrano","Belleza","BenchNine","Bentham","Berkshire Swash","Bevan","Bigelow Rules","Bigshot One","Bilbo","Bilbo Swash Caps","Biryani","Bitter","Black Ops One","Bokor","Bonbon","Boogaloo","Bowlby One","Bowlby One SC","Brawler","Bree Serif","Bubblegum Sans","Bubbler One","Buda","Buenard","Butcherman","Butterfly Kids","Cabin","Cabin Condensed","Cabin Sketch","Caesar Dressing","Cagliostro","Calligraffitti","Cambay","Cambo","Candal","Cantarell","Cantata One","Cantora One","Capriola","Cardo","Carme","Carrois Gothic","Carrois Gothic SC","Carter One","Catamaran","Caudex","Caveat","Caveat Brush","Cedarville Cursive","Ceviche One","Changa One","Chango","Chau Philomene One","Chela One","Chelsea Market","Chenla","Cherry Cream Soda","Cherry Swash","Chewy","Chicle","Chivo","Chonburi","Cinzel","Cinzel Decorative","Clicker Script","Coda","Coda Caption","Codystar","Combo","Comfortaa","Coming Soon","Concert One","Condiment","Content","Contrail One","Convergence","Cookie","Copse","Corben","Courgette","Cousine","Coustard","Covered By Your Grace","Crafty Girls","Creepster","Crete Round","Crimson Text","Croissant One","Crushed","Cuprum","Cutive","Cutive Mono","Damion","Dancing Script","Dangrek","Dawning of a New Day","Days One","Dekko","Delius","Delius Swash Caps","Delius Unicase","Della Respira","Denk One","Devonshire","Dhurjati","Didact Gothic","Diplomata","Diplomata SC","Domine","Donegal One","Doppio One","Dorsa","Dosis","Dr Sugiyama","Droid Sans","Droid Sans Mono","Droid Serif","Duru Sans","Dynalight","EB Garamond","Eagle Lake","Eater","Economica","Eczar","Ek Mukta","Electrolize","Elsie","Elsie Swash Caps","Emblema One","Emilys Candy","Enga Line truncated
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function sW(e,n){return hde(e)||fde(e,n)||aW(e,n)||pde()}function Ky(e){"@babel/helpers - typeof";return Ky=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Ky(e)}function mde(e,n){if(Ky(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var r=t.call(e,n||"default");if(Ky(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(e)}function lW(e){var n=mde(e,"string");return Ky(n)=="symbol"?n:String(n)}function pa(e,n,t){return n=lW(n),n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function $M(e){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?Object(arguments[n]):{},r=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&r.push.apply(r,Object.getOwnPropertySymbols(t).filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.forEach(function(i){pa(e,i,t[i])})}return e}function nb(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function DT(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,lW(r.key),r)}}function rb(e,n,t){return n&&DT(e.prototype,n),t&&DT(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function lo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i8(e,n){if(n&&(Ky(n)==="object"||typeof n=="function"))return n;if(n!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return lo(e)}function MC(e){return MC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},MC(e)}function TE(e,n){return TE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},TE(e,n)}function o8(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&TE(e,n)}var gde=function(e,n,t,r,i,o,s,a){if(!e){var h;if(n===void 0)h=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var g=[t,r,i,o,s,a],C=0;h=new Error(n.replace(/%s/g,function(){return g[C++]})),h.name="Invariant Violation"}throw h.framesToPop=1,h}},yde=gde;const p1=oa(yde);function vde(e){if(Array.isArray(e))return IE(e)}function _de(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Cde(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function bde(e){return vde(e)||_de(e)||aW(e)||Cde()}var xde=function(){function e(){nb(this,e),pa(this,"refs",{})}return rb(e,[{key:"add",value:function(t,r){this.refs[t]||(this.refs[t]=[]),this.refs[t].push(r)}},{key:"remove",value:function(t,r){var i=this.getIndex(t,r);i!==-1&&this.refs[t].splice(i,1)}},{key:"isActive",value:function(){return this.active}},{key:"getActive",value:function(){var t=this;return this.refs[this.active.collection].find(function(r){var i=r.node;return i.sortableInfo.index==t.active.index})}},{key:"getIndex",value:function(t,r){return this.refs[t].indexOf(r)}},{key:"getOrderedRefs",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.active.collection;return this.refs[t].sort(wde)}}]),e}();function wde(e,n){var t=e.node.sortableInfo.index,r=n.node.sortableInfo.index;return t-r}function uW(e,n){return Object.keys(e).reduce(function(t,r){return n.indexOf(r)===-1&&(t[r]=e[r]),t},{})}var pg={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},AW=function(){if(typeof window>"u"||typeof document>"u")return"";var e=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],n=(Array.prototype.slice.call(e).join("").match(/-(moz|webkit|ms)-/)||e.OLink===""&&["","o"])[1];switch(n){case"ms":return"ms";default:return n&&n.length?n[0].toUpperCase()+n.substr(1):""}}();function Rx(e,n){Object.keys(n).forEach(function(t){e.style[t]=n[t]})}function zx(e,n){e.style["".concat(AW,"Transform")]=n==null?"":"translate3d(".concat(n.x,"px,").concat(n.y,"px,0)")}function YM(e,n){e.style["".concat(AW,"TransitionDuration")]=n==null?"":"".concat(n,"ms")}function d_(e,n){for(;e;){if(n(e))return e;e=e.parentNode}return null}function LT(e,n,t){return Math.max(e,Math.min(t,n))}function $g(e){return e.substr(-2)==="px"?parseFloat(e):0}function Mde(e){var n=window.getComputedStyle(e);return{bottom:$g(n.marginBottom),left:$g(n.marginLeft),right:$g(n.marginRight),top:$g(n.marginTop)}}function a8(e,n){var t=n.displayName||n.name;return t?"".concat(e,"(").concat(t,")"):e}function qM(e,n){var t=e.getBoundingClientRect();return{top:t.top+n.top,left:t.left+n.left}}function $v(e){return e.touches&&e.touches.length?{x:e.touches[0].pageX,y:e.touches[0].pageY}:e.changedTouches&&e.changedTouches.length?{x:e.changedTouches[0].pageX,y:e.changedTouches[0].pageY}:{x:e.pageX,y:e.pageY}}function Sde(e){return e.touches&&e.touches.length||e.changedTouches&&e.changedTouches.length}function w2(e,n){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{left:0,top:0};if(e){var r={left:t.left+e.offsetLeft,top:t.top+e.offsetTop};return e.parentNode===n?r:w2(e.parentNode,n,r)}}function Ede(e,n,t){return e<t&&e>n?e-1:e>t&&e<n?e+1:e}function UT(e){var n=e.lockOffset,t=e.width,r=e.height,i=n,o=n,s="px";if(typeof n=="string"){var a=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(n);p1(a!==null,'lockOffset value should be a number or a string of a number followed by "px" or "%". Given %s',n),i=parseFloat(n),o=parseFloat(n),s=a[1]}return p1(isFinite(i)&&isFinite(o),"lockOffset value should be a finite. Given %s",n),s==="%"&&(i=i*t/100,o=o*r/100),{x:i,y:o}}function Ode(e){var n=e.height,t=e.width,r=e.lockOffset,i=Array.isArray(r)?r:[r,r];p1(i.length===2,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",r);var o=sW(i,2),s=o[0],a=o[1];return[UT({height:n,lockOffset:s,width:t}),UT({height:n,lockOffset:a,width:t})]}function Bde(e){var n=window.getComputedStyle(e),t=/(auto|scroll)/,r=["overflow","overflowX","overflowY"];return r.find(function(i){return t.test(n[i])})}function cW(e){return e instanceof HTMLElement?Bde(e)?e:cW(e.parentNode):null}function kde(e){var n=window.getComputedStyle(e);return n.display==="grid"?{x:$g(n.gridColumnGap),y:$g(n.gridRowGap)}:{x:0,y:0}}var b0={TAB:9,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40},P0={Anchor:"A",Button:"BUTTON",Canvas:"CANVAS",Input:"INPUT",Option:"OPTION",Textarea:"TEXTAREA",Select:"SELECT"};function Ide(e){var n="input, textarea, select, canvas, [contenteditable]",t=e.querySelectorAll(n),r=e.cloneNode(!0),i=bde(r.querySelectorAll(n));return i.forEach(function(o,s){if(o.type!=="file"&&(o.value=t[s].value),o.type==="radio"&&o.name&&(o.name="__sortableClone__".concat(o.name)),o.tagName===P0.Canvas&&t[s].width>0&&t[s].height>0){var a=o.getContext("2d");a.drawImage(t[s],0,0)}}),r}function Tde(e){var n,t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return t=n=function(i){o8(o,i);function o(){var s,a;nb(this,o);for(var h=arguments.length,g=new Array(h),C=0;C<h;C++)g[C]=arguments[C];return a=i8(this,(s=MC(o)).call.apply(s,[this].concat(g))),pa(lo(lo(a)),"wrappedInstance",Sr.createRef()),a}return rb(o,[{key:"componentDidMount",value:function(){var a=Ym.findDOMNode(this);a.sortableHandle=!0}},{key:"getWrappedInstance",value:function(){return p1(r.with Line truncated
`,""),Ii.push(mi[il],Br);return Ii},[]):rr=QM(As,jt).trim(),Ft=xi(he,"paint","text-opacity",Qt,Je,W)}if(rr&&Ft&&!Nt){Y||(++tt,pn=Ke[tt],(!pn||!pn.getText()||pn.getFill()||pn.getStroke())&&(pn=new O0,Ke[tt]=pn),pn.setImage(void 0),pn.setGeometry(void 0)),pn.getText()||pn.setText(Be||new dse({padding:[2,2,2,2]})),Be=pn.getText();var Ia=Pe["text-transform"];Ia=="uppercase"?rr=Array.isArray(rr)?rr.map(function(ri,ya){return ya%2?ri:ri.toUpperCase()}):rr.toUpperCase():Ia=="lowercase"&&(rr=Array.isArray(rr)?rr.map(function(ri,ya){return ya%2?ri:ri.toLowerCase()}):rr.toLowerCase());var _i=Array.isArray(rr)?rr:He==2?EE(rr,xo):BE(rr,li,pi,xo);Be.setText(_i),Be.setFont(li),Be.setRotation(WM(xi(he,"layout","text-rotate",Qt,Je,W)));var Ss=xi(he,"layout","text-anchor",Qt,Je,W),Te=Y||He==1?"point":xi(he,"layout","symbol-placement",Qt,Je,W);Be.setPlacement(Te),Be.setOverflow(Te==="point");var Si=xi(he,"paint","text-halo-width",Qt,Je,W),Qn=xi(he,"layout","text-offset",Qt,Je,W),so=xi(he,"paint","text-translate",Qt,Je,W),No=0,Ji=0;if(Te=="point"){var ge="center";Ss.indexOf("left")!==-1?(ge="left",Ji=Si):Ss.indexOf("right")!==-1&&(ge="right",Ji=-Si),Be.setTextAlign(ge);var $e=xi(he,"layout","text-rotation-alignment",Qt,Je,W);Be.setRotateWithView($e=="map")}else Be.setMaxAngle(WM(xi(he,"layout","text-max-angle",Qt,Je,W))*rr.length/_i.length),Be.setTextAlign(),Be.setRotateWithView(!1);var Xt="middle";Ss.indexOf("bottom")==0?(Xt="bottom",No=-Si-.5*(ki-1)*Xi):Ss.indexOf("top")==0&&(Xt="top",No=Si+.5*(ki-1)*Xi),Be.setTextBaseline(Xt),Be.setOffsetX(Qn[0]*Xi+Ji+so[0]),Be.setOffsetY(Qn[1]*Xi+No+so[1]),ft.setColor(am(xi(he,"paint","text-color",Qt,Je,W),Ft)),Be.setFill(ft);var ln=am(xi(he,"paint","text-halo-color",Qt,Je,W),Ft);if(ln){et.setColor(ln),Si*=2;var Kt=.5*Xi;et.setWidth(Si<=Kt?Si:Kt),Be.setStroke(et)}else Be.setStroke(void 0);var Mn=xi(he,"layout","text-padding",Qt,Je,W),cr=Be.getPadding();Mn!==cr[0]&&(cr[0]=Mn,cr[1]=Mn,cr[2]=Mn,cr[3]=Mn),pn.setZIndex(bn)}}},mt=0,dt=nn.length;mt<dt;++mt)on(mt);if(tt>-1)return Ke.length=tt+1,Ke}};return e.setStyle(rt),e.set("mapbox-source",q),e.set("mapbox-layers",P),rt}var nW={exports:{}};(function(){var e;nW.exports={icon:"icons/google.svg",name:"google",title:"Google Fonts",link:"google.com/fonts",getNames:function(){return e},getLink:function(n){return"https://fonts.google.com/specimen/"+n.replace(/( )/g,"+")},normalizeName:function(n){return n}},e=["ABeeZee","Abel","Abril Fatface","Aclonica","Acme","Actor","Adamina","Advent Pro","Aguafina Script","Akronim","Aladin","Aldrich","Alef","Alegreya","Alegreya SC","Alegreya Sans","Alegreya Sans SC","Alex Brush","Alfa Slab One","Alice","Alike","Alike Angular","Allan","Allerta","Allerta Stencil","Allura","Almendra","Almendra Display","Almendra SC","Amarante","Amaranth","Amatic SC","Amethysta","Amiri","Amita","Anaheim","Andada","Andika","Angkor","Annie Use Your Telescope","Anonymous Pro","Antic","Antic Didone","Antic Slab","Anton","Arapey","Arbutus","Arbutus Slab","Architects Daughter","Archivo Black","Archivo Narrow","Arimo","Arizonia","Armata","Artifika","Arvo","Arya","Asap","Asar","Asset","Astloch","Asul","Atomic Age","Aubrey","Audiowide","Autour One","Average","Average Sans","Averia Gruesa Libre","Averia Libre","Averia Sans Libre","Averia Serif Libre","Bad Script","Balthazar","Bangers","Basic","Battambang","Baumans","Bayon","Belgrano","Belleza","BenchNine","Bentham","Berkshire Swash","Bevan","Bigelow Rules","Bigshot One","Bilbo","Bilbo Swash Caps","Biryani","Bitter","Black Ops One","Bokor","Bonbon","Boogaloo","Bowlby One","Bowlby One SC","Brawler","Bree Serif","Bubblegum Sans","Bubbler One","Buda","Buenard","Butcherman","Butterfly Kids","Cabin","Cabin Condensed","Cabin Sketch","Caesar Dressing","Cagliostro","Calligraffitti","Cambay","Cambo","Candal","Cantarell","Cantata One","Cantora One","Capriola","Cardo","Carme","Carrois Gothic","Carrois Gothic SC","Carter One","Catamaran","Caudex","Caveat","Caveat Brush","Cedarville Cursive","Ceviche One","Changa One","Chango","Chau Philomene One","Chela One","Chelsea Market","Chenla","Cherry Cream Soda","Cherry Swash","Chewy","Chicle","Chivo","Chonburi","Cinzel","Cinzel Decorative","Clicker Script","Coda","Coda Caption","Codystar","Combo","Comfortaa","Coming Soon","Concert One","Condiment","Content","Contrail One","Convergence","Cookie","Copse","Corben","Courgette","Cousine","Coustard","Covered By Your Grace","Crafty Girls","Creepster","Crete Round","Crimson Text","Croissant One","Crushed","Cuprum","Cutive","Cutive Mono","Damion","Dancing Script","Dangrek","Dawning of a New Day","Days One","Dekko","Delius","Delius Swash Caps","Delius Unicase","Della Respira","Denk One","Devonshire","Dhurjati","Didact Gothic","Diplomata","Diplomata SC","Domine","Donegal One","Doppio One","Dorsa","Dosis","Dr Sugiyama","Droid Sans","Droid Sans Mono","Droid Serif","Duru Sans","Dynalight","EB Garamond","Eagle Lake","Eater","Economica","Eczar","Ek Mukta","Electrolize","Elsie","Elsie Swash Caps","Emblema One","Emilys Candy","Enga Line truncated
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/(function(e){(function(){var n={}.hasOwnProperty;function t(){for(var o="",s=0;s<arguments.length;s++){var a=arguments[s];a&&(o=i(o,r(a)))}return o}function r(o){if(typeof o=="string"||typeof o=="number")return o;if(typeof o!="object")return"";if(Array.isArray(o))return t.apply(null,o);if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]"))return o.toString();var s="";for(var a in o)n.call(o,a)&&o[a]&&(s=i(s,a));return s}function i(o,s){return s?o?o+" "+s:o+s:o}e.exports?(t.default=t,e.exports=t):window.classNames=t})()})(aW);var ude=aW.exports;const bf=oa(ude);function K0(){var e="/home/runner/work/maputnik/maputnik/src/components/Collapser.tsx",n="e73e8fb606fcd7318a8222b2e50c576ed3ad8702",t=globalThis,r="__coverage__",i={path:"/home/runner/work/maputnik/maputnik/src/components/Collapser.tsx",statementMap:{0:{start:{line:6,column:22},end:{line:10,column:5}},1:{start:{line:11,column:4},end:{line:11,column:154}}},fnMap:{0:{name:"(anonymous_0)",decl:{start:{line:5,column:2},end:{line:5,column:3}},loc:{start:{line:5,column:11},end:{line:12,column:3}},line:5}},branchMap:{0:{loc:{start:{line:11,column:11},end:{line:11,column:153}},type:"cond-expr",locations:[{start:{line:11,column:52},end:{line:11,column:92}},{start:{line:11,column:111},end:{line:11,column:153}}],line:11}},s:{0:0,1:0},f:{0:0},b:{0:[0,0]},inputSourceMap:{version:3,file:null,sources:["/home/runner/work/maputnik/maputnik/src/components/Collapser.tsx"],names:[],mappings:"AAeoC;AAfpC,OAAO,WAAW;AAClB,SAAQ,iBAAiB,qBAAoB;AAO7C,qBAAqB,kBAAkB,MAAM,UAA0B;AAAA,EACrE,SAAS;AACP,UAAM,YAAY;AAAA,MAChB,OAAO;AAAA,MACP,QAAQ;AAAA,MACR,GAAG,KAAK,MAAM;AAAA,IAChB;AACA,WAAO,KAAK,MAAM,cAAc,oBAAC,iBAAc,OAAO,WAAU,IAAK,oBAAC,mBAAgB,OAAO,WAAW;AAAA,EAC1G;AACF;"},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"e73e8fb606fcd7318a8222b2e50c576ed3ad8702"},o=t[r]||(t[r]={});(!o[e]||o[e].hash!==n)&&(o[e]=i);var s=o[e];return K0=function(){return s},s}K0();class Ade extends xn.Component{render(){K0().f[0]++;const n=(K0().s[0]++,{width:20,height:20,...this.props.style});return K0().s[1]++,this.props.isCollapsed?(K0().b[0][0]++,N.jsx(tee,{style:n})):(K0().b[0][1]++,N.jsx(eee,{style:n}))}}function Qg(){var e="/home/runner/work/maputnik/maputnik/src/components/LayerListGroup.tsx",n="b04bfec534013c327fd210571832bbd2813a944a",t=globalThis,r="__coverage__",i={path:"/home/runner/work/maputnik/maputnik/src/components/LayerListGroup.tsx",statementMap:{0:{start:{line:6,column:4},end:{line:32,column:9}},1:{start:{line:11,column:25},end:{line:11,column:72}}},fnMap:{0:{name:"(anonymous_0)",decl:{start:{line:5,column:2},end:{line:5,column:3}},loc:{start:{line:5,column:11},end:{line:33,column:3}},line:5},1:{name:"(anonymous_1)",decl:{start:{line:11,column:17},end:{line:11,column:18}},loc:{start:{line:11,column:25},end:{line:11,column:72}},line:11}},branchMap:{},s:{0:0,1:0},f:{0:0,1:0},b:{},inputSourceMap:{version:3,file:null,sources:["/home/runner/work/maputnik/maputnik/src/components/LayerListGroup.tsx"],names:[],mappings:"AAcM,SAIE,KAJF;AAdN,OAAO,WAAW;AAClB,OAAO,eAAe;AAUtB,qBAAqB,uBAAuB,MAAM,UAA+B;AAAA,EAC/E,SAAS;AACP,WAAO,oBAAC,QAAG,WAAU,6BACnB;AAAA,MAAC;AAAA;AAAA,QAAI,WAAU;AAAA,QACb,eAAa,sBAAoB,KAAK,MAAM,aAAa;AAAA,QACzD,SAAS,QAAM,KAAK,MAAM,eAAe,CAAC,KAAK,MAAM,QAAQ;AAAA,QAE7D;AAAA;AAAA,YAAC;AAAA;AAAA,cACC,WAAU;AAAA,cACV,iBAAe,KAAK,MAAM,eAAe;AAAA,cACzC,iBAAe,KAAK,MAAM;AAAA,cAEzB,eAAK,MAAM;AAAA;AAAA,UACd;AAAA,UACA,oBAAC,UAAK,WAAU,kBAAiB;AAAA,UACjC;AAAA,YAAC;AAAA;AAAA,cACC,OAAO,EAAE,QAAQ,IAAI,OAAO,GAAG;AAAA,cAC/B,aAAa,KAAK,MAAM;AAAA;AAAA,UAC1B;AAAA;AAAA;AAAA,IACF,GACF;AAAA,EACF;AACF;"},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"b04bfec534013c327fd210571832bbd2813a944a"},o=t[r]||(t[r]={});(!o[e]||o[e].hash!==n)&&(o[e]=i);var s=o[e];return Qg=function(){return s},s}Qg();class cde extends xn.Component{render(){return Qg().f[0]++,Qg().s[0]++,N.jsx("li",{className:"maputnik-layer-list-group",children:N.jsxs("div",{className:"maputnik-layer-list-group-header","data-wd-key":"layer-list-group:"+this.props["data-wd-key"],onClick:n=>(Qg().f[1]++,Qg().s[1]++,this.props.onActiveToggle(!this.props.isActive)),children:[N.jsx("button",{className:"maputnik-layer-list-group-title","aria-controls":this.props["aria-controls"],"aria-expanded":this.props.isActive,children:this.props.title}),N.jsx("span",{className:"maputnik-space"}),N.jsx(Ade,{style:{height:14,width:14},isCollapsed:this.props.isActive})]})})}}function wC(){return wC=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},wC.apply(this,arguments)}function dde(e){if(Array.isArray(e))return e}function hde(e,n){var t=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t!=null){var r,i,o,s,a=[],h=!0,g=!1;try{if(o=(t=t.call(e)).next,n===0){if(Object(t)!==t)return;h=!1}else for(;!(h=(r=o.call(t)).done)&&(a.push(r.value),a.length!==n);h=!0)Line truncated
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function lW(e,n){return dde(e)||hde(e,n)||sW(e,n)||fde()}function Ky(e){"@babel/helpers - typeof";return Ky=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Ky(e)}function pde(e,n){if(Ky(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var r=t.call(e,n||"default");if(Ky(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(e)}function uW(e){var n=pde(e,"string");return Ky(n)=="symbol"?n:String(n)}function pa(e,n,t){return n=uW(n),n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function YM(e){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?Object(arguments[n]):{},r=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&r.push.apply(r,Object.getOwnPropertySymbols(t).filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.forEach(function(i){pa(e,i,t[i])})}return e}function nb(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function LT(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,uW(r.key),r)}}function rb(e,n,t){return n&&LT(e.prototype,n),t&&LT(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function lo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r8(e,n){if(n&&(Ky(n)==="object"||typeof n=="function"))return n;if(n!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return lo(e)}function MC(e){return MC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},MC(e)}function KE(e,n){return KE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},KE(e,n)}function i8(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&KE(e,n)}var mde=function(e,n,t,r,i,o,s,a){if(!e){var h;if(n===void 0)h=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var g=[t,r,i,o,s,a],C=0;h=new Error(n.replace(/%s/g,function(){return g[C++]})),h.name="Invariant Violation"}throw h.framesToPop=1,h}},gde=mde;const p1=oa(gde);function yde(e){if(Array.isArray(e))return TE(e)}function vde(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function _de(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Cde(e){return yde(e)||vde(e)||sW(e)||_de()}var bde=function(){function e(){nb(this,e),pa(this,"refs",{})}return rb(e,[{key:"add",value:function(t,r){this.refs[t]||(this.refs[t]=[]),this.refs[t].push(r)}},{key:"remove",value:function(t,r){var i=this.getIndex(t,r);i!==-1&&this.refs[t].splice(i,1)}},{key:"isActive",value:function(){return this.active}},{key:"getActive",value:function(){var t=this;return this.refs[this.active.collection].find(function(r){var i=r.node;return i.sortableInfo.index==t.active.index})}},{key:"getIndex",value:function(t,r){return this.refs[t].indexOf(r)}},{key:"getOrderedRefs",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.active.collection;return this.refs[t].sort(xde)}}]),e}();function xde(e,n){var t=e.node.sortableInfo.index,r=n.node.sortableInfo.index;return t-r}function AW(e,n){return Object.keys(e).reduce(function(t,r){return n.indexOf(r)===-1&&(t[r]=e[r]),t},{})}var pg={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},cW=function(){if(typeof window>"u"||typeof document>"u")return"";var e=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],n=(Array.prototype.slice.call(e).join("").match(/-(moz|webkit|ms)-/)||e.OLink===""&&["","o"])[1];switch(n){case"ms":return"ms";default:return n&&n.length?n[0].toUpperCase()+n.substr(1):""}}();function Rx(e,n){Object.keys(n).forEach(function(t){e.style[t]=n[t]})}function zx(e,n){e.style["".concat(cW,"Transform")]=n==null?"":"translate3d(".concat(n.x,"px,").concat(n.y,"px,0)")}function qM(e,n){e.style["".concat(cW,"TransitionDuration")]=n==null?"":"".concat(n,"ms")}function d_(e,n){for(;e;){if(n(e))return e;e=e.parentNode}return null}function UT(e,n,t){return Math.max(e,Math.min(t,n))}function $g(e){return e.substr(-2)==="px"?parseFloat(e):0}function wde(e){var n=window.getComputedStyle(e);return{bottom:$g(n.marginBottom),left:$g(n.marginLeft),right:$g(n.marginRight),top:$g(n.marginTop)}}function o8(e,n){var t=n.displayName||n.name;return t?"".concat(e,"(").concat(t,")"):e}function VM(e,n){var t=e.getBoundingClientRect();return{top:t.top+n.top,left:t.left+n.left}}function $v(e){return e.touches&&e.touches.length?{x:e.touches[0].pageX,y:e.touches[0].pageY}:e.changedTouches&&e.changedTouches.length?{x:e.changedTouches[0].pageX,y:e.changedTouches[0].pageY}:{x:e.pageX,y:e.pageY}}function Mde(e){return e.touches&&e.touches.length||e.changedTouches&&e.changedTouches.length}function w2(e,n){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{left:0,top:0};if(e){var r={left:t.left+e.offsetLeft,top:t.top+e.offsetTop};return e.parentNode===n?r:w2(e.parentNode,n,r)}}function Sde(e,n,t){return e<t&&e>n?e-1:e>t&&e<n?e+1:e}function RT(e){var n=e.lockOffset,t=e.width,r=e.height,i=n,o=n,s="px";if(typeof n=="string"){var a=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(n);p1(a!==null,'lockOffset value should be a number or a string of a number followed by "px" or "%". Given %s',n),i=parseFloat(n),o=parseFloat(n),s=a[1]}return p1(isFinite(i)&&isFinite(o),"lockOffset value should be a finite. Given %s",n),s==="%"&&(i=i*t/100,o=o*r/100),{x:i,y:o}}function Ede(e){var n=e.height,t=e.width,r=e.lockOffset,i=Array.isArray(r)?r:[r,r];p1(i.length===2,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",r);var o=lW(i,2),s=o[0],a=o[1];return[RT({height:n,lockOffset:s,width:t}),RT({height:n,lockOffset:a,width:t})]}function Ode(e){var n=window.getComputedStyle(e),t=/(auto|scroll)/,r=["overflow","overflowX","overflowY"];return r.find(function(i){return t.test(n[i])})}function dW(e){return e instanceof HTMLElement?Ode(e)?e:dW(e.parentNode):null}function Bde(e){var n=window.getComputedStyle(e);return n.display==="grid"?{x:$g(n.gridColumnGap),y:$g(n.gridRowGap)}:{x:0,y:0}}var b0={TAB:9,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40},P0={Anchor:"A",Button:"BUTTON",Canvas:"CANVAS",Input:"INPUT",Option:"OPTION",Textarea:"TEXTAREA",Select:"SELECT"};function kde(e){var n="input, textarea, select, canvas, [contenteditable]",t=e.querySelectorAll(n),r=e.cloneNode(!0),i=Cde(r.querySelectorAll(n));return i.forEach(function(o,s){if(o.type!=="file"&&(o.value=t[s].value),o.type==="radio"&&o.name&&(o.name="__sortableClone__".concat(o.name)),o.tagName===P0.Canvas&&t[s].width>0&&t[s].height>0){var a=o.getContext("2d");a.drawImage(t[s],0,0)}}),r}function Ide(e){var n,t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return t=n=function(i){i8(o,i);function o(){var s,a;nb(this,o);for(var h=arguments.length,g=new Array(h),C=0;C<h;C++)g[C]=arguments[C];return a=r8(this,(s=MC(o)).call.apply(s,[this].concat(g))),pa(lo(lo(a)),"wrappedInstance",Sr.createRef()),a}return rb(o,[{key:"componentDidMount",value:function(){var a=Ym.findDOMNode(this);a.sortableHandle=!0}},{key:"getWrappedInstance",value:function(){return p1(r.with Line truncated
* tabbable 5.3.3
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
*/var mW=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],X3=mW.join(","),gW=typeof Element>"u",m1=gW?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,PE=!gW&&Element.prototype.getRootNode?function(e){return e.getRootNode()}:function(e){return e.ownerDocument},yW=function(n,t,r){var i=Array.prototype.slice.apply(n.querySelectorAll(X3));return t&&m1.call(n,X3)&&i.unshift(n),i=i.filter(r),i},vW=function e(n,t,r){for(var i=[],o=Array.from(n);o.length;){var s=o.shift();if(s.tagName==="SLOT"){var a=s.assignedElements(),h=a.length?a:s.children,g=e(h,!0,r);r.flatten?i.push.apply(i,g):i.push({scope:s,candidates:g})}else{var C=m1.call(s,X3);C&&r.filter(s)&&(t||!n.includes(s))&&i.push(s);var B=s.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(s),k=!r.shadowRootFilter||r.shadowRootFilter(s);if(B&&k){var P=e(B===!0?s.children:B.children,!0,r);r.flatten?i.push.apply(i,P):i.push({scope:s,candidates:P})}else o.unshift.apply(o,s.children)}}return i},_W=function(n,t){return n.tabIndex<0&&(t||/^(AUDIO|VIDEO|DETAILS)$/.test(n.tagName)||n.isContentEditable)&&isNaN(parseInt(n.getAttribute("tabindex"),10))?0:n.tabIndex},Qde=function(n,t){return n.tabIndex===t.tabIndex?n.documentOrder-t.documentOrder:n.tabIndex-t.tabIndex},CW=function(n){return n.tagName==="INPUT"},$de=function(n){return CW(n)&&n.type==="hidden"},Yde=function(n){var t=n.tagName==="DETAILS"&&Array.prototype.slice.apply(n.children).some(function(r){return r.tagName==="SUMMARY"});return t},qde=function(n,t){for(var r=0;r<n.length;r++)if(n[r].checked&&n[r].form===t)return n[r]},Vde=function(n){if(!n.name)return!0;var t=n.form||PE(n),r=function(a){return t.querySelectorAll('input[type="radio"][name="'+a+'"]')},i;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")i=r(window.CSS.escape(n.name));else try{i=r(n.name)}catch(s){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",s.message),!1}var o=qde(i,n.form);return!o||o===n},Hde=function(n){return CW(n)&&n.type==="radio"},Zde=function(n){return Hde(n)&&!Vde(n)},zT=function(n){var t=n.getBoundingClientRect(),r=t.width,i=t.height;return r===0&&i===0},Xde=function(n,t){var r=t.displayCheck,i=t.getShadowRoot;if(getComputedStyle(n).visibility==="hidden")return!0;var o=m1.call(n,"details>summary:first-of-type"),s=o?n.parentElement:n;if(m1.call(s,"details:not([open]) *"))return!0;var a=PE(n).host,h=(a==null?void 0:a.ownerDocument.contains(a))||n.ownerDocument.contains(n);if(!r||r==="full"){if(typeof i=="function"){for(var g=n;n;){var C=n.parentElement,B=PE(n);if(C&&!C.shadowRoot&&i(C)===!0)return zT(n);n.assignedSlot?n=n.assignedSlot:!C&&B!==n.ownerDocument?n=B.host:n=C}n=g}if(h)return!n.getClientRects().length}else if(r==="non-zero-area")return zT(n);return!1},Jde=function(n){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(n.tagName))for(var t=n.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var r=0;r<t.children.length;r++){var i=t.children.item(r);if(i.tagName==="LEGEND")return m1.call(t,"fieldset[disabled] *")?!0:!i.contains(n)}return!0}t=t.parentElement}return!1},J3=function(n,t){return!(t.disabled||$de(t)||Xde(t,n)||Yde(t)||Jde(t))},FE=function(n,t){return!(Zde(t)||_W(t)<0||!J3(n,t))},ehe=function(n){var t=parseInt(n.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},the=function e(n){var t=[],r=[];return n.forEach(function(i,o){var s=!!i.scope,a=s?i.scope:i,h=_W(a,s),g=s?e(i.candidates):a;h===0?s?t.push.apply(t,g):t.push(a):r.push({documentOrder:o,tabIndex:h,item:i,isScope:s,content:g})}),r.sort(Qde).reduce(function(i,o){return o.isScope?i.push.apply(i,o.content):i.push(o.content),i},[]).concat(t)},bW=function(n,t){t=t||{};var r;return t.getShadowRoot?r=vW([n],t.includeContainer,{filter:FE.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:ehe}):r=yW(n,t.includeContainer,FE.bind(null,t)),the(r)},xW=function(n,t){t=t||{};var r;return t.getShadowRoot?r=vW([n],t.includeContainer,{filter:J3.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):r=yW(n,t.includeContainer,J3.bind(null,t)),r},h_=function(n,t){if(t=t||{},!n)throw new Error("No node provided");return m1.call(n,X3)===!1?!1:FE(t,n)},nhe=mW.concat("iframe").join(","),M2=function(n,t){if(t=t||{},!n)throw new Error("No node provided");return m1.call(n,nhe)===!1?!1:J3(t,n)};const rhe=Object.freeze(Object.defineProperty({__proto__:null,focusable:xW,isFocusable:M2,isTabbable:h_,tabbable:bW},Symbol.toStringTag,{value:"Module"}));/*!
*/var gW=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],Z3=gW.join(","),yW=typeof Element>"u",m1=yW?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,FE=!yW&&Element.prototype.getRootNode?function(e){return e.getRootNode()}:function(e){return e.ownerDocument},vW=function(n,t,r){var i=Array.prototype.slice.apply(n.querySelectorAll(Z3));return t&&m1.call(n,Z3)&&i.unshift(n),i=i.filter(r),i},_W=function e(n,t,r){for(var i=[],o=Array.from(n);o.length;){var s=o.shift();if(s.tagName==="SLOT"){var a=s.assignedElements(),h=a.length?a:s.children,g=e(h,!0,r);r.flatten?i.push.apply(i,g):i.push({scope:s,candidates:g})}else{var C=m1.call(s,Z3);C&&r.filter(s)&&(t||!n.includes(s))&&i.push(s);var B=s.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(s),k=!r.shadowRootFilter||r.shadowRootFilter(s);if(B&&k){var P=e(B===!0?s.children:B.children,!0,r);r.flatten?i.push.apply(i,P):i.push({scope:s,candidates:P})}else o.unshift.apply(o,s.children)}}return i},CW=function(n,t){return n.tabIndex<0&&(t||/^(AUDIO|VIDEO|DETAILS)$/.test(n.tagName)||n.isContentEditable)&&isNaN(parseInt(n.getAttribute("tabindex"),10))?0:n.tabIndex},Gde=function(n,t){return n.tabIndex===t.tabIndex?n.documentOrder-t.documentOrder:n.tabIndex-t.tabIndex},bW=function(n){return n.tagName==="INPUT"},Qde=function(n){return bW(n)&&n.type==="hidden"},$de=function(n){var t=n.tagName==="DETAILS"&&Array.prototype.slice.apply(n.children).some(function(r){return r.tagName==="SUMMARY"});return t},Yde=function(n,t){for(var r=0;r<n.length;r++)if(n[r].checked&&n[r].form===t)return n[r]},qde=function(n){if(!n.name)return!0;var t=n.form||FE(n),r=function(a){return t.querySelectorAll('input[type="radio"][name="'+a+'"]')},i;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")i=r(window.CSS.escape(n.name));else try{i=r(n.name)}catch(s){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",s.message),!1}var o=Yde(i,n.form);return!o||o===n},Vde=function(n){return bW(n)&&n.type==="radio"},Hde=function(n){return Vde(n)&&!qde(n)},jT=function(n){var t=n.getBoundingClientRect(),r=t.width,i=t.height;return r===0&&i===0},Zde=function(n,t){var r=t.displayCheck,i=t.getShadowRoot;if(getComputedStyle(n).visibility==="hidden")return!0;var o=m1.call(n,"details>summary:first-of-type"),s=o?n.parentElement:n;if(m1.call(s,"details:not([open]) *"))return!0;var a=FE(n).host,h=(a==null?void 0:a.ownerDocument.contains(a))||n.ownerDocument.contains(n);if(!r||r==="full"){if(typeof i=="function"){for(var g=n;n;){var C=n.parentElement,B=FE(n);if(C&&!C.shadowRoot&&i(C)===!0)return jT(n);n.assignedSlot?n=n.assignedSlot:!C&&B!==n.ownerDocument?n=B.host:n=C}n=g}if(h)return!n.getClientRects().length}else if(r==="non-zero-area")return jT(n);return!1},Xde=function(n){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(n.tagName))for(var t=n.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var r=0;r<t.children.length;r++){var i=t.children.item(r);if(i.tagName==="LEGEND")return m1.call(t,"fieldset[disabled] *")?!0:!i.contains(n)}return!0}t=t.parentElement}return!1},X3=function(n,t){return!(t.disabled||Qde(t)||Zde(t,n)||$de(t)||Xde(t))},DE=function(n,t){return!(Hde(t)||CW(t)<0||!X3(n,t))},Jde=function(n){var t=parseInt(n.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},ehe=function e(n){var t=[],r=[];return n.forEach(function(i,o){var s=!!i.scope,a=s?i.scope:i,h=CW(a,s),g=s?e(i.candidates):a;h===0?s?t.push.apply(t,g):t.push(a):r.push({documentOrder:o,tabIndex:h,item:i,isScope:s,content:g})}),r.sort(Gde).reduce(function(i,o){return o.isScope?i.push.apply(i,o.content):i.push(o.content),i},[]).concat(t)},xW=function(n,t){t=t||{};var r;return t.getShadowRoot?r=_W([n],t.includeContainer,{filter:DE.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:Jde}):r=vW(n,t.includeContainer,DE.bind(null,t)),ehe(r)},wW=function(n,t){t=t||{};var r;return t.getShadowRoot?r=_W([n],t.includeContainer,{filter:X3.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):r=vW(n,t.includeContainer,X3.bind(null,t)),r},h_=function(n,t){if(t=t||{},!n)throw new Error("No node provided");return m1.call(n,Z3)===!1?!1:DE(t,n)},the=gW.concat("iframe").join(","),M2=function(n,t){if(t=t||{},!n)throw new Error("No node provided");return m1.call(n,the)===!1?!1:X3(t,n)};const nhe=Object.freeze(Object.defineProperty({__proto__:null,focusable:wW,isFocusable:M2,isTabbable:h_,tabbable:xW},Symbol.toStringTag,{value:"Module"}));/*!
* focus-trap 6.9.4
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
*/function jT(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),t.push.apply(t,r)}return t}function WT(e){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?arguments[n]:{};n%2?jT(Object(t),!0).forEach(function(r){ihe(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):jT(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function ihe(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var NT=function(){var e=[];return{activateTrap:function(t){if(e.length>0){var r=e[e.length-1];r!==t&&r.pause()}var i=e.indexOf(t);i===-1||e.splice(i,1),e.push(t)},deactivateTrap:function(t){var r=e.indexOf(t);r!==-1&&e.splice(r,1),e.length>0&&e[e.length-1].unpause()}}}(),ohe=function(n){return n.tagName&&n.tagName.toLowerCase()==="input"&&typeof n.select=="function"},ahe=function(n){return n.key==="Escape"||n.key==="Esc"||n.keyCode===27},she=function(n){return n.key==="Tab"||n.keyCode===9},GT=function(n){return setTimeout(n,0)},QT=function(n,t){var r=-1;return n.every(function(i,o){return t(i)?(r=o,!1):!0}),r},Yv=function(n){for(var t=arguments.length,r=new Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];return typeof n=="function"?n.apply(void 0,r):n},jx=function(n){return n.target.shadowRoot&&typeof n.composedPath=="function"?n.composedPath()[0]:n.target},lhe=function(n,t){var r=(t==null?void 0:t.document)||document,i=WT({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0},t),o={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},s,a=function(ae,se,ye){return ae&&ae[se]!==void 0?ae[se]:i[ye||se]},h=function(ae){return o.containerGroups.findIndex(function(se){var ye=se.container,De=se.tabbableNodes;return ye.contains(ae)||De.find(function(Ne){return Ne===ae})})},g=function(ae){var se=i[ae];if(typeof se=="function"){for(var ye=arguments.length,De=new Array(ye>1?ye-1:0),Ne=1;Ne<ye;Ne++)De[Ne-1]=arguments[Ne];se=se.apply(void 0,De)}if(se===!0&&(se=void 0),!se){if(se===void 0||se===!1)return se;throw new Error("`".concat(ae,"` was specified but was not a node, or did not return a node"))}var et=se;if(typeof se=="string"&&(et=r.querySelector(se),!et))throw new Error("`".concat(ae,"` as selector refers to no known node"));return et},C=function(){var ae=g("initialFocus");if(ae===!1)return!1;if(ae===void 0)if(h(r.activeElement)>=0)ae=r.activeElement;else{var se=o.tabbableGroups[0],ye=se&&se.firstTabbableNode;ae=ye||g("fallbackFocus")}if(!ae)throw new Error("Your focus-trap needs to have at least one focusable element");return ae},B=function(){if(o.containerGroups=o.containers.map(function(ae){var se=bW(ae,i.tabbableOptions),ye=xW(ae,i.tabbableOptions);return{container:ae,tabbableNodes:se,focusableNodes:ye,firstTabbableNode:se.length>0?se[0]:null,lastTabbableNode:se.length>0?se[se.length-1]:null,nextTabbableNode:function(Ne){var et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,ft=ye.findIndex(function(Ke){return Ke===Ne});if(!(ft<0))return et?ye.slice(ft+1).find(function(Ke){return h_(Ke,i.tabbableOptions)}):ye.slice(0,ft).reverse().find(function(Ke){return h_(Ke,i.tabbableOptions)})}}}),o.tabbableGroups=o.containerGroups.filter(function(ae){return ae.tabbableNodes.length>0}),o.tabbableGroups.length<=0&&!g("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},k=function Ae(ae){if(ae!==!1&&ae!==r.activeElement){if(!ae||!ae.focus){Ae(C());return}ae.focus({preventScroll:!!i.preventScroll}),o.mostRecentlyFocusedNode=ae,ohe(ae)&&ae.select()}},P=function(ae){var se=g("setReturnFocus",ae);return se||(se===!1?!1:ae)},U=function(ae){var se=jx(ae);if(!(h(se)>=0)){if(Yv(i.clickOutsideDeactivates,ae)){s.deactivate({returnFocus:i.returnFocusOnDeactivate&&!M2(se,i.tabbableOptions)});return}Yv(i.allowOutsideClick,ae)||ae.preventDefault()}},Z=function(ae){var se=jx(ae),ye=h(se)>=0;ye||se instanceof Document?ye&&(o.mostRecentlyFocusedNode=se):(ae.stopImmediatePropagation(),k(o.mostRecentlyFocusedNode||C()))},W=function(ae){var se=jx(ae);B();var ye=null;if(o.tabbableGroups.length>0){var De=h(se),Ne=De>=0?o.containerGroups[De]:void 0;if(De<0)ae.shiftKey?ye=o.tabbableGroups[o.tabbableGroups.length-1].lastTabbableNode:ye=o.tabbableGroups[0].firstTabbableNode;else if(ae.shiftKey){var et=QT(o.tabbableGroups,function(jt){var nn=jt.firstTabbableNode;return se===nn});if(et<0&&(Ne.container===se||M2(se,i.tabbableOptions)&&!h_(se,i.tabbableOptions)&&!Ne.nextTabbableNode(se,!1))&&(et=De),et>=0){var ft=et===0?o.tabbableGroups.length-1:et-1,Ke=o.tabbableGroups[ft];ye=Ke.lastTabbableNode}}else{var rt=QT(o.tabbableGroups,function(jt){var nLine truncated
*/function WT(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),t.push.apply(t,r)}return t}function NT(e){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?arguments[n]:{};n%2?WT(Object(t),!0).forEach(function(r){rhe(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):WT(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function rhe(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var GT=function(){var e=[];return{activateTrap:function(t){if(e.length>0){var r=e[e.length-1];r!==t&&r.pause()}var i=e.indexOf(t);i===-1||e.splice(i,1),e.push(t)},deactivateTrap:function(t){var r=e.indexOf(t);r!==-1&&e.splice(r,1),e.length>0&&e[e.length-1].unpause()}}}(),ihe=function(n){return n.tagName&&n.tagName.toLowerCase()==="input"&&typeof n.select=="function"},ohe=function(n){return n.key==="Escape"||n.key==="Esc"||n.keyCode===27},ahe=function(n){return n.key==="Tab"||n.keyCode===9},QT=function(n){return setTimeout(n,0)},$T=function(n,t){var r=-1;return n.every(function(i,o){return t(i)?(r=o,!1):!0}),r},Yv=function(n){for(var t=arguments.length,r=new Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];return typeof n=="function"?n.apply(void 0,r):n},jx=function(n){return n.target.shadowRoot&&typeof n.composedPath=="function"?n.composedPath()[0]:n.target},she=function(n,t){var r=(t==null?void 0:t.document)||document,i=NT({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0},t),o={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},s,a=function(ae,se,ye){return ae&&ae[se]!==void 0?ae[se]:i[ye||se]},h=function(ae){return o.containerGroups.findIndex(function(se){var ye=se.container,De=se.tabbableNodes;return ye.contains(ae)||De.find(function(Ne){return Ne===ae})})},g=function(ae){var se=i[ae];if(typeof se=="function"){for(var ye=arguments.length,De=new Array(ye>1?ye-1:0),Ne=1;Ne<ye;Ne++)De[Ne-1]=arguments[Ne];se=se.apply(void 0,De)}if(se===!0&&(se=void 0),!se){if(se===void 0||se===!1)return se;throw new Error("`".concat(ae,"` was specified but was not a node, or did not return a node"))}var et=se;if(typeof se=="string"&&(et=r.querySelector(se),!et))throw new Error("`".concat(ae,"` as selector refers to no known node"));return et},C=function(){var ae=g("initialFocus");if(ae===!1)return!1;if(ae===void 0)if(h(r.activeElement)>=0)ae=r.activeElement;else{var se=o.tabbableGroups[0],ye=se&&se.firstTabbableNode;ae=ye||g("fallbackFocus")}if(!ae)throw new Error("Your focus-trap needs to have at least one focusable element");return ae},B=function(){if(o.containerGroups=o.containers.map(function(ae){var se=xW(ae,i.tabbableOptions),ye=wW(ae,i.tabbableOptions);return{container:ae,tabbableNodes:se,focusableNodes:ye,firstTabbableNode:se.length>0?se[0]:null,lastTabbableNode:se.length>0?se[se.length-1]:null,nextTabbableNode:function(Ne){var et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,ft=ye.findIndex(function(Ke){return Ke===Ne});if(!(ft<0))return et?ye.slice(ft+1).find(function(Ke){return h_(Ke,i.tabbableOptions)}):ye.slice(0,ft).reverse().find(function(Ke){return h_(Ke,i.tabbableOptions)})}}}),o.tabbableGroups=o.containerGroups.filter(function(ae){return ae.tabbableNodes.length>0}),o.tabbableGroups.length<=0&&!g("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},k=function Ae(ae){if(ae!==!1&&ae!==r.activeElement){if(!ae||!ae.focus){Ae(C());return}ae.focus({preventScroll:!!i.preventScroll}),o.mostRecentlyFocusedNode=ae,ihe(ae)&&ae.select()}},P=function(ae){var se=g("setReturnFocus",ae);return se||(se===!1?!1:ae)},U=function(ae){var se=jx(ae);if(!(h(se)>=0)){if(Yv(i.clickOutsideDeactivates,ae)){s.deactivate({returnFocus:i.returnFocusOnDeactivate&&!M2(se,i.tabbableOptions)});return}Yv(i.allowOutsideClick,ae)||ae.preventDefault()}},Z=function(ae){var se=jx(ae),ye=h(se)>=0;ye||se instanceof Document?ye&&(o.mostRecentlyFocusedNode=se):(ae.stopImmediatePropagation(),k(o.mostRecentlyFocusedNode||C()))},W=function(ae){var se=jx(ae);B();var ye=null;if(o.tabbableGroups.length>0){var De=h(se),Ne=De>=0?o.containerGroups[De]:void 0;if(De<0)ae.shiftKey?ye=o.tabbableGroups[o.tabbableGroups.length-1].lastTabbableNode:ye=o.tabbableGroups[0].firstTabbableNode;else if(ae.shiftKey){var et=$T(o.tabbableGroups,function(jt){var nn=jt.firstTabbableNode;return se===nn});if(et<0&&(Ne.container===se||M2(se,i.tabbableOptions)&&!h_(se,i.tabbableOptions)&&!Ne.nextTabbableNode(se,!1))&&(et=De),et>=0){var ft=et===0?o.tabbableGroups.length-1:et-1,Ke=o.tabbableGroups[ft];ye=Ke.lastTabbableNode}}else{var rt=$T(o.tabbableGroups,function(jt){var nLine truncated
* In categorical functions, when the feature value does not match any of the stop domain values.
* In property and zoom-and-property functions, when a feature does not contain a value for the specified property.
* In identity functions, when the feature value is not valid for the style property (for example, if the function is being used for a \`circle-color\` property but the feature property value is not a string or not a valid color).
* In interval or exponential property and zoom-and-property functions, when the feature value is not numeric.
If no default is provided, the style property's default is used in these circumstances.`}},function_stop:afe,expression:sfe,expression_name:lfe,light:ufe,sky:Afe,terrain:cfe,paint:dfe,paint_fill:hfe,"paint_fill-extrusion":{"fill-extrusion-opacity":{type:"number",default:1,minimum:0,maximum:1,doc:"The opacity of the entire fill extrusion layer. This is rendered on a per-layer, not per-feature, basis, and data-driven styling is not available.",transition:!0,"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-color":{type:"color",default:"#000000",doc:"The base color of the extruded fill. The extrusion's surfaces will be shaded differently based on this color in combination with the root `light` settings. If this color is specified as `rgba` with an alpha component, the alpha component will be ignored; use `fill-extrusion-opacity` to set layer opacity.",transition:!0,requires:[{"!":"fill-extrusion-pattern"}],"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"},"data-driven styling":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},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",doc:"The geometry's offset. Values are [x, y] where negatives indicate left and up (on the flat plane), respectively.","sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-translate-anchor":{type:"enum",values:{map:{doc:"The fill extrusion is translated relative to the map."},viewport:{doc:"The fill extrusion is translated relative to the viewport."}},doc:"Controls the frame of reference for `fill-extrusion-translate`.",default:"map",requires:["fill-extrusion-translate"],"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-pattern":{type:"resolvedImage",transition:!0,doc:"Name of image in sprite to use for drawing images on extruded fills. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.","sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"},"data-driven styling":{js:"0.49.0",android:"6.5.0",macos:"0.11.0",ios:"4.4.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"fill-extrusion-height":{type:"number",default:0,minimum:0,units:"meters",doc:"The height with which to extrude this layer.",transition:!0,"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"},"data-driven styling":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-base":{type:"number",default:0,minimum:0,units:"meters",doc:"The height with which to extrude the base of this layer. Must be less than or equal to `fill-extrusion-height`.",transition:!0,requires:["fill-extrusion-height"],"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"},"data-driven styling":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-vertical-gradient":{type:"boolean",default:!0,doc:"Whether to apply a vertical gradient to the sides of a fill-extrusion layer. If true, sides will be shaded slightly darker farther down.",transition:!1,"sdk-support":{"basic functionality":{js:"0.50.0",ios:"4.7.0",macos:"0.13.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_line:ffe,paint_circle:pfe,paint_heatmap:mfe,paint_symbol:gfe,paint_raster:yfe,paint_hillshade:vfe,paint_background:_fe,transition:Cfe,"property-type":{"data-driven":{type:"property-type",doc:"Property is interpolable and can be represented using a property expression."},"cross-faded":{type:"property-type",doc:"Property is non-interpolable; rather, its values will be cross-faded to smoothly transition between integer zooms."},"cross-faded-data-driven":{type:"property-type",doc:"Property is non-interpolable; rather, its values will be cross-faded to smoothly transition between integer zooms. It can be represented using a property expression."},"color-ramp":{type:"property-type",doc:"Property should be specified using a color ramp from which the output color can be sampled based on a property calculation."},"data-constant":{type:"property-type",doLine truncated
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function rme(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var ime=function e(n){var t=this,r=n.expanded,i=r===void 0?[]:r,o=n.allowMultipleExpanded,s=o===void 0?!1:o,a=n.allowZeroExpanded,h=a===void 0?!1:a;D5(this,e),ls(this,"expanded",void 0),ls(this,"allowMultipleExpanded",void 0),ls(this,"allowZeroExpanded",void 0),ls(this,"toggleExpanded",function(g){if(t.isItemDisabled(g))return t;var C=t.isItemExpanded(g);return C?t.augment({expanded:t.expanded.filter(function(B){return B!==g})}):t.augment({expanded:t.allowMultipleExpanded?[].concat(Zpe(t.expanded),[g]):[g]})}),ls(this,"isItemDisabled",function(g){var C=t.isItemExpanded(g),B=t.expanded.length===1;return!!(C&&!t.allowZeroExpanded&&B)}),ls(this,"isItemExpanded",function(g){return t.expanded.indexOf(g)!==-1}),ls(this,"getPanelAttributes",function(g,C){var B=C??t.isItemExpanded(g);return{role:t.allowMultipleExpanded?void 0:"region","aria-hidden":t.allowMultipleExpanded?!B:void 0,"aria-labelledby":t.getButtonId(g),id:t.getPanelId(g),hidden:B?void 0:!0}}),ls(this,"getHeadingAttributes",function(){return{role:"heading"}}),ls(this,"getButtonAttributes",function(g,C){var B=C??t.isItemExpanded(g),k=t.isItemDisabled(g);return{id:t.getButtonId(g),"aria-disabled":k,"aria-expanded":B,"aria-controls":t.getPanelId(g),role:"button",tabIndex:0}}),ls(this,"getPanelId",function(g){return"accordion__panel-".concat(g)}),ls(this,"getButtonId",function(g){return"accordion__heading-".concat(g)}),ls(this,"augment",function(g){return new e($E({expanded:t.expanded,allowMultipleExpanded:t.allowMultipleExpanded,allowZeroExpanded:t.allowZeroExpanded},g))}),this.expanded=i,this.allowMultipleExpanded=s,this.allowZeroExpanded=h},zW=Sr.createContext(null),jW=function(e){y8(t,e);var n=v8(t);function t(){var r;D5(this,t);for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return r=n.call.apply(n,[this].concat(o)),ls(ah(r),"state",new ime({expanded:r.props.preExpanded,allowMultipleExpanded:r.props.allowMultipleExpanded,allowZeroExpanded:r.props.allowZeroExpanded})),ls(ah(r),"toggleExpanded",function(a){r.setState(function(h){return h.toggleExpanded(a)},function(){r.props.onChange&&r.props.onChange(r.state.expanded)})}),ls(ah(r),"isItemDisabled",function(a){return r.state.isItemDisabled(a)}),ls(ah(r),"isItemExpanded",function(a){return r.state.isItemExpanded(a)}),ls(ah(r),"getPanelAttributes",function(a,h){return r.state.getPanelAttributes(a,h)}),ls(ah(r),"getHeadingAttributes",function(){return r.state.getHeadingAttributes()}),ls(ah(r),"getButtonAttributes",function(a,h){return r.state.getButtonAttributes(a,h)}),r}return g8(t,[{key:"render",value:function(){var i=this.state,o=i.allowZeroExpanded,s=i.allowMultipleExpanded;return Sr.createElement(zW.Provider,{value:{allowMultipleExpanded:s,allowZeroExpanded:o,toggleExpanded:this.toggleExpanded,isItemDisabled:this.isItemDisabled,isItemExpanded:this.isItemExpanded,getPanelAttributes:this.getPanelAttributes,getHeadingAttributes:this.getHeadingAttributes,getButtonAttributes:this.getButtonAttributes}},this.props.children||null)}}]),t}(Sr.PureComponent);ls(jW,"defaultProps",{allowMultipleExpanded:!1,allowZeroExpanded:!1});var WW=function(e){y8(t,e);var n=v8(t);function t(){var r;D5(this,t);for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return r=n.call.apply(n,[this].concat(o)),ls(ah(r),"renderChildren",function(a){return a?r.props.children(a):null}),r}return g8(t,[{key:"render",value:function(){return Sr.createElement(zW.Consumer,null,this.renderChildren)}}]),t}(Sr.PureComponent),ome=function(n){var t=n.className,r=t===void 0?"accordion":t,i=n.allowMultipleExpanded,o=n.allowZeroExpanded,s=n.onChange,a=n.preExpanded,h=L5(n,["className","allowMultipleExpanded","allowZeroExpanded","onChange","preExpanded"]);return Sr.createElement(jW,{preExpanded:a,allowMultipleExpanded:i,allowZeroExpanded:o,onChange:s},Sr.createElement("div",wf({"data-accordion-component":"Accordion",className:r},h)))},VE;(function(e){e.Accordion="Accordion",e.AccordionItem="AccordionItem",e.AccordionItemButton="AccordionItemButton",e.AccordionItemHeading="AccordionItemHeading",e.AccordionItemPanel="AccordionItemPanel"})(VE||(VE={}));var NW=VE,ame=0,JM=ame;function sme(){var e=JM;return JM=JM+1,"raa-".concat(e)}var lme=/[\u0009\u000a\u000c\u000d\u0020]/g;function SC(e){return e===""||lme.test(e)?(console.error('uuid must be a valid HTML5 id but was given "'.concat(e,'", ASCII whitespaces are forbidden')),!1):!0}var GW=Sr.createContext(null),ume=function(n){var t=n.children,r=n.uuid,i=n.accordionContext,o=n.dangerouslySetExpanded,s=function(){i.toggleExpanded(r)},a=function(g){var C=o??g.isItemExpanded(r),B=g.isItemDisabled(r),k=g.getPanelAttributes(r,o),P=g.getHeadingAttributes(r),U=g.getButtonAttributes(r,o);return Sr.createElement(GW.Provider,{value:{uuid:r,expanded:C,disabled:B,toggleExpanded:s,panelAttributes:k,headingAttributes:P,buttonAttributes:U}},t)};return Sr.createElement(WW,null,a)},Ame=function(n) Line truncated
If no default is provided, the style property's default is used in these circumstances.`}},function_stop:ofe,expression:afe,expression_name:sfe,light:lfe,sky:ufe,terrain:Afe,paint:cfe,paint_fill:dfe,"paint_fill-extrusion":{"fill-extrusion-opacity":{type:"number",default:1,minimum:0,maximum:1,doc:"The opacity of the entire fill extrusion layer. This is rendered on a per-layer, not per-feature, basis, and data-driven styling is not available.",transition:!0,"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-color":{type:"color",default:"#000000",doc:"The base color of the extruded fill. The extrusion's surfaces will be shaded differently based on this color in combination with the root `light` settings. If this color is specified as `rgba` with an alpha component, the alpha component will be ignored; use `fill-extrusion-opacity` to set layer opacity.",transition:!0,requires:[{"!":"fill-extrusion-pattern"}],"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"},"data-driven styling":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},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",doc:"The geometry's offset. Values are [x, y] where negatives indicate left and up (on the flat plane), respectively.","sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-translate-anchor":{type:"enum",values:{map:{doc:"The fill extrusion is translated relative to the map."},viewport:{doc:"The fill extrusion is translated relative to the viewport."}},doc:"Controls the frame of reference for `fill-extrusion-translate`.",default:"map",requires:["fill-extrusion-translate"],"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-pattern":{type:"resolvedImage",transition:!0,doc:"Name of image in sprite to use for drawing images on extruded fills. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.","sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"},"data-driven styling":{js:"0.49.0",android:"6.5.0",macos:"0.11.0",ios:"4.4.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"fill-extrusion-height":{type:"number",default:0,minimum:0,units:"meters",doc:"The height with which to extrude this layer.",transition:!0,"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"},"data-driven styling":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-base":{type:"number",default:0,minimum:0,units:"meters",doc:"The height with which to extrude the base of this layer. Must be less than or equal to `fill-extrusion-height`.",transition:!0,requires:["fill-extrusion-height"],"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"},"data-driven styling":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-vertical-gradient":{type:"boolean",default:!0,doc:"Whether to apply a vertical gradient to the sides of a fill-extrusion layer. If true, sides will be shaded slightly darker farther down.",transition:!1,"sdk-support":{"basic functionality":{js:"0.50.0",ios:"4.7.0",macos:"0.13.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_line:hfe,paint_circle:ffe,paint_heatmap:pfe,paint_symbol:mfe,paint_raster:gfe,paint_hillshade:yfe,paint_background:vfe,transition:_fe,"property-type":{"data-driven":{type:"property-type",doc:"Property is interpolable and can be represented using a property expression."},"cross-faded":{type:"property-type",doc:"Property is non-interpolable; rather, its values will be cross-faded to smoothly transition between integer zooms."},"cross-faded-data-driven":{type:"property-type",doc:"Property is non-interpolable; rather, its values will be cross-faded to smoothly transition between integer zooms. It can be represented using a property expression."},"color-ramp":{type:"property-type",doc:"Property should be specified using a color ramp from which the output color can be sampled based on a property calculation."},"data-constant":{type:"property-type",doLine truncated
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function nme(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var rme=function e(n){var t=this,r=n.expanded,i=r===void 0?[]:r,o=n.allowMultipleExpanded,s=o===void 0?!1:o,a=n.allowZeroExpanded,h=a===void 0?!1:a;D5(this,e),ls(this,"expanded",void 0),ls(this,"allowMultipleExpanded",void 0),ls(this,"allowZeroExpanded",void 0),ls(this,"toggleExpanded",function(g){if(t.isItemDisabled(g))return t;var C=t.isItemExpanded(g);return C?t.augment({expanded:t.expanded.filter(function(B){return B!==g})}):t.augment({expanded:t.allowMultipleExpanded?[].concat(Hpe(t.expanded),[g]):[g]})}),ls(this,"isItemDisabled",function(g){var C=t.isItemExpanded(g),B=t.expanded.length===1;return!!(C&&!t.allowZeroExpanded&&B)}),ls(this,"isItemExpanded",function(g){return t.expanded.indexOf(g)!==-1}),ls(this,"getPanelAttributes",function(g,C){var B=C??t.isItemExpanded(g);return{role:t.allowMultipleExpanded?void 0:"region","aria-hidden":t.allowMultipleExpanded?!B:void 0,"aria-labelledby":t.getButtonId(g),id:t.getPanelId(g),hidden:B?void 0:!0}}),ls(this,"getHeadingAttributes",function(){return{role:"heading"}}),ls(this,"getButtonAttributes",function(g,C){var B=C??t.isItemExpanded(g),k=t.isItemDisabled(g);return{id:t.getButtonId(g),"aria-disabled":k,"aria-expanded":B,"aria-controls":t.getPanelId(g),role:"button",tabIndex:0}}),ls(this,"getPanelId",function(g){return"accordion__panel-".concat(g)}),ls(this,"getButtonId",function(g){return"accordion__heading-".concat(g)}),ls(this,"augment",function(g){return new e(YE({expanded:t.expanded,allowMultipleExpanded:t.allowMultipleExpanded,allowZeroExpanded:t.allowZeroExpanded},g))}),this.expanded=i,this.allowMultipleExpanded=s,this.allowZeroExpanded=h},jW=Sr.createContext(null),WW=function(e){v8(t,e);var n=_8(t);function t(){var r;D5(this,t);for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return r=n.call.apply(n,[this].concat(o)),ls(ah(r),"state",new rme({expanded:r.props.preExpanded,allowMultipleExpanded:r.props.allowMultipleExpanded,allowZeroExpanded:r.props.allowZeroExpanded})),ls(ah(r),"toggleExpanded",function(a){r.setState(function(h){return h.toggleExpanded(a)},function(){r.props.onChange&&r.props.onChange(r.state.expanded)})}),ls(ah(r),"isItemDisabled",function(a){return r.state.isItemDisabled(a)}),ls(ah(r),"isItemExpanded",function(a){return r.state.isItemExpanded(a)}),ls(ah(r),"getPanelAttributes",function(a,h){return r.state.getPanelAttributes(a,h)}),ls(ah(r),"getHeadingAttributes",function(){return r.state.getHeadingAttributes()}),ls(ah(r),"getButtonAttributes",function(a,h){return r.state.getButtonAttributes(a,h)}),r}return y8(t,[{key:"render",value:function(){var i=this.state,o=i.allowZeroExpanded,s=i.allowMultipleExpanded;return Sr.createElement(jW.Provider,{value:{allowMultipleExpanded:s,allowZeroExpanded:o,toggleExpanded:this.toggleExpanded,isItemDisabled:this.isItemDisabled,isItemExpanded:this.isItemExpanded,getPanelAttributes:this.getPanelAttributes,getHeadingAttributes:this.getHeadingAttributes,getButtonAttributes:this.getButtonAttributes}},this.props.children||null)}}]),t}(Sr.PureComponent);ls(WW,"defaultProps",{allowMultipleExpanded:!1,allowZeroExpanded:!1});var NW=function(e){v8(t,e);var n=_8(t);function t(){var r;D5(this,t);for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return r=n.call.apply(n,[this].concat(o)),ls(ah(r),"renderChildren",function(a){return a?r.props.children(a):null}),r}return y8(t,[{key:"render",value:function(){return Sr.createElement(jW.Consumer,null,this.renderChildren)}}]),t}(Sr.PureComponent),ime=function(n){var t=n.className,r=t===void 0?"accordion":t,i=n.allowMultipleExpanded,o=n.allowZeroExpanded,s=n.onChange,a=n.preExpanded,h=L5(n,["className","allowMultipleExpanded","allowZeroExpanded","onChange","preExpanded"]);return Sr.createElement(WW,{preExpanded:a,allowMultipleExpanded:i,allowZeroExpanded:o,onChange:s},Sr.createElement("div",xf({"data-accordion-component":"Accordion",className:r},h)))},HE;(function(e){e.Accordion="Accordion",e.AccordionItem="AccordionItem",e.AccordionItemButton="AccordionItemButton",e.AccordionItemHeading="AccordionItemHeading",e.AccordionItemPanel="AccordionItemPanel"})(HE||(HE={}));var GW=HE,ome=0,eS=ome;function ame(){var e=eS;return eS=eS+1,"raa-".concat(e)}var sme=/[\u0009\u000a\u000c\u000d\u0020]/g;function SC(e){return e===""||sme.test(e)?(console.error('uuid must be a valid HTML5 id but was given "'.concat(e,'", ASCII whitespaces are forbidden')),!1):!0}var QW=Sr.createContext(null),lme=function(n){var t=n.children,r=n.uuid,i=n.accordionContext,o=n.dangerouslySetExpanded,s=function(){i.toggleExpanded(r)},a=function(g){var C=o??g.isItemExpanded(r),B=g.isItemDisabled(r),k=g.getPanelAttributes(r,o),P=g.getHeadingAttributes(r),U=g.getButtonAttributes(r,o);return Sr.createElement(QW.Provider,{value:{uuid:r,expanded:C,disabled:B,toggleExpanded:s,panelAttributes:k,headingAttributes:P,buttonAttributes:U}},t)};return Sr.createElement(NW,null,a)},ume=function(n) Line truncated
From the WAI-ARIA spec (https://www.w3.org/TR/wai-aria-practices-1.1/#accordion):
“The button element is the only element inside the heading element. That is, if there are other visually persistent elements, they are not included inside the heading element.”
`,YW=function(e){y8(t,e);var n=v8(t);function t(){var r;D5(this,t);for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return r=n.call.apply(n,[this].concat(o)),ls(ah(r),"ref",void 0),ls(ah(r),"setRef",function(a){r.ref=a}),r}return g8(t,[{key:"componentDidUpdate",value:function(){t.VALIDATE(this.ref)}},{key:"componentDidMount",value:function(){t.VALIDATE(this.ref)}},{key:"render",value:function(){return Sr.createElement("div",wf({"data-accordion-component":"AccordionItemHeading"},this.props,{ref:this.setRef}))}}],[{key:"VALIDATE",value:function(i){if(i===void 0)throw new Error("ref is undefined");if(!(i.childElementCount===1&&i.firstElementChild&&i.firstElementChild.getAttribute("data-accordion-component")==="AccordionItemButton"))throw new Error(yme)}}]),t}(Sr.PureComponent);ls(YW,"defaultProps",gme);var qW=function(n){return Sr.createElement(U5,null,function(t){var r=t.headingAttributes;return n.id&&SC(n.id),Sr.createElement(YW,wf({},n,r))})};qW.displayName=NW.AccordionItemHeading;var vme=function(n){var t=n.className,r=t===void 0?"accordion__panel":t,i=n.region,o=n.id,s=L5(n,["className","region","id"]),a=function(g){var C=g.panelAttributes;o&&SC(o);var B=$E($E({},C),{},{"aria-labelledby":i?C["aria-labelledby"]:void 0});return Sr.createElement("div",wf({"data-accordion-component":"AccordionItemPanel",className:r},s,B,{role:i?"region":void 0}))};return Sr.createElement(U5,null,a)},eS={exports:{}},AK;function z5(){return AK||(AK=1,function(e,n){(function(t,r){e.exports=r()})(dh,function(){var t=navigator.userAgent,r=navigator.platform,i=/gecko\/\d/i.test(t),o=/MSIE \d/.test(t),s=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(t),a=/Edge\/(\d+)/.exec(t),h=o||s||a,g=h&&(o?document.documentMode||6:+(a||s)[1]),C=!a&&/WebKit\//.test(t),B=C&&/Qt\/\d+\.\d+/.test(t),k=!a&&/Chrome\/(\d+)/.exec(t),P=k&&+k[1],U=/Opera\//.test(t),Z=/Apple Computer/.test(navigator.vendor),W=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(t),Q=/PhantomJS/.test(t),q=Z&&(/Mobile\/\w+/.test(t)||navigator.maxTouchPoints>2),oe=/Android/.test(t),re=q||oe||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(t),Ae=q||/Mac/.test(r),ae=/\bCrOS\b/.test(t),se=/win/i.test(r),ye=U&&t.match(/Version\/(\d*\.\d*)/);ye&&(ye=Number(ye[1])),ye&&ye>=15&&(U=!1,C=!0);var De=Ae&&(B||U&&(ye==null||ye<12.11)),Ne=i||h&&g>=9;function et(A){return new RegExp("(^|\\s)"+A+"(?:$|\\s)\\s*")}var ft=function(A,f){var x=A.className,b=et(f).exec(x);if(b){var E=x.slice(b.index+b[0].length);A.className=x.slice(0,b.index)+(E?b[1]+E:"")}};function Ke(A){for(var f=A.childNodes.length;f>0;--f)A.removeChild(A.firstChild);return A}function rt(A,f){return Ke(A).appendChild(f)}function _e(A,f,x,b){var E=document.createElement(A);if(x&&(E.className=x),b&&(E.style.cssText=b),typeof f=="string")E.appendChild(document.createTextNode(f));else if(f)for(var L=0;L<f.length;++L)E.appendChild(f[L]);return E}function Ut(A,f,x,b){var E=_e(A,f,x,b);return E.setAttribute("role","presentation"),E}var jt;document.createRange?jt=function(A,f,x,b){var E=document.createRange();return E.setEnd(b||A,x),E.setStart(A,f),E}:jt=function(A,f,x){var b=document.body.createTextRange();try{b.moveToElementText(A.parentNode)}catch{return b}return b.collapse(!0),b.moveEnd("character",x),b.moveStart("character",f),b};function nn(A,f){if(f.nodeType==3&&(f=f.parentNode),A.contains)return A.contains(f);do if(f.nodeType==11&&(f=f.host),f==A)return!0;while(f=f.parentNode)}function Qt(A){var f=A.ownerDocument||A,x;try{x=A.activeElement}catch{x=f.body||null}for(;x&&x.shadowRoot&&x.shadowRoot.activeElement;)x=x.shadowRoot.activeElement;return x}function He(A,f){var x=A.className;et(f).test(x)||(A.className+=(x?" ":"")+f)}function Je(A,f){for(var x=A.split(" "),b=0;b<x.length;b++)x[b]&&!et(x[b]).test(f)&&(f+=" "+x[b]);return f}var tt=function(A){A.select()};q?tt=function(A){A.selectionStart=0,A.selectionEnd=A.value.length}:h&&(tt=function(A){try{A.select()}catch{}});function on(A){return A.display.wrapper.ownerDocument}function mt(A){return dt(A.display.wrapper)}function dt(A){return A.getRootNode?A.getRootNode():A.ownerDocument}function kt(A){return on(A).defaultView}function Pt(A){var f=Array.prototype.slice.call(arguments,1);return function(){return A.apply(null,f)}}function Me(A,f,x){f||(f={});for(var b in A)A.hasOwnProperty(b)&&(x!==!1||!f.hasOwnProperty(b))&&(f[b]=A[b]);return f}function he(A,f,x,b,E){f==null&&(f=A.search(/[^\s\u00a0]/),f==-1&&(f=A.length));for(var L=b||0,$=E||0;;){var J=A.indexOf(" ",L);if(J<0||J>=f)return $+(f-L);$+=J-L,$+=x-$%x,L=J+1}}var be=function(){this.id=null,this.f=null,this.time=0,this.handler=Pt(this.onTimeout,this)};be.prototype.onTimeout=function(A){A.id=0,A.time<=+new Date?A.f():setTimeout(A.handler,A.time-+new Date)},be.prototype.set=function(A,f){this.f=f;var x=+new Date+A;(!this.id||x<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,A),this.time=x)};function Pe(A,f){for(var x=0;x<A.length;++x)if(A[x]==f)return x;return-1}var Ze=50,nt={toString:function(){r Line truncated
`,qW=function(e){v8(t,e);var n=_8(t);function t(){var r;D5(this,t);for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return r=n.call.apply(n,[this].concat(o)),ls(ah(r),"ref",void 0),ls(ah(r),"setRef",function(a){r.ref=a}),r}return y8(t,[{key:"componentDidUpdate",value:function(){t.VALIDATE(this.ref)}},{key:"componentDidMount",value:function(){t.VALIDATE(this.ref)}},{key:"render",value:function(){return Sr.createElement("div",xf({"data-accordion-component":"AccordionItemHeading"},this.props,{ref:this.setRef}))}}],[{key:"VALIDATE",value:function(i){if(i===void 0)throw new Error("ref is undefined");if(!(i.childElementCount===1&&i.firstElementChild&&i.firstElementChild.getAttribute("data-accordion-component")==="AccordionItemButton"))throw new Error(gme)}}]),t}(Sr.PureComponent);ls(qW,"defaultProps",mme);var VW=function(n){return Sr.createElement(U5,null,function(t){var r=t.headingAttributes;return n.id&&SC(n.id),Sr.createElement(qW,xf({},n,r))})};VW.displayName=GW.AccordionItemHeading;var yme=function(n){var t=n.className,r=t===void 0?"accordion__panel":t,i=n.region,o=n.id,s=L5(n,["className","region","id"]),a=function(g){var C=g.panelAttributes;o&&SC(o);var B=YE(YE({},C),{},{"aria-labelledby":i?C["aria-labelledby"]:void 0});return Sr.createElement("div",xf({"data-accordion-component":"AccordionItemPanel",className:r},s,B,{role:i?"region":void 0}))};return Sr.createElement(U5,null,a)},tS={exports:{}},dK;function z5(){return dK||(dK=1,function(e,n){(function(t,r){e.exports=r()})(ch,function(){var t=navigator.userAgent,r=navigator.platform,i=/gecko\/\d/i.test(t),o=/MSIE \d/.test(t),s=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(t),a=/Edge\/(\d+)/.exec(t),h=o||s||a,g=h&&(o?document.documentMode||6:+(a||s)[1]),C=!a&&/WebKit\//.test(t),B=C&&/Qt\/\d+\.\d+/.test(t),k=!a&&/Chrome\/(\d+)/.exec(t),P=k&&+k[1],U=/Opera\//.test(t),Z=/Apple Computer/.test(navigator.vendor),W=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(t),Q=/PhantomJS/.test(t),q=Z&&(/Mobile\/\w+/.test(t)||navigator.maxTouchPoints>2),oe=/Android/.test(t),re=q||oe||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(t),Ae=q||/Mac/.test(r),ae=/\bCrOS\b/.test(t),se=/win/i.test(r),ye=U&&t.match(/Version\/(\d*\.\d*)/);ye&&(ye=Number(ye[1])),ye&&ye>=15&&(U=!1,C=!0);var De=Ae&&(B||U&&(ye==null||ye<12.11)),Ne=i||h&&g>=9;function et(A){return new RegExp("(^|\\s)"+A+"(?:$|\\s)\\s*")}var ft=function(A,f){var x=A.className,b=et(f).exec(x);if(b){var E=x.slice(b.index+b[0].length);A.className=x.slice(0,b.index)+(E?b[1]+E:"")}};function Ke(A){for(var f=A.childNodes.length;f>0;--f)A.removeChild(A.firstChild);return A}function rt(A,f){return Ke(A).appendChild(f)}function _e(A,f,x,b){var E=document.createElement(A);if(x&&(E.className=x),b&&(E.style.cssText=b),typeof f=="string")E.appendChild(document.createTextNode(f));else if(f)for(var L=0;L<f.length;++L)E.appendChild(f[L]);return E}function Ut(A,f,x,b){var E=_e(A,f,x,b);return E.setAttribute("role","presentation"),E}var jt;document.createRange?jt=function(A,f,x,b){var E=document.createRange();return E.setEnd(b||A,x),E.setStart(A,f),E}:jt=function(A,f,x){var b=document.body.createTextRange();try{b.moveToElementText(A.parentNode)}catch{return b}return b.collapse(!0),b.moveEnd("character",x),b.moveStart("character",f),b};function nn(A,f){if(f.nodeType==3&&(f=f.parentNode),A.contains)return A.contains(f);do if(f.nodeType==11&&(f=f.host),f==A)return!0;while(f=f.parentNode)}function Qt(A){var f=A.ownerDocument||A,x;try{x=A.activeElement}catch{x=f.body||null}for(;x&&x.shadowRoot&&x.shadowRoot.activeElement;)x=x.shadowRoot.activeElement;return x}function He(A,f){var x=A.className;et(f).test(x)||(A.className+=(x?" ":"")+f)}function Je(A,f){for(var x=A.split(" "),b=0;b<x.length;b++)x[b]&&!et(x[b]).test(f)&&(f+=" "+x[b]);return f}var tt=function(A){A.select()};q?tt=function(A){A.selectionStart=0,A.selectionEnd=A.value.length}:h&&(tt=function(A){try{A.select()}catch{}});function on(A){return A.display.wrapper.ownerDocument}function mt(A){return dt(A.display.wrapper)}function dt(A){return A.getRootNode?A.getRootNode():A.ownerDocument}function kt(A){return on(A).defaultView}function Pt(A){var f=Array.prototype.slice.call(arguments,1);return function(){return A.apply(null,f)}}function Me(A,f,x){f||(f={});for(var b in A)A.hasOwnProperty(b)&&(x!==!1||!f.hasOwnProperty(b))&&(f[b]=A[b]);return f}function he(A,f,x,b,E){f==null&&(f=A.search(/[^\s\u00a0]/),f==-1&&(f=A.length));for(var L=b||0,$=E||0;;){var J=A.indexOf(" ",L);if(J<0||J>=f)return $+(f-L);$+=J-L,$+=x-$%x,L=J+1}}var be=function(){this.id=null,this.f=null,this.time=0,this.handler=Pt(this.onTimeout,this)};be.prototype.onTimeout=function(A){A.id=0,A.time<=+new Date?A.f():setTimeout(A.handler,A.time-+new Date)},be.prototype.set=function(A,f){this.f=f;var x=+new Date+A;(!this.id||x<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,A),this.time=x)};function Pe(A,f){for(var x=0;x<A.length;++x)if(A[x]==f)return x;return-1}var Ze=50,nt={toString:function(){r Line truncated
b`.split(/\n/).length!=3?function(A){for(var f=0,x=[],b=A.length;f<=b;){var E=A.indexOf(`
`,f);E==-1&&(E=A.length);var L=A.slice(f,A.charAt(E-1)=="\r"?E-1:E),$=L.indexOf("\r");$!=-1?(x.push(L.slice(0,$)),f+=$+1):(x.push(L),f=E+1)}return x}:function(A){return A.split(/\r\n?|\n/)},Tr=window.getSelection?function(A){try{return A.selectionStart!=A.selectionEnd}catch{return!1}}:function(A){var f;try{f=A.ownerDocument.selection.createRange()}catch{}return!f||f.parentElement()!=A?!1:f.compareEndPoints("StartToEnd",f)!=0},Ur=function(){var A=_e("div");return"oncopy"in A?!0:(A.setAttribute("oncopy","return;"),typeof A.oncopy=="function")}(),Dr=null;function ei(A){if(Dr!=null)return Dr;var f=rt(A,_e("span","x")),x=f.getBoundingClientRect(),b=jt(f,0,1).getBoundingClientRect();return Dr=Math.abs(x.left-b.left)>1}var rr={},li={};function ki(A,f){arguments.length>2&&(f.dependencies=Array.prototype.slice.call(arguments,2)),rr[A]=f}function Xi(A,f){li[A]=f}function xo(A){if(typeof A=="string"&&li.hasOwnProperty(A))A=li[A];else if(A&&typeof A.name=="string"&&li.hasOwnProperty(A.name)){var f=li[A.name];typeof f=="string"&&(f={name:f}),A=Nr(f,A),A.name=f.name}else{if(typeof A=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(A))return xo("application/xml");if(typeof A=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(A))return xo("application/json")}return typeof A=="string"?{name:A}:A||{name:"null"}}function pi(A,f){f=xo(f);var x=rr[f.name];if(!x)return pi(A,"text/plain");var b=x(A,f);if(Oo.hasOwnProperty(f.name)){var E=Oo[f.name];for(var L in E)E.hasOwnProperty(L)&&(b.hasOwnProperty(L)&&(b["_"+L]=b[L]),b[L]=E[L])}if(b.name=f.name,f.helperType&&(b.helperType=f.helperType),f.modeProps)for(var $ in f.modeProps)b[$]=f.modeProps[$];return b}var Oo={};function As(A,f){var x=Oo.hasOwnProperty(A)?Oo[A]:Oo[A]={};Me(f,x)}function Ia(A,f){if(f===!0)return f;if(A.copyState)return A.copyState(f);var x={};for(var b in f){var E=f[b];E instanceof Array&&(E=E.concat([])),x[b]=E}return x}function _i(A,f){for(var x;A.innerMode&&(x=A.innerMode(f),!(!x||x.mode==A));)f=x.state,A=x.mode;return x||{mode:A,state:f}}function Ss(A,f,x){return A.startState?A.startState(f,x):!0}var Si=function(A,f,x){this.pos=this.start=0,this.string=A,this.tabSize=f||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=x};Si.prototype.eol=function(){return this.pos>=this.string.length},Si.prototype.sol=function(){return this.pos==this.lineStart},Si.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Si.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Si.prototype.eat=function(A){var f=this.string.charAt(this.pos),x;if(typeof A=="string"?x=f==A:x=f&&(A.test?A.test(f):A(f)),x)return++this.pos,f},Si.prototype.eatWhile=function(A){for(var f=this.pos;this.eat(A););return this.pos>f},Si.prototype.eatSpace=function(){for(var A=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>A},Si.prototype.skipToEnd=function(){this.pos=this.string.length},Si.prototype.skipTo=function(A){var f=this.string.indexOf(A,this.pos);if(f>-1)return this.pos=f,!0},Si.prototype.backUp=function(A){this.pos-=A},Si.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=he(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?he(this.string,this.lineStart,this.tabSize):0)},Si.prototype.indentation=function(){return he(this.string,null,this.tabSize)-(this.lineStart?he(this.string,this.lineStart,this.tabSize):0)},Si.prototype.match=function(A,f,x){if(typeof A=="string"){var b=function($){return x?$.toLowerCase():$},E=this.string.substr(this.pos,A.length);if(b(E)==b(A))return f!==!1&&(this.pos+=A.length),!0}else{var L=this.string.slice(this.pos).match(A);return L&&L.index>0?null:(L&&f!==!1&&(this.pos+=L[0].length),L)}},Si.prototype.current=function(){return this.string.slice(this.start,this.pos)},Si.prototype.hideFirstChars=function(A,f){this.lineStart+=A;try{return f()}finally{this.lineStart-=A}},Si.prototype.lookAhead=function(A){var f=this.lineOracle;return f&&f.lookAhead(A)},Si.prototype.baseToken=function(){var A=this.lineOracle;return A&&A.baseToken(this.pos)};function Qn(A,f){if(f-=A.first,f<0||f>=A.size)throw new Error("There is no line "+(f+A.first)+" in the document.");for(var x=A;!x.lines;)for(var b=0;;++b){var E=x.children[b],L=E.chunkSize();if(f<L){x=E;break}f-=L}return x.lines[f]}function so(A,f,x){var b=[],E=f.line;return A.iter(f.line,x.line+1,function(L){var $=L.text;E==x.line&&($=$.slice(0,x.ch)),E==f.line&&($=$.slice(f.ch)),b.push($),++E}),b}function Go(A,f,x){var b=[];return A.iter(f,x,function(E){b.push(E.text)}),b}function Ji(A,f){var x=f-A.height;if(x)for(var b=A;b;b=b.parent)b.height+=x}function ge(A){if(A.parent==null)return null;for(var f=A.parent,x=Pe(f.lines,A),b=f.parent;b;f=b,b=b.parent)for(var E=0;b.children[E]!=f;++E)x+=b.children[E].chunkSize();return x+f.first}function $e(A,f){var x=A.first;e:do{for(var b=0;b<A.children.length;++b){ Line truncated
`?(dn=We.appendChild(_e("span",wt[0]=="\r"?"␍":"␤","cm-invalidchar")),dn.setAttribute("cm-text",wt[0]),A.col+=1):(dn=A.cm.options.specialCharPlaceholder(wt[0]),dn.setAttribute("cm-text",wt[0]),h&&g<9?We.appendChild(_e("span",[dn])):We.appendChild(dn),A.col+=1);A.map.push(A.pos,A.pos+1,dn),A.pos++}}if(A.trailingSpace=J.charCodeAt(f.length-1)==32,x||b||E||pe||L||$){var _n=x||"";b&&(_n+=b),E&&(_n+=E);var Fn=_e("span",[We],_n,L);if($)for(var ar in $)$.hasOwnProperty(ar)&&ar!="style"&&ar!="class"&&Fn.setAttribute(ar,$[ar]);return A.content.appendChild(Fn)}A.content.appendChild(We)}}function EA(A,f){if(A.length>1&&!/ /.test(A))return A;for(var x=f,b="",E=0;E<A.length;E++){var L=A.charAt(E);L==" "&&x&&(E==A.length-1||A.charCodeAt(E+1)==32)&&(L=" "),b+=L,x=L==" "}return b}function Qo(A,f){return function(x,b,E,L,$,J,le){E=E?E+" cm-force-border":"cm-force-border";for(var pe=x.pos,We=pe+b.length;;){for(var qe=void 0,wt=0;wt<f.length&&(qe=f[wt],!(qe.to>pe&&qe.from<=pe));wt++);if(qe.to>=We)return A(x,b,E,L,$,J,le);A(x,b.slice(0,qe.to-pe),E,L,null,J,le),L=null,b=b.slice(qe.to-pe),pe=qe.to}}}function Ku(A,f,x,b){var E=!b&&x.widgetNode;E&&A.map.push(A.pos,A.pos+f,E),!b&&A.cm.display.input.needsContentAttribute&&(E||(E=A.content.appendChild(document.createElement("span"))),E.setAttribute("cm-marker",x.id)),E&&(A.cm.display.input.setUneditable(E),A.content.appendChild(E)),A.pos+=f,A.trailingSpace=!1}function Od(A,f,x){var b=A.markedSpans,E=A.text,L=0;if(!b){for(var $=1;$<x.length;$+=2)f.addToken(f,E.slice(L,L=x[$]),gh(x[$+1],f.cm.options));return}for(var J=E.length,le=0,pe=1,We="",qe,wt,gt=0,Lt,dn,Bn,Gn,_n;;){if(gt==le){Lt=dn=Bn=wt="",_n=null,Gn=null,gt=1/0;for(var Fn=[],ar=void 0,Or=0;Or<b.length;++Or){var yr=b[Or],oi=yr.marker;if(oi.type=="bookmark"&&yr.from==le&&oi.widgetNode)Fn.push(oi);else if(yr.from<=le&&(yr.to==null||yr.to>le||oi.collapsed&&yr.to==le&&yr.from==le)){if(yr.to!=null&&yr.to!=le&&gt>yr.to&&(gt=yr.to,dn=""),oi.className&&(Lt+=" "+oi.className),oi.css&&(wt=(wt?wt+";":"")+oi.css),oi.startStyle&&yr.from==le&&(Bn+=" "+oi.startStyle),oi.endStyle&&yr.to==gt&&(ar||(ar=[])).push(oi.endStyle,yr.to),oi.title&&((_n||(_n={})).title=oi.title),oi.attributes)for(var ko in oi.attributes)(_n||(_n={}))[ko]=oi.attributes[ko];oi.collapsed&&(!Gn||At(Gn.marker,oi)<0)&&(Gn=yr)}else yr.from>le&&gt>yr.from&&(gt=yr.from)}if(ar)for(var La=0;La<ar.length;La+=2)ar[La+1]==gt&&(dn+=" "+ar[La]);if(!Gn||Gn.from==le)for(var ca=0;ca<Fn.length;++ca)Ku(f,0,Fn[ca]);if(Gn&&(Gn.from||0)==le){if(Ku(f,(Gn.to==null?J+1:Gn.to)-le,Gn.marker,Gn.from==null),Gn.to==null)return;Gn.to==le&&(Gn=!1)}}if(le>=J)break;for(var Ea=Math.min(J,gt);;){if(We){var es=le+We.length;if(!Gn){var ts=es>Ea?We.slice(0,Ea-le):We;f.addToken(f,ts,qe?qe+Lt:Lt,Bn,le+ts.length==gt?dn:"",wt,_n)}if(es>=Ea){We=We.slice(Ea-le),le=Ea;break}le=es,Bn=""}We=E.slice(L,L=x[pe++]),qe=gh(x[pe++],f.cm.options)}}}function OA(A,f,x){this.line=f,this.rest=Fo(f),this.size=this.rest?ge(bn(this.rest))-x+1:1,this.node=this.text=null,this.hidden=Ki(A,f)}function lc(A,f,x){for(var b=[],E,L=f;L<x;L=E){var $=new OA(A.doc,Qn(A.doc,L),L);E=L+$.size,b.push($)}return b}var du=null;function Gc(A){du?du.ops.push(A):A.ownsGroup=du={ops:[A],delayedCallbacks:[]}}function Kp(A){var f=A.delayedCallbacks,x=0;do{for(;x<f.length;x++)f[x].call(null);for(var b=0;b<A.ops.length;b++){var E=A.ops[b];if(E.cursorActivityHandlers)for(;E.cursorActivityCalled<E.cursorActivityHandlers.length;)E.cursorActivityHandlers[E.cursorActivityCalled++].call(null,E.cm)}}while(x<f.length)}function yh(A,f){var x=A.ownsGroup;if(x)try{Kp(x)}finally{du=null,f(x)}}var hi=null;function Do(A,f){var x=Lr(A,f);if(x.length){var b=Array.prototype.slice.call(arguments,2),E;du?E=du.delayedCallbacks:hi?E=hi:(E=hi=[],setTimeout(Zm,0));for(var L=function(J){E.push(function(){return x[J].apply(null,b)})},$=0;$<x.length;++$)L($)}}function Zm(){var A=hi;hi=null;for(var f=0;f<A.length;++f)A[f]()}function vh(A,f,x,b){for(var E=0;E<f.changes.length;E++){var L=f.changes[E];L=="text"?Pi(A,f):L=="gutter"?wo(A,f,x,b):L=="class"?Bd(A,f):L=="widget"&&go(A,f,b)}f.changes=null}function Pu(A){return A.node==A.text&&(A.node=_e("div",null,null,"position: relative"),A.text.parentNode&&A.text.parentNode.replaceChild(A.node,A.text),A.node.appendChild(A.text),h&&g<8&&(A.node.style.zIndex=2)),A.node}function sa(A,f){var x=f.bgClass?f.bgClass+" "+(f.line.bgClass||""):f.line.bgClass;if(x&&(x+=" CodeMirror-linebackground"),f.background)x?f.background.className=x:(f.background.parentNode.removeChild(f.background),f.background=null);else if(x){var b=Pu(f);f.background=b.insertBefore(_e("div",null,x),b.firstChild),A.display.input.setUneditable(f.background)}}function _h(A,f){var x=A.display.externalMeasured;return x&&x.line==f.line?(A.display.externalMeasured=null,f.measure=x.measure,x.built):Wc(A,f)}function Pi(A,f){var x=f.text.className,b=_h(A,f);f.text==f.node&&(f.node=b.pre),f.text.parentNode.replaceChild(b.pre,f.text),f.text=b.pre,b.bgClass!=f.bgClass||b.textClass!=f.t Line truncated
`,f);E==-1&&(E=A.length);var L=A.slice(f,A.charAt(E-1)=="\r"?E-1:E),$=L.indexOf("\r");$!=-1?(x.push(L.slice(0,$)),f+=$+1):(x.push(L),f=E+1)}return x}:function(A){return A.split(/\r\n?|\n/)},Tr=window.getSelection?function(A){try{return A.selectionStart!=A.selectionEnd}catch{return!1}}:function(A){var f;try{f=A.ownerDocument.selection.createRange()}catch{}return!f||f.parentElement()!=A?!1:f.compareEndPoints("StartToEnd",f)!=0},Ur=function(){var A=_e("div");return"oncopy"in A?!0:(A.setAttribute("oncopy","return;"),typeof A.oncopy=="function")}(),Dr=null;function Jr(A){if(Dr!=null)return Dr;var f=rt(A,_e("span","x")),x=f.getBoundingClientRect(),b=jt(f,0,1).getBoundingClientRect();return Dr=Math.abs(x.left-b.left)>1}var rr={},li={};function ki(A,f){arguments.length>2&&(f.dependencies=Array.prototype.slice.call(arguments,2)),rr[A]=f}function Xi(A,f){li[A]=f}function xo(A){if(typeof A=="string"&&li.hasOwnProperty(A))A=li[A];else if(A&&typeof A.name=="string"&&li.hasOwnProperty(A.name)){var f=li[A.name];typeof f=="string"&&(f={name:f}),A=Nr(f,A),A.name=f.name}else{if(typeof A=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(A))return xo("application/xml");if(typeof A=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(A))return xo("application/json")}return typeof A=="string"?{name:A}:A||{name:"null"}}function pi(A,f){f=xo(f);var x=rr[f.name];if(!x)return pi(A,"text/plain");var b=x(A,f);if(Oo.hasOwnProperty(f.name)){var E=Oo[f.name];for(var L in E)E.hasOwnProperty(L)&&(b.hasOwnProperty(L)&&(b["_"+L]=b[L]),b[L]=E[L])}if(b.name=f.name,f.helperType&&(b.helperType=f.helperType),f.modeProps)for(var $ in f.modeProps)b[$]=f.modeProps[$];return b}var Oo={};function As(A,f){var x=Oo.hasOwnProperty(A)?Oo[A]:Oo[A]={};Me(f,x)}function Ia(A,f){if(f===!0)return f;if(A.copyState)return A.copyState(f);var x={};for(var b in f){var E=f[b];E instanceof Array&&(E=E.concat([])),x[b]=E}return x}function _i(A,f){for(var x;A.innerMode&&(x=A.innerMode(f),!(!x||x.mode==A));)f=x.state,A=x.mode;return x||{mode:A,state:f}}function Ss(A,f,x){return A.startState?A.startState(f,x):!0}var Si=function(A,f,x){this.pos=this.start=0,this.string=A,this.tabSize=f||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=x};Si.prototype.eol=function(){return this.pos>=this.string.length},Si.prototype.sol=function(){return this.pos==this.lineStart},Si.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Si.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Si.prototype.eat=function(A){var f=this.string.charAt(this.pos),x;if(typeof A=="string"?x=f==A:x=f&&(A.test?A.test(f):A(f)),x)return++this.pos,f},Si.prototype.eatWhile=function(A){for(var f=this.pos;this.eat(A););return this.pos>f},Si.prototype.eatSpace=function(){for(var A=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>A},Si.prototype.skipToEnd=function(){this.pos=this.string.length},Si.prototype.skipTo=function(A){var f=this.string.indexOf(A,this.pos);if(f>-1)return this.pos=f,!0},Si.prototype.backUp=function(A){this.pos-=A},Si.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=he(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?he(this.string,this.lineStart,this.tabSize):0)},Si.prototype.indentation=function(){return he(this.string,null,this.tabSize)-(this.lineStart?he(this.string,this.lineStart,this.tabSize):0)},Si.prototype.match=function(A,f,x){if(typeof A=="string"){var b=function($){return x?$.toLowerCase():$},E=this.string.substr(this.pos,A.length);if(b(E)==b(A))return f!==!1&&(this.pos+=A.length),!0}else{var L=this.string.slice(this.pos).match(A);return L&&L.index>0?null:(L&&f!==!1&&(this.pos+=L[0].length),L)}},Si.prototype.current=function(){return this.string.slice(this.start,this.pos)},Si.prototype.hideFirstChars=function(A,f){this.lineStart+=A;try{return f()}finally{this.lineStart-=A}},Si.prototype.lookAhead=function(A){var f=this.lineOracle;return f&&f.lookAhead(A)},Si.prototype.baseToken=function(){var A=this.lineOracle;return A&&A.baseToken(this.pos)};function Qn(A,f){if(f-=A.first,f<0||f>=A.size)throw new Error("There is no line "+(f+A.first)+" in the document.");for(var x=A;!x.lines;)for(var b=0;;++b){var E=x.children[b],L=E.chunkSize();if(f<L){x=E;break}f-=L}return x.lines[f]}function so(A,f,x){var b=[],E=f.line;return A.iter(f.line,x.line+1,function(L){var $=L.text;E==x.line&&($=$.slice(0,x.ch)),E==f.line&&($=$.slice(f.ch)),b.push($),++E}),b}function No(A,f,x){var b=[];return A.iter(f,x,function(E){b.push(E.text)}),b}function Ji(A,f){var x=f-A.height;if(x)for(var b=A;b;b=b.parent)b.height+=x}function ge(A){if(A.parent==null)return null;for(var f=A.parent,x=Pe(f.lines,A),b=f.parent;b;f=b,b=b.parent)for(var E=0;b.children[E]!=f;++E)x+=b.children[E].chunkSize();return x+f.first}function $e(A,f){var x=A.first;e:do{for(var b=0;b<A.children.length;++b){ Line truncated
`?(dn=We.appendChild(_e("span",wt[0]=="\r"?"␍":"␤","cm-invalidchar")),dn.setAttribute("cm-text",wt[0]),A.col+=1):(dn=A.cm.options.specialCharPlaceholder(wt[0]),dn.setAttribute("cm-text",wt[0]),h&&g<9?We.appendChild(_e("span",[dn])):We.appendChild(dn),A.col+=1);A.map.push(A.pos,A.pos+1,dn),A.pos++}}if(A.trailingSpace=J.charCodeAt(f.length-1)==32,x||b||E||pe||L||$){var _n=x||"";b&&(_n+=b),E&&(_n+=E);var Fn=_e("span",[We],_n,L);if($)for(var ar in $)$.hasOwnProperty(ar)&&ar!="style"&&ar!="class"&&Fn.setAttribute(ar,$[ar]);return A.content.appendChild(Fn)}A.content.appendChild(We)}}function EA(A,f){if(A.length>1&&!/ /.test(A))return A;for(var x=f,b="",E=0;E<A.length;E++){var L=A.charAt(E);L==" "&&x&&(E==A.length-1||A.charCodeAt(E+1)==32)&&(L=" "),b+=L,x=L==" "}return b}function Go(A,f){return function(x,b,E,L,$,J,le){E=E?E+" cm-force-border":"cm-force-border";for(var pe=x.pos,We=pe+b.length;;){for(var qe=void 0,wt=0;wt<f.length&&(qe=f[wt],!(qe.to>pe&&qe.from<=pe));wt++);if(qe.to>=We)return A(x,b,E,L,$,J,le);A(x,b.slice(0,qe.to-pe),E,L,null,J,le),L=null,b=b.slice(qe.to-pe),pe=qe.to}}}function Ku(A,f,x,b){var E=!b&&x.widgetNode;E&&A.map.push(A.pos,A.pos+f,E),!b&&A.cm.display.input.needsContentAttribute&&(E||(E=A.content.appendChild(document.createElement("span"))),E.setAttribute("cm-marker",x.id)),E&&(A.cm.display.input.setUneditable(E),A.content.appendChild(E)),A.pos+=f,A.trailingSpace=!1}function Od(A,f,x){var b=A.markedSpans,E=A.text,L=0;if(!b){for(var $=1;$<x.length;$+=2)f.addToken(f,E.slice(L,L=x[$]),mh(x[$+1],f.cm.options));return}for(var J=E.length,le=0,pe=1,We="",qe,wt,gt=0,Lt,dn,Bn,Gn,_n;;){if(gt==le){Lt=dn=Bn=wt="",_n=null,Gn=null,gt=1/0;for(var Fn=[],ar=void 0,Or=0;Or<b.length;++Or){var yr=b[Or],ii=yr.marker;if(ii.type=="bookmark"&&yr.from==le&&ii.widgetNode)Fn.push(ii);else if(yr.from<=le&&(yr.to==null||yr.to>le||ii.collapsed&&yr.to==le&&yr.from==le)){if(yr.to!=null&&yr.to!=le&&gt>yr.to&&(gt=yr.to,dn=""),ii.className&&(Lt+=" "+ii.className),ii.css&&(wt=(wt?wt+";":"")+ii.css),ii.startStyle&&yr.from==le&&(Bn+=" "+ii.startStyle),ii.endStyle&&yr.to==gt&&(ar||(ar=[])).push(ii.endStyle,yr.to),ii.title&&((_n||(_n={})).title=ii.title),ii.attributes)for(var ko in ii.attributes)(_n||(_n={}))[ko]=ii.attributes[ko];ii.collapsed&&(!Gn||At(Gn.marker,ii)<0)&&(Gn=yr)}else yr.from>le&&gt>yr.from&&(gt=yr.from)}if(ar)for(var La=0;La<ar.length;La+=2)ar[La+1]==gt&&(dn+=" "+ar[La]);if(!Gn||Gn.from==le)for(var ca=0;ca<Fn.length;++ca)Ku(f,0,Fn[ca]);if(Gn&&(Gn.from||0)==le){if(Ku(f,(Gn.to==null?J+1:Gn.to)-le,Gn.marker,Gn.from==null),Gn.to==null)return;Gn.to==le&&(Gn=!1)}}if(le>=J)break;for(var Ea=Math.min(J,gt);;){if(We){var es=le+We.length;if(!Gn){var ts=es>Ea?We.slice(0,Ea-le):We;f.addToken(f,ts,qe?qe+Lt:Lt,Bn,le+ts.length==gt?dn:"",wt,_n)}if(es>=Ea){We=We.slice(Ea-le),le=Ea;break}le=es,Bn=""}We=E.slice(L,L=x[pe++]),qe=mh(x[pe++],f.cm.options)}}}function OA(A,f,x){this.line=f,this.rest=Po(f),this.size=this.rest?ge(bn(this.rest))-x+1:1,this.node=this.text=null,this.hidden=Ki(A,f)}function lc(A,f,x){for(var b=[],E,L=f;L<x;L=E){var $=new OA(A.doc,Qn(A.doc,L),L);E=L+$.size,b.push($)}return b}var du=null;function Gc(A){du?du.ops.push(A):A.ownsGroup=du={ops:[A],delayedCallbacks:[]}}function Tp(A){var f=A.delayedCallbacks,x=0;do{for(;x<f.length;x++)f[x].call(null);for(var b=0;b<A.ops.length;b++){var E=A.ops[b];if(E.cursorActivityHandlers)for(;E.cursorActivityCalled<E.cursorActivityHandlers.length;)E.cursorActivityHandlers[E.cursorActivityCalled++].call(null,E.cm)}}while(x<f.length)}function gh(A,f){var x=A.ownsGroup;if(x)try{Tp(x)}finally{du=null,f(x)}}var hi=null;function Fo(A,f){var x=Lr(A,f);if(x.length){var b=Array.prototype.slice.call(arguments,2),E;du?E=du.delayedCallbacks:hi?E=hi:(E=hi=[],setTimeout(Zm,0));for(var L=function(J){E.push(function(){return x[J].apply(null,b)})},$=0;$<x.length;++$)L($)}}function Zm(){var A=hi;hi=null;for(var f=0;f<A.length;++f)A[f]()}function yh(A,f,x,b){for(var E=0;E<f.changes.length;E++){var L=f.changes[E];L=="text"?Pi(A,f):L=="gutter"?wo(A,f,x,b):L=="class"?Bd(A,f):L=="widget"&&go(A,f,b)}f.changes=null}function Pu(A){return A.node==A.text&&(A.node=_e("div",null,null,"position: relative"),A.text.parentNode&&A.text.parentNode.replaceChild(A.node,A.text),A.node.appendChild(A.text),h&&g<8&&(A.node.style.zIndex=2)),A.node}function sa(A,f){var x=f.bgClass?f.bgClass+" "+(f.line.bgClass||""):f.line.bgClass;if(x&&(x+=" CodeMirror-linebackground"),f.background)x?f.background.className=x:(f.background.parentNode.removeChild(f.background),f.background=null);else if(x){var b=Pu(f);f.background=b.insertBefore(_e("div",null,x),b.firstChild),A.display.input.setUneditable(f.background)}}function vh(A,f){var x=A.display.externalMeasured;return x&&x.line==f.line?(A.display.externalMeasured=null,f.measure=x.measure,x.built):Wc(A,f)}function Pi(A,f){var x=f.text.className,b=vh(A,f);f.text==f.node&&(f.node=b.pre),f.text.parentNode.replaceChild(b.pre,f.text),f.text=b.pre,b.bgClass!=f.bgClass||b.textClass!=f.t Line truncated
top: `+ar+"px; width: "+(Or??le-Fn)+`px;
height: `+(yr-ar)+"px"))}function qe(Fn,ar,Or){var yr=Qn(E,Fn),oi=yr.text.length,ko,La;function ca(ts,xl){return an(A,Kt(Fn,ts),"div",yr,xl)}function Ea(ts,xl,Hs){var gs=co(A,yr,null,ts),ns=xl=="ltr"==(Hs=="after")?"left":"right",na=Hs=="after"?gs.begin:gs.end-(/\s/.test(yr.text.charAt(gs.end-1))?2:1);return ca(na,ns)[ns]}var es=En(yr,E.direction);return Et(es,ar||0,Or??oi,function(ts,xl,Hs,gs){var ns=Hs=="ltr",na=ca(ts,ns?"left":"right"),ys=ca(xl-1,ns?"right":"left"),Vd=ar==null&&ts==0,zA=Or==null&&xl==oi,Ps=gs==0,jA=!es||gs==es.length-1;if(ys.top-na.top<=3){var Fs=(pe?Vd:zA)&&Ps,A0=(pe?zA:Vd)&&jA,AA=Fs?J:(ns?na:ys).left,wc=A0?le:(ns?ys:na).right;We(AA,na.top,wc-AA,na.bottom)}else{var Ua,Zs,Hd,WA;ns?(Ua=pe&&Vd&&Ps?J:na.left,Zs=pe?le:Ea(ts,Hs,"before"),Hd=pe?J:Ea(xl,Hs,"after"),WA=pe&&zA&&jA?le:ys.right):(Ua=pe?Ea(ts,Hs,"before"):J,Zs=!pe&&Vd&&Ps?le:na.right,Hd=!pe&&zA&&jA?J:ys.left,WA=pe?Ea(xl,Hs,"after"):le),We(Ua,na.top,Zs-Ua,na.bottom),na.bottom<ys.top&&We(J,na.bottom,null,ys.top),We(Hd,ys.top,WA-Hd,ys.bottom)}(!ko||KA(na,ko)<0)&&(ko=na),KA(ys,ko)<0&&(ko=ys),(!La||KA(na,La)<0)&&(La=na),KA(ys,La)<0&&(La=ys)}),{start:ko,end:La}}var wt=f.from(),gt=f.to();if(wt.line==gt.line)qe(wt.line,wt.ch,gt.ch);else{var Lt=Qn(E,wt.line),dn=Qn(E,gt.line),Bn=Yr(Lt)==Yr(dn),Gn=qe(wt.line,wt.ch,Bn?Lt.text.length+1:null).end,_n=qe(gt.line,Bn?0:null,gt.ch).start;Bn&&(Gn.top<_n.top-2?(We(Gn.right,Gn.top,null,Gn.bottom),We(J,_n.top,_n.left,_n.bottom)):We(Gn.right,Gn.top,_n.left-Gn.right,Gn.bottom)),Gn.bottom<_n.top&&We(J,Gn.bottom,null,_n.top)}x.appendChild(L)}function Du(A){if(A.state.focused){var f=A.display;clearInterval(f.blinker);var x=!0;f.cursorDiv.style.visibility="",A.options.cursorBlinkRate>0?f.blinker=setInterval(function(){A.hasFocus()||fc(A),f.cursorDiv.style.visibility=(x=!x)?"":"hidden"},A.options.cursorBlinkRate):A.options.cursorBlinkRate<0&&(f.cursorDiv.style.visibility="hidden")}}function gu(A){A.hasFocus()||(A.display.input.focus(),A.state.focused||Pf(A))}function PA(A){A.state.delayingBlurEvent=!0,setTimeout(function(){A.state.delayingBlurEvent&&(A.state.delayingBlurEvent=!1,A.state.focused&&fc(A))},100)}function Pf(A,f){A.state.delayingBlurEvent&&!A.state.draggingText&&(A.state.delayingBlurEvent=!1),A.options.readOnly!="nocursor"&&(A.state.focused||(Te(A,"focus",A,f),A.state.focused=!0,He(A.display.wrapper,"CodeMirror-focused"),!A.curOp&&A.display.selForContextMenu!=A.doc.sel&&(A.display.input.reset(),C&&setTimeout(function(){return A.display.input.reset(!0)},20)),A.display.input.receivedFocus()),Du(A))}function fc(A,f){A.state.delayingBlurEvent||(A.state.focused&&(Te(A,"blur",A,f),A.state.focused=!1,ft(A.display.wrapper,"CodeMirror-focused")),clearInterval(A.display.blinker),setTimeout(function(){A.state.focused||(A.display.shift=!1)},150))}function Lu(A){for(var f=A.display,x=f.lineDiv.offsetTop,b=Math.max(0,f.scroller.getBoundingClientRect().top),E=f.lineDiv.getBoundingClientRect().top,L=0,$=0;$<f.view.length;$++){var J=f.view[$],le=A.options.lineWrapping,pe=void 0,We=0;if(!J.hidden){if(E+=J.line.height,h&&g<8){var qe=J.node.offsetTop+J.node.offsetHeight;pe=qe-x,x=qe}else{var wt=J.node.getBoundingClientRect();pe=wt.bottom-wt.top,!le&&J.text.firstChild&&(We=J.text.firstChild.getBoundingClientRect().right-wt.left-1)}var gt=J.line.height-pe;if((gt>.005||gt<-.005)&&(E<b&&(L-=gt),Ji(J.line,pe),yo(J.line),J.rest))for(var Lt=0;Lt<J.rest.length;Lt++)yo(J.rest[Lt]);if(We>A.display.sizerWidth){var dn=Math.ceil(We/pu(A.display));dn>A.display.maxLineLength&&(A.display.maxLineLength=dn,A.display.maxLine=J.line,A.display.maxLineChanged=!0)}}}Math.abs(L)>2&&(f.scroller.scrollTop+=L)}function yo(A){if(A.widgets)for(var f=0;f<A.widgets.length;++f){var x=A.widgets[f],b=x.node.parentNode;b&&(x.height=b.offsetHeight)}}function yu(A,f,x){var b=x&&x.top!=null?Math.max(0,x.top):A.scroller.scrollTop;b=Math.floor(b-BA(A));var E=x&&x.bottom!=null?x.bottom:b+A.wrapper.clientHeight,L=$e(f,b),$=$e(f,E);if(x&&x.ensure){var J=x.ensure.from.line,le=x.ensure.to.line;J<L?(L=J,$=$e(f,Ta(Qn(f,J))+A.wrapper.clientHeight)):Math.min(le,f.lastLine())>=$&&(L=$e(f,Ta(Qn(f,le))-A.wrapper.clientHeight),$=le)}return{from:L,to:Math.max($,L+1)}}function Vc(A,f){if(!de(A,"scrollCursorIntoView")){var x=A.display,b=x.sizer.getBoundingClientRect(),E=null,L=x.wrapper.ownerDocument;if(f.top+b.top<0?E=!0:f.bottom+b.top>(L.defaultView.innerHeight||L.documentElement.clientHeight)&&(E=!1),E!=null&&!Q){var $=_e("div","​",null,`position: absolute;
height: `+(yr-ar)+"px"))}function qe(Fn,ar,Or){var yr=Qn(E,Fn),ii=yr.text.length,ko,La;function ca(ts,xl){return an(A,Kt(Fn,ts),"div",yr,xl)}function Ea(ts,xl,Hs){var gs=co(A,yr,null,ts),ns=xl=="ltr"==(Hs=="after")?"left":"right",na=Hs=="after"?gs.begin:gs.end-(/\s/.test(yr.text.charAt(gs.end-1))?2:1);return ca(na,ns)[ns]}var es=En(yr,E.direction);return Et(es,ar||0,Or??ii,function(ts,xl,Hs,gs){var ns=Hs=="ltr",na=ca(ts,ns?"left":"right"),ys=ca(xl-1,ns?"right":"left"),Vd=ar==null&&ts==0,zA=Or==null&&xl==ii,Ps=gs==0,jA=!es||gs==es.length-1;if(ys.top-na.top<=3){var Fs=(pe?Vd:zA)&&Ps,A0=(pe?zA:Vd)&&jA,AA=Fs?J:(ns?na:ys).left,wc=A0?le:(ns?ys:na).right;We(AA,na.top,wc-AA,na.bottom)}else{var Ua,Zs,Hd,WA;ns?(Ua=pe&&Vd&&Ps?J:na.left,Zs=pe?le:Ea(ts,Hs,"before"),Hd=pe?J:Ea(xl,Hs,"after"),WA=pe&&zA&&jA?le:ys.right):(Ua=pe?Ea(ts,Hs,"before"):J,Zs=!pe&&Vd&&Ps?le:na.right,Hd=!pe&&zA&&jA?J:ys.left,WA=pe?Ea(xl,Hs,"after"):le),We(Ua,na.top,Zs-Ua,na.bottom),na.bottom<ys.top&&We(J,na.bottom,null,ys.top),We(Hd,ys.top,WA-Hd,ys.bottom)}(!ko||KA(na,ko)<0)&&(ko=na),KA(ys,ko)<0&&(ko=ys),(!La||KA(na,La)<0)&&(La=na),KA(ys,La)<0&&(La=ys)}),{start:ko,end:La}}var wt=f.from(),gt=f.to();if(wt.line==gt.line)qe(wt.line,wt.ch,gt.ch);else{var Lt=Qn(E,wt.line),dn=Qn(E,gt.line),Bn=Yr(Lt)==Yr(dn),Gn=qe(wt.line,wt.ch,Bn?Lt.text.length+1:null).end,_n=qe(gt.line,Bn?0:null,gt.ch).start;Bn&&(Gn.top<_n.top-2?(We(Gn.right,Gn.top,null,Gn.bottom),We(J,_n.top,_n.left,_n.bottom)):We(Gn.right,Gn.top,_n.left-Gn.right,Gn.bottom)),Gn.bottom<_n.top&&We(J,Gn.bottom,null,_n.top)}x.appendChild(L)}function Du(A){if(A.state.focused){var f=A.display;clearInterval(f.blinker);var x=!0;f.cursorDiv.style.visibility="",A.options.cursorBlinkRate>0?f.blinker=setInterval(function(){A.hasFocus()||fc(A),f.cursorDiv.style.visibility=(x=!x)?"":"hidden"},A.options.cursorBlinkRate):A.options.cursorBlinkRate<0&&(f.cursorDiv.style.visibility="hidden")}}function gu(A){A.hasFocus()||(A.display.input.focus(),A.state.focused||Kf(A))}function PA(A){A.state.delayingBlurEvent=!0,setTimeout(function(){A.state.delayingBlurEvent&&(A.state.delayingBlurEvent=!1,A.state.focused&&fc(A))},100)}function Kf(A,f){A.state.delayingBlurEvent&&!A.state.draggingText&&(A.state.delayingBlurEvent=!1),A.options.readOnly!="nocursor"&&(A.state.focused||(Te(A,"focus",A,f),A.state.focused=!0,He(A.display.wrapper,"CodeMirror-focused"),!A.curOp&&A.display.selForContextMenu!=A.doc.sel&&(A.display.input.reset(),C&&setTimeout(function(){return A.display.input.reset(!0)},20)),A.display.input.receivedFocus()),Du(A))}function fc(A,f){A.state.delayingBlurEvent||(A.state.focused&&(Te(A,"blur",A,f),A.state.focused=!1,ft(A.display.wrapper,"CodeMirror-focused")),clearInterval(A.display.blinker),setTimeout(function(){A.state.focused||(A.display.shift=!1)},150))}function Lu(A){for(var f=A.display,x=f.lineDiv.offsetTop,b=Math.max(0,f.scroller.getBoundingClientRect().top),E=f.lineDiv.getBoundingClientRect().top,L=0,$=0;$<f.view.length;$++){var J=f.view[$],le=A.options.lineWrapping,pe=void 0,We=0;if(!J.hidden){if(E+=J.line.height,h&&g<8){var qe=J.node.offsetTop+J.node.offsetHeight;pe=qe-x,x=qe}else{var wt=J.node.getBoundingClientRect();pe=wt.bottom-wt.top,!le&&J.text.firstChild&&(We=J.text.firstChild.getBoundingClientRect().right-wt.left-1)}var gt=J.line.height-pe;if((gt>.005||gt<-.005)&&(E<b&&(L-=gt),Ji(J.line,pe),yo(J.line),J.rest))for(var Lt=0;Lt<J.rest.length;Lt++)yo(J.rest[Lt]);if(We>A.display.sizerWidth){var dn=Math.ceil(We/pu(A.display));dn>A.display.maxLineLength&&(A.display.maxLineLength=dn,A.display.maxLine=J.line,A.display.maxLineChanged=!0)}}}Math.abs(L)>2&&(f.scroller.scrollTop+=L)}function yo(A){if(A.widgets)for(var f=0;f<A.widgets.length;++f){var x=A.widgets[f],b=x.node.parentNode;b&&(x.height=b.offsetHeight)}}function yu(A,f,x){var b=x&&x.top!=null?Math.max(0,x.top):A.scroller.scrollTop;b=Math.floor(b-BA(A));var E=x&&x.bottom!=null?x.bottom:b+A.wrapper.clientHeight,L=$e(f,b),$=$e(f,E);if(x&&x.ensure){var J=x.ensure.from.line,le=x.ensure.to.line;J<L?(L=J,$=$e(f,Ta(Qn(f,J))+A.wrapper.clientHeight)):Math.min(le,f.lastLine())>=$&&(L=$e(f,Ta(Qn(f,le))-A.wrapper.clientHeight),$=le)}return{from:L,to:Math.max($,L+1)}}function Vc(A,f){if(!de(A,"scrollCursorIntoView")){var x=A.display,b=x.sizer.getBoundingClientRect(),E=null,L=x.wrapper.ownerDocument;if(f.top+b.top<0?E=!0:f.bottom+b.top>(L.defaultView.innerHeight||L.documentElement.clientHeight)&&(E=!1),E!=null&&!Q){var $=_e("div","​",null,`position: absolute;
top: `+(f.top-x.viewOffset-BA(A.display))+`px;
height: `+(f.bottom-f.top+hu(A)+x.barHeight)+`px;
left: `+f.left+"px; width: "+Math.max(2,f.right-f.left)+"px;");A.display.lineSpace.appendChild($),$.scrollIntoView(E),A.display.lineSpace.removeChild($)}}}function Fp(A,f,x,b){b==null&&(b=0);var E;!A.options.lineWrapping&&f==x&&(x=f.sticky=="before"?Kt(f.line,f.ch+1,"before"):f,f=f.ch?Kt(f.line,f.sticky=="before"?f.ch-1:f.ch,"after"):f);for(var L=0;L<5;L++){var $=!1,J=Rt(A,f),le=!x||x==f?J:Rt(A,x);E={left:Math.min(J.left,le.left),top:Math.min(J.top,le.top)-b,right:Math.max(J.left,le.left),bottom:Math.max(J.bottom,le.bottom)+b};var pe=Pd(A,E),We=A.doc.scrollTop,qe=A.doc.scrollLeft;if(pe.scrollTop!=null&&(pc(A,pe.scrollTop),Math.abs(A.doc.scrollTop-We)>1&&($=!0)),pe.scrollLeft!=null&&($o(A,pe.scrollLeft),Math.abs(A.doc.scrollLeft-qe)>1&&($=!0)),!$)break}return E}function Ff(A,f){var x=Pd(A,f);x.scrollTop!=null&&pc(A,x.scrollTop),x.scrollLeft!=null&&$o(A,x.scrollLeft)}function Pd(A,f){var x=A.display,b=Jo(A.display);f.top<0&&(f.top=0);var E=A.curOp&&A.curOp.scrollTop!=null?A.curOp.scrollTop:x.scroller.scrollTop,L=$c(A),$={};f.bottom-f.top>L&&(f.bottom=f.top+L);var J=A.doc.height+bh(x),le=f.top<b,pe=f.bottom>J-b;if(f.top<E)$.scrollTop=le?0:f.top;else if(f.bottom>E+L){var We=Math.min(f.top,(pe?J:f.bottom)-L);We!=E&&($.scrollTop=We)}var qe=A.options.fixedGutter?0:x.gutters.offsetWidth,wt=A.curOp&&A.curOp.scrollLeft!=null?A.curOp.scrollLeft:x.scroller.scrollLeft-qe,gt=Fu(A)-x.gutters.offsetWidth,Lt=f.right-f.left>gt;return Lt&&(f.right=f.left+gt),f.left<10?$.scrollLeft=0:f.left<wt?$.scrollLeft=Math.max(0,f.left+qe-(Lt?0:10)):f.right>gt+wt-3&&($.scrollLeft=f.right+(Lt?0:10)-gt),$}function Sh(A,f){f!=null&&(Er(A),A.curOp.scrollTop=(A.curOp.scrollTop==null?A.doc.scrollTop:A.curOp.scrollTop)+f)}function to(A){Er(A);var f=A.getCursor();A.curOp.scrollToPos={from:f,to:f,margin:A.options.cursorScrollMargin}}function ea(A,f,x){(f!=null||x!=null)&&Er(A),f!=null&&(A.curOp.scrollLeft=f),x!=null&&(A.curOp.scrollTop=x)}function gr(A,f){Er(A),A.curOp.scrollToPos=f}function Er(A){var f=A.curOp.scrollToPos;if(f){A.curOp.scrollToPos=null;var x=dr(A,f.from),b=dr(A,f.to);FA(A,x,b,f.margin)}}function FA(A,f,x,b){var E=Pd(A,{left:Math.min(f.left,x.left),top:Math.min(f.top,x.top)-b,right:Math.max(f.right,x.right),bottom:Math.max(f.bottom,x.bottom)+b});ea(A,E.scrollLeft,E.scrollTop)}function pc(A,f){Math.abs(A.doc.scrollTop-f)<2||(i||bl(A,{top:f}),Hc(A,f,!0),i&&bl(A),mc(A,100))}function Hc(A,f,x){f=Math.max(0,Math.min(A.display.scroller.scrollHeight-A.display.scroller.clientHeight,f)),!(A.display.scroller.scrollTop==f&&!x)&&(A.doc.scrollTop=f,A.display.scrollbars.setScrollTop(f),A.display.scroller.scrollTop!=f&&(A.display.scroller.scrollTop=f))}function $o(A,f,x,b){f=Math.max(0,Math.min(f,A.display.scroller.scrollWidth-A.display.scroller.clientWidth)),!((x?f==A.doc.scrollLeft:Math.abs(A.doc.scrollLeft-f)<2)&&!b)&&(A.doc.scrollLeft=f,p(A),A.display.scroller.scrollLeft!=f&&(A.display.scroller.scrollLeft=f),A.display.scrollbars.setScrollLeft(f))}function aA(A){var f=A.display,x=f.gutters.offsetWidth,b=Math.round(A.doc.height+bh(A.display));return{clientHeight:f.scroller.clientHeight,viewHeight:f.wrapper.clientHeight,scrollWidth:f.scroller.scrollWidth,clientWidth:f.scroller.clientWidth,viewWidth:f.wrapper.clientWidth,barLeft:A.options.fixedGutter?x:0,docHeight:b,scrollHeight:b+hu(A)+f.barHeight,nativeBarWidth:f.nativeBarWidth,gutterWidth:x}}var va=function(A,f,x){this.cm=x;var b=this.vert=_e("div",[_e("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),E=this.horiz=_e("div",[_e("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");b.tabIndex=E.tabIndex=-1,A(b),A(E),Tt(b,"scroll",function(){b.clientHeight&&f(b.scrollTop,"vertical")}),Tt(E,"scroll",function(){E.clientWidth&&f(E.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,h&&g<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};va.prototype.update=function(A){var f=A.scrollWidth>A.clientWidth+1,x=A.scrollHeight>A.clientHeight+1,b=A.nativeBarWidth;if(x){this.vert.style.display="block",this.vert.style.bottom=f?b+"px":"0";var E=A.viewHeight-(f?b:0);this.vert.firstChild.style.height=Math.max(0,A.scrollHeight-A.clientHeight+E)+"px"}else this.vert.scrollTop=0,this.vert.style.display="",this.vert.firstChild.style.height="0";if(f){this.horiz.style.display="block",this.horiz.style.right=x?b+"px":"0",this.horiz.style.left=A.barLeft+"px";var L=A.viewWidth-A.barLeft-(x?b:0);this.horiz.firstChild.style.width=Math.max(0,A.scrollWidth-A.clientWidth+L)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&A.clientHeight>0&&(b==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:x?b:0,bottom:f?b:0}},va.prototype.setScrollLeft=function(A){this.horiz.scrollLeft!=A&&(this.horiz.scrollLeft=A),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},va.prototype.setScrollTop=function(A){this.vert.scrollTop!=A&&(this.vert.scrollTop=A),this.disableVert&&this.enab Line truncated
`},setDirection:la(function(A){A!="rtl"&&(A="ltr"),A!=this.direction&&(this.direction=A,this.iter(function(f){return f.order=null}),this.cm&&In(this.cm))})}),ms.prototype.eachLine=ms.prototype.iter;var Lp=0;function Up(A){var f=this;if(t0(f),!(de(f,A)||Tl(f.display,A))){Xe(A),h&&(Lp=+new Date);var x=vl(f,A,!0),b=A.dataTransfer.files;if(!(!x||f.isReadOnly()))if(b&&b.length&&window.FileReader&&window.File)for(var E=b.length,L=Array(E),$=0,J=function(){++$==E&&no(f,function(){x=Br(f.doc,x);var gt={from:x,to:x,text:f.doc.splitLines(L.filter(function(Lt){return Lt!=null}).join(f.doc.lineSeparator())),origin:"paste"};Vl(f.doc,gt),Bo(f.doc,je(Br(f.doc,x),Br(f.doc,ct(gt))))})()},le=function(gt,Lt){if(f.options.allowDropFileTypes&&Pe(f.options.allowDropFileTypes,gt.type)==-1){J();return}var dn=new FileReader;dn.onerror=function(){return J()},dn.onload=function(){var Bn=dn.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(Bn)){J();return}L[Lt]=Bn,J()},dn.readAsText(gt)},pe=0;pe<b.length;pe++)le(b[pe],pe);else{if(f.state.draggingText&&f.doc.sel.contains(x)>-1){f.state.draggingText(A),setTimeout(function(){return f.display.input.focus()},20);return}try{var We=A.dataTransfer.getData("Text");if(We){var qe;if(f.state.draggingText&&!f.state.draggingText.copy&&(qe=f.listSelections()),ho(f.doc,je(x,x)),qe)for(var wt=0;wt<qe.length;++wt)ju(f.doc,"",qe[wt].anchor,qe[wt].head,"drag");f.replaceSelection(We,"around","paste"),f.display.input.focus()}}catch{}}}}function e0(A,f){if(h&&(!A.state.draggingText||+new Date-Lp<100)){Ve(f);return}if(!(de(A,f)||Tl(A.display,f))&&(f.dataTransfer.setData("Text",A.getSelection()),f.dataTransfer.effectAllowed="copyMove",f.dataTransfer.setDragImage&&!Z)){var x=_e("img",null,null,"position: fixed; left: 0; top: 0;");x.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",U&&(x.width=x.height=1,A.display.wrapper.appendChild(x),x._top=x.offsetTop),f.dataTransfer.setDragImage(x,0,0),U&&x.parentNode.removeChild(x)}}function ji(A,f){var x=vl(A,f);if(x){var b=document.createDocumentFragment();hc(A,x,b),A.display.dragCursor||(A.display.dragCursor=_e("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),A.display.lineSpace.insertBefore(A.display.dragCursor,A.display.cursorDiv)),rt(A.display.dragCursor,b)}}function t0(A){A.display.dragCursor&&(A.display.lineSpace.removeChild(A.display.dragCursor),A.display.dragCursor=null)}function n0(A){if(document.getElementsByClassName){for(var f=document.getElementsByClassName("CodeMirror"),x=[],b=0;b<f.length;b++){var E=f[b].CodeMirror;E&&x.push(E)}x.length&&x[0].operation(function(){for(var L=0;L<x.length;L++)A(x[L])})}}var Ph=!1;function Rp(){Ph||(K1(),Ph=!0)}function K1(){var A;Tt(window,"resize",function(){A==null&&(A=setTimeout(function(){A=null,n0(r0)},100))}),Tt(window,"blur",function(){return n0(fc)})}function r0(A){var f=A.display;f.cachedCharWidth=f.cachedTextHeight=f.cachedPaddingH=null,f.scrollbarsClipped=!1,A.setSize()}for(var Sa={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Mod",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},sl=0;sl<10;sl++)Sa[sl+48]=Sa[sl+96]=String(sl);for(var td=65;td<=90;td++)Sa[td]=String.fromCharCode(td);for(var jd=1;jd<=12;jd++)Sa[jd+111]=Sa[jd+63235]="F"+jd;var uA={};uA.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},uA.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},uA.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-Backspace":"delWordBefore","Ctrl-K":"kiLine truncated
`,"start")},toggleOverwrite:function(A){return A.toggleOverwrite()}};function Cc(A,f){var x=Qn(A.doc,f),b=Yr(x);return b!=x&&(f=ge(b)),Nf(!0,A,b,f,1)}function F1(A,f){var x=Qn(A.doc,f),b=Gi(x);return b!=x&&(f=ge(b)),Nf(!0,A,x,f,-1)}function i0(A,f){var x=Cc(A,f.line),b=Qn(A.doc,x.line),E=En(b,A.doc.direction);if(!E||E[0].level==0){var L=Math.max(x.ch,b.text.search(/\S/)),$=f.line==x.line&&f.ch<=L&&f.ch;return Kt(x.line,$?0:L,x.sticky)}return x}function od(A,f,x){if(typeof f=="string"&&(f=Gf[f],!f))return!1;A.display.input.ensurePolled();var b=A.display.shift,E=!1;try{A.isReadOnly()&&(A.state.suppressEdits=!0),x&&(A.display.shift=!1),E=f(A)!=nt}finally{A.display.shift=b,A.state.suppressEdits=!1}return E}function av(A,f,x){for(var b=0;b<A.state.keyMaps.length;b++){var E=Cu(f,A.state.keyMaps[b],x,A);if(E)return E}return A.options.extraKeys&&Cu(f,A.options.extraKeys,x,A)||Cu(f,A.options.keyMap,x,A)}var Dh=new be;function Qf(A,f,x,b){var E=A.state.keySeq;if(E){if(zp(f))return"handled";if(/\'$/.test(f)?A.state.keySeq=null:Dh.set(50,function(){A.state.keySeq==E&&(A.state.keySeq=null,A.display.input.reset())}),Aa(A,E+" "+f,x,b))return!0}return Aa(A,f,x,b)}function Aa(A,f,x,b){var E=av(A,f,b);return E=="multi"&&(A.state.keySeq=f),E=="handled"&&Do(A,"keyHandled",A,f,x),(E=="handled"||E=="multi")&&(Xe(x),Du(A)),!!E}function Lh(A,f){var x=nd(f,!0);return x?f.shiftKey&&!A.state.keySeq?Qf(A,"Shift-"+x,f,function(b){return od(A,b,!0)})||Qf(A,x,f,function(b){if(typeof b=="string"?/^go[A-Z]/.test(b):b.motion)return od(A,b)}):Qf(A,x,f,function(b){return od(A,b)}):!1}function D1(A,f,x){return Qf(A,"'"+x+"'",f,function(b){return od(A,b,!0)})}var Wd=null;function Uh(A){var f=this;if(!(A.target&&A.target!=f.display.input.getField())&&(f.curOp.focus=Qt(mt(f)),!de(f,A))){h&&g<11&&A.keyCode==27&&(A.returnValue=!1);var x=A.keyCode;f.display.shift=x==16||A.shiftKey;var b=Lh(f,A);U&&(Wd=b?x:null,!b&&x==88&&!Ur&&(Ae?A.metaKey:A.ctrlKey)&&f.replaceSelection("",null,"cut")),i&&!Ae&&!b&&x==46&&A.shiftKey&&!A.ctrlKey&&document.execCommand&&document.execCommand("cut"),x==18&&!/\bCodeMirror-crosshair\b/.test(f.display.lineDiv.className)&&Vs(f)}}function Vs(A){var f=A.display.lineDiv;He(f,"CodeMirror-crosshair");function x(b){(b.keyCode==18||!b.altKey)&&(ft(f,"CodeMirror-crosshair"),Wn(document,"keyup",x),Wn(document,"mouseover",x))}Tt(document,"keyup",x),Tt(document,"mouseover",x)}function Nu(A){A.keyCode==16&&(this.doc.sel.shift=!1),de(this,A)}function o0(A){var f=this;if(!(A.target&&A.target!=f.display.input.getField())&&!(Tl(f.display,A)||de(f,A)||A.ctrlKey&&!A.altKey||Ae&&A.metaKey)){var x=A.keyCode,b=A.charCode;if(U&&x==Wd){Wd=null,Xe(A);return}if(!(U&&(!A.which||A.which<10)&&Lh(f,A))){var E=String.fromCharCode(b??x);E!="\b"&&(D1(f,A,E)||f.display.input.onKeyPress(A))}}}var $f=400,ad=function(A,f,x){this.time=A,this.pos=f,this.button=x};ad.prototype.compare=function(A,f,x){return this.time+$f>A&&Mn(f,this.pos)==0&&x==this.button};var Gu,Nd;function L1(A,f){var x=+new Date;return Nd&&Nd.compare(x,A,f)?(Gu=Nd=null,"triple"):Gu&&Gu.compare(x,A,f)?(Nd=new ad(x,A,f),Gu=null,"double"):(Gu=new ad(x,A,f),Nd=null,"single")}function a0(A){var f=this,x=f.display;if(!(de(f,A)||x.activeTouch&&x.input.supportsTouch())){if(x.input.ensurePolled(),x.shift=A.shiftKey,Tl(x,A)){C||(x.scroller.draggable=!1,setTimeout(function(){return x.scroller.draggable=!0},100));return}if(!Qd(f,A)){var b=vl(f,A),E=Zt(A),L=b?L1(b,E):"single";kt(f).focus(),E==1&&f.state.selectingText&&f.state.selectingText(A),!(b&&Rh(f,E,b,L,A))&&(E==1?b?Gd(f,b,L,A):Ct(A)==x.scroller&&Xe(A):E==2?(b&&Fl(f.doc,b),setTimeout(function(){return x.input.focus()},20)):E==3&&(Ne?f.display.input.onContextMenu(A):PA(f)))}}}function Rh(A,f,x,b,E){var L="Click";return b=="double"?L="Double"+L:b=="triple"&&(L="Triple"+L),L=(f==1?"Left":f==2?"Middle":"Right")+L,Qf(A,jf(L,E),E,function($){if(typeof $=="string"&&($=Gf[$]),!$)return!1;var J=!1;try{A.isReadOnly()&&(A.state.suppressEdits=!0),J=$(A,x)!=nt}finally{A.state.suppressEdits=!1}return J})}function zh(A,f,x){var b=A.getOption("configureMouse"),E=b?b(A,f,x):{};if(E.unit==null){var L=ae?x.shiftKey&&x.metaKey:x.altKey;E.unit=L?"rectangle":f=="single"?"char":f=="double"?"word":"line"}return(E.extend==null||A.doc.extend)&&(E.extend=A.doc.extend||x.shiftKey),E.addNew==null&&(E.addNew=Ae?x.metaKey:x.ctrlKey),E.moveOnDrag==null&&(E.moveOnDrag=!(Ae?x.altKey:x.ctrlKey)),E}function Gd(A,f,x,b){h?setTimeout(Pt(gu,A),0):A.curOp.focus=Qt(mt(A));var E=zh(A,x,b),L=A.doc.sel,$;A.options.dragDrop&&Ht&&!A.isReadOnly()&&x=="single"&&($=L.contains(f))>-1&&(Mn(($=L.ranges[$]).from(),f)<0||f.xRel>0)&&(Mn($.to(),f)>0||f.xRel<0)?sv(A,b,f,E):jp(A,b,f,E)}function sv(A,f,x,b){var E=A.display,L=!1,$=no(A,function(pe){C&&(E.scroller.draggable=!1),A.state.draggingText=!1,A.state.delayingBlurEvent&&(A.hasFocus()?A.state.delayingBlurEvent=!1:PA(A)),Wn(E.wrapper.ownerDocument,"mouseup",$),Wn(E.wrapper.ownerDocument,"mousemove",J),Wn(E.scroller,"dragstart",le),Wn(E.scroller,"drop",$) Line truncated
left: `+f.left+"px; width: "+Math.max(2,f.right-f.left)+"px;");A.display.lineSpace.appendChild($),$.scrollIntoView(E),A.display.lineSpace.removeChild($)}}}function Pp(A,f,x,b){b==null&&(b=0);var E;!A.options.lineWrapping&&f==x&&(x=f.sticky=="before"?Kt(f.line,f.ch+1,"before"):f,f=f.ch?Kt(f.line,f.sticky=="before"?f.ch-1:f.ch,"after"):f);for(var L=0;L<5;L++){var $=!1,J=Rt(A,f),le=!x||x==f?J:Rt(A,x);E={left:Math.min(J.left,le.left),top:Math.min(J.top,le.top)-b,right:Math.max(J.left,le.left),bottom:Math.max(J.bottom,le.bottom)+b};var pe=Pd(A,E),We=A.doc.scrollTop,qe=A.doc.scrollLeft;if(pe.scrollTop!=null&&(pc(A,pe.scrollTop),Math.abs(A.doc.scrollTop-We)>1&&($=!0)),pe.scrollLeft!=null&&(Qo(A,pe.scrollLeft),Math.abs(A.doc.scrollLeft-qe)>1&&($=!0)),!$)break}return E}function Pf(A,f){var x=Pd(A,f);x.scrollTop!=null&&pc(A,x.scrollTop),x.scrollLeft!=null&&Qo(A,x.scrollLeft)}function Pd(A,f){var x=A.display,b=Jo(A.display);f.top<0&&(f.top=0);var E=A.curOp&&A.curOp.scrollTop!=null?A.curOp.scrollTop:x.scroller.scrollTop,L=$c(A),$={};f.bottom-f.top>L&&(f.bottom=f.top+L);var J=A.doc.height+Ch(x),le=f.top<b,pe=f.bottom>J-b;if(f.top<E)$.scrollTop=le?0:f.top;else if(f.bottom>E+L){var We=Math.min(f.top,(pe?J:f.bottom)-L);We!=E&&($.scrollTop=We)}var qe=A.options.fixedGutter?0:x.gutters.offsetWidth,wt=A.curOp&&A.curOp.scrollLeft!=null?A.curOp.scrollLeft:x.scroller.scrollLeft-qe,gt=Fu(A)-x.gutters.offsetWidth,Lt=f.right-f.left>gt;return Lt&&(f.right=f.left+gt),f.left<10?$.scrollLeft=0:f.left<wt?$.scrollLeft=Math.max(0,f.left+qe-(Lt?0:10)):f.right>gt+wt-3&&($.scrollLeft=f.right+(Lt?0:10)-gt),$}function Mh(A,f){f!=null&&(Er(A),A.curOp.scrollTop=(A.curOp.scrollTop==null?A.doc.scrollTop:A.curOp.scrollTop)+f)}function to(A){Er(A);var f=A.getCursor();A.curOp.scrollToPos={from:f,to:f,margin:A.options.cursorScrollMargin}}function ea(A,f,x){(f!=null||x!=null)&&Er(A),f!=null&&(A.curOp.scrollLeft=f),x!=null&&(A.curOp.scrollTop=x)}function gr(A,f){Er(A),A.curOp.scrollToPos=f}function Er(A){var f=A.curOp.scrollToPos;if(f){A.curOp.scrollToPos=null;var x=dr(A,f.from),b=dr(A,f.to);FA(A,x,b,f.margin)}}function FA(A,f,x,b){var E=Pd(A,{left:Math.min(f.left,x.left),top:Math.min(f.top,x.top)-b,right:Math.max(f.right,x.right),bottom:Math.max(f.bottom,x.bottom)+b});ea(A,E.scrollLeft,E.scrollTop)}function pc(A,f){Math.abs(A.doc.scrollTop-f)<2||(i||bl(A,{top:f}),Hc(A,f,!0),i&&bl(A),mc(A,100))}function Hc(A,f,x){f=Math.max(0,Math.min(A.display.scroller.scrollHeight-A.display.scroller.clientHeight,f)),!(A.display.scroller.scrollTop==f&&!x)&&(A.doc.scrollTop=f,A.display.scrollbars.setScrollTop(f),A.display.scroller.scrollTop!=f&&(A.display.scroller.scrollTop=f))}function Qo(A,f,x,b){f=Math.max(0,Math.min(f,A.display.scroller.scrollWidth-A.display.scroller.clientWidth)),!((x?f==A.doc.scrollLeft:Math.abs(A.doc.scrollLeft-f)<2)&&!b)&&(A.doc.scrollLeft=f,p(A),A.display.scroller.scrollLeft!=f&&(A.display.scroller.scrollLeft=f),A.display.scrollbars.setScrollLeft(f))}function aA(A){var f=A.display,x=f.gutters.offsetWidth,b=Math.round(A.doc.height+Ch(A.display));return{clientHeight:f.scroller.clientHeight,viewHeight:f.wrapper.clientHeight,scrollWidth:f.scroller.scrollWidth,clientWidth:f.scroller.clientWidth,viewWidth:f.wrapper.clientWidth,barLeft:A.options.fixedGutter?x:0,docHeight:b,scrollHeight:b+hu(A)+f.barHeight,nativeBarWidth:f.nativeBarWidth,gutterWidth:x}}var va=function(A,f,x){this.cm=x;var b=this.vert=_e("div",[_e("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),E=this.horiz=_e("div",[_e("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");b.tabIndex=E.tabIndex=-1,A(b),A(E),Tt(b,"scroll",function(){b.clientHeight&&f(b.scrollTop,"vertical")}),Tt(E,"scroll",function(){E.clientWidth&&f(E.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,h&&g<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};va.prototype.update=function(A){var f=A.scrollWidth>A.clientWidth+1,x=A.scrollHeight>A.clientHeight+1,b=A.nativeBarWidth;if(x){this.vert.style.display="block",this.vert.style.bottom=f?b+"px":"0";var E=A.viewHeight-(f?b:0);this.vert.firstChild.style.height=Math.max(0,A.scrollHeight-A.clientHeight+E)+"px"}else this.vert.scrollTop=0,this.vert.style.display="",this.vert.firstChild.style.height="0";if(f){this.horiz.style.display="block",this.horiz.style.right=x?b+"px":"0",this.horiz.style.left=A.barLeft+"px";var L=A.viewWidth-A.barLeft-(x?b:0);this.horiz.firstChild.style.width=Math.max(0,A.scrollWidth-A.clientWidth+L)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&A.clientHeight>0&&(b==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:x?b:0,bottom:f?b:0}},va.prototype.setScrollLeft=function(A){this.horiz.scrollLeft!=A&&(this.horiz.scrollLeft=A),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},va.prototype.setScrollTop=function(A){this.vert.scrollTop!=A&&(this.vert.scrollTop=A),this.disableVert&&this.enab Line truncated
`},setDirection:la(function(A){A!="rtl"&&(A="ltr"),A!=this.direction&&(this.direction=A,this.iter(function(f){return f.order=null}),this.cm&&In(this.cm))})}),ms.prototype.eachLine=ms.prototype.iter;var Dp=0;function Lp(A){var f=this;if(t0(f),!(de(f,A)||Tl(f.display,A))){Xe(A),h&&(Dp=+new Date);var x=vl(f,A,!0),b=A.dataTransfer.files;if(!(!x||f.isReadOnly()))if(b&&b.length&&window.FileReader&&window.File)for(var E=b.length,L=Array(E),$=0,J=function(){++$==E&&no(f,function(){x=Br(f.doc,x);var gt={from:x,to:x,text:f.doc.splitLines(L.filter(function(Lt){return Lt!=null}).join(f.doc.lineSeparator())),origin:"paste"};Vl(f.doc,gt),Bo(f.doc,je(Br(f.doc,x),Br(f.doc,ct(gt))))})()},le=function(gt,Lt){if(f.options.allowDropFileTypes&&Pe(f.options.allowDropFileTypes,gt.type)==-1){J();return}var dn=new FileReader;dn.onerror=function(){return J()},dn.onload=function(){var Bn=dn.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(Bn)){J();return}L[Lt]=Bn,J()},dn.readAsText(gt)},pe=0;pe<b.length;pe++)le(b[pe],pe);else{if(f.state.draggingText&&f.doc.sel.contains(x)>-1){f.state.draggingText(A),setTimeout(function(){return f.display.input.focus()},20);return}try{var We=A.dataTransfer.getData("Text");if(We){var qe;if(f.state.draggingText&&!f.state.draggingText.copy&&(qe=f.listSelections()),ho(f.doc,je(x,x)),qe)for(var wt=0;wt<qe.length;++wt)ju(f.doc,"",qe[wt].anchor,qe[wt].head,"drag");f.replaceSelection(We,"around","paste"),f.display.input.focus()}}catch{}}}}function e0(A,f){if(h&&(!A.state.draggingText||+new Date-Dp<100)){Ve(f);return}if(!(de(A,f)||Tl(A.display,f))&&(f.dataTransfer.setData("Text",A.getSelection()),f.dataTransfer.effectAllowed="copyMove",f.dataTransfer.setDragImage&&!Z)){var x=_e("img",null,null,"position: fixed; left: 0; top: 0;");x.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",U&&(x.width=x.height=1,A.display.wrapper.appendChild(x),x._top=x.offsetTop),f.dataTransfer.setDragImage(x,0,0),U&&x.parentNode.removeChild(x)}}function ji(A,f){var x=vl(A,f);if(x){var b=document.createDocumentFragment();hc(A,x,b),A.display.dragCursor||(A.display.dragCursor=_e("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),A.display.lineSpace.insertBefore(A.display.dragCursor,A.display.cursorDiv)),rt(A.display.dragCursor,b)}}function t0(A){A.display.dragCursor&&(A.display.lineSpace.removeChild(A.display.dragCursor),A.display.dragCursor=null)}function n0(A){if(document.getElementsByClassName){for(var f=document.getElementsByClassName("CodeMirror"),x=[],b=0;b<f.length;b++){var E=f[b].CodeMirror;E&&x.push(E)}x.length&&x[0].operation(function(){for(var L=0;L<x.length;L++)A(x[L])})}}var Kh=!1;function Up(){Kh||(K1(),Kh=!0)}function K1(){var A;Tt(window,"resize",function(){A==null&&(A=setTimeout(function(){A=null,n0(r0)},100))}),Tt(window,"blur",function(){return n0(fc)})}function r0(A){var f=A.display;f.cachedCharWidth=f.cachedTextHeight=f.cachedPaddingH=null,f.scrollbarsClipped=!1,A.setSize()}for(var Sa={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Mod",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},sl=0;sl<10;sl++)Sa[sl+48]=Sa[sl+96]=String(sl);for(var td=65;td<=90;td++)Sa[td]=String.fromCharCode(td);for(var jd=1;jd<=12;jd++)Sa[jd+111]=Sa[jd+63235]="F"+jd;var uA={};uA.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},uA.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},uA.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-Backspace":"delWordBefore","Ctrl-K":"kiLine truncated
`,"start")},toggleOverwrite:function(A){return A.toggleOverwrite()}};function Cc(A,f){var x=Qn(A.doc,f),b=Yr(x);return b!=x&&(f=ge(b)),Wf(!0,A,b,f,1)}function F1(A,f){var x=Qn(A.doc,f),b=Gi(x);return b!=x&&(f=ge(b)),Wf(!0,A,x,f,-1)}function i0(A,f){var x=Cc(A,f.line),b=Qn(A.doc,x.line),E=En(b,A.doc.direction);if(!E||E[0].level==0){var L=Math.max(x.ch,b.text.search(/\S/)),$=f.line==x.line&&f.ch<=L&&f.ch;return Kt(x.line,$?0:L,x.sticky)}return x}function od(A,f,x){if(typeof f=="string"&&(f=Nf[f],!f))return!1;A.display.input.ensurePolled();var b=A.display.shift,E=!1;try{A.isReadOnly()&&(A.state.suppressEdits=!0),x&&(A.display.shift=!1),E=f(A)!=nt}finally{A.display.shift=b,A.state.suppressEdits=!1}return E}function av(A,f,x){for(var b=0;b<A.state.keyMaps.length;b++){var E=Cu(f,A.state.keyMaps[b],x,A);if(E)return E}return A.options.extraKeys&&Cu(f,A.options.extraKeys,x,A)||Cu(f,A.options.keyMap,x,A)}var Fh=new be;function Gf(A,f,x,b){var E=A.state.keySeq;if(E){if(Rp(f))return"handled";if(/\'$/.test(f)?A.state.keySeq=null:Fh.set(50,function(){A.state.keySeq==E&&(A.state.keySeq=null,A.display.input.reset())}),Aa(A,E+" "+f,x,b))return!0}return Aa(A,f,x,b)}function Aa(A,f,x,b){var E=av(A,f,b);return E=="multi"&&(A.state.keySeq=f),E=="handled"&&Fo(A,"keyHandled",A,f,x),(E=="handled"||E=="multi")&&(Xe(x),Du(A)),!!E}function Dh(A,f){var x=nd(f,!0);return x?f.shiftKey&&!A.state.keySeq?Gf(A,"Shift-"+x,f,function(b){return od(A,b,!0)})||Gf(A,x,f,function(b){if(typeof b=="string"?/^go[A-Z]/.test(b):b.motion)return od(A,b)}):Gf(A,x,f,function(b){return od(A,b)}):!1}function D1(A,f,x){return Gf(A,"'"+x+"'",f,function(b){return od(A,b,!0)})}var Wd=null;function Lh(A){var f=this;if(!(A.target&&A.target!=f.display.input.getField())&&(f.curOp.focus=Qt(mt(f)),!de(f,A))){h&&g<11&&A.keyCode==27&&(A.returnValue=!1);var x=A.keyCode;f.display.shift=x==16||A.shiftKey;var b=Dh(f,A);U&&(Wd=b?x:null,!b&&x==88&&!Ur&&(Ae?A.metaKey:A.ctrlKey)&&f.replaceSelection("",null,"cut")),i&&!Ae&&!b&&x==46&&A.shiftKey&&!A.ctrlKey&&document.execCommand&&document.execCommand("cut"),x==18&&!/\bCodeMirror-crosshair\b/.test(f.display.lineDiv.className)&&Vs(f)}}function Vs(A){var f=A.display.lineDiv;He(f,"CodeMirror-crosshair");function x(b){(b.keyCode==18||!b.altKey)&&(ft(f,"CodeMirror-crosshair"),Wn(document,"keyup",x),Wn(document,"mouseover",x))}Tt(document,"keyup",x),Tt(document,"mouseover",x)}function Nu(A){A.keyCode==16&&(this.doc.sel.shift=!1),de(this,A)}function o0(A){var f=this;if(!(A.target&&A.target!=f.display.input.getField())&&!(Tl(f.display,A)||de(f,A)||A.ctrlKey&&!A.altKey||Ae&&A.metaKey)){var x=A.keyCode,b=A.charCode;if(U&&x==Wd){Wd=null,Xe(A);return}if(!(U&&(!A.which||A.which<10)&&Dh(f,A))){var E=String.fromCharCode(b??x);E!="\b"&&(D1(f,A,E)||f.display.input.onKeyPress(A))}}}var Qf=400,ad=function(A,f,x){this.time=A,this.pos=f,this.button=x};ad.prototype.compare=function(A,f,x){return this.time+Qf>A&&Mn(f,this.pos)==0&&x==this.button};var Gu,Nd;function L1(A,f){var x=+new Date;return Nd&&Nd.compare(x,A,f)?(Gu=Nd=null,"triple"):Gu&&Gu.compare(x,A,f)?(Nd=new ad(x,A,f),Gu=null,"double"):(Gu=new ad(x,A,f),Nd=null,"single")}function a0(A){var f=this,x=f.display;if(!(de(f,A)||x.activeTouch&&x.input.supportsTouch())){if(x.input.ensurePolled(),x.shift=A.shiftKey,Tl(x,A)){C||(x.scroller.draggable=!1,setTimeout(function(){return x.scroller.draggable=!0},100));return}if(!Qd(f,A)){var b=vl(f,A),E=Zt(A),L=b?L1(b,E):"single";kt(f).focus(),E==1&&f.state.selectingText&&f.state.selectingText(A),!(b&&Uh(f,E,b,L,A))&&(E==1?b?Gd(f,b,L,A):Ct(A)==x.scroller&&Xe(A):E==2?(b&&Fl(f.doc,b),setTimeout(function(){return x.input.focus()},20)):E==3&&(Ne?f.display.input.onContextMenu(A):PA(f)))}}}function Uh(A,f,x,b,E){var L="Click";return b=="double"?L="Double"+L:b=="triple"&&(L="Triple"+L),L=(f==1?"Left":f==2?"Middle":"Right")+L,Gf(A,zf(L,E),E,function($){if(typeof $=="string"&&($=Nf[$]),!$)return!1;var J=!1;try{A.isReadOnly()&&(A.state.suppressEdits=!0),J=$(A,x)!=nt}finally{A.state.suppressEdits=!1}return J})}function Rh(A,f,x){var b=A.getOption("configureMouse"),E=b?b(A,f,x):{};if(E.unit==null){var L=ae?x.shiftKey&&x.metaKey:x.altKey;E.unit=L?"rectangle":f=="single"?"char":f=="double"?"word":"line"}return(E.extend==null||A.doc.extend)&&(E.extend=A.doc.extend||x.shiftKey),E.addNew==null&&(E.addNew=Ae?x.metaKey:x.ctrlKey),E.moveOnDrag==null&&(E.moveOnDrag=!(Ae?x.altKey:x.ctrlKey)),E}function Gd(A,f,x,b){h?setTimeout(Pt(gu,A),0):A.curOp.focus=Qt(mt(A));var E=Rh(A,x,b),L=A.doc.sel,$;A.options.dragDrop&&Ht&&!A.isReadOnly()&&x=="single"&&($=L.contains(f))>-1&&(Mn(($=L.ranges[$]).from(),f)<0||f.xRel>0)&&(Mn($.to(),f)>0||f.xRel<0)?sv(A,b,f,E):zp(A,b,f,E)}function sv(A,f,x,b){var E=A.display,L=!1,$=no(A,function(pe){C&&(E.scroller.draggable=!1),A.state.draggingText=!1,A.state.delayingBlurEvent&&(A.hasFocus()?A.state.delayingBlurEvent=!1:PA(A)),Wn(E.wrapper.ownerDocument,"mouseup",$),Wn(E.wrapper.ownerDocument,"mousemove",J),Wn(E.scroller,"dragstart",le),Wn(E.scroller,"drop",$) Line truncated
`)==f){if(b.ranges.length%bu.text.length==0){pe=[];for(var We=0;We<bu.text.length;We++)pe.push(L.splitLines(bu.text[We]))}}else le.length==b.ranges.length&&A.options.pasteLinesPerSelection&&(pe=Jn(le,function(Gn){return[Gn]}));for(var qe=A.curOp.updateInput,wt=b.ranges.length-1;wt>=0;wt--){var gt=b.ranges[wt],Lt=gt.from(),dn=gt.to();gt.empty()&&(x&&x>0?Lt=Kt(Lt.line,Lt.ch-x):A.state.overwrite&&!J?dn=Kt(dn.line,Math.min(Qn(L,dn.line).text.length,dn.ch+bn(le).length)):J&&bu&&bu.lineWise&&bu.text.join(`
`)==le.join(`
`)&&(Lt=dn=Kt(Lt.line,0)));var Bn={from:Lt,to:dn,text:pe?pe[wt%pe.length]:le,origin:E||(J?"paste":A.state.cutIncoming>$?"cut":"+input")};Vl(A.doc,Bn),Do(A,"inputRead",A,Bn)}f&&!J&&Yp(A,f),to(A),A.curOp.updateInput<2&&(A.curOp.updateInput=qe),A.curOp.typing=!0,A.state.pasteIncoming=A.state.cutIncoming=-1}function RA(A,f){var x=A.clipboardData&&A.clipboardData.getData("Text");if(x)return A.preventDefault(),!f.isReadOnly()&&!f.options.disableInput&&f.hasFocus()&&Pa(f,function(){return l0(f,x,0,null,"paste")}),!0}function Yp(A,f){if(!(!A.options.electricChars||!A.options.smartIndent))for(var x=A.doc.sel,b=x.ranges.length-1;b>=0;b--){var E=x.ranges[b];if(!(E.head.ch>100||b&&x.ranges[b-1].head.line==E.head.line)){var L=A.getModeAt(E.head),$=!1;if(L.electricChars){for(var J=0;J<L.electricChars.length;J++)if(f.indexOf(L.electricChars.charAt(J))>-1){$=Wh(A,E.head.line,"smart");break}}else L.electricInput&&L.electricInput.test(Qn(A.doc,E.head.line).text.slice(0,E.head.ch))&&($=Wh(A,E.head.line,"smart"));$&&Do(A,"electricInput",A,E.head.line)}}}function Nh(A){for(var f=[],x=[],b=0;b<A.doc.sel.ranges.length;b++){var E=A.doc.sel.ranges[b].head.line,L={anchor:Kt(E,0),head:Kt(E+1,0)};x.push(L),f.push(A.getRange(L.anchor,L.head))}return{text:f,ranges:x}}function bc(A,f,x,b){A.setAttribute("autocorrect",x?"on":"off"),A.setAttribute("autocapitalize",b?"on":"off"),A.setAttribute("spellcheck",!!f)}function qd(){var A=_e("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; min-height: 1em; outline: none"),f=_e("div",[A],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return C?A.style.width="1000px":A.setAttribute("wrap","off"),q&&(A.style.border="1px solid black"),f}function Gh(A){var f=A.optionHandlers,x=A.helpers={};A.prototype={constructor:A,focus:function(){kt(this).focus(),this.display.input.focus()},setOption:function(b,E){var L=this.options,$=L[b];L[b]==E&&b!="mode"||(L[b]=E,f.hasOwnProperty(b)&&no(this,f[b])(this,E,$),Te(this,"optionChange",this,b))},getOption:function(b){return this.options[b]},getDoc:function(){return this.doc},addKeyMap:function(b,E){this.state.keyMaps[E?"push":"unshift"](Fh(b))},removeKeyMap:function(b){for(var E=this.state.keyMaps,L=0;L<E.length;++L)if(E[L]==b||E[L].name==b)return E.splice(L,1),!0},addOverlay:jr(function(b,E){var L=b.token?b:A.getMode(this.options,b);if(L.startState)throw new Error("Overlays may not be stateful.");mr(this.state.overlays,{mode:L,modeSpec:b,opaque:E&&E.opaque,priority:E&&E.priority||0},function($){return $.priority}),this.state.modeGen++,Ma(this)}),removeOverlay:jr(function(b){for(var E=this.state.overlays,L=0;L<E.length;++L){var $=E[L].modeSpec;if($==b||typeof b=="string"&&$.name==b){E.splice(L,1),this.state.modeGen++,Ma(this);return}}}),indentLine:jr(function(b,E,L){typeof E!="string"&&typeof E!="number"&&(E==null?E=this.options.smartIndent?"smart":"prev":E=E?"add":"subtract"),Xt(this.doc,b)&&Wh(this,b,E,L)}),indentSelection:jr(function(b){for(var E=this.doc.sel.ranges,L=-1,$=0;$<E.length;$++){var J=E[$];if(J.empty())J.head.line>L&&(Wh(this,J.head.line,b,!0),L=J.head.line,$==this.doc.sel.primIndex&&to(this));else{var le=J.from(),pe=J.to(),We=Math.max(L,le.line);L=Math.min(this.lastLine(),pe.line-(pe.ch?0:1))+1;for(var qe=We;qe<L;++qe)Wh(this,qe,b);var wt=this.doc.sel.ranges;le.ch==0&&E.length==wt.length&&wt[$].from().ch>0&&Ts(this.doc,$,new Fe(le,wt[$].to()),xt)}}}),getTokenAt:function(b,E){return ic(this,b,E)},getLineTokens:function(b,E){return ic(this,Kt(b),E,!0)},getTokenTypeAt:function(b){b=Br(this.doc,b);var E=Ns(this,Qn(this.doc,b.line)),L=0,$=(E.length-1)/2,J=b.ch,le;if(J==0)le=E[2];else for(;;){var pe=L+$>>1;if((pe?E[pe*2-1]:0)>=J)$=pe;else if(E[pe*2+1]<J)L=pe+1;else{le=E[pe*2+2];break}}var We=le?le.indexOf("overlay "):-1;return We<0?le:We==0?null:le.slice(0,We-1)},getModeAt:function(b){var E=this.doc.mode;return E.innerMode?A.innerMode(E,this.getTokenAt(b).state).mode:E},getHelper:function(b,E){return this.getHelpers(b,E)[0]},getHelpers:function(b,E){var L=[];if(!x.hasOwnProperty(E))return L;var $=x[E],J=this.getModeAt(b);if(typeof J[E]=="string")$[J[E]]&&L.push($[J[E]]);else if(J[E])for(var le=0;le<J[E].length;le++){var pe=$[J[E][le]];pe&&L.push(pe)}else J.helperType&&$[J.helperType]?L.push($[J.helperType]):$[J.name]&&L.push($[J.name]);for(var We=0;We<$._global.length;We++){var qe=$._global[We];qe.pred(J,this)&&Pe(L,qe.val)==-1&&L.push(qe.val)}return L},getStateAfter:function(b,E){var L=this.doc;return b=qa(L,b??L.first+L.size-1),Ha(this,b+1,E).state},cursorCoords:function(b,E){var L,$=this.doc.sel.primary();return b==null?L=$.head:typeof b=="object"?L=Br(this.doc,b):L=b?$.from():$.to(),Rt(this,L,E||"page")},charCoords:function(b,E){return an(this,Br(this.doc,b),E||"page")},coordsChar:function(b,E){return b=bt(this,b,E||"page"),eo(this,b.left,b.top)},lineAtHeight:function(b,E){return b=bt(this,{top:b,left:0},E||"page").top,$e(this.doc,b+this.display.viewOffset)},heightAtLine:function(b,E,L){v Line truncated
`)&&(Lt=dn=Kt(Lt.line,0)));var Bn={from:Lt,to:dn,text:pe?pe[wt%pe.length]:le,origin:E||(J?"paste":A.state.cutIncoming>$?"cut":"+input")};Vl(A.doc,Bn),Fo(A,"inputRead",A,Bn)}f&&!J&&$p(A,f),to(A),A.curOp.updateInput<2&&(A.curOp.updateInput=qe),A.curOp.typing=!0,A.state.pasteIncoming=A.state.cutIncoming=-1}function RA(A,f){var x=A.clipboardData&&A.clipboardData.getData("Text");if(x)return A.preventDefault(),!f.isReadOnly()&&!f.options.disableInput&&f.hasFocus()&&Pa(f,function(){return l0(f,x,0,null,"paste")}),!0}function $p(A,f){if(!(!A.options.electricChars||!A.options.smartIndent))for(var x=A.doc.sel,b=x.ranges.length-1;b>=0;b--){var E=x.ranges[b];if(!(E.head.ch>100||b&&x.ranges[b-1].head.line==E.head.line)){var L=A.getModeAt(E.head),$=!1;if(L.electricChars){for(var J=0;J<L.electricChars.length;J++)if(f.indexOf(L.electricChars.charAt(J))>-1){$=jh(A,E.head.line,"smart");break}}else L.electricInput&&L.electricInput.test(Qn(A.doc,E.head.line).text.slice(0,E.head.ch))&&($=jh(A,E.head.line,"smart"));$&&Fo(A,"electricInput",A,E.head.line)}}}function Wh(A){for(var f=[],x=[],b=0;b<A.doc.sel.ranges.length;b++){var E=A.doc.sel.ranges[b].head.line,L={anchor:Kt(E,0),head:Kt(E+1,0)};x.push(L),f.push(A.getRange(L.anchor,L.head))}return{text:f,ranges:x}}function bc(A,f,x,b){A.setAttribute("autocorrect",x?"on":"off"),A.setAttribute("autocapitalize",b?"on":"off"),A.setAttribute("spellcheck",!!f)}function qd(){var A=_e("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; min-height: 1em; outline: none"),f=_e("div",[A],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return C?A.style.width="1000px":A.setAttribute("wrap","off"),q&&(A.style.border="1px solid black"),f}function Nh(A){var f=A.optionHandlers,x=A.helpers={};A.prototype={constructor:A,focus:function(){kt(this).focus(),this.display.input.focus()},setOption:function(b,E){var L=this.options,$=L[b];L[b]==E&&b!="mode"||(L[b]=E,f.hasOwnProperty(b)&&no(this,f[b])(this,E,$),Te(this,"optionChange",this,b))},getOption:function(b){return this.options[b]},getDoc:function(){return this.doc},addKeyMap:function(b,E){this.state.keyMaps[E?"push":"unshift"](Ph(b))},removeKeyMap:function(b){for(var E=this.state.keyMaps,L=0;L<E.length;++L)if(E[L]==b||E[L].name==b)return E.splice(L,1),!0},addOverlay:jr(function(b,E){var L=b.token?b:A.getMode(this.options,b);if(L.startState)throw new Error("Overlays may not be stateful.");mr(this.state.overlays,{mode:L,modeSpec:b,opaque:E&&E.opaque,priority:E&&E.priority||0},function($){return $.priority}),this.state.modeGen++,Ma(this)}),removeOverlay:jr(function(b){for(var E=this.state.overlays,L=0;L<E.length;++L){var $=E[L].modeSpec;if($==b||typeof b=="string"&&$.name==b){E.splice(L,1),this.state.modeGen++,Ma(this);return}}}),indentLine:jr(function(b,E,L){typeof E!="string"&&typeof E!="number"&&(E==null?E=this.options.smartIndent?"smart":"prev":E=E?"add":"subtract"),Xt(this.doc,b)&&jh(this,b,E,L)}),indentSelection:jr(function(b){for(var E=this.doc.sel.ranges,L=-1,$=0;$<E.length;$++){var J=E[$];if(J.empty())J.head.line>L&&(jh(this,J.head.line,b,!0),L=J.head.line,$==this.doc.sel.primIndex&&to(this));else{var le=J.from(),pe=J.to(),We=Math.max(L,le.line);L=Math.min(this.lastLine(),pe.line-(pe.ch?0:1))+1;for(var qe=We;qe<L;++qe)jh(this,qe,b);var wt=this.doc.sel.ranges;le.ch==0&&E.length==wt.length&&wt[$].from().ch>0&&Ts(this.doc,$,new Fe(le,wt[$].to()),xt)}}}),getTokenAt:function(b,E){return ic(this,b,E)},getLineTokens:function(b,E){return ic(this,Kt(b),E,!0)},getTokenTypeAt:function(b){b=Br(this.doc,b);var E=Ns(this,Qn(this.doc,b.line)),L=0,$=(E.length-1)/2,J=b.ch,le;if(J==0)le=E[2];else for(;;){var pe=L+$>>1;if((pe?E[pe*2-1]:0)>=J)$=pe;else if(E[pe*2+1]<J)L=pe+1;else{le=E[pe*2+2];break}}var We=le?le.indexOf("overlay "):-1;return We<0?le:We==0?null:le.slice(0,We-1)},getModeAt:function(b){var E=this.doc.mode;return E.innerMode?A.innerMode(E,this.getTokenAt(b).state).mode:E},getHelper:function(b,E){return this.getHelpers(b,E)[0]},getHelpers:function(b,E){var L=[];if(!x.hasOwnProperty(E))return L;var $=x[E],J=this.getModeAt(b);if(typeof J[E]=="string")$[J[E]]&&L.push($[J[E]]);else if(J[E])for(var le=0;le<J[E].length;le++){var pe=$[J[E][le]];pe&&L.push(pe)}else J.helperType&&$[J.helperType]?L.push($[J.helperType]):$[J.name]&&L.push($[J.name]);for(var We=0;We<$._global.length;We++){var qe=$._global[We];qe.pred(J,this)&&Pe(L,qe.val)==-1&&L.push(qe.val)}return L},getStateAfter:function(b,E){var L=this.doc;return b=qa(L,b??L.first+L.size-1),Ha(this,b+1,E).state},cursorCoords:function(b,E){var L,$=this.doc.sel.primary();return b==null?L=$.head:typeof b=="object"?L=Br(this.doc,b):L=b?$.from():$.to(),Rt(this,L,E||"page")},charCoords:function(b,E){return an(this,Br(this.doc,b),E||"page")},coordsChar:function(b,E){return b=bt(this,b,E||"page"),eo(this,b.left,b.top)},lineAtHeight:function(b,E){return b=bt(this,{top:b,left:0},E||"page").top,$e(this.doc,b+this.display.viewOffset)},heightAtLine:function(b,E,L){v Line truncated
`,Bn=we(dn,gt)?"w":wt&&dn==`
`?"n":!wt||/\s/.test(dn)?null:"p";if(wt&&!Lt&&!Bn&&(Bn="s"),qe&&qe!=Bn){x<0&&(x=1,We(),f.sticky="after");break}if(Bn&&(qe=Bn),x>0&&!We(!Lt))break}var Gn=vc(A,f,L,$,!0);return cr(L,Gn)&&(Gn.hitSide=!0),Gn}function Qh(A,f,x,b){var E=A.doc,L=f.left,$;if(b=="page"){var J=Math.min(A.display.wrapper.clientHeight,kt(A).innerHeight||E(A).documentElement.clientHeight),le=Math.max(J-.5*Jo(A.display),3);$=(x>0?f.bottom:f.top)+x*le}else b=="line"&&($=x>0?f.bottom+3:f.top-3);for(var pe;pe=eo(A,L,$),!!pe.outside;){if(x<0?$<=0:$>=E.height){pe.hitSide=!0;break}$+=x*5}return pe}var _o=function(A){this.cm=A,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new be,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};_o.prototype.init=function(A){var f=this,x=this,b=x.cm,E=x.div=A.lineDiv;E.contentEditable=!0,bc(E,b.options.spellcheck,b.options.autocorrect,b.options.autocapitalize);function L(J){for(var le=J.target;le;le=le.parentNode){if(le==E)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(le.className))break}return!1}Tt(E,"paste",function(J){!L(J)||de(b,J)||RA(J,b)||g<=11&&setTimeout(no(b,function(){return f.updateFromDOM()}),20)}),Tt(E,"compositionstart",function(J){f.composing={data:J.data,done:!1}}),Tt(E,"compositionupdate",function(J){f.composing||(f.composing={data:J.data,done:!1})}),Tt(E,"compositionend",function(J){f.composing&&(J.data!=f.composing.data&&f.readFromDOMSoon(),f.composing.done=!0)}),Tt(E,"touchstart",function(){return x.forceCompositionEnd()}),Tt(E,"input",function(){f.composing||f.readFromDOMSoon()});function $(J){if(!(!L(J)||de(b,J))){if(b.somethingSelected())$p({lineWise:!1,text:b.getSelections()}),J.type=="cut"&&b.replaceSelection("",null,"cut");else if(b.options.lineWiseCopyCut){var le=Nh(b);$p({lineWise:!0,text:le.text}),J.type=="cut"&&b.operation(function(){b.setSelections(le.ranges,0,xt),b.replaceSelection("",null,"cut")})}else return;if(J.clipboardData){J.clipboardData.clearData();var pe=bu.text.join(`
`?"n":!wt||/\s/.test(dn)?null:"p";if(wt&&!Lt&&!Bn&&(Bn="s"),qe&&qe!=Bn){x<0&&(x=1,We(),f.sticky="after");break}if(Bn&&(qe=Bn),x>0&&!We(!Lt))break}var Gn=vc(A,f,L,$,!0);return cr(L,Gn)&&(Gn.hitSide=!0),Gn}function Gh(A,f,x,b){var E=A.doc,L=f.left,$;if(b=="page"){var J=Math.min(A.display.wrapper.clientHeight,kt(A).innerHeight||E(A).documentElement.clientHeight),le=Math.max(J-.5*Jo(A.display),3);$=(x>0?f.bottom:f.top)+x*le}else b=="line"&&($=x>0?f.bottom+3:f.top-3);for(var pe;pe=eo(A,L,$),!!pe.outside;){if(x<0?$<=0:$>=E.height){pe.hitSide=!0;break}$+=x*5}return pe}var _o=function(A){this.cm=A,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new be,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};_o.prototype.init=function(A){var f=this,x=this,b=x.cm,E=x.div=A.lineDiv;E.contentEditable=!0,bc(E,b.options.spellcheck,b.options.autocorrect,b.options.autocapitalize);function L(J){for(var le=J.target;le;le=le.parentNode){if(le==E)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(le.className))break}return!1}Tt(E,"paste",function(J){!L(J)||de(b,J)||RA(J,b)||g<=11&&setTimeout(no(b,function(){return f.updateFromDOM()}),20)}),Tt(E,"compositionstart",function(J){f.composing={data:J.data,done:!1}}),Tt(E,"compositionupdate",function(J){f.composing||(f.composing={data:J.data,done:!1})}),Tt(E,"compositionend",function(J){f.composing&&(J.data!=f.composing.data&&f.readFromDOMSoon(),f.composing.done=!0)}),Tt(E,"touchstart",function(){return x.forceCompositionEnd()}),Tt(E,"input",function(){f.composing||f.readFromDOMSoon()});function $(J){if(!(!L(J)||de(b,J))){if(b.somethingSelected())Qp({lineWise:!1,text:b.getSelections()}),J.type=="cut"&&b.replaceSelection("",null,"cut");else if(b.options.lineWiseCopyCut){var le=Wh(b);Qp({lineWise:!0,text:le.text}),J.type=="cut"&&b.operation(function(){b.setSelections(le.ranges,0,xt),b.replaceSelection("",null,"cut")})}else return;if(J.clipboardData){J.clipboardData.clearData();var pe=bu.text.join(`
`);if(J.clipboardData.setData("Text",pe),J.clipboardData.getData("Text")==pe){J.preventDefault();return}}var We=qd(),qe=We.firstChild;bc(qe),b.display.lineSpace.insertBefore(We,b.display.lineSpace.firstChild),qe.value=bu.text.join(`
`);var wt=Qt(dt(E));tt(qe),setTimeout(function(){b.display.lineSpace.removeChild(We),wt.focus(),wt==E&&x.showPrimarySelection()},50)}}Tt(E,"copy",$),Tt(E,"cut",$)},_o.prototype.screenReaderLabelChanged=function(A){A?this.div.setAttribute("aria-label",A):this.div.removeAttribute("aria-label")},_o.prototype.prepareSelection=function(){var A=Nn(this.cm,!1);return A.focus=Qt(dt(this.div))==this.div,A},_o.prototype.showSelection=function(A,f){!A||!this.cm.display.view.length||((A.focus||f)&&this.showPrimarySelection(),this.showMultipleSelections(A))},_o.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},_o.prototype.showPrimarySelection=function(){var A=this.getSelection(),f=this.cm,x=f.doc.sel.primary(),b=x.from(),E=x.to();if(f.display.viewTo==f.display.viewFrom||b.line>=f.display.viewTo||E.line<f.display.viewFrom){A.removeAllRanges();return}var L=Ks(f,A.anchorNode,A.anchorOffset),$=Ks(f,A.focusNode,A.focusOffset);if(!(L&&!L.bad&&$&&!$.bad&&Mn(ya(L,$),b)==0&&Mn(ii(L,$),E)==0)){var J=f.display.view,le=b.line>=f.display.viewFrom&&sd(f,b)||{node:J[0].measure.map[2],offset:0},pe=E.line<f.display.viewTo&&sd(f,E);if(!pe){var We=J[J.length-1].measure,qe=We.maps?We.maps[We.maps.length-1]:We.map;pe={node:qe[qe.length-1],offset:qe[qe.length-2]-qe[qe.length-3]}}if(!le||!pe){A.removeAllRanges();return}var wt=A.rangeCount&&A.getRangeAt(0),gt;try{gt=jt(le.node,le.offset,pe.offset,pe.node)}catch{}gt&&(!i&&f.state.focused?(A.collapse(le.node,le.offset),gt.collapsed||(A.removeAllRanges(),A.addRange(gt))):(A.removeAllRanges(),A.addRange(gt)),wt&&A.anchorNode==null?A.addRange(wt):i&&this.startGracePeriod()),this.rememberSelection()}},_o.prototype.startGracePeriod=function(){var A=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){A.gracePeriod=!1,A.selectionChanged()&&A.cm.operation(function(){return A.cm.curOp.selectionChanged=!0})},20)},_o.prototype.showMultipleSelections=function(A){rt(this.cm.display.cursorDiv,A.cursors),rt(this.cm.display.selectionDiv,A.selection)},_o.prototype.rememberSelection=function(){var A=this.getSelection();this.lastAnchorNode=A.anchorNode,this.lastAnchorOffset=A.anchorOffset,this.lastFocusNode=A.focusNode,this.lastFocusOffset=A.focusOffset},_o.prototype.selectionInEditor=function(){var A=this.getSelection();if(!A.rangeCount)return!1;var f=A.getRangeAt(0).commonAncestorContainer;return nn(this.div,f)},_o.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||Qt(dt(this.div))!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},_o.prototype.blur=function(){this.div.blur()},_o.prototype.getField=function(){return this.div},_o.prototype.supportsTouch=function(){return!0},_o.prototype.receivedFocus=function(){var A=this,f=this;this.selectionInEditor()?setTimeout(function(){return A.pollSelection()},20):Pa(this.cm,function(){return f.cm.curOp.selectionChanged=!0});function x(){f.cm.state.focused&&(f.pollSelection(),f.polling.set(f.cm.options.pollInterval,x))}this.polling.set(this.cm.options.pollInterval,x)},_o.prototype.selectionChanged=function(){var A=this.getSelection();return A.anchorNode!=this.lastAnchorNode||A.anchorOffset!=this.lastAnchorOffset||A.focusNode!=this.lastFocusNode||A.focusOffset!=this.lastFocusOffset},_o.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var A=this.getSelection(),f=this.cm;if(oe&&k&&this.cm.display.gutterSpecs.length&&Vf(A.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var x=Ks(f,A.anchorNode,A.anchorOffset),b=Ks(f,A.focusNode,A.focusOffset);x&&b&&Pa(f,function(){Ei(f.doc,je(x,b),xt),(x.bad||b.bad)&&(f.curOp.selectionChanged=!0)})}}},_o.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var A=this.cm,f=A.display,x=A.doc.sel.primary(),b=x.from(),E=x.to();if(b.ch==0&&b.line>A.firstLine()&&(b=Kt(b.line-1,Qn(A.doc,b.line-1).length)),E.ch==Qn(A.doc,E.line).text.length&&E.line<A.lastLine()&&(E=Kt(E.line+1,0)),b.line<f.viewFrom||E.line>f.viewTo-1)return!1;var L,$,J;b.line==f.viewFrom||(L=TA(A,b.line))==0?($=ge(f.view[0].line),J=f.view[0].node):($=ge(f.view[L].line),J=f.view[L-1].node.nextSibling);var le=TA(A,E.line),pe,We;if(le==f.view.length-1?(pe=f.viewTo-1,We=f.lineDiv.lastChild):(pe=ge(f.view[le+1].line)-1,We=f.view[le+1].node.previousSibling),!J)return!1;for(var qe=A.doc.splitLines(j1(A,J,We,$,pe)),wt=so(A.doc,Kt($,0),Kt(pe,Qn(A.doc,pe).text.length));qe.length>1&&wt.length>1;)if(bn(qe)==bn(wt))qe.pop(),wt.pop(),pe--;else if(qe[0]==wt[0])qe.shift(),wt.shift(),$++;else break;for(var gt=0,Lt=0,dn=qe[0],Bn=wt[0],Gn=Math.min(dn.length,Bn.length);gt<Gn&&dn.charCodeAt(gt)==Bn.charCodeAt(gt);)++gt;for(var _n=bn(qe),Fn=bn(wt),ar=Math.min(_n.length-(qe.length==1?gt:0),Fn.length-(wt.length==1?gt:0));Lt<ar Line truncated
`);var wt=Qt(dt(E));tt(qe),setTimeout(function(){b.display.lineSpace.removeChild(We),wt.focus(),wt==E&&x.showPrimarySelection()},50)}}Tt(E,"copy",$),Tt(E,"cut",$)},_o.prototype.screenReaderLabelChanged=function(A){A?this.div.setAttribute("aria-label",A):this.div.removeAttribute("aria-label")},_o.prototype.prepareSelection=function(){var A=Nn(this.cm,!1);return A.focus=Qt(dt(this.div))==this.div,A},_o.prototype.showSelection=function(A,f){!A||!this.cm.display.view.length||((A.focus||f)&&this.showPrimarySelection(),this.showMultipleSelections(A))},_o.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},_o.prototype.showPrimarySelection=function(){var A=this.getSelection(),f=this.cm,x=f.doc.sel.primary(),b=x.from(),E=x.to();if(f.display.viewTo==f.display.viewFrom||b.line>=f.display.viewTo||E.line<f.display.viewFrom){A.removeAllRanges();return}var L=Ks(f,A.anchorNode,A.anchorOffset),$=Ks(f,A.focusNode,A.focusOffset);if(!(L&&!L.bad&&$&&!$.bad&&Mn(ya(L,$),b)==0&&Mn(ri(L,$),E)==0)){var J=f.display.view,le=b.line>=f.display.viewFrom&&sd(f,b)||{node:J[0].measure.map[2],offset:0},pe=E.line<f.display.viewTo&&sd(f,E);if(!pe){var We=J[J.length-1].measure,qe=We.maps?We.maps[We.maps.length-1]:We.map;pe={node:qe[qe.length-1],offset:qe[qe.length-2]-qe[qe.length-3]}}if(!le||!pe){A.removeAllRanges();return}var wt=A.rangeCount&&A.getRangeAt(0),gt;try{gt=jt(le.node,le.offset,pe.offset,pe.node)}catch{}gt&&(!i&&f.state.focused?(A.collapse(le.node,le.offset),gt.collapsed||(A.removeAllRanges(),A.addRange(gt))):(A.removeAllRanges(),A.addRange(gt)),wt&&A.anchorNode==null?A.addRange(wt):i&&this.startGracePeriod()),this.rememberSelection()}},_o.prototype.startGracePeriod=function(){var A=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){A.gracePeriod=!1,A.selectionChanged()&&A.cm.operation(function(){return A.cm.curOp.selectionChanged=!0})},20)},_o.prototype.showMultipleSelections=function(A){rt(this.cm.display.cursorDiv,A.cursors),rt(this.cm.display.selectionDiv,A.selection)},_o.prototype.rememberSelection=function(){var A=this.getSelection();this.lastAnchorNode=A.anchorNode,this.lastAnchorOffset=A.anchorOffset,this.lastFocusNode=A.focusNode,this.lastFocusOffset=A.focusOffset},_o.prototype.selectionInEditor=function(){var A=this.getSelection();if(!A.rangeCount)return!1;var f=A.getRangeAt(0).commonAncestorContainer;return nn(this.div,f)},_o.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||Qt(dt(this.div))!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},_o.prototype.blur=function(){this.div.blur()},_o.prototype.getField=function(){return this.div},_o.prototype.supportsTouch=function(){return!0},_o.prototype.receivedFocus=function(){var A=this,f=this;this.selectionInEditor()?setTimeout(function(){return A.pollSelection()},20):Pa(this.cm,function(){return f.cm.curOp.selectionChanged=!0});function x(){f.cm.state.focused&&(f.pollSelection(),f.polling.set(f.cm.options.pollInterval,x))}this.polling.set(this.cm.options.pollInterval,x)},_o.prototype.selectionChanged=function(){var A=this.getSelection();return A.anchorNode!=this.lastAnchorNode||A.anchorOffset!=this.lastAnchorOffset||A.focusNode!=this.lastFocusNode||A.focusOffset!=this.lastFocusOffset},_o.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var A=this.getSelection(),f=this.cm;if(oe&&k&&this.cm.display.gutterSpecs.length&&qf(A.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var x=Ks(f,A.anchorNode,A.anchorOffset),b=Ks(f,A.focusNode,A.focusOffset);x&&b&&Pa(f,function(){Ei(f.doc,je(x,b),xt),(x.bad||b.bad)&&(f.curOp.selectionChanged=!0)})}}},_o.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var A=this.cm,f=A.display,x=A.doc.sel.primary(),b=x.from(),E=x.to();if(b.ch==0&&b.line>A.firstLine()&&(b=Kt(b.line-1,Qn(A.doc,b.line-1).length)),E.ch==Qn(A.doc,E.line).text.length&&E.line<A.lastLine()&&(E=Kt(E.line+1,0)),b.line<f.viewFrom||E.line>f.viewTo-1)return!1;var L,$,J;b.line==f.viewFrom||(L=TA(A,b.line))==0?($=ge(f.view[0].line),J=f.view[0].node):($=ge(f.view[L].line),J=f.view[L-1].node.nextSibling);var le=TA(A,E.line),pe,We;if(le==f.view.length-1?(pe=f.viewTo-1,We=f.lineDiv.lastChild):(pe=ge(f.view[le+1].line)-1,We=f.view[le+1].node.previousSibling),!J)return!1;for(var qe=A.doc.splitLines(j1(A,J,We,$,pe)),wt=so(A.doc,Kt($,0),Kt(pe,Qn(A.doc,pe).text.length));qe.length>1&&wt.length>1;)if(bn(qe)==bn(wt))qe.pop(),wt.pop(),pe--;else if(qe[0]==wt[0])qe.shift(),wt.shift(),$++;else break;for(var gt=0,Lt=0,dn=qe[0],Bn=wt[0],Gn=Math.min(dn.length,Bn.length);gt<Gn&&dn.charCodeAt(gt)==Bn.charCodeAt(gt);)++gt;for(var _n=bn(qe),Fn=bn(wt),ar=Math.min(_n.length-(qe.length==1?gt:0),Fn.length-(wt.length==1?gt:0));Lt<ar Line truncated
`),tt(E))}else return;$.type=="cut"&&(b.state.cutIncoming=+new Date)}}Tt(E,"cut",L),Tt(E,"copy",L),Tt(A.scroller,"paste",function($){if(!(Tl(A,$)||de(b,$))){if(!E.dispatchEvent){b.state.pasteIncoming=+new Date,x.focus();return}var J=new Event("paste");J.clipboardData=$.clipboardData,E.dispatchEvent(J)}}),Tt(A.lineSpace,"selectstart",function($){Tl(A,$)||Xe($)}),Tt(E,"compositionstart",function(){var $=b.getCursor("from");x.composing&&x.composing.range.clear(),x.composing={start:$,range:b.markText($,b.getCursor("to"),{className:"CodeMirror-composing"})}}),Tt(E,"compositionend",function(){x.composing&&(x.poll(),x.composing.range.clear(),x.composing=null)})},Da.prototype.createField=function(A){this.wrapper=qd(),this.textarea=this.wrapper.firstChild;var f=this.cm.options;bc(this.textarea,f.spellcheck,f.autocorrect,f.autocapitalize)},Da.prototype.screenReaderLabelChanged=function(A){A?this.textarea.setAttribute("aria-label",A):this.textarea.removeAttribute("aria-label")},Da.prototype.prepareSelection=function(){var A=this.cm,f=A.display,x=A.doc,b=Nn(A);if(A.options.moveInputWithCursor){var E=Rt(A,x.sel.primary().head,"div"),L=f.wrapper.getBoundingClientRect(),$=f.lineDiv.getBoundingClientRect();b.teTop=Math.max(0,Math.min(f.wrapper.clientHeight-10,E.top+$.top-L.top)),b.teLeft=Math.max(0,Math.min(f.wrapper.clientWidth-10,E.left+$.left-L.left))}return b},Da.prototype.showSelection=function(A){var f=this.cm,x=f.display;rt(x.cursorDiv,A.cursors),rt(x.selectionDiv,A.selection),A.teTop!=null&&(this.wrapper.style.top=A.teTop+"px",this.wrapper.style.left=A.teLeft+"px")},Da.prototype.reset=function(A){if(!(this.contextMenuPending||this.composing&&A)){var f=this.cm;if(this.resetting=!0,f.somethingSelected()){this.prevInput="";var x=f.getSelection();this.textarea.value=x,f.state.focused&&tt(this.textarea),h&&g>=9&&(this.hasSelection=x)}else A||(this.prevInput=this.textarea.value="",h&&g>=9&&(this.hasSelection=null));this.resetting=!1}},Da.prototype.getField=function(){return this.textarea},Da.prototype.supportsTouch=function(){return!1},Da.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!re||Qt(dt(this.textarea))!=this.textarea))try{this.textarea.focus()}catch{}},Da.prototype.blur=function(){this.textarea.blur()},Da.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Da.prototype.receivedFocus=function(){this.slowPoll()},Da.prototype.slowPoll=function(){var A=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){A.poll(),A.cm.state.focused&&A.slowPoll()})},Da.prototype.fastPoll=function(){var A=!1,f=this;f.pollingFast=!0;function x(){var b=f.poll();!b&&!A?(A=!0,f.polling.set(60,x)):(f.pollingFast=!1,f.slowPoll())}f.polling.set(20,x)},Da.prototype.poll=function(){var A=this,f=this.cm,x=this.textarea,b=this.prevInput;if(this.contextMenuPending||this.resetting||!f.state.focused||Tr(x)&&!b&&!this.composing||f.isReadOnly()||f.options.disableInput||f.state.keySeq)return!1;var E=x.value;if(E==b&&!f.somethingSelected())return!1;if(h&&g>=9&&this.hasSelection===E||Ae&&/[\uf700-\uf7ff]/.test(E))return f.display.input.reset(),!1;if(f.doc.sel==f.display.selForContextMenu){var L=E.charCodeAt(0);if(L==8203&&!b&&(b="​"),L==8666)return this.reset(),this.cm.execCommand("undo")}for(var $=0,J=Math.min(b.length,E.length);$<J&&b.charCodeAt($)==E.charCodeAt($);)++$;return Pa(f,function(){l0(f,E.slice($),b.length-$,null,A.composing?"*compose":null),E.length>1e3||E.indexOf(`
`)>-1?x.value=A.prevInput="":A.prevInput=E,A.composing&&(A.composing.range.clear(),A.composing.range=f.markText(A.composing.start,f.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Da.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Da.prototype.onKeyPress=function(){h&&g>=9&&(this.hasSelection=null),this.fastPoll()},Da.prototype.onContextMenu=function(A){var f=this,x=f.cm,b=x.display,E=f.textarea;f.contextMenuPending&&f.contextMenuPending();var L=vl(x,A),$=b.scroller.scrollTop;if(!L||U)return;var J=x.options.resetSelectionOnContextMenu;J&&x.doc.sel.contains(L)==-1&&no(x,Ei)(x.doc,je(L),xt);var le=E.style.cssText,pe=f.wrapper.style.cssText,We=f.wrapper.offsetParent.getBoundingClientRect();f.wrapper.style.cssText="position: static",E.style.cssText=`position: absolute; width: 30px; height: 30px;
top: `+(A.clientY-We.top-5)+"px; left: "+(A.clientX-We.left-5)+`px;
z-index: 1000; background: `+(h?"rgba(255, 255, 255, .05)":"transparent")+`;
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var qe;C&&(qe=E.ownerDocument.defaultView.scrollY),b.input.focus(),C&&E.ownerDocument.defaultView.scrollTo(null,qe),b.input.reset(),x.somethingSelected()||(E.value=f.prevInput=" "),f.contextMenuPending=gt,b.selForContextMenu=x.doc.sel,clearTimeout(b.detectingSelectAll);function wt(){if(E.selectionStart!=null){var dn=x.somethingSelected(),Bn="​"+(dn?E.value:"");E.value="⇚",E.value=Bn,f.prevInput=dn?"":"​",E.selectionStart=1,E.selectionEnd=Bn.length,b.selForContextMenu=x.doc.sel}}function gt(){if(f.contextMenuPending==gt&&(f.contextMenuPending=!1,f.wrapper.style.cssText=pe,E.style.cssText=le,h&&g<9&&b.scrollbars.setScrollTop(b.scroller.scrollTop=$),E.selectionStart!=null)){(!h||h&&g<9)&&wt();var dn=0,Bn=function(){b.selForContextMenu==x.doc.sel&&E.selectionStart==0&&E.selectionEnd>0&&f.prevInput=="​"?no(x,LA)(x):dn++<10?b.detectingSelectAll=setTimeout(Bn,500):(b.selForContextMenu=null,b.input.reset())};b.detectingSelectAll=setTimeout(Bn,200)}}if(h&&g>=9&&wt(),Ne){Ve(A);var Lt=function(){Wn(window,"mouseup",Lt),setTimeout(gt,20)};Tt(window,"mouseup",Lt)}else setTimeout(gt,50)},Da.prototype.readOnlyChanged=function(A){A||this.reset(),this.textarea.disabled=A=="nocursor",this.textarea.readOnly=!!A},Da.prototype.setUneditable=function(){},Da.prototype.needsContentAttribute=!1;function W1(A,f){if(f=f?Me(f):{},f.value=A.value,!f.tabindex&&A.tabIndex&&(f.tabindex=A.tabIndex),!f.placeholder&&A.placeholder&&(f.placeholder=A.placeholder),f.autofocus==null){var x=Qt(dt(A));f.autofocus=x==A||A.getAttribute("autofocus")!=null&&x==document.body}function b(){A.value=J.getValue()}var E;if(A.form&&(Tt(A.form,"submit",b),!f.leaveSubmitMethodAlone)){var L=A.form;E=L.submit;try{var $=L.submit=function(){b(),L.submit=E,L.submit(),L.submit=$}}catch{}}f.finishInit=function(le){le.save=b,le.getTextArea=function(){return A},le.toTextArea=function(){le.toTextArea=isNaN,b(),A.parentNode.removeChild(le.getWrapperElement()),A.style.display="",A.form&&(Wn(A.form,"submit",b),!f.leaveSubmitMethodAlone&&typeof A.form.submit=="function"&&(A.form.submit=E))}},A.style.display="none";var J=fo(function(le){return A.parentNode.insertBefore(le,A.nextSibling)},f);return J}function uv(A){A.off=Wn,A.on=Tt,A.wheelEventPixels=fe,A.Doc=ms,A.splitLines=or,A.countColumn=he,A.findColumn=pt,A.isWordChar=fi,A.Pass=nt,A.signal=Te,A.Line=Iu,A.changeEnd=ct,A.scrollbarModel=Uo,A.Pos=Kt,A.cmpPos=Mn,A.modes=rr,A.mimeModes=li,A.resolveMode=xo,A.getMode=pi,A.modeExtensions=Oo,A.extendMode=As,A.copyState=Ia,A.startState=Ss,A.innerMode=_i,A.commands=Gf,A.keyMap=uA,A.keyName=nd,A.isModifierKey=zp,A.lookupKey=Cu,A.normalizeKeyMap=_u,A.StringStream=Si,A.SharedTextMarker=Rd,A.TextMarker=Hl,A.LineWidget=Wu,A.e_preventDefault=Xe,A.e_stopPropagation=at,A.e_stop=Ve,A.addClass=He,A.contains=nn,A.rmClass=ft,A.keyNames=Sa}s0(fo),Gh(fo);var u0="iter insert remove copy getEditor constructor".split(" ");for(var $h in ms.prototype)ms.prototype.hasOwnProperty($h)&&Pe(u0,$h)<0&&(fo.prototype[$h]=function(A){return function(){return A.apply(this.doc,arguments)}}(ms.prototype[$h]));return Ue(ms),fo.inputStyles={textarea:Da,contenteditable:_o},fo.defineMode=function(A){!fo.defaults.mode&&A!="null"&&(fo.defaults.mode=A),ki.apply(this,arguments)},fo.defineMIME=Xi,fo.defineMode("null",function(){return{token:function(A){return A.skipToEnd()}}}),fo.defineMIME("text/plain","null"),fo.defineExtension=function(A,f){fo.prototype[A]=f},fo.defineDocExtension=function(A,f){ms.prototype[A]=f},fo.fromTextArea=W1,uv(fo),fo.version="5.65.16",fo})}(eS)),eS.exports}var _me=z5();const Ic=oa(_me);(function(e,n){(function(t){t(z5())})(function(t){t.defineMode("javascript",function(r,i){var o=r.indentUnit,s=i.statementIndent,a=i.jsonld,h=i.json||a,g=i.trackScope!==!1,C=i.typescript,B=i.wordCharacters||/[\w$\xa1-\uffff]/,k=function(){function ge(Ii){return{type:Ii,style:"keyword"}}var $e=ge("keyword a"),Xt=ge("keyword b"),ln=ge("keyword c"),Kt=ge("keyword d"),Mn=ge("operator"),cr={type:"atom",style:"atom"};return{if:ge("if"),while:$e,with:$e,else:Xt,do:Xt,try:Xt,finally:Xt,return:Kt,break:Kt,continue:Kt,new:ge("new"),delete:ln,void:ln,throw:ln,debugger:ge("debugger"),var:ge("var"),const:ge("var"),let:ge("var"),function:ge("function"),catch:ge("catch"),for:ge("for"),switch:ge("switch"),case:ge("case"),default:ge("default"),in:Mn,typeof:Mn,instanceof:Mn,true:cr,false:cr,null:cr,undefined:cr,NaN:cr,Infinity:cr,this:ge("this"),class:ge("class"),super:ge("atom"),yield:ln,export:ge("export"),import:ge("import"),extends:ln,await:ln}}(),P=/[+\-*&%=<>!?|~^@]/,U=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function Z(ge){for(var $e=!1,Xt,ln=!1;(Xt=ge.next())!=null;){if(!$e){if(Xt=="/"&&!ln)return;Xt=="["?ln=!0:ln&&Xt=="]"&&(ln=!1)}$e=!$e&&Xt=="\\"}}var W,Q;function q(ge,$e,Xt){return W=ge,Q=Xt,$e}function oe(ge,$e){var Xt=ge.next();if(Xt=='"'||Xt=="'")return Line truncated
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var qe;C&&(qe=E.ownerDocument.defaultView.scrollY),b.input.focus(),C&&E.ownerDocument.defaultView.scrollTo(null,qe),b.input.reset(),x.somethingSelected()||(E.value=f.prevInput=" "),f.contextMenuPending=gt,b.selForContextMenu=x.doc.sel,clearTimeout(b.detectingSelectAll);function wt(){if(E.selectionStart!=null){var dn=x.somethingSelected(),Bn="​"+(dn?E.value:"");E.value="⇚",E.value=Bn,f.prevInput=dn?"":"​",E.selectionStart=1,E.selectionEnd=Bn.length,b.selForContextMenu=x.doc.sel}}function gt(){if(f.contextMenuPending==gt&&(f.contextMenuPending=!1,f.wrapper.style.cssText=pe,E.style.cssText=le,h&&g<9&&b.scrollbars.setScrollTop(b.scroller.scrollTop=$),E.selectionStart!=null)){(!h||h&&g<9)&&wt();var dn=0,Bn=function(){b.selForContextMenu==x.doc.sel&&E.selectionStart==0&&E.selectionEnd>0&&f.prevInput=="​"?no(x,LA)(x):dn++<10?b.detectingSelectAll=setTimeout(Bn,500):(b.selForContextMenu=null,b.input.reset())};b.detectingSelectAll=setTimeout(Bn,200)}}if(h&&g>=9&&wt(),Ne){Ve(A);var Lt=function(){Wn(window,"mouseup",Lt),setTimeout(gt,20)};Tt(window,"mouseup",Lt)}else setTimeout(gt,50)},Da.prototype.readOnlyChanged=function(A){A||this.reset(),this.textarea.disabled=A=="nocursor",this.textarea.readOnly=!!A},Da.prototype.setUneditable=function(){},Da.prototype.needsContentAttribute=!1;function W1(A,f){if(f=f?Me(f):{},f.value=A.value,!f.tabindex&&A.tabIndex&&(f.tabindex=A.tabIndex),!f.placeholder&&A.placeholder&&(f.placeholder=A.placeholder),f.autofocus==null){var x=Qt(dt(A));f.autofocus=x==A||A.getAttribute("autofocus")!=null&&x==document.body}function b(){A.value=J.getValue()}var E;if(A.form&&(Tt(A.form,"submit",b),!f.leaveSubmitMethodAlone)){var L=A.form;E=L.submit;try{var $=L.submit=function(){b(),L.submit=E,L.submit(),L.submit=$}}catch{}}f.finishInit=function(le){le.save=b,le.getTextArea=function(){return A},le.toTextArea=function(){le.toTextArea=isNaN,b(),A.parentNode.removeChild(le.getWrapperElement()),A.style.display="",A.form&&(Wn(A.form,"submit",b),!f.leaveSubmitMethodAlone&&typeof A.form.submit=="function"&&(A.form.submit=E))}},A.style.display="none";var J=fo(function(le){return A.parentNode.insertBefore(le,A.nextSibling)},f);return J}function uv(A){A.off=Wn,A.on=Tt,A.wheelEventPixels=fe,A.Doc=ms,A.splitLines=or,A.countColumn=he,A.findColumn=pt,A.isWordChar=fi,A.Pass=nt,A.signal=Te,A.Line=Iu,A.changeEnd=ct,A.scrollbarModel=Lo,A.Pos=Kt,A.cmpPos=Mn,A.modes=rr,A.mimeModes=li,A.resolveMode=xo,A.getMode=pi,A.modeExtensions=Oo,A.extendMode=As,A.copyState=Ia,A.startState=Ss,A.innerMode=_i,A.commands=Nf,A.keyMap=uA,A.keyName=nd,A.isModifierKey=Rp,A.lookupKey=Cu,A.normalizeKeyMap=_u,A.StringStream=Si,A.SharedTextMarker=Rd,A.TextMarker=Hl,A.LineWidget=Wu,A.e_preventDefault=Xe,A.e_stopPropagation=at,A.e_stop=Ve,A.addClass=He,A.contains=nn,A.rmClass=ft,A.keyNames=Sa}s0(fo),Nh(fo);var u0="iter insert remove copy getEditor constructor".split(" ");for(var Qh in ms.prototype)ms.prototype.hasOwnProperty(Qh)&&Pe(u0,Qh)<0&&(fo.prototype[Qh]=function(A){return function(){return A.apply(this.doc,arguments)}}(ms.prototype[Qh]));return Ue(ms),fo.inputStyles={textarea:Da,contenteditable:_o},fo.defineMode=function(A){!fo.defaults.mode&&A!="null"&&(fo.defaults.mode=A),ki.apply(this,arguments)},fo.defineMIME=Xi,fo.defineMode("null",function(){return{token:function(A){return A.skipToEnd()}}}),fo.defineMIME("text/plain","null"),fo.defineExtension=function(A,f){fo.prototype[A]=f},fo.defineDocExtension=function(A,f){ms.prototype[A]=f},fo.fromTextArea=W1,uv(fo),fo.version="5.65.16",fo})}(tS)),tS.exports}var vme=z5();const Ic=oa(vme);(function(e,n){(function(t){t(z5())})(function(t){t.defineMode("javascript",function(r,i){var o=r.indentUnit,s=i.statementIndent,a=i.jsonld,h=i.json||a,g=i.trackScope!==!1,C=i.typescript,B=i.wordCharacters||/[\w$\xa1-\uffff]/,k=function(){function ge(Ii){return{type:Ii,style:"keyword"}}var $e=ge("keyword a"),Xt=ge("keyword b"),ln=ge("keyword c"),Kt=ge("keyword d"),Mn=ge("operator"),cr={type:"atom",style:"atom"};return{if:ge("if"),while:$e,with:$e,else:Xt,do:Xt,try:Xt,finally:Xt,return:Kt,break:Kt,continue:Kt,new:ge("new"),delete:ln,void:ln,throw:ln,debugger:ge("debugger"),var:ge("var"),const:ge("var"),let:ge("var"),function:ge("function"),catch:ge("catch"),for:ge("for"),switch:ge("switch"),case:ge("case"),default:ge("default"),in:Mn,typeof:Mn,instanceof:Mn,true:cr,false:cr,null:cr,undefined:cr,NaN:cr,Infinity:cr,this:ge("this"),class:ge("class"),super:ge("atom"),yield:ln,export:ge("export"),import:ge("import"),extends:ln,await:ln}}(),P=/[+\-*&%=<>!?|~^@]/,U=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function Z(ge){for(var $e=!1,Xt,ln=!1;(Xt=ge.next())!=null;){if(!$e){if(Xt=="/"&&!ln)return;Xt=="["?ln=!0:ln&&Xt=="]"&&(ln=!1)}$e=!$e&&Xt=="\\"}}var W,Q;function q(ge,$e,Xt){return W=ge,Q=Xt,$e}function oe(ge,$e){var Xt=ge.next();if(Xt=='"'||Xt=="'")return Line truncated
`+Q),C].join(`
`+h)}return re}(n,"",0)};const VW=oa(bme);function xme(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var HW={};(function(e){var n=function(){var t={trace:function(){},yy:{},symbols_:{error:2,JSONString:3,STRING:4,JSONNumber:5,NUMBER:6,JSONNullLiteral:7,NULL:8,JSONBooleanLiteral:9,TRUE:10,FALSE:11,JSONText:12,JSONValue:13,EOF:14,JSONObject:15,JSONArray:16,"{":17,"}":18,JSONMemberList:19,JSONMember:20,":":21,",":22,"[":23,"]":24,JSONElementList:25,$accept:0,$end:1},terminals_:{2:"error",4:"STRING",6:"NUMBER",8:"NULL",10:"TRUE",11:"FALSE",14:"EOF",17:"{",18:"}",21:":",22:",",23:"[",24:"]"},productions_:[0,[3,1],[5,1],[7,1],[9,1],[9,1],[12,2],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[15,2],[15,3],[20,3],[19,1],[19,3],[16,2],[16,3],[25,1],[25,3]],performAction:function(o,s,a,h,g,C,B){var k=C.length-1;switch(g){case 1:this.$=o.replace(/\\(\\|")/g,"$1").replace(/\\n/g,`
`+h)}return re}(n,"",0)};const HW=oa(Cme);function bme(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var ZW={};(function(e){var n=function(){var t={trace:function(){},yy:{},symbols_:{error:2,JSONString:3,STRING:4,JSONNumber:5,NUMBER:6,JSONNullLiteral:7,NULL:8,JSONBooleanLiteral:9,TRUE:10,FALSE:11,JSONText:12,JSONValue:13,EOF:14,JSONObject:15,JSONArray:16,"{":17,"}":18,JSONMemberList:19,JSONMember:20,":":21,",":22,"[":23,"]":24,JSONElementList:25,$accept:0,$end:1},terminals_:{2:"error",4:"STRING",6:"NUMBER",8:"NULL",10:"TRUE",11:"FALSE",14:"EOF",17:"{",18:"}",21:":",22:",",23:"[",24:"]"},productions_:[0,[3,1],[5,1],[7,1],[9,1],[9,1],[12,2],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[15,2],[15,3],[20,3],[19,1],[19,3],[16,2],[16,3],[25,1],[25,3]],performAction:function(o,s,a,h,g,C,B){var k=C.length-1;switch(g){case 1:this.$=o.replace(/\\(\\|")/g,"$1").replace(/\\n/g,`
`).replace(/\\r/g,"\r").replace(/\\t/g," ").replace(/\\v/g,"\v").replace(/\\f/g,"\f").replace(/\\b/g,"\b");break;case 2:this.$=Number(o);break;case 3:this.$=null;break;case 4:this.$=!0;break;case 5:this.$=!1;break;case 6:return this.$=C[k-1];case 13:this.$={};break;case 14:this.$=C[k-1];break;case 15:this.$=[C[k-2],C[k]];break;case 16:this.$={},this.$[C[k][0]]=C[k][1];break;case 17:this.$=C[k-2],C[k-2][C[k][0]]=C[k][1];break;case 18:this.$=[];break;case 19:this.$=C[k-1];break;case 20:this.$=[C[k]];break;case 21:this.$=C[k-2],C[k-2].push(C[k]);break}},table:[{3:5,4:[1,12],5:6,6:[1,13],7:3,8:[1,9],9:4,10:[1,10],11:[1,11],12:1,13:2,15:7,16:8,17:[1,14],23:[1,15]},{1:[3]},{14:[1,16]},{14:[2,7],18:[2,7],22:[2,7],24:[2,7]},{14:[2,8],18:[2,8],22:[2,8],24:[2,8]},{14:[2,9],18:[2,9],22:[2,9],24:[2,9]},{14:[2,10],18:[2,10],22:[2,10],24:[2,10]},{14:[2,11],18:[2,11],22:[2,11],24:[2,11]},{14:[2,12],18:[2,12],22:[2,12],24:[2,12]},{14:[2,3],18:[2,3],22:[2,3],24:[2,3]},{14:[2,4],18:[2,4],22:[2,4],24:[2,4]},{14:[2,5],18:[2,5],22:[2,5],24:[2,5]},{14:[2,1],18:[2,1],21:[2,1],22:[2,1],24:[2,1]},{14:[2,2],18:[2,2],22:[2,2],24:[2,2]},{3:20,4:[1,12],18:[1,17],19:18,20:19},{3:5,4:[1,12],5:6,6:[1,13],7:3,8:[1,9],9:4,10:[1,10],11:[1,11],13:23,15:7,16:8,17:[1,14],23:[1,15],24:[1,21],25:22},{1:[2,6]},{14:[2,13],18:[2,13],22:[2,13],24:[2,13]},{18:[1,24],22:[1,25]},{18:[2,16],22:[2,16]},{21:[1,26]},{14:[2,18],18:[2,18],22:[2,18],24:[2,18]},{22:[1,28],24:[1,27]},{22:[2,20],24:[2,20]},{14:[2,14],18:[2,14],22:[2,14],24:[2,14]},{3:20,4:[1,12],20:29},{3:5,4:[1,12],5:6,6:[1,13],7:3,8:[1,9],9:4,10:[1,10],11:[1,11],13:30,15:7,16:8,17:[1,14],23:[1,15]},{14:[2,19],18:[2,19],22:[2,19],24:[2,19]},{3:5,4:[1,12],5:6,6:[1,13],7:3,8:[1,9],9:4,10:[1,10],11:[1,11],13:31,15:7,16:8,17:[1,14],23:[1,15]},{18:[2,17],22:[2,17]},{18:[2,15],22:[2,15]},{22:[2,21],24:[2,21]}],defaultActions:{16:[2,6]},parseError:function(o,s){throw new Error(o)},parse:function(o){var s=this,a=[0],h=[null],g=[],C=this.table,B="",k=0,P=0,U=0,Z=2,W=1;this.lexer.setInput(o),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var Q=this.lexer.yylloc;g.push(Q),typeof this.yy.parseError=="function"&&(this.parseError=this.yy.parseError);function q(_e){a.length=a.length-2*_e,h.length=h.length-_e,g.length=g.length-_e}function oe(){var _e;return _e=s.lexer.lex()||1,typeof _e!="number"&&(_e=s.symbols_[_e]||_e),_e}for(var re,Ae,ae,se,ye,De={},Ne,et,ft,Ke;;){if(ae=a[a.length-1],this.defaultActions[ae]?se=this.defaultActions[ae]:(re==null&&(re=oe()),se=C[ae]&&C[ae][re]),typeof se>"u"||!se.length||!se[0]){if(!U){Ke=[];for(Ne in C[ae])this.terminals_[Ne]&&Ne>2&&Ke.push("'"+this.terminals_[Ne]+"'");var rt="";this.lexer.showPosition?rt="Parse error on line "+(k+1)+`:
`+this.lexer.showPosition()+`
Expecting `+Ke.join(", ")+", got '"+this.terminals_[re]+"'":rt="Parse error on line "+(k+1)+": Unexpected "+(re==1?"end of input":"'"+(this.terminals_[re]||re)+"'"),this.parseError(rt,{text:this.lexer.match,token:this.terminals_[re]||re,line:this.lexer.yylineno,loc:Q,expected:Ke})}if(U==3){if(re==W)throw new Error(rt||"Parsing halted.");P=this.lexer.yyleng,B=this.lexer.yytext,k=this.lexer.yylineno,Q=this.lexer.yylloc,re=oe()}for(;!(Z.toString()in C[ae]);){if(ae==0)throw new Error(rt||"Parsing halted.");q(1),ae=a[a.length-1]}Ae=re,re=Z,ae=a[a.length-1],se=C[ae]&&C[ae][Z],U=3}if(se[0]instanceof Array&&se.length>1)throw new Error("Parse Error: multiple actions possible at state: "+ae+", token: "+re);switch(se[0]){case 1:a.push(re),h.push(this.lexer.yytext),g.push(this.lexer.yylloc),a.push(se[1]),re=null,Ae?(re=Ae,Ae=null):(P=this.lexer.yyleng,B=this.lexer.yytext,k=this.lexer.yylineno,Q=this.lexer.yylloc,U>0&&U--);break;case 2:if(et=this.productions_[se[1]][1],De.$=h[h.length-et],De._$={first_line:g[g.length-(et||1)].first_line,last_line:g[g.length-1].last_line,first_column:g[g.length-(et||1)].first_column,last_column:g[g.length-1].last_column},ye=this.performAction.call(De,B,P,k,this.yy,se[1],h,g),typeof ye<"u")return ye;et&&(a=a.slice(0,-1*et*2),h=h.slice(0,-1*et),g=g.slice(0,-1*et)),a.push(this.productions_[se[1]][0]),h.push(De.$),g.push(De._$),ft=C[a[a.length-2]][a[a.length-1]],a.push(ft);break;case 3:return!0}}return!0}},r=function(){var i={EOF:1,parseError:function(s,a){if(this.yy.parseError)this.yy.parseError(s,a);else throw new Error(s)},setInput:function(o){return this._input=o,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this},input:function(){var o=this._input[0];this.yytext+=o,this.yyleng++,this.match+=o,this.matched+=o;var s=o.match(/\n/);return s&&this.yylineno++,this._input=this._input.slice(1),o},unput:function(o){return this._input=o+this._input,this},more:function(){return this._more=!0,this},less:function(o){this._input=this.match.slice(o)+this._input},pastInput:function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var o=this.match;return o.length<20&&(o+=this._input.substr(0,20-o.length)),(o.substr(0,20)+(o.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var o=this.pastInput(),s=new Array(o.length+1).join("-");return o+this.upcomingInput()+`
`+s+"^"},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var o,s,a,h,g;this._more||(this.yytext="",this.match="");for(var C=this._currentRules(),B=0;B<C.length&&(a=this._input.match(this.rules[C[B]]),!(a&&(!s||a[0].length>s[0].length)&&(s=a,h=B,!this.options.flex)));B++);if(s)return g=s[0].match(/\n.*/g),g&&(this.yylineno+=g.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:g?g[g.length-1].length-1:this.yylloc.last_column+s[0].length},this.yytext+=s[0],this.match+=s[0],this.yyleng=this.yytext.length,this._more=!1,this._input=this._input.slice(s[0].length),this.matched+=s[0],o=this.performAction.call(this,this.yy,this,C[h],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),o||void 0;if(this._input==="")return this.EOF;this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var s=this.next();return typeof s<"u"?s:this.lex()},begin:function(s){this.conditionStack.push(s)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(s){this.begin(s)}};return i.options={},i.performAction=function(s,a,h,g){switch(h){case 0:break;case 1:return 6;case 2:return a.yytext=a.yytext.substr(1,a.yyleng-2),4;case 3:return 17;case 4:return 18;case 5:return 23;case 6:return 24;case 7:return 22;case 8:return 21;case 9:return 10;case 10:return 11;case 11:return 8;case 12:return 14;case 13:return"INVALID"}},i.rules=[/^(?:\s+)/,/^(?:(-?([0-9]|[1-9][0-9]+))(\.[0-9]+)?([eE][-+]?[0-9]+)?\b)/,/^(?:"(?:\\[\\"bfnrt/]|\\u[a-fA-F0-9]{4}|[^\\\0-\x09\x0a-\x1f"])*")/,/^(?:\{)/,/^(?:\})/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?::)/,/^(?:true\b)/,/^(?:false\b)/,/^(?:null\b)/,/^(?:$)/,/^(?:.)/],i.conditions={INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}},i}();return t.lexer=r,t}();typeof xme<"u"&&(e.parser=n,e.parse=n.parse.bind(n))})(HW);const HE=oa(HW);var ZW={exports:{}};(function(e,n){(function(t,r){e.exports=r()})(dh,function(){var t=typeof window<"u"||typeof window<"u"?window:typeof self<"u"?self:{};function r(he,be){return be={exports:{}},he(be,be.exports),be.exports}var i=r(function(he){function be(){var Pe=0,Ze=1,nt=2,xt=3,Ft=4,Dt=5,pt=6,nr=7,pn=8,bn=9,Jn=10,mr=11,xr=12,Nr=13,_r=14,fi=15,we=16,H=17,Y=0,Be=1,st=2,St=3,Et=4;function Nt(m,Tt){return 55296<=m.charCodeAt(Tt)&&m.charCodeAt(Tt)<=56319&&56320<=m.charCodeAt(Tt+1)&&m.charCodeAt(Tt+1)<=57343}function mn(m,Tt){Tt===void 0&&(Tt=0);var Lr=m.charCodeAt(Tt);if(55296<=Lr&&Lr<=56319&&Tt<m.length-1){var Wn=Lr,Te=m.charCodeAt(Tt+1);return 56320<=Te&&Te<=57343?(Wn-55296)*1024+(Te-56320)+65536:Wn}if(56320<=Lr&&Lr<=57343&&Tt>=1){var Wn=m.charCodeAt(Tt-1),Te=Lr;return 55296<=Wn&&Wn<=56319?(Wn-55296)*1024+(Te-56320)+65536:Te}return Lr}function Kn(m,Tt,Lr){var Wn=[m].concat(Tt).concat([Lr]),Te=Wn[Wn.length-2],de=Lr,ve=Wn.lastIndexOf(_r);if(ve>1&&Wn.slice(1,ve).every(function(Xe){return Xe==xt})&&[xt,Nr,H].indexOf(m)==-1)return st;var Se=Wn.lastIndexOf(Ft);if(Se>0&&Wn.slice(1,Se).every(function(Xe){return Xe==Ft})&&[xr,Ft].indexOf(Te)==-1)return Wn.filter(function(Xe){return Xe==Ft}).length%2==1?St:Et;if(Te==Pe&&de==Ze)return Y;if(Te==nt||Te==Pe||Te==Ze)return de==_r&&Tt.every(function(Xe){return Xe==xt})?st:Be;if(de==nt||de==Pe||de==Ze)return Be;if(Te==pt&&(de==pt||de==nr||de==bn||de==Jn))return Y;if((Te==bn||Te==nr)&&(de==nr||de==pn))return Y;if((Te==Jn||Te==pn)&&de==pn)return Y;if(de==xt||de==fi)return Y;if(de==Dt)return Y;if(Te==xr)return Y;var Ue=Wn.indexOf(xt)!=-1?Wn.lastIndexOf(xt)-1:Wn.length-2;return[Nr,H].indexOf(Wn[Ue])!=-1&&Wn.slice(Ue+1,-1).every(function(Xe){return Xe==xt})&&de==_r||Te==fi&&[we,H].indexOf(de)!=-1?Y:Tt.indexOf(Ft)!=-1?st:Te==Ft&&de==Ft?Y:Be}this.nextBreak=function(m,Tt){if(Tt===void 0&&(Tt=0),Tt<0)return 0;if(Tt>=m.length-1)return m.length;for(var Lr=En(mn(m,Tt)),Wn=[],Te=Tt+1;Te<m.length;Te++)if(!Nt(m,Te-1)){var de=En(mn(m,Te));if(Kn(Lr,Wn,de))return Te;Wn.push(de)}return m.length},this.splitGraphemes=function(m){for(var Tt=[],Lr=0,Wn;(Wn=this.nextBreak(m,Lr))<m.length;)Tt.push(m.slice(Lr,Wn)),Lr=Wn;return Lr<m.length&&Tt.push(m.slice(Lr)),Tt},this.iterateGraphemes=function(m){var Tt=0,Lr={next:(function(){var Wn,Te;return(Te=this.nextBreak(m,Tt))<m.length?(Wn=m.slice(Tt,Te),Tt=Te,{value:Wn,done:!1}):Tt<m.length?(Wn=m.slice(Tt),Tt=m.length,{value:Wn,done:!1}):{value:void 0,done:!0}}).bind(this)};return typeof Symbol<"u"&&Symbol.iterator&&(Lr[Symbol.iterator]=function(){return Lr}),Lr},this.countGraphemes=function(m){for(var Tt=0,Lr=0,Wn;(Wn=this.nextBreak(m,Lr))<m.length;)Lr=Wn,Tt++;return Lr<m.length&&Tt++,Tt};function En(m){return 1536<=m&&m<=1541||m==1757||m==1807||m==2274||m==3406||m==69821||70082<=m&&m<=70083||m==72250||72326<=m&&m<=72329||m==73030?xr:m==13?Pe:m==10?Ze:0<=m&&m<=9||11<=m&&m<=12||14<=m&&m<=31||127<=m&&m<=159||m==173||m==1564||m==6158||m==8203||8206<=m&&m<=8207||m==8232||m==8233||8234<=m&&m<=8238||8288<=m&&m<=8292||m==8293||8294<=m&&m<=8303||55296<=m&&m<=57343||m==65279||65520<=m&&m<=65528||65529<=m&&m<=65531||113824<=m&&m<=113827||119155<=m&&m<=119162||m==917504||m==917505||917506<=m&&m<=917535||917632<=m&&m<=917759||918e3<=m&&m<=921599?nt:768<=m&&m<=879||1155<=m&&m<=1159||1160<=m&&m<=1161||1425<=m&&m<=1469||m==1471||1473<=m&&m<=1474||1476<=m&&m<=1477||m==1479||1552<=m&&m<=1562||1611<=m&&m<=1631||m==1648||1750<=m&&m<=1756||1759<=m&&m<=1764||1767<=m&&m<=1768||1770<=m&&m<=1773||m==1809||1840<=m&&m<=1866||1958<=m&&m<=1968||2027<=m&&m<=2035||2070<=m&&m<=2073||2075<=m&&m<=2083||2085<=m&&m<=2087||2089<=m&&m<=2093||2137<=m&&m<=2139||2260<=m&&m<=2273||2275<=m&&m<=2306||m==2362||m==2364||2369<=m&&m<=2376||m==2381||2385<=m&&m<=2391||2402<=m Line truncated
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var s=this.next();return typeof s<"u"?s:this.lex()},begin:function(s){this.conditionStack.push(s)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(s){this.begin(s)}};return i.options={},i.performAction=function(s,a,h,g){switch(h){case 0:break;case 1:return 6;case 2:return a.yytext=a.yytext.substr(1,a.yyleng-2),4;case 3:return 17;case 4:return 18;case 5:return 23;case 6:return 24;case 7:return 22;case 8:return 21;case 9:return 10;case 10:return 11;case 11:return 8;case 12:return 14;case 13:return"INVALID"}},i.rules=[/^(?:\s+)/,/^(?:(-?([0-9]|[1-9][0-9]+))(\.[0-9]+)?([eE][-+]?[0-9]+)?\b)/,/^(?:"(?:\\[\\"bfnrt/]|\\u[a-fA-F0-9]{4}|[^\\\0-\x09\x0a-\x1f"])*")/,/^(?:\{)/,/^(?:\})/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?::)/,/^(?:true\b)/,/^(?:false\b)/,/^(?:null\b)/,/^(?:$)/,/^(?:.)/],i.conditions={INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}},i}();return t.lexer=r,t}();typeof bme<"u"&&(e.parser=n,e.parse=n.parse.bind(n))})(ZW);const ZE=oa(ZW);var XW={exports:{}};(function(e,n){(function(t,r){e.exports=r()})(ch,function(){var t=typeof window<"u"||typeof window<"u"?window:typeof self<"u"?self:{};function r(he,be){return be={exports:{}},he(be,be.exports),be.exports}var i=r(function(he){function be(){var Pe=0,Ze=1,nt=2,xt=3,Ft=4,Dt=5,pt=6,nr=7,pn=8,bn=9,Jn=10,mr=11,xr=12,Nr=13,_r=14,fi=15,we=16,H=17,Y=0,Be=1,st=2,St=3,Et=4;function Nt(m,Tt){return 55296<=m.charCodeAt(Tt)&&m.charCodeAt(Tt)<=56319&&56320<=m.charCodeAt(Tt+1)&&m.charCodeAt(Tt+1)<=57343}function mn(m,Tt){Tt===void 0&&(Tt=0);var Lr=m.charCodeAt(Tt);if(55296<=Lr&&Lr<=56319&&Tt<m.length-1){var Wn=Lr,Te=m.charCodeAt(Tt+1);return 56320<=Te&&Te<=57343?(Wn-55296)*1024+(Te-56320)+65536:Wn}if(56320<=Lr&&Lr<=57343&&Tt>=1){var Wn=m.charCodeAt(Tt-1),Te=Lr;return 55296<=Wn&&Wn<=56319?(Wn-55296)*1024+(Te-56320)+65536:Te}return Lr}function Kn(m,Tt,Lr){var Wn=[m].concat(Tt).concat([Lr]),Te=Wn[Wn.length-2],de=Lr,ve=Wn.lastIndexOf(_r);if(ve>1&&Wn.slice(1,ve).every(function(Xe){return Xe==xt})&&[xt,Nr,H].indexOf(m)==-1)return st;var Se=Wn.lastIndexOf(Ft);if(Se>0&&Wn.slice(1,Se).every(function(Xe){return Xe==Ft})&&[xr,Ft].indexOf(Te)==-1)return Wn.filter(function(Xe){return Xe==Ft}).length%2==1?St:Et;if(Te==Pe&&de==Ze)return Y;if(Te==nt||Te==Pe||Te==Ze)return de==_r&&Tt.every(function(Xe){return Xe==xt})?st:Be;if(de==nt||de==Pe||de==Ze)return Be;if(Te==pt&&(de==pt||de==nr||de==bn||de==Jn))return Y;if((Te==bn||Te==nr)&&(de==nr||de==pn))return Y;if((Te==Jn||Te==pn)&&de==pn)return Y;if(de==xt||de==fi)return Y;if(de==Dt)return Y;if(Te==xr)return Y;var Ue=Wn.indexOf(xt)!=-1?Wn.lastIndexOf(xt)-1:Wn.length-2;return[Nr,H].indexOf(Wn[Ue])!=-1&&Wn.slice(Ue+1,-1).every(function(Xe){return Xe==xt})&&de==_r||Te==fi&&[we,H].indexOf(de)!=-1?Y:Tt.indexOf(Ft)!=-1?st:Te==Ft&&de==Ft?Y:Be}this.nextBreak=function(m,Tt){if(Tt===void 0&&(Tt=0),Tt<0)return 0;if(Tt>=m.length-1)return m.length;for(var Lr=En(mn(m,Tt)),Wn=[],Te=Tt+1;Te<m.length;Te++)if(!Nt(m,Te-1)){var de=En(mn(m,Te));if(Kn(Lr,Wn,de))return Te;Wn.push(de)}return m.length},this.splitGraphemes=function(m){for(var Tt=[],Lr=0,Wn;(Wn=this.nextBreak(m,Lr))<m.length;)Tt.push(m.slice(Lr,Wn)),Lr=Wn;return Lr<m.length&&Tt.push(m.slice(Lr)),Tt},this.iterateGraphemes=function(m){var Tt=0,Lr={next:(function(){var Wn,Te;return(Te=this.nextBreak(m,Tt))<m.length?(Wn=m.slice(Tt,Te),Tt=Te,{value:Wn,done:!1}):Tt<m.length?(Wn=m.slice(Tt),Tt=m.length,{value:Wn,done:!1}):{value:void 0,done:!0}}).bind(this)};return typeof Symbol<"u"&&Symbol.iterator&&(Lr[Symbol.iterator]=function(){return Lr}),Lr},this.countGraphemes=function(m){for(var Tt=0,Lr=0,Wn;(Wn=this.nextBreak(m,Lr))<m.length;)Lr=Wn,Tt++;return Lr<m.length&&Tt++,Tt};function En(m){return 1536<=m&&m<=1541||m==1757||m==1807||m==2274||m==3406||m==69821||70082<=m&&m<=70083||m==72250||72326<=m&&m<=72329||m==73030?xr:m==13?Pe:m==10?Ze:0<=m&&m<=9||11<=m&&m<=12||14<=m&&m<=31||127<=m&&m<=159||m==173||m==1564||m==6158||m==8203||8206<=m&&m<=8207||m==8232||m==8233||8234<=m&&m<=8238||8288<=m&&m<=8292||m==8293||8294<=m&&m<=8303||55296<=m&&m<=57343||m==65279||65520<=m&&m<=65528||65529<=m&&m<=65531||113824<=m&&m<=113827||119155<=m&&m<=119162||m==917504||m==917505||917506<=m&&m<=917535||917632<=m&&m<=917759||918e3<=m&&m<=921599?nt:768<=m&&m<=879||1155<=m&&m<=1159||1160<=m&&m<=1161||1425<=m&&m<=1469||m==1471||1473<=m&&m<=1474||1476<=m&&m<=1477||m==1479||1552<=m&&m<=1562||1611<=m&&m<=1631||m==1648||1750<=m&&m<=1756||1759<=m&&m<=1764||1767<=m&&m<=1768||1770<=m&&m<=1773||m==1809||1840<=m&&m<=1866||1958<=m&&m<=1968||2027<=m&&m<=2035||2070<=m&&m<=2073||2075<=m&&m<=2083||2085<=m&&m<=2087||2089<=m&&m<=2093||2137<=m&&m<=2139||2260<=m&&m<=2273||2275<=m&&m<=2306||m==2362||m==2364||2369<=m&&m<=2376||m==2381||2385<=m&&m<=2391||2402<=m Line truncated
`)}var pn={extraLines:2,tabSize:4},bn=function(mr,xr,Nr,_r){_r=Dt({},pn,_r);var fi=mr.split(/\r\n?|\n|\f/),we=Math.max(1,xr-_r.extraLines)-1,H=Math.min(xr+_r.extraLines,fi.length),Y=String(H).length,Be=nr(fi,we,xr,Y,_r),st=pt(fi[xr-1].substring(0,Nr-1),xr,Y,_r),St=nt(" ",st.length)+"^",Et=nr(fi,xr,H,Y,_r);return[Be,St,Et].filter(Boolean).join(`
`)};return bn})}),g=new Error().stack,C=function(he){var be=Object.create(SyntaxError.prototype);return Object.assign(be,he,{name:"SyntaxError"}),Object.defineProperty(be,"stack",{get:function(){return g?g.replace(/^(.+\n){1,3}/,String(be)+`
`):""}}),be},B=function(he,be,Pe,Ze,nt){throw C({message:Ze?he+`
`+h(be,Ze,nt):he,rawMessage:he,source:Pe,line:Ze,column:nt})},k={unexpectedEnd:function(){return"Unexpected end of input"},unexpectedToken:function(be){for(var Pe=arguments.length,Ze=Array(Pe>1?Pe-1:0),nt=1;nt<Pe;nt++)Ze[nt-1]=arguments[nt];return"Unexpected token <"+be+"> at "+Ze.filter(Boolean).join(":")}},P={unexpectedSymbol:function(be){for(var Pe=arguments.length,Ze=Array(Pe>1?Pe-1:0),nt=1;nt<Pe;nt++)Ze[nt-1]=arguments[nt];return"Unexpected symbol <"+be+"> at "+Ze.filter(Boolean).join(":")}},U={LEFT_BRACE:0,RIGHT_BRACE:1,LEFT_BRACKET:2,RIGHT_BRACKET:3,COLON:4,COMMA:5,STRING:6,NUMBER:7,TRUE:8,FALSE:9,NULL:10},Z={"{":U.LEFT_BRACE,"}":U.RIGHT_BRACE,"[":U.LEFT_BRACKET,"]":U.RIGHT_BRACKET,":":U.COLON,",":U.COMMA},W={true:U.TRUE,false:U.FALSE,null:U.NULL},Q={_START_:0,START_QUOTE_OR_CHAR:1,ESCAPE:2},q={'"':0,"\\":1,"/":2,b:3,f:4,n:5,r:6,t:7,u:8},oe={_START_:0,MINUS:1,ZERO:2,DIGIT:3,POINT:4,DIGIT_FRACTION:5,EXP:6,EXP_DIGIT_OR_SIGN:7};function re(he){return he>="1"&&he<="9"}function Ae(he){return he>="0"&&he<="9"}function ae(he){return Ae(he)||he>="a"&&he<="f"||he>="A"&&he<="F"}function se(he){return he==="e"||he==="E"}function ye(he,be,Pe,Ze){var nt=he.charAt(be);if(nt==="\r")be++,Pe++,Ze=1,he.charAt(be)===`
`&&be++;else if(nt===`
`)be++,Pe++,Ze=1;else if(nt===" "||nt===" ")be++,Ze++;else return null;return{index:be,line:Pe,column:Ze}}function De(he,be,Pe,Ze){var nt=he.charAt(be);return nt in Z?{type:Z[nt],line:Pe,column:Ze+1,index:be+1,value:null}:null}function Ne(he,be,Pe,Ze){for(var nt in W)if(W.hasOwnProperty(nt)&&he.substr(be,nt.length)===nt)return{type:W[nt],line:Pe,column:Ze+nt.length,index:be+nt.length,value:nt};return null}function et(he,be,Pe,Ze){for(var nt=be,xt=Q._START_;be<he.length;){var Ft=he.charAt(be);switch(xt){case Q._START_:{if(Ft==='"')be++,xt=Q.START_QUOTE_OR_CHAR;else return null;break}case Q.START_QUOTE_OR_CHAR:{if(Ft==="\\")be++,xt=Q.ESCAPE;else{if(Ft==='"')return be++,{type:U.STRING,line:Pe,column:Ze+be-nt,index:be,value:he.slice(nt,be)};be++}break}case Q.ESCAPE:{if(Ft in q){if(be++,Ft==="u")for(var Dt=0;Dt<4;Dt++){var pt=he.charAt(be);if(pt&&ae(pt))be++;else return null}xt=Q.START_QUOTE_OR_CHAR}else return null;break}}}}function ft(he,be,Pe,Ze){var nt=be,xt=be,Ft=oe._START_;e:for(;be<he.length;){var Dt=he.charAt(be);switch(Ft){case oe._START_:{if(Dt==="-")Ft=oe.MINUS;else if(Dt==="0")xt=be+1,Ft=oe.ZERO;else if(re(Dt))xt=be+1,Ft=oe.DIGIT;else return null;break}case oe.MINUS:{if(Dt==="0")xt=be+1,Ft=oe.ZERO;else if(re(Dt))xt=be+1,Ft=oe.DIGIT;else return null;break}case oe.ZERO:{if(Dt===".")Ft=oe.POINT;else if(se(Dt))Ft=oe.EXP;else break e;break}case oe.DIGIT:{if(Ae(Dt))xt=be+1;else if(Dt===".")Ft=oe.POINT;else if(se(Dt))Ft=oe.EXP;else break e;break}case oe.POINT:{if(Ae(Dt))xt=be+1,Ft=oe.DIGIT_FRACTION;else break e;break}case oe.DIGIT_FRACTION:{if(Ae(Dt))xt=be+1;else if(se(Dt))Ft=oe.EXP;else break e;break}case oe.EXP:{if(Dt==="+"||Dt==="-")Ft=oe.EXP_DIGIT_OR_SIGN;else if(Ae(Dt))xt=be+1,Ft=oe.EXP_DIGIT_OR_SIGN;else break e;break}case oe.EXP_DIGIT_OR_SIGN:{if(Ae(Dt))xt=be+1;else break e;break}}be++}return xt>0?{type:U.NUMBER,line:Pe,column:Ze+xt-nt,index:xt,value:he.slice(nt,xt)}:null}var Ke=function(be,Pe){for(var Ze=1,nt=1,xt=0,Ft=[];xt<be.length;){var Dt=[be,xt,Ze,nt],pt=ye.apply(void 0,Dt);if(pt){xt=pt.index,Ze=pt.line,nt=pt.column;continue}var nr=De.apply(void 0,Dt)||Ne.apply(void 0,Dt)||et.apply(void 0,Dt)||ft.apply(void 0,Dt);if(nr){var pn={type:nr.type,value:nr.value,loc:a(Ze,nt,xt,nr.line,nr.column,nr.index,Pe.source)};Ft.push(pn),xt=nr.index,Ze=nr.line,nt=nr.column}else B(P.unexpectedSymbol(s(be,xt,xt+1),Pe.source,Ze,nt),be,Pe.source,Ze,nt)}return Ft},rt={_START_:0,OPEN_OBJECT:1,PROPERTY:2,COMMA:3},_e={_START_:0,KEY:1,COLON:2},Ut={_START_:0,OPEN_ARRAY:1,VALUE:2,COMMA:3},jt={loc:!0,source:null};function nn(he,be,Pe){var Ze=be.length>0?be[be.length-1].loc.end:{line:1,column:1};B(k.unexpectedEnd(),he,Pe.source,Ze.line,Ze.column)}function Qt(he){for(var be=0,Pe=0;Pe<4;Pe++)be=be*16+parseInt(he[Pe],16);return String.fromCharCode(be)}var He={b:"\b",f:"\f",n:`
`,r:"\r",t:" "},Je=['"',"\\","/"];function tt(he){for(var be="",Pe=0;Pe<he.length;Pe++){var Ze=he.charAt(Pe);if(Ze==="\\"){Pe++;var nt=he.charAt(Pe);if(nt==="u")be+=Qt(he.substr(Pe+1,4)),Pe+=4;else if(Je.indexOf(nt)!==-1)be+=nt;else if(nt in He)be+=He[nt];else break}else be+=Ze}return be}function on(he,be,Pe,Ze){for(var nt=void 0,xt={type:"Object",children:[]},Ft=rt._START_;Pe<be.length;){var Dt=be[Pe];switch(Ft){case rt._START_:{if(Dt.type===U.LEFT_BRACE)nt=Dt,Ft=rt.OPEN_OBJECT,Pe++;else return null;break}case rt.OPEN_OBJECT:{if(Dt.type===U.RIGHT_BRACE)return Ze.loc&&(xt.loc=a(nt.loc.start.line,nt.loc.start.column,nt.loc.start.offset,Dt.loc.end.line,Dt.loc.end.column,Dt.loc.end.offset,Ze.source)),{value:xt,index:Pe+1};var pt=mt(he,be,Pe,Ze);xt.children.push(pt.value),Ft=rt.PROPERTY,Pe=pt.index;break}case rt.PROPERTY:{if(Dt.type===U.RIGHT_BRACE)return Ze.loc&&(xt.loc=a(nt.loc.start.line,nt.loc.start.column,nt.loc.start.offset,Dt.loc.end.line,Dt.loc.end.column,Dt.loc.end.offset,Ze.source)),{value:xt,index:Pe+1};Dt.type===U.COMMA?(Ft=rt.COMMA,Pe++):B(k.unexpectedToken(s(he,Dt.loc.start.offset,Dt.loc.end.offset),Ze.source,Dt.loc.start.line,Dt.loc.start.column),he,Ze.source,Dt.loc.start.line,Dt.loc.start.column);break}case rt.COMMA:{var nr=mt(he,be,Pe,Ze);nr?(Pe=nr.index,xt.children.push(nr.value),Ft=rt.PROPERTY):B(k.unexpectedToken(s(he,Dt.loc.start.offset,Dt.loc.end.offset),Ze.source,Dt.loc.start.line,Dt.loc.start.column),he,Ze.source,Dt.loc.start.line,Dt.loc.start.column);break}}}nn(he,be,Ze)}function mt(he,be,Pe,Ze){for(var nt=void 0,xt={type:"Property",key:null,value:null},Ft=_e._START_;Pe<be.length;){var Dt=be[Pe];switch(Ft){case _e._START_:{if(Dt.type===U.STRING){var pt={type:"Identifier",value:tt(he.slice(Dt.loc.start.offset+1,Dt.loc.end.offset-1)),raw:Dt.value};Ze.loc&&(pt.loc=Dt.loc),nt=Dt,xt.key=pt,Ft=_e.KEY,Pe++}else return null;break}case _e.KEY:{Dt.type===U.COLON?(Ft=_e.COLON,Pe++):B(k.unexpectedToken(s(he,Dt.loc.start.offset,Dt.loc.end.offset),Ze.source,Dt.loc.start.line,Dt.loc.start.column),he,Ze.source,Dt.loc.start.line,Dt.loc.start.column);break}case _e.COLON:{var nr=Pt(he,be,Pe,Ze);return xt.value=nr.value,Ze.loc&&(xt.loc=a(nt.loc.start.line,nt.loc.start.column,nt.loc.start.offset,nr.value.loc.end.line,nr.value.loc.end.column,nr.value.loc.end.offset,Ze.source)),{value:xt,index:nr.index}}}}}function dt(he,be,Pe,Ze){for(var nt=void 0,xt={type:"Array",children:[]},Ft=Ut._START_,Dt=void 0;Pe<be.length;)switch(Dt=be[Pe],Ft){case Ut._START_:{if(Dt.type===U.LEFT_BRACKET)nt=Dt,Ft=Ut.OPEN_ARRAY,Pe++;else return null;break}case Ut.OPEN_ARRAY:{if(Dt.type===U.RIGHT_BRACKET)return Ze.loc&&(xt.loc=a(nt.loc.start.line,nt.loc.start.column,nt.loc.start.offset,Dt.loc.end.line,Dt.loc.end.column,Dt.loc.end.offset,Ze.source)),{value:xt,index:Pe+1};var pt=Pt(he,be,Pe,Ze);Pe=pt.index,xt.children.push(pt.value),Ft=Ut.VALUE;break}case Ut.VALUE:{if(Dt.type===U.RIGHT_BRACKET)return Ze.loc&&(xt.loc=a(nt.loc.start.line,nt.loc.start.column,nt.loc.start.offset,Dt.loc.end.line,Dt.loc.end.column,Dt.loc.end.offset,Ze.source)),{value:xt,index:Pe+1};Dt.type===U.COMMA?(Ft=Ut.COMMA,Pe++):B(k.unexpectedToken(s(he,Dt.loc.start.offset,Dt.loc.end.offset),Ze.source,Dt.loc.start.line,Dt.loc.start.column),he,Ze.source,Dt.loc.start.line,Dt.loc.start.column);break}case Ut.COMMA:{var nr=Pt(he,be,Pe,Ze);Pe=nr.index,xt.children.push(nr.value),Ft=Ut.VALUE;break}}nn(he,be,Ze)}function kt(he,be,Pe,Ze){var nt=be[Pe],xt=null;switch(nt.type){case U.STRING:{xt=tt(he.slice(nt.loc.start.offset+1,nt.loc.end.offset-1));break}case U.NUMBER:{xt=Number(nt.value);break}case U.TRUE:{xt=!0;break}case U.FALSE:{xt=!1;break}case U.NULL:{xt=null;break}default:return null}var Ft={type:"Literal",value:xt,raw:nt.value};return Ze.loc&&(Ft.loc=nt.loc),{value:Ft,index:Pe+1}}function Pt(he,be,Pe,Ze){var nt=be[Pe],xt=kt.apply(void 0,arguments)||on.apply(void 0,arguments)||dt.apply(void 0,arguments);if(xt)return xt;B(k.unexpectedToken(s(he,nt.loc.start.offset,nt.loc.end.offset),Ze.source,nt.loc.start.line,nt.loc.start.column),he,Ze.source,nt.loc.start.line,nt.loc.start.column)}var Me=function(he,be){be=Object.assign({},jt,be);var Pe=Ke(he,be);Pe.length===0&&nn(he,Pe,be);var Ze=Pt(he,Pe,0,be);if(Ze.index===Pe.length)return Ze.value;var nt=Pe[Ze.index];B(k.unexpectedToken(s(he,nt.loc.start.offset,nt.loc.end.offset),be.source,nt.loc.start.line,nt.loc.start.column),he,be.source,nt.loc.start.line,nt.loc.start.column)};return Me})})(ZW);var wme=ZW.exports;const Mme=oa(wme);function Sn(){var e="/home/runner/work/maputnik/maputnik/src/libs/codemirror-mgl.ts",n="a994e12e3e6547813b669a430e6cb42da5d99bba",t=globalThis,r="__coverage__",i={path:"/home/runner/work/maputnik/maputnik/src/libs/codemirror-mgl.ts",statementMap:{0:{start:{line:5,column:0},end:{line:10,column:3}},1:{start:{line:6,column:2},end:{line:9,column:4}},2:{start:{line:11,column:0},end:{line:26,column:3}},3:{start:{line:12,column:16},end:{line:12,column:18}},4:{start:{line:13,column:2},end:{line:20,column:4}},5:{sta Line truncated
`,r:"\r",t:" "},Je=['"',"\\","/"];function tt(he){for(var be="",Pe=0;Pe<he.length;Pe++){var Ze=he.charAt(Pe);if(Ze==="\\"){Pe++;var nt=he.charAt(Pe);if(nt==="u")be+=Qt(he.substr(Pe+1,4)),Pe+=4;else if(Je.indexOf(nt)!==-1)be+=nt;else if(nt in He)be+=He[nt];else break}else be+=Ze}return be}function on(he,be,Pe,Ze){for(var nt=void 0,xt={type:"Object",children:[]},Ft=rt._START_;Pe<be.length;){var Dt=be[Pe];switch(Ft){case rt._START_:{if(Dt.type===U.LEFT_BRACE)nt=Dt,Ft=rt.OPEN_OBJECT,Pe++;else return null;break}case rt.OPEN_OBJECT:{if(Dt.type===U.RIGHT_BRACE)return Ze.loc&&(xt.loc=a(nt.loc.start.line,nt.loc.start.column,nt.loc.start.offset,Dt.loc.end.line,Dt.loc.end.column,Dt.loc.end.offset,Ze.source)),{value:xt,index:Pe+1};var pt=mt(he,be,Pe,Ze);xt.children.push(pt.value),Ft=rt.PROPERTY,Pe=pt.index;break}case rt.PROPERTY:{if(Dt.type===U.RIGHT_BRACE)return Ze.loc&&(xt.loc=a(nt.loc.start.line,nt.loc.start.column,nt.loc.start.offset,Dt.loc.end.line,Dt.loc.end.column,Dt.loc.end.offset,Ze.source)),{value:xt,index:Pe+1};Dt.type===U.COMMA?(Ft=rt.COMMA,Pe++):B(k.unexpectedToken(s(he,Dt.loc.start.offset,Dt.loc.end.offset),Ze.source,Dt.loc.start.line,Dt.loc.start.column),he,Ze.source,Dt.loc.start.line,Dt.loc.start.column);break}case rt.COMMA:{var nr=mt(he,be,Pe,Ze);nr?(Pe=nr.index,xt.children.push(nr.value),Ft=rt.PROPERTY):B(k.unexpectedToken(s(he,Dt.loc.start.offset,Dt.loc.end.offset),Ze.source,Dt.loc.start.line,Dt.loc.start.column),he,Ze.source,Dt.loc.start.line,Dt.loc.start.column);break}}}nn(he,be,Ze)}function mt(he,be,Pe,Ze){for(var nt=void 0,xt={type:"Property",key:null,value:null},Ft=_e._START_;Pe<be.length;){var Dt=be[Pe];switch(Ft){case _e._START_:{if(Dt.type===U.STRING){var pt={type:"Identifier",value:tt(he.slice(Dt.loc.start.offset+1,Dt.loc.end.offset-1)),raw:Dt.value};Ze.loc&&(pt.loc=Dt.loc),nt=Dt,xt.key=pt,Ft=_e.KEY,Pe++}else return null;break}case _e.KEY:{Dt.type===U.COLON?(Ft=_e.COLON,Pe++):B(k.unexpectedToken(s(he,Dt.loc.start.offset,Dt.loc.end.offset),Ze.source,Dt.loc.start.line,Dt.loc.start.column),he,Ze.source,Dt.loc.start.line,Dt.loc.start.column);break}case _e.COLON:{var nr=Pt(he,be,Pe,Ze);return xt.value=nr.value,Ze.loc&&(xt.loc=a(nt.loc.start.line,nt.loc.start.column,nt.loc.start.offset,nr.value.loc.end.line,nr.value.loc.end.column,nr.value.loc.end.offset,Ze.source)),{value:xt,index:nr.index}}}}}function dt(he,be,Pe,Ze){for(var nt=void 0,xt={type:"Array",children:[]},Ft=Ut._START_,Dt=void 0;Pe<be.length;)switch(Dt=be[Pe],Ft){case Ut._START_:{if(Dt.type===U.LEFT_BRACKET)nt=Dt,Ft=Ut.OPEN_ARRAY,Pe++;else return null;break}case Ut.OPEN_ARRAY:{if(Dt.type===U.RIGHT_BRACKET)return Ze.loc&&(xt.loc=a(nt.loc.start.line,nt.loc.start.column,nt.loc.start.offset,Dt.loc.end.line,Dt.loc.end.column,Dt.loc.end.offset,Ze.source)),{value:xt,index:Pe+1};var pt=Pt(he,be,Pe,Ze);Pe=pt.index,xt.children.push(pt.value),Ft=Ut.VALUE;break}case Ut.VALUE:{if(Dt.type===U.RIGHT_BRACKET)return Ze.loc&&(xt.loc=a(nt.loc.start.line,nt.loc.start.column,nt.loc.start.offset,Dt.loc.end.line,Dt.loc.end.column,Dt.loc.end.offset,Ze.source)),{value:xt,index:Pe+1};Dt.type===U.COMMA?(Ft=Ut.COMMA,Pe++):B(k.unexpectedToken(s(he,Dt.loc.start.offset,Dt.loc.end.offset),Ze.source,Dt.loc.start.line,Dt.loc.start.column),he,Ze.source,Dt.loc.start.line,Dt.loc.start.column);break}case Ut.COMMA:{var nr=Pt(he,be,Pe,Ze);Pe=nr.index,xt.children.push(nr.value),Ft=Ut.VALUE;break}}nn(he,be,Ze)}function kt(he,be,Pe,Ze){var nt=be[Pe],xt=null;switch(nt.type){case U.STRING:{xt=tt(he.slice(nt.loc.start.offset+1,nt.loc.end.offset-1));break}case U.NUMBER:{xt=Number(nt.value);break}case U.TRUE:{xt=!0;break}case U.FALSE:{xt=!1;break}case U.NULL:{xt=null;break}default:return null}var Ft={type:"Literal",value:xt,raw:nt.value};return Ze.loc&&(Ft.loc=nt.loc),{value:Ft,index:Pe+1}}function Pt(he,be,Pe,Ze){var nt=be[Pe],xt=kt.apply(void 0,arguments)||on.apply(void 0,arguments)||dt.apply(void 0,arguments);if(xt)return xt;B(k.unexpectedToken(s(he,nt.loc.start.offset,nt.loc.end.offset),Ze.source,nt.loc.start.line,nt.loc.start.column),he,Ze.source,nt.loc.start.line,nt.loc.start.column)}var Me=function(he,be){be=Object.assign({},jt,be);var Pe=Ke(he,be);Pe.length===0&&nn(he,Pe,be);var Ze=Pt(he,Pe,0,be);if(Ze.index===Pe.length)return Ze.value;var nt=Pe[Ze.index];B(k.unexpectedToken(s(he,nt.loc.start.offset,nt.loc.end.offset),be.source,nt.loc.start.line,nt.loc.start.column),he,be.source,nt.loc.start.line,nt.loc.start.column)};return Me})})(XW);var xme=XW.exports;const wme=oa(xme);function Sn(){var e="/home/runner/work/maputnik/maputnik/src/libs/codemirror-mgl.ts",n="a994e12e3e6547813b669a430e6cb42da5d99bba",t=globalThis,r="__coverage__",i={path:"/home/runner/work/maputnik/maputnik/src/libs/codemirror-mgl.ts",statementMap:{0:{start:{line:5,column:0},end:{line:10,column:3}},1:{start:{line:6,column:2},end:{line:9,column:4}},2:{start:{line:11,column:0},end:{line:26,column:3}},3:{start:{line:12,column:16},end:{line:12,column:18}},4:{start:{line:13,column:2},end:{line:20,column:4}},5:{sta Line truncated
rgba(`+i.r+","+i.g+","+i.b+", 1) 100%)",boxShadow:this.props.shadow,borderRadius:this.props.radius},container:{position:"relative",height:"100%",margin:"0 3px"},pointer:{position:"absolute",left:i.a*100+"%"},slider:{width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",marginTop:"1px",transform:"translateX(-2px)"}},vertical:{gradient:{background:"linear-gradient(to bottom, rgba("+i.r+","+i.g+","+i.b+`, 0) 0%,
rgba(`+i.r+","+i.g+","+i.b+", 1) 100%)"},pointer:{left:0,top:i.a*100+"%"}},overwrite:OMe({},this.props.style)},{vertical:this.props.direction==="vertical",overwrite:!0});return om.default.createElement("div",{style:o.alpha},om.default.createElement("div",{style:o.checkboard},om.default.createElement(FMe.default,{renderers:this.props.renderers})),om.default.createElement("div",{style:o.gradient}),om.default.createElement("div",{style:o.container,ref:function(a){return r.container=a},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},om.default.createElement("div",{style:o.pointer},this.props.pointer?om.default.createElement(this.props.pointer,this.props):om.default.createElement("div",{style:o.slider}))))}}]),n}(iO.PureComponent||iO.Component);fb.default=RMe;var pb={};Object.defineProperty(pb,"__esModule",{value:!0});pb.EditableInput=void 0;var zMe=function(){function e(n,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}}return function(n,t,r){return t&&e(n.prototype,t),r&&e(n,r),n}}(),oO=Sr,sS=aG(oO),jMe=js,WMe=aG(jMe);function aG(e){return e&&e.__esModule?e:{default:e}}function NMe(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function GMe(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function QMe(e,n){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&(typeof n=="object"||typeof n=="function")?n:e}function $Me(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof n);e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(e,n):e.__proto__=n)}var YMe=1,sG=38,qMe=40,VMe=[sG,qMe],HMe=function(n){return VMe.indexOf(n)>-1},ZMe=function(n){return Number(String(n).replace(/%/g,""))},XMe=1,JMe=pb.EditableInput=function(e){$Me(n,e);function n(t){GMe(this,n);var r=QMe(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));return r.handleBlur=function(){r.state.blurValue&&r.setState({value:r.state.blurValue,blurValue:null})},r.handleChange=function(i){r.setUpdatedValue(i.target.value,i)},r.handleKeyDown=function(i){var o=ZMe(i.target.value);if(!isNaN(o)&&HMe(i.keyCode)){var s=r.getArrowOffset(),a=i.keyCode===sG?o+s:o-s;r.setUpdatedValue(a,i)}},r.handleDrag=function(i){if(r.props.dragLabel){var o=Math.round(r.props.value+i.movementX);o>=0&&o<=r.props.dragMax&&r.props.onChange&&r.props.onChange(r.getValueObjectWithLabel(o),i)}},r.handleMouseDown=function(i){r.props.dragLabel&&(i.preventDefault(),r.handleDrag(i),window.addEventListener("mousemove",r.handleDrag),window.addEventListener("mouseup",r.handleMouseUp))},r.handleMouseUp=function(){r.unbindEventListeners()},r.unbindEventListeners=function(){window.removeEventListener("mousemove",r.handleDrag),window.removeEventListener("mouseup",r.handleMouseUp)},r.state={value:String(t.value).toUpperCase(),blurValue:String(t.value).toUpperCase()},r.inputId="rc-editable-input-"+XMe++,r}return zMe(n,[{key:"componentDidUpdate",value:function(r,i){this.props.value!==this.state.value&&(r.value!==this.props.value||i.value!==this.state.value)&&(this.input===document.activeElement?this.setState({blurValue:String(this.props.value).toUpperCase()}):this.setState({value:String(this.props.value).toUpperCase(),blurValue:!this.state.blurValue&&String(this.props.value).toUpperCase()}))}},{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"getValueObjectWithLabel",value:function(r){return NMe({},this.props.label,r)}},{key:"getArrowOffset",value:function(){return this.props.arrowOffset||YMe}},{key:"setUpdatedValue",value:function(r,i){var o=this.props.label?this.getValueObjectWithLabel(r):r;this.props.onChange&&this.props.onChange(o,i),this.setState({value:r})}},{key:"render",value:function(){var r=this,i=(0,WMe.default)({default:{wrap:{position:"relative"}},"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":!0},this.props);return sS.default.createElement("div",{style:i.wrap},sS.default.createElement("input",{id:this.inputId,style:i.input,ref:function(s){return r.input=s},value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,spellCheck:"false"}),this.props.label&&!this.props.hideLabel?sS.default.createElement("label",{htmlFor:this.inputId,style:i.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),n}(oO.PureComponent||oO.Component);pb.default=JMe;var mb= Line truncated
rgba(`+i.r+","+i.g+","+i.b+", 1) 100%)"},pointer:{left:0,top:i.a*100+"%"}},overwrite:EMe({},this.props.style)},{vertical:this.props.direction==="vertical",overwrite:!0});return im.default.createElement("div",{style:o.alpha},im.default.createElement("div",{style:o.checkboard},im.default.createElement(PMe.default,{renderers:this.props.renderers})),im.default.createElement("div",{style:o.gradient}),im.default.createElement("div",{style:o.container,ref:function(a){return r.container=a},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},im.default.createElement("div",{style:o.pointer},this.props.pointer?im.default.createElement(this.props.pointer,this.props):im.default.createElement("div",{style:o.slider}))))}}]),n}(oO.PureComponent||oO.Component);fb.default=UMe;var pb={};Object.defineProperty(pb,"__esModule",{value:!0});pb.EditableInput=void 0;var RMe=function(){function e(n,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}}return function(n,t,r){return t&&e(n.prototype,t),r&&e(n,r),n}}(),aO=Sr,lS=sG(aO),zMe=js,jMe=sG(zMe);function sG(e){return e&&e.__esModule?e:{default:e}}function WMe(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function NMe(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function GMe(e,n){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&(typeof n=="object"||typeof n=="function")?n:e}function QMe(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof n);e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(e,n):e.__proto__=n)}var $Me=1,lG=38,YMe=40,qMe=[lG,YMe],VMe=function(n){return qMe.indexOf(n)>-1},HMe=function(n){return Number(String(n).replace(/%/g,""))},ZMe=1,XMe=pb.EditableInput=function(e){QMe(n,e);function n(t){NMe(this,n);var r=GMe(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));return r.handleBlur=function(){r.state.blurValue&&r.setState({value:r.state.blurValue,blurValue:null})},r.handleChange=function(i){r.setUpdatedValue(i.target.value,i)},r.handleKeyDown=function(i){var o=HMe(i.target.value);if(!isNaN(o)&&VMe(i.keyCode)){var s=r.getArrowOffset(),a=i.keyCode===lG?o+s:o-s;r.setUpdatedValue(a,i)}},r.handleDrag=function(i){if(r.props.dragLabel){var o=Math.round(r.props.value+i.movementX);o>=0&&o<=r.props.dragMax&&r.props.onChange&&r.props.onChange(r.getValueObjectWithLabel(o),i)}},r.handleMouseDown=function(i){r.props.dragLabel&&(i.preventDefault(),r.handleDrag(i),window.addEventListener("mousemove",r.handleDrag),window.addEventListener("mouseup",r.handleMouseUp))},r.handleMouseUp=function(){r.unbindEventListeners()},r.unbindEventListeners=function(){window.removeEventListener("mousemove",r.handleDrag),window.removeEventListener("mouseup",r.handleMouseUp)},r.state={value:String(t.value).toUpperCase(),blurValue:String(t.value).toUpperCase()},r.inputId="rc-editable-input-"+ZMe++,r}return RMe(n,[{key:"componentDidUpdate",value:function(r,i){this.props.value!==this.state.value&&(r.value!==this.props.value||i.value!==this.state.value)&&(this.input===document.activeElement?this.setState({blurValue:String(this.props.value).toUpperCase()}):this.setState({value:String(this.props.value).toUpperCase(),blurValue:!this.state.blurValue&&String(this.props.value).toUpperCase()}))}},{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"getValueObjectWithLabel",value:function(r){return WMe({},this.props.label,r)}},{key:"getArrowOffset",value:function(){return this.props.arrowOffset||$Me}},{key:"setUpdatedValue",value:function(r,i){var o=this.props.label?this.getValueObjectWithLabel(r):r;this.props.onChange&&this.props.onChange(o,i),this.setState({value:r})}},{key:"render",value:function(){var r=this,i=(0,jMe.default)({default:{wrap:{position:"relative"}},"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":!0},this.props);return lS.default.createElement("div",{style:i.wrap},lS.default.createElement("input",{id:this.inputId,style:i.input,ref:function(s){return r.input=s},value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,spellCheck:"false"}),this.props.label&&!this.props.hideLabel?lS.default.createElement("label",{htmlFor:this.inputId,style:i.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),n}(aO.PureComponent||aO.Component);pb.default=XMe;var mb= Line truncated
.hue-horizontal {
background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0
33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);
@@ -760,7 +760,7 @@ Expecting `+Ke.join(", ")+", got '"+this.terminals_[re]+"'":rt="Parse error on l
background: -webkit-linear-gradient(to top, #f00 0%, #ff0 17%,
#0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);
}
`),gg.default.createElement("div",{style:s.pointer},this.props.pointer?gg.default.createElement(this.props.pointer,this.props):gg.default.createElement("div",{style:s.slider}))))}}]),n}(aO.PureComponent||aO.Component);mb.default=lSe;var gb={};Object.defineProperty(gb,"__esModule",{value:!0});gb.Raised=void 0;var uSe=Sr,lS=tw(uSe),ASe=fh,Hx=tw(ASe),cSe=js,dSe=tw(cSe),hSe=nG,fSe=tw(hSe);function tw(e){return e&&e.__esModule?e:{default:e}}var q8=gb.Raised=function(n){var t=n.zDepth,r=n.radius,i=n.background,o=n.children,s=n.styles,a=s===void 0?{}:s,h=(0,dSe.default)((0,fSe.default)({default:{wrap:{position:"relative",display:"inline-block"},content:{position:"relative"},bg:{absolute:"0px 0px 0px 0px",boxShadow:"0 "+t+"px "+t*4+"px rgba(0,0,0,.24)",borderRadius:r,background:i}},"zDepth-0":{bg:{boxShadow:"none"}},"zDepth-1":{bg:{boxShadow:"0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16)"}},"zDepth-2":{bg:{boxShadow:"0 6px 20px rgba(0,0,0,.19), 0 8px 17px rgba(0,0,0,.2)"}},"zDepth-3":{bg:{boxShadow:"0 17px 50px rgba(0,0,0,.19), 0 12px 15px rgba(0,0,0,.24)"}},"zDepth-4":{bg:{boxShadow:"0 25px 55px rgba(0,0,0,.21), 0 16px 28px rgba(0,0,0,.22)"}},"zDepth-5":{bg:{boxShadow:"0 40px 77px rgba(0,0,0,.22), 0 27px 24px rgba(0,0,0,.2)"}},square:{bg:{borderRadius:"0"}},circle:{bg:{borderRadius:"50%"}}},a),{"zDepth-1":t===1});return lS.default.createElement("div",{style:h.wrap},lS.default.createElement("div",{style:h.bg}),lS.default.createElement("div",{style:h.content},o))};q8.propTypes={background:Hx.default.string,zDepth:Hx.default.oneOf([0,1,2,3,4,5]),radius:Hx.default.number,styles:Hx.default.object};q8.defaultProps={background:"#fff",zDepth:1,radius:2,styles:{}};gb.default=q8;var yb={},pSe=mh,mSe=function(){return pSe.Date.now()},gSe=mSe,ySe=/\s/;function vSe(e){for(var n=e.length;n--&&ySe.test(e.charAt(n)););return n}var _Se=vSe,CSe=_Se,bSe=/^\s+/;function xSe(e){return e&&e.slice(0,CSe(e)+1).replace(bSe,"")}var wSe=xSe,MSe=wSe,fP=Ed,SSe=Z5,pP=NaN,ESe=/^[-+]0x[0-9a-f]+$/i,OSe=/^0b[01]+$/i,BSe=/^0o[0-7]+$/i,kSe=parseInt;function ISe(e){if(typeof e=="number")return e;if(SSe(e))return pP;if(fP(e)){var n=typeof e.valueOf=="function"?e.valueOf():e;e=fP(n)?n+"":n}if(typeof e!="string")return e===0?e:+e;e=MSe(e);var t=OSe.test(e);return t||BSe.test(e)?kSe(e.slice(2),t?2:8):ESe.test(e)?pP:+e}var TSe=ISe,KSe=Ed,uS=gSe,mP=TSe,PSe="Expected a function",FSe=Math.max,DSe=Math.min;function LSe(e,n,t){var r,i,o,s,a,h,g=0,C=!1,B=!1,k=!0;if(typeof e!="function")throw new TypeError(PSe);n=mP(n)||0,KSe(t)&&(C=!!t.leading,B="maxWait"in t,o=B?FSe(mP(t.maxWait)||0,n):o,k="trailing"in t?!!t.trailing:k);function P(ae){var se=r,ye=i;return r=i=void 0,g=ae,s=e.apply(ye,se),s}function U(ae){return g=ae,a=setTimeout(Q,n),C?P(ae):s}function Z(ae){var se=ae-h,ye=ae-g,De=n-se;return B?DSe(De,o-ye):De}function W(ae){var se=ae-h,ye=ae-g;return h===void 0||se>=n||se<0||B&&ye>=o}function Q(){var ae=uS();if(W(ae))return q(ae);a=setTimeout(Q,Z(ae))}function q(ae){return a=void 0,k&&r?P(ae):(r=i=void 0,s)}function oe(){a!==void 0&&clearTimeout(a),g=0,r=h=i=a=void 0}function re(){return a===void 0?s:q(uS())}function Ae(){var ae=uS(),se=W(ae);if(r=arguments,i=this,h=ae,se){if(a===void 0)return U(h);if(B)return clearTimeout(a),a=setTimeout(Q,n),P(h)}return a===void 0&&(a=setTimeout(Q,n)),s}return Ae.cancel=oe,Ae.flush=re,Ae}var uG=LSe,USe=uG,RSe=Ed,zSe="Expected a function";function jSe(e,n,t){var r=!0,i=!0;if(typeof e!="function")throw new TypeError(zSe);return RSe(t)&&(r="leading"in t?!!t.leading:r,i="trailing"in t?!!t.trailing:i),USe(e,n,{leading:r,maxWait:n,trailing:i})}var WSe=jSe,V8={};Object.defineProperty(V8,"__esModule",{value:!0});V8.calculateChange=function(n,t,r){var i=r.getBoundingClientRect(),o=i.width,s=i.height,a=typeof n.pageX=="number"?n.pageX:n.touches[0].pageX,h=typeof n.pageY=="number"?n.pageY:n.touches[0].pageY,g=a-(r.getBoundingClientRect().left+window.pageXOffset),C=h-(r.getBoundingClientRect().top+window.pageYOffset);g<0?g=0:g>o&&(g=o),C<0?C=0:C>s&&(C=s);var B=g/o,k=1-C/s;return{h:t.h,s:B,v:k,a:t.a,source:"hsv"}};Object.defineProperty(yb,"__esModule",{value:!0});yb.Saturation=void 0;var NSe=function(){function e(n,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}}return function(n,t,r){return t&&e(n.prototype,t),r&&e(n,r),n}}(),sO=Sr,w0=H8(sO),GSe=js,QSe=H8(GSe),$Se=WSe,YSe=H8($Se),qSe=V8,VSe=HSe(qSe);function HSe(e){if(e&&e.__esModule)return e;var n={};if(e!=null)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t]);return n.default=e,n}function H8(e){return e&&e.__esModule?e:{default:e}}function ZSe(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function XSe(e,n){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&(typeof n=="object"||typeof n=="function")?n:e}function JSe(e,n){if(typeof n!="function"&&n!==null)th Line truncated
`),gg.default.createElement("div",{style:s.pointer},this.props.pointer?gg.default.createElement(this.props.pointer,this.props):gg.default.createElement("div",{style:s.slider}))))}}]),n}(sO.PureComponent||sO.Component);mb.default=sSe;var gb={};Object.defineProperty(gb,"__esModule",{value:!0});gb.Raised=void 0;var lSe=Sr,uS=tw(lSe),uSe=hh,Hx=tw(uSe),ASe=js,cSe=tw(ASe),dSe=rG,hSe=tw(dSe);function tw(e){return e&&e.__esModule?e:{default:e}}var V8=gb.Raised=function(n){var t=n.zDepth,r=n.radius,i=n.background,o=n.children,s=n.styles,a=s===void 0?{}:s,h=(0,cSe.default)((0,hSe.default)({default:{wrap:{position:"relative",display:"inline-block"},content:{position:"relative"},bg:{absolute:"0px 0px 0px 0px",boxShadow:"0 "+t+"px "+t*4+"px rgba(0,0,0,.24)",borderRadius:r,background:i}},"zDepth-0":{bg:{boxShadow:"none"}},"zDepth-1":{bg:{boxShadow:"0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16)"}},"zDepth-2":{bg:{boxShadow:"0 6px 20px rgba(0,0,0,.19), 0 8px 17px rgba(0,0,0,.2)"}},"zDepth-3":{bg:{boxShadow:"0 17px 50px rgba(0,0,0,.19), 0 12px 15px rgba(0,0,0,.24)"}},"zDepth-4":{bg:{boxShadow:"0 25px 55px rgba(0,0,0,.21), 0 16px 28px rgba(0,0,0,.22)"}},"zDepth-5":{bg:{boxShadow:"0 40px 77px rgba(0,0,0,.22), 0 27px 24px rgba(0,0,0,.2)"}},square:{bg:{borderRadius:"0"}},circle:{bg:{borderRadius:"50%"}}},a),{"zDepth-1":t===1});return uS.default.createElement("div",{style:h.wrap},uS.default.createElement("div",{style:h.bg}),uS.default.createElement("div",{style:h.content},o))};V8.propTypes={background:Hx.default.string,zDepth:Hx.default.oneOf([0,1,2,3,4,5]),radius:Hx.default.number,styles:Hx.default.object};V8.defaultProps={background:"#fff",zDepth:1,radius:2,styles:{}};gb.default=V8;var yb={},fSe=ph,pSe=function(){return fSe.Date.now()},mSe=pSe,gSe=/\s/;function ySe(e){for(var n=e.length;n--&&gSe.test(e.charAt(n)););return n}var vSe=ySe,_Se=vSe,CSe=/^\s+/;function bSe(e){return e&&e.slice(0,_Se(e)+1).replace(CSe,"")}var xSe=bSe,wSe=xSe,mP=Ed,MSe=Z5,gP=NaN,SSe=/^[-+]0x[0-9a-f]+$/i,ESe=/^0b[01]+$/i,OSe=/^0o[0-7]+$/i,BSe=parseInt;function kSe(e){if(typeof e=="number")return e;if(MSe(e))return gP;if(mP(e)){var n=typeof e.valueOf=="function"?e.valueOf():e;e=mP(n)?n+"":n}if(typeof e!="string")return e===0?e:+e;e=wSe(e);var t=ESe.test(e);return t||OSe.test(e)?BSe(e.slice(2),t?2:8):SSe.test(e)?gP:+e}var ISe=kSe,TSe=Ed,AS=mSe,yP=ISe,KSe="Expected a function",PSe=Math.max,FSe=Math.min;function DSe(e,n,t){var r,i,o,s,a,h,g=0,C=!1,B=!1,k=!0;if(typeof e!="function")throw new TypeError(KSe);n=yP(n)||0,TSe(t)&&(C=!!t.leading,B="maxWait"in t,o=B?PSe(yP(t.maxWait)||0,n):o,k="trailing"in t?!!t.trailing:k);function P(ae){var se=r,ye=i;return r=i=void 0,g=ae,s=e.apply(ye,se),s}function U(ae){return g=ae,a=setTimeout(Q,n),C?P(ae):s}function Z(ae){var se=ae-h,ye=ae-g,De=n-se;return B?FSe(De,o-ye):De}function W(ae){var se=ae-h,ye=ae-g;return h===void 0||se>=n||se<0||B&&ye>=o}function Q(){var ae=AS();if(W(ae))return q(ae);a=setTimeout(Q,Z(ae))}function q(ae){return a=void 0,k&&r?P(ae):(r=i=void 0,s)}function oe(){a!==void 0&&clearTimeout(a),g=0,r=h=i=a=void 0}function re(){return a===void 0?s:q(AS())}function Ae(){var ae=AS(),se=W(ae);if(r=arguments,i=this,h=ae,se){if(a===void 0)return U(h);if(B)return clearTimeout(a),a=setTimeout(Q,n),P(h)}return a===void 0&&(a=setTimeout(Q,n)),s}return Ae.cancel=oe,Ae.flush=re,Ae}var AG=DSe,LSe=AG,USe=Ed,RSe="Expected a function";function zSe(e,n,t){var r=!0,i=!0;if(typeof e!="function")throw new TypeError(RSe);return USe(t)&&(r="leading"in t?!!t.leading:r,i="trailing"in t?!!t.trailing:i),LSe(e,n,{leading:r,maxWait:n,trailing:i})}var jSe=zSe,H8={};Object.defineProperty(H8,"__esModule",{value:!0});H8.calculateChange=function(n,t,r){var i=r.getBoundingClientRect(),o=i.width,s=i.height,a=typeof n.pageX=="number"?n.pageX:n.touches[0].pageX,h=typeof n.pageY=="number"?n.pageY:n.touches[0].pageY,g=a-(r.getBoundingClientRect().left+window.pageXOffset),C=h-(r.getBoundingClientRect().top+window.pageYOffset);g<0?g=0:g>o&&(g=o),C<0?C=0:C>s&&(C=s);var B=g/o,k=1-C/s;return{h:t.h,s:B,v:k,a:t.a,source:"hsv"}};Object.defineProperty(yb,"__esModule",{value:!0});yb.Saturation=void 0;var WSe=function(){function e(n,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}}return function(n,t,r){return t&&e(n.prototype,t),r&&e(n,r),n}}(),lO=Sr,w0=Z8(lO),NSe=js,GSe=Z8(NSe),QSe=jSe,$Se=Z8(QSe),YSe=H8,qSe=VSe(YSe);function VSe(e){if(e&&e.__esModule)return e;var n={};if(e!=null)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t]);return n.default=e,n}function Z8(e){return e&&e.__esModule?e:{default:e}}function HSe(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function ZSe(e,n){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&(typeof n=="object"||typeof n=="function")?n:e}function XSe(e,n){if(typeof n!="function"&&n!==null)th Line truncated
0 0 1px 2px rgba(0,0,0,.4)`,borderRadius:"50%",cursor:"hand",transform:"translate(-2px, -2px)"}},custom:{color:o,white:s,black:a,pointer:h,circle:g}},{custom:!!this.props.style});return w0.default.createElement("div",{style:C.color,ref:function(k){return r.container=k},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},w0.default.createElement("style",null,`
.saturation-white {
background: -webkit-linear-gradient(to right, #fff, rgba(255,255,255,0));
@@ -770,14 +770,14 @@ Expecting `+Ke.join(", ")+", got '"+this.terminals_[re]+"'":rt="Parse error on l
background: -webkit-linear-gradient(to top, #000, rgba(0,0,0,0));
background: linear-gradient(to top, #000, rgba(0,0,0,0));
}
`),w0.default.createElement("div",{style:C.white,className:"saturation-white"},w0.default.createElement("div",{style:C.black,className:"saturation-black"}),w0.default.createElement("div",{style:C.pointer},this.props.pointer?w0.default.createElement(this.props.pointer,this.props):w0.default.createElement("div",{style:C.circle}))))}}]),n}(sO.PureComponent||sO.Component);yb.default=e6e;var vb={},gA={},t6e=zN,n6e=RN,r6e=vN,i6e=jc;function o6e(e,n){var t=i6e(e)?t6e:n6e;return t(e,r6e(n))}var a6e=o6e,s6e=a6e,AG={exports:{}};(function(e,n){(function(t,r){e.exports=r()})(dh,function(){function t(Me){"@babel/helpers - typeof";return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(he){return typeof he}:function(he){return he&&typeof Symbol=="function"&&he.constructor===Symbol&&he!==Symbol.prototype?"symbol":typeof he},t(Me)}var r=/^\s+/,i=/\s+$/;function o(Me,he){if(Me=Me||"",he=he||{},Me instanceof o)return Me;if(!(this instanceof o))return new o(Me,he);var be=s(Me);this._originalInput=Me,this._r=be.r,this._g=be.g,this._b=be.b,this._a=be.a,this._roundA=Math.round(100*this._a)/100,this._format=he.format||be.format,this._gradientType=he.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=be.ok}o.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var he=this.toRgb();return(he.r*299+he.g*587+he.b*114)/1e3},getLuminance:function(){var he=this.toRgb(),be,Pe,Ze,nt,xt,Ft;return be=he.r/255,Pe=he.g/255,Ze=he.b/255,be<=.03928?nt=be/12.92:nt=Math.pow((be+.055)/1.055,2.4),Pe<=.03928?xt=Pe/12.92:xt=Math.pow((Pe+.055)/1.055,2.4),Ze<=.03928?Ft=Ze/12.92:Ft=Math.pow((Ze+.055)/1.055,2.4),.2126*nt+.7152*xt+.0722*Ft},setAlpha:function(he){return this._a=rt(he),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var he=C(this._r,this._g,this._b);return{h:he.h*360,s:he.s,v:he.v,a:this._a}},toHsvString:function(){var he=C(this._r,this._g,this._b),be=Math.round(he.h*360),Pe=Math.round(he.s*100),Ze=Math.round(he.v*100);return this._a==1?"hsv("+be+", "+Pe+"%, "+Ze+"%)":"hsva("+be+", "+Pe+"%, "+Ze+"%, "+this._roundA+")"},toHsl:function(){var he=h(this._r,this._g,this._b);return{h:he.h*360,s:he.s,l:he.l,a:this._a}},toHslString:function(){var he=h(this._r,this._g,this._b),be=Math.round(he.h*360),Pe=Math.round(he.s*100),Ze=Math.round(he.l*100);return this._a==1?"hsl("+be+", "+Pe+"%, "+Ze+"%)":"hsla("+be+", "+Pe+"%, "+Ze+"%, "+this._roundA+")"},toHex:function(he){return k(this._r,this._g,this._b,he)},toHexString:function(he){return"#"+this.toHex(he)},toHex8:function(he){return P(this._r,this._g,this._b,this._a,he)},toHex8String:function(he){return"#"+this.toHex8(he)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(_e(this._r,255)*100)+"%",g:Math.round(_e(this._g,255)*100)+"%",b:Math.round(_e(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+Math.round(_e(this._r,255)*100)+"%, "+Math.round(_e(this._g,255)*100)+"%, "+Math.round(_e(this._b,255)*100)+"%)":"rgba("+Math.round(_e(this._r,255)*100)+"%, "+Math.round(_e(this._g,255)*100)+"%, "+Math.round(_e(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:ft[k(this._r,this._g,this._b,!0)]||!1},toFilter:function(he){var be="#"+U(this._r,this._g,this._b,this._a),Pe=be,Ze=this._gradientType?"GradientType = 1, ":"";if(he){var nt=o(he);Pe="#"+U(nt._r,nt._g,nt._b,nt._a)}return"progid:DXImageTransform.Microsoft.gradient("+Ze+"startColorstr="+be+",endColorstr="+Pe+")"},toString:function(he){var be=!!he;he=he||this._format;var Pe=!1,Ze=this._a<1&&this._a>=0,nt=!be&&Ze&&(he==="hex"||he==="hex6"||he==="hex3"||he==="hex4"||he==="hex8"||he==="name");return nt?he==="name"&&this._a===0?this.toName():this.toRgbString():(he==="rgb"&&(Pe=this.toRgbString()),he==="prgb"&&(Pe=this.toPercentageRgbString()),(he==="hex"||he==="hex6")&&(Pe=this.toHexString()),he==="hex3"&&(Pe=this.toHexString(!0)),he==="hex4"&&(Pe=this.toHex8String(!0)),he==="hex8"&&(Pe=this.toHex8String()),he==="name"&&(Pe=this.toName()),he==="hsl"&&(Pe=this.toHslString()),he==="hsv"&&(Pe=this.toHsvString()),Pe||this.toHexString())},clone:function(){return o(this.toString())},_applyModification:function(he,be){var Pe=he.apply(null,[this].concat([].slice.call(be)));return this._r=Pe._r,this._g=Pe._g,this._b=Pe._b,this.setAlpha(Pe._a),this},lighten:function(){return this._ Line truncated
`),w0.default.createElement("div",{style:C.white,className:"saturation-white"},w0.default.createElement("div",{style:C.black,className:"saturation-black"}),w0.default.createElement("div",{style:C.pointer},this.props.pointer?w0.default.createElement(this.props.pointer,this.props):w0.default.createElement("div",{style:C.circle}))))}}]),n}(lO.PureComponent||lO.Component);yb.default=JSe;var vb={},gA={},e6e=jN,t6e=zN,n6e=_N,r6e=jc;function i6e(e,n){var t=r6e(e)?e6e:t6e;return t(e,n6e(n))}var o6e=i6e,a6e=o6e,cG={exports:{}};(function(e,n){(function(t,r){e.exports=r()})(ch,function(){function t(Me){"@babel/helpers - typeof";return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(he){return typeof he}:function(he){return he&&typeof Symbol=="function"&&he.constructor===Symbol&&he!==Symbol.prototype?"symbol":typeof he},t(Me)}var r=/^\s+/,i=/\s+$/;function o(Me,he){if(Me=Me||"",he=he||{},Me instanceof o)return Me;if(!(this instanceof o))return new o(Me,he);var be=s(Me);this._originalInput=Me,this._r=be.r,this._g=be.g,this._b=be.b,this._a=be.a,this._roundA=Math.round(100*this._a)/100,this._format=he.format||be.format,this._gradientType=he.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=be.ok}o.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var he=this.toRgb();return(he.r*299+he.g*587+he.b*114)/1e3},getLuminance:function(){var he=this.toRgb(),be,Pe,Ze,nt,xt,Ft;return be=he.r/255,Pe=he.g/255,Ze=he.b/255,be<=.03928?nt=be/12.92:nt=Math.pow((be+.055)/1.055,2.4),Pe<=.03928?xt=Pe/12.92:xt=Math.pow((Pe+.055)/1.055,2.4),Ze<=.03928?Ft=Ze/12.92:Ft=Math.pow((Ze+.055)/1.055,2.4),.2126*nt+.7152*xt+.0722*Ft},setAlpha:function(he){return this._a=rt(he),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var he=C(this._r,this._g,this._b);return{h:he.h*360,s:he.s,v:he.v,a:this._a}},toHsvString:function(){var he=C(this._r,this._g,this._b),be=Math.round(he.h*360),Pe=Math.round(he.s*100),Ze=Math.round(he.v*100);return this._a==1?"hsv("+be+", "+Pe+"%, "+Ze+"%)":"hsva("+be+", "+Pe+"%, "+Ze+"%, "+this._roundA+")"},toHsl:function(){var he=h(this._r,this._g,this._b);return{h:he.h*360,s:he.s,l:he.l,a:this._a}},toHslString:function(){var he=h(this._r,this._g,this._b),be=Math.round(he.h*360),Pe=Math.round(he.s*100),Ze=Math.round(he.l*100);return this._a==1?"hsl("+be+", "+Pe+"%, "+Ze+"%)":"hsla("+be+", "+Pe+"%, "+Ze+"%, "+this._roundA+")"},toHex:function(he){return k(this._r,this._g,this._b,he)},toHexString:function(he){return"#"+this.toHex(he)},toHex8:function(he){return P(this._r,this._g,this._b,this._a,he)},toHex8String:function(he){return"#"+this.toHex8(he)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(_e(this._r,255)*100)+"%",g:Math.round(_e(this._g,255)*100)+"%",b:Math.round(_e(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+Math.round(_e(this._r,255)*100)+"%, "+Math.round(_e(this._g,255)*100)+"%, "+Math.round(_e(this._b,255)*100)+"%)":"rgba("+Math.round(_e(this._r,255)*100)+"%, "+Math.round(_e(this._g,255)*100)+"%, "+Math.round(_e(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:ft[k(this._r,this._g,this._b,!0)]||!1},toFilter:function(he){var be="#"+U(this._r,this._g,this._b,this._a),Pe=be,Ze=this._gradientType?"GradientType = 1, ":"";if(he){var nt=o(he);Pe="#"+U(nt._r,nt._g,nt._b,nt._a)}return"progid:DXImageTransform.Microsoft.gradient("+Ze+"startColorstr="+be+",endColorstr="+Pe+")"},toString:function(he){var be=!!he;he=he||this._format;var Pe=!1,Ze=this._a<1&&this._a>=0,nt=!be&&Ze&&(he==="hex"||he==="hex6"||he==="hex3"||he==="hex4"||he==="hex8"||he==="name");return nt?he==="name"&&this._a===0?this.toName():this.toRgbString():(he==="rgb"&&(Pe=this.toRgbString()),he==="prgb"&&(Pe=this.toPercentageRgbString()),(he==="hex"||he==="hex6")&&(Pe=this.toHexString()),he==="hex3"&&(Pe=this.toHexString(!0)),he==="hex4"&&(Pe=this.toHex8String(!0)),he==="hex8"&&(Pe=this.toHex8String()),he==="name"&&(Pe=this.toName()),he==="hsl"&&(Pe=this.toHslString()),he==="hsv"&&(Pe=this.toHsvString()),Pe||this.toHexString())},clone:function(){return o(this.toString())},_applyModification:function(he,be){var Pe=he.apply(null,[this].concat([].slice.call(be)));return this._r=Pe._r,this._g=Pe._g,this._b=Pe._b,this.setAlpha(Pe._a),this},lighten:function(){return this._ Line truncated
<html>
<head>
<meta charset="utf-8" />
<title>${t}</title>
<meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no" />
<script src="https://unpkg.com/maplibre-gl@${UP}/dist/maplibre-gl.js"><\/script>
<link href="https://unpkg.com/maplibre-gl@${UP}/dist/maplibre-gl.css" rel="stylesheet" />
<script src="https://unpkg.com/maplibre-gl@${zP}/dist/maplibre-gl.js"><\/script>
<link href="https://unpkg.com/maplibre-gl@${zP}/dist/maplibre-gl.css" rel="stylesheet" />
<style>
body { margin: 0; padding: 0; }
#map { position: absolute; top: 0; bottom: 0; width: 100%; }
@@ -794,11 +794,11 @@ Expecting `+Ke.join(", ")+", got '"+this.terminals_[re]+"'":rt="Parse error on l
<\/script>
</body>
</html>
`),i=(Io().s[8]++,new Blob([r],{type:"text/html;charset=utf-8"})),o=(Io().s[9]++,this.exportName());Io().s[10]++,LP.saveAs(i,o+".html")}downloadStyle(){Io().f[3]++;const n=(Io().s[11]++,this.tokenizedStyle()),t=(Io().s[12]++,new Blob([n],{type:"application/json;charset=utf-8"})),r=(Io().s[13]++,this.exportName());Io().s[14]++,LP.saveAs(t,r+".json")}changeMetadataProperty(n,t){Io().f[4]++;const r=(Io().s[15]++,{...this.props.mapStyle,metadata:{...this.props.mapStyle.metadata,[n]:t}});Io().s[16]++,this.props.onStyleChanged(r)}render(){return Io().f[5]++,Io().s[17]++,N.jsx(kf,{"data-wd-key":"modal:export",isOpen:this.props.isOpen,onOpenToggle:this.props.onOpenToggle,title:"Export Style",className:"maputnik-export-modal",children:N.jsxs("section",{className:"maputnik-modal-section",children:[N.jsx("h1",{children:"Download Style"}),N.jsx("p",{children:"Download a JSON style to your computer."}),N.jsxs("div",{children:[N.jsx(sh,{label:rf.maputnik.maptiler_access_token.label,fieldSpec:rf.maputnik.maptiler_access_token,value:(Io().b[2][0]++,this.props.mapStyle.metadata||(Io().b[2][1]++,{}))["maputnik:openmaptiles_access_token"],onChange:this.changeMetadataProperty.bind(this,"maputnik:openmaptiles_access_token")}),N.jsx(sh,{label:rf.maputnik.thunderforest_access_token.label,fieldSpec:rf.maputnik.thunderforest_access_token,value:(Io().b[3][0]++,this.props.mapStyle.metadata||(Io().b[3][1]++,{}))["maputnik:thunderforest_access_token"],onChange:this.changeMetadataProperty.bind(this,"maputnik:thunderforest_access_token")})]}),N.jsxs("div",{className:"maputnik-modal-export-buttons",children:[N.jsxs(ka,{onClick:this.downloadStyle.bind(this),children:[N.jsx(R6,{}),"Download Style"]}),N.jsxs(ka,{onClick:this.downloadHtml.bind(this),children:[N.jsx(R6,{}),"Download HTML"]})]})]})})}}function w4(){var e="/home/runner/work/maputnik/maputnik/src/components/FieldDynamicArray.tsx",n="950dd35e62562a3439b74678b95f406e749c6958",t=globalThis,r="__coverage__",i={path:"/home/runner/work/maputnik/maputnik/src/components/FieldDynamicArray.tsx",statementMap:{0:{start:{line:7,column:4},end:{line:7,column:139}}},fnMap:{0:{name:"(anonymous_0)",decl:{start:{line:6,column:2},end:{line:6,column:3}},loc:{start:{line:6,column:11},end:{line:8,column:3}},line:6}},branchMap:{},s:{0:0},f:{0:0},b:{},inputSourceMap:{version:3,file:null,sources:["/home/runner/work/maputnik/maputnik/src/components/FieldDynamicArray.tsx"],names:[],mappings:"AAWM;AAXN,OAAO,WAAW;AAClB,OAAO,uBAA2E;AAClF,OAAO,cAAc;AAMrB,qBAAqB,0BAA0B,MAAM,UAAkC;AAAA,EACrF,SAAS;AACP,WAAO,oBAAC,YAAS,OAAO,KAAK,MAAM,OACjC,8BAAC,qBAAmB,GAAG,KAAK,OAAO,GACrC;AAAA,EACF;AACF;"},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"950dd35e62562a3439b74678b95f406e749c6958"},o=t[r]||(t[r]={});(!o[e]||o[e].hash!==n)&&(o[e]=i);var s=o[e];return w4=function(){return s},s}w4();class FG extends xn.Component{render(){return w4().f[0]++,w4().s[0]++,N.jsx(OC,{label:this.props.label,children:N.jsx(yG,{...this.props})})}}function M4(){var e="/home/runner/work/maputnik/maputnik/src/components/FieldCheckbox.tsx",n="a27c35e986d22656fa80c276efb67df518853ac2",t=globalThis,r="__coverage__",i={path:"/home/runner/work/maputnik/maputnik/src/components/FieldCheckbox.tsx",statementMap:{0:{start:{line:7,column:4},end:{line:7,column:132}}},fnMap:{0:{name:"(anonymous_0)",decl:{start:{line:6,column:2},end:{line:6,column:3}},loc:{start:{line:6,column:11},end:{line:8,column:3}},line:6}},branchMap:{},s:{0:0},f:{0:0},b:{},inputSourceMap:{version:3,file:null,sources:["/home/runner/work/maputnik/maputnik/src/components/FieldCheckbox.tsx"],names:[],mappings:"AAaM;AAbN,OAAO,WAAW;AAClB,OAAO,WAAW;AAClB,OAAO,mBAAyC;AAQhD,qBAAqB,sBAAsB,MAAM,UAA8B;AAAA,EAC7E,SAAS;AACP,WAAO,oBAAC,SAAM,OAAO,KAAK,MAAM,OAC9B,8BAAC,iBAAe,GAAG,KAAK,OAAO,GACjC;AAAA,EACF;AACF;"},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"a27c35e986d22656fa80c276efb67df518853ac2"},o=t[r]||(t[r]={});(!o[e]||o[e].hash!==n)&&(o[e]=i);var s=o[e];return M4=function(){return s},s}M4();class HOe extends xn.Component{render(){return M4().f[0]++,M4().s[0]++,N.jsx(Po,{label:this.props.label,children:N.jsx(ek,{...this.props})})}}function qn(){var e="/home/runner/work/maputnik/maputnik/src/components/ModalSourcesTypeEditor.tsx",n="bd3e4d09ce7131c28fb23a5fc0245fe57c891028",t=globalThis,r="__coverage__",i={path:"/home/runner/work/maputnik/maputnik/src/components/ModalSourcesTypeEditor.tsx",statementMap:{0:{start:{line:14,column:4},end:{line:28,column:9}},1:{start:{line:21,column:29},end:{line:24,column:12}},2:{start:{line:33,column:4},end:{line:36,column:7}},3:{start:{line:39,column:18},end:{line:39,column:47}},4:{start:{line:40,column:4},end:{line:49,column:6}},5:{start:{line:52,column:4},end:{line:79,column:9}},6:{start:{line:60,column:33},end:{line:63,column:12}},7:{start:{line:72,column:33},end:{line:75,column:12}},8:{start:{line:84,column:24},end:{line:91,column:5}},9:{start:{line:85,column:26},end:{line:85,column:64}},10:{start:{line:86,column:6},end:{line:8 Line truncated
`)>=0)return!1;return!0}function V7e(e,n){var t;if(e.indent===" ")t=" ";else if(typeof e.indent=="number"&&e.indent>0)t=of.call(Array(e.indent+1)," ");else return null;return{base:t,prev:of.call(Array(n+1),t)}}function mO(e,n){if(e.length===0)return"";var t=`
`+n.prev+n.base;return t+of.call(e,","+t)+`
`+n.prev}function e2(e,n){var t=pO(e),r=[];if(t){r.length=e.length;for(var i=0;i<e.length;i++)r[i]=fm(e,i)?n(e[i],e):""}var o=typeof _S=="function"?_S(e):[],s;if(Dy){s={};for(var a=0;a<o.length;a++)s["$"+o[a]]=o[a]}for(var h in e)fm(e,h)&&(t&&String(Number(h))===h&&h<e.length||Dy&&s["$"+h]instanceof Symbol||(YG.call(/[^\w$]/,h)?r.push(n(h,e)+": "+n(e[h],e)):r.push(h+": "+n(e[h],e))));if(typeof _S=="function")for(var g=0;g<o.length;g++)qG.call(e,o[g])&&r.push("["+n(o[g])+"]: "+n(e[o[g]],e));return r}var dk=k1,ov=y7e,H7e=I7e,Z7e=dk("%TypeError%"),t2=dk("%WeakMap%",!0),n2=dk("%Map%",!0),X7e=ov("WeakMap.prototype.get",!0),J7e=ov("WeakMap.prototype.set",!0),e8e=ov("WeakMap.prototype.has",!0),t8e=ov("Map.prototype.get",!0),n8e=ov("Map.prototype.set",!0),r8e=ov("Map.prototype.has",!0),hk=function(e,n){for(var t=e,r;(r=t.next)!==null;t=r)if(r.key===n)return t.next=r.next,r.next=e.next,e.next=r,r},i8e=function(e,n){var t=hk(e,n);return t&&t.value},o8e=function(e,n,t){var r=hk(e,n);r?r.value=t:e.next={key:n,next:e.next,value:t}},a8e=function(e,n){return!!hk(e,n)},s8e=function(){var n,t,r,i={assert:function(o){if(!i.has(o))throw new Z7e("Side channel does not contain "+H7e(o))},get:function(o){if(t2&&o&&(typeof o=="object"||typeof o=="function")){if(n)return X7e(n,o)}else if(n2){if(t)return t8e(t,o)}else if(r)return i8e(r,o)},has:function(o){if(t2&&o&&(typeof o=="object"||typeof o=="function")){if(n)return e8e(n,o)}else if(n2){if(t)return r8e(t,o)}else if(r)return a8e(r,o);return!1},set:function(o,s){t2&&o&&(typeof o=="object"||typeof o=="function")?(n||(n=new t2),J7e(n,o,s)):n2?(t||(t=new n2),n8e(t,o,s)):(r||(r={key:{},next:null}),o8e(r,o,s))}};return i},l8e=String.prototype.replace,u8e=/%20/g,bS={RFC1738:"RFC1738",RFC3986:"RFC3986"},fk={default:bS.RFC3986,formatters:{RFC1738:function(e){return l8e.call(e,u8e,"+")},RFC3986:function(e){return String(e)}},RFC1738:bS.RFC1738,RFC3986:bS.RFC3986},A8e=fk,xS=Object.prototype.hasOwnProperty,D0=Array.isArray,Xh=function(){for(var e=[],n=0;n<256;++n)e.push("%"+((n<16?"0":"")+n.toString(16)).toUpperCase());return e}(),c8e=function(n){for(;n.length>1;){var t=n.pop(),r=t.obj[t.prop];if(D0(r)){for(var i=[],o=0;o<r.length;++o)typeof r[o]<"u"&&i.push(r[o]);t.obj[t.prop]=i}}},JG=function(n,t){for(var r=t&&t.plainObjects?Object.create(null):{},i=0;i<n.length;++i)typeof n[i]<"u"&&(r[i]=n[i]);return r},d8e=function e(n,t,r){if(!t)return n;if(typeof t!="object"){if(D0(n))n.push(t);else if(n&&typeof n=="object")(r&&(r.plainObjects||r.allowPrototypes)||!xS.call(Object.prototype,t))&&(n[t]=!0);else return[n,t];return n}if(!n||typeof n!="object")return[n].concat(t);var i=n;return D0(n)&&!D0(t)&&(i=JG(n,r)),D0(n)&&D0(t)?(t.forEach(function(o,s){if(xS.call(n,s)){var a=n[s];a&&typeof a=="object"&&o&&typeof o=="object"?n[s]=e(a,o,r):n.push(o)}else n[s]=o}),n):Object.keys(t).reduce(function(o,s){var a=t[s];return xS.call(o,s)?o[s]=e(o[s],a,r):o[s]=a,o},i)},h8e=function(n,t){return Object.keys(t).reduce(function(r,i){return r[i]=t[i],r},n)},f8e=function(e,n,t){var r=e.replace(/\+/g," ");if(t==="iso-8859-1")return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch{return r}},p8e=function(n,t,r,i,o){if(n.length===0)return n;var s=n;if(typeof n=="symbol"?s=Symbol.prototype.toString.call(n):typeof n!="string"&&(s=String(n)),r==="iso-8859-1")return escape(s).replace(/%u[0-9a-f]{4}/gi,function(C){return"%26%23"+parseInt(C.slice(2),16)+"%3B"});for(var a="",h=0;h<s.length;++h){var g=s.charCodeAt(h);if(g===45||g===46||g===95||g===126||g>=48&&g<=57||g>=65&&g<=90||g>=97&&g<=122||o===A8e.RFC1738&&(g===40||g===41)){a+=s.charAt(h);continue}if(g<128){a=a+Xh[g];continue}if(g<2048){a=a+(Xh[192|g>>6]+Xh[128|g&63]);continue}if(g<55296||g>=57344){a=a+(Xh[224|g>>12]+Xh[128|g>>6&63]+Xh[128|g&63]);continue}h+=1,g=65536+((g&1023)<<10|s.charCodeAt(h)&1023),a+=Xh[240|g>>18]+Xh[128|g>>12&63]+Xh[128|g>>6&63]+Xh[128|g&63]}return a},m8e=function(n){for(var t=[{obj:{o:n},prop:"o"}],r=[],i=0;i<t.length;++i)for(var o=t[i],s=o.obj[o.prop],a=Object.keys(s),h=0;h<a.length;++h){var g=a[h],C=s[g];typeof C=="object"&&C!==null&&r.indexOf(C)===-1&&(t.push({obj:s,prop:g}),r.push(C))}return c8e(t),n},g8e=function(n){return Object.prototype.toString.call(n)==="[object RegExp]"},y8e=function(n){return!n||typeof n!="object"?!1:!!(n.constructor&&n.constructor.isBuffer&&n.constructor.isBuffer(n))},v8e=function(n,t){return[].concat(n,t)},_8e=function(n,t){if(D0(n)){for(var r=[],i=0;i<n.length;i+=1)r.push(t(n[i]));return r}return t(n)},eQ={arrayToObject:JG,assign:h8e,combine:v8e,compact:m8e,decode:f8e,encode:p8e,isBuffer:y8e,isRegExp:g8e,maybeMap:_8e,merge:d8e},tQ=s8e,I2=eQ,G_=fk,C8e=Object.prototype.hasOwnProperty,lF={brackets:function(n){return n+"[]"},comma:"comma",indices:function(n,t){return n+"["+t+"]"},repeat:function(n){return n}},mp=Array.isArray,b8e=Array.prototype.push,nQ=function(e,n){b8e.apply(e,mp(n)?n:[n])},x8e=Date.prototype.toISOString,uF=G_.default,Vu={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",char Line truncated
`," "],$8e=["{","}","|","\\","^","`"].concat(Q8e),yO=["'"].concat($8e),AF=["%","/","?",";","#"].concat(yO),cF=["/","?","#"],Y8e=255,dF=/^[+a-z0-9A-Z_-]{0,63}$/,q8e=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,V8e={javascript:!0,"javascript:":!0},vO={javascript:!0,"javascript:":!0},_y={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},_O=z8e;function Mb(e,n,t){if(e&&typeof e=="object"&&e instanceof Cd)return e;var r=new Cd;return r.parse(e,n,t),r}Cd.prototype.parse=function(e,n,t){if(typeof e!="string")throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var r=e.indexOf("?"),i=r!==-1&&r<e.indexOf("#")?"?":"#",o=e.split(i),s=/\\/g;o[0]=o[0].replace(s,"/"),e=o.join(i);var a=e;if(a=a.trim(),!t&&e.split("#").length===1){var h=G8e.exec(a);if(h)return this.path=a,this.href=a,this.pathname=h[1],h[2]?(this.search=h[2],n?this.query=_O.parse(this.search.substr(1)):this.query=this.search.substr(1)):n&&(this.search="",this.query={}),this}var g=W8e.exec(a);if(g){g=g[0];var C=g.toLowerCase();this.protocol=C,a=a.substr(g.length)}if(t||g||a.match(/^\/\/[^@/]+@[^@/]+/)){var B=a.substr(0,2)==="//";B&&!(g&&vO[g])&&(a=a.substr(2),this.slashes=!0)}if(!vO[g]&&(B||g&&!_y[g])){for(var k=-1,P=0;P<cF.length;P++){var U=a.indexOf(cF[P]);U!==-1&&(k===-1||U<k)&&(k=U)}var Z,W;k===-1?W=a.lastIndexOf("@"):W=a.lastIndexOf("@",k),W!==-1&&(Z=a.slice(0,W),a=a.slice(W+1),this.auth=decodeURIComponent(Z)),k=-1;for(var P=0;P<AF.length;P++){var U=a.indexOf(AF[P]);U!==-1&&(k===-1||U<k)&&(k=U)}k===-1&&(k=a.length),this.host=a.slice(0,k),a=a.slice(k),this.parseHost(),this.hostname=this.hostname||"";var Q=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!Q)for(var q=this.hostname.split(/\./),P=0,oe=q.length;P<oe;P++){var re=q[P];if(re&&!re.match(dF)){for(var Ae="",ae=0,se=re.length;ae<se;ae++)re.charCodeAt(ae)>127?Ae+="x":Ae+=re[ae];if(!Ae.match(dF)){var ye=q.slice(0,P),De=q.slice(P+1),Ne=re.match(q8e);Ne&&(ye.push(Ne[1]),De.unshift(Ne[2])),De.length&&(a="/"+De.join(".")+a),this.hostname=ye.join(".");break}}}this.hostname.length>Y8e?this.hostname="":this.hostname=this.hostname.toLowerCase(),Q||(this.hostname=j8e.toASCII(this.hostname));var et=this.port?":"+this.port:"",ft=this.hostname||"";this.host=ft+et,this.href+=this.host,Q&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),a[0]!=="/"&&(a="/"+a))}if(!V8e[C])for(var P=0,oe=yO.length;P<oe;P++){var Ke=yO[P];if(a.indexOf(Ke)!==-1){var rt=encodeURIComponent(Ke);rt===Ke&&(rt=escape(Ke)),a=a.split(Ke).join(rt)}}var _e=a.indexOf("#");_e!==-1&&(this.hash=a.substr(_e),a=a.slice(0,_e));var Ut=a.indexOf("?");if(Ut!==-1?(this.search=a.substr(Ut),this.query=a.substr(Ut+1),n&&(this.query=_O.parse(this.query)),a=a.slice(0,Ut)):n&&(this.search="",this.query={}),a&&(this.pathname=a),_y[C]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var et=this.pathname||"",jt=this.search||"";this.path=et+jt}return this.href=this.format(),this};function H8e(e){return typeof e=="string"&&(e=Mb(e)),e instanceof Cd?e.format():Cd.prototype.format.call(e)}Cd.prototype.format=function(){var e=this.auth||"";e&&(e=encodeURIComponent(e),e=e.replace(/%3A/i,":"),e+="@");var n=this.protocol||"",t=this.pathname||"",r=this.hash||"",i=!1,o="";this.host?i=e+this.host:this.hostname&&(i=e+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&typeof this.query=="object"&&Object.keys(this.query).length&&(o=_O.stringify(this.query,{arrayFormat:"repeat",addQueryPrefix:!1}));var s=this.search||o&&"?"+o||"";return n&&n.substr(-1)!==":"&&(n+=":"),this.slashes||(!n||_y[n])&&i!==!1?(i="//"+(i||""),t&&t.charAt(0)!=="/"&&(t="/"+t)):i||(i=""),r&&r.charAt(0)!=="#"&&(r="#"+r),s&&s.charAt(0)!=="?"&&(s="?"+s),t=t.replace(/[?#]/g,function(a){return encodeURIComponent(a)}),s=s.replace("#","%23"),n+i+t+s+r};function Z8e(e,n){return Mb(e,!1,!0).resolve(n)}Cd.prototype.resolve=function(e){return this.resolveObject(Mb(e,!1,!0)).format()};function X8e(e,n){return e?Mb(e,!1,!0).resolveObject(n):n}Cd.prototype.resolveObject=function(e){if(typeof e=="string"){var n=new Cd;n.parse(e,!1,!0),e=n}for(var t=new Cd,r=Object.keys(this),i=0;i<r.length;i++){var o=r[i];t[o]=this[o]}if(t.hash=e.hash,e.href==="")return t.href=t.format(),t;if(e.slashes&&!e.protocol){for(var s=Object.keys(e),a=0;a<s.length;a++){var h=s[a];h!=="protocol"&&(t[h]=e[h])}return _y[t.protocol]&&t.hostname&&!t.pathname&&(t.pathname="/",t.path=t.pathname),t.href=t.format(),t}if(e.protocol&&e.protocol!==t.protocol){if(!_y[e.protocol]){for(var g=Object.keys(e),C=0;C<g.length;C++){var B=g[C];t[B]=e[B]}return t.href=t.format(),t}if(t.protocol=e.protocol,!e.host&&!vO[e.protocol]){for(var oe=(e.pathname||"").split("/");oe.length&&!(e.host=oe.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),oe[0]!==""&&oe.unshift(""),oe.length<2&&oe.unshift(""),t.pathname=oe.join("/")}else t.pathname=e.pathname;if(t.search=e.search,t.query=e.query,t Line truncated
`),i=(Io().s[8]++,new Blob([r],{type:"text/html;charset=utf-8"})),o=(Io().s[9]++,this.exportName());Io().s[10]++,RP.saveAs(i,o+".html")}downloadStyle(){Io().f[3]++;const n=(Io().s[11]++,this.tokenizedStyle()),t=(Io().s[12]++,new Blob([n],{type:"application/json;charset=utf-8"})),r=(Io().s[13]++,this.exportName());Io().s[14]++,RP.saveAs(t,r+".json")}changeMetadataProperty(n,t){Io().f[4]++;const r=(Io().s[15]++,{...this.props.mapStyle,metadata:{...this.props.mapStyle.metadata,[n]:t}});Io().s[16]++,this.props.onStyleChanged(r)}render(){return Io().f[5]++,Io().s[17]++,N.jsx(Bf,{"data-wd-key":"modal:export",isOpen:this.props.isOpen,onOpenToggle:this.props.onOpenToggle,title:"Export Style",className:"maputnik-export-modal",children:N.jsxs("section",{className:"maputnik-modal-section",children:[N.jsx("h1",{children:"Download Style"}),N.jsx("p",{children:"Download a JSON style to your computer."}),N.jsxs("div",{children:[N.jsx(fm,{label:nf.maputnik.maptiler_access_token.label,fieldSpec:nf.maputnik.maptiler_access_token,value:(Io().b[2][0]++,this.props.mapStyle.metadata||(Io().b[2][1]++,{}))["maputnik:openmaptiles_access_token"],onChange:this.changeMetadataProperty.bind(this,"maputnik:openmaptiles_access_token")}),N.jsx(fm,{label:nf.maputnik.thunderforest_access_token.label,fieldSpec:nf.maputnik.thunderforest_access_token,value:(Io().b[3][0]++,this.props.mapStyle.metadata||(Io().b[3][1]++,{}))["maputnik:thunderforest_access_token"],onChange:this.changeMetadataProperty.bind(this,"maputnik:thunderforest_access_token")})]}),N.jsxs("div",{className:"maputnik-modal-export-buttons",children:[N.jsxs(ka,{onClick:this.downloadStyle.bind(this),children:[N.jsx(z6,{}),"Download Style"]}),N.jsxs(ka,{onClick:this.downloadHtml.bind(this),children:[N.jsx(z6,{}),"Download HTML"]})]})]})})}}function w4(){var e="/home/runner/work/maputnik/maputnik/src/components/FieldDynamicArray.tsx",n="950dd35e62562a3439b74678b95f406e749c6958",t=globalThis,r="__coverage__",i={path:"/home/runner/work/maputnik/maputnik/src/components/FieldDynamicArray.tsx",statementMap:{0:{start:{line:7,column:4},end:{line:7,column:139}}},fnMap:{0:{name:"(anonymous_0)",decl:{start:{line:6,column:2},end:{line:6,column:3}},loc:{start:{line:6,column:11},end:{line:8,column:3}},line:6}},branchMap:{},s:{0:0},f:{0:0},b:{},inputSourceMap:{version:3,file:null,sources:["/home/runner/work/maputnik/maputnik/src/components/FieldDynamicArray.tsx"],names:[],mappings:"AAWM;AAXN,OAAO,WAAW;AAClB,OAAO,uBAA2E;AAClF,OAAO,cAAc;AAMrB,qBAAqB,0BAA0B,MAAM,UAAkC;AAAA,EACrF,SAAS;AACP,WAAO,oBAAC,YAAS,OAAO,KAAK,MAAM,OACjC,8BAAC,qBAAmB,GAAG,KAAK,OAAO,GACrC;AAAA,EACF;AACF;"},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"950dd35e62562a3439b74678b95f406e749c6958"},o=t[r]||(t[r]={});(!o[e]||o[e].hash!==n)&&(o[e]=i);var s=o[e];return w4=function(){return s},s}w4();class DG extends xn.Component{render(){return w4().f[0]++,w4().s[0]++,N.jsx(OC,{label:this.props.label,children:N.jsx(vG,{...this.props})})}}function M4(){var e="/home/runner/work/maputnik/maputnik/src/components/FieldCheckbox.tsx",n="a27c35e986d22656fa80c276efb67df518853ac2",t=globalThis,r="__coverage__",i={path:"/home/runner/work/maputnik/maputnik/src/components/FieldCheckbox.tsx",statementMap:{0:{start:{line:7,column:4},end:{line:7,column:132}}},fnMap:{0:{name:"(anonymous_0)",decl:{start:{line:6,column:2},end:{line:6,column:3}},loc:{start:{line:6,column:11},end:{line:8,column:3}},line:6}},branchMap:{},s:{0:0},f:{0:0},b:{},inputSourceMap:{version:3,file:null,sources:["/home/runner/work/maputnik/maputnik/src/components/FieldCheckbox.tsx"],names:[],mappings:"AAaM;AAbN,OAAO,WAAW;AAClB,OAAO,WAAW;AAClB,OAAO,mBAAyC;AAQhD,qBAAqB,sBAAsB,MAAM,UAA8B;AAAA,EAC7E,SAAS;AACP,WAAO,oBAAC,SAAM,OAAO,KAAK,MAAM,OAC9B,8BAAC,iBAAe,GAAG,KAAK,OAAO,GACjC;AAAA,EACF;AACF;"},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"a27c35e986d22656fa80c276efb67df518853ac2"},o=t[r]||(t[r]={});(!o[e]||o[e].hash!==n)&&(o[e]=i);var s=o[e];return M4=function(){return s},s}M4();class VOe extends xn.Component{render(){return M4().f[0]++,M4().s[0]++,N.jsx(Vo,{label:this.props.label,children:N.jsx(tk,{...this.props})})}}function qn(){var e="/home/runner/work/maputnik/maputnik/src/components/ModalSourcesTypeEditor.tsx",n="bd3e4d09ce7131c28fb23a5fc0245fe57c891028",t=globalThis,r="__coverage__",i={path:"/home/runner/work/maputnik/maputnik/src/components/ModalSourcesTypeEditor.tsx",statementMap:{0:{start:{line:14,column:4},end:{line:28,column:9}},1:{start:{line:21,column:29},end:{line:24,column:12}},2:{start:{line:33,column:4},end:{line:36,column:7}},3:{start:{line:39,column:18},end:{line:39,column:47}},4:{start:{line:40,column:4},end:{line:49,column:6}},5:{start:{line:52,column:4},end:{line:79,column:9}},6:{start:{line:60,column:33},end:{line:63,column:12}},7:{start:{line:72,column:33},end:{line:75,column:12}},8:{start:{line:84,column:24},end:{line:91,column:5}},9:{start:{line:85,column:26},end:{line:85,column:64}},10:{start:{line:86,column:6},end:{line:8 Line truncated
`)>=0)return!1;return!0}function q7e(e,n){var t;if(e.indent===" ")t=" ";else if(typeof e.indent=="number"&&e.indent>0)t=rf.call(Array(e.indent+1)," ");else return null;return{base:t,prev:rf.call(Array(n+1),t)}}function gO(e,n){if(e.length===0)return"";var t=`
`+n.prev+n.base;return t+rf.call(e,","+t)+`
`+n.prev}function e2(e,n){var t=mO(e),r=[];if(t){r.length=e.length;for(var i=0;i<e.length;i++)r[i]=hm(e,i)?n(e[i],e):""}var o=typeof CS=="function"?CS(e):[],s;if(Dy){s={};for(var a=0;a<o.length;a++)s["$"+o[a]]=o[a]}for(var h in e)hm(e,h)&&(t&&String(Number(h))===h&&h<e.length||Dy&&s["$"+h]instanceof Symbol||(qG.call(/[^\w$]/,h)?r.push(n(h,e)+": "+n(e[h],e)):r.push(h+": "+n(e[h],e))));if(typeof CS=="function")for(var g=0;g<o.length;g++)VG.call(e,o[g])&&r.push("["+n(o[g])+"]: "+n(e[o[g]],e));return r}var hk=k1,ov=g7e,V7e=k7e,H7e=hk("%TypeError%"),t2=hk("%WeakMap%",!0),n2=hk("%Map%",!0),Z7e=ov("WeakMap.prototype.get",!0),X7e=ov("WeakMap.prototype.set",!0),J7e=ov("WeakMap.prototype.has",!0),e8e=ov("Map.prototype.get",!0),t8e=ov("Map.prototype.set",!0),n8e=ov("Map.prototype.has",!0),fk=function(e,n){for(var t=e,r;(r=t.next)!==null;t=r)if(r.key===n)return t.next=r.next,r.next=e.next,e.next=r,r},r8e=function(e,n){var t=fk(e,n);return t&&t.value},i8e=function(e,n,t){var r=fk(e,n);r?r.value=t:e.next={key:n,next:e.next,value:t}},o8e=function(e,n){return!!fk(e,n)},a8e=function(){var n,t,r,i={assert:function(o){if(!i.has(o))throw new H7e("Side channel does not contain "+V7e(o))},get:function(o){if(t2&&o&&(typeof o=="object"||typeof o=="function")){if(n)return Z7e(n,o)}else if(n2){if(t)return e8e(t,o)}else if(r)return r8e(r,o)},has:function(o){if(t2&&o&&(typeof o=="object"||typeof o=="function")){if(n)return J7e(n,o)}else if(n2){if(t)return n8e(t,o)}else if(r)return o8e(r,o);return!1},set:function(o,s){t2&&o&&(typeof o=="object"||typeof o=="function")?(n||(n=new t2),X7e(n,o,s)):n2?(t||(t=new n2),t8e(t,o,s)):(r||(r={key:{},next:null}),i8e(r,o,s))}};return i},s8e=String.prototype.replace,l8e=/%20/g,xS={RFC1738:"RFC1738",RFC3986:"RFC3986"},pk={default:xS.RFC3986,formatters:{RFC1738:function(e){return s8e.call(e,l8e,"+")},RFC3986:function(e){return String(e)}},RFC1738:xS.RFC1738,RFC3986:xS.RFC3986},u8e=pk,wS=Object.prototype.hasOwnProperty,D0=Array.isArray,Zh=function(){for(var e=[],n=0;n<256;++n)e.push("%"+((n<16?"0":"")+n.toString(16)).toUpperCase());return e}(),A8e=function(n){for(;n.length>1;){var t=n.pop(),r=t.obj[t.prop];if(D0(r)){for(var i=[],o=0;o<r.length;++o)typeof r[o]<"u"&&i.push(r[o]);t.obj[t.prop]=i}}},eQ=function(n,t){for(var r=t&&t.plainObjects?Object.create(null):{},i=0;i<n.length;++i)typeof n[i]<"u"&&(r[i]=n[i]);return r},c8e=function e(n,t,r){if(!t)return n;if(typeof t!="object"){if(D0(n))n.push(t);else if(n&&typeof n=="object")(r&&(r.plainObjects||r.allowPrototypes)||!wS.call(Object.prototype,t))&&(n[t]=!0);else return[n,t];return n}if(!n||typeof n!="object")return[n].concat(t);var i=n;return D0(n)&&!D0(t)&&(i=eQ(n,r)),D0(n)&&D0(t)?(t.forEach(function(o,s){if(wS.call(n,s)){var a=n[s];a&&typeof a=="object"&&o&&typeof o=="object"?n[s]=e(a,o,r):n.push(o)}else n[s]=o}),n):Object.keys(t).reduce(function(o,s){var a=t[s];return wS.call(o,s)?o[s]=e(o[s],a,r):o[s]=a,o},i)},d8e=function(n,t){return Object.keys(t).reduce(function(r,i){return r[i]=t[i],r},n)},h8e=function(e,n,t){var r=e.replace(/\+/g," ");if(t==="iso-8859-1")return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch{return r}},f8e=function(n,t,r,i,o){if(n.length===0)return n;var s=n;if(typeof n=="symbol"?s=Symbol.prototype.toString.call(n):typeof n!="string"&&(s=String(n)),r==="iso-8859-1")return escape(s).replace(/%u[0-9a-f]{4}/gi,function(C){return"%26%23"+parseInt(C.slice(2),16)+"%3B"});for(var a="",h=0;h<s.length;++h){var g=s.charCodeAt(h);if(g===45||g===46||g===95||g===126||g>=48&&g<=57||g>=65&&g<=90||g>=97&&g<=122||o===u8e.RFC1738&&(g===40||g===41)){a+=s.charAt(h);continue}if(g<128){a=a+Zh[g];continue}if(g<2048){a=a+(Zh[192|g>>6]+Zh[128|g&63]);continue}if(g<55296||g>=57344){a=a+(Zh[224|g>>12]+Zh[128|g>>6&63]+Zh[128|g&63]);continue}h+=1,g=65536+((g&1023)<<10|s.charCodeAt(h)&1023),a+=Zh[240|g>>18]+Zh[128|g>>12&63]+Zh[128|g>>6&63]+Zh[128|g&63]}return a},p8e=function(n){for(var t=[{obj:{o:n},prop:"o"}],r=[],i=0;i<t.length;++i)for(var o=t[i],s=o.obj[o.prop],a=Object.keys(s),h=0;h<a.length;++h){var g=a[h],C=s[g];typeof C=="object"&&C!==null&&r.indexOf(C)===-1&&(t.push({obj:s,prop:g}),r.push(C))}return A8e(t),n},m8e=function(n){return Object.prototype.toString.call(n)==="[object RegExp]"},g8e=function(n){return!n||typeof n!="object"?!1:!!(n.constructor&&n.constructor.isBuffer&&n.constructor.isBuffer(n))},y8e=function(n,t){return[].concat(n,t)},v8e=function(n,t){if(D0(n)){for(var r=[],i=0;i<n.length;i+=1)r.push(t(n[i]));return r}return t(n)},tQ={arrayToObject:eQ,assign:d8e,combine:y8e,compact:p8e,decode:h8e,encode:f8e,isBuffer:g8e,isRegExp:m8e,maybeMap:v8e,merge:c8e},nQ=a8e,I2=tQ,G_=pk,_8e=Object.prototype.hasOwnProperty,AF={brackets:function(n){return n+"[]"},comma:"comma",indices:function(n,t){return n+"["+t+"]"},repeat:function(n){return n}},pp=Array.isArray,C8e=Array.prototype.push,rQ=function(e,n){C8e.apply(e,pp(n)?n:[n])},b8e=Date.prototype.toISOString,cF=G_.default,Vu={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",char Line truncated
`," "],Q8e=["{","}","|","\\","^","`"].concat(G8e),vO=["'"].concat(Q8e),dF=["%","/","?",";","#"].concat(vO),hF=["/","?","#"],$8e=255,fF=/^[+a-z0-9A-Z_-]{0,63}$/,Y8e=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,q8e={javascript:!0,"javascript:":!0},_O={javascript:!0,"javascript:":!0},_y={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},CO=R8e;function Mb(e,n,t){if(e&&typeof e=="object"&&e instanceof Cd)return e;var r=new Cd;return r.parse(e,n,t),r}Cd.prototype.parse=function(e,n,t){if(typeof e!="string")throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var r=e.indexOf("?"),i=r!==-1&&r<e.indexOf("#")?"?":"#",o=e.split(i),s=/\\/g;o[0]=o[0].replace(s,"/"),e=o.join(i);var a=e;if(a=a.trim(),!t&&e.split("#").length===1){var h=N8e.exec(a);if(h)return this.path=a,this.href=a,this.pathname=h[1],h[2]?(this.search=h[2],n?this.query=CO.parse(this.search.substr(1)):this.query=this.search.substr(1)):n&&(this.search="",this.query={}),this}var g=j8e.exec(a);if(g){g=g[0];var C=g.toLowerCase();this.protocol=C,a=a.substr(g.length)}if(t||g||a.match(/^\/\/[^@/]+@[^@/]+/)){var B=a.substr(0,2)==="//";B&&!(g&&_O[g])&&(a=a.substr(2),this.slashes=!0)}if(!_O[g]&&(B||g&&!_y[g])){for(var k=-1,P=0;P<hF.length;P++){var U=a.indexOf(hF[P]);U!==-1&&(k===-1||U<k)&&(k=U)}var Z,W;k===-1?W=a.lastIndexOf("@"):W=a.lastIndexOf("@",k),W!==-1&&(Z=a.slice(0,W),a=a.slice(W+1),this.auth=decodeURIComponent(Z)),k=-1;for(var P=0;P<dF.length;P++){var U=a.indexOf(dF[P]);U!==-1&&(k===-1||U<k)&&(k=U)}k===-1&&(k=a.length),this.host=a.slice(0,k),a=a.slice(k),this.parseHost(),this.hostname=this.hostname||"";var Q=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!Q)for(var q=this.hostname.split(/\./),P=0,oe=q.length;P<oe;P++){var re=q[P];if(re&&!re.match(fF)){for(var Ae="",ae=0,se=re.length;ae<se;ae++)re.charCodeAt(ae)>127?Ae+="x":Ae+=re[ae];if(!Ae.match(fF)){var ye=q.slice(0,P),De=q.slice(P+1),Ne=re.match(Y8e);Ne&&(ye.push(Ne[1]),De.unshift(Ne[2])),De.length&&(a="/"+De.join(".")+a),this.hostname=ye.join(".");break}}}this.hostname.length>$8e?this.hostname="":this.hostname=this.hostname.toLowerCase(),Q||(this.hostname=z8e.toASCII(this.hostname));var et=this.port?":"+this.port:"",ft=this.hostname||"";this.host=ft+et,this.href+=this.host,Q&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),a[0]!=="/"&&(a="/"+a))}if(!q8e[C])for(var P=0,oe=vO.length;P<oe;P++){var Ke=vO[P];if(a.indexOf(Ke)!==-1){var rt=encodeURIComponent(Ke);rt===Ke&&(rt=escape(Ke)),a=a.split(Ke).join(rt)}}var _e=a.indexOf("#");_e!==-1&&(this.hash=a.substr(_e),a=a.slice(0,_e));var Ut=a.indexOf("?");if(Ut!==-1?(this.search=a.substr(Ut),this.query=a.substr(Ut+1),n&&(this.query=CO.parse(this.query)),a=a.slice(0,Ut)):n&&(this.search="",this.query={}),a&&(this.pathname=a),_y[C]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var et=this.pathname||"",jt=this.search||"";this.path=et+jt}return this.href=this.format(),this};function V8e(e){return typeof e=="string"&&(e=Mb(e)),e instanceof Cd?e.format():Cd.prototype.format.call(e)}Cd.prototype.format=function(){var e=this.auth||"";e&&(e=encodeURIComponent(e),e=e.replace(/%3A/i,":"),e+="@");var n=this.protocol||"",t=this.pathname||"",r=this.hash||"",i=!1,o="";this.host?i=e+this.host:this.hostname&&(i=e+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&typeof this.query=="object"&&Object.keys(this.query).length&&(o=CO.stringify(this.query,{arrayFormat:"repeat",addQueryPrefix:!1}));var s=this.search||o&&"?"+o||"";return n&&n.substr(-1)!==":"&&(n+=":"),this.slashes||(!n||_y[n])&&i!==!1?(i="//"+(i||""),t&&t.charAt(0)!=="/"&&(t="/"+t)):i||(i=""),r&&r.charAt(0)!=="#"&&(r="#"+r),s&&s.charAt(0)!=="?"&&(s="?"+s),t=t.replace(/[?#]/g,function(a){return encodeURIComponent(a)}),s=s.replace("#","%23"),n+i+t+s+r};function H8e(e,n){return Mb(e,!1,!0).resolve(n)}Cd.prototype.resolve=function(e){return this.resolveObject(Mb(e,!1,!0)).format()};function Z8e(e,n){return e?Mb(e,!1,!0).resolveObject(n):n}Cd.prototype.resolveObject=function(e){if(typeof e=="string"){var n=new Cd;n.parse(e,!1,!0),e=n}for(var t=new Cd,r=Object.keys(this),i=0;i<r.length;i++){var o=r[i];t[o]=this[o]}if(t.hash=e.hash,e.href==="")return t.href=t.format(),t;if(e.slashes&&!e.protocol){for(var s=Object.keys(e),a=0;a<s.length;a++){var h=s[a];h!=="protocol"&&(t[h]=e[h])}return _y[t.protocol]&&t.hostname&&!t.pathname&&(t.pathname="/",t.path=t.pathname),t.href=t.format(),t}if(e.protocol&&e.protocol!==t.protocol){if(!_y[e.protocol]){for(var g=Object.keys(e),C=0;C<g.length;C++){var B=g[C];t[B]=e[B]}return t.href=t.format(),t}if(t.protocol=e.protocol,!e.host&&!_O[e.protocol]){for(var oe=(e.pathname||"").split("/");oe.length&&!(e.host=oe.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),oe[0]!==""&&oe.unshift(""),oe.length<2&&oe.unshift(""),t.pathname=oe.join("/")}else t.pathname=e.pathname;if(t.search=e.search,t.query=e.query,t Line truncated
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
@@ -811,10 +811,10 @@ MERCHANTABLITY OR NON-INFRINGEMENT.
See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */var CO=function(e,n){return CO=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var i in r)r.hasOwnProperty(i)&&(t[i]=r[i])},CO(e,n)};function uQ(e,n){CO(e,n);function t(){this.constructor=e}e.prototype=n===null?Object.create(n):(t.prototype=n.prototype,new t)}function ske(e){var n=typeof Symbol=="function"&&e[Symbol.iterator],t=0;return n?n.call(e):{next:function(){return e&&t>=e.length&&(e=void 0),{value:e&&e[t++],done:!e}}}}function lke(e,n){var t=typeof Symbol=="function"&&e[Symbol.iterator];if(!t)return e;var r=t.call(e),i,o=[],s;try{for(;(n===void 0||n-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(t=r.return)&&t.call(r)}finally{if(s)throw s.error}}return o}function uke(){for(var e=[],n=0;n<arguments.length;n++)e=e.concat(lke(arguments[n]));return e}var AQ=function(){function e(n,t){this.target=t,this.type=n}return e}(),Ake=function(e){uQ(n,e);function n(t,r){var i=e.call(this,"error",r)||this;return i.message=t.message,i.error=t,i}return n}(AQ),cke=function(e){uQ(n,e);function n(t,r,i){t===void 0&&(t=1e3),r===void 0&&(r="");var o=e.call(this,"close",i)||this;return o.wasClean=!0,o.code=t,o.reason=r,o}return n}(AQ);/*!
***************************************************************************** */var bO=function(e,n){return bO=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var i in r)r.hasOwnProperty(i)&&(t[i]=r[i])},bO(e,n)};function AQ(e,n){bO(e,n);function t(){this.constructor=e}e.prototype=n===null?Object.create(n):(t.prototype=n.prototype,new t)}function ake(e){var n=typeof Symbol=="function"&&e[Symbol.iterator],t=0;return n?n.call(e):{next:function(){return e&&t>=e.length&&(e=void 0),{value:e&&e[t++],done:!e}}}}function ske(e,n){var t=typeof Symbol=="function"&&e[Symbol.iterator];if(!t)return e;var r=t.call(e),i,o=[],s;try{for(;(n===void 0||n-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(t=r.return)&&t.call(r)}finally{if(s)throw s.error}}return o}function lke(){for(var e=[],n=0;n<arguments.length;n++)e=e.concat(ske(arguments[n]));return e}var cQ=function(){function e(n,t){this.target=t,this.type=n}return e}(),uke=function(e){AQ(n,e);function n(t,r){var i=e.call(this,"error",r)||this;return i.message=t.message,i.error=t,i}return n}(cQ),Ake=function(e){AQ(n,e);function n(t,r,i){t===void 0&&(t=1e3),r===void 0&&(r="");var o=e.call(this,"close",i)||this;return o.wasClean=!0,o.code=t,o.reason=r,o}return n}(cQ);/*!
* Reconnecting WebSocket
* by Pedro Ladaria <pedro.ladaria@gmail.com>
* https://github.com/pladaria/reconnecting-websocket
* License MIT
*/var dke=function(){if(typeof WebSocket<"u")return WebSocket},hke=function(e){return typeof e<"u"&&!!e&&e.CLOSING===2},M0={maxReconnectionDelay:1e4,minReconnectionDelay:1e3+Math.random()*4e3,minUptime:5e3,reconnectionDelayGrowFactor:1.3,connectionTimeout:4e3,maxRetries:1/0,maxEnqueuedMessages:1/0,startClosed:!1,debug:!1},fke=function(){function e(n,t,r){var i=this;r===void 0&&(r={}),this._listeners={error:[],message:[],open:[],close:[]},this._retryCount=-1,this._shouldReconnect=!0,this._connectLock=!1,this._binaryType="blob",this._closeCalled=!1,this._messageQueue=[],this.onclose=null,this.onerror=null,this.onmessage=null,this.onopen=null,this._handleOpen=function(o){i._debug("open event");var s=i._options.minUptime,a=s===void 0?M0.minUptime:s;clearTimeout(i._connectTimeout),i._uptimeTimeout=setTimeout(function(){return i._acceptOpen()},a),i._ws.binaryType=i._binaryType,i._messageQueue.forEach(function(h){return i._ws.send(h)}),i._messageQueue=[],i.onopen&&i.onopen(o),i._listeners.open.forEach(function(h){return i._callEventListener(o,h)})},this._handleMessage=function(o){i._debug("message event"),i.onmessage&&i.onmessage(o),i._listeners.message.forEach(function(s){return i._callEventListener(o,s)})},this._handleError=function(o){i._debug("error event",o.message),i._disconnect(void 0,o.message==="TIMEOUT"?"timeout":void 0),i.onerror&&i.onerror(o),i._debug("exec error listeners"),i._listeners.error.forEach(function(s){return i._callEventListener(o,s)}),i._connect()},this._handleClose=function(o){i._debug("close event"),i._clearTimeouts(),i._shouldReconnect&&i._connect(),i.onclose&&i.onclose(o),i._listeners.close.forEach(function(s){return i._callEventListener(o,s)})},this._url=n,this._protocols=t,this._options=r,this._options.startClosed&&(this._shouldReconnect=!1),this._connect()}return Object.defineProperty(e,"CONNECTING",{get:function(){return 0},enumerable:!0,configurable:!0}),Object.defineProperty(e,"OPEN",{get:function(){return 1},enumerable:!0,configurable:!0}),Object.defineProperty(e,"CLOSING",{get:function(){return 2},enumerable:!0,configurable:!0}),Object.defineProperty(e,"CLOSED",{get:function(){return 3},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"CONNECTING",{get:function(){return e.CONNECTING},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"OPEN",{get:function(){return e.OPEN},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"CLOSING",{get:function(){return e.CLOSING},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"CLOSED",{get:function(){return e.CLOSED},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"binaryType",{get:function(){return this._ws?this._ws.binaryType:this._binaryType},set:function(n){this._binaryType=n,this._ws&&(this._ws.binaryType=n)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"retryCount",{get:function(){return Math.max(this._retryCount,0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bufferedAmount",{get:function(){var n=this._messageQueue.reduce(function(t,r){return typeof r=="string"?t+=r.length:r instanceof Blob?t+=r.size:t+=r.byteLength,t},0);return n+(this._ws?this._ws.bufferedAmount:0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"extensions",{get:function(){return this._ws?this._ws.extensions:""},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"protocol",{get:function(){return this._ws?this._ws.protocol:""},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readyState",{get:function(){return this._ws?this._ws.readyState:this._options.startClosed?e.CLOSED:e.CONNECTING},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"url",{get:function(){return this._ws?this._ws.url:""},enumerable:!0,configurable:!0}),e.prototype.close=function(n,t){if(n===void 0&&(n=1e3),this._closeCalled=!0,this._shouldReconnect=!1,this._clearTimeouts(),!this._ws){this._debug("close enqueued: no ws instance");return}if(this._ws.readyState===this.CLOSED){this._debug("close: already closed");return}this._ws.close(n,t)},e.prototype.reconnect=function(n,t){this._shouldReconnect=!0,this._closeCalled=!1,this._retryCount=-1,!this._ws||this._ws.readyState===this.CLOSED?this._connect():(this._disconnect(n,t),this._connect())},e.prototype.send=function(n){if(this._ws&&this._ws.readyState===this.OPEN)this._debug("send",n),this._ws.send(n);else{var t=this._options.maxEnqueuedMessages,r=t===void 0?M0.maxEnqueuedMessages:t;this._messageQueue.length<r&&(this._debug("enqueue",n),this._messageQueue.push(n))}},e.prototype.addEventListener=function(n,t){this._listeners[n]&&this._listeners[n].push(t)},e.prototype.dispatchEvent=function(n){var t,r,i=this._listeners[n.type];if(i)try{for(var o=ske(i),s=o.next();!s.done;s=o.next()){var a=s.value;this._callEventListener(n,a)}}catch(h){t={error:h}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return!0},e.prototype.removeEventListeneLine truncated
//# sourceMappingURL=index-XVocn_kX.js.map
*/var cke=function(){if(typeof WebSocket<"u")return WebSocket},dke=function(e){return typeof e<"u"&&!!e&&e.CLOSING===2},M0={maxReconnectionDelay:1e4,minReconnectionDelay:1e3+Math.random()*4e3,minUptime:5e3,reconnectionDelayGrowFactor:1.3,connectionTimeout:4e3,maxRetries:1/0,maxEnqueuedMessages:1/0,startClosed:!1,debug:!1},hke=function(){function e(n,t,r){var i=this;r===void 0&&(r={}),this._listeners={error:[],message:[],open:[],close:[]},this._retryCount=-1,this._shouldReconnect=!0,this._connectLock=!1,this._binaryType="blob",this._closeCalled=!1,this._messageQueue=[],this.onclose=null,this.onerror=null,this.onmessage=null,this.onopen=null,this._handleOpen=function(o){i._debug("open event");var s=i._options.minUptime,a=s===void 0?M0.minUptime:s;clearTimeout(i._connectTimeout),i._uptimeTimeout=setTimeout(function(){return i._acceptOpen()},a),i._ws.binaryType=i._binaryType,i._messageQueue.forEach(function(h){return i._ws.send(h)}),i._messageQueue=[],i.onopen&&i.onopen(o),i._listeners.open.forEach(function(h){return i._callEventListener(o,h)})},this._handleMessage=function(o){i._debug("message event"),i.onmessage&&i.onmessage(o),i._listeners.message.forEach(function(s){return i._callEventListener(o,s)})},this._handleError=function(o){i._debug("error event",o.message),i._disconnect(void 0,o.message==="TIMEOUT"?"timeout":void 0),i.onerror&&i.onerror(o),i._debug("exec error listeners"),i._listeners.error.forEach(function(s){return i._callEventListener(o,s)}),i._connect()},this._handleClose=function(o){i._debug("close event"),i._clearTimeouts(),i._shouldReconnect&&i._connect(),i.onclose&&i.onclose(o),i._listeners.close.forEach(function(s){return i._callEventListener(o,s)})},this._url=n,this._protocols=t,this._options=r,this._options.startClosed&&(this._shouldReconnect=!1),this._connect()}return Object.defineProperty(e,"CONNECTING",{get:function(){return 0},enumerable:!0,configurable:!0}),Object.defineProperty(e,"OPEN",{get:function(){return 1},enumerable:!0,configurable:!0}),Object.defineProperty(e,"CLOSING",{get:function(){return 2},enumerable:!0,configurable:!0}),Object.defineProperty(e,"CLOSED",{get:function(){return 3},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"CONNECTING",{get:function(){return e.CONNECTING},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"OPEN",{get:function(){return e.OPEN},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"CLOSING",{get:function(){return e.CLOSING},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"CLOSED",{get:function(){return e.CLOSED},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"binaryType",{get:function(){return this._ws?this._ws.binaryType:this._binaryType},set:function(n){this._binaryType=n,this._ws&&(this._ws.binaryType=n)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"retryCount",{get:function(){return Math.max(this._retryCount,0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bufferedAmount",{get:function(){var n=this._messageQueue.reduce(function(t,r){return typeof r=="string"?t+=r.length:r instanceof Blob?t+=r.size:t+=r.byteLength,t},0);return n+(this._ws?this._ws.bufferedAmount:0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"extensions",{get:function(){return this._ws?this._ws.extensions:""},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"protocol",{get:function(){return this._ws?this._ws.protocol:""},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readyState",{get:function(){return this._ws?this._ws.readyState:this._options.startClosed?e.CLOSED:e.CONNECTING},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"url",{get:function(){return this._ws?this._ws.url:""},enumerable:!0,configurable:!0}),e.prototype.close=function(n,t){if(n===void 0&&(n=1e3),this._closeCalled=!0,this._shouldReconnect=!1,this._clearTimeouts(),!this._ws){this._debug("close enqueued: no ws instance");return}if(this._ws.readyState===this.CLOSED){this._debug("close: already closed");return}this._ws.close(n,t)},e.prototype.reconnect=function(n,t){this._shouldReconnect=!0,this._closeCalled=!1,this._retryCount=-1,!this._ws||this._ws.readyState===this.CLOSED?this._connect():(this._disconnect(n,t),this._connect())},e.prototype.send=function(n){if(this._ws&&this._ws.readyState===this.OPEN)this._debug("send",n),this._ws.send(n);else{var t=this._options.maxEnqueuedMessages,r=t===void 0?M0.maxEnqueuedMessages:t;this._messageQueue.length<r&&(this._debug("enqueue",n),this._messageQueue.push(n))}},e.prototype.addEventListener=function(n,t){this._listeners[n]&&this._listeners[n].push(t)},e.prototype.dispatchEvent=function(n){var t,r,i=this._listeners[n.type];if(i)try{for(var o=ake(i),s=o.next();!s.done;s=o.next()){var a=s.value;this._callEventListener(n,a)}}catch(h){t={error:h}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return!0},e.prototype.removeEventListeneLine truncated
//# sourceMappingURL=index-D0rMkTMa.js.map
@@ -1 +1 @@
{"version":3,"file":"index-XVocn_kX.js","sources":["../../node_modules/object-assign/index.js","../../node_modules/react/cjs/react.production.min.js","../../node_modules/react/index.js","../../node_modules/react/cjs/react-jsx-runtime.production.min.js","../../node_modules/react/jsx-runtime.js","../../node_modules/react-icons/lib/esm/iconContext.js","../../node_modules/react-icons/lib/esm/iconBase.js","../../node_modules/scheduler/cjs/scheduler.production.min.js","../../node_modules/scheduler/index.js","../../node_modules/react-dom/cjs/react-dom.production.min.js","../../node_modules/react-dom/index.js","../../node_modules/react-autobind/lib/autoBind.js","../../node_modules/react-autobind/index.js","../../node_modules/lodash.clonedeep/index.js","../../node_modules/lodash.clamp/index.js","../../node_modules/base64-js/index.js","../../node_modules/ieee754/index.js","../../node_modules/buffer/index.js","../../node_modules/lodash.get/index.js","../../node_modules/lodash/lodash.js","../../node_modules/array-move/index.js","../../node_modules/string-hash/index.js","../../node_modules/@maplibre/maplibre-gl-style-spec/dist/index.mjs","../../node_modules/maplibre-gl/dist/maplibre-gl.js","../../node_modules/mapbox-gl-inspect/lib/stylegen.js","../../node_modules/mapbox-gl-inspect/lib/InspectButton.js","../../node_modules/lodash.isequal/index.js","../../node_modules/mapbox-gl-inspect/lib/renderPopup.js","../../node_modules/randomcolor/randomColor.js","../../node_modules/mapbox-gl-inspect/lib/colors.js","../../node_modules/mapbox-gl-inspect/lib/MapboxInspect.js","../../node_modules/mapbox-gl-inspect/index.js","../../node_modules/prop-types/lib/ReactPropTypesSecret.js","../../node_modules/prop-types/factoryWithThrowingShims.js","../../node_modules/prop-types/index.js","../../node_modules/react-icon-base/es/index.js","../../src/components/IconLine.tsx","../../src/components/IconFill.tsx","../../src/components/IconSymbol.tsx","../../src/components/IconBackground.tsx","../../src/components/IconCircle.tsx","../../node_modules/react-icons/md/index.esm.js","../../src/components/IconMissing.tsx","../../src/components/IconLayer.tsx","../../src/components/MapMaplibreGlLayerPopup.tsx","../../node_modules/classnames/index.js","../../src/components/FieldDocLabel.tsx","../../src/components/Doc.tsx","../../src/components/Block.tsx","../../src/components/InputString.tsx","../../src/components/FieldString.tsx","../../src/components/MapMaplibreGlFeaturePropertyPopup.tsx","../../node_modules/color-name/index.js","../../node_modules/is-arrayish/index.js","../../node_modules/simple-swizzle/index.js","../../node_modules/color-string/index.js","../../node_modules/color/node_modules/color-name/index.js","../../node_modules/color/node_modules/color-convert/conversions.js","../../node_modules/color/node_modules/color-convert/route.js","../../node_modules/color/node_modules/color-convert/index.js","../../node_modules/color/index.js","../../src/libs/zoomcontrol.ts","../../src/libs/highlight.ts","../../src/libs/maplibre-rtl.ts","../../node_modules/xtend/immutable.js","../../node_modules/fuzzy/lib/fuzzy.js","../../node_modules/suggestions-list/src/list.js","../../node_modules/suggestions-list/src/suggestions.js","../../node_modules/suggestions-list/index.js","../../node_modules/lodash.debounce/index.js","../../node_modules/events/events.js","../../node_modules/@maplibre/maplibre-gl-geocoder/lib/exceptions.js","../../node_modules/@maplibre/maplibre-gl-geocoder/lib/localization.js","../../node_modules/subtag/subtag.js","../../node_modules/@maplibre/maplibre-gl-geocoder/lib/index.js","../../src/components/MapMaplibreGl.tsx","../../node_modules/ol/events/Event.js","../../node_modules/ol/ObjectEventType.js","../../node_modules/ol/Disposable.js","../../node_modules/ol/array.js","../../node_modules/ol/functions.js","../../node_modules/ol/obj.js","../../node_modules/ol/events/Target.js","../../node_modules/ol/events/EventType.js","../../node_modules/ol/events.js","../../node_modules/ol/Observable.js","../../node_modules/ol/util.js","../../node_modules/ol/Object.js","../../node_modules/ol/AssertionError.js","../../node_modules/ol/asserts.js","../../node_modules/ol/Feature.js","../../node_modules/ol/proj/Units.js","../../node_modules/ol/has.js","../../node_modules/ol/transform.js","../../node_modules/ol/extent/Relationship.js","../../node_modules/ol/extent.js","../../node_modules/ol/proj/Projection.js","../../node_modules/ol/math.js","../../node_modules/ol/proj/epsg3857.js","../../node_modules/ol/proj/epsg4326.js","../../node_modules/ol/proj/projections.js","../../node_modules/ol/proj/transforms.js","../../node_modules/ol/coordinate.js","../../node_modules/ol/sphere.js","../../node_modules/ol/proj.js","../../node_modules/ol/geom/flat/transform.js","../../node_modules/ol/geom/Geometry.js","../../node_modules/ol/geom/GeometryCollection.js","../../node_modules/ol/format/Feature.js","../../node_modules/ol/format/JSONFeature.js","../../node_modules/ol/geom/GeometrLine truncated
{"version":3,"file":"index-D0rMkTMa.js","sources":["../../node_modules/object-assign/index.js","../../node_modules/react/cjs/react.production.min.js","../../node_modules/react/index.js","../../node_modules/react/cjs/react-jsx-runtime.production.min.js","../../node_modules/react/jsx-runtime.js","../../node_modules/react-icons/lib/esm/iconContext.js","../../node_modules/react-icons/lib/esm/iconBase.js","../../node_modules/scheduler/cjs/scheduler.production.min.js","../../node_modules/scheduler/index.js","../../node_modules/react-dom/cjs/react-dom.production.min.js","../../node_modules/react-dom/index.js","../../node_modules/react-autobind/lib/autoBind.js","../../node_modules/react-autobind/index.js","../../node_modules/lodash.clonedeep/index.js","../../node_modules/lodash.clamp/index.js","../../node_modules/base64-js/index.js","../../node_modules/ieee754/index.js","../../node_modules/buffer/index.js","../../node_modules/lodash.get/index.js","../../node_modules/lodash/lodash.js","../../node_modules/array-move/index.js","../../node_modules/string-hash/index.js","../../node_modules/@maplibre/maplibre-gl-style-spec/dist/index.mjs","../../node_modules/maplibre-gl/dist/maplibre-gl.js","../../node_modules/mapbox-gl-inspect/lib/stylegen.js","../../node_modules/mapbox-gl-inspect/lib/InspectButton.js","../../node_modules/lodash.isequal/index.js","../../node_modules/mapbox-gl-inspect/lib/renderPopup.js","../../node_modules/randomcolor/randomColor.js","../../node_modules/mapbox-gl-inspect/lib/colors.js","../../node_modules/mapbox-gl-inspect/lib/MapboxInspect.js","../../node_modules/mapbox-gl-inspect/index.js","../../node_modules/prop-types/lib/ReactPropTypesSecret.js","../../node_modules/prop-types/factoryWithThrowingShims.js","../../node_modules/prop-types/index.js","../../node_modules/react-icon-base/es/index.js","../../src/components/IconLine.tsx","../../src/components/IconFill.tsx","../../src/components/IconSymbol.tsx","../../src/components/IconBackground.tsx","../../src/components/IconCircle.tsx","../../node_modules/react-icons/md/index.esm.js","../../src/components/IconMissing.tsx","../../src/components/IconLayer.tsx","../../src/components/MapMaplibreGlLayerPopup.tsx","../../src/components/MapMaplibreGlFeaturePropertyPopup.tsx","../../node_modules/color-name/index.js","../../node_modules/is-arrayish/index.js","../../node_modules/simple-swizzle/index.js","../../node_modules/color-string/index.js","../../node_modules/color/node_modules/color-name/index.js","../../node_modules/color/node_modules/color-convert/conversions.js","../../node_modules/color/node_modules/color-convert/route.js","../../node_modules/color/node_modules/color-convert/index.js","../../node_modules/color/index.js","../../src/libs/zoomcontrol.ts","../../src/libs/highlight.ts","../../src/libs/maplibre-rtl.ts","../../node_modules/xtend/immutable.js","../../node_modules/fuzzy/lib/fuzzy.js","../../node_modules/suggestions-list/src/list.js","../../node_modules/suggestions-list/src/suggestions.js","../../node_modules/suggestions-list/index.js","../../node_modules/lodash.debounce/index.js","../../node_modules/events/events.js","../../node_modules/@maplibre/maplibre-gl-geocoder/lib/exceptions.js","../../node_modules/@maplibre/maplibre-gl-geocoder/lib/localization.js","../../node_modules/subtag/subtag.js","../../node_modules/@maplibre/maplibre-gl-geocoder/lib/index.js","../../src/components/MapMaplibreGl.tsx","../../node_modules/ol/events/Event.js","../../node_modules/ol/ObjectEventType.js","../../node_modules/ol/Disposable.js","../../node_modules/ol/array.js","../../node_modules/ol/functions.js","../../node_modules/ol/obj.js","../../node_modules/ol/events/Target.js","../../node_modules/ol/events/EventType.js","../../node_modules/ol/events.js","../../node_modules/ol/Observable.js","../../node_modules/ol/util.js","../../node_modules/ol/Object.js","../../node_modules/ol/AssertionError.js","../../node_modules/ol/asserts.js","../../node_modules/ol/Feature.js","../../node_modules/ol/proj/Units.js","../../node_modules/ol/has.js","../../node_modules/ol/transform.js","../../node_modules/ol/extent/Relationship.js","../../node_modules/ol/extent.js","../../node_modules/ol/proj/Projection.js","../../node_modules/ol/math.js","../../node_modules/ol/proj/epsg3857.js","../../node_modules/ol/proj/epsg4326.js","../../node_modules/ol/proj/projections.js","../../node_modules/ol/proj/transforms.js","../../node_modules/ol/coordinate.js","../../node_modules/ol/sphere.js","../../node_modules/ol/proj.js","../../node_modules/ol/geom/flat/transform.js","../../node_modules/ol/geom/Geometry.js","../../node_modules/ol/geom/GeometryCollection.js","../../node_modules/ol/format/Feature.js","../../node_modules/ol/format/JSONFeature.js","../../node_modules/ol/geom/GeometryLayout.js","../../node_modules/ol/geom/SimpleGeometry.js","../../node_modules/ol/geom/flat/closest.js","../../node_modules/ol/geom/flat/deflate.js","../../node_modules/ol/geom/flat/simplify.js","../../node_modules/ol/geom/fLine truncated
-1
View File
@@ -1 +0,0 @@
html{background-color:#1c1f24}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:"";content:none}table{border-collapse:collapse;border-spacing:0}@font-face{font-family:Roboto;src:url(/maputnik/assets/Roboto-Regular-fhy1tayw.ttf) format("truetype");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Roboto;src:url(/maputnik/assets/Roboto-Medium-tM9scNHW.ttf) format("truetype");font-weight:700;font-style:normal;font-display:swap}html{color:#f0f0f0;font-size:14px;box-sizing:border-box}body{overflow:hidden}*,*:before,*:after{box-sizing:inherit}p{font-size:12px;margin-top:5px;margin-bottom:5px;color:#a4a4a4;line-height:1.3}h1{font-size:20px;margin-bottom:10px;font-weight:700}h2{font-size:18px;margin-bottom:10px;font-weight:700}h3{font-size:16px;margin-bottom:10px;font-weight:700}h4{font-size:14px;margin-bottom:10px}input:focus,textarea:focus,*[role=button]:focus,button:focus,.maputnik-toolbar-link:focus,.maputnik-toolbar-select:focus,.maputnik-toolbar-action:focus,select:focus{color:#f0f0f0;outline:#8e8e8e auto 1px}label:hover{color:#f0f0f0}.clearfix:after,.maputnik-zoom-spec-property:after,.maputnik-filter-editor:after,.maputnik-add-source:after,.maputnik-add-layer:after{content:"";display:table;clear:both}a{color:#fff}.hide{display:none!important}.maputnik-map__container{background:#fff;display:flex;position:fixed!important;top:40px;right:0;bottom:0;height:calc(100% - 40px);width:calc(100% - 570px)}.maputnik-map__container--error{align-items:center;justify-content:center}.maputnik-map__container__error-message{margin:16px;text-align:center}.maputnik-map__map{width:100%;height:100%}.maputnik-input-block:hover .maputnik-doc-button,.maputnik-filter-editor-compound-select:hover .maputnik-doc-button{opacity:1;pointer-events:all;cursor:pointer}.maputnik-doc-wrapper{display:inline-block;box-sizing:border-box;font-size:12px;line-height:2;-webkit-user-select:none;user-select:none;position:relative;vertical-align:top}.maputnik-doc-popup{display:none;color:#a4a4a4;background-color:#222429;padding:5px;font-size:10px;position:absolute;top:20px;left:0;width:120px;z-index:10;pointer-events:none}.maputnik-doc-button{opacity:0;pointer-events:none;background:#191b20;color:#fff;border:none;padding:4px}.maputnik-doc-button svg{pointer-events:none}.maputnik-doc-button--open{opacity:1;pointer-events:all}.maputnik-doc-inline{color:#a4a4a4;background-color:#222429;padding:5px;font-size:12px;margin-top:10px;line-height:1.5;flex:1 0}.maputnik-doc-target:hover .maputnik-doc-popup{display:block;text-align:left}.maputnik-button,.maputnik-radio-as-button{display:inline-block;cursor:pointer;background-color:#303237;color:#a4a4a4;font-size:12px;padding:5px;-webkit-user-select:none;user-select:none;border-width:0;border-radius:2px;box-sizing:border-box;text-decoration:none}.maputnik-button:hover,.maputnik-radio-as-button:hover{background-color:#4d5058;color:#f0f0f0}.maputnik-button:disabled,.maputnik-radio-as-button:disabled{background-color:#242629;color:#303237;cursor:not-allowed}.maputnik-big-button,.maputnik-add-source-button,.maputnik-add-layer-button,.maputnik-upload-button{margin-top:10px;display:inline-block;padding:10px;font-size:14px}.maputnik-wide-button{padding:5px 10px}.maputnik-green-button{background-color:#53b972;color:#191b20}.maputnik-white-button{background-color:#f0f0f0;color:#191b20}.maputnik-icon-button,.maputnik-make-data-function,.maputnik-delete-stop,.maputnik-make-zoom-function,.maputnik-delete-filter{background-color:transparent}.maputnik-icon-button:hover:not(:disabled),.maputnik-make-data-function:hover:not(:disabled),.maputnik-delete-stop:hover:not(:disabled),.maputnik-make-zoom-function:hover:not(:disabled),.maputnik-delete-filter:hover:not(:disabled){background-color:transparent}.maputnik-icon-button:hover:not(:disabled) label,.maputnik-make-data-function:hover:not(:disabled) label,.maputnik-delete-stop:hover:not(:disabled) label,.maputnik-make-zoom-function:hover:not(:disabled) label,.maputnik-delete-filter:hover:not(:disabled) label,.maputnik-icon-button:hover:not(:disabled) svg,.maputnik-make-data-function:hover:not(:disabled) svg,.maputnik-delete-stop:hover:not(:disabled) svg,.maputnik-make-zoom-function:hover:not(:disabled) svg,.maputnik-delete-filter:hover:not(:disabled) svg{cursor:pointer}.maputnik-icon-button:hover:not(:disabled) svg,Line truncated
+2 -2
View File
@@ -37,8 +37,8 @@
}
</style>
<script type="module" crossorigin src="/maputnik/assets/index-XVocn_kX.js"></script>
<link rel="stylesheet" crossorigin href="/maputnik/assets/index-v7XUuyxc.css">
<script type="module" crossorigin src="/maputnik/assets/index-D0rMkTMa.js"></script>
<link rel="stylesheet" crossorigin href="/maputnik/assets/index-622uVfVo.css">
</head>
<body>
<!-- From <https://github.com/hail2u/color-blindness-emulation> -->