@supermapgis/iclient-maplibregl
Version:
@supermapgis/iclient-maplibregl 是一套基于 Maplibre GL 的云 GIS 网络客户端开发平台, 支持访问 SuperMap iServer / iEdge / iPortal / iManager / Online 的地图、服务和资源,为用户提供了完整专业的 GIS 能力, 同时提供了优秀的可视化功能。
8 lines • 3.14 MB
JavaScript
/*!
*
* iclient-maplibregl
* Copyright© 2000 - 2026 SuperMap Software Co.Ltd
* license: Apache-2.0
* version: v12.1.0-r
*
*/!function(){var e={1358:function(e){!function(t){"use strict";if(t.__disableNativeFetch||!t.fetch){s.prototype.append=function(e,t){e=i(e),t=a(t);var r=this.map[e];r||(r=[],this.map[e]=r),r.push(t)},s.prototype.delete=function(e){delete this.map[i(e)]},s.prototype.get=function(e){var t=this.map[i(e)];return t?t[0]:null},s.prototype.getAll=function(e){return this.map[i(e)]||[]},s.prototype.has=function(e){return this.map.hasOwnProperty(i(e))},s.prototype.set=function(e,t){this.map[i(e)]=[a(t)]},s.prototype.forEach=function(e,t){Object.getOwnPropertyNames(this.map).forEach(function(r){this.map[r].forEach(function(n){e.call(t,n,r,this)},this)},this)};var r={blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t},n=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];p.prototype.clone=function(){return new p(this)},f.call(p.prototype),f.call(h.prototype),h.prototype.clone=function(){return new h(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new s(this.headers),url:this.url})},h.error=function(){var e=new h(null,{status:0,statusText:""});return e.type="error",e};var o=[301,302,303,307,308];h.redirect=function(e,t){if(-1===o.indexOf(t))throw new RangeError("Invalid status code");return new h(null,{status:t,headers:{location:e}})},t.Headers=s,t.Request=p,t.Response=h,t.fetch=function(e,t){return new Promise(function(n,o){var i;i=p.prototype.isPrototypeOf(e)&&!t?e:new p(e,t);var a=new XMLHttpRequest;var u=!1;function l(){if(4===a.readyState){var e=1223===a.status?204:a.status;if(e<100||e>599){if(u)return;return u=!0,void o(new TypeError("Network request failed"))}var t={status:e,statusText:a.statusText,headers:function(e){var t=new s;return e.getAllResponseHeaders().trim().split("\n").forEach(function(e){var r=e.trim().split(":"),n=r.shift().trim(),o=r.join(":").trim();t.append(n,o)}),t}(a),url:"responseURL"in a?a.responseURL:/^X-Request-URL:/m.test(a.getAllResponseHeaders())?a.getResponseHeader("X-Request-URL"):void 0},r="response"in a?a.response:a.responseText;u||(u=!0,n(new h(r,t)))}}a.onreadystatechange=l,a.onload=l,a.onerror=function(){u||(u=!0,o(new TypeError("Network request failed")))},a.open(i.method,i.url,!0);try{"include"===i.credentials&&("withCredentials"in a?a.withCredentials=!0:console&&console.warn&&console.warn("withCredentials is not supported, you can ignore this warning"))}catch(e){console&&console.warn&&console.warn("set withCredentials error:"+e)}"responseType"in a&&r.blob&&(a.responseType="blob"),i.headers.forEach(function(e,t){a.setRequestHeader(t,e)}),a.send(void 0===i._bodyInit?null:i._bodyInit)})},t.fetch.polyfill=!0,e.exports&&(e.exports=t.fetch)}function i(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function a(e){return"string"!=typeof e&&(e=String(e)),e}function s(e){this.map={},e instanceof s?e.forEach(function(e,t){this.append(t,e)},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function u(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function l(e){return new Promise(function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}})}function c(e){var t=new FileReader;return t.readAsArrayBuffer(e),l(t)}function f(){return this.bodyUsed=!1,this._initBody=function(e,t){if(this._bodyInit=e,"string"==typeof e)this._bodyText=e;else if(r.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e,this._options=t;else if(r.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(e){if(!r.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e))throw new Error("unsupported BodyInit type")}else this._bodyText=""},r.blob?(this.blob=function(){var e=u(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this.blob().then(c)},this.text=function(){var e,t,r,n,o,i,a,s=u(this);if(s)return s;if(this._bodyBlob)return e=this._bodyBlob,t=this._options,r=new FileReader,n=t.headers.map["content-type"]?t.headers.map["content-type"].toString():"",o=/charset\=[0-9a-zA-Z\-\_]*;?/,i=e.type.match(o)||n.match(o),a=[e],i&&a.push(i[0].replace(/^charset\=/,"").replace(/;$/,"")),r.readAsText.apply(r,a),l(r);if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)}):this.text=function(){var e=u(this);return e||Promise.resolve(this._bodyText)},r.formData&&(this.formData=function(){return this.text().then(y)}),this.json=function(){return this.text().then(JSON.parse)},this}function p(e,t){var r,o,i=(t=t||{}).body;if(p.prototype.isPrototypeOf(e)){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new s(e.headers)),this.method=e.method,this.mode=e.mode,i||(i=e._bodyInit,e.bodyUsed=!0)}else this.url=e;if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new s(t.headers)),this.method=(r=t.method||this.method||"GET",o=r.toUpperCase(),n.indexOf(o)>-1?o:r),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i,t)}function y(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var r=e.split("="),n=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(o))}}),t}function h(e,t){t||(t={}),this._initBody(e,t),this.type="default",this.status=t.status,this.ok=this.status>=200&&this.status<300,this.statusText=t.statusText,this.headers=t.headers instanceof s?t.headers:new s(t.headers),this.url=t.url||""}}("undefined"!=typeof self?self:this)},3678:function(e,t){var r,n,o;n=[t,e],void 0===(o="function"==typeof(r=function(e,t){"use strict";var r={timeout:5e3,jsonpCallback:"callback",jsonpCallbackFunction:null};function n(e){try{delete window[e]}catch(t){window[e]=void 0}}function o(e){var t=document.getElementById(e);t&&document.getElementsByTagName("head")[0].removeChild(t)}t.exports=function(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],i=e,a=t.timeout||r.timeout,s=t.jsonpCallback||r.jsonpCallback,u=void 0;return new Promise(function(r,l){var c=t.jsonpCallbackFunction||"jsonp_"+Date.now()+"_"+Math.ceil(1e5*Math.random()),f=s+"_"+c;window[c]=function(e){r({ok:!0,json:function(){return Promise.resolve(e)}}),u&&clearTimeout(u),o(f),n(c)},i+=-1===i.indexOf("?")?"?":"&";var p=document.createElement("script");p.setAttribute("src",""+i+s+"="+c),t.charset&&p.setAttribute("charset",t.charset),p.id=f,document.getElementsByTagName("head")[0].appendChild(p),u=setTimeout(function(){l(new Error("JSONP request to "+e+" timed out")),n(c),o(f),window[c]=function(){n(c)}},a),p.onerror=function(){l(new Error("JSONP request to "+e+" failed")),n(c),o(f),u&&clearTimeout(u)}})}})?r.apply(t,n):r)||(e.exports=o)},8461:function(e,t,r){var n,o,i;function a(e){"@babel/helpers - typeof";return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}e=r.nmd(e),(i={}).Constants={},i.Math={},i.Accumulator={},function(e){"use strict";e.WGS84={a:6378137,f:1/298.257223563},e.version={major:2,minor:2,patch:0},e.version_string="2.2.0"}(i.Constants),function(e){"use strict";e.digits=53,e.epsilon=Math.pow(.5,e.digits-1),e.degree=Math.PI/180,e.sq=function(e){return e*e},e.hypot=function(e,t){return Math.sqrt(e*e+t*t)},e.cbrt=Math.cbrt||function(e){var t=Math.pow(Math.abs(e),1/3);return e>0?t:e<0?-t:e},e.log1p=Math.log1p||function(e){var t=1+e,r=t-1;return 0===r?e:e*Math.log(t)/r},e.atanh=Math.atanh||function(t){var r=Math.abs(t);return r=e.log1p(2*r/(1-r))/2,t>0?r:t<0?-r:t},e.copysign=function(e,t){return Math.abs(e)*(t<0||0===t&&1/t<0?-1:1)},e.sum=function(e,t){var r=e+t,n=r-t,o=r-n;return n-=e,{s:r,t:r?0-(n+(o-=t)):r}},e.polyval=function(e,t,r,n){for(var o=e<0?0:t[r++];--e>=0;)o=o*n+t[r++];return o},e.AngRound=function(t){var r=1/16,n=Math.abs(t);return n=n<r?r-(r-n):n,e.copysign(n,t)},e.remainder=function(e,t){return(e%=t)<-t/2?e+t:e<t/2?e:e-t},e.AngNormalize=function(t){var r=e.remainder(t,360);return 180===Math.abs(r)?e.copysign(180,t):r},e.LatFix=function(e){return Math.abs(e)>90?NaN:e},e.AngDiff=function(t,r){var n,o,i=e.sum(e.remainder(-t,360),e.remainder(r,360));return n=(i=e.sum(e.remainder(i.s,360),i.t)).s,o=i.t,0!==n&&180!==Math.abs(n)||(n=e.copysign(n,0===o?r-t:-o)),{d:n,e:o}},e.sincosd=function(t){var r,n,o,i,a,s,u;switch(r=t%360,n=(r-=90*(o=Math.round(r/90)))*this.degree,i=Math.sin(n),a=Math.cos(n),45===Math.abs(r)?(a=Math.sqrt(.5),i=e.copysign(a,n)):30===Math.abs(r)&&(a=Math.sqrt(.75),i=e.copysign(.5,n)),3&o){case 0:s=i,u=a;break;case 1:s=a,u=-i;break;case 2:s=-i,u=-a;break;default:s=-a,u=i}return u+=0,0===s&&(s=e.copysign(s,t)),{s:s,c:u}},e.sincosde=function(t,r){var n,o,i,a,s,u,l;switch(n=t%360,i=Math.round(n/90),o=(n=e.AngRound(n-90*i+r))*this.degree,a=Math.sin(o),s=Math.cos(o),45===Math.abs(n)?(s=Math.sqrt(.5),a=e.copysign(s,o)):30===Math.abs(n)&&(s=Math.sqrt(.75),a=e.copysign(.5,o)),3&i){case 0:u=a,l=s;break;case 1:u=s,l=-a;break;case 2:u=-a,l=-s;break;default:u=-s,l=a}return l+=0,0===u&&(u=e.copysign(u,t+r)),{s:u,c:l}},e.atan2d=function(t,r){var n,o=0;if(Math.abs(t)>Math.abs(r)){var i=[r,t];t=i[0],r=i[1],o=2}switch(e.copysign(1,r)<0&&(r=-r,++o),n=Math.atan2(t,r)/this.degree,o){case 1:n=e.copysign(180,t)-n;break;case 2:n=90-n;break;case 3:n=-90+n}return n}}(i.Math),function(e,t){"use strict";e.Accumulator=function(e){this.Set(e)},e.Accumulator.prototype.Set=function(t){t||(t=0),t.constructor===e.Accumulator?(this._s=t._s,this._t=t._t):(this._s=t,this._t=0)},e.Accumulator.prototype.Add=function(e){var r=t.sum(e,this._t),n=t.sum(r.s,this._s);r=r.t,this._s=n.s,this._t=n.t,0===this._s?this._s=r:this._t+=r},e.Accumulator.prototype.Sum=function(t){var r;return t?((r=new e.Accumulator(this)).Add(t),r._s):this._s},e.Accumulator.prototype.Negate=function(){this._s*=-1,this._t*=-1},e.Accumulator.prototype.Remainder=function(e){this._s=t.remainder(this._s,e),this.Add(0)}}(i.Accumulator,i.Math),i.Geodesic={},i.GeodesicLine={},i.PolygonArea={},function(e,t,r,n,o){"use strict";var i,a,s,u,l,c,f,p,y,h,d,m=20+n.digits+10,g=n.epsilon,v=200*g,b=Math.sqrt(g),A=g,S=1e3*b;e.tiny_=Math.sqrt(Number.MIN_VALUE/Number.EPSILON),e.nC1_=6,e.nC1p_=6,e.nC2_=6,e.nC3_=6,e.nC4_=6,i=e.nC3_*(e.nC3_-1)/2,a=e.nC4_*(e.nC4_+1)/2,e.CAP_C1=1,e.CAP_C1p=2,e.CAP_C2=4,e.CAP_C3=8,e.CAP_C4=16,e.NONE=0,e.ARC=64,e.LATITUDE=128,e.LONGITUDE=256|e.CAP_C3,e.AZIMUTH=512,e.DISTANCE=1024|e.CAP_C1,e.STANDARD=e.LATITUDE|e.LONGITUDE|e.AZIMUTH|e.DISTANCE,e.DISTANCE_IN=2048|e.CAP_C1|e.CAP_C1p,e.REDUCEDLENGTH=4096|e.CAP_C1|e.CAP_C2,e.GEODESICSCALE=8192|e.CAP_C1|e.CAP_C2,e.AREA=16384|e.CAP_C4,e.ALL=32671,e.LONG_UNROLL=32768,e.OUT_MASK=32640|e.LONG_UNROLL,e.SinCosSeries=function(e,t,r,n){var o=n.length,i=o-(e?1:0),a=2*(r-t)*(r+t),s=1&i?n[--o]:0,u=0;for(i=Math.floor(i/2);i--;)s=a*(u=a*s-u+n[--o])-s+n[--o];return e?2*t*r*s:r*(s-u)},s=function(e,t){var r,o,i,a,s,u,l,c,f,p,y,h,d=n.sq(e),m=n.sq(t),g=(d+m-1)/6;return 0===m&&g<=0?r=0:(u=g,(s=(o=d*m/4)*(o+2*(a=g*(i=n.sq(g)))))>=0?(l=o+a,l+=l<0?-Math.sqrt(s):Math.sqrt(s),u+=(c=n.cbrt(l))+(0!==c?i/c:0)):(f=Math.atan2(Math.sqrt(-s),-(o+a)),u+=2*g*Math.cos(f/3)),p=Math.sqrt(n.sq(u)+m),h=((y=u<0?m/(p-u):u+p)-m)/(2*p),r=y/(Math.sqrt(y+n.sq(h))+h)),r},u=[1,4,64,0,256],e.A1m1f=function(e){var t=Math.floor(3);return(n.polyval(t,u,0,n.sq(e))/u[t+1]+e)/(1-e)},l=[-1,6,-16,32,-9,64,-128,2048,9,-16,768,3,-5,512,-7,1280,-7,2048],e.C1f=function(t,r){var o,i,a=n.sq(t),s=t,u=0;for(o=1;o<=e.nC1_;++o)i=Math.floor((e.nC1_-o)/2),r[o]=s*n.polyval(i,l,u,a)/l[u+i+1],u+=i+2,s*=t},c=[205,-432,768,1536,4005,-4736,3840,12288,-225,116,384,-7173,2695,7680,3467,7680,38081,61440],e.C1pf=function(t,r){var o,i,a=n.sq(t),s=t,u=0;for(o=1;o<=e.nC1p_;++o)i=Math.floor((e.nC1p_-o)/2),r[o]=s*n.polyval(i,c,u,a)/c[u+i+1],u+=i+2,s*=t},f=[-11,-28,-192,0,256],e.A2m1f=function(e){var t=Math.floor(3);return(n.polyval(t,f,0,n.sq(e))/f[t+1]-e)/(1+e)},p=[1,2,16,32,35,64,384,2048,15,80,768,7,35,512,63,1280,77,2048],e.C2f=function(t,r){var o,i,a=n.sq(t),s=t,u=0;for(o=1;o<=e.nC2_;++o)i=Math.floor((e.nC2_-o)/2),r[o]=s*n.polyval(i,p,u,a)/p[u+i+1],u+=i+2,s*=t},e.Geodesic=function(e,t){if(this.a=e,this.f=t,this._f1=1-this.f,this._e2=this.f*(2-this.f),this._ep2=this._e2/n.sq(this._f1),this._n=this.f/(2-this.f),this._b=this.a*this._f1,this._c2=(n.sq(this.a)+n.sq(this._b)*(0===this._e2?1:(this._e2>0?n.atanh(Math.sqrt(this._e2)):Math.atan(Math.sqrt(-this._e2)))/Math.sqrt(Math.abs(this._e2))))/2,this._etol2=.1*b/Math.sqrt(Math.max(.001,Math.abs(this.f))*Math.min(1,1-this.f/2)/2),!(isFinite(this.a)&&this.a>0))throw new Error("Equatorial radius is not positive");if(!(isFinite(this._b)&&this._b>0))throw new Error("Polar semi-axis is not positive");this._A3x=new Array(6),this._C3x=new Array(i),this._C4x=new Array(a),this.A3coeff(),this.C3coeff(),this.C4coeff()},y=[-3,128,-2,-3,64,-1,-3,-1,16,3,-1,-2,8,1,-1,2,1,1],e.Geodesic.prototype.A3coeff=function(){var e,t,r=0,o=0;for(e=5;e>=0;--e)t=Math.min(6-e-1,e),this._A3x[o++]=n.polyval(t,y,r,this._n)/y[r+t+1],r+=t+2},h=[3,128,2,5,128,-1,3,3,64,-1,0,1,8,-1,1,4,5,256,1,3,128,-3,-2,3,64,1,-3,2,32,7,512,-10,9,384,5,-9,5,192,7,512,-14,7,512,21,2560],e.Geodesic.prototype.C3coeff=function(){var t,r,o,i=0,a=0;for(t=1;t<e.nC3_;++t)for(r=e.nC3_-1;r>=t;--r)o=Math.min(e.nC3_-r-1,r),this._C3x[a++]=n.polyval(o,h,i,this._n)/h[i+o+1],i+=o+2},d=[97,15015,1088,156,45045,-224,-4784,1573,45045,-10656,14144,-4576,-858,45045,64,624,-4576,6864,-3003,15015,100,208,572,3432,-12012,30030,45045,1,9009,-2944,468,135135,5792,1040,-1287,135135,5952,-11648,9152,-2574,135135,-64,-624,4576,-6864,3003,135135,8,10725,1856,-936,225225,-8448,4992,-1144,225225,-1440,4160,-4576,1716,225225,-136,63063,1024,-208,105105,3584,-3328,1144,315315,-128,135135,-2560,832,405405,128,99099],e.Geodesic.prototype.C4coeff=function(){var t,r,o,i=0,a=0;for(t=0;t<e.nC4_;++t)for(r=e.nC4_-1;r>=t;--r)o=e.nC4_-r-1,this._C4x[a++]=n.polyval(o,d,i,this._n)/d[i+o+1],i+=o+2},e.Geodesic.prototype.A3f=function(e){return n.polyval(5,this._A3x,0,e)},e.Geodesic.prototype.C3f=function(t,r){var o,i,a=1,s=0;for(o=1;o<e.nC3_;++o)i=e.nC3_-o-1,a*=t,r[o]=a*n.polyval(i,this._C3x,s,t),s+=i+1},e.Geodesic.prototype.C4f=function(t,r){var o,i,a=1,s=0;for(o=0;o<e.nC4_;++o)i=e.nC4_-o-1,r[o]=a*n.polyval(i,this._C4x,s,t),s+=i+1,a*=t},e.Geodesic.prototype.Lengths=function(t,r,n,o,i,a,s,u,l,c,f,p,y){var h,d,m,g,v={},b=0,A=0,S=0,w=0;if((f&=e.OUT_MASK)&(e.DISTANCE|e.REDUCEDLENGTH|e.GEODESICSCALE)&&(S=e.A1m1f(t),e.C1f(t,p),f&(e.REDUCEDLENGTH|e.GEODESICSCALE)&&(w=e.A2m1f(t),e.C2f(t,y),b=S-w,w=1+w),S=1+S),f&e.DISTANCE)h=e.SinCosSeries(!0,a,s,p)-e.SinCosSeries(!0,n,o,p),v.s12b=S*(r+h),f&(e.REDUCEDLENGTH|e.GEODESICSCALE)&&(A=b*r+(S*h-w*(e.SinCosSeries(!0,a,s,y)-e.SinCosSeries(!0,n,o,y))));else if(f&(e.REDUCEDLENGTH|e.GEODESICSCALE)){for(d=1;d<=e.nC2_;++d)y[d]=S*p[d]-w*y[d];A=b*r+(e.SinCosSeries(!0,a,s,y)-e.SinCosSeries(!0,n,o,y))}return f&e.REDUCEDLENGTH?(v.m0=b,v.m12b=u*(o*a)-i*(n*s)-o*s*A):v.m12b=NaN,f&e.GEODESICSCALE&&(m=o*s+n*a,g=this._ep2*(l-c)*(l+c)/(i+u),v.M12=m+(g*a-s*A)*n/i,v.M21=m-(g*n-o*A)*a/u),v},e.Geodesic.prototype.InverseStart=function(t,r,o,i,a,u,l,c,f,p,y){var h,d,m,g,b,A,w,C,E,_,I,O,P,x,T,k,j,B,M,N,R={},D=i*r-a*t,L=a*r+i*t;return R.sig12=-1,h=i*r,h+=a*t,(d=L>=0&&D<.5&&a*l<.5)?(g=n.sq(t+i),g/=g+n.sq(r+a),R.dnm=Math.sqrt(1+this._ep2*g),m=l/(this._f1*R.dnm),b=Math.sin(m),A=Math.cos(m)):(b=c,A=f),R.salp1=a*b,R.calp1=A>=0?D+a*t*n.sq(b)/(1+A):h-a*t*n.sq(b)/(1-A),C=n.hypot(R.salp1,R.calp1),E=t*i+r*a*A,d&&C<this._etol2?(R.salp2=r*b,R.calp2=D-r*i*(A>=0?n.sq(b)/(1+A):1-A),w=n.hypot(R.salp2,R.calp2),R.salp2/=w,R.calp2/=w,R.sig12=Math.atan2(C,E)):Math.abs(this._n)>.1||E>=0||C>=6*Math.abs(this._n)*Math.PI*n.sq(r)||(N=Math.atan2(-c,-f),this.f>=0?(x=(P=n.sq(t)*this._ep2)/(2*(1+Math.sqrt(1+P))+P),_=N/(O=this.f*r*this.A3f(x)*Math.PI),I=h/(O*r)):(T=a*r-i*t,k=Math.atan2(h,T),I=l/(O=((_=(j=this.Lengths(this._n,Math.PI+k,t,-r,o,i,a,u,r,a,e.REDUCEDLENGTH,p,y)).m12b/(r*a*j.m0*Math.PI)-1)<-.01?h/_:-this.f*n.sq(r)*Math.PI)/r)),I>-v&&_>-1-S?this.f>=0?(R.salp1=Math.min(1,-_),R.calp1=-Math.sqrt(1-n.sq(R.salp1))):(R.calp1=Math.max(_>-v?0:-1,_),R.salp1=Math.sqrt(1-n.sq(R.calp1))):(B=s(_,I),M=O*(this.f>=0?-_*B/(1+B):-I*(1+B)/B),b=Math.sin(M),A=-Math.cos(M),R.salp1=a*b,R.calp1=h-a*t*n.sq(b)/(1-A))),R.salp1<=0?(R.salp1=1,R.calp1=0):(w=n.hypot(R.salp1,R.calp1),R.salp1/=w,R.calp1/=w),R},e.Geodesic.prototype.Lambda12=function(t,r,o,i,a,s,u,l,c,f,p,y,h,d){var m,g,v,b,A,S,w,C,E,_,I,O,P,x={};return 0===t&&0===l&&(l=-e.tiny_),g=u*r,v=n.hypot(l,u*t),x.ssig1=t,b=g*t,x.csig1=A=l*r,m=n.hypot(x.ssig1,x.csig1),x.ssig1/=m,x.csig1/=m,x.salp2=a!==r?g/a:u,x.calp2=a!==r||Math.abs(i)!==-t?Math.sqrt(n.sq(l*r)+(r<-t?(a-r)*(r+a):(t-i)*(t+i)))/a:Math.abs(l),x.ssig2=i,S=g*i,x.csig2=w=x.calp2*a,m=n.hypot(x.ssig2,x.csig2),x.ssig2/=m,x.csig2/=m,x.sig12=Math.atan2(Math.max(0,x.csig1*x.ssig2-x.ssig1*x.csig2),x.csig1*x.csig2+x.ssig1*x.ssig2),C=Math.max(0,A*S-b*w),E=A*w+b*S,I=Math.atan2(C*f-E*c,E*f+C*c),O=n.sq(v)*this._ep2,x.eps=O/(2*(1+Math.sqrt(1+O))+O),this.C3f(x.eps,d),_=e.SinCosSeries(!0,x.ssig2,x.csig2,d)-e.SinCosSeries(!0,x.ssig1,x.csig1,d),x.domg12=-this.f*this.A3f(x.eps)*g*(x.sig12+_),x.lam12=I+x.domg12,p&&(0===x.calp2?x.dlam12=-2*this._f1*o/t:(P=this.Lengths(x.eps,x.sig12,x.ssig1,x.csig1,o,x.ssig2,x.csig2,s,r,a,e.REDUCEDLENGTH,y,h),x.dlam12=P.m12b,x.dlam12*=this._f1/(x.calp2*a))),x},e.Geodesic.prototype.Inverse=function(t,r,o,i,a){var s,u;return a||(a=e.STANDARD),a===e.LONG_UNROLL&&(a|=e.STANDARD),a&=e.OUT_MASK,u=(s=this.InverseInt(t,r,o,i,a)).vals,a&e.AZIMUTH&&(u.azi1=n.atan2d(s.salp1,s.calp1),u.azi2=n.atan2d(s.salp2,s.calp2)),u},e.Geodesic.prototype.InverseInt=function(t,r,o,i,a){var s,u,l,c,f,p,y,h,d,v,S,w,C,E,_,I,O,P,x,T,k,j,B,M,N,R,D,L,F,Q,G,U,z,H,V,q,K,Y,J,W,X,Z,$,ee,te,re,ne,oe,ie,ae,se,ue,le,ce,fe,pe,ye,he,de,me,ge,ve,be,Ae,Se,we={};if(we.lat1=t=n.LatFix(t),we.lat2=o=n.LatFix(o),t=n.AngRound(t),o=n.AngRound(o),u=(s=n.AngDiff(r,i)).e,s=s.d,a&e.LONG_UNROLL?(we.lon1=r,we.lon2=r+s+u):(we.lon1=n.AngNormalize(r),we.lon2=n.AngNormalize(i)),u*=l=n.copysign(1,s),_=(s*=l)*n.degree,I=(c=n.sincosde(s,u)).s,O=c.c,u=180-s-u,(f=Math.abs(t)<Math.abs(o)||isNaN(o)?-1:1)<0){l*=-1;var Ce=[t,o];o=Ce[0],t=Ce[1]}if(t*=p=n.copysign(1,-t),o*=p,c=n.sincosd(t),y=this._f1*c.s,h=c.c,y/=c=n.hypot(y,h),h/=c,h=Math.max(e.tiny_,h),c=n.sincosd(o),d=this._f1*c.s,v=c.c,d/=c=n.hypot(d,v),v/=c,v=Math.max(e.tiny_,v),h<-y?v===h&&(d=n.copysign(y,d)):Math.abs(d)===-y&&(v=h),C=Math.sqrt(1+this._ep2*n.sq(y)),E=Math.sqrt(1+this._ep2*n.sq(d)),B=new Array(e.nC1_+1),M=new Array(e.nC2_+1),N=new Array(e.nC3_),(R=-90===t||0===I)&&(T=I,j=0,L=y,F=(x=O)*h,Q=d,G=(k=1)*v,P=Math.atan2(Math.max(0,F*Q-L*G),F*G+L*Q),S=(D=this.Lengths(this._n,P,L,F,C,Q,G,E,h,v,a|e.DISTANCE|e.REDUCEDLENGTH,B,M)).s12b,w=D.m12b,a&e.GEODESICSCALE&&(we.M12=D.M12,we.M21=D.M21),P<b||w>=0?((P<3*e.tiny_||P<g&&(S<0||w<0))&&(P=w=S=0),w*=this._b,S*=this._b,we.a12=P/n.degree):R=!1),ye=2,!R&&0===y&&(this.f<=0||u>=180*this.f))x=k=0,T=j=1,S=this.a*_,P=z=_/this._f1,w=this._b*Math.sin(P),a&e.GEODESICSCALE&&(we.M12=we.M21=Math.cos(P)),we.a12=s/this._f1;else if(!R)if(P=(D=this.InverseStart(y,h,C,d,v,E,_,I,O,B,M)).sig12,T=D.salp1,x=D.calp1,P>=0)j=D.salp2,k=D.calp2,H=D.dnm,S=P*this._b*H,w=n.sq(H)*this._b*Math.sin(P/H),a&e.GEODESICSCALE&&(we.M12=we.M21=Math.cos(P/H)),we.a12=P/n.degree,z=_/(this._f1*H);else{for(V=0,q=e.tiny_,K=1,Y=e.tiny_,J=-1,W=!1,X=!1;Z=(D=this.Lambda12(y,h,C,d,v,E,T,x,I,O,V<20,B,M,N)).lam12,j=D.salp2,k=D.calp2,P=D.sig12,L=D.ssig1,F=D.csig1,Q=D.ssig2,G=D.csig2,U=D.eps,de=D.domg12,$=D.dlam12,!X&&Math.abs(Z)>=(W?8:1)*g&&V!=m;++V)Z>0&&(V<20||x/T>J/Y)?(Y=T,J=x):Z<0&&(V<20||x/T<K/q)&&(q=T,K=x),V<20&&$>0&&(ee=-Z/$,Math.abs(ee)<Math.PI&&(te=Math.sin(ee),(ne=T*(re=Math.cos(ee))+x*te)>0))?(x=x*re-T*te,T=ne,T/=c=n.hypot(T,x),x/=c,W=Math.abs(Z)<=16*g):(T=(q+Y)/2,x=(K+J)/2,T/=c=n.hypot(T,x),x/=c,W=!1,X=Math.abs(q-T)+(K-x)<A||Math.abs(T-Y)+(x-J)<A);oe=a|(a&(e.REDUCEDLENGTH|e.GEODESICSCALE)?e.DISTANCE:e.NONE),S=(D=this.Lengths(U,P,L,F,C,Q,G,E,h,v,oe,B,M)).s12b,w=D.m12b,a&e.GEODESICSCALE&&(we.M12=D.M12,we.M21=D.M21),w*=this._b,S*=this._b,we.a12=P/n.degree,a&e.AREA&&(Ae=Math.sin(de),ye=I*(Se=Math.cos(de))-O*Ae,he=O*Se+I*Ae)}if(a&e.DISTANCE&&(we.s12=0+S),a&e.REDUCEDLENGTH&&(we.m12=0+w),a&e.AREA&&(ie=T*h,0!==(ae=n.hypot(x,T*y))&&0!==ie?(L=y,F=x*h,Q=d,G=k*v,U=(ue=n.sq(ae)*this._ep2)/(2*(1+Math.sqrt(1+ue))+ue),le=n.sq(this.a)*ae*ie*this._e2,L/=c=n.hypot(L,F),F/=c,Q/=c=n.hypot(Q,G),G/=c,ce=new Array(e.nC4_),this.C4f(U,ce),fe=e.SinCosSeries(!1,L,F,ce),pe=e.SinCosSeries(!1,Q,G,ce),we.S12=le*(pe-fe)):we.S12=0,R||2!=ye||(ye=Math.sin(z),he=Math.cos(z)),!R&&he>-.7071&&d-y<1.75?(de=1+he,me=1+h,ge=1+v,se=2*Math.atan2(ye*(y*ge+d*me),de*(y*d+me*ge))):(be=k*x+j*T,0==(ve=j*x-k*T)&&be<0&&(ve=e.tiny_*x,be=-1),se=Math.atan2(ve,be)),we.S12+=this._c2*se,we.S12*=f*l*p,we.S12+=0),f<0){var Ee=[T,j];j=Ee[0],T=Ee[1];var _e=[x,k];if(k=_e[0],x=_e[1],a&e.GEODESICSCALE){var Ie=[we.M12,we.M21];we.M21=Ie[0],we.M12=Ie[1]}}return{vals:we,salp1:T*=f*l,calp1:x*=f*p,salp2:j*=f*l,calp2:k*=f*p}},e.Geodesic.prototype.GenDirect=function(r,n,o,i,a,s){return s?s===e.LONG_UNROLL&&(s|=e.STANDARD):s=e.STANDARD,i||(s|=e.DISTANCE_IN),new t.GeodesicLine(this,r,n,o,s).GenPosition(i,a,s)},e.Geodesic.prototype.Direct=function(e,t,r,n,o){return this.GenDirect(e,t,r,!1,n,o)},e.Geodesic.prototype.ArcDirect=function(e,t,r,n,o){return this.GenDirect(e,t,r,!0,n,o)},e.Geodesic.prototype.Line=function(e,r,n,o){return new t.GeodesicLine(this,e,r,n,o)},e.Geodesic.prototype.DirectLine=function(e,t,r,n,o){return this.GenDirectLine(e,t,r,!1,n,o)},e.Geodesic.prototype.ArcDirectLine=function(e,t,r,n,o){return this.GenDirectLine(e,t,r,!0,n,o)},e.Geodesic.prototype.GenDirectLine=function(r,n,o,i,a,s){var u;return s||(s=e.STANDARD|e.DISTANCE_IN),i||(s|=e.DISTANCE_IN),(u=new t.GeodesicLine(this,r,n,o,s)).GenSetDistance(i,a),u},e.Geodesic.prototype.InverseLine=function(r,o,i,a,s){var u,l,c;return s||(s=e.STANDARD|e.DISTANCE_IN),u=this.InverseInt(r,o,i,a,e.ARC),c=n.atan2d(u.salp1,u.calp1),s&e.OUT_MASK&e.DISTANCE_IN&&(s|=e.DISTANCE),(l=new t.GeodesicLine(this,r,o,c,s,u.salp1,u.calp1)).SetArc(u.vals.a12),l},e.Geodesic.prototype.Polygon=function(e){return new r.PolygonArea(this,e)},e.WGS84=new e.Geodesic(o.WGS84.a,o.WGS84.f)}(i.Geodesic,i.GeodesicLine,i.PolygonArea,i.Math,i.Constants),function(e,t,r){"use strict";t.GeodesicLine=function(t,n,o,i,a,s,u){var l,c,f,p,y,h;a||(a=e.STANDARD|e.DISTANCE_IN),this.a=t.a,this.f=t.f,this._b=t._b,this._c2=t._c2,this._f1=t._f1,this.caps=a|e.LATITUDE|e.AZIMUTH|e.LONG_UNROLL,this.lat1=r.LatFix(n),this.lon1=o,void 0===s||void 0===u?(this.azi1=r.AngNormalize(i),l=r.sincosd(r.AngRound(this.azi1)),this.salp1=l.s,this.calp1=l.c):(this.azi1=i,this.salp1=s,this.calp1=u),l=r.sincosd(r.AngRound(this.lat1)),f=this._f1*l.s,c=l.c,f/=l=r.hypot(f,c),c/=l,c=Math.max(e.tiny_,c),this._dn1=Math.sqrt(1+t._ep2*r.sq(f)),this._salp0=this.salp1*c,this._calp0=r.hypot(this.calp1,this.salp1*f),this._ssig1=f,this._somg1=this._salp0*f,this._csig1=this._comg1=0!==f||0!==this.calp1?c*this.calp1:1,l=r.hypot(this._ssig1,this._csig1),this._ssig1/=l,this._csig1/=l,this._k2=r.sq(this._calp0)*t._ep2,p=this._k2/(2*(1+Math.sqrt(1+this._k2))+this._k2),this.caps&e.CAP_C1&&(this._A1m1=e.A1m1f(p),this._C1a=new Array(e.nC1_+1),e.C1f(p,this._C1a),this._B11=e.SinCosSeries(!0,this._ssig1,this._csig1,this._C1a),y=Math.sin(this._B11),h=Math.cos(this._B11),this._stau1=this._ssig1*h+this._csig1*y,this._ctau1=this._csig1*h-this._ssig1*y),this.caps&e.CAP_C1p&&(this._C1pa=new Array(e.nC1p_+1),e.C1pf(p,this._C1pa)),this.caps&e.CAP_C2&&(this._A2m1=e.A2m1f(p),this._C2a=new Array(e.nC2_+1),e.C2f(p,this._C2a),this._B21=e.SinCosSeries(!0,this._ssig1,this._csig1,this._C2a)),this.caps&e.CAP_C3&&(this._C3a=new Array(e.nC3_),t.C3f(p,this._C3a),this._A3c=-this.f*this._salp0*t.A3f(p),this._B31=e.SinCosSeries(!0,this._ssig1,this._csig1,this._C3a)),this.caps&e.CAP_C4&&(this._C4a=new Array(e.nC4_),t.C4f(p,this._C4a),this._A4=r.sq(this.a)*this._calp0*this._salp0*t._e2,this._B41=e.SinCosSeries(!1,this._ssig1,this._csig1,this._C4a)),this.a13=this.s13=NaN},t.GeodesicLine.prototype.GenPosition=function(t,n,o){var i,a,s,u,l,c,f,p,y,h,d,m,g,v,b,A,S,w,C,E,_,I,O,P,x,T,k={};return o?o===e.LONG_UNROLL&&(o|=e.STANDARD):o=e.STANDARD,o&=this.caps&e.OUT_MASK,k.lat1=this.lat1,k.azi1=this.azi1,k.lon1=o&e.LONG_UNROLL?this.lon1:r.AngNormalize(this.lon1),t?k.a12=n:k.s12=n,t||this.caps&e.DISTANCE_IN&e.OUT_MASK?(u=0,l=0,t?(i=n*r.degree,a=(O=r.sincosd(n)).s,s=O.c):(p=n/(this._b*(1+this._A1m1)),y=Math.sin(p),h=Math.cos(p),i=p-((u=-e.SinCosSeries(!0,this._stau1*h+this._ctau1*y,this._ctau1*h-this._stau1*y,this._C1pa))-this._B11),a=Math.sin(i),s=Math.cos(i),Math.abs(this.f)>.01&&(c=this._ssig1*s+this._csig1*a,f=this._csig1*s-this._ssig1*a,u=e.SinCosSeries(!0,c,f,this._C1a),i-=((1+this._A1m1)*(i+(u-this._B11))-n/this._b)/Math.sqrt(1+this._k2*r.sq(c)),a=Math.sin(i),s=Math.cos(i))),c=this._ssig1*s+this._csig1*a,f=this._csig1*s-this._ssig1*a,C=Math.sqrt(1+this._k2*r.sq(c)),o&(e.DISTANCE|e.REDUCEDLENGTH|e.GEODESICSCALE)&&((t||Math.abs(this.f)>.01)&&(u=e.SinCosSeries(!0,c,f,this._C1a)),l=(1+this._A1m1)*(u-this._B11)),g=this._calp0*c,0===(v=r.hypot(this._salp0,this._calp0*f))&&(v=f=e.tiny_),S=this._salp0,w=this._calp0*f,t&&o&e.DISTANCE&&(k.s12=this._b*((1+this._A1m1)*i+l)),o&e.LONGITUDE&&(b=this._salp0*c,A=f,m=r.copysign(1,this._salp0),d=((o&e.LONG_UNROLL?m*(i-(Math.atan2(c,f)-Math.atan2(this._ssig1,this._csig1))+(Math.atan2(m*b,A)-Math.atan2(m*this._somg1,this._comg1))):Math.atan2(b*this._comg1-A*this._somg1,A*this._comg1+b*this._somg1))+this._A3c*(i+(e.SinCosSeries(!0,c,f,this._C3a)-this._B31)))/r.degree,k.lon2=o&e.LONG_UNROLL?this.lon1+d:r.AngNormalize(r.AngNormalize(this.lon1)+r.AngNormalize(d))),o&e.LATITUDE&&(k.lat2=r.atan2d(g,this._f1*v)),o&e.AZIMUTH&&(k.azi2=r.atan2d(S,w)),o&(e.REDUCEDLENGTH|e.GEODESICSCALE)&&(E=e.SinCosSeries(!0,c,f,this._C2a),_=(1+this._A2m1)*(E-this._B21),I=(this._A1m1-this._A2m1)*i+(l-_),o&e.REDUCEDLENGTH&&(k.m12=this._b*(C*(this._csig1*c)-this._dn1*(this._ssig1*f)-this._csig1*f*I)),o&e.GEODESICSCALE&&(O=this._k2*(c-this._ssig1)*(c+this._ssig1)/(this._dn1+C),k.M12=s+(O*c-f*I)*this._ssig1/this._dn1,k.M21=s-(O*this._ssig1-this._csig1*I)*c/C)),o&e.AREA&&(P=e.SinCosSeries(!1,c,f,this._C4a),0===this._calp0||0===this._salp0?(x=S*this.calp1-w*this.salp1,T=w*this.calp1+S*this.salp1):(x=this._calp0*this._salp0*(s<=0?this._csig1*(1-s)+a*this._ssig1:a*(this._csig1*a/(1+s)+this._ssig1)),T=r.sq(this._salp0)+r.sq(this._calp0)*this._csig1*f),k.S12=this._c2*Math.atan2(x,T)+this._A4*(P-this._B41)),t||(k.a12=i/r.degree),k):(k.a12=NaN,k)},t.GeodesicLine.prototype.Position=function(e,t){return this.GenPosition(!1,e,t)},t.GeodesicLine.prototype.ArcPosition=function(e,t){return this.GenPosition(!0,e,t)},t.GeodesicLine.prototype.GenSetDistance=function(e,t){e?this.SetArc(t):this.SetDistance(t)},t.GeodesicLine.prototype.SetDistance=function(t){var r;this.s13=t,r=this.GenPosition(!1,this.s13,e.ARC),this.a13=0+r.a12},t.GeodesicLine.prototype.SetArc=function(t){var r;this.a13=t,r=this.GenPosition(!0,this.a13,e.DISTANCE),this.s13=0+r.s12}}(i.Geodesic,i.GeodesicLine,i.Math),function(e,t,r,n){"use strict";var o,i,a,s;o=function(e,t){var n=r.AngDiff(e,t).d;return e=r.AngNormalize(e),t=r.AngNormalize(t),n>0&&(e<0&&t>=0||e>0&&0===t)?1:n<0&&e>=0&&t<0?-1:0},i=function(e,t){return e%=720,(0<=(t%=720)&&t<360||t<-360?0:1)-(0<=e&&e<360||e<-360?0:1)},a=function(e,t,r,n,o){return e.Remainder(t),1&r&&e.Add((e.Sum()<0?1:-1)*t/2),n||e.Negate(),o?e.Sum()>t/2?e.Add(-t):e.Sum()<=-t/2&&e.Add(+t):e.Sum()>=t?e.Add(-t):e.Sum()<0&&e.Add(+t),0+e.Sum()},s=function(e,t,n,o,i){return e=r.remainder(e,t),1&n&&(e+=(e<0?1:-1)*t/2),o||(e*=-1),i?e>t/2?e-=t:e<=-t/2&&(e+=t):e>=t?e-=t:e<0&&(e+=t),0+e},e.PolygonArea=function(e,r){this._geod=e,this.a=this._geod.a,this.f=this._geod.f,this._area0=4*Math.PI*e._c2,this.polyline=r||!1,this._mask=t.LATITUDE|t.LONGITUDE|t.DISTANCE|(this.polyline?t.NONE:t.AREA|t.LONG_UNROLL),this.polyline||(this._areasum=new n.Accumulator(0)),this._perimetersum=new n.Accumulator(0),this.Clear()},e.PolygonArea.prototype.Clear=function(){this.num=0,this._crossings=0,this.polyline||this._areasum.Set(0),this._perimetersum.Set(0),this._lat0=this._lon0=this.lat=this.lon=NaN},e.PolygonArea.prototype.AddPoint=function(e,t){var r;0===this.num?(this._lat0=this.lat=e,this._lon0=this.lon=t):(r=this._geod.Inverse(this.lat,this.lon,e,t,this._mask),this._perimetersum.Add(r.s12),this.polyline||(this._areasum.Add(r.S12),this._crossings+=o(this.lon,t)),this.lat=e,this.lon=t),++this.num},e.PolygonArea.prototype.AddEdge=function(e,t){var r;this.num&&(r=this._geod.Direct(this.lat,this.lon,e,t,this._mask),this._perimetersum.Add(t),this.polyline||(this._areasum.Add(r.S12),this._crossings+=i(this.lon,r.lon2)),this.lat=r.lat2,this.lon=r.lon2),++this.num},e.PolygonArea.prototype.Compute=function(e,t){var r,i,s={number:this.num};return this.num<2?(s.perimeter=0,this.polyline||(s.area=0),s):this.polyline?(s.perimeter=this._perimetersum.Sum(),s):(r=this._geod.Inverse(this.lat,this.lon,this._lat0,this._lon0,this._mask),s.perimeter=this._perimetersum.Sum(r.s12),(i=new n.Accumulator(this._areasum)).Add(r.S12),s.area=a(i,this._area0,this._crossings+o(this.lon,this._lon0),e,t),s)},e.PolygonArea.prototype.TestPoint=function(e,t,r,n){var i,a,u,l,c={number:this.num+1};if(0===this.num)return c.perimeter=0,this.polyline||(c.area=0),c;for(c.perimeter=this._perimetersum.Sum(),a=this.polyline?0:this._areasum.Sum(),u=this._crossings,l=0;l<(this.polyline?1:2);++l)i=this._geod.Inverse(0===l?this.lat:e,0===l?this.lon:t,0!==l?this._lat0:e,0!==l?this._lon0:t,this._mask),c.perimeter+=i.s12,this.polyline||(a+=i.S12,u+=o(0===l?this.lon:t,0!==l?this._lon0:t));return this.polyline?c:(c.area=s(a,this._area0,u,r,n),c)},e.PolygonArea.prototype.TestEdge=function(e,t,r,n){var a,u,l,c={number:this.num?this.num+1:0};return 0===this.num?c:(c.perimeter=this._perimetersum.Sum()+t,this.polyline?c:(u=this._areasum.Sum(),l=this._crossings,u+=(a=this._geod.Direct(this.lat,this.lon,e,t,this._mask)).S12,l+=i(this.lon,a.lon2),l+=o(a.lon2,this._lon0),a=this._geod.Inverse(a.lat2,a.lon2,this._lat0,this._lon0,this._mask),c.perimeter+=a.s12,u+=a.S12,c.area=s(u,this._area0,l,r,n),c))}}(i.PolygonArea,i.Geodesic,i.Math,i.Accumulator),o=i,"object"===a(e)&&e.exports?e.exports=o:void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)},3448:function(e){var t=[],r=[],n="insert-css: You need to provide a CSS string. Usage: insertCss(cssString[, options]).";function o(e,o){if(o=o||{},void 0===e)throw new Error(n);var i,a=!0===o.prepend?"prepend":"append",s=void 0!==o.container?o.container:document.querySelector("head"),u=t.indexOf(s);return-1===u&&(u=t.push(s)-1,r[u]={}),void 0!==r[u]&&void 0!==r[u][a]?i=r[u][a]:(i=r[u][a]=function(){var e=document.createElement("style");return e.setAttribute("type","text/css"),e}(),"prepend"===a?s.insertBefore(i,s.childNodes[0]):s.appendChild(i)),65279===e.charCodeAt(0)&&(e=e.substr(1,e.length)),i.styleSheet?i.styleSheet.cssText+=e:i.textContent+=e,i}e.exports=o,e.exports.insertCss=o},5611:function(e,t,r){function n(e){"@babel/helpers - typeof";return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}e=r.nmd(e);var o=200,i="__lodash_hash_undefined__",a=9007199254740991,s="[object Arguments]",u="[object Boolean]",l="[object Date]",c="[object Function]",f="[object GeneratorFunction]",p="[object Map]",y="[object Number]",h="[object Object]",d="[object RegExp]",m="[object Set]",g="[object String]",v="[object Symbol]",b="[object ArrayBuffer]",A="[object DataView]",S="[object Float32Array]",w="[object Float64Array]",C="[object Int8Array]",E="[object Int16Array]",_="[object Int32Array]",I="[object Uint8Array]",O="[object Uint8ClampedArray]",P="[object Uint16Array]",x="[object Uint32Array]",T=/\w*$/,k=/^\[object .+?Constructor\]$/,j=/^(?:0|[1-9]\d*)$/,B={};B[s]=B["[object Array]"]=B[b]=B[A]=B[u]=B[l]=B[S]=B[w]=B[C]=B[E]=B[_]=B[p]=B[y]=B[h]=B[d]=B[m]=B[g]=B[v]=B[I]=B[O]=B[P]=B[x]=!0,B["[object Error]"]=B[c]=B["[object WeakMap]"]=!1;var M="object"==(void 0===r.g?"undefined":n(r.g))&&r.g&&r.g.Object===Object&&r.g,N="object"==("undefined"==typeof self?"undefined":n(self))&&self&&self.Object===Object&&self,R=M||N||Function("return this")(),D="object"==n(t)&&t&&!t.nodeType&&t,L=D&&"object"==n(e)&&e&&!e.nodeType&&e,F=L&&L.exports===D;function Q(e,t){return e.set(t[0],t[1]),e}function G(e,t){return e.add(t),e}function U(e,t,r,n){var o=-1,i=e?e.length:0;for(n&&i&&(r=e[++o]);++o<i;)r=t(r,e[o],o,e);return r}function z(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function H(e){var t=-1,r=Array(e.size);return e.forEach(function(e,n){r[++t]=[n,e]}),r}function V(e,t){return function(r){return e(t(r))}}function q(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r}var K,Y=Array.prototype,J=Function.prototype,W=Object.prototype,X=R["__core-js_shared__"],Z=(K=/[^.]+$/.exec(X&&X.keys&&X.keys.IE_PROTO||""))?"Symbol(src)_1."+K:"",$=J.toString,ee=W.hasOwnProperty,te=W.toString,re=RegExp("^"+$.call(ee).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ne=F?R.Buffer:void 0,oe=R.Symbol,ie=R.Uint8Array,ae=V(Object.getPrototypeOf,Object),se=Object.create,ue=W.propertyIsEnumerable,le=Y.splice,ce=Object.getOwnPropertySymbols,fe=ne?ne.isBuffer:void 0,pe=V(Object.keys,Object),ye=Le(R,"DataView"),he=Le(R,"Map"),de=Le(R,"Promise"),me=Le(R,"Set"),ge=Le(R,"WeakMap"),ve=Le(Object,"create"),be=ze(ye),Ae=ze(he),Se=ze(de),we=ze(me),Ce=ze(ge),Ee=oe?oe.prototype:void 0,_e=Ee?Ee.valueOf:void 0;function Ie(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Oe(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Pe(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function xe(e){this.__data__=new Oe(e)}function Te(e,t){var r=Ve(e)||function(e){return function(e){return function(e){return!!e&&"object"==n(e)}(e)&&qe(e)}(e)&&ee.call(e,"callee")&&(!ue.call(e,"callee")||te.call(e)==s)}(e)?function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}(e.length,String):[],o=r.length,i=!!o;for(var a in e)!t&&!ee.call(e,a)||i&&("length"==a||Ge(a,o))||r.push(a);return r}function ke(e,t,r){var n=e[t];ee.call(e,t)&&He(n,r)&&(void 0!==r||t in e)||(e[t]=r)}function je(e,t){for(var r=e.length;r--;)if(He(e[r][0],t))return r;return-1}function Be(e,t,r,n,o,i,a){var k;if(n&&(k=i?n(e,o,i,a):n(e)),void 0!==k)return k;if(!Je(e))return e;var j=Ve(e);if(j){if(k=function(e){var t=e.length,r=e.constructor(t);t&&"string"==typeof e[0]&&ee.call(e,"index")&&(r.index=e.index,r.input=e.input);return r}(e),!t)return function(e,t){var r=-1,n=e.length;t||(t=Array(n));for(;++r<n;)t[r]=e[r];return t}(e,k)}else{var M=Qe(e),N=M==c||M==f;if(Ke(e))return function(e,t){if(t)return e.slice();var r=new e.constructor(e.length);return e.copy(r),r}(e,t);if(M==h||M==s||N&&!i){if(z(e))return i?e:{};if(k=function(e){return"function"!=typeof e.constructor||Ue(e)?{}:(t=ae(e),Je(t)?se(t):{});var t}(N?{}:e),!t)return function(e,t){return Re(e,Fe(e),t)}(e,function(e,t){return e&&Re(t,We(t),e)}(k,e))}else{if(!B[M])return i?e:{};k=function(e,t,r,n){var o=e.constructor;switch(t){case b:return Ne(e);case u:case l:return new o(+e);case A:return function(e,t){var r=t?Ne(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}(e,n);case S:case w:case C:case E:case _:case I:case O:case P:case x:return function(e,t){var r=t?Ne(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}(e,n);case p:return function(e,t,r){return U(t?r(H(e),!0):H(e),Q,new e.constructor)}(e,n,r);case y:case g:return new o(e);case d:return(s=new(a=e).constructor(a.source,T.exec(a))).lastIndex=a.lastIndex,s;case m:return function(e,t,r){return U(t?r(q(e),!0):q(e),G,new e.constructor)}(e,n,r);case v:return i=e,_e?Object(_e.call(i)):{}}var i;var a,s}(e,M,Be,t)}}a||(a=new xe);var R=a.get(e);if(R)return R;if(a.set(e,k),!j)var D=r?function(e){return function(e,t,r){var n=t(e);return Ve(e)?n:function(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}(n,r(e))}(e,We,Fe)}(e):We(e);return function(e,t){for(var r=-1,n=e?e.length:0;++r<n&&!1!==t(e[r],r,e););}(D||e,function(o,i){D&&(o=e[i=o]),ke(k,i,Be(o,t,r,n,i,e,a))}),k}function Me(e){return!(!Je(e)||Z&&Z in e)&&(Ye(e)||z(e)?re:k).test(ze(e))}function Ne(e){var t=new e.constructor(e.byteLength);return new ie(t).set(new ie(e)),t}function Re(e,t,r,n){r||(r={});for(var o=-1,i=t.length;++o<i;){var a=t[o],s=n?n(r[a],e[a],a,r,e):void 0;ke(r,a,void 0===s?e[a]:s)}return r}function De(e,t){var r,o,i=e.__data__;return("string"==(o=n(r=t))||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==r:null===r)?i["string"==typeof t?"string":"hash"]:i.map}function Le(e,t){var r=function(e,t){return null==e?void 0:e[t]}(e,t);return Me(r)?r:void 0}Ie.prototype.clear=function(){this.__data__=ve?ve(null):{}},Ie.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},Ie.prototype.get=function(e){var t=this.__data__;if(ve){var r=t[e];return r===i?void 0:r}return ee.call(t,e)?t[e]:void 0},Ie.prototype.has=function(e){var t=this.__data__;return ve?void 0!==t[e]:ee.call(t,e)},Ie.prototype.set=function(e,t){return this.__data__[e]=ve&&void 0===t?i:t,this},Oe.prototype.clear=function(){this.__data__=[]},Oe.prototype.delete=function(e){var t=this.__data__,r=je(t,e);return!(r<0||(r==t.length-1?t.pop():le.call(t,r,1),0))},Oe.prototype.get=function(e){var t=this.__data__,r=je(t,e);return r<0?void 0:t[r][1]},Oe.prototype.has=function(e){return je(this.__data__,e)>-1},Oe.prototype.set=function(e,t){var r=this.__data__,n=je(r,e);return n<0?r.push([e,t]):r[n][1]=t,this},Pe.prototype.clear=function(){this.__data__={hash:new Ie,map:new(he||Oe),string:new Ie}},Pe.prototype.delete=function(e){return De(this,e).delete(e)},Pe.prototype.get=function(e){return De(this,e).get(e)},Pe.prototype.has=function(e){return De(this,e).has(e)},Pe.prototype.set=function(e,t){return De(this,e).set(e,t),this},xe.prototype.clear=function(){this.__data__=new Oe},xe.prototype.delete=function(e){return this.__data__.delete(e)},xe.prototype.get=function(e){return this.__data__.get(e)},xe.prototype.has=function(e){return this.__data__.has(e)},xe.prototype.set=function(e,t){var r=this.__data__;if(r instanceof Oe){var n=r.__data__;if(!he||n.length<o-1)return n.push([e,t]),this;r=this.__data__=new Pe(n)}return r.set(e,t),this};var Fe=ce?V(ce,Object):function(){return[]},Qe=function(e){return te.call(e)};function Ge(e,t){return!!(t=null==t?a:t)&&("number"==typeof e||j.test(e))&&e>-1&&e%1==0&&e<t}function Ue(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||W)}function ze(e){if(null!=e){try{return $.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function He(e,t){return e===t||e!=e&&t!=t}(ye&&Qe(new ye(new ArrayBuffer(1)))!=A||he&&Qe(new he)!=p||de&&"[object Promise]"!=Qe(de.resolve())||me&&Qe(new me)!=m||ge&&"[object WeakMap]"!=Qe(new ge))&&(Qe=function(e){var t=te.call(e),r=t==h?e.constructor:void 0,n=r?ze(r):void 0;if(n)switch(n){case be:return A;case Ae:return p;case Se:return"[object Promise]";case we:return m;case Ce:return"[object WeakMap]"}return t});var Ve=Array.isArray;function qe(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=a}(e.length)&&!Ye(e)}var Ke=fe||function(){return!1};function Ye(e){var t=Je(e)?te.call(e):"";return t==c||t==f}function Je(e){var t=n(e);return!!e&&("object"==t||"function"==t)}function We(e){return qe(e)?Te(e):function(e){if(!Ue(e))return pe(e);var t=[];for(var r in Object(e))ee.call(e,r)&&"constructor"!=r&&t.push(r);return t}(e)}e.exports=function(e){return Be(e,!0,!0)}},1855:function(e,t,r){function n(e){"@babel/helpers - typeof";return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var o="Expected a function",i=NaN,a="[object Symbol]",s=/^\s+|\s+$/g,u=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,c=/^0o[0-7]+$/i,f=parseInt,p="object"==(void 0===r.g?"undefined":n(r.g))&&r.g&&r.g.Object===Object&&r.g,y="object"==("undefined"==typeof self?"undefined":n(self))&&self&&self.Object===Object&&self,h=p||y||Function("return this")(),d=Object.prototype.toString,m=Math.max,g=Math.min,v=function(){return h.Date.now()};function b(e){var t=n(e);return!!e&&("object"==t||"function"==t)}function A(e){return"symbol"==n(e)||function(e){return!!e&&"object"==n(e)}(e)&&d.call(e)==a}function S(e){if("number"==typeof e)return e;if(A(e))return i;if(b(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=b(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(s,"");var r=l.test(e);return r||c.test(e)?f(e.slice(2),r?2:8):u.test(e)?i:+e}e.exports=function(e,t,r){var n,i,a,s,u,l,c=0,f=!1,p=!1,y=!0;if("function"!=typeof e)throw new TypeError(o);function h(t){var r=n,o=i;return n=i=void 0,c=t,s=e.apply(o,r)}function d(e){var r=e-l;return void 0===l||r>=t||r<0||p&&e-c>=a}function A(){var e=v();if(d(e))return w(e);u=setTimeout(A,function(e){var r=t-(e-l);return p?g(r,a-(e-c)):r}(e))}function w(e){return u=void 0,y&&n?h(e):(n=i=void 0,s)}function C(){var e=v(),r=d(e);if(n=arguments,i=this,l=e,r){if(void 0===u)return function(e){return c=e,u=setTimeout(A,t),f?h(e):s}(l);if(p)return u=setTimeout(A,t),h(l)}return void 0===u&&(u=setTimeout(A,t)),s}return t=S(t)||0,b(r)&&(f=!!r.leading,a=(p="maxWait"in r)?m(S(r.maxWait)||0,t):a,y="trailing"in r?!!r.trailing:y),C.cancel=function(){void 0!==u&&clearTimeout(u),c=0,n=l=i=u=void 0},C.flush=function(){return void 0===u?s:w(v())},C}},311:function(e,t,r){function n(e){"@babel/helpers - typeof";return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var o=200,i="__lodash_hash_undefined__",a=9007199254740991,s="[object Arguments]",u="[object Function]",l="[object GeneratorFunction]",c=/^\[object .+?Constructor\]$/,f="object"==(void 0===r.g?"undefined":n(r.g))&&r.g&&r.g.Object===Object&&r.g,p="object"==("undefined"==typeof self?"undefined":n(self))&&self&&self.Object===Object&&self,y=f||p||Function("return this")();function h(e,t){return!!(e?e.length:0)&&function(e,t,r){if(t!=t)return function(e,t,r,n){var o=e.length,i=r+(n?1:-1);for(;n?i--:++i<o;)if(t(e[i],i,e))return i;return-1}(e,g,r);var n=r-1,o=e.length;for(;++n<o;)if(e[n]===t)return n;return-1}(e,t,0)>-1}function d(e,t,r){for(var n=-1,o=e?e.length:0;++n<o;)if(r(t,e[n]))return!0;return!1}function m(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}function g(e){return e!=e}function v(e,t){return e.has(t)}var b,A=Array.prototype,S=Function.prototype,w=Object.prototype,C=y["__core-js_shared__"],E=(b=/[^.]+$/.exec(C&&C.keys&&C.keys.IE_PROTO||""))?"Symbol(src)_1."+b:"",_=S.toString,I=w.hasOwnProperty,O=w.toString,P=RegExp("^"+_.call(I).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),x=y.Symbol,T=w.propertyIsEnumerable,k=A.splice,j=x?x.isConcatSpreadable:void 0,B=Math.max,M=H(y,"Map"),N=H(Object,"create");function R(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function D(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function L(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function F(e){var t=-1,r=e?e.length:0;for(this.__data__=new L;++t<r;)this.add(e[t])}function Q(e,t){for(var r,n,o=e.length;o--;)if((r=e[o][0])===(n=t)||r!=r&&n!=n)return o;return-1}function G(e,t,r,n){var i,a=-1,s=h,u=!0,l=e.length,c=[],f=t.length;if(!l)return c;r&&(t=function(e,t){for(var r=-1,n=e?e.length:0,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}(t,(i=r,function(e){return i(e)}))),n?(s=d,u=!1):t.length>=o&&(s=v,u=!1,t=new F(t));e:for(;++a<l;){var p=e[a],y=r?r(p):p;if(p=n||0!==p?p:0,u&&y==y){for(var m=f;m--;)if(t[m]===y)continue e;c.push(p)}else s(t,y,n)||c.push(p)}return c}function U(e){return!(!$(e)||E&&E in e)&&(Z(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?P:c).test(function(e){if(null!=e){try{return _.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}function z(e,t){var r,o,i=e.__data__;return("string"==(o=n(r=t))||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==r:null===r)?i["string"==typeof t?"string":"hash"]:i.map}function H(e,t){var r=function(e,t){return null==e?void 0:e[t]}(e,t);return U(r)?r:void 0}function V(e){return J(e)||function(e){return X(e)&&I.call(e,"callee")&&(!T.call(e,"callee")||O.call(e)==s)}(e)||!!(j&&e&&e[j])}R.prototype.clear=function(){this.__data__=N?N(null):{}},R.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},R.prototype.get=function(e){var t=this.__data__;if(N){var r=t[e];return r===i?void 0:r}return I.call(t,e)?t[e]:void 0},R.prototype.has=function(e){var t=this.__data__;return N?void 0!==t[e]:I.call(t,e)},R.prototype.set=function(e,t){return this.__data__[e]=N&&void 0===t?i:t,this},D.prototype.clear=function(){this.__data__=[]},D.prototype.delete=function(e){var t=this.__data__,r=Q(t,e);return!(r<0||(r==t.length-1?t.pop():k.call(t,r,1),0))},D.prototype.get=function(e){var t=this.__data__,r=Q(t,e);return r<0?void 0:t[r][1]},D.prototype.has=function(e){return Q(this.__data__,e)>-1},D.prototype.set=function(e,t){var r=this.__data__,n=Q(r,e);return n<0?r.push([e,t]):r[n][1]=t,this},L.prototype.clear=function(){this.__data__={hash:new R,map:new(M||D),string:new R}},L.prototype.delete=function(e){return z(this,e).delete(e)},L.prototype.get=function(e){return z(this,e).get(e)},L.prototype.has=function(e){return z(this,e).has(e)},L.prototype.set=function(e,t){return z(this,e).set(e,t),this},F.prototype.add=F.prototype.push=function(e){return this.__data__.set(e,i),this},F.prototype.has=function(e){return this.__data__.has(e)};var q,K,Y=(q=function(e,t){return X(e)?G(e,function e(t,r,n,o,i){var a=-1,s=t.length;for(n||(n=V),i||(i=[]);++a<s;){var u=t[a];r>0&&n(u)?r>1?e(u,r-1,n,o,i):m(i,u):o||(i[i.length]=u)}return i}(t,1,X,!0)):[]},K=B(void 0===K?q.length-1:K,0),function(){for(var e=arguments,t=-1,r=B(e.length-K,0),n=Array(r);++t<r;)n[t]=e[K+t];t=-1;for(var o=Array(K+1);++t<K;)o[t]=e[t];return o[K]=n,function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}(q,this,o)});var J=Array.isArray;function W(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=a}(e.length)&&!Z(e)}function X(e){return function(e){return!!e&&"object"==n(e)}(e)&&W(e)}function Z(e){var t=$(e)?O.call(e):"";return t==u||t==l}function $(e){var t=n(e);return!!e&&("object"==t||"function"==t)}e.exports=Y},8676:function(e,t,r){function n(e){"@babel/helpers - typeof";return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var o="Expected a function",i=NaN,a="[object Symbol]",s=/^\s+|\s+$/g,u=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,c=/^0o[0-7]+$/i,f=parseInt,p="object"==(void 0===r.g?"undefined":n(r.g))&&r.g&&r.g.Object===Object&&r.g,y="object"==("undefined"==typeof self?"undefined":n(self))&&self&&self.Object===Object&&self,h=p||y||Function("return this")(),d=Object.prototype.toString,m=Math.max,g=Math.min,v=function(){return h.Date.now()};function b(e,t,r){var n,i,a,s,u,l,c=0,f=!1,p=!1,y=!0;if("function"!=typeof e)throw new TypeError(o);function h(t){var r=n,o=i;return n=i=void 0,c=t,s=e.apply(o,r)}function d(e){var r=e-l;return void 0===l||r>=t||r<0||p&&e-c>=a}function b(){var e=v();if(d(e))return S(e);u=setTimeout(b,function(e){var r=t-(e-l);return p?g(r,a-(e-c)):r}(e))}function S(e){return u=void 0,y&&n?h(e):(n=i=void 0,s)}function C(){var e=v(),r=d(e);if(n=arguments,i=this,l=e,r){if(void 0===u)return function(e){return c=e,u=setTimeout(b,t),f?h(e):s}(l);if(p)return u=setTimeout(b,t),h(l)}return void 0===u&&(u=setTimeout(b,t)),s}return t=w(t)||0,A(r)&&(f=!!r.leading,a=(p="maxWait"in r)?m(w(r.maxWait)||0,t):a,y="trailing"in r?!!r.trailing:y),C.cancel=function(){void 0!==u&&clearTimeout(u),c=0,n=l=i=u=void 0},C.flush=function(){return void 0===u?s:S(v())},C}function A(e){var t=n(e);return!!e&&("object"==t||"function"==t)}function S(e){return"symbol"==n(e)||function(e){return!!e&&"object"==n(e)}(e)&&d.call(e)==a}function w(e){if("number"==typeof e)return e;if(S(e))return i;if(A(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=A(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(s,"");var r=l.test(e);return r||c.test(e)?f(e.slice(2),r?2:8):u.test(e)?i:+e}e.exports=function(e,t,r){var n=!0,i=!0;if("function"!=typeof e)throw new TypeError(o);return A(r)&&(n="leading"in r?!!r.leading:n,i="trailing"in r?!!r.trailing:i),b(e,t,{leading:n,maxWait:t,trailing:i})}},8518:function(e,t,r){function n(e){"@babel/helpers -