1 |
- System.register(["./preload-helper-legacy.2e08847a.js","./vendor-legacy.ab945ac3.js"],(function(t){"use strict";var e,r,o,n;return{setters:[function(t){e=t.b,r=t.t},function(t){o=t.L,n=t.s}],execute:function(){var i,a="undefined"!=typeof Symbol&&Symbol,c=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),r=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var o=Object.getOwnPropertySymbols(t);if(1!==o.length||o[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var n=Object.getOwnPropertyDescriptor(t,e);if(42!==n.value||!0!==n.enumerable)return!1}return!0},p="Function.prototype.bind called on incompatible ",l=Array.prototype.slice,u=Object.prototype.toString,y="[object Function]",f=function(t){var e=this;if("function"!=typeof e||u.call(e)!==y)throw new TypeError(p+e);for(var r,o=l.call(arguments,1),n=function(){if(this instanceof r){var n=e.apply(this,o.concat(l.call(arguments)));return Object(n)===n?n:this}return e.apply(t,o.concat(l.call(arguments)))},i=Math.max(0,e.length-o.length),a=[],c=0;c<i;c++)a.push("$"+c);if(r=Function("binder","return function ("+a.join(",")+"){ return binder.apply(this,arguments); }")(n),e.prototype){var f=function(){};f.prototype=e.prototype,r.prototype=new f,f.prototype=null}return r},s=Function.prototype.bind||f,d=s.call(Function.call,Object.prototype.hasOwnProperty),g=SyntaxError,m=Function,b=TypeError,h=function(t){try{return m('"use strict"; return ('+t+").constructor;")()}catch(e){}},v=Object.getOwnPropertyDescriptor;if(v)try{v({},"")}catch(De){v=null}var S=function(){throw new b},j=v?function(){try{return S}catch(t){try{return v(arguments,"callee").get}catch(e){return S}}}():S,A="function"==typeof a&&"function"==typeof Symbol&&"symbol"==typeof a("foo")&&"symbol"==typeof Symbol("bar")&&c(),O=Object.getPrototypeOf||function(t){return t.__proto__},P={},w="undefined"==typeof Uint8Array?i:O(Uint8Array),E={"%AggregateError%":"undefined"==typeof AggregateError?i:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?i:ArrayBuffer,"%ArrayIteratorPrototype%":A?O([][Symbol.iterator]()):i,"%AsyncFromSyncIteratorPrototype%":i,"%AsyncFunction%":P,"%AsyncGenerator%":P,"%AsyncGeneratorFunction%":P,"%AsyncIteratorPrototype%":P,"%Atomics%":"undefined"==typeof Atomics?i:Atomics,"%BigInt%":"undefined"==typeof BigInt?i:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?i:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?i:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?i:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?i:FinalizationRegistry,"%Function%":m,"%GeneratorFunction%":P,"%Int8Array%":"undefined"==typeof Int8Array?i:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?i:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?i:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":A?O(O([][Symbol.iterator]())):i,"%JSON%":"object"==typeof JSON?JSON:i,"%Map%":"undefined"==typeof Map?i:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&A?O((new Map)[Symbol.iterator]()):i,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?i:Promise,"%Proxy%":"undefined"==typeof Proxy?i:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?i:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?i:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&A?O((new Set)[Symbol.iterator]()):i,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?i:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":A?O(""[Symbol.iterator]()):i,"%Symbol%":A?Symbol:i,"%SyntaxError%":g,"%ThrowTypeError%":j,"%TypedArray%":w,"%TypeError%":b,"%Uint8Array%":"undefined"==typeof Uint8Array?i:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?i:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?i:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?i:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?i:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?i:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?i:WeakSet},x=function t(e){var r;if("%AsyncFunction%"===e)r=h("async function () {}");else if("%GeneratorFunction%"===e)r=h("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=h("async function* () {}");else if("%AsyncGenerator%"===e){var o=t("%AsyncGeneratorFunction%");o&&(r=o.prototype)}else if("%AsyncIteratorPrototype%"===e){var n=t("%AsyncGenerator%");n&&(r=O(n.prototype))}return E[e]=r,r},F={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},k=s,I=d,R=k.call(Function.call,Array.prototype.concat),M=k.call(Function.apply,Array.prototype.splice),N=k.call(Function.call,String.prototype.replace),D=k.call(Function.call,String.prototype.slice),C=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,_=/\\(\\)?/g,U=function(t){var e=D(t,0,1),r=D(t,-1);if("%"===e&&"%"!==r)throw new g("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new g("invalid intrinsic syntax, expected opening `%`");var o=[];return N(t,C,(function(t,e,r,n){o[o.length]=r?N(n,_,"$1"):e||t})),o},T=function(t,e){var r,o=t;if(I(F,o)&&(o="%"+(r=F[o])[0]+"%"),I(E,o)){var n=E[o];if(n===P&&(n=x(o)),void 0===n&&!e)throw new b("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:o,value:n}}throw new g("intrinsic "+t+" does not exist!")},B=function(t,e){if("string"!=typeof t||0===t.length)throw new b("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new b('"allowMissing" argument must be a boolean');var r=U(t),o=r.length>0?r[0]:"",n=T("%"+o+"%",e),i=n.name,a=n.value,c=!1,p=n.alias;p&&(o=p[0],M(r,R([0,1],p)));for(var l=1,u=!0;l<r.length;l+=1){var y=r[l],f=D(y,0,1),s=D(y,-1);if(('"'===f||"'"===f||"`"===f||'"'===s||"'"===s||"`"===s)&&f!==s)throw new g("property names with quotes must have matching quotes");if("constructor"!==y&&u||(c=!0),I(E,i="%"+(o+="."+y)+"%"))a=E[i];else if(null!=a){if(!(y in a)){if(!e)throw new b("base intrinsic for "+t+" exists, but the property is not available.");return}if(v&&l+1>=r.length){var d=v(a,y);a=(u=!!d)&&"get"in d&&!("originalValue"in d.get)?d.get:a[y]}else u=I(a,y),a=a[y];u&&!c&&(E[i]=a)}}return a},W={exports:{}};!function(t){var e=s,r=B,o=r("%Function.prototype.apply%"),n=r("%Function.prototype.call%"),i=r("%Reflect.apply%",!0)||e.call(n,o),a=r("%Object.getOwnPropertyDescriptor%",!0),c=r("%Object.defineProperty%",!0),p=r("%Math.max%");if(c)try{c({},"a",{value:1})}catch(De){c=null}t.exports=function(t){var r=i(e,n,arguments);if(a&&c){var o=a(r,"length");o.configurable&&c(r,"length",{value:1+p(0,t.length-(arguments.length-1))})}return r};var l=function(){return i(e,o,arguments)};c?c(t.exports,"apply",{value:l}):t.exports.apply=l}(W);var L=B,z=W.exports,$=z(L("String.prototype.indexOf")),q=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:{}}),G=o(q),V="function"==typeof Map&&Map.prototype,H=Object.getOwnPropertyDescriptor&&V?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,K=V&&H&&"function"==typeof H.get?H.get:null,Q=V&&Map.prototype.forEach,J="function"==typeof Set&&Set.prototype,X=Object.getOwnPropertyDescriptor&&J?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Y=J&&X&&"function"==typeof X.get?X.get:null,Z=J&&Set.prototype.forEach,tt="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,et="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,rt="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,ot=Boolean.prototype.valueOf,nt=Object.prototype.toString,it=Function.prototype.toString,at=String.prototype.match,ct=String.prototype.slice,pt=String.prototype.replace,lt=String.prototype.toUpperCase,ut=String.prototype.toLowerCase,yt=RegExp.prototype.test,ft=Array.prototype.concat,st=Array.prototype.join,dt=Array.prototype.slice,gt=Math.floor,mt="function"==typeof BigInt?BigInt.prototype.valueOf:null,bt=Object.getOwnPropertySymbols,ht="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,vt="function"==typeof Symbol&&"object"==typeof Symbol.iterator,St="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol.toStringTag,1)?Symbol.toStringTag:null,jt=Object.prototype.propertyIsEnumerable,At=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function Ot(t,e){if(t===1/0||t===-1/0||t!=t||t&&t>-1e3&&t<1e3||yt.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof t){var o=t<0?-gt(-t):gt(t);if(o!==t){var n=String(o),i=ct.call(e,n.length+1);return pt.call(n,r,"$&_")+"."+pt.call(pt.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return pt.call(e,r,"$&_")}var Pt=G.custom,wt=Pt&&kt(Pt)?Pt:null;function Et(t,e,r){var o="double"===(r.quoteStyle||e)?'"':"'";return o+t+o}function xt(t){return pt.call(String(t),/"/g,""")}function Ft(t){return!("[object Array]"!==Mt(t)||St&&"object"==typeof t&&St in t)}function kt(t){if(vt)return t&&"object"==typeof t&&t instanceof Symbol;if("symbol"==typeof t)return!0;if(!t||"object"!=typeof t||!ht)return!1;try{return ht.call(t),!0}catch(De){}return!1}var It=Object.prototype.hasOwnProperty||function(t){return t in this};function Rt(t,e){return It.call(t,e)}function Mt(t){return nt.call(t)}function Nt(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,o=t.length;r<o;r++)if(t[r]===e)return r;return-1}function Dt(t,e){if(t.length>e.maxStringLength){var r=t.length-e.maxStringLength,o="... "+r+" more character"+(r>1?"s":"");return Dt(ct.call(t,0,e.maxStringLength),e)+o}return Et(pt.call(pt.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Ct),"single",e)}function Ct(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+lt.call(e.toString(16))}function _t(t){return"Object("+t+")"}function Ut(t){return t+" { ? }"}function Tt(t,e,r,o){return t+" ("+e+") {"+(o?Bt(r,o):st.call(r,", "))+"}"}function Bt(t,e){if(0===t.length)return"";var r="\n"+e.prev+e.base;return r+st.call(t,","+r)+"\n"+e.prev}function Wt(t,e){var r=Ft(t),o=[];if(r){o.length=t.length;for(var n=0;n<t.length;n++)o[n]=Rt(t,n)?e(t[n],t):""}var i,a="function"==typeof bt?bt(t):[];if(vt){i={};for(var c=0;c<a.length;c++)i["$"+a[c]]=a[c]}for(var p in t)Rt(t,p)&&(r&&String(Number(p))===p&&p<t.length||vt&&i["$"+p]instanceof Symbol||(yt.call(/[^\w$]/,p)?o.push(e(p,t)+": "+e(t[p],t)):o.push(p+": "+e(t[p],t))));if("function"==typeof bt)for(var l=0;l<a.length;l++)jt.call(t,a[l])&&o.push("["+e(a[l])+"]: "+e(t[a[l]],t));return o}var Lt=B,zt=function(t,e){var r=L(t,!!e);return"function"==typeof r&&$(t,".prototype.")>-1?z(r):r},$t=function t(e,r,o,n){var i=r||{};if(Rt(i,"quoteStyle")&&"single"!==i.quoteStyle&&"double"!==i.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Rt(i,"maxStringLength")&&("number"==typeof i.maxStringLength?i.maxStringLength<0&&i.maxStringLength!==1/0:null!==i.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var a=!Rt(i,"customInspect")||i.customInspect;if("boolean"!=typeof a&&"symbol"!==a)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Rt(i,"indent")&&null!==i.indent&&"\t"!==i.indent&&!(parseInt(i.indent,10)===i.indent&&i.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Rt(i,"numericSeparator")&&"boolean"!=typeof i.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var c=i.numericSeparator;if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return Dt(e,i);if("number"==typeof e){if(0===e)return 1/0/e>0?"0":"-0";var p=String(e);return c?Ot(e,p):p}if("bigint"==typeof e){var l=String(e)+"n";return c?Ot(e,l):l}var u=void 0===i.depth?5:i.depth;if(void 0===o&&(o=0),o>=u&&u>0&&"object"==typeof e)return Ft(e)?"[Array]":"[Object]";var y,f=function(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=st.call(Array(t.indent+1)," ")}return{base:r,prev:st.call(Array(e+1),r)}}(i,o);if(void 0===n)n=[];else if(Nt(n,e)>=0)return"[Circular]";function s(e,r,a){if(r&&(n=dt.call(n)).push(r),a){var c={depth:i.depth};return Rt(i,"quoteStyle")&&(c.quoteStyle=i.quoteStyle),t(e,c,o+1,n)}return t(e,i,o+1,n)}if("function"==typeof e){var d=function(t){if(t.name)return t.name;var e=at.call(it.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}(e),g=Wt(e,s);return"[Function"+(d?": "+d:" (anonymous)")+"]"+(g.length>0?" { "+st.call(g,", ")+" }":"")}if(kt(e)){var m=vt?pt.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):ht.call(e);return"object"!=typeof e||vt?m:_t(m)}if((y=e)&&"object"==typeof y&&("undefined"!=typeof HTMLElement&&y instanceof HTMLElement||"string"==typeof y.nodeName&&"function"==typeof y.getAttribute)){for(var b="<"+ut.call(String(e.nodeName)),h=e.attributes||[],v=0;v<h.length;v++)b+=" "+h[v].name+"="+Et(xt(h[v].value),"double",i);return b+=">",e.childNodes&&e.childNodes.length&&(b+="..."),b+="</"+ut.call(String(e.nodeName))+">"}if(Ft(e)){if(0===e.length)return"[]";var S=Wt(e,s);return f&&!function(t){for(var e=0;e<t.length;e++)if(Nt(t[e],"\n")>=0)return!1;return!0}(S)?"["+Bt(S,f)+"]":"[ "+st.call(S,", ")+" ]"}if(function(t){return!("[object Error]"!==Mt(t)||St&&"object"==typeof t&&St in t)}(e)){var j=Wt(e,s);return"cause"in e&&!jt.call(e,"cause")?"{ ["+String(e)+"] "+st.call(ft.call("[cause]: "+s(e.cause),j),", ")+" }":0===j.length?"["+String(e)+"]":"{ ["+String(e)+"] "+st.call(j,", ")+" }"}if("object"==typeof e&&a){if(wt&&"function"==typeof e[wt])return e[wt]();if("symbol"!==a&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!K||!t||"object"!=typeof t)return!1;try{K.call(t);try{Y.call(t)}catch(b){return!0}return t instanceof Map}catch(De){}return!1}(e)){var A=[];return Q.call(e,(function(t,r){A.push(s(r,e,!0)+" => "+s(t,e))})),Tt("Map",K.call(e),A,f)}if(function(t){if(!Y||!t||"object"!=typeof t)return!1;try{Y.call(t);try{K.call(t)}catch(e){return!0}return t instanceof Set}catch(De){}return!1}(e)){var O=[];return Z.call(e,(function(t){O.push(s(t,e))})),Tt("Set",Y.call(e),O,f)}if(function(t){if(!tt||!t||"object"!=typeof t)return!1;try{tt.call(t,tt);try{et.call(t,et)}catch(b){return!0}return t instanceof WeakMap}catch(De){}return!1}(e))return Ut("WeakMap");if(function(t){if(!et||!t||"object"!=typeof t)return!1;try{et.call(t,et);try{tt.call(t,tt)}catch(b){return!0}return t instanceof WeakSet}catch(De){}return!1}(e))return Ut("WeakSet");if(function(t){if(!rt||!t||"object"!=typeof t)return!1;try{return rt.call(t),!0}catch(De){}return!1}(e))return Ut("WeakRef");if(function(t){return!("[object Number]"!==Mt(t)||St&&"object"==typeof t&&St in t)}(e))return _t(s(Number(e)));if(function(t){if(!t||"object"!=typeof t||!mt)return!1;try{return mt.call(t),!0}catch(De){}return!1}(e))return _t(s(mt.call(e)));if(function(t){return!("[object Boolean]"!==Mt(t)||St&&"object"==typeof t&&St in t)}(e))return _t(ot.call(e));if(function(t){return!("[object String]"!==Mt(t)||St&&"object"==typeof t&&St in t)}(e))return _t(s(String(e)));if(!function(t){return!("[object Date]"!==Mt(t)||St&&"object"==typeof t&&St in t)}(e)&&!function(t){return!("[object RegExp]"!==Mt(t)||St&&"object"==typeof t&&St in t)}(e)){var P=Wt(e,s),w=At?At(e)===Object.prototype:e instanceof Object||e.constructor===Object,E=e instanceof Object?"":"null prototype",x=!w&&St&&Object(e)===e&&St in e?ct.call(Mt(e),8,-1):E?"Object":"",F=(w||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(x||E?"["+st.call(ft.call([],x||[],E||[]),": ")+"] ":"");return 0===P.length?F+"{}":f?F+"{"+Bt(P,f)+"}":F+"{ "+st.call(P,", ")+" }"}return String(e)},qt=Lt("%TypeError%"),Gt=Lt("%WeakMap%",!0),Vt=Lt("%Map%",!0),Ht=zt("WeakMap.prototype.get",!0),Kt=zt("WeakMap.prototype.set",!0),Qt=zt("WeakMap.prototype.has",!0),Jt=zt("Map.prototype.get",!0),Xt=zt("Map.prototype.set",!0),Yt=zt("Map.prototype.has",!0),Zt=function(t,e){for(var r,o=t;null!==(r=o.next);o=r)if(r.key===e)return o.next=r.next,r.next=t.next,t.next=r,r},te=String.prototype.replace,ee=/%20/g,re="RFC3986",oe={default:re,formatters:{RFC1738:function(t){return te.call(t,ee,"+")},RFC3986:function(t){return String(t)}},RFC1738:"RFC1738",RFC3986:re},ne=oe,ie=Object.prototype.hasOwnProperty,ae=Array.isArray,ce=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),pe=function(t,e){for(var r=e&&e.plainObjects?Object.create(null):{},o=0;o<t.length;++o)void 0!==t[o]&&(r[o]=t[o]);return r},le={arrayToObject:pe,assign:function(t,e){return Object.keys(e).reduce((function(t,r){return t[r]=e[r],t}),t)},combine:function(t,e){return[].concat(t,e)},compact:function(t){for(var e=[{obj:{o:t},prop:"o"}],r=[],o=0;o<e.length;++o)for(var n=e[o],i=n.obj[n.prop],a=Object.keys(i),c=0;c<a.length;++c){var p=a[c],l=i[p];"object"==typeof l&&null!==l&&-1===r.indexOf(l)&&(e.push({obj:i,prop:p}),r.push(l))}return function(t){for(;t.length>1;){var e=t.pop(),r=e.obj[e.prop];if(ae(r)){for(var o=[],n=0;n<r.length;++n)void 0!==r[n]&&o.push(r[n]);e.obj[e.prop]=o}}}(e),t},decode:function(t,e,r){var o=t.replace(/\+/g," ");if("iso-8859-1"===r)return o.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(o)}catch(De){return o}},encode:function(t,e,r,o,n){if(0===t.length)return t;var i=t;if("symbol"==typeof t?i=Symbol.prototype.toString.call(t):"string"!=typeof t&&(i=String(t)),"iso-8859-1"===r)return escape(i).replace(/%u[0-9a-f]{4}/gi,(function(t){return"%26%23"+parseInt(t.slice(2),16)+"%3B"}));for(var a="",c=0;c<i.length;++c){var p=i.charCodeAt(c);45===p||46===p||95===p||126===p||p>=48&&p<=57||p>=65&&p<=90||p>=97&&p<=122||n===ne.RFC1738&&(40===p||41===p)?a+=i.charAt(c):p<128?a+=ce[p]:p<2048?a+=ce[192|p>>6]+ce[128|63&p]:p<55296||p>=57344?a+=ce[224|p>>12]+ce[128|p>>6&63]+ce[128|63&p]:(c+=1,p=65536+((1023&p)<<10|1023&i.charCodeAt(c)),a+=ce[240|p>>18]+ce[128|p>>12&63]+ce[128|p>>6&63]+ce[128|63&p])}return a},isBuffer:function(t){return!(!t||"object"!=typeof t||!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t)))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(ae(t)){for(var r=[],o=0;o<t.length;o+=1)r.push(e(t[o]));return r}return e(t)},merge:function t(e,r,o){if(!r)return e;if("object"!=typeof r){if(ae(e))e.push(r);else{if(!e||"object"!=typeof e)return[e,r];(o&&(o.plainObjects||o.allowPrototypes)||!ie.call(Object.prototype,r))&&(e[r]=!0)}return e}if(!e||"object"!=typeof e)return[e].concat(r);var n=e;return ae(e)&&!ae(r)&&(n=pe(e,o)),ae(e)&&ae(r)?(r.forEach((function(r,n){if(ie.call(e,n)){var i=e[n];i&&"object"==typeof i&&r&&"object"==typeof r?e[n]=t(i,r,o):e.push(r)}else e[n]=r})),e):Object.keys(r).reduce((function(e,n){var i=r[n];return ie.call(e,n)?e[n]=t(e[n],i,o):e[n]=i,e}),n)}},ue=function(){var t,e,r,o={assert:function(t){if(!o.has(t))throw new qt("Side channel does not contain "+$t(t))},get:function(o){if(Gt&&o&&("object"==typeof o||"function"==typeof o)){if(t)return Ht(t,o)}else if(Vt){if(e)return Jt(e,o)}else if(r)return function(t,e){var r=Zt(t,e);return r&&r.value}(r,o)},has:function(o){if(Gt&&o&&("object"==typeof o||"function"==typeof o)){if(t)return Qt(t,o)}else if(Vt){if(e)return Yt(e,o)}else if(r)return function(t,e){return!!Zt(t,e)}(r,o);return!1},set:function(o,n){Gt&&o&&("object"==typeof o||"function"==typeof o)?(t||(t=new Gt),Kt(t,o,n)):Vt?(e||(e=new Vt),Xt(e,o,n)):(r||(r={key:{},next:null}),function(t,e,r){var o=Zt(t,e);o?o.value=r:t.next={key:e,next:t.next,value:r}}(r,o,n))}};return o},ye=le,fe=oe,se=Object.prototype.hasOwnProperty,de={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},ge=Array.isArray,me=String.prototype.split,be=Array.prototype.push,he=function(t,e){be.apply(t,ge(e)?e:[e])},ve=Date.prototype.toISOString,Se=fe.default,je={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:ye.encode,encodeValuesOnly:!1,format:Se,formatter:fe.formatters[Se],indices:!1,serializeDate:function(t){return ve.call(t)},skipNulls:!1,strictNullHandling:!1},Ae={},Oe=function t(e,r,o,n,i,a,c,p,l,u,y,f,s,d,g){for(var m,b=e,h=g,v=0,S=!1;void 0!==(h=h.get(Ae))&&!S;){var j=h.get(e);if(v+=1,void 0!==j){if(j===v)throw new RangeError("Cyclic object value");S=!0}void 0===h.get(Ae)&&(v=0)}if("function"==typeof c?b=c(r,b):b instanceof Date?b=u(b):"comma"===o&&ge(b)&&(b=ye.maybeMap(b,(function(t){return t instanceof Date?u(t):t}))),null===b){if(n)return a&&!s?a(r,je.encoder,d,"key",y):r;b=""}if("string"==typeof(m=b)||"number"==typeof m||"boolean"==typeof m||"symbol"==typeof m||"bigint"==typeof m||ye.isBuffer(b)){if(a){var A=s?r:a(r,je.encoder,d,"key",y);if("comma"===o&&s){for(var O=me.call(String(b),","),P="",w=0;w<O.length;++w)P+=(0===w?"":",")+f(a(O[w],je.encoder,d,"value",y));return[f(A)+"="+P]}return[f(A)+"="+f(a(b,je.encoder,d,"value",y))]}return[f(r)+"="+f(String(b))]}var E,x=[];if(void 0===b)return x;if("comma"===o&&ge(b))E=[{value:b.length>0?b.join(",")||null:void 0}];else if(ge(c))E=c;else{var F=Object.keys(b);E=p?F.sort(p):F}for(var k=0;k<E.length;++k){var I=E[k],R="object"==typeof I&&void 0!==I.value?I.value:b[I];if(!i||null!==R){var M=ge(b)?"function"==typeof o?o(r,I):r:r+(l?"."+I:"["+I+"]");g.set(e,v);var N=ue();N.set(Ae,g),he(x,t(R,M,o,n,i,a,c,p,l,u,y,f,s,d,N))}}return x},Pe=le,we=Object.prototype.hasOwnProperty,Ee=Array.isArray,xe={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:Pe.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},Fe=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},ke=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},Ie=function(t,e,r,o){if(t){var n=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,a=r.depth>0&&/(\[[^[\]]*])/.exec(n),c=a?n.slice(0,a.index):n,p=[];if(c){if(!r.plainObjects&&we.call(Object.prototype,c)&&!r.allowPrototypes)return;p.push(c)}for(var l=0;r.depth>0&&null!==(a=i.exec(n))&&l<r.depth;){if(l+=1,!r.plainObjects&&we.call(Object.prototype,a[1].slice(1,-1))&&!r.allowPrototypes)return;p.push(a[1])}return a&&p.push("["+n.slice(a.index)+"]"),function(t,e,r,o){for(var n=o?e:ke(e,r),i=t.length-1;i>=0;--i){var a,c=t[i];if("[]"===c&&r.parseArrays)a=[].concat(n);else{a=r.plainObjects?Object.create(null):{};var p="["===c.charAt(0)&&"]"===c.charAt(c.length-1)?c.slice(1,-1):c,l=parseInt(p,10);r.parseArrays||""!==p?!isNaN(l)&&c!==p&&String(l)===p&&l>=0&&r.parseArrays&&l<=r.arrayLimit?(a=[])[l]=n:a[p]=n:a={0:n}}n=a}return n}(p,e,r,o)}},Re=function(t,e){var r,o=t,n=function(t){if(!t)return je;if(null!==t.encoder&&void 0!==t.encoder&&"function"!=typeof t.encoder)throw new TypeError("Encoder has to be a function.");var e=t.charset||je.charset;if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=fe.default;if(void 0!==t.format){if(!se.call(fe.formatters,t.format))throw new TypeError("Unknown format option provided.");r=t.format}var o=fe.formatters[r],n=je.filter;return("function"==typeof t.filter||ge(t.filter))&&(n=t.filter),{addQueryPrefix:"boolean"==typeof t.addQueryPrefix?t.addQueryPrefix:je.addQueryPrefix,allowDots:void 0===t.allowDots?je.allowDots:!!t.allowDots,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:je.charsetSentinel,delimiter:void 0===t.delimiter?je.delimiter:t.delimiter,encode:"boolean"==typeof t.encode?t.encode:je.encode,encoder:"function"==typeof t.encoder?t.encoder:je.encoder,encodeValuesOnly:"boolean"==typeof t.encodeValuesOnly?t.encodeValuesOnly:je.encodeValuesOnly,filter:n,format:r,formatter:o,serializeDate:"function"==typeof t.serializeDate?t.serializeDate:je.serializeDate,skipNulls:"boolean"==typeof t.skipNulls?t.skipNulls:je.skipNulls,sort:"function"==typeof t.sort?t.sort:null,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:je.strictNullHandling}}(e);"function"==typeof n.filter?o=(0,n.filter)("",o):ge(n.filter)&&(r=n.filter);var i,a=[];if("object"!=typeof o||null===o)return"";i=e&&e.arrayFormat in de?e.arrayFormat:e&&"indices"in e?e.indices?"indices":"repeat":"indices";var c=de[i];r||(r=Object.keys(o)),n.sort&&r.sort(n.sort);for(var p=ue(),l=0;l<r.length;++l){var u=r[l];n.skipNulls&&null===o[u]||he(a,Oe(o[u],u,c,n.strictNullHandling,n.skipNulls,n.encode?n.encoder:null,n.filter,n.sort,n.allowDots,n.serializeDate,n.format,n.formatter,n.encodeValuesOnly,n.charset,p))}var y=a.join(n.delimiter),f=!0===n.addQueryPrefix?"?":"";return n.charsetSentinel&&("iso-8859-1"===n.charset?f+="utf8=%26%2310003%3B&":f+="utf8=%E2%9C%93&"),y.length>0?f+y:""},Me={formats:oe,parse:function(t,e){var r=function(t){if(!t)return xe;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?xe.charset:t.charset;return{allowDots:void 0===t.allowDots?xe.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:xe.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:xe.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:xe.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:xe.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:xe.comma,decoder:"function"==typeof t.decoder?t.decoder:xe.decoder,delimiter:"string"==typeof t.delimiter||Pe.isRegExp(t.delimiter)?t.delimiter:xe.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:xe.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:xe.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:xe.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:xe.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:xe.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var o="string"==typeof t?function(t,e){var r,o={},n=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,i=e.parameterLimit===1/0?void 0:e.parameterLimit,a=n.split(e.delimiter,i),c=-1,p=e.charset;if(e.charsetSentinel)for(r=0;r<a.length;++r)0===a[r].indexOf("utf8=")&&("utf8=%E2%9C%93"===a[r]?p="utf-8":"utf8=%26%2310003%3B"===a[r]&&(p="iso-8859-1"),c=r,r=a.length);for(r=0;r<a.length;++r)if(r!==c){var l,u,y=a[r],f=y.indexOf("]="),s=-1===f?y.indexOf("="):f+1;-1===s?(l=e.decoder(y,xe.decoder,p,"key"),u=e.strictNullHandling?null:""):(l=e.decoder(y.slice(0,s),xe.decoder,p,"key"),u=Pe.maybeMap(ke(y.slice(s+1),e),(function(t){return e.decoder(t,xe.decoder,p,"value")}))),u&&e.interpretNumericEntities&&"iso-8859-1"===p&&(u=Fe(u)),y.indexOf("[]=")>-1&&(u=Ee(u)?[u]:u),we.call(o,l)?o[l]=Pe.combine(o[l],u):o[l]=u}return o}(t,r):t,n=r.plainObjects?Object.create(null):{},i=Object.keys(o),a=0;a<i.length;++a){var c=i[a],p=Ie(c,o[c],r,"string"==typeof t);n=Pe.merge(n,p,r)}return!0===r.allowSparse?n:Pe.compact(n)},stringify:Re},Ne=async(t="",o={},i="fang",a="get",c="form")=>{const p={"Content-Type":"",Authorization:"","X-SDKClient-API-Key":""};console.log(o,a);const l={method:a.toLowerCase(),baseURL:window.location.href.includes("third")?e.mai:t.includes("pmsecurity")?e.third:e[i],url:t,timeout:r};return window.location.href.includes("pingan")&&(p.Authorization=`Bearer ${o.access_session}`,o.channel="pinganhealth",delete o.access_session),window.location.href.includes("appId")&&(window.location.href.includes("access_session")?(p.Authorization=`Bearer ${o.access_session}`,p["X-SDKClient-API-Key"]=o.X_SDKClient_API_Key):p["X-SDKClient-API-Key"]=o.X_SDKClient_API_Key),"get"===a?(l.params=o,l.paramsSerializer=t=>Me.stringify(t,{arrayFormat:"brackets"})):(l.data=o,p["Content-Type"]="application/json;charset=UTF-8"),l.headers=p,n(l).then((t=>t.data)).catch((()=>({status_code:"-1",msg:"网络连接错误"})))};t("h",(t=>Ne("/patient?method=userDetail",t,"fang"))),t("i",(t=>Ne("/uidByUnionid",t,"tycenter","post"))),t("g",(t=>Ne("/mai?method=getCombinedMai",t,"fang"))),t("m",(t=>Ne("/hjzy/pulse/detail",t,"tycenter"))),t("c",(t=>Ne("/v3/getMaiDetailByThird",t))),t("s",(t=>Ne("/pmsecurity/report/getConsumerTonic",t))),t("f",(t=>Ne("/pmsecurity/report/auth",t))),t("e",(t=>Ne("/pmsecurity/report/getCombinedMai",t))),t("d",(t=>Ne("/pmsecurity/report/getMaiReportEN",t))),t("j",(t=>Ne("/getCombinedMaiByMobilePhone",t,"tycenter"))),t("t",(t=>Ne("/pmsecurity/sdk/app/check",t))),t("v",(t=>Ne("/VMFilter/article/query/detail",t,"fang"))),t("y",(t=>Ne("/VMFilter/meal/query/detail",t,"fang"))),t("x",(t=>Ne("/VMFilter/treatmentCase/query/detail",t,"fang"))),t("w",(t=>Ne("/VMFilter/article/read",t,"fang","post"))),t("k",(t=>Ne("/mai?method=getCtmdSymptomTypeList",t,"fang"))),t("u",(t=>Ne("/mai?method=canProvideCtmdResult",t,"fang"))),t("b",(t=>Ne("/heatmap/data",t,"tycenter"))),t("r",(t=>Ne("heatmap/v3/res/cgc",t,"tycenter"))),t("a",(t=>Ne("/heatmap/getPlus3DData",t,"tycenter"))),t("l",(t=>Ne("/jsy/inquiry/detail",t,"tycenter"))),t("o",(t=>Ne("/hjzy/img/calibrate",t,"tycenter"))),t("p",(t=>Ne("/hjzy/pulse/calibration",t,"tycenter","post"))),t("q",(t=>Ne("/hjzy/confirm/calibrate",t,"tycenter","post"))),t("n",(t=>Ne("/hjzy/patient/record",t,"tycenter")))}}}));
|