UNPKG

@curupira/vue-mapbox

Version:

A wrapper for Mapbox using Vue, with advanced features and abstractions

1 lines 745 kB
(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e():"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["vue-mapbox"]=e():t["vue-mapbox"]=e()})("undefined"!==typeof self?self:this,(function(){return function(t){function e(e){for(var n,i,a=e[0],o=e[1],s=0,u=[];s<a.length;s++)i=a[s],Object.prototype.hasOwnProperty.call(r,i)&&r[i]&&u.push(r[i][0]),r[i]=0;for(n in o)Object.prototype.hasOwnProperty.call(o,n)&&(t[n]=o[n]);c&&c(e);while(u.length)u.shift()()}var n={},r={1:0};function i(t){return a.p+"vue-mapbox.umd.min."+({0:"vendors~mapboxgl-core"}[t]||t)+".js"}function a(e){if(n[e])return n[e].exports;var r=n[e]={i:e,l:!1,exports:{}};return t[e].call(r.exports,r,r.exports,a),r.l=!0,r.exports}a.e=function(t){var e=[],n=r[t];if(0!==n)if(n)e.push(n[2]);else{var o=new Promise((function(e,i){n=r[t]=[e,i]}));e.push(n[2]=o);var s,u=document.createElement("script");u.charset="utf-8",u.timeout=120,a.nc&&u.setAttribute("nonce",a.nc),u.src=i(t);var c=new Error;s=function(e){u.onerror=u.onload=null,clearTimeout(l);var n=r[t];if(0!==n){if(n){var i=e&&("load"===e.type?"missing":e.type),a=e&&e.target&&e.target.src;c.message="Loading chunk "+t+" failed.\n("+i+": "+a+")",c.name="ChunkLoadError",c.type=i,c.request=a,n[1](c)}r[t]=void 0}};var l=setTimeout((function(){s({type:"timeout",target:u})}),12e4);u.onerror=u.onload=s,document.head.appendChild(u)}return Promise.all(e)},a.m=t,a.c=n,a.d=function(t,e,n){a.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},a.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},a.t=function(t,e){if(1&e&&(t=a(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)a.d(n,r,function(e){return t[e]}.bind(null,r));return n},a.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return a.d(e,"a",e),e},a.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},a.p="",a.oe=function(t){throw console.error(t),t};var o=("undefined"!==typeof self?self:this)["webpackJsonpvue_mapbox"]=("undefined"!==typeof self?self:this)["webpackJsonpvue_mapbox"]||[],s=o.push.bind(o);o.push=e,o=o.slice();for(var u=0;u<o.length;u++)e(o[u]);var c=s;return a(a.s="fb15")}({0:function(t,e){},"00ee":function(t,e,n){var r=n("b622"),i=r("toStringTag"),a={};a[i]="z",t.exports="[object z]"===String(a)},"00fd":function(t,e,n){var r=n("9e69"),i=Object.prototype,a=i.hasOwnProperty,o=i.toString,s=r?r.toStringTag:void 0;function u(t){var e=a.call(t,s),n=t[s];try{t[s]=void 0;var r=!0}catch(u){}var i=o.call(t);return r&&(e?t[s]=n:delete t[s]),i}t.exports=u},"0366":function(t,e,n){var r=n("1c0b");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},"03dd":function(t,e,n){var r=n("eac5"),i=n("57a5"),a=Object.prototype,o=a.hasOwnProperty;function s(t){if(!r(t))return i(t);var e=[];for(var n in Object(t))o.call(t,n)&&"constructor"!=n&&e.push(n);return e}t.exports=s},"03ed":function(t,e,n){var r=n("24fb");e=r(!1),e.push([t.i,".loader[data-v-b0c9336a]{position:fixed;top:50%;left:50%;text-align:center}.map-layer[data-v-b0c9336a]{position:absolute!important;left:0;top:0;bottom:0;right:0;width:100%;z-index:3}.map-layer .mapboxgl-canvas[data-v-b0c9336a]{left:0}",""]),t.exports=e},"0538":function(t,e,n){"use strict";var r=n("1c0b"),i=n("861d"),a=[].slice,o={},s=function(t,e,n){if(!(e in o)){for(var r=[],i=0;i<e;i++)r[i]="a["+i+"]";o[e]=Function("C,a","return new C("+r.join(",")+")")}return o[e](t,n)};t.exports=Function.bind||function(t){var e=r(this),n=a.call(arguments,1),o=function(){var r=n.concat(a.call(arguments));return this instanceof o?s(e,r.length,r):e.apply(t,r)};return i(e.prototype)&&(o.prototype=e.prototype),o}},"057f":function(t,e,n){var r=n("fc6a"),i=n("241c").f,a={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(t){try{return i(t)}catch(e){return o.slice()}};t.exports.f=function(t){return o&&"[object Window]"==a.call(t)?s(t):i(r(t))}},"06c5":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));n("a630"),n("fb6a"),n("b0c0"),n("d3b7"),n("25f0"),n("3ca3");var r=n("6b75");function i(t,e){if(t){if("string"===typeof t)return Object(r["a"])(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r["a"])(t,e):void 0}}},"06cf":function(t,e,n){var r=n("83ab"),i=n("d1e7"),a=n("5c6c"),o=n("fc6a"),s=n("c04e"),u=n("5135"),c=n("0cfb"),l=Object.getOwnPropertyDescriptor;e.f=r?l:function(t,e){if(t=o(t),e=s(e,!0),c)try{return l(t,e)}catch(n){}if(u(t,e))return a(!i.f.call(t,e),t[e])}},"07c7":function(t,e){function n(){return!1}t.exports=n},"087d":function(t,e){function n(t,e){var n=-1,r=e.length,i=t.length;while(++n<r)t[i+n]=e[n];return t}t.exports=n},"08cc":function(t,e,n){var r=n("1a8c");function i(t){return t===t&&!r(t)}t.exports=i},"0a06":function(t,e,n){"use strict";var r=n("c532"),i=n("30b5"),a=n("f6b4"),o=n("5270"),s=n("4a7b");function u(t){this.defaults=t,this.interceptors={request:new a,response:new a}}u.prototype.request=function(t){"string"===typeof t?(t=arguments[1]||{},t.url=arguments[0]):t=t||{},t=s(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=[o,void 0],n=Promise.resolve(t);this.interceptors.request.forEach((function(t){e.unshift(t.fulfilled,t.rejected)})),this.interceptors.response.forEach((function(t){e.push(t.fulfilled,t.rejected)}));while(e.length)n=n.then(e.shift(),e.shift());return n},u.prototype.getUri=function(t){return t=s(this.defaults,t),i(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(t){u.prototype[t]=function(e,n){return this.request(s(n||{},{method:t,url:e}))}})),r.forEach(["post","put","patch"],(function(t){u.prototype[t]=function(e,n,r){return this.request(s(r||{},{method:t,url:e,data:n}))}})),t.exports=u},"0b07":function(t,e,n){var r=n("34ac"),i=n("3698");function a(t,e){var n=i(t,e);return r(n)?n:void 0}t.exports=a},"0cfb":function(t,e,n){var r=n("83ab"),i=n("d039"),a=n("cc12");t.exports=!r&&!i((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},"0d24":function(t,e,n){(function(t){var r=n("2b3e"),i=n("07c7"),a=e&&!e.nodeType&&e,o=a&&"object"==typeof t&&t&&!t.nodeType&&t,s=o&&o.exports===a,u=s?r.Buffer:void 0,c=u?u.isBuffer:void 0,l=c||i;t.exports=l}).call(this,n("62e4")(t))},"0d3b":function(t,e,n){var r=n("d039"),i=n("b622"),a=n("c430"),o=i("iterator");t.exports=!r((function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,n="";return t.pathname="c%20d",e.forEach((function(t,r){e["delete"]("b"),n+=r+t})),a&&!t.toJSON||!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[o]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},"0df6":function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},"0f5c":function(t,e,n){var r=n("159a");function i(t,e,n){return null==t?t:r(t,e,n)}t.exports=i},1:function(t,e){},"10d1":function(t,e,n){"use strict";var r,i=n("da84"),a=n("e2cc"),o=n("f183"),s=n("6d61"),u=n("acac"),c=n("861d"),l=n("69f3").enforce,f=n("7f9a"),h=!i.ActiveXObject&&"ActiveXObject"in i,d=Object.isExtensible,p=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},v=t.exports=s("WeakMap",p,u);if(f&&h){r=u.getConstructor(p,"WeakMap",!0),o.REQUIRED=!0;var g=v.prototype,b=g["delete"],m=g.has,y=g.get,w=g.set;a(g,{delete:function(t){if(c(t)&&!d(t)){var e=l(this);return e.frozen||(e.frozen=new r),b.call(this,t)||e.frozen["delete"](t)}return b.call(this,t)},has:function(t){if(c(t)&&!d(t)){var e=l(this);return e.frozen||(e.frozen=new r),m.call(this,t)||e.frozen.has(t)}return m.call(this,t)},get:function(t){if(c(t)&&!d(t)){var e=l(this);return e.frozen||(e.frozen=new r),m.call(this,t)?y.call(this,t):e.frozen.get(t)}return y.call(this,t)},set:function(t,e){if(c(t)&&!d(t)){var n=l(this);n.frozen||(n.frozen=new r),m.call(this,t)?w.call(this,t,e):n.frozen.set(t,e)}else w.call(this,t,e);return this}})}},"11ec":function(t,e,n){"use strict";var r=n("1afa"),i=n.n(r);i.a},"126d":function(t,e,n){var r=n("6da8"),i=n("aaec"),a=n("d094");function o(t){return i(t)?a(t):r(t)}t.exports=o},1290:function(t,e){function n(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}t.exports=n},1310:function(t,e){function n(t){return null!=t&&"object"==typeof t}t.exports=n},1368:function(t,e,n){var r=n("da03"),i=function(){var t=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function a(t){return!!i&&i in t}t.exports=a},"14c3":function(t,e,n){var r=n("c6b6"),i=n("9263");t.exports=function(t,e){var n=t.exec;if("function"===typeof n){var a=n.call(t,e);if("object"!==typeof a)throw TypeError("RegExp exec method returned something other than an Object or null");return a}if("RegExp"!==r(t))throw TypeError("RegExp#exec called on incompatible receiver");return i.call(t,e)}},"159a":function(t,e,n){var r=n("32b3"),i=n("e2e4"),a=n("c098"),o=n("1a8c"),s=n("f4d6");function u(t,e,n,u){if(!o(t))return t;e=i(e,t);var c=-1,l=e.length,f=l-1,h=t;while(null!=h&&++c<l){var d=s(e[c]),p=n;if(c!=f){var v=h[d];p=u?u(v,d,h):void 0,void 0===p&&(p=o(v)?v:a(e[c+1])?[]:{})}r(h,d,p),h=h[d]}return t}t.exports=u},"159b":function(t,e,n){var r=n("da84"),i=n("fdbc"),a=n("17c2"),o=n("9112");for(var s in i){var u=r[s],c=u&&u.prototype;if(c&&c.forEach!==a)try{o(c,"forEach",a)}catch(l){c.forEach=a}}},"17c2":function(t,e,n){"use strict";var r=n("b727").forEach,i=n("a640"),a=n("ae40"),o=i("forEach"),s=a("forEach");t.exports=o&&s?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},1838:function(t,e,n){var r=n("c05f"),i=n("9b02"),a=n("8604"),o=n("f608"),s=n("08cc"),u=n("20ec"),c=n("f4d6"),l=1,f=2;function h(t,e){return o(t)&&s(e)?u(c(t),e):function(n){var o=i(n,t);return void 0===o&&o===e?a(n,t):r(e,o,l|f)}}t.exports=h},"18a5":function(t,e,n){"use strict";var r=n("23e7"),i=n("857a"),a=n("af03");r({target:"String",proto:!0,forced:a("anchor")},{anchor:function(t){return i(this,"a","name",t)}})},"18d8":function(t,e,n){var r=n("234d"),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,o=r((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(i,(function(t,n,r,i){e.push(r?i.replace(a,"$1"):n||t)})),e}));t.exports=o},"19aa":function(t,e){t.exports=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t}},"19ac":function(t,e,n){"use strict";(function(t){function r(){var e;if("undefined"!==typeof window&&window.performance)e=window.performance.now();else if("undefined"!==typeof t&&t.hrtime){var n=t.hrtime();e=1e3*n[0]+n[1]/1e6}else e=Date.now();return e}n.d(e,"a",(function(){return r}))}).call(this,n("4362"))},"1a8c":function(t,e){function n(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}t.exports=n},"1afa":function(t,e,n){var r=n("7dff");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n("499e").default;i("04f858a6",r,!0,{sourceMap:!1,shadowMode:!1})},"1bac":function(t,e,n){var r=n("7d1f"),i=n("a029"),a=n("9934");function o(t){return r(t,a,i)}t.exports=o},"1be4":function(t,e,n){var r=n("d066");t.exports=r("document","documentElement")},"1c0b":function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},"1c3c":function(t,e,n){var r=n("9e69"),i=n("2474"),a=n("9638"),o=n("a2be"),s=n("edfa"),u=n("ac41"),c=1,l=2,f="[object Boolean]",h="[object Date]",d="[object Error]",p="[object Map]",v="[object Number]",g="[object RegExp]",b="[object Set]",m="[object String]",y="[object Symbol]",w="[object ArrayBuffer]",x="[object DataView]",O=r?r.prototype:void 0,_=O?O.valueOf:void 0;function k(t,e,n,r,O,k,j){switch(n){case x:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case w:return!(t.byteLength!=e.byteLength||!k(new i(t),new i(e)));case f:case h:case v:return a(+t,+e);case d:return t.name==e.name&&t.message==e.message;case g:case m:return t==e+"";case p:var E=s;case b:var S=r&c;if(E||(E=u),t.size!=e.size&&!S)return!1;var P=j.get(t);if(P)return P==e;r|=l,j.set(t,e);var T=o(E(t),E(e),r,O,k,j);return j["delete"](t),T;case y:if(_)return _.call(t)==_.call(e)}return!1}t.exports=k},"1c7e":function(t,e,n){var r=n("b622"),i=r("iterator"),a=!1;try{var o=0,s={next:function(){return{done:!!o++}},return:function(){a=!0}};s[i]=function(){return this},Array.from(s,(function(){throw 2}))}catch(u){}t.exports=function(t,e){if(!e&&!a)return!1;var n=!1;try{var r={};r[i]=function(){return{next:function(){return{done:n=!0}}}},t(r)}catch(u){}return n}},"1cdc":function(t,e,n){var r=n("342f");t.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},"1cec":function(t,e,n){var r=n("0b07"),i=n("2b3e"),a=r(i,"Promise");t.exports=a},"1d2b":function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return t.apply(e,n)}}},"1d80":function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},"1dde":function(t,e,n){var r=n("d039"),i=n("b622"),a=n("2d00"),o=i("species");t.exports=function(t){return a>=51||!r((function(){var e=[],n=e.constructor={};return n[o]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},"1e88":function(t,e,n){"use strict";(function(t){var e=n("26b5"),r=n("83a9"),i=n("3f90");function a(t){return t.luma=t.luma||{},t.luma.polyfilled||(Object(e["a"])(t),s(t),c(t,i["b"]),u(t,{target:t.luma,target2:t}),t.luma.polyfilled=!0),t}var o="undefined"!==typeof t?t:window;function s(t){t.luma.extensions={};var e=t.getSupportedExtensions()||[],n=!0,r=!1,i=void 0;try{for(var a,o=e[Symbol.iterator]();!(n=(a=o.next()).done);n=!0){var s=a.value;t.luma[s]=t.getExtension(s)}}catch(u){r=!0,i=u}finally{try{n||null==o["return"]||o["return"]()}finally{if(r)throw i}}}function u(t,e){var n=e.target,r=e.target2;Object.keys(i["a"]).forEach((function(e){if("function"===typeof i["a"][e]){var a=t[e]?t[e].bind(t):function(){},o=i["a"][e].bind(null,t,a);n[e]=o,r[e]=o}}))}function c(t,e){var n=!0,r=!1,i=void 0;try{for(var a,o=Object.getOwnPropertyNames(e)[Symbol.iterator]();!(n=(a=o.next()).done);n=!0){var s=a.value;"overrides"!==s&&l(t,{extension:s,target:t.luma,target2:t})}}catch(u){r=!0,i=u}finally{try{n||null==o["return"]||o["return"]()}finally{if(r)throw i}}}function l(t,e){var n=e.extension,a=e.target,o=e.target2,s=i["b"][n];Object(r["a"])(s);for(var u=s.meta,c=void 0===u?{}:u,l=c.suffix,f=void 0===l?"":l,h=t.getExtension(n),d=function(){var e=v[p],n="".concat(e).concat(f),r=null;"meta"===e||"function"===typeof t[e]||(h&&"function"===typeof h[n]?r=function(){return h[n].apply(h,arguments)}:"function"===typeof s[e]&&(r=s[e].bind(a))),r&&(a[e]=r,o[e]=r)},p=0,v=Object.keys(s);p<v.length;p++)d()}o.polyfillContext=a}).call(this,n("c8ba"))},"1efc":function(t,e){function n(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}t.exports=n},"1fc8":function(t,e,n){var r=n("4245");function i(t,e){var n=r(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this}t.exports=i},"20ec":function(t,e){function n(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in Object(n)))}}t.exports=n},2155:function(t,e,n){"use strict";var r=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.isMobile=s,e["default"]=u;var i=n("8d66"),a=r(n("b970")),o=r(n("d79c"));function s(){return"undefined"!==typeof i.window.orientation}function u(t){if(!t&&!(0,a["default"])())return"Node";if((0,o["default"])(t))return"Electron";var e="undefined"!==typeof navigator?navigator:{},n=t||e.userAgent||"";if(n.indexOf("Edge")>-1)return"Edge";var r=-1!==n.indexOf("MSIE "),s=-1!==n.indexOf("Trident/");return r||s?"IE":i.window.chrome?"Chrome":i.window.safari?"Safari":i.window.mozInnerScreenX?"Firefox":"Unknown"}},2164:function(t,e,n){var r=n("cae7");function i(t,e,n){var i=-1,a=t.criteria,o=e.criteria,s=a.length,u=n.length;while(++i<s){var c=r(a[i],o[i]);if(c){if(i>=u)return c;var l=n[i];return c*("desc"==l?-1:1)}}return t.index-e.index}t.exports=i},2266:function(t,e,n){var r=n("825a"),i=n("e95a"),a=n("50c4"),o=n("0366"),s=n("35a1"),u=n("9bdd"),c=function(t,e){this.stopped=t,this.result=e},l=t.exports=function(t,e,n,l,f){var h,d,p,v,g,b,m,y=o(e,n,l?2:1);if(f)h=t;else{if(d=s(t),"function"!=typeof d)throw TypeError("Target is not iterable");if(i(d)){for(p=0,v=a(t.length);v>p;p++)if(g=l?y(r(m=t[p])[0],m[1]):y(t[p]),g&&g instanceof c)return g;return new c(!1)}h=d.call(t)}b=h.next;while(!(m=b.call(h)).done)if(g=u(h,y,m.value,l),"object"==typeof g&&g&&g instanceof c)return g;return new c(!1)};l.stop=function(t){return new c(!0,t)}},"234b":function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return i}));var r=n("53ca");function i(e){if("undefined"!==typeof window&&"object"===Object(r["a"])(window.process)&&"renderer"===window.process.type)return!0;if("undefined"!==typeof t&&"object"===Object(r["a"])(t.versions)&&Boolean(t.versions.electron))return!0;var n="object"===("undefined"===typeof navigator?"undefined":Object(r["a"])(navigator))&&"string"===typeof navigator.userAgent&&navigator.userAgent,i=e||n;return!!(i&&i.indexOf("Electron")>=0)}}).call(this,n("4362"))},"234d":function(t,e,n){var r=n("e380"),i=500;function a(t){var e=r(t,(function(t){return n.size===i&&n.clear(),t})),n=e.cache;return e}t.exports=a},"23cb":function(t,e,n){var r=n("a691"),i=Math.max,a=Math.min;t.exports=function(t,e){var n=r(t);return n<0?i(n+e,0):a(n,e)}},"23e7":function(t,e,n){var r=n("da84"),i=n("06cf").f,a=n("9112"),o=n("6eeb"),s=n("ce4e"),u=n("e893"),c=n("94ca");t.exports=function(t,e){var n,l,f,h,d,p,v=t.target,g=t.global,b=t.stat;if(l=g?r:b?r[v]||s(v,{}):(r[v]||{}).prototype,l)for(f in e){if(d=e[f],t.noTargetGet?(p=i(l,f),h=p&&p.value):h=l[f],n=c(g?f:v+(b?".":"#")+f,t.forced),!n&&void 0!==h){if(typeof d===typeof h)continue;u(d,h)}(t.sham||h&&h.sham)&&a(d,"sham",!0),o(l,f,d,t)}}},"241c":function(t,e,n){var r=n("ca84"),i=n("7839"),a=i.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,a)}},"242e":function(t,e,n){var r=n("72af"),i=n("ec69");function a(t,e){return t&&r(t,e,i)}t.exports=a},2444:function(t,e,n){"use strict";(function(e){var r=n("c532"),i=n("c8af"),a={"Content-Type":"application/x-www-form-urlencoded"};function o(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function s(){var t;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof e&&"[object process]"===Object.prototype.toString.call(e))&&(t=n("b50d")),t}var u={adapter:s(),transformRequest:[function(t,e){return i(e,"Accept"),i(e,"Content-Type"),r.isFormData(t)||r.isArrayBuffer(t)||r.isBuffer(t)||r.isStream(t)||r.isFile(t)||r.isBlob(t)?t:r.isArrayBufferView(t)?t.buffer:r.isURLSearchParams(t)?(o(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)?(o(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"===typeof t)try{t=JSON.parse(t)}catch(e){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(t){u.headers[t]={}})),r.forEach(["post","put","patch"],(function(t){u.headers[t]=r.merge(a)})),t.exports=u}).call(this,n("4362"))},2474:function(t,e,n){var r=n("2b3e"),i=r.Uint8Array;t.exports=i},2478:function(t,e,n){var r=n("4245");function i(t){return r(this,t).get(t)}t.exports=i},"24fb":function(t,e,n){"use strict";function r(t,e){var n=t[1]||"",r=t[3];if(!r)return n;if(e&&"function"===typeof btoa){var a=i(r),o=r.sources.map((function(t){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(t," */")}));return[n].concat(o).concat([a]).join("\n")}return[n].join("\n")}function i(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(e);return"/*# ".concat(n," */")}t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=r(e,t);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},e.i=function(t,n,r){"string"===typeof t&&(t=[[null,t,""]]);var i={};if(r)for(var a=0;a<this.length;a++){var o=this[a][0];null!=o&&(i[o]=!0)}for(var s=0;s<t.length;s++){var u=[].concat(t[s]);r&&i[u[0]]||(n&&(u[2]?u[2]="".concat(n," and ").concat(u[2]):u[2]=n),e.push(u))}},e}},2524:function(t,e,n){var r=n("6044"),i="__lodash_hash_undefined__";function a(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=r&&void 0===e?i:e,this}t.exports=a},2532:function(t,e,n){"use strict";var r=n("23e7"),i=n("5a34"),a=n("1d80"),o=n("ab13");r({target:"String",proto:!0,forced:!o("includes")},{includes:function(t){return!!~String(a(this)).indexOf(i(t),arguments.length>1?arguments[1]:void 0)}})},"253c":function(t,e,n){var r=n("3729"),i=n("1310"),a="[object Arguments]";function o(t){return i(t)&&r(t)==a}t.exports=o},"257e":function(t,e,n){"use strict";function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}n.d(e,"a",(function(){return r}))},"25f0":function(t,e,n){"use strict";var r=n("6eeb"),i=n("825a"),a=n("d039"),o=n("ad6d"),s="toString",u=RegExp.prototype,c=u[s],l=a((function(){return"/a/b"!=c.call({source:"a",flags:"b"})})),f=c.name!=s;(l||f)&&r(RegExp.prototype,s,(function(){var t=i(this),e=String(t.source),n=t.flags,r=String(void 0===n&&t instanceof RegExp&&!("flags"in u)?o.call(t):n);return"/"+e+"/"+r}),{unsafe:!0})},2626:function(t,e,n){"use strict";var r=n("d066"),i=n("9bf2"),a=n("b622"),o=n("83ab"),s=a("species");t.exports=function(t){var e=r(t),n=i.f;o&&e&&!e[s]&&n(e,s,{configurable:!0,get:function(){return this}})}},"262e":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("b380");function i(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Object(r["a"])(t,e)}},"26b5":function(t,e,n){"use strict";n.d(e,"a",(function(){return f}));var r=n("c526"),i={};function a(t){r["global"].console&&r["global"].console.error&&r["global"].console.error(t)}function o(t){r["global"].console&&r["global"].console.log&&r["global"].console.log(t)}function s(t,e){i[t]=!0,void 0!==e&&a(e)}function u(t){var e=t.getError;t.getError=function(){var n;do{n=e.apply(t),0!==n&&(i[n]=!0)}while(0!==n);for(n in i)if(i[n])return delete i[n],parseInt(n,10);return 0}}var c=function t(e){var n=e.gl;this.ext=e,this.isAlive=!0,this.hasBeenBound=!1,this.elementArrayBuffer=null,this.attribs=new Array(e.maxVertexAttribs);for(var r=0;r<this.attribs.length;r++){var i=new t.VertexAttrib(n);this.attribs[r]=i}this.maxAttrib=0};c.VertexAttrib=function(t){this.enabled=!1,this.buffer=null,this.size=4,this.type=5126,this.normalized=!1,this.stride=16,this.offset=0,this.cached="",this.recache()},c.VertexAttrib.prototype.recache=function(){this.cached=[this.size,this.type,this.normalized,this.stride,this.offset].join(":")};var l=function(t){var e=this;this.gl=t,u(t);var n=this.original={getParameter:t.getParameter,enableVertexAttribArray:t.enableVertexAttribArray,disableVertexAttribArray:t.disableVertexAttribArray,bindBuffer:t.bindBuffer,getVertexAttrib:t.getVertexAttrib,vertexAttribPointer:t.vertexAttribPointer};t.getParameter=function(t){return t===e.VERTEX_ARRAY_BINDING_OES?e.currentVertexArrayObject===e.defaultVertexArrayObject?null:e.currentVertexArrayObject:n.getParameter.apply(this,arguments)},t.enableVertexAttribArray=function(t){var r=e.currentVertexArrayObject;r.maxAttrib=Math.max(r.maxAttrib,t);var i=r.attribs[t];return i.enabled=!0,n.enableVertexAttribArray.apply(this,arguments)},t.disableVertexAttribArray=function(t){var r=e.currentVertexArrayObject;r.maxAttrib=Math.max(r.maxAttrib,t);var i=r.attribs[t];return i.enabled=!1,n.disableVertexAttribArray.apply(this,arguments)},t.bindBuffer=function(t,r){switch(t){case 34962:e.currentArrayBuffer=r;break;case 34963:e.currentVertexArrayObject.elementArrayBuffer=r;break;default:}return n.bindBuffer.apply(this,arguments)},t.getVertexAttrib=function(t,r){var i=e.currentVertexArrayObject,a=i.attribs[t];switch(r){case 34975:return a.buffer;case 34338:return a.enabled;case 34339:return a.size;case 34340:return a.stride;case 34341:return a.type;case 34922:return a.normalized;default:return n.getVertexAttrib.apply(this,arguments)}},t.vertexAttribPointer=function(t,r,i,a,o,s){var u=e.currentVertexArrayObject;u.maxAttrib=Math.max(u.maxAttrib,t);var c=u.attribs[t];return c.buffer=e.currentArrayBuffer,c.size=r,c.type=i,c.normalized=a,c.stride=o,c.offset=s,c.recache(),n.vertexAttribPointer.apply(this,arguments)},t.instrumentExtension&&t.instrumentExtension(this,"OES_vertex_array_object"),t.canvas&&t.canvas.addEventListener("webglcontextrestored",(function(){o("OESVertexArrayObject emulation library context restored"),e.reset_()}),!0),this.reset_()};function f(t){if("function"!==typeof t.createVertexArray){var e=t.getSupportedExtensions;t.getSupportedExtensions=function(){var t=e.call(this)||[];return t.indexOf("OES_vertex_array_object")<0&&t.push("OES_vertex_array_object"),t};var n=t.getExtension;t.getExtension=function(e){var r=n.call(this,e);return r||("OES_vertex_array_object"!==e?null:(t.__OESVertexArrayObject||(this.__OESVertexArrayObject=new l(this)),this.__OESVertexArrayObject))}}}l.prototype.VERTEX_ARRAY_BINDING_OES=34229,l.prototype.reset_=function(){var t=void 0!==this.vertexArrayObjects;if(t)for(var e=0;e<this.vertexArrayObjects.length;++e)this.vertexArrayObjects.isAlive=!1;var n=this.gl;this.maxVertexAttribs=n.getParameter(34921),this.defaultVertexArrayObject=new c(this),this.currentVertexArrayObject=null,this.currentArrayBuffer=null,this.vertexArrayObjects=[this.defaultVertexArrayObject],this.bindVertexArrayOES(null)},l.prototype.createVertexArrayOES=function(){var t=new c(this);return this.vertexArrayObjects.push(t),t},l.prototype.deleteVertexArrayOES=function(t){t.isAlive=!1,this.vertexArrayObjects.splice(this.vertexArrayObjects.indexOf(t),1),this.currentVertexArrayObject===t&&this.bindVertexArrayOES(null)},l.prototype.isVertexArrayOES=function(t){return!!(t&&t instanceof c&&t.hasBeenBound&&t.ext===this)},l.prototype.bindVertexArrayOES=function(t){var e=this.gl;if(!t||t.isAlive){var n=this.original,r=this.currentVertexArrayObject;this.currentVertexArrayObject=t||this.defaultVertexArrayObject,this.currentVertexArrayObject.hasBeenBound=!0;var i=this.currentVertexArrayObject;if(r!==i){r&&i.elementArrayBuffer===r.elementArrayBuffer||n.bindBuffer.call(e,34963,i.elementArrayBuffer);for(var a=this.currentArrayBuffer,o=Math.max(r?r.maxAttrib:0,i.maxAttrib),u=0;u<=o;u++){var c=i.attribs[u],l=r?r.attribs[u]:null;if(r&&c.enabled===l.enabled||(c.enabled?n.enableVertexAttribArray.call(e,u):n.disableVertexAttribArray.call(e,u)),c.enabled){var f=!1;r&&c.buffer===l.buffer||(a!==c.buffer&&(n.bindBuffer.call(e,34962,c.buffer),a=c.buffer),f=!0),(f||c.cached!==l.cached)&&n.vertexAttribPointer.call(e,u,c.size,c.type,c.normalized,c.stride,c.offset)}}this.currentArrayBuffer!==a&&n.bindBuffer.call(e,34962,this.currentArrayBuffer)}}else s(1282,"bindVertexArrayOES: attempt to bind deleted arrayObject")}},"26e8":function(t,e){function n(t,e){return null!=t&&e in Object(t)}t.exports=n},"28c9":function(t,e){function n(){this.__data__=[],this.size=0}t.exports=n},2909:function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n("6b75");function i(t){if(Array.isArray(t))return Object(r["a"])(t)}n("a4d3"),n("e01a"),n("d28b"),n("a630"),n("e260"),n("d3b7"),n("3ca3"),n("ddb0");function a(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}var o=n("06c5");function s(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function u(t){return i(t)||a(t)||Object(o["a"])(t)||s()}},"29f3":function(t,e){var n=Object.prototype,r=n.toString;function i(t){return r.call(t)}t.exports=i},"2b03":function(t,e){function n(t,e,n,r){var i=t.length,a=n+(r?1:-1);while(r?a--:++a<i)if(e(t[a],a,t))return a;return-1}t.exports=n},"2b10":function(t,e){function n(t,e,n){var r=-1,i=t.length;e<0&&(e=-e>i?0:i+e),n=n>i?i:n,n<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;var a=Array(i);while(++r<i)a[r]=t[r+e];return a}t.exports=n},"2b3d":function(t,e,n){"use strict";n("3ca3");var r,i=n("23e7"),a=n("83ab"),o=n("0d3b"),s=n("da84"),u=n("37e8"),c=n("6eeb"),l=n("19aa"),f=n("5135"),h=n("60da"),d=n("4df4"),p=n("6547").codeAt,v=n("5fb2"),g=n("d44e"),b=n("9861"),m=n("69f3"),y=s.URL,w=b.URLSearchParams,x=b.getState,O=m.set,_=m.getterFor("URL"),k=Math.floor,j=Math.pow,E="Invalid authority",S="Invalid scheme",P="Invalid host",T="Invalid port",A=/[A-Za-z]/,M=/[\d+-.A-Za-z]/,C=/\d/,L=/^(0x|0X)/,I=/^[0-7]+$/,R=/^\d+$/,D=/^[\dA-Fa-f]+$/,F=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,N=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,B=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,z=/[\u0009\u000A\u000D]/g,V=function(t,e){var n,r,i;if("["==e.charAt(0)){if("]"!=e.charAt(e.length-1))return P;if(n=H(e.slice(1,-1)),!n)return P;t.host=n}else if(J(t)){if(e=v(e),F.test(e))return P;if(n=U(e),null===n)return P;t.host=n}else{if(N.test(e))return P;for(n="",r=d(e),i=0;i<r.length;i++)n+=Y(r[i],$);t.host=n}},U=function(t){var e,n,r,i,a,o,s,u=t.split(".");if(u.length&&""==u[u.length-1]&&u.pop(),e=u.length,e>4)return t;for(n=[],r=0;r<e;r++){if(i=u[r],""==i)return t;if(a=10,i.length>1&&"0"==i.charAt(0)&&(a=L.test(i)?16:8,i=i.slice(8==a?1:2)),""===i)o=0;else{if(!(10==a?R:8==a?I:D).test(i))return t;o=parseInt(i,a)}n.push(o)}for(r=0;r<e;r++)if(o=n[r],r==e-1){if(o>=j(256,5-e))return null}else if(o>255)return null;for(s=n.pop(),r=0;r<n.length;r++)s+=n[r]*j(256,3-r);return s},H=function(t){var e,n,r,i,a,o,s,u=[0,0,0,0,0,0,0,0],c=0,l=null,f=0,h=function(){return t.charAt(f)};if(":"==h()){if(":"!=t.charAt(1))return;f+=2,c++,l=c}while(h()){if(8==c)return;if(":"!=h()){e=n=0;while(n<4&&D.test(h()))e=16*e+parseInt(h(),16),f++,n++;if("."==h()){if(0==n)return;if(f-=n,c>6)return;r=0;while(h()){if(i=null,r>0){if(!("."==h()&&r<4))return;f++}if(!C.test(h()))return;while(C.test(h())){if(a=parseInt(h(),10),null===i)i=a;else{if(0==i)return;i=10*i+a}if(i>255)return;f++}u[c]=256*u[c]+i,r++,2!=r&&4!=r||c++}if(4!=r)return;break}if(":"==h()){if(f++,!h())return}else if(h())return;u[c++]=e}else{if(null!==l)return;f++,c++,l=c}}if(null!==l){o=c-l,c=7;while(0!=c&&o>0)s=u[c],u[c--]=u[l+o-1],u[l+--o]=s}else if(8!=c)return;return u},G=function(t){for(var e=null,n=1,r=null,i=0,a=0;a<8;a++)0!==t[a]?(i>n&&(e=r,n=i),r=null,i=0):(null===r&&(r=a),++i);return i>n&&(e=r,n=i),e},W=function(t){var e,n,r,i;if("number"==typeof t){for(e=[],n=0;n<4;n++)e.unshift(t%256),t=k(t/256);return e.join(".")}if("object"==typeof t){for(e="",r=G(t),n=0;n<8;n++)i&&0===t[n]||(i&&(i=!1),r===n?(e+=n?":":"::",i=!0):(e+=t[n].toString(16),n<7&&(e+=":")));return"["+e+"]"}return t},$={},q=h({},$,{" ":1,'"':1,"<":1,">":1,"`":1}),X=h({},q,{"#":1,"?":1,"{":1,"}":1}),Z=h({},X,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Y=function(t,e){var n=p(t,0);return n>32&&n<127&&!f(e,t)?t:encodeURIComponent(t)},K={ftp:21,file:null,http:80,https:443,ws:80,wss:443},J=function(t){return f(K,t.scheme)},Q=function(t){return""!=t.username||""!=t.password},tt=function(t){return!t.host||t.cannotBeABaseURL||"file"==t.scheme},et=function(t,e){var n;return 2==t.length&&A.test(t.charAt(0))&&(":"==(n=t.charAt(1))||!e&&"|"==n)},nt=function(t){var e;return t.length>1&&et(t.slice(0,2))&&(2==t.length||"/"===(e=t.charAt(2))||"\\"===e||"?"===e||"#"===e)},rt=function(t){var e=t.path,n=e.length;!n||"file"==t.scheme&&1==n&&et(e[0],!0)||e.pop()},it=function(t){return"."===t||"%2e"===t.toLowerCase()},at=function(t){return t=t.toLowerCase(),".."===t||"%2e."===t||".%2e"===t||"%2e%2e"===t},ot={},st={},ut={},ct={},lt={},ft={},ht={},dt={},pt={},vt={},gt={},bt={},mt={},yt={},wt={},xt={},Ot={},_t={},kt={},jt={},Et={},St=function(t,e,n,i){var a,o,s,u,c=n||ot,l=0,h="",p=!1,v=!1,g=!1;n||(t.scheme="",t.username="",t.password="",t.host=null,t.port=null,t.path=[],t.query=null,t.fragment=null,t.cannotBeABaseURL=!1,e=e.replace(B,"")),e=e.replace(z,""),a=d(e);while(l<=a.length){switch(o=a[l],c){case ot:if(!o||!A.test(o)){if(n)return S;c=ut;continue}h+=o.toLowerCase(),c=st;break;case st:if(o&&(M.test(o)||"+"==o||"-"==o||"."==o))h+=o.toLowerCase();else{if(":"!=o){if(n)return S;h="",c=ut,l=0;continue}if(n&&(J(t)!=f(K,h)||"file"==h&&(Q(t)||null!==t.port)||"file"==t.scheme&&!t.host))return;if(t.scheme=h,n)return void(J(t)&&K[t.scheme]==t.port&&(t.port=null));h="","file"==t.scheme?c=yt:J(t)&&i&&i.scheme==t.scheme?c=ct:J(t)?c=dt:"/"==a[l+1]?(c=lt,l++):(t.cannotBeABaseURL=!0,t.path.push(""),c=kt)}break;case ut:if(!i||i.cannotBeABaseURL&&"#"!=o)return S;if(i.cannotBeABaseURL&&"#"==o){t.scheme=i.scheme,t.path=i.path.slice(),t.query=i.query,t.fragment="",t.cannotBeABaseURL=!0,c=Et;break}c="file"==i.scheme?yt:ft;continue;case ct:if("/"!=o||"/"!=a[l+1]){c=ft;continue}c=pt,l++;break;case lt:if("/"==o){c=vt;break}c=_t;continue;case ft:if(t.scheme=i.scheme,o==r)t.username=i.username,t.password=i.password,t.host=i.host,t.port=i.port,t.path=i.path.slice(),t.query=i.query;else if("/"==o||"\\"==o&&J(t))c=ht;else if("?"==o)t.username=i.username,t.password=i.password,t.host=i.host,t.port=i.port,t.path=i.path.slice(),t.query="",c=jt;else{if("#"!=o){t.username=i.username,t.password=i.password,t.host=i.host,t.port=i.port,t.path=i.path.slice(),t.path.pop(),c=_t;continue}t.username=i.username,t.password=i.password,t.host=i.host,t.port=i.port,t.path=i.path.slice(),t.query=i.query,t.fragment="",c=Et}break;case ht:if(!J(t)||"/"!=o&&"\\"!=o){if("/"!=o){t.username=i.username,t.password=i.password,t.host=i.host,t.port=i.port,c=_t;continue}c=vt}else c=pt;break;case dt:if(c=pt,"/"!=o||"/"!=h.charAt(l+1))continue;l++;break;case pt:if("/"!=o&&"\\"!=o){c=vt;continue}break;case vt:if("@"==o){p&&(h="%40"+h),p=!0,s=d(h);for(var b=0;b<s.length;b++){var m=s[b];if(":"!=m||g){var y=Y(m,Z);g?t.password+=y:t.username+=y}else g=!0}h=""}else if(o==r||"/"==o||"?"==o||"#"==o||"\\"==o&&J(t)){if(p&&""==h)return E;l-=d(h).length+1,h="",c=gt}else h+=o;break;case gt:case bt:if(n&&"file"==t.scheme){c=xt;continue}if(":"!=o||v){if(o==r||"/"==o||"?"==o||"#"==o||"\\"==o&&J(t)){if(J(t)&&""==h)return P;if(n&&""==h&&(Q(t)||null!==t.port))return;if(u=V(t,h),u)return u;if(h="",c=Ot,n)return;continue}"["==o?v=!0:"]"==o&&(v=!1),h+=o}else{if(""==h)return P;if(u=V(t,h),u)return u;if(h="",c=mt,n==bt)return}break;case mt:if(!C.test(o)){if(o==r||"/"==o||"?"==o||"#"==o||"\\"==o&&J(t)||n){if(""!=h){var w=parseInt(h,10);if(w>65535)return T;t.port=J(t)&&w===K[t.scheme]?null:w,h=""}if(n)return;c=Ot;continue}return T}h+=o;break;case yt:if(t.scheme="file","/"==o||"\\"==o)c=wt;else{if(!i||"file"!=i.scheme){c=_t;continue}if(o==r)t.host=i.host,t.path=i.path.slice(),t.query=i.query;else if("?"==o)t.host=i.host,t.path=i.path.slice(),t.query="",c=jt;else{if("#"!=o){nt(a.slice(l).join(""))||(t.host=i.host,t.path=i.path.slice(),rt(t)),c=_t;continue}t.host=i.host,t.path=i.path.slice(),t.query=i.query,t.fragment="",c=Et}}break;case wt:if("/"==o||"\\"==o){c=xt;break}i&&"file"==i.scheme&&!nt(a.slice(l).join(""))&&(et(i.path[0],!0)?t.path.push(i.path[0]):t.host=i.host),c=_t;continue;case xt:if(o==r||"/"==o||"\\"==o||"?"==o||"#"==o){if(!n&&et(h))c=_t;else if(""==h){if(t.host="",n)return;c=Ot}else{if(u=V(t,h),u)return u;if("localhost"==t.host&&(t.host=""),n)return;h="",c=Ot}continue}h+=o;break;case Ot:if(J(t)){if(c=_t,"/"!=o&&"\\"!=o)continue}else if(n||"?"!=o)if(n||"#"!=o){if(o!=r&&(c=_t,"/"!=o))continue}else t.fragment="",c=Et;else t.query="",c=jt;break;case _t:if(o==r||"/"==o||"\\"==o&&J(t)||!n&&("?"==o||"#"==o)){if(at(h)?(rt(t),"/"==o||"\\"==o&&J(t)||t.path.push("")):it(h)?"/"==o||"\\"==o&&J(t)||t.path.push(""):("file"==t.scheme&&!t.path.length&&et(h)&&(t.host&&(t.host=""),h=h.charAt(0)+":"),t.path.push(h)),h="","file"==t.scheme&&(o==r||"?"==o||"#"==o))while(t.path.length>1&&""===t.path[0])t.path.shift();"?"==o?(t.query="",c=jt):"#"==o&&(t.fragment="",c=Et)}else h+=Y(o,X);break;case kt:"?"==o?(t.query="",c=jt):"#"==o?(t.fragment="",c=Et):o!=r&&(t.path[0]+=Y(o,$));break;case jt:n||"#"!=o?o!=r&&("'"==o&&J(t)?t.query+="%27":t.query+="#"==o?"%23":Y(o,$)):(t.fragment="",c=Et);break;case Et:o!=r&&(t.fragment+=Y(o,q));break}l++}},Pt=function(t){var e,n,r=l(this,Pt,"URL"),i=arguments.length>1?arguments[1]:void 0,o=String(t),s=O(r,{type:"URL"});if(void 0!==i)if(i instanceof Pt)e=_(i);else if(n=St(e={},String(i)),n)throw TypeError(n);if(n=St(s,o,null,e),n)throw TypeError(n);var u=s.searchParams=new w,c=x(u);c.updateSearchParams(s.query),c.updateURL=function(){s.query=String(u)||null},a||(r.href=At.call(r),r.origin=Mt.call(r),r.protocol=Ct.call(r),r.username=Lt.call(r),r.password=It.call(r),r.host=Rt.call(r),r.hostname=Dt.call(r),r.port=Ft.call(r),r.pathname=Nt.call(r),r.search=Bt.call(r),r.searchParams=zt.call(r),r.hash=Vt.call(r))},Tt=Pt.prototype,At=function(){var t=_(this),e=t.scheme,n=t.username,r=t.password,i=t.host,a=t.port,o=t.path,s=t.query,u=t.fragment,c=e+":";return null!==i?(c+="//",Q(t)&&(c+=n+(r?":"+r:"")+"@"),c+=W(i),null!==a&&(c+=":"+a)):"file"==e&&(c+="//"),c+=t.cannotBeABaseURL?o[0]:o.length?"/"+o.join("/"):"",null!==s&&(c+="?"+s),null!==u&&(c+="#"+u),c},Mt=function(){var t=_(this),e=t.scheme,n=t.port;if("blob"==e)try{return new URL(e.path[0]).origin}catch(r){return"null"}return"file"!=e&&J(t)?e+"://"+W(t.host)+(null!==n?":"+n:""):"null"},Ct=function(){return _(this).scheme+":"},Lt=function(){return _(this).username},It=function(){return _(this).password},Rt=function(){var t=_(this),e=t.host,n=t.port;return null===e?"":null===n?W(e):W(e)+":"+n},Dt=function(){var t=_(this).host;return null===t?"":W(t)},Ft=function(){var t=_(this).port;return null===t?"":String(t)},Nt=function(){var t=_(this),e=t.path;return t.cannotBeABaseURL?e[0]:e.length?"/"+e.join("/"):""},Bt=function(){var t=_(this).query;return t?"?"+t:""},zt=function(){return _(this).searchParams},Vt=function(){var t=_(this).fragment;return t?"#"+t:""},Ut=function(t,e){return{get:t,set:e,configurable:!0,enumerable:!0}};if(a&&u(Tt,{href:Ut(At,(function(t){var e=_(this),n=String(t),r=St(e,n);if(r)throw TypeError(r);x(e.searchParams).updateSearchParams(e.query)})),origin:Ut(Mt),protocol:Ut(Ct,(function(t){var e=_(this);St(e,String(t)+":",ot)})),username:Ut(Lt,(function(t){var e=_(this),n=d(String(t));if(!tt(e)){e.username="";for(var r=0;r<n.length;r++)e.username+=Y(n[r],Z)}})),password:Ut(It,(function(t){var e=_(this),n=d(String(t));if(!tt(e)){e.password="";for(var r=0;r<n.length;r++)e.password+=Y(n[r],Z)}})),host:Ut(Rt,(function(t){var e=_(this);e.cannotBeABaseURL||St(e,String(t),gt)})),hostname:Ut(Dt,(function(t){var e=_(this);e.cannotBeABaseURL||St(e,String(t),bt)})),port:Ut(Ft,(function(t){var e=_(this);tt(e)||(t=String(t),""==t?e.port=null:St(e,t,mt))})),pathname:Ut(Nt,(function(t){var e=_(this);e.cannotBeABaseURL||(e.path=[],St(e,t+"",Ot))})),search:Ut(Bt,(function(t){var e=_(this);t=String(t),""==t?e.query=null:("?"==t.charAt(0)&&(t=t.slice(1)),e.query="",St(e,t,jt)),x(e.searchParams).updateSearchParams(e.query)})),searchParams:Ut(zt),hash:Ut(Vt,(function(t){var e=_(this);t=String(t),""!=t?("#"==t.charAt(0)&&(t=t.slice(1)),e.fragment="",St(e,t,Et)):e.fragment=null}))}),c(Tt,"toJSON",(function(){return At.call(this)}),{enumerable:!0}),c(Tt,"toString",(function(){return At.call(this)}),{enumerable:!0}),y){var Ht=y.createObjectURL,Gt=y.revokeObjectURL;Ht&&c(Pt,"createObjectURL",(function(t){return Ht.apply(y,arguments)})),Gt&&c(Pt,"revokeObjectURL",(function(t){return Gt.apply(y,arguments)}))}g(Pt,"URL"),i({global:!0,forced:!o,sham:!a},{URL:Pt})},"2b3e":function(t,e,n){var r=n("585a"),i="object"==typeof self&&self&&self.Object===Object&&self,a=r||i||Function("return this")();t.exports=a},"2bd9":function(t,e,n){"use strict";(function(t,r){n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return s}));var i=n("53ca"),a={self:"undefined"!==typeof self&&self,window:"undefined"!==typeof window&&window,global:"undefined"!==typeof t&&t,document:"undefined"!==typeof document&&document,process:"object"===("undefined"===typeof r?"undefined":Object(i["a"])(r))&&r},o=(a.self||a.window||a.global,a.window||a.self||a.global),s=(a.global||a.self||a.window,a.document,a.process||{});console}).call(this,n("c8ba"),n("4362"))},"2cf4":function(t,e,n){var r,i,a,o=n("da84"),s=n("d039"),u=n("c6b6"),c=n("0366"),l=n("1be4"),f=n("cc12"),h=n("1cdc"),d=o.location,p=o.setImmediate,v=o.clearImmediate,g=o.process,b=o.MessageChannel,m=o.Dispatch,y=0,w={},x="onreadystatechange",O=function(t){if(w.hasOwnProperty(t)){var e=w[t];delete w[t],e()}},_=function(t){return function(){O(t)}},k=function(t){O(t.data)},j=function(t){o.postMessage(t+"",d.protocol+"//"+d.host)};p&&v||(p=function(t){var e=[],n=1;while(arguments.length>n)e.push(arguments[n++]);return w[++y]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},r(y),y},v=function(t){delete w[t]},"process"==u(g)?r=function(t){g.nextTick(_(t))}:m&&m.now?r=function(t){m.now(_(t))}:b&&!h?(i=new b,a=i.port2,i.port1.onmessage=k,r=c(a.postMessage,a,1)):!o.addEventListener||"function"!=typeof postMessage||o.importScripts||s(j)||"file:"===d.protocol?r=x in f("script")?function(t){l.appendChild(f("script"))[x]=function(){l.removeChild(this),O(t)}}:function(t){setTimeout(_(t),0)}:(r=j,o.addEventListener("message",k,!1))),t.exports={set:p,clear:v}},"2d00":function(t,e,n){var r,i,a=n("da84"),o=n("342f"),s=a.process,u=s&&s.versions,c=u&&u.v8;c?(r=c.split("."),i=r[0]+r[1]):o&&(r=o.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=o.match(/Chrome\/(\d+)/),r&&(i=r[1]))),t.exports=i&&+i},"2d7c":function(t,e){function n(t,e){var n=-1,r=null==t?0:t.length,i=0,a=[];while(++n<r){var o=t[n];e(o,n,t)&&(a[i++]=o)}return a}t.exports=n},"2d83":function(t,e,n){"use strict";var r=n("387f");t.exports=function(t,e,n,i,a){var o=new Error(t);return r(o,e,n,i,a)}},"2dcb":function(t,e,n){var r=n("91e9"),i=r(Object.getPrototypeOf,Object);t.exports=i},"2e67":function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},"2fcc":function(t,e){function n(t){var e=this.__data__,n=e["delete"](t);return this.size=e.size,n}t.exports=n},"30b5":function(t,e,n){"use strict";var r=n("c532");function i(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var a;if(n)a=n(e);else if(r.isURLSearchParams(e))a=e.toString();else{var o=[];r.forEach(e,(function(t,e){null!==t&&"undefined"!==typeof t&&(r.isArray(t)?e+="[]":t=[t],r.forEach(t,(function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),o.push(i(e)+"="+i(t))})))})),a=o.join("&")}if(a){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+a}return t}},"30c9":function(t,e,n){var r=n("9520"),i=n("b218");function a(t){return null!=t&&i(t.length)&&!r(t)}t.exports=a},"32b3":function(t,e,n){var r=n("872a"),i=n("9638"),a=Object.prototype,o=a.hasOwnProperty;function s(t,e,n){var a=t[e];o.call(t,e)&&i(a,n)&&(void 0!==n||e in t)||r(t,e,n)}t.exports=s},"32f4":function(t,e,n){var r=n("2d7c"),i=n("d327"),a=Object.prototype,o=a.propertyIsEnumerable,s=Object.getOwnPropertySymbols,u=s?function(t){return null==t?[]:(t=Object(t),r(s(t),(function(e){return o.call(t,e)})))}:i;t.exports=u},3410:function(t,e,n){var r=n("23e7"),i=n("d039"),a=n("7b0b"),o=n("e163"),s=n("e177"),u=i((function(){o(1)}));r({target:"Object",stat:!0,forced:u,sham:!s},{getPrototypeOf:function(t){return o(a(t))}})},"342f":function(t,e,n){var r=n("d066");t.exports=r("navigator","userAgent")||""},"34ac":function(t,e,n){var r=n("9520"),i=n("1368"),a=n("1a8c"),o=n("dc57"),s=/[\\^$.*+?()[\]{}|]/g,u=/^\[object .+?Constructor\]$/,c=Function.prototype,l=Object.prototype,f=c.toString,h=l.hasOwnProperty,d=RegExp("^"+f.call(h).replace(s,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function p(t){if(!a(t)||i(t))return!1;var e=r(t)?d:u;return e.test(o(t))}t.exports=p},"35a1":function(t,e,n){var r=n("f5df"),i=n("3f8c"),a=n("b622"),o=a("iterator");t.exports=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},3698:function(t,e){function n(t,e){return null==t?void 0:t[e]}t.exports=n},"370d":function(t,e,n){"use strict";n.d(e,"a",(function(){return O}));var r=n("3835"),i=n("d4ec"),a=n("99de"),o=n("7e84"),s=n("bee2"),u=n("262e"),c=n("f87d"),l=n("e355"),f=n("6b74"),h=function(t){function e(){return Object(i["a"])(this,e),Object(a["a"])(this,Object(o["a"])(e).apply(this,arguments))}return Object(u["a"])(e,t),Object(s["a"])(e,[{key:"toString",value:function(){var t="[";if(f["b"].printRowMajor){t+="row-major:";for(var e=0;e<this.RANK;++e)for(var n=0;n<this.RANK;++n)t+=" ".concat(this[n*this.RANK+e])}else{t+="column-major:";for(var r=0;r<this.ELEMENTS;++r)t+=" ".concat(this[r])}return t+="]",t}},{key:"getElementIndex",value:function(t,e){return e*this.RANK+t}},{key:"getElement",value:function(t,e){return this[e*this.RANK+t]}},{key:"setElement",value:function(t,e,n){return this[e*this.RANK+t]=Object(c["a"])(n),this}},{key:"getColumn",value:function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Array(this.RANK).fill(-0),n=t*this.RANK,r=0;r<this.RANK;++r)e[r]=this[n+r];return e}},{key:"setColumn",value:function(t,e){for(var n=t*this.RANK,r=0;r<this.RANK;++r)this[n+r]=e[r];return this}}]),e}(l["a"]),d=n("b128"),p=n("65a1"),v=n("6711"),g=n("9fe7"),b=n("6e5f"),m=Object.freeze([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]),y=Object.freeze([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),w=Object.freeze({COL0ROW0:0,COL0ROW1:1,COL0ROW2:2,COL0ROW3:3,COL1ROW0:4,COL1ROW1:5,COL1ROW2:6,COL1ROW3:7,COL2ROW0:8,COL2ROW1:9,COL2ROW2:10,COL2ROW3:11,COL3ROW0:12,COL3ROW1:13,COL3ROW2:14,COL3ROW3:15}),x={},O=function(t){function e(t){var n;return Object(i["a"])(this,e),n=Object(a["a"])(this,Object(o["a"])(e).call(this,-0,-0,-0,-0,-0,-0,-0,-0,-0,-0,-0,-0,-0,-0,-0,-0)),1===arguments.length&&Array.isArray(t)?n.copy(t):n.identity(),n}return Object(u["a"])(e,t),Object(s["a"])(e,[{key:"INDICES",get:function(){return w}},{key:"ELEMENTS",get:function(){return 16}},{key:"RANK",get:function(){return 4}}],[{key:"IDENTITY",get:function(){return x.IDENTITY=x.IDENTITY||Object.freeze(new e(m)),x.IDENTITY}},{key:"ZERO",get:function(){return x.ZERO=x.ZERO||Object.freeze(new e(y)),x.ZERO}}]),Object(s["a"])(e,[{key:"copy",value:function(t){return this[0]=t[0],this[1]=t[1],this[2]=t[2],this[3]=t[3],this[4]=t[4],this[5]=t[5],this[6]=t[6],this[7]=t[7],this[8]=t[8],this[9]=t[9],this[10]=t[10],this[11]=t[11],this[12]=t[12],this[13]=t[13],this[14]=t[14],this[15]=t[15],this.check()}},{key:"set",value:function(t,e,n,r,i,a,o,s,u,c,l,f,h,d,p,v){return this[0]=t,this[1]=e,this[2]=n,this[3]=r,this[4]=i,this[5]=a,this[6]=o,this[7]=s,this[8]=u,this[9]=c,this[10]=l,this[11]=f,this[12]=h,this[13]=d,this[14]=p,this[15]=v,this.check()}},{key:"setRowMajor",value:function(t,e,n,r,i,a,o,s,u,c,l,f,h,d,p,v){return this[0]=t,this[1]=i,this[2]=u,this[3]=h,this[4]=e,this[5]=a,this[6]=c,this[7]=d,this[8]=n,this[9]=o,this[10]=l,this[11]=p,this[12]=r,this[13]=s,this[14]=f,this[15]=v,this.check()}},{key:"toRowMajor",value:function(t){return t[0]=this[0],t[1]=this[4],t[2]=this[8],t[3]=this[12],t[4]=this[1],t[5]=this[5],t[6]=this[9],t[7]=this[13],t[8]=this[2],t[9]=this[6],t[10]=this[10],t[11]=this[14],t[12]=this[3],t[13]=this[7],t[14]=this[11],t[15]=this[15],t}},{key:"identity",value:function(){return this.copy(m)}},{key:"fromQuaternion",value:function(t){return p["c"](this,t),this.check()}},{key:"frustum",value:function(t){var n=t.left,r=t.right,i=t.bottom,a=t.top,o=t.near,s=t.far;return s===1/0?e._computeInfinitePerspectiveOffCenter(this,n,r,i,a,o):p["d"](this,n,r,i,a,o,s),this.check()}},{key:"lookAt",value:function(t,e,n){if(1===arguments.length){var r=t;t=r.eye,e=r.center,n=r.up}return e=e||[0,0,0],n=n||[0,1,0],p["f"](this,t,e,n),this.check()}},{key:"ortho",value:function(t){var e=t.left,n=t.right,r=t.bottom,i=t.top,a=t.near,o=void 0===a?.1:a,s=t.far,u=void 0===s?500:s;return p["h"](this,e,n,r,i,o,u),this.check()}},{key:"orthographic",value:function(t){var n=t.fovy,r=void 0===n?45*Math.PI/180:n,i=t.aspect,a=void 0===i?1:i,o=t.focalDistance,s=void 0===o?1:o,u=t.near,c=void 0===u?.1:u,l=t.far,f=void 0===l?500:l;if(r>2*Math.PI)throw Error("radians");var h=r/2,d=s*Math.tan(h),p=d*a;return(new e).ortho({left:-p,right:p,bottom:-d,top:d,near:c,far:f})}},{key:"perspective",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.fovy,n=void 0===e?void 0:e,r=t.fov,i=void 0===r?45*Math.PI/180:r,a=t.aspect,o=void 0===a?1:a,s=t.near,u=void 0===s?.1:s,c=t.far,l=void 0===c?500:c;if(n=n||i,n>2*Math.PI)throw Error("radians")