@alicloud/alfa-react 1.4.40-alpha.0 → 1.5.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. package/LICENSE +21 -0
  2. package/es/components/ErrorBoundary/ErrorPanel.js +0 -2
  3. package/es/components/ErrorBoundary/index.js +7 -19
  4. package/es/components/Loading/Paragraph.js +9 -25
  5. package/es/components/Loading/Skeleton.js +14 -46
  6. package/es/components/Loading/Title.js +3 -8
  7. package/es/components/Loading/index.js +0 -2
  8. package/es/createAlfaApp.js +6 -10
  9. package/es/createAlfaWidget.js +16 -28
  10. package/es/createApplication.js +154 -188
  11. package/es/hooks/beforeLoadHook.js +60 -81
  12. package/es/hooks/beforeResolveHook.js +24 -29
  13. package/es/index.js +2 -2
  14. package/es/types/base.js +0 -9
  15. package/es/utils/counter.js +1 -3
  16. package/es/utils/getConsoleConfig.js +13 -32
  17. package/es/utils/getConsoleGlobal.js +6 -13
  18. package/es/utils/index.js +2 -1
  19. package/es/version.js +1 -1
  20. package/es/widget/emitter.js +2 -11
  21. package/es/widget/env.js +2 -4
  22. package/es/widget/getWidgetConfigById.js +19 -27
  23. package/es/widget/getWidgetDeps.js +104 -130
  24. package/es/widget/getWidgetVersionById.js +79 -106
  25. package/es/widget.js +45 -58
  26. package/lib/addGlobalRequestInterceptor.js +0 -2
  27. package/lib/components/ErrorBoundary/ErrorPanel.js +0 -5
  28. package/lib/components/ErrorBoundary/index.js +7 -25
  29. package/lib/components/Loading/Paragraph.js +9 -32
  30. package/lib/components/Loading/Skeleton.js +14 -60
  31. package/lib/components/Loading/Title.js +3 -14
  32. package/lib/components/Loading/index.js +0 -6
  33. package/lib/createAlfaApp.js +6 -24
  34. package/lib/createAlfaWidget.js +16 -45
  35. package/lib/createApplication.js +154 -199
  36. package/lib/hooks/beforeLoadHook.js +60 -88
  37. package/lib/hooks/beforeResolveHook.js +21 -33
  38. package/lib/index.js +0 -9
  39. package/lib/types/base.js +0 -14
  40. package/lib/utils/counter.js +1 -4
  41. package/lib/utils/getConsoleConfig.js +12 -37
  42. package/lib/utils/getConsoleGlobal.js +6 -18
  43. package/lib/utils/index.js +2 -5
  44. package/lib/version.js +1 -1
  45. package/lib/widget/emitter.js +2 -16
  46. package/lib/widget/env.js +2 -6
  47. package/lib/widget/getWidgetConfigById.js +19 -36
  48. package/lib/widget/getWidgetDeps.js +103 -146
  49. package/lib/widget/getWidgetVersionById.js +79 -113
  50. package/lib/widget/index.js +0 -8
  51. package/lib/widget.js +45 -72
  52. package/package.json +22 -19
  53. package/types/components/ErrorBoundary/index.d.ts +1 -1
  54. package/types/components/Loading/Paragraph.d.ts +1 -1
  55. package/types/components/Loading/Skeleton.d.ts +2 -2
  56. package/types/createAlfaApp.d.ts +7 -1
  57. package/types/createAlfaWidget.d.ts +2 -2
  58. package/types/createApplication.d.ts +1 -0
  59. package/types/types/index.d.ts +5 -5
  60. package/types/utils/getConsoleConfig.d.ts +4 -2
  61. package/types/utils/getConsoleGlobal.d.ts +3 -1
  62. package/types/version.d.ts +1 -1
  63. package/types/widget/getWidgetDeps.d.ts +1 -1
  64. package/dist/index.js +0 -21
  65. package/es/app.js +0 -194
  66. package/es/hooks/afterLoadHook.js +0 -69
  67. package/lib/app.d.ts +0 -3
  68. package/lib/app.js +0 -223
  69. package/lib/components/ErrorBoundary/ErrorPanel.d.ts +0 -6
  70. package/lib/components/ErrorBoundary/index.d.ts +0 -17
  71. package/lib/components/Loading/Paragraph.d.ts +0 -14
  72. package/lib/components/Loading/Skeleton.d.ts +0 -19
  73. package/lib/components/Loading/Title.d.ts +0 -8
  74. package/lib/components/Loading/index.d.ts +0 -4
  75. package/lib/components/Loading/style.d.ts +0 -2
  76. package/lib/createAlfaApp.d.ts +0 -7
  77. package/lib/createAlfaWidget.d.ts +0 -4
  78. package/lib/createApplication.d.ts +0 -12
  79. package/lib/hooks/afterLoadHook.d.ts +0 -3
  80. package/lib/hooks/afterLoadHook.js +0 -84
  81. package/lib/hooks/beforeLoadHook.d.ts +0 -3
  82. package/lib/hooks/beforeResolveHook.d.ts +0 -3
  83. package/lib/index.d.ts +0 -4
  84. package/lib/types/base.d.ts +0 -11
  85. package/lib/types/index.d.ts +0 -91
  86. package/lib/utils/getConsoleConfig.d.ts +0 -1
  87. package/lib/utils/getConsoleGlobal.d.ts +0 -1
  88. package/lib/utils/index.d.ts +0 -1
  89. package/lib/version.d.ts +0 -1
  90. package/lib/widget/emitter.d.ts +0 -8
  91. package/lib/widget/env.d.ts +0 -4
  92. package/lib/widget/getWidgetConfigById.d.ts +0 -2
  93. package/lib/widget/getWidgetDeps.d.ts +0 -2
  94. package/lib/widget/getWidgetVersionById.d.ts +0 -6
  95. package/lib/widget/index.d.ts +0 -4
  96. package/lib/widget.d.ts +0 -2
package/dist/index.js DELETED
@@ -1,21 +0,0 @@
1
- !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react"),require("react-dom"),require("prop-types")):"function"==typeof define&&define.amd?define(["react","react-dom","prop-types"],e):"object"==typeof exports?exports.aliOSKernal=e(require("react"),require("react-dom"),require("prop-types")):t.aliOSKernal=e(t.React,t.ReactDOM,t.PropTypes)}(window,(function(t,e,n){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/",n(n.s=107)}([function(t,e,n){var r=n(108)();t.exports=r;try{regeneratorRuntime=r}catch(o){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},function(t,e,n){"use strict";function r(t,e,n,r,o,i,a){try{var u=t[i](a),s=u.value}catch(c){return void n(c)}u.done?e(s):Promise.resolve(s).then(r,o)}function o(t){return function(){var e=this,n=arguments;return new Promise((function(o,i){var a=t.apply(e,n);function u(t){r(a,o,i,u,s,"next",t)}function s(t){r(a,o,i,u,s,"throw",t)}u(void 0)}))}}n.d(e,"a",(function(){return o}))},function(e,n){e.exports=t},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function o(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}n.d(e,"a",(function(){return o}))},function(t,e,n){"use strict";n.d(e,"d",(function(){return s})),n.d(e,"f",(function(){return c})),n.d(e,"h",(function(){return l})),n.d(e,"b",(function(){return f})),n.d(e,"g",(function(){return p})),n.d(e,"a",(function(){return h})),n.d(e,"c",(function(){return d})),n.d(e,"e",(function(){return v}));var r=n(1),o=n(0),i=n.n(o),a=n(14),u=n.n(a),s=function(){var t=Object(r.a)(i.a.mark((function t(e){var n;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,u.a.get(e);case 3:n=t.sent,t.next=11;break;case 6:return t.prev=6,t.t0=t.catch(0),t.next=10,u.a.get(e);case 10:n=t.sent;case 11:if(200!==n.status){t.next=13;break}return t.abrupt("return",n.data);case 13:throw n;case 14:case"end":return t.stop()}}),t,null,[[0,6]])})));return function(e){return t.apply(this,arguments)}}(),c=function(){var t=Object(r.a)(i.a.mark((function t(e,n){return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e){t.next=2;break}return t.abrupt("return");case 2:e instanceof Array?Promise.all(e.map((function(t){return t(n)}))):e(n);case 3:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}();function l(t){if(!t.bootstrap&&!t.mount&&!t.unmount)throw new Error("The app ".concat(t.name,"'s export is invalid, you should export bootstrap, mount, unmount"))}function f(t,e){return t=Array.isArray(t)?t:[t],0===t.length&&(t=[function(){return Promise.resolve()}]),function(n){return new Promise((function(r,o){!function i(a){var u=t[a](n);!function(t){return t&&"function"==typeof t.then&&"function"==typeof t.catch}(u)?o("".concat(e," at index ").concat(a," did not return a promise")):u.then((function(){a===t.length-1?r():i(a+1)})).catch(o)}(0)}))}}var p=function(t){return JSON.parse(JSON.stringify(t))},h=function(t){return t.default?t.default:t},d=function(t,e){return function(t,e){var n=t;-1!==e.indexOf("dev.g.alicdn.com")&&(n=t.replace("//g.alicdn.com","//dev.g.alicdn.com"));var r=new URL(n,e);return r.toString()}(t,e)},v=function(t){try{var e=new URL(t);e.pathname=(e.pathname||"").split("/").slice(0,-1).join("/")}catch(n){return"/"}}},function(t,e,n){"use strict";var r=n(53),o=Object.prototype.toString;function i(t){return"[object Array]"===o.call(t)}function a(t){return void 0===t}function u(t){return null!==t&&"object"==typeof t}function s(t){return"[object Function]"===o.call(t)}function c(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),i(t))for(var n=0,r=t.length;n<r;n++)e.call(null,t[n],n,t);else for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.call(null,t[o],o,t)}t.exports={isArray:i,isArrayBuffer:function(t){return"[object ArrayBuffer]"===o.call(t)},isBuffer:function(t){return null!==t&&!a(t)&&null!==t.constructor&&!a(t.constructor)&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)},isFormData:function(t){return"undefined"!=typeof FormData&&t instanceof FormData},isArrayBufferView:function(t){var e;return e="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer,e},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:u,isUndefined:a,isDate:function(t){return"[object Date]"===o.call(t)},isFile:function(t){return"[object File]"===o.call(t)},isBlob:function(t){return"[object Blob]"===o.call(t)},isFunction:s,isStream:function(t){return u(t)&&s(t.pipe)},isURLSearchParams:function(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:c,merge:function t(){var e={};function n(n,r){"object"==typeof e[r]&&"object"==typeof n?e[r]=t(e[r],n):e[r]=n}for(var r=0,o=arguments.length;r<o;r++)c(arguments[r],n);return e},deepMerge:function t(){var e={};function n(n,r){"object"==typeof e[r]&&"object"==typeof n?e[r]=t(e[r],n):e[r]="object"==typeof n?t({},n):n}for(var r=0,o=arguments.length;r<o;r++)c(arguments[r],n);return e},extend:function(t,e,n){return c(e,(function(e,o){t[o]=n&&"function"==typeof e?r(e,n):e})),t},trim:function(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}}},function(t,e,n){"use strict";var r=n(73),o=Object.prototype.toString;function i(t){return"[object Array]"===o.call(t)}function a(t){return void 0===t}function u(t){return null!==t&&"object"==typeof t}function s(t){if("[object Object]"!==o.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function c(t){return"[object Function]"===o.call(t)}function l(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),i(t))for(var n=0,r=t.length;n<r;n++)e.call(null,t[n],n,t);else for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.call(null,t[o],o,t)}t.exports={isArray:i,isArrayBuffer:function(t){return"[object ArrayBuffer]"===o.call(t)},isBuffer:function(t){return null!==t&&!a(t)&&null!==t.constructor&&!a(t.constructor)&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)},isFormData:function(t){return"undefined"!=typeof FormData&&t instanceof FormData},isArrayBufferView:function(t){var e;return e="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer,e},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:u,isPlainObject:s,isUndefined:a,isDate:function(t){return"[object Date]"===o.call(t)},isFile:function(t){return"[object File]"===o.call(t)},isBlob:function(t){return"[object Blob]"===o.call(t)},isFunction:c,isStream:function(t){return u(t)&&c(t.pipe)},isURLSearchParams:function(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:l,merge:function t(){var e={};function n(n,r){s(e[r])&&s(n)?e[r]=t(e[r],n):s(n)?e[r]=t({},n):i(n)?e[r]=n.slice():e[r]=n}for(var r=0,o=arguments.length;r<o;r++)l(arguments[r],n);return e},extend:function(t,e,n){return l(e,(function(e,o){t[o]=n&&"function"==typeof e?r(e,n):e})),t},trim:function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")},stripBOM:function(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}}},function(t,e){var n,r,o=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function u(t){if(n===setTimeout)return setTimeout(t,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(t){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(t){r=a}}();var s,c=[],l=!1,f=-1;function p(){l&&s&&(l=!1,s.length?c=s.concat(c):f=-1,c.length&&h())}function h(){if(!l){var t=u(p);l=!0;for(var e=c.length;e;){for(s=c,c=[];++f<e;)s&&s[f].run();f=-1,e=c.length}s=null,l=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function d(t,e){this.fun=t,this.array=e}function v(){}o.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];c.push(new d(t,e)),1!==c.length||l||u(h)},d.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=v,o.addListener=v,o.once=v,o.off=v,o.removeListener=v,o.removeAllListeners=v,o.emit=v,o.prependListener=v,o.prependOnceListener=v,o.listeners=function(t){return[]},o.binding=function(t){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(t){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(t,e,n){t.exports=n(162)},function(t,e,n){t.exports=n(126)},function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return c}));var r=n(1),o=n(0),i=n.n(o),a=n(12),u=n(28),s=function(e,n){var r="https://cws.alicdn.com/Release/alfa/".concat(e,"/release.json"),o="https://cws2.alicdn.com/Prepub/alfa/".concat(e,"/release.json");switch(n){case"local":return t.env.ALFA_RELEASE_URL||o;case"daily":case"pre":return o;case"prod":return r}},c=function(){var t=Object(r.a)(i.a.mark((function t(e){var n,r,o,c;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.logger,r=e.name,o=Object(u.a)(e.env),t.prev=2,t.next=5,a.a.getRemote(s(r,o));case 5:if(c=t.sent.data,c){t.next=8;break}throw new Error("releaseConfig is null");case 8:return(null==n?void 0:n.setContext)&&n.setContext({release:JSON.stringify(c)}),t.abrupt("return",c);case 12:t.prev=12,t.t0=t.catch(2),(null==n?void 0:n.error)&&n.error({E_CODE:"GetReleaseError",E_MSG:t.t0.message});case 15:return t.abrupt("return",{});case 16:case"end":return t.stop()}}),t,null,[[2,12]])})));return function(e){return t.apply(this,arguments)}}()}).call(this,n(8))},function(t,e,n){"use strict";var r=n(1),o=n(3),i=n(4),a=n(0),u=n.n(a),s=n(17),c=function(t){return"function"==typeof(null==t?void 0:t.then)},l=function(){function t(){Object(o.a)(this,t),this.store={}}var e;return Object(i.a)(t,[{key:"getRemote",value:(e=Object(r.a)(u.a.mark((function t(e){var n,r,o;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e){t.next=2;break}throw new Error("url is empty");case 2:if(n=this.store[e],!n){t.next=10;break}if(!c(n)){t.next=9;break}return t.next=7,n;case 7:return r=t.sent,t.abrupt("return",r);case 9:return t.abrupt("return",n);case 10:return this.store[e]=s.a.get(e),t.next=13,this.store[e];case 13:return o=t.sent,null!=o&&o.data&&(this.store[e]=o),t.abrupt("return",o);case 16:case"end":return t.stop()}}),t,this)}))),function(t){return e.apply(this,arguments)})},{key:"get",value:function(t){return this.store[t]}},{key:"set",value:function(t,e){this.store[t]=e}},{key:"clear",value:function(){this.store={}}}],[{key:"create",value:function(){return new this}}]),t}();e.a=l.create()},function(t,e,n){"use strict";(function(t){n.d(e,"b",(function(){return u})),n.d(e,"a",(function(){return c})),n.d(e,"c",(function(){return l}));var r="https://cws.aliyun-inc.com/release.json",o="https://cws.aliyun-inc.com/Release/pkgs/${id}/config.json",i="https://g.alicdn.com/${id}/${version}/index.js",a="https://dev.g.alicdn.com/${id}/${version}/index.js",u={local:{releaseUrl:t.env.ALFA_RELEASE_URL||r,configUrl:o,resourceUrl:a},daily:{releaseUrl:r,configUrl:o,resourceUrl:a},pre:{releaseUrl:r,configUrl:o,resourceUrl:a},prod:{releaseUrl:"https://cws.alicdn.com/release.json",configUrl:"https://cws.alicdn.com/Release/pkgs/${id}/config.json",resourceUrl:i}},s="https://cws2.alicdn.com/Prepub/pkgs/${id}/release.json",c={local:{releaseUrl:t.env.ALFA_RELEASE_URL||s,configUrl:o,resourceUrl:a},daily:{releaseUrl:s,configUrl:o,resourceUrl:a},pre:{releaseUrl:s,configUrl:o,resourceUrl:a},prod:{releaseUrl:"https://cws.alicdn.com/Release/pkgs/${id}/release.json",configUrl:"https://cws.alicdn.com/Release/pkgs/${id}/config.json",resourceUrl:i}},l=function(){var t;return(null===(t=null===window||void 0===window?void 0:window.ALIYUN_CONSOLE_CONFIG)||void 0===t?void 0:t.fEnv)||"prod"}}).call(this,n(8))},function(t,e,n){t.exports=n(110)},function(t,e,n){var r=n(45),o=n(180),i=n(181),a=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?o(t):i(t)}},function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},function(t,e,n){"use strict";var r=n(9),o=n.n(r),i=n(1),a=n(0),u=n.n(a);function s(t){return c.apply(this,arguments)}function c(){return c=Object(i.a)(u.a.mark((function t(e){var n,r,i;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(o.a.isAxiosError(e)){t.next=2;break}throw e;case 2:return r=e.config,i={status:404,statusText:"NetworkError",headers:null==e||null===(n=e.response)||void 0===n?void 0:n.headers,config:r,data:null},t.prev=4,t.next=7,o()(r);case 7:i=t.sent,t.next=12;break;case 10:t.prev=10,t.t0=t.catch(4);case 12:return t.abrupt("return",i);case 13:case"end":return t.stop()}}),t,null,[[4,10]])}))),c.apply(this,arguments)}function l(t,e){return!!(t&&e&&"[object Object]"===Object.prototype.toString.call(e)&&Object.keys(e).length>0&&(function(t,e){return!!(/\.manifest\.json$/.exec(t)&&e&&e.name&&e.entrypoints&&e.resources)}(t,e)||function(t,e){var n=new URL(t).pathname;if(!e)return!1;if("/release.json"===n)return Object.keys(e||{}).length>0;if(/@ali\/widget-[\w-]+\/release\.json$/.exec(n))return Object.keys((null==e?void 0:e.versions)||{}).length>0;if(/\/release\.json$/.exec(n)&&e){var r,o,i=null===(r=e["dist-tags"])||void 0===r?void 0:r.latest;if(i&&null!==(o=e.versions)&&void 0!==o&&o[i].entry)return!0}return!1}(t,e)||function(t,e){return/@ali\/widget-[\w-]+\/config\.json$/.exec(t)?"features"in e&&"locales"in e&&"links"in e:!(!/\/config\.json$/.exec(t)||!e)&&("ALL_CHANNEL_LINKS"in e&&"ALL_CHANNEL_FEATURE_STATUS"in e&&"ALL_FEATURE_STATUS"in e)}(t,e)||function(t){return!!/\/(zh_CN|zh_TW|ja_JP|en_US)/.exec(t)}(t)))}function f(){return f=Object(i.a)(u.a.mark((function t(e){var n,r,i,a,s;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.data,r=e.config,i=r.url,!l(i,n)){t.next=6;break}return t.abrupt("return",e);case 6:return r.url=null==i?void 0:i.replace(/:\/\/cws\.alicdn\.com\//,"://cws2.alicdn.com/"),t.next=9,o()(r);case 9:if(a=t.sent,!l(i,a.data)){t.next=12;break}return t.abrupt("return",a);case 12:throw s=new Error,s.message="responseDataIllegal",s.code="0",s.config=r,s.response=e,s;case 18:case"end":return t.stop()}}),t)}))),f.apply(this,arguments)}var p=o.a.create();p.interceptors.response.use(void 0,s),p.interceptors.response.use((function(t){return f.apply(this,arguments)}),void 0),p.interceptors.response.use(void 0,s);e.a=p},function(t,e,n){var r,o;
2
- /*!
3
- Copyright (c) 2018 Jed Watson.
4
- Licensed under the MIT License (MIT), see
5
- http://jedwatson.github.io/classnames
6
- */!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var t=[],e=0;e<arguments.length;e++){var r=arguments[e];if(r){var o=typeof r;if("string"===o||"number"===o)t.push(r);else if(Array.isArray(r)){if(r.length){var a=i.apply(null,r);a&&t.push(a)}}else if("object"===o)if(r.toString===Object.prototype.toString)for(var u in r)n.call(r,u)&&r[u]&&t.push(u);else t.push(r.toString())}}return t.join(" ")}t.exports?(i.default=i,t.exports=i):(r=[],o=function(){return i}.apply(e,r),void 0===o||(t.exports=o))}()},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"==typeof window&&(n=window)}t.exports=n},function(t,e){e.getArg=function(t,e,n){if(e in t)return t[e];if(3===arguments.length)return n;throw new Error('"'+e+'" is a required argument.')};var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,r=/^data:.+\,.+$/;function o(t){var e=t.match(n);return e?{scheme:e[1],auth:e[2],host:e[3],port:e[4],path:e[5]}:null}function i(t){var e="";return t.scheme&&(e+=t.scheme+":"),e+="//",t.auth&&(e+=t.auth+"@"),t.host&&(e+=t.host),t.port&&(e+=":"+t.port),t.path&&(e+=t.path),e}function a(t){var n=t,r=o(t);if(r){if(!r.path)return t;n=r.path}for(var a,u=e.isAbsolute(n),s=n.split(/\/+/),c=0,l=s.length-1;l>=0;l--)a=s[l],"."===a?s.splice(l,1):".."===a?c++:c>0&&(""===a?(s.splice(l+1,c),c=0):(s.splice(l,2),c--));return n=s.join("/"),""===n&&(n=u?"/":"."),r?(r.path=n,i(r)):n}function u(t,e){""===t&&(t="."),""===e&&(e=".");var n=o(e),u=o(t);if(u&&(t=u.path||"/"),n&&!n.scheme)return u&&(n.scheme=u.scheme),i(n);if(n||e.match(r))return e;if(u&&!u.host&&!u.path)return u.host=e,i(u);var s="/"===e.charAt(0)?e:a(t.replace(/\/+$/,"")+"/"+e);return u?(u.path=s,i(u)):s}e.urlParse=o,e.urlGenerate=i,e.normalize=a,e.join=u,e.isAbsolute=function(t){return"/"===t.charAt(0)||n.test(t)},e.relative=function(t,e){""===t&&(t="."),t=t.replace(/\/$/,"");for(var n=0;0!==e.indexOf(t+"/");){var r=t.lastIndexOf("/");if(r<0)return e;if(t=t.slice(0,r),t.match(/^([^\/]+:\/)?\/*$/))return e;++n}return Array(n+1).join("../")+e.substr(t.length+1)};var s,c=(s=Object.create(null),!("__proto__"in s));function l(t){return t}function f(t){if(!t)return!1;var e=t.length;if(e<9)return!1;if(95!==t.charCodeAt(e-1)||95!==t.charCodeAt(e-2)||111!==t.charCodeAt(e-3)||116!==t.charCodeAt(e-4)||111!==t.charCodeAt(e-5)||114!==t.charCodeAt(e-6)||112!==t.charCodeAt(e-7)||95!==t.charCodeAt(e-8)||95!==t.charCodeAt(e-9))return!1;for(var n=e-10;n>=0;n--)if(36!==t.charCodeAt(n))return!1;return!0}function p(t,e){return t===e?0:null===t?1:null===e?-1:t>e?1:-1}e.toSetString=c?l:function(t){return f(t)?"$"+t:t},e.fromSetString=c?l:function(t){return f(t)?t.slice(1):t},e.compareByOriginalPositions=function(t,e,n){var r=p(t.source,e.source);return 0!==r?r:(r=t.originalLine-e.originalLine,0!==r?r:(r=t.originalColumn-e.originalColumn,0!==r||n?r:(r=t.generatedColumn-e.generatedColumn,0!==r?r:(r=t.generatedLine-e.generatedLine,0!==r?r:p(t.name,e.name)))))},e.compareByGeneratedPositionsDeflated=function(t,e,n){var r=t.generatedLine-e.generatedLine;return 0!==r?r:(r=t.generatedColumn-e.generatedColumn,0!==r||n?r:(r=p(t.source,e.source),0!==r?r:(r=t.originalLine-e.originalLine,0!==r?r:(r=t.originalColumn-e.originalColumn,0!==r?r:p(t.name,e.name)))))},e.compareByGeneratedPositionsInflated=function(t,e){var n=t.generatedLine-e.generatedLine;return 0!==n?n:(n=t.generatedColumn-e.generatedColumn,0!==n?n:(n=p(t.source,e.source),0!==n?n:(n=t.originalLine-e.originalLine,0!==n?n:(n=t.originalColumn-e.originalColumn,0!==n?n:p(t.name,e.name)))))},e.parseSourceMapInput=function(t){return JSON.parse(t.replace(/^\)]}'[^\n]*\n/,""))},e.computeSourceURL=function(t,e,n){if(e=e||"",t&&("/"!==t[t.length-1]&&"/"!==e[0]&&(t+="/"),e=t+e),n){var r=o(n);if(!r)throw new Error("sourceMapURL could not be parsed");if(r.path){var s=r.path.lastIndexOf("/");s>=0&&(r.path=r.path.substring(0,s+1))}e=u(i(r),e)}return a(e)}},function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return gt})),n.d(e,"b",(function(){return W})),n.d(e,"c",(function(){return kt}));var r=Object.freeze({__proto__:null,get start(){return kt},get ensureJQuerySupport(){return at},get setBootstrapMaxTime(){return q},get setMountMaxTime(){return V},get setUnmountMaxTime(){return K},get setUnloadMaxTime(){return J},get registerApplication(){return yt},get unregisterApplication(){return bt},get getMountedApps(){return vt},get getAppStatus(){return mt},get unloadApplication(){return Ot},get checkActivityFunctions(){return wt},get getAppNames(){return gt},get pathToActiveWhen(){return xt},get navigateToUrl(){return nt},get triggerAppChange(){return Ct},get addErrorHandler(){return l},get removeErrorHandler(){return f},get mountRootParcel(){return W},get NOT_LOADED(){return d},get LOADING_SOURCE_CODE(){return v},get NOT_BOOTSTRAPPED(){return g},get BOOTSTRAPPING(){return m},get NOT_MOUNTED(){return y},get MOUNTING(){return w},get UPDATING(){return O},get LOAD_ERROR(){return _},get MOUNTED(){return b},get UNMOUNTING(){return E},get SKIP_BECAUSE_BROKEN(){return x}});function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var a=("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{}).CustomEvent,u=function(){try{var t=new a("cat",{detail:{foo:"bar"}});return"cat"===t.type&&"bar"===t.detail.foo}catch(t){}return!1}()?a:"undefined"!=typeof document&&"function"==typeof document.createEvent?function(t,e){var n=document.createEvent("CustomEvent");return e?n.initCustomEvent(t,e.bubbles,e.cancelable,e.detail):n.initCustomEvent(t,!1,!1,void 0),n}:function(t,e){var n=document.createEventObject();return n.type=t,e?(n.bubbles=Boolean(e.bubbles),n.cancelable=Boolean(e.cancelable),n.detail=e.detail):(n.bubbles=!1,n.cancelable=!1,n.detail=void 0),n},s=[];function c(t,e,n){var r=h(t,e,n);s.length?s.forEach((function(t){return t(r)})):setTimeout((function(){throw r}))}function l(t){if("function"!=typeof t)throw Error(p(28,!1));s.push(t)}function f(t){if("function"!=typeof t)throw Error(p(29,!1));var e=!1;return s=s.filter((function(n){var r=n===t;return e=e||r,!r})),e}function p(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return"single-spa minified message #".concat(t,": ").concat(e?e+" ":"","See https://single-spa.js.org/error/?code=").concat(t).concat(r.length?"&arg=".concat(r.join("&arg=")):"")}function h(t,e,n){var r,o="".concat(L(e)," '").concat(j(e),"' died in status ").concat(e.status,": ");if(t instanceof Error){try{t.message=o+t.message}catch(t){}r=t}else{console.warn(p(30,!1,e.status,j(e)));try{r=Error(o+JSON.stringify(t))}catch(e){r=t}}return r.appOrParcelName=j(e),e.status=n,r}var d="NOT_LOADED",v="LOADING_SOURCE_CODE",g="NOT_BOOTSTRAPPED",m="BOOTSTRAPPING",y="NOT_MOUNTED",w="MOUNTING",b="MOUNTED",O="UPDATING",E="UNMOUNTING",_="LOAD_ERROR",x="SKIP_BECAUSE_BROKEN";function S(t){return t.status===b}function A(t){try{return t.activeWhen(window.location)}catch(o){return c(o,t,x),!1}}function j(t){return t.name}function C(t){return Boolean(t.unmountThisParcel)}function L(t){return C(t)?"parcel":"application"}function P(){for(var t=arguments.length-1;t>0;t--)for(var e in arguments[t])"__proto__"!==e&&(arguments[t-1][e]=arguments[t][e]);return arguments[0]}function R(t,e){for(var n=0;n<t.length;n++)if(e(t[n]))return t[n];return null}function k(t){return t&&("function"==typeof t||(e=t,Array.isArray(e)&&!R(e,(function(t){return"function"!=typeof t}))));var e}function N(t,e){var n=t[e]||[];0===(n=Array.isArray(n)?n:[n]).length&&(n=[function(){return Promise.resolve()}]);var r=L(t),o=j(t);return function(t){return n.reduce((function(n,i,a){return n.then((function(){var n=i(t);return T(n)?n:Promise.reject(p(15,!1,r,o,e,a))}))}),Promise.resolve())}}function T(t){return t&&"function"==typeof t.then&&"function"==typeof t.catch}function M(t,e){return Promise.resolve().then((function(){return t.status!==g?t:(t.status=m,t.bootstrap?Z(t,"bootstrap").then(n).catch((function(n){if(e)throw h(n,t,x);return c(n,t,x),t})):Promise.resolve().then(n))}));function n(){return t.status=y,t}}function U(t,e){return Promise.resolve().then((function(){if(t.status!==b)return t;t.status=E;var n=Object.keys(t.parcels).map((function(e){return t.parcels[e].unmountThisParcel()}));return Promise.all(n).then(r,(function(n){return r().then((function(){var r=Error(n.message);if(e)throw h(r,t,x);c(r,t,x)}))})).then((function(){return t}));function r(){return Z(t,"unmount").then((function(){t.status=y})).catch((function(n){if(e)throw h(n,t,x);c(n,t,x)}))}}))}var I=!1,D=!1;function B(t,e){return Promise.resolve().then((function(){return t.status!==y?t:(I||(window.dispatchEvent(new u("single-spa:before-first-mount")),I=!0),Z(t,"mount").then((function(){return t.status=b,D||(window.dispatchEvent(new u("single-spa:first-mount")),D=!0),t})).catch((function(n){return t.status=b,U(t,!0).then(r,r);function r(){if(e)throw h(n,t,x);return c(n,t,x),t}})))}))}var F=0,G={parcels:{}};function W(){return z.apply(G,arguments)}function z(t,e){var n=this;if(!t||"object"!==o(t)&&"function"!=typeof t)throw Error(p(2,!1));if(t.name&&"string"!=typeof t.name)throw Error(p(3,!1,o(t.name)));if("object"!==o(e))throw Error(p(4,!1,name,o(e)));if(!e.domElement)throw Error(p(5,!1,name));var r,i=F++,a="function"==typeof t,u=a?t:function(){return Promise.resolve(t)},s={id:i,parcels:{},status:a?v:g,customProps:e,parentName:j(n),unmountThisParcel:function(){return m.then((function(){if(s.status!==b)throw Error(p(6,!1,name,s.status));return U(s,!0)})).then((function(t){return s.parentName&&delete n.parcels[s.id],t})).then((function(t){return l(t),t})).catch((function(t){throw s.status=x,f(t),t}))}};n.parcels[i]=s;var c=u();if(!c||"function"!=typeof c.then)throw Error(p(7,!1));var l,f,d=(c=c.then((function(t){if(!t)throw Error(p(8,!1));var e=t.name||"parcel-".concat(i);if(Object.prototype.hasOwnProperty.call(t,"bootstrap")&&!k(t.bootstrap))throw Error(p(9,!1,e));if(!k(t.mount))throw Error(p(10,!1,e));if(!k(t.unmount))throw Error(p(11,!1,e));if(t.update&&!k(t.update))throw Error(p(12,!1,e));var n=N(t,"bootstrap"),o=N(t,"mount"),a=N(t,"unmount");s.status=g,s.name=e,s.bootstrap=n,s.mount=o,s.unmount=a,s.timeouts=X(t.timeouts),t.update&&(s.update=N(t,"update"),r.update=function(t){return s.customProps=t,H(function(t){return Promise.resolve().then((function(){if(t.status===b)return t.status=O,Z(t,"update").then((function(){return t.status=b,t})).catch((function(e){throw h(e,t,x)}))}))}(s))})}))).then((function(){return M(s,!0)})),m=d.then((function(){return B(s,!0)})),w=new Promise((function(t,e){l=t,f=e}));return r={mount:function(){return H(Promise.resolve().then((function(){if(s.status!==y)throw Error(p(13,!1,name,s.status));return n.parcels[i]=s,B(s)})))},unmount:function(){return H(s.unmountThisParcel())},getStatus:function(){return s.status},loadPromise:H(c),bootstrapPromise:H(d),mountPromise:H(m),unmountPromise:H(w)}}function H(t){return t.then((function(){return null}))}function $(t){var e=j(t),n="function"==typeof t.customProps?t.customProps(e,window.location):t.customProps;("object"!==o(n)||null===n||Array.isArray(n))&&(n={},console.warn(p(40,!1),e,n));var i=P({},n,{name:e,mountParcel:z.bind(t),singleSpa:r});return C(t)&&(i.unmountSelf=t.unmountThisParcel),i}var Y={bootstrap:{millis:4e3,dieOnTimeout:!1,warningMillis:1e3},mount:{millis:3e3,dieOnTimeout:!1,warningMillis:1e3},unmount:{millis:3e3,dieOnTimeout:!1,warningMillis:1e3},unload:{millis:3e3,dieOnTimeout:!1,warningMillis:1e3},update:{millis:3e3,dieOnTimeout:!1,warningMillis:1e3}};function q(t,e,n){if("number"!=typeof t||t<=0)throw Error(p(16,!1));Y.bootstrap={millis:t,dieOnTimeout:e,warningMillis:n||1e3}}function V(t,e,n){if("number"!=typeof t||t<=0)throw Error(p(17,!1));Y.mount={millis:t,dieOnTimeout:e,warningMillis:n||1e3}}function K(t,e,n){if("number"!=typeof t||t<=0)throw Error(p(18,!1));Y.unmount={millis:t,dieOnTimeout:e,warningMillis:n||1e3}}function J(t,e,n){if("number"!=typeof t||t<=0)throw Error(p(19,!1));Y.unload={millis:t,dieOnTimeout:e,warningMillis:n||1e3}}function Z(t,e){var n=t.timeouts[e],r=n.warningMillis,o=L(t);return new Promise((function(i,a){var u=!1,s=!1;t[e]($(t)).then((function(t){u=!0,i(t)})).catch((function(t){u=!0,a(t)})),setTimeout((function(){return l(1)}),r),setTimeout((function(){return l(!0)}),n.millis);var c=p(31,!1,e,o,j(t),n.millis);function l(t){if(!u)if(!0===t)s=!0,n.dieOnTimeout?a(Error(c)):console.error(c);else if(!s){var e=t,o=e*r;console.warn(c),o+r<n.millis&&setTimeout((function(){return l(e+1)}),r)}}}))}function X(t){var e={};for(var n in Y)e[n]=P({},Y[n],t&&t[n]||{});return e}function Q(t){return Promise.resolve().then((function(){return t.loadPromise?t.loadPromise:t.status!==d&&t.status!==_?t:(t.status=v,t.loadPromise=Promise.resolve().then((function(){var r=t.loadApp($(t));if(!T(r))throw n=!0,Error(p(33,!1,j(t)));return r.then((function(n){var r;t.loadErrorTime=null,"object"!==o(e=n)&&(r=34),Object.prototype.hasOwnProperty.call(e,"bootstrap")&&!k(e.bootstrap)&&(r=35),k(e.mount)||(r=36),k(e.unmount)||(r=37);var i=L(e);if(r){var a;try{a=JSON.stringify(e)}catch(t){}return console.error(p(r,!1,i,j(t),a),e),c(void 0,t,x),t}return e.devtools&&e.devtools.overlays&&(t.devtools.overlays=P({},t.devtools.overlays,e.devtools.overlays)),t.status=g,t.bootstrap=N(e,"bootstrap"),t.mount=N(e,"mount"),t.unmount=N(e,"unmount"),t.unload=N(e,"unload"),t.timeouts=X(e.timeouts),delete t.loadPromise,t}))})).catch((function(e){var r;return delete t.loadPromise,n?r=x:(r=_,t.loadErrorTime=(new Date).getTime()),c(e,t,r),t})));var e,n}))}var tt="undefined"!=typeof document,et=["hashchange","popstate"];function nt(t){var e;if("string"==typeof t)e=t;else if(this&&this.href)e=this.href;else{if(!(t&&t.currentTarget&&t.currentTarget.href&&t.preventDefault))throw Error(p(14,!1));e=t.currentTarget.href,t.preventDefault()}var n=ot(window.location.href),r=ot(e);0===e.indexOf("#")?window.location.hash=r.hash:n.host!==r.host&&r.host?window.location.href=e:r.pathname===n.pathname&&r.search===n.search?window.location.hash=r.hash:window.history.pushState(null,null,e)}function rt(t){if(t){var e=t[0].type;et.indexOf(e)}}function ot(t){var e=document.createElement("a");return e.href=t,e}var it=!1;function at(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.jQuery;if(t||window.$&&window.$.fn&&window.$.fn.jquery&&(t=window.$),t&&!it){var e=t.fn.on,n=t.fn.off;t.fn.on=function(t,n){return ut.call(this,e,window.addEventListener,t,n,arguments)},t.fn.off=function(t,e){return ut.call(this,n,window.removeEventListener,t,e,arguments)},it=!0}}function ut(t,e,n,r,o){return"string"!=typeof n?t.apply(this,o):(n.split(/\s+/).forEach((function(t){et.indexOf(t)>=0&&(e(t,r),n=n.replace(t,""))})),""===n.trim()?this:t.apply(this,o))}var st={};function ct(t){return Promise.resolve().then((function(){var e=st[j(t)];if(!e)return t;if(t.status===d)return lt(t,e),t;if("UNLOADING"===t.status)return e.promise.then((function(){return t}));if(t.status!==y&&t.status!==_)return t;var n=t.status===_?Promise.resolve():Z(t,"unload");return t.status="UNLOADING",n.then((function(){return lt(t,e),t})).catch((function(n){return function(t,e,n){delete st[j(t)],delete t.bootstrap,delete t.mount,delete t.unmount,delete t.unload,c(n,t,x),e.reject(n)}(t,e,n),t}))}))}function lt(t,e){delete st[j(t)],delete t.bootstrap,delete t.mount,delete t.unmount,delete t.unload,t.status=d,e.resolve()}function ft(t,e,n,r){st[j(t)]={app:t,resolve:n,reject:r},Object.defineProperty(st[j(t)],"promise",{get:e})}function pt(t){return st[t]}var ht=[];function dt(){var t=[],e=[],n=[],r=[],o=(new Date).getTime();return ht.forEach((function(i){var a=i.status!==x&&A(i);switch(i.status){case _:a&&o-i.loadErrorTime>=200&&n.push(i);break;case d:case v:a&&n.push(i);break;case g:case y:!a&&pt(j(i))?t.push(i):a&&r.push(i);break;case b:a||e.push(i)}})),{appsToUnload:t,appsToUnmount:e,appsToLoad:n,appsToMount:r}}function vt(){return ht.filter(S).map(j)}function gt(){return ht.map(j)}function mt(t){var e=R(ht,(function(e){return j(e)===t}));return e?e.status:null}function yt(t,e,n,r){var i=function(t,e,n,r){var i,a={name:null,loadApp:null,activeWhen:null,customProps:null};return"object"===o(t)?(function(t){if(Array.isArray(t)||null===t)throw Error(p(39,!1));var e=["name","app","activeWhen","customProps"],n=Object.keys(t).reduce((function(t,n){return e.indexOf(n)>=0?t:t.concat(n)}),[]);if(0!==n.length)throw Error(p(38,!1,e.join(", "),n.join(", ")));if("string"!=typeof t.name||0===t.name.length)throw Error(p(20,!1));if("object"!==o(t.app)&&"function"!=typeof t.app)throw Error(p(20,!1));var r=function(t){return"string"==typeof t||"function"==typeof t};if(!(r(t.activeWhen)||Array.isArray(t.activeWhen)&&t.activeWhen.every(r)))throw Error(p(24,!1));if(!_t(t.customProps))throw Error(p(22,!1))}(t),a.name=t.name,a.loadApp=t.app,a.activeWhen=t.activeWhen,a.customProps=t.customProps):(function(t,e,n,r){if("string"!=typeof t||0===t.length)throw Error(p(20,!1));if(!e)throw Error(p(23,!1));if("function"!=typeof n)throw Error(p(24,!1));if(!_t(r))throw Error(p(22,!1))}(t,e,n,r),a.name=t,a.loadApp=e,a.activeWhen=n,a.customProps=r),a.loadApp="function"!=typeof(i=a.loadApp)?function(){return Promise.resolve(i)}:i,a.customProps=function(t){return t||{}}(a.customProps),a.activeWhen=function(t){var e=Array.isArray(t)?t:[t];return e=e.map((function(t){return"function"==typeof t?t:xt(t)})),function(t){return e.some((function(e){return e(t)}))}}(a.activeWhen),a}(t,e,n,r);if(-1!==gt().indexOf(i.name))throw Error(p(21,!1,i.name));ht.push(P({loadErrorTime:null,status:d,parcels:{},devtools:{overlays:{options:{},selectors:[]}}},i)),tt&&(at(),Lt())}function wt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location;return ht.filter((function(e){return e.activeWhen(t)})).map(j)}function bt(t){if(0===ht.filter((function(e){return j(e)===t})).length)throw Error(p(25,!1,t));return Ot(t).then((function(){var e=ht.map(j).indexOf(t);ht.splice(e,1)}))}function Ot(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{waitForUnmount:!1};if("string"!=typeof t)throw Error(p(26,!1));var n=R(ht,(function(e){return j(e)===t}));if(!n)throw Error(p(27,!1,t));var r,o=pt(j(n));if(e&&e.waitForUnmount){if(o)return o.promise;var i=new Promise((function(t,e){ft(n,(function(){return i}),t,e)}));return i}return o?(r=o.promise,Et(n,o.resolve,o.reject)):r=new Promise((function(t,e){ft(n,(function(){return r}),t,e),Et(n,t,e)})),r}function Et(t,e,n){U(t).then(ct).then((function(){e(),setTimeout((function(){Lt()}))})).catch(n)}function _t(t){return!t||"function"==typeof t||"object"===o(t)&&null!==t&&!Array.isArray(t)}function xt(t,e){var n=function(t,e){var n=0,r=!1,o="^";"/"!==t[0]&&(t="/"+t);for(var i=0;i<t.length;i++){var a=t[i];(!r&&":"===a||r&&"/"===a)&&u(i)}return u(t.length),new RegExp(o,"i");function u(i){var a=t.slice(n,i).replace(/[|\\{}()[\]^$+*?.]/g,"\\$&");if(o+=r?"[^/]+/?":a,i===t.length)if(r)e&&(o+="$");else{var u=e?"":".*";o="/"===o.charAt(o.length-1)?"".concat(o).concat(u,"$"):"".concat(o,"(/").concat(u,")?(#.*)?$")}r=!r,n=i}}(t,e);return function(t){var e=t.origin;e||(e="".concat(t.protocol,"//").concat(t.host));var r=t.href.replace(e,"").replace(t.search,"").split("?")[0];return n.test(r)}}var St=!1,At=[],jt=tt&&window.location.href;function Ct(){return Lt()}function Lt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0;if(St)return new Promise((function(t,n){At.push({resolve:t,reject:n,eventArguments:e})}));var n,r=dt(),o=r.appsToUnload,a=r.appsToUnmount,s=r.appsToLoad,c=r.appsToMount,l=!1,f=jt,p=jt=window.location.href;return Nt()?(St=!0,n=o.concat(s,a,c),g()):(n=s,v());function h(){l=!0}function v(){return Promise.resolve().then((function(){var t=s.map(Q);return Promise.all(t).then(w).then((function(){return[]})).catch((function(t){throw w(),t}))}))}function g(){return Promise.resolve().then((function(){if(window.dispatchEvent(new u(0===n.length?"single-spa:before-no-app-change":"single-spa:before-app-change",O(!0))),window.dispatchEvent(new u("single-spa:before-routing-event",O(!0,{cancelNavigation:h}))),l)return window.dispatchEvent(new u("single-spa:before-mount-routing-event",O(!0))),m(),void nt(f);var e=o.map(ct),r=a.map(U).map((function(t){return t.then(ct)})).concat(e),i=Promise.all(r);i.then((function(){window.dispatchEvent(new u("single-spa:before-mount-routing-event",O(!0)))}));var p=s.map((function(t){return Q(t).then((function(t){return Pt(t,i)}))})),d=c.filter((function(t){return s.indexOf(t)<0})).map((function(t){return Pt(t,i)}));return i.catch((function(t){throw w(),t})).then((function(){return w(),Promise.all(p.concat(d)).catch((function(e){throw t.forEach((function(t){return t.reject(e)})),e})).then(m)}))}))}function m(){var e=vt();t.forEach((function(t){return t.resolve(e)}));try{n.length}catch(t){setTimeout((function(){throw t}))}if(St=!1,At.length>0){var r=At;At=[],Lt(r)}return e}function w(){t.forEach((function(t){rt(t.eventArguments)})),rt(e)}function O(){var t,r=arguments.length>0&&void 0!==arguments[0]&&arguments[0],u=arguments.length>1?arguments[1]:void 0,h={},v=(i(t={},b,[]),i(t,y,[]),i(t,d,[]),i(t,x,[]),t);r?(s.concat(c).forEach((function(t,e){m(t,b)})),o.forEach((function(t){m(t,d)})),a.forEach((function(t){m(t,y)}))):n.forEach((function(t){m(t)}));var g={detail:{newAppStatuses:h,appsByNewStatus:v,totalAppChanges:n.length,originalEvent:null==e?void 0:e[0],oldUrl:f,newUrl:p,navigationIsCanceled:l}};return u&&P(g.detail,u),g;function m(t,e){var n=j(t);e=e||mt(n),h[n]=e,(v[e]=v[e]||[]).push(n)}}}function Pt(t,e){return A(t)?M(t).then((function(t){return e.then((function(){return A(t)?B(t):t}))})):e.then((function(){return t}))}var Rt=!1;function kt(t){Rt=!0,t&&t.urlRerouteOnly&&t.urlRerouteOnly,tt&&Lt()}function Nt(){return Rt}tt&&setTimeout((function(){Rt||console.warn(p(1,!1))}),5e3);var Tt={getRawAppData:function(){return[].concat(ht)},reroute:Lt,NOT_LOADED:d,toLoadPromise:Q,toBootstrapPromise:M,unregisterApplication:bt};tt&&window.__SINGLE_SPA_DEVTOOLS__&&(window.__SINGLE_SPA_DEVTOOLS__.exposedMethods=Tt)}).call(this,n(19))},function(t,e,n){"use strict";(function(t){n.d(e,"b",(function(){return c})),n.d(e,"a",(function(){return l}));var r=n(1),o=n(0),i=n.n(o),a=(n(14),n(23)),u=n(5),s=n(103),c=function(t){var e=t.entrypoints,n=Object.values(e);return n.length>1&&console.error("invalid manifest, entrypoints for manifest show contain one key"),n[0]},l=function(){var t=Object(r.a)(i.a.mark((function t(e,n){var r,o,c,l,f,p,h,d;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.manifest,"string"==typeof r){t.next=3;break}return t.abrupt("return",r);case 3:if(o=r,c=a.b(o),!c||!c.loaded){t.next=7;break}return t.abrupt("return",c.manifest);case 7:if(c&&c.loaded){t.next=14;break}if(!c){t.next=12;break}return t.abrupt("return",c.promise);case 12:l=new Promise((function(t,e){c={resolve:t,reject:e,manifest:null,loading:!0,loaded:!1,promise:l},a.c(o,c)})),c.promise=l;case 14:f=o,t.prev=15,t.next=22;break;case 19:p=t.sent,f=p.data.manifest||f,e.manifest=f;case 22:return t.next=24,Object(u.d)(f);case 24:return h=t.sent,c.manifest=h,c.loaded=!0,c.loading=!1,c.resolve(h),t.abrupt("return",h);case 32:throw t.prev=32,t.t0=t.catch(15),d=s.a.manifest(t.t0,{url:f}),c.reject(d),d;case 37:case"end":return t.stop()}}),t,null,[[15,32]])})));return function(e,n){return t.apply(this,arguments)}}()}).call(this,n(8))},function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return s}));var r=n(31),o=n.n(r),i=null;function a(){i=new o.a({max:30})}function u(t){return i.get(t)}function s(t,e){i.set(t,e)}},function(t,e,n){var r=n(182),o=n(209),i=n(212),a=n(213),u=n(214),s=n(94),c=n(87),l=n(215),f=n(97),p=n(218),h=n(26),d=/\b__p \+= '';/g,v=/\b(__p \+=) '' \+/g,g=/(__e\(.*?\)|\b__t\)) \+\n'';/g,m=/[()=,{}\[\]\/\s]/,y=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,w=/($^)/,b=/['\n\r\u2028\u2029\\]/g,O=Object.prototype,E=O.hasOwnProperty;t.exports=function(t,e,n){var O=p.imports._.templateSettings||p;n&&c(t,e,n)&&(e=void 0),t=h(t),e=r({},e,O,a);var _,x,S=r({},e.imports,O.imports,a),A=l(S),j=i(S,A),C=0,L=e.interpolate||w,P="__p += '",R=RegExp((e.escape||w).source+"|"+L.source+"|"+(L===f?y:w).source+"|"+(e.evaluate||w).source+"|$","g"),k=E.call(e,"sourceURL")?"//# sourceURL="+(e.sourceURL+"").replace(/\s/g," ")+"\n":"";t.replace(R,(function(e,n,r,o,i,a){return r||(r=o),P+=t.slice(C,a).replace(b,u),n&&(_=!0,P+="' +\n__e("+n+") +\n'"),i&&(x=!0,P+="';\n"+i+";\n__p += '"),r&&(P+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),C=a+e.length,e})),P+="';\n";var N=E.call(e,"variable")&&e.variable;if(N){if(m.test(N))throw new Error("Invalid `variable` option passed into `_.template`")}else P="with (obj) {\n"+P+"\n}\n";P=(x?P.replace(d,""):P).replace(v,"$1").replace(g,"$1;"),P="function("+(N||"obj")+") {\n"+(N?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(_?", __e = _.escape":"")+(x?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+P+"return __p\n}";var T=o((function(){return Function(A,k+"return "+P).apply(void 0,j)}));if(T.source=P,s(T))throw T;return T}},function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},function(t,e,n){var r=n(221);t.exports=function(t){return null==t?"":r(t)}},function(t,e,n){"use strict";var r,o="object"==typeof Reflect?Reflect:null,i=o&&"function"==typeof o.apply?o.apply:function(t,e,n){return Function.prototype.apply.call(t,e,n)};r=o&&"function"==typeof o.ownKeys?o.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var a=Number.isNaN||function(t){return t!=t};function u(){u.init.call(this)}t.exports=u,t.exports.once=function(t,e){return new Promise((function(n,r){function o(n){t.removeListener(e,i),r(n)}function i(){"function"==typeof t.removeListener&&t.removeListener("error",o),n([].slice.call(arguments))}m(t,e,i,{once:!0}),"error"!==e&&function(t,e,n){"function"==typeof t.on&&m(t,"error",e,n)}(t,o,{once:!0})}))},u.EventEmitter=u,u.prototype._events=void 0,u.prototype._eventsCount=0,u.prototype._maxListeners=void 0;var s=10;function c(t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function l(t){return void 0===t._maxListeners?u.defaultMaxListeners:t._maxListeners}function f(t,e,n,r){var o,i,a,u;if(c(n),i=t._events,void 0===i?(i=t._events=Object.create(null),t._eventsCount=0):(void 0!==i.newListener&&(t.emit("newListener",e,n.listener?n.listener:n),i=t._events),a=i[e]),void 0===a)a=i[e]=n,++t._eventsCount;else if("function"==typeof a?a=i[e]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),o=l(t),o>0&&a.length>o&&!a.warned){a.warned=!0;var s=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");s.name="MaxListenersExceededWarning",s.emitter=t,s.type=e,s.count=a.length,u=s,console&&console.warn&&console.warn(u)}return t}function p(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function h(t,e,n){var r={fired:!1,wrapFn:void 0,target:t,type:e,listener:n},o=p.bind(r);return o.listener=n,r.wrapFn=o,o}function d(t,e,n){var r=t._events;if(void 0===r)return[];var o=r[e];return void 0===o?[]:"function"==typeof o?n?[o.listener||o]:[o]:n?function(t){for(var e=new Array(t.length),n=0;n<e.length;++n)e[n]=t[n].listener||t[n];return e}(o):g(o,o.length)}function v(t){var e=this._events;if(void 0!==e){var n=e[t];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function g(t,e){for(var n=new Array(e),r=0;r<e;++r)n[r]=t[r];return n}function m(t,e,n,r){if("function"==typeof t.on)r.once?t.once(e,n):t.on(e,n);else{if("function"!=typeof t.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof t);t.addEventListener(e,(function o(i){r.once&&t.removeEventListener(e,o),n(i)}))}}Object.defineProperty(u,"defaultMaxListeners",{enumerable:!0,get:function(){return s},set:function(t){if("number"!=typeof t||t<0||a(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");s=t}}),u.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},u.prototype.setMaxListeners=function(t){if("number"!=typeof t||t<0||a(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this},u.prototype.getMaxListeners=function(){return l(this)},u.prototype.emit=function(t){for(var e=[],n=1;n<arguments.length;n++)e.push(arguments[n]);var r="error"===t,o=this._events;if(void 0!==o)r=r&&void 0===o.error;else if(!r)return!1;if(r){var a;if(e.length>0&&(a=e[0]),a instanceof Error)throw a;var u=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw u.context=a,u}var s=o[t];if(void 0===s)return!1;if("function"==typeof s)i(s,this,e);else{var c=s.length,l=g(s,c);for(n=0;n<c;++n)i(l[n],this,e)}return!0},u.prototype.addListener=function(t,e){return f(this,t,e,!1)},u.prototype.on=u.prototype.addListener,u.prototype.prependListener=function(t,e){return f(this,t,e,!0)},u.prototype.once=function(t,e){return c(e),this.on(t,h(this,t,e)),this},u.prototype.prependOnceListener=function(t,e){return c(e),this.prependListener(t,h(this,t,e)),this},u.prototype.removeListener=function(t,e){var n,r,o,i,a;if(c(e),r=this._events,void 0===r)return this;if(n=r[t],void 0===n)return this;if(n===e||n.listener===e)0==--this._eventsCount?this._events=Object.create(null):(delete r[t],r.removeListener&&this.emit("removeListener",t,n.listener||e));else if("function"!=typeof n){for(o=-1,i=n.length-1;i>=0;i--)if(n[i]===e||n[i].listener===e){a=n[i].listener,o=i;break}if(o<0)return this;0===o?n.shift():function(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}(n,o),1===n.length&&(r[t]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",t,a||e)}return this},u.prototype.off=u.prototype.removeListener,u.prototype.removeAllListeners=function(t){var e,n,r;if(n=this._events,void 0===n)return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[t]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[t]),this;if(0===arguments.length){var o,i=Object.keys(n);for(r=0;r<i.length;++r)o=i[r],"removeListener"!==o&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(e=n[t],"function"==typeof e)this.removeListener(t,e);else if(void 0!==e)for(r=e.length-1;r>=0;r--)this.removeListener(t,e[r]);return this},u.prototype.listeners=function(t){return d(this,t,!0)},u.prototype.rawListeners=function(t){return d(this,t,!1)},u.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):v.call(t,e)},u.prototype.listenerCount=v,u.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(t){var e,n;return t||((null===(e=window)||void 0===e||null===(n=e.ALIYUN_CONSOLE_CONFIG)||void 0===n?void 0:n.fEnv)||"prod")}},function(t,e,n){var r=n(15),o=n(25);t.exports=function(t){if(!o(t))return!1;var e=r(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r=h(n(35)),o=h(n(64)),i=h(n(37)),a=h(n(40)),u=h(n(41)),s=h(n(153)),c=h(n(39)),l=h(n(71)),f=h(n(43)),p=h(n(72));function h(t){return t&&t.__esModule?t:{default:t}}function d(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return 1===e.length&&Array.isArray(e[0])&&(e=e[0]),new o.default(e)}d.plugin=function(t,e){function n(){var n=e.apply(void 0,arguments);return n.postcssPlugin=t,n.postcssVersion=(new o.default).version,n}var r;return Object.defineProperty(n,"postcss",{get:function(){return r||(r=n()),r}}),n.process=function(t,e,r){return d([n(r)]).process(t,e)},n},d.stringify=i.default,d.parse=c.default,d.vendor=s.default,d.list=l.default,d.comment=function(t){return new a.default(t)},d.atRule=function(t){return new u.default(t)},d.decl=function(t){return new r.default(t)},d.rule=function(t){return new f.default(t)},d.root=function(t){return new p.default(t)};var v=d;e.default=v,t.exports=e.default},function(t,e,n){"use strict";(function(e){t.exports=y;var r,o=n(154),i=n(156),a=n(159),u="function"==typeof Symbol&&"1"!==e.env._nodeLRUCacheForceNoSymbol;r=u?function(t){return Symbol(t)}:function(t){return"_"+t};var s=r("max"),c=r("length"),l=r("lengthCalculator"),f=r("allowStale"),p=r("maxAge"),h=r("dispose"),d=r("noDisposeOnSet"),v=r("lruList"),g=r("cache");function m(){return 1}function y(t){if(!(this instanceof y))return new y(t);"number"==typeof t&&(t={max:t}),t||(t={});var e=this[s]=t.max;(!e||"number"!=typeof e||e<=0)&&(this[s]=1/0);var n=t.length||m;"function"!=typeof n&&(n=m),this[l]=n,this[f]=t.stale||!1,this[p]=t.maxAge||0,this[h]=t.dispose,this[d]=t.noDisposeOnSet||!1,this.reset()}function w(t,e,n,r){var o=n.value;O(t,o)&&(_(t,n),t[f]||(o=void 0)),o&&e.call(r,o.value,o.key,t)}function b(t,e,n){var r=t[g].get(e);if(r){var o=r.value;O(t,o)?(_(t,r),t[f]||(o=void 0)):n&&t[v].unshiftNode(r),o&&(o=o.value)}return o}function O(t,e){if(!e||!e.maxAge&&!t[p])return!1;var n=!1,r=Date.now()-e.now;return n=e.maxAge?r>e.maxAge:t[p]&&r>t[p],n}function E(t){if(t[c]>t[s])for(var e=t[v].tail;t[c]>t[s]&&null!==e;){var n=e.prev;_(t,e),e=n}}function _(t,e){if(e){var n=e.value;t[h]&&t[h](n.key,n.value),t[c]-=n.length,t[g].delete(n.key),t[v].removeNode(e)}}function x(t,e,n,r,o){this.key=t,this.value=e,this.length=n,this.now=r,this.maxAge=o||0}Object.defineProperty(y.prototype,"max",{set:function(t){(!t||"number"!=typeof t||t<=0)&&(t=1/0),this[s]=t,E(this)},get:function(){return this[s]},enumerable:!0}),Object.defineProperty(y.prototype,"allowStale",{set:function(t){this[f]=!!t},get:function(){return this[f]},enumerable:!0}),Object.defineProperty(y.prototype,"maxAge",{set:function(t){(!t||"number"!=typeof t||t<0)&&(t=0),this[p]=t,E(this)},get:function(){return this[p]},enumerable:!0}),Object.defineProperty(y.prototype,"lengthCalculator",{set:function(t){"function"!=typeof t&&(t=m),t!==this[l]&&(this[l]=t,this[c]=0,this[v].forEach((function(t){t.length=this[l](t.value,t.key),this[c]+=t.length}),this)),E(this)},get:function(){return this[l]},enumerable:!0}),Object.defineProperty(y.prototype,"length",{get:function(){return this[c]},enumerable:!0}),Object.defineProperty(y.prototype,"itemCount",{get:function(){return this[v].length},enumerable:!0}),y.prototype.rforEach=function(t,e){e=e||this;for(var n=this[v].tail;null!==n;){var r=n.prev;w(this,t,n,e),n=r}},y.prototype.forEach=function(t,e){e=e||this;for(var n=this[v].head;null!==n;){var r=n.next;w(this,t,n,e),n=r}},y.prototype.keys=function(){return this[v].toArray().map((function(t){return t.key}),this)},y.prototype.values=function(){return this[v].toArray().map((function(t){return t.value}),this)},y.prototype.reset=function(){this[h]&&this[v]&&this[v].length&&this[v].forEach((function(t){this[h](t.key,t.value)}),this),this[g]=new o,this[v]=new a,this[c]=0},y.prototype.dump=function(){return this[v].map((function(t){if(!O(this,t))return{k:t.key,v:t.value,e:t.now+(t.maxAge||0)}}),this).toArray().filter((function(t){return t}))},y.prototype.dumpLru=function(){return this[v]},y.prototype.inspect=function(t,e){var n="LRUCache {",r=!1,o=this[f];o&&(n+="\n allowStale: true",r=!0);var a=this[s];a&&a!==1/0&&(r&&(n+=","),n+="\n max: "+i.inspect(a,e),r=!0);var u=this[p];u&&(r&&(n+=","),n+="\n maxAge: "+i.inspect(u,e),r=!0);var h=this[l];h&&h!==m&&(r&&(n+=","),n+="\n length: "+i.inspect(this[c],e),r=!0);var d=!1;return this[v].forEach((function(t){d?n+=",\n ":(r&&(n+=",\n"),d=!0,n+="\n ");var o=i.inspect(t.key).split("\n").join("\n "),a={value:t.value};t.maxAge!==u&&(a.maxAge=t.maxAge),h!==m&&(a.length=t.length),O(this,t)&&(a.stale=!0),a=i.inspect(a,e).split("\n").join("\n "),n+=o+" => "+a})),(d||r)&&(n+="\n"),n+="}",n},y.prototype.set=function(t,e,n){n=n||this[p];var r=n?Date.now():0,o=this[l](e,t);if(this[g].has(t)){if(o>this[s])return _(this,this[g].get(t)),!1;var i=this[g].get(t),a=i.value;return this[h]&&(this[d]||this[h](t,a.value)),a.now=r,a.maxAge=n,a.value=e,this[c]+=o-a.length,a.length=o,this.get(t),E(this),!0}var u=new x(t,e,o,r,n);return u.length>this[s]?(this[h]&&this[h](t,e),!1):(this[c]+=u.length,this[v].unshift(u),this[g].set(t,this[v].head),E(this),!0)},y.prototype.has=function(t){if(!this[g].has(t))return!1;var e=this[g].get(t).value;return!O(this,e)},y.prototype.get=function(t){return b(this,t,!0)},y.prototype.peek=function(t){return b(this,t,!1)},y.prototype.pop=function(){var t=this[v].tail;return t?(_(this,t),t.value):null},y.prototype.del=function(t){_(this,this[g].get(t))},y.prototype.load=function(t){this.reset();for(var e=Date.now(),n=t.length-1;n>=0;n--){var r=t[n],o=r.e||0;if(0===o)this.set(r.k,r.v);else{var i=o-e;i>0&&this.set(r.k,r.v,i)}}},y.prototype.prune=function(){var t=this;this[g].forEach((function(e,n){b(t,n,!1)}))}}).call(this,n(8))},function(t,e,n){var r;t.exports=(r=n(160),function(t){var e=r,n=e.lib,o=n.WordArray,i=n.Hasher,a=e.algo,u=[];!function(){for(var e=0;e<64;e++)u[e]=4294967296*t.abs(t.sin(e+1))|0}();var s=a.MD5=i.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(t,e){for(var n=0;n<16;n++){var r=e+n,o=t[r];t[r]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}var i=this._hash.words,a=t[e+0],s=t[e+1],h=t[e+2],d=t[e+3],v=t[e+4],g=t[e+5],m=t[e+6],y=t[e+7],w=t[e+8],b=t[e+9],O=t[e+10],E=t[e+11],_=t[e+12],x=t[e+13],S=t[e+14],A=t[e+15],j=i[0],C=i[1],L=i[2],P=i[3];j=c(j,C,L,P,a,7,u[0]),P=c(P,j,C,L,s,12,u[1]),L=c(L,P,j,C,h,17,u[2]),C=c(C,L,P,j,d,22,u[3]),j=c(j,C,L,P,v,7,u[4]),P=c(P,j,C,L,g,12,u[5]),L=c(L,P,j,C,m,17,u[6]),C=c(C,L,P,j,y,22,u[7]),j=c(j,C,L,P,w,7,u[8]),P=c(P,j,C,L,b,12,u[9]),L=c(L,P,j,C,O,17,u[10]),C=c(C,L,P,j,E,22,u[11]),j=c(j,C,L,P,_,7,u[12]),P=c(P,j,C,L,x,12,u[13]),L=c(L,P,j,C,S,17,u[14]),C=c(C,L,P,j,A,22,u[15]),j=l(j,C,L,P,s,5,u[16]),P=l(P,j,C,L,m,9,u[17]),L=l(L,P,j,C,E,14,u[18]),C=l(C,L,P,j,a,20,u[19]),j=l(j,C,L,P,g,5,u[20]),P=l(P,j,C,L,O,9,u[21]),L=l(L,P,j,C,A,14,u[22]),C=l(C,L,P,j,v,20,u[23]),j=l(j,C,L,P,b,5,u[24]),P=l(P,j,C,L,S,9,u[25]),L=l(L,P,j,C,d,14,u[26]),C=l(C,L,P,j,w,20,u[27]),j=l(j,C,L,P,x,5,u[28]),P=l(P,j,C,L,h,9,u[29]),L=l(L,P,j,C,y,14,u[30]),C=l(C,L,P,j,_,20,u[31]),j=f(j,C,L,P,g,4,u[32]),P=f(P,j,C,L,w,11,u[33]),L=f(L,P,j,C,E,16,u[34]),C=f(C,L,P,j,S,23,u[35]),j=f(j,C,L,P,s,4,u[36]),P=f(P,j,C,L,v,11,u[37]),L=f(L,P,j,C,y,16,u[38]),C=f(C,L,P,j,O,23,u[39]),j=f(j,C,L,P,x,4,u[40]),P=f(P,j,C,L,a,11,u[41]),L=f(L,P,j,C,d,16,u[42]),C=f(C,L,P,j,m,23,u[43]),j=f(j,C,L,P,b,4,u[44]),P=f(P,j,C,L,_,11,u[45]),L=f(L,P,j,C,A,16,u[46]),C=f(C,L,P,j,h,23,u[47]),j=p(j,C,L,P,a,6,u[48]),P=p(P,j,C,L,y,10,u[49]),L=p(L,P,j,C,S,15,u[50]),C=p(C,L,P,j,g,21,u[51]),j=p(j,C,L,P,_,6,u[52]),P=p(P,j,C,L,d,10,u[53]),L=p(L,P,j,C,O,15,u[54]),C=p(C,L,P,j,s,21,u[55]),j=p(j,C,L,P,w,6,u[56]),P=p(P,j,C,L,A,10,u[57]),L=p(L,P,j,C,m,15,u[58]),C=p(C,L,P,j,x,21,u[59]),j=p(j,C,L,P,v,6,u[60]),P=p(P,j,C,L,E,10,u[61]),L=p(L,P,j,C,h,15,u[62]),C=p(C,L,P,j,b,21,u[63]),i[0]=i[0]+j|0,i[1]=i[1]+C|0,i[2]=i[2]+L|0,i[3]=i[3]+P|0},_doFinalize:function(){var e=this._data,n=e.words,r=8*this._nDataBytes,o=8*e.sigBytes;n[o>>>5]|=128<<24-o%32;var i=t.floor(r/4294967296),a=r;n[15+(o+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),n[14+(o+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),e.sigBytes=4*(n.length+1),this._process();for(var u=this._hash,s=u.words,c=0;c<4;c++){var l=s[c];s[c]=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8)}return u},clone:function(){var t=i.clone.call(this);return t._hash=this._hash.clone(),t}});function c(t,e,n,r,o,i,a){var u=t+(e&n|~e&r)+o+a;return(u<<i|u>>>32-i)+e}function l(t,e,n,r,o,i,a){var u=t+(e&r|n&~r)+o+a;return(u<<i|u>>>32-i)+e}function f(t,e,n,r,o,i,a){var u=t+(e^n^r)+o+a;return(u<<i|u>>>32-i)+e}function p(t,e,n,r,o,i,a){var u=t+(n^(e|~r))+o+a;return(u<<i|u>>>32-i)+e}e.MD5=i._createHelper(s),e.HmacMD5=i._createHmacHelper(s)}(Math),r.MD5)},,,function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r,o=(r=n(36),r&&r.__esModule?r:{default:r});var i=function(t){var e,n;function r(e){var n;return n=t.call(this,e)||this,n.type="decl",n}return e=r,n=t,e.prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n,r}(o.default),a=i;e.default=a,t.exports=e.default},function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r=a(n(62)),o=a(n(63)),i=a(n(37));function a(t){return t&&t.__esModule?t:{default:t}}var u=function(){function t(t){for(var e in void 0===t&&(t={}),this.raws={},t)this[e]=t[e]}var e=t.prototype;return e.error=function(t,e){if(void 0===e&&(e={}),this.source){var n=this.positionBy(e);return this.source.input.error(t,n.line,n.column,e)}return new r.default(t)},e.warn=function(t,e,n){var r={node:this};for(var o in n)r[o]=n[o];return t.warn(e,r)},e.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},e.toString=function(t){void 0===t&&(t=i.default),t.stringify&&(t=t.stringify);var e="";return t(this,(function(t){e+=t})),e},e.clone=function(t){void 0===t&&(t={});var e=function t(e,n){var r=new e.constructor;for(var o in e)if(e.hasOwnProperty(o)){var i=e[o],a=typeof i;"parent"===o&&"object"===a?n&&(r[o]=n):"source"===o?r[o]=i:i instanceof Array?r[o]=i.map((function(e){return t(e,r)})):("object"===a&&null!==i&&(i=t(i)),r[o]=i)}return r}(this);for(var n in t)e[n]=t[n];return e},e.cloneBefore=function(t){void 0===t&&(t={});var e=this.clone(t);return this.parent.insertBefore(this,e),e},e.cloneAfter=function(t){void 0===t&&(t={});var e=this.clone(t);return this.parent.insertAfter(this,e),e},e.replaceWith=function(){if(this.parent){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];for(var r=0,o=e;r<o.length;r++){var i=o[r];this.parent.insertBefore(this,i)}this.remove()}return this},e.next=function(){if(this.parent){var t=this.parent.index(this);return this.parent.nodes[t+1]}},e.prev=function(){if(this.parent){var t=this.parent.index(this);return this.parent.nodes[t-1]}},e.before=function(t){return this.parent.insertBefore(this,t),this},e.after=function(t){return this.parent.insertAfter(this,t),this},e.toJSON=function(){var t={};for(var e in this)if(this.hasOwnProperty(e)&&"parent"!==e){var n=this[e];n instanceof Array?t[e]=n.map((function(t){return"object"==typeof t&&t.toJSON?t.toJSON():t})):"object"==typeof n&&n.toJSON?t[e]=n.toJSON():t[e]=n}return t},e.raw=function(t,e){var n=new o.default;return n.raw(this,t,e)},e.root=function(){for(var t=this;t.parent;)t=t.parent;return t},e.cleanRaws=function(t){delete this.raws.before,delete this.raws.after,t||delete this.raws.between},e.positionInside=function(t){for(var e=this.toString(),n=this.source.start.column,r=this.source.start.line,o=0;o<t;o++)"\n"===e[o]?(n=1,r+=1):n+=1;return{line:r,column:n}},e.positionBy=function(t){var e=this.source.start;if(t.index)e=this.positionInside(t.index);else if(t.word){var n=this.toString().indexOf(t.word);-1!==n&&(e=this.positionInside(n))}return e},t}(),s=u;e.default=s,t.exports=e.default},function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r,o=(r=n(63),r&&r.__esModule?r:{default:r});var i=function(t,e){var n=new o.default(e);n.stringify(t)};e.default=i,t.exports=e.default},function(t,e,n){(function(t){function n(t,e){for(var n=0,r=t.length-1;r>=0;r--){var o=t[r];"."===o?t.splice(r,1):".."===o?(t.splice(r,1),n++):n&&(t.splice(r,1),n--)}if(e)for(;n--;n)t.unshift("..");return t}function r(t,e){if(t.filter)return t.filter(e);for(var n=[],r=0;r<t.length;r++)e(t[r],r,t)&&n.push(t[r]);return n}e.resolve=function(){for(var e="",o=!1,i=arguments.length-1;i>=-1&&!o;i--){var a=i>=0?arguments[i]:t.cwd();if("string"!=typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(e=a+"/"+e,o="/"===a.charAt(0))}return e=n(r(e.split("/"),(function(t){return!!t})),!o).join("/"),(o?"/":"")+e||"."},e.normalize=function(t){var i=e.isAbsolute(t),a="/"===o(t,-1);return t=n(r(t.split("/"),(function(t){return!!t})),!i).join("/"),t||i||(t="."),t&&a&&(t+="/"),(i?"/":"")+t},e.isAbsolute=function(t){return"/"===t.charAt(0)},e.join=function(){var t=Array.prototype.slice.call(arguments,0);return e.normalize(r(t,(function(t,e){if("string"!=typeof t)throw new TypeError("Arguments to path.join must be strings");return t})).join("/"))},e.relative=function(t,n){function r(t){for(var e=0;e<t.length&&""===t[e];e++);for(var n=t.length-1;n>=0&&""===t[n];n--);return e>n?[]:t.slice(e,n-e+1)}t=e.resolve(t).substr(1),n=e.resolve(n).substr(1);for(var o=r(t.split("/")),i=r(n.split("/")),a=Math.min(o.length,i.length),u=a,s=0;s<a;s++)if(o[s]!==i[s]){u=s;break}var c=[];for(s=u;s<o.length;s++)c.push("..");return c=c.concat(i.slice(u)),c.join("/")},e.sep="/",e.delimiter=":",e.dirname=function(t){if("string"!=typeof t&&(t+=""),0===t.length)return".";for(var e=t.charCodeAt(0),n=47===e,r=-1,o=!0,i=t.length-1;i>=1;--i)if(e=t.charCodeAt(i),47===e){if(!o){r=i;break}}else o=!1;return-1===r?n?"/":".":n&&1===r?"/":t.slice(0,r)},e.basename=function(t,e){var n=function(t){"string"!=typeof t&&(t+="");var e,n=0,r=-1,o=!0;for(e=t.length-1;e>=0;--e)if(47===t.charCodeAt(e)){if(!o){n=e+1;break}}else-1===r&&(o=!1,r=e+1);return-1===r?"":t.slice(n,r)}(t);return e&&n.substr(-1*e.length)===e&&(n=n.substr(0,n.length-e.length)),n},e.extname=function(t){"string"!=typeof t&&(t+="");for(var e=-1,n=0,r=-1,o=!0,i=0,a=t.length-1;a>=0;--a){var u=t.charCodeAt(a);if(47!==u)-1===r&&(o=!1,r=a+1),46===u?-1===e?e=a:1!==i&&(i=1):-1!==e&&(i=-1);else if(!o){n=a+1;break}}return-1===e||-1===r||0===i||1===i&&e===r-1&&e===n+1?"":t.slice(e,r)};var o="b"==="ab".substr(-1)?function(t,e,n){return t.substr(e,n)}:function(t,e,n){return e<0&&(e=t.length+e),t.substr(e,n)}}).call(this,n(8))},function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r=i(n(148)),o=i(n(150));function i(t){return t&&t.__esModule?t:{default:t}}var a=function(t,e){var n=new o.default(t,e),i=new r.default(n);try{i.parse()}catch(a){throw a}return i.root};e.default=a,t.exports=e.default},function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r,o=(r=n(36),r&&r.__esModule?r:{default:r});var i=function(t){var e,n;function r(e){var n;return n=t.call(this,e)||this,n.type="comment",n}return e=r,n=t,e.prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n,r}(o.default),a=i;e.default=a,t.exports=e.default},function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r,o=(r=n(42),r&&r.__esModule?r:{default:r});var i=function(t){var e,n;function r(e){var n;return n=t.call(this,e)||this,n.type="atrule",n}e=r,n=t,e.prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var o=r.prototype;return o.append=function(){var e;this.nodes||(this.nodes=[]);for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(e=t.prototype.append).call.apply(e,[this].concat(r))},o.prepend=function(){var e;this.nodes||(this.nodes=[]);for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(e=t.prototype.prepend).call.apply(e,[this].concat(r))},r}(o.default),a=i;e.default=a,t.exports=e.default},function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r=a(n(35)),o=a(n(40)),i=a(n(36));function a(t){return t&&t.__esModule?t:{default:t}}function u(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return s(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return n=t[Symbol.iterator](),n.next.bind(n)}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var l=function(t){var e,i;function a(){return t.apply(this,arguments)||this}e=a,i=t,e.prototype=Object.create(i.prototype),e.prototype.constructor=e,e.__proto__=i;var s,l,f,p=a.prototype;return p.push=function(t){return t.parent=this,this.nodes.push(t),this},p.each=function(t){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var e=this.lastEach;if(this.indexes[e]=0,this.nodes){for(var n,r;this.indexes[e]<this.nodes.length&&(n=this.indexes[e],r=t(this.nodes[n],n),!1!==r);)this.indexes[e]+=1;return delete this.indexes[e],r}},p.walk=function(t){return this.each((function(e,n){var r;try{r=t(e,n)}catch(i){if(i.postcssNode=e,i.stack&&e.source&&/\n\s{4}at /.test(i.stack)){var o=e.source;i.stack=i.stack.replace(/\n\s{4}at /,"$&"+o.input.from+":"+o.start.line+":"+o.start.column+"$&")}throw i}return!1!==r&&e.walk&&(r=e.walk(t)),r}))},p.walkDecls=function(t,e){return e?t instanceof RegExp?this.walk((function(n,r){if("decl"===n.type&&t.test(n.prop))return e(n,r)})):this.walk((function(n,r){if("decl"===n.type&&n.prop===t)return e(n,r)})):(e=t,this.walk((function(t,n){if("decl"===t.type)return e(t,n)})))},p.walkRules=function(t,e){return e?t instanceof RegExp?this.walk((function(n,r){if("rule"===n.type&&t.test(n.selector))return e(n,r)})):this.walk((function(n,r){if("rule"===n.type&&n.selector===t)return e(n,r)})):(e=t,this.walk((function(t,n){if("rule"===t.type)return e(t,n)})))},p.walkAtRules=function(t,e){return e?t instanceof RegExp?this.walk((function(n,r){if("atrule"===n.type&&t.test(n.name))return e(n,r)})):this.walk((function(n,r){if("atrule"===n.type&&n.name===t)return e(n,r)})):(e=t,this.walk((function(t,n){if("atrule"===t.type)return e(t,n)})))},p.walkComments=function(t){return this.walk((function(e,n){if("comment"===e.type)return t(e,n)}))},p.append=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];for(var r=0,o=e;r<o.length;r++)for(var i,a=o[r],s=this.normalize(a,this.last),c=u(s);!(i=c()).done;){var l=i.value;this.nodes.push(l)}return this},p.prepend=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];e=e.reverse();for(var r,o=u(e);!(r=o()).done;){for(var i,a=r.value,s=this.normalize(a,this.first,"prepend").reverse(),c=u(s);!(i=c()).done;){var l=i.value;this.nodes.unshift(l)}for(var f in this.indexes)this.indexes[f]=this.indexes[f]+s.length}return this},p.cleanRaws=function(e){if(t.prototype.cleanRaws.call(this,e),this.nodes)for(var n,r=u(this.nodes);!(n=r()).done;){var o=n.value;o.cleanRaws(e)}},p.insertBefore=function(t,e){t=this.index(t);for(var n,r,o=0===t&&"prepend",i=this.normalize(e,this.nodes[t],o).reverse(),a=u(i);!(n=a()).done;){var s=n.value;this.nodes.splice(t,0,s)}for(var c in this.indexes)r=this.indexes[c],t<=r&&(this.indexes[c]=r+i.length);return this},p.insertAfter=function(t,e){t=this.index(t);for(var n,r,o=this.normalize(e,this.nodes[t]).reverse(),i=u(o);!(n=i()).done;){var a=n.value;this.nodes.splice(t+1,0,a)}for(var s in this.indexes)r=this.indexes[s],t<r&&(this.indexes[s]=r+o.length);return this},p.removeChild=function(t){var e;for(var n in t=this.index(t),this.nodes[t].parent=void 0,this.nodes.splice(t,1),this.indexes)e=this.indexes[n],e>=t&&(this.indexes[n]=e-1);return this},p.removeAll=function(){for(var t,e=u(this.nodes);!(t=e()).done;){var n=t.value;n.parent=void 0}return this.nodes=[],this},p.replaceValues=function(t,e,n){return n||(n=e,e={}),this.walkDecls((function(r){e.props&&-1===e.props.indexOf(r.prop)||e.fast&&-1===r.value.indexOf(e.fast)||(r.value=r.value.replace(t,n))})),this},p.every=function(t){return this.nodes.every(t)},p.some=function(t){return this.nodes.some(t)},p.index=function(t){return"number"==typeof t?t:this.nodes.indexOf(t)},p.normalize=function(t,e){var i=this;if("string"==typeof t){var a=n(39);t=function t(e){return e.map((function(e){return e.nodes&&(e.nodes=t(e.nodes)),delete e.source,e}))}(a(t).nodes)}else if(Array.isArray(t)){t=t.slice(0);for(var s,c=u(t);!(s=c()).done;){var l=s.value;l.parent&&l.parent.removeChild(l,"ignore")}}else if("root"===t.type){t=t.nodes.slice(0);for(var f,p=u(t);!(f=p()).done;){var h=f.value;h.parent&&h.parent.removeChild(h,"ignore")}}else if(t.type)t=[t];else if(t.prop){if(void 0===t.value)throw new Error("Value field is missed in node creation");"string"!=typeof t.value&&(t.value=String(t.value)),t=[new r.default(t)]}else if(t.selector){var d=n(43);t=[new d(t)]}else if(t.name){var v=n(41);t=[new v(t)]}else{if(!t.text)throw new Error("Unknown node type in node creation");t=[new o.default(t)]}var g=t.map((function(t){return t.parent&&t.parent.removeChild(t),void 0===t.raws.before&&e&&void 0!==e.raws.before&&(t.raws.before=e.raws.before.replace(/[^\s]/g,"")),t.parent=i,t}));return g},s=a,l=[{key:"first",get:function(){if(this.nodes)return this.nodes[0]}},{key:"last",get:function(){if(this.nodes)return this.nodes[this.nodes.length-1]}}],l&&c(s.prototype,l),f&&c(s,f),a}(i.default),f=l;e.default=f,t.exports=e.default},function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r=i(n(42)),o=i(n(71));function i(t){return t&&t.__esModule?t:{default:t}}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var u=function(t){var e,n,r,i,u;function s(e){var n;return n=t.call(this,e)||this,n.type="rule",n.nodes||(n.nodes=[]),n}return e=s,n=t,e.prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n,r=s,i=[{key:"selectors",get:function(){return o.default.comma(this.selector)},set:function(t){var e=this.selector?this.selector.match(/,\s*/):null,n=e?e[0]:","+this.raw("between","beforeOpen");this.selector=t.join(n)}}],i&&a(r.prototype,i),u&&a(r,u),s}(r.default),s=u;e.default=s,t.exports=e.default},function(t,e,n){"use strict";(function(e){var r=n(7),o=n(167),i=n(75),a={"Content-Type":"application/x-www-form-urlencoded"};function u(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var s,c={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==e&&"[object process]"===Object.prototype.toString.call(e))&&(s=n(76)),s),transformRequest:[function(t,e){return o(e,"Accept"),o(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)?(u(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)||e&&"application/json"===e["Content-Type"]?(u(e,"application/json"),function(t,e,n){if(r.isString(t))try{return(e||JSON.parse)(t),r.trim(t)}catch(o){if("SyntaxError"!==o.name)throw o}return(n||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var e=this.transitional,n=e&&e.silentJSONParsing,o=e&&e.forcedJSONParsing,a=!n&&"json"===this.responseType;if(a||o&&r.isString(t)&&t.length)try{return JSON.parse(t)}catch(u){if(a){if("SyntaxError"===u.name)throw i(u,this,"E_JSON_PARSE");throw u}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),r.forEach(["post","put","patch"],(function(t){c.headers[t]=r.merge(a)})),t.exports=c}).call(this,n(8))},function(t,e,n){var r=n(46),o=r.Symbol;t.exports=o},function(t,e,n){var r=n(81),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},function(t,e){t.exports=function(t,e){return t===e||t!=t&&e!=e}},function(t,e,n){var r=n(29),o=n(88);t.exports=function(t){return null!=t&&o(t.length)&&!r(t)}},function(t,n){t.exports=e},function(t,e){t.exports=n},,,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)}}},function(t,e,n){"use strict";var r=n(6);function o(t){return encodeURIComponent(t).replace(/%40/gi,"@").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 i;if(n)i=n(e);else if(r.isURLSearchParams(e))i=e.toString();else{var a=[];r.forEach(e,(function(t,e){null!=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)),a.push(o(e)+"="+o(t))})))})),i=a.join("&")}if(i){var u=t.indexOf("#");-1!==u&&(t=t.slice(0,u)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}},function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},function(t,e,n){"use strict";(function(e){var r=n(6),o=n(115),i={"Content-Type":"application/x-www-form-urlencoded"};function a(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var u,s={adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==e&&"[object process]"===Object.prototype.toString.call(e))&&(u=n(57)),u),transformRequest:[function(t,e){return o(e,"Accept"),o(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)?(a(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)?(a(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,validateStatus:function(t){return t>=200&&t<300}};s.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],(function(t){s.headers[t]={}})),r.forEach(["post","put","patch"],(function(t){s.headers[t]=r.merge(i)})),t.exports=s}).call(this,n(8))},function(t,e,n){"use strict";var r=n(6),o=n(116),i=n(54),a=n(118),u=n(121),s=n(122),c=n(58);t.exports=function(t){return new Promise((function(e,l){var f=t.data,p=t.headers;r.isFormData(f)&&delete p["Content-Type"];var h=new XMLHttpRequest;if(t.auth){var d=t.auth.username||"",v=t.auth.password||"";p.Authorization="Basic "+btoa(d+":"+v)}var g=a(t.baseURL,t.url);if(h.open(t.method.toUpperCase(),i(g,t.params,t.paramsSerializer),!0),h.timeout=t.timeout,h.onreadystatechange=function(){if(h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in h?u(h.getAllResponseHeaders()):null,r=t.responseType&&"text"!==t.responseType?h.response:h.responseText,i={data:r,status:h.status,statusText:h.statusText,headers:n,config:t,request:h};o(e,l,i),h=null}},h.onabort=function(){h&&(l(c("Request aborted",t,"ECONNABORTED",h)),h=null)},h.onerror=function(){l(c("Network Error",t,null,h)),h=null},h.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),l(c(e,t,"ECONNABORTED",h)),h=null},r.isStandardBrowserEnv()){var m=n(123),y=(t.withCredentials||s(g))&&t.xsrfCookieName?m.read(t.xsrfCookieName):void 0;y&&(p[t.xsrfHeaderName]=y)}if("setRequestHeader"in h&&r.forEach(p,(function(t,e){void 0===f&&"content-type"===e.toLowerCase()?delete p[e]:h.setRequestHeader(e,t)})),r.isUndefined(t.withCredentials)||(h.withCredentials=!!t.withCredentials),t.responseType)try{h.responseType=t.responseType}catch(w){if("json"!==t.responseType)throw w}"function"==typeof t.onDownloadProgress&&h.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){h&&(h.abort(),l(t),h=null)})),void 0===f&&(f=null),h.send(f)}))}},function(t,e,n){"use strict";var r=n(117);t.exports=function(t,e,n,o,i){var a=new Error(t);return r(a,e,n,o,i)}},function(t,e,n){"use strict";var r=n(6);t.exports=function(t,e){e=e||{};var n={},o=["url","method","params","data"],i=["headers","auth","proxy"],a=["baseURL","url","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"];r.forEach(o,(function(t){void 0!==e[t]&&(n[t]=e[t])})),r.forEach(i,(function(o){r.isObject(e[o])?n[o]=r.deepMerge(t[o],e[o]):void 0!==e[o]?n[o]=e[o]:r.isObject(t[o])?n[o]=r.deepMerge(t[o]):void 0!==t[o]&&(n[o]=t[o])})),r.forEach(a,(function(r){void 0!==e[r]?n[r]=e[r]:void 0!==t[r]&&(n[r]=t[r])}));var u=o.concat(i).concat(a),s=Object.keys(e).filter((function(t){return-1===u.indexOf(t)}));return r.forEach(s,(function(r){void 0!==e[r]?n[r]=e[r]:void 0!==t[r]&&(n[r]=t[r])})),n}},function(t,e,n){"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},function(t,e,n){var r=n(128),o=r.Symbol;t.exports=o},function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r=i(n(133)),o=i(n(134));function i(t){return t&&t.__esModule?t:{default:t}}function a(t){var e="function"==typeof Map?new Map:void 0;return a=function(t){if(null===t||(n=t,-1===Function.toString.call(n).indexOf("[native code]")))return t;var n;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return u(t,arguments,l(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),c(r,t)},a(t)}function u(t,e,n){return u=s()?Reflect.construct:function(t,e,n){var r=[null];r.push.apply(r,e);var o=Function.bind.apply(t,r),i=new o;return n&&c(i,n.prototype),i},u.apply(null,arguments)}function s(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function c(t,e){return c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},c(t,e)}function l(t){return l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},l(t)}var f=function(t){var e,n;function i(e,n,r,o,a,u){var s;return s=t.call(this,e)||this,s.name="CssSyntaxError",s.reason=e,a&&(s.file=a),o&&(s.source=o),u&&(s.plugin=u),void 0!==n&&void 0!==r&&(s.line=n,s.column=r),s.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(s),i),s}e=i,n=t,e.prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var a=i.prototype;return a.setMessage=function(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason},a.showSourceCode=function(t){var e=this;if(!this.source)return"";var n=this.source;o.default&&(void 0===t&&(t=r.default.isColorSupported),t&&(n=(0,o.default)(n)));var i=n.split(/\r?\n/),a=Math.max(this.line-3,0),u=Math.min(this.line+2,i.length),s=String(u).length;function c(e){return t&&r.default.red?r.default.red(r.default.bold(e)):e}function l(e){return t&&r.default.gray?r.default.gray(e):e}return i.slice(a,u).map((function(t,n){var r=a+1+n,o=" "+(" "+r).slice(-s)+" | ";if(r===e.line){var i=l(o.replace(/\d/g," "))+t.slice(0,e.column-1).replace(/[^\t]/g," ");return c(">")+l(o)+t+"\n "+i+c("^")}return" "+l(o)+t})).join("\n")},a.toString=function(){var t=this.showSourceCode();return t&&(t="\n\n"+t+"\n"),this.name+": "+this.message+t},i}(a(Error)),p=f;e.default=p,t.exports=e.default},function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r={colon:": ",indent:" ",beforeDecl:"\n",beforeRule:"\n",beforeOpen:" ",beforeClose:"\n",beforeComment:"\n",after:"\n",emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};var o=function(){function t(t){this.builder=t}var e=t.prototype;return e.stringify=function(t,e){this[t.type](t,e)},e.root=function(t){this.body(t),t.raws.after&&this.builder(t.raws.after)},e.comment=function(t){var e=this.raw(t,"left","commentLeft"),n=this.raw(t,"right","commentRight");this.builder("/*"+e+t.text+n+"*/",t)},e.decl=function(t,e){var n=this.raw(t,"between","colon"),r=t.prop+n+this.rawValue(t,"value");t.important&&(r+=t.raws.important||" !important"),e&&(r+=";"),this.builder(r,t)},e.rule=function(t){this.block(t,this.rawValue(t,"selector")),t.raws.ownSemicolon&&this.builder(t.raws.ownSemicolon,t,"end")},e.atrule=function(t,e){var n="@"+t.name,r=t.params?this.rawValue(t,"params"):"";if(void 0!==t.raws.afterName?n+=t.raws.afterName:r&&(n+=" "),t.nodes)this.block(t,n+r);else{var o=(t.raws.between||"")+(e?";":"");this.builder(n+r+o,t)}},e.body=function(t){for(var e=t.nodes.length-1;e>0&&"comment"===t.nodes[e].type;)e-=1;for(var n=this.raw(t,"semicolon"),r=0;r<t.nodes.length;r++){var o=t.nodes[r],i=this.raw(o,"before");i&&this.builder(i),this.stringify(o,e!==r||n)}},e.block=function(t,e){var n,r=this.raw(t,"between","beforeOpen");this.builder(e+r+"{",t,"start"),t.nodes&&t.nodes.length?(this.body(t),n=this.raw(t,"after")):n=this.raw(t,"after","emptyBody"),n&&this.builder(n),this.builder("}",t,"end")},e.raw=function(t,e,n){var o;if(n||(n=e),e&&(o=t.raws[e],void 0!==o))return o;var i=t.parent;if("before"===n&&(!i||"root"===i.type&&i.first===t))return"";if(!i)return r[n];var a=t.root();if(a.rawCache||(a.rawCache={}),void 0!==a.rawCache[n])return a.rawCache[n];if("before"===n||"after"===n)return this.beforeAfter(t,n);var u,s="raw"+(u=n,u[0].toUpperCase()+u.slice(1));return this[s]?o=this[s](a,t):a.walk((function(t){if(o=t.raws[e],void 0!==o)return!1})),void 0===o&&(o=r[n]),a.rawCache[n]=o,o},e.rawSemicolon=function(t){var e;return t.walk((function(t){if(t.nodes&&t.nodes.length&&"decl"===t.last.type&&(e=t.raws.semicolon,void 0!==e))return!1})),e},e.rawEmptyBody=function(t){var e;return t.walk((function(t){if(t.nodes&&0===t.nodes.length&&(e=t.raws.after,void 0!==e))return!1})),e},e.rawIndent=function(t){return t.raws.indent?t.raws.indent:(t.walk((function(n){var r=n.parent;if(r&&r!==t&&r.parent&&r.parent===t&&void 0!==n.raws.before){var o=n.raws.before.split("\n");return e=o[o.length-1],e=e.replace(/[^\s]/g,""),!1}})),e);var e},e.rawBeforeComment=function(t,e){var n;return t.walkComments((function(t){if(void 0!==t.raws.before)return n=t.raws.before,-1!==n.indexOf("\n")&&(n=n.replace(/[^\n]+$/,"")),!1})),void 0===n?n=this.raw(e,null,"beforeDecl"):n&&(n=n.replace(/[^\s]/g,"")),n},e.rawBeforeDecl=function(t,e){var n;return t.walkDecls((function(t){if(void 0!==t.raws.before)return n=t.raws.before,-1!==n.indexOf("\n")&&(n=n.replace(/[^\n]+$/,"")),!1})),void 0===n?n=this.raw(e,null,"beforeRule"):n&&(n=n.replace(/[^\s]/g,"")),n},e.rawBeforeRule=function(t){var e;return t.walk((function(n){if(n.nodes&&(n.parent!==t||t.first!==n)&&void 0!==n.raws.before)return e=n.raws.before,-1!==e.indexOf("\n")&&(e=e.replace(/[^\n]+$/,"")),!1})),e&&(e=e.replace(/[^\s]/g,"")),e},e.rawBeforeClose=function(t){var e;return t.walk((function(t){if(t.nodes&&t.nodes.length>0&&void 0!==t.raws.after)return e=t.raws.after,-1!==e.indexOf("\n")&&(e=e.replace(/[^\n]+$/,"")),!1})),e&&(e=e.replace(/[^\s]/g,"")),e},e.rawBeforeOpen=function(t){var e;return t.walk((function(t){if("decl"!==t.type&&(e=t.raws.between,void 0!==e))return!1})),e},e.rawColon=function(t){var e;return t.walkDecls((function(t){if(void 0!==t.raws.between)return e=t.raws.between.replace(/[^\s:]/g,""),!1})),e},e.beforeAfter=function(t,e){var n;n="decl"===t.type?this.raw(t,null,"beforeDecl"):"comment"===t.type?this.raw(t,null,"beforeComment"):"before"===e?this.raw(t,null,"beforeRule"):this.raw(t,null,"beforeClose");for(var r=t.parent,o=0;r&&"root"!==r.type;)o+=1,r=r.parent;if(-1!==n.indexOf("\n")){var i=this.raw(t,null,"indent");if(i.length)for(var a=0;a<o;a++)n+=i}return n},e.rawValue=function(t,e){var n=t[e],r=t.raws[e];return r&&r.value===n?r.raw:n},t}(),i=o;e.default=i,t.exports=e.default},function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r,o=(r=n(65),r&&r.__esModule?r:{default:r});function i(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return a(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return n=t[Symbol.iterator](),n.next.bind(n)}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var u=function(){function t(t){void 0===t&&(t=[]),this.version="7.0.39",this.plugins=this.normalize(t)}var e=t.prototype;return e.use=function(t){return this.plugins=this.plugins.concat(this.normalize([t])),this},e.process=function(t){function e(e){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(t,e){return void 0===e&&(e={}),0===this.plugins.length&&(e.parser,e.stringifier),new o.default(this,t,e)})),e.normalize=function(t){for(var e,n=[],r=i(t);!(e=r()).done;){var o=e.value;if(!0===o.postcss){var a=o();throw new Error("PostCSS plugin "+a.postcssPlugin+" requires PostCSS 8.\nMigration guide for end-users:\nhttps://github.com/postcss/postcss/wiki/PostCSS-8-for-end-users")}if(o.postcss&&(o=o.postcss),"object"==typeof o&&Array.isArray(o.plugins))n=n.concat(o.plugins);else if("function"==typeof o)n.push(o);else{if("object"!=typeof o||!o.parse&&!o.stringify)throw"object"==typeof o&&o.postcssPlugin?new Error("PostCSS plugin "+o.postcssPlugin+" requires PostCSS 8.\nMigration guide for end-users:\nhttps://github.com/postcss/postcss/wiki/PostCSS-8-for-end-users"):new Error(o+" is not a PostCSS plugin")}}return n},t}(),s=u;e.default=s,t.exports=e.default},function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r=u(n(135)),o=u(n(37)),i=(u(n(145)),u(n(146))),a=u(n(39));function u(t){return t&&t.__esModule?t:{default:t}}function s(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return c(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return n=t[Symbol.iterator](),n.next.bind(n)}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function l(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function f(t){return"object"==typeof t&&"function"==typeof t.then}var p=function(){function t(e,n,r){var o;if(this.stringified=!1,this.processed=!1,"object"==typeof n&&null!==n&&"root"===n.type)o=n;else if(n instanceof t||n instanceof i.default)o=n.root,n.map&&(void 0===r.map&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=n.map);else{var u=a.default;r.syntax&&(u=r.syntax.parse),r.parser&&(u=r.parser),u.parse&&(u=u.parse);try{o=u(n,r)}catch(s){this.error=s}}this.result=new i.default(e,o,r)}var e,n,u,c=t.prototype;return c.warnings=function(){return this.sync().warnings()},c.toString=function(){return this.css},c.then=function(t,e){return this.async().then(t,e)},c.catch=function(t){return this.async().catch(t)},c.finally=function(t){return this.async().then(t,t)},c.handleError=function(t,e){try{if(this.error=t,"CssSyntaxError"!==t.name||t.plugin){if(e.postcssVersion);}else t.plugin=e.postcssPlugin,t.setMessage()}catch(n){console&&console.error&&console.error(n)}},c.asyncTick=function(t,e){var n=this;if(this.plugin>=this.processor.plugins.length)return this.processed=!0,t();try{var r=this.processor.plugins[this.plugin],o=this.run(r);this.plugin+=1,f(o)?o.then((function(){n.asyncTick(t,e)})).catch((function(t){n.handleError(t,r),n.processed=!0,e(t)})):this.asyncTick(t,e)}catch(i){this.processed=!0,e(i)}},c.async=function(){var t=this;return this.processed?new Promise((function(e,n){t.error?n(t.error):e(t.stringify())})):(this.processing||(this.processing=new Promise((function(e,n){if(t.error)return n(t.error);t.plugin=0,t.asyncTick(e,n)})).then((function(){return t.processed=!0,t.stringify()}))),this.processing)},c.sync=function(){if(this.processed)return this.result;if(this.processed=!0,this.processing)throw new Error("Use process(css).then(cb) to work with async plugins");if(this.error)throw this.error;for(var t,e=s(this.result.processor.plugins);!(t=e()).done;){var n=t.value,r=this.run(n);if(f(r))throw new Error("Use process(css).then(cb) to work with async plugins")}return this.result},c.run=function(t){this.result.lastPlugin=t;try{return t(this.result.root,this.result)}catch(e){throw this.handleError(e,t),e}},c.stringify=function(){if(this.stringified)return this.result;this.stringified=!0,this.sync();var t=this.result.opts,e=o.default;t.syntax&&(e=t.syntax.stringify),t.stringifier&&(e=t.stringifier),e.stringify&&(e=e.stringify);var n=new r.default(e,this.result.root,this.result.opts),i=n.generate();return this.result.css=i[0],this.result.map=i[1],this.result},e=t,n=[{key:"processor",get:function(){return this.result.processor}},{key:"opts",get:function(){return this.result.opts}},{key:"css",get:function(){return this.stringify().css}},{key:"content",get:function(){return this.stringify().content}},{key:"map",get:function(){return this.stringify().map}},{key:"root",get:function(){return this.sync().root}},{key:"messages",get:function(){return this.sync().messages}}],n&&l(e.prototype,n),u&&l(e,u),t}(),h=p;e.default=h,t.exports=e.default},function(t,e,n){"use strict";(function(t){
7
- /*!
8
- * The buffer module from node.js, for the browser.
9
- *
10
- * @author Feross Aboukhadijeh <http://feross.org>
11
- * @license MIT
12
- */
13
- var r=n(136),o=n(137),i=n(138);function a(){return s.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function u(t,e){if(a()<e)throw new RangeError("Invalid typed array length");return s.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e),t.__proto__=s.prototype):(null===t&&(t=new s(e)),t.length=e),t}function s(t,e,n){if(!(s.TYPED_ARRAY_SUPPORT||this instanceof s))return new s(t,e,n);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return f(this,t)}return c(this,t,e,n)}function c(t,e,n,r){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,n,r){if(e.byteLength,n<0||e.byteLength<n)throw new RangeError("'offset' is out of bounds");if(e.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");e=void 0===n&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,n):new Uint8Array(e,n,r);s.TYPED_ARRAY_SUPPORT?(t=e,t.__proto__=s.prototype):t=p(t,e);return t}(t,e,n,r):"string"==typeof e?function(t,e,n){"string"==typeof n&&""!==n||(n="utf8");if(!s.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|d(e,n);t=u(t,r);var o=t.write(e,n);o!==r&&(t=t.slice(0,o));return t}(t,e,n):function(t,e){if(s.isBuffer(e)){var n=0|h(e.length);return t=u(t,n),0===t.length?t:(e.copy(t,0,0,n),t)}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||(r=e.length,r!=r)?u(t,0):p(t,e);if("Buffer"===e.type&&i(e.data))return p(t,e.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function l(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function f(t,e){if(l(e),t=u(t,e<0?0:0|h(e)),!s.TYPED_ARRAY_SUPPORT)for(var n=0;n<e;++n)t[n]=0;return t}function p(t,e){var n=e.length<0?0:0|h(e.length);t=u(t,n);for(var r=0;r<n;r+=1)t[r]=255&e[r];return t}function h(t){if(t>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|t}function d(t,e){if(s.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return F(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return G(t).length;default:if(r)return F(t).length;e=(""+e).toLowerCase(),r=!0}}function v(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,e>>>=0,n<=e)return"";for(t||(t="utf8");;)switch(t){case"hex":return L(this,e,n);case"utf8":case"utf-8":return A(this,e,n);case"ascii":return j(this,e,n);case"latin1":case"binary":return C(this,e,n);case"base64":return S(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function g(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function m(t,e,n,r,o){if(0===t.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(o)return-1;n=t.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof e&&(e=s.from(e,r)),s.isBuffer(e))return 0===e.length?-1:y(t,e,n,r,o);if("number"==typeof e)return e&=255,s.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):y(t,[e],n,r,o);throw new TypeError("val must be string, number or Buffer")}function y(t,e,n,r,o){var i,a=1,u=t.length,s=e.length;if(void 0!==r&&(r=String(r).toLowerCase(),"ucs2"===r||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;a=2,u/=2,s/=2,n/=2}function c(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(o){var l=-1;for(i=n;i<u;i++)if(c(t,i)===c(e,-1===l?0:i-l)){if(-1===l&&(l=i),i-l+1===s)return l*a}else-1!==l&&(i-=i-l),l=-1}else for(n+s>u&&(n=u-s),i=n;i>=0;i--){for(var f=!0,p=0;p<s;p++)if(c(t,i+p)!==c(e,p)){f=!1;break}if(f)return i}return-1}function w(t,e,n,r){n=Number(n)||0;var o=t.length-n;r?(r=Number(r),r>o&&(r=o)):r=o;var i=e.length;if(i%2!=0)throw new TypeError("Invalid hex string");r>i/2&&(r=i/2);for(var a=0;a<r;++a){var u=parseInt(e.substr(2*a,2),16);if(isNaN(u))return a;t[n+a]=u}return a}function b(t,e,n,r){return W(F(e,t.length-n),t,n,r)}function O(t,e,n,r){return W(function(t){for(var e=[],n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}(e),t,n,r)}function E(t,e,n,r){return O(t,e,n,r)}function _(t,e,n,r){return W(G(e),t,n,r)}function x(t,e,n,r){return W(function(t,e){for(var n,r,o,i=[],a=0;a<t.length&&!((e-=2)<0);++a)n=t.charCodeAt(a),r=n>>8,o=n%256,i.push(o),i.push(r);return i}(e,t.length-n),t,n,r)}function S(t,e,n){return 0===e&&n===t.length?r.fromByteArray(t):r.fromByteArray(t.slice(e,n))}function A(t,e,n){n=Math.min(t.length,n);for(var r=[],o=e;o<n;){var i,a,u,s,c=t[o],l=null,f=c>239?4:c>223?3:c>191?2:1;if(o+f<=n)switch(f){case 1:c<128&&(l=c);break;case 2:i=t[o+1],128==(192&i)&&(s=(31&c)<<6|63&i,s>127&&(l=s));break;case 3:i=t[o+1],a=t[o+2],128==(192&i)&&128==(192&a)&&(s=(15&c)<<12|(63&i)<<6|63&a,s>2047&&(s<55296||s>57343)&&(l=s));break;case 4:i=t[o+1],a=t[o+2],u=t[o+3],128==(192&i)&&128==(192&a)&&128==(192&u)&&(s=(15&c)<<18|(63&i)<<12|(63&a)<<6|63&u,s>65535&&s<1114112&&(l=s))}null===l?(l=65533,f=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),o+=f}return function(t){var e=t.length;if(e<=4096)return String.fromCharCode.apply(String,t);var n="",r=0;for(;r<e;)n+=String.fromCharCode.apply(String,t.slice(r,r+=4096));return n}(r)}e.Buffer=s,e.SlowBuffer=function(t){+t!=t&&(t=0);return s.alloc(+t)},e.INSPECT_MAX_BYTES=50,s.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(e){return!1}}(),e.kMaxLength=a(),s.poolSize=8192,s._augment=function(t){return t.__proto__=s.prototype,t},s.from=function(t,e,n){return c(null,t,e,n)},s.TYPED_ARRAY_SUPPORT&&(s.prototype.__proto__=Uint8Array.prototype,s.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&s[Symbol.species]===s&&Object.defineProperty(s,Symbol.species,{value:null,configurable:!0})),s.alloc=function(t,e,n){return function(t,e,n,r){return l(e),e<=0?u(t,e):void 0!==n?"string"==typeof r?u(t,e).fill(n,r):u(t,e).fill(n):u(t,e)}(null,t,e,n)},s.allocUnsafe=function(t){return f(null,t)},s.allocUnsafeSlow=function(t){return f(null,t)},s.isBuffer=function(t){return!(null==t||!t._isBuffer)},s.compare=function(t,e){if(!s.isBuffer(t)||!s.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,r=e.length,o=0,i=Math.min(n,r);o<i;++o)if(t[o]!==e[o]){n=t[o],r=e[o];break}return n<r?-1:r<n?1:0},s.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(t,e){if(!i(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return s.alloc(0);var n;if(void 0===e)for(e=0,n=0;n<t.length;++n)e+=t[n].length;var r=s.allocUnsafe(e),o=0;for(n=0;n<t.length;++n){var a=t[n];if(!s.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,o),o+=a.length}return r},s.byteLength=d,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)g(this,e,e+1);return this},s.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)g(this,e,e+3),g(this,e+1,e+2);return this},s.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)g(this,e,e+7),g(this,e+1,e+6),g(this,e+2,e+5),g(this,e+3,e+4);return this},s.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?A(this,0,t):v.apply(this,arguments)},s.prototype.equals=function(t){if(!s.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===s.compare(this,t)},s.prototype.inspect=function(){var t="",n=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),"<Buffer "+t+">"},s.prototype.compare=function(t,e,n,r,o){if(!s.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),e<0||n>t.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&e>=n)return 0;if(r>=o)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,r>>>=0,o>>>=0,this===t)return 0;for(var i=o-r,a=n-e,u=Math.min(i,a),c=this.slice(r,o),l=t.slice(e,n),f=0;f<u;++f)if(c[f]!==l[f]){i=c[f],a=l[f];break}return i<a?-1:a<i?1:0},s.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},s.prototype.indexOf=function(t,e,n){return m(this,t,e,n,!0)},s.prototype.lastIndexOf=function(t,e,n){return m(this,t,e,n,!1)},s.prototype.write=function(t,e,n,r){if(void 0===e)r="utf8",n=this.length,e=0;else if(void 0===n&&"string"==typeof e)r=e,n=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var o=this.length-e;if((void 0===n||n>o)&&(n=o),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return w(this,t,e,n);case"utf8":case"utf-8":return b(this,t,e,n);case"ascii":return O(this,t,e,n);case"latin1":case"binary":return E(this,t,e,n);case"base64":return _(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return x(this,t,e,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function j(t,e,n){var r="";n=Math.min(t.length,n);for(var o=e;o<n;++o)r+=String.fromCharCode(127&t[o]);return r}function C(t,e,n){var r="";n=Math.min(t.length,n);for(var o=e;o<n;++o)r+=String.fromCharCode(t[o]);return r}function L(t,e,n){var r=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>r)&&(n=r);for(var o="",i=e;i<n;++i)o+=B(t[i]);return o}function P(t,e,n){for(var r=t.slice(e,n),o="",i=0;i<r.length;i+=2)o+=String.fromCharCode(r[i]+256*r[i+1]);return o}function R(t,e,n){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>n)throw new RangeError("Trying to access beyond buffer length")}function k(t,e,n,r,o,i){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||e<i)throw new RangeError('"value" argument is out of bounds');if(n+r>t.length)throw new RangeError("Index out of range")}function N(t,e,n,r){e<0&&(e=65535+e+1);for(var o=0,i=Math.min(t.length-n,2);o<i;++o)t[n+o]=(e&255<<8*(r?o:1-o))>>>8*(r?o:1-o)}function T(t,e,n,r){e<0&&(e=4294967295+e+1);for(var o=0,i=Math.min(t.length-n,4);o<i;++o)t[n+o]=e>>>8*(r?o:3-o)&255}function M(t,e,n,r,o,i){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function U(t,e,n,r,i){return i||M(t,0,n,4),o.write(t,e,n,r,23,4),n+4}function I(t,e,n,r,i){return i||M(t,0,n,8),o.write(t,e,n,r,52,8),n+8}s.prototype.slice=function(t,e){var n,r=this.length;if(t=~~t,e=void 0===e?r:~~e,t<0?(t+=r,t<0&&(t=0)):t>r&&(t=r),e<0?(e+=r,e<0&&(e=0)):e>r&&(e=r),e<t&&(e=t),s.TYPED_ARRAY_SUPPORT)n=this.subarray(t,e),n.__proto__=s.prototype;else{var o=e-t;n=new s(o,void 0);for(var i=0;i<o;++i)n[i]=this[i+t]}return n},s.prototype.readUIntLE=function(t,e,n){t|=0,e|=0,n||R(t,e,this.length);for(var r=this[t],o=1,i=0;++i<e&&(o*=256);)r+=this[t+i]*o;return r},s.prototype.readUIntBE=function(t,e,n){t|=0,e|=0,n||R(t,e,this.length);for(var r=this[t+--e],o=1;e>0&&(o*=256);)r+=this[t+--e]*o;return r},s.prototype.readUInt8=function(t,e){return e||R(t,1,this.length),this[t]},s.prototype.readUInt16LE=function(t,e){return e||R(t,2,this.length),this[t]|this[t+1]<<8},s.prototype.readUInt16BE=function(t,e){return e||R(t,2,this.length),this[t]<<8|this[t+1]},s.prototype.readUInt32LE=function(t,e){return e||R(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},s.prototype.readUInt32BE=function(t,e){return e||R(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},s.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||R(t,e,this.length);for(var r=this[t],o=1,i=0;++i<e&&(o*=256);)r+=this[t+i]*o;return o*=128,r>=o&&(r-=Math.pow(2,8*e)),r},s.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||R(t,e,this.length);for(var r=e,o=1,i=this[t+--r];r>0&&(o*=256);)i+=this[t+--r]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*e)),i},s.prototype.readInt8=function(t,e){return e||R(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},s.prototype.readInt16LE=function(t,e){e||R(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt16BE=function(t,e){e||R(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt32LE=function(t,e){return e||R(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},s.prototype.readInt32BE=function(t,e){return e||R(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},s.prototype.readFloatLE=function(t,e){return e||R(t,4,this.length),o.read(this,t,!0,23,4)},s.prototype.readFloatBE=function(t,e){return e||R(t,4,this.length),o.read(this,t,!1,23,4)},s.prototype.readDoubleLE=function(t,e){return e||R(t,8,this.length),o.read(this,t,!0,52,8)},s.prototype.readDoubleBE=function(t,e){return e||R(t,8,this.length),o.read(this,t,!1,52,8)},s.prototype.writeUIntLE=function(t,e,n,r){if(t=+t,e|=0,n|=0,!r){var o=Math.pow(2,8*n)-1;k(this,t,e,n,o,0)}var i=1,a=0;for(this[e]=255&t;++a<n&&(i*=256);)this[e+a]=t/i&255;return e+n},s.prototype.writeUIntBE=function(t,e,n,r){if(t=+t,e|=0,n|=0,!r){var o=Math.pow(2,8*n)-1;k(this,t,e,n,o,0)}var i=n-1,a=1;for(this[e+i]=255&t;--i>=0&&(a*=256);)this[e+i]=t/a&255;return e+n},s.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||k(this,t,e,1,255,0),s.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},s.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||k(this,t,e,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):N(this,t,e,!0),e+2},s.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||k(this,t,e,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):N(this,t,e,!1),e+2},s.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||k(this,t,e,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):T(this,t,e,!0),e+4},s.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||k(this,t,e,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):T(this,t,e,!1),e+4},s.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var o=Math.pow(2,8*n-1);k(this,t,e,n,o-1,-o)}var i=0,a=1,u=0;for(this[e]=255&t;++i<n&&(a*=256);)t<0&&0===u&&0!==this[e+i-1]&&(u=1),this[e+i]=(t/a>>0)-u&255;return e+n},s.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var o=Math.pow(2,8*n-1);k(this,t,e,n,o-1,-o)}var i=n-1,a=1,u=0;for(this[e+i]=255&t;--i>=0&&(a*=256);)t<0&&0===u&&0!==this[e+i+1]&&(u=1),this[e+i]=(t/a>>0)-u&255;return e+n},s.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||k(this,t,e,1,127,-128),s.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},s.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||k(this,t,e,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):N(this,t,e,!0),e+2},s.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||k(this,t,e,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):N(this,t,e,!1),e+2},s.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||k(this,t,e,4,2147483647,-2147483648),s.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):T(this,t,e,!0),e+4},s.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||k(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),s.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):T(this,t,e,!1),e+4},s.prototype.writeFloatLE=function(t,e,n){return U(this,t,e,!0,n)},s.prototype.writeFloatBE=function(t,e,n){return U(this,t,e,!1,n)},s.prototype.writeDoubleLE=function(t,e,n){return I(this,t,e,!0,n)},s.prototype.writeDoubleBE=function(t,e,n){return I(this,t,e,!1,n)},s.prototype.copy=function(t,e,n,r){if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e<r-n&&(r=t.length-e+n);var o,i=r-n;if(this===t&&n<e&&e<r)for(o=i-1;o>=0;--o)t[o+e]=this[o+n];else if(i<1e3||!s.TYPED_ARRAY_SUPPORT)for(o=0;o<i;++o)t[o+e]=this[o+n];else Uint8Array.prototype.set.call(t,this.subarray(n,n+i),e);return i},s.prototype.fill=function(t,e,n,r){if("string"==typeof t){if("string"==typeof e?(r=e,e=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===t.length){var o=t.charCodeAt(0);o<256&&(t=o)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!s.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;var i;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(i=e;i<n;++i)this[i]=t;else{var a=s.isBuffer(t)?t:F(new s(t,r).toString()),u=a.length;for(i=0;i<n-e;++i)this[i+e]=a[i%u]}return this};var D=/[^+\/0-9A-Za-z-_]/g;function B(t){return t<16?"0"+t.toString(16):t.toString(16)}function F(t,e){var n;e=e||1/0;for(var r=t.length,o=null,i=[],a=0;a<r;++a){if(n=t.charCodeAt(a),n>55295&&n<57344){if(!o){if(n>56319){(e-=3)>-1&&i.push(239,191,189);continue}if(a+1===r){(e-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(e-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((e-=1)<0)break;i.push(n)}else if(n<2048){if((e-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function G(t){return r.toByteArray(function(t){if(t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(D,""),t.length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function W(t,e,n,r){for(var o=0;o<r&&!(o+n>=e.length||o>=t.length);++o)e[o+n]=t[o];return o}}).call(this,n(19))},function(t,e,n){e.SourceMapGenerator=n(68).SourceMapGenerator,e.SourceMapConsumer=n(141).SourceMapConsumer,e.SourceNode=n(144).SourceNode},function(t,e,n){var r=n(69),o=n(20),i=n(70).ArraySet,a=n(140).MappingList;function u(t){t||(t={}),this._file=o.getArg(t,"file",null),this._sourceRoot=o.getArg(t,"sourceRoot",null),this._skipValidation=o.getArg(t,"skipValidation",!1),this._sources=new i,this._names=new i,this._mappings=new a,this._sourcesContents=null}u.prototype._version=3,u.fromSourceMap=function(t){var e=t.sourceRoot,n=new u({file:t.file,sourceRoot:e});return t.eachMapping((function(t){var r={generated:{line:t.generatedLine,column:t.generatedColumn}};null!=t.source&&(r.source=t.source,null!=e&&(r.source=o.relative(e,r.source)),r.original={line:t.originalLine,column:t.originalColumn},null!=t.name&&(r.name=t.name)),n.addMapping(r)})),t.sources.forEach((function(r){var i=r;null!==e&&(i=o.relative(e,r)),n._sources.has(i)||n._sources.add(i);var a=t.sourceContentFor(r);null!=a&&n.setSourceContent(r,a)})),n},u.prototype.addMapping=function(t){var e=o.getArg(t,"generated"),n=o.getArg(t,"original",null),r=o.getArg(t,"source",null),i=o.getArg(t,"name",null);this._skipValidation||this._validateMapping(e,n,r,i),null!=r&&(r=String(r),this._sources.has(r)||this._sources.add(r)),null!=i&&(i=String(i),this._names.has(i)||this._names.add(i)),this._mappings.add({generatedLine:e.line,generatedColumn:e.column,originalLine:null!=n&&n.line,originalColumn:null!=n&&n.column,source:r,name:i})},u.prototype.setSourceContent=function(t,e){var n=t;null!=this._sourceRoot&&(n=o.relative(this._sourceRoot,n)),null!=e?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[o.toSetString(n)]=e):this._sourcesContents&&(delete this._sourcesContents[o.toSetString(n)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},u.prototype.applySourceMap=function(t,e,n){var r=e;if(null==e){if(null==t.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');r=t.file}var a=this._sourceRoot;null!=a&&(r=o.relative(a,r));var u=new i,s=new i;this._mappings.unsortedForEach((function(e){if(e.source===r&&null!=e.originalLine){var i=t.originalPositionFor({line:e.originalLine,column:e.originalColumn});null!=i.source&&(e.source=i.source,null!=n&&(e.source=o.join(n,e.source)),null!=a&&(e.source=o.relative(a,e.source)),e.originalLine=i.line,e.originalColumn=i.column,null!=i.name&&(e.name=i.name))}var c=e.source;null==c||u.has(c)||u.add(c);var l=e.name;null==l||s.has(l)||s.add(l)}),this),this._sources=u,this._names=s,t.sources.forEach((function(e){var r=t.sourceContentFor(e);null!=r&&(null!=n&&(e=o.join(n,e)),null!=a&&(e=o.relative(a,e)),this.setSourceContent(e,r))}),this)},u.prototype._validateMapping=function(t,e,n,r){if(e&&"number"!=typeof e.line&&"number"!=typeof e.column)throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if((!(t&&"line"in t&&"column"in t&&t.line>0&&t.column>=0)||e||n||r)&&!(t&&"line"in t&&"column"in t&&e&&"line"in e&&"column"in e&&t.line>0&&t.column>=0&&e.line>0&&e.column>=0&&n))throw new Error("Invalid mapping: "+JSON.stringify({generated:t,source:n,original:e,name:r}))},u.prototype._serializeMappings=function(){for(var t,e,n,i,a=0,u=1,s=0,c=0,l=0,f=0,p="",h=this._mappings.toArray(),d=0,v=h.length;d<v;d++){if(e=h[d],t="",e.generatedLine!==u)for(a=0;e.generatedLine!==u;)t+=";",u++;else if(d>0){if(!o.compareByGeneratedPositionsInflated(e,h[d-1]))continue;t+=","}t+=r.encode(e.generatedColumn-a),a=e.generatedColumn,null!=e.source&&(i=this._sources.indexOf(e.source),t+=r.encode(i-f),f=i,t+=r.encode(e.originalLine-1-c),c=e.originalLine-1,t+=r.encode(e.originalColumn-s),s=e.originalColumn,null!=e.name&&(n=this._names.indexOf(e.name),t+=r.encode(n-l),l=n)),p+=t}return p},u.prototype._generateSourcesContent=function(t,e){return t.map((function(t){if(!this._sourcesContents)return null;null!=e&&(t=o.relative(e,t));var n=o.toSetString(t);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null}),this)},u.prototype.toJSON=function(){var t={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(t.file=this._file),null!=this._sourceRoot&&(t.sourceRoot=this._sourceRoot),this._sourcesContents&&(t.sourcesContent=this._generateSourcesContent(t.sources,t.sourceRoot)),t},u.prototype.toString=function(){return JSON.stringify(this.toJSON())},e.SourceMapGenerator=u},function(t,e,n){var r=n(139);e.encode=function(t){var e,n="",o=function(t){return t<0?1+(-t<<1):0+(t<<1)}(t);do{e=31&o,o>>>=5,o>0&&(e|=32),n+=r.encode(e)}while(o>0);return n},e.decode=function(t,e,n){var o,i,a,u,s,c=t.length,l=0,f=0;do{if(e>=c)throw new Error("Expected more digits in base 64 VLQ value.");if(i=r.decode(t.charCodeAt(e++)),-1===i)throw new Error("Invalid base64 digit: "+t.charAt(e-1));o=!!(32&i),i&=31,l+=i<<f,f+=5}while(o);n.value=(a=l,u=1==(1&a),s=a>>1,u?-s:s),n.rest=e}},function(t,e,n){var r=n(20),o=Object.prototype.hasOwnProperty,i="undefined"!=typeof Map;function a(){this._array=[],this._set=i?new Map:Object.create(null)}a.fromArray=function(t,e){for(var n=new a,r=0,o=t.length;r<o;r++)n.add(t[r],e);return n},a.prototype.size=function(){return i?this._set.size:Object.getOwnPropertyNames(this._set).length},a.prototype.add=function(t,e){var n=i?t:r.toSetString(t),a=i?this.has(t):o.call(this._set,n),u=this._array.length;a&&!e||this._array.push(t),a||(i?this._set.set(t,u):this._set[n]=u)},a.prototype.has=function(t){if(i)return this._set.has(t);var e=r.toSetString(t);return o.call(this._set,e)},a.prototype.indexOf=function(t){if(i){var e=this._set.get(t);if(e>=0)return e}else{var n=r.toSetString(t);if(o.call(this._set,n))return this._set[n]}throw new Error('"'+t+'" is not in the set.')},a.prototype.at=function(t){if(t>=0&&t<this._array.length)return this._array[t];throw new Error("No element indexed by "+t)},a.prototype.toArray=function(){return this._array.slice()},e.ArraySet=a},function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r={split:function(t,e,n){for(var r=[],o="",i=!1,a=0,u=!1,s=!1,c=0;c<t.length;c++){var l=t[c];u?s?s=!1:"\\"===l?s=!0:l===u&&(u=!1):'"'===l||"'"===l?u=l:"("===l?a+=1:")"===l?a>0&&(a-=1):0===a&&-1!==e.indexOf(l)&&(i=!0),i?(""!==o&&r.push(o.trim()),o="",i=!1):o+=l}return(n||""!==o)&&r.push(o.trim()),r},space:function(t){return r.split(t,[" ","\n","\t"])},comma:function(t){return r.split(t,[","],!0)}},o=r;e.default=o,t.exports=e.default},function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r,o=(r=n(42),r&&r.__esModule?r:{default:r});function i(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return a(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return n=t[Symbol.iterator](),n.next.bind(n)}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var u=function(t){var e,r;function o(e){var n;return n=t.call(this,e)||this,n.type="root",n.nodes||(n.nodes=[]),n}e=o,r=t,e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var a=o.prototype;return a.removeChild=function(e,n){var r=this.index(e);return!n&&0===r&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),t.prototype.removeChild.call(this,e)},a.normalize=function(e,n,r){var o=t.prototype.normalize.call(this,e);if(n)if("prepend"===r)this.nodes.length>1?n.raws.before=this.nodes[1].raws.before:delete n.raws.before;else if(this.first!==n)for(var a,u=i(o);!(a=u()).done;){var s=a.value;s.raws.before=n.raws.before}return o},a.toResult=function(t){void 0===t&&(t={});var e=n(65),r=n(64),o=new e(new r,this,t);return o.stringify()},o}(o.default),s=u;e.default=s,t.exports=e.default},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)}}},function(t,e,n){"use strict";var r=n(7);function o(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 i;if(n)i=n(e);else if(r.isURLSearchParams(e))i=e.toString();else{var a=[];r.forEach(e,(function(t,e){null!=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)),a.push(o(e)+"="+o(t))})))})),i=a.join("&")}if(i){var u=t.indexOf("#");-1!==u&&(t=t.slice(0,u)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}},function(t,e,n){"use strict";t.exports=function(t,e,n,r,o){return t.config=e,n&&(t.code=n),t.request=r,t.response=o,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},t}},function(t,e,n){"use strict";var r=n(7),o=n(168),i=n(169),a=n(74),u=n(170),s=n(173),c=n(174),l=n(77);t.exports=function(t){return new Promise((function(e,n){var f=t.data,p=t.headers,h=t.responseType;r.isFormData(f)&&delete p["Content-Type"];var d=new XMLHttpRequest;if(t.auth){var v=t.auth.username||"",g=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";p.Authorization="Basic "+btoa(v+":"+g)}var m=u(t.baseURL,t.url);function y(){if(d){var r="getAllResponseHeaders"in d?s(d.getAllResponseHeaders()):null,i=h&&"text"!==h&&"json"!==h?d.response:d.responseText,a={data:i,status:d.status,statusText:d.statusText,headers:r,config:t,request:d};o(e,n,a),d=null}}if(d.open(t.method.toUpperCase(),a(m,t.params,t.paramsSerializer),!0),d.timeout=t.timeout,"onloadend"in d?d.onloadend=y:d.onreadystatechange=function(){d&&4===d.readyState&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))&&setTimeout(y)},d.onabort=function(){d&&(n(l("Request aborted",t,"ECONNABORTED",d)),d=null)},d.onerror=function(){n(l("Network Error",t,null,d)),d=null},d.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(l(e,t,t.transitional&&t.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",d)),d=null},r.isStandardBrowserEnv()){var w=(t.withCredentials||c(m))&&t.xsrfCookieName?i.read(t.xsrfCookieName):void 0;w&&(p[t.xsrfHeaderName]=w)}"setRequestHeader"in d&&r.forEach(p,(function(t,e){void 0===f&&"content-type"===e.toLowerCase()?delete p[e]:d.setRequestHeader(e,t)})),r.isUndefined(t.withCredentials)||(d.withCredentials=!!t.withCredentials),h&&"json"!==h&&(d.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&d.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){d&&(d.abort(),n(t),d=null)})),f||(f=null),d.send(f)}))}},function(t,e,n){"use strict";var r=n(75);t.exports=function(t,e,n,o,i){var a=new Error(t);return r(a,e,n,o,i)}},function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},function(t,e,n){"use strict";var r=n(7);t.exports=function(t,e){e=e||{};var n={},o=["url","method","data"],i=["headers","auth","proxy","params"],a=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],u=["validateStatus"];function s(t,e){return r.isPlainObject(t)&&r.isPlainObject(e)?r.merge(t,e):r.isPlainObject(e)?r.merge({},e):r.isArray(e)?e.slice():e}function c(o){r.isUndefined(e[o])?r.isUndefined(t[o])||(n[o]=s(void 0,t[o])):n[o]=s(t[o],e[o])}r.forEach(o,(function(t){r.isUndefined(e[t])||(n[t]=s(void 0,e[t]))})),r.forEach(i,c),r.forEach(a,(function(o){r.isUndefined(e[o])?r.isUndefined(t[o])||(n[o]=s(void 0,t[o])):n[o]=s(void 0,e[o])})),r.forEach(u,(function(r){r in e?n[r]=s(t[r],e[r]):r in t&&(n[r]=s(void 0,t[r]))}));var l=o.concat(i).concat(a).concat(u),f=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===l.indexOf(t)}));return r.forEach(f,c),n}},function(t,e,n){"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(this,n(19))},function(t,e,n){var r=n(83);t.exports=function(t,e,n){"__proto__"==e&&r?r(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}},function(t,e,n){var r=n(185),o=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(e){}}();t.exports=o},function(t,e,n){var r=n(85),o=n(192),i=n(193);t.exports=function(t,e){return i(o(t,e,r),t+"")}},function(t,e){t.exports=function(t){return t}},function(t,e){t.exports=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}},function(t,e,n){var r=n(47),o=n(48),i=n(89),a=n(25);t.exports=function(t,e,n){if(!a(n))return!1;var u=typeof e;return!!("number"==u?o(n)&&i(e,n.length):"string"==u&&e in n)&&r(n[e],t)}},function(t,e){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},function(t,e){var n=/^(?:0|[1-9]\d*)$/;t.exports=function(t,e){var r=typeof t;return e=null==e?9007199254740991:e,!!e&&("number"==r||"symbol"!=r&&n.test(t))&&t>-1&&t%1==0&&t<e}},function(t,e,n){var r=n(198),o=n(199),i=n(91),a=n(201),u=n(89),s=n(203),c=Object.prototype,l=c.hasOwnProperty;t.exports=function(t,e){var n=i(t),c=!n&&o(t),f=!n&&!c&&a(t),p=!n&&!c&&!f&&s(t),h=n||c||f||p,d=h?r(t.length,String):[],v=d.length;for(var g in t)!e&&!l.call(t,g)||h&&("length"==g||f&&("offset"==g||"parent"==g)||p&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||u(g,v))||d.push(g);return d}},function(t,e){var n=Array.isArray;t.exports=n},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e){var n=Object.prototype;t.exports=function(t){var e=t&&t.constructor,r="function"==typeof e&&e.prototype||n;return t===r}},function(t,e,n){var r=n(15),o=n(16),i=n(210);t.exports=function(t){if(!o(t))return!1;var e=r(t);return"[object Error]"==e||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!i(t)}},function(t,e){t.exports=function(t,e){return function(n){return t(e(n))}}},function(t,e){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o}},function(t,e){t.exports=/<%=([\s\S]+?)%>/g},function(t,e){t.exports=function(t){return function(e){return null==t?void 0:t[e]}}},function(t,e,n){"use strict";(function(t){e.a=function(){var e=window.WidgetWindRuntime&&window.WidgetWindRuntime.version;return e?"v".concat(e.replace(/\./g,"-"),"-"):t.env.STYLE_PREFIX}}).call(this,n(8))},function(t,e,n){var r=n(127),o=n(132);t.exports=function(t){if(!o(t))return!1;var e=r(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},function(t,e,n){"use strict";
14
- /*
15
- object-assign
16
- (c) Sindre Sorhus
17
- @license MIT
18
- */var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(e).map((function(t){return e[t]}));if("0123456789"!==r.join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach((function(t){o[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(i){return!1}}()?Object.assign:function(t,e){for(var n,u,s=a(t),c=1;c<arguments.length;c++){for(var l in n=Object(arguments[c]),n)o.call(n,l)&&(s[l]=n[l]);if(r){u=r(n);for(var f=0;f<u.length;f++)i.call(n,u[f])&&(s[u[f]]=n[u[f]])}}return s}},function(t,e,n){"use strict";var r=/[|\\{}()[\]^$+*?.]/g;t.exports=function(t){if("string"!=typeof t)throw new TypeError("Expected a string");return t.replace(r,"\\$&")}},function(t,e,n){"use strict";var r;n.d(e,"a",(function(){return i})),function(t){t.manifest="manifest",t.performance="performance",t.error="error",t.api="api"}(r||(r={}));var o=function(t){return function(e,n){return{type:t,error:e,meta:n}}},i={manifest:o(r.manifest),api:o(r.api),error:o(r.error),performance:o(r.performance)}},function(t,e,n){var r=n(225),o=r((function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}));t.exports=o},,,function(t,e,n){t.exports=n(233)},function(t,e,n){var r=n(109).default;function o(){"use strict";
19
- /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t.exports=o=function(){return e},t.exports.__esModule=!0,t.exports.default=t.exports;var e={},n=Object.prototype,i=n.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},u=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(L){l=function(t,e,n){return t[e]=n}}function f(t,e,n,r){var o=e&&e.prototype instanceof d?e:d,i=Object.create(o.prototype),a=new A(r||[]);return i._invoke=function(t,e,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return C()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var u=_(a,n);if(u){if(u===h)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=p(t,e,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===h)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}(t,n,a),i}function p(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(L){return{type:"throw",arg:L}}}e.wrap=f;var h={};function d(){}function v(){}function g(){}var m={};l(m,u,(function(){return this}));var y=Object.getPrototypeOf,w=y&&y(y(j([])));w&&w!==n&&i.call(w,u)&&(m=w);var b=g.prototype=d.prototype=Object.create(m);function O(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){var n;this._invoke=function(o,a){function u(){return new e((function(n,u){!function n(o,a,u,s){var c=p(t[o],t,a);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"==r(f)&&i.call(f,"__await")?e.resolve(f.__await).then((function(t){n("next",t,u,s)}),(function(t){n("throw",t,u,s)})):e.resolve(f).then((function(t){l.value=t,u(l)}),(function(t){return n("throw",t,u,s)}))}s(c.arg)}(o,a,n,u)}))}return n=n?n.then(u,u):u()}}function _(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,_(t,e),"throw"===e.method))return h;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var r=p(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,h;var o=r.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,h):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,h)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function j(t){if(t){var e=t[u];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,r=function e(){for(;++n<t.length;)if(i.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return r.next=r}}return{next:C}}function C(){return{value:void 0,done:!0}}return v.prototype=g,l(b,"constructor",g),l(g,"constructor",v),v.displayName=l(g,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===v||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,l(t,c,"GeneratorFunction")),t.prototype=Object.create(b),t},e.awrap=function(t){return{__await:t}},O(E.prototype),l(E.prototype,s,(function(){return this})),e.AsyncIterator=E,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new E(f(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},O(b),l(b,c,"Generator"),l(b,u,(function(){return this})),l(b,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=j,A.prototype={constructor:A,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&i.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],a=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var u=i.call(o,"catchLoc"),s=i.call(o,"finallyLoc");if(u&&s){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,h):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),h},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;S(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:j(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),h}},e}t.exports=o,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){function n(e){return t.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,n(e)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";var r=n(6),o=n(53),i=n(111),a=n(59),u=n(56);function s(t){var e=new i(t),n=o(i.prototype.request,e);return r.extend(n,i.prototype,e),r.extend(n,e),n}var c=s(u);c.Axios=i,c.create=function(t){return s(a(c.defaults,t))},c.Cancel=n(60),c.CancelToken=n(124),c.isCancel=n(55),c.all=function(t){return Promise.all(t)},c.spread=n(125),t.exports=c,t.exports.default=c},function(t,e,n){"use strict";var r=n(6),o=n(54),i=n(112),a=n(113),u=n(59);function s(t){this.defaults=t,this.interceptors={request:new i,response:new i}}s.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{},t.url=arguments[0]):t=t||{},t=u(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=[a,void 0],n=Promise.resolve(t);for(this.interceptors.request.forEach((function(t){e.unshift(t.fulfilled,t.rejected)})),this.interceptors.response.forEach((function(t){e.push(t.fulfilled,t.rejected)}));e.length;)n=n.then(e.shift(),e.shift());return n},s.prototype.getUri=function(t){return t=u(this.defaults,t),o(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(t){s.prototype[t]=function(e,n){return this.request(r.merge(n||{},{method:t,url:e}))}})),r.forEach(["post","put","patch"],(function(t){s.prototype[t]=function(e,n,o){return this.request(r.merge(o||{},{method:t,url:e,data:n}))}})),t.exports=s},function(t,e,n){"use strict";var r=n(6);function o(){this.handlers=[]}o.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){r.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=o},function(t,e,n){"use strict";var r=n(6),o=n(114),i=n(55),a=n(56);function u(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){u(t),t.headers=t.headers||{},t.data=o(t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]}));var e=t.adapter||a.adapter;return e(t).then((function(e){return u(t),e.data=o(e.data,e.headers,t.transformResponse),e}),(function(e){return i(e)||(u(t),e&&e.response&&(e.response.data=o(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},function(t,e,n){"use strict";var r=n(6);t.exports=function(t,e,n){return r.forEach(n,(function(n){t=n(t,e)})),t}},function(t,e,n){"use strict";var r=n(6);t.exports=function(t,e){r.forEach(t,(function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])}))}},function(t,e,n){"use strict";var r=n(58);t.exports=function(t,e,n){var o=n.config.validateStatus;!o||o(n.status)?t(n):e(r("Request failed with status code "+n.status,n.config,null,n.request,n))}},function(t,e,n){"use strict";t.exports=function(t,e,n,r,o){return t.config=e,n&&(t.code=n),t.request=r,t.response=o,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},t}},function(t,e,n){"use strict";var r=n(119),o=n(120);t.exports=function(t,e){return t&&!r(e)?o(t,e):e}},function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},function(t,e,n){"use strict";var r=n(6),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,i,a={};return t?(r.forEach(t.split("\n"),(function(t){if(i=t.indexOf(":"),e=r.trim(t.substr(0,i)).toLowerCase(),n=r.trim(t.substr(i+1)),e){if(a[e]&&o.indexOf(e)>=0)return;a[e]="set-cookie"===e?(a[e]?a[e]:[]).concat([n]):a[e]?a[e]+", "+n:n}})),a):a}},function(t,e,n){"use strict";var r=n(6);t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(t){var r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=o(window.location.href),function(e){var n=r.isString(e)?o(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},function(t,e,n){"use strict";var r=n(6);t.exports=r.isStandardBrowserEnv()?{write:function(t,e,n,o,i,a){var u=[];u.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&u.push("expires="+new Date(n).toGMTString()),r.isString(o)&&u.push("path="+o),r.isString(i)&&u.push("domain="+i),!0===a&&u.push("secure"),document.cookie=u.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(t,e,n){"use strict";var r=n(60);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;t((function(t){n.reason||(n.reason=new r(t),e(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t,e=new o((function(e){t=e}));return{token:e,cancel:t}},t.exports=o},function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,n){var r=function(t){"use strict";var e=Object.prototype,n=e.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function u(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(A){u=function(t,e,n){return t[e]=n}}function s(t,e,n,r){var o=e&&e.prototype instanceof f?e:f,i=Object.create(o.prototype),a=new _(r||[]);return i._invoke=function(t,e,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return S()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var u=b(a,n);if(u){if(u===l)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=c(t,e,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===l)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}(t,n,a),i}function c(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(A){return{type:"throw",arg:A}}}t.wrap=s;var l={};function f(){}function p(){}function h(){}var d={};u(d,o,(function(){return this}));var v=Object.getPrototypeOf,g=v&&v(v(x([])));g&&g!==e&&n.call(g,o)&&(d=g);var m=h.prototype=f.prototype=Object.create(d);function y(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){var r;this._invoke=function(o,i){function a(){return new e((function(r,a){!function r(o,i,a,u){var s=c(t[o],t,i);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==typeof f&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,u)}))}u(s.arg)}(o,i,r,a)}))}return r=r?r.then(a,a):a()}}function b(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,b(t,e),"throw"===e.method))return l;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var r=c(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,l;var o=r.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,l):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,l)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function _(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function x(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:S}}function S(){return{value:void 0,done:!0}}return p.prototype=h,u(m,"constructor",h),u(h,"constructor",p),p.displayName=u(h,a,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,a,"GeneratorFunction")),t.prototype=Object.create(m),t},t.awrap=function(t){return{__await:t}},y(w.prototype),u(w.prototype,i,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new w(s(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},y(m),u(m,a,"Generator"),u(m,o,(function(){return this})),u(m,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=x,_.prototype={constructor:_,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0],e=t.completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(u&&s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),l},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),E(n),l}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:x(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),l}},t}(t.exports);try{regeneratorRuntime=r}catch(o){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},function(t,e,n){var r=n(61),o=n(130),i=n(131),a=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?o(t):i(t)}},function(t,e,n){var r=n(129),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(this,n(19))},function(t,e,n){var r=n(61),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,u=r?r.toStringTag:void 0;t.exports=function(t){var e=i.call(t,u),n=t[u];try{t[u]=void 0;var r=!0}catch(s){}var o=a.call(t);return r&&(e?t[u]=n:delete t[u]),o}},function(t,e){var n=Object.prototype,r=n.toString;t.exports=function(t){return r.call(t)}},function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},function(t,e){var n=String,r=function(){return{isColorSupported:!1,reset:n,bold:n,dim:n,italic:n,underline:n,inverse:n,hidden:n,strikethrough:n,black:n,red:n,green:n,yellow:n,blue:n,magenta:n,cyan:n,white:n,gray:n,bgBlack:n,bgRed:n,bgGreen:n,bgYellow:n,bgBlue:n,bgMagenta:n,bgCyan:n,bgWhite:n}};t.exports=r(),t.exports.createColors=r},function(t,e){},function(t,e,n){"use strict";(function(r){e.__esModule=!0,e.default=void 0;var o=a(n(67)),i=a(n(38));function a(t){return t&&t.__esModule?t:{default:t}}function u(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return s(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return n=t[Symbol.iterator](),n.next.bind(n)}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var c=function(){function t(t,e,n){this.stringify=t,this.mapOpts=n.map||{},this.root=e,this.opts=n}var e=t.prototype;return e.isMap=function(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0},e.previous=function(){var t=this;return this.previousMaps||(this.previousMaps=[],this.root.walk((function(e){if(e.source&&e.source.input.map){var n=e.source.input.map;-1===t.previousMaps.indexOf(n)&&t.previousMaps.push(n)}}))),this.previousMaps},e.isInline=function(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;var t=this.mapOpts.annotation;return(void 0===t||!0===t)&&(!this.previous().length||this.previous().some((function(t){return t.inline})))},e.isSourcesContent=function(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some((function(t){return t.withContent()}))},e.clearAnnotation=function(){if(!1!==this.mapOpts.annotation)for(var t,e=this.root.nodes.length-1;e>=0;e--)t=this.root.nodes[e],"comment"===t.type&&0===t.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(e)},e.setSourcesContent=function(){var t=this,e={};this.root.walk((function(n){if(n.source){var r=n.source.input.from;if(r&&!e[r]){e[r]=!0;var o=t.relative(r);t.map.setSourceContent(o,n.source.input.css)}}}))},e.applyPrevMaps=function(){for(var t,e=u(this.previous());!(t=e()).done;){var n=t.value,r=this.relative(n.file),a=n.root||i.default.dirname(n.file),s=void 0;!1===this.mapOpts.sourcesContent?(s=new o.default.SourceMapConsumer(n.text),s.sourcesContent&&(s.sourcesContent=s.sourcesContent.map((function(){return null})))):s=n.consumer(),this.map.applySourceMap(s,r,this.relative(a))}},e.isAnnotation=function(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some((function(t){return t.annotation})))},e.toBase64=function(t){return r?r.from(t).toString("base64"):window.btoa(unescape(encodeURIComponent(t)))},e.addAnnotation=function(){var t;t=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:this.outputFile()+".map";var e="\n";-1!==this.css.indexOf("\r\n")&&(e="\r\n"),this.css+=e+"/*# sourceMappingURL="+t+" */"},e.outputFile=function(){return this.opts.to?this.relative(this.opts.to):this.opts.from?this.relative(this.opts.from):"to.css"},e.generateMap=function(){return this.generateString(),this.isSourcesContent()&&this.setSourcesContent(),this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]},e.relative=function(t){if(0===t.indexOf("<"))return t;if(/^\w+:\/\//.test(t))return t;var e=this.opts.to?i.default.dirname(this.opts.to):".";return"string"==typeof this.mapOpts.annotation&&(e=i.default.dirname(i.default.resolve(e,this.mapOpts.annotation))),t=i.default.relative(e,t),"\\"===i.default.sep?t.replace(/\\/g,"/"):t},e.sourcePath=function(t){return this.mapOpts.from?this.mapOpts.from:this.relative(t.source.input.from)},e.generateString=function(){var t=this;this.css="",this.map=new o.default.SourceMapGenerator({file:this.outputFile()});var e,n,r=1,i=1;this.stringify(this.root,(function(o,a,u){if(t.css+=o,a&&"end"!==u&&(a.source&&a.source.start?t.map.addMapping({source:t.sourcePath(a),generated:{line:r,column:i-1},original:{line:a.source.start.line,column:a.source.start.column-1}}):t.map.addMapping({source:"<no source>",original:{line:1,column:0},generated:{line:r,column:i-1}})),e=o.match(/\n/g),e?(r+=e.length,n=o.lastIndexOf("\n"),i=o.length-n):i+=o.length,a&&"start"!==u){var s=a.parent||{raws:{}};("decl"!==a.type||a!==s.last||s.raws.semicolon)&&(a.source&&a.source.end?t.map.addMapping({source:t.sourcePath(a),generated:{line:r,column:i-2},original:{line:a.source.end.line,column:a.source.end.column-1}}):t.map.addMapping({source:"<no source>",original:{line:1,column:0},generated:{line:r,column:i-1}}))}}))},e.generate=function(){if(this.clearAnnotation(),this.isMap())return this.generateMap();var t="";return this.stringify(this.root,(function(e){t+=e})),[t]},t}(),l=c;e.default=l,t.exports=e.default}).call(this,n(66).Buffer)},function(t,e,n){"use strict";e.byteLength=function(t){var e=c(t),n=e[0],r=e[1];return 3*(n+r)/4-r},e.toByteArray=function(t){var e,n,r=c(t),a=r[0],u=r[1],s=new i(function(t,e,n){return 3*(e+n)/4-n}(0,a,u)),l=0,f=u>0?a-4:a;for(n=0;n<f;n+=4)e=o[t.charCodeAt(n)]<<18|o[t.charCodeAt(n+1)]<<12|o[t.charCodeAt(n+2)]<<6|o[t.charCodeAt(n+3)],s[l++]=e>>16&255,s[l++]=e>>8&255,s[l++]=255&e;2===u&&(e=o[t.charCodeAt(n)]<<2|o[t.charCodeAt(n+1)]>>4,s[l++]=255&e);1===u&&(e=o[t.charCodeAt(n)]<<10|o[t.charCodeAt(n+1)]<<4|o[t.charCodeAt(n+2)]>>2,s[l++]=e>>8&255,s[l++]=255&e);return s},e.fromByteArray=function(t){for(var e,n=t.length,o=n%3,i=[],a=0,u=n-o;a<u;a+=16383)i.push(l(t,a,a+16383>u?u:a+16383));1===o?(e=t[n-1],i.push(r[e>>2]+r[e<<4&63]+"==")):2===o&&(e=(t[n-2]<<8)+t[n-1],i.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+"="));return i.join("")};for(var r=[],o=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=0,s=a.length;u<s;++u)r[u]=a[u],o[a.charCodeAt(u)]=u;function c(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");-1===n&&(n=e);var r=n===e?0:4-n%4;return[n,r]}function l(t,e,n){for(var o,i,a=[],u=e;u<n;u+=3)o=(t[u]<<16&16711680)+(t[u+1]<<8&65280)+(255&t[u+2]),a.push((i=o,r[i>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]));return a.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},function(t,e){
20
- /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
21
- e.read=function(t,e,n,r,o){var i,a,u=8*o-r-1,s=(1<<u)-1,c=s>>1,l=-7,f=n?o-1:0,p=n?-1:1,h=t[e+f];for(f+=p,i=h&(1<<-l)-1,h>>=-l,l+=u;l>0;i=256*i+t[e+f],f+=p,l-=8);for(a=i&(1<<-l)-1,i>>=-l,l+=r;l>0;a=256*a+t[e+f],f+=p,l-=8);if(0===i)i=1-c;else{if(i===s)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),i-=c}return(h?-1:1)*a*Math.pow(2,i-r)},e.write=function(t,e,n,r,o,i){var a,u,s,c=8*i-o-1,l=(1<<c)-1,f=l>>1,p=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:i-1,d=r?1:-1,v=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(u=isNaN(e)?1:0,a=l):(a=Math.floor(Math.log(e)/Math.LN2),e*(s=Math.pow(2,-a))<1&&(a--,s*=2),e+=a+f>=1?p/s:p*Math.pow(2,1-f),e*s>=2&&(a++,s/=2),a+f>=l?(u=0,a=l):a+f>=1?(u=(e*s-1)*Math.pow(2,o),a+=f):(u=e*Math.pow(2,f-1)*Math.pow(2,o),a=0));o>=8;t[n+h]=255&u,h+=d,u/=256,o-=8);for(a=a<<o|u,c+=o;c>0;t[n+h]=255&a,h+=d,a/=256,c-=8);t[n+h-d]|=128*v}},function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},function(t,e){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");e.encode=function(t){if(0<=t&&t<n.length)return n[t];throw new TypeError("Must be between 0 and 63: "+t)},e.decode=function(t){return 65<=t&&t<=90?t-65:97<=t&&t<=122?t-97+26:48<=t&&t<=57?t-48+52:43==t?62:47==t?63:-1}},function(t,e,n){var r=n(20);function o(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}o.prototype.unsortedForEach=function(t,e){this._array.forEach(t,e)},o.prototype.add=function(t){var e,n,o,i,a,u;e=this._last,n=t,o=e.generatedLine,i=n.generatedLine,a=e.generatedColumn,u=n.generatedColumn,i>o||i==o&&u>=a||r.compareByGeneratedPositionsInflated(e,n)<=0?(this._last=t,this._array.push(t)):(this._sorted=!1,this._array.push(t))},o.prototype.toArray=function(){return this._sorted||(this._array.sort(r.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},e.MappingList=o},function(t,e,n){var r=n(20),o=n(142),i=n(70).ArraySet,a=n(69),u=n(143).quickSort;function s(t,e){var n=t;return"string"==typeof t&&(n=r.parseSourceMapInput(t)),null!=n.sections?new f(n,e):new c(n,e)}function c(t,e){var n=t;"string"==typeof t&&(n=r.parseSourceMapInput(t));var o=r.getArg(n,"version"),a=r.getArg(n,"sources"),u=r.getArg(n,"names",[]),s=r.getArg(n,"sourceRoot",null),c=r.getArg(n,"sourcesContent",null),l=r.getArg(n,"mappings"),f=r.getArg(n,"file",null);if(o!=this._version)throw new Error("Unsupported version: "+o);s&&(s=r.normalize(s)),a=a.map(String).map(r.normalize).map((function(t){return s&&r.isAbsolute(s)&&r.isAbsolute(t)?r.relative(s,t):t})),this._names=i.fromArray(u.map(String),!0),this._sources=i.fromArray(a,!0),this._absoluteSources=this._sources.toArray().map((function(t){return r.computeSourceURL(s,t,e)})),this.sourceRoot=s,this.sourcesContent=c,this._mappings=l,this._sourceMapURL=e,this.file=f}function l(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function f(t,e){var n=t;"string"==typeof t&&(n=r.parseSourceMapInput(t));var o=r.getArg(n,"version"),a=r.getArg(n,"sections");if(o!=this._version)throw new Error("Unsupported version: "+o);this._sources=new i,this._names=new i;var u={line:-1,column:0};this._sections=a.map((function(t){if(t.url)throw new Error("Support for url field in sections not implemented.");var n=r.getArg(t,"offset"),o=r.getArg(n,"line"),i=r.getArg(n,"column");if(o<u.line||o===u.line&&i<u.column)throw new Error("Section offsets must be ordered and non-overlapping.");return u=n,{generatedOffset:{generatedLine:o+1,generatedColumn:i+1},consumer:new s(r.getArg(t,"map"),e)}}))}s.fromSourceMap=function(t,e){return c.fromSourceMap(t,e)},s.prototype._version=3,s.prototype.__generatedMappings=null,Object.defineProperty(s.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),s.prototype.__originalMappings=null,Object.defineProperty(s.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),s.prototype._charIsMappingSeparator=function(t,e){var n=t.charAt(e);return";"===n||","===n},s.prototype._parseMappings=function(t,e){throw new Error("Subclasses must implement _parseMappings")},s.GENERATED_ORDER=1,s.ORIGINAL_ORDER=2,s.GREATEST_LOWER_BOUND=1,s.LEAST_UPPER_BOUND=2,s.prototype.eachMapping=function(t,e,n){var o,i=e||null,a=n||s.GENERATED_ORDER;switch(a){case s.GENERATED_ORDER:o=this._generatedMappings;break;case s.ORIGINAL_ORDER:o=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var u=this.sourceRoot;o.map((function(t){var e=null===t.source?null:this._sources.at(t.source);return e=r.computeSourceURL(u,e,this._sourceMapURL),{source:e,generatedLine:t.generatedLine,generatedColumn:t.generatedColumn,originalLine:t.originalLine,originalColumn:t.originalColumn,name:null===t.name?null:this._names.at(t.name)}}),this).forEach(t,i)},s.prototype.allGeneratedPositionsFor=function(t){var e=r.getArg(t,"line"),n={source:r.getArg(t,"source"),originalLine:e,originalColumn:r.getArg(t,"column",0)};if(n.source=this._findSourceIndex(n.source),n.source<0)return[];var i=[],a=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",r.compareByOriginalPositions,o.LEAST_UPPER_BOUND);if(a>=0){var u=this._originalMappings[a];if(void 0===t.column)for(var s=u.originalLine;u&&u.originalLine===s;)i.push({line:r.getArg(u,"generatedLine",null),column:r.getArg(u,"generatedColumn",null),lastColumn:r.getArg(u,"lastGeneratedColumn",null)}),u=this._originalMappings[++a];else for(var c=u.originalColumn;u&&u.originalLine===e&&u.originalColumn==c;)i.push({line:r.getArg(u,"generatedLine",null),column:r.getArg(u,"generatedColumn",null),lastColumn:r.getArg(u,"lastGeneratedColumn",null)}),u=this._originalMappings[++a]}return i},e.SourceMapConsumer=s,c.prototype=Object.create(s.prototype),c.prototype.consumer=s,c.prototype._findSourceIndex=function(t){var e,n=t;if(null!=this.sourceRoot&&(n=r.relative(this.sourceRoot,n)),this._sources.has(n))return this._sources.indexOf(n);for(e=0;e<this._absoluteSources.length;++e)if(this._absoluteSources[e]==t)return e;return-1},c.fromSourceMap=function(t,e){var n=Object.create(c.prototype),o=n._names=i.fromArray(t._names.toArray(),!0),a=n._sources=i.fromArray(t._sources.toArray(),!0);n.sourceRoot=t._sourceRoot,n.sourcesContent=t._generateSourcesContent(n._sources.toArray(),n.sourceRoot),n.file=t._file,n._sourceMapURL=e,n._absoluteSources=n._sources.toArray().map((function(t){return r.computeSourceURL(n.sourceRoot,t,e)}));for(var s=t._mappings.toArray().slice(),f=n.__generatedMappings=[],p=n.__originalMappings=[],h=0,d=s.length;h<d;h++){var v=s[h],g=new l;g.generatedLine=v.generatedLine,g.generatedColumn=v.generatedColumn,v.source&&(g.source=a.indexOf(v.source),g.originalLine=v.originalLine,g.originalColumn=v.originalColumn,v.name&&(g.name=o.indexOf(v.name)),p.push(g)),f.push(g)}return u(n.__originalMappings,r.compareByOriginalPositions),n},c.prototype._version=3,Object.defineProperty(c.prototype,"sources",{get:function(){return this._absoluteSources.slice()}}),c.prototype._parseMappings=function(t,e){for(var n,o,i,s,c,f=1,p=0,h=0,d=0,v=0,g=0,m=t.length,y=0,w={},b={},O=[],E=[];y<m;)if(";"===t.charAt(y))f++,y++,p=0;else if(","===t.charAt(y))y++;else{for(n=new l,n.generatedLine=f,s=y;s<m&&!this._charIsMappingSeparator(t,s);s++);if(o=t.slice(y,s),i=w[o],i)y+=o.length;else{for(i=[];y<s;)a.decode(t,y,b),c=b.value,y=b.rest,i.push(c);if(2===i.length)throw new Error("Found a source, but no line and column");if(3===i.length)throw new Error("Found a source and line, but no column");w[o]=i}n.generatedColumn=p+i[0],p=n.generatedColumn,i.length>1&&(n.source=v+i[1],v+=i[1],n.originalLine=h+i[2],h=n.originalLine,n.originalLine+=1,n.originalColumn=d+i[3],d=n.originalColumn,i.length>4&&(n.name=g+i[4],g+=i[4])),E.push(n),"number"==typeof n.originalLine&&O.push(n)}u(E,r.compareByGeneratedPositionsDeflated),this.__generatedMappings=E,u(O,r.compareByOriginalPositions),this.__originalMappings=O},c.prototype._findMapping=function(t,e,n,r,i,a){if(t[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+t[n]);if(t[r]<0)throw new TypeError("Column must be greater than or equal to 0, got "+t[r]);return o.search(t,e,i,a)},c.prototype.computeColumnSpans=function(){for(var t=0;t<this._generatedMappings.length;++t){var e=this._generatedMappings[t];if(t+1<this._generatedMappings.length){var n=this._generatedMappings[t+1];if(e.generatedLine===n.generatedLine){e.lastGeneratedColumn=n.generatedColumn-1;continue}}e.lastGeneratedColumn=1/0}},c.prototype.originalPositionFor=function(t){var e={generatedLine:r.getArg(t,"line"),generatedColumn:r.getArg(t,"column")},n=this._findMapping(e,this._generatedMappings,"generatedLine","generatedColumn",r.compareByGeneratedPositionsDeflated,r.getArg(t,"bias",s.GREATEST_LOWER_BOUND));if(n>=0){var o=this._generatedMappings[n];if(o.generatedLine===e.generatedLine){var i=r.getArg(o,"source",null);null!==i&&(i=this._sources.at(i),i=r.computeSourceURL(this.sourceRoot,i,this._sourceMapURL));var a=r.getArg(o,"name",null);return null!==a&&(a=this._names.at(a)),{source:i,line:r.getArg(o,"originalLine",null),column:r.getArg(o,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}},c.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&(this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(t){return null==t})))},c.prototype.sourceContentFor=function(t,e){if(!this.sourcesContent)return null;var n=this._findSourceIndex(t);if(n>=0)return this.sourcesContent[n];var o,i=t;if(null!=this.sourceRoot&&(i=r.relative(this.sourceRoot,i)),null!=this.sourceRoot&&(o=r.urlParse(this.sourceRoot))){var a=i.replace(/^file:\/\//,"");if("file"==o.scheme&&this._sources.has(a))return this.sourcesContent[this._sources.indexOf(a)];if((!o.path||"/"==o.path)&&this._sources.has("/"+i))return this.sourcesContent[this._sources.indexOf("/"+i)]}if(e)return null;throw new Error('"'+i+'" is not in the SourceMap.')},c.prototype.generatedPositionFor=function(t){var e=r.getArg(t,"source");if(e=this._findSourceIndex(e),e<0)return{line:null,column:null,lastColumn:null};var n={source:e,originalLine:r.getArg(t,"line"),originalColumn:r.getArg(t,"column")},o=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",r.compareByOriginalPositions,r.getArg(t,"bias",s.GREATEST_LOWER_BOUND));if(o>=0){var i=this._originalMappings[o];if(i.source===n.source)return{line:r.getArg(i,"generatedLine",null),column:r.getArg(i,"generatedColumn",null),lastColumn:r.getArg(i,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},e.BasicSourceMapConsumer=c,f.prototype=Object.create(s.prototype),f.prototype.constructor=s,f.prototype._version=3,Object.defineProperty(f.prototype,"sources",{get:function(){for(var t=[],e=0;e<this._sections.length;e++)for(var n=0;n<this._sections[e].consumer.sources.length;n++)t.push(this._sections[e].consumer.sources[n]);return t}}),f.prototype.originalPositionFor=function(t){var e={generatedLine:r.getArg(t,"line"),generatedColumn:r.getArg(t,"column")},n=o.search(e,this._sections,(function(t,e){var n=t.generatedLine-e.generatedOffset.generatedLine;return n||t.generatedColumn-e.generatedOffset.generatedColumn})),i=this._sections[n];return i?i.consumer.originalPositionFor({line:e.generatedLine-(i.generatedOffset.generatedLine-1),column:e.generatedColumn-(i.generatedOffset.generatedLine===e.generatedLine?i.generatedOffset.generatedColumn-1:0),bias:t.bias}):{source:null,line:null,column:null,name:null}},f.prototype.hasContentsOfAllSources=function(){return this._sections.every((function(t){return t.consumer.hasContentsOfAllSources()}))},f.prototype.sourceContentFor=function(t,e){for(var n=0;n<this._sections.length;n++){var r=this._sections[n],o=r.consumer.sourceContentFor(t,!0);if(o)return o}if(e)return null;throw new Error('"'+t+'" is not in the SourceMap.')},f.prototype.generatedPositionFor=function(t){for(var e=0;e<this._sections.length;e++){var n=this._sections[e];if(-1!==n.consumer._findSourceIndex(r.getArg(t,"source"))){var o=n.consumer.generatedPositionFor(t);if(o){var i={line:o.line+(n.generatedOffset.generatedLine-1),column:o.column+(n.generatedOffset.generatedLine===o.line?n.generatedOffset.generatedColumn-1:0)};return i}}}return{line:null,column:null}},f.prototype._parseMappings=function(t,e){this.__generatedMappings=[],this.__originalMappings=[];for(var n=0;n<this._sections.length;n++)for(var o=this._sections[n],i=o.consumer._generatedMappings,a=0;a<i.length;a++){var s=i[a],c=o.consumer._sources.at(s.source);c=r.computeSourceURL(o.consumer.sourceRoot,c,this._sourceMapURL),this._sources.add(c),c=this._sources.indexOf(c);var l=null;s.name&&(l=o.consumer._names.at(s.name),this._names.add(l),l=this._names.indexOf(l));var f={source:c,generatedLine:s.generatedLine+(o.generatedOffset.generatedLine-1),generatedColumn:s.generatedColumn+(o.generatedOffset.generatedLine===s.generatedLine?o.generatedOffset.generatedColumn-1:0),originalLine:s.originalLine,originalColumn:s.originalColumn,name:l};this.__generatedMappings.push(f),"number"==typeof f.originalLine&&this.__originalMappings.push(f)}u(this.__generatedMappings,r.compareByGeneratedPositionsDeflated),u(this.__originalMappings,r.compareByOriginalPositions)},e.IndexedSourceMapConsumer=f},function(t,e){e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2,e.search=function(t,n,r,o){if(0===n.length)return-1;var i=function t(n,r,o,i,a,u){var s=Math.floor((r-n)/2)+n,c=a(o,i[s],!0);return 0===c?s:c>0?r-s>1?t(s,r,o,i,a,u):u==e.LEAST_UPPER_BOUND?r<i.length?r:-1:s:s-n>1?t(n,s,o,i,a,u):u==e.LEAST_UPPER_BOUND?s:n<0?-1:n}(-1,n.length,t,n,r,o||e.GREATEST_LOWER_BOUND);if(i<0)return-1;for(;i-1>=0&&0===r(n[i],n[i-1],!0);)--i;return i}},function(t,e){function n(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function r(t,e,o,i){if(o<i){var a=(f=o,p=i,Math.round(f+Math.random()*(p-f))),u=o-1;n(t,a,i);for(var s=t[i],c=o;c<i;c++)e(t[c],s)<=0&&(u+=1,n(t,u,c));n(t,u+1,c);var l=u+1;r(t,e,o,l-1),r(t,e,l+1,i)}var f,p}e.quickSort=function(t,e){r(t,e,0,t.length-1)}},function(t,e,n){var r=n(68).SourceMapGenerator,o=n(20),i=/(\r?\n)/,a="$$$isSourceNode$$$";function u(t,e,n,r,o){this.children=[],this.sourceContents={},this.line=null==t?null:t,this.column=null==e?null:e,this.source=null==n?null:n,this.name=null==o?null:o,this[a]=!0,null!=r&&this.add(r)}u.fromStringWithSourceMap=function(t,e,n){var r=new u,a=t.split(i),s=0,c=function(){var t=n(),e=n()||"";return t+e;function n(){return s<a.length?a[s++]:void 0}},l=1,f=0,p=null;return e.eachMapping((function(t){if(null!==p){if(!(l<t.generatedLine)){var e=a[s]||"",n=e.substr(0,t.generatedColumn-f);return a[s]=e.substr(t.generatedColumn-f),f=t.generatedColumn,h(p,n),void(p=t)}h(p,c()),l++,f=0}for(;l<t.generatedLine;)r.add(c()),l++;if(f<t.generatedColumn){e=a[s]||"";r.add(e.substr(0,t.generatedColumn)),a[s]=e.substr(t.generatedColumn),f=t.generatedColumn}p=t}),this),s<a.length&&(p&&h(p,c()),r.add(a.splice(s).join(""))),e.sources.forEach((function(t){var i=e.sourceContentFor(t);null!=i&&(null!=n&&(t=o.join(n,t)),r.setSourceContent(t,i))})),r;function h(t,e){if(null===t||void 0===t.source)r.add(e);else{var i=n?o.join(n,t.source):t.source;r.add(new u(t.originalLine,t.originalColumn,i,e,t.name))}}},u.prototype.add=function(t){if(Array.isArray(t))t.forEach((function(t){this.add(t)}),this);else{if(!t[a]&&"string"!=typeof t)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+t);t&&this.children.push(t)}return this},u.prototype.prepend=function(t){if(Array.isArray(t))for(var e=t.length-1;e>=0;e--)this.prepend(t[e]);else{if(!t[a]&&"string"!=typeof t)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+t);this.children.unshift(t)}return this},u.prototype.walk=function(t){for(var e,n=0,r=this.children.length;n<r;n++)e=this.children[n],e[a]?e.walk(t):""!==e&&t(e,{source:this.source,line:this.line,column:this.column,name:this.name})},u.prototype.join=function(t){var e,n,r=this.children.length;if(r>0){for(e=[],n=0;n<r-1;n++)e.push(this.children[n]),e.push(t);e.push(this.children[n]),this.children=e}return this},u.prototype.replaceRight=function(t,e){var n=this.children[this.children.length-1];return n[a]?n.replaceRight(t,e):"string"==typeof n?this.children[this.children.length-1]=n.replace(t,e):this.children.push("".replace(t,e)),this},u.prototype.setSourceContent=function(t,e){this.sourceContents[o.toSetString(t)]=e},u.prototype.walkSourceContents=function(t){for(var e=0,n=this.children.length;e<n;e++)this.children[e][a]&&this.children[e].walkSourceContents(t);var r=Object.keys(this.sourceContents);for(e=0,n=r.length;e<n;e++)t(o.fromSetString(r[e]),this.sourceContents[r[e]])},u.prototype.toString=function(){var t="";return this.walk((function(e){t+=e})),t},u.prototype.toStringWithSourceMap=function(t){var e={code:"",line:1,column:0},n=new r(t),o=!1,i=null,a=null,u=null,s=null;return this.walk((function(t,r){e.code+=t,null!==r.source&&null!==r.line&&null!==r.column?(i===r.source&&a===r.line&&u===r.column&&s===r.name||n.addMapping({source:r.source,original:{line:r.line,column:r.column},generated:{line:e.line,column:e.column},name:r.name}),i=r.source,a=r.line,u=r.column,s=r.name,o=!0):o&&(n.addMapping({generated:{line:e.line,column:e.column}}),i=null,o=!1);for(var c=0,l=t.length;c<l;c++)10===t.charCodeAt(c)?(e.line++,e.column=0,c+1===l?(i=null,o=!1):o&&n.addMapping({source:r.source,original:{line:r.line,column:r.column},generated:{line:e.line,column:e.column},name:r.name})):e.column++})),this.walkSourceContents((function(t,e){n.setSourceContent(t,e)})),{code:e.code,map:n}},e.SourceNode=u},function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t){if(r[t])return;r[t]=!0,"undefined"!=typeof console&&console.warn&&console.warn(t)};var r={};t.exports=e.default},function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r,o=(r=n(147),r&&r.__esModule?r:{default:r});function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var a=function(){function t(t,e,n){this.processor=t,this.messages=[],this.root=e,this.opts=n,this.css=void 0,this.map=void 0}var e,n,r,a=t.prototype;return a.toString=function(){return this.css},a.warn=function(t,e){void 0===e&&(e={}),e.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(e.plugin=this.lastPlugin.postcssPlugin);var n=new o.default(t,e);return this.messages.push(n),n},a.warnings=function(){return this.messages.filter((function(t){return"warning"===t.type}))},e=t,n=[{key:"content",get:function(){return this.css}}],n&&i(e.prototype,n),r&&i(e,r),t}(),u=a;e.default=u,t.exports=e.default},function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r=function(){function t(t,e){if(void 0===e&&(e={}),this.type="warning",this.text=t,e.node&&e.node.source){var n=e.node.positionBy(e);this.line=n.line,this.column=n.column}for(var r in e)this[r]=e[r]}var e=t.prototype;return e.toString=function(){return this.node?this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text},t}(),o=r;e.default=o,t.exports=e.default},function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r=c(n(35)),o=c(n(149)),i=c(n(40)),a=c(n(41)),u=c(n(72)),s=c(n(43));function c(t){return t&&t.__esModule?t:{default:t}}var l=function(){function t(t){this.input=t,this.root=new u.default,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:t,start:{line:1,column:1}}}var e=t.prototype;return e.createTokenizer=function(){this.tokenizer=(0,o.default)(this.input)},e.parse=function(){for(var t;!this.tokenizer.endOfFile();)switch(t=this.tokenizer.nextToken(),t[0]){case"space":this.spaces+=t[1];break;case";":this.freeSemicolon(t);break;case"}":this.end(t);break;case"comment":this.comment(t);break;case"at-word":this.atrule(t);break;case"{":this.emptyRule(t);break;default:this.other(t)}this.endFile()},e.comment=function(t){var e=new i.default;this.init(e,t[2],t[3]),e.source.end={line:t[4],column:t[5]};var n=t[1].slice(2,-2);if(/^\s*$/.test(n))e.text="",e.raws.left=n,e.raws.right="";else{var r=n.match(/^(\s*)([^]*[^\s])(\s*)$/);e.text=r[2],e.raws.left=r[1],e.raws.right=r[3]}},e.emptyRule=function(t){var e=new s.default;this.init(e,t[2],t[3]),e.selector="",e.raws.between="",this.current=e},e.other=function(t){for(var e=!1,n=null,r=!1,o=null,i=[],a=[],u=t;u;){if(n=u[0],a.push(u),"("===n||"["===n)o||(o=u),i.push("("===n?")":"]");else if(0===i.length){if(";"===n){if(r)return void this.decl(a);break}if("{"===n)return void this.rule(a);if("}"===n){this.tokenizer.back(a.pop()),e=!0;break}":"===n&&(r=!0)}else n===i[i.length-1]&&(i.pop(),0===i.length&&(o=null));u=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(e=!0),i.length>0&&this.unclosedBracket(o),e&&r){for(;a.length&&(u=a[a.length-1][0],"space"===u||"comment"===u);)this.tokenizer.back(a.pop());this.decl(a)}else this.unknownWord(a)},e.rule=function(t){t.pop();var e=new s.default;this.init(e,t[0][2],t[0][3]),e.raws.between=this.spacesAndCommentsFromEnd(t),this.raw(e,"selector",t),this.current=e},e.decl=function(t){var e=new r.default;this.init(e);var n,o=t[t.length-1];for(";"===o[0]&&(this.semicolon=!0,t.pop()),o[4]?e.source.end={line:o[4],column:o[5]}:e.source.end={line:o[2],column:o[3]};"word"!==t[0][0];)1===t.length&&this.unknownWord(t),e.raws.before+=t.shift()[1];for(e.source.start={line:t[0][2],column:t[0][3]},e.prop="";t.length;){var i=t[0][0];if(":"===i||"space"===i||"comment"===i)break;e.prop+=t.shift()[1]}for(e.raws.between="";t.length;){if(n=t.shift(),":"===n[0]){e.raws.between+=n[1];break}"word"===n[0]&&/\w/.test(n[1])&&this.unknownWord([n]),e.raws.between+=n[1]}"_"!==e.prop[0]&&"*"!==e.prop[0]||(e.raws.before+=e.prop[0],e.prop=e.prop.slice(1)),e.raws.between+=this.spacesAndCommentsFromStart(t),this.precheckMissedSemicolon(t);for(var a=t.length-1;a>0;a--){if(n=t[a],"!important"===n[1].toLowerCase()){e.important=!0;var u=this.stringFrom(t,a);u=this.spacesFromEnd(t)+u," !important"!==u&&(e.raws.important=u);break}if("important"===n[1].toLowerCase()){for(var s=t.slice(0),c="",l=a;l>0;l--){var f=s[l][0];if(0===c.trim().indexOf("!")&&"space"!==f)break;c=s.pop()[1]+c}0===c.trim().indexOf("!")&&(e.important=!0,e.raws.important=c,t=s)}if("space"!==n[0]&&"comment"!==n[0])break}this.raw(e,"value",t),-1!==e.value.indexOf(":")&&this.checkMissedSemicolon(t)},e.atrule=function(t){var e,n,r=new a.default;r.name=t[1].slice(1),""===r.name&&this.unnamedAtrule(r,t),this.init(r,t[2],t[3]);for(var o=!1,i=!1,u=[];!this.tokenizer.endOfFile();){if(t=this.tokenizer.nextToken(),";"===t[0]){r.source.end={line:t[2],column:t[3]},this.semicolon=!0;break}if("{"===t[0]){i=!0;break}if("}"===t[0]){if(u.length>0){for(n=u.length-1,e=u[n];e&&"space"===e[0];)e=u[--n];e&&(r.source.end={line:e[4],column:e[5]})}this.end(t);break}if(u.push(t),this.tokenizer.endOfFile()){o=!0;break}}r.raws.between=this.spacesAndCommentsFromEnd(u),u.length?(r.raws.afterName=this.spacesAndCommentsFromStart(u),this.raw(r,"params",u),o&&(t=u[u.length-1],r.source.end={line:t[4],column:t[5]},this.spaces=r.raws.between,r.raws.between="")):(r.raws.afterName="",r.params=""),i&&(r.nodes=[],this.current=r)},e.end=function(t){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end={line:t[2],column:t[3]},this.current=this.current.parent):this.unexpectedClose(t)},e.endFile=function(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces},e.freeSemicolon=function(t){if(this.spaces+=t[1],this.current.nodes){var e=this.current.nodes[this.current.nodes.length-1];e&&"rule"===e.type&&!e.raws.ownSemicolon&&(e.raws.ownSemicolon=this.spaces,this.spaces="")}},e.init=function(t,e,n){this.current.push(t),t.source={start:{line:e,column:n},input:this.input},t.raws.before=this.spaces,this.spaces="","comment"!==t.type&&(this.semicolon=!1)},e.raw=function(t,e,n){for(var r,o,i,a,u=n.length,s="",c=!0,l=/^([.|#])?([\w])+/i,f=0;f<u;f+=1)r=n[f],o=r[0],"comment"!==o||"rule"!==t.type?"comment"===o||"space"===o&&f===u-1?c=!1:s+=r[1]:(a=n[f-1],i=n[f+1],"space"!==a[0]&&"space"!==i[0]&&l.test(a[1])&&l.test(i[1])?s+=r[1]:c=!1);if(!c){var p=n.reduce((function(t,e){return t+e[1]}),"");t.raws[e]={value:s,raw:p}}t[e]=s},e.spacesAndCommentsFromEnd=function(t){for(var e,n="";t.length&&(e=t[t.length-1][0],"space"===e||"comment"===e);)n=t.pop()[1]+n;return n},e.spacesAndCommentsFromStart=function(t){for(var e,n="";t.length&&(e=t[0][0],"space"===e||"comment"===e);)n+=t.shift()[1];return n},e.spacesFromEnd=function(t){for(var e,n="";t.length&&(e=t[t.length-1][0],"space"===e);)n=t.pop()[1]+n;return n},e.stringFrom=function(t,e){for(var n="",r=e;r<t.length;r++)n+=t[r][1];return t.splice(e,t.length-e),n},e.colon=function(t){for(var e,n,r,o=0,i=0;i<t.length;i++){if(e=t[i],n=e[0],"("===n&&(o+=1),")"===n&&(o-=1),0===o&&":"===n){if(r){if("word"===r[0]&&"progid"===r[1])continue;return i}this.doubleColon(e)}r=e}return!1},e.unclosedBracket=function(t){throw this.input.error("Unclosed bracket",t[2],t[3])},e.unknownWord=function(t){throw this.input.error("Unknown word",t[0][2],t[0][3])},e.unexpectedClose=function(t){throw this.input.error("Unexpected }",t[2],t[3])},e.unclosedBlock=function(){var t=this.current.source.start;throw this.input.error("Unclosed block",t.line,t.column)},e.doubleColon=function(t){throw this.input.error("Double colon",t[2],t[3])},e.unnamedAtrule=function(t,e){throw this.input.error("At-rule without name",e[2],e[3])},e.precheckMissedSemicolon=function(){},e.checkMissedSemicolon=function(t){var e=this.colon(t);if(!1!==e){for(var n,r=0,o=e-1;o>=0&&(n=t[o],"space"===n[0]||(r+=1,2!==r));o--);throw this.input.error("Missed semicolon",n[2],n[3])}},t}();e.default=l,t.exports=e.default},function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t,e){void 0===e&&(e={});var n,A,j,C,L,P,R,k,N,T,M,U,I,D,B=t.css.valueOf(),F=e.ignoreErrors,G=B.length,W=-1,z=1,H=0,$=[],Y=[];function q(e){throw t.error("Unclosed "+e,z,H-W)}return{back:function(t){Y.push(t)},nextToken:function(t){if(Y.length)return Y.pop();if(!(H>=G)){var e=!!t&&t.ignoreUnclosed;switch(n=B.charCodeAt(H),(n===u||n===c||n===f&&B.charCodeAt(H+1)!==u)&&(W=H,z+=1),n){case u:case s:case l:case f:case c:A=H;do{A+=1,n=B.charCodeAt(A),n===u&&(W=A,z+=1)}while(n===s||n===u||n===l||n===f||n===c);D=["space",B.slice(H,A)],H=A-1;break;case p:case h:case g:case m:case b:case y:case v:var V=String.fromCharCode(n);D=[V,V,z,H-W];break;case d:if(U=$.length?$.pop()[1]:"",I=B.charCodeAt(H+1),"url"===U&&I!==r&&I!==o&&I!==s&&I!==u&&I!==l&&I!==c&&I!==f){A=H;do{if(T=!1,A=B.indexOf(")",A+1),-1===A){if(F||e){A=H;break}q("bracket")}for(M=A;B.charCodeAt(M-1)===i;)M-=1,T=!T}while(T);D=["brackets",B.slice(H,A+1),z,H-W,z,A-W],H=A}else A=B.indexOf(")",H+1),P=B.slice(H,A+1),-1===A||x.test(P)?D=["(","(",z,H-W]:(D=["brackets",P,z,H-W,z,A-W],H=A);break;case r:case o:j=n===r?"'":'"',A=H;do{if(T=!1,A=B.indexOf(j,A+1),-1===A){if(F||e){A=H+1;break}q("string")}for(M=A;B.charCodeAt(M-1)===i;)M-=1,T=!T}while(T);P=B.slice(H,A+1),C=P.split("\n"),L=C.length-1,L>0?(k=z+L,N=A-C[L].length):(k=z,N=W),D=["string",B.slice(H,A+1),z,H-W,k,A-N],W=N,z=k,H=A;break;case O:E.lastIndex=H+1,E.test(B),A=0===E.lastIndex?B.length-1:E.lastIndex-2,D=["at-word",B.slice(H,A+1),z,H-W,z,A-W],H=A;break;case i:for(A=H,R=!0;B.charCodeAt(A+1)===i;)A+=1,R=!R;if(n=B.charCodeAt(A+1),R&&n!==a&&n!==s&&n!==u&&n!==l&&n!==f&&n!==c&&(A+=1,S.test(B.charAt(A)))){for(;S.test(B.charAt(A+1));)A+=1;B.charCodeAt(A+1)===s&&(A+=1)}D=["word",B.slice(H,A+1),z,H-W,z,A-W],H=A;break;default:n===a&&B.charCodeAt(H+1)===w?(A=B.indexOf("*/",H+2)+1,0===A&&(F||e?A=B.length:q("comment")),P=B.slice(H,A+1),C=P.split("\n"),L=C.length-1,L>0?(k=z+L,N=A-C[L].length):(k=z,N=W),D=["comment",P,z,H-W,k,A-N],W=N,z=k,H=A):(_.lastIndex=H+1,_.test(B),A=0===_.lastIndex?B.length-1:_.lastIndex-2,D=["word",B.slice(H,A+1),z,H-W,z,A-W],$.push(D),H=A)}return H++,D}},endOfFile:function(){return 0===Y.length&&H>=G},position:function(){return H}}};var r="'".charCodeAt(0),o='"'.charCodeAt(0),i="\\".charCodeAt(0),a="/".charCodeAt(0),u="\n".charCodeAt(0),s=" ".charCodeAt(0),c="\f".charCodeAt(0),l="\t".charCodeAt(0),f="\r".charCodeAt(0),p="[".charCodeAt(0),h="]".charCodeAt(0),d="(".charCodeAt(0),v=")".charCodeAt(0),g="{".charCodeAt(0),m="}".charCodeAt(0),y=";".charCodeAt(0),w="*".charCodeAt(0),b=":".charCodeAt(0),O="@".charCodeAt(0),E=/[ \n\t\r\f{}()'"\\;/[\]#]/g,_=/[ \n\t\r\f(){}:;@!'"\\\][#]|\/(?=\*)/g,x=/.[\\/("'\n]/,S=/[a-f0-9]/i;t.exports=e.default},function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r=a(n(38)),o=a(n(62)),i=a(n(151));function a(t){return t&&t.__esModule?t:{default:t}}function u(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var s=0,c=function(){function t(t,e){if(void 0===e&&(e={}),null==t||"object"==typeof t&&!t.toString)throw new Error("PostCSS received "+t+" instead of CSS string");this.css=t.toString(),"\ufeff"===this.css[0]||"￾"===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,e.from&&(/^\w+:\/\//.test(e.from)||r.default.isAbsolute(e.from)?this.file=e.from:this.file=r.default.resolve(e.from));var n=new i.default(this.css,e);if(n.text){this.map=n;var o=n.consumer().file;!this.file&&o&&(this.file=this.mapResolve(o))}this.file||(s+=1,this.id="<input css "+s+">"),this.map&&(this.map.file=this.from)}var e,n,a,c=t.prototype;return c.error=function(t,e,n,r){var i;void 0===r&&(r={});var a=this.origin(e,n);return i=a?new o.default(t,a.line,a.column,a.source,a.file,r.plugin):new o.default(t,e,n,this.css,this.file,r.plugin),i.input={line:e,column:n,source:this.css},this.file&&(i.input.file=this.file),i},c.origin=function(t,e){if(!this.map)return!1;var n=this.map.consumer(),r=n.originalPositionFor({line:t,column:e});if(!r.source)return!1;var o={file:this.mapResolve(r.source),line:r.line,column:r.column},i=n.sourceContentFor(r.source);return i&&(o.source=i),o},c.mapResolve=function(t){return/^\w+:\/\//.test(t)?t:r.default.resolve(this.map.consumer().sourceRoot||".",t)},e=t,n=[{key:"from",get:function(){return this.file||this.id}}],n&&u(e.prototype,n),a&&u(e,a),t}(),l=c;e.default=l,t.exports=e.default},function(t,e,n){"use strict";(function(r){e.__esModule=!0,e.default=void 0;var o=u(n(67)),i=u(n(38)),a=u(n(152));function u(t){return t&&t.__esModule?t:{default:t}}var s=function(){function t(t,e){this.loadAnnotation(t),this.inline=this.startWith(this.annotation,"data:");var n=e.map?e.map.prev:void 0,r=this.loadMap(e.from,n);r&&(this.text=r)}var e=t.prototype;return e.consumer=function(){return this.consumerCache||(this.consumerCache=new o.default.SourceMapConsumer(this.text)),this.consumerCache},e.withContent=function(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)},e.startWith=function(t,e){return!!t&&t.substr(0,e.length)===e},e.getAnnotationURL=function(t){return t.match(/\/\*\s*# sourceMappingURL=((?:(?!sourceMappingURL=).)*)\*\//)[1].trim()},e.loadAnnotation=function(t){var e=t.match(/\/\*\s*# sourceMappingURL=(?:(?!sourceMappingURL=).)*\*\//gm);if(e&&e.length>0){var n=e[e.length-1];n&&(this.annotation=this.getAnnotationURL(n))}},e.decodeInline=function(t){var e,n="data:application/json,";if(this.startWith(t,n))return decodeURIComponent(t.substr(n.length));if(/^data:application\/json;charset=utf-?8;base64,/.test(t)||/^data:application\/json;base64,/.test(t))return e=t.substr(RegExp.lastMatch.length),r?r.from(e,"base64").toString():window.atob(e);var o=t.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+o)},e.loadMap=function(t,e){if(!1===e)return!1;if(e){if("string"==typeof e)return e;if("function"==typeof e){var n=e(t);if(n&&a.default.existsSync&&a.default.existsSync(n))return a.default.readFileSync(n,"utf-8").toString().trim();throw new Error("Unable to load previous source map: "+n.toString())}if(e instanceof o.default.SourceMapConsumer)return o.default.SourceMapGenerator.fromSourceMap(e).toString();if(e instanceof o.default.SourceMapGenerator)return e.toString();if(this.isMap(e))return JSON.stringify(e);throw new Error("Unsupported previous source map format: "+e.toString())}if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){var r=this.annotation;return t&&(r=i.default.join(i.default.dirname(t),r)),this.root=i.default.dirname(r),!(!a.default.existsSync||!a.default.existsSync(r))&&a.default.readFileSync(r,"utf-8").toString().trim()}},e.isMap=function(t){return"object"==typeof t&&("string"==typeof t.mappings||"string"==typeof t._mappings)},t}(),c=s;e.default=c,t.exports=e.default}).call(this,n(66).Buffer)},function(t,e){},function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r={prefix:function(t){var e=t.match(/^(-\w+-)/);return e?e[0]:""},unprefixed:function(t){return t.replace(/^-\w+-/,"")}};e.default=r,t.exports=e.default},function(t,e,n){(function(e){"pseudomap"===e.env.npm_package_name&&"test"===e.env.npm_lifecycle_script&&(e.env.TEST_PSEUDOMAP="true"),"function"!=typeof Map||e.env.TEST_PSEUDOMAP?t.exports=n(155):t.exports=Map}).call(this,n(8))},function(t,e){var n=Object.prototype.hasOwnProperty;function r(t){if(!(this instanceof r))throw new TypeError("Constructor PseudoMap requires 'new'");if(this.clear(),t)if(t instanceof r||"function"==typeof Map&&t instanceof Map)t.forEach((function(t,e){this.set(e,t)}),this);else{if(!Array.isArray(t))throw new TypeError("invalid argument");t.forEach((function(t){this.set(t[0],t[1])}),this)}}function o(t,e){return t===e||t!=t&&e!=e}function i(t,e,n){this.key=t,this.value=e,this._index=n}function a(t,e){for(var r=0,i="_"+e,a=i;n.call(t,a);a=i+r++)if(o(t[a].key,e))return t[a]}t.exports=r,r.prototype.forEach=function(t,e){e=e||this,Object.keys(this._data).forEach((function(n){"size"!==n&&t.call(e,this._data[n].value,this._data[n].key)}),this)},r.prototype.has=function(t){return!!a(this._data,t)},r.prototype.get=function(t){var e=a(this._data,t);return e&&e.value},r.prototype.set=function(t,e){!function(t,e,r){for(var a=0,u="_"+e,s=u;n.call(t,s);s=u+a++)if(o(t[s].key,e))return void(t[s].value=r);t.size++,t[s]=new i(e,r,s)}(this._data,t,e)},r.prototype.delete=function(t){var e=a(this._data,t);e&&(delete this._data[e._index],this._data.size--)},r.prototype.clear=function(){var t=Object.create(null);t.size=0,Object.defineProperty(this,"_data",{value:t,enumerable:!1,configurable:!0,writable:!1})},Object.defineProperty(r.prototype,"size",{get:function(){return this._data.size},set:function(t){},enumerable:!0,configurable:!0}),r.prototype.values=r.prototype.keys=r.prototype.entries=function(){throw new Error("iterators are not implemented in this version")}},function(t,e,n){(function(t){var r=Object.getOwnPropertyDescriptors||function(t){for(var e=Object.keys(t),n={},r=0;r<e.length;r++)n[e[r]]=Object.getOwnPropertyDescriptor(t,e[r]);return n},o=/%[sdj%]/g;e.format=function(t){if(!m(t)){for(var e=[],n=0;n<arguments.length;n++)e.push(u(arguments[n]));return e.join(" ")}n=1;for(var r=arguments,i=r.length,a=String(t).replace(o,(function(t){if("%%"===t)return"%";if(n>=i)return t;switch(t){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(e){return"[Circular]"}default:return t}})),s=r[n];n<i;s=r[++n])v(s)||!b(s)?a+=" "+s:a+=" "+u(s);return a},e.deprecate=function(n,r){if(void 0!==t&&!0===t.noDeprecation)return n;if(void 0===t)return function(){return e.deprecate(n,r).apply(this,arguments)};var o=!1;return function(){if(!o){if(t.throwDeprecation)throw new Error(r);t.traceDeprecation?console.trace(r):console.error(r),o=!0}return n.apply(this,arguments)}};var i,a={};function u(t,n){var r={seen:[],stylize:c};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),d(n)?r.showHidden=n:n&&e._extend(r,n),y(r.showHidden)&&(r.showHidden=!1),y(r.depth)&&(r.depth=2),y(r.colors)&&(r.colors=!1),y(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=s),l(r,t,r.depth)}function s(t,e){var n=u.styles[e];return n?"["+u.colors[n][0]+"m"+t+"["+u.colors[n][1]+"m":t}function c(t,e){return t}function l(t,n,r){if(t.customInspect&&n&&_(n.inspect)&&n.inspect!==e.inspect&&(!n.constructor||n.constructor.prototype!==n)){var o=n.inspect(r,t);return m(o)||(o=l(t,o,r)),o}var i=function(t,e){if(y(e))return t.stylize("undefined","undefined");if(m(e)){var n="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(n,"string")}if(g(e))return t.stylize(""+e,"number");if(d(e))return t.stylize(""+e,"boolean");if(v(e))return t.stylize("null","null")}(t,n);if(i)return i;var a=Object.keys(n),u=function(t){var e={};return t.forEach((function(t,n){e[t]=!0})),e}(a);if(t.showHidden&&(a=Object.getOwnPropertyNames(n)),E(n)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return f(n);if(0===a.length){if(_(n)){var s=n.name?": "+n.name:"";return t.stylize("[Function"+s+"]","special")}if(w(n))return t.stylize(RegExp.prototype.toString.call(n),"regexp");if(O(n))return t.stylize(Date.prototype.toString.call(n),"date");if(E(n))return f(n)}var c,b="",x=!1,S=["{","}"];if(h(n)&&(x=!0,S=["[","]"]),_(n)){var A=n.name?": "+n.name:"";b=" [Function"+A+"]"}return w(n)&&(b=" "+RegExp.prototype.toString.call(n)),O(n)&&(b=" "+Date.prototype.toUTCString.call(n)),E(n)&&(b=" "+f(n)),0!==a.length||x&&0!=n.length?r<0?w(n)?t.stylize(RegExp.prototype.toString.call(n),"regexp"):t.stylize("[Object]","special"):(t.seen.push(n),c=x?function(t,e,n,r,o){for(var i=[],a=0,u=e.length;a<u;++a)C(e,String(a))?i.push(p(t,e,n,r,String(a),!0)):i.push("");return o.forEach((function(o){o.match(/^\d+$/)||i.push(p(t,e,n,r,o,!0))})),i}(t,n,r,u,a):a.map((function(e){return p(t,n,r,u,e,x)})),t.seen.pop(),function(t,e,n){var r=t.reduce((function(t,e){return e.indexOf("\n")>=0&&0,t+e.replace(/\u001b\[\d\d?m/g,"").length+1}),0);if(r>60)return n[0]+(""===e?"":e+"\n ")+" "+t.join(",\n ")+" "+n[1];return n[0]+e+" "+t.join(", ")+" "+n[1]}(c,b,S)):S[0]+b+S[1]}function f(t){return"["+Error.prototype.toString.call(t)+"]"}function p(t,e,n,r,o,i){var a,u,s;if(s=Object.getOwnPropertyDescriptor(e,o)||{value:e[o]},s.get?u=s.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):s.set&&(u=t.stylize("[Setter]","special")),C(r,o)||(a="["+o+"]"),u||(t.seen.indexOf(s.value)<0?(u=v(n)?l(t,s.value,null):l(t,s.value,n-1),u.indexOf("\n")>-1&&(u=i?u.split("\n").map((function(t){return" "+t})).join("\n").substr(2):"\n"+u.split("\n").map((function(t){return" "+t})).join("\n"))):u=t.stylize("[Circular]","special")),y(a)){if(i&&o.match(/^\d+$/))return u;a=JSON.stringify(""+o),a.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=t.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=t.stylize(a,"string"))}return a+": "+u}function h(t){return Array.isArray(t)}function d(t){return"boolean"==typeof t}function v(t){return null===t}function g(t){return"number"==typeof t}function m(t){return"string"==typeof t}function y(t){return void 0===t}function w(t){return b(t)&&"[object RegExp]"===x(t)}function b(t){return"object"==typeof t&&null!==t}function O(t){return b(t)&&"[object Date]"===x(t)}function E(t){return b(t)&&("[object Error]"===x(t)||t instanceof Error)}function _(t){return"function"==typeof t}function x(t){return Object.prototype.toString.call(t)}function S(t){return t<10?"0"+t.toString(10):t.toString(10)}e.debuglog=function(n){if(y(i)&&(i=t.env.NODE_DEBUG||""),n=n.toUpperCase(),!a[n])if(new RegExp("\\b"+n+"\\b","i").test(i)){var r=t.pid;a[n]=function(){var t=e.format.apply(e,arguments);console.error("%s %d: %s",n,r,t)}}else a[n]=function(){};return a[n]},e.inspect=u,u.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]},u.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},e.isArray=h,e.isBoolean=d,e.isNull=v,e.isNullOrUndefined=function(t){return null==t},e.isNumber=g,e.isString=m,e.isSymbol=function(t){return"symbol"==typeof t},e.isUndefined=y,e.isRegExp=w,e.isObject=b,e.isDate=O,e.isError=E,e.isFunction=_,e.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},e.isBuffer=n(157);var A=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function j(){var t=new Date,e=[S(t.getHours()),S(t.getMinutes()),S(t.getSeconds())].join(":");return[t.getDate(),A[t.getMonth()],e].join(" ")}function C(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.log=function(){console.log("%s - %s",j(),e.format.apply(e,arguments))},e.inherits=n(158),e._extend=function(t,e){if(!e||!b(e))return t;for(var n=Object.keys(e),r=n.length;r--;)t[n[r]]=e[n[r]];return t};var L="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function P(t,e){if(!t){var n=new Error("Promise was rejected with a falsy value");n.reason=t,t=n}return e(t)}e.promisify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');if(L&&t[L]){var e=t[L];if("function"!=typeof e)throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(e,L,{value:e,enumerable:!1,writable:!1,configurable:!0}),e}function e(){for(var e,n,r=new Promise((function(t,r){e=t,n=r})),o=[],i=0;i<arguments.length;i++)o.push(arguments[i]);o.push((function(t,r){t?n(t):e(r)}));try{t.apply(this,o)}catch(a){n(a)}return r}return Object.setPrototypeOf(e,Object.getPrototypeOf(t)),L&&Object.defineProperty(e,L,{value:e,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(e,r(t))},e.promisify.custom=L,e.callbackify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');function n(){for(var n=[],r=0;r<arguments.length;r++)n.push(arguments[r]);var o=n.pop();if("function"!=typeof o)throw new TypeError("The last argument must be of type Function");var i=this,a=function(){return o.apply(i,arguments)};e.apply(this,n).then((function(e){t.nextTick(a,null,e)}),(function(e){t.nextTick(P,e,a)}))}return Object.setPrototypeOf(n,Object.getPrototypeOf(e)),Object.defineProperties(n,r(e)),n}}).call(this,n(8))},function(t,e){t.exports=function(t){return t&&"object"==typeof t&&"function"==typeof t.copy&&"function"==typeof t.fill&&"function"==typeof t.readUInt8}},function(t,e){"function"==typeof Object.create?t.exports=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}},function(t,e){function n(t){var e=this;if(e instanceof n||(e=new n),e.tail=null,e.head=null,e.length=0,t&&"function"==typeof t.forEach)t.forEach((function(t){e.push(t)}));else if(arguments.length>0)for(var r=0,o=arguments.length;r<o;r++)e.push(arguments[r]);return e}function r(t,e){t.tail=new i(e,t.tail,null,t),t.head||(t.head=t.tail),t.length++}function o(t,e){t.head=new i(e,null,t.head,t),t.tail||(t.tail=t.head),t.length++}function i(t,e,n,r){if(!(this instanceof i))return new i(t,e,n,r);this.list=r,this.value=t,e?(e.next=this,this.prev=e):this.prev=null,n?(n.prev=this,this.next=n):this.next=null}t.exports=n,n.Node=i,n.create=n,n.prototype.removeNode=function(t){if(t.list!==this)throw new Error("removing node which does not belong to this list");var e=t.next,n=t.prev;e&&(e.prev=n),n&&(n.next=e),t===this.head&&(this.head=e),t===this.tail&&(this.tail=n),t.list.length--,t.next=null,t.prev=null,t.list=null},n.prototype.unshiftNode=function(t){if(t!==this.head){t.list&&t.list.removeNode(t);var e=this.head;t.list=this,t.next=e,e&&(e.prev=t),this.head=t,this.tail||(this.tail=t),this.length++}},n.prototype.pushNode=function(t){if(t!==this.tail){t.list&&t.list.removeNode(t);var e=this.tail;t.list=this,t.prev=e,e&&(e.next=t),this.tail=t,this.head||(this.head=t),this.length++}},n.prototype.push=function(){for(var t=0,e=arguments.length;t<e;t++)r(this,arguments[t]);return this.length},n.prototype.unshift=function(){for(var t=0,e=arguments.length;t<e;t++)o(this,arguments[t]);return this.length},n.prototype.pop=function(){if(this.tail){var t=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,t}},n.prototype.shift=function(){if(this.head){var t=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,t}},n.prototype.forEach=function(t,e){e=e||this;for(var n=this.head,r=0;null!==n;r++)t.call(e,n.value,r,this),n=n.next},n.prototype.forEachReverse=function(t,e){e=e||this;for(var n=this.tail,r=this.length-1;null!==n;r--)t.call(e,n.value,r,this),n=n.prev},n.prototype.get=function(t){for(var e=0,n=this.head;null!==n&&e<t;e++)n=n.next;if(e===t&&null!==n)return n.value},n.prototype.getReverse=function(t){for(var e=0,n=this.tail;null!==n&&e<t;e++)n=n.prev;if(e===t&&null!==n)return n.value},n.prototype.map=function(t,e){e=e||this;for(var r=new n,o=this.head;null!==o;)r.push(t.call(e,o.value,this)),o=o.next;return r},n.prototype.mapReverse=function(t,e){e=e||this;for(var r=new n,o=this.tail;null!==o;)r.push(t.call(e,o.value,this)),o=o.prev;return r},n.prototype.reduce=function(t,e){var n,r=this.head;if(arguments.length>1)n=e;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");r=this.head.next,n=this.head.value}for(var o=0;null!==r;o++)n=t(n,r.value,o),r=r.next;return n},n.prototype.reduceReverse=function(t,e){var n,r=this.tail;if(arguments.length>1)n=e;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");r=this.tail.prev,n=this.tail.value}for(var o=this.length-1;null!==r;o--)n=t(n,r.value,o),r=r.prev;return n},n.prototype.toArray=function(){for(var t=new Array(this.length),e=0,n=this.head;null!==n;e++)t[e]=n.value,n=n.next;return t},n.prototype.toArrayReverse=function(){for(var t=new Array(this.length),e=0,n=this.tail;null!==n;e++)t[e]=n.value,n=n.prev;return t},n.prototype.slice=function(t,e){e=e||this.length,e<0&&(e+=this.length),t=t||0,t<0&&(t+=this.length);var r=new n;if(e<t||e<0)return r;t<0&&(t=0),e>this.length&&(e=this.length);for(var o=0,i=this.head;null!==i&&o<t;o++)i=i.next;for(;null!==i&&o<e;o++,i=i.next)r.push(i.value);return r},n.prototype.sliceReverse=function(t,e){e=e||this.length,e<0&&(e+=this.length),t=t||0,t<0&&(t+=this.length);var r=new n;if(e<t||e<0)return r;t<0&&(t=0),e>this.length&&(e=this.length);for(var o=this.length,i=this.tail;null!==i&&o>e;o--)i=i.prev;for(;null!==i&&o>t;o--,i=i.prev)r.push(i.value);return r},n.prototype.reverse=function(){for(var t=this.head,e=this.tail,n=t;null!==n;n=n.prev){var r=n.prev;n.prev=n.next,n.next=r}return this.head=e,this.tail=t,this}},function(t,e,n){(function(e){var r;t.exports=(r=r||function(t,r){var o;if("undefined"!=typeof window&&window.crypto&&(o=window.crypto),"undefined"!=typeof self&&self.crypto&&(o=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(o=globalThis.crypto),!o&&"undefined"!=typeof window&&window.msCrypto&&(o=window.msCrypto),!o&&void 0!==e&&e.crypto&&(o=e.crypto),!o)try{o=n(161)}catch(m){}var i=function(){if(o){if("function"==typeof o.getRandomValues)try{return o.getRandomValues(new Uint32Array(1))[0]}catch(m){}if("function"==typeof o.randomBytes)try{return o.randomBytes(4).readInt32LE()}catch(m){}}throw new Error("Native crypto module could not be used to get secure random number.")},a=Object.create||function(){function t(){}return function(e){var n;return t.prototype=e,n=new t,t.prototype=null,n}}(),u={},s=u.lib={},c=s.Base={extend:function(t){var e=a(this);return t&&e.mixIn(t),e.hasOwnProperty("init")&&this.init!==e.init||(e.init=function(){e.$super.init.apply(this,arguments)}),e.init.prototype=e,e.$super=this,e},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}},l=s.WordArray=c.extend({init:function(t,e){t=this.words=t||[],this.sigBytes=null!=e?e:4*t.length},toString:function(t){return(t||p).stringify(this)},concat:function(t){var e=this.words,n=t.words,r=this.sigBytes,o=t.sigBytes;if(this.clamp(),r%4)for(var i=0;i<o;i++){var a=n[i>>>2]>>>24-i%4*8&255;e[r+i>>>2]|=a<<24-(r+i)%4*8}else for(var u=0;u<o;u+=4)e[r+u>>>2]=n[u>>>2];return this.sigBytes+=o,this},clamp:function(){var e=this.words,n=this.sigBytes;e[n>>>2]&=4294967295<<32-n%4*8,e.length=t.ceil(n/4)},clone:function(){var t=c.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var e=[],n=0;n<t;n+=4)e.push(i());return new l.init(e,t)}}),f=u.enc={},p=f.Hex={stringify:function(t){for(var e=t.words,n=t.sigBytes,r=[],o=0;o<n;o++){var i=e[o>>>2]>>>24-o%4*8&255;r.push((i>>>4).toString(16)),r.push((15&i).toString(16))}return r.join("")},parse:function(t){for(var e=t.length,n=[],r=0;r<e;r+=2)n[r>>>3]|=parseInt(t.substr(r,2),16)<<24-r%8*4;return new l.init(n,e/2)}},h=f.Latin1={stringify:function(t){for(var e=t.words,n=t.sigBytes,r=[],o=0;o<n;o++){var i=e[o>>>2]>>>24-o%4*8&255;r.push(String.fromCharCode(i))}return r.join("")},parse:function(t){for(var e=t.length,n=[],r=0;r<e;r++)n[r>>>2]|=(255&t.charCodeAt(r))<<24-r%4*8;return new l.init(n,e)}},d=f.Utf8={stringify:function(t){try{return decodeURIComponent(escape(h.stringify(t)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(t){return h.parse(unescape(encodeURIComponent(t)))}},v=s.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new l.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=d.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(e){var n,r=this._data,o=r.words,i=r.sigBytes,a=this.blockSize,u=4*a,s=i/u;s=e?t.ceil(s):t.max((0|s)-this._minBufferSize,0);var c=s*a,f=t.min(4*c,i);if(c){for(var p=0;p<c;p+=a)this._doProcessBlock(o,p);n=o.splice(0,c),r.sigBytes-=f}return new l.init(n,f)},clone:function(){var t=c.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0}),g=(s.Hasher=v.extend({cfg:c.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){v.reset.call(this),this._doReset()},update:function(t){return this._append(t),this._process(),this},finalize:function(t){t&&this._append(t);var e=this._doFinalize();return e},blockSize:16,_createHelper:function(t){return function(e,n){return new t.init(n).finalize(e)}},_createHmacHelper:function(t){return function(e,n){return new g.HMAC.init(t,n).finalize(e)}}}),u.algo={});return u}(Math),r)}).call(this,n(19))},function(t,e){},function(t,e,n){"use strict";var r=n(7),o=n(73),i=n(163),a=n(79),u=n(44);function s(t){var e=new i(t),n=o(i.prototype.request,e);return r.extend(n,i.prototype,e),r.extend(n,e),n}var c=s(u);c.Axios=i,c.create=function(t){return s(a(c.defaults,t))},c.Cancel=n(80),c.CancelToken=n(177),c.isCancel=n(78),c.all=function(t){return Promise.all(t)},c.spread=n(178),c.isAxiosError=n(179),t.exports=c,t.exports.default=c},function(t,e,n){"use strict";var r=n(7),o=n(74),i=n(164),a=n(165),u=n(79),s=n(175),c=s.validators;function l(t){this.defaults=t,this.interceptors={request:new i,response:new i}}l.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{},t.url=arguments[0]):t=t||{},t=u(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=t.transitional;void 0!==e&&s.assertOptions(e,{silentJSONParsing:c.transitional(c.boolean,"1.0.0"),forcedJSONParsing:c.transitional(c.boolean,"1.0.0"),clarifyTimeoutError:c.transitional(c.boolean,"1.0.0")},!1);var n=[],r=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(r=r&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var o,i=[];if(this.interceptors.response.forEach((function(t){i.push(t.fulfilled,t.rejected)})),!r){var l=[a,void 0];for(Array.prototype.unshift.apply(l,n),l=l.concat(i),o=Promise.resolve(t);l.length;)o=o.then(l.shift(),l.shift());return o}for(var f=t;n.length;){var p=n.shift(),h=n.shift();try{f=p(f)}catch(d){h(d);break}}try{o=a(f)}catch(d){return Promise.reject(d)}for(;i.length;)o=o.then(i.shift(),i.shift());return o},l.prototype.getUri=function(t){return t=u(this.defaults,t),o(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(t){l.prototype[t]=function(e,n){return this.request(u(n||{},{method:t,url:e,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(t){l.prototype[t]=function(e,n,r){return this.request(u(r||{},{method:t,url:e,data:n}))}})),t.exports=l},function(t,e,n){"use strict";var r=n(7);function o(){this.handlers=[]}o.prototype.use=function(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){r.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=o},function(t,e,n){"use strict";var r=n(7),o=n(166),i=n(78),a=n(44);function u(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){u(t),t.headers=t.headers||{},t.data=o.call(t,t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]}));var e=t.adapter||a.adapter;return e(t).then((function(e){return u(t),e.data=o.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return i(e)||(u(t),e&&e.response&&(e.response.data=o.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},function(t,e,n){"use strict";var r=n(7),o=n(44);t.exports=function(t,e,n){var i=this||o;return r.forEach(n,(function(n){t=n.call(i,t,e)})),t}},function(t,e,n){"use strict";var r=n(7);t.exports=function(t,e){r.forEach(t,(function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])}))}},function(t,e,n){"use strict";var r=n(77);t.exports=function(t,e,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},function(t,e,n){"use strict";var r=n(7);t.exports=r.isStandardBrowserEnv()?{write:function(t,e,n,o,i,a){var u=[];u.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&u.push("expires="+new Date(n).toGMTString()),r.isString(o)&&u.push("path="+o),r.isString(i)&&u.push("domain="+i),!0===a&&u.push("secure"),document.cookie=u.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(t,e,n){"use strict";var r=n(171),o=n(172);t.exports=function(t,e){return t&&!r(e)?o(t,e):e}},function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},function(t,e,n){"use strict";var r=n(7),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,i,a={};return t?(r.forEach(t.split("\n"),(function(t){if(i=t.indexOf(":"),e=r.trim(t.substr(0,i)).toLowerCase(),n=r.trim(t.substr(i+1)),e){if(a[e]&&o.indexOf(e)>=0)return;a[e]="set-cookie"===e?(a[e]?a[e]:[]).concat([n]):a[e]?a[e]+", "+n:n}})),a):a}},function(t,e,n){"use strict";var r=n(7);t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(t){var r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=o(window.location.href),function(e){var n=r.isString(e)?o(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},function(t,e,n){"use strict";var r=n(176),o={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){o[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));var i={},a=r.version.split(".");function u(t,e){for(var n=e?e.split("."):a,r=t.split("."),o=0;o<3;o++){if(n[o]>r[o])return!0;if(n[o]<r[o])return!1}return!1}o.transitional=function(t,e,n){var o=e&&u(e);function a(t,e){return"[Axios v"+r.version+"] Transitional option '"+t+"'"+e+(n?". "+n:"")}return function(n,r,u){if(!1===t)throw new Error(a(r," has been removed in "+e));return o&&!i[r]&&(i[r]=!0,console.warn(a(r," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,r,u)}},t.exports={isOlderVersion:u,assertOptions:function(t,e,n){if("object"!=typeof t)throw new TypeError("options must be an object");for(var r=Object.keys(t),o=r.length;o-- >0;){var i=r[o],a=e[i];if(a){var u=t[i],s=void 0===u||a(u,i,t);if(!0!==s)throw new TypeError("option "+i+" must be "+s)}else if(!0!==n)throw Error("Unknown option "+i)}},validators:o}},function(t){t.exports=JSON.parse('{"_from":"axios@^0.21.1","_id":"axios@0.21.4","_inBundle":false,"_integrity":"sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==","_location":"/axios","_phantomChildren":{},"_requested":{"type":"range","registry":true,"raw":"axios@^0.21.1","name":"axios","escapedName":"axios","rawSpec":"^0.21.1","saveSpec":null,"fetchSpec":"^0.21.1"},"_requiredBy":["/paged-request"],"_resolved":"https://registry.npmjs.org/axios/-/axios-0.21.4.tgz","_shasum":"c67b90dc0568e5c1cf2b0b858c43ba28e2eda575","_spec":"axios@^0.21.1","_where":"/Users/yaorui/www/github/alibabacloud-alfa/packages/react/alfa-react/node_modules/paged-request","author":{"name":"Matt Zabriskie"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"bugs":{"url":"https://github.com/axios/axios/issues"},"bundleDependencies":false,"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}],"dependencies":{"follow-redirects":"^1.14.0"},"deprecated":false,"description":"Promise based HTTP client for the browser and node.js","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"homepage":"https://axios-http.com","jsdelivr":"dist/axios.min.js","keywords":["xhr","http","ajax","promise","node"],"license":"MIT","main":"index.js","name":"axios","repository":{"type":"git","url":"git+https://github.com/axios/axios.git"},"scripts":{"build":"NODE_ENV=production grunt build","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","examples":"node ./examples/server.js","fix":"eslint --fix lib/**/*.js","postversion":"git push && git push --tags","preversion":"npm test","start":"node ./sandbox/server.js","test":"grunt test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json"},"typings":"./index.d.ts","unpkg":"dist/axios.min.js","version":"0.21.4"}')},function(t,e,n){"use strict";var r=n(80);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;t((function(t){n.reason||(n.reason=new r(t),e(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t,e=new o((function(e){t=e}));return{token:e,cancel:t}},t.exports=o},function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,n){"use strict";t.exports=function(t){return"object"==typeof t&&!0===t.isAxiosError}},function(t,e,n){var r=n(45),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,u=r?r.toStringTag:void 0;t.exports=function(t){var e=i.call(t,u),n=t[u];try{t[u]=void 0;var r=!0}catch(s){}var o=a.call(t);return r&&(e?t[u]=n:delete t[u]),o}},function(t,e){var n=Object.prototype,r=n.toString;t.exports=function(t){return r.call(t)}},function(t,e,n){var r=n(183),o=n(191),i=n(197),a=o((function(t,e,n,o){r(e,i(e),t,o)}));t.exports=a},function(t,e,n){var r=n(184),o=n(82);t.exports=function(t,e,n,i){var a=!n;n||(n={});for(var u=-1,s=e.length;++u<s;){var c=e[u],l=i?i(n[c],t[c],c,n,t):void 0;void 0===l&&(l=t[c]),a?o(n,c,l):r(n,c,l)}return n}},function(t,e,n){var r=n(82),o=n(47),i=Object.prototype,a=i.hasOwnProperty;t.exports=function(t,e,n){var i=t[e];a.call(t,e)&&o(i,n)&&(void 0!==n||e in t)||r(t,e,n)}},function(t,e,n){var r=n(186),o=n(190);t.exports=function(t,e){var n=o(t,e);return r(n)?n:void 0}},function(t,e,n){var r=n(29),o=n(187),i=n(25),a=n(189),u=/^\[object .+?Constructor\]$/,s=Function.prototype,c=Object.prototype,l=s.toString,f=c.hasOwnProperty,p=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){if(!i(t)||o(t))return!1;var e=r(t)?p:u;return e.test(a(t))}},function(t,e,n){var r,o=n(188),i=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""),r?"Symbol(src)_1."+r:"");t.exports=function(t){return!!i&&i in t}},function(t,e,n){var r=n(46),o=r["__core-js_shared__"];t.exports=o},function(t,e){var n=Function.prototype,r=n.toString;t.exports=function(t){if(null!=t){try{return r.call(t)}catch(e){}try{return t+""}catch(e){}}return""}},function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},function(t,e,n){var r=n(84),o=n(87);t.exports=function(t){return r((function(e,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,u=i>2?n[2]:void 0;for(a=t.length>3&&"function"==typeof a?(i--,a):void 0,u&&o(n[0],n[1],u)&&(a=i<3?void 0:a,i=1),e=Object(e);++r<i;){var s=n[r];s&&t(e,s,r,a)}return e}))}},function(t,e,n){var r=n(86),o=Math.max;t.exports=function(t,e,n){return e=o(void 0===e?t.length-1:e,0),function(){for(var i=arguments,a=-1,u=o(i.length-e,0),s=Array(u);++a<u;)s[a]=i[e+a];a=-1;for(var c=Array(e+1);++a<e;)c[a]=i[a];return c[e]=n(s),r(t,this,c)}}},function(t,e,n){var r=n(194),o=n(196),i=o(r);t.exports=i},function(t,e,n){var r=n(195),o=n(83),i=n(85),a=o?function(t,e){return o(t,"toString",{configurable:!0,enumerable:!1,value:r(e),writable:!0})}:i;t.exports=a},function(t,e){t.exports=function(t){return function(){return t}}},function(t,e){var n=Date.now;t.exports=function(t){var e=0,r=0;return function(){var o=n(),i=16-(o-r);if(r=o,i>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}},function(t,e,n){var r=n(90),o=n(207),i=n(48);t.exports=function(t){return i(t)?r(t,!0):o(t)}},function(t,e){t.exports=function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}},function(t,e,n){var r=n(200),o=n(16),i=Object.prototype,a=i.hasOwnProperty,u=i.propertyIsEnumerable,s=r(function(){return arguments}())?r:function(t){return o(t)&&a.call(t,"callee")&&!u.call(t,"callee")};t.exports=s},function(t,e,n){var r=n(15),o=n(16);t.exports=function(t){return o(t)&&"[object Arguments]"==r(t)}},function(t,e,n){(function(t){var r=n(46),o=n(202),i=e&&!e.nodeType&&e,a=i&&"object"==typeof t&&t&&!t.nodeType&&t,u=a&&a.exports===i,s=u?r.Buffer:void 0,c=s?s.isBuffer:void 0,l=c||o;t.exports=l}).call(this,n(92)(t))},function(t,e){t.exports=function(){return!1}},function(t,e,n){var r=n(204),o=n(205),i=n(206),a=i&&i.isTypedArray,u=a?o(a):r;t.exports=u},function(t,e,n){var r=n(15),o=n(88),i=n(16),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,t.exports=function(t){return i(t)&&o(t.length)&&!!a[r(t)]}},function(t,e){t.exports=function(t){return function(e){return t(e)}}},function(t,e,n){(function(t){var r=n(81),o=e&&!e.nodeType&&e,i=o&&"object"==typeof t&&t&&!t.nodeType&&t,a=i&&i.exports===o,u=a&&r.process,s=function(){try{var t=i&&i.require&&i.require("util").types;return t||u&&u.binding&&u.binding("util")}catch(e){}}();t.exports=s}).call(this,n(92)(t))},function(t,e,n){var r=n(25),o=n(93),i=n(208),a=Object.prototype,u=a.hasOwnProperty;t.exports=function(t){if(!r(t))return i(t);var e=o(t),n=[];for(var a in t)("constructor"!=a||!e&&u.call(t,a))&&n.push(a);return n}},function(t,e){t.exports=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}},function(t,e,n){var r=n(86),o=n(84),i=n(94),a=o((function(t,e){try{return r(t,void 0,e)}catch(n){return i(n)?n:new Error(n)}}));t.exports=a},function(t,e,n){var r=n(15),o=n(211),i=n(16),a=Function.prototype,u=Object.prototype,s=a.toString,c=u.hasOwnProperty,l=s.call(Object);t.exports=function(t){if(!i(t)||"[object Object]"!=r(t))return!1;var e=o(t);if(null===e)return!0;var n=c.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&s.call(n)==l}},function(t,e,n){var r=n(95),o=r(Object.getPrototypeOf,Object);t.exports=o},function(t,e,n){var r=n(96);t.exports=function(t,e){return r(e,(function(e){return t[e]}))}},function(t,e,n){var r=n(47),o=Object.prototype,i=o.hasOwnProperty;t.exports=function(t,e,n,a){return void 0===t||r(t,o[n])&&!i.call(a,n)?e:t}},function(t,e){var n={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};t.exports=function(t){return"\\"+n[t]}},function(t,e,n){var r=n(90),o=n(216),i=n(48);t.exports=function(t){return i(t)?r(t):o(t)}},function(t,e,n){var r=n(93),o=n(217),i=Object.prototype,a=i.hasOwnProperty;t.exports=function(t){if(!r(t))return o(t);var e=[];for(var n in Object(t))a.call(t,n)&&"constructor"!=n&&e.push(n);return e}},function(t,e,n){var r=n(95),o=r(Object.keys,Object);t.exports=o},function(t,e,n){var r=n(219),o=n(223),i=n(224),a=n(97),u={escape:o,evaluate:i,interpolate:a,variable:"",imports:{_:{escape:r}}};t.exports=u},function(t,e,n){var r=n(220),o=n(26),i=/[&<>"']/g,a=RegExp(i.source);t.exports=function(t){return t=o(t),t&&a.test(t)?t.replace(i,r):t}},function(t,e,n){var r=n(98),o=r({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});t.exports=o},function(t,e,n){var r=n(45),o=n(96),i=n(91),a=n(222),u=r?r.prototype:void 0,s=u?u.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(i(e))return o(e,t)+"";if(a(e))return s?s.call(e):"";var n=e+"";return"0"==n&&1/e==-1/0?"-0":n}},function(t,e,n){var r=n(15),o=n(16);t.exports=function(t){return"symbol"==typeof t||o(t)&&"[object Symbol]"==r(t)}},function(t,e){t.exports=/<%-([\s\S]+?)%>/g},function(t,e){t.exports=/<%([\s\S]+?)%>/g},function(t,e,n){var r=n(226),o=n(227),i=n(229),a=RegExp("['’]","g");t.exports=function(t){return function(e){return r(i(o(e).replace(a,"")),t,"")}}},function(t,e){t.exports=function(t,e,n,r){var o=-1,i=null==t?0:t.length;for(r&&i&&(n=t[++o]);++o<i;)n=e(n,t[o],o,t);return n}},function(t,e,n){var r=n(228),o=n(26),i=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,a=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");t.exports=function(t){return t=o(t),t&&t.replace(i,r).replace(a,"")}},function(t,e,n){var r=n(98),o=r({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"});t.exports=o},function(t,e,n){var r=n(230),o=n(231),i=n(26),a=n(232);t.exports=function(t,e,n){return t=i(t),e=n?void 0:e,void 0===e?o(t)?a(t):r(t):t.match(e)||[]}},function(t,e){var n=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;t.exports=function(t){return t.match(n)||[]}},function(t,e){var n=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;t.exports=function(t){return n.test(t)}},function(t,e){var n="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",r="["+n+"]",o="\\d+",i="[\\u2700-\\u27bf]",a="[a-z\\xdf-\\xf6\\xf8-\\xff]",u="[^\\ud800-\\udfff"+n+o+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",s="[^\\ud800-\\udfff]",c="(?:\\ud83c[\\udde6-\\uddff]){2}",l="[\\ud800-\\udbff][\\udc00-\\udfff]",f="[A-Z\\xc0-\\xd6\\xd8-\\xde]",p="(?:"+a+"|"+u+")",h="(?:"+f+"|"+u+")",d="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",v="(?:\\u200d(?:"+[s,c,l].join("|")+")[\\ufe0e\\ufe0f]?"+d+")*",g="[\\ufe0e\\ufe0f]?"+d+v,m="(?:"+[i,c,l].join("|")+")"+g,y=RegExp([f+"?"+a+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[r,f,"$"].join("|")+")",h+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[r,f+p,"$"].join("|")+")",f+"?"+p+"+(?:['’](?:d|ll|m|re|s|t|ve))?",f+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",o,m].join("|"),"g");t.exports=function(t){return t.match(y)||[]}},function(t,e,n){"use strict";n.r(e),n.d(e,"createAlfaApp",(function(){return Uo})),n.d(e,"useAlfaApp",(function(){return To})),n.d(e,"createAlfaWidget",(function(){return Zi})),n.d(e,"useAlfaWidget",(function(){return Ji})),n.d(e,"widgetEventEmitter",(function(){return $i})),n.d(e,"addGlobalRequestInterceptor",(function(){return Xi})),n.d(e,"createEventBus",(function(){return st})),n.d(e,"prefetch",(function(){return Ke}));var r={};n.r(r),n.d(r,"createEventBus",(function(){return st})),n.d(r,"mountApp",(function(){return De})),n.d(r,"isAppRegistered",(function(){return Be})),n.d(r,"start",(function(){return Fe})),n.d(r,"load",(function(){return Ge})),n.d(r,"destroy",(function(){return We})),n.d(r,"update",(function(){return ze})),n.d(r,"getExposedModule",(function(){return He})),n.d(r,"loadExposedModule",(function(){return $e})),n.d(r,"mount",(function(){return Ye})),n.d(r,"unmount",(function(){return qe})),n.d(r,"createMicroApp",(function(){return Ve})),n.d(r,"prefetch",(function(){return Ke})),n.d(r,"createIsomorphicMicroApp",(function(){return Ie}));var o={};n.r(o),n.d(o,"getParentUid",(function(){return fi})),n.d(o,"getCurrentUid",(function(){return li})),n.d(o,"getAccountType",(function(){return pi})),n.d(o,"getChannel",(function(){return hi})),n.d(o,"getLang",(function(){return di})),n.d(o,"getLocale",(function(){return vi})),n.d(o,"getSecToken",(function(){return gi})),n.d(o,"getUmid",(function(){return mi})),n.d(o,"getCollina",(function(){return yi})),n.d(o,"getRegionName",(function(){return wi})),n.d(o,"getZoneName",(function(){return bi})),n.d(o,"getWindMessages",(function(){return ji})),n.d(o,"isOneConsole",(function(){return Oi})),n.d(o,"useCORS",(function(){return Si})),n.d(o,"isWidgetPreEnv",(function(){return Ai})),n.d(o,"channelLinkFactory",(function(){return Ei})),n.d(o,"getChannelLinkList",(function(){return Ci})),n.d(o,"getChannelLink",(function(){return Pi})),n.d(o,"channelFeatureFactory",(function(){return xi})),n.d(o,"getChannelFeatureList",(function(){return Li})),n.d(o,"getChannelFeature",(function(){return Ri})),n.d(o,"getWidgetI18nMessages",(function(){return ki})),n.d(o,"getStylePrefixForWindComponent",(function(){return Ti.a})),n.d(o,"getWidgetInfo",(function(){return Ni})),n.d(o,"getBasicUtils",(function(){return Ui})),n.d(o,"getUniversalUtils",(function(){return Di}));var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},i(t,e)};function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var u=function(){return u=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},u.apply(this,arguments)};function s(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{s(r.next(t))}catch(e){i(e)}}function u(t){try{s(r.throw(t))}catch(e){i(e)}}function s(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,u)}s((r=r.apply(t,e||[])).next())}))}function c(t,e){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=e.call(t,a)}catch(u){i=[6,u],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}}Object.create;function l(t,e,n){if(n||2===arguments.length)for(var r,o=0,i=e.length;o<i;o++)!r&&o in e||(r||(r=Array.prototype.slice.call(e,0,o)),r[o]=e[o]);return t.concat(r||Array.prototype.slice.call(e))}Object.create;var f=n(2),p=n.n(f);function h(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var d=n(1),v=n(0),g=n.n(v),m=n(21);function y(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function w(t,e){if(t){if("string"==typeof t)return y(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(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?y(t,e):void 0}}function b(t){return function(t){if(Array.isArray(t))return y(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||w(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var O=n(3),E=n(4),_=function(t){var e;try{e=new URL(t)}catch(r){return}var n=e.searchParams;return n?n.get("callback")||n.get("cb"):null},x=function(t){setTimeout((function(){if(t.src){var e=t.ownerContext.window,n=_(t.src);n&&"function"==typeof e[n]&&(window[n]=function(){var t=e[n].apply(e,arguments);return window[n]=null,t})}}),0)},S=function(){return"undefined"==typeof document},A=function(t,e){return function(n){if(n&&n._evalScriptInSandbox&&n.ownerContext&&"SCRIPT"===n.nodeName&&n.src&&-1===n.ownerContext.allowResources.indexOf(n.src)&&!_(n.src))return n.ownerContext.loadScripts(n.src).then((function(){var t=n._listenerMap.get("load");t&&t.forEach((function(t){t()}));var e=new Event("load");n.onload&&n.onload(e)})).catch((function(t){console.error(t);var e=n._listenerMap.get("error");e&&e.forEach((function(e){e(t)})),n.onerror&&n.onerror(t)}));n&&"SCRIPT"===n.nodeName&&n.ownerContext&&x(n),n&&n.scriptText&&n.ownerContext.evalScript(n.scriptText);for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];var a="append"===e&&void 0===n?[].concat(o):[n].concat(o);try{return t.call.apply(t,[this].concat(b(a)))}catch(u){return t.apply(this,a)}}};if(!S()&&"function"==typeof window.Element)for(var j=0,C=["appendChild","insertBefore","append"];j<C.length;j++){var L=C[j],P=window.Element.prototype[L];window.Element.prototype[L]=A(P,L)}var R=S()?function(){}:window.addEventListener,k=S()?function(){}:window.removeEventListener,N=["webkitmouseforcedown","webkitmouseforcewillbegin","visibilitychange","error","mousemove","mousedown","mouseup","touchcancel","touchend","touchstart","auxclick","dblclick","pointercancel","pointerdown","pointerup","dragend","dragstart","drop","compositionend","compositionstart","keydown","keypress","keyup","input","textInput","close","cancel","copy","cut","paste","click","change","contextmenu","reset","submit","resize","scroll","foucs","blur"],T=function(t){return function(e,n,r){var o=t._listenerMap.get(e)||[];return t._listenerMap.set(e,[].concat(b(o),[n])),-1===N.indexOf(e)?t.baseFrame.addEventListener.apply(t.baseFrame.contentWindow,[e,n,r]):R.apply(window,[e,n,r])}},M=function(t){return function(e,n,r){var o=t._listenerMap.get(e);return o&&o.length&&-1!==o.indexOf(n)&&o.splice(o.indexOf(n),1),-1===N.indexOf(e)?t.baseFrame.removeEventListener.apply(t.baseFrame.contentWindow,[e,n,r]):k.apply(window,[e,n,r])}};function U(t){var e=t.prototype&&t.prototype.constructor===t&&Object.getOwnPropertyNames(t.prototype).length>1||/^class\b/.test(t.toString());return e}function I(t){var e=0===t.name.indexOf("bound ")&&!t.hasOwnProperty("prototype");return e}var D=["setTimeout","setInterval","clearInterval","clearTimeout"],B=["requestAnimationFrame","webkitRequestAnimationFrame","mozRequestAnimationFrame","oRequestAnimationFrame","msRequestAnimationFrame","cancelAnimationFrame","webkitCancelAnimationFrame","mozCancelAnimationFrame","oCancelAnimationFrame","msCancelAnimationFrame"],F=Object(E.a)((function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0;Object(O.a)(this,t);var o=[].concat(B,b(e.externals||[])),i={};return D.forEach((function(t){o.includes(t)||(i[t]=r.contentWindow[t].bind(r.contentWindow))})),new Proxy(r.contentWindow,{set:function(t,e,n){return t[e]=n,i[e]=n,!0},get:function(t,e){if(o.includes(e)){var r=window[e];if("function"!=typeof r||I(r)||U(r))return r;var a=r.bind(window);for(var u in r)a[u]=r[u];return a}switch(e){case"document":return n.document;case"location":return n.location;case"history":return n.history;case"__CONSOLE_OS_GLOBAL_VARS_":return i;case"addEventListener":return T(n);case"removeEventListener":return M(n)}if(i[e])return i[e];var s=t[e];return"function"!=typeof s||I(s)||U(s)?s:s.bind&&s.bind(t)}})})),G=F,W=["innerHTML","text","innerText"],z=function(t){t._listenerMap=new Map,t.addEventListener=function(t,e){return function(n,r,o){var i=t._listenerMap.get(n)||[];return t._listenerMap.set(n,[].concat(b(i),[r])),e.apply(t,[n,r,o])}}(t,t.addEventListener),t.removeEventListener=function(t,e){return function(n,r,o){var i=t._listenerMap.get(n);return i&&i.length&&-1!==i.indexOf(r)&&i.splice(i.indexOf(r),1),e.apply(t,[n,r,o])}}(t,t.removeEventListener),t._evalScriptInSandbox||(W.forEach((function(e){Object.defineProperty(t,e,{get:function(){return this.scriptText||""},set:function(e){this.scriptText=e,t.parentNode&&this.ownerContext.evalScript&&t.ownerContext.evalScript(e.toString())},enumerable:!1})})),t._evalScriptInSandbox=!0)};function H(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return $(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return $(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){u=!0,i=t},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}function $(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var Y=Object(E.a)((function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;Object(O.a)(this,t);var r=[];return new Proxy(document,{set:function(t,e,n){switch(e){case"cookie":document.cookie=n;break;default:t[e]=n}return!0},get:function(t,o){switch(o){case"body":return n.body;case"location":return n.location;case"defaultView":return n.window;case"write":case"writeln":return function(){};case"createElement":return function(){var t,r=(t=document).createElement.apply(t,arguments);return r.ownerContext=n,r.appId=e.id,"SCRIPT"!==r.tagName||e.enableScriptEscape||z(r),r};case"addEventListener":return function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];return r.push(n),t.addEventListener.apply(t,n)};case"removeEventListeners":return function(){var e,n=H(r);try{for(n.s();!(e=n.n()).done;){var o=e.value;t.removeEventListener.apply(t,b(o))}}catch(i){n.e(i)}finally{n.f()}}}return"function"==typeof t[o]?t[o].bind&&t[o].bind(t):t[o]}})})),q=Y,V=Object(E.a)((function t(e){return Object(O.a)(this,t),new Proxy({},{set:function(t,n,r){switch(n){case"href":break;default:e[n]=r}return!0},get:function(t,n){switch(n){case"reload":return function(){return window.location.reload()};case"replace":return function(){};case"toString":return function(){try{return e.toString()}catch(t){return e.href}}}return"function"==typeof e[n]?e[n].bind&&e[n].bind(t):e[n]}})})),K=V,J=Object(E.a)((function t(e,n){if(Object(O.a)(this,t),!e)return n.history;var r=function(){n.postMessage({type:"".concat(e,":history-change"),data:JSON.parse(JSON.stringify(n.location))},"*")};try{var o=n.history.pushState,i=n.history.replaceState;return n.history.pushState=function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];var a=o.apply(n.history,[].concat(e));return r(),a},n.history.replaceState=function(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];var a=i.apply(n.history,[].concat(e));return r(),a},n.history}catch(a){return}})),Z=J,X=function(t){return t.includes("console.aliyun.com")?"include":"omit"};function Q(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function tt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Q(Object(n),!0).forEach((function(e){h(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Q(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var et=function(){function t(e,n){Object(O.a)(this,t),this.location=new K(n.contentWindow.location),this.history=new Z(e.id,n.contentWindow),this.window=new G(e,this,n,location),this.allowResources=e.allowResources||[];var r=e.body;e.disableBody?r=document.body:e.body||(r=document.createElement("body"),document.documentElement.appendChild(r)),this.body=r,this.document=new q(tt({enableScriptEscape:!0},e),this,n,location),this.baseFrame=n,this._listenerMap=new Map,this.window.__IS_CONSOLE_OS_CONTEXT__=!0}var e,n;return Object(E.a)(t,[{key:"loadScripts",value:(n=Object(d.a)(g.a.mark((function t(e){var n,r;return g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,fetch(e,{credentials:X(e)});case 2:return n=t.sent,t.next=5,n.text();case 5:r=t.sent,this.evalScript(r,e);case 7:case"end":return t.stop()}}),t,this)}))),function(t){return n.apply(this,arguments)})},{key:"evalScript",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=new Function("\n return function ({window, location, history, document}){ \n with(window.__CONSOLE_OS_GLOBAL_VARS_) {\n try {\n ".concat(t,"\n }\n catch(e) {\n console.log(e)\n }\n }\n }//@ sourceMappingURL=").concat(e));n().call(this.window,tt({},this))}},{key:"updateBody",value:function(t){!t&&this.body||(this.body=t)}},{key:"remove",value:function(){this.document.removeEventListeners(),this.baseFrame&&(this.baseFrame.parentNode?this.baseFrame.parentNode.removeChild(this.baseFrame):this.baseFrame.setAttribute("src","about:blank"))}}],[{key:"create",value:function(t){var e=this;return new Promise((function(n){var r=document.createElement("iframe");if(r.setAttribute("src",t.url?t.url:"/api.json"),r.style.cssText="position: absolute; top: -20000px; width: 1px; height: 1px;",document.body.appendChild(r),"about:blank"===t.url)return n(new e(t,r));r.onload=function(){n(new e(t,r))}}))}},{key:"remove",value:(e=Object(d.a)(g.a.mark((function t(e){return g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.remove&&e.remove();case 1:case"end":return t.stop()}}),t)}))),function(t){return e.apply(this,arguments)})}]),t}(),nt=et;var rt=function(){var t=Object(d.a)(g.a.mark((function t(){var e,n=arguments;return g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=n.length>0&&void 0!==n[0]?n[0]:{},t.next=3,nt.create(e);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),ot=function(){var t=Object(d.a)(g.a.mark((function t(e){return g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,nt.remove(e);case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),it=n(5),at=n(27),ut=new at.EventEmitter,st=function(){var t=window._aliOSKernel;try{return void 0===t?ut:t.createEventBus?t.createEventBus():ut}catch(e){}return ut};function ct(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function lt(t,e,n,r,o,i,a){try{var u=t[i](a),s=u.value}catch(c){return void n(c)}u.done?e(s):Promise.resolve(s).then(r,o)}function ft(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(t){lt(i,r,o,a,u,"next",t)}function u(t){lt(i,r,o,a,u,"throw",t)}a(void 0)}))}}var pt=n(10),ht=n.n(pt);function dt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function vt(t,e,n){return e&&dt(t.prototype,e),n&&dt(t,n),t}function gt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var yt=vt((function t(){gt(this,t)})),wt=function(){function t(e,n){var r=this;gt(this,t),this.cache=new Map,this.resolved=function(t){return r.cache.has(t)},this.require=function(t){var e,n=r.resolveModule(t);return(null===(e=r.context)||void 0===e?void 0:e.window[t])||n.exports},this.id=e,this.exports={},this.parent=n,this.filename=e,this.loaded=!1}return vt(t,[{key:"requireIsolateWithContext",value:function(t,e){var n=this.resolveModule(t);return n.resolver(n.require,n,n.exports,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?mt(Object(n),!0).forEach((function(e){ct(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):mt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},e)),n.exports}},{key:"resolveModule",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=this.cache.get(e);if(void 0!==r)return r;var o=new t(e,n);return this.cache.set(e,o),o}}]),t}();wt.record=new Map;var bt=new wt("main",null);function Ot(t,e,n){e.onerror=null,e.onload=null,clearTimeout(n);var r=wt.record.get(t);t&&t.endsWith&&!t.endsWith("_scripts_")&&r&&!r.loaded&&wt.record.delete(t)}function Et(t,e,n){var r=wt.record.get(t);Ot(t,e,n),r&&r.reject(new Error("script load fail"))}function _t(t,e){var n=document.createElement("script");n.charset="utf-8",n.src=e,n.setAttribute("nonce","");var r=window.setTimeout((function(){Et(t,n,r)}),12e4);n.onerror=function(){Et(t,n,r)},n.onload=function(){Ot(t,n,r)},document.head.appendChild(n)}function xt(t,e,n){return St.apply(this,arguments)}function St(){return St=ft(ht.a.mark((function t(e,n,r){var o,i;return ht.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,fetch(n);case 2:return o=t.sent,t.next=5,o.text();case 5:i=t.sent,window.eval("__CONSOLE_OS_GLOBAL_HOOK__('".concat(e.replace("_scripts_",""),"', function(require, module, exports, {window, location, history, document}){\n with(window.__CONSOLE_OS_GLOBAL_VARS_){\n ").concat(r(i),"\n }\n })"));case 7:case"end":return t.stop()}}),t)}))),St.apply(this,arguments)}function At(t){return jt.apply(this,arguments)}function jt(){return jt=ft(ht.a.mark((function t(e){var n,r,o,i;return ht.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.transform||function(t){return t},e.noCache||!bt.resolved(e.id)){t.next=5;break}if(!e.context){t.next=4;break}return t.abrupt("return",bt.requireIsolateWithContext(e.id,e.context));case 4:return t.abrupt("return",bt.require(e.id));case 5:return r=[],o=wt.record.get(e.id),o&&o.loaded||(o?r.push(o.promise):(i=new Promise((function(t,n){o=new yt,o.resolve=t,o.reject=n,o.context=e.context,o.deps=e.deps,wt.record.set(e.id,o)})),o.promise=i,r.push(i),e.xmlrequest?xt(e.id,e.url,n):_t(e.id,e.url))),t.next=10,Promise.all(r);case 10:return t.abrupt("return",bt.require(e.id));case 11:case"end":return t.stop()}}),t)}))),jt.apply(this,arguments)}function Ct(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Lt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=t[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(s){o=!0,i=s}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Ct(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(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ct(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Pt=n(100),Rt=n.n(Pt);function kt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Nt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?kt(Object(n),!0).forEach((function(e){ct(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):kt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Tt=function(t,e){var n=e.context;return Rt()(e.context)&&(n=n({id:t})),n},Mt=null;function Ut(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function It(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ut(Object(n),!0).forEach((function(e){ct(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ut(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Dt(t){return Bt.apply(this,arguments)}function Bt(){return Bt=ft(ht.a.mark((function t(e){return ht.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,At(e);case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)}))),Bt.apply(this,arguments)}function Ft(t){return Gt.apply(this,arguments)}function Gt(){return Gt=ft(ht.a.mark((function t(e){return ht.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,At(It(It({},e),{},{id:"".concat(e.id,"_scripts_"),noCache:!0}));case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)}))),Gt.apply(this,arguments)}"undefined"!=typeof document&&(window.__CONSOLE_OS_GLOBAL_HOOK__&&(Mt=window.__CONSOLE_OS_GLOBAL_HOOK__),window.__CONSOLE_OS_GLOBAL_HOOK__=function(t,e){if(t&&e){var n=wt.record.get(t),r=wt.record.get("".concat(t,"_scripts_"));if(!n&&!r)return function(t,e){Mt?Mt(t,e):window.__IS_CONSOLE_OS_CONTEXT__&&window.parent.__CONSOLE_OS_GLOBAL_HOOK__(t,e)}(t,e);if(r)return function(t,e,n){try{var r=Tt(t,n);e.call(r.window,void 0,void 0,void 0,Nt({},r)),wt.record.delete("".concat(t,"_scripts_")),n.loaded=!0,n.resolve()}catch(o){n.reject(o)}}(t,e,r);if(!n)return;var o=bt.resolveModule(t);try{var i=Tt(t,n);n.deps&&Object.entries(n.deps).forEach((function(t){var e=Lt(t,2),n=e[0],r=e[1];r||console.warn("".concat(n," is null or undefined, please check the import statement for ").concat(n));var i=o.resolveModule(n);i.exports=r})),o.resolver=e,i=i||bt.context,o.context=i,e(o.require,o,o.exports,Nt({},i)),n.resolve(n)}catch(a){n.reject(a)}n.loaded=!0}});var Wt=n(14),zt=n.n(Wt),Ht=n(30),$t=n.n(Ht),Yt=n(101),qt=n.n(Yt),Vt=n(102),Kt=n.n(Vt);var Jt={repeat:3,overrideIds:!0,stackableRoot:":not(#".concat("\\9",")")},Zt=$t.a.plugin("postcss-css-wrapper",(function(t){var e=qt()({},Jt,t);return function(t){t.walkRules((function(t){var n="atrule"===t.parent.type&&"keyframes"===t.parent.name;n||function(t,e){t.selectors=t.selectors.map((function(t){return"html"===t||":root"===t||":host"===t||t===e.stackableRoot?t+e.stackableRoot.repeat(e.repeat):"".concat(e.stackableRoot.repeat(e.repeat)," ").concat(t)})),e.overrideIds&&(new RegExp("#(?!".concat(Kt()("\\9"),")")).test(t.selector)||/\[id/.test(t.selector))&&t.walkDecls((function(t){t.important=!0}))}(t,e)}))}})),Xt=function(t,e){t.forEach((function(t){var n=document.createElement("link");n.rel="stylesheet",n.href=Object(it.c)(t,e),document.head.appendChild(n)}))},Qt=function(t,e){t.forEach(function(){var t=Object(d.a)(g.a.mark((function t(n){var r;return g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,zt.a.get(n);case 2:return r=t.sent,t.abrupt("return",$t()([Zt({stackableRoot:e,repeat:1,overrideIds:!1})]).process(r.data).then((function(t){var e=document.createElement("style");e.innerHTML=t.css,document.head.appendChild(e)})));case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())},te=n(22);function ee(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ne(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ee(Object(n),!0).forEach((function(e){h(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ee(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var re=function(){var t=Object(d.a)(g.a.mark((function t(e,n){return g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.url){t.next=2;break}return t.abrupt("return",Promise.resolve(null));case 2:return t.t0=it.a,t.next=5,Dt({id:e.name,url:e.url,context:n});case 5:return t.t1=t.sent,t.abrupt("return",(0,t.t0)(t.t1));case 7:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}(),oe=function(t){return"string"==typeof t.manifest?t.manifest:location.href},ie=function(){var t=Object(d.a)(g.a.mark((function t(e,n){var r,o,i,a,u,s,c,l,f,p;return g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.name,o=e.url,i=null,!e.manifest){t.next=36;break}return t.next=5,Object(te.a)(e,e.name);case 5:if(a=t.sent,!a){t.next=36;break}if(r=a.name,u=Object(te.b)(a),s=u.js,c=u.css,!a.runtime){t.next=14;break}return t.next=12,re(a.runtime,{window:window,document:document,location:location,history:history});case 12:l=t.sent,l&&(e.deps=l);case 14:if(!a.externals||!a.externals.length){t.next=27;break}f=0;case 16:if(!(f<a.externals.length)){t.next=27;break}if(a.externals[f].startsWith&&a.externals[f].startsWith("http")){t.next=19;break}return t.abrupt("continue",24);case 19:if(!a.externals[f].endsWith(".css")){t.next=22;break}return Qt([a.externals[f]],e.name),t.abrupt("continue",24);case 22:return t.next=24,Ft({id:r,url:a.externals[f],context:n,xmlrequest:!0});case 24:f++,t.next=16;break;case 27:f=0;case 28:if(!(f<s.length-1)){t.next=34;break}return t.next=31,Ft({id:r,url:Object(it.c)(s[f],oe(e)),context:n});case 31:f++,t.next=28;break;case 34:o=Object(it.c)(s[s.length-1],oe(e)),i=c;case 36:return i&&Xt(i,oe(e)),t.t0=it.a,t.next=40,Dt({id:r,url:o,context:n,deps:ne(ne({},e.deps||{}),{},{"@alicloud/console-os-environment":{publicPath:e.publicPath||Object(it.e)(o)}})});case 40:return t.t1=t.sent,p=(0,t.t0)(t.t1),Object(it.h)(p),t.abrupt("return",{name:r,bootstrap:b(p.bootstrap),mount:[Object(d.a)(g.a.mark((function t(){return g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(it.f)(e.appWillMount,p);case 2:case"end":return t.stop()}}),t)})))].concat(b(p.mount),[Object(d.a)(g.a.mark((function t(){return g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(it.f)(e.appDidMount,p);case 2:case"end":return t.stop()}}),t)})))]),unmount:[Object(d.a)(g.a.mark((function t(){return g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(it.f)(e.appWillUnmount,p);case 2:case"end":return t.stop()}}),t)})))].concat(b(p.unmount),[Object(d.a)(g.a.mark((function t(){return g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(it.f)(e.appDidUnmount,p);case 2:case"end":return t.stop()}}),t)})))]),update:[Object(d.a)(g.a.mark((function t(){return g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(it.f)(e.appWillUpdate,p);case 2:case"end":return t.stop()}}),t)})))].concat(b(p.update?p.update:[])),exposedModule:p.exposedModule});case 44:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}();function ae(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ue(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ae(Object(n),!0).forEach((function(e){h(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ae(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var se=st(),ce=function(){function t(e,n,r){var o=this;Object(O.a)(this,t),this._emitLocationChange=function(){se.emit(o.historyEventName,o.context.location)},this._emitGlobalEvent=function(t){var e=t.data;e.type&&-1!==o.allowEvents.indexOf(t.data.type)&&(e.appId=o.appInfo.name,e.type===o.historyEventName?o._emitLocationChange():se.emit(e.type,Object(it.g)(e)))},this.appInfo=e,this.context=n,this.inited=!1;var i=[this.historyEventName];this.allowEvents=r.allowEvents?[].concat(b(r.allowEvents),i):[].concat(i)}var e,n,r,o,i,a;return Object(E.a)(t,[{key:"isInited",value:function(){return this.inited}},{key:"setPendingPromise",value:function(t){this.pendingPromise=t}},{key:"getPendingPromise",value:function(){return this.pendingPromise}},{key:"setPendingResolver",value:function(t){this._pendingResolver=t}},{key:"pendingResolver",get:function(){return this._pendingResolver}},{key:"setPendingRejecter",value:function(t){this._pendingRejecter=t}},{key:"pendingRejecter",get:function(){return this._pendingRejecter}},{key:"load",value:(a=Object(d.a)(g.a.mark((function t(){return g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this.remoteApp){t.next=4;break}return t.next=3,ie(this.appInfo,this.context);case 3:this.remoteApp=t.sent;case 4:return this.inited=!0,t.abrupt("return",this.remoteApp);case 6:case"end":return t.stop()}}),t,this)}))),function(){return a.apply(this,arguments)})},{key:"mount",value:(i=Object(d.a)(g.a.mark((function t(e){var n,r,o,i,a=arguments;return g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=a.length>1&&void 0!==a[1]?a[1]:{},r=n.customProps,o=this.context.baseFrame,o&&(o.contentWindow.addEventListener("popstate",this._emitLocationChange),o.contentWindow.addEventListener("message",this._emitGlobalEvent)),i=Object(m.b)({name:this.appInfo.name,bootstrap:Object(it.b)(this.remoteApp.bootstrap,"bootstrap"),mount:Object(it.b)(this.remoteApp.mount,"mount"),unmount:Object(it.b)(this.remoteApp.unmount,"unmount"),update:Object(it.b)(this.remoteApp.update,"update")},{domElement:e||this.appInfo.dom,appProps:ue({emitter:st()},r||this.appInfo.customProps)}),this.attachParcel(i),t.abrupt("return",this.parcel.mountPromise);case 6:case"end":return t.stop()}}),t,this)}))),function(t){return i.apply(this,arguments)})},{key:"update",value:(o=Object(d.a)(g.a.mark((function t(e){var n;return g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",null===(n=this.parcel)||void 0===n?void 0:n.update({appProps:ue(ue({},e),{},{emitter:st()})}));case 1:case"end":return t.stop()}}),t,this)}))),function(t){return o.apply(this,arguments)})},{key:"unmount",value:(r=Object(d.a)(g.a.mark((function t(){var e;return g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:this.parcel&&"MOUNTED"===this.parcel.getStatus()&&(e=this.context.baseFrame,e&&(e.contentWindow.removeEventListener("popstate",this._emitLocationChange),e.contentWindow.removeEventListener("message",this._emitGlobalEvent)),this.parcel.unmount());case 1:case"end":return t.stop()}}),t,this)}))),function(){return r.apply(this,arguments)})},{key:"destroy",value:(n=Object(d.a)(g.a.mark((function t(){return g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.unmount();case 2:ot(this.context);case 3:case"end":return t.stop()}}),t,this)}))),function(){return n.apply(this,arguments)})},{key:"dispose",value:(e=Object(d.a)(g.a.mark((function t(){return g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.destroy());case 1:case"end":return t.stop()}}),t,this)}))),function(){return e.apply(this,arguments)})},{key:"getExposedModule",value:function(t){if(this.remoteApp.exposedModule)return this.remoteApp.exposedModule[t]}},{key:"attachParcel",value:function(t){this.parcel=t}},{key:"historyEventName",get:function(){return"".concat(this.appInfo.name,":history-change")}}]),t}(),le=function(){var t=Object(d.a)(g.a.mark((function t(e){return g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",rt(e));case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),fe=n(31),pe=n.n(fe),he=null;function de(t,e){he.set(t,e)}var ve=function(){var t=Object(d.a)(g.a.mark((function t(e,n,o){var i,a,u,s,c=arguments;return g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=c.length>3&&void 0!==c[3]&&c[3],a={window:window,document:document,location:location,history:history},u=new ce(e,a,o),s=new Promise((function(t,e){u.setPendingResolver(t),u.setPendingRejecter(e)})),u.setPendingPromise(s),i||de(n,u),o.disable){t.next=13;break}return t.next=9,le({body:e.dom,id:n,externals:o?o.externalsVars:[],url:o.sandBoxUrl,disableBody:o.disableFakeBody,allowResources:o.allowResources,enableScriptEscape:!1});case 9:a=t.sent;try{a.history&&a.history.replaceState&&"about:blank"!==o.sandBoxUrl&&a.history.replaceState(null,"",o.initialPath||"/")}catch(l){console.error(l)}t.next=14;break;case 13:window.__IS_CONSOLE_OS_CONTEXT__=!0;case 14:return a.__IS_CONSOLE_OS_CONTEXT__=!0,a._aliOSKernel=e.sharingKernel?r:null,u.context=a,t.abrupt("return",u);case 18:case"end":return t.stop()}}),t)})));return function(e,n,r){return t.apply(this,arguments)}}(),ge=function(){var t=Object(d.a)(g.a.mark((function t(e,n){var r,o,i,a,u,s;return g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.name,o=e.noCache,i=void 0!==o&&o,t.next=3,Object(te.a)(e,r);case 3:if(a=t.sent,u=a.name,s=i?null:(c=u,he.get(c)),!s||!s.isInited()){t.next=10;break}return s.context.updateBody&&!n.disableFakeBody&&s.context.updateBody&&s.context.updateBody(e.dom),n.syncInitHref&&s.context.baseFrame&&s.context.baseFrame.contentWindow.history.replaceState(null,null,n.initialPath||"/"),t.abrupt("return",s);case 10:if(!s||s.isInited){t.next=12;break}return t.abrupt("return",new Promise((function(t){t(s.getPendingPromise())})));case 12:return t.next=14,ve(e,u,n,i);case 14:return s=t.sent,s.pendingResolver&&s.pendingResolver(s),t.abrupt("return",s);case 17:case"end":return t.stop()}var c}),t)})));return function(e,n){return t.apply(this,arguments)}}(),me=n(23);function ye(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function we(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ye(Object(n),!0).forEach((function(e){h(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ye(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var be={},Oe=!1,Ee=function(){var t=Object(d.a)(g.a.mark((function t(e){var n,r,o=arguments;return g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=o.length>1&&void 0!==o[1]?o[1]:{},Oe||Re(),r=we(we({singleton:!0},be.sandbox),n.sandbox),e.deps||(e.deps=be.deps||{}),t.next=6,ge(e,r);case 6:return t.abrupt("return",t.sent);case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),_e=function(){var t=Object(d.a)(g.a.mark((function t(e){return g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.load();case 2:return t.abrupt("return",e);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),xe=function(){var t=Object(d.a)(g.a.mark((function t(e,n){return g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.mount(n.dom,{customProps:n.customProps});case 2:return t.abrupt("return",e);case 3:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}(),Se=function(){var t=Object(d.a)(g.a.mark((function t(e,n){return g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.update(n);case 2:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}(),Ae=function(){var t=Object(d.a)(g.a.mark((function t(e){return g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.unmount();case 2:return t.abrupt("return",e);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),je=function(){var t=Object(d.a)(g.a.mark((function t(e){return g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.destroy();case 2:return t.abrupt("return",e);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),Ce=function(t,e){return t.getExposedModule(e)},Le=function(){var t=Object(d.a)(g.a.mark((function t(e,n){var r,o,i=arguments;return g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=i.length>2&&void 0!==i[2]?i[2]:{},t.next=3,Ee(e,r);case 3:return o=t.sent,t.next=6,_e(o);case 6:return t.abrupt("return",Ce(o,n));case 7:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}(),Pe=function(){var t=Object(d.a)(g.a.mark((function t(e){var n,r,o=arguments;return g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=o.length>1&&void 0!==o[1]?o[1]:{},t.next=3,Ee(e,n);case 3:return r=t.sent,t.next=6,_e(r);case 6:return t.next=8,xe(r,e);case 8:return t.abrupt("return",r);case 9:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),Re=function(t){var e;Oe=!0,be=t||{},Object(m.c)(),e={},he=new pe.a({max:e.max||10,dispose:function(t,e){e.dispose()}}),me.a()};function ke(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ne(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ke(Object(n),!0).forEach((function(e){h(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ke(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}Re();function Te(t){return Te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Te(t)}var Me=function(t,e){try{return void 0===("undefined"==typeof _aliOSKernel?"undefined":Te(_aliOSKernel))?t:_aliOSKernel&&_aliOSKernel[e]?_aliOSKernel[e]:t}catch(n){}return t},Ue=function(){function t(e){Object(O.a)(this,t),this.appInfo=e,this.inited=!1}return Object(E.a)(t,[{key:"isInited",value:function(){return this.inited}},{key:"load",value:function(t){return this.remoteApp=t.getBundle(this.appInfo.manifest),this.remoteApp?(this.inited=!0,this.remoteApp.bootstrap(),this.remoteApp):(t.fetchBundle(this.appInfo.manifest),null)}},{key:"mount",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.customProps;return this.inited?this.remoteApp.mount(e):null}},{key:"unmount",value:function(){if(!this.remoteApp)return null;this.remoteApp.unmount()}},{key:"getExposedModule",value:function(t){var e;if(null!==(e=this.remoteApp)&&void 0!==e&&e.exposedModule)return this.remoteApp.exposedModule[t]}}]),t}(),Ie=function(t){var e=new Ue(t);return e};window.__CONSOLE_OS_GLOBAL_VARS_={};var De=Me(Pe,"mountApp"),Be=Me(Pe,"isAppRegistered"),Fe=Me(Re,"start"),Ge=Me(_e,"load"),We=Me(je,"destroy"),ze=Me(Se,"update"),He=Me(Ce,"getExposedModule"),$e=Me(Le,"loadExposedModule"),Ye=Me(xe,"mount"),qe=Me(Ae,"unmount"),Ve=Me(Ee,"createMicroApp"),Ke=Me((function(t){t.forEach(function(){var t=Object(d.a)(g.a.mark((function t(e){var n;return g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.deps||(e.deps=be.deps||{}),t.next=3,ge(Ne({},e),Ne({},be.sandbox));case 3:return n=t.sent,t.next=6,n.load();case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())}),"prefetch"),Je=n(32),Ze=n.n(Je),Xe=n(28);function Qe(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i=[],a=!0,u=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);a=!0);}catch(s){u=!0,o=s}finally{try{a||null==n.return||n.return()}finally{if(u)throw o}}return i}}(t,e)||w(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function tn(t){return("undefined"!=typeof document&&document.cookie?document.cookie.split(/\s*;\s*/).reduce((function(t,e){var n=e.split("="),r=Qe(n,2),o=r[0],i=r[1];try{t[o]=decodeURIComponent(i)}catch(a){t[o]=unescape(i)}return t}),{}):{})[t]}var en={zh:"zh_CN",en:"en_US",ja:"ja_JP","zh-TW":"zh_TW",ko:"ko_KR",fr:"fr_FR",de:"de_DE"},nn=function(t){var e,n,r;return function(t){return t.replace("-","_")}(t||(null===(e=window)||void 0===e||null===(n=e.ALIYUN_CONSOLE_CONFIG)||void 0===n?void 0:n.LOCALE)||(r=tn("aliyun_lang"),r&&en[r])||"en_US")};function rn(t){var e,n=(null===(e=window.ALIYUN_CONSOLE_CONFIG)||void 0===e?void 0:e.MAIN_ACCOUNT_PK)||"";if(!t||!n)return!1;var r=Ze()(n).toString(),o=t.enableBlockList,i=t.enableSampling,a=t.enableWhiteList,u=t.sampling,s=t.blockList,c=t.whiteList;if(o&&null!=s&&s.includes(r))return!1;if(a&&null!=c&&c.includes(r))return!0;if(i){var l=n.substring(n.length-2);return!(Number(l)>=100*(null!=u?u:0)||0===u)}return!1}var on=function(t){var e=t.entry,n="";return"string"==typeof e&&(n=e),n},an=function(t){return t.entry&&"string"!=typeof t.entry?{name:t.name,resources:{},entrypoints:{index:{js:t.entry.scripts,css:t.entry.styles||[]}}}:t.manifest};function un(t){for(var e=t.length-1,n=0;n<=e&&!t[n];n++);for(var r=e;r>=0&&!t[r];r--);return 0===n&&r===e?t:n>r?[]:t.slice(n,r+1)}var sn=function(t,e,n){var r=new URL(t,n||t),o=r.host,i=r.pathname,a=new URL(e,n||t),u=a.host,s=a.pathname;if(o!==u&&("g.alicdn.com"!==u||"dev.g.alicdn.com"!==o))return e;for(var c=un(i.split("/")),l=un(s.split("/")),f=Math.min(c.length,l.length),p=f,h=0;h<f;h++)if(c[h]!==l[h]){p=h;break}for(var d=[],v=p;v<c.length;v++)d.push("..");return d.concat(l.slice(p)).join("/")},cn=n(17),ln=n(11),fn=n(12),pn=function(t,e){return new URL(t,e.endsWith("/")?e:"".concat(e,"/")).toString()},hn=function(t,e,n){var r,o=t.name,i=t.resources,a=t.runtime,u=t.externals,s=t.entrypoints,c=Object.keys(s)[0];return{name:o,resources:Object.keys(i).reduce((function(t,r){return t[r]=pn(sn(e,i[r]),n),t}),{}),runtime:a,externals:u,entrypoints:h({},c,{css:null===(r=s[c].css)||void 0===r?void 0:r.map((function(t){return pn(sn(e,t),n)})),js:s[c].js.map((function(t){return pn(sn(e,t),n)}))})}},dn=function(){var t=Object(d.a)(g.a.mark((function t(e){var n,r,o,i,a,u,s,c,l,f,p,h,d,v,m,y,w;return g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n="latest",r=e.manifest,o=e.logger,!r){t.next=8;break}if("string"==typeof r){t.next=5;break}return t.abrupt("return",r);case 5:i=r,t.next=13;break;case 8:return u=e.version,s=void 0===u?n:u,t.next=11,Object(ln.a)(e);case 11:a=t.sent,s&&(null!==(c=a["dist-tags"])&&void 0!==c&&c[s]&&(h=null===(p=a["next-dist-tags"])||void 0===p?void 0:p[s],d=null==h?void 0:h.version,s=a["dist-tags"][s]||"",d&&(v=null==h?void 0:h.featureStatus,rn(v)&&(s=d))),i=null===(l=a.versions)||void 0===l||null===(f=l[s])||void 0===f?void 0:f.entry);case 13:if(i){t.next=15;break}return t.abrupt("return",void 0);case 15:return t.prev=15,t.next=18,fn.a.getRemote(i);case 18:return m=t.sent,y=m.config,w=m.data,(null==o?void 0:o.setContext)&&o.setContext({manifest:JSON.stringify(w)}),t.abrupt("return",hn(w,i,y.url||i));case 25:return t.prev=25,t.t0=t.catch(15),(null==o?void 0:o.error)&&o.error({E_CODE:"GetManifestError",E_MSG:t.t0.message,data:JSON.stringify(a)}),t.abrupt("return",void 0);case 29:case"end":return t.stop()}}),t,null,[[15,25]])})));return function(e){return t.apply(this,arguments)}}(),vn={ALL_CHANNEL_FEATURE_STATUS:{},ALL_CHANNEL_LINKS:{},ALL_FEATURE_STATUS:{},GLOBAL_DATA:{}},gn=function(){var t=Object(d.a)(g.a.mark((function t(e){var n,r,o,i,a,u,s,c;return g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(ln.a)(e);case 2:if(i=t.sent,a=e.logger,u=(null===(n=i["dist-tags"])||void 0===n?void 0:n["config-latest"])||"",s=null===(r=i["config-versions"])||void 0===r||null===(o=r[u])||void 0===o?void 0:o.entry,c=vn,u&&s){t.next=9;break}return t.abrupt("return",c);case 9:return t.prev=9,t.next=12,fn.a.getRemote(s);case 12:c=t.sent.data,t.next=18;break;case 15:t.prev=15,t.t0=t.catch(9),(null==a?void 0:a.error)&&a.error({E_CODE:"GetConfigError",E_MSG:t.t0.message});case 18:return t.abrupt("return",c);case 19:case"end":return t.stop()}}),t,null,[[9,15]])})));return function(e){return t.apply(this,arguments)}}(),mn=function(){var t=Object(d.a)(g.a.mark((function t(e){var n,r,o,i,a,u,s,c,l,f,p;return g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(ln.a)(e);case 2:if(a=t.sent,u=e.logger,s=nn(e.locale),c=(null===(n=a["dist-tags"])||void 0===n?void 0:n["locales-latest"])||"",l=Object.keys((null===(r=a["locales-versions"])||void 0===r?void 0:r[c])||{}).find((function(t){return t&&t.toLowerCase()===s.toLowerCase()})),f=l&&(null===(o=a["locales-versions"])||void 0===o||null===(i=o[c])||void 0===i?void 0:i[l]),p={},c){t.next=11;break}return t.abrupt("return",p);case 11:return t.prev=11,t.next=14,fn.a.getRemote(f);case 14:p=t.sent.data,t.next=20;break;case 17:t.prev=17,t.t0=t.catch(11),(null==u?void 0:u.error)&&u.error({E_CODE:"GetLocaleError",E_MSG:t.t0.message});case 20:return t.abrupt("return",p);case 21:case"end":return t.stop()}}),t,null,[[11,17]])})));return function(e){return t.apply(this,arguments)}}();function yn(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}var wn=function(){function t(){Object(O.a)(this,t),this.handlers=[]}return Object(E.a)(t,[{key:"use",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,r={fulfilled:t,rejected:n};return this.handlers.push(r),function(){e.handlers=e.handlers.filter((function(t){return t!==r}))}}}]),t}();function bn(t){var e={};return Object.keys(t).forEach((function(n){var r=t[n];"true"===r?e[n]=!0:"false"===r?e[n]=!1:/^\d+$/.test(r)?e[n]=Number(r):e[n]=r})),e}function On(t,e){t.ONE="one"===e.portalType,t.ENV=e.fEnv||t.ENV,t.CHANNEL=e.CHANNEL||t.CHANNEL,t.LANG=e.LANG||t.LANG,t.LOCALE=e.LOCALE||t.LOCALE,t.SEC_TOKEN=e.SEC_TOKEN||t.SEC_TOKEN,t.ACCOUNT={ID:e.CURRENT_PK||t.ACCOUNT.ID,ID_MAIN:e.MAIN_ACCOUNT_PK||t.ACCOUNT.ID_MAIN,TYPE:e.ACCOUNT_TYPE||t.ACCOUNT.TYPE,CERTIFIED:"true"===e.IS_CERTIFIED},t.APP_ID=e.APP_ID||"",t.REGIONS=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.map((function(t){var e=t.regionId,n=t.name,r=t.physicalList,o=void 0===r?[]:r,i=t.zoneList,a=void 0===i?[]:i;return{id:e,name:n||e,physicalIds:o.map((function(t){return t.id})).filter((function(t){return t})),zones:a.map((function(t){return{id:t.zoneId,name:t.name}}))}}))}(e.REGIONS),t.OPEN_STATUS=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(t||{}).reduce((function(e,n){return e[n]=bn(t[n]),e}),{})}(e.OPEN_STATUS),t.LINK=e.CHANNEL_LINKS||t.LINK,t.FEATURE_SWITCH=e.CHANNEL_FEATURE_STATUS||t.FEATURE_SWITCH,t.FEATURE_GRAY=e.FEATURE_STATUS||t.FEATURE_GRAY,t.API_RESULT=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(t||{}).reduce((function(e,n){var r=t[n];return r&&"200"===r.code&&void 0!==r.data&&(e[n]=r.data),e}),{})}(e.STATIC_API),t.RULE_CONFIG=e.RULE_CONFIG||t.RULE_CONFIG,t.LABELS=e.LABELS||t.LABELS,t.USER_PREFERENCE=e.USER_PREFERENCE||t.USER_PREFERENCE,t.NEW_VERSION="true"===e.NEW_VERSION}var En,_n,xn,Sn=(En={ONE:!1,ENV:"prod",CHANNEL:"OFFICIAL",LANG:"zh",LOCALE:"zh-CN",SEC_TOKEN:"",ACCOUNT:{ID:"",ID_MAIN:"",TYPE:"main",CERTIFIED:!1},APP_ID:"",REGIONS:[],OPEN_STATUS:{},LINK:{},FEATURE_SWITCH:{},FEATURE_GRAY:{},API_RESULT:{},RULE_CONFIG:{},LABELS:{},USER_PREFERENCE:{},NEW_VERSION:!1},_n="undefined"!=typeof window?window.ALIYUN_CONSOLE_CONFIG:void 0,_n&&On(En,_n),"zh-TW"===En.LOCALE&&(En.LANG="zh-TW"),En);function An(t){var e=window,n=e.ALIYUN_ECS_CONSOLE_CONFIG,r="";return Sn.ONE?r=Sn.CHANNEL:n&&(r=n.channel),r||function(t){switch(t){case"INTL":return"SIN";case"JP":return"JP";case"CN":return"OFFICIAL";default:return t}}(t)}!function(t){t.DEV="dev",t.DAILY="daily",t.PRE="pre",t.PROD="prod"}(xn||(xn={}));var jn,Cn,Ln,Pn,Rn,kn,Nn,Tn,Mn,Un,In,Dn=(jn=window,Cn=jn.location.hostname,Ln=function(){var t=window,e=t.location,n=e.protocol,r=e.hostname,o=e.port;return o||/^127(?:\.0\.0)?\.1$|^0\.0\.0\.0$|^localhost$/.test(r)?xn.DEV:Sn.ONE&&"daily"===Sn.ENV||/\.test$/.test(r)||/daily-|-daily/i.test(r)?xn.DAILY:Sn.ONE&&"pre"===Sn.ENV||/pre-|-pre/i.test(r)||"http:"===n?xn.PRE:xn.PROD}(),Pn=tn("aliyun_site")||"CN",Rn=/4service/.test(Cn),kn=/\.test$/.test(Cn),Nn=/\.console\.aliyun\.(?:com|test)$/.test(Cn),Tn=/\.alibabacloud\.(?:com|test)$/.test(Cn),Mn="".concat(Rn?"fecs4service":"fecs",".console.").concat(Tn?"alibabacloud":"aliyun",".").concat(kn?"test":"com"),Un="https://".concat(Mn),{ENV:Ln,ENV_IS_DEV:Ln===xn.DEV,ENV_IS_DAILY:Ln===xn.DAILY,ENV_IS_PRE:Ln===xn.PRE,ENV_IS_PROD:Ln===xn.PROD,APP_ID:Sn.APP_ID,DOMAIN_IS_4SERVICE:Rn,DOMAIN_IS_CONSOLE:Nn,SITE:Pn,CHANNEL:An(Pn),FECS_HOST:Mn,FECS_URL_BASE:Un});!function(t){t.MAIN="main",t.RAM="sub",t.STS="sts"}(In||(In={}));var Bn,Fn,Gn,Wn=function(){var t=window,e=t.ALIYUN_ECS_CONSOLE_CONFIG,n="",r="",o=In.MAIN;return Sn.ONE?(n=Sn.ACCOUNT.ID,r=Sn.ACCOUNT.ID_MAIN,o=Sn.ACCOUNT.TYPE):e&&(n=e.CURRENT_PK,r=e.MASTER_PK,e.isChildAccount?o=In.RAM:e.isRoleAccount&&(o=In.STS)),n||(n=tn("login_aliyunid_pk")||"",n||(o=In.RAM)),{ID:n,ID_MAIN:r||n,TYPE:o}}();!function(t){t.ZH="zh",t.EN="en",t.JA="ja",t.ZT="zh-TW",t.KO="ko",t.FR="fr",t.DE="de"}(Bn||(Bn={})),function(t){t.ZH="zh-CN",t.EN="en-US",t.JA="ja-JP",t.ZT="zh-TW",t.KO="ko-KR",t.FR="fr-FR",t.DE="de-DE"}(Fn||(Fn={}));var zn=[Bn.EN,Bn.ZH,Bn.ZT,Bn.JA,Bn.KO,Bn.FR,Bn.DE],Hn=(Gn={},h(Gn,Bn.ZH,Fn.ZH),h(Gn,Bn.ZT,Fn.ZT),h(Gn,Bn.EN,Fn.EN),h(Gn,Bn.JA,Fn.JA),h(Gn,Bn.KO,Fn.KO),h(Gn,Bn.FR,Fn.FR),h(Gn,Bn.DE,Fn.DE),Gn);function $n(){if(Sn.ONE)return[Sn.LANG,Sn.LOCALE];var t=tn("aliyun_lang")||Bn.ZH,e=function(t){return Hn[t]}(t);return e||(t=Bn.ZH,e=Fn.ZH),[t,e]}var Yn=function(){var t=window,e=t.CONSOLE_BASE_SETTINGS,n=void 0===e?{}:e,r=t.viewframeSetting,o=void 0===r?{}:r,i=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(!t.length)return[Bn.EN,Bn.ZH,Bn.ZT,Bn.JA];var e=[Bn.EN,Bn.ZH];return t.forEach((function(t){!e.includes(t)&&zn.includes(t)&&e.push(t)})),e}(n.LANGUAGES||o.languages),a=$n(),u=Qe(a,2),s=u[0],c=u[1];return i.includes(s)||(s=s===Bn.ZT&&i.includes(Bn.ZH)?Bn.ZH:Bn.EN,c=Hn[s]),{LOCALE:c,LANGUAGE:s,LANGUAGES:i}}();function qn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Vn(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?qn(Object(n),!0).forEach((function(e){h(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):qn(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Kn(t,e){return e&&t?"function"==typeof t||"function"==typeof e?function(){var n="function"==typeof t?t():t,r="function"==typeof e?e():e;return Vn(Vn({},n),r)}:Vn(Vn({},t),e):t||e}function Jn(t,e){return t&&e?function(n){return!1!==t(n)&&e(n)}:e||t}var Zn,Xn,Qn=function(t,e){return e=e||{},new Promise((function(n,r){var o=new XMLHttpRequest,i=[],a=[],u={},s=function(){return{ok:2==(o.status/100|0),statusText:o.statusText,status:o.status,url:o.responseURL,text:function(){return Promise.resolve(o.responseText)},json:function(){return Promise.resolve(o.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([o.response]))},clone:s,headers:{keys:function(){return i},entries:function(){return a},get:function(t){return u[t.toLowerCase()]},has:function(t){return t.toLowerCase()in u}}}};for(var c in o.open(e.method||"get",t,!0),o.onload=function(){o.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,(function(t,e,n){i.push(e=e.toLowerCase()),a.push([e,n]),u[e]=u[e]?u[e]+","+n:n})),n(s())},o.onerror=r,o.withCredentials="include"==e.credentials,e.headers)o.setRequestHeader(c,e.headers[c]);o.send(e.body||null)}))};function tr(){return Zn||(Zn=function(){try{return new Function("","return window")()}catch(t){return null}}()||function(){try{var t;return(null===(t=window.document.getElementsByTagName("html")[0])||void 0===t?void 0:t.ownerDocument.defaultView)||null}catch(e){return null}}()||window),Zn}function er(t,e){var n=new Error(e);return n.name=t,n}!function(t){t.TIMEOUT="EFetchTimeout",t.NETWORK="EFetchNetwork"}(Xn||(Xn={}));var nr=["timeout"];function rr(t){var e={};return Object.keys(t).forEach((function(n){var r=t[n];if(""!==r&&null!=r)if("string"==typeof r)e[n]=r;else if("number"==typeof r||"boolean"==typeof r)e[n]=r.toString();else try{e[n]=JSON.stringify(r)}catch(o){e[n]="TypeError: cyclic object value"}})),e.TOPIC=e.__topic__,e}function or(t,e,n){if(n.length)try{var r=JSON.stringify(function(t){var e="@alicloud/logger-sls/merged";return 1===t.length&&(e=t[0].__topic__),{__topic__:e,__logs__:t.map(rr)}}(n));(function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.timeout,r=void 0===n?0:n,o=yn(e,nr),i=tr().fetch||Qn,a=i(t,o).catch((function(t){if("AbortError"===t.name||t.name===Xn.TIMEOUT)throw t;throw er(Xn.NETWORK,t.message)}));return r>0?new Promise((function(e,n){var o=window.setTimeout((function(){n(er(Xn.TIMEOUT,"fetch('".concat(t,"') timeout after ").concat(r,"ms")))}),r);a.then((function(t){clearTimeout(o),e(t)}),(function(t){clearTimeout(o),n(t)}))})):a})(t,{method:"POST",timeout:2e4,credentials:"omit",headers:{"Content-Type":"application/json","x-log-apiversion":e,"x-log-bodyrawsize":r.length},body:r}).catch((function(){}))}catch(o){}}function ir(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ar(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ir(Object(n),!0).forEach((function(e){h(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ir(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var ur,sr,cr=function(){function t(e,n,r){var o=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"0.6.0";Object(O.a)(this,t),this.clearQueue=function(){o.clearTimer(),or(o.trackUrl,o.apiVersion,o.queue),o.queue=[]},this.put=function(t,e,n){var r=ar(ar({},e),{},{__topic__:t});n?or(o.trackUrl,o.apiVersion,[r]):(o.queue.push(r),o.signalSend())},this.trackUrl="//".concat(e,".").concat(n,"/logstores/").concat(r,"/track"),this.apiVersion=i,this.queue=[],this.timer=null,this.frozen=!0,setTimeout((function(){o.frozen=!1,o.signalSend()}),1e4)}return Object(E.a)(t,[{key:"signalSend",value:function(){this.queue.length&&!this.frozen&&(this.queue.length>=64?this.clearQueue():this.resetTimer())}},{key:"clearTimer",value:function(){this.timer&&(window.clearTimeout(this.timer),this.timer=null)}},{key:"resetTimer",value:function(){this.clearTimer(),this.timer=window.setTimeout(this.clearQueue,200)}}]),t}();!function(t){t.WINDOWS="Windows",t.WINDOWS_PHONE="WindowsPhone",t.WINDOWS_MOBILE="WindowsMobile",t.MAC_OS="MacOS",t.IOS="iOS",t.ANDROID="Android",t.UBUNTU="Ubuntu",t.FEDORA="Fedora",t.RED_HAT="RedHat",t.SUSE="SUSE",t.LINUX="Linux",t.CHROME_OS="ChromeOS",t.FREE_BSD="FreeBSD",t.OTHER="OTHER"}(ur||(ur={})),function(t){t.OPERA_MINI="OperaMini",t.OPERA="Opera",t.FIREFOX="Firefox",t.SAFARI="Safari",t.YANDEX="Yandex",t.TAO_BAO="TaoBao",t.LIE_BAO="LieBao",t.QQ="QQ",t.SOU_GOU="SouGou",t.MAXTHON="Maxthon",t.UC="UC",t.HEADLESS_CHROME="HeadlessChrome",t.EDGE="Edge",t.IE="IE",t.CHROME="Chrome",t.OTHER="OTHER"}(sr||(sr={}));var lr={"NT 5.0":"2000","NT 5.1":"XP","NT 5.2":"XP","NT 6.0":"Vista","NT 6.1":"7","NT 6.2":"8","NT 6.3":"8.1","NT 6.4":"10","NT 10.0":"10"};function fr(t,e){return/Version\/([^ /;()]+)/i.test(e)?RegExp.$1:t}var pr,hr,dr,vr,gr,mr,yr,wr,br,Or=(pr=navigator.userAgent,hr=function(t){if(/Windows/i.test(t)){if(/Windows NT ([^ /;()]+)/i.test(t)){var e="NT ".concat(RegExp.$1);return[ur.WINDOWS,lr[e]||e]}return/Windows Phone[/ ]([^ /;()]+)/i.test(t)?[ur.WINDOWS_PHONE,RegExp.$1]:/Windows Mobile/i.test(t)?[ur.WINDOWS_MOBILE,""]:[ur.WINDOWS,""]}return/Mac OS X ([^ /;()]+)/i.test(t)?[ur.MAC_OS,RegExp.$1.replace(/_/g,".")]:/iPhone|iPad/i.test(t)&&/CPU (?:iPhone )?OS ([^ /;()]+)/i.test(t)?[ur.IOS,RegExp.$1.replace(/_/g,".")]:/Linux/i.test(t)?/Android ([^ /;()]+)+/i.test(t)?[ur.ANDROID,RegExp.$1]:/Ubuntu\/([^ /;()]+)/i.test(t)?[ur.UBUNTU,RegExp.$1]:/Ubuntu/i.test(t)?[ur.UBUNTU,""]:/Fedora\/([^ /;()]+)/i.test(t)?[ur.FEDORA,RegExp.$1]:/Fedora/i.test(t)?[ur.FEDORA,""]:/Red Hat\/([^ /;()]+)/i.test(t)?[ur.RED_HAT,RegExp.$1]:/Red Hat/i.test(t)?[ur.RED_HAT,""]:/SUSE\/([^ /;()]+)/i.test(t)?[ur.SUSE,RegExp.$1]:[ur.LINUX,""]:/CrOS/i.test(t)?[ur.CHROME_OS,""]:/FreeBSD/i.test(t)?[ur.FREE_BSD,""]:[ur.OTHER,""]}(pr),dr=Qe(hr,2),vr=dr[0],gr=dr[1],mr=function(t){return/Opera Mini\/([^ /;()]+)/i.test(t)?[sr.OPERA_MINI,RegExp.$1]:/Opera[/ ]([^ /;()]+)/i.test(t)?[sr.OPERA,fr(RegExp.$1,t)]:/OPR\/([^ /;()]+)/i.test(t)?[sr.OPERA,RegExp.$1]:/Firefox\/([^ /;()]+)/i.test(t)?[sr.FIREFOX,RegExp.$1]:/Version\/([\w.]+)\s+Safari\//i.test(t)?[sr.SAFARI,RegExp.$1]:/YaBrowser\/([^ /;()]+)/i.test(t)?[sr.YANDEX,RegExp.$1]:/TaoBrowser\/([^ /;()]+)/i.test(t)?[sr.TAO_BAO,RegExp.$1]:/LBBROWSER/i.test(t)?[sr.LIE_BAO,""]:/QQBrowser\/([^ /;()]+)/i.test(t)?[sr.QQ,RegExp.$1]:/\sSE\s([^ /;()]+)/i.test(t)?[sr.SOU_GOU,RegExp.$1]:/Maxthon\/([^ /;()]+)/i.test(t)?[sr.MAXTHON,RegExp.$1]:/UBrowser\/([^ /;()]+)/i.test(t)?[sr.UC,RegExp.$1]:/HeadlessChrome\/([^ /;()]+)/i.test(t)?[sr.HEADLESS_CHROME,RegExp.$1]:/Edge?\/([^ /;()]+)/i.test(t)?[sr.EDGE,RegExp.$1]:/Trident\/7\.0;/i.test(t)?[sr.IE,"11"]:/MSIE\s+([^ /;()]+)/i.test(t)?[sr.IE,RegExp.$1]:/\sChrome\/([^ /;()]+)/i.test(t)?[sr.CHROME,RegExp.$1]:[sr.OTHER,""]}(pr),yr=Qe(mr,2),wr=yr[0],br=yr[1],{OS:vr,OS_VERSION:gr,BROWSER:wr,BROWSER_VERSION:br}),Er=Or;function _r(){try{return window.location.search.replace("?","&").replace(/&(?:spm|scm|accounttraceid)=[^&]+/g,"").replace(/^&+/,"")}catch(t){return window.location.search||""}}function xr(){try{return"".concat(window.screen.width,"x").concat(window.screen.height)}catch(t){return""}}function Sr(){try{return"".concat(document.documentElement.clientWidth,"x").concat(document.documentElement.clientHeight)}catch(t){return""}}function Ar(){try{var t;return(null===(t=document.querySelector("meta[name=data-spm]"))||void 0===t?void 0:t.getAttribute("content"))||""}catch(e){return"E"}}function jr(){try{return document.body.getAttribute("data-spm")||""}catch(t){return"E"}}var Cr=window!==window.top;function Lr(){return{TIME:Date.now(),OS:Er.OS,OS_VERSION:Er.OS_VERSION,BROWSER:Er.BROWSER,BROWSER_VERSION:Er.BROWSER_VERSION,LOCATION_HOST:window.location.host,LOCATION_PATHNAME:window.location.pathname,LOCATION_SEARCH:_r(),LOCATION_HASH:window.location.hash.substring(1),RESOLUTION_SCREEN:xr(),RESOLUTION_BROWSER:Sr(),SPM_A:Ar(),SPM_B:jr(),IN_IFRAME:Cr,REFERRER:"undefined"==typeof document?"SSR":document.referrer}}function Pr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Rr(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Pr(Object(n),!0).forEach((function(e){h(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Pr(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function kr(t,e){if(e)return!0===e?t:"".concat(t,"~").concat(e)}function Nr(t){var e=t.project,n=t.endpoint,r=t.logstore,o=t.apiVersion,i=t.sampling,a=t.delay,u=t.topicPrefix,s=t.defaultParams,c=t.onBeforeSend,l=function(t,e,n,r){var o=new cr(t,e,n,r);return o.put}(e,n,r,o),f={};function p(e,n){return!(!c||!1!==c(t))||(!(!n||!f[n])||"number"==typeof e&&e>0&&e<1&&Math.random()>e)}function h(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.group,o=void 0===r?"LOG":r,c=n.sampling,h=void 0===c?i:c,d=n.delay,v=void 0===d?a:d,g=n.once,m=n.instant,y=u?"".concat(u).concat(t):t,w=kr(y,g);if(!p(h,w)){w&&(f[w]=1);var b=Rr(Rr(Rr({__topic__:y,GROUP:o},Lr()),"function"==typeof s?s():s),e);!m&&"number"==typeof v&&v>0?setTimeout((function(){return l(y,b)}),v):l(y,b,m)}}function d(t){return function(e,n,r){return h(e,n,Rr(Rr({},r),{},{group:t}))}}return h.debug=d("DEBUG"),h.log=d("LOG"),h.info=d("INFO"),h.warn=d("WARN"),h.error=d("ERROR"),h.fatal=d("FATAL"),h.biz=d("BIZ"),h}var Tr=["defaultParams","onBeforeSend"];function Mr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ur(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Mr(Object(n),!0).forEach((function(e){h(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Mr(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Ir,Dr,Br=["INTL","SIN","JP"],Fr=(Ir={APP_ID:Dn.APP_ID,channel:Dn.CHANNEL,locale:Yn.LOCALE,uid:Wn.ID,uidMain:Wn.ID_MAIN},Dr=function(t){var e=t.endpoint;if(/^cn-/.test(e)&&Br.indexOf(Dn.CHANNEL)>=0)return!1},function(t){var e=t.defaultParams,n=t.onBeforeSend,r=yn(t,Tr);return Nr(Ur(Ur({},r),{},{defaultParams:Kn(Ir,e),onBeforeSend:Jn(Dr,n)}))});function Gr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Wr(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Gr(Object(n),!0).forEach((function(e){h(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Gr(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var zr,Hr=Fr({project:"alfa",endpoint:"log-global.aliyuncs.com",logstore:"loader"});!function(t){t.log="log",t.info="info",t.warn="warn",t.error="error"}(zr||(zr={}));var $r=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(O.a)(this,t),this.cache={},this.context=e}return Object(E.a)(t,[{key:"setContext",value:function(t){this.context=Wr(Wr({},this.context),t)}},{key:"record",value:function(t){this.cache=Wr(Wr({},this.cache),t)}},{key:"send",value:function(){this.track(zr.log,"METRIC",this.cache),this.cache={}}},{key:"info",value:function(t){this.track(zr.info,"INFO",t)}},{key:"debug",value:function(t){"prod"!==this.context.ENV&&console.log("DEBUG",this.mergeData(t))}},{key:"warn",value:function(t){this.track(zr.warn,"WARN",t)}},{key:"error",value:function(t){this.track(zr.error,"ERROR",t)}},{key:"mergeData",value:function(t){return Wr(Wr({},this.context),t)}},{key:"track",value:function(t,e,n){var r=this.mergeData(n);"prod"===this.context.ENV?Hr[t](e,r):console[t](e,r)}}]),t}(),Yr=["name","container","manifest","props","deps","url","beforeMount","afterMount","beforeUnmount","afterUnmount","beforeUpdate","sandbox","noCache"];function qr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Vr(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?qr(Object(n),!0).forEach((function(e){h(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):qr(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Kr=function(t,e){return Vr(Vr({},t),{},{env:Object(Xe.a)(t.env),logger:t.logger||e})},Jr=function(){function t(){Object(O.a)(this,t),this.beforeResolve=new wn,this.afterResolve=new wn,this.beforeLoad=new wn,this.afterLoad=new wn}var e,n,r,o;return Object(E.a)(t,[{key:"register",value:(o=Object(d.a)(g.a.mark((function t(e){var n,r,o,i,a,u,s,c;return g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=new $r,e){t.next=4;break}return n.error({E_CODE:"RuntimeError",E_MSG:"cannot find config before start."}),t.abrupt("return",Promise.reject(new Error("[alfa-core] cannot find config before start.")));case 4:for(this.config=Kr(e,n),r=this.config,o=r.name,i=r.version,a=r.env,n.setContext({NAME:o,VERSION:i,ENV:a}),u=[],s=function(t){var e=t.fulfilled,n=t.rejected;u.push(e,n)},this.beforeResolve.handlers.forEach(s),u.push(this.resolve,void 0),this.afterResolve.handlers.forEach(s),u.push(this.init,void 0),this.beforeLoad.handlers.forEach(s),u.push(this.load,void 0),this.afterLoad.handlers.forEach(s),c=Promise.resolve(this.config);u.length;)c=c.then(u.shift(),u.shift());return t.abrupt("return",c.catch((function(t){throw t})));case 19:case"end":return t.stop()}}),t,this)}))),function(t){return o.apply(this,arguments)})},{key:"resolve",value:(r=Object(d.a)(g.a.mark((function t(e){var n,r;return g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=an(e),r=on(e),n||r){t.next=4;break}throw new Error("No entry or manifest in ".concat(e.name));case 4:return t.abrupt("return",Vr(Vr({},e),{},{manifest:n,url:r}));case 5:case"end":return t.stop()}}),t)}))),function(t){return r.apply(this,arguments)})},{key:"init",value:(n=Object(d.a)(g.a.mark((function t(e){var n,r,o,i,a,u,s,c,l,f,p,h,d,v,m;return g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.name,r=e.container,o=e.manifest,i=e.props,a=e.deps,u=e.url,s=e.beforeMount,c=e.afterMount,l=e.beforeUnmount,f=e.afterUnmount,p=e.beforeUpdate,h=e.sandbox,d=e.noCache,v=yn(e,Yr),t.next=3,Ve({name:n,dom:r,manifest:o,customProps:i,deps:a,url:u,noCache:d,appWillMount:s,appDidMount:c,appWillUnmount:l,appDidUnmount:f,appWillUpdate:p},{sandbox:h});case 3:return m=t.sent,t.abrupt("return",Vr(Vr(Vr({},e),v),{},{app:m}));case 5:case"end":return t.stop()}}),t)}))),function(t){return n.apply(this,arguments)})},{key:"load",value:(e=Object(d.a)(g.a.mark((function t(e){var n;return g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,null==e||null===(n=e.app)||void 0===n?void 0:n.load();case 2:return t.abrupt("return",e);case 3:case"end":return t.stop()}}),t)}))),function(t){return e.apply(this,arguments)})}],[{key:"create",value:function(){return new this}}]),t}(),Zr=n(29),Xr=n.n(Zr),Qr={background:"#fcebea",padding:24},to={display:"none",lineHeight:"22px",color:"#d93026",fontSize:14},eo=function(t){var e=t.error;return p.a.createElement("div",{style:Qr},p.a.createElement("div",{style:to},null==e?void 0:e.message),p.a.createElement("pre",{style:{overflow:"scroll"}},null==e?void 0:e.stack))},no=function(t){function e(e){var n=t.call(this,e)||this;return n.state={hasError:!1,error:void 0},n}return a(e,t),e.prototype.componentDidCatch=function(t,e){var n,r,o=this.props,i=o.appDidCatch,a=o.logger;this.setState({hasError:!0,error:t}),Xr()(null===(n=null===window||void 0===window?void 0:window.__bl)||void 0===n?void 0:n.error)&&(null===(r=null===window||void 0===window?void 0:window.__bl)||void 0===r||r.error(t,e)),i&&i(t,e),(null==a?void 0:a.error)&&a.error({E_CODE:"RuntimeError",E_MSG:t.message,E_STACK:t,C_STACK:e})},e.prototype.render=function(){var t=this.state.error;return this.state.hasError?this.props.fallbackRender?this.props.fallbackRender(t):p.a.createElement(eo,{error:t}):this.props.children},e}(p.a.Component),ro=no,oo=n(18),io=n.n(oo),ao=function(t){var e=t.prefixCls,n=t.className,r=t.width,o=t.style;return f.createElement("h3",{className:io()(e,n),style:u({width:r},o)})},uo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.getWidth=function(t){var e=this.props,n=e.width,r=e.rows,o=void 0===r?2:r;return Array.isArray(n)?n[t]:o-1===t?n:void 0},e.prototype.render=function(){var t=this,e=this.props,n=e.prefixCls,r=e.className,o=e.style,i=e.rows,a=l([],Array(i),!0).map((function(e,n){return f.createElement("li",{key:n,style:{width:t.getWidth(n)}})}));return f.createElement("ul",{className:io()(n,r),style:o},a)},e}(f.Component),so=uo;function co(t){return t&&"object"==typeof t?t:{}}function lo(t){return t?{width:"38%"}:{}}function fo(t){var e={};return t||(e.width="61%"),e.rows=t?3:2,e}var po=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.renderSkeleton=function(){var t,n=e.props,r=n.prefixCls,o=void 0===r?"-os-skeleton":r,i=n.loading,a=n.className,s=n.children,c=n.title,l=n.paragraph,p=n.active;if(i||!("loading"in e.props)){var h=!!c,d=!!l,v=void 0;if(h||d){var g=void 0;if(h){var m=u(u({prefixCls:"".concat(o,"-title")},lo(d)),co(c));g=f.createElement(ao,u({},m))}var y=void 0;if(d){var w=u(u({prefixCls:"".concat(o,"-paragraph")},fo(h)),co(l));y=f.createElement(so,u({},w))}v=f.createElement("div",{className:"".concat(o,"-content")},g,y)}var b=io()(o,a,(t={},t["".concat(o,"-active")]=p,t));return f.createElement("div",{className:b},v)}return s},e}return a(e,t),e.prototype.componentDidMount=function(){if(!document.getElementById("-os-skeleton-style")){var t=document.createElement("style");t.innerHTML="\n.-os-skeleton * {\n box-sizing: border-box;\n}\n.-os-skeleton {\n box-sizing: border-box;\n display: table;\n width: 100%;\n padding: 24px;\n}\n\n.-os-skeleton-header {\n display: table-cell;\n padding-right: 16px;\n vertical-align: top\n}\n\n\n.-os-skeleton-content {\n display: table-cell;\n width: 100%;\n vertical-align: top\n}\n\n.-os-skeleton-content .-os-skeleton-title {\n width: 100%;\n height: 16px;\n margin-top: 16px;\n background: #f2f2f2\n}\n\n.-os-skeleton-content .-os-skeleton-title+.-os-skeleton-paragraph {\n margin-top: 24px\n}\n\n.-os-skeleton-content .-os-skeleton-paragraph {\n padding: 0\n}\n\n.-os-skeleton-content .-os-skeleton-paragraph>li {\n width: 100%;\n height: 16px;\n list-style: none;\n background: #f2f2f2\n}\n\n.-os-skeleton-content .-os-skeleton-paragraph>li:last-child:not(:first-child):not(:nth-child(2)) {\n width: 61%\n}\n\n.-os-skeleton-content .-os-skeleton-paragraph>li+li {\n margin-top: 16px\n}\n\n.-os-skeleton.-os-skeleton-active .-os-skeleton-content .-os-skeleton-title,.-os-skeleton.-os-skeleton-active .-os-skeleton-content .-os-skeleton-paragraph>li {\n background: -webkit-gradient(linear, left top, right top, color-stop(25%, #f2f2f2), color-stop(37%, #e6e6e6), color-stop(63%, #f2f2f2));\n background: linear-gradient(90deg, #f2f2f2 25%, #e6e6e6 37%, #f2f2f2 63%);\n background-size: 400% 100%;\n -webkit-animation: os-skeleton-loading 1.4s ease infinite;\n animation: os-skeleton-loading 1.4s ease infinite\n}\n\n\n@-webkit-keyframes os-skeleton-loading {\n 0% {\n background-position: 100% 50%\n }\n\n 100% {\n background-position: 0 50%\n }\n}\n\n@keyframes os-skeleton-loading {\n 0% {\n background-position: 100% 50%\n }\n\n 100% {\n background-position: 0 50%\n }\n}\n",t.id="-os-skeleton-style",document.head.appendChild(t)}},e.prototype.render=function(){return this.renderSkeleton()},e.defaultProps={title:!0,paragraph:!0},e}(f.Component),ho=po;function vo(t){var e=t.loading;return!1===e?null:e&&p.a.isValidElement(e)?e:p.a.createElement(ho,{active:!0})}var go,mo=function(t){return t.replace(/@/g,"").replace(/\//g,"-")},yo=0,wo=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return"/".concat(t.join("/")).replace(/\/+/g,"/")},bo=function(t){return t.pathname+t.search+t.hash},Oo=function(t,e){return e?wo(e,t):t},Eo=function(t,e){if(!e)return t;var n=wo(t),r=wo(e);return n===r?"/":n.replace(new RegExp("^".concat(r.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")),"ig"),"")};function _o(t){return function(e){var n,r=this,o=e.name,i=e.version,a=e.manifest,h=e.loading,d=e.customProps,v=e.className,g=e.style,m=e.container,y=e.entry,w=e.url,b=e.logger,O=e.deps,E=e.env,_=e.beforeMount,x=e.afterMount,S=e.beforeUnmount,A=e.afterUnmount,j=e.beforeUpdate,C=e.sandbox,L=e.locale,P=e.dynamicConfig,R=e.noCache,k=e.syncHistory,N=e.basename,T=Object(f.useState)(null),M=T[0],U=T[1],I=Object(f.useState)(null),D=I[1],B=Object(f.useRef)(void 0),F=Object(f.useRef)(k),G=Object(f.useRef)(N),W=mo(e.name),z=Object(f.useState)(""),H=z[0],$=z[1];F.current=k,G.current=N,d.__innerStamp&&console.warn("Please do not use __innerStamp which used in internal."),d.__innerStamp=(+new Date).toString(36),d.path&&(d.path=(n=d.path,"/"===n.charAt(0)?n:"/".concat(n))),F.current&&(d.consoleBase=null,d.path=Eo(bo(window.location),G.current),d.__injectHistory=null);var Y=Object(f.useMemo)((function(){var t,e,n,r,o=[];return(null===(t=window.UA_Opt)||void 0===t?void 0:t.LogVal)&&(o.push("UA_Opt"),o.push(null===(e=window.UA_Opt)||void 0===e?void 0:e.LogVal)),(null===(n=window.RISK_INFO)||void 0===n?void 0:n.UMID)&&o.push("RISK_INFO"),(null===(r=window.um)||void 0===r?void 0:r.getToken)&&o.push("um"),u(u({},C),{externalsVars:l(l(l([],(null==C?void 0:C.externalsVars)||[],!0),["_console_base_ready_"],!1),o,!0),initialPath:(null==C?void 0:C.initialPath)||d.path,syncInitHref:!!F.current})}),[C,d.path]),q=Object(f.useMemo)((function(){return{entry:y,url:w,name:o,version:i,manifest:a,container:m,props:d,sandbox:Y,logger:b,deps:O,env:E,beforeMount:_,afterMount:x,beforeUnmount:S,afterUnmount:A,beforeUpdate:j,locale:L,noCache:R,dynamicConfig:"boolean"==typeof P?P:!a}}),[]);Object(f.useEffect)((function(){var e,n,o,i,a=!1,l=function(){var t,n,r=new Event("popstate");r.state="mock",null===(n=null===(t=null==e?void 0:e.context.baseFrame)||void 0===t?void 0:t.contentWindow)||void 0===n||n.dispatchEvent(r)},f=function(){if(e){var t=bo(e.context.location);if(!bo(window.location).startsWith(G.current||""))return;t!==Eo(bo(window.location),G.current)&&o&&(o(history.state,"",Eo(bo(window.location),G.current)),l())}};return F.current&&window.addEventListener("popstate",f),s(r,void 0,void 0,(function(){var r,s,f,p,h,v,g,m,y;return c(this,(function(c){switch(c.label){case 0:return w=q.name,b=Date.now(),go===w&&yo&&b-yo<1e3&&console.warn("[@alicloud/alfa-react] ".concat(w," 重复加载,请检查你的代码。请在函数组件中使用 useAlfaApp 或 useAlfaWidget 方法。")),go=w,yo=b,[4,t.register(u(u({},q),{container:q.container||B.current}))];case 1:return r=c.sent(),s=r.app,f=r.logger,p=r.version,$(p||"unknown"),e=s,a?[2]:s?B.current?(null===(m=(g=s.context).updateBody)||void 0===m||m.call(g,q.sandbox.disableFakeBody?document.body:B.current),h=q.props.path,v=null===(y=s.context.baseFrame)||void 0===y?void 0:y.contentWindow,v&&(n=null==v?void 0:v.history.pushState,o=null==v?void 0:v.history.replaceState,i=null==v?void 0:v.history.go,h&&o(history.state,"",h.replace(/\/+/g,"/")),v&&(v.history.pushState=function(t,e,r){if(F.current){var i=Oo((null==r?void 0:r.toString())||"",G.current);"".concat(i)!==bo(window.location)&&window.history.pushState(t,e,i),o(t,e,r)}else n(t,e,r)},v.history.replaceState=function(t,e,n){var r=Oo((null==n?void 0:n.toString())||"",G.current);F.current&&window.history.replaceState(t,e,r),o(t,e,n)},v.history.go=function(t){window.history.go(t)})),[4,s.mount(B.current,{customProps:d})]):[2,(null==f?void 0:f.error)&&f.error({E_CODE:"RuntimeError",E_MSG:"cannot find container."})]:[2,(null==f?void 0:f.error)&&f.error({E_CODE:"RuntimeError",E_MSG:"load app failed."})];case 2:return c.sent(),v&&l(),U(s),[2]}var w,b}))})).catch((function(t){D((function(){throw t}))})),function(){var t,r;if(a=!0,F.current&&window.removeEventListener("popstate",f),e){var u=null===(r=null===(t=e.context.baseFrame)||void 0===t?void 0:t.contentWindow)||void 0===r?void 0:r.history;u&&(n!==u.pushState&&(u.pushState=n),o!==u.replaceState&&(u.replaceState=o),i!==u.go&&(u.go=i)),e.unmount()}}}),[q]),M&&M.update(d);var V={"data-id":o,"data-loader":"1.4.40-alpha.0","data-request-version":i||"latest","data-release-version":H};return p.a.createElement(p.a.Fragment,null,M?null:p.a.createElement(vo,{loading:h}),Y&&Y.disableFakeBody?p.a.createElement(W,u({style:g,className:v,ref:B},V)):p.a.createElement(W,u({},V),p.a.createElement("div",{ref:B,style:g,className:v})))}}var xo=function(t){return s(this,void 0,void 0,(function(){var e,n,r,o,i;return c(this,(function(a){switch(a.label){case 0:return e=t.logger,n=Date.now(),r=Date.now(),[4,dn(t)];case 1:return o=a.sent(),i=Date.now(),(null==e?void 0:e.record)&&e.record({LOADER_VERSION:"1.4.40-alpha.0",START_TIME:n,MANIFEST_START_TIME:r,MANIFEST_END_TIME:i}),t.manifest=o,[2,t]}}))}))},So=function(t){return t?Object.keys(t).reduce((function(e,n){var r,o=null==t?void 0:t[n];if(!o)return e;var i=(null===(r=window.ALIYUN_CONSOLE_CONFIG)||void 0===r?void 0:r.MAIN_ACCOUNT_PK)||"",a=Ze()(i).toString(),u=o.enableBlockList,s=o.enableSampling,c=o.enableWhiteList,l=o.sampling,f=o.blockList,p=o.whiteList;if(u&&(null==f?void 0:f.includes(a)))e[n]=!1;else if(c&&(null==p?void 0:p.includes(a)))e[n]=!0;else if(s){var h=i.substring(i.length-2);Number(h)>=100*(null!=l?l:0)||0===l?e[n]=!1:e[n]=!0}else e[n]=!1;return e}),{}):{}},Ao=function(t,e){var n=null==t?void 0:t[e];return n?Object.keys(n).reduce((function(t,e){var r,o=n[e];if(!o)return t;if(t){var i=o.status,a=o.attribute;t[e]={status:i,attribute:u(u({},a),{regions:(r=o.attribute.regions,!Array.isArray(r)&&r.region&&r.region||[])})}}return t}),{}):{}},jo=function(t,e){var n,r,o=(null===(n=null===window||void 0===window?void 0:window.ALIYUN_CONSOLE_CONFIG)||void 0===n?void 0:n.CHANNEL)||"OFFICIAL",i=null===(r=t.ALL_CHANNEL_LINKS)||void 0===r?void 0:r[o],a=t.ALL_CHANNEL_FEATURE_STATUS,s=t.ALL_FEATURE_STATUS;return u(u({},e),{CHANNEL_LINKS:u(u({},null==e?void 0:e.CHANNEL_LINKS),i),CHANNEL_FEATURE_STATUS:u(u({},null==e?void 0:e.CHANNEL_FEATURE_STATUS),Ao(a,o)),FEATURE_STATUS:u(u({},null==e?void 0:e.FEATURE_STATUS),So(s))})},Co=function(t,e){return s(void 0,void 0,void 0,(function(){return c(this,(function(n){return[2,jo(t,e)]}))}))},Lo=function(t,e){return s(void 0,void 0,void 0,(function(){return c(this,(function(n){return[2,u(u({},e),null==t?void 0:t.GLOBAL_DATA)]}))}))};var Po=function(t){return s(this,void 0,void 0,(function(){var e,n,r,o,i,a,s,l,f,p,h,d,v,g,m,y;return c(this,(function(c){switch(c.label){case 0:return e=t.app,n=t.logger,r=t.sandbox,o=t.dynamicConfig,i=window.ALIYUN_CONSOLE_CONFIG||{},a=window.ALIYUN_CONSOLE_GLOBAL||{},s=Date.now(),l=Date.now(),o?[4,gn(t)]:[3,3];case 1:return f=c.sent(),[4,Promise.all([Co(f,i),Lo(f,a),mn(t)])];case 2:return p=c.sent(),h=p[0],d=p[1],v=p[2],l=Date.now(),g=u(u({},window.ALIYUN_CONSOLE_I18N_MESSAGE),v),(null==e?void 0:e.context)&&!(null==r?void 0:r.disable)&&(e.context.window.ALIYUN_CONSOLE_CONFIG=h,e.context.window.ALIYUN_CONSOLE_GLOBAL=d,e.context.window.ALIYUN_CONSOLE_I18N_MESSAGE=g,e.context.window.ALIYUN_WIND_MESSAGE=window.ALIYUN_WIND_MESSAGE),[3,4];case 3:(null==e?void 0:e.context)&&!(null==r?void 0:r.disable)&&(e.context.window.ALIYUN_CONSOLE_CONFIG=i,e.context.window.ALIYUN_CONSOLE_GLOBAL=a,e.context.window.ALIYUN_CONSOLE_I18N_MESSAGE=window.ALIYUN_CONSOLE_I18N_MESSAGE,e.context.window.ALIYUN_WIND_MESSAGE=window.ALIYUN_WIND_MESSAGE),c.label=4;case 4:return m=null==r?void 0:r.overrideGlobalVars,m&&e&&Object.entries(m).forEach((function(t){var n=t[0],r=t[1];e.context.window[n]=r})),y=Date.now(),(null==n?void 0:n.record)&&n.record({CONFIG_START_TIME:s,CONFIG_END_TIME:l,END_TIME:y,COST:l-s}),(null==n?void 0:n.send)&&n.send(),[2,t]}}))}))},Ro=Jr.create();Ro.beforeResolve.use(xo),Ro.beforeLoad.use(Po);var ko=_o(Ro);function No(t){var e=t||{},n=e.name,r=e.dependencies;if(!n)return function(){return null};var o=t;return function(e){var n=Object(f.useMemo)((function(){return u(u({},e),{__injectHistory:e.history})}),[e]);return p.a.createElement(ro,u({},e),p.a.createElement(ko,u({},o,{syncHistory:e.syncHistory,basename:e.basename,sandbox:t.sandbox||e.sandbox,deps:r||{},customProps:n})))}}function To(t){var e=Object(f.useMemo)((function(){return No(t)}),[]);return e}var Mo,Uo=No,Io=n(24),Do=n.n(Io),Bo=n(13),Fo=null,Go="https://g.alicdn.com/${id}/${version}/index.js",Wo=null===(Mo=window.ALIYUN_CONSOLE_CONFIG)||void 0===Mo?void 0:Mo.MAIN_ACCOUNT_PK,zo=function(t,e,n){if(!e)throw new Error("No Version for Widget");var r=t.replace("@ali/","").replace("widget-","widget/");return Do()(n)({id:r,version:e})},Ho=function(t){return s(void 0,void 0,void 0,(function(){var e,n,r,o,i,a,u,s,l,f,p,h,d,v,g,m,y,w,b,O;return c(this,(function(c){switch(c.label){case 0:if(e=t.name,n=t.central,r=void 0===n||n,o=t.env,i=r?Bo.b[o||Object(Bo.c)()]:Bo.a[o||Object(Bo.c)()],!t.version)throw new Error("No Version for Widget");return t.version.endsWith(".x")?r?Fo?[3,2]:[4,cn.a.get(i.releaseUrl)]:[3,2]:[2,{version:t.version,entryUrl:zo(t.name,t.version,i.resourceUrl||Go)}];case 1:s=c.sent(),s&&s.data&&(Fo=s.data),c.label=2;case 2:return Fo?(l=Fo[t.name][t.version].latest,f=null===(m=Fo[t.name][t.version].next)||void 0===m?void 0:m.version,p=null===(y=Fo[t.name][t.version].next)||void 0===y?void 0:y.gray,a=Wo&&Number(Wo.substring(Wo.length-2))<p?f:l,u=zo(t.name,a,i.resourceUrl||Go),[2,{version:a,entryUrl:u}]):[4,cn.a.get(Do()(i.releaseUrl)({id:e}))];case 3:if(h=c.sent(),!h||!h.data)throw new Error("Cannot get Release");return d=h.data,v=null===(w=d["dist-tags"])||void 0===w?void 0:w["".concat(t.version,"-next")],a=null===(b=d["dist-tags"])||void 0===b?void 0:b[t.version],v&&(null===(O=null==d?void 0:d["next-versions"])||void 0===O?void 0:O[v])&&Wo&&(g=d["next-versions"][v].featureStatus.sampling||0,100*g>Number(Wo.substring(Wo.length-2))&&(a=v)),u=zo(t.name,a,i.resourceUrl||Go),[2,{version:a,entryUrl:u}]}}))}))},$o={},Yo=function(t){return s(void 0,void 0,void 0,(function(){var e,n;return c(this,(function(r){switch(r.label){case 0:return e=Bo.b[t.env||Object(Bo.c)()],$o[t.name]?[3,2]:[4,cn.a.get(Do()(e.configUrl)({id:t.name}))];case 1:n=r.sent(),$o[t.name]=null==n?void 0:n.data,r.label=2;case 2:return[2,$o[t.name]]}}))}))},qo=n(49),Vo=n.n(qo),Ko=n(9),Jo=n.n(Ko),Zo=n(104),Xo=n.n(Zo),Qo=n(50),ti=function(t){if(void 0===t)throw new Error("VariableName must be provided");if("string"!=typeof t)throw new TypeError("expect varibaleName to be a string,\n but actually got: ".concat(Te(t)));return window[t]},ei=function(t){if(void 0===t)throw new Error("Config key must be provided");var e=ti("ALIYUN_CONSOLE_CONFIG");return e&&e[t]},ni=function(){var t=ti("RISK_INFO");return t||{}};function ri(t){return decodeURIComponent(document.cookie.replace(new RegExp("(?:(?:^|.*;)\\s*"+encodeURIComponent(t).replace(/[-.+*]/g,"\\$&")+"\\s*\\=\\s*([^;]*).*$)|^.*$"),"$1"))}var oi=function(){var t;try{t=ei("LOCALE")}catch(e){}return t||function(){var t={zh:"zh-CN",en:"en-US",ja:"ja-JP",hk:"zh-HK"};try{var n=ri("aliyun_lang");return t[n]}catch(e){return t.en}}()},ii=null,ai=function(t){if(null===ii){var e=ei("REGIONS")||[];ii=e.reduce((function(t,e){return t[e.regionId]=e.name,t}),{})}return ii[t]},ui=function(){var t=ni();return t.UMID},si=null,ci=function(t){if(null===si){si={};var e=ei("REGIONS")||[];e.forEach((function(t){var e=t.zoneList;e.reduce((function(t,e){return t[e.zoneId]=e.name,t}),si)}))}return si[t]};var li=function(){return ei("CURRENT_PK")},fi=function(){return ei("MAIN_ACCOUNT_PK")},pi=function(){return ei("ACCOUNT_TYPE")},hi=function(){return ei("CHANNEL")},di=function(){return ei("LANG")},vi=function(){return oi()},gi=function(){return ei("SEC_TOKEN")},mi=function(){return ui()};var yi=function(){var t=window.UA_Opt;t||(t={},t.SendMethod=8,t.LogVal="aliyunbuy_uadata",window[t.LogVal]="",t.Token=(new Date).getTime()+":"+Math.random(),t.MaxMCLog=10,t.MaxKSLog=20,t.MaxMPLog=5,t.MPInterval=50,t.MaxTCLog=50,t.MaxFocusLog=5,t.isSendError=1,t.Flag=97422);var e=t.LogVal;return t.Token=(new Date).getTime()+":"+Math.random(),t.reload&&t.reload(),e},wi=function(t){return ai(t)||t},bi=function(t){return ci(t)||t};var Oi=function(){try{return"one"===window.ALIYUN_CONSOLE_CONFIG.portalType}catch(t){return!1}};function Ei(t){return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(void 0===e)throw new Error('[getChannelLink] Param "id" is missing, you must specify the param to tell which link you want to get.');var r=t()||[];r[e]||console&&console.error("[getChannelLink] Can not find link with id: ".concat(e,". Please check your CWS(http://cws.aliyun-inc.com/widget/my) configuration for channel link.\n Caution: If you see this error message, your channel link might be broken."));var o=r[e].replace(/{@?([^}]+)}/g,(function(t,r){return void 0===n[r]?(console&&console.error("[getChannelLink: ".concat(e,"] Found an interpolation in the url: ").concat(r,", but no corresponding replacement value was provided.\n Caution: If you see this error message, your channel link might be broken.")),t):n[r]}));return o}}function _i(t){return _i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_i(t)}function xi(t){return function(e,n,r){if("string"!=typeof e)throw new TypeError('[getChannelFeature] Invalid type for "id" parameter, expect a string, but got '.concat(_i(e),"."));var o=t()||[],i=o[e];if(!i)throw new TypeError("[getChannelFeature] Can not find the feature data for id: ".concat(e,"."));if(r)return r(i);var a=i.status,u=i.regions;return n&&u?a&&u.includes(n):a}}var Si=function(){return!1};var Ai=function(){try{if("pre"===window.ALIYUN_CONSOLE_CONFIG.fEnv)return!0}catch(t){}try{if(!0===window.__ALIYUN_WIDGET_STORE__.inWidgetPreEnv)return!0}catch(t){}return!1};var ji=function(){var t=vi();try{var e=window["wind-v2_".concat(t.toLowerCase())];if(!e)throw new Error;return e}catch(n){return{}}};function Ci(){try{return window.ALIYUN_CONSOLE_CONFIG.CHANNEL_LINKS}catch(t){return{}}}function Li(){try{return window.ALIYUN_CONSOLE_CONFIG.CHANNEL_FEATURE_STATUS}catch(t){return{}}}var Pi=Ei(Ci),Ri=xi(Li);function ki(){try{return window.ALIYUN_CONSOLE_I18N_MESSAGE}catch(t){return{}}}var Ni=function(){return{}},Ti=n(99),Mi={getParentUid:fi,getCurrentUid:li,getAccountType:pi,getChannel:hi,getLang:di,getLocale:vi,getSecToken:gi,getUmid:mi,getCollina:yi,getRegionName:wi,getZoneName:bi};function Ui(){return Mi}var Ii={isOneConsole:Oi,channelLinkFactory:Ei,channelFeatureFactory:xi,useCORS:Si,getCollina:yi,isWidgetPreEnv:Ai};function Di(){return Ii}var Bi={},Fi=null,Gi=function(t){return"v".concat(t.split(".").join("-"),"-")},Wi=function(t){return function(e){var n,r=e.id,o=e.version;return Yi({name:r,version:o,dependencies:null==t?void 0:t.dependencies,runtimeVersion:null===(n=null==t?void 0:t.windRuntime)||void 0===n?void 0:n.runtimeVersion})}},zi=function(t,e){return s(void 0,void 0,Promise,(function(){var n,r,i,a,s,l,f,h,d,v,g,m,y;return c(this,(function(c){switch(c.label){case 0:return[4,Ho({name:"@ali/widget-wind-runtime",version:(null==e?void 0:e.runtimeVersion)||"1.x"})];case 1:return n=c.sent(),r=n.entryUrl,i=void 0===r?"":r,a=n.version,[4,Ho({name:"@ali/wind-messages",version:"0.x"})];case 2:if(s=c.sent().version,l=void 0===s?"0.0.8":s,Fi)return[3,6];c.label=3;case 3:return c.trys.push([3,5,,6]),[4,Jo.a.get("https://g.alicdn.com/one-mcms/wind-v2/".concat(l,"/wind-v2_").concat((vi()||"en-US").toLowerCase(),".json"))];case 4:return f=c.sent(),Fi=f.data,[3,6];case 5:return c.sent(),[3,6];case 6:return[4,Ho({name:"@ali/widget-wind-runtime",version:"1.x"})];case 7:return h=c.sent().version,Bi[a]?[3,9]:(d=Bi,v=a,[4,Dt({id:"@ali/widget-wind-runtime",url:i,deps:{react:p.a,"react-dom":Vo.a,"prop-types":Qo},xmlrequest:!0,transform:function(t){return h!==a?t.replace(/aliyun-widget-/g,Gi(a)):t},context:{window:window,location:location,history:history,document:document}})]);case 8:d[v]=c.sent(),g=Bi[a].default["@ali/wind"],Object.keys(g).forEach((function(t){Bi[a].default["@ali/wind/lib/".concat(Xo()(t).toLowerCase())]=g[t]})),c.label=9;case 9:return m=u(u({},o),{getChannelLink:Ei((function(){return t.links[hi()||"OFFICIAL"]})),getChannelFeature:xi((function(){return t.features[hi()||"OFFICIAL"]})),getLocale:function(){return vi()||"en-US"},getWidgetI18nMessages:function(){return u(u({},Fi),((t.locales||{})[vi()||"en-US"]||{}).messages||{})},getStylePrefixForWindComponent:function(){return h===a?"aliyun-widget-":Gi(a)}}),[2,u(u({react:p.a,"react-dom":Vo.a,"prop-types":Qo,axios:Jo.a},Bi[a].default),(y={},y["@ali/widget-utils-console"]=m,y["@ali/widget-utils-config"]=m,y["@ali/widget-loader"]=Wi,y))]}}))}))},Hi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.refersh=function(t){return this.emit("".concat(t,":REFRESH"))},e.prototype.refershWidget=function(t){return this.emit("".concat(t,":REFRESH"))},e}(at.EventEmitter),$i=new Hi;function Yi(t){var e=this,n=Object(f.lazy)((function(){return s(e,void 0,void 0,(function(){var e,n,r,o,i,a;return c(this,(function(s){switch(s.label){case 0:return e=t.url,n={links:{},features:{},locales:{},conf:{}},e?[3,3]:[4,Ho(t)];case 1:return r=s.sent(),o=r.version,i=r.entryUrl,e=i,[4,Yo(u(u({},t),{version:o}))];case 2:n=s.sent(),s.label=3;case 3:return[4,zi(n,t)];case 4:return a=s.sent(),[2,Dt({id:mo(t.name),url:(t.url||e||"").replace("index.js",(null==t?void 0:t.alfaLoader)?"index.alfa.js":"index.js"),deps:u(u({},a),t.dependencies),xmlrequest:!t.alfaLoader,context:{window:window,location:location,history:history,document:document}})]}}))}))}));return function(e){return p.a.createElement(f.Suspense,{fallback:p.a.createElement(vo,{loading:t.loading})},p.a.createElement(ro,u({},e),p.a.createElement(n,u({eventEmitter:$i},e))))}}var qi=Jr.create();qi.beforeResolve.use(xo),qi.beforeLoad.use(Po),qi.beforeLoad.use((function(t){return s(void 0,void 0,void 0,(function(){var e;return c(this,(function(n){return e=t.app,e&&e.context&&(e.context.history={}),[2,t]}))}))}));var Vi=_o(qi);function Ki(t){var e=t||{},n=e.name,r=e.dependencies;if(n.match(/@ali\/widget-/))return Yi(t);if(!n)return function(){return null};var o=t;return function(t){return p.a.createElement(ro,u({},t),p.a.createElement(Vi,u({},o,{deps:r||{},customProps:u({},t)})))}}function Ji(t){var e=Object(f.useMemo)((function(){return Ki(t)}),[]);return e}var Zi=Ki;function Xi(t){var e;e=t,cn.a.interceptors.request.use((function(t){try{var n=e(t);return Promise.resolve(n).catch((function(){return t}))}catch(r){return t}}),void 0)}}])}));