Newer
Older
smartwell_front_dz / smartwell / static / js / chunk-libs-377fed06.a1eb14a6.js
wangxitong on 11 Sep 2023 12 KB first commit
(self["webpackChunknewfront"]=self["webpackChunknewfront"]||[]).push([[9919],{62276:(e,t,n)=>{"use strict";var r=n(84102),i=n(10611),o=n(89185);function u(e){return e=e.slice(),e.push(e[0]),r.polygon([e])}function f(e,t){if(t=t||{},!r.isObject(t))throw new Error("options is invalid");var n=t.bbox||[-180,-85,180,85];if(!e)throw new Error("points is required");if(!Array.isArray(n))throw new Error("bbox is invalid");return i.collectionOf(e,"Point","points"),r.featureCollection(o.voronoi().x((function(e){return e.geometry.coordinates[0]})).y((function(e){return e.geometry.coordinates[1]})).extent([[n[0],n[1]],[n[2],n[3]]]).polygons(e.features).map(u))}e.exports=f,e.exports["default"]=f},20384:e=>{e.exports=function(e){return e&&"object"===typeof e&&"function"===typeof e.copy&&"function"===typeof e.fill&&"function"===typeof e.readUInt8}},55955:(e,t,n)=>{"use strict";var r=n(82584),i=n(48662),o=n(86430),u=n(85692);function f(e){return e.call.bind(e)}var a="undefined"!==typeof BigInt,c="undefined"!==typeof Symbol,s=f(Object.prototype.toString),p=f(Number.prototype.valueOf),l=f(String.prototype.valueOf),y=f(Boolean.prototype.valueOf);if(a)var d=f(BigInt.prototype.valueOf);if(c)var g=f(Symbol.prototype.valueOf);function b(e,t){if("object"!==typeof e)return!1;try{return t(e),!0}catch(n){return!1}}function w(e){return"undefined"!==typeof Promise&&e instanceof Promise||null!==e&&"object"===typeof e&&"function"===typeof e.then&&"function"===typeof e.catch}function h(e){return"undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):u(e)||$(e)}function m(e){return"Uint8Array"===o(e)}function v(e){return"Uint8ClampedArray"===o(e)}function j(e){return"Uint16Array"===o(e)}function O(e){return"Uint32Array"===o(e)}function A(e){return"Int8Array"===o(e)}function S(e){return"Int16Array"===o(e)}function E(e){return"Int32Array"===o(e)}function k(e){return"Float32Array"===o(e)}function B(e){return"Float64Array"===o(e)}function x(e){return"BigInt64Array"===o(e)}function D(e){return"BigUint64Array"===o(e)}function P(e){return"[object Map]"===s(e)}function M(e){return"undefined"!==typeof Map&&(P.working?P(e):e instanceof Map)}function U(e){return"[object Set]"===s(e)}function z(e){return"undefined"!==typeof Set&&(U.working?U(e):e instanceof Set)}function I(e){return"[object WeakMap]"===s(e)}function N(e){return"undefined"!==typeof WeakMap&&(I.working?I(e):e instanceof WeakMap)}function F(e){return"[object WeakSet]"===s(e)}function T(e){return F(e)}function W(e){return"[object ArrayBuffer]"===s(e)}function C(e){return"undefined"!==typeof ArrayBuffer&&(W.working?W(e):e instanceof ArrayBuffer)}function V(e){return"[object DataView]"===s(e)}function $(e){return"undefined"!==typeof DataView&&(V.working?V(e):e instanceof DataView)}t.isArgumentsObject=r,t.isGeneratorFunction=i,t.isTypedArray=u,t.isPromise=w,t.isArrayBufferView=h,t.isUint8Array=m,t.isUint8ClampedArray=v,t.isUint16Array=j,t.isUint32Array=O,t.isInt8Array=A,t.isInt16Array=S,t.isInt32Array=E,t.isFloat32Array=k,t.isFloat64Array=B,t.isBigInt64Array=x,t.isBigUint64Array=D,P.working="undefined"!==typeof Map&&P(new Map),t.isMap=M,U.working="undefined"!==typeof Set&&U(new Set),t.isSet=z,I.working="undefined"!==typeof WeakMap&&I(new WeakMap),t.isWeakMap=N,F.working="undefined"!==typeof WeakSet&&F(new WeakSet),t.isWeakSet=T,W.working="undefined"!==typeof ArrayBuffer&&W(new ArrayBuffer),t.isArrayBuffer=C,V.working="undefined"!==typeof ArrayBuffer&&"undefined"!==typeof DataView&&V(new DataView(new ArrayBuffer(1),0,1)),t.isDataView=$;var _="undefined"!==typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function R(e){return"[object SharedArrayBuffer]"===s(e)}function G(e){return"undefined"!==typeof _&&("undefined"===typeof R.working&&(R.working=R(new _)),R.working?R(e):e instanceof _)}function J(e){return"[object AsyncFunction]"===s(e)}function H(e){return"[object Map Iterator]"===s(e)}function L(e){return"[object Set Iterator]"===s(e)}function Z(e){return"[object Generator]"===s(e)}function q(e){return"[object WebAssembly.Module]"===s(e)}function K(e){return b(e,p)}function Q(e){return b(e,l)}function X(e){return b(e,y)}function Y(e){return a&&b(e,d)}function ee(e){return c&&b(e,g)}function te(e){return K(e)||Q(e)||X(e)||Y(e)||ee(e)}function ne(e){return"undefined"!==typeof Uint8Array&&(C(e)||G(e))}t.isSharedArrayBuffer=G,t.isAsyncFunction=J,t.isMapIterator=H,t.isSetIterator=L,t.isGeneratorObject=Z,t.isWebAssemblyCompiledModule=q,t.isNumberObject=K,t.isStringObject=Q,t.isBooleanObject=X,t.isBigIntObject=Y,t.isSymbolObject=ee,t.isBoxedPrimitive=te,t.isAnyArrayBuffer=ne,["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(e){Object.defineProperty(t,e,{enumerable:!1,value:function(){throw new Error(e+" is not supported in userland")}})}))},89539:(e,t,n)=>{var r=n(34155),i=n(25108),o=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++)n[t[r]]=Object.getOwnPropertyDescriptor(e,t[r]);return n},u=/%[sdj%]/g;t.format=function(e){if(!E(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(s(arguments[n]));return t.join(" ")}n=1;for(var r=arguments,i=r.length,o=String(e).replace(u,(function(e){if("%%"===e)return"%";if(n>=i)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(t){return"[Circular]"}default:return e}})),f=r[n];n<i;f=r[++n])O(f)||!D(f)?o+=" "+f:o+=" "+s(f);return o},t.deprecate=function(e,n){if("undefined"!==typeof r&&!0===r.noDeprecation)return e;if("undefined"===typeof r)return function(){return t.deprecate(e,n).apply(this,arguments)};var o=!1;function u(){if(!o){if(r.throwDeprecation)throw new Error(n);r.traceDeprecation?i.trace(n):i.error(n),o=!0}return e.apply(this,arguments)}return u};var f={},a=/^$/;if({NODE_ENV:"production",BASE_URL:""}.NODE_DEBUG){var c={NODE_ENV:"production",BASE_URL:""}.NODE_DEBUG;c=c.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),a=new RegExp("^"+c+"$","i")}function s(e,n){var r={seen:[],stylize:l};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),j(n)?r.showHidden=n:n&&t._extend(r,n),B(r.showHidden)&&(r.showHidden=!1),B(r.depth)&&(r.depth=2),B(r.colors)&&(r.colors=!1),B(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=p),d(r,e,r.depth)}function p(e,t){var n=s.styles[t];return n?"["+s.colors[n][0]+"m"+e+"["+s.colors[n][1]+"m":e}function l(e,t){return e}function y(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}function d(e,n,r){if(e.customInspect&&n&&U(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var i=n.inspect(r,e);return E(i)||(i=d(e,i,r)),i}var o=g(e,n);if(o)return o;var u=Object.keys(n),f=y(u);if(e.showHidden&&(u=Object.getOwnPropertyNames(n)),M(n)&&(u.indexOf("message")>=0||u.indexOf("description")>=0))return b(n);if(0===u.length){if(U(n)){var a=n.name?": "+n.name:"";return e.stylize("[Function"+a+"]","special")}if(x(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(P(n))return e.stylize(Date.prototype.toString.call(n),"date");if(M(n))return b(n)}var c,s="",p=!1,l=["{","}"];if(v(n)&&(p=!0,l=["[","]"]),U(n)){var j=n.name?": "+n.name:"";s=" [Function"+j+"]"}return x(n)&&(s=" "+RegExp.prototype.toString.call(n)),P(n)&&(s=" "+Date.prototype.toUTCString.call(n)),M(n)&&(s=" "+b(n)),0!==u.length||p&&0!=n.length?r<0?x(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special"):(e.seen.push(n),c=p?w(e,n,r,f,u):u.map((function(t){return h(e,n,r,f,t,p)})),e.seen.pop(),m(c,s,l)):l[0]+s+l[1]}function g(e,t){if(B(t))return e.stylize("undefined","undefined");if(E(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}return S(t)?e.stylize(""+t,"number"):j(t)?e.stylize(""+t,"boolean"):O(t)?e.stylize("null","null"):void 0}function b(e){return"["+Error.prototype.toString.call(e)+"]"}function w(e,t,n,r,i){for(var o=[],u=0,f=t.length;u<f;++u)W(t,String(u))?o.push(h(e,t,n,r,String(u),!0)):o.push("");return i.forEach((function(i){i.match(/^\d+$/)||o.push(h(e,t,n,r,i,!0))})),o}function h(e,t,n,r,i,o){var u,f,a;if(a=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]},a.get?f=a.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):a.set&&(f=e.stylize("[Setter]","special")),W(r,i)||(u="["+i+"]"),f||(e.seen.indexOf(a.value)<0?(f=O(n)?d(e,a.value,null):d(e,a.value,n-1),f.indexOf("\n")>-1&&(f=o?f.split("\n").map((function(e){return"  "+e})).join("\n").substr(2):"\n"+f.split("\n").map((function(e){return"   "+e})).join("\n"))):f=e.stylize("[Circular]","special")),B(u)){if(o&&i.match(/^\d+$/))return f;u=JSON.stringify(""+i),u.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(u=u.substr(1,u.length-2),u=e.stylize(u,"name")):(u=u.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),u=e.stylize(u,"string"))}return u+": "+f}function m(e,t,n){var r=e.reduce((function(e,t){return t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0);return r>60?n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n  ")+" "+n[1]:n[0]+t+" "+e.join(", ")+" "+n[1]}function v(e){return Array.isArray(e)}function j(e){return"boolean"===typeof e}function O(e){return null===e}function A(e){return null==e}function S(e){return"number"===typeof e}function E(e){return"string"===typeof e}function k(e){return"symbol"===typeof e}function B(e){return void 0===e}function x(e){return D(e)&&"[object RegExp]"===I(e)}function D(e){return"object"===typeof e&&null!==e}function P(e){return D(e)&&"[object Date]"===I(e)}function M(e){return D(e)&&("[object Error]"===I(e)||e instanceof Error)}function U(e){return"function"===typeof e}function z(e){return null===e||"boolean"===typeof e||"number"===typeof e||"string"===typeof e||"symbol"===typeof e||"undefined"===typeof e}function I(e){return Object.prototype.toString.call(e)}function N(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(e=e.toUpperCase(),!f[e])if(a.test(e)){var n=r.pid;f[e]=function(){var r=t.format.apply(t,arguments);i.error("%s %d: %s",e,n,r)}}else f[e]=function(){};return f[e]},t.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.types=n(55955),t.isArray=v,t.isBoolean=j,t.isNull=O,t.isNullOrUndefined=A,t.isNumber=S,t.isString=E,t.isSymbol=k,t.isUndefined=B,t.isRegExp=x,t.types.isRegExp=x,t.isObject=D,t.isDate=P,t.types.isDate=P,t.isError=M,t.types.isNativeError=M,t.isFunction=U,t.isPrimitive=z,t.isBuffer=n(20384);var F=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function T(){var e=new Date,t=[N(e.getHours()),N(e.getMinutes()),N(e.getSeconds())].join(":");return[e.getDate(),F[e.getMonth()],t].join(" ")}function W(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){i.log("%s - %s",T(),t.format.apply(t,arguments))},t.inherits=n(35717),t._extend=function(e,t){if(!t||!D(t))return e;var n=Object.keys(t),r=n.length;while(r--)e[n[r]]=t[n[r]];return e};var C="undefined"!==typeof Symbol?Symbol("util.promisify.custom"):void 0;function V(e,t){if(!e){var n=new Error("Promise was rejected with a falsy value");n.reason=e,e=n}return t(e)}function $(e){if("function"!==typeof e)throw new TypeError('The "original" argument must be of type Function');function t(){for(var t=[],n=0;n<arguments.length;n++)t.push(arguments[n]);var i=t.pop();if("function"!==typeof i)throw new TypeError("The last argument must be of type Function");var o=this,u=function(){return i.apply(o,arguments)};e.apply(this,t).then((function(e){r.nextTick(u.bind(null,null,e))}),(function(e){r.nextTick(V.bind(null,e,u))}))}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,o(e)),t}t.promisify=function(e){if("function"!==typeof e)throw new TypeError('The "original" argument must be of type Function');if(C&&e[C]){var t=e[C];if("function"!==typeof t)throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,C,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,n,r=new Promise((function(e,r){t=e,n=r})),i=[],o=0;o<arguments.length;o++)i.push(arguments[o]);i.push((function(e,r){e?n(e):t(r)}));try{e.apply(this,i)}catch(u){n(u)}return r}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),C&&Object.defineProperty(t,C,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,o(e))},t.promisify.custom=C,t.callbackify=$}}]);