@kotori-bot/kotori-plugin-webui 1.4.1 → 1.5.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.
- package/{LICENSE → LICENSE.md} +674 -674
- package/dist/css/{307.17441c4b.css → 178.50389cc5.css} +1 -1
- package/dist/css/191.03157bbe.css +1 -0
- package/dist/css/373.0cce6c3e.css +1 -0
- package/dist/css/454.0d732bed.css +1 -0
- package/dist/css/47.49d67fd6.css +1 -0
- package/dist/css/5.b049cb20.css +1 -0
- package/dist/css/60.e08a7f71.css +1 -0
- package/dist/css/620.53b4f39d.css +1 -0
- package/dist/css/866.7bd164ea.css +1 -0
- package/dist/css/871.78adf960.css +1 -0
- package/dist/css/878.75469f9c.css +1 -0
- package/dist/css/974.14fe0cd3.css +1 -0
- package/dist/css/app.2339ed96.css +1 -0
- package/dist/css/chunk-vendors.9c1b0e0b.css +1 -0
- package/dist/fonts/iconfont.0785b652.eot +0 -0
- package/dist/fonts/iconfont.6cfc7ac2.woff +0 -0
- package/dist/fonts/iconfont.7f7c61f0.ttf +0 -0
- package/dist/fonts/iconfont.e5653996.woff2 +0 -0
- package/dist/img/addAvatar.5d18468f.svg +1 -0
- package/dist/img/favicon-gray.c2bacd13.svg +81 -0
- package/dist/img/iconfont.8017d8e3.svg +405 -0
- package/dist/img/removeAvatar.102a1309.svg +1 -0
- package/dist/index.html +1 -1
- package/dist/js/178.5506400e.js +2 -0
- package/dist/js/178.5506400e.js.map +1 -0
- package/dist/js/191.d1d8acb0.js +112 -0
- package/dist/js/191.d1d8acb0.js.map +1 -0
- package/dist/js/373.8f482efc.js +2 -0
- package/dist/js/373.8f482efc.js.map +1 -0
- package/dist/js/454.9fcb434d.js +2 -0
- package/dist/js/454.9fcb434d.js.map +1 -0
- package/dist/js/47.b880ff7d.js +2 -0
- package/dist/js/47.b880ff7d.js.map +1 -0
- package/dist/js/5.f818b113.js +2 -0
- package/dist/js/5.f818b113.js.map +1 -0
- package/dist/js/60.df7c62f1.js +2 -0
- package/dist/js/60.df7c62f1.js.map +1 -0
- package/dist/js/620.cc5f8280.js +2 -0
- package/dist/js/620.cc5f8280.js.map +1 -0
- package/dist/js/866.4506cf7d.js +2 -0
- package/dist/js/866.4506cf7d.js.map +1 -0
- package/dist/js/871.adcb95ca.js +2 -0
- package/dist/js/871.adcb95ca.js.map +1 -0
- package/dist/js/878.d5db5741.js +2 -0
- package/dist/js/878.d5db5741.js.map +1 -0
- package/dist/js/974.5d32785c.js +2 -0
- package/dist/js/974.5d32785c.js.map +1 -0
- package/dist/js/app.ff7f084b.js +2 -0
- package/dist/js/app.ff7f084b.js.map +1 -0
- package/dist/js/chunk-vendors.b2a9455e.js +77 -0
- package/dist/js/chunk-vendors.b2a9455e.js.map +1 -0
- package/lib/index.js +12 -14
- package/lib/plugin/index.js +8 -10
- package/lib/routers/api/accounts.d.ts +1 -1
- package/lib/routers/api/accounts.js +8 -10
- package/lib/routers/api/config.d.ts +1 -1
- package/lib/routers/api/config.js +8 -10
- package/lib/routers/api/data.d.ts +1 -1
- package/lib/routers/api/data.js +8 -10
- package/lib/routers/api/demo.d.ts +1 -1
- package/lib/routers/api/demo.js +8 -10
- package/lib/routers/index.d.ts +1 -1
- package/lib/routers/index.js +8 -10
- package/lib/routers/router.js +8 -10
- package/lib/service/index.d.ts +19 -30
- package/lib/service/index.js +8 -10
- package/lib/types/index.js +8 -10
- package/lib/utils/autoSave.js +8 -10
- package/lib/utils/common.js +8 -10
- package/lib/utils/observer.js +8 -10
- package/lib/utils/transport.js +8 -10
- package/lib/ws/index.js +8 -10
- package/package.json +2 -2
- package/dist/css/157.4f26d8f6.css +0 -1
- package/dist/css/398.68e1d5c0.css +0 -1
- package/dist/css/501.9015c7b8.css +0 -1
- package/dist/css/61.c4036428.css +0 -1
- package/dist/css/677.1f6dda12.css +0 -1
- package/dist/css/805.47c05599.css +0 -1
- package/dist/css/859.a4c60906.css +0 -1
- package/dist/css/879.594eeca0.css +0 -1
- package/dist/css/988.a57fcb7a.css +0 -1
- package/dist/css/app.8629041a.css +0 -1
- package/dist/css/chunk-vendors.8f724415.css +0 -1
- package/dist/js/157.b3b7776c.js +0 -112
- package/dist/js/157.b3b7776c.js.map +0 -1
- package/dist/js/307.5dcc1e5b.js +0 -2
- package/dist/js/307.5dcc1e5b.js.map +0 -1
- package/dist/js/398.5a1256fe.js +0 -2
- package/dist/js/398.5a1256fe.js.map +0 -1
- package/dist/js/501.2cce9c69.js +0 -2
- package/dist/js/501.2cce9c69.js.map +0 -1
- package/dist/js/61.b1925deb.js +0 -2
- package/dist/js/61.b1925deb.js.map +0 -1
- package/dist/js/677.17ed8bda.js +0 -2
- package/dist/js/677.17ed8bda.js.map +0 -1
- package/dist/js/805.635a82e6.js +0 -2
- package/dist/js/805.635a82e6.js.map +0 -1
- package/dist/js/859.740917f5.js +0 -2
- package/dist/js/859.740917f5.js.map +0 -1
- package/dist/js/879.c08f48f3.js +0 -2
- package/dist/js/879.c08f48f3.js.map +0 -1
- package/dist/js/988.6ab22bc8.js +0 -2
- package/dist/js/988.6ab22bc8.js.map +0 -1
- package/dist/js/app.4afe7ee6.js +0 -2
- package/dist/js/app.4afe7ee6.js.map +0 -1
- package/dist/js/chunk-vendors.74ce961b.js +0 -75
- package/dist/js/chunk-vendors.74ce961b.js.map +0 -1
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
(self["webpackChunkkams"]=self["webpackChunkkams"]||[]).push([[504],{550:function(e,t,r){"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* @Package @kotori-bot/i18n
|
|
4
|
-
* @Version 1.3.1
|
|
5
|
-
* @Author Hotaru <biyuehuya@gmail.com>
|
|
6
|
-
* @Copyright 2024 Hotaru. All rights reserved.
|
|
7
|
-
* @License GPL-3.0
|
|
8
|
-
* @Link https://github.com/kotorijs/kotori
|
|
9
|
-
* @Date 2024/6/7 11:22:21
|
|
10
|
-
*/var n=r(3741)["default"],i=Object.create,o=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,c=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,u=(e,t)=>{for(var r in t)o(e,r,{get:t[r],enumerable:!0})},f=(e,t,r,n)=>{if(t&&"object"===typeof t||"function"===typeof t)for(let i of s(t))l.call(e,i)||i===r||o(e,i,{get:()=>t[i],enumerable:!(n=a(t,i))||n.enumerable});return e},h=(e,t,r)=>(f(e,t,"default"),r&&f(r,t,"default")),p=(e,t,r)=>(r=null!=e?i(c(e)):{},f(!t&&e&&e.__esModule?r:o(r,"default",{value:e,enumerable:!0}),e)),d=e=>f(o({},"__esModule",{value:!0}),e),m={};u(m,{I18n:()=>y,default:()=>b}),e.exports=d(m);var v=r(7631),g=p(r(503));h(m,r(503),e.exports),h(m,r(7631),e.exports);class y{constructor(e={lang:v.DEFAULT_LANG}){n(this,"localesData",new Map),n(this,"lang",void 0),n(this,"supports",void 0),this.supports=e.supports??v.DEFAULT_SUPPORTS,this.lang=e.lang,this.supports.forEach((e=>this.localesData.set(e,new Map)))}use(e,t=this.lang){Object.keys(e).forEach((r=>{this.localesData.get(t).set(r.toLowerCase(),e[r])}))}locale(e,t=this.lang){return this.localesData.get(t)?.get(e.toLowerCase())??this.localesData.get("common")?.get(e.toLowerCase())??e}set(e){this.lang=e}get(){return this.lang}extends(e){const t=Object.create(this);return e&&t.set(e),t}date(e=new Date,t=void 0,r=this.lang){return new Intl.DateTimeFormat(g.default[r],{timeStyle:t}).format(e)}time(e=new Date,t=void 0,r=this.lang){return new Intl.DateTimeFormat(g.default[r],{timeStyle:t}).format(e)}period(e=new Date,t=void 0,r=this.lang){return new Intl.DateTimeFormat(g.default[r],{dayPeriod:t}).format(e)}number(e,t,r=this.lang){return new Intl.NumberFormat(g.default[r],t).format(e)}list(e,t,r=this.lang){return new Intl.ListFormat(g.default[r],t).format(e)}rtime(e,t,r,n=this.lang){return new Intl.RelativeTimeFormat(g.default[n],r).format(e,t)}segmenter(e,t,r=this.lang){return new Intl.Segmenter(r,t).segment(e)}}var b=y},7631:function(e,t,r){"use strict";
|
|
11
|
-
/**
|
|
12
|
-
* @Package @kotori-bot/i18n
|
|
13
|
-
* @Version 1.3.1
|
|
14
|
-
* @Author Hotaru <biyuehuya@gmail.com>
|
|
15
|
-
* @Copyright 2024 Hotaru. All rights reserved.
|
|
16
|
-
* @License GPL-3.0
|
|
17
|
-
* @Link https://github.com/kotorijs/kotori
|
|
18
|
-
* @Date 2024/6/7 11:22:21
|
|
19
|
-
*/var n=Object.create,i=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,s=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,l=(e,t)=>{for(var r in t)i(e,r,{get:t[r],enumerable:!0})},u=(e,t,r,n)=>{if(t&&"object"===typeof t||"function"===typeof t)for(let s of a(t))c.call(e,s)||s===r||i(e,s,{get:()=>t[s],enumerable:!(n=o(t,s))||n.enumerable});return e},f=(e,t,r)=>(r=null!=e?n(s(e)):{},u(!t&&e&&e.__esModule?r:i(r,"default",{value:e,enumerable:!0}),e)),h=e=>u(i({},"__esModule",{value:!0}),e),p={};l(p,{DEFAULT_EXT:()=>g,DEFAULT_LANG:()=>v,DEFAULT_SUPPORTS:()=>m}),e.exports=h(p);var d=f(r(503));const m=Object.keys(d.default),v="en_US",g=".json"},503:function(e){"use strict";
|
|
20
|
-
/**
|
|
21
|
-
* @Package @kotori-bot/i18n
|
|
22
|
-
* @Version 1.3.1
|
|
23
|
-
* @Author Hotaru <biyuehuya@gmail.com>
|
|
24
|
-
* @Copyright 2024 Hotaru. All rights reserved.
|
|
25
|
-
* @License GPL-3.0
|
|
26
|
-
* @Link https://github.com/kotorijs/kotori
|
|
27
|
-
* @Date 2024/6/7 11:22:21
|
|
28
|
-
*/var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,o=(e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})},a=(e,o,a,s)=>{if(o&&"object"===typeof o||"function"===typeof o)for(let c of n(o))i.call(e,c)||c===a||t(e,c,{get:()=>o[c],enumerable:!(s=r(o,c))||s.enumerable});return e},s=e=>a(t({},"__esModule",{value:!0}),e),c={};o(c,{LocaleIdentifier:()=>l,default:()=>u}),e.exports=s(c);var l=(e=>(e["en_US"]="en-US",e["en_GB"]="en-GB",e["en_AU"]="en-AU",e["zh_CN"]="zh-CN",e["zh_HK"]="zh-HK",e["zh_TW"]="zh-TW",e["zh_SG"]="zh-SG",e["es_ES"]="es-ES",e["es_MX"]="es-MX",e["ar_EG"]="ar-EG",e["ar_AE"]="ar-AE",e["ru_RU"]="ru-RU",e["fr_FR"]="fr-FR",e["fr_CA"]="fr-CA",e["de_DE"]="de-DE",e["de_CH"]="de-CH",e["it_IT"]="it-IT",e["it_CH"]="it-CH",e["hi_IN"]="hi-IN",e["pt_BR"]="pt-BR",e["pt_PT"]="pt-PT",e["tr_TR"]="tr-TR",e["ja_JP"]="ja-JP",e["id_ID"]="id-ID",e["uk_UA"]="uk-UA",e["vi_VN"]="vi-VN",e["th_TH"]="th-TH",e["sv_SE"]="sv-SE",e["nb_NO"]="nb-NO",e["da_DK"]="da-DK",e["fi_FI"]="fi-FI",e["he_IL"]="he-IL",e["sk_SK"]="sk-SK",e["bg_BG"]="bg-BG",e["lt_LT"]="lt-LT",e["sl_SI"]="sl-SI",e["sr_RS"]="sr-RS",e["mk_MK"]="mk-MK",e["sq_AL"]="sq-AL",e["et_EE"]="et-EE",e["mt_MT"]="mt-MT",e["common"]="COMMON",e))(l||{}),u=l},9117:function(e,t,r){"use strict";r(381),r(2432);var n=r(4061),i=r.n(n);
|
|
29
|
-
/** @license @lljj/vue-json-schema-form (c) 2020-2023 Liu.Jun License: Apache-2.0 */
|
|
30
|
-
function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function u(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){i=!0,o=e}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return r}}(e,t)||p(e,t)||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 h(e){return function(e){if(Array.isArray(e))return d(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||p(e)||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.")}()}function p(e,t){if(e){if("string"==typeof e)return d(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?d(e,t):void 0}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function m(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function v(e){return"[object Object]"===Object.prototype.toString.call(e)}function g(e){return"[object Arguments]"===Object.prototype.toString.call(e)}function y(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=Object.assign({},e);return v(t)?Object.keys(t).reduce((function(n,i){var o=e?e[i]:{},a=t[i];return e&&e.hasOwnProperty(i)&&v(a)?n[i]=y(o,a,r):r&&Array.isArray(o)&&Array.isArray(a)?n[i]=o.concat(a):n[i]=a,n}),n):n}function b(e){var t,r=e.type;return!r&&e.const?(t=e.const,Array.isArray(t)?"array":"string"==typeof t?"string":null==t?"null":"boolean"==typeof t?"boolean":isNaN(t)?"object"===o(t)?"object":"string":"number"):!r&&e.enum?"string":!r&&e.items?"array":r||!e.properties&&!e.additionalProperties?r instanceof Array&&2===r.length&&r.includes("null")?r.find((function(e){return"null"!==e})):r:"object"}function w(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];if(e===t)return!0;if("function"==typeof e||"function"==typeof t)return!0;if("object"!==o(e)||"object"!==o(t))return!1;if(null===e||null===t)return!1;if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(e instanceof RegExp&&t instanceof RegExp)return e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase;if(g(e)||g(t)){if(!g(e)||!g(t))return!1;var i=Array.prototype.slice;return w(i.call(e),i.call(t),r,n)}if(e.constructor!==t.constructor)return!1;var a=Object.keys(e),s=Object.keys(t);if(0===a.length&&0===s.length)return!0;if(a.length!==s.length)return!1;for(var c,l=r.length;l--;)if(r[l]===e)return n[l]===t;r.push(e),n.push(t),a.sort(),s.sort();for(var u=a.length-1;u>=0;u--)if(a[u]!==s[u])return!1;for(var f=a.length-1;f>=0;f--)if(!w(e[c=a[f]],t[c],r,n))return!1;return r.pop(),n.pop(),!0}var x,S,_=(x="".concat(+new Date),S=0,function(){var e="".concat(+new Date);return e===x?S+=1:S=0,"".concat(x=e,"x").concat(S)});function P(e){if(!e)return!0;for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0}function E(e,t){return Object.entries(e).reduce((function(e,r){var n=f(r,2),i=n[0],o=n[1],a=t(i,o);return void 0!==a&&(e[a]=o),e}),{})}function k(e){return void 0===e?e:String(e).replace(/^./,(function(e){return e.toLocaleLowerCase()}))}function C(e,t){return e*t/function e(t,r){return 0===r?t:e(r,t%r)}(e,t)}function j(e,t){for(var r=t.split("/"),n=0;n<r.length;n+=1){if(void 0===e)return;e=""===r[n]?e:e[r[n]]}return e}function O(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e;if(!e.startsWith("#"))throw new Error("Could not find a definition for ".concat(r,"."));var n=j(t,e=decodeURIComponent(e.substring(1)));if(void 0===n)throw new Error("Could not find a definition for ".concat(r,"."));return n.hasOwnProperty("$ref")?O(n.$ref,t):n}function I(e,t){return e(t={exports:{}},t.exports),t.exports}function A(e){return e&&e.default||e}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof r.g?r.g:"undefined"!=typeof self&&self;var R,F=I((function(e,t){
|
|
31
|
-
/** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */
|
|
32
|
-
!function(e){function t(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];if(t.length>1){t[0]=t[0].slice(0,-1);for(var n=t.length-1,i=1;i<n;++i)t[i]=t[i].slice(1,-1);return t[n]=t[n].slice(1),t.join("")}return t[0]}function r(e){return"(?:"+e+")"}function n(e){return void 0===e?"undefined":null===e?"null":Object.prototype.toString.call(e).split(" ").pop().split("]").shift().toLowerCase()}function i(e){return e.toUpperCase()}function o(e){var n=t("[0-9]","[A-Fa-f]"),i=r(r("%[EFef]"+n+"%"+n+n+"%"+n+n)+"|"+r("%[89A-Fa-f]"+n+"%"+n+n)+"|"+r("%"+n+n)),o="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",a=t("[\\:\\/\\?\\#\\[\\]\\@]",o),s=e?"[\\uE000-\\uF8FF]":"[]",c=t("[A-Za-z]","[0-9]","[\\-\\.\\_\\~]",e?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]");r("[A-Za-z]"+t("[A-Za-z]","[0-9]","[\\+\\-\\.]")+"*"),r(r(i+"|"+t(c,o,"[\\:]"))+"*");var l=r(r("25[0-5]")+"|"+r("2[0-4][0-9]")+"|"+r("1[0-9][0-9]")+"|"+r("0?[1-9][0-9]")+"|0?0?[0-9]"),u=r(l+"\\."+l+"\\."+l+"\\."+l),f=r(n+"{1,4}"),h=r(r(f+"\\:"+f)+"|"+u),p=r(r(f+"\\:")+"{6}"+h),d=r("\\:\\:"+r(f+"\\:")+"{5}"+h),m=r(r(f)+"?\\:\\:"+r(f+"\\:")+"{4}"+h),v=r(r(r(f+"\\:")+"{0,1}"+f)+"?\\:\\:"+r(f+"\\:")+"{3}"+h),g=r(r(r(f+"\\:")+"{0,2}"+f)+"?\\:\\:"+r(f+"\\:")+"{2}"+h),y=r(r(r(f+"\\:")+"{0,3}"+f)+"?\\:\\:"+f+"\\:"+h),b=r(r(r(f+"\\:")+"{0,4}"+f)+"?\\:\\:"+h),w=r(r(r(f+"\\:")+"{0,5}"+f)+"?\\:\\:"+f),x=r(r(r(f+"\\:")+"{0,6}"+f)+"?\\:\\:"),S=r([p,d,m,v,g,y,b,w,x].join("|")),_=r(r(c+"|"+i)+"+");r("[vV]"+n+"+\\."+t(c,o,"[\\:]")+"+"),r(r(i+"|"+t(c,o))+"*");var P=r(i+"|"+t(c,o,"[\\:\\@]"));return r(r(i+"|"+t(c,o,"[\\@]"))+"+"),r(r(P+"|"+t("[\\/\\?]",s))+"*"),{NOT_SCHEME:new RegExp(t("[^]","[A-Za-z]","[0-9]","[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(t("[^\\%\\:]",c,o),"g"),NOT_HOST:new RegExp(t("[^\\%\\[\\]\\:]",c,o),"g"),NOT_PATH:new RegExp(t("[^\\%\\/\\:\\@]",c,o),"g"),NOT_PATH_NOSCHEME:new RegExp(t("[^\\%\\/\\@]",c,o),"g"),NOT_QUERY:new RegExp(t("[^\\%]",c,o,"[\\:\\@\\/\\?]",s),"g"),NOT_FRAGMENT:new RegExp(t("[^\\%]",c,o,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(t("[^]",c,o),"g"),UNRESERVED:new RegExp(c,"g"),OTHER_CHARS:new RegExp(t("[^\\%]",c,a),"g"),PCT_ENCODED:new RegExp(i,"g"),IPV4ADDRESS:new RegExp("^("+u+")$"),IPV6ADDRESS:new RegExp("^\\[?("+S+")"+r(r("\\%25|\\%(?!"+n+"{2})")+"("+_+")")+"?\\]?$")}}var a=o(!1),s=o(!0),c=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){i=!0,o=e}finally{try{!n&&s.return&&s.return()}finally{if(i)throw o}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},l=2147483647,u=/^xn--/,f=/[^\0-\x7E]/,h=/[\x2E\u3002\uFF0E\uFF61]/g,p={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},d=Math.floor,m=String.fromCharCode;function v(e){throw new RangeError(p[e])}function g(e,t){var r=e.split("@"),n="";r.length>1&&(n=r[0]+"@",e=r[1]);var i=function(e,t){for(var r=[],n=e.length;n--;)r[n]=t(e[n]);return r}((e=e.replace(h,".")).split("."),t).join(".");return n+i}function y(e){for(var t=[],r=0,n=e.length;r<n;){var i=e.charCodeAt(r++);if(i>=55296&&i<=56319&&r<n){var o=e.charCodeAt(r++);56320==(64512&o)?t.push(((1023&i)<<10)+(1023&o)+65536):(t.push(i),r--)}else t.push(i)}return t}var b=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},w=function(e,t,r){var n=0;for(e=r?d(e/700):e>>1,e+=d(e/t);e>455;n+=36)e=d(e/35);return d(n+36*e/(e+38))},x=function(e){var t,r=[],n=e.length,i=0,o=128,a=72,s=e.lastIndexOf("-");s<0&&(s=0);for(var c=0;c<s;++c)e.charCodeAt(c)>=128&&v("not-basic"),r.push(e.charCodeAt(c));for(var u=s>0?s+1:0;u<n;){for(var f=i,h=1,p=36;;p+=36){u>=n&&v("invalid-input");var m=(t=e.charCodeAt(u++))-48<10?t-22:t-65<26?t-65:t-97<26?t-97:36;(m>=36||m>d((l-i)/h))&&v("overflow"),i+=m*h;var g=p<=a?1:p>=a+26?26:p-a;if(m<g)break;var y=36-g;h>d(l/y)&&v("overflow"),h*=y}var b=r.length+1;a=w(i-f,b,0==f),d(i/b)>l-o&&v("overflow"),o+=d(i/b),i%=b,r.splice(i++,0,o)}return String.fromCodePoint.apply(String,r)},S=function(e){var t=[],r=(e=y(e)).length,n=128,i=0,o=72,a=!0,s=!1,c=void 0;try{for(var u,f=e[Symbol.iterator]();!(a=(u=f.next()).done);a=!0){var h=u.value;h<128&&t.push(m(h))}}catch(e){s=!0,c=e}finally{try{!a&&f.return&&f.return()}finally{if(s)throw c}}var p=t.length,g=p;for(p&&t.push("-");g<r;){var x=l,S=!0,_=!1,P=void 0;try{for(var E,k=e[Symbol.iterator]();!(S=(E=k.next()).done);S=!0){var C=E.value;C>=n&&C<x&&(x=C)}}catch(e){_=!0,P=e}finally{try{!S&&k.return&&k.return()}finally{if(_)throw P}}var j=g+1;x-n>d((l-i)/j)&&v("overflow"),i+=(x-n)*j,n=x;var O=!0,I=!1,A=void 0;try{for(var R,F=e[Symbol.iterator]();!(O=(R=F.next()).done);O=!0){var D=R.value;if(D<n&&++i>l&&v("overflow"),D==n){for(var $=i,L=36;;L+=36){var M=L<=o?1:L>=o+26?26:L-o;if($<M)break;var T=$-M,N=36-M;t.push(m(b(M+T%N,0))),$=d(T/N)}t.push(m(b($,0))),o=w(i,j,g==p),i=0,++g}}}catch(e){I=!0,A=e}finally{try{!O&&F.return&&F.return()}finally{if(I)throw A}}++i,++n}return t.join("")},_=function(e){return g(e,(function(e){return f.test(e)?"xn--"+S(e):e}))},P=function(e){return g(e,(function(e){return u.test(e)?x(e.slice(4).toLowerCase()):e}))},E={};function k(e){var t=e.charCodeAt(0);return t<16?"%0"+t.toString(16).toUpperCase():t<128?"%"+t.toString(16).toUpperCase():t<2048?"%"+(t>>6|192).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase():"%"+(t>>12|224).toString(16).toUpperCase()+"%"+(t>>6&63|128).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase()}function C(e){for(var t="",r=0,n=e.length;r<n;){var i=parseInt(e.substr(r+1,2),16);if(i<128)t+=String.fromCharCode(i),r+=3;else if(i>=194&&i<224){if(n-r>=6){var o=parseInt(e.substr(r+4,2),16);t+=String.fromCharCode((31&i)<<6|63&o)}else t+=e.substr(r,6);r+=6}else if(i>=224){if(n-r>=9){var a=parseInt(e.substr(r+4,2),16),s=parseInt(e.substr(r+7,2),16);t+=String.fromCharCode((15&i)<<12|(63&a)<<6|63&s)}else t+=e.substr(r,9);r+=9}else t+=e.substr(r,3),r+=3}return t}function j(e,t){function r(e){var r=C(e);return r.match(t.UNRESERVED)?r:e}return e.scheme&&(e.scheme=String(e.scheme).replace(t.PCT_ENCODED,r).toLowerCase().replace(t.NOT_SCHEME,"")),void 0!==e.userinfo&&(e.userinfo=String(e.userinfo).replace(t.PCT_ENCODED,r).replace(t.NOT_USERINFO,k).replace(t.PCT_ENCODED,i)),void 0!==e.host&&(e.host=String(e.host).replace(t.PCT_ENCODED,r).toLowerCase().replace(t.NOT_HOST,k).replace(t.PCT_ENCODED,i)),void 0!==e.path&&(e.path=String(e.path).replace(t.PCT_ENCODED,r).replace(e.scheme?t.NOT_PATH:t.NOT_PATH_NOSCHEME,k).replace(t.PCT_ENCODED,i)),void 0!==e.query&&(e.query=String(e.query).replace(t.PCT_ENCODED,r).replace(t.NOT_QUERY,k).replace(t.PCT_ENCODED,i)),void 0!==e.fragment&&(e.fragment=String(e.fragment).replace(t.PCT_ENCODED,r).replace(t.NOT_FRAGMENT,k).replace(t.PCT_ENCODED,i)),e}function O(e){return e.replace(/^0*(.*)/,"$1")||"0"}function I(e,t){var r=e.match(t.IPV4ADDRESS)||[],n=c(r,2)[1];return n?n.split(".").map(O).join("."):e}function A(e,t){var r=e.match(t.IPV6ADDRESS)||[],n=c(r,3),i=n[1],o=n[2];if(i){for(var a=i.toLowerCase().split("::").reverse(),s=c(a,2),l=s[0],u=s[1],f=u?u.split(":").map(O):[],h=l.split(":").map(O),p=t.IPV4ADDRESS.test(h[h.length-1]),d=p?7:8,m=h.length-d,v=Array(d),g=0;g<d;++g)v[g]=f[g]||h[m+g]||"";p&&(v[d-1]=I(v[d-1],t));var y=v.reduce((function(e,t,r){if(!t||"0"===t){var n=e[e.length-1];n&&n.index+n.length===r?n.length++:e.push({index:r,length:1})}return e}),[]).sort((function(e,t){return t.length-e.length}))[0],b=void 0;if(y&&y.length>1){var w=v.slice(0,y.index),x=v.slice(y.index+y.length);b=w.join(":")+"::"+x.join(":")}else b=v.join(":");return o&&(b+="%"+o),b}return e}var R=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,F=void 0==="".match(/(){0}/)[1];function D(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={},n=!1!==t.iri?s:a;"suffix"===t.reference&&(e=(t.scheme?t.scheme+":":"")+"//"+e);var i=e.match(R);if(i){F?(r.scheme=i[1],r.userinfo=i[3],r.host=i[4],r.port=parseInt(i[5],10),r.path=i[6]||"",r.query=i[7],r.fragment=i[8],isNaN(r.port)&&(r.port=i[5])):(r.scheme=i[1]||void 0,r.userinfo=-1!==e.indexOf("@")?i[3]:void 0,r.host=-1!==e.indexOf("//")?i[4]:void 0,r.port=parseInt(i[5],10),r.path=i[6]||"",r.query=-1!==e.indexOf("?")?i[7]:void 0,r.fragment=-1!==e.indexOf("#")?i[8]:void 0,isNaN(r.port)&&(r.port=e.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?i[4]:void 0)),r.host&&(r.host=A(I(r.host,n),n)),void 0!==r.scheme||void 0!==r.userinfo||void 0!==r.host||void 0!==r.port||r.path||void 0!==r.query?void 0===r.scheme?r.reference="relative":void 0===r.fragment?r.reference="absolute":r.reference="uri":r.reference="same-document",t.reference&&"suffix"!==t.reference&&t.reference!==r.reference&&(r.error=r.error||"URI is not a "+t.reference+" reference.");var o=E[(t.scheme||r.scheme||"").toLowerCase()];if(t.unicodeSupport||o&&o.unicodeSupport)j(r,n);else{if(r.host&&(t.domainHost||o&&o.domainHost))try{r.host=_(r.host.replace(n.PCT_ENCODED,C).toLowerCase())}catch(e){r.error=r.error||"Host's domain name can not be converted to ASCII via punycode: "+e}j(r,a)}o&&o.parse&&o.parse(r,t)}else r.error=r.error||"URI can not be parsed.";return r}function $(e,t){var r=!1!==t.iri?s:a,n=[];return void 0!==e.userinfo&&(n.push(e.userinfo),n.push("@")),void 0!==e.host&&n.push(A(I(String(e.host),r),r).replace(r.IPV6ADDRESS,(function(e,t,r){return"["+t+(r?"%25"+r:"")+"]"}))),"number"!=typeof e.port&&"string"!=typeof e.port||(n.push(":"),n.push(String(e.port))),n.length?n.join(""):void 0}var L=/^\.\.?\//,M=/^\/\.(\/|$)/,T=/^\/\.\.(\/|$)/,N=/^\/?(?:.|\n)*?(?=\/|$)/;function z(e){for(var t=[];e.length;)if(e.match(L))e=e.replace(L,"");else if(e.match(M))e=e.replace(M,"/");else if(e.match(T))e=e.replace(T,"/"),t.pop();else if("."===e||".."===e)e="";else{var r=e.match(N);if(!r)throw new Error("Unexpected dot segment condition");var n=r[0];e=e.slice(n.length),t.push(n)}return t.join("")}function V(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.iri?s:a,n=[],i=E[(t.scheme||e.scheme||"").toLowerCase()];if(i&&i.serialize&&i.serialize(e,t),e.host)if(r.IPV6ADDRESS.test(e.host));else if(t.domainHost||i&&i.domainHost)try{e.host=t.iri?P(e.host):_(e.host.replace(r.PCT_ENCODED,C).toLowerCase())}catch(r){e.error=e.error||"Host's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+r}j(e,r),"suffix"!==t.reference&&e.scheme&&(n.push(e.scheme),n.push(":"));var o=$(e,t);if(void 0!==o&&("suffix"!==t.reference&&n.push("//"),n.push(o),e.path&&"/"!==e.path.charAt(0)&&n.push("/")),void 0!==e.path){var c=e.path;t.absolutePath||i&&i.absolutePath||(c=z(c)),void 0===o&&(c=c.replace(/^\/\//,"/%2F")),n.push(c)}return void 0!==e.query&&(n.push("?"),n.push(e.query)),void 0!==e.fragment&&(n.push("#"),n.push(e.fragment)),n.join("")}function B(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments[3],i={};return n||(e=D(V(e,r),r),t=D(V(t,r),r)),!(r=r||{}).tolerant&&t.scheme?(i.scheme=t.scheme,i.userinfo=t.userinfo,i.host=t.host,i.port=t.port,i.path=z(t.path||""),i.query=t.query):(void 0!==t.userinfo||void 0!==t.host||void 0!==t.port?(i.userinfo=t.userinfo,i.host=t.host,i.port=t.port,i.path=z(t.path||""),i.query=t.query):(t.path?("/"===t.path.charAt(0)?i.path=z(t.path):(void 0===e.userinfo&&void 0===e.host&&void 0===e.port||e.path?e.path?i.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path:i.path=t.path:i.path="/"+t.path,i.path=z(i.path)),i.query=t.query):(i.path=e.path,void 0!==t.query?i.query=t.query:i.query=e.query),i.userinfo=e.userinfo,i.host=e.host,i.port=e.port),i.scheme=e.scheme),i.fragment=t.fragment,i}function U(e,t){return e&&e.toString().replace(t&&t.iri?s.PCT_ENCODED:a.PCT_ENCODED,C)}var q={scheme:"http",domainHost:!0,parse:function(e,t){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e},serialize:function(e,t){var r="https"===String(e.scheme).toLowerCase();return e.port!==(r?443:80)&&""!==e.port||(e.port=void 0),e.path||(e.path="/"),e}},H={scheme:"https",domainHost:q.domainHost,parse:q.parse,serialize:q.serialize};function W(e){return"boolean"==typeof e.secure?e.secure:"wss"===String(e.scheme).toLowerCase()}var G={scheme:"ws",domainHost:!0,parse:function(e,t){var r=e;return r.secure=W(r),r.resourceName=(r.path||"/")+(r.query?"?"+r.query:""),r.path=void 0,r.query=void 0,r},serialize:function(e,t){if(e.port!==(W(e)?443:80)&&""!==e.port||(e.port=void 0),"boolean"==typeof e.secure&&(e.scheme=e.secure?"wss":"ws",e.secure=void 0),e.resourceName){var r=e.resourceName.split("?"),n=c(r,2),i=n[0],o=n[1];e.path=i&&"/"!==i?i:void 0,e.query=o,e.resourceName=void 0}return e.fragment=void 0,e}},K={scheme:"wss",domainHost:G.domainHost,parse:G.parse,serialize:G.serialize},Q={},J="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",Y="[0-9A-Fa-f]",X=r(r("%[EFef]"+Y+"%"+Y+Y+"%"+Y+Y)+"|"+r("%[89A-Fa-f]"+Y+"%"+Y+Y)+"|"+r("%"+Y+Y)),Z=t("[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",'[\\"\\\\]'),ee=new RegExp(J,"g"),te=new RegExp(X,"g"),re=new RegExp(t("[^]","[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]","[\\.]",'[\\"]',Z),"g"),ne=new RegExp(t("[^]",J,"[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]"),"g"),ie=ne;function oe(e){var t=C(e);return t.match(ee)?t:e}var ae={scheme:"mailto",parse:function(e,t){var r=e,n=r.to=r.path?r.path.split(","):[];if(r.path=void 0,r.query){for(var i=!1,o={},a=r.query.split("&"),s=0,c=a.length;s<c;++s){var l=a[s].split("=");switch(l[0]){case"to":for(var u=l[1].split(","),f=0,h=u.length;f<h;++f)n.push(u[f]);break;case"subject":r.subject=U(l[1],t);break;case"body":r.body=U(l[1],t);break;default:i=!0,o[U(l[0],t)]=U(l[1],t)}}i&&(r.headers=o)}r.query=void 0;for(var p=0,d=n.length;p<d;++p){var m=n[p].split("@");if(m[0]=U(m[0]),t.unicodeSupport)m[1]=U(m[1],t).toLowerCase();else try{m[1]=_(U(m[1],t).toLowerCase())}catch(e){r.error=r.error||"Email address's domain name can not be converted to ASCII via punycode: "+e}n[p]=m.join("@")}return r},serialize:function(e,t){var r,n=e,o=null!=(r=e.to)?r instanceof Array?r:"number"!=typeof r.length||r.split||r.setInterval||r.call?[r]:Array.prototype.slice.call(r):[];if(o){for(var a=0,s=o.length;a<s;++a){var c=String(o[a]),l=c.lastIndexOf("@"),u=c.slice(0,l).replace(te,oe).replace(te,i).replace(re,k),f=c.slice(l+1);try{f=t.iri?P(f):_(U(f,t).toLowerCase())}catch(e){n.error=n.error||"Email address's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+e}o[a]=u+"@"+f}n.path=o.join(",")}var h=e.headers=e.headers||{};e.subject&&(h.subject=e.subject),e.body&&(h.body=e.body);var p=[];for(var d in h)h[d]!==Q[d]&&p.push(d.replace(te,oe).replace(te,i).replace(ne,k)+"="+h[d].replace(te,oe).replace(te,i).replace(ie,k));return p.length&&(n.query=p.join("&")),n}},se=/^([^\:]+)\:(.*)/,ce={scheme:"urn",parse:function(e,t){var r=e.path&&e.path.match(se),n=e;if(r){var i=t.scheme||n.scheme||"urn",o=r[1].toLowerCase(),a=r[2],s=i+":"+(t.nid||o),c=E[s];n.nid=o,n.nss=a,n.path=void 0,c&&(n=c.parse(n,t))}else n.error=n.error||"URN can not be parsed.";return n},serialize:function(e,t){var r=t.scheme||e.scheme||"urn",n=e.nid,i=r+":"+(t.nid||n),o=E[i];o&&(e=o.serialize(e,t));var a=e,s=e.nss;return a.path=(n||t.nid)+":"+s,a}},le=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,ue={scheme:"urn:uuid",parse:function(e,t){var r=e;return r.uuid=r.nss,r.nss=void 0,t.tolerant||r.uuid&&r.uuid.match(le)||(r.error=r.error||"UUID is not valid."),r},serialize:function(e,t){var r=e;return r.nss=(e.uuid||"").toLowerCase(),r}};E[q.scheme]=q,E[H.scheme]=H,E[G.scheme]=G,E[K.scheme]=K,E[ae.scheme]=ae,E[ce.scheme]=ce,E[ue.scheme]=ue,e.SCHEMES=E,e.pctEncChar=k,e.pctDecChars=C,e.parse=D,e.removeDotSegments=z,e.serialize=V,e.resolveComponents=B,e.resolve=function(e,t,r){var n=function(e,t){var r=e;if(t)for(var n in t)r[n]=t[n];return r}({scheme:"null"},r);return V(B(D(e,n),D(t,n),n,!0),n)},e.normalize=function(e,t){return"string"==typeof e?e=V(D(e,t),t):"object"===n(e)&&(e=D(V(e,t),t)),e},e.equal=function(e,t,r){return"string"==typeof e?e=V(D(e,r),r):"object"===n(e)&&(e=V(e,r)),"string"==typeof t?t=V(D(t,r),r):"object"===n(t)&&(t=V(t,r)),e===t},e.escapeComponent=function(e,t){return e&&e.toString().replace(t&&t.iri?s.ESCAPE:a.ESCAPE,k)},e.unescapeComponent=U,Object.defineProperty(e,"__esModule",{value:!0})}(t)}));(R=F)&&R.__esModule&&Object.prototype.hasOwnProperty.call(R,"default")&&R.default;var D=function e(t,r){if(t===r)return!0;if(t&&r&&"object"==typeof t&&"object"==typeof r){if(t.constructor!==r.constructor)return!1;var n,i,o;if(Array.isArray(t)){if((n=t.length)!=r.length)return!1;for(i=n;0!=i--;)if(!e(t[i],r[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if((n=(o=Object.keys(t)).length)!==Object.keys(r).length)return!1;for(i=n;0!=i--;)if(!Object.prototype.hasOwnProperty.call(r,o[i]))return!1;for(i=n;0!=i--;){var a=o[i];if(!e(t[a],r[a]))return!1}return!0}return t!=t&&r!=r},$={copy:function(e,t){for(var r in t=t||{},e)t[r]=e[r];return t},checkDataType:L,checkDataTypes:function(e,t,r){switch(e.length){case 1:return L(e[0],t,r,!0);default:var n="",i=T(e);for(var o in i.array&&i.object&&(n=i.null?"(":"(!"+t+" || ",n+="typeof "+t+' !== "object")',delete i.null,delete i.array,delete i.object),i.number&&delete i.integer,i)n+=(n?" && ":"")+L(o,t,r,!0);return n}},coerceToTypes:function(e,t){if(Array.isArray(t)){for(var r=[],n=0;n<t.length;n++){var i=t[n];(M[i]||"array"===e&&"array"===i)&&(r[r.length]=i)}if(r.length)return r}else{if(M[t])return[t];if("array"===e&&"array"===t)return["array"]}},toHash:T,getProperty:V,escapeQuotes:B,equal:D,ucs2length:function(e){for(var t,r=0,n=e.length,i=0;i<n;)r++,(t=e.charCodeAt(i++))>=55296&&t<=56319&&i<n&&56320==(64512&(t=e.charCodeAt(i)))&&i++;return r},varOccurences:function(e,t){t+="[^0-9]";var r=e.match(new RegExp(t,"g"));return r?r.length:0},varReplace:function(e,t,r){return t+="([^0-9])",r=r.replace(/\$/g,"$$$$"),e.replace(new RegExp(t,"g"),r+"$1")},schemaHasRules:function(e,t){if("boolean"==typeof e)return!e;for(var r in e)if(t[r])return!0},schemaHasRulesExcept:function(e,t,r){if("boolean"==typeof e)return!e&&"not"!=r;for(var n in e)if(n!=r&&t[n])return!0},schemaUnknownRules:function(e,t){if("boolean"!=typeof e)for(var r in e)if(!t[r])return r},toQuotedString:U,getPathExpr:function(e,t,r,n){return W(e,r?"'/' + "+t+(n?"":".replace(/~/g, '~0').replace(/\\//g, '~1')"):n?"'[' + "+t+" + ']'":"'[\\'' + "+t+" + '\\']'")},getPath:function(e,t,r){var n=U(r?"/"+G(t):V(t));return W(e,n)},getData:function(e,t,r){var n,i,o,a;if(""===e)return"rootData";if("/"==e[0]){if(!q.test(e))throw new Error("Invalid JSON-pointer: "+e);i=e,o="rootData"}else{if(!(a=e.match(H)))throw new Error("Invalid JSON-pointer: "+e);if(n=+a[1],"#"==(i=a[2])){if(n>=t)throw new Error("Cannot access property/index "+n+" levels up, current level is "+t);return r[t-n]}if(n>t)throw new Error("Cannot access data "+n+" levels up, current level is "+t);if(o="data"+(t-n||""),!i)return o}for(var s=o,c=i.split("/"),l=0;l<c.length;l++){var u=c[l];u&&(o+=V(K(u)),s+=" && "+o)}return s},unescapeFragment:function(e){return K(decodeURIComponent(e))},unescapeJsonPointer:K,escapeFragment:function(e){return encodeURIComponent(G(e))},escapeJsonPointer:G};function L(e,t,r,n){var i=n?" !== ":" === ",o=n?" || ":" && ",a=n?"!":"",s=n?"":"!";switch(e){case"null":return t+i+"null";case"array":return a+"Array.isArray("+t+")";case"object":return"("+a+t+o+"typeof "+t+i+'"object"'+o+s+"Array.isArray("+t+"))";case"integer":return"(typeof "+t+i+'"number"'+o+s+"("+t+" % 1)"+o+t+i+t+(r?o+a+"isFinite("+t+")":"")+")";case"number":return"(typeof "+t+i+'"'+e+'"'+(r?o+a+"isFinite("+t+")":"")+")";default:return"typeof "+t+i+'"'+e+'"'}}var M=T(["string","number","integer","boolean","null"]);function T(e){for(var t={},r=0;r<e.length;r++)t[e[r]]=!0;return t}var N=/^[a-z$_][a-z$_0-9]*$/i,z=/'|\\/g;function V(e){return"number"==typeof e?"["+e+"]":N.test(e)?"."+e:"['"+B(e)+"']"}function B(e){return e.replace(z,"\\$&").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\f/g,"\\f").replace(/\t/g,"\\t")}function U(e){return"'"+B(e)+"'"}var q=/^\/(?:[^~]|~0|~1)*$/,H=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function W(e,t){return'""'==e?t:(e+" + "+t).replace(/([^\\])' \+ '/g,"$1")}function G(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function K(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}var Q=function(e){$.copy(e,this)},J=I((function(e){var t=e.exports=function(e,r,n){"function"==typeof r&&(n=r,r={}),function e(r,n,i,o,a,s,c,l,u,f){if(o&&"object"==typeof o&&!Array.isArray(o)){for(var h in n(o,a,s,c,l,u,f),o){var p=o[h];if(Array.isArray(p)){if(h in t.arrayKeywords)for(var d=0;d<p.length;d++)e(r,n,i,p[d],a+"/"+h+"/"+d,s,a,h,o,d)}else if(h in t.propsKeywords){if(p&&"object"==typeof p)for(var m in p)e(r,n,i,p[m],a+"/"+h+"/"+m.replace(/~/g,"~0").replace(/\//g,"~1"),s,a,h,o,m)}else(h in t.keywords||r.allKeys&&!(h in t.skipKeywords))&&e(r,n,i,p,a+"/"+h,s,a,h,o)}i(o,a,s,c,l,u,f)}}(r,"function"==typeof(n=r.cb||n)?n:n.pre||function(){},n.post||function(){},e,"",e)};t.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0},t.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},t.propsKeywords={definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},t.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0}})),Y=X;function X(e,t,r){var n=this._refs[r];if("string"==typeof n){if(!this._refs[n])return X.call(this,e,t,n);n=this._refs[n]}if((n=n||this._schemas[r])instanceof Q)return ie(n.schema,this._opts.inlineRefs)?n.schema:n.validate||this._compile(n);var i,o,a,s=Z.call(this,t,r);return s&&(i=s.schema,t=s.root,a=s.baseId),i instanceof Q?o=i.validate||e.call(this,i.schema,t,void 0,a):void 0!==i&&(o=ie(i,this._opts.inlineRefs)?i:e.call(this,i,t,void 0,a)),o}function Z(e,t){var r=F.parse(t),n=ae(r),i=oe(this._getId(e.schema));if(0===Object.keys(e.schema).length||n!==i){var o=ce(n),a=this._refs[o];if("string"==typeof a)return ee.call(this,e,a,r);if(a instanceof Q)a.validate||this._compile(a),e=a;else{if(!((a=this._schemas[o])instanceof Q))return;if(a.validate||this._compile(a),o==ce(t))return{schema:a,root:e,baseId:i};e=a}if(!e.schema)return;i=oe(this._getId(e.schema))}return re.call(this,r,i,e.schema,e)}function ee(e,t,r){var n=Z.call(this,e,t);if(n){var i=n.schema,o=n.baseId;e=n.root;var a=this._getId(i);return a&&(o=le(o,a)),re.call(this,r,o,i,e)}}X.normalizeId=ce,X.fullPath=oe,X.url=le,X.ids=function(e){var t=ce(this._getId(e)),r={"":t},n={"":oe(t,!1)},i={},o=this;return J(e,{allKeys:!0},(function(e,t,a,s,c,l,u){if(""!==t){var f=o._getId(e),h=r[s],p=n[s]+"/"+c;if(void 0!==u&&(p+="/"+("number"==typeof u?u:$.escapeFragment(u))),"string"==typeof f){f=h=ce(h?F.resolve(h,f):f);var d=o._refs[f];if("string"==typeof d&&(d=o._refs[d]),d&&d.schema){if(!D(e,d.schema))throw new Error('id "'+f+'" resolves to more than one schema')}else if(f!=ce(p))if("#"==f[0]){if(i[f]&&!D(e,i[f]))throw new Error('id "'+f+'" resolves to more than one schema');i[f]=e}else o._refs[f]=p}r[t]=h,n[t]=p}})),i},X.inlineRef=ie,X.schema=Z;var te=$.toHash(["properties","patternProperties","enum","dependencies","definitions"]);function re(e,t,r,n){if(e.fragment=e.fragment||"","/"==e.fragment.slice(0,1)){for(var i=e.fragment.split("/"),o=1;o<i.length;o++){var a=i[o];if(a){if(void 0===(r=r[a=$.unescapeFragment(a)]))break;var s;if(!te[a]&&((s=this._getId(r))&&(t=le(t,s)),r.$ref)){var c=le(t,r.$ref),l=Z.call(this,n,c);l&&(r=l.schema,n=l.root,t=l.baseId)}}}return void 0!==r&&r!==n.schema?{schema:r,root:n,baseId:t}:void 0}}var ne=$.toHash(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum"]);function ie(e,t){return!1!==t&&(void 0===t||!0===t?function e(t){var r;if(Array.isArray(t)){for(var n=0;n<t.length;n++)if("object"==typeof(r=t[n])&&!e(r))return!1}else for(var i in t){if("$ref"==i)return!1;if("object"==typeof(r=t[i])&&!e(r))return!1}return!0}(e):t?function e(t){var r,n=0;if(Array.isArray(t)){for(var i=0;i<t.length;i++)if("object"==typeof(r=t[i])&&(n+=e(r)),n==1/0)return 1/0}else for(var o in t){if("$ref"==o)return 1/0;if(ne[o])n++;else if("object"==typeof(r=t[o])&&(n+=e(r)+1),n==1/0)return 1/0}return n}(e)<=t:void 0)}function oe(e,t){return!1!==t&&(e=ce(e)),ae(F.parse(e))}function ae(e){return F.serialize(e).split("#")[0]+"#"}var se=/#\/?$/;function ce(e){return e?e.replace(se,""):""}function le(e,t){return t=ce(t),F.resolve(e,t)}var ue={Validation:he((function(e){this.message="validation failed",this.errors=e,this.ajv=this.validation=!0})),MissingRef:he(fe)};function fe(e,t,r){this.message=r||fe.message(e,t),this.missingRef=Y.url(e,t),this.missingSchema=Y.normalizeId(Y.fullPath(this.missingRef))}function he(e){return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}fe.message=function(e,t){return"can't resolve reference "+t+" from id "+e};var pe=function(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});var r,n="boolean"==typeof t.cycles&&t.cycles,i=t.cmp&&(r=t.cmp,function(e){return function(t,n){var i={key:t,value:e[t]},o={key:n,value:e[n]};return r(i,o)}}),o=[];return function e(t){if(t&&t.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0!==t){if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);var r,a;if(Array.isArray(t)){for(a="[",r=0;r<t.length;r++)r&&(a+=","),a+=e(t[r])||"null";return a+"]"}if(null===t)return"null";if(-1!==o.indexOf(t)){if(n)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var s=o.push(t)-1,c=Object.keys(t).sort(i&&i(t));for(a="",r=0;r<c.length;r++){var l=c[r],u=e(t[l]);u&&(a&&(a+=","),a+=JSON.stringify(l)+":"+u)}return o.splice(s,1),"{"+a+"}"}}(e)},de=function(e,t,r){var n="",i=!0===e.schema.$async,o=e.util.schemaHasRulesExcept(e.schema,e.RULES.all,"$ref"),a=e.self._getId(e.schema);if(e.opts.strictKeywords){var s=e.util.schemaUnknownRules(e.schema,e.RULES.keywords);if(s){var c="unknown keyword: "+s;if("log"!==e.opts.strictKeywords)throw new Error(c);e.logger.warn(c)}}if(e.isTop&&(n+=" var validate = ",i&&(e.async=!0,n+="async "),n+="function(data, dataPath, parentData, parentDataProperty, rootData) { 'use strict'; ",a&&(e.opts.sourceCode||e.opts.processCode)&&(n+=" /*# sourceURL="+a+" */ ")),"boolean"==typeof e.schema||!o&&!e.schema.$ref){var l=e.level,u=e.dataLevel,f=e.schema["false schema"],h=e.schemaPath+e.util.getProperty("false schema"),p=e.errSchemaPath+"/false schema",d=!e.opts.allErrors,m="data"+(u||""),v="valid"+l;if(!1===e.schema){e.isTop?d=!0:n+=" var "+v+" = false; ",(H=H||[]).push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'false schema' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(p)+" , params: {} ",!1!==e.opts.messages&&(n+=" , message: 'boolean schema is false' "),e.opts.verbose&&(n+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+m+" "),n+=" } "):n+=" {} ";var g=n;n=H.pop(),!e.compositeRule&&d?e.async?n+=" throw new ValidationError(["+g+"]); ":n+=" validate.errors = ["+g+"]; return false; ":n+=" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else e.isTop?n+=i?" return data; ":" validate.errors = null; return true; ":n+=" var "+v+" = true; ";return e.isTop&&(n+=" }; return validate; "),n}if(e.isTop){var y=e.isTop;if(l=e.level=0,u=e.dataLevel=0,m="data",e.rootId=e.resolve.fullPath(e.self._getId(e.root.schema)),e.baseId=e.baseId||e.rootId,delete e.isTop,e.dataPathArr=[""],void 0!==e.schema.default&&e.opts.useDefaults&&e.opts.strictDefaults){var b="default is ignored in the schema root";if("log"!==e.opts.strictDefaults)throw new Error(b);e.logger.warn(b)}n+=" var vErrors = null; ",n+=" var errors = 0; ",n+=" if (rootData === undefined) rootData = data; "}else{if(l=e.level,m="data"+((u=e.dataLevel)||""),a&&(e.baseId=e.resolve.url(e.baseId,a)),i&&!e.async)throw new Error("async schema in sync schema");n+=" var errs_"+l+" = errors;"}v="valid"+l,d=!e.opts.allErrors;var w="",x="",S=e.schema.type,_=Array.isArray(S);if(S&&e.opts.nullable&&!0===e.schema.nullable&&(_?-1==S.indexOf("null")&&(S=S.concat("null")):"null"!=S&&(S=[S,"null"],_=!0)),_&&1==S.length&&(S=S[0],_=!1),e.schema.$ref&&o){if("fail"==e.opts.extendRefs)throw new Error('$ref: validation keywords used in schema at path "'+e.errSchemaPath+'" (see option extendRefs)');!0!==e.opts.extendRefs&&(o=!1,e.logger.warn('$ref: keywords ignored in schema at path "'+e.errSchemaPath+'"'))}if(e.schema.$comment&&e.opts.$comment&&(n+=" "+e.RULES.all.$comment.code(e,"$comment")),S){if(e.opts.coerceTypes)var P=e.util.coerceToTypes(e.opts.coerceTypes,S);var E=e.RULES.types[S];if(P||_||!0===E||E&&!Y(E)){h=e.schemaPath+".type",p=e.errSchemaPath+"/type",h=e.schemaPath+".type",p=e.errSchemaPath+"/type";var k=_?"checkDataTypes":"checkDataType";if(n+=" if ("+e.util[k](S,m,e.opts.strictNumbers,!0)+") { ",P){var C="dataType"+l,j="coerced"+l;n+=" var "+C+" = typeof "+m+"; var "+j+" = undefined; ","array"==e.opts.coerceTypes&&(n+=" if ("+C+" == 'object' && Array.isArray("+m+") && "+m+".length == 1) { "+m+" = "+m+"[0]; "+C+" = typeof "+m+"; if ("+e.util.checkDataType(e.schema.type,m,e.opts.strictNumbers)+") "+j+" = "+m+"; } "),n+=" if ("+j+" !== undefined) ; ";var O=P;if(O)for(var I,A=-1,R=O.length-1;A<R;)"string"==(I=O[A+=1])?n+=" else if ("+C+" == 'number' || "+C+" == 'boolean') "+j+" = '' + "+m+"; else if ("+m+" === null) "+j+" = ''; ":"number"==I||"integer"==I?(n+=" else if ("+C+" == 'boolean' || "+m+" === null || ("+C+" == 'string' && "+m+" && "+m+" == +"+m+" ","integer"==I&&(n+=" && !("+m+" % 1)"),n+=")) "+j+" = +"+m+"; "):"boolean"==I?n+=" else if ("+m+" === 'false' || "+m+" === 0 || "+m+" === null) "+j+" = false; else if ("+m+" === 'true' || "+m+" === 1) "+j+" = true; ":"null"==I?n+=" else if ("+m+" === '' || "+m+" === 0 || "+m+" === false) "+j+" = null; ":"array"==e.opts.coerceTypes&&"array"==I&&(n+=" else if ("+C+" == 'string' || "+C+" == 'number' || "+C+" == 'boolean' || "+m+" == null) "+j+" = ["+m+"]; ");n+=" else { ",(H=H||[]).push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'type' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(p)+" , params: { type: '",n+=_?""+S.join(","):""+S,n+="' } ",!1!==e.opts.messages&&(n+=" , message: 'should be ",n+=_?""+S.join(","):""+S,n+="' "),e.opts.verbose&&(n+=" , schema: validate.schema"+h+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+m+" "),n+=" } "):n+=" {} ",g=n,n=H.pop(),!e.compositeRule&&d?e.async?n+=" throw new ValidationError(["+g+"]); ":n+=" validate.errors = ["+g+"]; return false; ":n+=" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" } if ("+j+" !== undefined) { ";var F=u?"data"+(u-1||""):"parentData";n+=" "+m+" = "+j+"; ",u||(n+="if ("+F+" !== undefined)"),n+=" "+F+"["+(u?e.dataPathArr[u]:"parentDataProperty")+"] = "+j+"; } "}else(H=H||[]).push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'type' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(p)+" , params: { type: '",n+=_?""+S.join(","):""+S,n+="' } ",!1!==e.opts.messages&&(n+=" , message: 'should be ",n+=_?""+S.join(","):""+S,n+="' "),e.opts.verbose&&(n+=" , schema: validate.schema"+h+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+m+" "),n+=" } "):n+=" {} ",g=n,n=H.pop(),!e.compositeRule&&d?e.async?n+=" throw new ValidationError(["+g+"]); ":n+=" validate.errors = ["+g+"]; return false; ":n+=" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";n+=" } "}}if(e.schema.$ref&&!o)n+=" "+e.RULES.all.$ref.code(e,"$ref")+" ",d&&(n+=" } if (errors === ",n+=y?"0":"errs_"+l,n+=") { ",x+="}");else{var D=e.RULES;if(D)for(var $=-1,L=D.length-1;$<L;)if(Y(E=D[$+=1])){if(E.type&&(n+=" if ("+e.util.checkDataType(E.type,m,e.opts.strictNumbers)+") { "),e.opts.useDefaults)if("object"==E.type&&e.schema.properties){f=e.schema.properties;var M=Object.keys(f);if(M)for(var T,N=-1,z=M.length-1;N<z;)if(void 0!==(U=f[T=M[N+=1]]).default){var V=m+e.util.getProperty(T);if(e.compositeRule){if(e.opts.strictDefaults){if(b="default is ignored for: "+V,"log"!==e.opts.strictDefaults)throw new Error(b);e.logger.warn(b)}}else n+=" if ("+V+" === undefined ","empty"==e.opts.useDefaults&&(n+=" || "+V+" === null || "+V+" === '' "),n+=" ) "+V+" = ","shared"==e.opts.useDefaults?n+=" "+e.useDefault(U.default)+" ":n+=" "+JSON.stringify(U.default)+" ",n+="; "}}else if("array"==E.type&&Array.isArray(e.schema.items)){var B=e.schema.items;if(B){A=-1;for(var U,q=B.length-1;A<q;)if(void 0!==(U=B[A+=1]).default)if(V=m+"["+A+"]",e.compositeRule){if(e.opts.strictDefaults){if(b="default is ignored for: "+V,"log"!==e.opts.strictDefaults)throw new Error(b);e.logger.warn(b)}}else n+=" if ("+V+" === undefined ","empty"==e.opts.useDefaults&&(n+=" || "+V+" === null || "+V+" === '' "),n+=" ) "+V+" = ","shared"==e.opts.useDefaults?n+=" "+e.useDefault(U.default)+" ":n+=" "+JSON.stringify(U.default)+" ",n+="; "}}var H,W=E.rules;if(W)for(var G,K=-1,Q=W.length-1;K<Q;)if(X(G=W[K+=1])){var J=G.code(e,G.keyword,E.type);J&&(n+=" "+J+" ",d&&(w+="}"))}if(d&&(n+=" "+w+" ",w=""),E.type&&(n+=" } ",S&&S===E.type&&!P))n+=" else { ",h=e.schemaPath+".type",p=e.errSchemaPath+"/type",(H=H||[]).push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'type' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(p)+" , params: { type: '",n+=_?""+S.join(","):""+S,n+="' } ",!1!==e.opts.messages&&(n+=" , message: 'should be ",n+=_?""+S.join(","):""+S,n+="' "),e.opts.verbose&&(n+=" , schema: validate.schema"+h+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+m+" "),n+=" } "):n+=" {} ",g=n,n=H.pop(),!e.compositeRule&&d?e.async?n+=" throw new ValidationError(["+g+"]); ":n+=" validate.errors = ["+g+"]; return false; ":n+=" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" } ";d&&(n+=" if (errors === ",n+=y?"0":"errs_"+l,n+=") { ",x+="}")}}function Y(e){for(var t=e.rules,r=0;r<t.length;r++)if(X(t[r]))return!0}function X(t){return void 0!==e.schema[t.keyword]||t.implements&&function(t){for(var r=t.implements,n=0;n<r.length;n++)if(void 0!==e.schema[r[n]])return!0}(t)}return d&&(n+=" "+x+" "),y?(i?(n+=" if (errors === 0) return data; ",n+=" else throw new ValidationError(vErrors); "):(n+=" validate.errors = vErrors; ",n+=" return errors === 0; "),n+=" }; return validate;"):n+=" var "+v+" = errors === errs_"+l+";",n},me=$.ucs2length,ve=ue.Validation,ge=function e(t,r,n,i){var o=this,a=this._opts,s=[void 0],c={},l=[],u={},f=[],h={},p=[];r=r||{schema:t,refVal:s,refs:c};var d=ye.call(this,t,r,i),m=this._compilations[d.index];if(d.compiling)return m.callValidate=function e(){var t=m.validate,r=t.apply(this,arguments);return e.errors=t.errors,r};var v=this._formats,g=this.RULES;try{var y=w(t,r,n,i);m.validate=y;var b=m.callValidate;return b&&(b.schema=y.schema,b.errors=null,b.refs=y.refs,b.refVal=y.refVal,b.root=y.root,b.$async=y.$async,a.sourceCode&&(b.source=y.source)),y}finally{be.call(this,t,r,i)}function w(t,n,i,u){var h=!n||n&&n.schema==t;if(n.schema!=r.schema)return e.call(o,t,n,i,u);var d,m=!0===t.$async,y=de({isTop:!0,schema:t,isRoot:h,baseId:u,root:n,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:ue.MissingRef,RULES:g,validate:de,util:$,resolve:Y,resolveRef:x,usePattern:P,useDefault:E,useCustomRule:k,opts:a,formats:v,logger:o.logger,self:o});y=Ee(s,_e)+Ee(l,xe)+Ee(f,Se)+Ee(p,Pe)+y,a.processCode&&(y=a.processCode(y,t));try{d=new Function("self","RULES","formats","root","refVal","defaults","customRules","equal","ucs2length","ValidationError",y)(o,g,v,r,s,f,p,D,me,ve),s[0]=d}catch(e){throw o.logger.error("Error compiling schema, function code:",y),e}return d.schema=t,d.errors=null,d.refs=c,d.refVal=s,d.root=h?d:n,m&&(d.$async=!0),!0===a.sourceCode&&(d.source={code:y,patterns:l,defaults:f}),d}function x(t,i,l){i=Y.url(t,i);var u,f,h=c[i];if(void 0!==h)return _(u=s[h],f="refVal["+h+"]");if(!l&&r.refs){var p=r.refs[i];if(void 0!==p)return _(u=r.refVal[p],f=S(i,u))}f=S(i);var d=Y.call(o,w,r,i);if(void 0===d){var m=n&&n[i];m&&(d=Y.inlineRef(m,a.inlineRefs)?m:e.call(o,m,r,n,t))}if(void 0!==d)return function(e,t){var r=c[e];s[r]=t}(i,d),_(d,f);!function(e){delete c[e]}(i)}function S(e,t){var r=s.length;return s[r]=t,c[e]=r,"refVal"+r}function _(e,t){return"object"==typeof e||"boolean"==typeof e?{code:t,schema:e,inline:!0}:{code:t,$async:e&&!!e.$async}}function P(e){var t=u[e];return void 0===t&&(t=u[e]=l.length,l[t]=e),"pattern"+t}function E(e){switch(typeof e){case"boolean":case"number":return""+e;case"string":return $.toQuotedString(e);case"object":if(null===e)return"null";var t=pe(e),r=h[t];return void 0===r&&(r=h[t]=f.length,f[r]=e),"default"+r}}function k(e,t,r,n){if(!1!==o._opts.validateSchema){var i=e.definition.dependencies;if(i&&!i.every((function(e){return Object.prototype.hasOwnProperty.call(r,e)})))throw new Error("parent schema must have all required keywords: "+i.join(","));var s=e.definition.validateSchema;if(s&&!s(t)){var c="keyword schema is invalid: "+o.errorsText(s.errors);if("log"!=o._opts.validateSchema)throw new Error(c);o.logger.error(c)}}var l,u=e.definition.compile,f=e.definition.inline,h=e.definition.macro;if(u)l=u.call(o,t,r,n);else if(h)l=h.call(o,t,r,n),!1!==a.validateSchema&&o.validateSchema(l,!0);else if(f)l=f.call(o,n,e.keyword,t,r);else if(!(l=e.definition.validate))return;if(void 0===l)throw new Error('custom keyword "'+e.keyword+'"failed to compile');var d=p.length;return p[d]=l,{code:"customRule"+d,validate:l}}};function ye(e,t,r){var n=we.call(this,e,t,r);return n>=0?{index:n,compiling:!0}:(n=this._compilations.length,this._compilations[n]={schema:e,root:t,baseId:r},{index:n,compiling:!1})}function be(e,t,r){var n=we.call(this,e,t,r);n>=0&&this._compilations.splice(n,1)}function we(e,t,r){for(var n=0;n<this._compilations.length;n++){var i=this._compilations[n];if(i.schema==e&&i.root==t&&i.baseId==r)return n}return-1}function xe(e,t){return"var pattern"+e+" = new RegExp("+$.toQuotedString(t[e])+");"}function Se(e){return"var default"+e+" = defaults["+e+"];"}function _e(e,t){return void 0===t[e]?"":"var refVal"+e+" = refVal["+e+"];"}function Pe(e){return"var customRule"+e+" = customRules["+e+"];"}function Ee(e,t){if(!e.length)return"";for(var r="",n=0;n<e.length;n++)r+=t(n,e);return r}var ke=I((function(e){var t=e.exports=function(){this._cache={}};t.prototype.put=function(e,t){this._cache[e]=t},t.prototype.get=function(e){return this._cache[e]},t.prototype.del=function(e){delete this._cache[e]},t.prototype.clear=function(){this._cache={}}})),Ce=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,je=[0,31,28,31,30,31,30,31,31,30,31,30,31],Oe=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i,Ie=/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,Ae=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,Re=/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,Fe=/^(?:(?:http[s\u017F]?|ftp):\/\/)(?:(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+(?::(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?@)?(?:(?!10(?:\.[0-9]{1,3}){3})(?!127(?:\.[0-9]{1,3}){3})(?!169\.254(?:\.[0-9]{1,3}){2})(?!192\.168(?:\.[0-9]{1,3}){2})(?!172\.(?:1[6-9]|2[0-9]|3[01])(?:\.[0-9]{1,3}){2})(?:[1-9][0-9]?|1[0-9][0-9]|2[01][0-9]|22[0-3])(?:\.(?:1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])){2}(?:\.(?:[1-9][0-9]?|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|(?:(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)(?:\.(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)*(?:\.(?:(?:[a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]){2,})))(?::[0-9]{2,5})?(?:\/(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?$/i,De=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,$e=/^(?:\/(?:[^~/]|~0|~1)*)*$/,Le=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,Me=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/,Te=Ne;function Ne(e){return e="full"==e?"full":"fast",$.copy(Ne[e])}function ze(e){var t=e.match(Ce);if(!t)return!1;var r=+t[1],n=+t[2],i=+t[3];return n>=1&&n<=12&&i>=1&&i<=(2==n&&function(e){return e%4==0&&(e%100!=0||e%400==0)}(r)?29:je[n])}function Ve(e,t){var r=e.match(Oe);if(!r)return!1;var n=r[1],i=r[2],o=r[3],a=r[5];return(n<=23&&i<=59&&o<=59||23==n&&59==i&&60==o)&&(!t||a)}Ne.fast={date:/^\d\d\d\d-[0-1]\d-[0-3]\d$/,time:/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,"date-time":/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,"uri-template":Re,url:Fe,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i,hostname:Ie,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:He,uuid:De,"json-pointer":$e,"json-pointer-uri-fragment":Le,"relative-json-pointer":Me},Ne.full={date:ze,time:Ve,"date-time":function(e){var t=e.split(Be);return 2==t.length&&ze(t[0])&&Ve(t[1],!0)},uri:function(e){return Ue.test(e)&&Ae.test(e)},"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,"uri-template":Re,url:Fe,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:Ie,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:He,uuid:De,"json-pointer":$e,"json-pointer-uri-fragment":Le,"relative-json-pointer":Me};var Be=/t|\s/i,Ue=/\/|:/,qe=/[^\\]\\Z/;function He(e){if(qe.test(e))return!1;try{return new RegExp(e),!0}catch(e){return!1}}var We=function(e,t,r){var n,i=" ",o=e.level,a=e.dataLevel,s=e.schema[t],c=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,f="data"+(a||""),h=e.opts.$data&&s&&s.$data;h?(i+=" var schema"+o+" = "+e.util.getData(s.$data,a,e.dataPathArr)+"; ",n="schema"+o):n=s;var p="maximum"==t,d=p?"exclusiveMaximum":"exclusiveMinimum",m=e.schema[d],v=e.opts.$data&&m&&m.$data,g=p?"<":">",y=p?">":"<",b=void 0;if(!h&&"number"!=typeof s&&void 0!==s)throw new Error(t+" must be number");if(!v&&void 0!==m&&"number"!=typeof m&&"boolean"!=typeof m)throw new Error(d+" must be number or boolean");if(v){var w,x=e.util.getData(m.$data,a,e.dataPathArr),S="exclusive"+o,_="exclType"+o,P="exclIsNumber"+o,E="' + "+(C="op"+o)+" + '";i+=" var schemaExcl"+o+" = "+x+"; ",i+=" var "+S+"; var "+_+" = typeof "+(x="schemaExcl"+o)+"; if ("+_+" != 'boolean' && "+_+" != 'undefined' && "+_+" != 'number') { ",b=d,(w=w||[]).push(i),i="",!1!==e.createErrors?(i+=" { keyword: '"+(b||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: {} ",!1!==e.opts.messages&&(i+=" , message: '"+d+" should be boolean' "),e.opts.verbose&&(i+=" , schema: validate.schema"+c+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),i+=" } "):i+=" {} ";var k=i;i=w.pop(),!e.compositeRule&&u?e.async?i+=" throw new ValidationError(["+k+"]); ":i+=" validate.errors = ["+k+"]; return false; ":i+=" var err = "+k+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } else if ( ",h&&(i+=" ("+n+" !== undefined && typeof "+n+" != 'number') || "),i+=" "+_+" == 'number' ? ( ("+S+" = "+n+" === undefined || "+x+" "+g+"= "+n+") ? "+f+" "+y+"= "+x+" : "+f+" "+y+" "+n+" ) : ( ("+S+" = "+x+" === true) ? "+f+" "+y+"= "+n+" : "+f+" "+y+" "+n+" ) || "+f+" !== "+f+") { var op"+o+" = "+S+" ? '"+g+"' : '"+g+"='; ",void 0===s&&(b=d,l=e.errSchemaPath+"/"+d,n=x,h=v)}else if(E=g,(P="number"==typeof m)&&h){var C="'"+E+"'";i+=" if ( ",h&&(i+=" ("+n+" !== undefined && typeof "+n+" != 'number') || "),i+=" ( "+n+" === undefined || "+m+" "+g+"= "+n+" ? "+f+" "+y+"= "+m+" : "+f+" "+y+" "+n+" ) || "+f+" !== "+f+") { "}else P&&void 0===s?(S=!0,b=d,l=e.errSchemaPath+"/"+d,n=m,y+="="):(P&&(n=Math[p?"min":"max"](m,s)),m===(!P||n)?(S=!0,b=d,l=e.errSchemaPath+"/"+d,y+="="):(S=!1,E+="=")),C="'"+E+"'",i+=" if ( ",h&&(i+=" ("+n+" !== undefined && typeof "+n+" != 'number') || "),i+=" "+f+" "+y+" "+n+" || "+f+" !== "+f+") { ";return b=b||t,(w=w||[]).push(i),i="",!1!==e.createErrors?(i+=" { keyword: '"+(b||"_limit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { comparison: "+C+", limit: "+n+", exclusive: "+S+" } ",!1!==e.opts.messages&&(i+=" , message: 'should be "+E+" ",i+=h?"' + "+n:n+"'"),e.opts.verbose&&(i+=" , schema: ",i+=h?"validate.schema"+c:""+s,i+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),i+=" } "):i+=" {} ",k=i,i=w.pop(),!e.compositeRule&&u?e.async?i+=" throw new ValidationError(["+k+"]); ":i+=" validate.errors = ["+k+"]; return false; ":i+=" var err = "+k+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } ",u&&(i+=" else { "),i},Ge=function(e,t,r){var n,i=" ",o=e.level,a=e.dataLevel,s=e.schema[t],c=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,f="data"+(a||""),h=e.opts.$data&&s&&s.$data;if(h?(i+=" var schema"+o+" = "+e.util.getData(s.$data,a,e.dataPathArr)+"; ",n="schema"+o):n=s,!h&&"number"!=typeof s)throw new Error(t+" must be number");i+="if ( ",h&&(i+=" ("+n+" !== undefined && typeof "+n+" != 'number') || "),i+=" "+f+".length "+("maxItems"==t?">":"<")+" "+n+") { ";var p=t,d=d||[];d.push(i),i="",!1!==e.createErrors?(i+=" { keyword: '"+(p||"_limitItems")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { limit: "+n+" } ",!1!==e.opts.messages&&(i+=" , message: 'should NOT have ",i+="maxItems"==t?"more":"fewer",i+=" than ",i+=h?"' + "+n+" + '":""+s,i+=" items' "),e.opts.verbose&&(i+=" , schema: ",i+=h?"validate.schema"+c:""+s,i+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),i+=" } "):i+=" {} ";var m=i;return i=d.pop(),!e.compositeRule&&u?e.async?i+=" throw new ValidationError(["+m+"]); ":i+=" validate.errors = ["+m+"]; return false; ":i+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+="} ",u&&(i+=" else { "),i},Ke=function(e,t,r){var n,i=" ",o=e.level,a=e.dataLevel,s=e.schema[t],c=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,f="data"+(a||""),h=e.opts.$data&&s&&s.$data;if(h?(i+=" var schema"+o+" = "+e.util.getData(s.$data,a,e.dataPathArr)+"; ",n="schema"+o):n=s,!h&&"number"!=typeof s)throw new Error(t+" must be number");var p="maxLength"==t?">":"<";i+="if ( ",h&&(i+=" ("+n+" !== undefined && typeof "+n+" != 'number') || "),!1===e.opts.unicode?i+=" "+f+".length ":i+=" ucs2length("+f+") ",i+=" "+p+" "+n+") { ";var d=t,m=m||[];m.push(i),i="",!1!==e.createErrors?(i+=" { keyword: '"+(d||"_limitLength")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { limit: "+n+" } ",!1!==e.opts.messages&&(i+=" , message: 'should NOT be ",i+="maxLength"==t?"longer":"shorter",i+=" than ",i+=h?"' + "+n+" + '":""+s,i+=" characters' "),e.opts.verbose&&(i+=" , schema: ",i+=h?"validate.schema"+c:""+s,i+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),i+=" } "):i+=" {} ";var v=i;return i=m.pop(),!e.compositeRule&&u?e.async?i+=" throw new ValidationError(["+v+"]); ":i+=" validate.errors = ["+v+"]; return false; ":i+=" var err = "+v+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+="} ",u&&(i+=" else { "),i},Qe=function(e,t,r){var n,i=" ",o=e.level,a=e.dataLevel,s=e.schema[t],c=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,f="data"+(a||""),h=e.opts.$data&&s&&s.$data;if(h?(i+=" var schema"+o+" = "+e.util.getData(s.$data,a,e.dataPathArr)+"; ",n="schema"+o):n=s,!h&&"number"!=typeof s)throw new Error(t+" must be number");i+="if ( ",h&&(i+=" ("+n+" !== undefined && typeof "+n+" != 'number') || "),i+=" Object.keys("+f+").length "+("maxProperties"==t?">":"<")+" "+n+") { ";var p=t,d=d||[];d.push(i),i="",!1!==e.createErrors?(i+=" { keyword: '"+(p||"_limitProperties")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { limit: "+n+" } ",!1!==e.opts.messages&&(i+=" , message: 'should NOT have ",i+="maxProperties"==t?"more":"fewer",i+=" than ",i+=h?"' + "+n+" + '":""+s,i+=" properties' "),e.opts.verbose&&(i+=" , schema: ",i+=h?"validate.schema"+c:""+s,i+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),i+=" } "):i+=" {} ";var m=i;return i=d.pop(),!e.compositeRule&&u?e.async?i+=" throw new ValidationError(["+m+"]); ":i+=" validate.errors = ["+m+"]; return false; ":i+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+="} ",u&&(i+=" else { "),i},Je={$ref:function(e,t,r){var n,i,o=" ",a=e.level,s=e.dataLevel,c=e.schema[t],l=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,f="data"+(s||""),h="valid"+a;if("#"==c||"#/"==c)e.isRoot?(n=e.async,i="validate"):(n=!0===e.root.schema.$async,i="root.refVal[0]");else{var p=e.resolveRef(e.baseId,c,e.isRoot);if(void 0===p){var d=e.MissingRefError.message(e.baseId,c);if("fail"==e.opts.missingRefs){e.logger.error(d),(y=y||[]).push(o),o="",!1!==e.createErrors?(o+=" { keyword: '$ref' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { ref: '"+e.util.escapeQuotes(c)+"' } ",!1!==e.opts.messages&&(o+=" , message: 'can\\'t resolve reference "+e.util.escapeQuotes(c)+"' "),e.opts.verbose&&(o+=" , schema: "+e.util.toQuotedString(c)+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),o+=" } "):o+=" {} ";var m=o;o=y.pop(),!e.compositeRule&&u?e.async?o+=" throw new ValidationError(["+m+"]); ":o+=" validate.errors = ["+m+"]; return false; ":o+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u&&(o+=" if (false) { ")}else{if("ignore"!=e.opts.missingRefs)throw new e.MissingRefError(e.baseId,c,d);e.logger.warn(d),u&&(o+=" if (true) { ")}}else if(p.inline){var v=e.util.copy(e);v.level++;var g="valid"+v.level;v.schema=p.schema,v.schemaPath="",v.errSchemaPath=c,o+=" "+e.validate(v).replace(/validate\.schema/g,p.code)+" ",u&&(o+=" if ("+g+") { ")}else n=!0===p.$async||e.async&&!1!==p.$async,i=p.code}if(i){var y;(y=y||[]).push(o),o="",e.opts.passContext?o+=" "+i+".call(this, ":o+=" "+i+"( ",o+=" "+f+", (dataPath || '')",'""'!=e.errorPath&&(o+=" + "+e.errorPath);var b=o+=" , "+(s?"data"+(s-1||""):"parentData")+" , "+(s?e.dataPathArr[s]:"parentDataProperty")+", rootData) ";if(o=y.pop(),n){if(!e.async)throw new Error("async schema referenced by sync schema");u&&(o+=" var "+h+"; "),o+=" try { await "+b+"; ",u&&(o+=" "+h+" = true; "),o+=" } catch (e) { if (!(e instanceof ValidationError)) throw e; if (vErrors === null) vErrors = e.errors; else vErrors = vErrors.concat(e.errors); errors = vErrors.length; ",u&&(o+=" "+h+" = false; "),o+=" } ",u&&(o+=" if ("+h+") { ")}else o+=" if (!"+b+") { if (vErrors === null) vErrors = "+i+".errors; else vErrors = vErrors.concat("+i+".errors); errors = vErrors.length; } ",u&&(o+=" else { ")}return o},allOf:function(e,t,r){var n=" ",i=e.schema[t],o=e.schemaPath+e.util.getProperty(t),a=e.errSchemaPath+"/"+t,s=!e.opts.allErrors,c=e.util.copy(e),l="";c.level++;var u="valid"+c.level,f=c.baseId,h=!0,p=i;if(p)for(var d,m=-1,v=p.length-1;m<v;)d=p[m+=1],(e.opts.strictKeywords?"object"==typeof d&&Object.keys(d).length>0||!1===d:e.util.schemaHasRules(d,e.RULES.all))&&(h=!1,c.schema=d,c.schemaPath=o+"["+m+"]",c.errSchemaPath=a+"/"+m,n+=" "+e.validate(c)+" ",c.baseId=f,s&&(n+=" if ("+u+") { ",l+="}"));return s&&(n+=h?" if (true) { ":" "+l.slice(0,-1)+" "),n},anyOf:function(e,t,r){var n=" ",i=e.level,o=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,u="data"+(o||""),f="valid"+i,h="errs__"+i,p=e.util.copy(e),d="";p.level++;var m="valid"+p.level;if(a.every((function(t){return e.opts.strictKeywords?"object"==typeof t&&Object.keys(t).length>0||!1===t:e.util.schemaHasRules(t,e.RULES.all)}))){var v=p.baseId;n+=" var "+h+" = errors; var "+f+" = false; ";var g=e.compositeRule;e.compositeRule=p.compositeRule=!0;var y=a;if(y)for(var b,w=-1,x=y.length-1;w<x;)b=y[w+=1],p.schema=b,p.schemaPath=s+"["+w+"]",p.errSchemaPath=c+"/"+w,n+=" "+e.validate(p)+" ",p.baseId=v,n+=" "+f+" = "+f+" || "+m+"; if (!"+f+") { ",d+="}";e.compositeRule=p.compositeRule=g,n+=" "+d+" if (!"+f+") { var err = ",!1!==e.createErrors?(n+=" { keyword: 'anyOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: {} ",!1!==e.opts.messages&&(n+=" , message: 'should match some schema in anyOf' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),n+=" } "):n+=" {} ",n+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&l&&(e.async?n+=" throw new ValidationError(vErrors); ":n+=" validate.errors = vErrors; return false; "),n+=" } else { errors = "+h+"; if (vErrors !== null) { if ("+h+") vErrors.length = "+h+"; else vErrors = null; } ",e.opts.allErrors&&(n+=" } ")}else l&&(n+=" if (true) { ");return n},$comment:function(e,t,r){var n=" ",i=e.schema[t],o=e.errSchemaPath+"/"+t;e.opts.allErrors;var a=e.util.toQuotedString(i);return!0===e.opts.$comment?n+=" console.log("+a+");":"function"==typeof e.opts.$comment&&(n+=" self._opts.$comment("+a+", "+e.util.toQuotedString(o)+", validate.root.schema);"),n},const:function(e,t,r){var n=" ",i=e.level,o=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,u="data"+(o||""),f="valid"+i,h=e.opts.$data&&a&&a.$data;h&&(n+=" var schema"+i+" = "+e.util.getData(a.$data,o,e.dataPathArr)+"; "),h||(n+=" var schema"+i+" = validate.schema"+s+";"),n+="var "+f+" = equal("+u+", schema"+i+"); if (!"+f+") { ";var p=p||[];p.push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'const' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { allowedValue: schema"+i+" } ",!1!==e.opts.messages&&(n+=" , message: 'should be equal to constant' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),n+=" } "):n+=" {} ";var d=n;return n=p.pop(),!e.compositeRule&&l?e.async?n+=" throw new ValidationError(["+d+"]); ":n+=" validate.errors = ["+d+"]; return false; ":n+=" var err = "+d+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" }",l&&(n+=" else { "),n},contains:function(e,t,r){var n=" ",i=e.level,o=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,u="data"+(o||""),f="valid"+i,h="errs__"+i,p=e.util.copy(e);p.level++;var d="valid"+p.level,m="i"+i,v=p.dataLevel=e.dataLevel+1,g="data"+v,y=e.baseId,b=e.opts.strictKeywords?"object"==typeof a&&Object.keys(a).length>0||!1===a:e.util.schemaHasRules(a,e.RULES.all);if(n+="var "+h+" = errors;var "+f+";",b){var w=e.compositeRule;e.compositeRule=p.compositeRule=!0,p.schema=a,p.schemaPath=s,p.errSchemaPath=c,n+=" var "+d+" = false; for (var "+m+" = 0; "+m+" < "+u+".length; "+m+"++) { ",p.errorPath=e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers,!0);var x=u+"["+m+"]";p.dataPathArr[v]=m;var S=e.validate(p);p.baseId=y,e.util.varOccurences(S,g)<2?n+=" "+e.util.varReplace(S,g,x)+" ":n+=" var "+g+" = "+x+"; "+S+" ",n+=" if ("+d+") break; } ",e.compositeRule=p.compositeRule=w,n+=" if (!"+d+") {"}else n+=" if ("+u+".length == 0) {";var _=_||[];_.push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'contains' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: {} ",!1!==e.opts.messages&&(n+=" , message: 'should contain a valid item' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),n+=" } "):n+=" {} ";var P=n;return n=_.pop(),!e.compositeRule&&l?e.async?n+=" throw new ValidationError(["+P+"]); ":n+=" validate.errors = ["+P+"]; return false; ":n+=" var err = "+P+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" } else { ",b&&(n+=" errors = "+h+"; if (vErrors !== null) { if ("+h+") vErrors.length = "+h+"; else vErrors = null; } "),e.opts.allErrors&&(n+=" } "),n},dependencies:function(e,t,r){var n=" ",i=e.level,o=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,u="data"+(o||""),f="errs__"+i,h=e.util.copy(e),p="";h.level++;var d="valid"+h.level,m={},v={},g=e.opts.ownProperties;for(x in a)if("__proto__"!=x){var y=a[x],b=Array.isArray(y)?v:m;b[x]=y}n+="var "+f+" = errors;";var w=e.errorPath;for(var x in n+="var missing"+i+";",v)if((b=v[x]).length){if(n+=" if ( "+u+e.util.getProperty(x)+" !== undefined ",g&&(n+=" && Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(x)+"') "),l){n+=" && ( ";var S=b;if(S)for(var _=-1,P=S.length-1;_<P;)I=S[_+=1],_&&(n+=" || "),n+=" ( ( "+(D=u+(F=e.util.getProperty(I)))+" === undefined ",g&&(n+=" || ! Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(I)+"') "),n+=") && (missing"+i+" = "+e.util.toQuotedString(e.opts.jsonPointers?I:F)+") ) ";n+=")) { ";var E="missing"+i,k="' + "+E+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(w,E,!0):w+" + "+E);var C=C||[];C.push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { property: '"+e.util.escapeQuotes(x)+"', missingProperty: '"+k+"', depsCount: "+b.length+", deps: '"+e.util.escapeQuotes(1==b.length?b[0]:b.join(", "))+"' } ",!1!==e.opts.messages&&(n+=" , message: 'should have ",1==b.length?n+="property "+e.util.escapeQuotes(b[0]):n+="properties "+e.util.escapeQuotes(b.join(", ")),n+=" when property "+e.util.escapeQuotes(x)+" is present' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),n+=" } "):n+=" {} ";var j=n;n=C.pop(),!e.compositeRule&&l?e.async?n+=" throw new ValidationError(["+j+"]); ":n+=" validate.errors = ["+j+"]; return false; ":n+=" var err = "+j+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else{n+=" ) { ";var O=b;if(O)for(var I,A=-1,R=O.length-1;A<R;){I=O[A+=1];var F=e.util.getProperty(I),D=(k=e.util.escapeQuotes(I),u+F);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(w,I,e.opts.jsonPointers)),n+=" if ( "+D+" === undefined ",g&&(n+=" || ! Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(I)+"') "),n+=") { var err = ",!1!==e.createErrors?(n+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { property: '"+e.util.escapeQuotes(x)+"', missingProperty: '"+k+"', depsCount: "+b.length+", deps: '"+e.util.escapeQuotes(1==b.length?b[0]:b.join(", "))+"' } ",!1!==e.opts.messages&&(n+=" , message: 'should have ",1==b.length?n+="property "+e.util.escapeQuotes(b[0]):n+="properties "+e.util.escapeQuotes(b.join(", ")),n+=" when property "+e.util.escapeQuotes(x)+" is present' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),n+=" } "):n+=" {} ",n+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}n+=" } ",l&&(p+="}",n+=" else { ")}e.errorPath=w;var $=h.baseId;for(var x in m)y=m[x],(e.opts.strictKeywords?"object"==typeof y&&Object.keys(y).length>0||!1===y:e.util.schemaHasRules(y,e.RULES.all))&&(n+=" "+d+" = true; if ( "+u+e.util.getProperty(x)+" !== undefined ",g&&(n+=" && Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(x)+"') "),n+=") { ",h.schema=y,h.schemaPath=s+e.util.getProperty(x),h.errSchemaPath=c+"/"+e.util.escapeFragment(x),n+=" "+e.validate(h)+" ",h.baseId=$,n+=" } ",l&&(n+=" if ("+d+") { ",p+="}"));return l&&(n+=" "+p+" if ("+f+" == errors) {"),n},enum:function(e,t,r){var n=" ",i=e.level,o=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,u="data"+(o||""),f="valid"+i,h=e.opts.$data&&a&&a.$data;h&&(n+=" var schema"+i+" = "+e.util.getData(a.$data,o,e.dataPathArr)+"; ");var p="i"+i,d="schema"+i;h||(n+=" var "+d+" = validate.schema"+s+";"),n+="var "+f+";",h&&(n+=" if (schema"+i+" === undefined) "+f+" = true; else if (!Array.isArray(schema"+i+")) "+f+" = false; else {"),n+=f+" = false;for (var "+p+"=0; "+p+"<"+d+".length; "+p+"++) if (equal("+u+", "+d+"["+p+"])) { "+f+" = true; break; }",h&&(n+=" } "),n+=" if (!"+f+") { ";var m=m||[];m.push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'enum' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { allowedValues: schema"+i+" } ",!1!==e.opts.messages&&(n+=" , message: 'should be equal to one of the allowed values' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),n+=" } "):n+=" {} ";var v=n;return n=m.pop(),!e.compositeRule&&l?e.async?n+=" throw new ValidationError(["+v+"]); ":n+=" validate.errors = ["+v+"]; return false; ":n+=" var err = "+v+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" }",l&&(n+=" else { "),n},format:function(e,t,r){var n=" ",i=e.level,o=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,u="data"+(o||"");if(!1===e.opts.format)return l&&(n+=" if (true) { "),n;var f,h=e.opts.$data&&a&&a.$data;h?(n+=" var schema"+i+" = "+e.util.getData(a.$data,o,e.dataPathArr)+"; ",f="schema"+i):f=a;var p=e.opts.unknownFormats,d=Array.isArray(p);if(h)n+=" var "+(m="format"+i)+" = formats["+f+"]; var "+(v="isObject"+i)+" = typeof "+m+" == 'object' && !("+m+" instanceof RegExp) && "+m+".validate; var "+(g="formatType"+i)+" = "+v+" && "+m+".type || 'string'; if ("+v+") { ",e.async&&(n+=" var async"+i+" = "+m+".async; "),n+=" "+m+" = "+m+".validate; } if ( ",h&&(n+=" ("+f+" !== undefined && typeof "+f+" != 'string') || "),n+=" (","ignore"!=p&&(n+=" ("+f+" && !"+m+" ",d&&(n+=" && self._opts.unknownFormats.indexOf("+f+") == -1 "),n+=") || "),n+=" ("+m+" && "+g+" == '"+r+"' && !(typeof "+m+" == 'function' ? ",e.async?n+=" (async"+i+" ? await "+m+"("+u+") : "+m+"("+u+")) ":n+=" "+m+"("+u+") ",n+=" : "+m+".test("+u+"))))) {";else{var m;if(!(m=e.formats[a])){if("ignore"==p)return e.logger.warn('unknown format "'+a+'" ignored in schema at path "'+e.errSchemaPath+'"'),l&&(n+=" if (true) { "),n;if(d&&p.indexOf(a)>=0)return l&&(n+=" if (true) { "),n;throw new Error('unknown format "'+a+'" is used in schema at path "'+e.errSchemaPath+'"')}var v,g=(v="object"==typeof m&&!(m instanceof RegExp)&&m.validate)&&m.type||"string";if(v){var y=!0===m.async;m=m.validate}if(g!=r)return l&&(n+=" if (true) { "),n;if(y){if(!e.async)throw new Error("async format in sync schema");n+=" if (!(await "+(b="formats"+e.util.getProperty(a)+".validate")+"("+u+"))) { "}else{n+=" if (! ";var b="formats"+e.util.getProperty(a);v&&(b+=".validate"),n+="function"==typeof m?" "+b+"("+u+") ":" "+b+".test("+u+") ",n+=") { "}}var w=w||[];w.push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'format' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { format: ",n+=h?""+f:""+e.util.toQuotedString(a),n+=" } ",!1!==e.opts.messages&&(n+=" , message: 'should match format \"",n+=h?"' + "+f+" + '":""+e.util.escapeQuotes(a),n+="\"' "),e.opts.verbose&&(n+=" , schema: ",n+=h?"validate.schema"+s:""+e.util.toQuotedString(a),n+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),n+=" } "):n+=" {} ";var x=n;return n=w.pop(),!e.compositeRule&&l?e.async?n+=" throw new ValidationError(["+x+"]); ":n+=" validate.errors = ["+x+"]; return false; ":n+=" var err = "+x+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" } ",l&&(n+=" else { "),n},if:function(e,t,r){var n=" ",i=e.level,o=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,u="data"+(o||""),f="valid"+i,h="errs__"+i,p=e.util.copy(e);p.level++;var d="valid"+p.level,m=e.schema.then,v=e.schema.else,g=void 0!==m&&(e.opts.strictKeywords?"object"==typeof m&&Object.keys(m).length>0||!1===m:e.util.schemaHasRules(m,e.RULES.all)),y=void 0!==v&&(e.opts.strictKeywords?"object"==typeof v&&Object.keys(v).length>0||!1===v:e.util.schemaHasRules(v,e.RULES.all)),b=p.baseId;if(g||y){var w;p.createErrors=!1,p.schema=a,p.schemaPath=s,p.errSchemaPath=c,n+=" var "+h+" = errors; var "+f+" = true; ";var x=e.compositeRule;e.compositeRule=p.compositeRule=!0,n+=" "+e.validate(p)+" ",p.baseId=b,p.createErrors=!0,n+=" errors = "+h+"; if (vErrors !== null) { if ("+h+") vErrors.length = "+h+"; else vErrors = null; } ",e.compositeRule=p.compositeRule=x,g?(n+=" if ("+d+") { ",p.schema=e.schema.then,p.schemaPath=e.schemaPath+".then",p.errSchemaPath=e.errSchemaPath+"/then",n+=" "+e.validate(p)+" ",p.baseId=b,n+=" "+f+" = "+d+"; ",g&&y?n+=" var "+(w="ifClause"+i)+" = 'then'; ":w="'then'",n+=" } ",y&&(n+=" else { ")):n+=" if (!"+d+") { ",y&&(p.schema=e.schema.else,p.schemaPath=e.schemaPath+".else",p.errSchemaPath=e.errSchemaPath+"/else",n+=" "+e.validate(p)+" ",p.baseId=b,n+=" "+f+" = "+d+"; ",g&&y?n+=" var "+(w="ifClause"+i)+" = 'else'; ":w="'else'",n+=" } "),n+=" if (!"+f+") { var err = ",!1!==e.createErrors?(n+=" { keyword: 'if' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { failingKeyword: "+w+" } ",!1!==e.opts.messages&&(n+=" , message: 'should match \"' + "+w+" + '\" schema' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),n+=" } "):n+=" {} ",n+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&l&&(e.async?n+=" throw new ValidationError(vErrors); ":n+=" validate.errors = vErrors; return false; "),n+=" } ",l&&(n+=" else { ")}else l&&(n+=" if (true) { ");return n},items:function(e,t,r){var n=" ",i=e.level,o=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,u="data"+(o||""),f="valid"+i,h="errs__"+i,p=e.util.copy(e),d="";p.level++;var m="valid"+p.level,v="i"+i,g=p.dataLevel=e.dataLevel+1,y="data"+g,b=e.baseId;if(n+="var "+h+" = errors;var "+f+";",Array.isArray(a)){var w=e.schema.additionalItems;if(!1===w){n+=" "+f+" = "+u+".length <= "+a.length+"; ";var x=c;c=e.errSchemaPath+"/additionalItems",n+=" if (!"+f+") { ";var S=S||[];S.push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'additionalItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { limit: "+a.length+" } ",!1!==e.opts.messages&&(n+=" , message: 'should NOT have more than "+a.length+" items' "),e.opts.verbose&&(n+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),n+=" } "):n+=" {} ";var _=n;n=S.pop(),!e.compositeRule&&l?e.async?n+=" throw new ValidationError(["+_+"]); ":n+=" validate.errors = ["+_+"]; return false; ":n+=" var err = "+_+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" } ",c=x,l&&(d+="}",n+=" else { ")}var P=a;if(P)for(var E,k=-1,C=P.length-1;k<C;)if(E=P[k+=1],e.opts.strictKeywords?"object"==typeof E&&Object.keys(E).length>0||!1===E:e.util.schemaHasRules(E,e.RULES.all)){n+=" "+m+" = true; if ("+u+".length > "+k+") { ";var j=u+"["+k+"]";p.schema=E,p.schemaPath=s+"["+k+"]",p.errSchemaPath=c+"/"+k,p.errorPath=e.util.getPathExpr(e.errorPath,k,e.opts.jsonPointers,!0),p.dataPathArr[g]=k;var O=e.validate(p);p.baseId=b,e.util.varOccurences(O,y)<2?n+=" "+e.util.varReplace(O,y,j)+" ":n+=" var "+y+" = "+j+"; "+O+" ",n+=" } ",l&&(n+=" if ("+m+") { ",d+="}")}"object"==typeof w&&(e.opts.strictKeywords?"object"==typeof w&&Object.keys(w).length>0||!1===w:e.util.schemaHasRules(w,e.RULES.all))&&(p.schema=w,p.schemaPath=e.schemaPath+".additionalItems",p.errSchemaPath=e.errSchemaPath+"/additionalItems",n+=" "+m+" = true; if ("+u+".length > "+a.length+") { for (var "+v+" = "+a.length+"; "+v+" < "+u+".length; "+v+"++) { ",p.errorPath=e.util.getPathExpr(e.errorPath,v,e.opts.jsonPointers,!0),j=u+"["+v+"]",p.dataPathArr[g]=v,O=e.validate(p),p.baseId=b,e.util.varOccurences(O,y)<2?n+=" "+e.util.varReplace(O,y,j)+" ":n+=" var "+y+" = "+j+"; "+O+" ",l&&(n+=" if (!"+m+") break; "),n+=" } } ",l&&(n+=" if ("+m+") { ",d+="}"))}else(e.opts.strictKeywords?"object"==typeof a&&Object.keys(a).length>0||!1===a:e.util.schemaHasRules(a,e.RULES.all))&&(p.schema=a,p.schemaPath=s,p.errSchemaPath=c,n+=" for (var "+v+" = 0; "+v+" < "+u+".length; "+v+"++) { ",p.errorPath=e.util.getPathExpr(e.errorPath,v,e.opts.jsonPointers,!0),j=u+"["+v+"]",p.dataPathArr[g]=v,O=e.validate(p),p.baseId=b,e.util.varOccurences(O,y)<2?n+=" "+e.util.varReplace(O,y,j)+" ":n+=" var "+y+" = "+j+"; "+O+" ",l&&(n+=" if (!"+m+") break; "),n+=" }");return l&&(n+=" "+d+" if ("+h+" == errors) {"),n},maximum:We,minimum:We,maxItems:Ge,minItems:Ge,maxLength:Ke,minLength:Ke,maxProperties:Qe,minProperties:Qe,multipleOf:function(e,t,r){var n,i=" ",o=e.level,a=e.dataLevel,s=e.schema[t],c=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,f="data"+(a||""),h=e.opts.$data&&s&&s.$data;if(h?(i+=" var schema"+o+" = "+e.util.getData(s.$data,a,e.dataPathArr)+"; ",n="schema"+o):n=s,!h&&"number"!=typeof s)throw new Error(t+" must be number");i+="var division"+o+";if (",h&&(i+=" "+n+" !== undefined && ( typeof "+n+" != 'number' || "),i+=" (division"+o+" = "+f+" / "+n+", ",e.opts.multipleOfPrecision?i+=" Math.abs(Math.round(division"+o+") - division"+o+") > 1e-"+e.opts.multipleOfPrecision+" ":i+=" division"+o+" !== parseInt(division"+o+") ",i+=" ) ",h&&(i+=" ) "),i+=" ) { ";var p=p||[];p.push(i),i="",!1!==e.createErrors?(i+=" { keyword: 'multipleOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { multipleOf: "+n+" } ",!1!==e.opts.messages&&(i+=" , message: 'should be multiple of ",i+=h?"' + "+n:n+"'"),e.opts.verbose&&(i+=" , schema: ",i+=h?"validate.schema"+c:""+s,i+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),i+=" } "):i+=" {} ";var d=i;return i=p.pop(),!e.compositeRule&&u?e.async?i+=" throw new ValidationError(["+d+"]); ":i+=" validate.errors = ["+d+"]; return false; ":i+=" var err = "+d+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+="} ",u&&(i+=" else { "),i},not:function(e,t,r){var n=" ",i=e.level,o=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,u="data"+(o||""),f="errs__"+i,h=e.util.copy(e);h.level++;var p="valid"+h.level;if(e.opts.strictKeywords?"object"==typeof a&&Object.keys(a).length>0||!1===a:e.util.schemaHasRules(a,e.RULES.all)){h.schema=a,h.schemaPath=s,h.errSchemaPath=c,n+=" var "+f+" = errors; ";var d,m=e.compositeRule;e.compositeRule=h.compositeRule=!0,h.createErrors=!1,h.opts.allErrors&&(d=h.opts.allErrors,h.opts.allErrors=!1),n+=" "+e.validate(h)+" ",h.createErrors=!0,d&&(h.opts.allErrors=d),e.compositeRule=h.compositeRule=m,n+=" if ("+p+") { ";var v=v||[];v.push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: {} ",!1!==e.opts.messages&&(n+=" , message: 'should NOT be valid' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),n+=" } "):n+=" {} ";var g=n;n=v.pop(),!e.compositeRule&&l?e.async?n+=" throw new ValidationError(["+g+"]); ":n+=" validate.errors = ["+g+"]; return false; ":n+=" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" } else { errors = "+f+"; if (vErrors !== null) { if ("+f+") vErrors.length = "+f+"; else vErrors = null; } ",e.opts.allErrors&&(n+=" } ")}else n+=" var err = ",!1!==e.createErrors?(n+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: {} ",!1!==e.opts.messages&&(n+=" , message: 'should NOT be valid' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),n+=" } "):n+=" {} ",n+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",l&&(n+=" if (false) { ");return n},oneOf:function(e,t,r){var n=" ",i=e.level,o=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,u="data"+(o||""),f="valid"+i,h="errs__"+i,p=e.util.copy(e),d="";p.level++;var m="valid"+p.level,v=p.baseId,g="prevValid"+i,y="passingSchemas"+i;n+="var "+h+" = errors , "+g+" = false , "+f+" = false , "+y+" = null; ";var b=e.compositeRule;e.compositeRule=p.compositeRule=!0;var w=a;if(w)for(var x,S=-1,_=w.length-1;S<_;)x=w[S+=1],(e.opts.strictKeywords?"object"==typeof x&&Object.keys(x).length>0||!1===x:e.util.schemaHasRules(x,e.RULES.all))?(p.schema=x,p.schemaPath=s+"["+S+"]",p.errSchemaPath=c+"/"+S,n+=" "+e.validate(p)+" ",p.baseId=v):n+=" var "+m+" = true; ",S&&(n+=" if ("+m+" && "+g+") { "+f+" = false; "+y+" = ["+y+", "+S+"]; } else { ",d+="}"),n+=" if ("+m+") { "+f+" = "+g+" = true; "+y+" = "+S+"; }";return e.compositeRule=p.compositeRule=b,n+=d+"if (!"+f+") { var err = ",!1!==e.createErrors?(n+=" { keyword: 'oneOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { passingSchemas: "+y+" } ",!1!==e.opts.messages&&(n+=" , message: 'should match exactly one schema in oneOf' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),n+=" } "):n+=" {} ",n+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&l&&(e.async?n+=" throw new ValidationError(vErrors); ":n+=" validate.errors = vErrors; return false; "),n+="} else { errors = "+h+"; if (vErrors !== null) { if ("+h+") vErrors.length = "+h+"; else vErrors = null; }",e.opts.allErrors&&(n+=" } "),n},pattern:function(e,t,r){var n,i=" ",o=e.level,a=e.dataLevel,s=e.schema[t],c=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,f="data"+(a||""),h=e.opts.$data&&s&&s.$data;h?(i+=" var schema"+o+" = "+e.util.getData(s.$data,a,e.dataPathArr)+"; ",n="schema"+o):n=s,i+="if ( ",h&&(i+=" ("+n+" !== undefined && typeof "+n+" != 'string') || "),i+=" !"+(h?"(new RegExp("+n+"))":e.usePattern(s))+".test("+f+") ) { ";var p=p||[];p.push(i),i="",!1!==e.createErrors?(i+=" { keyword: 'pattern' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { pattern: ",i+=h?""+n:""+e.util.toQuotedString(s),i+=" } ",!1!==e.opts.messages&&(i+=" , message: 'should match pattern \"",i+=h?"' + "+n+" + '":""+e.util.escapeQuotes(s),i+="\"' "),e.opts.verbose&&(i+=" , schema: ",i+=h?"validate.schema"+c:""+e.util.toQuotedString(s),i+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),i+=" } "):i+=" {} ";var d=i;return i=p.pop(),!e.compositeRule&&u?e.async?i+=" throw new ValidationError(["+d+"]); ":i+=" validate.errors = ["+d+"]; return false; ":i+=" var err = "+d+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+="} ",u&&(i+=" else { "),i},properties:function(e,t,r){var n=" ",i=e.level,o=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,u="data"+(o||""),f="errs__"+i,h=e.util.copy(e),p="";h.level++;var d="valid"+h.level,m="key"+i,v="idx"+i,g=h.dataLevel=e.dataLevel+1,y="data"+g,b="dataProperties"+i,w=Object.keys(a||{}).filter(F),x=e.schema.patternProperties||{},S=Object.keys(x).filter(F),_=e.schema.additionalProperties,P=w.length||S.length,E=!1===_,k="object"==typeof _&&Object.keys(_).length,C=e.opts.removeAdditional,j=E||k||C,O=e.opts.ownProperties,I=e.baseId,A=e.schema.required;if(A&&(!e.opts.$data||!A.$data)&&A.length<e.opts.loopRequired)var R=e.util.toHash(A);function F(e){return"__proto__"!==e}if(n+="var "+f+" = errors;var "+d+" = true;",O&&(n+=" var "+b+" = undefined;"),j){if(n+=O?" "+b+" = "+b+" || Object.keys("+u+"); for (var "+v+"=0; "+v+"<"+b+".length; "+v+"++) { var "+m+" = "+b+"["+v+"]; ":" for (var "+m+" in "+u+") { ",P){if(n+=" var isAdditional"+i+" = !(false ",w.length)if(w.length>8)n+=" || validate.schema"+s+".hasOwnProperty("+m+") ";else{var D=w;if(D)for(var $=-1,L=D.length-1;$<L;)Q=D[$+=1],n+=" || "+m+" == "+e.util.toQuotedString(Q)+" "}if(S.length){var M=S;if(M)for(var T=-1,N=M.length-1;T<N;)oe=M[T+=1],n+=" || "+e.usePattern(oe)+".test("+m+") "}n+=" ); if (isAdditional"+i+") { "}if("all"==C)n+=" delete "+u+"["+m+"]; ";else{var z=e.errorPath,V="' + "+m+" + '";if(e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers)),E)if(C)n+=" delete "+u+"["+m+"]; ";else{n+=" "+d+" = false; ";var B=c;c=e.errSchemaPath+"/additionalProperties",(re=re||[]).push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'additionalProperties' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { additionalProperty: '"+V+"' } ",!1!==e.opts.messages&&(n+=" , message: '",e.opts._errorDataPathProperty?n+="is an invalid additional property":n+="should NOT have additional properties",n+="' "),e.opts.verbose&&(n+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),n+=" } "):n+=" {} ";var U=n;n=re.pop(),!e.compositeRule&&l?e.async?n+=" throw new ValidationError(["+U+"]); ":n+=" validate.errors = ["+U+"]; return false; ":n+=" var err = "+U+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",c=B,l&&(n+=" break; ")}else if(k)if("failing"==C){n+=" var "+f+" = errors; ";var q=e.compositeRule;e.compositeRule=h.compositeRule=!0,h.schema=_,h.schemaPath=e.schemaPath+".additionalProperties",h.errSchemaPath=e.errSchemaPath+"/additionalProperties",h.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers);var H=u+"["+m+"]";h.dataPathArr[g]=m;var W=e.validate(h);h.baseId=I,e.util.varOccurences(W,y)<2?n+=" "+e.util.varReplace(W,y,H)+" ":n+=" var "+y+" = "+H+"; "+W+" ",n+=" if (!"+d+") { errors = "+f+"; if (validate.errors !== null) { if (errors) validate.errors.length = errors; else validate.errors = null; } delete "+u+"["+m+"]; } ",e.compositeRule=h.compositeRule=q}else h.schema=_,h.schemaPath=e.schemaPath+".additionalProperties",h.errSchemaPath=e.errSchemaPath+"/additionalProperties",h.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers),H=u+"["+m+"]",h.dataPathArr[g]=m,W=e.validate(h),h.baseId=I,e.util.varOccurences(W,y)<2?n+=" "+e.util.varReplace(W,y,H)+" ":n+=" var "+y+" = "+H+"; "+W+" ",l&&(n+=" if (!"+d+") break; ");e.errorPath=z}P&&(n+=" } "),n+=" } ",l&&(n+=" if ("+d+") { ",p+="}")}var G=e.opts.useDefaults&&!e.compositeRule;if(w.length){var K=w;if(K)for(var Q,J=-1,Y=K.length-1;J<Y;){var X=a[Q=K[J+=1]];if(e.opts.strictKeywords?"object"==typeof X&&Object.keys(X).length>0||!1===X:e.util.schemaHasRules(X,e.RULES.all)){var Z=e.util.getProperty(Q),ee=(H=u+Z,G&&void 0!==X.default);if(h.schema=X,h.schemaPath=s+Z,h.errSchemaPath=c+"/"+e.util.escapeFragment(Q),h.errorPath=e.util.getPath(e.errorPath,Q,e.opts.jsonPointers),h.dataPathArr[g]=e.util.toQuotedString(Q),W=e.validate(h),h.baseId=I,e.util.varOccurences(W,y)<2){W=e.util.varReplace(W,y,H);var te=H}else te=y,n+=" var "+y+" = "+H+"; ";if(ee)n+=" "+W+" ";else{if(R&&R[Q]){n+=" if ( "+te+" === undefined ",O&&(n+=" || ! Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(Q)+"') "),n+=") { "+d+" = false; ",z=e.errorPath,B=c;var re,ne=e.util.escapeQuotes(Q);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(z,Q,e.opts.jsonPointers)),c=e.errSchemaPath+"/required",(re=re||[]).push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { missingProperty: '"+ne+"' } ",!1!==e.opts.messages&&(n+=" , message: '",e.opts._errorDataPathProperty?n+="is a required property":n+="should have required property \\'"+ne+"\\'",n+="' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),n+=" } "):n+=" {} ",U=n,n=re.pop(),!e.compositeRule&&l?e.async?n+=" throw new ValidationError(["+U+"]); ":n+=" validate.errors = ["+U+"]; return false; ":n+=" var err = "+U+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",c=B,e.errorPath=z,n+=" } else { "}else l?(n+=" if ( "+te+" === undefined ",O&&(n+=" || ! Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(Q)+"') "),n+=") { "+d+" = true; } else { "):(n+=" if ("+te+" !== undefined ",O&&(n+=" && Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(Q)+"') "),n+=" ) { ");n+=" "+W+" } "}}l&&(n+=" if ("+d+") { ",p+="}")}}if(S.length){var ie=S;if(ie)for(var oe,ae=-1,se=ie.length-1;ae<se;)X=x[oe=ie[ae+=1]],(e.opts.strictKeywords?"object"==typeof X&&Object.keys(X).length>0||!1===X:e.util.schemaHasRules(X,e.RULES.all))&&(h.schema=X,h.schemaPath=e.schemaPath+".patternProperties"+e.util.getProperty(oe),h.errSchemaPath=e.errSchemaPath+"/patternProperties/"+e.util.escapeFragment(oe),n+=O?" "+b+" = "+b+" || Object.keys("+u+"); for (var "+v+"=0; "+v+"<"+b+".length; "+v+"++) { var "+m+" = "+b+"["+v+"]; ":" for (var "+m+" in "+u+") { ",n+=" if ("+e.usePattern(oe)+".test("+m+")) { ",h.errorPath=e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers),H=u+"["+m+"]",h.dataPathArr[g]=m,W=e.validate(h),h.baseId=I,e.util.varOccurences(W,y)<2?n+=" "+e.util.varReplace(W,y,H)+" ":n+=" var "+y+" = "+H+"; "+W+" ",l&&(n+=" if (!"+d+") break; "),n+=" } ",l&&(n+=" else "+d+" = true; "),n+=" } ",l&&(n+=" if ("+d+") { ",p+="}"))}return l&&(n+=" "+p+" if ("+f+" == errors) {"),n},propertyNames:function(e,t,r){var n=" ",i=e.level,o=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,u="data"+(o||""),f="errs__"+i,h=e.util.copy(e);h.level++;var p="valid"+h.level;if(n+="var "+f+" = errors;",e.opts.strictKeywords?"object"==typeof a&&Object.keys(a).length>0||!1===a:e.util.schemaHasRules(a,e.RULES.all)){h.schema=a,h.schemaPath=s,h.errSchemaPath=c;var d="key"+i,m="idx"+i,v="i"+i,g="' + "+d+" + '",y="data"+(h.dataLevel=e.dataLevel+1),b="dataProperties"+i,w=e.opts.ownProperties,x=e.baseId;w&&(n+=" var "+b+" = undefined; "),n+=w?" "+b+" = "+b+" || Object.keys("+u+"); for (var "+m+"=0; "+m+"<"+b+".length; "+m+"++) { var "+d+" = "+b+"["+m+"]; ":" for (var "+d+" in "+u+") { ",n+=" var startErrs"+i+" = errors; ";var S=d,_=e.compositeRule;e.compositeRule=h.compositeRule=!0;var P=e.validate(h);h.baseId=x,e.util.varOccurences(P,y)<2?n+=" "+e.util.varReplace(P,y,S)+" ":n+=" var "+y+" = "+S+"; "+P+" ",e.compositeRule=h.compositeRule=_,n+=" if (!"+p+") { for (var "+v+"=startErrs"+i+"; "+v+"<errors; "+v+"++) { vErrors["+v+"].propertyName = "+d+"; } var err = ",!1!==e.createErrors?(n+=" { keyword: 'propertyNames' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { propertyName: '"+g+"' } ",!1!==e.opts.messages&&(n+=" , message: 'property name \\'"+g+"\\' is invalid' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),n+=" } "):n+=" {} ",n+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&l&&(e.async?n+=" throw new ValidationError(vErrors); ":n+=" validate.errors = vErrors; return false; "),l&&(n+=" break; "),n+=" } }"}return l&&(n+=" if ("+f+" == errors) {"),n},required:function(e,t,r){var n=" ",i=e.level,o=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,u="data"+(o||""),f="valid"+i,h=e.opts.$data&&a&&a.$data;h&&(n+=" var schema"+i+" = "+e.util.getData(a.$data,o,e.dataPathArr)+"; ");var p="schema"+i;if(!h)if(a.length<e.opts.loopRequired&&e.schema.properties&&Object.keys(e.schema.properties).length){var d=[],m=a;if(m)for(var v,g=-1,y=m.length-1;g<y;){v=m[g+=1];var b=e.schema.properties[v];b&&(e.opts.strictKeywords?"object"==typeof b&&Object.keys(b).length>0||!1===b:e.util.schemaHasRules(b,e.RULES.all))||(d[d.length]=v)}}else d=a;if(h||d.length){var w=e.errorPath,x=h||d.length>=e.opts.loopRequired,S=e.opts.ownProperties;if(l)if(n+=" var missing"+i+"; ",x){h||(n+=" var "+p+" = validate.schema"+s+"; ");var _="' + "+(O="schema"+i+"["+(C="i"+i)+"]")+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(w,O,e.opts.jsonPointers)),n+=" var "+f+" = true; ",h&&(n+=" if (schema"+i+" === undefined) "+f+" = true; else if (!Array.isArray(schema"+i+")) "+f+" = false; else {"),n+=" for (var "+C+" = 0; "+C+" < "+p+".length; "+C+"++) { "+f+" = "+u+"["+p+"["+C+"]] !== undefined ",S&&(n+=" && Object.prototype.hasOwnProperty.call("+u+", "+p+"["+C+"]) "),n+="; if (!"+f+") break; } ",h&&(n+=" } "),n+=" if (!"+f+") { ",(E=E||[]).push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { missingProperty: '"+_+"' } ",!1!==e.opts.messages&&(n+=" , message: '",e.opts._errorDataPathProperty?n+="is a required property":n+="should have required property \\'"+_+"\\'",n+="' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),n+=" } "):n+=" {} ";var P=n;n=E.pop(),!e.compositeRule&&l?e.async?n+=" throw new ValidationError(["+P+"]); ":n+=" validate.errors = ["+P+"]; return false; ":n+=" var err = "+P+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" } else { "}else{n+=" if ( ";var E,k=d;if(k)for(var C=-1,j=k.length-1;C<j;)A=k[C+=1],C&&(n+=" || "),n+=" ( ( "+($=u+(D=e.util.getProperty(A)))+" === undefined ",S&&(n+=" || ! Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(A)+"') "),n+=") && (missing"+i+" = "+e.util.toQuotedString(e.opts.jsonPointers?A:D)+") ) ";n+=") { ",_="' + "+(O="missing"+i)+" + '",e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(w,O,!0):w+" + "+O),(E=E||[]).push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { missingProperty: '"+_+"' } ",!1!==e.opts.messages&&(n+=" , message: '",e.opts._errorDataPathProperty?n+="is a required property":n+="should have required property \\'"+_+"\\'",n+="' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),n+=" } "):n+=" {} ",P=n,n=E.pop(),!e.compositeRule&&l?e.async?n+=" throw new ValidationError(["+P+"]); ":n+=" validate.errors = ["+P+"]; return false; ":n+=" var err = "+P+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" } else { "}else if(x){var O;h||(n+=" var "+p+" = validate.schema"+s+"; "),_="' + "+(O="schema"+i+"["+(C="i"+i)+"]")+" + '",e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(w,O,e.opts.jsonPointers)),h&&(n+=" if ("+p+" && !Array.isArray("+p+")) { var err = ",!1!==e.createErrors?(n+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { missingProperty: '"+_+"' } ",!1!==e.opts.messages&&(n+=" , message: '",e.opts._errorDataPathProperty?n+="is a required property":n+="should have required property \\'"+_+"\\'",n+="' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),n+=" } "):n+=" {} ",n+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } else if ("+p+" !== undefined) { "),n+=" for (var "+C+" = 0; "+C+" < "+p+".length; "+C+"++) { if ("+u+"["+p+"["+C+"]] === undefined ",S&&(n+=" || ! Object.prototype.hasOwnProperty.call("+u+", "+p+"["+C+"]) "),n+=") { var err = ",!1!==e.createErrors?(n+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { missingProperty: '"+_+"' } ",!1!==e.opts.messages&&(n+=" , message: '",e.opts._errorDataPathProperty?n+="is a required property":n+="should have required property \\'"+_+"\\'",n+="' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),n+=" } "):n+=" {} ",n+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } } ",h&&(n+=" } ")}else{var I=d;if(I)for(var A,R=-1,F=I.length-1;R<F;){A=I[R+=1];var D=e.util.getProperty(A),$=(_=e.util.escapeQuotes(A),u+D);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(w,A,e.opts.jsonPointers)),n+=" if ( "+$+" === undefined ",S&&(n+=" || ! Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(A)+"') "),n+=") { var err = ",!1!==e.createErrors?(n+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { missingProperty: '"+_+"' } ",!1!==e.opts.messages&&(n+=" , message: '",e.opts._errorDataPathProperty?n+="is a required property":n+="should have required property \\'"+_+"\\'",n+="' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),n+=" } "):n+=" {} ",n+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}e.errorPath=w}else l&&(n+=" if (true) {");return n},uniqueItems:function(e,t,r){var n,i=" ",o=e.level,a=e.dataLevel,s=e.schema[t],c=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,f="data"+(a||""),h="valid"+o,p=e.opts.$data&&s&&s.$data;if(p?(i+=" var schema"+o+" = "+e.util.getData(s.$data,a,e.dataPathArr)+"; ",n="schema"+o):n=s,(s||p)&&!1!==e.opts.uniqueItems){p&&(i+=" var "+h+"; if ("+n+" === false || "+n+" === undefined) "+h+" = true; else if (typeof "+n+" != 'boolean') "+h+" = false; else { "),i+=" var i = "+f+".length , "+h+" = true , j; if (i > 1) { ";var d=e.schema.items&&e.schema.items.type,m=Array.isArray(d);if(!d||"object"==d||"array"==d||m&&(d.indexOf("object")>=0||d.indexOf("array")>=0))i+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+f+"[i], "+f+"[j])) { "+h+" = false; break outer; } } } ";else{i+=" var itemIndices = {}, item; for (;i--;) { var item = "+f+"[i]; ";var v="checkDataType"+(m?"s":"");i+=" if ("+e.util[v](d,"item",e.opts.strictNumbers,!0)+") continue; ",m&&(i+=" if (typeof item == 'string') item = '\"' + item; "),i+=" if (typeof itemIndices[item] == 'number') { "+h+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}i+=" } ",p&&(i+=" } "),i+=" if (!"+h+") { ";var g=g||[];g.push(i),i="",!1!==e.createErrors?(i+=" { keyword: 'uniqueItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { i: i, j: j } ",!1!==e.opts.messages&&(i+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "),e.opts.verbose&&(i+=" , schema: ",i+=p?"validate.schema"+c:""+s,i+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),i+=" } "):i+=" {} ";var y=i;i=g.pop(),!e.compositeRule&&u?e.async?i+=" throw new ValidationError(["+y+"]); ":i+=" validate.errors = ["+y+"]; return false; ":i+=" var err = "+y+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } ",u&&(i+=" else { ")}else u&&(i+=" if (true) { ");return i},validate:de},Ye=$.toHash,Xe=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"],Ze=function(e,t){for(var r=0;r<t.length;r++){e=JSON.parse(JSON.stringify(e));var n,i=t[r].split("/"),o=e;for(n=1;n<i.length;n++)o=o[i[n]];for(n=0;n<Xe.length;n++){var a=Xe[n],s=o[a];s&&(o[a]={anyOf:[s,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]})}}return e},et=ue.MissingRef,tt=function e(t,r,n){var i=this;if("function"!=typeof this._opts.loadSchema)throw new Error("options.loadSchema should be a function");"function"==typeof r&&(n=r,r=void 0);var o=a(t).then((function(){var e=i._addSchema(t,void 0,r);return e.validate||function e(t){try{return i._compile(t)}catch(e){if(e instanceof et)return n(e);throw e}function n(n){var o=n.missingSchema;if(l(o))throw new Error("Schema "+o+" is loaded but "+n.missingRef+" cannot be resolved");var s=i._loadingSchemas[o];return s||(s=i._loadingSchemas[o]=i._opts.loadSchema(o)).then(c,c),s.then((function(e){if(!l(o))return a(e).then((function(){l(o)||i.addSchema(e,o,void 0,r)}))})).then((function(){return e(t)}));function c(){delete i._loadingSchemas[o]}function l(e){return i._refs[e]||i._schemas[e]}}}(e)}));return n&&o.then((function(e){n(null,e)}),n),o;function a(t){var r=t.$schema;return r&&!i.getSchema(r)?e.call(i,{$ref:r},!0):Promise.resolve()}},rt=function(e,t,r){var n,i,o=" ",a=e.level,s=e.dataLevel,c=e.schema[t],l=e.schemaPath+e.util.getProperty(t),u=e.errSchemaPath+"/"+t,f=!e.opts.allErrors,h="data"+(s||""),p="valid"+a,d="errs__"+a,m=e.opts.$data&&c&&c.$data;m?(o+=" var schema"+a+" = "+e.util.getData(c.$data,s,e.dataPathArr)+"; ",i="schema"+a):i=c;var v,g,y,b,w,x="definition"+a,S=this.definition,_="";if(m&&S.$data){w="keywordValidate"+a;var P=S.validateSchema;o+=" var "+x+" = RULES.custom['"+t+"'].definition; var "+w+" = "+x+".validate;"}else{if(!(b=e.useCustomRule(this,c,e.schema,e)))return;i="validate.schema"+l,w=b.code,v=S.compile,g=S.inline,y=S.macro}var E=w+".errors",k="i"+a,C="ruleErr"+a,j=S.async;if(j&&!e.async)throw new Error("async keyword in sync schema");if(g||y||(o+=E+" = null;"),o+="var "+d+" = errors;var "+p+";",m&&S.$data&&(_+="}",o+=" if ("+i+" === undefined) { "+p+" = true; } else { ",P&&(_+="}",o+=" "+p+" = "+x+".validateSchema("+i+"); if ("+p+") { ")),g)S.statements?o+=" "+b.validate+" ":o+=" "+p+" = "+b.validate+"; ";else if(y){var O=e.util.copy(e);_="",O.level++;var I="valid"+O.level;O.schema=b.validate,O.schemaPath="";var A=e.compositeRule;e.compositeRule=O.compositeRule=!0;var R=e.validate(O).replace(/validate\.schema/g,w);e.compositeRule=O.compositeRule=A,o+=" "+R}else{(L=L||[]).push(o),o="",o+=" "+w+".call( ",e.opts.passContext?o+="this":o+="self",v||!1===S.schema?o+=" , "+h+" ":o+=" , "+i+" , "+h+" , validate.schema"+e.schemaPath+" ",o+=" , (dataPath || '')",'""'!=e.errorPath&&(o+=" + "+e.errorPath);var F=s?"data"+(s-1||""):"parentData",D=s?e.dataPathArr[s]:"parentDataProperty",$=o+=" , "+F+" , "+D+" , rootData ) ";o=L.pop(),!1===S.errors?(o+=" "+p+" = ",j&&(o+="await "),o+=$+"; "):o+=j?" var "+(E="customErrors"+a)+" = null; try { "+p+" = await "+$+"; } catch (e) { "+p+" = false; if (e instanceof ValidationError) "+E+" = e.errors; else throw e; } ":" "+E+" = null; "+p+" = "+$+"; "}if(S.modifying&&(o+=" if ("+F+") "+h+" = "+F+"["+D+"];"),o+=""+_,S.valid)f&&(o+=" if (true) { ");else{var L;o+=" if ( ",void 0===S.valid?(o+=" !",o+=y?""+I:""+p):o+=" "+!S.valid+" ",o+=") { ",n=this.keyword,(L=L||[]).push(o),o="",(L=L||[]).push(o),o="",!1!==e.createErrors?(o+=" { keyword: '"+(n||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { keyword: '"+this.keyword+"' } ",!1!==e.opts.messages&&(o+=" , message: 'should pass \""+this.keyword+"\" keyword validation' "),e.opts.verbose&&(o+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+h+" "),o+=" } "):o+=" {} ";var M=o;o=L.pop(),!e.compositeRule&&f?e.async?o+=" throw new ValidationError(["+M+"]); ":o+=" validate.errors = ["+M+"]; return false; ":o+=" var err = "+M+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";var T=o;o=L.pop(),g?S.errors?"full"!=S.errors&&(o+=" for (var "+k+"="+d+"; "+k+"<errors; "+k+"++) { var "+C+" = vErrors["+k+"]; if ("+C+".dataPath === undefined) "+C+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+C+".schemaPath === undefined) { "+C+'.schemaPath = "'+u+'"; } ',e.opts.verbose&&(o+=" "+C+".schema = "+i+"; "+C+".data = "+h+"; "),o+=" } "):!1===S.errors?o+=" "+T+" ":(o+=" if ("+d+" == errors) { "+T+" } else { for (var "+k+"="+d+"; "+k+"<errors; "+k+"++) { var "+C+" = vErrors["+k+"]; if ("+C+".dataPath === undefined) "+C+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+C+".schemaPath === undefined) { "+C+'.schemaPath = "'+u+'"; } ',e.opts.verbose&&(o+=" "+C+".schema = "+i+"; "+C+".data = "+h+"; "),o+=" } } "):y?(o+=" var err = ",!1!==e.createErrors?(o+=" { keyword: '"+(n||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { keyword: '"+this.keyword+"' } ",!1!==e.opts.messages&&(o+=" , message: 'should pass \""+this.keyword+"\" keyword validation' "),e.opts.verbose&&(o+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+h+" "),o+=" } "):o+=" {} ",o+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&f&&(e.async?o+=" throw new ValidationError(vErrors); ":o+=" validate.errors = vErrors; return false; ")):!1===S.errors?o+=" "+T+" ":(o+=" if (Array.isArray("+E+")) { if (vErrors === null) vErrors = "+E+"; else vErrors = vErrors.concat("+E+"); errors = vErrors.length; for (var "+k+"="+d+"; "+k+"<errors; "+k+"++) { var "+C+" = vErrors["+k+"]; if ("+C+".dataPath === undefined) "+C+".dataPath = (dataPath || '') + "+e.errorPath+"; "+C+'.schemaPath = "'+u+'"; ',e.opts.verbose&&(o+=" "+C+".schema = "+i+"; "+C+".data = "+h+"; "),o+=" } } else { "+T+" } "),o+=" } ",f&&(o+=" else { ")}return o},nt="http://json-schema.org/draft-07/schema#",it="http://json-schema.org/draft-07/schema#",ot="Core schema meta-schema",at={schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},st=["object","boolean"],ct={$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},lt={$schema:nt,$id:it,title:ot,definitions:at,type:st,properties:ct,default:!0},ut=A(Object.freeze({__proto__:null,$schema:nt,$id:it,title:ot,definitions:at,type:st,properties:ct,default:lt})),ft={$id:"https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js",definitions:{simpleTypes:ut.definitions.simpleTypes},type:"object",dependencies:{schema:["validate"],$data:["validate"],statements:["inline"],valid:{not:{required:["macro"]}}},properties:{type:ut.properties.type,schema:{type:"boolean"},statements:{type:"boolean"},dependencies:{type:"array",items:{type:"string"}},metaSchema:{type:"object"},modifying:{type:"boolean"},valid:{type:"boolean"},$data:{type:"boolean"},async:{type:"boolean"},errors:{anyOf:[{type:"boolean"},{const:"full"}]}}},ht=/^[a-z_$][a-z0-9_$-]*$/i,pt=function(e,t){var r=this.RULES;if(r.keywords[e])throw new Error("Keyword "+e+" is already defined");if(!ht.test(e))throw new Error("Keyword "+e+" is not a valid identifier");if(t){this.validateKeyword(t,!0);var n=t.type;if(Array.isArray(n))for(var i=0;i<n.length;i++)a(e,n[i],t);else a(e,n,t);var o=t.metaSchema;o&&(t.$data&&this._opts.$data&&(o={anyOf:[o,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]}),t.validateSchema=this.compile(o,!0))}function a(e,t,n){for(var i,o=0;o<r.length;o++){var a=r[o];if(a.type==t){i=a;break}}i||(i={type:t,rules:[]},r.push(i));var s={keyword:e,definition:n,custom:!0,code:rt,implements:n.implements};i.rules.push(s),r.custom[e]=s}return r.keywords[e]=r.all[e]=!0,this},dt=function(e){var t=this.RULES.custom[e];return t?t.definition:this.RULES.keywords[e]||!1},mt=function(e){var t=this.RULES;delete t.keywords[e],delete t.all[e],delete t.custom[e];for(var r=0;r<t.length;r++)for(var n=t[r].rules,i=0;i<n.length;i++)if(n[i].keyword==e){n.splice(i,1);break}return this},vt=function e(t,r){e.errors=null;var n=this._validateKeyword=this._validateKeyword||this.compile(ft,!0);if(n(t))return!0;if(e.errors=n.errors,r)throw new Error("custom keyword definition is invalid: "+this.errorsText(n.errors));return!1},gt="http://json-schema.org/draft-07/schema#",yt="https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",bt="Meta-schema for $data reference (JSON Schema extension proposal)",wt=["$data"],xt={$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},St={$schema:gt,$id:yt,description:bt,type:"object",required:wt,properties:xt,additionalProperties:!1},_t=A(Object.freeze({__proto__:null,$schema:gt,$id:yt,description:bt,type:"object",required:wt,properties:xt,additionalProperties:!1,default:St})),Pt=jt;jt.prototype.validate=function(e,t){var r;if("string"==typeof e){if(!(r=this.getSchema(e)))throw new Error('no schema with key or ref "'+e+'"')}else{var n=this._addSchema(e);r=n.validate||this._compile(n)}var i=r(t);return!0!==r.$async&&(this.errors=r.errors),i},jt.prototype.compile=function(e,t){var r=this._addSchema(e,void 0,t);return r.validate||this._compile(r)},jt.prototype.addSchema=function(e,t,r,n){if(Array.isArray(e)){for(var i=0;i<e.length;i++)this.addSchema(e[i],void 0,r,n);return this}var o=this._getId(e);if(void 0!==o&&"string"!=typeof o)throw new Error("schema id must be string");return Dt(this,t=Y.normalizeId(t||o)),this._schemas[t]=this._addSchema(e,r,n,!0),this},jt.prototype.addMetaSchema=function(e,t,r){return this.addSchema(e,t,r,!0),this},jt.prototype.validateSchema=function(e,t){var r=e.$schema;if(void 0!==r&&"string"!=typeof r)throw new Error("$schema must be a string");if(!(r=r||this._opts.defaultMeta||function(e){var t=e._opts.meta;return e._opts.defaultMeta="object"==typeof t?e._getId(t)||t:e.getSchema(Et)?Et:void 0,e._opts.defaultMeta}(this)))return this.logger.warn("meta-schema not available"),this.errors=null,!0;var n=this.validate(r,e);if(!n&&t){var i="schema is invalid: "+this.errorsText();if("log"!=this._opts.validateSchema)throw new Error(i);this.logger.error(i)}return n},jt.prototype.getSchema=function(e){var t=Ot(this,e);switch(typeof t){case"object":return t.validate||this._compile(t);case"string":return this.getSchema(t);case"undefined":return function(e,t){var r=Y.schema.call(e,{schema:{}},t);if(r){var n=r.schema,i=r.root,o=r.baseId,a=ge.call(e,n,i,void 0,o);return e._fragments[t]=new Q({ref:t,fragment:!0,schema:n,root:i,baseId:o,validate:a}),a}}(this,e)}},jt.prototype.removeSchema=function(e){if(e instanceof RegExp)return It(this,this._schemas,e),It(this,this._refs,e),this;switch(typeof e){case"undefined":return It(this,this._schemas),It(this,this._refs),this._cache.clear(),this;case"string":var t=Ot(this,e);return t&&this._cache.del(t.cacheKey),delete this._schemas[e],delete this._refs[e],this;case"object":var r=this._opts.serialize,n=r?r(e):e;this._cache.del(n);var i=this._getId(e);i&&(i=Y.normalizeId(i),delete this._schemas[i],delete this._refs[i])}return this},jt.prototype.addFormat=function(e,t){return"string"==typeof t&&(t=new RegExp(t)),this._formats[e]=t,this},jt.prototype.errorsText=function(e,t){if(!(e=e||this.errors))return"No errors";for(var r=void 0===(t=t||{}).separator?", ":t.separator,n=void 0===t.dataVar?"data":t.dataVar,i="",o=0;o<e.length;o++){var a=e[o];a&&(i+=n+a.dataPath+" "+a.message+r)}return i.slice(0,-r.length)},jt.prototype._addSchema=function(e,t,r,n){if("object"!=typeof e&&"boolean"!=typeof e)throw new Error("schema should be object or boolean");var i=this._opts.serialize,o=i?i(e):e,a=this._cache.get(o);if(a)return a;n=n||!1!==this._opts.addUsedSchema;var s=Y.normalizeId(this._getId(e));s&&n&&Dt(this,s);var c,l=!1!==this._opts.validateSchema&&!t;l&&!(c=s&&s==Y.normalizeId(e.$schema))&&this.validateSchema(e,!0);var u=Y.ids.call(this,e),f=new Q({id:s,schema:e,localRefs:u,cacheKey:o,meta:r});return"#"!=s[0]&&n&&(this._refs[s]=f),this._cache.put(o,f),l&&c&&this.validateSchema(e,!0),f},jt.prototype._compile=function(e,t){if(e.compiling)return e.validate=i,i.schema=e.schema,i.errors=null,i.root=t||i,!0===e.schema.$async&&(i.$async=!0),i;var r,n;e.compiling=!0,e.meta&&(r=this._opts,this._opts=this._metaOpts);try{n=ge.call(this,e.schema,t,e.localRefs)}catch(t){throw delete e.validate,t}finally{e.compiling=!1,e.meta&&(this._opts=r)}return e.validate=n,e.refs=n.refs,e.refVal=n.refVal,e.root=n.root,n;function i(){var t=e.validate,r=t.apply(this,arguments);return i.errors=t.errors,r}},jt.prototype.compileAsync=tt,jt.prototype.addKeyword=pt,jt.prototype.getKeyword=dt,jt.prototype.removeKeyword=mt,jt.prototype.validateKeyword=vt,jt.ValidationError=ue.Validation,jt.MissingRefError=ue.MissingRef,jt.$dataMetaSchema=Ze;var Et="http://json-schema.org/draft-07/schema",kt=["removeAdditional","useDefaults","coerceTypes","strictDefaults"],Ct=["/properties"];function jt(e){if(!(this instanceof jt))return new jt(e);var t,r;e=this._opts=$.copy(e)||{},function(e){var t=e._opts.logger;if(!1===t)e.logger={log:$t,warn:$t,error:$t};else{if(void 0===t&&(t=console),!("object"==typeof t&&t.log&&t.warn&&t.error))throw new Error("logger must implement log, warn and error methods");e.logger=t}}(this),this._schemas={},this._refs={},this._fragments={},this._formats=Te(e.format),this._cache=e.cache||new ke,this._loadingSchemas={},this._compilations=[],this.RULES=((t=[{type:"number",rules:[{maximum:["exclusiveMaximum"]},{minimum:["exclusiveMinimum"]},"multipleOf","format"]},{type:"string",rules:["maxLength","minLength","pattern","format"]},{type:"array",rules:["maxItems","minItems","items","contains","uniqueItems"]},{type:"object",rules:["maxProperties","minProperties","required","dependencies","propertyNames",{properties:["additionalProperties","patternProperties"]}]},{rules:["$ref","const","enum","not","anyOf","oneOf","allOf","if"]}]).all=Ye(r=["type","$comment"]),t.types=Ye(["number","integer","string","array","object","boolean","null"]),t.forEach((function(e){e.rules=e.rules.map((function(e){var n;if("object"==typeof e){var i=Object.keys(e)[0];n=e[i],e=i,n.forEach((function(e){r.push(e),t.all[e]=!0}))}return r.push(e),t.all[e]={keyword:e,code:Je[e],implements:n}})),t.all.$comment={keyword:"$comment",code:Je.$comment},e.type&&(t.types[e.type]=e)})),t.keywords=Ye(r.concat(["$schema","$id","id","$data","$async","title","description","default","definitions","examples","readOnly","writeOnly","contentMediaType","contentEncoding","additionalItems","then","else"])),t.custom={},t),this._getId=function(e){switch(e.schemaId){case"auto":return Ft;case"id":return At;default:return Rt}}(e),e.loopRequired=e.loopRequired||1/0,"property"==e.errorDataPath&&(e._errorDataPathProperty=!0),void 0===e.serialize&&(e.serialize=pe),this._metaOpts=function(e){for(var t=$.copy(e._opts),r=0;r<kt.length;r++)delete t[kt[r]];return t}(this),e.formats&&function(e){for(var t in e._opts.formats){var r=e._opts.formats[t];e.addFormat(t,r)}}(this),e.keywords&&function(e){for(var t in e._opts.keywords){var r=e._opts.keywords[t];e.addKeyword(t,r)}}(this),function(e){var t;if(e._opts.$data&&(t=_t,e.addMetaSchema(t,t.$id,!0)),!1!==e._opts.meta){var r=ut;e._opts.$data&&(r=Ze(r,Ct)),e.addMetaSchema(r,Et,!0),e._refs["http://json-schema.org/schema"]=Et}}(this),"object"==typeof e.meta&&this.addMetaSchema(e.meta),e.nullable&&this.addKeyword("nullable",{metaSchema:{type:"boolean"}}),function(e){var t=e._opts.schemas;if(t)if(Array.isArray(t))e.addSchema(t);else for(var r in t)e.addSchema(t[r],r)}(this)}function Ot(e,t){return t=Y.normalizeId(t),e._schemas[t]||e._refs[t]||e._fragments[t]}function It(e,t,r){for(var n in t){var i=t[n];i.meta||r&&!r.test(n)||(e._cache.del(i.cacheKey),delete t[n])}}function At(e){return e.$id&&this.logger.warn("schema $id ignored",e.$id),e.id}function Rt(e){return e.id&&this.logger.warn("schema id ignored",e.id),e.$id}function Ft(e){if(e.$id&&e.id&&e.$id!=e.id)throw new Error("schema $id is different from id");return e.$id||e.id}function Dt(e,t){if(e._schemas[t]||e._refs[t])throw new Error('schema with key or id "'+t+'" already exists')}function $t(){}var Lt={$$currentLocalizeFn:function(e){if(e&&e.length)for(var t=0;t<e.length;t+=1){var r=e[t],n=void 0,i=void 0,o=void 0;switch(r.keyword){case"$ref":n="无法找到引用".concat(r.params.ref);break;case"additionalItems":n="",i=r.params.limit,n+="不允许超过".concat(i,"个元素");break;case"additionalProperties":n="不允许有额外的属性";break;case"anyOf":n="数据应为 anyOf 所指定的其中一个";break;case"const":n="应当等于常量";break;case"contains":n="应当包含一个有效项";break;case"custom":n='应当通过 "'.concat(r.keyword,' 关键词校验"');break;case"dependencies":n="",i=r.params.depsCount,n+="应当拥有属性".concat(r.params.property,"的依赖属性").concat(r.params.deps);break;case"enum":n="应当是预设定的枚举值之一";break;case"exclusiveMaximum":case"exclusiveMinimum":n="",o="".concat(r.params.comparison," ").concat(r.params.limit),n+="应当为 ".concat(o);break;case"false schema":n="布尔模式出错";break;case"format":n='应当匹配格式 "'.concat(r.params.format,'"');break;case"formatExclusiveMaximum":n="formatExclusiveMaximum 应当是布尔值";break;case"formatExclusiveMinimum":n="formatExclusiveMinimum 应当是布尔值";break;case"formatMaximum":case"formatMinimum":n="",o="".concat(r.params.comparison," ").concat(r.params.limit),n+="应当是 ".concat(o);break;case"if":n='应当匹配模式 "'.concat(r.params.failingKeyword,'" ');break;case"maximum":n="",o="".concat(r.params.comparison," ").concat(r.params.limit),n+="应当为 ".concat(o);break;case"maxItems":n="",i=r.params.limit,n+="不应多于 ".concat(i," 个项");break;case"maxLength":n="",i=r.params.limit,n+="不应多于 ".concat(i," 个字符");break;case"maxProperties":n="",i=r.params.limit,n+="不应有多于 ".concat(i," 个属性");break;case"minimum":n="",o="".concat(r.params.comparison," ").concat(r.params.limit),n+="应当为 ".concat(o);break;case"minItems":n="",i=r.params.limit,n+="不应少于 ".concat(i," 个项");break;case"minLength":n="",i=r.params.limit,n+="不应少于 ".concat(i," 个字符");break;case"minProperties":n="",i=r.params.limit,n+="不应有少于 ".concat(i," 个属性");break;case"multipleOf":n="应当是 ".concat(r.params.multipleOf," 的整数倍");break;case"not":n='不应当匹配 "not" schema';break;case"oneOf":n='只能匹配一个 "oneOf" 中的 schema';break;case"pattern":n='应当匹配模式 "'.concat(r.params.pattern,'"');break;case"patternRequired":n="应当有属性匹配模式 ".concat(r.params.missingPattern);break;case"propertyNames":n="属性名 '".concat(r.params.propertyName,"' 无效");break;case"required":n="应当有必需属性 ".concat(r.params.missingProperty);break;case"switch":n="由于 ".concat(r.params.caseIndex,' 失败,未通过 "switch" 校验, ');break;case"type":n="应当是 ".concat(r.params.type," 类型");break;case"uniqueItems":n="不应当含有重复项 (第 ".concat(r.params.j," 项与第 ").concat(r.params.i," 项是重复的)");break;default:continue}r.message=n}},getCurrentLocalize:function(){return this.$$currentLocalizeFn},useLocal:function(e){this.$$currentLocalizeFn=e}};function Mt(e,t){try{if("object"===o(t))return e.fill(null).map((function(){return JSON.parse(JSON.stringify(t))}))}catch(e){}}function Tt(e,t){return e.filter((function(e){return t.includes(e)}))}function Nt(e,t,r){var n=O(e.$ref,t);e.$ref;var i=u(e,["$ref"]);return Ut(l(l({},n),i),t,r)}function zt(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];if(t.length<2)return t[0];for(var n={},i=[].concat(t),o=function(){var e=v(i[0])?i[0]:{},t=v(i[1])?i[1]:{};n=Object.assign({},e),Object.keys(t).reduce((function(r,n){var i=e[n],o=t[n];if(v(i)||v(o))if(v(i)&&v(o))r[n]=zt(i,o);else{var a=f(v(i)?[i,o]:[o,i],2),s=a[0],c=a[1];r[n]="additionalProperties"===n?!0===c&&s:s}else if(Array.isArray(i)||Array.isArray(o))if(Array.isArray(i)&&Array.isArray(o)){if(v(i[0])||v(o[0]))throw new Error("暂不支持如上数组对象元素合并");var l=Tt([].concat(i),[].concat(o));if(l.length<=0)throw new Error("无法合并如上数据");0===l.length&&"type"===n?r[n]=l[0]:r[n]=l}else{var u=f(Array.isArray(i)?[i,o]:[o,i],2),h=u[0],p=u[1];if(void 0===p)r[n]=h;else{if(!h.includes(p))throw new Error("无法合并如下数据");r[n]=p}}else r[n]=void 0!==i&&void 0!==o?"maxLength"===n||"maximum"===n||"maxItems"===n||"exclusiveMaximum"===n||"maxProperties"===n?Math.min(i,o):"minLength"===n||"minimum"===n||"minItems"===n||"exclusiveMinimum"===n||"minProperties"===n?Math.max(i,o):"multipleOf"===n?C(i,o):i:void 0===i?o:i;return r}),n),i.splice(0,2,n)};i.length>=2;)o();return n}function Vt(e,t,r){var n=l(l({},e),{},{allOf:e.allOf.map((function(e){return Ut(e,t,r)}))});try{var i=n.allOf,o=u(n,["allOf"]);return zt.apply(void 0,[o].concat(h(i)))}catch(e){return n.allOf,u(n,["allOf"])}}function Bt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.hasOwnProperty("allOf")&&(e=Vt(e,t,r)),e.hasOwnProperty("$ref")&&(e=Nt(e,t,r)),e}function Ut(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return v(e)?Bt(e,t,r):{}}function qt(e){return e?"".concat("__pathRoot",".").concat(e).replace(/\./g,"_"):"__pathRoot"}function Ht(e){return""===e}function Wt(e,t){return""===e?t:[e,t].join(".")}function Gt(e,t){for(var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=t.split("."),i=0;i<n.length-r;i+=1){if(void 0===e)return;e=""===n[i]?e:e[n[i]]}return e}function Kt(e){return e}var Qt=/{{(.*)}}/;function Jt(e,t,r,n){if(void 0!==r){var i=Qt.exec(r);if(Qt.lastIndex=0,i){var o=i[1].trim();return new Function("parentFormData","rootFormData","return ".concat(o))(Gt(e,t,1),e)}return n()}}function Yt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.schema,r=e.uiSchema,n=arguments.length>1?arguments[1]:void 0,i=tr({schema:t,uiSchema:r,containsSpec:!1});return["title","description"].reduce((function(e,t){return i[t]&&(e["ui:".concat(t)]=String(i[t]).replace(/\$index/g,n+1)),e}),{})}function Xt(e){var t=e.schema,r=void 0===t?{}:t,n=e.uiSchema,i=void 0===n?{}:n,o=e.curNodePath,a=void 0===o?"":o,s=e.rootFormData,c=void 0===s?{}:s,l=i["ui:widget"]||r["ui:widget"],u=i["ui:hidden"]||r["ui:hidden"];return"HiddenWidget"===l||"hidden"===l||!!Jt(c,a,u,(function(){return"function"==typeof u?u(Gt(c,a,1),c):u}))}function Zt(e,t){var r=t.schema,n=void 0===r?{}:r,i=t.uiSchema,a=void 0===i?{}:i,s=n["ui:field"]||a["ui:field"];if("function"==typeof s||"object"===o(s)||"string"==typeof s)return{field:s,fieldProps:a["ui:fieldProps"]||n["ui:fieldProps"]};var c=e[b(n)];if(c)return{field:c};if(!c&&(n.anyOf||n.oneOf))return{field:null};throw new Error("不支持的field类型, type: ".concat(n.type))}function er(e){var t=e.schema,r=void 0===t?{}:t,n=e.uiSchema,i=void 0===n?{}:n,o=e.curNodePath,s=e.rootFormData,c=void 0===s?{}:s;return Object.assign.apply(Object,[{}].concat(h([r,i].map((function(e){return Object.keys(e).reduce((function(t,r){var n=e[r];if("ui:options"===r&&v(n))return l(l({},t),n);if("ui:hidden"!==r){if(0===r.indexOf("ui:"))return l(l({},t),{},a({},r.substring(3),void 0===o?n:Jt(c,o,n,(function(){return n}))));if(0===r.indexOf("fui:"))return l(l({},t),{},a({},r.substring(4),n.call(null,Gt(c,o,1),c,o)))}return t}),{})})))))}function tr(e){var t=e.schema,r=void 0===t?{}:t,n=e.uiSchema,i=void 0===n?{}:n,o=e.containsSpec,a=void 0===o||o,s=e.curNodePath,c=e.rootFormData,u={};return a&&(u.readonly=!!r.readOnly,void 0!==r.multipleOf&&(u.step=r.multipleOf),(r.minimum||0===r.minimum)&&(u.min=r.minimum),(r.maximum||0===r.maximum)&&(u.max=r.maximum),(r.minLength||0===r.minLength)&&(u.minlength=r.minLength),(r.maxLength||0===r.maxLength)&&(u.maxlength=r.maxLength),"date-time"!==r.format&&"date"!==r.format||("array"===r.type?(u.isRange=!0,u.isNumberValue=!(r.items&&"string"===r.items.type)):u.isNumberValue=!("string"===r.type))),r.title&&(u.title=r.title),r.description&&(u.description=r.description),l(l({},u),er({schema:r,uiSchema:i,curNodePath:s,rootFormData:c}))}function rr(e){var t=e.schema,r=void 0===t?{}:t,n=e.uiSchema,i=void 0===n?{}:n,o=e.curNodePath,a=e.rootFormData,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,c=tr({schema:r,uiSchema:i,curNodePath:o,rootFormData:a});!c.widget&&s&&Object.assign(c,s({schema:r,uiSchema:i}));var l=c.widget,f=c.title,h=c.labelWidth,p=c.description,d=c.attrs,m=c.class,v=c.style,g=c.widgetListeners,y=c.fieldAttrs,b=c.fieldStyle,w=c.fieldClass,x=c.emptyValue,S=c.width,_=c.getWidget,P=c.renderScopedSlots,E=c.renderChildren,k=c.onChange,C=c.required,j=u(c,["widget","title","labelWidth","description","attrs","class","style","widgetListeners","fieldAttrs","fieldStyle","fieldClass","emptyValue","width","getWidget","renderScopedSlots","renderChildren","onChange","required"]);return{widget:l,label:f,labelWidth:h,description:p,widgetAttrs:d,widgetClass:m,widgetStyle:v,fieldAttrs:y,width:S,fieldStyle:b,fieldClass:w,emptyValue:x,getWidget:_,renderScopedSlots:P,renderChildren:E,onChange:k,widgetListeners:g,uiProps:j,uiRequired:C}}function nr(e){var t=e.schema,r=void 0===t?{}:t,n=e.uiSchema,i=void 0===n?{}:n,o=e.errorSchema,s=void 0===o?{}:o;return Object.assign.apply(Object,[{}].concat(h([r,i,s].map((function(e){return Object.keys(e).reduce((function(t,r){var n=e[r];return"err:options"===r&&v(n)?l(l({},t),n):0===r.indexOf("err:")?l(l({},t),{},a({},r.substring(4),n)):t}),{})})))))}function ir(e,t){if(!Array.isArray(t))return e;var r,n=function(e){return e.reduce((function(e,t){return e[t]=!0,e}),{})},i=n(e),o=t.filter((function(e){return"*"===e||i[e]})),a=n(o),s=e.filter((function(e){return!a[e]})),c=o.indexOf("*");if(-1===c){if(s.length)throw new Error("uiSchema order list does not contain ".concat((r=s).length>1?"properties '".concat(r.join("', '"),"'"):"property '".concat(r[0],"'")));return o}if(c!==o.lastIndexOf("*"))throw new Error("uiSchema order list contains more than one wildcard item");var l=h(o);return l.splice.apply(l,[c,1].concat(h(s))),l}function or(e){return Array.isArray(e.enum)&&1===e.enum.length||e.hasOwnProperty("const")}function ar(e){if(Array.isArray(e.enum)&&1===e.enum.length)return e.enum[0];if(e.hasOwnProperty("const"))return e.const;throw new Error("schema cannot be inferred as a constant")}function sr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=Ut(e,t),n=r.oneOf||r.anyOf;return!!Array.isArray(r.enum)||!!Array.isArray(n)&&n.every((function(e){return or(e)}))}function cr(e){return Array.isArray(e.items)&&e.items.length>0&&e.items.every((function(e){return v(e)}))}function lr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return!(!e.uniqueItems||!e.items)&&sr(e.items,t)}function ur(e){return e.additionalItems,v(e.additionalItems)}function fr(e,t,r,n){if(e.enum){var i=er({schema:e,uiSchema:t,curNodePath:r,rootFormData:n}).enumNames||e.enumNames;return e.enum.map((function(e,t){return{label:i&&i[t]||String(e),value:e}}))}var o=e.oneOf||e.anyOf,a=t.oneOf||t.anyOf;return o.map((function(e,t){var i=a&&a[t]?er({schema:e,uiSchema:a[t],curNodePath:r,rootFormData:n}):{},o=ar(e);return{label:i.title||e.title||String(o),value:o}}))}function hr(e,t,r){if(e)return e;if(t){var n=r.split(".").pop();if(n&&n!=="".concat(Number(n)))return n}return""}Object.freeze({__proto__:null,replaceArrayIndex:Yt,isHiddenWidget:Xt,getUiField:Zt,getUserUiOptions:er,getUiOptions:tr,getWidgetConfig:rr,getUserErrOptions:nr,orderProperties:ir,isConstant:or,toConstant:ar,isSelect:sr,isFixedItems:cr,isMultiSelect:lr,allowAdditionalItems:ur,optionsList:fr,fallbackLabel:hr});var pr=vr(),dr=null,mr=null;function vr(){var e=new Pt({errorDataPath:"property",allErrors:!0,multipleOfPrecision:8,schemaId:"auto",unknownFormats:"ignore"});return e.addFormat("data-url",/^data:([a-z]+\/[a-z0-9-+.]+)?;(?:name=(.*);)?base64,(.*)$/),e.addFormat("color",/^(#?([0-9A-Fa-f]{3,4}){1,2}\b|aqua|black|blue|fuchsia|gray|green|lime|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow|(rgba?|hsla?)\(.*\))$/),e}function gr(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return null===e?[]:e.map((function(e){var t=e.dataPath,r=e.keyword,n=e.message,i=e.params,o=e.schemaPath,a="".concat(t);return{name:r,property:a,message:n,params:i,stack:"".concat(a," ").concat(n).trim(),schemaPath:o}}))}function yr(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.formData,r=e.schema,n=e.transformErrors,i=e.additionalMetaSchemas,o=void 0===i?[]:i,a=e.customFormats,s=void 0===a?{}:a,c=!w(mr,o),l=!w(dr,s);(c||l)&&(pr=vr()),o&&c&&Array.isArray(o)&&(pr.addMetaSchema(o),mr=o),s&&l&&v(s)&&(Object.keys(s).forEach((function(e){pr.addFormat(e,s[e])})),dr=s);var u=null;try{pr.validate(r,t)}catch(e){u=e}Lt.getCurrentLocalize()(pr.errors);var f=gr(pr.errors);pr.errors=null;var p=u&&u.message&&"string"==typeof u.message&&u.message.includes("no schema with key or ref ");return p&&(f=[].concat(h(f),[{stack:u.message}])),"function"==typeof n&&(f=n(f)),{errors:f}}function br(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.formData,r=e.schema,n=e.uiSchema,i=e.transformErrors,o=e.additionalMetaSchemas,a=void 0===o?[]:o,s=e.customFormats,c=void 0===s?{}:s,l=e.errorSchema,u=void 0===l?{}:l,f=e.required,h=void 0!==f&&f,p=e.propPath,d=void 0===p?"":p,m=e.isOnlyFirstError,v=void 0===m||m,g="array"===r.type&&Array.isArray(t)&&0===t.length,y=void 0===t||g;if(h){if(y){var b={keyword:"required",params:{missingProperty:d}},w=nr({schema:r,uiSchema:n,errorSchema:u}).required;return w?b.message=w:Lt.getCurrentLocalize()([b]),[b]}}else if(y&&!g)return[];var x=yr({formData:t,schema:r,transformErrors:i,additionalMetaSchemas:a,customFormats:c}).errors;x=x.filter((function(e){return""===e.property&&!e.schemaPath.includes("#/anyOf/")&&!e.schemaPath.includes("#/oneOf/")||"additionalProperties"===e.name}));var S=nr({schema:r,uiSchema:n,errorSchema:u});return(v&&x.length>0?[x[0]]:x).reduce((function(e,t){return t.message=void 0!==S[t.name]?S[t.name]:t.message,e.push(t),e}),[])}function wr(e,t){try{return pr.validate(e,t)}catch(e){return!1}}function xr(e,t,r){for(var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=0;i<t.length;i++){var o=Ut(t[i],r,e);if(o.properties){var a=l(l({},r.definitions?{definitions:r.definitions}:{}),{},{anyOf:Object.keys(o.properties).map((function(e){return{required:[e]}}))}),c=void 0;if(o.anyOf){var u=s({},o);u.allOf?u.allOf=u.allOf.slice():u.allOf=[],u.allOf.push(a),c=u}else c=Object.assign({},o,a);if(n||delete c.required,wr(c,e))return i}else if(wr(o,e))return i}if(t[0]&&t[0].properties){var f=Object.keys(t[0].properties).find((function(e){return t[0].properties[e].const}));if(f)for(var h=0;h<t.length;h++)if(t[h].properties&&t[h].properties[f]&&t[h].properties[f].const===e[f])return h}return-1}function Sr(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=xr(e,t,r,n);return-1===i?0:i}Object.freeze({__proto__:null,ajvValidateFormData:yr,validateFormDataAndTransformMsg:br,isValid:wr,ajvValid:function(e,t){return pr.validate(e,t)},getMatchingIndex:xr,getMatchingOption:Sr});function _r(e,t){if(Array.isArray(t))return Array.isArray(e)?t.map((function(t,r){return e[r]?_r(e[r],t):t})):e;if(v(t)){var r=Object.assign({},e);return Object.keys(t).reduce((function(r,n){return r[n]=_r(e?e[n]:{},t[n]),r}),r)}return t}function Pr(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=arguments.length>5&&void 0!==arguments[5]&&arguments[5],a=v(e)?e:{},s=v(n)?n:{};"allOf"in a&&(a=Vt(a,r,s));var c=t;if(v(c)&&v(a.default))c=y(c,a.default);else if("default"in a)c=a.default;else{if("$ref"in a){var l=O(a.$ref,r);return Pr(l,c,r,s,i,o)}if(cr(a))c=a.items.map((function(e,n){return Pr(e,Array.isArray(t)?t[n]:void 0,r,s,i,o)}));else if("oneOf"in a){var u=Ut(a.oneOf[Sr(s,a.oneOf,r,o)],r,s);delete(a=y(a,u)).oneOf}else if("anyOf"in a){var f=Ut(a.anyOf[Sr(s,a.anyOf,r,o)],r,s);delete(a=y(a,f)).anyOf}}switch(void 0===c&&(c=a.default),b(a)){case"null":return null;case"object":return Object.keys(a.properties||{}).reduce((function(e,t){var n=Pr(a.properties[t],(c||{})[t],r,(s||{})[t],i,o);return(i||void 0!==n)&&(e[t]=n),e}),{});case"array":if(Array.isArray(c)&&(c=c.map((function(e,t){return Pr(a.items[t]||a.additionalItems||{},e,r,{},i,o)}))),Array.isArray(n)&&(c=n.map((function(e,t){return Pr(a.items,(c||{})[t],r,e,{},i,o)}))),a.minItems){if(lr(a,r))return c||[];var h=c?c.length:0;if(a.minItems>h){var p=c||[],d=Array.isArray(a.items)?a.additionalItems:a.items,m=Mt(new Array(a.minItems-h),Pr(d,d.defaults,r,{},i,o));return p.concat(m)}}c=void 0===c?[]:c}return c}function Er(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(!v(e))throw new Error("Invalid schema: ".concat(e));var o=Ut(e,r,t),a=Pr(o,e.default,r,t,n,i);return void 0===t?a:v(t)||Array.isArray(t)?_r(a,t):0===t||!1===t||""===t?t:t||a}function kr(e,t){void 0===t&&(t={});var r=t.insertAt;if(e&&"undefined"!=typeof document){var n=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===r&&n.firstChild?n.insertBefore(i,n.firstChild):n.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}kr('.genFromComponent{font-size:14px;line-height:1;word-wrap:break-word;word-break:break-word;padding:0;margin:0}.genFromComponent a,.genFromComponent h1,.genFromComponent h2,.genFromComponent h3,.genFromComponent li,.genFromComponent p,.genFromComponent ul{font-size:14px}.genFromComponent .genFormIcon{width:12px;height:12px;vertical-align:top}.genFromComponent .genFormBtn{display:inline-block;line-height:1;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #dcdfe6;color:#606266;-webkit-appearance:none;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;outline:none;margin:0;-webkit-transition:.1s;transition:.1s;font-weight:500;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;padding:12px 20px;font-size:14px;border-radius:4px}.genFromComponent .genFormBtn.is-plain:focus,.genFromComponent .genFormBtn.is-plain:hover{background:#fff;border-color:#409eff;color:#409eff}.genFromComponent .hiddenWidget{display:none}.genFromComponent .fieldGroupWrap+.fieldGroupWrap .fieldGroupWrap_title{margin-top:20px}.genFromComponent .fieldGroupWrap_title{position:relative;display:block;width:100%;line-height:26px;margin-bottom:8px;font-size:15px;font-weight:700;border:0}.genFromComponent .fieldGroupWrap_des{font-size:12px;line-height:20px;margin-bottom:10px;color:#999}.genFromComponent .genFromWidget_des{padding:0;margin-top:0;margin-bottom:2px;font-size:12px;line-height:20px;color:#999;text-align:left;width:100%;-ms-flex-negative:0;flex-shrink:0}.genFromComponent .formItemErrorBox{margin:0 auto;color:#ff5757;padding-top:2px;position:absolute;top:100%;left:0;display:-webkit-box!important;line-height:16px;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;white-space:normal;font-size:12px;text-align:left}.genFromComponent .genFormIcon-qs{fill:#606266;vertical-align:middle;display:inline-block;width:16px;height:16px;margin-left:2px;margin-top:-2px;cursor:pointer}.genFromComponent .genFormItemRequired:before{content:"*";color:#f56c6c;margin-right:4px}.genFromComponent .appendCombining_box{margin-bottom:22px}.genFromComponent .appendCombining_box .appendCombining_box{margin-bottom:10px}.genFromComponent .appendCombining_box{padding:10px;background:hsla(0,0%,94.9%,.8);-webkit-box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 0 3px 1px rgba(0,0,0,.1);box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 0 3px 1px rgba(0,0,0,.1)}.genFromComponent .validateWidget{margin-bottom:0!important;width:100%!important;-ms-flex-preferred-size:100%!important;flex-basis:100%!important;padding:0!important}.genFromComponent .validateWidget .formItemErrorBox{padding:5px 0;position:relative}.genFromComponent .arrayField:not(.genFormItem){margin-bottom:22px}.genFromComponent .arrayField:not(.genFormItem) .arrayField{margin-bottom:10px}.genFromComponent .arrayOrderList{background:hsla(0,0%,94.9%,.8);-webkit-box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 0 3px 1px rgba(0,0,0,.1);box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 0 3px 1px rgba(0,0,0,.1)}.genFromComponent .arrayOrderList_item{position:relative;padding:25px 10px 12px;border-radius:2px;margin-bottom:6px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.genFromComponent .arrayOrderList_bottomAddBtn{text-align:right;padding:15px 10px;margin-bottom:10px}.genFromComponent .bottomAddBtn{width:40%;min-width:10px;max-width:180px}.genFromComponent .arrayListItem_content{padding-top:15px;-webkit-box-flex:1;-ms-flex:1;flex:1;margin:0 auto;-webkit-box-shadow:0 -1px 0 0 rgba(0,0,0,.05);box-shadow:0 -1px 0 0 rgba(0,0,0,.05)}.genFromComponent .arrayListItem_index,.genFromComponent .arrayListItem_operateTool{position:absolute;height:25px}.genFromComponent .arrayListItem_index{top:6px;line-height:18px;height:18px;padding:0 6px;background-color:rgba(0,0,0,.28);color:#fff;font-size:12px;border-radius:2px}.genFromComponent .arrayListItem_operateTool{width:75px;right:9px;top:-1px;text-align:right;font-size:0}.genFromComponent .arrayListItem_btn{vertical-align:top;display:inline-block;padding:6px;margin:0;font-size:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;border:none;cursor:pointer;text-align:center;background:transparent;color:#666}.genFromComponent .arrayListItem_btn:hover{opacity:.6}.genFromComponent .arrayListItem_btn[disabled]{color:#999;opacity:.3!important;cursor:not-allowed}.genFromComponent .arrayListItem_orderBtn-bottom,.genFromComponent .arrayListItem_orderBtn-top{background-color:#f0f9eb}.genFromComponent .arrayListItem_btn-delete{background-color:#fef0f0}.genFromComponent .formFooter_item{text-align:right;border-top:1px solid rgba(0,0,0,.08);padding-top:10px}.genFromComponent.formInlineFooter>.fieldGroupWrap{display:inline-block;margin-right:10px}.genFromComponent.formInline .validateWidget{margin-right:0}.genFromComponent.formInline .formFooter_item{border-top:none;padding-top:0}.genFromWidget_des_mini{font-size:14px;line-height:1.5715}.layoutColumn .layoutColumn_w100{width:100%!important;-ms-flex-preferred-size:100%!important;flex-basis:100%!important}.layoutColumn .fieldGroupWrap_box{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-line-pack:start;align-content:flex-start}.layoutColumn .fieldGroupWrap_box>div{width:100%;-ms-flex-preferred-size:100%;flex-basis:100%}.layoutColumn .fieldGroupWrap_box>.genFormItem{-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;-ms-flex-negative:0;flex-shrink:0;-webkit-box-sizing:border-box;box-sizing:border-box;padding-right:10px}.layoutColumn.layoutColumn-1 .fieldGroupWrap_box>.genFormItem{padding-right:0}.layoutColumn.layoutColumn-2 .fieldGroupWrap_box>.genFormItem{width:50%;-ms-flex-preferred-size:50%;flex-basis:50%}.layoutColumn.layoutColumn-3 .fieldGroupWrap_box>.genFormItem{width:33.333%;-ms-flex-preferred-size:33.333%;flex-basis:33.333%}');var Cr={formFooter:{type:Object,default:function(){return{show:!0,okBtn:"保存",cancelBtn:"取消"}}},value:{type:null,default:function(){return{}},required:!0},formProps:{type:Object,default:function(){return{}}},fallbackLabel:{type:Boolean,default:!1},strictMode:{type:Boolean,default:!1},schema:{type:Object,default:function(){return{}},required:!0},uiSchema:{type:Object,default:function(){return{}}},customFormats:{type:Object,default:function(){return{}}},customRule:{type:Function,default:null},errorSchema:{type:Object,default:function(){return{}}}},jr={name:"FormFooter",props:{okBtn:{type:String,default:"保存"},okBtnProps:{type:Object,default:function(){return{}}},cancelBtn:{type:String,default:"取消"},formItemAttrs:{type:Object,default:function(){return{}}},globalOptions:null},render:function(e){var t=this,r=this.$props,n=r.okBtn,i=r.okBtnProps,o=r.cancelBtn,a=r.globalOptions.COMPONENT_MAP;return e(a.formItem,l({class:{formFooter_item:!0}},this.formItemAttrs),[e(a.button,{on:{click:function(){t.$emit("onCancel")}}},o),e(a.button,{style:{marginLeft:"10px"},props:l({type:"primary"},i),on:{click:function(){t.$emit("onSubmit")}}},n)])}};function Or(e,t){i()["delete"](e,t)}function Ir(e,t,r){for(var n=t.split("."),o=0;o<n.length;o+=1){if(n.length-o<2){i().set(e,n[n.length-1],r);break}e=e[n[o]]}}Object.freeze({__proto__:null,deletePathVal:Or,setPathVal:Ir,nodePath2ClassName:qt,isRootNodePath:Ht,computedCurPath:Wt,getPathVal:Gt,path2prop:Kt,pathSeparator:"."});var Ar=function(e,t,r,n,i,o,a,s,c,l){"boolean"!=typeof a&&(c=s,s=a,a=!1);var u,f="function"==typeof r?r.options:r;if(e&&e.render&&(f.render=e.render,f.staticRenderFns=e.staticRenderFns,f._compiled=!0,i&&(f.functional=!0)),n&&(f._scopeId=n),o?(u=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,c(e)),e&&e._registeredComponents&&e._registeredComponents.add(o)},f._ssrRegister=u):t&&(u=a?function(e){t.call(this,l(e,this.$root.$options.shadowRoot))}:function(e){t.call(this,s(e))}),u)if(f.functional){var h=f.render;f.render=function(e,t){return u.call(t),h(e,t)}}else{var p=f.beforeCreate;f.beforeCreate=p?[].concat(p,u):[u]}return r},Rr={name:"FieldGroupWrap",inject:["genFormProvide"],props:{curNodePath:{type:String,default:""},showTitle:{type:Boolean,default:!0},showDescription:{type:Boolean,default:!0},title:{type:String,default:""},description:{type:String,default:""}},computed:{trueTitle:function(){var e,t,r,n=this.title;if(n)return n;t="boolean"==typeof(null===(e=this.genFormProvide.fallbackLabel)||void 0===e?void 0:e.value)?null===(r=this.genFormProvide.fallbackLabel)||void 0===r?void 0:r.value:this.genFormProvide.fallbackLabel;var i=t&&this.curNodePath.split(".").pop();return i!=="".concat(Number(i))?i:""}}},Fr=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"fieldGroupWrap"},[e.showTitle&&e.trueTitle?r("h3",{staticClass:"fieldGroupWrap_title"},[e._v("\n "+e._s(e.trueTitle)+"\n ")]):e._e(),e._v(" "),e.showDescription&&e.description?r("p",{staticClass:"fieldGroupWrap_des",domProps:{innerHTML:e._s(e.description)}}):e._e(),e._v(" "),r("div",{staticClass:"fieldGroupWrap_box"},[e._t("default")],2)])};Fr._withStripped=!0;var Dr=Ar({render:Fr,staticRenderFns:[]},void 0,Rr,void 0,!1,void 0,!1,void 0,void 0,void 0),$r={formProps:{type:null},globalOptions:{type:null},schema:{type:Object,default:function(){return{}}},uiSchema:{type:Object,default:function(){return{}}},errorSchema:{type:Object,default:function(){return{}}},customRule:{type:Function,default:null},customFormats:{type:Object,default:function(){return{}}},rootSchema:{type:Object,default:function(){return{}}},rootFormData:{type:null,default:function(){return{}}},curNodePath:{type:String,default:""},required:{type:Boolean,default:!1},needValidFieldGroup:{type:Boolean,default:!0}},Lr=function(){var e=this.$createElement,t=this._self._c||e;return t("svg",{staticClass:"genFormIcon genFormIcon-down",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"}},[t("path",{attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}})])};Lr._withStripped=!0;var Mr=Ar({render:Lr,staticRenderFns:[]},void 0,{},void 0,!1,void 0,!1,void 0,void 0,void 0),Tr=function(){var e=this.$createElement,t=this._self._c||e;return t("svg",{staticClass:"genFormIcon genFormIcon-up",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"}},[t("path",{attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}})])};Tr._withStripped=!0;var Nr=Ar({render:Tr,staticRenderFns:[]},void 0,{},void 0,!1,void 0,!1,void 0,void 0,void 0),zr=function(){var e=this.$createElement,t=this._self._c||e;return t("svg",{staticClass:"genFormIcon genFormIcon-close",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"}},[t("path",{attrs:{d:"M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1\n 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0\n 0 0 203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z"}})])};zr._withStripped=!0;var Vr=Ar({render:zr,staticRenderFns:[]},void 0,{},void 0,!1,void 0,!1,void 0,void 0,void 0),Br=function(){var e=this.$createElement,t=this._self._c||e;return t("svg",{staticClass:"genFormIcon genFormIcon-plus",attrs:{t:"1551322312294",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"10297","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"200",height:"200"}},[t("path",{attrs:{d:"M474 152m8 0l60 0q8 0 8 8l0 704q0 8-8 8l-60 0q-8 0-8-8l0-704q0-8 8-8Z","p-id":"10298"}}),this._v(" "),t("path",{attrs:{d:"M168 474m8 0l672 0q8 0 8 8l0 60q0 8-8 8l-672 0q-8 0-8-8l0-60q0-8 8-8Z","p-id":"10299"}})])};Br._withStripped=!0;var Ur=Ar({render:Br,staticRenderFns:[]},void 0,{},void 0,!1,void 0,!1,void 0,void 0,void 0),qr=function(){var e=this.$createElement,t=this._self._c||e;return t("svg",{staticClass:"genFormIcon genFormIcon-qs",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"}},[t("path",{attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 708c-22.1\n 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm62.9-219.5a48.3 48.3 0 0\n 0-30.9 44.8V620c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-21.5c0-23.1 6.7-45.9 19.9-64.9 12.9-18.6 30.9-32.8\n 52.1-40.9 34-13.1 56-41.6 56-72.7 0-44.1-43.1-80-96-80s-96 35.9-96 80v7.6c0 4.4-3.6\n 8-8 8h-48c-4.4 0-8-3.6-8-8V420c0-39.3 17.2-76 48.4-103.3C430.4 290.4 470 276 512 276s81.6 14.5 111.6\n 40.7C654.8 344 672 380.7 672 420c0 57.8-38.1 109.8-97.1 132.5z"}})])};qr._withStripped=!0;var Hr=Ar({render:qr,staticRenderFns:[]},void 0,{},void 0,!1,void 0,!1,void 0,void 0,void 0),Wr={name:"Widget",inject:["genFormProvide"],props:{isFormData:{type:Boolean,default:!0},curValue:{type:null,default:0},schema:{type:Object,default:function(){return{}}},uiSchema:{type:Object,default:function(){return{}}},errorSchema:{type:Object,default:function(){return{}}},customFormats:{type:Object,default:function(){return{}}},customRule:{type:Function,default:null},widget:{type:[String,Function,Object],default:null},required:{type:Boolean,default:!1},uiRequired:{type:Boolean},emptyValue:{type:null,default:void 0},formatValue:{type:[Function],default:function(e){return{update:!0,value:e}}},rootFormData:{type:null},curNodePath:{type:String,default:""},label:{type:String,default:""},width:{type:String,default:""},labelWidth:{type:String,default:""},description:{type:String,default:""},widgetAttrs:{type:Object,default:function(){return{}}},widgetClass:{type:Object,default:function(){return{}}},widgetStyle:{type:Object,default:function(){return{}}},fieldAttrs:{type:Object,default:function(){return{}}},fieldClass:{type:Object,default:function(){return{}}},fieldStyle:{type:Object,default:function(){return{}}},uiProps:{type:Object,default:function(){return{}}},widgetListeners:null,formProps:null,getWidget:null,renderScopedSlots:null,renderChildren:null,globalOptions:null,onChange:null},computed:{value:{get:function(){return this.isFormData?Gt(this.rootFormData,this.curNodePath):this.curValue},set:function(e){var t=""===e||null===e?this.emptyValue:e;this.isFormData?Ir(this.rootFormData,this.curNodePath,t):this.$emit("onOtherDataChange",t)}},realRequired:function(){var e;return null!==(e=this.uiRequired)&&void 0!==e?e:this.required}},created:function(){this.uiProps.enumOptions&&this.uiProps.enumOptions.length>0&&void 0===this.value&&this.value!==this.uiProps.enumOptions[0]&&(this.schema.items?this.value=[]:this.realRequired&&this.formProps.defaultSelectFirstOption&&(this.value=this.uiProps.enumOptions[0].value))},render:function(e){var t,r=this,n=this.$props.curNodePath,i=Ht(n),o=r.formProps&&r.formProps.isMiniDes,a=null!=o?o:r.globalOptions.HELPERS.isMiniDes(r.formProps),s=r.description?e("div",{domProps:{innerHTML:r.description},class:{genFromWidget_des:!0,genFromWidget_des_mini:a}}):null,c=r.globalOptions.COMPONENT_MAP,u=a&&s?e(c.popover,{style:{margin:"0 2px",fontSize:"16px",cursor:"pointer"},props:l({placement:"top",trigger:"hover"},null===(t=r.formProps)||void 0===t?void 0:t.popover)},[s,e(Hr,{slot:"reference"})]):null,f=l(l({},r.fieldStyle),r.width?{width:r.width,flexBasis:r.width,paddingRight:"10px"}:{}),h=hr(r.label,r.widget&&this.genFormProvide.fallbackLabel,n);return e(c.formItem,{class:l(l({},r.fieldClass),{},{genFormItem:!0}),style:f,attrs:r.fieldAttrs,props:l(l({},r.labelWidth?{labelWidth:r.labelWidth}:{}),this.isFormData?{prop:i?"__$$root":n,rules:[{validator:function(e,t,o){i&&(t=r.rootFormData);var a=br({formData:t,schema:r.$props.schema,uiSchema:r.$props.uiSchema,customFormats:r.$props.customFormats,errorSchema:r.errorSchema,required:r.realRequired,propPath:n});if(a.length>0){var s=a[0].message;return o&&o(s),Promise.reject(s)}var c=r.$props.customRule;return c&&"function"==typeof c?c({field:n,value:t,rootFormData:r.rootFormData,callback:o}):o?o():Promise.resolve()},trigger:"change"}]}:{}),scopedSlots:{error:function(t){return t.error?e("div",{class:{formItemErrorBox:!0},attrs:{title:t.error}},[t.error]):null}}},[h?e("span",{slot:"label",class:{genFormLabel:!0,genFormItemRequired:r.realRequired}},["".concat(h),u,"".concat(r.formProps&&r.formProps.labelSuffix||"")]):null,a?null:s,e(r.widget,l(l({style:r.widgetStyle,class:r.widgetClass,attrs:l(l(l({},r.widgetAttrs),r.uiProps),{},{value:this.value}),ref:"widgetRef"},r.renderScopedSlots?{scopedSlots:r.renderScopedSlots(e)||{}}:{}),{},{on:l(l({},r.widgetListeners?r.widgetListeners:{}),{},{"hook:mounted":function(){r.widgetListeners&&r.widgetListeners["hook:mounted"]&&r.widgetListeners["hook:mounted"].apply(this,Array.prototype.slice.call(arguments)),r.getWidget&&"function"==typeof r.getWidget&&r.getWidget.call(null,r.$refs.widgetRef)},input:function(e){var t=r.formatValue(e),n=r.value;t.update&&n!==t.value&&(r.value=t.value,r.onChange&&r.onChange({curVal:t.value,preVal:n,parentFormData:Gt(r.rootFormData,r.curNodePath,1),rootFormData:r.rootFormData})),r.widgetListeners&&r.widgetListeners.input&&r.widgetListeners.input.apply(this,Array.prototype.slice.call(arguments))}})}),r.renderChildren?r.renderChildren(e):null)])}},Gr={name:"ObjectField",functional:!0,props:$r,render:function(e,t){var r=t.props,n=r.schema,i=r.uiSchema,o=r.errorSchema,a=r.needValidFieldGroup,s=r.curNodePath,c=r.rootFormData,u=r.globalOptions,p=tr({schema:n,uiSchema:i,curNodePath:s,rootFormData:c}),d=p.title,m=p.description,g=p.showTitle,y=p.showDescription,b=p.order,w=p.fieldClass,x=p.fieldAttrs,S=p.fieldStyle,_=p.onlyShowIfDependent,P=ir(Object.keys(n.properties||{}),b).map((function(r){var a=function(e){return Array.isArray(n.required)&&!!~n.required.indexOf(e)}(r),u=function(e){var t=!1,r=!1;return v(n.dependencies)&&(r=Object.entries(n.dependencies).some((function(r){var n=f(r,2),i=n[0],o=n[1],a=!(!Array.isArray(o)||!~o.indexOf(e));return t=t||a,a&&void 0!==Gt(c,s)[i]}))),{isDependency:t,curDependent:r}}(r),h=u.isDependency,p=u.curDependent;return h&&_&&!p?null:e(sn,{key:r,props:l(l({},t.props),{},{schema:n.properties[r],uiSchema:i[r],errorSchema:o[r],required:a||p,curNodePath:Wt(s,r)})})}));return e(Dr,{props:{title:d,description:m,showTitle:g,showDescription:y,curNodePath:s},class:l(l({},t.data.class),w),attrs:x,style:S},[e("template",{slot:"default"},[].concat(h(P),[a?e(Wr,{key:"validateWidget-object",class:{validateWidget:!0,"validateWidget-object":!0},props:{schema:Object.entries(n).reduce((function(e,t){var r=f(t,2),i=r[0],o=r[1];return!1!==n.additionalProperties&&["properties","id","$id"].includes(i)||(e[i]=o),e}),{}),uiSchema:i,errorSchema:o,curNodePath:s,rootFormData:c,globalOptions:u}}):null]))])}},Kr={name:"StringField",props:$r,functional:!0,render:function(e,t){var r=t.props,n=r.schema,i=r.uiSchema,o=r.curNodePath,a=r.rootFormData,s=r.globalOptions.WIDGET_MAP,c=sr(n)&&fr(n,i,o,a),u=rr({schema:n,uiSchema:i,curNodePath:o,rootFormData:a},(function(){var e="number"===n.type||"integer"===n.type;return{widget:c?s.common.select:s.formats[n.format]||(e?s.types.number:s.types.string)}}));return c&&!u.uiProps.enumOptions&&(u.uiProps.enumOptions=c),e(Wr,l(l({},t.data),{},{props:l(l({},t.props),u)}))}},Qr={name:"NumberField",props:$r,functional:!0,render:function(e,t){return e(Kr,t.data)}},Jr={name:"IntegerField",props:$r,functional:!0,render:function(e,t){return e(Kr,t.data)}},Yr={name:"BooleanField",props:$r,functional:!0,render:function(e,t){var r=t.props,n=r.schema,i=r.uiSchema,o=r.curNodePath,a=r.rootFormData,s=r.globalOptions,c=fr({enumNames:n.enumNames||["true","false"],enum:n.enum||[!0,!1]},i,o,a),u=rr({schema:n,uiSchema:i,curNodePath:o,rootFormData:a},(function(){return{widget:s.WIDGET_MAP.types.boolean}}));return u.uiProps.enumOptions=u.uiProps.enumOptions||c,e(Wr,l(l({},t.data),{},{props:l(l({},t.props),u)}))}},Xr={name:"ArrayOrderList",props:{vNodeList:{type:Array,default:[]},tupleItemsLength:{type:Number,default:0},addable:{type:Boolean,default:!0},showIndexNumber:{type:Boolean,default:!1},sortable:{type:Boolean,default:!0},removable:{type:Boolean,default:!0},maxItems:{},minItems:{},globalOptions:null},computed:{canAdd:function(){var e=this.$props,t=e.addable,r=e.maxItems,n=e.vNodeList;return!!t&&(void 0===r||n.length<r)},canRemove:function(){var e=this.$props,t=e.removable,r=e.minItems,n=e.vNodeList;return!!t&&(void 0===r||n.length>r)}},render:function(e){var t=this;return this.vNodeList.length<=0&&!this.addable?null:e("div",{class:{arrayOrderList:!0}},this.vNodeList.map((function(r,n){var i=r.key,o=r.vNode,a=t.tupleItemsLength+n,s=n+1;return e("div",{key:i,class:{arrayOrderList_item:!0}},[t.showIndexNumber?e("div",{class:{arrayListItem_index:!0}},s):null,e("div",{class:{arrayListItem_operateTool:!0}},[e("button",{style:l({},t.sortable?{}:{display:"none"}),attrs:{type:"button",disabled:!t.sortable||0===n},class:{arrayListItem_btn:!0,"arrayListItem_orderBtn-top":!0},on:{click:function(){t.$emit("onArrayOperate",{command:"moveUp",data:{index:a}})}}},[e(Nr)]),e("button",{style:l({},t.sortable?{}:{display:"none"}),attrs:{type:"button",disabled:!t.sortable||n===t.vNodeList.length-1},class:{arrayListItem_btn:!0,"arrayListItem_orderBtn-bottom":!0},on:{click:function(){t.$emit("onArrayOperate",{command:"moveDown",data:{index:a}})}}},[e(Mr)]),e("button",{style:l({},t.removable?{}:{display:"none"}),attrs:{type:"button",disabled:!t.canRemove},class:{arrayListItem_btn:!0,"arrayListItem_btn-delete":!0},on:{click:function(){t.$emit("onArrayOperate",{command:"remove",data:{index:a}})}}},[e(Vr)])]),e("div",{class:{arrayListItem_content:!0}},[o])])})).concat([e("p",{style:l({},this.canAdd?{}:{display:"none"}),class:{arrayOrderList_bottomAddBtn:!0}},[e("button",{attrs:{type:"button"},class:{bottomAddBtn:!0,"is-plain":!0,genFormBtn:!0},on:{click:function(){t.$emit("onArrayOperate",{command:"add"})}}},[e(Ur,{style:{marginRight:"5px"}}),this.maxItems?"( ".concat(this.vNodeList.length," / ").concat(this.maxItems," )"):""])])]))}},Zr={name:"ArrayFieldNormal",functional:!0,props:l(l({},$r),{},{itemsFormData:{type:Array}}),render:function(e,t){var r=t.props,n=r.schema,i=r.uiSchema,o=r.curNodePath,a=r.rootFormData,s=r.itemsFormData,c=r.errorSchema,u=r.globalOptions,f=tr({schema:n,uiSchema:i,curNodePath:o,rootFormData:a}),h=f.title,p=f.description,d=f.addable,m=f.showIndexNumber,v=f.sortable,g=f.removable,y=f.showTitle,b=f.showDescription,w=f.fieldClass,x=f.fieldAttrs,S=f.fieldStyle,_=s.map((function(r,a){var s=Yt({schema:n.items,uiSchema:i.items},a);return{key:r.key,vNode:e(sn,{key:r.key,props:l(l({},t.props),{},{schema:n.items,required:![].concat(n.items.type).includes("null"),uiSchema:l(l({},i.items),s),errorSchema:c.items,curNodePath:Wt(o,a)})})}}));return e(Dr,{props:{title:h,description:p,showTitle:y,showDescription:b,curNodePath:o},class:l(l({},t.data.class),w),attrs:x,style:S},[e(Xr,{props:{vNodeList:_,showIndexNumber:m,addable:d,sortable:v,removable:g,maxItems:n.maxItems,minItems:n.minItems,globalOptions:u},on:t.listeners})])}},en={name:"ArrayFieldMultiSelect",functional:!0,props:l({},$r),render:function(e,t){var r=t.props,n=r.schema,i=r.rootSchema,o=r.uiSchema,a=r.curNodePath,s=r.rootFormData,c=r.globalOptions,u=fr(Ut(n.items,i),o,a,s),f=rr({schema:n,uiSchema:o,curNodePath:a,rootFormData:s},(function(){return{widget:c.WIDGET_MAP.common.checkboxGroup}}));return f.uiProps.multiple=!0,u&&!f.uiProps.enumOptions&&(f.uiProps.enumOptions=u),e(Wr,l(l({},t.data),{},{props:l(l({},t.props),f)}))}},tn={name:"ArrayFieldTuple",props:l(l({},$r),{},{itemsFormData:{type:Array,default:function(){return[]}}}),created:function(){this.fixItemsFormData()},methods:{fixItemsFormData:function(){var e=!Array.isArray(this.itemsFormData);if(e||this.itemsFormData.length<this.schema.items.length){var t=Er(this.schema,void 0,this.rootSchema);e?this.$emit("onArrayOperate",{command:"setNewTarget",data:{newTarget:t}}):this.$emit("onArrayOperate",{command:"batchPush",data:{pushArray:t.slice(this.itemsFormData.length)}})}}},render:function(e){var t=this;if(!Array.isArray(this.itemsFormData))return null;var r,n,i=this.$props,o=i.schema,a=i.uiSchema,s=i.errorSchema,c=i.curNodePath,u=i.globalOptions,f=tr({schema:o,uiSchema:a,curNodePath:c,rootFormData:this.rootFormData}),p=f.title,d=f.description,m=f.addable,v=f.showIndexNumber,g=f.sortable,y=f.removable,b=f.showTitle,w=f.showDescription,x=f.fieldClass,S=f.fieldAttrs,_=f.fieldStyle,P=(r=this.itemsFormData,n=this.schema.items.length-1,r.reduce((function(e,t,r){return e[r>n?1:0].push(t),e}),[[],[]])),E=P[0].map((function(r,n){return e(sn,{key:r.key,props:l(l({},t.$props),{},{required:![].concat(o.items[n].type).includes("null"),schema:o.items[n],uiSchema:a.items?a.items[n]:{},errorSchema:s.items?s.items[n]:{},curNodePath:Wt(c,n)})})})),k=P[1].map((function(r,n){var i=Yt({schema:o.additionalItems,uiSchema:a.additionalItems},n);return{key:r.key,vNode:e(sn,{key:r.key,props:l(l({},t.$props),{},{schema:o.additionalItems,required:![].concat(o.additionalItems.type).includes("null"),uiSchema:l(l({},a.additionalItems),i),errorSchema:s.additionalItems,curNodePath:Wt(c,n+o.items.length)})})}})),C=(void 0===m||m)&&ur(this.schema);return e(Dr,{props:{title:p,description:d,showTitle:b,showDescription:w,curNodePath:c},class:x,attrs:S,style:_},[].concat(h(E),[e(Xr,{props:{vNodeList:k,tupleItemsLength:o.items.length,addable:C,showIndexNumber:v,sortable:g,removable:y,maxItems:o.maxItems,minItems:o.minItems,globalOptions:u},on:this.$listeners})]))}},rn={name:"ArrayFieldSpecialFormat",props:$r,functional:!0,render:function(e,t){var r=t.props,n=r.schema,i=r.uiSchema,o=r.curNodePath,a=r.rootFormData,s=rr({schema:l({"ui:widget":r.globalOptions.WIDGET_MAP.formats[n.format]},n),uiSchema:i,curNodePath:o,rootFormData:a});return e(Wr,l(l({},t.data),{},{props:l(l({},t.props),s)}))}},nn={name:"ArrayField",props:$r,data:function(){return{formKeys:this.getCuFormData().map((function(){return _()}))}},computed:{uiOptions:function(){var e=this.$props,t=e.schema,r=e.uiSchema,n=e.rootFormData;return er({schema:t,uiSchema:r,curNodePath:e.curNodePath,rootFormData:n})},itemsFormData:function(){var e=this.$data.formKeys;return this.curFormData.map((function(t,r){return{key:e[r],value:t}}))},curFormData:function(){return this.getCuFormData()}},watch:{curFormData:function(e,t){e!==t&&Array.isArray(e)&&(this.formKeys=e.map((function(){return _()})))}},methods:{getCuFormData:function(){var e=this.$props,t=Gt(e.rootFormData,e.curNodePath);return Array.isArray(t)?t:[]},getNewFormDataRow:function(){var e=this.$props,t=e.schema,r=e.rootSchema,n=t.items;return cr(this.schema)&&ur(this.schema)&&(n=t.additionalItems),Er(n,void 0,r)},handleArrayOperate:function(e){var t=e.command,r=e.data,n={moveUp:function(e,t){!function(e,t){if(0===t)return!1;var r=[e[t],e[t-1]];e.splice.apply(e,[t-1,2].concat(r))}(e,t.index)},moveDown:function(e,t){!function(e,t){if(t===e.length-1)return!1;var r=e[t],n=[e[t+1],r];e.splice.apply(e,[t,2].concat(n))}(e,t.index)},remove:function(e,t){!function(e,t){e.splice(t,1).length}(e,t.index)},add:function(e,t){var r=t.newRowData;e.push(r)},batchPush:function(e,t){t.pushArray.forEach((function(t){e.push(t)}))},setNewTarget:function(e,t){Ir(t.formData,t.nodePath,t.newTarget)}}[t];if(!n)throw new Error("错误 - 未知的操作:[".concat(t,"]"));var i=r,o=r;"add"===t?(i={newRowData:this.getNewFormDataRow()},o={newRowData:_()}):"batchPush"===t?o={pushArray:i.pushArray.map((function(e){return _()}))}:"setNewTarget"===t&&(i={formData:this.rootFormData,nodePath:this.curNodePath,newTarget:i.newTarget},o={formData:this.$data,nodePath:"formKeys",newTarget:i.newTarget.map((function(e){return _()}))}),n.apply(this,[this.$data.formKeys,o]),n.apply(this,[this.curFormData,i]),this.uiOptions.afterArrayOperate&&this.uiOptions.afterArrayOperate.call(null,this.curFormData,t,r)}},render:function(e){var t=this.$props,r=t.schema,n=t.uiSchema,i=t.rootSchema,o=t.rootFormData,s=t.curNodePath,c=t.globalOptions;if(!r.hasOwnProperty("items"))throw new Error("[".concat(r,"] 请先定义 items属性"));if(lr(r,i))return e(en,{props:this.$props,class:a({},k(en.name),!0)});if(r.format||r["ui:widget"]||n["ui:widget"])return e(rn,{props:this.$props,class:a({},k(rn.name),!0)});var u=cr(r)?tn:Zr;return e("div",[e(u,{props:l({itemsFormData:this.itemsFormData},this.$props),class:a({},k(u.name),!0),on:{onArrayOperate:this.handleArrayOperate}}),this.needValidFieldGroup?e(Wr,{key:"validateWidget-array",class:{validateWidget:!0,"validateWidget-array":!0},props:{schema:Object.entries(this.$props.schema).reduce((function(e,t){var r=f(t,2),n=r[0],i=r[1];return"items"!==n&&(e[n]=i),e}),{}),uiSchema:n,errorSchema:this.errorSchema,curNodePath:s,rootFormData:o,globalOptions:c}}):null])}},on={name:"SelectLinkageField",props:l(l({},$r),{},{combiningType:{type:String,default:"anyOf"},selectList:{type:Array,require:!0}}),data:function(){return{curSelectIndex:this.computedCurSelectIndexByFormData(Gt(this.rootFormData,this.curNodePath))}},methods:{computedCurSelectIndexByFormData:function(e){return Sr(e,this.selectList,this.rootSchema,!0)},getSelectBoxVNode:function(){var e=this,t=rr({schema:this.schema["".concat(this.combiningType,"Select")]||{},uiSchema:this.uiSchema["".concat(this.combiningType,"Select")]||{},curNodePath:this.curNodePath,rootFormData:this.rootFormData},(function(){return{widget:"SelectWidget"}}));if(t.label=t.label||this.schema.title,t.description=t.description||this.schema.description,!t.uiProps.enumOptions){var r=this.uiSchema[this.combiningType]||[];t.uiProps.enumOptions=this.selectList.map((function(e,t){return{label:tr({schema:e,uiSchema:r[t],containsSpec:!1}).title||"选项 ".concat(t+1),value:t}}))}return this.$createElement(Wr,{key:"fieldSelect_".concat(this.combiningType),class:a({},"fieldSelect_".concat(this.combiningType),!0),props:l({isFormData:!1,curValue:this.curSelectIndex,globalOptions:this.globalOptions,rootFormData:this.rootFormData,curNodePath:this.curNodePath},t),on:{onOtherDataChange:function(t){e.curSelectIndex=t}}})}},watch:{curSelectIndex:function(e,t){var r=this,n=Gt(this.rootFormData,this.curNodePath),i=Er(this.selectList[e],void 0,this.rootSchema),o=Object.prototype.hasOwnProperty;if(v(n)){var a=Ut(this.selectList[t],this.rootSchema);if("object"===b(a))for(var s in a.properties)o.call(a.properties,s)&&!o.call(i,s)&&Or(n,s)}v(i)?Object.entries(i).forEach((function(t){var i,o=f(t,2),a=o[0],s=o[1];void 0===s||void 0!==n[a]&&!v(s)&&void 0===(null===(i=Ut(r.selectList[e],r.rootSchema).properties[a])||void 0===i?void 0:i.const)||Ir(n,a,s)})):Ir(this.rootFormData,this.curNodePath,void 0===i&&wr(Ut(this.selectList[e],this.rootSchema),n)?n:i)}},render:function(e){var t,r=this,n=this.$props.curNodePath,i=qt(n),o="object"===this.schema.type||this.schema.properties,s=[this.getSelectBoxVNode()],c=this.selectList[this.curSelectIndex];if(c){var f=this.schema,h=this.combiningType,p="".concat(this.combiningType,"Select");f.properties,f[h],f[p];var d=u(f,["properties",h,p].map(m));c=Object.assign({},d,c)}var v=o&&P(c&&c.properties);if(c&&!v){var g=this.schema,y=this.combiningType,b="".concat(this.combiningType,"Select");g.properties,g[y],g[b];var w=u(g,["properties",y,b].map(m));c=Object.assign({},w,c);var x=E(tr({schema:{},uiSchema:this.uiSchema,containsSpec:!1,curNodePath:n,rootFormData:this.rootFormData}),(function(e){return e===r.combiningType?void 0:"ui:".concat(e)})),S=E(nr({schema:{},uiSchema:this.uiSchema,errorSchema:this.errorSchema}),(function(e){return e===r.combiningType?void 0:"err:".concat(e)}));s.push(e(sn,{key:"appendSchema_".concat(this.combiningType),props:l(l({},this.$props),{},{schema:l({"ui:showTitle":!1,"ui:showDescription":!1},c),required:this.required,uiSchema:l(l({},x),(this.uiSchema[this.combiningType]||[])[this.curSelectIndex]),errorSchema:l(l({},S),(this.errorSchema[this.combiningType]||[])[this.curSelectIndex])})}))}var _=null;if(o&&!P(this.schema.properties)){var k,C=c;C.title,C.description,C.properties;var j=u(C,["title","description","properties"]),O=Object.assign({},this.schema,j);delete O[this.combiningType],_=e(sn,{key:"origin_".concat(this.combiningType),class:(k={},a(k,"".concat(this.combiningType,"_originBox"),!0),a(k,"".concat(i,"-originBox"),!0),k),props:l(l({},this.$props),{},{schema:O})})}return s.push(e(Wr,{key:"validateWidget-".concat(this.combiningType),class:a({validateWidget:!0},"validateWidget-".concat(this.combiningType),!0),props:{schema:this.schema,uiSchema:this.uiSchema,errorSchema:this.errorSchema,curNodePath:this.curNodePath,rootFormData:this.rootFormData,globalOptions:this.globalOptions}})),e("div",[_,e("div",{key:"appendBox_".concat(this.combiningType),class:(t={appendCombining_box:!0},a(t,"".concat(this.combiningType,"_appendBox"),!0),a(t,"".concat(i,"-appendBox"),!0),t)},s)])}},an={array:nn,boolean:Yr,integer:Jr,number:Qr,object:Gr,string:Kr,null:{render:function(){return null}},anyOf:{name:"AnyOfField",functional:!0,render:function(e,t){var r=t.data,n=r.props,i=u(r,["props"]);return e(on,l(l({},i),{},{props:l(l({},n),{},{combiningType:"anyOf",selectList:n.schema.anyOf})}),t.children)}},oneOf:{name:"oneOfField",functional:!0,render:function(e,t){var r=t.data,n=r.props,i=u(r,["props"]);return e(on,l(l({},i),{},{props:l(l({},n),{},{combiningType:"oneOf",selectList:n.schema.oneOf})}),t.children)}}},sn={name:"SchemaField",props:$r,functional:!0,render:function(e,t){var r,n=t.props,i=n.rootSchema,o=Ut(n.schema,i),s=l(l({},n),{},{schema:o});if(0===Object.keys(o).length)return null;var c,u,f=Zt(an,s),h=f.field,p=f.fieldProps,d=Xt({schema:o,uiSchema:n.uiSchema,curNodePath:n.curNodePath,rootFormData:n.rootFormData}),m=qt(n.curNodePath);return o.anyOf&&o.anyOf.length>0&&!sr(o)?e(an.anyOf,{class:(c={},a(c,"".concat(m,"-anyOf"),!0),a(c,"fieldItem",!0),a(c,"anyOfField",!0),c),props:s}):o.oneOf&&o.oneOf.length>0&&!sr(o)?e(an.oneOf,{class:(u={},a(u,"".concat(m,"-oneOf"),!0),a(u,"fieldItem",!0),a(u,"oneOfField",!0),u),props:s}):h&&!d?e(h,{props:l(l({},s),{},{fieldProps:p}),class:l(l({},t.data.class),{},(r={},a(r,k(h.name)||h,!0),a(r,"hiddenWidget",d),a(r,"fieldItem",!0),a(r,m,!0),r))}):null}},cn={name:"CheckboxesWidget",props:{enumOptions:{default:function(){return[]},type:[Array]}}},ln=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("el-checkbox-group",e._g(e._b({},"el-checkbox-group",e.$attrs,!1),e.$listeners),e._l(e.enumOptions,(function(t,n){return r("el-checkbox",{key:n,attrs:{label:t.value}},[e._v("\n "+e._s(t.label)+"\n ")])})),1)};ln._withStripped=!0;var un=Ar({render:ln,staticRenderFns:[]},void 0,cn,void 0,!1,void 0,!1,void 0,void 0,void 0),fn={name:"RadioWidget",props:{enumOptions:{default:function(){return[]},type:[Array]}}},hn=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("el-radio-group",e._g(e._b({},"el-radio-group",e.$attrs,!1),e.$listeners),e._l(e.enumOptions,(function(t,n){return r("el-radio",{key:n,attrs:{label:t.value}},[e._v("\n "+e._s(t.label)+"\n ")])})),1)};hn._withStripped=!0;var pn=Ar({render:hn,staticRenderFns:[]},void 0,fn,void 0,!1,void 0,!1,void 0,void 0,void 0),dn={name:"SelectWidget",props:{enumOptions:{default:function(){return[]},type:[Array]}}},mn=function(){var e=this.$createElement,t=this._self._c||e;return t("el-select",this._g(this._b({},"el-select",this.$attrs,!1),this.$listeners),this._l(this.enumOptions,(function(e,r){return t("el-option",{key:r,attrs:{label:e.label,value:e.value}})})),1)};mn._withStripped=!0;var vn={CheckboxesWidget:un,RadioWidget:pn,SelectWidget:Ar({render:mn,staticRenderFns:[]},void 0,dn,void 0,!1,void 0,!1,void 0,void 0,void 0),TimePickerWidget:{name:"TimePickerWidget",functional:!0,render:function(e,t){t.data.attrs=l({"value-format":"HH:mm:ss"},t.data.attrs||{});var r=t.data.on.input;return t.data.on=l(l({},t.data.on),{},{input:function(e){r.apply(t.data.on,[null===e?void 0:e])}}),e("el-time-picker",t.data,t.children)}},DatePickerWidget:{name:"DatePickerWidget",functional:!0,render:function(e,t){var r=t.data.attrs||{},n=r.isNumberValue,i=r.isRange,o=u(r,["isNumberValue","isRange"]);t.data.attrs=l({type:i?"daterange":"date","value-format":n?"timestamp":"yyyy-MM-dd"},o);var a=t.data.on.input;return t.data.on=l(l({},t.data.on),{},{input:function(e){var r=null===e?i?[]:void 0:e;a.apply(t.data.on,[r])}}),e("el-date-picker",t.data,t.children)}},DateTimePickerWidget:{name:"DateTimePickerWidget",functional:!0,render:function(e,t){var r=t.data.attrs||{},n=r.isNumberValue,i=r.isRange,o=u(r,["isNumberValue","isRange"]);t.data.attrs=l({type:i?"datetimerange":"datetime"},o);var a=t.data.on.input;return t.data.on=l(l({},t.data.on),{},{input:function(e){var r;r=i?null===e?[]:e.map((function(e){return new Date(e)[n?"valueOf":"toISOString"]()})):null===e?void 0:new Date(e)[n?"valueOf":"toISOString"](),a.apply(t.data.on,[r])}}),e("el-date-picker",t.data,t.children)}},UploadWidget:{name:"UploadWidget",props:{value:{default:null,type:[String,Array]},responseFileUrl:{default:function(e){return e?e.url||e.data&&e.data.url:""},type:[Function]},btnText:{type:String,default:"点击上传"},slots:{type:null,default:null}},data:function(){var e=this.value,t=Array.isArray(e),r=this.$attrs.fileList||(t?e.map((function(e,t){return{name:"已上传文件(".concat(t+1,")"),url:e}})):e?[{name:"已上传文件",url:e}]:[]);return{isArrayValue:t,fileList:r}},methods:{getUrl:function(e){return e&&(e.response&&this.responseFileUrl(e.response)||e.url)||""},emitValue:function(e){var t,r=this;if(this.isArrayValue)t=e.length?e.reduce((function(e,t){var n=r.getUrl(t);return n&&e.push(n),e}),[]):[];else{var n=e[e.length-1];t=this.getUrl(n)}this.$emit("input",t)}},render:function(){var e=this,t=this.$createElement,r=this.$attrs,n=this.$props.slots,i={attrs:l(l({fileList:this.fileList,"on-exceed":function(){e.$message&&e.$message.warning("超出文件上传数")},"on-error":function(){e.$message&&e.$message.error("文件上传失败")},"on-preview":function(t){var r=e.getUrl(t);r&&function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_blank",r=document.createElement("a");r.style.display="none",r.target=t,r.href=e,document.body.appendChild(r),r.click(),document.body.removeChild(r)}(r)}},r),{},{"on-remove":function(t,n){e.emitValue(n),r["on-remove"]&&r["on-remove"](t,n)},"on-success":function(t,n,i){e.emitValue(i),r["on-success"]&&r["on-success"](t,n,i)}})};this.isArrayValue||(i.attrs.limit=1);var o=[];return n&&n.default?o.push(t("template",{slot:"default"},["function"==typeof n.default?n.default(t):n.default])):o.push(t("el-button",{props:{type:"primary"}},[this.btnText])),n&&n.tip&&o.push(t("template",{slot:"tip"},["function"==typeof n.tip?n.tip(t):n.tip])),t("el-upload",i,o)}}},gn={types:{boolean:"el-switch",string:"el-input",number:"el-input-number",integer:"el-input-number"},formats:{color:"el-color-picker",time:vn.TimePickerWidget,date:vn.DatePickerWidget,"date-time":vn.DateTimePickerWidget},common:{select:vn.SelectWidget,radioGroup:vn.RadioWidget,checkboxGroup:vn.CheckboxesWidget},widgetComponents:vn};kr(".genFromComponent.el-form--label-top .el-form-item__label{line-height:26px;padding-bottom:6px;font-size:14px}.genFromComponent .el-checkbox,.genFromComponent .el-color-picker{vertical-align:top}");var yn=Object.freeze({WIDGET_MAP:Object.freeze(gn),COMPONENT_MAP:Object.freeze({form:"el-form",formItem:"el-form-item",button:"el-button",popover:"el-popover"}),HELPERS:{isMiniDes:function(e){return e&&["left","right"].includes(e.labelPosition)}}}),bn=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.WIDGET_MAP.widgetComponents&&Object.entries(e.WIDGET_MAP.widgetComponents).forEach((function(e){var t=f(e,2),r=t[0],n=t[1];return i().component(r,n)})),{name:"VueForm",props:Cr,provide:function(){return{genFormProvide:this.genFormProvide}},data:function(){var e=Er(this.$props.schema,this.$props.value,this.$props.schema,this.$props.strictMode);return this.emitFormDataChange(e,this.value),{formData:e}},computed:{genFormProvide:function(){return this.$props},footerParams:function(){return l({show:!0,okBtn:"保存",cancelBtn:"取消"},this.formFooter)}},watch:{formData:{handler:function(e,t){this.emitFormDataChange(e,t)},deep:!0},schema:function(e,t){this.willReceiveProps(e,t)},value:function(e,t){this.willReceiveProps(e,t)}},methods:{emitFormDataChange:function(e,t){this.$emit("input",e),this.$emit("on-change",{newValue:e,oldValue:t})},willReceiveProps:function(e,t){if(!w(e,t)){var r=Er(this.$props.schema,this.$props.value,this.$props.schema,this.$props.strictMode);w(this.formData,r)||(this.formData=r)}}},mounted:function(){this.$$uiFormRef=this.$refs.genEditForm,this.$emit("on-form-mounted",this.$refs.genEditForm,{formData:this.formData})},render:function(t){var r,n=this,i=this.$scopedSlots.default?this.$scopedSlots.default({formData:n.formData,formRefFn:function(){return n.$refs.genEditForm}}):this.footerParams.show?t(jr,{props:{globalOptions:e,okBtn:n.footerParams.okBtn,okBtnProps:n.footerParams.okBtnProps,cancelBtn:n.footerParams.cancelBtn,formItemAttrs:n.footerParams.formItemAttrs},on:{onCancel:function(){n.$emit("on-cancel")},onSubmit:function(){n.$refs.genEditForm.validate((function(e,t){return e?n.$emit("on-submit",n.formData):n.$emit("on-validation-failed",t)}))}}}):void 0,o=n.$props.formProps,s=o.layoutColumn,c=void 0===s?1:s,f=o.inlineFooter;o.labelSuffix,o.isMiniDes,o.defaultSelectFirstOption,o.popover;var h=u(o,["layoutColumn","inlineFooter","labelSuffix","isMiniDes","defaultSelectFirstOption","popover"]),p=h.inline,d=void 0!==p&&p,m=h.labelPosition,v=void 0===m?"top":m,g={schema:this.schema,uiSchema:this.uiSchema,errorSchema:this.errorSchema,customFormats:this.customFormats,customRule:this.customRule,rootSchema:this.schema,rootFormData:this.formData,curNodePath:"",globalOptions:e,formProps:l({labelPosition:v,labelSuffix:":",defaultSelectFirstOption:!0,inline:d},n.$props.formProps)};return t(e.COMPONENT_MAP.form,{class:(r={genFromComponent:!0,formInlineFooter:f,formInline:d},a(r,"genFromComponent_".concat(this.schema.id,"Form"),!!this.schema.id),a(r,"layoutColumn",!d),a(r,"layoutColumn-".concat(c),!d),r),nativeOn:{submit:function(e){e.preventDefault()}},ref:"genEditForm",props:l({model:n.formData,labelPosition:v,inline:d},h)},[t(sn,{props:g}),i])}}}(yn);"undefined"!=typeof window&&window.Vue&&window.Vue.component("VueForm",bn),t.Ay=bn},4857:function(e,t,r){r(381),
|
|
33
|
-
/**
|
|
34
|
-
* Less - Leaner CSS v4.2.0
|
|
35
|
-
* http://lesscss.org
|
|
36
|
-
*
|
|
37
|
-
* Copyright (c) 2009-2023, Alexis Sellier <self@cloudhead.net>
|
|
38
|
-
* Licensed under the Apache-2.0 License.
|
|
39
|
-
*
|
|
40
|
-
* @license Apache-2.0
|
|
41
|
-
*/
|
|
42
|
-
function(t,r){e.exports=r()}(0,(function(){"use strict";function e(){return{javascriptEnabled:!1,depends:!1,compress:!1,lint:!1,paths:[],color:!0,strictImports:!1,insecure:!1,rootpath:"",rewriteUrls:!1,math:1,strictUnits:!1,globalVars:null,modifyVars:null,urlArgs:""}}function t(e){return e.replace(/^[a-z-]+:\/+?[^/]+/,"").replace(/[?&]livereload=\w+/,"").replace(/^\//,"").replace(/\.[a-zA-Z]+$/,"").replace(/[^.\w-]+/g,"-").replace(/\./g,":")}function r(e,t){if(t)for(var r in t.dataset)if(Object.prototype.hasOwnProperty.call(t.dataset,r))if("env"===r||"dumpLineNumbers"===r||"rootpath"===r||"errorReporting"===r)e[r]=t.dataset[r];else try{e[r]=JSON.parse(t.dataset[r])}catch(n){}}var n={createCSS:function(e,r,n){var i=n.href||"",o="less:"+(n.title||t(i)),a=e.getElementById(o),s=!1,c=e.createElement("style");c.setAttribute("type","text/css"),n.media&&c.setAttribute("media",n.media),c.id=o,c.styleSheet||(c.appendChild(e.createTextNode(r)),s=null!==a&&a.childNodes.length>0&&c.childNodes.length>0&&a.firstChild.nodeValue===c.firstChild.nodeValue);var l=e.getElementsByTagName("head")[0];if(null===a||!1===s){var u=n&&n.nextSibling||null;u?u.parentNode.insertBefore(c,u):l.appendChild(c)}if(a&&!1===s&&a.parentNode.removeChild(a),c.styleSheet)try{c.styleSheet.cssText=r}catch(f){throw new Error("Couldn't reassign styleSheet.cssText.")}},currentScript:function(e){var t=e.document;return t.currentScript||function(){var e=t.getElementsByTagName("script");return e[e.length-1]}()}},i=function(e,t){r(t,n.currentScript(e)),void 0===t.isFileProtocol&&(t.isFileProtocol=/^(file|(chrome|safari)(-extension)?|resource|qrc|app):/.test(e.location.protocol)),t.async=t.async||!1,t.fileAsync=t.fileAsync||!1,t.poll=t.poll||(t.isFileProtocol?1e3:1500),t.env=t.env||("127.0.0.1"==e.location.hostname||"0.0.0.0"==e.location.hostname||"localhost"==e.location.hostname||e.location.port&&e.location.port.length>0||t.isFileProtocol?"development":"production");var i=/!dumpLineNumbers:(comments|mediaquery|all)/.exec(e.location.hash);i&&(t.dumpLineNumbers=i[1]),void 0===t.useFileCache&&(t.useFileCache=!0),void 0===t.onReady&&(t.onReady=!0),t.relativeUrls&&(t.rewriteUrls="all")},o={error:function(e){this._fireEvent("error",e)},warn:function(e){this._fireEvent("warn",e)},info:function(e){this._fireEvent("info",e)},debug:function(e){this._fireEvent("debug",e)},addListener:function(e){this._listeners.push(e)},removeListener:function(e){for(var t=0;t<this._listeners.length;t++)if(this._listeners[t]===e)return void this._listeners.splice(t,1)},_fireEvent:function(e,t){for(var r=0;r<this._listeners.length;r++){var n=this._listeners[r][e];n&&n(t)}},_listeners:[]},a=function(){function e(e,t){this.fileManagers=t||[],e=e||{};for(var r=["encodeBase64","mimeLookup","charsetLookup","getSourceMapGenerator"],n=[],i=n.concat(r),o=0;o<i.length;o++){var a=i[o],s=e[a];s?this[a]=s.bind(e):o<n.length&&this.warn("missing required function in environment - "+a)}}return e.prototype.getFileManager=function(e,t,r,n,i){e||o.warn("getFileManager called with no filename.. Please report this issue. continuing."),void 0===t&&o.warn("getFileManager called with null directory.. Please report this issue. continuing.");var a=this.fileManagers;r.pluginManager&&(a=[].concat(a).concat(r.pluginManager.getFileManagers()));for(var s=a.length-1;s>=0;s--){var c=a[s];if(c[i?"supportsSync":"supports"](e,t,r,n))return c}return null},e.prototype.addFileManager=function(e){this.fileManagers.push(e)},e.prototype.clearFileManagers=function(){this.fileManagers=[]},e}(),s={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgrey:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},c={length:{m:1,cm:.01,mm:.001,in:.0254,px:.0254/96,pt:.0254/72,pc:.0254/72*12},duration:{s:1,ms:.001},angle:{rad:1/(2*Math.PI),deg:1/360,grad:1/400,turn:1}},l={colors:s,unitConversions:c},u=function(){function e(){this.parent=null,this.visibilityBlocks=void 0,this.nodeVisible=void 0,this.rootNode=null,this.parsed=null}return Object.defineProperty(e.prototype,"currentFileInfo",{get:function(){return this.fileInfo()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"index",{get:function(){return this.getIndex()},enumerable:!1,configurable:!0}),e.prototype.setParent=function(t,r){function n(t){t&&t instanceof e&&(t.parent=r)}Array.isArray(t)?t.forEach(n):n(t)},e.prototype.getIndex=function(){return this._index||this.parent&&this.parent.getIndex()||0},e.prototype.fileInfo=function(){return this._fileInfo||this.parent&&this.parent.fileInfo()||{}},e.prototype.isRulesetLike=function(){return!1},e.prototype.toCSS=function(e){var t=[];return this.genCSS(e,{add:function(e,r,n){t.push(e)},isEmpty:function(){return 0===t.length}}),t.join("")},e.prototype.genCSS=function(e,t){t.add(this.value)},e.prototype.accept=function(e){this.value=e.visit(this.value)},e.prototype.eval=function(){return this},e.prototype._operate=function(e,t,r,n){switch(t){case"+":return r+n;case"-":return r-n;case"*":return r*n;case"/":return r/n}},e.prototype.fround=function(e,t){var r=e&&e.numPrecision;return r?Number((t+2e-16).toFixed(r)):t},e.compare=function(t,r){if(t.compare&&"Quoted"!==r.type&&"Anonymous"!==r.type)return t.compare(r);if(r.compare)return-r.compare(t);if(t.type===r.type){if(t=t.value,r=r.value,!Array.isArray(t))return t===r?0:void 0;if(t.length===r.length){for(var n=0;n<t.length;n++)if(0!==e.compare(t[n],r[n]))return;return 0}}},e.numericCompare=function(e,t){return e<t?-1:e===t?0:e>t?1:void 0},e.prototype.blocksVisibility=function(){return void 0===this.visibilityBlocks&&(this.visibilityBlocks=0),0!==this.visibilityBlocks},e.prototype.addVisibilityBlock=function(){void 0===this.visibilityBlocks&&(this.visibilityBlocks=0),this.visibilityBlocks=this.visibilityBlocks+1},e.prototype.removeVisibilityBlock=function(){void 0===this.visibilityBlocks&&(this.visibilityBlocks=0),this.visibilityBlocks=this.visibilityBlocks-1},e.prototype.ensureVisibility=function(){this.nodeVisible=!0},e.prototype.ensureInvisibility=function(){this.nodeVisible=!1},e.prototype.isVisible=function(){return this.nodeVisible},e.prototype.visibilityInfo=function(){return{visibilityBlocks:this.visibilityBlocks,nodeVisible:this.nodeVisible}},e.prototype.copyVisibilityInfo=function(e){e&&(this.visibilityBlocks=e.visibilityBlocks,this.nodeVisible=e.nodeVisible)},e}(),f=function(e,t,r){var n=this;Array.isArray(e)?this.rgb=e:e.length>=6?(this.rgb=[],e.match(/.{2}/g).map((function(e,t){t<3?n.rgb.push(parseInt(e,16)):n.alpha=parseInt(e,16)/255}))):(this.rgb=[],e.split("").map((function(e,t){t<3?n.rgb.push(parseInt(e+e,16)):n.alpha=parseInt(e+e,16)/255}))),this.alpha=this.alpha||("number"===typeof t?t:1),"undefined"!==typeof r&&(this.value=r)};function h(e,t){return Math.min(Math.max(e,0),t)}function p(e){return"#"+e.map((function(e){return e=h(Math.round(e),255),(e<16?"0":"")+e.toString(16)})).join("")}f.prototype=Object.assign(new u,{type:"Color",luma:function(){var e=this.rgb[0]/255,t=this.rgb[1]/255,r=this.rgb[2]/255;return e=e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4),t=t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4),r=r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4),.2126*e+.7152*t+.0722*r},genCSS:function(e,t){t.add(this.toCSS(e))},toCSS:function(e,t){var r,n,i,o=e&&e.compress&&!t,a=[];if(n=this.fround(e,this.alpha),this.value)if(0===this.value.indexOf("rgb"))n<1&&(i="rgba");else{if(0!==this.value.indexOf("hsl"))return this.value;i=n<1?"hsla":"hsl"}else n<1&&(i="rgba");switch(i){case"rgba":a=this.rgb.map((function(e){return h(Math.round(e),255)})).concat(h(n,1));break;case"hsla":a.push(h(n,1));case"hsl":r=this.toHSL(),a=[this.fround(e,r.h),this.fround(e,100*r.s)+"%",this.fround(e,100*r.l)+"%"].concat(a)}if(i)return i+"("+a.join(","+(o?"":" "))+")";if(r=this.toRGB(),o){var s=r.split("");s[1]===s[2]&&s[3]===s[4]&&s[5]===s[6]&&(r="#"+s[1]+s[3]+s[5])}return r},operate:function(e,t,r){for(var n=new Array(3),i=this.alpha*(1-r.alpha)+r.alpha,o=0;o<3;o++)n[o]=this._operate(e,t,this.rgb[o],r.rgb[o]);return new f(n,i)},toRGB:function(){return p(this.rgb)},toHSL:function(){var e,t,r=this.rgb[0]/255,n=this.rgb[1]/255,i=this.rgb[2]/255,o=this.alpha,a=Math.max(r,n,i),s=Math.min(r,n,i),c=(a+s)/2,l=a-s;if(a===s)e=t=0;else{switch(t=c>.5?l/(2-a-s):l/(a+s),a){case r:e=(n-i)/l+(n<i?6:0);break;case n:e=(i-r)/l+2;break;case i:e=(r-n)/l+4;break}e/=6}return{h:360*e,s:t,l:c,a:o}},toHSV:function(){var e,t,r=this.rgb[0]/255,n=this.rgb[1]/255,i=this.rgb[2]/255,o=this.alpha,a=Math.max(r,n,i),s=Math.min(r,n,i),c=a,l=a-s;if(t=0===a?0:l/a,a===s)e=0;else{switch(a){case r:e=(n-i)/l+(n<i?6:0);break;case n:e=(i-r)/l+2;break;case i:e=(r-n)/l+4;break}e/=6}return{h:360*e,s:t,v:c,a:o}},toARGB:function(){return p([255*this.alpha].concat(this.rgb))},compare:function(e){return e.rgb&&e.rgb[0]===this.rgb[0]&&e.rgb[1]===this.rgb[1]&&e.rgb[2]===this.rgb[2]&&e.alpha===this.alpha?0:void 0}}),f.fromKeyword=function(e){var t,r=e.toLowerCase();if(s.hasOwnProperty(r)?t=new f(s[r].slice(1)):"transparent"===r&&(t=new f([0,0,0],0)),t)return t.value=e,t};var d=function(e){this.value=e};d.prototype=Object.assign(new u,{type:"Paren",genCSS:function(e,t){t.add("("),this.value.genCSS(e,t),t.add(")")},eval:function(e){return new d(this.value.eval(e))}});var m={"":!0," ":!0,"|":!0},v=function(e){" "===e?(this.value=" ",this.emptyOrWhitespace=!0):(this.value=e?e.trim():"",this.emptyOrWhitespace=""===this.value)};v.prototype=Object.assign(new u,{type:"Combinator",genCSS:function(e,t){var r=e.compress||m[this.value]?"":" ";t.add(r+this.value+r)}});var g=function(e,t,r,n,i,o){this.combinator=e instanceof v?e:new v(e),this.value="string"===typeof t?t.trim():t||"",this.isVariable=r,this._index=n,this._fileInfo=i,this.copyVisibilityInfo(o),this.setParent(this.combinator,this)};g.prototype=Object.assign(new u,{type:"Element",accept:function(e){var t=this.value;this.combinator=e.visit(this.combinator),"object"===typeof t&&(this.value=e.visit(t))},eval:function(e){return new g(this.combinator,this.value.eval?this.value.eval(e):this.value,this.isVariable,this.getIndex(),this.fileInfo(),this.visibilityInfo())},clone:function(){return new g(this.combinator,this.value,this.isVariable,this.getIndex(),this.fileInfo(),this.visibilityInfo())},genCSS:function(e,t){t.add(this.toCSS(e),this.fileInfo(),this.getIndex())},toCSS:function(e){e=e||{};var t=this.value,r=e.firstSelector;return t instanceof d&&(e.firstSelector=!0),t=t.toCSS?t.toCSS(e):t,e.firstSelector=r,""===t&&"&"===this.combinator.value.charAt(0)?"":this.combinator.toCSS(e)+t}});var y={ALWAYS:0,PARENS_DIVISION:1,PARENS:2},b={OFF:0,LOCAL:1,ALL:2};function w(e){return Object.prototype.toString.call(e).slice(8,-1)}function x(e){return"Object"===w(e)&&(e.constructor===Object&&Object.getPrototypeOf(e)===Object.prototype)}function S(e){return"Array"===w(e)}
|
|
43
|
-
/*! *****************************************************************************
|
|
44
|
-
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
45
|
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
46
|
-
this file except in compliance with the License. You may obtain a copy of the
|
|
47
|
-
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
48
|
-
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
49
|
-
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
50
|
-
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
51
|
-
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
52
|
-
See the Apache Version 2.0 License for specific language governing permissions
|
|
53
|
-
and limitations under the License.
|
|
54
|
-
***************************************************************************** */function _(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),i=0;for(t=0;t<r;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)n[i]=o[a];return n}function P(e,t,r,n,i){var o={}.propertyIsEnumerable.call(n,t)?"enumerable":"nonenumerable";"enumerable"===o&&(e[t]=r),i&&"nonenumerable"===o&&Object.defineProperty(e,t,{value:r,enumerable:!1,writable:!0,configurable:!0})}function E(e,t){if(void 0===t&&(t={}),S(e))return e.map((function(e){return E(e,t)}));if(!x(e))return e;var r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertySymbols(e);return _(r,n).reduce((function(r,n){if(S(t.props)&&!t.props.includes(n))return r;var i=e[n],o=E(i,t);return P(r,n,o,e,t.nonenumerable),r}),{})}function k(e,t){var r=e+1,n=null,i=-1;while(--r>=0&&"\n"!==t.charAt(r))i++;return"number"===typeof e&&(n=(t.slice(0,e).match(/\n/g)||"").length),{line:n,column:i}}function C(e){var t,r=e.length,n=new Array(r);for(t=0;t<r;t++)n[t]=e[t];return n}function j(e){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}function O(e,t){var r=t||{};if(!t._defaults){r={};var n=E(e);r._defaults=n;var i=t?E(t):{};Object.assign(r,n,i)}return r}function I(e,t){if(t&&t._defaults)return t;var r=O(e,t);if(r.strictMath&&(r.math=y.PARENS),r.relativeUrls&&(r.rewriteUrls=b.ALL),"string"===typeof r.math)switch(r.math.toLowerCase()){case"always":r.math=y.ALWAYS;break;case"parens-division":r.math=y.PARENS_DIVISION;break;case"strict":case"parens":r.math=y.PARENS;break;default:r.math=y.PARENS}if("string"===typeof r.rewriteUrls)switch(r.rewriteUrls.toLowerCase()){case"off":r.rewriteUrls=b.OFF;break;case"local":r.rewriteUrls=b.LOCAL;break;case"all":r.rewriteUrls=b.ALL;break}return r}function A(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}function R(e,t){void 0===t&&(t=[]);for(var r=0,n=e.length;r<n;r++){var i=e[r];Array.isArray(i)?R(i,t):void 0!==i&&t.push(i)}return t}function F(e){return null===e||void 0===e}var D=Object.freeze({__proto__:null,getLocation:k,copyArray:C,clone:j,defaults:O,copyOptions:I,merge:A,flattenArray:R,isNullOrUndefined:F}),$=/(<anonymous>|Function):(\d+):(\d+)/,L=function(e,t,r){Error.call(this);var n=e.filename||r;if(this.message=e.message,this.stack=e.stack,t&&n){var i=t.contents[n],o=k(e.index,i),a=o.line,s=o.column,c=e.call&&k(e.call,i).line,l=i?i.split("\n"):"";if(this.type=e.type||"Syntax",this.filename=n,this.index=e.index,this.line="number"===typeof a?a+1:null,this.column=s,!this.line&&this.stack){var u=this.stack.match($),f=new Function("a","throw new Error()"),h=0;try{f()}catch(e){var p=e.stack.match($);h=1-parseInt(p[2])}u&&(u[2]&&(this.line=parseInt(u[2])+h),u[3]&&(this.column=parseInt(u[3])))}this.callLine=c+1,this.callExtract=l[c],this.extract=[l[this.line-2],l[this.line-1],l[this.line]]}};if("undefined"===typeof Object.create){var M=function(){};M.prototype=Error.prototype,L.prototype=new M}else L.prototype=Object.create(Error.prototype);L.prototype.constructor=L,L.prototype.toString=function(e){e=e||{};var t="",r=this.extract||[],n=[],i=function(e){return e};if(e.stylize){var o=typeof e.stylize;if("function"!==o)throw Error("options.stylize should be a function, got a "+o+"!");i=e.stylize}if(null!==this.line){if("string"===typeof r[0]&&n.push(i(this.line-1+" "+r[0],"grey")),"string"===typeof r[1]){var a=this.line+" ";r[1]&&(a+=r[1].slice(0,this.column)+i(i(i(r[1].substr(this.column,1),"bold")+r[1].slice(this.column+1),"red"),"inverse")),n.push(a)}"string"===typeof r[2]&&n.push(i(this.line+1+" "+r[2],"grey")),n=n.join("\n")+i("","reset")+"\n"}return t+=i(this.type+"Error: "+this.message,"red"),this.filename&&(t+=i(" in ","red")+this.filename),this.line&&(t+=i(" on line "+this.line+", column "+(this.column+1)+":","grey")),t+="\n"+n,this.callLine&&(t+=i("from ","red")+(this.filename||"")+"/n",t+=i(this.callLine,"grey")+" "+this.callExtract+"/n"),t};var T={visitDeeper:!0},N=!1;function z(e){return e}function V(e,t){var r,n;for(r in e)switch(n=e[r],typeof n){case"function":n.prototype&&n.prototype.type&&(n.prototype.typeIndex=t++);break;case"object":t=V(n,t);break}return t}var B=function(){function e(e){this._implementation=e,this._visitInCache={},this._visitOutCache={},N||(V(nt,1),N=!0)}return e.prototype.visit=function(e){if(!e)return e;var t=e.typeIndex;if(!t)return e.value&&e.value.typeIndex&&this.visit(e.value),e;var r,n=this._implementation,i=this._visitInCache[t],o=this._visitOutCache[t],a=T;if(a.visitDeeper=!0,i||(r="visit"+e.type,i=n[r]||z,o=n[r+"Out"]||z,this._visitInCache[t]=i,this._visitOutCache[t]=o),i!==z){var s=i.call(n,e,a);e&&n.isReplacing&&(e=s)}if(a.visitDeeper&&e)if(e.length)for(var c=0,l=e.length;c<l;c++)e[c].accept&&e[c].accept(this);else e.accept&&e.accept(this);return o!=z&&o.call(n,e),e},e.prototype.visitArray=function(e,t){if(!e)return e;var r,n=e.length;if(t||!this._implementation.isReplacing){for(r=0;r<n;r++)this.visit(e[r]);return e}var i=[];for(r=0;r<n;r++){var o=this.visit(e[r]);void 0!==o&&(o.splice?o.length&&this.flatten(o,i):i.push(o))}return i},e.prototype.flatten=function(e,t){var r,n,i,o,a,s;for(t||(t=[]),n=0,r=e.length;n<r;n++)if(i=e[n],void 0!==i)if(i.splice)for(a=0,o=i.length;a<o;a++)s=i[a],void 0!==s&&(s.splice?s.length&&this.flatten(s,t):t.push(s));else t.push(i);return t},e}(),U={},q=function(e,t,r){if(e)for(var n=0;n<r.length;n++)Object.prototype.hasOwnProperty.call(e,r[n])&&(t[r[n]]=e[r[n]])},H=["paths","rewriteUrls","rootpath","strictImports","insecure","dumpLineNumbers","compress","syncImport","chunkInput","mime","useFileCache","processImports","pluginManager"];U.Parse=function(e){q(e,this,H),"string"===typeof this.paths&&(this.paths=[this.paths])};var W=["paths","compress","math","strictUnits","sourceMap","importMultiple","urlArgs","javascriptEnabled","pluginManager","importantScope","rewriteUrls"];function G(e){return!/^(?:[a-z-]+:|\/|#)/i.test(e)}function K(e){return"."===e.charAt(0)}U.Eval=function(e,t){q(e,this,W),"string"===typeof this.paths&&(this.paths=[this.paths]),this.frames=t||[],this.importantScope=this.importantScope||[]},U.Eval.prototype.enterCalc=function(){this.calcStack||(this.calcStack=[]),this.calcStack.push(!0),this.inCalc=!0},U.Eval.prototype.exitCalc=function(){this.calcStack.pop(),this.calcStack.length||(this.inCalc=!1)},U.Eval.prototype.inParenthesis=function(){this.parensStack||(this.parensStack=[]),this.parensStack.push(!0)},U.Eval.prototype.outOfParenthesis=function(){this.parensStack.pop()},U.Eval.prototype.inCalc=!1,U.Eval.prototype.mathOn=!0,U.Eval.prototype.isMathOn=function(e){return!!this.mathOn&&(!!("/"!==e||this.math===y.ALWAYS||this.parensStack&&this.parensStack.length)&&(!(this.math>y.PARENS_DIVISION)||this.parensStack&&this.parensStack.length))},U.Eval.prototype.pathRequiresRewrite=function(e){var t=this.rewriteUrls===b.LOCAL?K:G;return t(e)},U.Eval.prototype.rewritePath=function(e,t){var r;return t=t||"",r=this.normalizePath(t+e),K(e)&&G(t)&&!1===K(r)&&(r="./"+r),r},U.Eval.prototype.normalizePath=function(e){var t,r=e.split("/").reverse();e=[];while(0!==r.length)switch(t=r.pop(),t){case".":break;case"..":0===e.length||".."===e[e.length-1]?e.push(t):e.pop();break;default:e.push(t);break}return e.join("/")};var Q=function(){function e(e){this.imports=[],this.variableImports=[],this._onSequencerEmpty=e,this._currentDepth=0}return e.prototype.addImport=function(e){var t=this,r={callback:e,args:null,isReady:!1};return this.imports.push(r),function(){r.args=Array.prototype.slice.call(arguments,0),r.isReady=!0,t.tryRun()}},e.prototype.addVariableImport=function(e){this.variableImports.push(e)},e.prototype.tryRun=function(){this._currentDepth++;try{while(1){while(this.imports.length>0){var e=this.imports[0];if(!e.isReady)return;this.imports=this.imports.slice(1),e.callback.apply(null,e.args)}if(0===this.variableImports.length)break;var t=this.variableImports[0];this.variableImports=this.variableImports.slice(1),t()}}finally{this._currentDepth--}0===this._currentDepth&&this._onSequencerEmpty&&this._onSequencerEmpty()},e}(),J=function(e,t){this._visitor=new B(this),this._importer=e,this._finish=t,this.context=new U.Eval,this.importCount=0,this.onceFileDetectionMap={},this.recursionDetector={},this._sequencer=new Q(this._onSequencerEmpty.bind(this))};J.prototype={isReplacing:!1,run:function(e){try{this._visitor.visit(e)}catch(t){this.error=t}this.isFinished=!0,this._sequencer.tryRun()},_onSequencerEmpty:function(){this.isFinished&&this._finish(this.error)},visitImport:function(e,t){var r=e.options.inline;if(!e.css||r){var n=new U.Eval(this.context,C(this.context.frames)),i=n.frames[0];this.importCount++,e.isVariableImport()?this._sequencer.addVariableImport(this.processImportNode.bind(this,e,n,i)):this.processImportNode(e,n,i)}t.visitDeeper=!1},processImportNode:function(e,t,r){var n,i=e.options.inline;try{n=e.evalForImport(t)}catch(l){l.filename||(l.index=e.getIndex(),l.filename=e.fileInfo().filename),e.css=!0,e.error=l}if(!n||n.css&&!i)this.importCount--,this.isFinished&&this._sequencer.tryRun();else{n.options.multiple&&(t.importMultiple=!0);for(var o=void 0===n.css,a=0;a<r.rules.length;a++)if(r.rules[a]===e){r.rules[a]=n;break}var s=this.onImported.bind(this,n,t),c=this._sequencer.addImport(s);this._importer.push(n.getPath(),o,n.fileInfo(),n.options,c)}},onImported:function(e,t,r,n,i,o){r&&(r.filename||(r.index=e.getIndex(),r.filename=e.fileInfo().filename),this.error=r);var a=this,s=e.options.inline,c=e.options.isPlugin,l=e.options.optional,u=i||o in a.recursionDetector;if(t.importMultiple||(e.skip=!!u||function(){return o in a.onceFileDetectionMap||(a.onceFileDetectionMap[o]=!0,!1)}),!o&&l&&(e.skip=!0),n&&(e.root=n,e.importedFilename=o,!s&&!c&&(t.importMultiple||!u))){a.recursionDetector[o]=!0;var f=this.context;this.context=t;try{this._visitor.visit(n)}catch(r){this.error=r}this.context=f}a.importCount--,a.isFinished&&a._sequencer.tryRun()},visitDeclaration:function(e,t){"DetachedRuleset"===e.value.type?this.context.frames.unshift(e):t.visitDeeper=!1},visitDeclarationOut:function(e){"DetachedRuleset"===e.value.type&&this.context.frames.shift()},visitAtRule:function(e,t){this.context.frames.unshift(e)},visitAtRuleOut:function(e){this.context.frames.shift()},visitMixinDefinition:function(e,t){this.context.frames.unshift(e)},visitMixinDefinitionOut:function(e){this.context.frames.shift()},visitRuleset:function(e,t){this.context.frames.unshift(e)},visitRulesetOut:function(e){this.context.frames.shift()},visitMedia:function(e,t){this.context.frames.unshift(e.rules[0])},visitMediaOut:function(e){this.context.frames.shift()}};var Y=function(){function e(e){this.visible=e}return e.prototype.run=function(e){this.visit(e)},e.prototype.visitArray=function(e){if(!e)return e;var t,r=e.length;for(t=0;t<r;t++)this.visit(e[t]);return e},e.prototype.visit=function(e){return e?e.constructor===Array?this.visitArray(e):(!e.blocksVisibility||e.blocksVisibility()||(this.visible?e.ensureVisibility():e.ensureInvisibility(),e.accept(this)),e):e},e}(),X=function(){function e(){this._visitor=new B(this),this.contexts=[],this.allExtendsStack=[[]]}return e.prototype.run=function(e){return e=this._visitor.visit(e),e.allExtends=this.allExtendsStack[0],e},e.prototype.visitDeclaration=function(e,t){t.visitDeeper=!1},e.prototype.visitMixinDefinition=function(e,t){t.visitDeeper=!1},e.prototype.visitRuleset=function(e,t){if(!e.root){var r,n,i,o,a=[],s=e.rules,c=s?s.length:0;for(r=0;r<c;r++)e.rules[r]instanceof nt.Extend&&(a.push(s[r]),e.extendOnEveryPath=!0);var l=e.paths;for(r=0;r<l.length;r++){var u=l[r],f=u[u.length-1],h=f.extendList;for(o=h?C(h).concat(a):a,o&&(o=o.map((function(e){return e.clone()}))),n=0;n<o.length;n++)this.foundExtends=!0,i=o[n],i.findSelfSelectors(u),i.ruleset=e,0===n&&(i.firstExtendOnThisSelectorPath=!0),this.allExtendsStack[this.allExtendsStack.length-1].push(i)}this.contexts.push(e.selectors)}},e.prototype.visitRulesetOut=function(e){e.root||(this.contexts.length=this.contexts.length-1)},e.prototype.visitMedia=function(e,t){e.allExtends=[],this.allExtendsStack.push(e.allExtends)},e.prototype.visitMediaOut=function(e){this.allExtendsStack.length=this.allExtendsStack.length-1},e.prototype.visitAtRule=function(e,t){e.allExtends=[],this.allExtendsStack.push(e.allExtends)},e.prototype.visitAtRuleOut=function(e){this.allExtendsStack.length=this.allExtendsStack.length-1},e}(),Z=function(){function e(){this._visitor=new B(this)}return e.prototype.run=function(e){var t=new X;if(this.extendIndices={},t.run(e),!t.foundExtends)return e;e.allExtends=e.allExtends.concat(this.doExtendChaining(e.allExtends,e.allExtends)),this.allExtendsStack=[e.allExtends];var r=this._visitor.visit(e);return this.checkExtendsForNonMatched(e.allExtends),r},e.prototype.checkExtendsForNonMatched=function(e){var t=this.extendIndices;e.filter((function(e){return!e.hasFoundMatches&&1==e.parent_ids.length})).forEach((function(e){var r="_unknown_";try{r=e.selector.toCSS({})}catch(n){}t[e.index+" "+r]||(t[e.index+" "+r]=!0,o.warn("extend '"+r+"' has no matches"))}))},e.prototype.doExtendChaining=function(e,t,r){var n,i,o,a,s,c,l,u,f=[],h=this;for(r=r||0,n=0;n<e.length;n++)for(i=0;i<t.length;i++)c=e[n],l=t[i],c.parent_ids.indexOf(l.object_id)>=0||(s=[l.selfSelectors[0]],o=h.findMatch(c,s),o.length&&(c.hasFoundMatches=!0,c.selfSelectors.forEach((function(e){var t=l.visibilityInfo();a=h.extendSelector(o,s,e,c.isVisible()),u=new nt.Extend(l.selector,l.option,0,l.fileInfo(),t),u.selfSelectors=a,a[a.length-1].extendList=[u],f.push(u),u.ruleset=l.ruleset,u.parent_ids=u.parent_ids.concat(l.parent_ids,c.parent_ids),l.firstExtendOnThisSelectorPath&&(u.firstExtendOnThisSelectorPath=!0,l.ruleset.paths.push(a))}))));if(f.length){if(this.extendChainCount++,r>100){var p="{unable to calculate}",d="{unable to calculate}";try{p=f[0].selfSelectors[0].toCSS(),d=f[0].selector.toCSS()}catch(m){}throw{message:"extend circular reference detected. One of the circular extends is currently:"+p+":extend("+d+")"}}return f.concat(h.doExtendChaining(f,t,r+1))}return f},e.prototype.visitDeclaration=function(e,t){t.visitDeeper=!1},e.prototype.visitMixinDefinition=function(e,t){t.visitDeeper=!1},e.prototype.visitSelector=function(e,t){t.visitDeeper=!1},e.prototype.visitRuleset=function(e,t){if(!e.root){var r,n,i,o,a=this.allExtendsStack[this.allExtendsStack.length-1],s=[],c=this;for(i=0;i<a.length;i++)for(n=0;n<e.paths.length;n++)if(o=e.paths[n],!e.extendOnEveryPath){var l=o[o.length-1].extendList;l&&l.length||(r=this.findMatch(a[i],o),r.length&&(a[i].hasFoundMatches=!0,a[i].selfSelectors.forEach((function(e){var t;t=c.extendSelector(r,o,e,a[i].isVisible()),s.push(t)}))))}e.paths=e.paths.concat(s)}},e.prototype.findMatch=function(e,t){var r,n,i,o,a,s,c,l=this,u=e.selector.elements,f=[],h=[];for(r=0;r<t.length;r++)for(n=t[r],i=0;i<n.elements.length;i++)for(o=n.elements[i],(e.allowBefore||0===r&&0===i)&&f.push({pathIndex:r,index:i,matched:0,initialCombinator:o.combinator}),s=0;s<f.length;s++)c=f[s],a=o.combinator.value,""===a&&0===i&&(a=" "),!l.isElementValuesEqual(u[c.matched].value,o.value)||c.matched>0&&u[c.matched].combinator.value!==a?c=null:c.matched++,c&&(c.finished=c.matched===u.length,c.finished&&!e.allowAfter&&(i+1<n.elements.length||r+1<t.length)&&(c=null)),c?c.finished&&(c.length=u.length,c.endPathIndex=r,c.endPathElementIndex=i+1,f.length=0,h.push(c)):(f.splice(s,1),s--);return h},e.prototype.isElementValuesEqual=function(e,t){if("string"===typeof e||"string"===typeof t)return e===t;if(e instanceof nt.Attribute)return e.op===t.op&&e.key===t.key&&(e.value&&t.value?(e=e.value.value||e.value,t=t.value.value||t.value,e===t):!e.value&&!t.value);if(e=e.value,t=t.value,e instanceof nt.Selector){if(!(t instanceof nt.Selector)||e.elements.length!==t.elements.length)return!1;for(var r=0;r<e.elements.length;r++){if(e.elements[r].combinator.value!==t.elements[r].combinator.value&&(0!==r||(e.elements[r].combinator.value||" ")!==(t.elements[r].combinator.value||" ")))return!1;if(!this.isElementValuesEqual(e.elements[r].value,t.elements[r].value))return!1}return!0}return!1},e.prototype.extendSelector=function(e,t,r,n){var i,o,a,s,c,l=0,u=0,f=[];for(i=0;i<e.length;i++)s=e[i],o=t[s.pathIndex],a=new nt.Element(s.initialCombinator,r.elements[0].value,r.elements[0].isVariable,r.elements[0].getIndex(),r.elements[0].fileInfo()),s.pathIndex>l&&u>0&&(f[f.length-1].elements=f[f.length-1].elements.concat(t[l].elements.slice(u)),u=0,l++),c=o.elements.slice(u,s.index).concat([a]).concat(r.elements.slice(1)),l===s.pathIndex&&i>0?f[f.length-1].elements=f[f.length-1].elements.concat(c):(f=f.concat(t.slice(l,s.pathIndex)),f.push(new nt.Selector(c))),l=s.endPathIndex,u=s.endPathElementIndex,u>=t[l].elements.length&&(u=0,l++);return l<t.length&&u>0&&(f[f.length-1].elements=f[f.length-1].elements.concat(t[l].elements.slice(u)),l++),f=f.concat(t.slice(l,t.length)),f=f.map((function(e){var t=e.createDerived(e.elements);return n?t.ensureVisibility():t.ensureInvisibility(),t})),f},e.prototype.visitMedia=function(e,t){var r=e.allExtends.concat(this.allExtendsStack[this.allExtendsStack.length-1]);r=r.concat(this.doExtendChaining(r,e.allExtends)),this.allExtendsStack.push(r)},e.prototype.visitMediaOut=function(e){var t=this.allExtendsStack.length-1;this.allExtendsStack.length=t},e.prototype.visitAtRule=function(e,t){var r=e.allExtends.concat(this.allExtendsStack[this.allExtendsStack.length-1]);r=r.concat(this.doExtendChaining(r,e.allExtends)),this.allExtendsStack.push(r)},e.prototype.visitAtRuleOut=function(e){var t=this.allExtendsStack.length-1;this.allExtendsStack.length=t},e}(),ee=function(){function e(){this.contexts=[[]],this._visitor=new B(this)}return e.prototype.run=function(e){return this._visitor.visit(e)},e.prototype.visitDeclaration=function(e,t){t.visitDeeper=!1},e.prototype.visitMixinDefinition=function(e,t){t.visitDeeper=!1},e.prototype.visitRuleset=function(e,t){var r,n=this.contexts[this.contexts.length-1],i=[];this.contexts.push(i),e.root||(r=e.selectors,r&&(r=r.filter((function(e){return e.getIsOutput()})),e.selectors=r.length?r:r=null,r&&e.joinSelectors(i,n,r)),r||(e.rules=null),e.paths=i)},e.prototype.visitRulesetOut=function(e){this.contexts.length=this.contexts.length-1},e.prototype.visitMedia=function(e,t){var r=this.contexts[this.contexts.length-1];e.rules[0].root=0===r.length||r[0].multiMedia},e.prototype.visitAtRule=function(e,t){var r=this.contexts[this.contexts.length-1];e.rules&&e.rules.length&&(e.rules[0].root=e.isRooted||0===r.length||null)},e}(),te=function(){function e(e){this._visitor=new B(this),this._context=e}return e.prototype.containsSilentNonBlockedChild=function(e){var t;if(!e)return!1;for(var r=0;r<e.length;r++)if(t=e[r],t.isSilent&&t.isSilent(this._context)&&!t.blocksVisibility())return!0;return!1},e.prototype.keepOnlyVisibleChilds=function(e){e&&e.rules&&(e.rules=e.rules.filter((function(e){return e.isVisible()})))},e.prototype.isEmpty=function(e){return!e||!e.rules||0===e.rules.length},e.prototype.hasVisibleSelector=function(e){return!(!e||!e.paths)&&e.paths.length>0},e.prototype.resolveVisibility=function(e){if(!e.blocksVisibility()){if(this.isEmpty(e))return;return e}var t=e.rules[0];if(this.keepOnlyVisibleChilds(t),!this.isEmpty(t))return e.ensureVisibility(),e.removeVisibilityBlock(),e},e.prototype.isVisibleRuleset=function(e){return!!e.firstRoot||!this.isEmpty(e)&&!(!e.root&&!this.hasVisibleSelector(e))},e}(),re=function(e){this._visitor=new B(this),this._context=e,this.utils=new te(e)};re.prototype={isReplacing:!0,run:function(e){return this._visitor.visit(e)},visitDeclaration:function(e,t){if(!e.blocksVisibility()&&!e.variable)return e},visitMixinDefinition:function(e,t){e.frames=[]},visitExtend:function(e,t){},visitComment:function(e,t){if(!e.blocksVisibility()&&!e.isSilent(this._context))return e},visitMedia:function(e,t){var r=e.rules[0].rules;return e.accept(this._visitor),t.visitDeeper=!1,this.utils.resolveVisibility(e,r)},visitImport:function(e,t){if(!e.blocksVisibility())return e},visitAtRule:function(e,t){return e.rules&&e.rules.length?this.visitAtRuleWithBody(e,t):this.visitAtRuleWithoutBody(e,t)},visitAnonymous:function(e,t){if(!e.blocksVisibility())return e.accept(this._visitor),e},visitAtRuleWithBody:function(e,t){function r(e){var t=e.rules;return 1===t.length&&(!t[0].paths||0===t[0].paths.length)}function n(e){var t=e.rules;return r(e)?t[0].rules:t}var i=n(e);return e.accept(this._visitor),t.visitDeeper=!1,this.utils.isEmpty(e)||this._mergeRules(e.rules[0].rules),this.utils.resolveVisibility(e,i)},visitAtRuleWithoutBody:function(e,t){if(!e.blocksVisibility()){if("@charset"===e.name){if(this.charset){if(e.debugInfo){var r=new nt.Comment("/* "+e.toCSS(this._context).replace(/\n/g,"")+" */\n");return r.debugInfo=e.debugInfo,this._visitor.visit(r)}return}this.charset=!0}return e}},checkValidNodes:function(e,t){if(e)for(var r=0;r<e.length;r++){var n=e[r];if(t&&n instanceof nt.Declaration&&!n.variable)throw{message:"Properties must be inside selector blocks. They cannot be in the root",index:n.getIndex(),filename:n.fileInfo()&&n.fileInfo().filename};if(n instanceof nt.Call)throw{message:"Function '"+n.name+"' did not return a root node",index:n.getIndex(),filename:n.fileInfo()&&n.fileInfo().filename};if(n.type&&!n.allowRoot)throw{message:n.type+" node returned by a function is not valid here",index:n.getIndex(),filename:n.fileInfo()&&n.fileInfo().filename}}},visitRuleset:function(e,t){var r,n=[];if(this.checkValidNodes(e.rules,e.firstRoot),e.root)e.accept(this._visitor),t.visitDeeper=!1;else{this._compileRulesetPaths(e);for(var i=e.rules,o=i?i.length:0,a=0;a<o;)r=i[a],r&&r.rules?(n.push(this._visitor.visit(r)),i.splice(a,1),o--):a++;o>0?e.accept(this._visitor):e.rules=null,t.visitDeeper=!1}return e.rules&&(this._mergeRules(e.rules),this._removeDuplicateRules(e.rules)),this.utils.isVisibleRuleset(e)&&(e.ensureVisibility(),n.splice(0,0,e)),1===n.length?n[0]:n},_compileRulesetPaths:function(e){e.paths&&(e.paths=e.paths.filter((function(e){var t;for(" "===e[0].elements[0].combinator.value&&(e[0].elements[0].combinator=new nt.Combinator("")),t=0;t<e.length;t++)if(e[t].isVisible()&&e[t].getIsOutput())return!0;return!1})))},_removeDuplicateRules:function(e){if(e){var t,r,n,i={};for(n=e.length-1;n>=0;n--)if(r=e[n],r instanceof nt.Declaration)if(i[r.name]){t=i[r.name],t instanceof nt.Declaration&&(t=i[r.name]=[i[r.name].toCSS(this._context)]);var o=r.toCSS(this._context);-1!==t.indexOf(o)?e.splice(n,1):t.push(o)}else i[r.name]=r}},_mergeRules:function(e){if(e){for(var t={},r=[],n=0;n<e.length;n++){var i=e[n];if(i.merge){var o=i.name;t[o]?e.splice(n--,1):r.push(t[o]=[]),t[o].push(i)}}r.forEach((function(e){if(e.length>0){var t=e[0],r=[],n=[new nt.Expression(r)];e.forEach((function(e){"+"===e.merge&&r.length>0&&n.push(new nt.Expression(r=[])),r.push(e.value),t.important=t.important||e.important})),t.value=new nt.Value(n)}}))}}};var ne={Visitor:B,ImportVisitor:J,MarkVisibleSelectorsVisitor:Y,ExtendVisitor:Z,JoinSelectorVisitor:ee,ToCSSVisitor:re};function ie(e,t){var r,n,i,o,a,s,c,l,u,f=e.length,h=0,p=0,d=[],m=0;function v(t){var r=a-m;r<512&&!t||!r||(d.push(e.slice(m,a+1)),m=a+1)}for(a=0;a<f;a++)if(c=e.charCodeAt(a),!(c>=97&&c<=122||c<34))switch(c){case 40:p++,n=a;continue;case 41:if(--p<0)return t("missing opening `(`",a);continue;case 59:p||v();continue;case 123:h++,r=a;continue;case 125:if(--h<0)return t("missing opening `{`",a);h||p||v();continue;case 92:if(a<f-1){a++;continue}return t("unescaped `\\`",a);case 34:case 39:case 96:for(u=0,s=a,a+=1;a<f;a++)if(l=e.charCodeAt(a),!(l>96)){if(l==c){u=1;break}if(92==l){if(a==f-1)return t("unescaped `\\`",a);a++}}if(u)continue;return t("unmatched `"+String.fromCharCode(c)+"`",s);case 47:if(p||a==f-1)continue;if(l=e.charCodeAt(a+1),47==l){for(a+=2;a<f;a++)if(l=e.charCodeAt(a),l<=13&&(10==l||13==l))break}else if(42==l){for(i=s=a,a+=2;a<f-1;a++)if(l=e.charCodeAt(a),125==l&&(o=a),42==l&&47==e.charCodeAt(a+1))break;if(a==f-1)return t("missing closing `*/`",s);a++}continue;case 42:if(a<f-1&&47==e.charCodeAt(a+1))return t("unmatched `/*`",a);continue}return 0!==h?t(i>r&&o>i?"missing closing `}` or `*/`":"missing closing `}`",r):0!==p?t("missing closing `)`",n):(v(!0),d)}var oe=function(){var e,t,r,n,i,o,a,s=[],c={},l=32,u=9,f=10,h=13,p=43,d=44,m=47,v=57;function g(r){for(var n,s,p,d=c.i,v=t,y=c.i-a,b=c.i+o.length-y,w=c.i+=r,x=e;c.i<b;c.i++){if(n=x.charCodeAt(c.i),c.autoCommentAbsorb&&n===m){if(s=x.charAt(c.i+1),"/"===s){p={index:c.i,isLineComment:!0};var S=x.indexOf("\n",c.i+2);S<0&&(S=b),c.i=S,p.text=x.substr(p.index,c.i-p.index),c.commentStore.push(p);continue}if("*"===s){var _=x.indexOf("*/",c.i+2);if(_>=0){p={index:c.i,text:x.substr(c.i,_+2-c.i),isLineComment:!1},c.i+=p.text.length-1,c.commentStore.push(p);continue}}break}if(n!==l&&n!==f&&n!==u&&n!==h)break}if(o=o.slice(r+c.i-w+y),a=c.i,!o.length){if(t<i.length-1)return o=i[++t],g(0),!0;c.finished=!0}return d!==c.i||v!==t}return c.save=function(){a=c.i,s.push({current:o,i:c.i,j:t})},c.restore=function(e){(c.i>r||c.i===r&&e&&!n)&&(r=c.i,n=e);var i=s.pop();o=i.current,a=c.i=i.i,t=i.j},c.forget=function(){s.pop()},c.isWhitespace=function(t){var r=c.i+(t||0),n=e.charCodeAt(r);return n===l||n===h||n===u||n===f},c.$re=function(e){c.i>a&&(o=o.slice(c.i-a),a=c.i);var t=e.exec(o);return t?(g(t[0].length),"string"===typeof t?t:1===t.length?t[0]:t):null},c.$char=function(t){return e.charAt(c.i)!==t?null:(g(1),t)},c.$peekChar=function(t){return e.charAt(c.i)!==t?null:t},c.$str=function(t){for(var r=t.length,n=0;n<r;n++)if(e.charAt(c.i+n)!==t.charAt(n))return null;return g(r),t},c.$quoted=function(t){var r=t||c.i,n=e.charAt(r);if("'"===n||'"'===n){for(var i=e.length,o=r,a=1;a+o<i;a++){var s=e.charAt(a+o);switch(s){case"\\":a++;continue;case"\r":case"\n":break;case n:var l=e.substr(o,a+1);return t||0===t?[n,l]:(g(a+1),l)}}return null}},c.$parseUntil=function(t){var r,n="",i=null,o=!1,a=0,s=[],l=[],u=e.length,f=c.i,h=c.i,p=c.i,d=!0;r="string"===typeof t?function(e){return e===t}:function(e){return t.test(e)};do{var m=e.charAt(p);if(0===a&&r(m))i=e.substr(h,p-h),i?l.push(i):l.push(" "),i=l,g(p-f),d=!1;else{if(o){"*"===m&&"/"===e.charAt(p+1)&&(p++,a--,o=!1),p++;continue}switch(m){case"\\":p++,m=e.charAt(p),l.push(e.substr(h,p-h+1)),h=p+1;break;case"/":"*"===e.charAt(p+1)&&(p++,o=!0,a++);break;case"'":case'"':n=c.$quoted(p),n?(l.push(e.substr(h,p-h),n),p+=n[1].length-1,h=p+1):(g(p-f),i=m,d=!1);break;case"{":s.push("}"),a++;break;case"(":s.push(")"),a++;break;case"[":s.push("]"),a++;break;case"}":case")":case"]":var v=s.pop();m===v?a--:(g(p-f),i=v,d=!1)}p++,p>u&&(d=!1)}}while(d);return i||null},c.autoCommentAbsorb=!0,c.commentStore=[],c.finished=!1,c.peek=function(t){if("string"===typeof t){for(var r=0;r<t.length;r++)if(e.charAt(c.i+r)!==t.charAt(r))return!1;return!0}return t.test(o)},c.peekChar=function(t){return e.charAt(c.i)===t},c.currentChar=function(){return e.charAt(c.i)},c.prevChar=function(){return e.charAt(c.i-1)},c.getInput=function(){return e},c.peekNotNumeric=function(){var t=e.charCodeAt(c.i);return t>v||t<p||t===m||t===d},c.start=function(n,s,l){e=n,c.i=t=a=r=0,i=s?ie(n,l):[n],o=i[0],g(0)},c.end=function(){var t,i=c.i>=e.length;return c.i<r&&(t=n,c.i=r),{isFinished:i,furthest:c.i,furthestPossibleErrorMessage:t,furthestReachedEnd:c.i>=e.length-1,furthestChar:e[c.i]}},c};function ae(e){return{_data:{},add:function(e,t){e=e.toLowerCase(),this._data.hasOwnProperty(e),this._data[e]=t},addMultiple:function(e){var t=this;Object.keys(e).forEach((function(r){t.add(r,e[r])}))},get:function(t){return this._data[t]||e&&e.get(t)},getLocalFunctions:function(){return this._data},inherit:function(){return ae(this)},create:function(e){return ae(e)}}}var se=ae(null),ce={queryInParens:!0},le={queryInParens:!0},ue=function e(t,r,n,i){var o;i=i||0;var a=oe();function s(e,t){throw new L({index:a.i,filename:n.filename,type:t||"Syntax",message:e},r)}function c(e,t){var r=e instanceof Function?e.call(o):a.$re(e);if(r)return r;s(t||("string"===typeof e?"expected '"+e+"' got '"+a.currentChar()+"'":"unexpected token"))}function l(e,t){if(a.$char(e))return e;s(t||"expected '"+e+"' got '"+a.currentChar()+"'")}function u(e){var t=n.filename;return{lineNumber:k(e,a.getInput()).line+1,fileName:t}}function f(e,t,s){var c,l=[],u=a;try{u.start(e,!1,(function(e,t){s({message:e,index:t+i})}));for(var f=0,h=void 0;h=t[f];f++)c=o[h](),l.push(c||null);var p=u.end();p.isFinished?s(null,l):s(!0,null)}catch(d){throw new L({index:d.index+i,message:d.message},r,n.filename)}}return{parserInput:a,imports:r,fileInfo:n,parseNode:f,parse:function(i,c,l){var u,f,h,p,d=null,m="";if(l&&l.disablePluginRule&&(o.plugin=function(){var e=a.$re(/^@plugin?\s+/);e&&s("@plugin statements are not allowed when disablePluginRule is set to true")}),f=l&&l.globalVars?e.serializeVars(l.globalVars)+"\n":"",h=l&&l.modifyVars?"\n"+e.serializeVars(l.modifyVars):"",t.pluginManager)for(var v=t.pluginManager.getPreProcessors(),g=0;g<v.length;g++)i=v[g].process(i,{context:t,imports:r,fileInfo:n});(f||l&&l.banner)&&(m=(l&&l.banner?l.banner:"")+f,p=r.contentsIgnoredChars,p[n.filename]=p[n.filename]||0,p[n.filename]+=m.length),i=i.replace(/\r\n?/g,"\n"),i=m+i.replace(/^\uFEFF/,"")+h,r.contents[n.filename]=i;try{a.start(i,t.chunkInput,(function(e,t){throw new L({index:t,type:"Parse",message:e,filename:n.filename},r)})),nt.Node.prototype.parse=this,u=new nt.Ruleset(null,this.parsers.primary()),nt.Node.prototype.rootNode=u,u.root=!0,u.firstRoot=!0,u.functionRegistry=se.inherit()}catch(x){return c(new L(x,r,n.filename))}var y=a.end();if(!y.isFinished){var b=y.furthestPossibleErrorMessage;b||(b="Unrecognised input","}"===y.furthestChar?b+=". Possibly missing opening '{'":")"===y.furthestChar?b+=". Possibly missing opening '('":y.furthestReachedEnd&&(b+=". Possibly missing something")),d=new L({type:"Parse",message:b,index:y.furthest,filename:n.filename},r)}var w=function(e){return e=d||e||r.error,e?(e instanceof L||(e=new L(e,r,n.filename)),c(e)):c(null,u)};if(!1===t.processImports)return w();new ne.ImportVisitor(r,w).run(u)},parsers:o={primary:function(){var e,t=this.mixin,r=[];while(1){while(1){if(e=this.comment(),!e)break;r.push(e)}if(a.finished)break;if(a.peek("}"))break;if(e=this.extendRule(),e)r=r.concat(e);else if(e=t.definition()||this.declaration()||t.call(!1,!1)||this.ruleset()||this.variableCall()||this.entities.call()||this.atrule(),e)r.push(e);else{var n=!1;while(a.$char(";"))n=!0;if(!n)break}}return r},comment:function(){if(a.commentStore.length){var e=a.commentStore.shift();return new nt.Comment(e.text,e.isLineComment,e.index+i,n)}},entities:{mixinLookup:function(){return o.mixin.call(!0,!0)},quoted:function(e){var t,r=a.i,o=!1;if(a.save(),a.$char("~"))o=!0;else if(e)return void a.restore();if(t=a.$quoted(),t)return a.forget(),new nt.Quoted(t.charAt(0),t.substr(1,t.length-2),o,r+i,n);a.restore()},keyword:function(){var e=a.$char("%")||a.$re(/^\[?(?:[\w-]|\\(?:[A-Fa-f0-9]{1,6} ?|[^A-Fa-f0-9]))+\]?/);if(e)return nt.Color.fromKeyword(e)||new nt.Keyword(e)},call:function(){var e,t,r,o=a.i;if(!a.peek(/^url\(/i))if(a.save(),e=a.$re(/^([\w-]+|%|~|progid:[\w.]+)\(/),e){if(e=e[1],r=this.customFuncCall(e),r&&(t=r.parse(),t&&r.stop))return a.forget(),t;if(t=this.arguments(t),a.$char(")"))return a.forget(),new nt.Call(e,t,o+i,n);a.restore("Could not parse call arguments or missing ')'")}else a.forget()},customFuncCall:function(e){return{alpha:t(o.ieAlpha,!0),boolean:t(r),if:t(r)}[e.toLowerCase()];function t(e,t){return{parse:e,stop:t}}function r(){return[c(o.condition,"expected condition")]}},arguments:function(e){var t,r,n=e||[],i=[];a.save();while(1){if(e)e=!1;else{if(r=o.detachedRuleset()||this.assignment()||o.expression(),!r)break;r.value&&1==r.value.length&&(r=r.value[0]),n.push(r)}a.$char(",")||(a.$char(";")||t)&&(t=!0,r=n.length<1?n[0]:new nt.Value(n),i.push(r),n=[])}return a.forget(),t?i:n},literal:function(){return this.dimension()||this.color()||this.quoted()||this.unicodeDescriptor()},assignment:function(){var e,t;if(a.save(),e=a.$re(/^\w+(?=\s?=)/i),e)if(a.$char("=")){if(t=o.entity(),t)return a.forget(),new nt.Assignment(e,t);a.restore()}else a.restore();else a.restore()},url:function(){var e,t=a.i;if(a.autoCommentAbsorb=!1,a.$str("url("))return e=this.quoted()||this.variable()||this.property()||a.$re(/^(?:(?:\\[()'"])|[^()'"])+/)||"",a.autoCommentAbsorb=!0,l(")"),new nt.URL(void 0!==e.value||e instanceof nt.Variable||e instanceof nt.Property?e:new nt.Anonymous(e,t),t+i,n);a.autoCommentAbsorb=!0},variable:function(){var e,t,r=a.i;if(a.save(),"@"===a.currentChar()&&(t=a.$re(/^@@?[\w-]+/))){if(e=a.currentChar(),"("===e||"["===e&&!a.prevChar().match(/^\s/)){var s=o.variableCall(t);if(s)return a.forget(),s}return a.forget(),new nt.Variable(t,r+i,n)}a.restore()},variableCurly:function(){var e,t=a.i;if("@"===a.currentChar()&&(e=a.$re(/^@\{([\w-]+)\}/)))return new nt.Variable("@"+e[1],t+i,n)},property:function(){var e,t=a.i;if("$"===a.currentChar()&&(e=a.$re(/^\$[\w-]+/)))return new nt.Property(e,t+i,n)},propertyCurly:function(){var e,t=a.i;if("$"===a.currentChar()&&(e=a.$re(/^\$\{([\w-]+)\}/)))return new nt.Property("$"+e[1],t+i,n)},color:function(){var e;if(a.save(),"#"===a.currentChar()&&(e=a.$re(/^#([A-Fa-f0-9]{8}|[A-Fa-f0-9]{6}|[A-Fa-f0-9]{3,4})([\w.#[])?/))&&!e[2])return a.forget(),new nt.Color(e[1],void 0,e[0]);a.restore()},colorKeyword:function(){a.save();var e=a.autoCommentAbsorb;a.autoCommentAbsorb=!1;var t=a.$re(/^[_A-Za-z-][_A-Za-z0-9-]+/);if(a.autoCommentAbsorb=e,t){a.restore();var r=nt.Color.fromKeyword(t);return r?(a.$str(t),r):void 0}a.forget()},dimension:function(){if(!a.peekNotNumeric()){var e=a.$re(/^([+-]?\d*\.?\d+)(%|[a-z_]+)?/i);return e?new nt.Dimension(e[1],e[2]):void 0}},unicodeDescriptor:function(){var e;if(e=a.$re(/^U\+[0-9a-fA-F?]+(-[0-9a-fA-F?]+)?/),e)return new nt.UnicodeDescriptor(e[0])},javascript:function(){var e,t=a.i;a.save();var r=a.$char("~"),o=a.$char("`");if(o){if(e=a.$re(/^[^`]*`/),e)return a.forget(),new nt.JavaScript(e.substr(0,e.length-1),Boolean(r),t+i,n);a.restore("invalid javascript definition")}else a.restore()}},variable:function(){var e;if("@"===a.currentChar()&&(e=a.$re(/^(@[\w-]+)\s*:/)))return e[1]},variableCall:function(e){var t,r=a.i,i=!!e,s=e;if(a.save(),s||"@"===a.currentChar()&&(s=a.$re(/^(@[\w-]+)(\(\s*\))?/))){if(t=this.mixin.ruleLookups(),!t&&(i&&"()"!==a.$str("()")||"()"!==s[2]))return void a.restore("Missing '[...]' lookup in variable call");i||(s=s[1]);var c=new nt.VariableCall(s,r,n);return!i&&o.end()?(a.forget(),c):(a.forget(),new nt.NamespaceValue(c,t,r,n))}a.restore()},extend:function(e){var t,r,o,l,u,f=a.i;if(a.$str(e?"&:extend(":":extend(")){do{o=null,t=null;while(!(o=a.$re(/^(all)(?=\s*(\)|,))/))){if(r=this.element(),!r)break;t?t.push(r):t=[r]}o=o&&o[1],t||s("Missing target selector for :extend()."),u=new nt.Extend(new nt.Selector(t),o,f+i,n),l?l.push(u):l=[u]}while(a.$char(","));return c(/^\)/),e&&c(/^;/),l}},extendRule:function(){return this.extend(!0)},mixin:{call:function(e,t){var r,s,c,u,f=a.currentChar(),h=!1,p=a.i;if("."===f||"#"===f){if(a.save(),s=this.elements(),s){if(a.$char("(")&&(c=this.args(!0).args,l(")"),u=!0),!1!==t&&(r=this.ruleLookups()),!0===t&&!r)return void a.restore();if(e&&!r&&!u)return void a.restore();if(!e&&o.important()&&(h=!0),e||o.end()){a.forget();var d=new nt.mixin.Call(s,c,p+i,n,!r&&h);return r?new nt.NamespaceValue(d,r):d}}a.restore()}},elements:function(){var e,t,r,o,s,c=/^[#.](?:[\w-]|\\(?:[A-Fa-f0-9]{1,6} ?|[^A-Fa-f0-9]))+/;while(1){if(s=a.i,t=a.$re(c),!t)break;o=new nt.Element(r,t,!1,s+i,n),e?e.push(o):e=[o],r=a.$char(">")}return e},args:function(e){var t,r,n,i,c,l,u,f=o.entities,h={args:null,variadic:!1},p=[],d=[],m=[],v=!0;a.save();while(1){if(e)l=o.detachedRuleset()||o.expression();else{if(a.commentStore.length=0,a.$str("...")){h.variadic=!0,a.$char(";")&&!t&&(t=!0),(t?d:m).push({variadic:!0});break}l=f.variable()||f.property()||f.literal()||f.keyword()||this.call(!0)}if(!l||!v)break;i=null,l.throwAwayComments&&l.throwAwayComments(),c=l;var g=null;if(e?l.value&&1==l.value.length&&(g=l.value[0]):g=l,g&&(g instanceof nt.Variable||g instanceof nt.Property))if(a.$char(":")){if(p.length>0&&(t&&s("Cannot mix ; and , as delimiter types"),r=!0),c=o.detachedRuleset()||o.expression(),!c){if(!e)return a.restore(),h.args=[],h;s("could not understand value for named argument")}i=n=g.name}else if(a.$str("...")){if(!e){h.variadic=!0,a.$char(";")&&!t&&(t=!0),(t?d:m).push({name:l.name,variadic:!0});break}u=!0}else e||(n=i=g.name,c=null);c&&p.push(c),m.push({name:i,value:c,expand:u}),a.$char(",")?v=!0:(v=";"===a.$char(";"),(v||t)&&(r&&s("Cannot mix ; and , as delimiter types"),t=!0,p.length>1&&(c=new nt.Value(p)),d.push({name:n,value:c,expand:u}),n=null,p=[],r=!1))}return a.forget(),h.args=t?d:m,h},definition:function(){var e,t,r,n,i=[],s=!1;if(!("."!==a.currentChar()&&"#"!==a.currentChar()||a.peek(/^[^{]*\}/)))if(a.save(),t=a.$re(/^([#.](?:[\w-]|\\(?:[A-Fa-f0-9]{1,6} ?|[^A-Fa-f0-9]))+)\s*\(/),t){e=t[1];var l=this.args(!1);if(i=l.args,s=l.variadic,!a.$char(")"))return void a.restore("Missing closing ')'");if(a.commentStore.length=0,a.$str("when")&&(n=c(o.conditions,"expected condition")),r=o.block(),r)return a.forget(),new nt.mixin.Definition(e,i,r,n,s);a.restore()}else a.restore()},ruleLookups:function(){var e,t=[];if("["===a.currentChar()){while(1){if(a.save(),e=this.lookupValue(),!e&&""!==e){a.restore();break}t.push(e),a.forget()}return t.length>0?t:void 0}},lookupValue:function(){if(a.save(),a.$char("[")){var e=a.$re(/^(?:[@$]{0,2})[_a-zA-Z0-9-]*/);if(a.$char("]"))return e||""===e?(a.forget(),e):void a.restore();a.restore()}else a.restore()}},entity:function(){var e=this.entities;return this.comment()||e.literal()||e.variable()||e.url()||e.property()||e.call()||e.keyword()||this.mixin.call(!0)||e.javascript()},end:function(){return a.$char(";")||a.peek("}")},ieAlpha:function(){var e;if(a.$re(/^opacity=/i))return e=a.$re(/^\d+/),e||(e=c(o.entities.variable,"Could not parse alpha"),e="@{"+e.name.slice(1)+"}"),l(")"),new nt.Quoted("","alpha(opacity="+e+")")},element:function(){var e,t,r,o=a.i;if(t=this.combinator(),e=a.$re(/^(?:\d+\.\d+|\d+)%/)||a.$re(/^(?:[.#]?|:*)(?:[\w-]|[^\x00-\x9f]|\\(?:[A-Fa-f0-9]{1,6} ?|[^A-Fa-f0-9]))+/)||a.$char("*")||a.$char("&")||this.attribute()||a.$re(/^\([^&()@]+\)/)||a.$re(/^[.#:](?=@)/)||this.entities.variableCurly(),e||(a.save(),a.$char("(")?(r=this.selector(!1))&&a.$char(")")?(e=new nt.Paren(r),a.forget()):a.restore("Missing closing ')'"):a.forget()),e)return new nt.Element(t,e,e instanceof nt.Variable,o+i,n)},combinator:function(){var e=a.currentChar();if("/"===e){a.save();var t=a.$re(/^\/[a-z]+\//i);if(t)return a.forget(),new nt.Combinator(t);a.restore()}if(">"===e||"+"===e||"~"===e||"|"===e||"^"===e){a.i++,"^"===e&&"^"===a.currentChar()&&(e="^^",a.i++);while(a.isWhitespace())a.i++;return new nt.Combinator(e)}return a.isWhitespace(-1)?new nt.Combinator(" "):new nt.Combinator(null)},selector:function(e){var t,r,o,l,u,f,h,p=a.i;e=!1!==e;while(e&&(r=this.extend())||e&&(f=a.$str("when"))||(l=this.element()))if(f?h=c(this.conditions,"expected condition"):h?s("CSS guard can only be used at the end of selector"):r?u=u?u.concat(r):r:(u&&s("Extend can only be used at the end of selector"),o=a.currentChar(),t?t.push(l):t=[l],l=null),"{"===o||"}"===o||";"===o||","===o||")"===o)break;if(t)return new nt.Selector(t,u,h,p+i,n);u&&s("Extend must be used to extend a selector, it cannot be used on its own")},selectors:function(){var e,t;while(1){if(e=this.selector(),!e)break;if(t?t.push(e):t=[e],a.commentStore.length=0,e.condition&&t.length>1&&s("Guards are only currently allowed on a single selector."),!a.$char(","))break;e.condition&&s("Guards are only currently allowed on a single selector."),a.commentStore.length=0}return t},attribute:function(){if(a.$char("[")){var e,t,r,n,i=this.entities;return(e=i.variableCurly())||(e=c(/^(?:[_A-Za-z0-9-*]*\|)?(?:[_A-Za-z0-9-]|\\.)+/)),r=a.$re(/^[|~*$^]?=/),r&&(t=i.quoted()||a.$re(/^[0-9]+%/)||a.$re(/^[\w-]+/)||i.variableCurly(),t&&(n=a.$re(/^[iIsS]/))),l("]"),new nt.Attribute(e,r,t,n)}},block:function(){var e;if(a.$char("{")&&(e=this.primary())&&a.$char("}"))return e},blockRuleset:function(){var e=this.block();return e&&(e=new nt.Ruleset(null,e)),e},detachedRuleset:function(){var e,t,r;if(a.save(),!a.$re(/^[.#]\(/)||(e=this.mixin.args(!1),t=e.args,r=e.variadic,a.$char(")"))){var n=this.blockRuleset();if(n)return a.forget(),t?new nt.mixin.Definition(null,t,n,null,r):new nt.DetachedRuleset(n);a.restore()}else a.restore()},ruleset:function(){var e,r,n;if(a.save(),t.dumpLineNumbers&&(n=u(a.i)),e=this.selectors(),e&&(r=this.block())){a.forget();var i=new nt.Ruleset(e,r,t.strictImports);return t.dumpLineNumbers&&(i.debugInfo=n),i}a.restore()},declaration:function(){var e,t,r,o,s,c,l=a.i,u=a.currentChar();if("."!==u&&"#"!==u&&"&"!==u&&":"!==u)if(a.save(),e=this.variable()||this.ruleProperty(),e){if(c="string"===typeof e,c&&(t=this.detachedRuleset(),t&&(r=!0)),a.commentStore.length=0,!t){if(s=!c&&e.length>1&&e.pop().value,t=e[0].value&&"--"===e[0].value.slice(0,2)?this.permissiveValue(/[;}]/):this.anonymousValue(),t)return a.forget(),new nt.Declaration(e,t,!1,s,l+i,n);t||(t=this.value()),t?o=this.important():c&&(t=this.permissiveValue())}if(t&&(this.end()||r))return a.forget(),new nt.Declaration(e,t,o,s,l+i,n);a.restore()}else a.restore()},anonymousValue:function(){var e=a.i,t=a.$re(/^([^.#@$+/'"*`(;{}-]*);/);if(t)return new nt.Anonymous(t[1],e+i)},permissiveValue:function(e){var t,r,i,o,c=e||";",l=a.i,u=[];function f(){var e=a.currentChar();return"string"===typeof c?e===c:c.test(e)}if(!f()){o=[];do{r=this.comment(),r?o.push(r):(r=this.entity(),r&&o.push(r))}while(r);if(i=f(),o.length>0){if(o=new nt.Expression(o),i)return o;u.push(o)," "===a.prevChar()&&u.push(new nt.Anonymous(" ",l))}if(a.save(),o=a.$parseUntil(c),o){if("string"===typeof o&&s("Expected '"+o+"'","Parse"),1===o.length&&" "===o[0])return a.forget(),new nt.Anonymous("",l);var h=void 0;for(t=0;t<o.length;t++)if(h=o[t],Array.isArray(h))u.push(new nt.Quoted(h[0],h[1],!0,l,n));else{t===o.length-1&&(h=h.trim());var p=new nt.Quoted("'",h,!0,l,n);p.variableRegex=/@([\w-]+)/g,p.propRegex=/\$([\w-]+)/g,u.push(p)}return a.forget(),new nt.Expression(u,!0)}a.restore()}},import:function(){var e,t,r=a.i,o=a.$re(/^@import\s+/);if(o){var c=(o?this.importOptions():null)||{};if(e=this.entities.quoted()||this.entities.url())return t=this.mediaFeatures({}),a.$char(";")||(a.i=r,s("missing semi-colon or unrecognised media features on import")),t=t&&new nt.Value(t),new nt.Import(e,t,c,r+i,n);a.i=r,s("malformed import statement")}},importOptions:function(){var e,t,r,n={};if(!a.$char("("))return null;do{if(e=this.importOption(),e){switch(t=e,r=!0,t){case"css":t="less",r=!1;break;case"once":t="multiple",r=!1;break}if(n[t]=r,!a.$char(","))break}}while(e);return l(")"),n},importOption:function(){var e=a.$re(/^(less|css|multiple|once|inline|reference|optional)/);if(e)return e[1]},mediaFeature:function(e){var t,r,o,c=this.entities,l=[];a.save();do{t=c.keyword()||c.variable()||c.mixinLookup(),t?l.push(t):a.$char("(")&&(r=this.property(),a.save(),!r&&e.queryInParens&&a.$re(/^[0-9a-z-]*\s*([<>]=|<=|>=|[<>]|=)/)?(a.restore(),r=this.condition(),a.save(),o=this.atomicCondition(null,r.rvalue),o||a.restore()):(a.restore(),t=this.value()),a.$char(")")?r&&!t?(l.push(new nt.Paren(new nt.QueryInParens(r.op,r.lvalue,r.rvalue,o?o.op:null,o?o.rvalue:null,r._index))),t=r):r&&t?l.push(new nt.Paren(new nt.Declaration(r,t,null,null,a.i+i,n,!0))):t?l.push(new nt.Paren(t)):s("badly formed media feature definition"):s("Missing closing ')'","Parse"))}while(t);if(a.forget(),l.length>0)return new nt.Expression(l)},mediaFeatures:function(e){var t,r=this.entities,n=[];do{if(t=this.mediaFeature(e),t){if(n.push(t),!a.$char(","))break}else if(t=r.variable()||r.mixinLookup(),t&&(n.push(t),!a.$char(",")))break}while(t);return n.length>0?n:null},prepareAndGetNestableAtRule:function(e,r,o,c){var l=this.mediaFeatures(c),u=this.block();u||s("media definitions require block statements after any features"),a.forget();var f=new e(u,l,r+i,n);return t.dumpLineNumbers&&(f.debugInfo=o),f},nestableAtRule:function(){var e,r=a.i;if(t.dumpLineNumbers&&(e=u(r)),a.save(),a.$peekChar("@")){if(a.$str("@media"))return this.prepareAndGetNestableAtRule(nt.Media,r,e,ce);if(a.$str("@container"))return this.prepareAndGetNestableAtRule(nt.Container,r,e,le)}a.restore()},plugin:function(){var e,t,r,o=a.i,c=a.$re(/^@plugin\s+/);if(c){if(t=this.pluginArgs(),r=t?{pluginArgs:t,isPlugin:!0}:{isPlugin:!0},e=this.entities.quoted()||this.entities.url())return a.$char(";")||(a.i=o,s("missing semi-colon on @plugin")),new nt.Import(e,null,r,o+i,n);a.i=o,s("malformed @plugin statement")}},pluginArgs:function(){if(a.save(),!a.$char("("))return a.restore(),null;var e=a.$re(/^\s*([^);]+)\)\s*/);return e[1]?(a.forget(),e[1].trim()):(a.restore(),null)},atrule:function(){var e,r,o,c,l,f,h,p=a.i,d=!0,m=!0;if("@"===a.currentChar()){if(r=this["import"]()||this.plugin()||this.nestableAtRule(),r)return r;if(a.save(),e=a.$re(/^@[a-z-]+/),e){switch(c=e,"-"==e.charAt(1)&&e.indexOf("-",2)>0&&(c="@"+e.slice(e.indexOf("-",2)+1)),c){case"@charset":l=!0,d=!1;break;case"@namespace":f=!0,d=!1;break;case"@keyframes":case"@counter-style":l=!0;break;case"@document":case"@supports":h=!0,m=!1;break;default:h=!0;break}if(a.commentStore.length=0,l?(r=this.entity(),r||s("expected "+e+" identifier")):f?(r=this.expression(),r||s("expected "+e+" expression")):h&&(r=this.permissiveValue(/^[{;]/),d="{"===a.currentChar(),r?r.value||(r=null):d||";"===a.currentChar()||s(e+" rule is missing block or ending semi-colon")),d&&(o=this.blockRuleset()),o||!d&&r&&a.$char(";"))return a.forget(),new nt.AtRule(e,r,o,p+i,n,t.dumpLineNumbers?u(p):null,m);a.restore("at-rule options not recognised")}}},value:function(){var e,t=[],r=a.i;do{if(e=this.expression(),e&&(t.push(e),!a.$char(",")))break}while(e);if(t.length>0)return new nt.Value(t,r+i)},important:function(){if("!"===a.currentChar())return a.$re(/^! *important/)},sub:function(){var e,t;if(a.save(),a.$char("("))return e=this.addition(),e&&a.$char(")")?(a.forget(),t=new nt.Expression([e]),t.parens=!0,t):void a.restore("Expected ')'");a.restore()},multiplication:function(){var e,t,r,n,i;if(e=this.operand(),e){i=a.isWhitespace(-1);while(1){if(a.peek(/^\/[*/]/))break;if(a.save(),r=a.$char("/")||a.$char("*")||a.$str("./"),!r){a.forget();break}if(t=this.operand(),!t){a.restore();break}a.forget(),e.parensInOp=!0,t.parensInOp=!0,n=new nt.Operation(r,[n||e,t],i),i=a.isWhitespace(-1)}return n||e}},addition:function(){var e,t,r,n,i;if(e=this.multiplication(),e){i=a.isWhitespace(-1);while(1){if(r=a.$re(/^[-+]\s+/)||!i&&(a.$char("+")||a.$char("-")),!r)break;if(t=this.multiplication(),!t)break;e.parensInOp=!0,t.parensInOp=!0,n=new nt.Operation(r,[n||e,t],i),i=a.isWhitespace(-1)}return n||e}},conditions:function(){var e,t,r,n=a.i;if(e=this.condition(!0),e){while(1){if(!a.peek(/^,\s*(not\s*)?\(/)||!a.$char(","))break;if(t=this.condition(!0),!t)break;r=new nt.Condition("or",r||e,t,n+i)}return r||e}},condition:function(e){var t,r,n;function i(){return a.$str("or")}if(t=this.conditionAnd(e),t){if(r=i(),r){if(n=this.condition(e),!n)return;t=new nt.Condition(r,t,n)}return t}},conditionAnd:function(e){var t,r,n,i=this;function o(){var t=i.negatedCondition(e)||i.parenthesisCondition(e);return t||e?t:i.atomicCondition(e)}function s(){return a.$str("and")}if(t=o(),t){if(r=s(),r){if(n=this.conditionAnd(e),!n)return;t=new nt.Condition(r,t,n)}return t}},negatedCondition:function(e){if(a.$str("not")){var t=this.parenthesisCondition(e);return t&&(t.negate=!t.negate),t}},parenthesisCondition:function(e){function t(t){var r;if(a.save(),r=t.condition(e),r){if(a.$char(")"))return a.forget(),r;a.restore()}else a.restore()}var r;if(a.save(),a.$str("(")){if(r=t(this),r)return a.forget(),r;if(r=this.atomicCondition(e),r){if(a.$char(")"))return a.forget(),r;a.restore("expected ')' got '"+a.currentChar()+"'")}else a.restore()}else a.restore()},atomicCondition:function(e,t){var r,n,o,c,l=this.entities,u=a.i,f=function(){return this.addition()||l.keyword()||l.quoted()||l.mixinLookup()}.bind(this);if(r=t||f(),r)return a.$char(">")?c=a.$char("=")?">=":">":a.$char("<")?c=a.$char("=")?"<=":"<":a.$char("=")&&(c=a.$char(">")?"=>":a.$char("<")?"=<":"="),c?(n=f(),n?o=new nt.Condition(c,r,n,u+i,!1):s("expected expression")):t||(o=new nt.Condition("=",r,new nt.Keyword("true"),u+i,!1)),o},operand:function(){var e,t=this.entities;a.peek(/^-[@$(]/)&&(e=a.$char("-"));var r=this.sub()||t.dimension()||t.color()||t.variable()||t.property()||t.call()||t.quoted(!0)||t.colorKeyword()||t.mixinLookup();return e&&(r.parensInOp=!0,r=new nt.Negative(r)),r},expression:function(){var e,t,r=[],n=a.i;do{e=this.comment(),e?r.push(e):(e=this.addition()||this.entity(),e instanceof nt.Comment&&(e=null),e&&(r.push(e),a.peek(/^\/[/*]/)||(t=a.$char("/"),t&&r.push(new nt.Anonymous(t,n+i)))))}while(e);if(r.length>0)return new nt.Expression(r)},property:function(){var e=a.$re(/^(\*?-?[_a-zA-Z0-9-]+)\s*:/);if(e)return e[1]},ruleProperty:function(){var e,t,r=[],o=[];a.save();var s=a.$re(/^([_a-zA-Z0-9-]+)\s*:/);if(s)return r=[new nt.Keyword(s[1])],a.forget(),r;function c(e){var t=a.i,n=a.$re(e);if(n)return o.push(t),r.push(n[1])}c(/^(\*?)/);while(1)if(!c(/^((?:[\w-]+)|(?:[@$]\{[\w-]+\}))/))break;if(r.length>1&&c(/^((?:\+_|\+)?)\s*:/)){for(a.forget(),""===r[0]&&(r.shift(),o.shift()),t=0;t<r.length;t++)e=r[t],r[t]="@"!==e.charAt(0)&&"$"!==e.charAt(0)?new nt.Keyword(e):"@"===e.charAt(0)?new nt.Variable("@"+e.slice(2,-1),o[t]+i,n):new nt.Property("$"+e.slice(2,-1),o[t]+i,n);return r}a.restore()}}}};ue.serializeVars=function(e){var t="";for(var r in e)if(Object.hasOwnProperty.call(e,r)){var n=e[r];t+=("@"===r[0]?"":"@")+r+": "+n+(";"===String(n).slice(-1)?"":";")}return t};var fe=function(e,t,r,n,i,o){this.extendList=t,this.condition=r,this.evaldCondition=!r,this._index=n,this._fileInfo=i,this.elements=this.getElements(e),this.mixinElements_=void 0,this.copyVisibilityInfo(o),this.setParent(this.elements,this)};fe.prototype=Object.assign(new u,{type:"Selector",accept:function(e){this.elements&&(this.elements=e.visitArray(this.elements)),this.extendList&&(this.extendList=e.visitArray(this.extendList)),this.condition&&(this.condition=e.visit(this.condition))},createDerived:function(e,t,r){e=this.getElements(e);var n=new fe(e,t||this.extendList,null,this.getIndex(),this.fileInfo(),this.visibilityInfo());return n.evaldCondition=F(r)?this.evaldCondition:r,n.mediaEmpty=this.mediaEmpty,n},getElements:function(e){return e?("string"===typeof e&&new ue(this.parse.context,this.parse.importManager,this._fileInfo,this._index).parseNode(e,["selector"],(function(t,r){if(t)throw new L({index:t.index,message:t.message},this.parse.imports,this._fileInfo.filename);e=r[0].elements})),e):[new g("","&",!1,this._index,this._fileInfo)]},createEmptySelectors:function(){var e=new g("","&",!1,this._index,this._fileInfo),t=[new fe([e],null,null,this._index,this._fileInfo)];return t[0].mediaEmpty=!0,t},match:function(e){var t,r,n=this.elements,i=n.length;if(e=e.mixinElements(),t=e.length,0===t||i<t)return 0;for(r=0;r<t;r++)if(n[r].value!==e[r])return 0;return t},mixinElements:function(){if(this.mixinElements_)return this.mixinElements_;var e=this.elements.map((function(e){return e.combinator.value+(e.value.value||e.value)})).join("").match(/[,&#*.\w-]([\w-]|(\\.))*/g);return e?"&"===e[0]&&e.shift():e=[],this.mixinElements_=e},isJustParentSelector:function(){return!this.mediaEmpty&&1===this.elements.length&&"&"===this.elements[0].value&&(" "===this.elements[0].combinator.value||""===this.elements[0].combinator.value)},eval:function(e){var t=this.condition&&this.condition.eval(e),r=this.elements,n=this.extendList;return r=r&&r.map((function(t){return t.eval(e)})),n=n&&n.map((function(t){return t.eval(e)})),this.createDerived(r,n,t)},genCSS:function(e,t){var r,n;for(e&&e.firstSelector||""!==this.elements[0].combinator.value||t.add(" ",this.fileInfo(),this.getIndex()),r=0;r<this.elements.length;r++)n=this.elements[r],n.genCSS(e,t)},getIsOutput:function(){return this.evaldCondition}});var he=function(e){if(!e)throw new Error("Value requires an array argument");Array.isArray(e)?this.value=e:this.value=[e]};he.prototype=Object.assign(new u,{type:"Value",accept:function(e){this.value&&(this.value=e.visitArray(this.value))},eval:function(e){return 1===this.value.length?this.value[0].eval(e):new he(this.value.map((function(t){return t.eval(e)})))},genCSS:function(e,t){var r;for(r=0;r<this.value.length;r++)this.value[r].genCSS(e,t),r+1<this.value.length&&t.add(e&&e.compress?",":", ")}});var pe=function(e){this.value=e};pe.prototype=Object.assign(new u,{type:"Keyword",genCSS:function(e,t){if("%"===this.value)throw{type:"Syntax",message:"Invalid % without number"};t.add(this.value)}}),pe.True=new pe("true"),pe.False=new pe("false");var de=function(e,t,r,n,i,o){this.value=e,this._index=t,this._fileInfo=r,this.mapLines=n,this.rulesetLike="undefined"!==typeof i&&i,this.allowRoot=!0,this.copyVisibilityInfo(o)};de.prototype=Object.assign(new u,{type:"Anonymous",eval:function(){return new de(this.value,this._index,this._fileInfo,this.mapLines,this.rulesetLike,this.visibilityInfo())},compare:function(e){return e.toCSS&&this.toCSS()===e.toCSS()?0:void 0},isRulesetLike:function(){return this.rulesetLike},genCSS:function(e,t){this.nodeVisible=Boolean(this.value),this.nodeVisible&&t.add(this.value,this._fileInfo,this._index,this.mapLines)}});var me=y;function ve(e,t){var r,n="",i=t.length,o={add:function(e){n+=e}};for(r=0;r<i;r++)t[r].eval(e).genCSS(e,o);return n}var ge=function(e,t,r,n,i,o,a,s){this.name=e,this.value=t instanceof u?t:new he([t?new de(t):null]),this.important=r?" "+r.trim():"",this.merge=n,this._index=i,this._fileInfo=o,this.inline=a||!1,this.variable=void 0!==s?s:e.charAt&&"@"===e.charAt(0),this.allowRoot=!0,this.setParent(this.value,this)};function ye(e){return"/* line "+e.debugInfo.lineNumber+", "+e.debugInfo.fileName+" */\n"}function be(e){var t=e.debugInfo.fileName;return/^[a-z]+:\/\//i.test(t)||(t="file://"+t),"@media -sass-debug-info{filename{font-family:"+t.replace(/([.:/\\])/g,(function(e){return"\\"==e&&(e="/"),"\\"+e}))+"}line{font-family:\\00003"+e.debugInfo.lineNumber+"}}\n"}function we(e,t,r){var n="";if(e.dumpLineNumbers&&!e.compress)switch(e.dumpLineNumbers){case"comments":n=ye(t);break;case"mediaquery":n=be(t);break;case"all":n=ye(t)+(r||"")+be(t);break}return n}ge.prototype=Object.assign(new u,{type:"Declaration",genCSS:function(e,t){t.add(this.name+(e.compress?":":": "),this.fileInfo(),this.getIndex());try{this.value.genCSS(e,t)}catch(r){throw r.index=this._index,r.filename=this._fileInfo.filename,r}t.add(this.important+(this.inline||e.lastRule&&e.compress?"":";"),this._fileInfo,this._index)},eval:function(e){var t,r,n=!1,i=this.name,o=this.variable;"string"!==typeof i&&(i=1===i.length&&i[0]instanceof pe?i[0].value:ve(e,i),o=!1),"font"===i&&e.math===me.ALWAYS&&(n=!0,t=e.math,e.math=me.PARENS_DIVISION);try{if(e.importantScope.push({}),r=this.value.eval(e),!this.variable&&"DetachedRuleset"===r.type)throw{message:"Rulesets cannot be evaluated on a property.",index:this.getIndex(),filename:this.fileInfo().filename};var a=this.important,s=e.importantScope.pop();return!a&&s.important&&(a=s.important),new ge(i,r,a,this.merge,this.getIndex(),this.fileInfo(),this.inline,o)}catch(c){throw"number"!==typeof c.index&&(c.index=this.getIndex(),c.filename=this.fileInfo().filename),c}finally{n&&(e.math=t)}},makeImportant:function(){return new ge(this.name,this.value,"!important",this.merge,this.getIndex(),this.fileInfo(),this.inline)}});var xe=function(e,t,r,n){this.value=e,this.isLineComment=t,this._index=r,this._fileInfo=n,this.allowRoot=!0};xe.prototype=Object.assign(new u,{type:"Comment",genCSS:function(e,t){this.debugInfo&&t.add(we(e,this),this.fileInfo(),this.getIndex()),t.add(this.value)},isSilent:function(e){var t=e.compress&&"!"!==this.value[2];return this.isLineComment||t}});var Se={eval:function(){var e=this.value_,t=this.error_;if(t)throw t;if(!F(e))return e?pe.True:pe.False},value:function(e){this.value_=e},error:function(e){this.error_=e},reset:function(){this.value_=this.error_=null}},_e=function(e,t,r,n){this.selectors=e,this.rules=t,this._lookups={},this._variables=null,this._properties=null,this.strictImports=r,this.copyVisibilityInfo(n),this.allowRoot=!0,this.setParent(this.selectors,this),this.setParent(this.rules,this)};_e.prototype=Object.assign(new u,{type:"Ruleset",isRuleset:!0,isRulesetLike:function(){return!0},accept:function(e){this.paths?this.paths=e.visitArray(this.paths,!0):this.selectors&&(this.selectors=e.visitArray(this.selectors)),this.rules&&this.rules.length&&(this.rules=e.visitArray(this.rules))},eval:function(e){var t,r,n,i,o,a=!1;if(this.selectors&&(r=this.selectors.length)){for(t=new Array(r),Se.error({type:"Syntax",message:"it is currently only allowed in parametric mixin guards,"}),i=0;i<r;i++){n=this.selectors[i].eval(e);for(var s=0;s<n.elements.length;s++)if(n.elements[s].isVariable){o=!0;break}t[i]=n,n.evaldCondition&&(a=!0)}if(o){var c=new Array(r);for(i=0;i<r;i++)n=t[i],c[i]=n.toCSS(e);var l=t[0].getIndex(),f=t[0].fileInfo();new ue(e,this.parse.importManager,f,l).parseNode(c.join(","),["selectors"],(function(e,r){r&&(t=R(r))}))}Se.reset()}else a=!0;var h,p,d=this.rules?C(this.rules):null,m=new _e(t,d,this.strictImports,this.visibilityInfo());m.originalRuleset=this,m.root=this.root,m.firstRoot=this.firstRoot,m.allowImports=this.allowImports,this.debugInfo&&(m.debugInfo=this.debugInfo),a||(d.length=0),m.functionRegistry=function(e){for(var t,r=0,n=e.length;r!==n;++r)if(t=e[r].functionRegistry,t)return t;return se}(e.frames).inherit();var v=e.frames;v.unshift(m);var g=e.selectors;g||(e.selectors=g=[]),g.unshift(this.selectors),(m.root||m.allowImports||!m.strictImports)&&m.evalImports(e);var y=m.rules;for(i=0;h=y[i];i++)h.evalFirst&&(y[i]=h.eval(e));var b=e.mediaBlocks&&e.mediaBlocks.length||0;for(i=0;h=y[i];i++)"MixinCall"===h.type?(d=h.eval(e).filter((function(e){return!(e instanceof ge&&e.variable)||!m.variable(e.name)})),y.splice.apply(y,[i,1].concat(d)),i+=d.length-1,m.resetCache()):"VariableCall"===h.type&&(d=h.eval(e).rules.filter((function(e){return!(e instanceof ge&&e.variable)})),y.splice.apply(y,[i,1].concat(d)),i+=d.length-1,m.resetCache());for(i=0;h=y[i];i++)h.evalFirst||(y[i]=h=h.eval?h.eval(e):h);for(i=0;h=y[i];i++)if(h instanceof _e&&h.selectors&&1===h.selectors.length&&h.selectors[0]&&h.selectors[0].isJustParentSelector()){y.splice(i--,1);for(s=0;p=h.rules[s];s++)p instanceof u&&(p.copyVisibilityInfo(h.visibilityInfo()),p instanceof ge&&p.variable||y.splice(++i,0,p))}if(v.shift(),g.shift(),e.mediaBlocks)for(i=b;i<e.mediaBlocks.length;i++)e.mediaBlocks[i].bubbleSelectors(t);return m},evalImports:function(e){var t,r,n=this.rules;if(n)for(t=0;t<n.length;t++)"Import"===n[t].type&&(r=n[t].eval(e),r&&(r.length||0===r.length)?(n.splice.apply(n,[t,1].concat(r)),t+=r.length-1):n.splice(t,1,r),this.resetCache())},makeImportant:function(){var e=new _e(this.selectors,this.rules.map((function(e){return e.makeImportant?e.makeImportant():e})),this.strictImports,this.visibilityInfo());return e},matchArgs:function(e){return!e||0===e.length},matchCondition:function(e,t){var r=this.selectors[this.selectors.length-1];return!!r.evaldCondition&&!(r.condition&&!r.condition.eval(new U.Eval(t,t.frames)))},resetCache:function(){this._rulesets=null,this._variables=null,this._properties=null,this._lookups={}},variables:function(){return this._variables||(this._variables=this.rules?this.rules.reduce((function(e,t){if(t instanceof ge&&!0===t.variable&&(e[t.name]=t),"Import"===t.type&&t.root&&t.root.variables){var r=t.root.variables();for(var n in r)r.hasOwnProperty(n)&&(e[n]=t.root.variable(n))}return e}),{}):{}),this._variables},properties:function(){return this._properties||(this._properties=this.rules?this.rules.reduce((function(e,t){if(t instanceof ge&&!0!==t.variable){var r=1===t.name.length&&t.name[0]instanceof pe?t.name[0].value:t.name;e["$"+r]?e["$"+r].push(t):e["$"+r]=[t]}return e}),{}):{}),this._properties},variable:function(e){var t=this.variables()[e];if(t)return this.parseValue(t)},property:function(e){var t=this.properties()[e];if(t)return this.parseValue(t)},lastDeclaration:function(){for(var e=this.rules.length;e>0;e--){var t=this.rules[e-1];if(t instanceof ge)return this.parseValue(t)}},parseValue:function(e){var t=this;function r(e){return e.value instanceof de&&!e.parsed?("string"===typeof e.value.value?new ue(this.parse.context,this.parse.importManager,e.fileInfo(),e.value.getIndex()).parseNode(e.value.value,["value","important"],(function(t,r){t&&(e.parsed=!0),r&&(e.value=r[0],e.important=r[1]||"",e.parsed=!0)})):e.parsed=!0,e):e}if(Array.isArray(e)){var n=[];return e.forEach((function(e){n.push(r.call(t,e))})),n}return r.call(t,e)},rulesets:function(){if(!this.rules)return[];var e,t,r=[],n=this.rules;for(e=0;t=n[e];e++)t.isRuleset&&r.push(t);return r},prependRule:function(e){var t=this.rules;t?t.unshift(e):this.rules=[e],this.setParent(e,this)},find:function(e,t,r){t=t||this;var n,i,o=[],a=e.toCSS();return a in this._lookups?this._lookups[a]:(this.rulesets().forEach((function(a){if(a!==t)for(var s=0;s<a.selectors.length;s++)if(n=e.match(a.selectors[s]),n){if(e.elements.length>n){if(!r||r(a)){i=a.find(new fe(e.elements.slice(n)),t,r);for(var c=0;c<i.length;++c)i[c].path.push(a);Array.prototype.push.apply(o,i)}}else o.push({rule:a,path:[]});break}})),this._lookups[a]=o,o)},genCSS:function(e,t){var r,n,i,o,a,s=[],c=[];e.tabLevel=e.tabLevel||0,this.root||e.tabLevel++;var l,u=e.compress?"":Array(e.tabLevel+1).join(" "),f=e.compress?"":Array(e.tabLevel).join(" "),h=0,p=0;for(r=0;o=this.rules[r];r++)o instanceof xe?(p===r&&p++,c.push(o)):o.isCharset&&o.isCharset()?(c.splice(h,0,o),h++,p++):"Import"===o.type?(c.splice(p,0,o),p++):c.push(o);if(c=s.concat(c),!this.root){i=we(e,this,f),i&&(t.add(i),t.add(f));var d=this.paths,m=d.length,v=void 0;for(l=e.compress?",":",\n"+f,r=0;r<m;r++)if(a=d[r],v=a.length)for(r>0&&t.add(l),e.firstSelector=!0,a[0].genCSS(e,t),e.firstSelector=!1,n=1;n<v;n++)a[n].genCSS(e,t);t.add((e.compress?"{":" {\n")+u)}for(r=0;o=c[r];r++){r+1===c.length&&(e.lastRule=!0);var g=e.lastRule;o.isRulesetLike(o)&&(e.lastRule=!1),o.genCSS?o.genCSS(e,t):o.value&&t.add(o.value.toString()),e.lastRule=g,!e.lastRule&&o.isVisible()?t.add(e.compress?"":"\n"+u):e.lastRule=!1}this.root||(t.add(e.compress?"}":"\n"+f+"}"),e.tabLevel--),t.isEmpty()||e.compress||!this.firstRoot||t.add("\n")},joinSelectors:function(e,t,r){for(var n=0;n<r.length;n++)this.joinSelector(e,t,r[n])},joinSelector:function(e,t,r){function n(e,t){var r,n;if(0===e.length)r=new d(e[0]);else{var i=new Array(e.length);for(n=0;n<e.length;n++)i[n]=new g(null,e[n],t.isVariable,t._index,t._fileInfo);r=new d(new fe(i))}return r}function i(e,t){var r,n;return r=new g(null,e,t.isVariable,t._index,t._fileInfo),n=new fe([r]),n}function o(e,t,r,n){var i,o,a;if(i=[],e.length>0?(i=C(e),o=i.pop(),a=n.createDerived(C(o.elements))):a=n.createDerived([]),t.length>0){var s=r.combinator,c=t[0].elements[0];s.emptyOrWhitespace&&!c.combinator.emptyOrWhitespace&&(s=c.combinator),a.elements.push(new g(s,c.value,r.isVariable,r._index,r._fileInfo)),a.elements=a.elements.concat(t[0].elements.slice(1))}if(0!==a.elements.length&&i.push(a),t.length>1){var l=t.slice(1);l=l.map((function(e){return e.createDerived(e.elements,[])})),i=i.concat(l)}return i}function a(e,t,r,n,i){var a;for(a=0;a<e.length;a++){var s=o(e[a],t,r,n);i.push(s)}return i}function s(e,t){var r,n;if(0!==e.length)if(0!==t.length)for(r=0;n=t[r];r++)n.length>0?n[n.length-1]=n[n.length-1].createDerived(n[n.length-1].elements.concat(e)):n.push(new fe(e));else t.push([new fe(e)])}function c(e,t,r){var l,u,f,h,p,m,v,y,b,w,x=!1;function S(e){var t;return e.value instanceof d?(t=e.value.value,t instanceof fe?t:null):null}for(h=[],p=[[]],l=0;y=r.elements[l];l++)if("&"!==y.value){var _=S(y);if(null!==_){s(h,p);var P=[],E=void 0,k=[];for(E=c(P,t,_),x=x||E,f=0;f<P.length;f++){var C=i(n(P[f],y),y);a(p,[C],y,r,k)}p=k,h=[]}else h.push(y)}else{for(x=!0,m=[],s(h,p),u=0;u<p.length;u++)if(v=p[u],0===t.length)v.length>0&&v[0].elements.push(new g(y.combinator,"",y.isVariable,y._index,y._fileInfo)),m.push(v);else for(f=0;f<t.length;f++){var j=o(v,t[f],y,r);m.push(j)}p=m,h=[]}for(s(h,p),l=0;l<p.length;l++)b=p[l].length,b>0&&(e.push(p[l]),w=p[l][b-1],p[l][b-1]=w.createDerived(w.elements,r.extendList));return x}function l(e,t){var r=t.createDerived(t.elements,t.extendList,t.evaldCondition);return r.copyVisibilityInfo(e),r}var u,f,h;if(f=[],h=c(f,t,r),!h)if(t.length>0)for(f=[],u=0;u<t.length;u++){var p=t[u].map(l.bind(this,r.visibilityInfo()));p.push(r),f.push(p)}else f=[[r]];for(u=0;u<f.length;u++)e.push(f[u])}});var Pe=function(e,t,r,n,i,o,a,s){var c;if(this.name=e,this.value=t instanceof u?t:t?new de(t):t,r){for(Array.isArray(r)?this.rules=r:(this.rules=[r],this.rules[0].selectors=new fe([],null,null,n,i).createEmptySelectors()),c=0;c<this.rules.length;c++)this.rules[c].allowImports=!0;this.setParent(this.rules,this)}this._index=n,this._fileInfo=i,this.debugInfo=o,this.isRooted=a||!1,this.copyVisibilityInfo(s),this.allowRoot=!0};Pe.prototype=Object.assign(new u,{type:"AtRule",accept:function(e){var t=this.value,r=this.rules;r&&(this.rules=e.visitArray(r)),t&&(this.value=e.visit(t))},isRulesetLike:function(){return this.rules||!this.isCharset()},isCharset:function(){return"@charset"===this.name},genCSS:function(e,t){var r=this.value,n=this.rules;t.add(this.name,this.fileInfo(),this.getIndex()),r&&(t.add(" "),r.genCSS(e,t)),n?this.outputRuleset(e,t,n):t.add(";")},eval:function(e){var t,r,n=this.value,i=this.rules;return t=e.mediaPath,r=e.mediaBlocks,e.mediaPath=[],e.mediaBlocks=[],n&&(n=n.eval(e)),i&&(i=[i[0].eval(e)],i[0].root=!0),e.mediaPath=t,e.mediaBlocks=r,new Pe(this.name,n,i,this.getIndex(),this.fileInfo(),this.debugInfo,this.isRooted,this.visibilityInfo())},variable:function(e){if(this.rules)return _e.prototype.variable.call(this.rules[0],e)},find:function(){if(this.rules)return _e.prototype.find.apply(this.rules[0],arguments)},rulesets:function(){if(this.rules)return _e.prototype.rulesets.apply(this.rules[0])},outputRuleset:function(e,t,r){var n,i=r.length;if(e.tabLevel=1+(0|e.tabLevel),e.compress){for(t.add("{"),n=0;n<i;n++)r[n].genCSS(e,t);return t.add("}"),void e.tabLevel--}var o="\n"+Array(e.tabLevel).join(" "),a=o+" ";if(i){for(t.add(" {"+a),r[0].genCSS(e,t),n=1;n<i;n++)t.add(a),r[n].genCSS(e,t);t.add(o+"}")}else t.add(" {"+o+"}");e.tabLevel--}});var Ee=function(e,t){this.ruleset=e,this.frames=t,this.setParent(this.ruleset,this)};Ee.prototype=Object.assign(new u,{type:"DetachedRuleset",evalFirst:!0,accept:function(e){this.ruleset=e.visit(this.ruleset)},eval:function(e){var t=this.frames||C(e.frames);return new Ee(this.ruleset,t)},callEval:function(e){return this.ruleset.eval(this.frames?new U.Eval(e,this.frames.concat(e.frames)):e)}});var ke=function(e,t,r){this.numerator=e?C(e).sort():[],this.denominator=t?C(t).sort():[],r?this.backupUnit=r:e&&e.length&&(this.backupUnit=e[0])};ke.prototype=Object.assign(new u,{type:"Unit",clone:function(){return new ke(C(this.numerator),C(this.denominator),this.backupUnit)},genCSS:function(e,t){var r=e&&e.strictUnits;1===this.numerator.length?t.add(this.numerator[0]):!r&&this.backupUnit?t.add(this.backupUnit):!r&&this.denominator.length&&t.add(this.denominator[0])},toString:function(){var e,t=this.numerator.join("*");for(e=0;e<this.denominator.length;e++)t+="/"+this.denominator[e];return t},compare:function(e){return this.is(e.toString())?0:void 0},is:function(e){return this.toString().toUpperCase()===e.toUpperCase()},isLength:function(){return RegExp("^(px|em|ex|ch|rem|in|cm|mm|pc|pt|ex|vw|vh|vmin|vmax)$","gi").test(this.toCSS())},isEmpty:function(){return 0===this.numerator.length&&0===this.denominator.length},isSingular:function(){return this.numerator.length<=1&&0===this.denominator.length},map:function(e){var t;for(t=0;t<this.numerator.length;t++)this.numerator[t]=e(this.numerator[t],!1);for(t=0;t<this.denominator.length;t++)this.denominator[t]=e(this.denominator[t],!0)},usedUnits:function(){var e,t,r,n={};for(r in t=function(t){return e.hasOwnProperty(t)&&!n[r]&&(n[r]=t),t},c)c.hasOwnProperty(r)&&(e=c[r],this.map(t));return n},cancel:function(){var e,t,r={};for(t=0;t<this.numerator.length;t++)e=this.numerator[t],r[e]=(r[e]||0)+1;for(t=0;t<this.denominator.length;t++)e=this.denominator[t],r[e]=(r[e]||0)-1;for(e in this.numerator=[],this.denominator=[],r)if(r.hasOwnProperty(e)){var n=r[e];if(n>0)for(t=0;t<n;t++)this.numerator.push(e);else if(n<0)for(t=0;t<-n;t++)this.denominator.push(e)}this.numerator.sort(),this.denominator.sort()}});var Ce=function(e,t){if(this.value=parseFloat(e),isNaN(this.value))throw new Error("Dimension is not a number.");this.unit=t&&t instanceof ke?t:new ke(t?[t]:void 0),this.setParent(this.unit,this)};Ce.prototype=Object.assign(new u,{type:"Dimension",accept:function(e){this.unit=e.visit(this.unit)},eval:function(e){return this},toColor:function(){return new f([this.value,this.value,this.value])},genCSS:function(e,t){if(e&&e.strictUnits&&!this.unit.isSingular())throw new Error("Multiple units in dimension. Correct the units or use the unit function. Bad unit: "+this.unit.toString());var r=this.fround(e,this.value),n=String(r);if(0!==r&&r<1e-6&&r>-1e-6&&(n=r.toFixed(20).replace(/0+$/,"")),e&&e.compress){if(0===r&&this.unit.isLength())return void t.add(n);r>0&&r<1&&(n=n.substr(1))}t.add(n),this.unit.genCSS(e,t)},operate:function(e,t,r){var n=this._operate(e,t,this.value,r.value),i=this.unit.clone();if("+"===t||"-"===t)if(0===i.numerator.length&&0===i.denominator.length)i=r.unit.clone(),this.unit.backupUnit&&(i.backupUnit=this.unit.backupUnit);else if(0===r.unit.numerator.length&&0===i.denominator.length);else{if(r=r.convertTo(this.unit.usedUnits()),e.strictUnits&&r.unit.toString()!==i.toString())throw new Error("Incompatible units. Change the units or use the unit function. Bad units: '"+i.toString()+"' and '"+r.unit.toString()+"'.");n=this._operate(e,t,this.value,r.value)}else"*"===t?(i.numerator=i.numerator.concat(r.unit.numerator).sort(),i.denominator=i.denominator.concat(r.unit.denominator).sort(),i.cancel()):"/"===t&&(i.numerator=i.numerator.concat(r.unit.denominator).sort(),i.denominator=i.denominator.concat(r.unit.numerator).sort(),i.cancel());return new Ce(n,i)},compare:function(e){var t,r;if(e instanceof Ce){if(this.unit.isEmpty()||e.unit.isEmpty())t=this,r=e;else if(t=this.unify(),r=e.unify(),0!==t.unit.compare(r.unit))return;return u.numericCompare(t.value,r.value)}},unify:function(){return this.convertTo({length:"px",duration:"s",angle:"rad"})},convertTo:function(e){var t,r,n,i,o,a=this.value,s=this.unit.clone(),l={};if("string"===typeof e){for(t in c)c[t].hasOwnProperty(e)&&(l={},l[t]=e);e=l}for(r in o=function(e,t){return n.hasOwnProperty(e)?(t?a/=n[e]/n[i]:a*=n[e]/n[i],i):e},e)e.hasOwnProperty(r)&&(i=e[r],n=c[r],s.map(o));return s.cancel(),new Ce(a,s)}});var je=y,Oe=function(e,t,r){this.op=e.trim(),this.operands=t,this.isSpaced=r};Oe.prototype=Object.assign(new u,{type:"Operation",accept:function(e){this.operands=e.visitArray(this.operands)},eval:function(e){var t,r=this.operands[0].eval(e),n=this.operands[1].eval(e);if(e.isMathOn(this.op)){if(t="./"===this.op?"/":this.op,r instanceof Ce&&n instanceof f&&(r=r.toColor()),n instanceof Ce&&r instanceof f&&(n=n.toColor()),!r.operate||!n.operate){if((r instanceof Oe||n instanceof Oe)&&"/"===r.op&&e.math===je.PARENS_DIVISION)return new Oe(this.op,[r,n],this.isSpaced);throw{type:"Operation",message:"Operation on an invalid type"}}return r.operate(e,t,n)}return new Oe(this.op,[r,n],this.isSpaced)},genCSS:function(e,t){this.operands[0].genCSS(e,t),this.isSpaced&&t.add(" "),t.add(this.op),this.isSpaced&&t.add(" "),this.operands[1].genCSS(e,t)}});
|
|
55
|
-
/*! *****************************************************************************
|
|
56
|
-
Copyright (c) Microsoft Corporation.
|
|
57
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
58
|
-
purpose with or without fee is hereby granted.
|
|
59
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
60
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
61
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
62
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
63
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
64
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
65
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
66
|
-
***************************************************************************** */
|
|
67
|
-
var Ie=function(){return Ie=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Ie.apply(this,arguments)};function Ae(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||t)}var Re=function(e,t){if(this.value=e,this.noSpacing=t,!e)throw new Error("Expression requires an array parameter")};Re.prototype=Object.assign(new u,{type:"Expression",accept:function(e){this.value=e.visitArray(this.value)},eval:function(e){var t,r=e.isMathOn(),n=this.parens,i=!1;return n&&e.inParenthesis(),this.value.length>1?t=new Re(this.value.map((function(t){return t.eval?t.eval(e):t})),this.noSpacing):1===this.value.length?(!this.value[0].parens||this.value[0].parensInOp||e.inCalc||(i=!0),t=this.value[0].eval(e)):t=this,n&&e.outOfParenthesis(),!this.parens||!this.parensInOp||r||i||t instanceof Ce||(t=new d(t)),t},genCSS:function(e,t){for(var r=0;r<this.value.length;r++)this.value[r].genCSS(e,t),!this.noSpacing&&r+1<this.value.length&&t.add(" ")},throwAwayComments:function(){this.value=this.value.filter((function(e){return!(e instanceof xe)}))}});var Fe=function(){function e(e,t,r,n){this.name=e.toLowerCase(),this.index=r,this.context=t,this.currentFileInfo=n,this.func=t.frames[0].functionRegistry.get(this.name)}return e.prototype.isValid=function(){return Boolean(this.func)},e.prototype.call=function(e){var t=this;Array.isArray(e)||(e=[e]);var r=this.func.evalArgs;!1!==r&&(e=e.map((function(e){return e.eval(t.context)})));var n=function(e){return!("Comment"===e.type)};return e=e.filter(n).map((function(e){if("Expression"===e.type){var t=e.value.filter(n);return 1===t.length?e.parens&&"/"===t[0].op?e:t[0]:new Re(t)}return e})),!1===r?this.func.apply(this,Ae([this.context],e)):this.func.apply(this,e)},e}(),De=function(e,t,r,n){this.name=e,this.args=t,this.calc="calc"===e,this._index=r,this._fileInfo=n};De.prototype=Object.assign(new u,{type:"Call",accept:function(e){this.args&&(this.args=e.visitArray(this.args))},eval:function(e){var t=this,r=e.mathOn;e.mathOn=!this.calc,(this.calc||e.inCalc)&&e.enterCalc();var n,i=function(){(t.calc||e.inCalc)&&e.exitCalc(),e.mathOn=r},o=new Fe(this.name,e,this.getIndex(),this.fileInfo());if(o.isValid())try{n=o.call(this.args),i()}catch(s){if(s.hasOwnProperty("line")&&s.hasOwnProperty("column"))throw s;throw{type:s.type||"Runtime",message:"Error evaluating function `"+this.name+"`"+(s.message?": "+s.message:""),index:this.getIndex(),filename:this.fileInfo().filename,line:s.lineNumber,column:s.columnNumber}}if(null!==n&&void 0!==n)return n instanceof u||(n=new de(n&&!0!==n?n.toString():null)),n._index=this._index,n._fileInfo=this._fileInfo,n;var a=this.args.map((function(t){return t.eval(e)}));return i(),new De(this.name,a,this.getIndex(),this.fileInfo())},genCSS:function(e,t){t.add(this.name+"(",this.fileInfo(),this.getIndex());for(var r=0;r<this.args.length;r++)this.args[r].genCSS(e,t),r+1<this.args.length&&t.add(", ");t.add(")")}});var $e=function(e,t,r){this.name=e,this._index=t,this._fileInfo=r};$e.prototype=Object.assign(new u,{type:"Variable",eval:function(e){var t,r=this.name;if(0===r.indexOf("@@")&&(r="@"+new $e(r.slice(1),this.getIndex(),this.fileInfo()).eval(e).value),this.evaluating)throw{type:"Name",message:"Recursive variable definition for "+r,filename:this.fileInfo().filename,index:this.getIndex()};if(this.evaluating=!0,t=this.find(e.frames,(function(t){var n=t.variable(r);if(n){if(n.important){var i=e.importantScope[e.importantScope.length-1];i.important=n.important}return e.inCalc?new De("_SELF",[n.value]).eval(e):n.value.eval(e)}})),t)return this.evaluating=!1,t;throw{type:"Name",message:"variable "+r+" is undefined",filename:this.fileInfo().filename,index:this.getIndex()}},find:function(e,t){for(var r=0,n=void 0;r<e.length;r++)if(n=t.call(e,e[r]),n)return n;return null}});var Le=function(e,t,r){this.name=e,this._index=t,this._fileInfo=r};Le.prototype=Object.assign(new u,{type:"Property",eval:function(e){var t,r=this.name,n=e.pluginManager.less.visitors.ToCSSVisitor.prototype._mergeRules;if(this.evaluating)throw{type:"Name",message:"Recursive property reference for "+r,filename:this.fileInfo().filename,index:this.getIndex()};if(this.evaluating=!0,t=this.find(e.frames,(function(t){var i,o=t.property(r);if(o){for(var a=0;a<o.length;a++)i=o[a],o[a]=new ge(i.name,i.value,i.important,i.merge,i.index,i.currentFileInfo,i.inline,i.variable);if(n(o),i=o[o.length-1],i.important){var s=e.importantScope[e.importantScope.length-1];s.important=i.important}return i=i.value.eval(e),i}})),t)return this.evaluating=!1,t;throw{type:"Name",message:"Property '"+r+"' is undefined",filename:this.currentFileInfo.filename,index:this.index}},find:function(e,t){for(var r=0,n=void 0;r<e.length;r++)if(n=t.call(e,e[r]),n)return n;return null}});var Me=function(e,t,r,n){this.key=e,this.op=t,this.value=r,this.cif=n};Me.prototype=Object.assign(new u,{type:"Attribute",eval:function(e){return new Me(this.key.eval?this.key.eval(e):this.key,this.op,this.value&&this.value.eval?this.value.eval(e):this.value,this.cif)},genCSS:function(e,t){t.add(this.toCSS(e))},toCSS:function(e){var t=this.key.toCSS?this.key.toCSS(e):this.key;return this.op&&(t+=this.op,t+=this.value.toCSS?this.value.toCSS(e):this.value),this.cif&&(t=t+" "+this.cif),"["+t+"]"}});var Te=function(e,t,r,n,i){this.escaped=void 0===r||r,this.value=t||"",this.quote=e.charAt(0),this._index=n,this._fileInfo=i,this.variableRegex=/@\{([\w-]+)\}/g,this.propRegex=/\$\{([\w-]+)\}/g,this.allowRoot=r};function Ne(e){return e.replace(/[()'"\s]/g,(function(e){return"\\"+e}))}Te.prototype=Object.assign(new u,{type:"Quoted",genCSS:function(e,t){this.escaped||t.add(this.quote,this.fileInfo(),this.getIndex()),t.add(this.value),this.escaped||t.add(this.quote)},containsVariables:function(){return this.value.match(this.variableRegex)},eval:function(e){var t=this,r=this.value,n=function(r,n){var i=new $e("@"+n,t.getIndex(),t.fileInfo()).eval(e,!0);return i instanceof Te?i.value:i.toCSS()},i=function(r,n){var i=new Le("$"+n,t.getIndex(),t.fileInfo()).eval(e,!0);return i instanceof Te?i.value:i.toCSS()};function o(e,t,r){var n=e;do{e=n.toString(),n=e.replace(t,r)}while(e!==n);return n}return r=o(r,this.variableRegex,n),r=o(r,this.propRegex,i),new Te(this.quote+r+this.quote,r,this.escaped,this.getIndex(),this.fileInfo())},compare:function(e){return"Quoted"!==e.type||this.escaped||e.escaped?e.toCSS&&this.toCSS()===e.toCSS()?0:void 0:u.numericCompare(this.value,e.value)}});var ze=function(e,t,r,n){this.value=e,this._index=t,this._fileInfo=r,this.isEvald=n};ze.prototype=Object.assign(new u,{type:"Url",accept:function(e){this.value=e.visit(this.value)},genCSS:function(e,t){t.add("url("),this.value.genCSS(e,t),t.add(")")},eval:function(e){var t,r=this.value.eval(e);if(!this.isEvald&&(t=this.fileInfo()&&this.fileInfo().rootpath,"string"===typeof t&&"string"===typeof r.value&&e.pathRequiresRewrite(r.value)?(r.quote||(t=Ne(t)),r.value=e.rewritePath(r.value,t)):r.value=e.normalizePath(r.value),e.urlArgs&&!r.value.match(/^\s*data:/))){var n=-1===r.value.indexOf("?")?"?":"&",i=n+e.urlArgs;-1!==r.value.indexOf("#")?r.value=r.value.replace("#",i+"#"):r.value+=i}return new ze(r,this.getIndex(),this.fileInfo(),!0)}});var Ve={isRulesetLike:function(){return!0},accept:function(e){this.features&&(this.features=e.visit(this.features)),this.rules&&(this.rules=e.visitArray(this.rules))},evalTop:function(e){var t=this;if(e.mediaBlocks.length>1){var r=new fe([],null,null,this.getIndex(),this.fileInfo()).createEmptySelectors();t=new _e(r,e.mediaBlocks),t.multiMedia=!0,t.copyVisibilityInfo(this.visibilityInfo()),this.setParent(t,this)}return delete e.mediaBlocks,delete e.mediaPath,t},evalNested:function(e){var t,r,n=e.mediaPath.concat([this]);for(t=0;t<n.length;t++)r=n[t].features instanceof he?n[t].features.value:n[t].features,n[t]=Array.isArray(r)?r:[r];return this.features=new he(this.permute(n).map((function(e){for(e=e.map((function(e){return e.toCSS?e:new de(e)})),t=e.length-1;t>0;t--)e.splice(t,0,new de("and"));return new Re(e)}))),this.setParent(this.features,this),new _e([],[])},permute:function(e){if(0===e.length)return[];if(1===e.length)return e[0];for(var t=[],r=this.permute(e.slice(1)),n=0;n<r.length;n++)for(var i=0;i<e[0].length;i++)t.push([e[0][i]].concat(r[n]));return t},bubbleSelectors:function(e){e&&(this.rules=[new _e(C(e),[this.rules[0]])],this.setParent(this.rules,this))}},Be=function(e,t,r,n,i){this._index=r,this._fileInfo=n;var o=new fe([],null,null,this._index,this._fileInfo).createEmptySelectors();this.features=new he(t),this.rules=[new _e(o,e)],this.rules[0].allowImports=!0,this.copyVisibilityInfo(i),this.allowRoot=!0,this.setParent(o,this),this.setParent(this.features,this),this.setParent(this.rules,this)};Be.prototype=Object.assign(new Pe,Ie(Ie({type:"Media"},Ve),{genCSS:function(e,t){t.add("@media ",this._fileInfo,this._index),this.features.genCSS(e,t),this.outputRuleset(e,t,this.rules)},eval:function(e){e.mediaBlocks||(e.mediaBlocks=[],e.mediaPath=[]);var t=new Be(null,[],this._index,this._fileInfo,this.visibilityInfo());return this.debugInfo&&(this.rules[0].debugInfo=this.debugInfo,t.debugInfo=this.debugInfo),t.features=this.features.eval(e),e.mediaPath.push(t),e.mediaBlocks.push(t),this.rules[0].functionRegistry=e.frames[0].functionRegistry.inherit(),e.frames.unshift(this.rules[0]),t.rules=[this.rules[0].eval(e)],e.frames.shift(),e.mediaPath.pop(),0===e.mediaPath.length?t.evalTop(e):t.evalNested(e)}}));var Ue=function(e,t,r,n,i,o){if(this.options=r,this._index=n,this._fileInfo=i,this.path=e,this.features=t,this.allowRoot=!0,void 0!==this.options.less||this.options.inline)this.css=!this.options.less||this.options.inline;else{var a=this.getPath();a&&/[#.&?]css([?;].*)?$/.test(a)&&(this.css=!0)}this.copyVisibilityInfo(o),this.setParent(this.features,this),this.setParent(this.path,this)};Ue.prototype=Object.assign(new u,{type:"Import",accept:function(e){this.features&&(this.features=e.visit(this.features)),this.path=e.visit(this.path),this.options.isPlugin||this.options.inline||!this.root||(this.root=e.visit(this.root))},genCSS:function(e,t){this.css&&void 0===this.path._fileInfo.reference&&(t.add("@import ",this._fileInfo,this._index),this.path.genCSS(e,t),this.features&&(t.add(" "),this.features.genCSS(e,t)),t.add(";"))},getPath:function(){return this.path instanceof ze?this.path.value.value:this.path.value},isVariableImport:function(){var e=this.path;return e instanceof ze&&(e=e.value),!(e instanceof Te)||e.containsVariables()},evalForImport:function(e){var t=this.path;return t instanceof ze&&(t=t.value),new Ue(t.eval(e),this.features,this.options,this._index,this._fileInfo,this.visibilityInfo())},evalPath:function(e){var t=this.path.eval(e),r=this._fileInfo;if(!(t instanceof ze)){var n=t.value;r&&n&&e.pathRequiresRewrite(n)?t.value=e.rewritePath(n,r.rootpath):t.value=e.normalizePath(t.value)}return t},eval:function(e){var t=this.doEval(e);return(this.options.reference||this.blocksVisibility())&&(t.length||0===t.length?t.forEach((function(e){e.addVisibilityBlock()})):t.addVisibilityBlock()),t},doEval:function(e){var t,r,n=this.features&&this.features.eval(e);if(this.options.isPlugin){if(this.root&&this.root.eval)try{this.root.eval(e)}catch(a){throw a.message="Plugin error during evaluation",new L(a,this.root.imports,this.root.filename)}return r=e.frames[0]&&e.frames[0].functionRegistry,r&&this.root&&this.root.functions&&r.addMultiple(this.root.functions),[]}if(this.skip&&("function"===typeof this.skip&&(this.skip=this.skip()),this.skip))return[];if(this.options.inline){var i=new de(this.root,0,{filename:this.importedFilename,reference:this.path._fileInfo&&this.path._fileInfo.reference},!0,!0);return this.features?new Be([i],this.features.value):[i]}if(this.css){var o=new Ue(this.evalPath(e),n,this.options,this._index);if(!o.css&&this.error)throw this.error;return o}return this.root?(t=new _e(null,C(this.root.rules)),t.evalImports(e),this.features?new Be(t.rules,this.features.value):t.rules):[]}});var qe=function(){};qe.prototype=Object.assign(new u,{evaluateJavaScript:function(e,t){var r,n=this,i={};if(!t.javascriptEnabled)throw{message:"Inline JavaScript is not enabled. Is it set in your options?",filename:this.fileInfo().filename,index:this.getIndex()};e=e.replace(/@\{([\w-]+)\}/g,(function(e,r){return n.jsify(new $e("@"+r,n.getIndex(),n.fileInfo()).eval(t))}));try{e=new Function("return ("+e+")")}catch(s){throw{message:"JavaScript evaluation error: "+s.message+" from `"+e+"`",filename:this.fileInfo().filename,index:this.getIndex()}}var o=t.frames[0].variables();for(var a in o)o.hasOwnProperty(a)&&(i[a.slice(1)]={value:o[a].value,toJS:function(){return this.value.eval(t).toCSS()}});try{r=e.call(i)}catch(s){throw{message:"JavaScript evaluation error: '"+s.name+": "+s.message.replace(/["]/g,"'")+"'",filename:this.fileInfo().filename,index:this.getIndex()}}return r},jsify:function(e){return Array.isArray(e.value)&&e.value.length>1?"["+e.value.map((function(e){return e.toCSS()})).join(", ")+"]":e.toCSS()}});var He=function(e,t,r,n){this.escaped=t,this.expression=e,this._index=r,this._fileInfo=n};He.prototype=Object.assign(new qe,{type:"JavaScript",eval:function(e){var t=this.evaluateJavaScript(this.expression,e),r=typeof t;return"number"!==r||isNaN(t)?"string"===r?new Te('"'+t+'"',t,this.escaped,this._index):Array.isArray(t)?new de(t.join(", ")):new de(t):new Ce(t)}});var We=function(e,t){this.key=e,this.value=t};We.prototype=Object.assign(new u,{type:"Assignment",accept:function(e){this.value=e.visit(this.value)},eval:function(e){return this.value.eval?new We(this.key,this.value.eval(e)):this},genCSS:function(e,t){t.add(this.key+"="),this.value.genCSS?this.value.genCSS(e,t):t.add(this.value)}});var Ge=function(e,t,r,n,i){this.op=e.trim(),this.lvalue=t,this.rvalue=r,this._index=n,this.negate=i};Ge.prototype=Object.assign(new u,{type:"Condition",accept:function(e){this.lvalue=e.visit(this.lvalue),this.rvalue=e.visit(this.rvalue)},eval:function(e){var t=function(e,t,r){switch(e){case"and":return t&&r;case"or":return t||r;default:switch(u.compare(t,r)){case-1:return"<"===e||"=<"===e||"<="===e;case 0:return"="===e||">="===e||"=<"===e||"<="===e;case 1:return">"===e||">="===e;default:return!1}}}(this.op,this.lvalue.eval(e),this.rvalue.eval(e));return this.negate?!t:t}});var Ke=function(e,t,r,n,i,o){this.op=e.trim(),this.lvalue=t,this.mvalue=r,this.op2=n?n.trim():null,this.rvalue=i,this._index=o};Ke.prototype=Object.assign(new u,{type:"QueryInParens",accept:function(e){this.lvalue=e.visit(this.lvalue),this.mvalue=e.visit(this.mvalue),this.rvalue&&(this.rvalue=e.visit(this.rvalue))},eval:function(e){return this.lvalue=this.lvalue.eval(e),this.mvalue=this.mvalue.eval(e),this.rvalue&&(this.rvalue=this.rvalue.eval(e)),this},genCSS:function(e,t){this.lvalue.genCSS(e,t),t.add(" "+this.op+" "),this.mvalue.genCSS(e,t),this.rvalue&&(t.add(" "+this.op2+" "),this.rvalue.genCSS(e,t))}});var Qe=function(e,t,r,n,i){this._index=r,this._fileInfo=n;var o=new fe([],null,null,this._index,this._fileInfo).createEmptySelectors();this.features=new he(t),this.rules=[new _e(o,e)],this.rules[0].allowImports=!0,this.copyVisibilityInfo(i),this.allowRoot=!0,this.setParent(o,this),this.setParent(this.features,this),this.setParent(this.rules,this)};Qe.prototype=Object.assign(new Pe,Ie(Ie({type:"Container"},Ve),{genCSS:function(e,t){t.add("@container ",this._fileInfo,this._index),this.features.genCSS(e,t),this.outputRuleset(e,t,this.rules)},eval:function(e){e.mediaBlocks||(e.mediaBlocks=[],e.mediaPath=[]);var t=new Qe(null,[],this._index,this._fileInfo,this.visibilityInfo());return this.debugInfo&&(this.rules[0].debugInfo=this.debugInfo,t.debugInfo=this.debugInfo),t.features=this.features.eval(e),e.mediaPath.push(t),e.mediaBlocks.push(t),this.rules[0].functionRegistry=e.frames[0].functionRegistry.inherit(),e.frames.unshift(this.rules[0]),t.rules=[this.rules[0].eval(e)],e.frames.shift(),e.mediaPath.pop(),0===e.mediaPath.length?t.evalTop(e):t.evalNested(e)}}));var Je=function(e){this.value=e};Je.prototype=Object.assign(new u,{type:"UnicodeDescriptor"});var Ye=function(e){this.value=e};Ye.prototype=Object.assign(new u,{type:"Negative",genCSS:function(e,t){t.add("-"),this.value.genCSS(e,t)},eval:function(e){return e.isMathOn()?new Oe("*",[new Ce(-1),this.value]).eval(e):new Ye(this.value.eval(e))}});var Xe=function(e,t,r,n,i){switch(this.selector=e,this.option=t,this.object_id=Xe.next_id++,this.parent_ids=[this.object_id],this._index=r,this._fileInfo=n,this.copyVisibilityInfo(i),this.allowRoot=!0,t){case"all":this.allowBefore=!0,this.allowAfter=!0;break;default:this.allowBefore=!1,this.allowAfter=!1;break}this.setParent(this.selector,this)};Xe.prototype=Object.assign(new u,{type:"Extend",accept:function(e){this.selector=e.visit(this.selector)},eval:function(e){return new Xe(this.selector.eval(e),this.option,this.getIndex(),this.fileInfo(),this.visibilityInfo())},clone:function(e){return new Xe(this.selector,this.option,this.getIndex(),this.fileInfo(),this.visibilityInfo())},findSelfSelectors:function(e){var t,r,n=[];for(t=0;t<e.length;t++)r=e[t].elements,t>0&&r.length&&""===r[0].combinator.value&&(r[0].combinator.value=" "),n=n.concat(e[t].elements);this.selfSelectors=[new fe(n)],this.selfSelectors[0].copyVisibilityInfo(this.visibilityInfo())}}),Xe.next_id=0;var Ze=function(e,t,r){this.variable=e,this._index=t,this._fileInfo=r,this.allowRoot=!0};Ze.prototype=Object.assign(new u,{type:"VariableCall",eval:function(e){var t,r=new $e(this.variable,this.getIndex(),this.fileInfo()).eval(e),n=new L({message:"Could not evaluate variable call "+this.variable});if(!r.ruleset){if(r.rules)t=r;else if(Array.isArray(r))t=new _e("",r);else{if(!Array.isArray(r.value))throw n;t=new _e("",r.value)}r=new Ee(t)}if(r.ruleset)return r.callEval(e);throw n}});var et=function(e,t,r,n){this.value=e,this.lookups=t,this._index=r,this._fileInfo=n};et.prototype=Object.assign(new u,{type:"NamespaceValue",eval:function(e){var t,r,n=this.value.eval(e);for(t=0;t<this.lookups.length;t++){if(r=this.lookups[t],Array.isArray(n)&&(n=new _e([new fe],n)),""===r)n=n.lastDeclaration();else if("@"===r.charAt(0)){if("@"===r.charAt(1)&&(r="@"+new $e(r.substr(1)).eval(e).value),n.variables&&(n=n.variable(r)),!n)throw{type:"Name",message:"variable "+r+" not found",filename:this.fileInfo().filename,index:this.getIndex()}}else{if(r="$@"===r.substring(0,2)?"$"+new $e(r.substr(1)).eval(e).value:"$"===r.charAt(0)?r:"$"+r,n.properties&&(n=n.property(r)),!n)throw{type:"Name",message:'property "'+r.substr(1)+'" not found',filename:this.fileInfo().filename,index:this.getIndex()};n=n[n.length-1]}n.value&&(n=n.eval(e).value),n.ruleset&&(n=n.ruleset.eval(e))}return n}});var tt=function(e,t,r,n,i,o,a){this.name=e||"anonymous mixin",this.selectors=[new fe([new g(null,e,!1,this._index,this._fileInfo)])],this.params=t,this.condition=n,this.variadic=i,this.arity=t.length,this.rules=r,this._lookups={};var s=[];this.required=t.reduce((function(e,t){return!t.name||t.name&&!t.value?e+1:(s.push(t.name),e)}),0),this.optionalParameters=s,this.frames=o,this.copyVisibilityInfo(a),this.allowRoot=!0};tt.prototype=Object.assign(new _e,{type:"MixinDefinition",evalFirst:!0,accept:function(e){this.params&&this.params.length&&(this.params=e.visitArray(this.params)),this.rules=e.visitArray(this.rules),this.condition&&(this.condition=e.visit(this.condition))},evalParams:function(e,t,r,n){var i,o,a,s,c,l,u,f,h=new _e(null,null),p=C(this.params),d=0;if(t.frames&&t.frames[0]&&t.frames[0].functionRegistry&&(h.functionRegistry=t.frames[0].functionRegistry.inherit()),t=new U.Eval(t,[h].concat(t.frames)),r)for(r=C(r),d=r.length,a=0;a<d;a++)if(o=r[a],l=o&&o.name){for(u=!1,s=0;s<p.length;s++)if(!n[s]&&l===p[s].name){n[s]=o.value.eval(e),h.prependRule(new ge(l,o.value.eval(e))),u=!0;break}if(u){r.splice(a,1),a--;continue}throw{type:"Runtime",message:"Named argument for "+this.name+" "+r[a].name+" not found"}}for(f=0,a=0;a<p.length;a++)if(!n[a]){if(o=r&&r[f],l=p[a].name)if(p[a].variadic){for(i=[],s=f;s<d;s++)i.push(r[s].value.eval(e));h.prependRule(new ge(l,new Re(i).eval(e)))}else{if(c=o&&o.value,c)c=Array.isArray(c)?new Ee(new _e("",c)):c.eval(e);else{if(!p[a].value)throw{type:"Runtime",message:"wrong number of arguments for "+this.name+" ("+d+" for "+this.arity+")"};c=p[a].value.eval(t),h.resetCache()}h.prependRule(new ge(l,c)),n[a]=c}if(p[a].variadic&&r)for(s=f;s<d;s++)n[s]=r[s].value.eval(e);f++}return h},makeImportant:function(){var e=this.rules?this.rules.map((function(e){return e.makeImportant?e.makeImportant(!0):e})):this.rules,t=new tt(this.name,this.params,e,this.condition,this.variadic,this.frames);return t},eval:function(e){return new tt(this.name,this.params,this.rules,this.condition,this.variadic,this.frames||C(e.frames))},evalCall:function(e,t,r){var n,i,o=[],a=this.frames?this.frames.concat(e.frames):e.frames,s=this.evalParams(e,new U.Eval(e,a),t,o);return s.prependRule(new ge("@arguments",new Re(o).eval(e))),n=C(this.rules),i=new _e(null,n),i.originalRuleset=this,i=i.eval(new U.Eval(e,[this,s].concat(a))),r&&(i=i.makeImportant()),i},matchCondition:function(e,t){return!(this.condition&&!this.condition.eval(new U.Eval(t,[this.evalParams(t,new U.Eval(t,this.frames?this.frames.concat(t.frames):t.frames),e,[])].concat(this.frames||[]).concat(t.frames))))},matchArgs:function(e,t){var r,n=e&&e.length||0,i=this.optionalParameters,o=e?e.reduce((function(e,t){return i.indexOf(t.name)<0?e+1:e}),0):0;if(this.variadic){if(o<this.required-1)return!1}else{if(o<this.required)return!1;if(n>this.params.length)return!1}r=Math.min(o,this.arity);for(var a=0;a<r;a++)if(!this.params[a].name&&!this.params[a].variadic&&e[a].value.eval(t).toCSS()!=this.params[a].value.eval(t).toCSS())return!1;return!0}});var rt=function(e,t,r,n,i){this.selector=new fe(e),this.arguments=t||[],this._index=r,this._fileInfo=n,this.important=i,this.allowRoot=!0,this.setParent(this.selector,this)};rt.prototype=Object.assign(new u,{type:"MixinCall",accept:function(e){this.selector&&(this.selector=e.visit(this.selector)),this.arguments.length&&(this.arguments=e.visitArray(this.arguments))},eval:function(e){var t,r,n,i,o,a,s,c,l,u,f,h,p,d,m,v=[],g=[],y=!1,b=[],w=[],x=-1,S=0,_=1,P=2;function E(t,r){var n,i,o;for(n=0;n<2;n++){for(w[n]=!0,Se.value(n),i=0;i<r.length&&w[n];i++)o=r[i],o.matchCondition&&(w[n]=w[n]&&o.matchCondition(null,e));t.matchCondition&&(w[n]=w[n]&&t.matchCondition(v,e))}return w[0]||w[1]?w[0]!=w[1]?w[1]?_:P:S:x}for(this.selector=this.selector.eval(e),a=0;a<this.arguments.length;a++)if(i=this.arguments[a],o=i.value.eval(e),i.expand&&Array.isArray(o.value))for(o=o.value,s=0;s<o.length;s++)v.push({value:o[s]});else v.push({name:i.name,value:o});for(m=function(t){return t.matchArgs(null,e)},a=0;a<e.frames.length;a++)if((t=e.frames[a].find(this.selector,null,m)).length>0){for(u=!0,s=0;s<t.length;s++){for(r=t[s].rule,n=t[s].path,l=!1,c=0;c<e.frames.length;c++)if(!(r instanceof tt)&&r===(e.frames[c].originalRuleset||e.frames[c])){l=!0;break}l||r.matchArgs(v,e)&&(f={mixin:r,group:E(r,n)},f.group!==x&&b.push(f),y=!0)}for(Se.reset(),p=[0,0,0],s=0;s<b.length;s++)p[b[s].group]++;if(p[S]>0)h=P;else if(h=_,p[_]+p[P]>1)throw{type:"Runtime",message:"Ambiguous use of `default()` found when matching for `"+this.format(v)+"`",index:this.getIndex(),filename:this.fileInfo().filename};for(s=0;s<b.length;s++)if(f=b[s].group,f===S||f===h)try{r=b[s].mixin,r instanceof tt||(d=r.originalRuleset||r,r=new tt("",[],r.rules,null,!1,null,d.visibilityInfo()),r.originalRuleset=d);var k=r.evalCall(e,v,this.important).rules;this._setVisibilityToReplacement(k),Array.prototype.push.apply(g,k)}catch(C){throw{message:C.message,index:this.getIndex(),filename:this.fileInfo().filename,stack:C.stack}}if(y)return g}throw u?{type:"Runtime",message:"No matching definition was found for `"+this.format(v)+"`",index:this.getIndex(),filename:this.fileInfo().filename}:{type:"Name",message:this.selector.toCSS().trim()+" is undefined",index:this.getIndex(),filename:this.fileInfo().filename}},_setVisibilityToReplacement:function(e){var t,r;if(this.blocksVisibility())for(t=0;t<e.length;t++)r=e[t],r.addVisibilityBlock()},format:function(e){return this.selector.toCSS().trim()+"("+(e?e.map((function(e){var t="";return e.name&&(t+=e.name+":"),e.value.toCSS?t+=e.value.toCSS():t+="???",t})).join(", "):"")+")"}});var nt={Node:u,Color:f,AtRule:Pe,DetachedRuleset:Ee,Operation:Oe,Dimension:Ce,Unit:ke,Keyword:pe,Variable:$e,Property:Le,Ruleset:_e,Element:g,Attribute:Me,Combinator:v,Selector:fe,Quoted:Te,Expression:Re,Declaration:ge,Call:De,URL:ze,Import:Ue,Comment:xe,Anonymous:de,Value:he,JavaScript:He,Assignment:We,Condition:Ge,Paren:d,Media:Be,Container:Qe,QueryInParens:Ke,UnicodeDescriptor:Je,Negative:Ye,Extend:Xe,VariableCall:Ze,NamespaceValue:et,mixin:{Call:rt,Definition:tt}},it=function(){function e(){}return e.prototype.getPath=function(e){var t=e.lastIndexOf("?");return t>0&&(e=e.slice(0,t)),t=e.lastIndexOf("/"),t<0&&(t=e.lastIndexOf("\\")),t<0?"":e.slice(0,t+1)},e.prototype.tryAppendExtension=function(e,t){return/(\.[a-z]*$)|([?;].*)$/.test(e)?e:e+t},e.prototype.tryAppendLessExtension=function(e){return this.tryAppendExtension(e,".less")},e.prototype.supportsSync=function(){return!1},e.prototype.alwaysMakePathsAbsolute=function(){return!1},e.prototype.isPathAbsolute=function(e){return/^(?:[a-z-]+:|\/|\\|#)/i.test(e)},e.prototype.join=function(e,t){return e?e+t:t},e.prototype.pathDiff=function(e,t){var r,n,i,o,a=this.extractUrlParts(e),s=this.extractUrlParts(t),c="";if(a.hostPart!==s.hostPart)return"";for(n=Math.max(s.directories.length,a.directories.length),r=0;r<n;r++)if(s.directories[r]!==a.directories[r])break;for(o=s.directories.slice(r),i=a.directories.slice(r),r=0;r<o.length-1;r++)c+="../";for(r=0;r<i.length-1;r++)c+=i[r]+"/";return c},e.prototype.extractUrlParts=function(e,t){var r,n,i=/^((?:[a-z-]+:)?\/{2}(?:[^/?#]*\/)|([/\\]))?((?:[^/\\?#]*[/\\])*)([^/\\?#]*)([#?].*)?$/i,o=e.match(i),a={},s=[],c=[];if(!o)throw new Error("Could not parse sheet href - '"+e+"'");if(t&&(!o[1]||o[2])){if(n=t.match(i),!n)throw new Error("Could not parse page url - '"+t+"'");o[1]=o[1]||n[1]||"",o[2]||(o[3]=n[3]+o[3])}if(o[3])for(s=o[3].replace(/\\/g,"/").split("/"),r=0;r<s.length;r++)".."===s[r]?c.pop():"."!==s[r]&&c.push(s[r]);return a.hostPart=o[1],a.directories=c,a.rawPath=(o[1]||"")+s.join("/"),a.path=(o[1]||"")+c.join("/"),a.filename=o[4],a.fileUrl=a.path+(o[4]||""),a.url=a.fileUrl+(o[5]||""),a},e}(),ot=function(){function e(){this.require=function(){return null}}return e.prototype.evalPlugin=function(e,t,r,n,i){var o,a,s,c,l,u,f;l=t.pluginManager,i&&(u="string"===typeof i?i:i.filename);var h=(new this.less.FileManager).extractUrlParts(u).filename;if(u&&(s=l.get(u),s)){if(f=this.trySetOptions(s,u,h,n),f)return f;try{s.use&&s.use.call(this.context,s)}catch(d){return d.message=d.message||"Error during @plugin call",new L(d,r,u)}return s}c={exports:{},pluginManager:l,fileInfo:i},a=se.create();var p=function(e){s=e};try{o=new Function("module","require","registerPlugin","functions","tree","less","fileInfo",e),o(c,this.require(u),p,a,this.less.tree,this.less,i)}catch(d){return new L(d,r,u)}if(s||(s=c.exports),s=this.validatePlugin(s,u,h),s instanceof L)return s;if(!s)return new L({message:"Not a valid plugin"},r,u);if(s.imports=r,s.filename=u,(!s.minVersion||this.compareVersion("3.0.0",s.minVersion)<0)&&(f=this.trySetOptions(s,u,h,n),f))return f;if(l.addPlugin(s,i.filename,a),s.functions=a.getLocalFunctions(),f=this.trySetOptions(s,u,h,n),f)return f;try{s.use&&s.use.call(this.context,s)}catch(d){return d.message=d.message||"Error during @plugin call",new L(d,r,u)}return s},e.prototype.trySetOptions=function(e,t,r,n){if(n&&!e.setOptions)return new L({message:"Options have been provided but the plugin "+r+" does not support any options."});try{e.setOptions&&e.setOptions(n)}catch(i){return new L(i)}},e.prototype.validatePlugin=function(e,t,r){return e?("function"===typeof e&&(e=new e),e.minVersion&&this.compareVersion(e.minVersion,this.less.version)<0?new L({message:"Plugin "+r+" requires version "+this.versionToString(e.minVersion)}):e):null},e.prototype.compareVersion=function(e,t){"string"===typeof e&&(e=e.match(/^(\d+)\.?(\d+)?\.?(\d+)?/),e.shift());for(var r=0;r<e.length;r++)if(e[r]!==t[r])return parseInt(e[r])>parseInt(t[r])?-1:1;return 0},e.prototype.versionToString=function(e){for(var t="",r=0;r<e.length;r++)t+=(t?".":"")+e[r];return t},e.prototype.printUsage=function(e){for(var t=0;t<e.length;t++){var r=e[t];r.printUsage&&r.printUsage()}},e}();function at(e){return e?pe.True:pe.False}function st(e,t,r,n){return t.eval(e)?r.eval(e):n?n.eval(e):new de}function ct(e,t){try{return t.eval(e),pe.True}catch(r){return pe.False}}st.evalArgs=!1,ct.evalArgs=!1;var lt,ut={isdefined:ct,boolean:at,if:st};function ft(e){return Math.min(1,Math.max(0,e))}function ht(e,t){var r=lt.hsla(t.h,t.s,t.l,t.a);if(r)return e.value&&/^(rgb|hsl)/.test(e.value)?r.value=e.value:r.value="rgb",r}function pt(e){if(e.toHSL)return e.toHSL();throw new Error("Argument cannot be evaluated to a color")}function dt(e){if(e.toHSV)return e.toHSV();throw new Error("Argument cannot be evaluated to a color")}function mt(e){if(e instanceof Ce)return parseFloat(e.unit.is("%")?e.value/100:e.value);if("number"===typeof e)return e;throw{type:"Argument",message:"color functions take numbers as parameters"}}function vt(e,t){return e instanceof Ce&&e.unit.is("%")?parseFloat(e.value*t/100):mt(e)}lt={rgb:function(e,t,r){var n=1;if(e instanceof Re){var i=e.value;if(e=i[0],t=i[1],r=i[2],r instanceof Oe){var o=r;r=o.operands[0],n=o.operands[1]}}var a=lt.rgba(e,t,r,n);if(a)return a.value="rgb",a},rgba:function(e,t,r,n){try{if(e instanceof f)return n=t?mt(t):e.alpha,new f(e.rgb,n,"rgba");var i=[e,t,r].map((function(e){return vt(e,255)}));return n=mt(n),new f(i,n,"rgba")}catch(o){}},hsl:function(e,t,r){var n=1;if(e instanceof Re){var i=e.value;if(e=i[0],t=i[1],r=i[2],r instanceof Oe){var o=r;r=o.operands[0],n=o.operands[1]}}var a=lt.hsla(e,t,r,n);if(a)return a.value="hsl",a},hsla:function(e,t,r,n){var i,o;function a(e){return e=e<0?e+1:e>1?e-1:e,6*e<1?i+(o-i)*e*6:2*e<1?o:3*e<2?i+(o-i)*(2/3-e)*6:i}try{if(e instanceof f)return n=t?mt(t):e.alpha,new f(e.rgb,n,"hsla");e=mt(e)%360/360,t=ft(mt(t)),r=ft(mt(r)),n=ft(mt(n)),o=r<=.5?r*(t+1):r+t-r*t,i=2*r-o;var s=[255*a(e+1/3),255*a(e),255*a(e-1/3)];return n=mt(n),new f(s,n,"hsla")}catch(c){}},hsv:function(e,t,r){return lt.hsva(e,t,r,1)},hsva:function(e,t,r,n){var i,o;e=mt(e)%360/360*360,t=mt(t),r=mt(r),n=mt(n),i=Math.floor(e/60%6),o=e/60-i;var a=[r,r*(1-t),r*(1-o*t),r*(1-(1-o)*t)],s=[[0,3,1],[2,0,1],[1,0,3],[1,2,0],[3,1,0],[0,1,2]];return lt.rgba(255*a[s[i][0]],255*a[s[i][1]],255*a[s[i][2]],n)},hue:function(e){return new Ce(pt(e).h)},saturation:function(e){return new Ce(100*pt(e).s,"%")},lightness:function(e){return new Ce(100*pt(e).l,"%")},hsvhue:function(e){return new Ce(dt(e).h)},hsvsaturation:function(e){return new Ce(100*dt(e).s,"%")},hsvvalue:function(e){return new Ce(100*dt(e).v,"%")},red:function(e){return new Ce(e.rgb[0])},green:function(e){return new Ce(e.rgb[1])},blue:function(e){return new Ce(e.rgb[2])},alpha:function(e){return new Ce(pt(e).a)},luma:function(e){return new Ce(e.luma()*e.alpha*100,"%")},luminance:function(e){var t=.2126*e.rgb[0]/255+.7152*e.rgb[1]/255+.0722*e.rgb[2]/255;return new Ce(t*e.alpha*100,"%")},saturate:function(e,t,r){if(!e.rgb)return null;var n=pt(e);return"undefined"!==typeof r&&"relative"===r.value?n.s+=n.s*t.value/100:n.s+=t.value/100,n.s=ft(n.s),ht(e,n)},desaturate:function(e,t,r){var n=pt(e);return"undefined"!==typeof r&&"relative"===r.value?n.s-=n.s*t.value/100:n.s-=t.value/100,n.s=ft(n.s),ht(e,n)},lighten:function(e,t,r){var n=pt(e);return"undefined"!==typeof r&&"relative"===r.value?n.l+=n.l*t.value/100:n.l+=t.value/100,n.l=ft(n.l),ht(e,n)},darken:function(e,t,r){var n=pt(e);return"undefined"!==typeof r&&"relative"===r.value?n.l-=n.l*t.value/100:n.l-=t.value/100,n.l=ft(n.l),ht(e,n)},fadein:function(e,t,r){var n=pt(e);return"undefined"!==typeof r&&"relative"===r.value?n.a+=n.a*t.value/100:n.a+=t.value/100,n.a=ft(n.a),ht(e,n)},fadeout:function(e,t,r){var n=pt(e);return"undefined"!==typeof r&&"relative"===r.value?n.a-=n.a*t.value/100:n.a-=t.value/100,n.a=ft(n.a),ht(e,n)},fade:function(e,t){var r=pt(e);return r.a=t.value/100,r.a=ft(r.a),ht(e,r)},spin:function(e,t){var r=pt(e),n=(r.h+t.value)%360;return r.h=n<0?360+n:n,ht(e,r)},mix:function(e,t,r){r||(r=new Ce(50));var n=r.value/100,i=2*n-1,o=pt(e).a-pt(t).a,a=((i*o==-1?i:(i+o)/(1+i*o))+1)/2,s=1-a,c=[e.rgb[0]*a+t.rgb[0]*s,e.rgb[1]*a+t.rgb[1]*s,e.rgb[2]*a+t.rgb[2]*s],l=e.alpha*n+t.alpha*(1-n);return new f(c,l)},greyscale:function(e){return lt.desaturate(e,new Ce(100))},contrast:function(e,t,r,n){if(!e.rgb)return null;if("undefined"===typeof r&&(r=lt.rgba(255,255,255,1)),"undefined"===typeof t&&(t=lt.rgba(0,0,0,1)),t.luma()>r.luma()){var i=r;r=t,t=i}return n="undefined"===typeof n?.43:mt(n),e.luma()<n?r:t},argb:function(e){return new de(e.toARGB())},color:function(e){if(e instanceof Te&&/^#([A-Fa-f0-9]{8}|[A-Fa-f0-9]{6}|[A-Fa-f0-9]{3,4})$/i.test(e.value)){var t=e.value.slice(1);return new f(t,void 0,"#"+t)}if(e instanceof f||(e=f.fromKeyword(e.value)))return e.value=void 0,e;throw{type:"Argument",message:"argument must be a color keyword or 3|4|6|8 digit hex e.g. #FFF"}},tint:function(e,t){return lt.mix(lt.rgb(255,255,255),e,t)},shade:function(e,t){return lt.mix(lt.rgb(0,0,0),e,t)}};var gt=lt;function yt(e,t,r){var n,i,o,a,s=t.alpha,c=r.alpha,l=[];o=c+s*(1-c);for(var u=0;u<3;u++)n=t.rgb[u]/255,i=r.rgb[u]/255,a=e(n,i),o&&(a=(c*i+s*(n-c*(n+i-a)))/o),l[u]=255*a;return new f(l,o)}var bt={multiply:function(e,t){return e*t},screen:function(e,t){return e+t-e*t},overlay:function(e,t){return e*=2,e<=1?bt.multiply(e,t):bt.screen(e-1,t)},softlight:function(e,t){var r=1,n=e;return t>.5&&(n=1,r=e>.25?Math.sqrt(e):((16*e-12)*e+4)*e),e-(1-2*t)*n*(r-e)},hardlight:function(e,t){return bt.overlay(t,e)},difference:function(e,t){return Math.abs(e-t)},exclusion:function(e,t){return e+t-2*e*t},average:function(e,t){return(e+t)/2},negation:function(e,t){return 1-Math.abs(e+t-1)}};for(var wt in bt)bt.hasOwnProperty(wt)&&(yt[wt]=yt.bind(null,bt[wt]));var xt=function(e){var t=function(e,t){return new ze(t,e.index,e.currentFileInfo).eval(e.context)};return{"data-uri":function(r,n){n||(n=r,r=null);var i=r&&r.value,a=n.value,s=this.currentFileInfo,c=s.rewriteUrls?s.currentDirectory:s.entryPath,l=a.indexOf("#"),u="";-1!==l&&(u=a.slice(l),a=a.slice(0,l));var f=j(this.context);f.rawBuffer=!0;var h=e.getFileManager(a,c,f,e,!0);if(!h)return t(this,n);var p=!1;if(r)p=/;base64$/.test(i);else{if(i=e.mimeLookup(a),"image/svg+xml"===i)p=!1;else{var d=e.charsetLookup(i);p=["US-ASCII","UTF-8"].indexOf(d)<0}p&&(i+=";base64")}var m=h.loadFileSync(a,c,f,e);if(!m.contents)return o.warn("Skipped data-uri embedding of "+a+" because file not found"),t(this,n||r);var v=m.contents;if(p&&!e.encodeBase64)return t(this,n);v=p?e.encodeBase64(v):encodeURIComponent(v);var g="data:"+i+","+v+u;return new ze(new Te('"'+g+'"',g,!1,this.index,this.currentFileInfo),this.index,this.currentFileInfo)}}},St=function(e){var t=Array.isArray(e.value)?e.value:Array(e);return t},_t={_SELF:function(e){return e},"~":function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 1===e.length?e[0]:new he(e)},extract:function(e,t){return t=t.value-1,St(e)[t]},length:function(e){return new Ce(St(e).length)},range:function(e,t,r){var n,i,o=1,a=[];t?(i=t,n=e.value,r&&(o=r.value)):(n=1,i=e);for(var s=n;s<=i.value;s+=o)a.push(new Ce(s,i.unit));return new Re(a)},each:function(e,t){var r,n,i=this,o=[],a=function(e){return e instanceof u?e.eval(i.context):e};n=!e.value||e instanceof Te?e.ruleset?a(e.ruleset).rules:e.rules?e.rules.map(a):Array.isArray(e)?e.map(a):[a(e)]:Array.isArray(e.value)?e.value.map(a):[a(e.value)];var s="@value",c="@key",l="@index";t.params?(s=t.params[0]&&t.params[0].name,c=t.params[1]&&t.params[1].name,l=t.params[2]&&t.params[2].name,t=t.rules):t=t.ruleset;for(var f=0;f<n.length;f++){var h=void 0,p=void 0,d=n[f];d instanceof ge?(h="string"===typeof d.name?d.name:d.name[0].value,p=d.value):(h=new Ce(f+1),p=d),d instanceof xe||(r=t.rules.slice(0),s&&r.push(new ge(s,p,!1,!1,this.index,this.currentFileInfo)),l&&r.push(new ge(l,new Ce(f+1),!1,!1,this.index,this.currentFileInfo)),c&&r.push(new ge(c,h,!1,!1,this.index,this.currentFileInfo)),o.push(new _e([new fe([new g("","&")])],r,t.strictImports,t.visibilityInfo())))}return new _e([new fe([new g("","&")])],o,t.strictImports,t.visibilityInfo()).eval(this.context)}},Pt=function(e,t,r){if(!(r instanceof Ce))throw{type:"Argument",message:"argument must be a number"};return null===t?t=r.unit:r=r.unify(),new Ce(e(parseFloat(r.value)),t)},Et={ceil:null,floor:null,sqrt:null,abs:null,tan:"",sin:"",cos:"",atan:"rad",asin:"rad",acos:"rad"};for(var kt in Et)Et.hasOwnProperty(kt)&&(Et[kt]=Pt.bind(null,Math[kt],Et[kt]));Et.round=function(e,t){var r="undefined"===typeof t?0:t.value;return Pt((function(e){return e.toFixed(r)}),null,e)};var Ct=function(e,t){var r,n,i,o,a,s,c,l,u=this;switch(t=Array.prototype.slice.call(t),t.length){case 0:throw{type:"Argument",message:"one or more arguments required"}}var f=[],h={};for(r=0;r<t.length;r++)if(i=t[r],i instanceof Ce)if(o=""===i.unit.toString()&&void 0!==l?new Ce(i.value,l).unify():i.unify(),s=""===o.unit.toString()&&void 0!==c?c:o.unit.toString(),c=""!==s&&void 0===c||""!==s&&""===f[0].unify().unit.toString()?s:c,l=""!==s&&void 0===l?i.unit.toString():l,n=void 0!==h[""]&&""!==s&&s===c?h[""]:h[s],void 0!==n)a=""===f[n].unit.toString()&&void 0!==l?new Ce(f[n].value,l).unify():f[n].unify(),(e&&o.value<a.value||!e&&o.value>a.value)&&(f[n]=i);else{if(void 0!==c&&s!==c)throw{type:"Argument",message:"incompatible types"};h[s]=f.length,f.push(i)}else Array.isArray(t[r].value)&&Array.prototype.push.apply(t,Array.prototype.slice.call(t[r].value));return 1==f.length?f[0]:(t=f.map((function(e){return e.toCSS(u.context)})).join(this.context.compress?",":", "),new de((e?"min":"max")+"("+t+")"))},jt={min:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];try{return Ct.call(this,!0,e)}catch(r){}},max:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];try{return Ct.call(this,!1,e)}catch(r){}},convert:function(e,t){return e.convertTo(t.value)},pi:function(){return new Ce(Math.PI)},mod:function(e,t){return new Ce(e.value%t.value,e.unit)},pow:function(e,t){if("number"===typeof e&&"number"===typeof t)e=new Ce(e),t=new Ce(t);else if(!(e instanceof Ce)||!(t instanceof Ce))throw{type:"Argument",message:"arguments must be numbers"};return new Ce(Math.pow(e.value,t.value),e.unit)},percentage:function(e){var t=Pt((function(e){return 100*e}),"%",e);return t}},Ot={e:function(e){return new Te('"',e instanceof He?e.evaluated:e.value,!0)},escape:function(e){return new de(encodeURI(e.value).replace(/=/g,"%3D").replace(/:/g,"%3A").replace(/#/g,"%23").replace(/;/g,"%3B").replace(/\(/g,"%28").replace(/\)/g,"%29"))},replace:function(e,t,r,n){var i=e.value;return r="Quoted"===r.type?r.value:r.toCSS(),i=i.replace(new RegExp(t.value,n?n.value:""),r),new Te(e.quote||"",i,e.escaped)},"%":function(e){for(var t=Array.prototype.slice.call(arguments,1),r=e.value,n=function(e){r=r.replace(/%[sda]/i,(function(r){var n="Quoted"===t[e].type&&r.match(/s/i)?t[e].value:t[e].toCSS();return r.match(/[A-Z]$/)?encodeURIComponent(n):n}))},i=0;i<t.length;i++)n(i);return r=r.replace(/%%/g,"%"),new Te(e.quote||"",r,e.escaped)}},It=function(){return{"svg-gradient":function(e){var t,r,n,i,o,a,s,c,l="linear",u='x="0" y="0" width="1" height="1"',h={compress:!1},p=e.toCSS(h);function d(){throw{type:"Argument",message:"svg-gradient expects direction, start_color [start_position], [color position,]..., end_color [end_position] or direction, color list"}}switch(2==arguments.length?(arguments[1].value.length<2&&d(),t=arguments[1].value):arguments.length<3?d():t=Array.prototype.slice.call(arguments,1),p){case"to bottom":r='x1="0%" y1="0%" x2="0%" y2="100%"';break;case"to right":r='x1="0%" y1="0%" x2="100%" y2="0%"';break;case"to bottom right":r='x1="0%" y1="0%" x2="100%" y2="100%"';break;case"to top right":r='x1="0%" y1="100%" x2="100%" y2="0%"';break;case"ellipse":case"ellipse at center":l="radial",r='cx="50%" cy="50%" r="75%"',u='x="-50" y="-50" width="101" height="101"';break;default:throw{type:"Argument",message:"svg-gradient direction must be 'to bottom', 'to right', 'to bottom right', 'to top right' or 'ellipse at center'"}}for(n='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1 1"><'+l+'Gradient id="g" '+r+">",i=0;i<t.length;i+=1)t[i]instanceof Re?(o=t[i].value[0],a=t[i].value[1]):(o=t[i],a=void 0),o instanceof f&&((0===i||i+1===t.length)&&void 0===a||a instanceof Ce)||d(),s=a?a.toCSS(h):0===i?"0%":"100%",c=o.alpha,n+='<stop offset="'+s+'" stop-color="'+o.toRGB()+'"'+(c<1?' stop-opacity="'+c+'"':"")+"/>";return n+="</"+l+"Gradient><rect "+u+' fill="url(#g)" /></svg>',n=encodeURIComponent(n),n="data:image/svg+xml,"+n,new ze(new Te("'"+n+"'",n,!1,this.index,this.currentFileInfo),this.index,this.currentFileInfo)}}},At=function(e,t){return e instanceof t?pe.True:pe.False},Rt=function(e,t){if(void 0===t)throw{type:"Argument",message:"missing the required second argument to isunit."};if(t="string"===typeof t.value?t.value:t,"string"!==typeof t)throw{type:"Argument",message:"Second argument to isunit should be a unit or a string."};return e instanceof Ce&&e.unit.is(t)?pe.True:pe.False},Ft={isruleset:function(e){return At(e,Ee)},iscolor:function(e){return At(e,f)},isnumber:function(e){return At(e,Ce)},isstring:function(e){return At(e,Te)},iskeyword:function(e){return At(e,pe)},isurl:function(e){return At(e,ze)},ispixel:function(e){return Rt(e,"px")},ispercentage:function(e){return Rt(e,"%")},isem:function(e){return Rt(e,"em")},isunit:Rt,unit:function(e,t){if(!(e instanceof Ce))throw{type:"Argument",message:"the first argument to unit must be a number"+(e instanceof Oe?". Have you forgotten parenthesis?":"")};return t=t?t instanceof pe?t.value:t.toCSS():"",new Ce(e.value,t)},"get-unit":function(e){return new de(e.unit)}},Dt=function(e){var t={functionRegistry:se,functionCaller:Fe};return se.addMultiple(ut),se.add("default",Se.eval.bind(Se)),se.addMultiple(gt),se.addMultiple(yt),se.addMultiple(xt(e)),se.addMultiple(_t),se.addMultiple(Et),se.addMultiple(jt),se.addMultiple(Ot),se.addMultiple(It()),se.addMultiple(Ft),t};function $t(e,t){var r;t=t||{};var n=t.variables,i=new U.Eval(t);"object"!==typeof n||Array.isArray(n)||(n=Object.keys(n).map((function(e){var t=n[e];return t instanceof nt.Value||(t instanceof nt.Expression||(t=new nt.Expression([t])),t=new nt.Value([t])),new nt.Declaration("@"+e,t,!1,null,0)})),i.frames=[new nt.Ruleset(null,n)]);var o,a,s=[new ne.JoinSelectorVisitor,new ne.MarkVisibleSelectorsVisitor(!0),new ne.ExtendVisitor,new ne.ToCSSVisitor({compress:Boolean(t.compress)})],c=[];if(t.pluginManager){a=t.pluginManager.visitor();for(var l=0;l<2;l++){a.first();while(o=a.get())o.isPreEvalVisitor?0!==l&&-1!==c.indexOf(o)||(c.push(o),o.run(e)):0!==l&&-1!==s.indexOf(o)||(o.isPreVisitor?s.unshift(o):s.push(o))}}r=e.eval(i);for(var u=0;u<s.length;u++)s[u].run(r);if(t.pluginManager){a.first();while(o=a.get())-1===s.indexOf(o)&&-1===c.indexOf(o)&&o.run(r)}return r}var Lt,Mt=function(){function e(e){this.less=e,this.visitors=[],this.preProcessors=[],this.postProcessors=[],this.installedPlugins=[],this.fileManagers=[],this.iterator=-1,this.pluginCache={},this.Loader=new e.PluginLoader(e)}return e.prototype.addPlugins=function(e){if(e)for(var t=0;t<e.length;t++)this.addPlugin(e[t])},e.prototype.addPlugin=function(e,t,r){this.installedPlugins.push(e),t&&(this.pluginCache[t]=e),e.install&&e.install(this.less,this,r||this.less.functions.functionRegistry)},e.prototype.get=function(e){return this.pluginCache[e]},e.prototype.addVisitor=function(e){this.visitors.push(e)},e.prototype.addPreProcessor=function(e,t){var r;for(r=0;r<this.preProcessors.length;r++)if(this.preProcessors[r].priority>=t)break;this.preProcessors.splice(r,0,{preProcessor:e,priority:t})},e.prototype.addPostProcessor=function(e,t){var r;for(r=0;r<this.postProcessors.length;r++)if(this.postProcessors[r].priority>=t)break;this.postProcessors.splice(r,0,{postProcessor:e,priority:t})},e.prototype.addFileManager=function(e){this.fileManagers.push(e)},e.prototype.getPreProcessors=function(){for(var e=[],t=0;t<this.preProcessors.length;t++)e.push(this.preProcessors[t].preProcessor);return e},e.prototype.getPostProcessors=function(){for(var e=[],t=0;t<this.postProcessors.length;t++)e.push(this.postProcessors[t].postProcessor);return e},e.prototype.getVisitors=function(){return this.visitors},e.prototype.visitor=function(){var e=this;return{first:function(){return e.iterator=-1,e.visitors[e.iterator]},get:function(){return e.iterator+=1,e.visitors[e.iterator]}}},e.prototype.getFileManagers=function(){return this.fileManagers},e}(),Tt=function(e,t){return!t&&Lt||(Lt=new Mt(e)),Lt};function Nt(e){var t=function(){function t(t){this._css=[],this._rootNode=t.rootNode,this._contentsMap=t.contentsMap,this._contentsIgnoredCharsMap=t.contentsIgnoredCharsMap,t.sourceMapFilename&&(this._sourceMapFilename=t.sourceMapFilename.replace(/\\/g,"/")),this._outputFilename=t.outputFilename,this.sourceMapURL=t.sourceMapURL,t.sourceMapBasepath&&(this._sourceMapBasepath=t.sourceMapBasepath.replace(/\\/g,"/")),t.sourceMapRootpath?(this._sourceMapRootpath=t.sourceMapRootpath.replace(/\\/g,"/"),"/"!==this._sourceMapRootpath.charAt(this._sourceMapRootpath.length-1)&&(this._sourceMapRootpath+="/")):this._sourceMapRootpath="",this._outputSourceFiles=t.outputSourceFiles,this._sourceMapGeneratorConstructor=e.getSourceMapGenerator(),this._lineNumber=0,this._column=0}return t.prototype.removeBasepath=function(e){return this._sourceMapBasepath&&0===e.indexOf(this._sourceMapBasepath)&&(e=e.substring(this._sourceMapBasepath.length),"\\"!==e.charAt(0)&&"/"!==e.charAt(0)||(e=e.substring(1))),e},t.prototype.normalizeFilename=function(e){return e=e.replace(/\\/g,"/"),e=this.removeBasepath(e),(this._sourceMapRootpath||"")+e},t.prototype.add=function(e,t,r,n){if(e){var i,o,a,s,c;if(t&&t.filename){var l=this._contentsMap[t.filename];if(this._contentsIgnoredCharsMap[t.filename]&&(r-=this._contentsIgnoredCharsMap[t.filename],r<0&&(r=0),l=l.slice(this._contentsIgnoredCharsMap[t.filename])),void 0===l)return void this._css.push(e);l=l.substring(0,r),o=l.split("\n"),s=o[o.length-1]}if(i=e.split("\n"),a=i[i.length-1],t&&t.filename)if(n)for(c=0;c<i.length;c++)this._sourceMapGenerator.addMapping({generated:{line:this._lineNumber+c+1,column:0===c?this._column:0},original:{line:o.length+c,column:0===c?s.length:0},source:this.normalizeFilename(t.filename)});else this._sourceMapGenerator.addMapping({generated:{line:this._lineNumber+1,column:this._column},original:{line:o.length,column:s.length},source:this.normalizeFilename(t.filename)});1===i.length?this._column+=a.length:(this._lineNumber+=i.length-1,this._column=a.length),this._css.push(e)}},t.prototype.isEmpty=function(){return 0===this._css.length},t.prototype.toCSS=function(e){if(this._sourceMapGenerator=new this._sourceMapGeneratorConstructor({file:this._outputFilename,sourceRoot:null}),this._outputSourceFiles)for(var t in this._contentsMap)if(this._contentsMap.hasOwnProperty(t)){var r=this._contentsMap[t];this._contentsIgnoredCharsMap[t]&&(r=r.slice(this._contentsIgnoredCharsMap[t])),this._sourceMapGenerator.setSourceContent(this.normalizeFilename(t),r)}if(this._rootNode.genCSS(e,this),this._css.length>0){var n=void 0,i=JSON.stringify(this._sourceMapGenerator.toJSON());this.sourceMapURL?n=this.sourceMapURL:this._sourceMapFilename&&(n=this._sourceMapFilename),this.sourceMapURL=n,this.sourceMap=i}return this._css.join("")},t}();return t}function zt(e,t){var r=function(){function r(e){this.options=e}return r.prototype.toCSS=function(t,r,n){var i=new e({contentsIgnoredCharsMap:n.contentsIgnoredChars,rootNode:t,contentsMap:n.contents,sourceMapFilename:this.options.sourceMapFilename,sourceMapURL:this.options.sourceMapURL,outputFilename:this.options.sourceMapOutputFilename,sourceMapBasepath:this.options.sourceMapBasepath,sourceMapRootpath:this.options.sourceMapRootpath,outputSourceFiles:this.options.outputSourceFiles,sourceMapGenerator:this.options.sourceMapGenerator,sourceMapFileInline:this.options.sourceMapFileInline,disableSourcemapAnnotation:this.options.disableSourcemapAnnotation}),o=i.toCSS(r);return this.sourceMap=i.sourceMap,this.sourceMapURL=i.sourceMapURL,this.options.sourceMapInputFilename&&(this.sourceMapInputFilename=i.normalizeFilename(this.options.sourceMapInputFilename)),void 0!==this.options.sourceMapBasepath&&void 0!==this.sourceMapURL&&(this.sourceMapURL=i.removeBasepath(this.sourceMapURL)),o+this.getCSSAppendage()},r.prototype.getCSSAppendage=function(){var e=this.sourceMapURL;if(this.options.sourceMapFileInline){if(void 0===this.sourceMap)return"";e="data:application/json;base64,"+t.encodeBase64(this.sourceMap)}return this.options.disableSourcemapAnnotation?"":e?"/*# sourceMappingURL="+e+" */":""},r.prototype.getExternalSourceMap=function(){return this.sourceMap},r.prototype.setExternalSourceMap=function(e){this.sourceMap=e},r.prototype.isInline=function(){return this.options.sourceMapFileInline},r.prototype.getSourceMapURL=function(){return this.sourceMapURL},r.prototype.getOutputFilename=function(){return this.options.sourceMapOutputFilename},r.prototype.getInputFilename=function(){return this.sourceMapInputFilename},r}();return r}function Vt(e){var t=function(){function t(e,t){this.root=e,this.imports=t}return t.prototype.toCSS=function(t){var r,n,i={};try{r=$t(this.root,t)}catch(f){throw new L(f,this.imports)}try{var a=Boolean(t.compress);a&&o.warn("The compress option has been deprecated. We recommend you use a dedicated css minifier, for instance see less-plugin-clean-css.");var s={compress:a,dumpLineNumbers:t.dumpLineNumbers,strictUnits:Boolean(t.strictUnits),numPrecision:8};t.sourceMap?(n=new e(t.sourceMap),i.css=n.toCSS(r,s,this.imports)):i.css=r.toCSS(s)}catch(f){throw new L(f,this.imports)}if(t.pluginManager)for(var c=t.pluginManager.getPostProcessors(),l=0;l<c.length;l++)i.css=c[l].process(i.css,{sourceMap:n,options:t,imports:this.imports});for(var u in t.sourceMap&&(i.map=n.getExternalSourceMap()),i.imports=[],this.imports.files)Object.prototype.hasOwnProperty.call(this.imports.files,u)&&u!==this.imports.rootFilename&&i.imports.push(u);return i},t}();return t}function Bt(e){var t=function(){function t(e,t,r){this.less=e,this.rootFilename=r.filename,this.paths=t.paths||[],this.contents={},this.contentsIgnoredChars={},this.mime=t.mime,this.error=null,this.context=t,this.queue=[],this.files={}}return t.prototype.push=function(t,r,n,i,a){var s=this,c=this.context.pluginManager.Loader;this.queue.push(t);var l=function(e,r,n){s.queue.splice(s.queue.indexOf(t),1);var c=n===s.rootFilename;i.optional&&e?(a(null,{rules:[]},!1,null),o.info("The file "+n+" was skipped because it was not found and the import was marked optional.")):(s.files[n]||i.inline||(s.files[n]={root:r,options:i}),e&&!s.error&&(s.error=e),a(e,r,c,n))},u={rewriteUrls:this.context.rewriteUrls,entryPath:n.entryPath,rootpath:n.rootpath,rootFilename:n.rootFilename},f=e.getFileManager(t,n.currentDirectory,this.context,e);if(f){var h,p,d=function(e){var t,r=e.filename,o=e.contents.replace(/^\uFEFF/,"");u.currentDirectory=f.getPath(r),u.rewriteUrls&&(u.rootpath=f.join(s.context.rootpath||"",f.pathDiff(u.currentDirectory,u.entryPath)),!f.isPathAbsolute(u.rootpath)&&f.alwaysMakePathsAbsolute()&&(u.rootpath=f.join(u.entryPath,u.rootpath))),u.filename=r;var a=new U.Parse(s.context);a.processImports=!1,s.contents[r]=o,(n.reference||i.reference)&&(u.reference=!0),i.isPlugin?(t=c.evalPlugin(o,a,s,i.pluginArgs,u),t instanceof L?l(t,null,r):l(null,t,r)):i.inline?l(null,o,r):!s.files[r]||s.files[r].options.multiple||i.multiple?new ue(a,s,u).parse(o,(function(e,t){l(e,t,r)})):l(null,s.files[r].root,r)},m=j(this.context);r&&(m.ext=i.isPlugin?".js":".less"),i.isPlugin?(m.mime="application/javascript",m.syncImport?h=c.loadPluginSync(t,n.currentDirectory,m,e,f):p=c.loadPlugin(t,n.currentDirectory,m,e,f)):m.syncImport?h=f.loadFileSync(t,n.currentDirectory,m,e):p=f.loadFile(t,n.currentDirectory,m,e,(function(e,t){e?l(e):d(t)})),h?h.filename?d(h):l(h):p&&p.then(d,l)}else l({message:"Could not find a file-manager for "+t})},t}();return t}function Ut(e,t,r){var n=function(e,t,i){if("function"===typeof t?(i=t,t=I(this.options,{})):t=I(this.options,t||{}),!i){var o=this;return new Promise((function(r,i){n.call(o,e,t,(function(e,t){e?i(e):r(t)}))}))}var a,s=void 0,c=new Tt(this,!t.reUsePluginManager);if(t.pluginManager=c,a=new U.Parse(t),t.rootFileInfo)s=t.rootFileInfo;else{var l=t.filename||"input",u=l.replace(/[^/\\]*$/,"");s={filename:l,rewriteUrls:a.rewriteUrls,rootpath:a.rootpath||"",currentDirectory:u,entryPath:u,rootFilename:l},s.rootpath&&"/"!==s.rootpath.slice(-1)&&(s.rootpath+="/")}var f=new r(this,a,s);this.importManager=f,t.plugins&&t.plugins.forEach((function(e){var t,r;if(e.fileContent){if(r=e.fileContent.replace(/^\uFEFF/,""),t=c.Loader.evalPlugin(r,a,f,e.options,e.filename),t instanceof L)return i(t)}else c.addPlugin(e)})),new ue(a,f,s).parse(e,(function(e,r){if(e)return i(e);i(null,r,f,t)}),t)};return n}function qt(e,t){var r=function(e,n,i){if("function"===typeof n?(i=n,n=I(this.options,{})):n=I(this.options,n||{}),!i){var o=this;return new Promise((function(t,i){r.call(o,e,n,(function(e,r){e?i(e):t(r)}))}))}this.parse(e,n,(function(e,r,n,o){if(e)return i(e);var a;try{var s=new t(r,n);a=s.toCSS(o)}catch(e){return i(e)}i(null,a)}))};return r}var Ht="4.2.0";function Wt(e){var t=e.match(/^v(\d{1,2})\.(\d{1,2})\.(\d{1,2})(?:-([0-9A-Za-z-.]+))?(?:\+([0-9A-Za-z-.]+))?$/);if(!t)throw new Error("Unable to parse: "+e);var r={major:parseInt(t[1],10),minor:parseInt(t[2],10),patch:parseInt(t[3],10),pre:t[4]||"",build:t[5]||""};return r}var Gt,Kt,Qt=Wt;function Jt(e,t){var r,n,i,s;e=new a(e,t),r=Nt(e),n=zt(r,e),i=Vt(n),s=Bt(e);var c,u=qt(e,i),f=Ut(e,i,s),h=Qt("v"+Ht),p={version:[h.major,h.minor,h.patch],data:l,tree:nt,Environment:a,AbstractFileManager:it,AbstractPluginLoader:ot,environment:e,visitors:ne,Parser:ue,functions:Dt(e),contexts:U,SourceMapOutput:r,SourceMapBuilder:n,ParseTree:i,ImportManager:s,render:u,parse:f,LessError:L,transformTree:$t,utils:D,PluginManager:Tt,logger:o},d=function(e){return function(){var t=Object.create(e.prototype);return e.apply(t,Array.prototype.slice.call(arguments,0)),t}},m=Object.create(p);for(var v in p.tree)if(c=p.tree[v],"function"===typeof c)m[v.toLowerCase()]=d(c);else for(var g in m[v]=Object.create(null),c)m[v][g.toLowerCase()]=d(c[g]);return p.parse=p.parse.bind(m),p.render=p.render.bind(m),m}var Yt={},Xt=function(){};Xt.prototype=Object.assign(new it,{alwaysMakePathsAbsolute:function(){return!0},join:function(e,t){return e?this.extractUrlParts(t,e).path:t},doXHR:function(e,t,r,n){var i=new XMLHttpRequest,o=!Gt.isFileProtocol||Gt.fileAsync;function a(t,r,n){t.status>=200&&t.status<300?r(t.responseText,t.getResponseHeader("Last-Modified")):"function"===typeof n&&n(t.status,e)}"function"===typeof i.overrideMimeType&&i.overrideMimeType("text/css"),Kt.debug("XHR: Getting '"+e+"'"),i.open("GET",e,o),i.setRequestHeader("Accept",t||"text/x-less, text/css; q=0.9, */*; q=0.5"),i.send(null),Gt.isFileProtocol&&!Gt.fileAsync?0===i.status||i.status>=200&&i.status<300?r(i.responseText):n(i.status,e):o?i.onreadystatechange=function(){4==i.readyState&&a(i,r,n)}:a(i,r,n)},supports:function(){return!0},clearFileCache:function(){Yt={}},loadFile:function(e,t,r){t&&!this.isPathAbsolute(e)&&(e=t+e),e=r.ext?this.tryAppendExtension(e,r.ext):e,r=r||{};var n=this.extractUrlParts(e,window.location.href),i=n.url,o=this;return new Promise((function(e,t){if(r.useFileCache&&Yt[i])try{var n=Yt[i];return e({contents:n,filename:i,webInfo:{lastModified:new Date}})}catch(a){return t({filename:i,message:"Error loading file "+i+" error was "+a.message})}o.doXHR(i,r.mime,(function(t,r){Yt[i]=t,e({contents:t,filename:i,webInfo:{lastModified:r}})}),(function(e,r){t({type:"File",message:"'"+r+"' wasn't found ("+e+")",href:i})}))}))}});var Zt=function(e,t){return Gt=e,Kt=t,Xt},er=function(e){this.less=e};er.prototype=Object.assign(new ot,{loadPlugin:function(e,t,r,n,i){return new Promise((function(o,a){i.loadFile(e,t,r,n).then(o).catch(a)}))}});var tr=function(e,t){var r=4,n=3,i=2,o=1;t.logLevel="undefined"!==typeof t.logLevel?t.logLevel:"development"===t.env?n:o,t.loggers||(t.loggers=[{debug:function(e){t.logLevel>=r&&console.log(e)},info:function(e){t.logLevel>=n&&console.log(e)},warn:function(e){t.logLevel>=i&&console.warn(e)},error:function(e){t.logLevel>=o&&console.error(e)}}]);for(var a=0;a<t.loggers.length;a++)e.logger.addListener(t.loggers[a])},rr=function(e,r,i){function o(r,o){var a,s,c="less-error-message:"+t(o||""),l='<li><label>{line}</label><pre class="{class}">{content}</pre></li>',u=e.document.createElement("div"),f=[],h=r.filename||o,p=h.match(/([^/]+(\?.*)?)$/)[1];u.id=c,u.className="less-error-message",s="<h3>"+(r.type||"Syntax")+"Error: "+(r.message||"There is an error in your .less file")+'</h3><p>in <a href="'+h+'">'+p+"</a> ";var d=function(e,t,r){void 0!==e.extract[t]&&f.push(l.replace(/\{line\}/,(parseInt(e.line,10)||0)+(t-1)).replace(/\{class\}/,r).replace(/\{content\}/,e.extract[t]))};r.line&&(d(r,0,""),d(r,1,"line"),d(r,2,""),s+="on line "+r.line+", column "+(r.column+1)+":</p><ul>"+f.join("")+"</ul>"),r.stack&&(r.extract||i.logLevel>=4)&&(s+="<br/>Stack Trace</br />"+r.stack.split("\n").slice(1).join("<br/>")),u.innerHTML=s,n.createCSS(e.document,[".less-error-message ul, .less-error-message li {","list-style-type: none;","margin-right: 15px;","padding: 4px 0;","margin: 0;","}",".less-error-message label {","font-size: 12px;","margin-right: 15px;","padding: 4px 0;","color: #cc7777;","}",".less-error-message pre {","color: #dd6666;","padding: 4px 0;","margin: 0;","display: inline-block;","}",".less-error-message pre.line {","color: #ff0000;","}",".less-error-message h3 {","font-size: 20px;","font-weight: bold;","padding: 15px 0 5px 0;","margin: 0;","}",".less-error-message a {","color: #10a","}",".less-error-message .error {","color: red;","font-weight: bold;","padding-bottom: 2px;","border-bottom: 1px dashed red;","}"].join("\n"),{title:"error-message"}),u.style.cssText=["font-family: Arial, sans-serif","border: 1px solid #e00","background-color: #eee","border-radius: 5px","-webkit-border-radius: 5px","-moz-border-radius: 5px","color: #e00","padding: 15px","margin-bottom: 15px"].join(";"),"development"===i.env&&(a=setInterval((function(){var t=e.document,r=t.body;r&&(t.getElementById(c)?r.replaceChild(u,t.getElementById(c)):r.insertBefore(u,r.firstChild),clearInterval(a))}),10))}function a(r){var n=e.document.getElementById("less-error-message:"+t(r));n&&n.parentNode.removeChild(n)}function s(e){i.errorReporting&&"html"!==i.errorReporting?"console"===i.errorReporting||"function"===typeof i.errorReporting&&i.errorReporting("remove",e):a(e)}function c(e,t){var n="{line} {content}",o=e.filename||t,a=[],s=(e.type||"Syntax")+"Error: "+(e.message||"There is an error in your .less file")+" in "+o,c=function(e,t,r){void 0!==e.extract[t]&&a.push(n.replace(/\{line\}/,(parseInt(e.line,10)||0)+(t-1)).replace(/\{class\}/,r).replace(/\{content\}/,e.extract[t]))};e.line&&(c(e,0,""),c(e,1,"line"),c(e,2,""),s+=" on line "+e.line+", column "+(e.column+1)+":\n"+a.join("\n")),e.stack&&(e.extract||i.logLevel>=4)&&(s+="\nStack Trace\n"+e.stack),r.logger.error(s)}function l(e,t){i.errorReporting&&"html"!==i.errorReporting?"console"===i.errorReporting?c(e,t):"function"===typeof i.errorReporting&&i.errorReporting("add",e,t):o(e,t)}return{add:l,remove:s}},nr=function(e,t,r){var n=null;if("development"!==t.env)try{n="undefined"===typeof e.localStorage?null:e.localStorage}catch(i){}return{setCSS:function(e,t,i,o){if(n){r.info("saving "+e+" to cache.");try{n.setItem(e,o),n.setItem(e+":timestamp",t),i&&n.setItem(e+":vars",JSON.stringify(i))}catch(a){r.error('failed to save "'+e+'" to local storage for caching.')}}},getCSS:function(e,t,r){var i=n&&n.getItem(e),o=n&&n.getItem(e+":timestamp"),a=n&&n.getItem(e+":vars");if(r=r||{},a=a||"{}",o&&t.lastModified&&new Date(t.lastModified).valueOf()===new Date(o).valueOf()&&JSON.stringify(r)===a)return i}}},ir=function(){function e(){throw{type:"Runtime",message:"Image size functions are not supported in browser version of less"}}var t={"image-size":function(t){return e(),-1},"image-width":function(t){return e(),-1},"image-height":function(t){return e(),-1}};se.addMultiple(t)},or=function(e,t){var i=e.document,o=Jt();o.options=t;var a=o.environment,s=Zt(t,o.logger),c=new s;a.addFileManager(c),o.FileManager=s,o.PluginLoader=er,tr(o,t);var l=rr(e,o,t),u=o.cache=t.cache||nr(e,t,o.logger);ir(o.environment),t.functions&&o.functions.functionRegistry.addMultiple(t.functions);var f=/^text\/(x-)?less$/;function h(e){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}function p(e,t){var r=Array.prototype.slice.call(arguments,2);return function(){var n=r.concat(Array.prototype.slice.call(arguments,0));return e.apply(t,n)}}function d(e){for(var r,n=i.getElementsByTagName("style"),a=0;a<n.length;a++)if(r=n[a],r.type.match(f)){var s=h(t);s.modifyVars=e;var c=r.innerHTML||"";s.filename=i.location.href.replace(/#.*$/,""),o.render(c,s,p((function(e,t,r){t?l.add(t,"inline"):(e.type="text/css",e.styleSheet?e.styleSheet.cssText=r.css:e.innerHTML=r.css)}),null,r))}}function m(e,n,i,s,f){var p=h(t);function d(t){var r=t.contents,a=t.filename,f=t.webInfo,h={currentDirectory:c.getPath(a),filename:a,rootFilename:a,rewriteUrls:p.rewriteUrls};if(h.entryPath=h.currentDirectory,h.rootpath=p.rootpath||h.currentDirectory,f){f.remaining=s;var d=u.getCSS(a,f,p.modifyVars);if(!i&&d)return f.local=!0,void n(null,d,r,e,f,a)}l.remove(a),p.rootFileInfo=h,o.render(r,p,(function(t,i){t?(t.href=a,n(t)):(u.setCSS(e.href,f.lastModified,p.modifyVars,i.css),n(null,i.css,r,e,f,a))}))}r(p,e),p.mime=e.type,f&&(p.modifyVars=f),c.loadFile(e.href,null,p,a).then((function(e){d(e)})).catch((function(e){console.log(e),n(e)}))}function v(e,t,r){for(var n=0;n<o.sheets.length;n++)m(o.sheets[n],e,t,o.sheets.length-(n+1),r)}function g(){"development"===o.env&&(o.watchTimer=setInterval((function(){o.watchMode&&(c.clearFileCache(),v((function(t,r,i,o,a){t?l.add(t,t.href||o.href):r&&n.createCSS(e.document,r,o)})))}),t.poll))}return o.watch=function(){return o.watchMode||(o.env="development",g()),this.watchMode=!0,!0},o.unwatch=function(){return clearInterval(o.watchTimer),this.watchMode=!1,!1},o.registerStylesheetsImmediately=function(){var e=i.getElementsByTagName("link");o.sheets=[];for(var t=0;t<e.length;t++)("stylesheet/less"===e[t].rel||e[t].rel.match(/stylesheet/)&&e[t].type.match(f))&&o.sheets.push(e[t])},o.registerStylesheets=function(){return new Promise((function(e){o.registerStylesheetsImmediately(),e()}))},o.modifyVars=function(e){return o.refresh(!0,e,!1)},o.refresh=function(t,r,i){return(t||i)&&!1!==i&&c.clearFileCache(),new Promise((function(i,a){var s,c,u,f;s=c=new Date,f=o.sheets.length,0===f?(c=new Date,u=c-s,o.logger.info("Less has finished and no sheets were loaded."),i({startTime:s,endTime:c,totalMilliseconds:u,sheets:o.sheets.length})):v((function(t,r,h,p,d){if(t)return l.add(t,t.href||p.href),void a(t);d.local?o.logger.info("Loading "+p.href+" from cache."):o.logger.info("Rendered "+p.href+" successfully."),n.createCSS(e.document,r,p),o.logger.info("CSS for "+p.href+" generated in "+(new Date-c)+"ms"),f--,0===f&&(u=new Date-s,o.logger.info("Less has finished. CSS generated in "+u+"ms"),i({startTime:s,endTime:c,totalMilliseconds:u,sheets:o.sheets.length})),c=new Date}),t,r),d(r)}))},o.refreshStyles=d,o},ar=e();if(window.less)for(var sr in window.less)Object.prototype.hasOwnProperty.call(window.less,sr)&&(ar[sr]=window.less[sr]);i(window,ar),ar.plugins=ar.plugins||[],window.LESS_PLUGINS&&(ar.plugins=ar.plugins.concat(window.LESS_PLUGINS));var cr,lr,ur,fr=or(window,ar);function hr(e){e.filename&&console.warn(e),ar.async||lr.removeChild(ur)}return window.less=fr,ar.onReady&&(/!watch/.test(window.location.hash)&&fr.watch(),ar.async||(cr="body { display: none !important }",lr=document.head||document.getElementsByTagName("head")[0],ur=document.createElement("style"),ur.type="text/css",ur.styleSheet?ur.styleSheet.cssText=cr:ur.appendChild(document.createTextNode(cr)),lr.appendChild(ur)),fr.registerStylesheetsImmediately(),fr.pageLoadFinished=fr.refresh("development"===fr.env).then(hr,hr)),fr}))},3437:function(e,t,r){r(381),r(2432),r(8360),r(726),r(2765),r(3312),function(t,n){e.exports=n(r(4061))}("undefined"!==typeof self&&self,(function(e){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s="fb15")}({"00b4":function(e,t,r){"use strict";r("ac1f");var n=r("23e7"),i=r("da84"),o=r("c65b"),a=r("e330"),s=r("1626"),c=r("861d"),l=function(){var e=!1,t=/[ac]/;return t.exec=function(){return e=!0,/./.exec.apply(this,arguments)},!0===t.test("abc")&&e}(),u=i.Error,f=a(/./.test);n({target:"RegExp",proto:!0,forced:!l},{test:function(e){var t=this.exec;if(!s(t))return f(this,e);var r=o(t,this,e);if(null!==r&&!c(r))throw new u("RegExp exec method returned something other than an Object or null");return!!r}})},"00ee":function(e,t,r){var n=r("b622"),i=n("toStringTag"),o={};o[i]="z",e.exports="[object z]"===String(o)},"01b4":function(e,t){var r=function(){this.head=null,this.tail=null};r.prototype={add:function(e){var t={item:e,next:null};this.head?this.tail.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return this.head=e.next,this.tail===e&&(this.tail=null),e.item}},e.exports=r},"0366":function(e,t,r){var n=r("e330"),i=r("59ed"),o=r("40d5"),a=n(n.bind);e.exports=function(e,t){return i(e),void 0===t?e:o?a(e,t):function(){return e.apply(t,arguments)}}},"04d1":function(e,t,r){var n=r("342f"),i=n.match(/firefox\/(\d+)/i);e.exports=!!i&&+i[1]},"0538":function(e,t,r){"use strict";var n=r("da84"),i=r("e330"),o=r("59ed"),a=r("861d"),s=r("1a2d"),c=r("f36a"),l=r("40d5"),u=n.Function,f=i([].concat),h=i([].join),p={},d=function(e,t,r){if(!s(p,t)){for(var n=[],i=0;i<t;i++)n[i]="a["+i+"]";p[t]=u("C,a","return new C("+h(n,",")+")")}return p[t](e,r)};e.exports=l?u.bind:function(e){var t=o(this),r=t.prototype,n=c(arguments,1),i=function(){var r=f(n,c(arguments));return this instanceof i?d(t,r.length,r):t.apply(e,r)};return a(r)&&(i.prototype=r),i}},"057f":function(e,t,r){var n=r("c6b6"),i=r("fc6a"),o=r("241c").f,a=r("4dae"),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],c=function(e){try{return o(e)}catch(t){return a(s)}};e.exports.f=function(e){return s&&"Window"==n(e)?c(e):o(i(e))}},"06cf":function(e,t,r){var n=r("83ab"),i=r("c65b"),o=r("d1e7"),a=r("5c6c"),s=r("fc6a"),c=r("a04b"),l=r("1a2d"),u=r("0cfb"),f=Object.getOwnPropertyDescriptor;t.f=n?f:function(e,t){if(e=s(e),t=c(t),u)try{return f(e,t)}catch(r){}if(l(e,t))return a(!i(o.f,e,t),e[t])}},"07fa":function(e,t,r){var n=r("50c4");e.exports=function(e){return n(e.length)}},"0b22":function(e,t,r){var n=r("c4f4");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=r("499e").default;i("205d1806",n,!0,{sourceMap:!1,shadowMode:!1})},"0b42":function(e,t,r){var n=r("da84"),i=r("e8b5"),o=r("68ee"),a=r("861d"),s=r("b622"),c=s("species"),l=n.Array;e.exports=function(e){var t;return i(e)&&(t=e.constructor,o(t)&&(t===l||i(t.prototype))?t=void 0:a(t)&&(t=t[c],null===t&&(t=void 0))),void 0===t?l:t}},"0cb2":function(e,t,r){var n=r("e330"),i=r("7b0b"),o=Math.floor,a=n("".charAt),s=n("".replace),c=n("".slice),l=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,u=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,r,n,f,h){var p=r+e.length,d=n.length,m=u;return void 0!==f&&(f=i(f),m=l),s(h,m,(function(i,s){var l;switch(a(s,0)){case"$":return"$";case"&":return e;case"`":return c(t,0,r);case"'":return c(t,p);case"<":l=f[c(s,1,-1)];break;default:var u=+s;if(0===u)return i;if(u>d){var h=o(u/10);return 0===h?i:h<=d?void 0===n[h-1]?a(s,1):n[h-1]+a(s,1):i}l=n[u-1]}return void 0===l?"":l}))}},"0cfb":function(e,t,r){var n=r("83ab"),i=r("d039"),o=r("cc12");e.exports=!n&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"0d51":function(e,t,r){var n=r("da84"),i=n.String;e.exports=function(e){try{return i(e)}catch(t){return"Object"}}},"107c":function(e,t,r){var n=r("d039"),i=r("da84"),o=i.RegExp;e.exports=n((function(){var e=o("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},1148:function(e,t,r){"use strict";var n=r("da84"),i=r("5926"),o=r("577e"),a=r("1d80"),s=n.RangeError;e.exports=function(e){var t=o(a(this)),r="",n=i(e);if(n<0||n==1/0)throw s("Wrong number of repetitions");for(;n>0;(n>>>=1)&&(t+=t))1&n&&(r+=t);return r}},1276:function(e,t,r){"use strict";var n=r("2ba4"),i=r("c65b"),o=r("e330"),a=r("d784"),s=r("44e7"),c=r("825a"),l=r("1d80"),u=r("4840"),f=r("8aa5"),h=r("50c4"),p=r("577e"),d=r("dc4a"),m=r("4dae"),v=r("14c3"),g=r("9263"),y=r("9f7f"),b=r("d039"),w=y.UNSUPPORTED_Y,x=4294967295,S=Math.min,_=[].push,P=o(/./.exec),E=o(_),k=o("".slice),C=!b((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var r="ab".split(e);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}));a("split",(function(e,t,r){var o;return o="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,r){var o=p(l(this)),a=void 0===r?x:r>>>0;if(0===a)return[];if(void 0===e)return[o];if(!s(e))return i(t,o,e,a);var c,u,f,h=[],d=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),v=0,y=new RegExp(e.source,d+"g");while(c=i(g,y,o)){if(u=y.lastIndex,u>v&&(E(h,k(o,v,c.index)),c.length>1&&c.index<o.length&&n(_,h,m(c,1)),f=c[0].length,v=u,h.length>=a))break;y.lastIndex===c.index&&y.lastIndex++}return v===o.length?!f&&P(y,"")||E(h,""):E(h,k(o,v)),h.length>a?m(h,0,a):h}:"0".split(void 0,0).length?function(e,r){return void 0===e&&0===r?[]:i(t,this,e,r)}:t,[function(t,r){var n=l(this),a=void 0==t?void 0:d(t,e);return a?i(a,t,n,r):i(o,p(n),t,r)},function(e,n){var i=c(this),a=p(e),s=r(o,i,a,n,o!==t);if(s.done)return s.value;var l=u(i,RegExp),d=i.unicode,m=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(w?"g":"y"),g=new l(w?"^(?:"+i.source+")":i,m),y=void 0===n?x:n>>>0;if(0===y)return[];if(0===a.length)return null===v(g,a)?[a]:[];var b=0,_=0,P=[];while(_<a.length){g.lastIndex=w?0:_;var C,j=v(g,w?k(a,_):a);if(null===j||(C=S(h(g.lastIndex+(w?_:0)),a.length))===b)_=f(a,_,d);else{if(E(P,k(a,b,_)),P.length===y)return P;for(var O=1;O<=j.length-1;O++)if(E(P,j[O]),P.length===y)return P;_=b=C}}return E(P,k(a,b)),P}]}),!C,w)},"14c3":function(e,t,r){var n=r("da84"),i=r("c65b"),o=r("825a"),a=r("1626"),s=r("c6b6"),c=r("9263"),l=n.TypeError;e.exports=function(e,t){var r=e.exec;if(a(r)){var n=i(r,e,t);return null!==n&&o(n),n}if("RegExp"===s(e))return i(c,e,t);throw l("RegExp#exec called on incompatible receiver")}},"159b":function(e,t,r){var n=r("da84"),i=r("fdbc"),o=r("785a"),a=r("17c2"),s=r("9112"),c=function(e){if(e&&e.forEach!==a)try{s(e,"forEach",a)}catch(t){e.forEach=a}};for(var l in i)i[l]&&c(n[l]&&n[l].prototype);c(o)},1626:function(e,t){e.exports=function(e){return"function"==typeof e}},"17c2":function(e,t,r){"use strict";var n=r("b727").forEach,i=r("a640"),o=i("forEach");e.exports=o?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}},"19aa":function(e,t,r){var n=r("da84"),i=r("3a9b"),o=n.TypeError;e.exports=function(e,t){if(i(t,e))return e;throw o("Incorrect invocation")}},"1a2d":function(e,t,r){var n=r("e330"),i=r("7b0b"),o=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(i(e),t)}},"1be4":function(e,t,r){var n=r("d066");e.exports=n("document","documentElement")},"1c7e":function(e,t,r){var n=r("b622"),i=n("iterator"),o=!1;try{var a=0,s={next:function(){return{done:!!a++}},return:function(){o=!0}};s[i]=function(){return this},Array.from(s,(function(){throw 2}))}catch(c){}e.exports=function(e,t){if(!t&&!o)return!1;var r=!1;try{var n={};n[i]=function(){return{next:function(){return{done:r=!0}}}},e(n)}catch(c){}return r}},"1cdc":function(e,t,r){var n=r("342f");e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},"1d80":function(e,t,r){var n=r("da84"),i=n.TypeError;e.exports=function(e){if(void 0==e)throw i("Can't call method on "+e);return e}},"1dde":function(e,t,r){var n=r("d039"),i=r("b622"),o=r("2d00"),a=i("species");e.exports=function(e){return o>=51||!n((function(){var t=[],r=t.constructor={};return r[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},2004:function(e,t,r){var n=r("4bad");t=n(!1),t.push([e.i,".t-header-pin[data-v-6d3f165f]{display:inline-block;position:absolute;z-index:100;right:13px;top:7px;cursor:pointer}",""]),e.exports=t},2266:function(e,t,r){var n=r("da84"),i=r("0366"),o=r("c65b"),a=r("825a"),s=r("0d51"),c=r("e95a"),l=r("07fa"),u=r("3a9b"),f=r("9a1f"),h=r("35a1"),p=r("2a62"),d=n.TypeError,m=function(e,t){this.stopped=e,this.result=t},v=m.prototype;e.exports=function(e,t,r){var n,g,y,b,w,x,S,_=r&&r.that,P=!(!r||!r.AS_ENTRIES),E=!(!r||!r.IS_ITERATOR),k=!(!r||!r.INTERRUPTED),C=i(t,_),j=function(e){return n&&p(n,"normal",e),new m(!0,e)},O=function(e){return P?(a(e),k?C(e[0],e[1],j):C(e[0],e[1])):k?C(e,j):C(e)};if(E)n=e;else{if(g=h(e),!g)throw d(s(e)+" is not iterable");if(c(g)){for(y=0,b=l(e);b>y;y++)if(w=O(e[y]),w&&u(v,w))return w;return new m(!1)}n=f(e,g)}x=n.next;while(!(S=o(x,n)).done){try{w=O(S.value)}catch(I){p(n,"throw",I)}if("object"==typeof w&&w&&u(v,w))return w}return new m(!1)}},"23cb":function(e,t,r){var n=r("5926"),i=Math.max,o=Math.min;e.exports=function(e,t){var r=n(e);return r<0?i(r+t,0):o(r,t)}},"23e7":function(e,t,r){var n=r("da84"),i=r("06cf").f,o=r("9112"),a=r("6eeb"),s=r("ce4e"),c=r("e893"),l=r("94ca");e.exports=function(e,t){var r,u,f,h,p,d,m=e.target,v=e.global,g=e.stat;if(u=v?n:g?n[m]||s(m,{}):(n[m]||{}).prototype,u)for(f in t){if(p=t[f],e.noTargetGet?(d=i(u,f),h=d&&d.value):h=u[f],r=l(v?f:m+(g?".":"#")+f,e.forced),!r&&void 0!==h){if(typeof p==typeof h)continue;c(p,h)}(e.sham||h&&h.sham)&&o(p,"sham",!0),a(u,f,p,e)}}},"241c":function(e,t,r){var n=r("ca84"),i=r("7839"),o=i.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,o)}},"25f0":function(e,t,r){"use strict";var n=r("e330"),i=r("5e77").PROPER,o=r("6eeb"),a=r("825a"),s=r("3a9b"),c=r("577e"),l=r("d039"),u=r("ad6d"),f="toString",h=RegExp.prototype,p=h[f],d=n(u),m=l((function(){return"/a/b"!=p.call({source:"a",flags:"b"})})),v=i&&p.name!=f;(m||v)&&o(RegExp.prototype,f,(function(){var e=a(this),t=c(e.source),r=e.flags,n=c(void 0===r&&s(h,e)&&!("flags"in h)?d(e):r);return"/"+t+"/"+n}),{unsafe:!0})},2626:function(e,t,r){"use strict";var n=r("d066"),i=r("9bf2"),o=r("b622"),a=r("83ab"),s=o("species");e.exports=function(e){var t=n(e),r=i.f;a&&t&&!t[s]&&r(t,s,{configurable:!0,get:function(){return this}})}},"2a62":function(e,t,r){var n=r("c65b"),i=r("825a"),o=r("dc4a");e.exports=function(e,t,r){var a,s;i(e);try{if(a=o(e,"return"),!a){if("throw"===t)throw r;return r}a=n(a,e)}catch(c){s=!0,a=c}if("throw"===t)throw r;if(s)throw a;return i(a),r}},"2ba4":function(e,t,r){var n=r("40d5"),i=Function.prototype,o=i.apply,a=i.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(o):function(){return a.apply(o,arguments)})},"2be3":function(e,t,r){var n=r("2004");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=r("499e").default;i("ff0b6696",n,!0,{sourceMap:!1,shadowMode:!1})},"2c3e":function(e,t,r){var n=r("da84"),i=r("83ab"),o=r("9f7f").MISSED_STICKY,a=r("c6b6"),s=r("9bf2").f,c=r("69f3").get,l=RegExp.prototype,u=n.TypeError;i&&o&&s(l,"sticky",{configurable:!0,get:function(){if(this!==l){if("RegExp"===a(this))return!!c(this).sticky;throw u("Incompatible receiver, RegExp required")}}})},"2ca0":function(e,t,r){"use strict";var n=r("23e7"),i=r("e330"),o=r("06cf").f,a=r("50c4"),s=r("577e"),c=r("5a34"),l=r("1d80"),u=r("ab13"),f=r("c430"),h=i("".startsWith),p=i("".slice),d=Math.min,m=u("startsWith"),v=!f&&!m&&!!function(){var e=o(String.prototype,"startsWith");return e&&!e.writable}();n({target:"String",proto:!0,forced:!v&&!m},{startsWith:function(e){var t=s(l(this));c(e);var r=a(d(arguments.length>1?arguments[1]:void 0,t.length)),n=s(e);return h?h(t,n,r):p(t,r,r+n.length)===n}})},"2cf4":function(e,t,r){var n,i,o,a,s=r("da84"),c=r("2ba4"),l=r("0366"),u=r("1626"),f=r("1a2d"),h=r("d039"),p=r("1be4"),d=r("f36a"),m=r("cc12"),v=r("d6d6"),g=r("1cdc"),y=r("605d"),b=s.setImmediate,w=s.clearImmediate,x=s.process,S=s.Dispatch,_=s.Function,P=s.MessageChannel,E=s.String,k=0,C={},j="onreadystatechange";try{n=s.location}catch(F){}var O=function(e){if(f(C,e)){var t=C[e];delete C[e],t()}},I=function(e){return function(){O(e)}},A=function(e){O(e.data)},R=function(e){s.postMessage(E(e),n.protocol+"//"+n.host)};b&&w||(b=function(e){v(arguments.length,1);var t=u(e)?e:_(e),r=d(arguments,1);return C[++k]=function(){c(t,void 0,r)},i(k),k},w=function(e){delete C[e]},y?i=function(e){x.nextTick(I(e))}:S&&S.now?i=function(e){S.now(I(e))}:P&&!g?(o=new P,a=o.port2,o.port1.onmessage=A,i=l(a.postMessage,a)):s.addEventListener&&u(s.postMessage)&&!s.importScripts&&n&&"file:"!==n.protocol&&!h(R)?(i=R,s.addEventListener("message",A,!1)):i=j in m("script")?function(e){p.appendChild(m("script"))[j]=function(){p.removeChild(this),O(e)}}:function(e){setTimeout(I(e),0)}),e.exports={set:b,clear:w}},"2d00":function(e,t,r){var n,i,o=r("da84"),a=r("342f"),s=o.process,c=o.Deno,l=s&&s.versions||c&&c.version,u=l&&l.v8;u&&(n=u.split("."),i=n[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&a&&(n=a.match(/Edge\/(\d+)/),(!n||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/),n&&(i=+n[1]))),e.exports=i},"2d99":function(e,t,r){var n=r("6ad6");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=r("499e").default;i("4821b87a",n,!0,{sourceMap:!1,shadowMode:!1})},3410:function(e,t,r){var n=r("23e7"),i=r("d039"),o=r("7b0b"),a=r("e163"),s=r("e177"),c=i((function(){a(1)}));n({target:"Object",stat:!0,forced:c,sham:!s},{getPrototypeOf:function(e){return a(o(e))}})},"342f":function(e,t,r){var n=r("d066");e.exports=n("navigator","userAgent")||""},"349e":function(e,t,r){!function(t,n){e.exports=n(r("8bbf"),r("b311"))}(0,(function(e,t){return i={},r.m=n=[function(e,t,r){"use strict";function n(e,t,r,n,i,o,a,s){var c,l,u="function"==typeof e?e.options:e;return t&&(u.render=t,u.staticRenderFns=r,u._compiled=!0),n&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=c):i&&(c=s?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),c&&(u.functional?(u._injectStyles=c,l=u.render,u.render=function(e,t){return c.call(t),l(e,t)}):(s=u.beforeCreate,u.beforeCreate=s?[].concat(s,c):[c])),{exports:e,options:u}}r.d(t,"a",(function(){return n}))},function(e,t,r){"use strict";r.r(t);var n,i=r(2),o=r.n(i);for(n in i)"default"!==n&&function(e){r.d(t,e,(function(){return i[e]}))}(n);t.default=o.a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),a(r(29));var n=a(r(21)),i=a(r(41)),o=r(42);function a(e){return e&&e.__esModule?e:{default:e}}t.default={name:"JsonViewer",components:{JsonBox:n.default},props:{value:{type:[Object,Array,String,Number,Boolean,Function],required:!0},expanded:{type:Boolean,default:!1},expandDepth:{type:Number,default:1},copyable:{type:[Boolean,Object],default:!1},sort:{type:Boolean,default:!1},boxed:{type:Boolean,default:!1},theme:{type:String,default:"jv-light"},timeformat:{type:Function,default:function(e){return e.toLocaleString()}},previewMode:{type:Boolean,default:!1},showArrayIndex:{type:Boolean,default:!0},showDoubleQuotes:{type:Boolean,default:!1}},provide:function(){return{expandDepth:this.expandDepth,timeformat:this.timeformat,onKeyclick:this.onKeyclick}},data:function(){return{copied:!1,expandableCode:!1,expandCode:this.expanded}},computed:{jvClass:function(){return"jv-container "+this.theme+(this.boxed?" boxed":"")},copyText:function(){var e=this.copyable;return{copyText:e.copyText||"copy",copiedText:e.copiedText||"copied!",timeout:e.timeout||2e3,align:e.align}}},watch:{value:function(){this.onResized()}},mounted:function(){var e=this;this.debounceResized=(0,o.debounce)(this.debResized.bind(this),200),this.boxed&&this.$refs.jsonBox&&(this.onResized(),this.$refs.jsonBox.$el.addEventListener("resized",this.onResized,!0)),this.copyable&&new i.default(this.$refs.clip,{container:this.$refs.viewer,text:function(){return JSON.stringify(e.value,null,2)}}).on("success",(function(t){e.onCopied(t)}))},methods:{onResized:function(){this.debounceResized()},debResized:function(){var e=this;this.$nextTick((function(){e.$refs.jsonBox&&(250<=e.$refs.jsonBox.$el.clientHeight?e.expandableCode=!0:e.expandableCode=!1)}))},onCopied:function(e){var t=this;this.copied||(this.copied=!0,setTimeout((function(){t.copied=!1}),this.copyText.timeout),this.$emit("copied",e))},toggleExpandCode:function(){this.expandCode=!this.expandCode},onKeyclick:function(e){this.$emit("keyclick",e)}}}},function(e,t,r){"use strict";r.r(t);var n,i=r(4),o=r.n(i);for(n in i)"default"!==n&&function(e){r.d(t,e,(function(){return i[e]}))}(n);t.default=o.a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=h(r(30)),o=h(r(31)),a=h(r(32)),s=h(r(33)),c=h(r(34)),l=h(r(35)),u=h(r(36)),f=h(r(37));function h(e){return e&&e.__esModule?e:{default:e}}t.default={name:"JsonBox",inject:["expandDepth","onKeyclick"],props:{value:{type:[Object,Array,String,Number,Boolean,Function,Date],default:null},keyName:{type:String,default:""},sort:Boolean,depth:{type:Number,default:0},previewMode:Boolean,forceExpand:Boolean,showArrayIndex:Boolean,showDoubleQuotes:Boolean,path:{type:String,default:"$"}},data:function(){return{expand:!0,forceExpandMe:this.forceExpand}},mounted:function(){this.expand=this.previewMode||!(this.depth>=this.expandDepth)||this.forceExpandMe},methods:{toggle:function(){this.expand=!this.expand,this.dispatchEvent()},toggleAll:function(){this.expand=!this.expand,this.forceExpandMe=this.expand,this.dispatchEvent()},dispatchEvent:function(){try{this.$el.dispatchEvent(new Event("resized"))}catch(e){var t=document.createEvent("Event");t.initEvent("resized",!0,!1),this.$el.dispatchEvent(t)}},getPath:function(){for(var e=[this.keyName],t=this.$parent;t.depth;)t.$el.classList.contains("jv-node")&&e.push(t.keyName),t=t.$parent;return e.reverse()}},render:function(e){var t=this,r=[],h=void 0;null===this.value||void 0===this.value?h=o.default:Array.isArray(this.value)?h=l.default:"[object Date]"===Object.prototype.toString.call(this.value)?h=f.default:"object"===n(this.value)?h=c.default:"number"==typeof this.value?h=a.default:"string"==typeof this.value?h=i.default:"boolean"==typeof this.value?h=s.default:"function"==typeof this.value&&(h=u.default);var p=this.keyName&&this.value&&(Array.isArray(this.value)||"object"===n(this.value)&&"[object Date]"!==Object.prototype.toString.call(this.value));return!this.previewMode&&p&&r.push(e("span",{class:{"jv-toggle":!0,open:!!this.expand},on:{click:function(e){e.altKey?t.toggleAll():t.toggle()}}})),this.keyName&&r.push(e("span",{class:{"jv-key":!0},domProps:{innerText:this.showDoubleQuotes?'"'+this.keyName+'":':this.keyName+":"},on:{click:function(){t.onKeyclick(t.path)}}})),r.push(e(h,{class:{"jv-push":!0},props:{jsonValue:this.value,keyName:this.keyName,sort:this.sort,depth:this.depth,expand:this.expand,previewMode:this.previewMode,forceExpand:this.forceExpandMe,showArrayIndex:this.showArrayIndex,showDoubleQuotes:this.showDoubleQuotes,path:this.path},on:{"update:expand":function(e){t.expand=e},"update:expandAll":function(e){t.expand=e,t.forceExpandMe=t.expand}}})),e("div",{class:{"jv-node":!0,"jv-key-node":Boolean(this.keyName)&&!p,toggle:!this.previewMode&&p}},r)}}},function(e,t,r){"use strict";r.r(t);var n,i=r(6),o=r.n(i);for(n in i)"default"!==n&&function(e){r.d(t,e,(function(){return i[e]}))}(n);t.default=o.a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=/^\w+:\/\//;t.default={name:"JsonString",props:{jsonValue:{type:String,required:!0}},data:function(){return{expand:!0,canExtend:!1}},mounted:function(){this.$refs.itemRef.offsetHeight>this.$refs.holderRef.offsetHeight&&(this.canExtend=!0)},methods:{toggle:function(){this.expand=!this.expand}},render:function(e){var t=this.jsonValue,r=n.test(t),i=void 0;return this.expand?(i={class:{"jv-item":!0,"jv-string":!0},ref:"itemRef"}).domProps=r?{innerHTML:'"'+(t='<a href="'+t+'" target="_blank" class="jv-link">'+t+"</a>").toString()+'"'}:{innerText:'"'+t.toString()+'"'}:i={class:{"jv-ellipsis":!0},on:{click:this.toggle},domProps:{innerText:"..."}},e("span",{},[this.canExtend&&e("span",{class:{"jv-toggle":!0,open:this.expand},on:{click:this.toggle}}),e("span",{class:{"jv-holder-node":!0},ref:"holderRef"}),e("span",i)])}}},function(e,t,r){"use strict";r.r(t);var n,i=r(8),o=r.n(i);for(n in i)"default"!==n&&function(e){r.d(t,e,(function(){return i[e]}))}(n);t.default=o.a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"JsonUndefined",functional:!0,props:{jsonValue:{type:Object,default:null}},render:function(e,t){return e("span",{class:{"jv-item":!0,"jv-undefined":!0},domProps:{innerText:null===t.props.jsonValue?"null":"undefined"}})}}},function(e,t,r){"use strict";r.r(t);var n,i=r(10),o=r.n(i);for(n in i)"default"!==n&&function(e){r.d(t,e,(function(){return i[e]}))}(n);t.default=o.a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"JsonNumber",functional:!0,props:{jsonValue:{type:Number,required:!0}},render:function(e,t){var r=t.props;t=Number.isInteger(r.jsonValue);return e("span",{class:{"jv-item":!0,"jv-number":!0,"jv-number-integer":t,"jv-number-float":!t},domProps:{innerText:r.jsonValue.toString()}})}}},function(e,t,r){"use strict";r.r(t);var n,i=r(12),o=r.n(i);for(n in i)"default"!==n&&function(e){r.d(t,e,(function(){return i[e]}))}(n);t.default=o.a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"JsonBoolean",functional:!0,props:{jsonValue:Boolean},render:function(e,t){return e("span",{class:{"jv-item":!0,"jv-boolean":!0},domProps:{innerText:t.props.jsonValue.toString()}})}}},function(e,t,r){"use strict";r.r(t);var n,i=r(14),o=r.n(i);for(n in i)"default"!==n&&function(e){r.d(t,e,(function(){return i[e]}))}(n);t.default=o.a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});r=r(21);var n=r&&r.__esModule?r:{default:r};t.default={name:"JsonObject",props:{jsonValue:{type:Object,required:!0},keyName:{type:String,default:""},depth:{type:Number,default:0},expand:Boolean,forceExpand:Boolean,sort:Boolean,previewMode:Boolean,showArrayIndex:Boolean,showDoubleQuotes:Boolean,path:String},data:function(){return{value:{}}},computed:{ordered:function(){var e=this;if(!this.sort)return this.value;var t={};return Object.keys(this.value).sort().forEach((function(r){t[r]=e.value[r]})),t}},watch:{jsonValue:function(e){this.setValue(e)}},mounted:function(){this.setValue(this.jsonValue)},methods:{setValue:function(e){var t=this;setTimeout((function(){t.value=e}),0)},toggle:function(){this.$emit("update:expand",!this.expand),this.dispatchEvent()},toggleAll:function(){this.$emit("update:expandAll",!this.expand),this.dispatchEvent()},dispatchEvent:function(){try{this.$el.dispatchEvent(new Event("resized"))}catch(e){var t=document.createEvent("Event");t.initEvent("resized",!0,!1),this.$el.dispatchEvent(t)}}},render:function(e){var t,r=this,i=[];if(this.previewMode||this.keyName||i.push(e("span",{class:{"jv-toggle":!0,open:!!this.expand},on:{click:function(e){e.altKey?r.toggleAll():r.toggle()}}})),i.push(e("span",{class:{"jv-item":!0,"jv-object":!0},domProps:{innerText:"{"}})),this.expand)for(var o in this.ordered)this.ordered.hasOwnProperty(o)&&(t=this.ordered[o],i.push(e(n.default,{key:o,props:{sort:this.sort,keyName:o,depth:this.depth+1,value:t,previewMode:this.previewMode,forceExpand:this.forceExpand,showArrayIndex:this.showArrayIndex,showDoubleQuotes:this.showDoubleQuotes,path:this.path+"."+o}})));return!this.expand&&Object.keys(this.value).length&&i.push(e("span",{class:{"jv-ellipsis":!0},on:{click:function(e){e.altKey?r.toggleAll():r.toggle()}},attrs:{title:"click to reveal object content (keys: "+Object.keys(this.ordered).join(", ")+")"},domProps:{innerText:"..."}})),i.push(e("span",{class:{"jv-item":!0,"jv-object":!0},domProps:{innerText:"}"}})),e("span",i)}}},function(e,t,r){"use strict";r.r(t);var n,i=r(16),o=r.n(i);for(n in i)"default"!==n&&function(e){r.d(t,e,(function(){return i[e]}))}(n);t.default=o.a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});r=r(21);var n=r&&r.__esModule?r:{default:r};t.default={name:"JsonArray",props:{jsonValue:{type:Array,required:!0},keyName:{type:String,default:""},depth:{type:Number,default:0},sort:Boolean,expand:Boolean,forceExpand:Boolean,previewMode:Boolean,showArrayIndex:Boolean,showDoubleQuotes:Boolean,path:String},data:function(){return{value:[]}},watch:{jsonValue:function(e){this.setValue(e)}},mounted:function(){this.setValue(this.jsonValue)},methods:{setValue:function(e){var t=this,r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0;0===r&&(this.value=[]),setTimeout((function(){e.length>r&&(t.value.push(e[r]),t.setValue(e,r+1))}),0)},toggle:function(){this.$emit("update:expand",!this.expand),this.dispatchEvent()},toggleAll:function(){this.$emit("update:expandAll",!this.expand),this.dispatchEvent()},dispatchEvent:function(){try{this.$el.dispatchEvent(new Event("resized"))}catch(e){var t=document.createEvent("Event");t.initEvent("resized",!0,!1),this.$el.dispatchEvent(t)}}},render:function(e){var t=this,r=[];return this.previewMode||this.keyName||r.push(e("span",{class:{"jv-toggle":!0,open:!!this.expand},on:{click:function(e){e.altKey?t.toggleAll():t.toggle()}}})),r.push(e("span",{class:{"jv-item":!0,"jv-array":!0},domProps:{innerText:"["}})),this.expand&&this.value.forEach((function(i,o){r.push(e(n.default,{key:o,props:{sort:t.sort,keyName:t.showArrayIndex?""+o:"",depth:t.depth+1,value:i,previewMode:t.previewMode,forceExpand:t.forceExpand,showArrayIndex:t.showArrayIndex,showDoubleQuotes:t.showDoubleQuotes,path:t.path+"."+o}}))})),!this.expand&&this.value.length&&r.push(e("span",{class:{"jv-ellipsis":!0},on:{click:function(e){e.altKey?t.toggleAll():t.toggle()}},attrs:{title:"click to reveal "+this.value.length+" hidden items"},domProps:{innerText:"..."}})),r.push(e("span",{class:{"jv-item":!0,"jv-array":!0},domProps:{innerText:"]"}})),e("span",r)}}},function(e,t,r){"use strict";r.r(t);var n,i=r(18),o=r.n(i);for(n in i)"default"!==n&&function(e){r.d(t,e,(function(){return i[e]}))}(n);t.default=o.a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"JsonFunction",functional:!0,props:{jsonValue:{type:Function,required:!0}},render:function(e,t){return e("span",{class:{"jv-item":!0,"jv-function":!0},attrs:{title:t.props.jsonValue.toString()},domProps:{innerHTML:"<function>"}})}}},function(e,t,r){"use strict";r.r(t);var n,i=r(20),o=r.n(i);for(n in i)"default"!==n&&function(e){r.d(t,e,(function(){return i[e]}))}(n);t.default=o.a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"JsonDate",inject:["timeformat"],functional:!0,props:{jsonValue:{type:Date,required:!0}},render:function(e,t){var r=t.props;t=t.injections,r=r.jsonValue;return e("span",{class:{"jv-item":!0,"jv-string":!0},domProps:{innerText:'"'+(0,t.timeformat)(r)+'"'}})}}},function(e,t,r){"use strict";r.r(t);var n,i=r(3);for(n in i)"default"!==n&&function(e){r.d(t,e,(function(){return i[e]}))}(n);r(38);var o=r(0);o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);o.options.__file="lib/json-box.vue",t.default=o.exports},function(e,t,r){"use strict";function n(){var e=this,t=e.$createElement;return(t=e._self._c||t)("div",{ref:"viewer",class:e.jvClass},[e.copyable?t("div",{class:"jv-tooltip "+(e.copyText.align||"right")},[t("span",{ref:"clip",staticClass:"jv-button",class:{copied:e.copied}},[e._t("copy",(function(){return[e._v("\n "+e._s(e.copied?e.copyText.copiedText:e.copyText.copyText)+"\n ")]}),{copied:e.copied})],2)]):e._e(),e._v(" "),t("div",{staticClass:"jv-code",class:{open:e.expandCode,boxed:e.boxed}},[t("json-box",{ref:"jsonBox",attrs:{value:e.value,sort:e.sort,"preview-mode":e.previewMode,"show-array-index":e.showArrayIndex,"show-double-quotes":e.showDoubleQuotes},on:{keyclick:e.onKeyclick}})],1),e._v(" "),e.expandableCode&&e.boxed?t("div",{staticClass:"jv-more",on:{click:e.toggleExpandCode}},[t("span",{staticClass:"jv-toggle",class:{open:!!e.expandCode}})]):e._e()])}var i=[];n._withStripped=!0,r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return i}))},function(e,t,r){var n=r(39);"string"==typeof n&&(n=[[e.i,n,""]]);var i={hmr:!0,transform:void 0};r(25)(n,i),n.locals&&(e.exports=n.locals)},function(e,t,r){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=function(e,t){var r=e[1]||"",n=e[3];return n?t&&"function"==typeof btoa?(e=function(e){return e=btoa(unescape(encodeURIComponent(JSON.stringify(e)))),e="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(e),"/*# ".concat(e," */")}(n),t=n.sources.map((function(e){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(e," */")})),[r].concat(t).concat([e]).join("\n")):[r].join("\n"):r}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(r,"}"):r})).join("")},t.i=function(e,r,n){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(n)for(var o=0;o<this.length;o++){var a=this[o][0];null!=a&&(i[a]=!0)}for(var s=0;s<e.length;s++){var c=[].concat(e[s]);n&&i[c[0]]||(r&&(c[2]?c[2]="".concat(r," and ").concat(c[2]):c[2]=r),t.push(c))}},t}},function(e,t,r){var n,i,o,a={},s=(n=function(){return window&&document&&document.all&&!window.atob},function(){return i=void 0===i?n.apply(this,arguments):i}),c=(o={},function(e){if(void 0===o[e]){var t=function(e){return document.querySelector(e)}.call(this,e);if(t instanceof window.HTMLIFrameElement)try{t=t.contentDocument.head}catch(e){t=null}o[e]=t}return o[e]}),l=null,u=0,f=[],h=r(40);function p(e,t){for(var r=0;r<e.length;r++){var n=e[r],i=a[n.id];if(i){i.refs++;for(var o=0;o<i.parts.length;o++)i.parts[o](n.parts[o]);for(;o<n.parts.length;o++)i.parts.push(b(n.parts[o],t))}else{var s=[];for(o=0;o<n.parts.length;o++)s.push(b(n.parts[o],t));a[n.id]={id:n.id,refs:1,parts:s}}}}function d(e,t){for(var r=[],n={},i=0;i<e.length;i++){var o=e[i],a=t.base?o[0]+t.base:o[0];o={css:o[1],media:o[2],sourceMap:o[3]};n[a]?n[a].parts.push(o):r.push(n[a]={id:a,parts:[o]})}return r}function m(e,t){var r=c(e.insertInto);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var n=f[f.length-1];if("top"===e.insertAt)n?n.nextSibling?r.insertBefore(t,n.nextSibling):r.appendChild(t):r.insertBefore(t,r.firstChild),f.push(t);else if("bottom"===e.insertAt)r.appendChild(t);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");e=c(e.insertInto+" "+e.insertAt.before),r.insertBefore(t,e)}}function v(e){null!==e.parentNode&&(e.parentNode.removeChild(e),0<=(e=f.indexOf(e))&&f.splice(e,1))}function g(e){var t=document.createElement("style");return e.attrs.type="text/css",y(t,e.attrs),m(e,t),t}function y(e,t){Object.keys(t).forEach((function(r){e.setAttribute(r,t[r])}))}function b(e,t){var r,n,i,o,a;if(t.transform&&e.css){if(!(o=t.transform(e.css)))return function(){};e.css=o}return i=t.singleton?(a=u++,r=l=l||g(t),n=S.bind(null,r,a,!1),S.bind(null,r,a,!0)):e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(o=t,a=document.createElement("link"),o.attrs.type="text/css",o.attrs.rel="stylesheet",y(a,o.attrs),m(o,a),r=a,n=function(e,t,r){var n=r.css,i=r.sourceMap;r=void 0===t.convertToAbsoluteUrls&&i;(t.convertToAbsoluteUrls||r)&&(n=h(n)),i&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),i=new Blob([n],{type:"text/css"}),n=e.href,e.href=URL.createObjectURL(i),n&&URL.revokeObjectURL(n)}.bind(null,r,t),function(){v(r),r.href&&URL.revokeObjectURL(r.href)}):(r=g(t),n=function(e,t){var r=t.css;t=t.media;if(t&&e.setAttribute("media",t),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}.bind(null,r),function(){v(r)}),n(e),function(t){t?t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap||n(e=t):i()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=s()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var r=d(e,t);return p(r,t),function(e){for(var n=[],i=0;i<r.length;i++){var o=r[i];(s=a[o.id]).refs--,n.push(s)}e&&p(d(e,t),t);var s;for(i=0;i<n.length;i++)if(0===(s=n[i]).refs){for(var c=0;c<s.parts.length;c++)s.parts[c]();delete a[s.id]}}};var w,x=(w=[],function(e,t){return w[e]=t,w.filter(Boolean).join("\n")});function S(e,t,r,n){r=r?"":n.css;e.styleSheet?e.styleSheet.cssText=x(t,r):(n=document.createTextNode(r),(r=e.childNodes)[t]&&e.removeChild(r[t]),r.length?e.insertBefore(n,r[t]):e.appendChild(n))}},function(e,t,r){var n=r(44);"string"==typeof n&&(n=[[e.i,n,""]]);var i={hmr:!0,transform:void 0};r(25)(n,i),n.locals&&(e.exports=n.locals)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});r=r(28);var n=r&&r.__esModule?r:{default:r};t.default=Object.assign(n.default,{install:function(e){e.component("JsonViewer",n.default)}})},function(e,t,r){"use strict";r.r(t);var n,i=r(22),o=r(1);for(n in o)"default"!==n&&function(e){r.d(t,e,(function(){return o[e]}))}(n);r(43);var a=r(0);i=Object(a.a)(o.default,i.a,i.b,!1,null,null,null);i.options.__file="lib/json-viewer.vue",t.default=i.exports},function(t,r){t.exports=e},function(e,t,r){"use strict";r.r(t);var n,i=r(5);for(n in i)"default"!==n&&function(e){r.d(t,e,(function(){return i[e]}))}(n);var o=r(0);o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);o.options.__file="lib/types/json-string.vue",t.default=o.exports},function(e,t,r){"use strict";r.r(t);var n,i=r(7);for(n in i)"default"!==n&&function(e){r.d(t,e,(function(){return i[e]}))}(n);var o=r(0);o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);o.options.__file="lib/types/json-undefined.vue",t.default=o.exports},function(e,t,r){"use strict";r.r(t);var n,i=r(9);for(n in i)"default"!==n&&function(e){r.d(t,e,(function(){return i[e]}))}(n);var o=r(0);o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);o.options.__file="lib/types/json-number.vue",t.default=o.exports},function(e,t,r){"use strict";r.r(t);var n,i=r(11);for(n in i)"default"!==n&&function(e){r.d(t,e,(function(){return i[e]}))}(n);var o=r(0);o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);o.options.__file="lib/types/json-boolean.vue",t.default=o.exports},function(e,t,r){"use strict";r.r(t);var n,i=r(13);for(n in i)"default"!==n&&function(e){r.d(t,e,(function(){return i[e]}))}(n);var o=r(0);o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);o.options.__file="lib/types/json-object.vue",t.default=o.exports},function(e,t,r){"use strict";r.r(t);var n,i=r(15);for(n in i)"default"!==n&&function(e){r.d(t,e,(function(){return i[e]}))}(n);var o=r(0);o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);o.options.__file="lib/types/json-array.vue",t.default=o.exports},function(e,t,r){"use strict";r.r(t);var n,i=r(17);for(n in i)"default"!==n&&function(e){r.d(t,e,(function(){return i[e]}))}(n);var o=r(0);o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);o.options.__file="lib/types/json-function.vue",t.default=o.exports},function(e,t,r){"use strict";r.r(t);var n,i=r(19);for(n in i)"default"!==n&&function(e){r.d(t,e,(function(){return i[e]}))}(n);var o=r(0);o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);o.options.__file="lib/types/json-date.vue",t.default=o.exports},function(e,t,r){"use strict";r(23)},function(e,t,r){(t=r(24)(!1)).push([e.i,".jv-node{position:relative}.jv-node:after{content:','}.jv-node:last-of-type:after{content:''}.jv-node.toggle{margin-left:13px !important}.jv-node .jv-node{margin-left:25px}\n",""]),e.exports=t},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var r=t.protocol+"//"+t.host,n=r+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(e,t){t=t.trim().replace(/^"(.*)"$/,(function(e,t){return t})).replace(/^'(.*)'$/,(function(e,t){return t}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/)/i.test(t)?e:(t=0===t.indexOf("//")?t:0===t.indexOf("/")?r+t:n+t.replace(/^\.\//,""),"url("+JSON.stringify(t)+")")}))}},function(e,r){e.exports=t},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.debounce=function(e,t){var r=Date.now(),n=void 0;return function(){for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];Date.now()-r<t&&n&&clearTimeout(n),n=setTimeout((function(){e.apply(void 0,o)}),t),r=Date.now()}}},function(e,t,r){"use strict";r(26)},function(e,t,r){var n=r(24),i=r(45);r=r(46);t=n(!1),r=i(r),t.push([e.i,".jv-container{box-sizing:border-box;position:relative}.jv-container.boxed{border:1px solid #eee;border-radius:6px}.jv-container.boxed:hover{box-shadow:0 2px 7px rgba(0,0,0,0.15);border-color:transparent;position:relative}.jv-container.jv-light{background:#fff;white-space:nowrap;color:#525252;font-size:14px;font-family:Consolas, Menlo, Courier, monospace}.jv-container.jv-light .jv-ellipsis{color:#999;background-color:#eee;display:inline-block;line-height:0.9;font-size:0.9em;padding:0px 4px 2px 4px;margin:0 4px;border-radius:3px;vertical-align:2px;cursor:pointer;-webkit-user-select:none;user-select:none}.jv-container.jv-light .jv-button{color:#49b3ff}.jv-container.jv-light .jv-key{color:#111111;margin-right:4px}.jv-container.jv-light .jv-item.jv-array{color:#111111}.jv-container.jv-light .jv-item.jv-boolean{color:#fc1e70}.jv-container.jv-light .jv-item.jv-function{color:#067bca}.jv-container.jv-light .jv-item.jv-number{color:#fc1e70}.jv-container.jv-light .jv-item.jv-object{color:#111111}.jv-container.jv-light .jv-item.jv-undefined{color:#e08331}.jv-container.jv-light .jv-item.jv-string{color:#42b983;word-break:break-word;white-space:normal}.jv-container.jv-light .jv-item.jv-string .jv-link{color:#0366d6}.jv-container.jv-light .jv-code .jv-toggle:before{padding:0px 2px;border-radius:2px}.jv-container.jv-light .jv-code .jv-toggle:hover:before{background:#eee}.jv-container .jv-code{overflow:hidden;padding:30px 20px}.jv-container .jv-code.boxed{max-height:300px}.jv-container .jv-code.open{max-height:initial !important;overflow:visible;overflow-x:auto;padding-bottom:45px}.jv-container .jv-toggle{background-image:url("+r+');background-repeat:no-repeat;background-size:contain;background-position:center center;cursor:pointer;width:10px;height:10px;margin-right:2px;display:inline-block;-webkit-transition:-webkit-transform 0.1s;transition:-webkit-transform 0.1s;transition:transform 0.1s;transition:transform 0.1s, -webkit-transform 0.1s}.jv-container .jv-toggle.open{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.jv-container .jv-more{position:absolute;z-index:1;bottom:0;left:0;right:0;height:40px;width:100%;text-align:center;cursor:pointer}.jv-container .jv-more .jv-toggle{position:relative;top:40%;z-index:2;color:#888;-webkit-transition:all 0.1s;transition:all 0.1s;-webkit-transform:rotate(90deg);transform:rotate(90deg)}.jv-container .jv-more .jv-toggle.open{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.jv-container .jv-more:after{content:"";width:100%;height:100%;position:absolute;bottom:0;left:0;z-index:1;background:-webkit-linear-gradient(top, rgba(0,0,0,0) 20%, rgba(230,230,230,0.3) 100%);background:linear-gradient(to bottom, rgba(0,0,0,0) 20%, rgba(230,230,230,0.3) 100%);-webkit-transition:all 0.1s;transition:all 0.1s}.jv-container .jv-more:hover .jv-toggle{top:50%;color:#111}.jv-container .jv-more:hover:after{background:-webkit-linear-gradient(top, rgba(0,0,0,0) 20%, rgba(230,230,230,0.3) 100%);background:linear-gradient(to bottom, rgba(0,0,0,0) 20%, rgba(230,230,230,0.3) 100%)}.jv-container .jv-button{position:relative;cursor:pointer;display:inline-block;padding:5px;z-index:5}.jv-container .jv-button.copied{opacity:0.4;cursor:default}.jv-container .jv-tooltip{position:absolute}.jv-container .jv-tooltip.right{right:15px}.jv-container .jv-tooltip.left{left:15px}.jv-container .j-icon{font-size:12px}\n',""]),e.exports=t},function(e,t,r){"use strict";e.exports=function(e,t){return t=t||{},"string"!=typeof(e=e&&e.__esModule?e.default:e)?e:(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e)}},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjE2IiB3aWR0aD0iOCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KIAo8cG9seWdvbiBwb2ludHM9IjAsMCA4LDggMCwxNiIKc3R5bGU9ImZpbGw6IzY2NjtzdHJva2U6cHVycGxlO3N0cm9rZS13aWR0aDowIiAvPgo8L3N2Zz4="}],r.c=i,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=27);function r(e){if(i[e])return i[e].exports;var t=i[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,r),t.l=!0,t.exports}var n,i}))},"35a1":function(e,t,r){var n=r("f5df"),i=r("dc4a"),o=r("3f8c"),a=r("b622"),s=a("iterator");e.exports=function(e){if(void 0!=e)return i(e,s)||i(e,"@@iterator")||o[n(e)]}},"35ad":function(e,t,r){"use strict";r("2be3")},3767:function(e,t,r){var n=r("ca25");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=r("499e").default;i("34443de6",n,!0,{sourceMap:!1,shadowMode:!1})},"37e8":function(e,t,r){var n=r("83ab"),i=r("aed9"),o=r("9bf2"),a=r("825a"),s=r("fc6a"),c=r("df75");t.f=n&&!i?Object.defineProperties:function(e,t){a(e);var r,n=s(t),i=c(t),l=i.length,u=0;while(l>u)o.f(e,r=i[u++],n[r]);return e}},"38cf":function(e,t,r){var n=r("23e7"),i=r("1148");n({target:"String",proto:!0},{repeat:i})},"3a9b":function(e,t,r){var n=r("e330");e.exports=n({}.isPrototypeOf)},"3bbe":function(e,t,r){var n=r("da84"),i=r("1626"),o=n.String,a=n.TypeError;e.exports=function(e){if("object"==typeof e||i(e))return e;throw a("Can't set "+o(e)+" as a prototype")}},"3ca3":function(e,t,r){"use strict";var n=r("6547").charAt,i=r("577e"),o=r("69f3"),a=r("7dd0"),s="String Iterator",c=o.set,l=o.getterFor(s);a(String,"String",(function(e){c(this,{type:s,string:i(e),index:0})}),(function(){var e,t=l(this),r=t.string,i=t.index;return i>=r.length?{value:void 0,done:!0}:(e=n(r,i),t.index+=e.length,{value:e,done:!1})}))},"3f8c":function(e,t){e.exports={}},"408a":function(e,t,r){var n=r("e330");e.exports=n(1..valueOf)},"40d5":function(e,t,r){var n=r("d039");e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},"428f":function(e,t,r){var n=r("da84");e.exports=n},"44ad":function(e,t,r){var n=r("da84"),i=r("e330"),o=r("d039"),a=r("c6b6"),s=n.Object,c=i("".split);e.exports=o((function(){return!s("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?c(e,""):s(e)}:s},"44d2":function(e,t,r){var n=r("b622"),i=r("7c73"),o=r("9bf2"),a=n("unscopables"),s=Array.prototype;void 0==s[a]&&o.f(s,a,{configurable:!0,value:i(null)}),e.exports=function(e){s[a][e]=!0}},"44de":function(e,t,r){var n=r("da84");e.exports=function(e,t){var r=n.console;r&&r.error&&(1==arguments.length?r.error(e):r.error(e,t))}},"44e7":function(e,t,r){var n=r("861d"),i=r("c6b6"),o=r("b622"),a=o("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[a])?!!t:"RegExp"==i(e))}},"466d":function(e,t,r){"use strict";var n=r("c65b"),i=r("d784"),o=r("825a"),a=r("50c4"),s=r("577e"),c=r("1d80"),l=r("dc4a"),u=r("8aa5"),f=r("14c3");i("match",(function(e,t,r){return[function(t){var r=c(this),i=void 0==t?void 0:l(t,e);return i?n(i,t,r):new RegExp(t)[e](s(r))},function(e){var n=o(this),i=s(e),c=r(t,n,i);if(c.done)return c.value;if(!n.global)return f(n,i);var l=n.unicode;n.lastIndex=0;var h,p=[],d=0;while(null!==(h=f(n,i))){var m=s(h[0]);p[d]=m,""===m&&(n.lastIndex=u(i,a(n.lastIndex),l)),d++}return 0===d?null:p}]}))},4840:function(e,t,r){var n=r("825a"),i=r("5087"),o=r("b622"),a=o("species");e.exports=function(e,t){var r,o=n(e).constructor;return void 0===o||void 0==(r=n(o)[a])?t:i(r)}},"485a":function(e,t,r){var n=r("da84"),i=r("c65b"),o=r("1626"),a=r("861d"),s=n.TypeError;e.exports=function(e,t){var r,n;if("string"===t&&o(r=e.toString)&&!a(n=i(r,e)))return n;if(o(r=e.valueOf)&&!a(n=i(r,e)))return n;if("string"!==t&&o(r=e.toString)&&!a(n=i(r,e)))return n;throw s("Can't convert object to primitive value")}},4930:function(e,t,r){var n=r("2d00"),i=r("d039");e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},"498a":function(e,t,r){"use strict";var n=r("23e7"),i=r("58a8").trim,o=r("c8d2");n({target:"String",proto:!0,forced:o("trim")},{trim:function(){return i(this)}})},"499e":function(e,t,r){"use strict";function n(e,t){for(var r=[],n={},i=0;i<t.length;i++){var o=t[i],a=o[0],s=o[1],c=o[2],l=o[3],u={id:e+":"+i,css:s,media:c,sourceMap:l};n[a]?n[a].parts.push(u):r.push(n[a]={id:a,parts:[u]})}return r}r.r(t),r.d(t,"default",(function(){return d}));var i="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!i)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var o={},a=i&&(document.head||document.getElementsByTagName("head")[0]),s=null,c=0,l=!1,u=function(){},f=null,h="data-vue-ssr-id",p="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function d(e,t,r,i){l=r,f=i||{};var a=n(e,t);return m(a),function(t){for(var r=[],i=0;i<a.length;i++){var s=a[i],c=o[s.id];c.refs--,r.push(c)}t?(a=n(e,t),m(a)):a=[];for(i=0;i<r.length;i++){c=r[i];if(0===c.refs){for(var l=0;l<c.parts.length;l++)c.parts[l]();delete o[c.id]}}}}function m(e){for(var t=0;t<e.length;t++){var r=e[t],n=o[r.id];if(n){n.refs++;for(var i=0;i<n.parts.length;i++)n.parts[i](r.parts[i]);for(;i<r.parts.length;i++)n.parts.push(g(r.parts[i]));n.parts.length>r.parts.length&&(n.parts.length=r.parts.length)}else{var a=[];for(i=0;i<r.parts.length;i++)a.push(g(r.parts[i]));o[r.id]={id:r.id,refs:1,parts:a}}}}function v(){var e=document.createElement("style");return e.type="text/css",a.appendChild(e),e}function g(e){var t,r,n=document.querySelector("style["+h+'~="'+e.id+'"]');if(n){if(l)return u;n.parentNode.removeChild(n)}if(p){var i=c++;n=s||(s=v()),t=b.bind(null,n,i,!1),r=b.bind(null,n,i,!0)}else n=v(),t=w.bind(null,n),r=function(){n.parentNode.removeChild(n)};return t(e),function(n){if(n){if(n.css===e.css&&n.media===e.media&&n.sourceMap===e.sourceMap)return;t(e=n)}else r()}}var y=function(){var e=[];return function(t,r){return e[t]=r,e.filter(Boolean).join("\n")}}();function b(e,t,r,n){var i=r?"":n.css;if(e.styleSheet)e.styleSheet.cssText=y(t,i);else{var o=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}function w(e,t){var r=t.css,n=t.media,i=t.sourceMap;if(n&&e.setAttribute("media",n),f.ssrId&&e.setAttribute(h,t.id),i&&(r+="\n/*# sourceURL="+i.sources[0]+" */",r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),e.styleSheet)e.styleSheet.cssText=r;else{while(e.firstChild)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}},"4ae1":function(e,t,r){var n=r("23e7"),i=r("d066"),o=r("2ba4"),a=r("0538"),s=r("5087"),c=r("825a"),l=r("861d"),u=r("7c73"),f=r("d039"),h=i("Reflect","construct"),p=Object.prototype,d=[].push,m=f((function(){function e(){}return!(h((function(){}),[],e)instanceof e)})),v=!f((function(){h((function(){}))})),g=m||v;n({target:"Reflect",stat:!0,forced:g,sham:g},{construct:function(e,t){s(e),c(t);var r=arguments.length<3?e:s(arguments[2]);if(v&&!m)return h(e,t,r);if(e==r){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var n=[null];return o(d,n,t),new(o(a,e,n))}var i=r.prototype,f=u(l(i)?i:p),g=o(e,f,t);return l(g)?g:f}})},"4bad":function(e,t,r){"use strict";function n(e,t){var r=e[1]||"",n=e[3];if(!n)return r;if(t&&"function"===typeof btoa){var o=i(n),a=n.sources.map((function(e){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(e," */")}));return[r].concat(a).concat([o]).join("\n")}return[r].join("\n")}function i(e){var t=btoa(unescape(encodeURIComponent(JSON.stringify(e)))),r="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(t);return"/*# ".concat(r," */")}e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=n(t,e);return t[2]?"@media ".concat(t[2]," {").concat(r,"}"):r})).join("")},t.i=function(e,r,n){"string"===typeof e&&(e=[[null,e,""]]);var i={};if(n)for(var o=0;o<this.length;o++){var a=this[o][0];null!=a&&(i[a]=!0)}for(var s=0;s<e.length;s++){var c=[].concat(e[s]);n&&i[c[0]]||(r&&(c[2]?c[2]="".concat(r," and ").concat(c[2]):c[2]=r),t.push(c))}},t}},"4d63":function(e,t,r){var n=r("83ab"),i=r("da84"),o=r("e330"),a=r("94ca"),s=r("7156"),c=r("9112"),l=r("9bf2").f,u=r("241c").f,f=r("3a9b"),h=r("44e7"),p=r("577e"),d=r("ad6d"),m=r("9f7f"),v=r("6eeb"),g=r("d039"),y=r("1a2d"),b=r("69f3").enforce,w=r("2626"),x=r("b622"),S=r("fce3"),_=r("107c"),P=x("match"),E=i.RegExp,k=E.prototype,C=i.SyntaxError,j=o(d),O=o(k.exec),I=o("".charAt),A=o("".replace),R=o("".indexOf),F=o("".slice),D=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,$=/a/g,L=/a/g,M=new E($)!==$,T=m.MISSED_STICKY,N=m.UNSUPPORTED_Y,z=n&&(!M||T||S||_||g((function(){return L[P]=!1,E($)!=$||E(L)==L||"/a/i"!=E($,"i")}))),V=function(e){for(var t,r=e.length,n=0,i="",o=!1;n<=r;n++)t=I(e,n),"\\"!==t?o||"."!==t?("["===t?o=!0:"]"===t&&(o=!1),i+=t):i+="[\\s\\S]":i+=t+I(e,++n);return i},B=function(e){for(var t,r=e.length,n=0,i="",o=[],a={},s=!1,c=!1,l=0,u="";n<=r;n++){if(t=I(e,n),"\\"===t)t+=I(e,++n);else if("]"===t)s=!1;else if(!s)switch(!0){case"["===t:s=!0;break;case"("===t:O(D,F(e,n+1))&&(n+=2,c=!0),i+=t,l++;continue;case">"===t&&c:if(""===u||y(a,u))throw new C("Invalid capture group name");a[u]=!0,o[o.length]=[u,l],c=!1,u="";continue}c?u+=t:i+=t}return[i,o]};if(a("RegExp",z)){for(var U=function(e,t){var r,n,i,o,a,l,u=f(k,this),d=h(e),m=void 0===t,v=[],g=e;if(!u&&d&&m&&e.constructor===U)return e;if((d||f(k,e))&&(e=e.source,m&&(t="flags"in g?g.flags:j(g))),e=void 0===e?"":p(e),t=void 0===t?"":p(t),g=e,S&&"dotAll"in $&&(n=!!t&&R(t,"s")>-1,n&&(t=A(t,/s/g,""))),r=t,T&&"sticky"in $&&(i=!!t&&R(t,"y")>-1,i&&N&&(t=A(t,/y/g,""))),_&&(o=B(e),e=o[0],v=o[1]),a=s(E(e,t),u?this:k,U),(n||i||v.length)&&(l=b(a),n&&(l.dotAll=!0,l.raw=U(V(e),r)),i&&(l.sticky=!0),v.length&&(l.groups=v)),e!==g)try{c(a,"source",""===g?"(?:)":g)}catch(y){}return a},q=function(e){e in U||l(U,e,{configurable:!0,get:function(){return E[e]},set:function(t){E[e]=t}})},H=u(E),W=0;H.length>W;)q(H[W++]);k.constructor=U,U.prototype=k,v(i,"RegExp",U)}w("RegExp")},"4d64":function(e,t,r){var n=r("fc6a"),i=r("23cb"),o=r("07fa"),a=function(e){return function(t,r,a){var s,c=n(t),l=o(c),u=i(a,l);if(e&&r!=r){while(l>u)if(s=c[u++],s!=s)return!0}else for(;l>u;u++)if((e||u in c)&&c[u]===r)return e||u||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},"4dae":function(e,t,r){var n=r("da84"),i=r("23cb"),o=r("07fa"),a=r("8418"),s=n.Array,c=Math.max;e.exports=function(e,t,r){for(var n=o(e),l=i(t,n),u=i(void 0===r?n:r,n),f=s(c(u-l,0)),h=0;l<u;l++,h++)a(f,h,e[l]);return f.length=h,f}},"4de4":function(e,t,r){"use strict";var n=r("23e7"),i=r("b727").filter,o=r("1dde"),a=o("filter");n({target:"Array",proto:!0,forced:!a},{filter:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(e,t,r){"use strict";var n=r("da84"),i=r("0366"),o=r("c65b"),a=r("7b0b"),s=r("9bdd"),c=r("e95a"),l=r("68ee"),u=r("07fa"),f=r("8418"),h=r("9a1f"),p=r("35a1"),d=n.Array;e.exports=function(e){var t=a(e),r=l(this),n=arguments.length,m=n>1?arguments[1]:void 0,v=void 0!==m;v&&(m=i(m,n>2?arguments[2]:void 0));var g,y,b,w,x,S,_=p(t),P=0;if(!_||this==d&&c(_))for(g=u(t),y=r?new this(g):d(g);g>P;P++)S=v?m(t[P],P):t[P],f(y,P,S);else for(w=h(t,_),x=w.next,y=r?new this:[];!(b=o(x,w)).done;P++)S=v?s(w,m,[b.value,P],!0):b.value,f(y,P,S);return y.length=P,y}},"4e82":function(e,t,r){"use strict";var n=r("23e7"),i=r("e330"),o=r("59ed"),a=r("7b0b"),s=r("07fa"),c=r("577e"),l=r("d039"),u=r("addb"),f=r("a640"),h=r("04d1"),p=r("d998"),d=r("2d00"),m=r("512c"),v=[],g=i(v.sort),y=i(v.push),b=l((function(){v.sort(void 0)})),w=l((function(){v.sort(null)})),x=f("sort"),S=!l((function(){if(d)return d<70;if(!(h&&h>3)){if(p)return!0;if(m)return m<603;var e,t,r,n,i="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)v.push({k:t+n,v:r})}for(v.sort((function(e,t){return t.v-e.v})),n=0;n<v.length;n++)t=v[n].k.charAt(0),i.charAt(i.length-1)!==t&&(i+=t);return"DGBEFHACIJK"!==i}})),_=b||!w||!x||!S,P=function(e){return function(t,r){return void 0===r?-1:void 0===t?1:void 0!==e?+e(t,r)||0:c(t)>c(r)?1:-1}};n({target:"Array",proto:!0,forced:_},{sort:function(e){void 0!==e&&o(e);var t=a(this);if(S)return void 0===e?g(t):g(t,e);var r,n,i=[],c=s(t);for(n=0;n<c;n++)n in t&&y(i,t[n]);u(i,P(e)),r=i.length,n=0;while(n<r)t[n]=i[n++];while(n<c)delete t[n++];return t}})},5087:function(e,t,r){var n=r("da84"),i=r("68ee"),o=r("0d51"),a=n.TypeError;e.exports=function(e){if(i(e))return e;throw a(o(e)+" is not a constructor")}},"50c4":function(e,t,r){var n=r("5926"),i=Math.min;e.exports=function(e){return e>0?i(n(e),9007199254740991):0}},"512c":function(e,t,r){var n=r("342f"),i=n.match(/AppleWebKit\/(\d+)\./);e.exports=!!i&&+i[1]},"525b":function(e){e.exports=JSON.parse('{"c0":"rgb(0,0,0)","c1":"rgb(128,0,0)","c2":"rgb(0,128,0)","c3":"rgb(128,128,0)","c4":"rgb(0,0,128)","c5":"rgb(128,0,128)","c6":"rgb(0,128,128)","c7":"rgb(192,192,192)","c8":"rgb(128,128,128)","c9":"rgb(255,0,0)","c10":"rgb(0,255,0)","c11":"rgb(255,255,0)","c12":"rgb(0,0,255)","c13":"rgb(255,0,255)","c14":"rgb(0,255,255)","c15":"rgb(255,255,255)","c16":"rgb(0,0,0)","c17":"rgb(0,0,95)","c18":"rgb(0,0,135)","c19":"rgb(0,0,175)","c20":"rgb(0,0,215)","c21":"rgb(0,0,255)","c22":"rgb(0,95,0)","c23":"rgb(0,95,95)","c24":"rgb(0,95,135)","c25":"rgb(0,95,175)","c26":"rgb(0,95,215)","c27":"rgb(0,95,255)","c28":"rgb(0,135,0)","c29":"rgb(0,135,95)","c30":"rgb(0,135,135)","c31":"rgb(0,135,175)","c32":"rgb(0,135,215)","c33":"rgb(0,135,255)","c34":"rgb(0,175,0)","c35":"rgb(0,175,95)","c36":"rgb(0,175,135)","c37":"rgb(0,175,175)","c38":"rgb(0,175,215)","c39":"rgb(0,175,255)","c40":"rgb(0,215,0)","c41":"rgb(0,215,95)","c42":"rgb(0,215,135)","c43":"rgb(0,215,175)","c44":"rgb(0,215,215)","c45":"rgb(0,215,255)","c46":"rgb(0,255,0)","c47":"rgb(0,255,95)","c48":"rgb(0,255,135)","c49":"rgb(0,255,175)","c50":"rgb(0,255,215)","c51":"rgb(0,255,255)","c52":"rgb(95,0,0)","c53":"rgb(95,0,95)","c54":"rgb(95,0,135)","c55":"rgb(95,0,175)","c56":"rgb(95,0,215)","c57":"rgb(95,0,255)","c58":"rgb(95,95,0)","c59":"rgb(95,95,95)","c60":"rgb(95,95,135)","c61":"rgb(95,95,175)","c62":"rgb(95,95,215)","c63":"rgb(95,95,255)","c64":"rgb(95,135,0)","c65":"rgb(95,135,95)","c66":"rgb(95,135,135)","c67":"rgb(95,135,175)","c68":"rgb(95,135,215)","c69":"rgb(95,135,255)","c70":"rgb(95,175,0)","c71":"rgb(95,175,95)","c72":"rgb(95,175,135)","c73":"rgb(95,175,175)","c74":"rgb(95,175,215)","c75":"rgb(95,175,255)","c76":"rgb(95,215,0)","c77":"rgb(95,215,95)","c78":"rgb(95,215,135)","c79":"rgb(95,215,175)","c80":"rgb(95,215,215)","c81":"rgb(95,215,255)","c82":"rgb(95,255,0)","c83":"rgb(95,255,95)","c84":"rgb(95,255,135)","c85":"rgb(95,255,175)","c86":"rgb(95,255,215)","c87":"rgb(95,255,255)","c88":"rgb(135,0,0)","c89":"rgb(135,0,95)","c90":"rgb(135,0,135)","c91":"rgb(135,0,175)","c92":"rgb(135,0,215)","c93":"rgb(135,0,255)","c94":"rgb(135,95,0)","c95":"rgb(135,95,95)","c96":"rgb(135,95,135)","c97":"rgb(135,95,175)","c98":"rgb(135,95,215)","c99":"rgb(135,95,255)","c100":"rgb(135,135,0)","c101":"rgb(135,135,95)","c102":"rgb(135,135,135)","c103":"rgb(135,135,175)","c104":"rgb(135,135,215)","c105":"rgb(135,135,255)","c106":"rgb(135,175,0)","c107":"rgb(135,175,95)","c108":"rgb(135,175,135)","c109":"rgb(135,175,175)","c110":"rgb(135,175,215)","c111":"rgb(135,175,255)","c112":"rgb(135,215,0)","c113":"rgb(135,215,95)","c114":"rgb(135,215,135)","c115":"rgb(135,215,175)","c116":"rgb(135,215,215)","c117":"rgb(135,215,255)","c118":"rgb(135,255,0)","c119":"rgb(135,255,95)","c120":"rgb(135,255,135)","c121":"rgb(135,255,175)","c122":"rgb(135,255,215)","c123":"rgb(135,255,255)","c124":"rgb(175,0,0)","c125":"rgb(175,0,95)","c126":"rgb(175,0,135)","c127":"rgb(175,0,175)","c128":"rgb(175,0,215)","c129":"rgb(175,0,255)","c130":"rgb(175,95,0)","c131":"rgb(175,95,95)","c132":"rgb(175,95,135)","c133":"rgb(175,95,175)","c134":"rgb(175,95,215)","c135":"rgb(175,95,255)","c136":"rgb(175,135,0)","c137":"rgb(175,135,95)","c138":"rgb(175,135,135)","c139":"rgb(175,135,175)","c140":"rgb(175,135,215)","c141":"rgb(175,135,255)","c142":"rgb(175,175,0)","c143":"rgb(175,175,95)","c144":"rgb(175,175,135)","c145":"rgb(175,175,175)","c146":"rgb(175,175,215)","c147":"rgb(175,175,255)","c148":"rgb(175,215,0)","c149":"rgb(175,215,95)","c150":"rgb(175,215,135)","c151":"rgb(175,215,175)","c152":"rgb(175,215,215)","c153":"rgb(175,215,255)","c154":"rgb(175,255,0)","c155":"rgb(175,255,95)","c156":"rgb(175,255,135)","c157":"rgb(175,255,175)","c158":"rgb(175,255,215)","c159":"rgb(175,255,255)","c160":"rgb(215,0,0)","c161":"rgb(215,0,95)","c162":"rgb(215,0,135)","c163":"rgb(215,0,175)","c164":"rgb(215,0,215)","c165":"rgb(215,0,255)","c166":"rgb(215,95,0)","c167":"rgb(215,95,95)","c168":"rgb(215,95,135)","c169":"rgb(215,95,175)","c170":"rgb(215,95,215)","c171":"rgb(215,95,255)","c172":"rgb(215,135,0)","c173":"rgb(215,135,95)","c174":"rgb(215,135,135)","c175":"rgb(215,135,175)","c176":"rgb(215,135,215)","c177":"rgb(215,135,255)","c178":"rgb(215,175,0)","c179":"rgb(215,175,95)","c180":"rgb(215,175,135)","c181":"rgb(215,175,175)","c182":"rgb(215,175,215)","c183":"rgb(215,175,255)","c184":"rgb(215,215,0)","c185":"rgb(215,215,95)","c186":"rgb(215,215,135)","c187":"rgb(215,215,175)","c188":"rgb(215,215,215)","c189":"rgb(215,215,255)","c190":"rgb(215,255,0)","c191":"rgb(215,255,95)","c192":"rgb(215,255,135)","c193":"rgb(215,255,175)","c194":"rgb(215,255,215)","c195":"rgb(215,255,255)","c196":"rgb(255,0,0)","c197":"rgb(255,0,95)","c198":"rgb(255,0,135)","c199":"rgb(255,0,175)","c200":"rgb(255,0,215)","c201":"rgb(255,0,255)","c202":"rgb(255,95,0)","c203":"rgb(255,95,95)","c204":"rgb(255,95,135)","c205":"rgb(255,95,175)","c206":"rgb(255,95,215)","c207":"rgb(255,95,255)","c208":"rgb(255,135,0)","c209":"rgb(255,135,95)","c210":"rgb(255,135,135)","c211":"rgb(255,135,175)","c212":"rgb(255,135,215)","c213":"rgb(255,135,255)","c214":"rgb(255,175,0)","c215":"rgb(255,175,95)","c216":"rgb(255,175,135)","c217":"rgb(255,175,175)","c218":"rgb(255,175,215)","c219":"rgb(255,175,255)","c220":"rgb(255,215,0)","c221":"rgb(255,215,95)","c222":"rgb(255,215,135)","c223":"rgb(255,215,175)","c224":"rgb(255,215,215)","c225":"rgb(255,215,255)","c226":"rgb(255,255,0)","c227":"rgb(255,255,95)","c228":"rgb(255,255,135)","c229":"rgb(255,255,175)","c230":"rgb(255,255,215)","c231":"rgb(255,255,255)","c232":"rgb(8,8,8)","c233":"rgb(18,18,18)","c234":"rgb(28,28,28)","c235":"rgb(38,38,38)","c236":"rgb(48,48,48)","c237":"rgb(58,58,58)","c238":"rgb(68,68,68)","c239":"rgb(78,78,78)","c240":"rgb(88,88,88)","c241":"rgb(98,98,98)","c242":"rgb(108,108,108)","c243":"rgb(118,118,118)","c244":"rgb(128,128,128)","c245":"rgb(138,138,138)","c246":"rgb(148,148,148)","c247":"rgb(158,158,158)","c248":"rgb(168,168,168)","c249":"rgb(178,178,178)","c250":"rgb(188,188,188)","c251":"rgb(198,198,198)","c252":"rgb(208,208,208)","c253":"rgb(218,218,218)","c254":"rgb(228,228,228)","c255":"rgb(238,238,238)"}')},5319:function(e,t,r){"use strict";var n=r("2ba4"),i=r("c65b"),o=r("e330"),a=r("d784"),s=r("d039"),c=r("825a"),l=r("1626"),u=r("5926"),f=r("50c4"),h=r("577e"),p=r("1d80"),d=r("8aa5"),m=r("dc4a"),v=r("0cb2"),g=r("14c3"),y=r("b622"),b=y("replace"),w=Math.max,x=Math.min,S=o([].concat),_=o([].push),P=o("".indexOf),E=o("".slice),k=function(e){return void 0===e?e:String(e)},C=function(){return"$0"==="a".replace(/./,"$0")}(),j=function(){return!!/./[b]&&""===/./[b]("a","$0")}(),O=!s((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}));a("replace",(function(e,t,r){var o=j?"$":"$0";return[function(e,r){var n=p(this),o=void 0==e?void 0:m(e,b);return o?i(o,e,n,r):i(t,h(n),e,r)},function(e,i){var a=c(this),s=h(e);if("string"==typeof i&&-1===P(i,o)&&-1===P(i,"$<")){var p=r(t,a,s,i);if(p.done)return p.value}var m=l(i);m||(i=h(i));var y=a.global;if(y){var b=a.unicode;a.lastIndex=0}var C=[];while(1){var j=g(a,s);if(null===j)break;if(_(C,j),!y)break;var O=h(j[0]);""===O&&(a.lastIndex=d(s,f(a.lastIndex),b))}for(var I="",A=0,R=0;R<C.length;R++){j=C[R];for(var F=h(j[0]),D=w(x(u(j.index),s.length),0),$=[],L=1;L<j.length;L++)_($,k(j[L]));var M=j.groups;if(m){var T=S([F],$,D,s);void 0!==M&&_(T,M);var N=h(n(i,void 0,T))}else N=v(F,s,D,$,M,i);D>=A&&(I+=E(s,A,D)+N,A=D+F.length)}return I+E(s,A)}]}),!O||!C||j)},5628:function(e,t,r){var n=r("4bad");t=n(!1),t.push([e.i,':root{--t-font-height:19px;--t-font-size:16px;--t-cmd-tips-border-radius:5px}.t-cmd-line,.t-log-box{-webkit-margin-before:0;margin-block-start:0;-webkit-margin-after:0;margin-block-end:0;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:0;margin-inline-end:0}.t-log-box{display:block;position:relative;line-height:var(--t-font-height)}.t-container{position:relative;margin:0;padding:0;border-radius:15px;background-color:var(--t-main-background-color);box-shadow:var(--t-window-box-shadow);-moz-box-shadow:var(--t-window-box-shadow);-webkit-box-shadow:var(--t-window-box-shadow);-o-box-shadow:var(--t-window-box-shadow)}.t-header-container{position:relative;z-index:2;top:0;right:0;left:0}.t-header{text-align:center;padding:2px;background-color:var(--t-header-background-color)}.t-header-title{font-size:calc(var(--t-font-size) + 2px);font-weight:700;margin:5px;height:var(--t-font-height);line-height:var(--t-font-height);letter-spacing:1px;color:var(--t-header-font-color);display:inline-block;cursor:pointer;text-shadow:0 0 20px #41454a}.t-header ul.t-shell-dots{position:absolute;top:5px;left:8px;padding-left:0;margin:0}.t-header ul.t-shell-dots li{display:inline-block;width:16px;height:16px;border-radius:10px;margin-left:6px;margin-top:4px;line-height:16px;cursor:pointer}.shell-dot-item{position:relative}.t-header ul .t-shell-dots-red{background-color:#f14444}.t-header ul .t-shell-dots-yellow{background-color:#f7db60}.t-header ul .t-shell-dots-green{background-color:#23bd65}.t-shell-dot{opacity:0;transition:opacity .2s ease;-moz-transition:opacity .2s ease;-ms-transition:opacity .2s ease;-webkit-transition:opacity .2s ease;-o-transition:opacity .2s ease;margin-bottom:0;position:absolute;left:50%;margin-left:-5px;top:50%;margin-top:-5px}.t-shell-dots:hover .t-shell-dot{opacity:1}.t-shell-pin-icon{filter:drop-shadow(5px 30px 5px rgba(26,58,70,.8));-ms-filter:drop-shadow(5px 30px 5px rgba(26,58,70,.8));-webkit-filter:drop-shadow(5px 30px 5px rgba(26,58,70,.8))}.t-ask-input,.t-crude-font,.t-window,.t-window div,.t-window p{font-size:var(--t-font-size);font-family:Monaco,Lucida Console,monospace}.t-window{position:absolute;top:0;left:0;right:0;overflow:auto;z-index:1;max-height:none;min-height:140px;padding:0 0 0 20px;font-weight:400;cursor:text;background-color:var(--t-main-background-color);color:var(--t-main-font-color)}.t-window p{overflow-wrap:break-word;word-break:break-all}.t-window p .cmd{line-height:24px}@-webkit-keyframes cursor-flash{0%,to{opacity:0}50%{opacity:1}}@keyframes cursor-flash{0%,to{opacity:0}50%{opacity:1}}.t-window .t-cursor{position:absolute}.t-window .t-cursor-blink{animation:cursor-flash 1s infinite;-webkit-animation:cursor-flash 1s infinite;-o-animation:cursor-flash 1s infinite;-moz-animation:cursor-flash 1s infinite}.t-window .t-cursor-block{background-color:var(--t-cursor-color)}.t-window .t-cursor-underline:before{width:100%;height:3px;bottom:0}.t-window .t-cursor-bar:before,.t-window .t-cursor-underline:before{display:block;position:absolute;background-color:var(--t-cursor-color);z-index:100;left:0;content:" "}.t-window .t-cursor-bar:before{width:2px;height:100%;top:0}.t-window .t-cursor-none{display:none}.t-a{color:var(--t-link-color)}.t-a:hover{color:var(--t-link-hover-color)}.t-ask-input{max-width:300px;background:none;padding:0;display:inline-block;color:var(--t-main-font-color)}.t-ask-input,.t-ask-input:focus,.t-ask-input:focus-visible{border:none;outline:none}.t-cmd-input{position:relative;border:none;width:1px;height:0;opacity:0;cursor:text;padding:1px 2px;-webkit-writing-mode:horizontal-tb!important;text-rendering:auto;letter-spacing:normal;word-spacing:normal;text-transform:none;text-indent:0;text-shadow:none;display:inline-block;text-align:start;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;-webkit-rtl-ordering:logical;-o-border-image:initial;border-image:initial;word-wrap:break-word;margin:0;background-color:var(--t-main-background-color)}.t-content-normal .error,.t-content-normal .info,.t-content-normal .success,.t-content-normal .system,.t-content-normal .warning{padding:0 3px;color:var(--t-tag-font-color)}.t-content-normal .success{background-color:#27ae60}.t-content-normal .error{background-color:#c0392b}.t-content-normal .warning{background-color:#f39c12}.t-content-normal .info{background-color:#2980b9}.t-content-normal .system{background-color:#8697a2}.t-crude-font{font-weight:600}.t-flag{opacity:0}.t-last-line{font-size:0;word-spacing:0;letter-spacing:0;position:relative;margin-bottom:15px;line-height:var(--t-font-height)}@media screen and (max-width:768px){.t-window{padding:0 0 0 15px}}.t-cmd-line{font-size:0;line-height:var(--t-font-height)}.t-cmd-line-content{font-size:var(--t-font-size);word-break:break-all;white-space:break-spaces}.t-cmd-key{font-weight:700;color:var(--t-cmd-key-color)}.t-cmd-arg{color:var(--t-cmd-arg-color)}.t-cmd-splitter{color:var(--t-cmd-splitter-color)}.t-help-list{margin:0;list-style:none;padding-left:0;display:inline-grid;display:-moz-inline-grid;display:-ms-inline-grid}.t-help-list li{margin:3px 0}.t-cmd-help{position:absolute;top:15px;right:12px;z-index:99;max-width:50%;padding:5px;overflow:auto;max-height:calc(100% - 60px);background-color:var(--t-cmd-help-background-color);color:var(--t-main-font-color);box-shadow:var(--t-cmd-help-box-shadow)}.t-cmd-help code{font-size:var(--t-font-size);border:none;padding:2px 5px 2px 5px;background-color:var(--t-cmd-help-code-background-color)!important}.t-cmd-help-eg{float:left;width:30px;display:flex;font-size:var(--t-font-size);line-height:var(--t-font-height)}.t-cmd-help-example{float:left;width:calc(100% - 30px);display:flex}.t-cmd-help-des{margin-bottom:10px}.t-cmd-help-des-item{font-size:var(--t-font-size)}.t-pre-numbering{margin-top:0;position:absolute;top:0;left:-30px;width:30px;text-align:center;padding:1em 0}.t-pre-numbering li{list-style:none;font-size:1em}.t-window pre{position:relative;margin:0;overflow:auto}.t-example-ul{padding:0 0 0 10px;margin:0;list-style:none}.t-table{max-width:100%;overflow:auto;padding:0;margin:0}.t-border-dashed{border-collapse:collapse;border:var(--t-table-border)}.t-table thead{font-weight:600}.t-table,.t-table tbody,.t-table td,.t-table thead,.t-table tr{margin:0;padding:15px}.t-code-inline{color:var(--t-code-inline-font-color);font-weight:600}.t-code{position:relative;max-height:500px;overflow:auto}.t-vue-codemirror div,.t-vue-highlight div{font-size:var(--t-font-size)}.t-code .t-vue-codemirror .vue-codemirror .CodeMirror{height:unset;border:none}.t-text-editor-container{position:absolute;left:0;top:0;width:100%;height:100%;z-index:1}.t-text-editor{width:calc(100% - 10px);height:calc(100% - 35px);overflow:auto;resize:none;margin:0;padding:0 5px;border:none;font-size:var(--t-font-size);color:var(--t-main-font-color);background-color:var(--t-main-background-color)}.t-text-editor:focus,.t-text-editor:focus-visible{outline:none;outline-offset:unset}.t-text-editor-floor{position:absolute;height:35px;width:100%;bottom:0;left:0;background-color:var(--t-text-editor-floor-background-color)}.t-text-editor-floor-btn{border:none;outline:none;margin-top:10px;cursor:pointer;background-color:transparent}.t-close-btn{color:var(--t-text-editor-floor-close-btn-color)}.t-save-btn{color:var(--t-text-editor-floor-save-btn-color)}.t-text-editor-floor-btn:hover{color:var(--t-text-editor-floor-btn-hover-color)}.t-disable-select{user-select:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;-khtml-user-selece:none}.t-point{width:var(--t-font-height);height:var(--t-font-height);background-color:transparent;position:absolute;z-index:100}.t-point-lt{left:calc(0px - var(--t-font-height)/2);cursor:nwse-resize}.t-point-lt,.t-point-rt{top:calc(0px - var(--t-font-height)/2)}.t-point-rt{left:calc(100% - var(--t-font-height)/2);cursor:nesw-resize}.t-point-lb{left:calc(0px - var(--t-font-height)/2);cursor:nesw-resize}.t-point-lb,.t-point-rb{top:calc(100% - var(--t-font-height)/2)}.t-point-rb{left:calc(100% - var(--t-font-height)/2);cursor:nwse-resize}.t-code-default{background-color:var(--t-code-default-background-color)}.t-log-box-hover-script:hover{background-color:var(--t-log-box-hover-script-background-color)}.t-log-box-folded:hover{background-color:var(--t-log-box-folded-hover-background-color)}.t-log-box-folded{height:var(--t-font-height);overflow-y:clip;background-color:var(--t-log-box-folded-background-color);cursor:pointer}.t-log-fold-icon{position:absolute;width:10px;height:10px;left:-17px;top:4px;border:1px solid var(--t-log-fold-icon-border-color);text-align:center;line-height:9px;background-color:var(--t-log-fold-icon-background-color);color:var(--t-log-fold-icon-color);cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:100}.t-log-fold-icon-active{background-color:var(--t-log-fold-icon-active-background-color);color:var(--t-log-fold-icon-active-color)}.t-log-fold-line{position:absolute;height:calc(100% - 10px);width:1px;background-color:var(--t-log-fold-line-color);left:-12px;top:10px}.t-cmd-tips{--t-cmd-tips-box-shadow:5px 5px 15px 0 rgba(116,129,153,0.3);position:absolute;z-index:100;background-color:var(--t-cmd-tips-background-color);border-radius:var(--t-cmd-tips-border-radius);color:var(--t-cmd-tips-font-color);-ms-overflow-y:auto;cursor:context-menu;box-shadow:var(--t-cmd-tips-box-shadow);-moz-box-shadow:var(--t-cmd-tips-box-shadow);-webkit-box-shadow:var(--t-cmd-tips-box-shadow);-o-box-shadow:var(--t-cmd-tips-box-shadow);font-family:system-ui}.t-cmd-tips-items{min-width:280px;max-width:500px;max-height:200px;overflow-y:auto}.t-cmd-tips-footer{width:100%;padding:5px 0;text-indent:6px;line-height:var(--t-font-height);background-color:var(--t-cmd-tips-footer-background-color);color:var(--t-cmd-tips-footer-font-color);font-size:12px}.t-cmd-tips-item{padding:5px 8px;text-overflow:ellipsis;overflow:hidden;text-wrap:nowrap;color:var(--t-cmd-tips-des-font-color)}.t-cmd-tips-item-first{border-top-left-radius:var(--t-cmd-tips-border-radius);-webkit-border-top-left-radius:var(--t-cmd-tips-border-radius);border-top-right-radius:var(--t-cmd-tips-border-radius);-webkit-border-top-right-radius:var(--t-cmd-tips-border-radius)}.t-cmd-tips-item-active{background-color:var(--t-cmd-tips-active-background-color)}.t-cmd-tips-content{font-weight:700;color:var(--t-cmd-tips-content-font-color)}.t-cmd-tips-content,.t-cmd-tips-des{cursor:context-menu;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.t-cmd-tips-des{color:var(--t-cmd-tips-des-font-color);margin-left:8px}.t-json-container .jv-container.jv-light{border:none;background-color:var(--t-json-background-color);color:var(--t-main-font-color)}.t-json-container .jv-container .jv-code,.t-json-container .jv-container .jv-code.open{padding-bottom:0;overflow:hidden}.t-json-container .jv-container{display:inline-block;min-width:300px}.t-json-container .jv-container.jv-light .jv-item.jv-array,.t-json-container .jv-container.jv-light .jv-item.jv-object{color:var(--t-json-value-obj-color)}.t-json-container .jv-container.jv-light .jv-key{color:var(--t-main-font-color)}.t-json-container .jv-container.jv-light .jv-item.jv-boolean{color:var(--t-json-value-bool-color)}.t-json-container .jv-container.jv-light .jv-item.jv-number{color:var(--t-json-value-number-color)}.t-json-container .jv-container.jv-light .jv-ellipsis{color:var(--t-main-font-color);background-color:var(--t-json-ellipsis-background-color)}.t-json-container .jv-container .jv-more:after{background:var(--t-json-more-background-webkit);background:var(--t-json-more-background)}.t-json-deep-selector{margin-top:8px;width:75px;position:absolute;margin-left:-150px;font-size:var(--t-font-size);border-radius:2px;cursor:pointer;border:1px solid var(--t-json-deep-selector-border-color)}.t-json-deep-selector:focus,.t-json-deep-selector:focus-visible{outline:none}.t-window a::-moz-selection,.t-window br::-moz-selection,.t-window code::-moz-selection,.t-window div::-moz-selection,.t-window li::-moz-selection,.t-window p::-moz-selection,.t-window span::-moz-selection,.t-window td::-moz-selection,.t-window th::-moz-selection{color:var(--t-selection-font-color);background-color:var(--t-selection-background-color)}.t-window a::selection,.t-window br::selection,.t-window code::selection,.t-window div::selection,.t-window li::selection,.t-window p::selection,.t-window span::selection,.t-window td::selection,.t-window th::selection{color:var(--t-selection-font-color);background-color:var(--t-selection-background-color)}',""]),e.exports=t},5692:function(e,t,r){var n=r("c430"),i=r("c6cd");(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.21.0",mode:n?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.21.0/LICENSE",source:"https://github.com/zloirock/core-js"})},"56ef":function(e,t,r){var n=r("d066"),i=r("e330"),o=r("241c"),a=r("7418"),s=r("825a"),c=i([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=o.f(s(e)),r=a.f;return r?c(t,r(e)):t}},"577e":function(e,t,r){var n=r("da84"),i=r("f5df"),o=n.String;e.exports=function(e){if("Symbol"===i(e))throw TypeError("Cannot convert a Symbol value to a string");return o(e)}},5899:function(e,t){e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},"58a8":function(e,t,r){var n=r("e330"),i=r("1d80"),o=r("577e"),a=r("5899"),s=n("".replace),c="["+a+"]",l=RegExp("^"+c+c+"*"),u=RegExp(c+c+"*$"),f=function(e){return function(t){var r=o(i(t));return 1&e&&(r=s(r,l,"")),2&e&&(r=s(r,u,"")),r}};e.exports={start:f(1),end:f(2),trim:f(3)}},5926:function(e,t){var r=Math.ceil,n=Math.floor;e.exports=function(e){var t=+e;return t!==t||0===t?0:(t>0?n:r)(t)}},"59ed":function(e,t,r){var n=r("da84"),i=r("1626"),o=r("0d51"),a=n.TypeError;e.exports=function(e){if(i(e))return e;throw a(o(e)+" is not a function")}},"5a34":function(e,t,r){var n=r("da84"),i=r("44e7"),o=n.TypeError;e.exports=function(e){if(i(e))throw o("The method doesn't accept regular expressions");return e}},"5c6c":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"5e77":function(e,t,r){var n=r("83ab"),i=r("1a2d"),o=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,s=i(o,"name"),c=s&&"something"===function(){}.name,l=s&&(!n||n&&a(o,"name").configurable);e.exports={EXISTS:s,PROPER:c,CONFIGURABLE:l}},"605d":function(e,t,r){var n=r("c6b6"),i=r("da84");e.exports="process"==n(i.process)},6069:function(e,t){e.exports="object"==typeof window},6547:function(e,t,r){var n=r("e330"),i=r("5926"),o=r("577e"),a=r("1d80"),s=n("".charAt),c=n("".charCodeAt),l=n("".slice),u=function(e){return function(t,r){var n,u,f=o(a(t)),h=i(r),p=f.length;return h<0||h>=p?e?"":void 0:(n=c(f,h),n<55296||n>56319||h+1===p||(u=c(f,h+1))<56320||u>57343?e?s(f,h):n:e?l(f,h,h+2):u-56320+(n-55296<<10)+65536)}};e.exports={codeAt:u(!1),charAt:u(!0)}},"65f0":function(e,t,r){var n=r("0b42");e.exports=function(e,t){return new(n(e))(0===t?0:t)}},"68ee":function(e,t,r){var n=r("e330"),i=r("d039"),o=r("1626"),a=r("f5df"),s=r("d066"),c=r("8925"),l=function(){},u=[],f=s("Reflect","construct"),h=/^\s*(?:class|function)\b/,p=n(h.exec),d=!h.exec(l),m=function(e){if(!o(e))return!1;try{return f(l,u,e),!0}catch(t){return!1}},v=function(e){if(!o(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!p(h,c(e))}catch(t){return!0}};v.sham=!0,e.exports=!f||i((function(){var e;return m(m.call)||!m(Object)||!m((function(){e=!0}))||e}))?v:m},"69f3":function(e,t,r){var n,i,o,a=r("7f9a"),s=r("da84"),c=r("e330"),l=r("861d"),u=r("9112"),f=r("1a2d"),h=r("c6cd"),p=r("f772"),d=r("d012"),m="Object already initialized",v=s.TypeError,g=s.WeakMap,y=function(e){return o(e)?i(e):n(e,{})},b=function(e){return function(t){var r;if(!l(t)||(r=i(t)).type!==e)throw v("Incompatible receiver, "+e+" required");return r}};if(a||h.state){var w=h.state||(h.state=new g),x=c(w.get),S=c(w.has),_=c(w.set);n=function(e,t){if(S(w,e))throw new v(m);return t.facade=e,_(w,e,t),t},i=function(e){return x(w,e)||{}},o=function(e){return S(w,e)}}else{var P=p("state");d[P]=!0,n=function(e,t){if(f(e,P))throw new v(m);return t.facade=e,u(e,P,t),t},i=function(e){return f(e,P)?e[P]:{}},o=function(e){return f(e,P)}}e.exports={set:n,get:i,has:o,enforce:y,getterFor:b}},"6ad6":function(e,t,r){var n=r("4bad");t=n(!1),t.push([e.i,".t-editor[data-v-7bf1e77a]{width:100%;height:100%}",""]),e.exports=t},"6eeb":function(e,t,r){var n=r("da84"),i=r("1626"),o=r("1a2d"),a=r("9112"),s=r("ce4e"),c=r("8925"),l=r("69f3"),u=r("5e77").CONFIGURABLE,f=l.get,h=l.enforce,p=String(String).split("String");(e.exports=function(e,t,r,c){var l,f=!!c&&!!c.unsafe,d=!!c&&!!c.enumerable,m=!!c&&!!c.noTargetGet,v=c&&void 0!==c.name?c.name:t;i(r)&&("Symbol("===String(v).slice(0,7)&&(v="["+String(v).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!o(r,"name")||u&&r.name!==v)&&a(r,"name",v),l=h(r),l.source||(l.source=p.join("string"==typeof v?v:""))),e!==n?(f?!m&&e[t]&&(d=!0):delete e[t],d?e[t]=r:a(e,t,r)):d?e[t]=r:s(t,r)})(Function.prototype,"toString",(function(){return i(this)&&f(this).source||c(this)}))},7156:function(e,t,r){var n=r("1626"),i=r("861d"),o=r("d2bb");e.exports=function(e,t,r){var a,s;return o&&n(a=t.constructor)&&a!==r&&i(s=a.prototype)&&s!==r.prototype&&o(e,s),e}},7418:function(e,t){t.f=Object.getOwnPropertySymbols},"746f":function(e,t,r){var n=r("428f"),i=r("1a2d"),o=r("e538"),a=r("9bf2").f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});i(t,e)||a(t,e,{value:o.f(e)})}},7839:function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"785a":function(e,t,r){var n=r("cc12"),i=n("span").classList,o=i&&i.constructor&&i.constructor.prototype;e.exports=o===Object.prototype?void 0:o},"7b0b":function(e,t,r){var n=r("da84"),i=r("1d80"),o=n.Object;e.exports=function(e){return o(i(e))}},"7c73":function(e,t,r){var n,i=r("825a"),o=r("37e8"),a=r("7839"),s=r("d012"),c=r("1be4"),l=r("cc12"),u=r("f772"),f=">",h="<",p="prototype",d="script",m=u("IE_PROTO"),v=function(){},g=function(e){return h+d+f+e+h+"/"+d+f},y=function(e){e.write(g("")),e.close();var t=e.parentWindow.Object;return e=null,t},b=function(){var e,t=l("iframe"),r="java"+d+":";return t.style.display="none",c.appendChild(t),t.src=String(r),e=t.contentWindow.document,e.open(),e.write(g("document.F=Object")),e.close(),e.F},w=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}w="undefined"!=typeof document?document.domain&&n?y(n):b():y(n);var e=a.length;while(e--)delete w[p][a[e]];return w()};s[m]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(v[p]=i(e),r=new v,v[p]=null,r[m]=e):r=w(),void 0===t?r:o.f(r,t)}},"7dd0":function(e,t,r){"use strict";var n=r("23e7"),i=r("c65b"),o=r("c430"),a=r("5e77"),s=r("1626"),c=r("9ed3"),l=r("e163"),u=r("d2bb"),f=r("d44e"),h=r("9112"),p=r("6eeb"),d=r("b622"),m=r("3f8c"),v=r("ae93"),g=a.PROPER,y=a.CONFIGURABLE,b=v.IteratorPrototype,w=v.BUGGY_SAFARI_ITERATORS,x=d("iterator"),S="keys",_="values",P="entries",E=function(){return this};e.exports=function(e,t,r,a,d,v,k){c(r,t,a);var C,j,O,I=function(e){if(e===d&&$)return $;if(!w&&e in F)return F[e];switch(e){case S:return function(){return new r(this,e)};case _:return function(){return new r(this,e)};case P:return function(){return new r(this,e)}}return function(){return new r(this)}},A=t+" Iterator",R=!1,F=e.prototype,D=F[x]||F["@@iterator"]||d&&F[d],$=!w&&D||I(d),L="Array"==t&&F.entries||D;if(L&&(C=l(L.call(new e)),C!==Object.prototype&&C.next&&(o||l(C)===b||(u?u(C,b):s(C[x])||p(C,x,E)),f(C,A,!0,!0),o&&(m[A]=E))),g&&d==_&&D&&D.name!==_&&(!o&&y?h(F,"name",_):(R=!0,$=function(){return i(D,this)})),d)if(j={values:I(_),keys:v?$:I(S),entries:I(P)},k)for(O in j)(w||R||!(O in F))&&p(F,O,j[O]);else n({target:t,proto:!0,forced:w||R},j);return o&&!k||F[x]===$||p(F,x,$,{name:d}),m[t]=$,j}},"7f9a":function(e,t,r){var n=r("da84"),i=r("1626"),o=r("8925"),a=n.WeakMap;e.exports=i(a)&&/native code/.test(o(a))},"825a":function(e,t,r){var n=r("da84"),i=r("861d"),o=n.String,a=n.TypeError;e.exports=function(e){if(i(e))return e;throw a(o(e)+" is not an object")}},"83ab":function(e,t,r){var n=r("d039");e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8418:function(e,t,r){"use strict";var n=r("a04b"),i=r("9bf2"),o=r("5c6c");e.exports=function(e,t,r){var a=n(t);a in e?i.f(e,a,o(0,r)):e[a]=r}},8508:function(e,t,r){"use strict";r("2d99")},"861d":function(e,t,r){var n=r("1626");e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},8875:function(e,t,r){var n,i,o;(function(r,a){i=[],n=a,o="function"===typeof n?n.apply(t,i):n,void 0===o||(e.exports=o)})("undefined"!==typeof self&&self,(function(){function e(){var t=Object.getOwnPropertyDescriptor(document,"currentScript");if(!t&&"currentScript"in document&&document.currentScript)return document.currentScript;if(t&&t.get!==e&&document.currentScript)return document.currentScript;try{throw new Error}catch(p){var r,n,i,o=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,a=/@([^@]*):(\d+):(\d+)\s*$/gi,s=o.exec(p.stack)||a.exec(p.stack),c=s&&s[1]||!1,l=s&&s[2]||!1,u=document.location.href.replace(document.location.hash,""),f=document.getElementsByTagName("script");c===u&&(r=document.documentElement.outerHTML,n=new RegExp("(?:[^\\n]+?\\n){0,"+(l-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),i=r.replace(n,"$1").trim());for(var h=0;h<f.length;h++){if("interactive"===f[h].readyState)return f[h];if(f[h].src===c)return f[h];if(c===u&&f[h].innerHTML&&f[h].innerHTML.trim()===i)return f[h]}return null}}return e}))},8925:function(e,t,r){var n=r("e330"),i=r("1626"),o=r("c6cd"),a=n(Function.toString);i(o.inspectSource)||(o.inspectSource=function(e){return a(e)}),e.exports=o.inspectSource},"8a79":function(e,t,r){"use strict";var n=r("23e7"),i=r("e330"),o=r("06cf").f,a=r("50c4"),s=r("577e"),c=r("5a34"),l=r("1d80"),u=r("ab13"),f=r("c430"),h=i("".endsWith),p=i("".slice),d=Math.min,m=u("endsWith"),v=!f&&!m&&!!function(){var e=o(String.prototype,"endsWith");return e&&!e.writable}();n({target:"String",proto:!0,forced:!v&&!m},{endsWith:function(e){var t=s(l(this));c(e);var r=arguments.length>1?arguments[1]:void 0,n=t.length,i=void 0===r?n:d(a(r),n),o=s(e);return h?h(t,o,i):p(t,i-o.length,i)===o}})},"8aa5":function(e,t,r){"use strict";var n=r("6547").charAt;e.exports=function(e,t,r){return t+(r?n(e,t).length:1)}},"8bbf":function(t,r){t.exports=e},"90e3":function(e,t,r){var n=r("e330"),i=0,o=Math.random(),a=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++i+o,36)}},9112:function(e,t,r){var n=r("83ab"),i=r("9bf2"),o=r("5c6c");e.exports=n?function(e,t,r){return i.f(e,t,o(1,r))}:function(e,t,r){return e[t]=r,e}},9263:function(e,t,r){"use strict";var n=r("c65b"),i=r("e330"),o=r("577e"),a=r("ad6d"),s=r("9f7f"),c=r("5692"),l=r("7c73"),u=r("69f3").get,f=r("fce3"),h=r("107c"),p=c("native-string-replace",String.prototype.replace),d=RegExp.prototype.exec,m=d,v=i("".charAt),g=i("".indexOf),y=i("".replace),b=i("".slice),w=function(){var e=/a/,t=/b*/g;return n(d,e,"a"),n(d,t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),x=s.BROKEN_CARET,S=void 0!==/()??/.exec("")[1],_=w||S||x||f||h;_&&(m=function(e){var t,r,i,s,c,f,h,_=this,P=u(_),E=o(e),k=P.raw;if(k)return k.lastIndex=_.lastIndex,t=n(m,k,E),_.lastIndex=k.lastIndex,t;var C=P.groups,j=x&&_.sticky,O=n(a,_),I=_.source,A=0,R=E;if(j&&(O=y(O,"y",""),-1===g(O,"g")&&(O+="g"),R=b(E,_.lastIndex),_.lastIndex>0&&(!_.multiline||_.multiline&&"\n"!==v(E,_.lastIndex-1))&&(I="(?: "+I+")",R=" "+R,A++),r=new RegExp("^(?:"+I+")",O)),S&&(r=new RegExp("^"+I+"$(?!\\s)",O)),w&&(i=_.lastIndex),s=n(d,j?r:_,R),j?s?(s.input=b(s.input,A),s[0]=b(s[0],A),s.index=_.lastIndex,_.lastIndex+=s[0].length):_.lastIndex=0:w&&s&&(_.lastIndex=_.global?s.index+s[0].length:i),S&&s&&s.length>1&&n(p,s[0],r,(function(){for(c=1;c<arguments.length-2;c++)void 0===arguments[c]&&(s[c]=void 0)})),s&&C)for(s.groups=f=l(null),c=0;c<C.length;c++)h=C[c],f[h[0]]=s[h[1]];return s}),e.exports=m},"94ca":function(e,t,r){var n=r("d039"),i=r("1626"),o=/#|\.prototype\./,a=function(e,t){var r=c[s(e)];return r==u||r!=l&&(i(t)?n(t):!!t)},s=a.normalize=function(e){return String(e).replace(o,".").toLowerCase()},c=a.data={},l=a.NATIVE="N",u=a.POLYFILL="P";e.exports=a},"989b":function(e,t,r){var n=r("aa9e");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=r("499e").default;i("5a06100a",n,!0,{sourceMap:!1,shadowMode:!1})},"99af":function(e,t,r){"use strict";var n=r("23e7"),i=r("da84"),o=r("d039"),a=r("e8b5"),s=r("861d"),c=r("7b0b"),l=r("07fa"),u=r("8418"),f=r("65f0"),h=r("1dde"),p=r("b622"),d=r("2d00"),m=p("isConcatSpreadable"),v=9007199254740991,g="Maximum allowed index exceeded",y=i.TypeError,b=d>=51||!o((function(){var e=[];return e[m]=!1,e.concat()[0]!==e})),w=h("concat"),x=function(e){if(!s(e))return!1;var t=e[m];return void 0!==t?!!t:a(e)},S=!b||!w;n({target:"Array",proto:!0,forced:S},{concat:function(e){var t,r,n,i,o,a=c(this),s=f(a,0),h=0;for(t=-1,n=arguments.length;t<n;t++)if(o=-1===t?a:arguments[t],x(o)){if(i=l(o),h+i>v)throw y(g);for(r=0;r<i;r++,h++)r in o&&u(s,h,o[r])}else{if(h>=v)throw y(g);u(s,h++,o)}return s.length=h,s}})},"9a1f":function(e,t,r){var n=r("da84"),i=r("c65b"),o=r("59ed"),a=r("825a"),s=r("0d51"),c=r("35a1"),l=n.TypeError;e.exports=function(e,t){var r=arguments.length<2?c(e):t;if(o(r))return a(i(r,e));throw l(s(e)+" is not iterable")}},"9bdd":function(e,t,r){var n=r("825a"),i=r("2a62");e.exports=function(e,t,r,o){try{return o?t(n(r)[0],r[1]):t(r)}catch(a){i(e,"throw",a)}}},"9bf2":function(e,t,r){var n=r("da84"),i=r("83ab"),o=r("0cfb"),a=r("aed9"),s=r("825a"),c=r("a04b"),l=n.TypeError,u=Object.defineProperty,f=Object.getOwnPropertyDescriptor,h="enumerable",p="configurable",d="writable";t.f=i?a?function(e,t,r){if(s(e),t=c(t),s(r),"function"===typeof e&&"prototype"===t&&"value"in r&&d in r&&!r[d]){var n=f(e,t);n&&n[d]&&(e[t]=r.value,r={configurable:p in r?r[p]:n[p],enumerable:h in r?r[h]:n[h],writable:!1})}return u(e,t,r)}:u:function(e,t,r){if(s(e),t=c(t),s(r),o)try{return u(e,t,r)}catch(n){}if("get"in r||"set"in r)throw l("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},"9ed3":function(e,t,r){"use strict";var n=r("ae93").IteratorPrototype,i=r("7c73"),o=r("5c6c"),a=r("d44e"),s=r("3f8c"),c=function(){return this};e.exports=function(e,t,r,l){var u=t+" Iterator";return e.prototype=i(n,{next:o(+!l,r)}),a(e,u,!1,!0),s[u]=c,e}},"9f7f":function(e,t,r){var n=r("d039"),i=r("da84"),o=i.RegExp,a=n((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),s=a||n((function(){return!o("a","y").sticky})),c=a||n((function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));e.exports={BROKEN_CARET:c,MISSED_STICKY:s,UNSUPPORTED_Y:a}},a04b:function(e,t,r){var n=r("c04e"),i=r("d9b5");e.exports=function(e){var t=n(e,"string");return i(t)?t:t+""}},a15b:function(e,t,r){"use strict";var n=r("23e7"),i=r("e330"),o=r("44ad"),a=r("fc6a"),s=r("a640"),c=i([].join),l=o!=Object,u=s("join",",");n({target:"Array",proto:!0,forced:l||!u},{join:function(e){return c(a(this),void 0===e?",":e)}})},a434:function(e,t,r){"use strict";var n=r("23e7"),i=r("da84"),o=r("23cb"),a=r("5926"),s=r("07fa"),c=r("7b0b"),l=r("65f0"),u=r("8418"),f=r("1dde"),h=f("splice"),p=i.TypeError,d=Math.max,m=Math.min,v=9007199254740991,g="Maximum allowed length exceeded";n({target:"Array",proto:!0,forced:!h},{splice:function(e,t){var r,n,i,f,h,y,b=c(this),w=s(b),x=o(e,w),S=arguments.length;if(0===S?r=n=0:1===S?(r=0,n=w-x):(r=S-2,n=m(d(a(t),0),w-x)),w+r-n>v)throw p(g);for(i=l(b,n),f=0;f<n;f++)h=x+f,h in b&&u(i,f,b[h]);if(i.length=n,r<n){for(f=x;f<w-n;f++)h=f+n,y=f+r,h in b?b[y]=b[h]:delete b[y];for(f=w;f>w-n+r;f--)delete b[f-1]}else if(r>n)for(f=w-n;f>x;f--)h=f+n-1,y=f+r-1,h in b?b[y]=b[h]:delete b[y];for(f=0;f<r;f++)b[f+x]=arguments[f+2];return b.length=w-n+r,i}})},a4b4:function(e,t,r){var n=r("342f");e.exports=/web0s(?!.*chrome)/i.test(n)},a4d3:function(e,t,r){"use strict";var n=r("23e7"),i=r("da84"),o=r("d066"),a=r("2ba4"),s=r("c65b"),c=r("e330"),l=r("c430"),u=r("83ab"),f=r("4930"),h=r("d039"),p=r("1a2d"),d=r("e8b5"),m=r("1626"),v=r("861d"),g=r("3a9b"),y=r("d9b5"),b=r("825a"),w=r("7b0b"),x=r("fc6a"),S=r("a04b"),_=r("577e"),P=r("5c6c"),E=r("7c73"),k=r("df75"),C=r("241c"),j=r("057f"),O=r("7418"),I=r("06cf"),A=r("9bf2"),R=r("37e8"),F=r("d1e7"),D=r("f36a"),$=r("6eeb"),L=r("5692"),M=r("f772"),T=r("d012"),N=r("90e3"),z=r("b622"),V=r("e538"),B=r("746f"),U=r("d44e"),q=r("69f3"),H=r("b727").forEach,W=M("hidden"),G="Symbol",K="prototype",Q=z("toPrimitive"),J=q.set,Y=q.getterFor(G),X=Object[K],Z=i.Symbol,ee=Z&&Z[K],te=i.TypeError,re=i.QObject,ne=o("JSON","stringify"),ie=I.f,oe=A.f,ae=j.f,se=F.f,ce=c([].push),le=L("symbols"),ue=L("op-symbols"),fe=L("string-to-symbol-registry"),he=L("symbol-to-string-registry"),pe=L("wks"),de=!re||!re[K]||!re[K].findChild,me=u&&h((function(){return 7!=E(oe({},"a",{get:function(){return oe(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=ie(X,t);n&&delete X[t],oe(e,t,r),n&&e!==X&&oe(X,t,n)}:oe,ve=function(e,t){var r=le[e]=E(ee);return J(r,{type:G,tag:e,description:t}),u||(r.description=t),r},ge=function(e,t,r){e===X&&ge(ue,t,r),b(e);var n=S(t);return b(r),p(le,n)?(r.enumerable?(p(e,W)&&e[W][n]&&(e[W][n]=!1),r=E(r,{enumerable:P(0,!1)})):(p(e,W)||oe(e,W,P(1,{})),e[W][n]=!0),me(e,n,r)):oe(e,n,r)},ye=function(e,t){b(e);var r=x(t),n=k(r).concat(_e(r));return H(n,(function(t){u&&!s(we,r,t)||ge(e,t,r[t])})),e},be=function(e,t){return void 0===t?E(e):ye(E(e),t)},we=function(e){var t=S(e),r=s(se,this,t);return!(this===X&&p(le,t)&&!p(ue,t))&&(!(r||!p(this,t)||!p(le,t)||p(this,W)&&this[W][t])||r)},xe=function(e,t){var r=x(e),n=S(t);if(r!==X||!p(le,n)||p(ue,n)){var i=ie(r,n);return!i||!p(le,n)||p(r,W)&&r[W][n]||(i.enumerable=!0),i}},Se=function(e){var t=ae(x(e)),r=[];return H(t,(function(e){p(le,e)||p(T,e)||ce(r,e)})),r},_e=function(e){var t=e===X,r=ae(t?ue:x(e)),n=[];return H(r,(function(e){!p(le,e)||t&&!p(X,e)||ce(n,le[e])})),n};if(f||(Z=function(){if(g(ee,this))throw te("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?_(arguments[0]):void 0,t=N(e),r=function(e){this===X&&s(r,ue,e),p(this,W)&&p(this[W],t)&&(this[W][t]=!1),me(this,t,P(1,e))};return u&&de&&me(X,t,{configurable:!0,set:r}),ve(t,e)},ee=Z[K],$(ee,"toString",(function(){return Y(this).tag})),$(Z,"withoutSetter",(function(e){return ve(N(e),e)})),F.f=we,A.f=ge,R.f=ye,I.f=xe,C.f=j.f=Se,O.f=_e,V.f=function(e){return ve(z(e),e)},u&&(oe(ee,"description",{configurable:!0,get:function(){return Y(this).description}}),l||$(X,"propertyIsEnumerable",we,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!f,sham:!f},{Symbol:Z}),H(k(pe),(function(e){B(e)})),n({target:G,stat:!0,forced:!f},{for:function(e){var t=_(e);if(p(fe,t))return fe[t];var r=Z(t);return fe[t]=r,he[r]=t,r},keyFor:function(e){if(!y(e))throw te(e+" is not a symbol");if(p(he,e))return he[e]},useSetter:function(){de=!0},useSimple:function(){de=!1}}),n({target:"Object",stat:!0,forced:!f,sham:!u},{create:be,defineProperty:ge,defineProperties:ye,getOwnPropertyDescriptor:xe}),n({target:"Object",stat:!0,forced:!f},{getOwnPropertyNames:Se,getOwnPropertySymbols:_e}),n({target:"Object",stat:!0,forced:h((function(){O.f(1)}))},{getOwnPropertySymbols:function(e){return O.f(w(e))}}),ne){var Pe=!f||h((function(){var e=Z();return"[null]"!=ne([e])||"{}"!=ne({a:e})||"{}"!=ne(Object(e))}));n({target:"JSON",stat:!0,forced:Pe},{stringify:function(e,t,r){var n=D(arguments),i=t;if((v(t)||void 0!==e)&&!y(e))return d(t)||(t=function(e,t){if(m(i)&&(t=s(i,this,e,t)),!y(t))return t}),n[1]=t,a(ne,null,n)}})}if(!ee[Q]){var Ee=ee.valueOf;$(ee,Q,(function(e){return s(Ee,this)}))}U(Z,G),T[W]=!0},a630:function(e,t,r){var n=r("23e7"),i=r("4df4"),o=r("1c7e"),a=!o((function(e){Array.from(e)}));n({target:"Array",stat:!0,forced:a},{from:i})},a640:function(e,t,r){"use strict";var n=r("d039");e.exports=function(e,t){var r=[][e];return!!r&&n((function(){r.call(null,t||function(){throw 1},1)}))}},a9e3:function(e,t,r){"use strict";var n=r("83ab"),i=r("da84"),o=r("e330"),a=r("94ca"),s=r("6eeb"),c=r("1a2d"),l=r("7156"),u=r("3a9b"),f=r("d9b5"),h=r("c04e"),p=r("d039"),d=r("241c").f,m=r("06cf").f,v=r("9bf2").f,g=r("408a"),y=r("58a8").trim,b="Number",w=i[b],x=w.prototype,S=i.TypeError,_=o("".slice),P=o("".charCodeAt),E=function(e){var t=h(e,"number");return"bigint"==typeof t?t:k(t)},k=function(e){var t,r,n,i,o,a,s,c,l=h(e,"number");if(f(l))throw S("Cannot convert a Symbol value to a number");if("string"==typeof l&&l.length>2)if(l=y(l),t=P(l,0),43===t||45===t){if(r=P(l,2),88===r||120===r)return NaN}else if(48===t){switch(P(l,1)){case 66:case 98:n=2,i=49;break;case 79:case 111:n=8,i=55;break;default:return+l}for(o=_(l,2),a=o.length,s=0;s<a;s++)if(c=P(o,s),c<48||c>i)return NaN;return parseInt(o,n)}return+l};if(a(b,!w(" 0o1")||!w("0b1")||w("+0x1"))){for(var C,j=function(e){var t=arguments.length<1?0:w(E(e)),r=this;return u(x,r)&&p((function(){g(r)}))?l(Object(t),r,j):t},O=n?d(w):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),I=0;O.length>I;I++)c(w,C=O[I])&&!c(j,C)&&v(j,C,m(w,C));j.prototype=x,x.constructor=j,s(i,b,j)}},aa9e:function(e,t,r){var n=r("4bad");t=n(!1),t.push([e.i,".t-cmd-tips-items::-webkit-scrollbar,.t-code::-webkit-scrollbar,.t-text-editor::-webkit-scrollbar,.t-vue-codemirror .vue-codemirror .CodeMirror .CodeMirror-hscrollbar::-webkit-scrollbar,.t-window::-webkit-scrollbar,.t-window pre::-webkit-scrollbar{width:8px;height:8px}.t-cmd-tips-items::-webkit-scrollbar-button,.t-code::-webkit-scrollbar-button,.t-text-editor::-webkit-scrollbar-button,.t-vue-codemirror .vue-codemirror .CodeMirror .CodeMirror-hscrollbar::-webkit-scrollbar-button,.t-window::-webkit-scrollbar-button,.t-window pre::-webkit-scrollbar-button{width:0;height:0;display:none}.t-cmd-tips-items::-webkit-scrollbar-thumb,.t-code::-webkit-scrollbar-thumb,.t-text-editor::-webkit-scrollbar-thumb,.t-vue-codemirror .vue-codemirror .CodeMirror .CodeMirror-hscrollbar::-webkit-scrollbar-thumb,.t-window::-webkit-scrollbar-thumb,.t-window pre::-webkit-scrollbar-thumb{border-radius:6px;border-style:dashed;border-color:transparent;border-width:2px;background-color:rgba(157,165,183,.4);background-clip:padding-box}.t-cmd-tips-items::-webkit-scrollbar-thumb:hover,.t-code::-webkit-scrollbar-thumb:hover,.t-text-editor::-webkit-scrollbar-thumb:hover,.t-vue-codemirror .vue-codemirror .CodeMirror .CodeMirror-hscrollbar::-webkit-scrollbar-thumb:hover,.t-window::-webkit-scrollbar-thumb:hover,.t-window pre::-webkit-scrollbar-thumb:hover{background:rgba(157,165,183,.7);cursor:pointer}.t-cmd-tips-items::-webkit-scrollbar-track,.t-code::-webkit-scrollbar-track,.t-text-editor::-webkit-scrollbar-track,.t-vue-codemirror .vue-codemirror .CodeMirror .CodeMirror-hscrollbar::-webkit-scrollbar-track,.t-window::-webkit-scrollbar-track,.t-window pre::-webkit-scrollbar-track{border-radius:6px}",""]),e.exports=t},ab13:function(e,t,r){var n=r("b622"),i=n("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[i]=!1,"/./"[e](t)}catch(n){}}return!1}},ab36:function(e,t,r){var n=r("861d"),i=r("9112");e.exports=function(e,t){n(t)&&"cause"in t&&i(e,"cause",t.cause)}},ac1f:function(e,t,r){"use strict";var n=r("23e7"),i=r("9263");n({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},ad6d:function(e,t,r){"use strict";var n=r("825a");e.exports=function(){var e=n(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},addb:function(e,t,r){var n=r("4dae"),i=Math.floor,o=function(e,t){var r=e.length,c=i(r/2);return r<8?a(e,t):s(e,o(n(e,0,c),t),o(n(e,c),t),t)},a=function(e,t){var r,n,i=e.length,o=1;while(o<i){n=o,r=e[o];while(n&&t(e[n-1],r)>0)e[n]=e[--n];n!==o++&&(e[n]=r)}return e},s=function(e,t,r,n){var i=t.length,o=r.length,a=0,s=0;while(a<i||s<o)e[a+s]=a<i&&s<o?n(t[a],r[s])<=0?t[a++]:r[s++]:a<i?t[a++]:r[s++];return e};e.exports=o},ae93:function(e,t,r){"use strict";var n,i,o,a=r("d039"),s=r("1626"),c=r("7c73"),l=r("e163"),u=r("6eeb"),f=r("b622"),h=r("c430"),p=f("iterator"),d=!1;[].keys&&(o=[].keys(),"next"in o?(i=l(l(o)),i!==Object.prototype&&(n=i)):d=!0);var m=void 0==n||a((function(){var e={};return n[p].call(e)!==e}));m?n={}:h&&(n=c(n)),s(n[p])||u(n,p,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:d}},aed9:function(e,t,r){var n=r("83ab"),i=r("d039");e.exports=n&&i((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},b041:function(e,t,r){"use strict";var n=r("00ee"),i=r("f5df");e.exports=n?{}.toString:function(){return"[object "+i(this)+"]"}},b0c0:function(e,t,r){var n=r("83ab"),i=r("5e77").EXISTS,o=r("e330"),a=r("9bf2").f,s=Function.prototype,c=o(s.toString),l=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,u=o(l.exec),f="name";n&&!i&&a(s,f,{configurable:!0,get:function(){try{return u(l,c(this))[1]}catch(e){return""}}})},b311:function(e,t,r){
|
|
68
|
-
/*!
|
|
69
|
-
* clipboard.js v2.0.10
|
|
70
|
-
* https://clipboardjs.com/
|
|
71
|
-
*
|
|
72
|
-
* Licensed MIT © Zeno Rocha
|
|
73
|
-
*/
|
|
74
|
-
(function(t,r){e.exports=r()})(0,(function(){return function(){var e={686:function(e,t,r){"use strict";r.d(t,{default:function(){return A}});var n=r(279),i=r.n(n),o=r(370),a=r.n(o),s=r(817),c=r.n(s);function l(e){try{return document.execCommand(e)}catch(t){return!1}}var u=function(e){var t=c()(e);return l("cut"),t},f=u;function h(e){var t="rtl"===document.documentElement.getAttribute("dir"),r=document.createElement("textarea");r.style.fontSize="12pt",r.style.border="0",r.style.padding="0",r.style.margin="0",r.style.position="absolute",r.style[t?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;return r.style.top="".concat(n,"px"),r.setAttribute("readonly",""),r.value=e,r}var p=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body},r="";if("string"===typeof e){var n=h(e);t.container.appendChild(n),r=c()(n),l("copy"),n.remove()}else r=c()(e),l("copy");return r},d=p;function m(e){return m="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},m(e)}var v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.action,r=void 0===t?"copy":t,n=e.container,i=e.target,o=e.text;if("copy"!==r&&"cut"!==r)throw new Error('Invalid "action" value, use either "copy" or "cut"');if(void 0!==i){if(!i||"object"!==m(i)||1!==i.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===r&&i.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===r&&(i.hasAttribute("readonly")||i.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes')}return o?d(o,{container:n}):i?"cut"===r?f(i):d(i,{container:n}):void 0},g=v;function y(e){return y="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},y(e)}function b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function x(e,t,r){return t&&w(e.prototype,t),r&&w(e,r),e}function S(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_(e,t)}function _(e,t){return _=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},_(e,t)}function P(e){var t=C();return function(){var r,n=j(e);if(t){var i=j(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return E(this,r)}}function E(e,t){return!t||"object"!==y(t)&&"function"!==typeof t?k(e):t}function k(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C(){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(e){return!1}}function j(e){return j=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},j(e)}function O(e,t){var r="data-clipboard-".concat(e);if(t.hasAttribute(r))return t.getAttribute(r)}var I=function(e){S(r,e);var t=P(r);function r(e,n){var i;return b(this,r),i=t.call(this),i.resolveOptions(n),i.listenClick(e),i}return x(r,[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"===typeof e.action?e.action:this.defaultAction,this.target="function"===typeof e.target?e.target:this.defaultTarget,this.text="function"===typeof e.text?e.text:this.defaultText,this.container="object"===y(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=a()(e,"click",(function(e){return t.onClick(e)}))}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget,r=this.action(t)||"copy",n=g({action:r,container:this.container,target:this.target(t),text:this.text(t)});this.emit(n?"success":"error",{action:r,text:n,trigger:t,clearSelection:function(){t&&t.focus(),document.activeElement.blur(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(e){return O("action",e)}},{key:"defaultTarget",value:function(e){var t=O("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return O("text",e)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body};return d(e,t)}},{key:"cut",value:function(e){return f(e)}},{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"===typeof e?[e]:e,r=!!document.queryCommandSupported;return t.forEach((function(e){r=r&&!!document.queryCommandSupported(e)})),r}}]),r}(i()),A=I},828:function(e){var t=9;if("undefined"!==typeof Element&&!Element.prototype.matches){var r=Element.prototype;r.matches=r.matchesSelector||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector||r.webkitMatchesSelector}function n(e,r){while(e&&e.nodeType!==t){if("function"===typeof e.matches&&e.matches(r))return e;e=e.parentNode}}e.exports=n},438:function(e,t,r){var n=r(828);function i(e,t,r,n,i){var o=a.apply(this,arguments);return e.addEventListener(r,o,i),{destroy:function(){e.removeEventListener(r,o,i)}}}function o(e,t,r,n,o){return"function"===typeof e.addEventListener?i.apply(null,arguments):"function"===typeof r?i.bind(null,document).apply(null,arguments):("string"===typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,(function(e){return i(e,t,r,n,o)})))}function a(e,t,r,i){return function(r){r.delegateTarget=n(r.target,t),r.delegateTarget&&i.call(e,r)}}e.exports=o},879:function(e,t){t.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},t.nodeList=function(e){var r=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===r||"[object HTMLCollection]"===r)&&"length"in e&&(0===e.length||t.node(e[0]))},t.string=function(e){return"string"===typeof e||e instanceof String},t.fn=function(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t}},370:function(e,t,r){var n=r(879),i=r(438);function o(e,t,r){if(!e&&!t&&!r)throw new Error("Missing required arguments");if(!n.string(t))throw new TypeError("Second argument must be a String");if(!n.fn(r))throw new TypeError("Third argument must be a Function");if(n.node(e))return a(e,t,r);if(n.nodeList(e))return s(e,t,r);if(n.string(e))return c(e,t,r);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function a(e,t,r){return e.addEventListener(t,r),{destroy:function(){e.removeEventListener(t,r)}}}function s(e,t,r){return Array.prototype.forEach.call(e,(function(e){e.addEventListener(t,r)})),{destroy:function(){Array.prototype.forEach.call(e,(function(e){e.removeEventListener(t,r)}))}}}function c(e,t,r){return i(document.body,e,t,r)}e.exports=o},817:function(e){function t(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var r=e.hasAttribute("readonly");r||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),r||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var n=window.getSelection(),i=document.createRange();i.selectNodeContents(e),n.removeAllRanges(),n.addRange(i),t=n.toString()}return t}e.exports=t},279:function(e){function t(){}t.prototype={on:function(e,t,r){var n=this.e||(this.e={});return(n[e]||(n[e]=[])).push({fn:t,ctx:r}),this},once:function(e,t,r){var n=this;function i(){n.off(e,i),t.apply(r,arguments)}return i._=t,this.on(e,i,r)},emit:function(e){var t=[].slice.call(arguments,1),r=((this.e||(this.e={}))[e]||[]).slice(),n=0,i=r.length;for(n;n<i;n++)r[n].fn.apply(r[n].ctx,t);return this},off:function(e,t){var r=this.e||(this.e={}),n=r[e],i=[];if(n&&t)for(var o=0,a=n.length;o<a;o++)n[o].fn!==t&&n[o].fn._!==t&&i.push(n[o]);return i.length?r[e]=i:delete r[e],this}},e.exports=t,e.exports.TinyEmitter=t}},t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}return function(){r.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return r.d(t,{a:t}),t}}(),function(){r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}}(),function(){r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),r(686)}().default}))},b575:function(e,t,r){var n,i,o,a,s,c,l,u,f=r("da84"),h=r("0366"),p=r("06cf").f,d=r("2cf4").set,m=r("1cdc"),v=r("d4c3"),g=r("a4b4"),y=r("605d"),b=f.MutationObserver||f.WebKitMutationObserver,w=f.document,x=f.process,S=f.Promise,_=p(f,"queueMicrotask"),P=_&&_.value;P||(n=function(){var e,t;y&&(e=x.domain)&&e.exit();while(i){t=i.fn,i=i.next;try{t()}catch(r){throw i?a():o=void 0,r}}o=void 0,e&&e.enter()},m||y||g||!b||!w?!v&&S&&S.resolve?(l=S.resolve(void 0),l.constructor=S,u=h(l.then,l),a=function(){u(n)}):y?a=function(){x.nextTick(n)}:(d=h(d,f),a=function(){d(n)}):(s=!0,c=w.createTextNode(""),new b(n).observe(c,{characterData:!0}),a=function(){c.data=s=!s})),e.exports=P||function(e){var t={fn:e,next:void 0};o&&(o.next=t),i||(i=t,a()),o=t}},b622:function(e,t,r){var n=r("da84"),i=r("5692"),o=r("1a2d"),a=r("90e3"),s=r("4930"),c=r("fdbf"),l=i("wks"),u=n.Symbol,f=u&&u["for"],h=c?u:u&&u.withoutSetter||a;e.exports=function(e){if(!o(l,e)||!s&&"string"!=typeof l[e]){var t="Symbol."+e;s&&o(u,e)?l[e]=u[e]:l[e]=c&&f?f(t):h(t)}return l[e]}},b64b:function(e,t,r){var n=r("23e7"),i=r("7b0b"),o=r("df75"),a=r("d039"),s=a((function(){o(1)}));n({target:"Object",stat:!0,forced:s},{keys:function(e){return o(i(e))}})},b727:function(e,t,r){var n=r("0366"),i=r("e330"),o=r("44ad"),a=r("7b0b"),s=r("07fa"),c=r("65f0"),l=i([].push),u=function(e){var t=1==e,r=2==e,i=3==e,u=4==e,f=6==e,h=7==e,p=5==e||f;return function(d,m,v,g){for(var y,b,w=a(d),x=o(w),S=n(m,v),_=s(x),P=0,E=g||c,k=t?E(d,_):r||h?E(d,0):void 0;_>P;P++)if((p||P in x)&&(y=x[P],b=S(y,P,w),e))if(t)k[P]=b;else if(b)switch(e){case 3:return!0;case 5:return y;case 6:return P;case 2:l(k,y)}else switch(e){case 4:return!1;case 7:l(k,y)}return f?-1:i||u?u:k}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)}},b980:function(e,t,r){var n=r("d039"),i=r("5c6c");e.exports=!n((function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",i(1,7)),7!==e.stack)}))},c04e:function(e,t,r){var n=r("da84"),i=r("c65b"),o=r("861d"),a=r("d9b5"),s=r("dc4a"),c=r("485a"),l=r("b622"),u=n.TypeError,f=l("toPrimitive");e.exports=function(e,t){if(!o(e)||a(e))return e;var r,n=s(e,f);if(n){if(void 0===t&&(t="default"),r=i(n,e,t),!o(r)||a(r))return r;throw u("Can't convert object to primitive value")}return void 0===t&&(t="number"),c(e,t)}},c430:function(e,t){e.exports=!1},c4f4:function(e,t,r){var n=r("4bad");t=n(!1),t.push([e.i,'.jv-node{position:relative}.jv-node:after{content:","}.jv-node:last-of-type:after{content:""}.jv-node.toggle{margin-left:13px!important}.jv-node .jv-node{margin-left:25px}.jv-container{box-sizing:border-box;position:relative}.jv-container.boxed{border:1px solid #eee;border-radius:6px}.jv-container.boxed:hover{box-shadow:0 2px 7px rgba(0,0,0,.15);border-color:transparent;position:relative}.jv-container.jv-light{background:#fff;white-space:nowrap;color:#525252;font-size:14px;font-family:Consolas,Menlo,Courier,monospace}.jv-container.jv-light .jv-ellipsis{color:#999;background-color:#eee;display:inline-block;line-height:.9;font-size:.9em;padding:0 4px 2px;margin:0 4px;border-radius:3px;vertical-align:2px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.jv-container.jv-light .jv-button{color:#49b3ff}.jv-container.jv-light .jv-key{color:#111;margin-right:4px}.jv-container.jv-light .jv-item.jv-array{color:#111}.jv-container.jv-light .jv-item.jv-boolean{color:#fc1e70}.jv-container.jv-light .jv-item.jv-function{color:#067bca}.jv-container.jv-light .jv-item.jv-number{color:#fc1e70}.jv-container.jv-light .jv-item.jv-object{color:#111}.jv-container.jv-light .jv-item.jv-undefined{color:#e08331}.jv-container.jv-light .jv-item.jv-string{color:#42b983;word-break:break-word;white-space:normal}.jv-container.jv-light .jv-item.jv-string .jv-link{color:#0366d6}.jv-container.jv-light .jv-code .jv-toggle:before{padding:0 2px;border-radius:2px}.jv-container.jv-light .jv-code .jv-toggle:hover:before{background:#eee}.jv-container .jv-code{overflow:hidden;padding:30px 20px}.jv-container .jv-code.boxed{max-height:300px}.jv-container .jv-code.open{max-height:none!important;overflow:visible;overflow-x:auto;padding-bottom:45px}.jv-container .jv-toggle{background-image:url(data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjE2IiB3aWR0aD0iOCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsPSIjNjY2IiBkPSJNMCAwbDggOC04IDh6Ii8+PC9zdmc+);background-repeat:no-repeat;background-size:contain;background-position:50%;cursor:pointer;width:10px;height:10px;margin-right:2px;display:inline-block;transition:transform .1s}.jv-container .jv-toggle.open{transform:rotate(90deg)}.jv-container .jv-more{position:absolute;z-index:1;bottom:0;left:0;right:0;height:40px;width:100%;text-align:center;cursor:pointer}.jv-container .jv-more .jv-toggle{position:relative;top:40%;z-index:2;color:#888;transition:all .1s;transform:rotate(90deg)}.jv-container .jv-more .jv-toggle.open{transform:rotate(-90deg)}.jv-container .jv-more:after{content:"";width:100%;height:100%;position:absolute;bottom:0;left:0;z-index:1;background:linear-gradient(180deg,transparent 20%,hsla(0,0%,90.2%,.3));transition:all .1s}.jv-container .jv-more:hover .jv-toggle{top:50%;color:#111}.jv-container .jv-more:hover:after{background:linear-gradient(180deg,transparent 20%,hsla(0,0%,90.2%,.3))}.jv-container .jv-button{position:relative;cursor:pointer;display:inline-block;padding:5px;z-index:5}.jv-container .jv-button.copied{opacity:.4;cursor:default}.jv-container .jv-tooltip{position:absolute}.jv-container .jv-tooltip.right{right:15px}.jv-container .jv-tooltip.left{left:15px}.jv-container .j-icon{font-size:12px}',""]),e.exports=t},c607:function(e,t,r){var n=r("da84"),i=r("83ab"),o=r("fce3"),a=r("c6b6"),s=r("9bf2").f,c=r("69f3").get,l=RegExp.prototype,u=n.TypeError;i&&o&&s(l,"dotAll",{configurable:!0,get:function(){if(this!==l){if("RegExp"===a(this))return!!c(this).dotAll;throw u("Incompatible receiver, RegExp required")}}})},c65b:function(e,t,r){var n=r("40d5"),i=Function.prototype.call;e.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},c6b6:function(e,t,r){var n=r("e330"),i=n({}.toString),o=n("".slice);e.exports=function(e){return o(i(e),8,-1)}},c6cd:function(e,t,r){var n=r("da84"),i=r("ce4e"),o="__core-js_shared__",a=n[o]||i(o,{});e.exports=a},c770:function(e,t,r){var n=r("e330"),i=n("".replace),o=function(e){return String(Error(e).stack)}("zxcasd"),a=/\n\s*at [^:]*:[^\n]*/,s=a.test(o);e.exports=function(e,t){if(s&&"string"==typeof e)while(t--)e=i(e,a,"");return e}},c8ba:function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(n){"object"===typeof window&&(r=window)}e.exports=r},c8d2:function(e,t,r){var n=r("5e77").PROPER,i=r("d039"),o=r("5899"),a="
";e.exports=function(e){return i((function(){return!!o[e]()||a[e]()!==a||n&&o[e].name!==e}))}},ca25:function(e,t,r){var n=r("4bad");t=n(!1),t.push([e.i,".t-ansi-1{font-weight:700}.t-ansi-2{font-weight:200}.t-ansi-3{font-style:oblique}.t-ansi-4{text-decoration:underline}@-webkit-keyframes t-blink{0%{opacity:1}50%{opacity:1}50.01%{opacity:0}to{opacity:0}}.t-ansi-5,.t-ansi-6{animation:t-blink 1s linear infinite;-webkit-animation:t-blink 1s linear infinite;-moz-animation:t-blink 1s linear infinite;-ms-animation:t-blink 1s linear infinite;-o-animation:t-blink 1s linear infinite}.t-ansi-7{background-color:#fff;color:#1c1d21}.t-ansi-8{visibility:hidden}.t-ansi-9{text-decoration:line-through}.t-ansi-21,.t-ansi-22{font-weight:unset}.t-ansi-23{font-style:unset}.t-ansi-24,.t-ansi-29{text-decoration:none}.t-ansi-25,.t-ansi-26{animation:none;-webkit-animation:none;-moz-animation:none;-ms-animation:none;-o-animation:none}.t-ansi-27{background-color:inherit;color:inherit}.t-ansi-28{visibility:unset}.t-ansi-30{color:#000}.t-ansi-31{color:#f10606}.t-ansi-32{color:#14cb14}.t-ansi-33{color:#ff0}.t-ansi-34{color:#3993d4}.t-ansi-35{color:#bd12bd}.t-ansi-36{color:#0eb4b4}.t-ansi-37{color:#fff}.t-ansi-90{color:#585859}.t-ansi-91{color:#ef353a}.t-ansi-92{color:#4ec215}.t-ansi-93{color:#e3bd01}.t-ansi-94{color:#1faffe}.t-ansi-95{color:#eb7dec}.t-ansi-96{color:#00e3e4}.t-ansi-97{color:#fdfdfe}.t-ansi-40{background-color:#000}.t-ansi-41{background-color:#f10606}.t-ansi-42{background-color:#14cb14}.t-ansi-43{background-color:#ff0}.t-ansi-44{background-color:#3993d4}.t-ansi-45{background-color:#bd12bd}.t-ansi-46{background-color:#0eb4b4}.t-ansi-47{background-color:#fff}.t-ansi-100{background-color:#585859}.t-ansi-101{background-color:#ef353a}.t-ansi-102{background-color:#4ec215}.t-ansi-103{background-color:#e3bd01}.t-ansi-104{background-color:#1faffe}.t-ansi-105{background-color:#eb7dec}.t-ansi-106{background-color:#00e3e4}.t-ansi-107{background-color:#fdfdfe}.t-ansi-char,.t-ansi-line{min-height:var(--t-font-height)}.t-ansi-char{min-width:7px;font-size:inherit;display:inline-block;height:100%;vertical-align:top;font-weight:700}",""]),e.exports=t},ca84:function(e,t,r){var n=r("e330"),i=r("1a2d"),o=r("fc6a"),a=r("4d64").indexOf,s=r("d012"),c=n([].push);e.exports=function(e,t){var r,n=o(e),l=0,u=[];for(r in n)!i(s,r)&&i(n,r)&&c(u,r);while(t.length>l)i(n,r=t[l++])&&(~a(u,r)||c(u,r));return u}},cc12:function(e,t,r){var n=r("da84"),i=r("861d"),o=n.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},cdf9:function(e,t,r){var n=r("825a"),i=r("861d"),o=r("f069");e.exports=function(e,t){if(n(e),i(t)&&t.constructor===e)return t;var r=o.f(e),a=r.resolve;return a(t),r.promise}},ce4e:function(e,t,r){var n=r("da84"),i=Object.defineProperty;e.exports=function(e,t){try{i(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},d012:function(e,t){e.exports={}},d039:function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},d066:function(e,t,r){var n=r("da84"),i=r("1626"),o=function(e){return i(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(n[e]):n[e]&&n[e][t]}},d1e7:function(e,t,r){"use strict";var n={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!n.call({1:2},1);t.f=o?function(e){var t=i(this,e);return!!t&&t.enumerable}:n},d28b:function(e,t,r){var n=r("746f");n("iterator")},d2bb:function(e,t,r){var n=r("e330"),i=r("825a"),o=r("3bbe");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{e=n(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),e(r,[]),t=r instanceof Array}catch(a){}return function(r,n){return i(r),o(n),t?e(r,n):r.__proto__=n,r}}():void 0)},d3b7:function(e,t,r){var n=r("00ee"),i=r("6eeb"),o=r("b041");n||i(Object.prototype,"toString",o,{unsafe:!0})},d44e:function(e,t,r){var n=r("9bf2").f,i=r("1a2d"),o=r("b622"),a=o("toStringTag");e.exports=function(e,t,r){e&&!r&&(e=e.prototype),e&&!i(e,a)&&n(e,a,{configurable:!0,value:t})}},d4c3:function(e,t,r){var n=r("342f"),i=r("da84");e.exports=/ipad|iphone|ipod/i.test(n)&&void 0!==i.Pebble},d6d6:function(e,t,r){var n=r("da84"),i=n.TypeError;e.exports=function(e,t){if(e<t)throw i("Not enough arguments");return e}},d784:function(e,t,r){"use strict";r("ac1f");var n=r("e330"),i=r("6eeb"),o=r("9263"),a=r("d039"),s=r("b622"),c=r("9112"),l=s("species"),u=RegExp.prototype;e.exports=function(e,t,r,f){var h=s(e),p=!a((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),d=p&&!a((function(){var t=!1,r=/a/;return"split"===e&&(r={},r.constructor={},r.constructor[l]=function(){return r},r.flags="",r[h]=/./[h]),r.exec=function(){return t=!0,null},r[h](""),!t}));if(!p||!d||r){var m=n(/./[h]),v=t(h,""[e],(function(e,t,r,i,a){var s=n(e),c=t.exec;return c===o||c===u.exec?p&&!a?{done:!0,value:m(t,r,i)}:{done:!0,value:s(r,t,i)}:{done:!1}}));i(String.prototype,e,v[0]),i(u,h,v[1])}f&&c(u[h],"sham",!0)}},d998:function(e,t,r){var n=r("342f");e.exports=/MSIE|Trident/.test(n)},d9b5:function(e,t,r){var n=r("da84"),i=r("d066"),o=r("1626"),a=r("3a9b"),s=r("fdbf"),c=n.Object;e.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=i("Symbol");return o(t)&&a(t.prototype,c(e))}},d9e2:function(e,t,r){var n=r("23e7"),i=r("da84"),o=r("2ba4"),a=r("e5cb"),s="WebAssembly",c=i[s],l=7!==Error("e",{cause:7}).cause,u=function(e,t){var r={};r[e]=a(e,t,l),n({global:!0,forced:l},r)},f=function(e,t){if(c&&c[e]){var r={};r[e]=a(s+"."+e,t,l),n({target:s,stat:!0,forced:l},r)}};u("Error",(function(e){return function(t){return o(e,this,arguments)}})),u("EvalError",(function(e){return function(t){return o(e,this,arguments)}})),u("RangeError",(function(e){return function(t){return o(e,this,arguments)}})),u("ReferenceError",(function(e){return function(t){return o(e,this,arguments)}})),u("SyntaxError",(function(e){return function(t){return o(e,this,arguments)}})),u("TypeError",(function(e){return function(t){return o(e,this,arguments)}})),u("URIError",(function(e){return function(t){return o(e,this,arguments)}})),f("CompileError",(function(e){return function(t){return o(e,this,arguments)}})),f("LinkError",(function(e){return function(t){return o(e,this,arguments)}})),f("RuntimeError",(function(e){return function(t){return o(e,this,arguments)}}))},da84:function(e,t,r){(function(t){var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t&&t)||function(){return this}()||Function("return this")()}).call(this,r("c8ba"))},dbb4:function(e,t,r){var n=r("23e7"),i=r("83ab"),o=r("56ef"),a=r("fc6a"),s=r("06cf"),c=r("8418");n({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(e){var t,r,n=a(e),i=s.f,l=o(n),u={},f=0;while(l.length>f)r=i(n,t=l[f++]),void 0!==r&&c(u,t,r);return u}})},dc4a:function(e,t,r){var n=r("59ed");e.exports=function(e,t){var r=e[t];return null==r?void 0:n(r)}},ddb0:function(e,t,r){var n=r("da84"),i=r("fdbc"),o=r("785a"),a=r("e260"),s=r("9112"),c=r("b622"),l=c("iterator"),u=c("toStringTag"),f=a.values,h=function(e,t){if(e){if(e[l]!==f)try{s(e,l,f)}catch(n){e[l]=f}if(e[u]||s(e,u,t),i[t])for(var r in a)if(e[r]!==a[r])try{s(e,r,a[r])}catch(n){e[r]=a[r]}}};for(var p in i)h(n[p]&&n[p].prototype,p);h(o,"DOMTokenList")},df75:function(e,t,r){var n=r("ca84"),i=r("7839");e.exports=Object.keys||function(e){return n(e,i)}},e01a:function(e,t,r){"use strict";var n=r("23e7"),i=r("83ab"),o=r("da84"),a=r("e330"),s=r("1a2d"),c=r("1626"),l=r("3a9b"),u=r("577e"),f=r("9bf2").f,h=r("e893"),p=o.Symbol,d=p&&p.prototype;if(i&&c(p)&&(!("description"in d)||void 0!==p().description)){var m={},v=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:u(arguments[0]),t=l(d,this)?new p(e):void 0===e?p():p(e);return""===e&&(m[t]=!0),t};h(v,p),v.prototype=d,d.constructor=v;var g="Symbol(test)"==String(p("test")),y=a(d.toString),b=a(d.valueOf),w=/^Symbol\((.*)\)[^)]+$/,x=a("".replace),S=a("".slice);f(d,"description",{configurable:!0,get:function(){var e=b(this),t=y(e);if(s(m,e))return"";var r=g?S(t,7,-1):x(t,w,"$1");return""===r?void 0:r}}),n({global:!0,forced:!0},{Symbol:v})}},e163:function(e,t,r){var n=r("da84"),i=r("1a2d"),o=r("1626"),a=r("7b0b"),s=r("f772"),c=r("e177"),l=s("IE_PROTO"),u=n.Object,f=u.prototype;e.exports=c?u.getPrototypeOf:function(e){var t=a(e);if(i(t,l))return t[l];var r=t.constructor;return o(r)&&t instanceof r?r.prototype:t instanceof u?f:null}},e177:function(e,t,r){var n=r("d039");e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},e260:function(e,t,r){"use strict";var n=r("fc6a"),i=r("44d2"),o=r("3f8c"),a=r("69f3"),s=r("9bf2").f,c=r("7dd0"),l=r("c430"),u=r("83ab"),f="Array Iterator",h=a.set,p=a.getterFor(f);e.exports=c(Array,"Array",(function(e,t){h(this,{type:f,target:n(e),index:0,kind:t})}),(function(){var e=p(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}}),"values");var d=o.Arguments=o.Array;if(i("keys"),i("values"),i("entries"),!l&&u&&"values"!==d.name)try{s(d,"name",{value:"values"})}catch(m){}},e2cc:function(e,t,r){var n=r("6eeb");e.exports=function(e,t,r){for(var i in t)n(e,i,t[i],r);return e}},e330:function(e,t,r){var n=r("40d5"),i=Function.prototype,o=i.bind,a=i.call,s=n&&o.bind(a,a);e.exports=n?function(e){return e&&s(e)}:function(e){return e&&function(){return a.apply(e,arguments)}}},e391:function(e,t,r){var n=r("577e");e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:n(e)}},e439:function(e,t,r){var n=r("23e7"),i=r("d039"),o=r("fc6a"),a=r("06cf").f,s=r("83ab"),c=i((function(){a(1)})),l=!s||c;n({target:"Object",stat:!0,forced:l,sham:!s},{getOwnPropertyDescriptor:function(e,t){return a(o(e),t)}})},e538:function(e,t,r){var n=r("b622");t.f=n},e5cb:function(e,t,r){"use strict";var n=r("d066"),i=r("1a2d"),o=r("9112"),a=r("3a9b"),s=r("d2bb"),c=r("e893"),l=r("7156"),u=r("e391"),f=r("ab36"),h=r("c770"),p=r("b980"),d=r("c430");e.exports=function(e,t,r,m){var v=m?2:1,g=e.split("."),y=g[g.length-1],b=n.apply(null,g);if(b){var w=b.prototype;if(!d&&i(w,"cause")&&delete w.cause,!r)return b;var x=n("Error"),S=t((function(e,t){var r=u(m?t:e,void 0),n=m?new b(e):new b;return void 0!==r&&o(n,"message",r),p&&o(n,"stack",h(n.stack,2)),this&&a(w,this)&&l(n,this,S),arguments.length>v&&f(n,arguments[v]),n}));if(S.prototype=w,"Error"!==y&&(s?s(S,x):c(S,x,{name:!0})),c(S,b),!d)try{w.name!==y&&o(w,"name",y),w.constructor=S}catch(_){}return S}}},e667:function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}},e6cf:function(e,t,r){"use strict";var n,i,o,a,s=r("23e7"),c=r("c430"),l=r("da84"),u=r("d066"),f=r("c65b"),h=r("fea9"),p=r("6eeb"),d=r("e2cc"),m=r("d2bb"),v=r("d44e"),g=r("2626"),y=r("59ed"),b=r("1626"),w=r("861d"),x=r("19aa"),S=r("8925"),_=r("2266"),P=r("1c7e"),E=r("4840"),k=r("2cf4").set,C=r("b575"),j=r("cdf9"),O=r("44de"),I=r("f069"),A=r("e667"),R=r("01b4"),F=r("69f3"),D=r("94ca"),$=r("b622"),L=r("6069"),M=r("605d"),T=r("2d00"),N=$("species"),z="Promise",V=F.getterFor(z),B=F.set,U=F.getterFor(z),q=h&&h.prototype,H=h,W=q,G=l.TypeError,K=l.document,Q=l.process,J=I.f,Y=J,X=!!(K&&K.createEvent&&l.dispatchEvent),Z=b(l.PromiseRejectionEvent),ee="unhandledrejection",te="rejectionhandled",re=0,ne=1,ie=2,oe=1,ae=2,se=!1,ce=D(z,(function(){var e=S(H),t=e!==String(H);if(!t&&66===T)return!0;if(c&&!W["finally"])return!0;if(T>=51&&/native code/.test(e))return!1;var r=new H((function(e){e(1)})),n=function(e){e((function(){}),(function(){}))},i=r.constructor={};return i[N]=n,se=r.then((function(){}))instanceof n,!se||!t&&L&&!Z})),le=ce||!P((function(e){H.all(e)["catch"]((function(){}))})),ue=function(e){var t;return!(!w(e)||!b(t=e.then))&&t},fe=function(e,t){var r,n,i,o=t.value,a=t.state==ne,s=a?e.ok:e.fail,c=e.resolve,l=e.reject,u=e.domain;try{s?(a||(t.rejection===ae&&ve(t),t.rejection=oe),!0===s?r=o:(u&&u.enter(),r=s(o),u&&(u.exit(),i=!0)),r===e.promise?l(G("Promise-chain cycle")):(n=ue(r))?f(n,r,c,l):c(r)):l(o)}catch(h){u&&!i&&u.exit(),l(h)}},he=function(e,t){e.notified||(e.notified=!0,C((function(){var r,n=e.reactions;while(r=n.get())fe(r,e);e.notified=!1,t&&!e.rejection&&de(e)})))},pe=function(e,t,r){var n,i;X?(n=K.createEvent("Event"),n.promise=t,n.reason=r,n.initEvent(e,!1,!0),l.dispatchEvent(n)):n={promise:t,reason:r},!Z&&(i=l["on"+e])?i(n):e===ee&&O("Unhandled promise rejection",r)},de=function(e){f(k,l,(function(){var t,r=e.facade,n=e.value,i=me(e);if(i&&(t=A((function(){M?Q.emit("unhandledRejection",n,r):pe(ee,r,n)})),e.rejection=M||me(e)?ae:oe,t.error))throw t.value}))},me=function(e){return e.rejection!==oe&&!e.parent},ve=function(e){f(k,l,(function(){var t=e.facade;M?Q.emit("rejectionHandled",t):pe(te,t,e.value)}))},ge=function(e,t,r){return function(n){e(t,n,r)}},ye=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=ie,he(e,!0))},be=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw G("Promise can't be resolved itself");var n=ue(t);n?C((function(){var r={done:!1};try{f(n,t,ge(be,r,e),ge(ye,r,e))}catch(i){ye(r,i,e)}})):(e.value=t,e.state=ne,he(e,!1))}catch(i){ye({done:!1},i,e)}}};if(ce&&(H=function(e){x(this,W),y(e),f(n,this);var t=V(this);try{e(ge(be,t),ge(ye,t))}catch(r){ye(t,r)}},W=H.prototype,n=function(e){B(this,{type:z,done:!1,notified:!1,parent:!1,reactions:new R,rejection:!1,state:re,value:void 0})},n.prototype=d(W,{then:function(e,t){var r=U(this),n=J(E(this,H));return r.parent=!0,n.ok=!b(e)||e,n.fail=b(t)&&t,n.domain=M?Q.domain:void 0,r.state==re?r.reactions.add(n):C((function(){fe(n,r)})),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new n,t=V(e);this.promise=e,this.resolve=ge(be,t),this.reject=ge(ye,t)},I.f=J=function(e){return e===H||e===o?new i(e):Y(e)},!c&&b(h)&&q!==Object.prototype)){a=q.then,se||(p(q,"then",(function(e,t){var r=this;return new H((function(e,t){f(a,r,e,t)})).then(e,t)}),{unsafe:!0}),p(q,"catch",W["catch"],{unsafe:!0}));try{delete q.constructor}catch(we){}m&&m(q,W)}s({global:!0,wrap:!0,forced:ce},{Promise:H}),v(H,z,!1,!0),g(z),o=u(z),s({target:z,stat:!0,forced:ce},{reject:function(e){var t=J(this);return f(t.reject,void 0,e),t.promise}}),s({target:z,stat:!0,forced:c||ce},{resolve:function(e){return j(c&&this===o?H:this,e)}}),s({target:z,stat:!0,forced:le},{all:function(e){var t=this,r=J(t),n=r.resolve,i=r.reject,o=A((function(){var r=y(t.resolve),o=[],a=0,s=1;_(e,(function(e){var c=a++,l=!1;s++,f(r,t,e).then((function(e){l||(l=!0,o[c]=e,--s||n(o))}),i)})),--s||n(o)}));return o.error&&i(o.value),r.promise},race:function(e){var t=this,r=J(t),n=r.reject,i=A((function(){var i=y(t.resolve);_(e,(function(e){f(i,t,e).then(r.resolve,n)}))}));return i.error&&n(i.value),r.promise}})},e893:function(e,t,r){var n=r("1a2d"),i=r("56ef"),o=r("06cf"),a=r("9bf2");e.exports=function(e,t,r){for(var s=i(t),c=a.f,l=o.f,u=0;u<s.length;u++){var f=s[u];n(e,f)||r&&n(r,f)||c(e,f,l(t,f))}}},e8b5:function(e,t,r){var n=r("c6b6");e.exports=Array.isArray||function(e){return"Array"==n(e)}},e95a:function(e,t,r){var n=r("b622"),i=r("3f8c"),o=n("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||a[o]===e)}},e9c4:function(e,t,r){var n=r("23e7"),i=r("da84"),o=r("d066"),a=r("2ba4"),s=r("e330"),c=r("d039"),l=i.Array,u=o("JSON","stringify"),f=s(/./.exec),h=s("".charAt),p=s("".charCodeAt),d=s("".replace),m=s(1..toString),v=/[\uD800-\uDFFF]/g,g=/^[\uD800-\uDBFF]$/,y=/^[\uDC00-\uDFFF]$/,b=function(e,t,r){var n=h(r,t-1),i=h(r,t+1);return f(g,e)&&!f(y,i)||f(y,e)&&!f(g,n)?"\\u"+m(p(e,0),16):e},w=c((function(){return'"\\udf06\\ud834"'!==u("\udf06\ud834")||'"\\udead"'!==u("\udead")}));u&&n({target:"JSON",stat:!0,forced:w},{stringify:function(e,t,r){for(var n=0,i=arguments.length,o=l(i);n<i;n++)o[n]=arguments[n];var s=a(u,null,o);return"string"==typeof s?d(s,v,b):s}})},f069:function(e,t,r){"use strict";var n=r("59ed"),i=function(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n})),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new i(e)}},f33e:function(e,t,r){var n=r("5628");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=r("499e").default;i("e40b3dc0",n,!0,{sourceMap:!1,shadowMode:!1})},f36a:function(e,t,r){var n=r("e330");e.exports=n([].slice)},f5df:function(e,t,r){var n=r("da84"),i=r("00ee"),o=r("1626"),a=r("c6b6"),s=r("b622"),c=s("toStringTag"),l=n.Object,u="Arguments"==a(function(){return arguments}()),f=function(e,t){try{return e[t]}catch(r){}};e.exports=i?a:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=f(t=l(e),c))?r:u?a(t):"Object"==(n=a(t))&&o(t.callee)?"Arguments":n}},f772:function(e,t,r){var n=r("5692"),i=r("90e3"),o=n("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},f8c9:function(e,t,r){var n=r("23e7"),i=r("da84"),o=r("d44e");n({global:!0},{Reflect:{}}),o(i.Reflect,"Reflect",!0)},fb15:function(e,t,r){"use strict";if(r.r(t),r.d(t,"Terminal",(function(){return Tt})),r.d(t,"TerminalStore",(function(){return T})),r.d(t,"TerminalApi",(function(){return de})),r.d(t,"TerminalAsk",(function(){return ee})),r.d(t,"TerminalFlash",(function(){return X})),r.d(t,"configCodemirror",(function(){return ue})),r.d(t,"configHighlight",(function(){return le})),r.d(t,"rename",(function(){return ce})),r.d(t,"api",(function(){return Bt})),r.d(t,"Flash",(function(){return Ut})),r.d(t,"Ask",(function(){return qt})),"undefined"!==typeof window){var n=window.document.currentScript,i=r("8875");n=i(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:i});var o=n&&n.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);o&&(r.p=o[1])}r("b0c0");var a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{ref:"terminalContainerRef",class:"t-container "+(e.isActive()?"":"t-disable-select"),style:e._getContainerStyle()},[e.isDraggable()?r("div",[r("div",{ref:"resizeLTRef",staticClass:"t-point t-point-lt"}),r("div",{ref:"resizeRTRef",staticClass:"t-point t-point-rt"}),r("div",{ref:"resizeLBRef",staticClass:"t-point t-point-lb"}),r("div",{ref:"resizeRBRef",staticClass:"t-point t-point-rb"})]):e._e(),r("div",{staticClass:"terminal"},[e.showHeader?r("div",{ref:"terminalHeaderRef",staticClass:"t-header-container",style:e.isDraggable()?"cursor: move;":"",on:{dblclick:e._fullscreen}},[e._t("header",(function(){return[r("t-header",{attrs:{title:e.title,pinned:e.isPinned(),draggable:e.isDraggable(),"fullscreen-state":e.fullscreenState},on:{"on-click":e._triggerClick}})]}))],2):e._e(),r("div",{ref:"terminalWindowRef",staticClass:"t-window",style:(e.showHeader?"height:calc(100% - "+e.headerHeight+"px);margin-top: "+e.headerHeight+"px;":"height:100%")+";\n padding:"+e.WINDOW_STYLE.PADDING_TOP+"px "+e.WINDOW_STYLE.PADDING_RIGHT+"px "+e.WINDOW_STYLE.PADDING_BOTTOM+"px "+(e.enableFold?e.WINDOW_STYLE.PADDING_LEFT_FOLD:e.WINDOW_STYLE.PADDING_LEFT)+"px;",on:{click:e._focus,dblclick:function(t){return e._focus(!0)}}},[e._l(e.terminalLog,(function(t,n){return r("div",{key:n,class:"t-log-box t-log-fold-container "+(e.enableHoverStripe&&t.logs.length>1?"t-log-box-hover-script":"")+" "+(t.fold?"t-log-box-folded":""),style:"margin-top:"+e.lineSpace+"px;"},[e._enableFold(t)?r("span",[t.fold?r("span",{staticClass:"t-log-fold-icon t-log-fold-icon-active",on:{click:function(r){return e._closeGroupFold(t)}}},[e._v("+")]):r("span",{staticClass:"t-log-fold-icon",on:{click:function(e){t.fold=!0}}},[e._v("-")]),t.fold?e._e():r("span",{staticClass:"t-log-fold-line"})]):e._e(),e._l(t.logs,(function(n,i){return r("div",{key:i,style:"margin-top:"+e.lineSpace+"px;",on:{click:function(r){return e._closeGroupFold(t)}}},["cmdLine"===n.type?r("span",{staticClass:"t-crude-font t-cmd-line t-cmd-line-content",domProps:{innerHTML:e._s(n.content)}}):r("div",["normal"===n.type?r("span",[e._t("normal",(function(){return[r("t-view-normal",{attrs:{item:n}})]}),{message:n})],2):"json"===n.type?r("div",[e._t("json",(function(){return[r("t-view-json",{attrs:{item:n,idx:i}})]}),{message:n})],2):"code"===n.type?r("div",[e._t("code",(function(){return[r("t-view-code",{attrs:{item:n}})]}),{message:n})],2):"table"===n.type?r("div",[e._t("table",(function(){return[r("t-view-table",{attrs:{item:n}})]}),{message:n})],2):"html"===n.type?r("div",[e._t("html",(function(){return[r("div",{domProps:{innerHTML:e._s(n.content)}})]}),{message:n})],2):e._e()])])}))],2)})),e.flash.open&&e.flash.content?r("div",{style:"margin:"+e.lineSpace+"px 0;"},[e._t("flash",(function(){return[r("div",{domProps:{innerHTML:e._s(e.flash.content)}})]}),{content:e.flash.content})],2):e._e(),e.ask.open&&e.ask.question?r("div",{style:"margin:"+e.lineSpace+"px 0;"},[r("div",{staticStyle:{display:"inline-block"},domProps:{innerHTML:e._s(e.ask.question)}}),"checkbox"===(e.ask.isPassword?"password":"text")?r("input",{directives:[{name:"model",rawName:"v-model",value:e.ask.input,expression:"ask.input"}],ref:"terminalAskInputRef",staticClass:"t-ask-input",attrs:{autocomplete:"off","auto-complete":"new-password",type:"checkbox"},domProps:{checked:Array.isArray(e.ask.input)?e._i(e.ask.input,null)>-1:e.ask.input},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e._onAskInput.apply(null,arguments)},change:function(t){var r=e.ask.input,n=t.target,i=!!n.checked;if(Array.isArray(r)){var o=null,a=e._i(r,o);n.checked?a<0&&e.$set(e.ask,"input",r.concat([o])):a>-1&&e.$set(e.ask,"input",r.slice(0,a).concat(r.slice(a+1)))}else e.$set(e.ask,"input",i)}}}):"radio"===(e.ask.isPassword?"password":"text")?r("input",{directives:[{name:"model",rawName:"v-model",value:e.ask.input,expression:"ask.input"}],ref:"terminalAskInputRef",staticClass:"t-ask-input",attrs:{autocomplete:"off","auto-complete":"new-password",type:"radio"},domProps:{checked:e._q(e.ask.input,null)},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e._onAskInput.apply(null,arguments)},change:function(t){return e.$set(e.ask,"input",null)}}}):r("input",{directives:[{name:"model",rawName:"v-model",value:e.ask.input,expression:"ask.input"}],ref:"terminalAskInputRef",staticClass:"t-ask-input",attrs:{autocomplete:"off","auto-complete":"new-password",type:e.ask.isPassword?"password":"text"},domProps:{value:e.ask.input},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e._onAskInput.apply(null,arguments)},input:function(t){t.target.composing||e.$set(e.ask,"input",t.target.value)}}})]):e._e(),r("p",{directives:[{name:"show",rawName:"v-show",value:e.showInputLine,expression:"showInputLine"}],ref:"terminalInputBoxRef",staticClass:"t-last-line t-crude-font t-cmd-line",style:"margin-top:"+e.lineSpace+"px;"},[r("span",{ref:"terminalInputPromptRef",staticClass:"prompt t-cmd-line-content t-disable-select"},[r("span",[e._v(e._s(e.context))]),r("span",[e._v(e._s(e.contextSuffix))])]),r("span",{staticClass:"t-cmd-line-content",domProps:{innerHTML:e._s(e._commandFormatter(e.command))}}),r("span",{directives:[{name:"show",rawName:"v-show",value:e.cursorConf.show,expression:"cursorConf.show"}],ref:"terminalCursorRef",class:"t-cursor t-disable-select t-cursor-"+e.cursorStyle+" "+(e.enableCursorBlink?"t-cursor-blink":""),style:"width:"+e.cursorConf.width+"px;left:"+e.cursorConf.left+";top:"+e.cursorConf.top+";"},[e._v(" ")]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.command,expression:"command"}],ref:"terminalCmdInputRef",staticClass:"t-cmd-input t-disable-select",attrs:{type:"text",autofocus:"autofocus",autocomplete:"off","auto-complete":"new-password"},domProps:{value:e.command},on:{keydown:e._onInputKeydown,keyup:[e._onInputKeyup,function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])||t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:e._inputKeyUp.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])||t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:e._inputKeyDown.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e._execute.apply(null,arguments)}],input:[function(t){t.target.composing||(e.command=t.target.value)},e._onInput],focusin:function(t){e.cursorConf.show=!0}}})])],2)]),e.isEnableHelpBox?r("div",[e._t("helpBox",(function(){return[r("t-help-box",{directives:[{name:"show",rawName:"v-show",value:e.tips.helpBox.open&&!e._screenType().xs,expression:"tips.helpBox.open && !_screenType().xs"}],ref:"terminalHelpBoxRef",attrs:{top:e.headerHeight+10,content:e.selectedTipCommand}})]}),{showHeader:e.showHeader,item:e.selectedTipCommand})],2):e._e(),e.textEditor.open?r("div",{staticClass:"t-text-editor-container",style:(e.showHeader?"height:calc(100% - "+e.headerHeight+"px);margin-top: "+e.headerHeight+"px;":"height:100%")+";"},[e._t("textEditor",(function(){return[r("t-editor",{ref:"terminalTextEditorRef",attrs:{config:e.textEditor},on:{close:e._textEditorClose}})]}),{data:e.textEditor})],2):e._e(),e.tips.open?r("div",{ref:"terminalCmdTipsRef",staticClass:"t-cmd-tips",style:"top: "+e.tips.style.top+"px;left: "+e.tips.style.left+"px;opacity: "+e.tips.style.opacity+";"},[r("div",{staticClass:"t-cmd-tips-items"},e._l(e.tips.items,(function(t,n){return r("div",{key:n,class:"t-cmd-tips-item "+(n===e.tips.selectedIndex?"t-cmd-tips-item-active ":" ")+(0===n?"t-cmd-tips-item-first ":" "),on:{click:function(t){return e._clickTips(n)}}},[r("span",{staticClass:"t-cmd-tips-content",domProps:{innerHTML:e._s(t.content)}}),r("span",{staticClass:"t-cmd-tips-des",domProps:{innerHTML:e._s(t.description)}})])})),0),e._m(0)]):e._e(),r("span",{staticClass:"t-flag t-crude-font t-disable-select"},[r("span",{ref:"terminalEnFlagRef",staticClass:"t-cmd-line-content"},[e._v("aaaaaaaaaa")]),r("span",{ref:"terminalCnFlagRef",staticClass:"t-cmd-line-content"},[e._v("你你你你你你你你你你")])])])},s=[function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"t-cmd-tips-footer"},[e._v(" Press "),r("strong",[e._v("Tab")]),e._v(" to choose the selected suggestion. ")])}];r("989b"),r("3767"),r("f33e"),r("0b22"),r("a4d3"),r("e01a"),r("d3b7"),r("d28b"),r("e260"),r("3ca3"),r("ddb0");function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}r("d9e2"),r("fb6a"),r("a630"),r("ac1f"),r("00b4");function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function u(e,t){if(e){if("string"===typeof e)return l(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?l(e,t):void 0}}function f(e,t){var r="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=u(e))||t&&e&&"number"===typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}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 o,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==r["return"]||r["return"]()}finally{if(s)throw o}}}}r("99af"),r("4e82"),r("466d"),r("25f0"),r("5319"),r("4d63"),r("c607"),r("2c3e"),r("498a"),r("e9c4"),r("1276"),r("a15b"),r("2ca0"),r("159b"),r("a434"),r("8a79"),r("38cf"),r("b64b"),r("e6cf");var h=[{key:"help",title:"Help",group:"local",usage:"help [pattern]",description:"Show command document.",example:[{des:"Get all commands.",cmd:"help"},{des:"Get help documentation for exact match commands.",cmd:"help refresh"},{des:"Get help documentation for fuzzy matching commands.",cmd:"help *e*"},{des:"Get help documentation for specified group, match key must start with ':'.",cmd:"help :groupA"}]},{key:"clear",title:"Clear screen or history logs",group:"local",usage:"clear [history]",description:"Clear screen or history.",example:[{cmd:"clear",des:"Clear all records on the current screen."},{cmd:"clear history",des:"Clear command history"}]},{key:"open",title:"Open page",group:"local",usage:"open <url>",description:"Open a specified page.",example:[{cmd:"open blog.beifengtz.com"}]}],p={CMD_LINE:"cmdLine",NORMAL:"normal",JSON:"json",CODE:"code",TABLE:"table",HTML:"html",ANSI:"ansi"},d={SUCCESS:"success",ERROR:"error",INFO:"info",WARN:"warning",SYSTEM:"system"},m={PADDING_LEFT:10,PADDING_LEFT_FOLD:20,PADDING_RIGHT:10,PADDING_TOP:0,PADDING_BOTTOM:0};function v(e){return String(e).replace(/&(?!\w+;)/g,"&").replace(/ /g," ").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\n/g,"<br>").replace(/\t/g," ")}function g(e){return void 0===e||null===e||"string"===typeof e&&0===e.trim().length||"object"===c(e)&&0===Object.keys(e).length}function y(e){return!g(e)}function b(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body.clientWidth,t={};return e<600?t.xs=!0:e>=600&&e<960?t.sm=!0:e>=960&&e<1264?t.md=!0:e>=1264&&e<1904?t.lg=!0:t.xl=!0,t}function w(){return/Safari/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent)}function x(e){for(var t=0,r=0;r<e.length;r++)null!=e[r].match(/[^\x00-\xff]/gi)?t+=2:t+=1;return t}function S(e,t,r){e&&e.addEventListener&&e.addEventListener(t,r)}function _(e,t,r){e&&e.removeEventListener&&e.removeEventListener(t,r)}function P(){if(navigator&&navigator.clipboard)return navigator.clipboard.readText();var e=document.createElement("div");e.contentEditable=!0;var t=document.activeElement.appendChild(e).parentNode;e.focus(),document.execCommand("paste");var r=e.innerText;return t.removeChild(e),r}function E(e){if(e)if(e=e.replace(/nbsp;/g," "),navigator&&navigator.clipboard)navigator.clipboard.writeText(e).then((function(){}));else{var t=document.createElement("textarea");t.value=e,t.style.position="absolute",t.style.opacity=0,t.style.left="-999999px",t.style.top="-999999px",document.body.appendChild(t),t.focus(),t.select(),document.execCommand("copy"),t.remove()}}function k(e,t){var r=e.x,n=e.y,i=t.x,o=t.y,a=t.width,s=t.height;return r>=i&&r<=i+a&&n>=o&&n<=o+s}function C(){return window.getSelection?window.getSelection():document.getSelection()}function j(e){if("object"===c(e)&&e)return e;if("string"===typeof e)try{return JSON.parse(e)}catch(t){return e}}function O(e){var t=/^((http|https):\/\/)?(([A-Za-z0-9]+-[A-Za-z0-9]+|[A-Za-z0-9]+)\.)+([A-Za-z]+)[/?:]?.*$/;t.test(e)?e.startsWith("http")||e.startsWith("https")?window.open(e):window.open("http://".concat(e)):this._pushMessage({class:d.ERROR,type:p.NORMAL,content:"Invalid website url"})}function I(e){for(var t=e.replace(/\xA0/g," ").split(" "),r="",n=!0,i=0;i<t.length;i++){var o=v(t[i]);if(n)r+="<span class='t-cmd-key'>".concat(o,"</span>"),n=!1;else if(o.startsWith("-"))r+='<span class="t-cmd-arg">'.concat(o,"</span>");else if(o.length>0)if("|"===o)n=!0,r+="<span>".concat(o,"</span>");else{r+="<span>";var a=!1;for(var s in o)","===o[s]?r+='<span class="t-cmd-splitter">'.concat(o[s],"</span>"):"|"===o[s]?(r+=o[s],n=!0,s<o.length-1&&(r+="<span class='t-cmd-key'>",a=!0)):r+=o[s],s===o.length-1&&"|"!==o[s]&&(n=!1);r+="</span>",a&&(r+="</span>")}i<t.length-1&&(r+="<span> </span>")}return r}function A(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;while(e){if(e===t)return!0;if(r&&e.classList.contains(r))break;e=e.parentElement}return!1}function R(){var e=navigator.userAgent;if(e)return/mobile/i.test(e);var t=b();return t.xs||t.sm}function F(){var e=navigator.userAgent;return e?/pad/i.test(e):b().sm}function D(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,r=null;return function(){var n=this,i=arguments;r&&clearTimeout(r),r=setTimeout((function(){e.apply(n,i)}),t)}}var $=new M,L=100;function M(){var e="terminal",t=window.localStorage.getItem(e);t=null==t?{}:JSON.parse(t);var r=function(e,t){var r=i(e);null==r.cmdLog&&(r.cmdLog=[]),0!==r.cmdLog.length&&r.cmdLog[r.cmdLog.length-1]===t||(r.cmdLog.push(t),r.cmdLog.length>L&&r.cmdLog.splice(0,r.cmdLog.length-L)),r.cmdIdx=r.cmdLog.length,n()},n=function(){window.localStorage.setItem(e,JSON.stringify(t))},i=function(e){var r=t[e];return null==r&&(r={},t[e]=r),r},o=function(e){var t=i(e);return null==t.cmdLog&&(t.cmdLog=[]),t.cmdLog},a=function(e){var t=i(e);t.cmdLog=[],t.cmdIdx=0,n()},s=function(e){var t=i(e);return 0|t.cmdIdx},c=function(e,t){var r=i(e);r.cmdIdx=t};return{pushCmd:r,getLog:o,clearLog:a,getIdx:s,setIdx:c}}var T=$;function N(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function z(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function V(e,t,r){return t&&z(e.prototype,t),r&&z(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function B(e,t){return B=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},B(e,t)}function U(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&B(e,t)}r("4ae1"),r("f8c9"),r("3410");function q(e){return q=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},q(e)}function H(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function W(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function G(e,t){if(t&&("object"===c(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return W(e)}function K(e){var t=H();return function(){var r,n=q(e);if(t){var i=q(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return G(this,r)}}var Q=function(){function e(){N(this,e)}return V(e,[{key:"finish",value:function(){null!=this.onFinishListener&&this.onFinishListener()}},{key:"onFinish",value:function(e){this.onFinishListener=e}}]),e}(),J=Q,Y=function(e){U(r,e);var t=K(r);function r(){return N(this,r),t.apply(this,arguments)}return V(r,[{key:"flush",value:function(e){null!=this.handler&&this.handler(e)}},{key:"onFlush",value:function(e){this.handler=e}}]),r}(J),X=Y,Z=function(e){U(r,e);var t=K(r);function r(){return N(this,r),t.apply(this,arguments)}return V(r,[{key:"ask",value:function(e){null!=this.handler&&this.handler(e)}},{key:"onAsk",value:function(e){this.handler=e}}]),r}(J),ee=Z;r("4de4"),r("e439"),r("dbb4");function te(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function re(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ne(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?re(Object(r),!0).forEach((function(t){te(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):re(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var ie={},oe={};function ae(e,t){if(null!=ie[e])throw Error("Unable to register an existing terminal: ".concat(e));ie[e]=t}function se(e){delete ie[e]}function ce(e,t,r){se(t),ae(e,r)}function le(e){oe.highlight=e}function ue(e){oe.codemirror=e}function fe(){return oe}function he(e){oe=ne({},e)}var pe={post:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"terminal",t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,n=ie[e];if(null!=n)return n(t,r)},pushMessage:function(e,t){return pe.post(e,"pushMessage",t)},fullscreen:function(e){return pe.post(e,"fullscreen")},isFullscreen:function(e){return pe.post(e,"isFullscreen")},dragging:function(e,t){return pe.post(e,"dragging",t)},execute:function(e,t){return pe.post(e,"execute",t)},focus:function(e,t){return pe.post(e,"focus",t)},elementInfo:function(e,t){return pe.post(e,"elementInfo",t)},textEditorOpen:function(e,t){return pe.post(e,"textEditorOpen",t)},textEditorClose:function(e,t){return pe.post(e,"textEditorClose",t)},clearLog:function(e,t){return pe.post(e,"clearLog",t)},getCommand:function(e,t){return pe.post(e,"getCommand",t)},setCommand:function(e,t){return pe.post(e,"setCommand",t)},switchAllFoldState:function(e,t){return pe.post(e,"switchAllFoldState",t)}},de=pe,me=pe.pushMessage,ve=pe.fullscreen,ge=pe.isFullscreen,ye=pe.dragging,be=pe.execute,we=pe.focus,xe=(pe.elementInfo,pe.textEditorClose),Se=pe.textEditorOpen;pe.clearLog,pe.getCommand,pe.setCommand,pe.switchAllFoldState,r("a9e3");function _e(){return{title:{type:String,default:"vue-web-terminal"}}}function Pe(){return{item:{type:Object,default:function(){return{class:null,type:"normal",content:null,tag:null}}},idx:Number|String}}function Ee(){return ne(ne({},_e()),{},{name:{type:String,default:""},initLog:{type:Array,default:function(){return null}},context:{type:String,default:"/vue-web-terminal"},contextSuffix:{type:String,default:" > "},commandStore:Array,commandSortHandler:Function,showHeader:{type:Boolean,default:!0},enableHelpBox:{type:Boolean,default:!0},inputFilter:Function,dragConf:Object,commandFormatter:Function,scrollMode:{type:String,default:"smooth"},pushMessageBefore:Function,logSizeLimit:{type:Number,default:200},enableDefaultCommand:{type:Boolean,default:!0},lineSpace:{type:Number,default:15},cursorStyle:{type:String,default:function(){return"block"}},enableCursorBlink:{type:Boolean,default:!0},enableFold:{type:Boolean,default:!0},enableHoverStripe:{type:Boolean,default:!1},enableInputTips:{type:Boolean,default:!0},inputTipsSelectHandler:Function,inputTipsSearchHandler:Function})}var ke=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"t-header"},[r("span",{staticClass:"t-header-title t-disable-select",on:{click:function(t){return e._triggerClick("title")}}},[e._v(" "+e._s(e.title)+" ")]),r("ul",{staticClass:"t-shell-dots"},[r("li",{staticClass:"shell-dot-item t-shell-dots-red",on:{click:function(t){return e._triggerClick("close")}}},[r("svg",{staticClass:"t-shell-dot",attrs:{t:"1719914784910",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7341",width:"10",height:"10"}},[r("path",{attrs:{d:"M803.84 863.744c-8.704 0-16.896-3.584-23.552-10.24L512 585.728l-267.264 267.264c-6.656 6.656-14.336 10.24-23.04 10.24-12.288 0-25.088-7.168-39.424-21.504-14.848-14.848-21.504-27.648-21.504-39.936 0-8.704 3.584-16.384 10.752-23.04L438.272 512 170.496 244.224c-25.6-26.112 0-52.736 9.728-62.464 11.776-11.776 25.088-23.04 39.424-23.04 8.192 0 16.384 3.584 24.576 11.264L512 438.272l267.776-267.264c7.168-7.168 15.36-10.752 23.552-10.752 12.288 0 24.064 7.168 40.96 23.552 11.264 11.264 35.328 35.328 9.216 60.928L585.728 512l267.264 267.264c23.04 23.04 9.216 44.032-9.216 62.976-13.824 14.336-27.648 21.504-39.936 21.504z","p-id":"7342",fill:"#1413139c"}})])]),r("li",{staticClass:"shell-dot-item t-shell-dots-yellow"}),r("li",{staticClass:"shell-dot-item t-shell-dots-green",on:{click:function(t){return e._triggerClick("fullscreen")}}},[r("svg",{staticClass:"t-shell-dot",attrs:{t:"1719914741670",viewBox:"0 0 1027 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7131",width:"10",height:"10"}},[r("path",{attrs:{d:"M403.456 549.888l-173.568 173.568v-123.392c0-8.192-6.656-14.848-14.848-14.848H143.872c-8.192 0-14.848 6.656-14.848 14.848v237.056c0 31.744 26.112 57.344 57.344 57.344h237.568c8.192 0 14.848-6.656 14.848-14.848V808.96c0-8.192-6.656-14.848-14.848-14.848H302.08l173.056-173.056c5.632-5.632 5.632-14.848 0-20.48l-50.688-50.688c-6.144-5.632-15.36-5.632-20.992 0zM894.464 254.464V186.88c0.512-31.744-25.6-57.344-56.832-57.344h-237.568c-7.68 0-14.336 6.144-14.336 14.336v72.192c0 7.68 6.144 14.336 14.336 14.336h123.904l-169.984 168.96c-5.632 5.632-5.632 14.336 0 19.968L605.696 471.04c5.632 5.632 14.336 5.632 19.968 0L793.6 302.592v120.832c0 7.68 6.144 14.336 14.336 14.336h72.192c7.68 0 14.336-6.144 14.336-14.336v-168.96z","p-id":"7132",fill:"#1413139c"}})])])]),e.draggable?r("div",{staticClass:"t-header-pin",on:{click:function(t){return e._triggerClick("pin")}}},[e.pinned?r("svg",{staticClass:"icon",attrs:{t:"1683254395548",viewBox:"0 0 1025 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4113",width:"18",height:"18"}},[r("path",{staticClass:"t-shell-pin-icon",attrs:{d:"M320 839.68l-238.592 174.08c-8.704 6.656-19.456 9.728-29.696 9.728-12.8 0-26.112-5.12-35.84-14.848-17.92-17.92-20.48-46.08-5.12-66.56l212.992-288.256L56.32 487.424C39.936 471.04 36.864 445.44 48.128 425.472c8.192-12.8 76.8-112.64 229.376-75.264 2.56 0.512 5.12 0.512 8.192 1.024 6.144 0.512 13.312 1.024 20.992 2.56 32.256 5.12 89.6-20.48 139.264-62.976 47.616-40.448 78.336-87.552 78.336-120.32 0-7.68 0-15.872-0.512-23.552-1.024-30.72-3.072-77.824 31.744-112.64 41.472-41.472 107.52-45.056 153.088-7.68 1.024 0.512 1.536 1.536 2.56 2.56 24.576 24.064 276.48 275.968 279.04 278.528 21.504 21.504 33.792 50.688 33.792 81.408s-11.776 59.392-33.792 80.896c-34.816 34.816-82.432 33.28-113.664 31.744-7.168 0-15.36-0.512-23.04-0.512-30.72 0-67.584 21.504-103.936 60.928-50.688 55.296-81.92 126.464-79.36 158.72 1.024 10.24 3.072 28.16 3.584 30.72 36.864 149.504-62.976 217.6-74.752 225.28-20.48 12.288-46.592 9.216-62.976-7.168l-165.376-165.376-50.688 35.328z",fill:"#65ff2e","p-id":"4114"}})]):r("svg",{staticClass:"icon",attrs:{t:"1683166931100",viewBox:"0 0 1025 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2638",width:"18",height:"18"}},[r("path",{staticClass:"t-shell-pin-icon",attrs:{d:"M51.196068 1024c-13.021992 0-26.0184-5.091113-36.021541-15.094254-18.113104-18.164271-20.262117-46.050265-5.091113-66.337966l213.059228-288.325828-166.983379-166.983379C39.862586 470.961896 36.639068 445.48075 48.305135 425.2698c7.982046-12.612656 76.699275-112.82315 229.483822-75.010766 2.532765 0.307002 5.270197 0.537253 8.212297 0.793088 6.267953 0.537253 13.277827 1.17684 20.87612 2.404847 32.33752 5.244614 89.516599-20.722619 139.148552-63.037697 47.559691-40.49865 78.285451-87.751339 78.285451-120.344693 0-7.57271-0.179084-15.631507-0.358169-23.536802-1.279174-30.623426-3.223519-77.697031 31.979351-112.874317 41.649907-41.701074 107.552953-45.05251 153.270633-7.854129 0.921005 0.741921 1.76526 1.535009 2.583932 2.379264l-0.025583 0c24.585725 24.048472 276.608594 275.815506 279.243692 278.476188 21.694792 21.694792 33.642277 50.527374 33.693444 81.176384 0.025583 30.674593-11.896319 59.456009-33.539943 81.099634-35.023785 35.049369-82.353225 33.053857-113.565071 31.723516-7.393626-0.153501-15.478006-0.332585-23.025133-0.332585-30.828094 0-67.69389 21.592458-103.715431 60.760767-50.808793 55.260318-82.09739 126.63823-79.411124 158.617581 1.125673 10.258976 3.223519 28.37208 3.607271 30.930428 36.891379 149.612195-63.114447 217.843339-74.627013 225.109047-20.697036 12.484739-46.357267 9.389137-63.012113-7.240125l-178.393611-178.393611c-10.003141-10.003141-10.003141-26.171901 0-36.175042s26.171901-10.003141 36.175042 0l178.393611 178.393611c7.854129-5.091113 80.101878-54.646315 51.320462-171.76749-0.51167-2.35368-3.044434-23.562386-4.374775-35.970374-4.298025-51.115795 35.586622-136.027367 92.688951-198.118475 32.439854-35.254036 83.27423-77.287695 141.348731-77.287695 7.905296 0 16.399011 0.179084 24.662475 0.358169 32.41427 1.355924 58.048918 0.972172 75.77827-16.782763 11.973069-11.973069 18.548024-27.885994 18.548024-44.847842-0.025583-17.013015-6.677288-33.00269-18.701524-45.05251C952.220677 340.23031 683.849964 72.243349 675.944668 64.645055c-24.278723-19.724864-60.7096-17.882853-83.785899 5.21903-17.908437 17.908437-18.317772 43.491917-17.013015 75.087516 0.204668 8.800717 0.383752 17.243266 0.383752 25.148562 0 48.378362-35.995957 107.936705-96.270638 159.282751-49.478452 42.135993-122.979792 83.811483-180.491457 74.60143-6.293536-1.023339-12.049819-1.509425-17.192099-1.944345-3.325852-0.281418-6.421454-0.562837-9.312387-0.921005-2.456014-0.07675-4.860861-0.537253-7.188958-1.304758-117.760762-29.037251-167.597382 43.44075-172.893163 51.806549l182.742803 182.026466c8.954218 8.954218 10.028724 23.101883 2.481598 33.309692L51.170485 973.114457l238.617125-174.530506c11.435816-8.365798 27.425491-5.80745 35.740123 5.602782s5.80745 27.399908-5.602782 35.714539l-238.821793 174.12117C72.148939 1020.699731 61.685295 1024 51.196068 1024z",fill:"#e6e6e6","p-id":"2639"}})])]):e._e()])},Ce=[],je={name:"THeader",props:ne(ne({},_e()),{},{pinned:Boolean,draggable:Boolean,fullscreenState:Boolean}),methods:{_triggerClick:function(e){this.$emit("on-click",e)}}},Oe=je;r("35ad");function Ie(e,t,r,n,i,o,a,s){var c,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=r,l._compiled=!0),n&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),a?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},l._ssrRegister=c):i&&(c=s?function(){i.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:i),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(e,t){return c.call(t),u(e,t)}}else{var f=l.beforeCreate;l.beforeCreate=f?[].concat(f,c):[c]}return{exports:e,options:l}}var Ae=Ie(Oe,ke,Ce,!1,null,"6d3f165f",null),Re=Ae.exports,Fe=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("span",{staticClass:"t-json-container",staticStyle:{position:"relative"}},[r("json-viewer",{key:e.idx+"_"+e.item.depth,attrs:{"expand-depth":e.item.depth,sort:"",copyable:"",expanded:"",value:e._parseToJson(e.item.content)}}),r("select",{directives:[{name:"model",rawName:"v-model",value:e.item.depth,expression:"item.depth"}],staticClass:"t-json-deep-selector",on:{change:function(t){var r=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.$set(e.item,"depth",t.target.multiple?r:r[0])}}},[r("option",{attrs:{value:"",disabled:"",selected:"",hidden:"",label:"Choose a display deep"}}),e._l(e.jsonViewDepth,(function(e){return r("option",{key:e,attrs:{label:"Deep "+e},domProps:{value:e}})}))],2)],1)},De=[],$e={name:"TViewJson",data:function(){return{jsonViewDepth:[1,2,3,4,5,6,7,8,9,10]}},props:Pe(),methods:{_parseToJson:function(e){return j(e)}}},Le=$e,Me=Ie(Le,Fe,De,!1,null,"7066d520",null),Te=Me.exports,Ne=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("span",{staticClass:"t-content-normal"},[e._nonEmpty(null==e.item.tag?e.item.class:e.item.tag)?r("span",{class:e.item.class,staticStyle:{"margin-right":"10px"}},[e._v(e._s(null==e.item.tag?e.item.class:e.item.tag))]):e._e(),r("span",{domProps:{innerHTML:e._s(e.item.content)}})])},ze=[],Ve={name:"TViewNormal",props:Pe(),methods:{_nonEmpty:function(e){return y(e)}}},Be=Ve,Ue=Ie(Be,Ne,ze,!1,null,"4e6b5f67",null),qe=Ue.exports,He=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"t-code"},[e.highlightjsConf()?r("div",{staticClass:"t-vue-highlight"},[r("highlightjs",{ref:"highlightjs",attrs:{autodetect:"",code:e.item.content}})],1):e.codemirrorConf()?r("div",{staticClass:"t-vue-codemirror"},[r("codemirror",{ref:"codemirror",attrs:{options:e.codemirrorConf()},model:{value:e.item.content,callback:function(t){e.$set(e.item,"content",t)},expression:"item.content"}})],1):r("div",{staticClass:"t-code-default"},[r("pre",{staticStyle:{padding:"1em",margin:"0"}},[r("code",{staticStyle:{"font-size":"15px"}},[e._v(e._s(e.item.content))])])])])},We=[],Ge={name:"TViewCode",props:Pe(),methods:{highlightjsConf:function(){return fe().highlight},codemirrorConf:function(){return fe().codemirror}}},Ke=Ge,Qe=Ie(Ke,He,We,!1,null,"b22fbab2",null),Je=Qe.exports,Ye=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("table",{staticClass:"t-table t-border-dashed"},[r("thead",[r("tr",{staticClass:"t-border-dashed"},e._l(e.item.content.head,(function(t){return r("td",{key:t,staticClass:"t-border-dashed"},[e._v(e._s(t))])})),0)]),r("tbody",e._l(e.item.content.rows,(function(t,n){return r("tr",{key:n,staticClass:"t-border-dashed"},e._l(t,(function(t,n){return r("td",{key:n,staticClass:"t-border-dashed"},[r("div",{domProps:{innerHTML:e._s(t)}})])})),0)})),0)])},Xe=[],Ze={name:"TViewTable",props:Pe()},et=Ze,tt=Ie(et,Ye,Xe,!1,null,"59a5f122",null),rt=tt.exports,nt=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{ref:"terminalHelpBox",staticClass:"t-cmd-help",style:"top: "+e.top+"px;max-height: calc(100% - "+e.top+"px);"},[e.content.description?r("div",{staticClass:"t-cmd-help-des",domProps:{innerHTML:e._s(e.content.description)}}):e._e(),null!=e.content.example&&e.content.example.length>0?r("div",e._l(e.content.example,(function(t,n){return r("div",{key:n},[1===e.content.example.length?r("div",[r("span",[e._v("Example: "),r("code",{staticClass:"t-code-inline"},[e._v(e._s(t.cmd))]),e._v(" "+e._s(t.des))])]):r("div",[r("div",{staticClass:"t-cmd-help-eg"},[e._v(" eg"+e._s(e.content.example.length>1?n+1:"")+": ")]),r("div",{staticClass:"t-cmd-help-example"},[r("ul",{staticClass:"t-example-ul"},[r("li",{staticClass:"t-example-li"},[r("code",{staticClass:"t-code-inline"},[e._v(e._s(t.cmd))])]),r("li",{staticClass:"t-example-li"},[null!=t.des?r("span",{staticClass:"t-cmd-help-des-item"},[e._v(e._s(t.des))]):e._e()])])])])])})),0):e._e()])},it=[],ot={name:"THelpBox",props:{top:Number,content:Object},methods:{_screenType:function(){return b()},getBoundingClientRect:function(){var e=this.$refs.terminalHelpBox;if(e)return e.getBoundingClientRect()}}},at=ot,st=Ie(at,nt,it,!1,null,"90295d50",null),ct=st.exports,lt=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"t-editor"},[r("textarea",{directives:[{name:"model",rawName:"v-model",value:e.config.value,expression:"config.value"}],ref:"textEditor",staticClass:"t-text-editor",attrs:{name:"editor"},domProps:{value:e.config.value},on:{focus:e.config.onFocus,blur:e.config.onBlur,input:function(t){t.target.composing||e.$set(e.config,"value",t.target.value)}}}),r("div",{staticClass:"t-text-editor-floor",attrs:{align:"center"}},[r("button",{staticClass:"t-text-editor-floor-btn t-close-btn",attrs:{title:"Cancel Edit"},on:{click:function(t){return e.$emit("close",!1)}}},[e._v("Cancel")]),r("button",{staticClass:"t-text-editor-floor-btn t-save-btn",attrs:{title:"Save And Close"},on:{click:function(t){return e.$emit("close",!0)}}},[e._v("Save & Close")])])])},ut=[],ft={name:"TEditor",props:{config:Object},methods:{focus:function(){this.$refs.textEditor.focus()}}},ht=ft,pt=(r("8508"),Ie(ht,lt,ut,!1,null,"7bf1e77a",null)),dt=pt.exports,mt=r("525b"),vt="\0",gt="",yt="",bt=yt+"[",wt=yt+"]",xt=yt+"^",St=yt+"=",_t=yt+">",Pt=yt+"(",Et=yt+")",kt=yt+"*",Ct=yt+"+",jt=yt+"%",Ot=yt+"#";function It(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"windows",r=[""],n={attachStyle:"",styleFlag:{}},i={dom:null,attachStyle:""};function o(){if(!i.dom)return"";var e=document.createElement("div");e.appendChild(i.dom);var t=e.innerHTML;return e=null,t}function a(e,t,r){var n=document.createElement("span");n.className=e,n.style=t,n.innerText=r,i.dom=n,i.attachStyle=t}function s(){i.dom&&(r[r.length-1]=r[r.length-1]+o(),i.dom=null,i.attachStyle="")}function c(){s(),r[r.length-1]='<div class="t-ansi-line">'+r[r.length-1]+"</div>",r.push("")}function l(e){try{var t,s=e.split(""),c=f(s);try{for(c.s();!(t=c.n()).done;){var l=t.value,u="t-ansi-char";n.styleFlag.length>0&&n.styleFlag.forEach((function(e){return u+=" t-ansi-"+parseInt(e)}));var h=void 0;i.dom?u===i.dom.className&&n.attachStyle===i.attachStyle?i.dom.innerText+=l:(h=o(),a(u,n.attachStyle,l)):a(u,n.attachStyle,l),h&&(r[r.length-1]=r[r.length-1]+h)}}catch(p){c.e(p)}finally{c.f()}}catch(d){console.error("Can not fill char: "+e.toString(),d)}}for(var u=Array.from(e),h=0;h<u.length;h++){var p=u[h];if(p!==vt)if(p!==yt)"\r"!==p?"\n"!==p?"\b"!==p&&("\t"!==p?p>="\0"&&p<=""||l(p):l(" ".repeat(4))):c():"windows"===t?h+1<u.length&&"\n"===u[h+1]?(c(),h++):c():"mac"===t&&c();else{var d=e.substring(h,h+2),m=h;if(d===bt){var v=/[@ABCDEFGHIJKLMPSTXZ`"bcdfghilmnpqrstwxz]/,g=void 0;m=h+1;while(m<u.length-1){var y=u[++m];if(v.test(y.toString())){if("`"===y&&m+1<u.length){var b=u[m+1];if(/[wz{|]/.test(b.toString())){g=y+b,m++;break}}else if('"'===y&&m+1<u.length){var w=u[m+1];if(/[pq]/.test(w.toString())){g=y+w,m++;break}}else if("&"===y&&m+1<u.length){var x=u[m+1];if("w"===x){g=y+x,m++;break}}g=y;break}}var S=e.substring(h,m+1);if("m"===g){var _=S.substring(2,S.length-1);0===_.length&&(_="0"),n.styleFlag=[];var P,E=f(_.split(";"));try{for(E.s();!(P=E.n()).done;){var k=P.value,C=parseInt(k);0===C?(n.attachStyle="",n.styleFlag=[]):n.styleFlag.push(C)}}catch(I){E.e(I)}finally{E.f()}3===n.styleFlag.length&&(38===n.styleFlag[0]&&5===n.styleFlag[1]?(n.attachStyle+="color:".concat(mt["c"+n.styleFlag[2]],";"),n.styleFlag=[]):48===n.styleFlag[0]&&5===n.styleFlag[1]?(n.attachStyle+="background-color:".concat(mt["c"+n.styleFlag[2]],";"),n.styleFlag=[]):n.attachStyle="")}}else if(d===wt){var j=h+1;while(j<=u.length){if(j++,u[j]===gt){m=j;break}if(u[j]===yt&&"\\"===u[j]){m=j+1;break}}}else if(d===xt){var O=h+1;while(O<u.length)if(++O,"\\"===u[O])break;m=O}else d===St||d===_t?m=h+1:(d===Pt||d===Et||kt||Ct||d===jt||d===Ot)&&(m=h+2);h=m}}return s(),r.join("")}var At=0;function Rt(){return At++,"terminal_".concat(At)}var Ft=19,Dt={name:"Terminal",components:{THelpBox:ct,TViewNormal:qe,THeader:Re,TViewJson:Te,TViewCode:Je,TViewTable:rt,TEditor:dt},data:function(){var e=this;return{command:"",commandLog:[],cursorConf:{defaultWidth:7,width:7,left:"unset",top:"unset",idx:0,show:!1},byteLen:{init:!1,en:8,cn:13},showInputLine:!0,terminalLog:[],logSize:0,allCommandStore:[],fullscreenState:!1,inputBoxParam:{boxWidth:0,boxHeight:0,promptWidth:0,promptHeight:0},flash:{open:!1,content:null},ask:{open:!1,question:null,isPassword:!1,callback:null,autoReview:!1,input:""},textEditor:{open:!1,focus:!1,value:"",onClose:null,onFocus:function(){e.textEditor.focus=!0},onBlur:function(){e.textEditor.focus=!1}},containerStyleStore:null,headerHeight:0,resizeObserver:null,tips:{open:!1,style:{opacity:100,top:0,left:0},cursorIdx:0,items:[],helpBox:{open:!1,lastRect:null},selectedIndex:0}}},props:Ee(),mounted:function(){var e=this;this.$emit("init-before",this.getName()),this._initContainerStyle(),this.initLog&&(this._newTerminalLogGroup("init"),this._pushMessage(this.initLog));var t=[];this.enableDefaultCommand&&(t=t.concat(h)),this.commandStore&&(this.commandSortHandler&&this.commandStore.sort(this.commandSortHandler),t=t.concat(this.commandStore)),this.allCommandStore=t;var r=this.$refs.terminalWindowRef;r.scrollTop=r.offsetHeight;var n=null;S(window,"click",this.clickListener=function(t){var r=!1,n=e.$refs.terminalContainerRef;n&&n.getBoundingClientRect&&k(t,n.getBoundingClientRect())&&(r=A(t.target,n,"t-container")||t.target&&t.target.classList.contains("t-text-editor-floor-btn")),e.isBlockCommandFocus()?e.cursorConf.show=!1:e.cursorConf.show=r,r?e._onActive():(e._closeTips(!1),e._onInactive())}),S(window,"keydown",this.keydownListener=function(t){if(e.isActive())try{var r=t.key.toLowerCase();if(r.match(/c|control|meta/g)){if(t.metaKey||t.ctrlKey)return;if("c"===r&&(t.metaKey||t.ctrlKey))return}if(e.tips.open&&"escape"===r)return void e._closeTips(!1);e.cursorConf.show&&("tab"===r?(e._selectTips(),t.preventDefault()):document.activeElement!==e.$refs.terminalCmdInputRef&&(e.$refs.terminalCmdInputRef.focus(),e._onInputKeydown(t)))}finally{e.$emit("on-keydown",t,e.getName())}}),S(r,"mousedown",(function(){var e=C(),t="";(!e.isCollapsed||(t=e.toString()).length>0)&&(n=t.length>0?t:e.toString(),n=n.replace(new RegExp(String.fromCharCode(160),"g")," "))})),S(r,"contextmenu",this.contextMenuClick=function(t){if(t.preventDefault(),n)return E(n),void(n=null);var r=P();r?r.then((function(t){if(t){t=t.trim();var r=e.command;e.command=r&&r.length?"".concat(r).concat(t):t,e._focus()}})).catch((function(e){console.error(e)})):e._focus()});var i=null;if(["fullscreenchange","webkitfullscreenchange","mozfullscreenchange"].forEach((function(t){S(window,t,(function(){var t=document.fullScreen||document.mozFullScreen||document.webkitIsFullScreen||document.fullscreenElement;t?(i=JSON.parse(JSON.stringify(e.containerStyleStore)),w()&&(e.containerStyleStore.width="100%",e.containerStyleStore.height="100%",e.containerStyleStore.left="0",e.containerStyleStore.top="0")):(e.fullscreenState=!1,i&&(e.containerStyleStore=i))}))})),R()||F()){var o=0;r.addEventListener("touchend",(function(){var t=(new Date).getTime();0===o?o=t:(new Date).getTime()-o<600?e._focus(!0):o=t}))}this.resizeObserver=new ResizeObserver((function(t){var r,n=f(t);try{for(n.s();!(r=n.n()).done;){var i=r.value;i.target===e.$refs.terminalHeaderRef&&e._updateHeaderHeight()}}catch(o){n.e(o)}finally{n.f()}})),this.$refs.terminalHeaderRef&&this.resizeObserver.observe(this.$refs.terminalHeaderRef),this._initDrag(),ae(this.getName(),this.terminalListener=function(t,r){if("pushMessage"===t)e._pushMessage(r);else if("appendMessage"===t)e._appendMessage(r);else if("fullscreen"===t)e._fullscreen();else{if("isFullscreen"===t)return e.fullscreenState;if("dragging"===t)e.isDraggable()?e._dragging(r.x,r.y):console.warn("Terminal is not draggable: "+e.getName());else if("execute"===t)!e.isBlockCommandFocus()&&y(r)&&(e.command=r.trim(),e._execute());else if("focus"===t)e._focus(r);else{if("elementInfo"===t)return e._getElementInfo();if("textEditorOpen"===t){var n=r||{};e.textEditor.value=n.content,e.textEditor.open=!0,e.textEditor.onClose=n.onClose,e._focus()}else{if("textEditorClose"===t)return e._textEditorClose(r);if("clearLog"===t)return e.clearLog(r);if("getCommand"===t)return e.getCommand();if("setCommand"===t)return e.setCommand(r);if("switchAllFoldState"===t)return e._switchAllFoldState(r);console.error("Unsupported event type '".concat(t,"' in instance ").concat(e.getName()))}}}}),this.$emit("init-complete",this.getName())},destroyed:function(){this.$emit("destroyed",this.getName()),_(window,"keydown",this.keydownListener),_(window,"click",this.clickListener),this.resizeObserver&&this.$refs.terminalHeaderRef&&(this.resizeObserver.unobserve(this.$refs.terminalHeaderRef),this.resizeObserver=null),se(this.getName())},watch:{context:{handler:function(){var e=this;this.$nextTick((function(){e._calculatePromptLen()}))}},name:{handler:function(e,t){ce(e||this.getName(),t||this._name,this.terminalListener)}},"dragConf.zIndex":function(e){this.containerStyleStore["z-index"]=e},showHeader:function(){this._updateHeaderHeight()}},computed:{WINDOW_STYLE:function(){return m},isEnableHelpBox:function(){return this.enableHelpBox&&this.tips.items[this.tips.selectedIndex]&&this.tips.items[this.tips.selectedIndex].command},selectedTipCommand:function(){var e=this.tips.items[this.tips.selectedIndex];return e?e.command:null}},methods:{_screenType:b,pushMessage:function(e){me(this.getName(),e)},fullscreen:function(){return ve(this.getName())},isFullscreen:function(){return ge(this.getName())},dragging:function(e){return ye(this.getName(),e)},execute:function(e){return be(this.getName(),e)},focus:function(){return we(this.getName())},elementInfo:function(){return this._getElementInfo()},textEditorClose:function(e){return xe(this.getName(),e)},textEditorOpen:function(e){return Se(this.getName(),e)},clearLog:function(e){e?T.clearLog(this.getName()):(this.terminalLog=[],this.logSize=0)},getCommand:function(){return this.command},setCommand:function(e){var t=this;if(this.ask.open)console.error("Cannot call 'setCommand' api in ask mode");else if(this.textEditor.open)console.error("Cannot call 'setCommand' api in editor mode");else{if(!this.flash.open)return e?(this.command=e.toString(),this.$nextTick((function(){t._resetCursorPos()}))):console.warn("The parameter received by the 'setCommand' api is undefined"),this.command;console.error("Cannot call 'setCommand' api in flash mode")}},switchAllFoldState:function(e){return this._switchAllFoldState(e)},getName:function(){return this.name?this.name:(this._name||(this._name=Rt()),this._name)},isPinned:function(){return this.dragConf&&this.dragConf.pinned},isDraggable:function(){return this.showHeader&&null!=this.dragConf},isActive:function(){return this.cursorConf.show||this.ask.open&&this.$refs.terminalAskInputRef===document.activeElement||this.textEditor.open&&this.textEditor.focus},isBlockCommandFocus:function(){return this.textEditor.open||this.flash.open||this.ask.open},_triggerClick:function(e){if("fullscreen"===e)this._fullscreen();else if("pin"===e&&this.showHeader){var t=this.dragConf.pinned||!1;this.dragConf.pinned=!t}this.$emit("on-click",e,this.getName())},_updateHeaderHeight:function(){var e=this;this.$nextTick((function(){var t=e.$refs.terminalHeaderRef;if(t&&t.getBoundingClientRect){var r=t.getBoundingClientRect();e.headerHeight=r.height}else e.headerHeight=0}))},_calculateByteLen:function(){if(!this.byteLen.init){var e=this.$refs.terminalEnFlagRef;if(e){var t=e.getBoundingClientRect();t&&t.width>0&&(this.byteLen={init:!0,en:t.width/10,cn:this.$refs.terminalCnFlagRef.getBoundingClientRect().width/10},this.cursorConf.defaultWidth=this.byteLen.en,this.byteLen.init=!0)}}},_calculatePromptLen:function(){var e=this.$refs.terminalInputPromptRef;if(e){var t=e.getBoundingClientRect();t.width>0&&(this.inputBoxParam.promptWidth=t.width,this.inputBoxParam.promptHeight=t.height)}},_searchCmd:function(){var e=this;if(this.enableInputTips)if(this.inputTipsSearchHandler)this.inputTipsSearchHandler(this.command,this.cursorConf.idx,this.allCommandStore,(function(t,r){e._updateTipsItems(t,r)}));else{var t=this.command.indexOf(" "),r=t<=0||this.cursorConf.idx<=t,n=this.command.trim().split(" ")[0];if(0===n.length)this._closeTips(!0);else{var i,o=new RegExp(n.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"ig"),a=[],s=f(this.allCommandStore);try{for(s.s();!(i=s.n()).done;){var c=i.value;if(y(c.key)){var l=c.key.match(o);if(l){var u=1e3*l.index+(n.length-l[0].length)+(c.key.length-l[0].length);a.push({item:c,keyword:c.key.split(l[0]).join('<span class="t-cmd-key">'.concat(l[0],"</span>")),score:u})}}}}catch(v){s.e(v)}finally{s.f()}if(a.length>0){a.sort((function(e,t){return e.score-t.score}));var h,p=[],d=f(a);try{for(d.s();!(h=d.n()).done;){var m=h.value;p.push({content:m.keyword,description:m.item.description,command:m.item})}}catch(v){d.e(v)}finally{d.f()}this._updateTipsItems(p,r)}else this._closeTips(!0)}}},_focus:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.$nextTick((function(){var t;this.ask.open?(t=this.$refs.terminalAskInputRef,this.cursorConf.show=!1):this.textEditor.open?(t=this.$refs.terminalTextEditorRef,this.cursorConf.show=!1):(!0===e&&(t=this.$refs.terminalCmdInputRef),this.cursorConf.show=!0),t&&t.focus(),this._onActive()}))},_printHelp:function(e,t){var r={head:["KEY","GROUP","DETAIL"],rows:[]},n=t&&t.length>1&&t.startsWith(":")?t.substring(1).toLowerCase():null;this.allCommandStore.forEach((function(t){if(n){if(g(t.group)||n!==t.group.toLowerCase())return}else if(!e.test(t.key))return;var i=[];i.push("<span class='t-cmd-key'>".concat(t.key,"</span>")),i.push(t.group);var o="";if(y(t.description)&&(o+="Description: ".concat(t.description,"<br>")),y(t.usage)&&(o+='Usage: <code class="t-code-inline">'.concat(v(t.usage),"</code><br>")),null!=t.example)for(var a in t.example.length>0&&(o+="<br>"),t.example){var s=t.example[a];o+='\n <div>\n <div class="t-cmd-help-eg">\n eg'.concat(parseInt(a)+1,':\n </div>\n <div class="t-cmd-help-example">\n <ul class="t-example-ul">\n <li class="t-example-li"><code class="t-code-inline">').concat(s.cmd,'</code></li>\n <li class="t-example-li"><span></span></li>\n '),y(s.des)&&(o+='<li class="t-example-li"><span>'.concat(s.des,"</span></li>")),o+="\n </ul>\n </div>\n </div>\n "}i.push(o),r.rows.push(i)})),this._pushMessage({type:p.TABLE,content:r})},_execute:function(){var e=this;if(this._closeTips(!0),this._saveCurCommand(),y(this.command))try{var t=this.command.split(" "),r=t[0];this.$emit("before-exec-cmd",r,this.command,this.getName());var n=function(){e.showInputLine=!1;var t=function(t){var r=function(){e._jumpToBottom(),e.showInputLine=!0,e._endExecCallBack()};if(null!=t){if(t instanceof X)return t.onFlush((function(t){e.flash.content=t})),t.onFinish((function(){e.flash.open=!1,r()})),void(e.flash.open=!0);if(t instanceof ee)return t.onAsk((function(t){e.ask.input="",e.ask.isPassword=t.isPassword,e.ask.question=v(t.question),e.ask.callback=t.callback,e.ask.autoReview=t.autoReview,e._focus(),e._jumpToBottom()})),t.onFinish((function(){e.ask.open=!1,r(),e._focus(!0)})),void(e.ask.open=!0);e._pushMessage(t)}r()},n=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Failed to execute.";null!=t&&e._pushMessage({type:p.NORMAL,class:d.ERROR,content:t}),e.showInputLine=!0,e._endExecCallBack()};e.$emit("exec-cmd",r,e.command,t,n,e.getName())};if(!this.enableDefaultCommand)return void n();switch(r){case"help":var i="^".concat(t.length>1&&y(t[1])?t[1]:"*","$");i=i.replace(/\*/g,".*"),this._printHelp(new RegExp(i,"i"),t[1]);break;case"clear":this.clearLog(2===t.length&&"history"===t[1]);break;case"open":O(t[1]);break;default:return void n()}}catch(o){console.error(o),this._pushMessage({type:p.NORMAL,class:d.ERROR,content:v(o.stack),tag:"error"})}this._endExecCallBack()},_endExecCallBack:function(){this.command="",this._resetCursorPos(),this.isActive()?(this._focus(),this.cursorConf.show=!0):this.cursorConf.show=!1,this._closeTips(!0)},_filterMessageType:function(e){var t=e.type&&/^(normal|html|code|table|json)$/.test(e.type);return t?e.type===p.JSON&&(e.depth||(e.depth=1)):(console.debug("Invalid terminal message type: ".concat(e.type,", the default type normal will be used")),e.type=p.NORMAL),t},_newTerminalLogGroup:function(e){var t={fold:!1,logs:[]};return e&&(t.tag=e),this.terminalLog.push(t),t},_pushMessage:function(e){var t=this;if(e){if(e instanceof Array){var r,n=f(e);try{for(n.s();!(r=n.n()).done;){var i=r.value;this._pushMessage0(i,!1)}}catch(o){n.e(o)}finally{n.f()}return this._checkLogSize(),void this._jumpToBottom()}"string"===typeof e&&(e={type:p.NORMAL,content:e}),e.type===p.ANSI&&(e.type=p.HTML,e.content=It(e.content)),this._pushMessage0(e),this._jumpToBottom(),e.type===p.JSON&&setTimeout((function(){t._jumpToBottom()}),80)}},_pushMessage0:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this._filterMessageType(e),e.type!==p.CMD_LINE&&this.pushMessageBefore&&this.pushMessageBefore(e,this.getName());var r=this.terminalLog.length;0===r&&this._newTerminalLogGroup(),r=this.terminalLog.length;var n=this.terminalLog[r-1];n.logs.push(e),this.logSize++,t&&this._checkLogSize()},_checkLogSize:function(){if(this.logSizeLimit<=0)console.warn("Invalid attribute 'log-size-limit':",this.logSizeLimit);else{var e=Math.floor(1.1*this.logSizeLimit),t=this.logSize-e;while(t>0){var r=this.terminalLog[0],n=t-r.logs.length;n>=0?(this.terminalLog.splice(0,1),this.logSize-=r.logs.length):(r.logs.splice(0,t),r.fold=!1,this.logSize-=t),t=n}}},_appendMessage:function(e){for(var t,r=this.terminalLog.length-1;r>=0;r--){for(var n=this.terminalLog[r],i=n.logs.length-1;i>=0;i--){var o=n.logs[i];if(o.type!==p.CMD_LINE){t=o;break}}if(t)break}t?t.type===p.NORMAL||t.type===p.ANSI||t.type===p.CODE||t.type===p.HTML?t.content+=e:(console.warn("The last message type is ".concat(t.type,", can not append it and then push it.")),this._pushMessage(e)):this._pushMessage(e)},_jumpToBottom:function(){var e=this;this.$nextTick((function(){var t=e.$refs.terminalWindowRef;null!=t&&t.scrollTo({top:t.scrollHeight,behavior:e.scrollMode})}))},_saveCurCommand:function(){y(this.command)&&T.pushCmd(this.getName(),this.command);var e=this._newTerminalLogGroup();e.logs.push({type:p.CMD_LINE,content:"".concat(v(this.context)).concat(this.contextSuffix).concat(this._commandFormatter(this.command))}),this._jumpToBottom()},_resetCursorPos:function(e){this._calculateByteLen();var t=this.$refs.terminalCmdInputRef;t&&(t.focus(),t.setSelectionRange(this.command.length,this.command.length)),this.cursorConf.idx=(null==e?this.command:e).length,this.cursorConf.left="unset",this.cursorConf.top="unset",this.cursorConf.width=this.cursorConf.defaultWidth,this._calculateTipsPos()},_calculateCursorPos:function(e){var t=this.cursorConf.idx,r=null==e?this.command:e;if(this._calculateByteLen(),t<0||t>=r.length)this._resetCursorPos();else{0===this.inputBoxParam.promptWidth&&this._calculatePromptLen();for(var n=this.$refs.terminalInputBoxRef.getBoundingClientRect().width,i={left:0,top:0},o=this.cursorConf.defaultWidth,a=this.inputBoxParam.promptWidth,s=0;s<=t;s++)o=this._calculateStringWidth(r[s]),i.left+=a,a=o,i.left>n&&(i.top+=Ft,i.left=o);this.cursorConf.left=i.left+"px",this.cursorConf.top=i.top+"px",this.cursorConf.width=o,this._calculateTipsPos()}},_cursorGoLeft:function(){this.cursorConf.idx>0&&this.cursorConf.idx--,this._calculateCursorPos()},_cursorGoRight:function(){this.cursorConf.idx<this.command.length&&this.cursorConf.idx++,this._calculateCursorPos()},_inputKeyUp:function(){if(this.tips.open){var e=this.tips.selectedIndex;e>0?e--:e=this.tips.items.length-1,this._switchTipsSelectedIdx(e)}else this._switchPreCmd()},_inputKeyDown:function(){if(this.tips.open){var e=this.tips.selectedIndex;e<this.tips.items.length-1?e++:e=0,this._switchTipsSelectedIdx(e)}else this._switchNextCmd()},_switchTipsSelectedIdx:function(e){var t=this.$refs.terminalCmdTipsRef.querySelector(".t-cmd-tips-item:nth-child("+(e+1)+")");t&&t.scrollIntoView({block:"start",behavior:"smooth"}),this.tips.selectedIndex=e;var r=this.$refs.terminalCmdInputRef;r&&r.setSelectionRange(this.tips.cursorIdx,this.tips.cursorIdx)},_switchPreCmd:function(){var e=T.getLog(this.getName()),t=T.getIdx(this.getName());0!==e.length&&t>0&&(t-=1,this.command=null==e[t]?[]:e[t]),this._resetCursorPos(),T.setIdx(this.getName(),t),this._searchCmd()},_switchNextCmd:function(){var e=T.getLog(this.getName()),t=T.getIdx(this.getName());0!==e.length&&t<e.length-1?(t+=1,this.command=null==e[t]?[]:e[t]):(t=e.length,this.command=""),this._resetCursorPos(),T.setIdx(this.getName(),t),this._searchCmd()},_calculateStringWidth:function(e){var t,r=0,n=f(e);try{for(n.s();!(t=n.n()).done;){var i=t.value;r+=1===x(i)?this.byteLen.en:this.byteLen.cn}}catch(o){n.e(o)}finally{n.f()}return r},_onInput:function(e){var t=this;if(null!=this.inputFilter){var r=e.target.value,n=this.inputFilter(e.data,r,e);null==n&&(n=r),this.command=n}g(this.command)?this._closeTips(!0):this._searchCmd(),this._calculateTipsPos(),this.$nextTick((function(){t._checkInputCursor(),t._calculateCursorPos();var e=t.$refs.terminalCursorRef.getBoundingClientRect(),r=t.tips.helpBox.lastRect||(t.$refs.terminalHelpBoxRef?t.$refs.terminalHelpBoxRef.getBoundingClientRect():null);e&&r&&k({x:e.x+2*t.byteLen.en,y:e.y+Ft},r)?(t.tips.helpBox.open=!1,t.tips.helpBox.lastRect=r):(t.tips.helpBox.open=!0,t.tips.helpBox.lastRect=null)}))},_checkInputCursor:function(){var e=this.$refs.terminalCmdInputRef;e.selectionStart!==this.cursorConf.idx&&(this.cursorConf.idx=e.selectionStart)},_onInputKeydown:function(e){var t=e.key.toLowerCase();"arrowleft"===t?(this._checkInputCursor(),this._cursorGoLeft()):"arrowright"===t&&(this._checkInputCursor(),this._cursorGoRight())},_onInputKeyup:function(e){var t=e.key.toLowerCase(),r=e.code.toLowerCase();("home"===t||"end"===t||"altleft"===r||"metaleft"===r||"controlleft"===r||(e.ctrlKey||e.metaKey||e.altKey)&&("arrowright"===t||"arrowleft"===t))&&(this._checkInputCursor(),this._calculateCursorPos())},_fullscreen:function(){var e=this.$refs.terminalContainerRef;this.fullscreenState?document.exitFullscreen?document.exitFullscreen():document.webkitCancelFullScreen?document.webkitCancelFullScreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.msExitFullscreen&&document.msExitFullscreen():e.requestFullscreen?e.requestFullscreen():e.webkitRequestFullScreen?e.webkitRequestFullScreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.msRequestFullscreen&&e.msRequestFullscreen(),this.fullscreenState=!this.fullscreenState},_initContainerStyle:function(){var e={};if(this.isDraggable()){var t=document.body.clientWidth,r=document.body.clientHeight,n=this.dragConf.width,i=null==n?700:n;n&&"string"===typeof n&&n.endsWith("%")&&(i=t*(parseInt(n)/100));var o=this.dragConf.height,a=null==o?500:o;o&&"string"===typeof o&&o.endsWith("%")&&(a=r*(parseInt(o)/100));var s,c,l=this.dragConf.zIndex?this.dragConf.zIndex:100,u=this.dragConf.init;u&&u.x&&u.y?(s=u.x,c=u.y):(s=(t-i)/2,c=(r-a)/2),e.position="fixed",e.width=i+"px",e.height=a+"px",e.left=s+"px",e.top=c+"px",e["z-index"]=l}else e.width="100%",e.height="100%";this.containerStyleStore=e},_getContainerStyle:function(){if(this.containerStyleStore){var e=[];for(var t in this.containerStyleStore)e.push("".concat(t,":").concat(this.containerStyleStore[t]));return e.join(";")}return""},_initDrag:function(){var e=this;if(this.isDraggable()){var t=0,r=0,n=this.$refs.terminalHeaderRef,i=this.$refs.terminalContainerRef,o=this.$refs.terminalWindowRef,a=!1,s=!1,c={minWidth:270,minHeight:180,type:"",boxX:0,boxY:0,boxWidth:0,boxHeight:0,cursorX:0,cursorY:0},l=function(e,t){s=!0,o.style["user-select"]="none",c.type=e,c.cursorX=t.clientX,c.cursorY=t.clientY,c.boxX=i.offsetLeft,c.boxY=i.offsetTop,c.boxWidth=i.clientWidth,c.boxHeight=i.clientHeight};S(n,"mousedown",(function(n){e.fullscreenState||(e._onActive(),t=n.clientX-i.offsetLeft,r=n.clientY-i.offsetTop,a=!0,o.style["user-select"]="none")})),S(this.$refs.resizeLTRef,"mousedown",(function(e){l("lt",e)})),S(this.$refs.resizeRTRef,"mousedown",(function(e){l("rt",e)})),S(this.$refs.resizeLBRef,"mousedown",(function(e){l("lb",e)})),S(this.$refs.resizeRBRef,"mousedown",(function(e){l("rb",e)})),S(document,"mousemove",(function(n){if(!e.isPinned()&&!e.fullscreenState)if(a){var i=n.clientX-t,o=n.clientY-r;e._dragging(i,o)}else if(s){var l=n.clientX-c.cursorX,u=n.clientY-c.cursorY;"rb"===c.type?(l=l<0?-Math.min(c.boxWidth-c.minWidth,-l):l,u=u<0?-Math.min(c.boxHeight-c.minHeight,-u):u,e.containerStyleStore.width=c.boxWidth+l+"px",e.containerStyleStore.height=c.boxHeight+u+"px"):"rt"===c.type?(l=l<0?-Math.min(c.boxWidth-c.minWidth,-l):l,u=u>0?Math.min(c.boxHeight-c.minHeight,u):u,e.containerStyleStore.width=c.boxWidth+l+"px",e.containerStyleStore.height=c.boxHeight-u+"px",e.containerStyleStore.top=Math.max(0,c.boxY+u)+"px"):"lb"===c.type?(l=l>0?Math.min(c.boxWidth-c.minWidth,l):l,u=u<0?-Math.min(c.boxHeight-c.minHeight,-u):u,e.containerStyleStore.width=c.boxWidth-l+"px",e.containerStyleStore.height=c.boxHeight+u+"px",e.containerStyleStore.left=Math.max(0,c.boxX+l)+"px"):"lt"===c.type&&(l=l>0?Math.min(c.boxWidth-c.minWidth,l):l,u=u>0?Math.min(c.boxHeight-c.minHeight,u):u,e.containerStyleStore.width=c.boxWidth-l+"px",e.containerStyleStore.height=c.boxHeight-u+"px",e.containerStyleStore.left=Math.max(0,c.boxX+l)+"px",e.containerStyleStore.top=Math.max(0,c.boxY+u)+"px"),e._onResize()}})),S(document,"mouseup",(function(){(a||s)&&e._onActive(),a=!1,s=!1,o.style["user-select"]="unset"}))}},_dragging:function(e,t){if(!this.isPinned()){var r,n,i=document.body.clientWidth,o=document.body.clientHeight,a=this.$refs.terminalContainerRef;r=e>i-a.clientWidth?i-a.clientWidth:Math.max(0,e),n=t>o-a.clientHeight?o-a.clientHeight:Math.max(0,t),this.dragConf&&(this.dragConf.init={x:r,y:n}),this.containerStyleStore.left=r+"px",this.containerStyleStore.top=n+"px"}},_commandFormatter:function(e){return this.commandFormatter?this.commandFormatter(e):I(e)},_onAskInput:function(){this.ask.autoReview&&this._pushMessage({content:this.ask.question+(this.ask.isPassword?"*".repeat(this.ask.input.length):this.ask.input)}),this.ask.question=null,this.ask.callback&&this.ask.callback(this.ask.input)},_textEditorClose:function(e){if(this.textEditor.open){this.textEditor.open=!1;var t=this.textEditor.value;return this.textEditor.value="",this.textEditor.onClose&&(this.textEditor.onClose(t,e),this.textEditor.onClose=null),this._focus(!0),t}},_onActive:function(){this.$emit("on-active",this.getName())},_onInactive:function(){this.$emit("on-inactive",this.getName())},_closeGroupFold:function(e){this.enableFold&&e.fold&&(e.fold=!1)},_enableFold:function(e){return this.enableFold&&"init"!==e.tag&&e.logs.length>1&&e.logs[0].type===p.CMD_LINE},_switchAllFoldState:function(e){var t=0;if(this.enableFold){var r,n=f(this.terminalLog);try{for(n.s();!(r=n.n()).done;){var i=r.value;this._enableFold(i)&&i.fold!==e&&(i.fold=e,t++)}}catch(o){n.e(o)}finally{n.f()}}else console.warn("Before using folding related functions, please set enable-fold to enable the folding function.");return t},_calculateTipsPos:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];t&&(this.tips.style.opacity=0,this.tips.cursorIdx=this.$refs.terminalCmdInputRef.selectionStart,this.tips.open=!0),this.tips.open&&this.$nextTick((function(){var t=e.$refs.terminalCursorRef.getBoundingClientRect(),r=e.$refs.terminalContainerRef.getBoundingClientRect(),n=e.$refs.terminalCmdTipsRef.getBoundingClientRect(),i=t.left-r.left,o=t.top-r.top,a=25,s=o+a,c=i;t.left+n.width>r.left+r.width&&(c-=n.width),t.top+n.height+a>r.top+r.height&&(s-=n.height+a),e.tips.style.top=s,e.tips.style.left=c,e.tips.style.opacity=100}))},_closeTips:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.tips.open=!1,e&&(this.tips.items=[],this.tips.selectedIndex=0)},_updateTipsItems:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.enableInputTips&&e&&e instanceof Array&&e.length>0?(this.tips.items=e,this.tips.selectedIndex=0,t?this._calculateTipsPos(!0):this.tips.open=!1):this._closeTips(!0)},_clickTips:function(e){e===this.tips.selectedIndex?this._selectTips():this.tips.selectedIndex=e},_selectTips:function(){var e=this;if(this.tips.open){var t=this.tips.items[this.tips.selectedIndex];this.inputTipsSelectHandler?this.inputTipsSelectHandler(this.command,this.cursorConf.idx,t,(function(t){t&&"string"===typeof t?(e.command=t,e._resetCursorPos(),e._jumpToBottom()):console.warn("'tipsSelectHandler' returns an invalid result, the expected return value is string type, got ".concat(c(t),"."))})):(this.command=t.command.key,this._resetCursorPos(),this._jumpToBottom())}},_getElementInfo:function(){var e=this.$refs.terminalWindowRef,t=e.getBoundingClientRect(),r=this.$refs.terminalContainerRef.getBoundingClientRect(),n=e.scrollHeight>e.clientHeight||e.offsetHeight>e.clientHeight,i=t.width-m.PADDING_RIGHT;n&&(i-=8),this.enableFold?i-=m.PADDING_LEFT_FOLD:i-=m.PADDING_LEFT;var o=t.height-m.PADDING_TOP-m.PADDING_BOTTOM-this.headerHeight;return{pos:{x:r.x,y:r.y},screenWidth:r.width,screenHeight:r.height,clientWidth:i,clientHeight:o,charWidth:{en:this.byteLen.en,cn:this.byteLen.cn}}},_onResize:D((function(){this.$emit("on-resize",this._getElementInfo(),this.getName())}),50)}},$t=Dt,Lt=$t,Mt=Ie(Lt,a,s,!1,null,"1fe682b6",null),Tt=Mt.exports,Nt=r("349e"),zt=r.n(Nt);Tt.install=function(e,t){e.use(zt.a),null!=t&&he(t),Tt.$api=de,Tt.$Flash=X,Tt.$Ask=ee,e.component(this.name,this)};var Vt=Tt,Bt=de,Ut=X,qt=ee;t["default"]=Vt},fb6a:function(e,t,r){"use strict";var n=r("23e7"),i=r("da84"),o=r("e8b5"),a=r("68ee"),s=r("861d"),c=r("23cb"),l=r("07fa"),u=r("fc6a"),f=r("8418"),h=r("b622"),p=r("1dde"),d=r("f36a"),m=p("slice"),v=h("species"),g=i.Array,y=Math.max;n({target:"Array",proto:!0,forced:!m},{slice:function(e,t){var r,n,i,h=u(this),p=l(h),m=c(e,p),b=c(void 0===t?p:t,p);if(o(h)&&(r=h.constructor,a(r)&&(r===g||o(r.prototype))?r=void 0:s(r)&&(r=r[v],null===r&&(r=void 0)),r===g||void 0===r))return d(h,m,b);for(n=new(void 0===r?g:r)(y(b-m,0)),i=0;m<b;m++,i++)m in h&&f(n,i,h[m]);return n.length=i,n}})},fc6a:function(e,t,r){var n=r("44ad"),i=r("1d80");e.exports=function(e){return n(i(e))}},fce3:function(e,t,r){var n=r("d039"),i=r("da84"),o=i.RegExp;e.exports=n((function(){var e=o(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}))},fdbc:function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(e,t,r){var n=r("4930");e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},fea9:function(e,t,r){var n=r("da84");e.exports=n.Promise}})}))},8529:function(e,t,r){"use strict";function n(e,t,r,n,i,o,a,s){var c,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=r,l._compiled=!0),n&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),a?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},l._ssrRegister=c):i&&(c=s?function(){i.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:i),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(e,t){return c.call(t),u(e,t)}}else{var f=l.beforeCreate;l.beforeCreate=f?[].concat(f,c):[c]}return{exports:e,options:l}}r.d(t,{A:function(){return n}})},419:function(e,t,r){"use strict";var n=r(6822),i=r(7716),o=TypeError;e.exports=function(e){if(n(e))return e;throw new o(i(e)+" is not a function")}},2679:function(e,t,r){"use strict";var n=r(8905),i=String,o=TypeError;e.exports=function(e){if(n(e))return e;throw new o("Can't set "+i(e)+" as a prototype")}},9792:function(e,t,r){"use strict";var n=r(7948),i=TypeError;e.exports=function(e,t){if(n(t,e))return e;throw new i("Incorrect invocation")}},5852:function(e,t,r){"use strict";var n=r(3489),i=String,o=TypeError;e.exports=function(e){if(n(e))return e;throw new o(i(e)+" is not an object")}},2672:function(e,t,r){"use strict";var n=r(7282),i=r(3429),o=r(2843),a=function(e){return function(t,r,a){var s=n(t),c=o(s);if(0===c)return!e&&-1;var l,u=i(a,c);if(e&&r!==r){while(c>u)if(l=s[u++],l!==l)return!0}else for(;c>u;u++)if((e||u in s)&&s[u]===r)return e||u||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},5950:function(e,t,r){"use strict";var n=r(2667),i=r(7829),o=TypeError,a=Object.getOwnPropertyDescriptor,s=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=s?function(e,t){if(i(e)&&!a(e,"length").writable)throw new o("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},3515:function(e,t,r){"use strict";var n=r(1671),i=n({}.toString),o=n("".slice);e.exports=function(e){return o(i(e),8,-1)}},2152:function(e,t,r){"use strict";var n=r(1515),i=r(6822),o=r(3515),a=r(6772),s=a("toStringTag"),c=Object,l="Arguments"===o(function(){return arguments}()),u=function(e,t){try{return e[t]}catch(r){}};e.exports=n?o:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=u(t=c(e),s))?r:l?o(t):"Object"===(n=o(t))&&i(t.callee)?"Arguments":n}},6055:function(e,t,r){"use strict";var n=r(6072),i=r(9814),o=r(3570),a=r(1152);e.exports=function(e,t,r){for(var s=i(t),c=a.f,l=o.f,u=0;u<s.length;u++){var f=s[u];n(e,f)||r&&n(r,f)||c(e,f,l(t,f))}}},2398:function(e,t,r){"use strict";var n=r(2667),i=r(1152),o=r(7477);e.exports=n?function(e,t,r){return i.f(e,t,o(1,r))}:function(e,t,r){return e[t]=r,e}},7477:function(e){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},7263:function(e,t,r){"use strict";var n=r(3660),i=r(1152);e.exports=function(e,t,r){return r.get&&n(r.get,t,{getter:!0}),r.set&&n(r.set,t,{setter:!0}),i.f(e,t,r)}},579:function(e,t,r){"use strict";var n=r(6822),i=r(1152),o=r(3660),a=r(1328);e.exports=function(e,t,r,s){s||(s={});var c=s.enumerable,l=void 0!==s.name?s.name:t;if(n(r)&&o(r,l,s),s.global)c?e[t]=r:a(t,r);else{try{s.unsafe?e[t]&&(c=!0):delete e[t]}catch(u){}c?e[t]=r:i.f(e,t,{value:r,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},1328:function(e,t,r){"use strict";var n=r(2750),i=Object.defineProperty;e.exports=function(e,t){try{i(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},2667:function(e,t,r){"use strict";var n=r(560);e.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8956:function(e,t,r){"use strict";var n=r(2750),i=r(3489),o=n.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},1756:function(e){"use strict";var t=TypeError,r=9007199254740991;e.exports=function(e){if(e>r)throw t("Maximum allowed index exceeded");return e}},8917:function(e){"use strict";e.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},7055:function(e){"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},4567:function(e,t,r){"use strict";var n,i,o=r(2750),a=r(7055),s=o.process,c=o.Deno,l=s&&s.versions||c&&c.version,u=l&&l.v8;u&&(n=u.split("."),i=n[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&a&&(n=a.match(/Edge\/(\d+)/),(!n||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/),n&&(i=+n[1]))),e.exports=i},3108:function(e){"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},6846:function(e,t,r){"use strict";var n=r(1671),i=Error,o=n("".replace),a=function(e){return String(new i(e).stack)}("zxcasd"),s=/\n\s*at [^:]*:[^\n]*/,c=s.test(a);e.exports=function(e,t){if(c&&"string"==typeof e&&!i.prepareStackTrace)while(t--)e=o(e,s,"");return e}},6071:function(e,t,r){"use strict";var n=r(2750),i=r(3570).f,o=r(2398),a=r(579),s=r(1328),c=r(6055),l=r(3859);e.exports=function(e,t){var r,u,f,h,p,d,m=e.target,v=e.global,g=e.stat;if(u=v?n:g?n[m]||s(m,{}):n[m]&&n[m].prototype,u)for(f in t){if(p=t[f],e.dontCallGetSet?(d=i(u,f),h=d&&d.value):h=u[f],r=l(v?f:m+(g?".":"#")+f,e.forced),!r&&void 0!==h){if(typeof p==typeof h)continue;c(p,h)}(e.sham||h&&h.sham)&&o(p,"sham",!0),a(u,f,p,e)}}},560:function(e){"use strict";e.exports=function(e){try{return!!e()}catch(t){return!0}}},1693:function(e,t,r){"use strict";var n=r(560);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},2486:function(e,t,r){"use strict";var n=r(1693),i=Function.prototype.call;e.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},2565:function(e,t,r){"use strict";var n=r(2667),i=r(6072),o=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,s=i(o,"name"),c=s&&"something"===function(){}.name,l=s&&(!n||n&&a(o,"name").configurable);e.exports={EXISTS:s,PROPER:c,CONFIGURABLE:l}},8259:function(e,t,r){"use strict";var n=r(1671),i=r(419);e.exports=function(e,t,r){try{return n(i(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(o){}}},1671:function(e,t,r){"use strict";var n=r(1693),i=Function.prototype,o=i.call,a=n&&i.bind.bind(o,o);e.exports=n?a:function(e){return function(){return o.apply(e,arguments)}}},7522:function(e,t,r){"use strict";var n=r(2750),i=r(6822),o=function(e){return i(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(n[e]):n[e]&&n[e][t]}},7147:function(e,t,r){"use strict";var n=r(419),i=r(636);e.exports=function(e,t){var r=e[t];return i(r)?void 0:n(r)}},2750:function(e,t,r){"use strict";var n=function(e){return e&&e.Math===Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},6072:function(e,t,r){"use strict";var n=r(1671),i=r(310),o=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(i(e),t)}},8646:function(e){"use strict";e.exports={}},4468:function(e,t,r){"use strict";var n=r(2667),i=r(560),o=r(8956);e.exports=!n&&!i((function(){return 7!==Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},1286:function(e,t,r){"use strict";var n=r(1671),i=r(560),o=r(3515),a=Object,s=n("".split);e.exports=i((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"===o(e)?s(e,""):a(e)}:a},2952:function(e,t,r){"use strict";var n=r(6822),i=r(3489),o=r(3508);e.exports=function(e,t,r){var a,s;return o&&n(a=t.constructor)&&a!==r&&i(s=a.prototype)&&s!==r.prototype&&o(e,s),e}},4459:function(e,t,r){"use strict";var n=r(1671),i=r(6822),o=r(5404),a=n(Function.toString);i(o.inspectSource)||(o.inspectSource=function(e){return a(e)}),e.exports=o.inspectSource},1528:function(e,t,r){"use strict";var n,i,o,a=r(2891),s=r(2750),c=r(3489),l=r(2398),u=r(6072),f=r(5404),h=r(8310),p=r(8646),d="Object already initialized",m=s.TypeError,v=s.WeakMap,g=function(e){return o(e)?i(e):n(e,{})},y=function(e){return function(t){var r;if(!c(t)||(r=i(t)).type!==e)throw new m("Incompatible receiver, "+e+" required");return r}};if(a||f.state){var b=f.state||(f.state=new v);b.get=b.get,b.has=b.has,b.set=b.set,n=function(e,t){if(b.has(e))throw new m(d);return t.facade=e,b.set(e,t),t},i=function(e){return b.get(e)||{}},o=function(e){return b.has(e)}}else{var w=h("state");p[w]=!0,n=function(e,t){if(u(e,w))throw new m(d);return t.facade=e,l(e,w,t),t},i=function(e){return u(e,w)?e[w]:{}},o=function(e){return u(e,w)}}e.exports={set:n,get:i,has:o,enforce:g,getterFor:y}},7829:function(e,t,r){"use strict";var n=r(3515);e.exports=Array.isArray||function(e){return"Array"===n(e)}},6822:function(e){"use strict";var t="object"==typeof document&&document.all;e.exports="undefined"==typeof t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},3859:function(e,t,r){"use strict";var n=r(560),i=r(6822),o=/#|\.prototype\./,a=function(e,t){var r=c[s(e)];return r===u||r!==l&&(i(t)?n(t):!!t)},s=a.normalize=function(e){return String(e).replace(o,".").toLowerCase()},c=a.data={},l=a.NATIVE="N",u=a.POLYFILL="P";e.exports=a},636:function(e){"use strict";e.exports=function(e){return null===e||void 0===e}},3489:function(e,t,r){"use strict";var n=r(6822);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},8905:function(e,t,r){"use strict";var n=r(3489);e.exports=function(e){return n(e)||null===e}},252:function(e){"use strict";e.exports=!1},7646:function(e,t,r){"use strict";var n=r(7522),i=r(6822),o=r(7948),a=r(6043),s=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return i(t)&&o(t.prototype,s(e))}},2843:function(e,t,r){"use strict";var n=r(7157);e.exports=function(e){return n(e.length)}},3660:function(e,t,r){"use strict";var n=r(1671),i=r(560),o=r(6822),a=r(6072),s=r(2667),c=r(2565).CONFIGURABLE,l=r(4459),u=r(1528),f=u.enforce,h=u.get,p=String,d=Object.defineProperty,m=n("".slice),v=n("".replace),g=n([].join),y=s&&!i((function(){return 8!==d((function(){}),"length",{value:8}).length})),b=String(String).split("String"),w=e.exports=function(e,t,r){"Symbol("===m(p(t),0,7)&&(t="["+v(p(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!a(e,"name")||c&&e.name!==t)&&(s?d(e,"name",{value:t,configurable:!0}):e.name=t),y&&r&&a(r,"arity")&&e.length!==r.arity&&d(e,"length",{value:r.arity});try{r&&a(r,"constructor")&&r.constructor?s&&d(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(i){}var n=f(e);return a(n,"source")||(n.source=g(b,"string"==typeof t?t:"")),e};Function.prototype.toString=w((function(){return o(this)&&h(this).source||l(this)}),"toString")},868:function(e){"use strict";var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?r:t)(n)}},36:function(e,t,r){"use strict";var n=r(2148);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:n(e)}},1152:function(e,t,r){"use strict";var n=r(2667),i=r(4468),o=r(3145),a=r(5852),s=r(9242),c=TypeError,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,f="enumerable",h="configurable",p="writable";t.f=n?o?function(e,t,r){if(a(e),t=s(t),a(r),"function"===typeof e&&"prototype"===t&&"value"in r&&p in r&&!r[p]){var n=u(e,t);n&&n[p]&&(e[t]=r.value,r={configurable:h in r?r[h]:n[h],enumerable:f in r?r[f]:n[f],writable:!1})}return l(e,t,r)}:l:function(e,t,r){if(a(e),t=s(t),a(r),i)try{return l(e,t,r)}catch(n){}if("get"in r||"set"in r)throw new c("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},3570:function(e,t,r){"use strict";var n=r(2667),i=r(2486),o=r(8658),a=r(7477),s=r(7282),c=r(9242),l=r(6072),u=r(4468),f=Object.getOwnPropertyDescriptor;t.f=n?f:function(e,t){if(e=s(e),t=c(t),u)try{return f(e,t)}catch(r){}if(l(e,t))return a(!i(o.f,e,t),e[t])}},5719:function(e,t,r){"use strict";var n=r(7401),i=r(3108),o=i.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,o)}},3694:function(e,t){"use strict";t.f=Object.getOwnPropertySymbols},7948:function(e,t,r){"use strict";var n=r(1671);e.exports=n({}.isPrototypeOf)},7401:function(e,t,r){"use strict";var n=r(1671),i=r(6072),o=r(7282),a=r(2672).indexOf,s=r(8646),c=n([].push);e.exports=function(e,t){var r,n=o(e),l=0,u=[];for(r in n)!i(s,r)&&i(n,r)&&c(u,r);while(t.length>l)i(n,r=t[l++])&&(~a(u,r)||c(u,r));return u}},8658:function(e,t){"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,i=n&&!r.call({1:2},1);t.f=i?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},3508:function(e,t,r){"use strict";var n=r(8259),i=r(3489),o=r(8939),a=r(2679);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{e=n(Object.prototype,"__proto__","set"),e(r,[]),t=r instanceof Array}catch(s){}return function(r,n){return o(r),a(n),i(r)?(t?e(r,n):r.__proto__=n,r):r}}():void 0)},4481:function(e,t,r){"use strict";var n=r(2486),i=r(6822),o=r(3489),a=TypeError;e.exports=function(e,t){var r,s;if("string"===t&&i(r=e.toString)&&!o(s=n(r,e)))return s;if(i(r=e.valueOf)&&!o(s=n(r,e)))return s;if("string"!==t&&i(r=e.toString)&&!o(s=n(r,e)))return s;throw new a("Can't convert object to primitive value")}},9814:function(e,t,r){"use strict";var n=r(7522),i=r(1671),o=r(5719),a=r(3694),s=r(5852),c=i([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=o.f(s(e)),r=a.f;return r?c(t,r(e)):t}},5578:function(e,t,r){"use strict";var n=r(5852);e.exports=function(){var e=n(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},8939:function(e,t,r){"use strict";var n=r(636),i=TypeError;e.exports=function(e){if(n(e))throw new i("Can't call method on "+e);return e}},8310:function(e,t,r){"use strict";var n=r(1300),i=r(2599),o=n("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},5404:function(e,t,r){"use strict";var n=r(252),i=r(2750),o=r(1328),a="__core-js_shared__",s=e.exports=i[a]||o(a,{});(s.versions||(s.versions=[])).push({version:"3.37.1",mode:n?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"})},1300:function(e,t,r){"use strict";var n=r(5404);e.exports=function(e,t){return n[e]||(n[e]=t||{})}},9474:function(e,t,r){"use strict";var n=r(4567),i=r(560),o=r(2750),a=o.String;e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol("symbol detection");return!a(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},3429:function(e,t,r){"use strict";var n=r(3790),i=Math.max,o=Math.min;e.exports=function(e,t){var r=n(e);return r<0?i(r+t,0):o(r,t)}},7282:function(e,t,r){"use strict";var n=r(1286),i=r(8939);e.exports=function(e){return n(i(e))}},3790:function(e,t,r){"use strict";var n=r(868);e.exports=function(e){var t=+e;return t!==t||0===t?0:n(t)}},7157:function(e,t,r){"use strict";var n=r(3790),i=Math.min;e.exports=function(e){var t=n(e);return t>0?i(t,9007199254740991):0}},310:function(e,t,r){"use strict";var n=r(8939),i=Object;e.exports=function(e){return i(n(e))}},8864:function(e,t,r){"use strict";var n=r(2486),i=r(3489),o=r(7646),a=r(7147),s=r(4481),c=r(6772),l=TypeError,u=c("toPrimitive");e.exports=function(e,t){if(!i(e)||o(e))return e;var r,c=a(e,u);if(c){if(void 0===t&&(t="default"),r=n(c,e,t),!i(r)||o(r))return r;throw new l("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},9242:function(e,t,r){"use strict";var n=r(8864),i=r(7646);e.exports=function(e){var t=n(e,"string");return i(t)?t:t+""}},1515:function(e,t,r){"use strict";var n=r(6772),i=n("toStringTag"),o={};o[i]="z",e.exports="[object z]"===String(o)},2148:function(e,t,r){"use strict";var n=r(2152),i=String;e.exports=function(e){if("Symbol"===n(e))throw new TypeError("Cannot convert a Symbol value to a string");return i(e)}},7716:function(e){"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(r){return"Object"}}},2599:function(e,t,r){"use strict";var n=r(1671),i=0,o=Math.random(),a=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++i+o,36)}},6043:function(e,t,r){"use strict";var n=r(9474);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3145:function(e,t,r){"use strict";var n=r(2667),i=r(560);e.exports=n&&i((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},1031:function(e){"use strict";var t=TypeError;e.exports=function(e,r){if(e<r)throw new t("Not enough arguments");return e}},2891:function(e,t,r){"use strict";var n=r(2750),i=r(6822),o=n.WeakMap;e.exports=i(o)&&/native code/.test(String(o))},6772:function(e,t,r){"use strict";var n=r(2750),i=r(1300),o=r(6072),a=r(2599),s=r(9474),c=r(6043),l=n.Symbol,u=i("wks"),f=c?l["for"]||l:l&&l.withoutSetter||a;e.exports=function(e){return o(u,e)||(u[e]=s&&o(l,e)?l[e]:f("Symbol."+e)),u[e]}},381:function(e,t,r){"use strict";var n=r(6071),i=r(310),o=r(2843),a=r(5950),s=r(1756),c=r(560),l=c((function(){return 4294967297!==[].push.call({length:4294967296},1)})),u=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}},f=l||!u();n({target:"Array",proto:!0,arity:1,forced:f},{push:function(e){var t=i(this),r=o(t),n=arguments.length;s(r+n);for(var c=0;c<n;c++)t[r]=arguments[c],r++;return a(t,r),r}})},2432:function(e,t,r){"use strict";var n=r(2750),i=r(2667),o=r(7263),a=r(5578),s=r(560),c=n.RegExp,l=c.prototype,u=i&&s((function(){var e=!0;try{c(".","d")}catch(u){e=!1}var t={},r="",n=e?"dgimsy":"gimsy",i=function(e,n){Object.defineProperty(t,e,{get:function(){return r+=n,!0}})},o={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in e&&(o.hasIndices="d"),o)i(a,o[a]);var s=Object.getOwnPropertyDescriptor(l,"flags").get.call(t);return s!==n||r!==n}));u&&o(l,"flags",{configurable:!0,get:a})},8360:function(e,t,r){"use strict";var n=r(6071),i=r(2750),o=r(7522),a=r(7477),s=r(1152).f,c=r(6072),l=r(9792),u=r(2952),f=r(36),h=r(8917),p=r(6846),d=r(2667),m=r(252),v="DOMException",g=o("Error"),y=o(v),b=function(){l(this,w);var e=arguments.length,t=f(e<1?void 0:arguments[0]),r=f(e<2?void 0:arguments[1],"Error"),n=new y(t,r),i=new g(t);return i.name=v,s(n,"stack",a(1,p(i.stack,1))),u(n,this,b),n},w=b.prototype=y.prototype,x="stack"in new g(v),S="stack"in new y(1,2),_=y&&d&&Object.getOwnPropertyDescriptor(i,v),P=!!_&&!(_.writable&&_.configurable),E=x&&!P&&!S;n({global:!0,constructor:!0,forced:m||E},{DOMException:E?b:y});var k=o(v),C=k.prototype;if(C.constructor!==k)for(var j in m||s(C,"constructor",a(1,k)),h)if(c(h,j)){var O=h[j],I=O.s;c(k,I)||s(k,I,a(6,O.c))}},726:function(e,t,r){"use strict";var n=r(579),i=r(1671),o=r(2148),a=r(1031),s=URLSearchParams,c=s.prototype,l=i(c.append),u=i(c["delete"]),f=i(c.forEach),h=i([].push),p=new s("a=1&a=2&b=3");p["delete"]("a",1),p["delete"]("b",void 0),p+""!=="a=2"&&n(c,"delete",(function(e){var t=arguments.length,r=t<2?void 0:arguments[1];if(t&&void 0===r)return u(this,e);var n=[];f(this,(function(e,t){h(n,{key:t,value:e})})),a(t,1);var i,s=o(e),c=o(r),p=0,d=0,m=!1,v=n.length;while(p<v)i=n[p++],m||i.key===s?(m=!0,u(this,i.key)):d++;while(d<v)i=n[d++],i.key===s&&i.value===c||l(this,i.key,i.value)}),{enumerable:!0,unsafe:!0})},2765:function(e,t,r){"use strict";var n=r(579),i=r(1671),o=r(2148),a=r(1031),s=URLSearchParams,c=s.prototype,l=i(c.getAll),u=i(c.has),f=new s("a=1");!f.has("a",2)&&f.has("a",void 0)||n(c,"has",(function(e){var t=arguments.length,r=t<2?void 0:arguments[1];if(t&&void 0===r)return u(this,e);var n=l(this,e);a(t,1);var i=o(r),s=0;while(s<n.length)if(n[s++]===i)return!0;return!1}),{enumerable:!0,unsafe:!0})},3312:function(e,t,r){"use strict";var n=r(2667),i=r(1671),o=r(7263),a=URLSearchParams.prototype,s=i(a.forEach);n&&!("size"in a)&&o(a,"size",{get:function(){var e=0;return s(this,(function(){e++})),e},configurable:!0,enumerable:!0})},3741:function(e,t,r){var n=r(2232);function i(e,t,r){return(t=n(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}e.exports=i,e.exports.__esModule=!0,e.exports["default"]=e.exports},9538:function(e,t,r){var n=r(7930)["default"];function i(e,t){if("object"!=n(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!=n(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}e.exports=i,e.exports.__esModule=!0,e.exports["default"]=e.exports},2232:function(e,t,r){var n=r(7930)["default"],i=r(9538);function o(e){var t=i(e,"string");return"symbol"==n(t)?t:t+""}e.exports=o,e.exports.__esModule=!0,e.exports["default"]=e.exports},7930:function(e){function t(r){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports["default"]=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports["default"]=e.exports}}]);
|
|
75
|
-
//# sourceMappingURL=chunk-vendors.74ce961b.js.map
|