This commit is contained in:
HarelM committed 2025-09-07 14:43:38 +00:00
1 parent 956d24c524
commit 5f9c21cf2b
3 files changed
+66 -66

No files matched your search

@@ -1,4 +1,4 @@
(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const l of s.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function t(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=t(i);fetch(i.href,s)}})();function zl(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}function gB(n){if(Object.prototype.hasOwnProperty.call(n,"__esModule"))return n;var e=n.default;if(typeof e=="function"){var t=function r(){var i=!1;try{i=this instanceof r}catch{}return i?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(n).forEach(function(r){var i=Object.getOwnPropertyDescriptor(n,r);Object.defineProperty(t,r,i.get?i:{enumerable:!0,get:function(){return n[r]}})}),t}var V3={exports:{}},Mv={},H3={exports:{}},gs={},qI;function Mj(){if(qI)return gs;qI=1;/**
(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const l of s.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function t(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=t(i);fetch(i.href,s)}})();function Jl(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}function mB(n){if(Object.prototype.hasOwnProperty.call(n,"__esModule"))return n;var e=n.default;if(typeof e=="function"){var t=function r(){var i=!1;try{i=this instanceof r}catch{}return i?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(n).forEach(function(r){var i=Object.getOwnPropertyDescriptor(n,r);Object.defineProperty(t,r,i.get?i:{enumerable:!0,get:function(){return n[r]}})}),t}var $3={exports:{}},Mv={},V3={exports:{}},gs={},qI;function wj(){if(qI)return gs;qI=1;/**
* @license React
* react.production.min.js
*
@@ -6,7 +6,7 @@
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var n=Symbol.for("react.element"),e=Symbol.for("react.portal"),t=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),o=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),C=Symbol.for("react.memo"),w=Symbol.for("react.lazy"),B=Symbol.iterator;function D(Te){return Te===null||typeof Te!="object"?null:(Te=B&&Te[B]||Te["@@iterator"],typeof Te=="function"?Te:null)}var R={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},U=Object.assign,G={};function W(Te,Ze,gt){this.props=Te,this.context=Ze,this.refs=G,this.updater=gt||R}W.prototype.isReactComponent={},W.prototype.setState=function(Te,Ze){if(typeof Te!="object"&&typeof Te!="function"&&Te!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,Te,Ze,"setState")},W.prototype.forceUpdate=function(Te){this.updater.enqueueForceUpdate(this,Te,"forceUpdate")};function J(){}J.prototype=W.prototype;function $(Te,Ze,gt){this.props=Te,this.context=Ze,this.refs=G,this.updater=gt||R}var oe=$.prototype=new J;oe.constructor=$,U(oe,W.prototype),oe.isPureReactComponent=!0;var te=Array.isArray,H=Object.prototype.hasOwnProperty,re={current:null},j={key:!0,ref:!0,__self:!0,__source:!0};function Ae(Te,Ze,gt){var Dt,pt={},Tt=null,It=null;if(Ze!=null)for(Dt in Ze.ref!==void 0&&(It=Ze.ref),Ze.key!==void 0&&(Tt=""+Ze.key),Ze)H.call(Ze,Dt)&&!j.hasOwnProperty(Dt)&&(pt[Dt]=Ze[Dt]);var Le=arguments.length-2;if(Le===1)pt.children=gt;else if(1<Le){for(var Re=Array(Le),Ke=0;Ke<Le;Ke++)Re[Ke]=arguments[Ke+2];pt.children=Re}if(Te&&Te.defaultProps)for(Dt in Le=Te.defaultProps,Le)pt[Dt]===void 0&&(pt[Dt]=Le[Dt]);return{$$typeof:n,type:Te,key:Tt,ref:It,props:pt,_owner:re.current}}function ge(Te,Ze){return{$$typeof:n,type:Te.type,key:Ze,ref:Te.ref,props:Te.props,_owner:Te._owner}}function me(Te){return typeof Te=="object"&&Te!==null&&Te.$$typeof===n}function xe(Te){var Ze={"=":"=0",":":"=2"};return"$"+Te.replace(/[=:]/g,function(gt){return Ze[gt]})}var Be=/\/+/g;function Me(Te,Ze){return typeof Te=="object"&&Te!==null&&Te.key!=null?xe(""+Te.key):Ze.toString(36)}function We(Te,Ze,gt,Dt,pt){var Tt=typeof Te;(Tt==="undefined"||Tt==="boolean")&&(Te=null);var It=!1;if(Te===null)It=!0;else switch(Tt){case"string":case"number":It=!0;break;case"object":switch(Te.$$typeof){case n:case e:It=!0}}if(It)return It=Te,pt=pt(It),Te=Dt===""?"."+Me(It,0):Dt,te(pt)?(gt="",Te!=null&&(gt=Te.replace(Be,"$&/")+"/"),We(pt,Ze,gt,"",function(Ke){return Ke})):pt!=null&&(me(pt)&&(pt=ge(pt,gt+(!pt.key||It&&It.key===pt.key?"":(""+pt.key).replace(Be,"$&/")+"/")+Te)),Ze.push(pt)),1;if(It=0,Dt=Dt===""?".":Dt+":",te(Te))for(var Le=0;Le<Te.length;Le++){Tt=Te[Le];var Re=Dt+Me(Tt,Le);It+=We(Tt,Ze,gt,Re,pt)}else if(Re=D(Te),typeof Re=="function")for(Te=Re.call(Te),Le=0;!(Tt=Te.next()).done;)Tt=Tt.value,Re=Dt+Me(Tt,Le++),It+=We(Tt,Ze,gt,Re,pt);else if(Tt==="object")throw Ze=String(Te),Error("Objects are not valid as a React child (found: "+(Ze==="[object Object]"?"object with keys {"+Object.keys(Te).join(", ")+"}":Ze)+"). If you meant to render a collection of children, use an array instead.");return It}function be(Te,Ze,gt){if(Te==null)return Te;var Dt=[],pt=0;return We(Te,Dt,"","",function(Tt){return Ze.call(gt,Tt,pt++)}),Dt}function nt(Te){if(Te._status===-1){var Ze=Te._result;Ze=Ze(),Ze.then(function(gt){(Te._status===0||Te._status===-1)&&(Te._status=1,Te._result=gt)},function(gt){(Te._status===0||Te._status===-1)&&(Te._status=2,Te._result=gt)}),Te._status===-1&&(Te._status=0,Te._result=Ze)}if(Te._status===1)return Te._result.default;throw Te._result}var _t={current:null},at={transition:null},Je={ReactCurrentDispatcher:_t,ReactCurrentBatchConfig:at,ReactCurrentOwner:re};function Ne(){throw Error("act(...) is not supported in production builds of React.")}return gs.Children={map:be,forEach:function(Te,Ze,gt){be(Te,function(){Ze.apply(this,arguments)},gt)},count:function(Te){var Ze=0;return be(Te,function(){Ze++}),Ze},toArray:function(Te){return be(Te,function(Ze){return Ze})||[]},only:function(Te){if(!me(Te))throw Error("React.Children.only expected to receive a single React element child.");return Te}},gs.Component=W,gs.Fragment=t,gs.Profiler=i,gs.PureComponent=$,gs.StrictMode=r,gs.Suspense=f,gs.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Je,gs.act=Ne,gs.cloneElement=function(Te,Ze,gt){if(Te==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+Te+".");var Dt=U({},Te.props),pt=Te.key,Tt=Te.ref,It=Te._owner;if(Ze!=null){if(Ze.ref!==void 0&&(Tt=Ze.ref,It=re.current),Ze.key!==void 0&&(pt=""+Ze.key),Te.type&&Te.type.defaultProps)var Le=Te.type.defaultProps;for(Re in Ze)H.call(Ze,Re)&&!j.hasOwnProperty(Re)&&(Dt[Re]=Ze[Re]===void 0&&Le!==void 0?Le[Re]:Ze[Re])}var Re=arguments.lengthLine truncated
*/var n=Symbol.for("react.element"),e=Symbol.for("react.portal"),t=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),o=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),C=Symbol.for("react.memo"),w=Symbol.for("react.lazy"),B=Symbol.iterator;function D(Te){return Te===null||typeof Te!="object"?null:(Te=B&&Te[B]||Te["@@iterator"],typeof Te=="function"?Te:null)}var R={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},U=Object.assign,G={};function W(Te,Ze,gt){this.props=Te,this.context=Ze,this.refs=G,this.updater=gt||R}W.prototype.isReactComponent={},W.prototype.setState=function(Te,Ze){if(typeof Te!="object"&&typeof Te!="function"&&Te!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,Te,Ze,"setState")},W.prototype.forceUpdate=function(Te){this.updater.enqueueForceUpdate(this,Te,"forceUpdate")};function J(){}J.prototype=W.prototype;function $(Te,Ze,gt){this.props=Te,this.context=Ze,this.refs=G,this.updater=gt||R}var oe=$.prototype=new J;oe.constructor=$,U(oe,W.prototype),oe.isPureReactComponent=!0;var te=Array.isArray,H=Object.prototype.hasOwnProperty,re={current:null},j={key:!0,ref:!0,__self:!0,__source:!0};function Ae(Te,Ze,gt){var Dt,pt={},Tt=null,It=null;if(Ze!=null)for(Dt in Ze.ref!==void 0&&(It=Ze.ref),Ze.key!==void 0&&(Tt=""+Ze.key),Ze)H.call(Ze,Dt)&&!j.hasOwnProperty(Dt)&&(pt[Dt]=Ze[Dt]);var Le=arguments.length-2;if(Le===1)pt.children=gt;else if(1<Le){for(var Re=Array(Le),Ke=0;Ke<Le;Ke++)Re[Ke]=arguments[Ke+2];pt.children=Re}if(Te&&Te.defaultProps)for(Dt in Le=Te.defaultProps,Le)pt[Dt]===void 0&&(pt[Dt]=Le[Dt]);return{$$typeof:n,type:Te,key:Tt,ref:It,props:pt,_owner:re.current}}function ge(Te,Ze){return{$$typeof:n,type:Te.type,key:Ze,ref:Te.ref,props:Te.props,_owner:Te._owner}}function me(Te){return typeof Te=="object"&&Te!==null&&Te.$$typeof===n}function xe(Te){var Ze={"=":"=0",":":"=2"};return"$"+Te.replace(/[=:]/g,function(gt){return Ze[gt]})}var Be=/\/+/g;function Me(Te,Ze){return typeof Te=="object"&&Te!==null&&Te.key!=null?xe(""+Te.key):Ze.toString(36)}function We(Te,Ze,gt,Dt,pt){var Tt=typeof Te;(Tt==="undefined"||Tt==="boolean")&&(Te=null);var It=!1;if(Te===null)It=!0;else switch(Tt){case"string":case"number":It=!0;break;case"object":switch(Te.$$typeof){case n:case e:It=!0}}if(It)return It=Te,pt=pt(It),Te=Dt===""?"."+Me(It,0):Dt,te(pt)?(gt="",Te!=null&&(gt=Te.replace(Be,"$&/")+"/"),We(pt,Ze,gt,"",function(Ke){return Ke})):pt!=null&&(me(pt)&&(pt=ge(pt,gt+(!pt.key||It&&It.key===pt.key?"":(""+pt.key).replace(Be,"$&/")+"/")+Te)),Ze.push(pt)),1;if(It=0,Dt=Dt===""?".":Dt+":",te(Te))for(var Le=0;Le<Te.length;Le++){Tt=Te[Le];var Re=Dt+Me(Tt,Le);It+=We(Tt,Ze,gt,Re,pt)}else if(Re=D(Te),typeof Re=="function")for(Te=Re.call(Te),Le=0;!(Tt=Te.next()).done;)Tt=Tt.value,Re=Dt+Me(Tt,Le++),It+=We(Tt,Ze,gt,Re,pt);else if(Tt==="object")throw Ze=String(Te),Error("Objects are not valid as a React child (found: "+(Ze==="[object Object]"?"object with keys {"+Object.keys(Te).join(", ")+"}":Ze)+"). If you meant to render a collection of children, use an array instead.");return It}function be(Te,Ze,gt){if(Te==null)return Te;var Dt=[],pt=0;return We(Te,Dt,"","",function(Tt){return Ze.call(gt,Tt,pt++)}),Dt}function nt(Te){if(Te._status===-1){var Ze=Te._result;Ze=Ze(),Ze.then(function(gt){(Te._status===0||Te._status===-1)&&(Te._status=1,Te._result=gt)},function(gt){(Te._status===0||Te._status===-1)&&(Te._status=2,Te._result=gt)}),Te._status===-1&&(Te._status=0,Te._result=Ze)}if(Te._status===1)return Te._result.default;throw Te._result}var _t={current:null},at={transition:null},Je={ReactCurrentDispatcher:_t,ReactCurrentBatchConfig:at,ReactCurrentOwner:re};function Ne(){throw Error("act(...) is not supported in production builds of React.")}return gs.Children={map:be,forEach:function(Te,Ze,gt){be(Te,function(){Ze.apply(this,arguments)},gt)},count:function(Te){var Ze=0;return be(Te,function(){Ze++}),Ze},toArray:function(Te){return be(Te,function(Ze){return Ze})||[]},only:function(Te){if(!me(Te))throw Error("React.Children.only expected to receive a single React element child.");return Te}},gs.Component=W,gs.Fragment=t,gs.Profiler=i,gs.PureComponent=$,gs.StrictMode=r,gs.Suspense=f,gs.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Je,gs.act=Ne,gs.cloneElement=function(Te,Ze,gt){if(Te==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+Te+".");var Dt=U({},Te.props),pt=Te.key,Tt=Te.ref,It=Te._owner;if(Ze!=null){if(Ze.ref!==void 0&&(Tt=Ze.ref,It=re.current),Ze.key!==void 0&&(pt=""+Ze.key),Te.type&&Te.type.defaultProps)var Le=Te.type.defaultProps;for(Re in Ze)H.call(Ze,Re)&&!j.hasOwnProperty(Re)&&(Dt[Re]=Ze[Re]===void 0&&Le!==void 0?Le[Re]:Ze[Re])}var Re=arguments.lengthLine truncated
* @license React
* react-jsx-runtime.production.min.js
*
@@ -14,7 +14,7 @@
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var VI;function wj(){if(VI)return Mv;VI=1;var n=Va(),e=Symbol.for("react.element"),t=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,i=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function l(o,f,C){var w,B={},D=null,R=null;C!==void 0&&(D=""+C),f.key!==void 0&&(D=""+f.key),f.ref!==void 0&&(R=f.ref);for(w in f)r.call(f,w)&&!s.hasOwnProperty(w)&&(B[w]=f[w]);if(o&&o.defaultProps)for(w in f=o.defaultProps,f)B[w]===void 0&&(B[w]=f[w]);return{$$typeof:e,type:o,key:D,ref:R,props:B,_owner:i.current}}return Mv.Fragment=t,Mv.jsx=l,Mv.jsxs=l,Mv}var HI;function Sj(){return HI||(HI=1,V3.exports=wj()),V3.exports}var ae=Sj(),Hn=Va();const nr=zl(Hn);var fF={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},Ey=nr.createContext&&nr.createContext(fF),Ej=["attr","size","title"];function Bj(n,e){if(n==null)return{};var t=Oj(n,e),r,i;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(n);for(i=0;i<s.length;i++)r=s[i],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(n,r)&&(t[r]=n[r])}return t}function Oj(n,e){if(n==null)return{};var t={};for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)){if(e.indexOf(r)>=0)continue;t[r]=n[r]}return t}function A2(){return A2=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n},A2.apply(this,arguments)}function ZI(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable})),t.push.apply(t,r)}return t}function u2(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?ZI(Object(t),!0).forEach(function(r){Ij(n,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):ZI(Object(t)).forEach(function(r){Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(t,r))})}return n}function Ij(n,e,t){return e=Tj(e),e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function Tj(n){var e=kj(n,"string");return typeof e=="symbol"?e:e+""}function kj(n,e){if(typeof n!="object"||!n)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var r=t.call(n,e);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(n)}function pF(n){return n&&n.map((e,t)=>nr.createElement(e.tag,u2({key:t},e.attr),pF(e.child)))}function eA(n){return e=>nr.createElement(Pj,A2({attr:u2({},n.attr)},e),pF(n.child))}function Pj(n){var e=t=>{var{attr:r,size:i,title:s}=n,l=Bj(n,Ej),o=i||t.size||"1em",f;return t.className&&(f=t.className),n.className&&(f=(f?f+" ":"")+n.className),nr.createElement("svg",A2({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,r,l,{className:f,style:u2(u2({color:n.color||t.color},t.style),n.style),height:o,width:o,xmlns:"http://www.w3.org/2000/svg"}),s&&nr.createElement("title",null,s),n.children)};return Ey!==void 0?nr.createElement(Ey.Consumer,null,t=>e(t)):e(fF)}var rb={},Z3={exports:{}},vd={},X3={exports:{}},J3={};/**
*/var VI;function Sj(){if(VI)return Mv;VI=1;var n=Va(),e=Symbol.for("react.element"),t=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,i=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function l(o,f,C){var w,B={},D=null,R=null;C!==void 0&&(D=""+C),f.key!==void 0&&(D=""+f.key),f.ref!==void 0&&(R=f.ref);for(w in f)r.call(f,w)&&!s.hasOwnProperty(w)&&(B[w]=f[w]);if(o&&o.defaultProps)for(w in f=o.defaultProps,f)B[w]===void 0&&(B[w]=f[w]);return{$$typeof:e,type:o,key:D,ref:R,props:B,_owner:i.current}}return Mv.Fragment=t,Mv.jsx=l,Mv.jsxs=l,Mv}var HI;function Ej(){return HI||(HI=1,$3.exports=Sj()),$3.exports}var ae=Ej(),Hn=Va();const nr=Jl(Hn);var fF={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},Ey=nr.createContext&&nr.createContext(fF),Bj=["attr","size","title"];function Oj(n,e){if(n==null)return{};var t=Ij(n,e),r,i;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(n);for(i=0;i<s.length;i++)r=s[i],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(n,r)&&(t[r]=n[r])}return t}function Ij(n,e){if(n==null)return{};var t={};for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)){if(e.indexOf(r)>=0)continue;t[r]=n[r]}return t}function A2(){return A2=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n},A2.apply(this,arguments)}function ZI(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable})),t.push.apply(t,r)}return t}function u2(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?ZI(Object(t),!0).forEach(function(r){Tj(n,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):ZI(Object(t)).forEach(function(r){Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(t,r))})}return n}function Tj(n,e,t){return e=kj(e),e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function kj(n){var e=Pj(n,"string");return typeof e=="symbol"?e:e+""}function Pj(n,e){if(typeof n!="object"||!n)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var r=t.call(n,e);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(n)}function pF(n){return n&&n.map((e,t)=>nr.createElement(e.tag,u2({key:t},e.attr),pF(e.child)))}function eA(n){return e=>nr.createElement(Rj,A2({attr:u2({},n.attr)},e),pF(n.child))}function Rj(n){var e=t=>{var{attr:r,size:i,title:s}=n,l=Oj(n,Bj),o=i||t.size||"1em",f;return t.className&&(f=t.className),n.className&&(f=(f?f+" ":"")+n.className),nr.createElement("svg",A2({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,r,l,{className:f,style:u2(u2({color:n.color||t.color},t.style),n.style),height:o,width:o,xmlns:"http://www.w3.org/2000/svg"}),s&&nr.createElement("title",null,s),n.children)};return Ey!==void 0?nr.createElement(Ey.Consumer,null,t=>e(t)):e(fF)}var rb={},H3={exports:{}},vd={},Z3={exports:{}},X3={};/**
* @license React
* scheduler.production.min.js
*
@@ -22,7 +22,7 @@
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var XI;function Rj(){return XI||(XI=1,function(n){function e(at,Je){var Ne=at.length;at.push(Je);e:for(;0<Ne;){var Te=Ne-1>>>1,Ze=at[Te];if(0<i(Ze,Je))at[Te]=Je,at[Ne]=Ze,Ne=Te;else break e}}function t(at){return at.length===0?null:at[0]}function r(at){if(at.length===0)return null;var Je=at[0],Ne=at.pop();if(Ne!==Je){at[0]=Ne;e:for(var Te=0,Ze=at.length,gt=Ze>>>1;Te<gt;){var Dt=2*(Te+1)-1,pt=at[Dt],Tt=Dt+1,It=at[Tt];if(0>i(pt,Ne))Tt<Ze&&0>i(It,pt)?(at[Te]=It,at[Tt]=Ne,Te=Tt):(at[Te]=pt,at[Dt]=Ne,Te=Dt);else if(Tt<Ze&&0>i(It,Ne))at[Te]=It,at[Tt]=Ne,Te=Tt;else break e}}return Je}function i(at,Je){var Ne=at.sortIndex-Je.sortIndex;return Ne!==0?Ne:at.id-Je.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;n.unstable_now=function(){return s.now()}}else{var l=Date,o=l.now();n.unstable_now=function(){return l.now()-o}}var f=[],C=[],w=1,B=null,D=3,R=!1,U=!1,G=!1,W=typeof setTimeout=="function"?setTimeout:null,J=typeof clearTimeout=="function"?clearTimeout:null,$=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function oe(at){for(var Je=t(C);Je!==null;){if(Je.callback===null)r(C);else if(Je.startTime<=at)r(C),Je.sortIndex=Je.expirationTime,e(f,Je);else break;Je=t(C)}}function te(at){if(G=!1,oe(at),!U)if(t(f)!==null)U=!0,nt(H);else{var Je=t(C);Je!==null&&_t(te,Je.startTime-at)}}function H(at,Je){U=!1,G&&(G=!1,J(Ae),Ae=-1),R=!0;var Ne=D;try{for(oe(Je),B=t(f);B!==null&&(!(B.expirationTime>Je)||at&&!xe());){var Te=B.callback;if(typeof Te=="function"){B.callback=null,D=B.priorityLevel;var Ze=Te(B.expirationTime<=Je);Je=n.unstable_now(),typeof Ze=="function"?B.callback=Ze:B===t(f)&&r(f),oe(Je)}else r(f);B=t(f)}if(B!==null)var gt=!0;else{var Dt=t(C);Dt!==null&&_t(te,Dt.startTime-Je),gt=!1}return gt}finally{B=null,D=Ne,R=!1}}var re=!1,j=null,Ae=-1,ge=5,me=-1;function xe(){return!(n.unstable_now()-me<ge)}function Be(){if(j!==null){var at=n.unstable_now();me=at;var Je=!0;try{Je=j(!0,at)}finally{Je?Me():(re=!1,j=null)}}else re=!1}var Me;if(typeof $=="function")Me=function(){$(Be)};else if(typeof MessageChannel<"u"){var We=new MessageChannel,be=We.port2;We.port1.onmessage=Be,Me=function(){be.postMessage(null)}}else Me=function(){W(Be,0)};function nt(at){j=at,re||(re=!0,Me())}function _t(at,Je){Ae=W(function(){at(n.unstable_now())},Je)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(at){at.callback=null},n.unstable_continueExecution=function(){U||R||(U=!0,nt(H))},n.unstable_forceFrameRate=function(at){0>at||125<at?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ge=0<at?Math.floor(1e3/at):5},n.unstable_getCurrentPriorityLevel=function(){return D},n.unstable_getFirstCallbackNode=function(){return t(f)},n.unstable_next=function(at){switch(D){case 1:case 2:case 3:var Je=3;break;default:Je=D}var Ne=D;D=Je;try{return at()}finally{D=Ne}},n.unstable_pauseExecution=function(){},n.unstable_requestPaint=function(){},n.unstable_runWithPriority=function(at,Je){switch(at){case 1:case 2:case 3:case 4:case 5:break;default:at=3}var Ne=D;D=at;try{return Je()}finally{D=Ne}},n.unstable_scheduleCallback=function(at,Je,Ne){var Te=n.unstable_now();switch(typeof Ne=="object"&&Ne!==null?(Ne=Ne.delay,Ne=typeof Ne=="number"&&0<Ne?Te+Ne:Te):Ne=Te,at){case 1:var Ze=-1;break;case 2:Ze=250;break;case 5:Ze=1073741823;break;case 4:Ze=1e4;break;default:Ze=5e3}return Ze=Ne+Ze,at={id:w++,callback:Je,priorityLevel:at,startTime:Ne,expirationTime:Ze,sortIndex:-1},Ne>Te?(at.sortIndex=Ne,e(C,at),t(f)===null&&at===t(C)&&(G?(J(Ae),Ae=-1):G=!0,_t(te,Ne-Te))):(at.sortIndex=Ze,e(f,at),U||R||(U=!0,nt(H))),at},n.unstable_shouldYield=xe,n.unstable_wrapCallback=function(at){var Je=D;return function(){var Ne=D;D=Je;try{return at.apply(this,arguments)}finally{D=Ne}}}}(J3)),J3}var JI;function Dj(){return JI||(JI=1,X3.exports=Rj()),X3.exports}/**
*/var XI;function Dj(){return XI||(XI=1,function(n){function e(at,Je){var Ne=at.length;at.push(Je);e:for(;0<Ne;){var Te=Ne-1>>>1,Ze=at[Te];if(0<i(Ze,Je))at[Te]=Je,at[Ne]=Ze,Ne=Te;else break e}}function t(at){return at.length===0?null:at[0]}function r(at){if(at.length===0)return null;var Je=at[0],Ne=at.pop();if(Ne!==Je){at[0]=Ne;e:for(var Te=0,Ze=at.length,gt=Ze>>>1;Te<gt;){var Dt=2*(Te+1)-1,pt=at[Dt],Tt=Dt+1,It=at[Tt];if(0>i(pt,Ne))Tt<Ze&&0>i(It,pt)?(at[Te]=It,at[Tt]=Ne,Te=Tt):(at[Te]=pt,at[Dt]=Ne,Te=Dt);else if(Tt<Ze&&0>i(It,Ne))at[Te]=It,at[Tt]=Ne,Te=Tt;else break e}}return Je}function i(at,Je){var Ne=at.sortIndex-Je.sortIndex;return Ne!==0?Ne:at.id-Je.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;n.unstable_now=function(){return s.now()}}else{var l=Date,o=l.now();n.unstable_now=function(){return l.now()-o}}var f=[],C=[],w=1,B=null,D=3,R=!1,U=!1,G=!1,W=typeof setTimeout=="function"?setTimeout:null,J=typeof clearTimeout=="function"?clearTimeout:null,$=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function oe(at){for(var Je=t(C);Je!==null;){if(Je.callback===null)r(C);else if(Je.startTime<=at)r(C),Je.sortIndex=Je.expirationTime,e(f,Je);else break;Je=t(C)}}function te(at){if(G=!1,oe(at),!U)if(t(f)!==null)U=!0,nt(H);else{var Je=t(C);Je!==null&&_t(te,Je.startTime-at)}}function H(at,Je){U=!1,G&&(G=!1,J(Ae),Ae=-1),R=!0;var Ne=D;try{for(oe(Je),B=t(f);B!==null&&(!(B.expirationTime>Je)||at&&!xe());){var Te=B.callback;if(typeof Te=="function"){B.callback=null,D=B.priorityLevel;var Ze=Te(B.expirationTime<=Je);Je=n.unstable_now(),typeof Ze=="function"?B.callback=Ze:B===t(f)&&r(f),oe(Je)}else r(f);B=t(f)}if(B!==null)var gt=!0;else{var Dt=t(C);Dt!==null&&_t(te,Dt.startTime-Je),gt=!1}return gt}finally{B=null,D=Ne,R=!1}}var re=!1,j=null,Ae=-1,ge=5,me=-1;function xe(){return!(n.unstable_now()-me<ge)}function Be(){if(j!==null){var at=n.unstable_now();me=at;var Je=!0;try{Je=j(!0,at)}finally{Je?Me():(re=!1,j=null)}}else re=!1}var Me;if(typeof $=="function")Me=function(){$(Be)};else if(typeof MessageChannel<"u"){var We=new MessageChannel,be=We.port2;We.port1.onmessage=Be,Me=function(){be.postMessage(null)}}else Me=function(){W(Be,0)};function nt(at){j=at,re||(re=!0,Me())}function _t(at,Je){Ae=W(function(){at(n.unstable_now())},Je)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(at){at.callback=null},n.unstable_continueExecution=function(){U||R||(U=!0,nt(H))},n.unstable_forceFrameRate=function(at){0>at||125<at?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ge=0<at?Math.floor(1e3/at):5},n.unstable_getCurrentPriorityLevel=function(){return D},n.unstable_getFirstCallbackNode=function(){return t(f)},n.unstable_next=function(at){switch(D){case 1:case 2:case 3:var Je=3;break;default:Je=D}var Ne=D;D=Je;try{return at()}finally{D=Ne}},n.unstable_pauseExecution=function(){},n.unstable_requestPaint=function(){},n.unstable_runWithPriority=function(at,Je){switch(at){case 1:case 2:case 3:case 4:case 5:break;default:at=3}var Ne=D;D=at;try{return Je()}finally{D=Ne}},n.unstable_scheduleCallback=function(at,Je,Ne){var Te=n.unstable_now();switch(typeof Ne=="object"&&Ne!==null?(Ne=Ne.delay,Ne=typeof Ne=="number"&&0<Ne?Te+Ne:Te):Ne=Te,at){case 1:var Ze=-1;break;case 2:Ze=250;break;case 5:Ze=1073741823;break;case 4:Ze=1e4;break;default:Ze=5e3}return Ze=Ne+Ze,at={id:w++,callback:Je,priorityLevel:at,startTime:Ne,expirationTime:Ze,sortIndex:-1},Ne>Te?(at.sortIndex=Ne,e(C,at),t(f)===null&&at===t(C)&&(G?(J(Ae),Ae=-1):G=!0,_t(te,Ne-Te))):(at.sortIndex=Ze,e(f,at),U||R||(U=!0,nt(H))),at},n.unstable_shouldYield=xe,n.unstable_wrapCallback=function(at){var Je=D;return function(){var Ne=D;D=Je;try{return at.apply(this,arguments)}finally{D=Ne}}}}(X3)),X3}var JI;function Kj(){return JI||(JI=1,Z3.exports=Dj()),Z3.exports}/**
* @license React
* react-dom.production.min.js
*
@@ -30,28 +30,28 @@
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var e8;function Kj(){if(e8)return vd;e8=1;var n=Va(),e=Dj();function t(p){for(var _="https://reactjs.org/docs/error-decoder.html?invariant="+p,F=1;F<arguments.length;F++)_+="&args[]="+encodeURIComponent(arguments[F]);return"Minified React error #"+p+"; visit "+_+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=new Set,i={};function s(p,_){l(p,_),l(p+"Capture",_)}function l(p,_){for(i[p]=_,p=0;p<_.length;p++)r.add(_[p])}var o=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),f=Object.prototype.hasOwnProperty,C=/^[: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]*$/,w={},B={};function D(p){return f.call(B,p)?!0:f.call(w,p)?!1:C.test(p)?B[p]=!0:(w[p]=!0,!1)}function R(p,_,F,Q){if(F!==null&&F.type===0)return!1;switch(typeof _){case"function":case"symbol":return!0;case"boolean":return Q?!1:F!==null?!F.acceptsBooleans:(p=p.toLowerCase().slice(0,5),p!=="data-"&&p!=="aria-");default:return!1}}function U(p,_,F,Q){if(_===null||typeof _>"u"||R(p,_,F,Q))return!0;if(Q)return!1;if(F!==null)switch(F.type){case 3:return!_;case 4:return _===!1;case 5:return isNaN(_);case 6:return isNaN(_)||1>_}return!1}function G(p,_,F,Q,le,ye,tt){this.acceptsBooleans=_===2||_===3||_===4,this.attributeName=Q,this.attributeNamespace=le,this.mustUseProperty=F,this.propertyName=p,this.type=_,this.sanitizeURL=ye,this.removeEmptyString=tt}var W={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(p){W[p]=new G(p,0,!1,p,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(p){var _=p[0];W[_]=new G(_,1,!1,p[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(p){W[p]=new G(p,2,!1,p.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(p){W[p]=new G(p,2,!1,p,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(p){W[p]=new G(p,3,!1,p.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(p){W[p]=new G(p,3,!0,p,null,!1,!1)}),["capture","download"].forEach(function(p){W[p]=new G(p,4,!1,p,null,!1,!1)}),["cols","rows","size","span"].forEach(function(p){W[p]=new G(p,6,!1,p,null,!1,!1)}),["rowSpan","start"].forEach(function(p){W[p]=new G(p,5,!1,p.toLowerCase(),null,!1,!1)});var J=/[\-:]([a-z])/g;function $(p){return p[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-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(p){var _=p.replace(J,$);W[_]=new G(_,1,!1,p,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(p){var _=p.replace(J,$);W[_]=new G(_,1,!1,p,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(p){var _=p.replace(J,$);W[_]=new G(_,1,!1,p,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(p){W[p]=new G(p,1,!1,p.toLowerCase(),null,!1,!1)}),W.xlinkHref=new G("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(p){W[p]=new G(p,1,!1,p.toLowerCase(),null,!0,!0)});function oe(p,_,F,Q){var le=W.hasOwnProperty(_)?W[_]:null;(le!==null?le.type!==0:Q||!(2<_.length)||_[0]!=="o"&&_[0]!=="O"||_[1]!==" Line truncated
`+Te+p}var gt=!1;function Dt(p,_){if(!p||gt)return"";gt=!0;var F=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(_)if(_=function(){throw Error()},Object.defineProperty(_.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(_,[])}catch(yn){var Q=yn}Reflect.construct(p,[],_)}else{try{_.call()}catch(yn){Q=yn}p.call(_.prototype)}else{try{throw Error()}catch(yn){Q=yn}p()}}catch(yn){if(yn&&Q&&typeof yn.stack=="string"){for(var le=yn.stack.split(`
*/var e8;function Fj(){if(e8)return vd;e8=1;var n=Va(),e=Kj();function t(p){for(var _="https://reactjs.org/docs/error-decoder.html?invariant="+p,F=1;F<arguments.length;F++)_+="&args[]="+encodeURIComponent(arguments[F]);return"Minified React error #"+p+"; visit "+_+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=new Set,i={};function s(p,_){l(p,_),l(p+"Capture",_)}function l(p,_){for(i[p]=_,p=0;p<_.length;p++)r.add(_[p])}var o=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),f=Object.prototype.hasOwnProperty,C=/^[: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]*$/,w={},B={};function D(p){return f.call(B,p)?!0:f.call(w,p)?!1:C.test(p)?B[p]=!0:(w[p]=!0,!1)}function R(p,_,F,Q){if(F!==null&&F.type===0)return!1;switch(typeof _){case"function":case"symbol":return!0;case"boolean":return Q?!1:F!==null?!F.acceptsBooleans:(p=p.toLowerCase().slice(0,5),p!=="data-"&&p!=="aria-");default:return!1}}function U(p,_,F,Q){if(_===null||typeof _>"u"||R(p,_,F,Q))return!0;if(Q)return!1;if(F!==null)switch(F.type){case 3:return!_;case 4:return _===!1;case 5:return isNaN(_);case 6:return isNaN(_)||1>_}return!1}function G(p,_,F,Q,le,ye,tt){this.acceptsBooleans=_===2||_===3||_===4,this.attributeName=Q,this.attributeNamespace=le,this.mustUseProperty=F,this.propertyName=p,this.type=_,this.sanitizeURL=ye,this.removeEmptyString=tt}var W={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(p){W[p]=new G(p,0,!1,p,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(p){var _=p[0];W[_]=new G(_,1,!1,p[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(p){W[p]=new G(p,2,!1,p.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(p){W[p]=new G(p,2,!1,p,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(p){W[p]=new G(p,3,!1,p.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(p){W[p]=new G(p,3,!0,p,null,!1,!1)}),["capture","download"].forEach(function(p){W[p]=new G(p,4,!1,p,null,!1,!1)}),["cols","rows","size","span"].forEach(function(p){W[p]=new G(p,6,!1,p,null,!1,!1)}),["rowSpan","start"].forEach(function(p){W[p]=new G(p,5,!1,p.toLowerCase(),null,!1,!1)});var J=/[\-:]([a-z])/g;function $(p){return p[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-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(p){var _=p.replace(J,$);W[_]=new G(_,1,!1,p,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(p){var _=p.replace(J,$);W[_]=new G(_,1,!1,p,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(p){var _=p.replace(J,$);W[_]=new G(_,1,!1,p,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(p){W[p]=new G(p,1,!1,p.toLowerCase(),null,!1,!1)}),W.xlinkHref=new G("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(p){W[p]=new G(p,1,!1,p.toLowerCase(),null,!0,!0)});function oe(p,_,F,Q){var le=W.hasOwnProperty(_)?W[_]:null;(le!==null?le.type!==0:Q||!(2<_.length)||_[0]!=="o"&&_[0]!=="O"||_[1]!==" Line truncated
`+Te+p}var gt=!1;function Dt(p,_){if(!p||gt)return"";gt=!0;var F=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(_)if(_=function(){throw Error()},Object.defineProperty(_.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(_,[])}catch(vn){var Q=vn}Reflect.construct(p,[],_)}else{try{_.call()}catch(vn){Q=vn}p.call(_.prototype)}else{try{throw Error()}catch(vn){Q=vn}p()}}catch(vn){if(vn&&Q&&typeof vn.stack=="string"){for(var le=vn.stack.split(`
`),ye=Q.stack.split(`
`),tt=le.length-1,Pt=ye.length-1;1<=tt&&0<=Pt&&le[tt]!==ye[Pt];)Pt--;for(;1<=tt&&0<=Pt;tt--,Pt--)if(le[tt]!==ye[Pt]){if(tt!==1||Pt!==1)do if(tt--,Pt--,0>Pt||le[tt]!==ye[Pt]){var Gt=`
`+le[tt].replace(" at new "," at ");return p.displayName&&Gt.includes("<anonymous>")&&(Gt=Gt.replace("<anonymous>",p.displayName)),Gt}while(1<=tt&&0<=Pt);break}}}finally{gt=!1,Error.prepareStackTrace=F}return(p=p?p.displayName||p.name:"")?Ze(p):""}function pt(p){switch(p.tag){case 5:return Ze(p.type);case 16:return Ze("Lazy");case 13:return Ze("Suspense");case 19:return Ze("SuspenseList");case 0:case 2:case 15:return p=Dt(p.type,!1),p;case 11:return p=Dt(p.type.render,!1),p;case 1:return p=Dt(p.type,!0),p;default:return""}}function Tt(p){if(p==null)return null;if(typeof p=="function")return p.displayName||p.name||null;if(typeof p=="string")return p;switch(p){case j:return"Fragment";case re:return"Portal";case ge:return"Profiler";case Ae:return"StrictMode";case Me:return"Suspense";case We:return"SuspenseList"}if(typeof p=="object")switch(p.$$typeof){case xe:return(p.displayName||"Context")+".Consumer";case me:return(p._context.displayName||"Context")+".Provider";case Be:var _=p.render;return p=p.displayName,p||(p=_.displayName||_.name||"",p=p!==""?"ForwardRef("+p+")":"ForwardRef"),p;case be:return _=p.displayName||null,_!==null?_:Tt(p.type)||"Memo";case nt:_=p._payload,p=p._init;try{return Tt(p(_))}catch{}}return null}function It(p){var _=p.type;switch(p.tag){case 24:return"Cache";case 9:return(_.displayName||"Context")+".Consumer";case 10:return(_._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return p=_.render,p=p.displayName||p.name||"",_.displayName||(p!==""?"ForwardRef("+p+")":"ForwardRef");case 7:return"Fragment";case 5:return _;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Tt(_);case 8:return _===Ae?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof _=="function")return _.displayName||_.name||null;if(typeof _=="string")return _}return null}function Le(p){switch(typeof p){case"boolean":case"number":case"string":case"undefined":return p;case"object":return p;default:return""}}function Re(p){var _=p.type;return(p=p.nodeName)&&p.toLowerCase()==="input"&&(_==="checkbox"||_==="radio")}function Ke(p){var _=Re(p)?"checked":"value",F=Object.getOwnPropertyDescriptor(p.constructor.prototype,_),Q=""+p[_];if(!p.hasOwnProperty(_)&&typeof F<"u"&&typeof F.get=="function"&&typeof F.set=="function"){var le=F.get,ye=F.set;return Object.defineProperty(p,_,{configurable:!0,get:function(){return le.call(this)},set:function(tt){Q=""+tt,ye.call(this,tt)}}),Object.defineProperty(p,_,{enumerable:F.enumerable}),{getValue:function(){return Q},setValue:function(tt){Q=""+tt},stopTracking:function(){p._valueTracker=null,delete p[_]}}}}function $e(p){p._valueTracker||(p._valueTracker=Ke(p))}function bt(p){if(!p)return!1;var _=p._valueTracker;if(!_)return!0;var F=_.getValue(),Q="";return p&&(Q=Re(p)?p.checked?"true":"false":p.value),p=Q,p!==F?(_.setValue(p),!0):!1}function vt(p){if(p=p||(typeof document<"u"?document:void 0),typeof p>"u")return null;try{return p.activeElement||p.body}catch{return p.body}}function Ot(p,_){var F=_.checked;return Ne({},_,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:F??p._wrapperState.initialChecked})}function $t(p,_){var F=_.defaultValue==null?"":_.defaultValue,Q=_.checked!=null?_.checked:_.defaultChecked;F=Le(_.value!=null?_.value:F),p._wrapperState={initialChecked:Q,initialValue:F,controlled:_.type==="checkbox"||_.type==="radio"?_.checked!=null:_.value!=null}}function Kt(p,_){_=_.checked,_!=null&&oe(p,"checked",_,!1)}function un(p,_){Kt(p,_);var F=Le(_.value),Q=_.type;if(F!=null)Q==="number"?(F===0&&p.value===""||p.value!=F)&&(p.value=""+F):p.value!==""+F&&(p.value=""+F);else if(Q==="submit"||Q==="reset"){p.removeAttribute("value");return}_.hasOwnProperty("value")?Wt(p,_.type,F):_.hasOwnProperty("defaultValue")&&Wt(p,_.type,Le(_.defaultValue)),_.checked==null&&_.defaultChecked!=null&&(p.defaultChecked=!!_.defaultChecked)}function $n(p,_,F){if(_.hasOwnProperty("value")||_.hasOwnProperty("defaultValue")){var Q=_.type;if(!(Q!=="submit"&&Q!=="reset"||_.value!==void 0&&_.value!==null))return;_=""+p._wrapperState.initialValue,F||_===p.value||(p.value=_),p.defaultValue=_}F=p.name,F!==""&&(p.name=""),p.defaultChecked=!!p._wrapperState.initialChecked,F!==""&&(p.name=F)}function Wt(p,_,F){(_!=="number"||vt(p.ownerDocument)!==p)&&(F==null?p.defaultValue=""+p._wrapperState.initialValue:p.defaultValue!==""+F&&(p.defaultValue=""+F))}var Jn=Array.isArray;function Sn(p,_,F,Q){if(p=p.options,_){_={};for(var le=0;le<F.length;le++)_["$"+F[le]]=!0;for(F=0;F<p.length;F++)le=_.hasOwnProperty("$"+p[F].value),p[F].selected!==le&&(p[F].selected=le),le&&Q&&(p[F].defaultSelected=!0)}else{for(F=""+Le(F),_=null,le=0;le<p.length;le++){if(p[le].value===F){p[le].selected=!0,Q&&(p[le].defaultSelected=!0);return}_!==null||p[le].disabled||(_=p[le])}_!==null&&(_.selecte Line truncated
`).replace(ff,"")}function Cu(p,_,F){if(_=Dh(_),Dh(p)!==_&&F)throw Error(t(425))}function lc(){}var kc=null,el=null;function Gu(p,_){return p==="textarea"||p==="noscript"||typeof _.children=="string"||typeof _.children=="number"||typeof _.dangerouslySetInnerHTML=="object"&&_.dangerouslySetInnerHTML!==null&&_.dangerouslySetInnerHTML.__html!=null}var aA=typeof setTimeout=="function"?setTimeout:void 0,Ac=typeof clearTimeout=="function"?clearTimeout:void 0,OA=typeof Promise=="function"?Promise:void 0,Kh=typeof queueMicrotask=="function"?queueMicrotask:typeof OA<"u"?function(p){return OA.resolve(null).then(p).catch(Fh)}:aA;function Fh(p){setTimeout(function(){throw p})}function cd(p,_){var F=_,Q=0;do{var le=F.nextSibling;if(p.removeChild(F),le&&le.nodeType===8)if(F=le.data,F==="/$"){if(Q===0){p.removeChild(le),Wi(_);return}Q--}else F!=="$"&&F!=="$?"&&F!=="$!"||Q++;F=le}while(F);Wi(_)}function fs(p){for(;p!=null;p=p.nextSibling){var _=p.nodeType;if(_===1||_===3)break;if(_===8){if(_=p.data,_==="$"||_==="$!"||_==="$?")break;if(_==="/$")return null}}return p}function El(p){p=p.previousSibling;for(var _=0;p;){if(p.nodeType===8){var F=p.data;if(F==="$"||F==="$!"||F==="$?"){if(_===0)return p;_--}else F==="/$"&&_++}p=p.previousSibling}return null}var ha=Math.random().toString(36).slice(2),XA="__reactFiber$"+ha,_u="__reactProps$"+ha,IA="__reactContainer$"+ha,uc="__reactEvents$"+ha,ot="__reactListeners$"+ha,TA="__reactHandles$"+ha;function Qs(p){var _=p[XA];if(_)return _;for(var F=p.parentNode;F;){if(_=F[IA]||F[XA]){if(F=_.alternate,_.child!==null||F!==null&&F.child!==null)for(p=El(p);p!==null;){if(F=p[XA])return F;p=El(p)}return _}p=F,F=p.parentNode}return null}function Do(p){return p=p[XA]||p[IA],!p||p.tag!==5&&p.tag!==6&&p.tag!==13&&p.tag!==3?null:p}function di(p){if(p.tag===5||p.tag===6)return p.stateNode;throw Error(t(33))}function da(p){return p[_u]||null}var lh=[],Lh=-1;function Is(p){return{current:p}}function ps(p){0>Lh||(p.current=lh[Lh],lh[Lh]=null,Lh--)}function co(p,_){Lh++,lh[Lh]=p.current,p.current=_}var JA={},Ua=Is(JA),Yl=Is(!1),dl=JA;function ju(p,_){var F=p.type.contextTypes;if(!F)return JA;var Q=p.stateNode;if(Q&&Q.__reactInternalMemoizedUnmaskedChildContext===_)return Q.__reactInternalMemoizedMaskedChildContext;var le={},ye;for(ye in F)le[ye]=_[ye];return Q&&(p=p.stateNode,p.__reactInternalMemoizedUnmaskedChildContext=_,p.__reactInternalMemoizedMaskedChildContext=le),le}function fl(p){return p=p.childContextTypes,p!=null}function Wu(){ps(Yl),ps(Ua)}function pf(p,_,F){if(Ua.current!==JA)throw Error(t(168));co(Ua,_),co(Yl,F)}function ql(p,_,F){var Q=p.stateNode;if(_=_.childContextTypes,typeof Q.getChildContext!="function")return F;Q=Q.getChildContext();for(var le in Q)if(!(le in _))throw Error(t(108,It(p)||"Unknown",le));return Ne({},F,Q)}function ta(p){return p=(p=p.stateNode)&&p.__reactInternalMemoizedMergedChildContext||JA,dl=Ua.current,co(Ua,p),co(Yl,Yl.current),!0}function Ah(p,_,F){var Q=p.stateNode;if(!Q)throw Error(t(169));F?(p=ql(p,_,dl),Q.__reactInternalMemoizedMergedChildContext=p,ps(Yl),ps(Ua),co(Ua,p)):ps(Yl),co(Yl,F)}var fa=null,Pc=!1,hd=!1;function kA(p){fa===null?fa=[p]:fa.push(p)}function uh(p){Pc=!0,kA(p)}function ch(){if(!hd&&fa!==null){hd=!0;var p=0,_=mi;try{var F=fa;for(mi=1;p<F.length;p++){var Q=F[p];do Q=Q(!0);while(Q!==null)}fa=null,Pc=!1}catch(le){throw fa!==null&&(fa=fa.slice(p+1)),Aa(Os,ch),le}finally{mi=_,hd=!1}}return null}var Qu=[],Ho=0,Yi=null,ar=0,Ta=[],wa=0,cc=null,Bl=1,Ol="";function hc(p,_){Qu[Ho++]=ar,Qu[Ho++]=Yi,Yi=p,ar=_}function Ji(p,_,F){Ta[wa++]=Bl,Ta[wa++]=Ol,Ta[wa++]=cc,cc=p;var Q=Bl;p=Ol;var le=32-mn(Q)-1;Q&=~(1<<le),F+=1;var ye=32-mn(_)+le;if(30<ye){var tt=le-le%5;ye=(Q&(1<<tt)-1).toString(32),Q>>=tt,le-=tt,Bl=1<<32-mn(_)+le|F<<le|Q,Ol=ye+p}else Bl=1<<ye|F<<le|Q,Ol=p}function bu(p){p.return!==null&&(hc(p,1),Ji(p,1,0))}function hh(p){for(;p===Yi;)Yi=Qu[--Ho],Qu[Ho]=null,ar=Qu[--Ho],Qu[Ho]=null;for(;p===cc;)cc=Ta[--wa],Ta[wa]=null,Ol=Ta[--wa],Ta[wa]=null,Bl=Ta[--wa],Ta[wa]=null}var ka=null,za=null,Ts=!1,PA=null;function xu(p,_){var F=Nc(5,null,null,0);F.elementType="DELETED",F.stateNode=_,F.return=p,_=p.deletions,_===null?(p.deletions=[F],p.flags|=16):_.push(F)}function dh(p,_){switch(p.tag){case 5:var F=p.type;return _=_.nodeType!==1||F.toLowerCase()!==_.nodeName.toLowerCase()?null:_,_!==null?(p.stateNode=_,ka=p,za=fs(_.firstChild),!0):!1;case 6:return _=p.pendingProps===""||_.nodeType!==3?null:_,_!==null?(p.stateNode=_,ka=p,za=null,!0):!1;case 13:return _=_.nodeType!==8?null:_,_!==null?(F=cc!==null?{id:Bl,overflow:Ol}:null,p.memoizedState={dehydrated:_,treeContext:F,retryLane:1073741824},F=Nc(18,null,null,0),F.stateNode=_,F.return=p,p.child=F,ka=p,za=null,!0):!1;default:return!1}}function Mu(p){return(p.mode&1)!==0&&(p.flags&128)===0}function Il(p){if(Ts){var _=za;if(_){var F=_;if(!dh(p,_)){if(Mu(p))throw Error(t(418));_=fs(F.nextSibling);var Q=ka;_&&dh(p,_)?xu(Q,F):(p.flags=p.flags&-4097|2,Ts=!1,ka=p)}}else{if(Mu(p))throw Error(t(418));p.flags=p.flags&-4097| Line truncated
`+le[tt].replace(" at new "," at ");return p.displayName&&Gt.includes("<anonymous>")&&(Gt=Gt.replace("<anonymous>",p.displayName)),Gt}while(1<=tt&&0<=Pt);break}}}finally{gt=!1,Error.prepareStackTrace=F}return(p=p?p.displayName||p.name:"")?Ze(p):""}function pt(p){switch(p.tag){case 5:return Ze(p.type);case 16:return Ze("Lazy");case 13:return Ze("Suspense");case 19:return Ze("SuspenseList");case 0:case 2:case 15:return p=Dt(p.type,!1),p;case 11:return p=Dt(p.type.render,!1),p;case 1:return p=Dt(p.type,!0),p;default:return""}}function Tt(p){if(p==null)return null;if(typeof p=="function")return p.displayName||p.name||null;if(typeof p=="string")return p;switch(p){case j:return"Fragment";case re:return"Portal";case ge:return"Profiler";case Ae:return"StrictMode";case Me:return"Suspense";case We:return"SuspenseList"}if(typeof p=="object")switch(p.$$typeof){case xe:return(p.displayName||"Context")+".Consumer";case me:return(p._context.displayName||"Context")+".Provider";case Be:var _=p.render;return p=p.displayName,p||(p=_.displayName||_.name||"",p=p!==""?"ForwardRef("+p+")":"ForwardRef"),p;case be:return _=p.displayName||null,_!==null?_:Tt(p.type)||"Memo";case nt:_=p._payload,p=p._init;try{return Tt(p(_))}catch{}}return null}function It(p){var _=p.type;switch(p.tag){case 24:return"Cache";case 9:return(_.displayName||"Context")+".Consumer";case 10:return(_._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return p=_.render,p=p.displayName||p.name||"",_.displayName||(p!==""?"ForwardRef("+p+")":"ForwardRef");case 7:return"Fragment";case 5:return _;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Tt(_);case 8:return _===Ae?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof _=="function")return _.displayName||_.name||null;if(typeof _=="string")return _}return null}function Le(p){switch(typeof p){case"boolean":case"number":case"string":case"undefined":return p;case"object":return p;default:return""}}function Re(p){var _=p.type;return(p=p.nodeName)&&p.toLowerCase()==="input"&&(_==="checkbox"||_==="radio")}function Ke(p){var _=Re(p)?"checked":"value",F=Object.getOwnPropertyDescriptor(p.constructor.prototype,_),Q=""+p[_];if(!p.hasOwnProperty(_)&&typeof F<"u"&&typeof F.get=="function"&&typeof F.set=="function"){var le=F.get,ye=F.set;return Object.defineProperty(p,_,{configurable:!0,get:function(){return le.call(this)},set:function(tt){Q=""+tt,ye.call(this,tt)}}),Object.defineProperty(p,_,{enumerable:F.enumerable}),{getValue:function(){return Q},setValue:function(tt){Q=""+tt},stopTracking:function(){p._valueTracker=null,delete p[_]}}}}function $e(p){p._valueTracker||(p._valueTracker=Ke(p))}function bt(p){if(!p)return!1;var _=p._valueTracker;if(!_)return!0;var F=_.getValue(),Q="";return p&&(Q=Re(p)?p.checked?"true":"false":p.value),p=Q,p!==F?(_.setValue(p),!0):!1}function vt(p){if(p=p||(typeof document<"u"?document:void 0),typeof p>"u")return null;try{return p.activeElement||p.body}catch{return p.body}}function Ot(p,_){var F=_.checked;return Ne({},_,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:F??p._wrapperState.initialChecked})}function $t(p,_){var F=_.defaultValue==null?"":_.defaultValue,Q=_.checked!=null?_.checked:_.defaultChecked;F=Le(_.value!=null?_.value:F),p._wrapperState={initialChecked:Q,initialValue:F,controlled:_.type==="checkbox"||_.type==="radio"?_.checked!=null:_.value!=null}}function Kt(p,_){_=_.checked,_!=null&&oe(p,"checked",_,!1)}function un(p,_){Kt(p,_);var F=Le(_.value),Q=_.type;if(F!=null)Q==="number"?(F===0&&p.value===""||p.value!=F)&&(p.value=""+F):p.value!==""+F&&(p.value=""+F);else if(Q==="submit"||Q==="reset"){p.removeAttribute("value");return}_.hasOwnProperty("value")?Wt(p,_.type,F):_.hasOwnProperty("defaultValue")&&Wt(p,_.type,Le(_.defaultValue)),_.checked==null&&_.defaultChecked!=null&&(p.defaultChecked=!!_.defaultChecked)}function $n(p,_,F){if(_.hasOwnProperty("value")||_.hasOwnProperty("defaultValue")){var Q=_.type;if(!(Q!=="submit"&&Q!=="reset"||_.value!==void 0&&_.value!==null))return;_=""+p._wrapperState.initialValue,F||_===p.value||(p.value=_),p.defaultValue=_}F=p.name,F!==""&&(p.name=""),p.defaultChecked=!!p._wrapperState.initialChecked,F!==""&&(p.name=F)}function Wt(p,_,F){(_!=="number"||vt(p.ownerDocument)!==p)&&(F==null?p.defaultValue=""+p._wrapperState.initialValue:p.defaultValue!==""+F&&(p.defaultValue=""+F))}var Jn=Array.isArray;function Sn(p,_,F,Q){if(p=p.options,_){_={};for(var le=0;le<F.length;le++)_["$"+F[le]]=!0;for(F=0;F<p.length;F++)le=_.hasOwnProperty("$"+p[F].value),p[F].selected!==le&&(p[F].selected=le),le&&Q&&(p[F].defaultSelected=!0)}else{for(F=""+Le(F),_=null,le=0;le<p.length;le++){if(p[le].value===F){p[le].selected=!0,Q&&(p[le].defaultSelected=!0);return}_!==null||p[le].disabled||(_=p[le])}_!==null&&(_.selecte Line truncated
`).replace(ff,"")}function Cu(p,_,F){if(_=Dh(_),Dh(p)!==_&&F)throw Error(t(425))}function lc(){}var kc=null,el=null;function Gu(p,_){return p==="textarea"||p==="noscript"||typeof _.children=="string"||typeof _.children=="number"||typeof _.dangerouslySetInnerHTML=="object"&&_.dangerouslySetInnerHTML!==null&&_.dangerouslySetInnerHTML.__html!=null}var aA=typeof setTimeout=="function"?setTimeout:void 0,Ac=typeof clearTimeout=="function"?clearTimeout:void 0,OA=typeof Promise=="function"?Promise:void 0,Kh=typeof queueMicrotask=="function"?queueMicrotask:typeof OA<"u"?function(p){return OA.resolve(null).then(p).catch(Fh)}:aA;function Fh(p){setTimeout(function(){throw p})}function cd(p,_){var F=_,Q=0;do{var le=F.nextSibling;if(p.removeChild(F),le&&le.nodeType===8)if(F=le.data,F==="/$"){if(Q===0){p.removeChild(le),Wi(_);return}Q--}else F!=="$"&&F!=="$?"&&F!=="$!"||Q++;F=le}while(F);Wi(_)}function fs(p){for(;p!=null;p=p.nextSibling){var _=p.nodeType;if(_===1||_===3)break;if(_===8){if(_=p.data,_==="$"||_==="$!"||_==="$?")break;if(_==="/$")return null}}return p}function El(p){p=p.previousSibling;for(var _=0;p;){if(p.nodeType===8){var F=p.data;if(F==="$"||F==="$!"||F==="$?"){if(_===0)return p;_--}else F==="/$"&&_++}p=p.previousSibling}return null}var ha=Math.random().toString(36).slice(2),XA="__reactFiber$"+ha,_u="__reactProps$"+ha,IA="__reactContainer$"+ha,uc="__reactEvents$"+ha,ot="__reactListeners$"+ha,TA="__reactHandles$"+ha;function Qs(p){var _=p[XA];if(_)return _;for(var F=p.parentNode;F;){if(_=F[IA]||F[XA]){if(F=_.alternate,_.child!==null||F!==null&&F.child!==null)for(p=El(p);p!==null;){if(F=p[XA])return F;p=El(p)}return _}p=F,F=p.parentNode}return null}function Do(p){return p=p[XA]||p[IA],!p||p.tag!==5&&p.tag!==6&&p.tag!==13&&p.tag!==3?null:p}function di(p){if(p.tag===5||p.tag===6)return p.stateNode;throw Error(t(33))}function da(p){return p[_u]||null}var lh=[],Lh=-1;function Is(p){return{current:p}}function ps(p){0>Lh||(p.current=lh[Lh],lh[Lh]=null,Lh--)}function co(p,_){Lh++,lh[Lh]=p.current,p.current=_}var JA={},Ua=Is(JA),Ql=Is(!1),dl=JA;function ju(p,_){var F=p.type.contextTypes;if(!F)return JA;var Q=p.stateNode;if(Q&&Q.__reactInternalMemoizedUnmaskedChildContext===_)return Q.__reactInternalMemoizedMaskedChildContext;var le={},ye;for(ye in F)le[ye]=_[ye];return Q&&(p=p.stateNode,p.__reactInternalMemoizedUnmaskedChildContext=_,p.__reactInternalMemoizedMaskedChildContext=le),le}function fl(p){return p=p.childContextTypes,p!=null}function Wu(){ps(Ql),ps(Ua)}function pf(p,_,F){if(Ua.current!==JA)throw Error(t(168));co(Ua,_),co(Ql,F)}function Yl(p,_,F){var Q=p.stateNode;if(_=_.childContextTypes,typeof Q.getChildContext!="function")return F;Q=Q.getChildContext();for(var le in Q)if(!(le in _))throw Error(t(108,It(p)||"Unknown",le));return Ne({},F,Q)}function ta(p){return p=(p=p.stateNode)&&p.__reactInternalMemoizedMergedChildContext||JA,dl=Ua.current,co(Ua,p),co(Ql,Ql.current),!0}function Ah(p,_,F){var Q=p.stateNode;if(!Q)throw Error(t(169));F?(p=Yl(p,_,dl),Q.__reactInternalMemoizedMergedChildContext=p,ps(Ql),ps(Ua),co(Ua,p)):ps(Ql),co(Ql,F)}var fa=null,Pc=!1,hd=!1;function kA(p){fa===null?fa=[p]:fa.push(p)}function uh(p){Pc=!0,kA(p)}function ch(){if(!hd&&fa!==null){hd=!0;var p=0,_=mi;try{var F=fa;for(mi=1;p<F.length;p++){var Q=F[p];do Q=Q(!0);while(Q!==null)}fa=null,Pc=!1}catch(le){throw fa!==null&&(fa=fa.slice(p+1)),Aa(Os,ch),le}finally{mi=_,hd=!1}}return null}var Qu=[],Ho=0,Yi=null,ar=0,Ta=[],wa=0,cc=null,Bl=1,Ol="";function hc(p,_){Qu[Ho++]=ar,Qu[Ho++]=Yi,Yi=p,ar=_}function Ji(p,_,F){Ta[wa++]=Bl,Ta[wa++]=Ol,Ta[wa++]=cc,cc=p;var Q=Bl;p=Ol;var le=32-mn(Q)-1;Q&=~(1<<le),F+=1;var ye=32-mn(_)+le;if(30<ye){var tt=le-le%5;ye=(Q&(1<<tt)-1).toString(32),Q>>=tt,le-=tt,Bl=1<<32-mn(_)+le|F<<le|Q,Ol=ye+p}else Bl=1<<ye|F<<le|Q,Ol=p}function bu(p){p.return!==null&&(hc(p,1),Ji(p,1,0))}function hh(p){for(;p===Yi;)Yi=Qu[--Ho],Qu[Ho]=null,ar=Qu[--Ho],Qu[Ho]=null;for(;p===cc;)cc=Ta[--wa],Ta[wa]=null,Ol=Ta[--wa],Ta[wa]=null,Bl=Ta[--wa],Ta[wa]=null}var ka=null,za=null,Ts=!1,PA=null;function xu(p,_){var F=Nc(5,null,null,0);F.elementType="DELETED",F.stateNode=_,F.return=p,_=p.deletions,_===null?(p.deletions=[F],p.flags|=16):_.push(F)}function dh(p,_){switch(p.tag){case 5:var F=p.type;return _=_.nodeType!==1||F.toLowerCase()!==_.nodeName.toLowerCase()?null:_,_!==null?(p.stateNode=_,ka=p,za=fs(_.firstChild),!0):!1;case 6:return _=p.pendingProps===""||_.nodeType!==3?null:_,_!==null?(p.stateNode=_,ka=p,za=null,!0):!1;case 13:return _=_.nodeType!==8?null:_,_!==null?(F=cc!==null?{id:Bl,overflow:Ol}:null,p.memoizedState={dehydrated:_,treeContext:F,retryLane:1073741824},F=Nc(18,null,null,0),F.stateNode=_,F.return=p,p.child=F,ka=p,za=null,!0):!1;default:return!1}}function Mu(p){return(p.mode&1)!==0&&(p.flags&128)===0}function Il(p){if(Ts){var _=za;if(_){var F=_;if(!dh(p,_)){if(Mu(p))throw Error(t(418));_=fs(F.nextSibling);var Q=ka;_&&dh(p,_)?xu(Q,F):(p.flags=p.flags&-4097|2,Ts=!1,ka=p)}}else{if(Mu(p))throw Error(t(418));p.flags=p.flags&-4097| Line truncated
Error generating stack: `+ye.message+`
`+ye.stack}return{value:p,source:_,stack:le,digest:null}}function jh(p,_,F){return{value:p,source:null,stack:F??null,digest:_??null}}function su(p,_){try{console.error(_.value)}catch(F){setTimeout(function(){throw F})}}var Hu=typeof WeakMap=="function"?WeakMap:Map;function fd(p,_,F){F=lA(-1,F),F.tag=3,F.payload={element:null};var Q=_.value;return F.callback=function(){Zm||(Zm=!0,V0=Q),su(p,_)},F}function Vf(p,_,F){F=lA(-1,F),F.tag=3;var Q=p.type.getDerivedStateFromError;if(typeof Q=="function"){var le=_.value;F.payload=function(){return Q(le)},F.callback=function(){su(p,_)}}var ye=p.stateNode;return ye!==null&&typeof ye.componentDidCatch=="function"&&(F.callback=function(){su(p,_),typeof Q!="function"&&(zc===null?zc=new Set([this]):zc.add(this));var tt=_.stack;this.componentDidCatch(_.value,{componentStack:tt!==null?tt:""})}),F}function Rd(p,_,F){var Q=p.pingCache;if(Q===null){Q=p.pingCache=new Hu;var le=new Set;Q.set(_,le)}else le=Q.get(_),le===void 0&&(le=new Set,Q.set(_,le));le.has(F)||(le.add(F),p=cg.bind(null,p,_,F),_.then(p,p))}function zp(p){do{var _;if((_=p.tag===13)&&(_=p.memoizedState,_=_!==null?_.dehydrated!==null:!0),_)return p;p=p.return}while(p!==null);return null}function pd(p,_,F,Q,le){return(p.mode&1)===0?(p===_?p.flags|=65536:(p.flags|=128,F.flags|=131072,F.flags&=-52805,F.tag===1&&(F.alternate===null?F.tag=17:(_=lA(-1,1),_.tag=2,Ra(F,_,1))),F.lanes|=1),p):(p.flags|=65536,p.lanes=le,p)}var gf=te.ReactCurrentOwner,Vl=!1;function kl(p,_,F,Q){_.child=p===null?dc(_,null,F,Q):Qo(_,p.child,F,Q)}function Hm(p,_,F,Q,le){F=F.render;var ye=_.ref;return Na(_,le),Q=Lt(p,_,F,Q,ye,le),F=wt(),p!==null&&!Vl?(_.updateQueue=p.updateQueue,_.flags&=-2053,p.lanes&=~le,yl(p,_,le)):(Ts&&F&&bu(_),_.flags|=1,kl(p,_,Q,le),_.child)}function Hf(p,_,F,Q,le){if(p===null){var ye=F.type;return typeof ye=="function"&&!Wp(ye)&&ye.defaultProps===void 0&&F.compare===null&&F.defaultProps===void 0?(_.tag=15,_.type=ye,Yo(p,_,ye,Q,le)):(p=i0(F.type,null,Q,_,_.mode,le),p.ref=_.ref,p.return=_,_.child=p)}if(ye=p.child,(p.lanes&le)===0){var tt=ye.memoizedProps;if(F=F.compare,F=F!==null?F:kr,F(tt,Q)&&p.ref===_.ref)return yl(p,_,le)}return _.flags|=1,p=Ch(ye,Q),p.ref=_.ref,p.return=_,_.child=p}function Yo(p,_,F,Q,le){if(p!==null){var ye=p.memoizedProps;if(kr(ye,Q)&&p.ref===_.ref)if(Vl=!1,_.pendingProps=Q=ye,(p.lanes&le)!==0)(p.flags&131072)!==0&&(Vl=!0);else return _.lanes=p.lanes,yl(p,_,le)}return Dd(p,_,F,Q,le)}function Np(p,_,F){var Q=_.pendingProps,le=Q.children,ye=p!==null?p.memoizedState:null;if(Q.mode==="hidden")if((_.mode&1)===0)_.memoizedState={baseLanes:0,cachePool:null,transitions:null},co(FA,ks),ks|=F;else{if((F&1073741824)===0)return p=ye!==null?ye.baseLanes|F:F,_.lanes=_.childLanes=1073741824,_.memoizedState={baseLanes:p,cachePool:null,transitions:null},_.updateQueue=null,co(FA,ks),ks|=p,null;_.memoizedState={baseLanes:0,cachePool:null,transitions:null},Q=ye!==null?ye.baseLanes:F,co(FA,ks),ks|=Q}else ye!==null?(Q=ye.baseLanes|F,_.memoizedState=null):Q=F,co(FA,ks),ks|=Q;return kl(p,_,le,F),_.child}function mh(p,_){var F=_.ref;(p===null&&F!==null||p!==null&&p.ref!==F)&&(_.flags|=512,_.flags|=2097152)}function Dd(p,_,F,Q,le){var ye=fl(F)?dl:Ua.current;return ye=ju(_,ye),Na(_,le),F=Lt(p,_,F,Q,ye,le),Q=wt(),p!==null&&!Vl?(_.updateQueue=p.updateQueue,_.flags&=-2053,p.lanes&=~le,yl(p,_,le)):(Ts&&Q&&bu(_),_.flags|=1,kl(p,_,F,le),_.child)}function cA(p,_,F,Q,le){if(fl(F)){var ye=!0;ta(_)}else ye=!1;if(Na(_,le),_.stateNode===null)_f(p,_),tl(_,F,Q),Pd(_,F,Q,le),Q=!0;else if(p===null){var tt=_.stateNode,Pt=_.memoizedProps;tt.props=Pt;var Gt=tt.context,yn=F.contextType;typeof yn=="object"&&yn!==null?yn=ru(yn):(yn=fl(F)?dl:Ua.current,yn=ju(_,yn));var tr=F.getDerivedStateFromProps,Vn=typeof tr=="function"||typeof tt.getSnapshotBeforeUpdate=="function";Vn||typeof tt.UNSAFE_componentWillReceiveProps!="function"&&typeof tt.componentWillReceiveProps!="function"||(Pt!==Q||Gt!==yn)&&Gh(_,tt,Q,yn),ml=!1;var Un=_.memoizedState;tt.state=Un,Eu(_,Q,tt,le),Gt=_.memoizedState,Pt!==Q||Un!==Gt||Yl.current||ml?(typeof tr=="function"&&(DA(_,F,tr,Q),Gt=_.memoizedState),(Pt=ml||mf(_,F,Pt,Q,Un,Gt,yn))?(Vn||typeof tt.UNSAFE_componentWillMount!="function"&&typeof tt.componentWillMount!="function"||(typeof tt.componentWillMount=="function"&&tt.componentWillMount(),typeof tt.UNSAFE_componentWillMount=="function"&&tt.UNSAFE_componentWillMount()),typeof tt.componentDidMount=="function"&&(_.flags|=4194308)):(typeof tt.componentDidMount=="function"&&(_.flags|=4194308),_.memoizedProps=Q,_.memoizedState=Gt),tt.props=Q,tt.state=Gt,tt.context=yn,Q=Pt):(typeof tt.componentDidMount=="function"&&(_.flags|=4194308),Q=!1)}else{tt=_.stateNode,Kc(p,_),Pt=_.memoizedProps,yn=_.type===_.elementType?Pt:ra(_.type,Pt),tt.props=yn,Vn=_.pendingProps,Un=tt.context,Gt=F.contextType,typeof Gt=="object"&&Gt!==null?Gt=ru(Gt):(Gt=fl(F)?dl:Ua.current,Gt=ju(_,Gt));var zr=F.getDerivedStateFromProps;(tr=typeof zr=="function"||typeof tt.getSnapshotBeforeUpdate=="function")||typeof tt.UNSAFE_ Line truncated
`+ye.stack}return{value:p,source:_,stack:le,digest:null}}function jh(p,_,F){return{value:p,source:null,stack:F??null,digest:_??null}}function su(p,_){try{console.error(_.value)}catch(F){setTimeout(function(){throw F})}}var Hu=typeof WeakMap=="function"?WeakMap:Map;function fd(p,_,F){F=lA(-1,F),F.tag=3,F.payload={element:null};var Q=_.value;return F.callback=function(){Zm||(Zm=!0,V0=Q),su(p,_)},F}function Vf(p,_,F){F=lA(-1,F),F.tag=3;var Q=p.type.getDerivedStateFromError;if(typeof Q=="function"){var le=_.value;F.payload=function(){return Q(le)},F.callback=function(){su(p,_)}}var ye=p.stateNode;return ye!==null&&typeof ye.componentDidCatch=="function"&&(F.callback=function(){su(p,_),typeof Q!="function"&&(zc===null?zc=new Set([this]):zc.add(this));var tt=_.stack;this.componentDidCatch(_.value,{componentStack:tt!==null?tt:""})}),F}function Rd(p,_,F){var Q=p.pingCache;if(Q===null){Q=p.pingCache=new Hu;var le=new Set;Q.set(_,le)}else le=Q.get(_),le===void 0&&(le=new Set,Q.set(_,le));le.has(F)||(le.add(F),p=cg.bind(null,p,_,F),_.then(p,p))}function zp(p){do{var _;if((_=p.tag===13)&&(_=p.memoizedState,_=_!==null?_.dehydrated!==null:!0),_)return p;p=p.return}while(p!==null);return null}function pd(p,_,F,Q,le){return(p.mode&1)===0?(p===_?p.flags|=65536:(p.flags|=128,F.flags|=131072,F.flags&=-52805,F.tag===1&&(F.alternate===null?F.tag=17:(_=lA(-1,1),_.tag=2,Ra(F,_,1))),F.lanes|=1),p):(p.flags|=65536,p.lanes=le,p)}var gf=te.ReactCurrentOwner,$l=!1;function kl(p,_,F,Q){_.child=p===null?dc(_,null,F,Q):Qo(_,p.child,F,Q)}function Hm(p,_,F,Q,le){F=F.render;var ye=_.ref;return Na(_,le),Q=Lt(p,_,F,Q,ye,le),F=wt(),p!==null&&!$l?(_.updateQueue=p.updateQueue,_.flags&=-2053,p.lanes&=~le,yl(p,_,le)):(Ts&&F&&bu(_),_.flags|=1,kl(p,_,Q,le),_.child)}function Hf(p,_,F,Q,le){if(p===null){var ye=F.type;return typeof ye=="function"&&!Wp(ye)&&ye.defaultProps===void 0&&F.compare===null&&F.defaultProps===void 0?(_.tag=15,_.type=ye,Yo(p,_,ye,Q,le)):(p=i0(F.type,null,Q,_,_.mode,le),p.ref=_.ref,p.return=_,_.child=p)}if(ye=p.child,(p.lanes&le)===0){var tt=ye.memoizedProps;if(F=F.compare,F=F!==null?F:kr,F(tt,Q)&&p.ref===_.ref)return yl(p,_,le)}return _.flags|=1,p=Ch(ye,Q),p.ref=_.ref,p.return=_,_.child=p}function Yo(p,_,F,Q,le){if(p!==null){var ye=p.memoizedProps;if(kr(ye,Q)&&p.ref===_.ref)if($l=!1,_.pendingProps=Q=ye,(p.lanes&le)!==0)(p.flags&131072)!==0&&($l=!0);else return _.lanes=p.lanes,yl(p,_,le)}return Dd(p,_,F,Q,le)}function Np(p,_,F){var Q=_.pendingProps,le=Q.children,ye=p!==null?p.memoizedState:null;if(Q.mode==="hidden")if((_.mode&1)===0)_.memoizedState={baseLanes:0,cachePool:null,transitions:null},co(FA,ks),ks|=F;else{if((F&1073741824)===0)return p=ye!==null?ye.baseLanes|F:F,_.lanes=_.childLanes=1073741824,_.memoizedState={baseLanes:p,cachePool:null,transitions:null},_.updateQueue=null,co(FA,ks),ks|=p,null;_.memoizedState={baseLanes:0,cachePool:null,transitions:null},Q=ye!==null?ye.baseLanes:F,co(FA,ks),ks|=Q}else ye!==null?(Q=ye.baseLanes|F,_.memoizedState=null):Q=F,co(FA,ks),ks|=Q;return kl(p,_,le,F),_.child}function mh(p,_){var F=_.ref;(p===null&&F!==null||p!==null&&p.ref!==F)&&(_.flags|=512,_.flags|=2097152)}function Dd(p,_,F,Q,le){var ye=fl(F)?dl:Ua.current;return ye=ju(_,ye),Na(_,le),F=Lt(p,_,F,Q,ye,le),Q=wt(),p!==null&&!$l?(_.updateQueue=p.updateQueue,_.flags&=-2053,p.lanes&=~le,yl(p,_,le)):(Ts&&Q&&bu(_),_.flags|=1,kl(p,_,F,le),_.child)}function cA(p,_,F,Q,le){if(fl(F)){var ye=!0;ta(_)}else ye=!1;if(Na(_,le),_.stateNode===null)_f(p,_),tl(_,F,Q),Pd(_,F,Q,le),Q=!0;else if(p===null){var tt=_.stateNode,Pt=_.memoizedProps;tt.props=Pt;var Gt=tt.context,vn=F.contextType;typeof vn=="object"&&vn!==null?vn=ru(vn):(vn=fl(F)?dl:Ua.current,vn=ju(_,vn));var tr=F.getDerivedStateFromProps,Vn=typeof tr=="function"||typeof tt.getSnapshotBeforeUpdate=="function";Vn||typeof tt.UNSAFE_componentWillReceiveProps!="function"&&typeof tt.componentWillReceiveProps!="function"||(Pt!==Q||Gt!==vn)&&Gh(_,tt,Q,vn),ml=!1;var Un=_.memoizedState;tt.state=Un,Eu(_,Q,tt,le),Gt=_.memoizedState,Pt!==Q||Un!==Gt||Ql.current||ml?(typeof tr=="function"&&(DA(_,F,tr,Q),Gt=_.memoizedState),(Pt=ml||mf(_,F,Pt,Q,Un,Gt,vn))?(Vn||typeof tt.UNSAFE_componentWillMount!="function"&&typeof tt.componentWillMount!="function"||(typeof tt.componentWillMount=="function"&&tt.componentWillMount(),typeof tt.UNSAFE_componentWillMount=="function"&&tt.UNSAFE_componentWillMount()),typeof tt.componentDidMount=="function"&&(_.flags|=4194308)):(typeof tt.componentDidMount=="function"&&(_.flags|=4194308),_.memoizedProps=Q,_.memoizedState=Gt),tt.props=Q,tt.state=Gt,tt.context=vn,Q=Pt):(typeof tt.componentDidMount=="function"&&(_.flags|=4194308),Q=!1)}else{tt=_.stateNode,Kc(p,_),Pt=_.memoizedProps,vn=_.type===_.elementType?Pt:ra(_.type,Pt),tt.props=vn,Vn=_.pendingProps,Un=tt.context,Gt=F.contextType,typeof Gt=="object"&&Gt!==null?Gt=ru(Gt):(Gt=fl(F)?dl:Ua.current,Gt=ju(_,Gt));var zr=F.getDerivedStateFromProps;(tr=typeof zr=="function"||typeof tt.getSnapshotBeforeUpdate=="function")||typeof tt.UNSAFE_ Line truncated
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/var k8;function oQ(){return k8||(k8=1,function(n){const e=rQ(),t=iQ(),r=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;n.Buffer=o,n.SlowBuffer=$,n.INSPECT_MAX_BYTES=50;const i=2147483647;n.kMaxLength=i,o.TYPED_ARRAY_SUPPORT=s(),!o.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 s(){try{const Ge=new Uint8Array(1),de={foo:function(){return 42}};return Object.setPrototypeOf(de,Uint8Array.prototype),Object.setPrototypeOf(Ge,de),Ge.foo()===42}catch{return!1}}Object.defineProperty(o.prototype,"parent",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.buffer}}),Object.defineProperty(o.prototype,"offset",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.byteOffset}});function l(Ge){if(Ge>i)throw new RangeError('The value "'+Ge+'" is invalid for option "size"');const de=new Uint8Array(Ge);return Object.setPrototypeOf(de,o.prototype),de}function o(Ge,de,ie){if(typeof Ge=="number"){if(typeof de=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return B(Ge)}return f(Ge,de,ie)}o.poolSize=8192;function f(Ge,de,ie){if(typeof Ge=="string")return D(Ge,de);if(ArrayBuffer.isView(Ge))return U(Ge);if(Ge==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Ge);if(Mn(Ge,ArrayBuffer)||Ge&&Mn(Ge.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Mn(Ge,SharedArrayBuffer)||Ge&&Mn(Ge.buffer,SharedArrayBuffer)))return G(Ge,de,ie);if(typeof Ge=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const se=Ge.valueOf&&Ge.valueOf();if(se!=null&&se!==Ge)return o.from(se,de,ie);const fe=W(Ge);if(fe)return fe;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof Ge[Symbol.toPrimitive]=="function")return o.from(Ge[Symbol.toPrimitive]("string"),de,ie);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Ge)}o.from=function(Ge,de,ie){return f(Ge,de,ie)},Object.setPrototypeOf(o.prototype,Uint8Array.prototype),Object.setPrototypeOf(o,Uint8Array);function C(Ge){if(typeof Ge!="number")throw new TypeError('"size" argument must be of type number');if(Ge<0)throw new RangeError('The value "'+Ge+'" is invalid for option "size"')}function w(Ge,de,ie){return C(Ge),Ge<=0?l(Ge):de!==void 0?typeof ie=="string"?l(Ge).fill(de,ie):l(Ge).fill(de):l(Ge)}o.alloc=function(Ge,de,ie){return w(Ge,de,ie)};function B(Ge){return C(Ge),l(Ge<0?0:J(Ge)|0)}o.allocUnsafe=function(Ge){return B(Ge)},o.allocUnsafeSlow=function(Ge){return B(Ge)};function D(Ge,de){if((typeof de!="string"||de==="")&&(de="utf8"),!o.isEncoding(de))throw new TypeError("Unknown encoding: "+de);const ie=oe(Ge,de)|0;let se=l(ie);const fe=se.write(Ge,de);return fe!==ie&&(se=se.slice(0,fe)),se}function R(Ge){const de=Ge.length<0?0:J(Ge.length)|0,ie=l(de);for(let se=0;se<de;se+=1)ie[se]=Ge[se]&255;return ie}function U(Ge){if(Mn(Ge,Uint8Array)){const de=new Uint8Array(Ge);return G(de.buffer,de.byteOffset,de.byteLength)}return R(Ge)}function G(Ge,de,ie){if(de<0||Ge.byteLength<de)throw new RangeError('"offset" is outside of buffer bounds');if(Ge.byteLength<de+(ie||0))throw new RangeError('"length" is outside of buffer bounds');let se;return de===void 0&&ie===void 0?se=new Uint8Array(Ge):ie===void 0?se=new Uint8Array(Ge,de):se=new Uint8Array(Ge,de,ie),Object.setPrototypeOf(se,o.prototype),se}function W(Ge){if(o.isBuffer(Ge)){const de=J(Ge.length)|0,ie=l(de);return ie.length===0||Ge.copy(ie,0,0,de),ie}if(Ge.length!==void 0)return typeof Ge.length!="number"||En(Ge.length)?l(0):R(Ge);if(Ge.type==="Buffer"&&Array.isArray(Ge.data))return R(Ge.data)}function J(Ge){if(Ge>=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return Ge|0}function $(Ge){return+Ge!=Ge&&(Ge=0),o.alloc(+Ge)}o.isBuffer=function(de){return de!=null&&de._isBuffer===!0&&de!==o.prototype},o.compare=function(de,ie){if(Mn(de,Uint8Array)&&(de=o.from(de,de.offset,de.byteLength)),Mn(ie,Uint8Array)&&(ie=o.from(ie,ie.offset,ie.byteLength)),!o.isBuffer(de)||!o.isBuffer(ie))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(de===ie)return 0;let se=de.length,fe=ie.length;for(let Ie=0,je=Math.min(se,fe);Ie<je;++Ie)if(de[Ie]!==ie[Ie]){se=de[Ie],fe=ie[Ie];break}return se<fe?-1:fe<se?1:0},o.isEncoding=function(de){switch(String(de).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}},o.concat=function(de,ie){if(!Array.isArray(de))throw new TypeError('"list" argument must be an Array of BuLine truncated
*/var k8;function oQ(){return k8||(k8=1,function(n){const e=rQ(),t=iQ(),r=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;n.Buffer=o,n.SlowBuffer=$,n.INSPECT_MAX_BYTES=50;const i=2147483647;n.kMaxLength=i,o.TYPED_ARRAY_SUPPORT=s(),!o.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 s(){try{const Ge=new Uint8Array(1),de={foo:function(){return 42}};return Object.setPrototypeOf(de,Uint8Array.prototype),Object.setPrototypeOf(Ge,de),Ge.foo()===42}catch{return!1}}Object.defineProperty(o.prototype,"parent",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.buffer}}),Object.defineProperty(o.prototype,"offset",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.byteOffset}});function l(Ge){if(Ge>i)throw new RangeError('The value "'+Ge+'" is invalid for option "size"');const de=new Uint8Array(Ge);return Object.setPrototypeOf(de,o.prototype),de}function o(Ge,de,ie){if(typeof Ge=="number"){if(typeof de=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return B(Ge)}return f(Ge,de,ie)}o.poolSize=8192;function f(Ge,de,ie){if(typeof Ge=="string")return D(Ge,de);if(ArrayBuffer.isView(Ge))return U(Ge);if(Ge==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Ge);if(Mn(Ge,ArrayBuffer)||Ge&&Mn(Ge.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Mn(Ge,SharedArrayBuffer)||Ge&&Mn(Ge.buffer,SharedArrayBuffer)))return G(Ge,de,ie);if(typeof Ge=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const se=Ge.valueOf&&Ge.valueOf();if(se!=null&&se!==Ge)return o.from(se,de,ie);const fe=W(Ge);if(fe)return fe;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof Ge[Symbol.toPrimitive]=="function")return o.from(Ge[Symbol.toPrimitive]("string"),de,ie);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Ge)}o.from=function(Ge,de,ie){return f(Ge,de,ie)},Object.setPrototypeOf(o.prototype,Uint8Array.prototype),Object.setPrototypeOf(o,Uint8Array);function C(Ge){if(typeof Ge!="number")throw new TypeError('"size" argument must be of type number');if(Ge<0)throw new RangeError('The value "'+Ge+'" is invalid for option "size"')}function w(Ge,de,ie){return C(Ge),Ge<=0?l(Ge):de!==void 0?typeof ie=="string"?l(Ge).fill(de,ie):l(Ge).fill(de):l(Ge)}o.alloc=function(Ge,de,ie){return w(Ge,de,ie)};function B(Ge){return C(Ge),l(Ge<0?0:J(Ge)|0)}o.allocUnsafe=function(Ge){return B(Ge)},o.allocUnsafeSlow=function(Ge){return B(Ge)};function D(Ge,de){if((typeof de!="string"||de==="")&&(de="utf8"),!o.isEncoding(de))throw new TypeError("Unknown encoding: "+de);const ie=oe(Ge,de)|0;let se=l(ie);const fe=se.write(Ge,de);return fe!==ie&&(se=se.slice(0,fe)),se}function R(Ge){const de=Ge.length<0?0:J(Ge.length)|0,ie=l(de);for(let se=0;se<de;se+=1)ie[se]=Ge[se]&255;return ie}function U(Ge){if(Mn(Ge,Uint8Array)){const de=new Uint8Array(Ge);return G(de.buffer,de.byteOffset,de.byteLength)}return R(Ge)}function G(Ge,de,ie){if(de<0||Ge.byteLength<de)throw new RangeError('"offset" is outside of buffer bounds');if(Ge.byteLength<de+(ie||0))throw new RangeError('"length" is outside of buffer bounds');let se;return de===void 0&&ie===void 0?se=new Uint8Array(Ge):ie===void 0?se=new Uint8Array(Ge,de):se=new Uint8Array(Ge,de,ie),Object.setPrototypeOf(se,o.prototype),se}function W(Ge){if(o.isBuffer(Ge)){const de=J(Ge.length)|0,ie=l(de);return ie.length===0||Ge.copy(ie,0,0,de),ie}if(Ge.length!==void 0)return typeof Ge.length!="number"||En(Ge.length)?l(0):R(Ge);if(Ge.type==="Buffer"&&Array.isArray(Ge.data))return R(Ge.data)}function J(Ge){if(Ge>=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return Ge|0}function $(Ge){return+Ge!=Ge&&(Ge=0),o.alloc(+Ge)}o.isBuffer=function(de){return de!=null&&de._isBuffer===!0&&de!==o.prototype},o.compare=function(de,ie){if(Mn(de,Uint8Array)&&(de=o.from(de,de.offset,de.byteLength)),Mn(ie,Uint8Array)&&(ie=o.from(ie,ie.offset,ie.byteLength)),!o.isBuffer(de)||!o.isBuffer(ie))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(de===ie)return 0;let se=de.length,fe=ie.length;for(let Ie=0,je=Math.min(se,fe);Ie<je;++Ie)if(de[Ie]!==ie[Ie]){se=de[Ie],fe=ie[Ie];break}return se<fe?-1:fe<se?1:0},o.isEncoding=function(de){switch(String(de).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}},o.concat=function(de,ie){if(!Array.isArray(de))throw new TypeError('"list" argument must be an Array of BuLine 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
*/var cQ=Nv.exports,R8;function hQ(){return R8||(R8=1,function(n,e){(function(){var t,r="4.17.21",i=200,s="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",l="Expected a function",o="Invalid `variable` option passed into `_.template`",f="__lodash_hash_undefined__",C=500,w="__lodash_placeholder__",B=1,D=2,R=4,U=1,G=2,W=1,J=2,$=4,oe=8,te=16,H=32,re=64,j=128,Ae=256,ge=512,me=30,xe="...",Be=800,Me=16,We=1,be=2,nt=3,_t=1/0,at=9007199254740991,Je=17976931348623157e292,Ne=NaN,Te=4294967295,Ze=Te-1,gt=Te>>>1,Dt=[["ary",j],["bind",W],["bindKey",J],["curry",oe],["curryRight",te],["flip",ge],["partial",H],["partialRight",re],["rearg",Ae]],pt="[object Arguments]",Tt="[object Array]",It="[object AsyncFunction]",Le="[object Boolean]",Re="[object Date]",Ke="[object DOMException]",$e="[object Error]",bt="[object Function]",vt="[object GeneratorFunction]",Ot="[object Map]",$t="[object Number]",Kt="[object Null]",un="[object Object]",$n="[object Promise]",Wt="[object Proxy]",Jn="[object RegExp]",Sn="[object Set]",Mn="[object String]",En="[object Symbol]",Er="[object Undefined]",Yn="[object WeakMap]",Dn="[object WeakSet]",Ge="[object ArrayBuffer]",de="[object DataView]",ie="[object Float32Array]",se="[object Float64Array]",fe="[object Int8Array]",Ie="[object Int16Array]",je="[object Int32Array]",ht="[object Uint8Array]",Ve="[object Uint8ClampedArray]",Pe="[object Uint16Array]",He="[object Uint32Array]",m=/\b__p \+= '';/g,ft=/\b(__p \+=) '' \+/g,ut=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Bt=/&(?:amp|lt|gt|quot|#39);/g,rt=/[&<>"']/g,rn=RegExp(Bt.source),Wn=RegExp(rt.source),xn=/<%-([\s\S]+?)%>/g,dr=/<%([\s\S]+?)%>/g,ur=/<%=([\s\S]+?)%>/g,yi=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ui=/^\w*$/,ci=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Fr=/[\\^$.*+?()[\]{}|]/g,Cr=RegExp(Fr.source),Ei=/^\s+/,_n=/\s/,go=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ii=/\{\n\/\* \[wrapped with (.+)\] \*/,Ks=/,? & /,Bs=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,qn=/[()=,{}\[\]\/\s]/,_i=/\\(\\)?/g,Lr=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ki=/\w*$/,la=/^[-+]0x[0-9a-f]+$/i,is=/^0b[01]+$/i,Nr=/^\[object .+?Constructor\]$/,Ha=/^0o[0-7]+$/i,Aa=/^(?:0|[1-9]\d*)$/,Wo=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Fs=/($^)/,bl=/['\n\r\u2028\u2029\\]/g,ni="\\ud800-\\udfff",bA="\\u0300-\\u036f",Os="\\ufe20-\\ufe2f",qr="\\u20d0-\\u20ff",wr=bA+Os+qr,ua="\\u2700-\\u27bf",vs="a-z\\xdf-\\xf6\\xf8-\\xff",os="\\xac\\xb1\\xd7\\xf7",Qe="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",St="\\u2000-\\u206f",mn=" \\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",Fn="A-Z\\xc0-\\xd6\\xd8-\\xde",ln="\\ufe0e\\ufe0f",ir=os+Qe+St+mn,ji="['’]",wo="["+ni+"]",xs="["+ir+"]",_a="["+wr+"]",xA="\\d+",vi="["+ua+"]",fu="["+vs+"]",tA="[^"+ni+ir+xA+ua+vs+Fn+"]",Za="\\ud83c[\\udffb-\\udfff]",ba="(?:"+_a+"|"+Za+")",Ec="[^"+ni+"]",xa="(?:\\ud83c[\\udde6-\\uddff]){2}",mi="[\\ud800-\\udbff][\\udc00-\\udfff]",So="["+Fn+"]",gi="\\u200d",ll="(?:"+fu+"|"+tA+")",cs="(?:"+So+"|"+tA+")",Al="(?:"+ji+"(?:d|ll|m|re|s|t|ve))?",Nl="(?:"+ji+"(?:D|LL|M|RE|S|T|VE))?",Bi=ba+"?",xl="["+ln+"]?",ul="(?:"+gi+"(?:"+[Ec,xa,mi].join("|")+")"+xl+Bi+")*",Eo="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",yo="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",hs=xl+Bi+ul,ss="(?:"+[vi,xa,mi].join("|")+")"+hs,vo="(?:"+[Ec+_a+"?",_a,xa,mi,wo].join("|")+")",Zi=RegExp(ji,"g"),Bc=RegExp(_a,"g"),Cs=RegExp(Za+"(?="+Za+")|"+vo+hs,"g"),Ma=RegExp([So+"?"+fu+"+"+Al+"(?="+[xs,So,"$"].join("|")+")",cs+"+"+Nl+"(?="+[xs,So+ll,"$"].join("|")+")",So+"?"+ll+"+"+Al,So+"+"+Nl,yo,Eo,xA,ss].join("|"),"g"),js=RegExp("["+gi+ni+wr+ln+"]"),Ri=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ml=["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"],$r=-1,_r={};_r[ie]=_r[se]=_r[fe]=_r[Ie]=_r[je]=_r[ht]=_r[Ve]=_r[Pe]=_r[He]=!0,_r[pt]=_r[Tt]=_r[Ge]=_r[Le]=_r[de]=_r[Re]=_r[$e]=_r[bt]=_r[Ot]=_r[$t]=_r[un]=_r[Jn]=_r[Sn]=_r[Mn]=_r[Yn]=!1;var Wi={};Wi[pt]=Wi[Tt]=Wi[Ge]=Wi[de]=Wi[Le]=Wi[Re]=Wi[ie]=Wi[se]=Wi[fe]=Wi[Ie]=Wi[je]=Wi[Ot]=Wi[$t]=Wi[un]=Wi[Jn]=Wi[Sn]=Wi[Mn]=Wi[En]=Wi[ht]=Wi[Ve]=Wi[Pe]=Wi[He]=!0,Wi[$e]=Wi[bt]=Wi[Yn]=!1;var ee={À:"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",Line truncated
*/var cQ=Nv.exports,R8;function hQ(){return R8||(R8=1,function(n,e){(function(){var t,r="4.17.21",i=200,s="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",l="Expected a function",o="Invalid `variable` option passed into `_.template`",f="__lodash_hash_undefined__",C=500,w="__lodash_placeholder__",B=1,D=2,R=4,U=1,G=2,W=1,J=2,$=4,oe=8,te=16,H=32,re=64,j=128,Ae=256,ge=512,me=30,xe="...",Be=800,Me=16,We=1,be=2,nt=3,_t=1/0,at=9007199254740991,Je=17976931348623157e292,Ne=NaN,Te=4294967295,Ze=Te-1,gt=Te>>>1,Dt=[["ary",j],["bind",W],["bindKey",J],["curry",oe],["curryRight",te],["flip",ge],["partial",H],["partialRight",re],["rearg",Ae]],pt="[object Arguments]",Tt="[object Array]",It="[object AsyncFunction]",Le="[object Boolean]",Re="[object Date]",Ke="[object DOMException]",$e="[object Error]",bt="[object Function]",vt="[object GeneratorFunction]",Ot="[object Map]",$t="[object Number]",Kt="[object Null]",un="[object Object]",$n="[object Promise]",Wt="[object Proxy]",Jn="[object RegExp]",Sn="[object Set]",Mn="[object String]",En="[object Symbol]",Er="[object Undefined]",Yn="[object WeakMap]",Dn="[object WeakSet]",Ge="[object ArrayBuffer]",de="[object DataView]",ie="[object Float32Array]",se="[object Float64Array]",fe="[object Int8Array]",Ie="[object Int16Array]",je="[object Int32Array]",ht="[object Uint8Array]",Ve="[object Uint8ClampedArray]",Pe="[object Uint16Array]",He="[object Uint32Array]",m=/\b__p \+= '';/g,ft=/\b(__p \+=) '' \+/g,ut=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Bt=/&(?:amp|lt|gt|quot|#39);/g,rt=/[&<>"']/g,rn=RegExp(Bt.source),Wn=RegExp(rt.source),xn=/<%-([\s\S]+?)%>/g,dr=/<%([\s\S]+?)%>/g,ur=/<%=([\s\S]+?)%>/g,yi=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ui=/^\w*$/,ci=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Fr=/[\\^$.*+?()[\]{}|]/g,Cr=RegExp(Fr.source),Ei=/^\s+/,_n=/\s/,go=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ii=/\{\n\/\* \[wrapped with (.+)\] \*/,Ks=/,? & /,Bs=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,qn=/[()=,{}\[\]\/\s]/,_i=/\\(\\)?/g,Lr=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ki=/\w*$/,la=/^[-+]0x[0-9a-f]+$/i,is=/^0b[01]+$/i,Nr=/^\[object .+?Constructor\]$/,Ha=/^0o[0-7]+$/i,Aa=/^(?:0|[1-9]\d*)$/,Wo=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Fs=/($^)/,bl=/['\n\r\u2028\u2029\\]/g,ni="\\ud800-\\udfff",bA="\\u0300-\\u036f",Os="\\ufe20-\\ufe2f",qr="\\u20d0-\\u20ff",wr=bA+Os+qr,ua="\\u2700-\\u27bf",vs="a-z\\xdf-\\xf6\\xf8-\\xff",os="\\xac\\xb1\\xd7\\xf7",Qe="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",St="\\u2000-\\u206f",mn=" \\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",Fn="A-Z\\xc0-\\xd6\\xd8-\\xde",ln="\\ufe0e\\ufe0f",ir=os+Qe+St+mn,ji="['’]",wo="["+ni+"]",xs="["+ir+"]",_a="["+wr+"]",xA="\\d+",vi="["+ua+"]",fu="["+vs+"]",tA="[^"+ni+ir+xA+ua+vs+Fn+"]",Za="\\ud83c[\\udffb-\\udfff]",ba="(?:"+_a+"|"+Za+")",Ec="[^"+ni+"]",xa="(?:\\ud83c[\\udde6-\\uddff]){2}",mi="[\\ud800-\\udbff][\\udc00-\\udfff]",So="["+Fn+"]",gi="\\u200d",ll="(?:"+fu+"|"+tA+")",cs="(?:"+So+"|"+tA+")",Al="(?:"+ji+"(?:d|ll|m|re|s|t|ve))?",zl="(?:"+ji+"(?:D|LL|M|RE|S|T|VE))?",Bi=ba+"?",xl="["+ln+"]?",ul="(?:"+gi+"(?:"+[Ec,xa,mi].join("|")+")"+xl+Bi+")*",Eo="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",yo="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",hs=xl+Bi+ul,ss="(?:"+[vi,xa,mi].join("|")+")"+hs,vo="(?:"+[Ec+_a+"?",_a,xa,mi,wo].join("|")+")",Zi=RegExp(ji,"g"),Bc=RegExp(_a,"g"),Cs=RegExp(Za+"(?="+Za+")|"+vo+hs,"g"),Ma=RegExp([So+"?"+fu+"+"+Al+"(?="+[xs,So,"$"].join("|")+")",cs+"+"+zl+"(?="+[xs,So+ll,"$"].join("|")+")",So+"?"+ll+"+"+Al,So+"+"+zl,yo,Eo,xA,ss].join("|"),"g"),js=RegExp("["+gi+ni+wr+ln+"]"),Ri=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ml=["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"],$r=-1,_r={};_r[ie]=_r[se]=_r[fe]=_r[Ie]=_r[je]=_r[ht]=_r[Ve]=_r[Pe]=_r[He]=!0,_r[pt]=_r[Tt]=_r[Ge]=_r[Le]=_r[de]=_r[Re]=_r[$e]=_r[bt]=_r[Ot]=_r[$t]=_r[un]=_r[Jn]=_r[Sn]=_r[Mn]=_r[Yn]=!1;var Wi={};Wi[pt]=Wi[Tt]=Wi[Ge]=Wi[de]=Wi[Le]=Wi[Re]=Wi[ie]=Wi[se]=Wi[fe]=Wi[Ie]=Wi[je]=Wi[Ot]=Wi[$t]=Wi[un]=Wi[Jn]=Wi[Sn]=Wi[Mn]=Wi[En]=Wi[ht]=Wi[Ve]=Wi[Pe]=Wi[He]=!0,Wi[$e]=Wi[bt]=Wi[Yn]=!1;var ee={À:"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",Line truncated
/* [wrapped with `+T+`] */
`)}function y(b){return Co(b)||qp(b)||!!(Up&&b&&b[Up])}function E(b,T){var V=typeof b;return T=T??at,!!T&&(V=="number"||V!="symbol"&&Aa.test(b))&&b>-1&&b%1==0&&b<T}function S(b,T,V){if(!Rl(V))return!1;var ve=typeof T;return(ve=="number"?Cc(V)&&E(T,V.length):ve=="string"&&T in V)?Tu(V[T],b):!1}function K(b,T){if(Co(b))return!1;var V=typeof b;return V=="number"||V=="symbol"||V=="boolean"||b==null||_c(b)?!0:ui.test(b)||!yi.test(b)||T!=null&&b in ds(T)}function Z(b){var T=typeof b;return T=="string"||T=="number"||T=="symbol"||T=="boolean"?b!=="__proto__":b===null}function he(b){var T=md(b),V=ot[T];if(typeof V!="function"||!(T in di.prototype))return!1;if(b===V)return!0;var ve=vf(V);return!!ve&&b===ve[0]}function Ce(b){return!!ih&&ih in b}var ke=Wl?wf:hp;function Ue(b){var T=b&&b.constructor,V=typeof T=="function"&&T.prototype||Xa;return b===V}function mt(b){return b===b&&!Rl(b)}function Et(b,T){return function(V){return V==null?!1:V[b]===T&&(T!==t||b in ds(V))}}function Xt(b){var T=cn(b,function(ve){return V.size===C&&V.clear(),ve}),V=T.cache;return T}function Qt(b,T){var V=b[1],ve=T[1],Xe=V|ve,dt=Xe<(W|J|j),Ft=ve==j&&V==oe||ve==j&&V==Ae&&b[7].length<=T[8]||ve==(j|Ae)&&T[7].length<=T[8]&&V==oe;if(!(dt||Ft))return b;ve&W&&(b[2]=T[2],Xe|=V&W?0:$);var Yt=T[3];if(Yt){var tn=b[3];b[3]=tn?gl(tn,Yt,T[4]):Yt,b[4]=tn?wl(b[3],w):T[4]}return Yt=T[5],Yt&&(tn=b[5],b[5]=tn?$u(tn,Yt,T[6]):Yt,b[6]=tn?wl(b[5],w):T[6]),Yt=T[7],Yt&&(b[7]=Yt),ve&j&&(b[8]=b[8]==null?T[8]:ea(b[8],T[8])),b[9]==null&&(b[9]=T[9]),b[0]=T[0],b[1]=Xe,b}function Cn(b){var T=[];if(b!=null)for(var V in ds(b))T.push(V);return T}function On(b){return Sl.call(b)}function er(b,T,V){return T=_s(T===t?b.length-1:T,0),function(){for(var ve=arguments,Xe=-1,dt=_s(ve.length-T,0),Ft=An(dt);++Xe<dt;)Ft[Xe]=ve[T+Xe];Xe=-1;for(var Yt=An(T+1);++Xe<T;)Yt[Xe]=ve[Xe];return Yt[T]=V(Ft),Ws(b,this,Yt)}}function Zn(b,T){return T.length<2?b:nu(b,Vt(T,0,-1))}function fr(b,T){for(var V=b.length,ve=ea(T.length,V),Xe=No(b);ve--;){var dt=T[ve];b[ve]=E(dt,V)?Xe[dt]:t}return b}function or(b,T){if(!(T==="constructor"&&typeof b[T]=="function")&&T!="__proto__")return b[T]}var Ir=li(wt),Jr=ud||function(b,T){return Sr.setTimeout(b,T)},Br=li(Nt);function eo(b,T,V){var ve=T+"";return Br(b,h(ve,ia(Da(ve),V)))}function li(b){var T=0,V=0;return function(){var ve=ff(),Xe=Me-(ve-V);if(V=ve,Xe>0){if(++T>=Be)return arguments[0]}else T=0;return b.apply(t,arguments)}}function qs(b,T){var V=-1,ve=b.length,Xe=ve-1;for(T=T===t?ve:T;++V<T;){var dt=lt(V,Xe),Ft=b[dt];b[dt]=b[V],b[V]=Ft}return b.length=T,b}var $s=Xt(function(b){var T=[];return b.charCodeAt(0)===46&&T.push(""),b.replace(ci,function(V,ve,Xe,dt){T.push(Xe?dt.replace(_i,"$1"):ve||V)}),T});function Vs(b){if(typeof b=="string"||_c(b))return b;var T=b+"";return T=="0"&&1/b==-_t?"-0":T}function ma(b){if(b!=null){try{return hl.call(b)}catch{}try{return b+""}catch{}}return""}function ia(b,T){return Vo(Dt,function(V){var ve="_."+V[0];T&V[1]&&!Xc(b,ve)&&b.push(ve)}),b.sort()}function dA(b){if(b instanceof di)return b.clone();var T=new Do(b.__wrapped__,b.__chain__);return T.__actions__=No(b.__actions__),T.__index__=b.__index__,T.__values__=b.__values__,T}function ja(b,T,V){(V?S(b,T,V):T===t)?T=1:T=_s(Mo(T),0);var ve=b==null?0:b.length;if(!ve||T<1)return[];for(var Xe=0,dt=0,Ft=An(ac(ve/T));Xe<ve;)Ft[dt++]=Vt(b,Xe,Xe+=T);return Ft}function oa(b){for(var T=-1,V=b==null?0:b.length,ve=0,Xe=[];++T<V;){var dt=b[T];dt&&(Xe[ve++]=dt)}return Xe}function Jo(){var b=arguments.length;if(!b)return[];for(var T=An(b-1),V=arguments[0],ve=b;ve--;)T[ve-1]=arguments[ve];return rc(Co(V)?No(V):[V],Qo(T,1))}var Ai=yt(function(b,T){return Hl(b)?Uo(b,Qo(T,1,Hl,!0)):[]}),qo=yt(function(b,T){var V=Iu(T);return Hl(V)&&(V=t),Hl(b)?Uo(b,Qo(T,1,Hl,!0),wi(V,2)):[]}),Ss=yt(function(b,T){var V=Iu(T);return Hl(V)&&(V=t),Hl(b)?Uo(b,Qo(T,1,Hl,!0),t,V):[]});function Us(b,T,V){var ve=b==null?0:b.length;return ve?(T=V||T===t?1:Mo(T),Vt(b,T<0?0:T,ve)):[]}function ks(b,T,V){var ve=b==null?0:b.length;return ve?(T=V||T===t?1:Mo(T),T=ve-T,Vt(b,0,T<0?0:T)):[]}function FA(b,T){return b&&b.length?Ko(b,wi(T,3),!0,!0):[]}function so(b,T){return b&&b.length?Ko(b,wi(T,3),!0):[]}function Ld(b,T,V,ve){var Xe=b==null?0:b.length;return Xe?(V&&typeof V!="number"&&S(b,T,V)&&(V=0,ve=Xe),kd(b,T,V,ve)):[]}function fA(b,T,V){var ve=b==null?0:b.length;if(!ve)return-1;var Xe=V==null?0:Mo(V);return Xe<0&&(Xe=_s(ve+Xe,0)),wA(b,wi(T,3),Xe)}function au(b,T,V){var ve=b==null?0:b.length;if(!ve)return-1;var Xe=ve-1;return V!==t&&(Xe=Mo(V),Xe=V<0?_s(ve+Xe,0):ea(Xe,ve-1)),wA(b,wi(T,3),Xe,!0)}function yc(b){var T=b==null?0:b.length;return T?Qo(b,1):[]}function rl(b){var T=b==null?0:b.length;return T?Qo(b,_t):[]}function vl(b,T){var V=b==null?0:b.length;return V?(T=T===t?1:Mo(T),Qo(b,T)):[]}function ep(b){for(var T=-1,V=b==null?0:b.length,ve={};++T<V;){var Xe=b[T];ve[Xe[0]]=Xe[1]}return ve}function tp(b){return b&&b.length?b[0]:t}function Ud(b,T,V){var ve=b==null?0:b.length;if(!ve)return-1;var Xe=V==null?0:Mo(V);return Xe<0&&(X Line truncated
`)}function y(b){return Co(b)||qp(b)||!!(Up&&b&&b[Up])}function E(b,T){var V=typeof b;return T=T??at,!!T&&(V=="number"||V!="symbol"&&Aa.test(b))&&b>-1&&b%1==0&&b<T}function S(b,T,V){if(!Rl(V))return!1;var ve=typeof T;return(ve=="number"?Cc(V)&&E(T,V.length):ve=="string"&&T in V)?Tu(V[T],b):!1}function K(b,T){if(Co(b))return!1;var V=typeof b;return V=="number"||V=="symbol"||V=="boolean"||b==null||_c(b)?!0:ui.test(b)||!yi.test(b)||T!=null&&b in ds(T)}function Z(b){var T=typeof b;return T=="string"||T=="number"||T=="symbol"||T=="boolean"?b!=="__proto__":b===null}function he(b){var T=md(b),V=ot[T];if(typeof V!="function"||!(T in di.prototype))return!1;if(b===V)return!0;var ve=vf(V);return!!ve&&b===ve[0]}function Ce(b){return!!ih&&ih in b}var ke=jl?wf:hp;function Ue(b){var T=b&&b.constructor,V=typeof T=="function"&&T.prototype||Xa;return b===V}function mt(b){return b===b&&!Rl(b)}function Et(b,T){return function(V){return V==null?!1:V[b]===T&&(T!==t||b in ds(V))}}function Xt(b){var T=cn(b,function(ve){return V.size===C&&V.clear(),ve}),V=T.cache;return T}function Qt(b,T){var V=b[1],ve=T[1],Xe=V|ve,dt=Xe<(W|J|j),Ft=ve==j&&V==oe||ve==j&&V==Ae&&b[7].length<=T[8]||ve==(j|Ae)&&T[7].length<=T[8]&&V==oe;if(!(dt||Ft))return b;ve&W&&(b[2]=T[2],Xe|=V&W?0:$);var Yt=T[3];if(Yt){var tn=b[3];b[3]=tn?gl(tn,Yt,T[4]):Yt,b[4]=tn?wl(b[3],w):T[4]}return Yt=T[5],Yt&&(tn=b[5],b[5]=tn?$u(tn,Yt,T[6]):Yt,b[6]=tn?wl(b[5],w):T[6]),Yt=T[7],Yt&&(b[7]=Yt),ve&j&&(b[8]=b[8]==null?T[8]:ea(b[8],T[8])),b[9]==null&&(b[9]=T[9]),b[0]=T[0],b[1]=Xe,b}function Cn(b){var T=[];if(b!=null)for(var V in ds(b))T.push(V);return T}function On(b){return Sl.call(b)}function er(b,T,V){return T=_s(T===t?b.length-1:T,0),function(){for(var ve=arguments,Xe=-1,dt=_s(ve.length-T,0),Ft=An(dt);++Xe<dt;)Ft[Xe]=ve[T+Xe];Xe=-1;for(var Yt=An(T+1);++Xe<T;)Yt[Xe]=ve[Xe];return Yt[T]=V(Ft),Ws(b,this,Yt)}}function Zn(b,T){return T.length<2?b:nu(b,Vt(T,0,-1))}function fr(b,T){for(var V=b.length,ve=ea(T.length,V),Xe=No(b);ve--;){var dt=T[ve];b[ve]=E(dt,V)?Xe[dt]:t}return b}function or(b,T){if(!(T==="constructor"&&typeof b[T]=="function")&&T!="__proto__")return b[T]}var Ir=li(wt),Jr=ud||function(b,T){return Sr.setTimeout(b,T)},Br=li(Nt);function eo(b,T,V){var ve=T+"";return Br(b,h(ve,ia(Da(ve),V)))}function li(b){var T=0,V=0;return function(){var ve=ff(),Xe=Me-(ve-V);if(V=ve,Xe>0){if(++T>=Be)return arguments[0]}else T=0;return b.apply(t,arguments)}}function qs(b,T){var V=-1,ve=b.length,Xe=ve-1;for(T=T===t?ve:T;++V<T;){var dt=lt(V,Xe),Ft=b[dt];b[dt]=b[V],b[V]=Ft}return b.length=T,b}var $s=Xt(function(b){var T=[];return b.charCodeAt(0)===46&&T.push(""),b.replace(ci,function(V,ve,Xe,dt){T.push(Xe?dt.replace(_i,"$1"):ve||V)}),T});function Vs(b){if(typeof b=="string"||_c(b))return b;var T=b+"";return T=="0"&&1/b==-_t?"-0":T}function ma(b){if(b!=null){try{return hl.call(b)}catch{}try{return b+""}catch{}}return""}function ia(b,T){return Vo(Dt,function(V){var ve="_."+V[0];T&V[1]&&!Xc(b,ve)&&b.push(ve)}),b.sort()}function dA(b){if(b instanceof di)return b.clone();var T=new Do(b.__wrapped__,b.__chain__);return T.__actions__=No(b.__actions__),T.__index__=b.__index__,T.__values__=b.__values__,T}function ja(b,T,V){(V?S(b,T,V):T===t)?T=1:T=_s(Mo(T),0);var ve=b==null?0:b.length;if(!ve||T<1)return[];for(var Xe=0,dt=0,Ft=An(ac(ve/T));Xe<ve;)Ft[dt++]=Vt(b,Xe,Xe+=T);return Ft}function oa(b){for(var T=-1,V=b==null?0:b.length,ve=0,Xe=[];++T<V;){var dt=b[T];dt&&(Xe[ve++]=dt)}return Xe}function Jo(){var b=arguments.length;if(!b)return[];for(var T=An(b-1),V=arguments[0],ve=b;ve--;)T[ve-1]=arguments[ve];return rc(Co(V)?No(V):[V],Qo(T,1))}var Ai=yt(function(b,T){return Vl(b)?Uo(b,Qo(T,1,Vl,!0)):[]}),qo=yt(function(b,T){var V=Iu(T);return Vl(V)&&(V=t),Vl(b)?Uo(b,Qo(T,1,Vl,!0),wi(V,2)):[]}),Ss=yt(function(b,T){var V=Iu(T);return Vl(V)&&(V=t),Vl(b)?Uo(b,Qo(T,1,Vl,!0),t,V):[]});function Us(b,T,V){var ve=b==null?0:b.length;return ve?(T=V||T===t?1:Mo(T),Vt(b,T<0?0:T,ve)):[]}function ks(b,T,V){var ve=b==null?0:b.length;return ve?(T=V||T===t?1:Mo(T),T=ve-T,Vt(b,0,T<0?0:T)):[]}function FA(b,T){return b&&b.length?Ko(b,wi(T,3),!0,!0):[]}function so(b,T){return b&&b.length?Ko(b,wi(T,3),!0):[]}function Ld(b,T,V,ve){var Xe=b==null?0:b.length;return Xe?(V&&typeof V!="number"&&S(b,T,V)&&(V=0,ve=Xe),kd(b,T,V,ve)):[]}function fA(b,T,V){var ve=b==null?0:b.length;if(!ve)return-1;var Xe=V==null?0:Mo(V);return Xe<0&&(Xe=_s(ve+Xe,0)),wA(b,wi(T,3),Xe)}function au(b,T,V){var ve=b==null?0:b.length;if(!ve)return-1;var Xe=ve-1;return V!==t&&(Xe=Mo(V),Xe=V<0?_s(ve+Xe,0):ea(Xe,ve-1)),wA(b,wi(T,3),Xe,!0)}function yc(b){var T=b==null?0:b.length;return T?Qo(b,1):[]}function rl(b){var T=b==null?0:b.length;return T?Qo(b,_t):[]}function vl(b,T){var V=b==null?0:b.length;return V?(T=T===t?1:Mo(T),Qo(b,T)):[]}function ep(b){for(var T=-1,V=b==null?0:b.length,ve={};++T<V;){var Xe=b[T];ve[Xe[0]]=Xe[1]}return ve}function tp(b){return b&&b.length?b[0]:t}function Ud(b,T,V){var ve=b==null?0:b.length;if(!ve)return-1;var Xe=V==null?0:Mo(V);return Xe<0&&(X Line truncated
`;b.replace(Gr,function(no,bs,Ps,Yd,Hh,qd){return Ps||(Ps=Yd),sr+=b.slice(zn,qd).replace(bl,EA),bs&&(Yt=!0,sr+=`' +
__e(`+bs+`) +
'`),Hh&&(tn=!0,sr+=`';
@@ -68,14 +68,14 @@ __p += '`),Ps&&(sr+=`' +
function print() { __p += __j.call(arguments, '') }
`:`;
`)+sr+`return __p
}`;var es=Bm(function(){return Po(dt,Si+"return "+sr).apply(t,Ft)});if(es.source=sr,Ap(es))throw es;return es}function Zl(b){return Hs(b).toLowerCase()}function Sa(b){return Hs(b).toUpperCase()}function Gd(b,T,V){if(b=Hs(b),b&&(V||T===t))return uf(b);if(!b||!(T=br(T)))return b;var ve=jl(b),Xe=jl(T),dt=mu(ve,Xe),Ft=Oh(ve,Xe)+1;return na(ve,dt,Ft).join("")}function d0(b,T,V){if(b=Hs(b),b&&(V||T===t))return b.slice(0,$A(b)+1);if(!b||!(T=br(T)))return b;var ve=jl(b),Xe=Oh(ve,jl(T))+1;return na(ve,0,Xe).join("")}function jd(b,T,V){if(b=Hs(b),b&&(V||T===t))return b.replace(Ei,"");if(!b||!(T=br(T)))return b;var ve=jl(b),Xe=mu(ve,jl(T));return na(ve,Xe).join("")}function z3(b,T){var V=me,ve=xe;if(Rl(T)){var Xe="separator"in T?T.separator:Xe;V="length"in T?Mo(T.length):V,ve="omission"in T?br(T.omission):ve}b=Hs(b);var dt=b.length;if(eh(b)){var Ft=jl(b);dt=Ft.length}if(V>=dt)return b;var Yt=V-th(ve);if(Yt<1)return ve;var tn=Ft?na(Ft,0,Yt).join(""):b.slice(0,Yt);if(Xe===t)return tn+ve;if(Ft&&(Yt+=tn.length-Yt),u0(Xe)){if(b.slice(Yt).search(Xe)){var zn,jn=tn;for(Xe.global||(Xe=oc(Xe.source,Hs(ki.exec(Xe))+"g")),Xe.lastIndex=0;zn=Xe.exec(jn);)var sr=zn.index;tn=tn.slice(0,sr===t?Yt:sr)}}else if(b.indexOf(br(Xe),Yt)!=Yt){var Gr=tn.lastIndexOf(Xe);Gr>-1&&(tn=tn.slice(0,Gr))}return tn+ve}function f0(b){return b=Hs(b),b&&rn.test(b)?b.replace(Bt,Bo):b}var Sm=tl(function(b,T,V){return b+(V?" ":"")+T.toUpperCase()}),$p=mf("toUpperCase");function Em(b,T,V){return b=Hs(b),T=V?t:T,T===t?ld(b)?qf(b):lf(b):b.match(T)||[]}var Bm=yt(function(b,T){try{return Ws(b,t,T)}catch(V){return Ap(V)?V:new Di(V)}}),X_=gc(function(b,T){return Vo(T,function(V){V=Vs(V),xu(b,V,Vn(b[V],b))}),b});function J_(b){var T=b==null?0:b.length,V=wi();return b=T?oo(b,function(ve){if(typeof ve[1]!="function")throw new rA(l);return[V(ve[0]),ve[1]]}):[],yt(function(ve){for(var Xe=-1;++Xe<T;){var dt=b[Xe];if(Ws(dt[0],this,ve))return Ws(dt[1],this,ve)}})}function eb(b){return $f(Il(b,B))}function bg(b){return function(){return b}}function Cv(b,T){return b==null||b!==b?T:b}var _v=jh(),cp=jh(!0);function Wc(b){return b}function xg(b){return O(typeof b=="function"?b:Il(b,B))}function N3(b){return I(Il(b,B))}function G3(b,T){return z(b,Il(T,B))}var j3=yt(function(b,T){return function(V){return ml(V,b,T)}}),W3=yt(function(b,T){return function(V){return ml(b,V,T)}});function bv(b,T,V){var ve=ne(T),Xe=tu(T,ve);V==null&&!(Rl(T)&&(Xe.length||!ve.length))&&(V=T,T=b,b=this,Xe=tu(T,ne(T)));var dt=!(Rl(V)&&"chain"in V)||!!V.chain,Ft=wf(b);return Vo(Xe,function(Yt){var tn=T[Yt];b[Yt]=tn,Ft&&(b.prototype[Yt]=function(){var zn=this.__chain__;if(dt||zn){var jn=b(this.__wrapped__),sr=jn.__actions__=No(this.__actions__);return sr.push({func:tn,args:arguments,thisArg:b}),jn.__chain__=zn,jn}return tn.apply(b,rc([this.value()],arguments))})}),b}function Q3(){return Sr._===this&&(Sr._=Ja),this}function xv(){}function Y3(b){return b=Mo(b),yt(function(T){return ue(T,b)})}var Wd=Vf(oo),Mg=Vf(YA),tb=Vf(Jc);function nb(b){return K(b)?sd(Vs(b)):De(b)}function q3(b){return function(T){return b==null?t:nu(b,T)}}var $3=pd(),Zu=pd(!0);function Qc(){return[]}function hp(){return!1}function Qd(){return{}}function Om(){return""}function Ef(){return!0}function sj(b,T){if(b=Mo(b),b<1||b>at)return[];var V=Te,ve=ea(b,Te);T=wi(T),b-=Te;for(var Xe=Wf(ve,T);++V<b;)T(V);return Xe}function aj(b){return Co(b)?oo(b,Vs):_c(b)?[b]:No($s(Hs(b)))}function lj(b){var T=++rh;return Hs(b)+T}var Aj=fd(function(b,T){return b+T},0),uj=kl("ceil"),cj=fd(function(b,T){return b/T},1),hj=kl("floor");function dj(b){return b&&b.length?Rc(b,Wc,Na):t}function fj(b,T){return b&&b.length?Rc(b,wi(T,2),Na):t}function pj(b){return od(b,Wc)}function mj(b,T){return od(b,wi(T,2))}function gj(b){return b&&b.length?Rc(b,Wc,v):t}function yj(b,T){return b&&b.length?Rc(b,wi(T,2),v):t}var vj=fd(function(b,T){return b*T},1),Cj=kl("round"),_j=fd(function(b,T){return b-T},0);function bj(b){return b&&b.length?Eh(b,Wc):0}function xj(b,T){return b&&b.length?Eh(b,wi(T,2)):0}return ot.after=Gt,ot.ary=yn,ot.assign=fv,ot.assignIn=Cg,ot.assignInWith=A1,ot.assignWith=u1,ot.at=pv,ot.before=tr,ot.bind=Vn,ot.bindAll=X_,ot.bindKey=Un,ot.castArray=O3,ot.chain=Wp,ot.chunk=ja,ot.compact=oa,ot.concat=Jo,ot.cond=J_,ot.conforms=eb,ot.constant=bg,ot.countBy=fg,ot.create=Z_,ot.curry=zr,ot.curryRight=Hr,ot.debounce=oi,ot.defaults=mv,ot.defaultsDeep=_g,ot.defer=Wa,ot.delay=sn,ot.difference=Ai,ot.differenceBy=qo,ot.differenceWith=Ss,ot.drop=Us,ot.dropRight=ks,ot.dropRightWhile=FA,ot.dropWhile=so,ot.fill=Ld,ot.filter=s0,ot.flatMap=bm,ot.flatMapDeep=mg,ot.flatMapDepth=zd,ot.flatten=yc,ot.flattenDeep=rl,ot.flattenDepth=vl,ot.flip=Ht,ot.flow=_v,ot.flowRight=cp,ot.fromPairs=ep,ot.functions=A,ot.functionsIn=u,ot.groupBy=Yp,ot.initial=Zm,ot.intersection=V0,ot.intersectionBy=zc,ot.intersectionWith=Xm,ot.invert=P,ot.invertBy=N,ot.invokeMap=gg,ot.iteratee=xg,ot.keyBy=ov,ot.keys=ne,ot.keysIn=ce,ot.map=Mf,ot.mapKeys=Se,ot.mapValues=Fe,ot.matches=N3,ot.matchesProperty=G3,ot.memoize= Line truncated
Use an identity property function instead: \`{ "type": "identity", "property": ${JSON.stringify(B[1])} }\`.`)];const D=[];return n.layerType==="symbol"&&(o==="text-field"&&i&&!i.glyphs&&D.push(new vr(t,l,'use of "text-field" requires a style "glyphs" property')),o==="text-font"&&Qy(j1(l))&&WA(l.type)==="identity"&&D.push(new vr(t,l,'"text-font" does not support identity functions'))),D.concat(r({key:n.key,value:l,valueSpec:w,style:i,styleSpec:s,expressionContext:"property",propertyType:e,propertyKey:o}))}function xL(n){return bL(n,"paint")}function ML(n){return bL(n,"layout")}function wL(n){let e=[];const t=n.value,r=n.key,i=n.style,s=n.styleSpec;if(rs(t)!=="object")return[new vr(r,t,`object expected, ${rs(t)} found`)];!t.type&&!t.ref&&e.push(new vr(r,t,'either "type" or "ref" is required'));let l=WA(t.type);const o=WA(t.ref);if(t.id){const f=WA(t.id);for(let C=0;C<n.arrayIndex;C++){const w=i.layers[C];WA(w.id)===f&&e.push(new vr(r,t.id,`duplicate layer id "${t.id}", previously used at line ${w.id.__line__}`))}}if("ref"in t){["type","source","source-layer","filter","layout"].forEach(C=>{C in t&&e.push(new vr(r,t[C],`"${C}" is prohibited for ref layers`))});let f;i.layers.forEach(C=>{WA(C.id)===o&&(f=C)}),f?f.ref?e.push(new vr(r,t.ref,"ref cannot reference another ref layer")):l=WA(f.type):e.push(new vr(r,t.ref,`ref layer "${o}" not found`))}else if(l!=="background")if(!t.source)e.push(new vr(r,t,'missing required property "source"'));else{const f=i.sources&&i.sources[t.source],C=f&&WA(f.type);f?C==="vector"&&l==="raster"?e.push(new vr(r,t.source,`layer "${t.id}" requires a raster source`)):C!=="raster-dem"&&l==="hillshade"?e.push(new vr(r,t.source,`layer "${t.id}" requires a raster-dem source`)):C!=="raster-dem"&&l==="color-relief"?e.push(new vr(r,t.source,`layer "${t.id}" requires a raster-dem source`)):C==="raster"&&l!=="raster"?e.push(new vr(r,t.source,`layer "${t.id}" requires a vector source`)):C==="vector"&&!t["source-layer"]?e.push(new vr(r,t,`layer "${t.id}" must specify a "source-layer"`)):C==="raster-dem"&&l!=="hillshade"&&l!=="color-relief"?e.push(new vr(r,t.source,"raster-dem source can only be used with layer type 'hillshade' or 'color-relief'.")):l==="line"&&t.paint&&t.paint["line-gradient"]&&(C!=="geojson"||!f.lineMetrics)&&e.push(new vr(r,t,`layer "${t.id}" specifies a line-gradient, which requires a GeoJSON source with \`lineMetrics\` enabled.`)):e.push(new vr(r,t.source,`source "${t.source}" not found`))}return e=e.concat(Df({key:r,value:t,valueSpec:s.layer,style:n.style,styleSpec:n.styleSpec,validateSpec:n.validateSpec,objectElementValidators:{"*"(){return[]},type(){return n.validateSpec({key:`${r}.type`,value:t.type,valueSpec:s.layer.type,style:n.style,styleSpec:n.styleSpec,validateSpec:n.validateSpec,object:t,objectKey:"type"})},filter:VB,layout(f){return Df({layer:t,key:f.key,value:f.value,style:f.style,styleSpec:f.styleSpec,validateSpec:f.validateSpec,objectElementValidators:{"*"(C){return ML(By({layerType:l},C))}}})},paint(f){return Df({layer:t,key:f.key,value:f.value,style:f.style,styleSpec:f.styleSpec,validateSpec:f.validateSpec,objectElementValidators:{"*"(C){return xL(By({layerType:l},C))}}})}}})),e}function W1(n){const e=n.value,t=n.key,r=rs(e);return r!=="string"?[new vr(t,e,`string expected, ${r} found`)]:[]}function _$(n){var e;const t=(e=n.sourceName)!==null&&e!==void 0?e:"",r=n.value,i=n.styleSpec,s=i.source_raster_dem,l=n.style;let o=[];const f=rs(r);if(r===void 0)return o;if(f!=="object")return o.push(new vr("source_raster_dem",r,`object expected, ${f} found`)),o;const w=WA(r.encoding)==="custom",B=["redFactor","greenFactor","blueFactor","baseShift"],D=n.value.encoding?`"${n.value.encoding}"`:"Default";for(const R in r)!w&&B.includes(R)?o.push(new vr(R,r[R],`In "${t}": "${R}" is only valid when "encoding" is set to "custom". ${D} encoding found`)):s[R]?o=o.concat(n.validateSpec({key:R,value:r[R],valueSpec:s[R],validateSpec:n.validateSpec,style:l,styleSpec:i})):o.push(new vr(R,r[R],`unknown property "${R}"`));return o}const s7={promoteId:b$};function SL(n){const e=n.value,t=n.key,r=n.styleSpec,i=n.style,s=n.validateSpec;if(!e.type)return[new vr(t,e,'"type" is required')];const l=WA(e.type);let o;switch(l){case"vector":case"raster":return o=Df({key:t,value:e,valueSpec:r[`source_${l.replace("-","_")}`],style:n.style,styleSpec:r,objectElementValidators:s7,validateSpec:s}),o;case"raster-dem":return o=_$({sourceName:t,value:e,style:n.style,styleSpec:r,validateSpec:s}),o;case"geojson":if(o=Df({key:t,value:e,valueSpec:r.source_geojson,style:i,styleSpec:r,validateSpec:s,objectElementValidators:s7}),e.cluster)for(const f in e.clusterProperties){const[C,w]=e.clusterProperties[f],B=typeof C=="string"?[C,["accumulated"],["get",f]]:C;o.push(...Ty({key:`${t}.${f}.map`,value:w,expressionContext:"cluster-map"})),o.push(...Ty({key:`${t}.${f}.reduce`,value:B,expressionContext:"cluster-reduce"}))}return o;case"video":return Df({key:t,value:e,valueSpec:r.source_video,style:i,validateSpec:s,sLine truncated
}`;var es=Bm(function(){return Po(dt,Si+"return "+sr).apply(t,Ft)});if(es.source=sr,Ap(es))throw es;return es}function Hl(b){return Hs(b).toLowerCase()}function Sa(b){return Hs(b).toUpperCase()}function Gd(b,T,V){if(b=Hs(b),b&&(V||T===t))return uf(b);if(!b||!(T=br(T)))return b;var ve=Gl(b),Xe=Gl(T),dt=mu(ve,Xe),Ft=Oh(ve,Xe)+1;return na(ve,dt,Ft).join("")}function d0(b,T,V){if(b=Hs(b),b&&(V||T===t))return b.slice(0,$A(b)+1);if(!b||!(T=br(T)))return b;var ve=Gl(b),Xe=Oh(ve,Gl(T))+1;return na(ve,0,Xe).join("")}function jd(b,T,V){if(b=Hs(b),b&&(V||T===t))return b.replace(Ei,"");if(!b||!(T=br(T)))return b;var ve=Gl(b),Xe=mu(ve,Gl(T));return na(ve,Xe).join("")}function U3(b,T){var V=me,ve=xe;if(Rl(T)){var Xe="separator"in T?T.separator:Xe;V="length"in T?Mo(T.length):V,ve="omission"in T?br(T.omission):ve}b=Hs(b);var dt=b.length;if(eh(b)){var Ft=Gl(b);dt=Ft.length}if(V>=dt)return b;var Yt=V-th(ve);if(Yt<1)return ve;var tn=Ft?na(Ft,0,Yt).join(""):b.slice(0,Yt);if(Xe===t)return tn+ve;if(Ft&&(Yt+=tn.length-Yt),u0(Xe)){if(b.slice(Yt).search(Xe)){var zn,jn=tn;for(Xe.global||(Xe=oc(Xe.source,Hs(ki.exec(Xe))+"g")),Xe.lastIndex=0;zn=Xe.exec(jn);)var sr=zn.index;tn=tn.slice(0,sr===t?Yt:sr)}}else if(b.indexOf(br(Xe),Yt)!=Yt){var Gr=tn.lastIndexOf(Xe);Gr>-1&&(tn=tn.slice(0,Gr))}return tn+ve}function f0(b){return b=Hs(b),b&&rn.test(b)?b.replace(Bt,Bo):b}var Sm=tl(function(b,T,V){return b+(V?" ":"")+T.toUpperCase()}),$p=mf("toUpperCase");function Em(b,T,V){return b=Hs(b),T=V?t:T,T===t?ld(b)?qf(b):lf(b):b.match(T)||[]}var Bm=yt(function(b,T){try{return Ws(b,t,T)}catch(V){return Ap(V)?V:new Di(V)}}),X_=gc(function(b,T){return Vo(T,function(V){V=Vs(V),xu(b,V,Vn(b[V],b))}),b});function J_(b){var T=b==null?0:b.length,V=wi();return b=T?oo(b,function(ve){if(typeof ve[1]!="function")throw new rA(l);return[V(ve[0]),ve[1]]}):[],yt(function(ve){for(var Xe=-1;++Xe<T;){var dt=b[Xe];if(Ws(dt[0],this,ve))return Ws(dt[1],this,ve)}})}function eb(b){return $f(Il(b,B))}function bg(b){return function(){return b}}function Cv(b,T){return b==null||b!==b?T:b}var _v=jh(),cp=jh(!0);function Wc(b){return b}function xg(b){return O(typeof b=="function"?b:Il(b,B))}function z3(b){return I(Il(b,B))}function N3(b,T){return z(b,Il(T,B))}var G3=yt(function(b,T){return function(V){return ml(V,b,T)}}),j3=yt(function(b,T){return function(V){return ml(b,V,T)}});function bv(b,T,V){var ve=ne(T),Xe=tu(T,ve);V==null&&!(Rl(T)&&(Xe.length||!ve.length))&&(V=T,T=b,b=this,Xe=tu(T,ne(T)));var dt=!(Rl(V)&&"chain"in V)||!!V.chain,Ft=wf(b);return Vo(Xe,function(Yt){var tn=T[Yt];b[Yt]=tn,Ft&&(b.prototype[Yt]=function(){var zn=this.__chain__;if(dt||zn){var jn=b(this.__wrapped__),sr=jn.__actions__=No(this.__actions__);return sr.push({func:tn,args:arguments,thisArg:b}),jn.__chain__=zn,jn}return tn.apply(b,rc([this.value()],arguments))})}),b}function W3(){return Sr._===this&&(Sr._=Ja),this}function xv(){}function Q3(b){return b=Mo(b),yt(function(T){return ue(T,b)})}var Wd=Vf(oo),Mg=Vf(YA),tb=Vf(Jc);function nb(b){return K(b)?sd(Vs(b)):De(b)}function Y3(b){return function(T){return b==null?t:nu(b,T)}}var q3=pd(),Zu=pd(!0);function Qc(){return[]}function hp(){return!1}function Qd(){return{}}function Om(){return""}function Ef(){return!0}function aj(b,T){if(b=Mo(b),b<1||b>at)return[];var V=Te,ve=ea(b,Te);T=wi(T),b-=Te;for(var Xe=Wf(ve,T);++V<b;)T(V);return Xe}function lj(b){return Co(b)?oo(b,Vs):_c(b)?[b]:No($s(Hs(b)))}function Aj(b){var T=++rh;return Hs(b)+T}var uj=fd(function(b,T){return b+T},0),cj=kl("ceil"),hj=fd(function(b,T){return b/T},1),dj=kl("floor");function fj(b){return b&&b.length?Rc(b,Wc,Na):t}function pj(b,T){return b&&b.length?Rc(b,wi(T,2),Na):t}function mj(b){return od(b,Wc)}function gj(b,T){return od(b,wi(T,2))}function yj(b){return b&&b.length?Rc(b,Wc,v):t}function vj(b,T){return b&&b.length?Rc(b,wi(T,2),v):t}var Cj=fd(function(b,T){return b*T},1),_j=kl("round"),bj=fd(function(b,T){return b-T},0);function xj(b){return b&&b.length?Eh(b,Wc):0}function Mj(b,T){return b&&b.length?Eh(b,wi(T,2)):0}return ot.after=Gt,ot.ary=vn,ot.assign=fv,ot.assignIn=Cg,ot.assignInWith=A1,ot.assignWith=u1,ot.at=pv,ot.before=tr,ot.bind=Vn,ot.bindAll=X_,ot.bindKey=Un,ot.castArray=B3,ot.chain=Wp,ot.chunk=ja,ot.compact=oa,ot.concat=Jo,ot.cond=J_,ot.conforms=eb,ot.constant=bg,ot.countBy=fg,ot.create=Z_,ot.curry=zr,ot.curryRight=Hr,ot.debounce=oi,ot.defaults=mv,ot.defaultsDeep=_g,ot.defer=Wa,ot.delay=sn,ot.difference=Ai,ot.differenceBy=qo,ot.differenceWith=Ss,ot.drop=Us,ot.dropRight=ks,ot.dropRightWhile=FA,ot.dropWhile=so,ot.fill=Ld,ot.filter=s0,ot.flatMap=bm,ot.flatMapDeep=mg,ot.flatMapDepth=zd,ot.flatten=yc,ot.flattenDeep=rl,ot.flattenDepth=vl,ot.flip=Ht,ot.flow=_v,ot.flowRight=cp,ot.fromPairs=ep,ot.functions=A,ot.functionsIn=u,ot.groupBy=Yp,ot.initial=Zm,ot.intersection=V0,ot.intersectionBy=zc,ot.intersectionWith=Xm,ot.invert=P,ot.invertBy=N,ot.invokeMap=gg,ot.iteratee=xg,ot.keyBy=ov,ot.keys=ne,ot.keysIn=ce,ot.map=Mf,ot.mapKeys=Se,ot.mapValues=Fe,ot.matches=z3,ot.matchesProperty=N3,ot.memoize= Line truncated
Use an identity property function instead: \`{ "type": "identity", "property": ${JSON.stringify(B[1])} }\`.`)];const D=[];return n.layerType==="symbol"&&(o==="text-field"&&i&&!i.glyphs&&D.push(new vr(t,l,'use of "text-field" requires a style "glyphs" property')),o==="text-font"&&Qy(j1(l))&&WA(l.type)==="identity"&&D.push(new vr(t,l,'"text-font" does not support identity functions'))),D.concat(r({key:n.key,value:l,valueSpec:w,style:i,styleSpec:s,expressionContext:"property",propertyType:e,propertyKey:o}))}function ML(n){return xL(n,"paint")}function wL(n){return xL(n,"layout")}function SL(n){let e=[];const t=n.value,r=n.key,i=n.style,s=n.styleSpec;if(rs(t)!=="object")return[new vr(r,t,`object expected, ${rs(t)} found`)];!t.type&&!t.ref&&e.push(new vr(r,t,'either "type" or "ref" is required'));let l=WA(t.type);const o=WA(t.ref);if(t.id){const f=WA(t.id);for(let C=0;C<n.arrayIndex;C++){const w=i.layers[C];WA(w.id)===f&&e.push(new vr(r,t.id,`duplicate layer id "${t.id}", previously used at line ${w.id.__line__}`))}}if("ref"in t){["type","source","source-layer","filter","layout"].forEach(C=>{C in t&&e.push(new vr(r,t[C],`"${C}" is prohibited for ref layers`))});let f;i.layers.forEach(C=>{WA(C.id)===o&&(f=C)}),f?f.ref?e.push(new vr(r,t.ref,"ref cannot reference another ref layer")):l=WA(f.type):e.push(new vr(r,t.ref,`ref layer "${o}" not found`))}else if(l!=="background")if(!t.source)e.push(new vr(r,t,'missing required property "source"'));else{const f=i.sources&&i.sources[t.source],C=f&&WA(f.type);f?C==="vector"&&l==="raster"?e.push(new vr(r,t.source,`layer "${t.id}" requires a raster source`)):C!=="raster-dem"&&l==="hillshade"?e.push(new vr(r,t.source,`layer "${t.id}" requires a raster-dem source`)):C!=="raster-dem"&&l==="color-relief"?e.push(new vr(r,t.source,`layer "${t.id}" requires a raster-dem source`)):C==="raster"&&l!=="raster"?e.push(new vr(r,t.source,`layer "${t.id}" requires a vector source`)):C==="vector"&&!t["source-layer"]?e.push(new vr(r,t,`layer "${t.id}" must specify a "source-layer"`)):C==="raster-dem"&&l!=="hillshade"&&l!=="color-relief"?e.push(new vr(r,t.source,"raster-dem source can only be used with layer type 'hillshade' or 'color-relief'.")):l==="line"&&t.paint&&t.paint["line-gradient"]&&(C!=="geojson"||!f.lineMetrics)&&e.push(new vr(r,t,`layer "${t.id}" specifies a line-gradient, which requires a GeoJSON source with \`lineMetrics\` enabled.`)):e.push(new vr(r,t.source,`source "${t.source}" not found`))}return e=e.concat(Df({key:r,value:t,valueSpec:s.layer,style:n.style,styleSpec:n.styleSpec,validateSpec:n.validateSpec,objectElementValidators:{"*"(){return[]},type(){return n.validateSpec({key:`${r}.type`,value:t.type,valueSpec:s.layer.type,style:n.style,styleSpec:n.styleSpec,validateSpec:n.validateSpec,object:t,objectKey:"type"})},filter:$B,layout(f){return Df({layer:t,key:f.key,value:f.value,style:f.style,styleSpec:f.styleSpec,validateSpec:f.validateSpec,objectElementValidators:{"*"(C){return wL(By({layerType:l},C))}}})},paint(f){return Df({layer:t,key:f.key,value:f.value,style:f.style,styleSpec:f.styleSpec,validateSpec:f.validateSpec,objectElementValidators:{"*"(C){return ML(By({layerType:l},C))}}})}}})),e}function W1(n){const e=n.value,t=n.key,r=rs(e);return r!=="string"?[new vr(t,e,`string expected, ${r} found`)]:[]}function _$(n){var e;const t=(e=n.sourceName)!==null&&e!==void 0?e:"",r=n.value,i=n.styleSpec,s=i.source_raster_dem,l=n.style;let o=[];const f=rs(r);if(r===void 0)return o;if(f!=="object")return o.push(new vr("source_raster_dem",r,`object expected, ${f} found`)),o;const w=WA(r.encoding)==="custom",B=["redFactor","greenFactor","blueFactor","baseShift"],D=n.value.encoding?`"${n.value.encoding}"`:"Default";for(const R in r)!w&&B.includes(R)?o.push(new vr(R,r[R],`In "${t}": "${R}" is only valid when "encoding" is set to "custom". ${D} encoding found`)):s[R]?o=o.concat(n.validateSpec({key:R,value:r[R],valueSpec:s[R],validateSpec:n.validateSpec,style:l,styleSpec:i})):o.push(new vr(R,r[R],`unknown property "${R}"`));return o}const s7={promoteId:b$};function EL(n){const e=n.value,t=n.key,r=n.styleSpec,i=n.style,s=n.validateSpec;if(!e.type)return[new vr(t,e,'"type" is required')];const l=WA(e.type);let o;switch(l){case"vector":case"raster":return o=Df({key:t,value:e,valueSpec:r[`source_${l.replace("-","_")}`],style:n.style,styleSpec:r,objectElementValidators:s7,validateSpec:s}),o;case"raster-dem":return o=_$({sourceName:t,value:e,style:n.style,styleSpec:r,validateSpec:s}),o;case"geojson":if(o=Df({key:t,value:e,valueSpec:r.source_geojson,style:i,styleSpec:r,validateSpec:s,objectElementValidators:s7}),e.cluster)for(const f in e.clusterProperties){const[C,w]=e.clusterProperties[f],B=typeof C=="string"?[C,["accumulated"],["get",f]]:C;o.push(...Ty({key:`${t}.${f}.map`,value:w,expressionContext:"cluster-map"})),o.push(...Ty({key:`${t}.${f}.reduce`,value:B,expressionContext:"cluster-reduce"}))}return o;case"video":return Df({key:t,value:e,valueSpec:r.source_video,style:i,validateSpec:s,sLine truncated
${B}`),G].join(`
${o}`)}return C}(n,"",0)}function l7(n,e){const t={};for(const r in e)n[r]!==void 0&&(t[r]=n[r]);for(const r in n)t[r]===void 0&&(t[r]=n[r]);return t}function RL(n,e=2){return n=l7(n,Es.$root),n.layers&&(n.layers=n.layers.map(t=>l7(t,Es.layer))),D$(n,{indent:e})}function v4(n,e){for(const t in n)t.indexOf("layout")===0&&e(n[t],t)}function A7(n,e){for(const t in n)t.indexOf("paint")===0&&e(n[t],t)}function y6(n,e){return typeof e=="string"&&e[0]==="@"?y6(n,n.constants[e]):e}function K$(n){return Array.isArray(n.stops)}function Ev(n,e,t){n[t]=n[e],delete n[e]}function F$(n){n.version=8,v$(n,i=>{i.type==="video"&&i.url!==void 0&&Ev(i,"url","urls"),i.type==="video"&&i.coordinates.forEach(s=>s.reverse())}),cC(n,i=>{v4(i,s=>{s["symbol-min-distance"]!==void 0&&Ev(s,"symbol-min-distance","symbol-spacing")}),A7(i,s=>{s["background-image"]!==void 0&&Ev(s,"background-image","background-pattern"),s["line-image"]!==void 0&&Ev(s,"line-image","line-pattern"),s["fill-image"]!==void 0&&Ev(s,"fill-image","fill-pattern")})}),qB(n,{paint:!0,layout:!0},i=>{const s=y6(n,i.value);K$(s)&&s.stops.forEach(l=>{l[1]=y6(n,l[1])}),i.set(s)}),delete n.constants,cC(n,i=>{v4(i,s=>{delete s["text-max-size"],delete s["icon-max-size"]}),A7(i,s=>{s["text-size"]&&(i.layout||(i.layout={}),i.layout["text-size"]=s["text-size"],delete s["text-size"]),s["icon-size"]&&(i.layout||(i.layout={}),i.layout["icon-size"]=s["icon-size"],delete s["icon-size"])})});function e(i){function s(l){return l.split(",").map(o=>o.trim())}if(Array.isArray(i))return i;if(typeof i=="string")return s(i);if(typeof i=="object")return i.stops.forEach(l=>{l[1]=s(l[1])}),i;throw new Error("unexpected font value")}cC(n,i=>{v4(i,s=>{s["text-font"]&&(s["text-font"]=e(s["text-font"]))})});let t=0;for(let i=n.layers.length-1;i>=0;i--)if(n.layers[i].type!=="symbol"){t=i+1;break}const r=n.layers.splice(t);return r.reverse(),n.layers=n.layers.concat(r),n}function L$(n){const e=[];return cC(n,t=>{t.filter&&(t.filter=uC(t.filter))}),qB(n,{paint:!0,layout:!0},({path:t,value:r,reference:i,set:s})=>{Yy(r)||(typeof r=="object"&&!Array.isArray(r)?(s(jB(r,i)),e.push(t.join("."))):i.tokens&&typeof r=="string"&&s(yL(r)))}),n}function U$(n){return JSON.parse(z$(JSON.stringify(n)))}function z$(n){return n.replace(/"hsla?\((.+?)\)"/gi,(e,t)=>{const r=t.match(/^(.+?)\s*,\s*(.+?)\s*,\s*(.+?)(?:\s*,\s*(.+))?$/i);if(r){let[i,s,l,o]=r.slice(1);return[s,l]=[s,l].map(f=>f.endsWith("%")?f:`${parseFloat(f)*100}%`),`"hsl${typeof o=="string"?"a":""}(${[i,s,l,o].filter(Boolean).join(",")})"`}return e})}function N$(n){let e=!1;if(n.version===7&&(n=F$(n),e=!0),n.version===8&&(e=!!L$(n),e=!0),qB(n,{paint:!0,layout:!0},({value:t,reference:r,set:i})=>{r.type==="color"&&i(U$(t))}),!e)throw new Error(`Cannot migrate from ${n.version}`);return n}const Jd=Es,G$={StyleExpression:mL,StylePropertyFunction:Ex,ZoomConstantExpression:f6,ZoomDependentExpression:p6,createExpression:wx,createPropertyExpression:Sx,isExpression:Yy,isExpressionFilter:p_,isZoomExpression:i$,normalizePropertyExpression:o$},j$={convertFunction:jB,createFunction:GB,isFunction:Qy};var Ix=ox();const W$=zl(Ix);var Zb={exports:{}};/**
${o}`)}return C}(n,"",0)}function l7(n,e){const t={};for(const r in e)n[r]!==void 0&&(t[r]=n[r]);for(const r in n)t[r]===void 0&&(t[r]=n[r]);return t}function DL(n,e=2){return n=l7(n,Es.$root),n.layers&&(n.layers=n.layers.map(t=>l7(t,Es.layer))),D$(n,{indent:e})}function y4(n,e){for(const t in n)t.indexOf("layout")===0&&e(n[t],t)}function A7(n,e){for(const t in n)t.indexOf("paint")===0&&e(n[t],t)}function g6(n,e){return typeof e=="string"&&e[0]==="@"?g6(n,n.constants[e]):e}function K$(n){return Array.isArray(n.stops)}function Ev(n,e,t){n[t]=n[e],delete n[e]}function F$(n){n.version=8,v$(n,i=>{i.type==="video"&&i.url!==void 0&&Ev(i,"url","urls"),i.type==="video"&&i.coordinates.forEach(s=>s.reverse())}),cC(n,i=>{y4(i,s=>{s["symbol-min-distance"]!==void 0&&Ev(s,"symbol-min-distance","symbol-spacing")}),A7(i,s=>{s["background-image"]!==void 0&&Ev(s,"background-image","background-pattern"),s["line-image"]!==void 0&&Ev(s,"line-image","line-pattern"),s["fill-image"]!==void 0&&Ev(s,"fill-image","fill-pattern")})}),YB(n,{paint:!0,layout:!0},i=>{const s=g6(n,i.value);K$(s)&&s.stops.forEach(l=>{l[1]=g6(n,l[1])}),i.set(s)}),delete n.constants,cC(n,i=>{y4(i,s=>{delete s["text-max-size"],delete s["icon-max-size"]}),A7(i,s=>{s["text-size"]&&(i.layout||(i.layout={}),i.layout["text-size"]=s["text-size"],delete s["text-size"]),s["icon-size"]&&(i.layout||(i.layout={}),i.layout["icon-size"]=s["icon-size"],delete s["icon-size"])})});function e(i){function s(l){return l.split(",").map(o=>o.trim())}if(Array.isArray(i))return i;if(typeof i=="string")return s(i);if(typeof i=="object")return i.stops.forEach(l=>{l[1]=s(l[1])}),i;throw new Error("unexpected font value")}cC(n,i=>{y4(i,s=>{s["text-font"]&&(s["text-font"]=e(s["text-font"]))})});let t=0;for(let i=n.layers.length-1;i>=0;i--)if(n.layers[i].type!=="symbol"){t=i+1;break}const r=n.layers.splice(t);return r.reverse(),n.layers=n.layers.concat(r),n}function L$(n){const e=[];return cC(n,t=>{t.filter&&(t.filter=uC(t.filter))}),YB(n,{paint:!0,layout:!0},({path:t,value:r,reference:i,set:s})=>{Yy(r)||(typeof r=="object"&&!Array.isArray(r)?(s(GB(r,i)),e.push(t.join("."))):i.tokens&&typeof r=="string"&&s(vL(r)))}),n}function U$(n){return JSON.parse(z$(JSON.stringify(n)))}function z$(n){return n.replace(/"hsla?\((.+?)\)"/gi,(e,t)=>{const r=t.match(/^(.+?)\s*,\s*(.+?)\s*,\s*(.+?)(?:\s*,\s*(.+))?$/i);if(r){let[i,s,l,o]=r.slice(1);return[s,l]=[s,l].map(f=>f.endsWith("%")?f:`${parseFloat(f)*100}%`),`"hsl${typeof o=="string"?"a":""}(${[i,s,l,o].filter(Boolean).join(",")})"`}return e})}function N$(n){let e=!1;if(n.version===7&&(n=F$(n),e=!0),n.version===8&&(e=!!L$(n),e=!0),YB(n,{paint:!0,layout:!0},({value:t,reference:r,set:i})=>{r.type==="color"&&i(U$(t))}),!e)throw new Error(`Cannot migrate from ${n.version}`);return n}const Jd=Es,G$={StyleExpression:gL,StylePropertyFunction:Ex,ZoomConstantExpression:d6,ZoomDependentExpression:f6,createExpression:wx,createPropertyExpression:Sx,isExpression:Yy,isExpressionFilter:p_,isZoomExpression:i$,normalizePropertyExpression:o$},j$={convertFunction:GB,createFunction:NB,isFunction:Qy};var Zb={exports:{}};/**
* MapLibre GL JS
* @license 3-Clause BSD. Full text of license: https://github.com/maplibre/maplibre-gl-js/blob/v5.6.2/LICENSE.txt
*/var Q$=Zb.exports,u7;function Y$(){return u7||(u7=1,function(n,e){(function(t,r){n.exports=r()})(Q$,function(){var t={},r={};function i(l,o,f){if(r[l]=f,l==="index"){var C="var sharedModule = {}; ("+r.shared+")(sharedModule); ("+r.worker+")(sharedModule);",w={};return r.shared(w),r.index(t,w),typeof window<"u"&&t.setWorkerUrl(window.URL.createObjectURL(new Blob([C],{type:"text/javascript"}))),t}}i("shared",["exports"],function(l){function o(c,A,u,g){return new(u||(u=Promise))(function(x,k){function P(ne){try{q(g.next(ne))}catch(ce){k(ce)}}function N(ne){try{q(g.throw(ne))}catch(ce){k(ce)}}function q(ne){var ce;ne.done?x(ne.value):(ce=ne.value,ce instanceof u?ce:new u(function(Se){Se(ce)})).then(P,N)}q((g=g.apply(c,A||[])).next())})}function f(c,A){this.x=c,this.y=A}function C(c){return c&&c.__esModule&&Object.prototype.hasOwnProperty.call(c,"default")?c.default:c}var w,B;typeof SuppressedError=="function"&&SuppressedError,f.prototype={clone(){return new f(this.x,this.y)},add(c){return this.clone()._add(c)},sub(c){return this.clone()._sub(c)},multByPoint(c){return this.clone()._multByPoint(c)},divByPoint(c){return this.clone()._divByPoint(c)},mult(c){return this.clone()._mult(c)},div(c){return this.clone()._div(c)},rotate(c){return this.clone()._rotate(c)},rotateAround(c,A){return this.clone()._rotateAround(c,A)},matMult(c){return this.clone()._matMult(c)},unit(){return this.clone()._unit()},perp(){return this.clone()._perp()},round(){return this.clone()._round()},mag(){return Math.sqrt(this.x*this.x+this.y*this.y)},equals(c){return this.x===c.x&&this.y===c.y},dist(c){return Math.sqrt(this.distSqr(c))},distSqr(c){const A=c.x-this.x,u=c.y-this.y;return A*A+u*u},angle(){return Math.atan2(this.y,this.x)},angleTo(c){return Math.atan2(this.y-c.y,this.x-c.x)},angleWith(c){return this.angleWithSep(c.x,c.y)},angleWithSep(c,A){return Math.atan2(this.x*A-this.y*c,this.x*c+this.y*A)},_matMult(c){const A=c[2]*this.x+c[3]*this.y;return this.x=c[0]*this.x+c[1]*this.y,this.y=A,this},_add(c){return this.x+=c.x,this.y+=c.y,this},_sub(c){return this.x-=c.x,this.y-=c.y,this},_mult(c){return this.x*=c,this.y*=c,this},_div(c){return this.x/=c,this.y/=c,this},_multByPoint(c){return this.x*=c.x,this.y*=c.y,this},_divByPoint(c){return this.x/=c.x,this.y/=c.y,this},_unit(){return this._div(this.mag()),this},_perp(){const c=this.y;return this.y=this.x,this.x=-c,this},_rotate(c){const A=Math.cos(c),u=Math.sin(c),g=u*this.x+A*this.y;return this.x=A*this.x-u*this.y,this.y=g,this},_rotateAround(c,A){const u=Math.cos(c),g=Math.sin(c),x=A.y+g*(this.x-A.x)+u*(this.y-A.y);return this.x=A.x+u*(this.x-A.x)-g*(this.y-A.y),this.y=x,this},_round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},constructor:f},f.convert=function(c){if(c instanceof f)return c;if(Array.isArray(c))return new f(+c[0],+c[1]);if(c.x!==void 0&&c.y!==void 0)return new f(+c.x,+c.y);throw new Error("Expected [x, y] or {x, y} point format")};var D=function(){if(B)return w;function c(A,u,g,x){this.cx=3*A,this.bx=3*(g-A)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*u,this.by=3*(x-u)-this.cy,this.ay=1-this.cy-this.by,this.p1x=A,this.p1y=u,this.p2x=g,this.p2y=x}return B=1,w=c,c.prototype={sampleCurveX:function(A){return((this.ax*A+this.bx)*A+this.cx)*A},sampleCurveY:function(A){return((this.ay*A+this.by)*A+this.cy)*A},sampleCurveDerivativeX:function(A){return(3*this.ax*A+2*this.bx)*A+this.cx},solveCurveX:function(A,u){if(u===void 0&&(u=1e-6),A<0)return 0;if(A>1)return 1;for(var g=A,x=0;x<8;x++){var k=this.sampleCurveX(g)-A;if(Math.abs(k)<u)return g;var P=this.sampleCurveDerivativeX(g);if(Math.abs(P)<1e-6)break;g-=k/P}var N=0,q=1;for(g=A,x=0;x<20&&(k=this.sampleCurveX(g),!(Math.abs(k-A)<u));x++)A>k?N=g:q=g,g=.5*(q-N)+N;return g},solve:function(A,u){return this.sampleCurveY(this.solveCurveX(A,u))}},w}(),R=C(D);let U,G;function W(){return U==null&&(U=typeof OffscreenCanvas<"u"&&new OffscreenCanvas(1,1).getContext("2d")&&typeof createImageBitmap=="function"),U}function J(){if(G==null&&(G=!1,W())){const A=new OffscreenCanvas(5,5).getContext("2d",{willReadFrequently:!0});if(A){for(let g=0;g<5*5;g++){const x=4*g;A.fillStyle=`rgb(${x},${x+1},${x+2})`,A.fillRect(g%5,Math.floor(g/5),1,1)}const u=A.getImageData(0,0,5,5).data;for(let g=0;g<5*5*4;g++)if(g%4!=3&&u[g]!==g){G=!0;break}}}return G||!1}var $=1e-6,oe=typeof Float32Array<"u"?Float32Array:Array;function te(){var c=new oe(9);return oe!=Float32Array&&(c[1]=0,c[2]=0,c[3]=0,c[5]=0,c[6]=0,c[7]=0),c[0]=1,c[4]=1,c[8]=1,c}function H(c){return c[0]=1,c[1]=0,c[2]=0,c[3]=0,c[4]=0,c[5]=1,c[6]=0,c[7]=0,c[8]=0,c[9]=0,c[10]=1,c[11]=0,c[12]=0,c[13]=0,c[14]=0,c[15]=1,c}function re(){var c=new oe(3);return oe!=Float32Array&&(c[0]=0,c[1]=0,c[2]=0),c}function j(c){return Math.hypot(c[0],c[1],c[2])}function Ae(c,A,u){var g=new oe(3);return g[0]=c,g[1]=A,g[2]=u,g}function ge(c,A,u){return c[0]=A[0]+u[0],c[1]=A[1]+u[1],c[2]=A[2]+u[2],c}function me(c,A,u){return c[0]=A[0]*u,c[1]=A[1]*u,c[2]=A[2]*u,c}function xe(c,A,u){var g=A[0],x=A[1],kLine truncated
Use an identity property function instead: \`{ "type": "identity", "property": ${JSON.stringify(Se[1])} }\`.`)];const Fe=[];return c.layerType==="symbol"&&(N==="text-field"&&x&&!x.glyphs&&Fe.push(new _n(u,P,'use of "text-field" requires a style "glyphs" property')),N==="text-font"&&Nu(El(P))&&fs(P.type)==="identity"&&Fe.push(new _n(u,P,'"text-font" does not support identity functions'))),Fe.concat(g({key:c.key,value:P,valueSpec:ce,style:x,styleSpec:k,expressionContext:"property",propertyType:A,propertyKey:N}))}function da(c){return di(c,"paint")}function lh(c){return di(c,"layout")}function Lh(c){let A=[];const u=c.value,g=c.key,x=c.style,k=c.styleSpec;if(Qi(u)!=="object")return[new _n(g,u,`object expected, ${Qi(u)} found`)];u.type||u.ref||A.push(new _n(g,u,'either "type" or "ref" is required'));let P=fs(u.type);const N=fs(u.ref);if(u.id){const q=fs(u.id);for(let ne=0;ne<c.arrayIndex;ne++){const ce=x.layers[ne];fs(ce.id)===q&&A.push(new _n(g,u.id,`duplicate layer id "${u.id}", previously used at line ${ce.id.__line__}`))}}if("ref"in u){let q;["type","source","source-layer","filter","layout"].forEach(ne=>{ne in u&&A.push(new _n(g,u[ne],`"${ne}" is prohibited for ref layers`))}),x.layers.forEach(ne=>{fs(ne.id)===N&&(q=ne)}),q?q.ref?A.push(new _n(g,u.ref,"ref cannot reference another ref layer")):P=fs(q.type):A.push(new _n(g,u.ref,`ref layer "${N}" not found`))}else if(P!=="background")if(u.source){const q=x.sources&&x.sources[u.source],ne=q&&fs(q.type);q?ne==="vector"&&P==="raster"?A.push(new _n(g,u.source,`layer "${u.id}" requires a raster source`)):ne!=="raster-dem"&&P==="hillshade"||ne!=="raster-dem"&&P==="color-relief"?A.push(new _n(g,u.source,`layer "${u.id}" requires a raster-dem source`)):ne==="raster"&&P!=="raster"?A.push(new _n(g,u.source,`layer "${u.id}" requires a vector source`)):ne!=="vector"||u["source-layer"]?ne==="raster-dem"&&P!=="hillshade"&&P!=="color-relief"?A.push(new _n(g,u.source,"raster-dem source can only be used with layer type 'hillshade' or 'color-relief'.")):P!=="line"||!u.paint||!u.paint["line-gradient"]||ne==="geojson"&&q.lineMetrics||A.push(new _n(g,u,`layer "${u.id}" specifies a line-gradient, which requires a GeoJSON source with \`lineMetrics\` enabled.`)):A.push(new _n(g,u,`layer "${u.id}" must specify a "source-layer"`)):A.push(new _n(g,u.source,`source "${u.source}" not found`))}else A.push(new _n(g,u,'missing required property "source"'));return A=A.concat(ha({key:g,value:u,valueSpec:k.layer,style:c.style,styleSpec:c.styleSpec,validateSpec:c.validateSpec,objectElementValidators:{"*":()=>[],type:()=>c.validateSpec({key:`${g}.type`,value:u.type,valueSpec:k.layer.type,style:c.style,styleSpec:c.styleSpec,validateSpec:c.validateSpec,object:u,objectKey:"type"}),filter:Qs,layout:q=>ha({layer:u,key:q.key,value:q.value,style:q.style,styleSpec:q.styleSpec,validateSpec:q.validateSpec,objectElementValidators:{"*":ne=>lh(go({layerType:P},ne))}}),paint:q=>ha({layer:u,key:q.key,value:q.value,style:q.style,styleSpec:q.styleSpec,validateSpec:q.validateSpec,objectElementValidators:{"*":ne=>da(go({layerType:P},ne))}})}})),A}function Is(c){const A=c.value,u=c.key,g=Qi(A);return g!=="string"?[new _n(u,A,`string expected, ${g} found`)]:[]}const ps={promoteId:function({key:c,value:A}){if(Qi(A)==="string")return Is({key:c,value:A});{const u=[];for(const g in A)u.push(...Is({key:`${c}.${g}`,value:A[g]}));return u}}};function co(c){const A=c.value,u=c.key,g=c.styleSpec,x=c.style,k=c.validateSpec;if(!A.type)return[new _n(u,A,'"type" is required')];const P=fs(A.type);let N;switch(P){case"vector":case"raster":return N=ha({key:u,value:A,valueSpec:g[`source_${P.replace("-","_")}`],style:c.style,styleSpec:g,objectElementValidators:ps,validateSpec:k}),N;case"raster-dem":return N=function(q){var ne;const ce=(ne=q.sourceName)!==null&&ne!==void 0?ne:"",Se=q.value,Fe=q.styleSpec,ze=Fe.source_raster_dem,qe=q.style;let et=[];const At=Qi(Se);if(Se===void 0)return et;if(At!=="object")return et.push(new _n("source_raster_dem",Se,`object expected, ${At} found`)),et;const Mt=fs(Se.encoding)==="custom",qt=["redFactor","greenFactor","blueFactor","baseShift"],kt=q.value.encoding?`"${q.value.encoding}"`:"Default";for(const Ut in Se)!Mt&&qt.includes(Ut)?et.push(new _n(Ut,Se[Ut],`In "${ce}": "${Ut}" is only valid when "encoding" is set to "custom". ${kt} encoding found`)):ze[Ut]?et=et.concat(q.validateSpec({key:Ut,value:Se[Ut],valueSpec:ze[Ut],validateSpec:q.validateSpec,style:qe,styleSpec:Fe})):et.push(new _n(Ut,Se[Ut],`unknown property "${Ut}"`));return et}({sourceName:u,value:A,style:c.style,styleSpec:g,validateSpec:k}),N;case"geojson":if(N=ha({key:u,value:A,valueSpec:g.source_geojson,style:x,styleSpec:g,validateSpec:k,objectElementValidators:ps}),A.cluster)for(const q in A.clusterProperties){const[ne,ce]=A.clusterProperties[q],Se=typeof ne=="string"?[ne,["accumulated"],["get",q]]:ne;N.push(...uc({key:`${u}.${q}.map`,value:ce,expressionContext:"cluster-map"})),N.push(...uc({key:`${u}.${q}.reduce`,value:Se,expressionCLine truncated
*/var W$=Zb.exports,u7;function Q$(){return u7||(u7=1,function(n,e){(function(t,r){n.exports=r()})(W$,function(){var t={},r={};function i(l,o,f){if(r[l]=f,l==="index"){var C="var sharedModule = {}; ("+r.shared+")(sharedModule); ("+r.worker+")(sharedModule);",w={};return r.shared(w),r.index(t,w),typeof window<"u"&&t.setWorkerUrl(window.URL.createObjectURL(new Blob([C],{type:"text/javascript"}))),t}}i("shared",["exports"],function(l){function o(c,A,u,g){return new(u||(u=Promise))(function(x,k){function P(ne){try{q(g.next(ne))}catch(ce){k(ce)}}function N(ne){try{q(g.throw(ne))}catch(ce){k(ce)}}function q(ne){var ce;ne.done?x(ne.value):(ce=ne.value,ce instanceof u?ce:new u(function(Se){Se(ce)})).then(P,N)}q((g=g.apply(c,A||[])).next())})}function f(c,A){this.x=c,this.y=A}function C(c){return c&&c.__esModule&&Object.prototype.hasOwnProperty.call(c,"default")?c.default:c}var w,B;typeof SuppressedError=="function"&&SuppressedError,f.prototype={clone(){return new f(this.x,this.y)},add(c){return this.clone()._add(c)},sub(c){return this.clone()._sub(c)},multByPoint(c){return this.clone()._multByPoint(c)},divByPoint(c){return this.clone()._divByPoint(c)},mult(c){return this.clone()._mult(c)},div(c){return this.clone()._div(c)},rotate(c){return this.clone()._rotate(c)},rotateAround(c,A){return this.clone()._rotateAround(c,A)},matMult(c){return this.clone()._matMult(c)},unit(){return this.clone()._unit()},perp(){return this.clone()._perp()},round(){return this.clone()._round()},mag(){return Math.sqrt(this.x*this.x+this.y*this.y)},equals(c){return this.x===c.x&&this.y===c.y},dist(c){return Math.sqrt(this.distSqr(c))},distSqr(c){const A=c.x-this.x,u=c.y-this.y;return A*A+u*u},angle(){return Math.atan2(this.y,this.x)},angleTo(c){return Math.atan2(this.y-c.y,this.x-c.x)},angleWith(c){return this.angleWithSep(c.x,c.y)},angleWithSep(c,A){return Math.atan2(this.x*A-this.y*c,this.x*c+this.y*A)},_matMult(c){const A=c[2]*this.x+c[3]*this.y;return this.x=c[0]*this.x+c[1]*this.y,this.y=A,this},_add(c){return this.x+=c.x,this.y+=c.y,this},_sub(c){return this.x-=c.x,this.y-=c.y,this},_mult(c){return this.x*=c,this.y*=c,this},_div(c){return this.x/=c,this.y/=c,this},_multByPoint(c){return this.x*=c.x,this.y*=c.y,this},_divByPoint(c){return this.x/=c.x,this.y/=c.y,this},_unit(){return this._div(this.mag()),this},_perp(){const c=this.y;return this.y=this.x,this.x=-c,this},_rotate(c){const A=Math.cos(c),u=Math.sin(c),g=u*this.x+A*this.y;return this.x=A*this.x-u*this.y,this.y=g,this},_rotateAround(c,A){const u=Math.cos(c),g=Math.sin(c),x=A.y+g*(this.x-A.x)+u*(this.y-A.y);return this.x=A.x+u*(this.x-A.x)-g*(this.y-A.y),this.y=x,this},_round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},constructor:f},f.convert=function(c){if(c instanceof f)return c;if(Array.isArray(c))return new f(+c[0],+c[1]);if(c.x!==void 0&&c.y!==void 0)return new f(+c.x,+c.y);throw new Error("Expected [x, y] or {x, y} point format")};var D=function(){if(B)return w;function c(A,u,g,x){this.cx=3*A,this.bx=3*(g-A)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*u,this.by=3*(x-u)-this.cy,this.ay=1-this.cy-this.by,this.p1x=A,this.p1y=u,this.p2x=g,this.p2y=x}return B=1,w=c,c.prototype={sampleCurveX:function(A){return((this.ax*A+this.bx)*A+this.cx)*A},sampleCurveY:function(A){return((this.ay*A+this.by)*A+this.cy)*A},sampleCurveDerivativeX:function(A){return(3*this.ax*A+2*this.bx)*A+this.cx},solveCurveX:function(A,u){if(u===void 0&&(u=1e-6),A<0)return 0;if(A>1)return 1;for(var g=A,x=0;x<8;x++){var k=this.sampleCurveX(g)-A;if(Math.abs(k)<u)return g;var P=this.sampleCurveDerivativeX(g);if(Math.abs(P)<1e-6)break;g-=k/P}var N=0,q=1;for(g=A,x=0;x<20&&(k=this.sampleCurveX(g),!(Math.abs(k-A)<u));x++)A>k?N=g:q=g,g=.5*(q-N)+N;return g},solve:function(A,u){return this.sampleCurveY(this.solveCurveX(A,u))}},w}(),R=C(D);let U,G;function W(){return U==null&&(U=typeof OffscreenCanvas<"u"&&new OffscreenCanvas(1,1).getContext("2d")&&typeof createImageBitmap=="function"),U}function J(){if(G==null&&(G=!1,W())){const A=new OffscreenCanvas(5,5).getContext("2d",{willReadFrequently:!0});if(A){for(let g=0;g<5*5;g++){const x=4*g;A.fillStyle=`rgb(${x},${x+1},${x+2})`,A.fillRect(g%5,Math.floor(g/5),1,1)}const u=A.getImageData(0,0,5,5).data;for(let g=0;g<5*5*4;g++)if(g%4!=3&&u[g]!==g){G=!0;break}}}return G||!1}var $=1e-6,oe=typeof Float32Array<"u"?Float32Array:Array;function te(){var c=new oe(9);return oe!=Float32Array&&(c[1]=0,c[2]=0,c[3]=0,c[5]=0,c[6]=0,c[7]=0),c[0]=1,c[4]=1,c[8]=1,c}function H(c){return c[0]=1,c[1]=0,c[2]=0,c[3]=0,c[4]=0,c[5]=1,c[6]=0,c[7]=0,c[8]=0,c[9]=0,c[10]=1,c[11]=0,c[12]=0,c[13]=0,c[14]=0,c[15]=1,c}function re(){var c=new oe(3);return oe!=Float32Array&&(c[0]=0,c[1]=0,c[2]=0),c}function j(c){return Math.hypot(c[0],c[1],c[2])}function Ae(c,A,u){var g=new oe(3);return g[0]=c,g[1]=A,g[2]=u,g}function ge(c,A,u){return c[0]=A[0]+u[0],c[1]=A[1]+u[1],c[2]=A[2]+u[2],c}function me(c,A,u){return c[0]=A[0]*u,c[1]=A[1]*u,c[2]=A[2]*u,c}function xe(c,A,u){var g=A[0],x=A[1],kLine truncated
Use an identity property function instead: \`{ "type": "identity", "property": ${JSON.stringify(Se[1])} }\`.`)];const Fe=[];return c.layerType==="symbol"&&(N==="text-field"&&x&&!x.glyphs&&Fe.push(new _n(u,P,'use of "text-field" requires a style "glyphs" property')),N==="text-font"&&Nu(El(P))&&fs(P.type)==="identity"&&Fe.push(new _n(u,P,'"text-font" does not support identity functions'))),Fe.concat(g({key:c.key,value:P,valueSpec:ce,style:x,styleSpec:k,expressionContext:"property",propertyType:A,propertyKey:N}))}function da(c){return di(c,"paint")}function lh(c){return di(c,"layout")}function Lh(c){let A=[];const u=c.value,g=c.key,x=c.style,k=c.styleSpec;if(Qi(u)!=="object")return[new _n(g,u,`object expected, ${Qi(u)} found`)];u.type||u.ref||A.push(new _n(g,u,'either "type" or "ref" is required'));let P=fs(u.type);const N=fs(u.ref);if(u.id){const q=fs(u.id);for(let ne=0;ne<c.arrayIndex;ne++){const ce=x.layers[ne];fs(ce.id)===q&&A.push(new _n(g,u.id,`duplicate layer id "${u.id}", previously used at line ${ce.id.__line__}`))}}if("ref"in u){let q;["type","source","source-layer","filter","layout"].forEach(ne=>{ne in u&&A.push(new _n(g,u[ne],`"${ne}" is prohibited for ref layers`))}),x.layers.forEach(ne=>{fs(ne.id)===N&&(q=ne)}),q?q.ref?A.push(new _n(g,u.ref,"ref cannot reference another ref layer")):P=fs(q.type):A.push(new _n(g,u.ref,`ref layer "${N}" not found`))}else if(P!=="background")if(u.source){const q=x.sources&&x.sources[u.source],ne=q&&fs(q.type);q?ne==="vector"&&P==="raster"?A.push(new _n(g,u.source,`layer "${u.id}" requires a raster source`)):ne!=="raster-dem"&&P==="hillshade"||ne!=="raster-dem"&&P==="color-relief"?A.push(new _n(g,u.source,`layer "${u.id}" requires a raster-dem source`)):ne==="raster"&&P!=="raster"?A.push(new _n(g,u.source,`layer "${u.id}" requires a vector source`)):ne!=="vector"||u["source-layer"]?ne==="raster-dem"&&P!=="hillshade"&&P!=="color-relief"?A.push(new _n(g,u.source,"raster-dem source can only be used with layer type 'hillshade' or 'color-relief'.")):P!=="line"||!u.paint||!u.paint["line-gradient"]||ne==="geojson"&&q.lineMetrics||A.push(new _n(g,u,`layer "${u.id}" specifies a line-gradient, which requires a GeoJSON source with \`lineMetrics\` enabled.`)):A.push(new _n(g,u,`layer "${u.id}" must specify a "source-layer"`)):A.push(new _n(g,u.source,`source "${u.source}" not found`))}else A.push(new _n(g,u,'missing required property "source"'));return A=A.concat(ha({key:g,value:u,valueSpec:k.layer,style:c.style,styleSpec:c.styleSpec,validateSpec:c.validateSpec,objectElementValidators:{"*":()=>[],type:()=>c.validateSpec({key:`${g}.type`,value:u.type,valueSpec:k.layer.type,style:c.style,styleSpec:c.styleSpec,validateSpec:c.validateSpec,object:u,objectKey:"type"}),filter:Qs,layout:q=>ha({layer:u,key:q.key,value:q.value,style:q.style,styleSpec:q.styleSpec,validateSpec:q.validateSpec,objectElementValidators:{"*":ne=>lh(go({layerType:P},ne))}}),paint:q=>ha({layer:u,key:q.key,value:q.value,style:q.style,styleSpec:q.styleSpec,validateSpec:q.validateSpec,objectElementValidators:{"*":ne=>da(go({layerType:P},ne))}})}})),A}function Is(c){const A=c.value,u=c.key,g=Qi(A);return g!=="string"?[new _n(u,A,`string expected, ${g} found`)]:[]}const ps={promoteId:function({key:c,value:A}){if(Qi(A)==="string")return Is({key:c,value:A});{const u=[];for(const g in A)u.push(...Is({key:`${c}.${g}`,value:A[g]}));return u}}};function co(c){const A=c.value,u=c.key,g=c.styleSpec,x=c.style,k=c.validateSpec;if(!A.type)return[new _n(u,A,'"type" is required')];const P=fs(A.type);let N;switch(P){case"vector":case"raster":return N=ha({key:u,value:A,valueSpec:g[`source_${P.replace("-","_")}`],style:c.style,styleSpec:g,objectElementValidators:ps,validateSpec:k}),N;case"raster-dem":return N=function(q){var ne;const ce=(ne=q.sourceName)!==null&&ne!==void 0?ne:"",Se=q.value,Fe=q.styleSpec,ze=Fe.source_raster_dem,qe=q.style;let et=[];const At=Qi(Se);if(Se===void 0)return et;if(At!=="object")return et.push(new _n("source_raster_dem",Se,`object expected, ${At} found`)),et;const Mt=fs(Se.encoding)==="custom",qt=["redFactor","greenFactor","blueFactor","baseShift"],kt=q.value.encoding?`"${q.value.encoding}"`:"Default";for(const Ut in Se)!Mt&&qt.includes(Ut)?et.push(new _n(Ut,Se[Ut],`In "${ce}": "${Ut}" is only valid when "encoding" is set to "custom". ${kt} encoding found`)):ze[Ut]?et=et.concat(q.validateSpec({key:Ut,value:Se[Ut],valueSpec:ze[Ut],validateSpec:q.validateSpec,style:qe,styleSpec:Fe})):et.push(new _n(Ut,Se[Ut],`unknown property "${Ut}"`));return et}({sourceName:u,value:A,style:c.style,styleSpec:g,validateSpec:k}),N;case"geojson":if(N=ha({key:u,value:A,valueSpec:g.source_geojson,style:x,styleSpec:g,validateSpec:k,objectElementValidators:ps}),A.cluster)for(const q in A.clusterProperties){const[ne,ce]=A.clusterProperties[q],Se=typeof ne=="string"?[ne,["accumulated"],["get",q]]:ne;N.push(...uc({key:`${u}.${q}.map`,value:ce,expressionContext:"cluster-map"})),N.push(...uc({key:`${u}.${q}.reduce`,value:Se,expressionCLine truncated
precision mediump float;
#else
#if !defined(lowp)
@@ -809,43 +809,43 @@ uniform ${pe} ${Ee} u_${we};
#else
${pe} ${Ee} ${we} = u_${we};
#endif
`}),staticAttributes:v,staticUniforms:z}}class ll{constructor(a,d,v){this.vertexBuffer=a,this.indexBuffer=d,this.segments=v}destroy(){this.vertexBuffer.destroy(),this.indexBuffer.destroy(),this.segments.destroy(),this.vertexBuffer=null,this.indexBuffer=null,this.segments=null}}var cs=o.aJ([{name:"a_pos",type:"Int16",components:2}]);const Al="#define PROJECTION_MERCATOR",Nl="mercator";class Bi{constructor(){this._cachedMesh=null}get name(){return"mercator"}get useSubdivision(){return!1}get shaderVariantName(){return Nl}get shaderDefine(){return Al}get shaderPreludeCode(){return So.projectionMercator}get vertexShaderPreludeCode(){return So.projectionMercator.vertexSource}get subdivisionGranularity(){return o.aK.noSubdivision}get useGlobeControls(){return!1}get transitionState(){return 0}get latitudeErrorCorrectionRadians(){return 0}destroy(){}updateGPUdependent(a){}getMeshFromTileID(a,d,v,M,I){if(this._cachedMesh)return this._cachedMesh;const z=new o.aL;z.emplaceBack(0,0),z.emplaceBack(o.$,0),z.emplaceBack(0,o.$),z.emplaceBack(o.$,o.$);const Y=a.createVertexBuffer(z,cs.members),X=o.aM.simpleSegment(0,0,4,2),ue=new o.aN;ue.emplaceBack(1,0,2),ue.emplaceBack(1,2,3);const pe=a.createIndexBuffer(ue);return this._cachedMesh=new ll(Y,pe,X),this._cachedMesh}recalculate(){}hasTransition(){return!1}setErrorQueryLatitudeDegrees(a){}}class xl{constructor(a=0,d=0,v=0,M=0){if(isNaN(a)||a<0||isNaN(d)||d<0||isNaN(v)||v<0||isNaN(M)||M<0)throw new Error("Invalid value for edge-insets, top, bottom, left and right must all be numbers");this.top=a,this.bottom=d,this.left=v,this.right=M}interpolate(a,d,v){return d.top!=null&&a.top!=null&&(this.top=o.C.number(a.top,d.top,v)),d.bottom!=null&&a.bottom!=null&&(this.bottom=o.C.number(a.bottom,d.bottom,v)),d.left!=null&&a.left!=null&&(this.left=o.C.number(a.left,d.left,v)),d.right!=null&&a.right!=null&&(this.right=o.C.number(a.right,d.right,v)),this}getCenter(a,d){const v=o.ah((this.left+a-this.right)/2,0,a),M=o.ah((this.top+d-this.bottom)/2,0,d);return new o.P(v,M)}equals(a){return this.top===a.top&&this.bottom===a.bottom&&this.left===a.left&&this.right===a.right}clone(){return new xl(this.top,this.bottom,this.left,this.right)}toJSON(){return{top:this.top,bottom:this.bottom,left:this.left,right:this.right}}}function ul(O,a){if(!O.renderWorldCopies||O.lngRange)return;const d=a.lng-O.center.lng;a.lng+=d>180?-360:d<-180?360:0}function Eo(O){return Math.max(0,Math.floor(O))}class yo{constructor(a,d,v,M,I,z){this._callbacks=a,this._tileSize=512,this._renderWorldCopies=z===void 0||!!z,this._minZoom=d||0,this._maxZoom=v||22,this._minPitch=M??0,this._maxPitch=I??60,this.setMaxBounds(),this._width=0,this._height=0,this._center=new o.S(0,0),this._elevation=0,this._zoom=0,this._tileZoom=Eo(this._zoom),this._scale=o.af(this._zoom),this._bearingInRadians=0,this._fovInRadians=.6435011087932844,this._pitchInRadians=0,this._rollInRadians=0,this._unmodified=!0,this._edgeInsets=new xl,this._minElevationForCurrentTile=0,this._autoCalculateNearFarZ=!0}apply(a,d,v){this._latRange=a.latRange,this._lngRange=a.lngRange,this._width=a.width,this._height=a.height,this._center=a.center,this._elevation=a.elevation,this._minElevationForCurrentTile=a.minElevationForCurrentTile,this._zoom=a.zoom,this._tileZoom=Eo(this._zoom),this._scale=o.af(this._zoom),this._bearingInRadians=a.bearingInRadians,this._fovInRadians=a.fovInRadians,this._pitchInRadians=a.pitchInRadians,this._rollInRadians=a.rollInRadians,this._unmodified=a.unmodified,this._edgeInsets=new xl(a.padding.top,a.padding.bottom,a.padding.left,a.padding.right),this._minZoom=a.minZoom,this._maxZoom=a.maxZoom,this._minPitch=a.minPitch,this._maxPitch=a.maxPitch,this._renderWorldCopies=a.renderWorldCopies,this._cameraToCenterDistance=a.cameraToCenterDistance,this._nearZ=a.nearZ,this._farZ=a.farZ,this._autoCalculateNearFarZ=!v&&a.autoCalculateNearFarZ,d&&this._constrain(),this._calcMatrices()}get pixelsToClipSpaceMatrix(){return this._pixelsToClipSpaceMatrix}get clipSpaceToPixelsMatrix(){return this._clipSpaceToPixelsMatrix}get minElevationForCurrentTile(){return this._minElevationForCurrentTile}setMinElevationForCurrentTile(a){this._minElevationForCurrentTile=a}get tileSize(){return this._tileSize}get tileZoom(){return this._tileZoom}get scale(){return this._scale}get width(){return this._width}get height(){return this._height}get bearingInRadians(){return this._bearingInRadians}get lngRange(){return this._lngRange}get latRange(){return this._latRange}get pixelsToGLUnits(){return this._pixelsToGLUnits}get minZoom(){return this._minZoom}setMinZoom(a){this._minZoom!==a&&(this._minZoom=a,this.setZoom(this.getConstrained(this._center,this.zoom).zoom))}get maxZoom(){return this._maxZoom}setMaxZoom(a){this._maxZoom!==a&&(this._maxZoom=a,this.setZoom(this.getConstrained(this._center,this.zoom).zoom))}get minPitch(){return this._minPitch}setMinPitch(a){this._minPitch!==a&&(this._minPitch=a,this.setPitch(Math.max(this.pitch,a)))}get maxPitch(){return this._maxPitch}setMaxPi Line truncated
`}),staticAttributes:v,staticUniforms:z}}class ll{constructor(a,d,v){this.vertexBuffer=a,this.indexBuffer=d,this.segments=v}destroy(){this.vertexBuffer.destroy(),this.indexBuffer.destroy(),this.segments.destroy(),this.vertexBuffer=null,this.indexBuffer=null,this.segments=null}}var cs=o.aJ([{name:"a_pos",type:"Int16",components:2}]);const Al="#define PROJECTION_MERCATOR",zl="mercator";class Bi{constructor(){this._cachedMesh=null}get name(){return"mercator"}get useSubdivision(){return!1}get shaderVariantName(){return zl}get shaderDefine(){return Al}get shaderPreludeCode(){return So.projectionMercator}get vertexShaderPreludeCode(){return So.projectionMercator.vertexSource}get subdivisionGranularity(){return o.aK.noSubdivision}get useGlobeControls(){return!1}get transitionState(){return 0}get latitudeErrorCorrectionRadians(){return 0}destroy(){}updateGPUdependent(a){}getMeshFromTileID(a,d,v,M,I){if(this._cachedMesh)return this._cachedMesh;const z=new o.aL;z.emplaceBack(0,0),z.emplaceBack(o.$,0),z.emplaceBack(0,o.$),z.emplaceBack(o.$,o.$);const Y=a.createVertexBuffer(z,cs.members),X=o.aM.simpleSegment(0,0,4,2),ue=new o.aN;ue.emplaceBack(1,0,2),ue.emplaceBack(1,2,3);const pe=a.createIndexBuffer(ue);return this._cachedMesh=new ll(Y,pe,X),this._cachedMesh}recalculate(){}hasTransition(){return!1}setErrorQueryLatitudeDegrees(a){}}class xl{constructor(a=0,d=0,v=0,M=0){if(isNaN(a)||a<0||isNaN(d)||d<0||isNaN(v)||v<0||isNaN(M)||M<0)throw new Error("Invalid value for edge-insets, top, bottom, left and right must all be numbers");this.top=a,this.bottom=d,this.left=v,this.right=M}interpolate(a,d,v){return d.top!=null&&a.top!=null&&(this.top=o.C.number(a.top,d.top,v)),d.bottom!=null&&a.bottom!=null&&(this.bottom=o.C.number(a.bottom,d.bottom,v)),d.left!=null&&a.left!=null&&(this.left=o.C.number(a.left,d.left,v)),d.right!=null&&a.right!=null&&(this.right=o.C.number(a.right,d.right,v)),this}getCenter(a,d){const v=o.ah((this.left+a-this.right)/2,0,a),M=o.ah((this.top+d-this.bottom)/2,0,d);return new o.P(v,M)}equals(a){return this.top===a.top&&this.bottom===a.bottom&&this.left===a.left&&this.right===a.right}clone(){return new xl(this.top,this.bottom,this.left,this.right)}toJSON(){return{top:this.top,bottom:this.bottom,left:this.left,right:this.right}}}function ul(O,a){if(!O.renderWorldCopies||O.lngRange)return;const d=a.lng-O.center.lng;a.lng+=d>180?-360:d<-180?360:0}function Eo(O){return Math.max(0,Math.floor(O))}class yo{constructor(a,d,v,M,I,z){this._callbacks=a,this._tileSize=512,this._renderWorldCopies=z===void 0||!!z,this._minZoom=d||0,this._maxZoom=v||22,this._minPitch=M??0,this._maxPitch=I??60,this.setMaxBounds(),this._width=0,this._height=0,this._center=new o.S(0,0),this._elevation=0,this._zoom=0,this._tileZoom=Eo(this._zoom),this._scale=o.af(this._zoom),this._bearingInRadians=0,this._fovInRadians=.6435011087932844,this._pitchInRadians=0,this._rollInRadians=0,this._unmodified=!0,this._edgeInsets=new xl,this._minElevationForCurrentTile=0,this._autoCalculateNearFarZ=!0}apply(a,d,v){this._latRange=a.latRange,this._lngRange=a.lngRange,this._width=a.width,this._height=a.height,this._center=a.center,this._elevation=a.elevation,this._minElevationForCurrentTile=a.minElevationForCurrentTile,this._zoom=a.zoom,this._tileZoom=Eo(this._zoom),this._scale=o.af(this._zoom),this._bearingInRadians=a.bearingInRadians,this._fovInRadians=a.fovInRadians,this._pitchInRadians=a.pitchInRadians,this._rollInRadians=a.rollInRadians,this._unmodified=a.unmodified,this._edgeInsets=new xl(a.padding.top,a.padding.bottom,a.padding.left,a.padding.right),this._minZoom=a.minZoom,this._maxZoom=a.maxZoom,this._minPitch=a.minPitch,this._maxPitch=a.maxPitch,this._renderWorldCopies=a.renderWorldCopies,this._cameraToCenterDistance=a.cameraToCenterDistance,this._nearZ=a.nearZ,this._farZ=a.farZ,this._autoCalculateNearFarZ=!v&&a.autoCalculateNearFarZ,d&&this._constrain(),this._calcMatrices()}get pixelsToClipSpaceMatrix(){return this._pixelsToClipSpaceMatrix}get clipSpaceToPixelsMatrix(){return this._clipSpaceToPixelsMatrix}get minElevationForCurrentTile(){return this._minElevationForCurrentTile}setMinElevationForCurrentTile(a){this._minElevationForCurrentTile=a}get tileSize(){return this._tileSize}get tileZoom(){return this._tileZoom}get scale(){return this._scale}get width(){return this._width}get height(){return this._height}get bearingInRadians(){return this._bearingInRadians}get lngRange(){return this._lngRange}get latRange(){return this._latRange}get pixelsToGLUnits(){return this._pixelsToGLUnits}get minZoom(){return this._minZoom}setMinZoom(a){this._minZoom!==a&&(this._minZoom=a,this.setZoom(this.getConstrained(this._center,this.zoom).zoom))}get maxZoom(){return this._maxZoom}setMaxZoom(a){this._maxZoom!==a&&(this._maxZoom=a,this.setZoom(this.getConstrained(this._center,this.zoom).zoom))}get minPitch(){return this._minPitch}setMinPitch(a){this._minPitch!==a&&(this._minPitch=a,this.setPitch(Math.max(this.pitch,a)))}get maxPitch(){return this._maxPitch}setMaxPi Line truncated
`),Lt=xt.concat(So.prelude.vertexSource,Y.vertexSource,d.vertexSource).join(`
`);st(pe)||(Rt=function(Vt){return Vt.replace(/\bin\s/g,"varying ").replace("out highp vec4 fragColor;","").replace(/fragColor/g,"gl_FragColor").replace(/texture\(/g,"texture2D(")}(Rt),Lt=function(Vt){return Vt.replace(/\bin\s/g,"attribute ").replace(/\bout\s/g,"varying ").replace(/texture\(/g,"texture2D(")}(Lt));const wt=pe.createShader(pe.FRAGMENT_SHADER);if(pe.isContextLost())return void(this.failedToCreate=!0);if(pe.shaderSource(wt,Rt),pe.compileShader(wt),!pe.getShaderParameter(wt,pe.COMPILE_STATUS))throw new Error(`Could not compile fragment shader: ${pe.getShaderInfoLog(wt)}`);pe.attachShader(this.program,wt);const Nt=pe.createShader(pe.VERTEX_SHADER);if(pe.isContextLost())return void(this.failedToCreate=!0);if(pe.shaderSource(Nt,Lt),pe.compileShader(Nt),!pe.getShaderParameter(Nt,pe.COMPILE_STATUS))throw new Error(`Could not compile vertex shader: ${pe.getShaderInfoLog(Nt)}`);pe.attachShader(this.program,Nt),this.attributes={};const en={};this.numAttributes=De.length;for(let Vt=0;Vt<this.numAttributes;Vt++)De[Vt]&&(pe.bindAttribLocation(this.program,Vt,De[Vt]),this.attributes[De[Vt]]=Vt);if(pe.linkProgram(this.program),!pe.getProgramParameter(this.program,pe.LINK_STATUS))throw new Error(`Program failed to link: ${pe.getProgramInfoLog(this.program)}`);pe.deleteShader(Nt),pe.deleteShader(wt);for(let Vt=0;Vt<yt.length;Vt++){const Jt=yt[Vt];if(Jt&&!en[Jt]){const nn=pe.getUniformLocation(this.program,Jt);nn&&(en[Jt]=nn)}}this.fixedUniforms=M(a,en),this.terrainUniforms=((Vt,Jt)=>({u_depth:new o.bP(Vt,Jt.u_depth),u_terrain:new o.bP(Vt,Jt.u_terrain),u_terrain_dim:new o.bg(Vt,Jt.u_terrain_dim),u_terrain_matrix:new o.bR(Vt,Jt.u_terrain_matrix),u_terrain_unpack:new o.bS(Vt,Jt.u_terrain_unpack),u_terrain_exaggeration:new o.bg(Vt,Jt.u_terrain_exaggeration)}))(a,en),this.projectionUniforms=((Vt,Jt)=>({u_projection_matrix:new o.bR(Vt,Jt.u_projection_matrix),u_projection_tile_mercator_coords:new o.bS(Vt,Jt.u_projection_tile_mercator_coords),u_projection_clipping_plane:new o.bS(Vt,Jt.u_projection_clipping_plane),u_projection_transition:new o.bg(Vt,Jt.u_projection_transition),u_projection_fallback_matrix:new o.bR(Vt,Jt.u_projection_fallback_matrix)}))(a,en),this.binderUniforms=v?v.getUniforms(a,en):[]}draw(a,d,v,M,I,z,Y,X,ue,pe,Ee,we,De,Ye,it,lt,ct,Ct,yt){const xt=a.gl;if(this.failedToCreate)return;if(a.program.set(this.program),a.setDepthMode(v),a.setStencilMode(M),a.setColorMode(I),a.setCullFace(z),X){a.activeTexture.set(xt.TEXTURE2),xt.bindTexture(xt.TEXTURE_2D,X.depthTexture),a.activeTexture.set(xt.TEXTURE3),xt.bindTexture(xt.TEXTURE_2D,X.texture);for(const Lt in this.terrainUniforms)this.terrainUniforms[Lt].set(X[Lt])}if(ue)for(const Lt in ue)this.projectionUniforms[Af[Lt]].set(ue[Lt]);if(Y)for(const Lt in this.fixedUniforms)this.fixedUniforms[Lt].set(Y[Lt]);lt&&lt.setUniforms(a,this.binderUniforms,Ye,{zoom:it});let Rt=0;switch(d){case xt.LINES:Rt=2;break;case xt.TRIANGLES:Rt=3;break;case xt.LINE_STRIP:Rt=1}for(const Lt of De.get()){const wt=Lt.vaos||(Lt.vaos={});(wt[pe]||(wt[pe]=new Lp)).bind(a,this,Ee,lt?lt.getPaintVertexBuffers():[],we,Lt.vertexOffset,ct,Ct,yt),xt.drawElements(d,Lt.primitiveLength*Rt,xt.UNSIGNED_SHORT,Lt.primitiveOffset*Rt*2)}}}function id(O,a,d){const v=1/o.aC(d,1,a.transform.tileZoom),M=Math.pow(2,d.tileID.overscaledZ),I=d.tileSize*Math.pow(2,a.transform.tileZoom)/M,z=I*(d.tileID.canonical.x+d.tileID.wrap*M),Y=I*d.tileID.canonical.y;return{u_image:0,u_texsize:d.imageAtlasTexture.size,u_scale:[v,O.fromScale,O.toScale],u_fade:O.t,u_pixel_coord_upper:[z>>16,Y>>16],u_pixel_coord_lower:[65535&z,65535&Y]}}const qA=(O,a,d,v)=>{const M=O.style.light,I=M.properties.get("position"),z=[I.x,I.y,I.z],Y=o.bV();M.properties.get("anchor")==="viewport"&&o.bW(Y,O.transform.bearingInRadians),o.bX(z,z,Y);const X=O.transform.transformLightDirection(z),ue=M.properties.get("color");return{u_lightpos:z,u_lightpos_globe:X,u_lightintensity:M.properties.get("intensity"),u_lightcolor:[ue.r,ue.g,ue.b],u_vertical_gradient:+a,u_opacity:d,u_fill_translate:v}},od=(O,a,d,v,M,I,z)=>o.e(qA(O,a,d,v),id(I,O,z),{u_height_factor:-Math.pow(2,M.overscaledZ)/z.tileSize/8}),sd=(O,a,d,v)=>o.e(id(a,O,d),{u_fill_translate:v}),Ic=(O,a)=>({u_world:O,u_fill_translate:a}),ad=(O,a,d,v,M)=>o.e(sd(O,a,d,M),{u_world:v}),jf=(O,a,d,v,M)=>{const I=O.transform;let z,Y,X=0;if(d.paint.get("circle-pitch-alignment")==="map"){const ue=o.aC(a,1,I.zoom);z=!0,Y=[ue,ue],X=ue/(o.$*Math.pow(2,a.tileID.overscaledZ))*2*Math.PI*M}else z=!1,Y=I.pixelsToGLUnits;return{u_camera_to_center_distance:I.cameraToCenterDistance,u_scale_with_map:+(d.paint.get("circle-pitch-scale")==="map"),u_pitch_with_map:+z,u_device_pixel_ratio:O.pixelRatio,u_extrude_scale:Y,u_globe_extrude_scale:X,u_translate:v}},Eh=O=>({u_pixel_extrude_scale:[1/O.width,1/O.height]}),Wf=O=>({u_viewport_size:[O.width,O.height]}),Bh=(O,a=1)=>({u_color:O,u_overlay:0,u_overlay_scale:a}),uf=(O,a,d,v)=>{const M=o.aC(O,1,a)/(o.$*Math.pow(2,O.tileID.overscaledZ))*2*Math.PI*v;return{u_extrude_scale:o.aC(O,1,a),u Line truncated
`);st(pe)||(Rt=function(Vt){return Vt.replace(/\bin\s/g,"varying ").replace("out highp vec4 fragColor;","").replace(/fragColor/g,"gl_FragColor").replace(/texture\(/g,"texture2D(")}(Rt),Lt=function(Vt){return Vt.replace(/\bin\s/g,"attribute ").replace(/\bout\s/g,"varying ").replace(/texture\(/g,"texture2D(")}(Lt));const wt=pe.createShader(pe.FRAGMENT_SHADER);if(pe.isContextLost())return void(this.failedToCreate=!0);if(pe.shaderSource(wt,Rt),pe.compileShader(wt),!pe.getShaderParameter(wt,pe.COMPILE_STATUS))throw new Error(`Could not compile fragment shader: ${pe.getShaderInfoLog(wt)}`);pe.attachShader(this.program,wt);const Nt=pe.createShader(pe.VERTEX_SHADER);if(pe.isContextLost())return void(this.failedToCreate=!0);if(pe.shaderSource(Nt,Lt),pe.compileShader(Nt),!pe.getShaderParameter(Nt,pe.COMPILE_STATUS))throw new Error(`Could not compile vertex shader: ${pe.getShaderInfoLog(Nt)}`);pe.attachShader(this.program,Nt),this.attributes={};const en={};this.numAttributes=De.length;for(let Vt=0;Vt<this.numAttributes;Vt++)De[Vt]&&(pe.bindAttribLocation(this.program,Vt,De[Vt]),this.attributes[De[Vt]]=Vt);if(pe.linkProgram(this.program),!pe.getProgramParameter(this.program,pe.LINK_STATUS))throw new Error(`Program failed to link: ${pe.getProgramInfoLog(this.program)}`);pe.deleteShader(Nt),pe.deleteShader(wt);for(let Vt=0;Vt<yt.length;Vt++){const Jt=yt[Vt];if(Jt&&!en[Jt]){const nn=pe.getUniformLocation(this.program,Jt);nn&&(en[Jt]=nn)}}this.fixedUniforms=M(a,en),this.terrainUniforms=((Vt,Jt)=>({u_depth:new o.bP(Vt,Jt.u_depth),u_terrain:new o.bP(Vt,Jt.u_terrain),u_terrain_dim:new o.bg(Vt,Jt.u_terrain_dim),u_terrain_matrix:new o.bR(Vt,Jt.u_terrain_matrix),u_terrain_unpack:new o.bS(Vt,Jt.u_terrain_unpack),u_terrain_exaggeration:new o.bg(Vt,Jt.u_terrain_exaggeration)}))(a,en),this.projectionUniforms=((Vt,Jt)=>({u_projection_matrix:new o.bR(Vt,Jt.u_projection_matrix),u_projection_tile_mercator_coords:new o.bS(Vt,Jt.u_projection_tile_mercator_coords),u_projection_clipping_plane:new o.bS(Vt,Jt.u_projection_clipping_plane),u_projection_transition:new o.bg(Vt,Jt.u_projection_transition),u_projection_fallback_matrix:new o.bR(Vt,Jt.u_projection_fallback_matrix)}))(a,en),this.binderUniforms=v?v.getUniforms(a,en):[]}draw(a,d,v,M,I,z,Y,X,ue,pe,Ee,we,De,Ye,it,lt,ct,Ct,yt){const xt=a.gl;if(this.failedToCreate)return;if(a.program.set(this.program),a.setDepthMode(v),a.setStencilMode(M),a.setColorMode(I),a.setCullFace(z),X){a.activeTexture.set(xt.TEXTURE2),xt.bindTexture(xt.TEXTURE_2D,X.depthTexture),a.activeTexture.set(xt.TEXTURE3),xt.bindTexture(xt.TEXTURE_2D,X.texture);for(const Lt in this.terrainUniforms)this.terrainUniforms[Lt].set(X[Lt])}if(ue)for(const Lt in ue)this.projectionUniforms[Af[Lt]].set(ue[Lt]);if(Y)for(const Lt in this.fixedUniforms)this.fixedUniforms[Lt].set(Y[Lt]);lt&&lt.setUniforms(a,this.binderUniforms,Ye,{zoom:it});let Rt=0;switch(d){case xt.LINES:Rt=2;break;case xt.TRIANGLES:Rt=3;break;case xt.LINE_STRIP:Rt=1}for(const Lt of De.get()){const wt=Lt.vaos||(Lt.vaos={});(wt[pe]||(wt[pe]=new Lp)).bind(a,this,Ee,lt?lt.getPaintVertexBuffers():[],we,Lt.vertexOffset,ct,Ct,yt),xt.drawElements(d,Lt.primitiveLength*Rt,xt.UNSIGNED_SHORT,Lt.primitiveOffset*Rt*2)}}}function id(O,a,d){const v=1/o.aC(d,1,a.transform.tileZoom),M=Math.pow(2,d.tileID.overscaledZ),I=d.tileSize*Math.pow(2,a.transform.tileZoom)/M,z=I*(d.tileID.canonical.x+d.tileID.wrap*M),Y=I*d.tileID.canonical.y;return{u_image:0,u_texsize:d.imageAtlasTexture.size,u_scale:[v,O.fromScale,O.toScale],u_fade:O.t,u_pixel_coord_upper:[z>>16,Y>>16],u_pixel_coord_lower:[65535&z,65535&Y]}}const qA=(O,a,d,v)=>{const M=O.style.light,I=M.properties.get("position"),z=[I.x,I.y,I.z],Y=o.bV();M.properties.get("anchor")==="viewport"&&o.bW(Y,O.transform.bearingInRadians),o.bX(z,z,Y);const X=O.transform.transformLightDirection(z),ue=M.properties.get("color");return{u_lightpos:z,u_lightpos_globe:X,u_lightintensity:M.properties.get("intensity"),u_lightcolor:[ue.r,ue.g,ue.b],u_vertical_gradient:+a,u_opacity:d,u_fill_translate:v}},od=(O,a,d,v,M,I,z)=>o.e(qA(O,a,d,v),id(I,O,z),{u_height_factor:-Math.pow(2,M.overscaledZ)/z.tileSize/8}),sd=(O,a,d,v)=>o.e(id(a,O,d),{u_fill_translate:v}),Ic=(O,a)=>({u_world:O,u_fill_translate:a}),ad=(O,a,d,v,M)=>o.e(sd(O,a,d,M),{u_world:v}),jf=(O,a,d,v,M)=>{const I=O.transform;let z,Y,X=0;if(d.paint.get("circle-pitch-alignment")==="map"){const ue=o.aC(a,1,I.zoom);z=!0,Y=[ue,ue],X=ue/(o.$*Math.pow(2,a.tileID.overscaledZ))*2*Math.PI*M}else z=!1,Y=I.pixelsToGLUnits;return{u_camera_to_center_distance:I.cameraToCenterDistance,u_scale_with_map:+(d.paint.get("circle-pitch-scale")==="map"),u_pitch_with_map:+z,u_device_pixel_ratio:O.pixelRatio,u_extrude_scale:Y,u_globe_extrude_scale:X,u_translate:v}},Eh=O=>({u_pixel_extrude_scale:[1/O.width,1/O.height]}),Wf=O=>({u_viewport_size:[O.width,O.height]}),Bh=(O,a=1)=>({u_color:O,u_overlay:0,u_overlay_scale:a}),uf=(O,a,d,v)=>{const M=o.aC(O,1,a)/(o.$*Math.pow(2,O.tileID.overscaledZ))*2*Math.PI*v;return{u_extrude_scale:o.aC(O,1,a),u Line truncated
uniform mat4 u_projection_matrix;
${De.shaderPreludeCode.vertexSource}`,define:De.shaderDefine},defaultProjectionData:it},ct=we.renderingMode?we.renderingMode:"2d";if(z.renderPass==="offscreen"){const Ct=we.prerender;Ct&&(z.setCustomLayerDefaults(),Ee.setColorMode(z.colorModeForRenderPass()),Ct.call(we,Ee.gl,lt),Ee.setDirty(),z.setBaseState())}else if(z.renderPass==="translucent"){z.setCustomLayerDefaults(),Ee.setColorMode(z.colorModeForRenderPass()),Ee.setStencilMode(ee.disabled);const Ct=ct==="3d"?z.getDepthModeFor3D():z.getDepthModeForSublayer(0,_r.ReadOnly);Ee.setDepthMode(Ct),we.render(Ee.gl,lt),Ee.setDirty(),z.setBaseState(),Ee.bindFramebuffer.set(null)}}(a,0,v,I))}saveTileTexture(a){const d=this._tileTextures[a.size[0]];d?d.push(a):this._tileTextures[a.size[0]]=[a]}getTileTexture(a){const d=this._tileTextures[a];return d&&d.length>0?d.pop():null}isPatternMissing(a){if(!a)return!1;if(!a.from||!a.to)return!0;const d=this.imageManager.getPattern(a.from.toString()),v=this.imageManager.getPattern(a.to.toString());return!d||!v}useProgram(a,d,v=!1,M=[]){this.cache=this.cache||{};const I=!!this.style.map.terrain,z=this.style.projection,Y=v?So.projectionMercator:z.shaderPreludeCode,X=v?Al:z.shaderDefine,ue=a+(d?d.cacheKey:"")+`/${v?Nl:z.shaderVariantName}`+(this._showOverdrawInspector?"/overdraw":"")+(I?"/terrain":"")+(M?`/${M.join("/")}`:"");return this.cache[ue]||(this.cache[ue]=new Ls(this.context,So[a],d,Yf[a],this._showOverdrawInspector,I,Y,X,M)),this.cache[ue]}setCustomLayerDefaults(){this.context.unbindVAO(),this.context.cullFace.setDefault(),this.context.activeTexture.setDefault(),this.context.pixelStoreUnpack.setDefault(),this.context.pixelStoreUnpackPremultiplyAlpha.setDefault(),this.context.pixelStoreUnpackFlipY.setDefault()}setBaseState(){const a=this.context.gl;this.context.cullFace.set(!1),this.context.viewport.set([0,0,this.width,this.height]),this.context.blendEquation.set(a.FUNC_ADD)}initDebugOverlayCanvas(){this.debugOverlayCanvas==null&&(this.debugOverlayCanvas=document.createElement("canvas"),this.debugOverlayCanvas.width=512,this.debugOverlayCanvas.height=512,this.debugOverlayTexture=new o.T(this.context,this.debugOverlayCanvas,this.context.gl.RGBA))}destroy(){this.debugOverlayTexture&&this.debugOverlayTexture.destroy()}overLimit(){const{drawingBufferWidth:a,drawingBufferHeight:d}=this.context.gl;return this.width!==a||this.height!==d}}function uc(O,a){let d,v=!1,M=null,I=null;const z=()=>{M=null,v&&(O.apply(I,d),M=setTimeout(z,a),v=!1)};return(...Y)=>(v=!0,I=this,d=Y,M||z(),M)}class ot{constructor(a){this._getCurrentHash=()=>{const d=window.location.hash.replace("#","");if(this._hashName){let v;return d.split("&").map(M=>M.split("=")).forEach(M=>{M[0]===this._hashName&&(v=M)}),(v&&v[1]||"").split("/")}return d.split("/")},this._onHashChange=()=>{const d=this._getCurrentHash();if(!this._isValidHash(d))return!1;const v=this._map.dragRotate.isEnabled()&&this._map.touchZoomRotate.isEnabled()?+(d[3]||0):this._map.getBearing();return this._map.jumpTo({center:[+d[2],+d[1]],zoom:+d[0],bearing:v,pitch:+(d[4]||0)}),!0},this._updateHashUnthrottled=()=>{const d=window.location.href.replace(/(#.*)?$/,this.getHashString());window.history.replaceState(window.history.state,null,d)},this._removeHash=()=>{const d=this._getCurrentHash();if(d.length===0)return;const v=d.join("/");let M=v;M.split("&").length>0&&(M=M.split("&")[0]),this._hashName&&(M=`${this._hashName}=${v}`);let I=window.location.hash.replace(M,"");I.startsWith("#&")?I=I.slice(0,1)+I.slice(2):I==="#"&&(I="");let z=window.location.href.replace(/(#.+)?$/,I);z=z.replace("&&","&"),window.history.replaceState(window.history.state,null,z)},this._updateHash=uc(this._updateHashUnthrottled,300),this._hashName=a&&encodeURIComponent(a)}addTo(a){return this._map=a,addEventListener("hashchange",this._onHashChange,!1),this._map.on("moveend",this._updateHash),this}remove(){return removeEventListener("hashchange",this._onHashChange,!1),this._map.off("moveend",this._updateHash),clearTimeout(this._updateHash()),this._removeHash(),delete this._map,this}getHashString(a){const d=this._map.getCenter(),v=Math.round(100*this._map.getZoom())/100,M=Math.ceil((v*Math.LN2+Math.log(512/360/.5))/Math.LN10),I=Math.pow(10,M),z=Math.round(d.lng*I)/I,Y=Math.round(d.lat*I)/I,X=this._map.getBearing(),ue=this._map.getPitch();let pe="";if(pe+=a?`/${z}/${Y}/${v}`:`${v}/${Y}/${z}`,(X||ue)&&(pe+="/"+Math.round(10*X)/10),ue&&(pe+=`/${Math.round(ue)}`),this._hashName){const Ee=this._hashName;let we=!1;const De=window.location.hash.slice(1).split("&").map(Ye=>{const it=Ye.split("=")[0];return it===Ee?(we=!0,`${it}=${pe}`):Ye}).filter(Ye=>Ye);return we||De.push(`${Ee}=${pe}`),`#${De.join("&")}`}return`#${pe}`}_isValidHash(a){if(a.length<3||a.some(isNaN))return!1;try{new o.S(+a[2],+a[1])}catch{return!1}const d=+a[0],v=+(a[3]||0),M=+(a[4]||0);return d>=this._map.getMinZoom()&&d<=this._map.getMaxZoom()&&v>=-180&&v<=180&&M>=this._map.getMinPitch()&&M<=this._map.getMaxPitch()}}const TA={linearity:.3,easing:o.cm(0,0,.3,1)}, Line truncated
${De.shaderPreludeCode.vertexSource}`,define:De.shaderDefine},defaultProjectionData:it},ct=we.renderingMode?we.renderingMode:"2d";if(z.renderPass==="offscreen"){const Ct=we.prerender;Ct&&(z.setCustomLayerDefaults(),Ee.setColorMode(z.colorModeForRenderPass()),Ct.call(we,Ee.gl,lt),Ee.setDirty(),z.setBaseState())}else if(z.renderPass==="translucent"){z.setCustomLayerDefaults(),Ee.setColorMode(z.colorModeForRenderPass()),Ee.setStencilMode(ee.disabled);const Ct=ct==="3d"?z.getDepthModeFor3D():z.getDepthModeForSublayer(0,_r.ReadOnly);Ee.setDepthMode(Ct),we.render(Ee.gl,lt),Ee.setDirty(),z.setBaseState(),Ee.bindFramebuffer.set(null)}}(a,0,v,I))}saveTileTexture(a){const d=this._tileTextures[a.size[0]];d?d.push(a):this._tileTextures[a.size[0]]=[a]}getTileTexture(a){const d=this._tileTextures[a];return d&&d.length>0?d.pop():null}isPatternMissing(a){if(!a)return!1;if(!a.from||!a.to)return!0;const d=this.imageManager.getPattern(a.from.toString()),v=this.imageManager.getPattern(a.to.toString());return!d||!v}useProgram(a,d,v=!1,M=[]){this.cache=this.cache||{};const I=!!this.style.map.terrain,z=this.style.projection,Y=v?So.projectionMercator:z.shaderPreludeCode,X=v?Al:z.shaderDefine,ue=a+(d?d.cacheKey:"")+`/${v?zl:z.shaderVariantName}`+(this._showOverdrawInspector?"/overdraw":"")+(I?"/terrain":"")+(M?`/${M.join("/")}`:"");return this.cache[ue]||(this.cache[ue]=new Ls(this.context,So[a],d,Yf[a],this._showOverdrawInspector,I,Y,X,M)),this.cache[ue]}setCustomLayerDefaults(){this.context.unbindVAO(),this.context.cullFace.setDefault(),this.context.activeTexture.setDefault(),this.context.pixelStoreUnpack.setDefault(),this.context.pixelStoreUnpackPremultiplyAlpha.setDefault(),this.context.pixelStoreUnpackFlipY.setDefault()}setBaseState(){const a=this.context.gl;this.context.cullFace.set(!1),this.context.viewport.set([0,0,this.width,this.height]),this.context.blendEquation.set(a.FUNC_ADD)}initDebugOverlayCanvas(){this.debugOverlayCanvas==null&&(this.debugOverlayCanvas=document.createElement("canvas"),this.debugOverlayCanvas.width=512,this.debugOverlayCanvas.height=512,this.debugOverlayTexture=new o.T(this.context,this.debugOverlayCanvas,this.context.gl.RGBA))}destroy(){this.debugOverlayTexture&&this.debugOverlayTexture.destroy()}overLimit(){const{drawingBufferWidth:a,drawingBufferHeight:d}=this.context.gl;return this.width!==a||this.height!==d}}function uc(O,a){let d,v=!1,M=null,I=null;const z=()=>{M=null,v&&(O.apply(I,d),M=setTimeout(z,a),v=!1)};return(...Y)=>(v=!0,I=this,d=Y,M||z(),M)}class ot{constructor(a){this._getCurrentHash=()=>{const d=window.location.hash.replace("#","");if(this._hashName){let v;return d.split("&").map(M=>M.split("=")).forEach(M=>{M[0]===this._hashName&&(v=M)}),(v&&v[1]||"").split("/")}return d.split("/")},this._onHashChange=()=>{const d=this._getCurrentHash();if(!this._isValidHash(d))return!1;const v=this._map.dragRotate.isEnabled()&&this._map.touchZoomRotate.isEnabled()?+(d[3]||0):this._map.getBearing();return this._map.jumpTo({center:[+d[2],+d[1]],zoom:+d[0],bearing:v,pitch:+(d[4]||0)}),!0},this._updateHashUnthrottled=()=>{const d=window.location.href.replace(/(#.*)?$/,this.getHashString());window.history.replaceState(window.history.state,null,d)},this._removeHash=()=>{const d=this._getCurrentHash();if(d.length===0)return;const v=d.join("/");let M=v;M.split("&").length>0&&(M=M.split("&")[0]),this._hashName&&(M=`${this._hashName}=${v}`);let I=window.location.hash.replace(M,"");I.startsWith("#&")?I=I.slice(0,1)+I.slice(2):I==="#"&&(I="");let z=window.location.href.replace(/(#.+)?$/,I);z=z.replace("&&","&"),window.history.replaceState(window.history.state,null,z)},this._updateHash=uc(this._updateHashUnthrottled,300),this._hashName=a&&encodeURIComponent(a)}addTo(a){return this._map=a,addEventListener("hashchange",this._onHashChange,!1),this._map.on("moveend",this._updateHash),this}remove(){return removeEventListener("hashchange",this._onHashChange,!1),this._map.off("moveend",this._updateHash),clearTimeout(this._updateHash()),this._removeHash(),delete this._map,this}getHashString(a){const d=this._map.getCenter(),v=Math.round(100*this._map.getZoom())/100,M=Math.ceil((v*Math.LN2+Math.log(512/360/.5))/Math.LN10),I=Math.pow(10,M),z=Math.round(d.lng*I)/I,Y=Math.round(d.lat*I)/I,X=this._map.getBearing(),ue=this._map.getPitch();let pe="";if(pe+=a?`/${z}/${Y}/${v}`:`${v}/${Y}/${z}`,(X||ue)&&(pe+="/"+Math.round(10*X)/10),ue&&(pe+=`/${Math.round(ue)}`),this._hashName){const Ee=this._hashName;let we=!1;const De=window.location.hash.slice(1).split("&").map(Ye=>{const it=Ye.split("=")[0];return it===Ee?(we=!0,`${it}=${pe}`):Ye}).filter(Ye=>Ye);return we||De.push(`${Ee}=${pe}`),`#${De.join("&")}`}return`#${pe}`}_isValidHash(a){if(a.length<3||a.some(isNaN))return!1;try{new o.S(+a[2],+a[1])}catch{return!1}const d=+a[0],v=+(a[3]||0),M=+(a[4]||0);return d>=this._map.getMinZoom()&&d<=this._map.getMaxZoom()&&v>=-180&&v<=180&&M>=this._map.getMinPitch()&&M<=this._map.getMaxPitch()}}const TA={linearity:.3,easing:o.cm(0,0,.3,1)}, Line truncated
${e} <span></span>
`,Zs().s[12]++,this._textEl=this._container.querySelector("span"),Zs().s[13]++,this.updateZoomLevel()}addEventListeners(){Zs().f[4]++,Zs().s[14]++,this._map.on("render",()=>(Zs().f[5]++,Zs().s[15]++,this.updateZoomLevel())),Zs().s[16]++,this._map.on("zoomIn",()=>(Zs().f[6]++,Zs().s[17]++,this.updateZoomLevel())),Zs().s[18]++,this._map.on("zoomOut",()=>(Zs().f[7]++,Zs().s[19]++,this.updateZoomLevel()))}onRemove(){Zs().f[8]++,Zs().s[20]++,this._container.parentNode.removeChild(this._container),Zs().s[21]++,this._map=void 0}}function S6(n,e,t){const r={id:[e,t,"circle"].join("_"),source:e,type:"circle",paint:{"circle-color":n,"circle-radius":2},filter:["==","$type","Point"]};return t&&(r["source-layer"]=t),r}function E6(n,e,t,r){const i={id:[t,r,"polygon"].join("_"),source:t,type:"fill",paint:{"fill-color":n,"fill-antialias":!0,"fill-outline-color":n},filter:["==","$type","Polygon"]};return r&&(i["source-layer"]=r),i}function B6(n,e,t){const r={id:[e,t,"line"].join("_"),source:e,layout:{"line-join":"round","line-cap":"round"},type:"line",paint:{"line-color":n},filter:["==","$type","LineString"]};return t&&(r["source-layer"]=t),r}function AH(n,e){const t=[],r=[],i=[];function s(l){return{circle:e(l,.8),line:e(l,.6),polygon:e(l,.3),polygonOutline:e(l,.6),default:e(l,1)}}return Object.keys(n).forEach(l=>{const o=n[l];if(!o||o.length===0){const f=s(l);r.push(S6(f.circle,l)),i.push(B6(f.line,l)),t.push(E6(f.polygon,f.polygonOutline,l))}else o.forEach(f=>{const C=s(f);r.push(S6(C.circle,l,f)),i.push(B6(C.line,l,f)),t.push(E6(C.polygon,C.polygonOutline,l,f))})}),t.concat(i).concat(r)}function uH(n,e,t){t=Object.assign({backgroundColor:"#fff"},t);const r={id:"background",type:"background",paint:{"background-color":t.backgroundColor}},i={};return Object.keys(n.sources).forEach(s=>{const l=n.sources[s];(l.type==="vector"||l.type==="geojson")&&(i[s]=l)}),Object.assign(n,{layers:[r].concat(e),sources:i})}const w4={polygonLayer:E6,lineLayer:B6,circleLayer:S6,generateInspectStyle:uH,generateColoredLayers:AH};function fo(){var n="/home/runner/work/maputnik/maputnik/src/libs/highlight.ts",e="aec0f701e803624fae461cc89b5fc887ff556587",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:18,column:84}},10:{start:{line:18,column:72},end:{line:18,column:84}},11:{start:{line:19,column:24},end:{line:19,column:51}},12:{start:{line:20,column:16},end:{line:20,column:52}},13:{start:{line:21,column:2},end:{line:23,column:3}},14:{start:{line:22,column:4},end:{line:22,column:104}},15:{start:{line:24,column:2},end:{line:26,column:3}},16:{start:{line:25,column:4},end:{line:25,column:96}},17:{start:{line:27,column:2},end:{line:29,column:3}},18:{start:{line:28,column:4},end:{line:28,column:94}},19:{start:{line:30,column:2},end:{line:30,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:31,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:18,column:84}},type:"if",locations:[{start:{line:18,column:2},end:{line:18,column:84}},{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:19,column:24},end:{line:19,column:51}},type:"binary-expr",locations:[{start:{line:19,column:24},end:{line:19,column:45}},{start:{line:19,column:49},end:{line:19,column:51}}],line:19},6:{loc:{start:{line:21,column:2},end:{line:23,column:3}},type:"if",locations:[{start:{line:21,column:2},end:{line:23,column:3}},{s Line truncated
${this._localize("errorNoResults")}</div>`;this._renderMessage(e)}_renderMessage(e){this._typeahead.update([]),this._typeahead.selected=null,this._typeahead.clear(),this._typeahead.renderError(e)}_localize(e){const t=_H.language(this.options.language.split(",")[0]);return this.options.language&&Bv?.[e][t]?Bv[e][t]:Bv[e].en}_fitBoundsForMarkers(){if(this._typeahead.data.length<1)return;const e=this._typeahead.data.filter(t=>typeof t!="string").slice(0,this.options.limit);if(this._clearEl.style.display="none",this.options.flyTo&&this._maplibregl&&this._map){const r=pp({},{padding:100},this.options.flyTo),i=new this._maplibregl.LngLatBounds;for(const s of e)i.extend(s.geometry.coordinates);this._map.fitBounds(i,r)}return e.length>0&&this._maplibregl&&this._handleResultMarkers(e),this}setInput(e){return this._inputEl.value=e,this._typeahead.selected=null,this._typeahead.clear(),e.length>=this.options.minLength&&this.options.showResultsWhileTyping&&this._geocode(e),this}setProximity(e){return this.options.proximity=e,this}getProximity(){return this.options.proximity}setRenderFunction(e){return e&&typeof e=="function"&&(this._typeahead.render=e),this}getRenderFunction(){return this._typeahead.render}setLanguage(e){return this.options.language=e||this.options.language||navigator.language,this}getLanguage(){return this.options.language}getZoom(){return this.options.zoom}setZoom(e){return this.options.zoom=e,this}getFlyTo(){return this.options.flyTo}setFlyTo(e){return this.options.flyTo=e,this}getPlaceholder(){return this.options.placeholder}setPlaceholder(e){return this.placeholder=e||this.options.placeholder||this._localize("placeholder"),this._inputEl.placeholder=this.placeholder,this._inputEl.setAttribute("aria-label",this.placeholder),this}getBbox(){return this.options.bbox}setBbox(e){return this.options.bbox=e,this}getCountries(){return this.options.countries}setCountries(e){return this.options.countries=e,this}getTypes(){return this.options.types}setTypes(e){return this.options.types=e,this}getMinLength(){return this.options.minLength}setMinLength(e){return this.options.minLength=e,this._typeahead&&(this._typeahead.options.minLength=e),this}getLimit(){return this.options.limit}setLimit(e){return this.options.limit=e,this._typeahead&&(this._typeahead.options.limit=e),this}getFilter(){return this.options.filter}setFilter(e){return this.options.filter=e,this}setGeocoderApi(e){return this.geocoderApi=e,this}getGeocoderApi(){return this.geocoderApi}_handleMarker(e){if(!this._map)return;this._removeMarker();const r=pp({},{color:"#4668F2"},this.options.marker);this.mapMarker=new this._maplibregl.Marker(r);let i;if(this.options.popup){const l=pp({},{},this.options.popup);i=new this._maplibregl.Popup(l).setHTML(this.options.popupRender(e))}return e.center?(this.mapMarker.setLngLat(e.center).addTo(this._map),this.options.popup&&this.mapMarker.setPopup(i)):e.geometry&&e.geometry.type&&e.geometry.type==="Point"&&e.geometry.coordinates&&(this.mapMarker.setLngLat(e.geometry.coordinates).addTo(this._map),this.options.popup&&this.mapMarker.setPopup(i)),this}_removeMarker(){this.mapMarker&&(this.mapMarker.remove(),this.mapMarker=null)}_handleResultMarkers(e){if(!this._map)return;this._removeResultMarkers();let r=pp({},{color:"#4668F2"},this.options.showResultMarkers);for(const i of e){let s;if(this.options.showResultMarkers){this.options.showResultMarkers&&this.options.showResultMarkers.element&&(s=this.options.showResultMarkers.element.cloneNode(!0),r=pp(r,{element:s}));const l=new this._maplibregl.Marker(pp({},r,{element:s}));let o;if(this.options.popup){const C=pp({},{},this.options.popup);o=new this._maplibregl.Popup(C).setHTML(this.options.popupRender(i))}i.center?(l.setLngLat(i.center).addTo(this._map),this.options.popup&&l.setPopup(o)):i.geometry&&i.geometry.type&&i.geometry.type==="Point"&&i.geometry.coordinates&&(l.setLngLat(i.geometry.coordinates).addTo(this._map),this.options.popup&&l.setPopup(o)),this.resultMarkers.push(l)}}return this}_removeResultMarkers(){this.resultMarkers&&this.resultMarkers.length>0&&(this.resultMarkers.forEach(function(e){e.remove()}),this.resultMarkers=[])}on(e,t){return this._eventEmitter.on(e,t),this}once(e){return new Promise(t=>{this._eventEmitter.once(e,t)})}off(e,t){return this._eventEmitter.removeListener(e,t),this}}function vn(){var n="/home/runner/work/maputnik/maputnik/src/components/MapMaplibreGl.tsx",e="300acb3537cd75ba7433c8df32ce2e40c6bb2cf5",t=globalThis,r="__coverage__",i={path:"/home/runner/work/maputnik/maputnik/src/components/MapMaplibreGl.tsx",statementMap:{0:{start:{line:21,column:2},end:{line:21,column:36}},1:{start:{line:22,column:2},end:{line:22,column:19}},2:{start:{line:25,column:26},end:{line:31,column:3}},3:{start:{line:32,column:16},end:{line:32,column:55}},4:{start:{line:33,column:2},end:{line:35,column:3}},5:{start:{line:34,column:4},end:{line:34,column:30}},6:{start:{line:36,column:18},end:{line:36,column:20}},7:{start:{line:37,column:2},end:{line:4Line truncated
`).reduce((i,s)=>Math.max(i,GU(n,s)),0);return t[e]=r,r}function jJ(n,e){const t=[],r=[],i=[];let s=0,l=0,o=0,f=0;for(let C=0,w=e.length;C<=w;C+=2){const B=e[C];if(B===`
`||C===w){s=Math.max(s,l),i.push(l),l=0,o+=f,f=0;continue}const D=e[C+1]||n.font,R=GU(D,B);t.push(R),l+=R;const U=GJ(D);r.push(U),f=Math.max(f,U)}return{width:s,height:o,widths:t,heights:r,lineWidths:i}}function WJ(n,e,t,r,i,s,l,o,f,C,w){n.save(),t!==1&&(n.globalAlpha===void 0?n.globalAlpha=B=>B.globalAlpha*=t:n.globalAlpha*=t),e&&n.transform.apply(n,e),r.contextInstructions?(n.translate(f,C),n.scale(w[0],w[1]),QJ(r,n)):w[0]<0||w[1]<0?(n.translate(f,C),n.scale(w[0],w[1]),n.drawImage(r,i,s,l,o,0,0,l,o)):n.drawImage(r,i,s,l,o,f,C,l*w[0],o*w[1]),n.restore()}function QJ(n,e){const t=n.contextInstructions;for(let r=0,i=t.length;r<i;r+=2)Array.isArray(t[r+1])?e[t[r]].apply(e,t[r+1]):e[t[r]]=t[r+1]}class Yx{constructor(e){this.opacity_=e.opacity,this.rotateWithView_=e.rotateWithView,this.rotation_=e.rotation,this.scale_=e.scale,this.scaleArray_=wh(e.scale),this.displacement_=e.displacement,this.declutterMode_=e.declutterMode}clone(){const e=this.getScale();return new Yx({opacity:this.getOpacity(),scale:Array.isArray(e)?e.slice():e,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()})}getOpacity(){return this.opacity_}getRotateWithView(){return this.rotateWithView_}getRotation(){return this.rotation_}getScale(){return this.scale_}getScaleArray(){return this.scaleArray_}getDisplacement(){return this.displacement_}getDeclutterMode(){return this.declutterMode_}getAnchor(){return mo()}getImage(e){return mo()}getHitDetectionImage(){return mo()}getPixelRatio(e){return 1}getImageState(){return mo()}getImageSize(){return mo()}getOrigin(){return mo()}getSize(){return mo()}setDisplacement(e){this.displacement_=e}setOpacity(e){this.opacity_=e}setRotateWithView(e){this.rotateWithView_=e}setRotation(e){this.rotation_=e}setScale(e){this.scale_=e,this.scaleArray_=wh(e)}listenImageChange(e){mo()}load(){mo()}unlistenImageChange(e){mo()}ready(){return Promise.resolve()}}class qx extends Yx{constructor(e){super({opacity:1,rotateWithView:e.rotateWithView!==void 0?e.rotateWithView:!1,rotation:e.rotation!==void 0?e.rotation:0,scale:e.scale!==void 0?e.scale:1,displacement:e.displacement!==void 0?e.displacement:[0,0],declutterMode:e.declutterMode}),this.hitDetectionCanvas_=null,this.fill_=e.fill!==void 0?e.fill:null,this.origin_=[0,0],this.points_=e.points,this.radius=e.radius,this.radius2_=e.radius2,this.angle_=e.angle!==void 0?e.angle:0,this.stroke_=e.stroke!==void 0?e.stroke:null,this.size_,this.renderOptions_,this.imageState_=this.fill_&&this.fill_.loading()?pi.LOADING:pi.LOADED,this.imageState_===pi.LOADING&&this.ready().then(()=>this.imageState_=pi.LOADED),this.render()}clone(){const e=this.getScale(),t=new qx({fill:this.getFill()?this.getFill().clone():void 0,points:this.getPoints(),radius:this.getRadius(),radius2:this.getRadius2(),angle:this.getAngle(),stroke:this.getStroke()?this.getStroke().clone():void 0,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),scale:Array.isArray(e)?e.slice():e,displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()});return t.setOpacity(this.getOpacity()),t}getAnchor(){const e=this.size_,t=this.getDisplacement(),r=this.getScaleArray();return[e[0]/2-t[0]/r[0],e[1]/2+t[1]/r[1]]}getAngle(){return this.angle_}getFill(){return this.fill_}setFill(e){this.fill_=e,this.render()}getHitDetectionImage(){return this.hitDetectionCanvas_||(this.hitDetectionCanvas_=this.createHitDetectionCanvas_(this.renderOptions_)),this.hitDetectionCanvas_}getImage(e){const t=this.fill_?.getKey(),r=`${e},${this.angle_},${this.radius},${this.radius2_},${this.points_},${t}`+Object.values(this.renderOptions_).join(",");let i=Ff.get(r,null,null)?.getImage(1);if(!i){const s=this.renderOptions_,l=Math.ceil(s.size*e),o=_A(l,l);this.draw_(s,o,e),i=o.canvas,Ff.set(r,null,null,new UU(i,void 0,null,pi.LOADED,null))}return i}getPixelRatio(e){return e}getImageSize(){return this.size_}getImageState(){return this.imageState_}getOrigin(){return this.origin_}getPoints(){return this.points_}getRadius(){return this.radius}getRadius2(){return this.radius2_}getSize(){return this.size_}getStroke(){return this.stroke_}setStroke(e){this.stroke_=e,this.render()}listenImageChange(e){}load(){}unlistenImageChange(e){}calculateLineJoinSize_(e,t,r){if(t===0||this.points_===1/0||e!=="bevel"&&e!=="miter")return t;let i=this.radius,s=this.radius2_===void 0?i:this.radius2_;if(i<s){const re=i;i=s,s=re}const l=this.radius2_===void 0?this.points_:this.points_*2,o=2*Math.PI/l,f=s*Math.sin(o),C=Math.sqrt(s*s-f*f),w=i-C,B=Math.sqrt(f*f+w*w),D=B/f;if(e==="miter"&&D<=r)return D*t;const R=t/2/D,U=t/2*(w/B),W=Math.sqrt((i+R)*(i+R)+U*U)-i;if(this.radius2_===void 0||e==="bevel")return W*2;const J=i*Math.sin(o),$=Math.sqrt(i*i-J*J),oe=s-$,H=Math.sqrt(J*J+oe*oe)/J;if(H<=r){const re=H*t/2-s-i;return 2*Math.max(W,re)}return W*2}createRenderOptions(){let e=Ky,t=Fy,r=0,i=null,s=0,l,o=0;this.stroke_&&(l=rm(this.stroke_.getColor()??zC),o=this Line truncated
`,""),n.push(e,""),n}function Lee(n,e,t){return t%2===0&&(n+=e),n}class Uee{constructor(e,t,r,i,s){this.overlaps=r,this.pixelRatio=t,this.resolution=e,this.alignAndScaleFill_,this.instructions=i.instructions,this.coordinates=i.coordinates,this.coordinateCache_={},this.renderedTransform_=Ed(),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_={},this.zIndexContext_=s?new FO:null}getZIndexContext(){return this.zIndexContext_}createLabel(e,t,r,i){const s=e+t+r+i;if(this.labels_[s])return this.labels_[s];const l=i?this.strokeStates[i]:null,o=r?this.fillStates[r]:null,f=this.textStates[t],C=this.pixelRatio,w=[f.scale[0]*C,f.scale[1]*C],B=f.justify?W2[f.justify]:tM(Array.isArray(e)?e[0]:e,f.textAlign||NC),D=i&&l.lineWidth?l.lineWidth:0,R=Array.isArray(e)?e:String(e).split(`
`).reduce(Fee,[]),{width:U,height:G,widths:W,heights:J,lineWidths:$}=jJ(f,R),oe=U+D,te=[],H=(oe+2)*w[0],re=(G+D)*w[1],j={width:H<0?Math.floor(H):Math.ceil(H),height:re<0?Math.floor(re):Math.ceil(re),contextInstructions:te};(w[0]!=1||w[1]!=1)&&te.push("scale",w),i&&(te.push("strokeStyle",l.strokeStyle),te.push("lineWidth",D),te.push("lineCap",l.lineCap),te.push("lineJoin",l.lineJoin),te.push("miterLimit",l.miterLimit),te.push("setLineDash",[l.lineDash]),te.push("lineDashOffset",l.lineDashOffset)),r&&te.push("fillStyle",o.fillStyle),te.push("textBaseline","middle"),te.push("textAlign","center");const Ae=.5-B;let ge=B*oe+Ae*D;const me=[],xe=[];let Be=0,Me=0,We=0,be=0,nt;for(let _t=0,at=R.length;_t<at;_t+=2){const Je=R[_t];if(Je===`
`){Me+=Be,Be=0,ge=B*oe+Ae*D,++be;continue}const Ne=R[_t+1]||f.font;Ne!==nt&&(i&&me.push("font",Ne),r&&xe.push("font",Ne),nt=Ne),Be=Math.max(Be,J[We]);const Te=[Je,ge+Ae*W[We]+B*(W[We]-$[be]),.5*(D+Be)+Me];ge+=W[We],i&&me.push("strokeText",Te),r&&xe.push("fillText",Te),++We}return Array.prototype.push.apply(te,me),Array.prototype.push.apply(te,xe),this.labels_[s]=j,j}replayTextBackground_(e,t,r,i,s,l,o){e.beginPath(),e.moveTo.apply(e,t),e.lineTo.apply(e,r),e.lineTo.apply(e,i),e.lineTo.apply(e,s),e.lineTo.apply(e,t),l&&(this.alignAndScaleFill_=l[2],e.fillStyle=l[1],this.fill_(e)),o&&(this.setStrokeStyle_(e,o),e.stroke())}calculateImageOrLabelDimensions_(e,t,r,i,s,l,o,f,C,w,B,D,R,U,G,W){o*=D[0],f*=D[1];let J=r-o,$=i-f;const oe=s+C>e?e-C:s,te=l+w>t?t-w:l,H=U[3]+oe*D[0]+U[1],re=U[0]+te*D[1]+U[2],j=J-U[3],Ae=$-U[0];(G||B!==0)&&(v0[0]=j,C0[0]=j,v0[1]=Ae,Tm[1]=Ae,Tm[0]=j+H,km[0]=Tm[0],km[1]=Ae+re,C0[1]=km[1]);let ge;return B!==0?(ge=um(Ed(),r,i,1,1,B,-r,-i),Ku(ge,v0),Ku(ge,Tm),Ku(ge,km),Ku(ge,C0),jm(Math.min(v0[0],Tm[0],km[0],C0[0]),Math.min(v0[1],Tm[1],km[1],C0[1]),Math.max(v0[0],Tm[0],km[0],C0[0]),Math.max(v0[1],Tm[1],km[1],C0[1]),Pg)):jm(Math.min(j,j+H),Math.min(Ae,Ae+re),Math.max(j,j+H),Math.max(Ae,Ae+re),Pg),R&&(J=Math.round(J),$=Math.round($)),{drawImageX:J,drawImageY:$,drawImageW:oe,drawImageH:te,originX:C,originY:w,declutterBox:{minX:Pg[0],minY:Pg[1],maxX:Pg[2],maxY:Pg[3],value:W},canvasTransform:ge,scale:D}}replayImageOrLabel_(e,t,r,i,s,l,o){const f=!!(l||o),C=i.declutterBox,w=o?o[2]*i.scale[0]/2:0;return C.minX-w<=t[0]&&C.maxX+w>=0&&C.minY-w<=t[1]&&C.maxY+w>=0&&(f&&this.replayTextBackground_(e,v0,Tm,km,C0,l,o),WJ(e,i.canvasTransform,s,r,i.originX,i.originY,i.drawImageW,i.drawImageH,i.drawImageX,i.drawImageY,i.scale)),!0}fill_(e){const t=this.alignAndScaleFill_;if(t){const r=Ku(this.renderedTransform_,[0,0]),i=512*this.pixelRatio;e.save(),e.translate(r[0]%i,r[1]%i),t!==1&&e.scale(t,t),e.rotate(this.viewRotation_)}e.fill(),t&&e.restore()}setStrokeStyle_(e,t){e.strokeStyle=t[1],t[1]&&(e.lineWidth=t[2],e.lineCap=t[3],e.lineJoin=t[4],e.miterLimit=t[5],e.lineDashOffset=t[7],e.setLineDash(t[6]))}drawLabelWithPointPlacement_(e,t,r,i){const s=this.textStates[t],l=this.createLabel(e,t,i,r),o=this.strokeStates[r],f=this.pixelRatio,C=tM(Array.isArray(e)?e[0]:e,s.textAlign||NC),w=W2[s.textBaseline||F2],B=o&&o.lineWidth?o.lineWidth:0,D=l.width/f-2*s.scale[0],R=C*D+2*(.5-C)*B,U=w*l.height/f+2*(.5-w)*B;return{label:l,anchorX:R,anchorY:U}}execute_(e,t,r,i,s,l,o,f){const C=this.zIndexContext_;let w;this.pixelCoordinates_&&q0(r,this.renderedTransform_)?w=this.pixelCoordinates_:(this.pixelCoordinates_||(this.pixelCoordinates_=[]),w=G0(this.coordinates,0,this.coordinates.length,2,r,this.pixelCoordinates_),GZ(this.renderedTransform_,r));let B=0;const D=i.length;let R=0,U,G,W,J,$,oe,te,H,re,j,Ae,ge,me,xe=0,Be=0;const Me=this.coordinateCache_,We=this.viewRotation_,be=Math.round(Math.atan2(-r[1],r[0])*1e12)/1e12,nt={context:e,pixelRatio:this.pixelRatio,resolution:this.resolution,rotation:We},_t=this.instructions!=i||this.overlaps?0:200;let at,Je,Ne,Te;for(;B<D;){const Ze=i[B];switch(Ze[0]){case $i.BEGIN_GEOMETRY:at=Ze[1],Te=Ze[3],at.getGeometry()?o!==void 0&&!QA(o,Te.getExtent())?B=Ze[2]+1:++B:B=Ze[2],C&&(C.zIndex=Ze[4]);break;case $i.BEGIN_PATH:xe>_t&&(this.fill_(e),xe=0),Be>_t&&(e.stroke(),Be=0),!xe&&!Be&&(e.beginPath(),$=NaN,oe=NaN),++B;break;case $i.CIRCLE:R=Ze[1];const Dt=w[R],pt=w[R+1],Tt=w[R+2],It=w[R+3],Le=Tt-Dt,Re=It-pt,Ke=Math.sqrt(Le*Le+Re*Re);e.moveTo(Dt+Ke,pt),e.arc(Dt,pt,Ke,0,2*Math.PI,!0),++B;break;case $i.CLOSE_PATH:e.closePath(),++B;break;case $i.CUSTOM:R=Ze[1],U=Ze[2];const $e=Ze[3],bt=Ze[4],vt=Ze[5];nt.geometry=$e,nt.feature=at,B in Me||(Me[B]=[]);const Ot=Me[B];vt?vt(w,R,U,2,Ot):(Ot[0]=w[R],Ot[1]=w[R+1],Ot.length=2),C&&(C.zIndex=Ze[6]),bt(Ot,nt),++B;break;case $i.DRAW_IMAGE:R=Ze[1],U=Ze[2],re=Ze[3],G=Ze[4],W=Ze[5];let $t=Ze[6];const Kt=Ze[7],un=Ze[8],$n=Ze[9],Wt=Ze[10];let Jn=Ze[11];const Sn=Ze[12];let Mn=Ze[13];J=Ze[14]||"declutter";const En=Ze[15];if(!re&&Ze.length>=20){j=Ze[19],Ae=Ze[20],ge=Ze[21],me=Ze[22];const xn=this.drawLabelWithPointPlacement_(j,Ae,ge,me);re=xn.label,Ze[3]=re;const dr=Ze[23];G=(xn.anchorX-dr)*this.pixelRatio,Ze[4]=G;const ur=Ze[24];W=(xn.anchorY-ur)*this.pixelRatio,Ze[5]=W,$t=re.height,Ze[6]=$t,Mn=re.width,Ze[13]=Mn}let Er;Ze.length>25&&(Er=Ze[25]);let Yn,Dn,Ge;Ze.length>17?(Yn=Ze[16],Dn=Ze[17],Ge=Ze[18]):(Yn=T1,Dn=null,Ge=null),Wt&&be?Jn+=We:!Wt&&!be&&(Jn-=We);let de=0;for(;R<U;R+=2){if(Er&&Er[de++]<Mn/this.pixelRatio)continue;const xn=this.calculateImageOrLabelDimensions_(re.width,re.height,w[R],w[R+1],Mn,$t,G,W,un,$n,Jn,Sn,s,Yn,!!Dn||!!Ge,at),dr=[e,t,re,xn,Kt,Dn,Ge];if(f){let ur,yi,ui;if(En){const Cr=U-R;if(!En[Cr]){En[Cr]={args:dr,declutterMode:J};continue}const Ei=En[Cr];ur=Ei.args,yi=Ei.declutterMode,delete En[Cr],ui=E9(ur)}let ci,Fr;if(ur&&(yi!=="declutter"||!f.collides(ui))&&(ci=!0),(J!=="declutter"||!f.collides(xn.declutterBox))&&(Fr=!0),yi==="declutter"&&J==="declutter"){co Line truncated
`),i=nte.slice(0,Math.round(e/.1));for(let s=0,l=r.length;s<l;++s)s>0&&(t+=`
`),t+=r[s].split("").join(i);return t}return n}let iM;function fz(){return iM||(iM=Jx(1,1).getContext("2d")),iM}function p1(n,e){return fz().measureText(n).width+(n.length-1)*e}const q2={};M1.on("propertychange",()=>{for(const n in q2)delete q2[n]});function X6(n,e,t,r){if(n.indexOf(`
`,Zs().s[12]++,this._textEl=this._container.querySelector("span"),Zs().s[13]++,this.updateZoomLevel()}addEventListeners(){Zs().f[4]++,Zs().s[14]++,this._map.on("render",()=>(Zs().f[5]++,Zs().s[15]++,this.updateZoomLevel())),Zs().s[16]++,this._map.on("zoomIn",()=>(Zs().f[6]++,Zs().s[17]++,this.updateZoomLevel())),Zs().s[18]++,this._map.on("zoomOut",()=>(Zs().f[7]++,Zs().s[19]++,this.updateZoomLevel()))}onRemove(){Zs().f[8]++,Zs().s[20]++,this._container.parentNode.removeChild(this._container),Zs().s[21]++,this._map=void 0}}function w6(n,e,t){const r={id:[e,t,"circle"].join("_"),source:e,type:"circle",paint:{"circle-color":n,"circle-radius":2},filter:["==","$type","Point"]};return t&&(r["source-layer"]=t),r}function S6(n,e,t,r){const i={id:[t,r,"polygon"].join("_"),source:t,type:"fill",paint:{"fill-color":n,"fill-antialias":!0,"fill-outline-color":n},filter:["==","$type","Polygon"]};return r&&(i["source-layer"]=r),i}function E6(n,e,t){const r={id:[e,t,"line"].join("_"),source:e,layout:{"line-join":"round","line-cap":"round"},type:"line",paint:{"line-color":n},filter:["==","$type","LineString"]};return t&&(r["source-layer"]=t),r}function lH(n,e){const t=[],r=[],i=[];function s(l){return{circle:e(l,.8),line:e(l,.6),polygon:e(l,.3),polygonOutline:e(l,.6),default:e(l,1)}}return Object.keys(n).forEach(l=>{const o=n[l];if(!o||o.length===0){const f=s(l);r.push(w6(f.circle,l)),i.push(E6(f.line,l)),t.push(S6(f.polygon,f.polygonOutline,l))}else o.forEach(f=>{const C=s(f);r.push(w6(C.circle,l,f)),i.push(E6(C.line,l,f)),t.push(S6(C.polygon,C.polygonOutline,l,f))})}),t.concat(i).concat(r)}function AH(n,e,t){t=Object.assign({backgroundColor:"#fff"},t);const r={id:"background",type:"background",paint:{"background-color":t.backgroundColor}},i={};return Object.keys(n.sources).forEach(s=>{const l=n.sources[s];(l.type==="vector"||l.type==="geojson")&&(i[s]=l)}),Object.assign(n,{layers:[r].concat(e),sources:i})}const M4={polygonLayer:S6,lineLayer:E6,circleLayer:w6,generateInspectStyle:AH,generateColoredLayers:lH};function fo(){var n="/home/runner/work/maputnik/maputnik/src/libs/highlight.ts",e="aec0f701e803624fae461cc89b5fc887ff556587",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:18,column:84}},10:{start:{line:18,column:72},end:{line:18,column:84}},11:{start:{line:19,column:24},end:{line:19,column:51}},12:{start:{line:20,column:16},end:{line:20,column:52}},13:{start:{line:21,column:2},end:{line:23,column:3}},14:{start:{line:22,column:4},end:{line:22,column:104}},15:{start:{line:24,column:2},end:{line:26,column:3}},16:{start:{line:25,column:4},end:{line:25,column:96}},17:{start:{line:27,column:2},end:{line:29,column:3}},18:{start:{line:28,column:4},end:{line:28,column:94}},19:{start:{line:30,column:2},end:{line:30,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:31,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:18,column:84}},type:"if",locations:[{start:{line:18,column:2},end:{line:18,column:84}},{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:19,column:24},end:{line:19,column:51}},type:"binary-expr",locations:[{start:{line:19,column:24},end:{line:19,column:45}},{start:{line:19,column:49},end:{line:19,column:51}}],line:19},6:{loc:{start:{line:21,column:2},end:{line:23,column:3}},type:"if",locations:[{start:{line:21,column:2},end:{line:23,column:3}},{s Line truncated
${this._localize("errorNoResults")}</div>`;this._renderMessage(e)}_renderMessage(e){this._typeahead.update([]),this._typeahead.selected=null,this._typeahead.clear(),this._typeahead.renderError(e)}_localize(e){const t=CH.language(this.options.language.split(",")[0]);return this.options.language&&Bv?.[e][t]?Bv[e][t]:Bv[e].en}_fitBoundsForMarkers(){if(this._typeahead.data.length<1)return;const e=this._typeahead.data.filter(t=>typeof t!="string").slice(0,this.options.limit);if(this._clearEl.style.display="none",this.options.flyTo&&this._maplibregl&&this._map){const r=pp({},{padding:100},this.options.flyTo),i=new this._maplibregl.LngLatBounds;for(const s of e)i.extend(s.geometry.coordinates);this._map.fitBounds(i,r)}return e.length>0&&this._maplibregl&&this._handleResultMarkers(e),this}setInput(e){return this._inputEl.value=e,this._typeahead.selected=null,this._typeahead.clear(),e.length>=this.options.minLength&&this.options.showResultsWhileTyping&&this._geocode(e),this}setProximity(e){return this.options.proximity=e,this}getProximity(){return this.options.proximity}setRenderFunction(e){return e&&typeof e=="function"&&(this._typeahead.render=e),this}getRenderFunction(){return this._typeahead.render}setLanguage(e){return this.options.language=e||this.options.language||navigator.language,this}getLanguage(){return this.options.language}getZoom(){return this.options.zoom}setZoom(e){return this.options.zoom=e,this}getFlyTo(){return this.options.flyTo}setFlyTo(e){return this.options.flyTo=e,this}getPlaceholder(){return this.options.placeholder}setPlaceholder(e){return this.placeholder=e||this.options.placeholder||this._localize("placeholder"),this._inputEl.placeholder=this.placeholder,this._inputEl.setAttribute("aria-label",this.placeholder),this}getBbox(){return this.options.bbox}setBbox(e){return this.options.bbox=e,this}getCountries(){return this.options.countries}setCountries(e){return this.options.countries=e,this}getTypes(){return this.options.types}setTypes(e){return this.options.types=e,this}getMinLength(){return this.options.minLength}setMinLength(e){return this.options.minLength=e,this._typeahead&&(this._typeahead.options.minLength=e),this}getLimit(){return this.options.limit}setLimit(e){return this.options.limit=e,this._typeahead&&(this._typeahead.options.limit=e),this}getFilter(){return this.options.filter}setFilter(e){return this.options.filter=e,this}setGeocoderApi(e){return this.geocoderApi=e,this}getGeocoderApi(){return this.geocoderApi}_handleMarker(e){if(!this._map)return;this._removeMarker();const r=pp({},{color:"#4668F2"},this.options.marker);this.mapMarker=new this._maplibregl.Marker(r);let i;if(this.options.popup){const l=pp({},{},this.options.popup);i=new this._maplibregl.Popup(l).setHTML(this.options.popupRender(e))}return e.center?(this.mapMarker.setLngLat(e.center).addTo(this._map),this.options.popup&&this.mapMarker.setPopup(i)):e.geometry&&e.geometry.type&&e.geometry.type==="Point"&&e.geometry.coordinates&&(this.mapMarker.setLngLat(e.geometry.coordinates).addTo(this._map),this.options.popup&&this.mapMarker.setPopup(i)),this}_removeMarker(){this.mapMarker&&(this.mapMarker.remove(),this.mapMarker=null)}_handleResultMarkers(e){if(!this._map)return;this._removeResultMarkers();let r=pp({},{color:"#4668F2"},this.options.showResultMarkers);for(const i of e){let s;if(this.options.showResultMarkers){this.options.showResultMarkers&&this.options.showResultMarkers.element&&(s=this.options.showResultMarkers.element.cloneNode(!0),r=pp(r,{element:s}));const l=new this._maplibregl.Marker(pp({},r,{element:s}));let o;if(this.options.popup){const C=pp({},{},this.options.popup);o=new this._maplibregl.Popup(C).setHTML(this.options.popupRender(i))}i.center?(l.setLngLat(i.center).addTo(this._map),this.options.popup&&l.setPopup(o)):i.geometry&&i.geometry.type&&i.geometry.type==="Point"&&i.geometry.coordinates&&(l.setLngLat(i.geometry.coordinates).addTo(this._map),this.options.popup&&l.setPopup(o)),this.resultMarkers.push(l)}}return this}_removeResultMarkers(){this.resultMarkers&&this.resultMarkers.length>0&&(this.resultMarkers.forEach(function(e){e.remove()}),this.resultMarkers=[])}on(e,t){return this._eventEmitter.on(e,t),this}once(e){return new Promise(t=>{this._eventEmitter.once(e,t)})}off(e,t){return this._eventEmitter.removeListener(e,t),this}}function gn(){var n="/home/runner/work/maputnik/maputnik/src/components/MapMaplibreGl.tsx",e="89c9406ff85b3388897c258ca0d95831105e5e92",t=globalThis,r="__coverage__",i={path:"/home/runner/work/maputnik/maputnik/src/components/MapMaplibreGl.tsx",statementMap:{0:{start:{line:21,column:15},end:{line:21,column:36}},1:{start:{line:22,column:2},end:{line:22,column:44}},2:{start:{line:22,column:28},end:{line:22,column:42}},3:{start:{line:23,column:2},end:{line:23,column:28}},4:{start:{line:24,column:2},end:{line:24,column:19}},5:{start:{line:27,column:26},end:{line:33,column:3}},6:{start:{line:34,column:16},end:{line:34,column:55}},7:{start:{line:35,column:2},end:{lineLine truncated
`).reduce((i,s)=>Math.max(i,jU(n,s)),0);return t[e]=r,r}function GJ(n,e){const t=[],r=[],i=[];let s=0,l=0,o=0,f=0;for(let C=0,w=e.length;C<=w;C+=2){const B=e[C];if(B===`
`||C===w){s=Math.max(s,l),i.push(l),l=0,o+=f,f=0;continue}const D=e[C+1]||n.font,R=jU(D,B);t.push(R),l+=R;const U=NJ(D);r.push(U),f=Math.max(f,U)}return{width:s,height:o,widths:t,heights:r,lineWidths:i}}function jJ(n,e,t,r,i,s,l,o,f,C,w){n.save(),t!==1&&(n.globalAlpha===void 0?n.globalAlpha=B=>B.globalAlpha*=t:n.globalAlpha*=t),e&&n.transform.apply(n,e),r.contextInstructions?(n.translate(f,C),n.scale(w[0],w[1]),WJ(r,n)):w[0]<0||w[1]<0?(n.translate(f,C),n.scale(w[0],w[1]),n.drawImage(r,i,s,l,o,0,0,l,o)):n.drawImage(r,i,s,l,o,f,C,l*w[0],o*w[1]),n.restore()}function WJ(n,e){const t=n.contextInstructions;for(let r=0,i=t.length;r<i;r+=2)Array.isArray(t[r+1])?e[t[r]].apply(e,t[r+1]):e[t[r]]=t[r+1]}class Qx{constructor(e){this.opacity_=e.opacity,this.rotateWithView_=e.rotateWithView,this.rotation_=e.rotation,this.scale_=e.scale,this.scaleArray_=wh(e.scale),this.displacement_=e.displacement,this.declutterMode_=e.declutterMode}clone(){const e=this.getScale();return new Qx({opacity:this.getOpacity(),scale:Array.isArray(e)?e.slice():e,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()})}getOpacity(){return this.opacity_}getRotateWithView(){return this.rotateWithView_}getRotation(){return this.rotation_}getScale(){return this.scale_}getScaleArray(){return this.scaleArray_}getDisplacement(){return this.displacement_}getDeclutterMode(){return this.declutterMode_}getAnchor(){return mo()}getImage(e){return mo()}getHitDetectionImage(){return mo()}getPixelRatio(e){return 1}getImageState(){return mo()}getImageSize(){return mo()}getOrigin(){return mo()}getSize(){return mo()}setDisplacement(e){this.displacement_=e}setOpacity(e){this.opacity_=e}setRotateWithView(e){this.rotateWithView_=e}setRotation(e){this.rotation_=e}setScale(e){this.scale_=e,this.scaleArray_=wh(e)}listenImageChange(e){mo()}load(){mo()}unlistenImageChange(e){mo()}ready(){return Promise.resolve()}}class Yx extends Qx{constructor(e){super({opacity:1,rotateWithView:e.rotateWithView!==void 0?e.rotateWithView:!1,rotation:e.rotation!==void 0?e.rotation:0,scale:e.scale!==void 0?e.scale:1,displacement:e.displacement!==void 0?e.displacement:[0,0],declutterMode:e.declutterMode}),this.hitDetectionCanvas_=null,this.fill_=e.fill!==void 0?e.fill:null,this.origin_=[0,0],this.points_=e.points,this.radius=e.radius,this.radius2_=e.radius2,this.angle_=e.angle!==void 0?e.angle:0,this.stroke_=e.stroke!==void 0?e.stroke:null,this.size_,this.renderOptions_,this.imageState_=this.fill_&&this.fill_.loading()?pi.LOADING:pi.LOADED,this.imageState_===pi.LOADING&&this.ready().then(()=>this.imageState_=pi.LOADED),this.render()}clone(){const e=this.getScale(),t=new Yx({fill:this.getFill()?this.getFill().clone():void 0,points:this.getPoints(),radius:this.getRadius(),radius2:this.getRadius2(),angle:this.getAngle(),stroke:this.getStroke()?this.getStroke().clone():void 0,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),scale:Array.isArray(e)?e.slice():e,displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()});return t.setOpacity(this.getOpacity()),t}getAnchor(){const e=this.size_,t=this.getDisplacement(),r=this.getScaleArray();return[e[0]/2-t[0]/r[0],e[1]/2+t[1]/r[1]]}getAngle(){return this.angle_}getFill(){return this.fill_}setFill(e){this.fill_=e,this.render()}getHitDetectionImage(){return this.hitDetectionCanvas_||(this.hitDetectionCanvas_=this.createHitDetectionCanvas_(this.renderOptions_)),this.hitDetectionCanvas_}getImage(e){const t=this.fill_?.getKey(),r=`${e},${this.angle_},${this.radius},${this.radius2_},${this.points_},${t}`+Object.values(this.renderOptions_).join(",");let i=Ff.get(r,null,null)?.getImage(1);if(!i){const s=this.renderOptions_,l=Math.ceil(s.size*e),o=_A(l,l);this.draw_(s,o,e),i=o.canvas,Ff.set(r,null,null,new zU(i,void 0,null,pi.LOADED,null))}return i}getPixelRatio(e){return e}getImageSize(){return this.size_}getImageState(){return this.imageState_}getOrigin(){return this.origin_}getPoints(){return this.points_}getRadius(){return this.radius}getRadius2(){return this.radius2_}getSize(){return this.size_}getStroke(){return this.stroke_}setStroke(e){this.stroke_=e,this.render()}listenImageChange(e){}load(){}unlistenImageChange(e){}calculateLineJoinSize_(e,t,r){if(t===0||this.points_===1/0||e!=="bevel"&&e!=="miter")return t;let i=this.radius,s=this.radius2_===void 0?i:this.radius2_;if(i<s){const re=i;i=s,s=re}const l=this.radius2_===void 0?this.points_:this.points_*2,o=2*Math.PI/l,f=s*Math.sin(o),C=Math.sqrt(s*s-f*f),w=i-C,B=Math.sqrt(f*f+w*w),D=B/f;if(e==="miter"&&D<=r)return D*t;const R=t/2/D,U=t/2*(w/B),W=Math.sqrt((i+R)*(i+R)+U*U)-i;if(this.radius2_===void 0||e==="bevel")return W*2;const J=i*Math.sin(o),$=Math.sqrt(i*i-J*J),oe=s-$,H=Math.sqrt(J*J+oe*oe)/J;if(H<=r){const re=H*t/2-s-i;return 2*Math.max(W,re)}return W*2}createRenderOptions(){let e=Ky,t=Fy,r=0,i=null,s=0,l,o=0;this.stroke_&&(l=rm(this.stroke_.getColor()??zC),o=this Line truncated
`,""),n.push(e,""),n}function Fee(n,e,t){return t%2===0&&(n+=e),n}class Lee{constructor(e,t,r,i,s){this.overlaps=r,this.pixelRatio=t,this.resolution=e,this.alignAndScaleFill_,this.instructions=i.instructions,this.coordinates=i.coordinates,this.coordinateCache_={},this.renderedTransform_=Ed(),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_={},this.zIndexContext_=s?new KO:null}getZIndexContext(){return this.zIndexContext_}createLabel(e,t,r,i){const s=e+t+r+i;if(this.labels_[s])return this.labels_[s];const l=i?this.strokeStates[i]:null,o=r?this.fillStates[r]:null,f=this.textStates[t],C=this.pixelRatio,w=[f.scale[0]*C,f.scale[1]*C],B=f.justify?W2[f.justify]:eM(Array.isArray(e)?e[0]:e,f.textAlign||NC),D=i&&l.lineWidth?l.lineWidth:0,R=Array.isArray(e)?e:String(e).split(`
`).reduce(Kee,[]),{width:U,height:G,widths:W,heights:J,lineWidths:$}=GJ(f,R),oe=U+D,te=[],H=(oe+2)*w[0],re=(G+D)*w[1],j={width:H<0?Math.floor(H):Math.ceil(H),height:re<0?Math.floor(re):Math.ceil(re),contextInstructions:te};(w[0]!=1||w[1]!=1)&&te.push("scale",w),i&&(te.push("strokeStyle",l.strokeStyle),te.push("lineWidth",D),te.push("lineCap",l.lineCap),te.push("lineJoin",l.lineJoin),te.push("miterLimit",l.miterLimit),te.push("setLineDash",[l.lineDash]),te.push("lineDashOffset",l.lineDashOffset)),r&&te.push("fillStyle",o.fillStyle),te.push("textBaseline","middle"),te.push("textAlign","center");const Ae=.5-B;let ge=B*oe+Ae*D;const me=[],xe=[];let Be=0,Me=0,We=0,be=0,nt;for(let _t=0,at=R.length;_t<at;_t+=2){const Je=R[_t];if(Je===`
`){Me+=Be,Be=0,ge=B*oe+Ae*D,++be;continue}const Ne=R[_t+1]||f.font;Ne!==nt&&(i&&me.push("font",Ne),r&&xe.push("font",Ne),nt=Ne),Be=Math.max(Be,J[We]);const Te=[Je,ge+Ae*W[We]+B*(W[We]-$[be]),.5*(D+Be)+Me];ge+=W[We],i&&me.push("strokeText",Te),r&&xe.push("fillText",Te),++We}return Array.prototype.push.apply(te,me),Array.prototype.push.apply(te,xe),this.labels_[s]=j,j}replayTextBackground_(e,t,r,i,s,l,o){e.beginPath(),e.moveTo.apply(e,t),e.lineTo.apply(e,r),e.lineTo.apply(e,i),e.lineTo.apply(e,s),e.lineTo.apply(e,t),l&&(this.alignAndScaleFill_=l[2],e.fillStyle=l[1],this.fill_(e)),o&&(this.setStrokeStyle_(e,o),e.stroke())}calculateImageOrLabelDimensions_(e,t,r,i,s,l,o,f,C,w,B,D,R,U,G,W){o*=D[0],f*=D[1];let J=r-o,$=i-f;const oe=s+C>e?e-C:s,te=l+w>t?t-w:l,H=U[3]+oe*D[0]+U[1],re=U[0]+te*D[1]+U[2],j=J-U[3],Ae=$-U[0];(G||B!==0)&&(v0[0]=j,C0[0]=j,v0[1]=Ae,Tm[1]=Ae,Tm[0]=j+H,km[0]=Tm[0],km[1]=Ae+re,C0[1]=km[1]);let ge;return B!==0?(ge=um(Ed(),r,i,1,1,B,-r,-i),Ku(ge,v0),Ku(ge,Tm),Ku(ge,km),Ku(ge,C0),jm(Math.min(v0[0],Tm[0],km[0],C0[0]),Math.min(v0[1],Tm[1],km[1],C0[1]),Math.max(v0[0],Tm[0],km[0],C0[0]),Math.max(v0[1],Tm[1],km[1],C0[1]),Pg)):jm(Math.min(j,j+H),Math.min(Ae,Ae+re),Math.max(j,j+H),Math.max(Ae,Ae+re),Pg),R&&(J=Math.round(J),$=Math.round($)),{drawImageX:J,drawImageY:$,drawImageW:oe,drawImageH:te,originX:C,originY:w,declutterBox:{minX:Pg[0],minY:Pg[1],maxX:Pg[2],maxY:Pg[3],value:W},canvasTransform:ge,scale:D}}replayImageOrLabel_(e,t,r,i,s,l,o){const f=!!(l||o),C=i.declutterBox,w=o?o[2]*i.scale[0]/2:0;return C.minX-w<=t[0]&&C.maxX+w>=0&&C.minY-w<=t[1]&&C.maxY+w>=0&&(f&&this.replayTextBackground_(e,v0,Tm,km,C0,l,o),jJ(e,i.canvasTransform,s,r,i.originX,i.originY,i.drawImageW,i.drawImageH,i.drawImageX,i.drawImageY,i.scale)),!0}fill_(e){const t=this.alignAndScaleFill_;if(t){const r=Ku(this.renderedTransform_,[0,0]),i=512*this.pixelRatio;e.save(),e.translate(r[0]%i,r[1]%i),t!==1&&e.scale(t,t),e.rotate(this.viewRotation_)}e.fill(),t&&e.restore()}setStrokeStyle_(e,t){e.strokeStyle=t[1],t[1]&&(e.lineWidth=t[2],e.lineCap=t[3],e.lineJoin=t[4],e.miterLimit=t[5],e.lineDashOffset=t[7],e.setLineDash(t[6]))}drawLabelWithPointPlacement_(e,t,r,i){const s=this.textStates[t],l=this.createLabel(e,t,i,r),o=this.strokeStates[r],f=this.pixelRatio,C=eM(Array.isArray(e)?e[0]:e,s.textAlign||NC),w=W2[s.textBaseline||F2],B=o&&o.lineWidth?o.lineWidth:0,D=l.width/f-2*s.scale[0],R=C*D+2*(.5-C)*B,U=w*l.height/f+2*(.5-w)*B;return{label:l,anchorX:R,anchorY:U}}execute_(e,t,r,i,s,l,o,f){const C=this.zIndexContext_;let w;this.pixelCoordinates_&&q0(r,this.renderedTransform_)?w=this.pixelCoordinates_:(this.pixelCoordinates_||(this.pixelCoordinates_=[]),w=G0(this.coordinates,0,this.coordinates.length,2,r,this.pixelCoordinates_),NZ(this.renderedTransform_,r));let B=0;const D=i.length;let R=0,U,G,W,J,$,oe,te,H,re,j,Ae,ge,me,xe=0,Be=0;const Me=this.coordinateCache_,We=this.viewRotation_,be=Math.round(Math.atan2(-r[1],r[0])*1e12)/1e12,nt={context:e,pixelRatio:this.pixelRatio,resolution:this.resolution,rotation:We},_t=this.instructions!=i||this.overlaps?0:200;let at,Je,Ne,Te;for(;B<D;){const Ze=i[B];switch(Ze[0]){case $i.BEGIN_GEOMETRY:at=Ze[1],Te=Ze[3],at.getGeometry()?o!==void 0&&!QA(o,Te.getExtent())?B=Ze[2]+1:++B:B=Ze[2],C&&(C.zIndex=Ze[4]);break;case $i.BEGIN_PATH:xe>_t&&(this.fill_(e),xe=0),Be>_t&&(e.stroke(),Be=0),!xe&&!Be&&(e.beginPath(),$=NaN,oe=NaN),++B;break;case $i.CIRCLE:R=Ze[1];const Dt=w[R],pt=w[R+1],Tt=w[R+2],It=w[R+3],Le=Tt-Dt,Re=It-pt,Ke=Math.sqrt(Le*Le+Re*Re);e.moveTo(Dt+Ke,pt),e.arc(Dt,pt,Ke,0,2*Math.PI,!0),++B;break;case $i.CLOSE_PATH:e.closePath(),++B;break;case $i.CUSTOM:R=Ze[1],U=Ze[2];const $e=Ze[3],bt=Ze[4],vt=Ze[5];nt.geometry=$e,nt.feature=at,B in Me||(Me[B]=[]);const Ot=Me[B];vt?vt(w,R,U,2,Ot):(Ot[0]=w[R],Ot[1]=w[R+1],Ot.length=2),C&&(C.zIndex=Ze[6]),bt(Ot,nt),++B;break;case $i.DRAW_IMAGE:R=Ze[1],U=Ze[2],re=Ze[3],G=Ze[4],W=Ze[5];let $t=Ze[6];const Kt=Ze[7],un=Ze[8],$n=Ze[9],Wt=Ze[10];let Jn=Ze[11];const Sn=Ze[12];let Mn=Ze[13];J=Ze[14]||"declutter";const En=Ze[15];if(!re&&Ze.length>=20){j=Ze[19],Ae=Ze[20],ge=Ze[21],me=Ze[22];const xn=this.drawLabelWithPointPlacement_(j,Ae,ge,me);re=xn.label,Ze[3]=re;const dr=Ze[23];G=(xn.anchorX-dr)*this.pixelRatio,Ze[4]=G;const ur=Ze[24];W=(xn.anchorY-ur)*this.pixelRatio,Ze[5]=W,$t=re.height,Ze[6]=$t,Mn=re.width,Ze[13]=Mn}let Er;Ze.length>25&&(Er=Ze[25]);let Yn,Dn,Ge;Ze.length>17?(Yn=Ze[16],Dn=Ze[17],Ge=Ze[18]):(Yn=T1,Dn=null,Ge=null),Wt&&be?Jn+=We:!Wt&&!be&&(Jn-=We);let de=0;for(;R<U;R+=2){if(Er&&Er[de++]<Mn/this.pixelRatio)continue;const xn=this.calculateImageOrLabelDimensions_(re.width,re.height,w[R],w[R+1],Mn,$t,G,W,un,$n,Jn,Sn,s,Yn,!!Dn||!!Ge,at),dr=[e,t,re,xn,Kt,Dn,Ge];if(f){let ur,yi,ui;if(En){const Cr=U-R;if(!En[Cr]){En[Cr]={args:dr,declutterMode:J};continue}const Ei=En[Cr];ur=Ei.args,yi=Ei.declutterMode,delete En[Cr],ui=E9(ur)}let ci,Fr;if(ur&&(yi!=="declutter"||!f.collides(ui))&&(ci=!0),(J!=="declutter"||!f.collides(xn.declutterBox))&&(Fr=!0),yi==="declutter"&&J==="declutter"){co Line truncated
`),i=tte.slice(0,Math.round(e/.1));for(let s=0,l=r.length;s<l;++s)s>0&&(t+=`
`),t+=r[s].split("").join(i);return t}return n}let rM;function pz(){return rM||(rM=Xx(1,1).getContext("2d")),rM}function p1(n,e){return pz().measureText(n).width+(n.length-1)*e}const q2={};M1.on("propertychange",()=>{for(const n in q2)delete q2[n]});function Z6(n,e,t,r){if(n.indexOf(`
`)!==-1){const l=n.split(`
`),o=[];for(let f=0,C=l.length;f<C;++f)o.push(X6(l[f],e,t,r));return o.join(`
`)}const i=t+","+e+","+n+","+r;let s=q2[i];if(!s){const l=n.split(" ");if(l.length>1){const o=fz();o.font=e;const C=o.measureText("M").width*t;let w="";const B=[];for(let D=0,R=l.length;D<R;++D){const U=l[D],G=w+(w?" ":"")+U;p1(G,r)<=C?w=G:(w&&B.push(w),w=U)}w&&B.push(w);for(let D=0,R=B.length;D<R&&R>1;++D){const U=B[D];if(p1(U,r)<C*.35){const G=D>0?p1(B[D-1],r):1/0,W=D<R-1?p1(B[D+1],r):1/0;B.splice(D,1),R-=1,G<W?(B[D-1]+=" "+U,D-=1):B[D]=U+" "+B[D]}}for(let D=0,R=B.length-1;D<R;++D){const U=B[D],G=B[D+1];if(p1(U,r)>C*.7&&p1(G,r)<C*.6){const W=U.split(" "),J=W.pop();p1(J,r)<C*.2&&(B[D]=W.join(" "),B[D+1]=J+" "+G),R-=1}}s=B.join(`
`)}else s=n;s=Z6(s,r),q2[i]=s}return s}const rte=["Arial","Courier New","Times New Roman","Verdana","sans-serif","serif","monospace","cursive","fantasy"],F9={};function ite(n,e="https://cdn.jsdelivr.net/npm/@fontsource/{font-family}/{fontweight}{-fontstyle}.css"){let t;for(let r=0,i=n.length;r<i;++r){const s=n[r];if(s in F9)continue;F9[s]=!0;const o=O6(s,16).split(" ");t||(t=[]),t.push([o.slice(3).join(" ").replace(/"/g,""),o[1],o[0]])}return t&&(async()=>{await document.fonts.ready;for(let r=0,i=t.length;r<i;++r){const s=t[r],l=s[0];if(rte.includes(l))continue;const o=s[1],f=s[2];if(!(await document.fonts.load(`${f} ${o} 16px "${l}"`)).some(w=>w.family.replace(/^['"]|['"]$/g,"").toLowerCase()===l.toLowerCase()&&w.weight==o&&w.style===f)){const w=e.replace("{font-family}",l.replace(/ /g,"-").toLowerCase()).replace("{Font+Family}",l.replace(/ /g,"+")).replace("{fontweight}",o).replace("{-fontstyle}",f.replace("normal","").replace(/(.+)/,"-$1")).replace("{fontstyle}",f);if(!document.querySelector('link[href="'+w+'"]')){const B=document.createElement("link");B.href=w,B.rel="stylesheet",document.head.appendChild(B)}}}})(),n}const ote={Point:1,MultiPoint:1,LineString:2,MultiLineString:2,Polygon:3,MultiPolygon:3},ste={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]},ate=function(n,e){const t=Sx(n,e);if(t.result==="error")throw new Error(t.value.map(r=>`${r.key}: ${r.message}`).join(", "));return t.value},rf={zoom:0,distanceFromCenter:0};tf.register(bx,{...tf.definitions,pitch:[{kind:"number"},[],n=>rf.pitch||90],"distance-from-center":[{kind:"number"},[],n=>rf.distanceFromCenter||0]});let Sb,oM;function bi(n,e,t,r,i,s){const l=n.id;i||(i={},console.warn("No functionCache provided to getValue()")),i[l]||(i[l]={});const o=i[l];if(!o[t]){let f=(n[e]||xp)[t];const C=Jd[`${e}_${n.type}`][t];f===void 0&&(f=C.default);let w=Yy(f);if(!w&&Qy(f)&&(f=jB(f,C),w=!0),w){const B=ate(f,C);o[t]=B.evaluate.bind(B)}else C.type=="color"&&(f=La.parse(f)),o[t]=function(){return f}}return o[t](rf,r,s)}function L9(n,e,t,r){return bi(n,"layout",`${t}-allow-overlap`,e,r)?bi(n,"layout",`${t}-ignore-placement`,e,r)?"none":"obstacle":"declutter"}function lte(n,e,t,r){if(r||console.warn("No filterCache provided to evaluateFilter()"),!(n in r))try{r[n]=A$(e).filter}catch(i){console.warn("Filter will evaluate to false: "+i.message),r[n]=function(){return!1}}return r[n](rf,t)}function M0(n,e){if(n){if(n.a===0||e===0)return;const t=n.a;return e=e===void 0?1:e,t===0?"transparent":"rgba("+Math.round(n.r*255/t)+","+Math.round(n.g*255/t)+","+Math.round(n.b*255/t)+","+t*e+")"}return n}const Ate=/\{[^{}}]*\}/g;function sM(n,e){return n.replace(Ate,function(t){return e[t.slice(1,-1)]||""})}function U9(n,e){let t=n.split(":")[0];return t===n&&(t="default"),e[t]}const ute={};function cte(n,e,t,r=Am,i=void 0,s=void 0,l=void 0,o=void 0){if(typeof e=="string"&&(e=JSON.parse(e)),e.version!=8)throw new Error("glStyle version 8 required.");ute[Jee(e,n)]=Array.from(arguments);const f={};(typeof s=="string"||s instanceof Request||s instanceof Response||s instanceof Promise)&&(s={default:s});for(const H in s){const re=s[H];Py(()=>re).then(async j=>{let Ae;if(typeof Image<"u"){const ge=new Image;if(typeof j=="string")ge.crossOrigin="anonymous",ge.src=j;else{let me;j instanceof Request?me=await fetch(j):j instanceof Response&&(me=j);const xe=await me.blob();Ae=URL.createObjectURL(xe),ge.src=Ae}ge.addEventListener("load",function me(){ge.removeEventListener("load",me),f[H]={image:ge,size:[ge.width,ge.height]},n.changed(),Ae&&URL.revokeObjectURL(Ae)}),ge.addEventListener("error",function me(){URL.revokeObjectURL(Ae),ge.removeEventListener("error",me)})}else if(typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope){const ge=self;ge.postMessage({action:"loadImage",src:j}),ge.addEventListener("message",function(xe){xe.data.action==="imageLoaded"&&xe.data.src===j&&(f[H]={image:xe.data.image,size:[xe.data.image.width,xe.data.image.height]})})}})}const C=MB(e.layers),w={},B=[],D={},R={},U=cz(e),G=ete(e);let W;for(let H=0,re=C.length;H<re;++H){const j=C[H],Ae=j.id;if(typeof t=="string"&&j.source==t||Array.isArray(t)&&t.indexOf(Ae)!==-1){const ge=j["source-layer"];if(W){if(j.source!==W)throw new Error(`Layer "${Ae}" does not use source "${W}`)}else{W=j.source;const xe=e.sources[W];if(!xe)throw new Error(`Source "${W}" is not defined`);const Be=xe.type;if(Be!=="vector"&&Be!=="geojson")throw new Error(`Source "${W}" is not of type "vector" or "geojson", but "${Be}"`)}let me=w[ge];me||(me=[],w[ge]=me),me.push({layer:j,index:H}),B.push(Ae)}}const J=new k0,$=new Lm,oe=[],te=function(H,re,j){const Ae=n.getSource?.()?.format_?.layerName_??"mvt:layer",ge=H.getProperties(),me=w[ge[Ae]];if(!me)return;let xe=r.indexOf(re);xe==-1&&(xe=jO(re,r)),rf.zoom=xe,rf.distanceFromCenter=0;const Be=H.getGeometry(),Me=ote[Be.getType()],We=n.get("map");if(We&&We instanceof Zx&&Me===1){const at=We.gLine truncated
`),o=[];for(let f=0,C=l.length;f<C;++f)o.push(Z6(l[f],e,t,r));return o.join(`
`)}const i=t+","+e+","+n+","+r;let s=q2[i];if(!s){const l=n.split(" ");if(l.length>1){const o=pz();o.font=e;const C=o.measureText("M").width*t;let w="";const B=[];for(let D=0,R=l.length;D<R;++D){const U=l[D],G=w+(w?" ":"")+U;p1(G,r)<=C?w=G:(w&&B.push(w),w=U)}w&&B.push(w);for(let D=0,R=B.length;D<R&&R>1;++D){const U=B[D];if(p1(U,r)<C*.35){const G=D>0?p1(B[D-1],r):1/0,W=D<R-1?p1(B[D+1],r):1/0;B.splice(D,1),R-=1,G<W?(B[D-1]+=" "+U,D-=1):B[D]=U+" "+B[D]}}for(let D=0,R=B.length-1;D<R;++D){const U=B[D],G=B[D+1];if(p1(U,r)>C*.7&&p1(G,r)<C*.6){const W=U.split(" "),J=W.pop();p1(J,r)<C*.2&&(B[D]=W.join(" "),B[D+1]=J+" "+G),R-=1}}s=B.join(`
`)}else s=n;s=H6(s,r),q2[i]=s}return s}const nte=["Arial","Courier New","Times New Roman","Verdana","sans-serif","serif","monospace","cursive","fantasy"],F9={};function rte(n,e="https://cdn.jsdelivr.net/npm/@fontsource/{font-family}/{fontweight}{-fontstyle}.css"){let t;for(let r=0,i=n.length;r<i;++r){const s=n[r];if(s in F9)continue;F9[s]=!0;const o=B6(s,16).split(" ");t||(t=[]),t.push([o.slice(3).join(" ").replace(/"/g,""),o[1],o[0]])}return t&&(async()=>{await document.fonts.ready;for(let r=0,i=t.length;r<i;++r){const s=t[r],l=s[0];if(nte.includes(l))continue;const o=s[1],f=s[2];if(!(await document.fonts.load(`${f} ${o} 16px "${l}"`)).some(w=>w.family.replace(/^['"]|['"]$/g,"").toLowerCase()===l.toLowerCase()&&w.weight==o&&w.style===f)){const w=e.replace("{font-family}",l.replace(/ /g,"-").toLowerCase()).replace("{Font+Family}",l.replace(/ /g,"+")).replace("{fontweight}",o).replace("{-fontstyle}",f.replace("normal","").replace(/(.+)/,"-$1")).replace("{fontstyle}",f);if(!document.querySelector('link[href="'+w+'"]')){const B=document.createElement("link");B.href=w,B.rel="stylesheet",document.head.appendChild(B)}}}})(),n}const ite={Point:1,MultiPoint:1,LineString:2,MultiLineString:2,Polygon:3,MultiPolygon:3},ote={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]},ste=function(n,e){const t=Sx(n,e);if(t.result==="error")throw new Error(t.value.map(r=>`${r.key}: ${r.message}`).join(", "));return t.value},rf={zoom:0,distanceFromCenter:0};tf.register(bx,{...tf.definitions,pitch:[{kind:"number"},[],n=>rf.pitch||90],"distance-from-center":[{kind:"number"},[],n=>rf.distanceFromCenter||0]});let Sb,iM;function bi(n,e,t,r,i,s){const l=n.id;i||(i={},console.warn("No functionCache provided to getValue()")),i[l]||(i[l]={});const o=i[l];if(!o[t]){let f=(n[e]||xp)[t];const C=Jd[`${e}_${n.type}`][t];f===void 0&&(f=C.default);let w=Yy(f);if(!w&&Qy(f)&&(f=GB(f,C),w=!0),w){const B=ste(f,C);o[t]=B.evaluate.bind(B)}else C.type=="color"&&(f=La.parse(f)),o[t]=function(){return f}}return o[t](rf,r,s)}function L9(n,e,t,r){return bi(n,"layout",`${t}-allow-overlap`,e,r)?bi(n,"layout",`${t}-ignore-placement`,e,r)?"none":"obstacle":"declutter"}function ate(n,e,t,r){if(r||console.warn("No filterCache provided to evaluateFilter()"),!(n in r))try{r[n]=A$(e).filter}catch(i){console.warn("Filter will evaluate to false: "+i.message),r[n]=function(){return!1}}return r[n](rf,t)}function M0(n,e){if(n){if(n.a===0||e===0)return;const t=n.a;return e=e===void 0?1:e,t===0?"transparent":"rgba("+Math.round(n.r*255/t)+","+Math.round(n.g*255/t)+","+Math.round(n.b*255/t)+","+t*e+")"}return n}const lte=/\{[^{}}]*\}/g;function oM(n,e){return n.replace(lte,function(t){return e[t.slice(1,-1)]||""})}function U9(n,e){let t=n.split(":")[0];return t===n&&(t="default"),e[t]}const Ate={};function ute(n,e,t,r=Am,i=void 0,s=void 0,l=void 0,o=void 0){if(typeof e=="string"&&(e=JSON.parse(e)),e.version!=8)throw new Error("glStyle version 8 required.");Ate[Xee(e,n)]=Array.from(arguments);const f={};(typeof s=="string"||s instanceof Request||s instanceof Response||s instanceof Promise)&&(s={default:s});for(const H in s){const re=s[H];Py(()=>re).then(async j=>{let Ae;if(typeof Image<"u"){const ge=new Image;if(typeof j=="string")ge.crossOrigin="anonymous",ge.src=j;else{let me;j instanceof Request?me=await fetch(j):j instanceof Response&&(me=j);const xe=await me.blob();Ae=URL.createObjectURL(xe),ge.src=Ae}ge.addEventListener("load",function me(){ge.removeEventListener("load",me),f[H]={image:ge,size:[ge.width,ge.height]},n.changed(),Ae&&URL.revokeObjectURL(Ae)}),ge.addEventListener("error",function me(){URL.revokeObjectURL(Ae),ge.removeEventListener("error",me)})}else if(typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope){const ge=self;ge.postMessage({action:"loadImage",src:j}),ge.addEventListener("message",function(xe){xe.data.action==="imageLoaded"&&xe.data.src===j&&(f[H]={image:xe.data.image,size:[xe.data.image.width,xe.data.image.height]})})}})}const C=xB(e.layers),w={},B=[],D={},R={},U=hz(e),G=Jee(e);let W;for(let H=0,re=C.length;H<re;++H){const j=C[H],Ae=j.id;if(typeof t=="string"&&j.source==t||Array.isArray(t)&&t.indexOf(Ae)!==-1){const ge=j["source-layer"];if(W){if(j.source!==W)throw new Error(`Layer "${Ae}" does not use source "${W}`)}else{W=j.source;const xe=e.sources[W];if(!xe)throw new Error(`Source "${W}" is not defined`);const Be=xe.type;if(Be!=="vector"&&Be!=="geojson")throw new Error(`Source "${W}" is not of type "vector" or "geojson", but "${Be}"`)}let me=w[ge];me||(me=[],w[ge]=me),me.push({layer:j,index:H}),B.push(Ae)}}const J=new k0,$=new Lm,oe=[],te=function(H,re,j){const Ae=n.getSource?.()?.format_?.layerName_??"mvt:layer",ge=H.getProperties(),me=w[ge[Ae]];if(!me)return;let xe=r.indexOf(re);xe==-1&&(xe=GO(re,r)),rf.zoom=xe,rf.distanceFromCenter=0;const Be=H.getGeometry(),Me=ite[Be.getType()],We=n.get("map");if(We&&We instanceof Hx&&Me===1){const at=We.gLine truncated
`)return Ge.push(`
`,""),Ge;if(Me==2)return Ge.push(Z6(Ie,En),fe),Ge;Ie=X6(Ie,fe,Er,En).split(`
`,""),Ge;if(Me==2)return Ge.push(H6(Ie,En),fe),Ge;Ie=Z6(Ie,fe,Er,En).split(`
`);for(let je=0,ht=Ie.length;je<ht;++je)je>0&&Ge.push(`
`,""),Ge.push(Ie[je],fe);return Ge},[]):Wt=sM(Dn,ge).trim(),It=bi(Te,"paint","text-opacity",be,U,nt)}if(Wt&&It&&!$n){vt||(++_t,$e=oe[_t],(!$e||!$e.getText()||$e.getFill()||$e.getStroke())&&($e=new Hd,oe[_t]=$e),$e.setImage(void 0),$e.setGeometry(void 0));const Yn=L9(Te,be,"text",U);$e.getText()||$e.setText(Ot),Ot=$e.getText(),(!Ot||"getDeclutterMode"in Ot&&Ot.getDeclutterMode()!==Yn)&&(Ot=new $x({padding:[2,2,2,2],declutterMode:Yn}),$e.setText(Ot));const Dn=bi(Te,"layout","text-transform",be,U,nt);Dn=="uppercase"?Wt=Array.isArray(Wt)?Wt.map((Bt,rt)=>rt%2?Bt:Bt.toUpperCase()):Wt.toUpperCase():Dn=="lowercase"&&(Wt=Array.isArray(Wt)?Wt.map((Bt,rt)=>rt%2?Bt:Bt.toLowerCase()):Wt.toLowerCase());const Ge=Array.isArray(Wt)?Wt:Me==2?Z6(Wt,En):X6(Wt,Jn,Er,En);if(Ot.setText(Ge),Ot.setFont(Jn),Ot.setRotation(rM(bi(Te,"layout","text-rotate",be,U,nt))),typeof Ot.setKeepUpright=="function"){const Bt=bi(Te,"layout","text-keep-upright",be,U,nt);Ot.setKeepUpright(Bt)}const de=bi(Te,"layout","text-anchor",be,U,nt),ie=vt||Me==1?"point":bi(Te,"layout","symbol-placement",be,U,nt);let se;if(ie==="line-center"?(Ot.setPlacement("line"),se="center"):Ot.setPlacement(ie),ie==="line"&&typeof Ot.setRepeat=="function"){const Bt=bi(Te,"layout","symbol-spacing",be,U,nt);Ot.setRepeat(Bt*2)}Ot.setOverflow(ie==="point");let fe=bi(Te,"paint","text-halo-width",be,U,nt);const Ie=bi(Te,"layout","text-offset",be,U,nt),je=bi(Te,"paint","text-translate",be,U,nt);let ht=0,Ve=0;if(ie=="point"){se="center",de.indexOf("left")!==-1?(se="left",Ve=fe):de.indexOf("right")!==-1&&(se="right",Ve=-fe);const Bt=bi(Te,"layout","text-rotation-alignment",be,U,nt);Ot.setRotateWithView(Bt=="map")}else Ot.setMaxAngle(rM(bi(Te,"layout","text-max-angle",be,U,nt))*Wt.length/Ge.length),Ot.setRotateWithView(!1);Ot.setTextAlign(se);let Pe="middle";de.indexOf("bottom")==0?(Pe="bottom",ht=-fe-.5*(Sn-1)*Mn):de.indexOf("top")==0&&(Pe="top",ht=fe+.5*(Sn-1)*Mn),Ot.setTextBaseline(Pe);const He=bi(Te,"layout","text-justify",be,U,nt);Ot.setJustify(He==="auto"?void 0:He),Ot.setOffsetX(Ie[0]*Mn+Ve+je[0]),Ot.setOffsetY(Ie[1]*Mn+ht+je[1]),$.setColor(M0(bi(Te,"paint","text-color",be,U,nt),It)),Ot.setFill($);const m=M0(bi(Te,"paint","text-halo-color",be,U,nt),It);if(m&&fe>0){J.setColor(m),fe*=2;const Bt=.5*Mn;J.setWidth(fe<=Bt?fe:Bt),Ot.setStroke(J)}else Ot.setStroke(void 0);const ft=bi(Te,"layout","text-padding",be,U,nt),ut=Ot.getPadding();ft!==ut[0]&&(ut[0]=ft,ut[1]=ft,ut[2]=ft,ut[3]=ft),$e.setZIndex(bt)}}}if(_t>-1)return oe.length=_t+1,oe};return n.setStyle(te),n.set("mapbox-layers",B),n.set("mapbox-source",W),n.set("mapbox-featurestate",n.get("mapbox-featurestate")||{}),te}class pz{constructor(){this.dataProjection=void 0,this.defaultFeatureProjection=void 0,this.featureClass=Xx,this.supportedMediaTypes=null}getReadOptions(e,t){if(t){let r=t.dataProjection?Ba(t.dataProjection):this.readProjection(e);t.extent&&r&&r.getUnits()==="tile-pixels"&&(r=Ba(r),r.setWorldExtent(t.extent)),t={dataProjection:r,featureProjection:t.featureProjection}}return this.adaptOptions(t)}adaptOptions(e){return Object.assign({dataProjection:this.dataProjection,featureProjection:this.defaultFeatureProjection,featureClass:this.featureClass},e)}getType(){return mo()}readFeature(e,t){return mo()}readFeatures(e,t){return mo()}readGeometry(e,t){return mo()}readProjection(e){return mo()}writeFeature(e,t){return mo()}writeFeatures(e,t){return mo()}writeGeometry(e,t){return mo()}}function e3(n,e,t){const r=t?Ba(t.featureProjection):null,i=t?Ba(t.dataProjection):null;let s=n;if(r&&i&&!N0(r,i)){e&&(s=n.clone());const l=e?r:i,o=e?i:r;l.getUnits()==="tile-pixels"?s.transform(l,o):s.applyTransform(KC(l,o))}if(e&&t&&t.decimals!==void 0){const l=Math.pow(10,t.decimals),o=function(f){for(let C=0,w=f.length;C<w;++C)f[C]=Math.round(f[C]*l)/l;return f};s===n&&(s=n.clone()),s.applyTransform(o)}return s}const hte={Point:q1,LineString:V1,Polygon:Qm,MultiPoint:B_,MultiLineString:QC,MultiPolygon:YC};function dte(n,e,t){return Array.isArray(e[0])?(MU(n,0,e,t)||(n=n.slice(),G6(n,0,e,t)),n):(yO(n,0,e,t)||(n=n.slice(),D2(n,0,e,t)),n)}function mz(n,e){const t=n.geometry;if(!t)return[];if(Array.isArray(t))return t.map(s=>mz({...n,geometry:s})).flat();const r=t.type==="MultiPolygon"?"Polygon":t.type;if(r==="GeometryCollection"||r==="Circle")throw new Error("Unsupported geometry type: "+r);const i=t.layout.length;return e3(new Mh(r,r==="Polygon"?dte(t.flatCoordinates,t.ends,i):t.flatCoordinates,t.ends?.flat(),i,n.properties||{},n.id).enableSimplifyTransformed(),!1,e)}function WO(n,e){if(!n)return null;if(Array.isArray(n)){const r=n.map(i=>WO(i,e));return new G2(r)}const t=hte[n.type];return e3(new t(n.flatCoordinates,n.layout||"XY",n.ends),!1,e)}class fte extends pz{constructor(){super()}getType(){return"json"}readFeature(e,t){return this.readFeatureFromObject(Eb(e),this.getReadOptions(e,t))}readFeatures(e,t){return this.readFeaturesFromObject(Eb(e),this.getReadOptions(e,t))}readFeatureFromObject(e,t){return mo()}readFeaturesFromObject(e,t){ Line truncated
`),"binary").toString("base64"):URL.createObjectURL(new Blob(r,{type:"text/javascript"})));return i.addEventListener("message",e),i}function bne(n,e){const t=Oz(n.operation);let r=!1;return{postMessage:function(i){setTimeout(function(){r||e({data:{buffer:t(i),meta:i.meta}})},0)},terminate:function(){r=!0}}}class xne extends m_{constructor(e){super(),this.imageOps_=!!e.imageOps;let t;e.threads===0?t=0:this.imageOps_?t=1:t=e.threads||1;const r=new Array(t);if(t)for(let i=0;i<t;++i)r[i]=_ne(e,this.onWorkerMessage_.bind(this,i));else r[0]=bne(e,this.onWorkerMessage_.bind(this,0));this.workers_=r,this.queue_=[],this.maxQueueLength_=e.queue||1/0,this.running_=0,this.dataLookup_={},this.job_=null}process(e,t,r){this.enqueue_({inputs:e,meta:t,callback:r}),this.dispatch_()}enqueue_(e){for(this.queue_.push(e);this.queue_.length>this.maxQueueLength_;)this.queue_.shift().callback(null,null)}dispatch_(){if(this.running_||this.queue_.length===0)return;const e=this.queue_.shift();this.job_=e;const t=e.inputs[0].width,r=e.inputs[0].height,i=e.inputs.map(function(f){return f.data.buffer}),s=this.workers_.length;if(this.running_=s,s===1){this.workers_[0].postMessage({buffers:i,meta:e.meta,imageOps:this.imageOps_,width:t,height:r},i);return}const l=e.inputs[0].data.length,o=4*Math.ceil(l/4/s);for(let f=0;f<s;++f){const C=f*o,w=[];for(let B=0,D=i.length;B<D;++B)w.push(i[B].slice(C,C+o));this.workers_[f].postMessage({buffers:w,meta:e.meta,imageOps:this.imageOps_,width:t,height:r},w)}}onWorkerMessage_(e,t){this.disposed||(this.dataLookup_[e]=t.data,--this.running_,this.running_===0&&this.resolveJob_())}resolveJob_(){const e=this.job_,t=this.workers_.length;let r,i;if(t===1)r=new Uint8ClampedArray(this.dataLookup_[0].buffer),i=this.dataLookup_[0].meta;else{const s=e.inputs[0].data.length;r=new Uint8ClampedArray(s),i=new Array(t);const l=4*Math.ceil(s/4/t);for(let o=0;o<t;++o){const f=this.dataLookup_[o].buffer,C=o*l;r.set(new Uint8ClampedArray(f),C),i[o]=this.dataLookup_[o].meta}}this.job_=null,this.dataLookup_={},e.callback(null,new ImageData(r,e.inputs[0].width,e.inputs[0].height),i),this.dispatch_()}disposeInternal(){for(let e=0;e<this.workers_.length;++e)this.workers_[e].terminate();this.workers_.length=0}}const V9={BEFOREOPERATIONS:"beforeoperations",AFTEROPERATIONS:"afteroperations"};class H9 extends Pp{constructor(e,t,r){super(e),this.extent=t.extent,this.resolution=t.viewState.resolution/t.pixelRatio,this.data=r}}class Iz extends wz{constructor(e){super({projection:null}),this.on,this.once,this.un,this.processor_=null,this.operationType_=e.operationType!==void 0?e.operationType:"pixel",this.threads_=e.threads!==void 0?e.threads:1,this.layers_=Sne(e.sources);const t=this.changed.bind(this);for(let r=0,i=this.layers_.length;r<i;++r)this.layers_[r].addEventListener(uo.CHANGE,t);this.useResolutions_=e.resolutions!==null,this.tileQueue_=new VL(function(){return 1},this.processSources_.bind(this)),this.requestedFrameState_,this.renderedImageCanvas_=null,this.renderedRevision_,this.frameState_={animate:!1,coordinateToPixelTransform:Ed(),declutter:null,extent:null,index:0,layerIndex:0,layerStatesArray:wne(this.layers_),pixelRatio:1,pixelToCoordinateTransform:Ed(),postRenderFunctions:[],size:[0,0],tileQueue:this.tileQueue_,time:Date.now(),usedTiles:{},viewState:{rotation:0},viewHints:[],wantedTiles:{},mapId:ko(this),renderTargets:{}},this.setAttributions(function(r){const i=[];for(let s=0,l=e.sources.length;s<l;++s){const o=e.sources[s],f=o instanceof Xy?o:o.getSource();if(!f)continue;const C=f.getAttributions()?.(r);typeof C=="string"?i.push(C):C!==void 0&&i.push(...C)}return i}),e.operation!==void 0&&this.setOperation(e.operation,e.lib)}setOperation(e,t){this.processor_&&this.processor_.dispose(),this.processor_=new xne({operation:e,imageOps:this.operationType_==="image",queue:1,lib:t,threads:this.threads_}),this.changed()}updateFrameState_(e,t,r){const i=Object.assign({},this.frameState_);i.viewState=Object.assign({},i.viewState);const s=of(e);i.size[0]=Math.ceil(Ns(e)/t),i.size[1]=Math.ceil(Lu(e)/t),i.extent=[s[0]-i.size[0]*t/2,s[1]-i.size[1]*t/2,s[0]+i.size[0]*t/2,s[1]+i.size[1]*t/2],i.time=Date.now();const l=i.viewState;return l.center=s,l.projection=r,l.resolution=t,i}allSourcesReady_(){let e=!0,t;for(let r=0,i=this.layers_.length;r<i;++r)if(t=this.layers_[r].getSource(),!t||t.getState()!=="ready"){e=!1;break}return e}getImage(e,t,r,i){if(!this.allSourcesReady_())return null;this.tileQueue_.loadMoreTiles(16,16),t=this.findNearestResolution(t);const s=this.updateFrameState_(e,t,i);if(this.requestedFrameState_=s,this.renderedImageCanvas_){const l=this.renderedImageCanvas_.getResolution(),o=this.renderedImageCanvas_.getExtent();(t!==l||!Wm(s.extent,o))&&(this.renderedImageCanvas_=null)}return(!this.renderedImageCanvas_||this.getRevision()!==this.renderedRevision_)&&this.processSources_(),s.animate&&requestAnimationFrame(this.changed.bind(this)),this.renderedImageCanvas_}processSources_(){const e=this.requestedFrameState_,t=th Line truncated
`);this.generateTileUrlFunction_?this.setTileUrlFunction(Tz(e,this.tileGrid),t):this.setKey(t)}tileUrlFunction(e,t,r){}}class Fne extends r3{constructor(e){super({attributions:e.attributions,cacheSize:e.cacheSize,projection:e.projection,state:e.state,tileGrid:e.tileGrid,tileLoadFunction:e.tileLoadFunction?e.tileLoadFunction:Lne,tilePixelRatio:e.tilePixelRatio,tileUrlFunction:e.tileUrlFunction,url:e.url,urls:e.urls,wrapX:e.wrapX,transition:e.transition,interpolate:e.interpolate!==void 0?e.interpolate:!0,key:e.key,attributionsCollapsible:e.attributionsCollapsible,zDirection:e.zDirection}),this.crossOrigin=e.crossOrigin!==void 0?e.crossOrigin:null,this.tileClass=e.tileClass!==void 0?e.tileClass:lz,this.tileGridForProjection={},this.reprojectionErrorThreshold_=e.reprojectionErrorThreshold,this.renderReprojectionEdges_=!1}getGutterForProjection(e){return this.getProjection()&&e&&!N0(this.getProjection(),e)?0:this.getGutter()}getGutter(){return 0}getKey(){let e=super.getKey();return this.getInterpolate()||(e+=":disable-interpolation"),e}getTileGridForProjection(e){const t=this.getProjection();if(this.tileGrid&&(!t||N0(t,e)))return this.tileGrid;const r=ko(e);return r in this.tileGridForProjection||(this.tileGridForProjection[r]=Sz(e)),this.tileGridForProjection[r]}createTile_(e,t,r,i,s,l){const o=[e,t,r],f=this.getTileCoordForTileUrlFunction(o,s),C=f?this.tileUrlFunction(f,i,s):void 0,w=new this.tileClass(o,C!==void 0?Pr.IDLE:Pr.EMPTY,C!==void 0?C:"",this.crossOrigin,this.tileLoadFunction,this.tileOptions);return w.key=l,w.addEventListener(uo.CHANGE,this.handleTileChange.bind(this)),w}getTile(e,t,r,i,s){const l=this.getProjection();if(!l||!s||N0(l,s))return this.getTileInternal(e,t,r,i,l||s);const o=[e,t,r],f=this.getKey(),C=this.getTileGridForProjection(l),w=this.getTileGridForProjection(s),B=this.getTileCoordForTileUrlFunction(o,s),D=new bz(l,C,s,w,o,B,this.getTilePixelRatio(i),this.getGutter(),(R,U,G,W)=>this.getTileInternal(R,U,G,W,l),this.reprojectionErrorThreshold_,this.renderReprojectionEdges_,this.tileOptions);return D.key=f,D}getTileInternal(e,t,r,i,s){const l=this.getKey();return this.createTile_(e,t,r,i,s,l)}setRenderReprojectionEdges(e){this.renderReprojectionEdges_!=e&&(this.renderReprojectionEdges_=e,this.changed())}setTileGridForProjection(e,t){const r=Ba(e);if(r){const i=ko(r);i in this.tileGridForProjection||(this.tileGridForProjection[i]=t)}}}function Lne(n,e){n.getImage().src=e}class kz extends Fne{constructor(e){if(super({attributions:e.attributions,cacheSize:e.cacheSize,crossOrigin:e.crossOrigin,interpolate:e.interpolate,projection:Ba("EPSG:3857"),reprojectionErrorThreshold:e.reprojectionErrorThreshold,state:"loading",tileLoadFunction:e.tileLoadFunction,wrapX:e.wrapX!==void 0?e.wrapX:!0,transition:e.transition,zDirection:e.zDirection}),this.tileJSON_=null,this.tileSize_=e.tileSize,e.url)if(e.jsonp)Bne(e.url,this.handleTileJSONResponse.bind(this),this.handleTileJSONError.bind(this));else{const t=new XMLHttpRequest;t.addEventListener("load",this.onXHRLoad_.bind(this)),t.addEventListener("error",this.onXHRError_.bind(this)),t.open("GET",e.url),t.send()}else if(e.tileJSON)this.handleTileJSONResponse(e.tileJSON);else throw new Error("Either `url` or `tileJSON` options must be provided")}onXHRLoad_(e){const t=e.target;if(!t.status||t.status>=200&&t.status<300){let r;try{r=JSON.parse(t.responseText)}catch{this.handleTileJSONError();return}this.handleTileJSONResponse(r)}else this.handleTileJSONError()}onXHRError_(e){this.handleTileJSONError()}getTileJSON(){return this.tileJSON_}handleTileJSONResponse(e){const t=Ba("EPSG:4326"),r=this.getProjection();let i;if(e.bounds!==void 0){const C=__(t,r);i=rZ(e.bounds,C)}const s=n3(r),l=e.minzoom||0,o=e.maxzoom||22,f=YO({extent:s,maxZoom:o,minZoom:l,tileSize:this.tileSize_});if(this.tileGrid=f,this.tileUrlFunction=Tz(e.tiles,f),e.attribution&&!this.getAttributions()){const C=i!==void 0?i:s;this.setAttributions(function(w){return QA(C,w.extent)?[e.attribution]:null})}this.tileJSON_=e,this.setState("ready")}handleTileJSONError(){this.setState("error")}}class qO extends r3{constructor(e){const t=e.projection||"EPSG:3857",r=e.extent||n3(t),i=e.tileGrid||YO({extent:r,maxResolution:e.maxResolution,maxZoom:e.maxZoom!==void 0?e.maxZoom:22,minZoom:e.minZoom,tileSize:e.tileSize||512});super({attributions:e.attributions,attributionsCollapsible:e.attributionsCollapsible,cacheSize:e.cacheSize,interpolate:!0,projection:t,state:e.state,tileGrid:i,tileLoadFunction:e.tileLoadFunction?e.tileLoadFunction:Pz,tileUrlFunction:e.tileUrlFunction,url:e.url,urls:e.urls,wrapX:e.wrapX===void 0?!0:e.wrapX,transition:e.transition,zDirection:e.zDirection===void 0?1:e.zDirection}),this.format_=e.format?e.format:null,this.tileKeysBySourceTileUrl_={},this.sourceTiles_={},this.overlaps_=e.overlaps==null?!0:e.overlaps,this.tileClass=e.tileClass?e.tileClass:Az,this.tileGrids_={}}getOverlaps(){return this.overlaps_}getSourceTiles(e,t,r){if(r.getState()===Pr.IDLE){r.setState(Pr.LOADING);const i=r.wr Line truncated
`,""),Ge.push(Ie[je],fe);return Ge},[]):Wt=oM(Dn,ge).trim(),It=bi(Te,"paint","text-opacity",be,U,nt)}if(Wt&&It&&!$n){vt||(++_t,$e=oe[_t],(!$e||!$e.getText()||$e.getFill()||$e.getStroke())&&($e=new Hd,oe[_t]=$e),$e.setImage(void 0),$e.setGeometry(void 0));const Yn=L9(Te,be,"text",U);$e.getText()||$e.setText(Ot),Ot=$e.getText(),(!Ot||"getDeclutterMode"in Ot&&Ot.getDeclutterMode()!==Yn)&&(Ot=new qx({padding:[2,2,2,2],declutterMode:Yn}),$e.setText(Ot));const Dn=bi(Te,"layout","text-transform",be,U,nt);Dn=="uppercase"?Wt=Array.isArray(Wt)?Wt.map((Bt,rt)=>rt%2?Bt:Bt.toUpperCase()):Wt.toUpperCase():Dn=="lowercase"&&(Wt=Array.isArray(Wt)?Wt.map((Bt,rt)=>rt%2?Bt:Bt.toLowerCase()):Wt.toLowerCase());const Ge=Array.isArray(Wt)?Wt:Me==2?H6(Wt,En):Z6(Wt,Jn,Er,En);if(Ot.setText(Ge),Ot.setFont(Jn),Ot.setRotation(nM(bi(Te,"layout","text-rotate",be,U,nt))),typeof Ot.setKeepUpright=="function"){const Bt=bi(Te,"layout","text-keep-upright",be,U,nt);Ot.setKeepUpright(Bt)}const de=bi(Te,"layout","text-anchor",be,U,nt),ie=vt||Me==1?"point":bi(Te,"layout","symbol-placement",be,U,nt);let se;if(ie==="line-center"?(Ot.setPlacement("line"),se="center"):Ot.setPlacement(ie),ie==="line"&&typeof Ot.setRepeat=="function"){const Bt=bi(Te,"layout","symbol-spacing",be,U,nt);Ot.setRepeat(Bt*2)}Ot.setOverflow(ie==="point");let fe=bi(Te,"paint","text-halo-width",be,U,nt);const Ie=bi(Te,"layout","text-offset",be,U,nt),je=bi(Te,"paint","text-translate",be,U,nt);let ht=0,Ve=0;if(ie=="point"){se="center",de.indexOf("left")!==-1?(se="left",Ve=fe):de.indexOf("right")!==-1&&(se="right",Ve=-fe);const Bt=bi(Te,"layout","text-rotation-alignment",be,U,nt);Ot.setRotateWithView(Bt=="map")}else Ot.setMaxAngle(nM(bi(Te,"layout","text-max-angle",be,U,nt))*Wt.length/Ge.length),Ot.setRotateWithView(!1);Ot.setTextAlign(se);let Pe="middle";de.indexOf("bottom")==0?(Pe="bottom",ht=-fe-.5*(Sn-1)*Mn):de.indexOf("top")==0&&(Pe="top",ht=fe+.5*(Sn-1)*Mn),Ot.setTextBaseline(Pe);const He=bi(Te,"layout","text-justify",be,U,nt);Ot.setJustify(He==="auto"?void 0:He),Ot.setOffsetX(Ie[0]*Mn+Ve+je[0]),Ot.setOffsetY(Ie[1]*Mn+ht+je[1]),$.setColor(M0(bi(Te,"paint","text-color",be,U,nt),It)),Ot.setFill($);const m=M0(bi(Te,"paint","text-halo-color",be,U,nt),It);if(m&&fe>0){J.setColor(m),fe*=2;const Bt=.5*Mn;J.setWidth(fe<=Bt?fe:Bt),Ot.setStroke(J)}else Ot.setStroke(void 0);const ft=bi(Te,"layout","text-padding",be,U,nt),ut=Ot.getPadding();ft!==ut[0]&&(ut[0]=ft,ut[1]=ft,ut[2]=ft,ut[3]=ft),$e.setZIndex(bt)}}}if(_t>-1)return oe.length=_t+1,oe};return n.setStyle(te),n.set("mapbox-layers",B),n.set("mapbox-source",W),n.set("mapbox-featurestate",n.get("mapbox-featurestate")||{}),te}class mz{constructor(){this.dataProjection=void 0,this.defaultFeatureProjection=void 0,this.featureClass=Zx,this.supportedMediaTypes=null}getReadOptions(e,t){if(t){let r=t.dataProjection?Ba(t.dataProjection):this.readProjection(e);t.extent&&r&&r.getUnits()==="tile-pixels"&&(r=Ba(r),r.setWorldExtent(t.extent)),t={dataProjection:r,featureProjection:t.featureProjection}}return this.adaptOptions(t)}adaptOptions(e){return Object.assign({dataProjection:this.dataProjection,featureProjection:this.defaultFeatureProjection,featureClass:this.featureClass},e)}getType(){return mo()}readFeature(e,t){return mo()}readFeatures(e,t){return mo()}readGeometry(e,t){return mo()}readProjection(e){return mo()}writeFeature(e,t){return mo()}writeFeatures(e,t){return mo()}writeGeometry(e,t){return mo()}}function Jx(n,e,t){const r=t?Ba(t.featureProjection):null,i=t?Ba(t.dataProjection):null;let s=n;if(r&&i&&!N0(r,i)){e&&(s=n.clone());const l=e?r:i,o=e?i:r;l.getUnits()==="tile-pixels"?s.transform(l,o):s.applyTransform(KC(l,o))}if(e&&t&&t.decimals!==void 0){const l=Math.pow(10,t.decimals),o=function(f){for(let C=0,w=f.length;C<w;++C)f[C]=Math.round(f[C]*l)/l;return f};s===n&&(s=n.clone()),s.applyTransform(o)}return s}const cte={Point:q1,LineString:V1,Polygon:Qm,MultiPoint:B_,MultiLineString:QC,MultiPolygon:YC};function hte(n,e,t){return Array.isArray(e[0])?(wU(n,0,e,t)||(n=n.slice(),N6(n,0,e,t)),n):(gO(n,0,e,t)||(n=n.slice(),D2(n,0,e,t)),n)}function gz(n,e){const t=n.geometry;if(!t)return[];if(Array.isArray(t))return t.map(s=>gz({...n,geometry:s})).flat();const r=t.type==="MultiPolygon"?"Polygon":t.type;if(r==="GeometryCollection"||r==="Circle")throw new Error("Unsupported geometry type: "+r);const i=t.layout.length;return Jx(new Mh(r,r==="Polygon"?hte(t.flatCoordinates,t.ends,i):t.flatCoordinates,t.ends?.flat(),i,n.properties||{},n.id).enableSimplifyTransformed(),!1,e)}function jO(n,e){if(!n)return null;if(Array.isArray(n)){const r=n.map(i=>jO(i,e));return new G2(r)}const t=cte[n.type];return Jx(new t(n.flatCoordinates,n.layout||"XY",n.ends),!1,e)}class dte extends mz{constructor(){super()}getType(){return"json"}readFeature(e,t){return this.readFeatureFromObject(Eb(e),this.getReadOptions(e,t))}readFeatures(e,t){return this.readFeaturesFromObject(Eb(e),this.getReadOptions(e,t))}readFeatureFromObject(e,t){return mo()}readFeaturesFromObject(e,t){ Line truncated
`),"binary").toString("base64"):URL.createObjectURL(new Blob(r,{type:"text/javascript"})));return i.addEventListener("message",e),i}function _ne(n,e){const t=Iz(n.operation);let r=!1;return{postMessage:function(i){setTimeout(function(){r||e({data:{buffer:t(i),meta:i.meta}})},0)},terminate:function(){r=!0}}}class bne extends m_{constructor(e){super(),this.imageOps_=!!e.imageOps;let t;e.threads===0?t=0:this.imageOps_?t=1:t=e.threads||1;const r=new Array(t);if(t)for(let i=0;i<t;++i)r[i]=Cne(e,this.onWorkerMessage_.bind(this,i));else r[0]=_ne(e,this.onWorkerMessage_.bind(this,0));this.workers_=r,this.queue_=[],this.maxQueueLength_=e.queue||1/0,this.running_=0,this.dataLookup_={},this.job_=null}process(e,t,r){this.enqueue_({inputs:e,meta:t,callback:r}),this.dispatch_()}enqueue_(e){for(this.queue_.push(e);this.queue_.length>this.maxQueueLength_;)this.queue_.shift().callback(null,null)}dispatch_(){if(this.running_||this.queue_.length===0)return;const e=this.queue_.shift();this.job_=e;const t=e.inputs[0].width,r=e.inputs[0].height,i=e.inputs.map(function(f){return f.data.buffer}),s=this.workers_.length;if(this.running_=s,s===1){this.workers_[0].postMessage({buffers:i,meta:e.meta,imageOps:this.imageOps_,width:t,height:r},i);return}const l=e.inputs[0].data.length,o=4*Math.ceil(l/4/s);for(let f=0;f<s;++f){const C=f*o,w=[];for(let B=0,D=i.length;B<D;++B)w.push(i[B].slice(C,C+o));this.workers_[f].postMessage({buffers:w,meta:e.meta,imageOps:this.imageOps_,width:t,height:r},w)}}onWorkerMessage_(e,t){this.disposed||(this.dataLookup_[e]=t.data,--this.running_,this.running_===0&&this.resolveJob_())}resolveJob_(){const e=this.job_,t=this.workers_.length;let r,i;if(t===1)r=new Uint8ClampedArray(this.dataLookup_[0].buffer),i=this.dataLookup_[0].meta;else{const s=e.inputs[0].data.length;r=new Uint8ClampedArray(s),i=new Array(t);const l=4*Math.ceil(s/4/t);for(let o=0;o<t;++o){const f=this.dataLookup_[o].buffer,C=o*l;r.set(new Uint8ClampedArray(f),C),i[o]=this.dataLookup_[o].meta}}this.job_=null,this.dataLookup_={},e.callback(null,new ImageData(r,e.inputs[0].width,e.inputs[0].height),i),this.dispatch_()}disposeInternal(){for(let e=0;e<this.workers_.length;++e)this.workers_[e].terminate();this.workers_.length=0}}const V9={BEFOREOPERATIONS:"beforeoperations",AFTEROPERATIONS:"afteroperations"};class H9 extends Pp{constructor(e,t,r){super(e),this.extent=t.extent,this.resolution=t.viewState.resolution/t.pixelRatio,this.data=r}}class Tz extends Sz{constructor(e){super({projection:null}),this.on,this.once,this.un,this.processor_=null,this.operationType_=e.operationType!==void 0?e.operationType:"pixel",this.threads_=e.threads!==void 0?e.threads:1,this.layers_=wne(e.sources);const t=this.changed.bind(this);for(let r=0,i=this.layers_.length;r<i;++r)this.layers_[r].addEventListener(uo.CHANGE,t);this.useResolutions_=e.resolutions!==null,this.tileQueue_=new HL(function(){return 1},this.processSources_.bind(this)),this.requestedFrameState_,this.renderedImageCanvas_=null,this.renderedRevision_,this.frameState_={animate:!1,coordinateToPixelTransform:Ed(),declutter:null,extent:null,index:0,layerIndex:0,layerStatesArray:Mne(this.layers_),pixelRatio:1,pixelToCoordinateTransform:Ed(),postRenderFunctions:[],size:[0,0],tileQueue:this.tileQueue_,time:Date.now(),usedTiles:{},viewState:{rotation:0},viewHints:[],wantedTiles:{},mapId:ko(this),renderTargets:{}},this.setAttributions(function(r){const i=[];for(let s=0,l=e.sources.length;s<l;++s){const o=e.sources[s],f=o instanceof Xy?o:o.getSource();if(!f)continue;const C=f.getAttributions()?.(r);typeof C=="string"?i.push(C):C!==void 0&&i.push(...C)}return i}),e.operation!==void 0&&this.setOperation(e.operation,e.lib)}setOperation(e,t){this.processor_&&this.processor_.dispose(),this.processor_=new bne({operation:e,imageOps:this.operationType_==="image",queue:1,lib:t,threads:this.threads_}),this.changed()}updateFrameState_(e,t,r){const i=Object.assign({},this.frameState_);i.viewState=Object.assign({},i.viewState);const s=of(e);i.size[0]=Math.ceil(Ns(e)/t),i.size[1]=Math.ceil(Lu(e)/t),i.extent=[s[0]-i.size[0]*t/2,s[1]-i.size[1]*t/2,s[0]+i.size[0]*t/2,s[1]+i.size[1]*t/2],i.time=Date.now();const l=i.viewState;return l.center=s,l.projection=r,l.resolution=t,i}allSourcesReady_(){let e=!0,t;for(let r=0,i=this.layers_.length;r<i;++r)if(t=this.layers_[r].getSource(),!t||t.getState()!=="ready"){e=!1;break}return e}getImage(e,t,r,i){if(!this.allSourcesReady_())return null;this.tileQueue_.loadMoreTiles(16,16),t=this.findNearestResolution(t);const s=this.updateFrameState_(e,t,i);if(this.requestedFrameState_=s,this.renderedImageCanvas_){const l=this.renderedImageCanvas_.getResolution(),o=this.renderedImageCanvas_.getExtent();(t!==l||!Wm(s.extent,o))&&(this.renderedImageCanvas_=null)}return(!this.renderedImageCanvas_||this.getRevision()!==this.renderedRevision_)&&this.processSources_(),s.animate&&requestAnimationFrame(this.changed.bind(this)),this.renderedImageCanvas_}processSources_(){const e=this.requestedFrameState_,t=th Line truncated
`);this.generateTileUrlFunction_?this.setTileUrlFunction(kz(e,this.tileGrid),t):this.setKey(t)}tileUrlFunction(e,t,r){}}class Kne extends n3{constructor(e){super({attributions:e.attributions,cacheSize:e.cacheSize,projection:e.projection,state:e.state,tileGrid:e.tileGrid,tileLoadFunction:e.tileLoadFunction?e.tileLoadFunction:Fne,tilePixelRatio:e.tilePixelRatio,tileUrlFunction:e.tileUrlFunction,url:e.url,urls:e.urls,wrapX:e.wrapX,transition:e.transition,interpolate:e.interpolate!==void 0?e.interpolate:!0,key:e.key,attributionsCollapsible:e.attributionsCollapsible,zDirection:e.zDirection}),this.crossOrigin=e.crossOrigin!==void 0?e.crossOrigin:null,this.tileClass=e.tileClass!==void 0?e.tileClass:Az,this.tileGridForProjection={},this.reprojectionErrorThreshold_=e.reprojectionErrorThreshold,this.renderReprojectionEdges_=!1}getGutterForProjection(e){return this.getProjection()&&e&&!N0(this.getProjection(),e)?0:this.getGutter()}getGutter(){return 0}getKey(){let e=super.getKey();return this.getInterpolate()||(e+=":disable-interpolation"),e}getTileGridForProjection(e){const t=this.getProjection();if(this.tileGrid&&(!t||N0(t,e)))return this.tileGrid;const r=ko(e);return r in this.tileGridForProjection||(this.tileGridForProjection[r]=Ez(e)),this.tileGridForProjection[r]}createTile_(e,t,r,i,s,l){const o=[e,t,r],f=this.getTileCoordForTileUrlFunction(o,s),C=f?this.tileUrlFunction(f,i,s):void 0,w=new this.tileClass(o,C!==void 0?Pr.IDLE:Pr.EMPTY,C!==void 0?C:"",this.crossOrigin,this.tileLoadFunction,this.tileOptions);return w.key=l,w.addEventListener(uo.CHANGE,this.handleTileChange.bind(this)),w}getTile(e,t,r,i,s){const l=this.getProjection();if(!l||!s||N0(l,s))return this.getTileInternal(e,t,r,i,l||s);const o=[e,t,r],f=this.getKey(),C=this.getTileGridForProjection(l),w=this.getTileGridForProjection(s),B=this.getTileCoordForTileUrlFunction(o,s),D=new xz(l,C,s,w,o,B,this.getTilePixelRatio(i),this.getGutter(),(R,U,G,W)=>this.getTileInternal(R,U,G,W,l),this.reprojectionErrorThreshold_,this.renderReprojectionEdges_,this.tileOptions);return D.key=f,D}getTileInternal(e,t,r,i,s){const l=this.getKey();return this.createTile_(e,t,r,i,s,l)}setRenderReprojectionEdges(e){this.renderReprojectionEdges_!=e&&(this.renderReprojectionEdges_=e,this.changed())}setTileGridForProjection(e,t){const r=Ba(e);if(r){const i=ko(r);i in this.tileGridForProjection||(this.tileGridForProjection[i]=t)}}}function Fne(n,e){n.getImage().src=e}class Pz extends Kne{constructor(e){if(super({attributions:e.attributions,cacheSize:e.cacheSize,crossOrigin:e.crossOrigin,interpolate:e.interpolate,projection:Ba("EPSG:3857"),reprojectionErrorThreshold:e.reprojectionErrorThreshold,state:"loading",tileLoadFunction:e.tileLoadFunction,wrapX:e.wrapX!==void 0?e.wrapX:!0,transition:e.transition,zDirection:e.zDirection}),this.tileJSON_=null,this.tileSize_=e.tileSize,e.url)if(e.jsonp)Ene(e.url,this.handleTileJSONResponse.bind(this),this.handleTileJSONError.bind(this));else{const t=new XMLHttpRequest;t.addEventListener("load",this.onXHRLoad_.bind(this)),t.addEventListener("error",this.onXHRError_.bind(this)),t.open("GET",e.url),t.send()}else if(e.tileJSON)this.handleTileJSONResponse(e.tileJSON);else throw new Error("Either `url` or `tileJSON` options must be provided")}onXHRLoad_(e){const t=e.target;if(!t.status||t.status>=200&&t.status<300){let r;try{r=JSON.parse(t.responseText)}catch{this.handleTileJSONError();return}this.handleTileJSONResponse(r)}else this.handleTileJSONError()}onXHRError_(e){this.handleTileJSONError()}getTileJSON(){return this.tileJSON_}handleTileJSONResponse(e){const t=Ba("EPSG:4326"),r=this.getProjection();let i;if(e.bounds!==void 0){const C=__(t,r);i=nZ(e.bounds,C)}const s=t3(r),l=e.minzoom||0,o=e.maxzoom||22,f=QO({extent:s,maxZoom:o,minZoom:l,tileSize:this.tileSize_});if(this.tileGrid=f,this.tileUrlFunction=kz(e.tiles,f),e.attribution&&!this.getAttributions()){const C=i!==void 0?i:s;this.setAttributions(function(w){return QA(C,w.extent)?[e.attribution]:null})}this.tileJSON_=e,this.setState("ready")}handleTileJSONError(){this.setState("error")}}class YO extends n3{constructor(e){const t=e.projection||"EPSG:3857",r=e.extent||t3(t),i=e.tileGrid||QO({extent:r,maxResolution:e.maxResolution,maxZoom:e.maxZoom!==void 0?e.maxZoom:22,minZoom:e.minZoom,tileSize:e.tileSize||512});super({attributions:e.attributions,attributionsCollapsible:e.attributionsCollapsible,cacheSize:e.cacheSize,interpolate:!0,projection:t,state:e.state,tileGrid:i,tileLoadFunction:e.tileLoadFunction?e.tileLoadFunction:Rz,tileUrlFunction:e.tileUrlFunction,url:e.url,urls:e.urls,wrapX:e.wrapX===void 0?!0:e.wrapX,transition:e.transition,zDirection:e.zDirection===void 0?1:e.zDirection}),this.format_=e.format?e.format:null,this.tileKeysBySourceTileUrl_={},this.sourceTiles_={},this.overlaps_=e.overlaps==null?!0:e.overlaps,this.tileClass=e.tileClass?e.tileClass:uz,this.tileGrids_={}}getOverlaps(){return this.overlaps_}getSourceTiles(e,t,r){if(r.getState()===Pr.IDLE){r.setState(Pr.LOADING);const i=r.wr Line truncated
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/var eT;function nre(){return eT||(eT=1,function(n){(function(){var e={}.hasOwnProperty;function t(){for(var s="",l=0;l<arguments.length;l++){var o=arguments[l];o&&(s=i(s,r(o)))}return s}function r(s){if(typeof s=="string"||typeof s=="number")return s;if(typeof s!="object")return"";if(Array.isArray(s))return t.apply(null,s);if(s.toString!==Object.prototype.toString&&!s.toString.toString().includes("[native code]"))return s.toString();var l="";for(var o in s)e.call(s,o)&&s[o]&&(l=i(l,o));return l}function i(s,l){return l?s?s+" "+l:s+l:s}n.exports?(t.default=t,n.exports=t):window.classNames=t})()}(fM)),fM.exports}var rre=nre();const cm=zl(rre);function S1(){var n="/home/runner/work/maputnik/maputnik/src/components/Collapser.tsx",e="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"},s=t[r]||(t[r]={});(!s[n]||s[n].hash!==e)&&(s[n]=i);var l=s[n];return S1=function(){return l},l}S1();class ire extends nr.Component{render(){S1().f[0]++;const e=(S1().s[0]++,{width:20,height:20,...this.props.style});return S1().s[1]++,this.props.isCollapsed?(S1().b[0][0]++,ae.jsx(NV,{style:e})):(S1().b[0][1]++,ae.jsx(zV,{style:e}))}}function dy(){var n="/home/runner/work/maputnik/maputnik/src/components/LayerListGroup.tsx",e="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"},s=t[r]||(t[r]={});(!s[n]||s[n].hash!==e)&&(s[n]=i);var l=s[n];return dy=function(){return l},l}dy();class ore extends nr.Component{render(){return dy().f[0]++,dy().s[0]++,ae.jsx("li",{className:"maputnik-layer-list-group",children:ae.jsxs("div",{className:"maputnik-layer-list-group-header","data-wd-key":"layer-list-group:"+this.props["data-wd-key"],onClick:e=>(dy().f[1]++,dy().s[1]++,this.props.onActiveToggle(!this.props.isActive)),children:[ae.jsx("button",{className:"maputnik-layer-list-group-title","aria-controls":this.props["aria-controls"],"aria-expanded":this.props.isActive,children:this.props.title}),ae.jsx("span",{className:"maputnik-space"}),ae.jsx(ire,{style:{height:14,width:14},isCollapsed:this.props.isActive})]})})}}function _l(){return _l=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)({}).hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n},_l.apply(null,arguments)}function sre(n){if(Array.isArray(n))return n}function are(n,e){var t=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(t!=null){var r,i,s,l,o=[],f=!0,C=!1;try{if(s=(t=t.call(n)).next,e!==0)for(;!(f=(r=s.call(t)).done)&&(o.push(r.value),o.length!==e);f=!Line truncated
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Gz(n,e){return sre(n)||are(n,e)||Nz(n,e)||lre()}function Uy(n){"@babel/helpers - typeof";return Uy=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Uy(n)}function Are(n,e){if(Uy(n)!="object"||!n)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var r=t.call(n,e);if(Uy(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(n)}function jz(n){var e=Are(n,"string");return Uy(e)=="symbol"?e:e+""}function Fa(n,e,t){return(e=jz(e))in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function pM(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?Object(arguments[e]):{},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){Fa(n,i,t[i])})}return n}function T_(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function ure(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,jz(r.key),r)}}function k_(n,e,t){return e&&ure(n.prototype,e),Object.defineProperty(n,"prototype",{writable:!1}),n}function us(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function $O(n,e){if(e&&(Uy(e)=="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return us(n)}function qC(n){return qC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},qC(n)}function oB(n,e){return oB=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,r){return t.__proto__=r,t},oB(n,e)}function VO(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),e&&oB(n,e)}var mM,tT;function cre(){if(tT)return mM;tT=1;var n=function(e,t,r,i,s,l,o,f){if(!e){var C;if(t===void 0)C=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var w=[r,i,s,l,o,f],B=0;C=new Error(t.replace(/%s/g,function(){return w[B++]})),C.name="Invariant Violation"}throw C.framesToPop=1,C}};return mM=n,mM}var hre=cre();const H1=zl(hre);function dre(n){if(Array.isArray(n))return iB(n)}function fre(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function pre(){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 mre(n){return dre(n)||fre(n)||Nz(n)||pre()}var gre=function(){function n(){T_(this,n),Fa(this,"refs",{})}return k_(n,[{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(yre)}}]),n}();function yre(n,e){var t=n.node.sortableInfo.index,r=e.node.sortableInfo.index;return t-r}function Wz(n,e){return Object.keys(n).reduce(function(t,r){return e.indexOf(r)===-1&&(t[r]=n[r]),t},{})}var Lg={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},Qz=function(){if(typeof window>"u"||typeof document>"u")return"";var n=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],e=(Array.prototype.slice.call(n).join("").match(/-(moz|webkit|ms)-/)||n.OLink===""&&["","o"])[1];switch(e){case"ms":return"ms";default:return e&&e.length?e[0].toUpperCase()+e.substr(1):""}}();function Tb(n,e){Object.keys(e).forEach(function(t){n.style[t]=e[t]})}function kb(n,e){n.style["".concat(Qz,"Transform")]=e==null?"":"translate3d(".concat(e.x,"px,").concat(e.y,"px,0)")}function gM(n,e){n.style["".concat(Qz,"TransitionDuration")]=e==null?"":"".concat(e,"ms")}function Xv(n,e){for(;n;){if(e(n))return n;n=n.parentNode}return null}function nT(n,e,t){return Math.max(n,Math.min(t,e))}function fy(n){return n.substr(-2)==="px"?parseFloat(n):0}function vre(n){var e=window.getComputedStyle(n);return{bottom:fy(e.marginBottom),left:fy(e.marginLeft),right:fy(e.marginRight),top:fy(e.marginTop)}}function HO(n,e){var t=e.displayName||e.name;return t?"".concat(n,"(").concat(t,")"):n}function yM(n,e){var t=n.getBoundingClientRect();return{top:t.top+e.top,left:t.left+e.left}}function Kv(n){return n.touches&&n.touches.length?{x:n.touches[0].pageX,y:n.touches[0].pageY}:n.changedTouches&&n.changedTouches.length?{x:n.changedTouches[0].pageX,y:n.changedTouches[0].pageY}:{x:n.pageX,y:n.pageY}}function Cre(n){return n.touches&&n.touches.length||n.changedTouches&&n.changedTouches.length}function t2(n,e){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{left:0,top:0};if(n){var r={left:t.left+n.offsetLeft,top:t.top+n.offsetTop};return n.parentNode===e?r:t2(n.parentNode,e,r)}}function _re(n,e,t){return n<t&&n>e?n-1:n>t&&n<e?n+1:n}function rT(n){var e=n.lockOffset,t=n.width,r=n.height,i=e,s=e,l="px";if(typeof e=="string"){var o=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(e);H1(o!==null,'lockOffset value should be a number or a string of a number followed by "px" or "%". Given %s',e),i=parseFloat(e),s=parseFloat(e),l=o[1]}return H1(isFinite(i)&&isFinite(s),"lockOffset value should be a finite. Given %s",e),l==="%"&&(i=i*t/100,s=s*r/100),{x:i,y:s}}function bre(n){var e=n.height,t=n.width,r=n.lockOffset,i=Array.isArray(r)?r:[r,r];H1(i.length===2,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",r);var s=Gz(i,2),l=s[0],o=s[1];return[rT({height:e,lockOffset:l,width:t}),rT({height:e,lockOffset:o,width:t})]}function xre(n){var e=window.getComputedStyle(n),t=/(auto|scroll)/,r=["overflow","overflowX","overflowY"];return r.find(function(i){return t.test(e[i])})}function Yz(n){return n instanceof HTMLElement?xre(n)?n:Yz(n.parentNode):null}function Mre(n){var e=window.getComputedStyle(n);return e.display==="grid"?{x:fy(e.gridColumnGap),y:fy(e.gridRowGap)}:{x:0,y:0}}var g1={ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40},E1={Anchor:"A",Button:"BUTTON",Canvas:"CANVAS",Input:"INPUT",Option:"OPTION",Textarea:"TEXTAREA",Select:"SELECT"};function wre(n){var e="input, textarea, select, canvas, [contenteditable]",t=n.querySelectorAll(e),r=n.cloneNode(!0),i=mre(r.querySelectorAll(e));return i.forEach(function(s,l){if(s.type!=="file"&&(s.value=t[l].value),s.type==="radio"&&s.name&&(s.name="__sortableClone__".concat(s.name)),s.tagName===E1.Canvas&&t[l].width>0&&t[l].height>0){var o=s.getContext("2d");o.drawImage(t[l],0,0)}}),r}function Sre(n){var e,t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return t=e=function(i){VO(s,i);function s(){var l,o;T_(this,s);for(var f=arguments.length,C=new Array(f),w=0;w<f;w++)C[w]=arguments[w];return o=$O(this,(l=qC(s)).call.apply(l,[this].concat(C))),Fa(us(us(o)),"wrappedInstance",Hn.createRef()),o}return k_(s,[{key:"componentDidMount",value:function(){var o=Ix.findDOMNode(this);o.sortableHandle=!0}},{key:"getWrappedInstance",value:function(){return H1(r.withRef,"T Line truncated
*/var eT;function tre(){return eT||(eT=1,function(n){(function(){var e={}.hasOwnProperty;function t(){for(var s="",l=0;l<arguments.length;l++){var o=arguments[l];o&&(s=i(s,r(o)))}return s}function r(s){if(typeof s=="string"||typeof s=="number")return s;if(typeof s!="object")return"";if(Array.isArray(s))return t.apply(null,s);if(s.toString!==Object.prototype.toString&&!s.toString.toString().includes("[native code]"))return s.toString();var l="";for(var o in s)e.call(s,o)&&s[o]&&(l=i(l,o));return l}function i(s,l){return l?s?s+" "+l:s+l:s}n.exports?(t.default=t,n.exports=t):window.classNames=t})()}(dM)),dM.exports}var nre=tre();const cm=Jl(nre);function S1(){var n="/home/runner/work/maputnik/maputnik/src/components/Collapser.tsx",e="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"},s=t[r]||(t[r]={});(!s[n]||s[n].hash!==e)&&(s[n]=i);var l=s[n];return S1=function(){return l},l}S1();class rre extends nr.Component{render(){S1().f[0]++;const e=(S1().s[0]++,{width:20,height:20,...this.props.style});return S1().s[1]++,this.props.isCollapsed?(S1().b[0][0]++,ae.jsx(zV,{style:e})):(S1().b[0][1]++,ae.jsx(UV,{style:e}))}}function dy(){var n="/home/runner/work/maputnik/maputnik/src/components/LayerListGroup.tsx",e="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"},s=t[r]||(t[r]={});(!s[n]||s[n].hash!==e)&&(s[n]=i);var l=s[n];return dy=function(){return l},l}dy();class ire extends nr.Component{render(){return dy().f[0]++,dy().s[0]++,ae.jsx("li",{className:"maputnik-layer-list-group",children:ae.jsxs("div",{className:"maputnik-layer-list-group-header","data-wd-key":"layer-list-group:"+this.props["data-wd-key"],onClick:e=>(dy().f[1]++,dy().s[1]++,this.props.onActiveToggle(!this.props.isActive)),children:[ae.jsx("button",{className:"maputnik-layer-list-group-title","aria-controls":this.props["aria-controls"],"aria-expanded":this.props.isActive,children:this.props.title}),ae.jsx("span",{className:"maputnik-space"}),ae.jsx(rre,{style:{height:14,width:14},isCollapsed:this.props.isActive})]})})}}function _l(){return _l=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)({}).hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n},_l.apply(null,arguments)}function ore(n){if(Array.isArray(n))return n}function sre(n,e){var t=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(t!=null){var r,i,s,l,o=[],f=!0,C=!1;try{if(s=(t=t.call(n)).next,e!==0)for(;!(f=(r=s.call(t)).done)&&(o.push(r.value),o.length!==e);f=!Line truncated
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function jz(n,e){return ore(n)||sre(n,e)||Gz(n,e)||are()}function Uy(n){"@babel/helpers - typeof";return Uy=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Uy(n)}function lre(n,e){if(Uy(n)!="object"||!n)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var r=t.call(n,e);if(Uy(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(n)}function Wz(n){var e=lre(n,"string");return Uy(e)=="symbol"?e:e+""}function Fa(n,e,t){return(e=Wz(e))in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function fM(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?Object(arguments[e]):{},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){Fa(n,i,t[i])})}return n}function T_(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function Are(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,Wz(r.key),r)}}function k_(n,e,t){return e&&Are(n.prototype,e),Object.defineProperty(n,"prototype",{writable:!1}),n}function us(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function qO(n,e){if(e&&(Uy(e)=="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return us(n)}function qC(n){return qC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},qC(n)}function iB(n,e){return iB=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,r){return t.__proto__=r,t},iB(n,e)}function $O(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),e&&iB(n,e)}var VO=ox(),pM,tT;function ure(){if(tT)return pM;tT=1;var n=function(e,t,r,i,s,l,o,f){if(!e){var C;if(t===void 0)C=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var w=[r,i,s,l,o,f],B=0;C=new Error(t.replace(/%s/g,function(){return w[B++]})),C.name="Invariant Violation"}throw C.framesToPop=1,C}};return pM=n,pM}var cre=ure();const H1=Jl(cre);function hre(n){if(Array.isArray(n))return rB(n)}function dre(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function fre(){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 pre(n){return hre(n)||dre(n)||Gz(n)||fre()}var mre=function(){function n(){T_(this,n),Fa(this,"refs",{})}return k_(n,[{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(gre)}}]),n}();function gre(n,e){var t=n.node.sortableInfo.index,r=e.node.sortableInfo.index;return t-r}function Qz(n,e){return Object.keys(n).reduce(function(t,r){return e.indexOf(r)===-1&&(t[r]=n[r]),t},{})}var Lg={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},Yz=function(){if(typeof window>"u"||typeof document>"u")return"";var n=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],e=(Array.prototype.slice.call(n).join("").match(/-(moz|webkit|ms)-/)||n.OLink===""&&["","o"])[1];switch(e){case"ms":return"ms";default:return e&&e.length?e[0].toUpperCase()+e.substr(1):""}}();function Tb(n,e){Object.keys(e).forEach(function(t){n.style[t]=e[t]})}function kb(n,e){n.style["".concat(Yz,"Transform")]=e==null?"":"translate3d(".concat(e.x,"px,").concat(e.y,"px,0)")}function mM(n,e){n.style["".concat(Yz,"TransitionDuration")]=e==null?"":"".concat(e,"ms")}function Xv(n,e){for(;n;){if(e(n))return n;n=n.parentNode}return null}function nT(n,e,t){return Math.max(n,Math.min(t,e))}function fy(n){return n.substr(-2)==="px"?parseFloat(n):0}function yre(n){var e=window.getComputedStyle(n);return{bottom:fy(e.marginBottom),left:fy(e.marginLeft),right:fy(e.marginRight),top:fy(e.marginTop)}}function HO(n,e){var t=e.displayName||e.name;return t?"".concat(n,"(").concat(t,")"):n}function gM(n,e){var t=n.getBoundingClientRect();return{top:t.top+e.top,left:t.left+e.left}}function Kv(n){return n.touches&&n.touches.length?{x:n.touches[0].pageX,y:n.touches[0].pageY}:n.changedTouches&&n.changedTouches.length?{x:n.changedTouches[0].pageX,y:n.changedTouches[0].pageY}:{x:n.pageX,y:n.pageY}}function vre(n){return n.touches&&n.touches.length||n.changedTouches&&n.changedTouches.length}function t2(n,e){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{left:0,top:0};if(n){var r={left:t.left+n.offsetLeft,top:t.top+n.offsetTop};return n.parentNode===e?r:t2(n.parentNode,e,r)}}function Cre(n,e,t){return n<t&&n>e?n-1:n>t&&n<e?n+1:n}function rT(n){var e=n.lockOffset,t=n.width,r=n.height,i=e,s=e,l="px";if(typeof e=="string"){var o=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(e);H1(o!==null,'lockOffset value should be a number or a string of a number followed by "px" or "%". Given %s',e),i=parseFloat(e),s=parseFloat(e),l=o[1]}return H1(isFinite(i)&&isFinite(s),"lockOffset value should be a finite. Given %s",e),l==="%"&&(i=i*t/100,s=s*r/100),{x:i,y:s}}function _re(n){var e=n.height,t=n.width,r=n.lockOffset,i=Array.isArray(r)?r:[r,r];H1(i.length===2,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",r);var s=jz(i,2),l=s[0],o=s[1];return[rT({height:e,lockOffset:l,width:t}),rT({height:e,lockOffset:o,width:t})]}function bre(n){var e=window.getComputedStyle(n),t=/(auto|scroll)/,r=["overflow","overflowX","overflowY"];return r.find(function(i){return t.test(e[i])})}function qz(n){return n instanceof HTMLElement?bre(n)?n:qz(n.parentNode):null}function xre(n){var e=window.getComputedStyle(n);return e.display==="grid"?{x:fy(e.gridColumnGap),y:fy(e.gridRowGap)}:{x:0,y:0}}var g1={ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40},E1={Anchor:"A",Button:"BUTTON",Canvas:"CANVAS",Input:"INPUT",Option:"OPTION",Textarea:"TEXTAREA",Select:"SELECT"};function Mre(n){var e="input, textarea, select, canvas, [contenteditable]",t=n.querySelectorAll(e),r=n.cloneNode(!0),i=pre(r.querySelectorAll(e));return i.forEach(function(s,l){if(s.type!=="file"&&(s.value=t[l].value),s.type==="radio"&&s.name&&(s.name="__sortableClone__".concat(s.name)),s.tagName===E1.Canvas&&t[l].width>0&&t[l].height>0){var o=s.getContext("2d");o.drawImage(t[l],0,0)}}),r}function wre(n){var e,t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return t=e=function(i){$O(s,i);function s(){var l,o;T_(this,s);for(var f=arguments.length,C=new Array(f),w=0;w<f;w++)C[w]=arguments[w];return o=qO(this,(l=qC(s)).call.apply(l,[this].concat(C))),Fa(us(us(o)),"wrappedInstance",Hn.createRef()),o}return k_(s,[{key:"componentDidMount",value:function(){var o=VO.findDOMNode(this);o.sortableHandle=!0}},{key:"getWrappedInstance",value:function(){return H1(r.withRef,"T Line truncated
* tabbable 6.2.0
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
*/var Zz=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],H2=Zz.join(","),Xz=typeof Element>"u",Z1=Xz?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Z2=!Xz&&Element.prototype.getRootNode?function(n){var e;return n==null||(e=n.getRootNode)===null||e===void 0?void 0:e.call(n)}:function(n){return n?.ownerDocument},X2=function n(e,t){var r;t===void 0&&(t=!0);var i=e==null||(r=e.getAttribute)===null||r===void 0?void 0:r.call(e,"inert"),s=i===""||i==="true",l=s||t&&e&&n(e.parentNode);return l},zre=function(e){var t,r=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return r===""||r==="true"},Jz=function(e,t,r){if(X2(e))return[];var i=Array.prototype.slice.apply(e.querySelectorAll(H2));return t&&Z1.call(e,H2)&&i.unshift(e),i=i.filter(r),i},eN=function n(e,t,r){for(var i=[],s=Array.from(e);s.length;){var l=s.shift();if(!X2(l,!1))if(l.tagName==="SLOT"){var o=l.assignedElements(),f=o.length?o:l.children,C=n(f,!0,r);r.flatten?i.push.apply(i,C):i.push({scopeParent:l,candidates:C})}else{var w=Z1.call(l,H2);w&&r.filter(l)&&(t||!e.includes(l))&&i.push(l);var B=l.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(l),D=!X2(B,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(l));if(B&&D){var R=n(B===!0?l.children:B.children,!0,r);r.flatten?i.push.apply(i,R):i.push({scopeParent:l,candidates:R})}else s.unshift.apply(s,l.children)}}return i},tN=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},S0=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||zre(e))&&!tN(e)?0:e.tabIndex},Nre=function(e,t){var r=S0(e);return r<0&&t&&!tN(e)?0:r},Gre=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},nN=function(e){return e.tagName==="INPUT"},jre=function(e){return nN(e)&&e.type==="hidden"},Wre=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(r){return r.tagName==="SUMMARY"});return t},Qre=function(e,t){for(var r=0;r<e.length;r++)if(e[r].checked&&e[r].form===t)return e[r]},Yre=function(e){if(!e.name)return!0;var t=e.form||Z2(e),r=function(o){return t.querySelectorAll('input[type="radio"][name="'+o+'"]')},i;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")i=r(window.CSS.escape(e.name));else try{i=r(e.name)}catch(l){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",l.message),!1}var s=Qre(i,e.form);return!s||s===e},qre=function(e){return nN(e)&&e.type==="radio"},$re=function(e){return qre(e)&&!Yre(e)},Vre=function(e){var t,r=e&&Z2(e),i=(t=r)===null||t===void 0?void 0:t.host,s=!1;if(r&&r!==e){var l,o,f;for(s=!!((l=i)!==null&&l!==void 0&&(o=l.ownerDocument)!==null&&o!==void 0&&o.contains(i)||e!=null&&(f=e.ownerDocument)!==null&&f!==void 0&&f.contains(e));!s&&i;){var C,w,B;r=Z2(i),i=(C=r)===null||C===void 0?void 0:C.host,s=!!((w=i)!==null&&w!==void 0&&(B=w.ownerDocument)!==null&&B!==void 0&&B.contains(i))}}return s},oT=function(e){var t=e.getBoundingClientRect(),r=t.width,i=t.height;return r===0&&i===0},Hre=function(e,t){var r=t.displayCheck,i=t.getShadowRoot;if(getComputedStyle(e).visibility==="hidden")return!0;var s=Z1.call(e,"details>summary:first-of-type"),l=s?e.parentElement:e;if(Z1.call(l,"details:not([open]) *"))return!0;if(!r||r==="full"||r==="legacy-full"){if(typeof i=="function"){for(var o=e;e;){var f=e.parentElement,C=Z2(e);if(f&&!f.shadowRoot&&i(f)===!0)return oT(e);e.assignedSlot?e=e.assignedSlot:!f&&C!==e.ownerDocument?e=C.host:e=f}e=o}if(Vre(e))return!e.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return oT(e);return!1},Zre=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.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 Z1.call(t,"fieldset[disabled] *")?!0:!i.contains(e)}return!0}t=t.parentElement}return!1},J2=function(e,t){return!(t.disabled||X2(t)||jre(t)||Hre(t,e)||Wre(t)||Zre(t))},sB=function(e,t){return!($re(t)||S0(t)<0||!J2(e,t))},Xre=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},Jre=function n(e){var t=[],r=[];return e.forEach(function(i,s){var l=!!i.scopeParent,o=l?i.scopeParent:i,f=Nre(o,l),C=l?n(i.candidates):o;f===0?l?t.push.apply(t,C):t.push(o):r.push({documentOrder:s,tabIndex:f,item:i,isScope:l,content:C})}),r.sort(Gre).reduce(function(i,s){return s.isScope?i.push.apply(i,s.content):i.push(s.content),iLine truncated
*/var Xz=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],H2=Xz.join(","),Jz=typeof Element>"u",Z1=Jz?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Z2=!Jz&&Element.prototype.getRootNode?function(n){var e;return n==null||(e=n.getRootNode)===null||e===void 0?void 0:e.call(n)}:function(n){return n?.ownerDocument},X2=function n(e,t){var r;t===void 0&&(t=!0);var i=e==null||(r=e.getAttribute)===null||r===void 0?void 0:r.call(e,"inert"),s=i===""||i==="true",l=s||t&&e&&n(e.parentNode);return l},Ure=function(e){var t,r=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return r===""||r==="true"},eN=function(e,t,r){if(X2(e))return[];var i=Array.prototype.slice.apply(e.querySelectorAll(H2));return t&&Z1.call(e,H2)&&i.unshift(e),i=i.filter(r),i},tN=function n(e,t,r){for(var i=[],s=Array.from(e);s.length;){var l=s.shift();if(!X2(l,!1))if(l.tagName==="SLOT"){var o=l.assignedElements(),f=o.length?o:l.children,C=n(f,!0,r);r.flatten?i.push.apply(i,C):i.push({scopeParent:l,candidates:C})}else{var w=Z1.call(l,H2);w&&r.filter(l)&&(t||!e.includes(l))&&i.push(l);var B=l.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(l),D=!X2(B,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(l));if(B&&D){var R=n(B===!0?l.children:B.children,!0,r);r.flatten?i.push.apply(i,R):i.push({scopeParent:l,candidates:R})}else s.unshift.apply(s,l.children)}}return i},nN=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},S0=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||Ure(e))&&!nN(e)?0:e.tabIndex},zre=function(e,t){var r=S0(e);return r<0&&t&&!nN(e)?0:r},Nre=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},rN=function(e){return e.tagName==="INPUT"},Gre=function(e){return rN(e)&&e.type==="hidden"},jre=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(r){return r.tagName==="SUMMARY"});return t},Wre=function(e,t){for(var r=0;r<e.length;r++)if(e[r].checked&&e[r].form===t)return e[r]},Qre=function(e){if(!e.name)return!0;var t=e.form||Z2(e),r=function(o){return t.querySelectorAll('input[type="radio"][name="'+o+'"]')},i;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")i=r(window.CSS.escape(e.name));else try{i=r(e.name)}catch(l){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",l.message),!1}var s=Wre(i,e.form);return!s||s===e},Yre=function(e){return rN(e)&&e.type==="radio"},qre=function(e){return Yre(e)&&!Qre(e)},$re=function(e){var t,r=e&&Z2(e),i=(t=r)===null||t===void 0?void 0:t.host,s=!1;if(r&&r!==e){var l,o,f;for(s=!!((l=i)!==null&&l!==void 0&&(o=l.ownerDocument)!==null&&o!==void 0&&o.contains(i)||e!=null&&(f=e.ownerDocument)!==null&&f!==void 0&&f.contains(e));!s&&i;){var C,w,B;r=Z2(i),i=(C=r)===null||C===void 0?void 0:C.host,s=!!((w=i)!==null&&w!==void 0&&(B=w.ownerDocument)!==null&&B!==void 0&&B.contains(i))}}return s},oT=function(e){var t=e.getBoundingClientRect(),r=t.width,i=t.height;return r===0&&i===0},Vre=function(e,t){var r=t.displayCheck,i=t.getShadowRoot;if(getComputedStyle(e).visibility==="hidden")return!0;var s=Z1.call(e,"details>summary:first-of-type"),l=s?e.parentElement:e;if(Z1.call(l,"details:not([open]) *"))return!0;if(!r||r==="full"||r==="legacy-full"){if(typeof i=="function"){for(var o=e;e;){var f=e.parentElement,C=Z2(e);if(f&&!f.shadowRoot&&i(f)===!0)return oT(e);e.assignedSlot?e=e.assignedSlot:!f&&C!==e.ownerDocument?e=C.host:e=f}e=o}if($re(e))return!e.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return oT(e);return!1},Hre=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.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 Z1.call(t,"fieldset[disabled] *")?!0:!i.contains(e)}return!0}t=t.parentElement}return!1},J2=function(e,t){return!(t.disabled||X2(t)||Gre(t)||Vre(t,e)||jre(t)||Hre(t))},oB=function(e,t){return!(qre(t)||S0(t)<0||!J2(e,t))},Zre=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},Xre=function n(e){var t=[],r=[];return e.forEach(function(i,s){var l=!!i.scopeParent,o=l?i.scopeParent:i,f=zre(o,l),C=l?n(i.candidates):o;f===0?l?t.push.apply(t,C):t.push(o):r.push({documentOrder:s,tabIndex:f,item:i,isScope:l,content:C})}),r.sort(Nre).reduce(function(i,s){return s.isScope?i.push.apply(i,s.content):i.push(s.content),iLine truncated
* focus-trap 7.5.4
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
*/function sT(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable})),t.push.apply(t,r)}return t}function aT(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?sT(Object(t),!0).forEach(function(r){nie(n,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):sT(Object(t)).forEach(function(r){Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(t,r))})}return n}function nie(n,e,t){return e=iie(e),e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function rie(n,e){if(typeof n!="object"||n===null)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var r=t.call(n,e);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(n)}function iie(n){var e=rie(n,"string");return typeof e=="symbol"?e:String(e)}var lT={activateTrap:function(e,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(e,t){var r=e.indexOf(t);r!==-1&&e.splice(r,1),e.length>0&&e[e.length-1].unpause()}},oie=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},sie=function(e){return e?.key==="Escape"||e?.key==="Esc"||e?.keyCode===27},mC=function(e){return e?.key==="Tab"||e?.keyCode===9},aie=function(e){return mC(e)&&!e.shiftKey},lie=function(e){return mC(e)&&e.shiftKey},AT=function(e){return setTimeout(e,0)},uT=function(e,t){var r=-1;return e.every(function(i,s){return t(i)?(r=s,!1):!0}),r},Fv=function(e){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 e=="function"?e.apply(void 0,r):e},Pb=function(e){return e.target.shadowRoot&&typeof e.composedPath=="function"?e.composedPath()[0]:e.target},Aie=[],uie=function(e,t){var r=t?.document||document,i=t?.trapStack||Aie,s=aT({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:aie,isKeyBackward:lie},t),l={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},o,f=function(Be,Me,We){return Be&&Be[Me]!==void 0?Be[Me]:s[We||Me]},C=function(Be,Me){var We=typeof Me?.composedPath=="function"?Me.composedPath():void 0;return l.containerGroups.findIndex(function(be){var nt=be.container,_t=be.tabbableNodes;return nt.contains(Be)||We?.includes(nt)||_t.find(function(at){return at===Be})})},w=function(Be){var Me=s[Be];if(typeof Me=="function"){for(var We=arguments.length,be=new Array(We>1?We-1:0),nt=1;nt<We;nt++)be[nt-1]=arguments[nt];Me=Me.apply(void 0,be)}if(Me===!0&&(Me=void 0),!Me){if(Me===void 0||Me===!1)return Me;throw new Error("`".concat(Be,"` was specified but was not a node, or did not return a node"))}var _t=Me;if(typeof Me=="string"&&(_t=r.querySelector(Me),!_t))throw new Error("`".concat(Be,"` as selector refers to no known node"));return _t},B=function(){var Be=w("initialFocus");if(Be===!1)return!1;if(Be===void 0||!n2(Be,s.tabbableOptions))if(C(r.activeElement)>=0)Be=r.activeElement;else{var Me=l.tabbableGroups[0],We=Me&&Me.firstTabbableNode;Be=We||w("fallbackFocus")}if(!Be)throw new Error("Your focus-trap needs to have at least one focusable element");return Be},D=function(){if(l.containerGroups=l.containers.map(function(Be){var Me=rN(Be,s.tabbableOptions),We=iN(Be,s.tabbableOptions),be=Me.length>0?Me[0]:void 0,nt=Me.length>0?Me[Me.length-1]:void 0,_t=We.find(function(Ne){return b1(Ne)}),at=We.slice().reverse().find(function(Ne){return b1(Ne)}),Je=!!Me.find(function(Ne){return S0(Ne)>0});return{container:Be,tabbableNodes:Me,focusableNodes:We,posTabIndexesFound:Je,firstTabbableNode:be,lastTabbableNode:nt,firstDomTabbableNode:_t,lastDomTabbableNode:at,nextTabbableNode:function(Te){var Ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,gt=Me.indexOf(Te);return gt<0?Ze?We.slice(We.indexOf(Te)+1).find(function(Dt){return b1(Dt)}):We.slice(0,We.indexOf(Te)).reverse().find(function(Dt){return b1(Dt)}):Me[gt+(Ze?1:-1)]}}}),l.tabbableGroups=l.containerGroups.filter(function(Be){return Be.tabbableNodes.length>0}),l.tabbableGroups.length<=0&&!w("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(l.containerGroups.find(function(Be){return Be.posTabIndexesFound})&&l.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},R=function xe(Be){var Me=Be.activeElement;if(Me)return Me.shadowRoot&&Me.shadowRoot.activeElement!==null?xe(Me.shadowRoot):Me},U=function xe(Be){if(Be!==!1&&Be!==R(document)){if(!Be||!Be.focus)Line truncated
*/function sT(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable})),t.push.apply(t,r)}return t}function aT(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?sT(Object(t),!0).forEach(function(r){tie(n,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):sT(Object(t)).forEach(function(r){Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(t,r))})}return n}function tie(n,e,t){return e=rie(e),e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function nie(n,e){if(typeof n!="object"||n===null)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var r=t.call(n,e);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(n)}function rie(n){var e=nie(n,"string");return typeof e=="symbol"?e:String(e)}var lT={activateTrap:function(e,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(e,t){var r=e.indexOf(t);r!==-1&&e.splice(r,1),e.length>0&&e[e.length-1].unpause()}},iie=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},oie=function(e){return e?.key==="Escape"||e?.key==="Esc"||e?.keyCode===27},mC=function(e){return e?.key==="Tab"||e?.keyCode===9},sie=function(e){return mC(e)&&!e.shiftKey},aie=function(e){return mC(e)&&e.shiftKey},AT=function(e){return setTimeout(e,0)},uT=function(e,t){var r=-1;return e.every(function(i,s){return t(i)?(r=s,!1):!0}),r},Fv=function(e){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 e=="function"?e.apply(void 0,r):e},Pb=function(e){return e.target.shadowRoot&&typeof e.composedPath=="function"?e.composedPath()[0]:e.target},lie=[],Aie=function(e,t){var r=t?.document||document,i=t?.trapStack||lie,s=aT({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:sie,isKeyBackward:aie},t),l={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},o,f=function(Be,Me,We){return Be&&Be[Me]!==void 0?Be[Me]:s[We||Me]},C=function(Be,Me){var We=typeof Me?.composedPath=="function"?Me.composedPath():void 0;return l.containerGroups.findIndex(function(be){var nt=be.container,_t=be.tabbableNodes;return nt.contains(Be)||We?.includes(nt)||_t.find(function(at){return at===Be})})},w=function(Be){var Me=s[Be];if(typeof Me=="function"){for(var We=arguments.length,be=new Array(We>1?We-1:0),nt=1;nt<We;nt++)be[nt-1]=arguments[nt];Me=Me.apply(void 0,be)}if(Me===!0&&(Me=void 0),!Me){if(Me===void 0||Me===!1)return Me;throw new Error("`".concat(Be,"` was specified but was not a node, or did not return a node"))}var _t=Me;if(typeof Me=="string"&&(_t=r.querySelector(Me),!_t))throw new Error("`".concat(Be,"` as selector refers to no known node"));return _t},B=function(){var Be=w("initialFocus");if(Be===!1)return!1;if(Be===void 0||!n2(Be,s.tabbableOptions))if(C(r.activeElement)>=0)Be=r.activeElement;else{var Me=l.tabbableGroups[0],We=Me&&Me.firstTabbableNode;Be=We||w("fallbackFocus")}if(!Be)throw new Error("Your focus-trap needs to have at least one focusable element");return Be},D=function(){if(l.containerGroups=l.containers.map(function(Be){var Me=iN(Be,s.tabbableOptions),We=oN(Be,s.tabbableOptions),be=Me.length>0?Me[0]:void 0,nt=Me.length>0?Me[Me.length-1]:void 0,_t=We.find(function(Ne){return b1(Ne)}),at=We.slice().reverse().find(function(Ne){return b1(Ne)}),Je=!!Me.find(function(Ne){return S0(Ne)>0});return{container:Be,tabbableNodes:Me,focusableNodes:We,posTabIndexesFound:Je,firstTabbableNode:be,lastTabbableNode:nt,firstDomTabbableNode:_t,lastDomTabbableNode:at,nextTabbableNode:function(Te){var Ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,gt=Me.indexOf(Te);return gt<0?Ze?We.slice(We.indexOf(Te)+1).find(function(Dt){return b1(Dt)}):We.slice(0,We.indexOf(Te)).reverse().find(function(Dt){return b1(Dt)}):Me[gt+(Ze?1:-1)]}}}),l.tabbableGroups=l.containerGroups.filter(function(Be){return Be.tabbableNodes.length>0}),l.tabbableGroups.length<=0&&!w("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(l.containerGroups.find(function(Be){return Be.posTabIndexesFound})&&l.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},R=function xe(Be){var Me=Be.activeElement;if(Me)return Me.shadowRoot&&Me.shadowRoot.activeElement!==null?xe(Me.shadowRoot):Me},U=function xe(Be){if(Be!==!1&&Be!==R(document)){if(!Be||!Be.focus)Line truncated
* @license React
* react-is.production.min.js
*
@@ -853,29 +853,29 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var pT;function Eie(){if(pT)return Ea;pT=1;var n=Symbol.for("react.element"),e=Symbol.for("react.portal"),t=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),o=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),C=Symbol.for("react.suspense"),w=Symbol.for("react.suspense_list"),B=Symbol.for("react.memo"),D=Symbol.for("react.lazy"),R=Symbol.for("react.offscreen"),U;U=Symbol.for("react.module.reference");function G(W){if(typeof W=="object"&&W!==null){var J=W.$$typeof;switch(J){case n:switch(W=W.type,W){case t:case i:case r:case C:case w:return W;default:switch(W=W&&W.$$typeof,W){case o:case l:case f:case D:case B:case s:return W;default:return J}}case e:return J}}}return Ea.ContextConsumer=l,Ea.ContextProvider=s,Ea.Element=n,Ea.ForwardRef=f,Ea.Fragment=t,Ea.Lazy=D,Ea.Memo=B,Ea.Portal=e,Ea.Profiler=i,Ea.StrictMode=r,Ea.Suspense=C,Ea.SuspenseList=w,Ea.isAsyncMode=function(){return!1},Ea.isConcurrentMode=function(){return!1},Ea.isContextConsumer=function(W){return G(W)===l},Ea.isContextProvider=function(W){return G(W)===s},Ea.isElement=function(W){return typeof W=="object"&&W!==null&&W.$$typeof===n},Ea.isForwardRef=function(W){return G(W)===f},Ea.isFragment=function(W){return G(W)===t},Ea.isLazy=function(W){return G(W)===D},Ea.isMemo=function(W){return G(W)===B},Ea.isPortal=function(W){return G(W)===e},Ea.isProfiler=function(W){return G(W)===i},Ea.isStrictMode=function(W){return G(W)===r},Ea.isSuspense=function(W){return G(W)===C},Ea.isSuspenseList=function(W){return G(W)===w},Ea.isValidElementType=function(W){return typeof W=="string"||typeof W=="function"||W===t||W===i||W===r||W===C||W===w||W===R||typeof W=="object"&&W!==null&&(W.$$typeof===D||W.$$typeof===B||W.$$typeof===s||W.$$typeof===l||W.$$typeof===f||W.$$typeof===U||W.getModuleId!==void 0)},Ea.typeOf=G,Ea}var mT;function Bie(){return mT||(mT=1,xM.exports=Eie()),xM.exports}Bie();const gT=n=>typeof n=="object"&&n!=null&&n.nodeType===1,yT=(n,e)=>(!e||n!=="hidden")&&n!=="visible"&&n!=="clip",Db=(n,e)=>{if(n.clientHeight<n.scrollHeight||n.clientWidth<n.scrollWidth){const t=getComputedStyle(n,null);return yT(t.overflowY,e)||yT(t.overflowX,e)||(r=>{const i=(s=>{if(!s.ownerDocument||!s.ownerDocument.defaultView)return null;try{return s.ownerDocument.defaultView.frameElement}catch{return null}})(r);return!!i&&(i.clientHeight<r.scrollHeight||i.clientWidth<r.scrollWidth)})(n)}return!1},Kb=(n,e,t,r,i,s,l,o)=>s<n&&l>e||s>n&&l<e?0:s<=n&&o<=t||l>=e&&o>=t?s-n-r:l>e&&o<t||s<n&&o>t?l-e+i:0,Oie=n=>{const e=n.parentElement;return e??(n.getRootNode().host||null)},Iie=(n,e)=>{var t,r,i,s;if(typeof document>"u")return[];const{inline:l,boundary:o,skipOverflowHiddenElements:f}=e,C=typeof o=="function"?o:Me=>Me!==o;if(!gT(n))throw new TypeError("Invalid target");const w=document.scrollingElement||document.documentElement,B=[];let D=n;for(;gT(D)&&C(D);){if(D=Oie(D),D===w){B.push(D);break}D!=null&&D===document.body&&Db(D)&&!Db(document.documentElement)||D!=null&&Db(D,f)&&B.push(D)}const R=(r=(t=window.visualViewport)==null?void 0:t.width)!=null?r:innerWidth,U=(s=(i=window.visualViewport)==null?void 0:i.height)!=null?s:innerHeight,{scrollX:G,scrollY:W}=window,{height:J,width:$,top:oe,right:te,bottom:H,left:re}=n.getBoundingClientRect(),{top:j,right:Ae,left:ge}=(Me=>{const We=window.getComputedStyle(Me);return{top:parseFloat(We.scrollMarginTop)||0,right:parseFloat(We.scrollMarginRight)||0,bottom:parseFloat(We.scrollMarginBottom)||0,left:parseFloat(We.scrollMarginLeft)||0}})(n);let me=oe-j,xe=l==="center"?re+$/2-ge+Ae:l==="end"?te+Ae:re-ge;const Be=[];for(let Me=0;Me<B.length;Me++){const We=B[Me],{height:be,width:nt,top:_t,right:at,bottom:Je,left:Ne}=We.getBoundingClientRect();if(oe>=0&&re>=0&&H<=U&&te<=R&&(We===w&&!Db(We)||oe>=_t&&H<=Je&&re>=Ne&&te<=at))return Be;const Te=getComputedStyle(We),Ze=parseInt(Te.borderLeftWidth,10),gt=parseInt(Te.borderTopWidth,10),Dt=parseInt(Te.borderRightWidth,10),pt=parseInt(Te.borderBottomWidth,10);let Tt=0,It=0;const Le="offsetWidth"in We?We.offsetWidth-We.clientWidth-Ze-Dt:0,Re="offsetHeight"in We?We.offsetHeight-We.clientHeight-gt-pt:0,Ke="offsetWidth"in We?We.offsetWidth===0?0:nt/We.offsetWidth:0,$e="offsetHeight"in We?We.offsetHeight===0?0:be/We.offsetHeight:0;if(w===We)Tt=Kb(W,W+U,U,gt,pt,W+me,W+me+J,J),It=l==="start"?xe:l==="center"?xe-R/2:l==="end"?xe-R:Kb(G,G+R,R,Ze,Dt,G+xe,G+xe+$,$),Tt=Math.max(0,Tt+W),It=Math.max(0,It+G);else{Tt=Kb(_t,Je,be,gt,pt+Re,me,me+J,J),It=l==="start"?xe-Ne-Ze:l==="center"?xe-(Ne+nt/2)+Le/2:l==="end"?xe-at+Dt+Le:Kb(Ne,at,nt,Ze,Dt+Le,xe,xe+$,$);const{scrollLeft:bt,scrollTop:vt}=We;Tt=$e===0?0:Math.max(0,Math.min(vt+Tt/$e,We.scrollHeight-be/$e+Re)),It=Ke===0?0:Math.max(0,Math.min(bt+It/Ke,We.scrollWidth-nt/Ke+Le)),me+=vt-Tt,xe+=bt-It}Be.push({el:We,top:Tt,left:It})}return Be};var zy=function(){return zy=Object.assign||function(e){for(var t,r=1,i=arguments.length;r<i;r++){t=arguments[r];for(var Line truncated
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Roe(){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 Doe=l3(function n(e){var t=this,r=e.expanded,i=r===void 0?[]:r,s=e.allowMultipleExpanded,l=s===void 0?!1:s,o=e.allowZeroExpanded,f=o===void 0?!1:o;a3(this,n),Ll(this,"expanded",void 0),Ll(this,"allowMultipleExpanded",void 0),Ll(this,"allowZeroExpanded",void 0),Ll(this,"toggleExpanded",function(C){if(t.isItemDisabled(C))return t;var w=t.isItemExpanded(C);return w?t.augment({expanded:t.expanded.filter(function(B){return B!==C})}):t.augment({expanded:t.allowMultipleExpanded?[].concat(Boe(t.expanded),[C]):[C]})}),Ll(this,"isItemDisabled",function(C){var w=t.isItemExpanded(C),B=t.expanded.length===1;return!!(w&&!t.allowZeroExpanded&&B)}),Ll(this,"isItemExpanded",function(C){return t.expanded.indexOf(C)!==-1}),Ll(this,"getPanelAttributes",function(C,w){var B=w??t.isItemExpanded(C);return{role:t.allowMultipleExpanded?void 0:"region","aria-hidden":t.allowMultipleExpanded?!B:void 0,"aria-labelledby":t.getButtonId(C),id:t.getPanelId(C),hidden:B?void 0:!0}}),Ll(this,"getHeadingAttributes",function(){return{role:"heading"}}),Ll(this,"getButtonAttributes",function(C,w){var B=w??t.isItemExpanded(C),D=t.isItemDisabled(C);return{id:t.getButtonId(C),"aria-disabled":D,"aria-expanded":B,"aria-controls":t.getPanelId(C),role:"button",tabIndex:0}}),Ll(this,"getPanelId",function(C){return"accordion__panel-".concat(C)}),Ll(this,"getButtonId",function(C){return"accordion__heading-".concat(C)}),Ll(this,"augment",function(C){return new n(cB({expanded:t.expanded,allowMultipleExpanded:t.allowMultipleExpanded,allowZeroExpanded:t.allowZeroExpanded},C))}),this.expanded=i,this.allowMultipleExpanded=l,this.allowZeroExpanded=f}),TN=Hn.createContext(null),kN=function(n){pI(t,n);var e=mI(t);function t(){var r;a3(this,t);for(var i=arguments.length,s=new Array(i),l=0;l<i;l++)s[l]=arguments[l];return r=e.call.apply(e,[this].concat(s)),Ll(yp(r),"state",new Doe({expanded:r.props.preExpanded,allowMultipleExpanded:r.props.allowMultipleExpanded,allowZeroExpanded:r.props.allowZeroExpanded})),Ll(yp(r),"toggleExpanded",function(o){r.setState(function(f){return f.toggleExpanded(o)},function(){r.props.onChange&&r.props.onChange(r.state.expanded)})}),Ll(yp(r),"isItemDisabled",function(o){return r.state.isItemDisabled(o)}),Ll(yp(r),"isItemExpanded",function(o){return r.state.isItemExpanded(o)}),Ll(yp(r),"getPanelAttributes",function(o,f){return r.state.getPanelAttributes(o,f)}),Ll(yp(r),"getHeadingAttributes",function(){return r.state.getHeadingAttributes()}),Ll(yp(r),"getButtonAttributes",function(o,f){return r.state.getButtonAttributes(o,f)}),r}return l3(t,[{key:"render",value:function(){var i=this.state,s=i.allowZeroExpanded,l=i.allowMultipleExpanded;return Hn.createElement(TN.Provider,{value:{allowMultipleExpanded:l,allowZeroExpanded:s,toggleExpanded:this.toggleExpanded,isItemDisabled:this.isItemDisabled,isItemExpanded:this.isItemExpanded,getPanelAttributes:this.getPanelAttributes,getHeadingAttributes:this.getHeadingAttributes,getButtonAttributes:this.getButtonAttributes}},this.props.children||null)}}]),t}(Hn.PureComponent);Ll(kN,"defaultProps",{allowMultipleExpanded:!1,allowZeroExpanded:!1});var PN=function(n){pI(t,n);var e=mI(t);function t(){var r;a3(this,t);for(var i=arguments.length,s=new Array(i),l=0;l<i;l++)s[l]=arguments[l];return r=e.call.apply(e,[this].concat(s)),Ll(yp(r),"renderChildren",function(o){return o?r.props.children(o):null}),r}return l3(t,[{key:"render",value:function(){return Hn.createElement(TN.Consumer,null,this.renderChildren)}}]),t}(Hn.PureComponent),Koe=["className","allowMultipleExpanded","allowZeroExpanded","onChange","preExpanded"],Foe=function(e){var t=e.className,r=t===void 0?"accordion":t,i=e.allowMultipleExpanded,s=e.allowZeroExpanded,l=e.onChange,o=e.preExpanded,f=A3(e,Koe);return Hn.createElement(kN,{preExpanded:o,allowMultipleExpanded:i,allowZeroExpanded:s,onChange:l},Hn.createElement("div",hm({"data-accordion-component":"Accordion",className:r},f)))},fB;(function(n){n.Accordion="Accordion",n.AccordionItem="AccordionItem",n.AccordionItemButton="AccordionItemButton",n.AccordionItemHeading="AccordionItemHeading",n.AccordionItemPanel="AccordionItemPanel"})(fB||(fB={}));var RN=fB,KM=0;function Loe(){var n=KM;return KM=KM+1,"raa-".concat(n)}var Uoe=Hn.useId||Loe,zoe=/[\u0009\u000a\u000c\u000d\u0020]/g;function VC(n){return n===""||zoe.test(n)?(console.error('uuid must be a valid HTML5 id but was given "'.concat(n,'", ASCII whitespaces are forbidden')),!1):!0}var DN=Hn.createContext(null),Noe=function(e){var t=e.children,r=e.uuid,i=e.accordionContext,s=e.dangerouslySetExpanded,l=function(){i.toggleExpanded(r)},o=function(C){var w=s??C.isItemExpanded(r),B=C.isItemDisabled(r),D=C.getPanelAttributes(r,s),R=C.getHeadingAttributes(r),U=C.getButtonAttributes(r,s);return Hn.createElement(DN.Provider,{value:{uuid:r,expanded:w,disabled:B,toggleExpanded:l,panelAttributes:D,headingAttributes:R,buttonAttributes:U}},t)};return Hn.createElement(PN,nu Line truncated
*/var pT;function Sie(){if(pT)return Ea;pT=1;var n=Symbol.for("react.element"),e=Symbol.for("react.portal"),t=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),o=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),C=Symbol.for("react.suspense"),w=Symbol.for("react.suspense_list"),B=Symbol.for("react.memo"),D=Symbol.for("react.lazy"),R=Symbol.for("react.offscreen"),U;U=Symbol.for("react.module.reference");function G(W){if(typeof W=="object"&&W!==null){var J=W.$$typeof;switch(J){case n:switch(W=W.type,W){case t:case i:case r:case C:case w:return W;default:switch(W=W&&W.$$typeof,W){case o:case l:case f:case D:case B:case s:return W;default:return J}}case e:return J}}}return Ea.ContextConsumer=l,Ea.ContextProvider=s,Ea.Element=n,Ea.ForwardRef=f,Ea.Fragment=t,Ea.Lazy=D,Ea.Memo=B,Ea.Portal=e,Ea.Profiler=i,Ea.StrictMode=r,Ea.Suspense=C,Ea.SuspenseList=w,Ea.isAsyncMode=function(){return!1},Ea.isConcurrentMode=function(){return!1},Ea.isContextConsumer=function(W){return G(W)===l},Ea.isContextProvider=function(W){return G(W)===s},Ea.isElement=function(W){return typeof W=="object"&&W!==null&&W.$$typeof===n},Ea.isForwardRef=function(W){return G(W)===f},Ea.isFragment=function(W){return G(W)===t},Ea.isLazy=function(W){return G(W)===D},Ea.isMemo=function(W){return G(W)===B},Ea.isPortal=function(W){return G(W)===e},Ea.isProfiler=function(W){return G(W)===i},Ea.isStrictMode=function(W){return G(W)===r},Ea.isSuspense=function(W){return G(W)===C},Ea.isSuspenseList=function(W){return G(W)===w},Ea.isValidElementType=function(W){return typeof W=="string"||typeof W=="function"||W===t||W===i||W===r||W===C||W===w||W===R||typeof W=="object"&&W!==null&&(W.$$typeof===D||W.$$typeof===B||W.$$typeof===s||W.$$typeof===l||W.$$typeof===f||W.$$typeof===U||W.getModuleId!==void 0)},Ea.typeOf=G,Ea}var mT;function Eie(){return mT||(mT=1,bM.exports=Sie()),bM.exports}Eie();const gT=n=>typeof n=="object"&&n!=null&&n.nodeType===1,yT=(n,e)=>(!e||n!=="hidden")&&n!=="visible"&&n!=="clip",Db=(n,e)=>{if(n.clientHeight<n.scrollHeight||n.clientWidth<n.scrollWidth){const t=getComputedStyle(n,null);return yT(t.overflowY,e)||yT(t.overflowX,e)||(r=>{const i=(s=>{if(!s.ownerDocument||!s.ownerDocument.defaultView)return null;try{return s.ownerDocument.defaultView.frameElement}catch{return null}})(r);return!!i&&(i.clientHeight<r.scrollHeight||i.clientWidth<r.scrollWidth)})(n)}return!1},Kb=(n,e,t,r,i,s,l,o)=>s<n&&l>e||s>n&&l<e?0:s<=n&&o<=t||l>=e&&o>=t?s-n-r:l>e&&o<t||s<n&&o>t?l-e+i:0,Bie=n=>{const e=n.parentElement;return e??(n.getRootNode().host||null)},Oie=(n,e)=>{var t,r,i,s;if(typeof document>"u")return[];const{inline:l,boundary:o,skipOverflowHiddenElements:f}=e,C=typeof o=="function"?o:Me=>Me!==o;if(!gT(n))throw new TypeError("Invalid target");const w=document.scrollingElement||document.documentElement,B=[];let D=n;for(;gT(D)&&C(D);){if(D=Bie(D),D===w){B.push(D);break}D!=null&&D===document.body&&Db(D)&&!Db(document.documentElement)||D!=null&&Db(D,f)&&B.push(D)}const R=(r=(t=window.visualViewport)==null?void 0:t.width)!=null?r:innerWidth,U=(s=(i=window.visualViewport)==null?void 0:i.height)!=null?s:innerHeight,{scrollX:G,scrollY:W}=window,{height:J,width:$,top:oe,right:te,bottom:H,left:re}=n.getBoundingClientRect(),{top:j,right:Ae,left:ge}=(Me=>{const We=window.getComputedStyle(Me);return{top:parseFloat(We.scrollMarginTop)||0,right:parseFloat(We.scrollMarginRight)||0,bottom:parseFloat(We.scrollMarginBottom)||0,left:parseFloat(We.scrollMarginLeft)||0}})(n);let me=oe-j,xe=l==="center"?re+$/2-ge+Ae:l==="end"?te+Ae:re-ge;const Be=[];for(let Me=0;Me<B.length;Me++){const We=B[Me],{height:be,width:nt,top:_t,right:at,bottom:Je,left:Ne}=We.getBoundingClientRect();if(oe>=0&&re>=0&&H<=U&&te<=R&&(We===w&&!Db(We)||oe>=_t&&H<=Je&&re>=Ne&&te<=at))return Be;const Te=getComputedStyle(We),Ze=parseInt(Te.borderLeftWidth,10),gt=parseInt(Te.borderTopWidth,10),Dt=parseInt(Te.borderRightWidth,10),pt=parseInt(Te.borderBottomWidth,10);let Tt=0,It=0;const Le="offsetWidth"in We?We.offsetWidth-We.clientWidth-Ze-Dt:0,Re="offsetHeight"in We?We.offsetHeight-We.clientHeight-gt-pt:0,Ke="offsetWidth"in We?We.offsetWidth===0?0:nt/We.offsetWidth:0,$e="offsetHeight"in We?We.offsetHeight===0?0:be/We.offsetHeight:0;if(w===We)Tt=Kb(W,W+U,U,gt,pt,W+me,W+me+J,J),It=l==="start"?xe:l==="center"?xe-R/2:l==="end"?xe-R:Kb(G,G+R,R,Ze,Dt,G+xe,G+xe+$,$),Tt=Math.max(0,Tt+W),It=Math.max(0,It+G);else{Tt=Kb(_t,Je,be,gt,pt+Re,me,me+J,J),It=l==="start"?xe-Ne-Ze:l==="center"?xe-(Ne+nt/2)+Le/2:l==="end"?xe-at+Dt+Le:Kb(Ne,at,nt,Ze,Dt+Le,xe,xe+$,$);const{scrollLeft:bt,scrollTop:vt}=We;Tt=$e===0?0:Math.max(0,Math.min(vt+Tt/$e,We.scrollHeight-be/$e+Re)),It=Ke===0?0:Math.max(0,Math.min(bt+It/Ke,We.scrollWidth-nt/Ke+Le)),me+=vt-Tt,xe+=bt-It}Be.push({el:We,top:Tt,left:It})}return Be};var zy=function(){return zy=Object.assign||function(e){for(var t,r=1,i=arguments.length;r<i;r++){t=arguments[r];for(var Line truncated
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Poe(){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 Roe=a3(function n(e){var t=this,r=e.expanded,i=r===void 0?[]:r,s=e.allowMultipleExpanded,l=s===void 0?!1:s,o=e.allowZeroExpanded,f=o===void 0?!1:o;s3(this,n),Ll(this,"expanded",void 0),Ll(this,"allowMultipleExpanded",void 0),Ll(this,"allowZeroExpanded",void 0),Ll(this,"toggleExpanded",function(C){if(t.isItemDisabled(C))return t;var w=t.isItemExpanded(C);return w?t.augment({expanded:t.expanded.filter(function(B){return B!==C})}):t.augment({expanded:t.allowMultipleExpanded?[].concat(Eoe(t.expanded),[C]):[C]})}),Ll(this,"isItemDisabled",function(C){var w=t.isItemExpanded(C),B=t.expanded.length===1;return!!(w&&!t.allowZeroExpanded&&B)}),Ll(this,"isItemExpanded",function(C){return t.expanded.indexOf(C)!==-1}),Ll(this,"getPanelAttributes",function(C,w){var B=w??t.isItemExpanded(C);return{role:t.allowMultipleExpanded?void 0:"region","aria-hidden":t.allowMultipleExpanded?!B:void 0,"aria-labelledby":t.getButtonId(C),id:t.getPanelId(C),hidden:B?void 0:!0}}),Ll(this,"getHeadingAttributes",function(){return{role:"heading"}}),Ll(this,"getButtonAttributes",function(C,w){var B=w??t.isItemExpanded(C),D=t.isItemDisabled(C);return{id:t.getButtonId(C),"aria-disabled":D,"aria-expanded":B,"aria-controls":t.getPanelId(C),role:"button",tabIndex:0}}),Ll(this,"getPanelId",function(C){return"accordion__panel-".concat(C)}),Ll(this,"getButtonId",function(C){return"accordion__heading-".concat(C)}),Ll(this,"augment",function(C){return new n(uB({expanded:t.expanded,allowMultipleExpanded:t.allowMultipleExpanded,allowZeroExpanded:t.allowZeroExpanded},C))}),this.expanded=i,this.allowMultipleExpanded=l,this.allowZeroExpanded=f}),kN=Hn.createContext(null),PN=function(n){pI(t,n);var e=mI(t);function t(){var r;s3(this,t);for(var i=arguments.length,s=new Array(i),l=0;l<i;l++)s[l]=arguments[l];return r=e.call.apply(e,[this].concat(s)),Ll(yp(r),"state",new Roe({expanded:r.props.preExpanded,allowMultipleExpanded:r.props.allowMultipleExpanded,allowZeroExpanded:r.props.allowZeroExpanded})),Ll(yp(r),"toggleExpanded",function(o){r.setState(function(f){return f.toggleExpanded(o)},function(){r.props.onChange&&r.props.onChange(r.state.expanded)})}),Ll(yp(r),"isItemDisabled",function(o){return r.state.isItemDisabled(o)}),Ll(yp(r),"isItemExpanded",function(o){return r.state.isItemExpanded(o)}),Ll(yp(r),"getPanelAttributes",function(o,f){return r.state.getPanelAttributes(o,f)}),Ll(yp(r),"getHeadingAttributes",function(){return r.state.getHeadingAttributes()}),Ll(yp(r),"getButtonAttributes",function(o,f){return r.state.getButtonAttributes(o,f)}),r}return a3(t,[{key:"render",value:function(){var i=this.state,s=i.allowZeroExpanded,l=i.allowMultipleExpanded;return Hn.createElement(kN.Provider,{value:{allowMultipleExpanded:l,allowZeroExpanded:s,toggleExpanded:this.toggleExpanded,isItemDisabled:this.isItemDisabled,isItemExpanded:this.isItemExpanded,getPanelAttributes:this.getPanelAttributes,getHeadingAttributes:this.getHeadingAttributes,getButtonAttributes:this.getButtonAttributes}},this.props.children||null)}}]),t}(Hn.PureComponent);Ll(PN,"defaultProps",{allowMultipleExpanded:!1,allowZeroExpanded:!1});var RN=function(n){pI(t,n);var e=mI(t);function t(){var r;s3(this,t);for(var i=arguments.length,s=new Array(i),l=0;l<i;l++)s[l]=arguments[l];return r=e.call.apply(e,[this].concat(s)),Ll(yp(r),"renderChildren",function(o){return o?r.props.children(o):null}),r}return a3(t,[{key:"render",value:function(){return Hn.createElement(kN.Consumer,null,this.renderChildren)}}]),t}(Hn.PureComponent),Doe=["className","allowMultipleExpanded","allowZeroExpanded","onChange","preExpanded"],Koe=function(e){var t=e.className,r=t===void 0?"accordion":t,i=e.allowMultipleExpanded,s=e.allowZeroExpanded,l=e.onChange,o=e.preExpanded,f=l3(e,Doe);return Hn.createElement(PN,{preExpanded:o,allowMultipleExpanded:i,allowZeroExpanded:s,onChange:l},Hn.createElement("div",hm({"data-accordion-component":"Accordion",className:r},f)))},dB;(function(n){n.Accordion="Accordion",n.AccordionItem="AccordionItem",n.AccordionItemButton="AccordionItemButton",n.AccordionItemHeading="AccordionItemHeading",n.AccordionItemPanel="AccordionItemPanel"})(dB||(dB={}));var DN=dB,DM=0;function Foe(){var n=DM;return DM=DM+1,"raa-".concat(n)}var Loe=Hn.useId||Foe,Uoe=/[\u0009\u000a\u000c\u000d\u0020]/g;function VC(n){return n===""||Uoe.test(n)?(console.error('uuid must be a valid HTML5 id but was given "'.concat(n,'", ASCII whitespaces are forbidden')),!1):!0}var KN=Hn.createContext(null),zoe=function(e){var t=e.children,r=e.uuid,i=e.accordionContext,s=e.dangerouslySetExpanded,l=function(){i.toggleExpanded(r)},o=function(C){var w=s??C.isItemExpanded(r),B=C.isItemDisabled(r),D=C.getPanelAttributes(r,s),R=C.getHeadingAttributes(r),U=C.getButtonAttributes(r,s);return Hn.createElement(KN.Provider,{value:{uuid:r,expanded:w,disabled:B,toggleExpanded:l,panelAttributes:D,headingAttributes:R,buttonAttributes:U}},t)};return Hn.createElement(RN,nu 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.”
`,LN=function(n){pI(t,n);var e=mI(t);function t(){var r;a3(this,t);for(var i=arguments.length,s=new Array(i),l=0;l<i;l++)s[l]=arguments[l];return r=e.call.apply(e,[this].concat(s)),Ll(yp(r),"ref",void 0),Ll(yp(r),"setRef",function(o){r.ref=o}),r}return l3(t,[{key:"componentDidUpdate",value:function(){t.VALIDATE(this.ref)}},{key:"componentDidMount",value:function(){t.VALIDATE(this.ref)}},{key:"render",value:function(){return Hn.createElement("div",hm({"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(Xoe)}}]),t}(Hn.PureComponent);Ll(LN,"defaultProps",Zoe);var UN=function(e){return Hn.createElement(u3,null,function(t){var r=t.headingAttributes;return e.id&&VC(e.id),Hn.createElement(LN,hm({},e,r))})};UN.displayName=RN.AccordionItemHeading;var Joe=["className","region","id"],ese=function(e){var t=e.className,r=t===void 0?"accordion__panel":t,i=e.region,s=e.id,l=A3(e,Joe),o=function(C){var w=C.panelAttributes;s&&VC(s);var B=cB(cB({},w),{},{"aria-labelledby":i?w["aria-labelledby"]:void 0});return Hn.createElement("div",hm({"data-accordion-component":"AccordionItemPanel",className:r},l,B,{role:i?"region":void 0}))};return Hn.createElement(u3,null,o)},i2={exports:{}},tse=i2.exports,UT;function h3(){return UT||(UT=1,function(n,e){(function(t,r){n.exports=r()})(tse,function(){var t=navigator.userAgent,r=navigator.platform,i=/gecko\/\d/i.test(t),s=/MSIE \d/.test(t),l=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(t),o=/Edge\/(\d+)/.exec(t),f=s||l||o,C=f&&(s?document.documentMode||6:+(o||l)[1]),w=!o&&/WebKit\//.test(t),B=w&&/Qt\/\d+\.\d+/.test(t),D=!o&&/Chrome\/(\d+)/.exec(t),R=D&&+D[1],U=/Opera\//.test(t),G=/Apple Computer/.test(navigator.vendor),W=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(t),J=/PhantomJS/.test(t),$=G&&(/Mobile\/\w+/.test(t)||navigator.maxTouchPoints>2),oe=/Android/.test(t),te=$||oe||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(t),H=$||/Mac/.test(r),re=/\bCrOS\b/.test(t),j=/win/i.test(r),Ae=U&&t.match(/Version\/(\d*\.\d*)/);Ae&&(Ae=Number(Ae[1])),Ae&&Ae>=15&&(U=!1,w=!0);var ge=H&&(B||U&&(Ae==null||Ae<12.11)),me=i||f&&C>=9;function xe(h){return new RegExp("(^|\\s)"+h+"(?:$|\\s)\\s*")}var Be=function(h,y){var E=h.className,S=xe(y).exec(E);if(S){var K=E.slice(S.index+S[0].length);h.className=E.slice(0,S.index)+(K?S[1]+K:"")}};function Me(h){for(var y=h.childNodes.length;y>0;--y)h.removeChild(h.firstChild);return h}function We(h,y){return Me(h).appendChild(y)}function be(h,y,E,S){var K=document.createElement(h);if(E&&(K.className=E),S&&(K.style.cssText=S),typeof y=="string")K.appendChild(document.createTextNode(y));else if(y)for(var Z=0;Z<y.length;++Z)K.appendChild(y[Z]);return K}function nt(h,y,E,S){var K=be(h,y,E,S);return K.setAttribute("role","presentation"),K}var _t;document.createRange?_t=function(h,y,E,S){var K=document.createRange();return K.setEnd(S||h,E),K.setStart(h,y),K}:_t=function(h,y,E){var S=document.body.createTextRange();try{S.moveToElementText(h.parentNode)}catch{return S}return S.collapse(!0),S.moveEnd("character",E),S.moveStart("character",y),S};function at(h,y){if(y.nodeType==3&&(y=y.parentNode),h.contains)return h.contains(y);do if(y.nodeType==11&&(y=y.host),y==h)return!0;while(y=y.parentNode)}function Je(h){var y=h.ownerDocument||h,E;try{E=h.activeElement}catch{E=y.body||null}for(;E&&E.shadowRoot&&E.shadowRoot.activeElement;)E=E.shadowRoot.activeElement;return E}function Ne(h,y){var E=h.className;xe(y).test(E)||(h.className+=(E?" ":"")+y)}function Te(h,y){for(var E=h.split(" "),S=0;S<E.length;S++)E[S]&&!xe(E[S]).test(y)&&(y+=" "+E[S]);return y}var Ze=function(h){h.select()};$?Ze=function(h){h.selectionStart=0,h.selectionEnd=h.value.length}:f&&(Ze=function(h){try{h.select()}catch{}});function gt(h){return h.display.wrapper.ownerDocument}function Dt(h){return pt(h.display.wrapper)}function pt(h){return h.getRootNode?h.getRootNode():h.ownerDocument}function Tt(h){return gt(h).defaultView}function It(h){var y=Array.prototype.slice.call(arguments,1);return function(){return h.apply(null,y)}}function Le(h,y,E){y||(y={});for(var S in h)h.hasOwnProperty(S)&&(E!==!1||!y.hasOwnProperty(S))&&(y[S]=h[S]);return y}function Re(h,y,E,S,K){y==null&&(y=h.search(/[^\s\u00a0]/),y==-1&&(y=h.length));for(var Z=S||0,he=K||0;;){var Ce=h.indexOf(" ",Z);if(Ce<0||Ce>=y)return he+(y-Z);he+=Ce-Z,he+=E-he%E,Z=Ce+1}}var Ke=function(){this.id=null,this.f=null,this.time=0,this.handler=It(this.onTimeout,this)};Ke.prototype.onTimeout=function(h){h.id=0,h.time<=+new Date?h.f():setTimeout(h.handler,h.time-+new Date)},Ke.prototype.set=function(h,y){this.f=y;var E=+new Date+h;(!this.id||E<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,h),this.time=E)};function $e(h,y){for(var E=0;E<h.length;++E)if(h[E]==y)return E;return-1}var Line truncated
`,UN=function(n){pI(t,n);var e=mI(t);function t(){var r;s3(this,t);for(var i=arguments.length,s=new Array(i),l=0;l<i;l++)s[l]=arguments[l];return r=e.call.apply(e,[this].concat(s)),Ll(yp(r),"ref",void 0),Ll(yp(r),"setRef",function(o){r.ref=o}),r}return a3(t,[{key:"componentDidUpdate",value:function(){t.VALIDATE(this.ref)}},{key:"componentDidMount",value:function(){t.VALIDATE(this.ref)}},{key:"render",value:function(){return Hn.createElement("div",hm({"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(Zoe)}}]),t}(Hn.PureComponent);Ll(UN,"defaultProps",Hoe);var zN=function(e){return Hn.createElement(A3,null,function(t){var r=t.headingAttributes;return e.id&&VC(e.id),Hn.createElement(UN,hm({},e,r))})};zN.displayName=DN.AccordionItemHeading;var Xoe=["className","region","id"],Joe=function(e){var t=e.className,r=t===void 0?"accordion__panel":t,i=e.region,s=e.id,l=l3(e,Xoe),o=function(C){var w=C.panelAttributes;s&&VC(s);var B=uB(uB({},w),{},{"aria-labelledby":i?w["aria-labelledby"]:void 0});return Hn.createElement("div",hm({"data-accordion-component":"AccordionItemPanel",className:r},l,B,{role:i?"region":void 0}))};return Hn.createElement(A3,null,o)},i2={exports:{}},ese=i2.exports,UT;function c3(){return UT||(UT=1,function(n,e){(function(t,r){n.exports=r()})(ese,function(){var t=navigator.userAgent,r=navigator.platform,i=/gecko\/\d/i.test(t),s=/MSIE \d/.test(t),l=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(t),o=/Edge\/(\d+)/.exec(t),f=s||l||o,C=f&&(s?document.documentMode||6:+(o||l)[1]),w=!o&&/WebKit\//.test(t),B=w&&/Qt\/\d+\.\d+/.test(t),D=!o&&/Chrome\/(\d+)/.exec(t),R=D&&+D[1],U=/Opera\//.test(t),G=/Apple Computer/.test(navigator.vendor),W=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(t),J=/PhantomJS/.test(t),$=G&&(/Mobile\/\w+/.test(t)||navigator.maxTouchPoints>2),oe=/Android/.test(t),te=$||oe||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(t),H=$||/Mac/.test(r),re=/\bCrOS\b/.test(t),j=/win/i.test(r),Ae=U&&t.match(/Version\/(\d*\.\d*)/);Ae&&(Ae=Number(Ae[1])),Ae&&Ae>=15&&(U=!1,w=!0);var ge=H&&(B||U&&(Ae==null||Ae<12.11)),me=i||f&&C>=9;function xe(h){return new RegExp("(^|\\s)"+h+"(?:$|\\s)\\s*")}var Be=function(h,y){var E=h.className,S=xe(y).exec(E);if(S){var K=E.slice(S.index+S[0].length);h.className=E.slice(0,S.index)+(K?S[1]+K:"")}};function Me(h){for(var y=h.childNodes.length;y>0;--y)h.removeChild(h.firstChild);return h}function We(h,y){return Me(h).appendChild(y)}function be(h,y,E,S){var K=document.createElement(h);if(E&&(K.className=E),S&&(K.style.cssText=S),typeof y=="string")K.appendChild(document.createTextNode(y));else if(y)for(var Z=0;Z<y.length;++Z)K.appendChild(y[Z]);return K}function nt(h,y,E,S){var K=be(h,y,E,S);return K.setAttribute("role","presentation"),K}var _t;document.createRange?_t=function(h,y,E,S){var K=document.createRange();return K.setEnd(S||h,E),K.setStart(h,y),K}:_t=function(h,y,E){var S=document.body.createTextRange();try{S.moveToElementText(h.parentNode)}catch{return S}return S.collapse(!0),S.moveEnd("character",E),S.moveStart("character",y),S};function at(h,y){if(y.nodeType==3&&(y=y.parentNode),h.contains)return h.contains(y);do if(y.nodeType==11&&(y=y.host),y==h)return!0;while(y=y.parentNode)}function Je(h){var y=h.ownerDocument||h,E;try{E=h.activeElement}catch{E=y.body||null}for(;E&&E.shadowRoot&&E.shadowRoot.activeElement;)E=E.shadowRoot.activeElement;return E}function Ne(h,y){var E=h.className;xe(y).test(E)||(h.className+=(E?" ":"")+y)}function Te(h,y){for(var E=h.split(" "),S=0;S<E.length;S++)E[S]&&!xe(E[S]).test(y)&&(y+=" "+E[S]);return y}var Ze=function(h){h.select()};$?Ze=function(h){h.selectionStart=0,h.selectionEnd=h.value.length}:f&&(Ze=function(h){try{h.select()}catch{}});function gt(h){return h.display.wrapper.ownerDocument}function Dt(h){return pt(h.display.wrapper)}function pt(h){return h.getRootNode?h.getRootNode():h.ownerDocument}function Tt(h){return gt(h).defaultView}function It(h){var y=Array.prototype.slice.call(arguments,1);return function(){return h.apply(null,y)}}function Le(h,y,E){y||(y={});for(var S in h)h.hasOwnProperty(S)&&(E!==!1||!y.hasOwnProperty(S))&&(y[S]=h[S]);return y}function Re(h,y,E,S,K){y==null&&(y=h.search(/[^\s\u00a0]/),y==-1&&(y=h.length));for(var Z=S||0,he=K||0;;){var Ce=h.indexOf(" ",Z);if(Ce<0||Ce>=y)return he+(y-Z);he+=Ce-Z,he+=E-he%E,Z=Ce+1}}var Ke=function(){this.id=null,this.f=null,this.time=0,this.handler=It(this.onTimeout,this)};Ke.prototype.onTimeout=function(h){h.id=0,h.time<=+new Date?h.f():setTimeout(h.handler,h.time-+new Date)},Ke.prototype.set=function(h,y){this.f=y;var E=+new Date+h;(!this.id||E<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,h),this.time=E)};function $e(h,y){for(var E=0;E<h.length;++E)if(h[E]==y)return E;return-1}var Line truncated
b`.split(/\n/).length!=3?function(h){for(var y=0,E=[],S=h.length;y<=S;){var K=h.indexOf(`
`,y);K==-1&&(K=h.length);var Z=h.slice(y,h.charAt(K-1)=="\r"?K-1:K),he=Z.indexOf("\r");he!=-1?(E.push(Z.slice(0,he)),y+=he+1):(E.push(Z),y=K+1)}return E}:function(h){return h.split(/\r\n?|\n/)},qn=window.getSelection?function(h){try{return h.selectionStart!=h.selectionEnd}catch{return!1}}:function(h){var y;try{y=h.ownerDocument.selection.createRange()}catch{}return!y||y.parentElement()!=h?!1:y.compareEndPoints("StartToEnd",y)!=0},_i=function(){var h=be("div");return"oncopy"in h?!0:(h.setAttribute("oncopy","return;"),typeof h.oncopy=="function")}(),Lr=null;function ki(h){if(Lr!=null)return Lr;var y=We(h,be("span","x")),E=y.getBoundingClientRect(),S=_t(y,0,1).getBoundingClientRect();return Lr=Math.abs(E.left-S.left)>1}var la={},is={};function Nr(h,y){arguments.length>2&&(y.dependencies=Array.prototype.slice.call(arguments,2)),la[h]=y}function Ha(h,y){is[h]=y}function Aa(h){if(typeof h=="string"&&is.hasOwnProperty(h))h=is[h];else if(h&&typeof h.name=="string"&&is.hasOwnProperty(h.name)){var y=is[h.name];typeof y=="string"&&(y={name:y}),h=Er(y,h),h.name=y.name}else{if(typeof h=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(h))return Aa("application/xml");if(typeof h=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(h))return Aa("application/json")}return typeof h=="string"?{name:h}:h||{name:"null"}}function Wo(h,y){y=Aa(y);var E=la[y.name];if(!E)return Wo(h,"text/plain");var S=E(h,y);if(Fs.hasOwnProperty(y.name)){var K=Fs[y.name];for(var Z in K)K.hasOwnProperty(Z)&&(S.hasOwnProperty(Z)&&(S["_"+Z]=S[Z]),S[Z]=K[Z])}if(S.name=y.name,y.helperType&&(S.helperType=y.helperType),y.modeProps)for(var he in y.modeProps)S[he]=y.modeProps[he];return S}var Fs={};function bl(h,y){var E=Fs.hasOwnProperty(h)?Fs[h]:Fs[h]={};Le(y,E)}function ni(h,y){if(y===!0)return y;if(h.copyState)return h.copyState(y);var E={};for(var S in y){var K=y[S];K instanceof Array&&(K=K.concat([])),E[S]=K}return E}function bA(h,y){for(var E;h.innerMode&&(E=h.innerMode(y),!(!E||E.mode==h));)y=E.state,h=E.mode;return E||{mode:h,state:y}}function Os(h,y,E){return h.startState?h.startState(y,E):!0}var qr=function(h,y,E){this.pos=this.start=0,this.string=h,this.tabSize=y||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=E};qr.prototype.eol=function(){return this.pos>=this.string.length},qr.prototype.sol=function(){return this.pos==this.lineStart},qr.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},qr.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},qr.prototype.eat=function(h){var y=this.string.charAt(this.pos),E;if(typeof h=="string"?E=y==h:E=y&&(h.test?h.test(y):h(y)),E)return++this.pos,y},qr.prototype.eatWhile=function(h){for(var y=this.pos;this.eat(h););return this.pos>y},qr.prototype.eatSpace=function(){for(var h=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>h},qr.prototype.skipToEnd=function(){this.pos=this.string.length},qr.prototype.skipTo=function(h){var y=this.string.indexOf(h,this.pos);if(y>-1)return this.pos=y,!0},qr.prototype.backUp=function(h){this.pos-=h},qr.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=Re(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?Re(this.string,this.lineStart,this.tabSize):0)},qr.prototype.indentation=function(){return Re(this.string,null,this.tabSize)-(this.lineStart?Re(this.string,this.lineStart,this.tabSize):0)},qr.prototype.match=function(h,y,E){if(typeof h=="string"){var S=function(he){return E?he.toLowerCase():he},K=this.string.substr(this.pos,h.length);if(S(K)==S(h))return y!==!1&&(this.pos+=h.length),!0}else{var Z=this.string.slice(this.pos).match(h);return Z&&Z.index>0?null:(Z&&y!==!1&&(this.pos+=Z[0].length),Z)}},qr.prototype.current=function(){return this.string.slice(this.start,this.pos)},qr.prototype.hideFirstChars=function(h,y){this.lineStart+=h;try{return y()}finally{this.lineStart-=h}},qr.prototype.lookAhead=function(h){var y=this.lineOracle;return y&&y.lookAhead(h)},qr.prototype.baseToken=function(){var h=this.lineOracle;return h&&h.baseToken(this.pos)};function wr(h,y){if(y-=h.first,y<0||y>=h.size)throw new Error("There is no line "+(y+h.first)+" in the document.");for(var E=h;!E.lines;)for(var S=0;;++S){var K=E.children[S],Z=K.chunkSize();if(y<Z){E=K;break}y-=Z}return E.lines[y]}function ua(h,y,E){var S=[],K=y.line;return h.iter(y.line,E.line+1,function(Z){var he=Z.text;K==E.line&&(he=he.slice(0,E.ch)),K==y.line&&(he=he.slice(y.ch)),S.push(he),++K}),S}function vs(h,y,E){var S=[];return h.iter(y,E,function(K){S.push(K.text)}),S}function os(h,y){var E=y-h.height;if(E)for(var S=h;S;S=S.parent)S.height+=E}function Qe(h){if(h.parent==null)return null;for(var y=h.parent,E=$e(y.lines,h),S=y.parent;S;y=S,S=S.parent)for(var K=0;S.children[K]!=y;++K)E+=S.children[K].chunkSize();return E+y.first}function St(h,y){var E=h.first;e:do{for(var S=0;S<h.child Line truncated
`?(On=mt.appendChild(be("span",Xt[0]=="\r"?"␍":"␤","cm-invalidchar")),On.setAttribute("cm-text",Xt[0]),h.col+=1):(On=h.cm.options.specialCharPlaceholder(Xt[0]),On.setAttribute("cm-text",Xt[0]),f&&C<9?mt.appendChild(be("span",[On])):mt.appendChild(On),h.col+=1);h.map.push(h.pos,h.pos+1,On),h.pos++}}if(h.trailingSpace=Ce.charCodeAt(y.length-1)==32,E||S||K||Ue||Z||he){var fr=E||"";S&&(fr+=S),K&&(fr+=K);var or=be("span",[mt],fr,Z);if(he)for(var Ir in he)he.hasOwnProperty(Ir)&&Ir!="style"&&Ir!="class"&&or.setAttribute(Ir,he[Ir]);return h.content.appendChild(or)}h.content.appendChild(mt)}}function Sh(h,y){if(h.length>1&&!/ /.test(h))return h;for(var E=y,S="",K=0;K<h.length;K++){var Z=h.charAt(K);Z==" "&&E&&(K==h.length-1||h.charCodeAt(K+1)==32)&&(Z=" "),S+=Z,E=Z==" "}return S}function oo(h,y){return function(E,S,K,Z,he,Ce,ke){K=K?K+" cm-force-border":"cm-force-border";for(var Ue=E.pos,mt=Ue+S.length;;){for(var Et=void 0,Xt=0;Xt<y.length&&(Et=y[Xt],!(Et.to>Ue&&Et.from<=Ue));Xt++);if(Et.to>=mt)return h(E,S,K,Z,he,Ce,ke);h(E,S.slice(0,Et.to-Ue),K,Z,null,Ce,ke),Z=null,S=S.slice(Et.to-Ue),Ue=Et.to}}}function rc(h,y,E,S){var K=!S&&E.widgetNode;K&&h.map.push(h.pos,h.pos+y,K),!S&&h.cm.display.input.needsContentAttribute&&(K||(K=h.content.appendChild(document.createElement("span"))),K.setAttribute("cm-marker",E.id)),K&&(h.cm.display.input.setUneditable(K),h.content.appendChild(K)),h.pos+=y,h.trailingSpace=!1}function nd(h,y,E){var S=h.markedSpans,K=h.text,Z=0;if(!S){for(var he=1;he<E.length;he+=2)y.addToken(y,K.slice(Z,Z=E[he]),Oc(E[he+1],y.cm.options));return}for(var Ce=K.length,ke=0,Ue=1,mt="",Et,Xt,Qt=0,Cn,On,er,Zn,fr;;){if(Qt==ke){Cn=On=er=Xt="",fr=null,Zn=null,Qt=1/0;for(var or=[],Ir=void 0,Jr=0;Jr<S.length;++Jr){var Br=S[Jr],eo=Br.marker;if(eo.type=="bookmark"&&Br.from==ke&&eo.widgetNode)or.push(eo);else if(Br.from<=ke&&(Br.to==null||Br.to>ke||eo.collapsed&&Br.to==ke&&Br.from==ke)){if(Br.to!=null&&Br.to!=ke&&Qt>Br.to&&(Qt=Br.to,On=""),eo.className&&(Cn+=" "+eo.className),eo.css&&(Xt=(Xt?Xt+";":"")+eo.css),eo.startStyle&&Br.from==ke&&(er+=" "+eo.startStyle),eo.endStyle&&Br.to==Qt&&(Ir||(Ir=[])).push(eo.endStyle,Br.to),eo.title&&((fr||(fr={})).title=eo.title),eo.attributes)for(var li in eo.attributes)(fr||(fr={}))[li]=eo.attributes[li];eo.collapsed&&(!Zn||st(Zn.marker,eo)<0)&&(Zn=Br)}else Br.from>ke&&Qt>Br.from&&(Qt=Br.from)}if(Ir)for(var qs=0;qs<Ir.length;qs+=2)Ir[qs+1]==Qt&&(On+=" "+Ir[qs]);if(!Zn||Zn.from==ke)for(var $s=0;$s<or.length;++$s)rc(y,0,or[$s]);if(Zn&&(Zn.from||0)==ke){if(rc(y,(Zn.to==null?Ce+1:Zn.to)-ke,Zn.marker,Zn.from==null),Zn.to==null)return;Zn.to==ke&&(Zn=!1)}}if(ke>=Ce)break;for(var Vs=Math.min(Ce,Qt);;){if(mt){var ma=ke+mt.length;if(!Zn){var ia=ma>Vs?mt.slice(0,Vs-ke):mt;y.addToken(y,ia,Et?Et+Cn:Cn,er,ke+ia.length==Qt?On:"",Xt,fr)}if(ma>=Vs){mt=mt.slice(Vs-ke),ke=Vs;break}ke=ma,er=""}mt=K.slice(Z,Z=E[Ue++]),Et=Oc(E[Ue++],y.cm.options)}}}function Fp(h,y,E){this.line=y,this.rest=Vi(y),this.size=this.rest?Qe(Jn(this.rest))-E+1:1,this.node=this.text=null,this.hidden=hi(h,y)}function Jc(h,y,E){for(var S=[],K,Z=y;Z<E;Z=K){var he=new Fp(h.doc,wr(h.doc,Z),Z);K=Z+he.size,S.push(he)}return S}var rd=null;function Lp(h){rd?rd.ops.push(h):h.ownsGroup=rd={ops:[h],delayedCallbacks:[]}}function lf(h){var y=h.delayedCallbacks,E=0;do{for(;E<y.length;E++)y[E].call(null);for(var S=0;S<h.ops.length;S++){var K=h.ops[S];if(K.cursorActivityHandlers)for(;K.cursorActivityCalled<K.cursorActivityHandlers.length;)K.cursorActivityHandlers[K.cursorActivityCalled++].call(null,K.cm)}}while(E<y.length)}function Af(h,y){var E=h.ownsGroup;if(E)try{lf(E)}finally{rd=null,y(E)}}var wA=null;function Ls(h,y){var E=ut(h,y);if(E.length){var S=Array.prototype.slice.call(arguments,2),K;rd?K=rd.delayedCallbacks:wA?K=wA:(K=wA=[],setTimeout(id,0));for(var Z=function(Ce){K.push(function(){return E[Ce].apply(null,S)})},he=0;he<E.length;++he)Z(he)}}function id(){var h=wA;wA=null;for(var y=0;y<h.length;++y)h[y]()}function qA(h,y,E,S){for(var K=0;K<y.changes.length;K++){var Z=y.changes[K];Z=="text"?ad(h,y):Z=="gutter"?Eh(h,y,E,S):Z=="class"?jf(h,y):Z=="widget"&&Wf(h,y,S)}y.changes=null}function od(h){return h.node==h.text&&(h.node=be("div",null,null,"position: relative"),h.text.parentNode&&h.text.parentNode.replaceChild(h.node,h.text),h.node.appendChild(h.text),f&&C<8&&(h.node.style.zIndex=2)),h.node}function sd(h,y){var E=y.bgClass?y.bgClass+" "+(y.line.bgClass||""):y.line.bgClass;if(E&&(E+=" CodeMirror-linebackground"),y.background)E?y.background.className=E:(y.background.parentNode.removeChild(y.background),y.background=null);else if(E){var S=od(y);y.background=S.insertBefore(be("div",null,E),S.firstChild),h.display.input.setUneditable(y.background)}}function Ic(h,y){var E=h.display.externalMeasured;return E&&E.line==y.line?(h.display.externalMeasured=null,y.measure=E.measure,E.built):YA(h,y)}function ad(h,y){var E=y.text.className,S=Ic(h,y);y.text==y.node&&(y.node=S.pre),y.text.parentNode.replaceChild(S.pre,y.text),y.text=S.pre,S.bgClass Line truncated
`,y);K==-1&&(K=h.length);var Z=h.slice(y,h.charAt(K-1)=="\r"?K-1:K),he=Z.indexOf("\r");he!=-1?(E.push(Z.slice(0,he)),y+=he+1):(E.push(Z),y=K+1)}return E}:function(h){return h.split(/\r\n?|\n/)},qn=window.getSelection?function(h){try{return h.selectionStart!=h.selectionEnd}catch{return!1}}:function(h){var y;try{y=h.ownerDocument.selection.createRange()}catch{}return!y||y.parentElement()!=h?!1:y.compareEndPoints("StartToEnd",y)!=0},_i=function(){var h=be("div");return"oncopy"in h?!0:(h.setAttribute("oncopy","return;"),typeof h.oncopy=="function")}(),Lr=null;function ki(h){if(Lr!=null)return Lr;var y=We(h,be("span","x")),E=y.getBoundingClientRect(),S=_t(y,0,1).getBoundingClientRect();return Lr=Math.abs(E.left-S.left)>1}var la={},is={};function Nr(h,y){arguments.length>2&&(y.dependencies=Array.prototype.slice.call(arguments,2)),la[h]=y}function Ha(h,y){is[h]=y}function Aa(h){if(typeof h=="string"&&is.hasOwnProperty(h))h=is[h];else if(h&&typeof h.name=="string"&&is.hasOwnProperty(h.name)){var y=is[h.name];typeof y=="string"&&(y={name:y}),h=Er(y,h),h.name=y.name}else{if(typeof h=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(h))return Aa("application/xml");if(typeof h=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(h))return Aa("application/json")}return typeof h=="string"?{name:h}:h||{name:"null"}}function Wo(h,y){y=Aa(y);var E=la[y.name];if(!E)return Wo(h,"text/plain");var S=E(h,y);if(Fs.hasOwnProperty(y.name)){var K=Fs[y.name];for(var Z in K)K.hasOwnProperty(Z)&&(S.hasOwnProperty(Z)&&(S["_"+Z]=S[Z]),S[Z]=K[Z])}if(S.name=y.name,y.helperType&&(S.helperType=y.helperType),y.modeProps)for(var he in y.modeProps)S[he]=y.modeProps[he];return S}var Fs={};function bl(h,y){var E=Fs.hasOwnProperty(h)?Fs[h]:Fs[h]={};Le(y,E)}function ni(h,y){if(y===!0)return y;if(h.copyState)return h.copyState(y);var E={};for(var S in y){var K=y[S];K instanceof Array&&(K=K.concat([])),E[S]=K}return E}function bA(h,y){for(var E;h.innerMode&&(E=h.innerMode(y),!(!E||E.mode==h));)y=E.state,h=E.mode;return E||{mode:h,state:y}}function Os(h,y,E){return h.startState?h.startState(y,E):!0}var qr=function(h,y,E){this.pos=this.start=0,this.string=h,this.tabSize=y||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=E};qr.prototype.eol=function(){return this.pos>=this.string.length},qr.prototype.sol=function(){return this.pos==this.lineStart},qr.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},qr.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},qr.prototype.eat=function(h){var y=this.string.charAt(this.pos),E;if(typeof h=="string"?E=y==h:E=y&&(h.test?h.test(y):h(y)),E)return++this.pos,y},qr.prototype.eatWhile=function(h){for(var y=this.pos;this.eat(h););return this.pos>y},qr.prototype.eatSpace=function(){for(var h=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>h},qr.prototype.skipToEnd=function(){this.pos=this.string.length},qr.prototype.skipTo=function(h){var y=this.string.indexOf(h,this.pos);if(y>-1)return this.pos=y,!0},qr.prototype.backUp=function(h){this.pos-=h},qr.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=Re(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?Re(this.string,this.lineStart,this.tabSize):0)},qr.prototype.indentation=function(){return Re(this.string,null,this.tabSize)-(this.lineStart?Re(this.string,this.lineStart,this.tabSize):0)},qr.prototype.match=function(h,y,E){if(typeof h=="string"){var S=function(he){return E?he.toLowerCase():he},K=this.string.substr(this.pos,h.length);if(S(K)==S(h))return y!==!1&&(this.pos+=h.length),!0}else{var Z=this.string.slice(this.pos).match(h);return Z&&Z.index>0?null:(Z&&y!==!1&&(this.pos+=Z[0].length),Z)}},qr.prototype.current=function(){return this.string.slice(this.start,this.pos)},qr.prototype.hideFirstChars=function(h,y){this.lineStart+=h;try{return y()}finally{this.lineStart-=h}},qr.prototype.lookAhead=function(h){var y=this.lineOracle;return y&&y.lookAhead(h)},qr.prototype.baseToken=function(){var h=this.lineOracle;return h&&h.baseToken(this.pos)};function wr(h,y){if(y-=h.first,y<0||y>=h.size)throw new Error("There is no line "+(y+h.first)+" in the document.");for(var E=h;!E.lines;)for(var S=0;;++S){var K=E.children[S],Z=K.chunkSize();if(y<Z){E=K;break}y-=Z}return E.lines[y]}function ua(h,y,E){var S=[],K=y.line;return h.iter(y.line,E.line+1,function(Z){var he=Z.text;K==E.line&&(he=he.slice(0,E.ch)),K==y.line&&(he=he.slice(y.ch)),S.push(he),++K}),S}function vs(h,y,E){var S=[];return h.iter(y,E,function(K){S.push(K.text)}),S}function os(h,y){var E=y-h.height;if(E)for(var S=h;S;S=S.parent)S.height+=E}function Qe(h){if(h.parent==null)return null;for(var y=h.parent,E=$e(y.lines,h),S=y.parent;S;y=S,S=S.parent)for(var K=0;S.children[K]!=y;++K)E+=S.children[K].chunkSize();return E+y.first}function St(h,y){var E=h.first;e:do{for(var S=0;S<h.child Line truncated
`?(On=mt.appendChild(be("span",Xt[0]=="\r"?"␍":"␤","cm-invalidchar")),On.setAttribute("cm-text",Xt[0]),h.col+=1):(On=h.cm.options.specialCharPlaceholder(Xt[0]),On.setAttribute("cm-text",Xt[0]),f&&C<9?mt.appendChild(be("span",[On])):mt.appendChild(On),h.col+=1);h.map.push(h.pos,h.pos+1,On),h.pos++}}if(h.trailingSpace=Ce.charCodeAt(y.length-1)==32,E||S||K||Ue||Z||he){var fr=E||"";S&&(fr+=S),K&&(fr+=K);var or=be("span",[mt],fr,Z);if(he)for(var Ir in he)he.hasOwnProperty(Ir)&&Ir!="style"&&Ir!="class"&&or.setAttribute(Ir,he[Ir]);return h.content.appendChild(or)}h.content.appendChild(mt)}}function Sh(h,y){if(h.length>1&&!/ /.test(h))return h;for(var E=y,S="",K=0;K<h.length;K++){var Z=h.charAt(K);Z==" "&&E&&(K==h.length-1||h.charCodeAt(K+1)==32)&&(Z=" "),S+=Z,E=Z==" "}return S}function oo(h,y){return function(E,S,K,Z,he,Ce,ke){K=K?K+" cm-force-border":"cm-force-border";for(var Ue=E.pos,mt=Ue+S.length;;){for(var Et=void 0,Xt=0;Xt<y.length&&(Et=y[Xt],!(Et.to>Ue&&Et.from<=Ue));Xt++);if(Et.to>=mt)return h(E,S,K,Z,he,Ce,ke);h(E,S.slice(0,Et.to-Ue),K,Z,null,Ce,ke),Z=null,S=S.slice(Et.to-Ue),Ue=Et.to}}}function rc(h,y,E,S){var K=!S&&E.widgetNode;K&&h.map.push(h.pos,h.pos+y,K),!S&&h.cm.display.input.needsContentAttribute&&(K||(K=h.content.appendChild(document.createElement("span"))),K.setAttribute("cm-marker",E.id)),K&&(h.cm.display.input.setUneditable(K),h.content.appendChild(K)),h.pos+=y,h.trailingSpace=!1}function nd(h,y,E){var S=h.markedSpans,K=h.text,Z=0;if(!S){for(var he=1;he<E.length;he+=2)y.addToken(y,K.slice(Z,Z=E[he]),Oc(E[he+1],y.cm.options));return}for(var Ce=K.length,ke=0,Ue=1,mt="",Et,Xt,Qt=0,Cn,On,er,Zn,fr;;){if(Qt==ke){Cn=On=er=Xt="",fr=null,Zn=null,Qt=1/0;for(var or=[],Ir=void 0,Jr=0;Jr<S.length;++Jr){var Br=S[Jr],eo=Br.marker;if(eo.type=="bookmark"&&Br.from==ke&&eo.widgetNode)or.push(eo);else if(Br.from<=ke&&(Br.to==null||Br.to>ke||eo.collapsed&&Br.to==ke&&Br.from==ke)){if(Br.to!=null&&Br.to!=ke&&Qt>Br.to&&(Qt=Br.to,On=""),eo.className&&(Cn+=" "+eo.className),eo.css&&(Xt=(Xt?Xt+";":"")+eo.css),eo.startStyle&&Br.from==ke&&(er+=" "+eo.startStyle),eo.endStyle&&Br.to==Qt&&(Ir||(Ir=[])).push(eo.endStyle,Br.to),eo.title&&((fr||(fr={})).title=eo.title),eo.attributes)for(var li in eo.attributes)(fr||(fr={}))[li]=eo.attributes[li];eo.collapsed&&(!Zn||st(Zn.marker,eo)<0)&&(Zn=Br)}else Br.from>ke&&Qt>Br.from&&(Qt=Br.from)}if(Ir)for(var qs=0;qs<Ir.length;qs+=2)Ir[qs+1]==Qt&&(On+=" "+Ir[qs]);if(!Zn||Zn.from==ke)for(var $s=0;$s<or.length;++$s)rc(y,0,or[$s]);if(Zn&&(Zn.from||0)==ke){if(rc(y,(Zn.to==null?Ce+1:Zn.to)-ke,Zn.marker,Zn.from==null),Zn.to==null)return;Zn.to==ke&&(Zn=!1)}}if(ke>=Ce)break;for(var Vs=Math.min(Ce,Qt);;){if(mt){var ma=ke+mt.length;if(!Zn){var ia=ma>Vs?mt.slice(0,Vs-ke):mt;y.addToken(y,ia,Et?Et+Cn:Cn,er,ke+ia.length==Qt?On:"",Xt,fr)}if(ma>=Vs){mt=mt.slice(Vs-ke),ke=Vs;break}ke=ma,er=""}mt=K.slice(Z,Z=E[Ue++]),Et=Oc(E[Ue++],y.cm.options)}}}function Fp(h,y,E){this.line=y,this.rest=Vi(y),this.size=this.rest?Qe(Jn(this.rest))-E+1:1,this.node=this.text=null,this.hidden=hi(h,y)}function Jc(h,y,E){for(var S=[],K,Z=y;Z<E;Z=K){var he=new Fp(h.doc,wr(h.doc,Z),Z);K=Z+he.size,S.push(he)}return S}var rd=null;function Lp(h){rd?rd.ops.push(h):h.ownsGroup=rd={ops:[h],delayedCallbacks:[]}}function lf(h){var y=h.delayedCallbacks,E=0;do{for(;E<y.length;E++)y[E].call(null);for(var S=0;S<h.ops.length;S++){var K=h.ops[S];if(K.cursorActivityHandlers)for(;K.cursorActivityCalled<K.cursorActivityHandlers.length;)K.cursorActivityHandlers[K.cursorActivityCalled++].call(null,K.cm)}}while(E<y.length)}function Af(h,y){var E=h.ownsGroup;if(E)try{lf(E)}finally{rd=null,y(E)}}var wA=null;function Ls(h,y){var E=ut(h,y);if(E.length){var S=Array.prototype.slice.call(arguments,2),K;rd?K=rd.delayedCallbacks:wA?K=wA:(K=wA=[],setTimeout(id,0));for(var Z=function(Ce){K.push(function(){return E[Ce].apply(null,S)})},he=0;he<E.length;++he)Z(he)}}function id(){var h=wA;wA=null;for(var y=0;y<h.length;++y)h[y]()}function qA(h,y,E,S){for(var K=0;K<y.changes.length;K++){var Z=y.changes[K];Z=="text"?ad(h,y):Z=="gutter"?Eh(h,y,E,S):Z=="class"?jf(h,y):Z=="widget"&&Wf(h,y,S)}y.changes=null}function od(h){return h.node==h.text&&(h.node=be("div",null,null,"position: relative"),h.text.parentNode&&h.text.parentNode.replaceChild(h.node,h.text),h.node.appendChild(h.text),f&&C<8&&(h.node.style.zIndex=2)),h.node}function sd(h,y){var E=y.bgClass?y.bgClass+" "+(y.line.bgClass||""):y.line.bgClass;if(E&&(E+=" CodeMirror-linebackground"),y.background)E?y.background.className=E:(y.background.parentNode.removeChild(y.background),y.background=null);else if(E){var S=od(y);y.background=S.insertBefore(be("div",null,E),S.firstChild),h.display.input.setUneditable(y.background)}}function Ic(h,y){var E=h.display.externalMeasured;return E&&E.line==y.line?(h.display.externalMeasured=null,y.measure=E.measure,E.built):YA(h,y)}function ad(h,y){var E=y.text.className,S=Ic(h,y);y.text==y.node&&(y.node=S.pre),y.text.parentNode.replaceChild(S.pre,y.text),y.text=S.pre,S.bgClass Line truncated
top: `+Ir+"px; width: "+(Jr??ke-or)+`px;
height: `+(Br-Ir)+"px"))}function Et(or,Ir,Jr){var Br=wr(K,or),eo=Br.text.length,li,qs;function $s(ia,dA){return bn(h,ln(or,ia),"div",Br,dA)}function Vs(ia,dA,ja){var oa=ds(h,Br,null,ia),Jo=dA=="ltr"==(ja=="after")?"left":"right",Ai=ja=="after"?oa.begin:oa.end-(/\s/.test(Br.text.charAt(oa.end-1))?2:1);return $s(Ai,Jo)[Jo]}var ma=He(Br,K.direction);return je(ma,Ir||0,Jr??eo,function(ia,dA,ja,oa){var Jo=ja=="ltr",Ai=$s(ia,Jo?"left":"right"),qo=$s(dA-1,Jo?"right":"left"),Ss=Ir==null&&ia==0,Us=Jr==null&&dA==eo,ks=oa==0,FA=!ma||oa==ma.length-1;if(qo.top-Ai.top<=3){var so=(Ue?Ss:Us)&&ks,Ld=(Ue?Us:Ss)&&FA,fA=so?Ce:(Jo?Ai:qo).left,au=Ld?ke:(Jo?qo:Ai).right;mt(fA,Ai.top,au-fA,Ai.bottom)}else{var yc,rl,vl,ep;Jo?(yc=Ue&&Ss&&ks?Ce:Ai.left,rl=Ue?ke:Vs(ia,ja,"before"),vl=Ue?Ce:Vs(dA,ja,"after"),ep=Ue&&Us&&FA?ke:qo.right):(yc=Ue?Vs(ia,ja,"before"):Ce,rl=!Ue&&Ss&&ks?ke:Ai.right,vl=!Ue&&Us&&FA?Ce:qo.left,ep=Ue?Vs(dA,ja,"after"):ke),mt(yc,Ai.top,rl-yc,Ai.bottom),Ai.bottom<qo.top&&mt(Ce,Ai.bottom,null,qo.top),mt(vl,qo.top,ep-vl,qo.bottom)}(!li||Nu(Ai,li)<0)&&(li=Ai),Nu(qo,li)<0&&(li=qo),(!qs||Nu(Ai,qs)<0)&&(qs=Ai),Nu(qo,qs)<0&&(qs=qo)}),{start:li,end:qs}}var Xt=y.from(),Qt=y.to();if(Xt.line==Qt.line)Et(Xt.line,Xt.ch,Qt.ch);else{var Cn=wr(K,Xt.line),On=wr(K,Qt.line),er=Sr(Cn)==Sr(On),Zn=Et(Xt.line,Xt.ch,er?Cn.text.length+1:null).end,fr=Et(Qt.line,er?0:null,Qt.ch).start;er&&(Zn.top<fr.top-2?(mt(Zn.right,Zn.top,null,Zn.bottom),mt(Ce,fr.top,fr.left,fr.bottom)):mt(Zn.right,Zn.top,fr.left-Zn.right,Zn.bottom)),Zn.bottom<fr.top&&mt(Ce,Zn.bottom,null,fr.top)}E.appendChild(Z)}function yu(h){if(h.state.focused){var y=h.display;clearInterval(y.blinker);var E=!0;y.cursorDiv.style.visibility="",h.options.cursorBlinkRate>0?y.blinker=setInterval(function(){h.hasFocus()||as(h),y.cursorDiv.style.visibility=(E=!E)?"":"hidden"},h.options.cursorBlinkRate):h.options.cursorBlinkRate<0&&(y.cursorDiv.style.visibility="hidden")}}function sA(h){h.hasFocus()||(h.display.input.focus(),h.state.focused||df(h))}function oh(h){h.state.delayingBlurEvent=!0,setTimeout(function(){h.state.delayingBlurEvent&&(h.state.delayingBlurEvent=!1,h.state.focused&&as(h))},100)}function df(h,y){h.state.delayingBlurEvent&&!h.state.draggingText&&(h.state.delayingBlurEvent=!1),h.options.readOnly!="nocursor"&&(h.state.focused||(rt(h,"focus",h,y),h.state.focused=!0,Ne(h.display.wrapper,"CodeMirror-focused"),!h.curOp&&h.display.selForContextMenu!=h.doc.sel&&(h.display.input.reset(),w&&setTimeout(function(){return h.display.input.reset(!0)},20)),h.display.input.receivedFocus()),yu(h))}function as(h,y){h.state.delayingBlurEvent||(h.state.focused&&(rt(h,"blur",h,y),h.state.focused=!1,Be(h.display.wrapper,"CodeMirror-focused")),clearInterval(h.display.blinker),setTimeout(function(){h.state.focused||(h.display.shift=!1)},150))}function ud(h){for(var y=h.display,E=y.lineDiv.offsetTop,S=Math.max(0,y.scroller.getBoundingClientRect().top),K=y.lineDiv.getBoundingClientRect().top,Z=0,he=0;he<y.view.length;he++){var Ce=y.view[he],ke=h.options.lineWrapping,Ue=void 0,mt=0;if(!Ce.hidden){if(K+=Ce.line.height,f&&C<8){var Et=Ce.node.offsetTop+Ce.node.offsetHeight;Ue=Et-E,E=Et}else{var Xt=Ce.node.getBoundingClientRect();Ue=Xt.bottom-Xt.top,!ke&&Ce.text.firstChild&&(mt=Ce.text.firstChild.getBoundingClientRect().right-Xt.left-1)}var Qt=Ce.line.height-Ue;if((Qt>.005||Qt<-.005)&&(K<S&&(Z-=Qt),os(Ce.line,Ue),ac(Ce.line),Ce.rest))for(var Cn=0;Cn<Ce.rest.length;Cn++)ac(Ce.rest[Cn]);if(mt>h.display.sizerWidth){var On=Math.ceil(mt/Wl(h.display));On>h.display.maxLineLength&&(h.display.maxLineLength=On,h.display.maxLine=Ce.line,h.display.maxLineChanged=!0)}}}Math.abs(Z)>2&&(y.scroller.scrollTop+=Z)}function ac(h){if(h.widgets)for(var y=0;y<h.widgets.length;++y){var E=h.widgets[y],S=E.node.parentNode;S&&(E.height=S.offsetHeight)}}function BA(h,y,E){var S=E&&E.top!=null?Math.max(0,E.top):h.scroller.scrollTop;S=Math.floor(S-Oh(h));var K=E&&E.bottom!=null?E.bottom:S+h.wrapper.clientHeight,Z=St(y,S),he=St(y,K);if(E&&E.ensure){var Ce=E.ensure.from.line,ke=E.ensure.to.line;Ce<Z?(Z=Ce,he=St(y,zi(wr(y,Ce))+h.wrapper.clientHeight)):Math.min(ke,y.lastLine())>=he&&(Z=St(y,zi(wr(y,ke))-h.wrapper.clientHeight),he=ke)}return{from:Z,to:Math.max(he,Z+1)}}function sh(h,y){if(!rn(h,"scrollCursorIntoView")){var E=h.display,S=E.sizer.getBoundingClientRect(),K=null,Z=E.wrapper.ownerDocument;if(y.top+S.top<0?K=!0:y.bottom+S.top>(Z.defaultView.innerHeight||Z.documentElement.clientHeight)&&(K=!1),K!=null&&!J){var he=be("div","​",null,`position: absolute;
height: `+(Br-Ir)+"px"))}function Et(or,Ir,Jr){var Br=wr(K,or),eo=Br.text.length,li,qs;function $s(ia,dA){return bn(h,ln(or,ia),"div",Br,dA)}function Vs(ia,dA,ja){var oa=ds(h,Br,null,ia),Jo=dA=="ltr"==(ja=="after")?"left":"right",Ai=ja=="after"?oa.begin:oa.end-(/\s/.test(Br.text.charAt(oa.end-1))?2:1);return $s(Ai,Jo)[Jo]}var ma=He(Br,K.direction);return je(ma,Ir||0,Jr??eo,function(ia,dA,ja,oa){var Jo=ja=="ltr",Ai=$s(ia,Jo?"left":"right"),qo=$s(dA-1,Jo?"right":"left"),Ss=Ir==null&&ia==0,Us=Jr==null&&dA==eo,ks=oa==0,FA=!ma||oa==ma.length-1;if(qo.top-Ai.top<=3){var so=(Ue?Ss:Us)&&ks,Ld=(Ue?Us:Ss)&&FA,fA=so?Ce:(Jo?Ai:qo).left,au=Ld?ke:(Jo?qo:Ai).right;mt(fA,Ai.top,au-fA,Ai.bottom)}else{var yc,rl,vl,ep;Jo?(yc=Ue&&Ss&&ks?Ce:Ai.left,rl=Ue?ke:Vs(ia,ja,"before"),vl=Ue?Ce:Vs(dA,ja,"after"),ep=Ue&&Us&&FA?ke:qo.right):(yc=Ue?Vs(ia,ja,"before"):Ce,rl=!Ue&&Ss&&ks?ke:Ai.right,vl=!Ue&&Us&&FA?Ce:qo.left,ep=Ue?Vs(dA,ja,"after"):ke),mt(yc,Ai.top,rl-yc,Ai.bottom),Ai.bottom<qo.top&&mt(Ce,Ai.bottom,null,qo.top),mt(vl,qo.top,ep-vl,qo.bottom)}(!li||Nu(Ai,li)<0)&&(li=Ai),Nu(qo,li)<0&&(li=qo),(!qs||Nu(Ai,qs)<0)&&(qs=Ai),Nu(qo,qs)<0&&(qs=qo)}),{start:li,end:qs}}var Xt=y.from(),Qt=y.to();if(Xt.line==Qt.line)Et(Xt.line,Xt.ch,Qt.ch);else{var Cn=wr(K,Xt.line),On=wr(K,Qt.line),er=Sr(Cn)==Sr(On),Zn=Et(Xt.line,Xt.ch,er?Cn.text.length+1:null).end,fr=Et(Qt.line,er?0:null,Qt.ch).start;er&&(Zn.top<fr.top-2?(mt(Zn.right,Zn.top,null,Zn.bottom),mt(Ce,fr.top,fr.left,fr.bottom)):mt(Zn.right,Zn.top,fr.left-Zn.right,Zn.bottom)),Zn.bottom<fr.top&&mt(Ce,Zn.bottom,null,fr.top)}E.appendChild(Z)}function yu(h){if(h.state.focused){var y=h.display;clearInterval(y.blinker);var E=!0;y.cursorDiv.style.visibility="",h.options.cursorBlinkRate>0?y.blinker=setInterval(function(){h.hasFocus()||as(h),y.cursorDiv.style.visibility=(E=!E)?"":"hidden"},h.options.cursorBlinkRate):h.options.cursorBlinkRate<0&&(y.cursorDiv.style.visibility="hidden")}}function sA(h){h.hasFocus()||(h.display.input.focus(),h.state.focused||df(h))}function oh(h){h.state.delayingBlurEvent=!0,setTimeout(function(){h.state.delayingBlurEvent&&(h.state.delayingBlurEvent=!1,h.state.focused&&as(h))},100)}function df(h,y){h.state.delayingBlurEvent&&!h.state.draggingText&&(h.state.delayingBlurEvent=!1),h.options.readOnly!="nocursor"&&(h.state.focused||(rt(h,"focus",h,y),h.state.focused=!0,Ne(h.display.wrapper,"CodeMirror-focused"),!h.curOp&&h.display.selForContextMenu!=h.doc.sel&&(h.display.input.reset(),w&&setTimeout(function(){return h.display.input.reset(!0)},20)),h.display.input.receivedFocus()),yu(h))}function as(h,y){h.state.delayingBlurEvent||(h.state.focused&&(rt(h,"blur",h,y),h.state.focused=!1,Be(h.display.wrapper,"CodeMirror-focused")),clearInterval(h.display.blinker),setTimeout(function(){h.state.focused||(h.display.shift=!1)},150))}function ud(h){for(var y=h.display,E=y.lineDiv.offsetTop,S=Math.max(0,y.scroller.getBoundingClientRect().top),K=y.lineDiv.getBoundingClientRect().top,Z=0,he=0;he<y.view.length;he++){var Ce=y.view[he],ke=h.options.lineWrapping,Ue=void 0,mt=0;if(!Ce.hidden){if(K+=Ce.line.height,f&&C<8){var Et=Ce.node.offsetTop+Ce.node.offsetHeight;Ue=Et-E,E=Et}else{var Xt=Ce.node.getBoundingClientRect();Ue=Xt.bottom-Xt.top,!ke&&Ce.text.firstChild&&(mt=Ce.text.firstChild.getBoundingClientRect().right-Xt.left-1)}var Qt=Ce.line.height-Ue;if((Qt>.005||Qt<-.005)&&(K<S&&(Z-=Qt),os(Ce.line,Ue),ac(Ce.line),Ce.rest))for(var Cn=0;Cn<Ce.rest.length;Cn++)ac(Ce.rest[Cn]);if(mt>h.display.sizerWidth){var On=Math.ceil(mt/jl(h.display));On>h.display.maxLineLength&&(h.display.maxLineLength=On,h.display.maxLine=Ce.line,h.display.maxLineChanged=!0)}}}Math.abs(Z)>2&&(y.scroller.scrollTop+=Z)}function ac(h){if(h.widgets)for(var y=0;y<h.widgets.length;++y){var E=h.widgets[y],S=E.node.parentNode;S&&(E.height=S.offsetHeight)}}function BA(h,y,E){var S=E&&E.top!=null?Math.max(0,E.top):h.scroller.scrollTop;S=Math.floor(S-Oh(h));var K=E&&E.bottom!=null?E.bottom:S+h.wrapper.clientHeight,Z=St(y,S),he=St(y,K);if(E&&E.ensure){var Ce=E.ensure.from.line,ke=E.ensure.to.line;Ce<Z?(Z=Ce,he=St(y,zi(wr(y,Ce))+h.wrapper.clientHeight)):Math.min(ke,y.lastLine())>=he&&(Z=St(y,zi(wr(y,ke))-h.wrapper.clientHeight),he=ke)}return{from:Z,to:Math.max(he,Z+1)}}function sh(h,y){if(!rn(h,"scrollCursorIntoView")){var E=h.display,S=E.sizer.getBoundingClientRect(),K=null,Z=E.wrapper.ownerDocument;if(y.top+S.top<0?K=!0:y.bottom+S.top>(Z.defaultView.innerHeight||Z.documentElement.clientHeight)&&(K=!1),K!=null&&!J){var he=be("div","​",null,`position: absolute;
top: `+(y.top-E.viewOffset-Oh(h.display))+`px;
height: `+(y.bottom-y.top+gu(h)+E.barHeight)+`px;
left: `+y.left+"px; width: "+Math.max(2,y.right-y.left)+"px;");h.display.lineSpace.appendChild(he),he.scrollIntoView(K),h.display.lineSpace.removeChild(he)}}}function Ph(h,y,E,S){S==null&&(S=0);var K;!h.options.lineWrapping&&y==E&&(E=y.sticky=="before"?ln(y.line,y.ch+1,"before"):y,y=y.ch?ln(y.line,y.sticky=="before"?y.ch-1:y.ch,"after"):y);for(var Z=0;Z<5;Z++){var he=!1,Ce=An(h,y),ke=!E||E==y?Ce:An(h,E);K={left:Math.min(Ce.left,ke.left),top:Math.min(Ce.top,ke.top)-S,right:Math.max(Ce.left,ke.left),bottom:Math.max(Ce.bottom,ke.bottom)+S};var Ue=Rh(h,K),mt=h.doc.scrollTop,Et=h.doc.scrollLeft;if(Ue.scrollTop!=null&&(lc(h,Ue.scrollTop),Math.abs(h.doc.scrollTop-mt)>1&&(he=!0)),Ue.scrollLeft!=null&&(el(h,Ue.scrollLeft),Math.abs(h.doc.scrollLeft-Et)>1&&(he=!0)),!he)break}return K}function ah(h,y){var E=Rh(h,y);E.scrollTop!=null&&lc(h,E.scrollTop),E.scrollLeft!=null&&el(h,E.scrollLeft)}function Rh(h,y){var E=h.display,S=Xa(h.display);y.top<0&&(y.top=0);var K=h.curOp&&h.curOp.scrollTop!=null?h.curOp.scrollTop:E.scroller.scrollTop,Z=ic(h),he={};y.bottom-y.top>Z&&(y.bottom=y.top+Z);var Ce=h.doc.height+Ih(E),ke=y.top<S,Ue=y.bottom>Ce-S;if(y.top<K)he.scrollTop=ke?0:y.top;else if(y.bottom>K+Z){var mt=Math.min(y.top,(Ue?Ce:y.bottom)-Z);mt!=K&&(he.scrollTop=mt)}var Et=h.options.fixedGutter?0:E.gutters.offsetWidth,Xt=h.curOp&&h.curOp.scrollLeft!=null?h.curOp.scrollLeft:E.scroller.scrollLeft-Et,Qt=EA(h)-E.gutters.offsetWidth,Cn=y.right-y.left>Qt;return Cn&&(y.right=y.left+Qt),y.left<10?he.scrollLeft=0:y.left<Xt?he.scrollLeft=Math.max(0,y.left+Et-(Cn?0:10)):y.right>Qt+Xt-3&&(he.scrollLeft=y.right+(Cn?0:10)-Qt),he}function vu(h,y){y!=null&&(Dh(h),h.curOp.scrollTop=(h.curOp.scrollTop==null?h.doc.scrollTop:h.curOp.scrollTop)+y)}function _s(h){Dh(h);var y=h.getCursor();h.curOp.scrollToPos={from:y,to:y,margin:h.options.cursorScrollMargin}}function ea(h,y,E){(y!=null||E!=null)&&Dh(h),y!=null&&(h.curOp.scrollLeft=y),E!=null&&(h.curOp.scrollTop=E)}function ff(h,y){Dh(h),h.curOp.scrollToPos=y}function Dh(h){var y=h.curOp.scrollToPos;if(y){h.curOp.scrollToPos=null;var E=kr(h,y.from),S=kr(h,y.to);Cu(h,E,S,y.margin)}}function Cu(h,y,E,S){var K=Rh(h,{left:Math.min(y.left,E.left),top:Math.min(y.top,E.top)-S,right:Math.max(y.right,E.right),bottom:Math.max(y.bottom,E.bottom)+S});ea(h,K.scrollLeft,K.scrollTop)}function lc(h,y){Math.abs(h.doc.scrollTop-y)<2||(i||dl(h,{top:y}),kc(h,y,!0),i&&dl(h),lh(h,100))}function kc(h,y,E){y=Math.max(0,Math.min(h.display.scroller.scrollHeight-h.display.scroller.clientHeight,y)),!(h.display.scroller.scrollTop==y&&!E)&&(h.doc.scrollTop=y,h.display.scrollbars.setScrollTop(y),h.display.scroller.scrollTop!=y&&(h.display.scroller.scrollTop=y))}function el(h,y,E,S){y=Math.max(0,Math.min(y,h.display.scroller.scrollWidth-h.display.scroller.clientWidth)),!((E?y==h.doc.scrollLeft:Math.abs(h.doc.scrollLeft-y)<2)&&!S)&&(h.doc.scrollLeft=y,pf(h),h.display.scroller.scrollLeft!=y&&(h.display.scroller.scrollLeft=y),h.display.scrollbars.setScrollLeft(y))}function Gu(h){var y=h.display,E=y.gutters.offsetWidth,S=Math.round(h.doc.height+Ih(h.display));return{clientHeight:y.scroller.clientHeight,viewHeight:y.wrapper.clientHeight,scrollWidth:y.scroller.scrollWidth,clientWidth:y.scroller.clientWidth,viewWidth:y.wrapper.clientWidth,barLeft:h.options.fixedGutter?E:0,docHeight:S,scrollHeight:S+gu(h)+y.barHeight,nativeBarWidth:y.nativeBarWidth,gutterWidth:E}}var aA=function(h,y,E){this.cm=E;var S=this.vert=be("div",[be("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),K=this.horiz=be("div",[be("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");S.tabIndex=K.tabIndex=-1,h(S),h(K),ft(S,"scroll",function(){S.clientHeight&&y(S.scrollTop,"vertical")}),ft(K,"scroll",function(){K.clientWidth&&y(K.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,f&&C<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};aA.prototype.update=function(h){var y=h.scrollWidth>h.clientWidth+1,E=h.scrollHeight>h.clientHeight+1,S=h.nativeBarWidth;if(E){this.vert.style.display="block",this.vert.style.bottom=y?S+"px":"0";var K=h.viewHeight-(y?S:0);this.vert.firstChild.style.height=Math.max(0,h.scrollHeight-h.clientHeight+K)+"px"}else this.vert.scrollTop=0,this.vert.style.display="",this.vert.firstChild.style.height="0";if(y){this.horiz.style.display="block",this.horiz.style.right=E?S+"px":"0",this.horiz.style.left=h.barLeft+"px";var Z=h.viewWidth-h.barLeft-(E?S:0);this.horiz.firstChild.style.width=Math.max(0,h.scrollWidth-h.clientWidth+Z)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&h.clientHeight>0&&(S==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:E?S:0,bottom:y?S:0}},aA.prototype.setScrollLeft=function(h){this.horiz.scrollLeft!=h&&(this.horiz.scrollLeft=h),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},aA.prototype.setScrollTop=function(h){this.vert.scrollTop!=h&&(this.vert.scrollTop=h),thi Line truncated
left: `+y.left+"px; width: "+Math.max(2,y.right-y.left)+"px;");h.display.lineSpace.appendChild(he),he.scrollIntoView(K),h.display.lineSpace.removeChild(he)}}}function Ph(h,y,E,S){S==null&&(S=0);var K;!h.options.lineWrapping&&y==E&&(E=y.sticky=="before"?ln(y.line,y.ch+1,"before"):y,y=y.ch?ln(y.line,y.sticky=="before"?y.ch-1:y.ch,"after"):y);for(var Z=0;Z<5;Z++){var he=!1,Ce=An(h,y),ke=!E||E==y?Ce:An(h,E);K={left:Math.min(Ce.left,ke.left),top:Math.min(Ce.top,ke.top)-S,right:Math.max(Ce.left,ke.left),bottom:Math.max(Ce.bottom,ke.bottom)+S};var Ue=Rh(h,K),mt=h.doc.scrollTop,Et=h.doc.scrollLeft;if(Ue.scrollTop!=null&&(lc(h,Ue.scrollTop),Math.abs(h.doc.scrollTop-mt)>1&&(he=!0)),Ue.scrollLeft!=null&&(el(h,Ue.scrollLeft),Math.abs(h.doc.scrollLeft-Et)>1&&(he=!0)),!he)break}return K}function ah(h,y){var E=Rh(h,y);E.scrollTop!=null&&lc(h,E.scrollTop),E.scrollLeft!=null&&el(h,E.scrollLeft)}function Rh(h,y){var E=h.display,S=Xa(h.display);y.top<0&&(y.top=0);var K=h.curOp&&h.curOp.scrollTop!=null?h.curOp.scrollTop:E.scroller.scrollTop,Z=ic(h),he={};y.bottom-y.top>Z&&(y.bottom=y.top+Z);var Ce=h.doc.height+Ih(E),ke=y.top<S,Ue=y.bottom>Ce-S;if(y.top<K)he.scrollTop=ke?0:y.top;else if(y.bottom>K+Z){var mt=Math.min(y.top,(Ue?Ce:y.bottom)-Z);mt!=K&&(he.scrollTop=mt)}var Et=h.options.fixedGutter?0:E.gutters.offsetWidth,Xt=h.curOp&&h.curOp.scrollLeft!=null?h.curOp.scrollLeft:E.scroller.scrollLeft-Et,Qt=EA(h)-E.gutters.offsetWidth,Cn=y.right-y.left>Qt;return Cn&&(y.right=y.left+Qt),y.left<10?he.scrollLeft=0:y.left<Xt?he.scrollLeft=Math.max(0,y.left+Et-(Cn?0:10)):y.right>Qt+Xt-3&&(he.scrollLeft=y.right+(Cn?0:10)-Qt),he}function vu(h,y){y!=null&&(Dh(h),h.curOp.scrollTop=(h.curOp.scrollTop==null?h.doc.scrollTop:h.curOp.scrollTop)+y)}function _s(h){Dh(h);var y=h.getCursor();h.curOp.scrollToPos={from:y,to:y,margin:h.options.cursorScrollMargin}}function ea(h,y,E){(y!=null||E!=null)&&Dh(h),y!=null&&(h.curOp.scrollLeft=y),E!=null&&(h.curOp.scrollTop=E)}function ff(h,y){Dh(h),h.curOp.scrollToPos=y}function Dh(h){var y=h.curOp.scrollToPos;if(y){h.curOp.scrollToPos=null;var E=kr(h,y.from),S=kr(h,y.to);Cu(h,E,S,y.margin)}}function Cu(h,y,E,S){var K=Rh(h,{left:Math.min(y.left,E.left),top:Math.min(y.top,E.top)-S,right:Math.max(y.right,E.right),bottom:Math.max(y.bottom,E.bottom)+S});ea(h,K.scrollLeft,K.scrollTop)}function lc(h,y){Math.abs(h.doc.scrollTop-y)<2||(i||dl(h,{top:y}),kc(h,y,!0),i&&dl(h),lh(h,100))}function kc(h,y,E){y=Math.max(0,Math.min(h.display.scroller.scrollHeight-h.display.scroller.clientHeight,y)),!(h.display.scroller.scrollTop==y&&!E)&&(h.doc.scrollTop=y,h.display.scrollbars.setScrollTop(y),h.display.scroller.scrollTop!=y&&(h.display.scroller.scrollTop=y))}function el(h,y,E,S){y=Math.max(0,Math.min(y,h.display.scroller.scrollWidth-h.display.scroller.clientWidth)),!((E?y==h.doc.scrollLeft:Math.abs(h.doc.scrollLeft-y)<2)&&!S)&&(h.doc.scrollLeft=y,pf(h),h.display.scroller.scrollLeft!=y&&(h.display.scroller.scrollLeft=y),h.display.scrollbars.setScrollLeft(y))}function Gu(h){var y=h.display,E=y.gutters.offsetWidth,S=Math.round(h.doc.height+Ih(h.display));return{clientHeight:y.scroller.clientHeight,viewHeight:y.wrapper.clientHeight,scrollWidth:y.scroller.scrollWidth,clientWidth:y.scroller.clientWidth,viewWidth:y.wrapper.clientWidth,barLeft:h.options.fixedGutter?E:0,docHeight:S,scrollHeight:S+gu(h)+y.barHeight,nativeBarWidth:y.nativeBarWidth,gutterWidth:E}}var aA=function(h,y,E){this.cm=E;var S=this.vert=be("div",[be("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),K=this.horiz=be("div",[be("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");S.tabIndex=K.tabIndex=-1,h(S),h(K),ft(S,"scroll",function(){S.clientHeight&&y(S.scrollTop,"vertical")}),ft(K,"scroll",function(){K.clientWidth&&y(K.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,f&&C<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};aA.prototype.update=function(h){var y=h.scrollWidth>h.clientWidth+1,E=h.scrollHeight>h.clientHeight+1,S=h.nativeBarWidth;if(E){this.vert.style.display="block",this.vert.style.bottom=y?S+"px":"0";var K=h.viewHeight-(y?S:0);this.vert.firstChild.style.height=Math.max(0,h.scrollHeight-h.clientHeight+K)+"px"}else this.vert.scrollTop=0,this.vert.style.display="",this.vert.firstChild.style.height="0";if(y){this.horiz.style.display="block",this.horiz.style.right=E?S+"px":"0",this.horiz.style.left=h.barLeft+"px";var Z=h.viewWidth-h.barLeft-(E?S:0);this.horiz.firstChild.style.width=Math.max(0,h.scrollWidth-h.clientWidth+Z)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&h.clientHeight>0&&(S==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:E?S:0,bottom:y?S:0}},aA.prototype.setScrollLeft=function(h){this.horiz.scrollLeft!=h&&(this.horiz.scrollLeft=h),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},aA.prototype.setScrollTop=function(h){this.vert.scrollTop!=h&&(this.vert.scrollTop=h),thi Line truncated
`},setDirection:da(function(h){h!="rtl"&&(h="ltr"),h!=this.direction&&(this.direction=h,this.iter(function(y){return y.order=null}),this.cm&&xu(this.cm))})}),it.prototype.eachLine=it.prototype.iter;var lt=0;function ct(h){var y=this;if(xt(y),!(rn(y,h)||mu(y.display,h))){ur(h),f&&(lt=+new Date);var E=Sl(y,h,!0),S=h.dataTransfer.files;if(!(!E||y.isReadOnly()))if(S&&S.length&&window.FileReader&&window.File)for(var K=S.length,Z=Array(K),he=0,Ce=function(){++he==K&&Do(y,function(){E=vi(y.doc,E);var Qt={from:E,to:E,text:y.doc.splitLines(Z.filter(function(Cn){return Cn!=null}).join(y.doc.lineSeparator())),origin:"paste"};Kc(y.doc,Qt),nu(y.doc,Ta(vi(y.doc,E),vi(y.doc,wa(Qt))))})()},ke=function(Qt,Cn){if(y.options.allowDropFileTypes&&$e(y.options.allowDropFileTypes,Qt.type)==-1){Ce();return}var On=new FileReader;On.onerror=function(){return Ce()},On.onload=function(){var er=On.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(er)){Ce();return}Z[Cn]=er,Ce()},On.readAsText(Qt)},Ue=0;Ue<S.length;Ue++)ke(S[Ue],Ue);else{if(y.state.draggingText&&y.doc.sel.contains(E)>-1){y.state.draggingText(h),setTimeout(function(){return y.display.input.focus()},20);return}try{var mt=h.dataTransfer.getData("Text");if(mt){var Et;if(y.state.draggingText&&!y.state.draggingText.copy&&(Et=y.listSelections()),Pa(y.doc,Ta(E,E)),Et)for(var Xt=0;Xt<Et.length;++Xt)pc(y.doc,"",Et[Xt].anchor,Et[Xt].head,"drag");y.replaceSelection(mt,"around","paste"),y.display.input.focus()}}catch{}}}}function Ct(h,y){if(f&&(!h.state.draggingText||+new Date-lt<100)){ci(y);return}if(!(rn(h,y)||mu(h.display,y))&&(y.dataTransfer.setData("Text",h.getSelection()),y.dataTransfer.effectAllowed="copyMove",y.dataTransfer.setDragImage&&!G)){var E=be("img",null,null,"position: fixed; left: 0; top: 0;");E.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",U&&(E.width=E.height=1,h.display.wrapper.appendChild(E),E._top=E.offsetTop),y.dataTransfer.setDragImage(E,0,0),U&&E.parentNode.removeChild(E)}}function yt(h,y){var E=Sl(h,y);if(E){var S=document.createDocumentFragment();Qi(h,E,S),h.display.dragCursor||(h.display.dragCursor=be("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),h.display.lineSpace.insertBefore(h.display.dragCursor,h.display.cursorDiv)),We(h.display.dragCursor,S)}}function xt(h){h.display.dragCursor&&(h.display.lineSpace.removeChild(h.display.dragCursor),h.display.dragCursor=null)}function Rt(h){if(document.getElementsByClassName){for(var y=document.getElementsByClassName("CodeMirror"),E=[],S=0;S<y.length;S++){var K=y[S].CodeMirror;K&&E.push(K)}E.length&&E[0].operation(function(){for(var Z=0;Z<E.length;Z++)h(E[Z])})}}var Lt=!1;function wt(){Lt||(Nt(),Lt=!0)}function Nt(){var h;ft(window,"resize",function(){h==null&&(h=setTimeout(function(){h=null,Rt(en)},100))}),ft(window,"blur",function(){return Rt(as)})}function en(h){var y=h.display;y.cachedCharWidth=y.cachedTextHeight=y.cachedPaddingH=null,y.scrollbarsClipped=!1,h.setSize()}for(var Vt={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"},Jt=0;Jt<10;Jt++)Vt[Jt+48]=Vt[Jt+96]=String(Jt);for(var nn=65;nn<=90;nn++)Vt[nn]=String.fromCharCode(nn);for(var Gn=1;Gn<=12;Gn++)Vt[Gn+111]=Vt[Gn+63235]="F"+Gn;var Ln={};Ln.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"},Ln.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"},Ln.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","CtrlLine truncated
`,"start")},toggleOverwrite:function(h){return h.toggleOverwrite()}};function na(h,y){var E=wr(h.doc,y),S=Sr(E);return S!=E&&(y=Qe(S)),Ys(!0,h,S,y,1)}function ou(h,y){var E=wr(h.doc,y),S=Vr(E);return S!=E&&(y=Qe(S)),Ys(!0,h,E,y,-1)}function Yu(h,y){var E=na(h,y.line),S=wr(h.doc,E.line),K=He(S,h.doc.direction);if(!K||K[0].level==0){var Z=Math.max(E.ch,S.text.search(/\S/)),he=y.line==E.line&&y.ch<=Z&&y.ch;return ln(E.line,he?0:Z,E.sticky)}return E}function AA(h,y,E){if(typeof y=="string"&&(y=pa[y],!y))return!1;h.display.input.ensurePolled();var S=h.display.shift,K=!1;try{h.isReadOnly()&&(h.state.suppressEdits=!0),E&&(h.display.shift=!1),K=y(h)!=vt}finally{h.display.shift=S,h.state.suppressEdits=!1}return K}function zh(h,y,E){for(var S=0;S<h.state.keyMaps.length;S++){var K=ai(y,h.state.keyMaps[S],E,h);if(K)return K}return h.options.extraKeys&&ai(y,h.options.extraKeys,E,h)||ai(y,h.options.keyMap,E,h)}var Nh=new Ke;function Bu(h,y,E,S){var K=h.state.keySeq;if(K){if(xo(y))return"handled";if(/\'$/.test(y)?h.state.keySeq=null:Nh.set(50,function(){h.state.keySeq==K&&(h.state.keySeq=null,h.display.input.reset())}),Uc(h,K+" "+y,E,S))return!0}return Uc(h,y,E,S)}function Uc(h,y,E,S){var K=zh(h,y,S);return K=="multi"&&(h.state.keySeq=y),K=="handled"&&Ls(h,"keyHandled",h,y,E),(K=="handled"||K=="multi")&&(ur(E),yu(h)),!!K}function Tl(h,y){var E=Ko(y,!0);return E?y.shiftKey&&!h.state.keySeq?Bu(h,"Shift-"+E,y,function(S){return AA(h,S,!0)})||Bu(h,E,y,function(S){if(typeof S=="string"?/^go[A-Z]/.test(S):S.motion)return AA(h,S)}):Bu(h,E,y,function(S){return AA(h,S)}):!1}function qu(h,y,E){return Bu(h,"'"+E+"'",y,function(S){return AA(h,S,!0)})}var gl=null;function $u(h){var y=this;if(!(h.target&&h.target!=y.display.input.getField())&&(y.curOp.focus=Je(Dt(y)),!rn(y,h))){f&&C<11&&h.keyCode==27&&(h.returnValue=!1);var E=h.keyCode;y.display.shift=E==16||h.shiftKey;var S=Tl(y,h);U&&(gl=S?E:null,!S&&E==88&&!_i&&(H?h.metaKey:h.ctrlKey)&&y.replaceSelection("",null,"cut")),i&&!H&&!S&&E==46&&h.shiftKey&&!h.ctrlKey&&document.execCommand&&document.execCommand("cut"),E==18&&!/\bCodeMirror-crosshair\b/.test(y.display.lineDiv.className)&&No(y)}}function No(h){var y=h.display.lineDiv;Ne(y,"CodeMirror-crosshair");function E(S){(S.keyCode==18||!S.altKey)&&(Be(y,"CodeMirror-crosshair"),Bt(document,"keyup",E),Bt(document,"mouseover",E))}ft(document,"keyup",E),ft(document,"mouseover",E)}function ms(h){h.keyCode==16&&(this.doc.sel.shift=!1),rn(this,h)}function $l(h){var y=this;if(!(h.target&&h.target!=y.display.input.getField())&&!(mu(y.display,h)||rn(y,h)||h.ctrlKey&&!h.altKey||H&&h.metaKey)){var E=h.keyCode,S=h.charCode;if(U&&E==gl){gl=null,ur(h);return}if(!(U&&(!h.which||h.which<10)&&Tl(y,h))){var K=String.fromCharCode(S??E);K!="\b"&&(qu(y,h,K)||y.display.input.onKeyPress(h))}}}var Ga=400,mc=function(h,y,E){this.time=h,this.pos=y,this.button=E};mc.prototype.compare=function(h,y,E){return this.time+Ga>h&&ir(y,this.pos)==0&&E==this.button};var uA,ra;function DA(h,y){var E=+new Date;return ra&&ra.compare(E,h,y)?(uA=ra=null,"triple"):uA&&uA.compare(E,h,y)?(ra=new mc(E,h,y),uA=null,"double"):(uA=new mc(E,h,y),ra=null,"single")}function Ou(h){var y=this,E=y.display;if(!(rn(y,h)||E.activeTouch&&E.input.supportsTouch())){if(E.input.ensurePolled(),E.shift=h.shiftKey,mu(E,h)){w||(E.scroller.draggable=!1,setTimeout(function(){return E.scroller.draggable=!0},100));return}if(!fd(y,h)){var S=Sl(y,h),K=Cr(h),Z=S?DA(S,K):"single";Tt(y).focus(),K==1&&y.state.selectingText&&y.state.selectingText(h),!(S&&mf(y,K,S,Z,h))&&(K==1?S?Gh(y,S,Z,h):Fr(h)==E.scroller&&ur(h):K==2?(S&&dc(y.doc,S),setTimeout(function(){return E.input.focus()},20)):K==3&&(me?y.display.input.onContextMenu(h):oh(y)))}}}function mf(h,y,E,S,K){var Z="Click";return S=="double"?Z="Double"+Z:S=="triple"&&(Z="Triple"+Z),Z=(y==1?"Left":y==2?"Middle":"Right")+Z,Bu(h,Zo(Z,K),K,function(he){if(typeof he=="string"&&(he=pa[he]),!he)return!1;var Ce=!1;try{h.isReadOnly()&&(h.state.suppressEdits=!0),Ce=he(h,E)!=vt}finally{h.state.suppressEdits=!1}return Ce})}function tl(h,y,E){var S=h.getOption("configureMouse"),K=S?S(h,y,E):{};if(K.unit==null){var Z=re?E.shiftKey&&E.metaKey:E.altKey;K.unit=Z?"rectangle":y=="single"?"char":y=="double"?"word":"line"}return(K.extend==null||h.doc.extend)&&(K.extend=h.doc.extend||E.shiftKey),K.addNew==null&&(K.addNew=H?E.metaKey:E.ctrlKey),K.moveOnDrag==null&&(K.moveOnDrag=!(H?E.altKey:E.ctrlKey)),K}function Gh(h,y,E,S){f?setTimeout(It(sA,h),0):h.curOp.focus=Je(Dt(h));var K=tl(h,E,S),Z=h.doc.sel,he;h.options.dragDrop&&Ei&&!h.isReadOnly()&&E=="single"&&(he=Z.contains(y))>-1&&(ir((he=Z.ranges[he]).from(),y)<0||y.xRel>0)&&(ir(he.to(),y)>0||y.xRel<0)?Pd(h,S,y,K):jh(h,S,y,K)}function Pd(h,y,E,S){var K=h.display,Z=!1,he=Do(h,function(Ue){w&&(K.scroller.draggable=!1),h.state.draggingText=!1,h.state.delayingBlurEvent&&(h.hasFocus()?h.state.delayingBlurEvent=!1:oh(h)),Bt(K.wrapper.ownerDocument,"mouseup",he),Bt(K.wrapper.ownerDocument,"mousemove",Ce),Bt(K.scroller,"dragstart",ke),Bt(K.scro Line truncated
`,"start")},toggleOverwrite:function(h){return h.toggleOverwrite()}};function na(h,y){var E=wr(h.doc,y),S=Sr(E);return S!=E&&(y=Qe(S)),Ys(!0,h,S,y,1)}function ou(h,y){var E=wr(h.doc,y),S=Vr(E);return S!=E&&(y=Qe(S)),Ys(!0,h,E,y,-1)}function Yu(h,y){var E=na(h,y.line),S=wr(h.doc,E.line),K=He(S,h.doc.direction);if(!K||K[0].level==0){var Z=Math.max(E.ch,S.text.search(/\S/)),he=y.line==E.line&&y.ch<=Z&&y.ch;return ln(E.line,he?0:Z,E.sticky)}return E}function AA(h,y,E){if(typeof y=="string"&&(y=pa[y],!y))return!1;h.display.input.ensurePolled();var S=h.display.shift,K=!1;try{h.isReadOnly()&&(h.state.suppressEdits=!0),E&&(h.display.shift=!1),K=y(h)!=vt}finally{h.display.shift=S,h.state.suppressEdits=!1}return K}function zh(h,y,E){for(var S=0;S<h.state.keyMaps.length;S++){var K=ai(y,h.state.keyMaps[S],E,h);if(K)return K}return h.options.extraKeys&&ai(y,h.options.extraKeys,E,h)||ai(y,h.options.keyMap,E,h)}var Nh=new Ke;function Bu(h,y,E,S){var K=h.state.keySeq;if(K){if(xo(y))return"handled";if(/\'$/.test(y)?h.state.keySeq=null:Nh.set(50,function(){h.state.keySeq==K&&(h.state.keySeq=null,h.display.input.reset())}),Uc(h,K+" "+y,E,S))return!0}return Uc(h,y,E,S)}function Uc(h,y,E,S){var K=zh(h,y,S);return K=="multi"&&(h.state.keySeq=y),K=="handled"&&Ls(h,"keyHandled",h,y,E),(K=="handled"||K=="multi")&&(ur(E),yu(h)),!!K}function Tl(h,y){var E=Ko(y,!0);return E?y.shiftKey&&!h.state.keySeq?Bu(h,"Shift-"+E,y,function(S){return AA(h,S,!0)})||Bu(h,E,y,function(S){if(typeof S=="string"?/^go[A-Z]/.test(S):S.motion)return AA(h,S)}):Bu(h,E,y,function(S){return AA(h,S)}):!1}function qu(h,y,E){return Bu(h,"'"+E+"'",y,function(S){return AA(h,S,!0)})}var gl=null;function $u(h){var y=this;if(!(h.target&&h.target!=y.display.input.getField())&&(y.curOp.focus=Je(Dt(y)),!rn(y,h))){f&&C<11&&h.keyCode==27&&(h.returnValue=!1);var E=h.keyCode;y.display.shift=E==16||h.shiftKey;var S=Tl(y,h);U&&(gl=S?E:null,!S&&E==88&&!_i&&(H?h.metaKey:h.ctrlKey)&&y.replaceSelection("",null,"cut")),i&&!H&&!S&&E==46&&h.shiftKey&&!h.ctrlKey&&document.execCommand&&document.execCommand("cut"),E==18&&!/\bCodeMirror-crosshair\b/.test(y.display.lineDiv.className)&&No(y)}}function No(h){var y=h.display.lineDiv;Ne(y,"CodeMirror-crosshair");function E(S){(S.keyCode==18||!S.altKey)&&(Be(y,"CodeMirror-crosshair"),Bt(document,"keyup",E),Bt(document,"mouseover",E))}ft(document,"keyup",E),ft(document,"mouseover",E)}function ms(h){h.keyCode==16&&(this.doc.sel.shift=!1),rn(this,h)}function ql(h){var y=this;if(!(h.target&&h.target!=y.display.input.getField())&&!(mu(y.display,h)||rn(y,h)||h.ctrlKey&&!h.altKey||H&&h.metaKey)){var E=h.keyCode,S=h.charCode;if(U&&E==gl){gl=null,ur(h);return}if(!(U&&(!h.which||h.which<10)&&Tl(y,h))){var K=String.fromCharCode(S??E);K!="\b"&&(qu(y,h,K)||y.display.input.onKeyPress(h))}}}var Ga=400,mc=function(h,y,E){this.time=h,this.pos=y,this.button=E};mc.prototype.compare=function(h,y,E){return this.time+Ga>h&&ir(y,this.pos)==0&&E==this.button};var uA,ra;function DA(h,y){var E=+new Date;return ra&&ra.compare(E,h,y)?(uA=ra=null,"triple"):uA&&uA.compare(E,h,y)?(ra=new mc(E,h,y),uA=null,"double"):(uA=new mc(E,h,y),ra=null,"single")}function Ou(h){var y=this,E=y.display;if(!(rn(y,h)||E.activeTouch&&E.input.supportsTouch())){if(E.input.ensurePolled(),E.shift=h.shiftKey,mu(E,h)){w||(E.scroller.draggable=!1,setTimeout(function(){return E.scroller.draggable=!0},100));return}if(!fd(y,h)){var S=Sl(y,h),K=Cr(h),Z=S?DA(S,K):"single";Tt(y).focus(),K==1&&y.state.selectingText&&y.state.selectingText(h),!(S&&mf(y,K,S,Z,h))&&(K==1?S?Gh(y,S,Z,h):Fr(h)==E.scroller&&ur(h):K==2?(S&&dc(y.doc,S),setTimeout(function(){return E.input.focus()},20)):K==3&&(me?y.display.input.onContextMenu(h):oh(y)))}}}function mf(h,y,E,S,K){var Z="Click";return S=="double"?Z="Double"+Z:S=="triple"&&(Z="Triple"+Z),Z=(y==1?"Left":y==2?"Middle":"Right")+Z,Bu(h,Zo(Z,K),K,function(he){if(typeof he=="string"&&(he=pa[he]),!he)return!1;var Ce=!1;try{h.isReadOnly()&&(h.state.suppressEdits=!0),Ce=he(h,E)!=vt}finally{h.state.suppressEdits=!1}return Ce})}function tl(h,y,E){var S=h.getOption("configureMouse"),K=S?S(h,y,E):{};if(K.unit==null){var Z=re?E.shiftKey&&E.metaKey:E.altKey;K.unit=Z?"rectangle":y=="single"?"char":y=="double"?"word":"line"}return(K.extend==null||h.doc.extend)&&(K.extend=h.doc.extend||E.shiftKey),K.addNew==null&&(K.addNew=H?E.metaKey:E.ctrlKey),K.moveOnDrag==null&&(K.moveOnDrag=!(H?E.altKey:E.ctrlKey)),K}function Gh(h,y,E,S){f?setTimeout(It(sA,h),0):h.curOp.focus=Je(Dt(h));var K=tl(h,E,S),Z=h.doc.sel,he;h.options.dragDrop&&Ei&&!h.isReadOnly()&&E=="single"&&(he=Z.contains(y))>-1&&(ir((he=Z.ranges[he]).from(),y)<0||y.xRel>0)&&(ir(he.to(),y)>0||y.xRel<0)?Pd(h,S,y,K):jh(h,S,y,K)}function Pd(h,y,E,S){var K=h.display,Z=!1,he=Do(h,function(Ue){w&&(K.scroller.draggable=!1),h.state.draggingText=!1,h.state.delayingBlurEvent&&(h.hasFocus()?h.state.delayingBlurEvent=!1:oh(h)),Bt(K.wrapper.ownerDocument,"mouseup",he),Bt(K.wrapper.ownerDocument,"mousemove",Ce),Bt(K.scroller,"dragstart",ke),Bt(K.scro Line truncated
`)==y){if(S.ranges.length%cA.text.length==0){Ue=[];for(var mt=0;mt<cA.text.length;mt++)Ue.push(Z.splitLines(cA.text[mt]))}}else ke.length==S.ranges.length&&h.options.pasteLinesPerSelection&&(Ue=Sn(ke,function(Zn){return[Zn]}));for(var Et=h.curOp.updateInput,Xt=S.ranges.length-1;Xt>=0;Xt--){var Qt=S.ranges[Xt],Cn=Qt.from(),On=Qt.to();Qt.empty()&&(E&&E>0?Cn=ln(Cn.line,Cn.ch-E):h.state.overwrite&&!Ce?On=ln(On.line,Math.min(wr(Z,On.line).text.length,On.ch+Jn(ke).length)):Ce&&cA&&cA.lineWise&&cA.text.join(`
`)==ke.join(`
`)&&(Cn=On=ln(Cn.line,0)));var er={from:Cn,to:On,text:Ue?Ue[Xt%Ue.length]:ke,origin:K||(Ce?"paste":h.state.cutIncoming>he?"cut":"+input")};Kc(h.doc,er),Ls(h,"inputRead",h,er)}y&&!Ce&&Fd(h,y),_s(h),h.curOp.updateInput<2&&(h.curOp.updateInput=Et),h.curOp.typing=!0,h.state.pasteIncoming=h.state.cutIncoming=-1}function gc(h,y){var E=h.clipboardData&&h.clipboardData.getData("Text");if(E)return h.preventDefault(),!y.isReadOnly()&&!y.options.disableInput&&y.hasFocus()&&Qs(y,function(){return Kd(y,E,0,null,"paste")}),!0}function Fd(h,y){if(!(!h.options.electricChars||!h.options.smartIndent))for(var E=h.doc.sel,S=E.ranges.length-1;S>=0;S--){var K=E.ranges[S];if(!(K.head.ch>100||S&&E.ranges[S-1].head.line==K.head.line)){var Z=h.getModeAt(K.head),he=!1;if(Z.electricChars){for(var Ce=0;Ce<Z.electricChars.length;Ce++)if(y.indexOf(Z.electricChars.charAt(Ce))>-1){he=Dd(h,K.head.line,"smart");break}}else Z.electricInput&&Z.electricInput.test(wr(h.doc,K.head.line).text.slice(0,K.head.ch))&&(he=Dd(h,K.head.line,"smart"));he&&Ls(h,"electricInput",h,K.head.line)}}}function yf(h){for(var y=[],E=[],S=0;S<h.doc.sel.ranges.length;S++){var K=h.doc.sel.ranges[S].head.line,Z={anchor:ln(K,0),head:ln(K+1,0)};E.push(Z),y.push(h.getRange(Z.anchor,Z.head))}return{text:y,ranges:E}}function vf(h,y,E,S){h.setAttribute("autocorrect",E?"on":"off"),h.setAttribute("autocapitalize",S?"on":"off"),h.setAttribute("spellcheck",!!y)}function md(){var h=be("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; min-height: 1em; outline: none"),y=be("div",[h],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return w?h.style.width="1000px":h.setAttribute("wrap","off"),$&&(h.style.border="1px solid black"),y}function gh(h){var y=h.optionHandlers,E=h.helpers={};h.prototype={constructor:h,focus:function(){Tt(this).focus(),this.display.input.focus()},setOption:function(S,K){var Z=this.options,he=Z[S];Z[S]==K&&S!="mode"||(Z[S]=K,y.hasOwnProperty(S)&&Do(this,y[S])(this,K,he),rt(this,"optionChange",this,S))},getOption:function(S){return this.options[S]},getDoc:function(){return this.doc},addKeyMap:function(S,K){this.state.keyMaps[K?"push":"unshift"](Xo(S))},removeKeyMap:function(S){for(var K=this.state.keyMaps,Z=0;Z<K.length;++Z)if(K[Z]==S||K[Z].name==S)return K.splice(Z,1),!0},addOverlay:di(function(S,K){var Z=S.token?S:h.getMode(this.options,S);if(Z.startState)throw new Error("Overlays may not be stateful.");Mn(this.state.overlays,{mode:Z,modeSpec:S,opaque:K&&K.opaque,priority:K&&K.priority||0},function(he){return he.priority}),this.state.modeGen++,Ja(this)}),removeOverlay:di(function(S){for(var K=this.state.overlays,Z=0;Z<K.length;++Z){var he=K[Z].modeSpec;if(he==S||typeof S=="string"&&he.name==S){K.splice(Z,1),this.state.modeGen++,Ja(this);return}}}),indentLine:di(function(S,K,Z){typeof K!="string"&&typeof K!="number"&&(K==null?K=this.options.smartIndent?"smart":"prev":K=K?"add":"subtract"),mn(this.doc,S)&&Dd(this,S,K,Z)}),indentSelection:di(function(S){for(var K=this.doc.sel.ranges,Z=-1,he=0;he<K.length;he++){var Ce=K[he];if(Ce.empty())Ce.head.line>Z&&(Dd(this,Ce.head.line,S,!0),Z=Ce.head.line,he==this.doc.sel.primIndex&&_s(this));else{var ke=Ce.from(),Ue=Ce.to(),mt=Math.max(Z,ke.line);Z=Math.min(this.lastLine(),Ue.line-(Ue.ch?0:1))+1;for(var Et=mt;Et<Z;++Et)Dd(this,Et,S);var Xt=this.doc.sel.ranges;ke.ch==0&&K.length==Xt.length&&Xt[he].from().ch>0&&Rr(this.doc,he,new Yi(ke,Xt[he].to()),Ot)}}}),getTokenAt:function(S,K){return Al(this,S,K)},getLineTokens:function(S,K){return Al(this,ln(S),K,!0)},getTokenTypeAt:function(S){S=vi(this.doc,S);var K=xa(this,wr(this.doc,S.line)),Z=0,he=(K.length-1)/2,Ce=S.ch,ke;if(Ce==0)ke=K[2];else for(;;){var Ue=Z+he>>1;if((Ue?K[Ue*2-1]:0)>=Ce)he=Ue;else if(K[Ue*2+1]<Ce)Z=Ue+1;else{ke=K[Ue*2+2];break}}var mt=ke?ke.indexOf("overlay "):-1;return mt<0?ke:mt==0?null:ke.slice(0,mt-1)},getModeAt:function(S){var K=this.doc.mode;return K.innerMode?h.innerMode(K,this.getTokenAt(S).state).mode:K},getHelper:function(S,K){return this.getHelpers(S,K)[0]},getHelpers:function(S,K){var Z=[];if(!E.hasOwnProperty(K))return Z;var he=E[K],Ce=this.getModeAt(S);if(typeof Ce[K]=="string")he[Ce[K]]&&Z.push(he[Ce[K]]);else if(Ce[K])for(var ke=0;ke<Ce[K].length;ke++){var Ue=he[Ce[K][ke]];Ue&&Z.push(Ue)}else Ce.helperType&&he[Ce.helperType]?Z.push(he[Ce.helperType]):he[Ce.name]&&Z.push(he[Ce.name]);for(var mt=0;mt<he._global.length;mt++){var Et=he._global[mt];Et.pred(Ce,this)&&$e(Z,Et.val)==-1&&Z.push(Et.val)}return Z},getStateAfter:function(S,K){var Z=this.doc;return S=xA(Z,S??Z.first+Z.size-1),mi(this,S+1,K).state},cursorCoords:function(S,K){var Z,he=this.doc.sel.primary();return S==null?Z=he.head:typeof S=="object"?Z=vi(this.doc,S):Z=S?he.from():he.to(),An(this,Z,K||"page")},charCoords:function(S,K){return bn(this,vi(this.doc,S),K||"page")},coordsChar:function(S,K){return S=Zt(this,S,K||"page"),Po(this,S.left,S.top)},lineAtHeight:function(S,K){return S=Zt(this,{top:S,left:0},K||"page").top,St( Line truncated
`)&&(Cn=On=ln(Cn.line,0)));var er={from:Cn,to:On,text:Ue?Ue[Xt%Ue.length]:ke,origin:K||(Ce?"paste":h.state.cutIncoming>he?"cut":"+input")};Kc(h.doc,er),Ls(h,"inputRead",h,er)}y&&!Ce&&Fd(h,y),_s(h),h.curOp.updateInput<2&&(h.curOp.updateInput=Et),h.curOp.typing=!0,h.state.pasteIncoming=h.state.cutIncoming=-1}function gc(h,y){var E=h.clipboardData&&h.clipboardData.getData("Text");if(E)return h.preventDefault(),!y.isReadOnly()&&!y.options.disableInput&&y.hasFocus()&&Qs(y,function(){return Kd(y,E,0,null,"paste")}),!0}function Fd(h,y){if(!(!h.options.electricChars||!h.options.smartIndent))for(var E=h.doc.sel,S=E.ranges.length-1;S>=0;S--){var K=E.ranges[S];if(!(K.head.ch>100||S&&E.ranges[S-1].head.line==K.head.line)){var Z=h.getModeAt(K.head),he=!1;if(Z.electricChars){for(var Ce=0;Ce<Z.electricChars.length;Ce++)if(y.indexOf(Z.electricChars.charAt(Ce))>-1){he=Dd(h,K.head.line,"smart");break}}else Z.electricInput&&Z.electricInput.test(wr(h.doc,K.head.line).text.slice(0,K.head.ch))&&(he=Dd(h,K.head.line,"smart"));he&&Ls(h,"electricInput",h,K.head.line)}}}function yf(h){for(var y=[],E=[],S=0;S<h.doc.sel.ranges.length;S++){var K=h.doc.sel.ranges[S].head.line,Z={anchor:ln(K,0),head:ln(K+1,0)};E.push(Z),y.push(h.getRange(Z.anchor,Z.head))}return{text:y,ranges:E}}function vf(h,y,E,S){h.setAttribute("autocorrect",E?"on":"off"),h.setAttribute("autocapitalize",S?"on":"off"),h.setAttribute("spellcheck",!!y)}function md(){var h=be("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; min-height: 1em; outline: none"),y=be("div",[h],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return w?h.style.width="1000px":h.setAttribute("wrap","off"),$&&(h.style.border="1px solid black"),y}function gh(h){var y=h.optionHandlers,E=h.helpers={};h.prototype={constructor:h,focus:function(){Tt(this).focus(),this.display.input.focus()},setOption:function(S,K){var Z=this.options,he=Z[S];Z[S]==K&&S!="mode"||(Z[S]=K,y.hasOwnProperty(S)&&Do(this,y[S])(this,K,he),rt(this,"optionChange",this,S))},getOption:function(S){return this.options[S]},getDoc:function(){return this.doc},addKeyMap:function(S,K){this.state.keyMaps[K?"push":"unshift"](Xo(S))},removeKeyMap:function(S){for(var K=this.state.keyMaps,Z=0;Z<K.length;++Z)if(K[Z]==S||K[Z].name==S)return K.splice(Z,1),!0},addOverlay:di(function(S,K){var Z=S.token?S:h.getMode(this.options,S);if(Z.startState)throw new Error("Overlays may not be stateful.");Mn(this.state.overlays,{mode:Z,modeSpec:S,opaque:K&&K.opaque,priority:K&&K.priority||0},function(he){return he.priority}),this.state.modeGen++,Ja(this)}),removeOverlay:di(function(S){for(var K=this.state.overlays,Z=0;Z<K.length;++Z){var he=K[Z].modeSpec;if(he==S||typeof S=="string"&&he.name==S){K.splice(Z,1),this.state.modeGen++,Ja(this);return}}}),indentLine:di(function(S,K,Z){typeof K!="string"&&typeof K!="number"&&(K==null?K=this.options.smartIndent?"smart":"prev":K=K?"add":"subtract"),mn(this.doc,S)&&Dd(this,S,K,Z)}),indentSelection:di(function(S){for(var K=this.doc.sel.ranges,Z=-1,he=0;he<K.length;he++){var Ce=K[he];if(Ce.empty())Ce.head.line>Z&&(Dd(this,Ce.head.line,S,!0),Z=Ce.head.line,he==this.doc.sel.primIndex&&_s(this));else{var ke=Ce.from(),Ue=Ce.to(),mt=Math.max(Z,ke.line);Z=Math.min(this.lastLine(),Ue.line-(Ue.ch?0:1))+1;for(var Et=mt;Et<Z;++Et)Dd(this,Et,S);var Xt=this.doc.sel.ranges;ke.ch==0&&K.length==Xt.length&&Xt[he].from().ch>0&&Rr(this.doc,he,new Yi(ke,Xt[he].to()),Ot)}}}),getTokenAt:function(S,K){return Al(this,S,K)},getLineTokens:function(S,K){return Al(this,ln(S),K,!0)},getTokenTypeAt:function(S){S=vi(this.doc,S);var K=xa(this,wr(this.doc,S.line)),Z=0,he=(K.length-1)/2,Ce=S.ch,ke;if(Ce==0)ke=K[2];else for(;;){var Ue=Z+he>>1;if((Ue?K[Ue*2-1]:0)>=Ce)he=Ue;else if(K[Ue*2+1]<Ce)Z=Ue+1;else{ke=K[Ue*2+2];break}}var mt=ke?ke.indexOf("overlay "):-1;return mt<0?ke:mt==0?null:ke.slice(0,mt-1)},getModeAt:function(S){var K=this.doc.mode;return K.innerMode?h.innerMode(K,this.getTokenAt(S).state).mode:K},getHelper:function(S,K){return this.getHelpers(S,K)[0]},getHelpers:function(S,K){var Z=[];if(!E.hasOwnProperty(K))return Z;var he=E[K],Ce=this.getModeAt(S);if(typeof Ce[K]=="string")he[Ce[K]]&&Z.push(he[Ce[K]]);else if(Ce[K])for(var ke=0;ke<Ce[K].length;ke++){var Ue=he[Ce[K][ke]];Ue&&Z.push(Ue)}else Ce.helperType&&he[Ce.helperType]?Z.push(he[Ce.helperType]):he[Ce.name]&&Z.push(he[Ce.name]);for(var mt=0;mt<he._global.length;mt++){var Et=he._global[mt];Et.pred(Ce,this)&&$e(Z,Et.val)==-1&&Z.push(Et.val)}return Z},getStateAfter:function(S,K){var Z=this.doc;return S=xA(Z,S??Z.first+Z.size-1),mi(this,S+1,K).state},cursorCoords:function(S,K){var Z,he=this.doc.sel.primary();return S==null?Z=he.head:typeof S=="object"?Z=vi(this.doc,S):Z=S?he.from():he.to(),An(this,Z,K||"page")},charCoords:function(S,K){return bn(this,vi(this.doc,S),K||"page")},coordsChar:function(S,K){return S=Zt(this,S,K||"page"),Po(this,S.left,S.top)},lineAtHeight:function(S,K){return S=Zt(this,{top:S,left:0},K||"page").top,St( Line truncated
`,er=Ge(On,Qt)?"w":Xt&&On==`
`?"n":!Xt||/\s/.test(On)?null:"p";if(Xt&&!Cn&&!er&&(er="s"),Et&&Et!=er){E<0&&(E=1,mt(),y.sticky="after");break}if(er&&(Et=er),E>0&&!mt(!Cn))break}var Zn=Ms(h,y,Z,he,!0);return ji(Z,Zn)&&(Zn.hitSide=!0),Zn}function Cf(h,y,E,S){var K=h.doc,Z=y.left,he;if(S=="page"){var Ce=Math.min(h.display.wrapper.clientHeight,Tt(h).innerHeight||K(h).documentElement.clientHeight),ke=Math.max(Ce-.5*Xa(h.display),3);he=(E>0?y.bottom:y.top)+E*ke}else S=="line"&&(he=E>0?y.bottom+3:y.top-3);for(var Ue;Ue=Po(h,Z,he),!!Ue.outside;){if(E<0?he<=0:he>=K.height){Ue.hitSide=!0;break}he+=E*5}return Ue}var Go=function(h){this.cm=h,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Ke,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Go.prototype.init=function(h){var y=this,E=this,S=E.cm,K=E.div=h.lineDiv;K.contentEditable=!0,vf(K,S.options.spellcheck,S.options.autocorrect,S.options.autocapitalize);function Z(Ce){for(var ke=Ce.target;ke;ke=ke.parentNode){if(ke==K)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(ke.className))break}return!1}ft(K,"paste",function(Ce){!Z(Ce)||rn(S,Ce)||gc(Ce,S)||C<=11&&setTimeout(Do(S,function(){return y.updateFromDOM()}),20)}),ft(K,"compositionstart",function(Ce){y.composing={data:Ce.data,done:!1}}),ft(K,"compositionupdate",function(Ce){y.composing||(y.composing={data:Ce.data,done:!1})}),ft(K,"compositionend",function(Ce){y.composing&&(Ce.data!=y.composing.data&&y.readFromDOMSoon(),y.composing.done=!0)}),ft(K,"touchstart",function(){return E.forceCompositionEnd()}),ft(K,"input",function(){y.composing||y.readFromDOMSoon()});function he(Ce){if(!(!Z(Ce)||rn(S,Ce))){if(S.somethingSelected())Wh({lineWise:!1,text:S.getSelections()}),Ce.type=="cut"&&S.replaceSelection("",null,"cut");else if(S.options.lineWiseCopyCut){var ke=yf(S);Wh({lineWise:!0,text:ke.text}),Ce.type=="cut"&&S.operation(function(){S.setSelections(ke.ranges,0,Ot),S.replaceSelection("",null,"cut")})}else return;if(Ce.clipboardData){Ce.clipboardData.clearData();var Ue=cA.text.join(`
`);if(Ce.clipboardData.setData("Text",Ue),Ce.clipboardData.getData("Text")==Ue){Ce.preventDefault();return}}var mt=md(),Et=mt.firstChild;vf(Et),S.display.lineSpace.insertBefore(mt,S.display.lineSpace.firstChild),Et.value=cA.text.join(`
@@ -884,9 +884,9 @@ b`.split(/\n/).length!=3?function(h){for(var y=0,E=[],S=h.length;y<=S;){var K=h.
`)>-1?E.value=h.prevInput="":h.prevInput=K,h.composing&&(h.composing.range.clear(),h.composing.range=y.markText(h.composing.start,y.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Da.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Da.prototype.onKeyPress=function(){f&&C>=9&&(this.hasSelection=null),this.fastPoll()},Da.prototype.onContextMenu=function(h){var y=this,E=y.cm,S=E.display,K=y.textarea;y.contextMenuPending&&y.contextMenuPending();var Z=Sl(E,h),he=S.scroller.scrollTop;if(!Z||U)return;var Ce=E.options.resetSelectionOnContextMenu;Ce&&E.doc.sel.contains(Z)==-1&&Do(E,zo)(E.doc,Ta(Z),Ot);var ke=K.style.cssText,Ue=y.wrapper.style.cssText,mt=y.wrapper.offsetParent.getBoundingClientRect();y.wrapper.style.cssText="position: static",K.style.cssText=`position: absolute; width: 30px; height: 30px;
top: `+(h.clientY-mt.top-5)+"px; left: "+(h.clientX-mt.left-5)+`px;
z-index: 1000; background: `+(f?"rgba(255, 255, 255, .05)":"transparent")+`;
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var Et;w&&(Et=K.ownerDocument.defaultView.scrollY),S.input.focus(),w&&K.ownerDocument.defaultView.scrollTo(null,Et),S.input.reset(),E.somethingSelected()||(K.value=y.prevInput=" "),y.contextMenuPending=Qt,S.selForContextMenu=E.doc.sel,clearTimeout(S.detectingSelectAll);function Xt(){if(K.selectionStart!=null){var On=E.somethingSelected(),er="​"+(On?K.value:"");K.value="⇚",K.value=er,y.prevInput=On?"":"​",K.selectionStart=1,K.selectionEnd=er.length,S.selForContextMenu=E.doc.sel}}function Qt(){if(y.contextMenuPending==Qt&&(y.contextMenuPending=!1,y.wrapper.style.cssText=Ue,K.style.cssText=ke,f&&C<9&&S.scrollbars.setScrollTop(S.scroller.scrollTop=he),K.selectionStart!=null)){(!f||f&&C<9)&&Xt();var On=0,er=function(){S.selForContextMenu==E.doc.sel&&K.selectionStart==0&&K.selectionEnd>0&&y.prevInput=="​"?Do(E,ml)(E):On++<10?S.detectingSelectAll=setTimeout(er,500):(S.selForContextMenu=null,S.input.reset())};S.detectingSelectAll=setTimeout(er,200)}}if(f&&C>=9&&Xt(),me){ci(h);var Cn=function(){Bt(window,"mouseup",Cn),setTimeout(Qt,20)};ft(window,"mouseup",Cn)}else setTimeout(Qt,50)},Da.prototype.readOnlyChanged=function(h){h||this.reset(),this.textarea.disabled=h=="nocursor",this.textarea.readOnly=!!h},Da.prototype.setUneditable=function(){},Da.prototype.needsContentAttribute=!1;function Gp(h,y){if(y=y?Le(y):{},y.value=h.value,!y.tabindex&&h.tabIndex&&(y.tabindex=h.tabIndex),!y.placeholder&&h.placeholder&&(y.placeholder=h.placeholder),y.autofocus==null){var E=Je(pt(h));y.autofocus=E==h||h.getAttribute("autofocus")!=null&&E==document.body}function S(){h.value=Ce.getValue()}var K;if(h.form&&(ft(h.form,"submit",S),!y.leaveSubmitMethodAlone)){var Z=h.form;K=Z.submit;try{var he=Z.submit=function(){S(),Z.submit=K,Z.submit(),Z.submit=he}}catch{}}y.finishInit=function(ke){ke.save=S,ke.getTextArea=function(){return h},ke.toTextArea=function(){ke.toTextArea=isNaN,S(),h.parentNode.removeChild(ke.getWrapperElement()),h.style.display="",h.form&&(Bt(h.form,"submit",S),!y.leaveSubmitMethodAlone&&typeof h.form.submit=="function"&&(h.form.submit=K))}},h.style.display="none";var Ce=Yo(function(ke){return h.parentNode.insertBefore(ke,h.nextSibling)},y);return Ce}function Xf(h){h.off=Bt,h.on=ft,h.wheelEventPixels=ch,h.Doc=it,h.splitLines=Bs,h.countColumn=Re,h.findColumn=un,h.isWordChar=Dn,h.Pass=vt,h.signal=rt,h.Line=Oa,h.changeEnd=wa,h.scrollbarModel=Fh,h.Pos=ln,h.cmpPos=ir,h.modes=la,h.mimeModes=is,h.resolveMode=Aa,h.getMode=Wo,h.modeExtensions=Fs,h.extendMode=bl,h.copyState=ni,h.startState=Os,h.innerMode=bA,h.commands=pa,h.keyMap=Ln,h.keyName=Ko,h.isModifierKey=xo,h.lookupKey=ai,h.normalizeKeyMap=br,h.StringStream=qr,h.SharedTextMarker=ue,h.TextMarker=Y,h.LineWidget=v,h.e_preventDefault=ur,h.e_stopPropagation=yi,h.e_stop=ci,h.addClass=Ne,h.contains=at,h.rmClass=Be,h.keyNames=Vt}kl(Yo),gh(Yo);var hA="iter insert remove copy getEditor constructor".split(" ");for(var Jf in it.prototype)it.prototype.hasOwnProperty(Jf)&&$e(hA,Jf)<0&&(Yo.prototype[Jf]=function(h){return function(){return h.apply(this.doc,arguments)}}(it.prototype[Jf]));return dr(it),Yo.inputStyles={textarea:Da,contenteditable:Go},Yo.defineMode=function(h){!Yo.defaults.mode&&h!="null"&&(Yo.defaults.mode=h),Nr.apply(this,arguments)},Yo.defineMIME=Ha,Yo.defineMode("null",function(){return{token:function(h){return h.skipToEnd()}}}),Yo.defineMIME("text/plain","null"),Yo.defineExtension=function(h,y){Yo.prototype[h]=y},Yo.defineDocExtension=function(h,y){it.prototype[h]=y},Yo.fromTextArea=Gp,Xf(Yo),Yo.version="5.65.20",Yo})}(i2)),i2.exports}var nse=h3();const Sp=zl(nse);var zT={exports:{}},NT;function rse(){return NT||(NT=1,function(n,e){(function(t){t(h3())})(function(t){t.defineMode("javascript",function(r,i){var s=r.indentUnit,l=i.statementIndent,o=i.jsonld,f=i.json||o,C=i.trackScope!==!1,w=i.typescript,B=i.wordCharacters||/[\w$\xa1-\uffff]/,D=function(){function Qe(wo){return{type:wo,style:"keyword"}}var St=Qe("keyword a"),mn=Qe("keyword b"),Fn=Qe("keyword c"),ln=Qe("keyword d"),ir=Qe("operator"),ji={type:"atom",style:"atom"};return{if:Qe("if"),while:St,with:St,else:mn,do:mn,try:mn,finally:mn,return:ln,break:ln,continue:ln,new:Qe("new"),delete:Fn,void:Fn,throw:Fn,debugger:Qe("debugger"),var:Qe("var"),const:Qe("var"),let:Qe("var"),function:Qe("function"),catch:Qe("catch"),for:Qe("for"),switch:Qe("switch"),case:Qe("case"),default:Qe("default"),in:ir,typeof:ir,instanceof:ir,true:ji,false:ji,null:ji,undefined:ji,NaN:ji,Infinity:ji,this:Qe("this"),class:Qe("class"),super:Qe("atom"),yield:Fn,export:Qe("export"),import:Qe("import"),extends:Fn,await:Fn}}(),R=/[+\-*&%=<>!?|~^@]/,U=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function G(Qe){for(var St=!1,mn,Fn=!1;(mn=Qe.next())!=null;){if(!St){if(mn=="/"&&!Fn)return;mn=="["?Fn=!0:Fn&&mn=="]"&&(Fn=!1)}St=!St&&mn=="\\"}}var W,J;function $(Qe,St,mn){return W=Qe,J=mn,St}funct Line truncated
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var Et;w&&(Et=K.ownerDocument.defaultView.scrollY),S.input.focus(),w&&K.ownerDocument.defaultView.scrollTo(null,Et),S.input.reset(),E.somethingSelected()||(K.value=y.prevInput=" "),y.contextMenuPending=Qt,S.selForContextMenu=E.doc.sel,clearTimeout(S.detectingSelectAll);function Xt(){if(K.selectionStart!=null){var On=E.somethingSelected(),er="​"+(On?K.value:"");K.value="⇚",K.value=er,y.prevInput=On?"":"​",K.selectionStart=1,K.selectionEnd=er.length,S.selForContextMenu=E.doc.sel}}function Qt(){if(y.contextMenuPending==Qt&&(y.contextMenuPending=!1,y.wrapper.style.cssText=Ue,K.style.cssText=ke,f&&C<9&&S.scrollbars.setScrollTop(S.scroller.scrollTop=he),K.selectionStart!=null)){(!f||f&&C<9)&&Xt();var On=0,er=function(){S.selForContextMenu==E.doc.sel&&K.selectionStart==0&&K.selectionEnd>0&&y.prevInput=="​"?Do(E,ml)(E):On++<10?S.detectingSelectAll=setTimeout(er,500):(S.selForContextMenu=null,S.input.reset())};S.detectingSelectAll=setTimeout(er,200)}}if(f&&C>=9&&Xt(),me){ci(h);var Cn=function(){Bt(window,"mouseup",Cn),setTimeout(Qt,20)};ft(window,"mouseup",Cn)}else setTimeout(Qt,50)},Da.prototype.readOnlyChanged=function(h){h||this.reset(),this.textarea.disabled=h=="nocursor",this.textarea.readOnly=!!h},Da.prototype.setUneditable=function(){},Da.prototype.needsContentAttribute=!1;function Gp(h,y){if(y=y?Le(y):{},y.value=h.value,!y.tabindex&&h.tabIndex&&(y.tabindex=h.tabIndex),!y.placeholder&&h.placeholder&&(y.placeholder=h.placeholder),y.autofocus==null){var E=Je(pt(h));y.autofocus=E==h||h.getAttribute("autofocus")!=null&&E==document.body}function S(){h.value=Ce.getValue()}var K;if(h.form&&(ft(h.form,"submit",S),!y.leaveSubmitMethodAlone)){var Z=h.form;K=Z.submit;try{var he=Z.submit=function(){S(),Z.submit=K,Z.submit(),Z.submit=he}}catch{}}y.finishInit=function(ke){ke.save=S,ke.getTextArea=function(){return h},ke.toTextArea=function(){ke.toTextArea=isNaN,S(),h.parentNode.removeChild(ke.getWrapperElement()),h.style.display="",h.form&&(Bt(h.form,"submit",S),!y.leaveSubmitMethodAlone&&typeof h.form.submit=="function"&&(h.form.submit=K))}},h.style.display="none";var Ce=Yo(function(ke){return h.parentNode.insertBefore(ke,h.nextSibling)},y);return Ce}function Xf(h){h.off=Bt,h.on=ft,h.wheelEventPixels=ch,h.Doc=it,h.splitLines=Bs,h.countColumn=Re,h.findColumn=un,h.isWordChar=Dn,h.Pass=vt,h.signal=rt,h.Line=Oa,h.changeEnd=wa,h.scrollbarModel=Fh,h.Pos=ln,h.cmpPos=ir,h.modes=la,h.mimeModes=is,h.resolveMode=Aa,h.getMode=Wo,h.modeExtensions=Fs,h.extendMode=bl,h.copyState=ni,h.startState=Os,h.innerMode=bA,h.commands=pa,h.keyMap=Ln,h.keyName=Ko,h.isModifierKey=xo,h.lookupKey=ai,h.normalizeKeyMap=br,h.StringStream=qr,h.SharedTextMarker=ue,h.TextMarker=Y,h.LineWidget=v,h.e_preventDefault=ur,h.e_stopPropagation=yi,h.e_stop=ci,h.addClass=Ne,h.contains=at,h.rmClass=Be,h.keyNames=Vt}kl(Yo),gh(Yo);var hA="iter insert remove copy getEditor constructor".split(" ");for(var Jf in it.prototype)it.prototype.hasOwnProperty(Jf)&&$e(hA,Jf)<0&&(Yo.prototype[Jf]=function(h){return function(){return h.apply(this.doc,arguments)}}(it.prototype[Jf]));return dr(it),Yo.inputStyles={textarea:Da,contenteditable:Go},Yo.defineMode=function(h){!Yo.defaults.mode&&h!="null"&&(Yo.defaults.mode=h),Nr.apply(this,arguments)},Yo.defineMIME=Ha,Yo.defineMode("null",function(){return{token:function(h){return h.skipToEnd()}}}),Yo.defineMIME("text/plain","null"),Yo.defineExtension=function(h,y){Yo.prototype[h]=y},Yo.defineDocExtension=function(h,y){it.prototype[h]=y},Yo.fromTextArea=Gp,Xf(Yo),Yo.version="5.65.20",Yo})}(i2)),i2.exports}var tse=c3();const Sp=Jl(tse);var zT={exports:{}},NT;function nse(){return NT||(NT=1,function(n,e){(function(t){t(c3())})(function(t){t.defineMode("javascript",function(r,i){var s=r.indentUnit,l=i.statementIndent,o=i.jsonld,f=i.json||o,C=i.trackScope!==!1,w=i.typescript,B=i.wordCharacters||/[\w$\xa1-\uffff]/,D=function(){function Qe(wo){return{type:wo,style:"keyword"}}var St=Qe("keyword a"),mn=Qe("keyword b"),Fn=Qe("keyword c"),ln=Qe("keyword d"),ir=Qe("operator"),ji={type:"atom",style:"atom"};return{if:Qe("if"),while:St,with:St,else:mn,do:mn,try:mn,finally:mn,return:ln,break:ln,continue:ln,new:Qe("new"),delete:Fn,void:Fn,throw:Fn,debugger:Qe("debugger"),var:Qe("var"),const:Qe("var"),let:Qe("var"),function:Qe("function"),catch:Qe("catch"),for:Qe("for"),switch:Qe("switch"),case:Qe("case"),default:Qe("default"),in:ir,typeof:ir,instanceof:ir,true:ji,false:ji,null:ji,undefined:ji,NaN:ji,Infinity:ji,this:Qe("this"),class:Qe("class"),super:Qe("atom"),yield:Fn,export:Qe("export"),import:Qe("import"),extends:Fn,await:Fn}}(),R=/[+\-*&%=<>!?|~^@]/,U=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function G(Qe){for(var St=!1,mn,Fn=!1;(mn=Qe.next())!=null;){if(!St){if(mn=="/"&&!Fn)return;mn=="["?Fn=!0:Fn&&mn=="]"&&(Fn=!1)}St=!St&&mn=="\\"}}var W,J;function $(Qe,St,mn){return W=Qe,J=mn,St}funct Line truncated
${B}`),G].join(`
${o}`)}return C}(n,"",0)}var Jv={exports:{}},ase=Jv.exports,YT;function lse(){return YT||(YT=1,function(n,e){(function(t,r){r(e)})(ase,function(t){const r={isWhiteSpace:function(Ne){return Ne===" "||Ne===" "||Ne==="\uFEFF"||Ne>=" "&&Ne<="\r"||Ne===" "||Ne>=" "&&Ne<=" "||Ne==="\u2028"||Ne==="\u2029"||Ne===" "||Ne===" "||Ne===" "},isWhiteSpaceJSON:function(Ne){return Ne===" "||Ne===" "||Ne===`
${o}`)}return C}(n,"",0)}var Jv={exports:{}},sse=Jv.exports,YT;function ase(){return YT||(YT=1,function(n,e){(function(t,r){r(e)})(sse,function(t){const r={isWhiteSpace:function(Ne){return Ne===" "||Ne===" "||Ne==="\uFEFF"||Ne>=" "&&Ne<="\r"||Ne===" "||Ne>=" "&&Ne<=" "||Ne==="\u2028"||Ne==="\u2029"||Ne===" "||Ne===" "||Ne===" "},isWhiteSpaceJSON:function(Ne){return Ne===" "||Ne===" "||Ne===`
`||Ne==="\r"},isLineTerminator:function(Ne){return Ne===`
`||Ne==="\r"||Ne==="\u2028"||Ne==="\u2029"},isLineTerminatorJSON:function(Ne){return Ne===`
`||Ne==="\r"},isIdentifierStart:function(Ne){return Ne==="$"||Ne==="_"||Ne>="A"&&Ne<="Z"||Ne>="a"&&Ne<="z"||Ne>="€"&&r.NonAsciiIdentifierStart.test(Ne)},isIdentifierPart:function(Ne){return Ne==="$"||Ne==="_"||Ne>="A"&&Ne<="Z"||Ne>="a"&&Ne<="z"||Ne>="0"&&Ne<="9"||Ne>="€"&&r.NonAsciiIdentifierPart.test(Ne)},NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\uLine truncated
@@ -896,16 +896,16 @@ ${pt}
${It}
${Je}`):Tt=`Parse error in JSON input:
${pt}
${Je}`,{message:Tt,excerpt:pt,pointer:It}}function Be(Je,Ne){let Te=j(Ne);const Ze=Ae(Je,Te)||ge(Je,Te)||me(Je,Te);let gt,Dt,pt;Ze?(gt=Ze.offset,Dt=Ze.line,pt=Ze.column,Te=Ze.reason):gt=0,Ne.reason=Te;const Tt=xe(Te,Je,gt,Dt,pt);return Ne.message=Tt.message,Ne.excerpt=Tt.excerpt,Tt.pointer&&(Ne.pointer=Tt.pointer,Ne.location={start:{column:pt,line:Dt,offset:gt}}),Ne}function Me(Je,Ne){try{return JSON.parse(Je,Ne)}catch(Te){const Ze=Be(Je,Te);if(Te.location)throw Ze;return D(Je,Ne)}}const We=typeof navigator<"u"&&/Safari/.test(navigator.userAgent)&&/Apple Computer/.test(navigator.vendor),be=typeof process<"u"&&process.version.startsWith("v4.");function nt(Je){return Je.ignoreBOM||Je.ignoreComments||Je.ignoreTrailingCommas||Je.allowSingleQuotedStrings||Je.allowDuplicateObjectKeys===!1||Je.ignoreProtoKey||Je.ignorePrototypeKeys||Je.mode==="cjson"||Je.mode==="json5"||We||be}function _t(Je){if(typeof Je=="function")return Je;if(Je)return Je.reviver}function at(Je,Ne){return Ne||(Ne={}),nt(Ne)?D(Je,Ne):Me(Je,_t(Ne))}t.parse=at,t.tokenize=R,t.pathToPointer=G,t.pointerToPath=J,t.parseNative=Me,t.parseCustom=D,t.getErrorTexts=xe,Object.defineProperty(t,"__esModule",{value:!0})})}(Jv,Jv.exports)),Jv.exports}var Ase=lse(),o2={exports:{}},use=o2.exports,qT;function cse(){return qT||(qT=1,function(n,e){(function(t,r){n.exports=r()})(use,function(){var t=typeof window<"u"||typeof window<"u"?window:typeof self<"u"?self:{};function r(Re,Ke){return Ke={exports:{}},Re(Ke,Ke.exports),Ke.exports}var i=r(function(Re){function Ke(){var $e=0,bt=1,vt=2,Ot=3,$t=4,Kt=5,un=6,$n=7,Wt=8,Jn=9,Sn=10,Mn=11,En=12,Er=13,Yn=14,Dn=15,Ge=16,de=17,ie=0,se=1,fe=2,Ie=3,je=4;function ht(m,ft){return 55296<=m.charCodeAt(ft)&&m.charCodeAt(ft)<=56319&&56320<=m.charCodeAt(ft+1)&&m.charCodeAt(ft+1)<=57343}function Ve(m,ft){ft===void 0&&(ft=0);var ut=m.charCodeAt(ft);if(55296<=ut&&ut<=56319&&ft<m.length-1){var Bt=ut,rt=m.charCodeAt(ft+1);return 56320<=rt&&rt<=57343?(Bt-55296)*1024+(rt-56320)+65536:Bt}if(56320<=ut&&ut<=57343&&ft>=1){var Bt=m.charCodeAt(ft-1),rt=ut;return 55296<=Bt&&Bt<=56319?(Bt-55296)*1024+(rt-56320)+65536:rt}return ut}function Pe(m,ft,ut){var Bt=[m].concat(ft).concat([ut]),rt=Bt[Bt.length-2],rn=ut,Wn=Bt.lastIndexOf(Yn);if(Wn>1&&Bt.slice(1,Wn).every(function(ur){return ur==Ot})&&[Ot,Er,de].indexOf(m)==-1)return fe;var xn=Bt.lastIndexOf($t);if(xn>0&&Bt.slice(1,xn).every(function(ur){return ur==$t})&&[En,$t].indexOf(rt)==-1)return Bt.filter(function(ur){return ur==$t}).length%2==1?Ie:je;if(rt==$e&&rn==bt)return ie;if(rt==vt||rt==$e||rt==bt)return rn==Yn&&ft.every(function(ur){return ur==Ot})?fe:se;if(rn==vt||rn==$e||rn==bt)return se;if(rt==un&&(rn==un||rn==$n||rn==Jn||rn==Sn))return ie;if((rt==Jn||rt==$n)&&(rn==$n||rn==Wt))return ie;if((rt==Sn||rt==Wt)&&rn==Wt)return ie;if(rn==Ot||rn==Dn)return ie;if(rn==Kt)return ie;if(rt==En)return ie;var dr=Bt.indexOf(Ot)!=-1?Bt.lastIndexOf(Ot)-1:Bt.length-2;return[Er,de].indexOf(Bt[dr])!=-1&&Bt.slice(dr+1,-1).every(function(ur){return ur==Ot})&&rn==Yn||rt==Dn&&[Ge,de].indexOf(rn)!=-1?ie:ft.indexOf($t)!=-1?fe:rt==$t&&rn==$t?ie:se}this.nextBreak=function(m,ft){if(ft===void 0&&(ft=0),ft<0)return 0;if(ft>=m.length-1)return m.length;for(var ut=He(Ve(m,ft)),Bt=[],rt=ft+1;rt<m.length;rt++)if(!ht(m,rt-1)){var rn=He(Ve(m,rt));if(Pe(ut,Bt,rn))return rt;Bt.push(rn)}return m.length},this.splitGraphemes=function(m){for(var ft=[],ut=0,Bt;(Bt=this.nextBreak(m,ut))<m.length;)ft.push(m.slice(ut,Bt)),ut=Bt;return ut<m.length&&ft.push(m.slice(ut)),ft},this.iterateGraphemes=function(m){var ft=0,ut={next:(function(){var Bt,rt;return(rt=this.nextBreak(m,ft))<m.length?(Bt=m.slice(ft,rt),ft=rt,{value:Bt,done:!1}):ft<m.length?(Bt=m.slice(ft),ft=m.length,{value:Bt,done:!1}):{value:void 0,done:!0}}).bind(this)};return typeof Symbol<"u"&&Symbol.iterator&&(ut[Symbol.iterator]=function(){return ut}),ut},this.countGraphemes=function(m){for(var ft=0,ut=0,Bt;(Bt=this.nextBreak(m,ut))<m.length;)ut=Bt,ft++;return ut<m.length&&ft++,ft};function He(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?En:m==13?$e:m==10?bt: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?vt: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<= Line truncated
${Je}`,{message:Tt,excerpt:pt,pointer:It}}function Be(Je,Ne){let Te=j(Ne);const Ze=Ae(Je,Te)||ge(Je,Te)||me(Je,Te);let gt,Dt,pt;Ze?(gt=Ze.offset,Dt=Ze.line,pt=Ze.column,Te=Ze.reason):gt=0,Ne.reason=Te;const Tt=xe(Te,Je,gt,Dt,pt);return Ne.message=Tt.message,Ne.excerpt=Tt.excerpt,Tt.pointer&&(Ne.pointer=Tt.pointer,Ne.location={start:{column:pt,line:Dt,offset:gt}}),Ne}function Me(Je,Ne){try{return JSON.parse(Je,Ne)}catch(Te){const Ze=Be(Je,Te);if(Te.location)throw Ze;return D(Je,Ne)}}const We=typeof navigator<"u"&&/Safari/.test(navigator.userAgent)&&/Apple Computer/.test(navigator.vendor),be=typeof process<"u"&&process.version.startsWith("v4.");function nt(Je){return Je.ignoreBOM||Je.ignoreComments||Je.ignoreTrailingCommas||Je.allowSingleQuotedStrings||Je.allowDuplicateObjectKeys===!1||Je.ignoreProtoKey||Je.ignorePrototypeKeys||Je.mode==="cjson"||Je.mode==="json5"||We||be}function _t(Je){if(typeof Je=="function")return Je;if(Je)return Je.reviver}function at(Je,Ne){return Ne||(Ne={}),nt(Ne)?D(Je,Ne):Me(Je,_t(Ne))}t.parse=at,t.tokenize=R,t.pathToPointer=G,t.pointerToPath=J,t.parseNative=Me,t.parseCustom=D,t.getErrorTexts=xe,Object.defineProperty(t,"__esModule",{value:!0})})}(Jv,Jv.exports)),Jv.exports}var lse=ase(),o2={exports:{}},Ase=o2.exports,qT;function use(){return qT||(qT=1,function(n,e){(function(t,r){n.exports=r()})(Ase,function(){var t=typeof window<"u"||typeof window<"u"?window:typeof self<"u"?self:{};function r(Re,Ke){return Ke={exports:{}},Re(Ke,Ke.exports),Ke.exports}var i=r(function(Re){function Ke(){var $e=0,bt=1,vt=2,Ot=3,$t=4,Kt=5,un=6,$n=7,Wt=8,Jn=9,Sn=10,Mn=11,En=12,Er=13,Yn=14,Dn=15,Ge=16,de=17,ie=0,se=1,fe=2,Ie=3,je=4;function ht(m,ft){return 55296<=m.charCodeAt(ft)&&m.charCodeAt(ft)<=56319&&56320<=m.charCodeAt(ft+1)&&m.charCodeAt(ft+1)<=57343}function Ve(m,ft){ft===void 0&&(ft=0);var ut=m.charCodeAt(ft);if(55296<=ut&&ut<=56319&&ft<m.length-1){var Bt=ut,rt=m.charCodeAt(ft+1);return 56320<=rt&&rt<=57343?(Bt-55296)*1024+(rt-56320)+65536:Bt}if(56320<=ut&&ut<=57343&&ft>=1){var Bt=m.charCodeAt(ft-1),rt=ut;return 55296<=Bt&&Bt<=56319?(Bt-55296)*1024+(rt-56320)+65536:rt}return ut}function Pe(m,ft,ut){var Bt=[m].concat(ft).concat([ut]),rt=Bt[Bt.length-2],rn=ut,Wn=Bt.lastIndexOf(Yn);if(Wn>1&&Bt.slice(1,Wn).every(function(ur){return ur==Ot})&&[Ot,Er,de].indexOf(m)==-1)return fe;var xn=Bt.lastIndexOf($t);if(xn>0&&Bt.slice(1,xn).every(function(ur){return ur==$t})&&[En,$t].indexOf(rt)==-1)return Bt.filter(function(ur){return ur==$t}).length%2==1?Ie:je;if(rt==$e&&rn==bt)return ie;if(rt==vt||rt==$e||rt==bt)return rn==Yn&&ft.every(function(ur){return ur==Ot})?fe:se;if(rn==vt||rn==$e||rn==bt)return se;if(rt==un&&(rn==un||rn==$n||rn==Jn||rn==Sn))return ie;if((rt==Jn||rt==$n)&&(rn==$n||rn==Wt))return ie;if((rt==Sn||rt==Wt)&&rn==Wt)return ie;if(rn==Ot||rn==Dn)return ie;if(rn==Kt)return ie;if(rt==En)return ie;var dr=Bt.indexOf(Ot)!=-1?Bt.lastIndexOf(Ot)-1:Bt.length-2;return[Er,de].indexOf(Bt[dr])!=-1&&Bt.slice(dr+1,-1).every(function(ur){return ur==Ot})&&rn==Yn||rt==Dn&&[Ge,de].indexOf(rn)!=-1?ie:ft.indexOf($t)!=-1?fe:rt==$t&&rn==$t?ie:se}this.nextBreak=function(m,ft){if(ft===void 0&&(ft=0),ft<0)return 0;if(ft>=m.length-1)return m.length;for(var ut=He(Ve(m,ft)),Bt=[],rt=ft+1;rt<m.length;rt++)if(!ht(m,rt-1)){var rn=He(Ve(m,rt));if(Pe(ut,Bt,rn))return rt;Bt.push(rn)}return m.length},this.splitGraphemes=function(m){for(var ft=[],ut=0,Bt;(Bt=this.nextBreak(m,ut))<m.length;)ft.push(m.slice(ut,Bt)),ut=Bt;return ut<m.length&&ft.push(m.slice(ut)),ft},this.iterateGraphemes=function(m){var ft=0,ut={next:(function(){var Bt,rt;return(rt=this.nextBreak(m,ft))<m.length?(Bt=m.slice(ft,rt),ft=rt,{value:Bt,done:!1}):ft<m.length?(Bt=m.slice(ft),ft=m.length,{value:Bt,done:!1}):{value:void 0,done:!0}}).bind(this)};return typeof Symbol<"u"&&Symbol.iterator&&(ut[Symbol.iterator]=function(){return ut}),ut},this.countGraphemes=function(m){for(var ft=0,ut=0,Bt;(Bt=this.nextBreak(m,ut))<m.length;)ut=Bt,ft++;return ut<m.length&&ft++,ft};function He(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?En:m==13?$e:m==10?bt: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?vt: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<= Line truncated
`)}var Wt={extraLines:2,tabSize:4},Jn=function(Mn,En,Er,Yn){Yn=Kt({},Wt,Yn);var Dn=Mn.split(/\r\n?|\n|\f/),Ge=Math.max(1,En-Yn.extraLines)-1,de=Math.min(En+Yn.extraLines,Dn.length),ie=String(de).length,se=$n(Dn,Ge,En,ie,Yn),fe=un(Dn[En-1].substring(0,Er-1),En,ie,Yn),Ie=vt(" ",fe.length)+"^",je=$n(Dn,En,de,ie,Yn);return[se,Ie,je].filter(Boolean).join(`
`)};return Jn})}),C=new Error().stack,w=function(Re){var Ke=Object.create(SyntaxError.prototype);return Object.assign(Ke,Re,{name:"SyntaxError"}),Object.defineProperty(Ke,"stack",{get:function(){return C?C.replace(/^(.+\n){1,3}/,String(Ke)+`
`):""}}),Ke},B=function(Re,Ke,$e,bt,vt){throw w({message:bt?Re+`
`+f(Ke,bt,vt):Re,rawMessage:Re,source:$e,line:bt,column:vt})},D={unexpectedEnd:function(){return"Unexpected end of input"},unexpectedToken:function(Ke){for(var $e=arguments.length,bt=Array($e>1?$e-1:0),vt=1;vt<$e;vt++)bt[vt-1]=arguments[vt];return"Unexpected token <"+Ke+"> at "+bt.filter(Boolean).join(":")}},R={unexpectedSymbol:function(Ke){for(var $e=arguments.length,bt=Array($e>1?$e-1:0),vt=1;vt<$e;vt++)bt[vt-1]=arguments[vt];return"Unexpected symbol <"+Ke+"> at "+bt.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},G={"{":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},J={_START_:0,START_QUOTE_OR_CHAR:1,ESCAPE:2},$={'"':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 te(Re){return Re>="1"&&Re<="9"}function H(Re){return Re>="0"&&Re<="9"}function re(Re){return H(Re)||Re>="a"&&Re<="f"||Re>="A"&&Re<="F"}function j(Re){return Re==="e"||Re==="E"}function Ae(Re,Ke,$e,bt){var vt=Re.charAt(Ke);if(vt==="\r")Ke++,$e++,bt=1,Re.charAt(Ke)===`
`&&Ke++;else if(vt===`
`)Ke++,$e++,bt=1;else if(vt===" "||vt===" ")Ke++,bt++;else return null;return{index:Ke,line:$e,column:bt}}function ge(Re,Ke,$e,bt){var vt=Re.charAt(Ke);return vt in G?{type:G[vt],line:$e,column:bt+1,index:Ke+1,value:null}:null}function me(Re,Ke,$e,bt){for(var vt in W)if(W.hasOwnProperty(vt)&&Re.substr(Ke,vt.length)===vt)return{type:W[vt],line:$e,column:bt+vt.length,index:Ke+vt.length,value:vt};return null}function xe(Re,Ke,$e,bt){for(var vt=Ke,Ot=J._START_;Ke<Re.length;){var $t=Re.charAt(Ke);switch(Ot){case J._START_:{if($t==='"')Ke++,Ot=J.START_QUOTE_OR_CHAR;else return null;break}case J.START_QUOTE_OR_CHAR:{if($t==="\\")Ke++,Ot=J.ESCAPE;else{if($t==='"')return Ke++,{type:U.STRING,line:$e,column:bt+Ke-vt,index:Ke,value:Re.slice(vt,Ke)};Ke++}break}case J.ESCAPE:{if($t in $){if(Ke++,$t==="u")for(var Kt=0;Kt<4;Kt++){var un=Re.charAt(Ke);if(un&&re(un))Ke++;else return null}Ot=J.START_QUOTE_OR_CHAR}else return null;break}}}}function Be(Re,Ke,$e,bt){var vt=Ke,Ot=Ke,$t=oe._START_;e:for(;Ke<Re.length;){var Kt=Re.charAt(Ke);switch($t){case oe._START_:{if(Kt==="-")$t=oe.MINUS;else if(Kt==="0")Ot=Ke+1,$t=oe.ZERO;else if(te(Kt))Ot=Ke+1,$t=oe.DIGIT;else return null;break}case oe.MINUS:{if(Kt==="0")Ot=Ke+1,$t=oe.ZERO;else if(te(Kt))Ot=Ke+1,$t=oe.DIGIT;else return null;break}case oe.ZERO:{if(Kt===".")$t=oe.POINT;else if(j(Kt))$t=oe.EXP;else break e;break}case oe.DIGIT:{if(H(Kt))Ot=Ke+1;else if(Kt===".")$t=oe.POINT;else if(j(Kt))$t=oe.EXP;else break e;break}case oe.POINT:{if(H(Kt))Ot=Ke+1,$t=oe.DIGIT_FRACTION;else break e;break}case oe.DIGIT_FRACTION:{if(H(Kt))Ot=Ke+1;else if(j(Kt))$t=oe.EXP;else break e;break}case oe.EXP:{if(Kt==="+"||Kt==="-")$t=oe.EXP_DIGIT_OR_SIGN;else if(H(Kt))Ot=Ke+1,$t=oe.EXP_DIGIT_OR_SIGN;else break e;break}case oe.EXP_DIGIT_OR_SIGN:{if(H(Kt))Ot=Ke+1;else break e;break}}Ke++}return Ot>0?{type:U.NUMBER,line:$e,column:bt+Ot-vt,index:Ot,value:Re.slice(vt,Ot)}:null}var Me=function(Ke,$e){for(var bt=1,vt=1,Ot=0,$t=[];Ot<Ke.length;){var Kt=[Ke,Ot,bt,vt],un=Ae.apply(void 0,Kt);if(un){Ot=un.index,bt=un.line,vt=un.column;continue}var $n=ge.apply(void 0,Kt)||me.apply(void 0,Kt)||xe.apply(void 0,Kt)||Be.apply(void 0,Kt);if($n){var Wt={type:$n.type,value:$n.value,loc:o(bt,vt,Ot,$n.line,$n.column,$n.index,$e.source)};$t.push(Wt),Ot=$n.index,bt=$n.line,vt=$n.column}else B(R.unexpectedSymbol(l(Ke,Ot,Ot+1),$e.source,bt,vt),Ke,$e.source,bt,vt)}return $t},We={_START_:0,OPEN_OBJECT:1,PROPERTY:2,COMMA:3},be={_START_:0,KEY:1,COLON:2},nt={_START_:0,OPEN_ARRAY:1,VALUE:2,COMMA:3},_t={loc:!0,source:null};function at(Re,Ke,$e){var bt=Ke.length>0?Ke[Ke.length-1].loc.end:{line:1,column:1};B(D.unexpectedEnd(),Re,$e.source,bt.line,bt.column)}function Je(Re){for(var Ke=0,$e=0;$e<4;$e++)Ke=Ke*16+parseInt(Re[$e],16);return String.fromCharCode(Ke)}var Ne={b:"\b",f:"\f",n:`
`,r:"\r",t:" "},Te=['"',"\\","/"];function Ze(Re){for(var Ke="",$e=0;$e<Re.length;$e++){var bt=Re.charAt($e);if(bt==="\\"){$e++;var vt=Re.charAt($e);if(vt==="u")Ke+=Je(Re.substr($e+1,4)),$e+=4;else if(Te.indexOf(vt)!==-1)Ke+=vt;else if(vt in Ne)Ke+=Ne[vt];else break}else Ke+=bt}return Ke}function gt(Re,Ke,$e,bt){for(var vt=void 0,Ot={type:"Object",children:[]},$t=We._START_;$e<Ke.length;){var Kt=Ke[$e];switch($t){case We._START_:{if(Kt.type===U.LEFT_BRACE)vt=Kt,$t=We.OPEN_OBJECT,$e++;else return null;break}case We.OPEN_OBJECT:{if(Kt.type===U.RIGHT_BRACE)return bt.loc&&(Ot.loc=o(vt.loc.start.line,vt.loc.start.column,vt.loc.start.offset,Kt.loc.end.line,Kt.loc.end.column,Kt.loc.end.offset,bt.source)),{value:Ot,index:$e+1};var un=Dt(Re,Ke,$e,bt);Ot.children.push(un.value),$t=We.PROPERTY,$e=un.index;break}case We.PROPERTY:{if(Kt.type===U.RIGHT_BRACE)return bt.loc&&(Ot.loc=o(vt.loc.start.line,vt.loc.start.column,vt.loc.start.offset,Kt.loc.end.line,Kt.loc.end.column,Kt.loc.end.offset,bt.source)),{value:Ot,index:$e+1};Kt.type===U.COMMA?($t=We.COMMA,$e++):B(D.unexpectedToken(l(Re,Kt.loc.start.offset,Kt.loc.end.offset),bt.source,Kt.loc.start.line,Kt.loc.start.column),Re,bt.source,Kt.loc.start.line,Kt.loc.start.column);break}case We.COMMA:{var $n=Dt(Re,Ke,$e,bt);$n?($e=$n.index,Ot.children.push($n.value),$t=We.PROPERTY):B(D.unexpectedToken(l(Re,Kt.loc.start.offset,Kt.loc.end.offset),bt.source,Kt.loc.start.line,Kt.loc.start.column),Re,bt.source,Kt.loc.start.line,Kt.loc.start.column);break}}}at(Re,Ke,bt)}function Dt(Re,Ke,$e,bt){for(var vt=void 0,Ot={type:"Property",key:null,value:null},$t=be._START_;$e<Ke.length;){var Kt=Ke[$e];switch($t){case be._START_:{if(Kt.type===U.STRING){var un={type:"Identifier",value:Ze(Re.slice(Kt.loc.start.offset+1,Kt.loc.end.offset-1)),raw:Kt.value};bt.loc&&(un.loc=Kt.loc),vt=Kt,Ot.key=un,$t=be.KEY,$e++}else return null;break}case be.KEY:{Kt.type===U.COLON?($t=be.COLON,$e++):B(D.unexpectedToken(l(Re,Kt.loc.start.offset,Kt.loc.end.offset),bt.source,Kt.loc.start.line,Kt.loc.start.column),Re,bt.source,Kt.loc.start.line,Kt.loc.start.column);break}case be.COLON:{var $n=It(Re,Ke,$e,bt);return Ot.value=$n.value,bt.loc&&(Ot.loc=o(vt.loc.start.line,vt.loc.start.column,vt.loc.start.offset,$n.value.loc.end.line,$n.value.loc.end.column,$n.value.loc.end.offset,bt.source)),{value:Ot,index:$n.index}}}}}function pt(Re,Ke,$e,bt){for(var vt=void 0,Ot={type:"Array",children:[]},$t=nt._START_,Kt=void 0;$e<Ke.length;)switch(Kt=Ke[$e],$t){case nt._START_:{if(Kt.type===U.LEFT_BRACKET)vt=Kt,$t=nt.OPEN_ARRAY,$e++;else return null;break}case nt.OPEN_ARRAY:{if(Kt.type===U.RIGHT_BRACKET)return bt.loc&&(Ot.loc=o(vt.loc.start.line,vt.loc.start.column,vt.loc.start.offset,Kt.loc.end.line,Kt.loc.end.column,Kt.loc.end.offset,bt.source)),{value:Ot,index:$e+1};var un=It(Re,Ke,$e,bt);$e=un.index,Ot.children.push(un.value),$t=nt.VALUE;break}case nt.VALUE:{if(Kt.type===U.RIGHT_BRACKET)return bt.loc&&(Ot.loc=o(vt.loc.start.line,vt.loc.start.column,vt.loc.start.offset,Kt.loc.end.line,Kt.loc.end.column,Kt.loc.end.offset,bt.source)),{value:Ot,index:$e+1};Kt.type===U.COMMA?($t=nt.COMMA,$e++):B(D.unexpectedToken(l(Re,Kt.loc.start.offset,Kt.loc.end.offset),bt.source,Kt.loc.start.line,Kt.loc.start.column),Re,bt.source,Kt.loc.start.line,Kt.loc.start.column);break}case nt.COMMA:{var $n=It(Re,Ke,$e,bt);$e=$n.index,Ot.children.push($n.value),$t=nt.VALUE;break}}at(Re,Ke,bt)}function Tt(Re,Ke,$e,bt){var vt=Ke[$e],Ot=null;switch(vt.type){case U.STRING:{Ot=Ze(Re.slice(vt.loc.start.offset+1,vt.loc.end.offset-1));break}case U.NUMBER:{Ot=Number(vt.value);break}case U.TRUE:{Ot=!0;break}case U.FALSE:{Ot=!1;break}case U.NULL:{Ot=null;break}default:return null}var $t={type:"Literal",value:Ot,raw:vt.value};return bt.loc&&($t.loc=vt.loc),{value:$t,index:$e+1}}function It(Re,Ke,$e,bt){var vt=Ke[$e],Ot=Tt.apply(void 0,arguments)||gt.apply(void 0,arguments)||pt.apply(void 0,arguments);if(Ot)return Ot;B(D.unexpectedToken(l(Re,vt.loc.start.offset,vt.loc.end.offset),bt.source,vt.loc.start.line,vt.loc.start.column),Re,bt.source,vt.loc.start.line,vt.loc.start.column)}var Le=function(Re,Ke){Ke=Object.assign({},_t,Ke);var $e=Me(Re,Ke);$e.length===0&&at(Re,$e,Ke);var bt=It(Re,$e,0,Ke);if(bt.index===$e.length)return bt.value;var vt=$e[bt.index];B(D.unexpectedToken(l(Re,vt.loc.start.offset,vt.loc.end.offset),Ke.source,vt.loc.start.line,vt.loc.start.column),Re,Ke.source,vt.loc.start.line,vt.loc.start.column)};return Le})}(o2)),o2.exports}var hse=cse();const dse=zl(hse);function rr(){var n="/home/runner/work/maputnik/maputnik/src/libs/codemirror-mgl.ts",e="89c156e637b20b434cfb214df7fad7d710253070",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:12,column:16},end:{line:12,column:18}},3:{start:{line:13,column:2},end:{line:30,column:3}},4:{start:{line:14,column:4},end:{line:14,column:16}} Line truncated
`,r:"\r",t:" "},Te=['"',"\\","/"];function Ze(Re){for(var Ke="",$e=0;$e<Re.length;$e++){var bt=Re.charAt($e);if(bt==="\\"){$e++;var vt=Re.charAt($e);if(vt==="u")Ke+=Je(Re.substr($e+1,4)),$e+=4;else if(Te.indexOf(vt)!==-1)Ke+=vt;else if(vt in Ne)Ke+=Ne[vt];else break}else Ke+=bt}return Ke}function gt(Re,Ke,$e,bt){for(var vt=void 0,Ot={type:"Object",children:[]},$t=We._START_;$e<Ke.length;){var Kt=Ke[$e];switch($t){case We._START_:{if(Kt.type===U.LEFT_BRACE)vt=Kt,$t=We.OPEN_OBJECT,$e++;else return null;break}case We.OPEN_OBJECT:{if(Kt.type===U.RIGHT_BRACE)return bt.loc&&(Ot.loc=o(vt.loc.start.line,vt.loc.start.column,vt.loc.start.offset,Kt.loc.end.line,Kt.loc.end.column,Kt.loc.end.offset,bt.source)),{value:Ot,index:$e+1};var un=Dt(Re,Ke,$e,bt);Ot.children.push(un.value),$t=We.PROPERTY,$e=un.index;break}case We.PROPERTY:{if(Kt.type===U.RIGHT_BRACE)return bt.loc&&(Ot.loc=o(vt.loc.start.line,vt.loc.start.column,vt.loc.start.offset,Kt.loc.end.line,Kt.loc.end.column,Kt.loc.end.offset,bt.source)),{value:Ot,index:$e+1};Kt.type===U.COMMA?($t=We.COMMA,$e++):B(D.unexpectedToken(l(Re,Kt.loc.start.offset,Kt.loc.end.offset),bt.source,Kt.loc.start.line,Kt.loc.start.column),Re,bt.source,Kt.loc.start.line,Kt.loc.start.column);break}case We.COMMA:{var $n=Dt(Re,Ke,$e,bt);$n?($e=$n.index,Ot.children.push($n.value),$t=We.PROPERTY):B(D.unexpectedToken(l(Re,Kt.loc.start.offset,Kt.loc.end.offset),bt.source,Kt.loc.start.line,Kt.loc.start.column),Re,bt.source,Kt.loc.start.line,Kt.loc.start.column);break}}}at(Re,Ke,bt)}function Dt(Re,Ke,$e,bt){for(var vt=void 0,Ot={type:"Property",key:null,value:null},$t=be._START_;$e<Ke.length;){var Kt=Ke[$e];switch($t){case be._START_:{if(Kt.type===U.STRING){var un={type:"Identifier",value:Ze(Re.slice(Kt.loc.start.offset+1,Kt.loc.end.offset-1)),raw:Kt.value};bt.loc&&(un.loc=Kt.loc),vt=Kt,Ot.key=un,$t=be.KEY,$e++}else return null;break}case be.KEY:{Kt.type===U.COLON?($t=be.COLON,$e++):B(D.unexpectedToken(l(Re,Kt.loc.start.offset,Kt.loc.end.offset),bt.source,Kt.loc.start.line,Kt.loc.start.column),Re,bt.source,Kt.loc.start.line,Kt.loc.start.column);break}case be.COLON:{var $n=It(Re,Ke,$e,bt);return Ot.value=$n.value,bt.loc&&(Ot.loc=o(vt.loc.start.line,vt.loc.start.column,vt.loc.start.offset,$n.value.loc.end.line,$n.value.loc.end.column,$n.value.loc.end.offset,bt.source)),{value:Ot,index:$n.index}}}}}function pt(Re,Ke,$e,bt){for(var vt=void 0,Ot={type:"Array",children:[]},$t=nt._START_,Kt=void 0;$e<Ke.length;)switch(Kt=Ke[$e],$t){case nt._START_:{if(Kt.type===U.LEFT_BRACKET)vt=Kt,$t=nt.OPEN_ARRAY,$e++;else return null;break}case nt.OPEN_ARRAY:{if(Kt.type===U.RIGHT_BRACKET)return bt.loc&&(Ot.loc=o(vt.loc.start.line,vt.loc.start.column,vt.loc.start.offset,Kt.loc.end.line,Kt.loc.end.column,Kt.loc.end.offset,bt.source)),{value:Ot,index:$e+1};var un=It(Re,Ke,$e,bt);$e=un.index,Ot.children.push(un.value),$t=nt.VALUE;break}case nt.VALUE:{if(Kt.type===U.RIGHT_BRACKET)return bt.loc&&(Ot.loc=o(vt.loc.start.line,vt.loc.start.column,vt.loc.start.offset,Kt.loc.end.line,Kt.loc.end.column,Kt.loc.end.offset,bt.source)),{value:Ot,index:$e+1};Kt.type===U.COMMA?($t=nt.COMMA,$e++):B(D.unexpectedToken(l(Re,Kt.loc.start.offset,Kt.loc.end.offset),bt.source,Kt.loc.start.line,Kt.loc.start.column),Re,bt.source,Kt.loc.start.line,Kt.loc.start.column);break}case nt.COMMA:{var $n=It(Re,Ke,$e,bt);$e=$n.index,Ot.children.push($n.value),$t=nt.VALUE;break}}at(Re,Ke,bt)}function Tt(Re,Ke,$e,bt){var vt=Ke[$e],Ot=null;switch(vt.type){case U.STRING:{Ot=Ze(Re.slice(vt.loc.start.offset+1,vt.loc.end.offset-1));break}case U.NUMBER:{Ot=Number(vt.value);break}case U.TRUE:{Ot=!0;break}case U.FALSE:{Ot=!1;break}case U.NULL:{Ot=null;break}default:return null}var $t={type:"Literal",value:Ot,raw:vt.value};return bt.loc&&($t.loc=vt.loc),{value:$t,index:$e+1}}function It(Re,Ke,$e,bt){var vt=Ke[$e],Ot=Tt.apply(void 0,arguments)||gt.apply(void 0,arguments)||pt.apply(void 0,arguments);if(Ot)return Ot;B(D.unexpectedToken(l(Re,vt.loc.start.offset,vt.loc.end.offset),bt.source,vt.loc.start.line,vt.loc.start.column),Re,bt.source,vt.loc.start.line,vt.loc.start.column)}var Le=function(Re,Ke){Ke=Object.assign({},_t,Ke);var $e=Me(Re,Ke);$e.length===0&&at(Re,$e,Ke);var bt=It(Re,$e,0,Ke);if(bt.index===$e.length)return bt.value;var vt=$e[bt.index];B(D.unexpectedToken(l(Re,vt.loc.start.offset,vt.loc.end.offset),Ke.source,vt.loc.start.line,vt.loc.start.column),Re,Ke.source,vt.loc.start.line,vt.loc.start.column)};return Le})}(o2)),o2.exports}var cse=use();const hse=Jl(cse);function rr(){var n="/home/runner/work/maputnik/maputnik/src/libs/codemirror-mgl.ts",e="89c156e637b20b434cfb214df7fad7d710253070",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:12,column:16},end:{line:12,column:18}},3:{start:{line:13,column:2},end:{line:30,column:3}},4:{start:{line:14,column:4},end:{line:14,column:16}} Line truncated
rgba(`+te.r+","+te.g+","+te.b+", 1) 100%)",boxShadow:this.props.shadow,borderRadius:this.props.radius},container:{position:"relative",height:"100%",margin:"0 3px"},pointer:{position:"absolute",left:te.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("+te.r+","+te.g+","+te.b+`, 0) 0%,
rgba(`+te.r+","+te.g+","+te.b+", 1) 100%)"},pointer:{left:0,top:te.a*100+"%"}},overwrite:n({},this.props.style)},{vertical:this.props.direction==="vertical",overwrite:!0});return r.default.createElement("div",{style:H.alpha},r.default.createElement("div",{style:H.checkboard},r.default.createElement(C.default,{renderers:this.props.renderers})),r.default.createElement("div",{style:H.gradient}),r.default.createElement("div",{style:H.container,ref:function(j){return oe.container=j},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},r.default.createElement("div",{style:H.pointer},this.props.pointer?r.default.createElement(this.props.pointer,this.props):r.default.createElement("div",{style:H.slider}))))}}]),J}(t.PureComponent||t.Component);return Qg.default=G,Qg}var qg={},vD;function Lle(){if(vD)return qg;vD=1,Object.defineProperty(qg,"__esModule",{value:!0}),qg.EditableInput=void 0;var n=function(){function $(oe,te){for(var H=0;H<te.length;H++){var re=te[H];re.enumerable=re.enumerable||!1,re.configurable=!0,"value"in re&&(re.writable=!0),Object.defineProperty(oe,re.key,re)}}return function(oe,te,H){return te&&$(oe.prototype,te),H&&$(oe,H),oe}}(),e=Va(),t=s(e),r=Kp(),i=s(r);function s($){return $&&$.__esModule?$:{default:$}}function l($,oe,te){return oe in $?Object.defineProperty($,oe,{value:te,enumerable:!0,configurable:!0,writable:!0}):$[oe]=te,$}function o($,oe){if(!($ instanceof oe))throw new TypeError("Cannot call a class as a function")}function f($,oe){if(!$)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return oe&&(typeof oe=="object"||typeof oe=="function")?oe:$}function C($,oe){if(typeof oe!="function"&&oe!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof oe);$.prototype=Object.create(oe&&oe.prototype,{constructor:{value:$,enumerable:!1,writable:!0,configurable:!0}}),oe&&(Object.setPrototypeOf?Object.setPrototypeOf($,oe):$.__proto__=oe)}var w=1,B=38,D=40,R=[B,D],U=function(oe){return R.indexOf(oe)>-1},G=function(oe){return Number(String(oe).replace(/%/g,""))},W=1,J=qg.EditableInput=function($){C(oe,$);function oe(te){o(this,oe);var H=f(this,(oe.__proto__||Object.getPrototypeOf(oe)).call(this));return H.handleBlur=function(){H.state.blurValue&&H.setState({value:H.state.blurValue,blurValue:null})},H.handleChange=function(re){H.setUpdatedValue(re.target.value,re)},H.handleKeyDown=function(re){var j=G(re.target.value);if(!isNaN(j)&&U(re.keyCode)){var Ae=H.getArrowOffset(),ge=re.keyCode===B?j+Ae:j-Ae;H.setUpdatedValue(ge,re)}},H.handleDrag=function(re){if(H.props.dragLabel){var j=Math.round(H.props.value+re.movementX);j>=0&&j<=H.props.dragMax&&H.props.onChange&&H.props.onChange(H.getValueObjectWithLabel(j),re)}},H.handleMouseDown=function(re){H.props.dragLabel&&(re.preventDefault(),H.handleDrag(re),window.addEventListener("mousemove",H.handleDrag),window.addEventListener("mouseup",H.handleMouseUp))},H.handleMouseUp=function(){H.unbindEventListeners()},H.unbindEventListeners=function(){window.removeEventListener("mousemove",H.handleDrag),window.removeEventListener("mouseup",H.handleMouseUp)},H.state={value:String(te.value).toUpperCase(),blurValue:String(te.value).toUpperCase()},H.inputId="rc-editable-input-"+W++,H}return n(oe,[{key:"componentDidUpdate",value:function(H,re){this.props.value!==this.state.value&&(H.value!==this.props.value||re.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(H){return l({},this.props.label,H)}},{key:"getArrowOffset",value:function(){return this.props.arrowOffset||w}},{key:"setUpdatedValue",value:function(H,re){var j=this.props.label?this.getValueObjectWithLabel(H):H;this.props.onChange&&this.props.onChange(j,re),this.setState({value:H})}},{key:"render",value:function(){var H=this,re=(0,i.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 t.default.createElement("div",{style:re.wrap},t.default.createElement("input",{id:this.inputId,style:re.input,ref:function(Ae){return H.input=Ae},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?t.default.createElement("label",{htmlFor:this.inputId,style:re.label,onMouseDown:this.handleMouseDown},this.props.label):null)} Line truncated
rgba(`+te.r+","+te.g+","+te.b+", 1) 100%)"},pointer:{left:0,top:te.a*100+"%"}},overwrite:n({},this.props.style)},{vertical:this.props.direction==="vertical",overwrite:!0});return r.default.createElement("div",{style:H.alpha},r.default.createElement("div",{style:H.checkboard},r.default.createElement(C.default,{renderers:this.props.renderers})),r.default.createElement("div",{style:H.gradient}),r.default.createElement("div",{style:H.container,ref:function(j){return oe.container=j},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},r.default.createElement("div",{style:H.pointer},this.props.pointer?r.default.createElement(this.props.pointer,this.props):r.default.createElement("div",{style:H.slider}))))}}]),J}(t.PureComponent||t.Component);return Qg.default=G,Qg}var qg={},vD;function Fle(){if(vD)return qg;vD=1,Object.defineProperty(qg,"__esModule",{value:!0}),qg.EditableInput=void 0;var n=function(){function $(oe,te){for(var H=0;H<te.length;H++){var re=te[H];re.enumerable=re.enumerable||!1,re.configurable=!0,"value"in re&&(re.writable=!0),Object.defineProperty(oe,re.key,re)}}return function(oe,te,H){return te&&$(oe.prototype,te),H&&$(oe,H),oe}}(),e=Va(),t=s(e),r=Kp(),i=s(r);function s($){return $&&$.__esModule?$:{default:$}}function l($,oe,te){return oe in $?Object.defineProperty($,oe,{value:te,enumerable:!0,configurable:!0,writable:!0}):$[oe]=te,$}function o($,oe){if(!($ instanceof oe))throw new TypeError("Cannot call a class as a function")}function f($,oe){if(!$)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return oe&&(typeof oe=="object"||typeof oe=="function")?oe:$}function C($,oe){if(typeof oe!="function"&&oe!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof oe);$.prototype=Object.create(oe&&oe.prototype,{constructor:{value:$,enumerable:!1,writable:!0,configurable:!0}}),oe&&(Object.setPrototypeOf?Object.setPrototypeOf($,oe):$.__proto__=oe)}var w=1,B=38,D=40,R=[B,D],U=function(oe){return R.indexOf(oe)>-1},G=function(oe){return Number(String(oe).replace(/%/g,""))},W=1,J=qg.EditableInput=function($){C(oe,$);function oe(te){o(this,oe);var H=f(this,(oe.__proto__||Object.getPrototypeOf(oe)).call(this));return H.handleBlur=function(){H.state.blurValue&&H.setState({value:H.state.blurValue,blurValue:null})},H.handleChange=function(re){H.setUpdatedValue(re.target.value,re)},H.handleKeyDown=function(re){var j=G(re.target.value);if(!isNaN(j)&&U(re.keyCode)){var Ae=H.getArrowOffset(),ge=re.keyCode===B?j+Ae:j-Ae;H.setUpdatedValue(ge,re)}},H.handleDrag=function(re){if(H.props.dragLabel){var j=Math.round(H.props.value+re.movementX);j>=0&&j<=H.props.dragMax&&H.props.onChange&&H.props.onChange(H.getValueObjectWithLabel(j),re)}},H.handleMouseDown=function(re){H.props.dragLabel&&(re.preventDefault(),H.handleDrag(re),window.addEventListener("mousemove",H.handleDrag),window.addEventListener("mouseup",H.handleMouseUp))},H.handleMouseUp=function(){H.unbindEventListeners()},H.unbindEventListeners=function(){window.removeEventListener("mousemove",H.handleDrag),window.removeEventListener("mouseup",H.handleMouseUp)},H.state={value:String(te.value).toUpperCase(),blurValue:String(te.value).toUpperCase()},H.inputId="rc-editable-input-"+W++,H}return n(oe,[{key:"componentDidUpdate",value:function(H,re){this.props.value!==this.state.value&&(H.value!==this.props.value||re.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(H){return l({},this.props.label,H)}},{key:"getArrowOffset",value:function(){return this.props.arrowOffset||w}},{key:"setUpdatedValue",value:function(H,re){var j=this.props.label?this.getValueObjectWithLabel(H):H;this.props.onChange&&this.props.onChange(j,re),this.setState({value:H})}},{key:"render",value:function(){var H=this,re=(0,i.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 t.default.createElement("div",{style:re.wrap},t.default.createElement("input",{id:this.inputId,style:re.input,ref:function(Ae){return H.input=Ae},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?t.default.createElement("label",{htmlFor:this.inputId,style:re.label,onMouseDown:this.handleMouseDown},this.props.label):null)} Line truncated
.hue-horizontal {
background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0
33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);
@@ -919,7 +919,7 @@ ${Je}`,{message:Tt,excerpt:pt,pointer:It}}function Be(Je,Ne){let Te=j(Ne);const
background: -webkit-linear-gradient(to top, #f00 0%, #ff0 17%,
#0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);
}
`),t.default.createElement("div",{style:oe.pointer},this.props.pointer?t.default.createElement(this.props.pointer,this.props):t.default.createElement("div",{style:oe.slider}))))}}]),U}(e.PureComponent||e.Component);return $g.default=D,$g}var Vg={},bD;function Nle(){if(bD)return Vg;bD=1,Object.defineProperty(Vg,"__esModule",{value:!0}),Vg.Raised=void 0;var n=Va(),e=f(n),t=dm(),r=f(t),i=Kp(),s=f(i),l=CG(),o=f(l);function f(w){return w&&w.__esModule?w:{default:w}}var C=Vg.Raised=function(B){var D=B.zDepth,R=B.radius,U=B.background,G=B.children,W=B.styles,J=W===void 0?{}:W,$=(0,s.default)((0,o.default)({default:{wrap:{position:"relative",display:"inline-block"},content:{position:"relative"},bg:{absolute:"0px 0px 0px 0px",boxShadow:"0 "+D+"px "+D*4+"px rgba(0,0,0,.24)",borderRadius:R,background:U}},"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%"}}},J),{"zDepth-1":D===1});return e.default.createElement("div",{style:$.wrap},e.default.createElement("div",{style:$.bg}),e.default.createElement("div",{style:$.content},G))};return C.propTypes={background:r.default.string,zDepth:r.default.oneOf([0,1,2,3,4,5]),radius:r.default.number,styles:r.default.object},C.defaultProps={background:"#fff",zDepth:1,radius:2,styles:{}},Vg.default=C,Vg}var Hg={},qS,xD;function Gle(){if(xD)return qS;xD=1;var n=Dp(),e=function(){return n.Date.now()};return qS=e,qS}var $S,MD;function jle(){if(MD)return $S;MD=1;var n=/\s/;function e(t){for(var r=t.length;r--&&n.test(t.charAt(r)););return r}return $S=e,$S}var VS,wD;function Wle(){if(wD)return VS;wD=1;var n=jle(),e=/^\s+/;function t(r){return r&&r.slice(0,n(r)+1).replace(e,"")}return VS=t,VS}var HS,SD;function Qle(){if(SD)return HS;SD=1;var n=Wle(),e=Gf(),t=b3(),r=NaN,i=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,o=parseInt;function f(C){if(typeof C=="number")return C;if(t(C))return r;if(e(C)){var w=typeof C.valueOf=="function"?C.valueOf():C;C=e(w)?w+"":w}if(typeof C!="string")return C===0?C:+C;C=n(C);var B=s.test(C);return B||l.test(C)?o(C.slice(2),B?2:8):i.test(C)?r:+C}return HS=f,HS}var ZS,ED;function _G(){if(ED)return ZS;ED=1;var n=Gf(),e=Gle(),t=Qle(),r="Expected a function",i=Math.max,s=Math.min;function l(o,f,C){var w,B,D,R,U,G,W=0,J=!1,$=!1,oe=!0;if(typeof o!="function")throw new TypeError(r);f=t(f)||0,n(C)&&(J=!!C.leading,$="maxWait"in C,D=$?i(t(C.maxWait)||0,f):D,oe="trailing"in C?!!C.trailing:oe);function te(Me){var We=w,be=B;return w=B=void 0,W=Me,R=o.apply(be,We),R}function H(Me){return W=Me,U=setTimeout(Ae,f),J?te(Me):R}function re(Me){var We=Me-G,be=Me-W,nt=f-We;return $?s(nt,D-be):nt}function j(Me){var We=Me-G,be=Me-W;return G===void 0||We>=f||We<0||$&&be>=D}function Ae(){var Me=e();if(j(Me))return ge(Me);U=setTimeout(Ae,re(Me))}function ge(Me){return U=void 0,oe&&w?te(Me):(w=B=void 0,R)}function me(){U!==void 0&&clearTimeout(U),W=0,w=G=B=U=void 0}function xe(){return U===void 0?R:ge(e())}function Be(){var Me=e(),We=j(Me);if(w=arguments,B=this,G=Me,We){if(U===void 0)return H(G);if($)return clearTimeout(U),U=setTimeout(Ae,f),te(G)}return U===void 0&&(U=setTimeout(Ae,f)),R}return Be.cancel=me,Be.flush=xe,Be}return ZS=l,ZS}var XS,BD;function Yle(){if(BD)return XS;BD=1;var n=_G(),e=Gf(),t="Expected a function";function r(i,s,l){var o=!0,f=!0;if(typeof i!="function")throw new TypeError(t);return e(l)&&(o="leading"in l?!!l.leading:o,f="trailing"in l?!!l.trailing:f),n(i,s,{leading:o,maxWait:s,trailing:f})}return XS=r,XS}var jb={},OD;function qle(){return OD||(OD=1,Object.defineProperty(jb,"__esModule",{value:!0}),jb.calculateChange=function(e,t,r){var i=r.getBoundingClientRect(),s=i.width,l=i.height,o=typeof e.pageX=="number"?e.pageX:e.touches[0].pageX,f=typeof e.pageY=="number"?e.pageY:e.touches[0].pageY,C=o-(r.getBoundingClientRect().left+window.pageXOffset),w=f-(r.getBoundingClientRect().top+window.pageYOffset);C<0?C=0:C>s&&(C=s),w<0?w=0:w>l&&(w=l);var B=C/s,D=1-w/l;return{h:t.h,s:B,v:D,a:t.a,source:"hsv"}}),jb}var ID;function $le(){if(ID)return Hg;ID=1,Object.defineProperty(Hg,"__esModule",{value:!0}),Hg.Saturation=void 0;var n=function(){function G(W,J){for(var $=0;$<J.length;$++){var oe=J[$];oe.enumerable=oe.enumerable||!1,oe.configurable=!0,"value"in oe&&(oe.writable=!0),Object.defineProperty(W,oe.key,oe)}}return function(W,J,$){return J&&G(W.prototype,J),$&&G(W,$),W}}(),e=Va(),t=w(e),r=Kp(),i=w(r),s=Yle(),l=w(s),o=qle(),f=C(o);function C(G){if(G&&G.__esModule)return G;var W={};if(G!=null)for(var J in G)Object.prototype.hasOwnProperty.call(G,J)&&(W[J]=G[J]);return W.default=G,W}function w(G) Line truncated
`),t.default.createElement("div",{style:oe.pointer},this.props.pointer?t.default.createElement(this.props.pointer,this.props):t.default.createElement("div",{style:oe.slider}))))}}]),U}(e.PureComponent||e.Component);return $g.default=D,$g}var Vg={},bD;function zle(){if(bD)return Vg;bD=1,Object.defineProperty(Vg,"__esModule",{value:!0}),Vg.Raised=void 0;var n=Va(),e=f(n),t=dm(),r=f(t),i=Kp(),s=f(i),l=_G(),o=f(l);function f(w){return w&&w.__esModule?w:{default:w}}var C=Vg.Raised=function(B){var D=B.zDepth,R=B.radius,U=B.background,G=B.children,W=B.styles,J=W===void 0?{}:W,$=(0,s.default)((0,o.default)({default:{wrap:{position:"relative",display:"inline-block"},content:{position:"relative"},bg:{absolute:"0px 0px 0px 0px",boxShadow:"0 "+D+"px "+D*4+"px rgba(0,0,0,.24)",borderRadius:R,background:U}},"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%"}}},J),{"zDepth-1":D===1});return e.default.createElement("div",{style:$.wrap},e.default.createElement("div",{style:$.bg}),e.default.createElement("div",{style:$.content},G))};return C.propTypes={background:r.default.string,zDepth:r.default.oneOf([0,1,2,3,4,5]),radius:r.default.number,styles:r.default.object},C.defaultProps={background:"#fff",zDepth:1,radius:2,styles:{}},Vg.default=C,Vg}var Hg={},YS,xD;function Nle(){if(xD)return YS;xD=1;var n=Dp(),e=function(){return n.Date.now()};return YS=e,YS}var qS,MD;function Gle(){if(MD)return qS;MD=1;var n=/\s/;function e(t){for(var r=t.length;r--&&n.test(t.charAt(r)););return r}return qS=e,qS}var $S,wD;function jle(){if(wD)return $S;wD=1;var n=Gle(),e=/^\s+/;function t(r){return r&&r.slice(0,n(r)+1).replace(e,"")}return $S=t,$S}var VS,SD;function Wle(){if(SD)return VS;SD=1;var n=jle(),e=Gf(),t=_3(),r=NaN,i=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,o=parseInt;function f(C){if(typeof C=="number")return C;if(t(C))return r;if(e(C)){var w=typeof C.valueOf=="function"?C.valueOf():C;C=e(w)?w+"":w}if(typeof C!="string")return C===0?C:+C;C=n(C);var B=s.test(C);return B||l.test(C)?o(C.slice(2),B?2:8):i.test(C)?r:+C}return VS=f,VS}var HS,ED;function bG(){if(ED)return HS;ED=1;var n=Gf(),e=Nle(),t=Wle(),r="Expected a function",i=Math.max,s=Math.min;function l(o,f,C){var w,B,D,R,U,G,W=0,J=!1,$=!1,oe=!0;if(typeof o!="function")throw new TypeError(r);f=t(f)||0,n(C)&&(J=!!C.leading,$="maxWait"in C,D=$?i(t(C.maxWait)||0,f):D,oe="trailing"in C?!!C.trailing:oe);function te(Me){var We=w,be=B;return w=B=void 0,W=Me,R=o.apply(be,We),R}function H(Me){return W=Me,U=setTimeout(Ae,f),J?te(Me):R}function re(Me){var We=Me-G,be=Me-W,nt=f-We;return $?s(nt,D-be):nt}function j(Me){var We=Me-G,be=Me-W;return G===void 0||We>=f||We<0||$&&be>=D}function Ae(){var Me=e();if(j(Me))return ge(Me);U=setTimeout(Ae,re(Me))}function ge(Me){return U=void 0,oe&&w?te(Me):(w=B=void 0,R)}function me(){U!==void 0&&clearTimeout(U),W=0,w=G=B=U=void 0}function xe(){return U===void 0?R:ge(e())}function Be(){var Me=e(),We=j(Me);if(w=arguments,B=this,G=Me,We){if(U===void 0)return H(G);if($)return clearTimeout(U),U=setTimeout(Ae,f),te(G)}return U===void 0&&(U=setTimeout(Ae,f)),R}return Be.cancel=me,Be.flush=xe,Be}return HS=l,HS}var ZS,BD;function Qle(){if(BD)return ZS;BD=1;var n=bG(),e=Gf(),t="Expected a function";function r(i,s,l){var o=!0,f=!0;if(typeof i!="function")throw new TypeError(t);return e(l)&&(o="leading"in l?!!l.leading:o,f="trailing"in l?!!l.trailing:f),n(i,s,{leading:o,maxWait:s,trailing:f})}return ZS=r,ZS}var jb={},OD;function Yle(){return OD||(OD=1,Object.defineProperty(jb,"__esModule",{value:!0}),jb.calculateChange=function(e,t,r){var i=r.getBoundingClientRect(),s=i.width,l=i.height,o=typeof e.pageX=="number"?e.pageX:e.touches[0].pageX,f=typeof e.pageY=="number"?e.pageY:e.touches[0].pageY,C=o-(r.getBoundingClientRect().left+window.pageXOffset),w=f-(r.getBoundingClientRect().top+window.pageYOffset);C<0?C=0:C>s&&(C=s),w<0?w=0:w>l&&(w=l);var B=C/s,D=1-w/l;return{h:t.h,s:B,v:D,a:t.a,source:"hsv"}}),jb}var ID;function qle(){if(ID)return Hg;ID=1,Object.defineProperty(Hg,"__esModule",{value:!0}),Hg.Saturation=void 0;var n=function(){function G(W,J){for(var $=0;$<J.length;$++){var oe=J[$];oe.enumerable=oe.enumerable||!1,oe.configurable=!0,"value"in oe&&(oe.writable=!0),Object.defineProperty(W,oe.key,oe)}}return function(W,J,$){return J&&G(W.prototype,J),$&&G(W,$),W}}(),e=Va(),t=w(e),r=Kp(),i=w(r),s=Qle(),l=w(s),o=Yle(),f=C(o);function C(G){if(G&&G.__esModule)return G;var W={};if(G!=null)for(var J in G)Object.prototype.hasOwnProperty.call(G,J)&&(W[J]=G[J]);return W.default=G,W}function w(G) Line truncated
0 0 1px 2px rgba(0,0,0,.4)`,borderRadius:"50%",cursor:"hand",transform:"translate(-2px, -2px)"}},custom:{color:te,white:H,black:re,pointer:j,circle:Ae}},{custom:!!this.props.style});return t.default.createElement("div",{style:ge.color,ref:function(xe){return $.container=xe},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},t.default.createElement("style",null,`
.saturation-white {
background: -webkit-linear-gradient(to right, #fff, rgba(255,255,255,0));
@@ -929,7 +929,7 @@ ${Je}`,{message:Tt,excerpt:pt,pointer:It}}function Be(Je,Ne){let Te=j(Ne);const
background: -webkit-linear-gradient(to top, #000, rgba(0,0,0,0));
background: linear-gradient(to top, #000, rgba(0,0,0,0));
}
`),t.default.createElement("div",{style:ge.white,className:"saturation-white"},t.default.createElement("div",{style:ge.black,className:"saturation-black"}),t.default.createElement("div",{style:ge.pointer},this.props.pointer?t.default.createElement(this.props.pointer,this.props):t.default.createElement("div",{style:ge.circle}))))}}]),W}(e.PureComponent||e.Component);return Hg.default=U,Hg}var Zg={},Zh={},JS,TD;function Vle(){if(TD)return JS;TD=1;var n=uG(),e=AG(),t=$N(),r=af();function i(s,l){var o=r(s)?n:e;return o(s,t(l))}return JS=i,JS}var eE,kD;function Hle(){return kD||(kD=1,eE=Vle()),eE}var s2={exports:{}},Zle=s2.exports,PD;function Xle(){return PD||(PD=1,function(n,e){(function(t,r){n.exports=r()})(Zle,function(){function t(Le){"@babel/helpers - typeof";return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Re){return typeof Re}:function(Re){return Re&&typeof Symbol=="function"&&Re.constructor===Symbol&&Re!==Symbol.prototype?"symbol":typeof Re},t(Le)}var r=/^\s+/,i=/\s+$/;function s(Le,Re){if(Le=Le||"",Re=Re||{},Le instanceof s)return Le;if(!(this instanceof s))return new s(Le,Re);var Ke=l(Le);this._originalInput=Le,this._r=Ke.r,this._g=Ke.g,this._b=Ke.b,this._a=Ke.a,this._roundA=Math.round(100*this._a)/100,this._format=Re.format||Ke.format,this._gradientType=Re.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=Ke.ok}s.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 Re=this.toRgb();return(Re.r*299+Re.g*587+Re.b*114)/1e3},getLuminance:function(){var Re=this.toRgb(),Ke,$e,bt,vt,Ot,$t;return Ke=Re.r/255,$e=Re.g/255,bt=Re.b/255,Ke<=.03928?vt=Ke/12.92:vt=Math.pow((Ke+.055)/1.055,2.4),$e<=.03928?Ot=$e/12.92:Ot=Math.pow(($e+.055)/1.055,2.4),bt<=.03928?$t=bt/12.92:$t=Math.pow((bt+.055)/1.055,2.4),.2126*vt+.7152*Ot+.0722*$t},setAlpha:function(Re){return this._a=We(Re),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var Re=w(this._r,this._g,this._b);return{h:Re.h*360,s:Re.s,v:Re.v,a:this._a}},toHsvString:function(){var Re=w(this._r,this._g,this._b),Ke=Math.round(Re.h*360),$e=Math.round(Re.s*100),bt=Math.round(Re.v*100);return this._a==1?"hsv("+Ke+", "+$e+"%, "+bt+"%)":"hsva("+Ke+", "+$e+"%, "+bt+"%, "+this._roundA+")"},toHsl:function(){var Re=f(this._r,this._g,this._b);return{h:Re.h*360,s:Re.s,l:Re.l,a:this._a}},toHslString:function(){var Re=f(this._r,this._g,this._b),Ke=Math.round(Re.h*360),$e=Math.round(Re.s*100),bt=Math.round(Re.l*100);return this._a==1?"hsl("+Ke+", "+$e+"%, "+bt+"%)":"hsla("+Ke+", "+$e+"%, "+bt+"%, "+this._roundA+")"},toHex:function(Re){return D(this._r,this._g,this._b,Re)},toHexString:function(Re){return"#"+this.toHex(Re)},toHex8:function(Re){return R(this._r,this._g,this._b,this._a,Re)},toHex8String:function(Re){return"#"+this.toHex8(Re)},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(be(this._r,255)*100)+"%",g:Math.round(be(this._g,255)*100)+"%",b:Math.round(be(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+Math.round(be(this._r,255)*100)+"%, "+Math.round(be(this._g,255)*100)+"%, "+Math.round(be(this._b,255)*100)+"%)":"rgba("+Math.round(be(this._r,255)*100)+"%, "+Math.round(be(this._g,255)*100)+"%, "+Math.round(be(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:Be[D(this._r,this._g,this._b,!0)]||!1},toFilter:function(Re){var Ke="#"+U(this._r,this._g,this._b,this._a),$e=Ke,bt=this._gradientType?"GradientType = 1, ":"";if(Re){var vt=s(Re);$e="#"+U(vt._r,vt._g,vt._b,vt._a)}return"progid:DXImageTransform.Microsoft.gradient("+bt+"startColorstr="+Ke+",endColorstr="+$e+")"},toString:function(Re){var Ke=!!Re;Re=Re||this._format;var $e=!1,bt=this._a<1&&this._a>=0,vt=!Ke&&bt&&(Re==="hex"||Re==="hex6"||Re==="hex3"||Re==="hex4"||Re==="hex8"||Re==="name");return vt?Re==="name"&&this._a===0?this.toName():this.toRgbString():(Re==="rgb"&&($e=this.toRgbString()),Re==="prgb"&&($e=this.toPercentageRgbString()),(Re==="hex"||Re==="hex6")&&($e=this.toHexString()),Re==="hex3"&&($e=this.toHexString(!0)),Re==="hex4"&&($e=this.toHex8String(!0)),Re==="hex8"&&($e=this.toHex8String()),Re==="name"&&($e=this.toName()),Re==="hsl"&&($e=this.toHslString()),Re==="hsv"&&($e=this.toHsvString()),$e||this.toHexString())},clone:function(){return s(this.toString())},_applyModification:function(Re,Ke){var $e=Re.apply(nu Line truncated
`),t.default.createElement("div",{style:ge.white,className:"saturation-white"},t.default.createElement("div",{style:ge.black,className:"saturation-black"}),t.default.createElement("div",{style:ge.pointer},this.props.pointer?t.default.createElement(this.props.pointer,this.props):t.default.createElement("div",{style:ge.circle}))))}}]),W}(e.PureComponent||e.Component);return Hg.default=U,Hg}var Zg={},Zh={},XS,TD;function $le(){if(TD)return XS;TD=1;var n=cG(),e=uG(),t=VN(),r=af();function i(s,l){var o=r(s)?n:e;return o(s,t(l))}return XS=i,XS}var JS,kD;function Vle(){return kD||(kD=1,JS=$le()),JS}var s2={exports:{}},Hle=s2.exports,PD;function Zle(){return PD||(PD=1,function(n,e){(function(t,r){n.exports=r()})(Hle,function(){function t(Le){"@babel/helpers - typeof";return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Re){return typeof Re}:function(Re){return Re&&typeof Symbol=="function"&&Re.constructor===Symbol&&Re!==Symbol.prototype?"symbol":typeof Re},t(Le)}var r=/^\s+/,i=/\s+$/;function s(Le,Re){if(Le=Le||"",Re=Re||{},Le instanceof s)return Le;if(!(this instanceof s))return new s(Le,Re);var Ke=l(Le);this._originalInput=Le,this._r=Ke.r,this._g=Ke.g,this._b=Ke.b,this._a=Ke.a,this._roundA=Math.round(100*this._a)/100,this._format=Re.format||Ke.format,this._gradientType=Re.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=Ke.ok}s.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 Re=this.toRgb();return(Re.r*299+Re.g*587+Re.b*114)/1e3},getLuminance:function(){var Re=this.toRgb(),Ke,$e,bt,vt,Ot,$t;return Ke=Re.r/255,$e=Re.g/255,bt=Re.b/255,Ke<=.03928?vt=Ke/12.92:vt=Math.pow((Ke+.055)/1.055,2.4),$e<=.03928?Ot=$e/12.92:Ot=Math.pow(($e+.055)/1.055,2.4),bt<=.03928?$t=bt/12.92:$t=Math.pow((bt+.055)/1.055,2.4),.2126*vt+.7152*Ot+.0722*$t},setAlpha:function(Re){return this._a=We(Re),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var Re=w(this._r,this._g,this._b);return{h:Re.h*360,s:Re.s,v:Re.v,a:this._a}},toHsvString:function(){var Re=w(this._r,this._g,this._b),Ke=Math.round(Re.h*360),$e=Math.round(Re.s*100),bt=Math.round(Re.v*100);return this._a==1?"hsv("+Ke+", "+$e+"%, "+bt+"%)":"hsva("+Ke+", "+$e+"%, "+bt+"%, "+this._roundA+")"},toHsl:function(){var Re=f(this._r,this._g,this._b);return{h:Re.h*360,s:Re.s,l:Re.l,a:this._a}},toHslString:function(){var Re=f(this._r,this._g,this._b),Ke=Math.round(Re.h*360),$e=Math.round(Re.s*100),bt=Math.round(Re.l*100);return this._a==1?"hsl("+Ke+", "+$e+"%, "+bt+"%)":"hsla("+Ke+", "+$e+"%, "+bt+"%, "+this._roundA+")"},toHex:function(Re){return D(this._r,this._g,this._b,Re)},toHexString:function(Re){return"#"+this.toHex(Re)},toHex8:function(Re){return R(this._r,this._g,this._b,this._a,Re)},toHex8String:function(Re){return"#"+this.toHex8(Re)},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(be(this._r,255)*100)+"%",g:Math.round(be(this._g,255)*100)+"%",b:Math.round(be(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+Math.round(be(this._r,255)*100)+"%, "+Math.round(be(this._g,255)*100)+"%, "+Math.round(be(this._b,255)*100)+"%)":"rgba("+Math.round(be(this._r,255)*100)+"%, "+Math.round(be(this._g,255)*100)+"%, "+Math.round(be(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:Be[D(this._r,this._g,this._b,!0)]||!1},toFilter:function(Re){var Ke="#"+U(this._r,this._g,this._b,this._a),$e=Ke,bt=this._gradientType?"GradientType = 1, ":"";if(Re){var vt=s(Re);$e="#"+U(vt._r,vt._g,vt._b,vt._a)}return"progid:DXImageTransform.Microsoft.gradient("+bt+"startColorstr="+Ke+",endColorstr="+$e+")"},toString:function(Re){var Ke=!!Re;Re=Re||this._format;var $e=!1,bt=this._a<1&&this._a>=0,vt=!Ke&&bt&&(Re==="hex"||Re==="hex6"||Re==="hex3"||Re==="hex4"||Re==="hex8"||Re==="name");return vt?Re==="name"&&this._a===0?this.toName():this.toRgbString():(Re==="rgb"&&($e=this.toRgbString()),Re==="prgb"&&($e=this.toPercentageRgbString()),(Re==="hex"||Re==="hex6")&&($e=this.toHexString()),Re==="hex3"&&($e=this.toHexString(!0)),Re==="hex4"&&($e=this.toHex8String(!0)),Re==="hex8"&&($e=this.toHex8String()),Re==="name"&&($e=this.toName()),Re==="hsl"&&($e=this.toHslString()),Re==="hsv"&&($e=this.toHsvString()),$e||this.toHexString())},clone:function(){return s(this.toString())},_applyModification:function(Re,Ke){var $e=Re.apply(nu Line truncated
<html>
<head>
<meta charset="utf-8" />
@@ -953,11 +953,11 @@ ${Je}`,{message:Tt,excerpt:pt,pointer:It}}function Be(Je,Ne){let Te=j(Ne);const
<\/script>
</body>
</html>
`),i=(Dr().s[9]++,new Blob([r],{type:"text/html;charset=utf-8"})),s=(Dr().s[10]++,this.exportName());Dr().s[11]++,sK.saveAs(i,s+".html")}async saveStyle(){Dr().f[3]++;const e=(Dr().s[12]++,this.tokenizedStyle());if(Dr().s[13]++,lK)Dr().b[2][1]++;else{Dr().b[2][0]++;const i=(Dr().s[14]++,new Blob([e],{type:"application/json;charset=utf-8"})),s=(Dr().s[15]++,this.exportName());Dr().s[16]++,sK.saveAs(i,s+".json"),Dr().s[17]++;return}let t=(Dr().s[18]++,this.props.fileHandle);if(Dr().s[19]++,t==null)if(Dr().b[3][0]++,Dr().s[20]++,t=await this.createFileHandle(),Dr().s[21]++,this.props.onSetFileHandle(t),Dr().s[22]++,t==null){Dr().b[4][0]++,Dr().s[23]++;return}else Dr().b[4][1]++;else Dr().b[3][1]++;const r=(Dr().s[24]++,await t.createWritable());Dr().s[25]++,await r.write(e),Dr().s[26]++,await r.close(),Dr().s[27]++,this.props.onOpenToggle()}async saveStyleAs(){Dr().f[4]++;const e=(Dr().s[28]++,this.tokenizedStyle()),t=(Dr().s[29]++,await this.createFileHandle());if(Dr().s[30]++,this.props.onSetFileHandle(t),Dr().s[31]++,t==null){Dr().b[5][0]++,Dr().s[32]++;return}else Dr().b[5][1]++;const r=(Dr().s[33]++,await t.createWritable());Dr().s[34]++,await r.write(e),Dr().s[35]++,await r.close(),Dr().s[36]++,this.props.onOpenToggle()}async createFileHandle(){Dr().f[5]++;const e=(Dr().s[37]++,{types:[{description:"json",accept:{"application/json":[".json"]}}],suggestedName:this.exportName()}),t=(Dr().s[38]++,await window.showSaveFilePicker(e));return Dr().s[39]++,this.props.onSetFileHandle(t),Dr().s[40]++,t}changeMetadataProperty(e,t){Dr().f[6]++;const r=(Dr().s[41]++,{...this.props.mapStyle,metadata:{...this.props.mapStyle.metadata,[e]:t}});Dr().s[42]++,this.props.onStyleChanged(r)}render(){Dr().f[7]++;const e=(Dr().s[43]++,this.props.t),t=(Dr().s[44]++,RG(e));return Dr().s[45]++,ae.jsx($0,{"data-wd-key":"modal:export",isOpen:this.props.isOpen,onOpenToggle:this.props.onOpenToggle,title:e("Save Style"),className:"maputnik-export-modal",children:ae.jsxs("section",{className:"maputnik-modal-section",children:[ae.jsx("h1",{children:e("Save Style")}),ae.jsx("p",{children:e("Save the JSON style to your computer.")}),ae.jsxs("div",{children:[ae.jsx(Pf,{label:t.maputnik.maptiler_access_token.label,fieldSpec:t.maputnik.maptiler_access_token,value:(Dr().b[6][0]++,this.props.mapStyle.metadata||(Dr().b[6][1]++,{}))["maputnik:openmaptiles_access_token"],onChange:this.changeMetadataProperty.bind(this,"maputnik:openmaptiles_access_token")}),ae.jsx(Pf,{label:t.maputnik.thunderforest_access_token.label,fieldSpec:t.maputnik.thunderforest_access_token,value:(Dr().b[7][0]++,this.props.mapStyle.metadata||(Dr().b[7][1]++,{}))["maputnik:thunderforest_access_token"],onChange:this.changeMetadataProperty.bind(this,"maputnik:thunderforest_access_token")}),ae.jsx(Pf,{label:t.maputnik.stadia_access_token.label,fieldSpec:t.maputnik.stadia_access_token,value:(Dr().b[8][0]++,this.props.mapStyle.metadata||(Dr().b[8][1]++,{}))["maputnik:stadia_access_token"],onChange:this.changeMetadataProperty.bind(this,"maputnik:stadia_access_token")}),ae.jsx(Pf,{label:t.maputnik.locationiq_access_token.label,fieldSpec:t.maputnik.locationiq_access_token,value:(Dr().b[9][0]++,this.props.mapStyle.metadata||(Dr().b[9][1]++,{}))["maputnik:locationiq_access_token"],onChange:this.changeMetadataProperty.bind(this,"maputnik:locationiq_access_token")})]}),ae.jsxs("div",{className:"maputnik-modal-export-buttons",children:[ae.jsxs($a,{onClick:this.saveStyle.bind(this),children:[ae.jsx(b6,{}),e("Save")]}),(Dr().b[10][0]++,lK&&(Dr().b[10][1]++,ae.jsxs($a,{onClick:this.saveStyleAs.bind(this),children:[ae.jsx(b6,{}),e("Save as")]}))),ae.jsxs($a,{onClick:this.createHtml.bind(this),children:[ae.jsx(UV,{}),e("Create HTML")]})]})]})})}}const Wue=(Dr().s[46]++,Gs()(jue));function a_(){var n="/home/runner/work/maputnik/maputnik/src/components/FieldDynamicArray.tsx",e="008bf7f932014e13eee4379e3554a3bc406336ab",t=globalThis,r="__coverage__",i={path:"/home/runner/work/maputnik/maputnik/src/components/FieldDynamicArray.tsx",statementMap:{0:{start:{line:4,column:26},end:{line:6,column:1}},1:{start:{line:5,column:2},end:{line:5,column:127}}},fnMap:{0:{name:"(anonymous_0)",decl:{start:{line:4,column:26},end:{line:4,column:27}},loc:{start:{line:4,column:37},end:{line:6,column:1}},line:4}},branchMap:{},s:{0:0,1:0},f:{0:0},b:{},inputSourceMap:{version:3,file:null,sources:["/home/runner/work/maputnik/maputnik/src/components/FieldDynamicArray.tsx"],names:[],mappings:"AAUM;AAVN,OAAO,uBAA2E;AAClF,OAAO,cAAc;AAMrB,MAAM,oBAAsD,CAAC,UAAU;AACrE,SACE,oBAAC,YAAS,OAAO,MAAM,OACrB,8BAAC,qBAAmB,GAAG,OAAO,GAChC;AAEJ;AAEA,eAAe;"},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"008bf7f932014e13eee4379e3554a3bc406336ab"},s=t[r]||(t[r]={});(!s[n]||s[n].hash!==e)&&(s[n]=i);var l=s[n];return a_=function(){return l},l}a_();a_().s[0]++;const LG=n=>(a_().f[0]++,a_().s[1]++,ae.jsx(XC,{label:n.label,children:ae.jsx(EG,{...n})}));function l_(){var n="/home/runner/work/maputnik/maputnik/src/components/Field Line truncated
`),i=(Dr().s[9]++,new Blob([r],{type:"text/html;charset=utf-8"})),s=(Dr().s[10]++,this.exportName());Dr().s[11]++,sK.saveAs(i,s+".html")}async saveStyle(){Dr().f[3]++;const e=(Dr().s[12]++,this.tokenizedStyle());if(Dr().s[13]++,lK)Dr().b[2][1]++;else{Dr().b[2][0]++;const i=(Dr().s[14]++,new Blob([e],{type:"application/json;charset=utf-8"})),s=(Dr().s[15]++,this.exportName());Dr().s[16]++,sK.saveAs(i,s+".json"),Dr().s[17]++;return}let t=(Dr().s[18]++,this.props.fileHandle);if(Dr().s[19]++,t==null)if(Dr().b[3][0]++,Dr().s[20]++,t=await this.createFileHandle(),Dr().s[21]++,this.props.onSetFileHandle(t),Dr().s[22]++,t==null){Dr().b[4][0]++,Dr().s[23]++;return}else Dr().b[4][1]++;else Dr().b[3][1]++;const r=(Dr().s[24]++,await t.createWritable());Dr().s[25]++,await r.write(e),Dr().s[26]++,await r.close(),Dr().s[27]++,this.props.onOpenToggle()}async saveStyleAs(){Dr().f[4]++;const e=(Dr().s[28]++,this.tokenizedStyle()),t=(Dr().s[29]++,await this.createFileHandle());if(Dr().s[30]++,this.props.onSetFileHandle(t),Dr().s[31]++,t==null){Dr().b[5][0]++,Dr().s[32]++;return}else Dr().b[5][1]++;const r=(Dr().s[33]++,await t.createWritable());Dr().s[34]++,await r.write(e),Dr().s[35]++,await r.close(),Dr().s[36]++,this.props.onOpenToggle()}async createFileHandle(){Dr().f[5]++;const e=(Dr().s[37]++,{types:[{description:"json",accept:{"application/json":[".json"]}}],suggestedName:this.exportName()}),t=(Dr().s[38]++,await window.showSaveFilePicker(e));return Dr().s[39]++,this.props.onSetFileHandle(t),Dr().s[40]++,t}changeMetadataProperty(e,t){Dr().f[6]++;const r=(Dr().s[41]++,{...this.props.mapStyle,metadata:{...this.props.mapStyle.metadata,[e]:t}});Dr().s[42]++,this.props.onStyleChanged(r)}render(){Dr().f[7]++;const e=(Dr().s[43]++,this.props.t),t=(Dr().s[44]++,DG(e));return Dr().s[45]++,ae.jsx($0,{"data-wd-key":"modal:export",isOpen:this.props.isOpen,onOpenToggle:this.props.onOpenToggle,title:e("Save Style"),className:"maputnik-export-modal",children:ae.jsxs("section",{className:"maputnik-modal-section",children:[ae.jsx("h1",{children:e("Save Style")}),ae.jsx("p",{children:e("Save the JSON style to your computer.")}),ae.jsxs("div",{children:[ae.jsx(Pf,{label:t.maputnik.maptiler_access_token.label,fieldSpec:t.maputnik.maptiler_access_token,value:(Dr().b[6][0]++,this.props.mapStyle.metadata||(Dr().b[6][1]++,{}))["maputnik:openmaptiles_access_token"],onChange:this.changeMetadataProperty.bind(this,"maputnik:openmaptiles_access_token")}),ae.jsx(Pf,{label:t.maputnik.thunderforest_access_token.label,fieldSpec:t.maputnik.thunderforest_access_token,value:(Dr().b[7][0]++,this.props.mapStyle.metadata||(Dr().b[7][1]++,{}))["maputnik:thunderforest_access_token"],onChange:this.changeMetadataProperty.bind(this,"maputnik:thunderforest_access_token")}),ae.jsx(Pf,{label:t.maputnik.stadia_access_token.label,fieldSpec:t.maputnik.stadia_access_token,value:(Dr().b[8][0]++,this.props.mapStyle.metadata||(Dr().b[8][1]++,{}))["maputnik:stadia_access_token"],onChange:this.changeMetadataProperty.bind(this,"maputnik:stadia_access_token")}),ae.jsx(Pf,{label:t.maputnik.locationiq_access_token.label,fieldSpec:t.maputnik.locationiq_access_token,value:(Dr().b[9][0]++,this.props.mapStyle.metadata||(Dr().b[9][1]++,{}))["maputnik:locationiq_access_token"],onChange:this.changeMetadataProperty.bind(this,"maputnik:locationiq_access_token")})]}),ae.jsxs("div",{className:"maputnik-modal-export-buttons",children:[ae.jsxs($a,{onClick:this.saveStyle.bind(this),children:[ae.jsx(_6,{}),e("Save")]}),(Dr().b[10][0]++,lK&&(Dr().b[10][1]++,ae.jsxs($a,{onClick:this.saveStyleAs.bind(this),children:[ae.jsx(_6,{}),e("Save as")]}))),ae.jsxs($a,{onClick:this.createHtml.bind(this),children:[ae.jsx(LV,{}),e("Create HTML")]})]})]})})}}const jue=(Dr().s[46]++,Gs()(Gue));function a_(){var n="/home/runner/work/maputnik/maputnik/src/components/FieldDynamicArray.tsx",e="008bf7f932014e13eee4379e3554a3bc406336ab",t=globalThis,r="__coverage__",i={path:"/home/runner/work/maputnik/maputnik/src/components/FieldDynamicArray.tsx",statementMap:{0:{start:{line:4,column:26},end:{line:6,column:1}},1:{start:{line:5,column:2},end:{line:5,column:127}}},fnMap:{0:{name:"(anonymous_0)",decl:{start:{line:4,column:26},end:{line:4,column:27}},loc:{start:{line:4,column:37},end:{line:6,column:1}},line:4}},branchMap:{},s:{0:0,1:0},f:{0:0},b:{},inputSourceMap:{version:3,file:null,sources:["/home/runner/work/maputnik/maputnik/src/components/FieldDynamicArray.tsx"],names:[],mappings:"AAUM;AAVN,OAAO,uBAA2E;AAClF,OAAO,cAAc;AAMrB,MAAM,oBAAsD,CAAC,UAAU;AACrE,SACE,oBAAC,YAAS,OAAO,MAAM,OACrB,8BAAC,qBAAmB,GAAG,OAAO,GAChC;AAEJ;AAEA,eAAe;"},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"008bf7f932014e13eee4379e3554a3bc406336ab"},s=t[r]||(t[r]={});(!s[n]||s[n].hash!==e)&&(s[n]=i);var l=s[n];return a_=function(){return l},l}a_();a_().s[0]++;const UG=n=>(a_().f[0]++,a_().s[1]++,ae.jsx(XC,{label:n.label,children:ae.jsx(BG,{...n})}));function l_(){var n="/home/runner/work/maputnik/maputnik/src/components/Field Line truncated
`)>=0)return!1;return!0}function Ie(Ve,Pe){var He;if(Ve.indent===" ")He=" ";else if(typeof Ve.indent=="number"&&Ve.indent>0)He=Ae.call(Array(Ve.indent+1)," ");else return null;return{base:He,prev:Ae.call(Array(Pe+1),He)}}function je(Ve,Pe){if(Ve.length===0)return"";var He=`
`+Pe.prev+Pe.base;return He+Ae.call(Ve,","+He)+`
`+Pe.prev}function ht(Ve,Pe){var He=Tt(Ve),m=[];if(He){m.length=Ve.length;for(var ft=0;ft<Ve.length;ft++)m[ft]=Kt(Ve,ft)?Pe(Ve[ft],Ve):""}var ut=typeof Be=="function"?Be(Ve):[],Bt;if(We){Bt={};for(var rt=0;rt<ut.length;rt++)Bt["$"+ut[rt]]=ut[rt]}for(var rn in Ve)Kt(Ve,rn)&&(He&&String(Number(rn))===rn&&rn<Ve.length||We&&Bt["$"+rn]instanceof Symbol||(re.call(/[^\w$]/,rn)?m.push(Pe(rn,Ve)+": "+Pe(Ve[rn],Ve)):m.push(rn+": "+Pe(Ve[rn],Ve))));if(typeof Be=="function")for(var Wn=0;Wn<ut.length;Wn++)nt.call(Ve,ut[Wn])&&m.push("["+Pe(ut[Wn])+"]: "+Pe(Ve[ut[Wn]],Ve));return m}return lE}var AE,pK;function Ece(){if(pK)return AE;pK=1;var n=w3(),e=ev(),t=function(o,f,C){for(var w=o,B;(B=w.next)!=null;w=B)if(B.key===f)return w.next=B.next,C||(B.next=o.next,o.next=B),B},r=function(o,f){if(o){var C=t(o,f);return C&&C.value}},i=function(o,f,C){var w=t(o,f);w?w.value=C:o.next={key:f,next:o.next,value:C}},s=function(o,f){return o?!!t(o,f):!1},l=function(o,f){if(o)return t(o,f,!0)};return AE=function(){var f,C={assert:function(w){if(!C.has(w))throw new e("Side channel does not contain "+n(w))},delete:function(w){var B=f&&f.next,D=l(f,w);return D&&B&&B===D&&(f=void 0),!!D},get:function(w){return r(f,w)},has:function(w){return s(f,w)},set:function(w,B){f||(f={next:void 0}),i(f,w,B)}};return C},AE}var uE,mK;function jG(){return mK||(mK=1,uE=Object),uE}var cE,gK;function Bce(){return gK||(gK=1,cE=Error),cE}var hE,yK;function Oce(){return yK||(yK=1,hE=EvalError),hE}var dE,vK;function Ice(){return vK||(vK=1,dE=RangeError),dE}var fE,CK;function Tce(){return CK||(CK=1,fE=ReferenceError),fE}var pE,_K;function kce(){return _K||(_K=1,pE=SyntaxError),pE}var mE,bK;function Pce(){return bK||(bK=1,mE=URIError),mE}var gE,xK;function Rce(){return xK||(xK=1,gE=Math.abs),gE}var yE,MK;function Dce(){return MK||(MK=1,yE=Math.floor),yE}var vE,wK;function Kce(){return wK||(wK=1,vE=Math.max),vE}var CE,SK;function Fce(){return SK||(SK=1,CE=Math.min),CE}var _E,EK;function Lce(){return EK||(EK=1,_E=Math.pow),_E}var bE,BK;function Uce(){return BK||(BK=1,bE=Math.round),bE}var xE,OK;function zce(){return OK||(OK=1,xE=Number.isNaN||function(e){return e!==e}),xE}var ME,IK;function Nce(){if(IK)return ME;IK=1;var n=zce();return ME=function(t){return n(t)||t===0?t:t<0?-1:1},ME}var wE,TK;function Gce(){return TK||(TK=1,wE=Object.getOwnPropertyDescriptor),wE}var SE,kK;function WG(){if(kK)return SE;kK=1;var n=Gce();if(n)try{n([],"length")}catch{n=null}return SE=n,SE}var EE,PK;function jce(){if(PK)return EE;PK=1;var n=Object.defineProperty||!1;if(n)try{n({},"a",{value:1})}catch{n=!1}return EE=n,EE}var BE,RK;function Wce(){return RK||(RK=1,BE=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},t=Symbol("test"),r=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(r)!=="[object Symbol]")return!1;var i=42;e[t]=i;for(var s in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var l=Object.getOwnPropertySymbols(e);if(l.length!==1||l[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var o=Object.getOwnPropertyDescriptor(e,t);if(o.value!==i||o.enumerable!==!0)return!1}return!0}),BE}var OE,DK;function Qce(){if(DK)return OE;DK=1;var n=typeof Symbol<"u"&&Symbol,e=Wce();return OE=function(){return typeof n!="function"||typeof Symbol!="function"||typeof n("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:e()},OE}var IE,KK;function QG(){return KK||(KK=1,IE=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),IE}var TE,FK;function YG(){if(FK)return TE;FK=1;var n=jG();return TE=n.getPrototypeOf||null,TE}var kE,LK;function Yce(){if(LK)return kE;LK=1;var n="Function.prototype.bind called on incompatible ",e=Object.prototype.toString,t=Math.max,r="[object Function]",i=function(f,C){for(var w=[],B=0;B<f.length;B+=1)w[B]=f[B];for(var D=0;D<C.length;D+=1)w[D+f.length]=C[D];return w},s=function(f,C){for(var w=[],B=C,D=0;B<f.length;B+=1,D+=1)w[D]=f[B];return w},l=function(o,f){for(var C="",w=0;w<o.length;w+=1)C+=o[w],w+1<o.length&&(C+=f);return C};return kE=function(f){var C=this;if(typeof C!="function"||e.apply(C)!==r)throw new TypeError(n+C);for(var w=s(arguments,1),B,D=function(){if(this instanceof B){var J=C.apply(this,i(w,arguments));return Object(J)===J?J:this}return C.apply(f,i(w,arguments))},R=t(0,C.length-w.length),U=[],G=0;G<R;G++)U[G]="$"+G;if(B=Function("binder","return function ("+l(U,",")+"){ return binder.apply(this,arguments); }")(D),C.prototype){var W=function(){};W.prototype=C.prototype,B.prototype=new W,W.prototype=null}return B},kE}var PE,UK;function S3(){if(UK)return PE;UK=1;var n=Yce();return PE=Function.prototype.bind||n,PE}var RE,zK;function GI(){return zK||(zK=1,RE=Function.prototype.call),RE}var DE,NK;function q Line truncated
`," "],l=["{","}","|","\\","^","`"].concat(s),o=["'"].concat(l),f=["%","/","?",";","#"].concat(o),C=["/","?","#"],w=255,B=/^[+a-z0-9A-Z_-]{0,63}$/,D=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,R={javascript:!0,"javascript:":!0},U={javascript:!0,"javascript:":!0},G={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},W=nhe();function J(H,re,j){if(H&&typeof H=="object"&&H instanceof e)return H;var Ae=new e;return Ae.parse(H,re,j),Ae}e.prototype.parse=function(H,re,j){if(typeof H!="string")throw new TypeError("Parameter 'url' must be a string, not "+typeof H);var Ae=H.indexOf("?"),ge=Ae!==-1&&Ae<H.indexOf("#")?"?":"#",me=H.split(ge),xe=/\\/g;me[0]=me[0].replace(xe,"/"),H=me.join(ge);var Be=H;if(Be=Be.trim(),!j&&H.split("#").length===1){var Me=i.exec(Be);if(Me)return this.path=Be,this.href=Be,this.pathname=Me[1],Me[2]?(this.search=Me[2],re?this.query=W.parse(this.search.substr(1)):this.query=this.search.substr(1)):re&&(this.search="",this.query={}),this}var We=t.exec(Be);if(We){We=We[0];var be=We.toLowerCase();this.protocol=be,Be=Be.substr(We.length)}if(j||We||Be.match(/^\/\/[^@/]+@[^@/]+/)){var nt=Be.substr(0,2)==="//";nt&&!(We&&U[We])&&(Be=Be.substr(2),this.slashes=!0)}if(!U[We]&&(nt||We&&!G[We])){for(var _t=-1,at=0;at<C.length;at++){var Je=Be.indexOf(C[at]);Je!==-1&&(_t===-1||Je<_t)&&(_t=Je)}var Ne,Te;_t===-1?Te=Be.lastIndexOf("@"):Te=Be.lastIndexOf("@",_t),Te!==-1&&(Ne=Be.slice(0,Te),Be=Be.slice(Te+1),this.auth=decodeURIComponent(Ne)),_t=-1;for(var at=0;at<f.length;at++){var Je=Be.indexOf(f[at]);Je!==-1&&(_t===-1||Je<_t)&&(_t=Je)}_t===-1&&(_t=Be.length),this.host=Be.slice(0,_t),Be=Be.slice(_t),this.parseHost(),this.hostname=this.hostname||"";var Ze=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!Ze)for(var gt=this.hostname.split(/\./),at=0,Dt=gt.length;at<Dt;at++){var pt=gt[at];if(pt&&!pt.match(B)){for(var Tt="",It=0,Le=pt.length;It<Le;It++)pt.charCodeAt(It)>127?Tt+="x":Tt+=pt[It];if(!Tt.match(B)){var Re=gt.slice(0,at),Ke=gt.slice(at+1),$e=pt.match(D);$e&&(Re.push($e[1]),Ke.unshift($e[2])),Ke.length&&(Be="/"+Ke.join(".")+Be),this.hostname=Re.join(".");break}}}this.hostname.length>w?this.hostname="":this.hostname=this.hostname.toLowerCase(),Ze||(this.hostname=n.toASCII(this.hostname));var bt=this.port?":"+this.port:"",vt=this.hostname||"";this.host=vt+bt,this.href+=this.host,Ze&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),Be[0]!=="/"&&(Be="/"+Be))}if(!R[be])for(var at=0,Dt=o.length;at<Dt;at++){var Ot=o[at];if(Be.indexOf(Ot)!==-1){var $t=encodeURIComponent(Ot);$t===Ot&&($t=escape(Ot)),Be=Be.split(Ot).join($t)}}var Kt=Be.indexOf("#");Kt!==-1&&(this.hash=Be.substr(Kt),Be=Be.slice(0,Kt));var un=Be.indexOf("?");if(un!==-1?(this.search=Be.substr(un),this.query=Be.substr(un+1),re&&(this.query=W.parse(this.query)),Be=Be.slice(0,un)):re&&(this.search="",this.query={}),Be&&(this.pathname=Be),G[be]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var bt=this.pathname||"",$n=this.search||"";this.path=bt+$n}return this.href=this.format(),this};function $(H){return typeof H=="string"&&(H=J(H)),H instanceof e?H.format():e.prototype.format.call(H)}e.prototype.format=function(){var H=this.auth||"";H&&(H=encodeURIComponent(H),H=H.replace(/%3A/i,":"),H+="@");var re=this.protocol||"",j=this.pathname||"",Ae=this.hash||"",ge=!1,me="";this.host?ge=H+this.host:this.hostname&&(ge=H+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(ge+=":"+this.port)),this.query&&typeof this.query=="object"&&Object.keys(this.query).length&&(me=W.stringify(this.query,{arrayFormat:"repeat",addQueryPrefix:!1}));var xe=this.search||me&&"?"+me||"";return re&&re.substr(-1)!==":"&&(re+=":"),this.slashes||(!re||G[re])&&ge!==!1?(ge="//"+(ge||""),j&&j.charAt(0)!=="/"&&(j="/"+j)):ge||(ge=""),Ae&&Ae.charAt(0)!=="#"&&(Ae="#"+Ae),xe&&xe.charAt(0)!=="?"&&(xe="?"+xe),j=j.replace(/[?#]/g,function(Be){return encodeURIComponent(Be)}),xe=xe.replace("#","%23"),re+ge+j+xe+Ae};function oe(H,re){return J(H,!1,!0).resolve(re)}e.prototype.resolve=function(H){return this.resolveObject(J(H,!1,!0)).format()};function te(H,re){return H?J(H,!1,!0).resolveObject(re):re}return e.prototype.resolveObject=function(H){if(typeof H=="string"){var re=new e;re.parse(H,!1,!0),H=re}for(var j=new e,Ae=Object.keys(this),ge=0;ge<Ae.length;ge++){var me=Ae[ge];j[me]=this[me]}if(j.hash=H.hash,H.href==="")return j.href=j.format(),j;if(H.slashes&&!H.protocol){for(var xe=Object.keys(H),Be=0;Be<xe.length;Be++){var Me=xe[Be];Me!=="protocol"&&(j[Me]=H[Me])}return G[j.protocol]&&j.hostname&&!j.pathname&&(j.pathname="/",j.path=j.pathname),j.href=j.format(),j}if(H.protocol&&H.protocol!==j.protocol){if(!G[H.protocol]){for(var We=Object.keys(H),be=0;be<We.length;be++){var nt=We[be];j[nt]=H[nt]}return j.href=j.format(),j}if(j.protocol=H.protocol,!H.host&&!U[H.protocol]){for(var Dt=(H.pathname||"").split("/");Dt.length&&!(H.host=Dt.shift()););H.host||(H.host=""),H.hostname Line truncated
`+Pe.prev}function ht(Ve,Pe){var He=Tt(Ve),m=[];if(He){m.length=Ve.length;for(var ft=0;ft<Ve.length;ft++)m[ft]=Kt(Ve,ft)?Pe(Ve[ft],Ve):""}var ut=typeof Be=="function"?Be(Ve):[],Bt;if(We){Bt={};for(var rt=0;rt<ut.length;rt++)Bt["$"+ut[rt]]=ut[rt]}for(var rn in Ve)Kt(Ve,rn)&&(He&&String(Number(rn))===rn&&rn<Ve.length||We&&Bt["$"+rn]instanceof Symbol||(re.call(/[^\w$]/,rn)?m.push(Pe(rn,Ve)+": "+Pe(Ve[rn],Ve)):m.push(rn+": "+Pe(Ve[rn],Ve))));if(typeof Be=="function")for(var Wn=0;Wn<ut.length;Wn++)nt.call(Ve,ut[Wn])&&m.push("["+Pe(ut[Wn])+"]: "+Pe(Ve[ut[Wn]],Ve));return m}return aE}var lE,pK;function Sce(){if(pK)return lE;pK=1;var n=M3(),e=ev(),t=function(o,f,C){for(var w=o,B;(B=w.next)!=null;w=B)if(B.key===f)return w.next=B.next,C||(B.next=o.next,o.next=B),B},r=function(o,f){if(o){var C=t(o,f);return C&&C.value}},i=function(o,f,C){var w=t(o,f);w?w.value=C:o.next={key:f,next:o.next,value:C}},s=function(o,f){return o?!!t(o,f):!1},l=function(o,f){if(o)return t(o,f,!0)};return lE=function(){var f,C={assert:function(w){if(!C.has(w))throw new e("Side channel does not contain "+n(w))},delete:function(w){var B=f&&f.next,D=l(f,w);return D&&B&&B===D&&(f=void 0),!!D},get:function(w){return r(f,w)},has:function(w){return s(f,w)},set:function(w,B){f||(f={next:void 0}),i(f,w,B)}};return C},lE}var AE,mK;function WG(){return mK||(mK=1,AE=Object),AE}var uE,gK;function Ece(){return gK||(gK=1,uE=Error),uE}var cE,yK;function Bce(){return yK||(yK=1,cE=EvalError),cE}var hE,vK;function Oce(){return vK||(vK=1,hE=RangeError),hE}var dE,CK;function Ice(){return CK||(CK=1,dE=ReferenceError),dE}var fE,_K;function Tce(){return _K||(_K=1,fE=SyntaxError),fE}var pE,bK;function kce(){return bK||(bK=1,pE=URIError),pE}var mE,xK;function Pce(){return xK||(xK=1,mE=Math.abs),mE}var gE,MK;function Rce(){return MK||(MK=1,gE=Math.floor),gE}var yE,wK;function Dce(){return wK||(wK=1,yE=Math.max),yE}var vE,SK;function Kce(){return SK||(SK=1,vE=Math.min),vE}var CE,EK;function Fce(){return EK||(EK=1,CE=Math.pow),CE}var _E,BK;function Lce(){return BK||(BK=1,_E=Math.round),_E}var bE,OK;function Uce(){return OK||(OK=1,bE=Number.isNaN||function(e){return e!==e}),bE}var xE,IK;function zce(){if(IK)return xE;IK=1;var n=Uce();return xE=function(t){return n(t)||t===0?t:t<0?-1:1},xE}var ME,TK;function Nce(){return TK||(TK=1,ME=Object.getOwnPropertyDescriptor),ME}var wE,kK;function QG(){if(kK)return wE;kK=1;var n=Nce();if(n)try{n([],"length")}catch{n=null}return wE=n,wE}var SE,PK;function Gce(){if(PK)return SE;PK=1;var n=Object.defineProperty||!1;if(n)try{n({},"a",{value:1})}catch{n=!1}return SE=n,SE}var EE,RK;function jce(){return RK||(RK=1,EE=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},t=Symbol("test"),r=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(r)!=="[object Symbol]")return!1;var i=42;e[t]=i;for(var s in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var l=Object.getOwnPropertySymbols(e);if(l.length!==1||l[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var o=Object.getOwnPropertyDescriptor(e,t);if(o.value!==i||o.enumerable!==!0)return!1}return!0}),EE}var BE,DK;function Wce(){if(DK)return BE;DK=1;var n=typeof Symbol<"u"&&Symbol,e=jce();return BE=function(){return typeof n!="function"||typeof Symbol!="function"||typeof n("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:e()},BE}var OE,KK;function YG(){return KK||(KK=1,OE=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),OE}var IE,FK;function qG(){if(FK)return IE;FK=1;var n=WG();return IE=n.getPrototypeOf||null,IE}var TE,LK;function Qce(){if(LK)return TE;LK=1;var n="Function.prototype.bind called on incompatible ",e=Object.prototype.toString,t=Math.max,r="[object Function]",i=function(f,C){for(var w=[],B=0;B<f.length;B+=1)w[B]=f[B];for(var D=0;D<C.length;D+=1)w[D+f.length]=C[D];return w},s=function(f,C){for(var w=[],B=C,D=0;B<f.length;B+=1,D+=1)w[D]=f[B];return w},l=function(o,f){for(var C="",w=0;w<o.length;w+=1)C+=o[w],w+1<o.length&&(C+=f);return C};return TE=function(f){var C=this;if(typeof C!="function"||e.apply(C)!==r)throw new TypeError(n+C);for(var w=s(arguments,1),B,D=function(){if(this instanceof B){var J=C.apply(this,i(w,arguments));return Object(J)===J?J:this}return C.apply(f,i(w,arguments))},R=t(0,C.length-w.length),U=[],G=0;G<R;G++)U[G]="$"+G;if(B=Function("binder","return function ("+l(U,",")+"){ return binder.apply(this,arguments); }")(D),C.prototype){var W=function(){};W.prototype=C.prototype,B.prototype=new W,W.prototype=null}return B},TE}var kE,UK;function w3(){if(UK)return kE;UK=1;var n=Qce();return kE=Function.prototype.bind||n,kE}var PE,zK;function GI(){return zK||(zK=1,PE=Function.prototype.call),PE}var RE,NK;function $Line truncated
`," "],l=["{","}","|","\\","^","`"].concat(s),o=["'"].concat(l),f=["%","/","?",";","#"].concat(o),C=["/","?","#"],w=255,B=/^[+a-z0-9A-Z_-]{0,63}$/,D=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,R={javascript:!0,"javascript:":!0},U={javascript:!0,"javascript:":!0},G={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},W=the();function J(H,re,j){if(H&&typeof H=="object"&&H instanceof e)return H;var Ae=new e;return Ae.parse(H,re,j),Ae}e.prototype.parse=function(H,re,j){if(typeof H!="string")throw new TypeError("Parameter 'url' must be a string, not "+typeof H);var Ae=H.indexOf("?"),ge=Ae!==-1&&Ae<H.indexOf("#")?"?":"#",me=H.split(ge),xe=/\\/g;me[0]=me[0].replace(xe,"/"),H=me.join(ge);var Be=H;if(Be=Be.trim(),!j&&H.split("#").length===1){var Me=i.exec(Be);if(Me)return this.path=Be,this.href=Be,this.pathname=Me[1],Me[2]?(this.search=Me[2],re?this.query=W.parse(this.search.substr(1)):this.query=this.search.substr(1)):re&&(this.search="",this.query={}),this}var We=t.exec(Be);if(We){We=We[0];var be=We.toLowerCase();this.protocol=be,Be=Be.substr(We.length)}if(j||We||Be.match(/^\/\/[^@/]+@[^@/]+/)){var nt=Be.substr(0,2)==="//";nt&&!(We&&U[We])&&(Be=Be.substr(2),this.slashes=!0)}if(!U[We]&&(nt||We&&!G[We])){for(var _t=-1,at=0;at<C.length;at++){var Je=Be.indexOf(C[at]);Je!==-1&&(_t===-1||Je<_t)&&(_t=Je)}var Ne,Te;_t===-1?Te=Be.lastIndexOf("@"):Te=Be.lastIndexOf("@",_t),Te!==-1&&(Ne=Be.slice(0,Te),Be=Be.slice(Te+1),this.auth=decodeURIComponent(Ne)),_t=-1;for(var at=0;at<f.length;at++){var Je=Be.indexOf(f[at]);Je!==-1&&(_t===-1||Je<_t)&&(_t=Je)}_t===-1&&(_t=Be.length),this.host=Be.slice(0,_t),Be=Be.slice(_t),this.parseHost(),this.hostname=this.hostname||"";var Ze=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!Ze)for(var gt=this.hostname.split(/\./),at=0,Dt=gt.length;at<Dt;at++){var pt=gt[at];if(pt&&!pt.match(B)){for(var Tt="",It=0,Le=pt.length;It<Le;It++)pt.charCodeAt(It)>127?Tt+="x":Tt+=pt[It];if(!Tt.match(B)){var Re=gt.slice(0,at),Ke=gt.slice(at+1),$e=pt.match(D);$e&&(Re.push($e[1]),Ke.unshift($e[2])),Ke.length&&(Be="/"+Ke.join(".")+Be),this.hostname=Re.join(".");break}}}this.hostname.length>w?this.hostname="":this.hostname=this.hostname.toLowerCase(),Ze||(this.hostname=n.toASCII(this.hostname));var bt=this.port?":"+this.port:"",vt=this.hostname||"";this.host=vt+bt,this.href+=this.host,Ze&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),Be[0]!=="/"&&(Be="/"+Be))}if(!R[be])for(var at=0,Dt=o.length;at<Dt;at++){var Ot=o[at];if(Be.indexOf(Ot)!==-1){var $t=encodeURIComponent(Ot);$t===Ot&&($t=escape(Ot)),Be=Be.split(Ot).join($t)}}var Kt=Be.indexOf("#");Kt!==-1&&(this.hash=Be.substr(Kt),Be=Be.slice(0,Kt));var un=Be.indexOf("?");if(un!==-1?(this.search=Be.substr(un),this.query=Be.substr(un+1),re&&(this.query=W.parse(this.query)),Be=Be.slice(0,un)):re&&(this.search="",this.query={}),Be&&(this.pathname=Be),G[be]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var bt=this.pathname||"",$n=this.search||"";this.path=bt+$n}return this.href=this.format(),this};function $(H){return typeof H=="string"&&(H=J(H)),H instanceof e?H.format():e.prototype.format.call(H)}e.prototype.format=function(){var H=this.auth||"";H&&(H=encodeURIComponent(H),H=H.replace(/%3A/i,":"),H+="@");var re=this.protocol||"",j=this.pathname||"",Ae=this.hash||"",ge=!1,me="";this.host?ge=H+this.host:this.hostname&&(ge=H+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(ge+=":"+this.port)),this.query&&typeof this.query=="object"&&Object.keys(this.query).length&&(me=W.stringify(this.query,{arrayFormat:"repeat",addQueryPrefix:!1}));var xe=this.search||me&&"?"+me||"";return re&&re.substr(-1)!==":"&&(re+=":"),this.slashes||(!re||G[re])&&ge!==!1?(ge="//"+(ge||""),j&&j.charAt(0)!=="/"&&(j="/"+j)):ge||(ge=""),Ae&&Ae.charAt(0)!=="#"&&(Ae="#"+Ae),xe&&xe.charAt(0)!=="?"&&(xe="?"+xe),j=j.replace(/[?#]/g,function(Be){return encodeURIComponent(Be)}),xe=xe.replace("#","%23"),re+ge+j+xe+Ae};function oe(H,re){return J(H,!1,!0).resolve(re)}e.prototype.resolve=function(H){return this.resolveObject(J(H,!1,!0)).format()};function te(H,re){return H?J(H,!1,!0).resolveObject(re):re}return e.prototype.resolveObject=function(H){if(typeof H=="string"){var re=new e;re.parse(H,!1,!0),H=re}for(var j=new e,Ae=Object.keys(this),ge=0;ge<Ae.length;ge++){var me=Ae[ge];j[me]=this[me]}if(j.hash=H.hash,H.href==="")return j.href=j.format(),j;if(H.slashes&&!H.protocol){for(var xe=Object.keys(H),Be=0;Be<xe.length;Be++){var Me=xe[Be];Me!=="protocol"&&(j[Me]=H[Me])}return G[j.protocol]&&j.hostname&&!j.pathname&&(j.pathname="/",j.path=j.pathname),j.href=j.format(),j}if(H.protocol&&H.protocol!==j.protocol){if(!G[H.protocol]){for(var We=Object.keys(H),be=0;be<We.length;be++){var nt=We[be];j[nt]=H[nt]}return j.href=j.format(),j}if(j.protocol=H.protocol,!H.host&&!U[H.protocol]){for(var Dt=(H.pathname||"").split("/");Dt.length&&!(H.host=Dt.shift()););H.host||(H.host=""),H.hostname 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
@@ -970,10 +970,10 @@ MERCHANTABLITY OR NON-INFRINGEMENT.
See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */var pB=function(n,e){return pB=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])},pB(n,e)};function rj(n,e){pB(n,e);function t(){this.constructor=n}n.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}function dhe(n){var e=typeof Symbol=="function"&&n[Symbol.iterator],t=0;return e?e.call(n):{next:function(){return n&&t>=n.length&&(n=void 0),{value:n&&n[t++],done:!n}}}}function fhe(n,e){var t=typeof Symbol=="function"&&n[Symbol.iterator];if(!t)return n;var r=t.call(n),i,s=[],l;try{for(;(e===void 0||e-- >0)&&!(i=r.next()).done;)s.push(i.value)}catch(o){l={error:o}}finally{try{i&&!i.done&&(t=r.return)&&t.call(r)}finally{if(l)throw l.error}}return s}function phe(){for(var n=[],e=0;e<arguments.length;e++)n=n.concat(fhe(arguments[e]));return n}var ij=function(){function n(e,t){this.target=t,this.type=e}return n}(),mhe=function(n){rj(e,n);function e(t,r){var i=n.call(this,"error",r)||this;return i.message=t.message,i.error=t,i}return e}(ij),ghe=function(n){rj(e,n);function e(t,r,i){t===void 0&&(t=1e3),r===void 0&&(r="");var s=n.call(this,"close",i)||this;return s.wasClean=!0,s.code=t,s.reason=r,s}return e}(ij);/*!
***************************************************************************** */var fB=function(n,e){return fB=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])},fB(n,e)};function ij(n,e){fB(n,e);function t(){this.constructor=n}n.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}function hhe(n){var e=typeof Symbol=="function"&&n[Symbol.iterator],t=0;return e?e.call(n):{next:function(){return n&&t>=n.length&&(n=void 0),{value:n&&n[t++],done:!n}}}}function dhe(n,e){var t=typeof Symbol=="function"&&n[Symbol.iterator];if(!t)return n;var r=t.call(n),i,s=[],l;try{for(;(e===void 0||e-- >0)&&!(i=r.next()).done;)s.push(i.value)}catch(o){l={error:o}}finally{try{i&&!i.done&&(t=r.return)&&t.call(r)}finally{if(l)throw l.error}}return s}function fhe(){for(var n=[],e=0;e<arguments.length;e++)n=n.concat(dhe(arguments[e]));return n}var oj=function(){function n(e,t){this.target=t,this.type=e}return n}(),phe=function(n){ij(e,n);function e(t,r){var i=n.call(this,"error",r)||this;return i.message=t.message,i.error=t,i}return e}(oj),mhe=function(n){ij(e,n);function e(t,r,i){t===void 0&&(t=1e3),r===void 0&&(r="");var s=n.call(this,"close",i)||this;return s.wasClean=!0,s.code=t,s.reason=r,s}return e}(oj);/*!
* Reconnecting WebSocket
* by Pedro Ladaria <pedro.ladaria@gmail.com>
* https://github.com/pladaria/reconnecting-websocket
* License MIT
*/var yhe=function(){if(typeof WebSocket<"u")return WebSocket},vhe=function(n){return typeof n<"u"&&!!n&&n.CLOSING===2},C1={maxReconnectionDelay:1e4,minReconnectionDelay:1e3+Math.random()*4e3,minUptime:5e3,reconnectionDelayGrowFactor:1.3,connectionTimeout:4e3,maxRetries:1/0,maxEnqueuedMessages:1/0},Che=function(){function n(e,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(s){i._debug("open event");var l=i._options.minUptime,o=l===void 0?C1.minUptime:l;clearTimeout(i._connectTimeout),i._uptimeTimeout=setTimeout(function(){return i._acceptOpen()},o),i._ws.binaryType=i._binaryType,i._messageQueue.forEach(function(f){return i._ws.send(f)}),i._messageQueue=[],i.onopen&&i.onopen(s),i._listeners.open.forEach(function(f){return i._callEventListener(s,f)})},this._handleMessage=function(s){i._debug("message event"),i.onmessage&&i.onmessage(s),i._listeners.message.forEach(function(l){return i._callEventListener(s,l)})},this._handleError=function(s){i._debug("error event",s.message),i._disconnect(void 0,s.message==="TIMEOUT"?"timeout":void 0),i.onerror&&i.onerror(s),i._debug("exec error listeners"),i._listeners.error.forEach(function(l){return i._callEventListener(s,l)}),i._connect()},this._handleClose=function(s){i._debug("close event"),i._clearTimeouts(),i._shouldReconnect&&i._connect(),i.onclose&&i.onclose(s),i._listeners.close.forEach(function(l){return i._callEventListener(s,l)})},this._url=e,this._protocols=t,this._options=r,this._options.startClosed&&(this._shouldReconnect=!1),this._connect()}return Object.defineProperty(n,"CONNECTING",{get:function(){return 0},enumerable:!0,configurable:!0}),Object.defineProperty(n,"OPEN",{get:function(){return 1},enumerable:!0,configurable:!0}),Object.defineProperty(n,"CLOSING",{get:function(){return 2},enumerable:!0,configurable:!0}),Object.defineProperty(n,"CLOSED",{get:function(){return 3},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"CONNECTING",{get:function(){return n.CONNECTING},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"OPEN",{get:function(){return n.OPEN},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"CLOSING",{get:function(){return n.CLOSING},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"CLOSED",{get:function(){return n.CLOSED},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"binaryType",{get:function(){return this._ws?this._ws.binaryType:this._binaryType},set:function(e){this._binaryType=e,this._ws&&(this._ws.binaryType=e)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"retryCount",{get:function(){return Math.max(this._retryCount,0)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"bufferedAmount",{get:function(){var e=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 e+(this._ws?this._ws.bufferedAmount:0)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"extensions",{get:function(){return this._ws?this._ws.extensions:""},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"protocol",{get:function(){return this._ws?this._ws.protocol:""},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"readyState",{get:function(){return this._ws?this._ws.readyState:this._options.startClosed?n.CLOSED:n.CONNECTING},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"url",{get:function(){return this._ws?this._ws.url:""},enumerable:!0,configurable:!0}),n.prototype.close=function(e,t){if(e===void 0&&(e=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(e,t)},n.prototype.reconnect=function(e,t){this._shouldReconnect=!0,this._closeCalled=!1,this._retryCount=-1,!this._ws||this._ws.readyState===this.CLOSED?this._connect():(this._disconnect(e,t),this._connect())},n.prototype.send=function(e){if(this._ws&&this._ws.readyState===this.OPEN)this._debug("send",e),this._ws.send(e);else{var t=this._options.maxEnqueuedMessages,r=t===void 0?C1.maxEnqueuedMessages:t;this._messageQueue.length<r&&(this._debug("enqueue",e),this._messageQueue.push(e))}},n.prototype.addEventListener=function(e,t){this._listeners[e]&&this._listeners[e].push(t)},n.prototype.dispatchEvent=function(e){var t,r,i=this._listeners[e.type];if(i)try{for(var s=dhe(i),l=s.next();!l.done;l=s.next()){var o=l.value;this._callEventListener(e,o)}}catch(f){t={error:f}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}return!0},n.prototype.removeEventListener=function(e,t){this._liLine truncated
//# sourceMappingURL=index-uAlRDdVw.js.map
*/var ghe=function(){if(typeof WebSocket<"u")return WebSocket},yhe=function(n){return typeof n<"u"&&!!n&&n.CLOSING===2},C1={maxReconnectionDelay:1e4,minReconnectionDelay:1e3+Math.random()*4e3,minUptime:5e3,reconnectionDelayGrowFactor:1.3,connectionTimeout:4e3,maxRetries:1/0,maxEnqueuedMessages:1/0},vhe=function(){function n(e,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(s){i._debug("open event");var l=i._options.minUptime,o=l===void 0?C1.minUptime:l;clearTimeout(i._connectTimeout),i._uptimeTimeout=setTimeout(function(){return i._acceptOpen()},o),i._ws.binaryType=i._binaryType,i._messageQueue.forEach(function(f){return i._ws.send(f)}),i._messageQueue=[],i.onopen&&i.onopen(s),i._listeners.open.forEach(function(f){return i._callEventListener(s,f)})},this._handleMessage=function(s){i._debug("message event"),i.onmessage&&i.onmessage(s),i._listeners.message.forEach(function(l){return i._callEventListener(s,l)})},this._handleError=function(s){i._debug("error event",s.message),i._disconnect(void 0,s.message==="TIMEOUT"?"timeout":void 0),i.onerror&&i.onerror(s),i._debug("exec error listeners"),i._listeners.error.forEach(function(l){return i._callEventListener(s,l)}),i._connect()},this._handleClose=function(s){i._debug("close event"),i._clearTimeouts(),i._shouldReconnect&&i._connect(),i.onclose&&i.onclose(s),i._listeners.close.forEach(function(l){return i._callEventListener(s,l)})},this._url=e,this._protocols=t,this._options=r,this._options.startClosed&&(this._shouldReconnect=!1),this._connect()}return Object.defineProperty(n,"CONNECTING",{get:function(){return 0},enumerable:!0,configurable:!0}),Object.defineProperty(n,"OPEN",{get:function(){return 1},enumerable:!0,configurable:!0}),Object.defineProperty(n,"CLOSING",{get:function(){return 2},enumerable:!0,configurable:!0}),Object.defineProperty(n,"CLOSED",{get:function(){return 3},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"CONNECTING",{get:function(){return n.CONNECTING},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"OPEN",{get:function(){return n.OPEN},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"CLOSING",{get:function(){return n.CLOSING},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"CLOSED",{get:function(){return n.CLOSED},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"binaryType",{get:function(){return this._ws?this._ws.binaryType:this._binaryType},set:function(e){this._binaryType=e,this._ws&&(this._ws.binaryType=e)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"retryCount",{get:function(){return Math.max(this._retryCount,0)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"bufferedAmount",{get:function(){var e=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 e+(this._ws?this._ws.bufferedAmount:0)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"extensions",{get:function(){return this._ws?this._ws.extensions:""},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"protocol",{get:function(){return this._ws?this._ws.protocol:""},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"readyState",{get:function(){return this._ws?this._ws.readyState:this._options.startClosed?n.CLOSED:n.CONNECTING},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"url",{get:function(){return this._ws?this._ws.url:""},enumerable:!0,configurable:!0}),n.prototype.close=function(e,t){if(e===void 0&&(e=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(e,t)},n.prototype.reconnect=function(e,t){this._shouldReconnect=!0,this._closeCalled=!1,this._retryCount=-1,!this._ws||this._ws.readyState===this.CLOSED?this._connect():(this._disconnect(e,t),this._connect())},n.prototype.send=function(e){if(this._ws&&this._ws.readyState===this.OPEN)this._debug("send",e),this._ws.send(e);else{var t=this._options.maxEnqueuedMessages,r=t===void 0?C1.maxEnqueuedMessages:t;this._messageQueue.length<r&&(this._debug("enqueue",e),this._messageQueue.push(e))}},n.prototype.addEventListener=function(e,t){this._listeners[e]&&this._listeners[e].push(t)},n.prototype.dispatchEvent=function(e){var t,r,i=this._listeners[e.type];if(i)try{for(var s=hhe(i),l=s.next();!l.done;l=s.next()){var o=l.value;this._callEventListener(e,o)}}catch(f){t={error:f}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}return!0},n.prototype.removeEventListener=function(e,t){this._liLine truncated
//# sourceMappingURL=index-CqVA1Dcm.js.map
@@ -1 +1 @@
{"version":3,"mappings":"k4CAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GASa,IAAIA,EAAE,OAAO,IAAI,eAAe,EAAEC,EAAE,OAAO,IAAI,cAAc,EAAEC,EAAE,OAAO,IAAI,gBAAgB,EAAEC,EAAE,OAAO,IAAI,mBAAmB,EAAEC,EAAE,OAAO,IAAI,gBAAgB,EAAEC,EAAE,OAAO,IAAI,gBAAgB,EAAEC,EAAE,OAAO,IAAI,eAAe,EAAEC,EAAE,OAAO,IAAI,mBAAmB,EAAEC,EAAE,OAAO,IAAI,gBAAgB,EAAEC,EAAE,OAAO,IAAI,YAAY,EAAEC,EAAE,OAAO,IAAI,YAAY,EAAEC,EAAE,OAAO,SAAS,SAASC,EAAEC,GAAE,CAAC,OAAUA,KAAP,MAAqB,OAAOA,IAAlB,SAA2B,MAAKA,GAAEF,GAAGE,GAAEF,CAAC,GAAGE,GAAE,YAAY,EAAqB,OAAOA,IAApB,WAAsBA,GAAE,KAAI,CAC1e,IAAIC,EAAE,CAAC,UAAU,UAAU,CAAC,MAAM,EAAE,EAAE,mBAAmB,UAAU,CAAC,EAAE,oBAAoB,UAAU,CAAC,EAAE,gBAAgB,UAAU,CAAC,GAAGC,EAAE,OAAO,OAAOC,EAAE,GAAG,SAASC,EAAEJ,GAAEK,GAAEC,GAAE,CAAC,KAAK,MAAMN,GAAE,KAAK,QAAQK,GAAE,KAAK,KAAKF,EAAE,KAAK,QAAQG,IAAGL,CAAC,CAACG,EAAE,UAAU,iBAAiB,GACnQA,EAAE,UAAU,SAAS,SAASJ,GAAEK,GAAE,CAAC,GAAc,OAAOL,IAAlB,UAAkC,OAAOA,IAApB,YAA6BA,IAAN,KAAQ,MAAM,MAAM,uHAAuH,EAAE,KAAK,QAAQ,gBAAgB,KAAKA,GAAEK,GAAE,UAAU,CAAC,EAAED,EAAE,UAAU,YAAY,SAASJ,GAAE,CAAC,KAAK,QAAQ,mBAAmB,KAAKA,GAAE,aAAa,CAAC,EAAE,SAASO,GAAG,CAAC,CAACA,EAAE,UAAUH,EAAE,UAAU,SAASI,EAAER,GAAEK,GAAEC,GAAE,CAAC,KAAK,MAAMN,GAAE,KAAK,QAAQK,GAAE,KAAK,KAAKF,EAAE,KAAK,QAAQG,IAAGL,CAAC,CAAC,IAAIQ,GAAED,EAAE,UAAU,IAAID,EACrfE,GAAE,YAAYD,EAAEN,EAAEO,GAAEL,EAAE,SAAS,EAAEK,GAAE,qBAAqB,GAAG,IAAIC,GAAE,MAAM,QAAQC,EAAE,OAAO,UAAU,eAAeC,GAAE,CAAC,QAAQ,MAAMC,EAAE,CAAC,IAAI,GAAG,IAAI,GAAG,OAAO,GAAG,SAAS,IACtK,SAASC,GAAEd,GAAEK,GAAEC,GAAE,CAAC,IAAIS,GAAEC,GAAE,GAAGC,GAAE,KAAKC,GAAE,KAAK,GAASb,IAAN,KAAQ,IAAIU,MAAcV,GAAE,MAAX,SAAiBa,GAAEb,GAAE,KAAcA,GAAE,MAAX,SAAiBY,GAAE,GAAGZ,GAAE,KAAKA,GAAEM,EAAE,KAAKN,GAAEU,EAAC,GAAG,CAACF,EAAE,eAAeE,EAAC,IAAIC,GAAED,EAAC,EAAEV,GAAEU,EAAC,GAAG,IAAII,GAAE,UAAU,OAAO,EAAE,GAAOA,KAAJ,EAAMH,GAAE,SAASV,WAAU,EAAEa,GAAE,CAAC,QAAQC,GAAE,MAAMD,EAAC,EAAEE,GAAE,EAAEA,GAAEF,GAAEE,KAAID,GAAEC,EAAC,EAAE,UAAUA,GAAE,CAAC,EAAEL,GAAE,SAASI,EAAA,CAAE,GAAGpB,IAAGA,GAAE,aAAa,IAAIe,MAAKI,GAAEnB,GAAE,aAAamB,GAAWH,GAAED,EAAC,IAAZ,SAAgBC,GAAED,EAAC,EAAEI,GAAEJ,EAAC,GAAG,MAAM,CAAC,SAAS5B,EAAE,KAAKa,GAAE,IAAIiB,GAAE,IAAIC,GAAE,MAAMF,GAAE,OAAOJ,GAAE,QAAQ,CAC7a,SAASU,GAAEtB,GAAEK,GAAE,CAAC,MAAM,CAAC,SAASlB,EAAE,KAAKa,GAAE,KAAK,IAAIK,GAAE,IAAIL,GAAE,IAAI,MAAMA,GAAE,MAAM,OAAOA,GAAE,OAAO,CAAC,SAASuB,GAAEvB,GAAE,CAAC,OAAiB,OAAOA,IAAlB,UAA4BA,KAAP,MAAUA,GAAE,WAAWb,CAAC,CAAC,SAASqC,GAAOxB,GAAE,CAAC,IAAIK,GAAE,CAAC,IAAI,KAAK,IAAI,MAAM,MAAM,IAAIL,GAAE,QAAQ,QAAQ,SAASA,GAAE,CAAC,OAAOK,GAAEL,EAAC,EAAE,CAAC,CAAC,IAAIyB,GAAE,OAAO,SAASC,GAAE1B,GAAEK,GAAE,CAAC,OAAiB,OAAOL,IAAlB,UAA4BA,KAAP,MAAgBA,GAAE,KAAR,KAAYwB,GAAO,GAAGxB,GAAE,GAAG,EAAEK,GAAE,SAAS,EAAE,CAAC,CAC/W,SAASsB,GAAE3B,GAAEK,GAAEC,GAAES,GAAEC,GAAE,CAAC,IAAIC,GAAE,OAAOjB,IAAmBiB,KAAd,aAA6BA,KAAZ,aAAcjB,GAAE,MAAK,IAAIkB,GAAE,GAAG,GAAUlB,KAAP,KAASkB,GAAE,eAAeD,GAAA,CAAG,IAAK,SAAS,IAAK,SAASC,GAAE,GAAG,MAAM,IAAK,SAAS,OAAOlB,GAAE,UAAU,KAAKb,EAAE,KAAKC,EAAE8B,GAAE,GAAE,CAAE,GAAGA,GAAE,OAAOA,GAAElB,GAAEgB,GAAEA,GAAEE,EAAC,EAAElB,GAAOe,KAAL,GAAO,IAAIW,GAAER,GAAE,CAAC,EAAEH,GAAEL,GAAEM,EAAC,GAAGV,GAAE,GAASN,IAAN,OAAUM,GAAEN,GAAE,QAAQyB,GAAE,KAAK,EAAE,KAAKE,GAAEX,GAAEX,GAAEC,GAAE,GAAG,SAASN,GAAE,CAAC,OAAOA,EAAA,CAAE,GAASgB,IAAN,OAAUO,GAAEP,EAAC,IAAIA,GAAEM,GAAEN,GAAEV,IAAG,CAACU,GAAE,KAAKE,IAAGA,GAAE,MAAMF,GAAE,IAAI,IAAI,GAAGA,GAAE,KAAK,QAAQS,GAAE,KAAK,EAAE,KAAKzB,EAAC,GAAGK,GAAE,KAAKW,EAAC,GAAG,EAAyB,GAAvBE,GAAE,EAAEH,GAAOA,KAAL,GAAO,IAAIA,GAAE,IAAOL,GAAEV,EAAC,EAAE,QAAQmB,GAAE,EAAEA,GAAEnB,GAAE,OAAOmB,KAAI,CAACF,GACrfjB,GAAEmB,EAAC,EAAE,IAAIC,GAAEL,GAAEW,GAAET,GAAEE,EAAC,EAAED,IAAGS,GAAEV,GAAEZ,GAAEC,GAAEc,GAAEJ,EAAC,UAAUI,GAAErB,EAAEC,EAAC,EAAe,OAAOoB,IAApB,WAAsB,IAAIpB,GAAEoB,GAAE,KAAKpB,EAAC,EAAEmB,GAAE,EAAE,EAAEF,GAAEjB,GAAE,QAAQ,MAAMiB,GAAEA,GAAE,MAAMG,GAAEL,GAAEW,GAAET,GAAEE,IAAG,EAAED,IAAGS,GAAEV,GAAEZ,GAAEC,GAAEc,GAAEJ,EAAC,UAAqBC,KAAX,SAAa,MAAMZ,GAAE,OAAOL,EAAC,EAAE,MAAM,mDAAuEK,KAApB,kBAAsB,qBAAqB,OAAO,KAAKL,EAAC,EAAE,KAAK,IAAI,EAAE,IAAIK,IAAG,2EAA2E,EAAE,OAAOa,EAAC,CACzZ,SAASU,GAAE5B,GAAEK,GAAEC,GAAE,CAAC,GAASN,IAAN,KAAQ,OAAOA,GAAE,IAAIe,GAAE,GAAGC,GAAE,EAAE,OAAAW,GAAE3B,GAAEe,GAAE,GAAG,GAAG,SAASf,GAAE,CAAC,OAAOK,GAAE,KAAKC,GAAEN,GAAEgB,IAAG,EAAE,EAASD,EAAC,CAAC,SAASc,GAAE7B,GAAE,CAAC,GAAQA,GAAE,UAAP,GAAe,CAAC,IAAIK,GAAEL,GAAE,QAAQK,GAAEA,GAAA,EAAIA,GAAE,KAAK,SAASA,GAAE,EAAQL,GAAE,UAAN,GAAoBA,GAAE,UAAP,MAAeA,GAAE,QAAQ,EAAEA,GAAE,QAAQK,GAAA,EAAG,SAASA,GAAE,EAAQL,GAAE,UAAN,GAAoBA,GAAE,UAAP,MAAeA,GAAE,QAAQ,EAAEA,GAAE,QAAQK,GAAA,CAAE,EAAOL,GAAE,UAAP,KAAiBA,GAAE,QAAQ,EAAEA,GAAE,QAAQK,GAAA,CAAG,GAAOL,GAAE,UAAN,EAAc,OAAOA,GAAE,QAAQ,QAAQ,MAAMA,GAAE,OAAQ,CAC5Z,IAAI8B,GAAE,CAAC,QAAQ,MAAMC,GAAE,CAAC,WAAW,MAAMC,GAAE,CAAC,uBAAuBF,GAAE,wBAAwBC,GAAE,kBAAkBnB,EAAA,EAAG,SAASqB,IAAG,CAAC,MAAM,MAAM,0DAA0D,CAAE,CACzM,OAAAC,GAAA,SAAiB,CAAC,IAAIN,GAAE,QAAQ,SAAS5B,GAAEK,GAAEC,GAAE,CAACsB,GAAE5B,GAAE,UAAU,CAACK,GAAE,MAAM,KAAK,SAAS,GAAGC,EAAC,CAAC,EAAE,MAAM,SAASN,GAAE,CAAC,IAAIK,GAAE,EAAE,OAAAuB,GAAE5B,GAAE,UAAU,CAACK,IAAA,CAAI,EAASA,EAAC,EAAE,QAAQ,SAASL,GAAE,CAAC,OAAO4B,GAAE5B,GAAE,SAASA,GAAE,CAAC,OAAOA,EAAA,CAAE,GAAG,EAAE,EAAE,KAAK,SAASA,GAAE,CAAC,GAAG,CAACuB,GAAEvB,EAAC,EAAE,MAAM,MAAM,uEAAuE,EAAE,Line truncated
{"version":3,"mappings":"k4CAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GASa,IAAIA,EAAE,OAAO,IAAI,eAAe,EAAEC,EAAE,OAAO,IAAI,cAAc,EAAEC,EAAE,OAAO,IAAI,gBAAgB,EAAEC,EAAE,OAAO,IAAI,mBAAmB,EAAEC,EAAE,OAAO,IAAI,gBAAgB,EAAEC,EAAE,OAAO,IAAI,gBAAgB,EAAEC,EAAE,OAAO,IAAI,eAAe,EAAEC,EAAE,OAAO,IAAI,mBAAmB,EAAEC,EAAE,OAAO,IAAI,gBAAgB,EAAEC,EAAE,OAAO,IAAI,YAAY,EAAEC,EAAE,OAAO,IAAI,YAAY,EAAEC,EAAE,OAAO,SAAS,SAASC,EAAEC,GAAE,CAAC,OAAUA,KAAP,MAAqB,OAAOA,IAAlB,SAA2B,MAAKA,GAAEF,GAAGE,GAAEF,CAAC,GAAGE,GAAE,YAAY,EAAqB,OAAOA,IAApB,WAAsBA,GAAE,KAAI,CAC1e,IAAIC,EAAE,CAAC,UAAU,UAAU,CAAC,MAAM,EAAE,EAAE,mBAAmB,UAAU,CAAC,EAAE,oBAAoB,UAAU,CAAC,EAAE,gBAAgB,UAAU,CAAC,GAAGC,EAAE,OAAO,OAAOC,EAAE,GAAG,SAASC,EAAEJ,GAAEK,GAAEC,GAAE,CAAC,KAAK,MAAMN,GAAE,KAAK,QAAQK,GAAE,KAAK,KAAKF,EAAE,KAAK,QAAQG,IAAGL,CAAC,CAACG,EAAE,UAAU,iBAAiB,GACnQA,EAAE,UAAU,SAAS,SAASJ,GAAEK,GAAE,CAAC,GAAc,OAAOL,IAAlB,UAAkC,OAAOA,IAApB,YAA6BA,IAAN,KAAQ,MAAM,MAAM,uHAAuH,EAAE,KAAK,QAAQ,gBAAgB,KAAKA,GAAEK,GAAE,UAAU,CAAC,EAAED,EAAE,UAAU,YAAY,SAASJ,GAAE,CAAC,KAAK,QAAQ,mBAAmB,KAAKA,GAAE,aAAa,CAAC,EAAE,SAASO,GAAG,CAAC,CAACA,EAAE,UAAUH,EAAE,UAAU,SAASI,EAAER,GAAEK,GAAEC,GAAE,CAAC,KAAK,MAAMN,GAAE,KAAK,QAAQK,GAAE,KAAK,KAAKF,EAAE,KAAK,QAAQG,IAAGL,CAAC,CAAC,IAAIQ,GAAED,EAAE,UAAU,IAAID,EACrfE,GAAE,YAAYD,EAAEN,EAAEO,GAAEL,EAAE,SAAS,EAAEK,GAAE,qBAAqB,GAAG,IAAIC,GAAE,MAAM,QAAQC,EAAE,OAAO,UAAU,eAAeC,GAAE,CAAC,QAAQ,MAAMC,EAAE,CAAC,IAAI,GAAG,IAAI,GAAG,OAAO,GAAG,SAAS,IACtK,SAASC,GAAEd,GAAEK,GAAEC,GAAE,CAAC,IAAIS,GAAEC,GAAE,GAAGC,GAAE,KAAKC,GAAE,KAAK,GAASb,IAAN,KAAQ,IAAIU,MAAcV,GAAE,MAAX,SAAiBa,GAAEb,GAAE,KAAcA,GAAE,MAAX,SAAiBY,GAAE,GAAGZ,GAAE,KAAKA,GAAEM,EAAE,KAAKN,GAAEU,EAAC,GAAG,CAACF,EAAE,eAAeE,EAAC,IAAIC,GAAED,EAAC,EAAEV,GAAEU,EAAC,GAAG,IAAII,GAAE,UAAU,OAAO,EAAE,GAAOA,KAAJ,EAAMH,GAAE,SAASV,WAAU,EAAEa,GAAE,CAAC,QAAQC,GAAE,MAAMD,EAAC,EAAEE,GAAE,EAAEA,GAAEF,GAAEE,KAAID,GAAEC,EAAC,EAAE,UAAUA,GAAE,CAAC,EAAEL,GAAE,SAASI,EAAA,CAAE,GAAGpB,IAAGA,GAAE,aAAa,IAAIe,MAAKI,GAAEnB,GAAE,aAAamB,GAAWH,GAAED,EAAC,IAAZ,SAAgBC,GAAED,EAAC,EAAEI,GAAEJ,EAAC,GAAG,MAAM,CAAC,SAAS5B,EAAE,KAAKa,GAAE,IAAIiB,GAAE,IAAIC,GAAE,MAAMF,GAAE,OAAOJ,GAAE,QAAQ,CAC7a,SAASU,GAAEtB,GAAEK,GAAE,CAAC,MAAM,CAAC,SAASlB,EAAE,KAAKa,GAAE,KAAK,IAAIK,GAAE,IAAIL,GAAE,IAAI,MAAMA,GAAE,MAAM,OAAOA,GAAE,OAAO,CAAC,SAASuB,GAAEvB,GAAE,CAAC,OAAiB,OAAOA,IAAlB,UAA4BA,KAAP,MAAUA,GAAE,WAAWb,CAAC,CAAC,SAASqC,GAAOxB,GAAE,CAAC,IAAIK,GAAE,CAAC,IAAI,KAAK,IAAI,MAAM,MAAM,IAAIL,GAAE,QAAQ,QAAQ,SAASA,GAAE,CAAC,OAAOK,GAAEL,EAAC,EAAE,CAAC,CAAC,IAAIyB,GAAE,OAAO,SAASC,GAAE1B,GAAEK,GAAE,CAAC,OAAiB,OAAOL,IAAlB,UAA4BA,KAAP,MAAgBA,GAAE,KAAR,KAAYwB,GAAO,GAAGxB,GAAE,GAAG,EAAEK,GAAE,SAAS,EAAE,CAAC,CAC/W,SAASsB,GAAE3B,GAAEK,GAAEC,GAAES,GAAEC,GAAE,CAAC,IAAIC,GAAE,OAAOjB,IAAmBiB,KAAd,aAA6BA,KAAZ,aAAcjB,GAAE,MAAK,IAAIkB,GAAE,GAAG,GAAUlB,KAAP,KAASkB,GAAE,eAAeD,GAAA,CAAG,IAAK,SAAS,IAAK,SAASC,GAAE,GAAG,MAAM,IAAK,SAAS,OAAOlB,GAAE,UAAU,KAAKb,EAAE,KAAKC,EAAE8B,GAAE,GAAE,CAAE,GAAGA,GAAE,OAAOA,GAAElB,GAAEgB,GAAEA,GAAEE,EAAC,EAAElB,GAAOe,KAAL,GAAO,IAAIW,GAAER,GAAE,CAAC,EAAEH,GAAEL,GAAEM,EAAC,GAAGV,GAAE,GAASN,IAAN,OAAUM,GAAEN,GAAE,QAAQyB,GAAE,KAAK,EAAE,KAAKE,GAAEX,GAAEX,GAAEC,GAAE,GAAG,SAASN,GAAE,CAAC,OAAOA,EAAA,CAAE,GAASgB,IAAN,OAAUO,GAAEP,EAAC,IAAIA,GAAEM,GAAEN,GAAEV,IAAG,CAACU,GAAE,KAAKE,IAAGA,GAAE,MAAMF,GAAE,IAAI,IAAI,GAAGA,GAAE,KAAK,QAAQS,GAAE,KAAK,EAAE,KAAKzB,EAAC,GAAGK,GAAE,KAAKW,EAAC,GAAG,EAAyB,GAAvBE,GAAE,EAAEH,GAAOA,KAAL,GAAO,IAAIA,GAAE,IAAOL,GAAEV,EAAC,EAAE,QAAQmB,GAAE,EAAEA,GAAEnB,GAAE,OAAOmB,KAAI,CAACF,GACrfjB,GAAEmB,EAAC,EAAE,IAAIC,GAAEL,GAAEW,GAAET,GAAEE,EAAC,EAAED,IAAGS,GAAEV,GAAEZ,GAAEC,GAAEc,GAAEJ,EAAC,UAAUI,GAAErB,EAAEC,EAAC,EAAe,OAAOoB,IAApB,WAAsB,IAAIpB,GAAEoB,GAAE,KAAKpB,EAAC,EAAEmB,GAAE,EAAE,EAAEF,GAAEjB,GAAE,QAAQ,MAAMiB,GAAEA,GAAE,MAAMG,GAAEL,GAAEW,GAAET,GAAEE,IAAG,EAAED,IAAGS,GAAEV,GAAEZ,GAAEC,GAAEc,GAAEJ,EAAC,UAAqBC,KAAX,SAAa,MAAMZ,GAAE,OAAOL,EAAC,EAAE,MAAM,mDAAuEK,KAApB,kBAAsB,qBAAqB,OAAO,KAAKL,EAAC,EAAE,KAAK,IAAI,EAAE,IAAIK,IAAG,2EAA2E,EAAE,OAAOa,EAAC,CACzZ,SAASU,GAAE5B,GAAEK,GAAEC,GAAE,CAAC,GAASN,IAAN,KAAQ,OAAOA,GAAE,IAAIe,GAAE,GAAGC,GAAE,EAAE,OAAAW,GAAE3B,GAAEe,GAAE,GAAG,GAAG,SAASf,GAAE,CAAC,OAAOK,GAAE,KAAKC,GAAEN,GAAEgB,IAAG,EAAE,EAASD,EAAC,CAAC,SAASc,GAAE7B,GAAE,CAAC,GAAQA,GAAE,UAAP,GAAe,CAAC,IAAIK,GAAEL,GAAE,QAAQK,GAAEA,GAAA,EAAIA,GAAE,KAAK,SAASA,GAAE,EAAQL,GAAE,UAAN,GAAoBA,GAAE,UAAP,MAAeA,GAAE,QAAQ,EAAEA,GAAE,QAAQK,GAAA,EAAG,SAASA,GAAE,EAAQL,GAAE,UAAN,GAAoBA,GAAE,UAAP,MAAeA,GAAE,QAAQ,EAAEA,GAAE,QAAQK,GAAA,CAAE,EAAOL,GAAE,UAAP,KAAiBA,GAAE,QAAQ,EAAEA,GAAE,QAAQK,GAAA,CAAG,GAAOL,GAAE,UAAN,EAAc,OAAOA,GAAE,QAAQ,QAAQ,MAAMA,GAAE,OAAQ,CAC5Z,IAAI8B,GAAE,CAAC,QAAQ,MAAMC,GAAE,CAAC,WAAW,MAAMC,GAAE,CAAC,uBAAuBF,GAAE,wBAAwBC,GAAE,kBAAkBnB,EAAA,EAAG,SAASqB,IAAG,CAAC,MAAM,MAAM,0DAA0D,CAAE,CACzM,OAAAC,GAAA,SAAiB,CAAC,IAAIN,GAAE,QAAQ,SAAS5B,GAAEK,GAAEC,GAAE,CAACsB,GAAE5B,GAAE,UAAU,CAACK,GAAE,MAAM,KAAK,SAAS,GAAGC,EAAC,CAAC,EAAE,MAAM,SAASN,GAAE,CAAC,IAAIK,GAAE,EAAE,OAAAuB,GAAE5B,GAAE,UAAU,CAACK,IAAA,CAAI,EAASA,EAAC,EAAE,QAAQ,SAASL,GAAE,CAAC,OAAO4B,GAAE5B,GAAE,SAASA,GAAE,CAAC,OAAOA,EAAA,CAAE,GAAG,EAAE,EAAE,KAAK,SAASA,GAAE,CAAC,GAAG,CAACuB,GAAEvB,EAAC,EAAE,MAAM,MAAM,uEAAuE,EAAE,Line truncated
+1 -1
View File
@@ -37,7 +37,7 @@
}
</style>
<script type="module" crossorigin src="/maputnik/assets/index-uAlRDdVw.js"></script>
<script type="module" crossorigin src="/maputnik/assets/index-CqVA1Dcm.js"></script>
<link rel="stylesheet" crossorigin href="/maputnik/assets/index-BGobTJkT.css">
</head>
<body>