/*! For license information please see index.min.js.LICENSE.txt */ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("G2Plot"),require("G6"),require("GISDK"),require("Graphin"),require("React"),require("ReactDOM"),require("_"),require("antd")):"function"==typeof define&&define.amd?define(["G2Plot","G6","GISDK","Graphin","React","ReactDOM","_","antd"],t):"object"==typeof exports?exports.GI_ASSETS_ADVANCE=t(require("G2Plot"),require("G6"),require("GISDK"),require("Graphin"),require("React"),require("ReactDOM"),require("_"),require("antd")):e.GI_ASSETS_ADVANCE=t(e.G2Plot,e.G6,e.GISDK,e.Graphin,e.React,e.ReactDOM,e._,e.antd)}(self,((e,t,n,r,i,o,a,s)=>(()=>{var l={3722:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.get=a,t.set=o,t.getJSON=l,t.remove=s,t.default=void 0;var r,i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(9836));function o(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.path,i=void 0===r?"/":r,o=n.domain,a=n.expires,s=n.maxAge,l=void 0===s?1512e3:s,c=n.secure,u=n.sameSite;if(e){t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),e=(e=(e=encodeURIComponent(String(e))).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent)).replace(/[()]/g,escape);var h=[];i&&h.push("path=".concat(i)),o&&h.push("domain=".concat(o)),a&&h.push("expires=".concat(a)),l&&h.push("max-age=".concat(l)),c&&h.push("secure"),u&&h.push("samesite=".concat(u)),document.cookie="".concat(e,"=").concat(t,";").concat(h.join(";"))}}function a(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e?void 0:{},r=document.cookie?document.cookie.split("; "):[],i=/(%[0-9A-Z]{2})+/g,o=0;o1&&void 0!==arguments[1]?arguments[1]:{};o(e,"",i.assign(t,{expires:"Thu, 01 Jan 1970 00:00:00 GMT",maxAge:-1}))}function l(){return a(void 0,{json:!0})}!function(e){e.strict="strict",e.lax="lax"}(r||(r={}));var c={set:o,get:a,getJSON:l,remove:s};t.default=c},5558:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createInstance=l,t.default=void 0;var r=a(n(3300)),i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(9836)),o=a(n(3722));function a(e){return e&&e.__esModule?e:{default:e}}var s={key:"x-hng",maxAge:15552e3,path:"/"};function l(e){return e=i.assign({},s,e),new r.default(e)}var c=l(),u={locale:c,cookie:o.default,util:i,create:l,getKey:c.getKey.bind(c),getLocale:c.getLocale.bind(c),getLocaleString:c.getLocaleString.bind(c),getEnv:c.getEnv.bind(c),setLocale:c.setLocale.bind(c),setRegion:c.setRegion.bind(c),setLang:c.setLang.bind(c),setCurrency:c.setCurrency.bind(c),setTimeZone:c.setTimeZone.bind(c),setLocaleWithObject:c.setLocaleWithObject.bind(c),clear:c.clear.bind(c)},h=u;t.default=h,e.exports=u},3300:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.LOCALE_KEY_NAME=void 0;var r,i=a(n(3722)),o=a(n(9836));function a(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}function s(e){return s="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},s(e)}function l(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),c(this,"key",void 0),c(this,"maxAge",void 0),c(this,"domain",void 0),c(this,"path",void 0),c(this,"container",void 0),this.key=t.key||"",this.maxAge=t.maxAge,this.domain=t.domain,this.path=t.path,this.container=o.getContainerType()}var t,n;return t=e,(n=[{key:"getKey",value:function(){return this.key}},{key:"getPureLocale",value:function(){return this[this.container]?this[this.container]():""}},{key:"getLocale",value:function(e){var t=this.getPureLocale();if(e&&e.short&&t[r.lang]){var n=t[r.lang].split("-")[0];t[r.lang]=n}return t.region&&(t.regionID=t.region),t.lang&&(t.language=t.lang),t}},{key:"getEnv",value:function(e){var t=o.assign({},{short:!0},e);return this.getLocale(t)}},{key:"getLocaleString",value:function(){var e=this.getPureLocale();return o.stringifyToQueryString(e)}},{key:"setLocale",value:function(e,t){if(e){var n=c({},e,t);this.setLocaleWithObject(n)}}},{key:"setRegion",value:function(e){e&&this.setLocale(r.region,e)}},{key:"setLang",value:function(e){e&&this.setLocale(r.lang,e)}},{key:"setCurrency",value:function(e){e&&this.setLocale(r.currency,e)}},{key:"setTimeZone",value:function(e){e&&this.setLocale(r.tz,e)}},{key:"setLocaleWithObject",value:function(e){if(this.container!==o.ContainerType.weex){var t=this.getLocale(),n=o.assign({},t,e);delete n.language;var r=o.stringifyToQueryString(n);i.set(this.key,r,{path:this.path||"/",maxAge:this.maxAge,domain:this.domain})}}},{key:"weex",value:function(){var e="";return"object"===("undefined"==typeof WXEnvironment?"undefined":s(WXEnvironment))&&(e=WXEnvironment&&WXEnvironment[this.key]||""),o.parseQueryString(e)}},{key:"web",value:function(){var e="",t={};if(location&&location.search){var n=location.search.replace(/^[?#&]/,""),a=o.parseQueryString(n),l=o.objectValues(r);Object.keys(a).forEach((function(e){l.indexOf(e)>=0&&(t[e]=a[e])}))}if("object"===("undefined"==typeof window?"undefined":s(window))){var c=window;if(e=window[this.key]){var u=o.parseQueryString(e);t=o.assign({},u,t)}else if("object"===s(c.g_config)){var h=c.g_config,p=h.regionID,d=h.language,f={};p&&(f[r.region]=p),d&&(f[r.lang]=d),t=o.assign({},f,t)}}if(!e){var m={};if(e=i.get(this.key))m=o.parseQueryString(e);else{var g=i.get("hng");if(g){var y=g.split("|");y[0]&&(m[r.region]=y[0]),y[1]&&(m[r.lang]=y[1]),y[2]&&(m[r.currency]=y[2])}}t=o.assign({},m,t)}return t}},{key:"clear",value:function(){i.remove(this.key)}}])&&l(t.prototype,n),e}();t.default=u},9836:(e,t)=>{"use strict";function n(e){return 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},n(e)}var r;function i(e,t){if(""===t)return[e];var n=e.indexOf(t);return-1===n?[e]:[e.slice(0,n),e.slice(n+t.length)]}function o(e){try{return decodeURIComponent(e)}catch(t){return e}}function a(e){try{return encodeURIComponent(e)}catch(t){return e}}Object.defineProperty(t,"__esModule",{value:!0}),t.getContainerType=function(){var e="";return"function"==typeof callNative?e=r.weex:"object"!==("undefined"==typeof navigator?"undefined":n(navigator))||"Mozilla"!==navigator.appCodeName&&"Gecko"!==navigator.product||(e=r.web),e},t.splitOnFirst=i,t.decode=o,t.encode=a,t.parseQueryString=function(e){if(!e)return{};var t=e.split("&"),n={};return t.forEach((function(e){var t,r=(2,function(e){if(Array.isArray(e))return e}(t=i(e.replace(/\+/g," "),"="))||function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),2!==n.length);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()),a=r[0],s=r[1],l=void 0===s?"":o(s);n[a]=l})),n},t.stringifyToQueryString=function(e){return Object.keys(e).map((function(t){var n=e[t];return void 0===n?"":null===n?a(t):"".concat(a(t),"=").concat(a(n))})).filter((function(e){return e.length>0})).join("&")},t.objectValues=function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(e[n]);return t},t.assign=function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=0;n<(arguments.length<=1?0:arguments.length-1);n++){var r=n+1<1||arguments.length<=n+1?void 0:arguments[n+1];if(r)for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},t.ContainerType=void 0,t.ContainerType=r,function(e){e.weex="weex",e.web="web"}(r||(t.ContainerType=r={}))},4959:(e,t,n)=>{"use strict";t.ZP=void 0;var r,i,o=n(2370),a=(r=n(4998))&&r.__esModule?r:{default:r},s=n(6142),l="__GLOBAL_STRING_FORMAT__",c={};function u(e){if(e)return i=e,e;if(i)return i;if(o.isWeex)return c;var t=void 0!==n.g?n.g:window;return t[l]||(t[l]={}),t[l]}var h={init:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.name,i=void 0===r?"default":r,o=u(n.context),s=new a.default(e,t);return o[i]=s,s},format:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.name,i=void 0===r?"default":r,o=u()[i];return o?o.format(e,t,n):((0,s.error)("\n Not found instance named ".concat(i,",\n make sure to call formatString.format() after formatString.init()\n ")),e.defaultMessage||e.id||"")},StringFormat:a.default};t.ZP=h},4998:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(2462))&&r.__esModule?r:{default:r},o=n(6142);function a(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:"";"string"!=typeof e&&((0,o.error)('"locale" is not a string, please check your input locale'),e="");var t=e.toLowerCase();return t.replace("-","_")}function c(e,t){if(e===t)return!0;var n=e.match(/(\S*)_/);return!!n&&c(n[1],t)}function u(e,t){var n=l(e),r=l(t);return n===r||c(n,r)}var h=function(){function e(t,n){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),s(this,"dictionary",void 0),s(this,"strings",void 0),s(this,"locale",void 0),s(this,"medusa",void 0),this.dictionary={},this.locale=t||"",n||((0,o.warn)('param "strings" is undefined, please check your incoming'),n={}),n.medusa&&(this.medusa=n.medusa,delete n.medusa),this.strings=n;var a=n[t];a||(Object.keys(n).forEach((function(e){l(e)===l(t)&&((0,o.warn)("no string list for locale: ".concat(t," , will replace it with ").concat(e)),a=n[e])})),a||Object.keys(n).forEach((function(e){u(t,e)&&((0,o.warn)("no value for locale: ".concat(t," , will replace it with").concat(e)),a=n[e])}))),(!a||a&&0===Object.keys(a).length)&&((0,o.warn)("no value for locale: ".concat(t,", please check your second param")),a={}),Object.keys(a).forEach((function(e){try{var n=new i.default(a[e],t);r.dictionary[e]=n}catch(t){r.dictionary[e]={},(0,o.error)(t)}}))}var t,n;return t=e,n=[{key:"getStrings",value:function(){return this.strings}},{key:"formatString",value:function(e,t,n){var r=this.medusa,i=this.locale,o=e.format(t);return r&&r.app_name&&"pd-KV"===i&&(o="##@@@".concat(n,"##").concat(r.app_name,"@@@##").concat(o)),o}},{key:"format",value:function(){var e,t,n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{id:""},a=arguments.length>1?arguments[1]:void 0,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},l=r.defaultMessage||r.defaultString||"",c=a&&Object.keys(a).length>0,u="",h={},p={},d=s.React,f=s.component,m=s.tagName,g=void 0===m?"span":m;if(c){var y=Math.floor(1099511627776*Math.random()).toString(16),v=(e=0,function(){return e+=1,"ELEMENT-".concat(y,"-").concat(e)});u="@__".concat(y,"__@"),Object.keys(a).forEach((function(e){var t=a[e];if(d&&d.isValidElement(t)){var n=v();h[e]=u+n+u,p[n]=t}else h[e]=t}))}if(this.dictionary[r.id])try{t=this.formatString(this.dictionary[r.id],h,r.id)}catch(e){var _=r.id?", using id as fallback.":"",b=l?", using defaultString as fallback.":_;(0,o.error)("format string: ".concat(r.id," for locale ").concat(this.locale," ").concat(b," \n").concat(e)),t=l||r.id||""}else if("string"==typeof r)(0,o.error)("type of \"des\" must be object, like: {id: '', defaultString: ''}, instead of string "),t=r||"";else{(0,o.warn)('there is no string with id="'.concat(r.id,'" for locale: "').concat(this.locale,'", use defaultString or id as fallback'));var E=l||r.id||"";try{var T=new i.default(E,this.locale);t=this.formatString(T,h,r.id)}catch(e){t=E}}if(p&&Object.keys(p).length>0){var x=t.split(u).filter((function(e){return!!e})).map((function(e){return p[e]||e})),S=f||g;return d?d.createElement.apply(d,[S,null].concat(function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t{"use strict";var r=n(3656);Object.defineProperty(t,"__esModule",{value:!0}),t.warn=function(e){"undefined"!=typeof console&&console.warn&&void 0!==r&&r.env},t.error=function(e){"undefined"!=typeof console&&console.error&&void 0!==r&&r.env}},2439:(e,t,n)=>{"use strict";n.d(t,{Z:()=>_});var r=n(3659),i=n(5162),o=n(6297),a=n(613),s=n(1024),l=n(1838),c=n.n(l),u=n(5746),h=n(9536),p=["icon","className","onClick","style","primaryColor","secondaryColor"],d={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1},f=function(e){var t=e.icon,n=e.className,i=e.onClick,o=e.style,s=e.primaryColor,l=e.secondaryColor,c=(0,a.Z)(e,p),u=d;if(s&&(u={primaryColor:s,secondaryColor:l||(0,h.pw)(s)}),(0,h.C3)(),(0,h.Kp)((0,h.r)(t),"icon should be icon definiton, but got ".concat(t)),!(0,h.r)(t))return null;var f=t;return f&&"function"==typeof f.icon&&(f=(0,r.Z)((0,r.Z)({},f),{},{icon:f.icon(u.primaryColor,u.secondaryColor)})),(0,h.R_)(f.icon,"svg-".concat(f.name),(0,r.Z)({className:n,onClick:i,style:o,"data-icon":f.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},c))};f.displayName="IconReact",f.getTwoToneColors=function(){return(0,r.Z)({},d)},f.setTwoToneColors=function(e){var t=e.primaryColor,n=e.secondaryColor;d.primaryColor=t,d.secondaryColor=n||(0,h.pw)(t),d.calculated=!!n};const m=f;function g(e){var t=(0,h.H9)(e),n=(0,i.Z)(t,2),r=n[0],o=n[1];return m.setTwoToneColors({primaryColor:r,secondaryColor:o})}var y=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];g("#1890ff");var v=s.forwardRef((function(e,t){var n,l=e.className,p=e.icon,d=e.spin,f=e.rotate,g=e.tabIndex,v=e.onClick,_=e.twoToneColor,b=(0,a.Z)(e,y),E=s.useContext(u.Z).prefixCls,T=void 0===E?"anticon":E,x=c()(T,(n={},(0,o.Z)(n,"".concat(T,"-").concat(p.name),!!p.name),(0,o.Z)(n,"".concat(T,"-spin"),!!d||"loading"===p.name),n),l),S=g;void 0===S&&v&&(S=-1);var C=f?{msTransform:"rotate(".concat(f,"deg)"),transform:"rotate(".concat(f,"deg)")}:void 0,A=(0,h.H9)(_),R=(0,i.Z)(A,2),w=R[0],L=R[1];return s.createElement("span",(0,r.Z)((0,r.Z)({role:"img","aria-label":p.name},b),{},{ref:t,tabIndex:S,onClick:v,className:x}),s.createElement(m,{icon:p,primaryColor:w,secondaryColor:L,style:C}))}));v.displayName="AntdIcon",v.getTwoToneColor=function(){var e=m.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},v.setTwoToneColor=g;const _=v},5746:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=(0,n(1024).createContext)({})},703:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(3659),i=n(1024);const o={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M715.8 493.5L335 165.1c-14.2-12.2-35-1.2-35 18.5v656.8c0 19.7 20.8 30.7 35 18.5l380.8-328.4c10.9-9.4 10.9-27.6 0-37z"}}]},name:"caret-right",theme:"outlined"};var a=n(2439),s=function(e,t){return i.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:o}))};s.displayName="CaretRightOutlined";const l=i.forwardRef(s)},6840:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(3659),i=n(1024);const o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"};var a=n(2439),s=function(e,t){return i.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:o}))};s.displayName="DeleteOutlined";const l=i.forwardRef(s)},3486:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(3659),i=n(1024);const o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"};var a=n(2439),s=function(e,t){return i.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:o}))};s.displayName="DownOutlined";const l=i.forwardRef(s)},8241:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(3659),i=n(1024);const o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M875.6 515.9c2.1.8 4.4-.3 5.2-2.4.2-.4.2-.9.2-1.4v-58.3c0-1.8-1.1-3.3-2.8-3.8-6-1.8-17.2-3-27.2-3-32.9 0-61.7 16.7-73.5 41.2v-28.6c0-4.4-3.6-8-8-8H717c-4.4 0-8 3.6-8 8V729c0 4.4 3.6 8 8 8h54.8c4.4 0 8-3.6 8-8V572.7c0-36.2 26.1-60.2 65.1-60.2 10.4.1 26.6 1.8 30.7 3.4zm-537-40.5l-54.7-12.6c-61.2-14.2-87.7-34.8-87.7-70.7 0-44.6 39.1-73.5 96.9-73.5 52.8 0 91.4 26.5 99.9 68.9h70C455.9 311.6 387.6 259 293.4 259c-103.3 0-171 55.5-171 139 0 68.6 38.6 109.5 122.2 128.5l61.6 14.3c63.6 14.9 91.6 37.1 91.6 75.1 0 44.1-43.5 75.2-102.5 75.2-60.6 0-104.5-27.2-112.8-70.5H111c7.2 79.9 75.6 130.4 179.1 130.4C402.3 751 471 695.2 471 605.3c0-70.2-38.6-108.5-132.4-129.9zM841 729a36 36 0 1072 0 36 36 0 10-72 0zM653 457.8h-51.4V396c0-4.4-3.6-8-8-8h-54.7c-4.4 0-8 3.6-8 8v61.8H495c-4.4 0-8 3.6-8 8v42.3c0 4.4 3.6 8 8 8h35.9v147.5c0 56.2 27.4 79.4 93.1 79.4 11.7 0 23.6-1.2 33.8-3.1 1.9-.3 3.2-2 3.2-3.9v-49.3c0-2.2-1.8-4-4-4h-.4c-4.9.5-6.2.6-8.3.8-4.1.3-7.8.5-12.6.5-24.1 0-34.1-10.3-34.1-35.6V516.1H653c4.4 0 8-3.6 8-8v-42.3c0-4.4-3.6-8-8-8z"}}]},name:"field-string",theme:"outlined"};var a=n(2439),s=function(e,t){return i.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:o}))};s.displayName="FieldStringOutlined";const l=i.forwardRef(s)},2720:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(3659),i=n(1024);const o={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"};var a=n(2439),s=function(e,t){return i.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:o}))};s.displayName="LoadingOutlined";const l=i.forwardRef(s)},5538:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(3659),i=n(1024);const o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};var a=n(2439),s=function(e,t){return i.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:o}))};s.displayName="PlusOutlined";const l=i.forwardRef(s)},3747:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(3659),i=n(1024);const o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"};var a=n(2439),s=function(e,t){return i.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:o}))};s.displayName="UpOutlined";const l=i.forwardRef(s)},9536:(e,t,n)=>{"use strict";n.d(t,{R_:()=>ne,pw:()=>re,r:()=>ee,H9:()=>ie,vD:()=>oe,C3:()=>ae,Kp:()=>J});var r=n(3659),i=n(7743);function o(e,t){(function(e){return"string"==typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!==e.indexOf("%")}(e);return e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function a(e){return e<=1?"".concat(100*Number(e),"%"):e}function s(e){return 1===e.length?"0"+e:String(e)}function l(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*n*(t-e):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function c(e){return u(e)/255}function u(e){return parseInt(e,16)}var h={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",darkgreen:"#006400",darkgrey:"#a9a9a9",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",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",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:"#9370db",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:"#db7093",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"};function p(e){var t,n,r,i={r:0,g:0,b:0},s=1,p=null,d=null,f=null,m=!1,v=!1;return"string"==typeof e&&(e=function(e){if(0===(e=e.trim().toLowerCase()).length)return!1;var t=!1;if(h[e])e=h[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var n=g.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=g.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=g.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=g.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=g.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=g.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=g.hex8.exec(e))?{r:u(n[1]),g:u(n[2]),b:u(n[3]),a:c(n[4]),format:t?"name":"hex8"}:(n=g.hex6.exec(e))?{r:u(n[1]),g:u(n[2]),b:u(n[3]),format:t?"name":"hex"}:(n=g.hex4.exec(e))?{r:u(n[1]+n[1]),g:u(n[2]+n[2]),b:u(n[3]+n[3]),a:c(n[4]+n[4]),format:t?"name":"hex8"}:!!(n=g.hex3.exec(e))&&{r:u(n[1]+n[1]),g:u(n[2]+n[2]),b:u(n[3]+n[3]),format:t?"name":"hex"}}(e)),"object"==typeof e&&(y(e.r)&&y(e.g)&&y(e.b)?(t=e.r,n=e.g,r=e.b,i={r:255*o(t,255),g:255*o(n,255),b:255*o(r,255)},m=!0,v="%"===String(e.r).substr(-1)?"prgb":"rgb"):y(e.h)&&y(e.s)&&y(e.v)?(p=a(e.s),d=a(e.v),i=function(e,t,n){e=6*o(e,360),t=o(t,100),n=o(n,100);var r=Math.floor(e),i=e-r,a=n*(1-t),s=n*(1-i*t),l=n*(1-(1-i)*t),c=r%6;return{r:255*[n,s,a,a,l,n][c],g:255*[l,n,n,s,a,a][c],b:255*[a,a,l,n,n,s][c]}}(e.h,p,d),m=!0,v="hsv"):y(e.h)&&y(e.s)&&y(e.l)&&(p=a(e.s),f=a(e.l),i=function(e,t,n){var r,i,a;if(e=o(e,360),t=o(t,100),n=o(n,100),0===t)i=n,a=n,r=n;else{var s=n<.5?n*(1+t):n+t-n*t,c=2*n-s;r=l(c,s,e+1/3),i=l(c,s,e),a=l(c,s,e-1/3)}return{r:255*r,g:255*i,b:255*a}}(e.h,p,f),m=!0,v="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(s=e.a)),s=function(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}(s),{ok:m,format:e.format||v,r:Math.min(255,Math.max(i.r,0)),g:Math.min(255,Math.max(i.g,0)),b:Math.min(255,Math.max(i.b,0)),a:s}}var d="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),f="[\\s|\\(]+(".concat(d,")[,|\\s]+(").concat(d,")[,|\\s]+(").concat(d,")\\s*\\)?"),m="[\\s|\\(]+(".concat(d,")[,|\\s]+(").concat(d,")[,|\\s]+(").concat(d,")[,|\\s]+(").concat(d,")\\s*\\)?"),g={CSS_UNIT:new RegExp(d),rgb:new RegExp("rgb"+f),rgba:new RegExp("rgba"+m),hsl:new RegExp("hsl"+f),hsla:new RegExp("hsla"+m),hsv:new RegExp("hsv"+f),hsva:new RegExp("hsva"+m),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function y(e){return Boolean(g.CSS_UNIT.exec(String(e)))}var v=2,_=.16,b=.05,E=.05,T=.15,x=5,S=4,C=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function A(e){var t=function(e,t,n){e=o(e,255),t=o(t,255),n=o(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),a=0,s=r,l=r-i,c=0===r?0:l/r;if(r===i)a=0;else{switch(r){case e:a=(t-n)/l+(t=60&&Math.round(e.h)<=240?n?Math.round(e.h)-v*t:Math.round(e.h)+v*t:n?Math.round(e.h)+v*t:Math.round(e.h)-v*t)<0?r+=360:r>=360&&(r-=360),r}function L(e,t,n){return 0===e.h&&0===e.s?e.s:((r=n?e.s-_*t:t===S?e.s+_:e.s+b*t)>1&&(r=1),n&&t===x&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2)));var r}function O(e,t,n){var r;return(r=n?e.v+E*t:e.v-T*t)>1&&(r=1),Number(r.toFixed(2))}function N(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],r=p(e),i=x;i>0;i-=1){var o=A(r),a=R(p({h:w(o,i,!0),s:L(o,i,!0),v:O(o,i,!0)}));n.push(a)}n.push(R(r));for(var s=1;s<=S;s+=1){var l=A(r),c=R(p({h:w(l,s),s:L(l,s),v:O(l,s)}));n.push(c)}return"dark"===t.theme?C.map((function(e){var r,i,o,a=e.index,s=e.opacity;return R((r=p(t.backgroundColor||"#141414"),o=100*s/100,{r:((i=p(n[a])).r-r.r)*o+r.r,g:(i.g-r.g)*o+r.g,b:(i.b-r.b)*o+r.b}))})):n}var I={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},k={},D={};Object.keys(I).forEach((function(e){k[e]=N(I[e]),k[e].primary=k[e][5],D[e]=N(I[e],{theme:"dark",backgroundColor:"#141414"}),D[e].primary=D[e][5]})),k.red,k.volcano,k.gold,k.orange,k.yellow,k.lime,k.green,k.cyan,k.blue,k.geekblue,k.purple,k.magenta,k.grey;var P=n(1024),M=n.n(P),F={},H=[];function B(e,t){}function U(e,t){}function j(e,t,n){t||F[n]||(e(!1,n),F[n]=!0)}function G(e,t){j(B,e,t)}G.preMessage=function(e){H.push(e)},G.resetWarned=function(){F={}},G.noteOnce=function(e,t){j(U,e,t)};const Y=G;var z="data-rc-order",$="rc-util-key",W=new Map;function V(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).mark;return e?e.startsWith("data-")?e:"data-".concat(e):$}function K(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function q(e){return Array.from((W.get(e)||e).children).filter((function(e){return"STYLE"===e.tagName}))}function X(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("undefined"==typeof window||!window.document||!window.document.createElement)return null;var n=t.csp,r=t.prepend,i=document.createElement("style");i.setAttribute(z,function(e){return"queue"===e?"prependQueue":e?"prepend":"append"}(r)),null!=n&&n.nonce&&(i.nonce=null==n?void 0:n.nonce),i.innerHTML=e;var o=K(t),a=o.firstChild;if(r){if("queue"===r){var s=q(o).filter((function(e){return["prepend","prependQueue"].includes(e.getAttribute(z))}));if(s.length)return o.insertBefore(i,s[s.length-1].nextSibling),i}o.insertBefore(i,a)}else o.appendChild(i);return i}function Z(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};!function(e,t){var n=W.get(e);if(!n||!function(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}(document,n)){var r=X("",t),i=r.parentNode;W.set(e,i),e.removeChild(r)}}(K(n),n);var r,i,o,a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return q(K(t)).find((function(n){return n.getAttribute(V(t))===e}))}(t,n);if(a)return null!==(r=n.csp)&&void 0!==r&&r.nonce&&a.nonce!==(null===(i=n.csp)||void 0===i?void 0:i.nonce)&&(a.nonce=null===(o=n.csp)||void 0===o?void 0:o.nonce),a.innerHTML!==e&&(a.innerHTML=e),a;var s=X(e,n);return s.setAttribute(V(n),t),s}var Q=n(5746);function J(e,t){Y(e,"[@ant-design/icons] ".concat(t))}function ee(e){return"object"===(0,i.Z)(e)&&"string"==typeof e.name&&"string"==typeof e.theme&&("object"===(0,i.Z)(e.icon)||"function"==typeof e.icon)}function te(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce((function(t,n){var r=e[n];return"class"===n?(t.className=r,delete t.class):t[n]=r,t}),{})}function ne(e,t,n){return n?M().createElement(e.tag,(0,r.Z)((0,r.Z)({key:t},te(e.attrs)),n),(e.children||[]).map((function(n,r){return ne(n,"".concat(t,"-").concat(e.tag,"-").concat(r))}))):M().createElement(e.tag,(0,r.Z)({key:t},te(e.attrs)),(e.children||[]).map((function(n,r){return ne(n,"".concat(t,"-").concat(e.tag,"-").concat(r))})))}function re(e){return N(e)[0]}function ie(e){return e?Array.isArray(e)?e:[e]:[]}var oe={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},ae=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"\n.anticon {\n display: inline-block;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n",t=(0,P.useContext)(Q.Z).csp;(0,P.useEffect)((function(){Z(e,"@ant-design-icons",{prepend:!0,csp:t})}),[])}},9876:(e,t,n)=>{"use strict";n.d(t,{dZ:()=>Md,T5:()=>ld});var r=n(2153),i=n(2721),o=n(1024),a=n.n(o),s=n(314),l=n.n(s),c=n(6840),u=n(3659);const h={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z"}}]},name:"reload",theme:"outlined"};var p=n(2439),d=function(e,t){return o.createElement(p.Z,(0,u.Z)((0,u.Z)({},e),{},{ref:t,icon:h}))};d.displayName="ReloadOutlined";const f=o.forwardRef(d);var m=n(3050);const g={placeholder:"请选择时间",rangePlaceholder:["开始时间","结束时间"]};var y={lang:(0,m.Z)({placeholder:"请选择日期",yearPlaceholder:"请选择年份",quarterPlaceholder:"请选择季度",monthPlaceholder:"请选择月份",weekPlaceholder:"请选择周",rangePlaceholder:["开始日期","结束日期"],rangeYearPlaceholder:["开始年份","结束年份"],rangeMonthPlaceholder:["开始月份","结束月份"],rangeQuarterPlaceholder:["开始季度","结束季度"],rangeWeekPlaceholder:["开始周","结束周"]},{locale:"zh_CN",today:"今天",now:"此刻",backToToday:"返回今天",ok:"确定",timeSelect:"选择时间",dateSelect:"选择日期",weekSelect:"选择周",clear:"清除",month:"月",year:"年",previousMonth:"上个月 (翻页上键)",nextMonth:"下个月 (翻页下键)",monthSelect:"选择月份",yearSelect:"选择年份",decadeSelect:"选择年代",yearFormat:"YYYY年",dayFormat:"D日",dateFormat:"YYYY年M月D日",dateTimeFormat:"YYYY年M月D日 HH时mm分ss秒",previousYear:"上一年 (Control键加左方向键)",nextYear:"下一年 (Control键加右方向键)",previousDecade:"上一年代",nextDecade:"下一年代",previousCentury:"上一世纪",nextCentury:"下一世纪"}),timePickerLocale:(0,m.Z)({},g)};y.lang.ok="确定";var v="${label}不是一个有效的${type}";const _={locale:"zh-cn",Pagination:{items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:"向前 3 页",next_3:"向后 3 页",page_size:"页码"},DatePicker:y,TimePicker:g,Calendar:y,global:{placeholder:"请选择"},Table:{filterTitle:"筛选",filterConfirm:"确定",filterReset:"重置",filterEmptyText:"无筛选项",filterCheckall:"全选",filterSearchPlaceholder:"在筛选项中搜索",selectAll:"全选当页",selectInvert:"反选当页",selectNone:"清空所有",selectionAll:"全选所有",sortTitle:"排序",expand:"展开行",collapse:"关闭行",triggerDesc:"点击降序",triggerAsc:"点击升序",cancelSort:"取消排序"},Modal:{okText:"确定",cancelText:"取消",justOkText:"知道了"},Popconfirm:{cancelText:"取消",okText:"确定"},Transfer:{titles:["",""],searchPlaceholder:"请输入搜索内容",itemUnit:"项",itemsUnit:"项",remove:"删除",selectCurrent:"全选当页",removeCurrent:"删除当页",selectAll:"全选所有",removeAll:"删除全部",selectInvert:"反选当页"},Upload:{uploading:"文件上传中",removeFile:"删除文件",uploadError:"上传错误",previewFile:"预览文件",downloadFile:"下载文件"},Empty:{description:"暂无数据"},Icon:{icon:"图标"},Text:{edit:"编辑",copy:"复制",copied:"复制成功",expand:"展开"},PageHeader:{back:"返回"},Form:{optional:"(可选)",defaultValidateMessages:{default:"字段验证错误${label}",required:"请输入${label}",enum:"${label}必须是其中一个[${enum}]",whitespace:"${label}不能为空字符",date:{format:"${label}日期格式无效",parse:"${label}不能转换为日期",invalid:"${label}是一个无效日期"},types:{string:v,method:v,array:v,object:v,number:v,date:v,boolean:v,integer:v,float:v,regexp:v,email:v,url:v,hex:v},string:{len:"${label}须为${len}个字符",min:"${label}最少${min}个字符",max:"${label}最多${max}个字符",range:"${label}须在${min}-${max}字符之间"},number:{len:"${label}必须等于${len}",min:"${label}最小值为${min}",max:"${label}最大值为${max}",range:"${label}须在${min}-${max}之间"},array:{len:"须为${len}个${label}",min:"最少${min}个${label}",max:"最多${max}个${label}",range:"${label}数量须在${min}-${max}之间"},pattern:{mismatch:"${label}与模式不匹配${pattern}"}}},Image:{preview:"预览"}},b={placeholder:"Select time",rangePlaceholder:["Start time","End time"]};var E={lang:(0,m.Z)({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},{locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"}),timePickerLocale:(0,m.Z)({},b)},T="${label} is not a valid ${type}";const x={locale:"en",Pagination:{items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"},DatePicker:E,TimePicker:b,Calendar:E,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:T,method:T,array:T,object:T,number:T,date:T,boolean:T,integer:T,float:T,regexp:T,email:T,url:T,hex:T},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"}};e=n.hmd(e);var S=Object.defineProperty,C=Object.defineProperties,A=Object.getOwnPropertyDescriptors,R=Object.getOwnPropertySymbols,w=Object.prototype.hasOwnProperty,L=Object.prototype.propertyIsEnumerable,O=(e,t,n)=>t in e?S(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,N=(e,t)=>{for(var n in t||(t={}))w.call(t,n)&&O(e,n,t[n]);if(R)for(var n of R(t))L.call(t,n)&&O(e,n,t[n]);return e},I=(e,t)=>C(e,A(t)),k=(e,t)=>{var n={};for(var r in e)w.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&R)for(var r of R(e))t.indexOf(r)<0&&L.call(e,r)&&(n[r]=e[r]);return n};const D={tooltip:{showTooltip:!0,autoAdjustBoundary:"body",operation:{hiddenColumns:!0,trend:!1,sort:!0}},showDefaultHeaderActionIcon:!0},P=()=>[{name:(0,r.agQ)("升序"),value:"ASC"},{name:(0,r.agQ)("降序"),value:"DESC"}],M=()=>[{label:(0,r.agQ)("首字母"),value:"sortMethod"},{label:(0,r.agQ)("手动排序"),value:"sortBy"},{label:(0,r.agQ)("其他字段"),value:"sortByMeasure",children:[]}],F="antv-s2-advanced-sort",H="s2-drill-down",B="s2-strategy-sheet-tooltip",U=e=>e?`${B}-${e}`:B;var j="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,G="object"==typeof self&&self&&self.Object===Object&&self,Y=j||G||Function("return this")(),z=Y.Symbol,$=Object.prototype,W=$.hasOwnProperty,V=$.toString,K=z?z.toStringTag:void 0,q=Object.prototype.toString,X="[object Null]",Z="[object Undefined]",Q=z?z.toStringTag:void 0;function J(e){return null==e?void 0===e?Z:X:Q&&Q in Object(e)?function(e){var t=W.call(e,K),n=e[K];try{e[K]=void 0;var r=!0}catch(e){}var i=V.call(e);return r&&(t?e[K]=n:delete e[K]),i}(e):function(e){return q.call(e)}(e)}function ee(e){return null!=e&&"object"==typeof e}var te="[object Symbol]";function ne(e){return"symbol"==typeof e||ee(e)&&J(e)==te}function re(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n0){if(++ze>=800)return arguments[0]}else ze=0;return Ye.apply(void 0,arguments)});function Xe(e,t){for(var n=-1,r=null==e?0:e.length;++n-1}var tt=9007199254740991,nt=/^(?:0|[1-9]\d*)$/;function rt(e,t){var n=typeof e;return!!(t=null==t?tt:t)&&("number"==n||"symbol"!=n&&nt.test(e))&&e>-1&&e%1==0&&e-1&&e%1==0&&e<=ut}function pt(e){return null!=e&&ht(e.length)&&!Ce(e)}var dt=Object.prototype;function ft(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||dt)}function mt(e){return ee(e)&&"[object Arguments]"==J(e)}var gt=Object.prototype,yt=gt.hasOwnProperty,vt=gt.propertyIsEnumerable,_t=mt(function(){return arguments}())?mt:function(e){return ee(e)&&yt.call(e,"callee")&&!vt.call(e,"callee")},bt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Et=bt&&e&&!e.nodeType&&e,Tt=Et&&Et.exports===bt?Y.Buffer:void 0,xt=(Tt?Tt.isBuffer:void 0)||function(){return!1},St={};function Ct(e){return function(t){return e(t)}}St["[object Float32Array]"]=St["[object Float64Array]"]=St["[object Int8Array]"]=St["[object Int16Array]"]=St["[object Int32Array]"]=St["[object Uint8Array]"]=St["[object Uint8ClampedArray]"]=St["[object Uint16Array]"]=St["[object Uint32Array]"]=!0,St["[object Arguments]"]=St["[object Array]"]=St["[object ArrayBuffer]"]=St["[object Boolean]"]=St["[object DataView]"]=St["[object Date]"]=St["[object Error]"]=St["[object Function]"]=St["[object Map]"]=St["[object Number]"]=St["[object Object]"]=St["[object RegExp]"]=St["[object Set]"]=St["[object String]"]=St["[object WeakMap]"]=!1;var At="object"==typeof exports&&exports&&!exports.nodeType&&exports,Rt=At&&e&&!e.nodeType&&e,wt=Rt&&Rt.exports===At&&j.process,Lt=function(){try{return Rt&&Rt.require&&Rt.require("util").types||wt&&wt.binding&&wt.binding("util")}catch(e){}}(),Ot=Lt&&Lt.isTypedArray,Nt=Ot?Ct(Ot):function(e){return ee(e)&&ht(e.length)&&!!St[J(e)]},It=Object.prototype.hasOwnProperty;function kt(e,t){var n=ie(e),r=!n&&_t(e),i=!n&&!r&&xt(e),o=!n&&!r&&!i&&Nt(e),a=n||r||i||o,s=a?function(e,t){for(var n=-1,r=Array(e);++n-1},Xt.prototype.set=function(e,t){var n=this.__data__,r=Kt(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};var Zt=Fe(Y,"Map");function Qt(e,t){var n=e.__data__;return function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?n["string"==typeof t?"string":"hash"]:n.map}function Jt(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t0&&n(s)?t>1?gn(s,t-1,n,r,i):dn(i,s):r||(i[i.length]=s)}return i}function yn(e){return null!=e&&e.length?gn(e,1):[]}var vn=Dt(Object.getPrototypeOf,Object),_n=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");function bn(e,t,n,r){var i=-1,o=null==e?0:e.length;for(r&&o&&(n=e[++i]);++is))return!1;var c=o.get(e),u=o.get(t);if(c&&u)return c==t&&u==e;var h=-1,p=!0,d=n&Dr?new Or:void 0;for(o.set(e,t),o.set(t,e);++h=t||n<0||h&&e-c>=o}function m(){var e=Ei();if(f(e))return g(e);s=setTimeout(m,function(e){var n=t-(e-l);return h?Si(n,o-(e-c)):n}(e))}function g(e){return s=void 0,p&&r?d(e):(r=i=void 0,a)}function y(){var e=Ei(),n=f(e);if(r=arguments,i=this,l=e,n){if(void 0===s)return function(e){return c=e,s=setTimeout(m,t),u?d(e):a}(l);if(h)return clearTimeout(s),s=setTimeout(m,t),d(l)}return void 0===s&&(s=setTimeout(m,t)),a}return t=ye(t)||0,he(n)&&(u=!!n.leading,o=(h="maxWait"in n)?xi(ye(n.maxWait)||0,t):o,p="trailing"in n?!!n.trailing:p),y.cancel=function(){void 0!==s&&clearTimeout(s),c=0,r=l=i=s=void 0},y.flush=function(){return void 0===s?a:g(Ei())},y}function Ai(e){return"function"==typeof e?e:be}function Ri(e,t){return(ie(e)?Xe:bi)(e,Ai(t))}function wi(e,t){var n=[];return bi(e,(function(e,r,i){t(e,r,i)&&n.push(e)})),n}function Li(e,t){return(ie(e)?An:wi)(e,gi(t))}var Oi,Ni=Math.max,Ii=(Oi=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:_e(n);return i<0&&(i=Ni(r+i,0)),Ze(e,gi(t),i)},function(e,t,n){var r=Object(e);if(!pt(e)){var i=gi(t);e=Ht(e),t=function(e){return i(r[e],e,r)}}var o=Oi(e,t,n);return o>-1?r[i?e[o]:o]:void 0});function ki(e){return e&&e.length?e[0]:void 0}function Di(e,t){var n=-1,r=pt(e)?Array(e.length):[];return bi(e,(function(e,i,o){r[++n]=t(e,i,o)})),r}function Pi(e,t){return(ie(e)?re:Di)(e,gi(t))}var Mi="[object String]";function Fi(e){return"string"==typeof e||!ie(e)&&ee(e)&&J(e)==Mi}var Hi=Math.max,Bi=Object.prototype.hasOwnProperty;function Ui(e){if(null==e)return!0;if(pt(e)&&(ie(e)||"string"==typeof e||"function"==typeof e.splice||xt(e)||Nt(e)||_t(e)))return!e.length;var t=qn(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(ft(e))return!Ft(e).length;for(var n in e)if(Bi.call(e,n))return!1;return!0}function ji(e,t){return ai(e,t)}function Gi(e){return null==e}function Yi(e,t,n,r){if(!he(e))return e;for(var i=-1,o=(t=ln(t,e)).length,a=o-1,s=e;null!=s&&++i=200){var c=lo(e);if(c)return Fr(c);a=!1,i=Ir,l=new Or}else l=s;e:for(;++r{let t=!0;const{s2:n,adaptive:r,container:i,wrapper:o}=e,{container:a,adaptiveWidth:s,adaptiveHeight:l}=((e,t)=>{var n,r,i;return function(e){return!0===e||!1===e||ee(e)&&"[object Boolean]"==J(e)}(t)?{container:e,adaptiveWidth:!0,adaptiveHeight:!1}:{container:(null==(n=null==t?void 0:t.getContainer)?void 0:n.call(t))||e,adaptiveWidth:null==(r=null==t?void 0:t.width)||r,adaptiveHeight:null==(i=null==t?void 0:t.height)||i}})(o,r);if(!(a&&i&&r&&n))return;const c=(e,t)=>{null==n||n.changeSheetSize(e,t),null==n||n.render(!1)},u=Ci(c,200),h=new ResizeObserver((([e]=[])=>{e&&(()=>{const{clientWidth:e,clientHeight:r}=i,o=s?Math.floor(null!=e?e:n.options.width):n.options.width,a=l?Math.floor(null!=r?r:n.options.height):n.options.height;(s||l)&&(t?(c(o,a),t=!1):u(o,a))})()}));return h.observe(a,{box:"border-box"}),()=>{h.unobserve(a)}},ho=(e,t)=>{const n=e.store.get("drillDownDataCache",[]),r=n.find((e=>e.rowId===t.id));return{drillDownDataCache:n,drillDownCurrentCache:r}},po=e=>{var t;const n=e.spreadsheet,{fields:r}=n.dataCfg,i=(null==(t=r.rows)?void 0:t.length)-1,o=!!Ui(r.values)||n.isValueInCols();return i<=e.level&&n.isHierarchyTreeType()&&o&&!e.isGrandTotals};(0,r.AfN)({zh_CN:{选择分析信息:"选择分析信息",切换指标:"切换指标",确定:"确定",取消:"取消",重置:"重置",请输入关键字搜索:"请输入关键字搜索",搜索:"搜索",恢复:"恢复","已选 {} 项":"已选 {} 项",所选项:"所选项",选择下钻维度:"选择下钻维度",恢复默认:"恢复默认",搜索字段:"搜索字段",行列切换:"行列切换",行头:"行头",列头:"列头",值:"值",展开子项:"展开子项",首字母:"首字母",手动排序:"手动排序",其他字段:"其他字段",高级排序:"高级排序",设置顺序:"设置顺序",可选字段:"可选字段","按以下规则进行排序(优先级由低到高)":"按以下规则进行排序(优先级由低到高)",按:"按",说明:"说明",复制原始数据:"复制原始数据",复制格式化数据:"复制格式化数据",下载原始数据:"下载原始数据",下载格式化数据:"下载格式化数据",操作成功:"操作成功",操作失败:"操作失败",时间:"时间",指标:"指标",目标值:"目标值"},en_US:{选择分析信息:"Select Analysis Information",切换指标:"Switch indicator",确定:"Ok",取消:"Cancel",重置:"Reset",请输入关键字搜索:"Please enter a keyword search",搜索:"Search",恢复:"Recover","已选 {} 项":"selected {} item",所选项:"selected items",选择下钻维度:"Select drill down dimension",恢复默认:"Restore default",搜索字段:"Search field",行列切换:"Switch Dimensions",行头:"Rows",列头:"Cols",值:"Values",展开子项:"Expand Children",首字母:"Alphabetical order",手动排序:"Custom order",其他字段:"Other field",高级排序:"Advanced order",设置顺序:"SetManual",可选字段:"Fields","按以下规则进行排序(优先级由低到高)":"Order according to the following rules (from low to high priority)",按:"By",说明:"Description",复制原始数据:"Copy raw data",复制格式化数据:"Copy formatted data",下载原始数据:"Download raw data",下载格式化数据:"Download formatted data",操作成功:"Operation successful",操作失败:"Operation failed",时间:"Date",指标:"Measure",目标值:"Target Value"}});var fo,mo,go=(fo=o.useEffect,function(e,t){var n=(0,o.useRef)(!1);fo((function(){return function(){n.current=!1}}),[]),fo((function(){if(n.current)return e();n.current=!0}),t)}),yo=globalThis&&globalThis.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},vo={exports:{}};mo=vo,function(){var e={}.hasOwnProperty;function t(){for(var n=[],r=0;r{const{style:t={},width:n,height:i,className:o,name:s}=e,l=N({},t);return n&&(l.width=`${n}px`),i&&(l.height=`${i}px`),a().createElement("span",{style:l,className:_o(`${r.vhY}-html-icon`,o),dangerouslySetInnerHTML:{__html:(0,r.q7_)(s)}})},Eo=e=>{const{style:t={},className:n,content:i}=e,o={style:t,className:_o(`${r.vhY}-react-element`,n)};if(a().isValidElement(i))return a().createElement("span",N({},o),a().createElement(a().Fragment,null,i));const s="string"!=typeof i?null==i?void 0:i.innerHTML:i;return a().createElement("span",I(N({},o),{dangerouslySetInnerHTML:{__html:s}}))},To=e=>{const t=e,{icon:n}=t,i=k(t,["icon"]);if(!n)return null;if((0,r.q7_)(n)){const e=n;return a().createElement(bo,N({name:e},i))}return a().createElement(Eo,N({content:n},i))},xo=e=>{const{list:t=[]}=e;return a().createElement("div",{className:`${r.NO_}-detail-list`},t.map(((e,t)=>{const{name:n,value:i,icon:o}=e;return a().createElement("div",{key:`${i}-${t}`,className:`${r.NO_}-detail-item`},a().createElement("span",{className:`${r.NO_}-detail-item-key`},n),a().createElement("span",{className:`${r.NO_}-detail-item-val ${r.NO_}-highlight`},o?a().createElement(To,{icon:o,width:8,height:7}):null,i))})))},So=e=>{var t,n;const{rows:i=[],cols:o=[]}=e;return a().createElement("div",{className:`${r.NO_}-head-info-list`},null==(t=o.map((e=>e.value)))?void 0:t.join("/"),o.length>0&&i.length>0&&",",null==(n=i.map((e=>e.value)))?void 0:n.join("/"))},Co=e=>{const{infos:t=""}=e;return a().createElement("div",{className:`${r.NO_}-infos`},t)},Ao=e=>{const{name:t,icon:n,text:i,render:o}=e;return a().createElement("div",{className:`${r.NO_}-interpretation`},a().createElement("div",{className:`${r.NO_}-interpretation-head`},a().createElement(To,{icon:n,className:`${r.NO_}-interpretation-icon`}),t&&a().createElement("span",{className:`${r.NO_}-interpretation-name`},t)),i&&a().createElement("div",null,i),a().createElement(Eo,{content:o}))},Ro=a().memo((e=>{const{menus:t,onlyMenu:n,onClick:o,cell:s,defaultSelectedKeys:l}=e,c=e=>a().createElement("span",{onClick:()=>{var t;return null==(t=e.onClick)?void 0:t.call(e,s)}},a().createElement(To,{icon:e.icon,className:`${r.NO_}-operator-icon`}),a().createElement("span",{className:`${r.NO_}-operator-text`},e.text)),u=e=>{const{key:t,text:n,children:o,onClick:l}=e;return Ui(o)?a().createElement(i.Menu.Item,{title:n,key:t},c(e)):a().createElement(i.Menu.SubMenu,{title:c(e),key:t,popupClassName:`${r.NO_}-operator-submenu-popup`,onTitleClick:()=>null==l?void 0:l(s)},Pi(o,(e=>u(e))))};return Ui(t)?null:a().createElement("div",{className:`${r.NO_}-operator`},n?a().createElement(i.Menu,{className:`${r.NO_}-operator-menus`,onClick:o,defaultSelectedKeys:l},Pi(t,(e=>u(e)))):Pi(t,(e=>{const{key:t,children:n}=e,s=Ui(n)?a().createElement(a().Fragment,null):a().createElement(i.Menu,{className:`${r.NO_}-operator-menus`,onClick:o,key:t,defaultSelectedKeys:l},Pi(n,(e=>u(e))));return a().createElement(i.Dropdown,{key:t,overlay:s},c(e))})))})),wo=e=>{const{tips:t="",name:n=""}=e;return a().createElement(a().Fragment,null,n&&a().createElement("div",{className:`${r.NO_}-name`},n),t&&a().createElement("div",{className:`${r.NO_}-tips`},t))},Lo=a().memo((e=>{const{summaries:t=[]}=e;return a().createElement("div",{className:`${r.NO_}-summary`},(()=>{const e=(i=e=>ao(null==e?void 0:e.selectedData),(n=t)&&n.length?function(e,t){for(var n,r=-1,i=e.length;++r{const{name:t="",value:n}=e||{};if(t||n)return a().createElement("div",{key:`${t}-${n}`,className:`${r.NO_}-summary-item`},t?a().createElement("span",{className:`${r.NO_}-summary-key`},t," (",(0,r.agQ)("总和"),")"):a().createElement("span",{className:`${r.NO_}-summary-key`}," "),a().createElement("span",{className:_o(`${r.NO_}-summary-val`,`${r.NO_}-bold`)},n))})))})),Oo=({description:e})=>a().createElement(a().Fragment,null,e&&a().createElement("div",{className:`${r.NO_}-description`},(0,r.agQ)("说明"),":",e)),No=e=>{const{data:t,options:n,content:i,cell:o}=e,s=(e,t)=>e&&a().createElement(Ro,I(N({},e),{onlyMenu:t,cell:o}));return(()=>{const{operator:e,onlyMenu:o}=(0,r.IZo)(n),{summaries:l,headInfo:c,details:u,interpretation:h,infos:p,tips:d,name:f,description:m}=t||{},g={name:f,tips:d};if(o)return s(e,!0);const y=a().createElement(a().Fragment,null,(e=>{const{name:t,tips:n}=e||{};return a().createElement(wo,{name:t,tips:n})})(g),(e=>!Ui(e)&&a().createElement(Lo,{summaries:e}))(l),(e=>e&&a().createElement(Ao,N({},e)))(h),(e=>{const{cols:t,rows:n}=e||{};return(!Ui(t)||!Ui(n))&&a().createElement(So,{cols:t,rows:n})})(c),(e=>!Ui(e)&&a().createElement(xo,{list:e}))(u),(e=>e&&a().createElement(Co,{infos:e}))(p),(e=>a().createElement(Oo,{description:e}))(m));return a().createElement(a().Fragment,null,s(e),null!=i?i:y)})()};class Io extends r.N6r{constructor(e){super(e)}renderContent(){var e,t,n;const{content:r}=this.spreadsheet.options.tooltip,i=this.options,o=this.spreadsheet.getCell(null==(e=i.event)?void 0:e.target),s=null!=(t=i.content)?t:r,c=I(N({},i),{cell:o,content:s});(null==(n=i.options)?void 0:n.forceRender)&&this.unmountComponentAtNode(),l().render(a().createElement(No,I(N({},c),{content:s})),this.container)}destroy(){super.destroy(),this.unmountComponentAtNode()}unmountComponentAtNode(){this.container&&l().unmountComponentAtNode(this.container)}}const ko={tooltip:{renderTooltip:e=>new Io(e)}},Do=(...e)=>((...e)=>(0,r._Ge)(r.WNh,D,...e))(ko,...e),Po=(e,t,n)=>{a().useEffect((()=>{const i=e=>{null==t||t((0,r.c8d)(e))};return null==n||n.on(e,i),()=>{null==n||n.off(e,i)}}),[n,t,e])},Mo=(e,t,n,r=!1)=>{a().useEffect((()=>{const i=e=>{null==t||t(e)};return null==n||n.on(e,i),()=>{r&&(null==n||n.emit(e)),null==n||n.off(e,i)}}),[n,t,e])};function Fo(e){const t=(v=yo((0,o.useState)({}),2)[1],(0,o.useCallback)((function(){return v({})}),[])),n=a().useRef(),i=a().useRef(),s=a().useRef(),{spreadsheet:l,dataCfg:c,options:u,themeCfg:h,sheetType:p,onSheetUpdate:d=be}=e,f=a().useRef([c,u,h]),{loading:m,setLoading:g}=((e,t)=>{const[n,i]=a().useState(t);return a().useEffect((()=>{null==e||e.on(r.ch4.LAYOUT_BEFORE_RENDER,(()=>{i(!0)})),null==e||e.on(r.ch4.LAYOUT_AFTER_RENDER,(()=>{i(!1)}))}),[e]),{loading:null!=t?t:n,setLoading:i}})(n.current,e.loading),y=((e,t)=>{const{options:{pagination:n},showPagination:i}=t,[o,s]=a().useState({total:0,current:(null==n?void 0:n.current)||1,pageSize:(null==n?void 0:n.pageSize)||10});return go((()=>{e&&!Ui(n)&&(e.updatePagination({current:o.current,pageSize:o.pageSize}),e.render(!1))}),[o.current,o.pageSize,e]),go((()=>{var t,r;s({total:null!=(r=null==(t=null==e?void 0:e.facet)?void 0:t.viewCellHeights.getTotalLength())?r:0,current:(null==n?void 0:n.current)||1,pageSize:(null==n?void 0:n.pageSize)||10})}),[n,e]),go((()=>{if(!e||Ui(n))return;const t=e=>{s((t=>I(N({},t),{total:e.total})))};return e.on(r.ch4.LAYOUT_PAGINATION,t),()=>{e.off(r.ch4.LAYOUT_PAGINATION,t)}}),[n,e]),{showPagination:Boolean(i),pagination:N(N({},n),o),onShowSizeChange:(e,t)=>{var r;const o=null!=(r=pn(i,"onShowSizeChange"))?r:null==n?void 0:n.onShowSizeChange;null==o||o(e,t)},onChange:(e,t)=>{var r;s(I(N({},o),{current:e,pageSize:t}));const a=null!=(r=pn(i,"onChange"))?r:null==n?void 0:n.onChange;null==a||a(e,t)}}})(n.current,e);var v;!function(e,t){Po(r.ch4.ROW_CELL_HOVER,e.onRowCellHover,t),Po(r.ch4.ROW_CELL_CLICK,e.onRowCellClick,t),Po(r.ch4.ROW_CELL_DOUBLE_CLICK,e.onRowCellDoubleClick,t),Po(r.ch4.ROW_CELL_CONTEXT_MENU,e.onRowCellContextMenu,t),Po(r.ch4.ROW_CELL_MOUSE_DOWN,e.onRowCellMouseDown,t),Po(r.ch4.ROW_CELL_MOUSE_UP,e.onRowCellMouseUp,t),Po(r.ch4.ROW_CELL_MOUSE_MOVE,e.onRowCellMouseMove,t),Mo(r.ch4.ROW_CELL_COLLAPSE_TREE_ROWS,e.onRowCellCollapseTreeRows,t),Mo(r.ch4.ROW_CELL_SCROLL,e.onRowCellScroll,t),Po(r.ch4.COL_CELL_HOVER,e.onColCellHover,t),Po(r.ch4.COL_CELL_CLICK,e.onColCellClick,t),Po(r.ch4.COL_CELL_DOUBLE_CLICK,e.onColCellDoubleClick,t),Po(r.ch4.COL_CELL_CONTEXT_MENU,e.onColCellContextMenu,t),Po(r.ch4.COL_CELL_MOUSE_DOWN,e.onColCellMouseDown,t),Po(r.ch4.COL_CELL_MOUSE_UP,e.onColCellMouseUp,t),Po(r.ch4.COL_CELL_MOUSE_MOVE,e.onColCellMouseMove,t),Po(r.ch4.DATA_CELL_HOVER,e.onDataCellHover,t),Po(r.ch4.DATA_CELL_CLICK,e.onDataCellClick,t),Po(r.ch4.DATA_CELL_DOUBLE_CLICK,e.onDataCellDoubleClick,t),Po(r.ch4.DATA_CELL_CONTEXT_MENU,e.onDataCellContextMenu,t),Po(r.ch4.DATA_CELL_MOUSE_DOWN,e.onDataCellMouseDown,t),Po(r.ch4.DATA_CELL_MOUSE_UP,e.onDataCellMouseUp,t),Po(r.ch4.DATA_CELL_MOUSE_MOVE,e.onDataCellMouseMove,t),Mo(r.ch4.DATA_CELL_TREND_ICON_CLICK,e.onDataCellTrendIconClick,t),Mo(r.ch4.DATA_CELL_BRUSH_SELECTION,e.onDataCellBrushSelection,t),Mo(r.ch4.DATA_CELL_SELECT_MOVE,e.onDataCellSelectMove,t),Po(r.ch4.CORNER_CELL_HOVER,e.onCornerCellHover,t),Po(r.ch4.CORNER_CELL_CLICK,e.onCornerCellClick,t),Po(r.ch4.CORNER_CELL_DOUBLE_CLICK,e.onCornerCellDoubleClick,t),Po(r.ch4.CORNER_CELL_CONTEXT_MENU,e.onCornerCellContextMenu,t),Po(r.ch4.CORNER_CELL_MOUSE_DOWN,e.onCornerCellMouseDown,t),Po(r.ch4.CORNER_CELL_MOUSE_UP,e.onCornerCellMouseUp,t),Po(r.ch4.CORNER_CELL_MOUSE_MOVE,e.onCornerCellMouseMove,t),Po(r.ch4.MERGED_CELLS_HOVER,e.onMergedCellsHover,t),Po(r.ch4.MERGED_CELLS_CLICK,e.onMergedCellsClick,t),Po(r.ch4.MERGED_CELLS_DOUBLE_CLICK,e.onMergedCellsDoubleClick,t),Po(r.ch4.MERGED_CELLS_CONTEXT_MENU,e.onMergedCellsContextMenu,t),Po(r.ch4.MERGED_CELLS_MOUSE_DOWN,e.onMergedCellsMouseDown,t),Po(r.ch4.MERGED_CELLS_MOUSE_UP,e.onMergedCellsMouseUp,t),Po(r.ch4.MERGED_CELLS_MOUSE_MOVE,e.onMergedCellsMouseMove,t),Mo(r.ch4.RANGE_SORT,e.onRangeSort,t),Mo(r.ch4.RANGE_SORTED,e.onRangeSorted,t),Mo(r.ch4.RANGE_FILTER,e.onRangeFilter,t),Mo(r.ch4.RANGE_FILTERED,e.onRangeFiltered,t),Mo(r.ch4.LAYOUT_AFTER_HEADER_LAYOUT,e.onLayoutAfterHeaderLayout,t),Mo(r.ch4.LAYOUT_PAGINATION,e.onLayoutPagination,t),Mo(r.ch4.LAYOUT_CELL_SCROLL,e.onLayoutCellScroll,t),Mo(r.ch4.LAYOUT_AFTER_COLLAPSE_ROWS,e.onLayoutAfterCollapseRows,t),Mo(r.ch4.LAYOUT_TREE_ROWS_COLLAPSE_ALL,e.onCollapseRowsAll,t),Mo(r.ch4.LAYOUT_COLS_EXPANDED,e.onLayoutColsExpanded,t),Mo(r.ch4.LAYOUT_COLS_HIDDEN,e.onLayoutColsHidden,t),Mo(r.ch4.LAYOUT_BEFORE_RENDER,e.onBeforeRender,t),Mo(r.ch4.LAYOUT_AFTER_RENDER,e.onAfterRender,t),Mo(r.ch4.LAYOUT_DESTROY,e.onDestroy,t,!0),Mo(r.ch4.LAYOUT_RESIZE,e.onLayoutResize,t),Mo(r.ch4.LAYOUT_RESIZE_SERIES_WIDTH,e.onLayoutResizeSeriesWidth,t),Mo(r.ch4.LAYOUT_RESIZE_ROW_WIDTH,e.onLayoutResizeRowWidth,t),Mo(r.ch4.LAYOUT_RESIZE_ROW_HEIGHT,e.onLayoutResizeRowHeight,t),Mo(r.ch4.LAYOUT_RESIZE_COL_WIDTH,e.onLayoutResizeColWidth,t),Mo(r.ch4.LAYOUT_RESIZE_COL_HEIGHT,e.onLayoutResizeColHeight,t),Mo(r.ch4.LAYOUT_RESIZE_TREE_WIDTH,e.onLayoutResizeTreeWidth,t),Mo(r.ch4.LAYOUT_RESIZE_MOUSE_DOWN,e.onLayoutResizeMouseDown,t),Mo(r.ch4.LAYOUT_RESIZE_MOUSE_UP,e.onLayoutResizeMouseUp,t),Mo(r.ch4.LAYOUT_RESIZE_MOUSE_MOVE,e.onLayoutResizeMouseMove,t),Mo(r.ch4.GLOBAL_KEYBOARD_DOWN,e.onKeyBoardDown,t),Mo(r.ch4.GLOBAL_KEYBOARD_UP,e.onKeyBoardUp,t),Mo(r.ch4.GLOBAL_COPIED,e.onCopied,t),Mo(r.ch4.GLOBAL_ACTION_ICON_HOVER,e.onActionIconHover,t),Mo(r.ch4.GLOBAL_ACTION_ICON_CLICK,e.onActionIconClick,t),Mo(r.ch4.GLOBAL_CONTEXT_MENU,e.onContextMenu,t),Mo(r.ch4.GLOBAL_HOVER,e.onMouseHover,t),Mo(r.ch4.GLOBAL_CLICK,e.onClick,t),Mo(r.ch4.GLOBAL_DOUBLE_CLICK,e.onDoubleClick,t),Mo(r.ch4.GLOBAL_SELECTED,e.onSelected,t),Mo(r.ch4.GLOBAL_MOUSE_UP,e.onMouseUp,t),Mo(r.ch4.GLOBAL_RESET,e.onReset,t),Mo(r.ch4.GLOBAL_LINK_FIELD_JUMP,e.onLinkFieldJump,t),Mo(r.ch4.GLOBAL_SCROLL,e.onScroll,t),Mo(r.ch4.LAYOUT_AFTER_REAL_DATA_CELL_RENDER,e.onLayoutAfterRealDataCellRender,t),Mo(r.ch4.ROW_CELL_BRUSH_SELECTION,e.onRowCellBrushSelection,t),Mo(r.ch4.COL_CELL_BRUSH_SELECTION,e.onColCellBrushSelection,t)}(e,n.current);const _=a().useCallback((e=>{const t=Do(u);return l?l(e,c,t):"table"===p?new r.HZt(e,c,t):new r.TA7(e,c,t)}),[p,u,c,l]),b=a().useCallback((()=>{var r;g(!0),n.current=_(i.current),n.current.setThemeCfg(e.themeCfg),n.current.render(),g(!1),t(),e.getSpreadSheet&&(console.warn("[SheetComponent] `getSpreadSheet` is deprecated. Please use `onMounted` instead."),e.getSpreadSheet(n.current)),null==(r=e.onMounted)||r.call(e,n.current)}),[e,_,g,t]);return a().useEffect((()=>(b(),()=>{var e,t;null==(t=(e=n.current).destroy)||t.call(e)})),[]),go((()=>{var e,t,r,i,o,a,s,l,p,m,g;const[y,v,_]=f.current;f.current=[c,u,h];let b=!1,E=!1;Object.is(y,c)||((null==(t=null==(e=null==y?void 0:y.fields)?void 0:e.columns)?void 0:t.length)!==(null==(i=null==(r=null==c?void 0:c.fields)?void 0:r.columns)?void 0:i.length)&&(null==(o=n.current)||o.clearColumnLeafNodes()),b=!0,null==(a=n.current)||a.setDataCfg(c)),Object.is(v,u)||(Object.is(null==v?void 0:v.hierarchyType,null==u?void 0:u.hierarchyType)||(E=!0,b=!0,null==(s=n.current)||s.setDataCfg(c)),null==(l=n.current)||l.setOptions(u),null==(p=n.current)||p.changeSheetSize(u.width,u.height)),Object.is(_,h)||null==(m=n.current)||m.setThemeCfg(h);const T=d({reloadData:b,reBuildDataSet:E});null==(g=n.current)||g.render(T.reloadData,{reBuildDataSet:T.reBuildDataSet})}),[c,u,h,d]),(e=>{const{s2:t,adaptive:n,container:r,wrapper:i}=e;a().useLayoutEffect((()=>uo({s2:t,adaptive:n,wrapper:i,container:r})),[t,i,r,n])})({s2:n.current,container:i.current,wrapper:s.current,adaptive:e.adaptive}),{s2Ref:n,containerRef:i,wrapperRef:s,loading:m,setLoading:g,pagination:y}}const Ho=a().createContext(null);function Bo(){return a().useContext(Ho)}const Uo=e=>o.createElement("svg",N({className:"antv-s2-icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:12.6,height:12.6},e),o.createElement("path",{d:"M950.016 898.016l-206.016-204.992Q832 586.016 832 448.032q0-159.008-112.512-271.488T448 64.032 176.512 176.544 64 448.032t112.512 271.488T448 832.032q138.016 0 244.992-88l206.016 206.016q10.016 10.016 24.992 10.016t26.016-10.016q10.016-11.008 10.016-26.016t-10.016-26.016zM568.992 736Q512 760 448 760T327.008 736q-56-24-99.488-67.488t-66.496-99.488q-24.992-56.992-24.992-120.992t24.992-120.992q23.008-56 66.496-99.488t99.488-67.488Q384 136.064 448 136.064t120.992 24q56 24 99.488 67.488t67.488 99.488q24 56.992 24 120.992t-24 120.992q-24 56-67.488 99.488T568.992 736z",fill:"currentColor"})),jo=e=>o.createElement("svg",N({viewBox:"0 0 1024 1024",width:16,height:16,className:"antv-s2-icon"},e),o.createElement("defs",null,o.createElement("style",{type:"text/css"})),o.createElement("path",{d:"M441.6 249.6c0 38.4 32 70.4 70.4 70.4s70.4-32 70.4-70.4c0-38.4-32-70.4-70.4-70.4s-70.4 25.6-70.4 70.4z m0 262.4c0 38.4 32 70.4 70.4 70.4s70.4-32 70.4-70.4c0-38.4-32-70.4-70.4-70.4s-70.4 32-70.4 70.4z m0 262.4c0 38.4 32 70.4 70.4 70.4s70.4-32 70.4-70.4c0-38.4-32-70.4-70.4-70.4s-70.4 32-70.4 70.4z",fill:"currentColor","p-id":22217})),Go=e=>o.createElement("svg",N({className:"antv-s2-icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:12.6,height:12.6},e),o.createElement("path",{d:"M511.804 222.338c-57.117 0-105.737 20.061-145.86 60.184-40.122 40.123-60.184 88.569-60.184 145.337 0 56.769 20.062 105.214 60.185 145.337 40.122 40.123 88.742 60.185 145.859 60.185 57.116 0 105.736-20.062 145.859-60.185 40.123-40.123 60.184-88.568 60.184-145.337 0-56.768-20.061-105.214-60.184-145.337-40.123-40.123-88.743-60.184-145.86-60.184z m0 338.619c-36.729 0-68.007-12.925-93.835-38.774-25.827-25.85-38.752-57.127-38.773-93.834-0.022-36.707 12.902-68.16 38.773-94.357 25.872-26.197 57.15-39.285 93.835-39.263 36.685 0.022 67.963 13.11 93.834 39.263 25.871 26.154 38.796 57.606 38.774 94.357-0.022 36.75-12.946 68.028-38.774 93.834-25.828 25.806-57.106 38.73-93.834 38.774z m366.165-295.766c-21.084-42.168-50.327-79.223-87.73-111.165-37.404-31.941-79.898-57.105-127.484-75.491C614.472 60.845 564.155 52 511.804 52c-52.352 0-103.006 8.845-151.963 26.535-46.911 18.364-89.069 43.528-126.472 75.491-37.403 31.964-66.647 69.019-87.731 111.165C123.879 308.71 113 353.923 113 400.835c0 65.95 15.982 132.924 47.945 200.92 26.524 56.441 63.58 112.198 111.165 167.27 62.556 73.435 134.632 138.71 216.227 195.827 6.81 4.765 14.459 7.148 22.945 7.148 8.485 0 16.47-2.383 23.956-7.148 81.595-57.79 153.67-123.067 216.227-195.828 47.608-55.767 84.663-111.524 111.165-167.27 31.963-67.995 47.945-134.969 47.945-200.919 0-46.912-10.88-92.126-32.638-135.644h0.032z m-40.797 136.656c0 55.07-13.6 111.513-40.798 169.326-23.129 49.631-56.452 99.948-99.97 150.95-52.351 61.208-113.885 117.65-184.6 169.326-70.716-51.676-132.25-108.118-184.6-169.326-42.844-51.002-76.167-101.319-99.971-150.95-27.198-57.791-40.797-114.57-40.797-170.338 0-36.032 8.159-70.716 24.478-104.05 16.994-32.638 40.45-61.882 70.368-87.73 30.592-26.525 65.276-47.26 104.05-62.209 40.797-14.97 82.954-22.455 126.472-22.455 43.517 0 85.675 7.485 126.472 22.455 38.752 14.97 73.436 35.706 104.05 62.208 30.593 25.85 54.048 55.093 70.367 87.731 16.32 34.009 24.479 69.03 24.479 105.062z",fill:"currentColor"})),Yo=e=>o.createElement("svg",N({className:"antv-s2-icon",width:"16px",height:"16px",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),o.createElement("path",{d:"M18.0047888,16.4055 C18.1082888,16.4055 18.1922888,16.4895 18.1922888,16.593 L18.1922888,17.9055 C18.1922888,18.0090534 18.1083422,18.093 18.0047888,18.093 L9.37978883,18.093 C9.27623544,18.093 9.19228883,18.0090534 9.19228883,17.9055 L9.19228883,16.593 C9.19228883,16.4895 9.27628883,16.4055 9.37978883,16.4055 L18.0047888,16.4055 Z M4.41328883,1.6665 L4.46428883,1.7115 L7.08928883,5.0385 C7.17478883,5.1435 7.12078883,5.2935 7.00528883,5.3325 L6.94228883,5.343 L5.16028883,5.343 L5.16028883,14.25 L6.94228883,14.25 C7.09978883,14.25 7.18828883,14.433 7.08928883,14.5545 L4.46428883,17.88 C4.42872537,17.9249155 4.37457895,17.9511073 4.31728883,17.9511073 C4.25999871,17.9511073 4.20585229,17.9249155 4.17028883,17.88 L1.54528883,14.5545 C1.50119832,14.4981177 1.49305316,14.4215528 1.52429494,14.3571564 C1.55553672,14.2927601 1.62071465,14.2517677 1.69228883,14.2515 L3.47428883,14.2515 L3.47428883,5.343 L1.69228883,5.343 C1.63110128,5.34394015 1.57330492,5.31496201 1.53745415,5.26536844 C1.50160338,5.21577487 1.49220972,5.15180683 1.51228883,5.094 L1.54528883,5.0385 L4.17028883,1.713 C4.22854609,1.63918993 4.33246412,1.61994585 4.41328883,1.668 L4.41328883,1.6665 Z M15.7547888,11.4375 C15.8582888,11.4375 15.9422888,11.5215 15.9422888,11.625 L15.9422888,12.9375 C15.9422888,13.0410534 15.8583422,13.125 15.7547888,13.125 L9.37978883,13.125 C9.33006074,13.125 9.28236938,13.1052456 9.24720631,13.0700825 C9.21204324,13.0349195 9.19228883,12.9872281 9.19228883,12.9375 L9.19228883,11.625 C9.19228883,11.5215 9.27628883,11.4375 9.37978883,11.4375 L15.7547888,11.4375 Z M21.7547888,6.468 C21.8582888,6.468 21.9422888,6.5535 21.9422888,6.6555 L21.9422888,7.968 C21.9422888,8.07155339 21.8583422,8.1555 21.7547888,8.1555 L9.37978883,8.1555 C9.33006074,8.1555 9.28236938,8.13574559 9.24720631,8.10058252 C9.21204324,8.06541945 9.19228883,8.01772809 9.19228883,7.968 L9.19228883,6.6555 C9.19228883,6.5535 9.27628883,6.468 9.37978883,6.468 L21.7547888,6.468 Z M13.5047888,1.5 C13.6082888,1.5 13.6922888,1.584 13.6922888,1.6875 L13.6922888,3 C13.6922888,3.10355339 13.6083422,3.1875 13.5047888,3.1875 L9.37978883,3.1875 C9.33006074,3.1875 9.28236938,3.16774559 9.24720631,3.13258252 C9.21204324,3.09741945 9.19228883,3.04972809 9.19228883,3 L9.19228883,1.6875 C9.19228883,1.584 9.27628883,1.5 9.37978883,1.5 L13.5047888,1.5 Z",fill:"currentColor"})),zo=e=>o.createElement("svg",N({width:"12px",height:"12px",viewBox:"0 0 12 12",xmlns:"http://www.w3.org/2000/svg",className:"antv-s2-icon"},e),o.createElement("g",{stroke:"none",fill:"none",fillRule:"evenodd"},o.createElement("g",{transform:"translate(-153.000000, -608.000000)",fill:"currentColor"},o.createElement("g",{transform:"translate(127.000000, 549.000000)"},o.createElement("g",{transform:"translate(24.000000, 57.000000)"},o.createElement("g",{transform:"translate(2.000000, 2.000000)"},o.createElement("path",{d:"M0.771428571,3.77142857 L3.77142857,3.77142857 L3.77142857,5.65714286 L0.771428571,5.65714286 L0.771428571,3.77142857 Z M0.771428571,6.34285714 L3.77142857,6.34285714 L3.77142857,8.57142857 L0.771428571,8.57142857 L0.771428571,6.34285714 Z M0.771428571,9 L3.77142857,9 L3.77142857,11.2285714 L0.771428571,11.2285714 L0.771428571,9 Z"}),o.createElement("path",{d:"M0.771428571,9 L0.771428571,11.2285714 L11.2285714,11.2285714 L11.2285714,3.77142857 L0.771428571,3.77142857 L0.771428571,5.65714286 L3.77142857,5.65714286 L3.77142857,3.77142857 L4.54285714,3.77142857 L4.54285714,11.3142857 L3.77142857,11.3142857 L3.77142857,9.08571429 L0.771428571,9.08571429 L0.771428571,9 Z M0.771428571,8.22857143 L3.77142857,8.22857143 L3.77142857,6.34285714 L0.771428571,6.34285714 L0.771428571,8.22857143 L0.771428571,8.22857143 Z M11.2285714,3 L11.2285714,0.771428571 L0.771428571,0.771428571 L0.771428571,3 L11.2285714,3 Z M12,0 L12,12 L0,12 L0,0 L12,0 Z"}))))))),$o=e=>o.createElement("svg",N({width:"12px",height:"12px",viewBox:"0 0 12 12",xmlns:"http://www.w3.org/2000/svg",className:"antv-s2-icon"},e),o.createElement("g",{stroke:"none",fill:"none",fillRule:"evenodd"},o.createElement("g",{transform:"translate(-153.000000, -814.000000)",fill:"currentColor",fillRule:"nonzero"},o.createElement("g",{transform:"translate(127.000000, 549.000000)"},o.createElement("g",{transform:"translate(24.000000, 55.000000)"},o.createElement("g",{transform:"translate(0.000000, 208.000000)"},o.createElement("g",{transform:"translate(2.000000, 2.000000)"},o.createElement("path",{d:"M4.45714286,11.2285714 L11.2285714,11.2285714 L11.2285714,3.77142857 L4.45714286,3.77142857 L4.45714286,11.2285714 Z M3.77142857,11.2285714 L3.77142857,3.77142857 L0.771428571,3.77142857 L0.771428571,11.3142857 L3.77142857,11.3142857 L3.77142857,11.2285714 Z M11.2285714,3 L11.2285714,0.771428571 L0.771428571,0.771428571 L0.771428571,3 L11.2285714,3 Z M12,0 L12,12 L0,12 L0,0 L12,0 Z"}),o.createElement("polygon",{points:"0.771428571 0.771428571 11.2285714 0.771428571 11.2285714 3 0.771428571 3"})))))))),Wo=e=>o.createElement("svg",N({width:"12px",height:"12px",viewBox:"0 0 12 12",xmlns:"http://www.w3.org/2000/svg",className:"antv-s2-icon"},e),o.createElement("g",{stroke:"none",fill:"none",fillRule:"evenodd"},o.createElement("g",{transform:"translate(-365.000000, -624.000000)",fill:"currentColor"},o.createElement("g",{transform:"translate(127.000000, 549.000000)"},o.createElement("g",{transform:"translate(236.000000, 71.000000)"},o.createElement("g",{transform:"translate(0.000000, 2.000000)"},o.createElement("g",{transform:"translate(2.000000, 2.000000)"},o.createElement("polygon",{points:"4.22857143 3.77142857 11.2285714 3.77142857 11.2285714 11.7714286 4.22857143 11.7714286"}),o.createElement("path",{d:"M4.45714286,11.2285714 L11.2285714,11.2285714 L11.2285714,3.77142857 L4.45714286,3.77142857 L4.45714286,11.2285714 Z M3.77142857,11.2285714 L3.77142857,3.77142857 L0.771428571,3.77142857 L0.771428571,11.3142857 L3.77142857,11.3142857 L3.77142857,11.2285714 Z M11.2285714,3 L11.2285714,0.771428571 L0.771428571,0.771428571 L0.771428571,3 L11.2285714,3 Z M12,0 L12,12 L0,12 L0,0 L12,0 Z"})))))))),Vo=e=>o.createElement("svg",N({className:"antv-s2-icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:12.6,height:12.6},e),o.createElement("path",{d:"M950.016 898.016l-206.016-204.992Q832 586.016 832 448.032q0-159.008-112.512-271.488T448 64.032 176.512 176.544 64 448.032t112.512 271.488T448 832.032q138.016 0 244.992-88l206.016 206.016q10.016 10.016 24.992 10.016t26.016-10.016q10.016-11.008 10.016-26.016t-10.016-26.016zM568.992 736Q512 760 448 760T327.008 736q-56-24-99.488-67.488t-66.496-99.488q-24.992-56.992-24.992-120.992t24.992-120.992q23.008-56 66.496-99.488t99.488-67.488Q384 136.064 448 136.064t120.992 24q56 24 99.488 67.488t67.488 99.488q24 56.992 24 120.992t-24 120.992q-24 56-67.488 99.488T568.992 736z",fill:"currentColor"})),Ko=e=>o.createElement("svg",N({className:"antv-s2-icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:12.6,height:12.6},e),o.createElement("path",{d:"M86.016 805.888H0L143.872 275.968h79.36l144.896 529.92H276.992l-29.696-109.056H115.2s-29.696 109.056-29.184 109.056zM225.28 613.376L181.248 455.68 138.24 613.376h87.04zM519.168 430.08c24.576-16.384 47.616-25.088 69.12-25.088 30.72 0 58.368 14.848 81.92 44.032 24.064 29.184 35.328 72.192 35.328 128.512 0 44.032-7.168 83.456-22.528 118.272-14.848 34.816-35.328 62.976-60.416 83.456-26.112 20.992-57.856 31.232-95.232 31.232-15.36-0.512-31.232-1.536-46.592-3.584-4.096-0.512-8.704-1.024-12.8-1.536h-66.56V256h81.92v206.336c11.264-12.8 23.04-23.552 35.84-32.256z m-35.328 157.184v135.168c13.824 3.072 26.112 4.608 37.376 4.608 27.648 0 50.176-11.776 69.12-36.352 19.456-25.088 28.672-59.392 28.672-104.96 0-32.256-5.12-55.296-14.848-70.144-9.216-13.824-18.432-19.968-28.672-19.968-12.288 0-27.136 7.68-44.544 24.064-16.896 16.896-32.768 39.424-47.104 67.584zM1013.76 794.624c-36.864 14.336-71.68 20.992-104.96 20.992-32.768 0.512-64.512-9.216-91.648-27.136-27.136-18.432-48.64-44.032-62.464-73.728-14.848-30.72-22.528-65.536-22.528-104.448 0-58.88 16.896-108.032 51.2-146.944 33.792-38.912 75.264-58.88 123.392-58.88 34.304 0 70.144 7.168 108.032 21.504l10.24 4.096v95.232l-20.992-10.752c-34.816-17.92-65.536-26.624-92.16-26.624-16.896 0-32.768 4.608-47.104 13.824-13.824 8.704-25.088 23.04-32.768 42.496-8.192 19.968-12.288 41.472-12.288 63.488 0 28.672 7.68 55.808 24.064 82.432 14.848 24.576 37.888 36.352 71.168 36.352 10.752 0 21.504-1.024 31.744-2.56 9.728-1.536 29.696-8.192 58.88-18.944l19.456-7.68v92.672l-11.264 4.608z",fill:"currentColor"})),qo=e=>o.createElement("svg",N({className:"antv-s2-icon",width:"16px",height:"16px",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"},e),o.createElement("g",{transform:"translate(8.056364, 8.000227) rotate(-270.000000) translate(-8.056364, -8.000227) translate(3.057045, 3.070227)",fill:"currentColor"},o.createElement("path",{d:"M0.482272727,3.55181818 C0.472878788,3.55181818 0.468181818,3.54939394 0.468181818,3.54454545 C0.468181818,3.53969697 0.465757576,3.53727273 0.460909091,3.53727273 L0.396818182,3.53727273 L0.382727273,3.52318182 L0.34,3.52318182 L0.325909091,3.50909091 L0.311818182,3.50909091 L0.297727273,3.495 L0.269090909,3.495 L0.269090909,3.48090909 L0.255,3.48090909 L0.240909091,3.46681818 L0.226818182,3.46681818 L0.226818182,3.45272727 L0.212727273,3.45272727 L0.184090909,3.42409091 L0.17,3.42409091 C0.160606061,3.405 0.151060606,3.39075758 0.141363636,3.38136364 C0.131969697,3.38136364 0.127272727,3.37893939 0.127272727,3.37409091 L0.127272727,3.36681818 L0.113181818,3.35272727 L0.113181818,3.33863636 L0.0990909091,3.33863636 L0.0990909091,3.32454545 L0.085,3.31045455 L0.085,3.30318182 L0.0777272727,3.29590909 L0.0704545455,3.29590909 L0.0704545455,3.28181818 L0.0563636364,3.26772727 L0.0563636364,3.24636364 L0.0490909091,3.23909091 L0.0418181818,3.23909091 L0.0418181818,3.225 C0.0418181818,3.21560606 0.0393939394,3.21090909 0.0345454545,3.21090909 C0.0296969697,3.21090909 0.0272727273,3.20848485 0.0272727273,3.20363636 L0.0272727273,3.15409091 L0.0131818182,3.14 L0.0131818182,2.94090909 L0.0272727273,2.92681818 L0.0272727273,2.88409091 C0.0366666667,2.87469697 0.0413636364,2.86757576 0.0413636364,2.86272727 L0.0413636364,2.84136364 L0.0554545455,2.82727273 L0.0554545455,2.81318182 L0.0695454545,2.79909091 L0.0695454545,2.79181818 L0.0768181818,2.77772727 L0.0840909091,2.77045455 L0.0840909091,2.76318182 L0.0913636364,2.75590909 L0.0986363636,2.74863636 L0.0986363636,2.74136364 L0.112727273,2.72727273 C0.112727273,2.71787879 0.117424242,2.71318182 0.126818182,2.71318182 L0.126818182,2.69909091 L0.140909091,2.69909091 L2.68363636,0.156363636 C2.77848485,0.0521212121 2.89681818,0 3.03863636,0 C3.18045455,0 3.29878788,0.0521212121 3.39363636,0.156363636 C3.49787879,0.260606061 3.55,0.381363636 3.55,0.518636364 C3.55,0.655909091 3.49787879,0.776666667 3.39363636,0.880909091 L1.74590909,2.52863636 L9.48727273,2.52863636 C9.62939394,2.52863636 9.75015152,2.57833333 9.84954545,2.67772727 C9.94893939,2.77712121 9.99863636,2.89787879 9.99863636,3.04 C9.99863636,3.18212121 9.94893939,3.30287879 9.84954545,3.40227273 C9.75015152,3.50166667 9.62939394,3.55136364 9.48727273,3.55136364 L0.481363636,3.55136364 L0.482272727,3.55181818 Z M9.51636364,6.30727273 C9.52575758,6.30727273 9.53045455,6.30969697 9.53045455,6.31454545 C9.53045455,6.31939394 9.53287879,6.32181818 9.53772727,6.32181818 L9.60181818,6.32181818 L9.61590909,6.33590909 L9.65863636,6.33590909 L9.65863636,6.35 L9.68727273,6.35 L9.70136364,6.36409091 L9.73,6.36409091 L9.73,6.37818182 L9.74409091,6.37818182 L9.75818182,6.39227273 L9.77227273,6.39227273 L9.77227273,6.40636364 L9.78636364,6.40636364 L9.815,6.435 L9.82909091,6.435 C9.83848485,6.45409091 9.8480303,6.46833333 9.85772727,6.47772727 C9.86712121,6.47772727 9.87181818,6.48015152 9.87181818,6.485 L9.87181818,6.49227273 L9.88590909,6.50636364 L9.88590909,6.52045455 L9.9,6.52045455 L9.9,6.53454545 L9.90727273,6.53454545 L9.91454545,6.54181818 L9.91454545,6.55590909 L9.92181818,6.56318182 L9.92909091,6.57045455 L9.92909091,6.57772727 L9.94318182,6.59181818 L9.94318182,6.61318182 L9.95045455,6.62045455 L9.95772727,6.62045455 L9.95772727,6.64909091 L9.965,6.65636364 L9.97227273,6.67045455 L9.97227273,6.70590909 L9.98636364,6.72 L9.98636364,6.91909091 L9.97227273,6.93318182 L9.97227273,6.97590909 L9.95818182,6.99 L9.95818182,7.01863636 L9.94409091,7.03272727 L9.94409091,7.04681818 L9.93,7.06090909 L9.93,7.06818182 L9.92272727,7.08227273 L9.91545455,7.08954545 L9.91545455,7.09681818 L9.90818182,7.10409091 L9.90090909,7.11136364 L9.90090909,7.11863636 L9.88681818,7.13272727 C9.88681818,7.14212121 9.88439394,7.14681818 9.87954545,7.14681818 L9.87227273,7.14681818 L9.87227273,7.16090909 L9.85818182,7.16090909 L9.85090909,7.16818182 L9.84363636,7.18954545 L7.32954545,9.70363636 C7.22530303,9.80787879 7.10212121,9.86 6.96,9.86 C6.81787879,9.86 6.69954545,9.80787879 6.605,9.70363636 C6.50075758,9.60878788 6.44863636,9.49045455 6.44863636,9.34863636 C6.44863636,9.20681818 6.50075758,9.08363636 6.605,8.97909091 L8.25272727,7.33136364 L0.511363636,7.33136364 C0.378636364,7.33136364 0.26030303,7.28166667 0.156363636,7.18227273 C0.0524242424,7.08287879 0.000303030303,6.96212121 4.54747351e-13,6.82 C4.54747351e-13,6.67787879 0.0521212121,6.55712121 0.156363636,6.45772727 C0.260606061,6.35833333 0.378939394,6.30863636 0.511363636,6.30863636 L9.51727273,6.30863636 L9.51636364,6.30727273 Z"}))),Xo=a().memo((e=>{const t=e,{className:n,icon:o,syncCopy:s=!1,copyOriginalText:l=(0,r.agQ)("复制原始数据"),copyFormatText:c=(0,r.agQ)("复制格式化数据"),downloadOriginalText:u=(0,r.agQ)("下载原始数据"),downloadFormatText:h=(0,r.agQ)("下载格式化数据"),successText:p=(0,r.agQ)("操作成功"),errorText:d=(0,r.agQ)("操作失败"),sheet:f,fileName:m,open:g,dropdown:y}=t,v=k(t,["className","icon","syncCopy","copyOriginalText","copyFormatText","downloadOriginalText","downloadFormatText","successText","errorText","sheet","fileName","open","dropdown"]),_=`${r.vhY}-export`,b=e=>{const t=(0,r.F1h)(f,"\t",e);(0,r.vQq)(t,s).then((()=>{i.message.success(p)})).catch((e=>{console.log("copy failed: ",e),i.message.error(d)}))},E=e=>{const t=(0,r.F1h)(f,",",e);try{(0,r.LRf)(t,m),i.message.success(p)}catch(e){i.message.error(d)}},T=a().createElement(i.Menu,null,a().createElement(i.Menu.Item,{key:"copyOriginal",onClick:()=>b(!1)},l),a().createElement(i.Menu.Item,{key:"copyFormat",onClick:()=>b(!0)},c),a().createElement(i.Menu.Item,{key:"downloadOriginal",onClick:()=>E(!1)},u),a().createElement(i.Menu.Item,{key:"downloadFormat",onClick:()=>E(!0)},h));return a().createElement(i.Dropdown,N(N({overlay:T,trigger:["click"],className:_o(_,n)},v),y),a().createElement("a",{className:"ant-dropdown-link",key:"export",onClick:e=>e.preventDefault()},o||a().createElement(jo,null)))}));Xo.displayName="Export",Xo.defaultProps={syncCopy:!1,fileName:"sheet"};const Zo=e=>{const{splitOrders:t=[],setSplitOrders:n}=e;return a().createElement(i.Card,{className:`${F}-card-content`},t.map((e=>a().createElement("li",{key:e,className:`${F}-split-value`,title:e},(e=>a().createElement(a().Fragment,null,a().createElement("span",{className:"split-text"},e),a().createElement("span",{className:`${F}-split-icon`,onClick:()=>{(e=>{const r=t.concat();r.splice(r.indexOf(e),1),r.unshift(e),n(r)})(e)}},a().createElement(bo,{name:"groupAsc"})),a().createElement("span",{className:`${F}-split-icon`,onClick:()=>{(e=>{const r=t.concat();let i=r.indexOf(e);r.splice(r.indexOf(e),1),r.splice(i+=1,0,e),n(r)})(e)}},a().createElement(bo,{name:"groupDesc"})),a().createElement("span",{className:`${F}-split-icon`,onClick:()=>{(e=>{const r=t.concat();let i=r.indexOf(e);i>0&&(r.splice(r.indexOf(e),1),r.splice(i-=1,0,e),n(r))})(e)}},a().createElement(bo,{name:"globalAsc"}))))(e)))))},{Sider:Qo,Content:Jo}=i.Layout,ea=({sheet:e,className:t,icon:n,text:s,ruleText:l,dimensions:u,ruleOptions:h,sortParams:p,onSortOpen:d,onSortConfirm:f})=>{const[m,g]=(0,o.useState)(!1),[y,v]=(0,o.useState)(!1),[_,b]=(0,o.useState)([]),[E,T]=(0,o.useState)([]),[x,S]=(0,o.useState)([]),[C,A]=(0,o.useState)([]),[R,w]=(0,o.useState)([]),[L,O]=(0,o.useState)(),[k]=i.Form.useForm(),D=a().useMemo(M,[]),H=a().useMemo(P,[]),B=()=>{g(!m)},U=()=>{v(!y)};return(0,o.useEffect)((()=>{if(m){const t=Pi(p,(t=>{const{sortFieldId:n,sortMethod:r,sortBy:i,sortByMeasure:o}=t;let a;return a=i?["sortBy"]:o?["sortByMeasure",o]:["sortMethod"],{field:n,name:e.dataSet.getFieldName(n),rule:a,sortMethod:r,sortBy:i,sortByMeasure:o}})),n=(()=>{if(u)return u;const{fields:t={}}=e.dataCfg||{},{rows:n=[],columns:r=[]}=t;return Pi([...n,...r],(t=>{const n="string"==typeof t?t:t.key;return{field:t,name:e.dataSet.getFieldName(n),list:e.dataSet.getDimensionValues(n)}}))})(),r=Li(n,(e=>!Ii(p,(t=>t.sortFieldId===e.field)))),i=h||Pi(D,(t=>{if("sortByMeasure"===t.value){const{values:n}=e.dataCfg.fields||{};t.children=Pi(n,(t=>({label:e.dataSet.getFieldName(t),value:t})))}return t}));b(t),S(n),A(r),T(i)}}),[m]),a().createElement("div",{className:_o(F,t)},a().createElement(i.Button,{onClick:()=>{d&&d(),B()},icon:n||a().createElement(Yo,null),size:"small",className:`${F}-btn`},s||(0,r.agQ)("高级排序")),a().createElement(i.Modal,{title:s||(0,r.agQ)("高级排序"),visible:m,onOk:()=>{const t=k.getFieldsValue(),{values:n=[]}=e.dataCfg.fields,i=[],o=[];Ri(Ht(t),(e=>{const{sortMethod:a,rule:s=[],sortBy:l}=t[e],c={sortFieldId:e};"sortByMeasure"===s[0]||s[1]?(function(e,t,n,r){var i;e=pt(e)?e:null==(i=e)?[]:function(e,t){return re(t,(function(t){return e[t]}))}(i,Ht(i)),n=n?_e(n):0;var o=e.length;return n<0&&(n=Hi(o+n,0)),Fi(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&Je(e,t,n)>-1}(n,s[1])?c.sortByMeasure=s[1]:c.sortByMeasure=r.Teh,c.sortMethod=a,c.query={$$extra$$:s[1]}):"sortBy"===s[0]?c.sortBy=l:c.sortMethod=a,i.push(N({field:e},t[e])),o.push(c)})),f&&f(i,o),B()},onCancel:B,okText:(0,r.agQ)("确定"),cancelText:(0,r.agQ)("取消"),destroyOnClose:!0,className:`${F}-modal`},a().createElement(i.Layout,null,a().createElement(Qo,{width:120,className:`${F}-sider-layout`},a().createElement("div",{className:`${F}-title`},(0,r.agQ)("可选字段")),a().createElement("div",null,Pi(C,(e=>a().createElement("div",{className:`${F}-dimension-item`,key:e.field,onClick:()=>{var t;t=e,Ii(_,(e=>e.field===t.field))||(O(t),b([..._,t])),A(Li(C,(e=>e.field!==t.field)))}},e.name))))),a().createElement(Jo,{className:`${F}-content-layout`},a().createElement("div",{className:`${F}-title`},l||(0,r.agQ)("按以下规则进行排序(优先级由低到高)")),a().createElement(i.Form,{form:k,name:"form",className:`${F}-custom-form`},Pi(_,(e=>{const{field:t,name:n,rule:o,sortMethod:s,sortBy:l}=e||{};return a().createElement(i.Form.Item,{name:t,key:t},a().createElement(i.Form.Item,{name:[t,"name"],initialValue:n,noStyle:!0},a().createElement(i.Select,{className:`${F}-select`,size:"small"})),a().createElement("span",{className:`${F}-field-prefix`},(0,r.agQ)("按")),a().createElement(i.Form.Item,{name:[t,"rule"],initialValue:o||["sortMethod"],noStyle:!0},a().createElement(i.Cascader,{options:E,expandTrigger:"hover",size:"small",allowClear:!1})),a().createElement(i.Form.Item,{shouldUpdate:!0,noStyle:!0},(({getFieldValue:n})=>ji(n([t,"rule"]),["sortBy"])?a().createElement(a().Fragment,null,a().createElement("a",{className:`${F}-rule-end`,onClick:()=>{var t,n,r;t=e,n=l,U(),O(t),w(co(n||(null==(r=Ii(x,(e=>e.field===t.field)))?void 0:r.list)||[]))}},(0,r.agQ)("设置顺序")),a().createElement(i.Form.Item,{noStyle:!0,name:[t,"sortBy"],initialValue:l})):a().createElement(i.Form.Item,{shouldUpdate:!0,noStyle:!0,name:[t,"sortMethod"],initialValue:so(s)||"ASC"},a().createElement(i.Radio.Group,{className:`${F}-rule-end`},Pi(H,(e=>a().createElement(i.Radio,{value:e.value,key:e.value},e.name))))))),a().createElement(c.Z,{className:`${F}-rule-end-delete`,onClick:()=>{var t;t=e,b(Li(_,(e=>e.field!==t.field))),A([...C,t])}}))})))))),a().createElement(i.Modal,{title:(0,r.agQ)("手动排序"),visible:y,onOk:()=>{U();const e=k.getFieldsValue([null==L?void 0:L.field]);e.sortBy=R,k.setFieldsValue({[null==L?void 0:L.field]:e});const t=Pi(_,(e=>e.field===(null==L?void 0:L.field)?I(N({},e),{rule:"sortBy",sortBy:R,sortMethod:"",sortByMeasure:""}):e));b(t)},onCancel:()=>{U()},okText:(0,r.agQ)("确定"),cancelText:(0,r.agQ)("取消"),destroyOnClose:!0,className:`${F}-custom-modal`},a().createElement(Zo,{splitOrders:R,setSplitOrders:w})))};var ta=(e=>(e.Rows="rows",e.Cols="columns",e.Values="values",e))(ta||{}),na=(e=>(e.Dimensions="dimensions",e.Measures="measures",e.Rows="rows",e.Cols="cols",e))(na||{});const ra=["rows","columns","values"],ia=e=>e instanceof r.HZt?"table":"pivot",oa=(e,{fields:t={},meta:n=[]}={},i=[])=>ra.reduce(((o,a)=>{const s=t[a];if(Ui(s))return o;const l=Pi(s,(e=>{const t="string"==typeof e?e:e.key,r=Ii(n,["field",t]);return{id:t,displayName:null==r?void 0:r.name,checked:!i.includes(t)}}));return o[a]=N({items:l},((e,t)=>({selectable:e instanceof r.TA7&&t===ta.Values||e instanceof r.HZt&&t===ta.Cols,expandable:e instanceof r.TA7&&t===ta.Values}))(e,a)),o}),{});function aa(e,t){return(aa=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function sa(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,aa(e,t)}function la(){return la=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}var wa={exports:{}},La={},Oa="function"==typeof Symbol&&Symbol.for,Na=Oa?Symbol.for("react.element"):60103,Ia=Oa?Symbol.for("react.portal"):60106,ka=Oa?Symbol.for("react.fragment"):60107,Da=Oa?Symbol.for("react.strict_mode"):60108,Pa=Oa?Symbol.for("react.profiler"):60114,Ma=Oa?Symbol.for("react.provider"):60109,Fa=Oa?Symbol.for("react.context"):60110,Ha=Oa?Symbol.for("react.async_mode"):60111,Ba=Oa?Symbol.for("react.concurrent_mode"):60111,Ua=Oa?Symbol.for("react.forward_ref"):60112,ja=Oa?Symbol.for("react.suspense"):60113,Ga=Oa?Symbol.for("react.suspense_list"):60120,Ya=Oa?Symbol.for("react.memo"):60115,za=Oa?Symbol.for("react.lazy"):60116,$a=Oa?Symbol.for("react.block"):60121,Wa=Oa?Symbol.for("react.fundamental"):60117,Va=Oa?Symbol.for("react.responder"):60118,Ka=Oa?Symbol.for("react.scope"):60119;function qa(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Na:switch(e=e.type){case Ha:case Ba:case ka:case Pa:case Da:case ja:return e;default:switch(e=e&&e.$$typeof){case Fa:case Ua:case za:case Ya:case Ma:return e;default:return t}}case Ia:return t}}}function Xa(e){return qa(e)===Ba}La.AsyncMode=Ha,La.ConcurrentMode=Ba,La.ContextConsumer=Fa,La.ContextProvider=Ma,La.Element=Na,La.ForwardRef=Ua,La.Fragment=ka,La.Lazy=za,La.Memo=Ya,La.Portal=Ia,La.Profiler=Pa,La.StrictMode=Da,La.Suspense=ja,La.isAsyncMode=function(e){return Xa(e)||qa(e)===Ha},La.isConcurrentMode=Xa,La.isContextConsumer=function(e){return qa(e)===Fa},La.isContextProvider=function(e){return qa(e)===Ma},La.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Na},La.isForwardRef=function(e){return qa(e)===Ua},La.isFragment=function(e){return qa(e)===ka},La.isLazy=function(e){return qa(e)===za},La.isMemo=function(e){return qa(e)===Ya},La.isPortal=function(e){return qa(e)===Ia},La.isProfiler=function(e){return qa(e)===Pa},La.isStrictMode=function(e){return qa(e)===Da},La.isSuspense=function(e){return qa(e)===ja},La.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===ka||e===Ba||e===Pa||e===Da||e===ja||e===Ga||"object"==typeof e&&null!==e&&(e.$$typeof===za||e.$$typeof===Ya||e.$$typeof===Ma||e.$$typeof===Fa||e.$$typeof===Ua||e.$$typeof===Wa||e.$$typeof===Va||e.$$typeof===Ka||e.$$typeof===$a)},La.typeOf=qa,wa.exports=La;var Za=wa.exports,Qa={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Ja={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},es={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},ts={};function ns(e){return Za.isMemo(e)?es:ts[e.$$typeof]||Qa}ts[Za.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},ts[Za.Memo]=es;var rs=Object.defineProperty,is=Object.getOwnPropertyNames,os=Object.getOwnPropertySymbols,as=Object.getOwnPropertyDescriptor,ss=Object.getPrototypeOf,ls=Object.prototype,cs=function e(t,n,r){if("string"!=typeof n){if(ls){var i=ss(n);i&&i!==ls&&e(t,i,r)}var o=is(n);os&&(o=o.concat(os(n)));for(var a=ns(t),s=ns(n),l=0;l=0;r--){var i=t[r](e);if(i)return i}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function pl(e,t){return e===t}function dl(e){var t=void 0===e?{}:e,n=t.connectHOC,r=void 0===n?Xs:n,i=t.mapStateToPropsFactories,o=void 0===i?rl:i,a=t.mapDispatchToPropsFactories,s=void 0===a?nl:a,l=t.mergePropsFactories,c=void 0===l?ol:l,u=t.selectorFactory,h=void 0===u?cl:u;return function(e,t,n,i){void 0===i&&(i={});var a=i,l=a.pure,u=void 0===l||l,p=a.areStatesEqual,d=void 0===p?pl:p,f=a.areOwnPropsEqual,m=void 0===f?Qs:f,g=a.areStatePropsEqual,y=void 0===g?Qs:g,v=a.areMergedPropsEqual,_=void 0===v?Qs:v,b=Ra(a,ul),E=hl(e,o,"mapStateToProps"),T=hl(t,s,"mapDispatchToProps"),x=hl(n,c,"mergeProps");return r(h,la({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:E,initMapDispatchToProps:T,initMergeProps:x,pure:u,areStatesEqual:d,areOwnPropsEqual:m,areStatePropsEqual:y,areMergedPropsEqual:_},b))}}var fl,ml=dl();function gl(e,t){var n=(0,o.useState)((function(){return{inputs:t,result:e()}}))[0],r=(0,o.useRef)(!0),i=(0,o.useRef)(n),a=r.current||Boolean(t&&i.current.inputs&&function(e,t){if(e.length!==t.length)return!1;for(var n=0;n");return t.callbacks},t.setCallbacks=function(e){t.callbacks=e},t}sa(t,e);var n=t.prototype;return n.componentDidMount=function(){this.unbind=Pl(window,[{eventName:"error",fn:this.onWindowError}])},n.componentDidCatch=function(e){if(!(e instanceof Fl))throw e;this.setState({})},n.componentWillUnmount=function(){this.unbind()},n.render=function(){return this.props.children(this.setCallbacks)},t}(a().Component),Ul=function(e){return e+1},jl=function(e,t){var n=e.droppableId===t.droppableId,r=Ul(e.index),i=Ul(t.index);return n?"\n You have moved the item from position "+r+"\n to position "+i+"\n ":"\n You have moved the item from position "+r+"\n in list "+e.droppableId+"\n to list "+t.droppableId+"\n in position "+i+"\n "},Gl=function(e,t,n){return t.droppableId===n.droppableId?"\n The item "+e+"\n has been combined with "+n.draggableId:"\n The item "+e+"\n in list "+t.droppableId+"\n has been combined with "+n.draggableId+"\n in list "+n.droppableId+"\n "},Yl=function(e){return"\n The item has returned to its starting position\n of "+Ul(e.index)+"\n"},zl=function(e){return"\n You have lifted an item in position "+Ul(e.source.index)+"\n"},$l=function(e){var t=e.destination;if(t)return jl(e.source,t);var n=e.combine;return n?Gl(e.draggableId,e.source,n):"You are over an area that cannot be dropped on"},Wl=function(e){if("CANCEL"===e.reason)return"\n Movement cancelled.\n "+Yl(e.source)+"\n ";var t=e.destination,n=e.combine;return t?"\n You have dropped the item.\n "+jl(e.source,t)+"\n ":n?"\n You have dropped the item.\n "+Gl(e.draggableId,e.source,n)+"\n ":"\n The item has been dropped while not over a drop area.\n "+Yl(e.source)+"\n "},Vl={x:0,y:0},Kl=function(e,t){return{x:e.x+t.x,y:e.y+t.y}},ql=function(e,t){return{x:e.x-t.x,y:e.y-t.y}},Xl=function(e,t){return e.x===t.x&&e.y===t.y},Zl=function(e){return{x:0!==e.x?-e.x:0,y:0!==e.y?-e.y:0}},Ql=function(e,t,n){var r;return void 0===n&&(n=0),(r={})[e]=t,r["x"===e?"y":"x"]=n,r},Jl=function(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))},ec=function(e,t){return Math.min.apply(Math,t.map((function(t){return Jl(e,t)})))},tc=function(e){return function(t){return{x:e(t.x),y:e(t.y)}}},nc=function(e,t){return{top:e.top+t.y,left:e.left+t.x,bottom:e.bottom+t.y,right:e.right+t.x}},rc=function(e){return[{x:e.left,y:e.top},{x:e.right,y:e.top},{x:e.left,y:e.bottom},{x:e.right,y:e.bottom}]},ic=function(e,t){return t&&t.shouldClipSubject?function(e,t){var n=_l({top:Math.max(t.top,e.top),right:Math.min(t.right,e.right),bottom:Math.min(t.bottom,e.bottom),left:Math.max(t.left,e.left)});return n.width<=0||n.height<=0?null:n}(t.pageMarginBox,e):_l(e)},oc=function(e){var t=e.page,n=e.withPlaceholder,r=e.axis,i=e.frame,o=function(e,t){return t?nc(e,t.scroll.diff.displacement):e}(t.marginBox,i),a=function(e,t,n){var r;return n&&n.increasedBy?la({},e,((r={})[t.end]=e[t.end]+n.increasedBy[t.line],r)):e}(o,r,n);return{page:t,withPlaceholder:n,active:ic(a,i)}},ac=function(e,t){e.frame||Hl(!1);var n=e.frame,r=ql(t,n.scroll.initial),i=Zl(r),o=la({},n,{scroll:{initial:n.scroll.initial,current:t,diff:{value:r,displacement:i},max:n.scroll.max}});return la({},e,{frame:o,subject:oc({page:e.subject.page,withPlaceholder:e.subject.withPlaceholder,axis:e.axis,frame:o})})};function sc(e){return Object.values?Object.values(e):Object.keys(e).map((function(t){return e[t]}))}function lc(e,t){if(e.findIndex)return e.findIndex(t);for(var n=0;ne.bottom,s=r.lefte.right;return!(!a||!s)||a&&o||s&&i}},Cc=function(e){var t=xc(e.top,e.bottom),n=xc(e.left,e.right);return function(e){return t(e.top)&&t(e.bottom)&&n(e.left)&&n(e.right)}},Ac={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},Rc={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},wc=function(e){var t=e.target,n=e.destination,r=e.viewport,i=e.withDroppableDisplacement,o=e.isVisibleThroughFrameFn,a=i?function(e,t){var n=t.frame?t.frame.scroll.diff.displacement:Vl;return nc(e,n)}(t,n):t;return function(e,t,n){return!!t.subject.active&&n(t.subject.active)(e)}(a,n,o)&&function(e,t,n){return n(t)(e)}(a,r,o)},Lc=function(e){return wc(la({},e,{isVisibleThroughFrameFn:Sc}))},Oc=function(e){return wc(la({},e,{isVisibleThroughFrameFn:Cc}))},Nc=function(e,t,n){if("boolean"==typeof n)return n;if(!t)return!0;var r=t.invisible,i=t.visible;if(r[e])return!1;var o=i[e];return!o||o.shouldAnimate};function Ic(e){var t=e.afterDragging,n=e.destination,r=e.displacedBy,i=e.viewport,o=e.forceShouldAnimate,a=e.last;return t.reduce((function(e,t){var s=function(e,t){var n=e.page.marginBox,r={top:t.point.y,right:0,bottom:0,left:t.point.x};return _l(bl(n,r))}(t,r),l=t.descriptor.id;if(e.all.push(l),!Lc({target:s,destination:n,viewport:i,withDroppableDisplacement:!0}))return e.invisible[t.descriptor.id]=!0,e;var c={draggableId:l,shouldAnimate:Nc(l,a,o)};return e.visible[l]=c,e}),{all:[],visible:{},invisible:{}})}function kc(e){var t=e.insideDestination,n=e.inHomeList,r=e.displacedBy,i=e.destination,o=function(e,t){if(!e.length)return 0;var n=e[e.length-1].descriptor.index;return t.inHomeList?n:n+1}(t,{inHomeList:n});return{displaced:Ec,displacedBy:r,at:{type:"REORDER",destination:{droppableId:i.descriptor.id,index:o}}}}function Dc(e){var t=e.draggable,n=e.insideDestination,r=e.destination,i=e.viewport,o=e.displacedBy,a=e.last,s=e.index,l=e.forceShouldAnimate,c=_c(t,r);if(null==s)return kc({insideDestination:n,inHomeList:c,displacedBy:o,destination:r});var u=cc(n,(function(e){return e.descriptor.index===s}));if(!u)return kc({insideDestination:n,inHomeList:c,displacedBy:o,destination:r});var h=vc(t,n),p=n.indexOf(u);return{displaced:Ic({afterDragging:h.slice(p),destination:r,displacedBy:o,last:a,viewport:i.frame,forceShouldAnimate:l}),displacedBy:o,at:{type:"REORDER",destination:{droppableId:r.descriptor.id,index:s}}}}function Pc(e,t){return Boolean(t.effected[e])}var Mc=function(e,t){return t.margin[e.start]+t.borderBox[e.size]/2},Fc=function(e,t,n){return t[e.crossAxisStart]+n.margin[e.crossAxisStart]+n.borderBox[e.crossAxisSize]/2},Hc=function(e){var t=e.axis,n=e.moveRelativeTo,r=e.isMoving;return Ql(t.line,n.marginBox[t.end]+Mc(t,r),Fc(t,n.marginBox,r))},Bc=function(e){var t=e.axis,n=e.moveRelativeTo,r=e.isMoving;return Ql(t.line,n.marginBox[t.start]-function(e,t){return t.margin[e.end]+t.borderBox[e.size]/2}(t,r),Fc(t,n.marginBox,r))},Uc=function(e,t){var n=e.frame;return n?Kl(t,n.scroll.diff.displacement):t},jc=function(e){var t=function(e){var t=e.impact,n=e.draggable,r=e.droppable,i=e.draggables,o=e.afterCritical,a=n.page.borderBox.center,s=t.at;return r&&s?"REORDER"===s.type?function(e){var t=e.impact,n=e.draggable,r=e.draggables,i=e.droppable,o=e.afterCritical,a=mc(i.descriptor.id,r),s=n.page,l=i.axis;if(!a.length)return function(e){var t=e.axis,n=e.moveInto,r=e.isMoving;return Ql(t.line,n.contentBox[t.start]+Mc(t,r),Fc(t,n.contentBox,r))}({axis:l,moveInto:i.page,isMoving:s});var c=t.displaced,u=t.displacedBy,h=c.all[0];if(h){var p=r[h];if(Pc(h,o))return Bc({axis:l,moveRelativeTo:p.page,isMoving:s});var d=Cl(p.page,u.point);return Bc({axis:l,moveRelativeTo:d,isMoving:s})}var f=a[a.length-1];if(f.descriptor.id===n.descriptor.id)return s.borderBox.center;if(Pc(f.descriptor.id,o)){var m=Cl(f.page,Zl(o.displacedBy.point));return Hc({axis:l,moveRelativeTo:m,isMoving:s})}return Hc({axis:l,moveRelativeTo:f.page,isMoving:s})}({impact:t,draggable:n,draggables:i,droppable:r,afterCritical:o}):function(e){var t=e.afterCritical,n=e.impact,r=e.draggables,i=yc(n);i||Hl(!1);var o=i.draggableId,a=r[o].page.borderBox.center,s=function(e){var t=e.displaced,n=e.afterCritical,r=e.combineWith,i=e.displacedBy,o=Boolean(t.visible[r]||t.invisible[r]);return Pc(r,n)?o?Vl:Zl(i.point):o?i.point:Vl}({displaced:n.displaced,afterCritical:t,combineWith:o,displacedBy:n.displacedBy});return Kl(a,s)}({impact:t,draggables:i,afterCritical:o}):a}(e),n=e.droppable;return n?Uc(n,t):t},Gc=function(e,t){var n=ql(t,e.scroll.initial),r=Zl(n);return{frame:_l({top:t.y,bottom:t.y+e.frame.height,left:t.x,right:t.x+e.frame.width}),scroll:{initial:e.scroll.initial,max:e.scroll.max,current:t,diff:{value:n,displacement:r}}}};function Yc(e,t){return e.map((function(e){return t[e]}))}var zc=function(e){var t,n,r=e.pageBorderBoxCenter,i=e.draggable,o=(t=e.viewport,n=r,Kl(t.scroll.diff.displacement,n)),a=ql(o,i.page.borderBox.center);return Kl(i.client.borderBox.center,a)},$c=function(e){var t=e.draggable,n=e.destination,r=e.newPageBorderBoxCenter,i=e.viewport,o=e.withDroppableDisplacement,a=e.onlyOnMainAxis,s=void 0!==a&&a,l=ql(r,t.page.borderBox.center),c={target:nc(t.page.borderBox,l),destination:n,withDroppableDisplacement:o,viewport:i};return s?function(e){return wc(la({},e,{isVisibleThroughFrameFn:(t=e.destination.axis,function(e){var n=xc(e.top,e.bottom),r=xc(e.left,e.right);return function(e){return t===Ac?n(e.top)&&n(e.bottom):r(e.left)&&r(e.right)}})}));var t}(c):Oc(c)},Wc=function(e){var t=e.isMovingForward,n=e.draggable,r=e.destination,i=e.draggables,o=e.previousImpact,a=e.viewport,s=e.previousPageBorderBoxCenter,l=e.previousClientSelection,c=e.afterCritical;if(!r.isEnabled)return null;var u=mc(r.descriptor.id,i),h=_c(n,r),p=function(e){var t=e.isMovingForward,n=e.draggable,r=e.destination,i=e.insideDestination,o=e.previousImpact;if(!r.isCombineEnabled)return null;if(!gc(o))return null;function a(e){var t={type:"COMBINE",combine:{draggableId:e,droppableId:r.descriptor.id}};return la({},o,{at:t})}var s=o.displaced.all,l=s.length?s[0]:null;if(t)return l?a(l):null;var c=vc(n,i);if(!l)return c.length?a(c[c.length-1].descriptor.id):null;var u=lc(c,(function(e){return e.descriptor.id===l}));-1===u&&Hl(!1);var h=u-1;return h<0?null:a(c[h].descriptor.id)}({isMovingForward:t,draggable:n,destination:r,insideDestination:u,previousImpact:o})||function(e){var t=e.isMovingForward,n=e.isInHomeList,r=e.draggable,i=e.draggables,o=e.destination,a=e.insideDestination,s=e.previousImpact,l=e.viewport,c=e.afterCritical,u=s.at;if(u||Hl(!1),"REORDER"===u.type){var h=function(e){var t=e.isMovingForward,n=e.isInHomeList,r=e.insideDestination,i=e.location;if(!r.length)return null;var o=i.index,a=t?o+1:o-1,s=r[0].descriptor.index,l=r[r.length-1].descriptor.index;return a(n?l:l+1)?null:a}({isMovingForward:t,isInHomeList:n,location:u.destination,insideDestination:a});return null==h?null:Dc({draggable:r,insideDestination:a,destination:o,viewport:l,last:s.displaced,displacedBy:s.displacedBy,index:h})}var p=function(e){var t=e.isMovingForward,n=e.draggables,r=e.combine,i=e.afterCritical;if(!e.destination.isCombineEnabled)return null;var o=r.draggableId,a=n[o].descriptor.index;return Pc(o,i)?t?a:a-1:t?a+1:a}({isMovingForward:t,destination:o,displaced:s.displaced,draggables:i,combine:u.combine,afterCritical:c});return null==p?null:Dc({draggable:r,insideDestination:a,destination:o,viewport:l,last:s.displaced,displacedBy:s.displacedBy,index:p})}({isMovingForward:t,isInHomeList:h,draggable:n,draggables:i,destination:r,insideDestination:u,previousImpact:o,viewport:a,afterCritical:c});if(!p)return null;var d=jc({impact:p,draggable:n,droppable:r,draggables:i,afterCritical:c});if($c({draggable:n,destination:r,newPageBorderBoxCenter:d,viewport:a.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0}))return{clientSelection:zc({pageBorderBoxCenter:d,draggable:n,viewport:a}),impact:p,scrollJumpRequest:null};var f=ql(d,s),m=function(e){var t=e.impact,n=e.viewport,r=e.destination,i=e.draggables,o=e.maxScrollChange,a=Gc(n,Kl(n.scroll.current,o)),s=r.frame?ac(r,Kl(r.frame.scroll.current,o)):r,l=t.displaced,c=Ic({afterDragging:Yc(l.all,i),destination:r,displacedBy:t.displacedBy,viewport:a.frame,last:l,forceShouldAnimate:!1}),u=Ic({afterDragging:Yc(l.all,i),destination:s,displacedBy:t.displacedBy,viewport:n.frame,last:l,forceShouldAnimate:!1}),h={},p={},d=[l,c,u];return l.all.forEach((function(e){var t=function(e,t){for(var n=0;n1?u.sort((function(e,t){return Vc(e)[s.start]-Vc(t)[s.start]}))[0]:c.sort((function(e,t){var r=ec(n,rc(Vc(e))),i=ec(n,rc(Vc(t)));return r!==i?r-i:Vc(e)[s.start]-Vc(t)[s.start]}))[0]}({isMovingForward:t,pageBorderBoxCenter:n,source:i,droppables:a,viewport:s});if(!c)return null;var u=mc(c.descriptor.id,o),h=function(e){var t=e.pageBorderBoxCenter,n=e.viewport,r=e.destination,i=e.afterCritical;return e.insideDestination.filter((function(e){return Oc({target:qc(e,i),destination:r,viewport:n.frame,withDroppableDisplacement:!0})})).sort((function(e,n){var o=Jl(t,Uc(r,Kc(e,i))),a=Jl(t,Uc(r,Kc(n,i)));return or.left&&n.topr.top))return!1;if(nu(i)(t.center))return!0;var o=e.axis,a=i.center[o.crossAxisLine],s=t[o.crossAxisStart],l=t[o.crossAxisEnd],c=xc(i[o.crossAxisStart],i[o.crossAxisEnd]),u=c(s),h=c(l);return!u&&!h||(u?sa)}));return i.length?1===i.length?i[0].descriptor.id:function(e){var t=e.pageBorderBox,n=e.candidates,r=e.draggable.page.borderBox.center,i=n.map((function(e){var n=e.axis,i=Ql(e.axis.line,t.center[n.line],e.page.borderBox.center[n.crossAxisLine]);return{id:e.descriptor.id,distance:Jl(r,i)}})).sort((function(e,t){return t.distance-e.distance}));return i[0]?i[0].id:null}({pageBorderBox:t,draggable:n,candidates:i}):null}({pageBorderBox:l,draggable:n,droppables:i});if(!c)return Tc;var u,h,p=i[c],d=mc(p.descriptor.id,r),f=(u=l,(h=p.frame)?ru(u,h.scroll.diff.value):u);return function(e){var t=e.draggable,n=e.pageBorderBoxWithDroppableScroll,r=e.previousImpact,i=e.destination,o=e.insideDestination,a=e.afterCritical;if(!i.isCombineEnabled)return null;var s=i.axis,l=Xc(i.axis,t.displaceBy),c=l.value,u=n[s.start],h=n[s.end],p=cc(vc(t,o),(function(e){var t=e.descriptor.id,n=e.page.borderBox,i=n[s.size]/4,o=Pc(t,a),l=iu({displaced:r.displaced,id:t});return o?l?h>n[s.start]+i&&hn[s.start]-c+i&&un[s.start]+c+i&&hn[s.start]+i&&ut.descriptor.index?n.descriptor.index-1:n.descriptor.index:null}({draggable:n,closest:cc(vc(n,i),(function(e){var t=e.descriptor.id,n=e.page.borderBox.center[l.line],r=Pc(t,s),i=iu({displaced:o,id:t});return r?i?p<=n:h=1500)return.55;var r=Uu+n/1500*.22000000000000003;return Number(("CANCEL"===t?.6*r:r).toFixed(2))}({current:i.current.client.offset,destination:g,reason:o});n({type:"DROP_ANIMATE",payload:{newHomeClientOffset:g,dropDuration:v,completed:y}})}else n(Lu({completed:y}))}}else n(function(e){return{type:"DROP_PENDING",payload:e}}({reason:o}))}else e(r)}}},Gu=function(){return{x:window.pageXOffset,y:window.pageYOffset}};var Yu=function(e){var t=function(e){var t,n=e.onWindowScroll,r=Il((function(){n(Gu())})),i=(t=r,{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(e){e.target!==window&&e.target!==window.document||t()}}),o=Dl;function a(){return o!==Dl}return{start:function(){a()&&Hl(!1),o=Pl(window,[i])},stop:function(){a()||Hl(!1),r.cancel(),o(),o=Dl},isActive:a}}({onWindowScroll:function(t){e.dispatch({type:"MOVE_BY_WINDOW_SCROLL",payload:{newScroll:t}})}});return function(e){return function(n){t.isActive()||"INITIAL_PUBLISH"!==n.type||t.start(),t.isActive()&&function(e){return"DROP_COMPLETE"===e.type||"DROP_ANIMATE"===e.type||"FLUSH"===e.type}(n)&&t.stop(),e(n)}}},zu=function(e,t){t()},$u=function(e,t){return{draggableId:e.draggable.id,type:e.droppable.type,source:{droppableId:e.droppable.id,index:e.draggable.index},mode:t}},Wu=function(e,t,n,r){if(e){var i=function(e){var t=!1,n=!1,r=setTimeout((function(){n=!0})),i=function(i){t||n||(t=!0,e(i),clearTimeout(r))};return i.wasCalled=function(){return t},i}(n);e(t,{announce:i}),i.wasCalled()||n(r(t))}else n(r(t))},Vu=function(e,t){var n=function(e,t){var n,r=(n=[],{add:function(e){var t=setTimeout((function(){return function(e){var t=lc(n,(function(t){return t.timerId===e}));-1===t&&Hl(!1),n.splice(t,1)[0].callback()}(t)})),r={timerId:t,callback:e};n.push(r)},flush:function(){if(n.length){var e=[].concat(n);n.length=0,e.forEach((function(e){clearTimeout(e.timerId),e.callback()}))}}}),i=null,o=function(n){i||Hl(!1),i=null,zu(0,(function(){return Wu(e().onDragEnd,n,t,Wl)}))};return{beforeCapture:function(t,n){i&&Hl(!1),zu(0,(function(){var r=e().onBeforeCapture;r&&r({draggableId:t,mode:n})}))},beforeStart:function(t,n){i&&Hl(!1),zu(0,(function(){var r=e().onBeforeDragStart;r&&r($u(t,n))}))},start:function(n,o){i&&Hl(!1);var a=$u(n,o);i={mode:o,lastCritical:n,lastLocation:a.source,lastCombine:null},r.add((function(){zu(0,(function(){return Wu(e().onDragStart,a,t,zl)}))}))},update:function(n,o){var a=gc(o),s=yc(o);i||Hl(!1);var l=!function(e,t){if(e===t)return!0;var n=e.draggable.id===t.draggable.id&&e.draggable.droppableId===t.draggable.droppableId&&e.draggable.type===t.draggable.type&&e.draggable.index===t.draggable.index,r=e.droppable.id===t.droppable.id&&e.droppable.type===t.droppable.type;return n&&r}(n,i.lastCritical);l&&(i.lastCritical=n);var c,u,h=(u=a,!(null==(c=i.lastLocation)&&null==u||null!=c&&null!=u&&c.droppableId===u.droppableId&&c.index===u.index));h&&(i.lastLocation=a);var p=!function(e,t){return null==e&&null==t||null!=e&&null!=t&&e.draggableId===t.draggableId&&e.droppableId===t.droppableId}(i.lastCombine,s);if(p&&(i.lastCombine=s),l||h||p){var d=la({},$u(n,i.mode),{combine:s,destination:a});r.add((function(){zu(0,(function(){return Wu(e().onDragUpdate,d,t,$l)}))}))}},flush:function(){i||Hl(!1),r.flush()},drop:o,abort:function(){if(i){var e=la({},$u(i.lastCritical,i.mode),{combine:null,destination:null,reason:"CANCEL"});o(e)}}}}(e,t);return function(e){return function(t){return function(r){if("BEFORE_INITIAL_CAPTURE"!==r.type){if("INITIAL_PUBLISH"===r.type){var i=r.payload.critical;return n.beforeStart(i,r.payload.movementMode),t(r),void n.start(i,r.payload.movementMode)}if("DROP_COMPLETE"===r.type){var o=r.payload.completed.result;return n.flush(),t(r),void n.drop(o)}if(t(r),"FLUSH"!==r.type){var a=e.getState();"DRAGGING"===a.phase&&n.update(a.critical,a.impact)}else n.abort()}else n.beforeCapture(r.payload.draggableId,r.payload.movementMode)}}}},Ku=function(e){return function(t){return function(n){if("DROP_ANIMATION_FINISHED"===n.type){var r=e.getState();"DROP_ANIMATING"!==r.phase&&Hl(!1),e.dispatch(Lu({completed:r.completed}))}else t(n)}}},qu=function(e){var t=null,n=null;return function(r){return function(i){if("FLUSH"!==i.type&&"DROP_COMPLETE"!==i.type&&"DROP_ANIMATION_FINISHED"!==i.type||(n&&(cancelAnimationFrame(n),n=null),t&&(t(),t=null)),r(i),"DROP_ANIMATE"===i.type){var o={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){"DROP_ANIMATING"===e.getState().phase&&e.dispatch({type:"DROP_ANIMATION_FINISHED",payload:null})}};n=requestAnimationFrame((function(){n=null,t=Pl(window,[o])}))}}}},Xu=function(e){return function(t){return function(n){if(t(n),"PUBLISH_WHILE_DRAGGING"===n.type){var r=e.getState();"DROP_PENDING"===r.phase&&(r.isWaiting||e.dispatch(Ou({reason:r.reason})))}}}},Zu=_a,Qu=function(e){var t,n=e.dimensionMarshal,r=e.focusMarshal,i=e.styleMarshal,o=e.getResponders,a=e.announce,s=e.autoScroller;return ga(gu,Zu(function(){for(var e=arguments.length,t=new Array(e),n=0;nt.startScrollingFrom)return 0;if(e<=t.maxScrollValueAt)return 28;if(e===t.startScrollingFrom)return 1;var n=uh({startOfRange:t.maxScrollValueAt,endOfRange:t.startScrollingFrom,current:e}),r=28*ch(1-n);return Math.ceil(r)}(t,n);return 0===o?0:i?Math.max(function(e,t){var n=t,r=ph,i=Date.now()-n;if(i>=ph)return e;if(it.height,o=n.width>t.width;return o||i?o&&i?null:{x:o?0:r.x,y:i?0:r.y}:r}({container:n,subject:r,proposedScroll:c});return u?Xl(u,Vl)?null:u:null},yh=tc((function(e){return 0===e?0:e>0?1:-1})),vh=(rh=function(e,t){return e<0?e:e>t?e-t:0},function(e){var t=e.current,n=e.max,r=e.change,i=Kl(t,r),o={x:rh(i.x,n.x),y:rh(i.y,n.y)};return Xl(o,Vl)?null:o}),_h=function(e){var t=e.max,n=e.current,r=e.change,i={x:Math.max(n.x,t.x),y:Math.max(n.y,t.y)},o=yh(r),a=vh({max:i,current:n,change:o});return!a||0!==o.x&&0===a.x||0!==o.y&&0===a.y},bh=function(e,t){return _h({current:e.scroll.current,max:e.scroll.max,change:t})},Eh=function(e,t){var n=e.frame;return!!n&&_h({current:n.scroll.current,max:n.scroll.max,change:t})},Th=function(e){var t=e.state,n=e.dragStartTime,r=e.shouldUseTimeDampening,i=e.scrollWindow,o=e.scrollDroppable,a=t.current.page.borderBoxCenter,s=t.dimensions.draggables[t.critical.draggable.id].page.marginBox;if(t.isWindowScrollAllowed){var l=function(e){var t=e.viewport,n=e.subject,r=e.center,i=e.shouldUseTimeDampening,o=gh({dragStartTime:e.dragStartTime,container:t.frame,subject:n,center:r,shouldUseTimeDampening:i});return o&&bh(t,o)?o:null}({dragStartTime:n,viewport:t.viewport,subject:s,center:a,shouldUseTimeDampening:r});if(l)return void i(l)}var c=function(e){var t=e.center,n=e.destination,r=e.droppables;if(n){var i=r[n];return i.frame?i:null}var o=function(e,t){return cc(lh(t),(function(t){return t.frame||Hl(!1),nu(t.frame.pageMarginBox)(e)}))}(t,r);return o}({center:a,destination:Jc(t.impact),droppables:t.dimensions.droppables});if(c){var u=function(e){var t=e.droppable,n=e.subject,r=e.center,i=e.dragStartTime,o=e.shouldUseTimeDampening,a=t.frame;if(!a)return null;var s=gh({dragStartTime:i,container:a.pageMarginBox,subject:n,center:r,shouldUseTimeDampening:o});return s&&Eh(t,s)?s:null}({dragStartTime:n,droppable:c,subject:s,center:a,shouldUseTimeDampening:r});u&&o(c.descriptor.id,u)}},xh=function(e){var t=e.move,n=e.scrollDroppable,r=e.scrollWindow;return function(e){var i=e.scrollJumpRequest;if(i){var o=Jc(e.impact);o||Hl(!1);var a=function(e,t){if(!Eh(e,t))return t;var r=function(e,t){var n=e.frame;return n&&Eh(e,t)?vh({current:n.scroll.current,max:n.scroll.max,change:t}):null}(e,t);if(!r)return n(e.descriptor.id,t),null;var i=ql(t,r);return n(e.descriptor.id,i),ql(t,i)}(e.dimensions.droppables[o],i);if(a){var s=e.viewport,l=function(e,t,n){if(!e)return n;if(!bh(t,n))return n;var i=function(e,t){if(!bh(e,t))return null;var n=e.scroll.max,r=e.scroll.current;return vh({current:r,max:n,change:t})}(t,n);if(!i)return r(n),null;var o=ql(n,i);return r(o),ql(n,o)}(e.isWindowScrollAllowed,s,a);l&&function(e,n){var r=Kl(e.current.client.selection,n);t({client:r})}(e,l)}}}},Sh=function(e){var t=e.scrollDroppable,n=e.scrollWindow,r=e.move,i=function(e){var t=e.scrollDroppable,n=Il(e.scrollWindow),r=Il(t),i=null,o=function(e){i||Hl(!1);var t=i,o=t.shouldUseTimeDampening,a=t.dragStartTime;Th({state:e,scrollWindow:n,scrollDroppable:r,dragStartTime:a,shouldUseTimeDampening:o})};return{start:function(e){i&&Hl(!1);var t=Date.now(),n=!1,r=function(){n=!0};Th({state:e,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:r,scrollDroppable:r}),i={dragStartTime:t,shouldUseTimeDampening:n},n&&o(e)},stop:function(){i&&(n.cancel(),r.cancel(),i=null)},scroll:o}}({scrollWindow:n,scrollDroppable:t}),o=xh({move:r,scrollWindow:n,scrollDroppable:t});return{scroll:function(e){"DRAGGING"===e.phase&&("FLUID"!==e.movementMode?e.scrollJumpRequest&&o(e):i.scroll(e))},start:i.start,stop:i.stop}},Ch="data-rbd",Ah={base:ih=Ch+"-drag-handle",draggableId:ih+"-draggable-id",contextId:ih+"-context-id"},Rh=function(){var e=Ch+"-draggable";return{base:e,contextId:e+"-context-id",id:e+"-id"}}(),wh=function(){var e=Ch+"-droppable";return{base:e,contextId:e+"-context-id",id:e+"-id"}}(),Lh={contextId:Ch+"-scroll-container-context-id"},Oh=function(e,t){return e.map((function(e){var n=e.styles[t];return n?e.selector+" { "+n+" }":""})).join(" ")},Nh=function(e){var t,n,r,i=(t=e,function(e){return"["+e+'="'+t+'"]'}),o=(n="\n cursor: -webkit-grab;\n cursor: grab;\n ",{selector:i(Ah.contextId),styles:{always:"\n -webkit-touch-callout: none;\n -webkit-tap-highlight-color: rgba(0,0,0,0);\n touch-action: manipulation;\n ",resting:n,dragging:"pointer-events: none;",dropAnimating:n}}),a=[(r="\n transition: "+Mu.outOfTheWay+";\n ",{selector:i(Rh.contextId),styles:{dragging:r,dropAnimating:r,userCancel:r}}),o,{selector:i(wh.contextId),styles:{always:"overflow-anchor: none;"}},{selector:"body",styles:{dragging:"\n cursor: grabbing;\n cursor: -webkit-grabbing;\n user-select: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n overflow-anchor: none;\n "}}];return{always:Oh(a,"always"),resting:Oh(a,"resting"),dragging:Oh(a,"dragging"),dropAnimating:Oh(a,"dropAnimating"),userCancel:Oh(a,"userCancel")}},Ih="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?o.useLayoutEffect:o.useEffect,kh=function(){var e=document.querySelector("head");return e||Hl(!1),e},Dh=function(e){var t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.type="text/css",t},Ph=function(e){return e&&e.ownerDocument?e.ownerDocument.defaultView:window};function Mh(e){return e instanceof Ph(e).HTMLElement}function Fh(){var e={draggables:{},droppables:{}},t=[];function n(e){t.length&&t.forEach((function(t){return t(e)}))}function r(t){return e.draggables[t]||null}function i(t){return e.droppables[t]||null}return{draggable:{register:function(t){e.draggables[t.descriptor.id]=t,n({type:"ADDITION",value:t})},update:function(t,n){var r=e.draggables[n.descriptor.id];r&&r.uniqueId===t.uniqueId&&(delete e.draggables[n.descriptor.id],e.draggables[t.descriptor.id]=t)},unregister:function(t){var i=t.descriptor.id,o=r(i);o&&t.uniqueId===o.uniqueId&&(delete e.draggables[i],n({type:"REMOVAL",value:t}))},getById:function(e){var t=r(e);return t||Hl(!1),t},findById:r,exists:function(e){return Boolean(r(e))},getAllByType:function(t){return sc(e.draggables).filter((function(e){return e.descriptor.type===t}))}},droppable:{register:function(t){e.droppables[t.descriptor.id]=t},unregister:function(t){var n=i(t.descriptor.id);n&&t.uniqueId===n.uniqueId&&delete e.droppables[t.descriptor.id]},getById:function(e){var t=i(e);return t||Hl(!1),t},findById:i,exists:function(e){return Boolean(i(e))},getAllByType:function(t){return sc(e.droppables).filter((function(e){return e.descriptor.type===t}))}},subscribe:function(e){return t.push(e),function(){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}},clean:function(){e.draggables={},e.droppables={},t.length=0}}}var Hh=a().createContext(null),Bh=function(){var e=document.body;return e||Hl(!1),e},Uh={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},jh=function(e){return"rbd-announcement-"+e},Gh=0,Yh={separator:"::"};function zh(e,t){return void 0===t&&(t=Yh),yl((function(){return""+e+t.separator+Gh++}),[t.separator,e])}var $h=a().createContext(null);function Wh(e){var t=(0,o.useRef)(e);return(0,o.useEffect)((function(){t.current=e})),t}var Vh,Kh,qh=((Vh={})[13]=!0,Vh[9]=!0,Vh),Xh=function(e){qh[e.keyCode]&&e.preventDefault()},Zh=function(){var e="visibilitychange";return"undefined"==typeof document?e:cc([e,"ms"+e,"webkit"+e,"moz"+e,"o"+e],(function(e){return"on"+e in document}))||e}(),Qh={type:"IDLE"};function Jh(){}var ep=((Kh={})[34]=!0,Kh[33]=!0,Kh[36]=!0,Kh[35]=!0,Kh);var tp={type:"IDLE"},np={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function rp(e,t){if(null==t)return!1;if(Boolean(np[t.tagName.toLowerCase()]))return!0;var n=t.getAttribute("contenteditable");return"true"===n||""===n||t!==e&&rp(e,t.parentElement)}function ip(e,t){var n=t.target;return!!Mh(n)&&rp(e,n)}var op=function(e){return _l(e.getBoundingClientRect()).center},ap=function(){var e="matches";return"undefined"==typeof document?e:cc([e,"msMatchesSelector","webkitMatchesSelector"],(function(e){return e in Element.prototype}))||e}();function sp(e,t){return null==e?null:e[ap](t)?e:sp(e.parentElement,t)}function lp(e,t){return e.closest?e.closest(t):sp(e,t)}function cp(e){e.preventDefault()}function up(e){var t=e.expected,n=e.phase,r=e.isLockActive;return e.shouldWarn,!!r()&&t===n}function hp(e){var t=e.lockAPI,n=e.store,r=e.registry,i=e.draggableId;if(t.isClaimed())return!1;var o=r.draggable.findById(i);return!!o&&!!o.options.isEnabled&&!!ah(n.getState(),i)}var pp=[function(e){var t=(0,o.useRef)(Qh),n=(0,o.useRef)(Dl),r=yl((function(){return{eventName:"mousedown",fn:function(t){if(!t.defaultPrevented&&0===t.button&&!(t.ctrlKey||t.metaKey||t.shiftKey||t.altKey)){var r=e.findClosestDraggableId(t);if(r){var i=e.tryGetLock(r,s,{sourceEvent:t});if(i){t.preventDefault();var o={x:t.clientX,y:t.clientY};n.current(),u(i,o)}}}}}}),[e]),i=yl((function(){return{eventName:"webkitmouseforcewillbegin",fn:function(t){if(!t.defaultPrevented){var n=e.findClosestDraggableId(t);if(n){var r=e.findOptionsForDraggable(n);r&&(r.shouldRespectForcePress||e.canGetLock(n)&&t.preventDefault())}}}}}),[e]),a=vl((function(){n.current=Pl(window,[i,r],{passive:!1,capture:!0})}),[i,r]),s=vl((function(){"IDLE"!==t.current.type&&(t.current=Qh,n.current(),a())}),[a]),l=vl((function(){var e=t.current;s(),"DRAGGING"===e.type&&e.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===e.type&&e.actions.abort()}),[s]),c=vl((function(){var e=function(e){var t=e.cancel,n=e.completed,r=e.getPhase,i=e.setPhase;return[{eventName:"mousemove",fn:function(e){var t=e.button,n=e.clientX,o=e.clientY;if(0===t){var a={x:n,y:o},s=r();if("DRAGGING"===s.type)return e.preventDefault(),void s.actions.move(a);if("PENDING"!==s.type&&Hl(!1),l=s.point,c=a,Math.abs(c.x-l.x)>=5||Math.abs(c.y-l.y)>=5){var l,c;e.preventDefault();var u=s.actions.fluidLift(a);i({type:"DRAGGING",actions:u})}}}},{eventName:"mouseup",fn:function(e){var i=r();"DRAGGING"===i.type?(e.preventDefault(),i.actions.drop({shouldBlockNextClick:!0}),n()):t()}},{eventName:"mousedown",fn:function(e){"DRAGGING"===r().type&&e.preventDefault(),t()}},{eventName:"keydown",fn:function(e){if("PENDING"!==r().type)return 27===e.keyCode?(e.preventDefault(),void t()):void Xh(e);t()}},{eventName:"resize",fn:t},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){"PENDING"===r().type&&t()}},{eventName:"webkitmouseforcedown",fn:function(e){var n=r();"IDLE"===n.type&&Hl(!1),n.actions.shouldRespectForcePress()?t():e.preventDefault()}},{eventName:Zh,fn:t}]}({cancel:l,completed:s,getPhase:function(){return t.current},setPhase:function(e){t.current=e}});n.current=Pl(window,e,{capture:!0,passive:!1})}),[l,s]),u=vl((function(e,n){"IDLE"!==t.current.type&&Hl(!1),t.current={type:"PENDING",point:n,actions:e},c()}),[c]);Ih((function(){return a(),function(){n.current()}}),[a])},function(e){var t=(0,o.useRef)(Jh),n=yl((function(){return{eventName:"keydown",fn:function(n){if(!n.defaultPrevented&&32===n.keyCode){var i=e.findClosestDraggableId(n);if(i){var o=e.tryGetLock(i,l,{sourceEvent:n});if(o){n.preventDefault();var a=!0,s=o.snapLift();t.current(),t.current=Pl(window,function(e,t){function n(){t(),e.cancel()}return[{eventName:"keydown",fn:function(r){return 27===r.keyCode?(r.preventDefault(),void n()):32===r.keyCode?(r.preventDefault(),t(),void e.drop()):40===r.keyCode?(r.preventDefault(),void e.moveDown()):38===r.keyCode?(r.preventDefault(),void e.moveUp()):39===r.keyCode?(r.preventDefault(),void e.moveRight()):37===r.keyCode?(r.preventDefault(),void e.moveLeft()):void(ep[r.keyCode]?r.preventDefault():Xh(r))}},{eventName:"mousedown",fn:n},{eventName:"mouseup",fn:n},{eventName:"click",fn:n},{eventName:"touchstart",fn:n},{eventName:"resize",fn:n},{eventName:"wheel",fn:n,options:{passive:!0}},{eventName:Zh,fn:n}]}(s,l),{capture:!0,passive:!1})}}}function l(){a||Hl(!1),a=!1,t.current(),r()}}}}),[e]),r=vl((function(){t.current=Pl(window,[n],{passive:!1,capture:!0})}),[n]);Ih((function(){return r(),function(){t.current()}}),[r])},function(e){var t=(0,o.useRef)(tp),n=(0,o.useRef)(Dl),r=vl((function(){return t.current}),[]),i=vl((function(e){t.current=e}),[]),a=yl((function(){return{eventName:"touchstart",fn:function(t){if(!t.defaultPrevented){var r=e.findClosestDraggableId(t);if(r){var i=e.tryGetLock(r,l,{sourceEvent:t});if(i){var o=t.touches[0],a={x:o.clientX,y:o.clientY};n.current(),p(i,a)}}}}}}),[e]),s=vl((function(){n.current=Pl(window,[a],{capture:!0,passive:!1})}),[a]),l=vl((function(){var e=t.current;"IDLE"!==e.type&&("PENDING"===e.type&&clearTimeout(e.longPressTimerId),i(tp),n.current(),s())}),[s,i]),c=vl((function(){var e=t.current;l(),"DRAGGING"===e.type&&e.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===e.type&&e.actions.abort()}),[l]),u=vl((function(){var e={capture:!0,passive:!1},t={cancel:c,completed:l,getPhase:r},i=Pl(window,function(e){var t=e.cancel,n=e.completed,r=e.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(e){var n=r();if("DRAGGING"===n.type){n.hasMoved=!0;var i=e.touches[0],o={x:i.clientX,y:i.clientY};e.preventDefault(),n.actions.move(o)}else t()}},{eventName:"touchend",fn:function(e){var i=r();"DRAGGING"===i.type?(e.preventDefault(),i.actions.drop({shouldBlockNextClick:!0}),n()):t()}},{eventName:"touchcancel",fn:function(e){"DRAGGING"===r().type?(e.preventDefault(),t()):t()}},{eventName:"touchforcechange",fn:function(e){var n=r();"IDLE"===n.type&&Hl(!1);var i=e.touches[0];if(i&&i.force>=.15){var o=n.actions.shouldRespectForcePress();if("PENDING"!==n.type)return o?n.hasMoved?void e.preventDefault():void t():void e.preventDefault();o&&t()}}},{eventName:Zh,fn:t}]}(t),e),o=Pl(window,function(e){var t=e.cancel,n=e.getPhase;return[{eventName:"orientationchange",fn:t},{eventName:"resize",fn:t},{eventName:"contextmenu",fn:function(e){e.preventDefault()}},{eventName:"keydown",fn:function(e){"DRAGGING"===n().type?(27===e.keyCode&&e.preventDefault(),t()):t()}},{eventName:Zh,fn:t}]}(t),e);n.current=function(){i(),o()}}),[c,r,l]),h=vl((function(){var e=r();"PENDING"!==e.type&&Hl(!1);var t=e.actions.fluidLift(e.point);i({type:"DRAGGING",actions:t,hasMoved:!1})}),[r,i]),p=vl((function(e,t){"IDLE"!==r().type&&Hl(!1);var n=setTimeout(h,120);i({type:"PENDING",point:t,actions:e,longPressTimerId:n}),u()}),[u,r,i,h]);Ih((function(){return s(),function(){n.current();var e=r();"PENDING"===e.type&&(clearTimeout(e.longPressTimerId),i(tp))}}),[r,s,i]),Ih((function(){return Pl(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}])}),[])}];function dp(e){var t=e.contextId,n=e.store,r=e.registry,i=e.customSensors,a=e.enableDefaultSensors,s=[].concat(a?pp:[],i||[]),l=(0,o.useState)((function(){return function(){var e=null;function t(){e||Hl(!1),e=null}return{isClaimed:function(){return Boolean(e)},isActive:function(t){return t===e},claim:function(t){e&&Hl(!1);var n={abandon:t};return e=n,n},release:t,tryAbandon:function(){e&&(e.abandon(),t())}}}()}))[0],c=vl((function(e,t){e.isDragging&&!t.isDragging&&l.tryAbandon()}),[l]);Ih((function(){var e=n.getState();return n.subscribe((function(){var t=n.getState();c(e,t),e=t}))}),[l,n,c]),Ih((function(){return l.tryAbandon}),[l.tryAbandon]);for(var u=vl((function(e){return hp({lockAPI:l,registry:r,store:n,draggableId:e})}),[l,r,n]),h=vl((function(e,i,o){return function(e){var t=e.lockAPI,n=e.contextId,r=e.store,i=e.registry,o=e.draggableId,a=e.forceSensorStop,s=e.sourceEvent;if(!hp({lockAPI:t,store:r,registry:i,draggableId:o}))return null;var l=i.draggable.getById(o),c=function(e,t){var n="["+Rh.contextId+'="'+e+'"]',r=cc(uc(document.querySelectorAll(n)),(function(e){return e.getAttribute(Rh.id)===t}));return r&&Mh(r)?r:null}(n,l.descriptor.id);if(!c)return null;if(s&&!l.options.canDragInteractiveElements&&ip(c,s))return null;var u=t.claim(a||Dl),h="PRE_DRAG";function p(){return l.options.shouldRespectForcePress}function d(){return t.isActive(u)}var f=function(e,t){up({expected:e,phase:h,isLockActive:d,shouldWarn:!0})&&r.dispatch(t())}.bind(null,"DRAGGING");function m(e){function n(){t.release(),h="COMPLETED"}function i(t,i){if(void 0===i&&(i={shouldBlockNextClick:!1}),e.cleanup(),i.shouldBlockNextClick){var o=Pl(window,[{eventName:"click",fn:cp,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(o)}n(),r.dispatch(Ou({reason:t}))}return"PRE_DRAG"!==h&&(n(),"PRE_DRAG"!==h&&Hl(!1)),r.dispatch(yu(e.liftActionArgs)),h="DRAGGING",la({isActive:function(){return up({expected:"DRAGGING",phase:h,isLockActive:d,shouldWarn:!1})},shouldRespectForcePress:p,drop:function(e){return i("DROP",e)},cancel:function(e){return i("CANCEL",e)}},e.actions)}return{isActive:function(){return up({expected:"PRE_DRAG",phase:h,isLockActive:d,shouldWarn:!1})},shouldRespectForcePress:p,fluidLift:function(e){var t=Il((function(e){f((function(){return xu({client:e})}))}));return la({},m({liftActionArgs:{id:o,clientSelection:e,movementMode:"FLUID"},cleanup:function(){return t.cancel()},actions:{move:t}}),{move:t})},snapLift:function(){var e={moveUp:function(){return f(Su)},moveRight:function(){return f(Au)},moveDown:function(){return f(Cu)},moveLeft:function(){return f(Ru)}};return m({liftActionArgs:{id:o,clientSelection:op(c),movementMode:"SNAP"},cleanup:Dl,actions:e})},abort:function(){up({expected:"PRE_DRAG",phase:h,isLockActive:d,shouldWarn:!0})&&t.release()}}}({lockAPI:l,registry:r,contextId:t,store:n,draggableId:e,forceSensorStop:i,sourceEvent:o&&o.sourceEvent?o.sourceEvent:null})}),[t,l,r,n]),p=vl((function(e){return function(e,t){var n=function(e,t){var n,r=t.target;if(!((n=r)instanceof Ph(n).Element))return null;var i=function(e){return"["+Ah.contextId+'="'+e+'"]'}(e),o=lp(r,i);return o&&Mh(o)?o:null}(e,t);return n?n.getAttribute(Ah.draggableId):null}(t,e)}),[t]),d=vl((function(e){var t=r.draggable.findById(e);return t?t.options:null}),[r.draggable]),f=vl((function(){l.isClaimed()&&(l.tryAbandon(),"IDLE"!==n.getState().phase&&n.dispatch(wu()))}),[l,n]),m=vl(l.isClaimed,[l]),g=yl((function(){return{canGetLock:u,tryGetLock:h,findClosestDraggableId:p,findOptionsForDraggable:d,tryReleaseLock:f,isLockClaimed:m}}),[u,h,p,d,f,m]),y=0;y(0,r.d5G)("switcher",...e),Jp=e=>Qp("content","table"===e?"one-dimension":"three-dimensions"),ed=(e,t)=>"table"===e||t===ta.Values,td="item",nd=({dragHandleProps:e,fieldType:t,id:n,displayName:r,selectable:s,checked:l,parentId:c,className:u,disabled:h,onVisibleItemChange:p})=>{const d=(0,o.useRef)(),[f,m]=(0,o.useState)(!1);(0,o.useEffect)((()=>{m(d.current.offsetWidthnull==p?void 0:p(t,e.target.checked,n,c)}),f?a().createElement(i.Tooltip,{title:g,placement:"bottomRight",overlayClassName:Qp("tooltip")},a().createElement("div",{className:Qp(td,"text"),ref:d},g)):a().createElement("div",{className:Qp(td,"text"),ref:d},g))};nd.defaultProps={checked:!0,disabled:!1};const rd=({fieldType:e,item:{id:t,displayName:n,checked:r=!0,children:i=[]},expandable:o,expandChildren:s,isDragDisabled:l,selectable:c,index:u,draggingItemId:h,onVisibleItemChange:p})=>a().createElement(Vp,{draggableId:t,index:u,isDragDisabled:l},((u,d)=>a().createElement("div",I(N({},u.draggableProps),{ref:u.innerRef,className:_o(Qp(c?"checkable-list":"normal-list"),{dragging:d.isDragging,"disable-dragging":l})}),a().createElement(nd,{dragHandleProps:u.dragHandleProps,fieldType:e,id:t,displayName:n,checked:r,onVisibleItemChange:p,selectable:c,className:_o(c?"checkable-item":"normal-item",{"item-collapse":!s})}),o&&s&&!Ui(i)&&h!==t&&a().createElement("div",{className:_o("child-items",{"item-hidden":!s})},i.map((n=>a().createElement(nd,{key:n.id,id:n.id,fieldType:e,displayName:n.displayName,disabled:!r,checked:n.checked,parentId:t,selectable:c,onVisibleItemChange:p,className:"checkable-item"}))))))),id="dimension",od=a().memo((e=>{const t=e,{fieldType:n,crossRows:o=!1,selectable:s=!1,expandable:l=!1,expandText:c=(0,r.agQ)("展开子项"),allowEmpty:u=!0,items:h=[],droppableType:p,text:d,icon:f}=t,m=k(t,["fieldType","crossRows","selectable","expandable","expandText","allowEmpty","items","droppableType","text","icon"]),[g,y]=a().useState(!0),v=!u&&1===h.length;return a().createElement("div",{className:_o(Qp(id),{"long-dimension":o})},a().createElement("div",{className:Qp(id,"header")},a().createElement("div",{className:"title"},a().createElement(f,null)," ",a().createElement("span",null,d)),l&&a().createElement("div",{className:"expand-option"},a().createElement(i.Checkbox,{checked:g,onChange:e=>{y(e.target.checked)}}),a().createElement("span",{className:"description"},c))),a().createElement(Zp,{droppableId:n,type:p},((e,t)=>a().createElement("div",I(N({ref:e.innerRef},e.droppableProps),{className:_o(Qp(id,"items"),{[Qp(id,"items-highlight")]:t.isDraggingOver,[Qp(id,"long-items")]:o})}),h.map(((e,t)=>a().createElement(rd,N({key:e.id,index:t,fieldType:n,item:e,expandable:l,expandChildren:g,selectable:s,isDragDisabled:v},m)))),e.placeholder))))}));od.displayName="Dimension";const ad="content",sd=a().memo((e=>{const t=e,{innerContentClassName:n,contentTitleText:o=(0,r.agQ)("行列切换"),resetText:s=(0,r.agQ)("恢复默认"),allowExchangeHeader:l=!0,onToggleVisible:c,onSubmit:u,sheetType:h}=t,p=k(t,["innerContentClassName","contentTitleText","resetText","allowExchangeHeader","onToggleVisible","onSubmit","sheetType"]),d=((e=!0)=>({[ta.Rows]:{text:(0,r.agQ)("行头"),icon:zo,droppableType:e?na.Dimensions:na.Rows},[ta.Cols]:{text:(0,r.agQ)("列头"),icon:$o,droppableType:e?na.Dimensions:na.Cols},[ta.Values]:{text:(0,r.agQ)("值"),icon:Wo,droppableType:na.Measures}}))(l),m=(e=>{return t=e,r={},n=gi(n="items"),vi(t,(function(e,t,i){it(r,t,n(e,t,i))})),r;var t,n,r})(p),[g,y]=a().useState(m),[v,_]=a().useState(null),b=(e,t,n,r)=>{const i=((e=[],t,n,r)=>{const i=N({},e.find((e=>e.id===(null!=r?r:n))));return r?i.children=Pi(i.children,(e=>I(N({},e),{checked:e.id===n?t:e.checked}))):(i.checked=t,i.children=Pi(i.children,(e=>I(N({},e),{checked:t})))),e.map((e=>e.id===i.id?i:e))})(g[e],t,n,r);y(I(N({},g),{[e]:i}))},E=ji(m,g),T=ra.filter((e=>"table"!==h||e===ta.Cols));return a().createElement(vp,{onBeforeCapture:e=>{_(e.draggableId)},onDragEnd:({destination:e,source:t})=>{if(_(null),!e)return;if(e.droppableId===t.droppableId&&e.index===t.index)return;const n=((e=[],t=[],n,r)=>{if(r.droppableId===n.droppableId){const e=[...t],[i]=e.splice(n.index,1);return e.splice(r.index,0,i),{[r.droppableId]:e}}const i=[...e],o=[...t],[a]=i.splice(n.index,1);return o.splice(r.index,0,a),{[n.droppableId]:i,[r.droppableId]:o}})(g[t.droppableId],g[e.droppableId],t,e);y(N(N({},g),n))}},a().createElement("div",{className:_o(n,Qp(ad))},a().createElement("header",{className:Qp(ad,"header")},o),a().createElement("main",{className:_o(Qp(ad,"main"),Jp(h))},T.map((e=>a().createElement(od,N(I(N({},p[e]),{key:e,fieldType:e,items:g[e],crossRows:ed(h,e),draggingItemId:v,onVisibleItemChange:b}),d[e]))))),a().createElement("footer",{className:Qp(ad,"footer")},a().createElement(i.Button,{type:"text",icon:a().createElement(f,null),className:Qp(ad,"footer","reset-button"),disabled:E,onClick:()=>{y(m)}},s),a().createElement("div",{className:Qp(ad,"footer","actions")},a().createElement(i.Button,{className:"action-button",onClick:c},(0,r.agQ)("取消")),a().createElement(i.Button,{className:"action-button",type:"primary",disabled:E,onClick:()=>{c(),null==u||u((e=>{const t=e=>{const t=e=>yn(Pi(e,(e=>{var n=e,{children:r}=n,i=k(n,["children"]);return[N({},i),...t(r)]}))),n=t(e);return{items:n,hideItems:Li(n,(e=>!1===e.checked))}};return{[ta.Rows]:t(e[ta.Rows]),[ta.Cols]:t(e[ta.Cols]),[ta.Values]:t(e[ta.Values])}})(g))}},(0,r.agQ)("确定"))))))}));sd.displayName="SwitcherContent",sd.defaultProps={sheetType:"pivot"};const ld=e=>{var t=e,{title:n,popover:s,disabled:l}=t,c=k(t,["title","popover","disabled"]);const[u,h]=(0,o.useState)(!1),p=()=>{h((e=>!e))};return a().createElement(i.Popover,N({visible:!l&&u,content:a().createElement(sd,I(N({},c),{onToggleVisible:p})),onVisibleChange:p,trigger:"click",placement:"bottomLeft",destroyTooltipOnHide:!0},s),(0,o.isValidElement)(n)?n:a().createElement(i.Button,{className:Qp("entry-button"),size:"small",disabled:l,icon:a().createElement(qo,null)},n||(0,r.agQ)("行列切换")))},cd=e=>{var t,n=e,{sheet:i,dataCfg:o,options:s}=n,l=k(n,["sheet","dataCfg","options"]);const[c,u]=a().useState((()=>{var e;return oa(i,o,null==(e=null==s?void 0:s.interaction)?void 0:e.hiddenColumnFields)}));return go((()=>{var e;u(oa(i,o,null==(e=null==s?void 0:s.interaction)?void 0:e.hiddenColumnFields))}),[i,o,null==(t=null==s?void 0:s.interaction)?void 0:t.hiddenColumnFields]),a().createElement(ld,N(N({sheetType:ia(i),onSubmit:e=>{var t;const{fields:n,hiddenColumnFields:o}=((e,t)=>{const n=e instanceof r.HZt;return{fields:ra.reduce(((e,r)=>{var i,o,a,s;const l=null!=(o=null==(i=t[r])?void 0:i.items)?o:[],c=null!=(s=null==(a=t[r])?void 0:a.hideItems)?s:[];return e[r]=Li(l,(e=>!c.find((t=>!n&&t.id===e.id)))).map((e=>e.id)),e}),{}),hiddenColumnFields:n?t[ta.Cols].hideItems.map((e=>e.id)):void 0}})(i,e);i.setDataCfg({fields:N(N({},i.dataCfg.fields),n)}),o&&i.setOptions({interaction:{hiddenColumnFields:o}}),i.render(),u(((e,t,n=[],r=[])=>{const{fields:i,hiddenFields:o}=(e=>function(e,t,n){var r=ie(e)?bn:oo,i=arguments.length<3;return r(e,gi(t),n,i,bi)}(e,((e,t,n)=>(e.fields[n]=Pi(t.items,"id"),e.hiddenFields.push(...Pi(t.hideItems,"id")),e)),{fields:{},hiddenFields:[]}))(t);return oa(e,{fields:i,meta:n},o.concat(r))})(i,e,null==(t=i.dataCfg)?void 0:t.meta,o))}},l),c))},ud=a().memo((e=>{var t=e,{className:n,style:r,title:o,width:s,description:l,exportCfg:c,advancedSortCfg:u,switcherCfg:h,sheet:p,extra:d,dataCfg:f,options:m}=t,g=k(t,["className","style","title","width","description","exportCfg","advancedSortCfg","switcherCfg","sheet","extra","dataCfg","options"]);const y="s2-header";return a().createElement("div",N({className:_o(y,n),style:r},g),a().createElement("div",{className:`${y}-heading`},a().createElement("div",{className:`${y}-heading-left`},a().createElement("div",{className:`${y}-heading-title`},o)),a().createElement("div",{className:`${y}-heading-extra`},a().createElement(i.Space,{align:"center"},d,h.open&&a().createElement(cd,N({sheet:p,dataCfg:f,options:m},h)),u.open&&a().createElement(ea,N({sheet:p},u)),c.open&&a().createElement(Xo,N({sheet:p},c))))),a().createElement("div",{className:`${y}-content`},l))}));ud.displayName="Header",ud.defaultProps={exportCfg:{open:!1},advancedSortCfg:{open:!1},switcherCfg:{open:!1}};const hd=`${r.vhY}-pagination`,pd=({pagination:e,onShowSizeChange:t,onChange:n})=>{if(Ui(e))return null;const{total:o,pageSize:s}=e,l=o/s>5;return a().createElement("div",{className:hd},a().createElement(i.Pagination,I(N({size:"small",defaultCurrent:1,showSizeChanger:!0,showQuickJumper:l},e),{onShowSizeChange:t,onChange:n})),a().createElement("span",{className:`${hd}-count`,title:`${(0,r.agQ)("共计")}${o}${(0,r.agQ)("条")}`},(0,r.agQ)("共计"),o||" - ",(0,r.agQ)("条")))};pd.displayName="S2Pagination";const dd=a().forwardRef(((e,t)=>{const{dataCfg:n,options:o,header:s}=e,{s2Ref:l,loading:c,containerRef:u,pagination:h,wrapperRef:p}=Fo(e),[d,f]=a().useState(l.current);return a().useEffect((()=>{t&&(t.current=l.current)}),[t,l]),a().useEffect((()=>f(l.current)),[f,l]),a().createElement(a().StrictMode,null,a().createElement(Ho.Provider,{value:d},a().createElement(i.Spin,{spinning:c,wrapperClassName:`${r.vhY}-spin`},a().createElement("div",{ref:p,className:`${r.vhY}-wrapper`},s&&a().createElement(ud,I(N({},s),{sheet:l.current,style:{width:o.width},dataCfg:(0,r.Unm)(n),options:Do(o)})),a().createElement("div",{ref:u,className:`${r.vhY}-container`}),h.showPagination&&a().createElement(pd,{pagination:h.pagination,onChange:h.onChange,onShowSizeChange:h.onShowSizeChange}),e.children))))}));dd.displayName="BaseSheet",dd.defaultProps={options:{},adaptive:!1,showPagination:!1};const fd=a().memo((e=>{const t=a().useRef();return a().createElement(dd,I(N({},e),{ref:t}))}));fd.displayName="TableSheet";class md extends r.f4X{drawTextShape(){he(this.getMeta().fieldValue)?(0,r.qPk)(this):super.drawTextShape()}}const gd=e=>new md(e,e.spreadsheet),yd={dataCell:{text:{fontSize:12,fontFamily:r.utx,fill:"rgba(0, 0, 0, 0.85)",fontWeight:"normal",textBaseline:"middle",textAlign:"left"},minorText:{fontSize:11,fontFamily:r.utx,fill:"rgba(0, 0, 0, 0.45)",fontWeight:"normal",textBaseline:"middle",textAlign:"left"},derivedMeasureText:{mainUp:"#F46649",mainDown:"#2AA491",minorUp:"#f9ae9e",minorDown:"#a9dad2"},bolderText:{fontSize:12,fontFamily:r.utx,fill:"rgba(0, 0, 0, 1)",fontWeight:(0,r.EDF)()?"bold":520,textBaseline:"middle",textAlign:"left"}}},vd=a().memo((e=>{const t=e,{options:n,themeCfg:i}=t,o=k(t,["options","themeCfg"]),s=a().useRef(),l=a().useMemo((()=>(0,r._Ge)(n,{dataCell:gd,showDefaultHeaderActionIcon:!1,style:{colCfg:{hideMeasureColumn:!0}}})),[n]),c=a().useMemo((()=>(0,r._Ge)({},i,{theme:yd})),[i]);return a().createElement(dd,N({options:l,themeCfg:c,ref:s},o))}));vd.displayName="GridAnalysisSheet";class _d extends r.X0t{constructor(e,t,n){super(e,t,n)}drawTextShape(){const e=this.getMeta(),t=(0,r.D6R)(null==e?void 0:e.value);if(!ie(t))return super.drawTextShape();const{formattedValue:n}=this.getFormattedFieldValue(),i=n!==(null==e?void 0:e.value)?[[n]]:[t];(0,r.qPk)(this,{values:i},!1)}}class bd extends r.f4X{drawTextShape(){he(this.getMeta().fieldValue)?(0,r.qPk)(this):super.drawTextShape()}}class Ed extends r.O9R{processDataCfg(e){e.fields.valueInCols=!1;const t=e,{data:n,meta:i}=t,o=k(t,["data","meta"]),a=[];Ri(n,(e=>{let t=!1;var n;null==(n=e)||yi(n,Ai(((n,i)=>{he(n)&&(a.push(I(N({},e),{[r.CoU]:i,[r.__x]:n})),t=!0)})),Ut),t||a.push(e)}));const s=this.processMeta(i,(0,r.agQ)("数值"));return I(N({data:co(a),meta:s},o),{fields:I(N({},e.fields),{rows:[r.CoU]})})}}const Td=({cell:e,label:t})=>{const n=e.getMeta();if(n.isLeaf&&0!==n.level)return null;const r=n.spreadsheet.dataSet.getFieldName(n.field),i=Ce(t)?t(e,r):t,o=null!=i?i:r;return a().createElement("div",{className:_o(U(),U("col"))},a().createElement("span",{className:U("name")},o),a().createElement("span",{className:U("value")},n.value))},xd=({cell:e,label:t,showOriginalValue:n,renderDerivedValue:i})=>{var o;const s=e.getMeta(),l=null==s?void 0:s.fieldValue,c=(e=>{var t;const n=Ii(e.spreadsheet.getRowNodes(),{rowIndex:e.rowIndex});return e.spreadsheet.dataSet.getFieldDescription(null==n?void 0:n.field)||(null==(t=null==n?void 0:n.extra)?void 0:t.description)})(s),u=(e=>{const t=Ii(e.spreadsheet.getRowNodes(),{rowIndex:e.rowIndex});return e.spreadsheet.dataSet.getFieldName((null==t?void 0:t.valueFiled)||(null==t?void 0:t.value))})(s),h=Ce(t)?t(e,u):t,p=null!=h?h:u,d=(e=>Ii(e.spreadsheet.getColumnNodes(),{colIndex:e.colIndex,isLeaf:!0}))(s),[,...f]=a().useMemo((()=>{try{return JSON.parse(null==d?void 0:d.value)}catch{return[]}}),[null==d?void 0:d.value]),{placeholder:m,style:g}=s.spreadsheet.options,y=null==(o=g.cellCfg)?void 0:o.valuesCfg,[v,..._]=ki(null==l?void 0:l.values)||[l],[b,...E]=ki(pn(l,null==y?void 0:y.originalValueField))||[v],T=(0,r.o3g)(s,m),x=(null==y?void 0:y.showOriginalValue)||n;return a().createElement("div",{className:_o(U(),U("data"))},a().createElement("div",{className:U("header")},a().createElement("span",{className:"header-label"},p),a().createElement("span",null,null!=v?v:T)),x&&a().createElement("div",{className:U("original-value")},Gi(b)?T:b),!Ui(_)&&a().createElement(a().Fragment,null,a().createElement("div",{className:U("divider")}),a().createElement("ul",{className:U("derived-values")},_.map(((t,n)=>{var o;const s=Gi(t)||""===t,l=(0,r.Pyr)(t),c=!s&&!l,u=E[n];return a().createElement("li",{className:"derived-value-item",key:n},a().createElement("span",{className:"derived-value-label"},f[n]),a().createElement("span",{className:_o("derived-value-group",{"derived-value-trend-up":l,"derived-value-trend-down":c})},!s&&a().createElement("span",{className:"derived-value-trend-icon"}),null!=(o=null==i?void 0:i(t,u,e))?o:a().createElement("span",{className:"derived-value-content"},null!=t?t:T)))})))),c&&a().createElement("div",{className:U("description")},(0,r.agQ)("说明"),": ",c))};xd.defaultProps={showOriginalValue:!1};const Sd=({cell:e,label:t})=>{const{field:n,spreadsheet:i,value:o,extra:s}=e.getMeta(),l=Ce(t)?t(e,o):t,c=null!=l?l:o,u=i.dataSet.getFieldDescription(n)||(null==s?void 0:s.description);return a().createElement("div",{className:_o(U(),U("row"))},a().createElement("div",{className:U("value")},c),u&&a().createElement("div",{className:U("description")},(0,r.agQ)("说明"),": ",u))},Cd=a().memo((e=>{const t=e,{options:n,themeCfg:i,dataCfg:o}=t,s=k(t,["options","themeCfg","dataCfg"]),l=a().useRef(),c=a().useMemo((()=>{var e,t,r;if(Ui(o))return{};let i=!1,s="tree";Ui(null==(e=null==o?void 0:o.fields)?void 0:e.rows)&&!Ui(null==(t=null==o?void 0:o.fields)?void 0:t.customTreeItems)&&(s="customTree"),1===ao(null==(r=null==o?void 0:o.fields)?void 0:r.values)&&"customTree"!==n.hierarchyType&&(i=!0);const l=e=>(t,r)=>{var i,o,a,s;const l=null!=(s=null==(o=null==(i=n.tooltip)?void 0:i[e])?void 0:o.content)?s:null==(a=n.tooltip)?void 0:a.content;return Ce(l)?null==l?void 0:l(t,r):l};return{dataCell:e=>new bd(e,e.spreadsheet),colCell:(e,t,n)=>new _d(e,t,n),dataSet:e=>new Ed(e),showDefaultHeaderActionIcon:!1,hierarchyType:s,style:{colCfg:{hideMeasureColumn:i}},interaction:{autoResetSheetStyle:!0,brushSelection:!1,selectedCellMove:!1,multiSelection:!1,rangeSelection:!1},tooltip:{operation:{hiddenColumns:!0},row:{content:(e,t)=>{var n;return null!=(n=l("row")(e,t))?n:a().createElement(Sd,{cell:e})}},col:{content:(e,t)=>{var n;return null!=(n=l("row")(e,t))?n:a().createElement(Td,{cell:e})}},data:{content:(e,t)=>{const n=e.getMeta().fieldValue,r=l("data")(e,t);return Gi(r)?ie(null==n?void 0:n.values)?a().createElement(xd,{cell:e}):a().createElement(a().Fragment,null):r}}}}}),[o,n.hierarchyType,n.tooltip]),u=a().useMemo((()=>{var e;const t={fields:{valueInCols:ao(null==(e=null==o?void 0:o.fields)?void 0:e.values)<=1}};return(0,r._Ge)(o,t)}),[o]),h=a().useMemo((()=>(0,r._Ge)(n,c)),[n,c]);return a().createElement(dd,N({options:h,themeCfg:i,dataCfg:u,ref:l},s))}));Cd.displayName="StrategySheet";const Ad=e=>{var t=e,{className:n,titleText:s=(0,r.agQ)("选择下钻维度"),clearButtonText:l=(0,r.agQ)("恢复默认"),searchText:c=(0,r.agQ)("搜索字段"),extra:u,drillFields:h,dataSet:p,disabledFields:d,getDrillFields:f,setDrillFields:m}=t,g=k(t,["className","titleText","clearButtonText","searchText","extra","drillFields","dataSet","disabledFields","getDrillFields","setDrillFields"]);const y={text:a().createElement(Ko,null),location:a().createElement(Go,null),date:a().createElement(Uo,null)},v=()=>p.map((e=>(e.disabled=!(!d||!d.includes(e.value)),e))),[_,b]=(0,o.useState)(v()),E=e=>{const{value:t}=e.target;if(t){const e=new RegExp(t,"gi"),n=p.filter((t=>e.test(t.name)));b([...n])}else b([...p])};return(0,o.useEffect)((()=>{b(v())}),[d]),a().createElement(i.ConfigProvider,null,a().createElement("div",N({className:_o(H,n)},g),a().createElement("header",{className:`${H}-header`},a().createElement("div",null,s),a().createElement(i.Button,{type:"link",disabled:Ui(h),onClick:e=>{e.stopPropagation(),f&&f([]),m&&m([])}},l)),a().createElement(i.Input,{className:`${H}-search`,placeholder:c,onChange:E,onPressEnter:E,prefix:a().createElement(Vo,null),allowClear:!0}),Ui(_)&&a().createElement(i.Empty,{imageStyle:{height:"64px"},className:`${H}-empty`}),u,a().createElement(i.Menu,{className:`${H}-menu`,selectedKeys:h,onSelect:e=>{const t=null==e?void 0:e.selectedKeys;f&&f([...t]),m&&m([...t])}},_.map((e=>a().createElement(i.Menu.Item,{key:e.value,disabled:e.disabled,className:`${H}-menu-item`,icon:e.icon?e.icon:y[e.type]},e.name))))))},Rd=["drillConfig","displayCondition","drillItemsNum"];function wd(e,t,n,r,i){if(r){const e=document.querySelector(`#${r}`);if(e&&s.unmountComponentAtNode(e)&&e.parentNode)return void e.parentNode.removeChild(e)}const a=document.createElement("div");let l,c;function u(...e){s.unmountComponentAtNode(a)&&a.parentNode&&(a.parentNode.removeChild(a),i&&i())}function h(...e){u.call(null,...e),c()}r&&(a.id=r),document.body.appendChild(a);const p=new Promise(((e,t)=>{l=e,c=t})).then((e=>(h(),e)));return setTimeout((()=>{s.render(o.createElement(Ho.Provider,{value:n},o.createElement(e,{onCancel:h,resolver:l,params:t})),a)})),p}function Ld(e){const{params:t,resolver:n}=e,r=Bo(),{event:s,onChange:l,CustomComponent:c}=t,u=s.target.cfg.parent,{left:h,top:p,width:d,height:f}=(0,o.useMemo)((()=>{const e=(null==r?void 0:r.container.cfg.container).getBoundingClientRect();return{left:window.scrollX+e.left,top:window.scrollY+e.top,width:e.width,height:e.height}}),[null==r?void 0:r.container.cfg.container]),{x:m,y:g,width:y,height:v}=(0,o.useMemo)((()=>{const e=r.facet.getScrollOffset(),t=io(u.getMeta(),["x","y","width","height"]);return t.x-=e.scrollX||0,t.y-=(e.scrollY||0)-(r.getColumnNodes()[0]||{height:0}).height,t}),[u,r]),[_,b]=(0,o.useState)(u.getMeta().fieldValue),E=(0,o.useRef)(null),T=(0,o.useRef)(null);(0,o.useEffect)((()=>{setTimeout((()=>{T.current&&T.current.click(),E.current&&E.current.focus()}))}),[]);const x=()=>{const{rowIndex:e,valueField:t}=u.getMeta();r.dataSet.originData[e][t]=_,r.render(!0),l&&l(r.dataSet.originData),n(!0)},S=a().useMemo((()=>({left:m,top:g,width:y,height:v,zIndex:1e3})),[]);return a().createElement("div",{ref:T,style:{zIndex:500,position:"absolute",overflow:"hidden",left:h,top:p,width:d,height:f}},c?a().createElement(c,{cell:u,spreadsheet:r,value:_,style:S,onChange:e=>{b(e)},onSave:x}):a().createElement(i.Input.TextArea,{required:!0,style:S,className:"s2-edit-cell",value:_,ref:E,onChange:e=>{b(e.target.value)},onBlur:x,onKeyDown:e=>{13===e.keyCode&&(e.preventDefault(),x())}}))}function Od({onChange:e,CustomComponent:t}){const n=Bo(),i=(0,o.useCallback)((r=>{wd(Ld,{event:r,onChange:e,CustomComponent:t},n)}),[n]);return Mo(r.ch4.DATA_CELL_DOUBLE_CLICK,i,n),null}function Nd({onCopyFinished:e}){const t=Bo(),[n,i]=(0,o.useState)(),[s,l]=(0,o.useState)({right:0,bottom:0}),[c,u]=(0,o.useState)(),h=(e,n)=>{const r=io(n.getMeta(),["x","y","width","height","fieldValue"]),i=t.facet.getScrollOffset(),o=e.x,a=e.y,s=(null==i?void 0:i.scrollY)-(t.getColumnNodes()[0]||{height:0}).height,l=r.x-i.scrollX+r.width+4,c=r.x-i.scrollX,u=r.y-s+r.height+4,h=r.y-s;return l>=o&&c=a&&h{const n=t.getCanvasElement().getBoundingClientRect();return t.interaction.getPanelGroupAllDataCells().find((t=>h({y:e.y-n.y,x:e.x-n.x},t)))},d=(e,n)=>{const r=e.getMeta(),i=null==n?void 0:n.getMeta(),o=Math.min(r.colIndex,i.colIndex),a=Math.max(r.colIndex,i.colIndex),s=Math.max(r.rowIndex,i.rowIndex),l=Math.min(r.rowIndex,i.rowIndex);return t.interaction.getPanelGroupAllDataCells().filter((e=>{const t=e.getMeta();return t.rowIndex<=s&&t.rowIndex>=l&&t.colIndex<=a&&t.colIndex>=o}))},f={x:0,y:0},m=function(e,t,n){var r=!0,i=!0;return he(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Ci(e,10,{leading:r,maxWait:10,trailing:i})}((e=>{if(!n)return;let i=p(e),o=e.x-c.x,a=e.y-c.y;(e=>{const n=t.getCanvasElement().getBoundingClientRect(),{frozenRow:r}=t.facet.frozenGroupInfo,i=n.x,o=n.x+n.width,a=n.y+r.height,s=n.y+n.height;return e.x<=o&&e.x>=i&&e.y<=s&&e.y>=a})(e)?(f.x=e.x,f.y=e.y):(i=p(f),o=f.x-c.x,a=f.y-c.y),l({right:o,bottom:a});const s=d(n,i);t.interaction.changeState({cells:s.map((e=>e.getMeta())),stateName:r._61.PREPARE_SELECT,force:!0})})),g=o=>{let a=p(o);if(!n)return;a||(a=p(f));const s=t.dataSet.originData,c=d(n,a),{fieldValue:u}=n.getMeta(),h=c.map((e=>{const{rowIndex:t,valueField:n}=e.getMeta();return s[t]&&void 0!==typeof s[t][n]&&(s[t][n]=u),e}));t.interaction.changeState({cells:h.map((e=>e.getMeta())),stateName:r._61.PREPARE_SELECT,force:!0}),t.render(!0),l({right:0,bottom:0}),t.off(r.ch4.GLOBAL_MOUSE_MOVE,m),t.off(r.ch4.GLOBAL_MOUSE_UP,g),i(void 0),null==e||e()};(0,o.useEffect)((()=>{n&&(t.on(r.ch4.GLOBAL_MOUSE_MOVE,m),t.on(r.ch4.GLOBAL_MOUSE_UP,g))}),[n]);const y=e=>{if("spreadsheet-drag-copy-point"!==pn(e,"target.id"))return;const n=e.target.getBoundingClientRect(),{top:r,left:o}=pn(e,"target.style",{}),a=t.interaction.getPanelGroupAllDataCells().find((e=>h({y:parseFloat(r),x:parseFloat(o)},e)));u({x:n.x,y:n.y}),i(a)};return(0,o.useEffect)((()=>{const e=document.getElementById("spreadsheet-drag-copy-point");return e&&t&&e.addEventListener("mousedown",y),()=>{e.removeEventListener("mousedown",y)}}),[t]),a().createElement("div",{className:`${r.vhY}-drag-copy-mask`,style:{right:s.right>0?s.right:0,bottom:s.bottom>0?s.bottom:0,left:s.right<=0?s.right:0,top:s.bottom<=0?s.bottom:0,width:Math.abs(s.right),height:Math.abs(s.bottom)}})}function Id(e){const t=Bo(),[n,i]=(0,o.useState)({scrollX:-999,scrollY:-999,width:8,overflow:!0}),[s,l]=(0,o.useState)({left:-999,top:-999}),[c,u]=(0,o.useState)(),h=()=>{if(t){const e=t.facet.getScrollOffset(),{frozenCol:r,frozenRow:o}=t.facet.frozenGroupInfo,a=t.getCanvasElement().getBoundingClientRect(),s=null==c?void 0:c.getMeta();if(!ji(e,n))if(s){const{verticalBorderWidth:t,horizontalBorderWidth:n}=c.getStyle().cell,l=s.width+s.x,u=s.height+s.y,h=l-e.scrollX-a.width+2*(t+n);let p=!0;p=r.width>=l-e.scrollX-2*n||o.height>=u-e.scrollY-2*t||a.width<=l-e.scrollX-2*n||a.height<=u-e.scrollY+o.height,i(I(N({},e),{overflow:p,width:8-(h>0?h:0)}))}else i({scrollX:-999,scrollY:-999,overflow:!0})}};(0,o.useEffect)((()=>(h(),t&&(t.off(r.ch4.GLOBAL_SCROLL,h),t.on(r.ch4.GLOBAL_SCROLL,h)),()=>{null==t||t.off(r.ch4.GLOBAL_SCROLL,h)})),[c]),(0,o.useEffect)((()=>{c&&u(void 0)}),[null==t?void 0:t.dataSet.sortParams,null==t?void 0:t.dataSet.filterParams]),(0,o.useEffect)((()=>{if((null==t?void 0:t.container.cfg.container)&&t&&c){const e=io(c.getMeta(),["x","y","width","height","fieldValue"]);e.x-=null==n?void 0:n.scrollX,e.y-=(null==n?void 0:n.scrollY)-(t.getColumnNodes()[0]||{height:0}).height,l({left:e.x+e.width-4,top:e.y+e.height-4})}}),[n,c]);const p=()=>{u(void 0)};return Mo(r.ch4.COL_CELL_CLICK,p,t),Mo(r.ch4.ROW_CELL_CLICK,p,t),Mo(r.ch4.CORNER_CELL_CLICK,p,t),Mo(r.ch4.DATA_CELL_BRUSH_SELECTION,p,t),Mo(r.ch4.DATA_CELL_CLICK,(e=>{const n=e.target.cfg.parent,r=t.interaction.isSelectedCell(n);u(r?n:void 0)}),t),a().createElement("div",{id:"spreadsheet-drag-copy-point",className:`${r.vhY}-drag-copy-point`,style:{display:n.overflow?"none":"block",left:s.left,top:s.top,width:n.width}},a().createElement(Nd,{onCopyFinished:p}))}const kd=a().memo((e=>a().createElement(dd,I(N({},e),{sheetType:"table"}),a().createElement(Od,{onChange:()=>{}}),a().createElement(Id,null))));kd.displayName="EditableSheet";const Dd=a().memo((e=>{const t=e,{options:n}=t,i=k(t,["options"]),{dataCfg:s,partDrillDown:l}=i,c=a().useRef(),[u,h]=a().useState([]),p=function(e){var t=(0,o.useRef)(e);return t.current=e,t}((({sheetInstance:e,cacheDrillFields:t,disabledFields:n,event:i})=>{const o=a().createElement(Ad,I(N({},null==l?void 0:l.drillConfig),{setDrillFields:h,drillFields:t,disabledFields:n}));if(i){const{showTooltip:t}=(0,r.Hu7)(e,i);if(!t)return;e.showTooltip({position:{x:i.clientX,y:i.clientY},content:o})}})),d=a().useMemo((()=>((e,t,n)=>{var i;const o=(null==(i=null==e?void 0:e.headerActionIcons)?void 0:i.length)?[...e.headerActionIcons]:[];if(!Ui(t)){const e={belongsCell:"rowCell",iconNames:["DrillDownIcon"],defaultHide:!0,displayCondition:t.displayCondition||po,action:e=>{const{iconName:t,meta:i,event:o}=e;"DrillDownIcon"===t&&(i.spreadsheet.store.set("drillDownNode",i),(e=>{const{meta:t,event:n,callback:i}=e,{spreadsheet:o}=t;o.store.set("drillDownNode",t);const{drillDownDataCache:a,drillDownCurrentCache:s}=ho(o,t),l=(null==s?void 0:s.drillField)?[null==s?void 0:s.drillField]:[],c=[];a.forEach((e=>{t.id.includes(e.rowId)&&t.id!==e.rowId&&c.push(e.drillField)})),n&&o.emit(r.ch4.GLOBAL_ACTION_ICON_CLICK,n),i({sheetInstance:o,cacheDrillFields:l,disabledFields:c,event:n})})({meta:i,event:o,callback:n}))}};o.push(e)}return I(N({},e),{headerActionIcons:o})})(n,l,(e=>p.current(e)))),[n,l,p]),f=e=>{var t;null==(t=c.current)||t.clearDrillDownData(e)};a().useEffect((()=>{var e,t,n;null==(e=c.current)||e.hideTooltip(),Ui(u)?f(null==(n=null==(t=c.current)?void 0:t.store.get("drillDownNode"))?void 0:n.id):(e=>{const{fetchData:t,spreadsheet:n,drillFields:r,drillItemsNum:i=-1}=e;n.store.set("drillItemsNum",i);const o=n.store.get("drillDownNode"),{drillDownDataCache:a,drillDownCurrentCache:s}=ho(n,o);let l=function(e){return Lr(e,4)}(a);s&&(l=Li(a,(e=>e.rowId!==o.id))),t&&t(o,r).then((e=>{const{drillData:t,drillField:r}=e;if(n.dataSet.transformDrillDownData(r,t,o),!Ui(t)){const e=o.level+1,i={rowId:o.id,drillLevel:e,drillData:t,drillField:r};l.push(i),n.store.set("drillDownDataCache",l)}n.interaction.reset(),n.render(!1)}))})({rows:s.fields.rows,drillFields:u,fetchData:null==l?void 0:l.fetchData,drillItemsNum:null==l?void 0:l.drillItemsNum,spreadsheet:c.current})}),[u]),a().useEffect((()=>{var e;he(null==l?void 0:l.clearDrillDown)&&f(null==(e=null==l?void 0:l.clearDrillDown)?void 0:e.rowId)}),[null==l?void 0:l.clearDrillDown]);const m=(e=>{const t=a().useRef(e),n=Rd.map((t=>null==e?void 0:e[t]));return a().useCallback((n=>{const r=t.current,i=!!Rd.find((t=>!Object.is(null==e?void 0:e[t],null==r?void 0:r[t])));return t.current=e,{reloadData:i||n.reloadData,reBuildDataSet:n.reBuildDataSet}}),n)})(l);return a().createElement(dd,I(N({},i),{options:d,onSheetUpdate:m,ref:c}))}));Dd.displayName="PivotSheet";const Pd=a().forwardRef(((e,t)=>{const{sheetType:n}=e,o=a().useMemo((()=>I(N({},e),{onMounted:n=>{var r;t&&(t.current=n),null==(r=e.onMounted)||r.call(e,n)}})),[e,t]),s=a().useMemo((()=>{switch(n){case"table":return a().createElement(fd,N({},o));case"gridAnalysis":return a().createElement(vd,N({},o));case"strategy":return a().createElement(Cd,N({},o));case"editable":return a().createElement(kd,N({},o));default:return a().createElement(Dd,N({},o))}}),[n,o]),l="zh_CN"===(0,r.VQD)()?_:x;return a().createElement(a().StrictMode,null,a().createElement(i.ConfigProvider,{locale:l},s))})),Md=a().memo(Pd);Md.displayName="SheetComponent"},2153:(e,t,n)=>{"use strict";n.d(t,{AfN:()=>hE,CoU:()=>no,D6R:()=>UT,EDF:()=>_E,F1h:()=>px,HZt:()=>IR,Hu7:()=>RA,IZo:()=>yA,LRf:()=>ox,N6r:()=>wR,NO_:()=>dE,O9R:()=>kA,Pyr:()=>DT,TA7:()=>OR,Teh:()=>io,UhE:()=>fS,Unm:()=>RS,VQD:()=>uE,WNh:()=>ia,WkR:()=>iE,X0t:()=>tS,XNs:()=>bE,_61:()=>Bo,_Ge:()=>AS,__x:()=>to,agQ:()=>pE,c8d:()=>dx,ch4:()=>Qi,d5G:()=>LA,f0h:()=>nT,f4X:()=>Ex,o3g:()=>FT,q7_:()=>qE,qPk:()=>HT,utx:()=>sE,vQq:()=>ix,vhY:()=>Io}),e=n.hmd(e);var r=n(3656),i=Object.freeze({__proto__:null,get Base(){return yi},get Circle(){return vi},get Ellipse(){return bi},get Image(){return Ti},get Line(){return Ci},get Marker(){return wi},get Path(){return Hi},get Polygon(){return Ui},get Polyline(){return Gi},get Rect(){return zi},get Text(){return Wi}}),o=function(e,t){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},o(e,t)};function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var s=function(){return s=Object.assign||function(e){for(var t,n=1,r=arguments.length;n2&&(n.push([i].concat(a.splice(0,2))),s="l",i="m"===i?"l":"L"),"o"===s&&1===a.length&&n.push([i,a[0]]),"r"===s)n.push([i].concat(a));else for(;a.length>=t[s]&&(n.push([i].concat(a.splice(0,t[s]))),t[s]););return e})),n},M=function(e,t){for(var n=[],r=0,i=e.length;i-2*!t>r;r+=2){var o=[{x:+e[r-2],y:+e[r-1]},{x:+e[r],y:+e[r+1]},{x:+e[r+2],y:+e[r+3]},{x:+e[r+4],y:+e[r+5]}];t?r?i-4===r?o[3]={x:+e[0],y:+e[1]}:i-2===r&&(o[2]={x:+e[0],y:+e[1]},o[3]={x:+e[2],y:+e[3]}):o[0]={x:+e[i-2],y:+e[i-1]}:i-4===r?o[3]=o[2]:r||(o[0]={x:+e[r],y:+e[r+1]}),n.push(["C",(-o[0].x+6*o[1].x+o[2].x)/6,(-o[0].y+6*o[1].y+o[2].y)/6,(o[1].x+6*o[2].x-o[3].x)/6,(o[1].y+6*o[2].y-o[3].y)/6,o[2].x,o[2].y])}return n},F=function(e,t,n,r,i){var o=[];if(null===i&&null===r&&(r=n),e=+e,t=+t,n=+n,r=+r,null!==i){var a=Math.PI/180,s=e+n*Math.cos(-r*a),l=e+n*Math.cos(-i*a);o=[["M",s,t+n*Math.sin(-r*a)],["A",n,n,0,+(i-r>180),0,l,t+n*Math.sin(-i*a)]]}else o=[["M",e,t],["m",0,-r],["a",n,r,0,1,1,0,2*r],["a",n,r,0,1,1,0,-2*r],["z"]];return o},H=function(e){if(!(e=P(e))||!e.length)return[["M",0,0]];var t,n,r=[],i=0,o=0,a=0,s=0,l=0;"M"===e[0][0]&&(a=i=+e[0][1],s=o=+e[0][2],l++,r[0]=["M",i,o]);for(var c=3===e.length&&"M"===e[0][0]&&"R"===e[1][0].toUpperCase()&&"Z"===e[2][0].toUpperCase(),u=void 0,h=void 0,p=l,d=e.length;p1&&(n*=E=Math.sqrt(E),r*=E);var T=n*n,x=r*r,S=(o===a?-1:1)*Math.sqrt(Math.abs((T*x-T*b*b-x*_*_)/(T*b*b+x*_*_)));d=S*n*b/r+(e+s)/2,f=S*-r*_/n+(t+l)/2,h=Math.asin(((t-f)/r).toFixed(9)),p=Math.asin(((l-f)/r).toFixed(9)),h=ep&&(h-=2*Math.PI),!a&&p>h&&(p-=2*Math.PI)}var C=p-h;if(Math.abs(C)>m){var A=p,R=s,w=l;p=h+m*(a&&p>h?1:-1),s=d+n*Math.cos(p),l=f+r*Math.sin(p),y=j(s,l,n,r,i,0,a,R,w,[p,A,d,f])}C=p-h;var L=Math.cos(h),O=Math.sin(h),N=Math.cos(p),I=Math.sin(p),k=Math.tan(C/4),D=4/3*n*k,P=4/3*r*k,M=[e,t],F=[e+D*O,t-P*L],H=[s+D*I,l-P*N],B=[s,l];if(F[0]=2*M[0]-F[0],F[1]=2*M[1]-F[1],c)return[F,H,B].concat(y);for(var U=[],G=0,Y=(y=[F,H,B].concat(y).join().split(",")).length;G7){e[t].shift();for(var o=e[t];o.length;)s[t]="A",i&&(l[t]="A"),e.splice(t++,0,["C"].concat(o.splice(0,6)));e.splice(t,1),n=Math.max(r.length,i&&i.length||0)}},d=function(e,t,o,a,s){e&&t&&"M"===e[s][0]&&"M"!==t[s][0]&&(t.splice(s,0,["M",a.x,a.y]),o.bx=0,o.by=0,o.x=e[s][1],o.y=e[s][2],n=Math.max(r.length,i&&i.length||0))};n=Math.max(r.length,i&&i.length||0);for(var f=0;f1?1:l<0?0:l)/2,u=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],h=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],p=0,d=0;d<12;d++){var f=c*u[d]+c,m=$(f,e,n,i,a),g=$(f,t,r,o,s),y=m*m+g*g;p+=h[d]*Math.sqrt(y)}return c*p},V=function(e,t,n,r,i,o,a,s){for(var l,c,u,h,p=[],d=[[],[]],f=0;f<2;++f)if(0===f?(c=6*e-12*n+6*i,l=-3*e+9*n-9*i+3*a,u=3*n-3*e):(c=6*t-12*r+6*o,l=-3*t+9*r-9*o+3*s,u=3*r-3*t),Math.abs(l)<1e-12){if(Math.abs(c)<1e-12)continue;(h=-u/c)>0&&h<1&&p.push(h)}else{var m=c*c-4*u*l,g=Math.sqrt(m);if(!(m<0)){var y=(-c+g)/(2*l);y>0&&y<1&&p.push(y);var v=(-c-g)/(2*l);v>0&&v<1&&p.push(v)}}for(var _,b=p.length,E=b;b--;)_=1-(h=p[b]),d[0][b]=_*_*_*e+3*_*_*h*n+3*_*h*h*i+h*h*h*a,d[1][b]=_*_*_*t+3*_*_*h*r+3*_*h*h*o+h*h*h*s;return d[0][E]=e,d[1][E]=t,d[0][E+1]=a,d[1][E+1]=s,d[0].length=d[1].length=E+2,{min:{x:Math.min.apply(0,d[0]),y:Math.min.apply(0,d[1])},max:{x:Math.max.apply(0,d[0]),y:Math.max.apply(0,d[1])}}},K=function(e,t,n,r,i,o,a,s){if(!(Math.max(e,n)Math.max(i,a)||Math.max(t,r)Math.max(o,s))){var l=(e-n)*(o-s)-(t-r)*(i-a);if(l){var c=((e*r-t*n)*(i-a)-(e-n)*(i*s-o*a))/l,u=((e*r-t*n)*(o-s)-(t-r)*(i*s-o*a))/l,h=+c.toFixed(2),p=+u.toFixed(2);if(!(h<+Math.min(e,n).toFixed(2)||h>+Math.max(e,n).toFixed(2)||h<+Math.min(i,a).toFixed(2)||h>+Math.max(i,a).toFixed(2)||p<+Math.min(t,r).toFixed(2)||p>+Math.max(t,r).toFixed(2)||p<+Math.min(o,s).toFixed(2)||p>+Math.max(o,s).toFixed(2)))return{x:c,y:u}}}},q=function(e,t,n){return t>=e.x&&t<=e.x+e.width&&n>=e.y&&n<=e.y+e.height},X=function(e,t,n,r,i){if(i)return[["M",+e+ +i,t],["l",n-2*i,0],["a",i,i,0,0,1,i,i],["l",0,r-2*i],["a",i,i,0,0,1,-i,i],["l",2*i-n,0],["a",i,i,0,0,1,-i,-i],["l",0,2*i-r],["a",i,i,0,0,1,i,-i],["z"]];var o=[["M",e,t],["l",n,0],["l",0,r],["l",-n,0],["z"]];return o.parsePathArray=z,o},Z=function(e,t,n,r){return null===e&&(e=t=n=r=0),null===t&&(t=e.y,n=e.width,r=e.height,e=e.x),{x:e,y:t,width:n,w:n,height:r,h:r,x2:e+n,y2:t+r,cx:e+n/2,cy:t+r/2,r1:Math.min(n,r)/2,r2:Math.max(n,r)/2,r0:Math.sqrt(n*n+r*r)/2,path:X(e,t,n,r),vb:[e,t,n,r].join(" ")}},Q=function(e,t,n,r,i,o,a,s){d(e)||(e=[e,t,n,r,i,o,a,s]);var l=V.apply(null,e);return Z(l.min.x,l.min.y,l.max.x-l.min.x,l.max.y-l.min.y)},J=function(e,t,n,r,i,o,a,s,l){var c=1-l,u=Math.pow(c,3),h=Math.pow(c,2),p=l*l,d=p*l,f=e+2*l*(n-e)+p*(i-2*n+e),m=t+2*l*(r-t)+p*(o-2*r+t),g=n+2*l*(i-n)+p*(a-2*i+n),y=r+2*l*(o-r)+p*(s-2*o+r);return{x:u*e+3*h*l*n+3*c*l*l*i+d*a,y:u*t+3*h*l*r+3*c*l*l*o+d*s,m:{x:f,y:m},n:{x:g,y},start:{x:c*e+l*n,y:c*t+l*r},end:{x:c*i+l*a,y:c*o+l*s},alpha:90-180*Math.atan2(f-g,m-y)/Math.PI}},ee=function(e,t,n){if(r=Q(e),i=Q(t),r=Z(r),i=Z(i),!(q(i,r.x,r.y)||q(i,r.x2,r.y)||q(i,r.x,r.y2)||q(i,r.x2,r.y2)||q(r,i.x,i.y)||q(r,i.x2,i.y)||q(r,i.x,i.y2)||q(r,i.x2,i.y2)||(r.xi.x||i.xr.x)&&(r.yi.y||i.yr.y)))return n?0:[];for(var r,i,o=~~(W.apply(0,e)/8),a=~~(W.apply(0,t)/8),s=[],l=[],c={},u=n?0:[],h=0;h=0&&E<=1&&T>=0&&T<=1&&(n?u+=1:u.push({x:b.x,y:b.y,t1:E,t2:T}))}}return u};function te(e,t){var n=[],r=[];return e.length&&function e(t,i){if(1===t.length)n.push(t[0]),r.push(t[0]);else{for(var o=[],a=0;a=0;l--)a=o[l].index,"add"===o[l].type?e.splice(a,0,[].concat(e[a])):e.splice(a,1)}var h=i-(r=e.length);if(r0)){e[r]=t[r];break}n=oe(n,e[r-1],1)}e[r]=["Q"].concat(n.reduce((function(e,t){return e.concat(t)}),[]));break;case"T":e[r]=["T"].concat(n[0]);break;case"C":if(n.length<3){if(!(r>0)){e[r]=t[r];break}n=oe(n,e[r-1],2)}e[r]=["C"].concat(n.reduce((function(e,t){return e.concat(t)}),[]));break;case"S":if(n.length<2){if(!(r>0)){e[r]=t[r];break}n=oe(n,e[r-1],1)}e[r]=["S"].concat(n.reduce((function(e,t){return e.concat(t)}),[]));break;default:e[r]=t[r]}return e},le=Object.freeze({__proto__:null,catmullRomToBezier:M,fillPath:function(e,t){if(1===e.length)return e;var n=e.length-1,r=t.length-1,i=n/r,o=[];if(1===e.length&&"M"===e[0][0]){for(var a=0;a=3&&(3===e.length&&t.push("Q"),t=t.concat(e[1])),2===e.length&&t.push("L"),t.concat(e[e.length-1])}))}(e,t,n));else{var i=[].concat(e);"M"===i[0]&&(i[0]="L");for(var o=0;o<=n-1;o++)r.push(i)}return r}(e[i],e[i+1],r))}),[]);return l.unshift(e[0]),"Z"!==t[r]&&"z"!==t[r]||l.push("Z"),l},fillPathByDiff:ie,formatPath:se,intersection:function(e,t){return function(e,t,n){var r,i,o,a,s,l,c,u,h,p;e=G(e),t=G(t);for(var d=[],f=0,m=e.length;f0?r=function(e,t){if(t.onFrame)return e;var n=t.startTime,r=t.delay,i=t.duration,o=Object.prototype.hasOwnProperty;return m(e,(function(e){n+re.delay&&m(t.toAttrs,(function(t,n){o.call(e.toAttrs,n)&&(delete e.toAttrs[n],delete e.fromAttrs[n])}))})),e}(r,x):n.addAnimator(this),r.push(x),this.set("animations",r),this.set("_pause",{isPaused:!1})}},t.prototype.stopAnimate=function(e){var t=this;void 0===e&&(e=!0),m(this.get("animations"),(function(n){e&&(n.onFrame?t.attr(n.onFrame(1)):t.attr(n.toAttrs)),n.callback&&n.callback()})),this.set("animating",!1),this.set("animations",[])},t.prototype.pauseAnimate=function(){var e=this.get("timeline"),t=this.get("animations"),n=e.getTime();return m(t,(function(e){e._paused=!0,e._pauseTime=n,e.pauseCallback&&e.pauseCallback()})),this.set("_pause",{isPaused:!0,pauseTime:n}),this},t.prototype.resumeAnimate=function(){var e=this.get("timeline").getTime(),t=this.get("animations"),n=this.get("_pause").pauseTime;return m(t,(function(t){t.startTime=t.startTime+(e-n),t._paused=!1,t._pauseTime=null,t.resumeCallback&&t.resumeCallback()})),this.set("_pause",{isPaused:!1}),this.set("animations",t),this},t.prototype.emitDelegation=function(e,t){var n,r=this,i=t.propagationPath;this.getEvents(),"mouseenter"===e?n=t.fromShape:"mouseleave"===e&&(n=t.toShape);for(var o=function(e){var o=i[e],s=o.get("name");if(s){if((o.isGroup()||o.isCanvas&&o.isCanvas())&&n&&me(o,n))return"break";d(s)?m(s,(function(e){r.emitDelegateEvent(o,e,t)})):a.emitDelegateEvent(o,s,t)}},a=this,s=0;s0)}));return a.length>0?(m(a,(function(e){var t=e.getBBox();i.push(t.minX,t.maxX),o.push(t.minY,t.maxY)})),e=v(i),t=y(i),n=v(o),r=y(o)):(e=0,t=0,n=0,r=0),{x:e,y:n,minX:e,minY:n,maxX:t,maxY:r,width:t-e,height:r-n}},t.prototype.getCanvasBBox=function(){var e=1/0,t=-1/0,n=1/0,r=-1/0,i=[],o=[],a=this.getChildren().filter((function(e){return e.get("visible")&&(!e.isGroup()||e.isGroup()&&e.getChildren().length>0)}));return a.length>0?(m(a,(function(e){var t=e.getCanvasBBox();i.push(t.minX,t.maxX),o.push(t.minY,t.maxY)})),e=v(i),t=y(i),n=v(o),r=y(o)):(e=0,t=0,n=0,r=0),{x:e,y:n,minX:e,minY:n,maxX:t,maxY:r,width:t-e,height:r-n}},t.prototype.getDefaultCfg=function(){var t=e.prototype.getDefaultCfg.call(this);return t.children=[],t},t.prototype.onAttrChange=function(t,n,r){if(e.prototype.onAttrChange.call(this,t,n,r),"matrix"===t){var i=this.getTotalMatrix();this._applyChildrenMarix(i)}},t.prototype.applyMatrix=function(t){var n=this.getTotalMatrix();e.prototype.applyMatrix.call(this,t);var r=this.getTotalMatrix();r!==n&&this._applyChildrenMarix(r)},t.prototype._applyChildrenMarix=function(e){m(this.getChildren(),(function(t){t.applyMatrix(e)}))},t.prototype.addShape=function(){for(var e=[],t=0;t=0;o--){var a=e[o];if(ge(a)&&(a.isGroup()?i=a.getShape(t,n,r):a.isHit(t,n)&&(i=a)),i)break}return i},t.prototype.add=function(e){var t=this.getCanvas(),n=this.getChildren(),r=this.get("timeline"),i=e.getParent();i&&function(e,t,n){void 0===n&&(n=!0),n?t.destroy():(t.set("parent",null),t.set("canvas",null)),de(e.getChildren(),t)}(i,e,!1),e.set("parent",this),t&&We(e,t),r&&Ve(e,r),n.push(e),e.onCanvasChange("add"),this._applyElementMatrix(e)},t.prototype._applyElementMatrix=function(e){var t=this.getTotalMatrix();t&&e.applyMatrix(t)},t.prototype.getChildren=function(){return this.get("children")},t.prototype.sort=function(){var e,t=this.getChildren();m(t,(function(e,t){return e[$e]=t,e})),t.sort((e=function(e,t){return e.get("zIndex")-t.get("zIndex")},function(t,n){var r=e(t,n);return 0===r?t[$e]-n[$e]:r})),this.onCanvasChange("sort")},t.prototype.clear=function(){if(this.set("clearing",!0),!this.destroyed){for(var e=this.getChildren(),t=e.length-1;t>=0;t--)e[t].destroy();this.set("children",[]),this.onCanvasChange("clear"),this.set("clearing",!1)}},t.prototype.destroy=function(){this.get("destroyed")||(this.clear(),e.prototype.destroy.call(this))},t.prototype.getFirst=function(){return this.getChildByIndex(0)},t.prototype.getLast=function(){var e=this.getChildren();return this.getChildByIndex(e.length-1)},t.prototype.getChildByIndex=function(e){return this.getChildren()[e]},t.prototype.getCount=function(){return this.getChildren().length},t.prototype.contain=function(e){return this.getChildren().indexOf(e)>-1},t.prototype.removeChild=function(e,t){void 0===t&&(t=!0),this.contain(e)&&e.remove(t)},t.prototype.findAll=function(e){var t=[];return m(this.getChildren(),(function(n){e(n)&&t.push(n),n.isGroup()&&(t=t.concat(n.findAll(e)))})),t},t.prototype.find=function(e){var t=null;return m(this.getChildren(),(function(n){if(e(n)?t=n:n.isGroup()&&(t=n.find(e)),t)return!1})),t},t.prototype.findById=function(e){return this.find((function(t){return t.get("id")===e}))},t.prototype.findByClassName=function(e){return this.find((function(t){return t.get("className")===e}))},t.prototype.findAllByName=function(e){return this.findAll((function(t){return t.get("name")===e}))},t}(Ye),Ze=0,Qe=0,Je=0,et=1e3,tt=0,nt=0,rt=0,it="object"==typeof performance&&performance.now?performance:Date,ot="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function at(){return nt||(ot(st),nt=it.now()+rt)}function st(){nt=0}function lt(){this._call=this._time=this._next=null}function ct(e,t,n){var r=new lt;return r.restart(e,t,n),r}function ut(){nt=(tt=it.now())+rt,Ze=Qe=0;try{!function(){at(),++Ze;for(var e,t=Ke;t;)(e=nt-t._time)>=0&&t._call.call(null,e),t=t._next;--Ze}()}finally{Ze=0,function(){for(var e,t,n=Ke,r=1/0;n;)n._call?(r>n._time&&(r=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:Ke=t);qe=e,pt(r)}(),nt=0}}function ht(){var e=it.now(),t=e-tt;t>et&&(rt-=t,tt=e)}function pt(e){Ze||(Qe&&(Qe=clearTimeout(Qe)),e-nt>24?(e<1/0&&(Qe=setTimeout(ut,e-it.now()-rt)),Je&&(Je=clearInterval(Je))):(Je||(tt=it.now(),Je=setInterval(ht,et)),Ze=1,ot(ut)))}function dt(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function ft(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function mt(){}lt.prototype=ct.prototype={constructor:lt,restart:function(e,t,n){if("function"!=typeof e)throw new TypeError("callback is not a function");n=(null==n?at():+n)+(null==t?0:+t),this._next||qe===this||(qe?qe._next=this:Ke=this,qe=this),this._call=e,this._time=n,pt()},stop:function(){this._call&&(this._call=null,this._time=1/0,pt())}};var gt=.7,yt=1/gt,vt="\\s*([+-]?\\d+)\\s*",_t="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",bt="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Et=/^#([0-9a-f]{3,8})$/,Tt=new RegExp("^rgb\\("+[vt,vt,vt]+"\\)$"),xt=new RegExp("^rgb\\("+[bt,bt,bt]+"\\)$"),St=new RegExp("^rgba\\("+[vt,vt,vt,_t]+"\\)$"),Ct=new RegExp("^rgba\\("+[bt,bt,bt,_t]+"\\)$"),At=new RegExp("^hsl\\("+[_t,bt,bt]+"\\)$"),Rt=new RegExp("^hsla\\("+[_t,bt,bt,_t]+"\\)$"),wt={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function Lt(){return this.rgb().formatHex()}function Ot(){return this.rgb().formatRgb()}function Nt(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=Et.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?It(t):3===n?new Pt(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?kt(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?kt(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=Tt.exec(e))?new Pt(t[1],t[2],t[3],1):(t=xt.exec(e))?new Pt(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=St.exec(e))?kt(t[1],t[2],t[3],t[4]):(t=Ct.exec(e))?kt(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=At.exec(e))?Bt(t[1],t[2]/100,t[3]/100,1):(t=Rt.exec(e))?Bt(t[1],t[2]/100,t[3]/100,t[4]):wt.hasOwnProperty(e)?It(wt[e]):"transparent"===e?new Pt(NaN,NaN,NaN,0):null}function It(e){return new Pt(e>>16&255,e>>8&255,255&e,1)}function kt(e,t,n,r){return r<=0&&(e=t=n=NaN),new Pt(e,t,n,r)}function Dt(e,t,n,r){return 1===arguments.length?((i=e)instanceof mt||(i=Nt(i)),i?new Pt((i=i.rgb()).r,i.g,i.b,i.opacity):new Pt):new Pt(e,t,n,null==r?1:r);var i}function Pt(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function Mt(){return"#"+Ht(this.r)+Ht(this.g)+Ht(this.b)}function Ft(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}function Ht(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function Bt(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new jt(e,t,n,r)}function Ut(e){if(e instanceof jt)return new jt(e.h,e.s,e.l,e.opacity);if(e instanceof mt||(e=Nt(e)),!e)return new jt;if(e instanceof jt)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),o=Math.max(t,n,r),a=NaN,s=o-i,l=(o+i)/2;return s?(a=t===o?(n-r)/s+6*(n0&&l<1?0:a,new jt(a,s,l,e.opacity)}function jt(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function Gt(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}function Yt(e){return function(){return e}}function zt(e,t){var n=t-e;return n?function(e,t){return function(n){return e+n*t}}(e,n):Yt(isNaN(e)?t:e)}dt(mt,Nt,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:Lt,formatHex:Lt,formatHsl:function(){return Ut(this).formatHsl()},formatRgb:Ot,toString:Ot}),dt(Pt,Dt,ft(mt,{brighter:function(e){return e=null==e?yt:Math.pow(yt,e),new Pt(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?gt:Math.pow(gt,e),new Pt(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Mt,formatHex:Mt,formatRgb:Ft,toString:Ft})),dt(jt,(function(e,t,n,r){return 1===arguments.length?Ut(e):new jt(e,t,n,null==r?1:r)}),ft(mt,{brighter:function(e){return e=null==e?yt:Math.pow(yt,e),new jt(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?gt:Math.pow(gt,e),new jt(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new Pt(Gt(e>=240?e-240:e+120,i,r),Gt(e,i,r),Gt(e<120?e+240:e-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}));var $t=function e(t){var n=function(e){return 1==(e=+e)?zt:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):Yt(isNaN(t)?n:t)}}(t);function r(e,t){var r=n((e=Dt(e)).r,(t=Dt(t)).r),i=n(e.g,t.g),o=n(e.b,t.b),a=zt(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=i(t),e.b=o(t),e.opacity=a(t),e+""}}return r.gamma=e,r}(1);function Wt(e,t){t||(t=[]);var n,r=e?Math.min(t.length,e.length):0,i=t.slice();return function(o){for(n=0;no&&(i=t.slice(o,i),s[a]?s[a]+=i:s[++a]=i),(n=n[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,l.push({i:a,x:Zt(n,r)})),o=en.lastIndex;return ou.length?(c=P(a[l]),u=P(o[l]),u=ie(u,c),u=se(u,c),t.fromAttrs.path=u,t.toAttrs.path=c):t.pathFormatted||(c=P(a[l]),u=P(o[l]),u=se(u,c),t.fromAttrs.path=u,t.toAttrs.path=c,t.pathFormatted=!0),i[l]=[];for(var p=0;p0){for(var o=r.animators.length-1;o>=0;o--)if((e=r.animators[o]).destroyed)r.removeAnimator(o);else{if(!e.isAnimatePaused())for(var a=(t=e.get("animations")).length-1;a>=0;a--)n=t[a],On(e,n,i)&&(t.splice(a,1),n.callback&&n.callback());0===t.length&&r.removeAnimator(o)}r.canvas.get("autoDraw")||r.canvas.draw()}}))},e.prototype.addAnimator=function(e){this.animators.push(e)},e.prototype.removeAnimator=function(e){this.animators.splice(e,1)},e.prototype.isAnimating=function(){return!!this.animators.length},e.prototype.stop=function(){this.timer&&this.timer.stop()},e.prototype.stopAllAnimations=function(e){void 0===e&&(e=!0),this.animators.forEach((function(t){t.stopAnimate(e)})),this.animators=[],this.canvas.draw()},e.prototype.getTime=function(){return this.current},e}(),In=["mousedown","mouseup","dblclick","mouseout","mouseover","mousemove","mouseleave","mouseenter","touchstart","touchmove","touchend","dragenter","dragover","dragleave","drop","contextmenu","mousewheel"];function kn(e,t,n){n.name=t,n.target=e,n.currentTarget=e,n.delegateTarget=e,e.emit(t,n)}function Dn(e,t,n){if(n.bubbles){var r=void 0,i=!1;if("mouseenter"===t?(r=n.fromShape,i=!0):"mouseleave"===t&&(i=!0,r=n.toShape),e.isCanvas()&&i)return;if(r&&me(e,r))return void(n.bubbles=!1);n.name=t,n.currentTarget=e,n.delegateTarget=e,e.emit(t,n)}}var Pn=function(){function e(e){var t=this;this.draggingShape=null,this.dragging=!1,this.currentShape=null,this.mousedownShape=null,this.mousedownPoint=null,this._eventCallback=function(e){var n=e.type;t._triggerEvent(n,e)},this._onDocumentMove=function(e){if(t.canvas.get("el")!==e.target&&(t.dragging||t.currentShape)){var n=t._getPointInfo(e);t.dragging&&t._emitEvent("drag",e,n,t.draggingShape)}},this._onDocumentMouseUp=function(e){if(t.canvas.get("el")!==e.target&&t.dragging){var n=t._getPointInfo(e);t.draggingShape&&t._emitEvent("drop",e,n,null),t._emitEvent("dragend",e,n,t.draggingShape),t._afterDrag(t.draggingShape,n,e)}},this.canvas=e.canvas}return e.prototype.init=function(){this._bindEvents()},e.prototype._bindEvents=function(){var e=this,t=this.canvas.get("el");m(In,(function(n){t.addEventListener(n,e._eventCallback)})),document&&(document.addEventListener("mousemove",this._onDocumentMove),document.addEventListener("mouseup",this._onDocumentMouseUp))},e.prototype._clearEvents=function(){var e=this,t=this.canvas.get("el");m(In,(function(n){t.removeEventListener(n,e._eventCallback)})),document&&(document.removeEventListener("mousemove",this._onDocumentMove),document.removeEventListener("mouseup",this._onDocumentMouseUp))},e.prototype._getEventObj=function(e,t,n,r,i,o){var a=new ce(e,t);return a.fromShape=i,a.toShape=o,a.x=n.x,a.y=n.y,a.clientX=n.clientX,a.clientY=n.clientY,a.propagationPath.push(r),a},e.prototype._getShape=function(e,t){return this.canvas.getShape(e.x,e.y,t)},e.prototype._getPointInfo=function(e){var t=this.canvas,n=t.getClientByEvent(e),r=t.getPointByEvent(e);return{x:r.x,y:r.y,clientX:n.x,clientY:n.y}},e.prototype._triggerEvent=function(e,t){var n=this._getPointInfo(t),r=this._getShape(n,t),i=this["_on"+e],o=!1;if(i)i.call(this,n,r,t);else{var a=this.currentShape;"mouseenter"===e||"dragenter"===e||"mouseover"===e?(this._emitEvent(e,t,n,null,null,r),r&&this._emitEvent(e,t,n,r,null,r),"mouseenter"===e&&this.draggingShape&&this._emitEvent("dragenter",t,n,null)):"mouseleave"===e||"dragleave"===e||"mouseout"===e?(o=!0,a&&this._emitEvent(e,t,n,a,a,null),this._emitEvent(e,t,n,null,a,null),"mouseleave"===e&&this.draggingShape&&this._emitEvent("dragleave",t,n,null)):this._emitEvent(e,t,n,r,null,null)}if(o||(this.currentShape=r),r&&!r.get("destroyed")){var s=this.canvas;s.get("el").style.cursor=r.attr("cursor")||s.get("cursor")}},e.prototype._onmousedown=function(e,t,n){0===n.button&&(this.mousedownShape=t,this.mousedownPoint=e,this.mousedownTimeStamp=n.timeStamp),this._emitEvent("mousedown",n,e,t,null,null)},e.prototype._emitMouseoverEvents=function(e,t,n,r){var i=this.canvas.get("el");n!==r&&(n&&(this._emitEvent("mouseout",e,t,n,n,r),this._emitEvent("mouseleave",e,t,n,n,r),r&&!r.get("destroyed")||(i.style.cursor=this.canvas.get("cursor"))),r&&(this._emitEvent("mouseover",e,t,r,n,r),this._emitEvent("mouseenter",e,t,r,n,r)))},e.prototype._emitDragoverEvents=function(e,t,n,r,i){r?(r!==n&&(n&&this._emitEvent("dragleave",e,t,n,n,r),this._emitEvent("dragenter",e,t,r,n,r)),i||this._emitEvent("dragover",e,t,r)):n&&this._emitEvent("dragleave",e,t,n,n,r),i&&this._emitEvent("dragover",e,t,r)},e.prototype._afterDrag=function(e,t,n){e&&(e.set("capture",!0),this.draggingShape=null),this.dragging=!1;var r=this._getShape(t,n);r!==e&&this._emitMouseoverEvents(n,t,e,r),this.currentShape=r},e.prototype._onmouseup=function(e,t,n){if(0===n.button){var r=this.draggingShape;this.dragging?(r&&this._emitEvent("drop",n,e,t),this._emitEvent("dragend",n,e,r),this._afterDrag(r,e,n)):(this._emitEvent("mouseup",n,e,t),t===this.mousedownShape&&this._emitEvent("click",n,e,t),this.mousedownShape=null,this.mousedownPoint=null)}},e.prototype._ondragover=function(e,t,n){n.preventDefault();var r=this.currentShape;this._emitDragoverEvents(n,e,r,t,!0)},e.prototype._onmousemove=function(e,t,n){var r=this.canvas,i=this.currentShape,o=this.draggingShape;if(this.dragging)o&&this._emitDragoverEvents(n,e,i,t,!1),this._emitEvent("drag",n,e,o);else{var a=this.mousedownPoint;if(a){var s=this.mousedownShape,l=n.timeStamp-this.mousedownTimeStamp,c=a.clientX-e.clientX,u=a.clientY-e.clientY;l>120||c*c+u*u>40?s&&s.get("draggable")?((o=this.mousedownShape).set("capture",!1),this.draggingShape=o,this.dragging=!0,this._emitEvent("dragstart",n,e,o),this.mousedownShape=null,this.mousedownPoint=null):!s&&r.get("draggable")?(this.dragging=!0,this._emitEvent("dragstart",n,e,null),this.mousedownShape=null,this.mousedownPoint=null):(this._emitMouseoverEvents(n,e,i,t),this._emitEvent("mousemove",n,e,t)):(this._emitMouseoverEvents(n,e,i,t),this._emitEvent("mousemove",n,e,t))}else this._emitMouseoverEvents(n,e,i,t),this._emitEvent("mousemove",n,e,t)}},e.prototype._emitEvent=function(e,t,n,r,i,o){var a=this._getEventObj(e,t,n,r,i,o);if(r){a.shape=r,kn(r,e,a);for(var s=r.getParent();s;)s.emitDelegation(e,a),a.propagationStopped||Dn(s,e,a),a.propagationPath.push(s),s=s.getParent()}else kn(this.canvas,e,a)},e.prototype.destroy=function(){this._clearEvents(),this.canvas=null,this.currentShape=null,this.draggingShape=null,this.mousedownPoint=null,this.mousedownShape=null,this.mousedownTimeStamp=null},e}(),Mn="undefined"==typeof document&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product?new function(){this.type="react-native",this.name="react-native",this.version=null,this.os=null}:"undefined"!=typeof navigator?Ce(navigator.userAgent):void 0!==r&&r.version?new function(e){this.version=e,this.type="node",this.name="node",this.os=r.platform}(r.version.slice(1)):null,Fn=Mn&&"firefox"===Mn.name,Hn=function(e){function t(t){var n=e.call(this,t)||this;return n.initContainer(),n.initDom(),n.initEvents(),n.initTimeline(),n}return he(t,e),t.prototype.getDefaultCfg=function(){var t=e.prototype.getDefaultCfg.call(this);return t.cursor="default",t.supportCSSTransform=!1,t},t.prototype.initContainer=function(){var e=this.get("container");_(e)&&(e=document.getElementById(e),this.set("container",e))},t.prototype.initDom=function(){var e=this.createDom();this.set("el",e),this.get("container").appendChild(e),this.setDOMSize(this.get("width"),this.get("height"))},t.prototype.initEvents=function(){var e=new Pn({canvas:this});e.init(),this.set("eventController",e)},t.prototype.initTimeline=function(){var e=new Nn(this);this.set("timeline",e)},t.prototype.setDOMSize=function(e,t){var n=this.get("el");fe&&(n.style.width=e+"px",n.style.height=t+"px")},t.prototype.changeSize=function(e,t){this.setDOMSize(e,t),this.set("width",e),this.set("height",t),this.onCanvasChange("changeSize")},t.prototype.getRenderer=function(){return this.get("renderer")},t.prototype.getCursor=function(){return this.get("cursor")},t.prototype.setCursor=function(e){this.set("cursor",e);var t=this.get("el");fe&&t&&(t.style.cursor=e)},t.prototype.getPointByEvent=function(e){if(this.get("supportCSSTransform")){if(Fn&&!p(e.layerX)&&e.layerX!==e.offsetX)return{x:e.layerX,y:e.layerY};if(!p(e.offsetX))return{x:e.offsetX,y:e.offsetY}}var t=this.getClientByEvent(e),n=t.x,r=t.y;return this.getPointByClient(n,r)},t.prototype.getClientByEvent=function(e){var t=e;return e.touches&&(t="touchend"===e.type?e.changedTouches[0]:e.touches[0]),{x:t.clientX,y:t.clientY}},t.prototype.getPointByClient=function(e,t){var n=this.get("el").getBoundingClientRect();return{x:e-n.left,y:t-n.top}},t.prototype.getClientByPoint=function(e,t){var n=this.get("el").getBoundingClientRect();return{x:e+n.left,y:t+n.top}},t.prototype.draw=function(){},t.prototype.removeDom=function(){var e=this.get("el");e.parentNode.removeChild(e)},t.prototype.clearEvents=function(){this.get("eventController").destroy()},t.prototype.isCanvas=function(){return!0},t.prototype.getParent=function(){return null},t.prototype.destroy=function(){var t=this.get("timeline");this.get("destroyed")||(this.clear(),t&&t.stop(),this.clearEvents(),this.removeDom(),e.prototype.destroy.call(this))},t}(Xe),Bn=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return he(t,e),t.prototype.isGroup=function(){return!0},t.prototype.isEntityGroup=function(){return!1},t.prototype.clone=function(){for(var t=e.prototype.clone.call(this),n=this.getChildren(),r=0;r=e&&n.minY<=t&&n.maxY>=t},t.prototype.afterAttrsChange=function(t){e.prototype.afterAttrsChange.call(this,t),this.clearCacheBBox()},t.prototype.getBBox=function(){var e=this.cfg.bbox;return e||(e=this.calculateBBox(),this.set("bbox",e)),e},t.prototype.getCanvasBBox=function(){var e=this.cfg.canvasBBox;return e||(e=this.calculateCanvasBBox(),this.set("canvasBBox",e)),e},t.prototype.applyMatrix=function(t){e.prototype.applyMatrix.call(this,t),this.set("canvasBBox",null)},t.prototype.calculateCanvasBBox=function(){var e=this.getBBox(),t=this.getTotalMatrix(),n=e.minX,r=e.minY,i=e.maxX,o=e.maxY;if(t){var a=Me(t,[e.minX,e.minY]),s=Me(t,[e.maxX,e.minY]),l=Me(t,[e.minX,e.maxY]),c=Me(t,[e.maxX,e.maxY]);n=Math.min(a[0],s[0],l[0],c[0]),i=Math.max(a[0],s[0],l[0],c[0]),r=Math.min(a[1],s[1],l[1],c[1]),o=Math.max(a[1],s[1],l[1],c[1])}var u=this.attrs;if(u.shadowColor){var h=u.shadowBlur,p=void 0===h?0:h,d=u.shadowOffsetX,f=void 0===d?0:d,m=u.shadowOffsetY,g=void 0===m?0:m,y=n-p+f,v=i+p+f,_=r-p+g,b=o+p+g;n=Math.min(n,y),i=Math.max(i,v),r=Math.min(r,_),o=Math.max(o,b)}return{x:n,y:r,minX:n,minY:r,maxX:i,maxY:o,width:i-n,height:o-r}},t.prototype.clearCacheBBox=function(){this.set("bbox",null),this.set("canvasBBox",null)},t.prototype.isClipShape=function(){return this.get("isClipShape")},t.prototype.isInShape=function(e,t){return!1},t.prototype.isOnlyHitBox=function(){return!1},t.prototype.isHit=function(e,t){var n=this.get("startArrowShape"),r=this.get("endArrowShape"),i=[e,t,1],o=(i=this.invertFromMatrix(i))[0],a=i[1],s=this._isInBBox(o,a);if(this.isOnlyHitBox())return s;if(s&&!this.isClipped(o,a)){if(this.isInShape(o,a))return!0;if(n&&n.isHit(o,a))return!0;if(r&&r.isHit(o,a))return!0}return!1},t}(Ye),jn=new Map;function Gn(e,t){jn.set(e,t)}function Yn(e){var t=e.attr();return{x:t.x,y:t.y,width:t.width,height:t.height}}function zn(e){var t=e.attr(),n=t.x,r=t.y,i=t.r;return{x:n-i,y:r-i,width:2*i,height:2*i}}function $n(e){return Math.min.apply(null,e)}function Wn(e){return Math.max.apply(null,e)}function Vn(e,t,n,r){var i=e-n,o=t-r;return Math.sqrt(i*i+o*o)}function Kn(e,t){return Math.abs(e-t)<.001}function qn(e,t){var n=$n(e),r=$n(t);return{x:n,y:r,width:Wn(e)-n,height:Wn(t)-r}}function Xn(e){return(e+2*Math.PI)%(2*Math.PI)}var Zn={box:function(e,t,n,r){return qn([e,n],[t,r])},length:function(e,t,n,r){return Vn(e,t,n,r)},pointAt:function(e,t,n,r,i){return{x:(1-i)*e+i*n,y:(1-i)*t+i*r}},pointDistance:function(e,t,n,r,i,o){var a=(n-e)*(i-e)+(r-t)*(o-t);return a<0?Vn(e,t,i,o):a>(n-e)*(n-e)+(r-t)*(r-t)?Vn(n,r,i,o):this.pointToLine(e,t,n,r,i,o)},pointToLine:function(e,t,n,r,i,o){var a=[n-e,r-t];if(function(e,t){return e[0]===t[0]&&e[1]===t[1]}(a,[0,0]))return Math.sqrt((i-e)*(i-e)+(o-t)*(o-t));var s=[-a[1],a[0]];!function(e,t){var n=t[0],r=t[1],i=n*n+r*r;i>0&&(i=1/Math.sqrt(i)),e[0]=t[0]*i,e[1]=t[1]*i}(s,s);var l=[i-e,o-t];return Math.abs(function(e,t){return e[0]*t[0]+e[1]*t[1]}(l,s))},tangentAngle:function(e,t,n,r){return Math.atan2(r-t,n-e)}};function Qn(e,t,n,r,i,o){var a,s=1/0,l=[n,r],c=20;o&&o>200&&(c=o/10);for(var u=1/c,h=u/10,p=0;p<=c;p++){var d=p*u,f=[i.apply(null,e.concat([d])),i.apply(null,t.concat([d]))];(v=Vn(l[0],l[1],f[0],f[1]))=0&&v=0?[i]:[]}function tr(e,t,n,r){return 2*(1-r)*(t-e)+2*r*(n-t)}function nr(e,t,n,r,i,o,a){var s=Jn(e,n,i,a),l=Jn(t,r,o,a),c=Zn.pointAt(e,t,n,r,a),u=Zn.pointAt(n,r,i,o,a);return[[e,t,c.x,c.y,s,l],[s,l,u.x,u.y,i,o]]}function rr(e,t,n,r,i,o,a){if(0===a)return(Vn(e,t,n,r)+Vn(n,r,i,o)+Vn(e,t,i,o))/2;var s=nr(e,t,n,r,i,o,.5),l=s[0],c=s[1];return l.push(a-1),c.push(a-1),rr.apply(null,l)+rr.apply(null,c)}var ir={box:function(e,t,n,r,i,o){var a=er(e,n,i)[0],s=er(t,r,o)[0],l=[e,i],c=[t,o];return void 0!==a&&l.push(Jn(e,n,i,a)),void 0!==s&&c.push(Jn(t,r,o,s)),qn(l,c)},length:function(e,t,n,r,i,o){return rr(e,t,n,r,i,o,3)},nearestPoint:function(e,t,n,r,i,o,a,s){return Qn([e,n,i],[t,r,o],a,s,Jn)},pointDistance:function(e,t,n,r,i,o,a,s){var l=this.nearestPoint(e,t,n,r,i,o,a,s);return Vn(l.x,l.y,a,s)},interpolationAt:Jn,pointAt:function(e,t,n,r,i,o,a){return{x:Jn(e,n,i,a),y:Jn(t,r,o,a)}},divide:function(e,t,n,r,i,o,a){return nr(e,t,n,r,i,o,a)},tangentAngle:function(e,t,n,r,i,o,a){var s=tr(e,n,i,a),l=tr(t,r,o,a);return Xn(Math.atan2(l,s))}};function or(e,t,n,r,i){var o=1-i;return o*o*o*e+3*t*i*o*o+3*n*i*i*o+r*i*i*i}function ar(e,t,n,r,i){var o=1-i;return 3*(o*o*(t-e)+2*o*i*(n-t)+i*i*(r-n))}function sr(e,t,n,r){var i,o,a,s=-3*e+9*t-9*n+3*r,l=6*e-12*t+6*n,c=3*t-3*e,u=[];if(Kn(s,0))Kn(l,0)||(i=-c/l)>=0&&i<=1&&u.push(i);else{var h=l*l-4*s*c;Kn(h,0)?u.push(-l/(2*s)):h>0&&(o=(-l-(a=Math.sqrt(h)))/(2*s),(i=(-l+a)/(2*s))>=0&&i<=1&&u.push(i),o>=0&&o<=1&&u.push(o))}return u}function lr(e,t,n,r,i,o,a,s,l){var c=or(e,n,i,a,l),u=or(t,r,o,s,l),h=Zn.pointAt(e,t,n,r,l),p=Zn.pointAt(n,r,i,o,l),d=Zn.pointAt(i,o,a,s,l),f=Zn.pointAt(h.x,h.y,p.x,p.y,l),m=Zn.pointAt(p.x,p.y,d.x,d.y,l);return[[e,t,h.x,h.y,f.x,f.y,c,u],[c,u,m.x,m.y,d.x,d.y,a,s]]}function cr(e,t,n,r,i,o,a,s,l){if(0===l)return function(e,t){for(var n=0,r=e.length,i=0;ic&&(c=d)}var f=function(e,t,n){return Math.atan(t/(e*Math.tan(n)))}(n,r,i),m=1/0,g=-1/0,y=[o,a];for(h=2*-Math.PI;h<=2*Math.PI;h+=Math.PI){var v=f+h;og&&(g=_)}return{x:l,y:m,width:c-l,height:g-m}};function fr(e,t){return e&&t?{minX:Math.min(e.minX,t.minX),minY:Math.min(e.minY,t.minY),maxX:Math.max(e.maxX,t.maxX),maxY:Math.max(e.maxY,t.maxY)}:e||t}function mr(e,t){var n=e.get("startArrowShape"),r=e.get("endArrowShape");return n&&(t=fr(t,n.getCanvasBBox())),r&&(t=fr(t,r.getCanvasBBox())),t}var gr=null;function yr(){if(!gr){var e=document.createElement("canvas");e.width=1,e.height=1,gr=e.getContext("2d")}return gr}function vr(e,t,n){var r=1;if(_(e)&&(r=e.split("\n").length),r>1){var i=function(e,t){return t?t-e:.14*e}(t,n);return t*r+i*(r-1)}return t}function _r(e){var t=e.fontSize,n=e.fontFamily,r=e.fontWeight;return[e.fontStyle,e.fontVariant,r,t+"px",n].join(" ").trim()}var br=/[MLHVQTCSAZ]([^MLHVQTCSAZ]*)/gi,Er=/[^\s\,]+/gi,Tr="\t\n\v\f\r   ᠎              \u2028\u2029",xr=new RegExp("([a-z])["+Tr+",]*((-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?["+Tr+"]*,?["+Tr+"]*)+)","ig"),Sr=new RegExp("(-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?)["+Tr+"]*,?["+Tr+"]*","ig"),Cr=/[a-z]/;function Ar(e,t){return[t[0]+(t[0]-e[0]),t[1]+(t[1]-e[1])]}function Rr(e){var t=function(e){if(!e)return null;if(d(e))return e;var t={a:7,c:6,o:2,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,u:3,z:0},n=[];return String(e).replace(xr,(function(e,r,i){var o=[],a=r.toLowerCase();if(i.replace(Sr,(function(e,t){t&&o.push(+t)})),"m"===a&&o.length>2&&(n.push([r].concat(o.splice(0,2))),a="l",r="m"===r?"l":"L"),"o"===a&&1===o.length&&n.push([r,o[0]]),"r"===a)n.push([r].concat(o));else for(;o.length>=t[a]&&(n.push([r].concat(o.splice(0,t[a]))),t[a]););return""})),n}(e);if(!t||!t.length)return[["M",0,0]];for(var n=!1,r=0;r=0){n=!0;break}}if(!n)return t;var o=[],a=0,s=0,l=0,c=0,u=0,h=t[0];"M"!==h[0]&&"m"!==h[0]||(l=a=+h[1],c=s=+h[2],u++,o[0]=["M",a,s]),r=u;for(var p=t.length;r1&&(n*=Math.sqrt(d),r*=Math.sqrt(d));var f=n*n*(p*p)+r*r*(h*h),m=f?Math.sqrt((n*n*(r*r)-f)/f):1;o===a&&(m*=-1),isNaN(m)&&(m=0);var g=r?m*n*p/r:0,y=n?m*-r*h/n:0,v=(s+c)/2+Math.cos(i)*g-Math.sin(i)*y,_=(l+u)/2+Math.sin(i)*g+Math.cos(i)*y,b=[(h-g)/n,(p-y)/r],T=[(-1*h-g)/n,(-1*p-y)/r],S=Or([1,0],b),C=Or(b,T);return Lr(b,T)<=-1&&(C=Math.PI),Lr(b,T)>=1&&(C=0),0===a&&C>0&&(C-=2*Math.PI),1===a&&C<0&&(C+=2*Math.PI),{cx:v,cy:_,rx:Nr(e,[c,u])?0:n,ry:Nr(e,[c,u])?0:r,startAngle:S,endAngle:S+C,xRotation:i,arcFlag:o,sweepFlag:a}}function kr(e,t){return[t[0]+(t[0]-e[0]),t[1]+(t[1]-e[1])]}function Dr(e){e=function(e){var t=e||[];return d(t)?t:_(t)?(m(t=t.match(br),(function(e,n){if((e=e.match(Er))[0].length>1){var r=e[0].charAt(0);e.splice(1,0,e[0].substr(1)),e[0]=r}m(e,(function(t,n){isNaN(t)||(e[n]=+t)})),t[n]=e})),t):void 0}(e);for(var t=[],n=null,r=null,i=null,o=0,a=e.length,s=0;sMath.PI/2?Math.PI-h:h,p=p>Math.PI/2?Math.PI-p:p,{xExtra:Math.cos(u/2-h)*(t/2*(1/Math.sin(u/2)))-t/2||0,yExtra:Math.cos(p-u/2)*(t/2*(1/Math.sin(u/2)))-t/2||0}}function Mr(e,t,n,r){var i=e-n,o=t-r;return Math.sqrt(i*i+o*o)}function Fr(e,t,n,r,i,o){return i>=e&&i<=e+n&&o>=t&&o<=t+r}function Hr(e,t){return!(t.minX>e.maxX||t.maxXe.maxY||t.maxY=0&&a<.5*Math.PI?(r={x:l.minX,y:l.minY},i={x:l.maxX,y:l.maxY}):.5*Math.PI<=a&&a1&&(n*=Math.sqrt(d),r*=Math.sqrt(d));var f=n*n*(p*p)+r*r*(h*h),m=f?Math.sqrt((n*n*(r*r)-f)/f):1;o===a&&(m*=-1),isNaN(m)&&(m=0);var g=r?m*n*p/r:0,y=n?m*-r*h/n:0,v=(s+c)/2+Math.cos(i)*g-Math.sin(i)*y,_=(l+u)/2+Math.sin(i)*g+Math.cos(i)*y,b=[(h-g)/n,(p-y)/r],T=[(-1*h-g)/n,(-1*p-y)/r],S=Kr([1,0],b),C=Kr(b,T);return Vr(b,T)<=-1&&(C=Math.PI),Vr(b,T)>=1&&(C=0),0===a&&C>0&&(C-=2*Math.PI),1===a&&C<0&&(C+=2*Math.PI),{cx:v,cy:_,rx:Br(e,[c,u])?0:n,ry:Br(e,[c,u])?0:r,startAngle:S,endAngle:S+C,xRotation:i,arcFlag:o,sweepFlag:a}}var Xr=Math.sin,Zr=Math.cos,Qr=Math.atan2,Jr=Math.PI;function ei(e,t,n,r,i,o,a){var s=t.stroke,l=t.lineWidth,c=Qr(r-o,n-i),u=new Hi({type:"path",canvas:e.get("canvas"),isArrowShape:!0,attrs:{path:"M"+10*Zr(Jr/6)+","+10*Xr(Jr/6)+" L0,0 L"+10*Zr(Jr/6)+",-"+10*Xr(Jr/6),stroke:s,lineWidth:l}});u.translate(i,o),u.rotateAtPoint(i,o,c),e.set(a?"startArrowShape":"endArrowShape",u)}function ti(e,t,n,r,i,o,a){var l=t.startArrow,c=t.endArrow,u=t.stroke,h=t.lineWidth,p=a?l:c,d=p.d,f=p.fill,m=p.stroke,g=p.lineWidth,y=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);ib?_:b,A=_>b?1:_/b,R=_>b?b/_:1;t.translate(y,v),t.rotate(x),t.scale(A,R),t.arc(0,0,C,E,T,1-S),t.scale(1/A,1/R),t.rotate(-x),t.translate(-y,-v)}break;case"Z":t.closePath()}if("Z"===p)s=l;else{var w=h.length;s=[h[w-2],h[w-1]]}}}}function fi(e,t){var n=e.get("canvas");n&&("remove"===t&&(e._cacheCanvasBBox=e.get("cacheCanvasBBox")),e.get("hasChanged")||(e.set("hasChanged",!0),e.cfg.parent&&e.cfg.parent.get("hasChanged")||(n.refreshElement(e,t,n),n.get("autoDraw")&&n.draw())))}var mi=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.onCanvasChange=function(e){fi(this,e)},t.prototype.getShapeBase=function(){return i},t.prototype.getGroupBase=function(){return t},t.prototype._applyClip=function(e,t){t&&(e.save(),ai(e,t),t.createPath(e),e.restore(),e.clip(),t._afterDraw())},t.prototype.cacheCanvasBBox=function(){var e=this.cfg.children,t=[],n=[];m(e,(function(e){var r=e.cfg.cacheCanvasBBox;r&&e.cfg.isInView&&(t.push(r.minX,r.maxX),n.push(r.minY,r.maxY))}));var r=null;if(t.length){var i=v(t),o=y(t),a=v(n),s=y(n);r={minX:i,minY:a,x:i,y:a,maxX:o,maxY:s,width:o-i,height:s-a};var l=this.cfg.canvas;if(l){var c=l.getViewRange();this.set("isInView",Hr(r,c))}}else this.set("isInView",!1);this.set("cacheCanvasBBox",r)},t.prototype.draw=function(e,t){var n=this.cfg.children,r=!t||this.cfg.refresh;n.length&&r&&(e.save(),ai(e,this),this._applyClip(e,this.getClip()),si(e,n,t),e.restore(),this.cacheCanvasBBox()),this.cfg.refresh=null,this.set("hasChanged",!1)},t.prototype.skipDraw=function(){this.set("cacheCanvasBBox",null),this.set("hasChanged",!1)},t}(Bn),gi=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.getDefaultAttrs=function(){var t=e.prototype.getDefaultAttrs.call(this);return s(s({},t),{lineWidth:1,lineAppendWidth:0,strokeOpacity:1,fillOpacity:1})},t.prototype.getShapeBase=function(){return i},t.prototype.getGroupBase=function(){return mi},t.prototype.onCanvasChange=function(e){fi(this,e)},t.prototype.calculateBBox=function(){var e=this.get("type"),t=this.getHitLineWidth(),n=function(e){return jn.get(e)}(e),r=n(this),i=t/2,o=r.x-i,a=r.y-i,s=r.x+r.width+i,l=r.y+r.height+i;return{x:o,minX:o,y:a,minY:a,width:r.width+t,height:r.height+t,maxX:s,maxY:l}},t.prototype.isFill=function(){return!!this.attrs.fill||this.isClipShape()},t.prototype.isStroke=function(){return!!this.attrs.stroke},t.prototype._applyClip=function(e,t){t&&(e.save(),ai(e,t),t.createPath(e),e.restore(),e.clip(),t._afterDraw())},t.prototype.draw=function(e,t){var n=this.cfg.clipShape;if(t){if(!1===this.cfg.refresh)return void this.set("hasChanged",!1);if(!Hr(t,this.getCanvasBBox()))return this.set("hasChanged",!1),void(this.cfg.isInView&&this._afterDraw())}e.save(),ai(e,this),this._applyClip(e,n),this.drawPath(e),e.restore(),this._afterDraw()},t.prototype.getCanvasViewBox=function(){var e=this.cfg.canvas;return e?e.getViewRange():null},t.prototype.cacheCanvasBBox=function(){var e=this.getCanvasViewBox();if(e){var t=this.getCanvasBBox(),n=Hr(t,e);this.set("isInView",n),n?this.set("cacheCanvasBBox",t):this.set("cacheCanvasBBox",null)}},t.prototype._afterDraw=function(){this.cacheCanvasBBox(),this.set("hasChanged",!1),this.set("refresh",null)},t.prototype.skipDraw=function(){this.set("cacheCanvasBBox",null),this.set("isInView",null),this.set("hasChanged",!1)},t.prototype.drawPath=function(e){this.createPath(e),this.strokeAndFill(e),this.afterDrawPath(e)},t.prototype.fill=function(e){e.fill()},t.prototype.stroke=function(e){e.stroke()},t.prototype.strokeAndFill=function(e){var t=this.attrs,n=t.lineWidth,r=t.opacity,i=t.strokeOpacity,o=t.fillOpacity;this.isFill()&&(p(o)||1===o?this.fill(e):(e.globalAlpha=o,this.fill(e),e.globalAlpha=r)),this.isStroke()&&n>0&&(p(i)||1===i||(e.globalAlpha=i),this.stroke(e)),this.afterDrawPath(e)},t.prototype.createPath=function(e){},t.prototype.afterDrawPath=function(e){},t.prototype.isInShape=function(e,t){var n=this.isStroke(),r=this.isFill(),i=this.getHitLineWidth();return this.isInStrokeOrPath(e,t,n,r,i)},t.prototype.isInStrokeOrPath=function(e,t,n,r,i){return!1},t.prototype.getHitLineWidth=function(){if(!this.isStroke())return 0;var e=this.attrs;return e.lineWidth+e.lineAppendWidth},t}(Un),yi=gi,vi=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.getDefaultAttrs=function(){var t=e.prototype.getDefaultAttrs.call(this);return s(s({},t),{x:0,y:0,r:0})},t.prototype.isInStrokeOrPath=function(e,t,n,r,i){var o=this.attr(),a=o.x,s=o.y,l=o.r,c=i/2,u=Mr(a,s,e,t);return r&&n?u<=l+c:r?u<=l:!!n&&u>=l-c&&u<=l+c},t.prototype.createPath=function(e){var t=this.attr(),n=t.x,r=t.y,i=t.r;e.beginPath(),e.arc(n,r,i,0,2*Math.PI,!1),e.closePath()},t}(yi);function _i(e,t,n,r){return e/(n*n)+t/(r*r)}var bi=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.getDefaultAttrs=function(){var t=e.prototype.getDefaultAttrs.call(this);return s(s({},t),{x:0,y:0,rx:0,ry:0})},t.prototype.isInStrokeOrPath=function(e,t,n,r,i){var o=this.attr(),a=i/2,s=o.x,l=o.y,c=o.rx,u=o.ry,h=(e-s)*(e-s),p=(t-l)*(t-l);return r&&n?_i(h,p,c+a,u+a)<=1:r?_i(h,p,c,u)<=1:!!n&&_i(h,p,c-a,u-a)>=1&&_i(h,p,c+a,u+a)<=1},t.prototype.createPath=function(e){var t=this.attr(),n=t.x,r=t.y,i=t.rx,o=t.ry;if(e.beginPath(),e.ellipse)e.ellipse(n,r,i,o,0,0,2*Math.PI,!1);else{var a=i>o?i:o,s=i>o?1:i/o,l=i>o?o/i:1;e.save(),e.translate(n,r),e.scale(s,l),e.arc(0,0,a,0,2*Math.PI),e.restore(),e.closePath()}},t}(yi);function Ei(e){return e instanceof HTMLElement&&_(e.nodeName)&&"CANVAS"===e.nodeName.toUpperCase()}var Ti=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.getDefaultAttrs=function(){var t=e.prototype.getDefaultAttrs.call(this);return s(s({},t),{x:0,y:0,width:0,height:0})},t.prototype.initAttrs=function(e){this._setImage(e.img)},t.prototype.isStroke=function(){return!1},t.prototype.isOnlyHitBox=function(){return!0},t.prototype._afterLoading=function(){if(!0===this.get("toDraw")){var e=this.get("canvas");e?e.draw():this.createPath(this.get("context"))}},t.prototype._setImage=function(e){var t=this,n=this.attrs;if(_(e)){var r=new Image;r.onload=function(){if(t.destroyed)return!1;t.attr("img",r),t.set("loading",!1),t._afterLoading();var e=t.get("callback");e&&e.call(t)},r.crossOrigin="Anonymous",r.src=e,this.set("loading",!0)}else e instanceof Image?(n.width||(n.width=e.width),n.height||(n.height=e.height)):Ei(e)&&(n.width||(n.width=Number(e.getAttribute("width"))),n.height||(n.height,Number(e.getAttribute("height"))))},t.prototype.onAttrChange=function(t,n,r){e.prototype.onAttrChange.call(this,t,n,r),"img"===t&&this._setImage(n)},t.prototype.createPath=function(e){if(this.get("loading"))return this.set("toDraw",!0),void this.set("context",e);var t=this.attr(),n=t.x,r=t.y,i=t.width,o=t.height,a=t.sx,s=t.sy,l=t.swidth,c=t.sheight,u=t.img;(u instanceof Image||Ei(u))&&(p(a)||p(s)||p(l)||p(c)?e.drawImage(u,n,r,i,o):e.drawImage(u,a,s,l,c,n,r,i,o))},t}(yi);function xi(e,t,n,r,i,o,a){var s=Math.min(e,n),l=Math.max(e,n),c=Math.min(t,r),u=Math.max(t,r),h=i/2;return o>=s-h&&o<=l+h&&a>=c-h&&a<=u+h&&Zn.pointToLine(e,t,n,r,o,a)<=i/2}var Si=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.getDefaultAttrs=function(){var t=e.prototype.getDefaultAttrs.call(this);return s(s({},t),{x1:0,y1:0,x2:0,y2:0,startArrow:!1,endArrow:!1})},t.prototype.initAttrs=function(e){this.setArrow()},t.prototype.onAttrChange=function(t,n,r){e.prototype.onAttrChange.call(this,t,n,r),this.setArrow()},t.prototype.setArrow=function(){var e=this.attr(),t=e.x1,n=e.y1,r=e.x2,i=e.y2,o=e.startArrow,a=e.endArrow;o&&ri(this,e,r,i,t,n),a&&ii(this,e,t,n,r,i)},t.prototype.isInStrokeOrPath=function(e,t,n,r,i){if(!n||!i)return!1;var o=this.attr();return xi(o.x1,o.y1,o.x2,o.y2,i,e,t)},t.prototype.createPath=function(e){var t=this.attr(),n=t.x1,r=t.y1,i=t.x2,o=t.y2,a=t.startArrow,s=t.endArrow,l={dx:0,dy:0},c={dx:0,dy:0};a&&a.d&&(l=ni(n,r,i,o,t.startArrow.d)),s&&s.d&&(c=ni(n,r,i,o,t.endArrow.d)),e.beginPath(),e.moveTo(n+l.dx,r+l.dy),e.lineTo(i-c.dx,o-c.dy)},t.prototype.afterDrawPath=function(e){var t=this.get("startArrowShape"),n=this.get("endArrowShape");t&&t.draw(e),n&&n.draw(e)},t.prototype.getTotalLength=function(){var e=this.attr(),t=e.x1,n=e.y1,r=e.x2,i=e.y2;return Zn.length(t,n,r,i)},t.prototype.getPoint=function(e){var t=this.attr(),n=t.x1,r=t.y1,i=t.x2,o=t.y2;return Zn.pointAt(n,r,i,o,e)},t}(yi),Ci=Si,Ai={circle:function(e,t,n){return[["M",e-n,t],["A",n,n,0,1,0,e+n,t],["A",n,n,0,1,0,e-n,t]]},square:function(e,t,n){return[["M",e-n,t-n],["L",e+n,t-n],["L",e+n,t+n],["L",e-n,t+n],["Z"]]},diamond:function(e,t,n){return[["M",e-n,t],["L",e,t-n],["L",e+n,t],["L",e,t+n],["Z"]]},triangle:function(e,t,n){var r=n*Math.sin(1/3*Math.PI);return[["M",e-n,t+r],["L",e,t-r],["L",e+n,t+r],["Z"]]},"triangle-down":function(e,t,n){var r=n*Math.sin(1/3*Math.PI);return[["M",e-n,t-r],["L",e+n,t-r],["L",e,t+r],["Z"]]}},Ri=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.initAttrs=function(e){this._resetParamsCache()},t.prototype._resetParamsCache=function(){this.set("paramsCache",{})},t.prototype.onAttrChange=function(t,n,r){e.prototype.onAttrChange.call(this,t,n,r),-1!==["symbol","x","y","r","radius"].indexOf(t)&&this._resetParamsCache()},t.prototype.isOnlyHitBox=function(){return!0},t.prototype._getR=function(e){return p(e.r)?e.radius:e.r},t.prototype._getPath=function(){var e,n,r=this.attr(),i=r.x,o=r.y,a=r.symbol||"circle",s=this._getR(r);if(h(a))n=Rr(n=(e=a)(i,o,s));else{if(!(e=t.Symbols[a]))return console.warn(a+" marker is not supported."),null;n=e(i,o,s)}return n},t.prototype.createPath=function(e){di(this,e,{path:this._getPath()},this.get("paramsCache"))},t.Symbols=Ai,t}(yi),wi=Ri;function Li(e,t,n){var r=yr();return e.createPath(r),r.isPointInPath(t,n)}var Oi=1e-6;function Ni(e){return Math.abs(e)0!=Ni(s[1]-n)>0&&Ni(t-(n-a[1])*(a[0]-s[0])/(a[1]-s[1])-a[0])<0&&(r=!r)}return r}function Di(e,t,n,r,i,o,a,s){var l=(Math.atan2(s-t,a-e)+2*Math.PI)%(2*Math.PI);if(li)return!1;var c={x:e+n*Math.cos(l),y:t+n*Math.sin(l)};return Mr(c.x,c.y,a,s)<=o/2}var Pi=De,Mi=s({hasArc:function(e){for(var t=!1,n=e.length,r=0;r0&&r.push(i),{polygons:n,polylines:r}},isPointInStroke:function(e,t,n,r,i){for(var o=!1,a=t/2,s=0;sy?g:y;Le(E,E,Pi(null,[["t",-f,-m],["r",-b],["s",1/(g>y?1:g/y),1/(g>y?y/g:1)]])),o=Di(0,0,T,v,_,t,E[0],E[1])}if(o)break}}return o}},le);function Fi(e,t,n){for(var r=!1,i=0;i=r[0]&&e<=r[1]&&(t=(e-r[0])/(r[1]-r[0]),n=i)}));var o=i[n];if(p(o)||p(n))return null;var a=o.length,s=i[n+1];return ur.pointAt(o[a-2],o[a-1],s[1],s[2],s[3],s[4],s[5],s[6],t)},t.prototype._calculateCurve=function(){var e=this.attr().path;this.set("curve",Mi.pathToCurve(e))},t.prototype._setTcache=function(){var e,t,n,r,i=0,o=0,a=[],s=this.get("curve");s&&(m(s,(function(e,t){n=s[t+1],r=e.length,n&&(i+=ur.length(e[r-2],e[r-1],n[1],n[2],n[3],n[4],n[5],n[6])||0)})),this.set("totalLength",i),0!==i?(m(s,(function(l,c){n=s[c+1],r=l.length,n&&((e=[])[0]=o/i,t=ur.length(l[r-2],l[r-1],n[1],n[2],n[3],n[4],n[5],n[6]),o+=t||0,e[1]=o/i,a.push(e))})),this.set("tCache",a)):this.set("tCache",[]))},t.prototype.getStartTangent=function(){var e,t=this.getSegments();if(t.length>1){var n=t[0].currentPoint,r=t[1].currentPoint,i=t[1].startTangent;e=[],i?(e.push([n[0]-i[0],n[1]-i[1]]),e.push([n[0],n[1]])):(e.push([r[0],r[1]]),e.push([n[0],n[1]]))}return e},t.prototype.getEndTangent=function(){var e,t=this.getSegments(),n=t.length;if(n>1){var r=t[n-2].currentPoint,i=t[n-1].currentPoint,o=t[n-1].endTangent;e=[],o?(e.push([i[0]-o[0],i[1]-o[1]]),e.push([i[0],i[1]])):(e.push([r[0],r[1]]),e.push([i[0],i[1]]))}return e},t}(yi);function Bi(e,t,n,r,i){var o=e.length;if(o<2)return!1;for(var a=0;a=r[0]&&e<=r[1]&&(t=(e-r[0])/(r[1]-r[0]),n=i)})),Zn.pointAt(r[n][0],r[n][1],r[n+1][0],r[n+1][1],t)},t.prototype._setTcache=function(){var e=this.attr().points;if(e&&0!==e.length){var t=this.getTotalLength();if(!(t<=0)){var n,r,i=0,o=[];m(e,(function(a,s){e[s+1]&&((n=[])[0]=i/t,r=Zn.length(a[0],a[1],e[s+1][0],e[s+1][1]),i+=r,n[1]=i/t,o.push(n))})),this.set("tCache",o)}}},t.prototype.getStartTangent=function(){var e=this.attr().points,t=[];return t.push([e[1][0],e[1][1]]),t.push([e[0][0],e[0][1]]),t},t.prototype.getEndTangent=function(){var e=this.attr().points,t=e.length-1,n=[];return n.push([e[t-1][0],e[t-1][1]]),n.push([e[t][0],e[t][1]]),n},t}(yi),Gi=ji,Yi=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.getDefaultAttrs=function(){var t=e.prototype.getDefaultAttrs.call(this);return s(s({},t),{x:0,y:0,width:0,height:0,radius:0})},t.prototype.isInStrokeOrPath=function(e,t,n,r,i){var o=this.attr(),a=o.x,s=o.y,l=o.width,c=o.height,u=o.radius;if(u){var h=!1;return n&&(h=function(e,t,n,r,i,o,a,s){return xi(e+i,t,e+n-i,t,o,a,s)||xi(e+n,t+i,e+n,t+r-i,o,a,s)||xi(e+n-i,t+r,e+i,t+r,o,a,s)||xi(e,t+r-i,e,t+i,o,a,s)||Di(e+n-i,t+i,i,1.5*Math.PI,2*Math.PI,o,a,s)||Di(e+n-i,t+r-i,i,0,.5*Math.PI,o,a,s)||Di(e+i,t+r-i,i,.5*Math.PI,Math.PI,o,a,s)||Di(e+i,t+i,i,Math.PI,1.5*Math.PI,o,a,s)}(a,s,l,c,u,i,e,t)),!h&&r&&(h=Li(this,e,t)),h}var p=i/2;return r&&n?Fr(a-p,s-p,l+p,c+p,e,t):r?Fr(a,s,l,c,e,t):n?function(e,t,n,r,i,o,a){var s=i/2;return Fr(e-s,t-s,n,i,o,a)||Fr(e+n-s,t-s,i,r,o,a)||Fr(e+s,t+r-s,n,i,o,a)||Fr(e-s,t+s,i,r,o,a)}(a,s,l,c,i,e,t):void 0},t.prototype.createPath=function(e){var t=this.attr(),n=t.x,r=t.y,i=t.width,o=t.height,a=t.radius;if(e.beginPath(),0===a)e.rect(n,r,i,o);else{var s=function(e){var t=0,n=0,r=0,i=0;return d(e)?1===e.length?t=n=r=i=e[0]:2===e.length?(t=r=e[0],n=i=e[1]):3===e.length?(t=e[0],n=i=e[1],r=e[2]):(t=e[0],n=e[1],r=e[2],i=e[3]):t=n=r=i=e,[t,n,r,i]}(a),l=s[0],c=s[1],u=s[2],h=s[3];e.moveTo(n+l,r),e.lineTo(n+i-c,r),0!==c&&e.arc(n+i-c,r+c,c,-Math.PI/2,0),e.lineTo(n+i,r+o-u),0!==u&&e.arc(n+i-u,r+o-u,u,0,Math.PI/2),e.lineTo(n+h,r+o),0!==h&&e.arc(n+h,r+o-h,h,Math.PI/2,Math.PI),e.lineTo(n,r+l),0!==l&&e.arc(n+l,r+l,l,Math.PI,1.5*Math.PI),e.closePath()}},t}(yi),zi=Yi,$i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.getDefaultAttrs=function(){var t=e.prototype.getDefaultAttrs.call(this);return s(s({},t),{x:0,y:0,text:null,fontSize:12,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",textAlign:"start",textBaseline:"bottom"})},t.prototype.isOnlyHitBox=function(){return!0},t.prototype.initAttrs=function(e){this._assembleFont(),e.text&&this._setText(e.text)},t.prototype._assembleFont=function(){var e=this.attrs;e.font=_r(e)},t.prototype._setText=function(e){var t=null;_(e)&&-1!==e.indexOf("\n")&&(t=e.split("\n")),this.set("textArr",t)},t.prototype.onAttrChange=function(t,n,r){e.prototype.onAttrChange.call(this,t,n,r),t.startsWith("font")&&this._assembleFont(),"text"===t&&this._setText(n)},t.prototype._getSpaceingY=function(){var e=this.attrs,t=e.lineHeight,n=1*e.fontSize;return t?t-n:.14*n},t.prototype._drawTextArr=function(e,t,n){var r,i=this.attrs,o=i.textBaseline,a=i.x,s=i.y,l=1*i.fontSize,c=this._getSpaceingY(),u=vr(i.text,i.fontSize,i.lineHeight);m(t,(function(t,i){r=s+i*(c+l)-u+l,"middle"===o&&(r+=u-l-(u-l)/2),"top"===o&&(r+=u-l),p(t)||(n?e.fillText(t,a,r):e.strokeText(t,a,r))}))},t.prototype._drawText=function(e,t){var n=this.attr(),r=n.x,i=n.y,o=this.get("textArr");if(o)this._drawTextArr(e,o,t);else{var a=n.text;p(a)||(t?e.fillText(a,r,i):e.strokeText(a,r,i))}},t.prototype.strokeAndFill=function(e){var t=this.attrs,n=t.lineWidth,r=t.opacity,i=t.strokeOpacity,o=t.fillOpacity;this.isStroke()&&n>0&&(p(i)||1===i||(e.globalAlpha=r),this.stroke(e)),this.isFill()&&(p(o)||1===o?this.fill(e):(e.globalAlpha=o,this.fill(e),e.globalAlpha=r)),this.afterDrawPath(e)},t.prototype.fill=function(e){this._drawText(e,!0)},t.prototype.stroke=function(e){this._drawText(e,!1)},t}(yi),Wi=$i;function Vi(e,t,n){var r,i,o=e.getTotalMatrix();if(o){var a=(r=[t,n,1],(i=o)?Me(Fe(i),r):r);return[a[0],a[1]]}return[t,n]}function Ki(e,t,n){if(e.isCanvas&&e.isCanvas())return!0;if(!ge(e)||!1===e.cfg.isInView)return!1;if(e.cfg.clipShape){var r=Vi(e,t,n),i=r[0],o=r[1];if(e.isClipped(i,o))return!1}var a=e.cfg.cacheCanvasBBox||e.getCanvasBBox();return t>=a.minX&&t<=a.maxX&&n>=a.minY&&n<=a.maxY}function qi(e,t,n){if(!Ki(e,t,n))return null;for(var r=null,i=e.getChildren(),o=i.length-1;o>=0;o--){var a=i[o];if(a.isGroup())r=qi(a,t,n);else if(Ki(a,t,n)){var s=a,l=Vi(a,t,n),c=l[0],u=l[1];s.isInShape(c,u)&&(r=a)}if(r)break}return r}var Xi,Zi,Qi,Ji=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.getDefaultCfg=function(){var t=e.prototype.getDefaultCfg.call(this);return t.renderer="canvas",t.autoDraw=!0,t.localRefresh=!0,t.refreshElements=[],t.clipView=!0,t.quickHit=!1,t},t.prototype.onCanvasChange=function(e){"attr"!==e&&"sort"!==e&&"changeSize"!==e||(this.set("refreshElements",[this]),this.draw())},t.prototype.getShapeBase=function(){return i},t.prototype.getGroupBase=function(){return mi},t.prototype.getPixelRatio=function(){var e=this.get("pixelRatio")||(window?window.devicePixelRatio:1);return e>=1?Math.ceil(e):1},t.prototype.getViewRange=function(){return{minX:0,minY:0,maxX:this.cfg.width,maxY:this.cfg.height}},t.prototype.createDom=function(){var e=document.createElement("canvas"),t=e.getContext("2d");return this.set("context",t),e},t.prototype.setDOMSize=function(t,n){e.prototype.setDOMSize.call(this,t,n);var r=this.get("context"),i=this.get("el"),o=this.getPixelRatio();i.width=o*t,i.height=o*n,o>1&&r.scale(o,o)},t.prototype.clear=function(){e.prototype.clear.call(this),this._clearFrame();var t=this.get("context"),n=this.get("el");t.clearRect(0,0,n.width,n.height)},t.prototype.getShape=function(t,n){return this.get("quickHit")?qi(this,t,n):e.prototype.getShape.call(this,t,n,null)},t.prototype._getRefreshRegion=function(){var e,t=this.get("refreshElements"),n=this.getViewRange();return t.length&&t[0]===this?e=n:(e=function(e){if(!e.length)return null;var t=[],n=[],r=[],i=[];return m(e,(function(e){var o=function(e){var t,n,r;if(e.destroyed)t=e._cacheCanvasBBox;else{var i=e.get("cacheCanvasBBox"),o=i&&!(!i.width||!i.height),a=e.getCanvasBBox(),s=a&&!(!a.width||!a.height);o&&s?(r=a,t=(n=i)&&r?{minX:Math.min(n.minX,r.minX),minY:Math.min(n.minY,r.minY),maxX:Math.max(n.maxX,r.maxX),maxY:Math.max(n.maxY,r.maxY)}:n||r):o?t=i:s&&(t=a)}return t}(e);o&&(t.push(o.minX),n.push(o.minY),r.push(o.maxX),i.push(o.maxY))})),{minX:v(t),minY:v(n),maxX:y(r),maxY:y(i)}}(t),e&&(e.minX=Math.floor(e.minX),e.minY=Math.floor(e.minY),e.maxX=Math.ceil(e.maxX),e.maxY=Math.ceil(e.maxY),e.maxY+=1,this.get("clipView")&&(e=function(e,t){return e&&t&&Hr(e,t)?{minX:Math.max(e.minX,t.minX),minY:Math.max(e.minY,t.minY),maxX:Math.min(e.maxX,t.maxX),maxY:Math.min(e.maxY,t.maxY)}:null}(e,n)))),e},t.prototype.refreshElement=function(e){this.get("refreshElements").push(e)},t.prototype._clearFrame=function(){var e,t=this.get("drawFrame");t&&(e=t,(window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.msCancelAnimationFrame||clearTimeout)(e),this.set("drawFrame",null),this.set("refreshElements",[]))},t.prototype.draw=function(){var e=this.get("drawFrame");this.get("autoDraw")&&e||this._startDraw()},t.prototype._drawAll=function(){var e=this.get("context"),t=this.get("el"),n=this.getChildren();e.clearRect(0,0,t.width,t.height),ai(e,this),si(e,n),this.set("refreshElements",[])},t.prototype._drawRegion=function(){var e=this.get("context"),t=this.get("refreshElements"),n=this.getChildren(),r=this._getRefreshRegion();r?(e.clearRect(r.minX,r.minY,r.maxX-r.minX,r.maxY-r.minY),e.save(),e.beginPath(),e.rect(r.minX,r.minY,r.maxX-r.minX,r.maxY-r.minY),e.clip(),ai(e,this),li(this,n,r),si(e,n,r),e.restore()):t.length&&ui(t),m(t,(function(e){e.get("hasChanged")&&e.set("hasChanged",!1)})),this.set("refreshElements",[])},t.prototype._startDraw=function(){var e,t=this,n=this.get("drawFrame");n||(e=function(){t.get("localRefresh")?t._drawRegion():t._drawAll(),t.set("drawFrame",null)},n=(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return setTimeout(e,16)})(e),this.set("drawFrame",n))},t.prototype.skipDraw=function(){},t.prototype.removeDom=function(){var e=this.get("el");e.width=0,e.height=0,e.parentNode.removeChild(e)},t}(Hn);!function(e){e.DATA_CELL_CLICK_EVENT="interaction:data-cell-click",e.MERGED_CELLS_CLICK_EVENT="interaction:merged-cells-click",e.CORNER_TEXT_CLICK_EVENT="interaction:corner-cell-text-click",e.ROW_COLUMN_CLICK_EVENT="interaction:row-column-click",e.ROW_TEXT_CLICK_EVENT="interaction:row-text-click",e.HOVER_EVENT="interaction:hover",e.TREND_ICON_CLICK="interaction:trend-icon-click"}(Xi||(Xi={})),function(e){e.MOUSE_DOWN="mousedown",e.MOUSE_MOVE="mousemove",e.MOUSE_OUT="mouseout",e.MOUSE_LEAVE="mouseleave",e.MOUSE_UP="mouseup",e.KEY_DOWN="keydown",e.KEY_UP="keyup",e.CLICK="click",e.HOVER="hover",e.DOUBLE_CLICK="dblclick",e.CONTEXT_MENU="contextmenu"}(Zi||(Zi={})),function(e){e.ROW_CELL_HOVER="row-cell:hover",e.ROW_CELL_CLICK="row-cell:click",e.ROW_CELL_DOUBLE_CLICK="row-cell:double-click",e.ROW_CELL_CONTEXT_MENU="row-cell:context-menu",e.ROW_CELL_MOUSE_DOWN="row-cell:mouse-down",e.ROW_CELL_MOUSE_UP="row-cell:mouse-up",e.ROW_CELL_MOUSE_MOVE="row-cell:mouse-move",e.ROW_CELL_COLLAPSE_TREE_ROWS="row-cell:collapsed-tree-rows",e.ROW_CELL_SCROLL="row-cell:scroll",e.ROW_CELL_BRUSH_SELECTION="row-cell:brush-selection",e.COL_CELL_HOVER="col-cell:hover",e.COL_CELL_CLICK="col-cell:click",e.COL_CELL_DOUBLE_CLICK="col-cell:double-click",e.COL_CELL_CONTEXT_MENU="col-cell:context-menu",e.COL_CELL_MOUSE_DOWN="col-cell:mouse-down",e.COL_CELL_MOUSE_UP="col-cell:mouse-up",e.COL_CELL_MOUSE_MOVE="col-cell:mouse-move",e.COL_CELL_BRUSH_SELECTION="col-cell:brush-selection",e.DATA_CELL_HOVER="data-cell:hover",e.DATA_CELL_CLICK="data-cell:click",e.DATA_CELL_DOUBLE_CLICK="data-cell:double-click",e.DATA_CELL_CONTEXT_MENU="data-cell:context-menu",e.DATA_CELL_MOUSE_UP="data-cell:mouse-up",e.DATA_CELL_MOUSE_DOWN="data-cell:mouse-down",e.DATA_CELL_MOUSE_MOVE="data-cell:mouse-move",e.DATA_CELL_TREND_ICON_CLICK="data-cell:trend-icon-click",e.DATA_CELL_BRUSH_SELECTION="data-cell:brush-selection",e.DATA_CELL_SELECT_MOVE="data-cell:select-move",e.CORNER_CELL_HOVER="corner-cell:hover",e.CORNER_CELL_CLICK="corner-cell:click",e.CORNER_CELL_DOUBLE_CLICK="corner-cell:double-click",e.CORNER_CELL_CONTEXT_MENU="corner-cell:context-menu",e.CORNER_CELL_MOUSE_DOWN="corner-cell:mouse-down",e.CORNER_CELL_MOUSE_UP="corner-cell:mouse-up",e.CORNER_CELL_MOUSE_MOVE="corner-cell:mouse-move",e.MERGED_CELLS_HOVER="merged-cells:hover",e.MERGED_CELLS_CLICK="merged-cells:click",e.MERGED_CELLS_DOUBLE_CLICK="merged-cells:double-click",e.MERGED_CELLS_CONTEXT_MENU="merged-cell:context-menu",e.MERGED_CELLS_MOUSE_DOWN="merged-cells:mouse-down",e.MERGED_CELLS_MOUSE_UP="merged-cells:mouse-up",e.MERGED_CELLS_MOUSE_MOVE="merged-cells:mouse-move",e.RANGE_SORT="sort:range-sort",e.RANGE_SORTED="sort:range-sorted",e.RANGE_FILTER="filter:range-filter",e.RANGE_FILTERED="filter:range-filtered",e.LAYOUT_AFTER_HEADER_LAYOUT="layout:after-header-layout",e.LAYOUT_CELL_SCROLL="layout:cell-scroll",e.LAYOUT_PAGINATION="layout:pagination",e.LAYOUT_COLLAPSE_ROWS="layout:collapsed-rows",e.LAYOUT_AFTER_COLLAPSE_ROWS="layout:after-collapsed-rows",e.LAYOUT_AFTER_REAL_DATA_CELL_RENDER="layout:after-real-data-cell-render",e.LAYOUT_TREE_ROWS_COLLAPSE_ALL="layout:toggle-collapse-all",e.LAYOUT_COLS_EXPANDED="layout:table-col-expanded",e.LAYOUT_COLS_HIDDEN="layout:table-col-hidden",e.LAYOUT_AFTER_RENDER="layout:after-render",e.LAYOUT_BEFORE_RENDER="layout:before-render",e.LAYOUT_DESTROY="layout:destroy",e.LAYOUT_RESIZE="layout:resize",e.LAYOUT_RESIZE_SERIES_WIDTH="layout:resize-series-width",e.LAYOUT_RESIZE_ROW_WIDTH="layout:resize-row-width",e.LAYOUT_RESIZE_ROW_HEIGHT="layout:resize-row-height",e.LAYOUT_RESIZE_COL_WIDTH="layout:resize-column-width",e.LAYOUT_RESIZE_COL_HEIGHT="layout:resize-column-height",e.LAYOUT_RESIZE_TREE_WIDTH="layout:resize-tree-width",e.LAYOUT_RESIZE_MOUSE_DOWN="layout:resize:mouse-down",e.LAYOUT_RESIZE_MOUSE_MOVE="layout:resize:mouse-move",e.LAYOUT_RESIZE_MOUSE_UP="layout:resize-mouse-up",e.GLOBAL_KEYBOARD_DOWN="global:keyboard-down",e.GLOBAL_KEYBOARD_UP="global:keyboard-up",e.GLOBAL_COPIED="global:copied",e.GLOBAL_MOUSE_UP="global:mouse-up",e.GLOBAL_MOUSE_MOVE="global:mouse-move",e.GLOBAL_ACTION_ICON_CLICK="global:action-icon-click",e.GLOBAL_ACTION_ICON_HOVER="global:action-icon-hover",e.GLOBAL_ACTION_ICON_HOVER_OFF="global:action-icon-hover-off",e.GLOBAL_CONTEXT_MENU="global:context-menu",e.GLOBAL_CLICK="global:click",e.GLOBAL_DOUBLE_CLICK="global:double-click",e.GLOBAL_SELECTED="global:selected",e.GLOBAL_HOVER="global:hover",e.GLOBAL_RESET="global:reset",e.GLOBAL_LINK_FIELD_JUMP="global:link-field-jump",e.GLOBAL_SCROLL="global:scroll"}(Qi||(Qi={}));var eo,to="$$value$$",no="$$extra$$",ro="$$extra_column$$",io="$$total$$",oo="$$series_number$$",ao="mergedCellsGroup",so="frozenRowGroup",lo="frozenColGroup",co="frozenTrailingRowGroup",uo="frozenTrailingColGroup",ho="frozenTopGroup",po="frozenBottomGroup",fo="rowResizeAreaGroup",mo="rowFrozenResizeAreaGroup",go="frozenSplitLine",yo="rowIndexResizeAreaGroup",vo="cornerResizeAreaGroup",_o="colResizeAreaGroup",bo="colFrozenResizeAreaGroup",Eo="gridGroup",To="horizontal-resize-area-",xo="root",So="[&]",Co="-",Ao=/^root\[&\]*/;!function(e){e.Line="line",e.Bar="bar",e.Bullet="bullet"}(eo||(eo={}));var Ro,wo,Lo,Oo="square",No="...",Io="antv-s2",ko="valueRanges",Do={},Po="#000000",Mo="#FFFFFF",Fo={data:[],totalData:[],fields:{rows:[],columns:[],values:[],customTreeItems:[],valueInCols:!0},meta:[],sortParams:[],filterParams:[]};!function(e){e.ROW="row",e.COL="col",e.TRAILING_ROW="trailingRow",e.TRAILING_COL="trailingCol",e.SCROLL="scroll",e.TOP="top",e.BOTTOM="bottom"}(wo||(wo={})),function(e){e.FROZEN_COL="frozenCol",e.FROZEN_ROW="frozenRow",e.FROZEN_TRAILING_COL="frozenTrailingCol",e.FROZEN_TRAILING_ROW="frozenTrailingRow"}(Lo||(Lo={}));var Ho,Bo,Uo,jo=((Ro={})[wo.ROW]="frozenRowGroup",Ro[wo.COL]="frozenColGroup",Ro[wo.TRAILING_COL]="frozenTrailingColGroup",Ro[wo.TRAILING_ROW]="frozenTrailingRowGroup",Ro[wo.SCROLL]="panelScrollGroup",Ro[wo.TOP]="frozenTopGroup",Ro[wo.BOTTOM]="frozenBottomGroup",Ro);!function(e){e.CORNER_CELL_CLICK="cornerCellClick",e.DATA_CELL_CLICK="dataCellClick",e.MERGED_CELLS_CLICK="mergedCellsClick",e.ROW_COLUMN_CLICK="rowColumnClick",e.ROW_TEXT_CLICK="rowTextClick",e.HOVER="hover",e.BRUSH_SELECTION="brushSelection",e.ROW_BRUSH_SELECTION="rowBrushSelection",e.COL_BRUSH_SELECTION="colBrushSelection",e.COL_ROW_RESIZE="rowColResize",e.DATA_CELL_MULTI_SELECTION="dataCellMultiSelection",e.RANGE_SELECTION="rangeSelection",e.SELECTED_CELL_MOVE="selectedCellMove"}(Ho||(Ho={})),function(e){e.ALL_SELECTED="allSelected",e.SELECTED="selected",e.UNSELECTED="unselected",e.HOVER="hover",e.HOVER_FOCUS="hoverFocus",e.HIGHLIGHT="highlight",e.SEARCH_RESULT="searchResult",e.PREPARE_SELECT="prepareSelect"}(Bo||(Bo={})),function(e){e.DATA_CELL="dataCell",e.HEADER_CELL="headerCell",e.ROW_CELL="rowCell",e.COL_CELL="colCell",e.CORNER_CELL="cornerCell",e.MERGED_CELL="mergedCell"}(Uo||(Uo={}));var Go,Yo,zo,$o,Wo={textOpacity:"fillOpacity",backgroundOpacity:"fillOpacity",backgroundColor:"fill",borderOpacity:"strokeOpacity",borderColor:"stroke",borderWidth:"lineWidth",opacity:"opacity"},Vo={textShape:["textOpacity"],textShapes:["textOpacity"],linkFieldShape:["opacity"],interactiveBgShape:["backgroundColor","backgroundOpacity"],interactiveBorderShape:["borderColor","borderOpacity","borderWidth"]},Ko="interactionStateInfo";!function(e){e.CLICK="click",e.UN_DRAGGED="unDragged",e.DRAGGED="dragged"}(Go||(Go={})),function(e){e.SHIFT="Shift",e.COPY="c",e.ESC="Escape",e.META="Meta",e.CONTROL="Control",e.ARROW_UP="ArrowUp",e.ARROW_DOWN="ArrowDown",e.ARROW_LEFT="ArrowLeft",e.ARROW_RIGHT="ArrowRight"}(Yo||(Yo={})),function(e){e.ASC="ASC",e.DESC="DESC"}(zo||(zo={})),function(e){e.HOVER="hover",e.CLICK="click",e.BRUSH_SELECTION="brushSelection",e.ROW_BRUSH_SELECTION="rowBrushSelection",e.COL_BRUSH_SELECTION="colBrushSelection",e.MULTI_SELECTION="multiSelection",e.RESIZE="resize"}($o||($o={}));var qo,Xo,Zo,Qo,Jo,ea,ta,na={x:{value:0,scroll:!1},y:{value:0,scroll:!1}};!function(e){e.CONTENT="content",e.CANVAS="canvas"}(qo||(qo={})),function(e){e.SCROLL_UP="scrollUp",e.SCROLL_DOWN="scrollDown"}(Xo||(Xo={})),function(e){e[e.SCROLL_UP=-1]="SCROLL_UP",e[e.SCROLL_DOWN=1]="SCROLL_DOWN"}(Zo||(Zo={})),function(e){e.Horizontal="col",e.Vertical="row"}(Qo||(Qo={})),function(e){e.Field="field",e.Cell="cell",e.Tree="tree",e.Series="series"}(Jo||(Jo={})),function(e){e.ALL="all",e.CURRENT="current"}(ea||(ea={})),function(e){e.Adaptive="adaptive",e.ColAdaptive="colAdaptive",e.Compact="compact"}(ta||(ta={}));var ra={layoutWidthType:ta.Adaptive,showTreeLeafNodeAlignDot:!1,collapsedRows:{},collapsedCols:{},cellCfg:{width:96,height:30},rowCfg:{width:null,widthByField:{},heightByField:{}},colCfg:{height:30,widthByFieldValue:{},heightByField:{}},device:"pc"},ia={width:600,height:480,debug:!1,hierarchyType:"grid",conditions:{},totals:{},tooltip:{showTooltip:!1,autoAdjustBoundary:"body",operation:{hiddenColumns:!1,trend:!1,sort:!1,menus:[]}},interaction:{linkFields:[],hiddenColumnFields:[],selectedCellsSpotlight:!1,hoverHighlight:!0,hoverFocus:{duration:800},scrollSpeedRatio:{horizontal:1,vertical:1},autoResetSheetStyle:!0,brushSelection:{data:!0,row:!1,col:!1},multiSelection:!0,rangeSelection:!0,scrollbarPosition:qo.CONTENT,resize:{rowCellVertical:!0,cornerCellHorizontal:!0,colCellHorizontal:!0,colCellVertical:!0,rowResizeType:ea.ALL},eventListenerOptions:!1,selectedCellHighlight:!1,overscrollBehavior:"auto"},showSeriesNumber:!1,customSVGIcons:[],showDefaultHeaderActionIcon:!1,headerActionIcons:[],style:ra,frozenRowHeader:!0,frozenRowCount:0,frozenColCount:0,frozenTrailingRowCount:0,frozenTrailingColCount:0,hdAdapter:!0,cornerText:"",cornerExtraFieldText:"",placeholder:Co,supportCSSTransform:!1,devicePixelRatio:window.devicePixelRatio},oa=function(e,t){return oa=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},oa(e,t)};function aa(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}oa(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var sa=function(){return sa=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ua(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function ha(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var qs=Ks(Es),Xs=/\{\n\/\* \[wrapped with (.+)\] \*/,Zs=/,? & /,Qs=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;function Js(e){return function(){return e}}var el=function(){try{var e=ys(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),tl=el,nl=tl?function(e,t){return tl(e,"toString",{configurable:!0,enumerable:!1,value:Js(t),writable:!0})}:Ja,rl=Ks(nl);function il(e,t){for(var n=-1,r=null==e?0:e.length;++n-1}var cl=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];function ul(e,t,n){var r=t+"";return rl(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(Qs,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return il(cl,(function(n){var r="_."+n[0];t&n[1]&&!ll(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(Xs);return t?t[1].split(Zs):[]}(r),n)))}var hl=1,pl=2,dl=4,fl=8,ml=32,gl=64;function yl(e,t,n,r,i,o,a,s,l,c){var u=t&fl;t|=u?ml:gl,(t&=~(u?gl:ml))&dl||(t&=~(hl|pl));var h=[e,t,i,u?o:void 0,u?a:void 0,u?void 0:o,u?void 0:a,s,l,c],p=n.apply(void 0,h);return Ws(e)&&qs(p,h),p.placeholder=r,ul(p,e,t)}function vl(e){return e.placeholder}var _l=9007199254740991,bl=/^(?:0|[1-9]\d*)$/;function El(e,t){var n=typeof e;return!!(t=null==t?_l:t)&&("number"==n||"symbol"!=n&&bl.test(e))&&e>-1&&e%1==0&&e1&&v.reverse(),u&&l-1&&e%1==0&&e<=oc}function sc(e){return null!=e&&ac(e.length)&&!is(e)}function lc(e,t,n){if(!Ga(n))return!1;var r=typeof t;return!!("number"==r?sc(n)&&El(t,n.length):"string"==r&&t in n)&&Ql(n[t],e)}function cc(e){return ic((function(t,n){var r=-1,i=n.length,o=i>1?n[i-1]:void 0,a=i>2?n[2]:void 0;for(o=e.length>3&&"function"==typeof o?(i--,o):void 0,a&&lc(n[0],n[1],a)&&(o=i<3?void 0:o,i=1),t=Object(t);++r-1},iu.prototype.set=function(e,t){var n=this.__data__,r=nu(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};var ou=ys(fa,"Map");function au(e,t){var n=e.__data__;return function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?n["string"==typeof t?"string":"hash"]:n.map}function su(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t0&&n(s)?t>1?xu(s,t-1,n,r,i):bu(i,s):r||(i[i.length]=s)}return i}function Su(e){return null!=e&&e.length?xu(e,1):[]}function Cu(e){return rl(rc(e,void 0,Su),e+"")}var Au=Cu(_u),Ru=kc(Object.getPrototypeOf,Object),wu="[object Object]",Lu=Function.prototype,Ou=Object.prototype,Nu=Lu.toString,Iu=Ou.hasOwnProperty,ku=Nu.call(Object);function Du(e){if(!Ca(e)||Sa(e)!=wu)return!1;var t=Ru(e);if(null===t)return!0;var n=Iu.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Nu.call(n)==ku}function Pu(e){if(!Ca(e))return!1;var t=Sa(e);return"[object Error]"==t||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!Du(e)}var Mu=ic((function(e,t){try{return Rs(e,void 0,t)}catch(e){return Pu(e)?e:new Error(e)}})),Fu=Mu;function Hu(e,t){var n;if("function"!=typeof t)throw new TypeError("Expected a function");return e=Qa(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}var Bu=ic((function(e,t,n){var r=1;if(n.length){var i=Sl(n,vl(Bu));r|=32}return ql(e,r,t,n,i)}));Bu.placeholder={};var Uu=Bu,ju=Cu((function(e,t){return il(t,(function(t){t=gu(t),Zl(e,t,Uu(e[t],e))})),e})),Gu=ju,Yu=ic((function(e,t,n){var r=3;if(n.length){var i=Sl(n,vl(Yu));r|=32}return ql(t,r,e,n,i)}));Yu.placeholder={};var zu=Yu;function $u(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r=r?e:$u(e,t,n)}var Vu=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");function Ku(e){return Vu.test(e)}var qu="\\ud800-\\udfff",Xu="["+qu+"]",Zu="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Qu="\\ud83c[\\udffb-\\udfff]",Ju="[^"+qu+"]",eh="(?:\\ud83c[\\udde6-\\uddff]){2}",th="[\\ud800-\\udbff][\\udc00-\\udfff]",nh="(?:"+Zu+"|"+Qu+")?",rh="[\\ufe0e\\ufe0f]?",ih=rh+nh+"(?:\\u200d(?:"+[Ju,eh,th].join("|")+")"+rh+nh+")*",oh="(?:"+[Ju+Zu+"?",Zu,eh,th,Xu].join("|")+")",ah=RegExp(Qu+"(?="+Qu+")|"+oh+ih,"g");function sh(e){return Ku(e)?function(e){return e.match(ah)||[]}(e):function(e){return e.split("")}(e)}function lh(e){return function(t){var n=Ku(t=du(t))?sh(t):void 0,r=n?n[0]:t.charAt(0),i=n?Wu(n,1).join(""):t.slice(1);return r[e]()+i}}var ch=lh("toUpperCase");function uh(e){return ch(du(e).toLowerCase())}function hh(e,t,n,r){var i=-1,o=null==e?0:e.length;for(r&&o&&(n=e[++i]);++i=t?e:t)),e}function Jh(e,t,n){return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=(n=Ka(n))==n?n:0),void 0!==t&&(t=(t=Ka(t))==t?t:0),Qh(Ka(e),t,n)}function ep(e){var t=this.__data__=new iu(e);this.size=t.size}function tp(e,t){return e&&tc(t,Fc(t),e)}ep.prototype.clear=function(){this.__data__=new iu,this.size=0},ep.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},ep.prototype.get=function(e){return this.__data__.get(e)},ep.prototype.has=function(e){return this.__data__.has(e)},ep.prototype.set=function(e,t){var n=this.__data__;if(n instanceof iu){var r=n.__data__;if(!ou||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new su(r)}return n.set(e,t),this.size=n.size,this};var np="object"==typeof exports&&exports&&!exports.nodeType&&exports,rp=np&&e&&!e.nodeType&&e,ip=rp&&rp.exports===np?fa.Buffer:void 0,op=ip?ip.allocUnsafe:void 0;function ap(e,t){if(t)return e.slice();var n=e.length,r=op?op(n):new e.constructor(n);return e.copy(r),r}function sp(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++ns))return!1;var c=o.get(e),u=o.get(t);if(c&&u)return c==t&&u==e;var h=-1,p=!0,d=n&Rd?new xd:void 0;for(o.set(e,t),o.set(t,e);++h=t||n<0||h&&e-c>=o}function m(){var e=Nf();if(f(e))return g(e);s=setTimeout(m,function(e){var n=t-(e-l);return h?Df(n,o-(e-c)):n}(e))}function g(e){return s=void 0,p&&r?d(e):(r=i=void 0,a)}function y(){var e=Nf(),n=f(e);if(r=arguments,i=this,l=e,n){if(void 0===s)return function(e){return c=e,s=setTimeout(m,t),u?d(e):a}(l);if(h)return clearTimeout(s),s=setTimeout(m,t),d(l)}return void 0===s&&(s=setTimeout(m,t)),a}return t=Ka(t)||0,Ga(n)&&(u=!!n.leading,o=(h="maxWait"in n)?kf(Ka(n.maxWait)||0,t):o,p="trailing"in n?!!n.trailing:p),y.cancel=function(){void 0!==s&&clearTimeout(s),c=0,r=l=i=s=void 0},y.flush=function(){return void 0===s?a:g(Nf())},y}var Mf=Object.prototype,Ff=Mf.hasOwnProperty,Hf=ic((function(e,t){e=Object(e);var n=-1,r=t.length,i=r>2?t[2]:void 0;for(i&&lc(t[0],t[1],i)&&(r=1);++n=tm&&(o=Cd,a=!1,t=new xd(t));e:for(;++i=0&&e.slice(n,i)==t}function bm(e){return function(t){var n=Ip(t);return"[object Map]"==n?Ld(t):"[object Set]"==n?function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}(t):function(e,t){return Oa(t,(function(t){return[t,e[t]]}))}(t,e(t))}}var Em=bm(Fc),Tm=bm(Gc),xm=ph({"&":"&","<":"<",">":">",'"':""","'":"'"}),Sm=/[&<>"']/g,Cm=RegExp(Sm.source);function Am(e){return(e=du(e))&&Cm.test(e)?e.replace(Sm,xm):e}var Rm=/[\\^$.*+?()[\]{}|]/g,wm=RegExp(Rm.source);function Lm(e,t){for(var n=-1,r=null==e?0:e.length;++n-1?i[o?t[a]:a]:void 0}}var Mm=Math.max;function Fm(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:Qa(n);return i<0&&(i=Mm(r+i,0)),ol(e,gf(t),i)}var Hm=Pm(Fm);function Bm(e,t,n){var r;return n(e,(function(e,n,i){if(t(e,n,i))return r=n,!1})),r}var Um=Math.max,jm=Math.min;function Gm(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r-1;return void 0!==n&&(i=Qa(n),i=n<0?Um(r+i,0):jm(i,r-1)),ol(e,gf(t),i,!0)}var Ym=Pm(Gm);function zm(e){return e&&e.length?e[0]:void 0}function $m(e,t){var n=-1,r=sc(e)?Array(e.length):[];return Sf(e,(function(e,i,o){r[++n]=t(e,i,o)})),r}function Wm(e,t){return(Na(e)?Oa:$m)(e,gf(t))}var Vm=Vh("floor");function Km(e){return Cu((function(t){var n=t.length,r=n,i=js.prototype.thru;for(e&&t.reverse();r--;){var o=t[r];if("function"!=typeof o)throw new TypeError("Expected a function");if(i&&!a&&"wrapper"==Us(o))var a=new js([],!0)}for(r=a?r:n;++rt}function ng(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=Ka(t),n=Ka(n)),e(t,n)}}var rg=ng(tg),ig=ng((function(e,t){return e>=t})),og=Object.prototype.hasOwnProperty;function ag(e,t){return null!=e&&og.call(e,t)}function sg(e,t){return null!=e&&cf(e,t,ag)}var lg=Math.max,cg=Math.min;function ug(e,t,n){return t=Za(t),void 0===n?(n=t,t=0):n=Za(n),function(e,t,n){return e>=cg(t,n)&&e-1:!!i&&sl(e,t,n)>-1}var yg=Math.max;function vg(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:Qa(n);return i<0&&(i=yg(r+i,0)),sl(e,t,i)}var _g=Math.min;function bg(e,t,n){for(var r=n?em:ll,i=e[0].length,o=e.length,a=o,s=Array(o),l=1/0,c=[];a--;){var u=e[a];a&&t&&(u=Oa(u,Sc(t))),l=_g(u.length,l),s[a]=!n&&(t||i>=120&&u.length>=120)?new xd(a&&u):void 0}u=e[0];var h=-1,p=s[0];e:for(;++h1),t})),tc(e,yp(e),n),r&&(n=vd(n,7,Dy));for(var i=t.length;i--;)ky(n,t[i]);return n})),My=Py;function Fy(e,t,n,r){if(!Ga(e))return e;for(var i=-1,o=(t=fu(t,e)).length,a=o-1,s=e;null!=s&&++it||o&&a&&l&&!s&&!c||r&&a&&l||!n&&l||!i)return 1;if(!r&&!o&&!c&&e=s?l:l*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}));r--;)e[r]=e[r].value;return e}($m(e,(function(e,n,i){return{criteria:Oa(t,(function(t){return t(e)})),index:++r,value:e}})))}function Gy(e,t,n,r){return null==e?[]:(Na(t)||(t=null==t?[]:[t]),Na(n=r?void 0:n)||(n=null==n?[]:[n]),jy(e,t,n))}function Yy(e){return Cu((function(t){return t=Oa(t,Sc(gf)),ic((function(n){var r=this;return e(t,(function(e){return Rs(e,r,n)}))}))}))}var zy=Yy(Oa),$y=ic,Wy=Math.min,Vy=$y((function(e,t){var n=(t=1==t.length&&Na(t[0])?Oa(t[0],Sc(gf)):Oa(xu(t,1),Sc(gf))).length;return ic((function(r){for(var i=-1,o=Wy(r.length,n);++iZy)return n;do{t%2&&(n+=e),(t=Qy(t/2))&&(e+=e)}while(t);return n}var ev=ff("length"),tv="\\ud800-\\udfff",nv="["+tv+"]",rv="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",iv="\\ud83c[\\udffb-\\udfff]",ov="[^"+tv+"]",av="(?:\\ud83c[\\udde6-\\uddff]){2}",sv="[\\ud800-\\udbff][\\udc00-\\udfff]",lv="(?:"+rv+"|"+iv+")?",cv="[\\ufe0e\\ufe0f]?",uv=cv+lv+"(?:\\u200d(?:"+[ov,av,sv].join("|")+")"+cv+lv+")*",hv="(?:"+[ov+rv+"?",rv,av,sv,nv].join("|")+")",pv=RegExp(iv+"(?="+iv+")|"+hv+uv,"g");function dv(e){return Ku(e)?function(e){for(var t=pv.lastIndex=0;pv.test(e);)++t;return t}(e):ev(e)}var fv=Math.ceil;function mv(e,t){var n=(t=void 0===t?" ":Pa(t)).length;if(n<2)return n?Jy(t,e):t;var r=Jy(t,fv(e/dv(t)));return Ku(t)?Wu(sh(r),0,e).join(""):r.slice(0,e)}var gv=Math.ceil,yv=Math.floor,vv=/^\s+/,_v=fa.parseInt,bv=ic((function(e,t){return ql(e,32,void 0,t,Sl(t,vl(bv)))}));bv.placeholder={};var Ev=bv,Tv=ic((function(e,t){return ql(e,64,void 0,t,Sl(t,vl(Tv)))}));Tv.placeholder={};var xv=Tv,Sv=Af((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]})),Cv=Cu((function(e,t){return null==e?{}:function(e,t){return Hy(e,t,(function(t,n){return uf(e,n)}))}(e,t)})),Av=Cv;function Rv(e,t,n,r){for(var i=n-1,o=e.length;++i-1;)s!==e&&wv.call(s,l,1),wv.call(e,l,1);return e}function Ov(e,t){return e&&e.length&&t&&t.length?Lv(e,t):e}var Nv=ic(Ov),Iv=Array.prototype.splice;function kv(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(n==r||i!==o){var o=i;El(i)?Iv.call(e,i,1):ky(e,i)}}return e}var Dv=Cu((function(e,t){var n=null==e?0:e.length,r=_u(e,t);return kv(e,Oa(t,(function(e){return El(e,n)?+e:e})).sort(Uy)),r})),Pv=Dv,Mv=Math.floor,Fv=Math.random;function Hv(e,t){return e+Mv(Fv()*(t-e+1))}var Bv=parseFloat,Uv=Math.min,jv=Math.random,Gv=Math.ceil,Yv=Math.max;function zv(e){return function(t,n,r){return r&&"number"!=typeof r&&lc(t,n,r)&&(n=r=void 0),t=Za(t),void 0===n?(n=t,t=0):n=Za(n),function(e,t,n,r){for(var i=-1,o=Yv(Gv((t-e)/(n||1)),0),a=Array(o);o--;)a[r?o:++i]=e,e+=n;return a}(t,n,r=void 0===r?t1&&lc(e,t[0],t[1])?t=[]:n>2&&lc(t[0],t[1],t[2])&&(t=[t[0]]),jy(e,xu(t,1),[])})),f_=d_,m_=4294967294,g_=Math.floor,y_=Math.min;function v_(e,t,n,r){var i=0,o=null==e?0:e.length;if(0===o)return 0;for(var a=(t=n(t))!=t,s=null===t,l=Ra(t),c=void 0===t;i>>1,a=e[o];null!==a&&!Ra(a)&&(n?a<=t:a>>0)?(e=du(e))&&("string"==typeof t||null!=t&&!ty(t))&&!(t=Pa(t))&&Ku(e)?Wu(sh(e),0,n):e.split(t,n):[]}var T_=Math.max,x_=Yh((function(e,t,n){return e+(n?" ":"")+ch(t)}));function S_(){return!0}var C_=Ma((function(e,t){return e-t}),0);function A_(e,t){return e&&e.length?vy(e,gf(t)):0}var R_=Object.prototype,w_=R_.hasOwnProperty;function L_(e,t,n,r){return void 0===e||Ql(e,R_[n])&&!w_.call(r,n)?t:e}var O_={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function N_(e){return"\\"+O_[e]}var I_=/<%=([\s\S]+?)%>/g,k_={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:I_,variable:"",imports:{_:{escape:Am}}},D_=/\b__p \+= '';/g,P_=/\b(__p \+=) '' \+/g,M_=/(__e\(.*?\)|\b__t\)) \+\n'';/g,F_=/[()=,{}\[\]\/\s]/,H_=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,B_=/($^)/,U_=/['\n\r\u2028\u2029\\]/g,j_=Object.prototype.hasOwnProperty;function G_(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return Ga(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Pf(e,t,{leading:r,maxWait:t,trailing:i})}function Y_(e,t){return t(e)}var z_=4294967295,$_=Math.min;function W_(e,t){var n=e;return n instanceof Ds&&(n=n.value()),hh(t,(function(e,t){return t.func.apply(t.thisArg,bu([e],t.args))}),n)}function V_(){return W_(this.__wrapped__,this.__actions__)}function K_(e){return du(e).toUpperCase()}function q_(e,t){for(var n=e.length;n--&&sl(t,e[n],0)>-1;);return n}function X_(e,t){for(var n=-1,r=e.length;++n-1;);return n}function Z_(e,t,n){if((e=du(e))&&(n||void 0===t))return ja(e);if(!e||!(t=Pa(t)))return e;var r=sh(e),i=sh(t);return Wu(r,X_(r,i),q_(r,i)+1).join("")}var Q_=/^\s+/,J_=/\w*$/,eb=ph({"&":"&","<":"<",">":">",""":'"',"'":"'"}),tb=/&(?:amp|lt|gt|quot|#39);/g,nb=RegExp(tb.source),rb=bp&&1/Od(new bp([,-0]))[1]==1/0?function(e){return new bp(e)}:Ps,ib=rb,ob=200;function ab(e,t,n){var r=-1,i=ll,o=e.length,a=!0,s=[],l=s;if(n)a=!1,i=em;else if(o>=ob){var c=t?null:ib(e);if(c)return Od(c);a=!1,i=Cd,l=new xd}else l=t?[]:s;e:for(;++r1||this.__actions__.length)&&r instanceof Ds&&El(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:Y_,args:[i],thisArg:void 0}),new js(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(void 0),e}))):this.thru(i)})),Eb=bb;function Tb(e,t,n){var r=e.length;if(r<2)return r?ab(e[0]):[];for(var i=-1,o=Array(r);++i1?e[t-1]:void 0;return n="function"==typeof n?(e.pop(),n):void 0,mb(e,n)})),Ob={chunk:function(e,t,n){t=(n?lc(e,t,n):void 0===t)?1:Zh(Qa(t),0);var r=null==e?0:e.length;if(!r||t<1)return[];for(var i=0,o=0,a=Array(Xh(r/t));ii?0:i+n),(r=void 0===r||r>i?i:Qa(r))<0&&(r+=i),r=n>r?0:Im(r);n=-9007199254740991&&e<=9007199254740991},isSet:cd,isString:pg,isSymbol:Ra,isTypedArray:Oc,isUndefined:ny,isWeakMap:function(e){return Ca(e)&&"[object WeakMap]"==Ip(e)},isWeakSet:function(e){return Ca(e)&&"[object WeakSet]"==Sa(e)},lt:hy,lte:py,toArray:Ny,toFinite:Za,toInteger:Qa,toLength:Im,toNumber:Ka,toPlainObject:Yf,toSafeInteger:function(e){return e?Qh(Qa(e),-9007199254740991,9007199254740991):0===e?e:0},toString:du},Pb={add:Fa,ceil:Kh,divide:um,floor:Vm,max:gy,maxBy:yy,mean:function(e){return _y(e,Ja)},meanBy:function(e,t){return _y(e,gf(t))},min:Ay,minBy:function(e,t){return e&&e.length?my(e,gf(t),uy):void 0},multiply:wy,round:t_,subtract:C_,sum:function(e){return e&&e.length?vy(e,Ja):0},sumBy:A_},Mb=Jh,Fb=ug,Hb={assign:Uc,assignIn:zc,assignInWith:Wc,assignWith:Kc,at:Au,create:function(e,t){var n=Ss(e);return null==t?n:tp(n,t)},defaults:Bf,defaultsDeep:Kf,entries:Em,entriesIn:Tm,extend:zc,extendWith:Wc,findKey:function(e,t){return Bm(e,gf(t),Tf)},findLastKey:function(e,t){return Bm(e,gf(t),gm)},forIn:Zm,forInRight:function(e,t){return null==e?e:mm(e,pm(t),Gc)},forOwn:function(e,t){return e&&Tf(e,pm(t))},forOwnRight:function(e,t){return e&&gm(e,pm(t))},functions:function(e){return null==e?[]:Qm(e,Fc(e))},functionsIn:function(e){return null==e?[]:Qm(e,Gc(e))},get:vu,has:sg,hasIn:uf,invert:Rg,invertBy:Ng,invoke:Dg,keys:Fc,keysIn:Gc,mapKeys:dy,mapValues:function(e,t){var n={};return t=gf(t),Tf(e,(function(e,r,i){Zl(n,r,t(e,r,i))})),n},merge:Ey,mergeWith:Vf,omit:My,omitBy:function(e,t){return By(e,Ly(gf(t)))},pick:Av,pickBy:By,result:function(e,t,n){var r=-1,i=(t=fu(t,e)).length;for(i||(i=1,e=void 0);++r=this.__values__.length;return{done:e,value:e?void 0:this.__values__[this.__index__++]}},plant:function(e){for(var t,n=this;n instanceof Is;){var r=Ys(n);r.__index__=0,r.__values__=void 0,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t},reverse:function(){var e=this.__wrapped__;if(e instanceof Ds){var t=e;return this.__actions__.length&&(t=new Ds(this)),(t=t.reverse()).__actions__.push({func:Y_,args:[e_],thisArg:void 0}),new js(t,this.__chain__)}return this.thru(e_)},tap:function(e,t){return t(e),e},thru:Y_,toIterator:function(){return this},toJSON:V_,value:V_,valueOf:V_,wrapperChain:function(){return qh(this)}},Ub={camelCase:zh,capitalize:uh,deburr:gh,endsWith:_m,escape:Am,escapeRegExp:function(e){return(e=du(e))&&wm.test(e)?e.replace(Rm,"\\$&"):e},kebabCase:iy,lowerCase:ly,lowerFirst:cy,pad:function(e,t,n){e=du(e);var r=(t=Qa(t))?dv(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return mv(yv(i),n)+e+mv(gv(i),n)},padEnd:function(e,t,n){e=du(e);var r=(t=Qa(t))?dv(e):0;return t&&r=o)return e;var s=n-dv(r);if(s<1)return r;var l=a?Wu(a,0,s).join(""):e.slice(0,s);if(void 0===i)return l+r;if(a&&(s+=l.length-s),ty(i)){if(e.slice(s).search(i)){var c,u=l;for(i.global||(i=RegExp(i.source,du(J_.exec(i))+"g")),i.lastIndex=0;c=i.exec(u);)var h=c.index;l=l.slice(0,void 0===h?s:h)}}else if(e.indexOf(Pa(i),s)!=s){var p=l.lastIndexOf(i);p>-1&&(l=l.slice(0,p))}return l+r},unescape:function(e){return(e=du(e))&&nb.test(e)?e.replace(tb,eb):e},upperCase:yb,upperFirst:ch,words:jh},jb={attempt:Fu,bindAll:Gu,cond:yf,conforms:function(e){return function(e){var t=Fc(e);return function(n){return vf(n,e,t)}}(vd(e,1))},constant:Js,defaultTo:function(e,t){return null==e||e!=e?t:e},flow:qm,flowRight:Xm,identity:Ja,iteratee:function(e){return gf("function"==typeof e?e:vd(e,1))},matches:fy,matchesProperty:function(e,t){return df(e,vd(t,1))},method:xy,methodOf:Cy,mixin:Ry,noop:Ps,nthArg:function(e){return e=Qa(e),ic((function(t){return Iy(t,e)}))},over:zy,overEvery:qy,overSome:Xy,property:mf,propertyOf:function(e){return function(t){return null==e?void 0:yu(e,t)}},range:$v,rangeRight:Wv,stubArray:lp,stubFalse:vc,stubObject:function(){return{}},stubString:function(){return""},stubTrue:S_,times:function(e,t){if((e=Qa(e))<1||e>9007199254740991)return[];var n=z_,r=$_(e,z_);t=pm(t),e-=z_;for(var i=pc(r,t);++nt){var r=e;e=t,t=r}if(n||e%1||t%1){var i=jv();return Uv(e+i*(t-e+Bv("1e-"+((i+"").length-1))),t)}return Hv(e,t)},$s.reduce=Nb.reduce,$s.reduceRight=Nb.reduceRight,$s.repeat=Ub.repeat,$s.replace=Ub.replace,$s.result=Hb.result,$s.round=Pb.round,$s.sample=Nb.sample,$s.size=Nb.size,$s.snakeCase=Ub.snakeCase,$s.some=Nb.some,$s.sortedIndex=Ob.sortedIndex,$s.sortedIndexBy=Ob.sortedIndexBy,$s.sortedIndexOf=Ob.sortedIndexOf,$s.sortedLastIndex=Ob.sortedLastIndex,$s.sortedLastIndexBy=Ob.sortedLastIndexBy,$s.sortedLastIndexOf=Ob.sortedLastIndexOf,$s.startCase=Ub.startCase,$s.startsWith=Ub.startsWith,$s.subtract=Pb.subtract,$s.sum=Pb.sum,$s.sumBy=Pb.sumBy,$s.template=Ub.template,$s.times=jb.times,$s.toFinite=Db.toFinite,$s.toInteger=Qa,$s.toLength=Db.toLength,$s.toLower=Ub.toLower,$s.toNumber=Db.toNumber,$s.toSafeInteger=Db.toSafeInteger,$s.toString=Db.toString,$s.toUpper=Ub.toUpper,$s.trim=Ub.trim,$s.trimEnd=Ub.trimEnd,$s.trimStart=Ub.trimStart,$s.truncate=Ub.truncate,$s.unescape=Ub.unescape,$s.uniqueId=jb.uniqueId,$s.upperCase=Ub.upperCase,$s.upperFirst=Ub.upperFirst,$s.each=Nb.forEach,$s.eachRight=Nb.forEachRight,$s.first=Ob.head,Zb($s,(wb={},Tf($s,(function(e,t){Vb.call($s.prototype,t)||(wb[t]=e)})),wb),{chain:!1}),$s.VERSION="4.17.21",($s.templateSettings=Ub.templateSettings).imports._=$s,il(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){$s[e].placeholder=$s})),il(["drop","take"],(function(e,t){Ds.prototype[e]=function(n){n=void 0===n?1:qb(Qa(n),0);var r=this.__filtered__&&!t?new Ds(this):this.clone();return r.__filtered__?r.__takeCount__=Xb(n,r.__takeCount__):r.__views__.push({size:Xb(n,$b),type:e+(r.__dir__<0?"Right":"")}),r},Ds.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),il(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Ds.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:gf(e),type:n}),t.__filtered__=t.__filtered__||r,t}})),il(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Ds.prototype[e]=function(){return this[n](1).value()[0]}})),il(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Ds.prototype[e]=function(){return this.__filtered__?new Ds(this):this[n](1)}})),Ds.prototype.compact=function(){return this.filter(Ja)},Ds.prototype.find=function(e){return this.filter(e).head()},Ds.prototype.findLast=function(e){return this.reverse().find(e)},Ds.prototype.invokeMap=ic((function(e,t){return"function"==typeof e?new Ds(this):this.map((function(n){return kg(n,e,t)}))})),Ds.prototype.reject=function(e){return this.filter(Ly(gf(e)))},Ds.prototype.slice=function(e,t){e=Qa(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Ds(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),void 0!==t&&(n=(t=Qa(t))<0?n.dropRight(-t):n.take(t-e)),n)},Ds.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Ds.prototype.toArray=function(){return this.take($b)},Tf(Ds.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=$s[r?"take"+("last"==t?"Right":""):t],o=r||/^find/.test(t);i&&($s.prototype[t]=function(){var t=this.__wrapped__,a=r?[1]:arguments,s=t instanceof Ds,l=a[0],c=s||Na(t),u=function(e){var t=i.apply($s,bu([e],a));return r&&h?t[0]:t};c&&n&&"function"==typeof l&&1!=l.length&&(s=c=!1);var h=this.__chain__,p=!!this.__actions__.length,d=o&&!h,f=s&&!p;if(!o&&c){t=f?t:new Ds(this);var m=e.apply(t,a);return m.__actions__.push({func:Y_,args:[u],thisArg:void 0}),new js(m,h)}return d&&f?e.apply(this,a):(m=this.thru(u),d?r?m.value()[0]:m.value():m)})})),il(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Wb[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);$s.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return t.apply(Na(i)?i:[],e)}return this[n]((function(n){return t.apply(Na(n)?n:[],e)}))}})),Tf(Ds.prototype,(function(e,t){var n=$s[t];if(n){var r=n.name+"";Vb.call(Hs,r)||(Hs[r]=[]),Hs[r].push({name:t,func:n})}})),Hs[Nl(void 0,2).name]=[{name:"wrapper",func:void 0}],Ds.prototype.clone=function(){var e=new Ds(this.__wrapped__);return e.__actions__=Gs(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Gs(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Gs(this.__views__),e},Ds.prototype.reverse=function(){if(this.__filtered__){var e=new Ds(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Ds.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Na(e),r=t<0,i=n?e.length:0,o=function(e,t,n){for(var r=-1,i=n.length;++r1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=O(e,360),t=O(t,100),n=O(n,100),0===t)r=i=o=n;else{var s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;r=a(l,s,e+1/3),i=a(l,s,e),o=a(l,s,e-1/3)}return{r:255*r,g:255*i,b:255*o}}(e.h,h,d),f=!0,m="hsl"),e.hasOwnProperty("a")&&(u=e.a)),u=L(u),{ok:f,format:e.format||m,r:a(255,s(c.r,0)),g:a(255,s(c.g,0)),b:a(255,s(c.b,0)),a:u}}(e);this._originalInput=e,this._r=u.r,this._g=u.g,this._b=u.b,this._a=u.a,this._roundA=o(100*this._a)/100,this._format=l.format||u.format,this._gradientType=l.gradientType,this._r<1&&(this._r=o(this._r)),this._g<1&&(this._g=o(this._g)),this._b<1&&(this._b=o(this._b)),this._ok=u.ok,this._tc_id=i++}function u(e,t,n){e=O(e,255),t=O(t,255),n=O(n,255);var r,i,o=s(e,t,n),l=a(e,t,n),c=(o+l)/2;if(o==l)r=i=0;else{var u=o-l;switch(i=c>.5?u/(2-o-l):u/(o+l),o){case e:r=(t-n)/u+(t>1)+720)%360;--t;)r.h=(r.h+i)%360,o.push(c(r));return o}function A(e,t){t=t||6;for(var n=c(e).toHsv(),r=n.h,i=n.s,o=n.v,a=[],s=1/t;t--;)a.push(c({h:r,s:i,v:o})),o=(o+s)%1;return a}c.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,n,r,i=this.toRgb();return e=i.r/255,n=i.g/255,r=i.b/255,.2126*(e<=.03928?e/12.92:t.pow((e+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:t.pow((n+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:t.pow((r+.055)/1.055,2.4))},setAlpha:function(e){return this._a=L(e),this._roundA=o(100*this._a)/100,this},toHsv:function(){var e=h(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=h(this._r,this._g,this._b),t=o(360*e.h),n=o(100*e.s),r=o(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=u(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=u(this._r,this._g,this._b),t=o(360*e.h),n=o(100*e.s),r=o(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return p(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,i){var a=[k(o(e).toString(16)),k(o(t).toString(16)),k(o(n).toString(16)),k(P(r))];return i&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)&&a[3].charAt(0)==a[3].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:o(this._r),g:o(this._g),b:o(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+o(this._r)+", "+o(this._g)+", "+o(this._b)+")":"rgba("+o(this._r)+", "+o(this._g)+", "+o(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:o(100*O(this._r,255))+"%",g:o(100*O(this._g,255))+"%",b:o(100*O(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+o(100*O(this._r,255))+"%, "+o(100*O(this._g,255))+"%, "+o(100*O(this._b,255))+"%)":"rgba("+o(100*O(this._r,255))+"%, "+o(100*O(this._g,255))+"%, "+o(100*O(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(w[p(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+d(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var i=c(e);n="#"+d(i._r,i._g,i._b,i._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return c(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(y,arguments)},brighten:function(){return this._applyModification(v,arguments)},darken:function(){return this._applyModification(_,arguments)},desaturate:function(){return this._applyModification(f,arguments)},saturate:function(){return this._applyModification(m,arguments)},greyscale:function(){return this._applyModification(g,arguments)},spin:function(){return this._applyModification(b,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(C,arguments)},complement:function(){return this._applyCombination(E,arguments)},monochromatic:function(){return this._applyCombination(A,arguments)},splitcomplement:function(){return this._applyCombination(S,arguments)},triad:function(){return this._applyCombination(T,arguments)},tetrad:function(){return this._applyCombination(x,arguments)}},c.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:D(e[r]));e=n}return c(e,t)},c.equals=function(e,t){return!(!e||!t)&&c(e).toRgbString()==c(t).toRgbString()},c.random=function(){return c.fromRatio({r:l(),g:l(),b:l()})},c.mix=function(e,t,n){n=0===n?0:n||50;var r=c(e).toRgb(),i=c(t).toRgb(),o=n/100;return c({r:(i.r-r.r)*o+r.r,g:(i.g-r.g)*o+r.g,b:(i.b-r.b)*o+r.b,a:(i.a-r.a)*o+r.a})},c.readability=function(e,n){var r=c(e),i=c(n);return(t.max(r.getLuminance(),i.getLuminance())+.05)/(t.min(r.getLuminance(),i.getLuminance())+.05)},c.isReadable=function(e,t,n){var r,i,o=c.readability(e,t);switch(i=!1,r=function(e){var t,n;return"AA"!==(t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase())&&"AAA"!==t&&(t="AA"),"small"!==(n=(e.size||"small").toLowerCase())&&"large"!==n&&(n="small"),{level:t,size:n}}(n),r.level+r.size){case"AAsmall":case"AAAlarge":i=o>=4.5;break;case"AAlarge":i=o>=3;break;case"AAAsmall":i=o>=7}return i},c.mostReadable=function(e,t,n){var r,i,o,a,s=null,l=0;i=(n=n||{}).includeFallbackColors,o=n.level,a=n.size;for(var u=0;ul&&(l=r,s=c(t[u]));return c.isReadable(e,s,{level:o,size:a})||!i?s:(n.includeFallbackColors=!1,c.mostReadable(e,["#fff","#000"],n))};var R=c.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",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:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",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",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",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:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",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:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},w=c.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(R);function L(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function O(e,n){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var r=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=a(n,s(0,parseFloat(e))),r&&(e=parseInt(e*n,10)/100),t.abs(e-n)<1e-6?1:e%n/parseFloat(n)}function N(e){return a(1,s(0,e))}function I(e){return parseInt(e,16)}function k(e){return 1==e.length?"0"+e:""+e}function D(e){return e<=1&&(e=100*e+"%"),e}function P(e){return t.round(255*parseFloat(e)).toString(16)}function M(e){return I(e)/255}var F,H,B,U=(H="[\\s|\\(]+("+(F="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+F+")[,|\\s]+("+F+")\\s*\\)?",B="[\\s|\\(]+("+F+")[,|\\s]+("+F+")[,|\\s]+("+F+")[,|\\s]+("+F+")\\s*\\)?",{CSS_UNIT:new RegExp(F),rgb:new RegExp("rgb"+H),rgba:new RegExp("rgba"+B),hsl:new RegExp("hsl"+H),hsla:new RegExp("hsla"+B),hsv:new RegExp("hsv"+H),hsva:new RegExp("hsva"+B),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function j(e){return!!U.CSS_UNIT.exec(e)}e.exports?e.exports=c:window.tinycolor=c}(Math)}(Qb);var Jb,eE=Qb.exports,tE=[95,85,75,30,15,0,15,30,45,60,80],nE=function(e){return eE(e).getLuminance()<=.5},rE=[{fontColorIndex:0,bgColorIndex:3},{fontColorIndex:13,bgColorIndex:8},{fontColorIndex:14,bgColorIndex:1}],iE=function(e){void 0===e&&(e={});var t=Array.from(Array(15)).fill(Mo),n=e.basicColorRelations,r=void 0===n?[]:n,i=function(e){for(var t=[],n=0;n<11;n++){var r=tE[n];t.push(K_(0===r?e:eE.mix(e,n<5?"#FFFFFF":"#000000",r).toHexString()))}return t}(e.brandColor);return r.forEach((function(e){t[e.basicColorIndex]=i[e.standardColorIndex]})),rE.forEach((function(e){var n=e.fontColorIndex,r=e.bgColorIndex;t[n]=nE(t[r])?Mo:Po})),sa(sa({},e),{basicColors:t})},oE=iE({brandColor:"#3471F9",semanticColors:{red:"#FF4D4F",green:"#29A294",yellow:"#FAAD14"},others:{highlight:"#87B5FF",results:"#F0F7FF"},basicColorRelations:[{basicColorIndex:1,standardColorIndex:0},{basicColorIndex:2,standardColorIndex:1},{basicColorIndex:3,standardColorIndex:5},{basicColorIndex:4,standardColorIndex:6},{basicColorIndex:5,standardColorIndex:6},{basicColorIndex:6,standardColorIndex:6},{basicColorIndex:7,standardColorIndex:5},{basicColorIndex:9,standardColorIndex:1},{basicColorIndex:10,standardColorIndex:4},{basicColorIndex:11,standardColorIndex:4},{basicColorIndex:12,standardColorIndex:5}]}),aE={default:iE({brandColor:"#326EF4",semanticColors:{red:"#FF4D4F",green:"#29A294",yellow:"#FAAD14"},others:{highlight:"#87B5FF",results:"#F0F7FF"},basicColorRelations:[{basicColorIndex:1,standardColorIndex:0},{basicColorIndex:2,standardColorIndex:1},{basicColorIndex:3,standardColorIndex:1},{basicColorIndex:4,standardColorIndex:2},{basicColorIndex:5,standardColorIndex:7},{basicColorIndex:6,standardColorIndex:5},{basicColorIndex:7,standardColorIndex:5},{basicColorIndex:9,standardColorIndex:1},{basicColorIndex:10,standardColorIndex:2},{basicColorIndex:11,standardColorIndex:5},{basicColorIndex:12,standardColorIndex:5}]}),colorful:oE,gray:iE({brandColor:"#9DA7B6",semanticColors:{red:"#FF4D4F",green:"#29A294",yellow:"#FAAD14"},others:{highlight:"#87B5FF",results:"#F0F7FF"},basicColorRelations:[{basicColorIndex:1,standardColorIndex:0},{basicColorIndex:2,standardColorIndex:1},{basicColorIndex:3,standardColorIndex:1},{basicColorIndex:4,standardColorIndex:2},{basicColorIndex:5,standardColorIndex:7},{basicColorIndex:6,standardColorIndex:8},{basicColorIndex:7,standardColorIndex:5},{basicColorIndex:9,standardColorIndex:1},{basicColorIndex:10,standardColorIndex:2},{basicColorIndex:11,standardColorIndex:3},{basicColorIndex:12,standardColorIndex:3}]})},sE="Roboto, PingFangSC, BlinkMacSystemFont, Microsoft YaHei, Arial, sans-serif",lE="zh_CN",cE={zh_CN:{小计:"小计",总计:"总计",总和:"总和",项:"项",已选择:"已选择",序号:"序号",度量:"度量",数值:"数值",共计:"共计",条:"条",趋势:"趋势",隐藏:"隐藏",组内升序:"组内升序",升序:"升序",降序:"降序",组内降序:"组内降序",不排序:"不排序"},en_US:{小计:"Total",总计:"Total",总和:"SUM",项:"items",已选择:"selected",序号:"Index",度量:"Measure",数值:"Measure",共计:"Total",条:"",隐藏:"Hide",趋势:"Trend",组内升序:"Group ASC",组内降序:"Group DESC",升序:"ASC",降序:"DESC",不排序:"No order"}},uE=function(){return lE},hE=function(e){cE=Ey({},cE,e)},pE=function(e,t){return void 0===t&&(t=e),vu(cE,[lE,e],t)},dE="".concat(Io,"-tooltip"),fE="".concat(dE,"-container"),mE="".concat(fE,"-show"),gE="".concat(fE,"-hide"),yE=("".concat(dE,"-operation"),15);function vE(e){return"mobile"===e||/(iPhone|iPad|SymbianOS|Windows Phone|iPod|iOS|Android)/i.test(navigator.userAgent)}function _E(){return/windows/i.test(navigator.userAgent)}!function(e){e[e.ALL=0]="ALL",e[e.COL=1]="COL",e[e.ROW=2]="ROW"}(Jb||(Jb={}));var bE=function(e){return aE[(e||"default").toLowerCase()]},EE=function(){function e(e){this.x=0,this.y=0,this.width=0,this.height=0,this.colIndex=-1,this.level=0,this.isLeaf=!1,this.children=[],this.padding=0;var t=e.id,n=e.key,r=e.value,i=e.label,o=e.parent,a=e.level,s=e.rowIndex,l=e.isTotals,c=e.isGrandTotals,u=e.isSubTotals,h=e.isCollapsed,p=e.hierarchy,d=e.isPivotMode,f=e.seriesNumberWidth,m=e.field,g=e.spreadsheet,y=e.query,v=e.belongsCell,_=e.inCollapseNode,b=e.isTotalMeasure,E=e.isLeaf,T=e.extra;this.id=t,this.key=n,this.value=r,this.label=i||r,this.parent=o,this.level=a,this.rowIndex=s,this.isTotals=l,this.isCollapsed=h,this.hierarchy=p,this.isPivotMode=d,this.seriesNumberWidth=f,this.field=m,this.spreadsheet=g,this.query=y,this.belongsCell=v,this.inCollapseNode=_,this.isTotalMeasure=b,this.isLeaf=E,this.isGrandTotals=c,this.isSubTotals=u,this.extra=T}return e.getFieldPath=function(e,t){if(e&&!e.isTotals||e&&t){for(var n=e.parent,r=[e.field];n&&n.id!==xo;)r.push(n.field),n=n.parent;return r.reverse()}return[]},e.getAllLeaveNodes=function(e){var t=[];if(e.isLeaf)return[e];for(var n=ha([],ua(e.children),!1),r=n.shift();r;)r.isLeaf?t.push(r):n.unshift.apply(n,ha([],ua(r.children),!1)),r=n.shift();return t},e.getAllChildrenNodes=function(e){var t=[];if(e.isLeaf)return[e];for(var n=ha([],ua(e.children||[]),!1),r=n.shift();r;)t.push(r),n.unshift.apply(n,ha([],ua(r.children),!1)),r=n.shift();return t},e.getAllBranch=function(e){for(var t=[],n=this.getAllLeaveNodes(e),r=n.shift(),i=[];r;){i.unshift(r);for(var o=r.parent;o&&!Wg(o,e);)i.unshift(o),o=o.parent;t.push(i),r=n.shift(),i=[]}return t},e.blankNode=function(){return new e({id:"",key:"",value:""})},e.rootNode=function(){return new e({id:"root",key:"",value:""})},e.prototype.toJSON=function(){return My(this,["config","hierarchy","parent","spreadsheet"])},e.prototype.getHeadLeafChild=function(){for(var e=this;!$g(e.children);)e=zm(e.children);return e},e}(),TE=function(){function e(){this.width=0,this.height=0,this.maxLevel=-1,this.sampleNodesForAllLevels=[],this.sampleNodeForLastLevel=null,this.allNodesWithoutRoot=[],this.indexNode=[]}return e.prototype.getLeaves=function(){return this.allNodesWithoutRoot.filter((function(e){return e.isLeaf}))},e.prototype.getNodes=function(e){return void 0!==e?this.allNodesWithoutRoot.filter((function(t){return t.level===e})):this.allNodesWithoutRoot},e.prototype.getNodesLessThanLevel=function(e){return this.allNodesWithoutRoot.filter((function(t){return t.level<=e}))},e.prototype.pushNode=function(e,t){void 0===t&&(t=-1),-1===t?this.allNodesWithoutRoot.push(e):this.allNodesWithoutRoot.splice(t,0,e)},e.prototype.pushIndexNode=function(e){this.indexNode.push(e)},e.prototype.getIndexNodes=function(){return this.indexNode},e}(),xE=function(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1),this.label=e,this.isSubTotals=t,this.isGrandTotals=n};function SE(e,t){for(var n={},r=e;r&&r.key;)r.isTotals&&!t||(n[r.key]=r.value),r=r.parent;return n}var CE=function(e,t,n,r){return t.layoutArrange?t.layoutArrange(t.spreadsheet,n,r,e):e},AE=function(e,t,n,r){var i,o;if(null===(o=null===(i=e.spreadsheet)||void 0===i?void 0:i.facet)||void 0===o?void 0:o.getHiddenColumnsInfo(n))return!1;var a=!0,s=function(e,n,i){void 0===n&&(n=-1),void 0===i&&(i=-1),-1===n?(t.children.push(e),r.pushNode(e)):(t.children.splice(n,0,e),r.pushNode(e,i))};if(e.layoutHierarchy){var l=e.layoutHierarchy(e.spreadsheet,n);if(l){var c=!!Bg(null==l?void 0:l.delete)&&(null==l?void 0:l.delete);a=!c;var u=l.push,h=l.unshift,p=t.children.length,d=r.getNodes().length;$g(h)||(dm(h,(function(e){s(e)})),p=t.children.length,d=r.getNodes().length),$g(u)||dm(u,(function(e){s(e)})),c||s(n,p,d)}else s(n)}else s(n);return a},RE=function(e,t,n){(null==e?void 0:e.layoutCoordinate)&&((null==t?void 0:t.isLeaf)||(null==n?void 0:n.isLeaf))&&(null==e||e.layoutCoordinate(e.spreadsheet,t,n))},wE=function(e){this.label=e},LE=function(e){var t,n=e.addTotalMeasureInTotal,r=e.addMeasureInTotalQuery,i=e.parentNode,o=e.currentField,a=e.fields,s=e.facetCfg,l=e.hierarchy,c=a.indexOf(o),u=s.dataSet,h=s.values,p=s.spreadsheet,d=[],f={};if(i.isTotals)n&&(f=SE(i.parent,!0),d.push.apply(d,ha([],ua(h.map((function(e){return new wE(e)}))),!1)));else{f=SE(i,!0);var m=u.getDimensionValues(o,f),g=CE(m,s,i,o);d.push.apply(d,ha([],ua(g||[]),!1));var y=u.getFieldName(o);$g(d)&&(o===no?d.push.apply(d,ha([],ua(null===(t=u.fields)||void 0===t?void 0:t.values),!1)):d.push(y)),function(e,t,n){var r,i,o,a,s=null!==(a=null===(o=n.colCfg)||void 0===o?void 0:o.hideMeasureColumn)&&void 0!==a&&a,l=n.dataSet.fields.valueInCols;try{for(var c=ca(e),u=c.next();!u.done;u=c.next()){var h=u.value;s&&l&&t===no&&e.splice(e.indexOf(h),1)}}catch(e){r={error:e}}finally{try{u&&!u.done&&(i=c.return)&&i.call(c)}finally{if(r)throw r.error}}}(d,o,s),function(e){var t,n,r,i=e.isFirstField,o=e.currentField,a=e.fieldValues,s=e.lastField,l=e.spreadsheet.getTotalsConfig(i?o:s);i?(null==l?void 0:l.showGrandTotals)&&(n=l.reverseLayout?"unshift":"push",r=new xE(l.label,!1,!0)):(null==l?void 0:l.showSubTotals)&&($s.size(a)>1||!1!==$s.get(l,"showSubTotals.always"))&&o!==no&&(n=l.reverseSubLayout?"unshift":"push",r=new xE(l.subLabel,!0)),null===(t=a[n])||void 0===t||t.call(a,r)}({currentField:o,lastField:a[c-1],isFirstField:0===c,fieldValues:d,spreadsheet:p})}var v=d.filter((function(e){return!ny(e)}));NE({currentField:o,fields:a,fieldValues:v,facetCfg:s,hierarchy:l,parentNode:i,level:c,query:f,addMeasureInTotalQuery:r,addTotalMeasureInTotal:n})},OE=function(e,t){return"".concat(e).concat(So).concat(t)},NE=function(e){var t,n,r,i,o,a,s,l,c,u,h,p,d=e.currentField,f=e.fields,m=e.fieldValues,g=e.facetCfg,y=e.hierarchy,v=e.parentNode,_=e.level,b=e.query,E=e.addMeasureInTotalQuery,T=e.addTotalMeasureInTotal,x=g.spreadsheet,S=g.collapsedCols,C=g.colCfg;try{for(var A=ca(m.entries()),R=A.next();!R.done;R=A.next()){var w=ua(R.value,2),L=w[0],O=w[1],N=O instanceof xE,I=O instanceof wE,k=void 0,D=void 0,P=!1,M=!1,F=!1,H=d;if(N){var B=O;M=B.isGrandTotals,F=B.isSubTotals,k=pE(O.label),E?(D=sa(sa({},b),((r={})[no]=null===(s=null==x?void 0:x.dataSet)||void 0===s?void 0:s.fields.values[0],r)),P=!0):(D=b,T||(P=!0))}else if(I)k=pE(O.label),D=sa(sa({},b),((i={})[no]=k,i)),H=no,P=!0;else if(x.isTableMode())k=O,H=f[L],D=sa(sa({},b),((o={})[H]=k,o)),P=!0;else{k=O,D=sa(sa({},b),((a={})[d]=k,a));var U=null===(c=null===(l=x.dataCfg.fields)||void 0===l?void 0:l.valueInCols)||void 0===c||c,j=(null==C?void 0:C.hideMeasureColumn)&&U&&gg(f,no)?2:1;P=_===f.length-j}var G=OE(v.id,k);if(!G)return;var Y=!!Bg(null==S?void 0:S[G])&&(null==S?void 0:S[G]),z=new EE({id:G,key:H,value:k,level:_,field:H,parent:v,isTotals:N,isGrandTotals:M,isSubTotals:F,isTotalMeasure:I,isCollapsed:Y,hierarchy:y,query:D,spreadsheet:x,isLeaf:P||Y}),$=AE(g,v,z,y),W=null===(u=null==x?void 0:x.facet)||void 0===u?void 0:u.getHiddenColumnsInfo(z);W&&v&&(v.hiddenChildNodeInfo=W),!(_>y.maxLevel)||M||v.isGrandTotals||v.isSubTotals||z.isSubTotals||(y.sampleNodesForAllLevels.push(z),y.maxLevel=_,y.sampleNodeForLastLevel=W?(null===(h=null==W?void 0:W.displaySiblingNode)||void 0===h?void 0:h.next)||(null===(p=null==W?void 0:W.displaySiblingNode)||void 0===p?void 0:p.prev):z),P||Y||!$?(z.isLeaf=!0,y.pushIndexNode(z),z.rowIndex=y.getIndexNodes().length-1):LE({addTotalMeasureInTotal:T,addMeasureInTotalQuery:E,parentNode:z,currentField:f[_+1],fields:f,facetCfg:g,hierarchy:y})}}catch(e){t={error:e}}finally{try{R&&!R.done&&(n=A.return)&&n.call(A)}finally{if(t)throw t.error}}},IE=function(e,t,n,r){var i=t.facetCfg,o=t.hierarchy,a=t.parentNode,s=i.dataSet;e.forEach((function(e,l){"string"==typeof e&&(e={key:e});var c=e.key,u=c===oo?pE("序号"):s.getFieldName(c),h=r||a;if(NE({currentField:c,fields:[c],fieldValues:[u],facetCfg:i,hierarchy:o,parentNode:h,level:n,query:{},addMeasureInTotalQuery:!1,addTotalMeasureInTotal:!1}),e.children&&e.children.length){var p=h.children[l];p.isLeaf=!1,IE(e.children,t,n+1,p)}}))},kE=function(e,t){return t>0&&e0&&e>=n-t},PE=function(e,t,n){return n>0&&e0&&e>=t+1-n},FE=function(e,t,n,r,i,o){var a=Fm(n,(function(t,r){var a=e-(Jg(o)?0:o)+i.x;return a>=t&&a=t&&o\n\n \n \n \n\n',ArrowUp:'\n\n \n \n \n\n\n',CellDown:'\n\n \x3c!-- Generator: Sketch 58 (84663) - https://sketch.com --\x3e\n down\n Created with Sketch.\n \n \n \n',CellUp:'\n\n \x3c!-- Generator: Sketch 58 (84663) - https://sketch.com --\x3e\n up\n Created with Sketch.\n \n \n \n ',GlobalAsc:'\n\n \n\n\n',GlobalDesc:'\n \n \n \n \n',GroupAsc:'\n \n \n \n \n',GroupDesc:'\n \n \n \n \n',GroupNone:'\n\n \n \n \n \n \n \n \n \n q\n\n',Minus:'\n\t\n\t\t\n\t\n\t\n\t\n\t\n\t\n',Plus:'\n\t\n\t\t\n\t\n\t\n\t\n\t\n\t\n',SortDown:'\n \n \n \n \n\n',SortUp:'\n \n \n \n \n\n',SortDownSelected:'\n \n \n \n \n\n',SortUpSelected:'\n\n\n\n\n\n',InfoCircle:'',ExpandColIcon:'\n\n 编组 8备份 3\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n',Trend:'',DrillDownIcon:'\n',EyeOutlined:''}),VE={},KE=function(e,t){VE[ly(e)]=t},qE=function(e){return VE[ly(e)]};Fc(WE).forEach((function(e){KE(e,WE[e])}));var XE,ZE,QE,JE="/g,">")),a=a.replace(JE,"".concat(JE,' fill="').concat(n,'"')),s.src="".concat(eT,";utf-8,").concat(encodeURIComponent(a)))}}))},t.prototype.render=function(){var e=this.cfg,n=e.name,r=e.fill,i=_d(this.cfg),o=sa(sa({},My(i,"fill")),{type:t.type}),a=new Ti({attrs:o});this.iconImageShape=a,this.setImageAttrs({name:n,fill:r})},t.prototype.setImageAttrs=function(e){var t=this,n=e.name,r=e.fill,i=this.iconImageShape;n=n||i.attrs.name,r=r||i.attrs.fill;var o="".concat(n,"-").concat(r),a=tT[o];a?(i.attr("img",a),this.addShape("image",i)):this.getImage(n,o,r).then((function(e){t.destroyed||(i.attr("img",e),t.addShape("image",i))})).catch((function(e){console.error("GuiIcon ".concat(n," load failed"),e)}))},t.type="__GUI_ICON__",t}(mi);!function(e){e.TOP="TOP",e.BOTTOM="BOTTOM",e.LEFT="LEFT",e.RIGHT="RIGHT"}(XE||(XE={})),function(e){e.SUM="SUM",e.MIN="MIN",e.MAX="MAX",e.AVG="AVG"}(ZE||(ZE={})),function(e){e.Row="row",e.Col="col",e.Series="series"}(QE||(QE={}));var rT=function(){function e(){this.store=new Map}return e.prototype.set=function(e,t){return this.store.set(e,t)},e.prototype.get=function(e,t){var n;return null!==(n=this.store.get(e))&&void 0!==n?n:t},e.prototype.clear=function(){this.store.clear()},e.prototype.size=function(){return this.store.size},e}(),iT=function(e,t,n){return e.sort((function(e,r){n&&(e=n(e),r=n(r));var i=t.indexOf(e),o=t.indexOf(r);return-1===i&&-1===o?0:-1===i?1:-1===o?-1:i-o}))},oT=function(e){return Dm(e,(function(e){return!ny(e)&&"undefined"!==e}))},aT=function(e){var t;return null===(t=Fc(e))||void 0===t?void 0:t.reduce((function(t,n){var r=vu(e,n);return Array.isArray(r)?t=t.concat(aT(r)):null==t||t.push(r),t}),[])},sT=function(e){var t=[];if(Array.isArray(e))for(var n=("undefined"in e),r=e.length+(n?1:0),i=0,o=function(){var n=i===e.length?e[void 0]:e[i];i++,n&&"undefined"in n?Fc(n).forEach((function(e){t.push(n[e])})):Array.isArray(n)?t.push.apply(t,ha([],ua(n),!1)):t.push(n)};i0})))return e;var r=sa({},e);r.frozenColCount>=t&&(r.frozenColCount=t);var i=t-r.frozenColCount;r.frozenTrailingColCount>i&&(r.frozenTrailingColCount=i),r.frozenRowCount>=n&&(r.frozenRowCount=n);var o=n-r.frozenRowCount;return r.frozenTrailingRowCount>o&&(r.frozenTrailingRowCount=o),r};function dT(e,t,n){var r;return null===(r=null==e?void 0:e.addShape)||void 0===r?void 0:r.call(e,"rect",sa({zIndex:1,attrs:t},n||{}))}function fT(e,t){var n;return null===(n=null==e?void 0:e.addShape)||void 0===n?void 0:n.call(e,"circle",{attrs:t})}function mT(e,t,n,r,i,o,a,s){var l;return!$g(t)&&e&&dm(t,(function(t){e.contain(t)&&e.removeChild(t,!0)})),null===(l=null==e?void 0:e.addShape)||void 0===l?void 0:l.call(e,"text",{attrs:sa(sa({x:n,y:r,text:i,originalText:s},o),a)})}function gT(e,t,n){var r;return null===(r=null==e?void 0:e.addShape)||void 0===r?void 0:r.call(e,"line",{zIndex:100,attrs:sa(sa({},t),n)})}function yT(e,t,n){$g(e)||(Na(e)?e:[e]).forEach((function(e){s_(e,"attrs.".concat(t),n)}))}function vT(e,t){var n=new nT(t);return null==e||e.add(n),n}function _T(e,t,n,r,i){var o=new nT(sa(sa({name:r?"Plus":"Minus"},t),{fill:n}));return is(i)&&o.on("click",i),null==e||e.add(o),o}var bT,ET="s2-offscreen-canvas",TT=function(e){var t;return null!==(t=null==e?void 0:e.position)&&void 0!==t?t:"right"},xT=function(e,t){var n,r,i,o=e.data,a=e.encode,s=e.type,l=t.getMeta(),c=l.x,u=l.y,h=l.height,p=l.width,d=t.getStyle(Uo.DATA_CELL),f=d.cell,m=d.miniChart,g=[],y=Wm(o,(function(e){return g.push(null==e?void 0:e[a.y]),{x:e[a.x],y:e[a.y]}})),v=gy(g),_=Ay(g),b=v-_,E=c+f.padding.left,T=c+p-f.padding.right,x=u+f.padding.top,S=u+h-f.padding.bottom,C=S-x,A=s===eo.Bar?(T-E-(g.length-1)*(null===(n=null==m?void 0:m.bar)||void 0===n?void 0:n.intervalPadding))/g.length+(null===(r=null==m?void 0:m.bar)||void 0===r?void 0:r.intervalPadding):null!==(i=(T-E)/(g.length-1))&&void 0!==i?i:0,R=[],w=Wm(y,(function(e,t){var n,r,i=E+t*A;if(r=0!==b?S-((null==e?void 0:e.y)-_)/b*C:_>0?x:S,s===eo.Bar){var o=void 0,a=void 0;_<0&&v>0&&0!==b?(o=S-(0-_)/b*C,a=Math.abs(r-o),(null==e?void 0:e.y)<0&&(r=o)):(o=_<0?x:S,a=0===(b=gy([Math.abs(v),Math.abs(_)]))?C:Math.abs((null==e?void 0:e.y)-0)/b*C,r=o);var l=A-(null===(n=null==m?void 0:m.bar)||void 0===n?void 0:n.intervalPadding);R.push([l,a])}return[i,r]}));return{points:w,box:R}},ST=function(e,t,n){var r=Number(t)-Number(e);return Number.isNaN(r)||Number(e)<0?n.bad:r<=.1?n.good:r>.1&&r<=.2?n.satisfactory:n.bad},CT=function(e,t){switch(null==t?void 0:t.type){case eo.Line:!function(e,t){if(!$g(null==e?void 0:e.data)&&!$g(t)){var n=t.getStyle(Uo.DATA_CELL).miniChart.line,r=n.point,i=n.linkLine,o=xT(e,t).points;!function(e,t){var n;null===(n=null==e?void 0:e.addShape)||void 0===n||n.call(e,"polyline",{attrs:t})}(t,{points:o,stroke:i.fill,lineWidth:i.size,opacity:i.opacity});for(var a=0;a1?(null==h?void 0:h.widthPercent)/100:null==h?void 0:h.widthPercent,E=r.cell.padding,T=l-E.left-E.right,x=b*T,S=T-x,C=o+l-E.right-x,A=a+s/2-h.height/2;dT(t,{x:C,y:A,width:x,height:h.height,fill:f,textBaseline:r.text.textBaseline});var R=vu(t.getMeta(),"spreadsheet.options.bullet.getRangeColor"),w=Math.max(Math.min(x*y,x),0);dT(t,{x:C,y:A+(h.height-h.innerHeight)/2,width:w,height:h.innerHeight,fill:null!==(n=null==R?void 0:R(y,v))&&void 0!==n?n:ST(y,v,d)});var L=C+x*v;gT(t,{x1:L,y1:a+(s-p.height)/2,x2:L,y2:a+(s-p.height)/2+p.height},{stroke:(null==p?void 0:p.fill)||(null==p?void 0:p.color),lineWidth:p.width,opacity:null==p?void 0:p.opacity}),mT(t,[],C-E.right,a+s/2,kT({measureTextWidth:c.measureTextWidth,text:_,maxWidth:S-E.right,fontParam:r.text}),r.text)}}(t,e)}},AT=function(e,t){var n=e.x,r=e.y,i=e.width,o=e.height,a=i-(null==t?void 0:t.left)-(null==t?void 0:t.right),s=o-(null==t?void 0:t.top)-(null==t?void 0:t.bottom);return{x:n+(null==t?void 0:t.left),y:r+(null==t?void 0:t.top),width:a,height:s}},RT=function(e){return Ey({size:0,position:"right",margin:{left:0,right:0}},e)},wT=function(e,t){return e-(t=RT(t)).size-t.margin.right-t.margin.left},LT=function(e,t,n){var r=e.y,i=e.height;void 0===n&&(n=0);var o=0;switch(t){case"top":o=r;break;case"middle":o=r+i/2-n/2;break;default:o=r+i-n}return o},OT=function(e,t,n,r,i){void 0===n&&(n=0),void 0===i&&(i=1);var o,a,s=e.x,l=e.width,c=t.textAlign,u=t.textBaseline,h=RT(r),p=h.size,d=h.margin,f=h.position,m=i*(p+d.left)+(i?d.right:0);switch(c){case"left":o=s+("left"===f?m:0),a=s+("left"===f?d.left:n+d.left);break;case"center":var g=s+l/2-(m-("left"===f?d.left:d.right)+n)/2;o=g+n/2+("left"===f?m-d.left:0),a=g+("left"===f?0:n+d.left);break;default:o=s+l-("right"===f?m:0),a=s+l-("right"===f?m-d.left:n+m-d.left)}return{text:{x:o,y:LT(e,u,0)},icon:{x:a,y:LT(e,u,p)}}},NT=function(e,t,n){var r,i,o,a,s,l=t.x,c=t.y,u=t.width,h=t.height,p=n.horizontalBorderWidth,d=n.horizontalBorderColorOpacity,f=n.horizontalBorderColor,m=n.verticalBorderWidth,g=n.verticalBorderColor,y=n.verticalBorderColorOpacity;if(e===XE.TOP||e===XE.BOTTOM){var v;i=v=e===XE.TOP?c+m/2:c+h-m/2,a=v,r=l,o=l+u,s={lineWidth:p,stroke:f,strokeOpacity:d}}if(e===XE.LEFT||e===XE.RIGHT){var _;r=_=e===XE.LEFT?l+p/2:l+u-p/2,o=_,i=c,a=c+h,s={lineWidth:m,stroke:g,strokeOpacity:y}}return{position:{x1:r,x2:o,y1:i,y2:a},style:s}},IT=(lu((function(e,t){if(void 0===e&&(e=""),!t)return 0;var n,r=(n=document.getElementById(ET),n||((n=document.createElement("canvas")).id=ET,n.style.display="none",document.body.appendChild(n),n)).getContext("2d"),i=t,o=i.fontSize,a=i.fontFamily,s=i.fontWeight,l=i.fontStyle,c=i.fontVariant;return r.font=[l,c,s,"".concat(o,"px"),a].join(" ").trim(),r.measureText("".concat(e)).width}),(function(e,t){return ha([e],ua(fg(t)),!1).join("")})),function(e,t,n,r){var i,o=e(No,r);i=pg(t)?t:du(t);var a,s,l=n,c=[];if(e(t,r)<=n)return t;for(var u=!0;u;){if((s=e(a=i.substr(0,16),r))+o>l&&s>l){u=!1;break}if(c.push(a),l-=s,!(i=i.substr(16)))return c.join("")}for(var h=!0;h;){if((s=e(a=i.substr(0,1),r))+o>l){h=!1;break}if(c.push(a),l-=s,!(i=i.substr(1)))return c.join("")}return"".concat(c.join(""),"...")}),kT=function(e){var t=e.measureTextWidth,n=e.text,r=e.maxWidth,i=e.fontParam,o=e.priorityParam,a=e.placeholder,s={},l=null!=a?a:Co,c=Jg(n)||""===n?l:"".concat(n),u=o;if(i&&Na(i)?u=i:s=i||{},!u||!u.length)return IT(t,c,r,s);var h=[],p=[c];u.forEach((function(e){p.forEach((function(t,n){var r=-1,i=t.match(new RegExp(e));if(i){var o=i[0];r=i.index,h.push(o);var a=r+o.length,s=[t.slice(0,r),t.slice(a)].filter((function(e){return!!e}));p.splice.apply(p,ha([n,1],ua(s),!1))}}))})),p=h.concat(p);var d=c,f=t(No,s),m=r;return p.forEach((function(e){if(m<=0){var n=d.indexOf(e),r=d.slice(n-3,n);if(r&&r!==No){var i=t(e,s);d=d.replace(e,i>f?No:e)}else d=d.replace(e,"");m-=f}else if(i=t(e,s),mf){var o=IT(t,e,m,s);d=d.replace(e,o),m=0}else m-=i})),d},DT=function(e){return Xg(e)?e>=0:!!e&&!Z_(e).startsWith("-")},PT=function(e,t,n,r){void 0===r&&(r="left");var i=t.right,o=t.left,a=n||0;return"left"===r?e+i/2+a:"right"===r?e-i/2-a:e+o/2+a},MT=function(e){var t=e.rowIndex,n=e.colIndex,r=e.meta,i=e.data,o=e.textStyle,a=e.textCondition,s=o.fill;return(null==a?void 0:a.mapping)&&(s=null==a?void 0:a.mapping(i,{rowIndex:t,colIndex:n,meta:r}).fill),sa(sa({},o),{fill:s})},FT=function(e,t){return is(t)?t(e):t},HT=function(e,t,n){var r,i,o,a;void 0===n&&(n=!0);var s=e.getContentArea(),l=s.x,c=s.y,u=s.height,h=s.width,p=t||e.getMeta().fieldValue,d=p.values,f=e.getMeta().spreadsheet,m=f.options,g=f.measureTextWidth,y=m.style.cellCfg.valuesCfg,v=null===(i=null===(r=null==m?void 0:m.conditions)||void 0===r?void 0:r.text)||void 0===i?void 0:i[0],_=null===(a=null===(o=null==m?void 0:m.conditions)||void 0===o?void 0:o.icon)||void 0===a?void 0:a[0];if(Na(d)){var b=null==y?void 0:y.widthPercent,E=0;if(null==p?void 0:p.label){var T=e.getStyle(Uo.DATA_CELL).bolderText,x=mT(e,[],l,c+(E=u/(d.length+1))/2,kT({measureTextWidth:g,text:p.label,maxWidth:h,fontParam:T}),T);e.addTextShape(x)}for(var S,C=function(e){var t,n,r=e.getMeta().isTotals,i=null===(n=(t=e).isMeasureField)||void 0===n?void 0:n.call(t),o=e.getStyle(i?Uo.COL_CELL:Uo.DATA_CELL);return{cellStyle:o,textStyle:i?o.measureText:r?o.bolderText:o.text}}(e),A=C.cellStyle,R=C.textStyle,w=null==A?void 0:A.icon,L=_&&_.mapping&&{size:null==w?void 0:w.size,margin:null==w?void 0:w.margin,position:null==_?void 0:_.position},O=function(e,t,n){for(var r,i,o,a=e.x,s=e.y,l=e.width,c=e.height/u_(t),u=[],h=0,p=Wm(n,(function(e){return e>1?e/100:e})),d=0;d'.concat((t=e,"tr",t.map((function(e){return"<".concat("tr",">").concat(function(e,t){return e.map((function(e){return"<".concat("td",">").concat(Am(e),"")})).join("")}(e),"")})).join("")),"
")};var t},bT);function qT(e){return KT[e]}var XT=function(e,t,n){var r,i,o,a,s,l,c=null!==(i=null===(r=e[0])||void 0===r?void 0:r.length)&&void 0!==i?i:0,u=null!==(o=null==t?void 0:t.length)&&void 0!==o?o:0,h=null!==(s=null===(a=n[0])||void 0===a?void 0:a.length)&&void 0!==s?s:0,p=null!==(l=n.length)&&void 0!==l?l:0,d=c+h,f=u+p,m=Array.from(Array(f),(function(){return new Array(d)}));return m=Wm(m,(function(r,i){return Wm(r,(function(r,o){return o>=0&&o=0&&i=c&&o<=d&&i>=0&&i=0&&o=u&&i=c&&o<=d&&i>=u&&i1)return i.push.apply(i,ha([],ua(n),!1)),i;if(r){var l=t.dataSet.getFieldFormatter(a);i.push(l(o,s))}else i.push(o)}else i.push.apply(i,ha([],ua(n),!1));return i.join(" ")},lx=function(e){var t=UT(e);return Na(t)?t:e},cx=function(e,t,n){var r=lx(t.label),i=Na(r)?r.length:1,o=n.options.placeholder,a=is(o)?o(e):o;return Array(i).fill(a)},ux=function(e){var t,n,r,i,o=null===(r=null===(n=null===(t=e.spreadsheet)||void 0===t?void 0:t.dataSet)||void 0===n?void 0:n.getFieldFormatter)||void 0===r?void 0:r.call(n,e.field);return null!==(i=null==o?void 0:o(e.label))&&void 0!==i?i:e.label},hx=function(e){var t=[],n=function(e){if(e.id!==xo){var r=ux(e);return t.unshift(r),(null==e?void 0:e.parent)?n(e.parent):void 0}};return n(e),t},px=function(e,t,n){var r,i,o,a,s,l=function(e){var t,n;return"object"==typeof e?{isFormatHeader:null!==(t=e.isFormatHeader)&&void 0!==t&&t,isFormatData:null!==(n=e.isFormatData)&&void 0!==n&&n}:{isFormatHeader:null!=e&&e,isFormatData:null!=e&&e}}(n),c=l.isFormatHeader,u=l.isFormatData,h=null===(s=null==e?void 0:e.facet)||void 0===s?void 0:s.layoutResult,p=h.rowsHierarchy,d=h.rowLeafNodes,f=h.colLeafNodes,m=h.getCellMeta,g=p.maxLevel,y=e.dataCfg.fields.valueInCols,v=p.sampleNodesForAllLevels.map((function(t){return e.dataSet.getFieldName(t.key)})),_=d.reduce((function(e,t){var n,r=(null!==(n=t.level)&&void 0!==n?n:0)+1;return r>e?r:e}),0),b=[],E=0;if(e.isPivotMode()){var T=d.filter((function(e){return 0!==e.height}));try{for(var x=ca(T),S=x.next();!S.done;S=x.next()){var C=S.value,A=[];c?A=hx(C):(C.label=Z_(null==C?void 0:C.label),A=C.id.replace(Ao,"").split(So));var R=g+1-A.length;R>0&&A.push.apply(A,ha([],ua(new Array(R)),!1));var w=e.dataSet.getFieldName(om(A));A[A.length-1]=w;try{for(var L=(o=void 0,ca(f)),O=L.next();!O.done;O=L.next()){var N=O.value;if(y){var I=m(C.rowIndex,N.colIndex);A.push(ax(I,e,u))}else{I=m(C.rowIndex,N.colIndex);var k=cx(I,N,e),D=sx(I,e,k,u);Na(D)?A=A.concat.apply(A,ha([],ua(D),!1)):A.push(D)}}}catch(e){o={error:e}}finally{try{O&&!O.done&&(a=L.return)&&a.call(L)}finally{if(o)throw o.error}}E=gy([A.length,E]);var P=A.map((function(e){return nx(e)})).join(t);b.push(P)}}catch(e){r={error:e}}finally{try{S&&!S.done&&(i=x.return)&&i.call(x)}finally{if(r)throw r.error}}}else b=function(e,t,n){var r,i,o,a=e.dataSet.getDisplayDataSet(),s=(null===(o=e.dataCfg)||void 0===o?void 0:o.fields).columns,l=YE(s||[]),c=[],u=function(r,i){var o=[];o=n?l.map((function(t){return nx(e.dataSet.getFieldFormatter(t)(i[t],i))})):l.map((function(e){return nx(i[e])})),e.options.showSeriesNumber&&(o=[nx(r+1)].concat(o)),c.push(o.join(t))};try{for(var h=ca(a.entries()),p=h.next();!p.done;p=h.next()){var d=ua(p.value,2);u(d[0],d[1])}}catch(e){r={error:e}}finally{try{p&&!p.done&&(i=h.return)&&i.call(h)}finally{if(r)throw r.error}}return c}(e,t,u);var M=[];if($g(f)&&!e.isPivotMode())M=[v];else{var F=0,H=_d(f).map((function(t){for(var n=t,r=[];void 0!==n.level;){var i=lx(n.label);Na(i)?F=gy([F,u_(i)]):i=c&&e.isPivotMode()?ux(n):i,r.push(i),n=n.parent}return r}));F>1&&(H=function(e){return e.map((function(e){return e.map((function(t){return Na(t)?t:Na(e[0])?ha([t],ua(new Array(e[0].length-1)),!1):t}))}))}(H));for(var B=gy(H.map((function(e){return e.length}))),U=[],j=function(t){var n=H.map((function(e){return e.length=0;G-=1)j(G);M=U.map((function(t,n){var r,i;if(e.isPivotMode()){var o=e.facet.cornerHeader.cfg,a=o.columns,s=o.rows,l=o.data.filter((function(e){return e.cornerType===QE.Col}));if(n0&&e.unshift.apply(e,ha([],ua(new Array(n)),!1)),e.map((function(e){return nx(e)})).join(t)})).join("\r\n");return[Y].concat(b).join("\r\n")},dx=function(e){var t,n,r,i,o,a,s=null===(r=null===(n=null===(t=e.target)||void 0===t?void 0:t.attrs)||void 0===n?void 0:n.appendInfo)||void 0===r?void 0:r.cellData,l=null===(o=(i=e.target).get)||void 0===o?void 0:o.call(i,"parent");return{target:l,viewMeta:(null===(a=null==l?void 0:l.getMeta)||void 0===a?void 0:a.call(l))||s,event:e}},fx=function(e,t,n){var r,i=e.split(So);if(n)r=[e];else{r=[OE(i[0],i[1])];for(var o=2;o0&&n>0},t.prototype.getStyle=function(e){return vu(this.theme,e||this.cellType)},t.prototype.getResizeAreaStyle=function(){return this.getStyle("resizeArea")},t.prototype.shouldDrawResizeAreaByType=function(e,t){var n=this.spreadsheet.options.interaction.resize;return Bg(n)?n:is(n.visible)?n.visible(t):n[e]},t.prototype.getCellArea=function(){var e=this.meta;return{x:e.x,y:e.y,height:e.height,width:e.width}},t.prototype.getContentArea=function(){var e=this.getStyle()||this.theme.dataCell,t=(null==e?void 0:e.cell).padding;return AT(this.getCellArea(),t)},t.prototype.getIconPosition=function(e){return void 0===e&&(e=1),this.getTextAndIconPosition(e).icon},t.prototype.drawTextShape=function(){var e=this.getFormattedFieldValue().formattedValue,t=this.getMaxTextWidth(),n=this.getTextStyle(),r=this.spreadsheet,i=r.options.placeholder,o=r.measureTextWidth,a=FT(this,i),s=kT({measureTextWidth:o,text:e,maxWidth:t,fontParam:n,placeholder:a});this.actualText=s,this.actualTextWidth=o(s,n);var l=this.getTextPosition();this.textShape=mT(this,[this.textShape],l.x,l.y,s,n),this.textShapes.push(this.textShape)},t.prototype.drawLinkFieldShape=function(e,t){if(e){if(!vE(this.spreadsheet.options.style.device)){var n=this.getTextStyle(),r=this.getTextPosition().x;"center"===n.textAlign?r-=this.actualTextWidth/2:"right"===n.textAlign&&(r-=this.actualTextWidth);var i=this.textShape.getBBox().maxY;this.linkFieldShape=gT(this,{x1:r,y1:i+1,x2:r+this.actualTextWidth,y2:i+1},{stroke:t,lineWidth:1})}this.textShape.attr({fill:t,cursor:"pointer",appendInfo:{isLinkFieldText:!0,cellData:this.meta}})}},t.prototype.getLinkFieldStyle=function(){return this.getTextStyle().linkTextFill},t.prototype.drawLinkField=function(e){var t=this.spreadsheet.options.interaction.linkFields,n=void 0===t?[]:t,r=this.getLinkFieldStyle(),i=function(e,t){return"function"==typeof e?e(t):e.some((function(e){return e===t.key||e===t.id||e===t.valueField}))}(n,e);this.drawLinkFieldShape(i,r)},t.prototype.updateByState=function(e,t){var n=this;this.spreadsheet.interaction.setInteractedCells(t),dm(vu(this.theme,"".concat(this.cellType,".cell.interactionState.").concat(e)),(function(e,t){Fc(By(Vo,(function(e){return gg(e,t)}))).forEach((function(r){var i=n.stateShapes.has(r),o=i?n.stateShapes.get(r):n[r],a=Na(o)?o:[o];i&&a.forEach((function(e){e.set("visible",!0)})),"interactiveBorderShape"===r&&"borderWidth"===t&&Xg(e)&&dm(n.getInteractiveBorderShapeStyle(e),(function(e,t){yT(a,t,e)})),yT(a,Wo[t],e)}))}))},t.prototype.getInteractiveBorderShapeStyle=function(e){var t=this.getCellArea(),n=t.x,r=t.y,i=t.height,o=t.width,a=this.theme.dataCell.cell,s=a.horizontalBorderWidth,l=a.verticalBorderWidth;return{x:n+l/2+e/2,y:r+s/2+e/2,width:o-l-e,height:i-s-e}},t.prototype.hideInteractionShape=function(){this.stateShapes.forEach((function(e){yT(e,Wo.backgroundOpacity,0),yT(e,Wo.backgroundColor,"transparent"),yT(e,Wo.borderOpacity,0),yT(e,Wo.borderWidth,1),yT(e,Wo.borderColor,"transparent")}))},t.prototype.clearUnselectedState=function(){yT(this.backgroundShape,Wo.backgroundOpacity,1),yT(this.textShapes,Wo.textOpacity,1),yT(this.linkFieldShape,Wo.opacity,1)},t.prototype.getTextShape=function(){return this.textShape},t.prototype.getTextShapes=function(){return this.textShapes||[this.textShape]},t.prototype.addTextShape=function(e){e&&this.textShapes.push(e)},t.prototype.getConditionIconShape=function(){return this.conditionIconShape},t.prototype.getConditionIconShapes=function(){return this.conditionIconShapes||[this.conditionIconShape]},t.prototype.addConditionIconShape=function(e){e&&this.conditionIconShapes.push(e)},t.prototype.resetTextAndConditionIconShapes=function(){this.textShapes=[],this.conditionIconShapes=[]},Object.defineProperty(t.prototype,"cellConditions",{get:function(){return this.conditions},enumerable:!1,configurable:!0}),t.prototype.drawConditionIconShapes=function(){var e,t=this.findFieldCondition(null===(e=this.conditions)||void 0===e?void 0:e.icon);if(t&&t.mapping){var n=this.mappingValue(t),r=this.getIconPosition(),i=this.theme.dataCell.icon.size;$g(null==n?void 0:n.icon)||(this.conditionIconShape=vT(this,sa(sa({},r),{name:n.icon,width:i,height:i,fill:n.fill})),this.addConditionIconShape(this.conditionIconShape))}},t.prototype.getTextConditionFill=function(e){var t,n,r=e.fill,i=this.findFieldCondition(null===(t=this.conditions)||void 0===t?void 0:t.text);return(null==i?void 0:i.mapping)&&(r=(null===(n=this.mappingValue(i))||void 0===n?void 0:n.fill)||e.fill),r},t}(mi),yx=function(e,t){return t?t(e[no],e[to]):e[to]},vx=function(e,t){var n=t.getMeta().id;return e.some((function(e){return Wg(e.id,n)}))},_x=function(e,t){return"".concat(e).concat(Co).concat(t)},bx=function(e){return e.type===Uo.DATA_CELL},Ex=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return aa(t,e),Object.defineProperty(t.prototype,"cellType",{get:function(){return Uo.DATA_CELL},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"valueRangeByField",{get:function(){return this.spreadsheet.dataSet.getValueRangeByField(this.meta.valueField)},enumerable:!1,configurable:!0}),t.prototype.handleByStateName=function(e,t){vx(e,this)&&this.updateByState(t)},t.prototype.handleSearchResult=function(e){vx(e,this)&&(Hm(e,(function(e){return null==e?void 0:e.isTarget})).id===this.getMeta().id?this.updateByState(Bo.HIGHLIGHT):this.updateByState(Bo.SEARCH_RESULT))},t.prototype.handleSelect=function(e){var t;switch(null===(t=null==e?void 0:e[0])||void 0===t?void 0:t.type){case Uo.COL_CELL:this.changeRowColSelectState("colIndex");break;case Uo.ROW_CELL:this.changeRowColSelectState("rowIndex");break;case Uo.DATA_CELL:!function(e){var t=e.interaction.getSelectedCellHighlight(),n=t.currentRow,r=t.currentCol,i=t.rowHeader,o=t.colHeader;return n||r||i||o}(this.spreadsheet)?vx(e,this)?this.updateByState(Bo.SELECTED):this.spreadsheet.options.interaction.selectedCellsSpotlight&&this.updateByState(Bo.UNSELECTED):function(e,t,n){var r=n.interaction.getSelectedCellHighlight(),i=r.rowHeader,o=r.colHeader,a=r.currentRow,s=r.currentCol,l=t.cellType===Uo.ROW_CELL,c=n.isTableMode()&&n.options.showSeriesNumber&&i&&l;(a||c)&&function(e,t){dm(e,(function(e){bx(e)&&e.rowIndex===t.getMeta().rowIndex&&t.updateByState(Bo.SELECTED)}))}(e,t),s&&function(e,t){dm(e,(function(e){bx(e)&&e.colIndex===t.getMeta().colIndex&&t.updateByState(Bo.SELECTED)}))}(e,t),(i||o)&&function(e,t){dm(e,(function(e){bx(e)&&e.rowIndex===t.getMeta().rowIndex&&e.colIndex===t.getMeta().colIndex&&t.updateByState(Bo.SELECTED)}))}(e,t)}(e,this,this.spreadsheet)}},t.prototype.handleHover=function(e){var t=zm(e);if(t.type===Uo.DATA_CELL){var n=this.spreadsheet.interaction.getHoverHighlight(),r=n.currentRow,i=n.currentCol;if(r||i){var o=this.meta.colIndex,a=this.meta.rowIndex;i&&o===(null==t?void 0:t.colIndex)||r&&a===(null==t?void 0:t.rowIndex)?this.updateByState(Bo.HOVER):this.hideInteractionShape()}var s=this.getMeta(),l=s.id,c=s.rowIndex,u=s.colIndex;Wg(t.id,l)&&Wg(t.rowIndex,c)&&Wg(t.colIndex,u)&&this.updateByState(Bo.HOVER_FOCUS)}else this.hideInteractionShape()},t.prototype.update=function(){var e=this.spreadsheet.interaction.getCurrentStateName(),t=this.spreadsheet.interaction.getCells();if(e!==Bo.ALL_SELECTED){if(!$g(t)&&e)switch(e){case Bo.SELECTED:this.handleSelect(t);break;case Bo.HOVER_FOCUS:case Bo.HOVER:this.handleHover(t);break;case Bo.SEARCH_RESULT:this.handleSearchResult(t);break;default:this.handleByStateName(t,e)}}else this.updateByState(Bo.SELECTED)},t.prototype.setMeta=function(t){e.prototype.setMeta.call(this,t),this.initCell()},t.prototype.drawTextShape=function(){e.prototype.drawTextShape.call(this),this.drawLinkField(this.meta)},t.prototype.initCell=function(){this.resetTextAndConditionIconShapes(),this.drawBackgroundShape(),this.drawInteractiveBgShape(),this.shouldHideRowSubtotalData()||(this.drawConditionIntervalShape(),this.drawTextShape(),this.drawConditionIconShapes()),this.drawInteractiveBorderShape(),this.meta.isFrozenCorner&&this.drawBorderShape(),this.update()},t.prototype.getDefaultTextFill=function(e){var t=e.fill,n=this.getBackgroundColor(),r=n.backgroundColor,i=n.intelligentReverseTextColor;return nE(r)&&e.fill===Po&&i&&(t=Mo),t},t.prototype.getTextStyle=function(){var e=this.meta.isTotals?this.theme.dataCell.bolderText:this.theme.dataCell.text,t=this.getTextConditionFill(sa(sa({},e),{fill:this.getDefaultTextFill(e)}));return sa(sa({},e),{fill:t})},t.prototype.getIconStyle=function(){var e,t=this.theme.dataCell.icon,n=t.size,r=t.margin,i=this.findFieldCondition(null===(e=this.conditions)||void 0===e?void 0:e.icon);return i&&i.mapping&&{size:n,margin:r,position:TT(i)}},t.prototype.drawConditionIntervalShape=function(){this.conditionIntervalShape=function(e){var t,n,r,i,o,a;if(!$g(e)){var s=e.getCellArea(),l=s.x,c=s.y,u=s.height,h=s.width,p=e.findFieldCondition(null===(t=e.cellConditions)||void 0===t?void 0:t.interval);if(p&&p.mapping){var d=e.mappingValue(p);if(!d)return;var f=d.isCompare?d:e.valueRangeByField,m=hT(f.minValue),g=hT(f.maxValue),y=Jg(null==d?void 0:d.fieldValue)?hT(e.getMeta().fieldValue):hT(null==d?void 0:d.fieldValue);if(yg)return;var v=null!==(r=null===(n=e.getStyle().miniChart.interval)||void 0===n?void 0:n.height)&&void 0!==r?r:e.getStyle().cell.miniBarChartHeight,_=null!==(o=null===(i=e.getStyle().miniChart.interval)||void 0===i?void 0:i.fill)&&void 0!==o?o:e.getStyle().cell.miniBarChartFillColor,b=function(e,t){void 0===e&&(e=0),void 0===t&&(t=0),e=hT(e),t=hT(t);var n=e>=0,r=t>=0&&e<=0,i=r?0:n?e:t,o=t-e;return function(t){var a=n?0:1;return{zeroScale:r?Jh(Math.abs(0-e)/o,0,1):a,scale:Jh((t-i)/o,-1,1)}}}(m,g),E=b(y);return dT(e,{x:l+h*E.zeroScale,y:c+u/2-v/2,width:h*E.scale,height:v,fill:null!==(a=d.fill)&&void 0!==a?a:_})}}}(this)},t.prototype.shouldHideRowSubtotalData=function(){var e,t=(null!==(e=this.spreadsheet.options.totals)&&void 0!==e?e:{}).row,n=void 0===t?{}:t,r=this.meta.rowIndex,i=this.spreadsheet.facet.layoutResult.rowLeafNodes[r],o=!(null==i?void 0:i.isGrandTotals)&&(null==i?void 0:i.isTotals);return"tree"===this.spreadsheet.options.hierarchyType&&!n.showSubTotals&&o},t.prototype.getFormattedFieldValue=function(){if(this.shouldHideRowSubtotalData())return{value:null,formattedValue:Co};var e=this.meta,t=e.rowId,n=e.valueField,r=e.fieldValue,i=e.data,o=this.spreadsheet.dataSet.getFieldMeta(t)?t:n;return{value:r,formattedValue:this.spreadsheet.dataSet.getFieldFormatter(o)(r,i,this.meta)}},t.prototype.getMaxTextWidth=function(){var e=this.getContentArea().width;return wT(e,this.getIconStyle())},t.prototype.getTextPosition=function(){return this.getTextAndIconPosition().text},t.prototype.getBackgroundColor=function(){var e,t=this.getStyle().cell,n=t.crossBackgroundColor,r=t.backgroundColorOpacity,i=this.getStyle().cell.backgroundColor;if(n&&this.meta.rowIndex%2==0&&(i=n),this.shouldHideRowSubtotalData())return{backgroundColor:i,backgroundColorOpacity:r};var o=this.findFieldCondition(null===(e=this.conditions)||void 0===e?void 0:e.background),a=!1;if(o&&o.mapping){var s=this.mappingValue(o);s&&(i=s.fill,a=s.intelligentReverseTextColor)}return{backgroundColor:i,backgroundColorOpacity:r,intelligentReverseTextColor:a}},t.prototype.drawBackgroundShape=function(){var e=this.getBackgroundColor(),t=e.backgroundColor,n=e.backgroundColorOpacity;this.backgroundShape=dT(this,sa(sa({},this.getCellArea()),{fill:t,fillOpacity:n}))},t.prototype.drawInteractiveBorderShape=function(){var e=this.getCellArea(),t=e.x,n=e.y,r=e.height,i=e.width;this.stateShapes.set("interactiveBorderShape",dT(this,{x:t+1,y:n+1,width:i-2,height:r-2},{capture:!1,visible:!1}))},t.prototype.drawInteractiveBgShape=function(){this.stateShapes.set("interactiveBgShape",dT(this,sa({},this.getCellArea()),{visible:!1}))},t.prototype.changeRowColSelectState=function(e){var t=this.spreadsheet.interaction,n=vu(this.meta,e),r=t.getState(),i=r.nodes,o=void 0===i?[]:i,a=r.cells,s=void 0===a?[]:a;(this.spreadsheet.isTableMode()&&o.length?o[0].hierarchy.getLeaves().some((function(e,t){return!!o.some((function(t){return t===e}))&&t===n})):ha(ha([],ua(o),!1),ua(s),!1).some((function(t){return vu(t,e)===n})))?this.updateByState(Bo.SELECTED):this.spreadsheet.options.interaction.selectedCellsSpotlight?this.updateByState(Bo.UNSELECTED):this.hideInteractionShape()},t.prototype.drawBorderShape=function(){var e=this;[XE.BOTTOM,XE.RIGHT].forEach((function(t){var n=NT(t,e.getCellArea(),e.getStyle().cell),r=n.position,i=n.style;gT(e,r,i)}))},t.prototype.findFieldCondition=function(e){var t=this;return Ym(e,(function(e){return e.field instanceof RegExp?e.field.test(t.meta.valueField):e.field===t.meta.valueField}))},t.prototype.mappingValue=function(e){var t=this.meta.fieldValue,n=this.spreadsheet.isTableMode()?this.spreadsheet.dataSet.getCellData({query:{rowIndex:this.meta.rowIndex}}):this.meta.data;return null==e?void 0:e.mapping(t,n)},t.prototype.updateByState=function(t){if(e.prototype.updateByState.call(this,t,this),t===Bo.UNSELECTED){var n=vu(this.theme,"".concat(this.cellType,".cell.interactionState.").concat(t));n&&this.toggleConditionIntervalShapeOpacity(n.opacity)}},t.prototype.clearUnselectedState=function(){e.prototype.clearUnselectedState.call(this),this.toggleConditionIntervalShapeOpacity(1)},t.prototype.toggleConditionIntervalShapeOpacity=function(e){yT(this.conditionIntervalShape,Wo.backgroundOpacity,e),yT(this.conditionIconShapes,Wo.opacity,e)},t.prototype.drawLeftBorder=function(){var e=NT(XE.LEFT,this.getCellArea(),this.getStyle().cell);gT(this,e.position,e.style)},t}(gx),Tx=function(e){function t(t,n,r){return e.call(this,r,t,n)||this}return aa(t,e),t.prototype.handleRestOptions=function(){for(var e=[],t=0;t0&&s.lengtht.x+t.width||e.x+e.width-ot.y+t.height||e.y+e.height-s0,rowFields:t,colFields:n});p.push(r),s_(a,r,e)})),{paths:p,indexesData:a,rowPivotMeta:u,colPivotMeta:h,sortedDimensionValues:c}}function Yx(e,t){if(e&&t){var n=t.split(So),r=om(n),i=e;dm(n,(function(e,t){var n=i.get(e);return n?(e===r?(n.children=new Map,n.childField=void 0):i=n.children,!0):0===t&&e===xo}))}}function zx(e,t,n){var r={field:no,name:t||n,formatter:function(t){return function(t){var n=Hm(e,(function(e){return e.field===t}));return vu(n,"name",t)}(t)}};return r}var $x=function(e){return"ASC"===K_(e)},Wx=function(e){return"DESC"===K_(e)},Vx=function(e){return!Zg(Number(e))},Kx=function(e,t,n){var r=$x(t)?1:-1,i=["-",void 0];return null==e?void 0:e.sort((function(e,t){var o=e,a=t;if(n){if(o=e[n],a=t[n],Vx(o)&&Vx(a))return(Number(o)-Number(a))*r;if(o&&(null==i?void 0:i.includes(null==o?void 0:o.toString())))return-r;if(Number(o)&&(null==i?void 0:i.includes(null==a?void 0:a.toString())))return r}return Jg(o)||Jg(a)?o?r:-r:o.toString().localeCompare(a.toString(),"zh")*r}))},qx=function(e,t,n){return n?function(e,t){var n;return null===(n=null==e?void 0:e.filter((function(e){return!(null==t?void 0:t.includes(e))})))||void 0===n?void 0:n.concat(t)}(t,ub(e)):ha([],ua(new Set(ha(ha([],ua(e),!1),ua(t),!1))),!1)},Xx=function(e){var t=e.sortByValues,n=e.originValues,r=n.filter((function(e){return t.find((function(t){return _m(e,t)}))})).map((function(e){var t=e.split(So);return t.length>1?[t.slice(0,t.length-1).join(So),t[t.length-1]]:t})),i=Array.from(new Set(r.map((function(e){return e[0]}))));r.sort((function(e,n){var r=e.slice(0,e.length-1),o=n.slice(0,n.length-1);return r.join()!==o.join()?i.indexOf(r[0])-i.indexOf(o[0]):t.indexOf(e[e.length-1])-t.indexOf(n[n.length-1])}));var o=r.map((function(e){return e.join(So)}));return iT(n,o)},Zx=function(e){var t=e.sortParam,n=e.originValues,r=e.measureValues,i=e.dataSet,o=t.sortFunc,a=t.sortMethod,s=t.sortBy,l=n,c={originValues:n,measureValues:r,sortParam:t,dataSet:i};return o?l=function(e){var t=e.originValues,n=e.measureValues,r=e.sortParam,i=e.dataSet,o=r.sortFunc,a=r.sortFieldId,s=r.sortMethod,l=o(sa({data:n},r));return(null==l?void 0:l.length)?(i.fields.rows.indexOf(a)>0||i.fields.columns.indexOf(a)>0)&&!gg(l[0],So)?Xx({sortByValues:l,originValues:t}):qx(l,t,$x(s)):t}(c):s?l=Xx({sortByValues:s,originValues:n}):($x(a)||Wx(a))&&(l=function(e){var t,n=e.sortParam,r=e.measureValues,i=e.originValues,o=e.dataSet,a=n.sortByMeasure,s=n.query,l=n.sortFieldId,c=n.sortMethod,u=o.fields,h=u.rows,p=u.columns,d=h.includes(l);if(a){var f=Kx(r,c,a===io?s[no]:a);t=function(e,t,n){var r,i=t.slice(0,t.indexOf(e)+1);return null===(r=n.map((function(e){return i.map((function(t){return e[t]})).join("".concat(So))})))||void 0===r?void 0:r.filter((function(e){return e}))}(l,d?h:YE(p),f)}else t=Wm(Kx(r,c));return qx(t,i,$x(c))}(c)),l},Qx=function(e){return e.filter((function(e){return e!==no}))},Jx=function(e,t){if(null==e?void 0:e.sortMethod){if($x(null==e?void 0:e.sortMethod))return"groupAsc";if(Wx(null==e?void 0:e.sortMethod))return"groupDesc"}if(t)return"SortDown"},eS=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return aa(t,e),t.prototype.handleRestOptions=function(){for(var e=[],t=0;t=a)r=e.start+e.width/2,i=e.width;else if(t.start<=e.start)r=(s=t.width-(e.start-t.start))=a){var s;r=(s=t.width-(o-a))0?e.width/2:i/2;return"left"===r?o-a:o+a-n}(m,this.actualTextWidth,d,h),y=l.y+l.height/2;return this.textPosition={x:g,y},this.textPosition},t.prototype.getActionIconsWidth=function(){var e=this.getStyle().icon,t=e.size,n=e.margin,r=this.getActionIconsCount();return(t+n.left)*r+(r>0?n.right:0)},t.prototype.getColResizeAreaKey=function(){return this.meta.key},t.prototype.getColResizeArea=function(){return Dx(this.spreadsheet,_o)},t.prototype.getHorizontalResizeAreaName=function(){return"".concat(To).concat(this.meta.key)},t.prototype.drawHorizontalResizeArea=function(){var e,t;if(0!==(null===(t=null===(e=this.spreadsheet.options.style)||void 0===e?void 0:e.colCfg)||void 0===t?void 0:t.height)&&this.shouldDrawResizeAreaByType("colCellVertical",this)){var n=this.headerConfig,r=n.cornerWidth,i=n.viewportWidth,o=this.meta,a=o.y,s=o.height,l=this.getResizeAreaStyle(),c=this.getColResizeArea(),u=this.getHorizontalResizeAreaName();if(!c.find((function(e){return e.attrs.name===u}))){var h=r+i;c.addShape("rect",{attrs:sa(sa({},kx({theme:l,type:Qo.Vertical,id:this.getColResizeAreaKey(),effect:Jo.Field,offsetX:0,offsetY:a,width:h,height:s,meta:this.meta})),{name:u,x:0,y:a+s-l.size/2,width:h})})}}},t.prototype.shouldAddVerticalResizeArea=function(){var e=this.meta,t=e.x,n=e.y,r=e.width,i=e.height,o=this.headerConfig,a=o.scrollX,s=o.scrollY,l=o.scrollContainsRowHeader,c=o.cornerWidth,u=o.height,h=o.width,p=this.getResizeAreaStyle(),d={x:t+r-p.size/2,y:n,width:p.size,height:i};return Px(d,{x:l?-c:0,y:0,width:l?c+h:h,height:u},{scrollX:a,scrollY:s})},t.prototype.getVerticalResizeAreaOffset=function(){var e=this.meta,t=e.x,n=e.y,r=this.headerConfig,i=r.scrollX,o=r.position;return{x:o.x+t-i,y:o.y+n}},t.prototype.drawVerticalResizeArea=function(){if(this.meta.isLeaf&&this.shouldDrawResizeAreaByType("colCellHorizontal",this)){var e=this.meta,t=e.label,n=e.width,r=e.height,i=this.getResizeAreaStyle(),o=this.getColResizeArea();if(this.shouldAddVerticalResizeArea()){var a=this.getVerticalResizeAreaOffset(),s=a.x,l=a.y;o.addShape("rect",{attrs:sa(sa({},kx({theme:i,type:Qo.Horizontal,effect:Jo.Cell,id:t,offsetX:s,offsetY:l,width:n,height:r,meta:this.meta})),{x:s+n-i.size/2,y:l,height:r})})}}},t.prototype.drawResizeArea=function(){this.drawHorizontalResizeArea(),this.drawVerticalResizeArea()},t.prototype.drawHorizontalBorder=function(){var e=NT(XE.TOP,this.meta,this.theme.colCell.cell);gT(this,e.position,e.style)},t.prototype.drawVerticalBorder=function(e){var t=NT(e,this.meta,this.theme.colCell.cell);gT(this,t.position,t.style)},t.prototype.drawBorders=function(){var e=this.spreadsheet,t=e.options,n=e.isTableMode;0===this.meta.colIndex&&n()&&!t.showSeriesNumber&&this.drawVerticalBorder(XE.LEFT),this.drawHorizontalBorder(),this.drawVerticalBorder(XE.RIGHT)},t.prototype.hasHiddenColumnCell=function(){var e=this,t=this.spreadsheet.options,n=t.interaction.hiddenColumnFields,r=void 0===n?[]:n,i=t.tooltip.operation,o=this.spreadsheet.store.get("hiddenColumnsDetail",[]);return!($g(o)||$g(r)||!i.hiddenColumns||!o.find((function(t){return Ix(null==t?void 0:t.displaySiblingNode,e.meta.id)})))},t.prototype.getExpandIconTheme=function(){return this.getStyle().icon},t.prototype.addExpandColumnSplitLine=function(){var e=this.meta,t=e.x,n=e.y,r=e.width,i=e.height,o=this.theme.splitLine,a=o.horizontalBorderColor,s=o.horizontalBorderWidth,l=o.horizontalBorderColorOpacity,c=this.isLastColumn()?t+r-s:t;gT(this,{x1:c,y1:n,x2:c,y2:n+i},{stroke:a,lineWidth:s,strokeOpacity:l})},t.prototype.addExpandColumnIconShapes=function(){this.hasHiddenColumnCell()&&(this.addExpandColumnSplitLine(),this.addExpandColumnIcons())},t.prototype.addExpandColumnIcons=function(){var e=this.isLastColumn();this.addExpandColumnIcon(e),this.isAllDisplaySiblingNodeHidden()&&e&&this.addExpandColumnIcon(!1)},t.prototype.addExpandColumnIcon=function(e){var t=this,n=this.getExpandColumnIconConfig(e);vT(this,sa(sa({},n),{name:"ExpandColIcon",cursor:"pointer"})).on("click",(function(){t.spreadsheet.emit(Qi.LAYOUT_COLS_EXPANDED,t.meta)}))},t.prototype.getExpandColumnIconConfig=function(e){var t=this.getExpandIconTheme().size,n=this.getCellArea(),r=n.x,i=n.y,o=n.width,a=r-t;return{x:e?a+o:a,y:i+n.height/2-t/2,width:2*t,height:t}},t.prototype.isLastColumn=function(){return e=this.spreadsheet,t=this.meta.id,n=e.getColumnLeafNodes(),r=e.getInitColumnLeafNodes(),i=wx(t),vu(om(n),i)===t&&vu(om(r),i)!==t;var e,t,n,r,i},t.prototype.isAllDisplaySiblingNodeHidden=function(){var e=this.meta.id,t=this.spreadsheet.store.get("hiddenColumnsDetail",[]),n=t.find((function(t){var n,r=t.displaySiblingNode;return(null===(n=null==r?void 0:r.next)||void 0===n?void 0:n.id)===e})),r=t.find((function(t){var n,r=t.displaySiblingNode;return(null===(n=null==r?void 0:r.prev)||void 0===n?void 0:n.id)===e}));return r&&n},t}(eS),nS=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return aa(t,e),t.prototype.isBolderText=function(){return this.meta.cornerType===QE.Col},Object.defineProperty(t.prototype,"cellType",{get:function(){return Uo.CORNER_CELL},enumerable:!1,configurable:!0}),t.prototype.update=function(){},t.prototype.initCell=function(){e.prototype.initCell.call(this),this.resetTextAndConditionIconShapes(),this.drawBackgroundShape(),this.drawTreeIcon(),this.drawCellText(),this.drawConditionIconShapes(),this.drawActionIcons(),this.drawBorderShape(),this.drawResizeArea()},t.prototype.drawCellText=function(){this.drawTextShape()},t.prototype.drawTextShape=function(){var e=this.getContentArea().x,t=this.getCellArea(),n=t.y,r=t.height,i=this.getTextStyle(),o=this.getCornerText(),a=this.getMaxTextWidth(),s=FT(this.meta,this.spreadsheet.options.placeholder),l=this.spreadsheet.measureTextWidth,c=kT({measureTextWidth:l,text:o,maxWidth:a,fontParam:i,placeholder:s});this.actualText=c;var u=c.indexOf(No),h=c,p="";if(-1!==u&&this.spreadsheet.isHierarchyTreeType()){var d=u+(/iPhone/gi.test(navigator.userAgent)&&812===window.screen.height&&375===window.screen.width?1:0);h=o.substr(0,d),p=o.slice(d),p=kT({measureTextWidth:l,text:p,maxWidth:a,fontParam:i})}var f,m,g=(f={x:e+this.getTreeIconWidth(),y:n,width:a,height:r},m=i,OT(f,m).text).x,y=n+($g(p)?r/2:r/4);this.addTextShape(mT(this,[this.textShapes[0]],g,y,h,i)),$g(p)||this.addTextShape(mT(this,[this.textShapes[1]],g,n+.75*r,p,i)),this.actualTextWidth=gy([l(h,i),l(p,i)])},t.prototype.drawTreeIcon=function(){var e=this;if(this.showTreeIcon()&&this.meta.cornerType!==QE.Col){var t=this.headerConfig.hierarchyCollapse,n=this.getStyle().icon.size,r=this.getTextStyle(),i=r.textBaseline,o=r.fill,a=this.getContentArea();this.treeIcon=_T(this,{x:a.x,y:LT(a,i,n),width:n,height:n},o,t,(function(){e.headerConfig.spreadsheet.store.set("scrollY",0),e.headerConfig.spreadsheet.emit(Qi.LAYOUT_TREE_ROWS_COLLAPSE_ALL,t)}))}},t.prototype.drawBorderShape=function(){var e=this;[XE.TOP,XE.LEFT].forEach((function(t){var n=NT(t,e.getCellArea(),e.getStyle().cell),r=n.position,i=n.style;gT(e,r,i)}))},t.prototype.isLastRowCornerCell=function(){var e=this.meta,t=e.cornerType,n=e.field,r=this.headerConfig.rows;return t===QE.Row&&(this.spreadsheet.isHierarchyTreeType()||om(r)===n)},t.prototype.getResizeAreaEffect=function(){return this.meta.cornerType===QE.Series?Jo.Series:this.isLastRowCornerCell()&&this.spreadsheet.isHierarchyTreeType()?Jo.Tree:Jo.Field},t.prototype.drawResizeArea=function(){if(this.shouldDrawResizeAreaByType("cornerCellHorizontal",this)){var e=this.getResizeAreaStyle(),t=Dx(this.spreadsheet,vo),n=this.headerConfig,r=n.position,i=n.scrollX,o=n.scrollY,a=n.width,s=n.height,l=this.meta,c=l.x,u=l.y,h=l.width,p=l.height,d=l.field,f=l.cornerType,m={x:c+h-e.size/2,y:u,width:e.size,height:p},g={x:0,y:0,width:a,height:s};if(f!==QE.Col&&Px(m,g,{scrollX:i,scrollY:o})){var y=r.x+c-i,v=r.y+(this.isLastRowCornerCell()?0:u);t.addShape("rect",{attrs:sa(sa({},kx({theme:e,id:d,type:Qo.Horizontal,effect:this.getResizeAreaEffect(),offsetX:y,offsetY:v,width:h,height:p,meta:this.meta})),{x:y+h-e.size/2,y:v,height:this.isLastRowCornerCell()?s:p})})}}},t.prototype.showTreeIcon=function(){var e;return this.spreadsheet.isHierarchyTreeType()&&0===(null===(e=this.meta)||void 0===e?void 0:e.x)},t.prototype.getIconPosition=function(){var e,t,n=null===(t=null===(e=this.textShapes)||void 0===e?void 0:e[0])||void 0===t?void 0:t.cfg.attrs,r=this.getTextStyle(),i=r.textBaseline,o=r.textAlign,a=this.getStyle().icon,s=a.size,l=a.margin;return{x:(null==n?void 0:n.x)+yf([[fy("center"),Js(this.actualTextWidth/2)],[fy("right"),Js(0)],[S_,Js(this.actualTextWidth)]])(o)+l.left,y:LT(this.getContentArea(),i,s)}},t.prototype.getTreeIconWidth=function(){var e=this.getStyle().icon,t=e.size,n=e.margin;return this.showTreeIcon()?t+n.right:0},t.prototype.getTextStyle=function(){var e=this.getStyle(),t=e.text,n=e.bolderText,r=this.isBolderText()?t:n,i=this.getTextConditionFill(r);return sa(sa({},r),{fill:i})},t.prototype.getMaxTextWidth=function(){return this.getContentArea().width-this.getTreeIconWidth()-this.getActionIconsWidth()},t.prototype.getTextPosition=function(){return{x:0,y:0}},t.prototype.getFormattedFieldValue=function(){return Fx(this.meta,this.spreadsheet.dataSet.getFieldName(this.meta.label))},t.prototype.getCornerText=function(){return this.getFormattedFieldValue().formattedValue},t}(eS),rS=function(){function e(e){this.EVENT="gesture",this.gm=e}return e.prototype.do=function(e){switch(e.type){case"touchstart":this.onTouchStart(e);break;case"touchmove":this.onTouchMove(e);break;case"touchend":this.onTouchEnd(e);break;case"touchcancel":this.onTouchCancel(e);break;default:return}},e.prototype.emit=function(e){this.gm.emit(this.EVENT,e)},e}(),iS=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.EVENT="pan",t}return aa(t,e),t.prototype.onTouchCancel=function(e){},t.prototype.onTouchEnd=function(e){},t.prototype.onTouchMove=function(e){var t=e.x,n=e.y,r=t-this.preX,i=n-this.preY;this.preX=t,this.preY=n,this.emit({x:t,y:n,deltaX:r,deltaY:i,event:e})},t.prototype.onTouchStart=function(e){var t=e.x,n=e.y;this.preX=t,this.preY=n},t}(rS),oS="object"==typeof performance&&performance.now?performance:Date,aS={Pan:iS,Press:function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.EVENT="press",t}return aa(t,e),t.prototype.onTouchCancel=function(e){this.clearTimeout()},t.prototype.onTouchEnd=function(e){this.clearTimeout()},t.prototype.onTouchMove=function(e){var t=e.x,n=e.y;(t-this.touchStartX>10||n-this.touchStartY>10)&&this.clearTimeout()},t.prototype.onTouchStart=function(e){var t=this;this.clearTimeout();var n=e.x,r=e.y;this.touchStartTime=oS.now(),this.touchStartX=n,this.touchStartY=r,this.pressTimeout=window.setTimeout((function(){t.emit({x:n,y:r,event:e})}),300)},t.prototype.clearTimeout=function(){window.clearTimeout(this.pressTimeout)},t}(rS),Swipe:function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.EVENT="swipe",t.latestMoveTime=0,t.ms=0,t.speedX=0,t.speedY=0,t.preX=0,t.preY=0,t}return aa(t,e),t.prototype.onTouchCancel=function(e){},t.prototype.onTouchEnd=function(e){var t=this.speedX,n=this.speedY;if(oS.now()-this.latestMoveTime<100){var r=e.x,i=e.y;this.emit({x:r,y:i,speedX:t,speedY:n,event:e})}},t.prototype.onTouchMove=function(e){var t=e.x,n=e.y,r=oS.now(),i=t-this.preX,o=n-this.preY,a=r-this.ms;this.speedX=i/a,this.speedY=o/a,this.latestMoveTime=r},t.prototype.onTouchStart=function(e){var t=e.x,n=e.y;this.speedX=this.speedY=0,this.preX=t,this.preY=n,this.ms=oS.now()},t}(rS),Tap:function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.EVENT="tap",t}return aa(t,e),t.prototype.onTouchCancel=function(e){},t.prototype.onTouchEnd=function(e){var t=e.x,n=e.y;t-this.touchStartX<2&&n-this.touchStartY<2&&oS.now()-this.touchStartTime<300&&this.emit({x:t,y:n,event:e})},t.prototype.onTouchMove=function(e){},t.prototype.onTouchStart=function(e){var t=e.x,n=e.y;this.touchStartTime=oS.now(),this.touchStartX=t,this.touchStartY=n},t}(rS)},sS=function(e){function t(t,n){void 0===n&&(n={});var r=e.call(this)||this;return r.onTouchStart=function(e){r.preventEvent(e),r.element.on("touchmove",r.onTouchMove),r.element.on("touchend",r.onTouchEnd),r.element.on("touchcancel",r.onTouchCancel),r.emit("touchdown",e),r.doGestures(e)},r.onTouchMove=function(e){r.preventEvent(e),r.emit("touchmove",e),r.doGestures(e)},r.onTouchEnd=function(e){r.preventEvent(e),r.emit("touchend",e),r.element.off("touchmove",r.onTouchMove),r.element.off("touchend",r.onTouchEnd),r.element.off("touchcancel",r.onTouchCancel),r.doGestures(e)},r.onTouchCancel=function(e){r.preventEvent(e),r.emit("touchcancel",e),r.element.off("touchmove",r.onTouchMove),r.element.off("touchend",r.onTouchEnd),r.element.off("touchcancel",r.onTouchCancel),r.doGestures(e)},r.element=t,r.options=n,r.initialGestures(),r.bindTouchStart(),r}return aa(t,e),t.prototype.destroy=function(){this.element.off("touchstart",this.onTouchStart),this.off()},t.prototype.initialGestures=function(){var e=this,t=this.options.gestures||["Pan","Press","Swipe","Tap"];this.gestures=t.map((function(t){return new(0,aS[t])(e)}))},t.prototype.bindTouchStart=function(){this.element.on("touchstart",this.onTouchStart)},t.prototype.preventEvent=function(e){var t=e.type;(this.options.prevents||[]).includes(t)&&e.preventDefault()},t.prototype.doGestures=function(e){this.gestures.forEach((function(t){t.do(e)}))},t}(pe),lS=on,cS="wheel",uS=function(e){function t(t){var n=e.call(this)||this;return n.rafMs=0,n.onPan=function(e){n.raf&&cancelAnimationFrame(n.raf);var t=e.deltaX,r=e.deltaY,i=n.getWrapperEvent(e,t,r);n.emit(cS,i)},n.onSwipe=function(e){var t=e.speedX,r=e.speedY;n.rafMs=oS.now(),n.ms=n.rafMs,0===t&&0===r||n.rafInertia(e)},n.element=t,n.gm=new sS(t,{gestures:["Pan","Swipe"]}),n.gm.on("swipe",n.onSwipe),n.gm.on("pan",n.onPan),n}return aa(t,e),t.prototype.destroy=function(){window.cancelAnimationFrame(this.raf),this.gm.destroy(),this.off()},t.prototype.rafInertia=function(e){var t=this,n=e.speedX,r=e.speedY;this.raf=window.requestAnimationFrame((function(){var i=oS.now(),o=(i-t.ms)/800;if(o<1){o=lS(1-o);var a=i-t.rafMs,s=n*o*a,l=r*o*a,c=t.getWrapperEvent(e,s,l);t.emit(cS,c),t.rafMs=i,t.rafInertia(e)}}))},t.prototype.getWrapperEvent=function(e,t,n){return sa(sa({},e),{deltaX:-t,deltaY:-n})},t}(pe),hS=function(e,t,n,r,i){var o=n+r;return e+i>=o?e:oe+(t-i)/2?e+t-n>i?n:e+t-i:e+(t-i)/2},pS=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return aa(t,e),Object.defineProperty(t.prototype,"cellType",{get:function(){return Uo.ROW_CELL},enumerable:!1,configurable:!0}),t.prototype.destroy=function(){var t;e.prototype.destroy.call(this),null===(t=this.gm)||void 0===t||t.destroy()},t.prototype.initCell=function(){e.prototype.initCell.call(this),this.drawBackgroundShape(),this.drawInteractiveBgShape(),this.drawInteractiveBorderShape(),this.drawTextShape(),this.drawConditionIconShapes(),this.drawTreeIcon(),this.drawTreeLeafNodeAlignDot(),this.drawRectBorder(),this.drawResizeAreaInLeaf(),this.drawActionIcons(),this.update()},t.prototype.drawInteractiveBorderShape=function(){this.stateShapes.set("interactiveBorderShape",dT(this,this.getInteractiveBorderShapeStyle(2),{visible:!1}))},t.prototype.drawInteractiveBgShape=function(){this.stateShapes.set("interactiveBgShape",dT(this,sa({},this.getCellArea()),{visible:!1}))},t.prototype.showTreeIcon=function(){return this.spreadsheet.isHierarchyTreeType()&&!this.meta.isLeaf},t.prototype.showTreeLeafNodeAlignDot=function(){var e;return(null===(e=this.spreadsheet.options.style)||void 0===e?void 0:e.showTreeLeafNodeAlignDot)&&this.spreadsheet.isHierarchyTreeType()},t.prototype.getParentTreeIconCfg=function(){if(this.showTreeLeafNodeAlignDot()&&this.spreadsheet.isHierarchyTreeType()&&this.meta.isLeaf)return vu(this.meta,"parent.belongsCell.treeIcon.cfg")},t.prototype.drawTreeIcon=function(){var e=this;if(this.showTreeIcon()){var t=this.meta,n=t.isCollapsed,r=t.id,i=t.hierarchy,o=this.getContentArea().x,a=this.getTextStyle().fill,s=this.getStyle().icon.size,l=o+this.getContentIndent(),c=this.getIconYPosition();this.treeIcon=_T(this,{x:l,y:c,width:s,height:s},a,n,(function(){if(!vE()){if(!n){var t=e.spreadsheet.store.get("scrollY"),o=e.spreadsheet.facet.panelBBox.viewportHeight||0,a=(c=e.meta,u=0,null==(h=c.children)||h.forEach((function(e){u+=e.height||0})),u),s=i.height-a;if(t>0&&t+o>s){var l=s-o;e.spreadsheet.store.set("scrollY",l>0?l:0)}}var c,u,h;e.spreadsheet.emit(Qi.ROW_CELL_COLLAPSE_TREE_ROWS,{id:r,isCollapsed:!n,node:e.meta})}})),vE()&&(this.gm=new sS(this,{gestures:["Tap"]}),this.gm.on("tap",(function(){e.spreadsheet.emit(Qi.ROW_CELL_COLLAPSE_TREE_ROWS,{id:r,isCollapsed:!n,node:e.meta})})))}},t.prototype.drawTreeLeafNodeAlignDot=function(){var e=this.getParentTreeIconCfg();if(e){var t=this.getStyle().icon,n=t.size,r=t.margin,i=e.x+n+r.right,o=this.getTextPosition().y,a=this.getTextStyle(),s=a.fill,l=a.fontSize,c=n/5;this.treeLeafNodeAlignDot=fT(this,{x:i+n/2,y:o+(l-c)/2,r:c,fill:s,fillOpacity:.3})}},t.prototype.isBolderText=function(){var e=this.meta,t=e.isLeaf,n=e.isTotals,r=e.level;return!t&&0===r||n},t.prototype.drawTextShape=function(){e.prototype.drawTextShape.call(this),this.drawLinkField(this.meta)},t.prototype.drawRectBorder=function(){var e=this,t=this.getCellArea().x,n=this.getContentIndent(),r=this.spreadsheet.isHierarchyTreeType()?t:t+n;[XE.BOTTOM,XE.LEFT].forEach((function(t){var n=NT(t,sa(sa({},e.getCellArea()),{x:r}),e.getStyle().cell),i=n.position,o=n.style;gT(e,i,o)}))},t.prototype.drawResizeAreaInLeaf=function(){if(this.meta.isLeaf&&this.shouldDrawResizeAreaByType("rowCellVertical",this)){var e=this.getCellArea(),t=e.x,n=e.y,r=e.width,i=e.height,o=this.getResizeAreaStyle(),a=Dx(this.spreadsheet,fo),s=this.headerConfig,l=s.position,c=s.seriesNumberWidth,u=s.width,h=s.viewportHeight,p=s.scrollX,d=s.scrollY,f={x:t,y:n+i-o.size/2,width:r,height:o.size};if(Px(f,{x:0,y:0,width:u,height:h},{scrollX:p,scrollY:d})){var m=(null==l?void 0:l.x)+t-p+c,g=(null==l?void 0:l.y)+n-d,y=this.spreadsheet.isFrozenRowHeader()?u-c-(t-p):r;a.addShape("rect",{attrs:sa(sa({},kx({id:this.meta.id,theme:o,type:Qo.Vertical,effect:Jo.Cell,offsetX:m,offsetY:g,width:r,height:i,meta:this.meta})),{x:m,y:g+i-o.size/2,width:y})})}}},t.prototype.getContentIndent=function(){if(!this.spreadsheet.isHierarchyTreeType())return 0;for(var e=this.getStyle(),t=e.icon,n=e.cell,r=t.size+t.margin.right,i=this.meta.parent,o=0;i;)0!==i.height&&(o+=r),i=i.parent;return this.showTreeLeafNodeAlignDot()&&(o+=this.isTreeLevel()?0:n.padding.right+t.margin.right),o},t.prototype.getTextIndent=function(){var e=this.getStyle().icon,t=e.size,n=e.margin;return this.getContentIndent()+(this.showTreeIcon()||this.isTreeLevel()&&this.showTreeLeafNodeAlignDot()?t+n.right:0)},t.prototype.isTreeLevel=function(){return Hm(vu(this.meta,"parent.children"),(function(e){return!e.isLeaf}))},t.prototype.getIconPosition=function(){var e=this.textShape.cfg.attrs,t=e.x,n=e.y,r=e.textAlign,i=this.getStyle().icon.margin.left;return"left"===r?{x:t+this.actualTextWidth+i,y:n}:"right"===r?{x:t+i,y:n}:{x:t+this.actualTextWidth/2+i,y:n}},t.prototype.getMaxTextWidth=function(){return this.getContentArea().width-this.getTextIndent()-this.getActionIconsWidth()},t.prototype.getTextArea=function(){var e=this.getContentArea(),t=this.getTextIndent();return sa(sa({},e),{x:e.x+t,width:e.width-t})},t.prototype.getTextPosition=function(){var e=this.getTextArea(),t=this.headerConfig,n=t.scrollY,r=t.viewportHeight,i=this.getTextStyle().fontSize,o=hS(e.y,e.height,n,r,i);return{x:OT(e,this.getTextStyle(),0,this.getIconStyle(),this.getActionIconsCount()).text.x,y:o}},t.prototype.getIconYPosition=function(){var e=this.getTextPosition().y,t=this.getStyle().icon.size;return e+(this.getTextStyle().fontSize-t)/2},t}(eS),dS=function(e,t,n){var r,i,o=(null===(r=n.icon.margin)||void 0===r?void 0:r.left)||0,a=(null===(i=n.icon.margin)||void 0===i?void 0:i.right)||0,s=e.store.get("hiddenColumnsDetail",[]),l=!1,c=!1;s.forEach((function(e){var n,r,i,o;(null===(r=null===(n=null==e?void 0:e.displaySiblingNode)||void 0===n?void 0:n.prev)||void 0===r?void 0:r.field)===t&&(l=!0),(null===(o=null===(i=null==e?void 0:e.displaySiblingNode)||void 0===i?void 0:i.next)||void 0===o?void 0:o.field)===t&&(c=!0)}));var u=vu(n,"icon.size");return{left:c?u+a:0,right:l?u+o:0}},fS=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return aa(t,e),t.prototype.handleRestOptions=function(){for(var e=[],t=0;t0){for(o+=a,t=1;tn)throw Error(FS+e)}function eC(e,t,n,r){var i,o,a,s;for(o=e[0];o>=10;o/=10)--t;return--t<0?(t+=KS,i=0):(i=Math.ceil((t+1)/KS),t%=KS),o=GS(10,KS-t),s=e[i]%o|0,null==r?t<3?(0==t?s=s/100|0:1==t&&(s=s/10|0),a=n<4&&99999==s||n>3&&49999==s||5e4==s||0==s):a=(n<4&&s+1==o||n>3&&s+1==o/2)&&(e[i+1]/o/100|0)==GS(10,t-2)-1||(s==o/2||0==s)&&0==(e[i+1]/o/100|0):t<4?(0==t?s=s/1e3|0:1==t?s=s/100|0:2==t&&(s=s/10|0),a=(r||n<4)&&9999==s||!r&&n>3&&4999==s):a=((r||n<4)&&s+1==o||!r&&n>3&&s+1==o/2)&&(e[i+1]/o/1e3|0)==GS(10,t-3)-1,a}function tC(e,t,n){for(var r,i,o=[0],a=0,s=e.length;an-1&&(void 0===o[r+1]&&(o[r+1]=0),o[r+1]+=o[r]/n|0,o[r]%=n)}return o.reverse()}ZS.absoluteValue=ZS.abs=function(){var e=new this.constructor(this);return e.s<0&&(e.s=1),rC(e)},ZS.ceil=function(){return rC(new this.constructor(this),this.e+1,2)},ZS.clampedTo=ZS.clamp=function(e,t){var n=this,r=n.constructor;if(e=new r(e),t=new r(t),!e.s||!t.s)return new r(NaN);if(e.gt(t))throw Error(FS+t);return n.cmp(e)<0?e:n.cmp(t)>0?t:new r(n)},ZS.comparedTo=ZS.cmp=function(e){var t,n,r,i,o=this,a=o.d,s=(e=new o.constructor(e)).d,l=o.s,c=e.s;if(!a||!s)return l&&c?l!==c?l:a===s?0:!a^l<0?1:-1:NaN;if(!a[0]||!s[0])return a[0]?l:s[0]?-c:0;if(l!==c)return l;if(o.e!==e.e)return o.e>e.e^l<0?1:-1;for(t=0,n=(r=a.length)<(i=s.length)?r:i;ts[t]^l<0?1:-1;return r===i?0:r>i^l<0?1:-1},ZS.cosine=ZS.cos=function(){var e,t,n=this,r=n.constructor;return n.d?n.d[0]?(e=r.precision,t=r.rounding,r.precision=e+Math.max(n.e,n.sd())+KS,r.rounding=1,n=function(e,t){var n,r,i;if(t.isZero())return t;(r=t.d.length)<32?i=(1/_C(4,n=Math.ceil(r/3))).toString():(n=16,i="2.3283064365386962890625e-10"),e.precision+=n,t=vC(e,1,t.times(i),new e(1));for(var o=n;o--;){var a=t.times(t);t=a.times(a).minus(a).times(8).plus(1)}return e.precision-=n,t}(r,bC(r,n)),r.precision=e,r.rounding=t,rC(2==xS||3==xS?n.neg():n,e,t,!0)):new r(1):new r(NaN)},ZS.cubeRoot=ZS.cbrt=function(){var e,t,n,r,i,o,a,s,l,c,u=this,h=u.constructor;if(!u.isFinite()||u.isZero())return new h(u);for(PS=!1,(o=u.s*GS(u.s*u,1/3))&&Math.abs(o)!=1/0?r=new h(o.toString()):(n=QS(u.d),(o=((e=u.e)-n.length+1)%3)&&(n+=1==o||-2==o?"0":"00"),o=GS(n,1/3),e=jS((e+1)/3)-(e%3==(e<0?-1:2)),(r=new h(n=o==1/0?"5e"+e:(n=o.toExponential()).slice(0,n.indexOf("e")+1)+e)).s=u.s),a=(e=h.precision)+3;;)if(c=(l=(s=r).times(s).times(s)).plus(u),r=nC(c.plus(u).times(s),c.plus(l),a+2,1),QS(s.d).slice(0,a)===(n=QS(r.d)).slice(0,a)){if("9999"!=(n=n.slice(a-3,a+1))&&(i||"4999"!=n)){+n&&(+n.slice(1)||"5"!=n.charAt(0))||(rC(r,e+1,1),t=!r.times(r).times(r).eq(u));break}if(!i&&(rC(s,e+1,0),s.times(s).times(s).eq(u))){r=s;break}a+=4,i=1}return PS=!0,rC(r,e,h.rounding,t)},ZS.decimalPlaces=ZS.dp=function(){var e,t=this.d,n=NaN;if(t){if(n=((e=t.length-1)-jS(this.e/KS))*KS,e=t[e])for(;e%10==0;e/=10)n--;n<0&&(n=0)}return n},ZS.dividedBy=ZS.div=function(e){return nC(this,new this.constructor(e))},ZS.dividedToIntegerBy=ZS.divToInt=function(e){var t=this.constructor;return rC(nC(this,new t(e),0,1,1),t.precision,t.rounding)},ZS.equals=ZS.eq=function(e){return 0===this.cmp(e)},ZS.floor=function(){return rC(new this.constructor(this),this.e+1,3)},ZS.greaterThan=ZS.gt=function(e){return this.cmp(e)>0},ZS.greaterThanOrEqualTo=ZS.gte=function(e){var t=this.cmp(e);return 1==t||0===t},ZS.hyperbolicCosine=ZS.cosh=function(){var e,t,n,r,i,o=this,a=o.constructor,s=new a(1);if(!o.isFinite())return new a(o.s?1/0:NaN);if(o.isZero())return s;n=a.precision,r=a.rounding,a.precision=n+Math.max(o.e,o.sd())+4,a.rounding=1,(i=o.d.length)<32?t=(1/_C(4,e=Math.ceil(i/3))).toString():(e=16,t="2.3283064365386962890625e-10"),o=vC(a,1,o.times(t),new a(1),!0);for(var l,c=e,u=new a(8);c--;)l=o.times(o),o=s.minus(l.times(u.minus(l.times(u))));return rC(o,a.precision=n,a.rounding=r,!0)},ZS.hyperbolicSine=ZS.sinh=function(){var e,t,n,r,i=this,o=i.constructor;if(!i.isFinite()||i.isZero())return new o(i);if(t=o.precision,n=o.rounding,o.precision=t+Math.max(i.e,i.sd())+4,o.rounding=1,(r=i.d.length)<3)i=vC(o,2,i,i,!0);else{e=(e=1.4*Math.sqrt(r))>16?16:0|e,i=vC(o,2,i=i.times(1/_C(5,e)),i,!0);for(var a,s=new o(5),l=new o(16),c=new o(20);e--;)a=i.times(i),i=i.times(s.plus(a.times(l.times(a).plus(c))))}return o.precision=t,o.rounding=n,rC(i,t,n,!0)},ZS.hyperbolicTangent=ZS.tanh=function(){var e,t,n=this,r=n.constructor;return n.isFinite()?n.isZero()?new r(n):(e=r.precision,t=r.rounding,r.precision=e+7,r.rounding=1,nC(n.sinh(),n.cosh(),r.precision=e,r.rounding=t)):new r(n.s)},ZS.inverseCosine=ZS.acos=function(){var e,t=this,n=t.constructor,r=t.abs().cmp(1),i=n.precision,o=n.rounding;return-1!==r?0===r?t.isNeg()?sC(n,i,o):new n(0):new n(NaN):t.isZero()?sC(n,i+4,o).times(.5):(n.precision=i+6,n.rounding=1,t=t.asin(),e=sC(n,i+4,o).times(.5),n.precision=i,n.rounding=o,e.minus(t))},ZS.inverseHyperbolicCosine=ZS.acosh=function(){var e,t,n=this,r=n.constructor;return n.lte(1)?new r(n.eq(1)?0:NaN):n.isFinite()?(e=r.precision,t=r.rounding,r.precision=e+Math.max(Math.abs(n.e),n.sd())+4,r.rounding=1,PS=!1,n=n.times(n).minus(1).sqrt().plus(n),PS=!0,r.precision=e,r.rounding=t,n.ln()):new r(n)},ZS.inverseHyperbolicSine=ZS.asinh=function(){var e,t,n=this,r=n.constructor;return!n.isFinite()||n.isZero()?new r(n):(e=r.precision,t=r.rounding,r.precision=e+2*Math.max(Math.abs(n.e),n.sd())+6,r.rounding=1,PS=!1,n=n.times(n).plus(1).sqrt().plus(n),PS=!0,r.precision=e,r.rounding=t,n.ln())},ZS.inverseHyperbolicTangent=ZS.atanh=function(){var e,t,n,r,i=this,o=i.constructor;return i.isFinite()?i.e>=0?new o(i.abs().eq(1)?i.s/0:i.isZero()?i:NaN):(e=o.precision,t=o.rounding,r=i.sd(),Math.max(r,e)<2*-i.e-1?rC(new o(i),e,t,!0):(o.precision=n=r-i.e,i=nC(i.plus(1),new o(1).minus(i),n+e,1),o.precision=e+4,o.rounding=1,i=i.ln(),o.precision=e,o.rounding=t,i.times(.5))):new o(NaN)},ZS.inverseSine=ZS.asin=function(){var e,t,n,r,i=this,o=i.constructor;return i.isZero()?new o(i):(t=i.abs().cmp(1),n=o.precision,r=o.rounding,-1!==t?0===t?((e=sC(o,n+4,r).times(.5)).s=i.s,e):new o(NaN):(o.precision=n+6,o.rounding=1,i=i.div(new o(1).minus(i.times(i)).sqrt().plus(1)).atan(),o.precision=n,o.rounding=r,i.times(2)))},ZS.inverseTangent=ZS.atan=function(){var e,t,n,r,i,o,a,s,l,c=this,u=c.constructor,h=u.precision,p=u.rounding;if(c.isFinite()){if(c.isZero())return new u(c);if(c.abs().eq(1)&&h+4<=XS)return(a=sC(u,h+4,p).times(.25)).s=c.s,a}else{if(!c.s)return new u(NaN);if(h+4<=XS)return(a=sC(u,h+4,p).times(.5)).s=c.s,a}for(u.precision=s=h+10,u.rounding=1,e=n=Math.min(28,s/KS+2|0);e;--e)c=c.div(c.times(c).plus(1).sqrt().plus(1));for(PS=!1,t=Math.ceil(s/KS),r=1,l=c.times(c),a=new u(c),i=c;-1!==e;)if(i=i.times(l),o=a.minus(i.div(r+=2)),i=i.times(l),void 0!==(a=o.plus(i.div(r+=2))).d[t])for(e=t;a.d[e]===o.d[e]&&e--;);return n&&(a=a.times(2<this.d.length-2},ZS.isNaN=function(){return!this.s},ZS.isNegative=ZS.isNeg=function(){return this.s<0},ZS.isPositive=ZS.isPos=function(){return this.s>0},ZS.isZero=function(){return!!this.d&&0===this.d[0]},ZS.lessThan=ZS.lt=function(e){return this.cmp(e)<0},ZS.lessThanOrEqualTo=ZS.lte=function(e){return this.cmp(e)<1},ZS.logarithm=ZS.log=function(e){var t,n,r,i,o,a,s,l,c=this,u=c.constructor,h=u.precision,p=u.rounding;if(null==e)e=new u(10),t=!0;else{if(n=(e=new u(e)).d,e.s<0||!n||!n[0]||e.eq(1))return new u(NaN);t=e.eq(10)}if(n=c.d,c.s<0||!n||!n[0]||c.eq(1))return new u(n&&!n[0]?-1/0:1!=c.s?NaN:n?0:1/0);if(t)if(n.length>1)o=!0;else{for(i=n[0];i%10==0;)i/=10;o=1!==i}if(PS=!1,a=fC(c,s=h+5),r=t?aC(u,s+10):fC(e,s),eC((l=nC(a,r,s,1)).d,i=h,p))do{if(a=fC(c,s+=10),r=t?aC(u,s+10):fC(e,s),l=nC(a,r,s,1),!o){+QS(l.d).slice(i+1,i+15)+1==1e14&&(l=rC(l,h+1,0));break}}while(eC(l.d,i+=10,p));return PS=!0,rC(l,h,p)},ZS.minus=ZS.sub=function(e){var t,n,r,i,o,a,s,l,c,u,h,p,d=this,f=d.constructor;if(e=new f(e),!d.d||!e.d)return d.s&&e.s?d.d?e.s=-e.s:e=new f(e.d||d.s!==e.s?d:NaN):e=new f(NaN),e;if(d.s!=e.s)return e.s=-e.s,d.plus(e);if(c=d.d,p=e.d,s=f.precision,l=f.rounding,!c[0]||!p[0]){if(p[0])e.s=-e.s;else{if(!c[0])return new f(3===l?-0:0);e=new f(d)}return PS?rC(e,s,l):e}if(n=jS(e.e/KS),u=jS(d.e/KS),c=c.slice(),o=u-n){for((h=o<0)?(t=c,o=-o,a=p.length):(t=p,n=u,a=c.length),o>(r=Math.max(Math.ceil(s/KS),a)+2)&&(o=r,t.length=1),t.reverse(),r=o;r--;)t.push(0);t.reverse()}else{for((h=(r=c.length)<(a=p.length))&&(a=r),r=0;r0;--r)c[a++]=0;for(r=p.length;r>o;){if(c[--r](a=(o=Math.ceil(s/KS))>a?o+1:a+1)&&(i=a,n.length=1),n.reverse();i--;)n.push(0);n.reverse()}for((a=c.length)-(i=u.length)<0&&(i=a,n=u,u=c,c=n),t=0;i;)t=(c[--i]=c[i]+u[i]+t)/VS|0,c[i]%=VS;for(t&&(c.unshift(t),++r),a=c.length;0==c[--a];)c.pop();return e.d=c,e.e=oC(c,r),PS?rC(e,s,l):e},ZS.precision=ZS.sd=function(e){var t,n=this;if(void 0!==e&&e!==!!e&&1!==e&&0!==e)throw Error(FS+e);return n.d?(t=lC(n.d),e&&n.e+1>t&&(t=n.e+1)):t=NaN,t},ZS.round=function(){var e=this,t=e.constructor;return rC(new t(e),e.e+1,t.rounding)},ZS.sine=ZS.sin=function(){var e,t,n=this,r=n.constructor;return n.isFinite()?n.isZero()?new r(n):(e=r.precision,t=r.rounding,r.precision=e+Math.max(n.e,n.sd())+KS,r.rounding=1,n=function(e,t){var n,r=t.d.length;if(r<3)return t.isZero()?t:vC(e,2,t,t);n=(n=1.4*Math.sqrt(r))>16?16:0|n,t=vC(e,2,t=t.times(1/_C(5,n)),t);for(var i,o=new e(5),a=new e(16),s=new e(20);n--;)i=t.times(t),t=t.times(o.plus(i.times(a.times(i).minus(s))));return t}(r,bC(r,n)),r.precision=e,r.rounding=t,rC(xS>2?n.neg():n,e,t,!0)):new r(NaN)},ZS.squareRoot=ZS.sqrt=function(){var e,t,n,r,i,o,a=this,s=a.d,l=a.e,c=a.s,u=a.constructor;if(1!==c||!s||!s[0])return new u(!c||c<0&&(!s||s[0])?NaN:s?a:1/0);for(PS=!1,0==(c=Math.sqrt(+a))||c==1/0?(((t=QS(s)).length+l)%2==0&&(t+="0"),c=Math.sqrt(t),l=jS((l+1)/2)-(l<0||l%2),r=new u(t=c==1/0?"5e"+l:(t=c.toExponential()).slice(0,t.indexOf("e")+1)+l)):r=new u(c.toString()),n=(l=u.precision)+3;;)if(r=(o=r).plus(nC(a,o,n+2,1)).times(.5),QS(o.d).slice(0,n)===(t=QS(r.d)).slice(0,n)){if("9999"!=(t=t.slice(n-3,n+1))&&(i||"4999"!=t)){+t&&(+t.slice(1)||"5"!=t.charAt(0))||(rC(r,l+1,1),e=!r.times(r).eq(a));break}if(!i&&(rC(o,l+1,0),o.times(o).eq(a))){r=o;break}n+=4,i=1}return PS=!0,rC(r,l,u.rounding,e)},ZS.tangent=ZS.tan=function(){var e,t,n=this,r=n.constructor;return n.isFinite()?n.isZero()?new r(n):(e=r.precision,t=r.rounding,r.precision=e+10,r.rounding=1,(n=n.sin()).s=1,n=nC(n,new r(1).minus(n.times(n)).sqrt(),e+10,0),r.precision=e,r.rounding=t,rC(2==xS||4==xS?n.neg():n,e,t,!0)):new r(NaN)},ZS.times=ZS.mul=function(e){var t,n,r,i,o,a,s,l,c,u=this,h=u.constructor,p=u.d,d=(e=new h(e)).d;if(e.s*=u.s,!(p&&p[0]&&d&&d[0]))return new h(!e.s||p&&!p[0]&&!d||d&&!d[0]&&!p?NaN:p&&d?0*e.s:e.s/0);for(n=jS(u.e/KS)+jS(e.e/KS),(l=p.length)<(c=d.length)&&(o=p,p=d,d=o,a=l,l=c,c=a),o=[],r=a=l+c;r--;)o.push(0);for(r=c;--r>=0;){for(t=0,i=l+r;i>r;)s=o[i]+d[r]*p[i-r-1]+t,o[i--]=s%VS|0,t=s/VS|0;o[i]=(o[i]+t)%VS|0}for(;!o[--a];)o.pop();return t?++n:o.shift(),e.d=o,e.e=oC(o,n),PS?rC(e,h.precision,h.rounding):e},ZS.toBinary=function(e,t){return EC(this,2,e,t)},ZS.toDecimalPlaces=ZS.toDP=function(e,t){var n=this,r=n.constructor;return n=new r(n),void 0===e?n:(JS(e,0,OS),void 0===t?t=r.rounding:JS(t,0,8),rC(n,e+n.e+1,t))},ZS.toExponential=function(e,t){var n,r=this,i=r.constructor;return void 0===e?n=iC(r,!0):(JS(e,0,OS),void 0===t?t=i.rounding:JS(t,0,8),n=iC(r=rC(new i(r),e+1,t),!0,e+1)),r.isNeg()&&!r.isZero()?"-"+n:n},ZS.toFixed=function(e,t){var n,r,i=this,o=i.constructor;return void 0===e?n=iC(i):(JS(e,0,OS),void 0===t?t=o.rounding:JS(t,0,8),n=iC(r=rC(new o(i),e+i.e+1,t),!1,e+r.e+1)),i.isNeg()&&!i.isZero()?"-"+n:n},ZS.toFraction=function(e){var t,n,r,i,o,a,s,l,c,u,h,p,d=this,f=d.d,m=d.constructor;if(!f)return new m(d);if(c=n=new m(1),r=l=new m(0),a=(o=(t=new m(r)).e=lC(f)-d.e-1)%KS,t.d[0]=GS(10,a<0?KS+a:a),null==e)e=o>0?t:c;else{if(!(s=new m(e)).isInt()||s.lt(c))throw Error(FS+s);e=s.gt(t)?o>0?t:c:s}for(PS=!1,s=new m(QS(f)),u=m.precision,m.precision=o=f.length*KS*2;h=nC(s,t,0,1,1),1!=(i=n.plus(h.times(r))).cmp(e);)n=r,r=i,i=c,c=l.plus(h.times(i)),l=i,i=t,t=s.minus(h.times(i)),s=i;return i=nC(e.minus(n),r,0,1,1),l=l.plus(i.times(c)),n=n.plus(i.times(r)),l.s=c.s=d.s,p=nC(c,r,o,1).minus(d).abs().cmp(nC(l,n,o,1).minus(d).abs())<1?[c,r]:[l,n],m.precision=u,PS=!0,p},ZS.toHexadecimal=ZS.toHex=function(e,t){return EC(this,16,e,t)},ZS.toNearest=function(e,t){var n=this,r=n.constructor;if(n=new r(n),null==e){if(!n.d)return n;e=new r(1),t=r.rounding}else{if(e=new r(e),void 0===t?t=r.rounding:JS(t,0,8),!n.d)return e.s?n:e;if(!e.d)return e.s&&(e.s=n.s),e}return e.d[0]?(PS=!1,n=nC(n,e,0,t,1).times(e),PS=!0,rC(n)):(e.s=n.s,n=e),n},ZS.toNumber=function(){return+this},ZS.toOctal=function(e,t){return EC(this,8,e,t)},ZS.toPower=ZS.pow=function(e){var t,n,r,i,o,a,s=this,l=s.constructor,c=+(e=new l(e));if(!(s.d&&e.d&&s.d[0]&&e.d[0]))return new l(GS(+s,c));if((s=new l(s)).eq(1))return s;if(r=l.precision,o=l.rounding,e.eq(1))return rC(s,r,o);if((t=jS(e.e/KS))>=e.d.length-1&&(n=c<0?-c:c)<=9007199254740991)return i=uC(l,s,n,r),e.s<0?new l(1).div(i):rC(i,r,o);if((a=s.s)<0){if(tl.maxE+1||t0?a/0:0):(PS=!1,l.rounding=s.s=1,n=Math.min(12,(t+"").length),(i=dC(e.times(fC(s,r+n)),r)).d&&eC((i=rC(i,r+5,1)).d,r,o)&&(t=r+10,+QS((i=rC(dC(e.times(fC(s,t+n)),t),t+5,1)).d).slice(r+1,r+15)+1==1e14&&(i=rC(i,r+1,0))),i.s=a,PS=!0,l.rounding=o,rC(i,r,o))},ZS.toPrecision=function(e,t){var n,r=this,i=r.constructor;return void 0===e?n=iC(r,r.e<=i.toExpNeg||r.e>=i.toExpPos):(JS(e,1,OS),void 0===t?t=i.rounding:JS(t,0,8),n=iC(r=rC(new i(r),e,t),e<=r.e||r.e<=i.toExpNeg,e)),r.isNeg()&&!r.isZero()?"-"+n:n},ZS.toSignificantDigits=ZS.toSD=function(e,t){var n=this.constructor;return void 0===e?(e=n.precision,t=n.rounding):(JS(e,1,OS),void 0===t?t=n.rounding:JS(t,0,8)),rC(new n(this),e,t)},ZS.toString=function(){var e=this,t=e.constructor,n=iC(e,e.e<=t.toExpNeg||e.e>=t.toExpPos);return e.isNeg()&&!e.isZero()?"-"+n:n},ZS.truncated=ZS.trunc=function(){return rC(new this.constructor(this),this.e+1,1)},ZS.valueOf=ZS.toJSON=function(){var e=this,t=e.constructor,n=iC(e,e.e<=t.toExpNeg||e.e>=t.toExpPos);return e.isNeg()?"-"+n:n};var nC=function(){function e(e,t,n){var r,i=0,o=e.length;for(e=e.slice();o--;)r=e[o]*t+i,e[o]=r%n|0,i=r/n|0;return i&&e.unshift(i),e}function t(e,t,n,r){var i,o;if(n!=r)o=n>r?1:-1;else for(i=o=0;it[i]?1:-1;break}return o}function n(e,t,n,r){for(var i=0;n--;)e[n]-=i,i=e[n]1;)e.shift()}return function(r,i,o,a,s,l){var c,u,h,p,d,f,m,g,y,v,_,b,E,T,x,S,C,A,R,w,L=r.constructor,O=r.s==i.s?1:-1,N=r.d,I=i.d;if(!(N&&N[0]&&I&&I[0]))return new L(r.s&&i.s&&(N?!I||N[0]!=I[0]:I)?N&&0==N[0]||!I?0*O:O/0:NaN);for(l?(d=1,u=r.e-i.e):(l=VS,d=KS,u=jS(r.e/d)-jS(i.e/d)),R=I.length,C=N.length,v=(y=new L(O)).d=[],h=0;I[h]==(N[h]||0);h++);if(I[h]>(N[h]||0)&&u--,null==o?(T=o=L.precision,a=L.rounding):T=s?o+(r.e-i.e)+1:o,T<0)v.push(1),f=!0;else{if(T=T/d+2|0,h=0,1==R){for(p=0,I=I[0],T++;(h1&&(I=e(I,p,l),N=e(N,p,l),R=I.length,C=N.length),S=R,b=(_=N.slice(0,R)).length;b=l/2&&++A;do{p=0,(c=t(I,_,R,b))<0?(E=_[0],R!=b&&(E=E*l+(_[1]||0)),(p=E/A|0)>1?(p>=l&&(p=l-1),1==(c=t(m=e(I,p,l),_,g=m.length,b=_.length))&&(p--,n(m,R=10;p/=10)h++;y.e=h+u*d-1,rC(y,s?o+y.e+1:o,a,f)}return y}}();function rC(e,t,n,r){var i,o,a,s,l,c,u,h,p,d=e.constructor;e:if(null!=t){if(!(h=e.d))return e;for(i=1,s=h[0];s>=10;s/=10)i++;if((o=t-i)<0)o+=KS,a=t,l=(u=h[p=0])/GS(10,i-a-1)%10|0;else if((p=Math.ceil((o+1)/KS))>=(s=h.length)){if(!r)break e;for(;s++<=p;)h.push(0);u=l=0,i=1,a=(o%=KS)-KS+1}else{for(u=s=h[p],i=1;s>=10;s/=10)i++;l=(a=(o%=KS)-KS+i)<0?0:u/GS(10,i-a-1)%10|0}if(r=r||t<0||void 0!==h[p+1]||(a<0?u:u%GS(10,i-a-1)),c=n<4?(l||r)&&(0==n||n==(e.s<0?3:2)):l>5||5==l&&(4==n||r||6==n&&(o>0?a>0?u/GS(10,i-a):0:h[p-1])%10&1||n==(e.s<0?8:7)),t<1||!h[0])return h.length=0,c?(t-=e.e+1,h[0]=GS(10,(KS-t%KS)%KS),e.e=-t||0):h[0]=e.e=0,e;if(0==o?(h.length=p,s=1,p--):(h.length=p+1,s=GS(10,KS-o),h[p]=a>0?(u/GS(10,i-a)%GS(10,a)|0)*s:0),c)for(;;){if(0==p){for(o=1,a=h[0];a>=10;a/=10)o++;for(a=h[0]+=s,s=1;a>=10;a/=10)s++;o!=s&&(e.e++,h[0]==VS&&(h[0]=1));break}if(h[p]+=s,h[p]!=VS)break;h[p--]=0,s=1}for(o=h.length;0===h[--o];)h.pop()}return PS&&(e.e>d.maxE?(e.d=null,e.e=NaN):e.e0?o=o.charAt(0)+"."+o.slice(1)+cC(r):a>1&&(o=o.charAt(0)+"."+o.slice(1)),o=o+(e.e<0?"e":"e+")+e.e):i<0?(o="0."+cC(-i-1)+o,n&&(r=n-a)>0&&(o+=cC(r))):i>=a?(o+=cC(i+1-a),n&&(r=n-i-1)>0&&(o=o+"."+cC(r))):((r=i+1)0&&(i+1===a&&(o+="."),o+=cC(r))),o}function oC(e,t){var n=e[0];for(t*=KS;n>=10;n/=10)t++;return t}function aC(e,t,n){if(t>qS)throw PS=!0,n&&(e.precision=n),Error(HS);return rC(new e(IS),t,1,!0)}function sC(e,t,n){if(t>XS)throw Error(HS);return rC(new e(kS),t,n,!0)}function lC(e){var t=e.length-1,n=t*KS+1;if(t=e[t]){for(;t%10==0;t/=10)n--;for(t=e[0];t>=10;t/=10)n++}return n}function cC(e){for(var t="";e--;)t+="0";return t}function uC(e,t,n,r){var i,o=new e(1),a=Math.ceil(r/KS+4);for(PS=!1;;){if(n%2&&TC((o=o.times(t)).d,a)&&(i=!0),0===(n=jS(n/2))){n=o.d.length-1,i&&0===o.d[n]&&++o.d[n];break}TC((t=t.times(t)).d,a)}return PS=!0,o}function hC(e){return 1&e.d[e.d.length-1]}function pC(e,t,n){for(var r,i=new e(t[0]),o=0;++o17)return new p(e.d?e.d[0]?e.s<0?0:1/0:1:e.s?e.s<0?0:e:NaN);for(null==t?(PS=!1,l=f):l=t,s=new p(.03125);e.e>-2;)e=e.times(s),h+=5;for(l+=r=Math.log(GS(2,h))/Math.LN10*2+5|0,n=o=a=new p(1),p.precision=l;;){if(o=rC(o.times(e),l,1),n=n.times(++u),QS((s=a.plus(nC(o,n,l,1))).d).slice(0,l)===QS(a.d).slice(0,l)){for(i=h;i--;)a=rC(a.times(a),l,1);if(null!=t)return p.precision=f,a;if(!(c<3&&eC(a.d,l-r,d,c)))return rC(a,p.precision=f,d,PS=!0);p.precision=l+=10,n=o=s=new p(1),u=0,c++}a=s}}function fC(e,t){var n,r,i,o,a,s,l,c,u,h,p,d=1,f=e,m=f.d,g=f.constructor,y=g.rounding,v=g.precision;if(f.s<0||!m||!m[0]||!f.e&&1==m[0]&&1==m.length)return new g(m&&!m[0]?-1/0:1!=f.s?NaN:m?0:f);if(null==t?(PS=!1,u=v):u=t,g.precision=u+=10,r=(n=QS(m)).charAt(0),!(Math.abs(o=f.e)<15e14))return c=aC(g,u+2,v).times(o+""),f=fC(new g(r+"."+n.slice(1)),u-10).plus(c),g.precision=v,null==t?rC(f,v,y,PS=!0):f;for(;r<7&&1!=r||1==r&&n.charAt(1)>3;)r=(n=QS((f=f.times(e)).d)).charAt(0),d++;for(o=f.e,r>1?(f=new g("0."+n),o++):f=new g(r+"."+n.slice(1)),h=f,l=a=f=nC(f.minus(1),f.plus(1),u,1),p=rC(f.times(f),u,1),i=3;;){if(a=rC(a.times(p),u,1),QS((c=l.plus(nC(a,new g(i),u,1))).d).slice(0,u)===QS(l.d).slice(0,u)){if(l=l.times(2),0!==o&&(l=l.plus(aC(g,u+2,v).times(o+""))),l=nC(l,new g(d),u,1),null!=t)return g.precision=v,l;if(!eC(l.d,u-10,y,s))return rC(l,g.precision=v,y,PS=!0);g.precision=u+=10,c=a=f=nC(h.minus(1),h.plus(1),u,1),p=rC(f.times(f),u,1),i=s=1}l=c,i+=2}}function mC(e){return String(e.s*e.s/0)}function gC(e,t){var n,r,i;for((n=t.indexOf("."))>-1&&(t=t.replace(".","")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),r=0;48===t.charCodeAt(r);r++);for(i=t.length;48===t.charCodeAt(i-1);--i);if(t=t.slice(r,i)){if(i-=r,e.e=n=n-r-1,e.d=[],r=(n+1)%KS,n<0&&(r+=KS),re.constructor.maxE?(e.d=null,e.e=NaN):e.e-1){if(t=t.replace(/(\d)_(?=\d)/g,"$1"),WS.test(t))return gC(e,t)}else if("Infinity"===t||"NaN"===t)return+t||(e.s=NaN),e.e=NaN,e.d=null,e;if(zS.test(t))n=16,t=t.toLowerCase();else if(YS.test(t))n=2;else{if(!$S.test(t))throw Error(FS+t);n=8}for((o=t.search(/p/i))>0?(l=+t.slice(o+1),t=t.substring(2,o)):t=t.slice(2),a=(o=t.indexOf("."))>=0,r=e.constructor,a&&(o=(s=(t=t.replace(".","")).length)-o,i=uC(r,new r(n),o,2*o)),o=u=(c=tC(t,n,VS)).length-1;0===c[o];--o)c.pop();return o<0?new r(0*e.s):(e.e=oC(c,u),e.d=c,PS=!1,a&&(e=nC(e,i,4*s)),l&&(e=e.times(Math.abs(l)<54?GS(2,l):uA.pow(2,l))),PS=!0,e)}function vC(e,t,n,r,i){var o,a,s,l,c=e.precision,u=Math.ceil(c/KS);for(PS=!1,l=n.times(n),s=new e(r);;){if(a=nC(s.times(l),new e(t++*t++),c,1),s=i?r.plus(a):r.minus(a),r=nC(a.times(l),new e(t++*t++),c,1),void 0!==(a=s.plus(r)).d[u]){for(o=u;a.d[o]===s.d[o]&&o--;);if(-1==o)break}o=s,s=r,r=a,a=o}return PS=!0,a.d.length=u+1,a}function _C(e,t){for(var n=e;--t;)n*=e;return n}function bC(e,t){var n,r=t.s<0,i=sC(e,e.precision,1),o=i.times(.5);if((t=t.abs()).lte(o))return xS=r?4:1,t;if((n=t.divToInt(i)).isZero())xS=r?3:2;else{if((t=t.minus(n.times(i))).lte(o))return xS=hC(n)?r?2:3:r?4:1,t;xS=hC(n)?r?1:4:r?3:2}return t.minus(i).abs()}function EC(e,t,n,r){var i,o,a,s,l,c,u,h,p,d=e.constructor,f=void 0!==n;if(f?(JS(n,1,OS),void 0===r?r=d.rounding:JS(r,0,8)):(n=d.precision,r=d.rounding),e.isFinite()){for(f?(i=2,16==t?n=4*n-3:8==t&&(n=3*n-2)):i=t,(a=(u=iC(e)).indexOf("."))>=0&&(u=u.replace(".",""),(p=new d(1)).e=u.length-a,p.d=tC(iC(p),10,i),p.e=p.d.length),o=l=(h=tC(u,10,i)).length;0==h[--l];)h.pop();if(h[0]){if(a<0?o--:((e=new d(e)).d=h,e.e=o,h=(e=nC(e,p,n,r,0,i)).d,o=e.e,c=TS),a=h[n],s=i/2,c=c||void 0!==h[n+1],c=r<4?(void 0!==a||c)&&(0===r||r===(e.s<0?3:2)):a>s||a===s&&(4===r||c||6===r&&1&h[n-1]||r===(e.s<0?8:7)),h.length=n,c)for(;++h[--n]>i-1;)h[n]=0,n||(++o,h.unshift(1));for(l=h.length;!h[l-1];--l);for(a=0,u="";a1)if(16==t||8==t){for(a=16==t?4:3,--l;l%a;l++)u+="0";for(l=(h=tC(u,i,t)).length;!h[l-1];--l);for(a=1,u="1.";al)for(o-=l;o--;)u+="0";else ot)return e.length=t,!0}function xC(e){return new this(e).abs()}function SC(e){return new this(e).acos()}function CC(e){return new this(e).acosh()}function AC(e,t){return new this(e).plus(t)}function RC(e){return new this(e).asin()}function wC(e){return new this(e).asinh()}function LC(e){return new this(e).atan()}function OC(e){return new this(e).atanh()}function NC(e,t){e=new this(e),t=new this(t);var n,r=this.precision,i=this.rounding,o=r+4;return e.s&&t.s?e.d||t.d?!t.d||e.isZero()?(n=t.s<0?sC(this,r,i):new this(0)).s=e.s:!e.d||t.isZero()?(n=sC(this,o,1).times(.5)).s=e.s:t.s<0?(this.precision=o,this.rounding=1,n=this.atan(nC(e,t,o,1)),t=sC(this,o,1),this.precision=r,this.rounding=i,n=e.s<0?n.minus(t):n.plus(t)):n=this.atan(nC(e,t,o,1)):(n=sC(this,o,1).times(t.s>0?.25:.75)).s=e.s:n=new this(NaN),n}function IC(e){return new this(e).cbrt()}function kC(e){return rC(e=new this(e),e.e+1,2)}function DC(e,t,n){return new this(e).clamp(t,n)}function PC(e){if(!e||"object"!=typeof e)throw Error(MS+"Object expected");var t,n,r,i=!0===e.defaults,o=["precision",1,OS,"rounding",0,8,"toExpNeg",-LS,0,"toExpPos",0,LS,"maxE",0,LS,"minE",-LS,0,"modulo",0,9];for(t=0;t=o[t+1]&&r<=o[t+2]))throw Error(FS+n+": "+r);this[n]=r}if(n="crypto",i&&(this[n]=DS[n]),void 0!==(r=e[n])){if(!0!==r&&!1!==r&&0!==r&&1!==r)throw Error(FS+n+": "+r);if(r){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw Error(BS);this[n]=!0}else this[n]=!1}return this}function MC(e){return new this(e).cos()}function FC(e){return new this(e).cosh()}function HC(e,t){return new this(e).div(t)}function BC(e){return new this(e).exp()}function UC(e){return rC(e=new this(e),e.e+1,3)}function jC(){var e,t,n=new this(0);for(PS=!1,e=0;e=429e7?t[o]=crypto.getRandomValues(new Uint32Array(1))[0]:s[o++]=i%1e7;else{if(!crypto.randomBytes)throw Error(BS);for(t=crypto.randomBytes(r*=4);o=214e7?crypto.randomBytes(4).copy(t,o):(s.push(i%1e7),o+=4);o=r/4}else for(;o=10;i/=10)r++;ro.maxE?(i.e=NaN,i.d=null):e.e=10;n/=10)t++;return void(PS?t>o.maxE?(i.e=NaN,i.d=null):t1},e}(),NA=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleDimensionValuesSort=function(){dm(t.sortParams,(function(e){var n=e.sortFieldId,r=e.sortByMeasure;if(n){var i=ha([],ua(t.sortedDimensionValues[n]||[]),!1),o=function(e){var t,n=e.dataSet,r=e.sortParam,i=e.originValues;return t=e.isSortByMeasure?function(e){var t=e.dataSet,n=e.sortParam,r=e.originValues,i=t.fields,o=n.sortByMeasure,a=n.query,s=n.sortFieldId,l=t.getMultiData(a),c=YE(i.columns);if(o!==io){var u=Td(i.rows,c);return l.filter((function(e){var t=new Set(Fc(e));return u.every((function(e){return t.has(e)}))}))}var h=gg(i.rows,s),p=Qx(h?i.rows:c),d=Qx(h?c:i.rows),f=p[p.indexOf(s)+1],m=Fc(a),g=d.filter((function(e){return!m.includes(e)})),y=l.filter((function(e){var t=new Set(Fc(e));return!!t.has(s)&&!t.has(f)&&g.every((function(e){return!t.has(e)}))}));return $g(y)?Ed(Wm(r,(function(e){var n=function(e,t,n){var r,i={};if(gg(e,So))for(var o=E_(e,So),a=(null===(r=null==t?void 0:t.rows)||void 0===r?void 0:r.includes(n))?t.rows:YE(t.columns),s=0;s<=vg(a,n);s++)i[a[s]]=o[s];else i[n]=e;return i}(e,i,s);return t.getTotalValue(sa(sa({},a),n))}))):y}(e):i,Zx({sortParam:r,originValues:i,measureValues:t,dataSet:n})}({dataSet:t,sortParam:e,originValues:i,isSortByMeasure:!$g(r)});t.sortedDimensionValues[n]=o}}))},t.getCustomData=function(e){for(var n,r=!1,i=t.indexesData,o=function(t){var o=e[t];r?i=ny(o)?sT(i):null===(n=fg(i))||void 0===n?void 0:n.map((function(e){return e&&vu(e,o)})):ny(o)?r=!0:i=null==i?void 0:i[o]},a=0;a=e?(n.splice(e,0,no),n):ha(ha([],ua(n),!1),[no],!1)},t.prototype.isCustomMeasuresPosition=function(e){return Xg(e)},t.prototype.getRowData=function(e){return this.getMultiData(e.rowQuery)},t}(OA),IA=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleDimensionValueFilter=function(){dm(t.filterParams,(function(e){var n=e.filterKey,r=e.filteredValues,i=e.customFilter,o=function(e){return!gg(r,e[n])};t.displayData=ha(ha(ha([],ua(t.getStartRows()),!1),ua(Dm(t.getMovableRows(),(function(e){return i?i(e)&&o(e):o(e)}))),!1),ua(t.getEndRows()),!1)}))},t.handleDimensionValuesSort=function(){dm(t.sortParams,(function(e){var n=e.sortFieldId,r=e.sortBy,i=e.sortFunc,o=e.sortMethod,a=e.query;if(n){var s=t.getMovableRows(),l=[];if(a){var c=[];s.forEach((function(e){for(var t=Object.keys(a),n=!0,r=0;rn.trackLen?t=n.trackLen-n.thumbLen:e+n.thumbLen=t})).map((function(e){return e[n]})).reduce((function(e,t){return e+t}),0)},MA=function(e,t,n){if(n<=0)return{start:0,end:0};var r=Fm(e,(function(n,r){return t>=n&&tt&&n<=e[r+1]}),r);return{start:r,end:i=Math.min(-1===i?1/0:i,e.length-2)}},FA=function(e,t){var n=t.width,r=t.originalWidth,i=Math.min(r-n,e);return i<0?0:i},HA=function(e,t,n){var r=Math.min(t-n,e);return r<0?0:r},BA=function(e,t){if(void 0===e&&(e=[]),$g(e))return[];var n=[];return e.forEach((function(e){e instanceof t&&n.push(e),e instanceof mi&&e.getChildren().forEach((function(e){e instanceof t&&n.push(e)}))})),n},UA=function(e,t,n){return n.slice(e,t+1).map((function(e){return e.x+e.width}))},jA=function(e,t,n){for(var r=[],i=e;i=i&&e<=o&&t>=a&&t<=s},YA=function(e){for(var t=ua(e,4),n=t[0],r=t[1],i=t[2],o=t[3],a=[],s=n;s<=r;s+=1)for(var l=i;l<=o;l+=1)a.push([s,l]);return a},zA=function(e,t){void 0===t&&(t=!1),this.x=0,this.y=0,this.minX=0,this.minY=0,this.maxX=0,this.maxY=0,this.width=0,this.height=0,this.originalWidth=0,this.originalHeight=0,this.viewportHeight=0,this.viewportWidth=0,this.facet=e,this.spreadsheet=e.spreadsheet,this.layoutResult=e.layoutResult,t&&this.calculateBBox()},$A=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return aa(t,e),t.prototype.calculateBBox=function(){var e=this.getCornerBBoxWidth(),t=this.getCornerBBoxHeight();this.width=e,this.height=t,this.maxX=e,this.maxY=t},t.prototype.getCornerBBoxOriginalHeight=function(){var e=this.layoutResult.colsHierarchy,t=this.spreadsheet.options.style.colCfg;return e.sampleNodeForLastLevel?Math.floor(e.height):null==t?void 0:t.height},t.prototype.getCornerBBoxHeight=function(){return this.originalHeight=this.getCornerBBoxOriginalHeight(),this.originalHeight},t.prototype.getCornerBBoxWidth=function(){var e=this.layoutResult.rowsHierarchy;return this.originalWidth=Math.floor(e.width+this.facet.getSeriesNumberWidth()),this.spreadsheet.isScrollContainsRowHeader()?this.originalWidth:this.adjustCornerBBoxWidth()},t.prototype.adjustCornerBBoxWidth=function(){var e=this.layoutResult.colsHierarchy,t=this.spreadsheet.options.width,n=.5*t,r=null==e?void 0:e.width,i=t-this.originalWidth;if(this.originalWidth<=n||r<=i)return this.originalWidth;var o;return o=r<=t-n?this.originalWidth-(r-i):n,Math.floor(o)},t}(zA),WA=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return aa(t,e),t.prototype.calculateBBox=function(){this.originalWidth=this.facet.getRealWidth(),this.originalHeight=this.facet.getRealHeight();var e=this.facet.cornerBBox,t={x:Math.floor(e.maxX),y:Math.floor(e.maxY)},n=this.spreadsheet.theme.scrollBar.size,r=this.spreadsheet.options,i=r.width,o=r.height,a=Math.max(0,i-t.x),s=Math.max(0,o-t.y-n);this.x=t.x,this.y=t.y,this.width=a,this.height=s,this.viewportHeight=Math.abs(Math.floor(Math.min(s,this.originalHeight))),this.viewportWidth=Math.abs(Math.floor(Math.min(a,this.originalWidth))),this.maxX=t.x+this.viewportWidth,this.maxY=t.y+this.viewportHeight,this.minX=t.x,this.minY=t.y;var l=this.spreadsheet.options,c=l.frozenTrailingColCount,u=l.frozenTrailingRowCount;c>0&&(this.viewportWidth=this.width,this.maxX=t.x+this.width),u>0&&(this.viewportHeight=this.height,this.maxY=t.y+this.height)},t}(zA),VA=function(e){function t(t){var n=e.call(this,t)||this;return n.isHeaderCellInViewport=function(e,t,n,r){return e+t>=n&&n+r>=e},n.headerConfig=t,n}return aa(t,e),t.prototype.getConfig=function(){return this.headerConfig},t.prototype.clearResizeAreaGroup=function(e){var t=this.get("parent"),n=null==t?void 0:t.findById(e);null==n||n.clear()},t.prototype.render=function(e){this.clearResizeAreaGroup(e),this.clear(),this.layout(),this.offset(),this.clip()},t.prototype.onScrollXY=function(e,t,n){this.headerConfig.scrollX=e,this.headerConfig.scrollY=t,this.render(n)},t.prototype.onRowScrollX=function(e,t){this.headerConfig.scrollX=e,this.render(t)},t.prototype.clear=function(){e.prototype.clear.call(this)},t}(mi),KA=function(e){function t(t){var n=e.call(this,t)||this;return n.scrollGroup=n.addGroup({name:"colScrollGroup",zIndex:3}),n}return aa(t,e),t.prototype.onColScroll=function(e,t){this.headerConfig.scrollX!==e&&(this.headerConfig.scrollX=e,this.render(t))},t.prototype.clip=function(){var e=this.headerConfig,t=e.width,n=e.height,r=e.scrollX,i=e.spreadsheet.isFrozenRowHeader();this.scrollGroup.setClip({type:"rect",attrs:{x:i?r:0,y:0,width:i?t:t+r,height:n}})},t.prototype.clear=function(){var e,t;null===(e=this.scrollGroup)||void 0===e||e.clear(),null===(t=this.background)||void 0===t||t.remove(!0)},t.prototype.getCellInstance=function(e,t,n){return new tS(e,t,n)},t.prototype.getCellGroup=function(e){return this.scrollGroup},t.prototype.isColCellInRect=function(e){var t=this.headerConfig,n=t.spreadsheet,r=t.cornerWidth,i=t.width,o=t.scrollX;return i+o>e.x&&o-(n.isFrozenRowHeader()?0:r)0,this.cfg.showViewportRightShadow=Math.floor(e)e.y&&ce.x&&u-l=0;n--){var r=e[n];r instanceof mi?r.set("children",[]):e[n].remove()}t.foregroundGroup.set("children",[]),t.backgroundGroup.set("children",[])},this.scrollWithAnimation=function(e,n,r){var i,o,a,s;void 0===e&&(e={}),void 0===n&&(n=200);var l=t.getAdjustedScrollOffset({scrollX:(null===(i=e.offsetX)||void 0===i?void 0:i.value)||0,scrollY:(null===(o=e.offsetY)||void 0===o?void 0:o.value)||0,rowHeaderScrollX:(null===(a=e.rowHeaderOffsetX)||void 0===a?void 0:a.value)||0}),c=l.scrollX,u=l.scrollY,h=l.rowHeaderScrollX;null===(s=t.timer)||void 0===s||s.stop();var p=t.getScrollOffset(),d=[null!=c?c:p.scrollX,null!=u?u:p.scrollY,null!=h?h:p.rowHeaderScrollX],f=Kt(Object.values(p),d);t.timer=ct((function(e){var i=Math.min(e/n,1),o=ua(f(i),3),a=o[0],s=o[1],l=o[2];t.setScrollOffset({rowHeaderScrollX:l,scrollX:a,scrollY:s}),t.startScroll(),e>n&&(t.timer.stop(),null==r||r())}))},this.scrollImmediately=function(e){var n,r,i;void 0===e&&(e={});var o=t.getAdjustedScrollOffset({scrollX:(null===(n=e.offsetX)||void 0===n?void 0:n.value)||0,scrollY:(null===(r=e.offsetY)||void 0===r?void 0:r.value)||0,rowHeaderScrollX:(null===(i=e.rowHeaderOffsetX)||void 0===i?void 0:i.value)||0}),a=o.scrollX,s=o.scrollY,l=o.rowHeaderScrollX;t.setScrollOffset({scrollX:a,scrollY:s,rowHeaderScrollX:l}),t.startScroll()},this.startScroll=function(e){var n,r,i;void 0===e&&(e=!1);var o=t.getScrollOffset(),a=o.rowHeaderScrollX,s=o.scrollX,l=o.scrollY;null===(n=t.hRowScrollBar)||void 0===n||n.onlyUpdateThumbOffset(t.getScrollBarOffset(a,t.hRowScrollBar)),null===(r=t.hScrollBar)||void 0===r||r.onlyUpdateThumbOffset(t.getScrollBarOffset(s,t.hScrollBar)),null===(i=t.vScrollBar)||void 0===i||i.onlyUpdateThumbOffset(t.getScrollBarOffset(l,t.vScrollBar)),t.dynamicRenderCell(e)},this.getRendererHeight=function(){var e=t.getCellRange(),n=e.start,r=e.end;return t.viewCellHeights.getCellOffsetY(r+1)-t.viewCellHeights.getCellOffsetY(n)},this.getAdjustedScrollOffset=function(e){var n=e.scrollX,r=e.scrollY,i=e.rowHeaderScrollX;return{scrollX:HA(n,t.layoutResult.colsHierarchy.width,t.panelBBox.width),scrollY:HA(r,t.getRendererHeight(),t.panelBBox.height),rowHeaderScrollX:FA(i,t.cornerBBox)}},this.renderRowScrollBar=function(e){if(!t.cfg.spreadsheet.isScrollContainsRowHeader()&&t.cornerBBox.widtht.panelBBox.minX&&nt.panelBBox.minY&&rt.cornerBBox.minX&&nt.cornerBBox.minY&&r=t.cornerBBox.width,d=t.hRowScrollBar&&t.isScrollOverTheCornerArea({offsetX:c,offsetY:u})||(null===(a=t.hScrollBar)||void 0===a?void 0:a.thumbOffset)+(null===(s=t.hScrollBar)||void 0===s?void 0:s.thumbLen)>=h;return l>=0&&d&&p},this.isScrollToTop=function(e){var n;return!t.vScrollBar||e<=0&&(null===(n=t.vScrollBar)||void 0===n?void 0:n.thumbOffset)<=0},this.isScrollToBottom=function(e){var n,r,i;return!t.vScrollBar||e>=0&&(null===(n=t.vScrollBar)||void 0===n?void 0:n.thumbOffset)+(null===(r=t.vScrollBar)||void 0===r?void 0:r.thumbLen)>=(null===(i=t.panelBBox)||void 0===i?void 0:i.height)},this.isVerticalScrollOverTheViewport=function(e){return!t.isScrollToTop(e)&&!t.isScrollToBottom(e)},this.isHorizontalScrollOverTheViewport=function(e){return!t.isScrollToLeft(e)&&!t.isScrollToRight(e)},this.isScrollOverTheViewport=function(e){var n=e.deltaY,r=e.deltaX;return!(e.offsetY<=t.cornerBBox.maxY)&&(0!==n?t.isVerticalScrollOverTheViewport(n):0!==r&&t.isHorizontalScrollOverTheViewport(e))},this.cancelScrollFrame=function(){return!(vE()&&t.scrollFrameId||(cancelAnimationFrame(t.scrollFrameId),0))},this.clearScrollFrameIdOnMobile=function(){vE()&&(t.scrollFrameId=null)},this.stopScrollChainingIfNeeded=function(e){"auto"!==t.spreadsheet.options.interaction.overscrollBehavior&&t.stopScrollChaining(e)},this.stopScrollChaining=function(e){var t,n,r;null===(t=null==e?void 0:e.preventDefault)||void 0===t||t.call(e),null===(r=null===(n=null==e?void 0:e.originalEvent)||void 0===n?void 0:n.preventDefault)||void 0===r||r.call(n)},this.onWheel=function(e){var n=t.spreadsheet.options.interaction,r=e.deltaX,i=e.deltaY,o=e.offsetX,a=e.offsetY;e.shiftKey&&_E()&&(o=o-r+i,r=i,a-=i,i=0);var s=ua(function(e,t,n){var r=Math.abs(e/t),i=r>2?0:t;return[(r<=.5?0:e)*n.horizontal,i*n.vertical]}(r,i,n.scrollSpeedRatio),2),l=s[0],c=s[1];t.spreadsheet.hideTooltip(),t.spreadsheet.interaction.clearHoverTimer(),t.isScrollOverTheViewport({deltaX:l,deltaY:c,offsetX:o,offsetY:a})?(t.stopScrollChaining(e),t.spreadsheet.interaction.addIntercepts([$o.HOVER]),t.cancelScrollFrame()&&(t.scrollFrameId=requestAnimationFrame((function(){var e,n=t.getScrollOffset(),r=n.scrollX,i=n.scrollY,s=n.rowHeaderScrollX;0!==l&&(t.showHorizontalScrollBar(),t.updateHorizontalRowScrollOffset({offsetX:o,offsetY:a,offset:l+s}),t.updateHorizontalScrollOffset({offsetX:o,offsetY:a,offset:l+r})),0!==c&&(t.showVerticalScrollBar(),null===(e=t.vScrollBar)||void 0===e||e.emitScrollChange(c+i)),t.delayHideScrollbarOnMobile(),t.clearScrollFrameIdOnMobile()})))):t.stopScrollChainingIfNeeded(e)},this.addCell=function(e){var n=t.spreadsheet.panelScrollGroup;null==n||n.add(e)},this.realCellRender=function(e,n){var r=t.calculateXYIndexes(e,n);$E.getInstance().logger("renderIndex:",t.preCellIndexes,r);var i,o,a,s,l=(i=t.preCellIndexes,o=r,a=[],s=[],Object.keys(o).forEach((function(e){var t=function(e,t){var n=[],r=[];if($g(e))return $g(t)?{add:n,remove:r}:{add:YA(t),remove:r};if($g(t))return{add:n,remove:YA(e)};for(var i=ua(e,4),o=i[0],a=i[1],s=i[2],l=i[3],c=ua(t,4),u=c[0],h=c[1],p=c[2],d=c[3],f=o;f<=a;f++)for(var m=s;m<=l;m++)GA(f,m,t)||r.push([f,m]);for(f=u;f<=h;f+=1)for(m=p;m<=d;m+=1)GA(f,m,e)||n.push([f,m]);return{add:n,remove:r}}((null==i?void 0:i[e])||[],o[e]),n=t.add,r=t.remove;a.push.apply(a,ha([],ua(n),!1)),s.push.apply(s,ha([],ua(r),!1))})),{add:a,remove:s}),c=l.add,u=l.remove;$E.getInstance().debugCallback("Data Cell Render",(function(){dm(c,(function(e){var n=ua(e,2),r=n[0],i=n[1],o=t.layoutResult.getCellMeta(i,r);if(o){var a=t.cfg.dataCell(o);a.set("name","".concat(r,"-").concat(i)),t.addCell(a)}}));var e=BA(t.panelGroup.getChildren(),Ex);dm(u,(function(t){var n=ua(t,2),r=n[0],i=n[1],o=Hm(e,(function(e){return e.get("name")==="".concat(r,"-").concat(i)}));null==o||o.remove(!0)})),$E.getInstance().logger("Render Cell Panel: ".concat(null==e?void 0:e.length,", Add: ").concat(null==c?void 0:c.length,", Remove: ").concat(null==u?void 0:u.length))})),t.preCellIndexes=r,t.spreadsheet.emit(Qi.LAYOUT_AFTER_REAL_DATA_CELL_RENDER,{add:c,remove:u,spreadsheet:t.spreadsheet})},this.getGridInfo=function(){var e=ua(t.preCellIndexes.center,4),n=e[0],r=e[1],i=e[2],o=e[3];return{cols:UA(n,r,t.layoutResult.colLeafNodes),rows:jA(i,o,t.viewCellHeights)}},this.onAfterScroll=Pf((function(){var e=t.spreadsheet,n=e.interaction,r=e.container;if(!n.isSelectedState()&&(n.removeIntercepts([$o.HOVER]),n.getHoverAfterScroll())){var i=n.eventController.canvasMousemoveEvent;if(i){var o=i.x,a=i.y,s=r.getShape(o,a);s&&r.emit(Zi.MOUSE_MOVE,sa(sa({},i),{shape:s,target:s,timestamp:performance.now()}))}}}),300),this.cfg=e,this.spreadsheet=e.spreadsheet,this.init()}return Object.defineProperty(e.prototype,"scrollBarTheme",{get:function(){return this.spreadsheet.theme.scrollBar},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"scrollBarSize",{get:function(){return this.scrollBarTheme.size},enumerable:!1,configurable:!0}),e.prototype.getCellCustomWidth=function(e,t){return is(t)?null==t?void 0:t(e):t},e.prototype.getCellDraggedWidth=function(e){var t=this.cfg.colCfg;return vu(null==t?void 0:t.widthByFieldValue,"".concat(e.value))},e.prototype.render=function(){var e;$g((e=this.spreadsheet.dataCfg.fields).rows)&&$g(e.columns)&&$g(e.values)&&$g(e.customTreeItems)||(this.adjustScrollOffset(),this.renderHeaders(),this.renderScrollBars(),this.renderBackground(),this.dynamicRenderCell())},e.prototype.adjustScrollOffset=function(){var e=this.getAdjustedScrollOffset(this.getScrollOffset());this.setScrollOffset(e)},e.prototype.getSeriesNumberWidth=function(){return this.cfg.showSeriesNumber?this.spreadsheet.theme.rowCell.seriesNumberWidth:0},e.prototype.getCanvasHW=function(){return{width:this.cfg.width,height:this.cfg.height}},e.prototype.getContentHeight=function(){var e=this.layoutResult,t=e.rowsHierarchy,n=e.colsHierarchy;return t.height+n.height},e.prototype.updateScrollOffset=function(e){var t,n,r,i,o,a;void 0===(null===(t=e.rowHeaderOffsetX)||void 0===t?void 0:t.value)?void 0===(null===(r=e.offsetX)||void 0===r?void 0:r.value)?void 0!==(null===(o=e.offsetY)||void 0===o?void 0:o.value)&&((null===(a=e.offsetY)||void 0===a?void 0:a.animate)?this.scrollWithAnimation(e):this.scrollImmediately(e)):(null===(i=e.offsetX)||void 0===i?void 0:i.animate)?this.scrollWithAnimation(e):this.scrollImmediately(e):(null===(n=e.rowHeaderOffsetX)||void 0===n?void 0:n.animate)?this.scrollWithAnimation(e):this.scrollImmediately(e)},e.prototype.getPaginationScrollY=function(){var e=this.cfg.pagination;if(e){var t=e.current,n=void 0===t?1:t,r=e.pageSize,i=this.viewCellHeights,o=Math.max((n-1)*r,0);return i.getCellOffsetY(o)}return 0},e.prototype.destroy=function(){this.unbindEvents(),this.clearAllGroup(),this.preCellIndexes=null,cancelAnimationFrame(this.scrollFrameId)},e.prototype.calculateXYIndexes=function(e,t){var n=this.panelBBox,r=n.viewportHeight,i=n.viewportWidth;return{center:FE(e,t,this.viewCellWidths,this.viewCellHeights,{width:i,height:r,x:0,y:0},this.getRealScrollX(this.cornerBBox.width))}},e.prototype.calculateCornerBBox=function(){this.cornerBBox=new $A(this,!0)},e.prototype.getCellRange=function(){var e=this.cfg.pagination;return function(e,t){var n=e,r=0,i=n.getTotalLength()-1;if(t){var o=t.current,a=void 0===o?1:o,s=t.pageSize;r=Math.max((a-1)*s,0),i=Math.min(a*s-1,n.getTotalLength()-1)}return{start:r,end:i}}(this.viewCellHeights,e)},e.prototype.clip=function(e,t){var n,r=this.spreadsheet.isFrozenRowHeader();null===(n=this.spreadsheet.panelScrollGroup)||void 0===n||n.setClip({type:"rect",attrs:{x:r?e:0,y:t,width:this.panelBBox.width+(r?0:e),height:this.panelBBox.height}})},e.prototype.translateRelatedGroups=function(e,t,n){var r,i;HE(this.spreadsheet.panelScrollGroup,this.cornerBBox.width-e,this.cornerBBox.height-t),null===(r=this.rowHeader)||void 0===r||r.onScrollXY(this.getRealScrollX(e,n),t,fo),null===(i=this.rowIndexHeader)||void 0===i||i.onScrollXY(this.getRealScrollX(e,n),t,yo),this.cornerHeader.onCorScroll(this.getRealScrollX(e,n),vo),this.centerFrame.onChangeShadowVisibility(e,this.getRealWidth()-this.panelBBox.width),this.centerFrame.onBorderScroll(this.getRealScrollX(e)),this.columnHeader.onColScroll(e,_o)},e.prototype.init=function(){var e=this;$E.getInstance().debugCallback("Header Layout",(function(){e.layoutResult=e.doLayout(),e.saveInitColumnLeafNodes(e.layoutResult.colLeafNodes),e.spreadsheet.emit(Qi.LAYOUT_AFTER_HEADER_LAYOUT,e.layoutResult)})),this.calculateCellWidthHeight(),this.calculateCornerBBox(),this.calculatePanelBBox(),this.clipPanelGroup(),this.bindEvents()},e.prototype.renderBackground=function(){var e=this.getCanvasHW(),t=e.width,n=e.height,r=this.spreadsheet.theme.background,i=r.color,o=r.opacity;this.backgroundGroup.addShape("rect",{attrs:{fill:i,opacity:o,x:0,y:0,width:t,height:n}})},e.prototype.renderScrollBars=function(){var e=this.getScrollOffset(),t=e.scrollX,n=e.scrollY,r=e.rowHeaderScrollX,i=this.panelBBox,o=i.width,a=i.height,s=this.layoutResult.colsHierarchy.width,l=this.getRealHeight();this.renderRowScrollBar(r),this.renderHScrollBar(o,s,t),this.renderVScrollBar(a,l,n)},e.prototype.renderHeaders=function(){var e=this.getSeriesNumberWidth();this.rowHeader=this.getRowHeader(),this.columnHeader=this.getColHeader(),e>0&&!this.rowIndexHeader&&(this.rowIndexHeader=this.getSeriesNumberHeader()),this.cornerHeader=this.getCornerHeader(),this.centerFrame=this.getCenterFrame(),this.rowIndexHeader&&this.foregroundGroup.add(this.rowIndexHeader),this.rowHeader&&this.foregroundGroup.add(this.rowHeader),this.foregroundGroup.add(this.columnHeader),this.foregroundGroup.add(this.cornerHeader),this.foregroundGroup.add(this.centerFrame)},e.prototype.getRowHeader=function(){var e,t,n;if(!this.rowHeader){var r=this.panelBBox,i=r.y,o=r.viewportHeight,a=r.viewportWidth,s=r.height,l=this.getSeriesNumberWidth();return new ZA({width:this.cornerBBox.width,height:s,viewportWidth:a,viewportHeight:o,position:{x:0,y:i},data:this.layoutResult.rowNodes,hierarchyType:this.cfg.hierarchyType,linkFields:null!==(n=null===(t=null===(e=this.cfg.spreadsheet.options)||void 0===e?void 0:e.interaction)||void 0===t?void 0:t.linkFields)&&void 0!==n?n:[],seriesNumberWidth:l,spreadsheet:this.spreadsheet})}return this.rowHeader},e.prototype.getColHeader=function(){if(!this.columnHeader){var e=this.panelBBox,t=e.x,n=e.width,r=e.viewportHeight,i=e.viewportWidth;return new KA({width:n,cornerWidth:this.cornerBBox.width,height:this.cornerBBox.height,viewportWidth:i,viewportHeight:r,position:{x:t,y:0},data:this.layoutResult.colNodes,scrollContainsRowHeader:this.cfg.spreadsheet.isScrollContainsRowHeader(),sortParam:this.cfg.spreadsheet.store.get("sortParam"),spreadsheet:this.spreadsheet})}return this.columnHeader},e.prototype.getCornerHeader=function(){return this.cornerHeader?this.cornerHeader:qA.getCornerHeader(this.panelBBox,this.cornerBBox,this.getSeriesNumberWidth(),this.cfg,this.layoutResult,this.spreadsheet)},e.prototype.getSeriesNumberHeader=function(){return QA.getSeriesNumberHeader(this.panelBBox,this.getSeriesNumberWidth(),this.layoutResult.rowsHierarchy.getNodes(0),this.spreadsheet,this.cornerBBox.width)},e.prototype.getCenterFrame=function(){var e;if(!this.centerFrame){var t=this.panelBBox,n=t.viewportWidth,r=t.viewportHeight,i=this.cornerBBox.width,o=this.cornerBBox.height,a=null===(e=this.cfg)||void 0===e?void 0:e.frame,s={position:{x:this.cornerBBox.x,y:this.cornerBBox.y},width:i,height:o,viewportWidth:n,viewportHeight:r,showViewportLeftShadow:!1,showViewportRightShadow:!1,scrollContainsRowHeader:this.cfg.spreadsheet.isScrollContainsRowHeader(),isPivotMode:this.cfg.spreadsheet.isPivotMode(),spreadsheet:this.cfg.spreadsheet};return a?a(s):new XA(s)}return this.centerFrame},e.prototype.updatePanelScrollGroup=function(){this.gridInfo=this.getGridInfo(),this.spreadsheet.panelScrollGroup.update(this.gridInfo)},e.prototype.dynamicRenderCell=function(e){var t=this.getScrollOffset(),n=t.scrollX,r=t.scrollY,i=t.rowHeaderScrollX,o=r+this.getPaginationScrollY(),a=HA(o,this.viewCellHeights.getTotalHeight(),this.panelBBox.viewportHeight);this.spreadsheet.hideTooltip(),this.spreadsheet.interaction.clearHoverTimer(),this.realCellRender(n,a),this.updatePanelScrollGroup(),this.translateRelatedGroups(n,a,i),this.clip(n,a),e||this.emitScrollEvent({scrollX:n,scrollY:a,rowHeaderScrollX:i}),this.onAfterScroll()},e.prototype.emitScrollEvent=function(e){this.spreadsheet.emit(Qi.LAYOUT_CELL_SCROLL,e),this.spreadsheet.emit(Qi.GLOBAL_SCROLL,e)},e.prototype.saveInitColumnLeafNodes=function(e){void 0===e&&(e=[]);var t=this.spreadsheet,n=t.store,r=t.options.interaction.hiddenColumnFields;e.length+r.length!==n.get("initColumnLeafNodes",[]).length&&n.set("initColumnLeafNodes",e)},e.prototype.getHiddenColumnsInfo=function(e){var t=this.spreadsheet.store.get("hiddenColumnsDetail",[]);return $g(t)?null:t.find((function(t){var n;return null===(n=null==t?void 0:t.hideColumnNodes)||void 0===n?void 0:n.some((function(t){return t.id===e.id}))}))},e.prototype.getCornerNodes=function(){var e;return(null===(e=this.cornerHeader)||void 0===e?void 0:e.getNodes())||[]},e}(),eR=function(e){var t,n,r,i=e.facetCfg,o=e.customTreeItems,a=void 0===o?[]:o,s=e.level,l=e.parentNode,c=e.hierarchy,u=i.spreadsheet,h=i.collapsedRows,p=i.hierarchyCollapse;try{for(var d=ca(a),f=d.next();!f.done;f=d.next()){var m=f.value,g=m.key,y=m.title,v=m.collapsed,_=m.children,b=la(m,["key","title","collapsed","children"]),E=((r={})[no]=g,r),T=OE(l.id,y),x=null!=v&&v,S=vu(h,T),C=null!=S?S:p||x,A=new EE({id:T,key:g,label:y,value:y,level:s,parent:l,field:g,isTotals:!1,isCollapsed:C,hierarchy:c,query:E,spreadsheet:u,extra:b});s>c.maxLevel&&(c.maxLevel=s),$g(_)&&(A.isLeaf=!0);var R=AE(i,l,A,c);$g(_)||C||!R||eR({facetCfg:i,parentNode:A,level:s+1,hierarchy:c,customTreeItems:_})}}catch(e){t={error:e}}finally{try{f&&!f.done&&(n=d.return)&&n.call(d)}finally{if(t)throw t.error}}},tR=function(e){var t,n,r,i,o,a,s,l=e.parentNode,c=e.currentField,u=e.level,h=e.facetCfg,p=e.hierarchy,d=e.pivotMeta,f=h.spreadsheet,m=h.dataSet,g=h.collapsedRows,y=h.hierarchyCollapse,v=h.rowExpandDepth,_=l.query,b=l.id,E=(null===(i=f.dataCfg.fields.rows)||void 0===i?void 0:i.length)<=u,T=(null===(o=null==m?void 0:m.sortedDimensionValues)||void 0===o?void 0:o[c])||[],x=oT(Array.from(d.keys())),S=iT(x,T,(function(e){return xo===b?e:OE(b,e).slice(7)})),C=CE(S,h,l,c),A=f.store.get("drillItemsNum");E&&A>0&&(C=C.slice(0,A)),0===u&&function(e,t,n){var r=e.getTotalsConfig(t);r.showGrandTotals&&n[r.reverseLayout?"unshift":"push"](new xE(r.label,!1,!0))}(f,c,C);try{for(var R=ca(C),w=R.next();!w.done;w=R.next()){var L=w.value,O=L instanceof xE,N=O?null:d.get(L),I=void 0,k=_,D=!1,P=!1;if(O){var M=L;D=M.isGrandTotals,P=M.isSubTotals,I=pE(L.label),k=_}else I=L,k=sa(sa({},_),((r={})[c]=I,r));var F=OE(b,I),H=null==g?void 0:g[F],B=Xg(v)?u>v:null,U=null!==(a=null!=H?H:B)&&void 0!==a?a:y,j=new EE({id:F,key:c,label:I,value:I,level:u,parent:l,field:c,isTotals:O,isGrandTotals:D,isSubTotals:P,isCollapsed:U,hierarchy:p,query:k,spreadsheet:f});u>p.maxLevel&&(p.maxLevel=u);var G=!(null===(s=null==N?void 0:N.children)||void 0===s?void 0:s.size);(G||O)&&(j.isLeaf=!0),G||(j.isTotals=!0);var Y=AE(h,l,j,p);G||U||O||!Y||tR({level:u+1,currentField:N.childField,pivotMeta:N.children,facetCfg:h,parentNode:j,hierarchy:p})}}catch(e){t={error:e}}finally{try{w&&!w.done&&(n=R.return)&&n.call(R)}finally{if(t)throw t.error}}},nR=function(e){var t,n,r=e.isValueInCols,i=e.moreThanOneValue,o=e.rootNode,a=e.facetCfg,s=e.hierarchy,l=e.fields;e.isRowHeader?(t=!r&&i,n=!r&&!i):(t=r&&i,n=r&&!i),LE({addTotalMeasureInTotal:t,addMeasureInTotalQuery:n,parentNode:o,currentField:l[0],fields:l,facetCfg:a,hierarchy:s})},rR=function(e){var t=e.isRowHeader,n=e.facetCfg,r=n.spreadsheet,i=n.rows,o=void 0===i?[]:i,a=n.columns,s=void 0===a?[]:a,l=r.dataCfg.fields.valueInCols,c=r.isPivotMode(),u=n.dataSet.moreThanOneValue(),h=EE.rootNode(),p=new TE,d={isValueInCols:l,isPivotMode:c,moreThanOneValue:u,rootNode:h,hierarchy:p,spreadsheet:r,facetCfg:n,fields:t?o:s,isRowHeader:t};return t?function(e){e.spreadsheet.isHierarchyTreeType()?function(e){var t=e.facetCfg,n=e.rootNode,r=e.hierarchy,i=t.hierarchyType,o=t.rows,a=t.dataSet;"tree"===i?tR({level:0,currentField:o[0],pivotMeta:a.rowPivotMeta,facetCfg:t,parentNode:n,hierarchy:r}):function(e){var t=e.facetCfg,n=e.rootNode,r=e.hierarchy,i=t.dataSet.fields.customTreeItems;eR({customTreeItems:i,facetCfg:t,level:0,parentNode:n,hierarchy:r})}(e)}(e):nR(e)}(d):function(e){var t=e.isPivotMode,n=e.hierarchy,r=e.rootNode,i=e.facetCfg;t?nR(e):function(e){var t=e.facetCfg,n=t.columns,r=t.spreadsheet.store.get("hiddenColumnsDetail"),i=null==t?void 0:t.showSeriesNumber,o=ha([],ua(YE(n).filter((function(e){return!r||r.every((function(t){return t.hideColumnNodes.every((function(t){return t.field!==e}))}))}))),!1),a=ha([],ua(n),!1),s={};i&&(a.unshift({key:oo}),s[oo]=!0),o.reduce((function(e,t){return e[t]=!0,e}),s),IE(jE(a,s),e,0,null)}({parentNode:r,hierarchy:n,facetCfg:i})}(d),{hierarchy:p,leafNodes:t&&r.isHierarchyTreeType()?p.getNodes():p.getLeaves()}},iR=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return aa(t,e),Object.defineProperty(t.prototype,"rowCellTheme",{get:function(){return this.spreadsheet.theme.rowCell.cell},enumerable:!1,configurable:!0}),t.prototype.doLayout=function(){var e=rR({isRowHeader:!0,facetCfg:this.cfg}),t=e.leafNodes,n=e.hierarchy,r=rR({isRowHeader:!1,facetCfg:this.cfg}),i=r.leafNodes,o=r.hierarchy;this.calculateNodesCoordinate(t,n,i,o);var a=this.cfg,s=a.dataSet,l=a.spreadsheet,c={colNodes:o.getNodes(),colsHierarchy:o,rowNodes:n.getNodes(),rowsHierarchy:n,rowLeafNodes:t,colLeafNodes:i,getCellMeta:function(e,n){var r,o,a,c=e||0,u=n||0,h=t[c],p=i[u];if(!h||!p)return null;var d,f=h.query,m=p.query,g=h.isTotals||h.isTotalMeasure||p.isTotals||p.isTotalMeasure,y=l.options.hierarchyType,v=null!==(o=vu(l,"facet.cfg.colCfg.hideMeasureColumn"))&&void 0!==o&&o&&"customTree"!==y?((r={})[no]=null===(a=s.fields.values)||void 0===a?void 0:a[0],r):{},_=Ey({},f,m,v),b=s.getCellData({query:_,rowNode:h,isTotals:g}),E=null;return $g(b)?d=vu(_,[no],""):(d=vu(b,[no],""),E=vu(b,[to],null),g&&(d=vu(_,[no],""),E=vu(b,d,null))),{spreadsheet:l,x:p.x,y:h.y,width:p.width,height:h.height,data:b,rowIndex:c,colIndex:u,isTotals:g,valueField:d,fieldValue:E,rowQuery:f,colQuery:m,rowId:h.id,colId:p.id,id:_x(h.id,p.id)}},spreadsheet:l};return function(e,t){var n=null==e?void 0:e.layoutDataPosition;if(n){var r=t.getCellMeta,i=n(e.spreadsheet,r);return sa(sa({},t),{getCellMeta:i})}return t}(this.cfg,c)},t.prototype.calculateNodesCoordinate=function(e,t,n,r){this.calculateRowNodesCoordinate(e,t,n),this.calculateColNodesCoordinate(n,r,e,t.width)},t.prototype.calculateColNodesCoordinate=function(e,t,n,r){var i,o,a,s,l=EE.blankNode(),c=t.getNodes();try{for(var u=ca(t.sampleNodesForAllLevels),h=u.next();!h.done;h=u.next()){var p=h.value;p.height=this.getColNodeHeight(p),t.height+=p.height}}catch(e){i={error:e}}finally{try{h&&!h.done&&(o=u.return)&&o.call(u)}finally{if(i)throw i.error}}for(var d=0,f=function(i){var o=c[i];if(o.isLeaf&&(o.colIndex=d,d+=1,o.x=l.x+l.width,o.width=m.calculateColLeafNodesWidth(o,e,n,r),t.width+=o.width,l=o),0===o.level)o.y=0;else{var s=t.sampleNodesForAllLevels.find((function(e){return e.level===o.level-1}));o.y=null!==(a=(null==s?void 0:s.y)+(null==s?void 0:s.height))&&void 0!==a?a:0}o.height=o.isGrandTotals&&o.isLeaf?t.height:m.getColNodeHeight(o),RE(m.cfg,null,o)},m=this,g=0;gS&&(x=O,S=N)}}}var I=T>S,k=I?b:x,D=I?E:0;return $E.getInstance().logger("Max Label In Col:",e.field,k),this.spreadsheet.measureTextWidth(k,g)+(null===(s=y.padding)||void 0===s?void 0:s.left)+(null===(l=y.padding)||void 0===l?void 0:l.right)+D}return this.spreadsheet.isHierarchyTreeType()?this.getAdaptTreeColWidth(e,t,n):this.getAdaptGridColWidth(t,r)},t.prototype.getColNodeHeight=function(e){var t=this.cfg.colCfg,n=vu(t,["heightByField",e.key]);return null!=n?n:null==t?void 0:t.height},t.prototype.getExpectedCellIconWidth=function(e,t,n){var r,i=0;if(t)i=1;else{var o=Mx(Wm(this.spreadsheet.options.headerActionIcons,(function(e){return sa(sa({},e),{displayCondition:function(){return!0}})})),null,e);i=null!==(r=null==o?void 0:o.iconNames.length)&&void 0!==r?r:0}return i?i*(n.size+n.margin.left)+n.margin.right:0},t.prototype.calculateRowNodesCoordinate=function(e,t,n){var r,i,o,a,s,l,c,u,h,p,d=this.cfg,f=d.cellCfg,m=d.spreadsheet,g=m.isHierarchyTreeType(),y=vu(m,"options.style.rowCfg.heightByField",{}),v=null!==(o=t.sampleNodesForAllLevels)&&void 0!==o?o:[];if(g)t.width=this.getTreeRowHeaderWidth();else try{for(var _=ca(t.sampleNodesForAllLevels),b=_.next();!b.done;b=_.next()){var E=b.value;E.width=this.calculateGridRowNodesWidth(E,n),t.width+=E.width;var T=null!==(a=v[E.level-1])&&void 0!==a?a:{x:0,width:0};E.x=(null==T?void 0:T.x)+(null==T?void 0:T.width)}}catch(e){r={error:e}}finally{try{b&&!b.done&&(i=_.return)&&i.call(_)}finally{if(r)throw r.error}}for(var x=EE.blankNode(),S=t.getNodes(),C=0;C1||a<=1&&!o){var c=null!==(r=null===(n=null==l?void 0:l[0])||void 0===n?void 0:n.height)&&void 0!==r?r:0;s.height=e.height-c;var u=null===(i=Hm(e.getNodes(a),(function(e){return!e.isTotalMeasure})))||void 0===i?void 0:i.y;dm(l,(function(e){e.y=u}))}}},t.prototype.adjustSubTotalNodesCoordinate=function(e,t){var n=e.getNodes().filter((function(e){return e.isSubTotals}));if(!$g(n)){var r=e.maxLevel;dm(n,(function(n){var i,o,a,s=n.children;if(t)n.width=PA(e.sampleNodesForAllLevels,n.level,"width"),dm(s,(function(t){t.x=e.getNodes(r)[0].x}));else{var l=PA(e.sampleNodesForAllLevels,n.level,"height"),c=null!==(o=null===(i=null==s?void 0:s[0])||void 0===i?void 0:i.height)&&void 0!==o?o:0;n.height=l-c,dm(s,(function(t){t.y=e.getNodes(r)[0].y}));var u=null===(a=Hm(e.getNodes(r),(function(e){return!e.isTotalMeasure})))||void 0===a?void 0:a.y;dm(s,(function(e){e.y=u}))}}))}},t.prototype.calculateGridRowNodesWidth=function(e,t){var n=this.cfg,r=n.rowCfg,i=n.spreadsheet,o=vu(r,["widthByField",e.key]);if(Xg(o))return o;var a=this.getCellCustomWidth(e,null==r?void 0:r.width);return Xg(a)?a:i.getLayoutWidthType()!==ta.Adaptive?this.getCompactGridRowWidth(e):this.getAdaptGridColWidth(t)},t.prototype.getAdaptTreeColWidth=function(e,t,n){var r=this.getCanvasHW().width-this.getSeriesNumberWidth(),i=Math.min(r/2,this.getTreeRowHeaderWidth()),o=Math.max(1,t.length),a=this.cfg.cellCfg;return Math.max(BT(a,this.getColLabelLength(e,n)),(r-i)/o)},t.prototype.getColLabelLength=function(e,t){var n,r=UT(null==e?void 0:e.value);if(Na(r))return r.length;for(var i=1,o=0;o<50;o++){var a=t[o];if(!a)return i;for(var s=this.cfg.dataSet.getCellData({query:sa(sa({},e.query),a.query),rowNode:a,isTotals:e.isTotals||e.isTotalMeasure||a.isTotals||a.isTotalMeasure}),l=Fc(s),c=0;ci&&(i=h)}}return i},t.prototype.getAdaptGridColWidth=function(e,t){var n=this.cfg,r=n.rows,i=n.cellCfg,o=r.length,a=e.length,s=this.getCanvasHW().width-this.getSeriesNumberWidth(),l=Math.max(1,o+a);return t?Math.max(BT(i),(s-t)/a):Math.max(BT(i),s/l)},t.prototype.getTreeRowHeaderWidth=function(){var e,t,n,r,i=this.cfg,o=i.rows,a=i.dataSet,s=i.rowCfg,l=i.treeRowsWidth,c=null!=l?l:null==s?void 0:s.treeRowsWidth;if(c)return c;var u=this.getCellCustomWidth(null,null==s?void 0:s.width);if(u)return u;var h=o.map((function(e){return a.getFieldName(e)})).join("/"),p=this.spreadsheet.theme.cornerCell,d=p.bolderText,f=p.icon,m=this.spreadsheet.measureTextWidth(h,d)+2*f.size+(null===(e=f.margin)||void 0===e?void 0:e.left)+(null===(t=f.margin)||void 0===t?void 0:t.right)+(null===(n=this.rowCellTheme.padding)||void 0===n?void 0:n.left)+(null===(r=this.rowCellTheme.padding)||void 0===r?void 0:r.right);return Math.max(null!=c?c:120,m)},t.prototype.getCompactGridRowWidth=function(e){var t,n=this,r=this.cfg,i=r.dataSet,o=r.spreadsheet,a=o.theme.rowCell,s=a.bolderText,l=a.icon,c=a.cell,u=o.theme.cornerCell,h=u.bolderText,p=u.icon,d=u.cell,f=e.field,m=e.isLeaf,g=this.getExpectedCellIconWidth(Uo.ROW_CELL,!o.isValueInCols()&&m&&o.options.showDefaultHeaderActionIcon,l),y=null===(t=i.getDimensionValues(f))||void 0===t?void 0:t.slice(0,50).map((function(e){var t,r;return null!==(r=null===(t=n.spreadsheet.dataSet.getFieldFormatter(f))||void 0===t?void 0:t(e))&&void 0!==r?r:e})),v=yy(y,(function(e){return"".concat(e).length})),_=o.measureTextWidth(v,s)+g+c.padding.left+c.padding.right,b=i.getFieldName(f),E=this.getExpectedCellIconWidth(Uo.CORNER_CELL,!1,p),T=o.measureTextWidth(b,h)+E+d.padding.left+d.padding.right;return $E.getInstance().logger("Max Label In Row:",f,_>T?v:b),Math.max(_,T)},t.prototype.getViewCellHeights=function(e){var t=Xv(e.rowLeafNodes,(function(e,t){return e.push(om(e)+t.height),e}),[0]);return{getTotalHeight:function(){return om(t)},getCellOffsetY:function(e){return t[e]},getTotalLength:function(){return t.length-1},getIndexRange:function(e,n){return MA(t,e,n)}}},t}(JA),oR=function(e){function t(t){var n,r=this;(r=e.call(this,t)||this).getScrollGroupClipBBox=function(){var e,t=r.headerConfig,n=t.width,i=t.height,o=t.scrollX,a=t.spreadsheet,s=a.options;if(!s.frozenColCount&&!s.frozenTrailingColCount)return{x:o,y:0,width:n,height:i};for(var l=null===(e=a.facet)||void 0===e?void 0:e.layoutResult.colLeafNodes,c=pT(a.options,l.length),u=c.frozenColCount,h=c.frozenTrailingColCount,p=0,d=0,f=0;f0&&(gT(A,{x1:E=u.reduce((function(e,t,n){return n0?a:l)},sa({},R)),C.showShadow&&e>0&&A.addShape("rect",{attrs:{x:E,y:c,width:C.shadowWidth,height:T,fill:r.getShadowFill(0)}})),f>0&&(gT(A,{x1:0,x2:S=g>0?o:s,y1:x=c+r.getTotalHeightForRange(h.start,h.start+f-1),y2:x},sa({},w)),C.showShadow&&v>0&&A.addShape("rect",{attrs:{x:0,y:x,width:S,height:C.shadowWidth,fill:r.getShadowFill(90)}})),g>0&&(gT(A,{x1:E=u[u.length-g].x,x2:E,y1:c,y2:c+(T=y?a:l)},sa({},R)),C.showShadow&&Math.floor(e)0&&(gT(A,{x1:0,x2:S=g>0?o:s,y1:x=r.panelBBox.maxY-r.getTotalHeightForRange(h.end-y+1,h.end),y2:x},sa({},w)),C.showShadow&&v0)for(u=0;u0)for(u=0;u0){var _=UE(g,0,y).trailingColCount,b=c.filter((function(e){return e.isLeaf}));for(m=1;m<=_;m++){var E;(E=b[b.length-m]).x=1===m?v-E.width:l.x-E.width,l=E}}this.autoCalculateColNodeWidthAndX(e)},t.prototype.autoCalculateColNodeWidthAndX=function(e){for(var t=null,n=e.slice(0);n.length;){var r=n.shift().parent;t!==r&&r&&(n.push(r),r.x=r.children[0].x,r.width=r.children.map((function(e){return e.width})).reduce((function(e,t){return e+t}),0),t=r)}},t.prototype.calculateColLeafNodesWidth=function(e,t){var n=this.cfg,r=n.colCfg,i=n.dataSet,o=n.spreadsheet,a=this.spreadsheet.getLayoutWidthType(),s=this.getCellDraggedWidth(e);if(Xg(s))return s;var l,c,u,h,p,d,f=this.getCellCustomWidth(e,null==r?void 0:r.width);if(Xg(f))return f;if(a===ta.Compact){var m=i.getDisplayDataSet(),g=i.getFieldFormatter(e.field),y=yy(null==m?void 0:m.slice(0,50).map((function(t){var n;return"".concat(null!==(n=null==g?void 0:g(t[e.field]))&&void 0!==n?n:t[e.field])})),(function(e){return o.measureTextWidthRoughly(e)}));$E.getInstance().logger("Max Label In Col:",e.field,y);var v=o.theme.colCell.bolderText,_=o.theme.dataCell,b=_.text,E=_.cell,T=o.measureTextWidth(y,b)+E.padding.left+E.padding.right+1,x=o.measureTextWidth(e.label,v)+(c=this.spreadsheet,u=e,h=o.theme.colCell,p=vu(h,"cell.padding"),d=dS(c,u.field,h),p.left+p.right+function(e,t,n,r){var i,o,a,s=vu(r,"size"),l=vu(r,"margin");return(a=e.options.showDefaultHeaderActionIcon?1:null!==(o=null===(i=Mx(e.options.headerActionIcons,t,n))||void 0===i?void 0:i.iconNames.length)&&void 0!==o?o:0)*(s+l.left)+(a>0?l.right:0)}(c,u,Uo.COL_CELL,vu(h,"icon"))+d.left+d.right);l=Math.max(x,T)}else l=t;return e.field===oo&&(l=this.getSeriesNumberWidth()),l},t.prototype.getDefaultCellHeight=function(){var e=this.cfg.cellCfg;return null==e?void 0:e.height},t.prototype.getCellHeight=function(e){if(this.rowOffsets){var t=vu(this.spreadsheet,"options.style.rowCfg.heightByField",{}),n=null==t?void 0:t[String(e)];if(Xg(n))return n}return this.getDefaultCellHeight()},t.prototype.initRowOffsets=function(){var e=this,t=this.cfg.dataSet,n=vu(this.spreadsheet,"options.style.rowCfg.heightByField",{});if(Object.keys(n).length){var r=t.getDisplayDataSet();this.rowOffsets=[0];var i=0;r.forEach((function(t,r){var o,a=null!==(o=null==n?void 0:n[String(r)])&&void 0!==o?o:e.getDefaultCellHeight(),s=i+a;e.rowOffsets.push(s),i=s}))}},t.prototype.getViewCellHeights=function(){var e=this,t=this.cfg.dataSet;this.initRowOffsets();var n=this.getDefaultCellHeight();return{getTotalHeight:function(){return e.rowOffsets?om(e.rowOffsets):n*t.getDisplayDataSet().length},getCellOffsetY:function(t){if(t<=0)return 0;if(e.rowOffsets)return e.rowOffsets[t];for(var r=0,i=0;i0&&(c.width=o[t-1].x+o[t-1].width-0,c.range=[0,t-1]),n>0&&(h.height=a.getCellOffsetY(s.start+n)-a.getCellOffsetY(s.start),h.range=[s.start,s.start+n-1]),r>0&&(u.width=o[o.length-1].x-o[o.length-r].x+o[o.length-1].width,u.range=[o.length-r,o.length-1]),i>0&&(p.height=a.getCellOffsetY(s.end+1)-a.getCellOffsetY(s.end+1-i),p.range=[s.end-i+1,s.end])},t.prototype.getRowHeader=function(){return null},t.prototype.getSeriesNumberHeader=function(){return null},t.prototype.translateRelatedGroups=function(t,n,r){var i=this,o=this.spreadsheet,a=o.frozenColGroup,s=o.frozenTrailingColGroup;[o.frozenRowGroup,o.frozenTrailingRowGroup].forEach((function(e){BE(e,i.cornerBBox.width-t)})),[a,s].forEach((function(e){!function(e,t){var n,r=null==e?void 0:e.getMatrix(),i=null!==(n=null==r?void 0:r[7])&&void 0!==n?n:0;null==e||e.translate(0,t-i)}(e,i.cornerBBox.height-n)})),e.prototype.translateRelatedGroups.call(this,t,n,r),this.updateRowResizeArea(),this.renderFrozenGroupSplitLine(t,n)},t.prototype.calculateXYIndexes=function(e,t){var n=this.layoutResult.colLeafNodes.length,r=this.getCellRange(),i=this.panelBBox,o=i.viewportHeight,a=i.viewportWidth,s=this.getFrozenOptions(),l=s.frozenColCount,c=s.frozenRowCount,u=s.frozenTrailingColCount,h=s.frozenTrailingRowCount,p={width:a,height:o,x:0,y:0};if(u>0||l>0){var d=this.frozenGroupInfo,f=d.frozenTrailingCol,m=d.frozenCol;p.width-=f.width+m.width,p.x+=m.width}if(h>0||c>0){var g=this.frozenGroupInfo,y=g.frozenRow,v=g.frozenTrailingRow;p.height0&&o.push(n)}));var a=t.getChildren(),s=function(e){return Wm(e,(function(e){return{cells:e.cells,viewMeta:e.getMeta()}}))}(a),l=Rx(s,o),c=Rx(o,s);dm(l,(function(e){var t=Hm(a,(function(t){return Wg(t.getMeta().id,e.viewMeta.id)}));null==t||t.remove(!0)})),dm(c,(function(n){var r=n.cells,i=n.viewMeta;t.add(Ax(e,r,i))}))}}}(this.s2,this.mergedCellsGroup),this.mergedCellsGroup.toFront()},t.prototype.addMergeCell=function(e){var t;null===(t=this.mergedCellsGroup)||void 0===t||t.add(e)},t.prototype.update=function(e){this.updateGrid(e),this.updateMergedCells()},t}(sR),cR=function(){function e(e){var t=this;this.isLinkFieldText=function(e){var n=t.getCellAppendInfo(e);return null==n?void 0:n.isLinkFieldText},this.spreadsheet=e,this.bindEvents()}return e.prototype.getCellAppendInfo=function(e){var t,n;return(null===(t=null==e?void 0:e.attr)||void 0===t?void 0:t.call(e,"appendInfo"))||(null===(n=null==e?void 0:e.attrs)||void 0===n?void 0:n.appendInfo)||{}},e.prototype.reset=function(){},e}(),uR=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return aa(t,e),t.prototype.bindEvents=function(){this.bindDataCellClick()},t.prototype.bindDataCellClick=function(){var e=this;this.spreadsheet.on(Qi.DATA_CELL_CLICK,(function(t){var n;t.stopPropagation();var r=e.spreadsheet.interaction;if(r.clearHoverTimer(),!r.hasIntercepts([$o.CLICK]))if(e.isLinkFieldText(t.target))e.emitLinkFieldClickEvent(t);else{var i=e.spreadsheet.getCell(t.target),o=i.getMeta();if(o)if(r.addIntercepts([$o.HOVER]),r.isSelectedCell(i))1===(null===(n=t.originalEvent)||void 0===n?void 0:n.detail)&&r.reset();else{r.changeState({cells:[bS(i)],stateName:Bo.SELECTED,onUpdateCells:SS}),e.spreadsheet.emit(Qi.GLOBAL_SELECTED,[i]),e.showTooltip(t,o);var a=o.rowId,s=o.colId,l=o.spreadsheet,c=r.getSelectedCellHighlight(),u=c.colHeader,h=c.rowHeader;if(u&&mx(s,r.getAllColHeaderCells(),Bo.SELECTED),h&&a){var p=function(e,t){var n=t.interaction,r=t.facet,i=t.options;if(t.isTableMode()){if(!i.showSeriesNumber)return[];var o=r.layoutResult.colLeafNodes[0].id,a=_x(String(e.rowIndex),o),s=[],l=n.getAllCells().find((function(e){return e.getMeta().id===a}));return l&&l instanceof yS&&s.push(l),s}return fx(e.rowId,n.getAllRowHeaderCells(),t.isHierarchyTreeType())}(o,l);dm(p,(function(e){e.updateByState(Bo.SELECTED)}))}}}}))},t.prototype.getTooltipOperator=function(e,t){var n=this,r={key:"trend",text:pE("趋势"),icon:"Trend"},i=this.spreadsheet.getCell(e.target),o=RA(this.spreadsheet,e).operation,a=o.trend&&sa(sa({},r),{onClick:function(){n.spreadsheet.emit(Qi.DATA_CELL_TREND_ICON_CLICK,sa(sa({},t),{record:n.spreadsheet.isTableMode()?n.spreadsheet.dataSet.getCellData({query:{rowIndex:t.rowIndex}}):void 0})),n.spreadsheet.hideTooltip()}});return wA(o,{defaultMenus:[a],cell:i})},t.prototype.showTooltip=function(e,t){var n=t.data,r=t.isTotals,i=void 0!==r&&r,o=t.value,a=t.fieldValue,s=t.field,l=t.valueField,c=n,u=this.spreadsheet.isTableMode(),h=[(u?sa(sa({},c),{value:o||a,valueField:s||l}):c)||sa(sa({},t.rowQuery),t.colQuery)],p=this.getTooltipOperator(e,t);this.spreadsheet.showTooltipWithInfo(e,h,{isTotals:i,operator:p,enterable:!0,hideSummary:!0,showSingleTips:u})},t.prototype.emitLinkFieldClickEvent=function(e){var t=this.getCellAppendInfo(e.target).cellData,n=t.valueField,r=t.data;this.spreadsheet.emit(Qi.GLOBAL_LINK_FIELD_JUMP,{key:n,cellData:t,record:Object.assign({rowIndex:t.rowIndex},r)})},t}(cR),hR=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return aa(t,e),t.prototype.bindEvents=function(){this.bindDataCellClick()},t.prototype.bindDataCellClick=function(){var e=this;this.spreadsheet.on(Qi.MERGED_CELLS_CLICK,(function(t){t.stopPropagation();var n=e.spreadsheet.interaction;n.hasIntercepts([$o.CLICK])||n.addIntercepts([$o.HOVER])}))},t}(cR),pR=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isMultiSelection=!1,t.handleRowColClick=function(e){if(e.stopPropagation(),!t.isLinkFieldText(e.target)){var n=t.spreadsheet,r=n.interaction,i=n.options,o=t.spreadsheet.getCell(e.target),a=!(!i.interaction.multiSelection||!t.isMultiSelection);r.selectHeaderCell({cell:o,isMultiSelection:a})&&t.showTooltip(e)}},t.getHideColumnField=function(e){return t.spreadsheet.isTableMode()?e.field:e.id},t}return aa(t,e),t.prototype.bindEvents=function(){this.bindKeyboardDown(),this.bindKeyboardUp(),this.bindColCellClick(),this.bindRowCellClick(),this.bindTableColExpand(),this.bindMouseMove()},t.prototype.reset=function(){this.isMultiSelection=!1,this.spreadsheet.interaction.removeIntercepts([$o.CLICK])},t.prototype.bindKeyboardDown=function(){var e=this;this.spreadsheet.on(Qi.GLOBAL_KEYBOARD_DOWN,(function(t){vS(t)&&(e.isMultiSelection=!0)}))},t.prototype.bindKeyboardUp=function(){var e=this;this.spreadsheet.on(Qi.GLOBAL_KEYBOARD_UP,(function(t){vS(t)&&e.reset()}))},t.prototype.bindMouseMove=function(){var e=this;this.spreadsheet.on(Qi.GLOBAL_MOUSE_MOVE,(function(t){e.isMultiSelection&&!_S(t)&&e.reset()}))},t.prototype.bindRowCellClick=function(){var e=this;this.spreadsheet.on(Qi.ROW_CELL_CLICK,(function(t){e.handleRowColClick(t)}))},t.prototype.bindColCellClick=function(){var e=this;this.spreadsheet.on(Qi.COL_CELL_CLICK,(function(t){e.handleRowColClick(t)}))},t.prototype.showTooltip=function(e){var t=RA(this.spreadsheet,e),n=t.operation;if(t.showTooltip){var r=this.spreadsheet.interaction,i=r.isSelectedState()?Wm(r.getActiveCells(),(function(e){var t=e.getMeta();return Uc({},t.query||{},Av(t,["colIndex","rowIndex"]))})):[],o=this.getTooltipOperator(e,n);this.spreadsheet.showTooltipWithInfo(e,i,{showSingleTips:!0,operator:o})}},t.prototype.getTooltipOperator=function(e,t){var n=this,r=this.spreadsheet.getCell(e.target),i=r.getMeta(),o=r.cellType===Uo.COL_CELL,a=1===this.spreadsheet.getColumnLeafNodes().length,s={key:"hiddenColumns",text:pE("隐藏"),icon:"EyeOutlined"},l=o&&!a&&i.isLeaf&&t.hiddenColumns&&sa(sa({},s),{onClick:function(){n.hideSelectedColumns()}});return wA(t,{defaultMenus:[l],cell:r})},t.prototype.bindTableColExpand=function(){var e=this;this.spreadsheet.on(Qi.LAYOUT_COLS_EXPANDED,(function(t){e.handleExpandIconClick(t)}))},t.prototype.hideSelectedColumns=function(){var e=this.spreadsheet.interaction.getActiveCells().map((function(e){return e.getMeta()})).map(this.getHideColumnField);Nx(this.spreadsheet,e,!0)},t.prototype.handleExpandIconClick=function(e){var t=this.spreadsheet.store.get("hiddenColumnsDetail",[]),n=(Ym(t,(function(t){var n=t.displaySiblingNode;return Ix(n,e.id)}))||{}).hideColumnNodes,r=void 0===n?[]:n,i=this.spreadsheet.options.interaction.hiddenColumnFields,o=r.map(this.getHideColumnField),a=im(i,o),s=t.filter((function(t){var n=t.displaySiblingNode;return!Ix(n,e.id)}));this.spreadsheet.setOptions({interaction:{hiddenColumnFields:a}}),this.spreadsheet.store.set("hiddenColumnsDetail",s),this.spreadsheet.interaction.reset(),this.spreadsheet.render(!1)},t}(cR),dR=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.getRowData=function(e){var n,r=e.getHeadLeafChild(),i=t.spreadsheet.dataSet.getMultiData(null==r?void 0:r.query,null==r?void 0:r.isTotals,!0)[0];return sa(sa({},i),{rowIndex:null!==(n=e.rowIndex)&&void 0!==n?n:r.rowIndex})},t}return aa(t,e),t.prototype.bindEvents=function(){this.bindRowCellClick()},t.prototype.bindRowCellClick=function(){var e=this;this.spreadsheet.on(Qi.ROW_CELL_CLICK,(function(t){if(!e.spreadsheet.interaction.hasIntercepts([$o.CLICK])&&e.isLinkFieldText(t.target)){var n=e.getCellAppendInfo(t.target).cellData,r=n.key,i=e.getRowData(n);e.spreadsheet.emit(Qi.GLOBAL_LINK_FIELD_JUMP,{key:r,cellData:n,record:i})}}))},t}(cR),fR=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return aa(t,e),t.prototype.bindEvents=function(){this.bindCornerCellClick()},t.prototype.bindCornerCellClick=function(){var e=this;this.spreadsheet.on(Qi.CORNER_CELL_CLICK,(function(t){var n,r=e.spreadsheet.interaction,i=e.spreadsheet.getCell(t.target);if(i){var o=i.getMeta(),a=e.getRowNodesByField(null==o?void 0:o.field),s=null===(n=a[0])||void 0===n?void 0:n.belongsCell,l=e.getRowCells(a);if(s&&r.isSelectedCell(s))return r.reset(),void e.spreadsheet.emit(Qi.GLOBAL_SELECTED,r.getActiveCells());$g(a)||$g(l)||(r.addIntercepts([$o.HOVER]),r.changeState({cells:l,stateName:Bo.SELECTED}),r.highlightNodes(a),e.showTooltip(t),e.spreadsheet.emit(Qi.GLOBAL_SELECTED,r.getActiveCells()))}}))},t.prototype.getRowNodesByField=function(e){return this.spreadsheet.getRowNodes().filter((function(t){return t.field===e}))},t.prototype.getRowCells=function(e){return e.map((function(e){return{id:e.id,colIndex:-1,rowIndex:-1,type:Uo.ROW_CELL}}))},t.prototype.showTooltip=function(e){var t=this.spreadsheet.interaction.getActiveCells();this.spreadsheet.showTooltipWithInfo(e,[],{data:{summaries:[{selectedData:t,name:"",value:null}]}})},t}(cR),mR=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return aa(t,e),t.prototype.bindEvents=function(){this.bindCornerCellHover(),this.bindDataCellHover(),this.bindRowCellHover(),this.bindColCellHover()},t.prototype.updateRowColCells=function(e){var t=e.rowId,n=e.colId,r=this.spreadsheet.interaction,i=r.getHoverHighlight(),o=i.rowHeader;i.colHeader&&mx(n,r.getAllColHeaderCells(),Bo.HOVER),o&&t&&dm(fx(t,r.getAllRowHeaderCells(),this.spreadsheet.isHierarchyTreeType()),(function(e){e.updateByState(Bo.HOVER)}))},t.prototype.changeStateToHoverFocus=function(e,t,n){var r,i=this,o=this.spreadsheet.interaction,a=this.spreadsheet.options.interaction.hoverFocus;o.clearHoverTimer();var s=function(){if(!o.hasIntercepts([$o.HOVER])){o.changeState({cells:[bS(e)],stateName:Bo.HOVER_FOCUS});var r=i.spreadsheet.isTableMode(),a={isTotals:n.isTotals,enterable:!0,hideSummary:!0,showSingleTips:r},s=o.getHoverHighlight(),l=s.rowHeader,c=s.colHeader;(l||c)&&i.updateRowColCells(n);var u=i.getCellData(n,r);i.spreadsheet.showTooltipWithInfo(t,u,a)}},l=800;if(Bg(a)||(l=null!==(r=null==a?void 0:a.duration)&&void 0!==r?r:800),0===l)s();else{var c=window.setTimeout((function(){return s()}),l);o.setHoverTimer(c)}},t.prototype.handleHeaderHover=function(e){var t=this.spreadsheet.getCell(e.target);if(!$g(t)){var n=this.spreadsheet.interaction;n.clearHoverTimer(),n.isActiveCell(t)||(n.changeState({cells:[bS(t)],stateName:Bo.HOVER}),t.update(),this.showEllipsisTooltip(e,t))}},t.prototype.showEllipsisTooltip=function(e,t){if(t&&t.getActualText()!==t.getFieldValue()){var n=t.getMeta(),r={isTotals:n.isTotals,enterable:!0,hideSummary:!0,showSingleTips:!0,enableFormat:this.spreadsheet.isPivotMode()},i=this.getCellData(n,!0);this.spreadsheet.showTooltipWithInfo(e,i,r)}},t.prototype.getCellData=function(e,t){void 0===e&&(e={});var n=e.data,r=e.query,i=e.value,o=e.field,a=e.fieldValue,s=e.valueField,l=e.rowQuery,c=e.colQuery,u=n;return t?[sa(sa({},r),{value:i||a,valueField:o||s})]:[u||sa(sa({},l),c)]},t.prototype.bindDataCellHover=function(){var e=this;this.spreadsheet.on(Qi.DATA_CELL_HOVER,(function(t){var n=e.spreadsheet.getCell(t.target);if(!$g(n)){var r=e.spreadsheet,i=r.interaction,o=r.options.interaction,a=null==n?void 0:n.getMeta();if(!i.isActiveCell(n)){i.changeState({cells:[bS(n)],stateName:Bo.HOVER});var s=i.getHoverHighlight(),l=s.rowHeader,c=s.colHeader;(l||c)&&e.updateRowColCells(a),o.hoverFocus&&e.changeStateToHoverFocus(n,t,a)}}}))},t.prototype.bindRowCellHover=function(){var e=this;this.spreadsheet.on(Qi.ROW_CELL_HOVER,(function(t){e.handleHeaderHover(t)}))},t.prototype.bindColCellHover=function(){var e=this;this.spreadsheet.on(Qi.COL_CELL_HOVER,(function(t){e.handleHeaderHover(t)}))},t.prototype.bindCornerCellHover=function(){var e=this;this.spreadsheet.on(Qi.CORNER_CELL_HOVER,(function(t){var n=e.spreadsheet.getCell(t.target);e.showEllipsisTooltip(t,n)}))},t}(cR),gR=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.displayedCells=[],t.brushRangeCells=[],t.brushSelectionStage=Go.UN_DRAGGED,t.brushSelectionMinimumMoveDistance=5,t.scrollAnimationComplete=!0,t.mouseMoveDistanceFromCanvas=0,t.setMoveDistanceFromCanvas=function(e,n,r){var i=0;if(n&&(i=e.x),r){var o=e.y;i=n?Math.max(o,i):o}t.mouseMoveDistanceFromCanvas=Math.abs(i)},t.formatBrushPointForScroll=function(e,n){var r,i,o,a;void 0===n&&(n=!1);var s=e.x,l=e.y,c=t.spreadsheet.facet,u=n?c.cornerBBox:c.panelBBox,h=u.minX,p=u.maxX,d=c.panelBBox,f=d.minY,m=d.maxY,g=(null===(r=t.endBrushPoint)||void 0===r?void 0:r.x)+s,y=(null===(i=t.endBrushPoint)||void 0===i?void 0:i.y)+l,v=!0,_=!0,b=null===(a=null===(o=c.vScrollBar)||void 0===o?void 0:o.getBBox())||void 0===a?void 0:a.width;return g>p?g=p-b-2:gm?y=m-2:y<=f?y=f+2:_=!1,{x:{value:g,needScroll:v},y:{value:y,needScroll:_}}},t.rectanglesIntersect=function(e,t){return e.maxX>t.minX&&e.minXt.minY},t.autoScrollIntervalId=null,t.autoScrollConfig=bd(na),t.validateYIndex=function(e){var n,r,i=t.spreadsheet.facet,o=i.frozenGroupInfo,a=0,s=null===(n=null==o?void 0:o.frozenRow)||void 0===n?void 0:n.range;if(s&&(a=s[1]+1),el?null:e},t.validateXIndex=function(e){var n,r,i=t.spreadsheet.facet,o=i.frozenGroupInfo,a=0,s=null===(n=null==o?void 0:o.frozenCol)||void 0===n?void 0:n.range;if(s&&(a=s[1]+1),el?null:e},t.adjustNextColIndexWithFrozen=function(e,n){var r=t.spreadsheet,i=r.facet,o=r.dataSet,a=r.options,s=o.getDisplayDataSet().length,l=i.layoutResult.colLeafNodes.length,c=pT(a,l,s),u=c.frozenTrailingColCount,h=c.frozenColCount,p=i.panelScrollGroupIndexes;return u>0&&n===Xo.SCROLL_DOWN&&DE(e,u,l)?p[1]:h>0&&n===Xo.SCROLL_UP&&kE(e,h)?p[0]:e},t.adjustNextRowIndexWithFrozen=function(e,n){var r=t.spreadsheet,i=r.facet,o=r.dataSet,a=r.options,s=o.getDisplayDataSet().length,l=i.layoutResult.colLeafNodes.length,c=i.getCellRange(),u=pT(a,l,s),h=u.frozenTrailingRowCount,p=u.frozenRowCount,d=i.panelScrollGroupIndexes;return h>0&&n===Xo.SCROLL_DOWN&&ME(e,c.end,h)?d[3]:p>0&&n===Xo.SCROLL_UP&&PE(e,c.start,p)?d[2]:e},t.getWillScrollRowIndexDiff=function(e){return e===Xo.SCROLL_DOWN?Zo.SCROLL_DOWN:Zo.SCROLL_UP},t.getDefaultWillScrollToRowIndex=function(e){var n=t.adjustNextRowIndexWithFrozen(t.endBrushPoint.rowIndex,e)+t.getWillScrollRowIndexDiff(e);return t.validateYIndex(n)},t.getWillScrollToRowIndex=function(e){return t.getDefaultWillScrollToRowIndex(e)},t.getNextScrollDelta=function(e){var n=t.spreadsheet.facet.getScrollOffset(),r=n.scrollX,i=n.scrollY,o=0,a=0;if(e.y.scroll){var s=e.y.value>0?Xo.SCROLL_DOWN:Xo.SCROLL_UP,l=t.getWillScrollToRowIndex(s),c=function(e,t,n){var r,i,o=n.facet,a=o.viewCellHeights.getCellOffsetY,s=o.panelBBox.height,l=a(e+1);if(Jg(l))return 0;var c=null==o?void 0:o.frozenGroupInfo,u=null!==(r=null==c?void 0:c.frozenRow.height)&&void 0!==r?r:0,h=null!==(i=null==c?void 0:c.frozenTrailingRow.height)&&void 0!==i?i:0;return t===Xo.SCROLL_UP?a(e)-u:l-(s-h)}(l,s,t.spreadsheet)-i;a=Jg(l)||Jg(c)||Number.isNaN(c)?0:c}if(e.x.scroll){s=e.x.value>0?Xo.SCROLL_DOWN:Xo.SCROLL_UP;var u=t.adjustNextColIndexWithFrozen(t.endBrushPoint.colIndex,s),h=t.validateXIndex(u+(e.x.value>0?1:-1));o=Jg(h)?0:function(e,t,n){var r,i,o=n.facet,a=o.panelBBox.width,s=null==o?void 0:o.frozenGroupInfo,l=null!==(r=null==s?void 0:s.frozenCol.width)&&void 0!==r?r:0,c=null!==(i=null==s?void 0:s.frozenTrailingCol.width)&&void 0!==i?i:0,u=o.layoutResult.colLeafNodes[e];return t===Xo.SCROLL_UP?u.x-l:u.x+u.width-(a-c)}(h,s,t.spreadsheet)-r}return{x:o,y:a}},t.onScrollAnimationComplete=function(){t.scrollAnimationComplete=!0,t.brushSelectionStage!==Go.UN_DRAGGED&&t.renderPrepareSelected(t.endBrushPoint)},t.autoScroll=function(e){if(void 0===e&&(e=!1),t.brushSelectionStage!==Go.UN_DRAGGED&&t.scrollAnimationComplete){var n=t.autoScrollConfig,r=t.spreadsheet.facet.getScrollOffset(),i=e?"rowHeaderOffsetX":"offsetX",o={rowHeaderOffsetX:{value:r.rowHeaderScrollX,animate:!0},offsetX:{value:r.scrollX,animate:!0},offsetY:{value:r.scrollY,animate:!0}},a=t.getNextScrollDelta(n),s=a.x,l=a.y;if(0!==l||0!==s){if(n.y.scroll&&(o.offsetY.value+=l),n.x.scroll){var c=o[i];c.value+=s,c.value<0&&(c.value=0)}t.scrollAnimationComplete=!1;var u=n.x.scroll?1:3,h=Math.max(16,300-t.mouseMoveDistanceFromCanvas*u);t.spreadsheet.facet.scrollWithAnimation(o,h,t.onScrollAnimationComplete)}else t.clearAutoScroll()}},t.handleScroll=G_((function(e,n,r){if(void 0===r&&(r=!1),t.brushSelectionStage!==Go.UN_DRAGGED){var i=t.formatBrushPointForScroll({x:e,y:n},r),o=i.x,a=o.value,s=o.needScroll,l=i.y,c=l.value,u=l.needScroll,h=t.autoScrollConfig;u&&(h.y.value=n,h.y.scroll=!0),s&&(h.x.value=e,h.x.scroll=!0),t.setMoveDistanceFromCanvas({x:e,y:n},s,u),t.renderPrepareSelected({x:a,y:c}),(u||s)&&(t.clearAutoScroll(),t.autoScroll(r),t.autoScrollIntervalId=setInterval((function(){t.autoScroll(r)}),16))}}),30),t.clearAutoScroll=function(){t.autoScrollIntervalId&&(clearInterval(t.autoScrollIntervalId),t.autoScrollIntervalId=null,t.resetScrollDelta())},t.onUpdateCells=function(e,t){return t()},t.showPrepareSelectedCells=function(){t.brushRangeCells=t.getBrushRangeCells(),t.spreadsheet.interaction.changeState({cells:Wm(t.brushRangeCells,(function(e){return bS(e)})),stateName:Bo.PREPARE_SELECT,force:!0,onUpdateCells:t.onUpdateCells})},t.renderPrepareSelected=function(e){var n=e.x,r=e.y,i=t.spreadsheet.container.getShape(n,r),o=t.spreadsheet.getCell(i);if(o&&(o instanceof Ex||o instanceof pS||o instanceof tS)){var a=o.getMeta(),s=a.rowIndex,l=a.colIndex;t.endBrushPoint={x:n,y:r,rowIndex:s,colIndex:l};var c=t.spreadsheet.interaction;c.addIntercepts([$o.HOVER]),c.clearStyleIndependent(),t.isValidBrushSelection()&&(t.showPrepareSelectedCells(),t.updatePrepareSelectMask())}},t}return aa(t,e),t.prototype.bindEvents=function(){this.bindMouseDown(),this.bindMouseMove(),this.bindMouseUp()},t.prototype.getPrepareSelectMaskTheme=function(){var e;return null===(e=this.spreadsheet.theme)||void 0===e?void 0:e.prepareSelectMask},t.prototype.initPrepareSelectMaskShape=function(){var e=this.spreadsheet.foregroundGroup;if(e){e.removeChild(this.prepareSelectMaskShape);var t=this.getPrepareSelectMaskTheme();this.prepareSelectMaskShape=e.addShape("rect",{visible:!1,attrs:{width:0,height:0,x:0,y:0,fill:null==t?void 0:t.backgroundColor,fillOpacity:null==t?void 0:t.backgroundOpacity,zIndex:5},capture:!1})}},t.prototype.setBrushSelectionStage=function(e){this.brushSelectionStage=e},t.prototype.isPointInCanvas=function(e){var t=this.spreadsheet.facet.getCanvasHW(),n=t.height,r=t.width,i=this.spreadsheet.facet.panelBBox,o=i.minX,a=i.minY;return e.x>o&&e.xa&&e.ythis.brushSelectionMinimumMoveDistance||n.y-t.y>this.brushSelectionMinimumMoveDistance},t.prototype.setDisplayedCells=function(){this.displayedCells=this.spreadsheet.interaction.getPanelGroupAllDataCells()},t.prototype.updatePrepareSelectMask=function(){var e=this.getBrushRange(),t=this.getPrepareSelectMaskPosition(e),n=t.x,r=t.y;this.prepareSelectMaskShape.attr({x:n,y:r,width:e.width,height:e.height}),this.prepareSelectMaskShape.show()},t.prototype.hidePrepareSelectMaskShape=function(){var e;null===(e=this.prepareSelectMaskShape)||void 0===e||e.hide()},t.prototype.resetScrollDelta=function(){this.autoScrollConfig=bd(na)},t.prototype.getBrushPoint=function(e){var t=this.spreadsheet.facet.getScrollOffset(),n=t.scrollY,r=t.scrollX,i={x:null==e?void 0:e.x,y:null==e?void 0:e.y},o=this.spreadsheet.getCell(e.target).getMeta(),a=o.colIndex,s=o.rowIndex;return sa(sa({},i),{rowIndex:s,colIndex:a,scrollY:n,scrollX:r})},t.prototype.getBrushRange=function(){var e,t,n,r,i,o,a,s,l=this.spreadsheet.facet.getScrollOffset(),c=l.scrollX,u=l.scrollY,h=Math.min(this.startBrushPoint.rowIndex,null===(e=this.endBrushPoint)||void 0===e?void 0:e.rowIndex),p=Math.max(this.startBrushPoint.rowIndex,null===(t=this.endBrushPoint)||void 0===t?void 0:t.rowIndex),d=Math.min(this.startBrushPoint.colIndex,null===(n=this.endBrushPoint)||void 0===n?void 0:n.colIndex),f=Math.max(this.startBrushPoint.colIndex,null===(r=this.endBrushPoint)||void 0===r?void 0:r.colIndex),m=this.startBrushPoint.x+this.startBrushPoint.scrollX-c,g=this.startBrushPoint.y+this.startBrushPoint.scrollY-u,y=Math.min(m,null===(i=this.endBrushPoint)||void 0===i?void 0:i.x),v=Math.max(m,null===(o=this.endBrushPoint)||void 0===o?void 0:o.x),_=Math.min(g,null===(a=this.endBrushPoint)||void 0===a?void 0:a.y),b=Math.max(g,null===(s=this.endBrushPoint)||void 0===s?void 0:s.y);return{start:{rowIndex:h,colIndex:d,x:y,y:_},end:{rowIndex:p,colIndex:f,x:v,y:b},width:v-y,height:b-_}},t.prototype.getBrushRangeCells=function(){var e=this;return this.setDisplayedCells(),this.displayedCells.filter((function(t){var n=t.getMeta();return e.isInBrushRange(n)}))},t.prototype.mouseDown=function(e){var t;null===(t=null==e?void 0:e.preventDefault)||void 0===t||t.call(e),this.spreadsheet.interaction.hasIntercepts([$o.CLICK])||(this.setBrushSelectionStage(Go.CLICK),this.initPrepareSelectMaskShape(),this.setDisplayedCells(),this.startBrushPoint=this.getBrushPoint(e))},t.prototype.addBrushIntercepts=function(){this.spreadsheet.interaction.addIntercepts([$o.BRUSH_SELECTION])},t.prototype.bindMouseUp=function(e){var t=this;void 0===e&&(e=!1),this.spreadsheet.on(Qi.GLOBAL_MOUSE_UP,(function(n){if(t.brushSelectionStage===Go.DRAGGED){if(e&&t.clearAutoScroll(),t.isValidBrushSelection()){t.addBrushIntercepts(),t.updateSelectedCells();var r=AA(t.spreadsheet);t.spreadsheet.showTooltipWithInfo(n,r)}t.spreadsheet.interaction.getCurrentStateName()===Bo.PREPARE_SELECT&&t.spreadsheet.interaction.reset(),t.resetDrag()}else t.resetDrag()})),this.spreadsheet.on(Qi.GLOBAL_CONTEXT_MENU,(function(){t.brushSelectionStage!==Go.UN_DRAGGED&&(t.spreadsheet.interaction.removeIntercepts([$o.HOVER]),t.resetDrag())}))},t.prototype.autoBrushScroll=function(e,t){var n,r;if(void 0===t&&(t=!1),this.clearAutoScroll(),!this.isPointInCanvas(e)){var i=(null==e?void 0:e.x)-(null===(n=this.endBrushPoint)||void 0===n?void 0:n.x),o=(null==e?void 0:e.y)-(null===(r=this.endBrushPoint)||void 0===r?void 0:r.y);return this.handleScroll(i,o,t),!0}return!1},t.prototype.emitBrushSelectionEvent=function(e,t){this.spreadsheet.emit(e,t),this.spreadsheet.emit(Qi.GLOBAL_SELECTED,t),$g(t)&&this.spreadsheet.interaction.removeIntercepts([$o.HOVER])},t.prototype.getVisibleBrushRangeCells=function(e){return this.brushRangeCells.find((function(t){var n=t.getMeta();return(null==n?void 0:n.id)===e}))},t.prototype.isInBrushRange=function(e){return!1},t.prototype.bindMouseDown=function(){},t.prototype.bindMouseMove=function(){},t.prototype.updateSelectedCells=function(){},t.prototype.getPrepareSelectMaskPosition=function(e){return{x:e.start.x,y:e.start.y}},t}(cR),yR=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.displayedCells=[],t.brushRangeCells=[],t.onUpdateCells=function(e){return e.updateCells(e.getAllColHeaderCells())},t}return aa(t,e),t.prototype.bindEvents=function(){this.bindMouseDown(),this.bindMouseMove(),this.bindMouseUp()},t.prototype.bindMouseDown=function(){var t=this;this.spreadsheet.on(Qi.COL_CELL_MOUSE_DOWN,(function(n){e.prototype.mouseDown.call(t,n)}))},t.prototype.isPointInCanvas=function(e){var t=this.spreadsheet.facet.getCanvasHW().width,n=this.spreadsheet.facet.cornerBBox,r=n.width,i=n.minY,o=n.maxY;return e.x>=r&&e.x<=t&&e.y>=i&&e.y<=o},t.prototype.bindMouseMove=function(){var e=this;this.spreadsheet.on(Qi.COL_CELL_MOUSE_MOVE,(function(t){if(e.brushSelectionStage!==Go.UN_DRAGGED){e.setBrushSelectionStage(Go.DRAGGED);var n=e.spreadsheet.container.getPointByEvent(t.originalEvent);e.isPointInCanvas(n)&&e.renderPrepareSelected(n)}}))},t.prototype.setDisplayedCells=function(){this.displayedCells=this.spreadsheet.interaction.getAllColHeaderCells()},t.prototype.isInBrushRange=function(e){var t=this.getBrushRange(),n=t.start,r=t.end,i=this.spreadsheet.facet.getScrollOffset().scrollX,o=this.spreadsheet.facet.cornerBBox,a=e.x,s=void 0===a?0:a,l=e.y,c=void 0===l?0:l,u=e.width,h=void 0===u?0:u,p=e.height,d=void 0===p?0:p;return this.rectanglesIntersect({minX:n.x-o.width+i,minY:n.y,maxX:r.x-o.width+i,maxY:r.y},{minX:s,maxX:s+h,minY:c,maxY:c+d})},t.prototype.updateSelectedCells=function(){var e=this.spreadsheet.interaction;e.changeState({cells:Wm(this.brushRangeCells,bS),stateName:Bo.SELECTED,onUpdateCells:function(e){e.updateCells(e.getAllColHeaderCells())}}),this.spreadsheet.emit(Qi.COL_CELL_BRUSH_SELECTION,this.brushRangeCells),this.spreadsheet.emit(Qi.GLOBAL_SELECTED,this.brushRangeCells),$g(this.brushRangeCells)&&e.removeIntercepts([$o.HOVER])},t.prototype.addBrushIntercepts=function(){this.spreadsheet.interaction.addIntercepts([$o.COL_BRUSH_SELECTION])},t}(gR),vR=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.displayedCells=[],t.brushRangeCells=[],t.getSelectedCellMetas=function(e){var n=[],r=t.spreadsheet.facet.layoutResult,i=r.rowLeafNodes,o=void 0===i?[]:i,a=r.colLeafNodes,s=void 0===a?[]:a,l=$v(e.start.rowIndex,e.end.rowIndex+1),c=$v(e.start.colIndex,e.end.colIndex+1);return l.forEach((function(e){c.forEach((function(r){var i=String(s[r].id),a=$g(o)?String(e):String(o[e].id);n.push({colIndex:r,rowIndex:e,id:"".concat(a,"-").concat(i),type:Uo.DATA_CELL,rowId:a,colId:i,spreadsheet:t.spreadsheet})}))})),n},t}return aa(t,e),t.prototype.bindMouseDown=function(){var t=this;this.spreadsheet.on(Qi.DATA_CELL_MOUSE_DOWN,(function(n){e.prototype.mouseDown.call(t,n),t.resetScrollDelta()}))},t.prototype.bindMouseMove=function(){var e=this;this.spreadsheet.on(Qi.GLOBAL_MOUSE_MOVE,(function(t){if(e.brushSelectionStage!==Go.UN_DRAGGED){e.setBrushSelectionStage(Go.DRAGGED);var n=e.spreadsheet.container.getPointByEvent(t);e.autoBrushScroll(n)||e.renderPrepareSelected(n)}}))},t.prototype.isInBrushRange=function(e){var t=this.getBrushRange(),n=t.start,r=t.end,i=e.rowIndex,o=e.colIndex;return i>=n.rowIndex&&i<=r.rowIndex&&o>=n.colIndex&&o<=r.colIndex},t.prototype.updateSelectedCells=function(){var e=this.getBrushRange(),t=this.getSelectedCellMetas(e);this.spreadsheet.interaction.changeState({cells:t,stateName:Bo.SELECTED,onUpdateCells:SS});var n=this.getScrollBrushRangeCells(t);this.emitBrushSelectionEvent(Qi.DATA_CELL_BRUSH_SELECTION,n)},t.prototype.getScrollBrushRangeCells=function(e){var t=this;return e.map((function(e){var n=t.getVisibleBrushRangeCells(e.id);if(n)return n;var r=t.spreadsheet.facet.layoutResult.getCellMeta(e.rowIndex,e.colIndex);return new(t.spreadsheet.isTableMode()?gS:Ex)(r,t.spreadsheet)}))},t.prototype.bindMouseUp=function(){e.prototype.bindMouseUp.call(this,!0)},t.prototype.getPrepareSelectMaskPosition=function(e){var t=this.spreadsheet.facet.panelBBox,n=t.minX,r=t.minY;return{x:Math.max(e.start.x,n),y:Math.max(e.start.y,r)}},t}(gR),_R=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isInBrushRange=function(e){var n=t.getBrushRange(),r=n.start,i=n.end,o=t.spreadsheet.facet.getScrollOffset(),a=o.scrollY,s=o.rowHeaderScrollX,l=t.spreadsheet.facet.cornerBBox,c=e.x,u=void 0===c?0:c,h=e.y,p=void 0===h?0:h,d=e.width,f=void 0===d?0:d,m=e.height,g=void 0===m?0:m;return t.rectanglesIntersect({minX:r.x+s,minY:r.y-l.height+a,maxX:i.x+s,maxY:i.y-l.height+a},{minX:u,maxX:u+f,minY:p,maxY:p+g})},t.onUpdateCells=function(e){return e.updateCells(e.getAllRowHeaderCells())},t.getSelectedRowNodes=function(){return t.spreadsheet.getRowNodes().filter(t.isInBrushRange)},t.getVisibleRowLeafCellByScrollDirection=function(e){var n=t.spreadsheet.interaction.getAllRowHeaderCells();return e===Xo.SCROLL_DOWN?om(n):n.find((function(e){return e.getMeta().isLeaf}))},t.getWillScrollToRowIndex=function(e){var n,r;if(!Jg(t.endBrushPoint.rowIndex))return t.getDefaultWillScrollToRowIndex(e);var i=t.getVisibleRowLeafCellByScrollDirection(e),o=(null!==(r=null===(n=null==i?void 0:i.getMeta())||void 0===n?void 0:n.rowIndex)&&void 0!==r?r:0)+t.getWillScrollRowIndexDiff(e);return t.validateYIndex(o)},t}return aa(t,e),t.prototype.bindMouseDown=function(){var t=this;this.spreadsheet.on(Qi.ROW_CELL_MOUSE_DOWN,(function(n){e.prototype.mouseDown.call(t,n)}))},t.prototype.isPointInCanvas=function(e){var t=this.spreadsheet.facet.getCanvasHW().height,n=this.spreadsheet.facet.cornerBBox,r=n.minX,i=n.height,o=n.maxX;return e.x>=r&&e.x<=o&&e.y>=i&&e.y<=t},t.prototype.bindMouseMove=function(){var e=this;this.spreadsheet.on(Qi.GLOBAL_MOUSE_MOVE,(function(t){if(e.brushSelectionStage!==Go.UN_DRAGGED){e.setBrushSelectionStage(Go.DRAGGED);var n=e.spreadsheet.container.getPointByEvent(t);e.autoBrushScroll(n,!0)||e.renderPrepareSelected(n)}}))},t.prototype.setDisplayedCells=function(){this.displayedCells=this.spreadsheet.interaction.getAllRowHeaderCells()},t.prototype.updateSelectedCells=function(){var e=this.getSelectedRowNodes(),t=this.getScrollBrushRangeCells(e),n=Wm(t,bS);this.spreadsheet.interaction.changeState({cells:n,stateName:Bo.SELECTED,onUpdateCells:this.onUpdateCells}),this.emitBrushSelectionEvent(Qi.ROW_CELL_BRUSH_SELECTION,t)},t.prototype.addBrushIntercepts=function(){this.spreadsheet.interaction.addIntercepts([$o.ROW_BRUSH_SELECTION])},t.prototype.getScrollBrushRangeCells=function(e){var t=this;return e.map((function(e){return t.getVisibleBrushRangeCells(e.id)||new pS(e,t.spreadsheet)}))},t.prototype.getPrepareSelectMaskPosition=function(e){var t=this.spreadsheet.facet.panelBBox.minY;return{x:e.start.x,y:Math.max(e.start.y,t)}},t}(gR),bR=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isMultiSelection=!1,t}return aa(t,e),t.prototype.bindEvents=function(){this.bindKeyboardDown(),this.bindDataCellClick(),this.bindKeyboardUp(),this.bindMouseMove()},t.prototype.reset=function(){this.isMultiSelection=!1,this.spreadsheet.interaction.removeIntercepts([$o.CLICK])},t.prototype.bindKeyboardDown=function(){var e=this;this.spreadsheet.on(Qi.GLOBAL_KEYBOARD_DOWN,(function(t){vS(t)&&(e.isMultiSelection=!0,e.spreadsheet.interaction.addIntercepts([$o.CLICK]))}))},t.prototype.bindKeyboardUp=function(){var e=this;this.spreadsheet.on(Qi.GLOBAL_KEYBOARD_UP,(function(t){vS(t)&&e.reset()}))},t.prototype.bindMouseMove=function(){var e=this;this.spreadsheet.on(Qi.GLOBAL_MOUSE_MOVE,(function(t){e.isMultiSelection&&!_S(t)&&e.reset()}))},t.prototype.getSelectedCells=function(e){var t=e.getMeta().id,n=this.spreadsheet.interaction,r=n.getCells([Uo.DATA_CELL]);return n.getCurrentStateName()!==Bo.SELECTED&&(r=[]),r.find((function(e){return e.id===t}))?r.filter((function(e){return e.id!==t})):ha(ha([],ua(r),!1),[bS(e)],!1)},t.prototype.bindDataCellClick=function(){var e=this;this.spreadsheet.on(Qi.DATA_CELL_CLICK,(function(t){t.stopPropagation();var n=e.spreadsheet.getCell(t.target),r=n.getMeta(),i=e.spreadsheet,o=i.interaction;if(i.options,e.isMultiSelection&&r){var a=e.getSelectedCells(n);if($g(a))return o.clearState(),void e.spreadsheet.hideTooltip();o.addIntercepts([$o.CLICK,$o.HOVER]),e.spreadsheet.hideTooltip(),o.changeState({cells:a,stateName:Bo.SELECTED,onUpdateCells:SS}),e.spreadsheet.emit(Qi.GLOBAL_SELECTED,o.getActiveCells()),e.spreadsheet.showTooltipWithInfo(t,AA(e.spreadsheet))}}))},t}(cR),ER=function(){function e(e){var t=this;this.canvasEventHandlers=[],this.s2EventHandlers=[],this.domEventListeners=[],this.isCanvasEffect=!1,this.isGuiIconShape=function(e){return e instanceof Ti&&e.attrs.type===nT.type},this.onCanvasMousedown=function(e){if(t.target=e.target,t.spreadsheet.interaction.clearHoverTimer(),t.isResizeArea(e)){t.spreadsheet.emit(Qi.LAYOUT_RESIZE_MOUSE_DOWN,e);var n=function(n){if(!t.spreadsheet.getCanvasElement())return!1;t.spreadsheet.getCanvasElement()!==n.target&&(e.clientX=n.clientX,e.clientY=n.clientY,e.originalEvent=n,t.spreadsheet.emit(Qi.LAYOUT_RESIZE_MOUSE_MOVE,e))};return window.addEventListener("mousemove",n),void window.addEventListener("mouseup",(function(){window.removeEventListener("mousemove",n)}),{once:!0})}switch(t.spreadsheet.getCellType(e.target)){case Uo.DATA_CELL:t.spreadsheet.emit(Qi.DATA_CELL_MOUSE_DOWN,e);break;case Uo.ROW_CELL:t.spreadsheet.emit(Qi.ROW_CELL_MOUSE_DOWN,e);break;case Uo.COL_CELL:t.spreadsheet.emit(Qi.COL_CELL_MOUSE_DOWN,e);break;case Uo.CORNER_CELL:t.spreadsheet.emit(Qi.CORNER_CELL_MOUSE_DOWN,e);break;case Uo.MERGED_CELL:t.spreadsheet.emit(Qi.MERGED_CELLS_MOUSE_DOWN,e)}},this.onCanvasMousemove=function(e){if(t.canvasMousemoveEvent=e,t.isResizeArea(e))return t.activeResizeArea(e),void t.spreadsheet.emit(Qi.LAYOUT_RESIZE_MOUSE_MOVE,e);t.resetResizeArea();var n=t.spreadsheet.getCell(e.target);if(n){var r=n.cellType;switch(r){case Uo.DATA_CELL:t.spreadsheet.emit(Qi.DATA_CELL_MOUSE_MOVE,e);break;case Uo.ROW_CELL:t.spreadsheet.emit(Qi.ROW_CELL_MOUSE_MOVE,e);break;case Uo.COL_CELL:t.spreadsheet.emit(Qi.COL_CELL_MOUSE_MOVE,e);break;case Uo.CORNER_CELL:t.spreadsheet.emit(Qi.CORNER_CELL_MOUSE_MOVE,e);break;case Uo.MERGED_CELL:t.spreadsheet.emit(Qi.MERGED_CELLS_MOUSE_MOVE,e)}if(!t.hasBrushSelectionIntercepts())switch(t.spreadsheet.emit(Qi.GLOBAL_HOVER,e),r){case Uo.DATA_CELL:t.spreadsheet.emit(Qi.DATA_CELL_HOVER,e);break;case Uo.ROW_CELL:t.spreadsheet.emit(Qi.ROW_CELL_HOVER,e);break;case Uo.COL_CELL:t.spreadsheet.emit(Qi.COL_CELL_HOVER,e);break;case Uo.CORNER_CELL:t.spreadsheet.emit(Qi.CORNER_CELL_HOVER,e);break;case Uo.MERGED_CELL:t.spreadsheet.emit(Qi.MERGED_CELLS_HOVER,e)}}},this.onCanvasMouseup=function(e){if(t.isResizeArea(e))t.spreadsheet.emit(Qi.LAYOUT_RESIZE_MOUSE_UP,e);else{var n=t.spreadsheet.getCell(e.target);if(n){var r=n.cellType;if(t.target===e.target){var i=t.isGuiIconShape(e.target);switch(r){case Uo.DATA_CELL:t.spreadsheet.emit(Qi.DATA_CELL_CLICK,e);break;case Uo.ROW_CELL:if(i)break;t.spreadsheet.emit(Qi.ROW_CELL_CLICK,e);break;case Uo.COL_CELL:if(i)break;t.spreadsheet.emit(Qi.COL_CELL_CLICK,e);break;case Uo.CORNER_CELL:if(i)break;t.spreadsheet.emit(Qi.CORNER_CELL_CLICK,e);break;case Uo.MERGED_CELL:t.spreadsheet.emit(Qi.MERGED_CELLS_CLICK,e)}}switch(r){case Uo.DATA_CELL:t.spreadsheet.emit(Qi.DATA_CELL_MOUSE_UP,e);break;case Uo.ROW_CELL:t.spreadsheet.emit(Qi.ROW_CELL_MOUSE_UP,e);break;case Uo.COL_CELL:t.spreadsheet.emit(Qi.COL_CELL_MOUSE_UP,e);break;case Uo.CORNER_CELL:t.spreadsheet.emit(Qi.CORNER_CELL_MOUSE_UP,e);break;case Uo.MERGED_CELL:t.spreadsheet.emit(Qi.MERGED_CELLS_MOUSE_UP,e)}}}},this.onCanvasClick=function(e){t.spreadsheet.emit(Qi.GLOBAL_CLICK,e)},this.onCanvasDoubleClick=function(e){var n=t.spreadsheet;if(t.isResizeArea(e))n.emit(Qi.LAYOUT_RESIZE_MOUSE_UP,e);else{n.emit(Qi.GLOBAL_DOUBLE_CLICK,e);var r=n.getCell(e.target);if(r){var i=r.cellType;if(t.target===e.target)switch(i){case Uo.DATA_CELL:n.emit(Qi.DATA_CELL_DOUBLE_CLICK,e);break;case Uo.ROW_CELL:n.emit(Qi.ROW_CELL_DOUBLE_CLICK,e);break;case Uo.COL_CELL:n.emit(Qi.COL_CELL_DOUBLE_CLICK,e);break;case Uo.CORNER_CELL:n.emit(Qi.CORNER_CELL_DOUBLE_CLICK,e);break;case Uo.MERGED_CELL:n.emit(Qi.MERGED_CELLS_DOUBLE_CLICK,e)}}}},this.onCanvasMouseout=function(e){if(t.isAutoResetSheetStyle&&!(null==e?void 0:e.shape)){var n=t.spreadsheet.interaction;n.isSelectedState()||n.intercepts.size>0||n.reset()}},this.onCanvasContextMenu=function(e){var n=t.spreadsheet;if(t.isResizeArea(e))n.emit(Qi.LAYOUT_RESIZE_MOUSE_UP,e);else switch(n.emit(Qi.GLOBAL_CONTEXT_MENU,e),t.spreadsheet.getCellType(e.target)){case Uo.DATA_CELL:t.spreadsheet.emit(Qi.DATA_CELL_CONTEXT_MENU,e);break;case Uo.ROW_CELL:t.spreadsheet.emit(Qi.ROW_CELL_CONTEXT_MENU,e);break;case Uo.COL_CELL:t.spreadsheet.emit(Qi.COL_CELL_CONTEXT_MENU,e);break;case Uo.CORNER_CELL:t.spreadsheet.emit(Qi.CORNER_CELL_CONTEXT_MENU,e);break;case Uo.MERGED_CELL:t.spreadsheet.emit(Qi.MERGED_CELLS_CONTEXT_MENU,e)}},this.spreadsheet=e,this.bindEvents()}return Object.defineProperty(e.prototype,"canvasContainer",{get:function(){return this.spreadsheet.container},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isAutoResetSheetStyle",{get:function(){return this.spreadsheet.options.interaction.autoResetSheetStyle},enumerable:!1,configurable:!0}),e.prototype.bindEvents=function(){var e=this;this.clearAllEvents(),this.addCanvasEvent(Zi.CLICK,this.onCanvasClick),this.addCanvasEvent(Zi.MOUSE_DOWN,this.onCanvasMousedown),this.addCanvasEvent(Zi.MOUSE_MOVE,this.onCanvasMousemove),this.addCanvasEvent(Zi.MOUSE_OUT,this.onCanvasMouseout),this.addCanvasEvent(Zi.MOUSE_UP,this.onCanvasMouseup),this.addCanvasEvent(Zi.DOUBLE_CLICK,this.onCanvasDoubleClick),this.addCanvasEvent(Zi.CONTEXT_MENU,this.onCanvasContextMenu),this.addS2Event(Qi.GLOBAL_ACTION_ICON_CLICK,(function(){e.spreadsheet.interaction.addIntercepts([$o.HOVER]),e.spreadsheet.interaction.clearState()})),this.addDomEventListener(window,Zi.CLICK,(function(t){e.resetSheetStyle(t),e.isCanvasEffect=e.isMouseOnTheCanvasContainer(t)})),this.addDomEventListener(window,Zi.KEY_DOWN,(function(t){e.onKeyboardCopy(t),e.onKeyboardEsc(t),e.spreadsheet.emit(Qi.GLOBAL_KEYBOARD_DOWN,t)})),this.addDomEventListener(window,Zi.KEY_UP,(function(t){e.spreadsheet.emit(Qi.GLOBAL_KEYBOARD_UP,t)})),this.addDomEventListener(window,Zi.MOUSE_UP,(function(t){e.spreadsheet.emit(Qi.GLOBAL_MOUSE_UP,t)})),this.addDomEventListener(window,Zi.MOUSE_MOVE,(function(t){e.spreadsheet.emit(Qi.GLOBAL_MOUSE_MOVE,t)}))},e.prototype.onKeyboardCopy=function(e){if(this.isCanvasEffect&&this.spreadsheet.options.interaction.enableCopy&&jT(e.key,Yo.COPY)&&(e.metaKey||e.ctrlKey)){var t=function(e){var t,n,r,i,o=e.interaction,a=o.getState().cells||[],s=null!==(t=o.getInteractedCells())&&void 0!==t?t:[];return(n=!$g(s)&&Nm(s,(function(e){return e.cellType===Uo.ROW_CELL||e.cellType===Uo.COL_CELL}))?function(e){var t,n=function(e){var t=new Set;return dm(e,(function(e){var n=e.getMeta().level;t.has(n)||t.add(n)})),t}(e),r=null!==(t=gy(Array.from(n)))&&void 0!==t?t:0,i=function(e,t){return Dm(e,(function(e){var n=e.getMeta(),r=n.level===t,i=n.isTotals&&$g(n.children);return r||i}))}(e,r),o=e[0].cellType===Uo.COL_CELL,a=function(e,t,n){return Wm(e,(function(e){var r=e.getMeta(),i=r.id,o=r.label,a=r.isTotals,s=r.level,l=i;return a&&s!==t&&(l=i+So+Qv(o,t-s)),VT(l,n.size)}))}(i,r,n);return o&&(a=Ab.apply(void 0,ha([],ua(a),!1))),[qT(GT.PLAIN)(a),qT(GT.HTML)(a)]}(s):tx(e,a))&&ix(n),r=n,void 0===(i=GT.PLAIN)&&(i=GT.PLAIN),Array.isArray(i)?[].concat(r).filter((function(e){return i.includes(e.type)})).map((function(e){return e.content})):[].concat(r).filter((function(e){return(null==e?void 0:e.type)===i})).map((function(e){return e.content}))[0]||""}(this.spreadsheet);Jg(t)||this.spreadsheet.emit(Qi.GLOBAL_COPIED,t)}},e.prototype.onKeyboardEsc=function(e){this.isCanvasEffect&&jT(e.key,Yo.ESC)&&this.resetSheetStyle(e)},e.prototype.resetSheetStyle=function(e){if(this.isAutoResetSheetStyle&&this.spreadsheet){var t=this.spreadsheet.interaction;t.hasIntercepts([$o.BRUSH_SELECTION,$o.COL_BRUSH_SELECTION,$o.ROW_BRUSH_SELECTION])?t.removeIntercepts([$o.BRUSH_SELECTION,$o.ROW_BRUSH_SELECTION,$o.COL_BRUSH_SELECTION]):this.isMouseOnTheTooltip(e)||this.isMouseOnTheCanvasContainer(e)||(this.spreadsheet.emit(Qi.GLOBAL_RESET,e),t.reset())}},e.prototype.isMouseEvent=function(e){return uf(e,"clientX")&&uf(e,"clientY")},e.prototype.isMouseOnTheCanvasContainer=function(e){if(this.isMouseEvent(e)){var t=this.spreadsheet.getCanvasElement();if(!t)return!1;var n=t.getBoundingClientRect()||{},r=n.x,i=n.y,o=this.getContainerRect(),a=o.width,s=o.height;return t.contains(e.target)&&e.clientX<=r+a&&e.clientY<=i+s}return!1},e.prototype.getContainerRect=function(){var e,t=(null===(e=this.spreadsheet.facet)||void 0===e?void 0:e.panelBBox)||{},n=t.maxX,r=t.maxY,i=this.spreadsheet.options,o=i.width,a=i.height;return{width:Math.min(o,n),height:Math.min(a,r)}},e.prototype.isMouseOnTheTooltip=function(e){var t,n,r,i,o=this.spreadsheet.tooltip;if(!(null==o?void 0:o.visible))return!1;var a=(null===(r=null===(n=null===(t=this.spreadsheet.tooltip)||void 0===t?void 0:t.container)||void 0===n?void 0:n.getBoundingClientRect)||void 0===r?void 0:r.call(n))||{},s=a.x,l=a.y,c=a.width,u=a.height;return e.target instanceof Node?function(e,t){for(var n=!1,r=t;r&&r!==document.body;){if(e===r){n=!0;break}r=r.parentElement}return n}(null===(i=this.spreadsheet.tooltip)||void 0===i?void 0:i.container,e.target):!!this.isMouseEvent(e)&&e.clientX>=s&&e.clientX<=s+c&&e.clientY>=l&&e.clientY<=l+u},e.prototype.isResizeArea=function(e){var t=vu(e.target,"attrs.appendInfo");return null==t?void 0:t.isResizeArea},e.prototype.activeResizeArea=function(e){this.resetResizeArea();var t=e.target;this.spreadsheet.store.set("activeResizeArea",t),t.attr(Wo.backgroundOpacity,this.spreadsheet.theme.resizeArea.interactionState.hover.backgroundOpacity)},e.prototype.resetResizeArea=function(){var e=this.spreadsheet.store.get("activeResizeArea");$g(e)||e.attr(Wo.backgroundOpacity,this.spreadsheet.theme.resizeArea.backgroundOpacity),this.spreadsheet.store.set("activeResizeArea",e)},e.prototype.hasBrushSelectionIntercepts=function(){return this.spreadsheet.interaction.hasIntercepts([$o.HOVER,$o.BRUSH_SELECTION,$o.ROW_BRUSH_SELECTION,$o.COL_BRUSH_SELECTION])},e.prototype.clear=function(){this.unbindEvents()},e.prototype.unbindEvents=function(){this.clearAllEvents()},e.prototype.addCanvasEvent=function(e,t){var n;null===(n=this.canvasContainer)||void 0===n||n.on(e,t),this.canvasEventHandlers.push({type:e,handler:t})},e.prototype.addS2Event=function(e,t){this.spreadsheet.on(e,t),this.s2EventHandlers.push({type:e,handler:t})},e.prototype.addDomEventListener=function(e,t,n){if(e.addEventListener){var r=this.spreadsheet.options.interaction.eventListenerOptions;e.addEventListener(t,n,r),this.domEventListeners.push({target:e,type:t,handler:n,options:r})}else console.error("Please make sure ".concat(e," has addEventListener function"))},e.prototype.clearAllEvents=function(){var e=this;dm(this.canvasEventHandlers,(function(t){var n,r=t.type,i=t.handler;null===(n=e.canvasContainer)||void 0===n||n.off(r,i)})),dm(this.s2EventHandlers,(function(t){var n=t.type,r=t.handler;e.spreadsheet.off(n,r)})),dm(this.domEventListeners,(function(e){e.target.removeEventListener(e.type,e.handler,e.options)})),this.canvasEventHandlers=[],this.s2EventHandlers=[],this.domEventListeners=[]},e}(),TR=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isRangeSelection=!1,t.handleColClick=function(e){e.stopPropagation();var n=t.spreadsheet.interaction,r=t.spreadsheet.getCell(e.target),i=null==r?void 0:r.getMeta();if(!Jg(null==i?void 0:i.x)){n.addIntercepts([$o.HOVER]);var o=[bS(r)],a=t.spreadsheet.store.get("lastClickedCell");if(t.isRangeSelection&&a&&a.cellType===r.cellType&&a.getMeta().level===r.getMeta().level){var s=ua([t.spreadsheet.facet.layoutResult.rowsHierarchy.maxLevel,t.spreadsheet.facet.layoutResult.colsHierarchy.maxLevel],2),l=s[0],c=s[1],u=ES(a.getMeta(),r.getMeta()),h=u.start,p=u.end;r instanceof Ex?o=t.handleSeriesNumberRowSelected(h.rowIndex,p.rowIndex,r):r.cellType===Uo.ROW_CELL&&r.getMeta().level===l?o=t.handleRowSelected(h.rowIndex,p.rowIndex,r):r.cellType===Uo.COL_CELL&&r.getMeta().level===c&&(o=t.handleColSelected(h.colIndex,p.colIndex,r)),n.changeState({cells:o,stateName:Bo.SELECTED})}else t.spreadsheet.store.set("lastClickedCell",r);var d=o.map((function(e){return e.id}));n.updateCells(n.getRowColActiveCells(d)),t.spreadsheet.emit(Qi.GLOBAL_SELECTED,n.getActiveCells())}},t}return aa(t,e),t.prototype.bindEvents=function(){this.bindKeyboardDown(),this.bindDataCellClick(),this.bindColCellClick(),this.bindKeyboardUp(),this.bindMouseMove()},t.prototype.reset=function(){this.isRangeSelection=!1,this.spreadsheet.interaction.removeIntercepts([$o.CLICK])},t.prototype.bindKeyboardDown=function(){var e=this;this.spreadsheet.on(Qi.GLOBAL_KEYBOARD_DOWN,(function(t){t.key===Yo.SHIFT&&(e.isRangeSelection=!0,e.spreadsheet.interaction.addIntercepts([$o.CLICK]))}))},t.prototype.bindKeyboardUp=function(){var e=this;this.spreadsheet.on(Qi.GLOBAL_KEYBOARD_UP,(function(t){t.key===Yo.SHIFT&&e.reset()}))},t.prototype.bindMouseMove=function(){var e=this;this.spreadsheet.on(Qi.GLOBAL_MOUSE_MOVE,(function(t){e.isRangeSelection&&!t.shiftKey&&e.reset()}))},t.prototype.bindColCellClick=function(){var e=this;this.spreadsheet.isTableMode()&&this.spreadsheet.on(Qi.ROW_CELL_CLICK,(function(t){e.handleColClick(t)})),this.spreadsheet.on(Qi.COL_CELL_CLICK,(function(t){e.handleColClick(t)}))},t.prototype.bindDataCellClick=function(){var e=this;this.spreadsheet.on(Qi.DATA_CELL_CLICK,(function(t){t.stopPropagation();var n=e.spreadsheet.getCell(t.target),r=n.getMeta(),i=e.spreadsheet.interaction;if(r){var o=e.spreadsheet.store.get("lastClickedCell");if(e.isRangeSelection&&(null==o?void 0:o.cellType)===n.cellType){var a=ES(o.getMeta(),n.getMeta()),s=a.start,l=a.end,c=$v(s.colIndex,l.colIndex+1).flatMap((function(t){var r=e.spreadsheet.facet.layoutResult.colLeafNodes[t].id;return $v(s.rowIndex,l.rowIndex+1).map((function(i){return{id:(e.spreadsheet.facet.getSeriesNumberWidth()||e.spreadsheet.isTableMode()?String(i):e.spreadsheet.facet.layoutResult.rowLeafNodes[i].id)+"-"+r,colIndex:t,rowIndex:i,type:n.cellType}}))}));i.addIntercepts([$o.CLICK,$o.HOVER]),i.changeState({cells:c,stateName:Bo.SELECTED}),e.spreadsheet.showTooltipWithInfo(t,AA(e.spreadsheet)),e.spreadsheet.emit(Qi.GLOBAL_SELECTED,i.getActiveCells())}else e.spreadsheet.store.set("lastClickedCell",n)}}))},t.prototype.handleSeriesNumberRowSelected=function(e,t,n){var r=this.spreadsheet.facet.layoutResult.colLeafNodes[0].id;return $v(e,t+1).map((function(e){return{id:String(e)+"-"+r,colIndex:0,rowIndex:e,type:n.cellType}}))},t.prototype.handleRowSelected=function(e,t,n){return this.spreadsheet.facet.layoutResult.rowNodes.filter((function(n){return ug(n.rowIndex,e,t+1)})).map((function(e){return{id:e.id,colIndex:e.colIndex,rowIndex:e.rowIndex,type:n.cellType}}))},t.prototype.handleColSelected=function(e,t,n){return this.spreadsheet.facet.layoutResult.colLeafNodes.filter((function(n){return ug(n.colIndex,e,t+1)})).map((function(e){return{id:e.id,colIndex:e.colIndex,rowIndex:e.rowIndex,type:n.cellType}}))},t}(cR),xR=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.resizeStartPosition={},t.resizeMouseMove=function(e){var n,r;if(null===(n=t.resizeReferenceGroup)||void 0===n?void 0:n.get("visible")){null===(r=null==e?void 0:e.preventDefault)||void 0===r||r.call(e);var i=e.originalEvent,o=t.getResizeInfo(),a=t.resizeReferenceGroup.getChildren()||[];if(!$g(a)){var s=ua(a,2)[1],l=ua(_d(s.attr("path")),2),c=l[0],u=l[1];o.type===Qo.Horizontal?t.updateHorizontalResizingEndGuideLinePosition(i,o,c,u):t.updateVerticalResizingEndGuideLinePosition(i,o,c,u),t.updateResizeGuideLineTheme(s),s.attr("path",[c,u])}}},t}return aa(t,e),t.prototype.bindEvents=function(){this.bindMouseDown(),this.bindMouseMove(),this.bindMouseUp()},t.prototype.initResizeGroup=function(){if(!this.resizeReferenceGroup){this.resizeReferenceGroup=this.spreadsheet.foregroundGroup.addGroup();var e=this.spreadsheet.options,t=e.width,n=e.height,r=this.getResizeAreaTheme(),i=r.guideLineColor,o={path:"",lineDash:r.guideLineDash,stroke:i,lineWidth:r.size};this.resizeReferenceGroup.addShape("path",{id:"RESIZE_START_GUIDE_LINE",attrs:o}),this.resizeReferenceGroup.addShape("path",{id:"RESIZE_END_GUIDE_LINE",attrs:o}),this.resizeReferenceGroup.addShape("rect",{id:"RESIZE_MASK",attrs:{appendInfo:{isResizeArea:!0},x:0,y:0,width:t,height:n,fill:"transparent"}})}},t.prototype.getResizeAreaTheme=function(){return this.spreadsheet.theme.resizeArea},t.prototype.setResizeTarget=function(e){this.resizeTarget=e},t.prototype.getGuideLineWidthAndHeight=function(){var e=this.spreadsheet.options,t=e.width,n=e.height,r=this.spreadsheet.facet.panelBBox,i=r.maxY,o=r.maxX;return{width:Math.min(o,t),height:Math.min(i,n)}},t.prototype.getResizeShapes=function(){var e;return(null===(e=this.resizeReferenceGroup)||void 0===e?void 0:e.get("children"))||[]},t.prototype.setResizeMaskCursor=function(e){var t=ua(this.getResizeShapes(),3)[2];null==t||t.attr("cursor",e)},t.prototype.updateResizeGuideLinePosition=function(e,t){var n=this.getResizeShapes();if(!$g(n)){var r=ua(n,2),i=r[0],o=r[1],a=t.type,s=t.offsetX,l=t.offsetY,c=t.width,u=t.height,h=this.getGuideLineWidthAndHeight(),p=h.width,d=h.height;if(this.setResizeMaskCursor("".concat(a,"-resize")),a===Qo.Horizontal)return i.attr("path",[["M",s,l],["L",s,d]]),o.attr("path",[["M",s+c,l],["L",s+c,d]]),void(this.resizeStartPosition.offsetX=e.offsetX);i.attr("path",[["M",s,l],["L",p,l]]),o.attr("path",[["M",s,l+u],["L",p,l+u]]),this.resizeStartPosition.offsetY=e.offsetY}},t.prototype.bindMouseDown=function(){var e=this;this.spreadsheet.on(Qi.LAYOUT_RESIZE_MOUSE_DOWN,(function(t){var n=t.target,r=t.originalEvent,i=e.getCellAppendInfo(t.target);e.spreadsheet.store.set("resized",!1),(null==i?void 0:i.isResizeArea)&&(e.spreadsheet.interaction.reset(),e.spreadsheet.interaction.addIntercepts([$o.RESIZE]),e.setResizeTarget(n),e.showResizeGroup(),e.updateResizeGuideLinePosition(r,i))}))},t.prototype.bindMouseMove=function(){var e=this;this.spreadsheet.on(Qi.LAYOUT_RESIZE_MOUSE_MOVE,(function(t){G_(e.resizeMouseMove,33)(t)}))},t.prototype.getResizeGuideLinePosition=function(){var e=ua(this.resizeReferenceGroup.getChildren()||[],2),t=e[0],n=e[1],r=(null==t?void 0:t.attr("path"))||[],i=(null==n?void 0:n.attr("path"))||[],o=ua(r[0]||[],3),a=o[1],s=void 0===a?0:a,l=o[2],c=void 0===l?0:l,u=ua(i[0]||[],3),h=u[1],p=void 0===h?0:h,d=u[2];return{start:{x:s,y:c},end:{x:p,y:void 0===d?0:d}}},t.prototype.getDisAllowResizeInfo=function(){var e,t=this.getResizeInfo(),n=this.spreadsheet.options.interaction.resize,r=t.width,i=t.height,o=t.resizedWidth,a=t.resizedHeight,s=null===(e=null==n?void 0:n.disable)||void 0===e?void 0:e.call(n,t);return{displayWidth:s?r:o,displayHeight:s?i:a,isDisabled:s}},t.prototype.getResizeWidthDetail=function(){var e,t,n=this.getResizeInfo(),r=this.getDisAllowResizeInfo().displayWidth;switch(n.effect){case Jo.Field:return{eventType:Qi.LAYOUT_RESIZE_ROW_WIDTH,style:{rowCfg:{widthByField:(e={},e[n.id]=r,e)}}};case Jo.Tree:return{eventType:Qi.LAYOUT_RESIZE_TREE_WIDTH,style:{treeRowsWidth:r,rowCfg:{treeRowsWidth:r}}};case Jo.Cell:return{eventType:Qi.LAYOUT_RESIZE_COL_WIDTH,style:{colCfg:{widthByFieldValue:(t={},t[n.id]=r,t)}}};case Jo.Series:return{eventType:Qi.LAYOUT_RESIZE_SERIES_WIDTH,seriesNumberWidth:r};default:return null}},t.prototype.getResizeHeightDetail=function(){var e,t,n,r=this.spreadsheet.options,i=r.interaction.resize,o=r.style.rowCfg.heightByField,a=this.spreadsheet.theme.rowCell.cell.padding,s=this.getResizeInfo(),l=this.getDisAllowResizeInfo().displayHeight,c=l-a.top-a.bottom;switch(s.effect){case Jo.Field:return{eventType:Qi.LAYOUT_RESIZE_COL_HEIGHT,style:{colCfg:{heightByField:(e={},e[s.id]=l,e)}}};case Jo.Cell:return n=(null==o?void 0:o[String(s.id)])||(null==i?void 0:i.rowResizeType)===ea.CURRENT?{rowCfg:{heightByField:(t={},t[s.id]=c,t)}}:{cellCfg:{height:c}},{eventType:Qi.LAYOUT_RESIZE_ROW_HEIGHT,style:n};default:return null}},t.prototype.getResizeDetail=function(){return this.getResizeInfo().type===Qo.Horizontal?this.getResizeWidthDetail():this.getResizeHeightDetail()},t.prototype.showResizeGroup=function(){this.initResizeGroup(),this.resizeReferenceGroup.set("visible",!0)},t.prototype.hideResizeGroup=function(){this.resizeReferenceGroup.set("visible",!1)},t.prototype.bindMouseUp=function(){var e=this;this.spreadsheet.on(Qi.GLOBAL_MOUSE_UP,(function(){var t;e.setResizeMaskCursor("default"),e.resizeReferenceGroup&&!$g(null===(t=e.resizeReferenceGroup)||void 0===t?void 0:t.getChildren())&&(e.hideResizeGroup(),e.renderResizedResult())}))},t.prototype.updateResizeGuideLineTheme=function(e){var t=this.getResizeAreaTheme(),n=t.guideLineColor,r=t.guideLineDisableColor,i=this.getDisAllowResizeInfo().isDisabled;e.attr("stroke",i?r:n),this.setResizeMaskCursor(i?"no-drop":"default")},t.prototype.updateHorizontalResizingEndGuideLinePosition=function(e,t,n,r){var i=e.offsetX-this.resizeStartPosition.offsetX;t.width+i<28&&(i=-(t.width-28));var o=t.offsetX+t.width+i;n[1]=o,r[1]=o,this.resizeTarget.attr({x:o-t.size/2})},t.prototype.updateVerticalResizingEndGuideLinePosition=function(e,t,n,r){var i=e.offsetY-this.resizeStartPosition.offsetY;t.height+i<16&&(i=-(t.height-16));var o=t.offsetY+t.height+i;n[2]=o,r[2]=o,this.resizeTarget.attr({y:o-t.size/2})},t.prototype.renderResizedResult=function(){var e=this.getResizeInfo(),t=this.getResizeDetail()||{},n=t.style,r=t.seriesNumberWidth,i=t.eventType,o={info:e,style:n};this.spreadsheet.emit(Qi.LAYOUT_RESIZE,o),this.spreadsheet.emit(i,o),n&&this.spreadsheet.setOptions({style:n}),r&&this.spreadsheet.setTheme({rowCell:{seriesNumberWidth:r}}),this.spreadsheet.store.set("resized",!0),this.render()},t.prototype.getResizeInfo=function(){var e=this.getCellAppendInfo(this.resizeTarget),t=this.getResizeGuideLinePosition(),n=t.start,r=t.end,i=Math.floor(r.x-n.x),o=Math.floor(r.y-n.y);return sa(sa({},e),{resizedWidth:i,resizedHeight:o})},t.prototype.render=function(){this.resizeStartPosition={},this.resizeTarget=null,this.resizeReferenceGroup=null,this.spreadsheet.render(!1)},t}(cR),SR=[Yo.ARROW_LEFT,Yo.ARROW_RIGHT,Yo.ARROW_UP,Yo.ARROW_DOWN],CR=function(e){function t(t){return e.call(this,t)||this}return aa(t,e),t.prototype.isCanvasEffect=function(){return this.spreadsheet.interaction.eventController.isCanvasEffect},t.prototype.bindEvents=function(){var e=this;this.spreadsheet.on(Qi.GLOBAL_KEYBOARD_DOWN,(function(t){if(e.isCanvasEffect()){var n=t.shiftKey,r=t.metaKey,i=!1,o=!1,a=!1;SR.includes(t.key)&&(r&&n?(i=!1,o=!0,a=!1):r?(i=!0,o=!0,a=!0):n?(i=!1,o=!1,a=!1):(i=!0,o=!1,a=!0),e.handleMove({event:t,changeStartCell:i,isJumpMode:o,isSingleSelection:a}))}})),this.spreadsheet.on(Qi.DATA_CELL_CLICK,(function(t){var n=e.spreadsheet.getCell(t.target).getMeta();n&&(e.startCell=e.getCellMetaFromViewMeta(n),e.endCell=e.startCell)}))},t.prototype.getCellMetaFromViewMeta=function(e){return{rowIndex:e.rowIndex,colIndex:e.colIndex,id:e.id,type:Uo.DATA_CELL}},t.prototype.handleMove=function(e){var t=e.event,n=e.changeStartCell,r=e.isJumpMode,i=e.isSingleSelection,o=this,a=o.spreadsheet,s=o.startCell,l=o.endCell,c=n?s:l,u=this.getMoveInfo(t.key,c,r);if(u){var h=ua([u.row,u.col],2),p=h[0],d=h[1];this.scrollToActiveCell(a,p,d);var f=this.generateCellMeta(a,p,d),m=i?[f]:this.getRangeCells(a,s,f);!function(e,t){var n=e.interaction;n.changeState({stateName:Bo.SELECTED,cells:t}),e.emit(Qi.GLOBAL_SELECTED,n.getActiveCells())}(a,m),n&&(this.startCell=f),this.endCell=f,this.spreadsheet.emit(Qi.DATA_CELL_SELECT_MOVE,m)}},t.prototype.generateCellMeta=function(e,t,n){var r=e.isTableMode,i=e.facet.layoutResult,o=i.colLeafNodes,a=i.rowLeafNodes,s=r()?String(t):a[t].id,l=o[n].id;return{rowIndex:t,colIndex:n,id:_x(s,l),type:Uo.DATA_CELL}},t.prototype.getRangeCells=function(e,t,n){for(var r=ES(t,n),i=r.start,o=i.rowIndex,a=i.colIndex,s=r.end,l=s.rowIndex,c=s.colIndex,u=[],h=o;h<=l;h++)for(var p=a;p<=c;p++)u.push(this.generateCellMeta(e,h,p));return u},t.prototype.getMoveInfo=function(e,t,n){var r=this.spreadsheet,i=r.options,o=i.frozenColCount,a=void 0===o?0:o,s=i.frozenRowCount,l=void 0===s?0:s,c=i.frozenTrailingColCount,u=void 0===c?0:c,h=i.frozenTrailingRowCount,p=void 0===h?0:h,d=r.facet.layoutResult,f=d.rowLeafNodes,m=ua([0+a,d.colLeafNodes.length-u-1],2),g=m[0],y=m[1],v=ua([0+l,(r.isTableMode()?r.dataSet.getDisplayDataSet().length:f.length)-p-1],2),_=v[0],b=v[1];if(t)switch(e){case Yo.ARROW_RIGHT:if(t.colIndex+1>y)return;return{row:t.rowIndex,col:n?y:t.colIndex+1};case Yo.ARROW_LEFT:if(t.colIndex-1b)return;return{row:n?b:t.rowIndex+1,col:t.colIndex}}},t.prototype.calculateOffset=function(e,t,n){var r=e.options,i=r.frozenRowCount,o=void 0===i?0:i,a=r.frozenTrailingRowCount,s=void 0===a?0:a,l=e.facet,c=e.frozenColGroup,u=e.frozenTrailingColGroup,h=e.frozenRowGroup,p=e.frozenTrailingRowGroup,d=l.layoutResult.colLeafNodes,f=l.getScrollOffset(),m=f.scrollX,g=f.scrollY,y=l.panelBBox,v=y.viewportHeight,_=y.viewportWidth,b=vu(e,"theme.splitLine"),E=c?Math.floor(c.getBBox().width-b.verticalBorderWidth/2):0,T=u?Math.floor(u.getBBox().width):0,x=h?Math.floor(h.getBBox().height-b.horizontalBorderWidth/2):0,S=p?Math.floor(p.getBBox().height):0,C=FE(m,g,l.viewCellWidths,l.viewCellHeights,{width:_-E-T,height:v-x-S,x:E,y:x},l.getRealScrollX(l.cornerBBox.width)),A=-1,R=-1,w=d.find((function(e){return e.colIndex===n}));return n<=C[0]?A=w.x-E:n>=C[1]&&n=C[3]&&(R=l.viewCellHeights.getCellOffsetY(t+1)+S-v),{offsetX:A,offsetY:R}},t.prototype.scrollToActiveCell=function(e,t,n){var r=this.calculateOffset(e,t,n),i=r.offsetX,o=r.offsetY,a=e.facet,s=e.facet.getScrollOffset(),l=s.scrollX,c=s.scrollY;a.scrollWithAnimation({offsetX:{value:i>-1?i:l},offsetY:{value:o>-1?o:c}})},t}(cR),AR=function(){function e(e){var t=this;this.interactions=new Map,this.intercepts=new Set,this.hoverTimer=null,this.defaultState={cells:[],force:!1},this.onTriggerInteractionsResetEffect=function(){t.interactions.forEach((function(e){e.reset()}))},this.selectAll=function(){t.changeState({stateName:Bo.ALL_SELECTED})},this.getCellChildrenNodes=function(e){var n,r=null===(n=null==e?void 0:e.getMeta)||void 0===n?void 0:n.call(e),i=(null==e?void 0:e.cellType)===Uo.ROW_CELL;return t.spreadsheet.isHierarchyTreeType()&&i?EE.getAllLeaveNodes(r).filter((function(e){return e.rowIndex===r.rowIndex})):EE.getAllChildrenNodes(r)},this.selectHeaderCell=function(e){var n;void 0===e&&(e={});var r=e.cell;if(!$g(r)){var i=null===(n=null==r?void 0:r.getMeta)||void 0===n?void 0:n.call(r);if(i&&!Jg(null==i?void 0:i.x)){t.addIntercepts([$o.HOVER]);var o=t.spreadsheet.isHierarchyTreeType(),a=(null==r?void 0:r.cellType)===Uo.COL_CELL,s=t.getState(),l=t.isSelectedCell(r),c=(null==e?void 0:e.isMultiSelection)&&t.isSelectedState(),u=l?[]:t.getCellChildrenNodes(r),h=l?[]:[bS(r)];if(c&&(h=Td(null==s?void 0:s.cells,h),u=Td(null==s?void 0:s.nodes,u),l&&(h=h.filter((function(e){return e.id!==i.id})),u=u.filter((function(e){return!(null==e?void 0:e.id.includes(i.id))})))),$g(h))return t.reset(),void t.spreadsheet.emit(Qi.GLOBAL_SELECTED,t.getActiveCells());var p=u.filter((function(e){return null==e?void 0:e.isLeaf}));t.changeState({cells:h,nodes:p,stateName:Bo.SELECTED});var d=h.map((function(e){return e.id}));return t.updateCells(t.getRowColActiveCells(d)),o&&!a||t.highlightNodes(u),t.spreadsheet.emit(Qi.GLOBAL_SELECTED,t.getActiveCells()),!0}}},this.highlightNodes=function(e){void 0===e&&(e=[]),e.forEach((function(e){var t;null===(t=null==e?void 0:e.belongsCell)||void 0===t||t.updateByState(Bo.SELECTED,e.belongsCell)}))},this.mergeCells=function(e,n){!function(e,t,n){var r,i=t||function(e){var t=e.interaction.getActiveCells(),n=[];return dm(t,(function(e,t){var r=e.getMeta(),i=0===t?{showText:!0}:{};n.push(sa(sa({},i),{colIndex:null==r?void 0:r.colIndex,rowIndex:null==r?void 0:r.rowIndex}))})),n}(e);if((null==i?void 0:i.length)<=1)console.error("then merged cells must be more than one");else{var o=e.interaction.getPanelGroupAllDataCells(),a=Cx(o,e,i),s=a.cells,l=a.viewMeta;if(!$g(s)){var c=(null===(r=e.options)||void 0===r?void 0:r.mergedCellsInfo)||[];c.push(i),e.setOptions({mergedCellsInfo:c});var u=n?void 0:l;e.panelScrollGroup.addMergeCell(Ax(e,s,u))}}}(t.spreadsheet,e,n)},this.unmergeCell=function(e){!function(e,t){var n,r,i;if(t&&t.cellType===Uo.MERGED_CELL){var o,a,s,l=(o=t,a=null===(n=e.options)||void 0===n?void 0:n.mergedCellsInfo,s=Wm(o.cells,(function(e){return{colIndex:e.getMeta().colIndex,rowIndex:e.getMeta().rowIndex}})),Dm(a,(function(e){return!Wg(e.map((function(e){return e.showText?{colIndex:e.colIndex,rowIndex:e.rowIndex}:e})),s)})));(null==l?void 0:l.length)!==(null===(i=null===(r=e.options)||void 0===r?void 0:r.mergedCellsInfo)||void 0===i?void 0:i.length)&&(e.setOptions({mergedCellsInfo:l}),t.remove(!0))}else console.error("unmergeCell: the ".concat(t," is not a MergedCell"))}(t.spreadsheet,e)},this.spreadsheet=e,this.registerEventController(),this.registerInteractions(),window.addEventListener("visibilitychange",this.onTriggerInteractionsResetEffect)}return e.prototype.destroy=function(){this.interactions.clear(),this.intercepts.clear(),this.eventController.clear(),this.clearHoverTimer(),this.resetState(),window.removeEventListener("visibilitychange",this.onTriggerInteractionsResetEffect)},e.prototype.reset=function(){this.clearState(),this.clearHoverTimer(),this.intercepts.clear(),this.spreadsheet.hideTooltip()},e.prototype.setState=function(e){!function(e,t){var n=null==t?void 0:t.stateName;e.interaction.isEqualStateName(n)||(CS(e),e.hideTooltip(),e.store.set(Ko,t))}(this.spreadsheet,e)},e.prototype.getState=function(){return this.spreadsheet.store.get(Ko)||this.defaultState},e.prototype.setInteractedCells=function(e){var t=this.getInteractedCells().concat([e]),n=this.getState();n.interactedCells=t,this.setState(n)},e.prototype.getInteractedCells=function(){var e=this.getState();return(null==e?void 0:e.interactedCells)||[]},e.prototype.resetState=function(){this.spreadsheet.store.set(Ko,this.defaultState)},e.prototype.getCurrentStateName=function(){return this.getState().stateName},e.prototype.isEqualStateName=function(e){return this.getCurrentStateName()===e},e.prototype.isStateOf=function(e){var t=this.getState();return(null==t?void 0:t.stateName)===e},e.prototype.isSelectedState=function(){return this.isStateOf(Bo.SELECTED)},e.prototype.isAllSelectedState=function(){return this.isStateOf(Bo.ALL_SELECTED)},e.prototype.isHoverFocusState=function(){return this.isStateOf(Bo.HOVER_FOCUS)},e.prototype.isHoverState=function(){return this.isStateOf(Bo.HOVER)},e.prototype.isActiveCell=function(e){return!!this.getCells().find((function(t){return e.getMeta().id===t.id}))},e.prototype.isSelectedCell=function(e){return this.isSelectedState()&&this.isActiveCell(e)},e.prototype.getCells=function(e){var t=this.getState(),n=(null==t?void 0:t.cells)||[];return Jg(e)?n:n.filter((function(t){return e.includes(t.type)}))},e.prototype.getActiveCells=function(){var e=this.getCells().map((function(e){return e.id})),t=this.getAllCells();return Wm(e,(function(e){return Hm(t,(function(t){var n;return(null===(n=null==t?void 0:t.getMeta())||void 0===n?void 0:n.id)===e}))})).filter((function(e){return e}))},e.prototype.clearStyleIndependent=function(){(this.isSelectedState()||this.isHoverState()||this.isAllSelectedState())&&this.getPanelGroupAllDataCells().forEach((function(e){e.hideInteractionShape()}))},e.prototype.getPanelGroupAllUnSelectedDataCells=function(){var e=this;return this.getPanelGroupAllDataCells().filter((function(t){return!e.isActiveCell(t)}))},e.prototype.getPanelGroupAllDataCells=function(){var e;return BA(null===(e=this.spreadsheet.panelGroup)||void 0===e?void 0:e.getChildren(),Ex)},e.prototype.getAllRowHeaderCells=function(){var e,t,n=((null===(e=this.spreadsheet.foregroundGroup)||void 0===e?void 0:e.getChildren())||[]).find((function(e){return e instanceof ZA})),r=(null===(t=null==n?void 0:n.cfg)||void 0===t?void 0:t.children)||[];return BA(r,pS).filter((function(e){return e.cellType===Uo.ROW_CELL}))},e.prototype.getAllColHeaderCells=function(){var e,t,n=((null===(e=this.spreadsheet.foregroundGroup)||void 0===e?void 0:e.getChildren())||[]).find((function(e){return e instanceof KA})),r=(null===(t=null==n?void 0:n.cfg)||void 0===t?void 0:t.children)||[];return BA(r,tS).filter((function(e){return e.cellType===Uo.COL_CELL}))},e.prototype.getRowColActiveCells=function(e){return Td(this.getAllRowHeaderCells(),this.getAllColHeaderCells()).filter((function(t){return e.includes(t.getMeta().id)}))},e.prototype.getAllCells=function(){return Td(this.getPanelGroupAllDataCells(),this.getAllRowHeaderCells(),this.getAllColHeaderCells())},e.prototype.hideColumns=function(e,t){void 0===e&&(e=[]),void 0===t&&(t=!0),Nx(this.spreadsheet,e,t)},e.prototype.getBrushSelectionInfo=function(e){var t,n,r;return Bg(e)?{dataBrushSelection:e,rowBrushSelection:e,colBrushSelection:e}:{dataBrushSelection:null!==(t=null==e?void 0:e.data)&&void 0!==t&&t,rowBrushSelection:null!==(n=null==e?void 0:e.row)&&void 0!==n&&n,colBrushSelection:null!==(r=null==e?void 0:e.col)&&void 0!==r&&r}},e.prototype.getDefaultInteractions=function(){var e=this.spreadsheet.options.interaction,t=e.resize,n=e.brushSelection,r=e.multiSelection,i=e.rangeSelection,o=e.selectedCellMove,a=this.getBrushSelectionInfo(n),s=a.dataBrushSelection,l=a.rowBrushSelection,c=a.colBrushSelection;return[{key:Ho.CORNER_CELL_CLICK,interaction:fR},{key:Ho.DATA_CELL_CLICK,interaction:uR},{key:Ho.ROW_COLUMN_CLICK,interaction:pR},{key:Ho.ROW_TEXT_CLICK,interaction:dR},{key:Ho.MERGED_CELLS_CLICK,interaction:hR},{key:Ho.HOVER,interaction:mR,enable:!vE()},{key:Ho.BRUSH_SELECTION,interaction:vR,enable:!vE()&&s},{key:Ho.ROW_BRUSH_SELECTION,interaction:_R,enable:!vE()&&l},{key:Ho.COL_BRUSH_SELECTION,interaction:yR,enable:!vE()&&c},{key:Ho.COL_ROW_RESIZE,interaction:xR,enable:!vE()&&t},{key:Ho.DATA_CELL_MULTI_SELECTION,interaction:bR,enable:!vE()&&r},{key:Ho.RANGE_SELECTION,interaction:TR,enable:!vE()&&i},{key:Ho.SELECTED_CELL_MOVE,interaction:CR,enable:!vE()&&o}]},e.prototype.registerInteractions=function(){var e=this,t=this.spreadsheet.options.interaction.customInteractions;this.interactions.clear(),this.getDefaultInteractions().forEach((function(t){var n=t.key,r=t.interaction;!1!==t.enable&&e.interactions.set(n,new r(e.spreadsheet))})),$g(t)||dm(t,(function(t){var n=t.interaction;e.interactions.set(t.key,new n(e.spreadsheet))}))},e.prototype.registerEventController=function(){this.eventController=new ER(this.spreadsheet)},e.prototype.draw=function(){this.spreadsheet.container.draw()},e.prototype.clearState=function(){CS(this.spreadsheet)&&this.draw()},e.prototype.changeState=function(e){var t=this,n=this.spreadsheet.interaction,r=e.cells,i=void 0===r?[]:r,o=e.force,a=e.stateName,s=e.onUpdateCells;if($g(i)&&a===Bo.SELECTED)o&&n.changeState({cells:[],stateName:Bo.UNSELECTED});else{this.getCurrentStateName()===Bo.ALL_SELECTED&&this.clearStyleIndependent(),this.clearState(),this.setState(e);var l=function(){t.updatePanelGroupAllDataCells()};s?s(this,l):l(),this.draw()}},e.prototype.updatePanelGroupAllDataCells=function(){this.updateCells(this.getPanelGroupAllDataCells())},e.prototype.updateCells=function(e){void 0===e&&(e=[]),e.forEach((function(e){e.update()}))},e.prototype.addIntercepts=function(e){var t=this;void 0===e&&(e=[]),e.forEach((function(e){t.intercepts.add(e)}))},e.prototype.hasIntercepts=function(e){var t=this;return void 0===e&&(e=[]),e.some((function(e){return t.intercepts.has(e)}))},e.prototype.removeIntercepts=function(e){var t=this;void 0===e&&(e=[]),e.forEach((function(e){t.intercepts.delete(e)}))},e.prototype.clearHoverTimer=function(){clearTimeout(this.hoverTimer)},e.prototype.setHoverTimer=function(e){this.hoverTimer=e},e.prototype.getHoverTimer=function(){return this.hoverTimer},e.prototype.getSelectedCellHighlight=function(){var e=this.spreadsheet.options.interaction.selectedCellHighlight;if(Bg(e))return{rowHeader:e,colHeader:e,currentRow:!1,currentCol:!1};var t=null!=e?e:{},n=t.rowHeader,r=void 0!==n&&n,i=t.colHeader,o=void 0!==i&&i,a=t.currentRow,s=void 0!==a&&a,l=t.currentCol;return{rowHeader:r,colHeader:o,currentRow:s,currentCol:void 0!==l&&l}},e.prototype.getHoverAfterScroll=function(){return this.spreadsheet.options.interaction.hoverAfterScroll},e.prototype.getHoverHighlight=function(){var e=this.spreadsheet.options.interaction.hoverHighlight;if(Bg(e))return{rowHeader:e,colHeader:e,currentRow:e,currentCol:e};var t=null!=e?e:{},n=t.rowHeader,r=void 0!==n&&n,i=t.colHeader,o=void 0!==i&&i,a=t.currentRow,s=void 0!==a&&a,l=t.currentCol;return{rowHeader:r,colHeader:o,currentRow:s,currentCol:void 0!==l&&l}},e}(),RR=function(){function e(e){var t=this;this.viewport=window,this.isDevicePixelRatioChange=!1,this.init=function(){t.initDevicePixelRatioListener(),t.initDeviceZoomListener()},this.destroy=function(){t.removeDevicePixelRatioListener(),t.removeDeviceZoomListener()},this.removeDevicePixelRatioListener=function(){var e;(null===(e=t.devicePixelRatioMedia)||void 0===e?void 0:e.removeEventListener)?t.devicePixelRatioMedia.removeEventListener("change",t.renderByDevicePixelRatioChanged):t.devicePixelRatioMedia.removeListener(t.renderByDevicePixelRatioChanged)},this.initDeviceZoomListener=function(){var e,n;vE()||null===(n=null===(e=t.viewport)||void 0===e?void 0:e.visualViewport)||void 0===n||n.addEventListener("resize",t.renderByZoomScaleWithoutResizeEffect)},this.removeDeviceZoomListener=function(){var e,n;vE()||null===(n=null===(e=t.viewport)||void 0===e?void 0:e.visualViewport)||void 0===n||n.removeEventListener("resize",t.renderByZoomScaleWithoutResizeEffect)},this.renderByZoomScaleWithoutResizeEffect=function(e){t.isDevicePixelRatioChange=!1,t.renderByZoomScale(e)},this.renderByDevicePixelRatioChanged=function(){t.isDevicePixelRatioChange=!0,t.renderByDevicePixelRatio()},this.renderByDevicePixelRatio=function(e){void 0===e&&(e=window.devicePixelRatio);var n=t.spreadsheet,r=n.container,i=n.options,o=i.width,a=i.height,s=i.devicePixelRatio,l=t.spreadsheet.getCanvasElement();if(r.get("pixelRatio")!==e&&l){var c=Math.max(e,s,1);r.set("pixelRatio",c),r.changeSize(o,a),t.spreadsheet.render(!1)}},this.renderByZoomScale=Pf((function(e){var n=Math.ceil(e.target.scale);n>=1&&!t.isDevicePixelRatioChange&&t.renderByDevicePixelRatio(n)}),350),this.spreadsheet=e}return e.prototype.initDevicePixelRatioListener=function(){var e;this.devicePixelRatioMedia=window.matchMedia("(resolution: ".concat(window.devicePixelRatio,"dppx)")),(null===(e=this.devicePixelRatioMedia)||void 0===e?void 0:e.addEventListener)?this.devicePixelRatioMedia.addEventListener("change",this.renderByDevicePixelRatioChanged):this.devicePixelRatioMedia.addListener(this.renderByDevicePixelRatioChanged)},e}(),wR=function(){function e(e){this.visible=!1,this.position={x:0,y:0},this.spreadsheet=e}return e.prototype.show=function(e){var t,n,r,i=e.position,o=e.options,a=e.content,s=e.event,l=yA(o).enterable,c=this.spreadsheet.options.tooltip||{},u=c.autoAdjustBoundary,h=c.adjustPosition;this.visible=!0,this.options=e;var p=this.getContainer();this.renderContent(a);var d=function(e){var t=e.spreadsheet,n=e.position,r=e.tooltipContainer,i=e.autoAdjustBoundary,o=t.getCanvasElement(),a=n.x+yE,s=n.y+10;if(!i||!o)return{x:a,y:s};var l="body"===i,c=t.facet.panelBBox,u=c.maxX,h=c.maxY,p=t.options,d=p.width,f=p.height,m=o.getBoundingClientRect(),g=m.top,y=m.left,v=r.getBoundingClientRect(),_=v.width,b=v.height,E=document.body.getBoundingClientRect(),T=E.width,x=E.height,S=l?T:Math.min(d,u)+y,C=l?x:Math.min(f,h)+g;return a+_>=S&&(a=S-_),s+b>=C&&(s=C-b),{x:a,y:s}}({spreadsheet:this.spreadsheet,position:i,tooltipContainer:p,autoAdjustBoundary:u}),f=d.x,m=d.y;this.position=null!==(t=null==h?void 0:h({position:{x:f,y:m},event:s}))&&void 0!==t?t:{x:f,y:m},_A(p,{style:{left:"".concat(null===(n=this.position)||void 0===n?void 0:n.x,"px"),top:"".concat(null===(r=this.position)||void 0===r?void 0:r.y,"px"),pointerEvents:l?"all":"none"},visible:!0})},e.prototype.hide=function(){this.visible=!1,this.container&&(_A(this.container,{style:{pointerEvents:"none"},visible:!1}),this.resetPosition())},e.prototype.destroy=function(){var e,t;this.visible=!1,this.container&&(this.resetPosition(),null===(t=(e=this.container).remove)||void 0===t||t.call(e),this.container=null)},e.prototype.renderContent=function(e){if(this.container){this.clearContent();var t=(this.spreadsheet.options.tooltip||{}).content,n=null!=e?e:t;Jg(n)||("string"!=typeof n?n instanceof Element&&this.container.appendChild(n):this.container.innerHTML=n)}},e.prototype.clearContent=function(){this.container&&(this.container.innerHTML="")},e.prototype.disablePointerEvent=function(){this.container&&"none"!==this.container.style.pointerEvents&&_A(this.container,{style:{pointerEvents:"none"}})},e.prototype.resetPosition=function(){this.position={x:0,y:0}},e.prototype.getContainer=function(){var e;if(!this.container){var t=this.spreadsheet.options.tooltip,n=(null===(e=t.getContainer)||void 0===e?void 0:e.call(t))||document.body,r=document.createElement("div");return _A(r,{style:t.style,className:[fE].concat(t.className)}),n.appendChild(r),this.container=r,this.container}return this.container},e}(),LR=function(e){function t(t,n,r){var i=e.call(this)||this;return i.store=new rT,i.untypedOn=i.on,i.untypedEmit=i.emit,i.on=function(e,t){return i.untypedOn(e,t)},i.emit=function(e){for(var t=[],n=1;n=0&&u<=255?o:a}}catch(e){n={error:e}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}return s},i.dataCfg=RS(n),i.options=wS(r),i.dataSet=i.getDataSet(i.options),i.setDebug(),i.initTooltip(),i.initGroups(t),i.bindEvents(),i.initInteraction(),i.initTheme(),i.initHdAdapter(),i.registerIcons(),i.setOverscrollBehavior(),i}return aa(t,e),t.prototype.setOverscrollBehavior=function(){var e=this.options.interaction.overscrollBehavior,t=window.getComputedStyle(document.body).getPropertyValue("overscroll-behavior");t&&"auto"!==t?this.store.set("initOverscrollBehavior",t):e&&(document.body.style.overscrollBehavior=e)},t.prototype.restoreOverscrollBehavior=function(){document.body.style.overscrollBehavior=this.store.get("initOverscrollBehavior")||""},t.prototype.setDebug=function(){$E.getInstance().setDebug(this.options.debug)},t.prototype.initTheme=function(){this.setThemeCfg({name:"default"})},t.prototype.getMountContainer=function(e){var t=pg(e)?document.querySelector(e):e;if(!t)throw new Error("Target mount container is not a DOM element");return t},t.prototype.initHdAdapter=function(){this.options.hdAdapter&&(this.hdAdapter=new RR(this),this.hdAdapter.init())},t.prototype.initInteraction=function(){this.interaction=new AR(this)},t.prototype.initTooltip=function(){var e,t,n,r;null===(t=null===(e=this.tooltip)||void 0===e?void 0:e.destroy)||void 0===t||t.call(e),this.tooltip=this.renderTooltip(),this.tooltip instanceof wR||console.warn("[Custom Tooltip]: ".concat(null===(r=null===(n=this.tooltip)||void 0===n?void 0:n.constructor)||void 0===r?void 0:r.toString()," should be extends from BaseTooltip"))},t.prototype.renderTooltip=function(){var e,t;return(null===(t=null===(e=this.options.tooltip)||void 0===e?void 0:e.renderTooltip)||void 0===t?void 0:t.call(e,this))||new wR(this)},t.prototype.showTooltip=function(e){var t,n,r=e.content,i=e.event,o=this.getCell(null==i?void 0:i.target),a=is(r)?r(o,e):r;null===(n=(t=this.tooltip).show)||void 0===n||n.call(t,sa(sa({},e),{content:a}))},t.prototype.showTooltipWithInfo=function(e,t,n){var r,i=RA(this,e),o=i.showTooltip,a=i.content;if(o){var s=this.getCell(null==e?void 0:e.target),l=null!==(r=null==n?void 0:n.data)&&void 0!==r?r:CA({spreadsheet:this,cellInfos:t,targetCell:s,options:sa({enableFormat:!0},n)});this.showTooltip({data:l,position:{x:e.clientX,y:e.clientY},options:sa({enterable:!0},n),event:e,content:a})}},t.prototype.hideTooltip=function(){var e,t;null===(t=(e=this.tooltip).hide)||void 0===t||t.call(e)},t.prototype.destroyTooltip=function(){var e,t;null===(t=(e=this.tooltip).destroy)||void 0===t||t.call(e)},t.prototype.registerIcons=function(){var e=this.options.customSVGIcons;$g(e)||dm(e,(function(e){KE(e.name,e.svg)}))},t.prototype.setDataCfg=function(e,t){this.store.set("originalDataCfg",e),this.dataCfg=t?RS(e):RS(this.dataCfg,e),this.store.set(ko,Do)},t.prototype.setOptions=function(e,t){var n;this.hideTooltip(),this.options=t?wS(e):AS(this.options,e),(t||(null===(n=e.tooltip)||void 0===n?void 0:n.renderTooltip))&&this.initTooltip(),this.registerIcons()},t.prototype.render=function(e,t){if(void 0===e&&(e=!0),void 0===t&&(t={}),this.getCanvasElement()){var n=t.reBuildDataSet,r=void 0!==n&&n,i=t.reBuildHiddenColumnsDetail,o=void 0===i||i;this.emit(Qi.LAYOUT_BEFORE_RENDER),r&&(this.dataSet=this.getDataSet(this.options)),e&&(this.clearDrillDownData("",!0),this.dataSet.setDataCfg(this.dataCfg)),this.buildFacet(),o&&this.initHiddenColumnsDetail(),this.emit(Qi.LAYOUT_AFTER_RENDER)}},t.prototype.destroy=function(){var e,t,n,r,i;this.restoreOverscrollBehavior(),this.emit(Qi.LAYOUT_DESTROY),null===(e=this.facet)||void 0===e||e.destroy(),null===(t=this.hdAdapter)||void 0===t||t.destroy(),null===(n=this.interaction)||void 0===n||n.destroy(),null===(r=this.store)||void 0===r||r.clear(),this.destroyTooltip(),this.clearCanvasEvent(),null===(i=this.container)||void 0===i||i.destroy(),function(){var e;null===(e=document.getElementById(ET))||void 0===e||e.remove()}()},t.prototype.setThemeCfg=function(e){void 0===e&&(e={});var t=(null==e?void 0:e.theme)||{},n=function(e){var t,n,r,i,o,a=(null==e?void 0:e.palette)||bE(null==e?void 0:e.name),s=a.basicColors,l=a.semanticColors,c=a.others,u=null===(t=null==e?void 0:e.spreadsheet)||void 0===t?void 0:t.isTableMode(),h=_E()?"bold":700,p=function(){var e,t;return{bolderText:{fontFamily:sE,fontSize:12,fontWeight:h,fill:s[13],opacity:1,textAlign:"right",textBaseline:"middle",linkTextFill:s[6]},text:{fontFamily:sE,fontSize:12,fontWeight:"normal",fill:s[13],opacity:1,textAlign:"right",textBaseline:"middle",linkTextFill:s[6]},cell:{crossBackgroundColor:s[1],backgroundColor:s[8],backgroundColorOpacity:1,horizontalBorderColor:s[9],horizontalBorderColorOpacity:1,verticalBorderColor:s[9],verticalBorderColorOpacity:1,horizontalBorderWidth:1,verticalBorderWidth:1,padding:{top:8,right:8,bottom:8,left:8},interactionState:{hover:{backgroundColor:s[2],backgroundOpacity:.6},hoverFocus:{backgroundColor:s[2],backgroundOpacity:.6,borderColor:s[14],borderWidth:1,borderOpacity:1},selected:{backgroundColor:s[2],backgroundOpacity:.6},unselected:{backgroundOpacity:.3,textOpacity:.3,opacity:.3},searchResult:{backgroundColor:null!==(e=null==c?void 0:c.results)&&void 0!==e?e:s[2],backgroundOpacity:1},highlight:{backgroundColor:null!==(t=null==c?void 0:c.highlight)&&void 0!==t?t:s[6],backgroundOpacity:1},prepareSelect:{borderColor:s[14],borderOpacity:1,borderWidth:1}}},miniChart:{line:{point:{size:2.2,fill:s[6],opacity:1},linkLine:{size:1.5,fill:s[6],opacity:.6}},bar:{intervalPadding:4,fill:s[6],opacity:1},bullet:{progressBar:{widthPercent:.6,height:10,innerHeight:6},comparativeMeasure:{width:1,height:12,fill:s[13],opacity:.25},rangeColors:{good:null==l?void 0:l.green,satisfactory:l.yellow,bad:l.red},backgroundColor:"#E9E9E9"},interval:{height:12,fill:s[7]}},icon:{fill:s[13],downIconColor:l.red,upIconColor:l.green,size:10,margin:{right:4,left:4}}}};return{cornerCell:{bolderText:{fontFamily:sE,fontSize:12,fontWeight:h,fill:s[0],opacity:1,textAlign:u?"center":"left",textBaseline:"middle"},text:{fontFamily:sE,fontSize:12,fontWeight:h,fill:s[0],opacity:1,textAlign:"right",textBaseline:"middle"},cell:{backgroundColor:s[3],backgroundColorOpacity:1,horizontalBorderColor:s[10],horizontalBorderColorOpacity:1,verticalBorderColor:s[10],verticalBorderColorOpacity:1,horizontalBorderWidth:1,verticalBorderWidth:1,padding:{top:0,right:8,bottom:0,left:8}},icon:{fill:s[0],size:10,margin:{right:4,left:4}}},rowCell:{seriesText:{fontFamily:sE,fontSize:12,fontWeight:"normal",fill:s[14],linkTextFill:s[6],opacity:1,textBaseline:"middle",textAlign:"center"},measureText:{fontFamily:sE,fontSize:12,fontWeight:"normal",fill:s[14],linkTextFill:s[6],opacity:1,textAlign:u?"center":"left",textBaseline:"top"},bolderText:{fontFamily:sE,fontSize:12,fontWeight:h,fill:s[14],linkTextFill:s[6],opacity:1,textAlign:u?"center":"left",textBaseline:"top"},text:{fontFamily:sE,fontSize:12,fontWeight:"normal",fill:s[14],linkTextFill:s[6],opacity:1,textBaseline:"top",textAlign:u?"center":"left"},cell:{backgroundColor:s[1],backgroundColorOpacity:1,horizontalBorderColor:s[9],horizontalBorderColorOpacity:1,verticalBorderColor:s[9],verticalBorderColorOpacity:1,horizontalBorderWidth:1,verticalBorderWidth:1,padding:{top:0,right:8,bottom:0,left:8},interactionState:{hover:{backgroundColor:s[2],backgroundOpacity:.6},selected:{backgroundColor:s[2],backgroundOpacity:.6},unselected:{backgroundOpacity:.3,textOpacity:.3,opacity:.3},prepareSelect:{borderColor:s[14],borderOpacity:1,borderWidth:1},searchResult:{backgroundColor:null!==(n=null==c?void 0:c.results)&&void 0!==n?n:s[2],backgroundOpacity:1},highlight:{backgroundColor:null!==(r=null==c?void 0:c.highlight)&&void 0!==r?r:s[6],backgroundOpacity:1}}},icon:{fill:s[14],size:10,margin:{right:4,left:4}},seriesNumberWidth:80},colCell:{measureText:{fontFamily:sE,fontSize:12,fontWeight:"normal",fill:s[0],opacity:1,textAlign:"right",textBaseline:"middle"},bolderText:{fontFamily:sE,fontSize:12,fontWeight:h,fill:s[0],opacity:1,textAlign:"center",textBaseline:"middle"},text:{fontFamily:sE,fontSize:12,fontWeight:"normal",fill:s[0],opacity:1,textAlign:"center",textBaseline:"middle"},cell:{backgroundColor:s[3],backgroundColorOpacity:1,horizontalBorderColor:s[10],horizontalBorderColorOpacity:1,verticalBorderColor:s[10],verticalBorderColorOpacity:1,horizontalBorderWidth:1,verticalBorderWidth:1,padding:{top:0,right:8,bottom:0,left:8},interactionState:{hover:{backgroundColor:s[4],backgroundOpacity:.6},selected:{backgroundColor:s[4],backgroundOpacity:.6},unselected:{backgroundOpacity:.3,textOpacity:.3,opacity:.3},prepareSelect:{borderColor:s[14],borderOpacity:1,borderWidth:1},searchResult:{backgroundColor:null!==(i=null==c?void 0:c.results)&&void 0!==i?i:s[2],backgroundOpacity:1},highlight:{backgroundColor:null!==(o=null==c?void 0:c.highlight)&&void 0!==o?o:s[6],backgroundOpacity:1}}},icon:{fill:s[0],size:10,margin:{top:6,right:4,bottom:6,left:4}}},dataCell:p(),mergedCell:p(),resizeArea:{size:3,background:s[7],backgroundOpacity:0,guideLineColor:s[7],guideLineDisableColor:"rgba(0,0,0,0.25)",guideLineDash:[3,3],interactionState:{hover:{backgroundColor:s[7],backgroundOpacity:1}}},scrollBar:{trackColor:"rgba(0,0,0,0.01)",thumbHoverColor:"rgba(0,0,0,0.25)",thumbColor:"rgba(0,0,0,0.15)",thumbHorizontalMinSize:32,thumbVerticalMinSize:32,size:vE()?3:6,hoverSize:vE()?4:8,lineCap:"round"},splitLine:{horizontalBorderColor:s[12],horizontalBorderColorOpacity:.2,horizontalBorderWidth:2,verticalBorderColor:s[11],verticalBorderColorOpacity:.25,verticalBorderWidth:2,showShadow:!0,shadowWidth:8,shadowColors:{left:"rgba(0,0,0,0.1)",right:"rgba(0,0,0,0)"}},prepareSelectMask:{backgroundColor:s[5],backgroundOpacity:.3},background:{color:s[8],opacity:1}}}(sa(sa({},e),{spreadsheet:this}));this.theme=AS(n,t)},t.prototype.setTheme=function(e){this.theme=AS(this.theme,e)},t.prototype.updatePagination=function(e){this.options=AS(this.options,{pagination:e}),this.store.set("scrollX",0),this.store.set("scrollY",0)},t.prototype.getContentHeight=function(){return this.facet.getContentHeight()},t.prototype.changeSize=function(e,t){void 0===e&&(e=this.options.width),void 0===t&&(t=this.options.height),this.changeSheetSize(e,t)},t.prototype.changeSheetSize=function(e,t){void 0===e&&(e=this.options.width),void 0===t&&(t=this.options.height);var n=this.getCanvasElement(),r=this.container.get("width"),i=this.container.get("height");(e!==r||t!==i)&&n&&(this.options=AS(this.options,{width:e,height:t}),this.container.changeSize(e,t))},t.prototype.getCanvasElement=function(){return this.container.get("el")},t.prototype.getLayoutWidthType=function(){return this.options.style.layoutWidthType},t.prototype.getRowNodes=function(e){return void 0===e&&(e=-1),-1===e?this.facet.layoutResult.rowNodes:this.facet.layoutResult.rowNodes.filter((function(t){return t.level===e}))},t.prototype.getRowLeafNodes=function(){var e;return(null===(e=this.facet)||void 0===e?void 0:e.layoutResult.rowLeafNodes)||[]},t.prototype.getColumnNodes=function(e){var t;void 0===e&&(e=-1);var n=(null===(t=this.facet)||void 0===t?void 0:t.layoutResult.colNodes)||[];return-1===e?n:n.filter((function(t){return t.level===e}))},t.prototype.getColumnLeafNodes=function(){var e;return(null===(e=this.facet)||void 0===e?void 0:e.layoutResult.colLeafNodes)||[]},t.prototype.updateScrollOffset=function(e){this.facet.updateScrollOffset(AS({offsetX:{value:void 0,animate:!1},offsetY:{value:void 0,animate:!1},rowHeaderOffsetX:{value:void 0,animate:!1}},e))},t.prototype.getTooltipDataItemMappingCallback=function(){var e;return null===(e=this.options)||void 0===e?void 0:e.mappingDisplayDataItem},t.prototype.getCell=function(e){for(var t,n=e;n&&!(n instanceof Ji);){if(n instanceof gx)return n;n=null===(t=n.get)||void 0===t?void 0:t.call(n,"parent")}return null},t.prototype.getCellType=function(e){var t=this.getCell(e);return null==t?void 0:t.cellType},t.prototype.getTotalsConfig=function(e){var t=vu(this.options.totals,gg(this.dataSet.fields.rows,e)?"row":"col",{});return{showSubTotals:!(!t.showSubTotals||!gg(t.subTotalsDimensions,e))&&t.showSubTotals,showGrandTotals:t.showGrandTotals,reverseLayout:t.reverseLayout,reverseSubLayout:t.reverseSubLayout,label:t.label||pE("总计"),subLabel:t.subLabel||pE("小计")}},t.prototype.initGroups=function(e){var t=this.options,n=t.width,r=t.height,i=t.supportCSSTransform,o=t.devicePixelRatio;this.container=new Ji({container:this.getMountContainer(e),width:n,height:r,localRefresh:!1,supportCSSTransform:i,pixelRatio:Math.max(o,1)}),this.backgroundGroup=this.container.addGroup({name:"backGroundGroup",zIndex:0}),this.panelGroup=this.container.addGroup({name:"panelGroup",zIndex:1}),this.foregroundGroup=this.container.addGroup({name:"foreGroundGroup",zIndex:3}),this.initPanelGroupChildren(),this.updateContainerStyle()},t.prototype.updateContainerStyle=function(){var e=this.getCanvasElement();e&&(e.style.display="block")},t.prototype.initPanelGroupChildren=function(){this.panelScrollGroup=new lR({name:"panelScrollGroup",zIndex:1,s2:this}),this.panelGroup.add(this.panelScrollGroup)},t.prototype.getInitColumnLeafNodes=function(){return this.store.get("initColumnLeafNodes",[])},t.prototype.clearColumnLeafNodes=function(){this.store.set("initColumnLeafNodes",void 0)},t.prototype.clearCanvasEvent=function(){var e=this;Zm(this.getEvents(),(function(t,n){e.off(n)}))},t.prototype.updateSortMethodMap=function(e,t,n){var r;void 0===n&&(n=!1);var i=n?null:this.store.get("sortMethodMap");this.store.set("sortMethodMap",sa(sa({},i),((r={})[e]=t,r)))},t.prototype.getMenuDefaultSelectedKeys=function(e){var t=vu(this.store.get("sortMethodMap"),e);return t?[t]:[]},t}(pe),OR=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return aa(t,e),t.prototype.getDataSet=function(e){var t=e.dataSet,n=e.hierarchyType;return t?t(this):"customTree"===n?new kA(this):new NA(this)},t.prototype.isPivotMode=function(){return!0},t.prototype.isTableMode=function(){return!1},t.prototype.isHierarchyTreeType=function(){var e=this.options.hierarchyType;return"tree"===e||"customTree"===e},t.prototype.isScrollContainsRowHeader=function(){return!this.isFrozenRowHeader()},t.prototype.isFrozenRowHeader=function(){var e;return null===(e=this.options)||void 0===e?void 0:e.frozenRowHeader},t.prototype.isValueInCols=function(){return this.dataSet.fields.valueInCols},t.prototype.clearDrillDownData=function(e,t){this.dataSet instanceof NA&&(this.dataSet.clearDrillDownData(e),t||(this.interaction.reset(),this.render(!1)))},t.prototype.getFacetCfgFromDataSetAndOptions=function(){var e=this,t=this.dataSet,n=t.fields,r=t.meta,i=this.options,o=i.style,a=i.dataCell;return sa(sa(sa(sa({},this.options),n),o),{meta:r,spreadsheet:this,dataSet:this.dataSet,dataCell:null!=a?a:function(t){return new Ex(t,e)}})},t.prototype.buildFacet=function(){var e,t=this.getFacetCfgFromDataSetAndOptions();null===(e=this.facet)||void 0===e||e.destroy(),this.facet=new iR(t),this.facet.render()},t.prototype.bindEvents=function(){this.off(Qi.ROW_CELL_COLLAPSE_TREE_ROWS),this.off(Qi.LAYOUT_TREE_ROWS_COLLAPSE_ALL),this.on(Qi.ROW_CELL_COLLAPSE_TREE_ROWS,this.handleRowCellCollapseTreeRows),this.on(Qi.LAYOUT_TREE_ROWS_COLLAPSE_ALL,this.handleTreeRowsCollapseAll)},t.prototype.handleRowCellCollapseTreeRows=function(e){var t,n=e.id,r=e.isCollapsed,i={style:{collapsedRows:(t={},t[n]=r,t)}};this.emit(Qi.LAYOUT_COLLAPSE_ROWS,{collapsedRows:i.style.collapsedRows,meta:null==e?void 0:e.node}),this.setOptions(i),this.render(!1),this.emit(Qi.LAYOUT_AFTER_COLLAPSE_ROWS,{collapsedRows:i.style.collapsedRows,meta:null==e?void 0:e.node})},t.prototype.handleTreeRowsCollapseAll=function(e){var t={style:{hierarchyCollapse:!e,collapsedRows:null,rowExpandDepth:null}};this.setOptions(t),this.render(!1)},t.prototype.groupSortByMethod=function(e,t){var n=this.dataCfg.fields,r=n.rows,i=n.columns,o=this.options.style.colCfg.hideMeasureColumn,a=this.isValueInCols()?om(r):om(i),s=t.query,l=t.value,c=_d(s),u=l;o&&this.isValueInCols()&&(u=this.dataSet.fields.values[0],c[no]=u);var h={sortFieldId:a,sortMethod:e,sortByMeasure:u,query:c},p=this.dataCfg.sortParams.filter((function(e){return(null==e?void 0:e.sortFieldId)!==a}));this.updateSortMethodMap(t.id,e,!0);var d=ha(ha([],ua(p),!1),[h],!1);this.emit(Qi.RANGE_SORT,d),this.setDataCfg(sa(sa({},this.dataCfg),{sortParams:d})),this.render()},t.prototype.handleGroupSort=function(e,t){var n=this;e.stopPropagation(),this.interaction.addIntercepts([$o.HOVER]);var r=this.getMenuDefaultSelectedKeys(null==t?void 0:t.id),i={onClick:function(r){var i=r.key;n.groupSortByMethod(i,t),n.emit(Qi.RANGE_SORTED,e)},menus:[{key:"asc",icon:"groupAsc",text:pE("组内升序")},{key:"desc",icon:"groupDesc",text:pE("组内降序")},{key:"none",text:pE("不排序")}],defaultSelectedKeys:r};this.showTooltipWithInfo(e,[],{operator:i,onlyMenu:!0,forceRender:!0})},t}(LR),NR=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return aa(t,e),t}(sR),IR=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onSortTooltipClick=function(e,n){var r=e.key,i={sortFieldId:n.field,sortMethod:r};t.updateSortMethodMap(n.id,r),t.emit(Qi.RANGE_SORT,[i])},t}return aa(t,e),t.prototype.getDataSet=function(e){var t=e.dataSet;return t?t(this):new IA(this)},t.prototype.isPivotMode=function(){return!1},t.prototype.isTableMode=function(){return!0},t.prototype.isHierarchyTreeType=function(){return!1},t.prototype.isScrollContainsRowHeader=function(){return!1},t.prototype.isFrozenRowHeader=function(){return!1},t.prototype.clearDrillDownData=function(){},t.prototype.isValueInCols=function(){return!1},t.prototype.bindEvents=function(){},t.prototype.initPanelGroupChildren=function(){var t,n=this;e.prototype.initPanelGroupChildren.call(this);var r={zIndex:2,s2:this};t=ua([so,lo,co,uo,ho,po].map((function(e){var t=new NR(sa({name:e},r));return n.panelGroup.add(t),t})),6),this.frozenRowGroup=t[0],this.frozenColGroup=t[1],this.frozenTrailingRowGroup=t[2],this.frozenTrailingColGroup=t[3],this.frozenTopGroup=t[4],this.frozenBottomGroup=t[5]},t.prototype.getFacetCfgFromDataSetAndOptions=function(){var e=this,t=this.dataSet,n=t.fields,r=t.meta,i=this.options,o=i.style,a=i.dataCell;return sa(sa(sa(sa({},this.options),n),o),{meta:r,spreadsheet:this,dataSet:this.dataSet,dataCell:null!=a?a:function(t){return e.options.showSeriesNumber&&0===t.colIndex?new yS(t,e):new gS(t,e)}})},t.prototype.buildFacet=function(){var e,t=this.getFacetCfgFromDataSetAndOptions();null===(e=this.facet)||void 0===e||e.destroy(),this.facet=new aR(t),this.facet.render()},t.prototype.clearFrozenGroups=function(){this.frozenRowGroup.set("children",[]),this.frozenColGroup.set("children",[]),this.frozenTrailingRowGroup.set("children",[]),this.frozenTrailingColGroup.set("children",[]),this.frozenTopGroup.set("children",[]),this.frozenBottomGroup.set("children",[])},t.prototype.destroy=function(){e.prototype.destroy.call(this),this.clearFrozenGroups(),this.off(Qi.RANGE_SORT),this.off(Qi.RANGE_FILTER)},t.prototype.handleGroupSort=function(e,t){var n=this;e.stopPropagation(),this.interaction.addIntercepts([$o.HOVER]);var r=this.getMenuDefaultSelectedKeys(null==t?void 0:t.id),i={onClick:function(e){var r=e.key;n.onSortTooltipClick({key:r},t)},menus:[{key:"asc",icon:"groupAsc",text:pE("升序")},{key:"desc",icon:"groupDesc",text:pE("降序")},{key:"none",text:pE("不排序")}],defaultSelectedKeys:r};this.showTooltipWithInfo(e,[],{operator:i,onlyMenu:!0,forceRender:!0})},t}(LR)},2752:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r={}.toString;const i=function(e,t){return r.call(e)==="[object "+t+"]"}},5093:(e,t,n)=>{"use strict";n.d(t,{Np:()=>We,JF:()=>d,_T:()=>at,S9:()=>et,ge:()=>tt,cW:()=>Ze,P4:()=>Qe,TE:()=>rt,Zm:()=>it,g:()=>nt,c_:()=>ot,Zj:()=>Je,aK:()=>Ke});var r,i=n(4808),o=function(){for(var e=[],t=0;t-1||n.indexOf(o)>-1)return t=r,!1})),t)}(t),".").concat(e))},E=function(e){return b(e)||b("pattern")||b("pattern","en")},T=function(e,t){var n=e.message;if((0,i.d8)(e.message)){var r=_.template;(0,i.LQ)(r)&&(e.message=r(n,t)),e.message=e.message.replace(/\{\{\s*([\w.]+)\s*\}\}/g,(function(e,n){return i.Dm.getIn(t,n)}))}return e},x=function(){return x=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]Number(t.max)?t.message:""},min:function(e,t){return O(e)?"":((0,i.e9)(e)?e:N(e))=Number(t.exclusiveMaximum)?t.message:""},exclusiveMinimum:function(e,t){return O(e)?"":((0,i.e9)(e)?e:N(e))<=Number(t.exclusiveMinimum)?t.message:""},len:function(e,t){return O(e)?"":N(e)!==Number(t.len)?t.message:""},pattern:function(e,t){return O(e)||new RegExp(t.pattern).test(e)?"":t.message},validator:function(e,t,n,r){return o=this,a=void 0,l=function(){var o;return function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=Number(t.minProperties)?"":t.message}};w=I,(0,i.S6)({maximum:"max",minimum:"min",maxItems:"max",minItems:"min",maxLength:"max",minLength:"min"},(function(e,t){w[t]=function(n,r){for(var i,o=[],a=2;a0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}(o),!1))}}));!function(e){(0,i.S6)(e,(function(e,t){(0,i.LQ)(e)&&(_.rules[t]=e)}))}(I),_.locales.messages=(0,i.TS)(_.locales.messages,{en:{pattern:"This field is invalid",invalid:"This field is invalid",required:"The field value is required",number:"The field value is not a number",integer:"The field value is not an integer number",url:"The field value is a invalid url",email:"The field value is not a email format",ipv6:"The field value is not a ipv6 format",ipv4:"The field value is not a ipv4 format",idcard:"The field value is not an idcard format",qq:"The field value is not a qq number format",phone:"The field value is not a phone number format",money:"The field value is not a currency format",zh:"The field value is not a chinese string",date:"The field value is not a valid date format",zip:"The field value is not a zip format",len:"The length or number of entries must be {{len}}",min:"The length or number of entries must be at least {{min}}",minLength:"The length or number of entries must be at least {{minLength}}",minItems:"The length or number of entries must be at least {{minItems}}",maximum:"The field value cannot be greater than {{maximum}}",exclusiveMaximum:"The field value must be less than {{exclusiveMaximum}}",minimum:"The field value cannot be less than {{minimum}}",exclusiveMinimum:"The field value must be greater than {{exclusiveMinimum}}",max:"The field length or number of entries must be at most {{max}}",maxLength:"The field length or number of entries must be at most {{maxLength}}",maxItems:"The field length or number of entries must be at most {{maxItems}}",whitespace:"This field value cannot be blank string.",enum:"The field value must be one of {{enum}}",const:"The field value must be equal to {{const}}",multipleOf:"The field value must be divisible by {{multipleOf}}",maxProperties:"The number of field properties cannot be greater than {{maxProperties}}",minProperties:"The number of field properties cannot be less than {{maxProperties}}",uniqueItems:"Array elements are not unique"},zh:{pattern:"该字段不是一个合法的字段",invalid:"该字段不是一个合法的字段",required:"该字段是必填字段",number:"该字段不是合法的数字",integer:"该字段不是合法的整型数字",url:"该字段不是合法的url",email:"该字段不是合法的邮箱格式",ipv6:"该字段不是合法的ipv6格式",ipv4:"该字段不是合法的ipv4格式",idcard:"该字段不是合法的身份证格式",qq:"该字段不符合QQ号格式",phone:"该字段不是有效的手机号",money:"该字段不是有效货币格式",zh:"该字段不是合法的中文字符串",date:"该字段不是合法的日期格式",zip:"该字段不是合法的邮编格式",len:"长度或条目数必须为{{len}}",min:"长度或条目数不能小于{{min}}",minLength:"长度或条目数不能小于{{minLength}}",minItems:"长度或条目数不能小于{{minItems}}",max:"长度或条目数不能大于{{max}}",maxLength:"长度或条目数不能大于{{maxLength}}",maxItems:"长度或条目数不能大于{{maxItems}}",maximum:"数值不能大于{{maximum}}",exclusiveMaximum:"数值必须小于{{exclusiveMaximum}}",minimum:"数值不能小于{{minimum}}",exclusiveMinimum:"数值必须大于{{exclusiveMinimum}}",whitespace:"不能为纯空白字符串",enum:"字段值必须为{{enum}}其中一个",const:"字段值必须等于{{const}}",multipleOf:"字段值不能被{{multipleOf}}整除",maxProperties:"字段属性数量不能大于{{maxProperties}}",minProperties:"字段属性数量不能小于{{minProperties}}",uniqueItems:"数组元素不唯一"},"en-US":{pattern:"This field is invalid",invalid:"This field is invalid",required:"The field value is required",number:"The field value is not a number",integer:"The field value is not an integer number",url:"The field value is a invalid url",email:"The field value is not a email format",ipv6:"The field value is not a ipv6 format",ipv4:"The field value is not a ipv4 format",idcard:"The field value is not an idcard format",qq:"The field value is not a qq number format",phone:"The field value is not a phone number format",money:"The field value is not a currency format",zh:"The field value is not a chinese string",date:"The field value is not a valid date format",zip:"The field value is not a zip format",len:"The length or number of entries must be {{len}}",min:"The length or number of entries must be at least {{min}}",minLength:"The length or number of entries must be at least {{minLength}}",minItems:"The length or number of entries must be at least {{minItems}}",maximum:"The field value cannot be greater than {{maximum}}",exclusiveMaximum:"The field value must be less than {{exclusiveMaximum}}",minimum:"The field value cannot be less than {{minimum}}",exclusiveMinimum:"The field value must be greater than {{exclusiveMinimum}}",max:"The field length or number of entries must be at most {{max}}",maxLength:"The field length or number of entries must be at most {{maxLength}}",maxItems:"The field length or number of entries must be at most {{maxItems}}",whitespace:"This field value cannot be blank string.",enum:"The field value must be one of {{enum}}",const:"The field value must be equal to {{const}}",multipleOf:"The field value must be divisible by {{multipleOf}}",maxProperties:"The number of field properties cannot be greater than {{maxProperties}}",minProperties:"The number of field properties cannot be less than {{maxProperties}}",uniqueItems:"Array elements are not unique"},"zh-CN":{pattern:"该字段不是一个合法的字段",invalid:"该字段不是一个合法的字段",required:"该字段是必填字段",number:"该字段不是合法的数字",integer:"该字段不是合法的整型数字",url:"该字段不是合法的url",email:"该字段不是合法的邮箱格式",ipv6:"该字段不是合法的ipv6格式",ipv4:"该字段不是合法的ipv4格式",idcard:"该字段不是合法的身份证格式",qq:"该字段不符合QQ号格式",phone:"该字段不是有效的手机号",money:"该字段不是有效货币格式",zh:"该字段不是合法的中文字符串",date:"该字段不是合法的日期格式",zip:"该字段不是合法的邮编格式",len:"长度或条目数必须为{{len}}",min:"长度或条目数不能小于{{min}}",minLength:"长度或条目数不能小于{{minLength}}",minItems:"长度或条目数不能小于{{minItems}}",maxLength:"长度或条目数不能大于{{maxLength}}",maxItems:"长度或条目数不能大于{{maxItems}}",max:"长度或条目数不能大于{{max}}",maximum:"数值不能大于{{maximum}}",exclusiveMaximum:"数值必须小于{{exclusiveMaximum}}",minimum:"数值不能小于{{minimum}}",exclusiveMinimum:"数值必须大于{{exclusiveMinimum}}",whitespace:"不能为纯空白字符串",enum:"字段值必须为{{enum}}其中一个",const:"字段值必须等于{{const}}",multipleOf:"字段值不能被{{multipleOf}}整除",maxProperties:"字段属性数量不能大于{{maxProperties}}",minProperties:"字段属性数量不能小于{{minProperties}}",uniqueItems:"数组元素不唯一"},"zh-TW":{pattern:"該字段不是一個合法的字段",invalid:"該字段不是一個合法的字段",required:"該字段是必填字段",number:"該字段不是合法的數字",integer:"該字段不是合法的整型數字",url:"該字段不是合法的url",email:"該字段不是合法的郵箱格式",ipv6:"該字段不是合法的ipv6格式",ipv4:"該字段不是合法的ipv4格式",idcard:"該字段不是合法的身份證格式",qq:"該字段不符合QQ號格式",phone:"該字段不是有效的手機號",money:"該字段不是有效貨幣格式",zh:"該字段不是合法的中文字符串",date:"該字段不是合法的日期格式",zip:"該字段不是合法的郵編格式",len:"長度或條目數必須為{{len}}",min:"長度或條目數不能小於{{min}}",minItems:"長度或條目數不能小於{{minItems}}",minLength:"長度或條目數不能小於{{minLength}}",max:"長度或條目數不能大於{{max}}",maxItems:"長度或條目數不能大於{{maxItems}}",maxLength:"長度或條目數不能大於{{maxLength}}",maximum:"數值不能大於{{maximum}}",exclusiveMaximum:"數值必須小於{{exclusiveMaximum}}",minimum:"數值不能小於{{minimum}}",exclusiveMinimum:"數值必須大於{{exclusiveMinimum}}",whitespace:"不能為純空白字符串",enum:"字段值必須為{{enum}}其中一個",const:"字段值必須等於{{const}}",multipleOf:"字段值不能被{{multipleOf}}整除",maxProperties:"字段屬性數量不能大於{{maxProperties}}",minProperties:"字段屬性數量不能小於{{minProperties}}",uniqueItems:"數組元素不唯一"},ja:{url:"このフィールドは無効なURLです",whitespace:"このフィールドを空の文字列にすることはできません。",zh:"このフィールドは中国語の文字列ではありません",zip:"このフィールドはzip形式ではありません",date:"このフィールドは有効な日付形式ではありません",email:"このフィールドはメール形式ではありません",exclusiveMaximum:"値は{{exclusiveMaximum}}未満である必要があります",exclusiveMinimum:"値は{{exclusiveMinimum}}より大きい必要があります",idcard:"このフィールドはIDカード形式ではありません",integer:"このフィールドは整数ではありません",ipv4:"このフィールドはIPv4形式ではありません",ipv6:"このフィールドはIPv6形式ではありません",len:"エントリの長さまたは数は{{len}}でなければなりません",max:"エントリの長さまたは数は最大{{max}}でなければなりません",maxItems:"エントリの長さまたは数は最大{{maxItems}}でなければなりません",maxLength:"エントリの長さまたは数は最大{{maxLength}}でなければなりません",maximum:"値は{{最大}}を超えることはできません",min:"エントリの長さまたは数は、少なくとも{{min}}である必要があります",minItems:"エントリの長さまたは数は、少なくとも{{minItems}}である必要があります",minLength:"エントリの長さまたは数は、少なくとも{{minLength}}である必要があります",minimum:"値は{{minimum}}以上にする必要があります",money:"このフィールドは通貨形式ではありません",number:"このフィールドは数値ではありません",pattern:"このフィールドはどのパターンとも一致しません",invalid:"このフィールドはどのパターンとも一致しません",phone:"このフィールドは電話番号の形式ではありません",qq:"このフィールドはqq数値形式ではありません",required:"この項目は必須です",enum:"フィールド値は{{enum}}のいずれかである必要があります",cons:"フィールド値は{{const}}と等しくなければなりません",multipleOf:"フィールド値を{{multipleOf}}で割り切れない",maxProperties:"フィールドプロパティの数は{{maxProperties}}を超えることはできません",minProperties:"フィールドプロパティの数は{{minProperties}}未満にすることはできません",uniqueItems:"配列要素は一意ではありません"}}),function(e){(0,i.S6)(e,(function(e,t){((0,i.d8)(e)||e instanceof RegExp)&&(_.formats[t]=new RegExp(e))}))}(R);var k,D=function(e,t,n){return r=void 0,o=void 0,s=function(){var r,o,a,s,l,c;return function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=r.length-1)return s;if(d(c)){var u=r.slice(0,a),p=e[u.join(".")];return h(p)&&(0,i.sI)(o)?(n=!0,s):t}return n=!1,s}),[]);return new i.Dm(o)},X=function(e,t){return e.address=i.Dm.parse(t),e.path=function(e){return q(e.form.fields,e.address)}(e),e.form.indexes[e.path.toString()]=e.address.toString(),e},Z=function(e,t){t.forEach((function(t){var n=t.type,r=t.address,i=t.oldAddress,o=t.payload;"remove"===n?Q(e,r,!1):"update"===n&&(o&&(e[r]=o,e[i]===o&&delete e[i]),r&&o&&X(o,r))}))},Q=function(e,t,n){void 0===n&&(n=!0);var r=e[t];if(null==r||r.dispose(),f(r)&&n){var i=r.form,o=r.path;i.deleteValuesIn(o),i.deleteInitialValuesIn(o)}delete e[t]},J=function(e,t){return e.feedbacks.filter((function(n){var r,o,a;return!!(null===(r=n.messages)||void 0===r?void 0:r.length)&&function(e,t){return!(!e||!t||e.type&&e.type!==t.type||e.code&&e.code!==t.code||e.path&&t.path&&!i.Dm.parse(e.path).match(t.path)||e.address&&t.address&&!i.Dm.parse(e.address).match(t.address)||e.triggerType&&e.triggerType!==t.triggerType)}(t,Y(Y({},n),{address:null===(o=e.address)||void 0===o?void 0:o.toString(),path:null===(a=e.path)||void 0===a?void 0:a.toString()}))}))},ee=function(e,t){return e.feedbacks.length?J(e,t).reduce((function(e,t){return(0,i.xb)(t.messages)?e:e.concat(t.messages)}),[]):[]},te=function(e,t){return void 0===t&&(t="onInput"),z(void 0,void 0,void 0,(function(){var n,r;return $(this,(function(o){switch(o.label){case 0:return[4,D(e.value,e.validator,{triggerType:t,validateFirst:null!==(r=e.props.validateFirst)&&void 0!==r?r:e.form.props.validateFirst,context:{field:e,form:e.form}})];case 1:return n=o.sent(),(0,l.dC)((function(){(0,i.S6)(n,(function(n,r){e.setFeedback({triggerType:t,type:r,code:(0,i.Ho)("validate-".concat(r)),messages:n})}))})),[2,n]}}))}))},ne=function(e,t){var n=Y({startIndex:0,deleteCount:0,insertCount:0},t),r=n.startIndex,o=n.deleteCount,a=n.insertCount,s=e.address.toString(),c=s.length,u=e.form,h=u.fields,p=[],d=a-o;(0,l.dC)((function(){(0,i.S6)(h,(function(e,t){if(function(e){return 0===e.indexOf(s)&&e.length>c}(t)){if(function(e){var t,n=null===(t=e.substring(c).match(G))||void 0===t?void 0:t[1];return void 0!==n&&Number(n)>r+o-1}(t)){var n=function(e){var t;if(0===d)return e;var n=e.substring(0,c),r=e.substring(c),i=null===(t=r.match(G))||void 0===t?void 0:t[1];if(void 0===i)return e;var o=Number(i)+d;return"".concat(n).concat(r.replace(/^\.\d+/,".".concat(o)))}(t);p.push({type:"update",address:n,oldAddress:t,payload:e})}(function(e){var t,n=null===(t=e.substring(c).match(G))||void 0===t?void 0:t[1];if(void 0===n)return!1;var i=Number(n);return i>=r&&ir&&!h["".concat(n).concat(i.replace(/^\.\d+/,".".concat(s+o)))]||s===r}(t))&&(f(e)&&u.deleteInitialValuesIn(e.path),p.push({type:"remove",address:t}))}})),Z(h,p)})),e.form.notify(k.ON_FORM_GRAPH_CHANGE)},re=function(e,t){var n=e.address.toString(),r=e.form.fields;(0,l.dC)((function(){(0,i.S6)(r,(function(e,r){(function(e){return 0===e.indexOf(n)&&e.length>n.length})(r)&&function(e){var r,i=null===(r=e.slice(n.length).match(G))||void 0===r?void 0:r[1];return void 0!==i&&Number(i)>=t}(r)&&e.destroy()}))}))},ie=l.dC.scope.bound((function(e){for(var t=e.form,n=i.Dm.ensureIn(t,"requests.updates",[]),r=i.Dm.ensureIn(t,"requests.updateIndexes",{}),o=0;o-1?e:e.concat(t.triggerType)}),[]),s={},l=0,h.label=1;case 1:return l0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},Oe=function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},Fe=function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;ic}(t)&&(function(e){var t,n=null===(t=e.slice(a.length).match(G))||void 0===t?void 0:t[1];if(void 0===n)return!1;var i=Number(n);return h?i>r&&i<=o:i=o}(t)||function(e){var t,n=null===(t=e.substring(c).match(G))||void 0===t?void 0:t[1];return void 0!==n&&Number(n)===r}(t))){var n=function(e){var t=e.substring(0,c),n=e.substring(c),i=n.match(G)[1],a=Number(i);return a===r?a=o:a+=h?-1:1,"".concat(t).concat(n.replace(/^\.\d+/,".".concat(a)))}(t);u.push({type:"update",address:n,oldAddress:t,payload:e}),s[n]||u.push({type:"remove",address:t})}})),Z(s,u)})),e.form.notify(k.ON_FORM_GRAPH_CHANGE)}(a,{fromIndex:e,toIndex:t}),a.onInput(a.value)}))},a.moveUp=function(e){if((0,i.H1)(a.value))return a.move(e,e-1<0?a.value.length-1:e-1)},a.moveDown=function(e){if((0,i.H1)(a.value))return a.move(e,e+1>=a.value.length?0:e+1)},a.makeAutoCleanable(),a}return Pe(t,e),t.prototype.makeAutoCleanable=function(){var e=this;this.disposers.push((0,l.U5)((function(){var t;return null===(t=e.value)||void 0===t?void 0:t.length}),(function(t,n){n&&!t?re(e,0):tn.length})(r)&&function(e){var r,i=null===(r=e.slice(n.length).match(/^\.([^.]+)/))||void 0===r?void 0:r[1];return void 0!==i&&t.includes(i)}(r)&&e.destroy()}))}))}}(e,n)})))},t}(we),je=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ge=function(e){function t(t,n,r,i){var o=e.call(this)||this;return o.displayName="VoidField",o.setState=ae(o),o.getState=se(o),o.form=r,o.props=n,o.designable=i,be(),o.locate(t),o.initialize(),o.makeObservable(),o.makeReactive(),o.onInit(),Ee(),o}return je(t,e),t.prototype.initialize=function(){this.mounted=!1,this.unmounted=!1,this.initialized=!1,this.title=this.props.title,this.description=this.props.description,this.pattern=this.props.pattern,this.display=this.props.display,this.hidden=this.props.hidden,this.editable=this.props.editable,this.disabled=this.props.disabled,this.readOnly=this.props.readOnly,this.readPretty=this.props.readPretty,this.visible=this.props.visible,this.content=this.props.content,this.data=this.props.data,this.decorator=(0,i._K)(this.props.decorator),this.component=(0,i._K)(this.props.component)},t.prototype.makeObservable=function(){this.designable||(0,l.Ou)(this,{path:l.LO.ref,title:l.LO.ref,description:l.LO.ref,selfDisplay:l.LO.ref,selfPattern:l.LO.ref,initialized:l.LO.ref,mounted:l.LO.ref,unmounted:l.LO.ref,decoratorType:l.LO.ref,componentType:l.LO.ref,content:l.LO.ref,data:l.LO.shallow,decoratorProps:l.LO,componentProps:l.LO,display:l.LO.computed,pattern:l.LO.computed,hidden:l.LO.computed,visible:l.LO.computed,disabled:l.LO.computed,readOnly:l.LO.computed,readPretty:l.LO.computed,editable:l.LO.computed,component:l.LO.computed,decorator:l.LO.computed,indexes:l.LO.computed,setTitle:l.aD,setDescription:l.aD,setDisplay:l.aD,setPattern:l.aD,setComponent:l.aD,setComponentProps:l.aD,setDecorator:l.aD,setDecoratorProps:l.aD,setData:l.aD,setContent:l.aD,onInit:l.dC,onMount:l.dC,onUnmount:l.dC})},t.prototype.makeReactive=function(){this.designable||ve(this)},t}(Se),Ye=function(){return Ye=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0})))}),[])},this.notify=function(e,t){n.heart.publish(e,null!=t?t:n)},this.subscribe=function(e){return n.heart.subscribe(e)},this.unsubscribe=function(e){n.heart.unsubscribe(e)},this.onInit=function(){n.initialized=!0,n.notify(k.ON_FORM_INIT)},this.onMount=function(){n.mounted=!0,n.notify(k.ON_FORM_MOUNT),i.kk[ze]&&!n.props.designable&&i.kk[ze].inject(n.id,n)},this.onUnmount=function(){n.notify(k.ON_FORM_UNMOUNT),n.query("*").forEach((function(e){return e.destroy(!1)})),n.disposers.forEach((function(e){return e()})),n.unmounted=!0,n.indexes={},n.heart.clear(),i.kk[ze]&&!n.props.designable&&i.kk[ze].unmount(n.id)},this.setState=ae(this),this.getState=se(this),this.setFormState=ae(this),this.getFormState=se(this),this.setFieldState=function(e){return l.dC.bound((function(t,n){if(m(t))t.forEach((function(e){e.setState(n)}));else if(u(t))t.setState(n);else{var r=0,o=i.Dm.parse(t);e.query(o).forEach((function(e){e.setState(n),r++})),(0===r||o.isWildMatchPattern)&&function(e,t,n){var r=i.Dm.ensureIn(e,"requests.updates",[]),o=i.Dm.ensureIn(e,"requests.updateIndexes",{}),a=t.toString(),s=o[a];(0,i.JY)(s)?r[s]&&!r[s].callbacks.some((function(e){return e.toString()===n.toString()&&e===n}))&&r[s].callbacks.push(n):(o[a]=r.length,r.push({pattern:t,callbacks:[n]}))}(e,o,n)}}))}(this),this.getFieldState=(t=this,function(e,n){return m(e)?e.take(n):u(e)?e.getState(n):t.query(e).take((function(e){return e.getState(n)}))}),this.getFormGraph=function(){return n.graph.getGraph()},this.setFormGraph=function(e){n.graph.setGraph(e)},this.clearFormGraph=function(e){void 0===e&&(e="*"),n.query(e).forEach((function(e){e.destroy()}))},this.validate=function(e){return void 0===e&&(e="*"),pe(n,e)},this.submit=function(e){return he(n,e)},this.reset=function(e,t){return void 0===e&&(e="*"),de(n,e,t)},this.initialize(e),this.makeObservable(),this.makeReactive(),this.makeValues(),this.onInit()}return e.prototype.initialize=function(e){this.id=(0,i.hQ)(),this.props=Ye({},e),this.initialized=!1,this.submitting=!1,this.validating=!1,this.loading=!1,this.modified=!1,this.mounted=!1,this.unmounted=!1,this.display=this.props.display||"visible",this.pattern=this.props.pattern||"editable",this.editable=this.props.editable,this.disabled=this.props.disabled,this.readOnly=this.props.readOnly,this.readPretty=this.props.readPretty,this.visible=this.props.visible,this.hidden=this.props.hidden,this.graph=new g(this),this.heart=new s({lifecycles:this.lifecycles,context:this})},e.prototype.makeValues=function(){this.values=ge(this.props.values),this.initialValues=ge(this.props.initialValues)},e.prototype.makeObservable=function(){(0,l.Ou)(this,{fields:l.LO.shallow,initialized:l.LO.ref,validating:l.LO.ref,submitting:l.LO.ref,loading:l.LO.ref,modified:l.LO.ref,pattern:l.LO.ref,display:l.LO.ref,mounted:l.LO.ref,unmounted:l.LO.ref,values:l.LO,initialValues:l.LO,valid:l.LO.computed,invalid:l.LO.computed,errors:l.LO.computed,warnings:l.LO.computed,successes:l.LO.computed,hidden:l.LO.computed,visible:l.LO.computed,editable:l.LO.computed,readOnly:l.LO.computed,readPretty:l.LO.computed,disabled:l.LO.computed,setValues:l.aD,setValuesIn:l.aD,setInitialValues:l.aD,setInitialValuesIn:l.aD,setPattern:l.aD,setDisplay:l.aD,setState:l.aD,deleteInitialValuesIn:l.aD,deleteValuesIn:l.aD,setSubmitting:l.aD,setValidating:l.aD,setFormGraph:l.aD,clearFormGraph:l.aD,reset:l.aD,submit:l.aD,validate:l.aD,onMount:l.dC,onUnmount:l.dC,onInit:l.dC})},e.prototype.makeReactive=function(){var e=this;this.disposers.push((0,l.N7)(this,(function(t){(function(e,t){var n=t.path;Array.isArray(t.object)&&"length"===t.key||((0,l.r3)(e.initialValues,t.object)||(0,l.r3)(e.initialValues,t.value))&&("add"!==t.type&&"set"!==t.type||function(e,t,n){var r=function(t,n){t.length?e.setValuesIn(t,(0,i.d9)(n)):Object.assign(e.values,(0,i.d9)(n))},o=function(t,n){void 0===n&&(n=[]);var a=e.getValuesIn(n),s=e.query(n).take();if(ye(a,t))r(n,t);else{if((0,i.xb)(t))return;if(j.initializing)return;(0,i.Uk)(a)&&(0,i.Uk)(t)?(0,i.S6)(t,(function(e,t){o(e,n.concat(t))})):s?d(s)||s.selfModified||r(n,t):e.initialized&&r(n,t)}};o(n,t)}(e,n.slice(1),t.value),e.initialized&&e.notify(k.ON_FORM_INITIAL_VALUES_CHANGE))})(e,t),function(e,t){Array.isArray(t.object)&&"length"===t.key||((0,l.r3)(e.values,t.object)||(0,l.r3)(e.values,t.value))&&e.initialized&&e.notify(k.ON_FORM_VALUES_CHANGE)}(e,t)}),!0))},Object.defineProperty(e.prototype,"valid",{get:function(){return!this.invalid},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"invalid",{get:function(){return this.errors.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"errors",{get:function(){return this.queryFeedbacks({type:"error"})},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"warnings",{get:function(){return this.queryFeedbacks({type:"warning"})},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"successes",{get:function(){return this.queryFeedbacks({type:"success"})},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"lifecycles",{get:function(){return De(this,this.props.effects)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hidden",{get:function(){return"hidden"===this.display},set:function(e){(0,i.JY)(e)&&(this.display=e?"hidden":"visible")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"visible",{get:function(){return"visible"===this.display},set:function(e){(0,i.JY)(e)&&(this.display=e?"visible":"none")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"editable",{get:function(){return"editable"===this.pattern},set:function(e){(0,i.JY)(e)&&(this.pattern=e?"editable":"readPretty")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"readOnly",{get:function(){return"readOnly"===this.pattern},set:function(e){(0,i.JY)(e)&&(this.pattern=e?"readOnly":"editable")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return"disabled"===this.pattern},set:function(e){(0,i.JY)(e)&&(this.pattern=e?"disabled":"editable")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"readPretty",{get:function(){return"readPretty"===this.pattern},set:function(e){(0,i.JY)(e)&&(this.pattern=e?"readPretty":"editable")},enumerable:!1,configurable:!0}),e}(),We=function(e){return new $e(e)};function Ve(e){return Ne(e,(function(e){return function(t){(0,l.dC)((function(){t(e)}))}}))}Ve(k.ON_FORM_INIT),Ve(k.ON_FORM_MOUNT),Ve(k.ON_FORM_UNMOUNT),Ve(k.ON_FORM_VALUES_CHANGE),Ve(k.ON_FORM_INITIAL_VALUES_CHANGE);var Ke=Ve(k.ON_FORM_INPUT_CHANGE);function qe(e){return Ne(e,(function(e,t){return function(n,r){i.Dm.parse(n).matchAliasGroup(e.address,e.path)&&(0,l.dC)((function(){r(e,t)}))}}))}Ve(k.ON_FORM_SUBMIT),Ve(k.ON_FORM_RESET),Ve(k.ON_FORM_SUBMIT_START),Ve(k.ON_FORM_SUBMIT_END),Ve(k.ON_FORM_SUBMIT_SUCCESS),Ve(k.ON_FORM_SUBMIT_FAILED),Ve(k.ON_FORM_SUBMIT_VALIDATE_START),Ve(k.ON_FORM_SUBMIT_VALIDATE_SUCCESS),Ve(k.ON_FORM_SUBMIT_VALIDATE_FAILED),Ve(k.ON_FORM_SUBMIT_VALIDATE_END),Ve(k.ON_FORM_VALIDATE_START),Ve(k.ON_FORM_VALIDATE_SUCCESS),Ve(k.ON_FORM_VALIDATE_FAILED),Ve(k.ON_FORM_VALIDATE_END),Ve(k.ON_FORM_GRAPH_CHANGE),Ve(k.ON_FORM_LOADING);var Xe=qe(k.ON_FIELD_INIT),Ze=qe(k.ON_FIELD_MOUNT),Qe=qe(k.ON_FIELD_UNMOUNT),Je=qe(k.ON_FIELD_VALUE_CHANGE),et=qe(k.ON_FIELD_INITIAL_VALUE_CHANGE),tt=qe(k.ON_FIELD_INPUT_VALUE_CHANGE),nt=qe(k.ON_FIELD_VALIDATE_START),rt=qe(k.ON_FIELD_VALIDATE_END),it=(qe(k.ON_FIELD_VALIDATING),qe(k.ON_FIELD_VALIDATE_FAILED)),ot=qe(k.ON_FIELD_VALIDATE_SUCCESS);function at(e,t){var n=ke();0===n.query(e).reduce((function(e,r){return t(r,n),e+1}),0)&&Xe(e,t)}qe(k.ON_FIELD_SUBMIT),qe(k.ON_FIELD_SUBMIT_START),qe(k.ON_FIELD_SUBMIT_END),qe(k.ON_FIELD_SUBMIT_VALIDATE_START),qe(k.ON_FIELD_SUBMIT_VALIDATE_END),qe(k.ON_FIELD_SUBMIT_SUCCESS),qe(k.ON_FIELD_SUBMIT_FAILED),qe(k.ON_FIELD_SUBMIT_VALIDATE_SUCCESS),qe(k.ON_FIELD_SUBMIT_VALIDATE_FAILED),qe(k.ON_FIELD_RESET),qe(k.ON_FIELD_LOADING)},1397:(e,t,n)=>{"use strict";n.d(t,{Pl:()=>Me,RV:()=>ve,Uk:()=>De,$j:()=>ye,cA:()=>Ye,jM:()=>me,vl:()=>ge,Pi:()=>ue,U$:()=>pe,XA:()=>de});var r=n(4808),i=n(6196),o=Symbol.for("__REVA_ACTIONS"),a={parent:!0,root:!0,properties:!0,patternProperties:!0,additionalProperties:!0,items:!0,additionalItems:!0,"x-linkages":!0,"x-reactions":!0},s={title:"title",description:"description",default:"initialValue",enum:"dataSource",readOnly:"readOnly",writeOnly:"editable","x-content":"content","x-data":"data","x-value":"value","x-editable":"editable","x-disabled":"disabled","x-read-pretty":"readPretty","x-read-only":"readOnly","x-visible":"visible","x-hidden":"hidden","x-display":"display","x-pattern":"pattern","x-validator":"validator","x-decorator":"decoratorType","x-component":"componentType","x-decorator-props":"decoratorProps","x-component-props":"componentProps"},l={required:!0,format:!0,maxItems:!0,minItems:!0,maxLength:!0,minLength:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,pattern:!0,const:!0,multipleOf:!0,maxProperties:!0,minProperties:!0,uniqueItems:!0},c=(Object.keys(s),Object.keys(l),Object.prototype.hasOwnProperty),u=function(e){return"$$typeof"in e&&"_owner"in e||!!e._isAMomentObject||!!j.isSchemaInstance(e)||!!e[o]||!!(0,r.LQ)(e.toJS)||!!(0,r.LQ)(e.toJSON)||!!(0,i.bi)(e)},h=/^\s*\{\{([\s\S]*)\}\}\s*$/,p={silent:!1,compile:function(e,t){if(void 0===t&&(t={}),!p.silent)return new Function("$root","with($root) { return (".concat(e,"); }"))(t);try{return new Function("$root","with($root) { return (".concat(e,"); }"))(t)}catch(e){}}},d=function(e){void 0===e&&(e=!0),p.silent=!!e},f=function(e){(0,r.LQ)(e)&&(p.compile=e)},m=function(e,t){if((0,r.d8)(e)){var n=e.match(h);return n?p.compile(n[1],t):e}return e},g=function(e,t){var n=[],i=function(e){if((0,r.d8)(e))return m(e,t);if((0,r.H1)(e))return e.map((function(e){return i(e)}));if((0,r.Uk)(e)){if(u(e))return e;if(n.indexOf(e)>-1)return e;var o=n.length;n.push(e);var a=(0,r.u4)(e,(function(e,t,n){return e[n]=i(t),e}),{});return n.splice(o,1),a}return e};return i(e)},y=function(e,t,n){var o,a,s,l,h;a=function(t,o){var a=r.Dm.parse(o),s=g(t,n),l=a.segments[0];void 0!==s&&c.call(e,l)&&(0,i.rg)((function(){return r.Dm.setIn(e,a,s)}))},s=[],l=o=t,h=function(e,t){if(void 0===t&&(t=[]),(0,r.Uk)(e)){if(s.indexOf(e)>-1)return;var n=s.length;if(s.push(e),u(e)&&l!==e)return void a(e,t);(0,r.S6)(e,(function(e,n){h(e,t.concat(n))})),s.splice(n,1)}else a(e,t)},h(o)},v=function(e,t,n,o){void 0===o&&(o=!1),function(e,t){void 0!==e["x-validator"]&&t(e["x-validator"],["x-validator"]);var n=[],i=e,o=function(e,s){if(void 0===s&&(s=[]),"x-validator"!==s[0]&&"version"!==s[0]&&"_isJSONSchemaObject"!==s[0]&&!(-1==String(s[0]).indexOf("x-")&&(0,r.LQ)(e)||a[s[0]]))if((0,r.Uk)(e)){if("default"===s[0]||"x-value"===s[0])return void t(e,s);if(n.indexOf(e)>-1)return;var l=n.length;if(n.push(e),u(e)&&i!==e)return void t(e,s);(0,r.S6)(e,(function(e,t){o(e,s.concat(t))})),n.splice(l,1)}else t(e,s)};o(e)}(t,(function(t,a){var c=t,u=(0,i.WV)((function(){c=g(t,n)}));void 0!==c&&(o&&!u&&e.initialized||function(e,t,n){(0,i.rg)((function(){var i,o,a=r.Dm.parse(t).segments,c=a[0],u="enum"===c&&(0,r.H1)(n),h=s[c];h?r.Dm.setIn(e,[h].concat(a.slice(1)),u?(o=n,(0,r._K)(o).map((function(e){return"object"==typeof e?e:{label:e,value:e}}))):n):l[c]&&(null===(i=e.setValidatorRule)||void 0===i||i.call(e,c,n))}))}(e,a,c))}))},_=n(5093),b=function(){return b=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}(String(t).split(/\s*#\s*/),2),i=r[0],o=r[1];return e.query(i).getIn(o||n||"value")},S=function(e,t){void 0===t&&(t=!1);var n=e||{},i=n.request,o=n.target,a=n.runner,s=n.field,l=n.scope;i&&(o?(i.state&&s.form.setFieldState(o,(function(e){return y(e,i.state,b(b({},l),{$target:e}))})),i.schema&&s.form.setFieldState(o,(function(e){return v(e,i.schema,b(b({},l),{$target:e}),t)})),(0,r.d8)(a)&&a&&s.form.setFieldState(o,(function(e){m("{{function(){".concat(a,"}}}"),b(b({},l),{$target:e}))()}))):(i.state&&s.setState((function(e){return y(e,i.state,l)})),i.schema&&s.setState((function(e){return v(e,i.schema,l,t)})),(0,r.d8)(a)&&a&&m("{{function(){".concat(a,"}}}"),l)()))},C=function(e,t){void 0===t&&(t={});var n=i.EH.effect,r=i.EH.memo,o=e,a=e.form,s=e.form.values;return b(b({},t.scope),{$form:a,$self:o,$observable:function(e,t){return i.EH.memo((function(){return(0,i.LO)(e)}),t)},$effect:n,$memo:r,$props:function(t){return e.setComponentProps(t)},$values:s})},A=function(e,t){return function(n){S({field:n,request:{schema:e},scope:C(n,t)},!0)}},R=function(e,t){return(0,r._K)(e["x-reactions"]).map((function(e){return function(n){var o=C(n,t),a=m(e,o);if(a){if((0,r.LQ)(a))return a(n,o);var s=a.when,l=a.fulfill,c=a.otherwise,u=a.target,h=a.effects,p=function(){var e=function(e,t){if((0,r.H1)(t)){var n=[];return t.forEach((function(t){(0,r.d8)(t)?n.push(x(e,t)):(0,r.Uk)(t)&&t.name&&t.source&&(n[t.name]=x(e,t.source,t.property))})),n}return(0,r.Uk)(t)?(0,r.u4)(t,(function(t,n,r){return t[r]=x(e,n),t}),{}):[]}(n,a.dependencies),t=e,i=b(b({},o),{$target:null,$deps:e,$dependencies:t}),h=m(s,i),p=!s||h,d=p?l:c,f=p?null==l?void 0:l.run:null==c?void 0:c.run;S({field:n,target:u,request:d,runner:f,scope:i})};u&&(a.effects=(null==h?void 0:h.length)?h:T),a.effects?i.EH.memo((function(){(0,i.rg)((function(){(0,r.S6)(a.effects,(function(e){E[e]&&E[e](n.address,p)}))}))}),[]):p()}}}))},w=function(){return w=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}(e),!1))},U=function(e){Object.assign(M,e)},j=function(){function e(t,n){var i=this;return this._isJSONSchemaObject=!0,this.version="2.0",this.addProperty=function(t,n){return i.properties=i.properties||{},i.properties[t]=new e(n,i),i.properties[t].name=t,i.properties[t]},this.removeProperty=function(e){var t=i.properties[e];return delete i.properties[e],t},this.setProperties=function(e){for(var t in e)i.addProperty(t,e[t]);return i},this.addPatternProperty=function(t,n){if(n)return i.patternProperties=i.patternProperties||{},i.patternProperties[t]=new e(n,i),i.patternProperties[t].name=t,i.patternProperties[t]},this.removePatternProperty=function(e){var t=i.patternProperties[e];return delete i.patternProperties[e],t},this.setPatternProperties=function(e){if(!e)return i;for(var t in e)i.addPatternProperty(t,e[t]);return i},this.setAdditionalProperties=function(t){if(t)return i.additionalProperties=new e(t),i.additionalProperties},this.setItems=function(t){if(t)return Array.isArray(t)?i.items=t.map((function(t){return new e(t,i)})):i.items=new e(t,i),i.items},this.setAdditionalItems=function(t){if(t)return i.additionalItems=new e(t,i),i.additionalItems},this.findDefinitions=function(e){if(e&&i.root&&(0,r.d8)(e)&&0===e.indexOf("#/"))return r.Dm.getIn(i.root,e.substring(2).split("/"))},this.mapProperties=function(t){return e.getOrderProperties(i).map((function(e,n){var r=e.schema,i=e.key;return t(r,i,n)}))},this.mapPatternProperties=function(t){return e.getOrderProperties(i,"patternProperties").map((function(e,n){var r=e.schema,i=e.key;return t(r,i,n)}))},this.reduceProperties=function(t,n){var r=n;return e.getOrderProperties(i,"properties").forEach((function(e,n){var i=e.schema,o=e.key;r=t(r,i,o,n)})),r},this.reducePatternProperties=function(t,n){var r=n;return e.getOrderProperties(i,"patternProperties").forEach((function(e,n){var i=e.schema,o=e.key;r=t(r,i,o,n)})),r},this.compile=function(t){var n=new e({},i.parent);return(0,r.S6)(i,(function(e,i){(0,r.LQ)(e)&&!i.includes("x-")||"parent"!==i&&"root"!==i&&(n[i]=a[i]?e?m(e,t):e:e?g(e,t):e)})),n},this.fromJSON=function(t){return t?e.isSchemaInstance(t)?t:((0,r.S6)((n=t,L.reduce((function(e,t){return t(e)}),w({},n))),(function(e,t){(0,r.LQ)(e)&&!t.includes("x-")||("properties"===t?i.setProperties(e):"patternProperties"===t?i.setPatternProperties(e):"additionalProperties"===t?i.setAdditionalProperties(e):"items"===t?i.setItems(e):"additionalItems"===t?i.setAdditionalItems(e):"$ref"===t?i.fromJSON(i.findDefinitions(e)):i[t]=e)})),i):i;var n},this.toJSON=function(e){void 0===e&&(e=!0);var t={};return(0,r.S6)(i,(function(n,i){var o,a;if((!(0,r.LQ)(n)||i.includes("x-"))&&"parent"!==i&&"root"!==i)if("properties"===i||"patternProperties"===i){if(!e)return;t[i]=(0,r.UI)(n,(function(e){var t;return null===(t=null==e?void 0:e.toJSON)||void 0===t?void 0:t.call(e)}))}else if("additionalProperties"===i||"additionalItems"===i){if(!e)return;t[i]=null===(o=null==n?void 0:n.toJSON)||void 0===o?void 0:o.call(n)}else if("items"===i){if(!e)return;Array.isArray(n)?t[i]=n.map((function(e){var t;return null===(t=null==e?void 0:e.toJSON)||void 0===t?void 0:t.call(e)})):t[i]=null===(a=null==n?void 0:n.toJSON)||void 0===a?void 0:a.call(n)}else t[i]=n})),t},this.toFieldProps=function(e){return function(e,t){return{name:e.name,reactions:[A(e,t)].concat(R(e,t))}}(i,e)},n?(this.parent=n,this.root=n.root):this.root=this,this.fromJSON(t)}return e.getOrderProperties=function(e,t){void 0===e&&(e={}),void 0===t&&(t="properties");var n=[],r=[];for(var i in e[t]){var o=e[t][i],a=o["x-index"];isNaN(a)?r.push({schema:o,key:i}):n[a]={schema:o,key:i}}return n.concat(r).filter((function(e){return!!e}))},e.compile=function(e,t){return g(e,t)},e.shallowCompile=function(e,t){return m(e,t)},e.isSchemaInstance=function(t){return(0,r.iw)(t,e)},e.registerCompiler=f,e.registerPatches=N,e.registerVoidComponents=B,e.registerTypeDefaultComponents=U,e.registerPolyfills=I,e.enablePolyfills=k,e.silent=d,e}(),G=n(1024),Y=n.n(G),z=function(e){var t=(0,G.useRef)(null);return(0,G.useEffect)((function(){return t.current&&e!==t.current&&t.current.onUnmount(),t.current=e,e.onMount(),function(){e.onUnmount()}}),[e]),e},$=(0,G.createContext)(null),W=(0,G.createContext)(null),V=(0,G.createContext)(null),K=(0,G.createContext)(null),q=(0,G.createContext)(null),X=(0,G.createContext)(null),Z=function(){for(var e=[],t=0;t0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}((0,G.useState)([]),2)[1],t=(0,G.useRef)(!1);(0,G.useEffect)((function(){return t.current=!1,function(){t.current=!0}}),re);var n,r,i=(0,G.useCallback)((function(){t.current||e([])}),re),o=(0,G.useCallback)((function(){0===ie.value?i():oe.add(i)}),re);return ie.value++,n=function(){ie.value>0&&ie.value--,0===ie.value&&oe.forEach((function(e){oe.delete(e),e()}))},(r=(0,G.useRef)(null)).current=function(e){var t=!1;return Promise.resolve(0).then((function(){t?t=!1:e()})),function(){t=!0}}(n),(0,G.useLayoutEffect)((function(){r.current(),n()})),o}(),r=Y().useRef(!1),o=Y().useRef(null),a=Y().useRef(),s=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}(Y().useState(se),1)[0];return o.current||(o.current=new i.fX((function(){"function"==typeof(null==t?void 0:t.scheduler)?t.scheduler(n):n()}),null==t?void 0:t.displayName)),a.current||(a.current=new ne((function(){o.current&&o.current.dispose()})),a.current.open(s)),Y().useEffect((function(){return r.current=!1,a.current.close(),function(){r.current=!0,o.current&&(o.current.dispose(),o.current=null)}}),[]),o.current.track(e)},ce=function(){return ce=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},Ee=function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i{"use strict";n.d(t,{fX:()=>Ge,aD:()=>Re,EH:()=>Ue,dC:()=>Ae,r3:()=>se,Ou:()=>He,WV:()=>le,bi:()=>re,LO:()=>Fe,N7:()=>Ye,U5:()=>je,ZN:()=>ae,rg:()=>we});var r,i=Object.prototype.toString,o=function(e){return e&&e instanceof Map},a=function(e){return e&&e instanceof Set},s=function(e){return e&&e instanceof WeakMap},l=function(e){return e&&e instanceof WeakSet},c=function(e){return"function"==typeof e},u=Array.isArray,h=function(e){return"[object Object]"===i.call(e)},p=function(e){return o(e)||s(e)||a(e)||l(e)},d=function(e){return h(e)||u(e)},f=function(e){return Array.isArray(e)?e:null!=e?[e]:[]},m=function(){function e(e){void 0===e&&(e=[]),this.batchDeleting=!1,this.value=e}return e.prototype.add=function(e){this.has(e)||this.value.push(e)},e.prototype.has=function(e){return this.value.indexOf(e)>-1},e.prototype.delete=function(e){if(!this.batchDeleting){var t=this.value.indexOf(e);t>-1&&this.value.splice(t,1)}},e.prototype.forEach=function(e){if(0!==this.value.length)for(var t=0,n=this.value.length;t0},$=function(){return S.value},W=function(){return x.value>0},V=function(){A.forEachDelete((function(e){c(e._scheduler)?e._scheduler(e):e()}))},K=function(){w.forEachDelete((function(e){e()}))},q=function(e,t){return e!==t&&(e.length!==t.length||!!e.some((function(e,n){return e!==t[n]})))},X=function(e,t){this.key=e.key,this.type=e.type,this.object=e.target,this.value=e.value,this.oldValue=e.oldValue,this.path=t.path.concat(e.key)},Z=function(){function e(e,t,n){this.target=e,this.key=t,this.value=n}return Object.defineProperty(e.prototype,"path",{get:function(){return this.parent?this.parent.path.concat(this.key):this.key?[this.key]:[]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"targetRaw",{get:function(){return g.get(this.target)||this.target},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){if(this.target)return Q(this.targetRaw)},enumerable:!1,configurable:!0}),e.prototype.isEqual=function(e){return this.key?e.targetRaw===this.targetRaw&&e.key===this.key:e.value===this.value},e.prototype.contains=function(e){if(e===this)return!0;for(var t=e.parent;t;){if(this.isEqual(t))return!0;t=t.parent}return!1},e}(),Q=function(e){return _.get(e)},J=function(e,t,n){var r=g.get(n)||n,i=Q(r);if(i)return i;!function(e,t){_.set(e,t)}(r,new Z(e,t,n))},ee=Symbol("RAW_TYPE"),te=Symbol("OBSERVABLE_TYPE"),ne=Object.prototype.hasOwnProperty,re=function(e){return g.has(e)},ie=function(e){return e&&!!e[L]},oe=function(e){return!(null==e||!u(e)&&(h(e)?e[ee]||!e[te]&&("$$typeof"in e&&"_owner"in e||e._isAMomentObject||e._isJSONSchemaObject||c(e.toJS)||c(e.toJSON)):!(o(e)||s(e)||a(e)||l(e))))},ae=function(e){var t=new WeakSet,n=function(e){if(t.has(e))return e;if(e&&e[ee])return e;if(u(e)){if(re(e)){t.add(e);var r=[];return e.forEach((function(e){r.push(n(e))})),t.delete(e),r}}else if(h(e)&&re(e)){t.add(e);var i={};for(var o in e)ne.call(e,o)&&(i[o]=n(e[o]));return t.delete(e),i}return e};return n(e)},se=function(e,t){var n=g.get(e)||e,r=g.get(t)||t;if(n===r)return!0;var i=Q(n),o=Q(r);return!!i&&!!o&&i.contains(o)},le=function(e){return C.value=!1,null==e||e(),C.value},ce=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},ue=function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}(Pe(a,s,r),2),u=l[0],h=l[1];function p(){i.value=null==u?void 0:u.call(a)}function d(){if(-1===E.indexOf(d)){M(d);try{E.push(d),p()}finally{E.pop()}}}function f(){return E.length>0&&function(e){if(c(e)){var t=E[E.length-1];if(t){var n=t._computesSet;n?n.add(e):t._computesSet=new m([e])}}}(d),W()?p():d._dirty&&(d(),d._dirty=!1),D({target:a,key:s,type:"get"}),i.value}function v(e){try{H(),null==h||h.call(a,e)}finally{B()}}return d._name="ComputedReaction",d._scheduler=function(){d._dirty=!0,P({target:a,key:s,value:i.value,type:"set"})},d._isComputed=!0,d._dirty=!0,d._context=a,d._property=s,t?(Object.defineProperty(t,n,{get:f,set:v,enumerable:!0}),t):(Object.defineProperty(o,"value",{set:v,get:f}),J(t,n,i),g.set(o,i),y.set(i,o),o)}));function Fe(e){return be(null,null,e)}function He(e,t){if(re(e))return e;if(!oe(e))return e;for(var n in J(void 0,void 0,e),g.set(e,e),y.set(e,e),t){var r=t[n];ie(r)&&Te(r)({target:e,key:n})}return e}Fe.box=Oe,Fe.ref=Ne,Fe.deep=Le,Fe.shallow=Ie,Fe.computed=Me,Fe[L]=Le;var Be=function(){return Be=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0)&&-1===E.indexOf(n)){M(n);try{H(),E.push(n),e()}finally{E.pop(),n._boundary++,B(),n._boundary=0,n._memos.cursor=0,n._effects.cursor=0}}},r=function(){n._memos={queue:[],cursor:0},n._effects={queue:[],cursor:0}};return n._boundary=0,n._name=t,r(),n(),function(){F(n),function(e){if(e._effects)try{H(),e._effects.queue.forEach((function(e){e&&e.dispose&&e.dispose()}))}finally{B()}}(n),r()}};Ue.memo=function(e,t){if(c(e)){var n=E[E.length-1];if(!n||!n._memos)throw new Error("autorun.memo must used in autorun function body.");var r=f(t||[]),i=n._memos.cursor++,o=n._memos.queue[i];if(!o||q(r,o.deps)){var a=e();return n._memos.queue[i]={value:a,deps:r},a}return o.value}},Ue.effect=function(e,t){if(c(e)){var n=E[E.length-1];if(!n||!n._effects)throw new Error("autorun.effect must used in autorun function body.");var r=n._effects,i=f(t||[{}]),o=r.cursor++,a=r.queue[o];a&&!q(i,a.deps)||(Promise.resolve(0).then((function(){if(!n._disposed){var t=e();c(t)&&(r.queue[o].dispose=t)}})),r.queue[o]={deps:i})}};var je=function(e,t,n){var r=Be({name:"Reaction"},n),i={},o=function(){try{H(),c(t)&&t(i.currentValue,i.oldValue)}finally{B()}},a=function(){if(-1===E.indexOf(a)){M(a);try{E.push(a),i.currentValue=e()}finally{E.pop()}}};return a._scheduler=function(e){e(),(c(r.equals)?r.equals(i.oldValue,i.currentValue):i.oldValue===i.currentValue)||o(),i.oldValue=i.currentValue},a._name=r.name,a(),i.oldValue=i.currentValue,r.fireImmediately&&o(),function(){F(a)}},Ge=function(e,t){void 0===t&&(t="TrackerReaction");var n=this;this.track=function(e){if(!c(e))return n.results;if(!(n.track._boundary>0)){if(-1===E.indexOf(n.track)){M(n.track);try{E.push(n.track),n.results=e()}finally{E.pop(),n.track._boundary++,n.track._boundary=0}}return n.results}},this.dispose=function(){F(n.track)},this.track._scheduler=function(t){0===n.track._boundary&&n.dispose(),c(t)&&e(t)},this.track._name=t,this.track._boundary=0},Ye=function(e,t,n){if(void 0===n&&(n=!0),e&&"object"!=typeof e)throw Error("Can not observe ".concat(typeof e," type."));return function(e){var r=g.get(e)||e,i=Q(r),o=function(e){var r=g.get(e.target)||e.target,o=Q(r);(n&&i.contains(o)||i===o||i.targetRaw===r&&i.key===e.key)&&t(new X(e,o))};return i&&c(t)&&O.add(o),function(){O.delete(o)}}(e)}},4808:(e,t,n)=>{"use strict";n.d(t,{Dm:()=>ft,lT:()=>mt,d9:()=>C,S6:()=>m,kk:()=>v,iw:()=>_,H1:()=>s,Bl:()=>u,xb:()=>O,Xy:()=>S,LQ:()=>a,e9:()=>h,sI:()=>p,BP:()=>d,Uk:()=>l,d8:()=>c,G7:()=>w,JY:()=>L,vl:()=>I,UI:()=>g,TS:()=>Tt,Ho:()=>F,u4:()=>y,ug:()=>U,_K:()=>f,hQ:()=>Ct});var r=Object.prototype.toString,i=function(e){return function(t){return o(t)==="[object ".concat(e,"]")}},o=function(e){return r.call(e)},a=function(e){return"function"==typeof e},s=Array.isArray,l=i("Object"),c=i("String"),u=i("Boolean"),h=i("Number"),p=function(e){return h(e)||/^\d+$/.test(e)},d=function(e){return"object"==typeof e},f=(i("RegExp"),function(e){return s(e)?e:e?[e]:[]});function m(e,t,n){if(s(e)||c(e)){if(n){for(var r=e.length-1;r>=0;r--)if(!1===t(e[r],r))return}else for(r=0;r0&&n>="0"&&n<="9"?"_"+n+r:""+n.toUpperCase()+r}function F(e,t){return void 0===t&&(t={}),function(e,t){void 0===t&&(t={});for(var n=t.splitRegexp,r=void 0===n?k:n,i=t.stripRegexp,o=void 0===i?D:i,a=t.transform,s=void 0===a?I:a,l=t.delimiter,c=void 0===l?" ":l,u=P(P(e,r,"$1\0$2"),o,"\0"),h=0,p=u.length;"\0"===u.charAt(h);)h++;for(;"\0"===u.charAt(p-1);)p--;return u.slice(h,p).split("\0").map(s).join(c)}(e,N({delimiter:"",transform:M},t))}var H,B="[\ud800-\udbff][\udc00-\udfff]",U=function(e){return function(e){return"string"==typeof e?e.replace((t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[a-zA-Z\\d]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PRZcf-ntqry=><~]))"].join("|"),new RegExp(t,"g")),""):e;var t}(e).replace(new RegExp(B,"g")," ").length},j=function(){return j=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0;t--)if(this.state.context[t]===e)return!0;return!1},e.prototype.unexpect=function(e){return e=e||this.state.type,ye('Unexpect token "'.concat(e.flag,'" in ').concat(this.state.pos," char."),{pos:this.state.pos})},e.prototype.expectNext=function(e,t){if(e&&e.expectNext&&t&&!e.expectNext.call(this,t))throw ye('Unexpect token "'.concat(t.flag,'" token should not be behind "').concat(e.flag,'" token.(').concat(this.state.pos,"th char)"),{pos:this.state.pos})},e.prototype.expectPrev=function(e,t){if(e&&e.expectPrev&&t&&!e.expectPrev.call(this,t))throw ye('Unexpect token "'.concat(e.flag,'" should not be behind "').concat(t.flag,'"(').concat(this.state.pos,"th char)."),{pos:this.state.pos})},e.prototype.match=function(e){return this.state.type===e},e.prototype.skipSpace=function(){if(this.curContext()!==$)e:for(;this.state.pos8&&e<14||e>=5760&&me.test(String.fromCharCode(e))))break e;++this.state.pos}}},e.prototype.next=function(){if(this.type_=this.state.type,this.input.length<=this.state.pos)return this.finishToken(fe);this.skipSpace(),this.readToken(this.getCode(),this.state.pos>0?this.getCode(this.state.pos-1):-1/0)},e.prototype.getCode=function(e){return void 0===e&&(e=this.state.pos),function(e,t){if(String.fromCharCode)return e.codePointAt(t);var n=e.charCodeAt(t);return n<=55295||n>=57344?n:(n<<10)+e.charCodeAt(t+1)-56613888}(this.input,e)},e.prototype.eat=function(e){return!!this.match(e)&&(this.next(),!0)},e.prototype.readKeyWord=function(){for(var e=this.state.pos,t="";;){var n=this.getCode(),r=this.getCode(this.state.pos-1);if(this.input.length===this.state.pos){t=ve(this.input,e,this.state.pos+1);break}if(ge(n)&&92!==r){t=ve(this.input,e,this.state.pos);break}if(32===n||160===n||10===n||8232===n||8233===n){t=ve(this.input,e,this.state.pos);break}if(13===n&&10===this.input.charCodeAt(this.state.pos+1)){t=ve(this.input,e,this.state.pos);break}if(n>8&&n<14||n>=5760&&me.test(String.fromCharCode(n))){t=ve(this.input,e,this.state.pos);break}this.state.pos++}this.finishToken(Z,t)},e.prototype.readIngoreString=function(){for(var e,t=this.state.pos,n="";;){var r=this.getCode();if(this.state.pos>=this.input.length)break;if(91!==r&&93!==r||92!==e){if(93==r&&93===e){n=this.input.slice(t,this.state.pos-1).replace(/\\([\[\]])/g,"$1"),this.state.pos++;break}this.state.pos++,e=r}else this.state.pos++,e=""}this.finishToken(pe,n),this.finishToken(le)},e.prototype.finishToken=function(e,t){var n=this.state.type;this.state.type=e,void 0!==t&&(this.state.value=t),this.expectNext(n,e),this.expectPrev(e,n),e.updateContext&&e.updateContext.call(this,n)},e.prototype.readToken=function(e,t){if(92===t)return this.readKeyWord();if(this.input.length<=this.state.pos)this.finishToken(fe);else if(this.curContext()===$)this.readIngoreString();else if(123===e)this.state.pos++,this.finishToken(re);else if(125===e)this.state.pos++,this.finishToken(ie);else if(42===e){if(this.state.pos++,42===this.getCode())return this.state.pos++,this.finishToken(J);this.finishToken(Q)}else if(33===e)this.state.pos++,this.finishToken(te);else if(46===e)this.state.pos++,this.finishToken(ee);else if(91===e){if(this.state.pos++,91===this.getCode())return this.state.pos++,this.finishToken(se);this.finishToken(oe)}else 126===e?(this.state.pos++,this.finishToken(de)):93===e?(this.state.pos++,this.finishToken(ae)):40===e?(this.state.pos++,this.finishToken(ce)):41===e?(this.state.pos++,this.finishToken(ue)):44===e?(this.state.pos++,this.finishToken(he)):58===e?(this.state.pos++,this.finishToken(ne)):this.readKeyWord()},e}(),be=function(e){return function(t){return t&&t.type===e}},Ee=be("Identifier"),Te=be("IgnoreExpression"),xe=be("DotOperator"),Se=be("WildcardOperator"),Ce=be("ExpandOperator"),Ae=be("GroupExpression"),Re=be("RangeExpression"),we=be("DestructorExpression"),Le=be("ObjectPattern"),Oe=(be("ObjectPatternProperty"),be("ArrayPattern")),Ne=Object.prototype.toString,Ie=function(e){return function(t){return Ne.call(t)==="[object ".concat(e,"]")}},ke=Ie("Function"),De=Array.isArray||Ie("Array"),Pe=(Ie("Object"),Ie("String")),Me=(Ie("Boolean"),Ie("Number")),Fe=function(e){return"object"==typeof e},He=Ie("RegExp"),Be=function(e){return Me(e)||/^(\d+)(\.\d+)?$/.test(e)},Ue=De,je=Object.keys,Ge=Object.prototype.hasOwnProperty,Ye=function(e,t){if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){var n=Ue(e),r=Ue(t),i=void 0,o=void 0,a=void 0;if(n&&r){if((o=e.length)!==t.length)return!1;for(i=o;0!=i--;)if(!Ye(e[i],t[i]))return!1;return!0}if(n!==r)return!1;var s=je(e);if((o=s.length)!==je(t).length)return!1;for(i=o;0!=i--;)if(!Ge.call(t,s[i]))return!1;for(i=o;0!=i--;)if(a=s[i],!Ye(e[a],t[a]))return!1;return!0}return e!=e&&t!=t},ze=new Map,$e=function(e){return ze.get(e)},We=function(e){var t=[];if(Le(e)){var n=0;return e.properties.forEach((function(e){t[n]={path:[]},t[n].key=e.key.value,t[n].path.push(e.key.value),Ee(e.value)&&(t[n].key=e.value.value);var r=t[n].path,i=We(e.value),o=n;i.forEach((function(e){t[o]?(t[o].key=e.key,t[o].path=r.concat(e.path)):t[o]={key:e.key,path:r.concat(e.path)},o++})),o>n?n=o:n++})),t}if(Oe(e)){var r=0;return e.elements.forEach((function(e,n){t[r]={path:[]},t[r].key=n,t[r].path.push(n),Ee(e)&&(t[r].key=e.value);var i=t[r].path,o=We(e),a=r;o.forEach((function(e){t[a]?(t[a].key=e.key,t[a].path=i.concat(e.path)):t[a]={key:e.key,path:i.concat(e.path)},a++})),a>r?r=a:r++})),t}return we(e)?We(e.value):t},Ve=function(e,t,n,r){t.forEach((function(t){var i=t.key,o=t.path;r.setIn([i],e,r.getIn(o,n))}))},Ke=function(e,t,n){var r={};return t.length&&Me(t[0].path[0])&&(r=[]),e=null!=e?e:{},t.forEach((function(t){var i=t.key,o=t.path;n.setIn(o,r,e[i])})),r},qe=function(e,t,n){t.forEach((function(t){var r=t.key;n.deleteIn([r],e)}))},Xe=function(e,t,n,r){return t.every((function(t){var i=t.key;return r.existIn([i],e,n)}))},Ze=(H=function(e,t){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},H(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}H(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Qe=function(e,t,n){if(Be(e)&&Be(t)){if("+"===n)return String(Number(e)+Number(t));if("-"===n)return String(Number(e)-Number(t));if("*"===n)return String(Number(e)*Number(t));if("/"===n)return String(Number(e)/Number(t))}else{if("+"===n)return String(e)+String(t);if("-"===n)return"NaN";if("*"===n)return"NaN";if("/"===n)return"NaN"}return String(Number(t))},Je=function(e){function t(t,n){var r=e.call(this,t)||this;return r.isMatchPattern=!1,r.isWildMatchPattern=!1,r.haveExcludePattern=!1,r.haveRelativePattern=!1,r.base=n,r}return Ze(t,e),t.prototype.parse=function(){var e;return this.data={segments:[]},this.eat(fe)||(this.next(),e=this.parseAtom(this.state.type)),this.data.tree=e,e},t.prototype.append=function(e,t){e&&t&&(e.after=t)},t.prototype.parseAtom=function(e){switch(e){case re:case oe:return this.includesContext(K)?e===re?this.parseObjectPattern():this.parseArrayPattern():this.parseDestructorExpression();case Z:return this.parseIdentifier();case de:return this.parseExpandOperator();case J:case Q:return this.parseWildcardOperator();case se:return this.parseIgnoreExpression();case ee:return this.parseDotOperator()}},t.prototype.pushSegments=function(e){this.data.segments.push(e)},t.prototype.parseIdentifier=function(){var e={type:"Identifier",value:this.state.value},t=!this.includesContext(K)&&!this.isMatchPattern&&!this.isWildMatchPattern;if(this.next(),this.includesContext(z)){if(this.state.type!==ae)throw this.unexpect();this.state.context.pop(),this.next()}else t&&this.pushSegments(e.value);if(this.state.type===oe){if(this.next(),this.state.type!==Z)throw this.unexpect();this.state.context.push(z);var n=!1;/^\d+$/.test(this.state.value)&&(n=!0);var r=this.state.value;this.pushSegments(n?Number(r):r);var i=this.parseAtom(this.state.type);n&&(i.arrayIndex=!0),this.append(e,i)}else this.append(e,this.parseAtom(this.state.type));return e},t.prototype.parseExpandOperator=function(){var e={type:"ExpandOperator"};return this.isMatchPattern=!0,this.isWildMatchPattern=!0,this.data.segments=[],this.next(),this.append(e,this.parseAtom(this.state.type)),e},t.prototype.parseWildcardOperator=function(){var e={type:"WildcardOperator"};return this.state.type===J&&(e.optional=!0),this.isMatchPattern=!0,this.isWildMatchPattern=!0,this.data.segments=[],this.next(),this.state.type===ce?e.filter=this.parseGroupExpression(e):this.state.type===oe&&(e.filter=this.parseRangeExpression(e)),this.append(e,this.parseAtom(this.state.type)),e},t.prototype.parseDestructorExpression=function(){var e=this,t={type:"DestructorExpression"};this.state.context.push(K);var n=this.state.pos-1;t.value=this.state.type===re?this.parseObjectPattern():this.parseArrayPattern();var r,i,o=this.state.pos;return this.state.context.pop(),t.source=this.input.substring(n,o).replace(/\[\s*([\+\-\*\/])?\s*([^,\]\s]*)\s*\]/,(function(t,n,r){return void 0!==e.relative?n?Qe(e.relative,r||1,n):r?Qe(e.relative,r,"+"):String(e.relative):t})).replace(/\s*\.\s*/g,"").replace(/\s*/g,""),void 0===this.relative&&(r=t.source,i=We(t),ze.set(r,i)),this.relative=void 0,this.pushSegments(t.source),this.next(),this.append(t,this.parseAtom(this.state.type)),t},t.prototype.parseArrayPattern=function(){var e={type:"ArrayPattern",elements:[]};return this.next(),e.elements=this.parseArrayPatternElements(),e},t.prototype.parseArrayPatternElements=function(){for(var e=[];this.state.type!==ae&&this.state.type!==fe;){if(e.push(this.parseAtom(this.state.type)),this.state.type===ae)return this.includesContext(K)&&this.next(),e;this.next()}return e},t.prototype.parseObjectPattern=function(){var e={type:"ObjectPattern",properties:[]};return this.next(),e.properties=this.parseObjectProperties(),e},t.prototype.parseObjectProperties=function(){for(var e=[];this.state.type!==ie&&this.state.type!==fe;){var t={type:"ObjectPatternProperty",key:this.parseAtom(this.state.type)};if(e.push(t),this.state.type===ne&&(this.next(),t.value=this.parseAtom(this.state.type)),this.state.type===ie)return this.includesContext(K)&&this.next(),e;this.next()}return e},t.prototype.parseDotOperator=function(){var e={type:"DotOperator"};if(!this.type_&&this.base){if(this.base.isMatchPattern)throw new Error("Base path must be an absolute path.");for(this.data.segments=this.base.toArr();this.state.type===ee;)this.relative=this.data.segments.pop(),this.haveRelativePattern=!0,this.next();return function(e,t){void 0===e&&(e=[]);var n=e.length,r=function(i){void 0===i&&(i=0);var o=i=0&&this.record.score++},e.prototype.take=function(e){var t;return String(null!==(t=this.path[e])&&void 0!==t?t:"")},e.prototype.matchExcludeIdentifier=function(e,t,n){var r=n===this.path.length-1,i=n=Number(e.start.value)&&n<=Number(e.end.value):n>=Number(e.start.value):e.end?n<=Number(e.end.value):(this.wildcards=this.stack.slice(),this.next(e,t))},e.prototype.matchNode=function(e,t){return void 0===t&&(t=0),xe(e)?this.next(e,t+1):Ee(e)?this.matchIdentifier(e,t):Te(e)?this.matchIgnoreExpression(e,t):we(e)?this.matchDestructorExpression(e,t):Ce(e)?this.matchExpandOperator(e,t):Se(e)?this.matchWildcardOperator(e,t):Ae(e)?this.matchGroupExpression(e,t):!!Re(e)&&this.matchRangeExpression(e,t)},e.prototype.match=function(e){return this.path=e,{matched:this.matchNode(this.tree),record:this.record}},e.matchSegments=function(e,t,n){if(e.length!==t.length)return{matched:!1,record:n};var r=function(i){void 0===i&&(i=0);var o,a,s=(o=e[i],a=t[i],(o="symbol"==typeof o?o:"".concat(o))===("symbol"==typeof a?a:"".concat(a)));return(null==n?void 0:n.score)>=0&&n.score++,s&&(!(i0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},nt=function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;ir.segments.length)return l(!1);for(var c=0;c=c?a:l:a||l},this.existIn=function(e,t){return void 0===t&&(t=0),ht(r.segments,e,t)},this.getIn=function(e){return st(r.segments,e)},this.setIn=function(e,t){return lt(r.segments,e,t),e},this.deleteIn=function(e){return ct(r.segments,e),e},this.ensureIn=function(e,t){var n=r.getIn(e);return void 0===n?(r.setIn(e,t),r.getIn(e)):n};var i=pt(t,n),o=i.tree,a=i.segments,s=i.entire,l=i.isRegExp,c=i.isMatchPattern,u=i.isWildMatchPattern,h=i.haveRelativePattern,p=i.haveExcludePattern;this.entire=s,this.segments=a,this.isMatchPattern=c,this.isWildMatchPattern=u,this.haveRelativePattern=h,this.isRegExp=l,this.haveExcludePattern=p,this.tree=o,this.matchCache=new Map,this.includesCache=new Map}return e.prototype.toString=function(){var e;return null===(e=this.entire)||void 0===e?void 0:e.toString()},e.prototype.toArr=function(){var e;return null===(e=this.segments)||void 0===e?void 0:e.slice()},Object.defineProperty(e.prototype,"length",{get:function(){return this.segments.length},enumerable:!1,configurable:!0}),e.match=function(t){var n=e.parse(t),r=function(e){return n.match(e)};return r[it]=!0,r.path=n,r},e.isPathPattern=function(e){return!!(Pe(e)||De(e)||He(e)||ke(e)&&e[it])},e.transform=function(t,n,r){return e.parse(t).transform(n,r)},e.parse=function(t,n){if(void 0===t&&(t=""),t instanceof e)return rt.get(t.entire)||(rt.set(t.entire,t),t);if(t&&t[it])return e.parse(t.path);var r=n?e.parse(n):"",i="".concat(t,":").concat(r);return rt.get(i)||(t=new e(t,n),rt.set(i,t),t)},e.getIn=function(t,n){return e.parse(n).getIn(t)},e.setIn=function(t,n,r){return e.parse(n).setIn(t,r)},e.deleteIn=function(t,n){return e.parse(n).deleteIn(t)},e.existIn=function(t,n,r){return e.parse(n).existIn(t,r)},e.ensureIn=function(t,n,r){return e.parse(n).ensureIn(t,r)},e}(),mt=function(){var e=this;this.subscribers={index:0},this.subscribe=function(t){if(a(t)){var n=e.subscribers.index+1;return e.subscribers[n]=t,e.subscribers.index++,n}},this.unsubscribe=function(t){e.subscribers[t]?delete e.subscribers[t]:t||(e.subscribers={index:0})},this.notify=function(t,n){e.subscription&&e.subscription&&a(e.subscription.notify)&&!1===e.subscription.notify.call(e,t)||n||m(e.subscribers,(function(n){a(n)&&n(function(t){return e.subscription&&a(e.subscription.filter)?e.subscription.filter.call(e,t):t}(t))}))}};function gt(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){return"$$typeof"in e&&"_owner"in e||(!!e._isAMomentObject||(!!e._isJSONSchemaObject||(!!a(e.toJS)||(!!a(e.toJSON)||!l(e)))))}(e)}function yt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Et((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function vt(e,t,n){return e.concat(t).map((function(e){return yt(e,n)}))}function _t(e){return L(e)?Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e)):[]}function bt(e,t){try{return t in e}catch(e){return!1}}function Et(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||vt,n.isMergeableObject=n.isMergeableObject||gt,n.cloneUnlessOtherwiseSpecified=yt;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):function(e,t,n){var r=n.assign&&e||{};return n.isMergeableObject(e)?(n.assign||_t(e).forEach((function(t){r[t]=yt(e[t],n)})),_t(t).forEach((function(i){(function(e,t){return bt(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,i)||(O(e[i])?r[i]=t[i]:bt(e,i)&&n.isMergeableObject(t[i])?r[i]=function(e,t){if(!t.customMerge)return Et;var n=t.customMerge(e);return"function"==typeof n?n:Et}(i,n)(e[i],t[i],n):r[i]=yt(t[i],n))})),r):e}(e,t,n):yt(t,n)}for(var Tt=Et,xt=36,St="";xt--;)St+=xt.toString(36);function Ct(e){for(var t="",n=e||11;n--;)t+=St[36*Math.random()|0];return t}},4431:(e,t,n)=>{"use strict";var r,i=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["fill","width","height","style"]);return o.default.createElement("svg",i({viewBox:"0 0 24 24",style:i({fill:n,width:a,height:l},u)},h),o.default.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))}},2357:(e,t,n)=>{"use strict";var r,i=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["fill","width","height","style"]);return o.default.createElement("svg",i({viewBox:"0 0 24 24",style:i({fill:n,width:a,height:l},u)},h),o.default.createElement("path",{d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}))}},9412:function(e){e.exports=function(){"use strict";return function(e,t){if("undefined"==typeof document)return;const n=document.createElement("textarea");n.value=e,n.setAttribute("readonly",""),n.style={position:"absolute",left:"-9999px"},document.body.appendChild(n);const r=document.getSelection().rangeCount>0&&document.getSelection().getRangeAt(0);n.select();let i=!1;try{i=!!document.execCommand("copy")}catch(e){i=!1}document.body.removeChild(n),r&&document.getSelection&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(r)),t&&t(i)}}()},9625:(e,t,n)=>{function r(e){return r="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},r(e)}!function(){var e=function(){return this}();e||"undefined"==typeof window||(e=window);var t=function e(t,n,r){"string"==typeof t?(2==arguments.length&&(r=n),e.modules[t]||(e.payloads[t]=r,e.modules[t]=null)):e.original?e.original.apply(this,arguments):(console.error("dropping module because define wasn't a string."),console.trace())};t.modules={},t.payloads={};var n,r,i=function(e,t,n){if("string"==typeof t){var r=s(e,t);if(null!=r)return n&&n(),r}else if("[object Array]"===Object.prototype.toString.call(t)){for(var i=[],a=0,l=t.length;a1&&function(e,t,n){if(Array.prototype.indexOf)return e.indexOf("",n);for(var r=0;r-1&&(n=RegExp(this.source,i.replace.call(((r=this).global?"g":"")+(r.ignoreCase?"i":"")+(r.multiline?"m":"")+(r.extended?"x":"")+(r.sticky?"y":""),"g","")),i.replace.call(e.slice(s.index),n,(function(){for(var e=1;es.index&&this.lastIndex--}return s},a||(RegExp.prototype.test=function(e){var t=i.exec.call(this,e);return t&&this.global&&!t[0].length&&this.lastIndex>t.index&&this.lastIndex--,!!t}))})),ace.define("ace/lib/es5-shim",["require","exports","module"],(function(e,t,n){function i(){}Function.prototype.bind||(Function.prototype.bind=function(e){var t=this;if("function"!=typeof t)throw new TypeError("Function.prototype.bind called on incompatible "+t);var n=d.call(arguments,1),r=function r(){if(this instanceof r){var i=t.apply(this,n.concat(d.call(arguments)));return Object(i)===i?i:this}return t.apply(e,n.concat(d.call(arguments)))};return t.prototype&&(i.prototype=t.prototype,r.prototype=new i,i.prototype=null),r});var o,a,s,l,c,u=Function.prototype.call,h=Array.prototype,p=Object.prototype,d=h.slice,f=u.bind(p.toString),m=u.bind(p.hasOwnProperty);if((c=m(p,"__defineGetter__"))&&(o=u.bind(p.__defineGetter__),a=u.bind(p.__defineSetter__),s=u.bind(p.__lookupGetter__),l=u.bind(p.__lookupSetter__)),2!=[1,2].splice(0).length)if(function(){function e(e){var t=new Array(e+2);return t[0]=t[1]=0,t}var t,n=[];if(n.splice.apply(n,e(20)),n.splice.apply(n,e(26)),t=n.length,n.splice(5,0,"XXX"),n.length,t+1==n.length)return!0}()){var g=Array.prototype.splice;Array.prototype.splice=function(e,t){return arguments.length?g.apply(this,[void 0===e?0:e,void 0===t?this.length-e:t].concat(d.call(arguments,2))):[]}}else Array.prototype.splice=function(e,t){var n=this.length;e>0?e>n&&(e=n):null==e?e=0:e<0&&(e=Math.max(n+e,0)),e+ts)for(h=c;h--;)this[l+h]=this[s+h];if(o&&e===u)this.length=u,this.push.apply(this,i);else for(this.length=u+o,h=0;h>>0;if("[object Function]"!=f(e))throw new TypeError;for(;++i>>0,i=Array(r),o=arguments[1];if("[object Function]"!=f(e))throw new TypeError(e+" is not a function");for(var a=0;a>>0,o=[],a=arguments[1];if("[object Function]"!=f(e))throw new TypeError(e+" is not a function");for(var s=0;s>>0,i=arguments[1];if("[object Function]"!=f(e))throw new TypeError(e+" is not a function");for(var o=0;o>>0,i=arguments[1];if("[object Function]"!=f(e))throw new TypeError(e+" is not a function");for(var o=0;o>>0;if("[object Function]"!=f(e))throw new TypeError(e+" is not a function");if(!r&&1==arguments.length)throw new TypeError("reduce of empty array with no initial value");var i,o=0;if(arguments.length>=2)i=arguments[1];else for(;;){if(o in n){i=n[o++];break}if(++o>=r)throw new TypeError("reduce of empty array with no initial value")}for(;o>>0;if("[object Function]"!=f(e))throw new TypeError(e+" is not a function");if(!r&&1==arguments.length)throw new TypeError("reduceRight of empty array with no initial value");var i,o=r-1;if(arguments.length>=2)i=arguments[1];else for(;;){if(o in n){i=n[o--];break}if(--o<0)throw new TypeError("reduceRight of empty array with no initial value")}do{o in this&&(i=e.call(void 0,i,n[o],o,t))}while(o--);return i}),Array.prototype.indexOf&&-1==[0,1].indexOf(1,2)||(Array.prototype.indexOf=function(e){var t=b&&"[object String]"==f(this)?this.split(""):k(this),n=t.length>>>0;if(!n)return-1;var r=0;for(arguments.length>1&&(r=I(arguments[1])),r=r>=0?r:Math.max(0,n+r);r>>0;if(!n)return-1;var r=n-1;for(arguments.length>1&&(r=Math.min(r,I(arguments[1]))),r=r>=0?r:n-Math.abs(r);r>=0;r--)if(r in t&&e===t[r])return r;return-1}),Object.getPrototypeOf||(Object.getPrototypeOf=function(e){return e.__proto__||(e.constructor?e.constructor.prototype:p)}),Object.getOwnPropertyDescriptor||(Object.getOwnPropertyDescriptor=function(e,t){if("object"!=r(e)&&"function"!=typeof e||null===e)throw new TypeError("Object.getOwnPropertyDescriptor called on a non-object: "+e);if(m(e,t)){var n;if(n={enumerable:!0,configurable:!0},c){var i=e.__proto__;e.__proto__=p;var o=s(e,t),a=l(e,t);if(e.__proto__=i,o||a)return o&&(n.get=o),a&&(n.set=a),n}return n.value=e[t],n}}),Object.getOwnPropertyNames||(Object.getOwnPropertyNames=function(e){return Object.keys(e)}),Object.create||(y=null===Object.prototype.__proto__?function(){return{__proto__:null}}:function(){var e={};for(var t in e)e[t]=null;return e.constructor=e.hasOwnProperty=e.propertyIsEnumerable=e.isPrototypeOf=e.toLocaleString=e.toString=e.valueOf=e.__proto__=null,e},Object.create=function(e,t){var n;if(null===e)n=y();else{if("object"!=r(e))throw new TypeError("typeof prototype["+r(e)+"] != 'object'");var i=function(){};i.prototype=e,(n=new i).__proto__=e}return void 0!==t&&Object.defineProperties(n,t),n}),Object.defineProperty){var T=E({}),x="undefined"==typeof document||E(document.createElement("div"));if(!T||!x)var S=Object.defineProperty}Object.defineProperty&&!S||(Object.defineProperty=function(e,t,n){if("object"!=r(e)&&"function"!=typeof e||null===e)throw new TypeError("Object.defineProperty called on non-object: "+e);if("object"!=r(n)&&"function"!=typeof n||null===n)throw new TypeError("Property description must be an object: "+n);if(S)try{return S.call(Object,e,t,n)}catch(e){}if(m(n,"value"))if(c&&(s(e,t)||l(e,t))){var i=e.__proto__;e.__proto__=p,delete e[t],e[t]=n.value,e.__proto__=i}else e[t]=n.value;else{if(!c)throw new TypeError("getters & setters can not be defined on this javascript engine");m(n,"get")&&o(e,t,n.get),m(n,"set")&&a(e,t,n.set)}return e}),Object.defineProperties||(Object.defineProperties=function(e,t){for(var n in t)m(t,n)&&Object.defineProperty(e,n,t[n]);return e}),Object.seal||(Object.seal=function(e){return e}),Object.freeze||(Object.freeze=function(e){return e});try{Object.freeze((function(){}))}catch(e){Object.freeze=(v=Object.freeze,function(e){return"function"==typeof e?e:v(e)})}if(Object.preventExtensions||(Object.preventExtensions=function(e){return e}),Object.isSealed||(Object.isSealed=function(e){return!1}),Object.isFrozen||(Object.isFrozen=function(e){return!1}),Object.isExtensible||(Object.isExtensible=function(e){if(Object(e)===e)throw new TypeError;for(var t="";m(e,t);)t+="?";e[t]=!0;var n=m(e,t);return delete e[t],n}),!Object.keys){var C=!0,A=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],R=A.length;for(var w in{toString:null})C=!1;Object.keys=function(e){if("object"!=r(e)&&"function"!=typeof e||null===e)throw new TypeError("Object.keys called on a non-object");var t=[];for(var n in e)m(e,n)&&t.push(n);if(C)for(var i=0,o=R;i0||-1)*Math.floor(Math.abs(e))),e}var k=function(e){if(null==e)throw new TypeError("can't convert "+e+" to object");return Object(e)}})),ace.define("ace/lib/fixoldbrowsers",["require","exports","module","ace/lib/regexp","ace/lib/es5-shim"],(function(e,t,n){"use strict";e("./regexp"),e("./es5-shim")})),ace.define("ace/lib/dom",["require","exports","module"],(function(e,t,n){"use strict";t.getDocumentHead=function(e){return e||(e=document),e.head||e.getElementsByTagName("head")[0]||e.documentElement},t.createElement=function(e,t){return document.createElementNS?document.createElementNS(t||"http://www.w3.org/1999/xhtml",e):document.createElement(e)},t.hasCssClass=function(e,t){return-1!==(e.className+"").split(/\s+/g).indexOf(t)},t.addCssClass=function(e,n){t.hasCssClass(e,n)||(e.className+=" "+n)},t.removeCssClass=function(e,t){for(var n=e.className.split(/\s+/g);;){var r=n.indexOf(t);if(-1==r)break;n.splice(r,1)}e.className=n.join(" ")},t.toggleCssClass=function(e,t){for(var n=e.className.split(/\s+/g),r=!0;;){var i=n.indexOf(t);if(-1==i)break;r=!1,n.splice(i,1)}return r&&n.push(t),e.className=n.join(" "),r},t.setCssClass=function(e,n,r){r?t.addCssClass(e,n):t.removeCssClass(e,n)},t.hasCssString=function(e,t){var n,r=0;if((t=t||document).createStyleSheet&&(n=t.styleSheets)){for(;r=0?parseFloat((o.match(/(?:MSIE |Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]):parseFloat((o.match(/(?:Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]),t.isOldIE=t.isIE&&t.isIE<9,t.isGecko=t.isMozilla=(window.Controllers||window.controllers)&&"Gecko"===window.navigator.product,t.isOldGecko=t.isGecko&&parseInt((o.match(/rv:(\d+)/)||[])[1],10)<4,t.isOpera=window.opera&&"[object Opera]"==Object.prototype.toString.call(window.opera),t.isWebKit=parseFloat(o.split("WebKit/")[1])||void 0,t.isChrome=parseFloat(o.split(" Chrome/")[1])||void 0,t.isAIR=o.indexOf("AdobeAIR")>=0,t.isIPad=o.indexOf("iPad")>=0,t.isTouchPad=o.indexOf("TouchPad")>=0,t.isChromeOS=o.indexOf(" CrOS ")>=0}})),ace.define("ace/lib/event",["require","exports","module","ace/lib/keys","ace/lib/useragent"],(function(e,t,n){"use strict";var i=e("./keys"),o=e("./useragent"),a=null,s=0;t.addListener=function(e,t,n){if(e.addEventListener)return e.addEventListener(t,n,!1);if(e.attachEvent){var r=function(){n.call(e,window.event)};n._wrapper=r,e.attachEvent("on"+t,r)}},t.removeListener=function(e,t,n){if(e.removeEventListener)return e.removeEventListener(t,n,!1);e.detachEvent&&e.detachEvent("on"+t,n._wrapper||n)},t.stopEvent=function(e){return t.stopPropagation(e),t.preventDefault(e),!1},t.stopPropagation=function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},t.preventDefault=function(e){e.preventDefault?e.preventDefault():e.returnValue=!1},t.getButton=function(e){return"dblclick"==e.type?0:"contextmenu"==e.type||o.isMac&&e.ctrlKey&&!e.altKey&&!e.shiftKey?2:e.preventDefault?e.button:{1:0,2:2,4:1}[e.button]},t.capture=function(e,n,r){function i(e){n&&n(e),r&&r(e),t.removeListener(document,"mousemove",n,!0),t.removeListener(document,"mouseup",i,!0),t.removeListener(document,"dragstart",i,!0)}return t.addListener(document,"mousemove",n,!0),t.addListener(document,"mouseup",i,!0),t.addListener(document,"dragstart",i,!0),i},t.addTouchMoveListener=function(e,n){var r,i;"ontouchmove"in e&&(t.addListener(e,"touchstart",(function(e){var t=e.changedTouches[0];r=t.clientX,i=t.clientY})),t.addListener(e,"touchmove",(function(e){var t=e.changedTouches[0];e.wheelX=-(t.clientX-r)/1,e.wheelY=-(t.clientY-i)/1,r=t.clientX,i=t.clientY,n(e)})))},t.addMouseWheelListener=function(e,n){"onmousewheel"in e?t.addListener(e,"mousewheel",(function(e){void 0!==e.wheelDeltaX?(e.wheelX=-e.wheelDeltaX/8,e.wheelY=-e.wheelDeltaY/8):(e.wheelX=0,e.wheelY=-e.wheelDelta/8),n(e)})):"onwheel"in e?t.addListener(e,"wheel",(function(e){switch(e.deltaMode){case e.DOM_DELTA_PIXEL:e.wheelX=.35*e.deltaX||0,e.wheelY=.35*e.deltaY||0;break;case e.DOM_DELTA_LINE:case e.DOM_DELTA_PAGE:e.wheelX=5*(e.deltaX||0),e.wheelY=5*(e.deltaY||0)}n(e)})):t.addListener(e,"DOMMouseScroll",(function(e){e.axis&&e.axis==e.HORIZONTAL_AXIS?(e.wheelX=5*(e.detail||0),e.wheelY=0):(e.wheelX=0,e.wheelY=5*(e.detail||0)),n(e)}))},t.addMultiMouseDownListener=function(e,n,r,i){var a,s,l,c=0,u={2:"dblclick",3:"tripleclick",4:"quadclick"};function h(e){if(0!==t.getButton(e)?c=0:e.detail>1?++c>4&&(c=1):c=1,o.isIE){var h=Math.abs(e.clientX-a)>5||Math.abs(e.clientY-s)>5;l&&!h||(c=1),l&&clearTimeout(l),l=setTimeout((function(){l=null}),n[c-1]||600),1==c&&(a=e.clientX,s=e.clientY)}if(e._clicks=c,r[i]("mousedown",e),c>4)c=0;else if(c>1)return r[i](u[c],e)}function p(e){c=2,l&&clearTimeout(l),l=setTimeout((function(){l=null}),n[c-1]||600),r[i]("mousedown",e),r[i](u[c],e)}Array.isArray(e)||(e=[e]),e.forEach((function(e){t.addListener(e,"mousedown",h),o.isOldIE&&t.addListener(e,"dblclick",p)}))};var l=o.isMac&&o.isOpera&&!("KeyboardEvent"in window)?function(e){return 0|(e.metaKey?1:0)|(e.altKey?2:0)|(e.shiftKey?4:0)|(e.ctrlKey?8:0)}:function(e){return 0|(e.ctrlKey?1:0)|(e.altKey?2:0)|(e.shiftKey?4:0)|(e.metaKey?8:0)};function c(e,t,n){var r=l(t);if(!o.isMac&&a){if(t.getModifierState&&(t.getModifierState("OS")||t.getModifierState("Win"))&&(r|=8),a.altGr){if(3==(3&r))return;a.altGr=0}if(18===n||17===n){var c="location"in t?t.location:t.keyLocation;17===n&&1===c?1==a[n]&&(s=t.timeStamp):18===n&&3===r&&2===c&&t.timeStamp-s<50&&(a.altGr=!0)}}if(n in i.MODIFIER_KEYS&&(n=-1),8&r&&n>=91&&n<=93&&(n=-1),r||13!==n||3!==(c="location"in t?t.location:t.keyLocation)||(e(t,r,-n),!t.defaultPrevented)){if(o.isChromeOS&&8&r){if(e(t,r,n),t.defaultPrevented)return;r&=-9}return!!(r||n in i.FUNCTION_KEYS||n in i.PRINTABLE_KEYS)&&e(t,r,n)}}function u(){a=Object.create(null)}t.getModifierString=function(e){return i.KEY_MODS[l(e)]},t.addCommandKeyListener=function(e,n){var r=t.addListener;if(o.isOldGecko||o.isOpera&&!("KeyboardEvent"in window)){var i=null;r(e,"keydown",(function(e){i=e.keyCode})),r(e,"keypress",(function(e){return c(n,e,i)}))}else{var s=null;r(e,"keydown",(function(e){a[e.keyCode]=(a[e.keyCode]||0)+1;var t=c(n,e,e.keyCode);return s=e.defaultPrevented,t})),r(e,"keypress",(function(e){s&&(e.ctrlKey||e.altKey||e.shiftKey||e.metaKey)&&(t.stopEvent(e),s=null)})),r(e,"keyup",(function(e){a[e.keyCode]=null})),a||(u(),r(window,"focus",u))}},"object"==("undefined"==typeof window?"undefined":r(window))&&window.postMessage&&!o.isOldIE&&(t.nextTick=function(e,n){n=n||window;var r="zero-timeout-message-1";t.addListener(n,"message",(function i(o){o.data==r&&(t.stopPropagation(o),t.removeListener(n,"message",i),e())})),n.postMessage(r,"*")}),t.nextFrame="object"==("undefined"==typeof window?"undefined":r(window))&&(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame),t.nextFrame?t.nextFrame=t.nextFrame.bind(window):t.nextFrame=function(e){setTimeout(e,17)}})),ace.define("ace/lib/lang",["require","exports","module"],(function(e,t,n){"use strict";t.last=function(e){return e[e.length-1]},t.stringReverse=function(e){return e.split("").reverse().join("")},t.stringRepeat=function(e,t){for(var n="";t>0;)1&t&&(n+=e),(t>>=1)&&(e+=e);return n};var i=/^\s\s*/,o=/\s\s*$/;t.stringTrimLeft=function(e){return e.replace(i,"")},t.stringTrimRight=function(e){return e.replace(o,"")},t.copyObject=function(e){var t={};for(var n in e)t[n]=e[n];return t},t.copyArray=function(e){for(var t=[],n=0,i=e.length;n=53||i.isWebKit&&i.isWebKit>=603)&&x()}},I=a.delayedCall(O,50);function k(){clearTimeout(L),L=setTimeout((function(){d&&(n.style.cssText=d,d=""),null==t.renderer.$keepTextAreaAtCursor&&(t.renderer.$keepTextAreaAtCursor=!0,t.renderer.$moveTextAreaToCursor())}),0)}r.addListener(n,"compositionstart",(function(e){p||!t.onCompositionStart||t.$readOnly||((p={}).canUndo=t.session.$undoManager,t.onCompositionStart(),setTimeout(O,0),t.on("mousedown",N),p.canUndo&&!t.selection.isEmpty()&&(t.insert(""),t.session.markUndoGroup(),t.selection.clearSelection()),t.session.markUndoGroup())})),i.isGecko?r.addListener(n,"text",(function(){I.schedule()})):(r.addListener(n,"keyup",(function(){I.schedule()})),r.addListener(n,"keydown",(function(){I.schedule()}))),r.addListener(n,"compositionend",N),this.getElement=function(){return n},this.setReadOnly=function(e){n.readOnly=e},this.onContextMenu=function(e){E=!0,v(t.selection.isEmpty()),t._emit("nativecontextmenu",{target:t,domEvent:e}),this.moveToMouse(e,!0)},this.moveToMouse=function(e,a){d||(d=n.style.cssText),n.style.cssText=(a?"z-index:100000;":"")+"height:"+n.style.height+";"+(i.isIE?"opacity:0.1;":"");var s=t.container.getBoundingClientRect(),l=o.computedStyle(t.container),c=s.top+(parseInt(l.borderTopWidth)||0),u=s.left+(parseInt(s.borderLeftWidth)||0),h=s.bottom-c-n.clientHeight-2,p=function(e){n.style.left=e.clientX-u-2+"px",n.style.top=Math.min(e.clientY-c-2,h)+"px"};p(e),"mousedown"==e.type&&(t.renderer.$keepTextAreaAtCursor&&(t.renderer.$keepTextAreaAtCursor=null),clearTimeout(L),i.isWin&&r.capture(t.container,p,k))},this.onContextMenuClose=k;var D=function(e){t.textInput.onContextMenu(e),k()};r.addListener(n,"mouseup",D),r.addListener(n,"mousedown",(function(e){e.preventDefault(),k()})),r.addListener(t.renderer.scroller,"contextmenu",D),r.addListener(n,"contextmenu",D)}})),ace.define("ace/mouse/default_handlers",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],(function(e,t,n){"use strict";e("../lib/dom"),e("../lib/event");var r=e("../lib/useragent");function i(e){e.$clickSelection=null;var t=e.editor;t.setDefaultHandler("mousedown",this.onMouseDown.bind(e)),t.setDefaultHandler("dblclick",this.onDoubleClick.bind(e)),t.setDefaultHandler("tripleclick",this.onTripleClick.bind(e)),t.setDefaultHandler("quadclick",this.onQuadClick.bind(e)),t.setDefaultHandler("mousewheel",this.onMouseWheel.bind(e)),t.setDefaultHandler("touchmove",this.onTouchMove.bind(e)),["select","startSelect","selectEnd","selectAllEnd","selectByWordsEnd","selectByLinesEnd","dragWait","dragWaitEnd","focusWait"].forEach((function(t){e[t]=this[t]}),this),e.selectByLines=this.extendSelectionBy.bind(e,"getLineRange"),e.selectByWords=this.extendSelectionBy.bind(e,"getWordRange")}function o(e,t){if(e.start.row==e.end.row)var n=2*t.column-e.start.column-e.end.column;else if(e.start.row!=e.end.row-1||e.start.column||e.end.column)n=2*t.row-e.start.row-e.end.row;else n=t.column-4;return n<0?{cursor:e.start,anchor:e.end}:{cursor:e.end,anchor:e.start}}(function(){this.onMouseDown=function(e){var t=e.inSelection(),n=e.getDocumentPosition();this.mousedownEvent=e;var i=this.editor,o=e.getButton();if(0!==o){var a=i.getSelectionRange().isEmpty();return i.$blockScrolling++,(a||1==o)&&i.selection.moveToPosition(n),i.$blockScrolling--,void(2==o&&(i.textInput.onContextMenu(e.domEvent),r.isMozilla||e.preventDefault()))}return this.mousedownEvent.time=Date.now(),!t||i.isFocused()||(i.focus(),!this.$focusTimout||this.$clickSelection||i.inMultiSelectMode)?(this.captureMouse(e),this.startSelect(n,e.domEvent._clicks>1),e.preventDefault()):(this.setState("focusWait"),void this.captureMouse(e))},this.startSelect=function(e,t){e=e||this.editor.renderer.screenToTextCoordinates(this.x,this.y);var n=this.editor;n.$blockScrolling++,this.mousedownEvent.getShiftKey()?n.selection.selectToPosition(e):t||n.selection.moveToPosition(e),t||this.select(),n.renderer.scroller.setCapture&&n.renderer.scroller.setCapture(),n.setStyle("ace_selecting"),this.setState("select"),n.$blockScrolling--},this.select=function(){var e,t=this.editor,n=t.renderer.screenToTextCoordinates(this.x,this.y);if(t.$blockScrolling++,this.$clickSelection){var r=this.$clickSelection.comparePoint(n);if(-1==r)e=this.$clickSelection.end;else if(1==r)e=this.$clickSelection.start;else{var i=o(this.$clickSelection,n);n=i.cursor,e=i.anchor}t.selection.setSelectionAnchor(e.row,e.column)}t.selection.selectToPosition(n),t.$blockScrolling--,t.renderer.scrollCursorIntoView()},this.extendSelectionBy=function(e){var t,n=this.editor,r=n.renderer.screenToTextCoordinates(this.x,this.y),i=n.selection[e](r.row,r.column);if(n.$blockScrolling++,this.$clickSelection){var a=this.$clickSelection.comparePoint(i.start),s=this.$clickSelection.comparePoint(i.end);if(-1==a&&s<=0)t=this.$clickSelection.end,i.end.row==r.row&&i.end.column==r.column||(r=i.start);else if(1==s&&a>=0)t=this.$clickSelection.start,i.start.row==r.row&&i.start.column==r.column||(r=i.end);else if(-1==a&&1==s)r=i.end,t=i.start;else{var l=o(this.$clickSelection,r);r=l.cursor,t=l.anchor}n.selection.setSelectionAnchor(t.row,t.column)}n.selection.selectToPosition(r),n.$blockScrolling--,n.renderer.scrollCursorIntoView()},this.selectEnd=this.selectAllEnd=this.selectByWordsEnd=this.selectByLinesEnd=function(){this.$clickSelection=null,this.editor.unsetStyle("ace_selecting"),this.editor.renderer.scroller.releaseCapture&&this.editor.renderer.scroller.releaseCapture()},this.focusWait=function(){var e,t,n,r,i=(e=this.mousedownEvent.x,t=this.mousedownEvent.y,n=this.x,r=this.y,Math.sqrt(Math.pow(n-e,2)+Math.pow(r-t,2))),o=Date.now();(i>0||o-this.mousedownEvent.time>this.$focusTimout)&&this.startSelect(this.mousedownEvent.getDocumentPosition())},this.onDoubleClick=function(e){var t=e.getDocumentPosition(),n=this.editor,r=n.session.getBracketRange(t);r?(r.isEmpty()&&(r.start.column--,r.end.column++),this.setState("select")):(r=n.selection.getWordRange(t.row,t.column),this.setState("selectByWords")),this.$clickSelection=r,this.select()},this.onTripleClick=function(e){var t=e.getDocumentPosition(),n=this.editor;this.setState("selectByLines");var r=n.getSelectionRange();r.isMultiLine()&&r.contains(t.row,t.column)?(this.$clickSelection=n.selection.getLineRange(r.start.row),this.$clickSelection.end=n.selection.getLineRange(r.end.row).end):this.$clickSelection=n.selection.getLineRange(t.row),this.select()},this.onQuadClick=function(e){var t=this.editor;t.selectAll(),this.$clickSelection=t.getSelectionRange(),this.setState("selectAll")},this.onMouseWheel=function(e){if(!e.getAccelKey()){e.getShiftKey()&&e.wheelY&&!e.wheelX&&(e.wheelX=e.wheelY,e.wheelY=0);var t=e.domEvent.timeStamp,n=t-(this.$lastScrollTime||0),r=this.editor;return r.renderer.isScrollableBy(e.wheelX*e.speed,e.wheelY*e.speed)||n<200?(this.$lastScrollTime=t,r.renderer.scrollBy(e.wheelX*e.speed,e.wheelY*e.speed),e.stop()):void 0}},this.onTouchMove=function(e){var t=e.domEvent.timeStamp,n=t-(this.$lastScrollTime||0),r=this.editor;if(r.renderer.isScrollableBy(e.wheelX*e.speed,e.wheelY*e.speed)||n<200)return this.$lastScrollTime=t,r.renderer.scrollBy(e.wheelX*e.speed,e.wheelY*e.speed),e.stop()}}).call(i.prototype),t.DefaultHandlers=i})),ace.define("ace/tooltip",["require","exports","module","ace/lib/oop","ace/lib/dom"],(function(e,t,n){"use strict";e("./lib/oop");var r=e("./lib/dom");function i(e){this.isOpen=!1,this.$element=null,this.$parentNode=e}(function(){this.$init=function(){return this.$element=r.createElement("div"),this.$element.className="ace_tooltip",this.$element.style.display="none",this.$parentNode.appendChild(this.$element),this.$element},this.getElement=function(){return this.$element||this.$init()},this.setText=function(e){r.setInnerText(this.getElement(),e)},this.setHtml=function(e){this.getElement().innerHTML=e},this.setPosition=function(e,t){this.getElement().style.left=e+"px",this.getElement().style.top=t+"px"},this.setClassName=function(e){r.addCssClass(this.getElement(),e)},this.show=function(e,t,n){null!=e&&this.setText(e),null!=t&&null!=n&&this.setPosition(t,n),this.isOpen||(this.getElement().style.display="block",this.isOpen=!0)},this.hide=function(){this.isOpen&&(this.getElement().style.display="none",this.isOpen=!1)},this.getHeight=function(){return this.getElement().offsetHeight},this.getWidth=function(){return this.getElement().offsetWidth},this.destroy=function(){this.isOpen=!1,this.$element&&this.$element.parentNode&&this.$element.parentNode.removeChild(this.$element)}}).call(i.prototype),t.Tooltip=i})),ace.define("ace/mouse/default_gutter_handler",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/event","ace/tooltip"],(function(e,t,n){"use strict";var r=e("../lib/dom"),i=e("../lib/oop"),o=e("../lib/event"),a=e("../tooltip").Tooltip;function s(e){a.call(this,e)}i.inherits(s,a),function(){this.setPosition=function(e,t){var n=window.innerWidth||document.documentElement.clientWidth,r=window.innerHeight||document.documentElement.clientHeight,i=this.getWidth(),o=this.getHeight();(e+=15)+i>n&&(e-=e+i-n),(t+=15)+o>r&&(t-=20+o),a.prototype.setPosition.call(this,e,t)}}.call(s.prototype),t.GutterHandler=function(e){var t,n,i,a=e.editor,l=a.renderer.$gutterLayer,c=new s(a.container);function u(){t&&(t=clearTimeout(t)),i&&(c.hide(),i=null,a._signal("hideGutterTooltip",c),a.removeEventListener("mousewheel",u))}function h(e){c.setPosition(e.x,e.y)}e.editor.setDefaultHandler("guttermousedown",(function(t){if(a.isFocused()&&0==t.getButton()&&"foldWidgets"!=l.getRegion(t)){var n=t.getDocumentPosition().row,r=a.session.selection;if(t.getShiftKey())r.selectTo(n,0);else{if(2==t.domEvent.detail)return a.selectAll(),t.preventDefault();e.$clickSelection=a.selection.getLineRange(n)}return e.setState("selectByLines"),e.captureMouse(t),t.preventDefault()}})),e.editor.setDefaultHandler("guttermousemove",(function(o){var s=o.domEvent.target||o.domEvent.srcElement;if(r.hasCssClass(s,"ace_fold-widget"))return u();i&&e.$tooltipFollowsMouse&&h(o),n=o,t||(t=setTimeout((function(){t=null,n&&!e.isMousePressed?function(){var t=n.getDocumentPosition().row,r=l.$annotations[t];if(!r)return u();if(t==a.session.getLength()){var o=a.renderer.pixelToScreenCoordinates(0,n.y).row,s=n.$pos;if(o>a.session.documentToScreenRow(s.row,s.column))return u()}if(i!=r)if(i=r.text.join("
"),c.setHtml(i),c.show(),a._signal("showGutterTooltip",c),a.on("mousewheel",u),e.$tooltipFollowsMouse)h(n);else{var p=n.domEvent.target.getBoundingClientRect(),d=c.getElement().style;d.left=p.right+"px",d.top=p.bottom+"px"}}():u()}),50))})),o.addListener(a.renderer.$gutter,"mouseout",(function(e){n=null,i&&!t&&(t=setTimeout((function(){t=null,u()}),50))})),a.on("changeSession",u)}})),ace.define("ace/mouse/mouse_event",["require","exports","module","ace/lib/event","ace/lib/useragent"],(function(e,t,n){"use strict";var r=e("../lib/event"),i=e("../lib/useragent"),o=t.MouseEvent=function(e,t){this.domEvent=e,this.editor=t,this.x=this.clientX=e.clientX,this.y=this.clientY=e.clientY,this.$pos=null,this.$inSelection=null,this.propagationStopped=!1,this.defaultPrevented=!1};(function(){this.stopPropagation=function(){r.stopPropagation(this.domEvent),this.propagationStopped=!0},this.preventDefault=function(){r.preventDefault(this.domEvent),this.defaultPrevented=!0},this.stop=function(){this.stopPropagation(),this.preventDefault()},this.getDocumentPosition=function(){return this.$pos||(this.$pos=this.editor.renderer.screenToTextCoordinates(this.clientX,this.clientY)),this.$pos},this.inSelection=function(){if(null!==this.$inSelection)return this.$inSelection;var e=this.editor.getSelectionRange();if(e.isEmpty())this.$inSelection=!1;else{var t=this.getDocumentPosition();this.$inSelection=e.contains(t.row,t.column)}return this.$inSelection},this.getButton=function(){return r.getButton(this.domEvent)},this.getShiftKey=function(){return this.domEvent.shiftKey},this.getAccelKey=i.isMac?function(){return this.domEvent.metaKey}:function(){return this.domEvent.ctrlKey}}).call(o.prototype)})),ace.define("ace/mouse/dragdrop_handler",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],(function(e,t,n){"use strict";var r=e("../lib/dom"),i=e("../lib/event"),o=e("../lib/useragent");function a(e){var t=e.editor,n=r.createElement("img");n.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",o.isOpera&&(n.style.cssText="width:1px;height:1px;position:fixed;top:0;left:0;z-index:2147483647;opacity:0;"),["dragWait","dragWaitEnd","startDrag","dragReadyEnd","onMouseDrag"].forEach((function(t){e[t]=this[t]}),this),t.addEventListener("mousedown",this.onMouseDown.bind(e));var a,l,c,u,h,p,d,f,m,g,y,v=t.container,_=0;function b(){var e=p;(function(e,n){var r=Date.now(),i=!n||e.row!=n.row,o=!n||e.column!=n.column;!g||i||o?(t.$blockScrolling+=1,t.moveCursorToPosition(e),t.$blockScrolling-=1,g=r,y={x:l,y:c}):s(y.x,y.y,l,c)>5?g=null:r-g>=200&&(t.renderer.scrollCursorIntoView(),g=null)})(p=t.renderer.screenToTextCoordinates(l,c),e),function(e,n){var r=Date.now(),i=t.renderer.layerConfig.lineHeight,o=t.renderer.layerConfig.characterWidth,a=t.renderer.scroller.getBoundingClientRect(),s={x:{left:l-a.left,right:a.right-l},y:{top:c-a.top,bottom:a.bottom-c}},u=Math.min(s.x.left,s.x.right),h=Math.min(s.y.top,s.y.bottom),p={row:e.row,column:e.column};u/o<=2&&(p.column+=s.x.left=200&&t.renderer.scrollCursorIntoView(p):m=r:m=null}(p,e)}function E(){h=t.selection.toOrientedRange(),a=t.session.addMarker(h,"ace_selection",t.getSelectionStyle()),t.clearSelection(),t.isFocused()&&t.renderer.$cursorLayer.setBlinking(!1),clearInterval(u),b(),u=setInterval(b,20),_=0,i.addListener(document,"mousemove",S)}function T(){clearInterval(u),t.session.removeMarker(a),a=null,t.$blockScrolling+=1,t.selection.fromOrientedRange(h),t.$blockScrolling-=1,t.isFocused()&&!f&&t.renderer.$cursorLayer.setBlinking(!t.getReadOnly()),h=null,p=null,_=0,m=null,g=null,i.removeListener(document,"mousemove",S)}this.onDragStart=function(e){if(this.cancelDrag||!v.draggable){var r=this;return setTimeout((function(){r.startSelect(),r.captureMouse(e)}),0),e.preventDefault()}h=t.getSelectionRange();var i=e.dataTransfer;i.effectAllowed=t.getReadOnly()?"copy":"copyMove",o.isOpera&&(t.container.appendChild(n),n.scrollTop=0),i.setDragImage&&i.setDragImage(n,0,0),o.isOpera&&t.container.removeChild(n),i.clearData(),i.setData("Text",t.session.getTextRange()),f=!0,this.setState("drag")},this.onDragEnd=function(e){if(v.draggable=!1,f=!1,this.setState(null),!t.getReadOnly()){var n=e.dataTransfer.dropEffect;d||"move"!=n||t.session.remove(t.getSelectionRange()),t.renderer.$cursorLayer.setBlinking(!0)}this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle("")},this.onDragEnter=function(e){if(!t.getReadOnly()&&C(e.dataTransfer))return l=e.clientX,c=e.clientY,a||E(),_++,e.dataTransfer.dropEffect=d=A(e),i.preventDefault(e)},this.onDragOver=function(e){if(!t.getReadOnly()&&C(e.dataTransfer))return l=e.clientX,c=e.clientY,a||(E(),_++),null!==x&&(x=null),e.dataTransfer.dropEffect=d=A(e),i.preventDefault(e)},this.onDragLeave=function(e){if(--_<=0&&a)return T(),d=null,i.preventDefault(e)},this.onDrop=function(e){if(p){var n=e.dataTransfer;if(f)switch(d){case"move":h=h.contains(p.row,p.column)?{start:p,end:p}:t.moveText(h,p);break;case"copy":h=t.moveText(h,p,!0)}else{var r=n.getData("Text");h={start:p,end:t.session.insert(p,r)},t.focus(),d=null}return T(),i.preventDefault(e)}},i.addListener(v,"dragstart",this.onDragStart.bind(e)),i.addListener(v,"dragend",this.onDragEnd.bind(e)),i.addListener(v,"dragenter",this.onDragEnter.bind(e)),i.addListener(v,"dragover",this.onDragOver.bind(e)),i.addListener(v,"dragleave",this.onDragLeave.bind(e)),i.addListener(v,"drop",this.onDrop.bind(e));var x=null;function S(){null==x&&(x=setTimeout((function(){null!=x&&a&&T()}),20))}function C(e){var t=e.types;return!t||Array.prototype.some.call(t,(function(e){return"text/plain"==e||"Text"==e}))}function A(e){var t=["copy","copymove","all","uninitialized"],n=o.isMac?e.altKey:e.ctrlKey,r="uninitialized";try{r=e.dataTransfer.effectAllowed.toLowerCase()}catch(e){}var i="none";return n&&t.indexOf(r)>=0?i="copy":["move","copymove","linkmove","all","uninitialized"].indexOf(r)>=0?i="move":t.indexOf(r)>=0&&(i="copy"),i}}function s(e,t,n,r){return Math.sqrt(Math.pow(n-e,2)+Math.pow(r-t,2))}(function(){this.dragWait=function(){Date.now()-this.mousedownEvent.time>this.editor.getDragDelay()&&this.startDrag()},this.dragWaitEnd=function(){this.editor.container.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()),this.selectEnd()},this.dragReadyEnd=function(e){this.editor.renderer.$cursorLayer.setBlinking(!this.editor.getReadOnly()),this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle(""),this.dragWaitEnd()},this.startDrag=function(){this.cancelDrag=!1;var e=this.editor;e.container.draggable=!0,e.renderer.$cursorLayer.setBlinking(!1),e.setStyle("ace_dragging");var t=o.isWin?"default":"move";e.renderer.setCursorStyle(t),this.setState("dragReady")},this.onMouseDrag=function(e){var t=this.editor.container;o.isIE&&"dragReady"==this.state&&s(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y)>3&&t.dragDrop(),"dragWait"===this.state&&s(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y)>0&&(t.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()))},this.onMouseDown=function(e){if(this.$dragEnabled){this.mousedownEvent=e;var t=this.editor,n=e.inSelection(),r=e.getButton();if(1===(e.domEvent.detail||1)&&0===r&&n){if(e.editor.inMultiSelectMode&&(e.getAccelKey()||e.getShiftKey()))return;this.mousedownEvent.time=Date.now();var i=e.domEvent.target||e.domEvent.srcElement;"unselectable"in i&&(i.unselectable="on"),t.getDragDelay()?(o.isWebKit&&(this.cancelDrag=!0,t.container.draggable=!0),this.setState("dragWait")):this.startDrag(),this.captureMouse(e,this.onMouseDrag.bind(this)),e.defaultPrevented=!0}}}}).call(a.prototype),t.DragdropHandler=a})),ace.define("ace/lib/net",["require","exports","module","ace/lib/dom"],(function(e,t,n){"use strict";var r=e("./dom");t.get=function(e,t){var n=new XMLHttpRequest;n.open("GET",e,!0),n.onreadystatechange=function(){4===n.readyState&&t(n.responseText)},n.send(null)},t.loadScript=function(e,t){var n=r.getDocumentHead(),i=document.createElement("script");i.src=e,n.appendChild(i),i.onload=i.onreadystatechange=function(e,n){!n&&i.readyState&&"loaded"!=i.readyState&&"complete"!=i.readyState||(i=i.onload=i.onreadystatechange=null,n||t())}},t.qualifyURL=function(e){var t=document.createElement("a");return t.href=e,t.href}})),ace.define("ace/lib/event_emitter",["require","exports","module"],(function(e,t,n){"use strict";var i={},o=function(){this.propagationStopped=!0},a=function(){this.defaultPrevented=!0};i._emit=i._dispatchEvent=function(e,t){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var n=this._eventRegistry[e]||[],i=this._defaultHandlers[e];if(n.length||i){"object"==r(t)&&t||(t={}),t.type||(t.type=e),t.stopPropagation||(t.stopPropagation=o),t.preventDefault||(t.preventDefault=a),n=n.slice();for(var s=0;s1&&(i=n[n.length-2]);var a=l[t+"Path"];return null==a?a=l.basePath:"/"==r&&(t=r=""),a&&"/"!=a.slice(-1)&&(a+="/"),a+t+r+i+this.get("suffix")},t.setModuleUrl=function(e,t){return l.$moduleUrls[e]=t},t.$loading={},t.loadModule=function(n,r){var i,a;Array.isArray(n)&&(a=n[0],n=n[1]);try{i=e(n)}catch(e){}if(i&&!t.$loading[n])return r&&r(i);if(t.$loading[n]||(t.$loading[n]=[]),t.$loading[n].push(r),!(t.$loading[n].length>1)){var s=function(){e([n],(function(e){t._emit("load.module",{name:n,module:e});var r=t.$loading[n];t.$loading[n]=null,r.forEach((function(t){t&&t(e)}))}))};if(!t.get("packaged"))return s();o.loadScript(t.moduleUrl(n,a),s)}},c(!0),t.init=c})),ace.define("ace/mouse/mouse_handler",["require","exports","module","ace/lib/event","ace/lib/useragent","ace/mouse/default_handlers","ace/mouse/default_gutter_handler","ace/mouse/mouse_event","ace/mouse/dragdrop_handler","ace/config"],(function(e,t,n){"use strict";var r=e("../lib/event"),i=e("../lib/useragent"),o=e("./default_handlers").DefaultHandlers,a=e("./default_gutter_handler").GutterHandler,s=e("./mouse_event").MouseEvent,l=e("./dragdrop_handler").DragdropHandler,c=e("../config"),u=function(e){var t=this;this.editor=e,new o(this),new a(this),new l(this);var n=function(t){(!document.hasFocus||!document.hasFocus()||!e.isFocused()&&document.activeElement==(e.textInput&&e.textInput.getElement()))&&window.focus(),e.focus()},s=e.renderer.getMouseEventTarget();r.addListener(s,"click",this.onMouseEvent.bind(this,"click")),r.addListener(s,"mousemove",this.onMouseMove.bind(this,"mousemove")),r.addMultiMouseDownListener([s,e.renderer.scrollBarV&&e.renderer.scrollBarV.inner,e.renderer.scrollBarH&&e.renderer.scrollBarH.inner,e.textInput&&e.textInput.getElement()].filter(Boolean),[400,300,250],this,"onMouseEvent"),r.addMouseWheelListener(e.container,this.onMouseWheel.bind(this,"mousewheel")),r.addTouchMoveListener(e.container,this.onTouchMove.bind(this,"touchmove"));var c=e.renderer.$gutter;r.addListener(c,"mousedown",this.onMouseEvent.bind(this,"guttermousedown")),r.addListener(c,"click",this.onMouseEvent.bind(this,"gutterclick")),r.addListener(c,"dblclick",this.onMouseEvent.bind(this,"gutterdblclick")),r.addListener(c,"mousemove",this.onMouseEvent.bind(this,"guttermousemove")),r.addListener(s,"mousedown",n),r.addListener(c,"mousedown",n),i.isIE&&e.renderer.scrollBarV&&(r.addListener(e.renderer.scrollBarV.element,"mousedown",n),r.addListener(e.renderer.scrollBarH.element,"mousedown",n)),e.on("mousemove",(function(n){if(!t.state&&!t.$dragDelay&&t.$dragEnabled){var r=e.renderer.screenToTextCoordinates(n.x,n.y),i=e.session.selection.getRange(),o=e.renderer;!i.isEmpty()&&i.insideStart(r.row,r.column)?o.setCursorStyle("default"):o.setCursorStyle("")}}))};(function(){this.onMouseEvent=function(e,t){this.editor._emit(e,new s(t,this.editor))},this.onMouseMove=function(e,t){var n=this.editor._eventRegistry&&this.editor._eventRegistry.mousemove;n&&n.length&&this.editor._emit(e,new s(t,this.editor))},this.onMouseWheel=function(e,t){var n=new s(t,this.editor);n.speed=2*this.$scrollSpeed,n.wheelX=t.wheelX,n.wheelY=t.wheelY,this.editor._emit(e,n)},this.onTouchMove=function(e,t){var n=new s(t,this.editor);n.speed=1,n.wheelX=t.wheelX,n.wheelY=t.wheelY,this.editor._emit(e,n)},this.setState=function(e){this.state=e},this.captureMouse=function(e,t){this.x=e.x,this.y=e.y,this.isMousePressed=!0;var n=this.editor.renderer;n.$keepTextAreaAtCursor&&(n.$keepTextAreaAtCursor=null);var o=this,a=function(e){if(e){if(i.isWebKit&&!e.which&&o.releaseMouse)return o.releaseMouse();o.x=e.clientX,o.y=e.clientY,t&&t(e),o.mouseEvent=new s(e,o.editor),o.$mouseMoved=!0}},l=function(e){clearInterval(u),c(),o[o.state+"End"]&&o[o.state+"End"](e),o.state="",null==n.$keepTextAreaAtCursor&&(n.$keepTextAreaAtCursor=!0,n.$moveTextAreaToCursor()),o.isMousePressed=!1,o.$onCaptureMouseMove=o.releaseMouse=null,e&&o.onMouseEvent("mouseup",e)},c=function(){o[o.state]&&o[o.state](),o.$mouseMoved=!1};if(i.isOldIE&&"dblclick"==e.domEvent.type)return setTimeout((function(){l(e)}));o.$onCaptureMouseMove=a,o.releaseMouse=r.capture(this.editor.container,a,l);var u=setInterval(c,20)},this.releaseMouse=null,this.cancelContextMenu=function(){var e=function(t){t&&t.domEvent&&"contextmenu"!=t.domEvent.type||(this.editor.off("nativecontextmenu",e),t&&t.domEvent&&r.stopEvent(t.domEvent))}.bind(this);setTimeout(e,10),this.editor.on("nativecontextmenu",e)}}).call(u.prototype),c.defineOptions(u.prototype,"mouseHandler",{scrollSpeed:{initialValue:2},dragDelay:{initialValue:i.isMac?150:0},dragEnabled:{initialValue:!0},focusTimout:{initialValue:0},tooltipFollowsMouse:{initialValue:!0}}),t.MouseHandler=u})),ace.define("ace/mouse/fold_handler",["require","exports","module"],(function(e,t,n){"use strict";t.FoldHandler=function(e){e.on("click",(function(t){var n=t.getDocumentPosition(),r=e.session,i=r.getFoldAt(n.row,n.column,1);i&&(t.getAccelKey()?r.removeFold(i):r.expandFold(i),t.stop())})),e.on("gutterclick",(function(t){if("foldWidgets"==e.renderer.$gutterLayer.getRegion(t)){var n=t.getDocumentPosition().row,r=e.session;r.foldWidgets&&r.foldWidgets[n]&&e.session.onFoldWidgetClick(n,t),e.isFocused()||e.focus(),t.stop()}})),e.on("gutterdblclick",(function(t){if("foldWidgets"==e.renderer.$gutterLayer.getRegion(t)){var n=t.getDocumentPosition().row,r=e.session,i=r.getParentFoldRangeData(n,!0),o=i.range||i.firstRange;if(o){n=o.start.row;var a=r.getFoldAt(n,r.getLine(n).length,1);a?r.removeFold(a):(r.addFold("...",o),e.renderer.scrollCursorIntoView({row:o.start.row,column:0}))}t.stop()}}))}})),ace.define("ace/keyboard/keybinding",["require","exports","module","ace/lib/keys","ace/lib/event"],(function(e,t,n){"use strict";var r=e("../lib/keys"),i=e("../lib/event"),o=function(e){this.$editor=e,this.$data={editor:e},this.$handlers=[],this.setDefaultHandler(e.commands)};(function(){this.setDefaultHandler=function(e){this.removeKeyboardHandler(this.$defaultHandler),this.$defaultHandler=e,this.addKeyboardHandler(e,0)},this.setKeyboardHandler=function(e){var t=this.$handlers;if(t[t.length-1]!=e){for(;t[t.length-1]&&t[t.length-1]!=this.$defaultHandler;)this.removeKeyboardHandler(t[t.length-1]);this.addKeyboardHandler(e,1)}},this.addKeyboardHandler=function(e,t){if(e){"function"!=typeof e||e.handleKeyboard||(e.handleKeyboard=e);var n=this.$handlers.indexOf(e);-1!=n&&this.$handlers.splice(n,1),null==t?this.$handlers.push(e):this.$handlers.splice(t,0,e),-1==n&&e.attach&&e.attach(this.$editor)}},this.removeKeyboardHandler=function(e){var t=this.$handlers.indexOf(e);return-1!=t&&(this.$handlers.splice(t,1),e.detach&&e.detach(this.$editor),!0)},this.getKeyboardHandler=function(){return this.$handlers[this.$handlers.length-1]},this.getStatusText=function(){var e=this.$data,t=e.editor;return this.$handlers.map((function(n){return n.getStatusText&&n.getStatusText(t,e)||""})).filter(Boolean).join(" ")},this.$callKeyboardHandlers=function(e,t,n,r){for(var o,a=!1,s=this.$editor.commands,l=this.$handlers.length;l--&&!((o=this.$handlers[l].handleKeyboard(this.$data,e,t,n,r))&&o.command&&((a="null"==o.command||s.exec(o.command,this.$editor,o.args,r))&&r&&-1!=e&&1!=o.passEvent&&1!=o.command.passEvent&&i.stopEvent(r),a)););return a||-1!=e||(o={command:"insertstring"},a=s.exec("insertstring",this.$editor,t)),a&&this.$editor._signal&&this.$editor._signal("keyboardActivity",o),a},this.onCommandKey=function(e,t,n){var i=r.keyCodeToString(n);this.$callKeyboardHandlers(t,i,n,e)},this.onTextInput=function(e){this.$callKeyboardHandlers(-1,e)}}).call(o.prototype),t.KeyBinding=o})),ace.define("ace/range",["require","exports","module"],(function(e,t,n){"use strict";var i=function(e,t,n,r){this.start={row:e,column:t},this.end={row:n,column:r}};(function(){this.isEqual=function(e){return this.start.row===e.start.row&&this.end.row===e.end.row&&this.start.column===e.start.column&&this.end.column===e.end.column},this.toString=function(){return"Range: ["+this.start.row+"/"+this.start.column+"] -> ["+this.end.row+"/"+this.end.column+"]"},this.contains=function(e,t){return 0==this.compare(e,t)},this.compareRange=function(e){var t,n=e.end,r=e.start;return 1==(t=this.compare(n.row,n.column))?1==(t=this.compare(r.row,r.column))?2:0==t?1:0:-1==t?-2:-1==(t=this.compare(r.row,r.column))?-1:1==t?42:0},this.comparePoint=function(e){return this.compare(e.row,e.column)},this.containsRange=function(e){return 0==this.comparePoint(e.start)&&0==this.comparePoint(e.end)},this.intersects=function(e){var t=this.compareRange(e);return-1==t||0==t||1==t},this.isEnd=function(e,t){return this.end.row==e&&this.end.column==t},this.isStart=function(e,t){return this.start.row==e&&this.start.column==t},this.setStart=function(e,t){"object"==r(e)?(this.start.column=e.column,this.start.row=e.row):(this.start.row=e,this.start.column=t)},this.setEnd=function(e,t){"object"==r(e)?(this.end.column=e.column,this.end.row=e.row):(this.end.row=e,this.end.column=t)},this.inside=function(e,t){return 0==this.compare(e,t)&&!this.isEnd(e,t)&&!this.isStart(e,t)},this.insideStart=function(e,t){return 0==this.compare(e,t)&&!this.isEnd(e,t)},this.insideEnd=function(e,t){return 0==this.compare(e,t)&&!this.isStart(e,t)},this.compare=function(e,t){return this.isMultiLine()||e!==this.start.row?ethis.end.row?1:this.start.row===e?t>=this.start.column?0:-1:this.end.row===e?t<=this.end.column?0:1:0:tthis.end.column?1:0},this.compareStart=function(e,t){return this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.compareEnd=function(e,t){return this.end.row==e&&this.end.column==t?1:this.compare(e,t)},this.compareInside=function(e,t){return this.end.row==e&&this.end.column==t?1:this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.clipRows=function(e,t){if(this.end.row>t)var n={row:t+1,column:0};else this.end.rowt)var r={row:t+1,column:0};else this.start.rowt.row||e.row==t.row&&e.column>t.column},this.getRange=function(){var e=this.anchor,t=this.lead;return this.isEmpty()?a.fromPoints(t,t):this.isBackwards()?a.fromPoints(t,e):a.fromPoints(e,t)},this.clearSelection=function(){this.$isEmpty||(this.$isEmpty=!0,this._emit("changeSelection"))},this.selectAll=function(){var e=this.doc.getLength()-1;this.setSelectionAnchor(0,0),this.moveCursorTo(e,this.doc.getLine(e).length)},this.setRange=this.setSelectionRange=function(e,t){t?(this.setSelectionAnchor(e.end.row,e.end.column),this.selectTo(e.start.row,e.start.column)):(this.setSelectionAnchor(e.start.row,e.start.column),this.selectTo(e.end.row,e.end.column)),this.getRange().isEmpty()&&(this.$isEmpty=!0),this.$desiredColumn=null},this.$moveSelection=function(e){var t=this.lead;this.$isEmpty&&this.setSelectionAnchor(t.row,t.column),e.call(this)},this.selectTo=function(e,t){this.$moveSelection((function(){this.moveCursorTo(e,t)}))},this.selectToPosition=function(e){this.$moveSelection((function(){this.moveCursorToPosition(e)}))},this.moveTo=function(e,t){this.clearSelection(),this.moveCursorTo(e,t)},this.moveToPosition=function(e){this.clearSelection(),this.moveCursorToPosition(e)},this.selectUp=function(){this.$moveSelection(this.moveCursorUp)},this.selectDown=function(){this.$moveSelection(this.moveCursorDown)},this.selectRight=function(){this.$moveSelection(this.moveCursorRight)},this.selectLeft=function(){this.$moveSelection(this.moveCursorLeft)},this.selectLineStart=function(){this.$moveSelection(this.moveCursorLineStart)},this.selectLineEnd=function(){this.$moveSelection(this.moveCursorLineEnd)},this.selectFileEnd=function(){this.$moveSelection(this.moveCursorFileEnd)},this.selectFileStart=function(){this.$moveSelection(this.moveCursorFileStart)},this.selectWordRight=function(){this.$moveSelection(this.moveCursorWordRight)},this.selectWordLeft=function(){this.$moveSelection(this.moveCursorWordLeft)},this.getWordRange=function(e,t){if(void 0===t){var n=e||this.lead;e=n.row,t=n.column}return this.session.getWordRange(e,t)},this.selectWord=function(){this.setSelectionRange(this.getWordRange())},this.selectAWord=function(){var e=this.getCursor(),t=this.session.getAWordRange(e.row,e.column);this.setSelectionRange(t)},this.getLineRange=function(e,t){var n,r="number"==typeof e?e:this.lead.row,i=this.session.getFoldLine(r);return i?(r=i.start.row,n=i.end.row):n=r,!0===t?new a(r,0,n,this.session.getLine(n).length):new a(r,0,n+1,0)},this.selectLine=function(){this.setSelectionRange(this.getLineRange())},this.moveCursorUp=function(){this.moveCursorBy(-1,0)},this.moveCursorDown=function(){this.moveCursorBy(1,0)},this.moveCursorLeft=function(){var e,t=this.lead.getPosition();if(e=this.session.getFoldAt(t.row,t.column,-1))this.moveCursorTo(e.start.row,e.start.column);else if(0===t.column)t.row>0&&this.moveCursorTo(t.row-1,this.doc.getLine(t.row-1).length);else{var n=this.session.getTabSize();this.session.isTabStop(t)&&this.doc.getLine(t.row).slice(t.column-n,t.column).split(" ").length-1==n?this.moveCursorBy(0,-n):this.moveCursorBy(0,-1)}},this.moveCursorRight=function(){var e,t=this.lead.getPosition();if(e=this.session.getFoldAt(t.row,t.column,1))this.moveCursorTo(e.end.row,e.end.column);else if(this.lead.column==this.doc.getLine(this.lead.row).length)this.lead.row0&&(t.column=r)}}this.moveCursorTo(t.row,t.column)},this.moveCursorFileEnd=function(){var e=this.doc.getLength()-1,t=this.doc.getLine(e).length;this.moveCursorTo(e,t)},this.moveCursorFileStart=function(){this.moveCursorTo(0,0)},this.moveCursorLongWordRight=function(){var e=this.lead.row,t=this.lead.column,n=this.doc.getLine(e),r=n.substring(t);this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0;var i=this.session.getFoldAt(e,t,1);if(i)this.moveCursorTo(i.end.row,i.end.column);else{if(this.session.nonTokenRe.exec(r)&&(t+=this.session.nonTokenRe.lastIndex,this.session.nonTokenRe.lastIndex=0,r=n.substring(t)),t>=n.length)return this.moveCursorTo(e,n.length),this.moveCursorRight(),void(e0&&this.moveCursorWordLeft());this.session.tokenRe.exec(o)&&(n-=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0),this.moveCursorTo(t,n)}},this.$shortWordEndIndex=function(e){var t,n=0,r=/\s/,i=this.session.tokenRe;if(i.lastIndex=0,this.session.tokenRe.exec(e))n=this.session.tokenRe.lastIndex;else{for(;(t=e[n])&&r.test(t);)n++;if(n<1)for(i.lastIndex=0;(t=e[n])&&!i.test(t);)if(i.lastIndex=0,n++,r.test(t)){if(n>2){n--;break}for(;(t=e[n])&&r.test(t);)n++;if(n>2)break}}return i.lastIndex=0,n},this.moveCursorShortWordRight=function(){var e=this.lead.row,t=this.lead.column,n=this.doc.getLine(e),r=n.substring(t),i=this.session.getFoldAt(e,t,1);if(i)return this.moveCursorTo(i.end.row,i.end.column);if(t==n.length){var o=this.doc.getLength();do{e++,r=this.doc.getLine(e)}while(e0&&/^\s*$/.test(r));n=r.length,/\s+$/.test(r)||(r="")}var o=i.stringReverse(r),a=this.$shortWordEndIndex(o);return this.moveCursorTo(t,n-a)},this.moveCursorWordRight=function(){this.session.$selectLongWords?this.moveCursorLongWordRight():this.moveCursorShortWordRight()},this.moveCursorWordLeft=function(){this.session.$selectLongWords?this.moveCursorLongWordLeft():this.moveCursorShortWordLeft()},this.moveCursorBy=function(e,t){var n=this.session.documentToScreenPosition(this.lead.row,this.lead.column);0===t&&(this.$desiredColumn?n.column=this.$desiredColumn:this.$desiredColumn=n.column);var r=this.session.screenToDocumentPosition(n.row+e,n.column);0!==e&&0===t&&r.row===this.lead.row&&r.column===this.lead.column&&this.session.lineWidgets&&this.session.lineWidgets[r.row]&&(r.row>0||e>0)&&r.row++,this.moveCursorTo(r.row,r.column+t,0===t)},this.moveCursorToPosition=function(e){this.moveCursorTo(e.row,e.column)},this.moveCursorTo=function(e,t,n){var r=this.session.getFoldAt(e,t,1);r&&(e=r.start.row,t=r.start.column),this.$keepDesiredColumnOnChange=!0,this.lead.setPosition(e,t),this.$keepDesiredColumnOnChange=!1,n||(this.$desiredColumn=null)},this.moveCursorToScreen=function(e,t,n){var r=this.session.screenToDocumentPosition(e,t);this.moveCursorTo(r.row,r.column,n)},this.detach=function(){this.lead.detach(),this.anchor.detach(),this.session=this.doc=null},this.fromOrientedRange=function(e){this.setSelectionRange(e,e.cursor==e.start),this.$desiredColumn=e.desiredColumn||this.$desiredColumn},this.toOrientedRange=function(e){var t=this.getRange();return e?(e.start.column=t.start.column,e.start.row=t.start.row,e.end.column=t.end.column,e.end.row=t.end.row):e=t,e.cursor=this.isBackwards()?e.start:e.end,e.desiredColumn=this.$desiredColumn,e},this.getRangeOfMovements=function(e){var t=this.getCursor();try{e(this);var n=this.getCursor();return a.fromPoints(t,n)}catch(e){return a.fromPoints(t,t)}finally{this.moveCursorToPosition(t)}},this.toJSON=function(){if(this.rangeCount)var e=this.ranges.map((function(e){var t=e.clone();return t.isBackwards=e.cursor==e.start,t}));else(e=this.getRange()).isBackwards=this.isBackwards();return e},this.fromJSON=function(e){if(null==e.start){if(this.rangeList){this.toSingleRange(e[0]);for(var t=e.length;t--;){var n=a.fromPoints(e[t].start,e[t].end);e[t].isBackwards&&(n.cursor=n.start),this.addRange(n,!0)}return}e=e[0]}this.rangeList&&this.toSingleRange(e),this.setSelectionRange(e,e.isBackwards)},this.isEqual=function(e){if((e.length||this.rangeCount)&&e.length!=this.rangeCount)return!1;if(!e.length||!this.ranges)return this.getRange().isEqual(e);for(var t=this.ranges.length;t--;)if(!this.ranges[t].isEqual(e[t]))return!1;return!0}}).call(s.prototype),t.Selection=s})),ace.define("ace/tokenizer",["require","exports","module","ace/config"],(function(e,t,n){"use strict";var r=e("./config"),i=2e3,o=function(e){for(var t in this.states=e,this.regExps={},this.matchMappings={},this.states){for(var n=this.states[t],r=[],i=0,o=this.matchMappings[t]={defaultToken:"text"},a="g",s=[],l=0;l1?this.$applyToken:c.token),h>1&&(/\\\d/.test(c.regex)?u=c.regex.replace(/\\([0-9]+)/g,(function(e,t){return"\\"+(parseInt(t,10)+i+1)})):(h=1,u=this.removeCapturingGroups(c.regex)),c.splitRegex||"string"==typeof c.token||s.push(c)),o[i]=l,i+=h,r.push(u),c.onMatch||(c.onMatch=null)}}r.length||(o[0]=0,r.push("$")),s.forEach((function(e){e.splitRegex=this.createSplitterRegexp(e.regex,a)}),this),this.regExps[t]=new RegExp("("+r.join(")|(")+")|($)",a)}};(function(){this.$setMaxTokenCount=function(e){i=0|e},this.$applyToken=function(e){var t=this.splitRegex.exec(e).slice(1),n=this.token.apply(this,t);if("string"==typeof n)return[{type:n,value:e}];for(var r=[],i=0,o=n.length;iu){var y=e.substring(u,g-m.length);p.type==d?p.value+=y:(p.type&&c.push(p),p={type:d,value:y})}for(var v=0;vi){for(h>2*e.length&&this.reportError("infinite loop with in ace tokenizer",{startState:t,line:e});u1&&n[0]!==r&&n.unshift("#tmp",r),{tokens:c,state:n.length?n:r}},this.reportError=r.reportError}).call(o.prototype),t.Tokenizer=o})),ace.define("ace/mode/text_highlight_rules",["require","exports","module","ace/lib/lang"],(function(e,t,n){"use strict";var r=e("../lib/lang"),i=function(){this.$rules={start:[{token:"empty_line",regex:"^$"},{defaultToken:"text"}]}};(function(){this.addRules=function(e,t){if(t)for(var n in e){for(var r=e[n],i=0;i=this.$rowTokens.length;){if(this.$row+=1,e||(e=this.$session.getLength()),this.$row>=e)return this.$row=e-1,null;this.$rowTokens=this.$session.getTokens(this.$row),this.$tokenIndex=0}return this.$rowTokens[this.$tokenIndex]},this.getCurrentToken=function(){return this.$rowTokens[this.$tokenIndex]},this.getCurrentTokenRow=function(){return this.$row},this.getCurrentTokenColumn=function(){var e=this.$rowTokens,t=this.$tokenIndex,n=e[t].start;if(void 0!==n)return n;for(n=0;t>0;)n+=e[t-=1].value.length;return n},this.getCurrentTokenPosition=function(){return{row:this.$row,column:this.getCurrentTokenColumn()}}}).call(r.prototype),t.TokenIterator=r})),ace.define("ace/mode/behaviour/cstyle",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/token_iterator","ace/lib/lang"],(function(e,t,n){"use strict";var r,i=e("../../lib/oop"),o=e("../behaviour").Behaviour,a=e("../../token_iterator").TokenIterator,s=e("../../lib/lang"),l=["text","paren.rparen","punctuation.operator"],c=["text","paren.rparen","punctuation.operator","comment"],u={},h=function(e){var t=-1;if(e.multiSelect&&(t=e.selection.index,u.rangeCount!=e.multiSelect.rangeCount&&(u={rangeCount:e.multiSelect.rangeCount})),u[t])return r=u[t];r=u[t]={autoInsertedBrackets:0,autoInsertedRow:-1,autoInsertedLineEnd:"",maybeInsertedBrackets:0,maybeInsertedRow:-1,maybeInsertedLineStart:"",maybeInsertedLineEnd:""}},p=function(e,t,n,r){var i=e.end.row-e.start.row;return{text:n+t+r,selection:[0,e.start.column+1,i,e.end.column+(i?0:1)]}},d=function e(t){this.add("braces","insertion",(function(n,i,o,a,l){var c=o.getCursorPosition(),u=a.doc.getLine(c.row);if("{"==l){h(o);var d=o.getSelectionRange(),f=a.doc.getTextRange(d);if(""!==f&&"{"!==f&&o.getWrapBehavioursEnabled())return p(d,f,"{","}");if(e.isSaneInsertion(o,a))return/[\]\}\)]/.test(u[c.column])||o.inMultiSelectMode||t&&t.braces?(e.recordAutoInsert(o,a,"}"),{text:"{}",selection:[1,1]}):(e.recordMaybeInsert(o,a,"{"),{text:"{",selection:[1,1]})}else if("}"==l){if(h(o),"}"==u.substring(c.column,c.column+1)&&null!==a.$findOpeningBracket("}",{column:c.column+1,row:c.row})&&e.isAutoInsertedClosing(c,u,l))return e.popAutoInsertedClosing(),{text:"",selection:[1,1]}}else{if("\n"==l||"\r\n"==l){h(o);var m="";if(e.isMaybeInsertedClosing(c,u)&&(m=s.stringRepeat("}",r.maybeInsertedBrackets),e.clearMaybeInsertedClosing()),"}"===u.substring(c.column,c.column+1)){var g=a.findMatchingBracket({row:c.row,column:c.column+1},"}");if(!g)return null;var y=this.$getIndent(a.getLine(g.row))}else{if(!m)return void e.clearMaybeInsertedClosing();y=this.$getIndent(u)}var v=y+a.getTabString();return{text:"\n"+v+"\n"+y+m,selection:[1,v.length,1,v.length]}}e.clearMaybeInsertedClosing()}})),this.add("braces","deletion",(function(e,t,n,i,o){var a=i.doc.getTextRange(o);if(!o.isMultiLine()&&"{"==a){if(h(n),"}"==i.doc.getLine(o.start.row).substring(o.end.column,o.end.column+1))return o.end.column++,o;r.maybeInsertedBrackets--}})),this.add("parens","insertion",(function(t,n,r,i,o){if("("==o){h(r);var a=r.getSelectionRange(),s=i.doc.getTextRange(a);if(""!==s&&r.getWrapBehavioursEnabled())return p(a,s,"(",")");if(e.isSaneInsertion(r,i))return e.recordAutoInsert(r,i,")"),{text:"()",selection:[1,1]}}else if(")"==o){h(r);var l=r.getCursorPosition(),c=i.doc.getLine(l.row);if(")"==c.substring(l.column,l.column+1)&&null!==i.$findOpeningBracket(")",{column:l.column+1,row:l.row})&&e.isAutoInsertedClosing(l,c,o))return e.popAutoInsertedClosing(),{text:"",selection:[1,1]}}})),this.add("parens","deletion",(function(e,t,n,r,i){var o=r.doc.getTextRange(i);if(!i.isMultiLine()&&"("==o&&(h(n),")"==r.doc.getLine(i.start.row).substring(i.start.column+1,i.start.column+2)))return i.end.column++,i})),this.add("brackets","insertion",(function(t,n,r,i,o){if("["==o){h(r);var a=r.getSelectionRange(),s=i.doc.getTextRange(a);if(""!==s&&r.getWrapBehavioursEnabled())return p(a,s,"[","]");if(e.isSaneInsertion(r,i))return e.recordAutoInsert(r,i,"]"),{text:"[]",selection:[1,1]}}else if("]"==o){h(r);var l=r.getCursorPosition(),c=i.doc.getLine(l.row);if("]"==c.substring(l.column,l.column+1)&&null!==i.$findOpeningBracket("]",{column:l.column+1,row:l.row})&&e.isAutoInsertedClosing(l,c,o))return e.popAutoInsertedClosing(),{text:"",selection:[1,1]}}})),this.add("brackets","deletion",(function(e,t,n,r,i){var o=r.doc.getTextRange(i);if(!i.isMultiLine()&&"["==o&&(h(n),"]"==r.doc.getLine(i.start.row).substring(i.start.column+1,i.start.column+2)))return i.end.column++,i})),this.add("string_dquotes","insertion",(function(e,t,n,r,i){if('"'==i||"'"==i){if(this.lineCommentStart&&-1!=this.lineCommentStart.indexOf(i))return;h(n);var o=i,a=n.getSelectionRange(),s=r.doc.getTextRange(a);if(""!==s&&"'"!==s&&'"'!=s&&n.getWrapBehavioursEnabled())return p(a,s,o,o);if(!s){var l=n.getCursorPosition(),c=r.doc.getLine(l.row),u=c.substring(l.column-1,l.column),d=c.substring(l.column,l.column+1),f=r.getTokenAt(l.row,l.column),m=r.getTokenAt(l.row,l.column+1);if("\\"==u&&f&&/escape/.test(f.type))return null;var g,y=f&&/string|escape/.test(f.type),v=!m||/string|escape/.test(m.type);if(d==o)(g=y!==v)&&/string\.end/.test(m.type)&&(g=!1);else{if(y&&!v)return null;if(y&&v)return null;var _=r.$mode.tokenRe;_.lastIndex=0;var b=_.test(u);_.lastIndex=0;var E=_.test(u);if(b||E)return null;if(d&&!/[\s;,.})\]\\]/.test(d))return null;g=!0}return{text:g?o+o:"",selection:[1,1]}}}})),this.add("string_dquotes","deletion",(function(e,t,n,r,i){var o=r.doc.getTextRange(i);if(!i.isMultiLine()&&('"'==o||"'"==o)&&(h(n),r.doc.getLine(i.start.row).substring(i.start.column+1,i.start.column+2)==o))return i.end.column++,i}))};d.isSaneInsertion=function(e,t){var n=e.getCursorPosition(),r=new a(t,n.row,n.column);if(!this.$matchTokenType(r.getCurrentToken()||"text",l)){var i=new a(t,n.row,n.column+1);if(!this.$matchTokenType(i.getCurrentToken()||"text",l))return!1}return r.stepForward(),r.getCurrentTokenRow()!==n.row||this.$matchTokenType(r.getCurrentToken()||"text",c)},d.$matchTokenType=function(e,t){return t.indexOf(e.type||e)>-1},d.recordAutoInsert=function(e,t,n){var i=e.getCursorPosition(),o=t.doc.getLine(i.row);this.isAutoInsertedClosing(i,o,r.autoInsertedLineEnd[0])||(r.autoInsertedBrackets=0),r.autoInsertedRow=i.row,r.autoInsertedLineEnd=n+o.substr(i.column),r.autoInsertedBrackets++},d.recordMaybeInsert=function(e,t,n){var i=e.getCursorPosition(),o=t.doc.getLine(i.row);this.isMaybeInsertedClosing(i,o)||(r.maybeInsertedBrackets=0),r.maybeInsertedRow=i.row,r.maybeInsertedLineStart=o.substr(0,i.column)+n,r.maybeInsertedLineEnd=o.substr(i.column),r.maybeInsertedBrackets++},d.isAutoInsertedClosing=function(e,t,n){return r.autoInsertedBrackets>0&&e.row===r.autoInsertedRow&&n===r.autoInsertedLineEnd[0]&&t.substr(e.column)===r.autoInsertedLineEnd},d.isMaybeInsertedClosing=function(e,t){return r.maybeInsertedBrackets>0&&e.row===r.maybeInsertedRow&&t.substr(e.column)===r.maybeInsertedLineEnd&&t.substr(0,e.column)==r.maybeInsertedLineStart},d.popAutoInsertedClosing=function(){r.autoInsertedLineEnd=r.autoInsertedLineEnd.substr(1),r.autoInsertedBrackets--},d.clearMaybeInsertedClosing=function(){r&&(r.maybeInsertedBrackets=0,r.maybeInsertedRow=-1)},i.inherits(d,o),t.CstyleBehaviour=d})),ace.define("ace/unicode",["require","exports","module"],(function(e,t,n){"use strict";t.packages={},function(e){var n=/\w{4}/g;for(var r in e)t.packages[r]=e[r].replace(n,"\\u$&")}({L:"0041-005A0061-007A00AA00B500BA00C0-00D600D8-00F600F8-02C102C6-02D102E0-02E402EC02EE0370-037403760377037A-037D03860388-038A038C038E-03A103A3-03F503F7-0481048A-05250531-055605590561-058705D0-05EA05F0-05F20621-064A066E066F0671-06D306D506E506E606EE06EF06FA-06FC06FF07100712-072F074D-07A507B107CA-07EA07F407F507FA0800-0815081A082408280904-0939093D09500958-0961097109720979-097F0985-098C098F09900993-09A809AA-09B009B209B6-09B909BD09CE09DC09DD09DF-09E109F009F10A05-0A0A0A0F0A100A13-0A280A2A-0A300A320A330A350A360A380A390A59-0A5C0A5E0A72-0A740A85-0A8D0A8F-0A910A93-0AA80AAA-0AB00AB20AB30AB5-0AB90ABD0AD00AE00AE10B05-0B0C0B0F0B100B13-0B280B2A-0B300B320B330B35-0B390B3D0B5C0B5D0B5F-0B610B710B830B85-0B8A0B8E-0B900B92-0B950B990B9A0B9C0B9E0B9F0BA30BA40BA8-0BAA0BAE-0BB90BD00C05-0C0C0C0E-0C100C12-0C280C2A-0C330C35-0C390C3D0C580C590C600C610C85-0C8C0C8E-0C900C92-0CA80CAA-0CB30CB5-0CB90CBD0CDE0CE00CE10D05-0D0C0D0E-0D100D12-0D280D2A-0D390D3D0D600D610D7A-0D7F0D85-0D960D9A-0DB10DB3-0DBB0DBD0DC0-0DC60E01-0E300E320E330E40-0E460E810E820E840E870E880E8A0E8D0E94-0E970E99-0E9F0EA1-0EA30EA50EA70EAA0EAB0EAD-0EB00EB20EB30EBD0EC0-0EC40EC60EDC0EDD0F000F40-0F470F49-0F6C0F88-0F8B1000-102A103F1050-1055105A-105D106110651066106E-10701075-1081108E10A0-10C510D0-10FA10FC1100-1248124A-124D1250-12561258125A-125D1260-1288128A-128D1290-12B012B2-12B512B8-12BE12C012C2-12C512C8-12D612D8-13101312-13151318-135A1380-138F13A0-13F41401-166C166F-167F1681-169A16A0-16EA1700-170C170E-17111720-17311740-17511760-176C176E-17701780-17B317D717DC1820-18771880-18A818AA18B0-18F51900-191C1950-196D1970-19741980-19AB19C1-19C71A00-1A161A20-1A541AA71B05-1B331B45-1B4B1B83-1BA01BAE1BAF1C00-1C231C4D-1C4F1C5A-1C7D1CE9-1CEC1CEE-1CF11D00-1DBF1E00-1F151F18-1F1D1F20-1F451F48-1F4D1F50-1F571F591F5B1F5D1F5F-1F7D1F80-1FB41FB6-1FBC1FBE1FC2-1FC41FC6-1FCC1FD0-1FD31FD6-1FDB1FE0-1FEC1FF2-1FF41FF6-1FFC2071207F2090-209421022107210A-211321152119-211D212421262128212A-212D212F-2139213C-213F2145-2149214E218321842C00-2C2E2C30-2C5E2C60-2CE42CEB-2CEE2D00-2D252D30-2D652D6F2D80-2D962DA0-2DA62DA8-2DAE2DB0-2DB62DB8-2DBE2DC0-2DC62DC8-2DCE2DD0-2DD62DD8-2DDE2E2F300530063031-3035303B303C3041-3096309D-309F30A1-30FA30FC-30FF3105-312D3131-318E31A0-31B731F0-31FF3400-4DB54E00-9FCBA000-A48CA4D0-A4FDA500-A60CA610-A61FA62AA62BA640-A65FA662-A66EA67F-A697A6A0-A6E5A717-A71FA722-A788A78BA78CA7FB-A801A803-A805A807-A80AA80C-A822A840-A873A882-A8B3A8F2-A8F7A8FBA90A-A925A930-A946A960-A97CA984-A9B2A9CFAA00-AA28AA40-AA42AA44-AA4BAA60-AA76AA7AAA80-AAAFAAB1AAB5AAB6AAB9-AABDAAC0AAC2AADB-AADDABC0-ABE2AC00-D7A3D7B0-D7C6D7CB-D7FBF900-FA2DFA30-FA6DFA70-FAD9FB00-FB06FB13-FB17FB1DFB1F-FB28FB2A-FB36FB38-FB3CFB3EFB40FB41FB43FB44FB46-FBB1FBD3-FD3DFD50-FD8FFD92-FDC7FDF0-FDFBFE70-FE74FE76-FEFCFF21-FF3AFF41-FF5AFF66-FFBEFFC2-FFC7FFCA-FFCFFFD2-FFD7FFDA-FFDC",Ll:"0061-007A00AA00B500BA00DF-00F600F8-00FF01010103010501070109010B010D010F01110113011501170119011B011D011F01210123012501270129012B012D012F01310133013501370138013A013C013E014001420144014601480149014B014D014F01510153015501570159015B015D015F01610163016501670169016B016D016F0171017301750177017A017C017E-0180018301850188018C018D019201950199-019B019E01A101A301A501A801AA01AB01AD01B001B401B601B901BA01BD-01BF01C601C901CC01CE01D001D201D401D601D801DA01DC01DD01DF01E101E301E501E701E901EB01ED01EF01F001F301F501F901FB01FD01FF02010203020502070209020B020D020F02110213021502170219021B021D021F02210223022502270229022B022D022F02310233-0239023C023F0240024202470249024B024D024F-02930295-02AF037103730377037B-037D039003AC-03CE03D003D103D5-03D703D903DB03DD03DF03E103E303E503E703E903EB03ED03EF-03F303F503F803FB03FC0430-045F04610463046504670469046B046D046F04710473047504770479047B047D047F0481048B048D048F04910493049504970499049B049D049F04A104A304A504A704A904AB04AD04AF04B104B304B504B704B904BB04BD04BF04C204C404C604C804CA04CC04CE04CF04D104D304D504D704D904DB04DD04DF04E104E304E504E704E904EB04ED04EF04F104F304F504F704F904FB04FD04FF05010503050505070509050B050D050F05110513051505170519051B051D051F0521052305250561-05871D00-1D2B1D62-1D771D79-1D9A1E011E031E051E071E091E0B1E0D1E0F1E111E131E151E171E191E1B1E1D1E1F1E211E231E251E271E291E2B1E2D1E2F1E311E331E351E371E391E3B1E3D1E3F1E411E431E451E471E491E4B1E4D1E4F1E511E531E551E571E591E5B1E5D1E5F1E611E631E651E671E691E6B1E6D1E6F1E711E731E751E771E791E7B1E7D1E7F1E811E831E851E871E891E8B1E8D1E8F1E911E931E95-1E9D1E9F1EA11EA31EA51EA71EA91EAB1EAD1EAF1EB11EB31EB51EB71EB91EBB1EBD1EBF1EC11EC31EC51EC71EC91ECB1ECD1ECF1ED11ED31ED51ED71ED91EDB1EDD1EDF1EE11EE31EE51EE71EE91EEB1EED1EEF1EF11EF31EF51EF71EF91EFB1EFD1EFF-1F071F10-1F151F20-1F271F30-1F371F40-1F451F50-1F571F60-1F671F70-1F7D1F80-1F871F90-1F971FA0-1FA71FB0-1FB41FB61FB71FBE1FC2-1FC41FC61FC71FD0-1FD31FD61FD71FE0-1FE71FF2-1FF41FF61FF7210A210E210F2113212F21342139213C213D2146-2149214E21842C30-2C5E2C612C652C662C682C6A2C6C2C712C732C742C76-2C7C2C812C832C852C872C892C8B2C8D2C8F2C912C932C952C972C992C9B2C9D2C9F2CA12CA32CA52CA72CA92CAB2CAD2CAF2CB12CB32CB52CB72CB92CBB2CBD2CBF2CC12CC32CC52CC72CC92CCB2CCD2CCF2CD12CD32CD52CD72CD92CDB2CDD2CDF2CE12CE32CE42CEC2CEE2D00-2D25A641A643A645A647A649A64BA64DA64FA651A653A655A657A659A65BA65DA65FA663A665A667A669A66BA66DA681A683A685A687A689A68BA68DA68FA691A693A695A697A723A725A727A729A72BA72DA72F-A731A733A735A737A739A73BA73DA73FA741A743A745A747A749A74BA74DA74FA751A753A755A757A759A75BA75DA75FA761A763A765A767A769A76BA76DA76FA771-A778A77AA77CA77FA781A783A785A787A78CFB00-FB06FB13-FB17FF41-FF5A",Lu:"0041-005A00C0-00D600D8-00DE01000102010401060108010A010C010E01100112011401160118011A011C011E01200122012401260128012A012C012E01300132013401360139013B013D013F0141014301450147014A014C014E01500152015401560158015A015C015E01600162016401660168016A016C016E017001720174017601780179017B017D018101820184018601870189-018B018E-0191019301940196-0198019C019D019F01A001A201A401A601A701A901AC01AE01AF01B1-01B301B501B701B801BC01C401C701CA01CD01CF01D101D301D501D701D901DB01DE01E001E201E401E601E801EA01EC01EE01F101F401F6-01F801FA01FC01FE02000202020402060208020A020C020E02100212021402160218021A021C021E02200222022402260228022A022C022E02300232023A023B023D023E02410243-02460248024A024C024E03700372037603860388-038A038C038E038F0391-03A103A3-03AB03CF03D2-03D403D803DA03DC03DE03E003E203E403E603E803EA03EC03EE03F403F703F903FA03FD-042F04600462046404660468046A046C046E04700472047404760478047A047C047E0480048A048C048E04900492049404960498049A049C049E04A004A204A404A604A804AA04AC04AE04B004B204B404B604B804BA04BC04BE04C004C104C304C504C704C904CB04CD04D004D204D404D604D804DA04DC04DE04E004E204E404E604E804EA04EC04EE04F004F204F404F604F804FA04FC04FE05000502050405060508050A050C050E05100512051405160518051A051C051E0520052205240531-055610A0-10C51E001E021E041E061E081E0A1E0C1E0E1E101E121E141E161E181E1A1E1C1E1E1E201E221E241E261E281E2A1E2C1E2E1E301E321E341E361E381E3A1E3C1E3E1E401E421E441E461E481E4A1E4C1E4E1E501E521E541E561E581E5A1E5C1E5E1E601E621E641E661E681E6A1E6C1E6E1E701E721E741E761E781E7A1E7C1E7E1E801E821E841E861E881E8A1E8C1E8E1E901E921E941E9E1EA01EA21EA41EA61EA81EAA1EAC1EAE1EB01EB21EB41EB61EB81EBA1EBC1EBE1EC01EC21EC41EC61EC81ECA1ECC1ECE1ED01ED21ED41ED61ED81EDA1EDC1EDE1EE01EE21EE41EE61EE81EEA1EEC1EEE1EF01EF21EF41EF61EF81EFA1EFC1EFE1F08-1F0F1F18-1F1D1F28-1F2F1F38-1F3F1F48-1F4D1F591F5B1F5D1F5F1F68-1F6F1FB8-1FBB1FC8-1FCB1FD8-1FDB1FE8-1FEC1FF8-1FFB21022107210B-210D2110-211221152119-211D212421262128212A-212D2130-2133213E213F214521832C00-2C2E2C602C62-2C642C672C692C6B2C6D-2C702C722C752C7E-2C802C822C842C862C882C8A2C8C2C8E2C902C922C942C962C982C9A2C9C2C9E2CA02CA22CA42CA62CA82CAA2CAC2CAE2CB02CB22CB42CB62CB82CBA2CBC2CBE2CC02CC22CC42CC62CC82CCA2CCC2CCE2CD02CD22CD42CD62CD82CDA2CDC2CDE2CE02CE22CEB2CEDA640A642A644A646A648A64AA64CA64EA650A652A654A656A658A65AA65CA65EA662A664A666A668A66AA66CA680A682A684A686A688A68AA68CA68EA690A692A694A696A722A724A726A728A72AA72CA72EA732A734A736A738A73AA73CA73EA740A742A744A746A748A74AA74CA74EA750A752A754A756A758A75AA75CA75EA760A762A764A766A768A76AA76CA76EA779A77BA77DA77EA780A782A784A786A78BFF21-FF3A",Lt:"01C501C801CB01F21F88-1F8F1F98-1F9F1FA8-1FAF1FBC1FCC1FFC",Lm:"02B0-02C102C6-02D102E0-02E402EC02EE0374037A0559064006E506E607F407F507FA081A0824082809710E460EC610FC17D718431AA71C78-1C7D1D2C-1D611D781D9B-1DBF2071207F2090-20942C7D2D6F2E2F30053031-3035303B309D309E30FC-30FEA015A4F8-A4FDA60CA67FA717-A71FA770A788A9CFAA70AADDFF70FF9EFF9F",Lo:"01BB01C0-01C3029405D0-05EA05F0-05F20621-063F0641-064A066E066F0671-06D306D506EE06EF06FA-06FC06FF07100712-072F074D-07A507B107CA-07EA0800-08150904-0939093D09500958-096109720979-097F0985-098C098F09900993-09A809AA-09B009B209B6-09B909BD09CE09DC09DD09DF-09E109F009F10A05-0A0A0A0F0A100A13-0A280A2A-0A300A320A330A350A360A380A390A59-0A5C0A5E0A72-0A740A85-0A8D0A8F-0A910A93-0AA80AAA-0AB00AB20AB30AB5-0AB90ABD0AD00AE00AE10B05-0B0C0B0F0B100B13-0B280B2A-0B300B320B330B35-0B390B3D0B5C0B5D0B5F-0B610B710B830B85-0B8A0B8E-0B900B92-0B950B990B9A0B9C0B9E0B9F0BA30BA40BA8-0BAA0BAE-0BB90BD00C05-0C0C0C0E-0C100C12-0C280C2A-0C330C35-0C390C3D0C580C590C600C610C85-0C8C0C8E-0C900C92-0CA80CAA-0CB30CB5-0CB90CBD0CDE0CE00CE10D05-0D0C0D0E-0D100D12-0D280D2A-0D390D3D0D600D610D7A-0D7F0D85-0D960D9A-0DB10DB3-0DBB0DBD0DC0-0DC60E01-0E300E320E330E40-0E450E810E820E840E870E880E8A0E8D0E94-0E970E99-0E9F0EA1-0EA30EA50EA70EAA0EAB0EAD-0EB00EB20EB30EBD0EC0-0EC40EDC0EDD0F000F40-0F470F49-0F6C0F88-0F8B1000-102A103F1050-1055105A-105D106110651066106E-10701075-1081108E10D0-10FA1100-1248124A-124D1250-12561258125A-125D1260-1288128A-128D1290-12B012B2-12B512B8-12BE12C012C2-12C512C8-12D612D8-13101312-13151318-135A1380-138F13A0-13F41401-166C166F-167F1681-169A16A0-16EA1700-170C170E-17111720-17311740-17511760-176C176E-17701780-17B317DC1820-18421844-18771880-18A818AA18B0-18F51900-191C1950-196D1970-19741980-19AB19C1-19C71A00-1A161A20-1A541B05-1B331B45-1B4B1B83-1BA01BAE1BAF1C00-1C231C4D-1C4F1C5A-1C771CE9-1CEC1CEE-1CF12135-21382D30-2D652D80-2D962DA0-2DA62DA8-2DAE2DB0-2DB62DB8-2DBE2DC0-2DC62DC8-2DCE2DD0-2DD62DD8-2DDE3006303C3041-3096309F30A1-30FA30FF3105-312D3131-318E31A0-31B731F0-31FF3400-4DB54E00-9FCBA000-A014A016-A48CA4D0-A4F7A500-A60BA610-A61FA62AA62BA66EA6A0-A6E5A7FB-A801A803-A805A807-A80AA80C-A822A840-A873A882-A8B3A8F2-A8F7A8FBA90A-A925A930-A946A960-A97CA984-A9B2AA00-AA28AA40-AA42AA44-AA4BAA60-AA6FAA71-AA76AA7AAA80-AAAFAAB1AAB5AAB6AAB9-AABDAAC0AAC2AADBAADCABC0-ABE2AC00-D7A3D7B0-D7C6D7CB-D7FBF900-FA2DFA30-FA6DFA70-FAD9FB1DFB1F-FB28FB2A-FB36FB38-FB3CFB3EFB40FB41FB43FB44FB46-FBB1FBD3-FD3DFD50-FD8FFD92-FDC7FDF0-FDFBFE70-FE74FE76-FEFCFF66-FF6FFF71-FF9DFFA0-FFBEFFC2-FFC7FFCA-FFCFFFD2-FFD7FFDA-FFDC",M:"0300-036F0483-04890591-05BD05BF05C105C205C405C505C70610-061A064B-065E067006D6-06DC06DE-06E406E706E806EA-06ED07110730-074A07A6-07B007EB-07F30816-0819081B-08230825-08270829-082D0900-0903093C093E-094E0951-0955096209630981-098309BC09BE-09C409C709C809CB-09CD09D709E209E30A01-0A030A3C0A3E-0A420A470A480A4B-0A4D0A510A700A710A750A81-0A830ABC0ABE-0AC50AC7-0AC90ACB-0ACD0AE20AE30B01-0B030B3C0B3E-0B440B470B480B4B-0B4D0B560B570B620B630B820BBE-0BC20BC6-0BC80BCA-0BCD0BD70C01-0C030C3E-0C440C46-0C480C4A-0C4D0C550C560C620C630C820C830CBC0CBE-0CC40CC6-0CC80CCA-0CCD0CD50CD60CE20CE30D020D030D3E-0D440D46-0D480D4A-0D4D0D570D620D630D820D830DCA0DCF-0DD40DD60DD8-0DDF0DF20DF30E310E34-0E3A0E47-0E4E0EB10EB4-0EB90EBB0EBC0EC8-0ECD0F180F190F350F370F390F3E0F3F0F71-0F840F860F870F90-0F970F99-0FBC0FC6102B-103E1056-1059105E-10601062-10641067-106D1071-10741082-108D108F109A-109D135F1712-17141732-1734175217531772177317B6-17D317DD180B-180D18A91920-192B1930-193B19B0-19C019C819C91A17-1A1B1A55-1A5E1A60-1A7C1A7F1B00-1B041B34-1B441B6B-1B731B80-1B821BA1-1BAA1C24-1C371CD0-1CD21CD4-1CE81CED1CF21DC0-1DE61DFD-1DFF20D0-20F02CEF-2CF12DE0-2DFF302A-302F3099309AA66F-A672A67CA67DA6F0A6F1A802A806A80BA823-A827A880A881A8B4-A8C4A8E0-A8F1A926-A92DA947-A953A980-A983A9B3-A9C0AA29-AA36AA43AA4CAA4DAA7BAAB0AAB2-AAB4AAB7AAB8AABEAABFAAC1ABE3-ABEAABECABEDFB1EFE00-FE0FFE20-FE26",Mn:"0300-036F0483-04870591-05BD05BF05C105C205C405C505C70610-061A064B-065E067006D6-06DC06DF-06E406E706E806EA-06ED07110730-074A07A6-07B007EB-07F30816-0819081B-08230825-08270829-082D0900-0902093C0941-0948094D0951-095509620963098109BC09C1-09C409CD09E209E30A010A020A3C0A410A420A470A480A4B-0A4D0A510A700A710A750A810A820ABC0AC1-0AC50AC70AC80ACD0AE20AE30B010B3C0B3F0B41-0B440B4D0B560B620B630B820BC00BCD0C3E-0C400C46-0C480C4A-0C4D0C550C560C620C630CBC0CBF0CC60CCC0CCD0CE20CE30D41-0D440D4D0D620D630DCA0DD2-0DD40DD60E310E34-0E3A0E47-0E4E0EB10EB4-0EB90EBB0EBC0EC8-0ECD0F180F190F350F370F390F71-0F7E0F80-0F840F860F870F90-0F970F99-0FBC0FC6102D-10301032-10371039103A103D103E10581059105E-10601071-1074108210851086108D109D135F1712-17141732-1734175217531772177317B7-17BD17C617C9-17D317DD180B-180D18A91920-19221927192819321939-193B1A171A181A561A58-1A5E1A601A621A65-1A6C1A73-1A7C1A7F1B00-1B031B341B36-1B3A1B3C1B421B6B-1B731B801B811BA2-1BA51BA81BA91C2C-1C331C361C371CD0-1CD21CD4-1CE01CE2-1CE81CED1DC0-1DE61DFD-1DFF20D0-20DC20E120E5-20F02CEF-2CF12DE0-2DFF302A-302F3099309AA66FA67CA67DA6F0A6F1A802A806A80BA825A826A8C4A8E0-A8F1A926-A92DA947-A951A980-A982A9B3A9B6-A9B9A9BCAA29-AA2EAA31AA32AA35AA36AA43AA4CAAB0AAB2-AAB4AAB7AAB8AABEAABFAAC1ABE5ABE8ABEDFB1EFE00-FE0FFE20-FE26",Mc:"0903093E-09400949-094C094E0982098309BE-09C009C709C809CB09CC09D70A030A3E-0A400A830ABE-0AC00AC90ACB0ACC0B020B030B3E0B400B470B480B4B0B4C0B570BBE0BBF0BC10BC20BC6-0BC80BCA-0BCC0BD70C01-0C030C41-0C440C820C830CBE0CC0-0CC40CC70CC80CCA0CCB0CD50CD60D020D030D3E-0D400D46-0D480D4A-0D4C0D570D820D830DCF-0DD10DD8-0DDF0DF20DF30F3E0F3F0F7F102B102C10311038103B103C105610571062-10641067-106D108310841087-108C108F109A-109C17B617BE-17C517C717C81923-19261929-192B193019311933-193819B0-19C019C819C91A19-1A1B1A551A571A611A631A641A6D-1A721B041B351B3B1B3D-1B411B431B441B821BA11BA61BA71BAA1C24-1C2B1C341C351CE11CF2A823A824A827A880A881A8B4-A8C3A952A953A983A9B4A9B5A9BAA9BBA9BD-A9C0AA2FAA30AA33AA34AA4DAA7BABE3ABE4ABE6ABE7ABE9ABEAABEC",Me:"0488048906DE20DD-20E020E2-20E4A670-A672",N:"0030-003900B200B300B900BC-00BE0660-066906F0-06F907C0-07C90966-096F09E6-09EF09F4-09F90A66-0A6F0AE6-0AEF0B66-0B6F0BE6-0BF20C66-0C6F0C78-0C7E0CE6-0CEF0D66-0D750E50-0E590ED0-0ED90F20-0F331040-10491090-10991369-137C16EE-16F017E0-17E917F0-17F91810-18191946-194F19D0-19DA1A80-1A891A90-1A991B50-1B591BB0-1BB91C40-1C491C50-1C5920702074-20792080-20892150-21822185-21892460-249B24EA-24FF2776-27932CFD30073021-30293038-303A3192-31953220-32293251-325F3280-328932B1-32BFA620-A629A6E6-A6EFA830-A835A8D0-A8D9A900-A909A9D0-A9D9AA50-AA59ABF0-ABF9FF10-FF19",Nd:"0030-00390660-066906F0-06F907C0-07C90966-096F09E6-09EF0A66-0A6F0AE6-0AEF0B66-0B6F0BE6-0BEF0C66-0C6F0CE6-0CEF0D66-0D6F0E50-0E590ED0-0ED90F20-0F291040-10491090-109917E0-17E91810-18191946-194F19D0-19DA1A80-1A891A90-1A991B50-1B591BB0-1BB91C40-1C491C50-1C59A620-A629A8D0-A8D9A900-A909A9D0-A9D9AA50-AA59ABF0-ABF9FF10-FF19",Nl:"16EE-16F02160-21822185-218830073021-30293038-303AA6E6-A6EF",No:"00B200B300B900BC-00BE09F4-09F90BF0-0BF20C78-0C7E0D70-0D750F2A-0F331369-137C17F0-17F920702074-20792080-20892150-215F21892460-249B24EA-24FF2776-27932CFD3192-31953220-32293251-325F3280-328932B1-32BFA830-A835",P:"0021-00230025-002A002C-002F003A003B003F0040005B-005D005F007B007D00A100AB00B700BB00BF037E0387055A-055F0589058A05BE05C005C305C605F305F40609060A060C060D061B061E061F066A-066D06D40700-070D07F7-07F90830-083E0964096509700DF40E4F0E5A0E5B0F04-0F120F3A-0F3D0F850FD0-0FD4104A-104F10FB1361-13681400166D166E169B169C16EB-16ED1735173617D4-17D617D8-17DA1800-180A1944194519DE19DF1A1E1A1F1AA0-1AA61AA8-1AAD1B5A-1B601C3B-1C3F1C7E1C7F1CD32010-20272030-20432045-20512053-205E207D207E208D208E2329232A2768-277527C527C627E6-27EF2983-299829D8-29DB29FC29FD2CF9-2CFC2CFE2CFF2E00-2E2E2E302E313001-30033008-30113014-301F3030303D30A030FBA4FEA4FFA60D-A60FA673A67EA6F2-A6F7A874-A877A8CEA8CFA8F8-A8FAA92EA92FA95FA9C1-A9CDA9DEA9DFAA5C-AA5FAADEAADFABEBFD3EFD3FFE10-FE19FE30-FE52FE54-FE61FE63FE68FE6AFE6BFF01-FF03FF05-FF0AFF0C-FF0FFF1AFF1BFF1FFF20FF3B-FF3DFF3FFF5BFF5DFF5F-FF65",Pd:"002D058A05BE140018062010-20152E172E1A301C303030A0FE31FE32FE58FE63FF0D",Ps:"0028005B007B0F3A0F3C169B201A201E2045207D208D23292768276A276C276E27702772277427C527E627E827EA27EC27EE2983298529872989298B298D298F299129932995299729D829DA29FC2E222E242E262E283008300A300C300E3010301430163018301A301DFD3EFE17FE35FE37FE39FE3BFE3DFE3FFE41FE43FE47FE59FE5BFE5DFF08FF3BFF5BFF5FFF62",Pe:"0029005D007D0F3B0F3D169C2046207E208E232A2769276B276D276F27712773277527C627E727E927EB27ED27EF298429862988298A298C298E2990299229942996299829D929DB29FD2E232E252E272E293009300B300D300F3011301530173019301B301E301FFD3FFE18FE36FE38FE3AFE3CFE3EFE40FE42FE44FE48FE5AFE5CFE5EFF09FF3DFF5DFF60FF63",Pi:"00AB2018201B201C201F20392E022E042E092E0C2E1C2E20",Pf:"00BB2019201D203A2E032E052E0A2E0D2E1D2E21",Pc:"005F203F20402054FE33FE34FE4D-FE4FFF3F",Po:"0021-00230025-0027002A002C002E002F003A003B003F0040005C00A100B700BF037E0387055A-055F058905C005C305C605F305F40609060A060C060D061B061E061F066A-066D06D40700-070D07F7-07F90830-083E0964096509700DF40E4F0E5A0E5B0F04-0F120F850FD0-0FD4104A-104F10FB1361-1368166D166E16EB-16ED1735173617D4-17D617D8-17DA1800-18051807-180A1944194519DE19DF1A1E1A1F1AA0-1AA61AA8-1AAD1B5A-1B601C3B-1C3F1C7E1C7F1CD3201620172020-20272030-2038203B-203E2041-20432047-205120532055-205E2CF9-2CFC2CFE2CFF2E002E012E06-2E082E0B2E0E-2E162E182E192E1B2E1E2E1F2E2A-2E2E2E302E313001-3003303D30FBA4FEA4FFA60D-A60FA673A67EA6F2-A6F7A874-A877A8CEA8CFA8F8-A8FAA92EA92FA95FA9C1-A9CDA9DEA9DFAA5C-AA5FAADEAADFABEBFE10-FE16FE19FE30FE45FE46FE49-FE4CFE50-FE52FE54-FE57FE5F-FE61FE68FE6AFE6BFF01-FF03FF05-FF07FF0AFF0CFF0EFF0FFF1AFF1BFF1FFF20FF3CFF61FF64FF65",S:"0024002B003C-003E005E0060007C007E00A2-00A900AC00AE-00B100B400B600B800D700F702C2-02C502D2-02DF02E5-02EB02ED02EF-02FF03750384038503F604820606-0608060B060E060F06E906FD06FE07F609F209F309FA09FB0AF10B700BF3-0BFA0C7F0CF10CF20D790E3F0F01-0F030F13-0F170F1A-0F1F0F340F360F380FBE-0FC50FC7-0FCC0FCE0FCF0FD5-0FD8109E109F13601390-139917DB194019E0-19FF1B61-1B6A1B74-1B7C1FBD1FBF-1FC11FCD-1FCF1FDD-1FDF1FED-1FEF1FFD1FFE20442052207A-207C208A-208C20A0-20B8210021012103-21062108210921142116-2118211E-2123212521272129212E213A213B2140-2144214A-214D214F2190-2328232B-23E82400-24262440-244A249C-24E92500-26CD26CF-26E126E326E8-26FF2701-27042706-2709270C-27272729-274B274D274F-27522756-275E2761-276727942798-27AF27B1-27BE27C0-27C427C7-27CA27CC27D0-27E527F0-29822999-29D729DC-29FB29FE-2B4C2B50-2B592CE5-2CEA2E80-2E992E9B-2EF32F00-2FD52FF0-2FFB300430123013302030363037303E303F309B309C319031913196-319F31C0-31E33200-321E322A-32503260-327F328A-32B032C0-32FE3300-33FF4DC0-4DFFA490-A4C6A700-A716A720A721A789A78AA828-A82BA836-A839AA77-AA79FB29FDFCFDFDFE62FE64-FE66FE69FF04FF0BFF1C-FF1EFF3EFF40FF5CFF5EFFE0-FFE6FFE8-FFEEFFFCFFFD",Sm:"002B003C-003E007C007E00AC00B100D700F703F60606-060820442052207A-207C208A-208C2140-2144214B2190-2194219A219B21A021A321A621AE21CE21CF21D221D421F4-22FF2308-230B23202321237C239B-23B323DC-23E125B725C125F8-25FF266F27C0-27C427C7-27CA27CC27D0-27E527F0-27FF2900-29822999-29D729DC-29FB29FE-2AFF2B30-2B442B47-2B4CFB29FE62FE64-FE66FF0BFF1C-FF1EFF5CFF5EFFE2FFE9-FFEC",Sc:"002400A2-00A5060B09F209F309FB0AF10BF90E3F17DB20A0-20B8A838FDFCFE69FF04FFE0FFE1FFE5FFE6",Sk:"005E006000A800AF00B400B802C2-02C502D2-02DF02E5-02EB02ED02EF-02FF0375038403851FBD1FBF-1FC11FCD-1FCF1FDD-1FDF1FED-1FEF1FFD1FFE309B309CA700-A716A720A721A789A78AFF3EFF40FFE3",So:"00A600A700A900AE00B000B60482060E060F06E906FD06FE07F609FA0B700BF3-0BF80BFA0C7F0CF10CF20D790F01-0F030F13-0F170F1A-0F1F0F340F360F380FBE-0FC50FC7-0FCC0FCE0FCF0FD5-0FD8109E109F13601390-1399194019E0-19FF1B61-1B6A1B74-1B7C210021012103-21062108210921142116-2118211E-2123212521272129212E213A213B214A214C214D214F2195-2199219C-219F21A121A221A421A521A7-21AD21AF-21CD21D021D121D321D5-21F32300-2307230C-231F2322-2328232B-237B237D-239A23B4-23DB23E2-23E82400-24262440-244A249C-24E92500-25B625B8-25C025C2-25F72600-266E2670-26CD26CF-26E126E326E8-26FF2701-27042706-2709270C-27272729-274B274D274F-27522756-275E2761-276727942798-27AF27B1-27BE2800-28FF2B00-2B2F2B452B462B50-2B592CE5-2CEA2E80-2E992E9B-2EF32F00-2FD52FF0-2FFB300430123013302030363037303E303F319031913196-319F31C0-31E33200-321E322A-32503260-327F328A-32B032C0-32FE3300-33FF4DC0-4DFFA490-A4C6A828-A82BA836A837A839AA77-AA79FDFDFFE4FFE8FFEDFFEEFFFCFFFD",Z:"002000A01680180E2000-200A20282029202F205F3000",Zs:"002000A01680180E2000-200A202F205F3000",Zl:"2028",Zp:"2029",C:"0000-001F007F-009F00AD03780379037F-0383038B038D03A20526-05300557055805600588058B-059005C8-05CF05EB-05EF05F5-0605061C061D0620065F06DD070E070F074B074C07B2-07BF07FB-07FF082E082F083F-08FF093A093B094F095609570973-097809800984098D098E0991099209A909B109B3-09B509BA09BB09C509C609C909CA09CF-09D609D8-09DB09DE09E409E509FC-0A000A040A0B-0A0E0A110A120A290A310A340A370A3A0A3B0A3D0A43-0A460A490A4A0A4E-0A500A52-0A580A5D0A5F-0A650A76-0A800A840A8E0A920AA90AB10AB40ABA0ABB0AC60ACA0ACE0ACF0AD1-0ADF0AE40AE50AF00AF2-0B000B040B0D0B0E0B110B120B290B310B340B3A0B3B0B450B460B490B4A0B4E-0B550B58-0B5B0B5E0B640B650B72-0B810B840B8B-0B8D0B910B96-0B980B9B0B9D0BA0-0BA20BA5-0BA70BAB-0BAD0BBA-0BBD0BC3-0BC50BC90BCE0BCF0BD1-0BD60BD8-0BE50BFB-0C000C040C0D0C110C290C340C3A-0C3C0C450C490C4E-0C540C570C5A-0C5F0C640C650C70-0C770C800C810C840C8D0C910CA90CB40CBA0CBB0CC50CC90CCE-0CD40CD7-0CDD0CDF0CE40CE50CF00CF3-0D010D040D0D0D110D290D3A-0D3C0D450D490D4E-0D560D58-0D5F0D640D650D76-0D780D800D810D840D97-0D990DB20DBC0DBE0DBF0DC7-0DC90DCB-0DCE0DD50DD70DE0-0DF10DF5-0E000E3B-0E3E0E5C-0E800E830E850E860E890E8B0E8C0E8E-0E930E980EA00EA40EA60EA80EA90EAC0EBA0EBE0EBF0EC50EC70ECE0ECF0EDA0EDB0EDE-0EFF0F480F6D-0F700F8C-0F8F0F980FBD0FCD0FD9-0FFF10C6-10CF10FD-10FF1249124E124F12571259125E125F1289128E128F12B112B612B712BF12C112C612C712D7131113161317135B-135E137D-137F139A-139F13F5-13FF169D-169F16F1-16FF170D1715-171F1737-173F1754-175F176D17711774-177F17B417B517DE17DF17EA-17EF17FA-17FF180F181A-181F1878-187F18AB-18AF18F6-18FF191D-191F192C-192F193C-193F1941-1943196E196F1975-197F19AC-19AF19CA-19CF19DB-19DD1A1C1A1D1A5F1A7D1A7E1A8A-1A8F1A9A-1A9F1AAE-1AFF1B4C-1B4F1B7D-1B7F1BAB-1BAD1BBA-1BFF1C38-1C3A1C4A-1C4C1C80-1CCF1CF3-1CFF1DE7-1DFC1F161F171F1E1F1F1F461F471F4E1F4F1F581F5A1F5C1F5E1F7E1F7F1FB51FC51FD41FD51FDC1FF01FF11FF51FFF200B-200F202A-202E2060-206F20722073208F2095-209F20B9-20CF20F1-20FF218A-218F23E9-23FF2427-243F244B-245F26CE26E226E4-26E727002705270A270B2728274C274E2753-2755275F27602795-279727B027BF27CB27CD-27CF2B4D-2B4F2B5A-2BFF2C2F2C5F2CF2-2CF82D26-2D2F2D66-2D6E2D70-2D7F2D97-2D9F2DA72DAF2DB72DBF2DC72DCF2DD72DDF2E32-2E7F2E9A2EF4-2EFF2FD6-2FEF2FFC-2FFF3040309730983100-3104312E-3130318F31B8-31BF31E4-31EF321F32FF4DB6-4DBF9FCC-9FFFA48D-A48FA4C7-A4CFA62C-A63FA660A661A674-A67BA698-A69FA6F8-A6FFA78D-A7FAA82C-A82FA83A-A83FA878-A87FA8C5-A8CDA8DA-A8DFA8FC-A8FFA954-A95EA97D-A97FA9CEA9DA-A9DDA9E0-A9FFAA37-AA3FAA4EAA4FAA5AAA5BAA7C-AA7FAAC3-AADAAAE0-ABBFABEEABEFABFA-ABFFD7A4-D7AFD7C7-D7CAD7FC-F8FFFA2EFA2FFA6EFA6FFADA-FAFFFB07-FB12FB18-FB1CFB37FB3DFB3FFB42FB45FBB2-FBD2FD40-FD4FFD90FD91FDC8-FDEFFDFEFDFFFE1A-FE1FFE27-FE2FFE53FE67FE6C-FE6FFE75FEFD-FF00FFBF-FFC1FFC8FFC9FFD0FFD1FFD8FFD9FFDD-FFDFFFE7FFEF-FFFBFFFEFFFF",Cc:"0000-001F007F-009F",Cf:"00AD0600-060306DD070F17B417B5200B-200F202A-202E2060-2064206A-206FFEFFFFF9-FFFB",Co:"E000-F8FF",Cs:"D800-DFFF",Cn:"03780379037F-0383038B038D03A20526-05300557055805600588058B-059005C8-05CF05EB-05EF05F5-05FF06040605061C061D0620065F070E074B074C07B2-07BF07FB-07FF082E082F083F-08FF093A093B094F095609570973-097809800984098D098E0991099209A909B109B3-09B509BA09BB09C509C609C909CA09CF-09D609D8-09DB09DE09E409E509FC-0A000A040A0B-0A0E0A110A120A290A310A340A370A3A0A3B0A3D0A43-0A460A490A4A0A4E-0A500A52-0A580A5D0A5F-0A650A76-0A800A840A8E0A920AA90AB10AB40ABA0ABB0AC60ACA0ACE0ACF0AD1-0ADF0AE40AE50AF00AF2-0B000B040B0D0B0E0B110B120B290B310B340B3A0B3B0B450B460B490B4A0B4E-0B550B58-0B5B0B5E0B640B650B72-0B810B840B8B-0B8D0B910B96-0B980B9B0B9D0BA0-0BA20BA5-0BA70BAB-0BAD0BBA-0BBD0BC3-0BC50BC90BCE0BCF0BD1-0BD60BD8-0BE50BFB-0C000C040C0D0C110C290C340C3A-0C3C0C450C490C4E-0C540C570C5A-0C5F0C640C650C70-0C770C800C810C840C8D0C910CA90CB40CBA0CBB0CC50CC90CCE-0CD40CD7-0CDD0CDF0CE40CE50CF00CF3-0D010D040D0D0D110D290D3A-0D3C0D450D490D4E-0D560D58-0D5F0D640D650D76-0D780D800D810D840D97-0D990DB20DBC0DBE0DBF0DC7-0DC90DCB-0DCE0DD50DD70DE0-0DF10DF5-0E000E3B-0E3E0E5C-0E800E830E850E860E890E8B0E8C0E8E-0E930E980EA00EA40EA60EA80EA90EAC0EBA0EBE0EBF0EC50EC70ECE0ECF0EDA0EDB0EDE-0EFF0F480F6D-0F700F8C-0F8F0F980FBD0FCD0FD9-0FFF10C6-10CF10FD-10FF1249124E124F12571259125E125F1289128E128F12B112B612B712BF12C112C612C712D7131113161317135B-135E137D-137F139A-139F13F5-13FF169D-169F16F1-16FF170D1715-171F1737-173F1754-175F176D17711774-177F17DE17DF17EA-17EF17FA-17FF180F181A-181F1878-187F18AB-18AF18F6-18FF191D-191F192C-192F193C-193F1941-1943196E196F1975-197F19AC-19AF19CA-19CF19DB-19DD1A1C1A1D1A5F1A7D1A7E1A8A-1A8F1A9A-1A9F1AAE-1AFF1B4C-1B4F1B7D-1B7F1BAB-1BAD1BBA-1BFF1C38-1C3A1C4A-1C4C1C80-1CCF1CF3-1CFF1DE7-1DFC1F161F171F1E1F1F1F461F471F4E1F4F1F581F5A1F5C1F5E1F7E1F7F1FB51FC51FD41FD51FDC1FF01FF11FF51FFF2065-206920722073208F2095-209F20B9-20CF20F1-20FF218A-218F23E9-23FF2427-243F244B-245F26CE26E226E4-26E727002705270A270B2728274C274E2753-2755275F27602795-279727B027BF27CB27CD-27CF2B4D-2B4F2B5A-2BFF2C2F2C5F2CF2-2CF82D26-2D2F2D66-2D6E2D70-2D7F2D97-2D9F2DA72DAF2DB72DBF2DC72DCF2DD72DDF2E32-2E7F2E9A2EF4-2EFF2FD6-2FEF2FFC-2FFF3040309730983100-3104312E-3130318F31B8-31BF31E4-31EF321F32FF4DB6-4DBF9FCC-9FFFA48D-A48FA4C7-A4CFA62C-A63FA660A661A674-A67BA698-A69FA6F8-A6FFA78D-A7FAA82C-A82FA83A-A83FA878-A87FA8C5-A8CDA8DA-A8DFA8FC-A8FFA954-A95EA97D-A97FA9CEA9DA-A9DDA9E0-A9FFAA37-AA3FAA4EAA4FAA5AAA5BAA7C-AA7FAAC3-AADAAAE0-ABBFABEEABEFABFA-ABFFD7A4-D7AFD7C7-D7CAD7FC-D7FFFA2EFA2FFA6EFA6FFADA-FAFFFB07-FB12FB18-FB1CFB37FB3DFB3FFB42FB45FBB2-FBD2FD40-FD4FFD90FD91FDC8-FDEFFDFEFDFFFE1A-FE1FFE27-FE2FFE53FE67FE6C-FE6FFE75FEFDFEFEFF00FFBF-FFC1FFC8FFC9FFD0FFD1FFD8FFD9FFDD-FFDFFFE7FFEF-FFF8FFFEFFFF"})})),ace.define("ace/mode/text",["require","exports","module","ace/tokenizer","ace/mode/text_highlight_rules","ace/mode/behaviour/cstyle","ace/unicode","ace/lib/lang","ace/token_iterator","ace/range"],(function(e,t,n){"use strict";var i=e("../tokenizer").Tokenizer,o=e("./text_highlight_rules").TextHighlightRules,a=e("./behaviour/cstyle").CstyleBehaviour,s=e("../unicode"),l=e("../lib/lang"),c=e("../token_iterator").TokenIterator,u=e("../range").Range,h=function(){this.HighlightRules=o};(function(){this.$defaultBehaviour=new a,this.tokenRe=new RegExp("^["+s.packages.L+s.packages.Mn+s.packages.Mc+s.packages.Nd+s.packages.Pc+"\\$_]+","g"),this.nonTokenRe=new RegExp("^(?:[^"+s.packages.L+s.packages.Mn+s.packages.Mc+s.packages.Nd+s.packages.Pc+"\\$_]|\\s])+","g"),this.getTokenizer=function(){return this.$tokenizer||(this.$highlightRules=this.$highlightRules||new this.HighlightRules(this.$highlightRuleConfig),this.$tokenizer=new i(this.$highlightRules.getRules())),this.$tokenizer},this.lineCommentStart="",this.blockComment="",this.toggleCommentLines=function(e,t,n,r){var i=t.doc,o=!0,a=!0,s=1/0,c=t.getTabSize(),u=!1;if(this.lineCommentStart){Array.isArray(this.lineCommentStart)?(m=this.lineCommentStart.map(l.escapeRegExp).join("|"),d=this.lineCommentStart[0]):(m=l.escapeRegExp(this.lineCommentStart),d=this.lineCommentStart),m=new RegExp("^(\\s*)(?:"+m+") ?"),u=t.getUseSoftTabs(),v=function(e,t){var n=e.match(m);if(n){var r=n[1].length,o=n[0].length;p(e,r,o)||" "!=n[0][o-1]||o--,i.removeInLine(t,r,o)}};var h=d+" ",p=(y=function(e,t){o&&!/\S/.test(e)||(p(e,s,s)?i.insertInLine({row:t,column:s},h):i.insertInLine({row:t,column:s},d))},_=function(e,t){return m.test(e)},function(e,t,n){for(var r=0;t--&&" "==e.charAt(t);)r++;if(r%c!=0)return!1;for(r=0;" "==e.charAt(n++);)r++;return c>2?r%c!=c-1:r%c==0})}else{if(!this.blockComment)return!1;var d=this.blockComment.start,f=this.blockComment.end,m=new RegExp("^(\\s*)(?:"+l.escapeRegExp(d)+")"),g=new RegExp("(?:"+l.escapeRegExp(f)+")\\s*$"),y=function(e,t){_(e,t)||o&&!/\S/.test(e)||(i.insertInLine({row:t,column:e.length},f),i.insertInLine({row:t,column:s},d))},v=function(e,t){var n;(n=e.match(g))&&i.removeInLine(t,e.length-n[0].length,e.length),(n=e.match(m))&&i.removeInLine(t,n[1].length,n[0].length)},_=function(e,n){if(m.test(e))return!0;for(var r=t.getTokens(n),i=0;ie.length&&(E=e.length)})),s==1/0&&(s=E,o=!1,a=!1),u&&s%c!=0&&(s=Math.floor(s/c)*c),b(a?v:y)},this.toggleBlockComment=function(e,t,n,r){var i=this.blockComment;if(i){!i.start&&i[0]&&(i=i[0]);var o,a,s=(m=new c(t,r.row,r.column)).getCurrentToken(),l=(t.selection,t.selection.toOrientedRange());if(s&&/comment/.test(s.type)){for(var h,p;s&&/comment/.test(s.type);){if(-1!=(g=s.value.indexOf(i.start))){var d=m.getCurrentTokenRow(),f=m.getCurrentTokenColumn()+g;h=new u(d,f,d,f+i.start.length);break}s=m.stepBackward()}var m;for(s=(m=new c(t,r.row,r.column)).getCurrentToken();s&&/comment/.test(s.type);){var g;if(-1!=(g=s.value.indexOf(i.end))){d=m.getCurrentTokenRow(),f=m.getCurrentTokenColumn()+g,p=new u(d,f,d,f+i.end.length);break}s=m.stepForward()}p&&t.remove(p),h&&(t.remove(h),o=h.start.row,a=-i.start.length)}else a=i.start.length,o=n.start.row,t.insert(n.end,i.end),t.insert(n.start,i.start);l.start.row==o&&(l.start.column+=a),l.end.row==o&&(l.end.column+=a),t.selection.fromOrientedRange(l)}},this.getNextLineIndent=function(e,t,n){return this.$getIndent(t)},this.checkOutdent=function(e,t,n){return!1},this.autoOutdent=function(e,t,n){},this.$getIndent=function(e){return e.match(/^\s*/)[0]},this.createWorker=function(e){return null},this.createModeDelegates=function(e){for(var t in this.$embeds=[],this.$modes={},e)e[t]&&(this.$embeds.push(t),this.$modes[t]=new e[t]);var n=["toggleBlockComment","toggleCommentLines","getNextLineIndent","checkOutdent","autoOutdent","transformAction","getCompletions"];for(t=0;tthis.row)){var n=function(t,n,r){var i="insert"==t.action,o=(i?1:-1)*(t.end.row-t.start.row),a=(i?1:-1)*(t.end.column-t.start.column),s=t.start,l=i?s:t.end;return e(n,s,r)?{row:n.row,column:n.column}:e(l,n,!r)?{row:n.row+o,column:n.column+(n.row==l.row?a:0)}:{row:s.row,column:s.column}}(t,{row:this.row,column:this.column},this.$insertRight);this.setPosition(n.row,n.column,!0)}},this.setPosition=function(e,t,n){var r;if(r=n?{row:e,column:t}:this.$clipPositionToDocument(e,t),this.row!=r.row||this.column!=r.column){var i={row:this.row,column:this.column};this.row=r.row,this.column=r.column,this._signal("change",{old:i,value:r})}},this.detach=function(){this.document.removeEventListener("change",this.$onChange)},this.attach=function(e){this.document=e||this.document,this.document.on("change",this.$onChange)},this.$clipPositionToDocument=function(e,t){var n={};return e>=this.document.getLength()?(n.row=Math.max(0,this.document.getLength()-1),n.column=this.document.getLine(n.row).length):e<0?(n.row=0,n.column=0):(n.row=e,n.column=Math.min(this.document.getLine(n.row).length,Math.max(0,t))),t<0&&(n.column=0),n}}).call(o.prototype)})),ace.define("ace/document",["require","exports","module","ace/lib/oop","ace/apply_delta","ace/lib/event_emitter","ace/range","ace/anchor"],(function(e,t,n){"use strict";var r=e("./lib/oop"),i=e("./apply_delta").applyDelta,o=e("./lib/event_emitter").EventEmitter,a=e("./range").Range,s=e("./anchor").Anchor,l=function(e){this.$lines=[""],0===e.length?this.$lines=[""]:Array.isArray(e)?this.insertMergedLines({row:0,column:0},e):this.insert({row:0,column:0},e)};(function(){r.implement(this,o),this.setValue=function(e){var t=this.getLength()-1;this.remove(new a(0,0,t,this.getLine(t).length)),this.insert({row:0,column:0},e)},this.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},this.createAnchor=function(e,t){return new s(this,e,t)},0==="aaa".split(/a/).length?this.$split=function(e){return e.replace(/\r\n|\r/g,"\n").split("\n")}:this.$split=function(e){return e.split(/\r\n|\r|\n/)},this.$detectNewLine=function(e){var t=e.match(/^.*?(\r\n|\r|\n)/m);this.$autoNewLine=t?t[1]:"\n",this._signal("changeNewLineMode")},this.getNewLineCharacter=function(){switch(this.$newLineMode){case"windows":return"\r\n";case"unix":return"\n";default:return this.$autoNewLine||"\n"}},this.$autoNewLine="",this.$newLineMode="auto",this.setNewLineMode=function(e){this.$newLineMode!==e&&(this.$newLineMode=e,this._signal("changeNewLineMode"))},this.getNewLineMode=function(){return this.$newLineMode},this.isNewLine=function(e){return"\r\n"==e||"\r"==e||"\n"==e},this.getLine=function(e){return this.$lines[e]||""},this.getLines=function(e,t){return this.$lines.slice(e,t+1)},this.getAllLines=function(){return this.getLines(0,this.getLength())},this.getLength=function(){return this.$lines.length},this.getTextRange=function(e){return this.getLinesForRange(e).join(this.getNewLineCharacter())},this.getLinesForRange=function(e){var t;if(e.start.row===e.end.row)t=[this.getLine(e.start.row).substring(e.start.column,e.end.column)];else{(t=this.getLines(e.start.row,e.end.row))[0]=(t[0]||"").substring(e.start.column);var n=t.length-1;e.end.row-e.start.row==n&&(t[n]=t[n].substring(0,e.end.column))}return t},this.insertLines=function(e,t){return console.warn("Use of document.insertLines is deprecated. Use the insertFullLines method instead."),this.insertFullLines(e,t)},this.removeLines=function(e,t){return console.warn("Use of document.removeLines is deprecated. Use the removeFullLines method instead."),this.removeFullLines(e,t)},this.insertNewLine=function(e){return console.warn("Use of document.insertNewLine is deprecated. Use insertMergedLines(position, ['', '']) instead."),this.insertMergedLines(e,["",""])},this.insert=function(e,t){return this.getLength()<=1&&this.$detectNewLine(t),this.insertMergedLines(e,this.$split(t))},this.insertInLine=function(e,t){var n=this.clippedPos(e.row,e.column),r=this.pos(e.row,e.column+t.length);return this.applyDelta({start:n,end:r,action:"insert",lines:[t]},!0),this.clonePos(r)},this.clippedPos=function(e,t){var n=this.getLength();void 0===e?e=n:e<0?e=0:e>=n&&(e=n-1,t=void 0);var r=this.getLine(e);return null==t&&(t=r.length),{row:e,column:t=Math.min(Math.max(t,0),r.length)}},this.clonePos=function(e){return{row:e.row,column:e.column}},this.pos=function(e,t){return{row:e,column:t}},this.$clipPosition=function(e){var t=this.getLength();return e.row>=t?(e.row=Math.max(0,t-1),e.column=this.getLine(t-1).length):(e.row=Math.max(0,e.row),e.column=Math.min(Math.max(e.column,0),this.getLine(e.row).length)),e},this.insertFullLines=function(e,t){var n=0;(e=Math.min(Math.max(e,0),this.getLength()))0,r=t=0&&this.applyDelta({start:this.pos(e,this.getLine(e).length),end:this.pos(e+1,0),action:"remove",lines:["",""]})},this.replace=function(e,t){return e instanceof a||(e=a.fromPoints(e.start,e.end)),0===t.length&&e.isEmpty()?e.start:t==this.getTextRange(e)?e.end:(this.remove(e),t?this.insert(e.start,t):e.start)},this.applyDeltas=function(e){for(var t=0;t=0;t--)this.revertDelta(e[t])},this.applyDelta=function(e,t){var n="insert"==e.action;(n?e.lines.length<=1&&!e.lines[0]:!a.comparePoints(e.start,e.end))||(n&&e.lines.length>2e4&&this.$splitAndapplyLargeDelta(e,2e4),i(this.$lines,e,t),this._signal("change",e))},this.$splitAndapplyLargeDelta=function(e,t){for(var n=e.lines,r=n.length,i=e.start.row,o=e.start.column,a=0,s=0;;){a=s,s+=t-1;var l=n.slice(a,s);if(s>r){e.lines=l,e.start.row=i+a,e.start.column=o;break}l.push(""),this.applyDelta({start:this.pos(i+a,o),end:this.pos(i+s,o=0),action:e.action,lines:l},!0)}},this.revertDelta=function(e){this.applyDelta({start:this.clonePos(e.start),end:this.clonePos(e.end),action:"insert"==e.action?"remove":"insert",lines:e.lines.slice()})},this.indexToPosition=function(e,t){for(var n=this.$lines||this.getAllLines(),r=this.getNewLineCharacter().length,i=t||0,o=n.length;i20){n.running=setTimeout(n.$worker,20);break}}n.currentLine=t,-1==r&&(r=t),o<=r&&n.fireUpdateEvent(o,r)}}};(function(){r.implement(this,i),this.setTokenizer=function(e){this.tokenizer=e,this.lines=[],this.states=[],this.start(0)},this.setDocument=function(e){this.doc=e,this.lines=[],this.states=[],this.stop()},this.fireUpdateEvent=function(e,t){var n={first:e,last:t};this._signal("update",{data:n})},this.start=function(e){this.currentLine=Math.min(e||0,this.currentLine,this.doc.getLength()),this.lines.splice(this.currentLine,this.lines.length),this.states.splice(this.currentLine,this.states.length),this.stop(),this.running=setTimeout(this.$worker,700)},this.scheduleStart=function(){this.running||(this.running=setTimeout(this.$worker,700))},this.$updateOnChange=function(e){var t=e.start.row,n=e.end.row-t;if(0===n)this.lines[t]=null;else if("remove"==e.action)this.lines.splice(t,n+1,null),this.states.splice(t,n+1,null);else{var r=Array(n+1);r.unshift(t,1),this.lines.splice.apply(this.lines,r),this.states.splice.apply(this.states,r)}this.currentLine=Math.min(t,this.currentLine,this.doc.getLength()),this.stop()},this.stop=function(){this.running&&clearTimeout(this.running),this.running=!1},this.getTokens=function(e){return this.lines[e]||this.$tokenizeRow(e)},this.getState=function(e){return this.currentLine==e&&this.$tokenizeRow(e),this.states[e]||"start"},this.$tokenizeRow=function(e){var t=this.doc.getLine(e),n=this.states[e-1],r=this.tokenizer.getLineTokens(t,n,e);return this.states[e]+""!=r.state+""?(this.states[e]=r.state,this.lines[e+1]=null,this.currentLine>e+1&&(this.currentLine=e+1)):this.currentLine==e&&(this.currentLine=e+1),this.lines[e]=r.tokens}}).call(o.prototype),t.BackgroundTokenizer=o})),ace.define("ace/search_highlight",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],(function(e,t,n){"use strict";var r=e("./lib/lang"),i=(e("./lib/oop"),e("./range").Range),o=function(e,t,n){this.setRegexp(e),this.clazz=t,this.type=n||"text"};(function(){this.MAX_RANGES=500,this.setRegexp=function(e){this.regExp+""!=e+""&&(this.regExp=e,this.cache=[])},this.update=function(e,t,n,o){if(this.regExp)for(var a=o.firstRow,s=o.lastRow,l=a;l<=s;l++){var c=this.cache[l];null==c&&((c=r.getMatchOffsets(n.getLine(l),this.regExp)).length>this.MAX_RANGES&&(c=c.slice(0,this.MAX_RANGES)),c=c.map((function(e){return new i(l,e.offset,l,e.offset+e.length)})),this.cache[l]=c.length?c:"");for(var u=c.length;u--;)t.drawSingleLineMarker(e,c[u].toScreenRange(n),this.clazz,o)}}}).call(o.prototype),t.SearchHighlight=o})),ace.define("ace/edit_session/fold_line",["require","exports","module","ace/range"],(function(e,t,n){"use strict";var r=e("../range").Range;function i(e,t){this.foldData=e,Array.isArray(t)?this.folds=t:t=this.folds=[t];var n=t[t.length-1];this.range=new r(t[0].start.row,t[0].start.column,n.end.row,n.end.column),this.start=this.range.start,this.end=this.range.end,this.folds.forEach((function(e){e.setFoldLine(this)}),this)}(function(){this.shiftRow=function(e){this.start.row+=e,this.end.row+=e,this.folds.forEach((function(t){t.start.row+=e,t.end.row+=e}))},this.addFold=function(e){if(e.sameRow){if(e.start.rowthis.endRow)throw new Error("Can't add a fold to this FoldLine as it has no connection");this.folds.push(e),this.folds.sort((function(e,t){return-e.range.compareEnd(t.start.row,t.start.column)})),this.range.compareEnd(e.start.row,e.start.column)>0?(this.end.row=e.end.row,this.end.column=e.end.column):this.range.compareStart(e.end.row,e.end.column)<0&&(this.start.row=e.start.row,this.start.column=e.start.column)}else if(e.start.row==this.end.row)this.folds.push(e),this.end.row=e.end.row,this.end.column=e.end.column;else{if(e.end.row!=this.start.row)throw new Error("Trying to add fold to FoldRow that doesn't have a matching row");this.folds.unshift(e),this.start.row=e.start.row,this.start.column=e.start.column}e.foldLine=this},this.containsRow=function(e){return e>=this.start.row&&e<=this.end.row},this.walk=function(e,t,n){var r,i,o=0,a=this.folds,s=!0;null==t&&(t=this.end.row,n=this.end.column);for(var l=0;l0)){var l=r(e,a.start);return 0===s?t&&0!==l?-o-2:o:l>0||0===l&&!t?o:-o-1}}return-o-1},this.add=function(e){var t=!e.isEmpty(),n=this.pointIndex(e.start,t);n<0&&(n=-n-1);var r=this.pointIndex(e.end,t,n);return r<0?r=-r-1:r++,this.ranges.splice(n,r-n,e)},this.addList=function(e){for(var t=[],n=e.length;n--;)t.push.apply(t,this.add(e[n]));return t},this.substractPoint=function(e){var t=this.pointIndex(e);if(t>=0)return this.ranges.splice(t,1)},this.merge=function(){for(var e,t=[],n=this.ranges,i=(n=n.sort((function(e,t){return r(e.start,t.start)})))[0],o=1;o=0},this.containsPoint=function(e){return this.pointIndex(e)>=0},this.rangeAtPoint=function(e){var t=this.pointIndex(e);if(t>=0)return this.ranges[t]},this.clipRows=function(e,t){var n=this.ranges;if(n[0].start.row>t||n[n.length-1].start.rowr)break;if(c.start.row==r&&c.start.column>=t.column&&(c.start.column==t.column&&this.$insertRight||(c.start.column+=o,c.start.row+=i)),c.end.row==r&&c.end.column>=t.column){if(c.end.column==t.column&&this.$insertRight)continue;c.end.column==t.column&&o>0&&sc.start.column&&c.end.column==a[s+1].start.column&&(c.end.column-=o),c.end.column+=o,c.end.row+=i}}if(0!=i&&s=e)return i;if(i.end.row>e)return null}return null},this.getNextFoldLine=function(e,t){var n=this.$foldData,r=0;for(t&&(r=n.indexOf(t)),-1==r&&(r=0);r=e)return i}return null},this.getFoldedRowCount=function(e,t){for(var n=this.$foldData,r=t-e+1,i=0;i=t){s=e?r-=t-s:r=0);break}a>=e&&(r-=s>=e?a-s:a-e+1)}return r},this.$addFoldLine=function(e){return this.$foldData.push(e),this.$foldData.sort((function(e,t){return e.start.row-t.start.row})),e},this.addFold=function(e,t){var n,r=this.$foldData,a=!1;e instanceof o?n=e:(n=new o(t,e)).collapseChildren=t.collapseChildren,this.$clipRangeToDocument(n.range);var s=n.start.row,l=n.start.column,c=n.end.row,u=n.end.column;if(!(s0&&(this.removeFolds(d),d.forEach((function(e){n.addSubFold(e)})));for(var f=0;f0&&this.foldAll(e.start.row+1,e.end.row,e.collapseChildren-1),e.subFolds=[]},this.expandFolds=function(e){e.forEach((function(e){this.expandFold(e)}),this)},this.unfold=function(e,t){var n,i;if(null==e?(n=new r(0,0,this.getLength(),0),t=!0):n="number"==typeof e?new r(e,0,e,this.getLine(e).length):"row"in e?r.fromPoints(e,e):e,i=this.getFoldsInRangeList(n),t)this.removeFolds(i);else for(var o=i;o.length;)this.expandFolds(o),o=this.getFoldsInRangeList(n);if(i.length)return i},this.isRowFolded=function(e,t){return!!this.getFoldLine(e,t)},this.getRowFoldEnd=function(e,t){var n=this.getFoldLine(e,t);return n?n.end.row:e},this.getRowFoldStart=function(e,t){var n=this.getFoldLine(e,t);return n?n.start.row:e},this.getFoldDisplayLine=function(e,t,n,r,i){null==r&&(r=e.start.row),null==i&&(i=0),null==t&&(t=e.end.row),null==n&&(n=this.getLine(t).length);var o=this.doc,a="";return e.walk((function(e,t,n,s){if(!(tu)break}while(o&&l.test(o.type));o=i.stepBackward()}else o=i.getCurrentToken();return c.end.row=i.getCurrentTokenRow(),c.end.column=i.getCurrentTokenColumn()+o.value.length-2,c}},this.foldAll=function(e,t,n){null==n&&(n=1e5);var r=this.foldWidgets;if(r){t=t||this.getLength();for(var i=e=e||0;i=e){i=o.end.row;try{var a=this.addFold("...",o);a&&(a.collapseChildren=n)}catch(e){}}}}},this.$foldStyles={manual:1,markbegin:1,markbeginend:1},this.$foldStyle="markbegin",this.setFoldStyle=function(e){if(!this.$foldStyles[e])throw new Error("invalid fold style: "+e+"["+Object.keys(this.$foldStyles).join(", ")+"]");if(this.$foldStyle!=e){this.$foldStyle=e,"manual"==e&&this.unfold();var t=this.$foldMode;this.$setFolding(null),this.$setFolding(t)}},this.$setFolding=function(e){this.$foldMode!=e&&(this.$foldMode=e,this.off("change",this.$updateFoldWidgets),this.off("tokenizerUpdate",this.$tokenizerUpdateFoldWidgets),this._signal("changeAnnotation"),e&&"manual"!=this.$foldStyle?(this.foldWidgets=[],this.getFoldWidget=e.getFoldWidget.bind(e,this,this.$foldStyle),this.getFoldWidgetRange=e.getFoldWidgetRange.bind(e,this,this.$foldStyle),this.$updateFoldWidgets=this.updateFoldWidgets.bind(this),this.$tokenizerUpdateFoldWidgets=this.tokenizerUpdateFoldWidgets.bind(this),this.on("change",this.$updateFoldWidgets),this.on("tokenizerUpdate",this.$tokenizerUpdateFoldWidgets)):this.foldWidgets=null)},this.getParentFoldRangeData=function(e,t){var n=this.foldWidgets;if(!n||t&&n[e])return{};for(var r,i=e-1;i>=0;){var o=n[i];if(null==o&&(o=n[i]=this.getFoldWidget(i)),"start"==o){var a=this.getFoldWidgetRange(i);if(r||(r=a),a&&a.end.row>=e)break}i--}return{range:-1!==i&&a,firstRange:r}},this.onFoldWidgetClick=function(e,t){var n={children:(t=t.domEvent).shiftKey,all:t.ctrlKey||t.metaKey,siblings:t.altKey};if(!this.$toggleFoldWidget(e,n)){var r=t.target||t.srcElement;r&&/ace_fold-widget/.test(r.className)&&(r.className+=" ace_invalid")}},this.$toggleFoldWidget=function(e,t){if(this.getFoldWidget){var n=this.getFoldWidget(e),r=this.getLine(e),i="end"===n?-1:1,o=this.getFoldAt(e,-1===i?0:r.length,i);if(o)return t.children||t.all?this.removeFold(o):this.expandFold(o),o;var a=this.getFoldWidgetRange(e,!0);if(a&&!a.isMultiLine()&&(o=this.getFoldAt(a.start.row,a.start.column,1))&&a.isEqual(o.range))return this.removeFold(o),o;if(t.siblings){var s=this.getParentFoldRangeData(e);if(s.range)var l=s.range.start.row+1,c=s.range.end.row;this.foldAll(l,c,t.all?1e4:0)}else t.children?(c=a?a.end.row:this.getLength(),this.foldAll(e+1,c,t.all?1e4:0)):a&&(t.all&&(a.collapseChildren=1e4),this.addFold("...",a));return a}},this.toggleFoldWidget=function(e){var t=this.selection.getCursor().row;t=this.getRowFoldStart(t);var n=this.$toggleFoldWidget(t,{});if(!n){var r=this.getParentFoldRangeData(t,!0);if(n=r.range||r.firstRange){t=n.start.row;var i=this.getFoldAt(t,this.getLine(t).length,1);i?this.removeFold(i):this.addFold("...",n)}}},this.updateFoldWidgets=function(e){var t=e.start.row,n=e.end.row-t;if(0===n)this.foldWidgets[t]=null;else if("remove"==e.action)this.foldWidgets.splice(t,n+1,null);else{var r=Array(n+1);r.unshift(t,1),this.foldWidgets.splice.apply(this.foldWidgets,r)}},this.tokenizerUpdateFoldWidgets=function(e){var t=e.data;t.first!=t.last&&this.foldWidgets.length>t.first&&this.foldWidgets.splice(t.first,this.foldWidgets.length)}}})),ace.define("ace/edit_session/bracket_match",["require","exports","module","ace/token_iterator","ace/range"],(function(e,t,n){"use strict";var r=e("../token_iterator").TokenIterator,i=e("../range").Range;t.BracketMatch=function(){this.findMatchingBracket=function(e,t){if(0==e.column)return null;var n=t||this.getLine(e.row).charAt(e.column-1);if(""==n)return null;var r=n.match(/([\(\[\{])|([\)\]\}])/);return r?r[1]?this.$findClosingBracket(r[1],e):this.$findOpeningBracket(r[2],e):null},this.getBracketRange=function(e){var t,n=this.getLine(e.row),r=!0,o=n.charAt(e.column-1),a=o&&o.match(/([\(\[\{])|([\)\]\}])/);if(a||(o=n.charAt(e.column),e={row:e.row,column:e.column+1},a=o&&o.match(/([\(\[\{])|([\)\]\}])/),r=!1),!a)return null;if(a[1]){if(!(s=this.$findClosingBracket(a[1],e)))return null;t=i.fromPoints(e,s),r||(t.end.column++,t.start.column--),t.cursor=t.end}else{var s;if(!(s=this.$findOpeningBracket(a[2],e)))return null;t=i.fromPoints(s,e),r||(t.start.column++,t.end.column--),t.cursor=t.start}return t},this.$brackets={")":"(","(":")","]":"[","[":"]","{":"}","}":"{"},this.$findOpeningBracket=function(e,t,n){var i=this.$brackets[e],o=1,a=new r(this,t.row,t.column),s=a.getCurrentToken();if(s||(s=a.stepForward()),s){n||(n=new RegExp("(\\.?"+s.type.replace(".","\\.").replace("rparen",".paren").replace(/\b(?:end)\b/,"(?:start|begin|end)")+")+"));for(var l=t.column-a.getCurrentTokenColumn()-2,c=s.value;;){for(;l>=0;){var u=c.charAt(l);if(u==i){if(0==(o-=1))return{row:a.getCurrentTokenRow(),column:l+a.getCurrentTokenColumn()}}else u==e&&(o+=1);l-=1}do{s=a.stepBackward()}while(s&&!n.test(s.type));if(null==s)break;l=(c=s.value).length-1}return null}},this.$findClosingBracket=function(e,t,n){var i=this.$brackets[e],o=1,a=new r(this,t.row,t.column),s=a.getCurrentToken();if(s||(s=a.stepForward()),s){n||(n=new RegExp("(\\.?"+s.type.replace(".","\\.").replace("lparen",".paren").replace(/\b(?:start|begin)\b/,"(?:start|begin|end)")+")+"));for(var l=t.column-a.getCurrentTokenColumn();;){for(var c=s.value,u=c.length;ln&&(this.$docRowCache.splice(n,t),this.$screenRowCache.splice(n,t))},this.$getRowCacheIndex=function(e,t){for(var n=0,r=e.length-1;n<=r;){var i=n+r>>1,o=e[i];if(t>o)n=i+1;else{if(!(t=t);o++);return(n=r[o])?(n.index=o,n.start=i-n.value.length,n):null},this.setUndoManager=function(e){if(this.$undoManager=e,this.$deltas=[],this.$deltasDoc=[],this.$deltasFold=[],this.$informUndoManager&&this.$informUndoManager.cancel(),e){var t=this;this.$syncInformUndoManager=function(){t.$informUndoManager.cancel(),t.$deltasFold.length&&(t.$deltas.push({group:"fold",deltas:t.$deltasFold}),t.$deltasFold=[]),t.$deltasDoc.length&&(t.$deltas.push({group:"doc",deltas:t.$deltasDoc}),t.$deltasDoc=[]),t.$deltas.length>0&&e.execute({action:"aceupdate",args:[t.$deltas,t],merge:t.mergeUndoDeltas}),t.mergeUndoDeltas=!1,t.$deltas=[]},this.$informUndoManager=o.delayedCall(this.$syncInformUndoManager)}},this.markUndoGroup=function(){this.$syncInformUndoManager&&this.$syncInformUndoManager()},this.$defaultUndoManager={undo:function(){},redo:function(){},reset:function(){}},this.getUndoManager=function(){return this.$undoManager||this.$defaultUndoManager},this.getTabString=function(){return this.getUseSoftTabs()?o.stringRepeat(" ",this.getTabSize()):"\t"},this.setUseSoftTabs=function(e){this.setOption("useSoftTabs",e)},this.getUseSoftTabs=function(){return this.$useSoftTabs&&!this.$mode.$indentWithTabs},this.setTabSize=function(e){this.setOption("tabSize",e)},this.getTabSize=function(){return this.$tabSize},this.isTabStop=function(e){return this.$useSoftTabs&&e.column%this.$tabSize==0},this.$overwrite=!1,this.setOverwrite=function(e){this.setOption("overwrite",e)},this.getOverwrite=function(){return this.$overwrite},this.toggleOverwrite=function(){this.setOverwrite(!this.$overwrite)},this.addGutterDecoration=function(e,t){this.$decorations[e]||(this.$decorations[e]=""),this.$decorations[e]+=" "+t,this._signal("changeBreakpoint",{})},this.removeGutterDecoration=function(e,t){this.$decorations[e]=(this.$decorations[e]||"").replace(" "+t,""),this._signal("changeBreakpoint",{})},this.getBreakpoints=function(){return this.$breakpoints},this.setBreakpoints=function(e){this.$breakpoints=[];for(var t=0;t0&&(r=!!n.charAt(t-1).match(this.tokenRe)),r||(r=!!n.charAt(t).match(this.tokenRe)),r)var i=this.tokenRe;else i=/^\s+$/.test(n.slice(t-1,t+1))?/\s/:this.nonTokenRe;var o=t;if(o>0){do{o--}while(o>=0&&n.charAt(o).match(i));o++}for(var a=t;ae&&(e=t.screenWidth)})),this.lineWidgetWidth=e},this.$computeWidth=function(e){if(this.$modified||e){if(this.$modified=!1,this.$useWrapMode)return this.screenWidth=this.$wrapLimit;for(var t=this.doc.getAllLines(),n=this.$rowLengthCache,r=0,i=0,o=this.$foldData[i],a=o?o.start.row:1/0,s=t.length,l=0;la){if((l=o.end.row+1)>=s)break;a=(o=this.$foldData[i++])?o.start.row:1/0}null==n[l]&&(n[l]=this.$getStringScreenWidth(t[l])[0]),n[l]>r&&(r=n[l])}this.screenWidth=r}},this.getLine=function(e){return this.doc.getLine(e)},this.getLines=function(e,t){return this.doc.getLines(e,t)},this.getLength=function(){return this.doc.getLength()},this.getTextRange=function(e){return this.doc.getTextRange(e||this.selection.getRange())},this.insert=function(e,t){return this.doc.insert(e,t)},this.remove=function(e){return this.doc.remove(e)},this.removeFullLines=function(e,t){return this.doc.removeFullLines(e,t)},this.undoChanges=function(e,t){if(e.length){this.$fromUndo=!0;for(var n=null,r=e.length-1;-1!=r;r--){var i=e[r];"doc"==i.group?(this.doc.revertDeltas(i.deltas),n=this.$getUndoSelection(i.deltas,!0,n)):i.deltas.forEach((function(e){this.addFolds(e.folds)}),this)}return this.$fromUndo=!1,n&&this.$undoSelect&&!t&&this.selection.setSelectionRange(n),n}},this.redoChanges=function(e,t){if(e.length){this.$fromUndo=!0;for(var n=null,r=0;re.end.column&&(o.start.column+=c),o.end.row==e.end.row&&o.end.column>e.end.column&&(o.end.column+=c)),a&&o.start.row>=e.end.row&&(o.start.row+=a,o.end.row+=a)}if(o.end=this.insert(o.start,r),i.length){var s=e.start,l=o.start,c=(a=l.row-s.row,l.column-s.column);this.addFolds(i.map((function(e){return(e=e.clone()).start.row==s.row&&(e.start.column+=c),e.end.row==s.row&&(e.end.column+=c),e.start.row+=a,e.end.row+=a,e})))}return o},this.indentRows=function(e,t,n){n=n.replace(/\t/g,this.getTabString());for(var r=e;r<=t;r++)this.doc.insertInLine({row:r,column:0},n)},this.outdentRows=function(e){for(var t=e.collapseRows(),n=new u(0,0,0,0),r=this.getTabSize(),i=t.start.row;i<=t.end.row;++i){var o=this.getLine(i);n.start.row=i,n.end.row=i;for(var a=0;a0){var i;if((i=this.getRowFoldEnd(t+n))>this.doc.getLength()-1)return 0;r=i-t}else e=this.$clipRowToDocument(e),r=(t=this.$clipRowToDocument(t))-e+1;var o=new u(e,0,t,Number.MAX_VALUE),a=this.getFoldsInRange(o).map((function(e){return(e=e.clone()).start.row+=r,e.end.row+=r,e})),s=0==n?this.doc.getLines(e,t):this.doc.removeFullLines(e,t);return this.doc.insertFullLines(e+r,s),a.length&&this.addFolds(a),r},this.moveLinesUp=function(e,t){return this.$moveLines(e,t,-1)},this.moveLinesDown=function(e,t){return this.$moveLines(e,t,1)},this.duplicateLines=function(e,t){return this.$moveLines(e,t,0)},this.$clipRowToDocument=function(e){return Math.max(0,Math.min(e,this.doc.getLength()-1))},this.$clipColumnToRow=function(e,t){return t<0?0:Math.min(this.doc.getLine(e).length,t)},this.$clipPositionToDocument=function(e,t){if(t=Math.max(0,t),e<0)e=0,t=0;else{var n=this.doc.getLength();e>=n?(e=n-1,t=this.doc.getLine(n-1).length):t=Math.min(this.doc.getLine(e).length,t)}return{row:e,column:t}},this.$clipRangeToDocument=function(e){e.start.row<0?(e.start.row=0,e.start.column=0):e.start.column=this.$clipColumnToRow(e.start.row,e.start.column);var t=this.doc.getLength()-1;return e.end.row>t?(e.end.row=t,e.end.column=this.doc.getLine(t).length):e.end.column=this.$clipColumnToRow(e.end.row,e.end.column),e},this.$wrapLimit=80,this.$useWrapMode=!1,this.$wrapLimitRange={min:null,max:null},this.setUseWrapMode=function(e){if(e!=this.$useWrapMode){if(this.$useWrapMode=e,this.$modified=!0,this.$resetRowCache(0),e){var t=this.getLength();this.$wrapData=Array(t),this.$updateWrapData(0,t-1)}this._signal("changeWrapMode")}},this.getUseWrapMode=function(){return this.$useWrapMode},this.setWrapLimitRange=function(e,t){this.$wrapLimitRange.min===e&&this.$wrapLimitRange.max===t||(this.$wrapLimitRange={min:e,max:t},this.$modified=!0,this.$useWrapMode&&this._signal("changeWrapMode"))},this.adjustWrapLimit=function(e,t){var n=this.$wrapLimitRange;n.max<0&&(n={min:t,max:t});var r=this.$constrainWrapLimit(e,n.min,n.max);return r!=this.$wrapLimit&&r>1&&(this.$wrapLimit=r,this.$modified=!0,this.$useWrapMode&&(this.$updateWrapData(0,this.getLength()-1),this.$resetRowCache(0),this._signal("changeWrapLimit")),!0)},this.$constrainWrapLimit=function(e,t,n){return t&&(e=Math.max(t,e)),n&&(e=Math.min(n,e)),e},this.getWrapLimit=function(){return this.$wrapLimit},this.setWrapLimit=function(e){this.setWrapLimitRange(e,e)},this.getWrapLimitRange=function(){return{min:this.$wrapLimitRange.min,max:this.$wrapLimitRange.max}},this.$updateInternalDataOnChange=function(e){var t=this.$useWrapMode,n=e.action,r=e.start,i=e.end,o=r.row,a=i.row,s=a-o,l=null;if(this.$updating=!0,0!=s)if("remove"===n){this[t?"$wrapData":"$rowLengthCache"].splice(o,s);var c=this.$foldData;l=this.getFoldsInRange(e),this.removeFolds(l);var u=0;if(m=this.getFoldLine(i.row)){m.addRemoveChars(i.row,i.column,r.column-i.column),m.shiftRow(-s);var h=this.getFoldLine(o);h&&h!==m&&(h.merge(m),m=h),u=c.indexOf(m)+1}for(;u=i.row&&m.shiftRow(-s);a=o}else{var p=Array(s);p.unshift(o,0);var d=t?this.$wrapData:this.$rowLengthCache;if(d.splice.apply(d,p),c=this.$foldData,u=0,m=this.getFoldLine(o)){var f=m.range.compareInside(r.row,r.column);0==f?(m=m.split(r.row,r.column))&&(m.shiftRow(s),m.addRemoveChars(a,0,i.column-r.column)):-1==f&&(m.addRemoveChars(o,0,i.column-r.column),m.shiftRow(s)),u=c.indexOf(m)+1}for(;u=o&&m.shiftRow(s)}}else s=Math.abs(e.start.column-e.end.column),"remove"===n&&(l=this.getFoldsInRange(e),this.removeFolds(l),s=-s),(m=this.getFoldLine(o))&&m.addRemoveChars(o,r.column,s);return t&&this.$wrapData.length!=this.doc.getLength()&&console.error("doc.getLength() and $wrapData.length have to be the same!"),this.$updating=!1,t?this.$updateWrapData(o,a):this.$updateRowLengthCache(o,a),l},this.$updateRowLengthCache=function(e,t,n){this.$rowLengthCache[e]=null,this.$rowLengthCache[t]=null},this.$updateWrapData=function(n,r){var i,o,a=this.doc.getAllLines(),s=this.getTabSize(),l=this.$wrapData,c=this.$wrapLimit,u=n;for(r=Math.min(r,a.length-1);u<=r;)(o=this.getFoldLine(u,o))?(i=[],o.walk(function(n,r,o,s){var l;if(null!=n){(l=this.$getDisplayTokens(n,i.length))[0]=e;for(var c=1;c=4352&&e<=4447||e>=4515&&e<=4519||e>=4602&&e<=4607||e>=9001&&e<=9002||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12283||e>=12288&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12589||e>=12593&&e<=12686||e>=12688&&e<=12730||e>=12736&&e<=12771||e>=12784&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=13054||e>=13056&&e<=19903||e>=19968&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=55216&&e<=55238||e>=55243&&e<=55291||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=65281&&e<=65376||e>=65504&&e<=65510)}this.$computeWrapSplits=function(n,r,i){if(0==n.length)return[];var o=[],a=n.length,s=0,l=0,c=this.$wrapAsCode,u=this.$indentedSoftWrap,h=r<=Math.max(2*i,8)||!1===u?0:Math.floor(r/2);function p(e){var t=n.slice(s,e),r=t.length;t.join("").replace(/12/g,(function(){r-=1})).replace(/2/g,(function(){r-=1})),o.length||(d=function(){var e=0;if(0===h)return e;if(u)for(var t=0;tr-d;){var f=s+r-d;if(n[f-1]>=10&&n[f]>=10)p(f);else if(n[f]!=e&&n[f]!=t){for(var m=Math.max(f-(r-(r>>2)),s-1);f>m&&n[f]m&&n[f]m&&9==n[f];)f--}else for(;f>m&&n[f]<10;)f--;f>m?p(++f):(2==n[f=s+r]&&f--,p(f-d))}else{for(;f!=s-1&&n[f]!=e;f--);if(f>s){p(f);continue}for(f=s+r;f39&&a<48||a>57&&a<64?i.push(9):a>=4352&&n(a)?i.push(1,2):i.push(1)}return i},this.$getStringScreenWidth=function(e,t,r){if(0==t)return[0,0];var i,o;for(null==t&&(t=1/0),r=r||0,o=0;o=4352&&n(i)?r+=2:r+=1,!(r>t));o++);return[r,o]},this.lineWidgets=null,this.getRowLength=function(e){if(this.lineWidgets)var t=this.lineWidgets[e]&&this.lineWidgets[e].rowCount||0;else t=0;return this.$useWrapMode&&this.$wrapData[e]?this.$wrapData[e].length+1+t:1+t},this.getRowLineCount=function(e){return this.$useWrapMode&&this.$wrapData[e]?this.$wrapData[e].length+1:1},this.getRowWrapIndent=function(e){if(this.$useWrapMode){var t=this.screenToDocumentPosition(e,Number.MAX_VALUE),n=this.$wrapData[t.row];return n.length&&n[0]=0){a=l[c],i=this.$docRowCache[c];var h=e>l[u-1]}else h=!u;for(var p=this.getLength()-1,d=this.getNextFoldLine(i),f=d?d.start.row:1/0;a<=e&&!(a+(s=this.getRowLength(i))>e||i>=p);)a+=s,++i>f&&(i=d.end.row+1,f=(d=this.getNextFoldLine(i,d))?d.start.row:1/0),h&&(this.$docRowCache.push(i),this.$screenRowCache.push(a));if(d&&d.start.row<=i)n=this.getFoldDisplayLine(d),i=d.start.row;else{if(a+s<=e||i>p)return{row:p,column:this.getLine(p).length};n=this.getLine(i),d=null}var m=0;if(this.$useWrapMode){var g=this.$wrapData[i];if(g){var y=Math.floor(e-a);r=g[y],y>0&&g.length&&(m=g.indent,o=g[y-1]||g[g.length-1],n=n.substring(o))}}return o+=this.$getStringScreenWidth(n,t-m)[1],this.$useWrapMode&&o>=r&&(o=r-1),d?d.idxToPosition(o):{row:i,column:o}},this.documentToScreenPosition=function(e,t){if(void 0===t)var n=this.$clipPositionToDocument(e.row,e.column);else n=this.$clipPositionToDocument(e,t);e=n.row,t=n.column;var r,i=0,o=null;(r=this.getFoldAt(e,t,1))&&(e=r.start.row,t=r.start.column);var a,s=0,l=this.$docRowCache,c=this.$getRowCacheIndex(l,e),u=l.length;if(u&&c>=0){s=l[c],i=this.$screenRowCache[c];var h=e>l[u-1]}else h=!u;for(var p=this.getNextFoldLine(s),d=p?p.start.row:1/0;s=d){if((a=p.end.row+1)>e)break;d=(p=this.getNextFoldLine(a,p))?p.start.row:1/0}else a=s+1;i+=this.getRowLength(s),s=a,h&&(this.$docRowCache.push(s),this.$screenRowCache.push(i))}var f="";p&&s>=d?(f=this.getFoldDisplayLine(p,e,t),o=p.start.row):(f=this.getLine(e).substring(0,t),o=e);var m=0;if(this.$useWrapMode){var g=this.$wrapData[o];if(g){for(var y=0;f.length>=g[y];)i++,y++;f=f.substring(g[y-1]||0,f.length),m=y>0?g.indent:0}}return{row:i,column:m+this.$getStringScreenWidth(f)[0]}},this.documentToScreenColumn=function(e,t){return this.documentToScreenPosition(e,t).column},this.documentToScreenRow=function(e,t){return this.documentToScreenPosition(e,t).row},this.getScreenLength=function(){var e=0,t=null;if(this.$useWrapMode)for(var n=this.$wrapData.length,r=0,i=(s=0,(t=this.$foldData[s++])?t.start.row:1/0);ri&&(r=t.end.row+1,i=(t=this.$foldData[s++])?t.start.row:1/0)}else{e=this.getLength();for(var a=this.$foldData,s=0;sn);o++);return[r,o]})},this.destroy=function(){this.bgTokenizer&&(this.bgTokenizer.setDocument(null),this.bgTokenizer=null),this.$stopWorker()}}.call(f.prototype),e("./edit_session/folding").Folding.call(f.prototype),e("./edit_session/bracket_match").BracketMatch.call(f.prototype),a.defineOptions(f.prototype,"session",{wrap:{set:function(e){if(e&&"off"!=e?"free"==e?e=!0:"printMargin"==e?e=-1:"string"==typeof e&&(e=parseInt(e,10)||!1):e=!1,this.$wrap!=e)if(this.$wrap=e,e){var t="number"==typeof e?e:null;this.setWrapLimitRange(t,t),this.setUseWrapMode(!0)}else this.setUseWrapMode(!1)},get:function(){return this.getUseWrapMode()?-1==this.$wrap?"printMargin":this.getWrapLimitRange().min?this.$wrap:"free":"off"},handlesSet:!0},wrapMethod:{set:function(e){(e="auto"==e?"text"!=this.$mode.type:"text"!=e)!=this.$wrapAsCode&&(this.$wrapAsCode=e,this.$useWrapMode&&(this.$modified=!0,this.$resetRowCache(0),this.$updateWrapData(0,this.getLength()-1)))},initialValue:"auto"},indentedSoftWrap:{initialValue:!0},firstLineNumber:{set:function(){this._signal("changeBreakpoint")},initialValue:1},useWorker:{set:function(e){this.$useWorker=e,this.$stopWorker(),e&&this.$startWorker()},initialValue:!0},useSoftTabs:{initialValue:!0},tabSize:{set:function(e){isNaN(e)||this.$tabSize===e||(this.$modified=!0,this.$rowLengthCache=[],this.$tabSize=e,this._signal("changeTabSize"))},initialValue:4,handlesSet:!0},overwrite:{set:function(e){this._signal("changeOverwrite")},initialValue:!1},newLineMode:{set:function(e){this.doc.setNewLineMode(e)},get:function(){return this.doc.getNewLineMode()},handlesSet:!0},mode:{set:function(e){this.setMode(e)},get:function(){return this.$modeId}}}),t.EditSession=f})),ace.define("ace/search",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],(function(e,t,n){"use strict";var r=e("./lib/lang"),i=e("./lib/oop"),o=e("./range").Range,a=function(){this.$options={}};(function(){this.set=function(e){return i.mixin(this.$options,e),this},this.getOptions=function(){return r.copyObject(this.$options)},this.setOptions=function(e){this.$options=e},this.find=function(e){var t=this.$options,n=this.$matchIterator(e,t);if(!n)return!1;var r=null;return n.forEach((function(e,n,i){if(e.start)r=e;else{var a=e.offset+(i||0);if(r=new o(n,a,n,a+e.length),!e.length&&t.start&&t.start.start&&0!=t.skipCurrent&&r.isEqual(t.start))return r=null,!1}return!0})),r},this.findAll=function(e){var t=this.$options;if(!t.needle)return[];this.$assembleRegExp(t);var n=t.range,i=n?e.getLines(n.start.row,n.end.row):e.doc.getAllLines(),a=[],s=t.re;if(t.$isMultiLine){var l,c=s.length,u=i.length-c;e:for(var h=s.offset||0;h<=u;h++){for(var p=0;pm||(a.push(l=new o(h,m,h+c-1,g)),c>2&&(h=h+c-2))}}else for(var y=0;yE&&a[p].end.row==n.end.row;)p--;for(a=a.slice(y,p+1),y=0,p=a.length;y=0;s--)if(n(a[s],t,o))return!0}:function(e,t,o){for(var a=r.getMatchOffsets(e,i),s=0;s=a;r--)if(n(e.getLine(r),r))return;if(0!=t.wrap)for(r=s,a=o.row;r>=a;r--)if(n(e.getLine(r),r))return}}:function(n){var r=o.row;if(!n(e.getLine(r).substr(o.column),r,o.column)){for(r+=1;r<=s;r++)if(n(e.getLine(r),r))return;if(0!=t.wrap)for(r=a,s=o.row;r<=s;r++)if(n(e.getLine(r),r))return}}}}}).call(a.prototype),t.Search=a})),ace.define("ace/keyboard/hash_handler",["require","exports","module","ace/lib/keys","ace/lib/useragent"],(function(e,t,n){"use strict";var i=e("../lib/keys"),o=e("../lib/useragent"),a=i.KEY_MODS;function s(e,t){this.platform=t||(o.isMac?"mac":"win"),this.commands={},this.commandKeyBinding={},this.addCommands(e),this.$singleCommand=!0}function l(e,t){s.call(this,e,t),this.$singleCommand=!1}l.prototype=s.prototype,function(){function e(e){return"object"==r(e)&&e.bindKey&&e.bindKey.position||(e.isDefault?-100:0)}this.addCommand=function(e){this.commands[e.name]&&this.removeCommand(e),this.commands[e.name]=e,e.bindKey&&this._buildKeyHash(e)},this.removeCommand=function(e,t){var n=e&&("string"==typeof e?e:e.name);e=this.commands[n],t||delete this.commands[n];var r=this.commandKeyBinding;for(var i in r){var o=r[i];if(o==e)delete r[i];else if(Array.isArray(o)){var a=o.indexOf(e);-1!=a&&(o.splice(a,1),1==o.length&&(r[i]=o[0]))}}},this.bindKey=function(e,t,n){if("object"==r(e)&&e&&(null==n&&(n=e.position),e=e[this.platform]),e)return"function"==typeof t?this.addCommand({exec:t,bindKey:e,name:t.name||e}):void e.split("|").forEach((function(e){var r="";if(-1!=e.indexOf(" ")){var i=e.split(/\s+/);e=i.pop(),i.forEach((function(e){var t=this.parseKeys(e),n=a[t.hashId]+t.key;r+=(r?" ":"")+n,this._addCommandToBinding(r,"chainKeys")}),this),r+=" "}var o=this.parseKeys(e),s=a[o.hashId]+o.key;this._addCommandToBinding(r+s,t,n)}),this)},this._addCommandToBinding=function(t,n,r){var i,o=this.commandKeyBinding;if(n)if(!o[t]||this.$singleCommand)o[t]=n;else{Array.isArray(o[t])?-1!=(i=o[t].indexOf(n))&&o[t].splice(i,1):o[t]=[o[t]],"number"!=typeof r&&(r=e(n));var a=o[t];for(i=0;ir);i++);a.splice(i,0,n)}else delete o[t]},this.addCommands=function(e){e&&Object.keys(e).forEach((function(t){var n=e[t];if(n){if("string"==typeof n)return this.bindKey(n,t);"function"==typeof n&&(n={exec:n}),"object"===r(n)&&(n.name||(n.name=t),this.addCommand(n))}}),this)},this.removeCommands=function(e){Object.keys(e).forEach((function(t){this.removeCommand(e[t])}),this)},this.bindKeys=function(e){Object.keys(e).forEach((function(t){this.bindKey(t,e[t])}),this)},this._buildKeyHash=function(e){this.bindKey(e.bindKey,e)},this.parseKeys=function(e){var t=e.toLowerCase().split(/[\-\+]([\-\+])?/).filter((function(e){return e})),n=t.pop(),r=i[n];if(i.FUNCTION_KEYS[r])n=i.FUNCTION_KEYS[r].toLowerCase();else{if(!t.length)return{key:n,hashId:-1};if(1==t.length&&"shift"==t[0])return{key:n.toUpperCase(),hashId:-1}}for(var o=0,a=t.length;a--;){var s=i.KEY_MODS[t[a]];if(null==s)return"undefined"!=typeof console&&console.error("invalid modifier "+t[a]+" in "+e),!1;o|=s}return{key:n,hashId:o}},this.findKeyCommand=function(e,t){var n=a[e]+t;return this.commandKeyBinding[n]},this.handleKeyboard=function(e,t,n,r){if(!(r<0)){var i=a[t]+n,o=this.commandKeyBinding[i];return e.$keyChain&&(e.$keyChain+=" "+i,o=this.commandKeyBinding[e.$keyChain]||o),!o||"chainKeys"!=o&&"chainKeys"!=o[o.length-1]?(e.$keyChain&&(t&&4!=t||1!=n.length?(-1==t||r>0)&&(e.$keyChain=""):e.$keyChain=e.$keyChain.slice(0,-i.length-1)),{command:o}):(e.$keyChain=e.$keyChain||i,{command:"null"})}},this.getStatusText=function(e,t){return t.$keyChain||""}}.call(s.prototype),t.HashHandler=s,t.MultiHashHandler=l})),ace.define("ace/commands/command_manager",["require","exports","module","ace/lib/oop","ace/keyboard/hash_handler","ace/lib/event_emitter"],(function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("../keyboard/hash_handler").MultiHashHandler,o=e("../lib/event_emitter").EventEmitter,a=function(e,t){i.call(this,t,e),this.byName=this.commands,this.setDefaultHandler("exec",(function(e){return e.command.exec(e.editor,e.args||{})}))};r.inherits(a,i),function(){r.implement(this,o),this.exec=function(e,t,n){if(Array.isArray(e)){for(var r=e.length;r--;)if(this.exec(e[r],t,n))return!0;return!1}if("string"==typeof e&&(e=this.commands[e]),!e)return!1;if(t&&t.$readOnly&&!e.readOnly)return!1;if(e.isAvailable&&!e.isAvailable(t))return!1;var i={editor:t,command:e,args:n};return i.returnValue=this._emit("exec",i),this._signal("afterExec",i),!1!==i.returnValue},this.toggleRecording=function(e){if(!this.$inReplay)return e&&e._emit("changeStatus"),this.recording?(this.macro.pop(),this.removeEventListener("exec",this.$addCommandToMacro),this.macro.length||(this.macro=this.oldMacro),this.recording=!1):(this.$addCommandToMacro||(this.$addCommandToMacro=function(e){this.macro.push([e.command,e.args])}.bind(this)),this.oldMacro=this.macro,this.macro=[],this.on("exec",this.$addCommandToMacro),this.recording=!0)},this.replay=function(e){if(!this.$inReplay&&this.macro){if(this.recording)return this.toggleRecording(e);try{this.$inReplay=!0,this.macro.forEach((function(t){"string"==typeof t?this.exec(t,e):this.exec(t[0],e,t[1])}),this)}finally{this.$inReplay=!1}}},this.trimMacro=function(e){return e.map((function(e){return"string"!=typeof e[0]&&(e[0]=e[0].name),e[1]||(e=e[0]),e}))}}.call(a.prototype),t.CommandManager=a})),ace.define("ace/commands/default_commands",["require","exports","module","ace/lib/lang","ace/config","ace/range"],(function(e,t,n){"use strict";var r=e("../lib/lang"),i=e("../config"),o=e("../range").Range;function a(e,t){return{win:e,mac:t}}t.commands=[{name:"showSettingsMenu",bindKey:a("Ctrl-,","Command-,"),exec:function(e){i.loadModule("ace/ext/settings_menu",(function(t){t.init(e),e.showSettingsMenu()}))},readOnly:!0},{name:"goToNextError",bindKey:a("Alt-E","F4"),exec:function(e){i.loadModule("ace/ext/error_marker",(function(t){t.showErrorMarker(e,1)}))},scrollIntoView:"animate",readOnly:!0},{name:"goToPreviousError",bindKey:a("Alt-Shift-E","Shift-F4"),exec:function(e){i.loadModule("ace/ext/error_marker",(function(t){t.showErrorMarker(e,-1)}))},scrollIntoView:"animate",readOnly:!0},{name:"selectall",bindKey:a("Ctrl-A","Command-A"),exec:function(e){e.selectAll()},readOnly:!0},{name:"centerselection",bindKey:a(null,"Ctrl-L"),exec:function(e){e.centerSelection()},readOnly:!0},{name:"gotoline",bindKey:a("Ctrl-L","Command-L"),exec:function(e){var t=parseInt(prompt("Enter line number:"),10);isNaN(t)||e.gotoLine(t)},readOnly:!0},{name:"fold",bindKey:a("Alt-L|Ctrl-F1","Command-Alt-L|Command-F1"),exec:function(e){e.session.toggleFold(!1)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"unfold",bindKey:a("Alt-Shift-L|Ctrl-Shift-F1","Command-Alt-Shift-L|Command-Shift-F1"),exec:function(e){e.session.toggleFold(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleFoldWidget",bindKey:a("F2","F2"),exec:function(e){e.session.toggleFoldWidget()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleParentFoldWidget",bindKey:a("Alt-F2","Alt-F2"),exec:function(e){e.session.toggleFoldWidget(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"foldall",bindKey:a(null,"Ctrl-Command-Option-0"),exec:function(e){e.session.foldAll()},scrollIntoView:"center",readOnly:!0},{name:"foldOther",bindKey:a("Alt-0","Command-Option-0"),exec:function(e){e.session.foldAll(),e.session.unfold(e.selection.getAllRanges())},scrollIntoView:"center",readOnly:!0},{name:"unfoldall",bindKey:a("Alt-Shift-0","Command-Option-Shift-0"),exec:function(e){e.session.unfold()},scrollIntoView:"center",readOnly:!0},{name:"findnext",bindKey:a("Ctrl-K","Command-G"),exec:function(e){e.findNext()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"findprevious",bindKey:a("Ctrl-Shift-K","Command-Shift-G"),exec:function(e){e.findPrevious()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"selectOrFindNext",bindKey:a("Alt-K","Ctrl-G"),exec:function(e){e.selection.isEmpty()?e.selection.selectWord():e.findNext()},readOnly:!0},{name:"selectOrFindPrevious",bindKey:a("Alt-Shift-K","Ctrl-Shift-G"),exec:function(e){e.selection.isEmpty()?e.selection.selectWord():e.findPrevious()},readOnly:!0},{name:"find",bindKey:a("Ctrl-F","Command-F"),exec:function(e){i.loadModule("ace/ext/searchbox",(function(t){t.Search(e)}))},readOnly:!0},{name:"overwrite",bindKey:"Insert",exec:function(e){e.toggleOverwrite()},readOnly:!0},{name:"selecttostart",bindKey:a("Ctrl-Shift-Home","Command-Shift-Home|Command-Shift-Up"),exec:function(e){e.getSelection().selectFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotostart",bindKey:a("Ctrl-Home","Command-Home|Command-Up"),exec:function(e){e.navigateFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectup",bindKey:a("Shift-Up","Shift-Up|Ctrl-Shift-P"),exec:function(e){e.getSelection().selectUp()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golineup",bindKey:a("Up","Up|Ctrl-P"),exec:function(e,t){e.navigateUp(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttoend",bindKey:a("Ctrl-Shift-End","Command-Shift-End|Command-Shift-Down"),exec:function(e){e.getSelection().selectFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotoend",bindKey:a("Ctrl-End","Command-End|Command-Down"),exec:function(e){e.navigateFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectdown",bindKey:a("Shift-Down","Shift-Down|Ctrl-Shift-N"),exec:function(e){e.getSelection().selectDown()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golinedown",bindKey:a("Down","Down|Ctrl-N"),exec:function(e,t){e.navigateDown(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordleft",bindKey:a("Ctrl-Shift-Left","Option-Shift-Left"),exec:function(e){e.getSelection().selectWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordleft",bindKey:a("Ctrl-Left","Option-Left"),exec:function(e){e.navigateWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolinestart",bindKey:a("Alt-Shift-Left","Command-Shift-Left|Ctrl-Shift-A"),exec:function(e){e.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolinestart",bindKey:a("Alt-Left|Home","Command-Left|Home|Ctrl-A"),exec:function(e){e.navigateLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectleft",bindKey:a("Shift-Left","Shift-Left|Ctrl-Shift-B"),exec:function(e){e.getSelection().selectLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoleft",bindKey:a("Left","Left|Ctrl-B"),exec:function(e,t){e.navigateLeft(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordright",bindKey:a("Ctrl-Shift-Right","Option-Shift-Right"),exec:function(e){e.getSelection().selectWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordright",bindKey:a("Ctrl-Right","Option-Right"),exec:function(e){e.navigateWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolineend",bindKey:a("Alt-Shift-Right","Command-Shift-Right|Shift-End|Ctrl-Shift-E"),exec:function(e){e.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolineend",bindKey:a("Alt-Right|End","Command-Right|End|Ctrl-E"),exec:function(e){e.navigateLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectright",bindKey:a("Shift-Right","Shift-Right"),exec:function(e){e.getSelection().selectRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoright",bindKey:a("Right","Right|Ctrl-F"),exec:function(e,t){e.navigateRight(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectpagedown",bindKey:"Shift-PageDown",exec:function(e){e.selectPageDown()},readOnly:!0},{name:"pagedown",bindKey:a(null,"Option-PageDown"),exec:function(e){e.scrollPageDown()},readOnly:!0},{name:"gotopagedown",bindKey:a("PageDown","PageDown|Ctrl-V"),exec:function(e){e.gotoPageDown()},readOnly:!0},{name:"selectpageup",bindKey:"Shift-PageUp",exec:function(e){e.selectPageUp()},readOnly:!0},{name:"pageup",bindKey:a(null,"Option-PageUp"),exec:function(e){e.scrollPageUp()},readOnly:!0},{name:"gotopageup",bindKey:"PageUp",exec:function(e){e.gotoPageUp()},readOnly:!0},{name:"scrollup",bindKey:a("Ctrl-Up",null),exec:function(e){e.renderer.scrollBy(0,-2*e.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"scrolldown",bindKey:a("Ctrl-Down",null),exec:function(e){e.renderer.scrollBy(0,2*e.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"selectlinestart",bindKey:"Shift-Home",exec:function(e){e.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectlineend",bindKey:"Shift-End",exec:function(e){e.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"togglerecording",bindKey:a("Ctrl-Alt-E","Command-Option-E"),exec:function(e){e.commands.toggleRecording(e)},readOnly:!0},{name:"replaymacro",bindKey:a("Ctrl-Shift-E","Command-Shift-E"),exec:function(e){e.commands.replay(e)},readOnly:!0},{name:"jumptomatching",bindKey:a("Ctrl-P","Ctrl-P"),exec:function(e){e.jumpToMatching()},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"selecttomatching",bindKey:a("Ctrl-Shift-P","Ctrl-Shift-P"),exec:function(e){e.jumpToMatching(!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"expandToMatching",bindKey:a("Ctrl-Shift-M","Ctrl-Shift-M"),exec:function(e){e.jumpToMatching(!0,!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"passKeysToBrowser",bindKey:a(null,null),exec:function(){},passEvent:!0,readOnly:!0},{name:"copy",exec:function(e){},readOnly:!0},{name:"cut",exec:function(e){var t=e.getSelectionRange();e._emit("cut",t),e.selection.isEmpty()||(e.session.remove(t),e.clearSelection())},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"paste",exec:function(e,t){e.$handlePaste(t)},scrollIntoView:"cursor"},{name:"removeline",bindKey:a("Ctrl-D","Command-D"),exec:function(e){e.removeLines()},scrollIntoView:"cursor",multiSelectAction:"forEachLine"},{name:"duplicateSelection",bindKey:a("Ctrl-Shift-D","Command-Shift-D"),exec:function(e){e.duplicateSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"sortlines",bindKey:a("Ctrl-Alt-S","Command-Alt-S"),exec:function(e){e.sortLines()},scrollIntoView:"selection",multiSelectAction:"forEachLine"},{name:"togglecomment",bindKey:a("Ctrl-/","Command-/"),exec:function(e){e.toggleCommentLines()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"toggleBlockComment",bindKey:a("Ctrl-Shift-/","Command-Shift-/"),exec:function(e){e.toggleBlockComment()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"modifyNumberUp",bindKey:a("Ctrl-Shift-Up","Alt-Shift-Up"),exec:function(e){e.modifyNumber(1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"modifyNumberDown",bindKey:a("Ctrl-Shift-Down","Alt-Shift-Down"),exec:function(e){e.modifyNumber(-1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"replace",bindKey:a("Ctrl-H","Command-Option-F"),exec:function(e){i.loadModule("ace/ext/searchbox",(function(t){t.Search(e,!0)}))}},{name:"undo",bindKey:a("Ctrl-Z","Command-Z"),exec:function(e){e.undo()}},{name:"redo",bindKey:a("Ctrl-Shift-Z|Ctrl-Y","Command-Shift-Z|Command-Y"),exec:function(e){e.redo()}},{name:"copylinesup",bindKey:a("Alt-Shift-Up","Command-Option-Up"),exec:function(e){e.copyLinesUp()},scrollIntoView:"cursor"},{name:"movelinesup",bindKey:a("Alt-Up","Option-Up"),exec:function(e){e.moveLinesUp()},scrollIntoView:"cursor"},{name:"copylinesdown",bindKey:a("Alt-Shift-Down","Command-Option-Down"),exec:function(e){e.copyLinesDown()},scrollIntoView:"cursor"},{name:"movelinesdown",bindKey:a("Alt-Down","Option-Down"),exec:function(e){e.moveLinesDown()},scrollIntoView:"cursor"},{name:"del",bindKey:a("Delete","Delete|Ctrl-D|Shift-Delete"),exec:function(e){e.remove("right")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"backspace",bindKey:a("Shift-Backspace|Backspace","Ctrl-Backspace|Shift-Backspace|Backspace|Ctrl-H"),exec:function(e){e.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"cut_or_delete",bindKey:a("Shift-Delete",null),exec:function(e){if(!e.selection.isEmpty())return!1;e.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestart",bindKey:a("Alt-Backspace","Command-Backspace"),exec:function(e){e.removeToLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineend",bindKey:a("Alt-Delete","Ctrl-K"),exec:function(e){e.removeToLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordleft",bindKey:a("Ctrl-Backspace","Alt-Backspace|Ctrl-Alt-Backspace"),exec:function(e){e.removeWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordright",bindKey:a("Ctrl-Delete","Alt-Delete"),exec:function(e){e.removeWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"outdent",bindKey:a("Shift-Tab","Shift-Tab"),exec:function(e){e.blockOutdent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"indent",bindKey:a("Tab","Tab"),exec:function(e){e.indent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"blockoutdent",bindKey:a("Ctrl-[","Ctrl-["),exec:function(e){e.blockOutdent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"blockindent",bindKey:a("Ctrl-]","Ctrl-]"),exec:function(e){e.blockIndent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"insertstring",exec:function(e,t){e.insert(t)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"inserttext",exec:function(e,t){e.insert(r.stringRepeat(t.text||"",t.times||1))},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"splitline",bindKey:a(null,"Ctrl-O"),exec:function(e){e.splitLine()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"transposeletters",bindKey:a("Alt-Shift-X","Ctrl-T"),exec:function(e){e.transposeLetters()},multiSelectAction:function(e){e.transposeSelections(1)},scrollIntoView:"cursor"},{name:"touppercase",bindKey:a("Ctrl-U","Ctrl-U"),exec:function(e){e.toUpperCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"tolowercase",bindKey:a("Ctrl-Shift-U","Ctrl-Shift-U"),exec:function(e){e.toLowerCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"expandtoline",bindKey:a("Ctrl-Shift-L","Command-Shift-L"),exec:function(e){var t=e.selection.getRange();t.start.column=t.end.column=0,t.end.row++,e.selection.setRange(t,!1)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"joinlines",bindKey:a(null,null),exec:function(e){for(var t=e.selection.isBackwards(),n=t?e.selection.getSelectionLead():e.selection.getSelectionAnchor(),i=t?e.selection.getSelectionAnchor():e.selection.getSelectionLead(),a=e.session.doc.getLine(n.row).length,s=e.session.doc.getTextRange(e.selection.getRange()).replace(/\n\s*/," ").length,l=e.session.doc.getLine(n.row),c=n.row+1;c<=i.row+1;c++){var u=r.stringTrimLeft(r.stringTrimRight(e.session.doc.getLine(c)));0!==u.length&&(u=" "+u),l+=u}i.row+10?(e.selection.moveCursorTo(n.row,n.column),e.selection.selectTo(n.row,n.column+s)):(a=e.session.doc.getLine(n.row).length>a?a+1:a,e.selection.moveCursorTo(n.row,a))},multiSelectAction:"forEach",readOnly:!0},{name:"invertSelection",bindKey:a(null,null),exec:function(e){var t=e.session.doc.getLength()-1,n=e.session.doc.getLine(t).length,r=e.selection.rangeList.ranges,i=[];r.length<1&&(r=[e.selection.getRange()]);for(var a=0;a0&&this.$blockScrolling--;var n=t&&t.scrollIntoView;if(n){switch(n){case"center-animate":n="animate";case"center":this.renderer.scrollCursorIntoView(null,.5);break;case"animate":case"cursor":this.renderer.scrollCursorIntoView();break;case"selectionPart":var r=this.selection.getRange(),i=this.renderer.layerConfig;(r.start.row>=i.lastRow||r.end.row<=i.firstRow)&&this.renderer.scrollSelectionIntoView(this.selection.anchor,this.selection.lead)}"animate"==n&&this.renderer.animateScrolling(this.curOp.scrollTop)}this.prevOp=this.curOp,this.curOp=null}},this.$mergeableCommands=["backspace","del","insertstring"],this.$historyTracker=function(e){if(this.$mergeUndoDeltas){var t=this.prevOp,n=this.$mergeableCommands,r=t.command&&e.command.name==t.command.name;if("insertstring"==e.command.name){var i=e.args;void 0===this.mergeNextCommand&&(this.mergeNextCommand=!0),r=r&&this.mergeNextCommand&&(!/\s/.test(i)||/\s/.test(t.args)),this.mergeNextCommand=!0}else r=r&&-1!==n.indexOf(e.command.name);"always"!=this.$mergeUndoDeltas&&Date.now()-this.sequenceStartTime>2e3&&(r=!1),r?this.session.mergeUndoDeltas=!0:-1!==n.indexOf(e.command.name)&&(this.sequenceStartTime=Date.now())}},this.setKeyboardHandler=function(e,t){if(e&&"string"==typeof e){this.$keybindingId=e;var n=this;v.loadModule(["keybinding",e],(function(r){n.$keybindingId==e&&n.keyBinding.setKeyboardHandler(r&&r.handler),t&&t()}))}else this.$keybindingId=null,this.keyBinding.setKeyboardHandler(e),t&&t()},this.getKeyboardHandler=function(){return this.keyBinding.getKeyboardHandler()},this.setSession=function(e){if(this.session!=e){this.curOp&&this.endOperation(),this.curOp={};var t=this.session;if(t){this.session.off("change",this.$onDocumentChange),this.session.off("changeMode",this.$onChangeMode),this.session.off("tokenizerUpdate",this.$onTokenizerUpdate),this.session.off("changeTabSize",this.$onChangeTabSize),this.session.off("changeWrapLimit",this.$onChangeWrapLimit),this.session.off("changeWrapMode",this.$onChangeWrapMode),this.session.off("changeFold",this.$onChangeFold),this.session.off("changeFrontMarker",this.$onChangeFrontMarker),this.session.off("changeBackMarker",this.$onChangeBackMarker),this.session.off("changeBreakpoint",this.$onChangeBreakpoint),this.session.off("changeAnnotation",this.$onChangeAnnotation),this.session.off("changeOverwrite",this.$onCursorChange),this.session.off("changeScrollTop",this.$onScrollTopChange),this.session.off("changeScrollLeft",this.$onScrollLeftChange);var n=this.session.getSelection();n.off("changeCursor",this.$onCursorChange),n.off("changeSelection",this.$onSelectionChange)}this.session=e,e?(this.$onDocumentChange=this.onDocumentChange.bind(this),e.on("change",this.$onDocumentChange),this.renderer.setSession(e),this.$onChangeMode=this.onChangeMode.bind(this),e.on("changeMode",this.$onChangeMode),this.$onTokenizerUpdate=this.onTokenizerUpdate.bind(this),e.on("tokenizerUpdate",this.$onTokenizerUpdate),this.$onChangeTabSize=this.renderer.onChangeTabSize.bind(this.renderer),e.on("changeTabSize",this.$onChangeTabSize),this.$onChangeWrapLimit=this.onChangeWrapLimit.bind(this),e.on("changeWrapLimit",this.$onChangeWrapLimit),this.$onChangeWrapMode=this.onChangeWrapMode.bind(this),e.on("changeWrapMode",this.$onChangeWrapMode),this.$onChangeFold=this.onChangeFold.bind(this),e.on("changeFold",this.$onChangeFold),this.$onChangeFrontMarker=this.onChangeFrontMarker.bind(this),this.session.on("changeFrontMarker",this.$onChangeFrontMarker),this.$onChangeBackMarker=this.onChangeBackMarker.bind(this),this.session.on("changeBackMarker",this.$onChangeBackMarker),this.$onChangeBreakpoint=this.onChangeBreakpoint.bind(this),this.session.on("changeBreakpoint",this.$onChangeBreakpoint),this.$onChangeAnnotation=this.onChangeAnnotation.bind(this),this.session.on("changeAnnotation",this.$onChangeAnnotation),this.$onCursorChange=this.onCursorChange.bind(this),this.session.on("changeOverwrite",this.$onCursorChange),this.$onScrollTopChange=this.onScrollTopChange.bind(this),this.session.on("changeScrollTop",this.$onScrollTopChange),this.$onScrollLeftChange=this.onScrollLeftChange.bind(this),this.session.on("changeScrollLeft",this.$onScrollLeftChange),this.selection=e.getSelection(),this.selection.on("changeCursor",this.$onCursorChange),this.$onSelectionChange=this.onSelectionChange.bind(this),this.selection.on("changeSelection",this.$onSelectionChange),this.onChangeMode(),this.$blockScrolling+=1,this.onCursorChange(),this.$blockScrolling-=1,this.onScrollTopChange(),this.onScrollLeftChange(),this.onSelectionChange(),this.onChangeFrontMarker(),this.onChangeBackMarker(),this.onChangeBreakpoint(),this.onChangeAnnotation(),this.session.getUseWrapMode()&&this.renderer.adjustWrapLimit(),this.renderer.updateFull()):(this.selection=null,this.renderer.setSession(e)),this._signal("changeSession",{session:e,oldSession:t}),this.curOp=null,t&&t._signal("changeEditor",{oldEditor:this}),e&&e._signal("changeEditor",{editor:this}),e&&e.bgTokenizer&&e.bgTokenizer.scheduleStart()}},this.getSession=function(){return this.session},this.setValue=function(e,t){return this.session.doc.setValue(e),t?1==t?this.navigateFileEnd():-1==t&&this.navigateFileStart():this.selectAll(),e},this.getValue=function(){return this.session.getValue()},this.getSelection=function(){return this.selection},this.resize=function(e){this.renderer.onResize(e)},this.setTheme=function(e,t){this.renderer.setTheme(e,t)},this.getTheme=function(){return this.renderer.getTheme()},this.setStyle=function(e){this.renderer.setStyle(e)},this.unsetStyle=function(e){this.renderer.unsetStyle(e)},this.getFontSize=function(){return this.getOption("fontSize")||o.computedStyle(this.container,"fontSize")},this.setFontSize=function(e){this.setOption("fontSize",e)},this.$highlightBrackets=function(){if(this.session.$bracketHighlight&&(this.session.removeMarker(this.session.$bracketHighlight),this.session.$bracketHighlight=null),!this.$highlightPending){var e=this;this.$highlightPending=!0,setTimeout((function(){e.$highlightPending=!1;var t=e.session;if(t&&t.bgTokenizer){var n=t.findMatchingBracket(e.getCursorPosition());if(n)var r=new f(n.row,n.column,n.row,n.column+1);else t.$mode.getMatching&&(r=t.$mode.getMatching(e.session));r&&(t.$bracketHighlight=t.addMarker(r,"ace_bracket","text"))}}),50)}},this.$highlightTags=function(){if(!this.$highlightTagPending){var e=this;this.$highlightTagPending=!0,setTimeout((function(){e.$highlightTagPending=!1;var t=e.session;if(t&&t.bgTokenizer){var n=e.getCursorPosition(),r=new _(e.session,n.row,n.column),i=r.getCurrentToken();if(!i||!/\b(?:tag-open|tag-name)/.test(i.type))return t.removeMarker(t.$tagHighlight),void(t.$tagHighlight=null);if(-1==i.type.indexOf("tag-open")||(i=r.stepForward())){var o=i.value,a=0,s=r.stepBackward();if("<"==s.value)do{s=i,(i=r.stepForward())&&i.value===o&&-1!==i.type.indexOf("tag-name")&&("<"===s.value?a++:"=0);else{do{i=s,s=r.stepBackward(),i&&i.value===o&&-1!==i.type.indexOf("tag-name")&&("<"===s.value?a++:"1||(e=!1)),t.$highlightLineMarker&&!e)t.removeMarker(t.$highlightLineMarker.id),t.$highlightLineMarker=null;else if(!t.$highlightLineMarker&&e){var n=new f(e.row,e.column,e.row,1/0);n.id=t.addMarker(n,"ace_active-line","screenLine"),t.$highlightLineMarker=n}else e&&(t.$highlightLineMarker.start.row=e.row,t.$highlightLineMarker.end.row=e.row,t.$highlightLineMarker.start.column=e.column,t._signal("changeBackMarker"))},this.onSelectionChange=function(e){var t=this.session;if(t.$selectionMarker&&t.removeMarker(t.$selectionMarker),t.$selectionMarker=null,this.selection.isEmpty())this.$updateHighlightActiveLine();else{var n=this.selection.getRange(),r=this.getSelectionStyle();t.$selectionMarker=t.addMarker(n,"ace_selection",r)}var i=this.$highlightSelectedWord&&this.$getSelectionHighLightRegexp();this.session.highlight(i),this._signal("changeSelection")},this.$getSelectionHighLightRegexp=function(){var e=this.session,t=this.getSelectionRange();if(!t.isEmpty()&&!t.isMultiLine()){var n=t.start.column-1,r=t.end.column+1,i=e.getLine(t.start.row),o=i.length,a=i.substring(Math.max(n,0),Math.min(r,o));if(!(n>=0&&/^[\w\d]/.test(a)||r<=o&&/[\w\d]$/.test(a))&&(a=i.substring(t.start.column,t.end.column),/^[\w\d]+$/.test(a)))return this.$search.$assembleRegExp({wholeWord:!0,caseSensitive:!0,needle:a})}},this.onChangeFrontMarker=function(){this.renderer.updateFrontMarkers()},this.onChangeBackMarker=function(){this.renderer.updateBackMarkers()},this.onChangeBreakpoint=function(){this.renderer.updateBreakpoints()},this.onChangeAnnotation=function(){this.renderer.setAnnotations(this.session.getAnnotations())},this.onChangeMode=function(e){this.renderer.updateText(),this._emit("changeMode",e)},this.onChangeWrapLimit=function(){this.renderer.updateFull()},this.onChangeWrapMode=function(){this.renderer.onResize(!0)},this.onChangeFold=function(){this.$updateHighlightActiveLine(),this.renderer.updateFull()},this.getSelectedText=function(){return this.session.getTextRange(this.getSelectionRange())},this.getCopyText=function(){var e=this.getSelectedText();return this._signal("copy",e),e},this.onCopy=function(){this.commands.exec("copy",this)},this.onCut=function(){this.commands.exec("cut",this)},this.onPaste=function(e,t){var n={text:e,event:t};this.commands.exec("paste",this,n)},this.$handlePaste=function(e){"string"==typeof e&&(e={text:e}),this._signal("paste",e);var t=e.text;if(!this.inMultiSelectMode||this.inVirtualSelectionMode)this.insert(t);else{var n=t.split(/\r\n|\r|\n/),r=this.selection.rangeList.ranges;if(n.length>r.length||n.length<2||!n[1])return this.commands.exec("insertstring",this,t);for(var i=r.length;i--;){var o=r[i];o.isEmpty()||this.session.remove(o),this.session.insert(o.start,n[i])}}},this.execCommand=function(e,t){return this.commands.exec(e,this,t)},this.insert=function(e,t){var n=this.session,r=n.getMode(),i=this.getCursorPosition();if(this.getBehavioursEnabled()&&!t){var o=r.transformAction(n.getState(i.row),"insertion",this,n,e);o&&(e!==o.text&&(this.session.mergeUndoDeltas=!1,this.$mergeNextCommand=!1),e=o.text)}if("\t"==e&&(e=this.session.getTabString()),this.selection.isEmpty())this.session.getOverwrite()&&((a=new f.fromPoints(i,i)).end.column+=e.length,this.session.remove(a));else{var a=this.getSelectionRange();i=this.session.remove(a),this.clearSelection()}if("\n"==e||"\r\n"==e){var s=n.getLine(i.row);if(i.column>s.search(/\S|$/)){var l=s.substr(i.column).search(/\S|$/);n.doc.removeInLine(i.row,i.column,i.column+l)}}this.clearSelection();var c=i.column,u=n.getState(i.row),h=(s=n.getLine(i.row),r.checkOutdent(u,s,e));if(n.insert(i,e),o&&o.selection&&(2==o.selection.length?this.selection.setSelectionRange(new f(i.row,c+o.selection[0],i.row,c+o.selection[1])):this.selection.setSelectionRange(new f(i.row+o.selection[0],o.selection[1],i.row+o.selection[2],o.selection[3]))),n.getDocument().isNewLine(e)){var p=r.getNextLineIndent(u,s.slice(0,i.column),n.getTabString());n.insert({row:i.row+1,column:0},p)}h&&r.autoOutdent(u,n,i.row)},this.onTextInput=function(e){this.keyBinding.onTextInput(e)},this.onCommandKey=function(e,t,n){this.keyBinding.onCommandKey(e,t,n)},this.setOverwrite=function(e){this.session.setOverwrite(e)},this.getOverwrite=function(){return this.session.getOverwrite()},this.toggleOverwrite=function(){this.session.toggleOverwrite()},this.setScrollSpeed=function(e){this.setOption("scrollSpeed",e)},this.getScrollSpeed=function(){return this.getOption("scrollSpeed")},this.setDragDelay=function(e){this.setOption("dragDelay",e)},this.getDragDelay=function(){return this.getOption("dragDelay")},this.setSelectionStyle=function(e){this.setOption("selectionStyle",e)},this.getSelectionStyle=function(){return this.getOption("selectionStyle")},this.setHighlightActiveLine=function(e){this.setOption("highlightActiveLine",e)},this.getHighlightActiveLine=function(){return this.getOption("highlightActiveLine")},this.setHighlightGutterLine=function(e){this.setOption("highlightGutterLine",e)},this.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},this.setHighlightSelectedWord=function(e){this.setOption("highlightSelectedWord",e)},this.getHighlightSelectedWord=function(){return this.$highlightSelectedWord},this.setAnimatedScroll=function(e){this.renderer.setAnimatedScroll(e)},this.getAnimatedScroll=function(){return this.renderer.getAnimatedScroll()},this.setShowInvisibles=function(e){this.renderer.setShowInvisibles(e)},this.getShowInvisibles=function(){return this.renderer.getShowInvisibles()},this.setDisplayIndentGuides=function(e){this.renderer.setDisplayIndentGuides(e)},this.getDisplayIndentGuides=function(){return this.renderer.getDisplayIndentGuides()},this.setShowPrintMargin=function(e){this.renderer.setShowPrintMargin(e)},this.getShowPrintMargin=function(){return this.renderer.getShowPrintMargin()},this.setPrintMarginColumn=function(e){this.renderer.setPrintMarginColumn(e)},this.getPrintMarginColumn=function(){return this.renderer.getPrintMarginColumn()},this.setReadOnly=function(e){this.setOption("readOnly",e)},this.getReadOnly=function(){return this.getOption("readOnly")},this.setBehavioursEnabled=function(e){this.setOption("behavioursEnabled",e)},this.getBehavioursEnabled=function(){return this.getOption("behavioursEnabled")},this.setWrapBehavioursEnabled=function(e){this.setOption("wrapBehavioursEnabled",e)},this.getWrapBehavioursEnabled=function(){return this.getOption("wrapBehavioursEnabled")},this.setShowFoldWidgets=function(e){this.setOption("showFoldWidgets",e)},this.getShowFoldWidgets=function(){return this.getOption("showFoldWidgets")},this.setFadeFoldWidgets=function(e){this.setOption("fadeFoldWidgets",e)},this.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},this.remove=function(e){this.selection.isEmpty()&&("left"==e?this.selection.selectLeft():this.selection.selectRight());var t=this.getSelectionRange();if(this.getBehavioursEnabled()){var n=this.session,r=n.getState(t.start.row),i=n.getMode().transformAction(r,"deletion",this,n,t);if(0===t.end.column){var o=n.getTextRange(t);if("\n"==o[o.length-1]){var a=n.getLine(t.end.row);/^\s+$/.test(a)&&(t.end.column=a.length)}}i&&(t=i)}this.session.remove(t),this.clearSelection()},this.removeWordRight=function(){this.selection.isEmpty()&&this.selection.selectWordRight(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeWordLeft=function(){this.selection.isEmpty()&&this.selection.selectWordLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeToLineStart=function(){this.selection.isEmpty()&&this.selection.selectLineStart(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeToLineEnd=function(){this.selection.isEmpty()&&this.selection.selectLineEnd();var e=this.getSelectionRange();e.start.column==e.end.column&&e.start.row==e.end.row&&(e.end.column=0,e.end.row++),this.session.remove(e),this.clearSelection()},this.splitLine=function(){this.selection.isEmpty()||(this.session.remove(this.getSelectionRange()),this.clearSelection());var e=this.getCursorPosition();this.insert("\n"),this.moveCursorToPosition(e)},this.transposeLetters=function(){if(this.selection.isEmpty()){var e=this.getCursorPosition(),t=e.column;if(0!==t){var n,r,i=this.session.getLine(e.row);tt.toLowerCase()?1:0}));for(var r=new f(0,0,0,0),i=e.first;i<=e.last;i++){var o=t.getLine(i);r.start.row=i,r.end.row=i,r.end.column=o.length,t.replace(r,n[i-e.first])}},this.toggleCommentLines=function(){var e=this.session.getState(this.getCursorPosition().row),t=this.$getSelectedRows();this.session.getMode().toggleCommentLines(e,this.session,t.first,t.last)},this.toggleBlockComment=function(){var e=this.getCursorPosition(),t=this.session.getState(e.row),n=this.getSelectionRange();this.session.getMode().toggleBlockComment(t,this.session,n,e)},this.getNumberAt=function(e,t){var n=/[\-]?[0-9]+(?:\.[0-9]+)?/g;n.lastIndex=0;for(var r=this.session.getLine(e);n.lastIndex=t)return{value:i[0],start:i.index,end:i.index+i[0].length}}return null},this.modifyNumber=function(e){var t=this.selection.getCursor().row,n=this.selection.getCursor().column,r=new f(t,n-1,t,n),i=this.session.getTextRange(r);if(!isNaN(parseFloat(i))&&isFinite(i)){var o=this.getNumberAt(t,n);if(o){var a=o.value.indexOf(".")>=0?o.start+o.value.indexOf(".")+1:o.end,s=o.start+o.value.length-a,l=parseFloat(o.value);l*=Math.pow(10,s),a!==o.end&&nd+1)break;d=f.last}for(u--,s=this.session.$moveLines(p,d,t?0:e),t&&-1==e&&(h=u+1);h<=u;)a[h].moveBy(s,0),h++;t||(s=0),l+=s}i.fromOrientedRange(i.ranges[0]),i.rangeList.attach(this.session),this.inVirtualSelectionMode=!1}},this.$getSelectedRows=function(e){return e=(e||this.getSelectionRange()).collapseRows(),{first:this.session.getRowFoldStart(e.start.row),last:this.session.getRowFoldEnd(e.end.row)}},this.onCompositionStart=function(e){this.renderer.showComposition(this.getCursorPosition())},this.onCompositionUpdate=function(e){this.renderer.setCompositionText(e)},this.onCompositionEnd=function(){this.renderer.hideComposition()},this.getFirstVisibleRow=function(){return this.renderer.getFirstVisibleRow()},this.getLastVisibleRow=function(){return this.renderer.getLastVisibleRow()},this.isRowVisible=function(e){return e>=this.getFirstVisibleRow()&&e<=this.getLastVisibleRow()},this.isRowFullyVisible=function(e){return e>=this.renderer.getFirstFullyVisibleRow()&&e<=this.renderer.getLastFullyVisibleRow()},this.$getVisibleRowCount=function(){return this.renderer.getScrollBottomRow()-this.renderer.getScrollTopRow()+1},this.$moveByPage=function(e,t){var n=this.renderer,r=this.renderer.layerConfig,i=e*Math.floor(r.height/r.lineHeight);this.$blockScrolling++,!0===t?this.selection.$moveSelection((function(){this.moveCursorBy(i,0)})):!1===t&&(this.selection.moveCursorBy(i,0),this.selection.clearSelection()),this.$blockScrolling--;var o=n.scrollTop;n.scrollBy(0,i*r.lineHeight),null!=t&&n.scrollCursorIntoView(null,.5),n.animateScrolling(o)},this.selectPageDown=function(){this.$moveByPage(1,!0)},this.selectPageUp=function(){this.$moveByPage(-1,!0)},this.gotoPageDown=function(){this.$moveByPage(1,!1)},this.gotoPageUp=function(){this.$moveByPage(-1,!1)},this.scrollPageDown=function(){this.$moveByPage(1)},this.scrollPageUp=function(){this.$moveByPage(-1)},this.scrollToRow=function(e){this.renderer.scrollToRow(e)},this.scrollToLine=function(e,t,n,r){this.renderer.scrollToLine(e,t,n,r)},this.centerSelection=function(){var e=this.getSelectionRange(),t={row:Math.floor(e.start.row+(e.end.row-e.start.row)/2),column:Math.floor(e.start.column+(e.end.column-e.start.column)/2)};this.renderer.alignCursor(t,.5)},this.getCursorPosition=function(){return this.selection.getCursor()},this.getCursorPositionScreen=function(){return this.session.documentToScreenPosition(this.getCursorPosition())},this.getSelectionRange=function(){return this.selection.getRange()},this.selectAll=function(){this.$blockScrolling+=1,this.selection.selectAll(),this.$blockScrolling-=1},this.clearSelection=function(){this.selection.clearSelection()},this.moveCursorTo=function(e,t){this.selection.moveCursorTo(e,t)},this.moveCursorToPosition=function(e){this.selection.moveCursorToPosition(e)},this.jumpToMatching=function(e,t){var n=this.getCursorPosition(),r=new _(this.session,n.row,n.column),i=r.getCurrentToken(),o=i||r.stepForward();if(o){var a,s,l=!1,c={},u=n.column-o.start,h={")":"(","(":"(","]":"[","[":"[","{":"{","}":"{"};do{if(o.value.match(/[{}()\[\]]/g)){for(;u=0;--o)this.$tryReplace(n[o],e)&&r++;return this.selection.setSelectionRange(i),this.$blockScrolling-=1,r},this.$tryReplace=function(e,t){var n=this.session.getTextRange(e);return null!==(t=this.$search.replace(n,t))?(e.end=this.session.replace(e,t),e):null},this.getLastSearchOptions=function(){return this.$search.getOptions()},this.find=function(e,t,n){t||(t={}),"string"==typeof e||e instanceof RegExp?t.needle=e:"object"==r(e)&&i.mixin(t,e);var o=this.selection.getRange();null==t.needle&&((e=this.session.getTextRange(o)||this.$search.$options.needle)||(o=this.session.getWordRange(o.start.row,o.start.column),e=this.session.getTextRange(o)),this.$search.set({needle:e})),this.$search.set(t),t.start||this.$search.set({start:o});var a=this.$search.find(this.session);return t.preventScroll?a:a?(this.revealRange(a,n),a):(t.backwards?o.start=o.end:o.end=o.start,void this.selection.setRange(o))},this.findNext=function(e,t){this.find({skipCurrent:!0,backwards:!1},e,t)},this.findPrevious=function(e,t){this.find(e,{skipCurrent:!0,backwards:!0},t)},this.revealRange=function(e,t){this.$blockScrolling+=1,this.session.unfold(e),this.selection.setSelectionRange(e),this.$blockScrolling-=1;var n=this.renderer.scrollTop;this.renderer.scrollSelectionIntoView(e.start,e.end,.5),!1!==t&&this.renderer.animateScrolling(n)},this.undo=function(){this.$blockScrolling++,this.session.getUndoManager().undo(),this.$blockScrolling--,this.renderer.scrollCursorIntoView(null,.5)},this.redo=function(){this.$blockScrolling++,this.session.getUndoManager().redo(),this.$blockScrolling--,this.renderer.scrollCursorIntoView(null,.5)},this.destroy=function(){this.renderer.destroy(),this._signal("destroy",this),this.session&&this.session.destroy()},this.setAutoScrollEditorIntoView=function(e){if(e){var t,n=this,r=!1;this.$scrollAnchor||(this.$scrollAnchor=document.createElement("div"));var i=this.$scrollAnchor;i.style.cssText="position:absolute",this.container.insertBefore(i,this.container.firstChild);var o=this.on("changeSelection",(function(){r=!0})),a=this.renderer.on("beforeRender",(function(){r&&(t=n.renderer.container.getBoundingClientRect())})),s=this.renderer.on("afterRender",(function(){if(r&&t&&(n.isFocused()||n.searchBox&&n.searchBox.isFocused())){var e=n.renderer,o=e.$cursorLayer.$pixelPos,a=e.layerConfig,s=o.top-a.offset;null!=(r=o.top>=0&&s+t.top<0||!(o.topwindow.innerHeight)&&null)&&(i.style.top=s+"px",i.style.left=o.left+"px",i.style.height=a.lineHeight+"px",i.scrollIntoView(r)),r=t=null}}));this.setAutoScrollEditorIntoView=function(e){e||(delete this.setAutoScrollEditorIntoView,this.off("changeSelection",o),this.renderer.off("afterRender",s),this.renderer.off("beforeRender",a))}}},this.$resetCursorStyle=function(){var e=this.$cursorStyle||"ace",t=this.renderer.$cursorLayer;t&&(t.setSmoothBlinking(/smooth/.test(e)),t.isBlinking=!this.$readOnly&&"wide"!=e,o.setCssClass(t.element,"ace_slim-cursors",/slim/.test(e)))}}.call(b.prototype),v.defineOptions(b.prototype,"editor",{selectionStyle:{set:function(e){this.onSelectionChange(),this._signal("changeSelectionStyle",{data:e})},initialValue:"line"},highlightActiveLine:{set:function(){this.$updateHighlightActiveLine()},initialValue:!0},highlightSelectedWord:{set:function(e){this.$onSelectionChange()},initialValue:!0},readOnly:{set:function(e){this.$resetCursorStyle()},initialValue:!1},cursorStyle:{set:function(e){this.$resetCursorStyle()},values:["ace","slim","smooth","wide"],initialValue:"ace"},mergeUndoDeltas:{values:[!1,!0,"always"],initialValue:!0},behavioursEnabled:{initialValue:!0},wrapBehavioursEnabled:{initialValue:!0},autoScrollEditorIntoView:{set:function(e){this.setAutoScrollEditorIntoView(e)}},keyboardHandler:{set:function(e){this.setKeyboardHandler(e)},get:function(){return this.keybindingId},handlesSet:!0},hScrollBarAlwaysVisible:"renderer",vScrollBarAlwaysVisible:"renderer",highlightGutterLine:"renderer",animatedScroll:"renderer",showInvisibles:"renderer",showPrintMargin:"renderer",printMarginColumn:"renderer",printMargin:"renderer",fadeFoldWidgets:"renderer",showFoldWidgets:"renderer",showLineNumbers:"renderer",showGutter:"renderer",displayIndentGuides:"renderer",fontSize:"renderer",fontFamily:"renderer",maxLines:"renderer",minLines:"renderer",scrollPastEnd:"renderer",fixedWidthGutter:"renderer",theme:"renderer",scrollSpeed:"$mouseHandler",dragDelay:"$mouseHandler",dragEnabled:"$mouseHandler",focusTimout:"$mouseHandler",tooltipFollowsMouse:"$mouseHandler",firstLineNumber:"session",overwrite:"session",newLineMode:"session",useWorker:"session",useSoftTabs:"session",tabSize:"session",wrap:"session",indentedSoftWrap:"session",foldStyle:"session",mode:"session"}),t.Editor=b})),ace.define("ace/undomanager",["require","exports","module"],(function(e,t,n){"use strict";var r=function(){this.reset()};(function(){function e(e){return{action:e.action,start:e.start,end:e.end,lines:1==e.lines.length?null:e.lines,text:1==e.lines.length?e.lines[0]:null}}function t(e){return{action:e.action,start:e.start,end:e.end,lines:e.lines||[e.text]}}function n(e,t){for(var n=new Array(e.length),r=0;r0},this.hasRedo=function(){return this.$redoStack.length>0},this.markClean=function(){this.dirtyCounter=0},this.isClean=function(){return 0===this.dirtyCounter},this.$serializeDeltas=function(t){return n(t,e)},this.$deserializeDeltas=function(e){return n(e,t)}}).call(r.prototype),t.UndoManager=r})),ace.define("ace/layer/gutter",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter"],(function(e,t,n){"use strict";var r=e("../lib/dom"),i=e("../lib/oop"),o=e("../lib/lang"),a=e("../lib/event_emitter").EventEmitter,s=function(e){this.element=r.createElement("div"),this.element.className="ace_layer ace_gutter-layer",e.appendChild(this.element),this.setShowFoldWidgets(this.$showFoldWidgets),this.gutterWidth=0,this.$annotations=[],this.$updateAnnotations=this.$updateAnnotations.bind(this),this.$cells=[]};(function(){i.implement(this,a),this.setSession=function(e){this.session&&this.session.removeEventListener("change",this.$updateAnnotations),this.session=e,e&&e.on("change",this.$updateAnnotations)},this.addGutterDecoration=function(e,t){window.console&&console.warn&&console.warn("deprecated use session.addGutterDecoration"),this.session.addGutterDecoration(e,t)},this.removeGutterDecoration=function(e,t){window.console&&console.warn&&console.warn("deprecated use session.removeGutterDecoration"),this.session.removeGutterDecoration(e,t)},this.setAnnotations=function(e){this.$annotations=[];for(var t=0;ta&&(m=o.end.row+1,a=(o=t.getNextFoldLine(m,o))?o.start.row:1/0),m>i){for(;this.$cells.length>f+1;)d=this.$cells.pop(),this.element.removeChild(d.element);break}(d=this.$cells[++f])||((d={element:null,textNode:null,foldWidget:null}).element=r.createElement("div"),d.textNode=document.createTextNode(""),d.element.appendChild(d.textNode),this.element.appendChild(d.element),this.$cells[f]=d);var g="ace_gutter-cell ";if(l[m]&&(g+=l[m]),c[m]&&(g+=c[m]),this.$annotations[m]&&(g+=this.$annotations[m].className),d.element.className!=g&&(d.element.className=g),(v=t.getRowLength(m)*e.lineHeight+"px")!=d.element.style.height&&(d.element.style.height=v),s){var y=s[m];null==y&&(y=s[m]=t.getFoldWidget(m))}if(y){d.foldWidget||(d.foldWidget=r.createElement("span"),d.element.appendChild(d.foldWidget)),g="ace_fold-widget ace_"+y,"start"==y&&m==a&&mn.right-t.right?"foldWidgets":void 0}}).call(s.prototype),t.Gutter=s})),ace.define("ace/layer/marker",["require","exports","module","ace/range","ace/lib/dom"],(function(e,t,n){"use strict";var r=e("../range").Range,i=e("../lib/dom"),o=function(e){this.element=i.createElement("div"),this.element.className="ace_layer ace_marker-layer",e.appendChild(this.element)};(function(){this.$padding=0,this.setPadding=function(e){this.$padding=e},this.setSession=function(e){this.session=e},this.setMarkers=function(e){this.markers=e},this.update=function(e){if(e=e||this.config){this.config=e;var t=[];for(var n in this.markers){var r=this.markers[n];if(r.range){var i=r.range.clipRows(e.firstRow,e.lastRow);if(!i.isEmpty())if(i=i.toScreenRange(this.session),r.renderer){var o=this.$getTop(i.start.row,e),a=this.$padding+i.start.column*e.characterWidth;r.renderer(t,i,a,o,e)}else"fullLine"==r.type?this.drawFullLineMarker(t,i,r.clazz,e):"screenLine"==r.type?this.drawScreenLineMarker(t,i,r.clazz,e):i.isMultiLine()?"text"==r.type?this.drawTextMarker(t,i,r.clazz,e):this.drawMultiLineMarker(t,i,r.clazz,e):this.drawSingleLineMarker(t,i,r.clazz+" ace_start ace_br15",e)}else r.update(t,this,this.session,e)}this.element.innerHTML=t.join("")}},this.$getTop=function(e,t){return(e-t.firstRowScreen)*t.lineHeight},this.drawTextMarker=function(e,t,n,i,o){for(var a=this.session,s=t.start.row,l=t.end.row,c=s,u=0,h=0,p=a.getScreenLastRowColumn(c),d=new r(c,t.start.column,c,h);c<=l;c++)d.start.row=d.end.row=c,d.start.column=c==s?t.start.column:a.getRowWrapIndent(c),d.end.column=p,u=h,h=p,p=c+1p?4:0)|(c==l?8:0)),i,c==l?0:1,o)},this.drawMultiLineMarker=function(e,t,n,r,i){var o=this.$padding,a=r.lineHeight,s=this.$getTop(t.start.row,r),l=o+t.start.column*r.characterWidth;i=i||"",e.push("
"),s=this.$getTop(t.end.row,r);var c=t.end.column*r.characterWidth;if(e.push("
"),!((a=(t.end.row-t.start.row-1)*r.lineHeight)<=0)){s=this.$getTop(t.start.row+1,r);var u=(t.start.column?1:0)|(t.end.column?0:8);e.push("
")}},this.drawSingleLineMarker=function(e,t,n,r,i,o){var a=r.lineHeight,s=(t.end.column+(i||0)-t.start.column)*r.characterWidth,l=this.$getTop(t.start.row,r),c=this.$padding+t.start.column*r.characterWidth;e.push("
")},this.drawFullLineMarker=function(e,t,n,r,i){var o=this.$getTop(t.start.row,r),a=r.lineHeight;t.start.row!=t.end.row&&(a+=this.$getTop(t.end.row,r)-o),e.push("
")},this.drawScreenLineMarker=function(e,t,n,r,i){var o=this.$getTop(t.start.row,r),a=r.lineHeight;e.push("
")}}).call(o.prototype),t.Marker=o})),ace.define("ace/layer/text",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/lib/useragent","ace/lib/event_emitter"],(function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("../lib/dom"),o=e("../lib/lang"),a=(e("../lib/useragent"),e("../lib/event_emitter").EventEmitter),s=function(e){this.element=i.createElement("div"),this.element.className="ace_layer ace_text-layer",e.appendChild(this.element),this.$updateEolChar=this.$updateEolChar.bind(this)};(function(){r.implement(this,a),this.EOF_CHAR="¶",this.EOL_CHAR_LF="¬",this.EOL_CHAR_CRLF="¤",this.EOL_CHAR=this.EOL_CHAR_LF,this.TAB_CHAR="—",this.SPACE_CHAR="·",this.$padding=0,this.$updateEolChar=function(){var e="\n"==this.session.doc.getNewLineCharacter()?this.EOL_CHAR_LF:this.EOL_CHAR_CRLF;if(this.EOL_CHAR!=e)return this.EOL_CHAR=e,!0},this.setPadding=function(e){this.$padding=e,this.element.style.padding="0 "+e+"px"},this.getLineHeight=function(){return this.$fontMetrics.$characterSize.height||0},this.getCharacterWidth=function(){return this.$fontMetrics.$characterSize.width||0},this.$setFontMetrics=function(e){this.$fontMetrics=e,this.$fontMetrics.on("changeCharacterSize",function(e){this._signal("changeCharacterSize",e)}.bind(this)),this.$pollSizeChanges()},this.checkForSizeChanges=function(){this.$fontMetrics.checkForSizeChanges()},this.$pollSizeChanges=function(){return this.$pollSizeChangesTimer=this.$fontMetrics.$pollSizeChanges()},this.setSession=function(e){this.session=e,e&&this.$computeTabString()},this.showInvisibles=!1,this.setShowInvisibles=function(e){return this.showInvisibles!=e&&(this.showInvisibles=e,this.$computeTabString(),!0)},this.displayIndentGuides=!0,this.setDisplayIndentGuides=function(e){return this.displayIndentGuides!=e&&(this.displayIndentGuides=e,this.$computeTabString(),!0)},this.$tabStrings=[],this.onChangeTabSize=this.$computeTabString=function(){var e=this.session.getTabSize();this.tabSize=e;for(var t=this.$tabStrings=[0],n=1;n"+o.stringRepeat(this.TAB_CHAR,n)+""):t.push(o.stringRepeat(" ",n));if(this.displayIndentGuides){this.$indentGuideRe=/\s\S| \t|\t |\s$/;var r="ace_indent-guide",i="",a="";if(this.showInvisibles){r+=" ace_invisible",i=" ace_invisible_space",a=" ace_invisible_tab";var s=o.stringRepeat(this.SPACE_CHAR,this.tabSize),l=o.stringRepeat(this.TAB_CHAR,this.tabSize)}else l=s=o.stringRepeat(" ",this.tabSize);this.$tabStrings[" "]=""+s+"",this.$tabStrings["\t"]=""+l+""}},this.updateLines=function(e,t,n){this.config.lastRow==e.lastRow&&this.config.firstRow==e.firstRow||this.scrollLines(e),this.config=e;for(var r=Math.max(t,e.firstRow),i=Math.min(n,e.lastRow),o=this.element.childNodes,a=0,s=e.firstRow;sc&&(s=l.end.row+1,c=(l=this.session.getNextFoldLine(s,l))?l.start.row:1/0),!(s>i);){var u=o[a++];if(u){var h=[];this.$renderLine(h,s,!this.$useLineGroups(),s==c&&l),u.style.height=e.lineHeight*this.session.getRowLength(s)+"px",u.innerHTML=h.join("")}s++}},this.scrollLines=function(e){var t=this.config;if(this.config=e,!t||t.lastRow0;r--)n.removeChild(n.firstChild);if(t.lastRow>e.lastRow)for(r=this.session.getFoldedRowCount(e.lastRow+1,t.lastRow);r>0;r--)n.removeChild(n.lastChild);if(e.firstRowt.lastRow&&(i=this.$renderLinesFragment(e,t.lastRow+1,e.lastRow),n.appendChild(i))},this.$renderLinesFragment=function(e,t,n){for(var r=this.element.ownerDocument.createDocumentFragment(),o=t,a=this.session.getNextFoldLine(o),s=a?a.start.row:1/0;o>s&&(o=a.end.row+1,s=(a=this.session.getNextFoldLine(o,a))?a.start.row:1/0),!(o>n);){var l=i.createElement("div"),c=[];if(this.$renderLine(c,o,!1,o==s&&a),l.innerHTML=c.join(""),this.$useLineGroups())l.className="ace_line_group",r.appendChild(l),l.style.height=e.lineHeight*this.session.getRowLength(o)+"px";else for(;l.firstChild;)r.appendChild(l.firstChild);o++}return r},this.update=function(e){this.config=e;for(var t=[],n=e.firstRow,r=e.lastRow,i=n,o=this.session.getNextFoldLine(i),a=o?o.start.row:1/0;i>a&&(i=o.end.row+1,a=(o=this.session.getNextFoldLine(i,o))?o.start.row:1/0),!(i>r);)this.$useLineGroups()&&t.push("
"),this.$renderLine(t,i,!1,i==a&&o),this.$useLineGroups()&&t.push("
"),i++;this.element.innerHTML=t.join("")},this.$textToken={text:!0,rparen:!0,lparen:!0},this.$renderToken=function(e,t,n,r){var i=this,a=r.replace(/\t|&|<|>|( +)|([\x00-\x1f\x80-\xa0\xad\u1680\u180E\u2000-\u200f\u2028\u2029\u202F\u205F\u3000\uFEFF\uFFF9-\uFFFC])|[\u1100-\u115F\u11A3-\u11A7\u11FA-\u11FF\u2329-\u232A\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3000-\u303E\u3041-\u3096\u3099-\u30FF\u3105-\u312D\u3131-\u318E\u3190-\u31BA\u31C0-\u31E3\u31F0-\u321E\u3220-\u3247\u3250-\u32FE\u3300-\u4DBF\u4E00-\uA48C\uA490-\uA4C6\uA960-\uA97C\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFAFF\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFF01-\uFF60\uFFE0-\uFFE6]/g,(function(e,n,r,a,s){if(n)return i.showInvisibles?""+o.stringRepeat(i.SPACE_CHAR,e.length)+"":e;if("&"==e)return"&";if("<"==e)return"<";if(">"==e)return">";if("\t"==e){var l=i.session.getScreenTabSize(t+a);return t+=l-1,i.$tabStrings[l]}if(" "==e){var c=i.showInvisibles?"ace_cjk ace_invisible ace_invisible_space":"ace_cjk",u=i.showInvisibles?i.SPACE_CHAR:"";return t+=1,""+u+""}return r?""+i.SPACE_CHAR+"":(t+=1,""+e+"")}));if(this.$textToken[n.type])e.push(a);else{var s="ace_"+n.type.replace(/\./g," ace_"),l="";"fold"==n.type&&(l=" style='width:"+n.value.length*this.config.characterWidth+"px;' "),e.push("",a,"")}return t+r.length},this.renderIndentGuide=function(e,t,n){var r=t.search(this.$indentGuideRe);return r<=0||r>=n?t:" "==t[0]?(r-=r%this.tabSize,e.push(o.stringRepeat(this.$tabStrings[" "],r/this.tabSize)),t.substr(r)):"\t"==t[0]?(e.push(o.stringRepeat(this.$tabStrings["\t"],r)),t.substr(r)):t},this.$renderWrappedLine=function(e,t,n,r){for(var i=0,a=0,s=n[0],l=0,c=0;c=s;)l=this.$renderToken(e,l,u,h.substring(0,s-i)),h=h.substring(s-i),i=s,r||e.push("","
"),e.push(o.stringRepeat(" ",n.indent)),l=0,s=n[++a]||Number.MAX_VALUE;0!=h.length&&(i+=h.length,l=this.$renderToken(e,l,u,h))}}},this.$renderSimpleLine=function(e,t){var n=0,r=t[0],i=r.value;this.displayIndentGuides&&(i=this.renderIndentGuide(e,i)),i&&(n=this.$renderToken(e,n,r,i));for(var o=1;o"),i.length){var o=this.session.getRowSplitData(t);o&&o.length?this.$renderWrappedLine(e,i,o,n):this.$renderSimpleLine(e,i)}this.showInvisibles&&(r&&(t=r.end.row),e.push("",t==this.session.getLength()-1?this.EOF_CHAR:this.EOL_CHAR,"")),n||e.push("
")},this.$getFoldLineTokens=function(e,t){var n=this.session,r=[],i=n.getTokens(e);return t.walk((function(e,t,o,a,s){null!=e?r.push({type:"fold",value:e}):(s&&(i=n.getTokens(t)),i.length&&function(e,t,n){for(var i=0,o=0;o+e[i].value.lengthn-t&&(a=a.substring(0,n-t)),r.push({type:e[i].type,value:a}),o=t+a.length,i+=1);on?r.push({type:e[i].type,value:a.substring(0,n-o)}):r.push(e[i]),o+=a.length,i+=1}}(i,a,o))}),t.end.row,this.session.getLine(t.end.row).length),r},this.$useLineGroups=function(){return this.session.getUseWrapMode()},this.destroy=function(){clearInterval(this.$pollSizeChangesTimer),this.$measureNode&&this.$measureNode.parentNode.removeChild(this.$measureNode),delete this.$measureNode}}).call(s.prototype),t.Text=s})),ace.define("ace/layer/cursor",["require","exports","module","ace/lib/dom"],(function(e,t,n){"use strict";var r,i=e("../lib/dom"),o=function(e){this.element=i.createElement("div"),this.element.className="ace_layer ace_cursor-layer",e.appendChild(this.element),void 0===r&&(r=!("opacity"in this.element.style)),this.isVisible=!1,this.isBlinking=!0,this.blinkInterval=1e3,this.smoothBlinking=!1,this.cursors=[],this.cursor=this.addCursor(),i.addCssClass(this.element,"ace_hidden-cursors"),this.$updateCursors=(r?this.$updateVisibility:this.$updateOpacity).bind(this)};(function(){this.$updateVisibility=function(e){for(var t=this.cursors,n=t.length;n--;)t[n].style.visibility=e?"":"hidden"},this.$updateOpacity=function(e){for(var t=this.cursors,n=t.length;n--;)t[n].style.opacity=e?"":"0"},this.$padding=0,this.setPadding=function(e){this.$padding=e},this.setSession=function(e){this.session=e},this.setBlinking=function(e){e!=this.isBlinking&&(this.isBlinking=e,this.restartTimer())},this.setBlinkInterval=function(e){e!=this.blinkInterval&&(this.blinkInterval=e,this.restartTimer())},this.setSmoothBlinking=function(e){e==this.smoothBlinking||r||(this.smoothBlinking=e,i.setCssClass(this.element,"ace_smooth-blinking",e),this.$updateCursors(!0),this.$updateCursors=this.$updateOpacity.bind(this),this.restartTimer())},this.addCursor=function(){var e=i.createElement("div");return e.className="ace_cursor",this.element.appendChild(e),this.cursors.push(e),e},this.removeCursor=function(){if(this.cursors.length>1){var e=this.cursors.pop();return e.parentNode.removeChild(e),e}},this.hideCursor=function(){this.isVisible=!1,i.addCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},this.showCursor=function(){this.isVisible=!0,i.removeCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},this.restartTimer=function(){var e=this.$updateCursors;if(clearInterval(this.intervalId),clearTimeout(this.timeoutId),this.smoothBlinking&&i.removeCssClass(this.element,"ace_smooth-blinking"),e(!0),this.isBlinking&&this.blinkInterval&&this.isVisible){this.smoothBlinking&&setTimeout(function(){i.addCssClass(this.element,"ace_smooth-blinking")}.bind(this));var t=function(){this.timeoutId=setTimeout((function(){e(!1)}),.6*this.blinkInterval)}.bind(this);this.intervalId=setInterval((function(){e(!0),t()}),this.blinkInterval),t()}},this.getPixelPosition=function(e,t){if(!this.config||!this.session)return{left:0,top:0};e||(e=this.session.selection.getCursor());var n=this.session.documentToScreenPosition(e);return{left:this.$padding+n.column*this.config.characterWidth,top:(n.row-(t?this.config.firstRowScreen:0))*this.config.lineHeight}},this.update=function(e){this.config=e;var t=this.session.$selectionMarkers,n=0,r=0;void 0!==t&&0!==t.length||(t=[{cursor:null}]),n=0;for(var i=t.length;ne.height+e.offset||o.top<0)&&n>1)){var a=(this.cursors[r++]||this.addCursor()).style;this.drawCursor?this.drawCursor(a,o,e,t[n],this.session):(a.left=o.left+"px",a.top=o.top+"px",a.width=e.characterWidth+"px",a.height=e.lineHeight+"px")}}for(;this.cursors.length>r;)this.removeCursor();var s=this.session.getOverwrite();this.$setOverwrite(s),this.$pixelPos=o,this.restartTimer()},this.drawCursor=null,this.$setOverwrite=function(e){e!=this.overwrite&&(this.overwrite=e,e?i.addCssClass(this.element,"ace_overwrite-cursors"):i.removeCssClass(this.element,"ace_overwrite-cursors"))},this.destroy=function(){clearInterval(this.intervalId),clearTimeout(this.timeoutId)}}).call(o.prototype),t.Cursor=o})),ace.define("ace/scrollbar",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],(function(e,t,n){"use strict";var r=e("./lib/oop"),i=e("./lib/dom"),o=e("./lib/event"),a=e("./lib/event_emitter").EventEmitter,s=32768,l=function(e){this.element=i.createElement("div"),this.element.className="ace_scrollbar ace_scrollbar"+this.classSuffix,this.inner=i.createElement("div"),this.inner.className="ace_scrollbar-inner",this.element.appendChild(this.inner),e.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,o.addListener(this.element,"scroll",this.onScroll.bind(this)),o.addListener(this.element,"mousedown",o.preventDefault)};(function(){r.implement(this,a),this.setVisible=function(e){this.element.style.display=e?"":"none",this.isVisible=e,this.coeff=1}}).call(l.prototype);var c=function(e,t){l.call(this,e),this.scrollTop=0,this.scrollHeight=0,t.$scrollbarWidth=this.width=i.scrollbarWidth(e.ownerDocument),this.inner.style.width=this.element.style.width=(this.width||15)+5+"px"};r.inherits(c,l),function(){this.classSuffix="-v",this.onScroll=function(){if(!this.skipEvent){if(this.scrollTop=this.element.scrollTop,1!=this.coeff){var e=this.element.clientHeight/this.scrollHeight;this.scrollTop=this.scrollTop*(1-e)/(this.coeff-e)}this._emit("scroll",{data:this.scrollTop})}this.skipEvent=!1},this.getWidth=function(){return this.isVisible?this.width:0},this.setHeight=function(e){this.element.style.height=e+"px"},this.setInnerHeight=this.setScrollHeight=function(e){this.scrollHeight=e,e>s?(this.coeff=s/e,e=s):1!=this.coeff&&(this.coeff=1),this.inner.style.height=e+"px"},this.setScrollTop=function(e){this.scrollTop!=e&&(this.skipEvent=!0,this.scrollTop=e,this.element.scrollTop=e*this.coeff)}}.call(c.prototype);var u=function(e,t){l.call(this,e),this.scrollLeft=0,this.height=t.$scrollbarWidth,this.inner.style.height=this.element.style.height=(this.height||15)+5+"px"};r.inherits(u,l),function(){this.classSuffix="-h",this.onScroll=function(){this.skipEvent||(this.scrollLeft=this.element.scrollLeft,this._emit("scroll",{data:this.scrollLeft})),this.skipEvent=!1},this.getHeight=function(){return this.isVisible?this.height:0},this.setWidth=function(e){this.element.style.width=e+"px"},this.setInnerWidth=function(e){this.inner.style.width=e+"px"},this.setScrollWidth=function(e){this.inner.style.width=e+"px"},this.setScrollLeft=function(e){this.scrollLeft!=e&&(this.skipEvent=!0,this.scrollLeft=this.element.scrollLeft=e)}}.call(u.prototype),t.ScrollBar=c,t.ScrollBarV=c,t.ScrollBarH=u,t.VScrollBar=c,t.HScrollBar=u})),ace.define("ace/renderloop",["require","exports","module","ace/lib/event"],(function(e,t,n){"use strict";var r=e("./lib/event"),i=function(e,t){this.onRender=e,this.pending=!1,this.changes=0,this.window=t||window};(function(){this.schedule=function(e){if(this.changes=this.changes|e,!this.pending&&this.changes){this.pending=!0;var t=this;r.nextFrame((function(){var e;for(t.pending=!1;e=t.changes;)t.changes=0,t.onRender(e)}),this.window)}}}).call(i.prototype),t.RenderLoop=i})),ace.define("ace/layer/font_metrics",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/lib/useragent","ace/lib/event_emitter"],(function(e,t,n){var r=e("../lib/oop"),i=e("../lib/dom"),o=e("../lib/lang"),a=e("../lib/useragent"),s=e("../lib/event_emitter").EventEmitter,l=0,c=t.FontMetrics=function(e){this.el=i.createElement("div"),this.$setMeasureNodeStyles(this.el.style,!0),this.$main=i.createElement("div"),this.$setMeasureNodeStyles(this.$main.style),this.$measureNode=i.createElement("div"),this.$setMeasureNodeStyles(this.$measureNode.style),this.el.appendChild(this.$main),this.el.appendChild(this.$measureNode),e.appendChild(this.el),l||this.$testFractionalRect(),this.$measureNode.innerHTML=o.stringRepeat("X",l),this.$characterSize={width:0,height:0},this.checkForSizeChanges()};(function(){r.implement(this,s),this.$characterSize={width:0,height:0},this.$testFractionalRect=function(){var e=i.createElement("div");this.$setMeasureNodeStyles(e.style),e.style.width="0.2px",document.documentElement.appendChild(e);var t=e.getBoundingClientRect().width;l=t>0&&t<1?50:100,e.parentNode.removeChild(e)},this.$setMeasureNodeStyles=function(e,t){e.width=e.height="auto",e.left=e.top="0px",e.visibility="hidden",e.position="absolute",e.whiteSpace="pre",a.isIE<8?e["font-family"]="inherit":e.font="inherit",e.overflow=t?"hidden":"visible"},this.checkForSizeChanges=function(){var e=this.$measureSizes();if(e&&(this.$characterSize.width!==e.width||this.$characterSize.height!==e.height)){this.$measureNode.style.fontWeight="bold";var t=this.$measureSizes();this.$measureNode.style.fontWeight="",this.$characterSize=e,this.charSizes=Object.create(null),this.allowBoldFonts=t&&t.width===e.width&&t.height===e.height,this._emit("changeCharacterSize",{data:e})}},this.$pollSizeChanges=function(){if(this.$pollSizeChangesTimer)return this.$pollSizeChangesTimer;var e=this;return this.$pollSizeChangesTimer=setInterval((function(){e.checkForSizeChanges()}),500)},this.setPolling=function(e){e?this.$pollSizeChanges():this.$pollSizeChangesTimer&&(clearInterval(this.$pollSizeChangesTimer),this.$pollSizeChangesTimer=0)},this.$measureSizes=function(){if(50===l){var e=null;try{e=this.$measureNode.getBoundingClientRect()}catch(t){e={width:0,height:0}}var t={height:e.height,width:e.width/l}}else t={height:this.$measureNode.clientHeight,width:this.$measureNode.clientWidth/l};return 0===t.width||0===t.height?null:t},this.$measureCharWidth=function(e){return this.$main.innerHTML=o.stringRepeat(e,l),this.$main.getBoundingClientRect().width/l},this.getCharacterWidth=function(e){var t=this.charSizes[e];return void 0===t&&(t=this.charSizes[e]=this.$measureCharWidth(e)/this.$characterSize.width),t},this.destroy=function(){clearInterval(this.$pollSizeChangesTimer),this.el&&this.el.parentNode&&this.el.parentNode.removeChild(this.el)}}).call(c.prototype)})),ace.define("ace/virtual_renderer",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/config","ace/lib/useragent","ace/layer/gutter","ace/layer/marker","ace/layer/text","ace/layer/cursor","ace/scrollbar","ace/scrollbar","ace/renderloop","ace/layer/font_metrics","ace/lib/event_emitter"],(function(e,t,n){"use strict";var r=e("./lib/oop"),i=e("./lib/dom"),o=e("./config"),a=e("./lib/useragent"),s=e("./layer/gutter").Gutter,l=e("./layer/marker").Marker,c=e("./layer/text").Text,u=e("./layer/cursor").Cursor,h=e("./scrollbar").HScrollBar,p=e("./scrollbar").VScrollBar,d=e("./renderloop").RenderLoop,f=e("./layer/font_metrics").FontMetrics,m=e("./lib/event_emitter").EventEmitter;i.importCssString('.ace_editor {position: relative;overflow: hidden;font: 12px/normal \'Monaco\', \'Menlo\', \'Ubuntu Mono\', \'Consolas\', \'source-code-pro\', monospace;direction: ltr;text-align: left;}.ace_scroller {position: absolute;overflow: hidden;top: 0;bottom: 0;background-color: inherit;-ms-user-select: none;-moz-user-select: none;-webkit-user-select: none;user-select: none;cursor: text;}.ace_content {position: absolute;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;min-width: 100%;}.ace_dragging .ace_scroller:before{position: absolute;top: 0;left: 0;right: 0;bottom: 0;content: \'\';background: rgba(250, 250, 250, 0.01);z-index: 1000;}.ace_dragging.ace_dark .ace_scroller:before{background: rgba(0, 0, 0, 0.01);}.ace_selecting, .ace_selecting * {cursor: text !important;}.ace_gutter {position: absolute;overflow : hidden;width: auto;top: 0;bottom: 0;left: 0;cursor: default;z-index: 4;-ms-user-select: none;-moz-user-select: none;-webkit-user-select: none;user-select: none;}.ace_gutter-active-line {position: absolute;left: 0;right: 0;}.ace_scroller.ace_scroll-left {box-shadow: 17px 0 16px -16px rgba(0, 0, 0, 0.4) inset;}.ace_gutter-cell {padding-left: 19px;padding-right: 6px;background-repeat: no-repeat;}.ace_gutter-cell.ace_error {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAABOFBMVEX/////////QRswFAb/Ui4wFAYwFAYwFAaWGAfDRymzOSH/PxswFAb/SiUwFAYwFAbUPRvjQiDllog5HhHdRybsTi3/Tyv9Tir+Syj/UC3////XurebMBIwFAb/RSHbPx/gUzfdwL3kzMivKBAwFAbbvbnhPx66NhowFAYwFAaZJg8wFAaxKBDZurf/RB6mMxb/SCMwFAYwFAbxQB3+RB4wFAb/Qhy4Oh+4QifbNRcwFAYwFAYwFAb/QRzdNhgwFAYwFAbav7v/Uy7oaE68MBK5LxLewr/r2NXewLswFAaxJw4wFAbkPRy2PyYwFAaxKhLm1tMwFAazPiQwFAaUGAb/QBrfOx3bvrv/VC/maE4wFAbRPBq6MRO8Qynew8Dp2tjfwb0wFAbx6eju5+by6uns4uH9/f36+vr/GkHjAAAAYnRSTlMAGt+64rnWu/bo8eAA4InH3+DwoN7j4eLi4xP99Nfg4+b+/u9B/eDs1MD1mO7+4PHg2MXa347g7vDizMLN4eG+Pv7i5evs/v79yu7S3/DV7/498Yv24eH+4ufQ3Ozu/v7+y13sRqwAAADLSURBVHjaZc/XDsFgGIBhtDrshlitmk2IrbHFqL2pvXf/+78DPokj7+Fz9qpU/9UXJIlhmPaTaQ6QPaz0mm+5gwkgovcV6GZzd5JtCQwgsxoHOvJO15kleRLAnMgHFIESUEPmawB9ngmelTtipwwfASilxOLyiV5UVUyVAfbG0cCPHig+GBkzAENHS0AstVF6bacZIOzgLmxsHbt2OecNgJC83JERmePUYq8ARGkJx6XtFsdddBQgZE2nPR6CICZhawjA4Fb/chv+399kfR+MMMDGOQAAAABJRU5ErkJggg==");background-repeat: no-repeat;background-position: 2px center;}.ace_gutter-cell.ace_warning {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAmVBMVEX///8AAAD///8AAAAAAABPSzb/5sAAAAB/blH/73z/ulkAAAAAAAD85pkAAAAAAAACAgP/vGz/rkDerGbGrV7/pkQICAf////e0IsAAAD/oED/qTvhrnUAAAD/yHD/njcAAADuv2r/nz//oTj/p064oGf/zHAAAAA9Nir/tFIAAAD/tlTiuWf/tkIAAACynXEAAAAAAAAtIRW7zBpBAAAAM3RSTlMAABR1m7RXO8Ln31Z36zT+neXe5OzooRDfn+TZ4p3h2hTf4t3k3ucyrN1K5+Xaks52Sfs9CXgrAAAAjklEQVR42o3PbQ+CIBQFYEwboPhSYgoYunIqqLn6/z8uYdH8Vmdnu9vz4WwXgN/xTPRD2+sgOcZjsge/whXZgUaYYvT8QnuJaUrjrHUQreGczuEafQCO/SJTufTbroWsPgsllVhq3wJEk2jUSzX3CUEDJC84707djRc5MTAQxoLgupWRwW6UB5fS++NV8AbOZgnsC7BpEAAAAABJRU5ErkJggg==");background-position: 2px center;}.ace_gutter-cell.ace_info {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAAAAAA6mKC9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAJ0Uk5TAAB2k804AAAAPklEQVQY02NgIB68QuO3tiLznjAwpKTgNyDbMegwisCHZUETUZV0ZqOquBpXj2rtnpSJT1AEnnRmL2OgGgAAIKkRQap2htgAAAAASUVORK5CYII=");background-position: 2px center;}.ace_dark .ace_gutter-cell.ace_info {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAJFBMVEUAAAChoaGAgIAqKiq+vr6tra1ZWVmUlJSbm5s8PDxubm56enrdgzg3AAAAAXRSTlMAQObYZgAAAClJREFUeNpjYMAPdsMYHegyJZFQBlsUlMFVCWUYKkAZMxZAGdxlDMQBAG+TBP4B6RyJAAAAAElFTkSuQmCC");}.ace_scrollbar {position: absolute;right: 0;bottom: 0;z-index: 6;}.ace_scrollbar-inner {position: absolute;cursor: text;left: 0;top: 0;}.ace_scrollbar-v{overflow-x: hidden;overflow-y: scroll;top: 0;}.ace_scrollbar-h {overflow-x: scroll;overflow-y: hidden;left: 0;}.ace_print-margin {position: absolute;height: 100%;}.ace_text-input {position: absolute;z-index: 0;width: 0.5em;height: 1em;opacity: 0;background: transparent;-moz-appearance: none;appearance: none;border: none;resize: none;outline: none;overflow: hidden;font: inherit;padding: 0 1px;margin: 0 -1px;text-indent: -1em;-ms-user-select: text;-moz-user-select: text;-webkit-user-select: text;user-select: text;white-space: pre!important;}.ace_text-input.ace_composition {background: inherit;color: inherit;z-index: 1000;opacity: 1;text-indent: 0;}.ace_layer {z-index: 1;position: absolute;overflow: hidden;word-wrap: normal;white-space: pre;height: 100%;width: 100%;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;pointer-events: none;}.ace_gutter-layer {position: relative;width: auto;text-align: right;pointer-events: auto;}.ace_text-layer {font: inherit !important;}.ace_cjk {display: inline-block;text-align: center;}.ace_cursor-layer {z-index: 4;}.ace_cursor {z-index: 4;position: absolute;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;border-left: 2px solid;transform: translatez(0);}.ace_slim-cursors .ace_cursor {border-left-width: 1px;}.ace_overwrite-cursors .ace_cursor {border-left-width: 0;border-bottom: 1px solid;}.ace_hidden-cursors .ace_cursor {opacity: 0.2;}.ace_smooth-blinking .ace_cursor {-webkit-transition: opacity 0.18s;transition: opacity 0.18s;}.ace_editor.ace_multiselect .ace_cursor {border-left-width: 1px;}.ace_marker-layer .ace_step, .ace_marker-layer .ace_stack {position: absolute;z-index: 3;}.ace_marker-layer .ace_selection {position: absolute;z-index: 5;}.ace_marker-layer .ace_bracket {position: absolute;z-index: 6;}.ace_marker-layer .ace_active-line {position: absolute;z-index: 2;}.ace_marker-layer .ace_selected-word {position: absolute;z-index: 4;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;}.ace_line .ace_fold {-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;display: inline-block;height: 11px;margin-top: -2px;vertical-align: middle;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACJJREFUeNpi+P//fxgTAwPDBxDxD078RSX+YeEyDFMCIMAAI3INmXiwf2YAAAAASUVORK5CYII=");background-repeat: no-repeat, repeat-x;background-position: center center, top left;color: transparent;border: 1px solid black;border-radius: 2px;cursor: pointer;pointer-events: auto;}.ace_dark .ace_fold {}.ace_fold:hover{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACBJREFUeNpi+P//fz4TAwPDZxDxD5X4i5fLMEwJgAADAEPVDbjNw87ZAAAAAElFTkSuQmCC");}.ace_tooltip {background-color: #FFF;background-image: -webkit-linear-gradient(top, transparent, rgba(0, 0, 0, 0.1));background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1));border: 1px solid gray;border-radius: 1px;box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);color: black;max-width: 100%;padding: 3px 4px;position: fixed;z-index: 999999;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;cursor: default;white-space: pre;word-wrap: break-word;line-height: normal;font-style: normal;font-weight: normal;letter-spacing: normal;pointer-events: none;}.ace_folding-enabled > .ace_gutter-cell {padding-right: 13px;}.ace_fold-widget {-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;margin: 0 -12px 0 1px;display: none;width: 11px;vertical-align: top;background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42mWKsQ0AMAzC8ixLlrzQjzmBiEjp0A6WwBCSPgKAXoLkqSot7nN3yMwR7pZ32NzpKkVoDBUxKAAAAABJRU5ErkJggg==");background-repeat: no-repeat;background-position: center;border-radius: 3px;border: 1px solid transparent;cursor: pointer;}.ace_folding-enabled .ace_fold-widget {display: inline-block; }.ace_fold-widget.ace_end {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42m3HwQkAMAhD0YzsRchFKI7sAikeWkrxwScEB0nh5e7KTPWimZki4tYfVbX+MNl4pyZXejUO1QAAAABJRU5ErkJggg==");}.ace_fold-widget.ace_closed {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAGCAYAAAAG5SQMAAAAOUlEQVR42jXKwQkAMAgDwKwqKD4EwQ26sSOkVWjgIIHAzPiCgaqiqnJHZnKICBERHN194O5b9vbLuAVRL+l0YWnZAAAAAElFTkSuQmCCXA==");}.ace_fold-widget:hover {border: 1px solid rgba(0, 0, 0, 0.3);background-color: rgba(255, 255, 255, 0.2);box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);}.ace_fold-widget:active {border: 1px solid rgba(0, 0, 0, 0.4);background-color: rgba(0, 0, 0, 0.05);box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);}.ace_dark .ace_fold-widget {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHklEQVQIW2P4//8/AzoGEQ7oGCaLLAhWiSwB146BAQCSTPYocqT0AAAAAElFTkSuQmCC");}.ace_dark .ace_fold-widget.ace_end {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAH0lEQVQIW2P4//8/AxQ7wNjIAjDMgC4AxjCVKBirIAAF0kz2rlhxpAAAAABJRU5ErkJggg==");}.ace_dark .ace_fold-widget.ace_closed {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAFCAYAAACAcVaiAAAAHElEQVQIW2P4//+/AxAzgDADlOOAznHAKgPWAwARji8UIDTfQQAAAABJRU5ErkJggg==");}.ace_dark .ace_fold-widget:hover {box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);background-color: rgba(255, 255, 255, 0.1);}.ace_dark .ace_fold-widget:active {box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);}.ace_fold-widget.ace_invalid {background-color: #FFB4B4;border-color: #DE5555;}.ace_fade-fold-widgets .ace_fold-widget {-webkit-transition: opacity 0.4s ease 0.05s;transition: opacity 0.4s ease 0.05s;opacity: 0;}.ace_fade-fold-widgets:hover .ace_fold-widget {-webkit-transition: opacity 0.05s ease 0.05s;transition: opacity 0.05s ease 0.05s;opacity:1;}.ace_underline {text-decoration: underline;}.ace_bold {font-weight: bold;}.ace_nobold .ace_bold {font-weight: normal;}.ace_italic {font-style: italic;}.ace_error-marker {background-color: rgba(255, 0, 0,0.2);position: absolute;z-index: 9;}.ace_highlight-marker {background-color: rgba(255, 255, 0,0.2);position: absolute;z-index: 8;}.ace_br1 {border-top-left-radius : 3px;}.ace_br2 {border-top-right-radius : 3px;}.ace_br3 {border-top-left-radius : 3px; border-top-right-radius: 3px;}.ace_br4 {border-bottom-right-radius: 3px;}.ace_br5 {border-top-left-radius : 3px; border-bottom-right-radius: 3px;}.ace_br6 {border-top-right-radius : 3px; border-bottom-right-radius: 3px;}.ace_br7 {border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px;}.ace_br8 {border-bottom-left-radius : 3px;}.ace_br9 {border-top-left-radius : 3px; border-bottom-left-radius: 3px;}.ace_br10{border-top-right-radius : 3px; border-bottom-left-radius: 3px;}.ace_br11{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br12{border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br13{border-top-left-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br14{border-top-right-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br15{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}',"ace_editor.css");var g=function(e,t){var n=this;this.container=e||i.createElement("div"),this.$keepTextAreaAtCursor=!a.isOldIE,i.addCssClass(this.container,"ace_editor"),this.setTheme(t),this.$gutter=i.createElement("div"),this.$gutter.className="ace_gutter",this.container.appendChild(this.$gutter),this.scroller=i.createElement("div"),this.scroller.className="ace_scroller",this.container.appendChild(this.scroller),this.content=i.createElement("div"),this.content.className="ace_content",this.scroller.appendChild(this.content),this.$gutterLayer=new s(this.$gutter),this.$gutterLayer.on("changeGutterWidth",this.onGutterResize.bind(this)),this.$markerBack=new l(this.content);var r=this.$textLayer=new c(this.content);this.canvas=r.element,this.$markerFront=new l(this.content),this.$cursorLayer=new u(this.content),this.$horizScroll=!1,this.$vScroll=!1,this.scrollBar=this.scrollBarV=new p(this.container,this),this.scrollBarH=new h(this.container,this),this.scrollBarV.addEventListener("scroll",(function(e){n.$scrollAnimation||n.session.setScrollTop(e.data-n.scrollMargin.top)})),this.scrollBarH.addEventListener("scroll",(function(e){n.$scrollAnimation||n.session.setScrollLeft(e.data-n.scrollMargin.left)})),this.scrollTop=0,this.scrollLeft=0,this.cursorPos={row:0,column:0},this.$fontMetrics=new f(this.container),this.$textLayer.$setFontMetrics(this.$fontMetrics),this.$textLayer.addEventListener("changeCharacterSize",(function(e){n.updateCharacterSize(),n.onResize(!0,n.gutterWidth,n.$size.width,n.$size.height),n._signal("changeCharacterSize",e)})),this.$size={width:0,height:0,scrollerHeight:0,scrollerWidth:0,$dirty:!0},this.layerConfig={width:1,padding:0,firstRow:0,firstRowScreen:0,lastRow:0,lineHeight:0,characterWidth:0,minHeight:1,maxHeight:1,offset:0,height:1,gutterOffset:1},this.scrollMargin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.$loop=new d(this.$renderChanges.bind(this),this.container.ownerDocument.defaultView),this.$loop.schedule(this.CHANGE_FULL),this.updateCharacterSize(),this.setPadding(4),o.resetOptions(this),o._emit("renderer",this)};(function(){this.CHANGE_CURSOR=1,this.CHANGE_MARKER=2,this.CHANGE_GUTTER=4,this.CHANGE_SCROLL=8,this.CHANGE_LINES=16,this.CHANGE_TEXT=32,this.CHANGE_SIZE=64,this.CHANGE_MARKER_BACK=128,this.CHANGE_MARKER_FRONT=256,this.CHANGE_FULL=512,this.CHANGE_H_SCROLL=1024,r.implement(this,m),this.updateCharacterSize=function(){this.$textLayer.allowBoldFonts!=this.$allowBoldFonts&&(this.$allowBoldFonts=this.$textLayer.allowBoldFonts,this.setStyle("ace_nobold",!this.$allowBoldFonts)),this.layerConfig.characterWidth=this.characterWidth=this.$textLayer.getCharacterWidth(),this.layerConfig.lineHeight=this.lineHeight=this.$textLayer.getLineHeight(),this.$updatePrintMargin()},this.setSession=function(e){this.session&&this.session.doc.off("changeNewLineMode",this.onChangeNewLineMode),this.session=e,e&&this.scrollMargin.top&&e.getScrollTop()<=0&&e.setScrollTop(-this.scrollMargin.top),this.$cursorLayer.setSession(e),this.$markerBack.setSession(e),this.$markerFront.setSession(e),this.$gutterLayer.setSession(e),this.$textLayer.setSession(e),e&&(this.$loop.schedule(this.CHANGE_FULL),this.session.$setFontMetrics(this.$fontMetrics),this.scrollBarV.scrollLeft=this.scrollBarV.scrollTop=null,this.onChangeNewLineMode=this.onChangeNewLineMode.bind(this),this.onChangeNewLineMode(),this.session.doc.on("changeNewLineMode",this.onChangeNewLineMode))},this.updateLines=function(e,t,n){if(void 0===t&&(t=1/0),this.$changedLines?(this.$changedLines.firstRow>e&&(this.$changedLines.firstRow=e),this.$changedLines.lastRowthis.layerConfig.lastRow||this.$loop.schedule(this.CHANGE_LINES)},this.onChangeNewLineMode=function(){this.$loop.schedule(this.CHANGE_TEXT),this.$textLayer.$updateEolChar()},this.onChangeTabSize=function(){this.$loop.schedule(this.CHANGE_TEXT|this.CHANGE_MARKER),this.$textLayer.onChangeTabSize()},this.updateText=function(){this.$loop.schedule(this.CHANGE_TEXT)},this.updateFull=function(e){e?this.$renderChanges(this.CHANGE_FULL,!0):this.$loop.schedule(this.CHANGE_FULL)},this.updateFontSize=function(){this.$textLayer.checkForSizeChanges()},this.$changes=0,this.$updateSizeAsync=function(){this.$loop.pending?this.$size.$dirty=!0:this.onResize()},this.onResize=function(e,t,n,r){if(!(this.resizing>2)){this.resizing>0?this.resizing++:this.resizing=e?1:0;var i=this.container;r||(r=i.clientHeight||i.scrollHeight),n||(n=i.clientWidth||i.scrollWidth);var o=this.$updateCachedSize(e,t,n,r);if(!this.$size.scrollerHeight||!n&&!r)return this.resizing=0;e&&(this.$gutterLayer.$padding=null),e?this.$renderChanges(o|this.$changes,!0):this.$loop.schedule(o|this.$changes),this.resizing&&(this.resizing=0),this.scrollBarV.scrollLeft=this.scrollBarV.scrollTop=null}},this.$updateCachedSize=function(e,t,n,r){r-=this.$extraHeight||0;var i=0,o=this.$size,a={width:o.width,height:o.height,scrollerHeight:o.scrollerHeight,scrollerWidth:o.scrollerWidth};return r&&(e||o.height!=r)&&(o.height=r,i|=this.CHANGE_SIZE,o.scrollerHeight=o.height,this.$horizScroll&&(o.scrollerHeight-=this.scrollBarH.getHeight()),this.scrollBarV.element.style.bottom=this.scrollBarH.getHeight()+"px",i|=this.CHANGE_SCROLL),n&&(e||o.width!=n)&&(i|=this.CHANGE_SIZE,o.width=n,null==t&&(t=this.$showGutter?this.$gutter.offsetWidth:0),this.gutterWidth=t,this.scrollBarH.element.style.left=this.scroller.style.left=t+"px",o.scrollerWidth=Math.max(0,n-t-this.scrollBarV.getWidth()),this.scrollBarH.element.style.right=this.scroller.style.right=this.scrollBarV.getWidth()+"px",this.scroller.style.bottom=this.scrollBarH.getHeight()+"px",(this.session&&this.session.getUseWrapMode()&&this.adjustWrapLimit()||e)&&(i|=this.CHANGE_FULL)),o.$dirty=!n||!r,i&&this._signal("resize",a),i},this.onGutterResize=function(){var e=this.$showGutter?this.$gutter.offsetWidth:0;e!=this.gutterWidth&&(this.$changes|=this.$updateCachedSize(!0,e,this.$size.width,this.$size.height)),this.session.getUseWrapMode()&&this.adjustWrapLimit()||this.$size.$dirty?this.$loop.schedule(this.CHANGE_FULL):(this.$computeLayerConfig(),this.$loop.schedule(this.CHANGE_MARKER))},this.adjustWrapLimit=function(){var e=this.$size.scrollerWidth-2*this.$padding,t=Math.floor(e/this.characterWidth);return this.session.adjustWrapLimit(t,this.$showPrintMargin&&this.$printMarginColumn)},this.setAnimatedScroll=function(e){this.setOption("animatedScroll",e)},this.getAnimatedScroll=function(){return this.$animatedScroll},this.setShowInvisibles=function(e){this.setOption("showInvisibles",e)},this.getShowInvisibles=function(){return this.getOption("showInvisibles")},this.getDisplayIndentGuides=function(){return this.getOption("displayIndentGuides")},this.setDisplayIndentGuides=function(e){this.setOption("displayIndentGuides",e)},this.setShowPrintMargin=function(e){this.setOption("showPrintMargin",e)},this.getShowPrintMargin=function(){return this.getOption("showPrintMargin")},this.setPrintMarginColumn=function(e){this.setOption("printMarginColumn",e)},this.getPrintMarginColumn=function(){return this.getOption("printMarginColumn")},this.getShowGutter=function(){return this.getOption("showGutter")},this.setShowGutter=function(e){return this.setOption("showGutter",e)},this.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},this.setFadeFoldWidgets=function(e){this.setOption("fadeFoldWidgets",e)},this.setHighlightGutterLine=function(e){this.setOption("highlightGutterLine",e)},this.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},this.$updateGutterLineHighlight=function(){var e=this.$cursorLayer.$pixelPos,t=this.layerConfig.lineHeight;if(this.session.getUseWrapMode()){var n=this.session.selection.getCursor();n.column=0,e=this.$cursorLayer.getPixelPosition(n,!0),t*=this.session.getRowLength(n.row)}this.$gutterLineHighlight.style.top=e.top-this.layerConfig.offset+"px",this.$gutterLineHighlight.style.height=t+"px"},this.$updatePrintMargin=function(){if(this.$showPrintMargin||this.$printMarginEl){if(!this.$printMarginEl){var e=i.createElement("div");e.className="ace_layer ace_print-margin-layer",this.$printMarginEl=i.createElement("div"),this.$printMarginEl.className="ace_print-margin",e.appendChild(this.$printMarginEl),this.content.insertBefore(e,this.content.firstChild)}var t=this.$printMarginEl.style;t.left=this.characterWidth*this.$printMarginColumn+this.$padding+"px",t.visibility=this.$showPrintMargin?"visible":"hidden",this.session&&-1==this.session.$wrap&&this.adjustWrapLimit()}},this.getContainerElement=function(){return this.container},this.getMouseEventTarget=function(){return this.scroller},this.getTextAreaContainer=function(){return this.container},this.$moveTextAreaToCursor=function(){if(this.$keepTextAreaAtCursor){var e=this.layerConfig,t=this.$cursorLayer.$pixelPos.top,n=this.$cursorLayer.$pixelPos.left;t-=e.offset;var r=this.textarea.style,i=this.lineHeight;if(t<0||t>e.height-i)r.top=r.left="0";else{var o=this.characterWidth;if(this.$composition){var a=this.textarea.value.replace(/^\x01+/,"");o*=this.session.$getStringScreenWidth(a)[0]+2,i+=2}(n-=this.scrollLeft)>this.$size.scrollerWidth-o&&(n=this.$size.scrollerWidth-o),n+=this.gutterWidth,r.height=i+"px",r.width=o+"px",r.left=Math.min(n,this.$size.scrollerWidth-o)+"px",r.top=Math.min(t,this.$size.height-i)+"px"}}},this.getFirstVisibleRow=function(){return this.layerConfig.firstRow},this.getFirstFullyVisibleRow=function(){return this.layerConfig.firstRow+(0===this.layerConfig.offset?0:1)},this.getLastFullyVisibleRow=function(){var e=this.layerConfig,t=e.lastRow;return this.session.documentToScreenRow(t,0)*e.lineHeight-this.session.getScrollTop()>e.height-e.lineHeight?t-1:t},this.getLastVisibleRow=function(){return this.layerConfig.lastRow},this.$padding=null,this.setPadding=function(e){this.$padding=e,this.$textLayer.setPadding(e),this.$cursorLayer.setPadding(e),this.$markerFront.setPadding(e),this.$markerBack.setPadding(e),this.$loop.schedule(this.CHANGE_FULL),this.$updatePrintMargin()},this.setScrollMargin=function(e,t,n,r){var i=this.scrollMargin;i.top=0|e,i.bottom=0|t,i.right=0|r,i.left=0|n,i.v=i.top+i.bottom,i.h=i.left+i.right,i.top&&this.scrollTop<=0&&this.session&&this.session.setScrollTop(-i.top),this.updateFull()},this.getHScrollBarAlwaysVisible=function(){return this.$hScrollBarAlwaysVisible},this.setHScrollBarAlwaysVisible=function(e){this.setOption("hScrollBarAlwaysVisible",e)},this.getVScrollBarAlwaysVisible=function(){return this.$vScrollBarAlwaysVisible},this.setVScrollBarAlwaysVisible=function(e){this.setOption("vScrollBarAlwaysVisible",e)},this.$updateScrollBarV=function(){var e=this.layerConfig.maxHeight,t=this.$size.scrollerHeight;!this.$maxLines&&this.$scrollPastEnd&&(e-=(t-this.lineHeight)*this.$scrollPastEnd,this.scrollTop>e-t&&(e=this.scrollTop+t,this.scrollBarV.scrollTop=null)),this.scrollBarV.setScrollHeight(e+this.scrollMargin.v),this.scrollBarV.setScrollTop(this.scrollTop+this.scrollMargin.top)},this.$updateScrollBarH=function(){this.scrollBarH.setScrollWidth(this.layerConfig.width+2*this.$padding+this.scrollMargin.h),this.scrollBarH.setScrollLeft(this.scrollLeft+this.scrollMargin.left)},this.$frozen=!1,this.freeze=function(){this.$frozen=!0},this.unfreeze=function(){this.$frozen=!1},this.$renderChanges=function(e,t){if(this.$changes&&(e|=this.$changes,this.$changes=0),this.session&&this.container.offsetWidth&&!this.$frozen&&(e||t)){if(this.$size.$dirty)return this.$changes|=e,this.onResize(!0);this.lineHeight||this.$textLayer.checkForSizeChanges(),this._signal("beforeRender");var n=this.layerConfig;if(e&this.CHANGE_FULL||e&this.CHANGE_SIZE||e&this.CHANGE_TEXT||e&this.CHANGE_LINES||e&this.CHANGE_SCROLL||e&this.CHANGE_H_SCROLL){if(e|=this.$computeLayerConfig(),n.firstRow!=this.layerConfig.firstRow&&n.firstRowScreen==this.layerConfig.firstRowScreen){var r=this.scrollTop+(n.firstRow-this.layerConfig.firstRow)*this.lineHeight;r>0&&(this.scrollTop=r,e|=this.CHANGE_SCROLL,e|=this.$computeLayerConfig())}n=this.layerConfig,this.$updateScrollBarV(),e&this.CHANGE_H_SCROLL&&this.$updateScrollBarH(),this.$gutterLayer.element.style.marginTop=-n.offset+"px",this.content.style.marginTop=-n.offset+"px",this.content.style.width=n.width+2*this.$padding+"px",this.content.style.height=n.minHeight+"px"}if(e&this.CHANGE_H_SCROLL&&(this.content.style.marginLeft=-this.scrollLeft+"px",this.scroller.className=this.scrollLeft<=0?"ace_scroller":"ace_scroller ace_scroll-left"),e&this.CHANGE_FULL)return this.$textLayer.update(n),this.$showGutter&&this.$gutterLayer.update(n),this.$markerBack.update(n),this.$markerFront.update(n),this.$cursorLayer.update(n),this.$moveTextAreaToCursor(),this.$highlightGutterLine&&this.$updateGutterLineHighlight(),void this._signal("afterRender");if(e&this.CHANGE_SCROLL)return e&this.CHANGE_TEXT||e&this.CHANGE_LINES?this.$textLayer.update(n):this.$textLayer.scrollLines(n),this.$showGutter&&this.$gutterLayer.update(n),this.$markerBack.update(n),this.$markerFront.update(n),this.$cursorLayer.update(n),this.$highlightGutterLine&&this.$updateGutterLineHighlight(),this.$moveTextAreaToCursor(),void this._signal("afterRender");e&this.CHANGE_TEXT?(this.$textLayer.update(n),this.$showGutter&&this.$gutterLayer.update(n)):e&this.CHANGE_LINES?(this.$updateLines()||e&this.CHANGE_GUTTER&&this.$showGutter)&&this.$gutterLayer.update(n):(e&this.CHANGE_TEXT||e&this.CHANGE_GUTTER)&&this.$showGutter&&this.$gutterLayer.update(n),e&this.CHANGE_CURSOR&&(this.$cursorLayer.update(n),this.$moveTextAreaToCursor(),this.$highlightGutterLine&&this.$updateGutterLineHighlight()),e&(this.CHANGE_MARKER|this.CHANGE_MARKER_FRONT)&&this.$markerFront.update(n),e&(this.CHANGE_MARKER|this.CHANGE_MARKER_BACK)&&this.$markerBack.update(n),this._signal("afterRender")}else this.$changes|=e},this.$autosize=function(){var e=this.session.getScreenLength()*this.lineHeight,t=this.$maxLines*this.lineHeight,n=Math.min(t,Math.max((this.$minLines||1)*this.lineHeight,e))+this.scrollMargin.v+(this.$extraHeight||0);this.$horizScroll&&(n+=this.scrollBarH.getHeight()),this.$maxPixelHeight&&n>this.$maxPixelHeight&&(n=this.$maxPixelHeight);var r=e>t;if(n!=this.desiredHeight||this.$size.height!=this.desiredHeight||r!=this.$vScroll){r!=this.$vScroll&&(this.$vScroll=r,this.scrollBarV.setVisible(r));var i=this.container.clientWidth;this.container.style.height=n+"px",this.$updateCachedSize(!0,this.$gutterWidth,i,n),this.desiredHeight=n,this._signal("autosize")}},this.$computeLayerConfig=function(){var e=this.session,t=this.$size,n=t.height<=2*this.lineHeight,r=this.session.getScreenLength()*this.lineHeight,i=this.$getLongestLine(),o=!n&&(this.$hScrollBarAlwaysVisible||t.scrollerWidth-i-2*this.$padding<0),a=this.$horizScroll!==o;a&&(this.$horizScroll=o,this.scrollBarH.setVisible(o));var s=this.$vScroll;this.$maxLines&&this.lineHeight>1&&this.$autosize();var l=this.scrollTop%this.lineHeight,c=t.scrollerHeight+this.lineHeight,u=!this.$maxLines&&this.$scrollPastEnd?(t.scrollerHeight-this.lineHeight)*this.$scrollPastEnd:0;r+=u;var h=this.scrollMargin;this.session.setScrollTop(Math.max(-h.top,Math.min(this.scrollTop,r-t.scrollerHeight+h.bottom))),this.session.setScrollLeft(Math.max(-h.left,Math.min(this.scrollLeft,i+2*this.$padding-t.scrollerWidth+h.right)));var p=!n&&(this.$vScrollBarAlwaysVisible||t.scrollerHeight-r+u<0||this.scrollTop>h.top),d=s!==p;d&&(this.$vScroll=p,this.scrollBarV.setVisible(p));var f,m,g=Math.ceil(c/this.lineHeight)-1,y=Math.max(0,Math.round((this.scrollTop-l)/this.lineHeight)),v=y+g,_=this.lineHeight;y=e.screenToDocumentRow(y,0);var b=e.getFoldLine(y);b&&(y=b.start.row),f=e.documentToScreenRow(y,0),m=e.getRowLength(y)*_,v=Math.min(e.screenToDocumentRow(v,0),e.getLength()-1),c=t.scrollerHeight+e.getRowLength(v)*_+m,l=this.scrollTop-f*_;var E=0;return this.layerConfig.width!=i&&(E=this.CHANGE_H_SCROLL),(a||d)&&(E=this.$updateCachedSize(!0,this.gutterWidth,t.width,t.height),this._signal("scrollbarVisibilityChanged"),d&&(i=this.$getLongestLine())),this.layerConfig={width:i,padding:this.$padding,firstRow:y,firstRowScreen:f,lastRow:v,lineHeight:_,characterWidth:this.characterWidth,minHeight:c,maxHeight:r,offset:l,gutterOffset:_?Math.max(0,Math.ceil((l+t.height-t.scrollerHeight)/_)):0,height:this.$size.scrollerHeight},E},this.$updateLines=function(){var e=this.$changedLines.firstRow,t=this.$changedLines.lastRow;this.$changedLines=null;var n=this.layerConfig;if(!(e>n.lastRow+1||to?(t&&l+a>o+this.lineHeight&&(o-=t*this.$size.scrollerHeight),0===o&&(o=-this.scrollMargin.top),this.session.setScrollTop(o)):l+this.$size.scrollerHeight-si?(i=1-this.scrollMargin.top||t>0&&this.session.getScrollTop()+this.$size.scrollerHeight-this.layerConfig.maxHeight<-1+this.scrollMargin.bottom||e<0&&this.session.getScrollLeft()>=1-this.scrollMargin.left||e>0&&this.session.getScrollLeft()+this.$size.scrollerWidth-this.layerConfig.width<-1+this.scrollMargin.right||void 0},this.pixelToScreenCoordinates=function(e,t){var n=this.scroller.getBoundingClientRect(),r=(e+this.scrollLeft-n.left-this.$padding)/this.characterWidth,i=Math.floor((t+this.scrollTop-n.top)/this.lineHeight),o=Math.round(r);return{row:i,column:o,side:r-o>0?1:-1}},this.screenToTextCoordinates=function(e,t){var n=this.scroller.getBoundingClientRect(),r=Math.round((e+this.scrollLeft-n.left-this.$padding)/this.characterWidth),i=(t+this.scrollTop-n.top)/this.lineHeight;return this.session.screenToDocumentPosition(i,Math.max(r,0))},this.textToScreenCoordinates=function(e,t){var n=this.scroller.getBoundingClientRect(),r=this.session.documentToScreenPosition(e,t),i=this.$padding+Math.round(r.column*this.characterWidth),o=r.row*this.lineHeight;return{pageX:n.left+i-this.scrollLeft,pageY:n.top+o-this.scrollTop}},this.visualizeFocus=function(){i.addCssClass(this.container,"ace_focus")},this.visualizeBlur=function(){i.removeCssClass(this.container,"ace_focus")},this.showComposition=function(e){this.$composition||(this.$composition={keepTextAreaAtCursor:this.$keepTextAreaAtCursor,cssText:this.textarea.style.cssText}),this.$keepTextAreaAtCursor=!0,i.addCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText="",this.$moveTextAreaToCursor()},this.setCompositionText=function(e){this.$moveTextAreaToCursor()},this.hideComposition=function(){this.$composition&&(i.removeCssClass(this.textarea,"ace_composition"),this.$keepTextAreaAtCursor=this.$composition.keepTextAreaAtCursor,this.textarea.style.cssText=this.$composition.cssText,this.$composition=null)},this.setTheme=function(e,t){var n=this;if(this.$themeId=e,n._dispatchEvent("themeChange",{theme:e}),e&&"string"!=typeof e)a(e);else{var r=e||this.$options.theme.initialValue;o.loadModule(["theme",r],a)}function a(r){if(n.$themeId!=e)return t&&t();if(!r||!r.cssClass)throw new Error("couldn't load module "+e+" or it didn't call define");i.importCssString(r.cssText,r.cssClass,n.container.ownerDocument),n.theme&&i.removeCssClass(n.container,n.theme.cssClass);var o="padding"in r?r.padding:"padding"in(n.theme||{})?4:n.$padding;n.$padding&&o!=n.$padding&&n.setPadding(o),n.$theme=r.cssClass,n.theme=r,i.addCssClass(n.container,r.cssClass),i.setCssClass(n.container,"ace_dark",r.isDark),n.$size&&(n.$size.width=0,n.$updateSizeAsync()),n._dispatchEvent("themeLoaded",{theme:r}),t&&t()}},this.getTheme=function(){return this.$themeId},this.setStyle=function(e,t){i.setCssClass(this.container,e,!1!==t)},this.unsetStyle=function(e){i.removeCssClass(this.container,e)},this.setCursorStyle=function(e){this.scroller.style.cursor!=e&&(this.scroller.style.cursor=e)},this.setMouseCursor=function(e){this.scroller.style.cursor=e},this.destroy=function(){this.$textLayer.destroy(),this.$cursorLayer.destroy()}}).call(g.prototype),o.defineOptions(g.prototype,"renderer",{animatedScroll:{initialValue:!1},showInvisibles:{set:function(e){this.$textLayer.setShowInvisibles(e)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!1},showPrintMargin:{set:function(){this.$updatePrintMargin()},initialValue:!0},printMarginColumn:{set:function(){this.$updatePrintMargin()},initialValue:80},printMargin:{set:function(e){"number"==typeof e&&(this.$printMarginColumn=e),this.$showPrintMargin=!!e,this.$updatePrintMargin()},get:function(){return this.$showPrintMargin&&this.$printMarginColumn}},showGutter:{set:function(e){this.$gutter.style.display=e?"block":"none",this.$loop.schedule(this.CHANGE_FULL),this.onGutterResize()},initialValue:!0},fadeFoldWidgets:{set:function(e){i.setCssClass(this.$gutter,"ace_fade-fold-widgets",e)},initialValue:!1},showFoldWidgets:{set:function(e){this.$gutterLayer.setShowFoldWidgets(e)},initialValue:!0},showLineNumbers:{set:function(e){this.$gutterLayer.setShowLineNumbers(e),this.$loop.schedule(this.CHANGE_GUTTER)},initialValue:!0},displayIndentGuides:{set:function(e){this.$textLayer.setDisplayIndentGuides(e)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!0},highlightGutterLine:{set:function(e){if(!this.$gutterLineHighlight)return this.$gutterLineHighlight=i.createElement("div"),this.$gutterLineHighlight.className="ace_gutter-active-line",void this.$gutter.appendChild(this.$gutterLineHighlight);this.$gutterLineHighlight.style.display=e?"":"none",this.$cursorLayer.$pixelPos&&this.$updateGutterLineHighlight()},initialValue:!1,value:!0},hScrollBarAlwaysVisible:{set:function(e){this.$hScrollBarAlwaysVisible&&this.$horizScroll||this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},vScrollBarAlwaysVisible:{set:function(e){this.$vScrollBarAlwaysVisible&&this.$vScroll||this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},fontSize:{set:function(e){"number"==typeof e&&(e+="px"),this.container.style.fontSize=e,this.updateFontSize()},initialValue:12},fontFamily:{set:function(e){this.container.style.fontFamily=e,this.updateFontSize()}},maxLines:{set:function(e){this.updateFull()}},minLines:{set:function(e){this.updateFull()}},maxPixelHeight:{set:function(e){this.updateFull()},initialValue:0},scrollPastEnd:{set:function(e){e=+e||0,this.$scrollPastEnd!=e&&(this.$scrollPastEnd=e,this.$loop.schedule(this.CHANGE_SCROLL))},initialValue:0,handlesSet:!0},fixedWidthGutter:{set:function(e){this.$gutterLayer.$fixedWidth=!!e,this.$loop.schedule(this.CHANGE_GUTTER)}},theme:{set:function(e){this.setTheme(e)},get:function(){return this.$themeId||this.theme},initialValue:"./theme/textmate",handlesSet:!0}}),t.VirtualRenderer=g})),ace.define("ace/worker/worker_client",["require","exports","module","ace/lib/oop","ace/lib/net","ace/lib/event_emitter","ace/config"],(function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("../lib/net"),o=e("../lib/event_emitter").EventEmitter,a=e("../config");function s(e){var t=function(e){var t="importScripts('"+i.qualifyURL(e)+"');";try{return new Blob([t],{type:"application/javascript"})}catch(e){var n=new(window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder);return n.append(t),n.getBlob("application/javascript")}}(e),n=(window.URL||window.webkitURL).createObjectURL(t);return new Worker(n)}var l=function(t,n,r,i,o){if(this.$sendDeltaQueue=this.$sendDeltaQueue.bind(this),this.changeListener=this.changeListener.bind(this),this.onMessage=this.onMessage.bind(this),e.nameToUrl&&!e.toUrl&&(e.toUrl=e.nameToUrl),a.get("packaged")||!e.toUrl)i=i||a.moduleUrl(n,"worker");else{var l=this.$normalizePath;i=i||l(e.toUrl("ace/worker/worker.js",null,"_"));var c={};t.forEach((function(t){c[t]=l(e.toUrl(t,null,"_").replace(/(\.js)?(\?.*)?$/,""))}))}this.$worker=s(i),o&&this.send("importScripts",o),this.$worker.postMessage({init:!0,tlns:c,module:n,classname:r}),this.callbackId=1,this.callbacks={},this.$worker.onmessage=this.onMessage};(function(){r.implement(this,o),this.onMessage=function(e){var t=e.data;switch(t.type){case"event":this._signal(t.name,{data:t.data});break;case"call":var n=this.callbacks[t.id];n&&(n(t.data),delete this.callbacks[t.id]);break;case"error":this.reportError(t.data);break;case"log":window.console&&console.log&&console.log.apply(console,t.data)}},this.reportError=function(e){window.console&&console.error&&console.error(e)},this.$normalizePath=function(e){return i.qualifyURL(e)},this.terminate=function(){this._signal("terminate",{}),this.deltaQueue=null,this.$worker.terminate(),this.$worker=null,this.$doc&&this.$doc.off("change",this.changeListener),this.$doc=null},this.send=function(e,t){this.$worker.postMessage({command:e,args:t})},this.call=function(e,t,n){if(n){var r=this.callbackId++;this.callbacks[r]=n,t.push(r)}this.send(e,t)},this.emit=function(e,t){try{this.$worker.postMessage({event:e,data:{data:t.data}})}catch(e){console.error(e.stack)}},this.attachToDocument=function(e){this.$doc&&this.terminate(),this.$doc=e,this.call("setValue",[e.getValue()]),e.on("change",this.changeListener)},this.changeListener=function(e){this.deltaQueue||(this.deltaQueue=[],setTimeout(this.$sendDeltaQueue,0)),"insert"==e.action?this.deltaQueue.push(e.start,e.lines):this.deltaQueue.push(e.start,e.end)},this.$sendDeltaQueue=function(){var e=this.deltaQueue;e&&(this.deltaQueue=null,e.length>50&&e.length>this.$doc.getLength()>>1?this.call("setValue",[this.$doc.getValue()]):this.emit("change",{data:e}))}}).call(l.prototype);var c=function(e,t,n){this.$sendDeltaQueue=this.$sendDeltaQueue.bind(this),this.changeListener=this.changeListener.bind(this),this.callbackId=1,this.callbacks={},this.messageBuffer=[];var r=null,i=!1,s=Object.create(o),l=this;this.$worker={},this.$worker.terminate=function(){},this.$worker.postMessage=function(e){l.messageBuffer.push(e),r&&(i?setTimeout(c):c())},this.setEmitSync=function(e){i=e};var c=function(){var e=l.messageBuffer.shift();e.command?r[e.command].apply(r,e.args):e.event&&s._signal(e.event,e.data)};s.postMessage=function(e){l.onMessage({data:e})},s.callback=function(e,t){this.postMessage({type:"call",id:t,data:e})},s.emit=function(e,t){this.postMessage({type:"event",name:e,data:t})},a.loadModule(["worker",t],(function(e){for(r=new e[n](s);l.messageBuffer.length;)c()}))};c.prototype=l.prototype,t.UIWorkerClient=c,t.WorkerClient=l,t.createWorker=s})),ace.define("ace/placeholder",["require","exports","module","ace/range","ace/lib/event_emitter","ace/lib/oop"],(function(e,t,n){"use strict";var r=e("./range").Range,i=e("./lib/event_emitter").EventEmitter,o=e("./lib/oop"),a=function(e,t,n,r,i,o){var a=this;this.length=t,this.session=e,this.doc=e.getDocument(),this.mainClass=i,this.othersClass=o,this.$onUpdate=this.onUpdate.bind(this),this.doc.on("change",this.$onUpdate),this.$others=r,this.$onCursorChange=function(){setTimeout((function(){a.onCursorChange()}))},this.$pos=n;var s=e.getUndoManager().$undoStack||e.getUndoManager().$undostack||{length:-1};this.$undoStackDepth=s.length,this.setup(),e.selection.on("changeCursor",this.$onCursorChange)};(function(){o.implement(this,i),this.setup=function(){var e=this,t=this.doc,n=this.session;this.selectionBefore=n.selection.toJSON(),n.selection.inMultiSelectMode&&n.selection.toSingleRange(),this.pos=t.createAnchor(this.$pos.row,this.$pos.column);var i=this.pos;i.$insertRight=!0,i.detach(),i.markerId=n.addMarker(new r(i.row,i.column,i.row,i.column+this.length),this.mainClass,null,!1),this.others=[],this.$others.forEach((function(n){var r=t.createAnchor(n.row,n.column);r.$insertRight=!0,r.detach(),e.others.push(r)})),n.setUndoSelect(!1)},this.showOtherMarkers=function(){if(!this.othersActive){var e=this.session,t=this;this.othersActive=!0,this.others.forEach((function(n){n.markerId=e.addMarker(new r(n.row,n.column,n.row,n.column+t.length),t.othersClass,null,!1)}))}},this.hideOtherMarkers=function(){if(this.othersActive){this.othersActive=!1;for(var e=0;e=this.pos.column&&t.start.column<=this.pos.column+this.length+1,o=t.start.column-this.pos.column;if(this.updateAnchors(e),i&&(this.length+=n),i&&!this.session.$fromUndo)if("insert"===e.action)for(var a=this.others.length-1;a>=0;a--){var s={row:(l=this.others[a]).row,column:l.column+o};this.doc.insertMergedLines(s,e.lines)}else if("remove"===e.action)for(a=this.others.length-1;a>=0;a--){var l;s={row:(l=this.others[a]).row,column:l.column+o},this.doc.remove(new r(s.row,s.column,s.row,s.column-n))}this.$updating=!1,this.updateMarkers()}},this.updateAnchors=function(e){this.pos.onChange(e);for(var t=this.others.length;t--;)this.others[t].onChange(e);this.updateMarkers()},this.updateMarkers=function(){if(!this.$updating){var e=this,t=this.session,n=function(n,i){t.removeMarker(n.markerId),n.markerId=t.addMarker(new r(n.row,n.column,n.row,n.column+e.length),i,null,!1)};n(this.pos,this.mainClass);for(var i=this.others.length;i--;)n(this.others[i],this.othersClass)}},this.onCursorChange=function(e){if(!this.$updating&&this.session){var t=this.session.selection.getCursor();t.row===this.pos.row&&t.column>=this.pos.column&&t.column<=this.pos.column+this.length?(this.showOtherMarkers(),this._emit("cursorEnter",e)):(this.hideOtherMarkers(),this._emit("cursorLeave",e))}},this.detach=function(){this.session.removeMarker(this.pos&&this.pos.markerId),this.hideOtherMarkers(),this.doc.removeEventListener("change",this.$onUpdate),this.session.selection.removeEventListener("changeCursor",this.$onCursorChange),this.session.setUndoSelect(!0),this.session=null},this.cancel=function(){if(-1!==this.$undoStackDepth){for(var e=this.session.getUndoManager(),t=(e.$undoStack||e.$undostack).length-this.$undoStackDepth,n=0;n1&&!this.inMultiSelectMode&&(this._signal("multiSelect"),this.inMultiSelectMode=!0,this.session.$undoSelect=!1,this.rangeList.attach(this.session)),t||this.fromOrientedRange(e)}},this.toSingleRange=function(e){e=e||this.ranges[0];var t=this.rangeList.removeAll();t.length&&this.$onRemoveRange(t),e&&this.fromOrientedRange(e)},this.substractPoint=function(e){var t=this.rangeList.substractPoint(e);if(t)return this.$onRemoveRange(t),t[0]},this.mergeOverlappingRanges=function(){var e=this.rangeList.merge();e.length?this.$onRemoveRange(e):this.ranges[0]&&this.fromOrientedRange(this.ranges[0])},this.$onAddRange=function(e){this.rangeCount=this.rangeList.ranges.length,this.ranges.unshift(e),this._signal("addRange",{range:e})},this.$onRemoveRange=function(e){if(this.rangeCount=this.rangeList.ranges.length,1==this.rangeCount&&this.inMultiSelectMode){var t=this.rangeList.ranges.pop();e.push(t),this.rangeCount=0}for(var n=e.length;n--;){var r=this.ranges.indexOf(e[n]);this.ranges.splice(r,1)}this._signal("removeRange",{ranges:e}),0===this.rangeCount&&this.inMultiSelectMode&&(this.inMultiSelectMode=!1,this._signal("singleSelect"),this.session.$undoSelect=!0,this.rangeList.detach(this.session)),(t=t||this.ranges[0])&&!t.isEqual(this.getRange())&&this.fromOrientedRange(t)},this.$initRangeList=function(){this.rangeList||(this.rangeList=new r,this.ranges=[],this.rangeCount=0)},this.getAllRanges=function(){return this.rangeCount?this.rangeList.ranges.concat():[this.getRange()]},this.splitIntoLines=function(){if(this.rangeCount>1){var e=this.rangeList.ranges,t=e[e.length-1],n=i.fromPoints(e[0].start,t.end);this.toSingleRange(),this.setSelectionRange(n,t.cursor==t.start)}else{n=this.getRange();var r=this.isBackwards(),o=n.start.row,a=n.end.row;if(o==a){if(r)var s=n.end,l=n.start;else s=n.start,l=n.end;return this.addRange(i.fromPoints(l,l)),void this.addRange(i.fromPoints(s,s))}var c=[],u=this.getLineRange(o,!0);u.start.column=n.start.column,c.push(u);for(var h=o+1;h1){var e=this.rangeList.ranges,t=e[e.length-1],n=i.fromPoints(e[0].start,t.end);this.toSingleRange(),this.setSelectionRange(n,t.cursor==t.start)}else{var r=this.session.documentToScreenPosition(this.selectionLead),o=this.session.documentToScreenPosition(this.selectionAnchor);this.rectangularRangeBlock(r,o).forEach(this.addRange,this)}},this.rectangularRangeBlock=function(e,t,n){var r=[],o=e.column0;)g--;if(g>0)for(var y=0;r[y].isEmpty();)y++;for(var v=g;v>=y;v--)r[v].isEmpty()&&r.splice(v,1)}return r}}.call(o.prototype);var p=e("./editor").Editor;function d(e){e.$multiselectOnSessionChange||(e.$onAddRange=e.$onAddRange.bind(e),e.$onRemoveRange=e.$onRemoveRange.bind(e),e.$onMultiSelect=e.$onMultiSelect.bind(e),e.$onSingleSelect=e.$onSingleSelect.bind(e),e.$multiselectOnSessionChange=t.onSessionChange.bind(e),e.$checkMultiselectChange=e.$checkMultiselectChange.bind(e),e.$multiselectOnSessionChange(e),e.on("changeSession",e.$multiselectOnSessionChange),e.on("mousedown",a),e.commands.addCommands(c.defaultCommands),function(e){var t=e.textInput.getElement(),n=!1;function r(t){n&&(e.renderer.setMouseCursor(""),n=!1)}s.addListener(t,"keydown",(function(t){var i=18==t.keyCode&&!(t.ctrlKey||t.shiftKey||t.metaKey);e.$blockSelectEnabled&&i?n||(e.renderer.setMouseCursor("crosshair"),n=!0):n&&r()})),s.addListener(t,"keyup",r),s.addListener(t,"blur",r)}(e))}(function(){this.updateSelectionMarkers=function(){this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.addSelectionMarker=function(e){e.cursor||(e.cursor=e.end);var t=this.getSelectionStyle();return e.marker=this.session.addMarker(e,"ace_selection",t),this.session.$selectionMarkers.push(e),this.session.selectionMarkerCount=this.session.$selectionMarkers.length,e},this.removeSelectionMarker=function(e){if(e.marker){this.session.removeMarker(e.marker);var t=this.session.$selectionMarkers.indexOf(e);-1!=t&&this.session.$selectionMarkers.splice(t,1),this.session.selectionMarkerCount=this.session.$selectionMarkers.length}},this.removeSelectionMarkers=function(e){for(var t=this.session.$selectionMarkers,n=e.length;n--;){var r=e[n];if(r.marker){this.session.removeMarker(r.marker);var i=t.indexOf(r);-1!=i&&t.splice(i,1)}}this.session.selectionMarkerCount=t.length},this.$onAddRange=function(e){this.addSelectionMarker(e.range),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onRemoveRange=function(e){this.removeSelectionMarkers(e.ranges),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onMultiSelect=function(e){this.inMultiSelectMode||(this.inMultiSelectMode=!0,this.setStyle("ace_multiselect"),this.keyBinding.addKeyboardHandler(c.keyboardHandler),this.commands.setDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers())},this.$onSingleSelect=function(e){this.session.multiSelect.inVirtualMode||(this.inMultiSelectMode=!1,this.unsetStyle("ace_multiselect"),this.keyBinding.removeKeyboardHandler(c.keyboardHandler),this.commands.removeDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers(),this._emit("changeSelection"))},this.$onMultiSelectExec=function(e){var t=e.command,n=e.editor;if(n.multiSelect){if(t.multiSelectAction)"forEach"==t.multiSelectAction?r=n.forEachSelection(t,e.args):"forEachLine"==t.multiSelectAction?r=n.forEachSelection(t,e.args,!0):"single"==t.multiSelectAction?(n.exitMultiSelectMode(),r=t.exec(n,e.args||{})):r=t.multiSelectAction(n,e.args||{});else{var r=t.exec(n,e.args||{});n.multiSelect.addRange(n.multiSelect.toOrientedRange()),n.multiSelect.mergeOverlappingRanges()}return r}},this.forEachSelection=function(e,t,n){if(!this.inVirtualSelectionMode){var r,i=n&&n.keepOrder,a=1==n||n&&n.$byLines,s=this.session,l=this.selection,c=l.rangeList,u=(i?l:c).ranges;if(!u.length)return e.exec?e.exec(this,t||{}):e(this,t||{});var h=l._eventRegistry;l._eventRegistry={};var p=new o(s);this.inVirtualSelectionMode=!0;for(var d=u.length;d--;){if(a)for(;d>0&&u[d].start.row==u[d-1].end.row;)d--;p.fromOrientedRange(u[d]),p.index=d,this.selection=s.selection=p;var f=e.exec?e.exec(this,t||{}):e(this,t||{});r||void 0===f||(r=f),p.toOrientedRange(u[d])}p.detach(),this.selection=s.selection=l,this.inVirtualSelectionMode=!1,l._eventRegistry=h,l.mergeOverlappingRanges();var m=this.renderer.$scrollAnimation;return this.onCursorChange(),this.onSelectionChange(),m&&m.from==m.to&&this.renderer.animateScrolling(m.from),r}},this.exitMultiSelectMode=function(){this.inMultiSelectMode&&!this.inVirtualSelectionMode&&this.multiSelect.toSingleRange()},this.getSelectedText=function(){var e="";if(this.inMultiSelectMode&&!this.inVirtualSelectionMode){for(var t=this.multiSelect.rangeList.ranges,n=[],r=0;ra&&(a=n.column),ru?e.insert(r,l.stringRepeat(" ",o-u)):e.remove(new i(r.row,r.column,r.row,r.column-o+u)),t.start.column=t.end.column=a,t.start.row=t.end.row=r.row,t.cursor=t.end})),t.fromOrientedRange(n[0]),this.renderer.updateCursor(),this.renderer.updateBackMarkers()}else{var u=this.selection.getRange(),h=u.start.row,p=u.end.row,d=h==p;if(d){var f,m=this.session.getLength();do{f=this.session.getLine(p)}while(/[=:]/.test(f)&&++p0);h<0&&(h=0),p>=m&&(p=m-1)}var g=this.session.removeFullLines(h,p);g=this.$reAlignText(g,d),this.session.insert({row:h,column:0},g.join("\n")+"\n"),d||(u.start.column=0,u.end.column=g[g.length-1].length),this.selection.setRange(u)}},this.$reAlignText=function(e,t){var n,r,i,o=!0,a=!0;return e.map((function(e){var t=e.match(/(\s*)(.*?)(\s*)([=:].*)/);return t?null==n?(n=t[1].length,r=t[2].length,i=t[3].length,t):(n+r+i!=t[1].length+t[2].length+t[3].length&&(a=!1),n!=t[1].length&&(o=!1),n>t[1].length&&(n=t[1].length),rt[3].length&&(i=t[3].length),t):[e]})).map(t?c:o?a?function(e){return e[2]?s(n+r-e[2].length)+e[2]+s(i)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]}:c:function(e){return e[2]?s(n)+e[2]+s(i)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]});function s(e){return l.stringRepeat(" ",e)}function c(e){return e[2]?s(n)+e[2]+s(r-e[2].length+i)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]}}}).call(p.prototype),t.onSessionChange=function(e){var t=e.session;t&&!t.multiSelect&&(t.$selectionMarkers=[],t.selection.$initRangeList(),t.multiSelect=t.selection),this.multiSelect=t&&t.multiSelect;var n=e.oldSession;n&&(n.multiSelect.off("addRange",this.$onAddRange),n.multiSelect.off("removeRange",this.$onRemoveRange),n.multiSelect.off("multiSelect",this.$onMultiSelect),n.multiSelect.off("singleSelect",this.$onSingleSelect),n.multiSelect.lead.off("change",this.$checkMultiselectChange),n.multiSelect.anchor.off("change",this.$checkMultiselectChange)),t&&(t.multiSelect.on("addRange",this.$onAddRange),t.multiSelect.on("removeRange",this.$onRemoveRange),t.multiSelect.on("multiSelect",this.$onMultiSelect),t.multiSelect.on("singleSelect",this.$onSingleSelect),t.multiSelect.lead.on("change",this.$checkMultiselectChange),t.multiSelect.anchor.on("change",this.$checkMultiselectChange)),t&&this.inMultiSelectMode!=t.selection.inMultiSelectMode&&(t.selection.inMultiSelectMode?this.$onMultiSelect():this.$onSingleSelect())},t.MultiSelect=d,e("./config").defineOptions(p.prototype,"editor",{enableMultiselect:{set:function(e){d(this),e?(this.on("changeSession",this.$multiselectOnSessionChange),this.on("mousedown",a)):(this.off("changeSession",this.$multiselectOnSessionChange),this.off("mousedown",a))},value:!0},enableBlockSelect:{set:function(e){this.$blockSelectEnabled=e},value:!0}})})),ace.define("ace/mode/folding/fold_mode",["require","exports","module","ace/range"],(function(e,t,n){"use strict";var r=e("../../range").Range,i=t.FoldMode=function(){};(function(){this.foldingStartMarker=null,this.foldingStopMarker=null,this.getFoldWidget=function(e,t,n){var r=e.getLine(n);return this.foldingStartMarker.test(r)?"start":"markbeginend"==t&&this.foldingStopMarker&&this.foldingStopMarker.test(r)?"end":""},this.getFoldWidgetRange=function(e,t,n){return null},this.indentationBlock=function(e,t,n){var i=/\S/,o=e.getLine(t),a=o.search(i);if(-1!=a){for(var s=n||o.length,l=e.getLength(),c=t,u=t;++tc){var p=e.getLine(u).length;return new r(c,s,u,p)}}},this.openingBracketBlock=function(e,t,n,i,o){var a={row:n,column:i+1},s=e.$findClosingBracket(t,a,o);if(s){var l=e.foldWidgets[s.row];return null==l&&(l=e.getFoldWidget(s.row)),"start"==l&&s.row>a.row&&(s.row--,s.column=e.getLine(s.row).length),r.fromPoints(a,s)}},this.closingBracketBlock=function(e,t,n,i,o){var a={row:n,column:i},s=e.$findOpeningBracket(t,a);if(s)return s.column++,a.column--,r.fromPoints(s,a)}}).call(i.prototype)})),ace.define("ace/theme/textmate",["require","exports","module","ace/lib/dom"],(function(e,t,n){"use strict";t.isDark=!1,t.cssClass="ace-tm",t.cssText='.ace-tm .ace_gutter {background: #f0f0f0;color: #333;}.ace-tm .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-tm .ace_fold {background-color: #6B72E6;}.ace-tm {background-color: #FFFFFF;color: black;}.ace-tm .ace_cursor {color: black;}.ace-tm .ace_invisible {color: rgb(191, 191, 191);}.ace-tm .ace_storage,.ace-tm .ace_keyword {color: blue;}.ace-tm .ace_constant {color: rgb(197, 6, 11);}.ace-tm .ace_constant.ace_buildin {color: rgb(88, 72, 246);}.ace-tm .ace_constant.ace_language {color: rgb(88, 92, 246);}.ace-tm .ace_constant.ace_library {color: rgb(6, 150, 14);}.ace-tm .ace_invalid {background-color: rgba(255, 0, 0, 0.1);color: red;}.ace-tm .ace_support.ace_function {color: rgb(60, 76, 114);}.ace-tm .ace_support.ace_constant {color: rgb(6, 150, 14);}.ace-tm .ace_support.ace_type,.ace-tm .ace_support.ace_class {color: rgb(109, 121, 222);}.ace-tm .ace_keyword.ace_operator {color: rgb(104, 118, 135);}.ace-tm .ace_string {color: rgb(3, 106, 7);}.ace-tm .ace_comment {color: rgb(76, 136, 107);}.ace-tm .ace_comment.ace_doc {color: rgb(0, 102, 255);}.ace-tm .ace_comment.ace_doc.ace_tag {color: rgb(128, 159, 191);}.ace-tm .ace_constant.ace_numeric {color: rgb(0, 0, 205);}.ace-tm .ace_variable {color: rgb(49, 132, 149);}.ace-tm .ace_xml-pe {color: rgb(104, 104, 91);}.ace-tm .ace_entity.ace_name.ace_function {color: #0000A2;}.ace-tm .ace_heading {color: rgb(12, 7, 255);}.ace-tm .ace_list {color:rgb(185, 6, 144);}.ace-tm .ace_meta.ace_tag {color:rgb(0, 22, 142);}.ace-tm .ace_string.ace_regex {color: rgb(255, 0, 0)}.ace-tm .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-tm.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px white;}.ace-tm .ace_marker-layer .ace_step {background: rgb(252, 255, 0);}.ace-tm .ace_marker-layer .ace_stack {background: rgb(164, 229, 101);}.ace-tm .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-tm .ace_marker-layer .ace_active-line {background: rgba(0, 0, 0, 0.07);}.ace-tm .ace_gutter-active-line {background-color : #dcdcdc;}.ace-tm .ace_marker-layer .ace_selected-word {background: rgb(250, 250, 255);border: 1px solid rgb(200, 200, 250);}.ace-tm .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}',e("../lib/dom").importCssString(t.cssText,t.cssClass)})),ace.define("ace/line_widgets",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/range"],(function(e,t,n){"use strict";e("./lib/oop");var r=e("./lib/dom");function i(e){this.session=e,this.session.widgetManager=this,this.session.getRowLength=this.getRowLength,this.session.$getWidgetScreenLength=this.$getWidgetScreenLength,this.updateOnChange=this.updateOnChange.bind(this),this.renderWidgets=this.renderWidgets.bind(this),this.measureWidgets=this.measureWidgets.bind(this),this.session._changedWidgets=[],this.$onChangeEditor=this.$onChangeEditor.bind(this),this.session.on("change",this.updateOnChange),this.session.on("changeFold",this.updateOnFold),this.session.on("changeEditor",this.$onChangeEditor)}e("./range").Range,function(){this.getRowLength=function(e){var t;return t=this.lineWidgets&&this.lineWidgets[e]&&this.lineWidgets[e].rowCount||0,this.$useWrapMode&&this.$wrapData[e]?this.$wrapData[e].length+1+t:1+t},this.$getWidgetScreenLength=function(){var e=0;return this.lineWidgets.forEach((function(t){t&&t.rowCount&&!t.hidden&&(e+=t.rowCount)})),e},this.$onChangeEditor=function(e){this.attach(e.editor)},this.attach=function(e){e&&e.widgetManager&&e.widgetManager!=this&&e.widgetManager.detach(),this.editor!=e&&(this.detach(),this.editor=e,e&&(e.widgetManager=this,e.renderer.on("beforeRender",this.measureWidgets),e.renderer.on("afterRender",this.renderWidgets)))},this.detach=function(e){var t=this.editor;if(t){this.editor=null,t.widgetManager=null,t.renderer.off("beforeRender",this.measureWidgets),t.renderer.off("afterRender",this.renderWidgets);var n=this.session.lineWidgets;n&&n.forEach((function(e){e&&e.el&&e.el.parentNode&&(e._inDocument=!1,e.el.parentNode.removeChild(e.el))}))}},this.updateOnFold=function(e,t){var n=t.lineWidgets;if(n&&e.action){for(var r=e.data,i=r.start.row,o=r.end.row,a="add"==e.action,s=i+1;s0&&!r[i];)i--;this.firstRow=n.firstRow,this.lastRow=n.lastRow,t.$cursorLayer.config=n;for(var a=i;a<=o;a++){var s=r[a];if(s&&s.el)if(s.hidden)s.el.style.top=-100-(s.pixelHeight||0)+"px";else{s._inDocument||(s._inDocument=!0,t.container.appendChild(s.el));var l=t.$cursorLayer.getPixelPosition({row:a,column:0},!0).top;s.coverLine||(l+=n.lineHeight*this.session.getRowLineCount(s.row)),s.el.style.top=l-n.offset+"px";var c=s.coverGutter?0:t.gutterWidth;s.fixedWidth||(c-=t.scrollLeft),s.el.style.left=c+"px",s.fullWidth&&s.screenWidth&&(s.el.style.minWidth=n.width+2*n.padding+"px"),s.fixedWidth?s.el.style.right=t.scrollBar.getWidth()+"px":s.el.style.right=""}}}}}.call(i.prototype),t.LineWidgets=i})),ace.define("ace/ext/error_marker",["require","exports","module","ace/line_widgets","ace/lib/dom","ace/range"],(function(e,t,n){"use strict";var r=e("../line_widgets").LineWidgets,i=e("../lib/dom"),o=e("../range").Range;t.showErrorMarker=function(e,t){var n=e.session;n.widgetManager||(n.widgetManager=new r(n),n.widgetManager.attach(e));var a=e.getCursorPosition(),s=a.row,l=n.widgetManager.getWidgetsAtRow(s).filter((function(e){return"errorMarker"==e.type}))[0];l?l.destroy():s-=t;var c,u=function(e,t,n){var r=e.getAnnotations().sort(o.comparePoints);if(r.length){var i=function(e,t,n){for(var r=0,i=e.length-1;r<=i;){var o=r+i>>1,a=n(t,e[o]);if(a>0)r=o+1;else{if(!(a<0))return o;i=o-1}}return-(r+1)}(r,{row:t,column:-1},o.comparePoints);i<0&&(i=-i-1),i>=r.length?i=n>0?0:r.length-1:0===i&&n<0&&(i=r.length-1);var a=r[i];if(a&&n){if(a.row===t){do{a=r[i+=n]}while(a&&a.row===t);if(!a)return r.slice()}var s=[];t=a.row;do{s[n<0?"unshift":"push"](a),a=r[i+=n]}while(a&&a.row==t);return s.length&&s}}}(n,s,t);if(u){var h=u[0];a.column=(h.pos&&"number"!=typeof h.column?h.pos.sc:h.column)||0,a.row=h.row,c=e.renderer.$gutterLayer.$annotations[a.row]}else{if(l)return;c={text:["Looks good!"],className:"ace_ok"}}e.session.unfold(a.row),e.selection.moveToPosition(a);var p={row:a.row,fixedWidth:!0,coverGutter:!0,el:i.createElement("div"),type:"errorMarker"},d=p.el.appendChild(i.createElement("div")),f=p.el.appendChild(i.createElement("div"));f.className="error_widget_arrow "+c.className;var m=e.renderer.$cursorLayer.getPixelPosition(a).left;f.style.left=m+e.renderer.gutterWidth-5+"px",p.el.className="error_widget_wrapper",d.className="error_widget "+c.className,d.innerHTML=c.text.join("
"),d.appendChild(i.createElement("div"));var g=function(e,t,n){if(0===t&&("esc"===n||"return"===n))return p.destroy(),{command:"null"}};p.destroy=function(){e.$mouseHandler.isMousePressed||(e.keyBinding.removeKeyboardHandler(g),n.widgetManager.removeLineWidget(p),e.off("changeSelection",p.destroy),e.off("changeSession",p.destroy),e.off("mouseup",p.destroy),e.off("change",p.destroy))},e.keyBinding.addKeyboardHandler(g),e.on("changeSelection",p.destroy),e.on("changeSession",p.destroy),e.on("mouseup",p.destroy),e.on("change",p.destroy),e.session.widgetManager.addLineWidget(p),p.el.onmousedown=e.focus.bind(e),e.renderer.scrollCursorIntoView(null,.5,{bottom:p.el.offsetHeight})},i.importCssString(" .error_widget_wrapper { background: inherit; color: inherit; border:none } .error_widget { border-top: solid 2px; border-bottom: solid 2px; margin: 5px 0; padding: 10px 40px; white-space: pre-wrap; } .error_widget.ace_error, .error_widget_arrow.ace_error{ border-color: #ff5a5a } .error_widget.ace_warning, .error_widget_arrow.ace_warning{ border-color: #F1D817 } .error_widget.ace_info, .error_widget_arrow.ace_info{ border-color: #5a5a5a } .error_widget.ace_ok, .error_widget_arrow.ace_ok{ border-color: #5aaa5a } .error_widget_arrow { position: absolute; border: solid 5px; border-top-color: transparent!important; border-right-color: transparent!important; border-left-color: transparent!important; top: -5px; }","")})),ace.define("ace/ace",["require","exports","module","ace/lib/fixoldbrowsers","ace/lib/dom","ace/lib/event","ace/editor","ace/edit_session","ace/undomanager","ace/virtual_renderer","ace/worker/worker_client","ace/keyboard/hash_handler","ace/placeholder","ace/multi_select","ace/mode/folding/fold_mode","ace/theme/textmate","ace/ext/error_marker","ace/config"],(function(e,t,r){"use strict";e("./lib/fixoldbrowsers");var i=e("./lib/dom"),o=e("./lib/event"),a=e("./editor").Editor,s=e("./edit_session").EditSession,l=e("./undomanager").UndoManager,c=e("./virtual_renderer").VirtualRenderer;e("./worker/worker_client"),e("./keyboard/hash_handler"),e("./placeholder"),e("./multi_select"),e("./mode/folding/fold_mode"),e("./theme/textmate"),e("./ext/error_marker"),t.config=e("./config"),t.require=e,t.define=n.amdD,t.edit=function(e){if("string"==typeof e){var n=e;if(!(e=document.getElementById(n)))throw new Error("ace.edit can't find div #"+n)}if(e&&e.env&&e.env.editor instanceof a)return e.env.editor;var r="";if(e&&/input|textarea/i.test(e.tagName)){var s=e;r=s.value,e=i.createElement("pre"),s.parentNode.replaceChild(e,s)}else e&&(r=i.getInnerText(e),e.innerHTML="");var l=t.createEditSession(r),u=new a(new c(e));u.setSession(l);var h={document:l,editor:u,onResize:u.resize.bind(u,null)};return s&&(h.textarea=s),o.addListener(window,"resize",h.onResize),u.on("destroy",(function(){o.removeListener(window,"resize",h.onResize),h.editor.container.env=null})),u.container.env=u.env=h,u},t.createEditSession=function(e,t){var n=new s(e,t);return n.setUndoManager(new l),n},t.EditSession=s,t.UndoManager=l,t.version="1.2.6"})),ace.require(["ace/ace"],(function(e){for(var t in e&&(e.config.init(!0),e.define=ace.define),window.ace||(window.ace=e),e)e.hasOwnProperty(t)&&(window.ace[t]=e[t])}))},651:()=>{function e(t){return e="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(t)}ace.define("ace/snippets",["require","exports","module","ace/lib/oop","ace/lib/event_emitter","ace/lib/lang","ace/range","ace/anchor","ace/keyboard/hash_handler","ace/tokenizer","ace/lib/dom","ace/editor"],(function(t,n,r){"use strict";var i=t("./lib/oop"),o=t("./lib/event_emitter").EventEmitter,a=t("./lib/lang"),s=t("./range").Range,l=t("./anchor").Anchor,c=t("./keyboard/hash_handler").HashHandler,u=t("./tokenizer").Tokenizer,h=s.comparePoints,p=function(){this.snippetMap={},this.snippetNameMap={}};(function(){i.implement(this,o),this.getTokenizer=function(){function e(e,t,n){return e=e.substr(1),/^\d+$/.test(e)&&!n.inFormatString?[{tabstopId:parseInt(e,10)}]:[{text:e}]}function t(e){return"(?:[^\\\\"+e+"]|\\\\.)"}return p.$tokenizer=new u({start:[{regex:/:/,onMatch:function(e,t,n){return n.length&&n[0].expectIf?(n[0].expectIf=!1,n[0].elseBranch=n[0],[n[0]]):":"}},{regex:/\\./,onMatch:function(e,t,n){var r=e[1];return"}"==r&&n.length||-1!="`$\\".indexOf(r)?e=r:n.inFormatString&&("n"==r||"t"==r?e="\n":-1!="ulULE".indexOf(r)&&(e={changeCase:r,local:r>"a"})),[e]}},{regex:/}/,onMatch:function(e,t,n){return[n.length?n.shift():e]}},{regex:/\$(?:\d+|\w+)/,onMatch:e},{regex:/\$\{[\dA-Z_a-z]+/,onMatch:function(t,n,r){var i=e(t.substr(1),0,r);return r.unshift(i[0]),i},next:"snippetVar"},{regex:/\n/,token:"newline",merge:!1}],snippetVar:[{regex:"\\|"+t("\\|")+"*\\|",onMatch:function(e,t,n){n[0].choices=e.slice(1,-1).split(",")},next:"start"},{regex:"/("+t("/")+"+)/(?:("+t("/")+"*)/)(\\w*):?",onMatch:function(e,t,n){var r=n[0];return r.fmtString=e,e=this.splitRegex.exec(e),r.guard=e[1],r.fmt=e[2],r.flag=e[3],""},next:"start"},{regex:"`"+t("`")+"*`",onMatch:function(e,t,n){return n[0].code=e.splice(1,-1),""},next:"start"},{regex:"\\?",onMatch:function(e,t,n){n[0]&&(n[0].expectIf=!0)},next:"start"},{regex:"([^:}\\\\]|\\\\.)*:?",token:"",next:"start"}],formatString:[{regex:"/("+t("/")+"+)/",token:"regex"},{regex:"",onMatch:function(e,t,n){n.inFormatString=!0},next:"start"}]}),p.prototype.getTokenizer=function(){return p.$tokenizer},p.$tokenizer},this.tokenizeTmSnippet=function(e,t){return this.getTokenizer().getLineTokens(e,t).tokens.map((function(e){return e.value||e}))},this.$getDefaultValue=function(e,t){if(/^[A-Z]\d+$/.test(t)){var n=t.substr(1);return(this.variables[t[0]+"__"]||{})[n]}if(/^\d+$/.test(t))return(this.variables.__||{})[t];if(t=t.replace(/^TM_/,""),e){var r=e.session;switch(t){case"CURRENT_WORD":var i=r.getWordRange();case"SELECTION":case"SELECTED_TEXT":return r.getTextRange(i);case"CURRENT_LINE":return r.getLine(e.getCursorPosition().row);case"PREV_LINE":return r.getLine(e.getCursorPosition().row-1);case"LINE_INDEX":return e.getCursorPosition().column;case"LINE_NUMBER":return e.getCursorPosition().row+1;case"SOFT_TABS":return r.getUseSoftTabs()?"YES":"NO";case"TAB_SIZE":return r.getTabSize();case"FILENAME":case"FILEPATH":return"";case"FULLNAME":return"Ace"}}},this.variables={},this.getVariableValue=function(e,t){return this.variables.hasOwnProperty(t)?this.variables[t](e,t)||"":this.$getDefaultValue(e,t)||""},this.tmStrFormat=function(t,n,r){var i=n.flag||"",o=n.guard;o=new RegExp(o,i.replace(/[^gi]/,""));var a=this.tokenizeTmSnippet(n.fmt,"formatString"),s=this,l=t.replace(o,(function(){s.variables.__=arguments;for(var t=s.resolveVariables(a,r),n="E",i=0;i1?(_=t[t.length-1].length,v+=t.length-1):_+=e.length,b+=e}else e.start?e.end={row:v,column:_}:e.start={row:v,column:_}}));var E=t.getSelectionRange(),T=t.session.replace(E,b),x=new d(t),S=t.inVirtualSelectionMode&&t.selection.index;x.addTabstops(l,E.start,T,S)},this.insertSnippet=function(e,t){var n=this;if(e.inVirtualSelectionMode)return n.insertSnippetForSelection(e,t);e.forEachSelection((function(){n.insertSnippetForSelection(e,t)}),null,{keepOrder:!0}),e.tabstopManager&&e.tabstopManager.tabNext()},this.$getScope=function(t){var n=t.session.$mode.$id||"";if("html"===(n=n.split("/").pop())||"php"===n){"php"!==n||t.session.$mode.inlinePhp||(n="html");var r=t.getCursorPosition(),i=t.session.getState(r.row);"object"===e(i)&&(i=i[0]),i.substring&&("js-"==i.substring(0,3)?n="javascript":"css-"==i.substring(0,4)?n="css":"php-"==i.substring(0,4)&&(n="php"))}return n},this.getActiveScopes=function(e){var t=this.$getScope(e),n=[t],r=this.snippetMap;return r[t]&&r[t].includeScopes&&n.push.apply(n,r[t].includeScopes),n.push("_"),n},this.expandWithTab=function(e,t){var n=this,r=e.forEachSelection((function(){return n.expandSnippetForSelection(e,t)}),null,{keepOrder:!0});return r&&e.tabstopManager&&e.tabstopManager.tabNext(),r},this.expandSnippetForSelection=function(e,t){var n,r=e.getCursorPosition(),i=e.session.getLine(r.row),o=i.substring(0,r.column),a=i.substr(r.column),s=this.snippetMap;return this.getActiveScopes(e).some((function(e){var t=s[e];return t&&(n=this.findMatchingSnippet(t,o,a)),!!n}),this),!!n&&(t&&t.dryRun||(e.session.doc.removeInLine(r.row,r.column-n.replaceBefore.length,r.column+n.replaceAfter.length),this.variables.M__=n.matchBefore,this.variables.T__=n.matchAfter,this.insertSnippetForSelection(e,n.content),this.variables.M__=this.variables.T__=null),!0)},this.findMatchingSnippet=function(e,t,n){for(var r=e.length;r--;){var i=e[r];if((!i.startRe||i.startRe.test(t))&&(!i.endRe||i.endRe.test(n))&&(i.startRe||i.endRe))return i.matchBefore=i.startRe?i.startRe.exec(t):[""],i.matchAfter=i.endRe?i.endRe.exec(n):[""],i.replaceBefore=i.triggerRe?i.triggerRe.exec(t)[0]:"",i.replaceAfter=i.endTriggerRe?i.endTriggerRe.exec(n)[0]:"",i}},this.snippetMap={},this.snippetNameMap={},this.register=function(e,t){var n=this.snippetMap,r=this.snippetNameMap,i=this;function o(e){return e&&!/^\^?\(.*\)\$?$|^\\b$/.test(e)&&(e="(?:"+e+")"),e||""}function s(e,t,n){return e=o(e),t=o(t),n?(e=t+e)&&"$"!=e[e.length-1]&&(e+="$"):(e+=t)&&"^"!=e[0]&&(e="^"+e),new RegExp(e)}function l(e){e.scope||(e.scope=t||"_"),t=e.scope,n[t]||(n[t]=[],r[t]={});var o=r[t];if(e.name){var l=o[e.name];l&&i.unregister(l),o[e.name]=e}n[t].push(e),e.tabTrigger&&!e.trigger&&(!e.guard&&/^\w/.test(e.tabTrigger)&&(e.guard="\\b"),e.trigger=a.escapeRegExp(e.tabTrigger)),(e.trigger||e.guard||e.endTrigger||e.endGuard)&&(e.startRe=s(e.trigger,e.guard,!0),e.triggerRe=new RegExp(e.trigger,"",!0),e.endRe=s(e.endTrigger,e.endGuard,!0),e.endTriggerRe=new RegExp(e.endTrigger,"",!0))}e||(e=[]),e&&e.content?l(e):Array.isArray(e)&&e.forEach(l),this._signal("registerSnippets",{scope:t})},this.unregister=function(e,t){var n=this.snippetMap,r=this.snippetNameMap;function i(e){var i=r[e.scope||t];if(i&&i[e.name]){delete i[e.name];var o=n[e.scope||t],a=o&&o.indexOf(e);a>=0&&o.splice(a,1)}}e.content?i(e):Array.isArray(e)&&e.forEach(i)},this.parseSnippetFile=function(e){e=e.replace(/\r/g,"");for(var t,n=[],r={},i=/^#.*|^({[\s\S]*})\s*$|^(\S+) (.*)$|^((?:\n*\t.*)+)/gm;t=i.exec(e);){if(t[1])try{r=JSON.parse(t[1]),n.push(r)}catch(e){}if(t[4])r.content=t[4].replace(/^\t/gm,""),n.push(r),r={};else{var o=t[2],a=t[3];if("regex"==o){var s=/\/((?:[^\/\\]|\\.)*)|$/g;r.guard=s.exec(a)[1],r.trigger=s.exec(a)[1],r.endTrigger=s.exec(a)[1],r.endGuard=s.exec(a)[1]}else"snippet"==o?(r.tabTrigger=a.match(/^\S*/)[0],r.name||(r.name=a)):r[o]=a}}return n},this.getSnippetByName=function(e,t){var n,r=this.snippetNameMap;return this.getActiveScopes(t).some((function(t){var i=r[t];return i&&(n=i[e]),!!n}),this),n}}).call(p.prototype);var d=function(e){if(e.tabstopManager)return e.tabstopManager;e.tabstopManager=this,this.$onChange=this.onChange.bind(this),this.$onChangeSelection=a.delayedCall(this.onChangeSelection.bind(this)).schedule,this.$onChangeSession=this.onChangeSession.bind(this),this.$onAfterExec=this.onAfterExec.bind(this),this.attach(e)};(function(){this.attach=function(e){this.index=0,this.ranges=[],this.tabstops=[],this.$openTabstops=null,this.selectedTabstop=null,this.editor=e,this.editor.on("change",this.$onChange),this.editor.on("changeSelection",this.$onChangeSelection),this.editor.on("changeSession",this.$onChangeSession),this.editor.commands.on("afterExec",this.$onAfterExec),this.editor.keyBinding.addKeyboardHandler(this.keyboardHandler)},this.detach=function(){this.tabstops.forEach(this.removeTabstopMarkers,this),this.ranges=null,this.tabstops=null,this.selectedTabstop=null,this.editor.removeListener("change",this.$onChange),this.editor.removeListener("changeSelection",this.$onChangeSelection),this.editor.removeListener("changeSession",this.$onChangeSession),this.editor.commands.removeListener("afterExec",this.$onAfterExec),this.editor.keyBinding.removeKeyboardHandler(this.keyboardHandler),this.editor.tabstopManager=null,this.editor=null},this.onChange=function(e){var t="r"==e.action[0],n=e.start,r=e.end,i=n.row,o=r.row-i,a=r.column-n.column;if(t&&(o=-o,a=-a),!this.$inChange&&t){var s=this.selectedTabstop,l=s&&!s.some((function(e){return h(e.start,n)<=0&&h(e.end,r)>=0}));if(l)return this.detach()}for(var c=this.ranges,u=0;u0?(this.removeRange(p),u--):(p.start.row==i&&p.start.column>n.column&&(p.start.column+=a),p.end.row==i&&p.end.column>=n.column&&(p.end.column+=a),p.start.row>=i&&(p.start.row+=o),p.end.row>=i&&(p.end.row+=o),h(p.start,p.end)>0&&this.removeRange(p)))}c.length||this.detach()},this.updateLinkedFields=function(){var e=this.selectedTabstop;if(e&&e.hasLinkedRanges){this.$inChange=!0;for(var t=this.editor.session,r=t.getTextRange(e.firstNonLinked),i=e.length;i--;){var o=e[i];if(o.linked){var a=n.snippetManager.tmStrFormat(r,o.original);t.replace(o,a)}}this.$inChange=!1}},this.onAfterExec=function(e){e.command&&!e.command.readOnly&&this.updateLinkedFields()},this.onChangeSelection=function(){if(this.editor){for(var e=this.editor.selection.lead,t=this.editor.selection.anchor,n=this.editor.selection.isEmpty(),r=this.ranges.length;r--;)if(!this.ranges[r].linked){var i=this.ranges[r].contains(e.row,e.column),o=n||this.ranges[r].contains(t.row,t.column);if(i&&o)return}this.detach()}},this.onChangeSession=function(){this.detach()},this.tabNext=function(e){var t=this.tabstops.length,n=this.index+(e||1);(n=Math.min(Math.max(n,1),t))==t&&(n=0),this.selectTabstop(n),0===n&&this.detach()},this.selectTabstop=function(e){this.$openTabstops=null;var t=this.tabstops[this.index];if(t&&this.addTabstopMarkers(t),this.index=e,(t=this.tabstops[this.index])&&t.length){if(this.selectedTabstop=t,this.editor.inVirtualSelectionMode)this.editor.selection.setRange(t.firstNonLinked);else{var n=this.editor.multiSelect;n.toSingleRange(t.firstNonLinked.clone());for(var r=t.length;r--;)t.hasLinkedRanges&&t[r].linked||n.addRange(t[r].clone(),!0);n.ranges[0]&&n.addRange(n.ranges[0].clone())}this.editor.keyBinding.addKeyboardHandler(this.keyboardHandler)}},this.addTabstops=function(e,t,n){if(this.$openTabstops||(this.$openTabstops=[]),!e[0]){var r=s.fromPoints(n,n);g(r.start,t),g(r.end,t),e[0]=[r],e[0].index=0}var i=[this.index+1,0],o=this.ranges;e.forEach((function(e,n){for(var r=this.$openTabstops[n]||e,a=e.length;a--;){var l=e[a],c=s.fromPoints(l.start,l.end||l.start);m(c.start,t),m(c.end,t),c.original=l,c.tabstop=r,o.push(c),r!=e?r.unshift(c):r[a]=c,l.fmtString?(c.linked=!0,r.hasLinkedRanges=!0):r.firstNonLinked||(r.firstNonLinked=c)}r.firstNonLinked||(r.hasLinkedRanges=!1),r===e&&(i.push(r),this.$openTabstops[n]=r),this.addTabstopMarkers(r)}),this),i.length>2&&(this.tabstops.length&&i.push(i.splice(2,1)[0]),this.tabstops.splice.apply(this.tabstops,i))},this.addTabstopMarkers=function(e){var t=this.editor.session;e.forEach((function(e){e.markerId||(e.markerId=t.addMarker(e,"ace_snippet-marker","text"))}))},this.removeTabstopMarkers=function(e){var t=this.editor.session;e.forEach((function(e){t.removeMarker(e.markerId),e.markerId=null}))},this.removeRange=function(e){var t=e.tabstop.indexOf(e);e.tabstop.splice(t,1),t=this.ranges.indexOf(e),this.ranges.splice(t,1),this.editor.session.removeMarker(e.markerId),e.tabstop.length||(-1!=(t=this.tabstops.indexOf(e.tabstop))&&this.tabstops.splice(t,1),this.tabstops.length||this.detach())},this.keyboardHandler=new c,this.keyboardHandler.bindKeys({Tab:function(e){n.snippetManager&&n.snippetManager.expandWithTab(e)||e.tabstopManager.tabNext(1)},"Shift-Tab":function(e){e.tabstopManager.tabNext(-1)},Esc:function(e){e.tabstopManager.detach()},Return:function(e){return!1}})}).call(d.prototype);var f={};f.onChange=l.prototype.onChange,f.setPosition=function(e,t){this.pos.row=e,this.pos.column=t},f.update=function(e,t,n){this.$insertRight=n,this.pos=e,this.onChange(t)};var m=function(e,t){0==e.row&&(e.column+=t.column),e.row+=t.row},g=function(e,t){e.row==t.row&&(e.column-=t.column),e.row-=t.row};t("./lib/dom").importCssString(".ace_snippet-marker { -moz-box-sizing: border-box; box-sizing: border-box; background: rgba(194, 193, 208, 0.09); border: 1px dotted rgba(211, 208, 235, 0.62); position: absolute;}"),n.snippetManager=new p;var y=t("./editor").Editor;(function(){this.insertSnippet=function(e,t){return n.snippetManager.insertSnippet(this,e,t)},this.expandSnippet=function(e){return n.snippetManager.expandWithTab(this,e)}}).call(y.prototype)})),ace.define("ace/autocomplete/popup",["require","exports","module","ace/virtual_renderer","ace/editor","ace/range","ace/lib/event","ace/lib/lang","ace/lib/dom"],(function(e,t,n){"use strict";var r=e("../virtual_renderer").VirtualRenderer,i=e("../editor").Editor,o=e("../range").Range,a=e("../lib/event"),s=e("../lib/lang"),l=e("../lib/dom"),c=function(e){var t=new r(e);t.$maxLines=4;var n=new i(t);return n.setHighlightActiveLine(!1),n.setShowPrintMargin(!1),n.renderer.setShowGutter(!1),n.renderer.setHighlightGutterLine(!1),n.$mouseHandler.$focusWaitTimout=0,n.$highlightTagPending=!0,n};l.importCssString(".ace_editor.ace_autocomplete .ace_marker-layer .ace_active-line { background-color: #CAD6FA; z-index: 1;}.ace_editor.ace_autocomplete .ace_line-hover { border: 1px solid #abbffe; margin-top: -1px; background: rgba(233,233,253,0.4);}.ace_editor.ace_autocomplete .ace_line-hover { position: absolute; z-index: 2;}.ace_editor.ace_autocomplete .ace_scroller { background: none; border: none; box-shadow: none;}.ace_rightAlignedText { color: gray; display: inline-block; position: absolute; right: 4px; text-align: right; z-index: -1;}.ace_editor.ace_autocomplete .ace_completion-highlight{ color: darkviolet; text-shadow: 0 0 0.01em; font-weight: bold;}.ace_editor.ace_autocomplete { width: 280px; z-index: 200000; background: #fbfbfb; color: #444; border: 1px rgba(233,233,253,0.4) solid; position: fixed; box-shadow: 2px 3px 5px rgba(0,0,0,.2); line-height: 1.4;}"),t.AcePopup=function(e){var t=l.createElement("div"),n=new c(t);e&&e.appendChild(t),t.style.display="none",n.renderer.content.style.cursor="default",n.renderer.setStyle("ace_autocomplete"),n.setOption("displayIndentGuides",!1),n.setOption("dragDelay",150);var r,i=function(){};n.focus=i,n.$isFocused=!0,n.renderer.$cursorLayer.restartTimer=i,n.renderer.$cursorLayer.element.style.opacity=0,n.renderer.$maxLines=8,n.renderer.$keepTextAreaAtCursor=!1,n.setHighlightActiveLine(!1),n.session.highlight(""),n.session.$searchHighlight.clazz="ace_highlight-marker",n.on("mousedown",(function(e){var t=e.getDocumentPosition();n.selection.moveToPosition(t),h.start.row=h.end.row=t.row,e.stop()}));var u=new o(-1,0,-1,1/0),h=new o(-1,0,-1,1/0);h.id=n.session.addMarker(h,"ace_active-line","fullLine"),n.setSelectOnHover=function(e){e?u.id&&(n.session.removeMarker(u.id),u.id=null):u.id=n.session.addMarker(u,"ace_line-hover","fullLine")},n.setSelectOnHover(!1),n.on("mousemove",(function(e){if(r){if(r.x!=e.x||r.y!=e.y){(r=e).scrollTop=n.renderer.scrollTop;var t=r.getDocumentPosition().row;u.start.row!=t&&(u.id||n.setRow(t),d(t))}}else r=e})),n.renderer.on("beforeRender",(function(){if(r&&-1!=u.start.row){r.$pos=null;var e=r.getDocumentPosition().row;u.id||n.setRow(e),d(e,!0)}})),n.renderer.on("afterRender",(function(){var e=n.getRow(),t=n.renderer.$textLayer,r=t.element.childNodes[e-t.config.firstRow];r!=t.selectedNode&&(t.selectedNode&&l.removeCssClass(t.selectedNode,"ace_selected"),t.selectedNode=r,r&&l.addCssClass(r,"ace_selected"))}));var p=function(){d(-1)},d=function(e,t){e!==u.start.row&&(u.start.row=u.end.row=e,t||n.session._emit("changeBackMarker"),n._emit("changeHoverMarker"))};n.getHoveredRow=function(){return u.start.row},a.addListener(n.container,"mouseout",p),n.on("hide",p),n.on("changeSelection",p),n.session.doc.getLength=function(){return n.data.length},n.session.doc.getLine=function(e){var t=n.data[e];return"string"==typeof t?t:t&&t.value||""};var f=n.session.bgTokenizer;return f.$tokenizeRow=function(e){var t=n.data[e],r=[];if(!t)return r;"string"==typeof t&&(t={value:t}),t.caption||(t.caption=t.value||t.name);for(var i,o,a=-1,s=0;sl-2&&(c=c.substr(0,l-t.caption.length-3)+"…"),r.push({type:"rightAlignedText",value:c})}return r},f.$updateOnChange=i,f.start=i,n.session.$computeWidth=function(){return this.screenWidth=0},n.$blockScrolling=1/0,n.isOpen=!1,n.isTopdown=!1,n.data=[],n.setData=function(e){n.setValue(s.stringRepeat("\n",e.length),-1),n.data=e||[],n.setRow(0)},n.getData=function(e){return n.data[e]},n.getRow=function(){return h.start.row},n.setRow=function(e){e=Math.max(0,Math.min(this.data.length,e)),h.start.row!=e&&(n.selection.clearSelection(),h.start.row=h.end.row=e||0,n.session._emit("changeBackMarker"),n.moveCursorTo(e||0,0),n.isOpen&&n._signal("select"))},n.on("changeSelection",(function(){n.isOpen&&n.setRow(n.selection.lead.row),n.renderer.scrollCursorIntoView()})),n.hide=function(){this.container.style.display="none",this._signal("hide"),n.isOpen=!1},n.show=function(e,t,i){var o=this.container,a=window.innerHeight,s=window.innerWidth,l=this.renderer,c=l.$maxLines*t*1.4,u=e.top+this.$borderSize;u>a/2&&!i&&u+t+c>a?(l.$maxPixelHeight=u-2*this.$borderSize,o.style.top="",o.style.bottom=a-u+"px",n.isTopdown=!1):(u+=t,l.$maxPixelHeight=a-u-.2*t,o.style.top=u+"px",o.style.bottom="",n.isTopdown=!0),o.style.display="",this.renderer.$textLayer.checkForSizeChanges();var h=e.left;h+o.offsetWidth>s&&(h=s-o.offsetWidth),o.style.left=h+"px",this._signal("show"),r=null,n.isOpen=!0},n.getTextLeftOffset=function(){return this.$borderSize+this.renderer.$padding+this.$imageSize},n.$imageSize=0,n.$borderSize=1,n}})),ace.define("ace/autocomplete/util",["require","exports","module"],(function(e,t,n){"use strict";t.parForEach=function(e,t,n){var r=0,i=e.length;0===i&&n();for(var o=0;o=0&&n.test(e[o]);o--)i.push(e[o]);return i.reverse().join("")},t.retrieveFollowingIdentifier=function(e,t,n){n=n||r;for(var i=[],o=t;o=n?-1:t+1;break;case"start":t=0;break;case"end":t=n}this.popup.setRow(t)},this.insertMatch=function(e,t){if(e||(e=this.popup.getData(this.popup.getRow())),!e)return!1;if(e.completer&&e.completer.insertMatch)e.completer.insertMatch(this.editor,e);else{if(this.completions.filterText)for(var n,r=this.editor.selection.getAllRanges(),i=0;n=r[i];i++)n.start.column-=this.completions.filterText.length,this.editor.session.remove(n);e.snippet?l.insertSnippet(this.editor,e.snippet):this.editor.execCommand("insertstring",e.value||e)}this.detach()},this.commands={Up:function(e){e.completer.goTo("up")},Down:function(e){e.completer.goTo("down")},"Ctrl-Up|Ctrl-Home":function(e){e.completer.goTo("start")},"Ctrl-Down|Ctrl-End":function(e){e.completer.goTo("end")},Esc:function(e){e.completer.detach()},Return:function(e){return e.completer.insertMatch()},"Shift-Return":function(e){e.completer.insertMatch(null,{deleteSuffix:!0})},Tab:function(e){var t=e.completer.insertMatch();if(t||e.tabstopManager)return t;e.completer.goTo("down")},PageUp:function(e){e.completer.popup.gotoPageUp()},PageDown:function(e){e.completer.popup.gotoPageDown()}},this.gatherCompletions=function(e,t){var n=e.getSession(),r=e.getCursorPosition(),i=(n.getLine(r.row),o.getCompletionPrefix(e));this.base=n.doc.createAnchor(r.row,r.column-i.length),this.base.$insertRight=!0;var a=[],s=e.completers.length;return e.completers.forEach((function(o,l){o.getCompletions(e,n,r,i,(function(r,o){!r&&o&&(a=a.concat(o));var l=e.getCursorPosition();n.getLine(l.row),t(null,{prefix:i,matches:a,finished:0==--s})}))})),!0},this.showPopup=function(e){this.editor&&this.detach(),this.activated=!0,this.editor=e,e.completer!=this&&(e.completer&&e.completer.detach(),e.completer=this),e.on("changeSelection",this.changeListener),e.on("blur",this.blurListener),e.on("mousedown",this.mousedownListener),e.on("mousewheel",this.mousewheelListener),this.updateCompletions()},this.updateCompletions=function(e){if(e&&this.base&&this.completions){var t=this.editor.getCursorPosition(),n=this.editor.session.getTextRange({start:this.base,end:t});if(n==this.completions.filterText)return;return this.completions.setFilter(n),this.completions.filtered.length&&(1!=this.completions.filtered.length||this.completions.filtered[0].value!=n||this.completions.filtered[0].snippet)?void this.openPopup(this.editor,n,e):this.detach()}var r=this.gatherCompletionsId;this.gatherCompletions(this.editor,function(t,n){var i=function(){if(n.finished)return this.detach()}.bind(this),o=n.prefix,a=n&&n.matches;if(!a||!a.length)return i();if(0===o.indexOf(n.prefix)&&r==this.gatherCompletionsId){this.completions=new u(a),this.exactMatch&&(this.completions.exactMatch=!0),this.completions.setFilter(o);var s=this.completions.filtered;return s.length&&(1!=s.length||s[0].value!=o||s[0].snippet)?this.autoInsert&&1==s.length&&n.finished?this.insertMatch(s[0]):void this.openPopup(this.editor,o,e):i()}}.bind(this))},this.cancelContextMenu=function(){this.editor.$mouseHandler.cancelContextMenu()},this.updateDocTooltip=function(){var e=this.popup,t=e.data,n=t&&(t[e.getHoveredRow()]||t[e.getRow()]),r=null;return n&&this.editor&&this.popup.isOpen?(this.editor.completers.some((function(e){return e.getDocTooltip&&(r=e.getDocTooltip(n)),r})),r||(r=n),"string"==typeof r&&(r={docText:r}),r&&(r.docHTML||r.docText)?void this.showDocTooltip(r):this.hideDocTooltip()):this.hideDocTooltip()},this.showDocTooltip=function(e){this.tooltipNode||(this.tooltipNode=s.createElement("div"),this.tooltipNode.className="ace_tooltip ace_doc-tooltip",this.tooltipNode.style.margin=0,this.tooltipNode.style.pointerEvents="auto",this.tooltipNode.tabIndex=-1,this.tooltipNode.onblur=this.blurListener.bind(this),this.tooltipNode.onclick=this.onTooltipClick.bind(this));var t=this.tooltipNode;e.docHTML?t.innerHTML=e.docHTML:e.docText&&(t.textContent=e.docText),t.parentNode||document.body.appendChild(t);var n=this.popup,r=n.container.getBoundingClientRect();t.style.top=n.container.style.top,t.style.bottom=n.container.style.bottom,window.innerWidth-r.right<320?(t.style.right=window.innerWidth-r.left+"px",t.style.left=""):(t.style.left=r.right+1+"px",t.style.right=""),t.style.display="block"},this.hideDocTooltip=function(){if(this.tooltipTimer.cancel(),this.tooltipNode){var e=this.tooltipNode;this.editor.isFocused()||document.activeElement!=e||this.editor.focus(),this.tooltipNode=null,e.parentNode&&e.parentNode.removeChild(e)}},this.onTooltipClick=function(e){for(var t=e.target;t&&t!=this.tooltipNode;){if("A"==t.nodeName&&t.href){t.rel="noreferrer",t.target="_blank";break}t=t.parentNode}}}).call(c.prototype),c.startCommand={name:"startAutocomplete",exec:function(e){e.completer||(e.completer=new c),e.completer.autoInsert=!1,e.completer.autoSelect=!0,e.completer.showPopup(e),e.completer.cancelContextMenu()},bindKey:"Ctrl-Space|Ctrl-Shift-Space|Alt-Space"};var u=function(e,t){this.all=e,this.filtered=e,this.filterText=t||"",this.exactMatch=!1};(function(){this.setFilter=function(e){if(e.length>this.filterText&&0===e.lastIndexOf(this.filterText,0))var t=this.filtered;else t=this.all;this.filterText=e,t=(t=this.filterCompletions(t,this.filterText)).sort((function(e,t){return t.exactMatch-e.exactMatch||t.score-e.score}));var n=null;t=t.filter((function(e){var t=e.snippet||e.caption||e.value;return t!==n&&(n=t,!0)})),this.filtered=t},this.filterCompletions=function(e,t){var n=[],r=t.toUpperCase(),i=t.toLowerCase();e:for(var o,a=0;o=e[a];a++){var s=o.value||o.caption||o.snippet;if(s){var l,c,u=-1,h=0,p=0;if(this.exactMatch){if(t!==s.substr(0,t.length))continue e}else for(var d=0;d=0&&(m<0||f0&&(-1===u&&(p+=10),p+=c),h|=1<",a.escapeHTML(e.caption),"","
",a.escapeHTML(e.snippet)].join(""))}},h=[u,l,c];t.setCompleters=function(e){h.length=0,e&&h.push.apply(h,e)},t.addCompleter=function(e){h.push(e)},t.textCompleter=l,t.keyWordCompleter=c,t.snippetCompleter=u;var p={name:"expandSnippet",exec:function(e){return r.expandWithTab(e)},bindKey:"Tab"},d=function(e,t){f(t.session.$mode)},f=function e(t){var n=t.$id;r.files||(r.files={}),m(n),t.modes&&t.modes.forEach(e)},m=function e(t){if(t&&!r.files[t]){var n=t.replace("mode","snippets");r.files[t]={},o.loadModule(n,(function(n){n&&(r.files[t]=n,!n.snippets&&n.snippetText&&(n.snippets=r.parseSnippetFile(n.snippetText)),r.register(n.snippets||[],n.scope),n.includeScopes&&(r.snippetMap[n.scope].includeScopes=n.includeScopes,n.includeScopes.forEach((function(t){e("ace/mode/"+t)}))))}))}},g=function(e){var t=e.editor,n=t.completer&&t.completer.activated;"backspace"===e.command.name?n&&!s.getCompletionPrefix(t)&&t.completer.detach():"insertstring"===e.command.name&&s.getCompletionPrefix(t)&&!n&&(t.completer||(t.completer=new i),t.completer.autoInsert=!1,t.completer.showPopup(t))},y=e("../editor").Editor;e("../config").defineOptions(y.prototype,"editor",{enableBasicAutocompletion:{set:function(e){e?(this.completers||(this.completers=Array.isArray(e)?e:h),this.commands.addCommand(i.startCommand)):this.commands.removeCommand(i.startCommand)},value:!1},enableLiveAutocompletion:{set:function(e){e?(this.completers||(this.completers=Array.isArray(e)?e:h),this.commands.on("afterExec",g)):this.commands.removeListener("afterExec",g)},value:!1},enableSnippets:{set:function(e){e?(this.commands.addCommand(p),this.on("changeMode",d),d(0,this)):(this.commands.removeCommand(p),this.off("changeMode",d))},value:!1}})})),ace.require(["ace/ext/language_tools"],(function(){}))},2902:()=>{ace.define("ace/mode/doc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],(function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,o=function e(){this.$rules={start:[{token:"comment.doc.tag",regex:"@[\\w\\d_]+"},e.getTagRule(),{defaultToken:"comment.doc",caseInsensitive:!0}]}};r.inherits(o,i),o.getTagRule=function(e){return{token:"comment.doc.tag.storage.type",regex:"\\b(?:TODO|FIXME|XXX|HACK)\\b"}},o.getStartRule=function(e){return{token:"comment.doc",regex:"\\/\\*(?=\\*)",next:e}},o.getEndRule=function(e){return{token:"comment.doc",regex:"\\*\\/",next:e}},t.DocCommentHighlightRules=o})),ace.define("ace/mode/javascript_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/doc_comment_highlight_rules","ace/mode/text_highlight_rules"],(function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./doc_comment_highlight_rules").DocCommentHighlightRules,o=e("./text_highlight_rules").TextHighlightRules,a="[a-zA-Z\\$_¡-￿][a-zA-Z\\d\\$_¡-￿]*",s=function(e){var t=this.createKeywordMapper({"variable.language":"Array|Boolean|Date|Function|Iterator|Number|Object|RegExp|String|Proxy|Namespace|QName|XML|XMLList|ArrayBuffer|Float32Array|Float64Array|Int16Array|Int32Array|Int8Array|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray|Error|EvalError|InternalError|RangeError|ReferenceError|StopIteration|SyntaxError|TypeError|URIError|decodeURI|decodeURIComponent|encodeURI|encodeURIComponent|eval|isFinite|isNaN|parseFloat|parseInt|JSON|Math|this|arguments|prototype|window|document",keyword:"const|yield|import|get|set|async|await|break|case|catch|continue|default|delete|do|else|finally|for|function|if|in|of|instanceof|new|return|switch|throw|try|typeof|let|var|while|with|debugger|__parent__|__count__|escape|unescape|with|__proto__|class|enum|extends|super|export|implements|private|public|interface|package|protected|static","storage.type":"const|let|var|function","constant.language":"null|Infinity|NaN|undefined","support.function":"alert","constant.language.boolean":"true|false"},"identifier"),n="\\\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|u{[0-9a-fA-F]{1,6}}|[0-2][0-7]{0,2}|3[0-7][0-7]?|[4-7][0-7]?|.)";this.$rules={no_regex:[i.getStartRule("doc-start"),c("no_regex"),{token:"string",regex:"'(?=.)",next:"qstring"},{token:"string",regex:'"(?=.)',next:"qqstring"},{token:"constant.numeric",regex:/0(?:[xX][0-9a-fA-F]+|[bB][01]+)\b/},{token:"constant.numeric",regex:/[+-]?\d[\d_]*(?:(?:\.\d*)?(?:[eE][+-]?\d+)?)?\b/},{token:["storage.type","punctuation.operator","support.function","punctuation.operator","entity.name.function","text","keyword.operator"],regex:"("+a+")(\\.)(prototype)(\\.)("+a+")(\\s*)(=)",next:"function_arguments"},{token:["storage.type","punctuation.operator","entity.name.function","text","keyword.operator","text","storage.type","text","paren.lparen"],regex:"("+a+")(\\.)("+a+")(\\s*)(=)(\\s*)(function)(\\s*)(\\()",next:"function_arguments"},{token:["entity.name.function","text","keyword.operator","text","storage.type","text","paren.lparen"],regex:"("+a+")(\\s*)(=)(\\s*)(function)(\\s*)(\\()",next:"function_arguments"},{token:["storage.type","punctuation.operator","entity.name.function","text","keyword.operator","text","storage.type","text","entity.name.function","text","paren.lparen"],regex:"("+a+")(\\.)("+a+")(\\s*)(=)(\\s*)(function)(\\s+)(\\w+)(\\s*)(\\()",next:"function_arguments"},{token:["storage.type","text","entity.name.function","text","paren.lparen"],regex:"(function)(\\s+)("+a+")(\\s*)(\\()",next:"function_arguments"},{token:["entity.name.function","text","punctuation.operator","text","storage.type","text","paren.lparen"],regex:"("+a+")(\\s*)(:)(\\s*)(function)(\\s*)(\\()",next:"function_arguments"},{token:["text","text","storage.type","text","paren.lparen"],regex:"(:)(\\s*)(function)(\\s*)(\\()",next:"function_arguments"},{token:"keyword",regex:"from(?=\\s*('|\"))"},{token:"keyword",regex:"(?:case|do|else|finally|in|instanceof|return|throw|try|typeof|yield|void)\\b",next:"start"},{token:["support.constant"],regex:/that\b/},{token:["storage.type","punctuation.operator","support.function.firebug"],regex:/(console)(\.)(warn|info|log|error|time|trace|timeEnd|assert)\b/},{token:t,regex:a},{token:"punctuation.operator",regex:/[.](?![.])/,next:"property"},{token:"keyword.operator",regex:/--|\+\+|\.{3}|===|==|=|!=|!==|<+=?|>+=?|!|&&|\|\||\?:|[!$%&*+\-~\/^]=?/,next:"start"},{token:"punctuation.operator",regex:/[?:,;.]/,next:"start"},{token:"paren.lparen",regex:/[\[({]/,next:"start"},{token:"paren.rparen",regex:/[\])}]/},{token:"comment",regex:/^#!.*$/}],property:[{token:"text",regex:"\\s+"},{token:["storage.type","punctuation.operator","entity.name.function","text","keyword.operator","text","storage.type","text","entity.name.function","text","paren.lparen"],regex:"("+a+")(\\.)("+a+")(\\s*)(=)(\\s*)(function)(?:(\\s+)(\\w+))?(\\s*)(\\()",next:"function_arguments"},{token:"punctuation.operator",regex:/[.](?![.])/},{token:"support.function",regex:/(s(?:h(?:ift|ow(?:Mod(?:elessDialog|alDialog)|Help))|croll(?:X|By(?:Pages|Lines)?|Y|To)?|t(?:op|rike)|i(?:n|zeToContent|debar|gnText)|ort|u(?:p|b(?:str(?:ing)?)?)|pli(?:ce|t)|e(?:nd|t(?:Re(?:sizable|questHeader)|M(?:i(?:nutes|lliseconds)|onth)|Seconds|Ho(?:tKeys|urs)|Year|Cursor|Time(?:out)?|Interval|ZOptions|Date|UTC(?:M(?:i(?:nutes|lliseconds)|onth)|Seconds|Hours|Date|FullYear)|FullYear|Active)|arch)|qrt|lice|avePreferences|mall)|h(?:ome|andleEvent)|navigate|c(?:har(?:CodeAt|At)|o(?:s|n(?:cat|textual|firm)|mpile)|eil|lear(?:Timeout|Interval)?|a(?:ptureEvents|ll)|reate(?:StyleSheet|Popup|EventObject))|t(?:o(?:GMTString|S(?:tring|ource)|U(?:TCString|pperCase)|Lo(?:caleString|werCase))|est|a(?:n|int(?:Enabled)?))|i(?:s(?:NaN|Finite)|ndexOf|talics)|d(?:isableExternalCapture|ump|etachEvent)|u(?:n(?:shift|taint|escape|watch)|pdateCommands)|j(?:oin|avaEnabled)|p(?:o(?:p|w)|ush|lugins.refresh|a(?:ddings|rse(?:Int|Float)?)|r(?:int|ompt|eference))|e(?:scape|nableExternalCapture|val|lementFromPoint|x(?:p|ec(?:Script|Command)?))|valueOf|UTC|queryCommand(?:State|Indeterm|Enabled|Value)|f(?:i(?:nd|le(?:ModifiedDate|Size|CreatedDate|UpdatedDate)|xed)|o(?:nt(?:size|color)|rward)|loor|romCharCode)|watch|l(?:ink|o(?:ad|g)|astIndexOf)|a(?:sin|nchor|cos|t(?:tachEvent|ob|an(?:2)?)|pply|lert|b(?:s|ort))|r(?:ou(?:nd|teEvents)|e(?:size(?:By|To)|calc|turnValue|place|verse|l(?:oad|ease(?:Capture|Events)))|andom)|g(?:o|et(?:ResponseHeader|M(?:i(?:nutes|lliseconds)|onth)|Se(?:conds|lection)|Hours|Year|Time(?:zoneOffset)?|Da(?:y|te)|UTC(?:M(?:i(?:nutes|lliseconds)|onth)|Seconds|Hours|Da(?:y|te)|FullYear)|FullYear|A(?:ttention|llResponseHeaders)))|m(?:in|ove(?:B(?:y|elow)|To(?:Absolute)?|Above)|ergeAttributes|a(?:tch|rgins|x))|b(?:toa|ig|o(?:ld|rderWidths)|link|ack))\b(?=\()/},{token:"support.function.dom",regex:/(s(?:ub(?:stringData|mit)|plitText|e(?:t(?:NamedItem|Attribute(?:Node)?)|lect))|has(?:ChildNodes|Feature)|namedItem|c(?:l(?:ick|o(?:se|neNode))|reate(?:C(?:omment|DATASection|aption)|T(?:Head|extNode|Foot)|DocumentFragment|ProcessingInstruction|E(?:ntityReference|lement)|Attribute))|tabIndex|i(?:nsert(?:Row|Before|Cell|Data)|tem)|open|delete(?:Row|C(?:ell|aption)|T(?:Head|Foot)|Data)|focus|write(?:ln)?|a(?:dd|ppend(?:Child|Data))|re(?:set|place(?:Child|Data)|move(?:NamedItem|Child|Attribute(?:Node)?)?)|get(?:NamedItem|Element(?:sBy(?:Name|TagName|ClassName)|ById)|Attribute(?:Node)?)|blur)\b(?=\()/},{token:"support.constant",regex:/(s(?:ystemLanguage|cr(?:ipts|ollbars|een(?:X|Y|Top|Left))|t(?:yle(?:Sheets)?|atus(?:Text|bar)?)|ibling(?:Below|Above)|ource|uffixes|e(?:curity(?:Policy)?|l(?:ection|f)))|h(?:istory|ost(?:name)?|as(?:h|Focus))|y|X(?:MLDocument|SLDocument)|n(?:ext|ame(?:space(?:s|URI)|Prop))|M(?:IN_VALUE|AX_VALUE)|c(?:haracterSet|o(?:n(?:structor|trollers)|okieEnabled|lorDepth|mp(?:onents|lete))|urrent|puClass|l(?:i(?:p(?:boardData)?|entInformation)|osed|asses)|alle(?:e|r)|rypto)|t(?:o(?:olbar|p)|ext(?:Transform|Indent|Decoration|Align)|ags)|SQRT(?:1_2|2)|i(?:n(?:ner(?:Height|Width)|put)|ds|gnoreCase)|zIndex|o(?:scpu|n(?:readystatechange|Line)|uter(?:Height|Width)|p(?:sProfile|ener)|ffscreenBuffering)|NEGATIVE_INFINITY|d(?:i(?:splay|alog(?:Height|Top|Width|Left|Arguments)|rectories)|e(?:scription|fault(?:Status|Ch(?:ecked|arset)|View)))|u(?:ser(?:Profile|Language|Agent)|n(?:iqueID|defined)|pdateInterval)|_content|p(?:ixelDepth|ort|ersonalbar|kcs11|l(?:ugins|atform)|a(?:thname|dding(?:Right|Bottom|Top|Left)|rent(?:Window|Layer)?|ge(?:X(?:Offset)?|Y(?:Offset)?))|r(?:o(?:to(?:col|type)|duct(?:Sub)?|mpter)|e(?:vious|fix)))|e(?:n(?:coding|abledPlugin)|x(?:ternal|pando)|mbeds)|v(?:isibility|endor(?:Sub)?|Linkcolor)|URLUnencoded|P(?:I|OSITIVE_INFINITY)|f(?:ilename|o(?:nt(?:Size|Family|Weight)|rmName)|rame(?:s|Element)|gColor)|E|whiteSpace|l(?:i(?:stStyleType|n(?:eHeight|kColor))|o(?:ca(?:tion(?:bar)?|lName)|wsrc)|e(?:ngth|ft(?:Context)?)|a(?:st(?:M(?:odified|atch)|Index|Paren)|yer(?:s|X)|nguage))|a(?:pp(?:MinorVersion|Name|Co(?:deName|re)|Version)|vail(?:Height|Top|Width|Left)|ll|r(?:ity|guments)|Linkcolor|bove)|r(?:ight(?:Context)?|e(?:sponse(?:XML|Text)|adyState))|global|x|m(?:imeTypes|ultiline|enubar|argin(?:Right|Bottom|Top|Left))|L(?:N(?:10|2)|OG(?:10E|2E))|b(?:o(?:ttom|rder(?:Width|RightWidth|BottomWidth|Style|Color|TopWidth|LeftWidth))|ufferDepth|elow|ackground(?:Color|Image)))\b/},{token:"identifier",regex:a},{regex:"",token:"empty",next:"no_regex"}],start:[i.getStartRule("doc-start"),c("start"),{token:"string.regexp",regex:"\\/",next:"regex"},{token:"text",regex:"\\s+|^$",next:"start"},{token:"empty",regex:"",next:"no_regex"}],regex:[{token:"regexp.keyword.operator",regex:"\\\\(?:u[\\da-fA-F]{4}|x[\\da-fA-F]{2}|.)"},{token:"string.regexp",regex:"/[sxngimy]*",next:"no_regex"},{token:"invalid",regex:/\{\d+\b,?\d*\}[+*]|[+*$^?][+*]|[$^][?]|\?{3,}/},{token:"constant.language.escape",regex:/\(\?[:=!]|\)|\{\d+\b,?\d*\}|[+*]\?|[()$^+*?.]/},{token:"constant.language.delimiter",regex:/\|/},{token:"constant.language.escape",regex:/\[\^?/,next:"regex_character_class"},{token:"empty",regex:"$",next:"no_regex"},{defaultToken:"string.regexp"}],regex_character_class:[{token:"regexp.charclass.keyword.operator",regex:"\\\\(?:u[\\da-fA-F]{4}|x[\\da-fA-F]{2}|.)"},{token:"constant.language.escape",regex:"]",next:"regex"},{token:"constant.language.escape",regex:"-"},{token:"empty",regex:"$",next:"no_regex"},{defaultToken:"string.regexp.charachterclass"}],function_arguments:[{token:"variable.parameter",regex:a},{token:"punctuation.operator",regex:"[, ]+"},{token:"punctuation.operator",regex:"$"},{token:"empty",regex:"",next:"no_regex"}],qqstring:[{token:"constant.language.escape",regex:n},{token:"string",regex:"\\\\$",next:"qqstring"},{token:"string",regex:'"|$',next:"no_regex"},{defaultToken:"string"}],qstring:[{token:"constant.language.escape",regex:n},{token:"string",regex:"\\\\$",next:"qstring"},{token:"string",regex:"'|$",next:"no_regex"},{defaultToken:"string"}]},e&&e.noES6||(this.$rules.no_regex.unshift({regex:"[{}]",onMatch:function(e,t,n){if(this.next="{"==e?this.nextState:"","{"==e&&n.length)n.unshift("start",t);else if("}"==e&&n.length&&(n.shift(),this.next=n.shift(),-1!=this.next.indexOf("string")||-1!=this.next.indexOf("jsx")))return"paren.quasi.end";return"{"==e?"paren.lparen":"paren.rparen"},nextState:"start"},{token:"string.quasi.start",regex:/`/,push:[{token:"constant.language.escape",regex:n},{token:"paren.quasi.start",regex:/\${/,push:"start"},{token:"string.quasi.end",regex:/`/,next:"pop"},{defaultToken:"string.quasi"}]}),e&&0==e.jsx||l.call(this)),this.embedRules(i,"doc-",[i.getEndRule("no_regex")]),this.normalizeRules()};function l(){var e=a.replace("\\d","\\d\\-"),t={onMatch:function(e,t,n){var r="/"==e.charAt(1)?2:1;return 1==r?(t!=this.nextState?n.unshift(this.next,this.nextState,0):n.unshift(this.next),n[2]++):2==r&&t==this.nextState&&(n[1]--,(!n[1]||n[1]<0)&&(n.shift(),n.shift())),[{type:"meta.tag.punctuation."+(1==r?"":"end-")+"tag-open.xml",value:e.slice(0,r)},{type:"meta.tag.tag-name.xml",value:e.substr(r)}]},regex:"",onMatch:function(e,t,n){return t==n[0]&&n.shift(),2==e.length&&(n[0]==this.nextState&&n[1]--,(!n[1]||n[1]<0)&&n.splice(0,2)),this.next=n[0]||"start",[{type:this.token,value:e}]},nextState:"jsx"},n,c("jsxAttributes"),{token:"entity.other.attribute-name.xml",regex:e},{token:"keyword.operator.attribute-equals.xml",regex:"="},{token:"text.tag-whitespace.xml",regex:"\\s+"},{token:"string.attribute-value.xml",regex:"'",stateName:"jsx_attr_q",push:[{token:"string.attribute-value.xml",regex:"'",next:"pop"},{include:"reference"},{defaultToken:"string.attribute-value.xml"}]},{token:"string.attribute-value.xml",regex:'"',stateName:"jsx_attr_qq",push:[{token:"string.attribute-value.xml",regex:'"',next:"pop"},{include:"reference"},{defaultToken:"string.attribute-value.xml"}]},t],this.$rules.reference=[{token:"constant.language.escape.reference.xml",regex:"(?:&#[0-9]+;)|(?:&#x[0-9a-fA-F]+;)|(?:&[a-zA-Z0-9_:\\.-]+;)"}]}function c(e){return[{token:"comment",regex:/\/\*/,next:[i.getTagRule(),{token:"comment",regex:"\\*\\/",next:e||"pop"},{defaultToken:"comment",caseInsensitive:!0}]},{token:"comment",regex:"\\/\\/",next:[i.getTagRule(),{token:"comment",regex:"$|^",next:e||"pop"},{defaultToken:"comment",caseInsensitive:!0}]}]}r.inherits(s,o),t.JavaScriptHighlightRules=s})),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],(function(e,t,n){"use strict";var r=e("../range").Range,i=function(){};(function(){this.checkOutdent=function(e,t){return!!/^\s+$/.test(e)&&/^\s*\}/.test(t)},this.autoOutdent=function(e,t){var n=e.getLine(t).match(/^(\s*\})/);if(!n)return 0;var i=n[1].length,o=e.findMatchingBracket({row:t,column:i});if(!o||o.row==t)return 0;var a=this.$getIndent(e.getLine(o.row));e.replace(new r(t,0,t,i-1),a)},this.$getIndent=function(e){return e.match(/^\s*/)[0]}}).call(i.prototype),t.MatchingBraceOutdent=i})),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],(function(e,t,n){"use strict";var r=e("../../lib/oop"),i=e("../../range").Range,o=e("./fold_mode").FoldMode,a=t.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+e.end)))};r.inherits(a,o),function(){this.foldingStartMarker=/(\{|\[)[^\}\]]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{]*(\}|\])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(e,t,n){var r=e.getLine(n);if(this.singleLineBlockCommentRe.test(r)&&!this.startRegionRe.test(r)&&!this.tripleStarBlockCommentRe.test(r))return"";var i=this._getFoldWidgetBase(e,t,n);return!i&&this.startRegionRe.test(r)?"start":i},this.getFoldWidgetRange=function(e,t,n,r){var i,o=e.getLine(n);if(this.startRegionRe.test(o))return this.getCommentRegionBlock(e,o,n);if(i=o.match(this.foldingStartMarker)){var a=i.index;if(i[1])return this.openingBracketBlock(e,i[1],n,a);var s=e.getCommentFoldRange(n,a+i[0].length,1);return s&&!s.isMultiLine()&&(r?s=this.getSectionRange(e,n):"all"!=t&&(s=null)),s}return"markbegin"!==t&&(i=o.match(this.foldingStopMarker))?(a=i.index+i[0].length,i[1]?this.closingBracketBlock(e,i[1],n,a):e.getCommentFoldRange(n,a,-1)):void 0},this.getSectionRange=function(e,t){for(var n=e.getLine(t),r=n.search(/\S/),o=t,a=n.length,s=t+=1,l=e.getLength();++tc)break;var u=this.getFoldWidgetRange(e,"all",t);if(u){if(u.start.row<=o)break;if(u.isMultiLine())t=u.end.row;else if(r==c)break}s=t}}return new i(o,a,s,e.getLine(s).length)},this.getCommentRegionBlock=function(e,t,n){for(var r=t.search(/\s*$/),o=e.getLength(),a=n,s=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,l=1;++na)return new i(a,r,n,t.length)}}.call(a.prototype)})),ace.define("ace/mode/javascript",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/javascript_highlight_rules","ace/mode/matching_brace_outdent","ace/worker/worker_client","ace/mode/behaviour/cstyle","ace/mode/folding/cstyle"],(function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,o=e("./javascript_highlight_rules").JavaScriptHighlightRules,a=e("./matching_brace_outdent").MatchingBraceOutdent,s=e("../worker/worker_client").WorkerClient,l=e("./behaviour/cstyle").CstyleBehaviour,c=e("./folding/cstyle").FoldMode,u=function(){this.HighlightRules=o,this.$outdent=new a,this.$behaviour=new l,this.foldingRules=new c};r.inherits(u,i),function(){this.lineCommentStart="//",this.blockComment={start:"/*",end:"*/"},this.getNextLineIndent=function(e,t,n){var r=this.$getIndent(t),i=this.getTokenizer().getLineTokens(t,e),o=i.tokens,a=i.state;if(o.length&&"comment"==o[o.length-1].type)return r;if("start"==e||"no_regex"==e)(s=t.match(/^.*(?:\bcase\b.*:|[\{\(\[])\s*$/))&&(r+=n);else if("doc-start"==e){if("start"==a||"no_regex"==a)return"";var s;(s=t.match(/^\s*(\/?)\*/))&&(s[1]&&(r+=" "),r+="* ")}return r},this.checkOutdent=function(e,t,n){return this.$outdent.checkOutdent(t,n)},this.autoOutdent=function(e,t,n){this.$outdent.autoOutdent(t,n)},this.createWorker=function(e){var t=new s(["ace"],"ace/mode/javascript_worker","JavaScriptWorker");return t.attachToDocument(e.getDocument()),t.on("annotate",(function(t){e.setAnnotations(t.data)})),t.on("terminate",(function(){e.clearAnnotations()})),t},this.$id="ace/mode/javascript"}.call(u.prototype),t.Mode=u})),ace.define("ace/mode/gremlin_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/doc_comment_highlight_rules","ace/mode/text_highlight_rules"],(function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./doc_comment_highlight_rules").DocCommentHighlightRules,o=e("./text_highlight_rules").TextHighlightRules,a=function(){var e=this.createKeywordMapper({"variable.language":"this",keyword:"g|V|E|has|open|close|inV|inE|out|outV|outE|label|store|next|addVertex|clazz|limit|traversal|withBulk|values|schema|except|ifNotExist|addEdge|addVertex|property|io|filter|loops|readGraph|tree|properties|graph|value|bothE|addV|where|hidden|bothV|withoutboth|is|path|it|get|from|to|select|otherV|within|inside|outside|withSack","constant.language":"targetLabel|sourceLabel|indexLabel|indexLabels|edgeLabel|vertexLabel|propertyKey|getPropertyKey|getVertexLabel|getEdgeLabel|getIndexLabel|getPropertyKeys|getVertexLabels|getEdgeLabels|getIndexLabels|coin|count|coalesce|createIndex|hasLabel|getLabelId|create|build|append|eliminate|remove|rebuildIndex|constant|isDirected|desc|inject|profile|simplePath|eq|neq|gt|gte|lt|lte|queryType|indexFields|frequency|links|type|in|on|by|checkDataType|checkValue|validValue|secondary|drop|search|makeEdgeLabel|cyclicPath|hasKey|match|sack|aggregate|between|baseType|baseValue|indexType|rebuild|choose|aggregate|iterate|lte|dedup|identity|groupCount|until|barrier|fold|unfold|schemaId|checkName|makeIndexLabel|makeVertexLabel|makePropertyKey|sideEffect|hasNext|toList|toSet|cap|option|branch|choose|repeat|emit|order|mean|withComputer|subgraph|getObjectsAtDepth|hasValue|hasNot|hasId|nullableKey|nullableKeys|sortKeys|link|singleTime|multiTimes|enableLabelIndex|userdata|checkExist|linkWithLabel|directed|idStrategy|primaryKeys|primaryKey","storage.type":"int|numeric|decimal|date|varchar|char|bigint|float|double|bit|binary|text|set|timestamp|toString|primitive|money|real|number|integer|asInt|asText|dataType|cardinality|asText|asInt|asTimestamp|flatMap|valueMap|asByte|asBlob|asDouble|asDate|asFloat|asLong|valueSingle|asBoolean|valueList|valueSet|asUuid|null|Infinity|NaN|undefined"},"identifier");this.$rules={start:[{token:"comment",regex:"\\/\\/.*$"},i.getStartRule("doc-start"),{token:"comment",regex:"\\/\\*",next:"comment"},{token:"string.regexp",regex:"[/](?:(?:\\[(?:\\\\]|[^\\]])+\\])|(?:\\\\/|[^\\]/]))*[/]\\w*\\s*(?=[).,;]|$)"},{token:"string",regex:'"""',next:"qqstring"},{token:"string",regex:"'''",next:"qstring"},{token:"string",regex:'["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]'},{token:"string",regex:"['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"},{token:"constant.numeric",regex:"0[xX][0-9a-fA-F]+\\b"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:"constant.language.boolean",regex:"(?:true|false)\\b"},{token:e,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"},{token:"keyword.operator",regex:"\\?:|\\?\\.|\\*\\.|<=>|=~|==~|\\.@|\\*\\.@|\\.&|as|in|is|!|\\$|%|&|\\*|\\-\\-|\\-|\\+\\+|\\+|~|===|==|=|!=|!==|<=|>=|<<=|>>=|>>>=|<>|<|>|!|&&|\\|\\||\\?\\:|\\*=|%=|\\+=|\\-=|&=|\\^=|\\b(?:in|instanceof|new|delete|typeof|void)"},{token:"lparen",regex:"[[({]"},{token:"rparen",regex:"[\\])}]"},{token:"text",regex:"\\s+"}],comment:[{token:"comment",regex:".*?\\*\\/",next:"start"},{token:"comment",regex:".+"}],qqstring:[{token:"constant.language.escape",regex:/\\(?:u[0-9A-Fa-f]{4}|.|$)/},{token:"constant.language.escape",regex:/\$[\w\d]+/},{token:"constant.language.escape",regex:/\$\{[^"\}]+\}?/},{token:"string",regex:'"{3,5}',next:"start"},{token:"string",regex:".+?"}],qstring:[{token:"constant.language.escape",regex:/\\(?:u[0-9A-Fa-f]{4}|.|$)/},{token:"string",regex:"'{3,5}",next:"start"},{token:"string",regex:".+?"}]},this.embedRules(i,"doc-",[i.getEndRule("start")])};r.inherits(a,o),t.GremlinHighlightRules=a})),ace.define("ace/mode/gremlin",["require","exports","module","ace/lib/oop","ace/mode/javascript","ace/mode/gremlin_highlight_rules"],(function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./javascript").Mode,o=e("./gremlin_highlight_rules").GremlinHighlightRules,a=function(){i.call(this),this.HighlightRules=o};r.inherits(a,i),function(){this.createWorker=function(e){return null},this.$id="ace/mode/gremlin"}.call(a.prototype),t.Mode=a}))},5200:()=>{ace.define("ace/theme/chrome",["require","exports","module","ace/lib/dom"],(function(e,t,n){t.isDark=!1,t.cssClass="ace-chrome",t.cssText='.ace-chrome .ace_gutter {background: #ebebeb;color: #333;overflow : hidden;}.ace-chrome .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-chrome {background-color: #FFFFFF;color: black;}.ace-chrome .ace_cursor {color: black;}.ace-chrome .ace_invisible {color: rgb(191, 191, 191);}.ace-chrome .ace_constant.ace_buildin {color: rgb(88, 72, 246);}.ace-chrome .ace_constant.ace_language {color: rgb(88, 92, 246);}.ace-chrome .ace_constant.ace_library {color: rgb(6, 150, 14);}.ace-chrome .ace_invalid {background-color: rgb(153, 0, 0);color: white;}.ace-chrome .ace_fold {}.ace-chrome .ace_support.ace_function {color: rgb(60, 76, 114);}.ace-chrome .ace_support.ace_constant {color: rgb(6, 150, 14);}.ace-chrome .ace_support.ace_type,.ace-chrome .ace_support.ace_class.ace-chrome .ace_support.ace_other {color: rgb(109, 121, 222);}.ace-chrome .ace_variable.ace_parameter {font-style:italic;color:#FD971F;}.ace-chrome .ace_keyword.ace_operator {color: rgb(104, 118, 135);}.ace-chrome .ace_comment {color: #236e24;}.ace-chrome .ace_comment.ace_doc {color: #236e24;}.ace-chrome .ace_comment.ace_doc.ace_tag {color: #236e24;}.ace-chrome .ace_constant.ace_numeric {color: rgb(0, 0, 205);}.ace-chrome .ace_variable {color: rgb(49, 132, 149);}.ace-chrome .ace_xml-pe {color: rgb(104, 104, 91);}.ace-chrome .ace_entity.ace_name.ace_function {color: #0000A2;}.ace-chrome .ace_heading {color: rgb(12, 7, 255);}.ace-chrome .ace_list {color:rgb(185, 6, 144);}.ace-chrome .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-chrome .ace_marker-layer .ace_step {background: rgb(252, 255, 0);}.ace-chrome .ace_marker-layer .ace_stack {background: rgb(164, 229, 101);}.ace-chrome .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-chrome .ace_marker-layer .ace_active-line {background: rgba(0, 0, 0, 0.07);}.ace-chrome .ace_gutter-active-line {background-color : #dcdcdc;}.ace-chrome .ace_marker-layer .ace_selected-word {background: rgb(250, 250, 255);border: 1px solid rgb(200, 200, 250);}.ace-chrome .ace_storage,.ace-chrome .ace_keyword,.ace-chrome .ace_meta.ace_tag {color: rgb(147, 15, 128);}.ace-chrome .ace_string.ace_regex {color: rgb(255, 0, 0)}.ace-chrome .ace_string {color: #1A1AA6;}.ace-chrome .ace_entity.ace_other.ace_attribute-name {color: #994409;}.ace-chrome .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}',e("../lib/dom").importCssString(t.cssText,t.cssClass)}))},6484:()=>{ace.define("ace/theme/clouds",["require","exports","module","ace/lib/dom"],(function(e,t,n){t.isDark=!1,t.cssClass="ace-clouds",t.cssText='.ace-clouds .ace_gutter {background: #ebebeb;color: #333}.ace-clouds .ace_print-margin {width: 1px;background: #e8e8e8}.ace-clouds {background-color: #FFFFFF;color: #000000}.ace-clouds .ace_cursor {color: #000000}.ace-clouds .ace_marker-layer .ace_selection {background: #BDD5FC}.ace-clouds.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #FFFFFF;}.ace-clouds .ace_marker-layer .ace_step {background: rgb(255, 255, 0)}.ace-clouds .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #BFBFBF}.ace-clouds .ace_marker-layer .ace_active-line {background: #FFFBD1}.ace-clouds .ace_gutter-active-line {background-color : #dcdcdc}.ace-clouds .ace_marker-layer .ace_selected-word {border: 1px solid #BDD5FC}.ace-clouds .ace_invisible {color: #BFBFBF}.ace-clouds .ace_keyword,.ace-clouds .ace_meta,.ace-clouds .ace_support.ace_constant.ace_property-value {color: #AF956F}.ace-clouds .ace_keyword.ace_operator {color: #484848}.ace-clouds .ace_keyword.ace_other.ace_unit {color: #96DC5F}.ace-clouds .ace_constant.ace_language {color: #39946A}.ace-clouds .ace_constant.ace_numeric {color: #46A609}.ace-clouds .ace_constant.ace_character.ace_entity {color: #BF78CC}.ace-clouds .ace_invalid {background-color: #FF002A}.ace-clouds .ace_fold {background-color: #AF956F;border-color: #000000}.ace-clouds .ace_storage,.ace-clouds .ace_support.ace_class,.ace-clouds .ace_support.ace_function,.ace-clouds .ace_support.ace_other,.ace-clouds .ace_support.ace_type {color: #C52727}.ace-clouds .ace_string {color: #5D90CD}.ace-clouds .ace_comment {color: #BCC8BA}.ace-clouds .ace_entity.ace_name.ace_tag,.ace-clouds .ace_entity.ace_other.ace_attribute-name {color: #606060}.ace-clouds .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y}',e("../lib/dom").importCssString(t.cssText,t.cssClass)}))},6087:()=>{ace.define("ace/theme/clouds_midnight",["require","exports","module","ace/lib/dom"],(function(e,t,n){t.isDark=!0,t.cssClass="ace-clouds-midnight",t.cssText=".ace-clouds-midnight .ace_gutter {background: #232323;color: #929292}.ace-clouds-midnight .ace_print-margin {width: 1px;background: #232323}.ace-clouds-midnight {background-color: #191919 !important;color: #929292 !important;}.ace-clouds-midnight .ace_cursor {color: #7DA5DC}.ace-clouds-midnight .ace_marker-layer .ace_selection {background: #000000}.ace-clouds-midnight.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #191919;}.ace-clouds-midnight .ace_marker-layer .ace_step {background: rgb(102, 82, 0)}.ace-clouds-midnight .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #BFBFBF}.ace-clouds-midnight .ace_marker-layer .ace_active-line {background: rgba(215, 215, 215, 0.031)}.ace-clouds-midnight .ace_gutter-active-line {background-color: rgba(215, 215, 215, 0.031)}.ace-clouds-midnight .ace_marker-layer .ace_selected-word {border: 1px solid #000000}.ace-clouds-midnight .ace_invisible {color: #666}.ace-clouds-midnight .ace_keyword,.ace-clouds-midnight .ace_meta,.ace-clouds-midnight .ace_support.ace_constant.ace_property-value {color: #927C5D}.ace-clouds-midnight .ace_keyword.ace_operator {color: #4B4B4B}.ace-clouds-midnight .ace_keyword.ace_other.ace_unit {color: #366F1A}.ace-clouds-midnight .ace_constant.ace_language {color: #39946A}.ace-clouds-midnight .ace_constant.ace_numeric {color: #46A609}.ace-clouds-midnight .ace_constant.ace_character.ace_entity {color: #A165AC}.ace-clouds-midnight .ace_invalid {color: #FFFFFF;background-color: #E92E2E}.ace-clouds-midnight .ace_fold {background-color: #927C5D;border-color: #929292}.ace-clouds-midnight .ace_storage,.ace-clouds-midnight .ace_support.ace_class,.ace-clouds-midnight .ace_support.ace_function,.ace-clouds-midnight .ace_support.ace_other,.ace-clouds-midnight .ace_support.ace_type {color: #E92E2E}.ace-clouds-midnight .ace_string {color: #5D90CD}.ace-clouds-midnight .ace_comment {color: #3C403B}.ace-clouds-midnight .ace_entity.ace_name.ace_tag,.ace-clouds-midnight .ace_entity.ace_other.ace_attribute-name {color: #606060}.ace-clouds-midnight .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYHB3d/8PAAOIAdULw8qMAAAAAElFTkSuQmCC) right repeat-y}",e("../lib/dom").importCssString(t.cssText,t.cssClass)}))},6628:(e,t,n)=>{function r(e){return r="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},r(e)}e=n.nmd(e),ace.define("ace/theme/tomorrow",["require","exports","module","ace/lib/dom"],(function(e,t,n){t.isDark=!1,t.cssClass="ace-tomorrow",t.cssText=".ace-tomorrow .ace_gutter { background: #f6f6f6; color: #4D4D4C } .ace-tomorrow .ace_print-margin { width: 1px; background: #f6f6f6 } .ace-tomorrow { background-color: #FFFFFF; color: #4D4D4C } .ace-tomorrow .ace_cursor { color: #AEAFAD } .ace-tomorrow .ace_marker-layer .ace_selection { background: #D6D6D6 } .ace-tomorrow.ace_multiselect .ace_selection.ace_start { box-shadow: 0 0 3px 0px #FFFFFF; } .ace-tomorrow .ace_marker-layer .ace_step { background: rgb(255, 255, 0) } .ace-tomorrow .ace_marker-layer .ace_bracket { margin: -1px 0 0 -1px; border: 1px solid #D1D1D1 } .ace-tomorrow .ace_marker-layer .ace_active-line { background: #EFEFEF } .ace-tomorrow .ace_gutter-active-line { background-color : #dcdcdc } .ace-tomorrow .ace_marker-layer .ace_selected-word { border: 1px solid #D6D6D6 } .ace-tomorrow .ace_invisible { color: #D1D1D1 } .ace-tomorrow .ace_keyword, .ace-tomorrow .ace_meta, .ace-tomorrow .ace_storage, .ace-tomorrow .ace_storage.ace_type, .ace-tomorrow .ace_support.ace_type { color: #8959A8 } .ace-tomorrow .ace_keyword.ace_operator { color: #3E999F } .ace-tomorrow .ace_constant.ace_character, .ace-tomorrow .ace_constant.ace_language, .ace-tomorrow .ace_constant.ace_numeric, .ace-tomorrow .ace_keyword.ace_other.ace_unit, .ace-tomorrow .ace_support.ace_constant, .ace-tomorrow .ace_variable.ace_parameter { color: #F5871F } .ace-tomorrow .ace_constant.ace_other { color: #666969 } .ace-tomorrow .ace_invalid { color: #FFFFFF; background-color: #C82829 } .ace-tomorrow .ace_invalid.ace_deprecated { color: #FFFFFF; background-color: #8959A8 } .ace-tomorrow .ace_fold { background-color: #4271AE; border-color: #4D4D4C } .ace-tomorrow .ace_entity.ace_name.ace_function, .ace-tomorrow .ace_support.ace_function, .ace-tomorrow .ace_variable { color: #4271AE } .ace-tomorrow .ace_support.ace_class, .ace-tomorrow .ace_support.ace_type { color: #C99E00 } .ace-tomorrow .ace_heading, .ace-tomorrow .ace_markup.ace_heading, .ace-tomorrow .ace_string { color: #718C00 } .ace-tomorrow .ace_entity.ace_name.ace_tag, .ace-tomorrow .ace_entity.ace_other.ace_attribute-name, .ace-tomorrow .ace_meta.ace_tag, .ace-tomorrow .ace_string.ace_regexp, .ace-tomorrow .ace_variable { color: #C82829 } .ace-tomorrow .ace_comment { color: #8E908C } .ace-tomorrow .ace_indent-guide { background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bdu3f/BwAlfgctduB85QAAAABJRU5ErkJggg==) right repeat-y }",e("../lib/dom").importCssString(t.cssText,t.cssClass)})),ace.require(["ace/theme/tomorrow"],(function(n){"object"==r(e)&&"object"==r(t)&&e&&(e.exports=n)}))},5802:(e,t,n)=>{"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature,e.exports={"en-US":n(6744),"zh-CN":n(4623)}},805:(e,t,n)=>{"use strict";n.d(t,{Z:()=>y});var r,i=n(2721),o=n(1024),a=n.n(o),s=n(46),l=n(2176);function c(e,t){return f(e)||d(e,t)||h(e,t)||u()}function u(){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,t){if(e){if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(e,t):void 0}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.d(t,{Z:()=>on});var r=n(3659),i=n(1024),o=n.n(i);const a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M766.4 744.3c43.7 0 79.4-36.2 79.4-80.5 0-53.5-79.4-140.8-79.4-140.8S687 610.3 687 663.8c0 44.3 35.7 80.5 79.4 80.5zm-377.1-44.1c7.1 7.1 18.6 7.1 25.6 0l256.1-256c7.1-7.1 7.1-18.6 0-25.6l-256-256c-.6-.6-1.3-1.2-2-1.7l-78.2-78.2a9.11 9.11 0 00-12.8 0l-48 48a9.11 9.11 0 000 12.8l67.2 67.2-207.8 207.9c-7.1 7.1-7.1 18.6 0 25.6l255.9 256zm12.9-448.6l178.9 178.9H223.4l178.8-178.9zM904 816H120c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8z"}}]},name:"bg-colors",theme:"outlined"};var s=n(2439),l=function(e,t){return i.createElement(s.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:a}))};l.displayName="BgColorsOutlined";const c=i.forwardRef(l);var u=n(2721),h=n(1397),p=n(4808),d=n(1838),f=n.n(d);const m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 160H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0 624H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0-312H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z"}}]},name:"menu",theme:"outlined"};var g=function(e,t){return i.createElement(s.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:m}))};g.displayName="MenuOutlined";const y=i.forwardRef(g);var v=n(5538),_=n(6840),b=n(3486),E=n(3747),T=n(3050),x=n(5162),S=n(6297);function C(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:this.active.collection;return this.refs[e].sort(j)}}]),e}();function j(e,t){return e.node.sortableInfo.index-t.node.sortableInfo.index}function G(e,t){return Object.keys(e).reduce((function(n,r){return-1===t.indexOf(r)&&(n[r]=e[r]),n}),{})}var Y={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},z=function(){if("undefined"==typeof window||"undefined"==typeof document)return"";var e=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],t=(Array.prototype.slice.call(e).join("").match(/-(moz|webkit|ms)-/)||""===e.OLink&&["","o"])[1];return"ms"===t?"ms":t&&t.length?t[0].toUpperCase()+t.substr(1):""}();function $(e,t){Object.keys(t).forEach((function(n){e.style[n]=t[n]}))}function W(e,t){e.style["".concat(z,"Transform")]=null==t?"":"translate3d(".concat(t.x,"px,").concat(t.y,"px,0)")}function V(e,t){e.style["".concat(z,"TransitionDuration")]=null==t?"":"".concat(t,"ms")}function K(e,t){for(;e;){if(t(e))return e;e=e.parentNode}return null}function q(e,t,n){return Math.max(e,Math.min(n,t))}function X(e){return"px"===e.substr(-2)?parseFloat(e):0}function Z(e,t){var n=t.displayName||t.name;return n?"".concat(e,"(").concat(n,")"):e}function Q(e,t){var n=e.getBoundingClientRect();return{top:n.top+t.top,left:n.left+t.left}}function J(e){return e.touches&&e.touches.length?{x:e.touches[0].pageX,y:e.touches[0].pageY}:e.changedTouches&&e.changedTouches.length?{x:e.changedTouches[0].pageX,y:e.changedTouches[0].pageY}:{x:e.pageX,y:e.pageY}}function ee(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{left:0,top:0};if(e){var r={left:n.left+e.offsetLeft,top:n.top+e.offsetTop};return e.parentNode===t?r:ee(e.parentNode,t,r)}}function te(e){var t=e.lockOffset,n=e.width,r=e.height,i=t,o=t,a="px";if("string"==typeof t){var s=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(t);H()(null!==s,'lockOffset value should be a number or a string of a number followed by "px" or "%". Given %s',t),i=parseFloat(t),o=parseFloat(t),a=s[1]}return H()(isFinite(i)&&isFinite(o),"lockOffset value should be a finite. Given %s",t),"%"===a&&(i=i*n/100,o=o*r/100),{x:i,y:o}}function ne(e){return e instanceof HTMLElement?function(e){var t=window.getComputedStyle(e),n=/(auto|scroll)/;return["overflow","overflowX","overflowY"].find((function(e){return n.test(t[e])}))}(e)?e:ne(e.parentNode):null}var re={Anchor:"A",Button:"BUTTON",Canvas:"CANVAS",Input:"INPUT",Option:"OPTION",Textarea:"TEXTAREA",Select:"SELECT"};function ie(e){return null!=e.sortableHandle}var oe=function(){function e(t,n){(0,A.Z)(this,e),this.container=t,this.onScrollCallback=n}return(0,R.Z)(e,[{key:"clear",value:function(){null!=this.interval&&(clearInterval(this.interval),this.interval=null)}},{key:"update",value:function(e){var t=this,n=e.translate,r=e.minTranslate,i=e.maxTranslate,o=e.width,a=e.height,s={x:0,y:0},l={x:1,y:1},c=this.container,u=c.scrollTop,h=c.scrollLeft,p=c.scrollHeight,d=c.scrollWidth,f=0===u,m=p-u-c.clientHeight==0,g=0===h,y=d-h-c.clientWidth==0;n.y>=i.y-a/2&&!m?(s.y=1,l.y=10*Math.abs((i.y-a/2-n.y)/a)):n.x>=i.x-o/2&&!y?(s.x=1,l.x=10*Math.abs((i.x-o/2-n.x)/o)):n.y<=r.y+a/2&&!f?(s.y=-1,l.y=10*Math.abs((n.y-a/2-r.y)/a)):n.x<=r.x+o/2&&!g&&(s.x=-1,l.x=10*Math.abs((n.x-o/2-r.x)/o)),this.interval&&(this.clear(),this.isAutoScrolling=!1),0===s.x&&0===s.y||(this.interval=setInterval((function(){t.isAutoScrolling=!0;var e={left:l.x*s.x,top:l.y*s.y};t.container.scrollTop+=e.top,t.container.scrollLeft+=e.left,t.onScrollCallback(e)}),5))}}]),e}(),ae={axis:P().oneOf(["x","y","xy"]),contentWindow:P().any,disableAutoscroll:P().bool,distance:P().number,getContainer:P().func,getHelperDimensions:P().func,helperClass:P().string,helperContainer:P().oneOfType([P().func,"undefined"==typeof HTMLElement?P().any:P().instanceOf(HTMLElement)]),hideSortableGhost:P().bool,keyboardSortingTransitionDuration:P().number,lockAxis:P().string,lockOffset:P().oneOfType([P().number,P().string,P().arrayOf(P().oneOfType([P().number,P().string]))]),lockToContainerEdges:P().bool,onSortEnd:P().func,onSortMove:P().func,onSortOver:P().func,onSortStart:P().func,pressDelay:P().number,pressThreshold:P().number,keyCodes:P().shape({lift:P().arrayOf(P().number),drop:P().arrayOf(P().number),cancel:P().arrayOf(P().number),up:P().arrayOf(P().number),down:P().arrayOf(P().number)}),shouldCancelStart:P().func,transitionDuration:P().number,updateBeforeSortStart:P().func,useDragHandle:P().bool,useWindowAsScrollContainer:P().bool},se={lift:[32],drop:[32],cancel:[27],up:[38,37],down:[40,39]},le={axis:"y",disableAutoscroll:!1,distance:0,getHelperDimensions:function(e){var t=e.node;return{height:t.offsetHeight,width:t.offsetWidth}},hideSortableGhost:!0,lockOffset:"50%",lockToContainerEdges:!1,pressDelay:0,pressThreshold:5,keyCodes:se,shouldCancelStart:function(e){return-1!==[re.Input,re.Textarea,re.Select,re.Option,re.Button].indexOf(e.target.tagName)||!!K(e.target,(function(e){return"true"===e.contentEditable}))},transitionDuration:300,useWindowAsScrollContainer:!1},ce=Object.keys(ae),ue={index:P().number.isRequired,collection:P().oneOfType([P().number,P().string]),disabled:P().bool},he=Object.keys(ue),pe=function(e,t){var n;if("ConfigContext"in u.ConfigProvider)return(0,(0,i.useContext)(u.ConfigProvider.ConfigContext).getPrefixCls)(e,null==t?void 0:t.prefixCls);var r=null!==(n=null==t?void 0:t.prefixCls)&&void 0!==n?n:"ant-";return"".concat(r).concat(null!=e?e:"")},de=function(){return de=Object.assign||function(e){for(var t,n=1,r=arguments.length;n1&&void 0!==arguments[1]?arguments[1]:{withRef:!1};return n=t=function(t){function n(){return(0,A.Z)(this,n),O(this,N(n).apply(this,arguments))}return k(n,t),(0,R.Z)(n,[{key:"componentDidMount",value:function(){(0,M.findDOMNode)(this).sortableHandle=!0}},{key:"getWrappedInstance",value:function(){return H()(r.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableHandle() call"),this.refs.wrappedInstance}},{key:"render",value:function(){var t=r.withRef?"wrappedInstance":null;return(0,i.createElement)(e,(0,T.Z)({ref:t},this.props))}}]),n}(i.Component),(0,S.Z)(t,"displayName",Z("sortableHandle",e)),n}((function(e){var t=pe("formily-array-base");return o().createElement(y,de({},e,{className:f()("".concat(t,"-sort-handle"),e.className),style:de({},e.style)}))}));_e.SortHandle=function(e){var t,n=ge();return n?"editable"!==(null===(t=n.field)||void 0===t?void 0:t.pattern)?null:o().createElement(be,de({},e)):null},_e.Index=function(e){var t=ye(),n=pe("formily-array-base");return o().createElement("span",de({},e,{className:"".concat(n,"-index")}),"#",t+1,".")},_e.Addition=function(e){var t,n,r=(0,h.U$)(),i=ge(),a=pe("formily-array-base");return i?"editable"!==(null===(t=i.field)||void 0===t?void 0:t.pattern)&&"disabled"!==(null===(n=i.field)||void 0===n?void 0:n.pattern)?null:o().createElement(u.Button,de({type:"dashed",block:!0},e,{disabled:null==r?void 0:r.disabled,className:f()("".concat(a,"-addition"),e.className),onClick:function(t){var n,r,o,a,s,l,c,u,h,d,f;if(!(null===(n=i.props)||void 0===n?void 0:n.disabled)){var m=function(e,t){return(0,p.JY)(e)?(0,p.d9)(e):Array.isArray(null==t?void 0:t.items)?ve(t.items[0]):ve(t.items)}(e.defaultValue,i.schema);"unshift"===e.method?(null===(o=null===(r=i.field)||void 0===r?void 0:r.unshift)||void 0===o||o.call(r,m),null===(s=null===(a=i.props)||void 0===a?void 0:a.onAdd)||void 0===s||s.call(a,0)):(null===(c=null===(l=i.field)||void 0===l?void 0:l.push)||void 0===c||c.call(l,m),null===(h=null===(u=i.props)||void 0===u?void 0:u.onAdd)||void 0===h||h.call(u,(null===(f=null===(d=null==i?void 0:i.field)||void 0===d?void 0:d.value)||void 0===f?void 0:f.length)-1)),e.onClick&&e.onClick(t)}},icon:o().createElement(v.Z,null)}),e.title||r.title):null},_e.Remove=o().forwardRef((function(e,t){var n,r=ye(e.index),i=(0,h.U$)(),a=ge(),s=pe("formily-array-base");return a?"editable"!==(null===(n=a.field)||void 0===n?void 0:n.pattern)?null:o().createElement(_.Z,de({},e,{className:f()("".concat(s,"-remove"),(null==i?void 0:i.disabled)?"".concat(s,"-remove-disabled"):"",e.className),ref:t,onClick:function(t){var n,o,s,l;(null==i?void 0:i.disabled)||(t.stopPropagation(),null===(o=null===(n=a.field)||void 0===n?void 0:n.remove)||void 0===o||o.call(n,r),null===(l=null===(s=a.props)||void 0===s?void 0:s.onRemove)||void 0===l||l.call(s,r),e.onClick&&e.onClick(t))}})):null})),_e.MoveDown=o().forwardRef((function(e,t){var n,r=ye(e.index),i=(0,h.U$)(),a=ge(),s=pe("formily-array-base");return a?"editable"!==(null===(n=a.field)||void 0===n?void 0:n.pattern)?null:o().createElement(b.Z,de({},e,{className:f()("".concat(s,"-move-down"),(null==i?void 0:i.disabled)?"".concat(s,"-move-down-disabled"):"",e.className),ref:t,onClick:function(t){var n,o,s,l;(null==i?void 0:i.disabled)||(t.stopPropagation(),null===(o=null===(n=a.field)||void 0===n?void 0:n.moveDown)||void 0===o||o.call(n,r),null===(l=null===(s=a.props)||void 0===s?void 0:s.onMoveDown)||void 0===l||l.call(s,r),e.onClick&&e.onClick(t))}})):null})),_e.MoveUp=o().forwardRef((function(e,t){var n,r=ye(e.index),i=(0,h.U$)(),a=ge(),s=pe("formily-array-base");return a?"editable"!==(null===(n=a.field)||void 0===n?void 0:n.pattern)?null:o().createElement(E.Z,de({},e,{className:f()("".concat(s,"-move-up"),(null==i?void 0:i.disabled)?"".concat(s,"-move-up-disabled"):"",e.className),ref:t,onClick:function(t){var n,o,s;(null==i?void 0:i.disabled)||(t.stopPropagation(),null===(n=null==a?void 0:a.field)||void 0===n||n.moveUp(r),null===(s=null===(o=null==a?void 0:a.props)||void 0===o?void 0:o.onMoveUp)||void 0===s||s.call(o,r),e.onClick&&e.onClick(t))}})):null})),_e.useArray=ge,_e.useIndex=ye,_e.useRecord=function(e){var t=(0,i.useContext)(me);return t?t.record:e},_e.mixin=function(e){return e.Index=_e.Index,e.SortHandle=_e.SortHandle,e.Addition=_e.Addition,e.Remove=_e.Remove,e.MoveDown=_e.MoveDown,e.MoveUp=_e.MoveUp,e.useArray=_e.useArray,e.useIndex=_e.useIndex,e.useRecord=_e.useRecord,e};const Ee=_e;var Te=function(){return Te=Object.assign||function(e){for(var t,n=1,r=arguments.length;n-1},Se=function(e){var t;return(null===(t=e["x-component"])||void 0===t?void 0:t.indexOf("Index"))>-1},Ce=function(e){return xe(e)||function(e){var t;return(null===(t=e["x-component"])||void 0===t?void 0:t.indexOf("Remove"))>-1}(e)||function(e){var t;return(null===(t=e["x-component"])||void 0===t?void 0:t.indexOf("MoveDown"))>-1}(e)||function(e){var t;return(null===(t=e["x-component"])||void 0===t?void 0:t.indexOf("MoveUp"))>-1}(e)},Ae=function(e,t){return n=e0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}((0,i.useState)(Ae(n.length,e.defaultOpenPanelCount)),2),a=r[0],s=r[1],l=(0,h.XA)(),c=pe("formily-array-collapse",e);if((0,i.useEffect)((function(){!t.modified&&n.length&&s(Ae(n.length,e.defaultOpenPanelCount))}),[n.length,t]),!l)throw new Error("can not found schema object");return o().createElement(Ee,{onAdd:function(e){s(function(e,t){return e.length<=t?e.concat(t):e.reduce((function(e,n){return n1&&void 0!==arguments[1]?arguments[1]:{withRef:!1};return n=t=function(t){function n(){return(0,A.Z)(this,n),O(this,N(n).apply(this,arguments))}return k(n,t),(0,R.Z)(n,[{key:"componentDidMount",value:function(){this.register()}},{key:"componentDidUpdate",value:function(e){this.node&&(e.index!==this.props.index&&(this.node.sortableInfo.index=this.props.index),e.disabled!==this.props.disabled&&(this.node.sortableInfo.disabled=this.props.disabled)),e.collection!==this.props.collection&&(this.unregister(e.collection),this.register())}},{key:"componentWillUnmount",value:function(){this.unregister()}},{key:"register",value:function(){var e=this.props,t=e.collection,n=e.disabled,r=e.index,i=(0,M.findDOMNode)(this);i.sortableInfo={collection:t,disabled:n,index:r,manager:this.context.manager},this.node=i,this.ref={node:i},this.context.manager.add(t,this.ref)}},{key:"unregister",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.collection;this.context.manager.remove(e,this.ref)}},{key:"getWrappedInstance",value:function(){return H()(r.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableElement() call"),this.refs.wrappedInstance}},{key:"render",value:function(){var t=r.withRef?"wrappedInstance":null;return(0,i.createElement)(e,(0,T.Z)({ref:t},G(this.props,he)))}}]),n}(i.Component),(0,S.Z)(t,"displayName",Z("sortableElement",e)),(0,S.Z)(t,"contextTypes",{manager:P().object.isRequired}),(0,S.Z)(t,"propTypes",ue),(0,S.Z)(t,"defaultProps",{collection:0}),n}((function(e){var t=pe("formily-array-items");return o().createElement("div",Le({},e,{className:f()("".concat(t,"-item"),e.className)}),e.children)})),Ne=function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{withRef:!1};return n=t=function(t){function n(e){var t;return(0,A.Z)(this,n),t=O(this,N(n).call(this,e)),(0,S.Z)(L(L(t)),"state",{}),(0,S.Z)(L(L(t)),"handleStart",(function(e){var n=t.props,r=n.distance,i=n.shouldCancelStart;if(2!==e.button&&!i(e)){t.touched=!0,t.position=J(e);var o=K(e.target,(function(e){return null!=e.sortableInfo}));if(o&&o.sortableInfo&&t.nodeIsChild(o)&&!t.state.sorting){var a=t.props.useDragHandle,s=o.sortableInfo,l=s.index,c=s.collection;if(s.disabled)return;if(a&&!K(e.target,ie))return;t.manager.active={collection:c,index:l},function(e){return e.touches&&e.touches.length||e.changedTouches&&e.changedTouches.length}(e)||e.target.tagName!==re.Anchor||e.preventDefault(),r||(0===t.props.pressDelay?t.handlePress(e):t.pressTimer=setTimeout((function(){return t.handlePress(e)}),t.props.pressDelay))}}})),(0,S.Z)(L(L(t)),"nodeIsChild",(function(e){return e.sortableInfo.manager===t.manager})),(0,S.Z)(L(L(t)),"handleMove",(function(e){var n=t.props,r=n.distance,i=n.pressThreshold;if(!t.state.sorting&&t.touched&&!t._awaitingUpdateBeforeSortStart){var o=J(e),a={x:t.position.x-o.x,y:t.position.y-o.y},s=Math.abs(a.x)+Math.abs(a.y);t.delta=a,r||i&&!(s>=i)?r&&s>=r&&t.manager.isActive()&&t.handlePress(e):(clearTimeout(t.cancelTimer),t.cancelTimer=setTimeout(t.cancel,0))}})),(0,S.Z)(L(L(t)),"handleEnd",(function(){t.touched=!1,t.cancel()})),(0,S.Z)(L(L(t)),"cancel",(function(){var e=t.props.distance;t.state.sorting||(e||clearTimeout(t.pressTimer),t.manager.active=null)})),(0,S.Z)(L(L(t)),"handlePress",(function(e){try{var n=t.manager.getActive(),r=function(){if(n){var r=function(){var n,r,i,c,m,g,y=p.sortableInfo.index,v=(n=p,{bottom:X((r=window.getComputedStyle(n)).marginBottom),left:X(r.marginLeft),right:X(r.marginRight),top:X(r.marginTop)}),_=function(e){var t=window.getComputedStyle(e);return"grid"===t.display?{x:X(t.gridColumnGap),y:X(t.gridRowGap)}:{x:0,y:0}}(t.container),b=t.scrollContainer.getBoundingClientRect(),E=a({index:y,node:p,collection:d});if(t.node=p,t.margin=v,t.gridGap=_,t.width=E.width,t.height=E.height,t.marginOffset={x:t.margin.left+t.margin.right+t.gridGap.x,y:Math.max(t.margin.top,t.margin.bottom,t.gridGap.y)},t.boundingClientRect=p.getBoundingClientRect(),t.containerBoundingRect=b,t.index=y,t.newIndex=y,t.axis={x:o.indexOf("x")>=0,y:o.indexOf("y")>=0},t.offsetEdge=ee(p,t.container),t.initialOffset=J(f?C({},e,{pageX:t.boundingClientRect.left,pageY:t.boundingClientRect.top}):e),t.initialScroll={left:t.scrollContainer.scrollLeft,top:t.scrollContainer.scrollTop},t.initialWindowScroll={left:window.pageXOffset,top:window.pageYOffset},t.helper=t.helperContainer.appendChild((c="input, textarea, select, canvas, [contenteditable]",m=(i=p).querySelectorAll(c),g=i.cloneNode(!0),(0,B.Z)(g.querySelectorAll(c)).forEach((function(e,t){"file"!==e.type&&(e.value=m[t].value),"radio"===e.type&&e.name&&(e.name="__sortableClone__".concat(e.name)),e.tagName===re.Canvas&&m[t].width>0&&m[t].height>0&&e.getContext("2d").drawImage(m[t],0,0)})),g)),$(t.helper,{boxSizing:"border-box",height:"".concat(t.height,"px"),left:"".concat(t.boundingClientRect.left-v.left,"px"),pointerEvents:"none",position:"fixed",top:"".concat(t.boundingClientRect.top-v.top,"px"),width:"".concat(t.width,"px")}),f&&t.helper.focus(),l&&(t.sortableGhost=p,$(p,{opacity:0,visibility:"hidden"})),t.minTranslate={},t.maxTranslate={},f){var T=h?{top:0,left:0,width:t.contentWindow.innerWidth,height:t.contentWindow.innerHeight}:t.containerBoundingRect,x=T.top,S=T.left,A=T.width,R=x+T.height,w=S+A;t.axis.x&&(t.minTranslate.x=S-t.boundingClientRect.left,t.maxTranslate.x=w-(t.boundingClientRect.left+t.width)),t.axis.y&&(t.minTranslate.y=x-t.boundingClientRect.top,t.maxTranslate.y=R-(t.boundingClientRect.top+t.height))}else t.axis.x&&(t.minTranslate.x=(h?0:b.left)-t.boundingClientRect.left-t.width/2,t.maxTranslate.x=(h?t.contentWindow.innerWidth:b.left+b.width)-t.boundingClientRect.left-t.width/2),t.axis.y&&(t.minTranslate.y=(h?0:b.top)-t.boundingClientRect.top-t.height/2,t.maxTranslate.y=(h?t.contentWindow.innerHeight:b.top+b.height)-t.boundingClientRect.top-t.height/2);s&&s.split(" ").forEach((function(e){return t.helper.classList.add(e)})),t.listenerNode=e.touches?p:t.contentWindow,f?(t.listenerNode.addEventListener("wheel",t.handleKeyEnd,!0),t.listenerNode.addEventListener("mousedown",t.handleKeyEnd,!0),t.listenerNode.addEventListener("keydown",t.handleKeyDown)):(Y.move.forEach((function(e){return t.listenerNode.addEventListener(e,t.handleSortMove,!1)})),Y.end.forEach((function(e){return t.listenerNode.addEventListener(e,t.handleSortEnd,!1)}))),t.setState({sorting:!0,sortingIndex:y}),u&&u({node:p,index:y,collection:d,isKeySorting:f,nodes:t.manager.getOrderedRefs(),helper:t.helper},e),f&&t.keyMove(0)},i=t.props,o=i.axis,a=i.getHelperDimensions,s=i.helperClass,l=i.hideSortableGhost,c=i.updateBeforeSortStart,u=i.onSortStart,h=i.useWindowAsScrollContainer,p=n.node,d=n.collection,f=t.manager.isKeySorting,m=function(){if("function"==typeof c){t._awaitingUpdateBeforeSortStart=!0;var n=function(t,n){try{var r=(i=p.sortableInfo.index,Promise.resolve(c({collection:d,index:i,node:p,isKeySorting:f},e)).then((function(){})))}catch(e){return n(!0,e)}var i;return r&&r.then?r.then(n.bind(null,!1),n.bind(null,!0)):n(!1,value)}(0,(function(e,n){if(t._awaitingUpdateBeforeSortStart=!1,e)throw n;return n}));if(n&&n.then)return n.then((function(){}))}}();return m&&m.then?m.then(r):r()}}();return Promise.resolve(r&&r.then?r.then((function(){})):void 0)}catch(e){return Promise.reject(e)}})),(0,S.Z)(L(L(t)),"handleSortMove",(function(e){var n=t.props.onSortMove;"function"==typeof e.preventDefault&&e.preventDefault(),t.updateHelperPosition(e),t.animateNodes(),t.autoscroll(),n&&n(e)})),(0,S.Z)(L(L(t)),"handleSortEnd",(function(e){var n=t.props,r=n.hideSortableGhost,i=n.onSortEnd,o=t.manager,a=o.active.collection,s=o.isKeySorting,l=t.manager.getOrderedRefs();t.listenerNode&&(s?(t.listenerNode.removeEventListener("wheel",t.handleKeyEnd,!0),t.listenerNode.removeEventListener("mousedown",t.handleKeyEnd,!0),t.listenerNode.removeEventListener("keydown",t.handleKeyDown)):(Y.move.forEach((function(e){return t.listenerNode.removeEventListener(e,t.handleSortMove)})),Y.end.forEach((function(e){return t.listenerNode.removeEventListener(e,t.handleSortEnd)})))),t.helper.parentNode.removeChild(t.helper),r&&t.sortableGhost&&$(t.sortableGhost,{opacity:"",visibility:""});for(var c=0,u=l.length;cr)){t.prevIndex=o,t.newIndex=i;var a=function(e,t,n){return et?e-1:e>n&&eg?g/2:this.height/2,width:this.width>m?m/2:this.width/2},v=c&&f>this.index&&f<=u,_=c&&f=u,b={x:0,y:0},E=a[h].edgeOffset;E||(E=ee(d,this.container),a[h].edgeOffset=E,c&&(a[h].boundingClientRect=Q(d,i)));var T=h0&&a[h-1];T&&!T.edgeOffset&&(T.edgeOffset=ee(T.node,this.container),c&&(T.boundingClientRect=Q(T.node,i))),f!==this.index?(t&&V(d,t),this.axis.x?this.axis.y?_||fthis.containerBoundingRect.width-y.width&&T&&(b.x=T.edgeOffset.left-E.left,b.y=T.edgeOffset.top-E.top),null===this.newIndex&&(this.newIndex=f)):(v||f>this.index&&(s+o.left+y.width>=E.left&&l+o.top+y.height>=E.top||l+o.top+y.height>=E.top+g))&&(b.x=-(this.width+this.marginOffset.x),E.left+b.xthis.index&&s+o.left+y.width>=E.left?(b.x=-(this.width+this.marginOffset.x),this.newIndex=f):(_||fthis.index&&l+o.top+y.height>=E.top?(b.y=-(this.height+this.marginOffset.y),this.newIndex=f):(_||f-1}(t)?o().createElement(h.Uk,{schema:t,name:n}):e}),null),a=Array.isArray(t.value)?t.value:[];if(!r)throw new Error("can not found schema object");return o().createElement(_e,null,o().createElement("div",Le({},e,{onChange:function(){},className:f()(n,e.className)}),o().createElement(Ne,{useDragHandle:!0,lockAxis:"y",helperClass:"".concat(n,"-sort-helper"),onSortEnd:function(e){var n=e.oldIndex,r=e.newIndex;t.move(n,r)}},null==a?void 0:a.map((function(e,t){var i=Array.isArray(r.items)?r.items[t]||r.items[0]:r.items;return o().createElement(_e.Item,{key:t,index:t,record:e},o().createElement(Oe,{key:"item-".concat(t),index:t},o().createElement("div",{className:"".concat(n,"-item-inner")},o().createElement(h.Uk,{schema:i,name:t}))))}))),i))}));Ie.displayName="ArrayItems",Ie.Item=function(e){var t=pe("formily-array-items");return o().createElement("div",Le({},e,{onChange:function(){},className:f()("".concat(t,"-").concat(e.type||"card"),e.className)}),e.children)},_e.mixin(Ie);var ke=n(5093),De=function(){return De=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}((0,i.useState)(e),2),o=r[0],a=r[1],s=function(){t.current&&a(function(e,t){var n=e.clientWidth,r=t.breakpoints,i=t.layout,o=t.labelAlign,a=t.wrapperAlign,s=t.labelCol,l=t.wrapperCol,c=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},it={error:o().createElement(qe,null),success:o().createElement(Qe,null),warning:o().createElement(tt,null)},ot=function(e){var t,n,r,a,s,l=e.children,c=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i-1&&(t[n]=e[n]);return t}(c),{style:nt(nt({},E),{}),"data-grid-span":c.gridSpan,className:f()((n={},n["".concat(ee)]=!0,n["".concat(ee,"-layout-").concat(T)]=!0,n["".concat(ee,"-").concat(w)]=!!w,n["".concat(ee,"-feedback-has-text")]=!!O,n["".concat(ee,"-size-").concat($)]=!!$,n["".concat(ee,"-feedback-layout-").concat(I)]=!!I,n["".concat(ee,"-fullness")]=!!N||!!P||!!k,n["".concat(ee,"-inset")]=!!P,n["".concat(ee,"-active")]=p,n["".concat(ee,"-inset-active")]=!!P&&p,n["".concat(ee,"-label-align-").concat(G)]=!0,n["".concat(ee,"-control-align-").concat(z)]=!0,n["".concat(ee,"-label-wrap")]=!!W,n["".concat(ee,"-control-wrap")]=!!V,n["".concat(ee,"-bordered-none")]=!1===F||!!P||!!k,n[c.className]=!!c.className,n)),onFocus:function(){(k||P)&&d(!0)},onBlur:function(){(k||P)&&d(!1)}}),function(){var e,t;return b?o().createElement("div",{className:f()((e={},e["".concat(ee,"-label")]=!0,e["".concat(ee,"-label-tooltip")]=q&&"text"===K||_,e["".concat(ee,"-item-col-").concat(U)]=J&&!!U,e)),style:Z},(t=o().createElement("div",{className:"".concat(ee,"-label-content"),ref:y},o().createElement("span",{ref:v},R&&o().createElement("span",{className:"".concat(ee,"-asterisk")},"*"),o().createElement("label",null,b))),"text"===K&&q||_?o().createElement(u.Tooltip,{placement:"top",align:{offset:[0,10]},title:_?o().createElement("div",null,o().createElement("div",null,b),o().createElement("div",null,q)):q},t):t),function(){if(q&&"icon"===K&&!_)return o().createElement("span",{className:"".concat(ee,"-label-tooltip-icon")},o().createElement(u.Tooltip,{placement:"top",align:{offset:[0,2]},title:q},X))}()," "!==b&&o().createElement("span",{className:"".concat(ee,"-colon")},S?":":"")):null}(),o().createElement("div",{className:f()((r={},r["".concat(ee,"-control")]=!0,r["".concat(ee,"-item-col-").concat(j)]=J&&!!j&&b,r))},o().createElement("div",{className:f()("".concat(ee,"-control-content"))},C&&o().createElement("div",{className:f()("".concat(ee,"-addon-before"))},C),o().createElement("div",{style:Q,className:f()((a={},a["".concat(ee,"-control-content-component")]=!0,a["".concat(ee,"-control-content-component-has-feedback-icon")]=!!k,a))},o().createElement(Be.Provider,{value:void 0},te),k&&o().createElement("div",{className:f()("".concat(ee,"-feedback-icon"))},k)),A&&o().createElement("div",{className:f()("".concat(ee,"-addon-after"))},A)),!!O&&"popover"!==I&&"none"!==I&&o().createElement("div",{className:f()((s={},s["".concat(ee,"-").concat(w,"-help")]=!!w,s["".concat(ee,"-help")]=!0,s["".concat(ee,"-help-enter")]=!0,s["".concat(ee,"-help-enter-active")]=!0,s))},O),L&&o().createElement("div",{className:f()("".concat(ee,"-extra"))},L)))},at=(0,h.$j)(ot,(0,h.jM)((function(e,t){return(0,ke.JF)(t)?{label:t.title||e.label,asterisk:e.asterisk,extra:e.extra||t.description}:t?{label:e.label||t.title,feedbackStatus:t.validating?"pending":t.decoratorProps.feedbackStatus||t.validateStatus,feedbackText:function(){var n=function(e){return e.reduce((function(t,n,r){return n?r0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}(r),!1),[null==e?void 0:e[c]],!1);(null==e?void 0:e[s])===t?i={leaf:null==e?void 0:e[c],whole:a}:(null===(o=null==e?void 0:e[h])||void 0===o?void 0:o.length)&&(i=mt(null==e?void 0:e[h],t,n,a))}})),i},gt=(0,h.Pi)((function(e){var t,n,r,i=(0,h.U$)(),a=pe("form-text",e),s=(null===(t=null==i?void 0:i.dataSource)||void 0===t?void 0:t.length)?i.dataSource:(null===(n=null==e?void 0:e.options)||void 0===n?void 0:n.length)?e.options:[],l=ft(),c=function(e){var t;return(null===(t=null==s?void 0:s.find((function(t){return t.value==(null==e?void 0:e.value)})))||void 0===t?void 0:t.label)||e.label||l};return o().createElement("div",{className:f()(a,e.className),style:e.style},(r=function(){var t=e.value;return"multiple"===e.mode||"tags"===e.mode?e.labelInValue?(0,p.H1)(t)?t:[]:(0,p.H1)(t)?t.map((function(e){return{label:e,value:e}})):[]:e.labelInValue?(0,p.JY)(t)?[t]:[]:(0,p.JY)(t)?[{label:t,value:t}]:[]}()).length?1===r.length?c(r[0]):r.map((function(e,t){return o().createElement(u.Tag,{key:t},c(e))})):l)})),yt=(0,h.Pi)((function(e){var t,n,r,i=(0,h.U$)(),a=ft(),s=pe("form-text",e),l=(null===(t=null==i?void 0:i.dataSource)||void 0===t?void 0:t.length)?i.dataSource:(null===(n=null==e?void 0:e.treeData)||void 0===n?void 0:n.length)?e.treeData:[],c=function(e,t,n){for(var r,i=0;i<(null==t?void 0:t.length);i++){var o=t[i];if((null==o?void 0:o.value)===e)return null!==(r=null==o?void 0:o.label)&&void 0!==r?r:o[n];var a=c(e,null==o?void 0:o.children,n);if(a)return a}};return o().createElement("div",{className:f()(s,e.className),style:e.style},(null==(r=function(){var t=e.value;return e.multiple?e.labelInValue?(0,p.H1)(t)?t:[]:(0,p.H1)(t)?t.map((function(e){return{label:e,value:e}})):[]:e.labelInValue?t?[t]:[]:t?[{label:t,value:t}]:[]}())?void 0:r.length)?r.map((function(t,n){var r=t.value,i=t.label;return o().createElement(u.Tag,{key:n},c(r,l,e.treeNodeLabelProp)||i||a)})):o().createElement(u.Tag,null,a))})),vt=(0,h.Pi)((function(e){var t,n,r=(0,h.U$)(),i=ft(),a=pe("form-text",e),s=(null===(t=null==r?void 0:r.dataSource)||void 0===t?void 0:t.length)?r.dataSource:(null===(n=null==e?void 0:e.options)||void 0===n?void 0:n.length)?e.options:[];return o().createElement("div",{className:f()(a,e.className),style:e.style},function(){var t,n,r,o=(r=(0,p._K)(e.value),e.multiple?r.map((function(e){return e[e.length-1]})):r.slice(r.length-1));return(null===(n=null===(t=mt(s,o))||void 0===t?void 0:t.filter((function(e){return(0,p.JY)(e)})))||void 0===n?void 0:n.map((function(e){var t;return null===(t=null==e?void 0:e.whole)||void 0===t?void 0:t.join("/")})).join(", "))||i}())})),_t=function(e){var t=pe("form-text",e);return o().createElement("div",{className:f()(t,e.className),style:e.style},ft(e.value))};_t.Input=function(e){var t=pe("form-text",e);return o().createElement(u.Space,{className:f()(t,e.className),style:e.style},e.addonBefore,e.prefix,ft(e.value),e.suffix,e.addonAfter)},_t.Select=gt,_t.TreeSelect=yt,_t.Cascader=vt,_t.DatePicker=function(e){var t,n=ft(),r=pe("form-text",e);return o().createElement("div",{className:f()(r,e.className)},(t=ut(e.value,e.format,n),(0,p.H1)(t)?t.join("~"):t))},_t.DateRangePicker=function(e){var t,n=ft(),r=pe("form-text",e);return o().createElement("div",{className:f()(r,e.className),style:e.style},(t=ut(e.value,e.format,n),(0,p.H1)(t)?t.join("~"):t))},_t.TimePicker=function(e){var t,n=ft(),r=pe("form-text",e);return o().createElement("div",{className:f()(r,e.className),style:e.style},(t=ut(e.value,e.format,n),(0,p.H1)(t)?t.join("~"):t))},_t.TimeRangePicker=function(e){var t,n=ft(),r=pe("form-text",e);return o().createElement("div",{className:f()(r,e.className),style:e.style},(t=ut(e.value,e.format,n),(0,p.H1)(t)?t.join("~"):t))},_t.Placeholder=dt,_t.usePlaceholder=ft;var bt=_t,Et=n(2720),Tt=function(){return Tt=Object.assign||function(e){for(var t,n=1,r=arguments.length;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.d(t,{Z:()=>A});var r=n(8241),i=n(3659),o=n(1024),a=n.n(o);const s={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 394c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8H708V152c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v166H400V152c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v166H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h168v236H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h168v166c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V706h228v166c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V706h164c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8H708V394h164zM628 630H400V394h228v236z"}}]},name:"number",theme:"outlined"};var l=n(2439),c=function(e,t){return o.createElement(l.Z,(0,i.Z)((0,i.Z)({},e),{},{ref:t,icon:s}))};c.displayName="NumberOutlined";const u=o.forwardRef(c);var h,p=n(2721);e=n.hmd(e),(h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&h(e);var d="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(e){return e};function f(e,t){return _(e)||v(e,t)||g(e,t)||m()}function m(){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 g(e,t){if(e){if("string"==typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?y(e,t):void 0}}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0}))}),[t,s]),u=(0,o.useMemo)((function(){return c.map((function(e){var t=e.properties,n=x(e);return{label:n,options:Object.entries(t).map((function(e){var t=f(e,2),r=t[0],i=t[1];return{label:a().createElement(a().Fragment,null,E[i],r),value:"".concat(n,"^^").concat(r)}}))}}))}),[c]);return a().createElement(p.Select,Object.assign({},r,{options:u,onSearch:function(e){return l(e),null==n?void 0:n(e)}}))};d(S,"useState{_useState('')}\nuseMemo{groups}\nuseMemo{options}");var C=S;const A=C;var R,w;(R="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(R.register(f,"_slicedToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/GroupSelect/index.js"),R.register(m,"_nonIterableRest","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/GroupSelect/index.js"),R.register(g,"_unsupportedIterableToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/GroupSelect/index.js"),R.register(y,"_arrayLikeToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/GroupSelect/index.js"),R.register(v,"_iterableToArrayLimit","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/GroupSelect/index.js"),R.register(_,"_arrayWithHoles","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/GroupSelect/index.js"),R.register(b,"__rest","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/GroupSelect/index.js"),R.register(E,"iconMap","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/GroupSelect/index.js"),R.register(T,"match","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/GroupSelect/index.js"),R.register(x,"getTypeName","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/GroupSelect/index.js"),R.register(S,"GroupSelect","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/GroupSelect/index.js"),R.register(C,"default","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/GroupSelect/index.js")),(w="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&w(e)},1378:(e,t,n)=>{"use strict";n.d(t,{Z:()=>C});var r,i=n(2721),o=n(1024),a=n.n(o),s=n(9143),l=n(2176);e=n.hmd(e),(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(e);var c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(e){return e};function u(e,t){return m(e)||f(e,t)||p(e,t)||h()}function h(){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 p(e,t){if(e){if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(e,t):void 0}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.d(t,{Z:()=>v});var r,i=n(2721),o=n(1024),a=n.n(o),s=n(9143),l=n(1378),c=n(2176);function u(e,t){return m(e)||f(e,t)||p(e,t)||h()}function h(){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 p(e,t){if(e){if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(e,t):void 0}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.d(t,{Z:()=>b});var r,i=n(2721),o=n(1024),a=n.n(o),s=n(9143),l=n(2176);e=n.hmd(e),(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(e);var c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(e){return e};function u(e,t){return m(e)||f(e,t)||p(e,t)||h()}function h(){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 p(e,t){if(e){if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(e,t):void 0}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.d(t,{Z:()=>g});var r=n(1024),i=n.n(r);var o,a=n(7407),s=n(3279);e=n.hmd(e),(o="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&o(e);var l="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(e){return e};function c(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=u(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},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(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function u(e,t){if(e){if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?h(e,t):void 0}}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;f.current[t]?(f.current[t].props=e,f.current[t].id=n):f.current[t]={props:e,groupName:"样式配置分组".concat(t+1),groupId:"default-group",id:n,expressions:[],rules:"and"},r&&r(f.current)})),y=p((function(e,t){var n,i,o=[],a=c(t.groups);try{var s=function(){var e=i.value,t=null===(n=f.current)||void 0===n?void 0:n.find((function(t){return t.groupId===e.groupId}));if(t){var r=Object.assign({},t,e);r.props=Object.assign({},t.props),o.push(r)}else o.push(e)};for(a.s();!(i=a.n()).done;)s()}catch(e){a.e(e)}finally{a.f()}f.current=o,r&&r(f.current)}));return i().createElement(a.Z,{elementType:n,schemaData:u,defaultGroupOption:d[n],initValues:{groups:h},data:t[n],valuesChange:y},(function(e){var t=h[e]||m[n];return i().createElement("div",null,i().createElement(s.Z,{elementType:n,schemaData:u,elements:o,config:t,onChange:function(t,n){return g(t,e,n)}}))}))};l(f,"useRef{preStyleGroup}");var m=f;const g=m;var y,v;(y="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(y.register(c,"_createForOfIteratorHelper","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/index.js"),y.register(u,"_unsupportedIterableToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/index.js"),y.register(h,"_arrayLikeToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/index.js"),y.register(p,"debounce","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/index.js"),y.register(d,"defaultGroupOption","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/index.js"),y.register(f,"CommonStyleSetting","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/index.js"),y.register(m,"default","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/index.js")),(v="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&v(e)},5430:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r,i=n(703),o=n(2721),a=n(1024),s=n.n(a);e=n.hmd(e),(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(e),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var l=o.Collapse.Panel,c=function(e){var t=e.defaultActiveKey,n=e.children;return s().createElement(o.Collapse,Object.assign({},e,{bordered:!1,defaultActiveKey:t,expandIcon:function(e){var t=e.isActive;return s().createElement(i.Z,{rotate:t?90:0})},className:"site-collapse-custom-collapse"}),n)},u=function(e){var t=e.key,n=e.header,r=e.children;return s().createElement(l,Object.assign({},e,{header:n,key:t,className:"site-collapse-custom-panel"}),r)};c.Panel=u;var h=c;const p=h;var d,f;(d="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(d.register(l,"Panel","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/FormilyForm/AssetCollapse/index.js"),d.register(c,"AssetCollapse","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/FormilyForm/AssetCollapse/index.js"),d.register(u,"AssetCollapsePanel","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/FormilyForm/AssetCollapse/index.js"),d.register(h,"default","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/FormilyForm/AssetCollapse/index.js")),(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&f(e)},4304:(e,t,n)=>{"use strict";n.d(t,{Z:()=>Bn});var r,i=n(703),o=n(1397),a=Object.prototype.toString,s=function(e){return e&&e instanceof Map},l=function(e){return e&&e instanceof Set},c=function(e){return e&&e instanceof WeakMap},u=function(e){return e&&e instanceof WeakSet},h=function(e){return"function"==typeof e},p=Array.isArray,d=function(e){return"[object Object]"===a.call(e)},f=function(e){return s(e)||c(e)||l(e)||u(e)},m=function(e){return d(e)||p(e)},g=function(e){return Array.isArray(e)?e:null!=e?[e]:[]},y=function(){function e(e){void 0===e&&(e=[]),this.forEachIndex=0,this.value=e}return e.prototype.add=function(e){this.has(e)||this.value.push(e)},e.prototype.has=function(e){return this.value.indexOf(e)>-1},e.prototype.delete=function(e){var t=this.value.indexOf(e);t>-1&&(this.value.splice(t,1),t<=this.forEachIndex&&(this.forEachIndex-=1))},e.prototype.forEach=function(e){if(0!==this.value.length)for(this.forEachIndex=0;this.forEachIndex0},V=function(){return A.value},K=function(){return C.value>0},q=function(){w.batchDelete((function(e){h(e._scheduler)?e._scheduler(e):e()}))},X=function(){O.batchDelete((function(e){e()}))},Z=function(e,t){return e!==t&&(e.length!==t.length||!!e.some((function(e,n){return e!==t[n]})))},Q=(Object.defineProperty(function(e,t){this.node=t,this.key=e.key,this.type=e.type,this.object=e.target,this.value=e.value,this.oldValue=e.oldValue}.prototype,"path",{get:function(){return this.node.path.concat(this.key)},enumerable:!1,configurable:!0}),function(){function e(e,t,n){this.target=e,this.key=t,this.value=n}return Object.defineProperty(e.prototype,"path",{get:function(){return this.parent?this.parent.path.concat(this.key):this.key?[this.key]:[]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"targetRaw",{get:function(){return v.get(this.target)||this.target},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){if(this.target)return J(this.targetRaw)},enumerable:!1,configurable:!0}),e.prototype.isEqual=function(e){return this.key?e.targetRaw===this.targetRaw&&e.key===this.key:e.value===this.value},e.prototype.contains=function(e){if(e===this)return!0;for(var t=e.parent;t;){if(this.isEqual(t))return!0;t=t.parent}return!1},e}()),J=function(e){return E.get(e)},ee=function(e,t,n){var r=v.get(n)||n,i=J(r);if(i)return i;!function(e,t){E.set(e,t)}(r,new Q(e,t,n))},te=Symbol("RAW_TYPE"),ne=Symbol("OBSERVABLE_TYPE"),re=(Object.prototype.hasOwnProperty,function(e){return v.has(e)}),ie=function(e){return e&&!!e[N]},oe=function(e){return!(null==e||!p(e)&&(d(e)?e[te]||!e[ne]&&("$$typeof"in e&&"_owner"in e||e._isAMomentObject||e._isJSONSchemaObject||h(e.toJS)||h(e.toJSON)):!(s(e)||c(e)||l(e)||u(e))))},ae=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},se=function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i0&&function(e){if(h(e)){var t=x[x.length-1];if(t){var n=t._computesSet;n?n.add(e):t._computesSet=new y([e])}}}(u),K()?c():u._dirty&&(u(),u._dirty=!1),M({target:a,key:s,type:"get"}),i.value}function d(e){var t;try{U(),null===(t=l.set)||void 0===t||t.call(a,e)}finally{j()}}return u._name="ComputedReaction",u._scheduler=function(){u._dirty=!0,F({target:a,key:s,value:i.value,type:"set"})},u._isComputed=!0,u._dirty=!0,u._context=a,u._property=s,t?(Object.defineProperty(t,n,{get:p,set:d,enumerable:!0}),t):(Object.defineProperty(o,"value",{set:d,get:p}),ee(t,n,i),v.set(o,i),_.set(i,o),o)}));function De(e){return ye(null,null,e)}De.box=Ae,De.ref=Re,De.deep=Ce,De.shallow=we,De.computed=ke,De[N]=Ce;var Pe=function(e,t){void 0===t&&(t="AutoRun");var n=function(){if(h(e)&&!(n._boundary>0)&&-1===x.indexOf(n)){H(n);try{U(),x.push(n),e()}finally{x.pop(),n._boundary++,j(),n._boundary=0,n._memos.cursor=0,n._effects.cursor=0}}},r=function(){n._memos={queue:[],cursor:0},n._effects={queue:[],cursor:0}};return n._boundary=0,n._name=t,r(),n(),function(){B(n),function(e){if(e._effects)try{U(),e._effects.queue.forEach((function(e){e&&e.dispose&&e.dispose()}))}finally{j()}}(n),r()}};Pe.memo=function(e,t){if(h(e)){var n=x[x.length-1];if(!n||!n._memos)throw new Error("autorun.memo must used in autorun function body.");var r=g(t||[]),i=n._memos.cursor++,o=n._memos.queue[i];if(!o||Z(r,o.deps)){var a=e();return n._memos.queue[i]={value:a,deps:r},a}return o.value}},Pe.effect=function(e,t){if(h(e)){var n=x[x.length-1];if(!n||!n._effects)throw new Error("autorun.effect must used in autorun function body.");var r=n._effects,i=g(t||[{}]),o=r.cursor++,a=r.queue[o];a&&!Z(i,a.deps)||(Promise.resolve(0).then((function(){if(!n._disposed){var t=e();h(t)&&(r.queue[o].dispose=t)}})),r.queue[o]={deps:i})}};var Me=Object.prototype.toString,Fe=function(e){return function(t){return He(t)==="[object ".concat(e,"]")}},He=function(e){return Me.call(e)},Be=Array.isArray;Fe("Object"),Fe("String"),Fe("Boolean"),Fe("Number"),Fe("RegExp"),function(){try{if("undefined"!=typeof self)return self}catch(e){}try{if("undefined"!=typeof window)return window}catch(e){}try{if(void 0!==n.g)return n.g}catch(e){}Function("return this")()}(),Object.keys,Object.prototype.hasOwnProperty,Object.prototype.hasOwnProperty,Object.prototype.toString;for(var Ue,je=function(){return je=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0;t--)if(this.state.context[t]===e)return!0;return!1},e.prototype.unexpect=function(e){return e=e||this.state.type,yt('Unexpect token "'.concat(e.flag,'" in ').concat(this.state.pos," char."),{pos:this.state.pos})},e.prototype.expectNext=function(e,t){if(e&&e.expectNext&&t&&!e.expectNext.call(this,t))throw yt('Unexpect token "'.concat(t.flag,'" token should not be behind "').concat(e.flag,'" token.(').concat(this.state.pos,"th char)"),{pos:this.state.pos})},e.prototype.expectPrev=function(e,t){if(e&&e.expectPrev&&t&&!e.expectPrev.call(this,t))throw yt('Unexpect token "'.concat(e.flag,'" should not be behind "').concat(t.flag,'"(').concat(this.state.pos,"th char)."),{pos:this.state.pos})},e.prototype.match=function(e){return this.state.type===e},e.prototype.skipSpace=function(){if(this.curContext()!==$e)e:for(;this.state.pos8&&e<14||e>=5760&&mt.test(String.fromCharCode(e))))break e;++this.state.pos}}},e.prototype.next=function(){if(this.type_=this.state.type,this.input.length<=this.state.pos)return this.finishToken(ft);this.skipSpace(),this.readToken(this.getCode(),this.state.pos>0?this.getCode(this.state.pos-1):-1/0)},e.prototype.getCode=function(e){return void 0===e&&(e=this.state.pos),function(e,t){if(String.fromCharCode)return e.codePointAt(t);var n=e.charCodeAt(t);return n<=55295||n>=57344?n:(n<<10)+e.charCodeAt(t+1)-56613888}(this.input,e)},e.prototype.eat=function(e){return!!this.match(e)&&(this.next(),!0)},e.prototype.readKeyWord=function(){for(var e=this.state.pos,t="";;){var n=this.getCode(),r=this.getCode(this.state.pos-1);if(this.input.length===this.state.pos){t=vt(this.input,e,this.state.pos+1);break}if(gt(n)&&92!==r){t=vt(this.input,e,this.state.pos);break}if(32===n||160===n||10===n||8232===n||8233===n){t=vt(this.input,e,this.state.pos);break}if(13===n&&10===this.input.charCodeAt(this.state.pos+1)){t=vt(this.input,e,this.state.pos);break}if(n>8&&n<14||n>=5760&&mt.test(String.fromCharCode(n))){t=vt(this.input,e,this.state.pos);break}this.state.pos++}this.finishToken(Ze,t)},e.prototype.readIngoreString=function(){for(var e,t=this.state.pos,n="";;){var r=this.getCode();if(this.state.pos>=this.input.length)break;if(91!==r&&93!==r||92!==e){if(93==r&&93===e){n=this.input.slice(t,this.state.pos-1).replace(/\\([\[\]])/g,"$1"),this.state.pos++;break}this.state.pos++,e=r}else this.state.pos++,e=""}this.finishToken(pt,n),this.finishToken(lt)},e.prototype.finishToken=function(e,t){var n=this.state.type;this.state.type=e,void 0!==t&&(this.state.value=t),this.expectNext(n,e),this.expectPrev(e,n),e.updateContext&&e.updateContext.call(this,n)},e.prototype.readToken=function(e,t){if(92===t)return this.readKeyWord();if(this.input.length<=this.state.pos)this.finishToken(ft);else if(this.curContext()===$e)this.readIngoreString();else if(123===e)this.state.pos++,this.finishToken(rt);else if(125===e)this.state.pos++,this.finishToken(it);else if(42===e){if(this.state.pos++,42===this.getCode())return this.state.pos++,this.finishToken(Je);this.finishToken(Qe)}else if(33===e)this.state.pos++,this.finishToken(tt);else if(46===e)this.state.pos++,this.finishToken(et);else if(91===e){if(this.state.pos++,91===this.getCode())return this.state.pos++,this.finishToken(st);this.finishToken(ot)}else 126===e?(this.state.pos++,this.finishToken(dt)):93===e?(this.state.pos++,this.finishToken(at)):40===e?(this.state.pos++,this.finishToken(ct)):41===e?(this.state.pos++,this.finishToken(ut)):44===e?(this.state.pos++,this.finishToken(ht)):58===e?(this.state.pos++,this.finishToken(nt)):this.readKeyWord()},e}(),bt=function(e){return function(t){return t&&t.type===e}},Et=bt("Identifier"),Tt=bt("IgnoreExpression"),xt=bt("DotOperator"),St=bt("WildcardOperator"),Ct=bt("ExpandOperator"),At=bt("GroupExpression"),Rt=bt("RangeExpression"),wt=bt("DestructorExpression"),Lt=bt("ObjectPattern"),Ot=(bt("ObjectPatternProperty"),bt("ArrayPattern")),Nt=Object.prototype.toString,It=function(e){return function(t){return Nt.call(t)==="[object ".concat(e,"]")}},kt=It("Function"),Dt=Array.isArray||It("Array"),Pt=(It("Object"),It("String")),Mt=(It("Boolean"),It("Number")),Ft=function(e){return"object"==typeof e},Ht=It("RegExp"),Bt=function(e){return Mt(e)||/^(\d+)(\.\d+)?$/.test(e)},Ut=Dt,jt=Object.keys,Gt=Object.prototype.hasOwnProperty,Yt=function(e,t){if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){var n=Ut(e),r=Ut(t),i=void 0,o=void 0,a=void 0;if(n&&r){if((o=e.length)!==t.length)return!1;for(i=o;0!=i--;)if(!Yt(e[i],t[i]))return!1;return!0}if(n!==r)return!1;var s=jt(e);if((o=s.length)!==jt(t).length)return!1;for(i=o;0!=i--;)if(!Gt.call(t,s[i]))return!1;for(i=o;0!=i--;)if(a=s[i],!Yt(e[a],t[a]))return!1;return!0}return e!=e&&t!=t},zt=new Map,$t=function(e){return zt.get(e)},Wt=function(e){var t=[];if(Lt(e)){var n=0;return e.properties.forEach((function(e){t[n]={path:[]},t[n].key=e.key.value,t[n].path.push(e.key.value),Et(e.value)&&(t[n].key=e.value.value);var r=t[n].path,i=Wt(e.value),o=n;i.forEach((function(e){t[o]?(t[o].key=e.key,t[o].path=r.concat(e.path)):t[o]={key:e.key,path:r.concat(e.path)},o++})),o>n?n=o:n++})),t}if(Ot(e)){var r=0;return e.elements.forEach((function(e,n){t[r]={path:[]},t[r].key=n,t[r].path.push(n),Et(e)&&(t[r].key=e.value);var i=t[r].path,o=Wt(e),a=r;o.forEach((function(e){t[a]?(t[a].key=e.key,t[a].path=i.concat(e.path)):t[a]={key:e.key,path:i.concat(e.path)},a++})),a>r?r=a:r++})),t}return wt(e)?Wt(e.value):t},Vt=function(e,t,n,r){t.forEach((function(t){var i=t.key,o=t.path;r.setIn([i],e,r.getIn(o,n))}))},Kt=function(e,t,n){var r={};return t.length&&Mt(t[0].path[0])&&(r=[]),e=null!=e?e:{},t.forEach((function(t){var i=t.key,o=t.path;n.setIn(o,r,e[i])})),r},qt=function(e,t,n){t.forEach((function(t){var r=t.key;n.deleteIn([r],e)}))},Xt=function(e,t,n,r){return t.every((function(t){var i=t.key;return r.existIn([i],e,n)}))},Zt=(Ue=function(e,t){return Ue=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},Ue(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Ue(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Qt=function(e,t,n){if(Bt(e)&&Bt(t)){if("+"===n)return String(Number(e)+Number(t));if("-"===n)return String(Number(e)-Number(t));if("*"===n)return String(Number(e)*Number(t));if("/"===n)return String(Number(e)/Number(t))}else{if("+"===n)return String(e)+String(t);if("-"===n)return"NaN";if("*"===n)return"NaN";if("/"===n)return"NaN"}return String(Number(t))},Jt=function(e){function t(t,n){var r=e.call(this,t)||this;return r.isMatchPattern=!1,r.isWildMatchPattern=!1,r.haveExcludePattern=!1,r.haveRelativePattern=!1,r.base=n,r}return Zt(t,e),t.prototype.parse=function(){var e;return this.data={segments:[]},this.eat(ft)||(this.next(),e=this.parseAtom(this.state.type)),this.data.tree=e,e},t.prototype.append=function(e,t){e&&t&&(e.after=t)},t.prototype.parseAtom=function(e){switch(e){case rt:case ot:return this.includesContext(Ke)?e===rt?this.parseObjectPattern():this.parseArrayPattern():this.parseDestructorExpression();case Ze:return this.parseIdentifier();case dt:return this.parseExpandOperator();case Je:case Qe:return this.parseWildcardOperator();case st:return this.parseIgnoreExpression();case et:return this.parseDotOperator()}},t.prototype.pushSegments=function(e){this.data.segments.push(e)},t.prototype.parseIdentifier=function(){var e={type:"Identifier",value:this.state.value},t=!this.includesContext(Ke)&&!this.isMatchPattern&&!this.isWildMatchPattern;if(this.next(),this.includesContext(ze)){if(this.state.type!==at)throw this.unexpect();this.state.context.pop(),this.next()}else t&&this.pushSegments(e.value);if(this.state.type===ot){if(this.next(),this.state.type!==Ze)throw this.unexpect();this.state.context.push(ze);var n=!1;/^\d+$/.test(this.state.value)&&(n=!0);var r=this.state.value;this.pushSegments(n?Number(r):r);var i=this.parseAtom(this.state.type);n&&(i.arrayIndex=!0),this.append(e,i)}else this.append(e,this.parseAtom(this.state.type));return e},t.prototype.parseExpandOperator=function(){var e={type:"ExpandOperator"};return this.isMatchPattern=!0,this.isWildMatchPattern=!0,this.data.segments=[],this.next(),this.append(e,this.parseAtom(this.state.type)),e},t.prototype.parseWildcardOperator=function(){var e={type:"WildcardOperator"};return this.state.type===Je&&(e.optional=!0),this.isMatchPattern=!0,this.isWildMatchPattern=!0,this.data.segments=[],this.next(),this.state.type===ct?e.filter=this.parseGroupExpression(e):this.state.type===ot&&(e.filter=this.parseRangeExpression(e)),this.append(e,this.parseAtom(this.state.type)),e},t.prototype.parseDestructorExpression=function(){var e=this,t={type:"DestructorExpression"};this.state.context.push(Ke);var n=this.state.pos-1;t.value=this.state.type===rt?this.parseObjectPattern():this.parseArrayPattern();var r,i,o=this.state.pos;return this.state.context.pop(),t.source=this.input.substring(n,o).replace(/\[\s*([\+\-\*\/])?\s*([^,\]\s]*)\s*\]/,(function(t,n,r){return void 0!==e.relative?n?Qt(e.relative,r||1,n):r?Qt(e.relative,r,"+"):String(e.relative):t})).replace(/\s*\.\s*/g,"").replace(/\s*/g,""),void 0===this.relative&&(r=t.source,i=Wt(t),zt.set(r,i)),this.relative=void 0,this.pushSegments(t.source),this.next(),this.append(t,this.parseAtom(this.state.type)),t},t.prototype.parseArrayPattern=function(){var e={type:"ArrayPattern",elements:[]};return this.next(),e.elements=this.parseArrayPatternElements(),e},t.prototype.parseArrayPatternElements=function(){for(var e=[];this.state.type!==at&&this.state.type!==ft;){if(e.push(this.parseAtom(this.state.type)),this.state.type===at)return this.includesContext(Ke)&&this.next(),e;this.next()}return e},t.prototype.parseObjectPattern=function(){var e={type:"ObjectPattern",properties:[]};return this.next(),e.properties=this.parseObjectProperties(),e},t.prototype.parseObjectProperties=function(){for(var e=[];this.state.type!==it&&this.state.type!==ft;){var t={type:"ObjectPatternProperty",key:this.parseAtom(this.state.type)};if(e.push(t),this.state.type===nt&&(this.next(),t.value=this.parseAtom(this.state.type)),this.state.type===it)return this.includesContext(Ke)&&this.next(),e;this.next()}return e},t.prototype.parseDotOperator=function(){var e={type:"DotOperator"};if(!this.type_&&this.base){if(this.base.isMatchPattern)throw new Error("Base path must be an absolute path.");for(this.data.segments=this.base.toArr();this.state.type===et;)this.relative=this.data.segments.pop(),this.haveRelativePattern=!0,this.next();return function(e,t){void 0===e&&(e=[]);var n=e.length,r=function(i){void 0===i&&(i=0);var o=i=0&&this.record.score++},e.prototype.take=function(e){var t;return String(null!==(t=this.path[e])&&void 0!==t?t:"")},e.prototype.matchExcludeIdentifier=function(e,t,n){var r=n===this.path.length-1,i=n=Number(e.start.value)&&n<=Number(e.end.value):n>=Number(e.start.value):e.end?n<=Number(e.end.value):(this.wildcards=this.stack.slice(),this.next(e,t))},e.prototype.matchNode=function(e,t){return void 0===t&&(t=0),xt(e)?this.next(e,t+1):Et(e)?this.matchIdentifier(e,t):Tt(e)?this.matchIgnoreExpression(e,t):wt(e)?this.matchDestructorExpression(e,t):Ct(e)?this.matchExpandOperator(e,t):St(e)?this.matchWildcardOperator(e,t):At(e)?this.matchGroupExpression(e,t):!!Rt(e)&&this.matchRangeExpression(e,t)},e.prototype.match=function(e){return this.path=e,{matched:this.matchNode(this.tree),record:this.record}},e.matchSegments=function(e,t,n){if(e.length!==t.length)return{matched:!1,record:n};var r=function(i){void 0===i&&(i=0);var o,a,s=(o=e[i],a=t[i],(o="symbol"==typeof o?o:"".concat(o))===("symbol"==typeof a?a:"".concat(a)));return(null==n?void 0:n.score)>=0&&n.score++,s&&(!(i0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},nn=function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;ir.segments.length)return l(!1);for(var c=0;c=c?a:l:a||l},this.existIn=function(e,t){return void 0===t&&(t=0),pn(r.segments,e,t)},this.getIn=function(e){return ln(r.segments,e)},this.setIn=function(e,t){return cn(r.segments,e,t),e},this.deleteIn=function(e){return un(r.segments,e),e},this.ensureIn=function(e,t){var n=r.getIn(e);return void 0===n?(r.setIn(e,t),r.getIn(e)):n};var i=dn(t,n),o=i.tree,a=i.segments,s=i.entire,l=i.isRegExp,c=i.isMatchPattern,u=i.isWildMatchPattern,h=i.haveRelativePattern,p=i.haveExcludePattern;this.entire=s,this.segments=a,this.isMatchPattern=c,this.isWildMatchPattern=u,this.haveRelativePattern=h,this.isRegExp=l,this.haveExcludePattern=p,this.tree=o,this.matchCache=new Map,this.includesCache=new Map}return e.prototype.toString=function(){var e;return null===(e=this.entire)||void 0===e?void 0:e.toString()},e.prototype.toArr=function(){var e;return null===(e=this.segments)||void 0===e?void 0:e.slice()},Object.defineProperty(e.prototype,"length",{get:function(){return this.segments.length},enumerable:!1,configurable:!0}),e.match=function(t){var n=e.parse(t),r=function(e){return n.match(e)};return r[on]=!0,r.path=n,r},e.isPathPattern=function(e){return!!(Pt(e)||Dt(e)||Ht(e)||kt(e)&&e[on])},e.transform=function(t,n,r){return e.parse(t).transform(n,r)},e.parse=function(t,n){if(void 0===t&&(t=""),t instanceof e)return rn.get(t.entire)||(rn.set(t.entire,t),t);if(t&&t[on])return e.parse(t.path);var r=n?e.parse(n):"",i="".concat(t,":").concat(r);return rn.get(i)||(t=new e(t,n),rn.set(i,t),t)},e.getIn=function(t,n){return e.parse(n).getIn(t)},e.setIn=function(t,n,r){return e.parse(n).setIn(t,r)},e.deleteIn=function(t,n){return e.parse(n).deleteIn(t)},e.existIn=function(t,n,r){return e.parse(n).existIn(t,r)},e.ensureIn=function(t,n,r){return e.parse(n).ensureIn(t,r)},e}(),gn=36;gn--;)gn.toString(36);var yn,vn=n(2721),_n=n(2752),bn=n(1838),En=n.n(bn),Tn=n(1024),xn=n.n(Tn),Sn=n(9143),Cn=n(7129);e=n.hmd(e),(yn="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&yn(e);var An="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(e){return e};function Rn(e,t){return In(e)||Nn(e,t)||Ln(e,t)||wn()}function wn(){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 Ln(e,t){if(e){if("string"==typeof e)return On(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?On(e,t):void 0}}function On(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n-1&&n.push({name:r,props:Object.assign(Object.assign({},null==t?void 0:t["x-component-props"]),{key:(null===(o=null==t?void 0:t["x-component-props"])||void 0===o?void 0:o.key)||r}),schema:t})})),n};An(Dn,"useField{collapseField}\nuseFieldSchema{schema}",(function(){return[o.U$,o.XA]}));var Pn=function(e){var t,n,r=(t={activeKeys:e,setActiveKeys:function(e){r.activeKeys=e},hasActiveKey:function(e){if(Array.isArray(r.activeKeys)){if(r.activeKeys.includes(e))return!0}else if(r.activeKeys==e)return!0;return!1},addActiveKey:function(e){var t;r.hasActiveKey(e)||(r.activeKeys=(t=r.activeKeys,Be(t)?t:t?[t]:[]).concat(e))},removeActiveKey:function(e){Array.isArray(r.activeKeys)?r.activeKeys=r.activeKeys.filter((function(t){return t!=e})):r.activeKeys=""},toggleActiveKey:function(e){r.hasActiveKey(e)?r.removeActiveKey(e):r.addActiveKey(e)}},n=Object.keys(t||{}).reduce((function(e,n){var r=Object.getOwnPropertyDescriptor(t,n);return r&&r.get?e[n]=De.computed:h(t[n])?e[n]=Se:e[n]=De,e}),{}),function(e,t){if(re(e))return e;if(!oe(e))return e;for(var n in ee(void 0,void 0,e),v.set(e,e),_.set(e,e),t){var r=t[n];ie(r)&&_e(r)({target:e,key:n})}return e}(t,n));return function(e){if(e)return h(e)?e.prototype[te]=!0:e[te]=!0,e}(r)},Mn=(0,o.Pi)(An((function(e){var t=e.formCollapse,n=kn(e,["formCollapse"]),r=(0,o.U$)(),a=Dn(),s=(0,Cn.Z)("formily-collapse",n),l=(0,Tn.useMemo)((function(){return t||Pn()}),[]),c=Rn((0,Tn.useState)([]),2),u=c[0],h=c[1];return(0,Tn.useEffect)((function(){n.activeKey&&h(function(e){return Array.isArray?Array.isArray(e):(0,_n.Z)(e,"Array")}(n.activeKey)?n.activeKey:[n.activeKey])}),[n.activeKey]),(0,Tn.useEffect)((function(){(null==l?void 0:l.activeKeys)&&h(null==l?void 0:l.activeKeys)}),[null==l?void 0:l.activeKeys]),(0,Tn.useEffect)((function(){var e;n.accordion&&h(null===(e=a[0])||void 0===e?void 0:e.name)}),[n.accordion]),xn().createElement(vn.Collapse,Object.assign({},n,{className:En()(s,n.className),activeKey:u,expandIcon:function(e){var t=e.isActive;return xn().createElement(i.Z,{rotate:t?90:0})},onChange:function(e){var t,r;h(e),null===(t=null==n?void 0:n.onChange)||void 0===t||t.call(n,e),null===(r=null==l?void 0:l.setActiveKeys)||void 0===r||r.call(l,e)}}),a.map((function(e,t){var n=e.props,i=e.schema,a=e.name,s=n.icon,l=function(e,t){var n=r.form.queryFeedbacks({type:"error",address:"".concat(r.address.concat(e),".*")});return n.length?xn().createElement(vn.Badge,{size:"small",className:"errors-badge",count:n.length},t.header):t.header}(a,n);return s&&(l=xn().createElement("span",null,xn().createElement(Sn.JO,{type:s}),"   ",l)),xn().createElement(vn.Collapse.Panel,Object.assign({key:t},n,{header:l,forceRender:!0}),xn().createElement(o.Uk,{schema:i,name:a}))})))}),"useField{field}\nusePanels{panels}\nusePrefixCls{prefixCls}\nuseMemo{_formCollapse}\nuseState{_useState([])}\nuseEffect{}\nuseEffect{}\nuseEffect{}",(function(){return[o.U$,Dn,Cn.Z]}))),Fn=function(e){var t=e.children;return xn().createElement(Tn.Fragment,null,t)};Mn.CollapsePanel=Fn,Mn.createFormCollapse=Pn;var Hn=Mn;const Bn=Hn;var Un,jn;(Un="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(Un.register(Rn,"_slicedToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/FormilyForm/FormCollapse/index.js"),Un.register(wn,"_nonIterableRest","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/FormilyForm/FormCollapse/index.js"),Un.register(Ln,"_unsupportedIterableToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/FormilyForm/FormCollapse/index.js"),Un.register(On,"_arrayLikeToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/FormilyForm/FormCollapse/index.js"),Un.register(Nn,"_iterableToArrayLimit","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/FormilyForm/FormCollapse/index.js"),Un.register(In,"_arrayWithHoles","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/FormilyForm/FormCollapse/index.js"),Un.register(kn,"__rest","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/FormilyForm/FormCollapse/index.js"),Un.register(Dn,"usePanels","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/FormilyForm/FormCollapse/index.js"),Un.register(Pn,"createFormCollapse","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/FormilyForm/FormCollapse/index.js"),Un.register(Mn,"FormCollapse","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/FormilyForm/FormCollapse/index.js"),Un.register(Fn,"CollapsePanel","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/FormilyForm/FormCollapse/index.js"),Un.register(Hn,"default","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/FormilyForm/FormCollapse/index.js")),(jn="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&jn(e)},7129:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r,i=n(2721),o=n(1024);e=n.hmd(e),(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(e);var a=function(e,t){var n;if("ConfigContext"in i.ConfigProvider)return(0,(0,o.useContext)(i.ConfigProvider.ConfigContext).getPrefixCls)(e,null==t?void 0:t.prefixCls);var r=null!==(n=null==t?void 0:t.prefixCls)&&void 0!==n?n:"ant-";return"".concat(r).concat(null!=e?e:"")};("undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(e){return e})(a,"useContext{_useContext}");var s=a;const l=s;var c,u;(c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(c.register(a,"usePrefixCls","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/FormilyForm/FormCollapse/usePrefixCls.js"),c.register(s,"default","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/FormilyForm/FormCollapse/usePrefixCls.js")),(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&u(e)},3631:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var r,i=n(2721),o=n(1024),a=n.n(o),s=n(2176);function l(e,t){return d(e)||p(e,t)||u(e,t)||c()}function c(){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 u(e,t){if(e){if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?h(e,t):void 0}}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.d(t,{Z:()=>c});var r,i=n(2721),o=n(1024),a=n.n(o);e=n.hmd(e),(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(e),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var s=function(e){var t=e.color;return a().createElement(i.Button,{size:"small",type:"text",style:{width:"24px",height:"24px",padding:" 0px 0px",fontSize:"14px",borderRadius:"2px",verticalAlign:"-3px"}},a().createElement("div",{style:{display:"block",width:"14px",height:"14px",background:t,borderRadius:"50%",marginLeft:"3px"}}))},l=s;const c=l;var u,h;(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(u.register(s,"DisplayColor","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/GroupContainer/DisplayColor.js"),u.register(l,"default","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/GroupContainer/DisplayColor.js")),(h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&h(e)},9312:(e,t,n)=>{"use strict";n.d(t,{Z:()=>D});var r=n(8241),i=n(3659),o=n(1024),a=n.n(o);const s={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M508 280h-63.3c-3.3 0-6 2.7-6 6v340.2H433L197.4 282.6c-1.1-1.6-3-2.6-4.9-2.6H126c-3.3 0-6 2.7-6 6v464c0 3.3 2.7 6 6 6h62.7c3.3 0 6-2.7 6-6V405.1h5.7l238.2 348.3c1.1 1.6 3 2.6 5 2.6H508c3.3 0 6-2.7 6-6V286c0-3.3-2.7-6-6-6zm378 413H582c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-152.2-63c52.9 0 95.2-17.2 126.2-51.7 29.4-32.9 44-75.8 44-128.8 0-53.1-14.6-96.5-44-129.3-30.9-34.8-73.2-52.2-126.2-52.2-53.7 0-95.9 17.5-126.3 52.8-29.2 33.1-43.4 75.9-43.4 128.7 0 52.4 14.3 95.2 43.5 128.3 30.6 34.7 73 52.2 126.2 52.2zm-71.5-263.7c16.9-20.6 40.3-30.9 71.4-30.9 31.5 0 54.8 9.6 71 29.1 16.4 20.3 24.9 48.6 24.9 84.9 0 36.3-8.4 64.1-24.8 83.9-16.5 19.4-40 29.2-71.1 29.2-31.2 0-55-10.3-71.4-30.4-16.3-20.1-24.5-47.3-24.5-82.6.1-35.8 8.2-63 24.5-83.2z"}}]},name:"field-number",theme:"outlined"};var l=n(2439),c=function(e,t){return o.createElement(l.Z,(0,i.Z)((0,i.Z)({},e),{},{ref:t,icon:s}))};c.displayName="FieldNumberOutlined";const u=o.forwardRef(c),h={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM504 618H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8z"}}]},name:"file-text",theme:"outlined"};var p=function(e,t){return o.createElement(l.Z,(0,i.Z)((0,i.Z)({},e),{},{ref:t,icon:h}))};p.displayName="FileTextOutlined";const d=o.forwardRef(p);var f,m=n(6840),g=n(5538),y=n(2721),v=n(4510),_=n(2176);e=n.hmd(e),(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&f(e);var b="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(e){return e};function E(e){return S(e)||x(e)||R(e)||T()}function T(){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 x(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function S(e){if(Array.isArray(e))return w(e)}function C(e,t){return O(e)||L(e,t)||R(e,t)||A()}function A(){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 R(e,t){if(e){if("string"==typeof e)return w(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?w(e,t):void 0}}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.d(t,{Z:()=>f});var r,i=n(2721),o=n(1024);function a(e,t){return h(e)||u(e,t)||l(e,t)||s()}function s(){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 l(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.d(t,{Z:()=>P});var r=n(5538),i=n(703),o=n(3659),a=n(1024),s=n.n(a);const l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880.1 154H143.9c-24.5 0-39.8 26.7-27.5 48L349 597.4V838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V597.4L907.7 202c12.2-21.3-3.1-48-27.6-48zM603.4 798H420.6V642h182.9v156zm9.6-236.6l-9.5 16.6h-183l-9.5-16.6L212.7 226h598.6L613 561.4z"}}]},name:"filter",theme:"outlined"};var c=n(2439),u=function(e,t){return a.createElement(c.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:t,icon:l}))};u.displayName="FilterOutlined";const h=a.forwardRef(u);var p,d=n(6840),f=n(2721),m=n(5157),g=n(9312),y=n(6541),v=n(330),_=n(2176);e=n.hmd(e),(p="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&p(e);var b="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(e){return e};function E(e){return S(e)||x(e)||R(e)||T()}function T(){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 x(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function S(e){if(Array.isArray(e))return w(e)}function C(e,t){return O(e)||L(e,t)||R(e,t)||A()}function A(){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 R(e,t){if(e){if("string"==typeof e)return w(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?w(e,t):void 0}}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.d(t,{e:()=>s});var r,i=n(2176);e=n.hmd(e),(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(e),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var o,a,s=function(e){var t=[{label:i.Z.get({id:"common-components.src.GroupContainer.utils.Equal",dm:"等于"}),value:"eql"},{label:i.Z.get({id:"common-components.src.GroupContainer.utils.NotEqual",dm:"不等于"}),value:"not-eql"}],n=[{label:i.Z.get({id:"common-components.src.GroupContainer.utils.Include",dm:"包含"}),value:"contain"},{label:i.Z.get({id:"common-components.src.GroupContainer.utils.NotIncluded",dm:"不包含"}),value:"not-contain"}],r=[{label:i.Z.get({id:"common-components.src.GroupContainer.utils.Greater",dm:"大于"}),value:"gt"},{label:i.Z.get({id:"common-components.src.GroupContainer.utils.GreaterThanOrEqual",dm:"大于等于"}),value:"gte"},{label:i.Z.get({id:"common-components.src.GroupContainer.utils.Less",dm:"小于"}),value:"lt"},{label:i.Z.get({id:"common-components.src.GroupContainer.utils.LessThanOrEqual",dm:"小于等于"}),value:"lte"}];return"string"===e?[].concat(t,n):"number"===e?[].concat(t,r):"boolean"===e?t:[].concat(t,n,r)};(o="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&o.register(s,"getOperatorList","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/GroupContainer/utils.js"),(a="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&a(e)},9143:(e,t,n)=>{"use strict";n.d(t,{JO:()=>z,pE:()=>P});var r=n(3659),i=n(613),o=n(1024),a=n.n(o),s=n(6297),l=n(1838),c=n.n(l),u=n(5746),h=n(9536),p=["className","component","viewBox","spin","rotate","tabIndex","onClick","children"],d=o.forwardRef((function(e,t){var n=e.className,a=e.component,l=e.viewBox,d=e.spin,f=e.rotate,m=e.tabIndex,g=e.onClick,y=e.children,v=(0,i.Z)(e,p);(0,h.Kp)(Boolean(a||y),"Should have `component` prop or `children`."),(0,h.C3)();var _=o.useContext(u.Z).prefixCls,b=void 0===_?"anticon":_,E=c()(b,n),T=c()((0,s.Z)({},"".concat(b,"-spin"),!!d)),x=f?{msTransform:"rotate(".concat(f,"deg)"),transform:"rotate(".concat(f,"deg)")}:void 0,S=(0,r.Z)((0,r.Z)({},h.vD),{},{className:T,style:x,viewBox:l});l||delete S.viewBox;var C=m;return void 0===C&&g&&(C=-1),o.createElement("span",(0,r.Z)((0,r.Z)({role:"img"},v),{},{ref:t,tabIndex:C,onClick:g,className:E}),a?o.createElement(a,(0,r.Z)({},S),y):y?((0,h.Kp)(Boolean(l)||1===o.Children.count(y)&&o.isValidElement(y)&&"use"===o.Children.only(y).type,"Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."),o.createElement("svg",(0,r.Z)((0,r.Z)({},S),{},{viewBox:l}),y)):null)}));d.displayName="AntdIcon";const f=d;var m=["type","children"],g=new Set;function y(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=e[n];if(t=r,Boolean("string"==typeof t&&t.length&&!g.has(t))){var i=document.createElement("script");i.setAttribute("src",r),i.setAttribute("data-namespace",r),e.length>n+1&&(i.onload=function(){y(e,n+1)},i.onerror=function(){y(e,n+1)}),g.add(r),document.body.appendChild(i)}}function v(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.scriptUrl,n=e.extraCommonProps,a=void 0===n?{}:n;t&&"undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&(Array.isArray(t)?y(t.reverse()):y([t]));var s=o.forwardRef((function(e,t){var n=e.type,s=e.children,l=(0,i.Z)(e,m),c=null;return e.type&&(c=o.createElement("use",{xlinkHref:"#".concat(n)})),s&&(c=s),o.createElement(f,(0,r.Z)((0,r.Z)((0,r.Z)({},a),l),{},{ref:t}),c)}));return s.displayName="Iconfont",s}var _,b=n(4725),E=n.n(b),T=n(5721);function x(e){return x="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},x(e)}function S(){S=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function c(e,t,n,i){var o=t&&t.prototype instanceof p?t:p,a=Object.create(o.prototype),s=new R(i||[]);return r(a,"_invoke",{value:E(e,n,s)}),a}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var h={};function p(){}function d(){}function f(){}var m={};l(m,o,(function(){return this}));var g=Object.getPrototypeOf,y=g&&g(g(w([])));y&&y!==t&&n.call(y,o)&&(m=y);var v=f.prototype=p.prototype=Object.create(m);function _(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function i(r,o,a,s){var l=u(e[r],e,o);if("throw"!==l.type){var c=l.arg,h=c.value;return h&&"object"==x(h)&&n.call(h,"__await")?t.resolve(h.__await).then((function(e){i("next",e,a,s)}),(function(e){i("throw",e,a,s)})):t.resolve(h).then((function(e){c.value=e,a(c)}),(function(e){return i("throw",e,a,s)}))}s(l.arg)}var o;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){i(e,n,t,r)}))}return o=o?o.then(r,r):r()}})}function E(e,t,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return{value:void 0,done:!0}}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=T(a,n);if(s){if(s===h)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=u(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===h)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function T(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,T(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),h;var i=u(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,h;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,h):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,h)}function C(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function R(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function w(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;A(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:w(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),h}},e}function C(e){return L(e)||w(e)||R(e)||A()}function A(){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 R(e,t){if(e){if("string"==typeof e)return O(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?O(e,t):void 0}}function w(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function L(e){if(Array.isArray(e))return O(e)}function O(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";var r;function i(e){return i="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(e)}function o(){o=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},a="function"==typeof Symbol?Symbol:{},s=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,n){return e[t]=n}}function h(e,t,n,i){var o=t&&t.prototype instanceof f?t:f,a=Object.create(o.prototype),s=new R(i||[]);return r(a,"_invoke",{value:x(e,n,s)}),a}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=h;var d={};function f(){}function m(){}function g(){}var y={};u(y,s,(function(){return this}));var v=Object.getPrototypeOf,_=v&&v(v(w([])));_&&_!==t&&n.call(_,s)&&(y=_);var b=g.prototype=f.prototype=Object.create(y);function E(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function o(r,a,s,l){var c=p(e[r],e,a);if("throw"!==c.type){var u=c.arg,h=u.value;return h&&"object"==i(h)&&n.call(h,"__await")?t.resolve(h.__await).then((function(e){o("next",e,s,l)}),(function(e){o("throw",e,s,l)})):t.resolve(h).then((function(e){u.value=e,s(u)}),(function(e){return o("throw",e,s,l)}))}l(c.arg)}var a;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){o(e,n,t,r)}))}return a=a?a.then(r,r):r()}})}function x(e,t,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return{value:void 0,done:!0}}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=S(a,n);if(s){if(s===d)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=p(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function S(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,S(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=p(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,d;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function C(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function R(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function w(e){if(e){var t=e[s];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;A(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:w(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},e}n.d(t,{V:()=>u,d:()=>c}),e=n.hmd(e),(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(e),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var a,s,l=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){e.done?i(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))};function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"online",n=arguments.length>2?arguments[2]:void 0;return l(this,void 0,void 0,o().mark((function r(){var i,a;return o().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if("online"!==t){r.next=6;break}return i=n||"https://at.alicdn.com/t/a/".concat(e,".json"),r.next=4,fetch(i).then((function(e){return e.json()}));case 4:return a=r.sent,r.abrupt("return",a);case 6:return r.abrupt("return",{id:"",name:"",font_family:"",css_prefix_text:"",description:"",glyphs:[]});case 7:case"end":return r.stop()}}),r)})))}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"online";return l(this,void 0,void 0,o().mark((function n(){var r,i,a=this;return o().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if("online"!==t){n.next=7;break}return r=[{fontUrl:"//at.alicdn.com/t/a/".concat(e,".woff2"),format:"woff2"},{fontUrl:"//at.alicdn.com/t/a/".concat(e,".woff"),format:"woff"},{fontUrl:"//at.alicdn.com/t/a/".concat(e,".ttf"),format:"truetype"}],i=function(e,t){return l(a,void 0,void 0,o().mark((function n(){var r;return o().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=new FontFace(e,"url(".concat(t,")")),n.next=3,r.load();case 3:document.fonts.add(r);case 4:case"end":return n.stop()}}),n)})))},n.next=5,Promise.all(r.map((function(e){var t=e.fontUrl;return i("iconfont",t)})));case 5:n.next=7;break;case 7:case"end":return n.stop()}}),n)})))}(a="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(a.register(i,"_typeof","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/Icon/loader.js"),a.register(o,"_regeneratorRuntime","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/Icon/loader.js"),a.register(l,"__awaiter","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/Icon/loader.js"),a.register(c,"loadFontJson","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/Icon/loader.js"),a.register(u,"loadUnicodeFont","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/Icon/loader.js")),(s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&s(e)},5157:(e,t,n)=>{"use strict";var r;function i(e){return l(e)||s(e)||a(e)||o()}function o(){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 a(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}function s(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function l(e){if(Array.isArray(e))return c(e)}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);np}),e=n.hmd(e),(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(e),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var u,h,p=function(e,t){try{var n=new Map;return n.set("nodes"===t?"nodeType":"edgeType","string"),e[t].forEach((function(e){Object.entries(e.properties).forEach((function(e){n.set.apply(n,i(e))}))})),Array.from(n)}catch(e){return[]}};(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(u.register(i,"_toConsumableArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/Utils/getAllkeysBySchema.js"),u.register(o,"_nonIterableSpread","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/Utils/getAllkeysBySchema.js"),u.register(a,"_unsupportedIterableToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/Utils/getAllkeysBySchema.js"),u.register(s,"_iterableToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/Utils/getAllkeysBySchema.js"),u.register(l,"_arrayWithoutHoles","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/Utils/getAllkeysBySchema.js"),u.register(c,"_arrayLikeToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/Utils/getAllkeysBySchema.js"),u.register(p,"getAllkeysBySchema","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/Utils/getAllkeysBySchema.js")),(h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&h(e)},2176:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var r,i,o,a=n(5558),s=n.n(a),l=n(4959),c=n(6772),u=n.n(c);function h(e){return h="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},h(e)}function p(){var e=s().getLocale().lang;i=e,o=l.ZP.init(e,u(),{name:"common-components"})}function d(e){s().setLang(e),p()}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o||p(),"string"==typeof e?l.ZP.format({id:e},t,{name:"common-components"}):("object"===h(e)&&e.dm&&(e.defaultMessage=e.dm),l.ZP.format({id:e.id,defaultString:e.dm},t,{name:"common-components"}))}e=n.hmd(e),(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(e),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var m={get:f,update:p,change:d,language:i};const g=m;var y,v;(y="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(y.register(h,"_typeof","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/i18n/index.js"),y.register(i,"language","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/i18n/index.js"),y.register(o,"intl","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/i18n/index.js"),y.register(p,"update","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/i18n/index.js"),y.register(d,"change","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/i18n/index.js"),y.register(f,"get","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/i18n/index.js"),y.register(m,"default","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/i18n/index.js")),(v="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&v(e)},6772:(e,t,n)=>{"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature,e.exports={"en-US":n(3969),"zh-CN":n(7441)}},9909:(e,t,n)=>{"use strict";var r;function i(e){return s(e)||a(e)||u(e)||o()}function o(){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 a(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function s(e){if(Array.isArray(e))return h(e)}function l(e,t){return d(e)||p(e,t)||u(e,t)||c()}function c(){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 u(e,t){if(e){if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?h(e,t):void 0}}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:0;return function(){for(var r=this,i=arguments.length,o=new Array(i),a=0;a0&&void 0!==arguments[0]?arguments[0]:"LT",t={position:"absolute",top:"unset",left:"unset",right:"unset",bottom:"unset"},n=l(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[24,64],2),r=n[0],i=n[1];return"RT"===e&&(t.right="".concat(r,"px"),t.top="".concat(i,"px")),"LT"===e&&(t.left="".concat(r,"px"),t.top="".concat(i,"px")),"LB"===e&&(t.left="".concat(r,"px"),t.bottom="".concat(i,"px")),"RB"===e&&(t.right="".concat(r,"px"),t.bottom="".concat(i,"px")),t};t.getPositionStyles=v;var _=function(e,t){return e.reduce((function(e,n){return e.some((function(e){return t(n,e)}))||e.push(n),e}),[])};t.uniqueElementsBy=_;var b=function(e){return e?new Date(new Date(e).valueOf()+288e5).toJSON().substr(0,16).replace("T"," ").replace(/-/g,"."):"Invalid Date"};t.time=b;var E=function(e,t){var n=t||{},r=n.nodes,o=void 0===r?[]:r,a=n.edges,s=void 0===a?[]:a;return{nodes:_([].concat(i(e.nodes),i(o)),(function(e,t){return e.id===t.id})),edges:_([].concat(i(e.edges),i(s)),(function(e,t){return e.id&&t.id?e.id===t.id:e.source===t.source&&e.target===t.target}))}};t.handleExpand=E;var T=function(e,t){var n=t.nodes.map((function(e){return e.id})),r=t.edges.map((function(e){return"".concat(e.source,"-").concat(e.target)}));return{nodes:e.nodes.filter((function(e){return-1===n.indexOf(e.id)})),edges:e.edges.filter((function(e){var t="".concat(e.source,"-").concat(e.target);return-1===r.indexOf(t)}))}};t.handleCollaspe=T;var x=function(e,t){return t?(e.find((function(e){return e.id===t}))||{}).service||(console.warn("Component need a service",t),null):(console.warn("not found serviceId",t),null)};t.getService=x;var S=function(e,t){var n="props",r={};return function e(n,r,i){try{if("GICC_LAYOUT"===t&&"containers"===i)return r[i]=[],void n.forEach((function(t,n){r[i].push({id:t.id,name:t.name,required:t.required}),Object.keys(t).forEach((function(o){"name"!==o&&"id"!==o&&"required"!==o&&e(t[o],r[i][n],o)}))}));var o=n.type,a=n.properties;if("void"===o)return void Object.keys(a).forEach((function(t){e(a[t],r,t)}));if("object"===o){r[i]={};var s=r[i];return void Object.keys(a).forEach((function(t){e(a[t],s,t)}))}r[i]=n.default}catch(e){return void console.log("error",n,r,i)}}(e,r,n),r[n]};t.getDefaultValues=S;var C=function(e){var t=[];return function e(n){Object.keys(n).forEach((function(r){var i=n[r];"[object Object]"===Object.prototype.toString.call(i)?e(i):t.push(r)}))}(e),i(new Set(t))},A=function(e,t){try{if("node"===t){var n=e.nodes[0]||{};return C(n)}if("edge"===t){var r=e.edges[0]||{};return C(r)}}catch(e){}return[]};t.getKeysByData=A;var R=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r{e.exports={trueFunc:function(){return!0},falseFunc:function(){return!1}}},1838:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e=[],t=0;t{"use strict";function r(e){var t,n,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;ti,default:()=>o});const o=i},6713:(e,t,n)=>{!function(e){var t={pairs:"()[]{}''\"\"",triples:"",explode:"[]{}"},n=e.Pos;function r(e,n){return"pairs"==n&&"string"==typeof e?e:"object"==typeof e&&null!=e[n]?e[n]:t[n]}e.defineOption("autoCloseBrackets",!1,(function(t,n,r){r&&r!=e.Init&&(t.removeKeyMap(o),t.state.closeBrackets=null),n&&(t.state.closeBrackets=n,t.addKeyMap(o))}));for(var i=t.pairs+"`",o={Backspace:function(t){var i=l(t);if(!i||t.getOption("disableInput"))return e.Pass;for(var o=r(i,"pairs"),a=t.listSelections(),s=0;s=0;s--){var u=a[s].head;t.replaceRange("",n(u.line,u.ch-1),n(u.line,u.ch+1),"+delete")}},Enter:function(t){var n=l(t),i=n&&r(n,"explode");if(!i||t.getOption("disableInput"))return e.Pass;for(var o=t.listSelections(),a=0;a1&&f.indexOf(i)>=0&&t.getRange(n(E.line,E.ch-2),E)==i+i&&(E.ch<=2||t.getRange(n(E.line,E.ch-3),n(E.line,E.ch-2))!=i))_="addFour";else if(m){if(e.isWordChar(T)||!p(t,E,i))return e.Pass;_="both"}else{if(!y||t.getLine(E.line).length!=E.ch&&!u(T,a)&&!/\s/.test(T))return e.Pass;_="both"}else _=m&&d(t,E)?"both":f.indexOf(i)>=0&&t.getRange(E,n(E.line,E.ch+3))==i+i+i?"skipThree":"skip";if(h){if(h!=_)return e.Pass}else h=_}var x=s%2?a.charAt(s-1):i,S=s%2?i:a.charAt(s+1);t.operation((function(){if("skip"==h)t.execCommand("goCharRight");else if("skipThree"==h)for(var e=0;e<3;e++)t.execCommand("goCharRight");else if("surround"==h){var n=t.getSelections();for(e=0;e0;return{anchor:new n(t.anchor.line,t.anchor.ch+(r?-1:1)),head:new n(t.head.line,t.head.ch+(r?1:-1))}}function u(e,t){var n=t.lastIndexOf(e);return n>-1&&n%2==1}function h(e,t){var r=e.getRange(n(t.line,t.ch-1),n(t.line,t.ch+1));return 2==r.length?r:null}function p(t,n,r){var i=t.getLine(n.line),o=t.getTokenAt(n);if(/\bstring2?\b/.test(o.type)||d(t,n))return!1;var a=new e.StringStream(i.slice(0,n.ch)+r+i.slice(n.ch),4);for(a.pos=a.start=o.start;;){var s=t.getMode().token(a,o.state);if(a.pos>=n.ch+1)return/\bstring2?\b/.test(s);a.start=a.pos}}function d(e,t){var r=e.getTokenAt(n(t.line,t.ch+1));return/\bstring/.test(r.type)&&r.start==t.ch}}(n(3266))},5212:(e,t,n)=>{!function(e){"use strict";var t="CodeMirror-hint-active";function n(e,t){this.cm=e,this.options=t,this.widget=null,this.debounce=0,this.tick=0,this.startPos=this.cm.getCursor("start"),this.startLen=this.cm.getLine(this.startPos.line).length-this.cm.getSelection().length;var n=this;e.on("cursorActivity",this.activityFunc=function(){n.cursorActivity()})}e.showHint=function(e,t,n){if(!t)return e.showHint(n);n&&n.async&&(t.async=!0);var r={hint:t};if(n)for(var i in n)r[i]=n[i];return e.showHint(r)},e.defineExtension("showHint",(function(t){t=function(e,t,n){var r=e.options.hintOptions,i={};for(var o in c)i[o]=c[o];if(r)for(var o in r)void 0!==r[o]&&(i[o]=r[o]);if(n)for(var o in n)void 0!==n[o]&&(i[o]=n[o]);return i.hint.resolve&&(i.hint=i.hint.resolve(e,t)),i}(this,this.getCursor("start"),t);var r=this.listSelections();if(!(r.length>1)){if(this.somethingSelected()){if(!t.hint.supportsSelection)return;for(var i=0;il.clientHeight+1,x=s.getScrollInfo();if(E>0){var S=b.bottom-b.top;if(f.top-(f.bottom-b.top)-S>0)l.style.top=(g=f.top-S)+"px",y=!1;else if(S>_){l.style.height=_-5+"px",l.style.top=(g=f.bottom-b.top)+"px";var C=s.getCursor();r.from.ch!=C.ch&&(f=s.cursorCoords(C),l.style.left=(m=f.left)+"px",b=l.getBoundingClientRect())}}var A,R=b.right-v;if(R>0&&(b.right-b.left>v&&(l.style.width=v-5+"px",R-=b.right-b.left-v),l.style.left=(m=f.left-R)+"px"),T)for(var w=l.firstChild;w;w=w.nextSibling)w.style.paddingRight=s.display.nativeBarWidth+"px";return s.addKeyMap(this.keyMap=function(e,t){var n={Up:function(){t.moveFocus(-1)},Down:function(){t.moveFocus(1)},PageUp:function(){t.moveFocus(1-t.menuSize(),!0)},PageDown:function(){t.moveFocus(t.menuSize()-1,!0)},Home:function(){t.setFocus(0)},End:function(){t.setFocus(t.length-1)},Enter:t.pick,Tab:t.pick,Esc:t.close},r=e.options.customKeys,i=r?{}:n;function o(e,r){var o;o="string"!=typeof r?function(e){return r(e,t)}:n.hasOwnProperty(r)?n[r]:r,i[e]=o}if(r)for(var a in r)r.hasOwnProperty(a)&&o(a,r[a]);var s=e.options.extraKeys;if(s)for(var a in s)s.hasOwnProperty(a)&&o(a,s[a]);return i}(n,{moveFocus:function(e,t){i.changeActive(i.selectedHint+e,t)},setFocus:function(e){i.changeActive(e)},menuSize:function(){return i.screenAmount()},length:c.length,close:function(){n.close()},pick:function(){i.pick()},data:r})),n.options.closeOnUnfocus&&(s.on("blur",this.onBlur=function(){A=setTimeout((function(){n.close()}),100)}),s.on("focus",this.onFocus=function(){clearTimeout(A)})),s.on("scroll",this.onScroll=function(){var e=s.getScrollInfo(),t=s.getWrapperElement().getBoundingClientRect(),r=g+x.top-e.top,i=r-(window.pageYOffset||(document.documentElement||document.body).scrollTop);if(y||(i+=l.offsetHeight),i<=t.top||i>=t.bottom)return n.close();l.style.top=r+"px",l.style.left=m+x.left-e.left+"px"}),e.on(l,"dblclick",(function(e){var t=a(l,e.target||e.srcElement);t&&null!=t.hintId&&(i.changeActive(t.hintId),i.pick())})),e.on(l,"click",(function(e){var t=a(l,e.target||e.srcElement);t&&null!=t.hintId&&(i.changeActive(t.hintId),n.options.completeOnSingleClick&&i.pick())})),e.on(l,"mousedown",(function(){setTimeout((function(){s.focus()}),20)})),e.signal(r,"select",c[0],l.firstChild),!0}function l(e,t,n,r){if(e.async)e(t,r,n);else{var i=e(t,n);i&&i.then?i.then(r):r(i)}}n.prototype={close:function(){this.active()&&(this.cm.state.completionActive=null,this.tick=null,this.cm.off("cursorActivity",this.activityFunc),this.widget&&this.data&&e.signal(this.data,"close"),this.widget&&this.widget.close(),e.signal(this.cm,"endCompletion",this.cm))},active:function(){return this.cm.state.completionActive==this},pick:function(t,n){var r=t.list[n];r.hint?r.hint(this.cm,t,r):this.cm.replaceRange(o(r),r.from||t.from,r.to||t.to,"complete"),e.signal(t,"pick",r),this.close()},cursorActivity:function(){this.debounce&&(i(this.debounce),this.debounce=0);var e=this.cm.getCursor(),t=this.cm.getLine(e.line);if(e.line!=this.startPos.line||t.length-e.ch!=this.startLen-this.startPos.ch||e.ch0&&r.to.ch-r.from.ch!=i.to.ch-i.from.ch)||(this.data=t,t&&t.list.length&&(o&&1==t.list.length?this.pick(t,0):(this.widget=new s(this,t),e.signal(t,"shown"))))}},s.prototype={close:function(){if(this.completion.widget==this){this.completion.widget=null,this.hints.parentNode.removeChild(this.hints),this.completion.cm.removeKeyMap(this.keyMap);var e=this.completion.cm;this.completion.options.closeOnUnfocus&&(e.off("blur",this.onBlur),e.off("focus",this.onFocus)),e.off("scroll",this.onScroll)}},disable:function(){this.completion.cm.removeKeyMap(this.keyMap);var e=this;this.keyMap={Enter:function(){e.picked=!0}},this.completion.cm.addKeyMap(this.keyMap)},pick:function(){this.completion.pick(this.data,this.selectedHint)},changeActive:function(n,r){if(n>=this.data.list.length?n=r?this.data.list.length-1:0:n<0&&(n=r?0:this.data.list.length-1),this.selectedHint!=n){var i=this.hints.childNodes[this.selectedHint];i.className=i.className.replace(" "+t,""),(i=this.hints.childNodes[this.selectedHint=n]).className+=" "+t,i.offsetTopthis.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=i.offsetTop+i.offsetHeight-this.hints.clientHeight+3),e.signal(this.data,"select",this.data.list[this.selectedHint],i)}},screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1}},e.registerHelper("hint","auto",{resolve:function(t,n){var r,i=t.getHelpers(n,"hint");if(i.length){var o=function(e,t,n){var r=function(e,t){if(!e.somethingSelected())return t;for(var n=[],r=0;r0?t(e):i(o+1)}))}(0)};return o.async=!0,o.supportsSelection=!0,o}return(r=t.getHelper(t.getCursor(),"hintWords"))?function(t){return e.hint.fromList(t,{words:r})}:e.hint.anyword?function(t,n){return e.hint.anyword(t,n)}:function(){}}}),e.registerHelper("hint","fromList",(function(t,n){var r=t.getCursor(),i=t.getTokenAt(r),o=e.Pos(r.line,i.end);if(i.string&&/\w/.test(i.string[i.string.length-1]))var a=i.string,s=e.Pos(r.line,i.start);else a="",s=o;for(var l=[],c=0;c,]/,closeOnUnfocus:!0,completeOnSingleClick:!0,container:null,customKeys:null,extraKeys:null};e.defineOption("hintOptions",null)}(n(3266))},2580:(e,t,n)=>{!function(e){"use strict";var t="CodeMirror-lint-markers";function n(e){e.parentNode&&e.parentNode.removeChild(e)}function r(t,r,i){var o=function(t,n){var r=document.createElement("div");function i(t){if(!r.parentNode)return e.off(document,"mousemove",i);r.style.top=Math.max(0,t.clientY-r.offsetHeight-5)+"px",r.style.left=t.clientX+5+"px"}return r.className="CodeMirror-lint-tooltip",r.appendChild(n.cloneNode(!0)),document.body.appendChild(r),e.on(document,"mousemove",i),i(t),null!=r.style.opacity&&(r.style.opacity=1),r}(t,r);function a(){var t;e.off(i,"mouseout",a),o&&((t=o).parentNode&&(null==t.style.opacity&&n(t),t.style.opacity=0,setTimeout((function(){n(t)}),600)),o=null)}var s=setInterval((function(){if(o)for(var e=i;;e=e.parentNode){if(e&&11==e.nodeType&&(e=e.host),e==document.body)return;if(!e){a();break}}if(!o)return clearInterval(s)}),400);e.on(i,"mouseout",a)}function i(e,t,n){this.marked=[],this.options=t,this.timeout=null,this.hasGutter=n,this.onMouseOver=function(t){!function(e,t){var n=t.target||t.srcElement;if(/\bCodeMirror-lint-mark-/.test(n.className)){for(var i=n.getBoundingClientRect(),o=(i.left+i.right)/2,a=(i.top+i.bottom)/2,l=e.findMarksAt(e.coordsChar({left:o,top:a},"client")),c=[],u=0;u1,r.options.tooltips))}}var g,y;i.onUpdateLinting&&i.onUpdateLinting(n,l,e)}function u(e){var t=e.state.lint;t&&(clearTimeout(t.timeout),t.timeout=setTimeout((function(){l(e)}),t.options.delay||500))}e.defineOption("lint",!1,(function(n,r,a){if(a&&a!=e.Init&&(o(n),!1!==n.state.lint.options.lintOnChange&&n.off("change",u),e.off(n.getWrapperElement(),"mouseover",n.state.lint.onMouseOver),clearTimeout(n.state.lint.timeout),delete n.state.lint),r){for(var s=n.getOption("gutters"),c=!1,h=0;h=15&&(h=!1,l=!0);var T=v&&(c||h&&(null==E||E<12.11)),x=n||a&&s>=9;function S(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var C,A=function(e,t){var n=e.className,r=S(t).exec(n);if(r){var i=n.slice(r.index+r[0].length);e.className=n.slice(0,r.index)+(i?r[1]+i:"")}};function R(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function w(e,t){return R(e).appendChild(t)}function L(e,t,n,r){var i=document.createElement(e);if(n&&(i.className=n),r&&(i.style.cssText=r),"string"==typeof t)i.appendChild(document.createTextNode(t));else if(t)for(var o=0;o=t)return a+(t-o);a+=s-o,a+=n-a%n,o=s+1}}m?P=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:a&&(P=function(e){try{e.select()}catch(e){}});var B=function(){this.id=null};function U(e,t){for(var n=0;n=t)return r+Math.min(a,t-i);if(i+=o-r,r=o+1,(i+=n-i%n)>=t)return r}}var V=[""];function K(e){for(;V.length<=e;)V.push(q(V)+" ");return V[e]}function q(e){return e[e.length-1]}function X(e,t){for(var n=[],r=0;r"€"&&(e.toUpperCase()!=e.toLowerCase()||J.test(e))}function te(e,t){return t?!!(t.source.indexOf("\\w")>-1&&ee(e))||t.test(e):ee(e)}function ne(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var re=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function ie(e){return e.charCodeAt(0)>=768&&re.test(e)}function oe(e,t,n){for(;(n<0?t>0:t=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var n=e;!n.lines;)for(var r=0;;++r){var i=n.children[r],o=i.chunkSize();if(t=e.first&&tn?ge(n,le(e,n).text.length):function(e,t){var n=e.ch;return null==n||n>t?ge(e.line,t):n<0?ge(e.line,0):e}(t,le(e,t.line).text.length)}function Se(e,t){for(var n=[],r=0;r=t:o.to>t);(r||(r=[])).push(new Re(a,o.from,s?null:o.to))}}return r}(n,i,a),l=function(e,t,n){var r;if(e)for(var i=0;i=t:o.to>t)||o.from==t&&"bookmark"==a.type&&(!n||o.marker.insertLeft)){var s=null==o.from||(a.inclusiveLeft?o.from<=t:o.from0&&s)for(var _=0;_=0&&h<=0||u<=0&&h>=0)&&(u<=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?ye(c.to,n)>=0:ye(c.to,n)>0)||u>=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?ye(c.from,r)<=0:ye(c.from,r)<0)))return!0}}}function je(e){for(var t;t=He(e);)e=t.find(-1,!0).line;return e}function Ge(e,t){var n=le(e,t),r=je(n);return n==r?t:pe(r)}function Ye(e,t){if(t>e.lastLine())return t;var n,r=le(e,t);if(!ze(e,r))return t;for(;n=Be(r);)r=n.find(1,!0).line;return pe(r)+1}function ze(e,t){var n=Ae&&t.markedSpans;if(n)for(var r=void 0,i=0;it.maxLineLength&&(t.maxLineLength=n,t.maxLine=e)}))}var qe=null;function Xe(e,t,n){var r;qe=null;for(var i=0;it)return i;o.to==t&&(o.from!=o.to&&"before"==n?r=i:qe=i),o.from==t&&(o.from!=o.to&&"before"!=n?r=i:qe=i)}return null!=r?r:qe}var Ze=function(){var e=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,t=/[stwN]/,n=/[LRr]/,r=/[Lb1n]/,i=/[1n]/;function o(e,t,n){this.level=e,this.from=t,this.to=n}return function(a,s){var l,c="ltr"==s?"L":"R";if(0==a.length||"ltr"==s&&!e.test(a))return!1;for(var u=a.length,h=[],p=0;pe.text.length?null:r}function et(e,t,n){var r=Je(e,t.ch,n);return null==r?null:new ge(t.line,r,n<0?"after":"before")}function tt(e,t,n,r,i){if(e){var o=Qe(n,t.doc.direction);if(o){var a,s=i<0?q(o):o[0],l=i<0==(1==s.level)?"after":"before";if(s.level>0){var c=Dn(t,n);a=i<0?n.text.length-1:0;var u=Pn(t,c,a).top;a=ae((function(e){return Pn(t,c,e).top==u}),i<0==(1==s.level)?s.from:s.to-1,a),"before"==l&&(a=Je(n,a,1))}else a=i<0?s.to:s.from;return new ge(r,a,l)}}return new ge(r,i<0?n.text.length:0,i<0?"before":"after")}function nt(e,t,n,r){var i=Qe(t,e.doc.direction);if(!i)return et(t,n,r);n.ch>=t.text.length?(n.ch=t.text.length,n.sticky="before"):n.ch<=0&&(n.ch=0,n.sticky="after");var o=Xe(i,n.ch,n.sticky),a=i[o];if("ltr"==e.doc.direction&&a.level%2==0&&(r>0?a.to>n.ch:a.from=a.from&&p>=u.begin)){var d=h?"before":"after";return new ge(n.line,p,d)}}var f=function(e,t,r){for(var o=function(e,t){return t?new ge(n.line,l(e,1),"before"):new ge(n.line,e,"after")};e>=0&&e0==(1!=a.level),c=s?r.begin:l(r.end,-1);if(a.from<=c&&c0?u.end:l(u.begin,-1);return null==g||r>0&&g==t.text.length||!(m=f(r>0?0:i.length-1,r,c(g)))?null:m}var rt=[],it=function(e,t,n){if(e.addEventListener)e.addEventListener(t,n,!1);else if(e.attachEvent)e.attachEvent("on"+t,n);else{var r=e._handlers||(e._handlers={});r[t]=(r[t]||rt).concat(n)}};function ot(e,t){return e._handlers&&e._handlers[t]||rt}function at(e,t,n){if(e.removeEventListener)e.removeEventListener(t,n,!1);else if(e.detachEvent)e.detachEvent("on"+t,n);else{var r=e._handlers,i=r&&r[t];if(i){var o=U(i,n);o>-1&&(r[t]=i.slice(0,o).concat(i.slice(o+1)))}}}function st(e,t){var n=ot(e,t);if(n.length)for(var r=Array.prototype.slice.call(arguments,2),i=0;i0}function ht(e){e.prototype.on=function(e,t){it(this,e,t)},e.prototype.off=function(e,t){at(this,e,t)}}function pt(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function dt(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function ft(e){return null!=e.defaultPrevented?e.defaultPrevented:0==e.returnValue}function mt(e){pt(e),dt(e)}function gt(e){return e.target||e.srcElement}function yt(e){var t=e.which;return null==t&&(1&e.button?t=1:2&e.button?t=3:4&e.button&&(t=2)),v&&e.ctrlKey&&1==t&&(t=3),t}var vt,_t,bt=function(){if(a&&s<9)return!1;var e=L("div");return"draggable"in e||"dragDrop"in e}();function Et(e){if(null==vt){var t=L("span","​");w(e,L("span",[t,document.createTextNode("x")])),0!=e.firstChild.offsetHeight&&(vt=t.offsetWidth<=1&&t.offsetHeight>2&&!(a&&s<8))}var n=vt?L("span","​"):L("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return n.setAttribute("cm-text",""),n}function Tt(e){if(null!=_t)return _t;var t=w(e,document.createTextNode("AخA")),n=C(t,0,1).getBoundingClientRect(),r=C(t,1,2).getBoundingClientRect();return R(e),!(!n||n.left==n.right)&&(_t=r.right-n.right<3)}var xt,St=3!="\n\nb".split(/\n/).length?function(e){for(var t=0,n=[],r=e.length;t<=r;){var i=e.indexOf("\n",t);-1==i&&(i=e.length);var o=e.slice(t,"\r"==e.charAt(i-1)?i-1:i),a=o.indexOf("\r");-1!=a?(n.push(o.slice(0,a)),t+=a+1):(n.push(o),t=i+1)}return n}:function(e){return e.split(/\r\n?|\n/)},Ct=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(e){return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch(e){}return!(!t||t.parentElement()!=e)&&0!=t.compareEndPoints("StartToEnd",t)},At="oncopy"in(xt=L("div"))||(xt.setAttribute("oncopy","return;"),"function"==typeof xt.oncopy),Rt=null;var wt={},Lt={};function Ot(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),wt[e]=t}function Nt(e){if("string"==typeof e&&Lt.hasOwnProperty(e))e=Lt[e];else if(e&&"string"==typeof e.name&&Lt.hasOwnProperty(e.name)){var t=Lt[e.name];"string"==typeof t&&(t={name:t}),(e=Q(t,e)).name=t.name}else{if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return Nt("application/xml");if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return Nt("application/json")}return"string"==typeof e?{name:e}:e||{name:"null"}}function It(e,t){t=Nt(t);var n=wt[t.name];if(!n)return It(e,"text/plain");var r=n(e,t);if(kt.hasOwnProperty(t.name)){var i=kt[t.name];for(var o in i)i.hasOwnProperty(o)&&(r.hasOwnProperty(o)&&(r["_"+o]=r[o]),r[o]=i[o])}if(r.name=t.name,t.helperType&&(r.helperType=t.helperType),t.modeProps)for(var a in t.modeProps)r[a]=t.modeProps[a];return r}var kt={};function Dt(e,t){F(t,kt.hasOwnProperty(e)?kt[e]:kt[e]={})}function Pt(e,t){if(!0===t)return t;if(e.copyState)return e.copyState(t);var n={};for(var r in t){var i=t[r];i instanceof Array&&(i=i.concat([])),n[r]=i}return n}function Mt(e,t){for(var n;e.innerMode&&(n=e.innerMode(t))&&n.mode!=e;)t=n.state,e=n.mode;return n||{mode:e,state:t}}function Ft(e,t,n){return!e.startState||e.startState(t,n)}var Ht=function(e,t){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0};function Bt(e,t,n,r){var i=[e.state.modeGen],o={};Vt(e,t.text,e.doc.mode,n,(function(e,t){return i.push(e,t)}),o,r);for(var a=function(n){var r=e.state.overlays[n],a=1,s=0;Vt(e,t.text,r.mode,!0,(function(e,t){for(var n=a;se&&i.splice(a,1,e,i[a+1],o),a+=2,s=Math.min(e,o)}if(t)if(r.opaque)i.splice(n,a-n,e,"overlay "+t),a=n+2;else for(;ne.options.maxHighlightLength?Pt(e.doc.mode,r):r);t.stateAfter=r,t.styles=i.styles,i.classes?t.styleClasses=i.classes:t.styleClasses&&(t.styleClasses=null),n===e.doc.frontier&&e.doc.frontier++}return t.styles}function jt(e,t,n){var r=e.doc,i=e.display;if(!r.mode.startState)return!0;var o=function(e,t,n){for(var r,i,o=e.doc,a=n?-1:t-(e.doc.mode.innerMode?1e3:100),s=t;s>a;--s){if(s<=o.first)return o.first;var l=le(o,s-1);if(l.stateAfter&&(!n||s<=o.frontier))return s;var c=H(l.text,null,e.options.tabSize);(null==i||r>c)&&(i=s-1,r=c)}return i}(e,t,n),a=o>r.first&&le(r,o-1).stateAfter;return a=a?Pt(r.mode,a):Ft(r.mode),r.iter(o,t,(function(n){Gt(e,n.text,a);var s=o==t-1||o%5==0||o>=i.viewFrom&&ot.start)return o}throw new Error("Mode "+e.name+" failed to advance stream.")}function $t(e,t,n,r){var i,o=function(e){return{start:h.start,end:h.pos,string:h.current(),type:i||null,state:e?Pt(a.mode,u):u}},a=e.doc,s=a.mode;t=xe(a,t);var l,c=le(a,t.line),u=jt(e,t.line,n),h=new Ht(c.text,e.options.tabSize);for(r&&(l=[]);(r||h.pose.options.maxHighlightLength?(s=!1,a&&Gt(e,t,r,h.pos),h.pos=t.length,l=null):l=Wt(zt(n,h,r,p),o),p){var d=p[0].name;d&&(l="m-"+(l?d+" "+l:d))}if(!s||u!=l){for(;c=this.string.length},Ht.prototype.sol=function(){return this.pos==this.lineStart},Ht.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Ht.prototype.next=function(){if(this.post},Ht.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},Ht.prototype.skipToEnd=function(){this.pos=this.string.length},Ht.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},Ht.prototype.backUp=function(e){this.pos-=e},Ht.prototype.column=function(){return this.lastColumnPos0?null:(r&&!1!==t&&(this.pos+=r[0].length),r)}var i=function(e){return n?e.toLowerCase():e};if(i(this.string.substr(this.pos,e.length))==i(e))return!1!==t&&(this.pos+=e.length),!0},Ht.prototype.current=function(){return this.string.slice(this.start,this.pos)},Ht.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}};var Kt=function(e,t,n){this.text=e,ke(this,t),this.height=n?n(this):1};function qt(e){e.parent=null,Ie(e)}Kt.prototype.lineNo=function(){return pe(this)},ht(Kt);var Xt={},Zt={};function Qt(e,t){if(!e||/^\s*$/.test(e))return null;var n=t.addModeClass?Zt:Xt;return n[e]||(n[e]=e.replace(/\S+/g,"cm-$&"))}function Jt(e,t){var n=O("span",null,null,l?"padding-right: .1px":null),r={pre:O("pre",[n],"CodeMirror-line"),content:n,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:(a||l)&&e.getOption("lineWrapping")};t.measure={};for(var i=0;i<=(t.rest?t.rest.length:0);i++){var o=i?t.rest[i-1]:t.line,s=void 0;r.pos=0,r.addToken=tn,Tt(e.display.measure)&&(s=Qe(o,e.doc.direction))&&(r.addToken=nn(r.addToken,s)),r.map=[],on(o,r,Ut(e,o,t!=e.display.externalMeasured&&pe(o))),o.styleClasses&&(o.styleClasses.bgClass&&(r.bgClass=D(o.styleClasses.bgClass,r.bgClass||"")),o.styleClasses.textClass&&(r.textClass=D(o.styleClasses.textClass,r.textClass||""))),0==r.map.length&&r.map.push(0,0,r.content.appendChild(Et(e.display.measure))),0==i?(t.measure.map=r.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(r.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(l){var c=r.content.lastChild;(/\bcm-tab\b/.test(c.className)||c.querySelector&&c.querySelector(".cm-tab"))&&(r.content.className="cm-tab-wrap-hack")}return st(e,"renderLine",e,t.line,r.pre),r.pre.className&&(r.textClass=D(r.pre.className,r.textClass||"")),r}function en(e){var t=L("span","•","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function tn(e,t,n,r,i,o,l){if(t){var c,u=e.splitSpaces?function(e,t){if(e.length>1&&!/ /.test(e))return e;for(var n=t,r="",i=0;ic&&h.from<=c);p++);if(h.to>=u)return e(n,r,i,o,a,s,l);e(n,r.slice(0,h.to-c),i,o,null,s,l),o=null,r=r.slice(h.to-c),c=h.to}}}function rn(e,t,n,r){var i=!r&&n.widgetNode;i&&e.map.push(e.pos,e.pos+t,i),!r&&e.cm.display.input.needsContentAttribute&&(i||(i=e.content.appendChild(document.createElement("span"))),i.setAttribute("cm-marker",n.id)),i&&(e.cm.display.input.setUneditable(i),e.content.appendChild(i)),e.pos+=t,e.trailingSpace=!1}function on(e,t,n){var r=e.markedSpans,i=e.text,o=0;if(r)for(var a,s,l,c,u,h,p,d=i.length,f=0,m=1,g="",y=0;;){if(y==f){l=c=u=h=s="",p=null,y=1/0;for(var v=[],_=void 0,b=0;bf||T.collapsed&&E.to==f&&E.from==f)?(null!=E.to&&E.to!=f&&y>E.to&&(y=E.to,c=""),T.className&&(l+=" "+T.className),T.css&&(s=(s?s+";":"")+T.css),T.startStyle&&E.from==f&&(u+=" "+T.startStyle),T.endStyle&&E.to==y&&(_||(_=[])).push(T.endStyle,E.to),T.title&&!h&&(h=T.title),T.collapsed&&(!p||Me(p.marker,T)<0)&&(p=E)):E.from>f&&y>E.from&&(y=E.from)}if(_)for(var x=0;x<_.length;x+=2)_[x+1]==y&&(c+=" "+_[x]);if(!p||p.from==f)for(var S=0;S=d)break;for(var C=Math.min(d,y);;){if(g){var A=f+g.length;if(!p){var R=A>C?g.slice(0,C-f):g;t.addToken(t,R,a?a+l:l,u,f+R.length==y?c:"",h,s)}if(A>=C){g=g.slice(C-f),f=C;break}f=A,u=""}g=i.slice(o,o=n[m++]),a=Qt(n[m++],t.cm.options)}}else for(var w=1;wn)return{map:e.measure.maps[i],cache:e.measure.caches[i],before:!0}}function In(e,t,n,r){return Pn(e,Dn(e,t),n,r)}function kn(e,t){if(t>=e.display.viewFrom&&t=n.lineN&&t2&&o.push((l.bottom+c.top)/2-n.top)}}o.push(n.bottom-n.top)}}(e,t.view,t.rect),t.hasHeights=!0),(o=function(e,t,n,r){var i,o=Hn(t.map,n,r),l=o.node,c=o.start,u=o.end,h=o.collapse;if(3==l.nodeType){for(var p=0;p<4;p++){for(;c&&ie(t.line.text.charAt(o.coverStart+c));)--c;for(;o.coverStart+u1}(e))return t;var n=screen.logicalXDPI/screen.deviceXDPI,r=screen.logicalYDPI/screen.deviceYDPI;return{left:t.left*n,right:t.right*n,top:t.top*r,bottom:t.bottom*r}}(e.display.measure,i))}else{var d;c>0&&(h=r="right"),i=e.options.lineWrapping&&(d=l.getClientRects()).length>1?d["right"==r?d.length-1:0]:l.getBoundingClientRect()}if(a&&s<9&&!c&&(!i||!i.left&&!i.right)){var f=l.parentNode.getClientRects()[0];i=f?{left:f.left,right:f.left+nr(e.display),top:f.top,bottom:f.bottom}:Fn}for(var m=i.top-t.rect.top,g=i.bottom-t.rect.top,y=(m+g)/2,v=t.view.measure.heights,_=0;_t)&&(i=(o=l-s)-1,t>=l&&(a="right")),null!=i){if(r=e[c+2],s==l&&n==(r.insertLeft?"left":"right")&&(a=n),"left"==n&&0==i)for(;c&&e[c-2]==e[c-3]&&e[c-1].insertLeft;)r=e[2+(c-=3)],a="left";if("right"==n&&i==l-s)for(;c=0&&(n=e[i]).left==n.right;i--);return n}function Un(e){if(e.measure&&(e.measure.cache={},e.measure.heights=null,e.rest))for(var t=0;t=r.text.length?(l=r.text.length,c="before"):l<=0&&(l=0,c="after"),!s)return a("before"==c?l-1:l,"before"==c);function u(e,t,n){return a(n?e-1:e,s[t].level%2!=0!=n)}var h=Xe(s,l,c),p=qe,d=u(l,h,"before"==c);return null!=p&&(d.other=u(l,p,"before"!=c)),d}function qn(e,t){var n=0;t=xe(e.doc,t),e.options.lineWrapping||(n=nr(e.display)*t.ch);var r=le(e.doc,t.line),i=We(r)+Cn(e.display);return{left:n,right:n,top:i,bottom:i+r.height}}function Xn(e,t,n,r,i){var o=ge(e,t,n);return o.xRel=i,r&&(o.outside=!0),o}function Zn(e,t,n){var r=e.doc;if((n+=e.display.viewOffset)<0)return Xn(r.first,0,null,!0,-1);var i=de(r,n),o=r.first+r.size-1;if(i>o)return Xn(r.first+r.size-1,le(r,o).text.length,null,!0,1);t<0&&(t=0);for(var a=le(r,i);;){var s=er(e,a,i,t,n),l=Be(a),c=l&&l.find(0,!0);if(!l||!(s.ch>c.from.ch||s.ch==c.from.ch&&s.xRel>0))return s;i=pe(a=c.to.line)}}function Qn(e,t,n,r){var i=function(r){return $n(e,t,Pn(e,n,r),"line")},o=t.text.length,a=ae((function(e){return i(e-1).bottom<=r}),o,0);return{begin:a,end:o=ae((function(e){return i(e).top>r}),a,o)}}function Jn(e,t,n,r){return Qn(e,t,n,$n(e,t,Pn(e,n,r),"line").top)}function er(e,t,n,r,i){i-=We(t);var o,a=0,s=t.text.length,l=Dn(e,t);if(Qe(t,e.doc.direction)){var c;e.options.lineWrapping&&(a=(c=Qn(e,t,l,i)).begin,s=c.end),o=new ge(n,a);var u,h,p=Kn(e,o,"line",t,l).left,d=pMath.abs(u)){if(f<0==u<0)throw new Error("Broke out of infinite loop in coordsCharInner");o=h}}else{var m=ae((function(n){var o=$n(e,t,Pn(e,l,n),"line");return o.top>i?(s=Math.min(n,s),!0):!(o.bottom<=i)&&(o.left>r||!(o.rightg.right?1:0,o}function tr(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==Mn){Mn=L("pre");for(var t=0;t<49;++t)Mn.appendChild(document.createTextNode("x")),Mn.appendChild(L("br"));Mn.appendChild(document.createTextNode("x"))}w(e.measure,Mn);var n=Mn.offsetHeight/50;return n>3&&(e.cachedTextHeight=n),R(e.measure),n||1}function nr(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=L("span","xxxxxxxxxx"),n=L("pre",[t]);w(e.measure,n);var r=t.getBoundingClientRect(),i=(r.right-r.left)/10;return i>2&&(e.cachedCharWidth=i),i||10}function rr(e){for(var t=e.display,n={},r={},i=t.gutters.clientLeft,o=t.gutters.firstChild,a=0;o;o=o.nextSibling,++a)n[e.options.gutters[a]]=o.offsetLeft+o.clientLeft+i,r[e.options.gutters[a]]=o.clientWidth;return{fixedPos:ir(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:n,gutterWidth:r,wrapperWidth:t.wrapper.clientWidth}}function ir(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function or(e){var t=tr(e.display),n=e.options.lineWrapping,r=n&&Math.max(5,e.display.scroller.clientWidth/nr(e.display)-3);return function(i){if(ze(e.doc,i))return 0;var o=0;if(i.widgets)for(var a=0;a=e.display.viewTo)return null;if((t-=e.display.viewFrom)<0)return null;for(var n=e.display.view,r=0;r=e.display.viewTo||s.to().linet||t==n&&a.to==t)&&(r(Math.max(a.from,t),Math.min(a.to,n),1==a.level?"rtl":"ltr"),i=!0)}i||r(t,n,"ltr")}(Qe(u,i.direction),n||0,null==r?h:r,(function(e,t,i){var u,d,f,m=p(e,"left");if(e==t)u=m,d=f=m.left;else{if(u=p(t-1,"right"),"rtl"==i){var g=m;m=u,u=g}d=m.left,f=u.right}null==n&&0==e&&(d=s),u.top-m.top>3&&(c(d,m.top,null,m.bottom),d=s,m.bottoma.bottom||u.bottom==a.bottom&&u.right>a.right)&&(a=u),d0?t.blinker=setInterval((function(){return t.cursorDiv.style.visibility=(n=!n)?"":"hidden"}),e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function fr(e){e.state.focused||(e.display.input.focus(),mr(e))}function mr(e,t){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1),"nocursor"!=e.options.readOnly&&(e.state.focused||(st(e,"focus",e,t),e.state.focused=!0,k(e.display.wrapper,"CodeMirror-focused"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),l&&setTimeout((function(){return e.display.input.reset(!0)}),20)),e.display.input.receivedFocus()),dr(e))}function gr(e,t){e.state.delayingBlurEvent||(e.state.focused&&(st(e,"blur",e,t),e.state.focused=!1,A(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout((function(){e.state.focused||(e.display.shift=!1)}),150))}function yr(e){var t=e.display,n=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var r=ir(t)-t.scroller.scrollLeft+e.doc.scrollLeft,i=t.gutters.offsetWidth,o=r+"px",a=0;a.001||u<-.001)&&(he(i.line,o),br(i.line),i.rest))for(var h=0;h=a&&(o=de(t,We(le(t,l))-e.wrapper.clientHeight),a=l)}return{from:o,to:Math.max(a,o+1)}}function Tr(e,t){Math.abs(e.doc.scrollTop-t)<2||(e.doc.scrollTop=t,n||li(e,{top:t}),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t),e.display.scrollbars.setScrollTop(t),n&&li(e),ri(e,100))}function xr(e,t,n){(n?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)||(t=Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth),e.doc.scrollLeft=t,yr(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}var Sr=0,Cr=null;function Ar(e){var t=e.wheelDeltaX,n=e.wheelDeltaY;return null==t&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(t=e.detail),null==n&&e.detail&&e.axis==e.VERTICAL_AXIS?n=e.detail:null==n&&(n=e.wheelDelta),{x:t,y:n}}function Rr(e){var t=Ar(e);return t.x*=Cr,t.y*=Cr,t}function wr(e,t){var r=Ar(t),i=r.x,o=r.y,a=e.display,s=a.scroller,c=s.scrollWidth>s.clientWidth,u=s.scrollHeight>s.clientHeight;if(i&&c||o&&u){if(o&&v&&l)e:for(var p=t.target,d=a.view;p!=s;p=p.parentNode)for(var f=0;fe.clientWidth+1,n=e.scrollHeight>e.clientHeight+1,r=e.nativeBarWidth;if(n){this.vert.style.display="block",this.vert.style.bottom=t?r+"px":"0";var i=e.viewHeight-(t?r:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+i)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=n?r+"px":"0",this.horiz.style.left=e.barLeft+"px";var o=e.viewWidth-e.barLeft-(n?r:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+o)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(0==r&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:n?r:0,bottom:t?r:0}},Or.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz)},Or.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert)},Or.prototype.zeroWidthHack=function(){var e=v&&!d?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new B,this.disableVert=new B},Or.prototype.enableZeroWidthBar=function(e,t){e.style.pointerEvents="auto",t.set(1e3,(function n(){var r=e.getBoundingClientRect();document.elementFromPoint(r.left+1,r.bottom-1)!=e?e.style.pointerEvents="none":t.set(1e3,n)}))},Or.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var Nr=function(){};function Ir(e,t){t||(t=Lr(e));var n=e.display.barWidth,r=e.display.barHeight;kr(e,t);for(var i=0;i<4&&n!=e.display.barWidth||r!=e.display.barHeight;i++)n!=e.display.barWidth&&e.options.lineWrapping&&_r(e),kr(e,Lr(e)),n=e.display.barWidth,r=e.display.barHeight}function kr(e,t){var n=e.display,r=n.scrollbars.update(t);n.sizer.style.paddingRight=(n.barWidth=r.right)+"px",n.sizer.style.paddingBottom=(n.barHeight=r.bottom)+"px",n.heightForcer.style.borderBottom=r.bottom+"px solid transparent",r.right&&r.bottom?(n.scrollbarFiller.style.display="block",n.scrollbarFiller.style.height=r.bottom+"px",n.scrollbarFiller.style.width=r.right+"px"):n.scrollbarFiller.style.display="",r.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(n.gutterFiller.style.display="block",n.gutterFiller.style.height=r.bottom+"px",n.gutterFiller.style.width=t.gutterWidth+"px"):n.gutterFiller.style.display=""}Nr.prototype.update=function(){return{bottom:0,right:0}},Nr.prototype.setScrollLeft=function(){},Nr.prototype.setScrollTop=function(){},Nr.prototype.clear=function(){};var Dr={native:Or,null:Nr};function Pr(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&A(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new Dr[e.options.scrollbarStyle]((function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),it(t,"mousedown",(function(){e.state.focused&&setTimeout((function(){return e.display.input.focus()}),0)})),t.setAttribute("cm-not-content","true")}),(function(t,n){"horizontal"==n?xr(e,t):Tr(e,t)}),e),e.display.scrollbars.addClass&&k(e.display.wrapper,e.display.scrollbars.addClass)}function Mr(e,t){var n=e.display,r=tr(e.display);t.top<0&&(t.top=0);var i=e.curOp&&null!=e.curOp.scrollTop?e.curOp.scrollTop:n.scroller.scrollTop,o=On(e),a={};t.bottom-t.top>o&&(t.bottom=t.top+o);var s=e.doc.height+An(n),l=t.tops-r;if(t.topi+o){var u=Math.min(t.top,(c?s:t.bottom)-o);u!=i&&(a.scrollTop=u)}var h=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:n.scroller.scrollLeft,p=Ln(e)-(e.options.fixedGutter?n.gutters.offsetWidth:0),d=t.right-t.left>p;return d&&(t.right=t.left+p),t.left<10?a.scrollLeft=0:t.leftp+h-3&&(a.scrollLeft=t.right+(d?0:10)-p),a}function Fr(e,t,n){null==t&&null==n||Br(e),null!=t&&(e.curOp.scrollLeft=(null==e.curOp.scrollLeft?e.doc.scrollLeft:e.curOp.scrollLeft)+t),null!=n&&(e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+n)}function Hr(e){Br(e);var t=e.getCursor(),n=t,r=t;e.options.lineWrapping||(n=t.ch?ge(t.line,t.ch-1):t,r=ge(t.line,t.ch+1)),e.curOp.scrollToPos={from:n,to:r,margin:e.options.cursorScrollMargin}}function Br(e){var t=e.curOp.scrollToPos;if(t){e.curOp.scrollToPos=null;var n=qn(e,t.from),r=qn(e,t.to),i=Mr(e,{left:Math.min(n.left,r.left),top:Math.min(n.top,r.top)-t.margin,right:Math.max(n.right,r.right),bottom:Math.max(n.bottom,r.bottom)+t.margin});e.scrollTo(i.scrollLeft,i.scrollTop)}}var Ur=0;function jr(e){var t;e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:null,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Ur},t=e.curOp,ln?ln.ops.push(t):t.ownsGroup=ln={ops:[t],delayedCallbacks:[]}}function Gr(e){!function(e,t){var n=e.ownsGroup;if(n)try{!function(e){var t=e.delayedCallbacks,n=0;do{for(;n=n.viewTo)||n.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new oi(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function zr(e){e.updatedDisplay=e.mustUpdate&&ai(e.cm,e.update)}function $r(e){var t=e.cm,n=t.display;e.updatedDisplay&&_r(t),e.barMeasure=Lr(t),n.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=In(t,n.maxLine,n.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(n.scroller.clientWidth,n.sizer.offsetLeft+e.adjustWidthTo+wn(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+e.adjustWidthTo-Ln(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=n.input.prepareSelection(e.focus))}function Wr(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft(window.innerHeight||document.documentElement.clientHeight)&&(i=!1),null!=i&&!f){var o=L("div","​",null,"position: absolute;\n top: "+(t.top-n.viewOffset-Cn(e.display))+"px;\n height: "+(t.bottom-t.top+wn(e)+n.barHeight)+"px;\n left: "+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(o),o.scrollIntoView(i),e.display.lineSpace.removeChild(o)}}}(t,function(e,t,n,r){var i;null==r&&(r=0);for(var o=0;o<5;o++){var a=!1,s=Kn(e,t),l=n&&n!=t?Kn(e,n):s,c=Mr(e,i={left:Math.min(s.left,l.left),top:Math.min(s.top,l.top)-r,right:Math.max(s.left,l.left),bottom:Math.max(s.bottom,l.bottom)+r}),u=e.doc.scrollTop,h=e.doc.scrollLeft;if(null!=c.scrollTop&&(Tr(e,c.scrollTop),Math.abs(e.doc.scrollTop-u)>1&&(a=!0)),null!=c.scrollLeft&&(xr(e,c.scrollLeft),Math.abs(e.doc.scrollLeft-h)>1&&(a=!0)),!a)break}return i}(t,xe(r,e.scrollToPos.from),xe(r,e.scrollToPos.to),e.scrollToPos.margin));var i=e.maybeHiddenMarkers,o=e.maybeUnhiddenMarkers;if(i)for(var a=0;at)&&(i.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=i.viewTo)Ae&&Ge(e.doc,t)i.viewFrom?ei(e):(i.viewFrom+=r,i.viewTo+=r);else if(t<=i.viewFrom&&n>=i.viewTo)ei(e);else if(t<=i.viewFrom){var o=ti(e,n,n+r,1);o?(i.view=i.view.slice(o.index),i.viewFrom=o.lineN,i.viewTo+=r):ei(e)}else if(n>=i.viewTo){var a=ti(e,t,t,-1);a?(i.view=i.view.slice(0,a.index),i.viewTo=a.lineN):ei(e)}else{var s=ti(e,t,t,-1),l=ti(e,n,n+r,1);s&&l?(i.view=i.view.slice(0,s.index).concat(sn(e,s.lineN,l.lineN)).concat(i.view.slice(l.index)),i.viewTo+=r):ei(e)}var c=i.externalMeasured;c&&(n=i.lineN&&t=r.viewTo)){var o=r.view[lr(e,t)];if(null!=o.node){var a=o.changes||(o.changes=[]);-1==U(a,n)&&a.push(n)}}}function ei(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function ti(e,t,n,r){var i,o=lr(e,t),a=e.display.view;if(!Ae||n==e.doc.first+e.doc.size)return{index:o,lineN:n};for(var s=e.display.viewFrom,l=0;l0){if(o==a.length-1)return null;i=s+a[o].size-t,o++}else i=s-t;t+=i,n+=i}for(;Ge(e.doc,n)!=n;){if(o==(r<0?0:a.length-1))return null;n+=r*a[o-(r<0?1:0)].size,o+=r}return{index:o,lineN:n}}function ni(e){for(var t=e.display.view,n=0,r=0;r=e.display.viewTo)){var n=+new Date+e.options.workTime,r=Pt(t.mode,jt(e,t.frontier)),i=[];t.iter(t.frontier,Math.min(t.first+t.size,e.display.viewTo+500),(function(o){if(t.frontier>=e.display.viewFrom){var a=o.styles,s=o.text.length>e.options.maxHighlightLength,l=Bt(e,o,s?Pt(t.mode,r):r,!0);o.styles=l.styles;var c=o.styleClasses,u=l.classes;u?o.styleClasses=u:c&&(o.styleClasses=null);for(var h=!a||a.length!=o.styles.length||c!=u&&(!c||!u||c.bgClass!=u.bgClass||c.textClass!=u.textClass),p=0;!h&&pn)return ri(e,e.options.workDelay),!0})),i.length&&Kr(e,(function(){for(var t=0;t=n.viewFrom&&t.visible.to<=n.viewTo&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo)&&n.renderedView==n.view&&0==ni(e))return!1;vr(e)&&(ei(e),t.dims=rr(e));var i=r.first+r.size,o=Math.max(t.visible.from-e.options.viewportMargin,r.first),a=Math.min(i,t.visible.to+e.options.viewportMargin);n.viewFroma&&n.viewTo-a<20&&(a=Math.min(i,n.viewTo)),Ae&&(o=Ge(e.doc,o),a=Ye(e.doc,a));var s=o!=n.viewFrom||a!=n.viewTo||n.lastWrapHeight!=t.wrapperHeight||n.lastWrapWidth!=t.wrapperWidth;(function(e,t,n){var r=e.display;0==r.view.length||t>=r.viewTo||n<=r.viewFrom?(r.view=sn(e,t,n),r.viewFrom=t):(r.viewFrom>t?r.view=sn(e,t,r.viewFrom).concat(r.view):r.viewFromn&&(r.view=r.view.slice(0,lr(e,n)))),r.viewTo=n})(e,o,a),n.viewOffset=We(le(e.doc,n.viewFrom)),e.display.mover.style.top=n.viewOffset+"px";var c=ni(e);if(!s&&0==c&&!t.force&&n.renderedView==n.view&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo))return!1;var u=I();return c>4&&(n.lineDiv.style.display="none"),function(e,t,n){var r=e.display,i=e.options.lineNumbers,o=r.lineDiv,a=o.firstChild;function s(t){var n=t.nextSibling;return l&&v&&e.display.currentWheelTarget==t?t.style.display="none":t.parentNode.removeChild(t),n}for(var c=r.view,u=r.viewFrom,h=0;h-1&&(d=!1),pn(e,p,u,n)),d&&(R(p.lineNumber),p.lineNumber.appendChild(document.createTextNode(me(e.options,u)))),a=p.node.nextSibling}else{var f=_n(e,p,u,n);o.insertBefore(f,a)}u+=p.size}for(;a;)a=s(a)}(e,n.updateLineNumbers,t.dims),c>4&&(n.lineDiv.style.display=""),n.renderedView=n.view,u&&I()!=u&&u.offsetHeight&&u.focus(),R(n.cursorDiv),R(n.selectionDiv),n.gutters.style.height=n.sizer.style.minHeight=0,s&&(n.lastWrapHeight=t.wrapperHeight,n.lastWrapWidth=t.wrapperWidth,ri(e,400)),n.updateLineNumbers=null,!0}function si(e,t){for(var n=t.viewport,r=!0;(r&&e.options.lineWrapping&&t.oldDisplayWidth!=Ln(e)||(n&&null!=n.top&&(n={top:Math.min(e.doc.height+An(e.display)-On(e),n.top)}),t.visible=Er(e.display,e.doc,n),!(t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)))&&ai(e,t);r=!1){_r(e);var i=Lr(e);cr(e),Ir(e,i),ui(e,i)}t.signal(e,"update",e),e.display.viewFrom==e.display.reportedViewFrom&&e.display.viewTo==e.display.reportedViewTo||(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function li(e,t){var n=new oi(e,t);if(ai(e,n)){_r(e),si(e,n);var r=Lr(e);cr(e),Ir(e,r),ui(e,r),n.finish()}}function ci(e){var t=e.display.gutters.offsetWidth;e.display.sizer.style.marginLeft=t+"px"}function ui(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+wn(e)+"px"}function hi(e){var t=e.display.gutters,n=e.options.gutters;R(t);for(var r=0;r-1&&!e.lineNumbers&&(e.gutters=e.gutters.slice(0),e.gutters.splice(t,1))}oi.prototype.signal=function(e,t){ut(e,t)&&this.events.push(arguments)},oi.prototype.finish=function(){for(var e=0;e=0&&ye(e,r.to())<=0)return n}return-1};var fi=function(e,t){this.anchor=e,this.head=t};function mi(e,t){var n=e[t];e.sort((function(e,t){return ye(e.from(),t.from())})),t=U(e,n);for(var r=1;r=0){var a=Ee(o.from(),i.from()),s=be(o.to(),i.to()),l=o.empty()?i.from()==i.head:o.from()==o.head;r<=t&&--t,e.splice(--r,2,new fi(l?s:a,l?a:s))}}return new di(e,t)}function gi(e,t){return new di([new fi(e,t||e)],0)}function yi(e){return e.text?ge(e.from.line+e.text.length-1,q(e.text).length+(1==e.text.length?e.from.ch:0)):e.to}function vi(e,t){if(ye(e,t.from)<0)return e;if(ye(e,t.to)<=0)return yi(t);var n=e.line+t.text.length-(t.to.line-t.from.line)-1,r=e.ch;return e.line==t.to.line&&(r+=yi(t).ch-t.to.ch),ge(n,r)}function _i(e,t){for(var n=[],r=0;r1&&e.remove(s.line+1,f-1),e.insert(s.line+1,y)}un(e,"change",e,t)}function Ci(e,t,n){!function e(r,i,o){if(r.linked)for(var a=0;as-e.cm.options.historyEventDelay||"*"==t.origin.charAt(0)))&&(o=function(e,t){return t?(Oi(e.done),q(e.done)):e.done.length&&!q(e.done).ranges?q(e.done):e.done.length>1&&!e.done[e.done.length-2].ranges?(e.done.pop(),q(e.done)):void 0}(i,i.lastOp==r)))a=q(o.changes),0==ye(t.from,t.to)&&0==ye(t.from,a.to)?a.to=yi(t):o.changes.push(Li(e,t));else{var l=q(i.done);for(l&&l.ranges||ki(e.sel,i.done),o={changes:[Li(e,t)],generation:i.generation},i.done.push(o);i.done.length>i.undoDepth;)i.done.shift(),i.done[0].ranges||i.done.shift()}i.done.push(n),i.generation=++i.maxGeneration,i.lastModTime=i.lastSelTime=s,i.lastOp=i.lastSelOp=r,i.lastOrigin=i.lastSelOrigin=t.origin,a||st(e,"historyAdded")}function Ii(e,t,n,r){var i=e.history,o=r&&r.origin;n==i.lastSelOp||o&&i.lastSelOrigin==o&&(i.lastModTime==i.lastSelTime&&i.lastOrigin==o||function(e,t,n,r){var i=t.charAt(0);return"*"==i||"+"==i&&n.ranges.length==r.ranges.length&&n.somethingSelected()==r.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}(e,o,q(i.done),t))?i.done[i.done.length-1]=t:ki(t,i.done),i.lastSelTime=+new Date,i.lastSelOrigin=o,i.lastSelOp=n,r&&!1!==r.clearRedo&&Oi(i.undone)}function ki(e,t){var n=q(t);n&&n.ranges&&n.equals(e)||t.push(e)}function Di(e,t,n,r){var i=t["spans_"+e.id],o=0;e.iter(Math.max(e.first,n),Math.min(e.first+e.size,r),(function(n){n.markedSpans&&((i||(i=t["spans_"+e.id]={}))[o]=n.markedSpans),++o}))}function Pi(e){if(!e)return null;for(var t,n=0;n-1&&(q(s)[h]=c[h],delete c[h])}}}return r}function Hi(e,t,n,r){if(e.cm&&e.cm.display.shift||e.extend){var i=t.anchor;if(r){var o=ye(n,i)<0;o!=ye(r,i)<0?(i=n,n=r):o!=ye(n,r)<0&&(n=r)}return new fi(i,n)}return new fi(r||n,n)}function Bi(e,t,n,r){zi(e,new di([Hi(e,e.sel.primary(),t,n)],0),r)}function Ui(e,t,n){for(var r=[],i=0;i=t.ch:s.to>t.ch))){if(i&&(st(l,"beforeCursorEnter"),l.explicitlyCleared)){if(o.markedSpans){--a;continue}break}if(!l.atomic)continue;if(n){var c=l.find(r<0?1:-1),u=void 0;if((r<0?l.inclusiveRight:l.inclusiveLeft)&&(c=Zi(e,c,-r,c&&c.line==t.line?o:null)),c&&c.line==t.line&&(u=ye(c,n))&&(r<0?u<0:u>0))return qi(e,c,t,r,i)}var h=l.find(r<0?-1:1);return(r<0?l.inclusiveLeft:l.inclusiveRight)&&(h=Zi(e,h,r,h.line==t.line?o:null)),h?qi(e,h,t,r,i):null}}return t}function Xi(e,t,n,r,i){var o=r||1;return qi(e,t,n,o,i)||!i&&qi(e,t,n,o,!0)||qi(e,t,n,-o,i)||!i&&qi(e,t,n,-o,!0)||(e.cantEdit=!0,ge(e.first,0))}function Zi(e,t,n,r){return n<0&&0==t.ch?t.line>e.first?xe(e,ge(t.line-1)):null:n>0&&t.ch==(r||le(e,t.line)).text.length?t.line0)){var u=[l,1],h=ye(c.from,s.from),p=ye(c.to,s.to);(h<0||!a.inclusiveLeft&&!h)&&u.push({from:c.from,to:s.from}),(p>0||!a.inclusiveRight&&!p)&&u.push({from:s.to,to:c.to}),i.splice.apply(i,u),l+=u.length-3}}return i}(e,t.from,t.to);if(r)for(var i=r.length-1;i>=0;--i)to(e,{from:r[i].from,to:r[i].to,text:i?[""]:t.text});else to(e,t)}}function to(e,t){if(1!=t.text.length||""!=t.text[0]||0!=ye(t.from,t.to)){var n=_i(e,t);Ni(e,t,n,e.cm?e.cm.curOp.id:NaN),io(e,t,n,Oe(e,t));var r=[];Ci(e,(function(e,n){n||-1!=U(r,e.history)||(lo(e.history,t),r.push(e.history)),io(e,t,null,Oe(e,t))}))}}function no(e,t,n){if(!e.cm||!e.cm.state.suppressEdits||n){for(var r,i=e.history,o=e.sel,a="undo"==t?i.done:i.undone,s="undo"==t?i.undone:i.done,l=0;l=0;--p){var d=h(p);if(d)return d.v}}}}function ro(e,t){if(0!=t&&(e.first+=t,e.sel=new di(X(e.sel.ranges,(function(e){return new fi(ge(e.anchor.line+t,e.anchor.ch),ge(e.head.line+t,e.head.ch))})),e.sel.primIndex),e.cm)){Qr(e.cm,e.first,e.first-t,t);for(var n=e.cm.display,r=n.viewFrom;re.lastLine())){if(t.from.lineo&&(t={from:t.from,to:ge(o,le(e,o).text.length),text:[t.text[0]],origin:t.origin}),t.removed=ce(e,t.from,t.to),n||(n=_i(e,t)),e.cm?function(e,t,n){var r=e.doc,i=e.display,o=t.from,a=t.to,s=!1,l=o.line;e.options.lineWrapping||(l=pe(je(le(r,o.line))),r.iter(l,a.line+1,(function(e){if(e==i.maxLine)return s=!0,!0}))),r.sel.contains(t.from,t.to)>-1&&ct(e),Si(r,t,n,or(e)),e.options.lineWrapping||(r.iter(l,o.line+t.text.length,(function(e){var t=Ve(e);t>i.maxLineLength&&(i.maxLine=e,i.maxLineLength=t,i.maxLineChanged=!0,s=!1)})),s&&(e.curOp.updateMaxLine=!0)),r.frontier=Math.min(r.frontier,o.line),ri(e,400);var c=t.text.length-(a.line-o.line)-1;t.full?Qr(e):o.line!=a.line||1!=t.text.length||xi(e.doc,t)?Qr(e,o.line,a.line+1,c):Jr(e,o.line,"text");var u=ut(e,"changes"),h=ut(e,"change");if(h||u){var p={from:o,to:a,text:t.text,removed:t.removed,origin:t.origin};h&&un(e,"change",e,p),u&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(p)}e.display.selForContextMenu=null}(e.cm,t,r):Si(e,t,r),$i(e,n,Y)}}function oo(e,t,n,r,i){if(r||(r=n),ye(r,n)<0){var o=r;r=n,n=o}"string"==typeof t&&(t=e.splitLines(t)),eo(e,{from:n,to:r,text:t,origin:i})}function ao(e,t,n,r){n1||!(this.children[0]instanceof uo))){var l=[];this.collapse(l),this.children=[new uo(l)],this.children[0].parent=this}},ho.prototype.collapse=function(e){for(var t=0;t50){for(var s=o.lines.length%25+25,l=s;l10);e.parent.maybeSpill()}},ho.prototype.iterN=function(e,t,n){for(var r=0;r0||0==a&&!1!==o.clearWhenEmpty)return o;if(o.replacedWith&&(o.collapsed=!0,o.widgetNode=O("span",[o.replacedWith],"CodeMirror-widget"),r.handleMouseEvents||o.widgetNode.setAttribute("cm-ignore-events","true"),r.insertLeft&&(o.widgetNode.insertLeft=!0)),o.collapsed){if(Ue(e,t.line,t,n,o)||t.line!=n.line&&Ue(e,n.line,t,n,o))throw new Error("Inserting collapsed marker partially overlapping an existing one");Ae=!0}o.addToHistory&&Ni(e,{from:t,to:n,origin:"markText"},e.sel,NaN);var s,l=t.line,c=e.cm;if(e.iter(l,n.line+1,(function(e){c&&o.collapsed&&!c.options.lineWrapping&&je(e)==c.display.maxLine&&(s=!0),o.collapsed&&l!=t.line&&he(e,0),function(e,t){e.markedSpans=e.markedSpans?e.markedSpans.concat([t]):[t],t.marker.attachLine(e)}(e,new Re(o,l==t.line?t.ch:null,l==n.line?n.ch:null)),++l})),o.collapsed&&e.iter(t.line,n.line+1,(function(t){ze(e,t)&&he(t,0)})),o.clearOnEnter&&it(o,"beforeCursorEnter",(function(){return o.clear()})),o.readOnly&&(Ce=!0,(e.history.done.length||e.history.undone.length)&&e.clearHistory()),o.collapsed&&(o.id=++mo,o.atomic=!0),c){if(s&&(c.curOp.updateMaxLine=!0),o.collapsed)Qr(c,t.line,n.line+1);else if(o.className||o.title||o.startStyle||o.endStyle||o.css)for(var u=t.line;u<=n.line;u++)Jr(c,u,"text");o.atomic&&Vi(c.doc),un(c,"markerAdded",c,o)}return o}go.prototype.clear=function(){var e=this;if(!this.explicitlyCleared){var t=this.doc.cm,n=t&&!t.curOp;if(n&&jr(t),ut(this,"clear")){var r=this.find();r&&un(this,"clear",r.from,r.to)}for(var i=null,o=null,a=0;at.display.maxLineLength&&(t.display.maxLine=u,t.display.maxLineLength=h,t.display.maxLineChanged=!0)}null!=i&&t&&this.collapsed&&Qr(t,i,o+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,t&&Vi(t.doc)),t&&un(t,"markerCleared",t,this,i,o),n&&Gr(t),this.parent&&this.parent.clear()}},go.prototype.find=function(e,t){var n,r;null==e&&"bookmark"==this.type&&(e=1);for(var i=0;i=0;l--)eo(this,r[l]);s?Yi(this,s):this.cm&&Hr(this.cm)})),undo:Zr((function(){no(this,"undo")})),redo:Zr((function(){no(this,"redo")})),undoSelection:Zr((function(){no(this,"undo",!0)})),redoSelection:Zr((function(){no(this,"redo",!0)})),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,n=0,r=0;r=e.ch)&&t.push(i.marker.parent||i.marker)}return t},findMarks:function(e,t,n){e=xe(this,e),t=xe(this,t);var r=[],i=e.line;return this.iter(e.line,t.line+1,(function(o){var a=o.markedSpans;if(a)for(var s=0;s=l.to||null==l.from&&i!=e.line||null!=l.from&&i==t.line&&l.from>=t.ch||n&&!n(l.marker)||r.push(l.marker.parent||l.marker)}++i})),r},getAllMarks:function(){var e=[];return this.iter((function(t){var n=t.markedSpans;if(n)for(var r=0;re)return t=e,!0;e-=o,++n})),xe(this,ge(n,t))},indexFromPos:function(e){var t=(e=xe(this,e)).ch;if(e.linet&&(t=e.from),null!=e.to&&e.to-1)return t.state.draggingText(e),void setTimeout((function(){return t.display.input.focus()}),20);try{var u=e.dataTransfer.getData("Text");if(u){var h;if(t.state.draggingText&&!t.state.draggingText.copy&&(h=t.listSelections()),$i(t.doc,gi(n,n)),h)for(var p=0;p=0;t--)oo(e.doc,"",r[t].from,r[t].to,"+delete");Hr(e)}))}Do.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},Do.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},Do.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},Do.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},Do.default=v?Do.macDefault:Do.pcDefault;var Go={selectAll:Qi,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),Y)},killLine:function(e){return jo(e,(function(t){if(t.empty()){var n=le(e.doc,t.head.line).text.length;return t.head.ch==n&&t.head.line0)i=new ge(i.line,i.ch+1),e.replaceRange(o.charAt(i.ch-1)+o.charAt(i.ch-2),ge(i.line,i.ch-2),i,"+transpose");else if(i.line>e.doc.first){var a=le(e.doc,i.line-1).text;a&&(i=new ge(i.line,1),e.replaceRange(o.charAt(0)+e.doc.lineSeparator()+a.charAt(a.length-1),ge(i.line-1,a.length-1),i,"+transpose"))}n.push(new fi(i,i))}e.setSelections(n)}))},newlineAndIndent:function(e){return Kr(e,(function(){for(var t=e.listSelections(),n=t.length-1;n>=0;n--)e.replaceRange(e.doc.lineSeparator(),t[n].anchor,t[n].head,"+input");t=e.listSelections();for(var r=0;ri-400&&0==ye(Xo.pos,n)?r="triple":qo&&qo.time>i-400&&0==ye(qo.pos,n)?(r="double",Xo={time:i,pos:n}):(r="single",qo={time:i,pos:n});var o,c=e.doc.sel,u=v?t.metaKey:t.ctrlKey;e.options.dragDrop&&bt&&!e.isReadOnly()&&"single"==r&&(o=c.contains(n))>-1&&(ye((o=c.ranges[o]).from(),n)<0||n.xRel>0)&&(ye(o.to(),n)>0||n.xRel<0)?function(e,t,n,r){var i=e.display,o=+new Date,c=qr(e,(function(u){l&&(i.scroller.draggable=!1),e.state.draggingText=!1,at(document,"mouseup",c),at(i.scroller,"drop",c),Math.abs(t.clientX-u.clientX)+Math.abs(t.clientY-u.clientY)<10&&(pt(u),!r&&+new Date-200-1?u[l]:new fi(n,n)):(s=a.sel.primary(),l=a.sel.primIndex),_?t.shiftKey&&t.metaKey:t.altKey)r="rect",i||(s=new fi(n,n)),n=sr(e,t,!0,!0),l=-1;else if("double"==r){var h=e.findWordAt(n);s=e.display.shift||a.extend?Hi(a,s,h.anchor,h.head):h}else if("triple"==r){var p=new fi(ge(n.line,0),xe(a,ge(n.line+1,0)));s=e.display.shift||a.extend?Hi(a,s,p.anchor,p.head):p}else s=Hi(a,s,n);i?-1==l?(l=u.length,zi(a,mi(u.concat([s]),l),{scroll:!1,origin:"*mouse"})):u.length>1&&u[l].empty()&&"single"==r&&!t.shiftKey?(zi(a,mi(u.slice(0,l).concat(u.slice(l+1)),0),{scroll:!1,origin:"*mouse"}),c=a.sel):ji(a,l,s,z):(l=0,zi(a,new di([s],0),z),c=a.sel);var d=n;function f(t){if(0!=ye(d,t))if(d=t,"rect"==r){for(var i=[],o=e.options.tabSize,u=H(le(a,n.line).text,n.ch,o),h=H(le(a,t.line).text,t.ch,o),p=Math.min(u,h),f=Math.max(u,h),m=Math.min(n.line,t.line),g=Math.min(e.lastLine(),Math.max(n.line,t.line));m<=g;m++){var y=le(a,m).text,v=W(y,p,o);p==f?i.push(new fi(ge(m,v),ge(m,v))):y.length>v&&i.push(new fi(ge(m,v),ge(m,W(y,f,o))))}i.length||i.push(new fi(n,n)),zi(a,mi(c.ranges.slice(0,l).concat(i),l),{origin:"*mouse",scroll:!1}),e.scrollIntoView(t)}else{var _,b=s,E=b.anchor,T=t;"single"!=r&&(ye((_="double"==r?e.findWordAt(t):new fi(ge(t.line,0),xe(a,ge(t.line+1,0)))).anchor,E)>0?(T=_.head,E=Ee(b.from(),_.anchor)):(T=_.anchor,E=be(b.to(),_.head)));var x=c.ranges.slice(0);x[l]=new fi(xe(a,E),T),zi(a,mi(x,l),z)}}var m=o.wrapper.getBoundingClientRect(),g=0;function y(t){var n=++g,i=sr(e,t,!0,"rect"==r);if(i)if(0!=ye(i,d)){e.curOp.focus=I(),f(i);var s=Er(o,a);(i.line>=s.to||i.linem.bottom?20:0;l&&setTimeout(qr(e,(function(){g==n&&(o.scroller.scrollTop+=l,y(t))})),50)}}function v(t){e.state.selectingText=!1,g=1/0,pt(t),o.input.focus(),at(document,"mousemove",b),at(document,"mouseup",E),a.history.lastSelOrigin=null}var b=qr(e,(function(e){yt(e)?y(e):v(e)})),E=qr(e,v);e.state.selectingText=E,it(document,"mousemove",b),it(document,"mouseup",E)}(e,t,n,r,u)}(t,e,r):gt(e)==n.scroller&&pt(e);break;case 2:l&&(t.state.lastMiddleDown=+new Date),r&&Bi(t.doc,r),setTimeout((function(){return n.input.focus()}),20),pt(e);break;case 3:x?ia(t,e):function(e){e.state.delayingBlurEvent=!0,setTimeout((function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,gr(e))}),100)}(t)}}}function na(e,t,n,r){var i,o;try{i=t.clientX,o=t.clientY}catch(t){return!1}if(i>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;r&&pt(t);var a=e.display,s=a.lineDiv.getBoundingClientRect();if(o>s.bottom||!ut(e,n))return ft(t);o-=s.top-a.viewOffset;for(var l=0;l=i)return st(e,n,e,de(e.doc,o),e.options.gutters[l],t),ft(t)}}function ra(e,t){return na(e,t,"gutterClick",!0)}function ia(e,t){Sn(e.display,t)||function(e,t){return!!ut(e,"gutterContextMenu")&&na(e,t,"gutterContextMenu",!1)}(e,t)||lt(e,t,"contextmenu")||e.display.input.onContextMenu(t)}function oa(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Gn(e)}var aa={toString:function(){return"CodeMirror.Init"}},sa={},la={};function ca(e){hi(e),Qr(e),yr(e)}function ua(e,t,n){if(!t!=!(n&&n!=aa)){var r=e.display.dragFunctions,i=t?it:at;i(e.display.scroller,"dragstart",r.start),i(e.display.scroller,"dragenter",r.enter),i(e.display.scroller,"dragover",r.over),i(e.display.scroller,"dragleave",r.leave),i(e.display.scroller,"drop",r.drop)}}function ha(e){e.options.lineWrapping?(k(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(A(e.display.wrapper,"CodeMirror-wrap"),Ke(e)),ar(e),Qr(e),Gn(e),setTimeout((function(){return Ir(e)}),100)}function pa(e,t){var n=this;if(!(this instanceof pa))return new pa(e,t);this.options=t=t?F(t):{},F(sa,t,!1),pi(t);var r=t.value;"string"==typeof r&&(r=new To(r,t.mode,null,t.lineSeparator,t.direction)),this.doc=r;var i=new pa.inputStyles[t.inputStyle](this),o=this.display=new se(e,r,i);for(var c in o.wrapper.CodeMirror=this,hi(this),oa(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Pr(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:!1,cutIncoming:!1,selectingText:!1,draggingText:!1,highlight:new B,keySeq:null,specialChars:null},t.autofocus&&!y&&o.input.focus(),a&&s<11&&setTimeout((function(){return n.display.input.reset(!0)}),20),function(e){var t=e.display;it(t.scroller,"mousedown",qr(e,ta)),it(t.scroller,"dblclick",a&&s<11?qr(e,(function(t){if(!lt(e,t)){var n=sr(e,t);if(n&&!ra(e,t)&&!Sn(e.display,t)){pt(t);var r=e.findWordAt(n);Bi(e.doc,r.anchor,r.head)}}})):function(t){return lt(e,t)||pt(t)}),x||it(t.scroller,"contextmenu",(function(t){return ia(e,t)}));var n,r={end:0};function i(){t.activeTouch&&(n=setTimeout((function(){return t.activeTouch=null}),1e3),(r=t.activeTouch).end=+new Date)}function o(e){if(1!=e.touches.length)return!1;var t=e.touches[0];return t.radiusX<=1&&t.radiusY<=1}function l(e,t){if(null==t.left)return!0;var n=t.left-e.left,r=t.top-e.top;return n*n+r*r>400}it(t.scroller,"touchstart",(function(i){if(!lt(e,i)&&!o(i)){t.input.ensurePolled(),clearTimeout(n);var a=+new Date;t.activeTouch={start:a,moved:!1,prev:a-r.end<=300?r:null},1==i.touches.length&&(t.activeTouch.left=i.touches[0].pageX,t.activeTouch.top=i.touches[0].pageY)}})),it(t.scroller,"touchmove",(function(){t.activeTouch&&(t.activeTouch.moved=!0)})),it(t.scroller,"touchend",(function(n){var r=t.activeTouch;if(r&&!Sn(t,n)&&null!=r.left&&!r.moved&&new Date-r.start<300){var o,a=e.coordsChar(t.activeTouch,"page");o=!r.prev||l(r,r.prev)?new fi(a,a):!r.prev.prev||l(r,r.prev.prev)?e.findWordAt(a):new fi(ge(a.line,0),xe(e.doc,ge(a.line+1,0))),e.setSelection(o.anchor,o.head),e.focus(),pt(n)}i()})),it(t.scroller,"touchcancel",i),it(t.scroller,"scroll",(function(){t.scroller.clientHeight&&(Tr(e,t.scroller.scrollTop),xr(e,t.scroller.scrollLeft,!0),st(e,"scroll",e))})),it(t.scroller,"mousewheel",(function(t){return wr(e,t)})),it(t.scroller,"DOMMouseScroll",(function(t){return wr(e,t)})),it(t.wrapper,"scroll",(function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0})),t.dragFunctions={enter:function(t){lt(e,t)||mt(t)},over:function(t){lt(e,t)||(function(e,t){var n=sr(e,t);if(n){var r=document.createDocumentFragment();hr(e,n,r),e.display.dragCursor||(e.display.dragCursor=L("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),w(e.display.dragCursor,r)}}(e,t),mt(t))},start:function(t){return function(e,t){if(a&&(!e.state.draggingText||+new Date-xo<100))mt(t);else if(!lt(e,t)&&!Sn(e.display,t)&&(t.dataTransfer.setData("Text",e.getSelection()),t.dataTransfer.effectAllowed="copyMove",t.dataTransfer.setDragImage&&!p)){var n=L("img",null,null,"position: fixed; left: 0; top: 0;");n.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",h&&(n.width=n.height=1,e.display.wrapper.appendChild(n),n._top=n.offsetTop),t.dataTransfer.setDragImage(n,0,0),h&&n.parentNode.removeChild(n)}}(e,t)},drop:qr(e,So),leave:function(t){lt(e,t)||Co(e)}};var c=t.input.getField();it(c,"keyup",(function(t){return Jo.call(e,t)})),it(c,"keydown",qr(e,Qo)),it(c,"keypress",qr(e,ea)),it(c,"focus",(function(t){return mr(e,t)})),it(c,"blur",(function(t){return gr(e,t)}))}(this),wo(),jr(this),this.curOp.forceUpdate=!0,Ai(this,r),t.autofocus&&!y||this.hasFocus()?setTimeout(M(mr,this),20):gr(this),la)la.hasOwnProperty(c)&&la[c](n,t[c],aa);vr(this),t.finishInit&&t.finishInit(this);for(var u=0;u150)){if(!r)return;n="prev"}}else c=0,n="not";"prev"==n?c=t>o.first?H(le(o,t-1).text,null,a):0:"add"==n?c=l+e.options.indentUnit:"subtract"==n?c=l-e.options.indentUnit:"number"==typeof n&&(c=l+n),c=Math.max(0,c);var h="",p=0;if(e.options.indentWithTabs)for(var d=Math.floor(c/a);d;--d)p+=a,h+="\t";if(p1)if(ma&&ma.text.join("\n")==t){if(r.ranges.length%ma.text.length==0){c=[];for(var u=0;u=0;h--){var p=r.ranges[h],d=p.from(),f=p.to();p.empty()&&(n&&n>0?d=ge(d.line,d.ch-n):e.state.overwrite&&!s?f=ge(f.line,Math.min(le(o,f.line).text.length,f.ch+q(l).length)):ma&&ma.lineWise&&ma.text.join("\n")==t&&(d=f=ge(d.line,0))),a=e.curOp.updateInput;var m={from:d,to:f,text:c?c[h%c.length]:l,origin:i||(s?"paste":e.state.cutIncoming?"cut":"+input")};eo(e.doc,m),un(e,"inputRead",e,m)}t&&!s&&_a(e,t),Hr(e),e.curOp.updateInput=a,e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=!1}function va(e,t){var n=e.clipboardData&&e.clipboardData.getData("Text");if(n)return e.preventDefault(),t.isReadOnly()||t.options.disableInput||Kr(t,(function(){return ya(t,n,0,null,"paste")})),!0}function _a(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var n=e.doc.sel,r=n.ranges.length-1;r>=0;r--){var i=n.ranges[r];if(!(i.head.ch>100||r&&n.ranges[r-1].head.line==i.head.line)){var o=e.getModeAt(i.head),a=!1;if(o.electricChars){for(var s=0;s-1){a=fa(e,i.head.line,"smart");break}}else o.electricInput&&o.electricInput.test(le(e.doc,i.head.line).text.slice(0,i.head.ch))&&(a=fa(e,i.head.line,"smart"));a&&un(e,"electricInput",e,i.head.line)}}}function ba(e){for(var t=[],n=[],r=0;r=e.first+e.size||(t=new ge(a,t.ch,t.sticky),!(s=le(e,a)))))return!1;t=tt(i,e.cm,s,t.line,n)}else t=o;return!0}if("char"==r)l();else if("column"==r)l(!0);else if("word"==r||"group"==r)for(var c=null,u="group"==r,h=e.cm&&e.cm.getHelper(t,"wordChars"),p=!0;!(n<0)||l(!p);p=!1){var d=s.text.charAt(t.ch)||"\n",f=te(d,h)?"w":u&&"\n"==d?"n":!u||/\s/.test(d)?null:"p";if(!u||p||f||(f="s"),c&&c!=f){n<0&&(n=1,l(),t.sticky="after");break}if(f&&(c=f),n>0&&!l(!p))break}var m=Xi(e,t,o,a,!0);return ve(o,m)&&(m.hitSide=!0),m}function Sa(e,t,n,r){var i,o,a=e.doc,s=t.left;if("page"==r){var l=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),c=Math.max(l-.5*tr(e.display),3);i=(n>0?t.bottom:t.top)+n*c}else"line"==r&&(i=n>0?t.bottom+3:t.top-3);for(;(o=Zn(e,s,i)).outside;){if(n<0?i<=0:i>=a.height){o.hitSide=!0;break}i+=5*n}return o}var Ca=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new B,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};function Aa(e,t){var n=kn(e,t.line);if(!n||n.hidden)return null;var r=le(e.doc,t.line),i=Nn(n,r,t.line),o=Qe(r,e.doc.direction),a="left";o&&(a=Xe(o,t.ch)%2?"right":"left");var s=Hn(i.map,t.ch,a);return s.offset="right"==s.collapse?s.end:s.start,s}function Ra(e,t){return t&&(e.bad=!0),e}function wa(e,t,n){var r;if(t==e.display.lineDiv){if(!(r=e.display.lineDiv.childNodes[n]))return Ra(e.clipPos(ge(e.display.viewTo-1)),!0);t=null,n=0}else for(r=t;;r=r.parentNode){if(!r||r==e.display.lineDiv)return null;if(r.parentNode&&r.parentNode==e.display.lineDiv)break}for(var i=0;ir.firstLine()&&(a=ge(a.line-1,le(r.doc,a.line-1).length)),s.ch==le(r.doc,s.line).text.length&&s.linei.viewTo-1)return!1;a.line==i.viewFrom||0==(e=lr(r,a.line))?(t=pe(i.view[0].line),n=i.view[0].node):(t=pe(i.view[e].line),n=i.view[e-1].node.nextSibling);var l,c,u=lr(r,s.line);if(u==i.view.length-1?(l=i.viewTo-1,c=i.lineDiv.lastChild):(l=pe(i.view[u+1].line)-1,c=i.view[u+1].node.previousSibling),!n)return!1;for(var h=r.doc.splitLines(function(e,t,n,r,i){var o="",a=!1,s=e.doc.lineSeparator();function l(){a&&(o+=s,a=!1)}function c(e){e&&(l(),o+=e)}function u(t){if(1==t.nodeType){var n=t.getAttribute("cm-text");if(null!=n)return void c(n||t.textContent.replace(/\u200b/g,""));var o,h=t.getAttribute("cm-marker");if(h){var p=e.findMarks(ge(r,0),ge(i+1,0),(m=+h,function(e){return e.id==m}));return void(p.length&&(o=p[0].find())&&c(ce(e.doc,o.from,o.to).join(s)))}if("false"==t.getAttribute("contenteditable"))return;var d=/^(pre|div|p)$/i.test(t.nodeName);d&&l();for(var f=0;f1&&p.length>1;)if(q(h)==q(p))h.pop(),p.pop(),l--;else{if(h[0]!=p[0])break;h.shift(),p.shift(),t++}for(var d=0,f=0,m=h[0],g=p[0],y=Math.min(m.length,g.length);da.ch&&v.charCodeAt(v.length-f-1)==_.charCodeAt(_.length-f-1);)d--,f++;h[h.length-1]=v.slice(0,v.length-f).replace(/^\u200b+/,""),h[0]=h[0].slice(d).replace(/\u200b+$/,"");var E=ge(t,d),T=ge(l,p.length?q(p).length-f:0);return h.length>1||h[0]||ye(E,T)?(oo(r.doc,h,E,T,"+input"),!0):void 0},Ca.prototype.ensurePolled=function(){this.forceCompositionEnd()},Ca.prototype.reset=function(){this.forceCompositionEnd()},Ca.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Ca.prototype.readFromDOMSoon=function(){var e=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout((function(){if(e.readDOMTimeout=null,e.composing){if(!e.composing.done)return;e.composing=null}e.updateFromDOM()}),80))},Ca.prototype.updateFromDOM=function(){var e=this;!this.cm.isReadOnly()&&this.pollContent()||Kr(this.cm,(function(){return Qr(e.cm)}))},Ca.prototype.setUneditable=function(e){e.contentEditable="false"},Ca.prototype.onKeyPress=function(e){0!=e.charCode&&(e.preventDefault(),this.cm.isReadOnly()||qr(this.cm,ya)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0))},Ca.prototype.readOnlyChanged=function(e){this.div.contentEditable=String("nocursor"!=e)},Ca.prototype.onContextMenu=function(){},Ca.prototype.resetPosition=function(){},Ca.prototype.needsContentAttribute=!0;var Oa=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new B,this.inaccurateSelection=!1,this.hasSelection=!1,this.composing=null};Oa.prototype.init=function(e){var t=this,n=this,r=this.cm,i=this.wrapper=Ta(),o=this.textarea=i.firstChild;function l(e){if(!lt(r,e)){if(r.somethingSelected())ga({lineWise:!1,text:r.getSelections()}),n.inaccurateSelection&&(n.prevInput="",n.inaccurateSelection=!1,o.value=ma.text.join("\n"),P(o));else{if(!r.options.lineWiseCopyCut)return;var t=ba(r);ga({lineWise:!0,text:t.text}),"cut"==e.type?r.setSelections(t.ranges,null,Y):(n.prevInput="",o.value=t.text.join("\n"),P(o))}"cut"==e.type&&(r.state.cutIncoming=!0)}}e.wrapper.insertBefore(i,e.wrapper.firstChild),m&&(o.style.width="0px"),it(o,"input",(function(){a&&s>=9&&t.hasSelection&&(t.hasSelection=null),n.poll()})),it(o,"paste",(function(e){lt(r,e)||va(e,r)||(r.state.pasteIncoming=!0,n.fastPoll())})),it(o,"cut",l),it(o,"copy",l),it(e.scroller,"paste",(function(t){Sn(e,t)||lt(r,t)||(r.state.pasteIncoming=!0,n.focus())})),it(e.lineSpace,"selectstart",(function(t){Sn(e,t)||pt(t)})),it(o,"compositionstart",(function(){var e=r.getCursor("from");n.composing&&n.composing.range.clear(),n.composing={start:e,range:r.markText(e,r.getCursor("to"),{className:"CodeMirror-composing"})}})),it(o,"compositionend",(function(){n.composing&&(n.poll(),n.composing.range.clear(),n.composing=null)}))},Oa.prototype.prepareSelection=function(){var e=this.cm,t=e.display,n=e.doc,r=ur(e);if(e.options.moveInputWithCursor){var i=Kn(e,n.sel.primary().head,"div"),o=t.wrapper.getBoundingClientRect(),a=t.lineDiv.getBoundingClientRect();r.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,i.top+a.top-o.top)),r.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,i.left+a.left-o.left))}return r},Oa.prototype.showSelection=function(e){var t=this.cm.display;w(t.cursorDiv,e.cursors),w(t.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},Oa.prototype.reset=function(e){if(!this.contextMenuPending){var t,n,r=this.cm,i=r.doc;if(r.somethingSelected()){this.prevInput="";var o=i.sel.primary(),l=(t=At&&(o.to().line-o.from().line>100||(n=r.getSelection()).length>1e3))?"-":n||r.getSelection();this.textarea.value=l,r.state.focused&&P(this.textarea),a&&s>=9&&(this.hasSelection=l)}else e||(this.prevInput=this.textarea.value="",a&&s>=9&&(this.hasSelection=null));this.inaccurateSelection=t}},Oa.prototype.getField=function(){return this.textarea},Oa.prototype.supportsTouch=function(){return!1},Oa.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!y||I()!=this.textarea))try{this.textarea.focus()}catch(e){}},Oa.prototype.blur=function(){this.textarea.blur()},Oa.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Oa.prototype.receivedFocus=function(){this.slowPoll()},Oa.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,(function(){e.poll(),e.cm.state.focused&&e.slowPoll()}))},Oa.prototype.fastPoll=function(){var e=!1,t=this;t.pollingFast=!0,t.polling.set(20,(function n(){t.poll()||e?(t.pollingFast=!1,t.slowPoll()):(e=!0,t.polling.set(60,n))}))},Oa.prototype.poll=function(){var e=this,t=this.cm,n=this.textarea,r=this.prevInput;if(this.contextMenuPending||!t.state.focused||Ct(n)&&!r&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var i=n.value;if(i==r&&!t.somethingSelected())return!1;if(a&&s>=9&&this.hasSelection===i||v&&/[\uf700-\uf7ff]/.test(i))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var o=i.charCodeAt(0);if(8203!=o||r||(r="​"),8666==o)return this.reset(),this.cm.execCommand("undo")}for(var l=0,c=Math.min(r.length,i.length);l1e3||i.indexOf("\n")>-1?n.value=e.prevInput="":e.prevInput=i,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"}))})),!0},Oa.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Oa.prototype.onKeyPress=function(){a&&s>=9&&(this.hasSelection=null),this.fastPoll()},Oa.prototype.onContextMenu=function(e){var t=this,n=t.cm,r=n.display,i=t.textarea,o=sr(n,e),c=r.scroller.scrollTop;if(o&&!h){n.options.resetSelectionOnContextMenu&&-1==n.doc.sel.contains(o)&&qr(n,zi)(n.doc,gi(o),Y);var u=i.style.cssText,p=t.wrapper.style.cssText;t.wrapper.style.cssText="position: absolute";var d,f=t.wrapper.getBoundingClientRect();if(i.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(e.clientY-f.top-5)+"px; left: "+(e.clientX-f.left-5)+"px;\n z-index: 1000; background: "+(a?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);",l&&(d=window.scrollY),r.input.focus(),l&&window.scrollTo(null,d),r.input.reset(),n.somethingSelected()||(i.value=t.prevInput=" "),t.contextMenuPending=!0,r.selForContextMenu=n.doc.sel,clearTimeout(r.detectingSelectAll),a&&s>=9&&g(),x){mt(e);var m=function(){at(window,"mouseup",m),setTimeout(y,20)};it(window,"mouseup",m)}else setTimeout(y,50)}function g(){if(null!=i.selectionStart){var e=n.somethingSelected(),o="​"+(e?i.value:"");i.value="⇚",i.value=o,t.prevInput=e?"":"​",i.selectionStart=1,i.selectionEnd=o.length,r.selForContextMenu=n.doc.sel}}function y(){if(t.contextMenuPending=!1,t.wrapper.style.cssText=p,i.style.cssText=u,a&&s<9&&r.scrollbars.setScrollTop(r.scroller.scrollTop=c),null!=i.selectionStart){(!a||a&&s<9)&&g();var e=0,o=function(){r.selForContextMenu==n.doc.sel&&0==i.selectionStart&&i.selectionEnd>0&&"​"==t.prevInput?qr(n,Qi)(n):e++<10?r.detectingSelectAll=setTimeout(o,500):(r.selForContextMenu=null,r.input.reset())};r.detectingSelectAll=setTimeout(o,200)}}},Oa.prototype.readOnlyChanged=function(e){e||this.reset()},Oa.prototype.setUneditable=function(){},Oa.prototype.needsContentAttribute=!1,function(e){var t=e.optionHandlers;function n(n,r,i,o){e.defaults[n]=r,i&&(t[n]=o?function(e,t,n){n!=aa&&i(e,t,n)}:i)}e.defineOption=n,e.Init=aa,n("value","",(function(e,t){return e.setValue(t)}),!0),n("mode",null,(function(e,t){e.doc.modeOption=t,Ei(e)}),!0),n("indentUnit",2,Ei,!0),n("indentWithTabs",!1),n("smartIndent",!0),n("tabSize",4,(function(e){Ti(e),Gn(e),Qr(e)}),!0),n("lineSeparator",null,(function(e,t){if(e.doc.lineSep=t,t){var n=[],r=e.doc.first;e.doc.iter((function(e){for(var i=0;;){var o=e.text.indexOf(t,i);if(-1==o)break;i=o+t.length,n.push(ge(r,o))}r++}));for(var i=n.length-1;i>=0;i--)oo(e.doc,t,n[i],ge(n[i].line,n[i].ch+t.length))}})),n("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200f\u2028\u2029\ufeff]/g,(function(e,t,n){e.state.specialChars=new RegExp(t.source+(t.test("\t")?"":"|\t"),"g"),n!=aa&&e.refresh()})),n("specialCharPlaceholder",en,(function(e){return e.refresh()}),!0),n("electricChars",!0),n("inputStyle",y?"contenteditable":"textarea",(function(){throw new Error("inputStyle can not (yet) be changed in a running editor")}),!0),n("spellcheck",!1,(function(e,t){return e.getInputField().spellcheck=t}),!0),n("rtlMoveVisually",!b),n("wholeLineUpdateBefore",!0),n("theme","default",(function(e){oa(e),ca(e)}),!0),n("keyMap","default",(function(e,t,n){var r=Uo(t),i=n!=aa&&Uo(n);i&&i.detach&&i.detach(e,r),r.attach&&r.attach(e,i||null)})),n("extraKeys",null),n("lineWrapping",!1,ha,!0),n("gutters",[],(function(e){pi(e.options),ca(e)}),!0),n("fixedGutter",!0,(function(e,t){e.display.gutters.style.left=t?ir(e.display)+"px":"0",e.refresh()}),!0),n("coverGutterNextToScrollbar",!1,(function(e){return Ir(e)}),!0),n("scrollbarStyle","native",(function(e){Pr(e),Ir(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)}),!0),n("lineNumbers",!1,(function(e){pi(e.options),ca(e)}),!0),n("firstLineNumber",1,ca,!0),n("lineNumberFormatter",(function(e){return e}),ca,!0),n("showCursorWhenSelecting",!1,cr,!0),n("resetSelectionOnContextMenu",!0),n("lineWiseCopyCut",!0),n("readOnly",!1,(function(e,t){"nocursor"==t?(gr(e),e.display.input.blur(),e.display.disabled=!0):e.display.disabled=!1,e.display.input.readOnlyChanged(t)})),n("disableInput",!1,(function(e,t){t||e.display.input.reset()}),!0),n("dragDrop",!0,ua),n("allowDropFileTypes",null),n("cursorBlinkRate",530),n("cursorScrollMargin",0),n("cursorHeight",1,cr,!0),n("singleCursorHeightPerLine",!0,cr,!0),n("workTime",100),n("workDelay",100),n("flattenSpans",!0,Ti,!0),n("addModeClass",!1,Ti,!0),n("pollInterval",100),n("undoDepth",200,(function(e,t){return e.doc.history.undoDepth=t})),n("historyEventDelay",1250),n("viewportMargin",10,(function(e){return e.refresh()}),!0),n("maxHighlightLength",1e4,Ti,!0),n("moveInputWithCursor",!0,(function(e,t){t||e.display.input.resetPosition()})),n("tabindex",null,(function(e,t){return e.display.input.getField().tabIndex=t||""})),n("autofocus",null),n("direction","ltr",(function(e,t){return e.doc.setDirection(t)}),!0)}(pa),function(e){var t=e.optionHandlers,n=e.helpers={};e.prototype={constructor:e,focus:function(){window.focus(),this.display.input.focus()},setOption:function(e,n){var r=this.options,i=r[e];r[e]==n&&"mode"!=e||(r[e]=n,t.hasOwnProperty(e)&&qr(this,t[e])(this,n,i),st(this,"optionChange",this,e))},getOption:function(e){return this.options[e]},getDoc:function(){return this.doc},addKeyMap:function(e,t){this.state.keyMaps[t?"push":"unshift"](Uo(e))},removeKeyMap:function(e){for(var t=this.state.keyMaps,n=0;nr&&(fa(t,o.head.line,e,!0),r=o.head.line,i==t.doc.sel.primIndex&&Hr(t));else{var a=o.from(),s=o.to(),l=Math.max(r,a.line);r=Math.min(t.lastLine(),s.line-(s.ch?0:1))+1;for(var c=l;c0&&ji(t.doc,i,new fi(a,u[i].to()),Y)}}})),getTokenAt:function(e,t){return $t(this,e,t)},getLineTokens:function(e,t){return $t(this,ge(e),t,!0)},getTokenTypeAt:function(e){e=xe(this.doc,e);var t,n=Ut(this,le(this.doc,e.line)),r=0,i=(n.length-1)/2,o=e.ch;if(0==o)t=n[2];else for(;;){var a=r+i>>1;if((a?n[2*a-1]:0)>=o)i=a;else{if(!(n[2*a+1]o&&(e=o,i=!0),r=le(this.doc,e)}else r=e;return $n(this,r,{top:0,left:0},t||"page",n||i).top+(i?this.doc.height-We(r):0)},defaultTextHeight:function(){return tr(this.display)},defaultCharWidth:function(){return nr(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,n,r,i){var o,a,s,l=this.display,c=(e=Kn(this,xe(this.doc,e))).bottom,u=e.left;if(t.style.position="absolute",t.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(t),l.sizer.appendChild(t),"over"==r)c=e.top;else if("above"==r||"near"==r){var h=Math.max(l.wrapper.clientHeight,this.doc.height),p=Math.max(l.sizer.clientWidth,l.lineSpace.clientWidth);("above"==r||e.bottom+t.offsetHeight>h)&&e.top>t.offsetHeight?c=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=h&&(c=e.bottom),u+t.offsetWidth>p&&(u=p-t.offsetWidth)}t.style.top=c+"px",t.style.left=t.style.right="","right"==i?(u=l.sizer.clientWidth-t.offsetWidth,t.style.right="0px"):("left"==i?u=0:"middle"==i&&(u=(l.sizer.clientWidth-t.offsetWidth)/2),t.style.left=u+"px"),n&&(o=this,a={left:u,top:c,right:u+t.offsetWidth,bottom:c+t.offsetHeight},null!=(s=Mr(o,a)).scrollTop&&Tr(o,s.scrollTop),null!=s.scrollLeft&&xr(o,s.scrollLeft))},triggerOnKeyDown:Xr(Qo),triggerOnKeyPress:Xr(ea),triggerOnKeyUp:Jo,execCommand:function(e){if(Go.hasOwnProperty(e))return Go[e].call(null,this)},triggerElectric:Xr((function(e){_a(this,e)})),findPosH:function(e,t,n,r){var i=1;t<0&&(i=-1,t=-t);for(var o=xe(this.doc,e),a=0;a0&&a(t.charAt(n-1));)--n;for(;r.5)&&ar(this),st(this,"refresh",this)})),swapDoc:Xr((function(e){var t=this.doc;return t.cm=null,Ai(this,e),Gn(this),this.display.input.reset(),this.scrollTo(e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,un(this,"swapDoc",this,t),t})),getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},ht(e),e.registerHelper=function(t,r,i){n.hasOwnProperty(t)||(n[t]=e[t]={_global:[]}),n[t][r]=i},e.registerGlobalHelper=function(t,r,i,o){e.registerHelper(t,r,o),n[t]._global.push({pred:i,val:o})}}(pa);var Na,Ia="iter insert remove copy getEditor constructor".split(" ");for(var ka in To.prototype)To.prototype.hasOwnProperty(ka)&&U(Ia,ka)<0&&(pa.prototype[ka]=function(e){return function(){return e.apply(this.doc,arguments)}}(To.prototype[ka]));return ht(To),pa.inputStyles={textarea:Oa,contenteditable:Ca},pa.defineMode=function(e){pa.defaults.mode||"null"==e||(pa.defaults.mode=e),Ot.apply(this,arguments)},pa.defineMIME=function(e,t){Lt[e]=t},pa.defineMode("null",(function(){return{token:function(e){return e.skipToEnd()}}})),pa.defineMIME("text/plain","null"),pa.defineExtension=function(e,t){pa.prototype[e]=t},pa.defineDocExtension=function(e,t){To.prototype[e]=t},pa.fromTextArea=function(e,t){if((t=t?F(t):{}).value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),null==t.autofocus){var n=I();t.autofocus=n==e||null!=e.getAttribute("autofocus")&&n==document.body}function r(){e.value=s.getValue()}var i;if(e.form&&(it(e.form,"submit",r),!t.leaveSubmitMethodAlone)){var o=e.form;i=o.submit;try{var a=o.submit=function(){r(),o.submit=i,o.submit(),o.submit=a}}catch(e){}}t.finishInit=function(t){t.save=r,t.getTextArea=function(){return e},t.toTextArea=function(){t.toTextArea=isNaN,r(),e.parentNode.removeChild(t.getWrapperElement()),e.style.display="",e.form&&(at(e.form,"submit",r),"function"==typeof e.form.submit&&(e.form.submit=i))}},e.style.display="none";var s=pa((function(t){return e.parentNode.insertBefore(t,e.nextSibling)}),t);return s},(Na=pa).off=at,Na.on=it,Na.wheelEventPixels=Rr,Na.Doc=To,Na.splitLines=St,Na.countColumn=H,Na.findColumn=W,Na.isWordChar=ee,Na.Pass=G,Na.signal=st,Na.Line=Kt,Na.changeEnd=yi,Na.scrollbarModel=Dr,Na.Pos=ge,Na.cmpPos=ye,Na.modes=wt,Na.mimeModes=Lt,Na.resolveMode=Nt,Na.getMode=It,Na.modeExtensions=kt,Na.extendMode=Dt,Na.copyState=Pt,Na.startState=Ft,Na.innerMode=Mt,Na.commands=Go,Na.keyMap=Do,Na.keyName=Bo,Na.isModifierKey=Ho,Na.lookupKey=Fo,Na.normalizeKeyMap=Mo,Na.StringStream=Ht,Na.SharedTextMarker=vo,Na.TextMarker=go,Na.LineWidget=po,Na.e_preventDefault=pt,Na.e_stopPropagation=dt,Na.e_stop=mt,Na.addClass=k,Na.contains=N,Na.rmClass=A,Na.keyNames=Oo,pa.version="5.25.0",pa}()},142:(e,t,n)=>{"use strict";var r=n(907),i=n(2478),o=function(){function e(){this.pseudos={},this.attrEqualityMods={},this.ruleNestingOperators={},this.substitutesEnabled=!1}return e.prototype.registerSelectorPseudos=function(){for(var e=[],t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(30);t.parseCssSelector=function(e,t,n,i,o,a){var s=e.length,l="";function c(n,i){var o="";for(t++,l=e.charAt(t);t=s)throw Error("Expected symbol but end of file reached.");if(l=e.charAt(t),r.identSpecialChars[l])n+=l;else{if(r.isHex(l)){var i=l;for(t++,l=e.charAt(t);r.isHex(l);)i+=l,t++,l=e.charAt(t);" "===l&&(t++,l=e.charAt(t)),n+=String.fromCharCode(parseInt(i,16));continue}n+=l}}t++,l=e.charAt(t)}return n}function h(){l=e.charAt(t);for(var n=!1;" "===l||"\t"===l||"\n"===l||"\r"===l||"\f"===l;)n=!0,t++,l=e.charAt(t);return n}function p(){var n=d();if(!n)return null;var r=n;for(l=e.charAt(t);","===l;){if(t++,h(),"selectors"!==r.type&&(r={type:"selectors",selectors:[n]}),!(n=d()))throw Error('Rule expected after ",".');r.selectors.push(n)}return r}function d(){h();var n={type:"ruleSet"},r=f();if(!r)return null;for(var i=n;r&&(r.type="rule",i.rule=r,i=r,h(),l=e.charAt(t),!(t>=s||","===l||")"===l));)if(o[l]){var a=l;if(t++,h(),!(r=f()))throw Error('Rule expected after "'+a+'".');r.nestingOperator=a}else(r=f())&&(r.nestingOperator=null);return n}function f(){for(var o=null;t=s)throw Error('Expected "=" but end of file reached.');if("="!==l)throw Error('Expected "=" but "'+l+'" found.');d.operator=f+"=",t++,h();var m="";if(d.valueType="string",'"'===l)m=c('"',r.doubleQuotesEscapeChars);else if("'"===l)m=c("'",r.singleQuoteEscapeChars);else if(a&&"$"===l)t++,m=u(),d.valueType="substitute";else{for(;t=s)throw Error('Expected "]" but end of file reached.');if("]"!==l)throw Error('Expected "]" but "'+l+'" found.');t++,d.value=m}((o=o||{}).attrs=o.attrs||[]).push(d)}else{if(":"!==l)break;t++;var g=u(),y={name:g};if("("===l){t++;var v="";if(h(),"selector"===n[g])y.valueType="selector",v=p();else{if(y.valueType=n[g]||"string",'"'===l)v=c('"',r.doubleQuotesEscapeChars);else if("'"===l)v=c("'",r.singleQuoteEscapeChars);else if(a&&"$"===l)t++,v=u(),y.valueType="substitute";else{for(;t=s)throw Error('Expected ")" but end of file reached.');if(")"!==l)throw Error('Expected ")" but "'+l+'" found.');t++,y.value=v}((o=o||{}).pseudos=o.pseudos||[]).push(y)}return o}return function(){var n=p();if(t{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(30);t.renderEntity=function e(t){var n="";switch(t.type){case"ruleSet":for(var i=t.rule,o=[];i;)i.nestingOperator&&o.push(i.nestingOperator),o.push(e(i)),i=i.rule;n=o.join(" ");break;case"selectors":n=t.selectors.map(e).join(", ");break;case"rule":t.tagName&&(n="*"===t.tagName?"*":r.escapeIdentifier(t.tagName)),t.id&&(n+="#"+r.escapeIdentifier(t.id)),t.classNames&&(n+=t.classNames.map((function(e){return"."+r.escapeIdentifier(e)})).join("")),t.attrs&&(n+=t.attrs.map((function(e){return"operator"in e?"substitute"===e.valueType?"["+r.escapeIdentifier(e.name)+e.operator+"$"+e.value+"]":"["+r.escapeIdentifier(e.name)+e.operator+r.escapeStr(e.value)+"]":"["+r.escapeIdentifier(e.name)+"]"})).join("")),t.pseudos&&(n+=t.pseudos.map((function(t){return t.valueType?"selector"===t.valueType?":"+r.escapeIdentifier(t.name)+"("+e(t.value)+")":"substitute"===t.valueType?":"+r.escapeIdentifier(t.name)+"($"+t.value+")":"numeric"===t.valueType?":"+r.escapeIdentifier(t.name)+"("+t.value+")":":"+r.escapeIdentifier(t.name)+"("+r.escapeIdentifier(t.value)+")":":"+r.escapeIdentifier(t.name)})).join(""));break;default:throw Error('Unknown entity type: "'+t.type+'".')}return n}},30:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isIdentStart=function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||"-"===e||"_"===e},t.isIdent=function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||"-"===e||"_"===e},t.isHex=function(e){return e>="a"&&e<="f"||e>="A"&&e<="F"||e>="0"&&e<="9"},t.escapeIdentifier=function(e){for(var n=e.length,r="",i=0;i="A"&&o<="Z"||o>="a"&&o<="z"||0!==i&&o>="0"&&o<="9")r+=o;else{var a=o.charCodeAt(0);if(55296==(63488&a)){var s=e.charCodeAt(i++);if(55296!=(64512&a)||56320!=(64512&s))throw Error("UCS-2(decode): illegal sequence");a=((1023&a)<<10)+(1023&s)+65536}r+="\\"+a.toString(16)+" "}i++}return r},t.escapeStr=function(e){for(var n,r=e.length,i="",o=0;o":!0,"?":!0,"@":!0,"[":!0,"\\":!0,"]":!0,"^":!0,"`":!0,"{":!0,"|":!0,"}":!0,"~":!0},t.strReplacementsRev={"\n":"\\n","\r":"\\r","\t":"\\t","\f":"\\f","\v":"\\v"},t.singleQuoteEscapeChars={n:"\n",r:"\r",t:"\t",f:"\f","\\":"\\","'":"'"},t.doubleQuotesEscapeChars={n:"\n",r:"\r",t:"\t",f:"\f","\\":"\\",'"':'"'}},5535:function(e){var t;t=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=45)}([function(e,t){function n(e){return"["+e.join(", ")+"]"}function r(e,t){return e.equals(t)}function i(e){return e.hashCode()}function o(e,t){return this.data={},this.hashFunction=e||i,this.equalsFunction=t||r,this}function a(){return this.data=[],this}function s(e,t){return this.data={},this.hashFunction=e||i,this.equalsFunction=t||r,this}function l(){return this.data={},this}function c(){return this}function u(){return this.count=0,this.hash=0,this}String.prototype.seed=String.prototype.seed||Math.round(Math.random()*Math.pow(2,32)),String.prototype.hashCode=function(){var e,t,n,r,i,o,a,s,l=this.toString();for(e=3&l.length,t=l.length-e,n=String.prototype.seed,i=3432918353,o=461845907,s=0;s>>16)*i&65535)<<16)&4294967295)<<15|a>>>17))*o+(((a>>>16)*o&65535)<<16)&4294967295)<<13|n>>>19))+((5*(n>>>16)&65535)<<16)&4294967295))+((58964+(r>>>16)&65535)<<16);switch(a=0,e){case 3:a^=(255&l.charCodeAt(s+2))<<16;case 2:a^=(255&l.charCodeAt(s+1))<<8;case 1:n^=a=(65535&(a=(a=(65535&(a^=255&l.charCodeAt(s)))*i+(((a>>>16)*i&65535)<<16)&4294967295)<<15|a>>>17))*o+(((a>>>16)*o&65535)<<16)&4294967295}return n^=l.length,n=2246822507*(65535&(n^=n>>>16))+((2246822507*(n>>>16)&65535)<<16)&4294967295,n=3266489909*(65535&(n^=n>>>13))+((3266489909*(n>>>16)&65535)<<16)&4294967295,(n^=n>>>16)>>>0},Object.defineProperty(o.prototype,"length",{get:function(){var e=0;for(var t in this.data)0===t.indexOf("hash_")&&(e+=this.data[t].length);return e}}),o.prototype.add=function(e){var t="hash_"+this.hashFunction(e);if(t in this.data){for(var n=this.data[t],r=0;r>>17,n*=461845907,this.count=this.count+1;var r=this.hash^n;r=5*(r=r<<13|r>>>19)+3864292196,this.hash=r}}},u.prototype.finish=function(){var e=this.hash^4*this.count;return e^=e>>>16,e*=2246822507,e^=e>>>13,(e*=3266489909)^e>>>16},c.prototype.get=function(e,t){var n=this[e]||null;return null===n?null:n[t]||null},c.prototype.set=function(e,t,n){var r=this[e]||null;null===r&&(r={},this[e]=r),r[t]=n},t.Hash=u,t.Set=o,t.Map=s,t.BitSet=a,t.AltDict=l,t.DoubleDict=c,t.hashStuff=function(){var e=new u;return e.update.apply(arguments),e.finish()},t.escapeWhitespace=function(e,t){return e=(e=(e=e.replace("\t","\\t")).replace("\n","\\n")).replace("\r","\\r"),t&&(e=e.replace(" ","·")),e},t.arrayToString=n,t.titleCase=function(e){return e.replace(/\w\S*/g,(function(e){return e.charAt(0).toUpperCase()+e.substr(1)}))},t.equalArrays=function(e,t){if(!Array.isArray(e)||!Array.isArray(t))return!1;if(e==t)return!0;if(e.length!=t.length)return!1;for(var n=0;n"},set:function(e){this._text=e}}),r.prototype.toString=function(){var e=this.text;return e=null!==e?e.replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t"):"","[@"+this.tokenIndex+","+this.start+":"+this.stop+"='"+e+"',<"+this.type+">"+(this.channel>0?",channel="+this.channel:"")+","+this.line+":"+this.column+"]"},t.Token=n,t.CommonToken=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=t.KEYWORD="keyword",i=(t.LABEL="label",t.VARIABLE="variable"),o=t.PARAMETER="parameter",a=t.PROPERTY_KEY="propertyKey",s=(t.RELATIONSHIP_TYPE="relationshipType",t.FUNCTION_NAME="function");t.PROCEDURE_NAME="procedure",t.CONSOLE_COMMAND_NAME="consoleCommand",t.CONSOLE_COMMAND_SUBCOMMAND="consoleCommandSubcommand",t.PROCEDURE_OUTPUT="procedureOutput",t.NOOP="noop",t.ALL=[i,o,a,s,r].map((function(e){return{type:e}}))},function(e,t,n){var r=n(2).Token;function i(e,t){return this.start=e,this.stop=t,this}function o(){this.intervals=null,this.readOnly=!1}i.prototype.contains=function(e){return e>=this.start&&e=n.stop?(this.intervals.pop(e+1),this.reduce(e)):t.stop>=n.start&&(this.intervals[e]=new i(t.start,n.stop),this.intervals.pop(e+1))}},o.prototype.complement=function(e,t){var n=new o;n.addInterval(new i(e,t+1));for(var r=0;rr.start&&e.stop=r.stop?(this.intervals.splice(t,1),t-=1):e.start"):e.push("'"+String.fromCharCode(n.start)+"'"):e.push("'"+String.fromCharCode(n.start)+"'..'"+String.fromCharCode(n.stop-1)+"'")}return e.length>1?"{"+e.join(", ")+"}":e[0]},o.prototype.toIndexString=function(){for(var e=[],t=0;t"):e.push(n.start.toString()):e.push(n.start.toString()+".."+(n.stop-1).toString())}return e.length>1?"{"+e.join(", ")+"}":e[0]},o.prototype.toTokenString=function(e,t){for(var n=[],r=0;r1?"{"+n.join(", ")+"}":n[0]},o.prototype.elementName=function(e,t,n){return n===r.EOF?"":n===r.EPSILON?"":e[n]||t[n]},t.Interval=i,t.IntervalSet=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:[],n=e;;){if(null==n)return null;if(t.indexOf(n.constructor.name)>-1)return n;n=n.parentCtx}}},{key:"findChild",value:function(t,n){if(null==t)return null;if(t.constructor.name===n)return t;if(null!=t.children)for(var r=0;r":this.symbol.text},m.prototype=Object.create(f.prototype),m.prototype.constructor=m,m.prototype.isErrorNode=function(){return!0},m.prototype.accept=function(e){return e.visitErrorNode(this)},g.prototype.walk=function(e,t){if(t instanceof h||void 0!==t.isErrorNode&&t.isErrorNode())e.visitErrorNode(t);else if(t instanceof u)e.visitTerminal(t);else{this.enterRule(e,t);for(var n=0;n=0&&this.startIndex0&&(e+=", "),this.returnStates[t]!==o.EMPTY_RETURN_STATE?(e+=this.returnStates[t],null!==this.parents[t]?e=e+" "+this.parents[t]:e+="null"):e+="$";return e+"]"},t.merge=function e(t,n,r,i){if(t===n)return t;if(t instanceof s&&n instanceof s)return function(t,n,r,i){if(null!==i){var a=i.get(t,n);if(null!==a)return a;if(null!==(a=i.get(n,t)))return a}var l=function(e,t,n){if(n){if(e===o.EMPTY)return o.EMPTY;if(t===o.EMPTY)return o.EMPTY}else{if(e===o.EMPTY&&t===o.EMPTY)return o.EMPTY;if(e===o.EMPTY){var r=[t.returnState,o.EMPTY_RETURN_STATE];return new c([t.parentCtx,null],r)}if(t===o.EMPTY)return r=[e.returnState,o.EMPTY_RETURN_STATE],new c([e.parentCtx,null],r)}return null}(t,n,r);if(null!==l)return null!==i&&i.set(t,n,l),l;if(t.returnState===n.returnState){var u=e(t.parentCtx,n.parentCtx,r,i);if(u===t.parentCtx)return t;if(u===n.parentCtx)return n;var h=s.create(u,t.returnState);return null!==i&&i.set(t,n,h),h}var p=null;if((t===n||null!==t.parentCtx&&t.parentCtx===n.parentCtx)&&(p=t.parentCtx),null!==p){var d=[t.returnState,n.returnState];t.returnState>n.returnState&&(d[0]=n.returnState,d[1]=t.returnState);var f=new c(m=[p,p],d);return null!==i&&i.set(t,n,f),f}d=[t.returnState,n.returnState];var m=[t.parentCtx,n.parentCtx];t.returnState>n.returnState&&(d[0]=n.returnState,d[1]=t.returnState,m=[n.parentCtx,t.parentCtx]);var g=new c(m,d);return null!==i&&i.set(t,n,g),g}(t,n,r,i);if(r){if(t instanceof l)return t;if(n instanceof l)return n}return t instanceof s&&(t=new c([t.getParent()],[t.returnState])),n instanceof s&&(n=new c([n.getParent()],[n.returnState])),function(t,n,r,i){if(null!==i){var a=i.get(t,n);if(null!==a)return a;if(null!==(a=i.get(n,t)))return a}for(var l=0,u=0,h=0,p=[],d=[];l=this.states.length)throw"Invalid state number.";var n=this.states[e],r=this.nextTokens(n);if(!r.contains(a.EPSILON))return r;var o=new i;for(o.addSet(r),o.removeOne(a.EPSILON);null!==t&&t.invokingState>=0&&r.contains(a.EPSILON);){var s=this.states[t.invokingState].transitions[0];r=this.nextTokens(s.followState),o.addSet(r),o.removeOne(a.EPSILON),t=t.parentCtx}return r.contains(a.EPSILON)&&o.addOne(a.EOF),o},o.INVALID_ALT_NUMBER=0,t.ATN=o},function(e,t,n){var r=n(2).Token,i=(n(4).Interval,n(4).IntervalSet),o=n(14).Predicate,a=n(14).PrecedencePredicate;function s(e){if(null==e)throw"target cannot be null.";return this.target=e,this.isEpsilon=!1,this.label=null,this}function l(e,t){return s.call(this,e),this.label_=t,this.label=this.makeLabel(),this.serializationType=s.ATOM,this}function c(e,t,n,r){return s.call(this,e),this.ruleIndex=t,this.precedence=n,this.followState=r,this.serializationType=s.RULE,this.isEpsilon=!0,this}function u(e,t){return s.call(this,e),this.serializationType=s.EPSILON,this.isEpsilon=!0,this.outermostPrecedenceReturn=t,this}function h(e,t,n){return s.call(this,e),this.serializationType=s.RANGE,this.start=t,this.stop=n,this.label=this.makeLabel(),this}function p(e){return s.call(this,e),this}function d(e,t,n,r){return p.call(this,e),this.serializationType=s.PREDICATE,this.ruleIndex=t,this.predIndex=n,this.isCtxDependent=r,this.isEpsilon=!0,this}function f(e,t,n,r){return s.call(this,e),this.serializationType=s.ACTION,this.ruleIndex=t,this.actionIndex=void 0===n?-1:n,this.isCtxDependent=void 0!==r&&r,this.isEpsilon=!0,this}function m(e,t){return s.call(this,e),this.serializationType=s.SET,null!=t?this.label=t:(this.label=new i,this.label.addOne(r.INVALID_TYPE)),this}function g(e,t){return m.call(this,e,t),this.serializationType=s.NOT_SET,this}function y(e){return s.call(this,e),this.serializationType=s.WILDCARD,this}function v(e,t){return p.call(this,e),this.serializationType=s.PRECEDENCE,this.precedence=t,this.isEpsilon=!0,this}s.EPSILON=1,s.RANGE=2,s.RULE=3,s.PREDICATE=4,s.ATOM=5,s.ACTION=6,s.SET=7,s.NOT_SET=8,s.WILDCARD=9,s.PRECEDENCE=10,s.serializationNames=["INVALID","EPSILON","RANGE","RULE","PREDICATE","ATOM","ACTION","SET","NOT_SET","WILDCARD","PRECEDENCE"],s.serializationTypes={EpsilonTransition:s.EPSILON,RangeTransition:s.RANGE,RuleTransition:s.RULE,PredicateTransition:s.PREDICATE,AtomTransition:s.ATOM,ActionTransition:s.ACTION,SetTransition:s.SET,NotSetTransition:s.NOT_SET,WildcardTransition:s.WILDCARD,PrecedencePredicateTransition:s.PRECEDENCE},l.prototype=Object.create(s.prototype),l.prototype.constructor=l,l.prototype.makeLabel=function(){var e=new i;return e.addOne(this.label_),e},l.prototype.matches=function(e,t,n){return this.label_===e},l.prototype.toString=function(){return this.label_},c.prototype=Object.create(s.prototype),c.prototype.constructor=c,c.prototype.matches=function(e,t,n){return!1},u.prototype=Object.create(s.prototype),u.prototype.constructor=u,u.prototype.matches=function(e,t,n){return!1},u.prototype.toString=function(){return"epsilon"},h.prototype=Object.create(s.prototype),h.prototype.constructor=h,h.prototype.makeLabel=function(){var e=new i;return e.addRange(this.start,this.stop),e},h.prototype.matches=function(e,t,n){return e>=this.start&&e<=this.stop},h.prototype.toString=function(){return"'"+String.fromCharCode(this.start)+"'..'"+String.fromCharCode(this.stop)+"'"},p.prototype=Object.create(s.prototype),p.prototype.constructor=p,d.prototype=Object.create(p.prototype),d.prototype.constructor=d,d.prototype.matches=function(e,t,n){return!1},d.prototype.getPredicate=function(){return new o(this.ruleIndex,this.predIndex,this.isCtxDependent)},d.prototype.toString=function(){return"pred_"+this.ruleIndex+":"+this.predIndex},f.prototype=Object.create(s.prototype),f.prototype.constructor=f,f.prototype.matches=function(e,t,n){return!1},f.prototype.toString=function(){return"action_"+this.ruleIndex+":"+this.actionIndex},m.prototype=Object.create(s.prototype),m.prototype.constructor=m,m.prototype.matches=function(e,t,n){return this.label.contains(e)},m.prototype.toString=function(){return this.label.toString()},g.prototype=Object.create(m.prototype),g.prototype.constructor=g,g.prototype.matches=function(e,t,n){return e>=t&&e<=n&&!m.prototype.matches.call(this,e,t,n)},g.prototype.toString=function(){return"~"+m.prototype.toString.call(this)},y.prototype=Object.create(s.prototype),y.prototype.constructor=y,y.prototype.matches=function(e,t,n){return e>=t&&e<=n},y.prototype.toString=function(){return"."},v.prototype=Object.create(p.prototype),v.prototype.constructor=v,v.prototype.matches=function(e,t,n){return!1},v.prototype.getPredicate=function(){return new a(this.precedence)},v.prototype.toString=function(){return this.precedence+" >= _p"},t.Transition=s,t.AtomTransition=l,t.SetTransition=m,t.NotSetTransition=g,t.RuleTransition=c,t.ActionTransition=f,t.EpsilonTransition=u,t.RangeTransition=h,t.WildcardTransition=y,t.PredicateTransition=d,t.PrecedencePredicateTransition=v,t.AbstractPredicateTransition=p},function(e,t,n){var r=n(11).ATN,i=n(0),o=i.Hash,a=i.Set,s=n(14).SemanticContext,l=n(10).merge;function c(e){return e.hashCodeForConfigSet()}function u(e,t){return e===t||null!==e&&null!==t&&e.equalsForConfigSet(t)}function h(e){return this.configLookup=new a(c,u),this.fullCtx=void 0===e||e,this.readOnly=!1,this.configs=[],this.uniqueAlt=0,this.conflictingAlts=null,this.hasSemanticContext=!1,this.dipsIntoOuterContext=!1,this.cachedHashCode=-1,this}function p(){return h.call(this),this.configLookup=new a,this}h.prototype.add=function(e,t){if(void 0===t&&(t=null),this.readOnly)throw"This set is readonly";e.semanticContext!==s.NONE&&(this.hasSemanticContext=!0),e.reachesIntoOuterContext>0&&(this.dipsIntoOuterContext=!0);var n=this.configLookup.add(e);if(n===e)return this.cachedHashCode=-1,this.configs.push(e),!0;var r=!this.fullCtx,i=l(n.context,e.context,r,t);return n.reachesIntoOuterContext=Math.max(n.reachesIntoOuterContext,e.reachesIntoOuterContext),e.precedenceFilterSuppressed&&(n.precedenceFilterSuppressed=!0),n.context=i,!0},h.prototype.getStates=function(){for(var e=new a,t=0;t0){var a=null;i.map((function(e){(null===a||e.precedence0){var a=i.sort((function(e,t){return e.compareTo(t)})),l=a[a.length-1];n.add(l)}return this.opnds=n.values(),this}o.prototype.hashCode=function(){var e=new i;return this.updateHashCode(e),e.finish()},o.prototype.evaluate=function(e,t){},o.prototype.evalPrecedence=function(e,t){return this},o.andContext=function(e,t){if(null===e||e===o.NONE)return t;if(null===t||t===o.NONE)return e;var n=new l(e,t);return 1===n.opnds.length?n.opnds[0]:n},o.orContext=function(e,t){if(null===e)return t;if(null===t)return e;if(e===o.NONE||t===o.NONE)return o.NONE;var n=new c(e,t);return 1===n.opnds.length?n.opnds[0]:n},a.prototype=Object.create(o.prototype),a.prototype.constructor=a,o.NONE=new a,a.prototype.evaluate=function(e,t){var n=this.isCtxDependent?t:null;return e.sempred(n,this.ruleIndex,this.predIndex)},a.prototype.updateHashCode=function(e){e.update(this.ruleIndex,this.predIndex,this.isCtxDependent)},a.prototype.equals=function(e){return this===e||e instanceof a&&this.ruleIndex===e.ruleIndex&&this.predIndex===e.predIndex&&this.isCtxDependent===e.isCtxDependent},a.prototype.toString=function(){return"{"+this.ruleIndex+":"+this.predIndex+"}?"},s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.evaluate=function(e,t){return e.precpred(t,this.precedence)},s.prototype.evalPrecedence=function(e,t){return e.precpred(t,this.precedence)?o.NONE:null},s.prototype.compareTo=function(e){return this.precedence-e.precedence},s.prototype.updateHashCode=function(e){e.update(31)},s.prototype.equals=function(e){return this===e||e instanceof s&&this.precedence===e.precedence},s.prototype.toString=function(){return"{"+this.precedence+">=prec}?"},s.filterPrecedencePredicates=function(e){var t=[];return e.values().map((function(e){e instanceof s&&t.push(e)})),t},l.prototype=Object.create(o.prototype),l.prototype.constructor=l,l.prototype.equals=function(e){return this===e||e instanceof l&&this.opnds===e.opnds},l.prototype.updateHashCode=function(e){e.update(this.opnds,"AND")},l.prototype.evaluate=function(e,t){for(var n=0;n3?e.slice(3):e},c.prototype=Object.create(o.prototype),c.prototype.constructor=c,c.prototype.constructor=function(e){return this===e||e instanceof c&&this.opnds===e.opnds},c.prototype.updateHashCode=function(e){e.update(this.opnds,"OR")},c.prototype.evaluate=function(e,t){for(var n=0;n3?e.slice(3):e},t.SemanticContext=o,t.PrecedencePredicate=s,t.Predicate=a},function(e,t,n){var r=n(13).ATNConfigSet,i=n(0),o=i.Hash,a=i.Set;function s(e,t){return this.alt=t,this.pred=e,this}function l(e,t){return null===e&&(e=-1),null===t&&(t=new r),this.stateNumber=e,this.configs=t,this.edges=null,this.isAcceptState=!1,this.prediction=0,this.lexerActionExecutor=null,this.requiresFullContext=!1,this.predicates=null,this}s.prototype.toString=function(){return"("+this.pred+", "+this.alt+")"},l.prototype.getAltSet=function(){var e=new a;if(null!==this.configs)for(var t=0;t0?",up="+this.reachesIntoOuterContext:"")+")"},l.prototype=Object.create(s.prototype),l.prototype.constructor=l,l.prototype.updateHashCode=function(e){e.update(this.state.stateNumber,this.alt,this.context,this.semanticContext,this.passedThroughNonGreedyDecision,this.lexerActionExecutor)},l.prototype.equals=function(e){return this===e||e instanceof l&&this.passedThroughNonGreedyDecision==e.passedThroughNonGreedyDecision&&(this.lexerActionExecutor?this.lexerActionExecutor.equals(e.lexerActionExecutor):!e.lexerActionExecutor)&&s.prototype.equals.call(this,e)},l.prototype.hashCodeForConfigSet=l.prototype.hashCode,l.prototype.equalsForConfigSet=l.prototype.equals,l.prototype.checkNonGreedyDecision=function(e,t){return e.passedThroughNonGreedyDecision||t instanceof r&&t.nonGreedy},t.ATNConfig=s,t.LexerATNConfig=l},function(e,t,n){var r=n(8).RuleNode,i=n(8).INVALID_INTERVAL,o=n(11).INVALID_ALT_NUMBER;function a(e,t){return r.call(this),this.parentCtx=e||null,this.invokingState=t||-1,this}a.prototype=Object.create(r.prototype),a.prototype.constructor=a,a.prototype.depth=function(){for(var e=0,t=this;null!==t;)t=t.parentCtx,e+=1;return e},a.prototype.isEmpty=function(){return-1===this.invokingState},a.prototype.getSourceInterval=function(){return i},a.prototype.getRuleContext=function(){return this},a.prototype.getPayload=function(){return this},a.prototype.getText=function(){return 0===this.getChildCount()?"":this.children.map((function(e){return e.getText()})).join("")},a.prototype.getAltNumber=function(){return o},a.prototype.setAltNumber=function(e){},a.prototype.getChild=function(e){return null},a.prototype.getChildCount=function(){return 0},a.prototype.accept=function(e){return e.visitChildren(this)},t.RuleContext=a;var s=n(26).Trees;a.prototype.toStringTree=function(e,t){return s.toStringTree(this,e,t)},a.prototype.toString=function(e,t){e=e||null,t=t||null;for(var n=this,r="[";null!==n&&n!==t;){if(null===e)n.isEmpty()||(r+=n.invokingState);else{var i=n.ruleIndex;r+=i>=0&&i":"\n"===e?"\\n":"\t"===e?"\\t":"\r"===e?"\\r":e},l.prototype.getCharErrorDisplay=function(e){return"'"+this.getErrorDisplayForChar(e)+"'"},l.prototype.recover=function(e){this._input.LA(1)!==r.EOF&&(e instanceof s?this._interp.consume(this._input):this._input.consume())},t.Lexer=l},function(e,t){function n(){return this}function r(){return n.call(this),this}function i(e){if(n.call(this),null===e)throw"delegates";return this.delegates=e,this}n.prototype.syntaxError=function(e,t,n,r,i,o){},n.prototype.reportAmbiguity=function(e,t,n,r,i,o,a){},n.prototype.reportAttemptingFullContext=function(e,t,n,r,i,o){},n.prototype.reportContextSensitivity=function(e,t,n,r,i,o){},r.prototype=Object.create(n.prototype),r.prototype.constructor=r,r.INSTANCE=new r,r.prototype.syntaxError=function(e,t,n,r,i,o){console.error("line "+n+":"+r+" "+i)},i.prototype=Object.create(n.prototype),i.prototype.constructor=i,i.prototype.syntaxError=function(e,t,n,r,i,o){this.delegates.map((function(a){a.syntaxError(e,t,n,r,i,o)}))},i.prototype.reportAmbiguity=function(e,t,n,r,i,o,a){this.delegates.map((function(s){s.reportAmbiguity(e,t,n,r,i,o,a)}))},i.prototype.reportAttemptingFullContext=function(e,t,n,r,i,o){this.delegates.map((function(a){a.reportAttemptingFullContext(e,t,n,r,i,o)}))},i.prototype.reportContextSensitivity=function(e,t,n,r,i,o){this.delegates.map((function(a){a.reportContextSensitivity(e,t,n,r,i,o)}))},t.ErrorListener=n,t.ConsoleErrorListener=r,t.ProxyErrorListener=i},function(e,t){function n(e,t,n){return this.dfa=e,this.literalNames=t||[],this.symbolicNames=n||[],this}function r(e){return n.call(this,e,null),this}n.prototype.toString=function(){if(null===this.dfa.s0)return null;for(var e="",t=this.dfa.sortedStates(),n=0;n")).concat(this.getStateString(a))).concat("\n"))}}return 0===e.length?null:e},n.prototype.getEdgeLabel=function(e){return 0===e?"EOF":null!==this.literalNames||null!==this.symbolicNames?this.literalNames[e-1]||this.symbolicNames[e-1]:String.fromCharCode(e-1)},n.prototype.getStateString=function(e){var t=(e.isAcceptState?":":"")+"s"+e.stateNumber+(e.requiresFullContext?"^":"");return e.isAcceptState?null!==e.predicates?t+"=>"+e.predicates.toString():t+"=>"+e.prediction.toString():t},r.prototype=Object.create(n.prototype),r.prototype.constructor=r,r.prototype.getEdgeLabel=function(e){return"'"+String.fromCharCode(e)+"'"},t.DFASerializer=n,t.LexerDFASerializer=r},function(e,t,n){var r=n(17).RuleContext,i=n(8),o=i.INVALID_INTERVAL,a=i.TerminalNode,s=i.TerminalNodeImpl,l=i.ErrorNodeImpl,c=n(4).Interval;function u(e,t){e=e||null,t=t||null,r.call(this,e,t),this.ruleIndex=-1,this.children=null,this.start=null,this.stop=null,this.exception=null}function h(e,t,n){return u.call(e,t),this.ruleIndex=n,this}u.prototype=Object.create(r.prototype),u.prototype.constructor=u,u.prototype.copyFrom=function(e){this.parentCtx=e.parentCtx,this.invokingState=e.invokingState,this.children=null,this.start=e.start,this.stop=e.stop,e.children&&(this.children=[],e.children.map((function(e){e instanceof l&&(this.children.push(e),e.parentCtx=this)}),this))},u.prototype.enterRule=function(e){},u.prototype.exitRule=function(e){},u.prototype.addChild=function(e){return null===this.children&&(this.children=[]),this.children.push(e),e},u.prototype.removeLastChild=function(){null!==this.children&&this.children.pop()},u.prototype.addTokenNode=function(e){var t=new s(e);return this.addChild(t),t.parentCtx=this,t},u.prototype.addErrorNode=function(e){var t=new l(e);return this.addChild(t),t.parentCtx=this,t},u.prototype.getChild=function(e,t){if(t=t||null,null===this.children||e<0||e>=this.children.length)return null;if(null===t)return this.children[e];for(var n=0;n=this.children.length)return null;for(var n=0;n=this._size)throw"cannot consume EOF";this._index+=1},i.prototype.LA=function(e){if(0===e)return 0;e<0&&(e+=1);var t=this._index+e-1;return t<0||t>=this._size?r.EOF:this.data[t]},i.prototype.LT=function(e){return this.LA(e)},i.prototype.mark=function(){return-1},i.prototype.release=function(e){},i.prototype.seek=function(e){e<=this._index?this._index=e:this._index=Math.min(e,this._size)},i.prototype.getText=function(e,t){if(t>=this._size&&(t=this._size-1),e>=this._size)return"";if(this.decodeToUnicodeCodePoints){for(var n="",r=e;r<=t;r++)n+=String.fromCodePoint(this.data[r]);return n}return this.strdata.slice(e,t+1)},i.prototype.toString=function(){return this.strdata},t.InputStream=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["ACCESS","ACTIVE","ADMIN","ADMINISTRATOR","ALL","ALLSHORTESTPATHS","ALTER","AND","ANY","AS","ASC","ASCENDING","ASSERT","ASSIGN","BOOSTED","BRIEF","BTREE","BUILT","BY","CALL","CASE","CATALOG","CHANGE","COMMIT","CONSTRAINT","CONSTRAINTS","CONTAINS","COPY","COUNT","CREATE","CSV","CURRENT","CYPHER","DATABASE","DATABASES","DBMS","DEFAULT","DEFINED","DELETE","DENY","DESC","DESCENDING","DETACH","DISTINCT","DROP","EACH","ELEMENT","ELEMENTS","ELSE","END","ENDS","EXECUTABLE","EXECUTE","EXIST","EXISTENCE","EXISTS","EXPLAIN","EXTRACT","FALSE","FIELDTERMINATOR","FILTER","FOR","FOREACH","FROM","FULLTEXT","FUNCTION","FUNCTIONS","GRANT","GRAPH","GRAPHS","HEADERS","HOME","IF","IN","INDEX","INDEXES","IS","JOIN","KEY","LABEL","LABELS","LIMIT","LOAD","LOOKUP","MANAGEMENT","MATCH","MERGE","NAME","NAMES","NEW","NODE","NODES","NONE","NOT","NULL","OF","ON","OPTIONAL","OPTIONS","OR","ORDER","OUTPUT","PASSWORD","PERIODIC","POPULATED","PRIVILEGES","PROCEDURE","PROCEDURES","PROFILE","PROPERTY","READ","REDUCE","REL","RELATIONSHIP","RELATIONSHIPS","REMOVE","RENAME","REPLACE","REQUIRED","RETURN","REVOKE","ROLE","ROLES","SCAN","SET","SHORTESTPATH","SHOW","SINGLE","SKIP","START","STARTS","STATUS","STOP","SUSPENDED","THEN","TO","TRAVERSE","TRUE","TYPE","TYPES","UNION","UNIQUE","UNWIND","USER","USERS","USING","VERBOSE","WHEN","WHERE","WITH","WRITE","XOR","YIELD"]},function(e,t,n){(function(e){function n(e,t){for(var n=0,r=e.length-1;r>=0;r--){var i=e[r];"."===i?e.splice(r,1):".."===i?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}var r=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,i=function(e){return r.exec(e).slice(1)};function o(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r=-1&&!r;i--){var a=i>=0?arguments[i]:e.cwd();if("string"!=typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(t=a+"/"+t,r="/"===a.charAt(0))}return(r?"/":"")+(t=n(o(t.split("/"),(function(e){return!!e})),!r).join("/"))||"."},t.normalize=function(e){var r=t.isAbsolute(e),i="/"===a(e,-1);return(e=n(o(e.split("/"),(function(e){return!!e})),!r).join("/"))||r||(e="."),e&&i&&(e+="/"),(r?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(o(e,(function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var i=r(e.split("/")),o=r(n.split("/")),a=Math.min(i.length,o.length),s=a,l=0;l\t>?\t?","@\t@A\tAB\tBC\tCD\tDE\tEF\tF","G\tGH\tHI\tIJ\tJK\tKL\tLM\tM","N\tNO\tOP\tPQ\tQR\tRS\tST\tT","U\tUV\tVW\tWX\tXY\tYZ\tZ[\t[","\\\t\\]\t]^\t^_\t_`\t`a\tab\tb","c\tcd\tde\tef\tfg\tgh\thi\ti","j\tjk\tkl\tlm\tmn\tno\top\tp","q\tqr\trs\tst\ttu\tuv\tvw\tw","x\txy\tyz\tz{\t{|\t|}\t}~\t~","\t€\t€\t‚\t","‚ƒ\tƒ„\t„…\t…","†\t†‡\t‡ˆ\tˆ‰\t","‰Š\tŠ‹\t‹Œ\tŒ","\tŽ\tŽ\t\t","‘\t‘’\t’“\t“","”\t”•\t•–\t–—\t","—˜\t˜™\t™š\tš","›\t›œ\tœ\tž\t","žŸ\tŸ \t ¡\t¡","¢\t¢£\t£¤\t¤¥\t","¥¦\t¦§\t§¨\t¨","©\t©ª\tª«\t«¬\t","¬­\t­®\t®¯\t¯","°\t°±\t±²\t²³\t","³´\t´µ\tµ¶\t¶","·\t·¸\t¸¹\t¹º\t","º»\t»¼\t¼½\t½","¾\t¾¿\t¿À\tÀÁ\t","ÁÂ\tÂÃ\tÃÄ\tÄ","Å\tÅÆ\tÆÇ\tÇÈ\t","ÈÉ\tÉÊ\tÊË\tË","Ì\tÌÍ\tÍ","ƞ\n\fơ\v","Ƥ\n","Ʃ\nƭ","\nư\n","Ƶ\n","ƻ\n\fƾ","\vǃ\n","\fdž\v","","ǒ\n\b\b","\bǖ\n\b\b\b\bǚ\n\b\b\b","\t\t\n\n\n\nǣ\n\n\n\n","\n\nǨ\n\n\n\n\nǬ\n\n\n","\nǯ\n\n\n\nDz\n\n\v\v","\f\fǷ\n\f\f\f\fǻ\n\f\r","\r\r\rȀ\n\r\f\r\rȃ\v\r","","","Ȓ\n\fȕ\v","","","","ȩ\n\fȬ\v","ȳ\n","ȵ\n","ȹ\nȼ\n\f","ȿ\vɂ\n\r","Ƀ","Ɋ\nɎ\n","ɒ\n","ɖ\nɘ\n\f","ɛ\v","ɡ\nɤ\n","ɨ\n","ɬ\n","ɲ\nɶ","\nɺ\n","ɾ\nʀ\n\f","ʃ\v","ʉ\nʌ\n","","ʔ\n","ʝ\n","    ʢ\n  ʤ\n \r  ʥ","  ʩ\n !!!!ʮ\n!\f!",'!ʱ\v!"""###ʸ\n',"##ʺ\n#\f##ʽ\v#$$$","$˂\n$%%%%ˇ\n%%%","%ˋ\n%\f%%ˎ\v%&&''","(()))˘\n))))˜\n",")))***ˢ\n*+++˦","\n+,,,˪\n,,,˭\n,\f,,˰","\v,---˴\n---..",".˺\n...˽\n.\f..̀\v./","///////̉\n/00","0̍\n000̐\n0\f00̓\v01","1111̙\n11111̞\n","111̡\n1222222","222222222̱\n2","3333333333","3̽\n344445555","6666777788","889999::::",";;;;<<<<==","==>>>>>ͫ\n>>>",">ͯ\n>>>>ͳ\n>>>>ͷ","\n>>>?????Ϳ\n?","???΃\n?????Έ\n?","???Ό\n???????","??@@@@@Κ\n@@@","@Ξ\n@@@@@Σ\n@@@","@Χ\n@@@@@@έ\n@@","@@α\n@@@@@@@@","@AAAAAο\nAAAA","AAAφ\nAAAAAAό\n","AAAAABBBBBϖ","\nBBBBϚ\nBBBBB","BϠ\nBBBBBCCCϨ\n","CCCCCCCCCC","Cϳ\nCCCCCCϹ\nCC","CCCCCCCCCCЅ","\nCCCCCCЋ\nCCC","CCCCCCCCCЗ\nC","CCCЛ\nCDDDDDD","DDDХ\nDDDDDDD","DDDDDDв\nDEEEж","\nEEEEк\nEEEEо\nE\fE","Eс\vEEEф\nEEEч\nEF","FFы\nFFFFFFF","GGGѕ\nGGGGGњ\nG\fG","Gѝ\vGHHHHHHH","HHHHѩ\nHIIIѭ\nI","IIJJJJJѵ\nJJJ","KKKѻ\nKKKKѿ\nKK","KK҃\nKKK҆\nK\fKK҉\vK","LLLҍ\nLLLLґ\nLL","LLLLҗ\nLLLLқ\nL","LLLLLҡ\nLLLLҥ\n","LLLLLLҫ\nLLLLү","\nLMMMҳ\nMMMMҷ\nM","MMMһ\nMMMMҿ\nMM","Mӂ\nM\fMMӅ\vMNNNN","NӋ\nNNNNӏ\nNNNӒ\nN\fN","Nӕ\vNOOOOOӛ\nOP","PPӟ\nPPPPӣ\nPPP","PPPPPӫ\nPPPPPӰ","\nP\rPPӱPPӵ\nPPPQ","QQӻ\nQQQӾ\nQQQQ","Qԃ\nQQQԆ\nQRRRԊ\nR","RRԍ\nRRRԐ\nRRRS","SSSԗ\nSSSSԛ\nSS","SSԟ\nSTTTԣ\nTTTԦ","\nTUUUԪ\nUUUUԮ\nU","UUԱ\nU\fUUԴ\vUUUUԸ","\nUUUUԼ\nUUUԿ\nU\fUUՂ","\vUUUՅ\nUVVVVV","VVVՎ\nVWWWWWՔ\n","WWW՗\nWXXX՛\nXX","X՞\nXYYYZZZե\nZ","ZZը\nZZZի\nZZZZկ","\nZZZղ\nZ\fZZյ\vZZZո","\nZZZ[[[[[ր\n[","[[[ք\n[[[և\n[\f[[֊\v","[[[[֎\n[\\\\\\֒\n\\","]]]]]]^^__","```````֤\n```","`֨\n```֫\n`\f``֮\v`a","aaabbbbcccֺ","\ncccc־\ncc׀\ncdd׃","\nddddddddd׌\n","ddddא\nddddה\nd","dddddddddd","dנ\nddddפ\ndddק\nd\fd","dת\vdddddddd","d׳\ndeeeee׹\nee","ee׽\neee؀\ne\fee؃\ve","ee؆\nefff؊\nfff","f؎\nfffgggؔ\ngh","hhؘ\nhhhhh؝\nhi","iiiiأ\nijjjjj","jjjج\njjjkkkk","kkص\nkkklllllؽ","\nlllmmmك\nmmm","mه\nmmmي\nm\fmmٍ\vmn","nnnoooٕ\nooooٙ","\noooٜ\no\fooٟ\vopp","p٣\npppp٧\npppp","p٬\npqqqٰ\nqrrrٴ","\nrrrٷ\nr\frrٺ\vrrr","rrrڀ\nrsssڄ\nss","ssڈ\nssڊ\nssssڎ\ns","sڐ\nssssڔ\nssږ\nss","stttڜ\ntttuuuڢ","\nuuuڥ\nuuuڨ\nuuu","vvvڮ\nvvvvvڳ\nv","wwwڷ\nwwwwwڼ\nw","xxxۀ\nxxxxۄ\nxxۆ","\nxxxxۊ\nxxی\nxxxۏ","\nxxxxۓ\nxxە\nxxx","yyyۛ\nyzzz۟\nzz","z{{{ۥ\n{{{{۩\n{\f{","{۬\v{|||}}۲\n}}","}~~~۸\n~~~ۻ\n~\f~~۾","\v~€€","€܅\n€€€€܉","\n€€܋\n€€€€","܏\n€€€€ܓ\n€","€ܕ\n€€ܗ\n€","‚‚ƒƒ„„","„„„„ܤ\n„\f„","„ܧ\v„………","………ܮ\n…\f……ܱ","\v…†††††","†ܸ\n†\f††ܻ\v†","‡‡‡ܿ\n‡‡݁\n‡","\f‡‡݄\v‡‡‡","ˆˆˆ݊\nˆˆˆ","ݍ\nˆ\fˆˆݐ\vˆ‰","‰‰ݔ\n‰‰‰‰","ݘ\n‰‰‰‰ݜ\n‰","‰‰‰ݠ\n‰‰‰","ݣ\n‰\f‰‰ݦ\v‰Š","ŠŠݪ\nŠŠŠŠ","ݮ\nŠŠŠŠݲ\nŠ","ŠŠŠݶ\nŠŠŠ","Šݺ\nŠŠŠŠݾ","\nŠŠŠށ\nŠ\fŠŠބ","\vŠ‹‹‹ވ\n‹","‹‹‹ތ\n‹‹‹","ޏ\n‹\f‹‹ޒ\v‹Œ","ŒŒޖ\nŒŒޘ\nŒ\fŒ","Œޛ\vŒŒŒ","ޡ\n","ި\n","ެ\nް","\n޴\n","","","߃\n߆\n","","ߓ","\n\fߖ\vŽŽ","Žߚ\nŽŽŽŽߞ","\nŽŽߠ\nŽ\fŽŽߣ\vŽ","ߧ\n","߫\n","߯\n","‘‘‘߷\n‘‘‘","‘߻\n‘‘‘‘߿","\n‘‘‘’’“","““ࠇ\n“““","“ࠋ\n““““ࠏ\n“","““””••","•ࠗ\n••••ࠛ","\n••••ࠟ\n••","•––———","ࠧ\n————ࠫ\n—","———࠯\n———","˜˜™™™࠷\n","™™™™࠻\n™™","™™࠿\n™™™","šš›››ࡇ\n›","›››ࡋ\n››","››ࡏ\n››››","ࡓ\n›››ࡖ\n››","›࡙\n›››œœ","ࡡ\n","ࡥ\n","ࡩ\n࡭\n","ࡱ\n","ࡵ\nࡹ","\nࡽ\n","ࢁ\n","žžŸŸŸࢉ\nŸ","ŸŸŸࢍ\nŸŸ","ŸŸ࢑\nŸŸŸŸ","ŸŸࢗ\nŸŸŸ","Ÿ࢛\nŸŸŸŸ࢟\nŸ","ŸŸŸࢣ\nŸ "," ¡¡¢¢¢","¢¢¢ࢮ\n¢¢¢","¢ࢲ\n¢¢¢¢ࢶ","\n¢¢¢¢¢¢","¢¢¢¢¢¢","¢¢¢¢¢¢","ࣈ\n¢££££","££££࣑\n£¤","¤¥¥¦¦¦","ࣙ\n¦¦¦¦ࣝ\n¦","¦¦¦࣡\n¦¦¦","¦ࣥ\n¦¦ࣧ\n¦\f¦¦","࣪\v¦¦࣬\n¦¦¦","§§§ࣲ\n§§","§§§ࣷ\n§§§","§§ࣼ\n§§§","§§ँ\n§§§§","§आ\n§§§§","§ऋ\n§§§§§","ऐ\n§§§ओ\n§¨","¨¨ग\n¨¨¨¨","छ\n¨¨¨©©","©ड\n©©©त\n©\r©","©थªªªप\nª","ªªभ\nª«««","«««¬¬¬","ष\n¬¬¬¬ऻ\n¬","¬¬¬ि\n¬¬ु\n¬","¬¬¬ॅ\n¬¬","¬¬ॉ\n¬¬¬¬","्\n¬¬ॏ\n¬\f¬¬॒\v","¬¬॔\n¬¬¬­","­­®®¯¯","°°°ॡ\n°°","°°॥\n°°°°","३\n°°°६\n°°","°९\n°°°±±","±ॵ\n±±±±ॹ","\n±±±±ॽ\n±±","ॿ\n±±±±ঃ\n±","±±±ই\n±±±","±ঋ\n±±঍\n±±","±±঑\n±±±±","ক\n±±±²²","²ছ\n²²²³³","³ড\n³³³ত\n³\r³","³থ³³³প\n³","³³³ম\n³³","³঱\n³\r³³ল³঵\n³","³³স\n³³³","³়\n³³³ি\n³³","³ূ\n³³³´","´´ৈ\n´´´´","ৌ\n´´´´৐\n´","´´µµ¶¶","¶৘\n¶···ড়\n·","···ৠ\n··","··৤\n····","২\n··৪\n·\f··৭\v","··৯\n···¸","¸¸৵\n¸¸¸","¸৹\n¸¸¸ৼ\n¸¸","¸৿\n¸¸¸¸ਃ","\n¸¸¸ਆ\n¸\f¸¸ਉ","\v¸¸¸਌\n¸¸","¸¹¹¹¹¹ਔ","\n¹ºººਘ\nºº","ººਜ\nººº","»»»¼¼½","½½¾¾¾ਪ\n¾","¿¿¿ਮ\n¿¿","¿¿ਲ\n¿¿¿À","ÀÀÁÁÁ਻\n","ÁÂÂÂਿ\nÂÂ","ÂÂ੃\nÂÂÂ੆","\nÂ\fÂÂ੉\vÂÃÃ","Ã੍\nÃÃÃ੐\nÃ\rÃ","ÃੑÄÄÄ੖\nÄ","ÄÄÄਗ਼\nÄÄ","Ä੝\nÄ\fÄÄ੠\vÄÅ","ÅÆÆÇÇÈ","ÈÈÈ੫\nÈ\fÈÈ","੮\vÈÉÉÊÊ","ËËÌÌÌÌ","Ì੺\nÌÍÍÍȽ","Î\b\n\f",' "$&(*,.02468:<>@BDFHJLNPRTVXZ\\^`bdfhjlnprtvxz|',"~€‚„†ˆŠŒŽ’”","–˜šœž ¢¤¦¨ª¬","®°²´¶¸º¼¾ÀÂÄ","ÆÈÊÌÎÐÒÔÖØÚÜ","Þàâäæèêìîðòô","öøúüþĀĂĄĆĈĊČ","ĎĐĒĔĖĘĚĜĞĠĢĤ","ĦĨĪĬĮİIJĴĶĸĺļ","ľŀłńņňŊŌŎŐŒŔ","ŖŘŚŜŞŠŢŤŦŨŪŬ","ŮŰŲŴŶŸźżžƀƂƄ","ƆƈƊƌƎƐƒƔƖƘ","\t\t`chi","{|uu¥¥¨","¨™›£¤ "," %(!!),-78•","஧ƚƨ","Ʊ\bƶ","\nƿ\fǑ","Ǔǝ","ǟdz","ǶǼ","ȄȌ","Ȏ Ȗ",'"Ș$ȝ&ȟ',"(Ȣ*ȥ",",ȭ.ȶ","0Ɂ2Ʌ","4ɣ6ɥ","8ʋ:ʓ<ʕ",">ʣ@ʪ","BʲDʻ","FˁH˃","JˏLˑ","N˓P˕Rˡ","T˥V˧","X˱Z˷","\\́^̊","`̠b̰","d̼f̾h͂","j͆l͊","n͎p͒","r͖t͚","v͞x͢","zͦ|ͺ~Ε","€κ‚ϑ","„К†М","ˆеŠш","ŒђŽѨ","Ѫ’Ѱ","”Ѹ–Ү","˜Ҳšӆ","œӚžӜ"," Ӹ¢ԇ","¤ԓ¦Ԡ","¨ՄªՍ","¬Տ®՘","°՟²բ","´ջ¶֑","¸֓º֙","¼֛¾֝","À֯Âֳ","ÄַÆׂ","È״Ê؇","ÌؓÎؕ","Ð؞Òؤ","ÔدÖظ","ØـÚَ","ÜْÞ٫","àٯâٿ","äځæڙ","èڟêڲ","ìڻîڽ","ðۚòۜ","ôۢöۭ","ø۱ú۵","üۿþ܂","ĀܘĂܚ","ĄܜĆܞ","ĈܨĊܲ","Č݂Ď݇","ĐݑĒݧ","ĔޅĖޙ","ĘޞĚߗ","ĜߤĞ߲","ĠߴĢࠂ","ĤࠄĦࠒ","ĨࠔĪࠢ","ĬࠤĮ࠲","İ࠴IJࡂ","ĴࡄĶ࡜","ĸ࡞ĺࢄ","ļࢢľࢤ","ŀࢦłࣇ","ń࣐ņ࣒","ňࣔŊࣖ","ŌऒŎऔ","ŐञŒध","ŔमŖऴ","ŘॗŚग़","Ŝड़Şफ़","ŠॲŢঘ","Ť঴Ŧ৅","Ũ৓Ūৗ","Ŭ৙Ů৲","ŰਓŲਕ","ŴਟŶਢ","Ÿਤź਩","żਫžਵ","ƀ਺Ƃ਼","Ƅ੊Ɔ੓","ƈ੡Ɗ੣","ƌ੥Ǝ੬","Ɛ੯ƒੱ","ƔੳƖ੹","Ƙ੻ƚƟ","ƛƜƜƞ","Ɲƛƞơ","ƟƝƟƠ","ƠƣơƟ","ƢƤƣƢ","ƣƤƤƥ","ƥƦƦ","ƧƩ©ƨƧ","ƨƩƩƬ",'ƪƭB"ƫƭ',"ƬƪƬƫ","ƭƯƮư","©ƯƮƯư","ưƱƴ","\bƲƳ©ƳƵ","\nƴƲƴƵ","ƵƶƷ","ƷƼƖÌƸƹ","ƹƻƖÌƺƸ","ƻƾƼƺ","Ƽƽƽ\t","ƾƼƿDŽ","\fǀǁ©ǁǃ","\fǂǀǃdž","DŽǂDŽDž","Dž\vdžDŽ","LJǒ\tLjǒ","2ljǒ\bNJǒŬ","·Njǒ<njǒņ","¤ǍǒŪ¶ǎǒň","¥Ǐǒ@!ǐǒ> Ǒ","LJǑLjǑ","ljǑNJǑ","NjǑnjǑ","ǍǑǎǑ","ǏǑǐǒ","\rǓǕƖÌǔ","ǖ©ǕǔǕ","ǖǖǗǗ","Ǚǘǚ©Ǚ","ǘǙǚǚ","ǛǛǜĄƒǜ","ǝǞ\nǞ","ǟǠ\vǠ",'Ǣǡǣ"Ǣ',"ǡǢǣǣ","ǤǤǧ\fǥ","ǦǦǨǧ","ǥǧǨǨ","ǫǩǪ\bǪ","Ǭǫǩǫ","ǬǬǮǭ","ǯ(ǮǭǮ","ǯǯDZǰ","Dz&DZǰDZ","DzDzdz","Ǵ.Ǵǵ","Ƿ\bǶǵǶ","ǷǷǺǸ","ǻ\rǹǻǺ","ǸǺǹǻ","Ǽȁ.ǽ","Ǿ\tǾȀ.ǿǽ","Ȁȃȁǿ","ȁȂȂ","ȃȁȄȅ","0ȅȆ\tȆȇ","0ȇȈ\tȈȉ0","ȉȊ\tȊȋ0","ȋȌȍ0","ȍȎȓ.","ȏȐ\bȐȒ.ȑ","ȏȒȕȓ","ȑȓȔȔ","ȕȓȖ","ȗ.ȗ!Șș"," șȚȚț","$țȜ\nȜ#","ȝȞ.Ȟ%","ȟȠ\vȠȡ.","ȡ'Ȣȣ\f","ȣȤ*Ȥ)ȥ","Ȫ,Ȧȧ\rȧȩ",",ȨȦȩȬ","ȪȨȪȫ","ȫ+ȬȪ","ȭȴ.ȮȲ","ȯȳ.Ȱȳ","0ȱȳ—Ȳȯ","ȲȰȲȱ","ȳȵȴȮ","ȴȵȵ-","ȶȽƖÌȷȹ","\tȸȷȸȹ","ȹȺȺȼ","ƖÌȻȸȼȿ","ȽȾȽȻ","Ⱦ/ȿȽ","ɀɂƊÆɁɀ","ɂɃɃɁ","ɃɄɄ1","ɅɆ:Ɇ3","ɇɉɈɊ","©ɉɈɉɊ","Ɋɋɋɍ","6ɌɎ©ɍɌ","ɍɎɎə","ɏɑɐɒ","©ɑɐɑɒ","ɒɓɓɕ","6ɔɖ©ɕɔ","ɕɖɖɘ","ɗɏɘɛ","əɗəɚ","ɚɜɛə","ɜɝɝɤ","ɞɠɟɡ","©ɠɟɠɡ","ɡɢɢɤ","ɣɇɣɞ","ɤ5ɥɧ","ņ¤ɦɨ©ɧɦ","ɧɨɨɩ","ɩɫɪɬ","©ɫɪɫɬ","ɬɭɭɮ",":ɮ7ɯɱ","ɰɲ©ɱɰ","ɱɲɲɳ","ɳɵ:ɴɶ©","ɵɴɵɶ","ɶʁɷɹ","ɸɺ©ɹɸ","ɹɺɺɻ","ɻɽ:ɼɾ©","ɽɼɽɾ","ɾʀɿɷ","ʀʃʁɿ","ʁʂʂʄ","ʃʁʄʅ","ʅʌʆʈ","ʇʉ©ʈʇ","ʈʉʉʊ","ʊʌʋɯ","ʋʆʌ9","ʍʔņ¤ʎʔŪ","¶ʏʔ4ʐʔ8","ʑʔň¥ʒʔt","ʓʍʓʎ","ʓʏʓʐ","ʓʑʓʒ","ʔ;ʕʖŨµ","ʖʗʗʜ©","ʘʝ–ʙʝŪ¶","ʚʝň¥ʛʝƖÌ","ʜʘʜʙ","ʜʚʜʛ","ʝ=ʞʡ\b","ʟʢƖÌʠʢŪ¶","ʡʟʡʠ","ʢʤʣʞ","ʤʥʥʣ","ʥʦʦʨ","ʧʩ\bʨʧ","ʨʩʩ?","ʪʯƖÌʫʬ","ʬʮƖÌʭʫ","ʮʱʯʭ","ʯʰʰA","ʱʯʲʳD#ʳ","ʴR*ʴCʵʷ","F$ʶʸ©ʷʶ","ʷʸʸʺ","ʹʵʺʽ","ʻʹʻʼ","ʼEʽʻ","ʾ˂H%ʿ˂L'ˀ","˂N(ˁʾˁʿ","ˁˀ˂G","˃ˆ8˄˅","©˅ˇJ&ˆ˄","ˆˇˇˌ","ˈˉ©ˉˋ","P)ˊˈˋˎ","ˌˊˌˍ","ˍIˎˌ","ˏː¤ːK","ˑ˒9˒M","˓˔:˔O","˕˗ƖÌ˖˘©","˗˖˗˘","˘˙˙˛","˚˜©˛˚","˛˜˜˝","˝˞ƖÌ˞Q","˟ˢd3ˠˢT+ˡ˟","ˡˠˢS","ˣ˦V,ˤ˦X-","˥ˣ˥ˤ","˦U˧ˮZ.˨˪","©˩˨˩˪","˪˫˫˭","`1ˬ˩˭˰","ˮˬˮ˯","˯W˰ˮ","˱˳\\/˲˴©","˳˲˳˴","˴˵˵˶^","0˶Y˷˾b2˸","˺©˹˸˹","˺˺˻˻","˽b2˼˹˽̀","˾˼˾˿","˿[̀˾","́̂;̂̃","©̃̄<̄̅","©̅̈=̆̇","©̇̉ƊÆ̈̆","̈̉̉]","̊̑†D̋̍","©̌̋̌̍","̍̎̎̐","b2̏̌̐̓","̑̏̑̒","̒_̓̑","̔̕>̖̕","©̖̘?̗̙","©̘̗̘̙","̡̙̚̚","Z.̛̝>̜̞©","̝̜̝̞","̡̞̟̟Z.","̛̠̠̔","̡a̢̱†Ḍ","̱Èe̤̱ˆE̥̱","ŠF̦̱ŒĢ̱","Į̱’J̩̱”","K̪̱˜M̫̱šN","̬̱žP̭̱ Q̮","̱¢R̯̱¬W̢̰","̰̣̰̤","̰̥̰̦","̧̨̰̰","̰̩̰̪","̰̫̰̬","̰̭̰̮","̰̯̱c","̲̽n8̳̽","x=̴̽f4̵̽p9̶̽","h5̷̽r:̸̽j6̹","̽t;̺̽l7̻̽v<","̼̲̼̳","̴̵̼̼","̶̷̼̼","̸̼̼̹","̼̺̼̻","̽e̾̿@̿","̀©̀́|?́g","͂̓@̓̈́","©̈́ͅ~@ͅi","͇͆@͇͈©","͈͉€A͉k","͊͋@͋͌©","͍͌‚B͍m͎","͏@͏͐©͐","͑z>͑o͓͒","A͓͔©͔͕","|?͕q͖͗A","͗͘©͙͘~@͙","s͚͛A͛͜","©͜͝€A͝u","͟͞A͟͠","©͠͡‚B͡w","ͣ͢Aͣͤ©","ͤͥz>ͥy","ͦͧBͧͨ©","ͨͪCͩͫ©","ͪͩͪͫ","ͫͬͬͮü","ͭͯ©ͮͭ","ͮͯͯͰ","ͰͲͱͳ©","ͲͱͲͳ","ͳʹʹͶƆÄ","͵ͷ©Ͷ͵","Ͷͷͷ͸","͸͹͹{","ͺͻDͻͼ©","ͼ;CͽͿ©",";ͽ;Ϳ","Ϳ΀΀΂","΁΃©΂΁","΂΃΃΄","΄΅Ũµ΅·ü","ΆΈ©·Ά","·ΈΈΉ","Ή΋ΊΌ©","΋Ί΋Ό","Ό΍΍ΎE","ΎΏ©ΏΐƄÃ","ΐΑ©ΑΒF","ΒΓ©ΓΔG","Δ}ΕΖDΖ","Η©ΗΙCΘ","Κ©ΙΘΙ","ΚΚΛΛ","ΝΜΞ©Ν","ΜΝΞΞ","ΟΟΠŨµΠ","΢üΡΣ©΢","Ρ΢ΣΣ","ΤΤΦΥ","Χ©ΦΥΦ","ΧΧΨΨ","ΩEΩΪ©Ϊ","άΫέ©ά","Ϋάέέ","ήήΰƂÂί","α©ΰίΰ","ααββ","γγδ©δ","εFεζ©ζ","ηgηθ©θ","ι…ικ","λDλμ©μ","ξCνο©ξ","νξοο","ππρρ","ςŨµςσüσ","υτφ©υ","τυφφ","χχψEψ","ω©ωϋHϊ","ό©ϋϊϋ","όόύύ","ώώϏƄÃϏ","ϐϐϑ","ϒDϒϓ©ϓ","ϕCϔϖ©ϕ","ϔϕϖϖ","ϗϗϙ„CϘ","Ϛ©ϙϘϙ","ϚϚϛϛ","ϜEϜϝ©ϝ","ϟHϞϠ©ϟ","ϞϟϠϠ","ϡϡϢϢ","ϣƄÃϣϤϤ","ƒϥϧϦ","Ϩ©ϧϦϧ","ϨϨϩϩ","ϪϪϫƔËϫ","ϬϬϭŨµϭ","ϮòzϮϯϯ","ϰƔËϰϲϱ","ϳ©ϲϱϲ","ϳϳϴϴ","ϵϵЛ϶","ϸϷϹ©ϸ","ϷϸϹϹ","ϺϺϻϻ","ϼƔËϼϽϽ","ϾŨµϾϿòzϿ","ЀЀЁƔËЁ","ЂƒÊЂЄЃ","Ѕ©ЄЃЄ","ЅЅІІ","ЇЇЛЈ","ЊЉЋ©Њ","ЉЊЋЋ","ЌЌЍЍ","ЎƐÉЎЏƔËЏ","ААБŨµБ","ВòzВГГ","ДƔËДЖЕ","З©ЖЕЖ","ЗЗИИ","ЙЙЛК","ϥК϶К","ЈЛ…М","НIНО©О","ПJПФ©Р","СKСТ©Т","УLУХ©Ф","РФХХ","ЦЦЧMЧ","Ш©ШЩĄƒЩ","Ъ©ЪЫNЫ","Ь©ЬЭŨµЭ","б©ЮЯOЯ","а©ав–б","Юбвв","‡гдPд","ж©еге","жжзз","йQик©й","ийкк","ллпÜoм","оÆdнмо","спнп","ррцс","птф©у","туфф","ххчÚnц","уцчч","‰шъRщ","ы©ъщъ","ыыьь","эĄƒэю©ю","яNяѐ©ѐ","ёŨµё‹ђ","єSѓѕ©є","ѓєѕѕ","ііћÞpї","ј©јњŽHљ","їњѝћ","љћќќ","ѝћў","џCџѠ©Ѡ","ѡQѡѢ©Ѣ","ѩ”KѣѤCѤѥ","©ѥѦ@Ѧѧ","©ѧѩ”KѨў","Ѩѣѩ","ѪѬ@ѫѭ","©ѬѫѬѭ","ѭѮѮѯ","Üoѯ‘Ѱѱ","@ѱѲ©ѲѴ","Gѳѵ©Ѵѳ","ѴѵѵѶ","ѶѷÜoѷ“","ѸѺTѹѻ","©ѺѹѺѻ","ѻѼѼ҇","–Lѽѿ©Ѿѽ","ѾѿѿҀ","Ҁ҂ҁ҃","©҂ҁ҂҃","҃҄҄҆","–L҅Ѿ҆҉","҇҅҇҈","҈•҉҇","ҊҌƄÃҋҍ","©ҌҋҌҍ","ҍҎҎҐ","ҏґ©Ґҏ","ҐґґҒ","ҒғĄƒғү","ҔҖŨµҕҗ","©ҖҕҖҗ","җҘҘҚ","ҙқ©Қҙ","ҚққҜ","ҜҝĄƒҝү","ҞҠŨµҟҡ","©ҠҟҠҡ","ҡҢҢҤ","ңҥ©Ҥң","ҤҥҥҦ","ҦҧĄƒҧү","ҨҪŨµҩҫ","©ҪҩҪҫ","ҫҬҬҭ","ú~ҭүҮҊ","ҮҔҮҞ","ҮҨү—","ҰұUұҳ","©ҲҰҲҳ","ҳҴҴҶ","Vҵҷ©Ҷҵ","ҶҷҷҸ","ҸӃĄƒҹһ","©ҺҹҺһ","һҼҼҾ","ҽҿ©Ҿҽ","ҾҿҿӀ","ӀӂĄƒӁҺ","ӂӅӃӁ","Ӄӄӄ™","ӅӃӆӇ","WӇӈ©ӈӓ","œOӉӋ©ӊӉ","ӊӋӋӌ","ӌӎӍӏ","©ӎӍӎӏ","ӏӐӐӒ","œOӑӊӒӕ","ӓӑӓӔ","Ӕ›ӕӓ","ӖӗŨµӗӘ","ú~Әӛәӛ","ƄÃӚӖӚә","ӛӜӞ","Xӝӟ©Ӟӝ","ӞӟӟӠ","ӠӢӡӣ","©ӢӡӢӣ","ӣӤӤӥ","ŨµӥӦ©Ӧӧ","YӧӨ©ӨӪ","Ąƒөӫ©Ӫө","ӪӫӫӬ","ӬӯӭӮ","©ӮӰb2ӯӭ","Ӱӱӱӯ","ӱӲӲӴ","ӳӵ©Ӵӳ","ӴӵӵӶ","ӶӷӷŸ","ӸӽKӹӻ","©ӺӹӺӻ","ӻӼӼӾ","ZӽӺӽӾ","ӾӿӿԀ","©Ԁԅ¤Sԁԃ","©ԂԁԂԃ","ԃԄԄԆ","ÚnԅԂԅԆ","Ԇ¡ԇԌ","[ԈԊ©ԉԈ","ԉԊԊԋ","ԋԍZԌԉ","Ԍԍԍԏ","ԎԐ©ԏԎ","ԏԐԐԑ","ԑԒ¤SԒ£","ԓԖ¨UԔԕ","©ԕԗ¾`ԖԔ","ԖԗԗԚ","Ԙԙ©ԙԛ","ÀaԚԘԚԛ","ԛԞԜԝ","©ԝԟÂbԞԜ","Ԟԟԟ¥","ԠԢ®Xԡԣ","©ԢԡԢԣ","ԣԥԤԦ","´[ԥԤԥԦ","Ԧ§ԧԲ","ԨԪ©ԩԨ","ԩԪԪԫ","ԫԭԬԮ","©ԭԬԭԮ","ԮԯԯԱ","ªV԰ԩԱԴ","Բ԰ԲԳ","ԳՅԴԲ","ԵՀªVԶԸ","©ԷԶԷԸ","ԸԹԹԻ","ԺԼ©ԻԺ","ԻԼԼԽ","ԽԿªVԾԷ","ԿՂՀԾ","ՀՁՁՅ","ՂՀՃՅ","¦TՄԧՄԵ","ՄՃՅ©","ՆՇĄƒՇՈ","©ՈՉNՉՊ","©ՊՋŨµՋՎ","ՌՎĄƒՍՆ","ՍՌՎ«","ՏՐƒՐՑ","©ՑՓ®XՒՔ","©ՓՒՓՔ","ՔՖՕ՗","´[ՖՕՖ՗","՗­՘՚","°Yՙ՛©՚ՙ","՚՛՛՝","՜՞²Z՝՜","՝՞՞¯","՟ՠƎÈՠա","Ŝ¯ա±բդ","գե©դգ","դեեէ","զըĄƒէզ","էըըճ","թի©ժթ","ժիիլ","լծխկ","©ծխծկ","կհհղ","Ąƒձժղյ","ճձճմ","մշյճ","նո©շն","շոոչ","չպպ³","ջռ„ռս","©սֈ¶\\վր","©տվտր","րցցփ","ւք©փւ","փքքօ","օև¶\\ֆտ","և֊ֈֆ","ֈ։։֍","֊ֈ֋֌","©֌֎Ún֍֋","֍֎֎µ","֏֒¸]֐֒","º^֑֏֑֐","֒·֓֔","¼_֔֕©֖֕","N֖֗©֗֘","Ũµ֘¹֚֙","¼_֚»֛֜","ƖÌ֜½֝֞","\\֞֟©֟֠","]֠֡©֡֬","Äc֢֤©֣֢","֣֤֤֥","֥֧֦֨","©֧֦֧֨","֨֩֩֫","Äc֪֣֮֫","֪֭֬֬","֭¿֮֬","ְ֯^ְֱ","©ֱֲĄƒֲÁ","ֳִ_ִֵ","©ֵֶĄƒֶÃ","ַֿĄƒָֺ","©ָֹֹֺ","ֺֻֻֽ\t","ּ־©ּֽ","ֽ־־׀","ֹֿֿ׀","׀Åׁ׃","©ׁׂׂ׃","׃ײׅׄ",";ׅ׆©׆ׇ","Bׇ׈©׈׉","Ũµ׉׋ü׊׌","©׋׊׋׌","׌׍׍׏","׎א©׏׎","׏אאב","בדƆÄגה","©דגדה","הווז","ז׳חט",";טי©יך","dךכ©כל","Cלם©םר","Ũµמנ©ןמ","ןננס","סףעפ","©ףעףפ","פץץק","Ũµצןקת","רצרש","ש׳תר","׫׬;׬׭","©׭׮e׮ׯ","©ׯװŨµװױ","üױ׳ײׄ","ײחײ׫","׳Ç״׵","f׵׶©׶؁","Êf׷׹©׸׷","׸׹׹׺","׺׼׻׽","©׼׻׼׽","׽׾׾؀","Êf׿׸؀؃","؁׿؁؂","؂؅؃؁","؄؆Ún؅؄","؅؆؆É","؇؉Ũµ؈؊","©؉؈؉؊","؊؋؋؍","،؎©؍،","؍؎؎؏","؏ؐÌgؐË","ؑؔÎhؒؔ","Ðiؓؑؓؒ","ؔÍؕؗ","gؘؖ©ؗؖ","ؘؘؗ؜","ؙ؝Òjؚ؝","Ôk؛؝Öl؜ؙ","؜ؚ؜؛","؝Ï؞آ\t","؟أÒjؠأÔ","kءأÖlآ؟","آؠآء","أÑؤإ","إئƖÌئا","ابƖÌبث","ةج–تجź¾","ثةثت","جححخ","خÓدذ","ذرƖÌرش","زص–سصź¾","شزشس","صضضط","طÕظؼ","عؽØmغؽź¾","ػؽؼع","ؼغؼػ","ؽؾؾؿ","ؿ×ـًƊÆ","فك©قف","قككل","لنمه©","نمنه","هوويƊÆ","ىقيٍ","ًىًٌ","ٌÙًٍ","َُjُِ©","ِّĄƒّÛ","ْٝÞpٕٓ©","ٕٔٓٔ","ٕٖٖ٘","ٗٙ©٘ٗ","٘ٙٙٚ","ٜٚÞpٛٔ","ٜٟٝٛ","ٝٞٞÝ","ٟٝ٠٢Ũµ","١٣©٢١","٢٣٣٤","٤٦٥٧©","٦٥٦٧","٧٨٨٩àq","٩٬٪٬àq","٫٠٫٪","٬ß٭ٰļŸ","ٮٰârٯ٭","ٯٮٰá","ٱٸäsٲٴ©","ٳٲٳٴ","ٴٵٵٷæt","ٶٳٷٺ","ٸٶٸٹ","ٹڀٺٸ","ٻټټٽâr","ٽپپڀ","ٿٱٿٻ","ڀãځڃ","ڂڄ©ڃڂ","ڃڄڄډ","څڇŨµچڈ©","ڇچڇڈ","ڈڊډڅ","ډڊڊڏ","ڋڍú~ڌڎ©","ڍڌڍڎ","ڎڐڏڋ","ڏڐڐڕ","ڑړðyڒڔ©","ړڒړڔ","ڔږڕڑ","ڕږږڗ","ڗژژå","ڙڛèuښڜ©","ڛښڛڜ","ڜڝڝڞäs","ڞçڟڡêv","ڠڢ©ڡڠ","ڡڢڢڤ","ڣڥîxڤڣ","ڤڥڥڧ","ڦڨ©ڧڦ","ڧڨڨک","کڪìwڪé","ګڭƐÉڬڮ©","ڭڬڭڮ","ڮگگڰƔË","ڰڳڱڳƔË","ڲګڲڱ","ڳëڴڶƔË","ڵڷ©ڶڵ","ڶڷڷڸ","ڸڹƒÊڹڼ","ںڼƔËڻڴ","ڻںڼí","ڽڿھۀ©","ڿھڿۀ","ۀۅہۃŨµ","ۂۄ©ۃۂ","ۃۄۄۆ","ۅہۅۆ","ۆۋۇۉô{","ۈۊ©ۉۈ","ۉۊۊی","ۋۇۋی","یێۍۏþ€","ێۍێۏ","ۏ۔ېےðy","ۑۓ©ےۑ","ےۓۓە","۔ې۔ە","ەۖۖۗ","ۗïۘۛŬ·","ۙۛź¾ۚۘ","ۚۙۛñ","ۜ۞۝۟©","۞۝۞۟","۟۠۠ۡÂ","ۡó۪ۢö|","ۣۥ©ۣۤ","ۤۥۥۦ","ۦۧۧ۩ø}","ۨۤ۩۬","۪۪ۨ۫","۫õ۪۬","ۭۮۮۯÂ","ۯ÷۰۲","۱۰۱۲","۲۳۳۴Â","۴ù۵ۼü","۶۸©۷۶","۷۸۸۹","۹ۻüۺ۷","ۻ۾ۼۺ","ۼ۽۽û","۾ۼۿ܀","܀܁Ā܁ý","܂܄܃܅©","܄܃܄܅","܅܊܆܈ƊÆ","܇܉©܈܇","܈܉܉܋","܊܆܊܋","܋ܖ܌܎","܍܏©܎܍","܎܏܏ܔ","ܐܒƊÆܑܓ©","ܒܑܒܓ","ܓܕܔܐ","ܔܕܕܗ","ܖ܌ܖܗ","ܗÿܘܙƖÌ","ܙāܚܛƖÌ","ܛăܜܝƄ","ܝąܞܥĈ…","ܟܠ©ܠܡm","ܡܢ©ܢܤĈ…","ܣܟܤܧ","ܥܣܥܦ","ܦćܧܥ","ܨܯĊ†ܩܪ©","ܪܫnܫܬ©","ܬܮĊ†ܭܩ","ܮܱܯܭ","ܯܰܰĉ","ܱܯܹܲȇ","ܴܳ©ܴܵo","ܵܶ©ܸܶȇ","ܷܸܻܳ","ܹܷܹܺ","ܺċܻܹ","ܼܾpܽܿ©","ܾܾܽܿ","ܼܿ݁݀","݄݂݁݀","݂݃݃݅","݄݂݆݅ψ","݆č݇ݎЉ","݈݊©݈݉","݉݊݊݋","݋ݍŌ§݌݉","ݍݐݎ݌","ݎݏݏď","ݐݎݑݤĒŠ","ݒݔ©ݓݒ","ݓݔݔݕ","ݕݗݖݘ©","ݗݖݗݘ","ݘݙݙݣĒŠ","ݚݜ©ݛݚ","ݛݜݜݝ","ݝݟݞݠ©","ݟݞݟݠ","ݠݡݡݣĒŠ","ݢݓݢݛ","ݣݦݤݢ","ݤݥݥđ","ݦݤݧނĔ‹","ݨݪ©ݩݨ","ݩݪݪݫ","ݫݭݬݮ©","ݭݬݭݮ","ݮݯݯށĔ‹","ݰݲ©ݱݰ","ݱݲݲݳ","ݳݵ\bݴݶ©","ݵݴݵݶ","ݶݷݷށĔ‹","ݸݺ©ݹݸ","ݹݺݺݻ","ݻݽݼݾ©","ݽݼݽݾ","ݾݿݿށĔ‹","ހݩހݱ","ހݹށބ","ނހނރ","ރēބނ","ޅސĖŒކވ©","އކއވ","ވމމދ","ފތ©ދފ","ދތތލ","ލޏĖŒގއ","ޏޒސގ","ސޑޑĕ","ޒސޓޕ\t","ޔޖ©ޕޔ","ޕޖޖޘ","ޗޓޘޛ","ޙޗޙޚ","ޚޜޛޙ","ޜޝʍޝė","ޞߔ̎ޟޡ©","ޠޟޠޡ","ޡޢޢޣ","ޣޤĄƒޤޥ","ޥߓަި©","ާަާި","ިީީޫ","ުެĄƒޫު","ޫެެޭ","ޭޯޮްĄƒ","ޯޮޯް","ްޱޱߓ","޲޴©޳޲","޳޴޴޵","޵߃޶޷©","޷߃Y޸޹©","޹޺q޺޻©","޻߃K޼޽©","޽޾r޾޿©","޿߃K߀߁©","߁߃s߂޳","߂޶߂޸","߂޼߂߀","߃߅߄߆©","߅߄߅߆","߆߇߇ߓ̎","߈߉©߉ߊF","ߊߋ©ߋߓt","ߌߍ©ߍߎF","ߎߏ©ߏߐp","ߐߑ©ߑߓt","ߒޠߒާ","ߒ߂ߒ߈","ߒߌߓߖ","ߔߒߔߕ","ߕęߖߔ","ߗߡł¢ߘߚ©","ߙߘߙߚ","ߚߝߛߞŢ²","ߜߞú~ߝߛ","ߝߜߞߠ","ߟߙߠߣ","ߡߟߡߢ","ߢěߣߡ","ߤߦАߥߧ©","ߦߥߦߧ","ߧߨߨߪ","ߩ߫©ߪߩ","ߪ߫߫߬","߬߮Œª߭߯©","߮߭߮߯","߯߰߰߱","߱ĝ߲߳v","߳ğߴ߶Ģ’","ߵ߷©߶ߵ","߶߷߷߸","߸ߺ߹߻©","ߺ߹ߺ߻","߻߼߼߾Ąƒ","߽߿©߾߽","߾߿߿ࠀ","ࠀࠁࠁġ","ࠂࠃHࠃģ","ࠄࠆĦ”ࠅࠇ©","ࠆࠅࠆࠇ","ࠇࠈࠈࠊ","ࠉࠋ©ࠊࠉ","ࠊࠋࠋࠌ","ࠌࠎŒªࠍࠏ©","ࠎࠍࠎࠏ","ࠏࠐࠐࠑ","ࠑĥࠒࠓ?","ࠓħࠔࠖĪ–","ࠕࠗ©ࠖࠕ","ࠖࠗࠗ࠘","࠘ࠚ࠙ࠛ©","ࠚ࠙ࠚࠛ","ࠛࠜࠜࠞŒª","ࠝࠟ©ࠞࠝ","ࠞࠟࠟࠠ","ࠠࠡࠡĩ","ࠢࠣxࠣī","ࠤࠦĮ˜ࠥࠧ©","ࠦࠥࠦࠧ","ࠧࠨࠨࠪ","ࠩࠫ©ࠪࠩ","ࠪࠫࠫࠬ","ࠬ࠮Œª࠭࠯©","࠮࠭࠮࠯","࠯࠰࠰࠱","࠱ĭ࠲࠳y","࠳į࠴࠶IJš","࠵࠷©࠶࠵","࠶࠷࠷࠸","࠸࠺࠹࠻©","࠺࠹࠺࠻","࠻࠼࠼࠾Œª","࠽࠿©࠾࠽","࠾࠿࠿ࡀ","ࡀࡁࡁı","ࡂࡃzࡃij","ࡄࡆĶœࡅࡇ©","ࡆࡅࡆࡇ","ࡇࡈࡈࡊ","ࡉࡋ©ࡊࡉ","ࡊࡋࡋࡌ","ࡌࡕŒªࡍࡏ©","ࡎࡍࡎࡏ","ࡏࡐࡐࡒ","ࡑࡓ©ࡒࡑ","ࡒࡓࡓࡔ","ࡔࡖĄƒࡕࡎ","ࡕࡖࡖࡘ","ࡗ࡙©ࡘࡗ","ࡘ࡙࡙࡚","࡚࡛࡛ĵ","࡜࡝w࡝ķ","࡞ࡠĺž࡟ࡡ©","ࡠ࡟ࡠࡡ","ࡡࡢࡢࡤ","ࡣࡥ©ࡤࡣ","ࡤࡥࡥࡦ","ࡦࡨŨµࡧࡩ©","ࡨࡧࡨࡩ","ࡩࡪࡪ࡬","࡫࡭©࡬࡫","࡬࡭࡭࡮","࡮ࡰĄƒ࡯ࡱ©","ࡰ࡯ࡰࡱ","ࡱࡲࡲࡴ","ࡳࡵ©ࡴࡳ","ࡴࡵࡵࡶ","ࡶࡸŔ«ࡷࡹ©","ࡸࡷࡸࡹ","ࡹࡺࡺࡼ","ࡻࡽ©ࡼࡻ","ࡼࡽࡽࡾ","ࡾࢀĄƒࡿࢁ©","ࢀࡿࢀࢁ","ࢁࢂࢂࢃ","ࢃĹࢄࢅ}","ࢅĻࢆ࢈ľ ","ࢇࢉ©࢈ࢇ","࢈ࢉࢉࢊ","ࢊࢌࢋࢍ©","ࢌࢋࢌࢍ","ࢍࢎࢎ࢐âr","࢏࢑©࢐࢏","࢐࢑࢑࢒","࢒࢓࢓ࢣ","࢔࢖ŀ¡࢕ࢗ©","࢖࢕࢖ࢗ","࢚ࢗ࢘࢘","࢙࢛©࢚࢙","࢚࢛࢛࢜","࢜࢞âr࢝࢟©","࢞࢝࢞࢟","࢟ࢠࢠࢡ","ࢡࢣࢢࢆ","ࢢ࢔ࢣĽ","ࢤࢥkࢥĿ","ࢦࢧlࢧŁ","ࢨࣈń£ࢩࣈź¾","ࢪࣈŤ³ࢫࢭu","ࢬࢮ©ࢭࢬ","ࢭࢮࢮࢯ","ࢯࢱࢰࢲ©","ࢱࢰࢱࢲ","ࢲࢳࢳࢵ","ࢴࢶ©ࢵࢴ","ࢵࢶࢶࢷ","ࢷࣈࢸࣈŞ°","ࢹࣈŠ±ࢺࣈĜ","ࢻࣈĴ›ࢼࣈĸ","ࢽࣈĤ“ࢾࣈĨ•","ࢿࣈĬ—ࣀࣈİ™","ࣁࣈĠ‘ࣂࣈļŸ","ࣃࣈŐ©ࣄࣈŎ¨","ࣅࣈŖ¬ࣆࣈŨµ","ࣇࢨࣇࢩ","ࣇࢪࣇࢫ","ࣇࢸࣇࢹ","ࣇࢺࣇࢻ","ࣇࢼࣇࢽ","ࣇࢾࣇࢿ","ࣇࣀࣇࣁ","ࣇࣂࣇࣃ","ࣇࣄࣇࣅ","ࣇࣆࣈŃ","ࣉ࣑Ū¶࣑࣊ņ¤","࣑࣋ň¥࣑࣌t","࣑࣍Ŭ·࣑࣎Ŋ¦","࣏࣑ٸ࣐ࣉ","࣐࣐࣊࣋","࣐࣐࣌࣍","࣐࣐࣏࣎","࣑Ņ࣒࣓–","࣓Ňࣔࣕ\t","ࣕʼnࣖࣘ","ࣗࣙ©ࣘࣗ","ࣘࣙࣙ࣫","ࣚࣜĄƒࣛࣝ©","ࣜࣛࣜࣝ","ࣝࣨࣞ࣠","ࣟ࣡©࣠ࣟ","࣠࣡࣡࣢","࣢ࣤĄƒࣣࣥ©","ࣣࣤࣤࣥ","ࣦࣥࣧࣞ","ࣦࣧ࣪ࣨ","ࣩࣩࣨ࣬","࣪ࣨ࣫ࣚ","࣭࣫࣬࣬","࣭࣮࣮ŋ","ࣰࣱࣲ࣯©","ࣰࣱࣱࣲ","ࣲࣳࣳओЉ","ࣶࣴࣵࣷ©","ࣶࣶࣵࣷ","ࣷࣸࣸओЉ","ࣹࣺࣻࣼ©","ࣺࣻࣻࣼ","ࣼࣽࣽओЉ","ࣾऀ ࣿँ©","ऀࣿऀँ","ँंंओЉ","ःअ!ऄआ©","अऄअआ","आइइओЉ",'ईऊ"उऋ©',"ऊउऊऋ","ऋऌऌओЉ","ऍए#ऎऐ©","एऎएऐ","ऐऑऑओЉ","ऒ࣯ऒࣴ","ऒࣹऒࣾ","ऒःऒई","ऒऍओō","औखकग©","खकखग","गघघचĄƒ","ङछ©चङ","चछछज","जझझŏ","ञणäsटड©","ठटठड","डढढतæt","णठतथ","थणथद","दőधबŔ«","नप©ऩन","ऩपपफ","फभÚnबऩ","बभभœ","मयŨµयर©","रऱYऱल©","लळĄƒळŕ","ऴशŘ­वष©","शवशष","षससऺ","हऻ©ऺह","ऺऻऻी","़ाZऽि©","ाऽाि","िुी़","ीुु॓","ूॄĄƒृॅ©","ॄृॄॅ","ॅॐॆै","ेॉ©ैे","ैॉॉॊ","ॊौĄƒो्©","ौोौ्","्ॏॎॆ","ॏ॒ॐॎ","ॐ॑॑॔","॒ॐ॓ू","॓॔॔ॕ","ॕॖॖŗ","ॗक़ƎÈक़ख़Ś®","ख़řग़ज़\t","ज़śड़ढ़ƖÌ","ढ़ŝफ़ॠ","य़ॡ©ॠय़","ॠॡॡॢ","ॢ५Œªॣ॥©","।ॣ।॥","॥००२","१३©२१","२३३४","४६Ąƒ५।","५६६८","७९©८७","८९९॰","॰ॱॱş","ॲॴॳॵ©","ॴॳॴॵ","ॵॾॶॸŨµ","ॷॹ©ॸॷ","ॸॹॹॺ","ॺॼॻॽ©","ॼॻॼॽ","ॽॿॾॶ","ॾॿॿঀ","ঀংŐ©ঁঃ©","ংঁংঃ","ঃঌ঄আj","অই©আঅ","আইইঈ","ঈঊĄƒউঋ©","ঊউঊঋ","ঋ঍ঌ঄","ঌ঍঍঎","঎ঐএ঑©","ঐএঐ঑","঑঒঒ঔĄƒ","ওক©ঔও","ঔককখ","খগগš","ঘচ\tঙছ©","চঙচছ","ছজজঝƈÅ","ঝţঞণ~","টড©ঠট","ঠডডঢ","ঢতŦ´ণঠ","তথথণ","থদদ঵","ধ঩~নপ©","঩ন঩প","পফফরĄƒ","বম©ভব","ভমময","য঱Ŧ´রভ","঱ললর","ল঳঳঵","঴ঞ঴ধ","঵াশস©","ষশষস","সহহ঻","঺়©঻঺","঻়়ঽ","ঽিĄƒাষ","ািিু","ীূ©ুী","ুূূৃ","ৃৄ€ৄť","৅ে৆ৈ©","ে৆েৈ","ৈ৉৉োĄƒ","৊ৌ©ো৊","োৌৌ্","্৏‚ৎ৐©","৏ৎ৏৐","৐৑৑৒Ąƒ","৒ŧ৓৔ƖÌ","৔ũ৕৘ƌÇ","৖৘ƊÆৗ৕","ৗ৖৘ū","৙৛৚ড়©","৛৚৛ড়","ড়৮ঢ়য়Ųº","৞ৠ©য়৞","য়ৠৠ৫","ৡৣৢ৤©","ৣৢৣ৤","৤৥৥১Ųº","০২©১০","১২২৪","৩ৡ৪৭","৫৩৫৬","৬৯৭৫","৮ঢ়৮৯","৯ৰৰৱ","ৱŭ৲৴Ũµ","৳৵©৴৳","৴৵৵৶","৶৸৷৹©","৸৷৸৹","৹৻৺ৼŰ¹","৻৺৻ৼ","ৼਇ৽৿©","৾৽৾৿","৿਀਀ਂ","ਁਃ©ਂਁ","ਂਃਃ਄","਄ਆŰ¹ਅ৾","ਆਉਇਅ","ਇਈਈ਋","ਉਇਊ਌©","਋ਊ਋਌","਌਍਍਎","਎ůਏਔŲº","ਐਔŴ»਑ਔŶ¼","਒ਔŸ½ਓਏ","ਓਐਓ਑","ਓ਒ਔű","ਕਗƈÅਖਘ©","ਗਖਗਘ","ਘਙਙਛ","ਚਜ©ਛਚ","ਛਜਜਝ","ਝਞĄƒਞų","ਟਠ\tਠਡŨµ","ਡŵਢਣŨµ","ਣŷਤਥ\t","ਥਦਦŹ","ਧਪż¿ਨਪžÀ","਩ਧ਩ਨ","ਪŻਫਭ","ਬਮ©ਭਬ","ਭਮਮਯ","ਯ਱ƀÁਰਲ©","਱ਰ਱ਲ","ਲਲ਼ਲ਼਴","਴Žਵਸ਼$","ਸ਼਷ƀÁ਷ſ","ਸ਻ƖÌਹ਻š","਺ਸ਺ਹ","਻Ɓ਼ੇƄÃ","਽ਿ©ਾ਽","ਾਿਿੀ","ੀੂੁ੃©","ੂੁੂ੃","੃੄੄੆ƄÃ","੅ਾ੆੉","ੇ੅ੇੈ","ੈƃ੉ੇ","੊੏ł¢ੋ੍©","ੌੋੌ੍","੍੎੎੐Ţ²","੏ੌ੐ੑ","ੑ੏ੑ੒","੒ƅ੓ਫ਼ƈÅ","੔੖©੕੔","੕੖੖੗","੗ਖ਼੘ਗ਼©","ਖ਼੘ਖ਼ਗ਼","ਗ਼ਜ਼ਜ਼੝ƈÅ","ੜ੕੝੠","ਫ਼ੜਫ਼੟","੟Ƈ੠ਫ਼","੡੢ƖÌ੢Ɖ","੣੤\t\b੤Ƌ","੥੦\t\t੦ƍ੧","੨ƖÌ੨੩\t੩","੫੪੧੫","੮੬੪੬","੭੭Ə੮","੬੯ੰ\t\nੰƑ","ੱੲ\t\vੲƓ","ੳੴ\t\fੴƕ","ੵ੺ƘÍ੶੺","¥੷੺¨੸੺","œ੹ੵ੹੶","੹੷੹੸","੺Ɨ੻੼\t","\r੼ƙƦƟƣ","ƨƬƯƴƼDŽǑǕǙǢǧǫ","ǮDZǶǺȁȓȪȲȴȸȽɃ","ɉɍɑɕəɠɣɧɫɱɵɹ","ɽʁʈʋʓʜʡʥʨʯʷʻ","ˁˆˌ˗˛ˡ˥˩ˮ˳˹˾","̘̝̠̰̼̈̌̑ͪͮͲͶ",";΂·΋ΙΝ΢Φάΰξυ","ϋϕϙϟϧϲϸЄЊЖКФ","бейпуцъєћѨѬѴ","ѺѾ҂҇ҌҐҖҚҠҤҪҮ","ҲҶҺҾӃӊӎӓӚӞӢӪ","ӱӴӺӽԂԅԉԌԏԖԚԞ","ԢԥԩԭԲԷԻՀՄՍՓՖ","՚՝դէժծճշտփֈ֍","ֹֽֿׂ֑֣֧֬׋׏דן","ףרײ׸׼؁؅؉؍ؓؗ؜","آثشؼقنًٔ٘ٝ٢٦","٫ٯٳٸٿڃڇډڍڏړڕ","ڛڡڤڧڭڲڶڻڿۃۅۉ","ۋێے۔ۚ۞۪ۤ۱۷ۼ܄","܈܊܎ܒܔܖܥܯܹܾ݂݉","ݎݓݗݛݟݢݤݩݭݱݵݹ","ݽހނއދސޕޙޠާޫޯ","޳߂߅ߒߔߙߝߡߦߪ߮߶","ߺ߾ࠆࠊࠎࠖࠚࠞࠦࠪ࠮࠶","࠺࠾ࡆࡊࡎࡒࡕࡘࡠࡤࡨ࡬","ࡰࡴࡸࡼࢀ࢈ࢌ࢐࢖࢚࢞ࢢ","ࢭࢱࢵࣇࣱ࣐ࣘࣜ࣠ࣤࣨ࣫","ࣶࣻऀअऊएऒखचठथऩ","बशऺाीॄैौॐ॓ॠ।","२५८ॴॸॼॾংআঊঌঐ","ঔচঠথ঩ভল঴ষ঻াু","েো৏ৗ৛য়ৣ১৫৮৴৸","৻৾ਂਇ਋ਓਗਛ਩ਭ਱਺","ਾੂੇੌੑ੕ਖ਼ਫ਼੬੹"].join(""),a=(new r.atn.ATNDeserializer).deserialize(o),s=a.decisionToState.map((function(e,t){return new r.dfa.DFA(e,t)})),l=new r.PredictionContextCache,c=[null,"';'","':'","'-'","'=>'","'://'","'/'","'.'","'@'","'#'","'?'","'&'","'='","'+'","'{'","','","'}'","'['","']'","'('","')'","'+='","'|'","'*'","'..'","'%'","'^'","'=~'","'<>'","'!='","'<'","'>'","'<='","'>='","'$'","'⟨'","'〈'","'﹤'","'<'","'⟩'","'〉'","'﹥'","'>'","'­'","'‐'","'‑'","'‒'","'–'","'—'","'―'","'−'","'﹘'","'﹣'","'-'",null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"'0'"],u=[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"CYPHER","EXPLAIN","PROFILE","USING","PERIODIC","COMMIT","UNION","ALL","CREATE","DROP","INDEX","ON","CONSTRAINT","ASSERT","IS","UNIQUE","EXISTS","LOAD","CSV","WITH","HEADERS","FROM","AS","FIELDTERMINATOR","OPTIONAL","MATCH","UNWIND","MERGE","SET","DETACH","DELETE","REMOVE","FOREACH","IN","DISTINCT","RETURN","ORDER","BY","L_SKIP","LIMIT","ASCENDING","ASC","DESCENDING","DESC","JOIN","SCAN","START","NODE","RELATIONSHIP","REL","WHERE","SHORTESTPATH","ALLSHORTESTPATHS","OR","XOR","AND","NOT","STARTS","ENDS","CONTAINS","NULL","COUNT","FILTER","EXTRACT","ANY","NONE","SINGLE","TRUE","FALSE","REDUCE","CASE","ELSE","END","WHEN","THEN","CALL","YIELD","KEY","BTREE","EXIST","FOR","OPTIONS","EXECUTE","DEFINED","FUNCTION","FUNCTIONS","BOOSTED","PROCEDURE","PROCEDURES","ADMIN","ADMINISTRATOR","BRIEF","VERBOSE","OUTPUT","StringLiteral","UrlHex","EscapedChar","HexInteger","DecimalInteger","OctalInteger","HexLetter","HexDigit","Digit","NonZeroDigit","NonZeroOctDigit","OctDigit","ZeroDigit","ExponentDecimalReal","RegularDecimalReal","UnescapedSymbolicName","IdentifierStart","IdentifierPart","EscapedSymbolicName","SP","WHITESPACE","Comment","ERROR_TOKEN"],h=["cypher","cypherPart","cypherConsoleCommand","cypherConsoleCommandName","cypherConsoleCommandParameters","cypherConsoleCommandParameter","arrowExpression","url","uri","scheme","host","hostname","hostnumber","port","path","user","login","password","frag","urlQuery","search","searchparameter","string","urlDigits","json","obj","pair","array","value","keyValueLiteral","commandPath","subCommand","cypherQuery","queryOptions","anyCypherOption","cypherOption","versionNumber","explain","profile","configurationOption","statement","query","regularQuery","bulkImportQuery","singleQuery","periodicCommitHint","loadCSVQuery","union","clause","command","createUniqueConstraint","createNodeKeyConstraint","createNodePropertyExistenceConstraint","createRelationshipPropertyExistenceConstraint","createIndex","dropUniqueConstraint","dropNodeKeyConstraint","dropNodePropertyExistenceConstraint","dropRelationshipPropertyExistenceConstraint","dropIndex","index","uniqueConstraint","nodeKeyConstraint","nodePropertyExistenceConstraint","relationshipPropertyExistenceConstraint","relationshipPatternSyntax","loadCSVClause","matchClause","unwindClause","mergeClause","mergeAction","createClause","createUniqueClause","setClause","setItem","deleteClause","removeClause","removeItem","foreachClause","withClause","returnClause","returnBody","func","returnItems","returnItem","call","procedureInvocation","procedureInvocationBody","procedureArguments","procedureResults","procedureResult","aliasedProcedureResult","simpleProcedureResult","procedureOutput","order","skip","limit","sortItem","hint","startClause","startPoint","lookup","nodeLookup","relationshipLookup","identifiedIndexLookup","indexQuery","idLookup","literalIds","where","pattern","patternPart","anonymousPatternPart","patternElement","nodePattern","patternElementChain","relationshipPattern","relationshipPatternStart","relationshipPatternEnd","relationshipDetail","properties","relType","relationshipTypes","relationshipType","relationshipTypeOptionalColon","nodeLabels","nodeLabel","rangeLiteral","labelName","relTypeName","expression","orExpression","xorExpression","andExpression","notExpression","comparisonExpression","addOrSubtractExpression","multiplyDivideModuloExpression","powerOfExpression","unaryAddOrSubtractExpression","stringListNullOperatorExpression","propertyOrLabelsExpression","filterFunction","filterFunctionName","existsFunction","existsFunctionName","allFunction","allFunctionName","anyFunction","anyFunctionName","noneFunction","noneFunctionName","singleFunction","singleFunctionName","extractFunction","extractFunctionName","reduceFunction","reduceFunctionName","shortestPathPatternFunction","shortestPathFunctionName","allShortestPathFunctionName","atom","literal","stringLiteral","booleanLiteral","listLiteral","partialComparisonExpression","parenthesizedExpression","relationshipsPattern","filterExpression","idInColl","functionInvocation","functionInvocationBody","functionName","procedureName","listComprehension","patternComprehension","propertyLookup","caseExpression","caseAlternatives","variable","numberLiteral","mapLiteral","mapProjection","mapProjectionVariants","literalEntry","propertySelector","variableSelector","allPropertiesSelector","parameter","legacyParameter","newParameter","parameterName","propertyExpressions","propertyExpression","propertyKeys","propertyKeyName","integerLiteral","doubleLiteral","namespace","leftArrowHead","rightArrowHead","dash","symbolicName","keyword"];function p(e){return r.Parser.call(this,e),this._interp=new r.atn.ParserATNSimulator(this,a,s,l),this.ruleNames=h,this.literalNames=c,this.symbolicNames=u,this}function d(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_cypher,this}function f(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_cypherPart,this}function m(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_cypherConsoleCommand,this}function g(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_cypherConsoleCommandName,this}function y(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_cypherConsoleCommandParameters,this}function v(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_cypherConsoleCommandParameter,this}function _(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_arrowExpression,this}function b(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_url,this}function E(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_uri,this}function T(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_scheme,this}function x(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_host,this}function S(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_hostname,this}function C(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_hostnumber,this}function A(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_port,this}function R(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_path,this}function w(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_user,this}function L(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_login,this}function O(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_password,this}function N(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_frag,this}function I(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_urlQuery,this}function k(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_search,this}function D(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_searchparameter,this}function P(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_string,this}function M(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_urlDigits,this}function F(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_json,this}function H(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_obj,this}function B(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_pair,this}function U(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_array,this}function j(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_value,this}function G(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_keyValueLiteral,this}function Y(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_commandPath,this}function z(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_subCommand,this}function $(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_cypherQuery,this}function W(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_queryOptions,this}function V(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_anyCypherOption,this}function K(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_cypherOption,this}function q(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_versionNumber,this}function X(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_explain,this}function Z(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_profile,this}function Q(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_configurationOption,this}function J(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_statement,this}function ee(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_query,this}function te(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_regularQuery,this}function ne(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_bulkImportQuery,this}function re(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_singleQuery,this}function ie(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_periodicCommitHint,this}function oe(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_loadCSVQuery,this}function ae(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_union,this}function se(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_clause,this}function le(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_command,this}function ce(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_createUniqueConstraint,this}function ue(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_createNodeKeyConstraint,this}function he(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_createNodePropertyExistenceConstraint,this}function pe(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_createRelationshipPropertyExistenceConstraint,this}function de(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_createIndex,this}function fe(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_dropUniqueConstraint,this}function me(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_dropNodeKeyConstraint,this}function ge(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_dropNodePropertyExistenceConstraint,this}function ye(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_dropRelationshipPropertyExistenceConstraint,this}function ve(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_dropIndex,this}function _e(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_index,this}function be(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_uniqueConstraint,this}function Ee(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_nodeKeyConstraint,this}function Te(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_nodePropertyExistenceConstraint,this}function xe(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_relationshipPropertyExistenceConstraint,this}function Se(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_relationshipPatternSyntax,this}function Ce(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_loadCSVClause,this}function Ae(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_matchClause,this}function Re(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_unwindClause,this}function we(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_mergeClause,this}function Le(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_mergeAction,this}function Oe(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_createClause,this}function Ne(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_createUniqueClause,this}function Ie(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_setClause,this}function ke(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_setItem,this}function De(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_deleteClause,this}function Pe(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_removeClause,this}function Me(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_removeItem,this}function Fe(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_foreachClause,this}function He(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_withClause,this}function Be(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_returnClause,this}function Ue(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_returnBody,this}function je(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_func,this}function Ge(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_returnItems,this}function Ye(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_returnItem,this}function ze(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_call,this}function $e(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_procedureInvocation,this}function We(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_procedureInvocationBody,this}function Ve(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_procedureArguments,this}function Ke(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_procedureResults,this}function qe(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_procedureResult,this}function Xe(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_aliasedProcedureResult,this}function Ze(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_simpleProcedureResult,this}function Qe(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_procedureOutput,this}function Je(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_order,this}function et(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_skip,this}function tt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_limit,this}function nt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_sortItem,this}function rt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_hint,this}function it(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_startClause,this}function ot(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_startPoint,this}function at(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_lookup,this}function st(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_nodeLookup,this}function lt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_relationshipLookup,this}function ct(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_identifiedIndexLookup,this}function ut(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_indexQuery,this}function ht(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_idLookup,this}function pt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_literalIds,this}function dt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_where,this}function ft(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_pattern,this}function mt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_patternPart,this}function gt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_anonymousPatternPart,this}function yt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_patternElement,this}function vt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_nodePattern,this}function _t(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_patternElementChain,this}function bt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_relationshipPattern,this}function Et(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_relationshipPatternStart,this}function Tt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_relationshipPatternEnd,this}function xt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_relationshipDetail,this}function St(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_properties,this}function Ct(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_relType,this}function At(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_relationshipTypes,this}function Rt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_relationshipType,this}function wt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_relationshipTypeOptionalColon,this}function Lt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_nodeLabels,this}function Ot(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_nodeLabel,this}function Nt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_rangeLiteral,this}function It(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_labelName,this}function kt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_relTypeName,this}function Dt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_expression,this}function Pt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_orExpression,this}function Mt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_xorExpression,this}function Ft(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_andExpression,this}function Ht(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_notExpression,this}function Bt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_comparisonExpression,this}function Ut(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_addOrSubtractExpression,this}function jt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_multiplyDivideModuloExpression,this}function Gt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_powerOfExpression,this}function Yt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_unaryAddOrSubtractExpression,this}function zt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_stringListNullOperatorExpression,this}function $t(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_propertyOrLabelsExpression,this}function Wt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_filterFunction,this}function Vt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_filterFunctionName,this}function Kt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_existsFunction,this}function qt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_existsFunctionName,this}function Xt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_allFunction,this}function Zt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_allFunctionName,this}function Qt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_anyFunction,this}function Jt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_anyFunctionName,this}function en(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_noneFunction,this}function tn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_noneFunctionName,this}function nn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_singleFunction,this}function rn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_singleFunctionName,this}function on(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_extractFunction,this}function an(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_extractFunctionName,this}function sn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_reduceFunction,this}function ln(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_reduceFunctionName,this}function cn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_shortestPathPatternFunction,this}function un(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_shortestPathFunctionName,this}function hn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_allShortestPathFunctionName,this}function pn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_atom,this}function dn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_literal,this}function fn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_stringLiteral,this}function mn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_booleanLiteral,this}function gn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_listLiteral,this}function yn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_partialComparisonExpression,this}function vn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_parenthesizedExpression,this}function _n(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_relationshipsPattern,this}function bn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_filterExpression,this}function En(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_idInColl,this}function Tn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_functionInvocation,this}function xn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_functionInvocationBody,this}function Sn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_functionName,this}function Cn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_procedureName,this}function An(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_listComprehension,this}function Rn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_patternComprehension,this}function wn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_propertyLookup,this}function Ln(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_caseExpression,this}function On(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_caseAlternatives,this}function Nn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_variable,this}function In(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_numberLiteral,this}function kn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_mapLiteral,this}function Dn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_mapProjection,this}function Pn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_mapProjectionVariants,this}function Mn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_literalEntry,this}function Fn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_propertySelector,this}function Hn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_variableSelector,this}function Bn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_allPropertiesSelector,this}function Un(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_parameter,this}function jn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_legacyParameter,this}function Gn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_newParameter,this}function Yn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_parameterName,this}function zn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_propertyExpressions,this}function $n(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_propertyExpression,this}function Wn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_propertyKeys,this}function Vn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_propertyKeyName,this}function Kn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_integerLiteral,this}function qn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_doubleLiteral,this}function Xn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_namespace,this}function Zn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_leftArrowHead,this}function Qn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_rightArrowHead,this}function Jn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_dash,this}function er(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_symbolicName,this}function tr(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_keyword,this}p.prototype=Object.create(r.Parser.prototype),p.prototype.constructor=p,Object.defineProperty(p.prototype,"atn",{get:function(){return a}}),p.EOF=r.Token.EOF,p.T__0=1,p.T__1=2,p.T__2=3,p.T__3=4,p.T__4=5,p.T__5=6,p.T__6=7,p.T__7=8,p.T__8=9,p.T__9=10,p.T__10=11,p.T__11=12,p.T__12=13,p.T__13=14,p.T__14=15,p.T__15=16,p.T__16=17,p.T__17=18,p.T__18=19,p.T__19=20,p.T__20=21,p.T__21=22,p.T__22=23,p.T__23=24,p.T__24=25,p.T__25=26,p.T__26=27,p.T__27=28,p.T__28=29,p.T__29=30,p.T__30=31,p.T__31=32,p.T__32=33,p.T__33=34,p.T__34=35,p.T__35=36,p.T__36=37,p.T__37=38,p.T__38=39,p.T__39=40,p.T__40=41,p.T__41=42,p.T__42=43,p.T__43=44,p.T__44=45,p.T__45=46,p.T__46=47,p.T__47=48,p.T__48=49,p.T__49=50,p.T__50=51,p.T__51=52,p.T__52=53,p.CYPHER=54,p.EXPLAIN=55,p.PROFILE=56,p.USING=57,p.PERIODIC=58,p.COMMIT=59,p.UNION=60,p.ALL=61,p.CREATE=62,p.DROP=63,p.INDEX=64,p.ON=65,p.CONSTRAINT=66,p.ASSERT=67,p.IS=68,p.UNIQUE=69,p.EXISTS=70,p.LOAD=71,p.CSV=72,p.WITH=73,p.HEADERS=74,p.FROM=75,p.AS=76,p.FIELDTERMINATOR=77,p.OPTIONAL=78,p.MATCH=79,p.UNWIND=80,p.MERGE=81,p.SET=82,p.DETACH=83,p.DELETE=84,p.REMOVE=85,p.FOREACH=86,p.IN=87,p.DISTINCT=88,p.RETURN=89,p.ORDER=90,p.BY=91,p.L_SKIP=92,p.LIMIT=93,p.ASCENDING=94,p.ASC=95,p.DESCENDING=96,p.DESC=97,p.JOIN=98,p.SCAN=99,p.START=100,p.NODE=101,p.RELATIONSHIP=102,p.REL=103,p.WHERE=104,p.SHORTESTPATH=105,p.ALLSHORTESTPATHS=106,p.OR=107,p.XOR=108,p.AND=109,p.NOT=110,p.STARTS=111,p.ENDS=112,p.CONTAINS=113,p.NULL=114,p.COUNT=115,p.FILTER=116,p.EXTRACT=117,p.ANY=118,p.NONE=119,p.SINGLE=120,p.TRUE=121,p.FALSE=122,p.REDUCE=123,p.CASE=124,p.ELSE=125,p.END=126,p.WHEN=127,p.THEN=128,p.CALL=129,p.YIELD=130,p.KEY=131,p.BTREE=132,p.EXIST=133,p.FOR=134,p.OPTIONS=135,p.EXECUTE=136,p.DEFINED=137,p.FUNCTION=138,p.FUNCTIONS=139,p.BOOSTED=140,p.PROCEDURE=141,p.PROCEDURES=142,p.ADMIN=143,p.ADMINISTRATOR=144,p.BRIEF=145,p.VERBOSE=146,p.OUTPUT=147,p.StringLiteral=148,p.UrlHex=149,p.EscapedChar=150,p.HexInteger=151,p.DecimalInteger=152,p.OctalInteger=153,p.HexLetter=154,p.HexDigit=155,p.Digit=156,p.NonZeroDigit=157,p.NonZeroOctDigit=158,p.OctDigit=159,p.ZeroDigit=160,p.ExponentDecimalReal=161,p.RegularDecimalReal=162,p.UnescapedSymbolicName=163,p.IdentifierStart=164,p.IdentifierPart=165,p.EscapedSymbolicName=166,p.SP=167,p.WHITESPACE=168,p.Comment=169,p.ERROR_TOKEN=170,p.RULE_cypher=0,p.RULE_cypherPart=1,p.RULE_cypherConsoleCommand=2,p.RULE_cypherConsoleCommandName=3,p.RULE_cypherConsoleCommandParameters=4,p.RULE_cypherConsoleCommandParameter=5,p.RULE_arrowExpression=6,p.RULE_url=7,p.RULE_uri=8,p.RULE_scheme=9,p.RULE_host=10,p.RULE_hostname=11,p.RULE_hostnumber=12,p.RULE_port=13,p.RULE_path=14,p.RULE_user=15,p.RULE_login=16,p.RULE_password=17,p.RULE_frag=18,p.RULE_urlQuery=19,p.RULE_search=20,p.RULE_searchparameter=21,p.RULE_string=22,p.RULE_urlDigits=23,p.RULE_json=24,p.RULE_obj=25,p.RULE_pair=26,p.RULE_array=27,p.RULE_value=28,p.RULE_keyValueLiteral=29,p.RULE_commandPath=30,p.RULE_subCommand=31,p.RULE_cypherQuery=32,p.RULE_queryOptions=33,p.RULE_anyCypherOption=34,p.RULE_cypherOption=35,p.RULE_versionNumber=36,p.RULE_explain=37,p.RULE_profile=38,p.RULE_configurationOption=39,p.RULE_statement=40,p.RULE_query=41,p.RULE_regularQuery=42,p.RULE_bulkImportQuery=43,p.RULE_singleQuery=44,p.RULE_periodicCommitHint=45,p.RULE_loadCSVQuery=46,p.RULE_union=47,p.RULE_clause=48,p.RULE_command=49,p.RULE_createUniqueConstraint=50,p.RULE_createNodeKeyConstraint=51,p.RULE_createNodePropertyExistenceConstraint=52,p.RULE_createRelationshipPropertyExistenceConstraint=53,p.RULE_createIndex=54,p.RULE_dropUniqueConstraint=55,p.RULE_dropNodeKeyConstraint=56,p.RULE_dropNodePropertyExistenceConstraint=57,p.RULE_dropRelationshipPropertyExistenceConstraint=58,p.RULE_dropIndex=59,p.RULE_index=60,p.RULE_uniqueConstraint=61,p.RULE_nodeKeyConstraint=62,p.RULE_nodePropertyExistenceConstraint=63,p.RULE_relationshipPropertyExistenceConstraint=64,p.RULE_relationshipPatternSyntax=65,p.RULE_loadCSVClause=66,p.RULE_matchClause=67,p.RULE_unwindClause=68,p.RULE_mergeClause=69,p.RULE_mergeAction=70,p.RULE_createClause=71,p.RULE_createUniqueClause=72,p.RULE_setClause=73,p.RULE_setItem=74,p.RULE_deleteClause=75,p.RULE_removeClause=76,p.RULE_removeItem=77,p.RULE_foreachClause=78,p.RULE_withClause=79,p.RULE_returnClause=80,p.RULE_returnBody=81,p.RULE_func=82,p.RULE_returnItems=83,p.RULE_returnItem=84,p.RULE_call=85,p.RULE_procedureInvocation=86,p.RULE_procedureInvocationBody=87,p.RULE_procedureArguments=88,p.RULE_procedureResults=89,p.RULE_procedureResult=90,p.RULE_aliasedProcedureResult=91,p.RULE_simpleProcedureResult=92,p.RULE_procedureOutput=93,p.RULE_order=94,p.RULE_skip=95,p.RULE_limit=96,p.RULE_sortItem=97,p.RULE_hint=98,p.RULE_startClause=99,p.RULE_startPoint=100,p.RULE_lookup=101,p.RULE_nodeLookup=102,p.RULE_relationshipLookup=103,p.RULE_identifiedIndexLookup=104,p.RULE_indexQuery=105,p.RULE_idLookup=106,p.RULE_literalIds=107,p.RULE_where=108,p.RULE_pattern=109,p.RULE_patternPart=110,p.RULE_anonymousPatternPart=111,p.RULE_patternElement=112,p.RULE_nodePattern=113,p.RULE_patternElementChain=114,p.RULE_relationshipPattern=115,p.RULE_relationshipPatternStart=116,p.RULE_relationshipPatternEnd=117,p.RULE_relationshipDetail=118,p.RULE_properties=119,p.RULE_relType=120,p.RULE_relationshipTypes=121,p.RULE_relationshipType=122,p.RULE_relationshipTypeOptionalColon=123,p.RULE_nodeLabels=124,p.RULE_nodeLabel=125,p.RULE_rangeLiteral=126,p.RULE_labelName=127,p.RULE_relTypeName=128,p.RULE_expression=129,p.RULE_orExpression=130,p.RULE_xorExpression=131,p.RULE_andExpression=132,p.RULE_notExpression=133,p.RULE_comparisonExpression=134,p.RULE_addOrSubtractExpression=135,p.RULE_multiplyDivideModuloExpression=136,p.RULE_powerOfExpression=137,p.RULE_unaryAddOrSubtractExpression=138,p.RULE_stringListNullOperatorExpression=139,p.RULE_propertyOrLabelsExpression=140,p.RULE_filterFunction=141,p.RULE_filterFunctionName=142,p.RULE_existsFunction=143,p.RULE_existsFunctionName=144,p.RULE_allFunction=145,p.RULE_allFunctionName=146,p.RULE_anyFunction=147,p.RULE_anyFunctionName=148,p.RULE_noneFunction=149,p.RULE_noneFunctionName=150,p.RULE_singleFunction=151,p.RULE_singleFunctionName=152,p.RULE_extractFunction=153,p.RULE_extractFunctionName=154,p.RULE_reduceFunction=155,p.RULE_reduceFunctionName=156,p.RULE_shortestPathPatternFunction=157,p.RULE_shortestPathFunctionName=158,p.RULE_allShortestPathFunctionName=159,p.RULE_atom=160,p.RULE_literal=161,p.RULE_stringLiteral=162,p.RULE_booleanLiteral=163,p.RULE_listLiteral=164,p.RULE_partialComparisonExpression=165,p.RULE_parenthesizedExpression=166,p.RULE_relationshipsPattern=167,p.RULE_filterExpression=168,p.RULE_idInColl=169,p.RULE_functionInvocation=170,p.RULE_functionInvocationBody=171,p.RULE_functionName=172,p.RULE_procedureName=173,p.RULE_listComprehension=174,p.RULE_patternComprehension=175,p.RULE_propertyLookup=176,p.RULE_caseExpression=177,p.RULE_caseAlternatives=178,p.RULE_variable=179,p.RULE_numberLiteral=180,p.RULE_mapLiteral=181,p.RULE_mapProjection=182,p.RULE_mapProjectionVariants=183,p.RULE_literalEntry=184,p.RULE_propertySelector=185,p.RULE_variableSelector=186,p.RULE_allPropertiesSelector=187,p.RULE_parameter=188,p.RULE_legacyParameter=189,p.RULE_newParameter=190,p.RULE_parameterName=191,p.RULE_propertyExpressions=192,p.RULE_propertyExpression=193,p.RULE_propertyKeys=194,p.RULE_propertyKeyName=195,p.RULE_integerLiteral=196,p.RULE_doubleLiteral=197,p.RULE_namespace=198,p.RULE_leftArrowHead=199,p.RULE_rightArrowHead=200,p.RULE_dash=201,p.RULE_symbolicName=202,p.RULE_keyword=203,d.prototype=Object.create(r.ParserRuleContext.prototype),d.prototype.constructor=d,d.prototype.cypherPart=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(f):this.getTypedRuleContext(f,e)},d.prototype.EOF=function(){return this.getToken(p.EOF,0)},d.prototype.enterRule=function(e){e instanceof i&&e.enterCypher(this)},d.prototype.exitRule=function(e){e instanceof i&&e.exitCypher(this)},p.CypherContext=d,p.prototype.cypher=function(){var e=new d(this,this._ctx,this.state);this.enterRule(e,0,p.RULE_cypher);try{this.enterOuterAlt(e,1),this.state=408,this.cypherPart(),this.state=413,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,0,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=409,this.match(p.T__0),this.state=410,this.cypherPart()),this.state=415,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,0,this._ctx);this.state=417,this._errHandler.sync(this),this._input.LA(1)===p.T__0&&(this.state=416,this.match(p.T__0)),this.state=419,this.match(p.EOF)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},f.prototype=Object.create(r.ParserRuleContext.prototype),f.prototype.constructor=f,f.prototype.cypherQuery=function(){return this.getTypedRuleContext($,0)},f.prototype.cypherConsoleCommand=function(){return this.getTypedRuleContext(m,0)},f.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},f.prototype.enterRule=function(e){e instanceof i&&e.enterCypherPart(this)},f.prototype.exitRule=function(e){e instanceof i&&e.exitCypherPart(this)},p.CypherPartContext=f,p.prototype.cypherPart=function(){var e=new f(this,this._ctx,this.state);this.enterRule(e,2,p.RULE_cypherPart);try{switch(this.enterOuterAlt(e,1),this.state=422,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=421,this.match(p.SP)),this.state=426,this._errHandler.sync(this),this._input.LA(1)){case p.CYPHER:case p.EXPLAIN:case p.PROFILE:case p.USING:case p.CREATE:case p.DROP:case p.LOAD:case p.WITH:case p.OPTIONAL:case p.MATCH:case p.UNWIND:case p.MERGE:case p.SET:case p.DETACH:case p.DELETE:case p.REMOVE:case p.FOREACH:case p.RETURN:case p.START:case p.CALL:this.state=424,this.cypherQuery();break;case p.T__1:this.state=425,this.cypherConsoleCommand();break;default:throw new r.error.NoViableAltException(this)}this.state=429,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=428,this.match(p.SP))}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},m.prototype=Object.create(r.ParserRuleContext.prototype),m.prototype.constructor=m,m.prototype.cypherConsoleCommandName=function(){return this.getTypedRuleContext(g,0)},m.prototype.SP=function(){return this.getToken(p.SP,0)},m.prototype.cypherConsoleCommandParameters=function(){return this.getTypedRuleContext(y,0)},m.prototype.enterRule=function(e){e instanceof i&&e.enterCypherConsoleCommand(this)},m.prototype.exitRule=function(e){e instanceof i&&e.exitCypherConsoleCommand(this)},p.CypherConsoleCommandContext=m,p.prototype.cypherConsoleCommand=function(){var e=new m(this,this._ctx,this.state);this.enterRule(e,4,p.RULE_cypherConsoleCommand);try{this.enterOuterAlt(e,1),this.state=431,this.cypherConsoleCommandName(),this.state=434,this._errHandler.sync(this),1===this._interp.adaptivePredict(this._input,5,this._ctx)&&(this.state=432,this.match(p.SP),this.state=433,this.cypherConsoleCommandParameters())}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},g.prototype=Object.create(r.ParserRuleContext.prototype),g.prototype.constructor=g,g.prototype.symbolicName=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(er):this.getTypedRuleContext(er,e)},g.prototype.enterRule=function(e){e instanceof i&&e.enterCypherConsoleCommandName(this)},g.prototype.exitRule=function(e){e instanceof i&&e.exitCypherConsoleCommandName(this)},p.CypherConsoleCommandNameContext=g,p.prototype.cypherConsoleCommandName=function(){var e=new g(this,this._ctx,this.state);this.enterRule(e,6,p.RULE_cypherConsoleCommandName);var t=0;try{for(this.enterOuterAlt(e,1),this.state=436,this.match(p.T__1),this.state=437,this.symbolicName(),this.state=442,this._errHandler.sync(this),t=this._input.LA(1);t===p.T__2;)this.state=438,this.match(p.T__2),this.state=439,this.symbolicName(),this.state=444,this._errHandler.sync(this),t=this._input.LA(1)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},y.prototype=Object.create(r.ParserRuleContext.prototype),y.prototype.constructor=y,y.prototype.cypherConsoleCommandParameter=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(v):this.getTypedRuleContext(v,e)},y.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},y.prototype.enterRule=function(e){e instanceof i&&e.enterCypherConsoleCommandParameters(this)},y.prototype.exitRule=function(e){e instanceof i&&e.exitCypherConsoleCommandParameters(this)},p.CypherConsoleCommandParametersContext=y,p.prototype.cypherConsoleCommandParameters=function(){var e=new y(this,this._ctx,this.state);this.enterRule(e,8,p.RULE_cypherConsoleCommandParameters);try{this.enterOuterAlt(e,1),this.state=445,this.cypherConsoleCommandParameter(),this.state=450,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,7,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=446,this.match(p.SP),this.state=447,this.cypherConsoleCommandParameter()),this.state=452,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,7,this._ctx)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},v.prototype=Object.create(r.ParserRuleContext.prototype),v.prototype.constructor=v,v.prototype.url=function(){return this.getTypedRuleContext(b,0)},v.prototype.json=function(){return this.getTypedRuleContext(F,0)},v.prototype.arrowExpression=function(){return this.getTypedRuleContext(_,0)},v.prototype.mapLiteral=function(){return this.getTypedRuleContext(kn,0)},v.prototype.keyValueLiteral=function(){return this.getTypedRuleContext(G,0)},v.prototype.stringLiteral=function(){return this.getTypedRuleContext(fn,0)},v.prototype.numberLiteral=function(){return this.getTypedRuleContext(In,0)},v.prototype.booleanLiteral=function(){return this.getTypedRuleContext(mn,0)},v.prototype.subCommand=function(){return this.getTypedRuleContext(z,0)},v.prototype.commandPath=function(){return this.getTypedRuleContext(Y,0)},v.prototype.enterRule=function(e){e instanceof i&&e.enterCypherConsoleCommandParameter(this)},v.prototype.exitRule=function(e){e instanceof i&&e.exitCypherConsoleCommandParameter(this)},p.CypherConsoleCommandParameterContext=v,p.prototype.cypherConsoleCommandParameter=function(){var e=new v(this,this._ctx,this.state);this.enterRule(e,10,p.RULE_cypherConsoleCommandParameter);try{switch(this.state=463,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,8,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=453,this.url();break;case 2:this.enterOuterAlt(e,2),this.state=454,this.json();break;case 3:this.enterOuterAlt(e,3),this.state=455,this.arrowExpression();break;case 4:this.enterOuterAlt(e,4),this.state=456,this.mapLiteral();break;case 5:this.enterOuterAlt(e,5),this.state=457,this.keyValueLiteral();break;case 6:this.enterOuterAlt(e,6),this.state=458,this.stringLiteral();break;case 7:this.enterOuterAlt(e,7),this.state=459,this.numberLiteral();break;case 8:this.enterOuterAlt(e,8),this.state=460,this.booleanLiteral();break;case 9:this.enterOuterAlt(e,9),this.state=461,this.subCommand();break;case 10:this.enterOuterAlt(e,10),this.state=462,this.commandPath()}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},_.prototype=Object.create(r.ParserRuleContext.prototype),_.prototype.constructor=_,_.prototype.symbolicName=function(){return this.getTypedRuleContext(er,0)},_.prototype.expression=function(){return this.getTypedRuleContext(Dt,0)},_.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},_.prototype.enterRule=function(e){e instanceof i&&e.enterArrowExpression(this)},_.prototype.exitRule=function(e){e instanceof i&&e.exitArrowExpression(this)},p.ArrowExpressionContext=_,p.prototype.arrowExpression=function(){var e=new _(this,this._ctx,this.state);this.enterRule(e,12,p.RULE_arrowExpression);try{this.enterOuterAlt(e,1),this.state=465,this.symbolicName(),this.state=467,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=466,this.match(p.SP)),this.state=469,this.match(p.T__3),this.state=471,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=470,this.match(p.SP)),this.state=473,this.expression()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},b.prototype=Object.create(r.ParserRuleContext.prototype),b.prototype.constructor=b,b.prototype.uri=function(){return this.getTypedRuleContext(E,0)},b.prototype.enterRule=function(e){e instanceof i&&e.enterUrl(this)},b.prototype.exitRule=function(e){e instanceof i&&e.exitUrl(this)},p.UrlContext=b,p.prototype.url=function(){var e=new b(this,this._ctx,this.state);this.enterRule(e,14,p.RULE_url);try{this.enterOuterAlt(e,1),this.state=475,this.uri()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},E.prototype=Object.create(r.ParserRuleContext.prototype),E.prototype.constructor=E,E.prototype.scheme=function(){return this.getTypedRuleContext(T,0)},E.prototype.host=function(){return this.getTypedRuleContext(x,0)},E.prototype.login=function(){return this.getTypedRuleContext(L,0)},E.prototype.port=function(){return this.getTypedRuleContext(A,0)},E.prototype.path=function(){return this.getTypedRuleContext(R,0)},E.prototype.urlQuery=function(){return this.getTypedRuleContext(I,0)},E.prototype.frag=function(){return this.getTypedRuleContext(N,0)},E.prototype.enterRule=function(e){e instanceof i&&e.enterUri(this)},E.prototype.exitRule=function(e){e instanceof i&&e.exitUri(this)},p.UriContext=E,p.prototype.uri=function(){var e=new E(this,this._ctx,this.state);this.enterRule(e,16,p.RULE_uri);try{this.enterOuterAlt(e,1),this.state=477,this.scheme(),this.state=478,this.match(p.T__4),this.state=480,this._errHandler.sync(this),1===this._interp.adaptivePredict(this._input,11,this._ctx)&&(this.state=479,this.login()),this.state=482,this.host(),this.state=485,this._errHandler.sync(this),this._input.LA(1)===p.T__1&&(this.state=483,this.match(p.T__1),this.state=484,this.port()),this.state=489,this._errHandler.sync(this),this._input.LA(1)===p.T__5&&(this.state=487,this.match(p.T__5),this.state=488,this.path()),this.state=492,this._errHandler.sync(this),this._input.LA(1)===p.T__9&&(this.state=491,this.urlQuery()),this.state=495,this._errHandler.sync(this),this._input.LA(1)===p.T__8&&(this.state=494,this.frag())}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},T.prototype=Object.create(r.ParserRuleContext.prototype),T.prototype.constructor=T,T.prototype.string=function(){return this.getTypedRuleContext(P,0)},T.prototype.enterRule=function(e){e instanceof i&&e.enterScheme(this)},T.prototype.exitRule=function(e){e instanceof i&&e.exitScheme(this)},p.SchemeContext=T,p.prototype.scheme=function(){var e=new T(this,this._ctx,this.state);this.enterRule(e,18,p.RULE_scheme);try{this.enterOuterAlt(e,1),this.state=497,this.string()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},x.prototype=Object.create(r.ParserRuleContext.prototype),x.prototype.constructor=x,x.prototype.hostname=function(){return this.getTypedRuleContext(S,0)},x.prototype.hostnumber=function(){return this.getTypedRuleContext(C,0)},x.prototype.enterRule=function(e){e instanceof i&&e.enterHost(this)},x.prototype.exitRule=function(e){e instanceof i&&e.exitHost(this)},p.HostContext=x,p.prototype.host=function(){var e=new x(this,this._ctx,this.state);this.enterRule(e,20,p.RULE_host);try{switch(this.enterOuterAlt(e,1),this.state=500,this._errHandler.sync(this),this._input.LA(1)===p.T__5&&(this.state=499,this.match(p.T__5)),this.state=504,this._errHandler.sync(this),this._input.LA(1)){case p.CYPHER:case p.EXPLAIN:case p.PROFILE:case p.USING:case p.PERIODIC:case p.COMMIT:case p.UNION:case p.ALL:case p.CREATE:case p.DROP:case p.INDEX:case p.ON:case p.CONSTRAINT:case p.ASSERT:case p.IS:case p.UNIQUE:case p.EXISTS:case p.LOAD:case p.CSV:case p.WITH:case p.HEADERS:case p.FROM:case p.AS:case p.FIELDTERMINATOR:case p.OPTIONAL:case p.MATCH:case p.UNWIND:case p.MERGE:case p.SET:case p.DETACH:case p.DELETE:case p.REMOVE:case p.FOREACH:case p.IN:case p.DISTINCT:case p.RETURN:case p.ORDER:case p.BY:case p.L_SKIP:case p.LIMIT:case p.ASCENDING:case p.ASC:case p.DESCENDING:case p.DESC:case p.JOIN:case p.SCAN:case p.START:case p.NODE:case p.RELATIONSHIP:case p.REL:case p.WHERE:case p.SHORTESTPATH:case p.ALLSHORTESTPATHS:case p.OR:case p.XOR:case p.AND:case p.NOT:case p.STARTS:case p.ENDS:case p.CONTAINS:case p.NULL:case p.COUNT:case p.FILTER:case p.EXTRACT:case p.ANY:case p.NONE:case p.SINGLE:case p.TRUE:case p.FALSE:case p.REDUCE:case p.CASE:case p.ELSE:case p.END:case p.WHEN:case p.THEN:case p.CALL:case p.YIELD:case p.KEY:case p.BTREE:case p.EXIST:case p.FOR:case p.OPTIONS:case p.EXECUTE:case p.DEFINED:case p.FUNCTION:case p.FUNCTIONS:case p.BOOSTED:case p.PROCEDURE:case p.PROCEDURES:case p.ADMIN:case p.ADMINISTRATOR:case p.BRIEF:case p.VERBOSE:case p.OUTPUT:case p.HexLetter:case p.UnescapedSymbolicName:case p.EscapedSymbolicName:this.state=502,this.hostname();break;case p.HexInteger:case p.DecimalInteger:case p.OctalInteger:this.state=503,this.hostnumber();break;default:throw new r.error.NoViableAltException(this)}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},S.prototype=Object.create(r.ParserRuleContext.prototype),S.prototype.constructor=S,S.prototype.string=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(P):this.getTypedRuleContext(P,e)},S.prototype.enterRule=function(e){e instanceof i&&e.enterHostname(this)},S.prototype.exitRule=function(e){e instanceof i&&e.exitHostname(this)},p.HostnameContext=S,p.prototype.hostname=function(){var e=new S(this,this._ctx,this.state);this.enterRule(e,22,p.RULE_hostname);var t=0;try{for(this.enterOuterAlt(e,1),this.state=506,this.string(),this.state=511,this._errHandler.sync(this),t=this._input.LA(1);t===p.T__6;)this.state=507,this.match(p.T__6),this.state=508,this.string(),this.state=513,this._errHandler.sync(this),t=this._input.LA(1)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},C.prototype=Object.create(r.ParserRuleContext.prototype),C.prototype.constructor=C,C.prototype.urlDigits=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(M):this.getTypedRuleContext(M,e)},C.prototype.enterRule=function(e){e instanceof i&&e.enterHostnumber(this)},C.prototype.exitRule=function(e){e instanceof i&&e.exitHostnumber(this)},p.HostnumberContext=C,p.prototype.hostnumber=function(){var e=new C(this,this._ctx,this.state);this.enterRule(e,24,p.RULE_hostnumber);try{this.enterOuterAlt(e,1),this.state=514,this.urlDigits(),this.state=515,this.match(p.T__6),this.state=516,this.urlDigits(),this.state=517,this.match(p.T__6),this.state=518,this.urlDigits(),this.state=519,this.match(p.T__6),this.state=520,this.urlDigits()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},A.prototype=Object.create(r.ParserRuleContext.prototype),A.prototype.constructor=A,A.prototype.urlDigits=function(){return this.getTypedRuleContext(M,0)},A.prototype.enterRule=function(e){e instanceof i&&e.enterPort(this)},A.prototype.exitRule=function(e){e instanceof i&&e.exitPort(this)},p.PortContext=A,p.prototype.port=function(){var e=new A(this,this._ctx,this.state);this.enterRule(e,26,p.RULE_port);try{this.enterOuterAlt(e,1),this.state=522,this.urlDigits()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},R.prototype=Object.create(r.ParserRuleContext.prototype),R.prototype.constructor=R,R.prototype.string=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(P):this.getTypedRuleContext(P,e)},R.prototype.enterRule=function(e){e instanceof i&&e.enterPath(this)},R.prototype.exitRule=function(e){e instanceof i&&e.exitPath(this)},p.PathContext=R,p.prototype.path=function(){var e=new R(this,this._ctx,this.state);this.enterRule(e,28,p.RULE_path);var t=0;try{for(this.enterOuterAlt(e,1),this.state=524,this.string(),this.state=529,this._errHandler.sync(this),t=this._input.LA(1);t===p.T__5;)this.state=525,this.match(p.T__5),this.state=526,this.string(),this.state=531,this._errHandler.sync(this),t=this._input.LA(1)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},w.prototype=Object.create(r.ParserRuleContext.prototype),w.prototype.constructor=w,w.prototype.string=function(){return this.getTypedRuleContext(P,0)},w.prototype.enterRule=function(e){e instanceof i&&e.enterUser(this)},w.prototype.exitRule=function(e){e instanceof i&&e.exitUser(this)},p.UserContext=w,p.prototype.user=function(){var e=new w(this,this._ctx,this.state);this.enterRule(e,30,p.RULE_user);try{this.enterOuterAlt(e,1),this.state=532,this.string()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},L.prototype=Object.create(r.ParserRuleContext.prototype),L.prototype.constructor=L,L.prototype.user=function(){return this.getTypedRuleContext(w,0)},L.prototype.password=function(){return this.getTypedRuleContext(O,0)},L.prototype.enterRule=function(e){e instanceof i&&e.enterLogin(this)},L.prototype.exitRule=function(e){e instanceof i&&e.exitLogin(this)},p.LoginContext=L,p.prototype.login=function(){var e=new L(this,this._ctx,this.state);this.enterRule(e,32,p.RULE_login);try{this.enterOuterAlt(e,1),this.state=534,this.user(),this.state=535,this.match(p.T__1),this.state=536,this.password(),this.state=537,this.match(p.T__7)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},O.prototype=Object.create(r.ParserRuleContext.prototype),O.prototype.constructor=O,O.prototype.string=function(){return this.getTypedRuleContext(P,0)},O.prototype.enterRule=function(e){e instanceof i&&e.enterPassword(this)},O.prototype.exitRule=function(e){e instanceof i&&e.exitPassword(this)},p.PasswordContext=O,p.prototype.password=function(){var e=new O(this,this._ctx,this.state);this.enterRule(e,34,p.RULE_password);try{this.enterOuterAlt(e,1),this.state=539,this.string()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},N.prototype=Object.create(r.ParserRuleContext.prototype),N.prototype.constructor=N,N.prototype.string=function(){return this.getTypedRuleContext(P,0)},N.prototype.enterRule=function(e){e instanceof i&&e.enterFrag(this)},N.prototype.exitRule=function(e){e instanceof i&&e.exitFrag(this)},p.FragContext=N,p.prototype.frag=function(){var e=new N(this,this._ctx,this.state);this.enterRule(e,36,p.RULE_frag);try{this.enterOuterAlt(e,1),this.state=541,this.match(p.T__8),this.state=542,this.string()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},I.prototype=Object.create(r.ParserRuleContext.prototype),I.prototype.constructor=I,I.prototype.search=function(){return this.getTypedRuleContext(k,0)},I.prototype.enterRule=function(e){e instanceof i&&e.enterUrlQuery(this)},I.prototype.exitRule=function(e){e instanceof i&&e.exitUrlQuery(this)},p.UrlQueryContext=I,p.prototype.urlQuery=function(){var e=new I(this,this._ctx,this.state);this.enterRule(e,38,p.RULE_urlQuery);try{this.enterOuterAlt(e,1),this.state=544,this.match(p.T__9),this.state=545,this.search()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},k.prototype=Object.create(r.ParserRuleContext.prototype),k.prototype.constructor=k,k.prototype.searchparameter=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(D):this.getTypedRuleContext(D,e)},k.prototype.enterRule=function(e){e instanceof i&&e.enterSearch(this)},k.prototype.exitRule=function(e){e instanceof i&&e.exitSearch(this)},p.SearchContext=k,p.prototype.search=function(){var e=new k(this,this._ctx,this.state);this.enterRule(e,40,p.RULE_search);var t=0;try{for(this.enterOuterAlt(e,1),this.state=547,this.searchparameter(),this.state=552,this._errHandler.sync(this),t=this._input.LA(1);t===p.T__10;)this.state=548,this.match(p.T__10),this.state=549,this.searchparameter(),this.state=554,this._errHandler.sync(this),t=this._input.LA(1)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},D.prototype=Object.create(r.ParserRuleContext.prototype),D.prototype.constructor=D,D.prototype.string=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(P):this.getTypedRuleContext(P,e)},D.prototype.urlDigits=function(){return this.getTypedRuleContext(M,0)},D.prototype.UrlHex=function(){return this.getToken(p.UrlHex,0)},D.prototype.enterRule=function(e){e instanceof i&&e.enterSearchparameter(this)},D.prototype.exitRule=function(e){e instanceof i&&e.exitSearchparameter(this)},p.SearchparameterContext=D,p.prototype.searchparameter=function(){var e=new D(this,this._ctx,this.state);this.enterRule(e,42,p.RULE_searchparameter);try{if(this.enterOuterAlt(e,1),this.state=555,this.string(),this.state=562,this._errHandler.sync(this),this._input.LA(1)===p.T__11)switch(this.state=556,this.match(p.T__11),this.state=560,this._errHandler.sync(this),this._input.LA(1)){case p.CYPHER:case p.EXPLAIN:case p.PROFILE:case p.USING:case p.PERIODIC:case p.COMMIT:case p.UNION:case p.ALL:case p.CREATE:case p.DROP:case p.INDEX:case p.ON:case p.CONSTRAINT:case p.ASSERT:case p.IS:case p.UNIQUE:case p.EXISTS:case p.LOAD:case p.CSV:case p.WITH:case p.HEADERS:case p.FROM:case p.AS:case p.FIELDTERMINATOR:case p.OPTIONAL:case p.MATCH:case p.UNWIND:case p.MERGE:case p.SET:case p.DETACH:case p.DELETE:case p.REMOVE:case p.FOREACH:case p.IN:case p.DISTINCT:case p.RETURN:case p.ORDER:case p.BY:case p.L_SKIP:case p.LIMIT:case p.ASCENDING:case p.ASC:case p.DESCENDING:case p.DESC:case p.JOIN:case p.SCAN:case p.START:case p.NODE:case p.RELATIONSHIP:case p.REL:case p.WHERE:case p.SHORTESTPATH:case p.ALLSHORTESTPATHS:case p.OR:case p.XOR:case p.AND:case p.NOT:case p.STARTS:case p.ENDS:case p.CONTAINS:case p.NULL:case p.COUNT:case p.FILTER:case p.EXTRACT:case p.ANY:case p.NONE:case p.SINGLE:case p.TRUE:case p.FALSE:case p.REDUCE:case p.CASE:case p.ELSE:case p.END:case p.WHEN:case p.THEN:case p.CALL:case p.YIELD:case p.KEY:case p.BTREE:case p.EXIST:case p.FOR:case p.OPTIONS:case p.EXECUTE:case p.DEFINED:case p.FUNCTION:case p.FUNCTIONS:case p.BOOSTED:case p.PROCEDURE:case p.PROCEDURES:case p.ADMIN:case p.ADMINISTRATOR:case p.BRIEF:case p.VERBOSE:case p.OUTPUT:case p.HexLetter:case p.UnescapedSymbolicName:case p.EscapedSymbolicName:this.state=557,this.string();break;case p.HexInteger:case p.DecimalInteger:case p.OctalInteger:this.state=558,this.urlDigits();break;case p.UrlHex:this.state=559,this.match(p.UrlHex);break;default:throw new r.error.NoViableAltException(this)}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},P.prototype=Object.create(r.ParserRuleContext.prototype),P.prototype.constructor=P,P.prototype.symbolicName=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(er):this.getTypedRuleContext(er,e)},P.prototype.enterRule=function(e){e instanceof i&&e.enterString(this)},P.prototype.exitRule=function(e){e instanceof i&&e.exitString(this)},p.StringContext=P,p.prototype.string=function(){var e=new P(this,this._ctx,this.state);this.enterRule(e,44,p.RULE_string);var t=0;try{this.enterOuterAlt(e,1),this.state=564,this.symbolicName(),this.state=571,this._errHandler.sync(this);for(var n=this._interp.adaptivePredict(this._input,24,this._ctx);1!=n&&n!=r.atn.ATN.INVALID_ALT_NUMBER;)2===n&&(this.state=566,this._errHandler.sync(this),(t=this._input.LA(1))!==p.T__6&&t!==p.T__12||(this.state=565,(t=this._input.LA(1))!==p.T__6&&t!==p.T__12?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume())),this.state=568,this.symbolicName()),this.state=573,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,24,this._ctx)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},M.prototype=Object.create(r.ParserRuleContext.prototype),M.prototype.constructor=M,M.prototype.integerLiteral=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(Kn):this.getTypedRuleContext(Kn,e)},M.prototype.enterRule=function(e){e instanceof i&&e.enterUrlDigits(this)},M.prototype.exitRule=function(e){e instanceof i&&e.exitUrlDigits(this)},p.UrlDigitsContext=M,p.prototype.urlDigits=function(){var e=new M(this,this._ctx,this.state);this.enterRule(e,46,p.RULE_urlDigits);var t=0;try{this.enterOuterAlt(e,1),this.state=575,this._errHandler.sync(this),t=this._input.LA(1);do{this.state=574,this.integerLiteral(),this.state=577,this._errHandler.sync(this),t=this._input.LA(1)}while(0==(t-151&-32)&&0!=(1<0&&(i=u.toStringTree(e.getChild(0),t),a=a.concat(i));for(var s=1;s=n},X.prototype.deserialize=function(e){this.reset(e),this.checkVersion(),this.checkUUID();var t=this.readATN();this.readStates(t),this.readRules(t),this.readModes(t);var n=[];return this.readSets(t,n,this.readInt.bind(this)),this.isFeatureSupported(W,this.uuid)&&this.readSets(t,n,this.readInt32.bind(this)),this.readEdges(t,n),this.readDecisions(t),this.readLexerActions(t),this.markPrecedenceDecisions(t),this.verifyATN(t),this.deserializationOptions.generateRuleBypassTransitions&&t.grammarType===o.PARSER&&(this.generateRuleBypassTransitions(t),this.verifyATN(t)),t},X.prototype.reset=function(e){var t=e.split("").map((function(e){var t=e.charCodeAt(0);return t>1?t-2:-1}));t[0]=e.charCodeAt(0),this.data=t,this.pos=0},X.prototype.checkVersion=function(){var e=this.readInt();if(3!==e)throw"Could not deserialize ATN with version "+e+" (expected 3)."},X.prototype.checkUUID=function(){var e=this.readUUID();if(V.indexOf(e)<0)throw K;this.uuid=e},X.prototype.readATN=function(){var e=this.readInt(),t=this.readInt();return new i(e,t)},X.prototype.readStates=function(e){for(var t,n,r,i=[],o=[],a=this.readInt(),l=0;l0;)i.addTransition(p.transitions[d-1]),p.transitions=p.transitions.slice(-1);e.ruleToStartState[t].addTransition(new O(i)),o.addTransition(new O(s));var f=new l;e.addState(f),f.addTransition(new S(o,e.ruleToTokenType[t])),i.addTransition(new O(f))},X.prototype.stateIsEndStateFor=function(e,t){if(e.ruleIndex!==t)return null;if(!(e instanceof v))return null;var n=e.transitions[e.transitions.length-1].target;return n instanceof p&&n.epsilonOnlyTransitions&&n.transitions[0].target instanceof f?e:null},X.prototype.markPrecedenceDecisions=function(e){for(var t=0;t=0):this.checkCondition(n.transitions.length<=1||n instanceof f)}},X.prototype.checkCondition=function(e,t){if(!e)throw null==t&&(t="IllegalState"),t},X.prototype.readInt=function(){return this.data[this.pos++]},X.prototype.readInt32=function(){return this.readInt()|this.readInt()<<16},X.prototype.readLong=function(){return 4294967295&this.readInt32()|this.readInt32()<<32};var Z=function(){for(var e=[],t=0;t<256;t++)e[t]=(t+256).toString(16).substr(1).toUpperCase();return e}();X.prototype.readUUID=function(){for(var e=[],t=7;t>=0;t--){var n=this.readInt();e[2*t+1]=255&n,e[2*t]=n>>8&255}return Z[e[0]]+Z[e[1]]+Z[e[2]]+Z[e[3]]+"-"+Z[e[4]]+Z[e[5]]+"-"+Z[e[6]]+Z[e[7]]+"-"+Z[e[8]]+Z[e[9]]+"-"+Z[e[10]]+Z[e[11]]+Z[e[12]]+Z[e[13]]+Z[e[14]]+Z[e[15]]},X.prototype.edgeFactory=function(e,t,n,i,o,a,s,l){var c=e.states[i];switch(t){case x.EPSILON:return new O(c);case x.RANGE:return new w(c,0!==s?r.EOF:o,a);case x.RULE:return new R(e.states[o],a,s,c);case x.PREDICATE:return new I(c,o,a,0!==s);case x.PRECEDENCE:return new k(c,o);case x.ATOM:return new S(c,0!==s?r.EOF:o);case x.ACTION:return new L(c,o,a,0!==s);case x.SET:return new C(c,l[o]);case x.NOT_SET:return new A(c,l[o]);case x.WILDCARD:return new N(c);default:throw"The specified transition type: "+t+" is not valid."}},X.prototype.stateFactory=function(e,t){if(null===this.stateFactories){var n=[];n[s.INVALID_TYPE]=null,n[s.BASIC]=function(){return new l},n[s.RULE_START]=function(){return new d},n[s.BLOCK_START]=function(){return new E},n[s.PLUS_BLOCK_START]=function(){return new _},n[s.STAR_BLOCK_START]=function(){return new b},n[s.TOKEN_START]=function(){return new m},n[s.RULE_STOP]=function(){return new f},n[s.BLOCK_END]=function(){return new h},n[s.STAR_LOOP_BACK]=function(){return new y},n[s.STAR_LOOP_ENTRY]=function(){return new v},n[s.PLUS_LOOP_BACK]=function(){return new g},n[s.LOOP_END]=function(){return new p},this.stateFactories=n}if(e>this.stateFactories.length||null===this.stateFactories[e])throw"The specified state type "+e+" is not valid.";var r=this.stateFactories[e]();if(null!==r)return r.ruleIndex=t,r},X.prototype.lexerActionFactory=function(e,t,n){if(null===this.actionFactories){var r=[];r[F.CHANNEL]=function(e,t){return new B(e)},r[F.CUSTOM]=function(e,t){return new U(e,t)},r[F.MODE]=function(e,t){return new $(e)},r[F.MORE]=function(e,t){return j.INSTANCE},r[F.POP_MODE]=function(e,t){return z.INSTANCE},r[F.PUSH_MODE]=function(e,t){return new Y(e)},r[F.SKIP]=function(e,t){return H.INSTANCE},r[F.TYPE]=function(e,t){return new G(e)},this.actionFactories=r}if(e>this.actionFactories.length||null===this.actionFactories[e])throw"The specified lexer action type "+e+" is not valid.";return this.actionFactories[e](t,n)},t.ATNDeserializer=X},function(e,t){function n(e){return void 0===e&&(e=null),this.readOnly=!1,this.verifyATN=null===e||e.verifyATN,this.generateRuleBypassTransitions=null!==e&&e.generateRuleBypassTransitions,this}n.defaultOptions=new n,n.defaultOptions.readOnly=!0,t.ATNDeserializationOptions=n},function(e,t){function n(){}function r(e){return this.actionType=e,this.isPositionDependent=!1,this}function i(){return r.call(this,n.SKIP),this}function o(e){return r.call(this,n.TYPE),this.type=e,this}function a(e){return r.call(this,n.PUSH_MODE),this.mode=e,this}function s(){return r.call(this,n.POP_MODE),this}function l(){return r.call(this,n.MORE),this}function c(e){return r.call(this,n.MODE),this.mode=e,this}function u(e,t){return r.call(this,n.CUSTOM),this.ruleIndex=e,this.actionIndex=t,this.isPositionDependent=!0,this}function h(e){return r.call(this,n.CHANNEL),this.channel=e,this}function p(e,t){return r.call(this,t.actionType),this.offset=e,this.action=t,this.isPositionDependent=!0,this}n.CHANNEL=0,n.CUSTOM=1,n.MODE=2,n.MORE=3,n.POP_MODE=4,n.PUSH_MODE=5,n.SKIP=6,n.TYPE=7,r.prototype.hashCode=function(){var e=new Hash;return this.updateHashCode(e),e.finish()},r.prototype.updateHashCode=function(e){e.update(this.actionType)},r.prototype.equals=function(e){return this===e},i.prototype=Object.create(r.prototype),i.prototype.constructor=i,i.INSTANCE=new i,i.prototype.execute=function(e){e.skip()},i.prototype.toString=function(){return"skip"},o.prototype=Object.create(r.prototype),o.prototype.constructor=o,o.prototype.execute=function(e){e.type=this.type},o.prototype.updateHashCode=function(e){e.update(this.actionType,this.type)},o.prototype.equals=function(e){return this===e||e instanceof o&&this.type===e.type},o.prototype.toString=function(){return"type("+this.type+")"},a.prototype=Object.create(r.prototype),a.prototype.constructor=a,a.prototype.execute=function(e){e.pushMode(this.mode)},a.prototype.updateHashCode=function(e){e.update(this.actionType,this.mode)},a.prototype.equals=function(e){return this===e||e instanceof a&&this.mode===e.mode},a.prototype.toString=function(){return"pushMode("+this.mode+")"},s.prototype=Object.create(r.prototype),s.prototype.constructor=s,s.INSTANCE=new s,s.prototype.execute=function(e){e.popMode()},s.prototype.toString=function(){return"popMode"},l.prototype=Object.create(r.prototype),l.prototype.constructor=l,l.INSTANCE=new l,l.prototype.execute=function(e){e.more()},l.prototype.toString=function(){return"more"},c.prototype=Object.create(r.prototype),c.prototype.constructor=c,c.prototype.execute=function(e){e.mode(this.mode)},c.prototype.updateHashCode=function(e){e.update(this.actionType,this.mode)},c.prototype.equals=function(e){return this===e||e instanceof c&&this.mode===e.mode},c.prototype.toString=function(){return"mode("+this.mode+")"},u.prototype=Object.create(r.prototype),u.prototype.constructor=u,u.prototype.execute=function(e){e.action(null,this.ruleIndex,this.actionIndex)},u.prototype.updateHashCode=function(e){e.update(this.actionType,this.ruleIndex,this.actionIndex)},u.prototype.equals=function(e){return this===e||e instanceof u&&this.ruleIndex===e.ruleIndex&&this.actionIndex===e.actionIndex},h.prototype=Object.create(r.prototype),h.prototype.constructor=h,h.prototype.execute=function(e){e._channel=this.channel},h.prototype.updateHashCode=function(e){e.update(this.actionType,this.channel)},h.prototype.equals=function(e){return this===e||e instanceof h&&this.channel===e.channel},h.prototype.toString=function(){return"channel("+this.channel+")"},p.prototype=Object.create(r.prototype),p.prototype.constructor=p,p.prototype.execute=function(e){this.action.execute(e)},p.prototype.updateHashCode=function(e){e.update(this.actionType,this.offset,this.action)},p.prototype.equals=function(e){return this===e||e instanceof p&&this.offset===e.offset&&this.action===e.action},t.LexerActionType=n,t.LexerSkipAction=i,t.LexerChannelAction=h,t.LexerCustomAction=u,t.LexerIndexedCustomAction=p,t.LexerMoreAction=l,t.LexerTypeAction=o,t.LexerPushModeAction=a,t.LexerPopModeAction=s,t.LexerModeAction=c},function(e,t,n){var r=n(2).Token,i=n(19).ConsoleErrorListener,o=n(19).ProxyErrorListener;function a(){return this._listeners=[i.INSTANCE],this._interp=null,this._stateNumber=-1,this}a.tokenTypeMapCache={},a.ruleIndexMapCache={},a.prototype.checkVersion=function(e){"4.7"!==e&&console.log("ANTLR runtime and generated code versions disagree: 4.7!="+e)},a.prototype.addErrorListener=function(e){this._listeners.push(e)},a.prototype.removeErrorListeners=function(){this._listeners=[]},a.prototype.getTokenTypeMap=function(){var e=this.getTokenNames();if(null===e)throw"The current recognizer does not provide a list of token names.";var t=this.tokenTypeMapCache[e];return void 0===t&&((t=e.reduce((function(e,t,n){e[t]=n}))).EOF=r.EOF,this.tokenTypeMapCache[e]=t),t},a.prototype.getRuleIndexMap=function(){var e=this.ruleNames;if(null===e)throw"The current recognizer does not provide a list of rule names.";var t=this.ruleIndexMapCache[e];return void 0===t&&(t=e.reduce((function(e,t,n){e[t]=n})),this.ruleIndexMapCache[e]=t),t},a.prototype.getTokenType=function(e){var t=this.getTokenTypeMap()[e];return void 0!==t?t:r.INVALID_TYPE},a.prototype.getErrorHeader=function(e){return"line "+e.getOffendingToken().line+":"+e.getOffendingToken().column},a.prototype.getTokenErrorDisplay=function(e){if(null===e)return"";var t=e.text;return null===t&&(t=e.type===r.EOF?"":"<"+e.type+">"),"'"+(t=t.replace("\n","\\n").replace("\r","\\r").replace("\t","\\t"))+"'"},a.prototype.getErrorListenerDispatch=function(){return new o(this._listeners)},a.prototype.sempred=function(e,t,n){return!0},a.prototype.precpred=function(e,t){return!0},Object.defineProperty(a.prototype,"state",{get:function(){return this._stateNumber},set:function(e){this._stateNumber=e}}),t.Recognizer=a},function(e,t,n){var r=n(15).DFAState,i=n(13).ATNConfigSet,o=n(10).getCachedPredictionContext;function a(e,t){return this.atn=e,this.sharedContextCache=t,this}a.ERROR=new r(2147483647,new i),a.prototype.getCachedContext=function(e){return null===this.sharedContextCache?e:o(e,this.sharedContextCache,{})},t.ATNSimulator=a},function(e,t,n){n(0).Set;var r=n(0).Map,i=n(0).BitSet,o=n(0).AltDict,a=n(11).ATN,s=n(7).RuleStopState,l=n(13).ATNConfigSet,c=n(16).ATNConfig,u=n(14).SemanticContext,h=(n(0).Hash,n(0).hashStuff);function p(){return this}n(0).equalArrays,p.SLL=0,p.LL=1,p.LL_EXACT_AMBIG_DETECTION=2,p.hasSLLConflictTerminatingPrediction=function(e,t){if(p.allConfigsInRuleStopStates(t))return!0;if(e===p.SLL&&t.hasSemanticContext){for(var n=new l,r=0;r1)return!0;return!1},p.allSubsetsEqual=function(e){for(var t=null,n=0;n=n)){var i,o=t.charCodeAt(r);return o>=55296&&o<=56319&&n>r+1&&(i=t.charCodeAt(r+1))>=56320&&i<=57343?1024*(o-55296)+i-56320+65536:o}};e?e(String.prototype,"codePointAt",{value:t,configurable:!0,writable:!0}):String.prototype.codePointAt=t}()},function(e,t){var n,r,i,o;String.fromCodePoint||(n=function(){try{var e={},t=Object.defineProperty,n=t(e,e,e)&&t}catch(e){}return n}(),r=String.fromCharCode,i=Math.floor,o=function(e){var t,n,o=[],a=-1,s=arguments.length;if(!s)return"";for(var l="";++a1114111||i(c)!=c)throw RangeError("Invalid code point: "+c);c<=65535?o.push(c):(t=55296+((c-=65536)>>10),n=c%1024+56320,o.push(t,n)),(a+1==s||o.length>16384)&&(l+=r.apply(null,o),o.length=0)}return l},n?n(String,"fromCodePoint",{value:o,configurable:!0,writable:!0}):String.fromCodePoint=o)},function(e,t,n){var r=n(2).Token,i=n(9),o=i.NoViableAltException,a=i.InputMismatchException,s=i.FailedPredicateException,l=i.ParseCancellationException,c=n(7).ATNState,u=n(4).Interval,h=n(4).IntervalSet;function p(){}function d(){return p.call(this),this.errorRecoveryMode=!1,this.lastErrorIndex=-1,this.lastErrorStates=null,this}function f(){return d.call(this),this}p.prototype.reset=function(e){},p.prototype.recoverInline=function(e){},p.prototype.recover=function(e,t){},p.prototype.sync=function(e){},p.prototype.inErrorRecoveryMode=function(e){},p.prototype.reportError=function(e){},d.prototype=Object.create(p.prototype),d.prototype.constructor=d,d.prototype.reset=function(e){this.endErrorCondition(e)},d.prototype.beginErrorCondition=function(e){this.errorRecoveryMode=!0},d.prototype.inErrorRecoveryMode=function(e){return this.errorRecoveryMode},d.prototype.endErrorCondition=function(e){this.errorRecoveryMode=!1,this.lastErrorStates=null,this.lastErrorIndex=-1},d.prototype.reportMatch=function(e){this.endErrorCondition(e)},d.prototype.reportError=function(e,t){this.inErrorRecoveryMode(e)||(this.beginErrorCondition(e),t instanceof o?this.reportNoViableAlternative(e,t):t instanceof a?this.reportInputMismatch(e,t):t instanceof s?this.reportFailedPredicate(e,t):(console.log("unknown recognition error type: "+t.constructor.name),console.log(t.stack),e.notifyErrorListeners(t.getOffendingToken(),t.getMessage(),t)))},d.prototype.recover=function(e,t){this.lastErrorIndex===e.getInputStream().index&&null!==this.lastErrorStates&&this.lastErrorStates.indexOf(e.state)>=0&&e.consume(),this.lastErrorIndex=e._input.index,null===this.lastErrorStates&&(this.lastErrorStates=[]),this.lastErrorStates.push(e.state);var n=this.getErrorRecoverySet(e);this.consumeUntil(e,n)},d.prototype.sync=function(e){if(!this.inErrorRecoveryMode(e)){var t=e._interp.atn.states[e.state],n=e.getTokenStream().LA(1),i=e.atn.nextTokens(t);if(!i.contains(r.EPSILON)&&!i.contains(n))switch(t.stateType){case c.BLOCK_START:case c.STAR_BLOCK_START:case c.PLUS_BLOCK_START:case c.STAR_LOOP_ENTRY:if(null!==this.singleTokenDeletion(e))return;throw new a(e);case c.PLUS_LOOP_BACK:case c.STAR_LOOP_BACK:this.reportUnwantedToken(e);var o=new h;o.addSet(e.getExpectedTokens());var s=o.addSet(this.getErrorRecoverySet(e));this.consumeUntil(e,s)}}},d.prototype.reportNoViableAlternative=function(e,t){var n,i=e.getTokenStream();n=null!==i?t.startToken.type===r.EOF?"":i.getText(new u(t.startToken,t.offendingToken)):"";var o="no viable alternative at input "+this.escapeWSAndQuote(n);e.notifyErrorListeners(o,t.offendingToken,t)},d.prototype.reportInputMismatch=function(e,t){var n="mismatched input "+this.getTokenErrorDisplay(t.offendingToken)+" expecting "+t.getExpectedTokens().toString(e.literalNames,e.symbolicNames);e.notifyErrorListeners(n,t.offendingToken,t)},d.prototype.reportFailedPredicate=function(e,t){var n="rule "+e.ruleNames[e._ctx.ruleIndex]+" "+t.message;e.notifyErrorListeners(n,t.offendingToken,t)},d.prototype.reportUnwantedToken=function(e){if(!this.inErrorRecoveryMode(e)){this.beginErrorCondition(e);var t=e.getCurrentToken(),n="extraneous input "+this.getTokenErrorDisplay(t)+" expecting "+this.getExpectedTokens(e).toString(e.literalNames,e.symbolicNames);e.notifyErrorListeners(n,t,null)}},d.prototype.reportMissingToken=function(e){if(!this.inErrorRecoveryMode(e)){this.beginErrorCondition(e);var t=e.getCurrentToken(),n="missing "+this.getExpectedTokens(e).toString(e.literalNames,e.symbolicNames)+" at "+this.getTokenErrorDisplay(t);e.notifyErrorListeners(n,t,null)}},d.prototype.recoverInline=function(e){var t=this.singleTokenDeletion(e);if(null!==t)return e.consume(),t;if(this.singleTokenInsertion(e))return this.getMissingSymbol(e);throw new a(e)},d.prototype.singleTokenInsertion=function(e){var t=e.getTokenStream().LA(1),n=e._interp.atn,r=n.states[e.state].transitions[0].target;return!!n.nextTokens(r,e._ctx).contains(t)&&(this.reportMissingToken(e),!0)},d.prototype.singleTokenDeletion=function(e){var t=e.getTokenStream().LA(2);if(this.getExpectedTokens(e).contains(t)){this.reportUnwantedToken(e),e.consume();var n=e.getCurrentToken();return this.reportMatch(e),n}return null},d.prototype.getMissingSymbol=function(e){var t,n=e.getCurrentToken(),i=this.getExpectedTokens(e).first();t=i===r.EOF?"":"";var o=n,a=e.getTokenStream().LT(-1);return o.type===r.EOF&&null!==a&&(o=a),e.getTokenFactory().create(o.source,i,t,r.DEFAULT_CHANNEL,-1,-1,o.line,o.column)},d.prototype.getExpectedTokens=function(e){return e.getExpectedTokens()},d.prototype.getTokenErrorDisplay=function(e){if(null===e)return"";var t=e.text;return null===t&&(t=e.type===r.EOF?"":"<"+e.type+">"),this.escapeWSAndQuote(t)},d.prototype.escapeWSAndQuote=function(e){return"'"+(e=(e=(e=e.replace(/\n/g,"\\n")).replace(/\r/g,"\\r")).replace(/\t/g,"\\t"))+"'"},d.prototype.getErrorRecoverySet=function(e){for(var t=e._interp.atn,n=e._ctx,i=new h;null!==n&&n.invokingState>=0;){var o=t.states[n.invokingState].transitions[0],a=t.nextTokens(o.followState);i.addSet(a),n=n.parentCtx}return i.removeOne(r.EPSILON),i},d.prototype.consumeUntil=function(e,t){for(var n=e.getTokenStream().LA(1);n!==r.EOF&&!t.contains(n);)e.consume(),n=e.getTokenStream().LA(1)},f.prototype=Object.create(d.prototype),f.prototype.constructor=f,f.prototype.recover=function(e,t){for(var n=e._ctx;null!==n;)n.exception=t,n=n.parentCtx;throw new l(t)},f.prototype.recoverInline=function(e){this.recover(e,new a(e))},f.prototype.sync=function(e){},t.BailErrorStrategy=f,t.DefaultErrorStrategy=d},function(e,t){},function(e,t,n){"use strict";var r=n(6);function i(){return r.tree.ParseTreeListener.call(this),this}i.prototype=Object.create(r.tree.ParseTreeListener.prototype),i.prototype.constructor=i,i.prototype.enterCypher=function(e){},i.prototype.exitCypher=function(e){},i.prototype.enterCypherPart=function(e){},i.prototype.exitCypherPart=function(e){},i.prototype.enterCypherConsoleCommand=function(e){},i.prototype.exitCypherConsoleCommand=function(e){},i.prototype.enterCypherConsoleCommandName=function(e){},i.prototype.exitCypherConsoleCommandName=function(e){},i.prototype.enterCypherConsoleCommandParameters=function(e){},i.prototype.exitCypherConsoleCommandParameters=function(e){},i.prototype.enterCypherConsoleCommandParameter=function(e){},i.prototype.exitCypherConsoleCommandParameter=function(e){},i.prototype.enterArrowExpression=function(e){},i.prototype.exitArrowExpression=function(e){},i.prototype.enterUrl=function(e){},i.prototype.exitUrl=function(e){},i.prototype.enterUri=function(e){},i.prototype.exitUri=function(e){},i.prototype.enterScheme=function(e){},i.prototype.exitScheme=function(e){},i.prototype.enterHost=function(e){},i.prototype.exitHost=function(e){},i.prototype.enterHostname=function(e){},i.prototype.exitHostname=function(e){},i.prototype.enterHostnumber=function(e){},i.prototype.exitHostnumber=function(e){},i.prototype.enterPort=function(e){},i.prototype.exitPort=function(e){},i.prototype.enterPath=function(e){},i.prototype.exitPath=function(e){},i.prototype.enterUser=function(e){},i.prototype.exitUser=function(e){},i.prototype.enterLogin=function(e){},i.prototype.exitLogin=function(e){},i.prototype.enterPassword=function(e){},i.prototype.exitPassword=function(e){},i.prototype.enterFrag=function(e){},i.prototype.exitFrag=function(e){},i.prototype.enterUrlQuery=function(e){},i.prototype.exitUrlQuery=function(e){},i.prototype.enterSearch=function(e){},i.prototype.exitSearch=function(e){},i.prototype.enterSearchparameter=function(e){},i.prototype.exitSearchparameter=function(e){},i.prototype.enterString=function(e){},i.prototype.exitString=function(e){},i.prototype.enterUrlDigits=function(e){},i.prototype.exitUrlDigits=function(e){},i.prototype.enterJson=function(e){},i.prototype.exitJson=function(e){},i.prototype.enterObj=function(e){},i.prototype.exitObj=function(e){},i.prototype.enterPair=function(e){},i.prototype.exitPair=function(e){},i.prototype.enterArray=function(e){},i.prototype.exitArray=function(e){},i.prototype.enterValue=function(e){},i.prototype.exitValue=function(e){},i.prototype.enterKeyValueLiteral=function(e){},i.prototype.exitKeyValueLiteral=function(e){},i.prototype.enterCommandPath=function(e){},i.prototype.exitCommandPath=function(e){},i.prototype.enterSubCommand=function(e){},i.prototype.exitSubCommand=function(e){},i.prototype.enterCypherQuery=function(e){},i.prototype.exitCypherQuery=function(e){},i.prototype.enterQueryOptions=function(e){},i.prototype.exitQueryOptions=function(e){},i.prototype.enterAnyCypherOption=function(e){},i.prototype.exitAnyCypherOption=function(e){},i.prototype.enterCypherOption=function(e){},i.prototype.exitCypherOption=function(e){},i.prototype.enterVersionNumber=function(e){},i.prototype.exitVersionNumber=function(e){},i.prototype.enterExplain=function(e){},i.prototype.exitExplain=function(e){},i.prototype.enterProfile=function(e){},i.prototype.exitProfile=function(e){},i.prototype.enterConfigurationOption=function(e){},i.prototype.exitConfigurationOption=function(e){},i.prototype.enterStatement=function(e){},i.prototype.exitStatement=function(e){},i.prototype.enterQuery=function(e){},i.prototype.exitQuery=function(e){},i.prototype.enterRegularQuery=function(e){},i.prototype.exitRegularQuery=function(e){},i.prototype.enterBulkImportQuery=function(e){},i.prototype.exitBulkImportQuery=function(e){},i.prototype.enterSingleQuery=function(e){},i.prototype.exitSingleQuery=function(e){},i.prototype.enterPeriodicCommitHint=function(e){},i.prototype.exitPeriodicCommitHint=function(e){},i.prototype.enterLoadCSVQuery=function(e){},i.prototype.exitLoadCSVQuery=function(e){},i.prototype.enterUnion=function(e){},i.prototype.exitUnion=function(e){},i.prototype.enterClause=function(e){},i.prototype.exitClause=function(e){},i.prototype.enterCommand=function(e){},i.prototype.exitCommand=function(e){},i.prototype.enterCreateUniqueConstraint=function(e){},i.prototype.exitCreateUniqueConstraint=function(e){},i.prototype.enterCreateNodeKeyConstraint=function(e){},i.prototype.exitCreateNodeKeyConstraint=function(e){},i.prototype.enterCreateNodePropertyExistenceConstraint=function(e){},i.prototype.exitCreateNodePropertyExistenceConstraint=function(e){},i.prototype.enterCreateRelationshipPropertyExistenceConstraint=function(e){},i.prototype.exitCreateRelationshipPropertyExistenceConstraint=function(e){},i.prototype.enterCreateIndex=function(e){},i.prototype.exitCreateIndex=function(e){},i.prototype.enterDropUniqueConstraint=function(e){},i.prototype.exitDropUniqueConstraint=function(e){},i.prototype.enterDropNodeKeyConstraint=function(e){},i.prototype.exitDropNodeKeyConstraint=function(e){},i.prototype.enterDropNodePropertyExistenceConstraint=function(e){},i.prototype.exitDropNodePropertyExistenceConstraint=function(e){},i.prototype.enterDropRelationshipPropertyExistenceConstraint=function(e){},i.prototype.exitDropRelationshipPropertyExistenceConstraint=function(e){},i.prototype.enterDropIndex=function(e){},i.prototype.exitDropIndex=function(e){},i.prototype.enterIndex=function(e){},i.prototype.exitIndex=function(e){},i.prototype.enterUniqueConstraint=function(e){},i.prototype.exitUniqueConstraint=function(e){},i.prototype.enterNodeKeyConstraint=function(e){},i.prototype.exitNodeKeyConstraint=function(e){},i.prototype.enterNodePropertyExistenceConstraint=function(e){},i.prototype.exitNodePropertyExistenceConstraint=function(e){},i.prototype.enterRelationshipPropertyExistenceConstraint=function(e){},i.prototype.exitRelationshipPropertyExistenceConstraint=function(e){},i.prototype.enterRelationshipPatternSyntax=function(e){},i.prototype.exitRelationshipPatternSyntax=function(e){},i.prototype.enterLoadCSVClause=function(e){},i.prototype.exitLoadCSVClause=function(e){},i.prototype.enterMatchClause=function(e){},i.prototype.exitMatchClause=function(e){},i.prototype.enterUnwindClause=function(e){},i.prototype.exitUnwindClause=function(e){},i.prototype.enterMergeClause=function(e){},i.prototype.exitMergeClause=function(e){},i.prototype.enterMergeAction=function(e){},i.prototype.exitMergeAction=function(e){},i.prototype.enterCreateClause=function(e){},i.prototype.exitCreateClause=function(e){},i.prototype.enterCreateUniqueClause=function(e){},i.prototype.exitCreateUniqueClause=function(e){},i.prototype.enterSetClause=function(e){},i.prototype.exitSetClause=function(e){},i.prototype.enterSetItem=function(e){},i.prototype.exitSetItem=function(e){},i.prototype.enterDeleteClause=function(e){},i.prototype.exitDeleteClause=function(e){},i.prototype.enterRemoveClause=function(e){},i.prototype.exitRemoveClause=function(e){},i.prototype.enterRemoveItem=function(e){},i.prototype.exitRemoveItem=function(e){},i.prototype.enterForeachClause=function(e){},i.prototype.exitForeachClause=function(e){},i.prototype.enterWithClause=function(e){},i.prototype.exitWithClause=function(e){},i.prototype.enterReturnClause=function(e){},i.prototype.exitReturnClause=function(e){},i.prototype.enterReturnBody=function(e){},i.prototype.exitReturnBody=function(e){},i.prototype.enterFunc=function(e){},i.prototype.exitFunc=function(e){},i.prototype.enterReturnItems=function(e){},i.prototype.exitReturnItems=function(e){},i.prototype.enterReturnItem=function(e){},i.prototype.exitReturnItem=function(e){},i.prototype.enterCall=function(e){},i.prototype.exitCall=function(e){},i.prototype.enterProcedureInvocation=function(e){},i.prototype.exitProcedureInvocation=function(e){},i.prototype.enterProcedureInvocationBody=function(e){},i.prototype.exitProcedureInvocationBody=function(e){},i.prototype.enterProcedureArguments=function(e){},i.prototype.exitProcedureArguments=function(e){},i.prototype.enterProcedureResults=function(e){},i.prototype.exitProcedureResults=function(e){},i.prototype.enterProcedureResult=function(e){},i.prototype.exitProcedureResult=function(e){},i.prototype.enterAliasedProcedureResult=function(e){},i.prototype.exitAliasedProcedureResult=function(e){},i.prototype.enterSimpleProcedureResult=function(e){},i.prototype.exitSimpleProcedureResult=function(e){},i.prototype.enterProcedureOutput=function(e){},i.prototype.exitProcedureOutput=function(e){},i.prototype.enterOrder=function(e){},i.prototype.exitOrder=function(e){},i.prototype.enterSkip=function(e){},i.prototype.exitSkip=function(e){},i.prototype.enterLimit=function(e){},i.prototype.exitLimit=function(e){},i.prototype.enterSortItem=function(e){},i.prototype.exitSortItem=function(e){},i.prototype.enterHint=function(e){},i.prototype.exitHint=function(e){},i.prototype.enterStartClause=function(e){},i.prototype.exitStartClause=function(e){},i.prototype.enterStartPoint=function(e){},i.prototype.exitStartPoint=function(e){},i.prototype.enterLookup=function(e){},i.prototype.exitLookup=function(e){},i.prototype.enterNodeLookup=function(e){},i.prototype.exitNodeLookup=function(e){},i.prototype.enterRelationshipLookup=function(e){},i.prototype.exitRelationshipLookup=function(e){},i.prototype.enterIdentifiedIndexLookup=function(e){},i.prototype.exitIdentifiedIndexLookup=function(e){},i.prototype.enterIndexQuery=function(e){},i.prototype.exitIndexQuery=function(e){},i.prototype.enterIdLookup=function(e){},i.prototype.exitIdLookup=function(e){},i.prototype.enterLiteralIds=function(e){},i.prototype.exitLiteralIds=function(e){},i.prototype.enterWhere=function(e){},i.prototype.exitWhere=function(e){},i.prototype.enterPattern=function(e){},i.prototype.exitPattern=function(e){},i.prototype.enterPatternPart=function(e){},i.prototype.exitPatternPart=function(e){},i.prototype.enterAnonymousPatternPart=function(e){},i.prototype.exitAnonymousPatternPart=function(e){},i.prototype.enterPatternElement=function(e){},i.prototype.exitPatternElement=function(e){},i.prototype.enterNodePattern=function(e){},i.prototype.exitNodePattern=function(e){},i.prototype.enterPatternElementChain=function(e){},i.prototype.exitPatternElementChain=function(e){},i.prototype.enterRelationshipPattern=function(e){},i.prototype.exitRelationshipPattern=function(e){},i.prototype.enterRelationshipPatternStart=function(e){},i.prototype.exitRelationshipPatternStart=function(e){},i.prototype.enterRelationshipPatternEnd=function(e){},i.prototype.exitRelationshipPatternEnd=function(e){},i.prototype.enterRelationshipDetail=function(e){},i.prototype.exitRelationshipDetail=function(e){},i.prototype.enterProperties=function(e){},i.prototype.exitProperties=function(e){},i.prototype.enterRelType=function(e){},i.prototype.exitRelType=function(e){},i.prototype.enterRelationshipTypes=function(e){},i.prototype.exitRelationshipTypes=function(e){},i.prototype.enterRelationshipType=function(e){},i.prototype.exitRelationshipType=function(e){},i.prototype.enterRelationshipTypeOptionalColon=function(e){},i.prototype.exitRelationshipTypeOptionalColon=function(e){},i.prototype.enterNodeLabels=function(e){},i.prototype.exitNodeLabels=function(e){},i.prototype.enterNodeLabel=function(e){},i.prototype.exitNodeLabel=function(e){},i.prototype.enterRangeLiteral=function(e){},i.prototype.exitRangeLiteral=function(e){},i.prototype.enterLabelName=function(e){},i.prototype.exitLabelName=function(e){},i.prototype.enterRelTypeName=function(e){},i.prototype.exitRelTypeName=function(e){},i.prototype.enterExpression=function(e){},i.prototype.exitExpression=function(e){},i.prototype.enterOrExpression=function(e){},i.prototype.exitOrExpression=function(e){},i.prototype.enterXorExpression=function(e){},i.prototype.exitXorExpression=function(e){},i.prototype.enterAndExpression=function(e){},i.prototype.exitAndExpression=function(e){},i.prototype.enterNotExpression=function(e){},i.prototype.exitNotExpression=function(e){},i.prototype.enterComparisonExpression=function(e){},i.prototype.exitComparisonExpression=function(e){},i.prototype.enterAddOrSubtractExpression=function(e){},i.prototype.exitAddOrSubtractExpression=function(e){},i.prototype.enterMultiplyDivideModuloExpression=function(e){},i.prototype.exitMultiplyDivideModuloExpression=function(e){},i.prototype.enterPowerOfExpression=function(e){},i.prototype.exitPowerOfExpression=function(e){},i.prototype.enterUnaryAddOrSubtractExpression=function(e){},i.prototype.exitUnaryAddOrSubtractExpression=function(e){},i.prototype.enterStringListNullOperatorExpression=function(e){},i.prototype.exitStringListNullOperatorExpression=function(e){},i.prototype.enterPropertyOrLabelsExpression=function(e){},i.prototype.exitPropertyOrLabelsExpression=function(e){},i.prototype.enterFilterFunction=function(e){},i.prototype.exitFilterFunction=function(e){},i.prototype.enterFilterFunctionName=function(e){},i.prototype.exitFilterFunctionName=function(e){},i.prototype.enterExistsFunction=function(e){},i.prototype.exitExistsFunction=function(e){},i.prototype.enterExistsFunctionName=function(e){},i.prototype.exitExistsFunctionName=function(e){},i.prototype.enterAllFunction=function(e){},i.prototype.exitAllFunction=function(e){},i.prototype.enterAllFunctionName=function(e){},i.prototype.exitAllFunctionName=function(e){},i.prototype.enterAnyFunction=function(e){},i.prototype.exitAnyFunction=function(e){},i.prototype.enterAnyFunctionName=function(e){},i.prototype.exitAnyFunctionName=function(e){},i.prototype.enterNoneFunction=function(e){},i.prototype.exitNoneFunction=function(e){},i.prototype.enterNoneFunctionName=function(e){},i.prototype.exitNoneFunctionName=function(e){},i.prototype.enterSingleFunction=function(e){},i.prototype.exitSingleFunction=function(e){},i.prototype.enterSingleFunctionName=function(e){},i.prototype.exitSingleFunctionName=function(e){},i.prototype.enterExtractFunction=function(e){},i.prototype.exitExtractFunction=function(e){},i.prototype.enterExtractFunctionName=function(e){},i.prototype.exitExtractFunctionName=function(e){},i.prototype.enterReduceFunction=function(e){},i.prototype.exitReduceFunction=function(e){},i.prototype.enterReduceFunctionName=function(e){},i.prototype.exitReduceFunctionName=function(e){},i.prototype.enterShortestPathPatternFunction=function(e){},i.prototype.exitShortestPathPatternFunction=function(e){},i.prototype.enterShortestPathFunctionName=function(e){},i.prototype.exitShortestPathFunctionName=function(e){},i.prototype.enterAllShortestPathFunctionName=function(e){},i.prototype.exitAllShortestPathFunctionName=function(e){},i.prototype.enterAtom=function(e){},i.prototype.exitAtom=function(e){},i.prototype.enterLiteral=function(e){},i.prototype.exitLiteral=function(e){},i.prototype.enterStringLiteral=function(e){},i.prototype.exitStringLiteral=function(e){},i.prototype.enterBooleanLiteral=function(e){},i.prototype.exitBooleanLiteral=function(e){},i.prototype.enterListLiteral=function(e){},i.prototype.exitListLiteral=function(e){},i.prototype.enterPartialComparisonExpression=function(e){},i.prototype.exitPartialComparisonExpression=function(e){},i.prototype.enterParenthesizedExpression=function(e){},i.prototype.exitParenthesizedExpression=function(e){},i.prototype.enterRelationshipsPattern=function(e){},i.prototype.exitRelationshipsPattern=function(e){},i.prototype.enterFilterExpression=function(e){},i.prototype.exitFilterExpression=function(e){},i.prototype.enterIdInColl=function(e){},i.prototype.exitIdInColl=function(e){},i.prototype.enterFunctionInvocation=function(e){},i.prototype.exitFunctionInvocation=function(e){},i.prototype.enterFunctionInvocationBody=function(e){},i.prototype.exitFunctionInvocationBody=function(e){},i.prototype.enterFunctionName=function(e){},i.prototype.exitFunctionName=function(e){},i.prototype.enterProcedureName=function(e){},i.prototype.exitProcedureName=function(e){},i.prototype.enterListComprehension=function(e){},i.prototype.exitListComprehension=function(e){},i.prototype.enterPatternComprehension=function(e){},i.prototype.exitPatternComprehension=function(e){},i.prototype.enterPropertyLookup=function(e){},i.prototype.exitPropertyLookup=function(e){},i.prototype.enterCaseExpression=function(e){},i.prototype.exitCaseExpression=function(e){},i.prototype.enterCaseAlternatives=function(e){},i.prototype.exitCaseAlternatives=function(e){},i.prototype.enterVariable=function(e){},i.prototype.exitVariable=function(e){},i.prototype.enterNumberLiteral=function(e){},i.prototype.exitNumberLiteral=function(e){},i.prototype.enterMapLiteral=function(e){},i.prototype.exitMapLiteral=function(e){},i.prototype.enterMapProjection=function(e){},i.prototype.exitMapProjection=function(e){},i.prototype.enterMapProjectionVariants=function(e){},i.prototype.exitMapProjectionVariants=function(e){},i.prototype.enterLiteralEntry=function(e){},i.prototype.exitLiteralEntry=function(e){},i.prototype.enterPropertySelector=function(e){},i.prototype.exitPropertySelector=function(e){},i.prototype.enterVariableSelector=function(e){},i.prototype.exitVariableSelector=function(e){},i.prototype.enterAllPropertiesSelector=function(e){},i.prototype.exitAllPropertiesSelector=function(e){},i.prototype.enterParameter=function(e){},i.prototype.exitParameter=function(e){},i.prototype.enterLegacyParameter=function(e){},i.prototype.exitLegacyParameter=function(e){},i.prototype.enterNewParameter=function(e){},i.prototype.exitNewParameter=function(e){},i.prototype.enterParameterName=function(e){},i.prototype.exitParameterName=function(e){},i.prototype.enterPropertyExpressions=function(e){},i.prototype.exitPropertyExpressions=function(e){},i.prototype.enterPropertyExpression=function(e){},i.prototype.exitPropertyExpression=function(e){},i.prototype.enterPropertyKeys=function(e){},i.prototype.exitPropertyKeys=function(e){},i.prototype.enterPropertyKeyName=function(e){},i.prototype.exitPropertyKeyName=function(e){},i.prototype.enterIntegerLiteral=function(e){},i.prototype.exitIntegerLiteral=function(e){},i.prototype.enterDoubleLiteral=function(e){},i.prototype.exitDoubleLiteral=function(e){},i.prototype.enterNamespace=function(e){},i.prototype.exitNamespace=function(e){},i.prototype.enterLeftArrowHead=function(e){},i.prototype.exitLeftArrowHead=function(e){},i.prototype.enterRightArrowHead=function(e){},i.prototype.exitRightArrowHead=function(e){},i.prototype.enterDash=function(e){},i.prototype.exitDash=function(e){},i.prototype.enterSymbolicName=function(e){},i.prototype.exitSymbolicName=function(e){},i.prototype.enterKeyword=function(e){},i.prototype.exitKeyword=function(e){},t.CypherListener=i},function(e,t,n){(function(e,r){var i;(function(){var o,a="Expected a function",s="__lodash_hash_undefined__",l="__lodash_placeholder__",c=32,u=128,h=1/0,p=9007199254740991,d=NaN,f=4294967295,m=[["ary",u],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",c],["partialRight",64],["rearg",256]],g="[object Arguments]",y="[object Array]",v="[object Boolean]",_="[object Date]",b="[object Error]",E="[object Function]",T="[object GeneratorFunction]",x="[object Map]",S="[object Number]",C="[object Object]",A="[object Promise]",R="[object RegExp]",w="[object Set]",L="[object String]",O="[object Symbol]",N="[object WeakMap]",I="[object ArrayBuffer]",k="[object DataView]",D="[object Float32Array]",P="[object Float64Array]",M="[object Int8Array]",F="[object Int16Array]",H="[object Int32Array]",B="[object Uint8Array]",U="[object Uint8ClampedArray]",j="[object Uint16Array]",G="[object Uint32Array]",Y=/\b__p \+= '';/g,z=/\b(__p \+=) '' \+/g,$=/(__e\(.*?\)|\b__t\)) \+\n'';/g,W=/&(?:amp|lt|gt|quot|#39);/g,V=/[&<>"']/g,K=RegExp(W.source),q=RegExp(V.source),X=/<%-([\s\S]+?)%>/g,Z=/<%([\s\S]+?)%>/g,Q=/<%=([\s\S]+?)%>/g,J=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ee=/^\w*$/,te=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ne=/[\\^$.*+?()[\]{}|]/g,re=RegExp(ne.source),ie=/^\s+|\s+$/g,oe=/^\s+/,ae=/\s+$/,se=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,le=/\{\n\/\* \[wrapped with (.+)\] \*/,ce=/,? & /,ue=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,he=/\\(\\)?/g,pe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,de=/\w*$/,fe=/^[-+]0x[0-9a-f]+$/i,me=/^0b[01]+$/i,ge=/^\[object .+?Constructor\]$/,ye=/^0o[0-7]+$/i,ve=/^(?:0|[1-9]\d*)$/,_e=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,be=/($^)/,Ee=/['\n\r\u2028\u2029\\]/g,Te="\\ud800-\\udfff",xe="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Se="\\u2700-\\u27bf",Ce="a-z\\xdf-\\xf6\\xf8-\\xff",Ae="A-Z\\xc0-\\xd6\\xd8-\\xde",Re="\\ufe0e\\ufe0f",we="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Le="["+Te+"]",Oe="["+we+"]",Ne="["+xe+"]",Ie="\\d+",ke="["+Se+"]",De="["+Ce+"]",Pe="[^"+Te+we+Ie+Se+Ce+Ae+"]",Me="\\ud83c[\\udffb-\\udfff]",Fe="[^"+Te+"]",He="(?:\\ud83c[\\udde6-\\uddff]){2}",Be="[\\ud800-\\udbff][\\udc00-\\udfff]",Ue="["+Ae+"]",je="\\u200d",Ge="(?:"+De+"|"+Pe+")",Ye="(?:"+Ue+"|"+Pe+")",ze="(?:['’](?:d|ll|m|re|s|t|ve))?",$e="(?:['’](?:D|LL|M|RE|S|T|VE))?",We="(?:"+Ne+"|"+Me+")?",Ve="["+Re+"]?",Ke=Ve+We+"(?:"+je+"(?:"+[Fe,He,Be].join("|")+")"+Ve+We+")*",qe="(?:"+[ke,He,Be].join("|")+")"+Ke,Xe="(?:"+[Fe+Ne+"?",Ne,He,Be,Le].join("|")+")",Ze=RegExp("['’]","g"),Qe=RegExp(Ne,"g"),Je=RegExp(Me+"(?="+Me+")|"+Xe+Ke,"g"),et=RegExp([Ue+"?"+De+"+"+ze+"(?="+[Oe,Ue,"$"].join("|")+")",Ye+"+"+$e+"(?="+[Oe,Ue+Ge,"$"].join("|")+")",Ue+"?"+Ge+"+"+ze,Ue+"+"+$e,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ie,qe].join("|"),"g"),tt=RegExp("["+je+Te+xe+Re+"]"),nt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,rt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],it=-1,ot={};ot[D]=ot[P]=ot[M]=ot[F]=ot[H]=ot[B]=ot[U]=ot[j]=ot[G]=!0,ot[g]=ot[y]=ot[I]=ot[v]=ot[k]=ot[_]=ot[b]=ot[E]=ot[x]=ot[S]=ot[C]=ot[R]=ot[w]=ot[L]=ot[N]=!1;var at={};at[g]=at[y]=at[I]=at[k]=at[v]=at[_]=at[D]=at[P]=at[M]=at[F]=at[H]=at[x]=at[S]=at[C]=at[R]=at[w]=at[L]=at[O]=at[B]=at[U]=at[j]=at[G]=!0,at[b]=at[E]=at[N]=!1;var st={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},lt=parseFloat,ct=parseInt,ut="object"==typeof e&&e&&e.Object===Object&&e,ht="object"==typeof self&&self&&self.Object===Object&&self,pt=ut||ht||Function("return this")(),dt="object"==typeof t&&t&&!t.nodeType&&t,ft=dt&&"object"==typeof r&&r&&!r.nodeType&&r,mt=ft&&ft.exports===dt,gt=mt&&ut.process,yt=function(){try{return ft&&ft.require&&ft.require("util").types||gt&>.binding&>.binding("util")}catch(e){}}(),vt=yt&&yt.isArrayBuffer,_t=yt&&yt.isDate,bt=yt&&yt.isMap,Et=yt&&yt.isRegExp,Tt=yt&&yt.isSet,xt=yt&&yt.isTypedArray;function St(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Ct(e,t,n,r){for(var i=-1,o=null==e?0:e.length;++i-1}function Nt(e,t,n){for(var r=-1,i=null==e?0:e.length;++r-1;);return n}function Jt(e,t){for(var n=e.length;n--&&Ut(t,e[n],0)>-1;);return n}var en=$t({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),tn=$t({"&":"&","<":"<",">":">",'"':""","'":"'"});function nn(e){return"\\"+st[e]}function rn(e){return tt.test(e)}function on(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function an(e,t){return function(n){return e(t(n))}}function sn(e,t){for(var n=-1,r=e.length,i=0,o=[];++n",""":'"',"'":"'"}),dn=function e(t){var n,r=(t=null==t?pt:dn.defaults(pt.Object(),t,dn.pick(pt,rt))).Array,i=t.Date,Te=t.Error,xe=t.Function,Se=t.Math,Ce=t.Object,Ae=t.RegExp,Re=t.String,we=t.TypeError,Le=r.prototype,Oe=xe.prototype,Ne=Ce.prototype,Ie=t["__core-js_shared__"],ke=Oe.toString,De=Ne.hasOwnProperty,Pe=0,Me=(n=/[^.]+$/.exec(Ie&&Ie.keys&&Ie.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Fe=Ne.toString,He=ke.call(Ce),Be=pt._,Ue=Ae("^"+ke.call(De).replace(ne,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),je=mt?t.Buffer:o,Ge=t.Symbol,Ye=t.Uint8Array,ze=je?je.allocUnsafe:o,$e=an(Ce.getPrototypeOf,Ce),We=Ce.create,Ve=Ne.propertyIsEnumerable,Ke=Le.splice,qe=Ge?Ge.isConcatSpreadable:o,Xe=Ge?Ge.iterator:o,Je=Ge?Ge.toStringTag:o,tt=function(){try{var e=so(Ce,"defineProperty");return e({},"",{}),e}catch(e){}}(),st=t.clearTimeout!==pt.clearTimeout&&t.clearTimeout,ut=i&&i.now!==pt.Date.now&&i.now,ht=t.setTimeout!==pt.setTimeout&&t.setTimeout,dt=Se.ceil,ft=Se.floor,gt=Ce.getOwnPropertySymbols,yt=je?je.isBuffer:o,Ft=t.isFinite,$t=Le.join,fn=an(Ce.keys,Ce),mn=Se.max,gn=Se.min,yn=i.now,vn=t.parseInt,_n=Se.random,bn=Le.reverse,En=so(t,"DataView"),Tn=so(t,"Map"),xn=so(t,"Promise"),Sn=so(t,"Set"),Cn=so(t,"WeakMap"),An=so(Ce,"create"),Rn=Cn&&new Cn,wn={},Ln=Mo(En),On=Mo(Tn),Nn=Mo(xn),In=Mo(Sn),kn=Mo(Cn),Dn=Ge?Ge.prototype:o,Pn=Dn?Dn.valueOf:o,Mn=Dn?Dn.toString:o;function Fn(e){if(Ja(e)&&!Ga(e)&&!(e instanceof jn)){if(e instanceof Un)return e;if(De.call(e,"__wrapped__"))return Fo(e)}return new Un(e)}var Hn=function(){function e(){}return function(t){if(!Qa(t))return{};if(We)return We(t);e.prototype=t;var n=new e;return e.prototype=o,n}}();function Bn(){}function Un(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=o}function jn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=f,this.__views__=[]}function Gn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t=t?e:t)),e}function or(e,t,n,r,i,a){var s,l=1&t,c=2&t,u=4&t;if(n&&(s=i?n(e,r,i,a):n(e)),s!==o)return s;if(!Qa(e))return e;var h=Ga(e);if(h){if(s=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&De.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(e),!l)return Ci(e,s)}else{var p=uo(e),d=p==E||p==T;if(Wa(e))return _i(e,l);if(p==C||p==g||d&&!i){if(s=c||d?{}:po(e),!l)return c?function(e,t){return Ai(e,co(e),t)}(e,function(e,t){return e&&Ai(t,Os(t),e)}(s,e)):function(e,t){return Ai(e,lo(e),t)}(e,tr(s,e))}else{if(!at[p])return i?e:{};s=function(e,t,n){var r,i=e.constructor;switch(t){case I:return bi(e);case v:case _:return new i(+e);case k:return function(e,t){var n=t?bi(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case D:case P:case M:case F:case H:case B:case U:case j:case G:return Ei(e,n);case x:return new i;case S:case L:return new i(e);case R:return function(e){var t=new e.constructor(e.source,de.exec(e));return t.lastIndex=e.lastIndex,t}(e);case w:return new i;case O:return r=e,Pn?Ce(Pn.call(r)):{}}}(e,p,l)}}a||(a=new Wn);var f=a.get(e);if(f)return f;a.set(e,s),is(e)?e.forEach((function(r){s.add(or(r,t,n,r,e,a))})):es(e)&&e.forEach((function(r,i){s.set(i,or(r,t,n,i,e,a))}));var m=h?o:(u?c?eo:Ji:c?Os:Ls)(e);return At(m||e,(function(r,i){m&&(r=e[i=r]),Qn(s,i,or(r,t,n,i,e,a))})),s}function ar(e,t,n){var r=n.length;if(null==e)return!r;for(e=Ce(e);r--;){var i=n[r],a=t[i],s=e[i];if(s===o&&!(i in e)||!a(s))return!1}return!0}function sr(e,t,n){if("function"!=typeof e)throw new we(a);return Ro((function(){e.apply(o,n)}),t)}function lr(e,t,n,r){var i=-1,o=Ot,a=!0,s=e.length,l=[],c=t.length;if(!s)return l;n&&(t=It(t,qt(n))),r?(o=Nt,a=!1):t.length>=200&&(o=Zt,a=!1,t=new $n(t));e:for(;++i-1},Yn.prototype.set=function(e,t){var n=this.__data__,r=Jn(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},zn.prototype.clear=function(){this.size=0,this.__data__={hash:new Gn,map:new(Tn||Yn),string:new Gn}},zn.prototype.delete=function(e){var t=oo(this,e).delete(e);return this.size-=t?1:0,t},zn.prototype.get=function(e){return oo(this,e).get(e)},zn.prototype.has=function(e){return oo(this,e).has(e)},zn.prototype.set=function(e,t){var n=oo(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},$n.prototype.add=$n.prototype.push=function(e){return this.__data__.set(e,s),this},$n.prototype.has=function(e){return this.__data__.has(e)},Wn.prototype.clear=function(){this.__data__=new Yn,this.size=0},Wn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Wn.prototype.get=function(e){return this.__data__.get(e)},Wn.prototype.has=function(e){return this.__data__.has(e)},Wn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Yn){var r=n.__data__;if(!Tn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new zn(r)}return n.set(e,t),this.size=n.size,this};var cr=Li(yr),ur=Li(vr,!0);function hr(e,t){var n=!0;return cr(e,(function(e,r,i){return n=!!t(e,r,i)})),n}function pr(e,t,n){for(var r=-1,i=e.length;++r0&&n(s)?t>1?fr(s,t-1,n,r,i):kt(i,s):r||(i[i.length]=s)}return i}var mr=Oi(),gr=Oi(!0);function yr(e,t){return e&&mr(e,t,Ls)}function vr(e,t){return e&&gr(e,t,Ls)}function _r(e,t){return Lt(t,(function(t){return qa(e[t])}))}function br(e,t){for(var n=0,r=(t=mi(t,e)).length;null!=e&&nt}function Sr(e,t){return null!=e&&De.call(e,t)}function Cr(e,t){return null!=e&&t in Ce(e)}function Ar(e,t,n){for(var i=n?Nt:Ot,a=e[0].length,s=e.length,l=s,c=r(s),u=1/0,h=[];l--;){var p=e[l];l&&t&&(p=It(p,qt(t))),u=gn(p.length,u),c[l]=!n&&(t||a>=120&&p.length>=120)?new $n(l&&p):o}p=e[0];var d=-1,f=c[0];e:for(;++d=s?l:l*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}));r--;)e[r]=e[r].value;return e}(i)}function jr(e,t,n){for(var r=-1,i=t.length,o={};++r-1;)s!==e&&Ke.call(s,l,1),Ke.call(e,l,1);return e}function Yr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(n==r||i!==o){var o=i;mo(i)?Ke.call(e,i,1):si(e,i)}}return e}function zr(e,t){return e+ft(_n()*(t-e+1))}function $r(e,t){var n="";if(!e||t<1||t>p)return n;do{t%2&&(n+=e),(t=ft(t/2))&&(e+=e)}while(t);return n}function Wr(e,t){return wo(xo(e,t,tl),e+"")}function Vr(e){return Kn(Hs(e))}function Kr(e,t){var n=Hs(e);return No(n,ir(t,0,n.length))}function qr(e,t,n,r){if(!Qa(e))return e;for(var i=-1,a=(t=mi(t,e)).length,s=a-1,l=e;null!=l&&++io?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var a=r(o);++i>>1,a=e[o];null!==a&&!as(a)&&(n?a<=t:a=200){var c=t?null:$i(e);if(c)return ln(c);a=!1,i=Zt,l=new $n}else l=t?[]:s;e:for(;++r=r?e:Jr(e,t,n)}var vi=st||function(e){return pt.clearTimeout(e)};function _i(e,t){if(t)return e.slice();var n=e.length,r=ze?ze(n):new e.constructor(n);return e.copy(r),r}function bi(e){var t=new e.constructor(e.byteLength);return new Ye(t).set(new Ye(e)),t}function Ei(e,t){var n=t?bi(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Ti(e,t){if(e!==t){var n=e!==o,r=null===e,i=e==e,a=as(e),s=t!==o,l=null===t,c=t==t,u=as(t);if(!l&&!u&&!a&&e>t||a&&s&&c&&!l&&!u||r&&s&&c||!n&&c||!i)return 1;if(!r&&!a&&!u&&e1?n[i-1]:o,s=i>2?n[2]:o;for(a=e.length>3&&"function"==typeof a?(i--,a):o,s&&go(n[0],n[1],s)&&(a=i<3?o:a,i=1),t=Ce(t);++r-1?i[a?t[s]:s]:o}}function Pi(e){return Qi((function(t){var n=t.length,r=n,i=Un.prototype.thru;for(e&&t.reverse();r--;){var s=t[r];if("function"!=typeof s)throw new we(a);if(i&&!l&&"wrapper"==no(s))var l=new Un([],!0)}for(r=l?r:n;++r1&&b.reverse(),d&&h<_&&(b.length=h),this&&this!==pt&&this instanceof u&&(A=v||ki(A)),A.apply(C,b)}}function Fi(e,t){return function(n,r){return function(e,t,n,r){return yr(e,(function(e,i,o){t(r,n(e),i,o)})),r}(n,e,t(r),{})}}function Hi(e,t){return function(n,r){var i;if(n===o&&r===o)return t;if(n!==o&&(i=n),r!==o){if(i===o)return r;"string"==typeof n||"string"==typeof r?(n=oi(n),r=oi(r)):(n=ii(n),r=ii(r)),i=e(n,r)}return i}}function Bi(e){return Qi((function(t){return t=It(t,qt(io())),Wr((function(n){var r=this;return e(t,(function(e){return St(e,r,n)}))}))}))}function Ui(e,t){var n=(t=t===o?" ":oi(t)).length;if(n<2)return n?$r(t,e):t;var r=$r(t,dt(e/un(t)));return rn(t)?yi(hn(r),0,e).join(""):r.slice(0,e)}function ji(e){return function(t,n,i){return i&&"number"!=typeof i&&go(t,n,i)&&(n=i=o),t=hs(t),n===o?(n=t,t=0):n=hs(n),function(e,t,n,i){for(var o=-1,a=mn(dt((t-e)/(n||1)),0),s=r(a);a--;)s[i?a:++o]=e,e+=n;return s}(t,n,i=i===o?tl))return!1;var u=a.get(e);if(u&&a.get(t))return u==t;var h=-1,p=!0,d=2&n?new $n:o;for(a.set(e,t),a.set(t,e);++h-1&&e%1==0&&e1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(se,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return At(m,(function(n){var r="_."+n[0];t&n[1]&&!Ot(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(le);return t?t[1].split(ce):[]}(r),n)))}function Oo(e){var t=0,n=0;return function(){var r=yn(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(o,arguments)}}function No(e,t){var n=-1,r=e.length,i=r-1;for(t=t===o?r:t;++n1?e[t-1]:o;return n="function"==typeof n?(e.pop(),n):o,ra(e,n)}));function ua(e){var t=Fn(e);return t.__chain__=!0,t}function ha(e,t){return t(e)}var pa=Qi((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return rr(t,e)};return!(t>1||this.__actions__.length)&&r instanceof jn&&mo(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:ha,args:[i],thisArg:o}),new Un(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(o),e}))):this.thru(i)})),da=Ri((function(e,t,n){De.call(e,n)?++e[n]:nr(e,n,1)})),fa=Di(jo),ma=Di(Go);function ga(e,t){return(Ga(e)?At:cr)(e,io(t,3))}function ya(e,t){return(Ga(e)?Rt:ur)(e,io(t,3))}var va=Ri((function(e,t,n){De.call(e,n)?e[n].push(t):nr(e,n,[t])})),_a=Wr((function(e,t,n){var i=-1,o="function"==typeof t,a=za(e)?r(e.length):[];return cr(e,(function(e){a[++i]=o?St(t,e,n):Rr(e,t,n)})),a})),ba=Ri((function(e,t,n){nr(e,n,t)}));function Ea(e,t){return(Ga(e)?It:Pr)(e,io(t,3))}var Ta=Ri((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]})),xa=Wr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&go(e,t[0],t[1])?t=[]:n>2&&go(t[0],t[1],t[2])&&(t=[t[0]]),Ur(e,fr(t,1),[])})),Sa=ut||function(){return pt.Date.now()};function Ca(e,t,n){return t=n?o:t,t=e&&null==t?e.length:t,Vi(e,u,o,o,o,o,t)}function Aa(e,t){var n;if("function"!=typeof t)throw new we(a);return e=ps(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=o),n}}var Ra=Wr((function(e,t,n){var r=1;if(n.length){var i=sn(n,ro(Ra));r|=c}return Vi(e,r,t,n,i)})),wa=Wr((function(e,t,n){var r=3;if(n.length){var i=sn(n,ro(wa));r|=c}return Vi(t,r,e,n,i)}));function La(e,t,n){var r,i,s,l,c,u,h=0,p=!1,d=!1,f=!0;if("function"!=typeof e)throw new we(a);function m(t){var n=r,a=i;return r=i=o,h=t,l=e.apply(a,n)}function g(e){var n=e-u;return u===o||n>=t||n<0||d&&e-h>=s}function y(){var e=Sa();if(g(e))return v(e);c=Ro(y,function(e){var n=t-(e-u);return d?gn(n,s-(e-h)):n}(e))}function v(e){return c=o,f&&r?m(e):(r=i=o,l)}function _(){var e=Sa(),n=g(e);if(r=arguments,i=this,u=e,n){if(c===o)return function(e){return h=e,c=Ro(y,t),p?m(e):l}(u);if(d)return vi(c),c=Ro(y,t),m(u)}return c===o&&(c=Ro(y,t)),l}return t=fs(t)||0,Qa(n)&&(p=!!n.leading,s=(d="maxWait"in n)?mn(fs(n.maxWait)||0,t):s,f="trailing"in n?!!n.trailing:f),_.cancel=function(){c!==o&&vi(c),h=0,r=u=i=c=o},_.flush=function(){return c===o?l:v(Sa())},_}var Oa=Wr((function(e,t){return sr(e,1,t)})),Na=Wr((function(e,t,n){return sr(e,fs(t)||0,n)}));function Ia(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new we(a);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(Ia.Cache||zn),n}function ka(e){if("function"!=typeof e)throw new we(a);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Ia.Cache=zn;var Da=gi((function(e,t){var n=(t=1==t.length&&Ga(t[0])?It(t[0],qt(io())):It(fr(t,1),qt(io()))).length;return Wr((function(r){for(var i=-1,o=gn(r.length,n);++i=t})),ja=wr(function(){return arguments}())?wr:function(e){return Ja(e)&&De.call(e,"callee")&&!Ve.call(e,"callee")},Ga=r.isArray,Ya=vt?qt(vt):function(e){return Ja(e)&&Tr(e)==I};function za(e){return null!=e&&Za(e.length)&&!qa(e)}function $a(e){return Ja(e)&&za(e)}var Wa=yt||fl,Va=_t?qt(_t):function(e){return Ja(e)&&Tr(e)==_};function Ka(e){if(!Ja(e))return!1;var t=Tr(e);return t==b||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!ns(e)}function qa(e){if(!Qa(e))return!1;var t=Tr(e);return t==E||t==T||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Xa(e){return"number"==typeof e&&e==ps(e)}function Za(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=p}function Qa(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Ja(e){return null!=e&&"object"==typeof e}var es=bt?qt(bt):function(e){return Ja(e)&&uo(e)==x};function ts(e){return"number"==typeof e||Ja(e)&&Tr(e)==S}function ns(e){if(!Ja(e)||Tr(e)!=C)return!1;var t=$e(e);if(null===t)return!0;var n=De.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&ke.call(n)==He}var rs=Et?qt(Et):function(e){return Ja(e)&&Tr(e)==R},is=Tt?qt(Tt):function(e){return Ja(e)&&uo(e)==w};function os(e){return"string"==typeof e||!Ga(e)&&Ja(e)&&Tr(e)==L}function as(e){return"symbol"==typeof e||Ja(e)&&Tr(e)==O}var ss=xt?qt(xt):function(e){return Ja(e)&&Za(e.length)&&!!ot[Tr(e)]},ls=Gi(Dr),cs=Gi((function(e,t){return e<=t}));function us(e){if(!e)return[];if(za(e))return os(e)?hn(e):Ci(e);if(Xe&&e[Xe])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Xe]());var t=uo(e);return(t==x?on:t==w?ln:Hs)(e)}function hs(e){return e?(e=fs(e))===h||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function ps(e){var t=hs(e),n=t%1;return t==t?n?t-n:t:0}function ds(e){return e?ir(ps(e),0,f):0}function fs(e){if("number"==typeof e)return e;if(as(e))return d;if(Qa(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Qa(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(ie,"");var n=me.test(e);return n||ye.test(e)?ct(e.slice(2),n?2:8):fe.test(e)?d:+e}function ms(e){return Ai(e,Os(e))}function gs(e){return null==e?"":oi(e)}var ys=wi((function(e,t){if(bo(t)||za(t))Ai(t,Ls(t),e);else for(var n in t)De.call(t,n)&&Qn(e,n,t[n])})),vs=wi((function(e,t){Ai(t,Os(t),e)})),_s=wi((function(e,t,n,r){Ai(t,Os(t),e,r)})),bs=wi((function(e,t,n,r){Ai(t,Ls(t),e,r)})),Es=Qi(rr),Ts=Wr((function(e,t){e=Ce(e);var n=-1,r=t.length,i=r>2?t[2]:o;for(i&&go(t[0],t[1],i)&&(r=1);++n1),t})),Ai(e,eo(e),n),r&&(n=or(n,7,Xi));for(var i=t.length;i--;)si(n,t[i]);return n})),Ds=Qi((function(e,t){return null==e?{}:function(e,t){return jr(e,t,(function(t,n){return Cs(e,n)}))}(e,t)}));function Ps(e,t){if(null==e)return{};var n=It(eo(e),(function(e){return[e]}));return t=io(t),jr(e,n,(function(e,n){return t(e,n[0])}))}var Ms=Wi(Ls),Fs=Wi(Os);function Hs(e){return null==e?[]:Xt(e,Ls(e))}var Bs=Ii((function(e,t,n){return t=t.toLowerCase(),e+(n?Us(t):t)}));function Us(e){return Ks(gs(e).toLowerCase())}function js(e){return(e=gs(e))&&e.replace(_e,en).replace(Qe,"")}var Gs=Ii((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Ys=Ii((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),zs=Ni("toLowerCase"),$s=Ii((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()})),Ws=Ii((function(e,t,n){return e+(n?" ":"")+Ks(t)})),Vs=Ii((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Ks=Ni("toUpperCase");function qs(e,t,n){return e=gs(e),(t=n?o:t)===o?function(e){return nt.test(e)}(e)?function(e){return e.match(et)||[]}(e):function(e){return e.match(ue)||[]}(e):e.match(t)||[]}var Xs=Wr((function(e,t){try{return St(e,o,t)}catch(e){return Ka(e)?e:new Te(e)}})),Zs=Qi((function(e,t){return At(t,(function(t){t=Po(t),nr(e,t,Ra(e[t],e))})),e}));function Qs(e){return function(){return e}}var Js=Pi(),el=Pi(!0);function tl(e){return e}function nl(e){return Ir("function"==typeof e?e:or(e,1))}var rl=Wr((function(e,t){return function(n){return Rr(n,e,t)}})),il=Wr((function(e,t){return function(n){return Rr(e,n,t)}}));function ol(e,t,n){var r=Ls(t),i=_r(t,r);null!=n||Qa(t)&&(i.length||!r.length)||(n=t,t=e,e=this,i=_r(t,Ls(t)));var o=!(Qa(n)&&"chain"in n&&!n.chain),a=qa(e);return At(i,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__);return(n.__actions__=Ci(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,kt([this.value()],arguments))})})),e}function al(){}var sl=Bi(It),ll=Bi(wt),cl=Bi(Mt);function ul(e){return yo(e)?zt(Po(e)):function(e){return function(t){return br(t,e)}}(e)}var hl=ji(),pl=ji(!0);function dl(){return[]}function fl(){return!1}var ml,gl=Hi((function(e,t){return e+t}),0),yl=zi("ceil"),vl=Hi((function(e,t){return e/t}),1),_l=zi("floor"),bl=Hi((function(e,t){return e*t}),1),El=zi("round"),Tl=Hi((function(e,t){return e-t}),0);return Fn.after=function(e,t){if("function"!=typeof t)throw new we(a);return e=ps(e),function(){if(--e<1)return t.apply(this,arguments)}},Fn.ary=Ca,Fn.assign=ys,Fn.assignIn=vs,Fn.assignInWith=_s,Fn.assignWith=bs,Fn.at=Es,Fn.before=Aa,Fn.bind=Ra,Fn.bindAll=Zs,Fn.bindKey=wa,Fn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Ga(e)?e:[e]},Fn.chain=ua,Fn.chunk=function(e,t,n){t=(n?go(e,t,n):t===o)?1:mn(ps(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var a=0,s=0,l=r(dt(i/t));ai?0:i+n),(r=r===o||r>i?i:ps(r))<0&&(r+=i),r=n>r?0:ds(r);n>>0)?(e=gs(e))&&("string"==typeof t||null!=t&&!rs(t))&&!(t=oi(t))&&rn(e)?yi(hn(e),0,n):e.split(t,n):[]},Fn.spread=function(e,t){if("function"!=typeof e)throw new we(a);return t=null==t?0:mn(ps(t),0),Wr((function(n){var r=n[t],i=yi(n,0,t);return r&&kt(i,r),St(e,this,i)}))},Fn.tail=function(e){var t=null==e?0:e.length;return t?Jr(e,1,t):[]},Fn.take=function(e,t,n){return e&&e.length?Jr(e,0,(t=n||t===o?1:ps(t))<0?0:t):[]},Fn.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?Jr(e,(t=r-(t=n||t===o?1:ps(t)))<0?0:t,r):[]},Fn.takeRightWhile=function(e,t){return e&&e.length?ci(e,io(t,3),!1,!0):[]},Fn.takeWhile=function(e,t){return e&&e.length?ci(e,io(t,3)):[]},Fn.tap=function(e,t){return t(e),e},Fn.throttle=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new we(a);return Qa(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),La(e,t,{leading:r,maxWait:t,trailing:i})},Fn.thru=ha,Fn.toArray=us,Fn.toPairs=Ms,Fn.toPairsIn=Fs,Fn.toPath=function(e){return Ga(e)?It(e,Po):as(e)?[e]:Ci(Do(gs(e)))},Fn.toPlainObject=ms,Fn.transform=function(e,t,n){var r=Ga(e),i=r||Wa(e)||ss(e);if(t=io(t,4),null==n){var o=e&&e.constructor;n=i?r?new o:[]:Qa(e)&&qa(o)?Hn($e(e)):{}}return(i?At:yr)(e,(function(e,r,i){return t(n,e,r,i)})),n},Fn.unary=function(e){return Ca(e,1)},Fn.union=Jo,Fn.unionBy=ea,Fn.unionWith=ta,Fn.uniq=function(e){return e&&e.length?ai(e):[]},Fn.uniqBy=function(e,t){return e&&e.length?ai(e,io(t,2)):[]},Fn.uniqWith=function(e,t){return t="function"==typeof t?t:o,e&&e.length?ai(e,o,t):[]},Fn.unset=function(e,t){return null==e||si(e,t)},Fn.unzip=na,Fn.unzipWith=ra,Fn.update=function(e,t,n){return null==e?e:li(e,t,fi(n))},Fn.updateWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:li(e,t,fi(n),r)},Fn.values=Hs,Fn.valuesIn=function(e){return null==e?[]:Xt(e,Os(e))},Fn.without=ia,Fn.words=qs,Fn.wrap=function(e,t){return Pa(fi(t),e)},Fn.xor=oa,Fn.xorBy=aa,Fn.xorWith=sa,Fn.zip=la,Fn.zipObject=function(e,t){return pi(e||[],t||[],Qn)},Fn.zipObjectDeep=function(e,t){return pi(e||[],t||[],qr)},Fn.zipWith=ca,Fn.entries=Ms,Fn.entriesIn=Fs,Fn.extend=vs,Fn.extendWith=_s,ol(Fn,Fn),Fn.add=gl,Fn.attempt=Xs,Fn.camelCase=Bs,Fn.capitalize=Us,Fn.ceil=yl,Fn.clamp=function(e,t,n){return n===o&&(n=t,t=o),n!==o&&(n=(n=fs(n))==n?n:0),t!==o&&(t=(t=fs(t))==t?t:0),ir(fs(e),t,n)},Fn.clone=function(e){return or(e,4)},Fn.cloneDeep=function(e){return or(e,5)},Fn.cloneDeepWith=function(e,t){return or(e,5,t="function"==typeof t?t:o)},Fn.cloneWith=function(e,t){return or(e,4,t="function"==typeof t?t:o)},Fn.conformsTo=function(e,t){return null==t||ar(e,t,Ls(t))},Fn.deburr=js,Fn.defaultTo=function(e,t){return null==e||e!=e?t:e},Fn.divide=vl,Fn.endsWith=function(e,t,n){e=gs(e),t=oi(t);var r=e.length,i=n=n===o?r:ir(ps(n),0,r);return(n-=t.length)>=0&&e.slice(n,i)==t},Fn.eq=Ha,Fn.escape=function(e){return(e=gs(e))&&q.test(e)?e.replace(V,tn):e},Fn.escapeRegExp=function(e){return(e=gs(e))&&re.test(e)?e.replace(ne,"\\$&"):e},Fn.every=function(e,t,n){var r=Ga(e)?wt:hr;return n&&go(e,t,n)&&(t=o),r(e,io(t,3))},Fn.find=fa,Fn.findIndex=jo,Fn.findKey=function(e,t){return Ht(e,io(t,3),yr)},Fn.findLast=ma,Fn.findLastIndex=Go,Fn.findLastKey=function(e,t){return Ht(e,io(t,3),vr)},Fn.floor=_l,Fn.forEach=ga,Fn.forEachRight=ya,Fn.forIn=function(e,t){return null==e?e:mr(e,io(t,3),Os)},Fn.forInRight=function(e,t){return null==e?e:gr(e,io(t,3),Os)},Fn.forOwn=function(e,t){return e&&yr(e,io(t,3))},Fn.forOwnRight=function(e,t){return e&&vr(e,io(t,3))},Fn.get=Ss,Fn.gt=Ba,Fn.gte=Ua,Fn.has=function(e,t){return null!=e&&ho(e,t,Sr)},Fn.hasIn=Cs,Fn.head=zo,Fn.identity=tl,Fn.includes=function(e,t,n,r){e=za(e)?e:Hs(e),n=n&&!r?ps(n):0;var i=e.length;return n<0&&(n=mn(i+n,0)),os(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&Ut(e,t,n)>-1},Fn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:ps(n);return i<0&&(i=mn(r+i,0)),Ut(e,t,i)},Fn.inRange=function(e,t,n){return t=hs(t),n===o?(n=t,t=0):n=hs(n),function(e,t,n){return e>=gn(t,n)&&e=-9007199254740991&&e<=p},Fn.isSet=is,Fn.isString=os,Fn.isSymbol=as,Fn.isTypedArray=ss,Fn.isUndefined=function(e){return e===o},Fn.isWeakMap=function(e){return Ja(e)&&uo(e)==N},Fn.isWeakSet=function(e){return Ja(e)&&"[object WeakSet]"==Tr(e)},Fn.join=function(e,t){return null==e?"":$t.call(e,t)},Fn.kebabCase=Gs,Fn.last=Ko,Fn.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r;return n!==o&&(i=(i=ps(n))<0?mn(r+i,0):gn(i,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,i):Bt(e,Gt,i,!0)},Fn.lowerCase=Ys,Fn.lowerFirst=zs,Fn.lt=ls,Fn.lte=cs,Fn.max=function(e){return e&&e.length?pr(e,tl,xr):o},Fn.maxBy=function(e,t){return e&&e.length?pr(e,io(t,2),xr):o},Fn.mean=function(e){return Yt(e,tl)},Fn.meanBy=function(e,t){return Yt(e,io(t,2))},Fn.min=function(e){return e&&e.length?pr(e,tl,Dr):o},Fn.minBy=function(e,t){return e&&e.length?pr(e,io(t,2),Dr):o},Fn.stubArray=dl,Fn.stubFalse=fl,Fn.stubObject=function(){return{}},Fn.stubString=function(){return""},Fn.stubTrue=function(){return!0},Fn.multiply=bl,Fn.nth=function(e,t){return e&&e.length?Br(e,ps(t)):o},Fn.noConflict=function(){return pt._===this&&(pt._=Be),this},Fn.noop=al,Fn.now=Sa,Fn.pad=function(e,t,n){e=gs(e);var r=(t=ps(t))?un(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return Ui(ft(i),n)+e+Ui(dt(i),n)},Fn.padEnd=function(e,t,n){e=gs(e);var r=(t=ps(t))?un(e):0;return t&&rt){var r=e;e=t,t=r}if(n||e%1||t%1){var i=_n();return gn(e+i*(t-e+lt("1e-"+((i+"").length-1))),t)}return zr(e,t)},Fn.reduce=function(e,t,n){var r=Ga(e)?Dt:Wt,i=arguments.length<3;return r(e,io(t,4),n,i,cr)},Fn.reduceRight=function(e,t,n){var r=Ga(e)?Pt:Wt,i=arguments.length<3;return r(e,io(t,4),n,i,ur)},Fn.repeat=function(e,t,n){return t=(n?go(e,t,n):t===o)?1:ps(t),$r(gs(e),t)},Fn.replace=function(){var e=arguments,t=gs(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Fn.result=function(e,t,n){var r=-1,i=(t=mi(t,e)).length;for(i||(i=1,e=o);++rp)return[];var n=f,r=gn(e,f);t=io(t),e-=f;for(var i=Kt(r,t);++n=a)return e;var l=n-un(r);if(l<1)return r;var c=s?yi(s,0,l).join(""):e.slice(0,l);if(i===o)return c+r;if(s&&(l+=c.length-l),rs(i)){if(e.slice(l).search(i)){var u,h=c;for(i.global||(i=Ae(i.source,gs(de.exec(i))+"g")),i.lastIndex=0;u=i.exec(h);)var p=u.index;c=c.slice(0,p===o?l:p)}}else if(e.indexOf(oi(i),l)!=l){var d=c.lastIndexOf(i);d>-1&&(c=c.slice(0,d))}return c+r},Fn.unescape=function(e){return(e=gs(e))&&K.test(e)?e.replace(W,pn):e},Fn.uniqueId=function(e){var t=++Pe;return gs(e)+t},Fn.upperCase=Vs,Fn.upperFirst=Ks,Fn.each=ga,Fn.eachRight=ya,Fn.first=zo,ol(Fn,(ml={},yr(Fn,(function(e,t){De.call(Fn.prototype,t)||(ml[t]=e)})),ml),{chain:!1}),Fn.VERSION="4.17.15",At(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Fn[e].placeholder=Fn})),At(["drop","take"],(function(e,t){jn.prototype[e]=function(n){n=n===o?1:mn(ps(n),0);var r=this.__filtered__&&!t?new jn(this):this.clone();return r.__filtered__?r.__takeCount__=gn(n,r.__takeCount__):r.__views__.push({size:gn(n,f),type:e+(r.__dir__<0?"Right":"")}),r},jn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),At(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;jn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:io(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),At(["head","last"],(function(e,t){var n="take"+(t?"Right":"");jn.prototype[e]=function(){return this[n](1).value()[0]}})),At(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");jn.prototype[e]=function(){return this.__filtered__?new jn(this):this[n](1)}})),jn.prototype.compact=function(){return this.filter(tl)},jn.prototype.find=function(e){return this.filter(e).head()},jn.prototype.findLast=function(e){return this.reverse().find(e)},jn.prototype.invokeMap=Wr((function(e,t){return"function"==typeof e?new jn(this):this.map((function(n){return Rr(n,e,t)}))})),jn.prototype.reject=function(e){return this.filter(ka(io(e)))},jn.prototype.slice=function(e,t){e=ps(e);var n=this;return n.__filtered__&&(e>0||t<0)?new jn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==o&&(n=(t=ps(t))<0?n.dropRight(-t):n.take(t-e)),n)},jn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},jn.prototype.toArray=function(){return this.take(f)},yr(jn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=Fn[r?"take"+("last"==t?"Right":""):t],a=r||/^find/.test(t);i&&(Fn.prototype[t]=function(){var t=this.__wrapped__,s=r?[1]:arguments,l=t instanceof jn,c=s[0],u=l||Ga(t),h=function(e){var t=i.apply(Fn,kt([e],s));return r&&p?t[0]:t};u&&n&&"function"==typeof c&&1!=c.length&&(l=u=!1);var p=this.__chain__,d=!!this.__actions__.length,f=a&&!p,m=l&&!d;if(!a&&u){t=m?t:new jn(this);var g=e.apply(t,s);return g.__actions__.push({func:ha,args:[h],thisArg:o}),new Un(g,p)}return f&&m?e.apply(this,s):(g=this.thru(h),f?r?g.value()[0]:g.value():g)})})),At(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Le[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Fn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return t.apply(Ga(i)?i:[],e)}return this[n]((function(n){return t.apply(Ga(n)?n:[],e)}))}})),yr(jn.prototype,(function(e,t){var n=Fn[t];if(n){var r=n.name+"";De.call(wn,r)||(wn[r]=[]),wn[r].push({name:t,func:n})}})),wn[Mi(o,2).name]=[{name:"wrapper",func:o}],jn.prototype.clone=function(){var e=new jn(this.__wrapped__);return e.__actions__=Ci(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Ci(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Ci(this.__views__),e},jn.prototype.reverse=function(){if(this.__filtered__){var e=new jn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},jn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Ga(e),r=t<0,i=n?e.length:0,o=function(e,t,n){for(var r=-1,i=n.length;++r=this.__values__.length;return{done:e,value:e?o:this.__values__[this.__index__++]}},Fn.prototype.plant=function(e){for(var t,n=this;n instanceof Bn;){var r=Fo(n);r.__index__=0,r.__values__=o,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t},Fn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof jn){var t=e;return this.__actions__.length&&(t=new jn(this)),(t=t.reverse()).__actions__.push({func:ha,args:[Qo],thisArg:o}),new Un(t,this.__chain__)}return this.thru(Qo)},Fn.prototype.toJSON=Fn.prototype.valueOf=Fn.prototype.value=function(){return ui(this.__wrapped__,this.__actions__)},Fn.prototype.first=Fn.prototype.head,Xe&&(Fn.prototype[Xe]=function(){return this}),Fn}();pt._=dn,(i=function(){return dn}.call(t,n,t,r))===o||(r.exports=i)}).call(this)}).call(t,n(71),n(72)(e))},function(e,t,n){(function(){var e,r;e=n(24).sep,t.basenameScore=function(n,r,i){var o,a,s,l,c;for(a=n.length-1;n[a]===e;)a--;for(c=0,s=a,o=null;a>=0;)n[a]===e?(c++,null==o&&(o=n.substring(a+1,s+1))):0===a&&(s1&&void 0!==arguments[1]?arguments[1]:null;if(null==t)return this.index.referencesByName[e];var n=this.queries.indexOf(t);return(this.index.referencesByQueryAndName[n]||{})[e]}},{key:"getNames",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(null==e)return this.index.names;var t=this.queries.indexOf(e);return this.index.namesByQuery[t]||[]}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorListener=void 0;var r,i=function(){function e(e,t){for(var n=0;n' expecting {';', SP}"!==i&&"missing ';' at ''"!==i&&"mismatched input '' expecting {':', CYPHER, EXPLAIN, PROFILE, USING, CREATE, DROP, LOAD, WITH, OPTIONAL, MATCH, UNWIND, MERGE, SET, DETACH, DELETE, REMOVE, FOREACH, RETURN, START, CALL}"!==i&&this.errors.push({line:n,col:r,msg:i})}}]),t}(o.default.error.ErrorListener)},function(e,t,n){"use strict";var r=n(6);function i(){return r.tree.ParseTreeListener.call(this),this}i.prototype=Object.create(r.tree.ParseTreeListener.prototype),i.prototype.constructor=i,i.prototype.enterRaw=function(e){},i.prototype.exitRaw=function(e){},i.prototype.enterCypher=function(e){},i.prototype.exitCypher=function(e){},i.prototype.enterCypherPart=function(e){},i.prototype.exitCypherPart=function(e){},i.prototype.enterCypherConsoleCommand=function(e){},i.prototype.exitCypherConsoleCommand=function(e){},i.prototype.enterCypherConsoleCommandName=function(e){},i.prototype.exitCypherConsoleCommandName=function(e){},i.prototype.enterCypherConsoleCommandParameters=function(e){},i.prototype.exitCypherConsoleCommandParameters=function(e){},i.prototype.enterCypherConsoleCommandParameter=function(e){},i.prototype.exitCypherConsoleCommandParameter=function(e){},i.prototype.enterArrowExpression=function(e){},i.prototype.exitArrowExpression=function(e){},i.prototype.enterUrl=function(e){},i.prototype.exitUrl=function(e){},i.prototype.enterUri=function(e){},i.prototype.exitUri=function(e){},i.prototype.enterScheme=function(e){},i.prototype.exitScheme=function(e){},i.prototype.enterHost=function(e){},i.prototype.exitHost=function(e){},i.prototype.enterHostname=function(e){},i.prototype.exitHostname=function(e){},i.prototype.enterHostnumber=function(e){},i.prototype.exitHostnumber=function(e){},i.prototype.enterPort=function(e){},i.prototype.exitPort=function(e){},i.prototype.enterPath=function(e){},i.prototype.exitPath=function(e){},i.prototype.enterUser=function(e){},i.prototype.exitUser=function(e){},i.prototype.enterLogin=function(e){},i.prototype.exitLogin=function(e){},i.prototype.enterPassword=function(e){},i.prototype.exitPassword=function(e){},i.prototype.enterFrag=function(e){},i.prototype.exitFrag=function(e){},i.prototype.enterUrlQuery=function(e){},i.prototype.exitUrlQuery=function(e){},i.prototype.enterSearch=function(e){},i.prototype.exitSearch=function(e){},i.prototype.enterSearchparameter=function(e){},i.prototype.exitSearchparameter=function(e){},i.prototype.enterString=function(e){},i.prototype.exitString=function(e){},i.prototype.enterUrlDigits=function(e){},i.prototype.exitUrlDigits=function(e){},i.prototype.enterJson=function(e){},i.prototype.exitJson=function(e){},i.prototype.enterObj=function(e){},i.prototype.exitObj=function(e){},i.prototype.enterPair=function(e){},i.prototype.exitPair=function(e){},i.prototype.enterArray=function(e){},i.prototype.exitArray=function(e){},i.prototype.enterValue=function(e){},i.prototype.exitValue=function(e){},i.prototype.enterKeyValueLiteral=function(e){},i.prototype.exitKeyValueLiteral=function(e){},i.prototype.enterCommandPath=function(e){},i.prototype.exitCommandPath=function(e){},i.prototype.enterSubCommand=function(e){},i.prototype.exitSubCommand=function(e){},i.prototype.enterCypherQuery=function(e){},i.prototype.exitCypherQuery=function(e){},i.prototype.enterQueryOptions=function(e){},i.prototype.exitQueryOptions=function(e){},i.prototype.enterAnyCypherOption=function(e){},i.prototype.exitAnyCypherOption=function(e){},i.prototype.enterCypherOption=function(e){},i.prototype.exitCypherOption=function(e){},i.prototype.enterVersionNumber=function(e){},i.prototype.exitVersionNumber=function(e){},i.prototype.enterExplain=function(e){},i.prototype.exitExplain=function(e){},i.prototype.enterProfile=function(e){},i.prototype.exitProfile=function(e){},i.prototype.enterConfigurationOption=function(e){},i.prototype.exitConfigurationOption=function(e){},i.prototype.enterStatement=function(e){},i.prototype.exitStatement=function(e){},i.prototype.enterQuery=function(e){},i.prototype.exitQuery=function(e){},i.prototype.enterRegularQuery=function(e){},i.prototype.exitRegularQuery=function(e){},i.prototype.enterBulkImportQuery=function(e){},i.prototype.exitBulkImportQuery=function(e){},i.prototype.enterSingleQuery=function(e){},i.prototype.exitSingleQuery=function(e){},i.prototype.enterPeriodicCommitHint=function(e){},i.prototype.exitPeriodicCommitHint=function(e){},i.prototype.enterLoadCSVQuery=function(e){},i.prototype.exitLoadCSVQuery=function(e){},i.prototype.enterUnion=function(e){},i.prototype.exitUnion=function(e){},i.prototype.enterClause=function(e){},i.prototype.exitClause=function(e){},i.prototype.enterCommand=function(e){},i.prototype.exitCommand=function(e){},i.prototype.enterCreateUniqueConstraint=function(e){},i.prototype.exitCreateUniqueConstraint=function(e){},i.prototype.enterCreateNodeKeyConstraint=function(e){},i.prototype.exitCreateNodeKeyConstraint=function(e){},i.prototype.enterCreateNodePropertyExistenceConstraint=function(e){},i.prototype.exitCreateNodePropertyExistenceConstraint=function(e){},i.prototype.enterCreateRelationshipPropertyExistenceConstraint=function(e){},i.prototype.exitCreateRelationshipPropertyExistenceConstraint=function(e){},i.prototype.enterCreateIndex=function(e){},i.prototype.exitCreateIndex=function(e){},i.prototype.enterDropUniqueConstraint=function(e){},i.prototype.exitDropUniqueConstraint=function(e){},i.prototype.enterDropNodeKeyConstraint=function(e){},i.prototype.exitDropNodeKeyConstraint=function(e){},i.prototype.enterDropNodePropertyExistenceConstraint=function(e){},i.prototype.exitDropNodePropertyExistenceConstraint=function(e){},i.prototype.enterDropRelationshipPropertyExistenceConstraint=function(e){},i.prototype.exitDropRelationshipPropertyExistenceConstraint=function(e){},i.prototype.enterDropIndex=function(e){},i.prototype.exitDropIndex=function(e){},i.prototype.enterIndex=function(e){},i.prototype.exitIndex=function(e){},i.prototype.enterUniqueConstraint=function(e){},i.prototype.exitUniqueConstraint=function(e){},i.prototype.enterNodeKeyConstraint=function(e){},i.prototype.exitNodeKeyConstraint=function(e){},i.prototype.enterNodePropertyExistenceConstraint=function(e){},i.prototype.exitNodePropertyExistenceConstraint=function(e){},i.prototype.enterRelationshipPropertyExistenceConstraint=function(e){},i.prototype.exitRelationshipPropertyExistenceConstraint=function(e){},i.prototype.enterRelationshipPatternSyntax=function(e){},i.prototype.exitRelationshipPatternSyntax=function(e){},i.prototype.enterLoadCSVClause=function(e){},i.prototype.exitLoadCSVClause=function(e){},i.prototype.enterMatchClause=function(e){},i.prototype.exitMatchClause=function(e){},i.prototype.enterUnwindClause=function(e){},i.prototype.exitUnwindClause=function(e){},i.prototype.enterMergeClause=function(e){},i.prototype.exitMergeClause=function(e){},i.prototype.enterMergeAction=function(e){},i.prototype.exitMergeAction=function(e){},i.prototype.enterCreateClause=function(e){},i.prototype.exitCreateClause=function(e){},i.prototype.enterCreateUniqueClause=function(e){},i.prototype.exitCreateUniqueClause=function(e){},i.prototype.enterSetClause=function(e){},i.prototype.exitSetClause=function(e){},i.prototype.enterSetItem=function(e){},i.prototype.exitSetItem=function(e){},i.prototype.enterDeleteClause=function(e){},i.prototype.exitDeleteClause=function(e){},i.prototype.enterRemoveClause=function(e){},i.prototype.exitRemoveClause=function(e){},i.prototype.enterRemoveItem=function(e){},i.prototype.exitRemoveItem=function(e){},i.prototype.enterForeachClause=function(e){},i.prototype.exitForeachClause=function(e){},i.prototype.enterWithClause=function(e){},i.prototype.exitWithClause=function(e){},i.prototype.enterReturnClause=function(e){},i.prototype.exitReturnClause=function(e){},i.prototype.enterReturnBody=function(e){},i.prototype.exitReturnBody=function(e){},i.prototype.enterFunc=function(e){},i.prototype.exitFunc=function(e){},i.prototype.enterReturnItems=function(e){},i.prototype.exitReturnItems=function(e){},i.prototype.enterReturnItem=function(e){},i.prototype.exitReturnItem=function(e){},i.prototype.enterCall=function(e){},i.prototype.exitCall=function(e){},i.prototype.enterProcedureInvocation=function(e){},i.prototype.exitProcedureInvocation=function(e){},i.prototype.enterProcedureInvocationBody=function(e){},i.prototype.exitProcedureInvocationBody=function(e){},i.prototype.enterProcedureArguments=function(e){},i.prototype.exitProcedureArguments=function(e){},i.prototype.enterProcedureResults=function(e){},i.prototype.exitProcedureResults=function(e){},i.prototype.enterProcedureResult=function(e){},i.prototype.exitProcedureResult=function(e){},i.prototype.enterAliasedProcedureResult=function(e){},i.prototype.exitAliasedProcedureResult=function(e){},i.prototype.enterSimpleProcedureResult=function(e){},i.prototype.exitSimpleProcedureResult=function(e){},i.prototype.enterProcedureOutput=function(e){},i.prototype.exitProcedureOutput=function(e){},i.prototype.enterOrder=function(e){},i.prototype.exitOrder=function(e){},i.prototype.enterSkip=function(e){},i.prototype.exitSkip=function(e){},i.prototype.enterLimit=function(e){},i.prototype.exitLimit=function(e){},i.prototype.enterSortItem=function(e){},i.prototype.exitSortItem=function(e){},i.prototype.enterHint=function(e){},i.prototype.exitHint=function(e){},i.prototype.enterStartClause=function(e){},i.prototype.exitStartClause=function(e){},i.prototype.enterStartPoint=function(e){},i.prototype.exitStartPoint=function(e){},i.prototype.enterLookup=function(e){},i.prototype.exitLookup=function(e){},i.prototype.enterNodeLookup=function(e){},i.prototype.exitNodeLookup=function(e){},i.prototype.enterRelationshipLookup=function(e){},i.prototype.exitRelationshipLookup=function(e){},i.prototype.enterIdentifiedIndexLookup=function(e){},i.prototype.exitIdentifiedIndexLookup=function(e){},i.prototype.enterIndexQuery=function(e){},i.prototype.exitIndexQuery=function(e){},i.prototype.enterIdLookup=function(e){},i.prototype.exitIdLookup=function(e){},i.prototype.enterLiteralIds=function(e){},i.prototype.exitLiteralIds=function(e){},i.prototype.enterWhere=function(e){},i.prototype.exitWhere=function(e){},i.prototype.enterPattern=function(e){},i.prototype.exitPattern=function(e){},i.prototype.enterPatternPart=function(e){},i.prototype.exitPatternPart=function(e){},i.prototype.enterAnonymousPatternPart=function(e){},i.prototype.exitAnonymousPatternPart=function(e){},i.prototype.enterPatternElement=function(e){},i.prototype.exitPatternElement=function(e){},i.prototype.enterNodePattern=function(e){},i.prototype.exitNodePattern=function(e){},i.prototype.enterPatternElementChain=function(e){},i.prototype.exitPatternElementChain=function(e){},i.prototype.enterRelationshipPattern=function(e){},i.prototype.exitRelationshipPattern=function(e){},i.prototype.enterRelationshipPatternStart=function(e){},i.prototype.exitRelationshipPatternStart=function(e){},i.prototype.enterRelationshipPatternEnd=function(e){},i.prototype.exitRelationshipPatternEnd=function(e){},i.prototype.enterRelationshipDetail=function(e){},i.prototype.exitRelationshipDetail=function(e){},i.prototype.enterProperties=function(e){},i.prototype.exitProperties=function(e){},i.prototype.enterRelType=function(e){},i.prototype.exitRelType=function(e){},i.prototype.enterRelationshipTypes=function(e){},i.prototype.exitRelationshipTypes=function(e){},i.prototype.enterRelationshipType=function(e){},i.prototype.exitRelationshipType=function(e){},i.prototype.enterRelationshipTypeOptionalColon=function(e){},i.prototype.exitRelationshipTypeOptionalColon=function(e){},i.prototype.enterNodeLabels=function(e){},i.prototype.exitNodeLabels=function(e){},i.prototype.enterNodeLabel=function(e){},i.prototype.exitNodeLabel=function(e){},i.prototype.enterRangeLiteral=function(e){},i.prototype.exitRangeLiteral=function(e){},i.prototype.enterLabelName=function(e){},i.prototype.exitLabelName=function(e){},i.prototype.enterRelTypeName=function(e){},i.prototype.exitRelTypeName=function(e){},i.prototype.enterExpression=function(e){},i.prototype.exitExpression=function(e){},i.prototype.enterOrExpression=function(e){},i.prototype.exitOrExpression=function(e){},i.prototype.enterXorExpression=function(e){},i.prototype.exitXorExpression=function(e){},i.prototype.enterAndExpression=function(e){},i.prototype.exitAndExpression=function(e){},i.prototype.enterNotExpression=function(e){},i.prototype.exitNotExpression=function(e){},i.prototype.enterComparisonExpression=function(e){},i.prototype.exitComparisonExpression=function(e){},i.prototype.enterAddOrSubtractExpression=function(e){},i.prototype.exitAddOrSubtractExpression=function(e){},i.prototype.enterMultiplyDivideModuloExpression=function(e){},i.prototype.exitMultiplyDivideModuloExpression=function(e){},i.prototype.enterPowerOfExpression=function(e){},i.prototype.exitPowerOfExpression=function(e){},i.prototype.enterUnaryAddOrSubtractExpression=function(e){},i.prototype.exitUnaryAddOrSubtractExpression=function(e){},i.prototype.enterStringListNullOperatorExpression=function(e){},i.prototype.exitStringListNullOperatorExpression=function(e){},i.prototype.enterPropertyOrLabelsExpression=function(e){},i.prototype.exitPropertyOrLabelsExpression=function(e){},i.prototype.enterFilterFunction=function(e){},i.prototype.exitFilterFunction=function(e){},i.prototype.enterFilterFunctionName=function(e){},i.prototype.exitFilterFunctionName=function(e){},i.prototype.enterExistsFunction=function(e){},i.prototype.exitExistsFunction=function(e){},i.prototype.enterExistsFunctionName=function(e){},i.prototype.exitExistsFunctionName=function(e){},i.prototype.enterAllFunction=function(e){},i.prototype.exitAllFunction=function(e){},i.prototype.enterAllFunctionName=function(e){},i.prototype.exitAllFunctionName=function(e){},i.prototype.enterAnyFunction=function(e){},i.prototype.exitAnyFunction=function(e){},i.prototype.enterAnyFunctionName=function(e){},i.prototype.exitAnyFunctionName=function(e){},i.prototype.enterNoneFunction=function(e){},i.prototype.exitNoneFunction=function(e){},i.prototype.enterNoneFunctionName=function(e){},i.prototype.exitNoneFunctionName=function(e){},i.prototype.enterSingleFunction=function(e){},i.prototype.exitSingleFunction=function(e){},i.prototype.enterSingleFunctionName=function(e){},i.prototype.exitSingleFunctionName=function(e){},i.prototype.enterExtractFunction=function(e){},i.prototype.exitExtractFunction=function(e){},i.prototype.enterExtractFunctionName=function(e){},i.prototype.exitExtractFunctionName=function(e){},i.prototype.enterReduceFunction=function(e){},i.prototype.exitReduceFunction=function(e){},i.prototype.enterReduceFunctionName=function(e){},i.prototype.exitReduceFunctionName=function(e){},i.prototype.enterShortestPathPatternFunction=function(e){},i.prototype.exitShortestPathPatternFunction=function(e){},i.prototype.enterShortestPathFunctionName=function(e){},i.prototype.exitShortestPathFunctionName=function(e){},i.prototype.enterAllShortestPathFunctionName=function(e){},i.prototype.exitAllShortestPathFunctionName=function(e){},i.prototype.enterAtom=function(e){},i.prototype.exitAtom=function(e){},i.prototype.enterLiteral=function(e){},i.prototype.exitLiteral=function(e){},i.prototype.enterStringLiteral=function(e){},i.prototype.exitStringLiteral=function(e){},i.prototype.enterBooleanLiteral=function(e){},i.prototype.exitBooleanLiteral=function(e){},i.prototype.enterListLiteral=function(e){},i.prototype.exitListLiteral=function(e){},i.prototype.enterPartialComparisonExpression=function(e){},i.prototype.exitPartialComparisonExpression=function(e){},i.prototype.enterParenthesizedExpression=function(e){},i.prototype.exitParenthesizedExpression=function(e){},i.prototype.enterRelationshipsPattern=function(e){},i.prototype.exitRelationshipsPattern=function(e){},i.prototype.enterFilterExpression=function(e){},i.prototype.exitFilterExpression=function(e){},i.prototype.enterIdInColl=function(e){},i.prototype.exitIdInColl=function(e){},i.prototype.enterFunctionInvocation=function(e){},i.prototype.exitFunctionInvocation=function(e){},i.prototype.enterFunctionInvocationBody=function(e){},i.prototype.exitFunctionInvocationBody=function(e){},i.prototype.enterFunctionName=function(e){},i.prototype.exitFunctionName=function(e){},i.prototype.enterProcedureName=function(e){},i.prototype.exitProcedureName=function(e){},i.prototype.enterListComprehension=function(e){},i.prototype.exitListComprehension=function(e){},i.prototype.enterPatternComprehension=function(e){},i.prototype.exitPatternComprehension=function(e){},i.prototype.enterPropertyLookup=function(e){},i.prototype.exitPropertyLookup=function(e){},i.prototype.enterCaseExpression=function(e){},i.prototype.exitCaseExpression=function(e){},i.prototype.enterCaseAlternatives=function(e){},i.prototype.exitCaseAlternatives=function(e){},i.prototype.enterVariable=function(e){},i.prototype.exitVariable=function(e){},i.prototype.enterNumberLiteral=function(e){},i.prototype.exitNumberLiteral=function(e){},i.prototype.enterMapLiteral=function(e){},i.prototype.exitMapLiteral=function(e){},i.prototype.enterMapProjection=function(e){},i.prototype.exitMapProjection=function(e){},i.prototype.enterMapProjectionVariants=function(e){},i.prototype.exitMapProjectionVariants=function(e){},i.prototype.enterLiteralEntry=function(e){},i.prototype.exitLiteralEntry=function(e){},i.prototype.enterPropertySelector=function(e){},i.prototype.exitPropertySelector=function(e){},i.prototype.enterVariableSelector=function(e){},i.prototype.exitVariableSelector=function(e){},i.prototype.enterAllPropertiesSelector=function(e){},i.prototype.exitAllPropertiesSelector=function(e){},i.prototype.enterParameter=function(e){},i.prototype.exitParameter=function(e){},i.prototype.enterLegacyParameter=function(e){},i.prototype.exitLegacyParameter=function(e){},i.prototype.enterNewParameter=function(e){},i.prototype.exitNewParameter=function(e){},i.prototype.enterParameterName=function(e){},i.prototype.exitParameterName=function(e){},i.prototype.enterPropertyExpressions=function(e){},i.prototype.exitPropertyExpressions=function(e){},i.prototype.enterPropertyExpression=function(e){},i.prototype.exitPropertyExpression=function(e){},i.prototype.enterPropertyKeys=function(e){},i.prototype.exitPropertyKeys=function(e){},i.prototype.enterPropertyKeyName=function(e){},i.prototype.exitPropertyKeyName=function(e){},i.prototype.enterIntegerLiteral=function(e){},i.prototype.exitIntegerLiteral=function(e){},i.prototype.enterDoubleLiteral=function(e){},i.prototype.exitDoubleLiteral=function(e){},i.prototype.enterNamespace=function(e){},i.prototype.exitNamespace=function(e){},i.prototype.enterLeftArrowHead=function(e){},i.prototype.exitLeftArrowHead=function(e){},i.prototype.enterRightArrowHead=function(e){},i.prototype.exitRightArrowHead=function(e){},i.prototype.enterDash=function(e){},i.prototype.exitDash=function(e){},i.prototype.enterSymbolicName=function(e){},i.prototype.exitSymbolicName=function(e){},i.prototype.enterKeyword=function(e){},i.prototype.exitKeyword=function(e){},t.CypherListener=i},function(e,t,n){"use strict";var r=n(6),i=["悋Ꜫ脳맭䅼㯧瞆奤","¬ְ\b\t\t","\t\t\t\t","\b\t\b\t\t\t\n\t\n\v\t\v","\f\t\f\r\t\r\t\t","\t\t\t\t","\t\t\t","\t\t\t\t","\t\t\t",'\t\t \t !\t!"\t"#',"\t#$\t$%\t%&\t&'\t'(\t()\t)","*\t*+\t+,\t,-\t-.\t./\t/0\t0","1\t12\t23\t34\t45\t56\t67\t7","8\t89\t9:\t:;\t;<\t<=\t=>\t>","?\t?@\t@A\tAB\tBC\tCD\tDE\tE","F\tFG\tGH\tHI\tIJ\tJK\tKL\tL","M\tMN\tNO\tOP\tPQ\tQR\tRS\tS","T\tTU\tUV\tVW\tWX\tXY\tYZ\tZ","[\t[\\\t\\]\t]^\t^_\t_`\t`a\ta","b\tbc\tcd\tde\tef\tfg\tgh\th","i\tij\tjk\tkl\tlm\tmn\tno\to","p\tpq\tqr\trs\tst\ttu\tuv\tv","w\twx\txy\tyz\tz{\t{|\t|}\t}","~\t~\t€\t€\t","‚\t‚ƒ\tƒ„\t„…\t","…†\t†‡\t‡ˆ\tˆ","‰\t‰Š\tŠ‹\t‹Œ\t","Œ\tŽ\tŽ\t","\t‘\t‘’\t’“\t","“”\t”•\t•–\t–","—\t—˜\t˜™\t™š\t","š›\t›œ\tœ\t","ž\tžŸ\tŸ \t ¡\t","¡¢\t¢£\t£¤\t¤","¥\t¥¦\t¦§\t§¨\t","¨©\t©ª\tª«\t«","¬\t¬­\t­®\t®¯\t","¯°\t°±\t±²\t²","³\t³´\t´µ\tµ¶\t","¶·\t·¸\t¸¹\t¹","º\tº»\t»¼\t¼½\t","½¾\t¾¿\t¿À\tÀ","Á\tÁÂ\tÂÃ\tÃÄ\t","ÄÅ\tÅÆ\tÆÇ\tÇ","È\tÈÉ\tÉÊ\tÊË\t","ËÌ\tÌÍ\tÍÎ\tÎ","Ï\tÏÐ\tÐÑ\tÑÒ\t","Ò","","\b\b\t","\t\n\n\v\v\f\f\r","\r","","","","","","",'  !!!"""##',"$$%%&&''(","())**++,,-","-..//00112","2334455667","7777778888","8888999999","99::::::;;",";;;;;;;<<<","<<<<======",">>>>??????","?@@@@@AAAA","AABBBCCCCC","CCCCCCDDDD","DDDEEEFFFF","FFFGGGGGGG","HHHHHIIIIJ","JJJJKKKKKK","KKLLLLLMMM","NNNNNNNNNN","NNNNNNOOOO","OOOOOPPPPP","PQQQQQQQRR","RRRRSSSSTT","TTTTTUUUUU","UUVVVVVVVW","WWWWWWWXXX","YYYYYYYYYZ","ZZZZZZ[[[[","[[\\\\\\]]]]]","^^^^^^___","_______```","`aaaaaaaaa","aabbbbbccc","ccdddddeee","eeefffffgg","gggggggggg","ghhhhiiiii","ijjjjjjjjj","jjjjkkkkkk","kkkkkkkkkk","klllmmmmnn","nnoooopppp","pppqqqqqrr","rrrrrrrsss","ssttttttuu","uuuuuvvvvv","vvvwwwwxxx","xxyyyyyyyz","zzzz{{{{{{","|||||||}}}","}}~~~~~","€€€€","€","‚‚‚‚‚ƒ","ƒƒƒƒƒ„","„„„………","………†††","†††‡‡‡","‡ˆˆˆˆˆ","ˆˆˆ‰‰‰","‰‰‰‰‰Š","ŠŠŠŠŠŠ","Š‹‹‹‹‹","‹‹‹‹ŒŒ","ŒŒŒŒŒŒ","ŒŒ","ŽŽ","ŽŽŽŽŽŽ","ŽŽ","","","‘‘‘‘‘","‘‘‘‘‘‘","‘‘‘’’’","’’’“““","“““““”","””””””","••••••","Ґ\n••Ғ\n•\f••ҕ\v","••••••","••ҝ\n••ҟ\n•\f•","•Ң\v•••ҥ\n•","––––Ҫ\n–\r–","–ҫ—————","——————","——————","——Ӏ\n—˜˜","˜˜˜ӆ\n˜\r˜˜Ӈ","™™™™Ӎ\n™\f™","™Ӑ\v™™Ӓ\n™š","ššӖ\nš\rššӗ","››ӛ\n›œœœ","ӟ\nœӣ\n","žžžӧ\nžŸŸ","   ӭ\n ¡","¡¢¢Ӳ\n¢\r¢¢ӳ","¢¢ӷ\n¢\r¢¢Ӹ","¢¢¢ӽ\n¢\r¢¢Ӿ","¢¢¢ԃ\n¢\r¢¢","Ԅ¢ԇ\n¢¢¢¢","ԋ\n¢¢¢Ԏ\n¢\r¢¢","ԏ££ԓ\n£\f££Ԗ","\v££££Ԛ\n£\r£","£ԛ¤¤¤Ԡ\n¤","\f¤¤ԣ\v¤¥¥","¥ԧ\n¥¦¦¦ԫ\n¦","§§§§§Ա\n","§\f§§Դ\v§§§","¨¨Թ\n¨\r¨¨Ժ","©©©©©©","©©©©©©","©Չ\n©ªªªª","ªՏ\nª\fªªՒ\vª","ªªªªªª","ª՚\nª\fªª՝\vªª","՟\nª««¬¬","­­®®¯¯","°°±±²²","³³´´µµ","¶¶··¸¸","¹¹ºº»»","¼¼½½¾¾","¿¿ÀÀÁÁ","ÂÂÃÃÄÄ","ÅÅÆÆÇÇ","ÈÈÉÉÊÊ","ËËÌÌÍÍ","ÎÎÏÏÐÐ","ÑÑÒÒՐÓ","\t\v\r\b\t","\n\v\f\r","!#%')+-/1","3579;= ?!A\"C#E$G%I&K'M(O)Q*S+U,W-Y.","[/]0_1a2c3e4g5i6k7m8o9q:s;u{?}@ABƒC…D‡","E‰F‹GHI‘J“K•L—M™N›","OPŸQ¡R£S¥T§U©V«W­X¯","Y±Z³[µ\\·]¹^»_½`¿aÁbÃ","cÅdÇeÉfËgÍhÏiÑjÓkÕl×","mÙnÛoÝpßqárãsåtçuévë","wíxïyñzó{õ|÷}ù~ûý","€ÿā‚ăƒą„ć…ĉ","†ċ‡čˆď‰đŠē‹ĕ","ŒėęŽěĝğ‘ġ","’ģ“ĥ”ħ•ĩ–ī—ĭ","˜į™ıšij›ĵœķĹ","žĻŸĽ Ŀ¡Ł¢Ń£Ņ","¤Ň¥ʼn¦ŋ§ō¨ŏ©ő","ªœ«ŕ¬ŗřśŝ","şšţťŧũ","ūŭůűųŵ","ŷŹŻŽſƁ","ƃƅƇƉƋƍ","ƏƑƓƕƗƙ","ƛƝƟơƣ","2$$^^))^^2;CHch","$$))DDHHPPTTVV^^ddhhppttvvWWwwCHch","GGgg\baa⁁⁂⁖⁖︵︶﹏﹑a","abb\n¢¢ᚂᚂ᠐᠐ ","‌‪‫‱‱⁡⁡。。\f","\f Ư2;C","\\aac|¬¬··¹¹¼¼ÂØÚ","øú˃ˈ˓ˢ˦ˮˮ˰˰̂","Ͷ͸͹ͼͿΈΌΎΎΐΣΥ","ϷϹ҃҅҉ҌԩԳ՘՛՛գ","։ֿׁׁ֓׃ׄ׆ׇ׉׉ג","׬ײ״ؒ؜آ٫ٰەۗ۞ۡ","۪۬۾܁܁ܒ݌ݏ޳߂߷߼","߼ࠂ࠯ࡂ࡝ࢢࢢࢤࢮࣦऀं","॥२ॱॳॹॻঁঃঅই঎঑","঒কপবল঴঴স঻া৆৉","৊্৐৙৙৞য়ৡ৥২৳ਃ","ਅਇ਌਑਒ਕਪਬਲ਴ਵ਷","ਸ਺਻ਾਾੀ੄੉੊੍੏੓","੓ਜ਼ਫ਼੠੠੨੷ઃઅઇએઑ","ઓકપબલ઴વષ઻ાેૉ","ો્૏૒૒ૢ૥૨૱ଃଅଇ","଎଑଒କପବଲ଴ଵଷ଻ା","୆୉୊୍୏୘୙୞ୟୡ୥୨","ୱ୳୳஄அஇ஌ஐஒஔ஗஛","ஜஞஞ஠஡஥஦ப஬ர஻ீ","௄ைொௌ௏௒௒௙௙௨௱ః","అఇఎఐఒఔపబవష఻ి","ెైొౌ౏౗ౘౚ౛ౢ౥౨","౱಄ಅಇಎಐಒಔಪಬವಷ","಻ಾೆೈೊೌ೏೗೘ೠೠೢ","೥೨ೱೳ೴ഄഅഇഎഐഒഔ","഼ിെൈൊൌ൐൙൙ൢ൥൨","൱ർඁ඄අඇ඘ගඳඵල඿","඿ෂ෈෌෌ෑූෘෘේ෡෴","෵ฃ฼โ๐๒๛຃ຄຆຆຉ","ຊຌຌຏຏຖນປມຣລວ","ວຩຩຬອຯົຽ຿ໂໆ່","່໊໏໒໛ໞ໡༂༂༚༛༢","༫༹༹༷༷༻༻ཀཉཋ཮ཱི","྆ྈྙྛ྾࿈࿈ဂ။ၒ႟Ⴂ","Ⴧ჉჉჏჏გჼჾቊቌ቏ቒ","ቘቚቚቜ቟ቢኊኌ኏ኒኲኴ","኷ኺዀዂዂዄ዇ዊዘዚጒጔ","጗ጚ፜፟፡፫፳ᎂ᎑Ꭲ᏶ᐃ","᙮ᙱᚁᚃ᚜ᚢ᛬ᛰᛲᜂᜎᜐ","᜖ᜢ᜶ᝂ᝕ᝢᝮᝰᝲ᝴᝵គ","៕៙៙៞៟២៫᠍᠏᠒᠛ᠢ","᡹ᢂ᢬ᢲ᣷ᤂᤞᤢ᤭ᤲ᤽᥈","᥯ᥲ᥶ᦂ᦭ᦲ᧋᧒᧜ᨂ᨝ᨢ","᩠ᩢ᩾᪁᪋᪒᪛᪩᪩ᬂ᭍᭒","᭛᭭᭵ᮂ᯵ᰂ᰹᱂᱋ᱏ᱿᳒","᳔᳖᳸ᴂᷨ᷾἗Ἒ἟ἢ὇Ὂ","὏ὒὙὛὛὝὝὟὟὡ὿ᾂ","ᾶᾸι῀῀ῄῆῈ῎ῒ῕Ῐ","῝ῢ΅ῴῶῸ῾⁁⁂⁖⁖⁳","⁳₁₁ₒ₞⃒⃞⃣⃣⃧⃲℄","℄℉℉ℌℕ℗℗ℚ℟ΩΩℨ","ℨKKℬ℻ℾ⅁ⅇ⅋⅐⅐Ⅲ","↊ⰂⰰⰲⱠⱢ⳦Ⳮ⳵ⴂⴧ⴩","⴩⴯⴯ⴲ⵩⵱⵱ⶁ⶘ⶢⶨⶪ","ⶰⶲⶸⶺⷀⷂⷈⷊⷐⷒⷘⷚ","ⷠⷢ⸁〇〉〣〱〳〷〺〾ぃ","゘゛ァィーヾ㄁ㄇㄯㄳ㆐ㆢ","ㆼㇲ㈁㐂䶷丂鿎ꀂ꒎ꓒ꓿ꔂ","꘎ꘒ꘭Ꙃ꙱ꙶꙿꚁꚙꚡ꛳ꜙ","꜡Ꜥ꞊ꞍꞐꞒꞕꞢꞬꟺ꠩ꡂ","꡵ꢂ꣆꣒꣛꣢꣹ꣽꣽ꤂꤯ꤲ","꥕ꥢ꥾ꦂ꧂꧑꧛ꨂ꨸ꩂ꩏꩒","꩛ꩢ꩸ꩼꩽꪂ꫄ꫝ꫟ꫢ꫱ꫴ","꫸ꬃ꬈ꬋ꬐ꬓ꬘ꬢꬨꬪꬰꯂ","꯬꯮꯯꯲꯻갂힥ힲ퟈ퟍ퟽車","﩯全﫛fl﬈ﬕ﬙ײַשׁשּׁטּךּ","מּנּנּ﭂ףּ﭅צּרּ﮳ﯕ﴿ﵒ","﶑ﶔ﷉ﷲ﷽︂︑︨︢︵︶﹏","﹑ﹲﹶﹸ﻾2;C\aac","|ィ￀ᅣ￉ᅩ￑ᅯ￙ᅵ￞","","&&¤§֑֑؍؍৴৵৽৽","૳૳௻௻แแ៝៝₢₼꠺꠺","﷾﷾﹫﹫&&¬ ̄￧│",'""\v\v\f\f\r\r',"!!ŴC\\c|¬¬··¼¼ÂØ","Úøú˃ˈ˓ˢ˦ˮˮ˰˰","ͲͶ͸͹ͼͿΈΈΊΌΎΎ","ΐΣΥϷϹ҃ҌԩԳ՘՛՛","գ։ג׬ײ״آٌٰٱٳە","ۗۗۧۨ۰۱ۼ۾܁܁ܒܒ","ܔܱݏާ޳޳ߌ߬߶߷߼߼","ࠂࠗࠜࠜࠦࠦࠪࠪࡂ࡚ࢢࢢ","ࢤࢮआऻिि॒॒ग़ॣॳॹ","ॻঁই঎঑঒কপবল঴঴","স঻িি৐৐৞য়ৡৣ৲৳","ਇ਌਑਒ਕਪਬਲ਴ਵ਷ਸ","਺਻ਜ਼ਫ਼੠੠ੴ੶ઇએઑઓ","કપબલ઴વષ઻િિ૒૒","ૢૣଇ଎଑଒କପବଲ଴ଵ","ଷ଻ିି୞ୟୡୣ୳୳அஅ","இ஌ஐஒஔ஗஛ஜஞஞ஠஡","஥஦ப஬ர஻௒௒ఇఎఐఒ","ఔపబవష఻ిిౚ౛ౢౣ","ಇಎಐಒಔಪಬವಷ಻ಿಿ","ೠೠೢೣೳ೴ഇഎഐഒഔ഼","ിി൐൐ൢൣർඁඇ඘ගඳ","ඵල඿඿ෂ෈ฃาิีโ่","຃ຄຆຆຉຊຌຌຏຏຖນ","ປມຣລວວຩຩຬອຯາ","ິີ຿຿ໂໆ່່ໞ໡༂༂","གཉཋ཮ྊྎဂာ၁၁ၒၗ","ၜၟၣၣၧၨၰၲၷႃ႐႐","ႢჇ჉჉჏჏გჼჾቊቌ቏","ቒቘቚቚቜ቟ቢኊኌ኏ኒኲ","ኴ኷ኺዀዂዂዄ዇ዊዘዚጒ","ጔ጗ጚ፜ᎂ᎑Ꭲ᏶ᐃ᙮ᙱᚁ","ᚃ᚜ᚢ᛬ᛰᛲᜂᜎᜐᜓᜢᜳ","ᝂᝓᝢᝮᝰᝲគ឵៙៙៞៞","ᠢ᡹ᢂᢪ᢬᢬ᢲ᣷ᤂᤞᥒ᥯","ᥲ᥶ᦂ᦭ᧃᧉᨂᨘᨢᩖ᪩᪩","ᬈᭇ᭍ᮅᮢ᮰᮱ᮼᯧᰂᰥ","ᱏ᱑ᱜ᱿ᳫᳮᳰᳳ᳷᳸ᴂ᷁","Ḃ἗Ἒ἟ἢ὇Ὂ὏ὒὙὛὛ","ὝὝὟὟὡ὿ᾂᾶᾸι῀῀","ῄῆῈ῎ῒ῕Ῐ῝ῢ΅ῴῶ","Ὸ῾⁳⁳₁₁ₒ₞℄℄℉℉","ℌℕ℗℗ℚ℟ΩΩℨℨKK","ℬ℻ℾ⅁ⅇ⅋⅐⅐Ⅲ↊Ⰲⰰ","ⰲⱠⱢ⳦Ⳮ⳰⳴⳵ⴂⴧ⴩⴩","⴯⴯ⴲ⵩⵱⵱ⶂ⶘ⶢⶨⶪⶰ","ⶲⶸⶺⷀⷂⷈⷊⷐⷒⷘⷚⷠ","〇〉〣〫〳〷〺〾ぃ゘ゝァ","ィーヾ㄁ㄇㄯㄳ㆐ㆢㆼㇲ㈁","㐂䶷丂鿎ꀂ꒎ꓒ꓿ꔂ꘎ꘒ꘡","꘬꘭Ꙃ꙰ꚁꚙꚢ꛱ꜙ꜡Ꜥ꞊","ꞍꞐꞒꞕꞢꞬꟺꠃꠅꠇꠉꠌ","ꠎꠤꡂ꡵ꢄꢵꣴ꣹ꣽꣽꤌꤧ","ꤲꥈꥢ꥾ꦆꦴ꧑꧑ꨂꨪꩂꩄ","ꩆꩍꩢ꩸ꩼꩼꪂꪱꪳꪳꪷꪸ","ꪻ꪿ꫂꫂ꫄꫄ꫝ꫟ꫢꫬꫴ꫶","ꬃ꬈ꬋ꬐ꬓ꬘ꬢꬨꬪꬰꯂꯤ","갂힥ힲ퟈ퟍ퟽車﩯全﫛fl﬈","ﬕ﬙ײַײַﬡשׁשּׁטּךּמּנּנּ","﭂ףּ﭅צּרּ﮳ﯕ﴿ﵒ﶑ﶔ﷉","ﷲ﷽ﹲﹶﹸ﻾C\c|ィ￀","ᅣ￉ᅩ￑ᅯ￙ᅵ￞CCcc","DDddEEeeFFffHHhh","IIiiJJjjKKkkLLllMMm","mNNnnOOooPPppQQqq","RRrrSSssTTttUUuu","VVvvXXxxYYyyZZzz[[{","{\\\\||ָ","","\t\v","\r","","","","","!#","%')","+-","/1","35","79",";=?","AC","EG","IK","MO","QSU","WY","[]","_a","ce","gik","mo","qs","uw","y{","}","ƒ","…‡","‰‹","","‘“","•—","™›","Ÿ","¡£","¥§","©«","­¯","±³","µ·","¹»","½¿","ÁÃ","ÅÇ","ÉË","ÍÏ","ÑÓ","Õ×","ÙÛ","Ýß","áã","åç","éë","íï","ñó","õ÷","ùû","ýÿ","āă","ąć","ĉċ","čď","đē","ĕė","ęě","ĝğ","ġģ","ĥħ","ĩī","ĭį","ıij","ĵķ","ĹĻ","ĽĿ","ŁŃ","ŅŇ","ʼnŋ","ōŏ","őœ","ŕƥ","ƧƩ\t","ƫ\vƮ\r","Ʋƴ","ƶƸ","ƺƼ","ƾǀ","ǂDŽ!","dž#Lj%NJ","'nj)ǎ","+ǐ-Ǔ","/Ǖ1Ǘ","3ǚ5ǜ","7Ǟ9ǡ;Ǥ","=ǧ?ǩ","AǫCǮ","EDZGdz","IǵKǷ","MǹOǻQǽ","SǿUȁ","WȃYȅ","[ȇ]ȉ","_ȋaȍ","cȏeȑgȓ","iȕkȗ","mșoȠ","qȨsȰ","uȶwȿ","yɆ{Ɍ}ɐ","ɗɜ","ƒɢ…ɥ","‡ɰ‰ɷ","‹ɺʁ","ʈ‘ʍ","“ʑ•ʖ","—ʞ™ʣ","›ʦʶ","Ÿʿ¡˅","£ˌ¥˒","§˖©˝","«ˤ­˫","¯˳±˶","³˿µ̆","·̌¹̏","»̔½̚","¿̤Ą́","Ã̳Å̸","Ç̽É͂","Ë͈Í͍","Ï͚Ñ͞","ÓͤÕͱ","×΂Ù΅","ÛΉÝ΍","ßΑáΘ","ãΝåΦ","çΫéα","ëθíπ","ïτñω","óϐõϕ","÷ϛùϢ","ûϧýϬ","ÿϰāϵ","ăϺąϿ","ćЅĉЉ","ċЏčЕ","ďЙđС","ēЩĕб","ėкęф","ěьĝі","ğѡġѧ","ģѵĥѻ","ħ҃ĩҤ","īҩĭҭ","įӁıӑ","ijӓĵӚ","ķӞĹӢ","ĻӦĽӨ","ĿӬŁӮ","ŃԆŅԔ","ŇԝʼnԦ","ŋԪōԬ","ŏԸőՈ","œ՞ŕՠ","ŗբřդ","śզŝը","şժšլ","ţծťհ","ŧղũմ","ūնŭո","ůպűռ","ųվŵր","ŷւŹք","ŻֆŽֈ","ſ֊Ɓ֌","ƃ֎ƅ֐","Ƈ֒Ɖ֔","Ƌ֖ƍ֘","Ə֚Ƒ֜","Ɠ֞ƕ֠","Ɨ֢ƙ֤","ƛ֦Ɲ֨","Ɵ֪ơ֬","ƣ֮ƥƦ","=ƦƧƨ","<ƨƩƪ","/ƪ\bƫƬ","?Ƭƭ@ƭ\n","ƮƯ<Ưư1","ưƱ1Ʊ\fƲ","Ƴ1Ƴƴ","Ƶ0Ƶƶ","ƷBƷƸ","ƹ%ƹƺ","ƻAƻƼ","ƽ(ƽƾ","ƿ?ƿǀ","ǁ-ǁǂ","ǃ}ǃDŽ","Dž.Dž džLJ",'LJ"Ljlj',"]lj$NJNj","_Nj&njǍ*","Ǎ(ǎǏ+","Ǐ*ǐǑ-Ǒ","ǒ?ǒ,Ǔǔ","~ǔ.Ǖǖ",",ǖ0Ǘǘ0","ǘǙ0Ǚ2","ǚǛ'Ǜ4ǜ","ǝ`ǝ6Ǟǟ","?ǟǠ€Ǡ8","ǡǢ>Ǣǣ","@ǣ:Ǥǥ#","ǥǦ?Ǧ<","ǧǨ>Ǩ>ǩ","Ǫ@Ǫ@ǫǬ",">Ǭǭ?ǭB","Ǯǯ@ǯǰ?","ǰDDZDz&","DzFdzǴ⟪","ǴHǵǶ《","ǶJǷǸ﹦","ǸLǹǺ>","ǺNǻǼ⟫","ǼPǽǾ》","ǾRǿȀ﹧","ȀTȁȂ@","ȂVȃȄ¯","ȄXȅȆ‒","ȆZȇȈ–","Ȉ\\ȉȊ—","Ȋ^ȋȌ―","Ȍ`ȍȎ‖","ȎbȏȐ‗","ȐdȑȒ∔","ȒfȓȔ﹚","ȔhȕȖ﹥","ȖjȗȘ/","ȘlșȚŵ»","ȚțơÑțȜƏÈ","ȜȝſÀȝȞŹ½","ȞȟƓÊȟn","ȠȡŹ½ȡȢƟÐ","ȢȣƏÈȣȤƇÄ","Ȥȥű¹ȥȦƁÁ","ȦȧƋÆȧp","ȨȩƏÈȩȪƓÊ","ȪȫƍÇȫȬŻ¾","ȬȭƁÁȭȮƇÄ","ȮȯŹ½ȯr","ȰȱƙÍȱȲƕË","ȲȳƁÁȳȴƋÆ","ȴȵŽ¿ȵt","ȶȷƏÈȷȸŹ½","ȸȹƓÊȹȺƁÁ","ȺȻƍÇȻȼŷ¼","ȼȽƁÁȽȾŵ»","Ⱦvȿɀŵ»","ɀɁƍÇɁɂƉÅ","ɂɃƉÅɃɄƁÁ","ɄɅƗÌɅx","ɆɇƙÍɇɈƋÆ","ɈɉƁÁɉɊƍÇ","ɊɋƋÆɋz","Ɍɍű¹ɍɎƇÄ","ɎɏƇÄɏ|","ɐɑŵ»ɑɒƓÊ","ɒɓŹ½ɓɔű¹","ɔɕƗÌɕɖŹ½","ɖ~ɗɘŷ¼","ɘəƓÊəɚƍÇ","ɚɛƏÈɛ€","ɜɝƁÁɝɞƋÆ","ɞɟŷ¼ɟɠŹ½","ɠɡƟÐɡ‚","ɢɣƍÇɣɤƋÆ","ɤ„ɥɦŵ»","ɦɧƍÇɧɨƋÆ","ɨɩƕËɩɪƗÌ","ɪɫƓÊɫɬű¹","ɬɭƁÁɭɮƋÆ","ɮɯƗÌɯ†","ɰɱű¹ɱɲƕË","ɲɳƕËɳɴŹ½","ɴɵƓÊɵɶƗÌ","ɶˆɷɸƁÁ","ɸɹƕËɹŠ","ɺɻƙÍɻɼƋÆ","ɼɽƁÁɽɾƑÉ","ɾɿƙÍɿʀŹ½","ʀŒʁʂŹ½","ʂʃƟÐʃʄƁÁ","ʄʅƕËʅʆƗÌ","ʆʇƕËʇŽ","ʈʉƇÄʉʊƍÇ","ʊʋű¹ʋʌŷ¼","ʌʍʎŵ»","ʎʏƕËʏʐƛÎ","ʐ’ʑʒƝÏ","ʒʓƁÁʓʔƗÌ","ʔʕſÀʕ”","ʖʗſÀʗʘŹ½","ʘʙű¹ʙʚŷ¼","ʚʛŹ½ʛʜƓÊ","ʜʝƕËʝ–","ʞʟŻ¾ʟʠƓÊ","ʠʡƍÇʡʢƉÅ","ʢ˜ʣʤű¹","ʤʥƕËʥš","ʦʧŻ¾ʧʨƁÁ","ʨʩŹ½ʩʪƇÄ","ʪʫŷ¼ʫʬƗÌ","ʬʭŹ½ʭʮƓÊ","ʮʯƉÅʯʰƁÁ","ʰʱƋÆʱʲű¹","ʲʳƗÌʳʴƍÇ","ʴʵƓÊʵœ","ʶʷƍÇʷʸƏÈ","ʸʹƗÌʹʺƁÁ","ʺʻƍÇʻʼƋÆ","ʼʽű¹ʽʾƇÄ","ʾžʿˀƉÅ","ˀˁű¹ˁ˂ƗÌ","˂˃ŵ»˃˄ſÀ","˄ ˅ˆƙÍ","ˆˇƋÆˇˈƝÏ","ˈˉƁÁˉˊƋÆ","ˊˋŷ¼ˋ¢","ˌˍƉÅˍˎŹ½","ˎˏƓÊˏːŽ¿","ːˑŹ½ˑ¤","˒˓ƕË˓˔Ź½","˔˕ƗÌ˕¦","˖˗ŷ¼˗˘Ź½","˘˙ƗÌ˙˚ű¹","˚˛ŵ»˛˜ſÀ","˜¨˝˞ŷ¼","˞˟Ź½˟ˠƇÄ","ˠˡŹ½ˡˢƗÌ","ˢˣŹ½ˣª","ˤ˥ƓÊ˥˦Ź½","˦˧ƉÅ˧˨ƍÇ","˨˩ƛÎ˩˪Ź½","˪¬˫ˬŻ¾","ˬ˭ƍÇ˭ˮƓÊ","ˮ˯Ź½˯˰ű¹","˰˱ŵ»˱˲ſÀ","˲®˳˴ƁÁ","˴˵ƋÆ˵°","˶˷ŷ¼˷˸ƁÁ","˸˹ƕË˹˺ƗÌ","˺˻ƁÁ˻˼ƋÆ","˼˽ŵ»˽˾ƗÌ","˾²˿̀ƓÊ","̀́Ź½́̂ƗÌ","̂̃ƙÍ̃̄ƓÊ","̄̅ƋÆ̅´","̆̇ƍÇ̇̈ƓÊ","̈̉ŷ¼̉̊Ź½","̊̋ƓÊ̋¶","̌̍ųº̍̎ơÑ","̎¸̏̐ƕË","̐̑ƅÃ̑̒ƁÁ","̒̓ƏÈ̓º","̔̕ƇÄ̖̕ƁÁ","̖̗ƉÅ̗̘ƁÁ","̘̙ƗÌ̙¼","̛̚ű¹̛̜ƕË","̜̝ŵ»̝̞Ź½","̞̟ƋÆ̟̠ŷ¼","̡̠ƁÁ̡̢ƋÆ","̢̣Ž¿̣¾","̤̥ű¹̥̦ƕË","̧̦ŵ»̧À","̨̩ŷ¼̩̪Ź½","̪̫ƕË̫̬ŵ»","̬̭Ź½̭̮ƋÆ","̮̯ŷ¼̯̰ƁÁ","̰̱ƋÆ̱̲Ž¿","̲Â̴̳ŷ¼","̴̵Ź½̵̶ƕË","̶̷ŵ»̷Ä","̸̹ƃÂ̹̺ƍÇ","̺̻ƁÁ̻̼ƋÆ","̼Æ̽̾ƕË","̾̿ŵ»̿̀ű¹","̀́ƋǼÈ","͂̓ƕË̓̈́ƗÌ","̈́ͅű¹͆ͅƓÊ","͇͆ƗÌ͇Ê","͈͉ƋÆ͉͊ƍÇ","͊͋ŷ¼͋͌Ź½","͌Ì͍͎ƓÊ","͎͏Ź½͏͐ƇÄ","͐͑ű¹͑͒ƗÌ","͓͒ƁÁ͓͔ƍÇ","͔͕ƋÆ͕͖ƕË","͖͗ſÀ͗͘ƁÁ","͙͘ƏÈ͙Î","͚͛ƓÊ͛͜Ź½","͜͝ƇÄ͝Ð","͟͞ƝÏ͟͠ſÀ","͠͡Ź½͢͡ƓÊ","ͣ͢Ź½ͣÒ","ͤͥƕËͥͦſÀ","ͦͧƍÇͧͨƓÊ","ͨͩƗÌͩͪŹ½","ͪͫƕËͫͬƗÌ","ͬͭƏÈͭͮű¹","ͮͯƗÌͯͰſÀ","ͰÔͱͲű¹","ͲͳƇÄͳʹƇÄ","ʹ͵ƕË͵ͶſÀ","ͶͷƍÇͷ͸ƓÊ","͸͹ƗÌ͹ͺŹ½","ͺͻƕËͻͼƗÌ","ͼͽƏÈͽ;ű¹",";ͿƗÌͿ΀ſÀ","΀΁ƕË΁Ö","΂΃ƍÇ΃΄ƓÊ","΄Ø΅ΆƟÐ","Ά·ƍÇ·ΈƓÊ","ΈÚΉΊű¹","Ί΋ƋÆ΋Όŷ¼","ΌÜ΍ΎƋÆ","ΎΏƍÇΏΐƗÌ","ΐÞΑΒƕË","ΒΓƗÌΓΔű¹","ΔΕƓÊΕΖƗÌ","ΖΗƕËΗà","ΘΙŹ½ΙΚƋÆ","ΚΛŷ¼ΛΜƕË","ΜâΝΞŵ»","ΞΟƍÇΟΠƋÆ","ΠΡƗÌΡ΢ű¹","΢ΣƁÁΣΤƋÆ","ΤΥƕËΥä","ΦΧƋÆΧΨƙÍ","ΨΩƇÄΩΪƇÄ","ΪæΫάŵ»","άέƍÇέήƙÍ","ήίƋÆίΰƗÌ","ΰèαβŻ¾","βγƁÁγδƇÄ","δεƗÌεζŹ½","ζηƓÊηê","θιŹ½ικƟÐ","κλƗÌλμƓÊ","μνű¹νξŵ»","ξοƗÌοì","πρű¹ρςƋÆ","ςσơÑσî","τυƋÆυφƍÇ","φχƋÆχψŹ½","ψðωϊƕË","ϊϋƁÁϋόƋÆ","όύŽ¿ύώƇÄ","ώϏŹ½Ϗò","ϐϑƗÌϑϒƓÊ","ϒϓƙÍϓϔŹ½","ϔôϕϖŻ¾","ϖϗű¹ϗϘƇÄ","ϘϙƕËϙϚŹ½","ϚöϛϜƓÊ","ϜϝŹ½ϝϞŷ¼","ϞϟƙÍϟϠŵ»","ϠϡŹ½ϡø","Ϣϣŵ»ϣϤű¹","ϤϥƕËϥϦŹ½","ϦúϧϨŹ½","ϨϩƇÄϩϪƕË","ϪϫŹ½ϫü","ϬϭŹ½ϭϮƋÆ","Ϯϯŷ¼ϯþ","ϰϱƝÏϱϲſÀ","ϲϳŹ½ϳϴƋÆ","ϴĀϵ϶ƗÌ","϶ϷſÀϷϸŹ½","ϸϹƋÆϹĂ","Ϻϻŵ»ϻϼű¹","ϼϽƇÄϽϾƇÄ","ϾĄϿЀơÑ","ЀЁƁÁЁЂŹ½","ЂЃƇÄЃЄŷ¼","ЄĆЅІƅÃ","ІЇŹ½ЇЈơÑ","ЈĈЉЊųº","ЊЋƗÌЋЌƓÊ","ЌЍŹ½ЍЎŹ½","ЎĊЏАŹ½","АБƟÐБВƁÁ","ВГƕËГДƗÌ","ДČЕЖŻ¾","ЖЗƍÇЗИƓÊ","ИĎЙКƍÇ","КЛƏÈЛМƗÌ","МНƁÁНОƍÇ","ОПƋÆПРƕË","РĐСТŹ½","ТУƟÐУФŹ½","ФХŵ»ХЦƙÍ","ЦЧƗÌЧШŹ½","ШĒЩЪŷ¼","ЪЫŹ½ЫЬŻ¾","ЬЭƁÁЭЮƋÆ","ЮЯŹ½Яаŷ¼","аĔбвŻ¾","вгƙÍгдƋÆ","деŵ»ежƗÌ","жзƁÁзиƍÇ","ийƋÆйĖ","клŻ¾лмƙÍ","мнƋÆноŵ»","опƗÌпрƁÁ","рсƍÇстƋÆ","туƕËуĘ","фхųºхцƍÇ","цчƍÇчшƕË","шщƗÌщъŹ½","ъыŷ¼ыĚ","ьэƏÈэюƓÊ","юяƍÇяѐŵ»","ѐёŹ½ёђŷ¼","ђѓƙÍѓєƓÊ","єѕŹ½ѕĜ","іїƏÈїјƓÊ","јљƍÇљњŵ»","њћŹ½ћќŷ¼","ќѝƙÍѝўƓÊ","ўџŹ½џѠƕË","ѠĞѡѢű¹","Ѣѣŷ¼ѣѤƉÅ","ѤѥƁÁѥѦƋÆ","ѦĠѧѨű¹","Ѩѩŷ¼ѩѪƉÅ","ѪѫƁÁѫѬƋÆ","ѬѭƁÁѭѮƕË","ѮѯƗÌѯѰƓÊ","Ѱѱű¹ѱѲƗÌ","ѲѳƍÇѳѴƓÊ","ѴĢѵѶųº","ѶѷƓÊѷѸƁÁ","ѸѹŹ½ѹѺŻ¾","ѺĤѻѼƛÎ","ѼѽŹ½ѽѾƓÊ","ѾѿųºѿҀƍÇ","ҀҁƕËҁ҂Ź½","҂Ħ҃҄ƍÇ","҄҅ƙÍ҅҆ƗÌ","҆҇ƏÈ҇҈ƙÍ","҈҉ƗÌ҉Ĩ","Ҋғ$ҋҒ\nҌ","ҏ^ҍҐ\vҎ","Ґҏҍҏ","ҎҐҒґ","ҋґҌҒ","ҕғґғ","ҔҔҖҕ","ғҖҥ$җ","Ҡ)Ҙҟ\nҙҜ","^Қҝ\vқҝ","ҜҚҜқ","ҝҟҞҘ","ҞҙҟҢ","ҠҞҠҡ","ҡңҢҠ","ңҥ)ҤҊ","ҤҗҥĪ","Ҧҧ'ҧҨ","\tҨҪ\tҩҦ","Ҫҫҫҩ","ҫҬҬĬ","ҭҿ^ҮӀ\t","үҰ\tҰұķ","œұҲķœҲҳķ","œҳҴķœҴӀ","ҵҶ\tҶҷķ","œҷҸķœҸҹķ","œҹҺķœҺһķ","œһҼķœҼҽķ","œҽҾķœҾӀ","ҿҮҿү","ҿҵӀĮ","Ӂӂ2ӂӃz","ӃӅӄӆķœ","ӅӄӆӇ","ӇӅӇӈ","ӈİӉӒŁ¡","ӊӎĻžӋӍŝ","ӌӋӍӐ","ӎӌӎӏ","ӏӒӐӎ","ӑӉӑӊ","ӒIJӓӕŁ¡","ӔӖĿ ӕӔ","Ӗӗӗӕ","ӗӘӘĴ","әӛ\tӚә","ӛĶӜӟŝ","ӝӟĵ›ӞӜ","Ӟӝӟĸ","ӠӣŁ¡ӡӣĻž","ӢӠӢӡ","ӣĺӤӧĽŸ","ӥӧ:;ӦӤ","Ӧӥӧļ","Өө39өľӪ","ӭŁ¡ӫӭĽŸӬ","ӪӬӫӭ","ŀӮӯ2ӯ","łӰӲŝӱ","ӰӲӳӳ","ӱӳӴӴ","ԇӵӷŝӶ","ӵӷӸӸ","ӶӸӹӹ","ӺӺӼ0ӻ","ӽŝӼӻӽ","ӾӾӼӾ","ӿӿԇԀ","Ԃ0ԁԃŝԂ","ԁԃԄԄ","ԂԄԅԅ","ԇԆӱԆ","ӶԆԀԇ","ԈԈԊ\t\bԉԋ","/ԊԉԊԋ","ԋԍԌԎ","ŝԍԌԎԏ","ԏԍԏԐ","Ԑńԑԓ","ŝԒԑԓԖ","ԔԒԔԕ","ԕԗԖԔ","ԗԙ0ԘԚ","ŝԙԘԚԛ","ԛԙԛԜ","Ԝņԝԡ","ʼn¥ԞԠŋ¦ԟԞ","Ԡԣԡԟ","ԡԢԢň","ԣԡԤԧ","ů¸ԥԧ\t\tԦԤ","ԦԥԧŊ","Ԩԫś®ԩԫ","ţ²ԪԨԪԩ","ԫŌԬԲ","bԭԱ\n\nԮԯb","ԯԱb԰ԭ","԰ԮԱԴ","Բ԰ԲԳ","ԳԵԴԲ","ԵԶbԶŎ","ԷԹő©ԸԷ","ԹԺԺԸ","ԺԻԻŐ","ԼՉť³ԽՉŧ´","ԾՉũµԿՉū¶","ՀՉŗ¬ՁՉš±","ՂՉş°ՃՉŝ¯","ՄՉř­ՅՉŭ·","ՆՉ\t\vՇՉœª","ՈԼՈԽ","ՈԾՈԿ","ՈՀՈՁ","ՈՂՈՃ","ՈՄՈՅ","ՈՆՈՇ","ՉŒՊՋ1","ՋՌ,ՌՐ","ՍՏ\vՎՍ","ՏՒՐՑ","ՐՎՑՓ","ՒՐՓՔ,","Ք՟1ՕՖ1Ֆ","՗1՗՛՘","՚\n\fՙ՘՚՝","՛ՙ՛՜","՜՟՝՛","՞Պ՞Օ","՟Ŕՠա","\vաŖբգ","\t\rգŘդե\t","եŚզէ\t","էŜըթ\t","թŞժի\t","իŠլխ\t","խŢծկ\t","կŤհձ\t","ձŦղճ\t","ճŨմյ\t","յŪնշ\t","շŬոչ\t","չŮպջ\t","ջŰռս\t","սŲվտ\t","տŴրց\t","ցŶւփ\t","փŸքօ\t\b","օźֆև\t","ևżֈ։\t","։ž֊֋\t ","֋ƀ֌֍\t!֍",'Ƃ֎֏\t"֏Ƅ',"֐֑\t#֑Ɔ","֒֓\t$֓ƈ","֔֕\t%֕Ɗ","֖֗\t&֗ƌ","֘֙\t'֙Ǝ֚","֛\t(֛Ɛ֜֝","\t)֝ƒ֞֟\t*","֟Ɣ֠֡\t+","֡Ɩ֢֣\t,֣","Ƙ֤֥\t֥","ƚ֦֧\t-֧Ɯ","֨֩\t.֩ƞ","֪֫\t/֫Ơ","֭֬\t0֭Ƣ","֮֯\t1֯Ƥ","(ҏґғҜҞҠҤҫҿӇ","ӎӑӗӚӞӢӦӬӳӸӾԄ","ԆԊԏԔԛԡԦԪ԰ԲԺՈ","Ր՛՞"].join(""),o=(new r.atn.ATNDeserializer).deserialize(i),a=o.decisionToState.map((function(e,t){return new r.dfa.DFA(e,t)}));function s(e){return r.Lexer.call(this,e),this._interp=new r.atn.LexerATNSimulator(this,o,a,new r.PredictionContextCache),this}s.prototype=Object.create(r.Lexer.prototype),s.prototype.constructor=s,s.EOF=r.Token.EOF,s.T__0=1,s.T__1=2,s.T__2=3,s.T__3=4,s.T__4=5,s.T__5=6,s.T__6=7,s.T__7=8,s.T__8=9,s.T__9=10,s.T__10=11,s.T__11=12,s.T__12=13,s.T__13=14,s.T__14=15,s.T__15=16,s.T__16=17,s.T__17=18,s.T__18=19,s.T__19=20,s.T__20=21,s.T__21=22,s.T__22=23,s.T__23=24,s.T__24=25,s.T__25=26,s.T__26=27,s.T__27=28,s.T__28=29,s.T__29=30,s.T__30=31,s.T__31=32,s.T__32=33,s.T__33=34,s.T__34=35,s.T__35=36,s.T__36=37,s.T__37=38,s.T__38=39,s.T__39=40,s.T__40=41,s.T__41=42,s.T__42=43,s.T__43=44,s.T__44=45,s.T__45=46,s.T__46=47,s.T__47=48,s.T__48=49,s.T__49=50,s.T__50=51,s.T__51=52,s.T__52=53,s.CYPHER=54,s.EXPLAIN=55,s.PROFILE=56,s.USING=57,s.PERIODIC=58,s.COMMIT=59,s.UNION=60,s.ALL=61,s.CREATE=62,s.DROP=63,s.INDEX=64,s.ON=65,s.CONSTRAINT=66,s.ASSERT=67,s.IS=68,s.UNIQUE=69,s.EXISTS=70,s.LOAD=71,s.CSV=72,s.WITH=73,s.HEADERS=74,s.FROM=75,s.AS=76,s.FIELDTERMINATOR=77,s.OPTIONAL=78,s.MATCH=79,s.UNWIND=80,s.MERGE=81,s.SET=82,s.DETACH=83,s.DELETE=84,s.REMOVE=85,s.FOREACH=86,s.IN=87,s.DISTINCT=88,s.RETURN=89,s.ORDER=90,s.BY=91,s.L_SKIP=92,s.LIMIT=93,s.ASCENDING=94,s.ASC=95,s.DESCENDING=96,s.DESC=97,s.JOIN=98,s.SCAN=99,s.START=100,s.NODE=101,s.RELATIONSHIP=102,s.REL=103,s.WHERE=104,s.SHORTESTPATH=105,s.ALLSHORTESTPATHS=106,s.OR=107,s.XOR=108,s.AND=109,s.NOT=110,s.STARTS=111,s.ENDS=112,s.CONTAINS=113,s.NULL=114,s.COUNT=115,s.FILTER=116,s.EXTRACT=117,s.ANY=118,s.NONE=119,s.SINGLE=120,s.TRUE=121,s.FALSE=122,s.REDUCE=123,s.CASE=124,s.ELSE=125,s.END=126,s.WHEN=127,s.THEN=128,s.CALL=129,s.YIELD=130,s.KEY=131,s.BTREE=132,s.EXIST=133,s.FOR=134,s.OPTIONS=135,s.EXECUTE=136,s.DEFINED=137,s.FUNCTION=138,s.FUNCTIONS=139,s.BOOSTED=140,s.PROCEDURE=141,s.PROCEDURES=142,s.ADMIN=143,s.ADMINISTRATOR=144,s.BRIEF=145,s.VERBOSE=146,s.OUTPUT=147,s.StringLiteral=148,s.UrlHex=149,s.EscapedChar=150,s.HexInteger=151,s.DecimalInteger=152,s.OctalInteger=153,s.HexLetter=154,s.HexDigit=155,s.Digit=156,s.NonZeroDigit=157,s.NonZeroOctDigit=158,s.OctDigit=159,s.ZeroDigit=160,s.ExponentDecimalReal=161,s.RegularDecimalReal=162,s.UnescapedSymbolicName=163,s.IdentifierStart=164,s.IdentifierPart=165,s.EscapedSymbolicName=166,s.SP=167,s.WHITESPACE=168,s.Comment=169,s.ERROR_TOKEN=170,s.prototype.channelNames=["DEFAULT_TOKEN_CHANNEL","HIDDEN"],s.prototype.modeNames=["DEFAULT_MODE"],s.prototype.literalNames=[null,"';'","':'","'-'","'=>'","'://'","'/'","'.'","'@'","'#'","'?'","'&'","'='","'+'","'{'","','","'}'","'['","']'","'('","')'","'+='","'|'","'*'","'..'","'%'","'^'","'=~'","'<>'","'!='","'<'","'>'","'<='","'>='","'$'","'⟨'","'〈'","'﹤'","'<'","'⟩'","'〉'","'﹥'","'>'","'­'","'‐'","'‑'","'‒'","'–'","'—'","'―'","'−'","'﹘'","'﹣'","'-'",null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"'0'"],s.prototype.symbolicNames=[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"CYPHER","EXPLAIN","PROFILE","USING","PERIODIC","COMMIT","UNION","ALL","CREATE","DROP","INDEX","ON","CONSTRAINT","ASSERT","IS","UNIQUE","EXISTS","LOAD","CSV","WITH","HEADERS","FROM","AS","FIELDTERMINATOR","OPTIONAL","MATCH","UNWIND","MERGE","SET","DETACH","DELETE","REMOVE","FOREACH","IN","DISTINCT","RETURN","ORDER","BY","L_SKIP","LIMIT","ASCENDING","ASC","DESCENDING","DESC","JOIN","SCAN","START","NODE","RELATIONSHIP","REL","WHERE","SHORTESTPATH","ALLSHORTESTPATHS","OR","XOR","AND","NOT","STARTS","ENDS","CONTAINS","NULL","COUNT","FILTER","EXTRACT","ANY","NONE","SINGLE","TRUE","FALSE","REDUCE","CASE","ELSE","END","WHEN","THEN","CALL","YIELD","KEY","BTREE","EXIST","FOR","OPTIONS","EXECUTE","DEFINED","FUNCTION","FUNCTIONS","BOOSTED","PROCEDURE","PROCEDURES","ADMIN","ADMINISTRATOR","BRIEF","VERBOSE","OUTPUT","StringLiteral","UrlHex","EscapedChar","HexInteger","DecimalInteger","OctalInteger","HexLetter","HexDigit","Digit","NonZeroDigit","NonZeroOctDigit","OctDigit","ZeroDigit","ExponentDecimalReal","RegularDecimalReal","UnescapedSymbolicName","IdentifierStart","IdentifierPart","EscapedSymbolicName","SP","WHITESPACE","Comment","ERROR_TOKEN"],s.prototype.ruleNames=["T__0","T__1","T__2","T__3","T__4","T__5","T__6","T__7","T__8","T__9","T__10","T__11","T__12","T__13","T__14","T__15","T__16","T__17","T__18","T__19","T__20","T__21","T__22","T__23","T__24","T__25","T__26","T__27","T__28","T__29","T__30","T__31","T__32","T__33","T__34","T__35","T__36","T__37","T__38","T__39","T__40","T__41","T__42","T__43","T__44","T__45","T__46","T__47","T__48","T__49","T__50","T__51","T__52","CYPHER","EXPLAIN","PROFILE","USING","PERIODIC","COMMIT","UNION","ALL","CREATE","DROP","INDEX","ON","CONSTRAINT","ASSERT","IS","UNIQUE","EXISTS","LOAD","CSV","WITH","HEADERS","FROM","AS","FIELDTERMINATOR","OPTIONAL","MATCH","UNWIND","MERGE","SET","DETACH","DELETE","REMOVE","FOREACH","IN","DISTINCT","RETURN","ORDER","BY","L_SKIP","LIMIT","ASCENDING","ASC","DESCENDING","DESC","JOIN","SCAN","START","NODE","RELATIONSHIP","REL","WHERE","SHORTESTPATH","ALLSHORTESTPATHS","OR","XOR","AND","NOT","STARTS","ENDS","CONTAINS","NULL","COUNT","FILTER","EXTRACT","ANY","NONE","SINGLE","TRUE","FALSE","REDUCE","CASE","ELSE","END","WHEN","THEN","CALL","YIELD","KEY","BTREE","EXIST","FOR","OPTIONS","EXECUTE","DEFINED","FUNCTION","FUNCTIONS","BOOSTED","PROCEDURE","PROCEDURES","ADMIN","ADMINISTRATOR","BRIEF","VERBOSE","OUTPUT","StringLiteral","UrlHex","EscapedChar","HexInteger","DecimalInteger","OctalInteger","HexLetter","HexDigit","Digit","NonZeroDigit","NonZeroOctDigit","OctDigit","ZeroDigit","ExponentDecimalReal","RegularDecimalReal","UnescapedSymbolicName","IdentifierStart","IdentifierPart","EscapedSymbolicName","SP","WHITESPACE","Comment","ERROR_TOKEN","FF","RS","ID_Continue","GS","FS","CR","Sc","SPACE","TAB","LF","VT","US","ID_Start","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],s.prototype.grammarFileName="Cypher.g4",t.CypherLexer=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createCypherLexer=t.extractStatements=t.parse=t.TreeUtils=t.CypherKeywords=t.CypherTypes=t.CypherEditorSupport=void 0;var r,i=n(46),o=n(5),a=n(40),s=n(92),l=n(95),c=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(1)),u=(r=n(23))&&r.__esModule?r:{default:r};t.CypherEditorSupport=i.CypherEditorSupport,t.CypherTypes=c,t.CypherKeywords=u.default,t.TreeUtils=o.TreeUtils,t.parse=a.parse,t.extractStatements=s.extractStatements,t.createCypherLexer=l.createCypherLexer},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CypherEditorSupport=void 0;var r=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:"";!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.schema={},this.input=null,this.positionConverter=new u.PositionConverter(""),this.parseTree=null,this.parseErrors=[],this.referencesProviders={},this.completion=new a.AutoCompletion,this.queriesAndCommands=[],this.statements=[],this.listeners=[],this.version=0,this.ensureVersion=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:30,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5;return(0,h.retryOperation)((function(){return new Promise((function(n,r){return e===t.version?n():r()}))}),n,r)},this.update(n)}return i(e,[{key:"on",value:function(e,t){this.listeners[e]=Array.isArray(this.listeners[e])?this.listeners[e].concat([t]):this.listeners[e]=[t]}},{key:"off",value:function(e,t){if(this.listeners[e]){var n=this.listeners[e].indexOf(t);n>-1&&this.listeners[e].splice(n,1)}}},{key:"trigger",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];this.listeners[e]&&this.listeners[e].forEach((function(e){return e.apply(void 0,function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:"",t=arguments[1];if(this.trigger("update"),e===this.input)return this.version=t||this.version,void this.trigger("updated",[{queriesAndCommands:this.queriesAndCommands,referencesProviders:this.referencesProviders}]);this.positionConverter=new u.PositionConverter(e),this.input=e;var n=(0,p.parse)(e),r=n.parseTree,i=n.referencesListener,o=n.errorListener,a=n.referencesProviders;this.parseTree=r,this.parseErrors=o.errors;var s=i.queriesAndCommands,l=i.statements;this.statements=l,this.queriesAndCommands=s,this.referencesProviders=a,this.completion.updateReferenceProviders(this.referencesProviders),this.version=t||this.version,this.trigger("updated",[{queriesAndCommands:this.queriesAndCommands,referencesProviders:this.referencesProviders}])}},{key:"setSchema",value:function(e){this.schema=e,this.completion.updateSchema(this.schema)}},{key:"getElement",value:function(e,t){var n=this.positionConverter.toAbsolute(e,t);return function e(t){var r=c.TreeUtils.getPosition(t);if(null!=r&&(nr.stop))return null;var i=t.getChildCount();if(0===i&&null!=r)return t;for(var o=0;o2&&void 0!==arguments[2])||arguments[2],i=this.getCompletionInfo(e,t);if(!i.found&&t>0){var o=this.getCompletionInfo(e,t-1);o.found&&(i=o)}var s=i,l=s.element,u=s.query,h=s.found,p=s.types,d={from:{line:e,column:t},to:{line:e,column:t}},f=null,m=a.AutoCompletion.shouldBeReplaced(l);if(h&&m){var g=c.TreeUtils.getPosition(l),y=g.start,v=g.stop,_=a.AutoCompletion.calculateSmartReplaceRange(l,y,v);_?(d.from=this.positionConverter.toRelative(_.start),d.to=this.positionConverter.toRelative(_.stop+1),_.filterText&&(f=_.filterText)):(d.from=this.positionConverter.toRelative(y),d.to=this.positionConverter.toRelative(v+1))}return null===f&&(f=n&&h&&m?l.getText():""),r({items:this.completion.getItems(p,{filter:f,query:u,elementType:l?l.constructor.name:"unknown"})},d)}},{key:"applyHighlighthing",value:function(e){l.CypherSyntaxHighlight.process(this.parseTree,e)}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CompletionTypeResolver=void 0;var r=function(){function e(e,t){for(var n=0;n0)return n}return[]}(e);return t.length>0?{found:!0,types:t}:{found:!1,types:i.ALL}}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ruleParamStartsWithDollar=t.ruleNoop=t.ruleConsoleCommandSubcommands=t.ruleLiteralEntry=t.rulePropInMapLiteral=t.rulePropertyLookup=t.ruleNodePattern=t.ruleRelationshipPattern=t.rulePossibleKeyword=t.ruleCallClauseBeginning=t.ruleProcedureOutputsInCallClause=t.ruleVariableInExpressionPossibleFunction=t.ruleSpecificParent=void 0;var r=g(n(49)),i=g(n(67)),o=g(n(68)),a=g(n(69)),s=g(n(70)),l=g(n(73)),c=g(n(74)),u=g(n(75)),h=g(n(76)),p=g(n(77)),d=g(n(78)),f=g(n(79)),m=g(n(80));function g(e){return e&&e.__esModule?e:{default:e}}t.ruleSpecificParent=r.default,t.ruleVariableInExpressionPossibleFunction=i.default,t.ruleProcedureOutputsInCallClause=o.default,t.ruleCallClauseBeginning=a.default,t.rulePossibleKeyword=s.default,t.ruleRelationshipPattern=l.default,t.ruleNodePattern=c.default,t.rulePropertyLookup=u.default,t.rulePropInMapLiteral=h.default,t.ruleLiteralEntry=p.default,t.ruleConsoleCommandSubcommands=d.default,t.ruleNoop=f.default,t.ruleParamStartsWithDollar=m.default},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0});var i=s(n(1)),o=s(n(3)),a=n(5);function s(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c=(l(r={},i.VARIABLE_CONTEXT,[{type:o.VARIABLE}]),l(r,i.PARAMETER_NAME_CONTEXT,[{type:o.PARAMETER}]),l(r,i.PROPERTY_KEY_NAME_CONTEXT,[{type:o.PROPERTY_KEY}]),l(r,i.FUNCTION_NAME_CONTEXT,[{type:o.FUNCTION_NAME}]),l(r,i.PROCEDURE_NAME_CONTEXT,[{type:o.PROCEDURE_NAME}]),l(r,i.NODE_LABEL_CONTEXT,[{type:o.LABEL}]),l(r,i.RELATIONSHIP_TYPE_CONTEXT,[{type:o.RELATIONSHIP_TYPE}]),l(r,i.RELATIONSHIP_TYPE_OPTIONAL_COLON_CONTEXT,[{type:o.RELATIONSHIP_TYPE}]),l(r,i.CONSOLE_COMMAND_NAME_CONTEXT,[{type:o.CONSOLE_COMMAND_NAME}]),l(r,i.NODE_LABELS_CONTEXT,[{type:o.LABEL}]),l(r,i.RELATIONSHIP_TYPES_CONTEXT,[{type:o.RELATIONSHIP_TYPE}]),r);t.default=function(e){var t=a.TreeUtils.findAnyParent(e,Object.keys(c));return null!=t?c[t.constructor.name]:[]}},function(e,t,n){t.ATN=n(11).ATN,t.ATNDeserializer=n(27).ATNDeserializer,t.LexerATNSimulator=n(53).LexerATNSimulator,t.ParserATNSimulator=n(56).ParserATNSimulator,t.PredictionMode=n(32).PredictionMode},function(e,t,n){var r=n(0).Set,i=n(0).BitSet,o=n(2).Token,a=n(16).ATNConfig,s=(n(4).Interval,n(4).IntervalSet),l=n(7).RuleStopState,c=n(12).RuleTransition,u=n(12).NotSetTransition,h=n(12).WildcardTransition,p=n(12).AbstractPredicateTransition,d=n(10),f=d.predictionContextFromRuleContext,m=d.PredictionContext,g=d.SingletonPredictionContext;function y(e){this.atn=e}y.HIT_PRED=o.INVALID_TYPE,y.prototype.getDecisionLookahead=function(e){if(null===e)return null;for(var t=e.transitions.length,n=[],o=0;ov.MAX_DFA_EDGE)return null;var n=e.edges[t-v.MIN_DFA_EDGE];return void 0===n&&(n=null),v.debug&&null!==n&&console.log("reuse state "+e.stateNumber+" edge to "+n.stateNumber),n},v.prototype.computeTargetState=function(e,t,n){var r=new l;return this.getReachableConfigSet(e,t.configs,r,n),0===r.items.length?(r.hasSemanticContext||this.addDFAEdge(t,n,a.ERROR),a.ERROR):this.addDFAEdge(t,n,null,r)},v.prototype.failOrAccept=function(e,t,n,i){if(null!==this.prevAccept.dfaState){var o=e.dfaState.lexerActionExecutor;return this.accept(t,o,this.startIndex,e.index,e.line,e.column),e.dfaState.prediction}if(i===r.EOF&&t.index===this.startIndex)return r.EOF;throw new m(this.recog,t,this.startIndex,n)},v.prototype.getReachableConfigSet=function(e,t,n,i){for(var a=o.INVALID_ALT_NUMBER,s=0;sv.MAX_DFA_EDGE||(v.debug&&console.log("EDGE "+e+" -> "+n+" upon "+t),null===e.edges&&(e.edges=[]),e.edges[t-v.MIN_DFA_EDGE]=n),n},v.prototype.addDFAState=function(e){for(var t=new s(null,e),n=null,r=0;r0&&(o=this.getAltThatFinishedDecisionEntryRule(i))!==s.INVALID_ALT_NUMBER?o:s.INVALID_ALT_NUMBER},O.prototype.getAltThatFinishedDecisionEntryRule=function(e){for(var t=[],n=0;n0||r.state instanceof v&&r.context.hasEmptyPath())&&t.indexOf(r.alt)<0&&t.push(r.alt)}return 0===t.length?s.INVALID_ALT_NUMBER:Math.min.apply(null,t)},O.prototype.splitAccordingToSemanticValidity=function(e,t){for(var n=new u(e.fullCtx),r=new u(e.fullCtx),i=0;i50))throw"problem";if(e.state instanceof v){if(!e.context.isEmpty()){for(var s=0;s=0&&(p+=1);this.closureCheckingStopState(h,t,n,u,i,p,a)}}},O.prototype.canDropLoopEntryEdgeInLeftRecursiveRule=function(e){var t=e.state;if(t.stateType!=l.STAR_LOOP_ENTRY)return!1;if(t.stateType!=l.STAR_LOOP_ENTRY||!t.isPrecedenceDecision||e.context.isEmpty()||e.context.hasEmptyPath())return!1;for(var n=e.context.length,r=0;r=0?this.parser.ruleNames[e]:""},O.prototype.getEpsilonTarget=function(e,t,n,r,i,o){switch(t.serializationType){case T.RULE:return this.ruleTransition(e,t);case T.PRECEDENCE:return this.precedenceTransition(e,t,n,r,i);case T.PREDICATE:return this.predTransition(e,t,n,r,i);case T.ACTION:return this.actionTransition(e,t);case T.EPSILON:return new c({state:t.target},e);case T.ATOM:case T.RANGE:case T.SET:return o&&t.matches(h.EOF,0,1)?new c({state:t.target},e):null;default:return null}},O.prototype.actionTransition=function(e,t){if(this.debug){var n=-1==t.actionIndex?65535:t.actionIndex;console.log("ACTION edge "+t.ruleIndex+":"+n)}return new c({state:t.target},e)},O.prototype.precedenceTransition=function(e,t,n,i,o){this.debug&&(console.log("PRED (collectPredicates="+n+") "+t.precedence+">=_p, ctx dependent=true"),null!==this.parser&&console.log("context surrounding pred is "+r.arrayToString(this.parser.getRuleInvocationStack())));var a=null;if(n&&i)if(o){var s=this._input.index;this._input.seek(this._startIndex);var l=t.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(s),l&&(a=new c({state:t.target},e))}else{var u=y.andContext(e.semanticContext,t.getPredicate());a=new c({state:t.target,semanticContext:u},e)}else a=new c({state:t.target},e);return this.debug&&console.log("config from pred transition="+a),a},O.prototype.predTransition=function(e,t,n,i,o){this.debug&&(console.log("PRED (collectPredicates="+n+") "+t.ruleIndex+":"+t.predIndex+", ctx dependent="+t.isCtxDependent),null!==this.parser&&console.log("context surrounding pred is "+r.arrayToString(this.parser.getRuleInvocationStack())));var a=null;if(n&&(t.isCtxDependent&&i||!t.isCtxDependent))if(o){var s=this._input.index;this._input.seek(this._startIndex);var l=t.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(s),l&&(a=new c({state:t.target},e))}else{var u=y.andContext(e.semanticContext,t.getPredicate());a=new c({state:t.target,semanticContext:u},e)}else a=new c({state:t.target},e);return this.debug&&console.log("config from pred transition="+a),a},O.prototype.ruleTransition=function(e,t){this.debug&&console.log("CALL rule "+this.getRuleName(t.target.ruleIndex)+", ctx="+e.context);var n=t.followState,r=w.create(e.context,n.stateNumber);return new c({state:t.target,context:r},e)},O.prototype.getConflictingAlts=function(e){var t=m.getConflictingAltSubsets(e);return m.getAlts(t)},O.prototype.getConflictingAltsOrUniqueAlt=function(e){var t=null;return e.uniqueAlt!==s.INVALID_ALT_NUMBER?(t=new o).add(e.uniqueAlt):t=e.conflictingAlts,t},O.prototype.getTokenName=function(e){if(e===h.EOF)return"EOF";if(null!==this.parser&&null!==this.parser.literalNames){if(!(e>=this.parser.literalNames.length&&e>=this.parser.symbolicNames.length))return(this.parser.literalNames[e]||this.parser.symbolicNames[e])+"<"+e+">";console.log(e+" ttype out of range: "+this.parser.literalNames),console.log(""+this.parser.getInputStream().getTokens())}return""+e},O.prototype.getLookaheadName=function(e){return this.getTokenName(e.LA(1))},O.prototype.dumpDeadEndConfigs=function(e){console.log("dead end configs: ");for(var t=e.getDeadEndConfigs(),n=0;n0){var o=r.state.transitions[0];o instanceof AtomTransition?i="Atom "+this.getTokenName(o.label):o instanceof x&&(i=(o instanceof S?"~":"")+"Set "+o.set)}console.error(r.toString(this.parser,!0)+":"+i)}},O.prototype.noViableAlt=function(e,t,n,r){return new R(this.parser,e,e.get(r),e.LT(1),n,t)},O.prototype.getUniqueAlt=function(e){for(var t=s.INVALID_ALT_NUMBER,n=0;n "+r+" upon "+this.getTokenName(n)),null===r)return null;if(r=this.addDFAState(e,r),null===t||n<-1||n>this.atn.maxTokenType)return r;if(null===t.edges&&(t.edges=[]),t.edges[n+1]=r,this.debug){var i=null===this.parser?null:this.parser.literalNames,o=null===this.parser?null:this.parser.symbolicNames;console.log("DFA=\n"+e.toString(i,o))}return r},O.prototype.addDFAState=function(e,t){if(t==f.ERROR)return t;var n=e.states.get(t);return null!==n?n:(t.stateNumber=e.states.length,t.configs.readOnly||(t.configs.optimizeConfigs(this),t.configs.setReadonly(!0)),e.states.add(t),this.debug&&console.log("adding new DFA state: "+t),t)},O.prototype.reportAttemptingFullContext=function(e,t,n,r,i){if(this.debug||this.retry_debug){var o=new b(r,i+1);console.log("reportAttemptingFullContext decision="+e.decision+":"+n+", input="+this.parser.getTokenStream().getText(o))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportAttemptingFullContext(this.parser,e,r,i,t,n)},O.prototype.reportContextSensitivity=function(e,t,n,r,i){if(this.debug||this.retry_debug){var o=new b(r,i+1);console.log("reportContextSensitivity decision="+e.decision+":"+n+", input="+this.parser.getTokenStream().getText(o))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportContextSensitivity(this.parser,e,r,i,t,n)},O.prototype.reportAmbiguity=function(e,t,n,r,i,o,a){if(this.debug||this.retry_debug){var s=new b(n,r+1);console.log("reportAmbiguity "+o+":"+a+", input="+this.parser.getTokenStream().getText(s))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportAmbiguity(this.parser,e,n,r,i,o,a)},t.ParserATNSimulator=O},function(e,t,n){t.DFA=n(58).DFA,t.DFASerializer=n(20).DFASerializer,t.LexerDFASerializer=n(20).LexerDFASerializer,t.PredPrediction=n(15).PredPrediction},function(e,t,n){var r=n(0).Set,i=n(15).DFAState,o=n(7).StarLoopEntryState,a=n(13).ATNConfigSet,s=n(20).DFASerializer,l=n(20).LexerDFASerializer;function c(e,t){if(void 0===t&&(t=0),this.atnStartState=e,this.decision=t,this._states=new r,this.s0=null,this.precedenceDfa=!1,e instanceof o&&e.isPrecedenceDecision){this.precedenceDfa=!0;var n=new i(null,new a);n.edges=[],n.isAcceptState=!1,n.requiresFullContext=!1,this.s0=n}return this}c.prototype.getPrecedenceStartState=function(e){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";return e<0||e>=this.s0.edges.length?null:this.s0.edges[e]||null},c.prototype.setPrecedenceStartState=function(e,t){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";e<0||(this.s0.edges[e]=t)},c.prototype.setPrecedenceDfa=function(e){if(this.precedenceDfa!==e){if(this._states=new DFAStatesSet,e){var t=new i(null,new a);t.edges=[],t.isAcceptState=!1,t.requiresFullContext=!1,this.s0=t}else this.s0=null;this.precedenceDfa=e}},Object.defineProperty(c.prototype,"states",{get:function(){return this._states}}),c.prototype.sortedStates=function(){return this._states.values().sort((function(e,t){return e.stateNumber-t.stateNumber}))},c.prototype.toString=function(e,t){return e=e||null,t=t||null,null===this.s0?"":new s(this,e,t).toString()},c.prototype.toLexerString=function(){return null===this.s0?"":new l(this).toString()},t.DFA=c},function(e,t,n){var r=n(8);t.Trees=n(26).Trees,t.RuleNode=r.RuleNode,t.ParseTreeListener=r.ParseTreeListener,t.ParseTreeVisitor=r.ParseTreeVisitor,t.ParseTreeWalker=r.ParseTreeWalker},function(e,t,n){t.RecognitionException=n(9).RecognitionException,t.NoViableAltException=n(9).NoViableAltException,t.LexerNoViableAltException=n(9).LexerNoViableAltException,t.InputMismatchException=n(9).InputMismatchException,t.FailedPredicateException=n(9).FailedPredicateException,t.DiagnosticErrorListener=n(61).DiagnosticErrorListener,t.BailErrorStrategy=n(35).BailErrorStrategy,t.ErrorListener=n(19).ErrorListener},function(e,t,n){var r=n(0).BitSet,i=n(19).ErrorListener,o=n(4).Interval;function a(e){return i.call(this),e=e||!0,this.exactOnly=e,this}a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a.prototype.reportAmbiguity=function(e,t,n,r,i,a,s){if(!this.exactOnly||i){var l="reportAmbiguity d="+this.getDecisionDescription(e,t)+": ambigAlts="+this.getConflictingAlts(a,s)+", input='"+e.getTokenStream().getText(new o(n,r))+"'";e.notifyErrorListeners(l)}},a.prototype.reportAttemptingFullContext=function(e,t,n,r,i,a){var s="reportAttemptingFullContext d="+this.getDecisionDescription(e,t)+", input='"+e.getTokenStream().getText(new o(n,r))+"'";e.notifyErrorListeners(s)},a.prototype.reportContextSensitivity=function(e,t,n,r,i,a){var s="reportContextSensitivity d="+this.getDecisionDescription(e,t)+", input='"+e.getTokenStream().getText(new o(n,r))+"'";e.notifyErrorListeners(s)},a.prototype.getDecisionDescription=function(e,t){var n=t.decision,r=t.atnStartState.ruleIndex,i=e.ruleNames;if(r<0||r>=i.length)return""+n;var o=i[r]||null;return null===o||0===o.length?""+n:n+" ("+o+")"},a.prototype.getConflictingAlts=function(e,t){if(null!==e)return e;for(var n=new r,i=0;i=0&&(this.fetchedEOF?this.index0)||this.fetch(t)>=t},s.prototype.fetch=function(e){if(this.fetchedEOF)return 0;for(var t=0;t=this.tokens.length&&(t=this.tokens.length-1);for(var o=e;o=this.tokens.length?this.tokens[this.tokens.length-1]:this.tokens[t]},s.prototype.adjustSeekIndex=function(e){return e},s.prototype.lazyInit=function(){-1===this.index&&this.setup()},s.prototype.setup=function(){this.sync(0),this.index=this.adjustSeekIndex(0)},s.prototype.setTokenSource=function(e){this.tokenSource=e,this.tokens=[],this.index=-1,this.fetchedEOF=!1},s.prototype.nextTokenOnChannel=function(e,t){if(this.sync(e),e>=this.tokens.length)return-1;for(var n=this.tokens[e];n.channel!==this.channel;){if(n.type===r.EOF)return-1;e+=1,this.sync(e),n=this.tokens[e]}return e},s.prototype.previousTokenOnChannel=function(e,t){for(;e>=0&&this.tokens[e].channel!==t;)e-=1;return e},s.prototype.getHiddenTokensToRight=function(e,t){if(void 0===t&&(t=-1),this.lazyInit(),e<0||e>=this.tokens.length)throw e+" not in 0.."+this.tokens.length-1;var n=this.nextTokenOnChannel(e+1,i.DEFAULT_TOKEN_CHANNEL),r=e+1,o=-1===n?this.tokens.length-1:n;return this.filterForChannel(r,o,t)},s.prototype.getHiddenTokensToLeft=function(e,t){if(void 0===t&&(t=-1),this.lazyInit(),e<0||e>=this.tokens.length)throw e+" not in 0.."+this.tokens.length-1;var n=this.previousTokenOnChannel(e-1,i.DEFAULT_TOKEN_CHANNEL);if(n===e-1)return null;var r=n+1,o=e-1;return this.filterForChannel(r,o,t)},s.prototype.filterForChannel=function(e,t,n){for(var r=[],o=e;o=this.tokens.length&&(n=this.tokens.length-1);for(var i="",a=t;a=0&&this._parseListeners.splice(t,1),0===this._parseListeners.length&&(this._parseListeners=null)}},p.prototype.removeParseListeners=function(){this._parseListeners=null},p.prototype.triggerEnterRuleEvent=function(){if(null!==this._parseListeners){var e=this._ctx;this._parseListeners.map((function(t){t.enterEveryRule(e),e.enterRule(t)}))}},p.prototype.triggerExitRuleEvent=function(){if(null!==this._parseListeners){var e=this._ctx;this._parseListeners.slice(0).reverse().map((function(t){e.exitRule(t),t.exitEveryRule(e)}))}},p.prototype.getTokenFactory=function(){return this._input.tokenSource._factory},p.prototype.setTokenFactory=function(e){this._input.tokenSource._factory=e},p.prototype.getATNWithBypassAlts=function(){var e=this.getSerializedATN();if(null===e)throw"The current parser does not support an ATN with bypass alternatives.";var t=this.bypassAltsAtnCache[e];if(null===t){var n=new l;n.generateRuleBypassTransitions=!0,t=new s(n).deserialize(e),this.bypassAltsAtnCache[e]=t}return t};var d=n(18).Lexer;p.prototype.compileParseTreePattern=function(e,t,n){if(null===(n=n||null)&&null!==this.getTokenStream()){var r=this.getTokenStream().tokenSource;r instanceof d&&(n=r)}if(null===n)throw"Parser can't discover a lexer to use";return new ParseTreePatternMatcher(n,this).compile(e,t)},p.prototype.getInputStream=function(){return this.getTokenStream()},p.prototype.setInputStream=function(e){this.setTokenStream(e)},p.prototype.getTokenStream=function(){return this._input},p.prototype.setTokenStream=function(e){this._input=null,this.reset(),this._input=e},p.prototype.getCurrentToken=function(){return this._input.LT(1)},p.prototype.notifyErrorListeners=function(e,t,n){n=n||null,null===(t=t||null)&&(t=this.getCurrentToken()),this._syntaxErrors+=1;var r=t.line,i=t.column;this.getErrorListenerDispatch().syntaxError(this,t,r,i,e,n)},p.prototype.consume=function(){var e=this.getCurrentToken();e.type!==r.EOF&&this.getInputStream().consume();var t,n=null!==this._parseListeners&&this._parseListeners.length>0;return(this.buildParseTrees||n)&&((t=this._errHandler.inErrorRecoveryMode(this)?this._ctx.addErrorNode(e):this._ctx.addTokenNode(e)).invokingState=this.state,n&&this._parseListeners.map((function(e){t instanceof u||void 0!==t.isErrorNode&&t.isErrorNode()?e.visitErrorNode(t):t instanceof c&&e.visitTerminal(t)}))),e},p.prototype.addContextToParseTree=function(){null!==this._ctx.parentCtx&&this._ctx.parentCtx.addChild(this._ctx)},p.prototype.enterRule=function(e,t,n){this.state=t,this._ctx=e,this._ctx.start=this._input.LT(1),this.buildParseTrees&&this.addContextToParseTree(),null!==this._parseListeners&&this.triggerEnterRuleEvent()},p.prototype.exitRule=function(){this._ctx.stop=this._input.LT(-1),null!==this._parseListeners&&this.triggerExitRuleEvent(),this.state=this._ctx.invokingState,this._ctx=this._ctx.parentCtx},p.prototype.enterOuterAlt=function(e,t){e.setAltNumber(t),this.buildParseTrees&&this._ctx!==e&&null!==this._ctx.parentCtx&&(this._ctx.parentCtx.removeLastChild(),this._ctx.parentCtx.addChild(e)),this._ctx=e},p.prototype.getPrecedence=function(){return 0===this._precedenceStack.length?-1:this._precedenceStack[this._precedenceStack.length-1]},p.prototype.enterRecursionRule=function(e,t,n,r){this.state=t,this._precedenceStack.push(r),this._ctx=e,this._ctx.start=this._input.LT(1),null!==this._parseListeners&&this.triggerEnterRuleEvent()},p.prototype.pushNewRecursionContext=function(e,t,n){var r=this._ctx;r.parentCtx=e,r.invokingState=t,r.stop=this._input.LT(-1),this._ctx=e,this._ctx.start=r.start,this.buildParseTrees&&this._ctx.addChild(r),null!==this._parseListeners&&this.triggerEnterRuleEvent()},p.prototype.unrollRecursionContexts=function(e){this._precedenceStack.pop(),this._ctx.stop=this._input.LT(-1);var t=this._ctx;if(null!==this._parseListeners)for(;this._ctx!==e;)this.triggerExitRuleEvent(),this._ctx=this._ctx.parentCtx;else this._ctx=e;t.parentCtx=e,this.buildParseTrees&&null!==e&&e.addChild(t)},p.prototype.getInvokingContext=function(e){for(var t=this._ctx;null!==t;){if(t.ruleIndex===e)return t;t=t.parentCtx}return null},p.prototype.precpred=function(e,t){return t>=this._precedenceStack[this._precedenceStack.length-1]},p.prototype.inContext=function(e){return!1},p.prototype.isExpectedToken=function(e){var t=this._interp.atn,n=this._ctx,i=t.states[this.state],o=t.nextTokens(i);if(o.contains(e))return!0;if(!o.contains(r.EPSILON))return!1;for(;null!==n&&n.invokingState>=0&&o.contains(r.EPSILON);){var a=t.states[n.invokingState].transitions[0];if((o=t.nextTokens(a.followState)).contains(e))return!0;n=n.parentCtx}return!(!o.contains(r.EPSILON)||e!==r.EOF)},p.prototype.getExpectedTokens=function(){return this._interp.atn.getExpectedTokens(this.state,this._ctx)},p.prototype.getExpectedTokensWithinCurrentRule=function(){var e=this._interp.atn,t=e.states[this.state];return e.nextTokens(t)},p.prototype.getRuleIndex=function(e){var t=this.getRuleIndexMap()[e];return null!==t?t:-1},p.prototype.getRuleInvocationStack=function(e){null===(e=e||null)&&(e=this._ctx);for(var t=[];null!==e;){var n=e.ruleIndex;n<0?t.push("n/a"):t.push(this.ruleNames[n]),e=e.parentCtx}return t},p.prototype.getDFAStrings=function(){return this._interp.decisionToDFA.toString()},p.prototype.dumpDFA=function(){for(var e=!1,t=0;t0&&(e&&console.log(),this.printer.println("Decision "+n.decision+":"),this.printer.print(n.toString(this.literalNames,this.symbolicNames)),e=!0)}},p.prototype.getSourceName=function(){return this._input.sourceName},p.prototype.setTrace=function(e){e?(null!==this._tracer&&this.removeParseListener(this._tracer),this._tracer=new h(this),this.addParseListener(this._tracer)):(this.removeParseListener(this._tracer),this._tracer=null)},t.Parser=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(1)),i=a(n(3)),o=n(5);function a(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.default=function(e){var t=o.TreeUtils.findAnyParent(e,[r.VARIABLE_CONTEXT]),n=o.TreeUtils.findAnyParent(t,[r.EXPRESSION_CONTEXT]);return null!=t&&null!=n?[{type:i.VARIABLE},{type:i.FUNCTION_NAME}]:[]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(1)),i=a(n(3)),o=n(5);function a(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.default=function(e){var t=o.TreeUtils.findAnyParent(e,[r.CALL_CONTEXT]);if(null!=t){var n=o.TreeUtils.findChild(t,r.PROCEDURE_NAME_CONTEXT),a=o.TreeUtils.findAnyParent(e,r.PROCEDURE_RESULTS_CONTEXT);return null==n||null==a?[]:[{type:i.PROCEDURE_OUTPUT,name:n.getText()}]}return[]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(1)),i=o(n(3));function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.default=function(e){var t=e.parentCtx;return t&&t.constructor.name===r.CALL_CONTEXT&&t.getChild(1)===e?[{type:i.PROCEDURE_NAME}]:[]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(38)),i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(3)),o=a(n(23));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.getText().toLowerCase();return o.default.find((function(e){return r.default.includes(e.toLowerCase(),t)}))?i.ALL:[]}},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(1)),i=a(n(3)),o=n(5);function a(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.default=function(e){if(o.TreeUtils.findParent(e,r.RELATIONSHIP_PATTERN_CONTEXT)){if("["===e.getText())return[{type:i.VARIABLE},{type:i.RELATIONSHIP_TYPE}];if("]"===e.getText())return[]}return[]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(1)),i=o(n(3));function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.default=function(e){var t=e.getParent(),n=e.getText();if(t){if(t.constructor.name===r.PATTERN_ELEMENT_CONTEXT&&"("===n)return[{type:i.VARIABLE},{type:i.LABEL}];if(t.constructor.name===r.NODE_PATTERN_CONTEXT){if("("===n)return[{type:i.VARIABLE},{type:i.LABEL}];if(":"===n)return[{type:i.LABEL}]}}return[]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(1)),i=o(n(3));function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.default=function(e){var t=e.getParent(),n=e.getText();return t&&t.constructor.name===r.PROPERTY_LOOKUP_CONTEXT&&"."===n?[{type:i.PROPERTY_KEY}]:[]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(1)),i=a(n(3)),o=n(5);function a(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.default=function(e){var t=o.TreeUtils.findParent(e,r.MAP_LITERAL_CONTEXT),n=o.TreeUtils.findParent(e,r.PROPERTIES_CONTEXT);if(t)return"}"===e.getText()?[]:[{type:i.PROPERTY_KEY}];if(n){var a=e.getText();return"}"===a||/\s+/.test(a)?[]:[{type:i.PROPERTY_KEY},{type:i.PARAMETER}]}return[]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(1)),i=a(n(3)),o=n(5);function a(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.default=function(e){var t=o.TreeUtils.findParent(e,r.MAP_LITERAL_ENTRY);if(!t)return[];var n=t.getChild(1),a=t.getChild(2);return n===e||a===e?i.ALL:[]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(1)),i=a(n(3)),o=n(5);function a(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.default=function(e){var t=o.TreeUtils.findParent(e.parentCtx,r.CONSOLE_COMMAND_CONTEXT),n=!1;if(!t){var a=e.parentCtx,s=o.TreeUtils.findChild(a.children[0],r.CONSOLE_COMMAND_CONTEXT),l=a.children[1];if(!s||!l||l!==e)return[];t=s,n=!0}for(var c=o.TreeUtils.findParent(e,r.CONSOLE_COMMAND_PARAMETER_CONTEXT)||e,u=[],h=!1,p=0;p0&&void 0!==arguments[0]?arguments[0]:{};v(this,e),this.cache={},this.cache=t}return i(e,[{key:"calculateItems",value:function(e){return[]}},{key:"complete",value:function(e,t){var n=this;return e.map((function(e){var r=n.cache[e.type];return null!=r?r:n.calculateItems(e,t)})).reduce((function(e,t){return[].concat(y(e),y(t))}),[])}}]),e}(),E=function(e){function t(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};v(this,t);var r=m(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,(f(e={},l.KEYWORD,_),f(e,l.LABEL,(n.labels||[]).map((function(e){return{type:l.LABEL,view:e,content:(0,h.ecsapeCypher)(e),postfix:null}}))),f(e,l.RELATIONSHIP_TYPE,(n.relationshipTypes||[]).map((function(e){return{type:l.RELATIONSHIP_TYPE,view:e,content:(0,h.ecsapeCypher)(e),postfix:null}}))),f(e,l.PROPERTY_KEY,(n.propertyKeys||[]).map((function(e){return{type:l.PROPERTY_KEY,view:e,content:(0,h.ecsapeCypher)(e),postfix:null}}))),f(e,l.FUNCTION_NAME,(n.functions||[]).map((function(e){var t=e.name,n=e.signature;return{type:l.FUNCTION_NAME,view:t,content:(0,h.ecsapeCypher)(t),postfix:n}}))),f(e,l.PROCEDURE_NAME,(n.procedures||[]).map((function(e){var t=e.name,n=e.signature;return{type:l.PROCEDURE_NAME,view:t,content:t,postfix:n}}))),f(e,l.CONSOLE_COMMAND_NAME,(n.consoleCommands||[]).map((function(e){return{type:l.CONSOLE_COMMAND_NAME,view:e.name,content:e.name,postfix:e.description||null}}))),f(e,l.PARAMETER,(n.parameters||[]).map((function(e){return{type:l.PARAMETER,view:e,content:e,postfix:null}}))),e)));return T.call(r),r.schema=n,r}return g(t,e),i(t,[{key:"calculateItems",value:function(e){return(t.providers[e.type]||function(){return[]})(this.schema,e)}}]),t}(b);E.providers=(f(r={},l.PROCEDURE_OUTPUT,(function(e,t){var n=a.default.find(e.procedures,(function(e){return e.name===t.name&&e.returnItems!==[]}));return n?n.returnItems.map((function(e){var t=e.name,n=e.signature;return{type:l.PROCEDURE_OUTPUT,view:t,content:t,postfix:" :: "+n}})):[]})),f(r,l.CONSOLE_COMMAND_SUBCOMMAND,(function(e,t){for(var n=t.filterLastElement,r=t.path,i=n?r.length-1:r.length,o=e.consoleCommands,s=0;s0&&void 0!==arguments[0]?arguments[0]:{};v(this,t);var n=m(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n.providers={},n.emptyProvider={getNames:function(){return[]}},n.providers=f({},l.VARIABLE,(function(t){return(e[s.VARIABLE_CONTEXT]||n.emptyProvider).getNames(t).map((function(e){return{type:l.VARIABLE,view:e,content:e,postfix:null}}))})),n}return g(t,e),i(t,[{key:"calculateItems",value:function(e,t){return(this.providers[e.type]||function(){return[]})(t)}}]),t}(b);t.AutoCompletion=function(){function e(){v(this,e),this.queryBased=null,this.schemaBased=null,this.updateSchema({})}return i(e,[{key:"getItems",value:function(t,n){var r=n.query,i=void 0===r?null:r,a=n.filter,s=(void 0===a?"":a).toLowerCase(),l=e.filterText(s),c=[this.queryBased,this.schemaBased].filter((function(e){return null!=e})).map((function(e){return e.complete(t,i)})).reduce((function(e,t){return[].concat(y(e),y(t))}),[]).filter((function(){return!0}));return l?(0,o.filter)(c,l,{key:"view"}):s?(0,o.filter)(c,s,{key:"view"}):c}},{key:"updateSchema",value:function(e){this.schemaBased=new E(e)}},{key:"updateReferenceProviders",value:function(e){this.queryBased=new x(e)}}],[{key:"shouldBeReplaced",value:function(e){if(null==e)return!1;var t=e.getText(),n=e.parentCtx;return!/^\s+$/.test(t)&&"["!==t&&"("!==t&&"."!==t&&"{"!==t&&"$"!==t&&(":"!==t||null==n||n.constructor.name!==s.MAP_LITERAL_ENTRY)}},{key:"filterText",value:function(e){return e.startsWith("$")?e.slice(1):e}},{key:"calculateSmartReplaceRange",value:function(e,t,n){return e.constructor.name!==s.RELATIONSHIP_TYPE_CONTEXT&&e.constructor.name!==s.NODE_LABEL_CONTEXT||!u.TreeUtils.hasErrorNode(e)?null:{filterText:":",start:t,stop:t}}}]),e}()},function(e,t,n){(function(){var t,r,i,o,a;a=n(39),i=n(84),o=n(85),t=n(24).sep,r=/\ /g,e.exports={filter:function(e,n,o){var a;return n&&(a=-1!==n.indexOf(t),n=n.replace(r,"")),i(e,n,a,o)},score:function(e,n){var i,o;return e&&n?e===n?2:(i=-1!==n.indexOf(t),n=n.replace(r,""),o=a.score(e,n),i||(o=a.basenameScore(e,n,o)),o):0},match:function(e,n){var i,a,s,l,c,u;if(!e)return[];if(!n)return[];if(e===n)return function(){u=[];for(var t=0,n=e.length;0<=n?tn;0<=n?t++:t--)u.push(t);return u}.apply(this);if(l=-1!==n.indexOf(t),n=n.replace(r,""),s=o.match(e,n),!l)for(i=o.basenameMatch(e,n),s=s.concat(i).sort((function(e,t){return e-t})),c=null,a=0;a1)for(var n=1;n0&&h.push({candidate:s,score:u}));h.sort(i),e=h.map(t)}return null!=c&&(e=e.slice(0,c)),e}}).call(this)},function(e,t,n){(function(){var e;e=n(24).sep,t.basenameMatch=function(n,r){var i,o,a;for(o=n.length-1;n[o]===e;)o--;for(a=o,i=null;o>=0;)n[o]===e?null==i&&(i=n.substring(o+1,a+1)):0===o&&(ar;n<=r?t++:t--)p.push(t);return p}.apply(this);for(c=t.length,u=e.length,i=0,o=0,s=[];i0&&(n=e.substring(1)),/^[A-Za-z][A-Za-z0-9_]*$/.test(n)?t+n:t+"`"+n.replace(/`/g,"``")+"`"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CypherSyntaxHighlight=void 0;var r=function(){function e(e,t){for(var n=0;nn.stop||(e.constructor.name===o.VARIABLE_CONTEXT?(t(e,"variable"),0):e.constructor.name===o.NODE_LABEL_CONTEXT?(t(e,"label"),0):e.constructor.name===o.RELATIONSHIP_TYPE_CONTEXT||e.constructor.name===o.RELATIONSHIP_TYPE_OPTIONAL_COLON_CONTEXT?(t(e,"relationshipType"),0):e.constructor.name===o.PROPERTY_KEY_NAME_CONTEXT?(t(e,"property"),0):e.constructor.name===o.PROCEDURE_NAME_CONTEXT?(t(e,"procedure"),0):e.constructor.name===o.PROCEDURE_OUTPUT_CONTEXT?(t(e,"procedureOutput"),0):e.constructor.name===o.FUNCTION_NAME_CONTEXT||e.constructor.name===o.ALL_FUNCTION_NAME_CONTEXT||e.constructor.name===o.REDUCE_FUNCTION_NAME_CONTEXT||e.constructor.name===o.FILTER_FUNCTION_NAME_CONTEXT||e.constructor.name===o.NONE_FUNCTION_NAME_CONTEXT||e.constructor.name===o.EXTRACT_FUNCTION_NAME_CONTEXT||e.constructor.name===o.SHORTEST_PATH_FUNCTION_NAME_CONTEXT||e.constructor.name===o.ALL_SHORTEST_PATH_FUNCTION_NAME_CONTEXT||e.constructor.name===o.SINGLE_FUNCTION_NAME_CONTEXT||e.constructor.name===o.EXISTS_FUNCTION_NAME_CONTEXT||e.constructor.name===o.ANY_FUNCTION_NAME_CONTEXT?(t(e,"function"),0):e.constructor.name===o.PARAMETER_CONTEXT?(t(e,"parameter"),0):e.constructor.name===o.CONSOLE_COMMAND_NAME_CONTEXT?(t(e,"consoleCommand"),0):e.constructor.name!==o.CONSOLE_COMMAND_SUBCOMMAND_CONTEXT&&e.constructor.name!==o.CONSOLE_COMMAND_PATH_CONTEXT||(t(e,"property"),0)))}))}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n=0;t-=1){var n=e-this.newLines[t];if(n>=1)return{line:t+2,column:n-1}}return{line:1,column:e}}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.retryOperation=function e(t,n,r){return new Promise((function(i,o){return t().then(i).catch((function(a){return r-1>0?(s=n,new Promise((function(e){return setTimeout(e,s)}))).then(e.bind(null,t,n,r-1)).then(i).catch(o):o(a);var s}))}))}},function(e,t,n){"use strict";var r=n(6),i=["悋Ꜫ脳맭䅼㯧瞆奤","¬ְ\b\t\t","\t\t\t\t","\b\t\b\t\t\t\n\t\n\v\t\v","\f\t\f\r\t\r\t\t","\t\t\t\t","\t\t\t","\t\t\t\t","\t\t\t",'\t\t \t !\t!"\t"#',"\t#$\t$%\t%&\t&'\t'(\t()\t)","*\t*+\t+,\t,-\t-.\t./\t/0\t0","1\t12\t23\t34\t45\t56\t67\t7","8\t89\t9:\t:;\t;<\t<=\t=>\t>","?\t?@\t@A\tAB\tBC\tCD\tDE\tE","F\tFG\tGH\tHI\tIJ\tJK\tKL\tL","M\tMN\tNO\tOP\tPQ\tQR\tRS\tS","T\tTU\tUV\tVW\tWX\tXY\tYZ\tZ","[\t[\\\t\\]\t]^\t^_\t_`\t`a\ta","b\tbc\tcd\tde\tef\tfg\tgh\th","i\tij\tjk\tkl\tlm\tmn\tno\to","p\tpq\tqr\trs\tst\ttu\tuv\tv","w\twx\txy\tyz\tz{\t{|\t|}\t}","~\t~\t€\t€\t","‚\t‚ƒ\tƒ„\t„…\t","…†\t†‡\t‡ˆ\tˆ","‰\t‰Š\tŠ‹\t‹Œ\t","Œ\tŽ\tŽ\t","\t‘\t‘’\t’“\t","“”\t”•\t•–\t–","—\t—˜\t˜™\t™š\t","š›\t›œ\tœ\t","ž\tžŸ\tŸ \t ¡\t","¡¢\t¢£\t£¤\t¤","¥\t¥¦\t¦§\t§¨\t","¨©\t©ª\tª«\t«","¬\t¬­\t­®\t®¯\t","¯°\t°±\t±²\t²","³\t³´\t´µ\tµ¶\t","¶·\t·¸\t¸¹\t¹","º\tº»\t»¼\t¼½\t","½¾\t¾¿\t¿À\tÀ","Á\tÁÂ\tÂÃ\tÃÄ\t","ÄÅ\tÅÆ\tÆÇ\tÇ","È\tÈÉ\tÉÊ\tÊË\t","ËÌ\tÌÍ\tÍÎ\tÎ","Ï\tÏÐ\tÐÑ\tÑÒ\t","Ò","","\b\b\t","\t\n\n\v\v\f\f\r","\r","","","","","","",'  !!!"""##',"$$%%&&''(","())**++,,-","-..//00112","2334455667","7777778888","8888999999","99::::::;;",";;;;;;;<<<","<<<<======",">>>>??????","?@@@@@AAAA","AABBBCCCCC","CCCCCCDDDD","DDDEEEFFFF","FFFGGGGGGG","HHHHHIIIIJ","JJJJKKKKKK","KKLLLLLMMM","NNNNNNNNNN","NNNNNNOOOO","OOOOOPPPPP","PQQQQQQQRR","RRRRSSSSTT","TTTTTUUUUU","UUVVVVVVVW","WWWWWWWXXX","YYYYYYYYYZ","ZZZZZZ[[[[","[[\\\\\\]]]]]","^^^^^^___","_______```","`aaaaaaaaa","aabbbbbccc","ccdddddeee","eeefffffgg","gggggggggg","ghhhhiiiii","ijjjjjjjjj","jjjjkkkkkk","kkkkkkkkkk","klllmmmmnn","nnoooopppp","pppqqqqqrr","rrrrrrrsss","ssttttttuu","uuuuuvvvvv","vvvwwwwxxx","xxyyyyyyyz","zzzz{{{{{{","|||||||}}}","}}~~~~~","€€€€","€","‚‚‚‚‚ƒ","ƒƒƒƒƒ„","„„„………","………†††","†††‡‡‡","‡ˆˆˆˆˆ","ˆˆˆ‰‰‰","‰‰‰‰‰Š","ŠŠŠŠŠŠ","Š‹‹‹‹‹","‹‹‹‹ŒŒ","ŒŒŒŒŒŒ","ŒŒ","ŽŽ","ŽŽŽŽŽŽ","ŽŽ","","","‘‘‘‘‘","‘‘‘‘‘‘","‘‘‘’’’","’’’“““","“““““”","””””””","••••••","Ґ\n••Ғ\n•\f••ҕ\v","••••••","••ҝ\n••ҟ\n•\f•","•Ң\v•••ҥ\n•","––––Ҫ\n–\r–","–ҫ—————","——————","——————","——Ӏ\n—˜˜","˜˜˜ӆ\n˜\r˜˜Ӈ","™™™™Ӎ\n™\f™","™Ӑ\v™™Ӓ\n™š","ššӖ\nš\rššӗ","››ӛ\n›œœœ","ӟ\nœӣ\n","žžžӧ\nžŸŸ","   ӭ\n ¡","¡¢¢Ӳ\n¢\r¢¢ӳ","¢¢ӷ\n¢\r¢¢Ӹ","¢¢¢ӽ\n¢\r¢¢Ӿ","¢¢¢ԃ\n¢\r¢¢","Ԅ¢ԇ\n¢¢¢¢","ԋ\n¢¢¢Ԏ\n¢\r¢¢","ԏ££ԓ\n£\f££Ԗ","\v££££Ԛ\n£\r£","£ԛ¤¤¤Ԡ\n¤","\f¤¤ԣ\v¤¥¥","¥ԧ\n¥¦¦¦ԫ\n¦","§§§§§Ա\n","§\f§§Դ\v§§§","¨¨Թ\n¨\r¨¨Ժ","©©©©©©","©©©©©©","©Չ\n©ªªªª","ªՏ\nª\fªªՒ\vª","ªªªªªª","ª՚\nª\fªª՝\vªª","՟\nª««¬¬","­­®®¯¯","°°±±²²","³³´´µµ","¶¶··¸¸","¹¹ºº»»","¼¼½½¾¾","¿¿ÀÀÁÁ","ÂÂÃÃÄÄ","ÅÅÆÆÇÇ","ÈÈÉÉÊÊ","ËËÌÌÍÍ","ÎÎÏÏÐÐ","ÑÑÒÒՐÓ","\t\v\r\b\t","\n\v\f\r","!#%')+-/1","3579;= ?!A\"C#E$G%I&K'M(O)Q*S+U,W-Y.","[/]0_1a2c3e4g5i6k7m8o9q:s;u{?}@ABƒC…D‡","E‰F‹GHI‘J“K•L—M™N›","OPŸQ¡R£S¥T§U©V«W­X¯","Y±Z³[µ\\·]¹^»_½`¿aÁbÃ","cÅdÇeÉfËgÍhÏiÑjÓkÕl×","mÙnÛoÝpßqárãsåtçuévë","wíxïyñzó{õ|÷}ù~ûý","€ÿā‚ăƒą„ć…ĉ","†ċ‡čˆď‰đŠē‹ĕ","ŒėęŽěĝğ‘ġ","’ģ“ĥ”ħ•ĩ–ī—ĭ","˜į™ıšij›ĵœķĹ","žĻŸĽ Ŀ¡Ł¢Ń£Ņ","¤Ň¥ʼn¦ŋ§ō¨ŏ©ő","ªœ«ŕ¬ŗřśŝ","şšţťŧũ","ūŭůűųŵ","ŷŹŻŽſƁ","ƃƅƇƉƋƍ","ƏƑƓƕƗƙ","ƛƝƟơƣ","2$$^^))^^2;CHch","$$))DDHHPPTTVV^^ddhhppttvvWWwwCHch","GGgg\baa⁁⁂⁖⁖︵︶﹏﹑a","abb\n¢¢ᚂᚂ᠐᠐ ","‌‪‫‱‱⁡⁡。。\f","\f Ư2;C","\\aac|¬¬··¹¹¼¼ÂØÚ","øú˃ˈ˓ˢ˦ˮˮ˰˰̂","Ͷ͸͹ͼͿΈΌΎΎΐΣΥ","ϷϹ҃҅҉ҌԩԳ՘՛՛գ","։ֿׁׁ֓׃ׄ׆ׇ׉׉ג","׬ײ״ؒ؜آ٫ٰەۗ۞ۡ","۪۬۾܁܁ܒ݌ݏ޳߂߷߼","߼ࠂ࠯ࡂ࡝ࢢࢢࢤࢮࣦऀं","॥२ॱॳॹॻঁঃঅই঎঑","঒কপবল঴঴স঻া৆৉","৊্৐৙৙৞য়ৡ৥২৳ਃ","ਅਇ਌਑਒ਕਪਬਲ਴ਵ਷","ਸ਺਻ਾਾੀ੄੉੊੍੏੓","੓ਜ਼ਫ਼੠੠੨੷ઃઅઇએઑ","ઓકપબલ઴વષ઻ાેૉ","ો્૏૒૒ૢ૥૨૱ଃଅଇ","଎଑଒କପବଲ଴ଵଷ଻ା","୆୉୊୍୏୘୙୞ୟୡ୥୨","ୱ୳୳஄அஇ஌ஐஒஔ஗஛","ஜஞஞ஠஡஥஦ப஬ர஻ீ","௄ைொௌ௏௒௒௙௙௨௱ః","అఇఎఐఒఔపబవష఻ి","ెైొౌ౏౗ౘౚ౛ౢ౥౨","౱಄ಅಇಎಐಒಔಪಬವಷ","಻ಾೆೈೊೌ೏೗೘ೠೠೢ","೥೨ೱೳ೴ഄഅഇഎഐഒഔ","഼ിെൈൊൌ൐൙൙ൢ൥൨","൱ർඁ඄අඇ඘ගඳඵල඿","඿ෂ෈෌෌ෑූෘෘේ෡෴","෵ฃ฼โ๐๒๛຃ຄຆຆຉ","ຊຌຌຏຏຖນປມຣລວ","ວຩຩຬອຯົຽ຿ໂໆ່","່໊໏໒໛ໞ໡༂༂༚༛༢","༫༹༹༷༷༻༻ཀཉཋ཮ཱི","྆ྈྙྛ྾࿈࿈ဂ။ၒ႟Ⴂ","Ⴧ჉჉჏჏გჼჾቊቌ቏ቒ","ቘቚቚቜ቟ቢኊኌ኏ኒኲኴ","኷ኺዀዂዂዄ዇ዊዘዚጒጔ","጗ጚ፜፟፡፫፳ᎂ᎑Ꭲ᏶ᐃ","᙮ᙱᚁᚃ᚜ᚢ᛬ᛰᛲᜂᜎᜐ","᜖ᜢ᜶ᝂ᝕ᝢᝮᝰᝲ᝴᝵គ","៕៙៙៞៟២៫᠍᠏᠒᠛ᠢ","᡹ᢂ᢬ᢲ᣷ᤂᤞᤢ᤭ᤲ᤽᥈","᥯ᥲ᥶ᦂ᦭ᦲ᧋᧒᧜ᨂ᨝ᨢ","᩠ᩢ᩾᪁᪋᪒᪛᪩᪩ᬂ᭍᭒","᭛᭭᭵ᮂ᯵ᰂ᰹᱂᱋ᱏ᱿᳒","᳔᳖᳸ᴂᷨ᷾἗Ἒ἟ἢ὇Ὂ","὏ὒὙὛὛὝὝὟὟὡ὿ᾂ","ᾶᾸι῀῀ῄῆῈ῎ῒ῕Ῐ","῝ῢ΅ῴῶῸ῾⁁⁂⁖⁖⁳","⁳₁₁ₒ₞⃒⃞⃣⃣⃧⃲℄","℄℉℉ℌℕ℗℗ℚ℟ΩΩℨ","ℨKKℬ℻ℾ⅁ⅇ⅋⅐⅐Ⅲ","↊ⰂⰰⰲⱠⱢ⳦Ⳮ⳵ⴂⴧ⴩","⴩⴯⴯ⴲ⵩⵱⵱ⶁ⶘ⶢⶨⶪ","ⶰⶲⶸⶺⷀⷂⷈⷊⷐⷒⷘⷚ","ⷠⷢ⸁〇〉〣〱〳〷〺〾ぃ","゘゛ァィーヾ㄁ㄇㄯㄳ㆐ㆢ","ㆼㇲ㈁㐂䶷丂鿎ꀂ꒎ꓒ꓿ꔂ","꘎ꘒ꘭Ꙃ꙱ꙶꙿꚁꚙꚡ꛳ꜙ","꜡Ꜥ꞊ꞍꞐꞒꞕꞢꞬꟺ꠩ꡂ","꡵ꢂ꣆꣒꣛꣢꣹ꣽꣽ꤂꤯ꤲ","꥕ꥢ꥾ꦂ꧂꧑꧛ꨂ꨸ꩂ꩏꩒","꩛ꩢ꩸ꩼꩽꪂ꫄ꫝ꫟ꫢ꫱ꫴ","꫸ꬃ꬈ꬋ꬐ꬓ꬘ꬢꬨꬪꬰꯂ","꯬꯮꯯꯲꯻갂힥ힲ퟈ퟍ퟽車","﩯全﫛fl﬈ﬕ﬙ײַשׁשּׁטּךּ","מּנּנּ﭂ףּ﭅צּרּ﮳ﯕ﴿ﵒ","﶑ﶔ﷉ﷲ﷽︂︑︨︢︵︶﹏","﹑ﹲﹶﹸ﻾2;C\aac","|ィ￀ᅣ￉ᅩ￑ᅯ￙ᅵ￞","","&&¤§֑֑؍؍৴৵৽৽","૳૳௻௻แแ៝៝₢₼꠺꠺","﷾﷾﹫﹫&&¬ ̄￧│",'""\v\v\f\f\r\r',"!!ŴC\\c|¬¬··¼¼ÂØ","Úøú˃ˈ˓ˢ˦ˮˮ˰˰","ͲͶ͸͹ͼͿΈΈΊΌΎΎ","ΐΣΥϷϹ҃ҌԩԳ՘՛՛","գ։ג׬ײ״آٌٰٱٳە","ۗۗۧۨ۰۱ۼ۾܁܁ܒܒ","ܔܱݏާ޳޳ߌ߬߶߷߼߼","ࠂࠗࠜࠜࠦࠦࠪࠪࡂ࡚ࢢࢢ","ࢤࢮआऻिि॒॒ग़ॣॳॹ","ॻঁই঎঑঒কপবল঴঴","স঻িি৐৐৞য়ৡৣ৲৳","ਇ਌਑਒ਕਪਬਲ਴ਵ਷ਸ","਺਻ਜ਼ਫ਼੠੠ੴ੶ઇએઑઓ","કપબલ઴વષ઻િિ૒૒","ૢૣଇ଎଑଒କପବଲ଴ଵ","ଷ଻ିି୞ୟୡୣ୳୳அஅ","இ஌ஐஒஔ஗஛ஜஞஞ஠஡","஥஦ப஬ர஻௒௒ఇఎఐఒ","ఔపబవష఻ిిౚ౛ౢౣ","ಇಎಐಒಔಪಬವಷ಻ಿಿ","ೠೠೢೣೳ೴ഇഎഐഒഔ഼","ിി൐൐ൢൣർඁඇ඘ගඳ","ඵල඿඿ෂ෈ฃาิีโ่","຃ຄຆຆຉຊຌຌຏຏຖນ","ປມຣລວວຩຩຬອຯາ","ິີ຿຿ໂໆ່່ໞ໡༂༂","གཉཋ཮ྊྎဂာ၁၁ၒၗ","ၜၟၣၣၧၨၰၲၷႃ႐႐","ႢჇ჉჉჏჏გჼჾቊቌ቏","ቒቘቚቚቜ቟ቢኊኌ኏ኒኲ","ኴ኷ኺዀዂዂዄ዇ዊዘዚጒ","ጔ጗ጚ፜ᎂ᎑Ꭲ᏶ᐃ᙮ᙱᚁ","ᚃ᚜ᚢ᛬ᛰᛲᜂᜎᜐᜓᜢᜳ","ᝂᝓᝢᝮᝰᝲគ឵៙៙៞៞","ᠢ᡹ᢂᢪ᢬᢬ᢲ᣷ᤂᤞᥒ᥯","ᥲ᥶ᦂ᦭ᧃᧉᨂᨘᨢᩖ᪩᪩","ᬈᭇ᭍ᮅᮢ᮰᮱ᮼᯧᰂᰥ","ᱏ᱑ᱜ᱿ᳫᳮᳰᳳ᳷᳸ᴂ᷁","Ḃ἗Ἒ἟ἢ὇Ὂ὏ὒὙὛὛ","ὝὝὟὟὡ὿ᾂᾶᾸι῀῀","ῄῆῈ῎ῒ῕Ῐ῝ῢ΅ῴῶ","Ὸ῾⁳⁳₁₁ₒ₞℄℄℉℉","ℌℕ℗℗ℚ℟ΩΩℨℨKK","ℬ℻ℾ⅁ⅇ⅋⅐⅐Ⅲ↊Ⰲⰰ","ⰲⱠⱢ⳦Ⳮ⳰⳴⳵ⴂⴧ⴩⴩","⴯⴯ⴲ⵩⵱⵱ⶂ⶘ⶢⶨⶪⶰ","ⶲⶸⶺⷀⷂⷈⷊⷐⷒⷘⷚⷠ","〇〉〣〫〳〷〺〾ぃ゘ゝァ","ィーヾ㄁ㄇㄯㄳ㆐ㆢㆼㇲ㈁","㐂䶷丂鿎ꀂ꒎ꓒ꓿ꔂ꘎ꘒ꘡","꘬꘭Ꙃ꙰ꚁꚙꚢ꛱ꜙ꜡Ꜥ꞊","ꞍꞐꞒꞕꞢꞬꟺꠃꠅꠇꠉꠌ","ꠎꠤꡂ꡵ꢄꢵꣴ꣹ꣽꣽꤌꤧ","ꤲꥈꥢ꥾ꦆꦴ꧑꧑ꨂꨪꩂꩄ","ꩆꩍꩢ꩸ꩼꩼꪂꪱꪳꪳꪷꪸ","ꪻ꪿ꫂꫂ꫄꫄ꫝ꫟ꫢꫬꫴ꫶","ꬃ꬈ꬋ꬐ꬓ꬘ꬢꬨꬪꬰꯂꯤ","갂힥ힲ퟈ퟍ퟽車﩯全﫛fl﬈","ﬕ﬙ײַײַﬡשׁשּׁטּךּמּנּנּ","﭂ףּ﭅צּרּ﮳ﯕ﴿ﵒ﶑ﶔ﷉","ﷲ﷽ﹲﹶﹸ﻾C\c|ィ￀","ᅣ￉ᅩ￑ᅯ￙ᅵ￞CCcc","DDddEEeeFFffHHhh","IIiiJJjjKKkkLLllMMm","mNNnnOOooPPppQQqq","RRrrSSssTTttUUuu","VVvvXXxxYYyyZZzz[[{","{\\\\||ָ","","\t\v","\r","","","","","!#","%')","+-","/1","35","79",";=?","AC","EG","IK","MO","QSU","WY","[]","_a","ce","gik","mo","qs","uw","y{","}","ƒ","…‡","‰‹","","‘“","•—","™›","Ÿ","¡£","¥§","©«","­¯","±³","µ·","¹»","½¿","ÁÃ","ÅÇ","ÉË","ÍÏ","ÑÓ","Õ×","ÙÛ","Ýß","áã","åç","éë","íï","ñó","õ÷","ùû","ýÿ","āă","ąć","ĉċ","čď","đē","ĕė","ęě","ĝğ","ġģ","ĥħ","ĩī","ĭį","ıij","ĵķ","ĹĻ","ĽĿ","ŁŃ","ŅŇ","ʼnŋ","ōŏ","őœ","ŕƥ","ƧƩ\t","ƫ\vƮ\r","Ʋƴ","ƶƸ","ƺƼ","ƾǀ","ǂDŽ!","dž#Lj%NJ","'nj)ǎ","+ǐ-Ǔ","/Ǖ1Ǘ","3ǚ5ǜ","7Ǟ9ǡ;Ǥ","=ǧ?ǩ","AǫCǮ","EDZGdz","IǵKǷ","MǹOǻQǽ","SǿUȁ","WȃYȅ","[ȇ]ȉ","_ȋaȍ","cȏeȑgȓ","iȕkȗ","mșoȠ","qȨsȰ","uȶwȿ","yɆ{Ɍ}ɐ","ɗɜ","ƒɢ…ɥ","‡ɰ‰ɷ","‹ɺʁ","ʈ‘ʍ","“ʑ•ʖ","—ʞ™ʣ","›ʦʶ","Ÿʿ¡˅","£ˌ¥˒","§˖©˝","«ˤ­˫","¯˳±˶","³˿µ̆","·̌¹̏","»̔½̚","¿̤Ą́","Ã̳Å̸","Ç̽É͂","Ë͈Í͍","Ï͚Ñ͞","ÓͤÕͱ","×΂Ù΅","ÛΉÝ΍","ßΑáΘ","ãΝåΦ","çΫéα","ëθíπ","ïτñω","óϐõϕ","÷ϛùϢ","ûϧýϬ","ÿϰāϵ","ăϺąϿ","ćЅĉЉ","ċЏčЕ","ďЙđС","ēЩĕб","ėкęф","ěьĝі","ğѡġѧ","ģѵĥѻ","ħ҃ĩҤ","īҩĭҭ","įӁıӑ","ijӓĵӚ","ķӞĹӢ","ĻӦĽӨ","ĿӬŁӮ","ŃԆŅԔ","ŇԝʼnԦ","ŋԪōԬ","ŏԸőՈ","œ՞ŕՠ","ŗբřդ","śզŝը","şժšլ","ţծťհ","ŧղũմ","ūնŭո","ůպűռ","ųվŵր","ŷւŹք","ŻֆŽֈ","ſ֊Ɓ֌","ƃ֎ƅ֐","Ƈ֒Ɖ֔","Ƌ֖ƍ֘","Ə֚Ƒ֜","Ɠ֞ƕ֠","Ɨ֢ƙ֤","ƛ֦Ɲ֨","Ɵ֪ơ֬","ƣ֮ƥƦ","=ƦƧƨ","<ƨƩƪ","/ƪ\bƫƬ","?Ƭƭ@ƭ\n","ƮƯ<Ưư1","ưƱ1Ʊ\fƲ","Ƴ1Ƴƴ","Ƶ0Ƶƶ","ƷBƷƸ","ƹ%ƹƺ","ƻAƻƼ","ƽ(ƽƾ","ƿ?ƿǀ","ǁ-ǁǂ","ǃ}ǃDŽ","Dž.Dž džLJ",'LJ"Ljlj',"]lj$NJNj","_Nj&njǍ*","Ǎ(ǎǏ+","Ǐ*ǐǑ-Ǒ","ǒ?ǒ,Ǔǔ","~ǔ.Ǖǖ",",ǖ0Ǘǘ0","ǘǙ0Ǚ2","ǚǛ'Ǜ4ǜ","ǝ`ǝ6Ǟǟ","?ǟǠ€Ǡ8","ǡǢ>Ǣǣ","@ǣ:Ǥǥ#","ǥǦ?Ǧ<","ǧǨ>Ǩ>ǩ","Ǫ@Ǫ@ǫǬ",">Ǭǭ?ǭB","Ǯǯ@ǯǰ?","ǰDDZDz&","DzFdzǴ⟪","ǴHǵǶ《","ǶJǷǸ﹦","ǸLǹǺ>","ǺNǻǼ⟫","ǼPǽǾ》","ǾRǿȀ﹧","ȀTȁȂ@","ȂVȃȄ¯","ȄXȅȆ‒","ȆZȇȈ–","Ȉ\\ȉȊ—","Ȋ^ȋȌ―","Ȍ`ȍȎ‖","ȎbȏȐ‗","ȐdȑȒ∔","ȒfȓȔ﹚","ȔhȕȖ﹥","ȖjȗȘ/","ȘlșȚŵ»","ȚțơÑțȜƏÈ","ȜȝſÀȝȞŹ½","ȞȟƓÊȟn","ȠȡŹ½ȡȢƟÐ","ȢȣƏÈȣȤƇÄ","Ȥȥű¹ȥȦƁÁ","ȦȧƋÆȧp","ȨȩƏÈȩȪƓÊ","ȪȫƍÇȫȬŻ¾","ȬȭƁÁȭȮƇÄ","ȮȯŹ½ȯr","ȰȱƙÍȱȲƕË","ȲȳƁÁȳȴƋÆ","ȴȵŽ¿ȵt","ȶȷƏÈȷȸŹ½","ȸȹƓÊȹȺƁÁ","ȺȻƍÇȻȼŷ¼","ȼȽƁÁȽȾŵ»","Ⱦvȿɀŵ»","ɀɁƍÇɁɂƉÅ","ɂɃƉÅɃɄƁÁ","ɄɅƗÌɅx","ɆɇƙÍɇɈƋÆ","ɈɉƁÁɉɊƍÇ","ɊɋƋÆɋz","Ɍɍű¹ɍɎƇÄ","ɎɏƇÄɏ|","ɐɑŵ»ɑɒƓÊ","ɒɓŹ½ɓɔű¹","ɔɕƗÌɕɖŹ½","ɖ~ɗɘŷ¼","ɘəƓÊəɚƍÇ","ɚɛƏÈɛ€","ɜɝƁÁɝɞƋÆ","ɞɟŷ¼ɟɠŹ½","ɠɡƟÐɡ‚","ɢɣƍÇɣɤƋÆ","ɤ„ɥɦŵ»","ɦɧƍÇɧɨƋÆ","ɨɩƕËɩɪƗÌ","ɪɫƓÊɫɬű¹","ɬɭƁÁɭɮƋÆ","ɮɯƗÌɯ†","ɰɱű¹ɱɲƕË","ɲɳƕËɳɴŹ½","ɴɵƓÊɵɶƗÌ","ɶˆɷɸƁÁ","ɸɹƕËɹŠ","ɺɻƙÍɻɼƋÆ","ɼɽƁÁɽɾƑÉ","ɾɿƙÍɿʀŹ½","ʀŒʁʂŹ½","ʂʃƟÐʃʄƁÁ","ʄʅƕËʅʆƗÌ","ʆʇƕËʇŽ","ʈʉƇÄʉʊƍÇ","ʊʋű¹ʋʌŷ¼","ʌʍʎŵ»","ʎʏƕËʏʐƛÎ","ʐ’ʑʒƝÏ","ʒʓƁÁʓʔƗÌ","ʔʕſÀʕ”","ʖʗſÀʗʘŹ½","ʘʙű¹ʙʚŷ¼","ʚʛŹ½ʛʜƓÊ","ʜʝƕËʝ–","ʞʟŻ¾ʟʠƓÊ","ʠʡƍÇʡʢƉÅ","ʢ˜ʣʤű¹","ʤʥƕËʥš","ʦʧŻ¾ʧʨƁÁ","ʨʩŹ½ʩʪƇÄ","ʪʫŷ¼ʫʬƗÌ","ʬʭŹ½ʭʮƓÊ","ʮʯƉÅʯʰƁÁ","ʰʱƋÆʱʲű¹","ʲʳƗÌʳʴƍÇ","ʴʵƓÊʵœ","ʶʷƍÇʷʸƏÈ","ʸʹƗÌʹʺƁÁ","ʺʻƍÇʻʼƋÆ","ʼʽű¹ʽʾƇÄ","ʾžʿˀƉÅ","ˀˁű¹ˁ˂ƗÌ","˂˃ŵ»˃˄ſÀ","˄ ˅ˆƙÍ","ˆˇƋÆˇˈƝÏ","ˈˉƁÁˉˊƋÆ","ˊˋŷ¼ˋ¢","ˌˍƉÅˍˎŹ½","ˎˏƓÊˏːŽ¿","ːˑŹ½ˑ¤","˒˓ƕË˓˔Ź½","˔˕ƗÌ˕¦","˖˗ŷ¼˗˘Ź½","˘˙ƗÌ˙˚ű¹","˚˛ŵ»˛˜ſÀ","˜¨˝˞ŷ¼","˞˟Ź½˟ˠƇÄ","ˠˡŹ½ˡˢƗÌ","ˢˣŹ½ˣª","ˤ˥ƓÊ˥˦Ź½","˦˧ƉÅ˧˨ƍÇ","˨˩ƛÎ˩˪Ź½","˪¬˫ˬŻ¾","ˬ˭ƍÇ˭ˮƓÊ","ˮ˯Ź½˯˰ű¹","˰˱ŵ»˱˲ſÀ","˲®˳˴ƁÁ","˴˵ƋÆ˵°","˶˷ŷ¼˷˸ƁÁ","˸˹ƕË˹˺ƗÌ","˺˻ƁÁ˻˼ƋÆ","˼˽ŵ»˽˾ƗÌ","˾²˿̀ƓÊ","̀́Ź½́̂ƗÌ","̂̃ƙÍ̃̄ƓÊ","̄̅ƋÆ̅´","̆̇ƍÇ̇̈ƓÊ","̈̉ŷ¼̉̊Ź½","̊̋ƓÊ̋¶","̌̍ųº̍̎ơÑ","̎¸̏̐ƕË","̐̑ƅÃ̑̒ƁÁ","̒̓ƏÈ̓º","̔̕ƇÄ̖̕ƁÁ","̖̗ƉÅ̗̘ƁÁ","̘̙ƗÌ̙¼","̛̚ű¹̛̜ƕË","̜̝ŵ»̝̞Ź½","̞̟ƋÆ̟̠ŷ¼","̡̠ƁÁ̡̢ƋÆ","̢̣Ž¿̣¾","̤̥ű¹̥̦ƕË","̧̦ŵ»̧À","̨̩ŷ¼̩̪Ź½","̪̫ƕË̫̬ŵ»","̬̭Ź½̭̮ƋÆ","̮̯ŷ¼̯̰ƁÁ","̰̱ƋÆ̱̲Ž¿","̲Â̴̳ŷ¼","̴̵Ź½̵̶ƕË","̶̷ŵ»̷Ä","̸̹ƃÂ̹̺ƍÇ","̺̻ƁÁ̻̼ƋÆ","̼Æ̽̾ƕË","̾̿ŵ»̿̀ű¹","̀́ƋǼÈ","͂̓ƕË̓̈́ƗÌ","̈́ͅű¹͆ͅƓÊ","͇͆ƗÌ͇Ê","͈͉ƋÆ͉͊ƍÇ","͊͋ŷ¼͋͌Ź½","͌Ì͍͎ƓÊ","͎͏Ź½͏͐ƇÄ","͐͑ű¹͑͒ƗÌ","͓͒ƁÁ͓͔ƍÇ","͔͕ƋÆ͕͖ƕË","͖͗ſÀ͗͘ƁÁ","͙͘ƏÈ͙Î","͚͛ƓÊ͛͜Ź½","͜͝ƇÄ͝Ð","͟͞ƝÏ͟͠ſÀ","͠͡Ź½͢͡ƓÊ","ͣ͢Ź½ͣÒ","ͤͥƕËͥͦſÀ","ͦͧƍÇͧͨƓÊ","ͨͩƗÌͩͪŹ½","ͪͫƕËͫͬƗÌ","ͬͭƏÈͭͮű¹","ͮͯƗÌͯͰſÀ","ͰÔͱͲű¹","ͲͳƇÄͳʹƇÄ","ʹ͵ƕË͵ͶſÀ","ͶͷƍÇͷ͸ƓÊ","͸͹ƗÌ͹ͺŹ½","ͺͻƕËͻͼƗÌ","ͼͽƏÈͽ;ű¹",";ͿƗÌͿ΀ſÀ","΀΁ƕË΁Ö","΂΃ƍÇ΃΄ƓÊ","΄Ø΅ΆƟÐ","Ά·ƍÇ·ΈƓÊ","ΈÚΉΊű¹","Ί΋ƋÆ΋Όŷ¼","ΌÜ΍ΎƋÆ","ΎΏƍÇΏΐƗÌ","ΐÞΑΒƕË","ΒΓƗÌΓΔű¹","ΔΕƓÊΕΖƗÌ","ΖΗƕËΗà","ΘΙŹ½ΙΚƋÆ","ΚΛŷ¼ΛΜƕË","ΜâΝΞŵ»","ΞΟƍÇΟΠƋÆ","ΠΡƗÌΡ΢ű¹","΢ΣƁÁΣΤƋÆ","ΤΥƕËΥä","ΦΧƋÆΧΨƙÍ","ΨΩƇÄΩΪƇÄ","ΪæΫάŵ»","άέƍÇέήƙÍ","ήίƋÆίΰƗÌ","ΰèαβŻ¾","βγƁÁγδƇÄ","δεƗÌεζŹ½","ζηƓÊηê","θιŹ½ικƟÐ","κλƗÌλμƓÊ","μνű¹νξŵ»","ξοƗÌοì","πρű¹ρςƋÆ","ςσơÑσî","τυƋÆυφƍÇ","φχƋÆχψŹ½","ψðωϊƕË","ϊϋƁÁϋόƋÆ","όύŽ¿ύώƇÄ","ώϏŹ½Ϗò","ϐϑƗÌϑϒƓÊ","ϒϓƙÍϓϔŹ½","ϔôϕϖŻ¾","ϖϗű¹ϗϘƇÄ","ϘϙƕËϙϚŹ½","ϚöϛϜƓÊ","ϜϝŹ½ϝϞŷ¼","ϞϟƙÍϟϠŵ»","ϠϡŹ½ϡø","Ϣϣŵ»ϣϤű¹","ϤϥƕËϥϦŹ½","ϦúϧϨŹ½","ϨϩƇÄϩϪƕË","ϪϫŹ½ϫü","ϬϭŹ½ϭϮƋÆ","Ϯϯŷ¼ϯþ","ϰϱƝÏϱϲſÀ","ϲϳŹ½ϳϴƋÆ","ϴĀϵ϶ƗÌ","϶ϷſÀϷϸŹ½","ϸϹƋÆϹĂ","Ϻϻŵ»ϻϼű¹","ϼϽƇÄϽϾƇÄ","ϾĄϿЀơÑ","ЀЁƁÁЁЂŹ½","ЂЃƇÄЃЄŷ¼","ЄĆЅІƅÃ","ІЇŹ½ЇЈơÑ","ЈĈЉЊųº","ЊЋƗÌЋЌƓÊ","ЌЍŹ½ЍЎŹ½","ЎĊЏАŹ½","АБƟÐБВƁÁ","ВГƕËГДƗÌ","ДČЕЖŻ¾","ЖЗƍÇЗИƓÊ","ИĎЙКƍÇ","КЛƏÈЛМƗÌ","МНƁÁНОƍÇ","ОПƋÆПРƕË","РĐСТŹ½","ТУƟÐУФŹ½","ФХŵ»ХЦƙÍ","ЦЧƗÌЧШŹ½","ШĒЩЪŷ¼","ЪЫŹ½ЫЬŻ¾","ЬЭƁÁЭЮƋÆ","ЮЯŹ½Яаŷ¼","аĔбвŻ¾","вгƙÍгдƋÆ","деŵ»ежƗÌ","жзƁÁзиƍÇ","ийƋÆйĖ","клŻ¾лмƙÍ","мнƋÆноŵ»","опƗÌпрƁÁ","рсƍÇстƋÆ","туƕËуĘ","фхųºхцƍÇ","цчƍÇчшƕË","шщƗÌщъŹ½","ъыŷ¼ыĚ","ьэƏÈэюƓÊ","юяƍÇяѐŵ»","ѐёŹ½ёђŷ¼","ђѓƙÍѓєƓÊ","єѕŹ½ѕĜ","іїƏÈїјƓÊ","јљƍÇљњŵ»","њћŹ½ћќŷ¼","ќѝƙÍѝўƓÊ","ўџŹ½џѠƕË","ѠĞѡѢű¹","Ѣѣŷ¼ѣѤƉÅ","ѤѥƁÁѥѦƋÆ","ѦĠѧѨű¹","Ѩѩŷ¼ѩѪƉÅ","ѪѫƁÁѫѬƋÆ","ѬѭƁÁѭѮƕË","ѮѯƗÌѯѰƓÊ","Ѱѱű¹ѱѲƗÌ","ѲѳƍÇѳѴƓÊ","ѴĢѵѶųº","ѶѷƓÊѷѸƁÁ","ѸѹŹ½ѹѺŻ¾","ѺĤѻѼƛÎ","ѼѽŹ½ѽѾƓÊ","ѾѿųºѿҀƍÇ","ҀҁƕËҁ҂Ź½","҂Ħ҃҄ƍÇ","҄҅ƙÍ҅҆ƗÌ","҆҇ƏÈ҇҈ƙÍ","҈҉ƗÌ҉Ĩ","Ҋғ$ҋҒ\nҌ","ҏ^ҍҐ\vҎ","Ґҏҍҏ","ҎҐҒґ","ҋґҌҒ","ҕғґғ","ҔҔҖҕ","ғҖҥ$җ","Ҡ)Ҙҟ\nҙҜ","^Қҝ\vқҝ","ҜҚҜқ","ҝҟҞҘ","ҞҙҟҢ","ҠҞҠҡ","ҡңҢҠ","ңҥ)ҤҊ","ҤҗҥĪ","Ҧҧ'ҧҨ","\tҨҪ\tҩҦ","Ҫҫҫҩ","ҫҬҬĬ","ҭҿ^ҮӀ\t","үҰ\tҰұķ","œұҲķœҲҳķ","œҳҴķœҴӀ","ҵҶ\tҶҷķ","œҷҸķœҸҹķ","œҹҺķœҺһķ","œһҼķœҼҽķ","œҽҾķœҾӀ","ҿҮҿү","ҿҵӀĮ","Ӂӂ2ӂӃz","ӃӅӄӆķœ","ӅӄӆӇ","ӇӅӇӈ","ӈİӉӒŁ¡","ӊӎĻžӋӍŝ","ӌӋӍӐ","ӎӌӎӏ","ӏӒӐӎ","ӑӉӑӊ","ӒIJӓӕŁ¡","ӔӖĿ ӕӔ","Ӗӗӗӕ","ӗӘӘĴ","әӛ\tӚә","ӛĶӜӟŝ","ӝӟĵ›ӞӜ","Ӟӝӟĸ","ӠӣŁ¡ӡӣĻž","ӢӠӢӡ","ӣĺӤӧĽŸ","ӥӧ:;ӦӤ","Ӧӥӧļ","Өө39өľӪ","ӭŁ¡ӫӭĽŸӬ","ӪӬӫӭ","ŀӮӯ2ӯ","łӰӲŝӱ","ӰӲӳӳ","ӱӳӴӴ","ԇӵӷŝӶ","ӵӷӸӸ","ӶӸӹӹ","ӺӺӼ0ӻ","ӽŝӼӻӽ","ӾӾӼӾ","ӿӿԇԀ","Ԃ0ԁԃŝԂ","ԁԃԄԄ","ԂԄԅԅ","ԇԆӱԆ","ӶԆԀԇ","ԈԈԊ\t\bԉԋ","/ԊԉԊԋ","ԋԍԌԎ","ŝԍԌԎԏ","ԏԍԏԐ","Ԑńԑԓ","ŝԒԑԓԖ","ԔԒԔԕ","ԕԗԖԔ","ԗԙ0ԘԚ","ŝԙԘԚԛ","ԛԙԛԜ","Ԝņԝԡ","ʼn¥ԞԠŋ¦ԟԞ","Ԡԣԡԟ","ԡԢԢň","ԣԡԤԧ","ů¸ԥԧ\t\tԦԤ","ԦԥԧŊ","Ԩԫś®ԩԫ","ţ²ԪԨԪԩ","ԫŌԬԲ","bԭԱ\n\nԮԯb","ԯԱb԰ԭ","԰ԮԱԴ","Բ԰ԲԳ","ԳԵԴԲ","ԵԶbԶŎ","ԷԹő©ԸԷ","ԹԺԺԸ","ԺԻԻŐ","ԼՉť³ԽՉŧ´","ԾՉũµԿՉū¶","ՀՉŗ¬ՁՉš±","ՂՉş°ՃՉŝ¯","ՄՉř­ՅՉŭ·","ՆՉ\t\vՇՉœª","ՈԼՈԽ","ՈԾՈԿ","ՈՀՈՁ","ՈՂՈՃ","ՈՄՈՅ","ՈՆՈՇ","ՉŒՊՋ1","ՋՌ,ՌՐ","ՍՏ\vՎՍ","ՏՒՐՑ","ՐՎՑՓ","ՒՐՓՔ,","Ք՟1ՕՖ1Ֆ","՗1՗՛՘","՚\n\fՙ՘՚՝","՛ՙ՛՜","՜՟՝՛","՞Պ՞Օ","՟Ŕՠա","\vաŖբգ","\t\rգŘդե\t","եŚզէ\t","էŜըթ\t","թŞժի\t","իŠլխ\t","խŢծկ\t","կŤհձ\t","ձŦղճ\t","ճŨմյ\t","յŪնշ\t","շŬոչ\t","չŮպջ\t","ջŰռս\t","սŲվտ\t","տŴրց\t","ցŶւփ\t","փŸքօ\t\b","օźֆև\t","ևżֈ։\t","։ž֊֋\t ","֋ƀ֌֍\t!֍",'Ƃ֎֏\t"֏Ƅ',"֐֑\t#֑Ɔ","֒֓\t$֓ƈ","֔֕\t%֕Ɗ","֖֗\t&֗ƌ","֘֙\t'֙Ǝ֚","֛\t(֛Ɛ֜֝","\t)֝ƒ֞֟\t*","֟Ɣ֠֡\t+","֡Ɩ֢֣\t,֣","Ƙ֤֥\t֥","ƚ֦֧\t-֧Ɯ","֨֩\t.֩ƞ","֪֫\t/֫Ơ","֭֬\t0֭Ƣ","֮֯\t1֯Ƥ","(ҏґғҜҞҠҤҫҿӇ","ӎӑӗӚӞӢӦӬӳӸӾԄ","ԆԊԏԔԛԡԦԪ԰ԲԺՈ","Ր՛՞"].join(""),o=(new r.atn.ATNDeserializer).deserialize(i),a=o.decisionToState.map((function(e,t){return new r.dfa.DFA(e,t)}));function s(e){return r.Lexer.call(this,e),this._interp=new r.atn.LexerATNSimulator(this,o,a,new r.PredictionContextCache),this}s.prototype=Object.create(r.Lexer.prototype),s.prototype.constructor=s,s.EOF=r.Token.EOF,s.T__0=1,s.T__1=2,s.T__2=3,s.T__3=4,s.T__4=5,s.T__5=6,s.T__6=7,s.T__7=8,s.T__8=9,s.T__9=10,s.T__10=11,s.T__11=12,s.T__12=13,s.T__13=14,s.T__14=15,s.T__15=16,s.T__16=17,s.T__17=18,s.T__18=19,s.T__19=20,s.T__20=21,s.T__21=22,s.T__22=23,s.T__23=24,s.T__24=25,s.T__25=26,s.T__26=27,s.T__27=28,s.T__28=29,s.T__29=30,s.T__30=31,s.T__31=32,s.T__32=33,s.T__33=34,s.T__34=35,s.T__35=36,s.T__36=37,s.T__37=38,s.T__38=39,s.T__39=40,s.T__40=41,s.T__41=42,s.T__42=43,s.T__43=44,s.T__44=45,s.T__45=46,s.T__46=47,s.T__47=48,s.T__48=49,s.T__49=50,s.T__50=51,s.T__51=52,s.T__52=53,s.CYPHER=54,s.EXPLAIN=55,s.PROFILE=56,s.USING=57,s.PERIODIC=58,s.COMMIT=59,s.UNION=60,s.ALL=61,s.CREATE=62,s.DROP=63,s.INDEX=64,s.ON=65,s.CONSTRAINT=66,s.ASSERT=67,s.IS=68,s.UNIQUE=69,s.EXISTS=70,s.LOAD=71,s.CSV=72,s.WITH=73,s.HEADERS=74,s.FROM=75,s.AS=76,s.FIELDTERMINATOR=77,s.OPTIONAL=78,s.MATCH=79,s.UNWIND=80,s.MERGE=81,s.SET=82,s.DETACH=83,s.DELETE=84,s.REMOVE=85,s.FOREACH=86,s.IN=87,s.DISTINCT=88,s.RETURN=89,s.ORDER=90,s.BY=91,s.L_SKIP=92,s.LIMIT=93,s.ASCENDING=94,s.ASC=95,s.DESCENDING=96,s.DESC=97,s.JOIN=98,s.SCAN=99,s.START=100,s.NODE=101,s.RELATIONSHIP=102,s.REL=103,s.WHERE=104,s.SHORTESTPATH=105,s.ALLSHORTESTPATHS=106,s.OR=107,s.XOR=108,s.AND=109,s.NOT=110,s.STARTS=111,s.ENDS=112,s.CONTAINS=113,s.NULL=114,s.COUNT=115,s.FILTER=116,s.EXTRACT=117,s.ANY=118,s.NONE=119,s.SINGLE=120,s.TRUE=121,s.FALSE=122,s.REDUCE=123,s.CASE=124,s.ELSE=125,s.END=126,s.WHEN=127,s.THEN=128,s.CALL=129,s.YIELD=130,s.KEY=131,s.BTREE=132,s.EXIST=133,s.FOR=134,s.OPTIONS=135,s.EXECUTE=136,s.DEFINED=137,s.FUNCTION=138,s.FUNCTIONS=139,s.BOOSTED=140,s.PROCEDURE=141,s.PROCEDURES=142,s.ADMIN=143,s.ADMINISTRATOR=144,s.BRIEF=145,s.VERBOSE=146,s.OUTPUT=147,s.StringLiteral=148,s.UrlHex=149,s.EscapedChar=150,s.HexInteger=151,s.DecimalInteger=152,s.OctalInteger=153,s.HexLetter=154,s.HexDigit=155,s.Digit=156,s.NonZeroDigit=157,s.NonZeroOctDigit=158,s.OctDigit=159,s.ZeroDigit=160,s.ExponentDecimalReal=161,s.RegularDecimalReal=162,s.UnescapedSymbolicName=163,s.IdentifierStart=164,s.IdentifierPart=165,s.EscapedSymbolicName=166,s.SP=167,s.WHITESPACE=168,s.Comment=169,s.ERROR_TOKEN=170,s.prototype.channelNames=["DEFAULT_TOKEN_CHANNEL","HIDDEN"],s.prototype.modeNames=["DEFAULT_MODE"],s.prototype.literalNames=[null,"';'","':'","'-'","'=>'","'://'","'/'","'.'","'@'","'#'","'?'","'&'","'='","'+'","'{'","','","'}'","'['","']'","'('","')'","'+='","'|'","'*'","'..'","'%'","'^'","'=~'","'<>'","'!='","'<'","'>'","'<='","'>='","'$'","'⟨'","'〈'","'﹤'","'<'","'⟩'","'〉'","'﹥'","'>'","'­'","'‐'","'‑'","'‒'","'–'","'—'","'―'","'−'","'﹘'","'﹣'","'-'",null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"'0'"],s.prototype.symbolicNames=[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"CYPHER","EXPLAIN","PROFILE","USING","PERIODIC","COMMIT","UNION","ALL","CREATE","DROP","INDEX","ON","CONSTRAINT","ASSERT","IS","UNIQUE","EXISTS","LOAD","CSV","WITH","HEADERS","FROM","AS","FIELDTERMINATOR","OPTIONAL","MATCH","UNWIND","MERGE","SET","DETACH","DELETE","REMOVE","FOREACH","IN","DISTINCT","RETURN","ORDER","BY","L_SKIP","LIMIT","ASCENDING","ASC","DESCENDING","DESC","JOIN","SCAN","START","NODE","RELATIONSHIP","REL","WHERE","SHORTESTPATH","ALLSHORTESTPATHS","OR","XOR","AND","NOT","STARTS","ENDS","CONTAINS","NULL","COUNT","FILTER","EXTRACT","ANY","NONE","SINGLE","TRUE","FALSE","REDUCE","CASE","ELSE","END","WHEN","THEN","CALL","YIELD","KEY","BTREE","EXIST","FOR","OPTIONS","EXECUTE","DEFINED","FUNCTION","FUNCTIONS","BOOSTED","PROCEDURE","PROCEDURES","ADMIN","ADMINISTRATOR","BRIEF","VERBOSE","OUTPUT","StringLiteral","UrlHex","EscapedChar","HexInteger","DecimalInteger","OctalInteger","HexLetter","HexDigit","Digit","NonZeroDigit","NonZeroOctDigit","OctDigit","ZeroDigit","ExponentDecimalReal","RegularDecimalReal","UnescapedSymbolicName","IdentifierStart","IdentifierPart","EscapedSymbolicName","SP","WHITESPACE","Comment","ERROR_TOKEN"],s.prototype.ruleNames=["T__0","T__1","T__2","T__3","T__4","T__5","T__6","T__7","T__8","T__9","T__10","T__11","T__12","T__13","T__14","T__15","T__16","T__17","T__18","T__19","T__20","T__21","T__22","T__23","T__24","T__25","T__26","T__27","T__28","T__29","T__30","T__31","T__32","T__33","T__34","T__35","T__36","T__37","T__38","T__39","T__40","T__41","T__42","T__43","T__44","T__45","T__46","T__47","T__48","T__49","T__50","T__51","T__52","CYPHER","EXPLAIN","PROFILE","USING","PERIODIC","COMMIT","UNION","ALL","CREATE","DROP","INDEX","ON","CONSTRAINT","ASSERT","IS","UNIQUE","EXISTS","LOAD","CSV","WITH","HEADERS","FROM","AS","FIELDTERMINATOR","OPTIONAL","MATCH","UNWIND","MERGE","SET","DETACH","DELETE","REMOVE","FOREACH","IN","DISTINCT","RETURN","ORDER","BY","L_SKIP","LIMIT","ASCENDING","ASC","DESCENDING","DESC","JOIN","SCAN","START","NODE","RELATIONSHIP","REL","WHERE","SHORTESTPATH","ALLSHORTESTPATHS","OR","XOR","AND","NOT","STARTS","ENDS","CONTAINS","NULL","COUNT","FILTER","EXTRACT","ANY","NONE","SINGLE","TRUE","FALSE","REDUCE","CASE","ELSE","END","WHEN","THEN","CALL","YIELD","KEY","BTREE","EXIST","FOR","OPTIONS","EXECUTE","DEFINED","FUNCTION","FUNCTIONS","BOOSTED","PROCEDURE","PROCEDURES","ADMIN","ADMINISTRATOR","BRIEF","VERBOSE","OUTPUT","StringLiteral","UrlHex","EscapedChar","HexInteger","DecimalInteger","OctalInteger","HexLetter","HexDigit","Digit","NonZeroDigit","NonZeroOctDigit","OctDigit","ZeroDigit","ExponentDecimalReal","RegularDecimalReal","UnescapedSymbolicName","IdentifierStart","IdentifierPart","EscapedSymbolicName","SP","WHITESPACE","Comment","ERROR_TOKEN","FF","RS","ID_Continue","GS","FS","CR","Sc","SPACE","TAB","LF","VT","US","ID_Start","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],s.prototype.grammarFileName="Cypher.g4",t.CypherLexer=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ReferencesListener=void 0;var r=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1])||arguments[1],n=this.namesByQuery.length-1,r=e.getText();t&&(this.names[r]=!0,this.namesByQuery[n][r]=!0),this.referencesByName[r]=[].concat(l(this.referencesByName[r]||[]),[e]);var i=this.referencesByQueryAndName[n];i[r]=[].concat(l(i[r]||[]),[e])}},{key:"addVariable",value:function(e){var t=!0,n=e.parentCtx;n&&n.constructor.name===a.ATOM_CONTEXT&&(t=!1),this.add(e,t)}}]),e}();t.ReferencesListener=function(e){function t(){var e,n,i;c(this,t);for(var o=arguments.length,l=Array(o),h=0;h\t>?\t?","@\t@A\tAB\tBC\tCD\tDE\tEF\tF","G\tGH\tHI\tIJ\tJK\tKL\tLM\tM","N\tNO\tOP\tPQ\tQR\tRS\tST\tT","U\tUV\tVW\tWX\tXY\tYZ\tZ[\t[","\\\t\\]\t]^\t^_\t_`\t`a\tab\tb","c\tcd\tde\tef\tfg\tgh\thi\ti","j\tjk\tkl\tlm\tmn\tno\top\tp","q\tqr\trs\tst\ttu\tuv\tvw\tw","x\txy\tyz\tz{\t{|\t|}\t}~\t~","\t€\t€\t‚\t","‚ƒ\tƒ„\t„…\t…","†\t†‡\t‡ˆ\tˆ‰\t","‰Š\tŠ‹\t‹Œ\tŒ","\tŽ\tŽ\t\t","‘\t‘’\t’“\t“","”\t”•\t•–\t–—\t","—˜\t˜™\t™š\tš","›\t›œ\tœ\tž\t","žŸ\tŸ \t ¡\t¡","¢\t¢£\t£¤\t¤¥\t","¥¦\t¦§\t§¨\t¨","©\t©ª\tª«\t«¬\t","¬­\t­®\t®¯\t¯","°\t°±\t±²\t²³\t","³´\t´µ\tµ¶\t¶","·\t·¸\t¸¹\t¹º\t","º»\t»¼\t¼½\t½","¾\t¾¿\t¿À\tÀÁ\t","ÁÂ\tÂÃ\tÃÄ\tÄ","Å\tÅÆ\tÆÇ\tÇÈ\t","ÈÉ\tÉÊ\tÊË\tË","Ì\tÌÍ\tÍÎ\tÎ","ƞ\n\fơ\v","Ƥ\n","Ʃ\n\fƬ\v","Ư\n","ƴ\nƸ\n","ƻ\n","ǀ\n","dž\n\flj\v","ǎ\n","\fǑ\v\b\b\b","\b\b\b\b\b\b\b\bǝ\n\b","\t\t\tǡ\n\t\t\t\tǥ\n\t","\t\t\n\n\v\v\v","\vǮ\n\v\v\v\v","\vdz\n\v\v\v\vǷ\n\v","\v\vǺ\n\v\v\vǽ","\n\v\f\f\r\rȂ\n\r\r\r","\rȆ\n\rȋ\n","\fȎ\v","","","ȝ\n\fȠ\v","","","ȴ","\n\fȷ\v","Ⱦ\n","ɀ\nɄ\n","ɇ\n\fɊ\v","ɍ\n\rɎ","ɕ\n","ə\n","ɝ\n","ɡ\nɣ\n\fɦ","\v","ɬ\nɯ\n","ɳ\n","ɷ\n","ɽ\nʁ\n","ʅ\n","ʉ\nʋ\n\f","ʎ\v","ʔ\nʗ\n","","ʟ\n      ","  ʨ\n !!!!ʭ\n!!ʯ",'\n!\r!!ʰ!!ʴ\n!"""','"ʹ\n"\f""ʼ\v"###$',"$$˃\n$$˅\n$\f$$ˈ\v$%","%%%ˍ\n%&&&&˒\n&","&&&˖\n&\f&&˙\v&''","(())***ˣ\n***","*˧\n***+++˭\n+,",",,˱\n,---˵\n---˸","\n-\f--˻\v-...˿\n..",".///̅\n///̈\n/\f//̋","\v/00000000̔","\n0111̘\n111̛\n1\f11̞","\v122222̤\n222","22̩\n222̬\n2333","3333333333","33̼\n34444444","4444͈\n455556","6667777888","89999::::;",";;;<<<<===","=>>>>?????Ͷ","\n????ͺ\n????;\n?","???΂\n???@@@@","@Ί\n@@@@Ύ\n@@@@","@Γ\n@@@@Η\n@@@@","@@@@@AAAAAΥ","\nAAAAΩ\nAAAAAή","\nAAAAβ\nAAAAA","Aθ\nAAAAμ\nAAAA","AAAAABBBBBϊ","\nBBBBBBBϑ\nBB","BBBBϗ\nBBBBBC","CCCCϡ\nCCCCϥ\nC","CCCCCϫ\nCCCCC","DDDϳ\nDDDDDDD","DDDDϾ\nDDDDDDЄ","\nDDDDDDDDDD","DDА\nDDDDDDЖ\nD","DDDDDDDDDD","DТ\nDDDDЦ\nDEEE","EEEEEEа\nEEEE","EEEEEEEEEн\nE","FFFс\nFFFFх\nFF","FFщ\nF\fFFь\vFFFя\nF","FFђ\nFGGGі\nGGG","GGGGHHHѠ\nHHH","HHѥ\nH\fHHѨ\vHIII","IIIIIIIIѴ\nIJ","JJѸ\nJJJKKKKKҀ","\nKKKLLL҆\nLLL","LҊ\nLLLLҎ\nLLLґ\nL\fL","LҔ\vLMMMҘ\nMMMMҜ","\nMMMMMMҢ\nMMM","MҦ\nMMMMMMҬ\nMM","MMҰ\nMMMMMMҶ\nM","MMMҺ\nMNNNҾ\nNN","NNӂ\nNNNNӆ\nNNN","Nӊ\nNNNӍ\nN\fNNӐ\vNO","OOOOӖ\nOOOOӚ\nO","OOӝ\nO\fOOӠ\vOPPP","PPӦ\nPQQQӪ\nQQQ","QӮ\nQQQQQQQQӶ\n","QQQQQӻ\nQ\rQQӼQ","QԀ\nQQQRRRԆ\nRR","Rԉ\nRRRRRԎ\nRRRԑ","\nRSSSԕ\nSSSԘ\nSS","Sԛ\nSSSTTTTԢ\nT","TTTԦ\nTTTTԪ\nTU","UUԮ\nUUUԱ\nUVVVԵ","\nVVVVԹ\nVVVԼ\nV\fVVԿ","\vVVVVՃ\nVVVVՇ\nV","VVՊ\nV\fVVՍ\vVVVՐ\n","VWWWWWWWWՙ\nW","XXXXX՟\nXXXբ\nX","YYYզ\nYYYթ\nYZZ","Z[[[հ\n[[[ճ\n[[","[ն\n[[[[պ\n[[[ս\n[\f[","[ր\v[[[փ\n[[[\\\\","\\\\\\֋\n\\\\\\\\֏\n\\","\\\\֒\n\\\f\\\\֕\v\\\\\\","\\֙\n\\]]]֝\n]^^","^^^^__``aa","aaaaa֯\naaaaֳ\n","aaaֶ\na\faaֹ\vabb","bbccccdddׅ\nd","ddd׉\ndd׋\ndee׎\ne","eeeeeeeeח\nee","eeכ\neeeeן\neee","eeeeeeeee׫\ne","eeeׯ\neeeײ\ne\fee׵\v","eeeeeeeee׾\ne","fffff؄\nffff؈\n","fff؋\nf\fff؎\vfffؑ","\nfgggؕ\nggggؙ\ng","gghhh؟\nhiiiأ\n","iiiiiب\nijjjj","jخ\njkkkkkkkkط","\nkkkllllllـ\n","lllmmmmmو\nmm","mnnnَ\nnnnnْ\nn","nnٕ\nn\fnn٘\vnooo","oppp٠\npppp٤\np","pp٧\np\fpp٪\vpqqqٮ","\nqqqqٲ\nqqqqqٷ","\nqrrrٻ\nrsssٿ\ns","ssڂ\ns\fssڅ\vssss","ssڋ\nstttڏ\nttt","tړ\nttڕ\nttttڙ\nttڛ","\nttttڟ\nttڡ\nttt","uuuڧ\nuuuvvvڭ\n","vvvڰ\nvvvڳ\nvvv","wwwڹ\nwwwwwھ\nw","xxxۂ\nxxxxxۇ\nx","yyyۋ\nyyyyۏ\nyyۑ","\nyyyyە\nyyۗ\nyyyۚ","\nyyyy۞\nyy۠\nyyy","zzzۦ\nz{{{۪\n{{","{|||۰\n||||۴\n|\f|","|۷\v|}}}~~۽\n~~","~܃\n","܆\n\f܉\v€","€€ܐ\n","ܔ\n","ܖ\nܚ\n","ܞ\nܠ\n","ܢ\n‚‚ƒ","ƒ„„………","………ܯ\n…\f……ܲ","\v…†††††","†ܹ\n†\f††ܼ\v†","‡‡‡‡‡‡݃","\n‡\f‡‡݆\v‡ˆˆ","ˆ݊\nˆˆ݌\nˆ\fˆˆ","ݏ\vˆˆˆ‰‰","‰ݕ\n‰‰‰ݘ\n‰\f‰","‰ݛ\v‰ŠŠŠݟ\n","ŠŠŠŠݣ\nŠŠ","ŠŠݧ\nŠŠŠ","Šݫ\nŠŠŠݮ\nŠ\fŠ","Šݱ\vŠ‹‹‹ݵ\n","‹‹‹‹ݹ\n‹‹","‹‹ݽ\n‹‹‹","‹ށ\n‹‹‹‹ޅ\n‹","‹‹‹މ\n‹‹","‹ތ\n‹\f‹‹ޏ\v‹Œ","ŒŒޓ\nŒŒŒ","Œޗ\nŒŒŒޚ\nŒ\fŒ","Œޝ\vŒޡ\n","ޣ\n\fަ\v","ŽŽŽެ\n","ŽŽŽŽŽŽ","Ž޳\nŽŽŽŽ޷\nŽ","ŽŽŽ޻\nŽŽ","ŽŽ޿\nŽŽŽŽ","ŽŽŽŽŽŽ","ŽŽŽŽŽߎ\n","ŽŽŽߑ\nŽŽŽ","ŽŽŽŽŽŽ","ŽŽŽŽߞ\nŽ\fŽ","Žߡ\vŽߥ","\nߩ\n","߫\n\f߮\v","߲\n","߶\nߺ\n","‘‘’’","’ࠂ\n’’’’ࠆ\n’","’’’ࠊ\n’’","’““”””ࠒ","\n””””ࠖ\n””","””ࠚ\n”””","••–––ࠢ\n–","–––ࠦ\n––","––ࠪ\n–––—","—˜˜˜࠲\n˜","˜˜˜࠶\n˜˜˜","˜࠺\n˜˜˜™","™šššࡂ\nšš","ššࡆ\nššš","šࡊ\nššš››","œœœࡒ\nœœ","œœࡖ\nœœœœ","࡚\nœœœœ࡞\nœ","œœࡡ\nœœœࡤ\nœ","œœžž","ž࡬\nžžžžࡰ","\nžžžžࡴ\nžž","žžࡸ\nžžž","žࡼ\nžžžžࢀ\nž","žžžࢄ\nžž","žž࢈\nžžžž","ࢌ\nžžžŸŸ","   ࢔\n   "," ࢘\n    ࢜","\n      ","ࢢ\n    ࢦ\n ","   ࢪ\n   "," ࢮ\n ¡¡¢","¢£££££","£ࢹ\n££££ࢽ\n£","£££ࣁ\n££","££££££","££££££","££££࣓\n£¤","¤¤¤¤¤¤","¤ࣜ\n¤¥¥¦","¦§§§ࣤ\n§§","§§ࣨ\n§§§","§࣬\n§§§§ࣰ\n§","§ࣲ\n§\f§§ࣵ\v§","§ࣷ\n§§§¨¨","¨ࣽ\n¨¨¨¨","¨ं\n¨¨¨¨¨","इ\n¨¨¨¨¨ऌ","\n¨¨¨¨¨ऑ\n¨","¨¨¨¨ख\n¨","¨¨¨¨छ\n¨¨","¨ञ\n¨©©©ढ","\n©©©©द\n©©","©ªªªब\nª","ªªय\nª\rªªर«","««व\n«««स","\n«¬¬¬¬¬","¬­­­ू\n­","­­­ॆ\n­­­","­ॊ\n­­ौ\n­­","­­ॐ\n­­­­","॔\n­­­­क़\n­","­ग़\n­\f­­ढ़\v­­","य़\n­­­®®","®¯¯°°±","±±६\n±±±±","॰\n±±±±ॴ\n±","±±ॷ\n±±±ॺ\n±","±±²²²ঀ\n","²²²²঄\n²²","²²ঈ\n²²ঊ\n²","²²²঎\n²²²","²঒\n²²²²খ","\n²²ঘ\n²²²²","জ\n²²²²ঠ\n²","²²³³³দ\n³","³³´´´ব\n","´´´য\n´\r´´র","´´´঵\n´´","´´হ\n´´´়\n´","\r´´ঽ´ী\n´´","´ৃ\n´´´´ে\n´","´´৊\n´´´্","\n´´´µµµ","৓\nµµµµৗ\nµ","µµµ৛\nµµµ","¶¶···ৣ\n","·¸¸¸১\n¸¸","¸¸৫\n¸¸¸","¸৯\n¸¸¸¸৳\n¸","¸৵\n¸\f¸¸৸\v¸","¸৺\n¸¸¸¹¹","¹਀\n¹¹¹¹਄","\n¹¹¹ਇ\n¹¹¹","ਊ\n¹¹¹¹਎\n¹","¹¹਑\n¹\f¹¹ਔ\v¹","¹¹ਗ\n¹¹¹","ºººººਟ\nº","»»»ਣ\n»»","»»ਧ\n»»»¼","¼¼½½¾¾","¾¿¿¿ਵ\n¿","ÀÀÀਹ\nÀÀÀ","À਽\nÀÀÀÁ","ÁÁÂÂÂ੆\nÂ","ÃÃÃ੊\nÃÃ","ÃÃ੎\nÃÃÃੑ\nÃ","\fÃÃ੔\vÃÄÄ","Ä੘\nÄÄÄਜ਼\nÄ\rÄ","ÄੜÅÅÅ੡\nÅ","ÅÅÅ੥\nÅÅÅ","੨\nÅ\fÅÅ੫\vÅÆ","ÆÇÇÈÈÉ","ÉÉÉ੶\nÉ\fÉÉ੹","\vÉÊÊËËÌ","ÌÍÍÍÍÍ","અ\nÍÎÎÎƟɈ","Ï\b\n\f",' "$&(*,.02468:<>@BDFHJLNPRTVXZ\\^`bdfhjlnprtvxz|',"~€‚„†ˆŠŒŽ’”","–˜šœž ¢¤¦¨ª¬","®°²´¶¸º¼¾ÀÂÄ","ÆÈÊÌÎÐÒÔÖØÚÜ","Þàâäæèêìîðòô","öøúüþĀĂĄĆĈĊČ","ĎĐĒĔĖĘĚĜĞĠĢĤ","ĦĨĪĬĮİIJĴĶĸĺļ","ľŀłńņňŊŌŎŐŒŔ","ŖŘŚŜŞŠŢŤŦŨŪŬ","ŮŰŲŴŶŸźżžƀƂƄ","ƆƈƊƌƎƐƒƔƖƘƚ","\t\t`chi","{|uu¥¥","¨¨™›£¤"," %(!!),-78•","ளƣƥ","Ƴ\bƼ","\nǁ\fNJ","ǜǞ","ǨǪ","Ǿȁ","ȇȏ","ȗ ș",'"ȡ$ȣ&Ȩ',"(Ȫ*ȭ",",Ȱ.ȸ","0Ɂ2Ɍ","4ɐ6ɮ","8ɰ:ʖ<ʞ",">ʠ@ʮ","BʵDʽ","FˆHˌ","JˎL˚","N˜P˞Rˠ","TˬV˰","X˲Z˼","\\̂^̌","`̕b̫","d̻f͇h͉","j͍l͑","n͕p͙","r͝t͡","vͥxͩ","zͭ|ͱ~΅","€Π‚υ","„Ϝ†Х","ˆЧŠр","ŒѓŽѝ","ѳ’ѵ","”ѻ–҃","˜ҹšҽ","œӑžӥ"," ӧ¢ԃ","¤Ԓ¦Ԟ","¨ԫªՏ","¬՘®՚","°գ²ժ","´խ¶ֆ","¸֜º֞","¼֤¾֦","À֨Âֺ","Ä־Æׂ","È׍Ê׿","ÌؒÎ؞","ÐؠÒة","ÔدÖغ","ØكÚً","ÜٙÞٝ","àٶâٺ","äڊæڌ","èڤêڪ","ìڽîۆ","ðۈòۥ","ôۧöۭ","ø۸úۼ","ü܀þ܊","Ā܍Ăܣ","ĄܥĆܧ","ĈܩĊܳ","ČܽĎݍ","ĐݒĒݜ","ĔݲĖސ","ĘޤĚީ","ĜߢĞ߯","Ġ߽Ģ߿","ĤࠍĦࠏ","ĨࠝĪࠟ","Ĭ࠭Į࠯","İ࠽IJ࠿","ĴࡍĶࡏ","ĸࡧĺࡩ","ļ࢏ľࢭ","ŀࢯłࢱ","ń࣒ņࣛ","ňࣝŊࣟ","Ō࣡Ŏझ","ŐटŒऩ","ŔलŖह","ŘिŚॢ","Ŝ॥Ş१","Š३Ţॽ","ŤণŦি","Ũ৐Ū৞","ŬৢŮ৤","Ű৽Ųਞ","ŴਠŶਪ","Ÿਭźਯ","ż਴žਸ਼","ƀੀƂ੅","ƄੇƆ੕","ƈਫ਼Ɗ੬","ƌ੮Ǝੰ","Ɛ੷ƒ੺","Ɣ੼Ɩ੾","Ƙ઄ƚઆ","Ɯƞ\vƝƜ","ƞơƟƠ","ƟƝƠƤ","ơƟƢƤ","ƣƟƣƢ","Ƥƥƪ","ƦƧƧƩ","ƨƦƩƬ","ƪƨƪƫ","ƫƮƬƪ","ƭƯƮƭ","ƮƯƯư","ưƱƱ","Ʋƴ©ƳƲ","ƳƴƴƷ","ƵƸD#ƶƸ","\bƷƵƷƶ","Ƹƺƹƻ","©ƺƹƺƻ","ƻƼƿ","\nƽƾ©ƾǀ","\fƿƽƿǀ","ǀ\tǁǂ","ǂLJƘÍǃDŽ","DŽdžƘÍDžǃ","džljLJDž","LJLjLj\v","ljLJNJǏ","\bNjnj©njǎ","\bǍNjǎǑ","ǏǍǏǐ","ǐ\rǑǏ","ǒǝ\nǓǝ","4ǔǝ\tǕǝŮ","¸ǖǝ> Ǘǝň¥","ǘǝŬ·ǙǝŊ¦",'ǚǝB"Ǜǝ@!ǜǒ',"ǜǓǜǔ","ǜǕǜǖ","ǜǗǜǘ","ǜǙǜǚ","ǜǛǝ","ǞǠƘÍǟǡ","©ǠǟǠǡ","ǡǢǢǤ","ǣǥ©Ǥǣ","ǤǥǥǦ","ǦǧƄǧ","Ǩǩ\vǩ","Ǫǫ\fǫǭ","ǬǮ$ǭǬ","ǭǮǮǯ","ǯDz\rǰDZ","DZdzDzǰ","DzdzdzǶ","Ǵǵ\bǵǷ"," ǶǴǶǷ","ǷǹǸǺ","*ǹǸǹǺ","ǺǼǻǽ","(ǼǻǼǽ","ǽǾǿ","0ǿȀȂ","\bȁȀȁȂ","ȂȅȃȆ","ȄȆȅȃ","ȅȄȆ","ȇȌ0Ȉȉ","\tȉȋ0ȊȈ","ȋȎȌȊ","Ȍȍȍ","ȎȌȏȐ","2Ȑȑ\tȑȒ2","Ȓȓ\tȓȔ2","Ȕȕ\tȕȖ2Ȗ","ȗȘ2Ș","șȞ0Ț","ț\bțȝ0ȜȚ","ȝȠȞȜ","Ȟȟȟ!","ȠȞȡȢ","0Ȣ#ȣȤ",'"ȤȥȥȦ',"&Ȧȧ\nȧ%","Ȩȩ0ȩ'","Ȫȫ\vȫȬ0","Ȭ)ȭȮ\fȮ","ȯ,ȯ+Ȱȵ",".ȱȲ\rȲȴ",".ȳȱȴȷ","ȵȳȵȶ","ȶ-ȷȵ","ȸȿ0ȹȽ","ȺȾ0ȻȾ","2ȼȾ—ȽȺ","ȽȻȽȼ","Ⱦɀȿȹ","ȿɀɀ/","ɁɈƘÍɂɄ\t","ɃɂɃɄ","ɄɅɅɇ","ƘÍɆɃɇɊ","ɈɉɈɆ","ɉ1ɊɈ","ɋɍƌÇɌɋ","ɍɎɎɌ","Ɏɏɏ3","ɐɑ<ɑ5","ɒɔɓɕ©","ɔɓɔɕ","ɕɖɖɘ8","ɗə©ɘɗ","ɘəəɤ","ɚɜɛɝ©","ɜɛɜɝ","ɝɞɞɠ8","ɟɡ©ɠɟ","ɠɡɡɣ","ɢɚɣɦ","ɤɢɤɥ","ɥɧɦɤ","ɧɨɨɯ","ɩɫɪɬ©","ɫɪɫɬ","ɬɭɭɯ","ɮɒɮɩ","ɯ7ɰɲň","¥ɱɳ©ɲɱ","ɲɳɳɴ","ɴɶɵɷ©","ɶɵɶɷ","ɷɸɸɹ<","ɹ9ɺɼ","ɻɽ©ɼɻ","ɼɽɽɾ","ɾʀ<ɿʁ©","ʀɿʀʁ","ʁʌʂʄ","ʃʅ©ʄʃ","ʄʅʅʆ","ʆʈ<ʇʉ©","ʈʇʈʉ","ʉʋʊʂ","ʋʎʌʊ","ʌʍʍʏ","ʎʌʏʐ","ʐʗʑʓ","ʒʔ©ʓʒ","ʓʔʔʕ","ʕʗʖɺ","ʖʑʗ;","ʘʟň¥ʙʟŬ","·ʚʟ6ʛʟ:","ʜʟŊ¦ʝʟt","ʞʘʞʙ","ʞʚʞʛ","ʞʜʞʝ","ʟ=ʠʡŪ¶","ʡʢʢʧ©","ʣʨ–ʤʨŬ·","ʥʨŊ¦ʦʨƘÍ","ʧʣʧʤ","ʧʥʧʦ","ʨ?ʩʬ\b","ʪʭƘÍʫʭŬ·","ʬʪʬʫ","ʭʯʮʩ","ʯʰʰʮ","ʰʱʱʳ","ʲʴ\bʳʲ","ʳʴʴA","ʵʺƘÍʶʷ","ʷʹƘÍʸʶ","ʹʼʺʸ","ʺʻʻC","ʼʺʽʾF$ʾ","ʿT+ʿEˀ˂","H%ˁ˃©˂ˁ","˂˃˃˅","˄ˀ˅ˈ","ˆ˄ˆˇ","ˇGˈˆ","ˉˍJ&ˊˍN(ˋ","ˍP)ˌˉˌˊ","ˌˋˍI","ˎˑ8ˏː","©ː˒L'ˑˏ","ˑ˒˒˗","˓˔©˔˖","R*˕˓˖˙","˗˕˗˘","˘K˙˗","˚˛¤˛M","˜˝9˝O","˞˟:˟Q","ˠˢƘÍˡˣ©","ˢˡˢˣ","ˣˤˤ˦","˥˧©˦˥","˦˧˧˨","˨˩ƘÍ˩S","˪˭f4˫˭V,ˬ˪","ˬ˫˭U","ˮ˱X-˯˱Z.","˰ˮ˰˯","˱W˲˹\\/˳˵","©˴˳˴˵","˵˶˶˸","b2˷˴˸˻","˹˷˹˺","˺Y˻˹","˼˾^0˽˿©","˾˽˾˿","˿̀̀́`","1́[̂̉d3̃","̅©̄̃̄","̅̅̆̆","̈d3̇̄̈̋","̉̇̉̊","̊]̋̉","̌̍;̍̎","©̎̏<̏̐","©̐̓=̑̒","©̒̔ƌÇ̓̑","̓̔̔_","̜̕ˆE̖̘","©̗̖̗̘","̛̘̙̙","d3̛̗̞̚","̜̜̝̚","̝a̞̜","̟̠>̡̠","©̡̣?̢̤","©̢̣̣̤","̤̥̥̬","\\/̨̦>̧̩©","̨̧̨̩","̩̪̪̬\\/","̫̟̫̦","̬c̭̼ˆE̮","̼Êf̯̼ŠF̰̼","ŒG̱̼ŽH̲̼","’J̳̼”K̴̼–","L̵̼šN̶̼œO","̷̼ Q̸̼¢R̹","̼¤S̺̼®X̻̭","̻̮̻̯","̻̰̻̱","̻̲̻̳","̴̵̻̻","̶̷̻̻","̸̻̻̹","̻̺̼e","͈̽p9͈̾","z>͈̿h5͈̀r:͈́","j6͈͂t;͈̓l7̈́","͈v<͈ͅn8͈͆x=","͇͇̽̾","͇͇̿̀","͇͇́͂","͇͇̓̈́","͇͇͆ͅ","͈g͉͊@͊","͋©͋͌~@͌i","͍͎@͎͏","©͏͐€A͐k","͑͒@͓͒©","͓͔‚B͔m","͕͖@͖͗©","͗͘„C͘o","͙͚@͚͛©","͛͜|?͜q͝͞","A͟͞©͟͠","~@͠s͢͡A","ͣ͢©ͣͤ€A","ͤuͥͦA","ͦͧ©ͧͨ‚B","ͨwͩͪAͪ","ͫ©ͫͬ„Cͬ","yͭͮAͮͯ","©ͯͰ|?Ͱ{","ͱͲBͲͳ©","ͳ͵CʹͶ©","͵ʹ͵Ͷ","Ͷͷͷ͹þ","€͸ͺ©͹͸","͹ͺͺͻ","ͻͽͼ;©","ͽͼͽ;",";ͿͿ΁ƈ","Å΀΂©΁΀","΁΂΂΃","΃΄΄}","΅ΆDΆ·©","·ΉCΈΊ©","ΉΈΉΊ","Ί΋΋΍","ΌΎ©΍Ό","΍ΎΎΏ","ΏΐŪ¶ΐΒþ","€ΑΓ©ΒΑ","ΒΓΓΔ","ΔΖΕΗ©","ΖΕΖΗ","ΗΘΘΙE","ΙΚ©ΚΛƆ","ÄΛΜ©ΜΝF","ΝΞ©ΞΟG","ΟΠΡD","Ρ΢©΢ΤC","ΣΥ©ΤΣ","ΤΥΥΦ","ΦΨΧΩ©","ΨΧΨΩ","ΩΪΪΫŪ","¶Ϋέþ€άή©","έάέή","ήίία","ΰβ©αΰ","αββγ","γδEδε©","εηζθ©","ηζηθ","θιιλƄ","Ãκμ©λκ","λμμν","νξξο©","οπFπρ©","ρςgςσ©","στ…τ","υφDφχ©","χωCψϊ©","ωψωϊ","ϊϋϋό","όύŪ¶ύώþ","€ώϐϏϑ©","ϐϏϐϑ","ϑϒϒϓE","ϓϔ©ϔϖH","ϕϗ©ϖϕ","ϖϗϗϘ","ϘϙϙϚƆ","ÄϚϛϛƒ","ϜϝDϝϞ©","ϞϠCϟϡ©","ϠϟϠϡ","ϡϢϢϤ†","Dϣϥ©Ϥϣ","ϤϥϥϦ","ϦϧEϧϨ©","ϨϪHϩϫ©","ϪϩϪϫ","ϫϬϬϭ","ϭϮƆÄϮϯ","ϯ…ϰϲ","ϱϳ©ϲϱ","ϲϳϳϴ","ϴϵϵ϶Ɩ","Ì϶ϷϷϸŪ","¶ϸϹô{ϹϺ","ϺϻƖÌϻϽ","ϼϾ©Ͻϼ","ϽϾϾϿ","ϿЀЀЦ","ЁЃЂЄ©","ЃЂЃЄ","ЄЅЅІ","ІЇƖÌЇЈ","ЈЉŪ¶ЉЊô","{ЊЋЋЌƖ","ÌЌЍƔËЍЏ","ЎА©ЏЎ","ЏААБ","БВВЦ","ГЕДЖ©","ЕДЕЖ","ЖЗЗИ","ИЙƒÊЙКƖ","ÌКЛЛМŪ","¶МНô{НО","ОПƖÌПС","РТ©СР","СТТУ","УФФЦ","ХϰХЁ","ХГЦ‡","ЧШIШЩ©","ЩЪJЪЯ©","ЫЬKЬЭ©","ЭЮLЮа©","ЯЫЯа","аббвM","вг©гдĆ","„де©ежN","жз©зиŪ","¶им©йкO","кл©лн–","мймн","н‰опP","пс©ро","рсст","тфQух©","фуфх","хццъÞ","pчщÈeшч","щьъш","ъыыё","ьъэя©","юэюя","яѐѐђÜo","ёюёђ","ђ‹ѓѕR","єі©ѕє","ѕіії","їјƄјљ©","љњNњћ©","ћќŪ¶ќ","ѝџSўѠ©","џўџѠ","ѠѡѡѦàq","Ѣѣ©ѣѥI","ѤѢѥѨ","ѦѤѦѧ","ѧѨѦ","ѩѪCѪѫ©","ѫѬQѬѭ©","ѭѴ–LѮѯC","ѯѰ©Ѱѱ@","ѱѲ©ѲѴ–L","ѳѩѳѮ","Ѵ‘ѵѷ@","ѶѸ©ѷѶ","ѷѸѸѹ","ѹѺÞpѺ“","ѻѼ@Ѽѽ©","ѽѿGѾҀ©","ѿѾѿҀ","Ҁҁҁ҂Þp","҂•҃҅T","҄҆©҅҄","҅҆҆҇","҇Ғ˜M҈Ҋ©","҉҈҉Ҋ","Ҋҋҋҍ","ҌҎ©ҍҌ","ҍҎҎҏ","ҏґ˜MҐ҉","ґҔҒҐ","Ғғғ—","ҔҒҕҗƆÄ","ҖҘ©җҖ","җҘҘҙ","ҙқҚҜ©","қҚқҜ","ҜҝҝҞƄ","ҞҺҟҡŪ¶","ҠҢ©ҡҠ","ҡҢҢң","ңҥҤҦ©","ҥҤҥҦ","ҦҧҧҨƄ","ҨҺҩҫŪ¶","ҪҬ©ҫҪ","ҫҬҬҭ","ҭүҮҰ©","үҮүҰ","ҰұұҲƄ","ҲҺҳҵŪ¶","ҴҶ©ҵҴ","ҵҶҶҷ","ҷҸüҸҺ","ҹҕҹҟ","ҹҩҹҳ","Һ™һҼU","ҼҾ©ҽһ","ҽҾҾҿ","ҿӁVӀӂ©","ӁӀӁӂ","ӂӃӃӎƄ","ӄӆ©Ӆӄ","ӅӆӆӇ","ӇӉӈӊ©","ӉӈӉӊ","ӊӋӋӍƄ","ӌӅӍӐ","ӎӌӎӏ","ӏ›Ӑӎ","ӑӒWӒӓ©","ӓӞžPӔӖ©","ӕӔӕӖ","Ӗӗӗә","ӘӚ©әӘ","әӚӚӛ","ӛӝžPӜӕ","ӝӠӞӜ","Ӟӟӟ","ӠӞӡӢŪ¶","ӢӣüӣӦ","ӤӦƆÄӥӡ","ӥӤӦŸ","ӧөXӨӪ©","өӨөӪ","Ӫӫӫӭ","ӬӮ©ӭӬ","ӭӮӮӯ","ӯӰŪ¶Ӱӱ©","ӱӲYӲӳ©","ӳӵƄӴӶ©","ӵӴӵӶ","ӶӷӷӺ","Ӹӹ©ӹӻd3Ӻ","ӸӻӼӼ","ӺӼӽӽ","ӿӾԀ©ӿ","ӾӿԀԀ","ԁԁԂԂ","¡ԃԈKԄ","Ԇ©ԅԄԅ","ԆԆԇԇ","ԉZԈԅԈ","ԉԉԊԊ","ԋ©ԋԐ¦TԌ","Ԏ©ԍԌԍ","ԎԎԏԏ","ԑÜoԐԍԐ","ԑԑ£Ԓ","ԗ[ԓԕ©Ԕ","ԓԔԕԕ","ԖԖԘZԗ","ԔԗԘԘ","Ԛԙԛ©Ԛ","ԙԚԛԛ","ԜԜԝ¦Tԝ","¥ԞԡªVԟ","Ԡ©ԠԢÀaԡ","ԟԡԢԢ","ԥԣԤ©Ԥ","ԦÂbԥԣԥ","ԦԦԩԧ","Ԩ©ԨԪÄcԩ","ԧԩԪԪ","§ԫԭ°YԬ","Ԯ©ԭԬԭ","ԮԮ԰ԯ","Ա¶\\԰ԯ԰","ԱԱ©Բ","ԽԳԵ©Դ","ԳԴԵԵ","ԶԶԸԷ","Թ©ԸԷԸ","ԹԹԺԺ","Լ¬WԻԴԼ","ԿԽԻԽ","ԾԾՐԿ","ԽՀՋ¬WՁ","Ճ©ՂՁՂ","ՃՃՄՄ","ՆՅՇ©Ն","ՅՆՇՇ","ՈՈՊ¬WՉ","ՂՊՍՋ","ՉՋՌՌ","ՐՍՋՎ","Ր¨UՏԲՏ","ՀՏՎՐ","«ՑՒƄՒ","Փ©ՓՔNՔ","Օ©ՕՖŪ¶Ֆ","ՙ՗ՙƄ՘","Ց՘՗ՙ","­՚՛ƒ՛","՜©՜՞°Y՝","՟©՞՝՞","՟՟աՠ","բ¶\\աՠա","բբ¯գ","ե²Zդզ©ե","դեզզ","ըէթ´[ը","էըթթ","±ժիƐÉի","լŞ°լ³խ","կծհ©կ","ծկհհ","ղձճƄղ","ձղճճ","վմն©յ","մյնն","շշչո","պ©չոչ","պպջջ","սƄռյս","րվռվ","տտւր","վցփ©ւ","ցւփփ","քքօօ","µֆև„և","ֈ©ֈ֓¸]։","֋©֊։֊","֋֋֌֌","֎֍֏©֎","֍֎֏֏","֐֐֒¸]֑","֊֒֕֓","֑֓֔֔","֖֘֕֓","֗©֗֙Üo֘","֖֘֙֙","·֚֝º^֛","֝¼_֚֜֜","֛֝¹֞","֟¾`֟֠©֠","֡N֢֡©֢","֣Ū¶֣»֤","֥¾`֥½֦","֧ƘÍ֧¿֨","֩\\֪֩©֪","֫]֫֬©֬","ַÆd֭֯©֮","֭֮֯֯","ְְֱֲ","ֳ©ֱֲֲ","ֳֳִִ","ֶÆdֵֶ֮","ֵַַֹ","ָָÁֹ","ַֺֻ^ֻ","ּ©ּֽƄֽ","Ã־ֿ_ֿ","׀©׀ׁƄׁ","Åׂ׊Ƅ׃","ׅ©ׄ׃ׄ","ׅׅ׆׆","׈\tׇ׉©׈","ׇ׈׉׉","׋׊ׄ׊","׋׋Ç׌","׎©׍׌׍","׎׎׽׏","א;אב©ב","גBגד©ד","הŪ¶הזþ€ו","ח©זוז","חחטט","ךיכ©ך","יךככ","ללמƈÅם","ן©מםמ","ןןננ","סס׾ע","ף;ףפ©פ","ץdץצ©צ","קCקר©ר","׳Ū¶ש׫©ת","שת׫׫","׬׬׮׭","ׯ©׮׭׮","ׯׯװװ","ײŪ¶ױתײ","׵׳ױ׳","״״׾׵","׳׶׷;׷","׸©׸׹e׹","׺©׺׻Ū¶׻","׼þ€׼׾׽","׏׽ע׽","׶׾É׿","؀f؀؁©؁","،Ìg؂؄©؃","؂؃؄؄","؅؅؇؆","؈©؇؆؇","؈؈؉؉","؋Ìg؊؃؋","؎،؊،","؍؍ؐ؎","،؏ؑÜoؐ","؏ؐؑؑ","ËؒؔŪ¶ؓ","ؕ©ؔؓؔ","ؕؕؖؖ","ؘؙؗ©ؘ","ؘؙؙؗ","ؚؚ؛Îh؛","Í؜؟Ði؝","؟Òj؞؜؞","؝؟Ïؠ","آgءأ©آ","ءآأأ","اؤبÔkإ","بÖlئبØmاؤ","اإائ","بÑةح","\tتخÔkثخ","ÖlجخØmحت","حثحج","خÓدذ","ذرƘÍرز","زسƘÍسض","شط–صطż","¿ضشضص","طظظع","عÕغػ","ػؼƘÍؼؿ","ؽـ–ؾـż","¿ؿؽؿؾ","ـففق","ق×كه","لوÚnموż","¿نوهل","همهن","وىىي","يÙًٖƌ","Çٌَ©ٌٍ","ٍََُ","ُِّْ©","ِّّْ","ْٕٓٓƌ","Çٍٕٔ٘","ٖٖٔٗ","ٗÛٖ٘","ٙٚjٚٛ©","ٜٛƄٜÝ","ٝ٨àqٞ٠©","ٟٟٞ٠","٠١١٣","٢٤©٣٢","٣٤٤٥","٥٧àq٦ٟ","٧٪٨٦","٨٩٩ß","٪٨٫٭Ū","¶٬ٮ©٭٬","٭ٮٮٯ","ٯٱٰٲ©","ٱٰٱٲ","ٲٳٳٴâ","rٴٷٵٷâ","rٶ٫ٶٵ","ٷáٸٻľ"," ٹٻäsٺٸ","ٺٹٻã","ټڃætٽٿ©","پٽپٿ","ٿڀڀڂè","uځپڂڅ","ڃځڃڄ","ڄڋڅڃ","چڇڇڈä","sڈډډڋ","ڊټڊچ","ڋåڌڎ","ڍڏ©ڎڍ","ڎڏڏڔ","ڐڒŪ¶ڑړ©","ڒڑڒړ","ړڕڔڐ","ڔڕڕښ","ږژüڗڙ©","ژڗژڙ","ڙڛښږ","ښڛڛڠ","ڜڞòzڝڟ©","ڞڝڞڟ","ڟڡڠڜ","ڠڡڡڢ","ڢڣڣç","ڤڦêvڥڧ©","ڦڥڦڧ","ڧڨڨکæ","tکéڪڬì","wګڭ©ڬګ","ڬڭڭگ","ڮڰðyگڮ","گڰڰڲ","ڱڳ©ڲڱ","ڲڳڳڴ","ڴڵîxڵë","ڶڸƒÊڷڹ©","ڸڷڸڹ","ڹںںڻƖ","ÌڻھڼھƖ","Ìڽڶڽڼ","ھíڿہƖ","Ìۀۂ©ہۀ","ہۂۂۃ","ۃۄƔËۄۇ","ۅۇƖÌۆڿ","ۆۅۇï","ۈۊۉۋ©","ۊۉۊۋ","ۋېیێŪ","¶ۍۏ©ێۍ","ێۏۏۑ","ېیېۑ","ۑۖے۔ö","|ۓە©۔ۓ","۔ەەۗ","ۖےۖۗ","ۗۙۘۚĀ","ۙۘۙۚ","ۚ۟ۛ۝ò","zۜ۞©۝ۜ","۝۞۞۠","۟ۛ۟۠","۠ۡۡۢ","ۢñۣۦŮ","¸ۤۦż¿ۥۣ","ۥۤۦó","ۧ۩۪ۨ©","۩ۨ۩۪","۪۫۫۬Ą","ƒ۬õۭ۵ø","}ۮ۰©ۯۮ","ۯ۰۰۱","۱۲۲۴ú","~۳ۯ۴۷","۵۳۵۶","۶÷۷۵","۸۹۹ۺĄ","ƒۺùۻ۽","ۼۻۼ۽","۽۾۾ۿĄ","ƒۿû܀܇þ","€܁܃©܂܁","܂܃܃܄","܄܆þ€܅܂","܆܉܇܅","܇܈܈ý","܉܇܊܋","܋܌Â܌ÿ","܍܏܎ܐ©","܏܎܏ܐ","ܐܕܑܓƌ","Çܒܔ©ܓܒ","ܓܔܔܖ","ܕܑܕܖ","ܖܡܗܙ","ܘܚ©ܙܘ","ܙܚܚܟ","ܛܝƌÇܜܞ©","ܝܜܝܞ","ܞܠܟܛ","ܟܠܠܢ","ܡܗܡܢ","ܢāܣܤƘ","ÍܤăܥܦƘ","ÍܦąܧܨĈ","…ܨćܩܰĊ","†ܪܫ©ܫܬm","ܬܭ©ܭܯĊ","†ܮܪܯܲ","ܰܮܱܰ","ܱĉܲܰ","ܳܺȇܴܵ©","ܵܶnܷܶ©","ܷܹȇܸܴ","ܹܼܸܺ","ܻܻܺċ","ܼ݄ܺܽĎ","ˆܾܿ©ܿ݀o","݀݁©݁݃Ď","ˆ݂ܾ݆݃","݄݂݄݅","݅č݆݄","݇݉p݈݊©","݈݉݉݊","݊݌݋݇","݌ݏݍ݋","ݍݎݎݐ","ݏݍݐݑĐ","‰ݑďݒݙĒ","Šݓݕ©ݔݓ","ݔݕݕݖ","ݖݘŎ¨ݗݔ","ݘݛݙݗ","ݙݚݚđ","ݛݙݜݯĔ","‹ݝݟ©ݞݝ","ݞݟݟݠ","ݠݢݡݣ©","ݢݡݢݣ","ݣݤݤݮĔ","‹ݥݧ©ݦݥ","ݦݧݧݨ","ݨݪݩݫ©","ݪݩݪݫ","ݫݬݬݮĔ","‹ݭݞݭݦ","ݮݱݯݭ","ݯݰݰē","ݱݯݲލĖ","Œݳݵ©ݴݳ","ݴݵݵݶ","ݶݸݷݹ©","ݸݷݸݹ","ݹݺݺތĖ","Œݻݽ©ݼݻ","ݼݽݽݾ","ݾހ\bݿށ©","ހݿހށ","ށނނތĖ","Œރޅ©ބރ","ބޅޅކ","ކވއމ©","ވއވމ","މފފތĖ","Œދݴދݼ","ދބތޏ","ލދލގ","ގĕޏލ","ސޛʍޑޓ©","ޒޑޒޓ","ޓޔޔޖ","ޕޗ©ޖޕ","ޖޗޗޘ","ޘޚʍޙޒ","ޚޝޛޙ","ޛޜޜė","ޝޛޞޠ\t","ޟޡ©ޠޟ","ޠޡޡޣ","ޢޞޣަ","ޤޢޤޥ","ޥާަޤ","ާި̎ިę","ީߟĜުެ©","ޫުޫެ","ެޭޭޮ","ޮޯƄޯް","ްߞޱ޳©","޲ޱ޲޳","޳޴޴޶","޵޷Ƅ޶޵","޶޷޷޸","޸޺޹޻Ć","„޺޹޺޻","޻޼޼ߞ","޽޿©޾޽","޾޿޿߀","߀ߎ߁߂©","߂ߎY߃߄©","߄߅q߅߆©","߆ߎK߇߈©","߈߉r߉ߊ©","ߊߎKߋߌ©","ߌߎsߍ޾","ߍ߁ߍ߃","ߍ߇ߍߋ","ߎߐߏߑ©","ߐߏߐߑ","ߑߒߒߞĜ","ߓߔ©ߔߕF","ߕߖ©ߖߞt","ߗߘ©ߘߙF","ߙߚ©ߚߛp","ߛߜ©ߜߞt","ߝޫߝ޲","ߝߍߝߓ","ߝߗߞߡ","ߟߝߟߠ","ߠěߡߟ","ߢ߬ń£ߣߥ©","ߤߣߤߥ","ߥߨߦߩŤ","³ߧߩüߨߦ","ߨߧߩ߫","ߪߤ߫߮","߬ߪ߬߭","߭ĝ߮߬","߯߱Ġ‘߲߰©","߲߱߰߱","߲߳߳ߵ","ߴ߶©ߵߴ","ߵ߶߶߷","߷߹Ŕ«߸ߺ©","߹߸߹ߺ","ߺ߻߻߼","߼ğ߽߾v","߾ġ߿ࠁĤ","“ࠀࠂ©ࠁࠀ","ࠁࠂࠂࠃ","ࠃࠅࠄࠆ©","ࠅࠄࠅࠆ","ࠆࠇࠇࠉĆ","„ࠈࠊ©ࠉࠈ","ࠉࠊࠊࠋ","ࠋࠌࠌģ","ࠍࠎHࠎĥ","ࠏࠑĨ•ࠐࠒ©","ࠑࠐࠑࠒ","ࠒࠓࠓࠕ","ࠔࠖ©ࠕࠔ","ࠕࠖࠖࠗ","ࠗ࠙Ŕ«࠘ࠚ©","࠙࠘࠙ࠚ","ࠚࠛࠛࠜ","ࠜħࠝࠞ?","ࠞĩࠟࠡĬ","—ࠠࠢ©ࠡࠠ","ࠡࠢࠢࠣ","ࠣࠥࠤࠦ©","ࠥࠤࠥࠦ","ࠦࠧࠧࠩŔ","«ࠨࠪ©ࠩࠨ","ࠩࠪࠪࠫ","ࠫࠬࠬī","࠭࠮x࠮ĭ","࠯࠱İ™࠰࠲©","࠱࠰࠱࠲","࠲࠳࠳࠵","࠴࠶©࠵࠴","࠵࠶࠶࠷","࠷࠹Ŕ«࠸࠺©","࠹࠸࠹࠺","࠺࠻࠻࠼","࠼į࠽࠾y","࠾ı࠿ࡁĴ","›ࡀࡂ©ࡁࡀ","ࡁࡂࡂࡃ","ࡃࡅࡄࡆ©","ࡅࡄࡅࡆ","ࡆࡇࡇࡉŔ","«ࡈࡊ©ࡉࡈ","ࡉࡊࡊࡋ","ࡋࡌࡌij","ࡍࡎzࡎĵ","ࡏࡑĸࡐࡒ©","ࡑࡐࡑࡒ","ࡒࡓࡓࡕ","ࡔࡖ©ࡕࡔ","ࡕࡖࡖࡗ","ࡗࡠŔ«ࡘ࡚©","࡙ࡘ࡙࡚","࡚࡛࡛࡝","࡜࡞©࡝࡜","࡝࡞࡞࡟","࡟ࡡƄࡠ࡙","ࡠࡡࡡࡣ","ࡢࡤ©ࡣࡢ","ࡣࡤࡤࡥ","ࡥࡦࡦķ","ࡧࡨwࡨĹ","ࡩ࡫ļŸࡪ࡬©","࡫ࡪ࡫࡬","࡬࡭࡭࡯","࡮ࡰ©࡯࡮","࡯ࡰࡰࡱ","ࡱࡳŪ¶ࡲࡴ©","ࡳࡲࡳࡴ","ࡴࡵࡵࡷ","ࡶࡸ©ࡷࡶ","ࡷࡸࡸࡹ","ࡹࡻƄࡺࡼ©","ࡻࡺࡻࡼ","ࡼࡽࡽࡿ","ࡾࢀ©ࡿࡾ","ࡿࢀࢀࢁ","ࢁࢃŖ¬ࢂࢄ©","ࢃࢂࢃࢄ","ࢄࢅࢅࢇ","ࢆ࢈©ࢇࢆ","ࢇ࢈࢈ࢉ","ࢉࢋƄࢊࢌ©","ࢋࢊࢋࢌ","ࢌࢍࢍࢎ","ࢎĻ࢏࢐}","࢐Ľ࢑࢓ŀ","¡࢒࢔©࢓࢒","࢓࢔࢔࢕","࢕ࢗ࢖࢘©","ࢗ࢖ࢗ࢘","࢙࢙࢛࢘ä","s࢚࢜©࢛࢚","࢛࢜࢜࢝","࢝࢞࢞ࢮ","࢟ࢡł¢ࢠࢢ©","ࢡࢠࢡࢢ","ࢢࢣࢣࢥ","ࢤࢦ©ࢥࢤ","ࢥࢦࢦࢧ","ࢧࢩäsࢨࢪ©","ࢩࢨࢩࢪ","ࢪࢫࢫࢬ","ࢬࢮࢭ࢑","ࢭ࢟ࢮĿ","ࢯࢰkࢰŁ","ࢱࢲlࢲŃ","ࢳ࣓ņ¤ࢴ࣓ż","¿ࢵ࣓Ŧ´ࢶࢸu","ࢷࢹ©ࢸࢷ","ࢸࢹࢹࢺ","ࢺࢼࢻࢽ©","ࢼࢻࢼࢽ","ࢽࢾࢾࣀ","ࢿࣁ©ࣀࢿ","ࣀࣁࣁࣂ","ࣂ࣓ࣃ࣓Š","±ࣄ࣓Ţ²ࣅ࣓Ğ","ࣆ࣓Ķœࣇ࣓ĺ","žࣈ࣓Ħ”ࣉ࣓Ī","–࣓࣊Į˜࣓࣋IJ","š࣓࣌Ģ’࣓࣍ľ"," ࣓࣎Œª࣏࣓Ő","©࣐࣓Ř­࣑࣓Ū","¶࣒ࢳ࣒ࢴ","࣒ࢵ࣒ࢶ","࣒ࣃ࣒ࣄ","࣒ࣅ࣒ࣆ","࣒ࣇ࣒ࣈ","࣒ࣉ࣒࣊","࣒࣒࣋࣌","࣒࣒࣍࣎","࣒࣏࣒࣐","࣒࣑࣓Ņ","ࣔࣜŬ·ࣕࣜň","¥ࣖࣜŊ¦ࣗࣜt","ࣘࣜٸࣙࣜŌ","§ࣚࣜŰ¹ࣛࣔ","ࣛࣕࣛࣖ","ࣛࣗࣛࣘ","ࣛࣙࣛࣚ","ࣜŇࣝࣞ–","ࣞʼnࣟ࣠\t","࣠ŋࣣ࣡","࣢ࣤ©ࣣ࣢","ࣣࣶࣤࣤ","ࣥࣧƄࣦࣨ©","ࣦࣧࣧࣨ","ࣩࣨࣳ࣫","࣪࣬©࣫࣪","࣭࣫࣬࣬","࣭࣯Ƅࣰ࣮©","ࣰ࣯࣮࣯","ࣰࣱࣲࣩ","ࣱࣲࣵࣳ","ࣳࣴࣴࣷ","ࣶࣵࣳࣥ","ࣶࣷࣷࣸ","ࣹࣹࣸō","ࣺࣼࣻࣽ©","ࣼࣻࣼࣽ","ࣽࣾࣾञĒ","Šࣿँऀं©","ँऀँं","ंःःञĒ","Šऄआअइ©","आअआइ","इईईञĒ","Šउऋ ऊऌ©","ऋऊऋऌ","ऌऍऍञĒ","Šऎऐ!एऑ©","ऐएऐऑ","ऑऒऒञĒ",'Šओक"औख©',"कऔकख","खगगञĒ","Šघच#ङछ©","चङचछ","छजजञĒ","Šझࣺझࣿ","झऄझउ","झऎझओ","झघञŏ","टडठढ©","डठडढ","ढणणथĆ","„तद©थत","थददध","धननő","ऩमætपब©","फपफब","बभभयè","uमफयर","रमरऱ","ऱœलषŖ","¬ळव©ऴळ","ऴववश","शसÜoषऴ","षससŕ","हऺŪ¶ऺऻ©","ऻ़Y़ऽ©","ऽाƄाŗ","िुŚ®ीू©","ुीुू","ूृृॅ","ॄॆ©ॅॄ","ॅॆॆो","ेॉZैॊ©","ॉैॉॊ","ॊौोे","ोौौफ़","्ॏƄॎॐ©","ॏॎॏॐ","ॐज़॑॓","॒॔©॒॓","॓॔॔ॕ","ॕॗƄॖक़©","ॗॖॗक़","क़ग़ख़॑","ग़ढ़ज़ख़","ज़ड़ड़य़","ढ़ज़फ़्","फ़य़य़ॠ","ॠॡॡř","ॢॣƐÉॣ।Ŝ","¯।ś॥०\t","०ŝ१२Ƙ","Í२ş३५","४६©५४","५६६७","७ॶŔ«८॰©","९८९॰","॰ॱॱॳ","ॲॴ©ॳॲ","ॳॴॴॵ","ॵॷƄॶ९","ॶॷॷॹ","ॸॺ©ॹॸ","ॹॺॺॻ","ॻॼॼš","ॽॿॾঀ©","ॿॾॿঀ","ঀউঁঃŪ","¶ং঄©ঃং","ঃ঄঄অ","অইআঈ©","ইআইঈ","ঈঊউঁ","উঊঊঋ","ঋ঍Œªঌ঎©","঍ঌ঍঎","঎গএ঑j","ঐ঒©঑ঐ","঑঒঒ও","ওকƄঔখ©","কঔকখ","খঘগএ","গঘঘঙ","ঙছচজ©","ছচছজ","জঝঝটĆ","„ঞঠ©টঞ","টঠঠড","ডঢঢţ","ণথ\tতদ©","থতথদ","দধধনƊ","Æনť঩ম~","পব©ফপ","ফববভ","ভযŨµমফ","যররম","র঱঱ী","ল঴~঳঵©","঴঳঴঵","঵শশ঻Ć","„ষহ©সষ","সহহ঺","঺়Ũµ঻স","়ঽঽ঻","ঽাাী","ি঩িল","ী৉ুৃ©","ূুূৃ","ৃৄৄ৆","৅ে©৆৅","৆েেৈ","ৈ৊Ƅ৉ূ","৉৊৊ৌ","ো্©ৌো","ৌ্্ৎ","ৎ৏€৏ŧ","৐৒৑৓©","৒৑৒৓","৓৔৔৖Ć","„৕ৗ©৖৕","৖ৗৗ৘","৘৚‚৙৛©","৚৙৚৛","৛ড়ড়ঢ়Ć","„ঢ়ũ৞য়Ƙ","Íয়ūৠৣƎ","ÈৡৣƌÇৢৠ","ৢৡৣŭ","৤০৥১©","০৥০১","১৹২৪Ŵ","»৩৫©৪৩","৪৫৫৶","৬৮৭৯©","৮৭৮৯","৯ৰৰ৲Ŵ","»ৱ৳©৲ৱ","৲৳৳৵","৴৬৵৸","৶৴৶৷","৷৺৸৶","৹২৹৺","৺৻৻ৼ","ৼů৽৿Ū","¶৾਀©৿৾","৿਀਀ਁ","ਁਃਂ਄©","ਃਂਃ਄","਄ਆਅਇŲ","ºਆਅਆਇ","ਇ਒ਈਊ©","ਉਈਉਊ","ਊ਋਋਍","਌਎©਍਌","਍਎਎ਏ","ਏ਑Ųºਐਉ","਑ਔ਒ਐ","਒ਓਓਖ","ਔ਒ਕਗ©","ਖਕਖਗ","ਗਘਘਙ","ਙűਚਟŴ","»ਛਟŶ¼ਜਟŸ","½ਝਟź¾ਞਚ","ਞਛਞਜ","ਞਝਟų","ਠਢƊÆਡਣ©","ਢਡਢਣ","ਣਤਤਦ","ਥਧ©ਦਥ","ਦਧਧਨ","ਨ਩Ƅ਩ŵ","ਪਫ\tਫਬŪ","¶ਬŷਭਮŪ","¶ਮŹਯਰ\t","ਰ਱਱Ż","ਲਵžÀਲ਼ਵƀ","Á਴ਲ਴ਲ਼","ਵŽਸ਼ਸ","਷ਹ©ਸ਷","ਸਹਹ਺","਺਼ƂÂ਻਽©","਼਻਼਽","਽ਾਾਿ","ਿſੀੁ$","ੁੂƂÂੂƁ","੃੆ƘÍ੄੆š","੅੃੅੄","੆ƃੇ੒Ɔ","Äੈ੊©੉ੈ","੉੊੊ੋ","ੋ੍ੌ੎©","੍ੌ੍੎","੎੏੏ੑƆ","Ä੐੉ੑ੔","੒੐੒੓","੓ƅ੔੒","੕ਗ਼ń£੖੘©","੗੖੗੘","੘ਖ਼ਖ਼ਜ਼Ť","³ਗ਼੗ਜ਼ੜ","ੜਗ਼ੜ੝","੝Ƈਫ਼੩Ɗ","Æ੟੡©੠੟","੠੡੡੢","੢੤੣੥©","੤੣੤੥","੥੦੦੨Ɗ","Æ੧੠੨੫","੩੧੩੪","੪Ɖ੫੩","੬੭ƘÍ੭Ƌ","੮੯\t\b੯ƍ","ੰੱ\t\tੱƏ","ੲੳƘÍੳੴ\t","ੴ੶ੵੲ","੶੹੷ੵ","੷੸੸Ƒ","੹੷੺੻\t\n੻","Ɠ੼੽\t\v੽","ƕ੾੿\t\f੿Ɨ","઀અƚÎઁઅ","¥ંઅ¨ઃઅ","œ઄઀઄ઁ","઄ં઄ઃ","અƙઆઇ","\t\rઇƛƨƟƣ","ƪƮƳƷƺƿLJǏǜǠǤǭ","DzǶǹǼȁȅȌȞȵȽȿɃ","ɈɎɔɘɜɠɤɫɮɲɶɼ","ʀʄʈʌʓʖʞʧʬʰʳʺ","˂ˆˌˑ˗ˢ˦ˬ˰˴˹˾","̨̗̜̣̫̻͇̄̉̓͵͹","ͽ΁Ή΍ΒΖΤΨέαηλ","ωϐϖϠϤϪϲϽЃЏЕС","ХЯмрфъюёѕџѦѳ","ѷѿ҅҉ҍҒҗқҡҥҫү","ҵҹҽӁӅӉӎӕәӞӥө","ӭӵӼӿԅԈԍԐԔԗԚԡ","ԥԩԭ԰ԴԸԽՂՆՋՏ՘","՞աեըկղյչվւ֊֎","ֲַ֮֓֘֜ׄ׈׊׍זך","מת׮׳׽؃؇،ؘؐؔ؞","آاحضؿهٍّٖٟ٣٨","٭ٱٶٺپڃڊڎڒڔژښ","ڞڠڦڬگڲڸڽہۆۊێ","ې۔ۖۙ۝۟ۥ۩ۯ۵ۼ܂","܇܏ܓܕܙܝܟܡ݄ܰܺ݉","ݍݔݙݞݢݦݪݭݯݴݸݼ","ހބވދލޒޖޛޠޤޫ޲","޶޺޾ߍߐߝߟߤߨ߬߱ߵ","߹ࠁࠅࠉࠑࠕ࠙ࠡࠥࠩ࠱࠵","࠹ࡁࡅࡉࡑࡕ࡙࡝ࡠࡣ࡫࡯","ࡳࡷࡻࡿࢃࢇࢋ࢓࢛ࢗࢡࢥ","ࢩࢭࢸࢼࣀ࣒ࣣ࣯ࣛࣧ࣫ࣳ","ࣶࣼँआऋऐकचझडथफ","रऴषुॅॉोॏ॓ॗज़फ़","५९ॳॶॹॿঃইউ঍঑ক","গছটথফর঴সঽিূ৆","৉ৌ৒৖৚ৢ০৪৮৲৶৹","৿ਃਆਉ਍਒ਖਞਢਦ਴ਸ","਼੅੉੍੒੗ੜ੠੤੩੷઄"].join(""),a=(new r.atn.ATNDeserializer).deserialize(o),s=a.decisionToState.map((function(e,t){return new r.dfa.DFA(e,t)})),l=new r.PredictionContextCache,c=[null,"';'","':'","'-'","'=>'","'://'","'/'","'.'","'@'","'#'","'?'","'&'","'='","'+'","'{'","','","'}'","'['","']'","'('","')'","'+='","'|'","'*'","'..'","'%'","'^'","'=~'","'<>'","'!='","'<'","'>'","'<='","'>='","'$'","'⟨'","'〈'","'﹤'","'<'","'⟩'","'〉'","'﹥'","'>'","'­'","'‐'","'‑'","'‒'","'–'","'—'","'―'","'−'","'﹘'","'﹣'","'-'",null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"'0'"],u=[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"CYPHER","EXPLAIN","PROFILE","USING","PERIODIC","COMMIT","UNION","ALL","CREATE","DROP","INDEX","ON","CONSTRAINT","ASSERT","IS","UNIQUE","EXISTS","LOAD","CSV","WITH","HEADERS","FROM","AS","FIELDTERMINATOR","OPTIONAL","MATCH","UNWIND","MERGE","SET","DETACH","DELETE","REMOVE","FOREACH","IN","DISTINCT","RETURN","ORDER","BY","L_SKIP","LIMIT","ASCENDING","ASC","DESCENDING","DESC","JOIN","SCAN","START","NODE","RELATIONSHIP","REL","WHERE","SHORTESTPATH","ALLSHORTESTPATHS","OR","XOR","AND","NOT","STARTS","ENDS","CONTAINS","NULL","COUNT","FILTER","EXTRACT","ANY","NONE","SINGLE","TRUE","FALSE","REDUCE","CASE","ELSE","END","WHEN","THEN","CALL","YIELD","KEY","BTREE","EXIST","FOR","OPTIONS","EXECUTE","DEFINED","FUNCTION","FUNCTIONS","BOOSTED","PROCEDURE","PROCEDURES","ADMIN","ADMINISTRATOR","BRIEF","VERBOSE","OUTPUT","StringLiteral","UrlHex","EscapedChar","HexInteger","DecimalInteger","OctalInteger","HexLetter","HexDigit","Digit","NonZeroDigit","NonZeroOctDigit","OctDigit","ZeroDigit","ExponentDecimalReal","RegularDecimalReal","UnescapedSymbolicName","IdentifierStart","IdentifierPart","EscapedSymbolicName","SP","WHITESPACE","Comment","ERROR_TOKEN"],h=["raw","cypher","cypherPart","cypherConsoleCommand","cypherConsoleCommandName","cypherConsoleCommandParameters","cypherConsoleCommandParameter","arrowExpression","url","uri","scheme","host","hostname","hostnumber","port","path","user","login","password","frag","urlQuery","search","searchparameter","string","urlDigits","json","obj","pair","array","value","keyValueLiteral","commandPath","subCommand","cypherQuery","queryOptions","anyCypherOption","cypherOption","versionNumber","explain","profile","configurationOption","statement","query","regularQuery","bulkImportQuery","singleQuery","periodicCommitHint","loadCSVQuery","union","clause","command","createUniqueConstraint","createNodeKeyConstraint","createNodePropertyExistenceConstraint","createRelationshipPropertyExistenceConstraint","createIndex","dropUniqueConstraint","dropNodeKeyConstraint","dropNodePropertyExistenceConstraint","dropRelationshipPropertyExistenceConstraint","dropIndex","index","uniqueConstraint","nodeKeyConstraint","nodePropertyExistenceConstraint","relationshipPropertyExistenceConstraint","relationshipPatternSyntax","loadCSVClause","matchClause","unwindClause","mergeClause","mergeAction","createClause","createUniqueClause","setClause","setItem","deleteClause","removeClause","removeItem","foreachClause","withClause","returnClause","returnBody","func","returnItems","returnItem","call","procedureInvocation","procedureInvocationBody","procedureArguments","procedureResults","procedureResult","aliasedProcedureResult","simpleProcedureResult","procedureOutput","order","skip","limit","sortItem","hint","startClause","startPoint","lookup","nodeLookup","relationshipLookup","identifiedIndexLookup","indexQuery","idLookup","literalIds","where","pattern","patternPart","anonymousPatternPart","patternElement","nodePattern","patternElementChain","relationshipPattern","relationshipPatternStart","relationshipPatternEnd","relationshipDetail","properties","relType","relationshipTypes","relationshipType","relationshipTypeOptionalColon","nodeLabels","nodeLabel","rangeLiteral","labelName","relTypeName","expression","orExpression","xorExpression","andExpression","notExpression","comparisonExpression","addOrSubtractExpression","multiplyDivideModuloExpression","powerOfExpression","unaryAddOrSubtractExpression","stringListNullOperatorExpression","propertyOrLabelsExpression","filterFunction","filterFunctionName","existsFunction","existsFunctionName","allFunction","allFunctionName","anyFunction","anyFunctionName","noneFunction","noneFunctionName","singleFunction","singleFunctionName","extractFunction","extractFunctionName","reduceFunction","reduceFunctionName","shortestPathPatternFunction","shortestPathFunctionName","allShortestPathFunctionName","atom","literal","stringLiteral","booleanLiteral","listLiteral","partialComparisonExpression","parenthesizedExpression","relationshipsPattern","filterExpression","idInColl","functionInvocation","functionInvocationBody","functionName","procedureName","listComprehension","patternComprehension","propertyLookup","caseExpression","caseAlternatives","variable","numberLiteral","mapLiteral","mapProjection","mapProjectionVariants","literalEntry","propertySelector","variableSelector","allPropertiesSelector","parameter","legacyParameter","newParameter","parameterName","propertyExpressions","propertyExpression","propertyKeys","propertyKeyName","integerLiteral","doubleLiteral","namespace","leftArrowHead","rightArrowHead","dash","symbolicName","keyword"];function p(e){return r.Parser.call(this,e),this._interp=new r.atn.ParserATNSimulator(this,a,s,l),this.ruleNames=h,this.literalNames=c,this.symbolicNames=u,this}function d(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_raw,this}function f(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_cypher,this}function m(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_cypherPart,this}function g(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_cypherConsoleCommand,this}function y(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_cypherConsoleCommandName,this}function v(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_cypherConsoleCommandParameters,this}function _(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_cypherConsoleCommandParameter,this}function b(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_arrowExpression,this}function E(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_url,this}function T(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_uri,this}function x(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_scheme,this}function S(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_host,this}function C(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_hostname,this}function A(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_hostnumber,this}function R(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_port,this}function w(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_path,this}function L(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_user,this}function O(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_login,this}function N(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_password,this}function I(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_frag,this}function k(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_urlQuery,this}function D(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_search,this}function P(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_searchparameter,this}function M(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_string,this}function F(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_urlDigits,this}function H(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_json,this}function B(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_obj,this}function U(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_pair,this}function j(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_array,this}function G(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_value,this}function Y(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_keyValueLiteral,this}function z(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_commandPath,this}function $(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_subCommand,this}function W(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_cypherQuery,this}function V(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_queryOptions,this}function K(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_anyCypherOption,this}function q(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_cypherOption,this}function X(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_versionNumber,this}function Z(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_explain,this}function Q(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_profile,this}function J(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_configurationOption,this}function ee(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_statement,this}function te(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_query,this}function ne(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_regularQuery,this}function re(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_bulkImportQuery,this}function ie(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_singleQuery,this}function oe(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_periodicCommitHint,this}function ae(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_loadCSVQuery,this}function se(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_union,this}function le(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_clause,this}function ce(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_command,this}function ue(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_createUniqueConstraint,this}function he(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_createNodeKeyConstraint,this}function pe(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_createNodePropertyExistenceConstraint,this}function de(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_createRelationshipPropertyExistenceConstraint,this}function fe(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_createIndex,this}function me(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_dropUniqueConstraint,this}function ge(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_dropNodeKeyConstraint,this}function ye(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_dropNodePropertyExistenceConstraint,this}function ve(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_dropRelationshipPropertyExistenceConstraint,this}function _e(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_dropIndex,this}function be(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_index,this}function Ee(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_uniqueConstraint,this}function Te(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_nodeKeyConstraint,this}function xe(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_nodePropertyExistenceConstraint,this}function Se(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_relationshipPropertyExistenceConstraint,this}function Ce(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_relationshipPatternSyntax,this}function Ae(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_loadCSVClause,this}function Re(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_matchClause,this}function we(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_unwindClause,this}function Le(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_mergeClause,this}function Oe(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_mergeAction,this}function Ne(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_createClause,this}function Ie(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_createUniqueClause,this}function ke(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_setClause,this}function De(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_setItem,this}function Pe(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_deleteClause,this}function Me(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_removeClause,this}function Fe(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_removeItem,this}function He(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_foreachClause,this}function Be(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_withClause,this}function Ue(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_returnClause,this}function je(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_returnBody,this}function Ge(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_func,this}function Ye(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_returnItems,this}function ze(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_returnItem,this}function $e(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_call,this}function We(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_procedureInvocation,this}function Ve(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_procedureInvocationBody,this}function Ke(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_procedureArguments,this}function qe(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_procedureResults,this}function Xe(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_procedureResult,this}function Ze(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_aliasedProcedureResult,this}function Qe(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_simpleProcedureResult,this}function Je(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_procedureOutput,this}function et(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_order,this}function tt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_skip,this}function nt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_limit,this}function rt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_sortItem,this}function it(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_hint,this}function ot(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_startClause,this}function at(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_startPoint,this}function st(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_lookup,this}function lt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_nodeLookup,this}function ct(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_relationshipLookup,this}function ut(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_identifiedIndexLookup,this}function ht(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_indexQuery,this}function pt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_idLookup,this}function dt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_literalIds,this}function ft(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_where,this}function mt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_pattern,this}function gt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_patternPart,this}function yt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_anonymousPatternPart,this}function vt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_patternElement,this}function _t(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_nodePattern,this}function bt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_patternElementChain,this}function Et(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_relationshipPattern,this}function Tt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_relationshipPatternStart,this}function xt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_relationshipPatternEnd,this}function St(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_relationshipDetail,this}function Ct(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_properties,this}function At(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_relType,this}function Rt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_relationshipTypes,this}function wt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_relationshipType,this}function Lt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_relationshipTypeOptionalColon,this}function Ot(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_nodeLabels,this}function Nt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_nodeLabel,this}function It(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_rangeLiteral,this}function kt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_labelName,this}function Dt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_relTypeName,this}function Pt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_expression,this}function Mt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_orExpression,this}function Ft(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_xorExpression,this}function Ht(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_andExpression,this}function Bt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_notExpression,this}function Ut(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_comparisonExpression,this}function jt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_addOrSubtractExpression,this}function Gt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_multiplyDivideModuloExpression,this}function Yt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_powerOfExpression,this}function zt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_unaryAddOrSubtractExpression,this}function $t(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_stringListNullOperatorExpression,this}function Wt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_propertyOrLabelsExpression,this}function Vt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_filterFunction,this}function Kt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_filterFunctionName,this}function qt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_existsFunction,this}function Xt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_existsFunctionName,this}function Zt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_allFunction,this}function Qt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_allFunctionName,this}function Jt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_anyFunction,this}function en(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_anyFunctionName,this}function tn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_noneFunction,this}function nn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_noneFunctionName,this}function rn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_singleFunction,this}function on(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_singleFunctionName,this}function an(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_extractFunction,this}function sn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_extractFunctionName,this}function ln(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_reduceFunction,this}function cn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_reduceFunctionName,this}function un(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_shortestPathPatternFunction,this}function hn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_shortestPathFunctionName,this}function pn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_allShortestPathFunctionName,this}function dn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_atom,this}function fn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_literal,this}function mn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_stringLiteral,this}function gn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_booleanLiteral,this}function yn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_listLiteral,this}function vn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_partialComparisonExpression,this}function _n(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_parenthesizedExpression,this}function bn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_relationshipsPattern,this}function En(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_filterExpression,this}function Tn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_idInColl,this}function xn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_functionInvocation,this}function Sn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_functionInvocationBody,this}function Cn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_functionName,this}function An(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_procedureName,this}function Rn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_listComprehension,this}function wn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_patternComprehension,this}function Ln(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_propertyLookup,this}function On(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_caseExpression,this}function Nn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_caseAlternatives,this}function In(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_variable,this}function kn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_numberLiteral,this}function Dn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_mapLiteral,this}function Pn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_mapProjection,this}function Mn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_mapProjectionVariants,this}function Fn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_literalEntry,this}function Hn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_propertySelector,this}function Bn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_variableSelector,this}function Un(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_allPropertiesSelector,this}function jn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_parameter,this}function Gn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_legacyParameter,this}function Yn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_newParameter,this}function zn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_parameterName,this}function $n(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_propertyExpressions,this}function Wn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_propertyExpression,this}function Vn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_propertyKeys,this}function Kn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_propertyKeyName,this}function qn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_integerLiteral,this}function Xn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_doubleLiteral,this}function Zn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_namespace,this}function Qn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_leftArrowHead,this}function Jn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_rightArrowHead,this}function er(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_dash,this}function tr(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_symbolicName,this}function nr(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_keyword,this}p.prototype=Object.create(r.Parser.prototype),p.prototype.constructor=p,Object.defineProperty(p.prototype,"atn",{get:function(){return a}}),p.EOF=r.Token.EOF,p.T__0=1,p.T__1=2,p.T__2=3,p.T__3=4,p.T__4=5,p.T__5=6,p.T__6=7,p.T__7=8,p.T__8=9,p.T__9=10,p.T__10=11,p.T__11=12,p.T__12=13,p.T__13=14,p.T__14=15,p.T__15=16,p.T__16=17,p.T__17=18,p.T__18=19,p.T__19=20,p.T__20=21,p.T__21=22,p.T__22=23,p.T__23=24,p.T__24=25,p.T__25=26,p.T__26=27,p.T__27=28,p.T__28=29,p.T__29=30,p.T__30=31,p.T__31=32,p.T__32=33,p.T__33=34,p.T__34=35,p.T__35=36,p.T__36=37,p.T__37=38,p.T__38=39,p.T__39=40,p.T__40=41,p.T__41=42,p.T__42=43,p.T__43=44,p.T__44=45,p.T__45=46,p.T__46=47,p.T__47=48,p.T__48=49,p.T__49=50,p.T__50=51,p.T__51=52,p.T__52=53,p.CYPHER=54,p.EXPLAIN=55,p.PROFILE=56,p.USING=57,p.PERIODIC=58,p.COMMIT=59,p.UNION=60,p.ALL=61,p.CREATE=62,p.DROP=63,p.INDEX=64,p.ON=65,p.CONSTRAINT=66,p.ASSERT=67,p.IS=68,p.UNIQUE=69,p.EXISTS=70,p.LOAD=71,p.CSV=72,p.WITH=73,p.HEADERS=74,p.FROM=75,p.AS=76,p.FIELDTERMINATOR=77,p.OPTIONAL=78,p.MATCH=79,p.UNWIND=80,p.MERGE=81,p.SET=82,p.DETACH=83,p.DELETE=84,p.REMOVE=85,p.FOREACH=86,p.IN=87,p.DISTINCT=88,p.RETURN=89,p.ORDER=90,p.BY=91,p.L_SKIP=92,p.LIMIT=93,p.ASCENDING=94,p.ASC=95,p.DESCENDING=96,p.DESC=97,p.JOIN=98,p.SCAN=99,p.START=100,p.NODE=101,p.RELATIONSHIP=102,p.REL=103,p.WHERE=104,p.SHORTESTPATH=105,p.ALLSHORTESTPATHS=106,p.OR=107,p.XOR=108,p.AND=109,p.NOT=110,p.STARTS=111,p.ENDS=112,p.CONTAINS=113,p.NULL=114,p.COUNT=115,p.FILTER=116,p.EXTRACT=117,p.ANY=118,p.NONE=119,p.SINGLE=120,p.TRUE=121,p.FALSE=122,p.REDUCE=123,p.CASE=124,p.ELSE=125,p.END=126,p.WHEN=127,p.THEN=128,p.CALL=129,p.YIELD=130,p.KEY=131,p.BTREE=132,p.EXIST=133,p.FOR=134,p.OPTIONS=135,p.EXECUTE=136,p.DEFINED=137,p.FUNCTION=138,p.FUNCTIONS=139,p.BOOSTED=140,p.PROCEDURE=141,p.PROCEDURES=142,p.ADMIN=143,p.ADMINISTRATOR=144,p.BRIEF=145,p.VERBOSE=146,p.OUTPUT=147,p.StringLiteral=148,p.UrlHex=149,p.EscapedChar=150,p.HexInteger=151,p.DecimalInteger=152,p.OctalInteger=153,p.HexLetter=154,p.HexDigit=155,p.Digit=156,p.NonZeroDigit=157,p.NonZeroOctDigit=158,p.OctDigit=159,p.ZeroDigit=160,p.ExponentDecimalReal=161,p.RegularDecimalReal=162,p.UnescapedSymbolicName=163,p.IdentifierStart=164,p.IdentifierPart=165,p.EscapedSymbolicName=166,p.SP=167,p.WHITESPACE=168,p.Comment=169,p.ERROR_TOKEN=170,p.RULE_raw=0,p.RULE_cypher=1,p.RULE_cypherPart=2,p.RULE_cypherConsoleCommand=3,p.RULE_cypherConsoleCommandName=4,p.RULE_cypherConsoleCommandParameters=5,p.RULE_cypherConsoleCommandParameter=6,p.RULE_arrowExpression=7,p.RULE_url=8,p.RULE_uri=9,p.RULE_scheme=10,p.RULE_host=11,p.RULE_hostname=12,p.RULE_hostnumber=13,p.RULE_port=14,p.RULE_path=15,p.RULE_user=16,p.RULE_login=17,p.RULE_password=18,p.RULE_frag=19,p.RULE_urlQuery=20,p.RULE_search=21,p.RULE_searchparameter=22,p.RULE_string=23,p.RULE_urlDigits=24,p.RULE_json=25,p.RULE_obj=26,p.RULE_pair=27,p.RULE_array=28,p.RULE_value=29,p.RULE_keyValueLiteral=30,p.RULE_commandPath=31,p.RULE_subCommand=32,p.RULE_cypherQuery=33,p.RULE_queryOptions=34,p.RULE_anyCypherOption=35,p.RULE_cypherOption=36,p.RULE_versionNumber=37,p.RULE_explain=38,p.RULE_profile=39,p.RULE_configurationOption=40,p.RULE_statement=41,p.RULE_query=42,p.RULE_regularQuery=43,p.RULE_bulkImportQuery=44,p.RULE_singleQuery=45,p.RULE_periodicCommitHint=46,p.RULE_loadCSVQuery=47,p.RULE_union=48,p.RULE_clause=49,p.RULE_command=50,p.RULE_createUniqueConstraint=51,p.RULE_createNodeKeyConstraint=52,p.RULE_createNodePropertyExistenceConstraint=53,p.RULE_createRelationshipPropertyExistenceConstraint=54,p.RULE_createIndex=55,p.RULE_dropUniqueConstraint=56,p.RULE_dropNodeKeyConstraint=57,p.RULE_dropNodePropertyExistenceConstraint=58,p.RULE_dropRelationshipPropertyExistenceConstraint=59,p.RULE_dropIndex=60,p.RULE_index=61,p.RULE_uniqueConstraint=62,p.RULE_nodeKeyConstraint=63,p.RULE_nodePropertyExistenceConstraint=64,p.RULE_relationshipPropertyExistenceConstraint=65,p.RULE_relationshipPatternSyntax=66,p.RULE_loadCSVClause=67,p.RULE_matchClause=68,p.RULE_unwindClause=69,p.RULE_mergeClause=70,p.RULE_mergeAction=71,p.RULE_createClause=72,p.RULE_createUniqueClause=73,p.RULE_setClause=74,p.RULE_setItem=75,p.RULE_deleteClause=76,p.RULE_removeClause=77,p.RULE_removeItem=78,p.RULE_foreachClause=79,p.RULE_withClause=80,p.RULE_returnClause=81,p.RULE_returnBody=82,p.RULE_func=83,p.RULE_returnItems=84,p.RULE_returnItem=85,p.RULE_call=86,p.RULE_procedureInvocation=87,p.RULE_procedureInvocationBody=88,p.RULE_procedureArguments=89,p.RULE_procedureResults=90,p.RULE_procedureResult=91,p.RULE_aliasedProcedureResult=92,p.RULE_simpleProcedureResult=93,p.RULE_procedureOutput=94,p.RULE_order=95,p.RULE_skip=96,p.RULE_limit=97,p.RULE_sortItem=98,p.RULE_hint=99,p.RULE_startClause=100,p.RULE_startPoint=101,p.RULE_lookup=102,p.RULE_nodeLookup=103,p.RULE_relationshipLookup=104,p.RULE_identifiedIndexLookup=105,p.RULE_indexQuery=106,p.RULE_idLookup=107,p.RULE_literalIds=108,p.RULE_where=109,p.RULE_pattern=110,p.RULE_patternPart=111,p.RULE_anonymousPatternPart=112,p.RULE_patternElement=113,p.RULE_nodePattern=114,p.RULE_patternElementChain=115,p.RULE_relationshipPattern=116,p.RULE_relationshipPatternStart=117,p.RULE_relationshipPatternEnd=118,p.RULE_relationshipDetail=119,p.RULE_properties=120,p.RULE_relType=121,p.RULE_relationshipTypes=122,p.RULE_relationshipType=123,p.RULE_relationshipTypeOptionalColon=124,p.RULE_nodeLabels=125,p.RULE_nodeLabel=126,p.RULE_rangeLiteral=127,p.RULE_labelName=128,p.RULE_relTypeName=129,p.RULE_expression=130,p.RULE_orExpression=131,p.RULE_xorExpression=132,p.RULE_andExpression=133,p.RULE_notExpression=134,p.RULE_comparisonExpression=135,p.RULE_addOrSubtractExpression=136,p.RULE_multiplyDivideModuloExpression=137,p.RULE_powerOfExpression=138,p.RULE_unaryAddOrSubtractExpression=139,p.RULE_stringListNullOperatorExpression=140,p.RULE_propertyOrLabelsExpression=141,p.RULE_filterFunction=142,p.RULE_filterFunctionName=143,p.RULE_existsFunction=144,p.RULE_existsFunctionName=145,p.RULE_allFunction=146,p.RULE_allFunctionName=147,p.RULE_anyFunction=148,p.RULE_anyFunctionName=149,p.RULE_noneFunction=150,p.RULE_noneFunctionName=151,p.RULE_singleFunction=152,p.RULE_singleFunctionName=153,p.RULE_extractFunction=154,p.RULE_extractFunctionName=155,p.RULE_reduceFunction=156,p.RULE_reduceFunctionName=157,p.RULE_shortestPathPatternFunction=158,p.RULE_shortestPathFunctionName=159,p.RULE_allShortestPathFunctionName=160,p.RULE_atom=161,p.RULE_literal=162,p.RULE_stringLiteral=163,p.RULE_booleanLiteral=164,p.RULE_listLiteral=165,p.RULE_partialComparisonExpression=166,p.RULE_parenthesizedExpression=167,p.RULE_relationshipsPattern=168,p.RULE_filterExpression=169,p.RULE_idInColl=170,p.RULE_functionInvocation=171,p.RULE_functionInvocationBody=172,p.RULE_functionName=173,p.RULE_procedureName=174,p.RULE_listComprehension=175,p.RULE_patternComprehension=176,p.RULE_propertyLookup=177,p.RULE_caseExpression=178,p.RULE_caseAlternatives=179,p.RULE_variable=180,p.RULE_numberLiteral=181,p.RULE_mapLiteral=182,p.RULE_mapProjection=183,p.RULE_mapProjectionVariants=184,p.RULE_literalEntry=185,p.RULE_propertySelector=186,p.RULE_variableSelector=187,p.RULE_allPropertiesSelector=188,p.RULE_parameter=189,p.RULE_legacyParameter=190,p.RULE_newParameter=191,p.RULE_parameterName=192,p.RULE_propertyExpressions=193,p.RULE_propertyExpression=194,p.RULE_propertyKeys=195,p.RULE_propertyKeyName=196,p.RULE_integerLiteral=197,p.RULE_doubleLiteral=198,p.RULE_namespace=199,p.RULE_leftArrowHead=200,p.RULE_rightArrowHead=201,p.RULE_dash=202,p.RULE_symbolicName=203,p.RULE_keyword=204,d.prototype=Object.create(r.ParserRuleContext.prototype),d.prototype.constructor=d,d.prototype.cypherPart=function(){return this.getTypedRuleContext(m,0)},d.prototype.enterRule=function(e){e instanceof i&&e.enterRaw(this)},d.prototype.exitRule=function(e){e instanceof i&&e.exitRaw(this)},p.RawContext=d,p.prototype.raw=function(){var e=new d(this,this._ctx,this.state);this.enterRule(e,0,p.RULE_raw);try{switch(this.enterOuterAlt(e,1),this.state=417,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,1,this._ctx)){case 1:this.state=413,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,0,this._ctx);1!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)2===t&&(this.state=410,this.matchWildcard()),this.state=415,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,0,this._ctx);break;case 2:this.state=416,this.cypherPart()}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},f.prototype=Object.create(r.ParserRuleContext.prototype),f.prototype.constructor=f,f.prototype.raw=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(d):this.getTypedRuleContext(d,e)},f.prototype.EOF=function(){return this.getToken(p.EOF,0)},f.prototype.enterRule=function(e){e instanceof i&&e.enterCypher(this)},f.prototype.exitRule=function(e){e instanceof i&&e.exitCypher(this)},p.CypherContext=f,p.prototype.cypher=function(){var e=new f(this,this._ctx,this.state);this.enterRule(e,2,p.RULE_cypher);try{this.enterOuterAlt(e,1),this.state=419,this.raw(),this.state=424,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,2,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=420,this.match(p.T__0),this.state=421,this.raw()),this.state=426,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,2,this._ctx);this.state=428,this._errHandler.sync(this),this._input.LA(1)===p.T__0&&(this.state=427,this.match(p.T__0)),this.state=430,this.match(p.EOF)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},m.prototype=Object.create(r.ParserRuleContext.prototype),m.prototype.constructor=m,m.prototype.cypherQuery=function(){return this.getTypedRuleContext(W,0)},m.prototype.cypherConsoleCommand=function(){return this.getTypedRuleContext(g,0)},m.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},m.prototype.enterRule=function(e){e instanceof i&&e.enterCypherPart(this)},m.prototype.exitRule=function(e){e instanceof i&&e.exitCypherPart(this)},p.CypherPartContext=m,p.prototype.cypherPart=function(){var e=new m(this,this._ctx,this.state);this.enterRule(e,4,p.RULE_cypherPart);try{switch(this.enterOuterAlt(e,1),this.state=433,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=432,this.match(p.SP)),this.state=437,this._errHandler.sync(this),this._input.LA(1)){case p.CYPHER:case p.EXPLAIN:case p.PROFILE:case p.USING:case p.CREATE:case p.DROP:case p.LOAD:case p.WITH:case p.OPTIONAL:case p.MATCH:case p.UNWIND:case p.MERGE:case p.SET:case p.DETACH:case p.DELETE:case p.REMOVE:case p.FOREACH:case p.RETURN:case p.START:case p.CALL:this.state=435,this.cypherQuery();break;case p.T__1:this.state=436,this.cypherConsoleCommand();break;default:throw new r.error.NoViableAltException(this)}this.state=440,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=439,this.match(p.SP))}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},g.prototype=Object.create(r.ParserRuleContext.prototype),g.prototype.constructor=g,g.prototype.cypherConsoleCommandName=function(){return this.getTypedRuleContext(y,0)},g.prototype.SP=function(){return this.getToken(p.SP,0)},g.prototype.cypherConsoleCommandParameters=function(){return this.getTypedRuleContext(v,0)},g.prototype.enterRule=function(e){e instanceof i&&e.enterCypherConsoleCommand(this)},g.prototype.exitRule=function(e){e instanceof i&&e.exitCypherConsoleCommand(this)},p.CypherConsoleCommandContext=g,p.prototype.cypherConsoleCommand=function(){var e=new g(this,this._ctx,this.state);this.enterRule(e,6,p.RULE_cypherConsoleCommand);try{this.enterOuterAlt(e,1),this.state=442,this.cypherConsoleCommandName(),this.state=445,this._errHandler.sync(this),1===this._interp.adaptivePredict(this._input,7,this._ctx)&&(this.state=443,this.match(p.SP),this.state=444,this.cypherConsoleCommandParameters())}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},y.prototype=Object.create(r.ParserRuleContext.prototype),y.prototype.constructor=y,y.prototype.symbolicName=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(tr):this.getTypedRuleContext(tr,e)},y.prototype.enterRule=function(e){e instanceof i&&e.enterCypherConsoleCommandName(this)},y.prototype.exitRule=function(e){e instanceof i&&e.exitCypherConsoleCommandName(this)},p.CypherConsoleCommandNameContext=y,p.prototype.cypherConsoleCommandName=function(){var e=new y(this,this._ctx,this.state);this.enterRule(e,8,p.RULE_cypherConsoleCommandName);var t=0;try{for(this.enterOuterAlt(e,1),this.state=447,this.match(p.T__1),this.state=448,this.symbolicName(),this.state=453,this._errHandler.sync(this),t=this._input.LA(1);t===p.T__2;)this.state=449,this.match(p.T__2),this.state=450,this.symbolicName(),this.state=455,this._errHandler.sync(this),t=this._input.LA(1)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},v.prototype=Object.create(r.ParserRuleContext.prototype),v.prototype.constructor=v,v.prototype.cypherConsoleCommandParameter=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(_):this.getTypedRuleContext(_,e)},v.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},v.prototype.enterRule=function(e){e instanceof i&&e.enterCypherConsoleCommandParameters(this)},v.prototype.exitRule=function(e){e instanceof i&&e.exitCypherConsoleCommandParameters(this)},p.CypherConsoleCommandParametersContext=v,p.prototype.cypherConsoleCommandParameters=function(){var e=new v(this,this._ctx,this.state);this.enterRule(e,10,p.RULE_cypherConsoleCommandParameters);try{this.enterOuterAlt(e,1),this.state=456,this.cypherConsoleCommandParameter(),this.state=461,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,9,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=457,this.match(p.SP),this.state=458,this.cypherConsoleCommandParameter()),this.state=463,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,9,this._ctx)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},_.prototype=Object.create(r.ParserRuleContext.prototype),_.prototype.constructor=_,_.prototype.url=function(){return this.getTypedRuleContext(E,0)},_.prototype.json=function(){return this.getTypedRuleContext(H,0)},_.prototype.arrowExpression=function(){return this.getTypedRuleContext(b,0)},_.prototype.mapLiteral=function(){return this.getTypedRuleContext(Dn,0)},_.prototype.keyValueLiteral=function(){return this.getTypedRuleContext(Y,0)},_.prototype.stringLiteral=function(){return this.getTypedRuleContext(mn,0)},_.prototype.numberLiteral=function(){return this.getTypedRuleContext(kn,0)},_.prototype.booleanLiteral=function(){return this.getTypedRuleContext(gn,0)},_.prototype.subCommand=function(){return this.getTypedRuleContext($,0)},_.prototype.commandPath=function(){return this.getTypedRuleContext(z,0)},_.prototype.enterRule=function(e){e instanceof i&&e.enterCypherConsoleCommandParameter(this)},_.prototype.exitRule=function(e){e instanceof i&&e.exitCypherConsoleCommandParameter(this)},p.CypherConsoleCommandParameterContext=_,p.prototype.cypherConsoleCommandParameter=function(){var e=new _(this,this._ctx,this.state);this.enterRule(e,12,p.RULE_cypherConsoleCommandParameter);try{switch(this.state=474,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,10,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=464,this.url();break;case 2:this.enterOuterAlt(e,2),this.state=465,this.json();break;case 3:this.enterOuterAlt(e,3),this.state=466,this.arrowExpression();break;case 4:this.enterOuterAlt(e,4),this.state=467,this.mapLiteral();break;case 5:this.enterOuterAlt(e,5),this.state=468,this.keyValueLiteral();break;case 6:this.enterOuterAlt(e,6),this.state=469,this.stringLiteral();break;case 7:this.enterOuterAlt(e,7),this.state=470,this.numberLiteral();break;case 8:this.enterOuterAlt(e,8),this.state=471,this.booleanLiteral();break;case 9:this.enterOuterAlt(e,9),this.state=472,this.subCommand();break;case 10:this.enterOuterAlt(e,10),this.state=473,this.commandPath()}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},b.prototype=Object.create(r.ParserRuleContext.prototype),b.prototype.constructor=b,b.prototype.symbolicName=function(){return this.getTypedRuleContext(tr,0)},b.prototype.expression=function(){return this.getTypedRuleContext(Pt,0)},b.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},b.prototype.enterRule=function(e){e instanceof i&&e.enterArrowExpression(this)},b.prototype.exitRule=function(e){e instanceof i&&e.exitArrowExpression(this)},p.ArrowExpressionContext=b,p.prototype.arrowExpression=function(){var e=new b(this,this._ctx,this.state);this.enterRule(e,14,p.RULE_arrowExpression);try{this.enterOuterAlt(e,1),this.state=476,this.symbolicName(),this.state=478,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=477,this.match(p.SP)),this.state=480,this.match(p.T__3),this.state=482,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=481,this.match(p.SP)),this.state=484,this.expression()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},E.prototype=Object.create(r.ParserRuleContext.prototype),E.prototype.constructor=E,E.prototype.uri=function(){return this.getTypedRuleContext(T,0)},E.prototype.enterRule=function(e){e instanceof i&&e.enterUrl(this)},E.prototype.exitRule=function(e){e instanceof i&&e.exitUrl(this)},p.UrlContext=E,p.prototype.url=function(){var e=new E(this,this._ctx,this.state);this.enterRule(e,16,p.RULE_url);try{this.enterOuterAlt(e,1),this.state=486,this.uri()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},T.prototype=Object.create(r.ParserRuleContext.prototype),T.prototype.constructor=T,T.prototype.scheme=function(){return this.getTypedRuleContext(x,0)},T.prototype.host=function(){return this.getTypedRuleContext(S,0)},T.prototype.login=function(){return this.getTypedRuleContext(O,0)},T.prototype.port=function(){return this.getTypedRuleContext(R,0)},T.prototype.path=function(){return this.getTypedRuleContext(w,0)},T.prototype.urlQuery=function(){return this.getTypedRuleContext(k,0)},T.prototype.frag=function(){return this.getTypedRuleContext(I,0)},T.prototype.enterRule=function(e){e instanceof i&&e.enterUri(this)},T.prototype.exitRule=function(e){e instanceof i&&e.exitUri(this)},p.UriContext=T,p.prototype.uri=function(){var e=new T(this,this._ctx,this.state);this.enterRule(e,18,p.RULE_uri);try{this.enterOuterAlt(e,1),this.state=488,this.scheme(),this.state=489,this.match(p.T__4),this.state=491,this._errHandler.sync(this),1===this._interp.adaptivePredict(this._input,13,this._ctx)&&(this.state=490,this.login()),this.state=493,this.host(),this.state=496,this._errHandler.sync(this),this._input.LA(1)===p.T__1&&(this.state=494,this.match(p.T__1),this.state=495,this.port()),this.state=500,this._errHandler.sync(this),this._input.LA(1)===p.T__5&&(this.state=498,this.match(p.T__5),this.state=499,this.path()),this.state=503,this._errHandler.sync(this),this._input.LA(1)===p.T__9&&(this.state=502,this.urlQuery()),this.state=506,this._errHandler.sync(this),this._input.LA(1)===p.T__8&&(this.state=505,this.frag())}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},x.prototype=Object.create(r.ParserRuleContext.prototype),x.prototype.constructor=x,x.prototype.string=function(){return this.getTypedRuleContext(M,0)},x.prototype.enterRule=function(e){e instanceof i&&e.enterScheme(this)},x.prototype.exitRule=function(e){e instanceof i&&e.exitScheme(this)},p.SchemeContext=x,p.prototype.scheme=function(){var e=new x(this,this._ctx,this.state);this.enterRule(e,20,p.RULE_scheme);try{this.enterOuterAlt(e,1),this.state=508,this.string()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},S.prototype=Object.create(r.ParserRuleContext.prototype),S.prototype.constructor=S,S.prototype.hostname=function(){return this.getTypedRuleContext(C,0)},S.prototype.hostnumber=function(){return this.getTypedRuleContext(A,0)},S.prototype.enterRule=function(e){e instanceof i&&e.enterHost(this)},S.prototype.exitRule=function(e){e instanceof i&&e.exitHost(this)},p.HostContext=S,p.prototype.host=function(){var e=new S(this,this._ctx,this.state);this.enterRule(e,22,p.RULE_host);try{switch(this.enterOuterAlt(e,1),this.state=511,this._errHandler.sync(this),this._input.LA(1)===p.T__5&&(this.state=510,this.match(p.T__5)),this.state=515,this._errHandler.sync(this),this._input.LA(1)){case p.CYPHER:case p.EXPLAIN:case p.PROFILE:case p.USING:case p.PERIODIC:case p.COMMIT:case p.UNION:case p.ALL:case p.CREATE:case p.DROP:case p.INDEX:case p.ON:case p.CONSTRAINT:case p.ASSERT:case p.IS:case p.UNIQUE:case p.EXISTS:case p.LOAD:case p.CSV:case p.WITH:case p.HEADERS:case p.FROM:case p.AS:case p.FIELDTERMINATOR:case p.OPTIONAL:case p.MATCH:case p.UNWIND:case p.MERGE:case p.SET:case p.DETACH:case p.DELETE:case p.REMOVE:case p.FOREACH:case p.IN:case p.DISTINCT:case p.RETURN:case p.ORDER:case p.BY:case p.L_SKIP:case p.LIMIT:case p.ASCENDING:case p.ASC:case p.DESCENDING:case p.DESC:case p.JOIN:case p.SCAN:case p.START:case p.NODE:case p.RELATIONSHIP:case p.REL:case p.WHERE:case p.SHORTESTPATH:case p.ALLSHORTESTPATHS:case p.OR:case p.XOR:case p.AND:case p.NOT:case p.STARTS:case p.ENDS:case p.CONTAINS:case p.NULL:case p.COUNT:case p.FILTER:case p.EXTRACT:case p.ANY:case p.NONE:case p.SINGLE:case p.TRUE:case p.FALSE:case p.REDUCE:case p.CASE:case p.ELSE:case p.END:case p.WHEN:case p.THEN:case p.CALL:case p.YIELD:case p.KEY:case p.BTREE:case p.EXIST:case p.FOR:case p.OPTIONS:case p.EXECUTE:case p.DEFINED:case p.FUNCTION:case p.FUNCTIONS:case p.BOOSTED:case p.PROCEDURE:case p.PROCEDURES:case p.ADMIN:case p.ADMINISTRATOR:case p.BRIEF:case p.VERBOSE:case p.OUTPUT:case p.HexLetter:case p.UnescapedSymbolicName:case p.EscapedSymbolicName:this.state=513,this.hostname();break;case p.HexInteger:case p.DecimalInteger:case p.OctalInteger:this.state=514,this.hostnumber();break;default:throw new r.error.NoViableAltException(this)}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},C.prototype=Object.create(r.ParserRuleContext.prototype),C.prototype.constructor=C,C.prototype.string=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(M):this.getTypedRuleContext(M,e)},C.prototype.enterRule=function(e){e instanceof i&&e.enterHostname(this)},C.prototype.exitRule=function(e){e instanceof i&&e.exitHostname(this)},p.HostnameContext=C,p.prototype.hostname=function(){var e=new C(this,this._ctx,this.state);this.enterRule(e,24,p.RULE_hostname);var t=0;try{for(this.enterOuterAlt(e,1),this.state=517,this.string(),this.state=522,this._errHandler.sync(this),t=this._input.LA(1);t===p.T__6;)this.state=518,this.match(p.T__6),this.state=519,this.string(),this.state=524,this._errHandler.sync(this),t=this._input.LA(1)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},A.prototype=Object.create(r.ParserRuleContext.prototype),A.prototype.constructor=A,A.prototype.urlDigits=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(F):this.getTypedRuleContext(F,e)},A.prototype.enterRule=function(e){e instanceof i&&e.enterHostnumber(this)},A.prototype.exitRule=function(e){e instanceof i&&e.exitHostnumber(this)},p.HostnumberContext=A,p.prototype.hostnumber=function(){var e=new A(this,this._ctx,this.state);this.enterRule(e,26,p.RULE_hostnumber);try{this.enterOuterAlt(e,1),this.state=525,this.urlDigits(),this.state=526,this.match(p.T__6),this.state=527,this.urlDigits(),this.state=528,this.match(p.T__6),this.state=529,this.urlDigits(),this.state=530,this.match(p.T__6),this.state=531,this.urlDigits()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},R.prototype=Object.create(r.ParserRuleContext.prototype),R.prototype.constructor=R,R.prototype.urlDigits=function(){return this.getTypedRuleContext(F,0)},R.prototype.enterRule=function(e){e instanceof i&&e.enterPort(this)},R.prototype.exitRule=function(e){e instanceof i&&e.exitPort(this)},p.PortContext=R,p.prototype.port=function(){var e=new R(this,this._ctx,this.state);this.enterRule(e,28,p.RULE_port);try{this.enterOuterAlt(e,1),this.state=533,this.urlDigits()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},w.prototype=Object.create(r.ParserRuleContext.prototype),w.prototype.constructor=w,w.prototype.string=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(M):this.getTypedRuleContext(M,e)},w.prototype.enterRule=function(e){e instanceof i&&e.enterPath(this)},w.prototype.exitRule=function(e){e instanceof i&&e.exitPath(this)},p.PathContext=w,p.prototype.path=function(){var e=new w(this,this._ctx,this.state);this.enterRule(e,30,p.RULE_path);var t=0;try{for(this.enterOuterAlt(e,1),this.state=535,this.string(),this.state=540,this._errHandler.sync(this),t=this._input.LA(1);t===p.T__5;)this.state=536,this.match(p.T__5),this.state=537,this.string(),this.state=542,this._errHandler.sync(this),t=this._input.LA(1)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},L.prototype=Object.create(r.ParserRuleContext.prototype),L.prototype.constructor=L,L.prototype.string=function(){return this.getTypedRuleContext(M,0)},L.prototype.enterRule=function(e){e instanceof i&&e.enterUser(this)},L.prototype.exitRule=function(e){e instanceof i&&e.exitUser(this)},p.UserContext=L,p.prototype.user=function(){var e=new L(this,this._ctx,this.state);this.enterRule(e,32,p.RULE_user);try{this.enterOuterAlt(e,1),this.state=543,this.string()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},O.prototype=Object.create(r.ParserRuleContext.prototype),O.prototype.constructor=O,O.prototype.user=function(){return this.getTypedRuleContext(L,0)},O.prototype.password=function(){return this.getTypedRuleContext(N,0)},O.prototype.enterRule=function(e){e instanceof i&&e.enterLogin(this)},O.prototype.exitRule=function(e){e instanceof i&&e.exitLogin(this)},p.LoginContext=O,p.prototype.login=function(){var e=new O(this,this._ctx,this.state);this.enterRule(e,34,p.RULE_login);try{this.enterOuterAlt(e,1),this.state=545,this.user(),this.state=546,this.match(p.T__1),this.state=547,this.password(),this.state=548,this.match(p.T__7)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},N.prototype=Object.create(r.ParserRuleContext.prototype),N.prototype.constructor=N,N.prototype.string=function(){return this.getTypedRuleContext(M,0)},N.prototype.enterRule=function(e){e instanceof i&&e.enterPassword(this)},N.prototype.exitRule=function(e){e instanceof i&&e.exitPassword(this)},p.PasswordContext=N,p.prototype.password=function(){var e=new N(this,this._ctx,this.state);this.enterRule(e,36,p.RULE_password);try{this.enterOuterAlt(e,1),this.state=550,this.string()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},I.prototype=Object.create(r.ParserRuleContext.prototype),I.prototype.constructor=I,I.prototype.string=function(){return this.getTypedRuleContext(M,0)},I.prototype.enterRule=function(e){e instanceof i&&e.enterFrag(this)},I.prototype.exitRule=function(e){e instanceof i&&e.exitFrag(this)},p.FragContext=I,p.prototype.frag=function(){var e=new I(this,this._ctx,this.state);this.enterRule(e,38,p.RULE_frag);try{this.enterOuterAlt(e,1),this.state=552,this.match(p.T__8),this.state=553,this.string()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},k.prototype=Object.create(r.ParserRuleContext.prototype),k.prototype.constructor=k,k.prototype.search=function(){return this.getTypedRuleContext(D,0)},k.prototype.enterRule=function(e){e instanceof i&&e.enterUrlQuery(this)},k.prototype.exitRule=function(e){e instanceof i&&e.exitUrlQuery(this)},p.UrlQueryContext=k,p.prototype.urlQuery=function(){var e=new k(this,this._ctx,this.state);this.enterRule(e,40,p.RULE_urlQuery);try{this.enterOuterAlt(e,1),this.state=555,this.match(p.T__9),this.state=556,this.search()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},D.prototype=Object.create(r.ParserRuleContext.prototype),D.prototype.constructor=D,D.prototype.searchparameter=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(P):this.getTypedRuleContext(P,e)},D.prototype.enterRule=function(e){e instanceof i&&e.enterSearch(this)},D.prototype.exitRule=function(e){e instanceof i&&e.exitSearch(this)},p.SearchContext=D,p.prototype.search=function(){var e=new D(this,this._ctx,this.state);this.enterRule(e,42,p.RULE_search);var t=0;try{for(this.enterOuterAlt(e,1),this.state=558,this.searchparameter(),this.state=563,this._errHandler.sync(this),t=this._input.LA(1);t===p.T__10;)this.state=559,this.match(p.T__10),this.state=560,this.searchparameter(),this.state=565,this._errHandler.sync(this),t=this._input.LA(1)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},P.prototype=Object.create(r.ParserRuleContext.prototype),P.prototype.constructor=P,P.prototype.string=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(M):this.getTypedRuleContext(M,e)},P.prototype.urlDigits=function(){return this.getTypedRuleContext(F,0)},P.prototype.UrlHex=function(){return this.getToken(p.UrlHex,0)},P.prototype.enterRule=function(e){e instanceof i&&e.enterSearchparameter(this)},P.prototype.exitRule=function(e){e instanceof i&&e.exitSearchparameter(this)},p.SearchparameterContext=P,p.prototype.searchparameter=function(){var e=new P(this,this._ctx,this.state);this.enterRule(e,44,p.RULE_searchparameter);try{if(this.enterOuterAlt(e,1),this.state=566,this.string(),this.state=573,this._errHandler.sync(this),this._input.LA(1)===p.T__11)switch(this.state=567,this.match(p.T__11),this.state=571,this._errHandler.sync(this),this._input.LA(1)){case p.CYPHER:case p.EXPLAIN:case p.PROFILE:case p.USING:case p.PERIODIC:case p.COMMIT:case p.UNION:case p.ALL:case p.CREATE:case p.DROP:case p.INDEX:case p.ON:case p.CONSTRAINT:case p.ASSERT:case p.IS:case p.UNIQUE:case p.EXISTS:case p.LOAD:case p.CSV:case p.WITH:case p.HEADERS:case p.FROM:case p.AS:case p.FIELDTERMINATOR:case p.OPTIONAL:case p.MATCH:case p.UNWIND:case p.MERGE:case p.SET:case p.DETACH:case p.DELETE:case p.REMOVE:case p.FOREACH:case p.IN:case p.DISTINCT:case p.RETURN:case p.ORDER:case p.BY:case p.L_SKIP:case p.LIMIT:case p.ASCENDING:case p.ASC:case p.DESCENDING:case p.DESC:case p.JOIN:case p.SCAN:case p.START:case p.NODE:case p.RELATIONSHIP:case p.REL:case p.WHERE:case p.SHORTESTPATH:case p.ALLSHORTESTPATHS:case p.OR:case p.XOR:case p.AND:case p.NOT:case p.STARTS:case p.ENDS:case p.CONTAINS:case p.NULL:case p.COUNT:case p.FILTER:case p.EXTRACT:case p.ANY:case p.NONE:case p.SINGLE:case p.TRUE:case p.FALSE:case p.REDUCE:case p.CASE:case p.ELSE:case p.END:case p.WHEN:case p.THEN:case p.CALL:case p.YIELD:case p.KEY:case p.BTREE:case p.EXIST:case p.FOR:case p.OPTIONS:case p.EXECUTE:case p.DEFINED:case p.FUNCTION:case p.FUNCTIONS:case p.BOOSTED:case p.PROCEDURE:case p.PROCEDURES:case p.ADMIN:case p.ADMINISTRATOR:case p.BRIEF:case p.VERBOSE:case p.OUTPUT:case p.HexLetter:case p.UnescapedSymbolicName:case p.EscapedSymbolicName:this.state=568,this.string();break;case p.HexInteger:case p.DecimalInteger:case p.OctalInteger:this.state=569,this.urlDigits();break;case p.UrlHex:this.state=570,this.match(p.UrlHex);break;default:throw new r.error.NoViableAltException(this)}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},M.prototype=Object.create(r.ParserRuleContext.prototype),M.prototype.constructor=M,M.prototype.symbolicName=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(tr):this.getTypedRuleContext(tr,e)},M.prototype.enterRule=function(e){e instanceof i&&e.enterString(this)},M.prototype.exitRule=function(e){e instanceof i&&e.exitString(this)},p.StringContext=M,p.prototype.string=function(){var e=new M(this,this._ctx,this.state);this.enterRule(e,46,p.RULE_string);var t=0;try{this.enterOuterAlt(e,1),this.state=575,this.symbolicName(),this.state=582,this._errHandler.sync(this);for(var n=this._interp.adaptivePredict(this._input,26,this._ctx);1!=n&&n!=r.atn.ATN.INVALID_ALT_NUMBER;)2===n&&(this.state=577,this._errHandler.sync(this),(t=this._input.LA(1))!==p.T__6&&t!==p.T__12||(this.state=576,(t=this._input.LA(1))!==p.T__6&&t!==p.T__12?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume())),this.state=579,this.symbolicName()),this.state=584,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,26,this._ctx)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},F.prototype=Object.create(r.ParserRuleContext.prototype),F.prototype.constructor=F,F.prototype.integerLiteral=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(qn):this.getTypedRuleContext(qn,e)},F.prototype.enterRule=function(e){e instanceof i&&e.enterUrlDigits(this)},F.prototype.exitRule=function(e){e instanceof i&&e.exitUrlDigits(this)},p.UrlDigitsContext=F,p.prototype.urlDigits=function(){var e=new F(this,this._ctx,this.state);this.enterRule(e,48,p.RULE_urlDigits);var t=0;try{this.enterOuterAlt(e,1),this.state=586,this._errHandler.sync(this),t=this._input.LA(1);do{this.state=585,this.integerLiteral(),this.state=588,this._errHandler.sync(this),t=this._input.LA(1)}while(0==(t-151&-32)&&0!=(1<1&&void 0!==arguments[1])||arguments[1],n=this.namesByQuery.length-1,r=e.getText();t&&(this.names[r]=!0,this.namesByQuery[n][r]=!0),this.referencesByName[r]=[].concat(l(this.referencesByName[r]||[]),[e]);var i=this.referencesByQueryAndName[n];i[r]=[].concat(l(i[r]||[]),[e])}},{key:"addVariable",value:function(e){var t=!0,n=e.parentCtx;n&&n.constructor.name===a.ATOM_CONTEXT&&(t=!1),this.add(e,t)}}]),e}();t.ReferencesListener=function(e){function t(){var e,n,i;c(this,t);for(var o=arguments.length,l=Array(o),h=0;h{"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},a=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,i=t.call(e,"constructor"),o=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!i&&!o)return!1;for(r in e);return void 0===r||t.call(e,r)},s=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(i)return i(e,n).value}return e[n]};e.exports=function e(){var t,n,r,i,c,u,h=arguments[0],p=1,d=arguments.length,f=!1;for("boolean"==typeof h&&(f=h,h=arguments[1]||{},p=2),(null==h||"object"!=typeof h&&"function"!=typeof h)&&(h={});p{"use strict";var r=n(9415),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?a:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,f=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(f){var i=d(n);i&&i!==f&&e(t,i,r)}var a=u(n);h&&(a=a.concat(h(n)));for(var s=l(t),m=l(n),g=0;g{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,l=/^\s+|\s+$/g,c="";function u(e){return e?e.replace(l,c):c}e.exports=function(e,l){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];l=l||{};var h=1,p=1;function d(e){var t=e.match(n);t&&(h+=t.length);var r=e.lastIndexOf("\n");p=~r?e.length-r:p+e.length}function f(){var e={line:h,column:p};return function(t){return t.position=new m(e),_(),t}}function m(e){this.start=e,this.end={line:h,column:p},this.source=l.source}m.prototype.content=e;var g=[];function y(t){var n=new Error(l.source+":"+h+":"+p+": "+t);if(n.reason=t,n.filename=l.source,n.line=h,n.column=p,n.source=e,!l.silent)throw n;g.push(n)}function v(t){var n=t.exec(e);if(n){var r=n[0];return d(r),e=e.slice(r.length),n}}function _(){v(r)}function b(e){var t;for(e=e||[];t=E();)!1!==t&&e.push(t);return e}function E(){var t=f();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;c!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,c===e.charAt(n-1))return y("End of comment missing");var r=e.slice(2,n-2);return p+=2,d(r),e=e.slice(n),p+=2,t({type:"comment",comment:r})}}function T(){var e=f(),n=v(i);if(n){if(E(),!v(o))return y("property missing ':'");var r=v(a),l=e({type:"declaration",property:u(n[0].replace(t,c)),value:r?u(r[0].replace(t,c)):c});return v(s),l}}return _(),function(){var e,t=[];for(b(t);e=T();)!1!==e&&(t.push(e),b(t));return t}()}},2791:e=>{var t=[],n=[];function r(e,r){if(r=r||{},void 0===e)throw new Error("insert-css: You need to provide a CSS string. Usage: insertCss(cssString[, options]).");var i,o=!0===r.prepend?"prepend":"append",a=void 0!==r.container?r.container:document.querySelector("head"),s=t.indexOf(a);return-1===s&&(s=t.push(a)-1,n[s]={}),void 0!==n[s]&&void 0!==n[s][o]?i=n[s][o]:(i=n[s][o]=function(){var e=document.createElement("style");return e.setAttribute("type","text/css"),e}(),"prepend"===o?a.insertBefore(i,a.childNodes[0]):a.appendChild(i)),65279===e.charCodeAt(0)&&(e=e.substr(1,e.length)),i.styleSheet?i.styleSheet.cssText+=e:i.textContent+=e,i}e.exports=r,e.exports.insertCss=r},6486:(e,t,n)=>{"use strict";(t=e.exports=n(6656).default).default=t},6656:(e,t)=>{"use strict";t.default=function(){function e(t,n,r,i){this.message=t,this.expected=n,this.found=r,this.location=i,this.name="SyntaxError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,e)}return function(e,t){function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n}(e,Error),{SyntaxError:e,parse:function(t){var n,r=arguments.length>1?arguments[1]:{},i={},o={start:Le},a=Le,s=function(e){return{type:"messageFormatPattern",elements:e,location:Ce()}},l=function(e){var t,n,r,i,o,a="";for(t=0,r=e.length;tTe&&(Te=_e,xe=[]),xe.push(e))}function Le(){return Oe()}function Oe(){var e,t,n;for(e=_e,t=[],n=Ne();n!==i;)t.push(n),n=Ne();return t!==i&&(be=e,t=s(t)),t}function Ne(){var e;return(e=function(){var e,n;return e=_e,n=function(){var e,n,r,o,a,s;if(e=_e,n=[],r=_e,(o=Pe())!==i&&(a=Ue())!==i&&(s=Pe())!==i?r=o=[o,a,s]:(_e=r,r=i),r!==i)for(;r!==i;)n.push(r),r=_e,(o=Pe())!==i&&(a=Ue())!==i&&(s=Pe())!==i?r=o=[o,a,s]:(_e=r,r=i);else n=i;return n!==i&&(be=e,n=l(n)),(e=n)===i&&(e=_e,e=(n=De())!==i?t.substring(e,_e):n),e}(),n!==i&&(be=e,n=c(n)),e=n}())===i&&(e=function(){var e,n,r,o,a,s,l;return e=_e,123===t.charCodeAt(_e)?(n=p,_e++):(n=i,0===Se&&we(d)),n!==i&&Pe()!==i?(r=function(){var e,n,r;if((e=He())===i){if(e=_e,n=[],u.test(t.charAt(_e))?(r=t.charAt(_e),_e++):(r=i,0===Se&&we(h)),r!==i)for(;r!==i;)n.push(r),u.test(t.charAt(_e))?(r=t.charAt(_e),_e++):(r=i,0===Se&&we(h));else n=i;e=n!==i?t.substring(e,_e):n}return e}(),r!==i&&Pe()!==i?(o=_e,44===t.charCodeAt(_e)?(a=f,_e++):(a=i,0===Se&&we(m)),a!==i&&(s=Pe())!==i?(l=function(){var e;return e=function(){var e,n,r,o,a,s;return e=_e,t.substr(_e,6)===_?(n=_,_e+=6):(n=i,0===Se&&we(b)),n===i&&(t.substr(_e,4)===E?(n=E,_e+=4):(n=i,0===Se&&we(T)),n===i&&(t.substr(_e,4)===x?(n=x,_e+=4):(n=i,0===Se&&we(S)))),n!==i&&Pe()!==i?(r=_e,44===t.charCodeAt(_e)?(o=f,_e++):(o=i,0===Se&&we(m)),o!==i&&(a=Pe())!==i&&(s=Ue())!==i?r=o=[o,a,s]:(_e=r,r=i),r===i&&(r=null),r!==i?(be=e,e=n=C(n,r)):(_e=e,e=i)):(_e=e,e=i),e}(),e===i&&(e=function(){var e,n,r,o;return e=_e,t.substr(_e,6)===A?(n=A,_e+=6):(n=i,0===Se&&we(R)),n!==i&&Pe()!==i?(44===t.charCodeAt(_e)?(r=f,_e++):(r=i,0===Se&&we(m)),r!==i&&Pe()!==i&&(o=ke())!==i?(be=e,e=n=w(o)):(_e=e,e=i)):(_e=e,e=i),e}(),e===i&&(e=function(){var e,n,r,o;return e=_e,t.substr(_e,13)===L?(n=L,_e+=13):(n=i,0===Se&&we(O)),n!==i&&Pe()!==i?(44===t.charCodeAt(_e)?(r=f,_e++):(r=i,0===Se&&we(m)),r!==i&&Pe()!==i&&(o=ke())!==i?(be=e,e=n=N(o)):(_e=e,e=i)):(_e=e,e=i),e}(),e===i&&(e=function(){var e,n,r,o,a;if(e=_e,t.substr(_e,6)===I?(n=I,_e+=6):(n=i,0===Se&&we(k)),n!==i)if(Pe()!==i)if(44===t.charCodeAt(_e)?(r=f,_e++):(r=i,0===Se&&we(m)),r!==i)if(Pe()!==i){if(o=[],(a=Ie())!==i)for(;a!==i;)o.push(a),a=Ie();else o=i;o!==i?(be=e,e=n=D(o)):(_e=e,e=i)}else _e=e,e=i;else _e=e,e=i;else _e=e,e=i;else _e=e,e=i;return e}()))),e}(),l!==i?o=a=[a,s,l]:(_e=o,o=i)):(_e=o,o=i),o===i&&(o=null),o!==i&&(a=Pe())!==i?(125===t.charCodeAt(_e)?(s=g,_e++):(s=i,0===Se&&we(y)),s!==i?(be=e,e=n=v(r,o)):(_e=e,e=i)):(_e=e,e=i)):(_e=e,e=i)):(_e=e,e=i),e}()),e}function Ie(){var e,n,r,o,a;return e=_e,Pe()!==i?(n=function(){var e,n,r,o;return e=_e,n=_e,61===t.charCodeAt(_e)?(r=P,_e++):(r=i,0===Se&&we(M)),r!==i&&(o=He())!==i?n=r=[r,o]:(_e=n,n=i),(e=n!==i?t.substring(e,_e):n)===i&&(e=Ue()),e}(),n!==i&&Pe()!==i?(123===t.charCodeAt(_e)?(r=p,_e++):(r=i,0===Se&&we(d)),r!==i&&Pe()!==i&&(o=Oe())!==i&&Pe()!==i?(125===t.charCodeAt(_e)?(a=g,_e++):(a=i,0===Se&&we(y)),a!==i?(be=e,e=F(n,o)):(_e=e,e=i)):(_e=e,e=i)):(_e=e,e=i)):(_e=e,e=i),e}function ke(){var e,n,r,o;if(e=_e,n=function(){var e,n,r;return e=_e,t.substr(_e,7)===H?(n=H,_e+=7):(n=i,0===Se&&we(B)),n!==i&&Pe()!==i&&(r=He())!==i?(be=e,e=n=U(r)):(_e=e,e=i),e}(),n===i&&(n=null),n!==i)if(Pe()!==i){if(r=[],(o=Ie())!==i)for(;o!==i;)r.push(o),o=Ie();else r=i;r!==i?(be=e,e=n=j(n,r)):(_e=e,e=i)}else _e=e,e=i;else _e=e,e=i;return e}function De(){var e,n;if(Se++,e=[],Y.test(t.charAt(_e))?(n=t.charAt(_e),_e++):(n=i,0===Se&&we(z)),n!==i)for(;n!==i;)e.push(n),Y.test(t.charAt(_e))?(n=t.charAt(_e),_e++):(n=i,0===Se&&we(z));else e=i;return Se--,e===i&&(n=i,0===Se&&we(G)),e}function Pe(){var e,n,r;for(Se++,e=_e,n=[],r=De();r!==i;)n.push(r),r=De();return e=n!==i?t.substring(e,_e):n,Se--,e===i&&(n=i,0===Se&&we($)),e}function Me(){var e;return W.test(t.charAt(_e))?(e=t.charAt(_e),_e++):(e=i,0===Se&&we(V)),e}function Fe(){var e;return K.test(t.charAt(_e))?(e=t.charAt(_e),_e++):(e=i,0===Se&&we(q)),e}function He(){var e,n,r,o,a,s;if(e=_e,48===t.charCodeAt(_e)?(n=X,_e++):(n=i,0===Se&&we(Z)),n===i){if(n=_e,r=_e,Q.test(t.charAt(_e))?(o=t.charAt(_e),_e++):(o=i,0===Se&&we(J)),o!==i){for(a=[],s=Me();s!==i;)a.push(s),s=Me();a!==i?r=o=[o,a]:(_e=r,r=i)}else _e=r,r=i;n=r!==i?t.substring(n,_e):r}return n!==i&&(be=e,n=ee(n)),n}function Be(){var e,n,r,o,a,s,l,c;return te.test(t.charAt(_e))?(e=t.charAt(_e),_e++):(e=i,0===Se&&we(ne)),e===i&&(e=_e,t.substr(_e,2)===re?(n=re,_e+=2):(n=i,0===Se&&we(ie)),n!==i&&(be=e,n=oe()),(e=n)===i&&(e=_e,t.substr(_e,2)===ae?(n=ae,_e+=2):(n=i,0===Se&&we(se)),n!==i&&(be=e,n=le()),(e=n)===i&&(e=_e,t.substr(_e,2)===ce?(n=ce,_e+=2):(n=i,0===Se&&we(ue)),n!==i&&(be=e,n=he()),(e=n)===i&&(e=_e,t.substr(_e,2)===pe?(n=pe,_e+=2):(n=i,0===Se&&we(de)),n!==i&&(be=e,n=fe()),(e=n)===i&&(e=_e,t.substr(_e,2)===me?(n=me,_e+=2):(n=i,0===Se&&we(ge)),n!==i?(r=_e,o=_e,(a=Fe())!==i&&(s=Fe())!==i&&(l=Fe())!==i&&(c=Fe())!==i?o=a=[a,s,l,c]:(_e=o,o=i),(r=o!==i?t.substring(r,_e):o)!==i?(be=e,e=n=ye(r)):(_e=e,e=i)):(_e=e,e=i)))))),e}function Ue(){var e,t,n;if(e=_e,t=[],(n=Be())!==i)for(;n!==i;)t.push(n),n=Be();else t=i;return t!==i&&(be=e,t=ve(t)),t}if((n=a())!==i&&_e===t.length)return n;throw n!==i&&_et.description?1:0}));t1?r.slice(0,-1).join(", ")+" or "+r[e.length-1]:r[0])+" but "+(t?'"'+function(e){function t(e){return e.charCodeAt(0).toString(16).toUpperCase()}return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\x08/g,"\\b").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\f/g,"\\f").replace(/\r/g,"\\r").replace(/[\x00-\x07\x0B\x0E\x0F]/g,(function(e){return"\\x0"+t(e)})).replace(/[\x10-\x1F\x80-\xFF]/g,(function(e){return"\\x"+t(e)})).replace(/[\u0100-\u0FFF]/g,(function(e){return"\\u0"+t(e)})).replace(/[\u1000-\uFFFF]/g,(function(e){return"\\u"+t(e)}))}(t)+'"':"end of input")+" found."}(n,r),n,r,i)}(null,xe,Te{"use strict";var r=n(5478).Z;n(3321),(t=e.exports=r).default=t},4419:(e,t)=>{"use strict";function n(e,t,n){this.locales=e,this.formats=t,this.pluralFn=n}function r(e){this.id=e}function i(e,t,n,r,i){this.id=e,this.useOrdinal=t,this.offset=n,this.options=r,this.pluralFn=i}function o(e,t,n,r){this.id=e,this.offset=t,this.numberFormat=n,this.string=r}function a(e,t){this.id=e,this.options=t}t.default=n,n.prototype.compile=function(e){return this.pluralStack=[],this.currentPlural=null,this.pluralNumberFormat=null,this.compileMessage(e)},n.prototype.compileMessage=function(e){if(!e||"messageFormatPattern"!==e.type)throw new Error('Message AST is not of type: "messageFormatPattern"');var t,n,r,i=e.elements,o=[];for(t=0,n=i.length;t{"use strict";var r=n(5303),i=n(4996),o=n(4419),a=n(6486);function s(e,t,n){var r="string"==typeof e?s.__parse(e):e;if(!r||"messageFormatPattern"!==r.type)throw new TypeError("A message must be provided as a String or AST.");n=this._mergeFormats(s.formats,n),i.defineProperty(this,"_locale",{value:this._resolveLocale(t)});var o=this._findPluralRuleFunction(this._locale),a=this._compilePattern(r,t,n,o),l=this;this.format=function(t){try{return l._format(a,t)}catch(t){throw t.variableId?new Error("The intl string context variable '"+t.variableId+"' was not provided to the string '"+e+"'"):t}}}t.default=s,i.defineProperty(s,"formats",{enumerable:!0,value:{number:{currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}}}),i.defineProperty(s,"__localeData__",{value:i.objCreate(null)}),i.defineProperty(s,"__addLocaleData",{value:function(e){if(!e||!e.locale)throw new Error("Locale data provided to IntlMessageFormat is missing a `locale` property");s.__localeData__[e.locale.toLowerCase()]=e}}),i.defineProperty(s,"__parse",{value:a.default.parse}),i.defineProperty(s,"defaultLocale",{enumerable:!0,writable:!0,value:void 0}),s.prototype.resolvedOptions=function(){return{locale:this._locale}},s.prototype._compilePattern=function(e,t,n,r){return new o.default(t,n,r).compile(e)},s.prototype._findPluralRuleFunction=function(e){for(var t=s.__localeData__,n=t[e.toLowerCase()];n;){if(n.pluralRuleFunction)return n.pluralRuleFunction;n=n.parentLocale&&t[n.parentLocale.toLowerCase()]}throw new Error("Locale data added to IntlMessageFormat is missing a `pluralRuleFunction` for :"+e)},s.prototype._format=function(e,t){var n,i,o,a,s,l,c="";for(n=0,i=e.length;n{"use strict";t.default={locale:"en",pluralRuleFunction:function(e,t){var n=String(e).split("."),r=!n[1],i=Number(n[0])==e,o=i&&n[0].slice(-1),a=i&&n[0].slice(-2);return t?1==o&&11!=a?"one":2==o&&12!=a?"two":3==o&&13!=a?"few":"other":1==e&&r?"one":"other"}}},4996:(e,t,n)=>{"use strict";var r=n(5303),i=function(){try{return!!Object.defineProperty({},"a",{})}catch(e){return!1}}(),o=(!i&&Object.prototype.__defineGetter__,i?Object.defineProperty:function(e,t,n){"get"in n&&e.__defineGetter__?e.__defineGetter__(t,n.get):r.hop.call(e,t)&&!("value"in n)||(e[t]=n.value)}),a=Object.create||function(e,t){var n,i;function a(){}for(i in a.prototype=e,n=new a,t)r.hop.call(t,i)&&o(n,i,t[i]);return n};t.defineProperty=o,t.objCreate=a},5478:(e,t,n)=>{"use strict";var r=n(2873),i=n(9531);r.default.__addLocaleData(i.default),r.default.defaultLocale="en",t.Z=r.default},5303:(e,t)=>{"use strict";t.extend=function(e){var t,r,i,o,a=Array.prototype.slice.call(arguments,1);for(t=0,r=a.length;t{"use strict";e.exports=function(e,t,n,r,i,o,a,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,i,o,a,s],u=0;(l=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},4853:e=>{e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},4466:(e,t,n)=>{var r=n(5234)(n(3250),"DataView");e.exports=r},5208:(e,t,n)=>{var r=n(4440),i=n(4108),o=n(1085),a=n(7706),s=n(8636);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t{var r=n(266),i=n(2875),o=n(5828),a=n(4115),s=n(7690);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t{var r=n(5234)(n(3250),"Map");e.exports=r},5678:(e,t,n)=>{var r=n(9016),i=n(2363),o=n(4348),a=n(3062),s=n(2590);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t{var r=n(5234)(n(3250),"Promise");e.exports=r},6616:(e,t,n)=>{var r=n(5234)(n(3250),"Set");e.exports=r},4546:(e,t,n)=>{var r=n(5678),i=n(3937),o=n(5009);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t{var r=n(1998),i=n(3210),o=n(8603),a=n(8947),s=n(885),l=n(8938);function c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=i,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=s,c.prototype.set=l,e.exports=c},861:(e,t,n)=>{var r=n(3250).Symbol;e.exports=r},3526:(e,t,n)=>{var r=n(3250).Uint8Array;e.exports=r},8001:(e,t,n)=>{var r=n(5234)(n(3250),"WeakMap");e.exports=r},4004:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n{var r=n(8509),i=n(8390),o=n(5589),a=n(5778),s=n(5023),l=n(922),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=o(e),u=!n&&i(e),h=!n&&!u&&a(e),p=!n&&!u&&!h&&l(e),d=n||u||h||p,f=d?r(e.length,String):[],m=f.length;for(var g in e)!t&&!c.call(e,g)||d&&("length"==g||h&&("offset"==g||"parent"==g)||p&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||s(g,m))||f.push(g);return f}},9233:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n{e.exports=function(e,t){for(var n=-1,r=t.length,i=e.length;++n{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n{var r=n(7500),i=n(8260),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];o.call(e,t)&&i(a,n)&&(void 0!==n||t in e)||r(e,t,n)}},8498:(e,t,n)=>{var r=n(8260);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},4265:(e,t,n)=>{var r=n(8618),i=n(2096);e.exports=function(e,t){return e&&r(t,i(t),e)}},1629:(e,t,n)=>{var r=n(8618),i=n(9882);e.exports=function(e,t){return e&&r(t,i(t),e)}},7500:(e,t,n)=>{var r=n(5595);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},8361:(e,t,n)=>{var r=n(9549),i=n(4004),o=n(5376),a=n(4265),s=n(1629),l=n(6502),c=n(2166),u=n(7272),h=n(2066),p=n(4357),d=n(5713),f=n(7493),m=n(2865),g=n(1908),y=n(4046),v=n(5589),_=n(5778),b=n(7613),E=n(3702),T=n(693),x=n(2096),S=n(9882),C="[object Arguments]",A="[object Function]",R="[object Object]",w={};w[C]=w["[object Array]"]=w["[object ArrayBuffer]"]=w["[object DataView]"]=w["[object Boolean]"]=w["[object Date]"]=w["[object Float32Array]"]=w["[object Float64Array]"]=w["[object Int8Array]"]=w["[object Int16Array]"]=w["[object Int32Array]"]=w["[object Map]"]=w["[object Number]"]=w[R]=w["[object RegExp]"]=w["[object Set]"]=w["[object String]"]=w["[object Symbol]"]=w["[object Uint8Array]"]=w["[object Uint8ClampedArray]"]=w["[object Uint16Array]"]=w["[object Uint32Array]"]=!0,w["[object Error]"]=w[A]=w["[object WeakMap]"]=!1,e.exports=function e(t,n,L,O,N,I){var k,D=1&n,P=2&n,M=4&n;if(L&&(k=N?L(t,O,N,I):L(t)),void 0!==k)return k;if(!E(t))return t;var F=v(t);if(F){if(k=m(t),!D)return c(t,k)}else{var H=f(t),B=H==A||"[object GeneratorFunction]"==H;if(_(t))return l(t,D);if(H==R||H==C||B&&!N){if(k=P||B?{}:y(t),!D)return P?h(t,s(k,t)):u(t,a(k,t))}else{if(!w[H])return N?t:{};k=g(t,H,D)}}I||(I=new r);var U=I.get(t);if(U)return U;I.set(t,k),T(t)?t.forEach((function(r){k.add(e(r,n,L,r,t,I))})):b(t)&&t.forEach((function(r,i){k.set(i,e(r,n,L,i,t,I))}));var j=F?void 0:(M?P?d:p:P?S:x)(t);return i(j||t,(function(r,i){j&&(r=t[i=r]),o(k,i,e(r,n,L,i,t,I))})),k}},7890:(e,t,n)=>{var r=n(3702),i=Object.create,o=function(){function e(){}return function(t){if(!r(t))return{};if(i)return i(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=o},1701:(e,t,n)=>{var r=n(4003),i=n(6313)(r);e.exports=i},9943:(e,t,n)=>{var r=n(2545)();e.exports=r},4003:(e,t,n)=>{var r=n(9943),i=n(2096);e.exports=function(e,t){return e&&r(e,t,i)}},548:(e,t,n)=>{var r=n(4007),i=n(6040);e.exports=function(e,t){for(var n=0,o=(t=r(t,e)).length;null!=e&&n{var r=n(111),i=n(5589);e.exports=function(e,t,n){var o=t(e);return i(e)?o:r(o,n(e))}},9823:(e,t,n)=>{var r=n(861),i=n(1339),o=n(5151),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?i(e):o(e)}},636:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},3016:(e,t,n)=>{var r=n(9823),i=n(440);e.exports=function(e){return i(e)&&"[object Arguments]"==r(e)}},4662:(e,t,n)=>{var r=n(8968),i=n(440);e.exports=function e(t,n,o,a,s){return t===n||(null==t||null==n||!i(t)&&!i(n)?t!=t&&n!=n:r(t,n,o,a,e,s))}},8968:(e,t,n)=>{var r=n(9549),i=n(4952),o=n(1080),a=n(6524),s=n(7493),l=n(5589),c=n(5778),u=n(922),h="[object Arguments]",p="[object Array]",d="[object Object]",f=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,m,g,y){var v=l(e),_=l(t),b=v?p:s(e),E=_?p:s(t),T=(b=b==h?d:b)==d,x=(E=E==h?d:E)==d,S=b==E;if(S&&c(e)){if(!c(t))return!1;v=!0,T=!1}if(S&&!T)return y||(y=new r),v||u(e)?i(e,t,n,m,g,y):o(e,t,b,n,m,g,y);if(!(1&n)){var C=T&&f.call(e,"__wrapped__"),A=x&&f.call(t,"__wrapped__");if(C||A){var R=C?e.value():e,w=A?t.value():t;return y||(y=new r),g(R,w,n,m,y)}}return!!S&&(y||(y=new r),a(e,t,n,m,g,y))}},2275:(e,t,n)=>{var r=n(7493),i=n(440);e.exports=function(e){return i(e)&&"[object Map]"==r(e)}},2972:(e,t,n)=>{var r=n(9549),i=n(4662);e.exports=function(e,t,n,o){var a=n.length,s=a,l=!o;if(null==e)return!s;for(e=Object(e);a--;){var c=n[a];if(l&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a{var r=n(5563),i=n(8597),o=n(3702),a=n(5784),s=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,h=c.hasOwnProperty,p=RegExp("^"+u.call(h).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||i(e))&&(r(e)?p:s).test(a(e))}},7170:(e,t,n)=>{var r=n(7493),i=n(440);e.exports=function(e){return i(e)&&"[object Set]"==r(e)}},2448:(e,t,n)=>{var r=n(9823),i=n(6052),o=n(440),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return o(e)&&i(e.length)&&!!a[r(e)]}},5833:(e,t,n)=>{var r=n(5640),i=n(9906),o=n(229),a=n(5589),s=n(4437);e.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?a(e)?i(e[0],e[1]):r(e):s(e)}},1351:(e,t,n)=>{var r=n(2840),i=n(2825),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=[];for(var n in Object(e))o.call(e,n)&&"constructor"!=n&&t.push(n);return t}},1309:(e,t,n)=>{var r=n(3702),i=n(2840),o=n(4866),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=i(e),n=[];for(var s in e)("constructor"!=s||!t&&a.call(e,s))&&n.push(s);return n}},8068:(e,t,n)=>{var r=n(1701),i=n(568);e.exports=function(e,t){var n=-1,o=i(e)?Array(e.length):[];return r(e,(function(e,r,i){o[++n]=t(e,r,i)})),o}},5640:(e,t,n)=>{var r=n(2972),i=n(2198),o=n(4656);e.exports=function(e){var t=i(e);return 1==t.length&&t[0][2]?o(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},9906:(e,t,n)=>{var r=n(4662),i=n(3546),o=n(6708),a=n(5130),s=n(8802),l=n(4656),c=n(6040);e.exports=function(e,t){return a(e)&&s(t)?l(c(e),t):function(n){var a=i(n,e);return void 0===a&&a===t?o(n,e):r(t,a,3)}}},6174:e=>{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},3293:(e,t,n)=>{var r=n(548);e.exports=function(e){return function(t){return r(t,e)}}},8509:e=>{e.exports=function(e,t){for(var n=-1,r=Array(e);++n{var r=n(861),i=n(9233),o=n(5589),a=n(2624),s=r?r.prototype:void 0,l=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return i(t,e)+"";if(a(t))return l?l.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},1525:e=>{e.exports=function(e){return function(t){return e(t)}}},7026:e=>{e.exports=function(e,t){return e.has(t)}},4781:(e,t,n)=>{var r=n(229);e.exports=function(e){return"function"==typeof e?e:r}},4007:(e,t,n)=>{var r=n(5589),i=n(5130),o=n(4041),a=n(4347);e.exports=function(e,t){return r(e)?e:i(e,t)?[e]:o(a(e))}},2962:(e,t,n)=>{var r=n(3526);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},6502:(e,t,n)=>{e=n.nmd(e);var r=n(3250),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i?r.Buffer:void 0,s=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=s?s(n):new e.constructor(n);return e.copy(r),r}},7037:(e,t,n)=>{var r=n(2962);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},3429:e=>{var t=/\w*$/;e.exports=function(e){var n=new e.constructor(e.source,t.exec(e));return n.lastIndex=e.lastIndex,n}},9349:(e,t,n)=>{var r=n(861),i=r?r.prototype:void 0,o=i?i.valueOf:void 0;e.exports=function(e){return o?Object(o.call(e)):{}}},1327:(e,t,n)=>{var r=n(2962);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},2166:e=>{e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n{var r=n(5376),i=n(7500);e.exports=function(e,t,n,o){var a=!n;n||(n={});for(var s=-1,l=t.length;++s{var r=n(8618),i=n(4450);e.exports=function(e,t){return r(e,i(e),t)}},2066:(e,t,n)=>{var r=n(8618),i=n(4969);e.exports=function(e,t){return r(e,i(e),t)}},1622:(e,t,n)=>{var r=n(3250)["__core-js_shared__"];e.exports=r},6313:(e,t,n)=>{var r=n(568);e.exports=function(e,t){return function(n,i){if(null==n)return n;if(!r(n))return e(n,i);for(var o=n.length,a=t?o:-1,s=Object(n);(t?a--:++a{e.exports=function(e){return function(t,n,r){for(var i=-1,o=Object(t),a=r(t),s=a.length;s--;){var l=a[e?s:++i];if(!1===n(o[l],l,o))break}return t}}},5595:(e,t,n)=>{var r=n(5234),i=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=i},4952:(e,t,n)=>{var r=n(4546),i=n(1831),o=n(7026);e.exports=function(e,t,n,a,s,l){var c=1&n,u=e.length,h=t.length;if(u!=h&&!(c&&h>u))return!1;var p=l.get(e),d=l.get(t);if(p&&d)return p==t&&d==e;var f=-1,m=!0,g=2&n?new r:void 0;for(l.set(e,t),l.set(t,e);++f{var r=n(861),i=n(3526),o=n(8260),a=n(4952),s=n(1140),l=n(7969),c=r?r.prototype:void 0,u=c?c.valueOf:void 0;e.exports=function(e,t,n,r,c,h,p){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!h(new i(e),new i(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var d=s;case"[object Set]":var f=1&r;if(d||(d=l),e.size!=t.size&&!f)return!1;var m=p.get(e);if(m)return m==t;r|=2,p.set(e,t);var g=a(d(e),d(t),r,c,h,p);return p.delete(e),g;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},6524:(e,t,n)=>{var r=n(4357),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,o,a,s){var l=1&n,c=r(e),u=c.length;if(u!=r(t).length&&!l)return!1;for(var h=u;h--;){var p=c[h];if(!(l?p in t:i.call(t,p)))return!1}var d=s.get(e),f=s.get(t);if(d&&f)return d==t&&f==e;var m=!0;s.set(e,t),s.set(t,e);for(var g=l;++h{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},4357:(e,t,n)=>{var r=n(4468),i=n(4450),o=n(2096);e.exports=function(e){return r(e,o,i)}},5713:(e,t,n)=>{var r=n(4468),i=n(4969),o=n(9882);e.exports=function(e){return r(e,o,i)}},7570:(e,t,n)=>{var r=n(8949);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},2198:(e,t,n)=>{var r=n(8802),i=n(2096);e.exports=function(e){for(var t=i(e),n=t.length;n--;){var o=t[n],a=e[o];t[n]=[o,a,r(a)]}return t}},5234:(e,t,n)=>{var r=n(9817),i=n(7736);e.exports=function(e,t){var n=i(e,t);return r(n)?n:void 0}},8490:(e,t,n)=>{var r=n(3540)(Object.getPrototypeOf,Object);e.exports=r},1339:(e,t,n)=>{var r=n(861),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=o.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var i=a.call(e);return r&&(t?e[s]=n:delete e[s]),i}},4450:(e,t,n)=>{var r=n(2493),i=n(4506),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),r(a(e),(function(t){return o.call(e,t)})))}:i;e.exports=s},4969:(e,t,n)=>{var r=n(111),i=n(8490),o=n(4450),a=n(4506),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,o(e)),e=i(e);return t}:a;e.exports=s},7493:(e,t,n)=>{var r=n(4466),i=n(2887),o=n(5747),a=n(6616),s=n(8001),l=n(9823),c=n(5784),u="[object Map]",h="[object Promise]",p="[object Set]",d="[object WeakMap]",f="[object DataView]",m=c(r),g=c(i),y=c(o),v=c(a),_=c(s),b=l;(r&&b(new r(new ArrayBuffer(1)))!=f||i&&b(new i)!=u||o&&b(o.resolve())!=h||a&&b(new a)!=p||s&&b(new s)!=d)&&(b=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case m:return f;case g:return u;case y:return h;case v:return p;case _:return d}return t}),e.exports=b},7736:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},3544:(e,t,n)=>{var r=n(4007),i=n(8390),o=n(5589),a=n(5023),s=n(6052),l=n(6040);e.exports=function(e,t,n){for(var c=-1,u=(t=r(t,e)).length,h=!1;++c{var r=n(4545);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},4108:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},1085:(e,t,n)=>{var r=n(4545),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return i.call(t,e)?t[e]:void 0}},7706:(e,t,n)=>{var r=n(4545),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:i.call(t,e)}},8636:(e,t,n)=>{var r=n(4545);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},2865:e=>{var t=Object.prototype.hasOwnProperty;e.exports=function(e){var n=e.length,r=new e.constructor(n);return n&&"string"==typeof e[0]&&t.call(e,"index")&&(r.index=e.index,r.input=e.input),r}},1908:(e,t,n)=>{var r=n(2962),i=n(7037),o=n(3429),a=n(9349),s=n(1327);e.exports=function(e,t,n){var l=e.constructor;switch(t){case"[object ArrayBuffer]":return r(e);case"[object Boolean]":case"[object Date]":return new l(+e);case"[object DataView]":return i(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(e,n);case"[object Map]":case"[object Set]":return new l;case"[object Number]":case"[object String]":return new l(e);case"[object RegExp]":return o(e);case"[object Symbol]":return a(e)}}},4046:(e,t,n)=>{var r=n(7890),i=n(8490),o=n(2840);e.exports=function(e){return"function"!=typeof e.constructor||o(e)?{}:r(i(e))}},5023:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e{var r=n(5589),i=n(2624),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!i(e))||a.test(e)||!o.test(e)||null!=t&&e in Object(t)}},8949:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},8597:(e,t,n)=>{var r,i=n(1622),o=(r=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!o&&o in e}},2840:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},8802:(e,t,n)=>{var r=n(3702);e.exports=function(e){return e==e&&!r(e)}},266:e=>{e.exports=function(){this.__data__=[],this.size=0}},2875:(e,t,n)=>{var r=n(8498),i=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0||(n==t.length-1?t.pop():i.call(t,n,1),--this.size,0))}},5828:(e,t,n)=>{var r=n(8498);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},4115:(e,t,n)=>{var r=n(8498);e.exports=function(e){return r(this.__data__,e)>-1}},7690:(e,t,n)=>{var r=n(8498);e.exports=function(e,t){var n=this.__data__,i=r(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}},9016:(e,t,n)=>{var r=n(5208),i=n(1998),o=n(2887);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},2363:(e,t,n)=>{var r=n(7570);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},4348:(e,t,n)=>{var r=n(7570);e.exports=function(e){return r(this,e).get(e)}},3062:(e,t,n)=>{var r=n(7570);e.exports=function(e){return r(this,e).has(e)}},2590:(e,t,n)=>{var r=n(7570);e.exports=function(e,t){var n=r(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this}},1140:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},4656:e=>{e.exports=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}},2924:(e,t,n)=>{var r=n(7997);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},4545:(e,t,n)=>{var r=n(5234)(Object,"create");e.exports=r},2825:(e,t,n)=>{var r=n(3540)(Object.keys,Object);e.exports=r},4866:e=>{e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},8690:(e,t,n)=>{e=n.nmd(e);var r=n(302),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i&&r.process,s=function(){try{return o&&o.require&&o.require("util").types||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s},5151:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},3540:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},3250:(e,t,n)=>{var r=n(302),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();e.exports=o},3937:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},5009:e=>{e.exports=function(e){return this.__data__.has(e)}},7969:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},3210:(e,t,n)=>{var r=n(1998);e.exports=function(){this.__data__=new r,this.size=0}},8603:e=>{e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},8947:e=>{e.exports=function(e){return this.__data__.get(e)}},885:e=>{e.exports=function(e){return this.__data__.has(e)}},8938:(e,t,n)=>{var r=n(1998),i=n(2887),o=n(5678);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!i||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new o(a)}return n.set(e,t),this.size=n.size,this}},4041:(e,t,n)=>{var r=n(2924),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(i,(function(e,n,r,i){t.push(r?i.replace(o,"$1"):n||e)})),t}));e.exports=a},6040:(e,t,n)=>{var r=n(2624);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},5784:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},7179:(e,t,n)=>{var r=n(8361);e.exports=function(e){return r(e,5)}},8260:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},4802:(e,t,n)=>{var r=n(4003),i=n(4781);e.exports=function(e,t){return e&&r(e,i(t))}},3546:(e,t,n)=>{var r=n(548);e.exports=function(e,t,n){var i=null==e?void 0:r(e,t);return void 0===i?n:i}},6708:(e,t,n)=>{var r=n(636),i=n(3544);e.exports=function(e,t){return null!=e&&i(e,t,r)}},229:e=>{e.exports=function(e){return e}},8390:(e,t,n)=>{var r=n(3016),i=n(440),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return i(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},5589:e=>{var t=Array.isArray;e.exports=t},568:(e,t,n)=>{var r=n(5563),i=n(6052);e.exports=function(e){return null!=e&&i(e.length)&&!r(e)}},5778:(e,t,n)=>{e=n.nmd(e);var r=n(3250),i=n(7999),o=t&&!t.nodeType&&t,a=o&&e&&!e.nodeType&&e,s=a&&a.exports===o?r.Buffer:void 0,l=(s?s.isBuffer:void 0)||i;e.exports=l},5563:(e,t,n)=>{var r=n(9823),i=n(3702);e.exports=function(e){if(!i(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},6052:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},7613:(e,t,n)=>{var r=n(2275),i=n(1525),o=n(8690),a=o&&o.isMap,s=a?i(a):r;e.exports=s},3224:(e,t,n)=>{var r=n(9823),i=n(440);e.exports=function(e){return"number"==typeof e||i(e)&&"[object Number]"==r(e)}},3702:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},440:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},4256:(e,t,n)=>{var r=n(9823),i=n(8490),o=n(440),a=Function.prototype,s=Object.prototype,l=a.toString,c=s.hasOwnProperty,u=l.call(Object);e.exports=function(e){if(!o(e)||"[object Object]"!=r(e))return!1;var t=i(e);if(null===t)return!0;var n=c.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==u}},693:(e,t,n)=>{var r=n(7170),i=n(1525),o=n(8690),a=o&&o.isSet,s=a?i(a):r;e.exports=s},6705:(e,t,n)=>{var r=n(9823),i=n(5589),o=n(440);e.exports=function(e){return"string"==typeof e||!i(e)&&o(e)&&"[object String]"==r(e)}},2624:(e,t,n)=>{var r=n(9823),i=n(440);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==r(e)}},922:(e,t,n)=>{var r=n(2448),i=n(1525),o=n(8690),a=o&&o.isTypedArray,s=a?i(a):r;e.exports=s},2096:(e,t,n)=>{var r=n(5825),i=n(1351),o=n(568);e.exports=function(e){return o(e)?r(e):i(e)}},9882:(e,t,n)=>{var r=n(5825),i=n(1309),o=n(568);e.exports=function(e){return o(e)?r(e,!0):i(e)}},9107:(e,t,n)=>{var r=n(9233),i=n(5833),o=n(8068),a=n(5589);e.exports=function(e,t){return(a(e)?r:o)(e,i(t,3))}},7997:(e,t,n)=>{var r=n(5678);function i(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(i.Cache||r),n}i.Cache=r,e.exports=i},4437:(e,t,n)=>{var r=n(6174),i=n(3293),o=n(5130),a=n(6040);e.exports=function(e){return o(e)?r(a(e)):i(e)}},4506:e=>{e.exports=function(){return[]}},7999:e=>{e.exports=function(){return!1}},4347:(e,t,n)=>{var r=n(6245);e.exports=function(e){return null==e?"":r(e)}},570:function(e,t,n){!function(e){"use strict";e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(5914))},8481:function(e,t,n){!function(e){"use strict";var t=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},n={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},r=function(e){return function(r,i,o,a){var s=t(r),l=n[e][t(r)];return 2===s&&(l=l[i?0:1]),l.replace(/%d/i,r)}},i=["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar-dz",{months:i,monthsShort:i,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:0,doy:4}})}(n(5914))},8251:function(e,t,n){!function(e){"use strict";e.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}})}(n(5914))},6913:function(e,t,n){!function(e){"use strict";var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},r={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},i=function(e){return function(t,i,o,a){var s=n(t),l=r[e][n(t)];return 2===s&&(l=l[i?0:1]),l.replace(/%d/i,t)}},o=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar-ly",{months:o,monthsShort:o,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:i("s"),ss:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(5914))},8338:function(e,t,n){!function(e){"use strict";e.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})}(n(5914))},7574:function(e,t,n){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};e.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:0,doy:6}})}(n(5914))},6617:function(e,t,n){!function(e){"use strict";e.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})}(n(5914))},3508:function(e,t,n){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},i={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},o=function(e){return function(t,n,o,a){var s=r(t),l=i[e][r(t)];return 2===s&&(l=l[n?0:1]),l.replace(/%d/i,t)}},a=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar",{months:a,monthsShort:a,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:o("s"),ss:o("s"),m:o("m"),mm:o("m"),h:o("h"),hh:o("h"),d:o("d"),dd:o("d"),M:o("M"),MM:o("M"),y:o("y"),yy:o("y")},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(5914))},8415:function(e,t,n){!function(e){"use strict";var t={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"};e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"bir neçə saniyə",ss:"%d saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(e){return/^(gündüz|axşam)$/.test(e)},meridiem:function(e,t,n){return e<4?"gecə":e<12?"səhər":e<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(e){if(0===e)return e+"-ıncı";var n=e%10;return e+(t[n]||t[e%100-n]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(5914))},9750:function(e,t,n){!function(e){"use strict";function t(e,t,n){return"m"===n?t?"хвіліна":"хвіліну":"h"===n?t?"гадзіна":"гадзіну":e+" "+(r=+e,i={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:t?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"}[n].split("_"),r%10==1&&r%100!=11?i[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?i[1]:i[2]);var r,i}e.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:t,mm:t,h:t,hh:t,d:"дзень",dd:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(e){return/^(дня|вечара)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночы":e<12?"раніцы":e<17?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-ы":e+"-і";case"D":return e+"-га";default:return e}},week:{dow:1,doy:7}})}(n(5914))},6259:function(e,t,n){!function(e){"use strict";e.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Миналата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[Миналия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",w:"седмица",ww:"%d седмици",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})}(n(5914))},6055:function(e,t,n){!function(e){"use strict";e.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},calendar:{sameDay:"[Bi lɛrɛ] LT",nextDay:"[Sini lɛrɛ] LT",nextWeek:"dddd [don lɛrɛ] LT",lastDay:"[Kunu lɛrɛ] LT",lastWeek:"dddd [tɛmɛnen lɛrɛ] LT",sameElse:"L"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(n(5914))},5974:function(e,t,n){!function(e){"use strict";var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};e.defineLocale("bn-bd",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/রাত|ভোর|সকাল|দুপুর|বিকাল|সন্ধ্যা|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t?e<4?e:e+12:"ভোর"===t||"সকাল"===t?e:"দুপুর"===t?e>=3?e:e+12:"বিকাল"===t||"সন্ধ্যা"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"রাত":e<6?"ভোর":e<12?"সকাল":e<15?"দুপুর":e<18?"বিকাল":e<20?"সন্ধ্যা":"রাত"},week:{dow:0,doy:6}})}(n(5914))},3428:function(e,t,n){!function(e){"use strict";var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};e.defineLocale("bn",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t&&e>=4||"দুপুর"===t&&e<5||"বিকাল"===t?e+12:e},meridiem:function(e,t,n){return e<4?"রাত":e<10?"সকাল":e<17?"দুপুর":e<20?"বিকাল":"রাত"},week:{dow:0,doy:6}})}(n(5914))},9671:function(e,t,n){!function(e){"use strict";var t={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},n={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};e.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12".split("_"),monthsShortRegex:/^(ཟླ་\d{1,2})/,monthsParseExact:!0,weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(e,t){return 12===e&&(e=0),"མཚན་མོ"===t&&e>=4||"ཉིན་གུང"===t&&e<5||"དགོང་དག"===t?e+12:e},meridiem:function(e,t,n){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}})}(n(5914))},4477:function(e,t,n){!function(e){"use strict";function t(e,t,n){return e+" "+function(e,t){return 2===t?function(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}(e):e}({mm:"munutenn",MM:"miz",dd:"devezh"}[n],e)}function n(e){return e>9?n(e%10):e}var r=[/^gen/i,/^c[ʼ\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],i=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,o=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];e.defineLocale("br",{months:"Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:o,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[ʼ\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:o,monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warcʼhoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Decʼh da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s ʼzo",s:"un nebeud segondennoù",ss:"%d eilenn",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:function(e){switch(n(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){return e+(1===e?"añ":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(e){return"g.m."===e},meridiem:function(e,t,n){return e<12?"a.m.":"g.m."}})}(n(5914))},7668:function(e,t,n){!function(e){"use strict";function t(e,t,n){var r=e+" ";switch(n){case"ss":return r+(1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi");case"m":return t?"jedna minuta":"jedne minute";case"mm":return r+(1===e?"minuta":2===e||3===e||4===e?"minute":"minuta");case"h":return t?"jedan sat":"jednog sata";case"hh":return r+(1===e?"sat":2===e||3===e||4===e?"sata":"sati");case"dd":return r+(1===e?"dan":"dana");case"MM":return r+(1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci");case"yy":return r+(1===e?"godina":2===e||3===e||4===e?"godine":"godina")}}e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(5914))},3930:function(e,t,n){!function(e){"use strict";e.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}})}(n(5914))},1001:function(e,t,n){!function(e){"use strict";var t="leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),n="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),r=[/^led/i,/^úno/i,/^bře/i,/^dub/i,/^kvě/i,/^(čvn|červen$|června)/i,/^(čvc|červenec|července)/i,/^srp/i,/^zář/i,/^říj/i,/^lis/i,/^pro/i],i=/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;function o(e){return e>1&&e<5&&1!=~~(e/10)}function a(e,t,n,r){var i=e+" ";switch(n){case"s":return t||r?"pár sekund":"pár sekundami";case"ss":return t||r?i+(o(e)?"sekundy":"sekund"):i+"sekundami";case"m":return t?"minuta":r?"minutu":"minutou";case"mm":return t||r?i+(o(e)?"minuty":"minut"):i+"minutami";case"h":return t?"hodina":r?"hodinu":"hodinou";case"hh":return t||r?i+(o(e)?"hodiny":"hodin"):i+"hodinami";case"d":return t||r?"den":"dnem";case"dd":return t||r?i+(o(e)?"dny":"dní"):i+"dny";case"M":return t||r?"měsíc":"měsícem";case"MM":return t||r?i+(o(e)?"měsíce":"měsíců"):i+"měsíci";case"y":return t||r?"rok":"rokem";case"yy":return t||r?i+(o(e)?"roky":"let"):i+"lety"}}e.defineLocale("cs",{months:t,monthsShort:n,monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5914))},2104:function(e,t,n){!function(e){"use strict";e.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(e){return e+(/сехет$/i.exec(e)?"рен":/ҫул$/i.exec(e)?"тан":"ран")},past:"%s каялла",s:"пӗр-ик ҫеккунт",ss:"%d ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},dayOfMonthOrdinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}})}(n(5914))},2621:function(e,t,n){!function(e){"use strict";e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t="";return e>20?t=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(t=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][e]),e+t},week:{dow:1,doy:4}})}(n(5914))},9283:function(e,t,n){!function(e){"use strict";e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5914))},1183:function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[n][0]:i[n][1]}e.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5914))},3305:function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[n][0]:i[n][1]}e.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5914))},1863:function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[n][0]:i[n][1]}e.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5914))},6888:function(e,t,n){!function(e){"use strict";var t=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],n=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"];e.defineLocale("dv",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(e){return"މފ"===e},meridiem:function(e,t,n){return e<12?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",ss:"d% ސިކުންތު",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:7,doy:12}})}(n(5914))},7258:function(e,t,n){!function(e){"use strict";e.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(e,t){return e?"string"==typeof t&&/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(e,t,n){return e>11?n?"μμ":"ΜΜ":n?"πμ":"ΠΜ"},isPM:function(e){return"μ"===(e+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){return 6===this.day()?"[το προηγούμενο] dddd [{}] LT":"[την προηγούμενη] dddd [{}] LT"},sameElse:"L"},calendar:function(e,t){var n,r=this._calendarEl[e],i=t&&t.hours();return n=r,("undefined"!=typeof Function&&n instanceof Function||"[object Function]"===Object.prototype.toString.call(n))&&(r=r.apply(t)),r.replace("{}",i%12==1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",ss:"%d δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}})}(n(5914))},4129:function(e,t,n){!function(e){"use strict";e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:4}})}(n(5914))},5610:function(e,t,n){!function(e){"use strict";e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n(5914))},2874:function(e,t,n){!function(e){"use strict";e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(5914))},4585:function(e,t,n){!function(e){"use strict";e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(5914))},1557:function(e,t,n){!function(e){"use strict";e.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n(5914))},3256:function(e,t,n){!function(e){"use strict";e.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:6}})}(n(5914))},937:function(e,t,n){!function(e){"use strict";e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(5914))},8745:function(e,t,n){!function(e){"use strict";e.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(5914))},8569:function(e,t,n){!function(e){"use strict";e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_aŭg_sept_okt_nov_dec".split("_"),weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,n){return e>11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(n(5914))},3598:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(5914))},6892:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:4},invalidDate:"Fecha inválida"})}(n(5914))},5530:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}})}(n(5914))},2882:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4},invalidDate:"Fecha inválida"})}(n(5914))},814:function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["ühe minuti","üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};return t?i[n][2]?i[n][2]:i[n][1]:r?i[n][0]:i[n][1]}e.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d päeva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5914))},5602:function(e,t,n){!function(e){"use strict";e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(5914))},5757:function(e,t,n){!function(e){"use strict";var t={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},n={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"};e.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(e){return/بعد از ظهر/.test(e)},meridiem:function(e,t,n){return e<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",ss:"%d ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(e){return e.replace(/[۰-۹]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}})}(n(5914))},2671:function(e,t,n){!function(e){"use strict";var t="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),n=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",t[7],t[8],t[9]];function r(e,r,i,o){var a="";switch(i){case"s":return o?"muutaman sekunnin":"muutama sekunti";case"ss":a=o?"sekunnin":"sekuntia";break;case"m":return o?"minuutin":"minuutti";case"mm":a=o?"minuutin":"minuuttia";break;case"h":return o?"tunnin":"tunti";case"hh":a=o?"tunnin":"tuntia";break;case"d":return o?"päivän":"päivä";case"dd":a=o?"päivän":"päivää";break;case"M":return o?"kuukauden":"kuukausi";case"MM":a=o?"kuukauden":"kuukautta";break;case"y":return o?"vuoden":"vuosi";case"yy":a=o?"vuoden":"vuotta"}return function(e,r){return e<10?r?n[e]:t[e]:e}(e,o)+" "+a}e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5914))},6917:function(e,t,n){!function(e){"use strict";e.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n(5914))},4411:function(e,t,n){!function(e){"use strict";e.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaður",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5914))},7806:function(e,t,n){!function(e){"use strict";e.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}})}(n(5914))},6263:function(e,t,n){!function(e){"use strict";e.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(n(5914))},5462:function(e,t,n){!function(e){"use strict";var t=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,n=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i];e.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsRegex:t,monthsShortRegex:t,monthsStrictRegex:/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,monthsShortStrictRegex:/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(n(5914))},3724:function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),n="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(5914))},969:function(e,t,n){!function(e){"use strict";e.defineLocale("ga",{months:["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","Márt","Aib","Beal","Meith","Iúil","Lún","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Sathairn"],weekdaysShort:["Domh","Luan","Máirt","Céad","Déar","Aoine","Sath"],weekdaysMin:["Do","Lu","Má","Cé","Dé","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Amárach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inné ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s ó shin",s:"cúpla soicind",ss:"%d soicind",m:"nóiméad",mm:"%d nóiméad",h:"uair an chloig",hh:"%d uair an chloig",d:"lá",dd:"%d lá",M:"mí",MM:"%d míonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n(5914))},2506:function(e,t,n){!function(e){"use strict";e.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],monthsShort:["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],monthsParseExact:!0,weekdays:["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["Dò","Lu","Mà","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n(5914))},1101:function(e,t,n){!function(e){"use strict";e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(5914))},1515:function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i={s:["थोडया सॅकंडांनी","थोडे सॅकंड"],ss:[e+" सॅकंडांनी",e+" सॅकंड"],m:["एका मिणटान","एक मिनूट"],mm:[e+" मिणटांनी",e+" मिणटां"],h:["एका वरान","एक वर"],hh:[e+" वरांनी",e+" वरां"],d:["एका दिसान","एक दीस"],dd:[e+" दिसांनी",e+" दीस"],M:["एका म्हयन्यान","एक म्हयनो"],MM:[e+" म्हयन्यानी",e+" म्हयने"],y:["एका वर्सान","एक वर्स"],yy:[e+" वर्सांनी",e+" वर्सां"]};return r?i[n][0]:i[n][1]}e.defineLocale("gom-deva",{months:{standalone:"जानेवारी_फेब्रुवारी_मार्च_एप्रील_मे_जून_जुलय_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),format:"जानेवारीच्या_फेब्रुवारीच्या_मार्चाच्या_एप्रीलाच्या_मेयाच्या_जूनाच्या_जुलयाच्या_ऑगस्टाच्या_सप्टेंबराच्या_ऑक्टोबराच्या_नोव्हेंबराच्या_डिसेंबराच्या".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"जाने._फेब्रु._मार्च_एप्री._मे_जून_जुल._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"आयतार_सोमार_मंगळार_बुधवार_बिरेस्तार_सुक्रार_शेनवार".split("_"),weekdaysShort:"आयत._सोम._मंगळ._बुध._ब्रेस्त._सुक्र._शेन.".split("_"),weekdaysMin:"आ_सो_मं_बु_ब्रे_सु_शे".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [वाजतां]",LTS:"A h:mm:ss [वाजतां]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [वाजतां]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [वाजतां]",llll:"ddd, D MMM YYYY, A h:mm [वाजतां]"},calendar:{sameDay:"[आयज] LT",nextDay:"[फाल्यां] LT",nextWeek:"[फुडलो] dddd[,] LT",lastDay:"[काल] LT",lastWeek:"[फाटलो] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s आदीं",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(वेर)/,ordinal:function(e,t){return"D"===t?e+"वेर":e},week:{dow:0,doy:3},meridiemParse:/राती|सकाळीं|दनपारां|सांजे/,meridiemHour:function(e,t){return 12===e&&(e=0),"राती"===t?e<4?e:e+12:"सकाळीं"===t?e:"दनपारां"===t?e>12?e:e+12:"सांजे"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"राती":e<12?"सकाळीं":e<16?"दनपारां":e<20?"सांजे":"राती"}})}(n(5914))},6749:function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i={s:["thoddea sekondamni","thodde sekond"],ss:[e+" sekondamni",e+" sekond"],m:["eka mintan","ek minut"],mm:[e+" mintamni",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voramni",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disamni",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineamni",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsamni",e+" vorsam"]};return r?i[n][0]:i[n][1]}e.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){return"D"===t?e+"er":e},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokallim"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"rati":e<12?"sokallim":e<16?"donparam":e<20?"sanje":"rati"}})}(n(5914))},275:function(e,t,n){!function(e){"use strict";var t={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:"૦"},n={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","૦":"0"};e.defineLocale("gu",{months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),monthsParseExact:!0,weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),longDateFormat:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},calendar:{sameDay:"[આજ] LT",nextDay:"[કાલે] LT",nextWeek:"dddd, LT",lastDay:"[ગઇકાલે] LT",lastWeek:"[પાછલા] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પહેલા",s:"અમુક પળો",ss:"%d સેકંડ",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"},preparse:function(e){return e.replace(/[૧૨૩૪૫૬૭૮૯૦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/રાત|બપોર|સવાર|સાંજ/,meridiemHour:function(e,t){return 12===e&&(e=0),"રાત"===t?e<4?e:e+12:"સવાર"===t?e:"બપોર"===t?e>=10?e:e+12:"સાંજ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"રાત":e<10?"સવાર":e<17?"બપોર":e<20?"સાંજ":"રાત"},week:{dow:0,doy:6}})}(n(5914))},4074:function(e,t,n){!function(e){"use strict";e.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(e){return 2===e?"שעתיים":e+" שעות"},d:"יום",dd:function(e){return 2===e?"יומיים":e+" ימים"},M:"חודש",MM:function(e){return 2===e?"חודשיים":e+" חודשים"},y:"שנה",yy:function(e){return 2===e?"שנתיים":e%10==0&&10!==e?e+" שנה":e+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(e){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(e)},meridiem:function(e,t,n){return e<5?"לפנות בוקר":e<10?"בבוקר":e<12?n?'לפנה"צ':"לפני הצהריים":e<18?n?'אחה"צ':"אחרי הצהריים":"בערב"}})}(n(5914))},5079:function(e,t,n){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},r=[/^जन/i,/^फ़र|फर/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सितं|सित/i,/^अक्टू/i,/^नव|नवं/i,/^दिसं|दिस/i];e.defineLocale("hi",{months:{format:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),standalone:"जनवरी_फरवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितंबर_अक्टूबर_नवंबर_दिसंबर".split("_")},monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},monthsParse:r,longMonthsParse:r,shortMonthsParse:[/^जन/i,/^फ़र/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सित/i,/^अक्टू/i,/^नव/i,/^दिस/i],monthsRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsShortRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsStrictRegex:/^(जनवरी?|फ़रवरी|फरवरी?|मार्च?|अप्रैल?|मई?|जून?|जुलाई?|अगस्त?|सितम्बर|सितंबर|सित?\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर?|दिसम्बर|दिसंबर?)/i,monthsShortStrictRegex:/^(जन\.?|फ़र\.?|मार्च?|अप्रै\.?|मई?|जून?|जुल\.?|अग\.?|सित\.?|अक्टू\.?|नव\.?|दिस\.?)/i,calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात"===t?e<4?e:e+12:"सुबह"===t?e:"दोपहर"===t?e>=10?e:e+12:"शाम"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"रात":e<10?"सुबह":e<17?"दोपहर":e<20?"शाम":"रात"},week:{dow:0,doy:6}})}(n(5914))},8562:function(e,t,n){!function(e){"use strict";function t(e,t,n){var r=e+" ";switch(n){case"ss":return r+(1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi");case"m":return t?"jedna minuta":"jedne minute";case"mm":return r+(1===e?"minuta":2===e||3===e||4===e?"minute":"minuta");case"h":return t?"jedan sat":"jednog sata";case"hh":return r+(1===e?"sat":2===e||3===e||4===e?"sata":"sati");case"dd":return r+(1===e?"dan":"dana");case"MM":return r+(1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci");case"yy":return r+(1===e?"godina":2===e||3===e||4===e?"godine":"godina")}}e.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:return"[prošlu] [nedjelju] [u] LT";case 3:return"[prošlu] [srijedu] [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(5914))},7778:function(e,t,n){!function(e){"use strict";var t="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");function n(e,t,n,r){var i=e;switch(n){case"s":return r||t?"néhány másodperc":"néhány másodperce";case"ss":return i+(r||t)?" másodperc":" másodperce";case"m":return"egy"+(r||t?" perc":" perce");case"mm":return i+(r||t?" perc":" perce");case"h":return"egy"+(r||t?" óra":" órája");case"hh":return i+(r||t?" óra":" órája");case"d":return"egy"+(r||t?" nap":" napja");case"dd":return i+(r||t?" nap":" napja");case"M":return"egy"+(r||t?" hónap":" hónapja");case"MM":return i+(r||t?" hónap":" hónapja");case"y":return"egy"+(r||t?" év":" éve");case"yy":return i+(r||t?" év":" éve")}return""}function r(e){return(e?"":"[múlt] ")+"["+t[this.day()]+"] LT[-kor]"}e.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan._feb._márc._ápr._máj._jún._júl._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,n){return e<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return r.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return r.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5914))},8732:function(e,t,n){!function(e){"use strict";e.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",ss:"%d վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(e){return/^(ցերեկվա|երեկոյան)$/.test(e)},meridiem:function(e){return e<4?"գիշերվա":e<12?"առավոտվա":e<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-ին":e+"-րդ";default:return e}},week:{dow:1,doy:7}})}(n(5914))},4654:function(e,t,n){!function(e){"use strict";e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(n(5914))},3330:function(e,t,n){!function(e){"use strict";function t(e){return e%100==11||e%10!=1}function n(e,n,r,i){var o=e+" ";switch(r){case"s":return n||i?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return t(e)?o+(n||i?"sekúndur":"sekúndum"):o+"sekúnda";case"m":return n?"mínúta":"mínútu";case"mm":return t(e)?o+(n||i?"mínútur":"mínútum"):n?o+"mínúta":o+"mínútu";case"hh":return t(e)?o+(n||i?"klukkustundir":"klukkustundum"):o+"klukkustund";case"d":return n?"dagur":i?"dag":"degi";case"dd":return t(e)?n?o+"dagar":o+(i?"daga":"dögum"):n?o+"dagur":o+(i?"dag":"degi");case"M":return n?"mánuður":i?"mánuð":"mánuði";case"MM":return t(e)?n?o+"mánuðir":o+(i?"mánuði":"mánuðum"):n?o+"mánuður":o+(i?"mánuð":"mánuði");case"y":return n||i?"ár":"ári";case"yy":return t(e)?o+(n||i?"ár":"árum"):o+(n||i?"ár":"ári")}}e.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:n,ss:n,m:n,mm:n,h:"klukkustund",hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5914))},42:function(e,t,n){!function(e){"use strict";e.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){return 0===this.day()?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT"},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(5914))},9455:function(e,t,n){!function(e){"use strict";e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){return 0===this.day()?"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT":"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(5914))},3709:function(e,t,n){!function(e){"use strict";e.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"令和",narrow:"㋿",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"平成",narrow:"㍻",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"昭和",narrow:"㍼",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"大正",narrow:"㍽",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"明治",narrow:"㍾",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"西暦",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"紀元前",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(元|\d+)年/,eraYearOrdinalParse:function(e,t){return"元"===t[1]?1:parseInt(t[1]||e,10)},months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiemParse:/午前|午後/i,isPM:function(e){return"午後"===e},meridiem:function(e,t,n){return e<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(e){return e.week()!==this.week()?"[来週]dddd LT":"dddd LT"},lastDay:"[昨日] LT",lastWeek:function(e){return this.week()!==e.week()?"[先週]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(e,t){switch(t){case"y":return 1===e?"元年":e+"年";case"d":case"D":case"DDD":return e+"日";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",ss:"%d秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}})}(n(5914))},776:function(e,t,n){!function(e){"use strict";e.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,t){return 12===e&&(e=0),"enjing"===t?e:"siyang"===t?e>=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(n(5914))},5686:function(e,t,n){!function(e){"use strict";e.defineLocale("ka",{months:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(e){return e.replace(/(წამ|წუთ|საათ|წელ|დღ|თვ)(ი|ე)/,(function(e,t,n){return"ი"===n?t+"ში":t+n+"ში"}))},past:function(e){return/(წამი|წუთი|საათი|დღე|თვე)/.test(e)?e.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(e)?e.replace(/წელი$/,"წლის წინ"):e},s:"რამდენიმე წამი",ss:"%d წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(e){return 0===e?e:1===e?e+"-ლი":e<20||e<=100&&e%20==0||e%100==0?"მე-"+e:e+"-ე"},week:{dow:1,doy:7}})}(n(5914))},6867:function(e,t,n){!function(e){"use strict";var t={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"};e.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",ss:"%d секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(5914))},2504:function(e,t,n){!function(e){"use strict";var t={1:"១",2:"២",3:"៣",4:"៤",5:"៥",6:"៦",7:"៧",8:"៨",9:"៩",0:"០"},n={"១":"1","២":"2","៣":"3","៤":"4","៥":"5","៦":"6","៧":"7","៨":"8","៩":"9","០":"0"};e.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysMin:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ព្រឹក|ល្ងាច/,isPM:function(e){return"ល្ងាច"===e},meridiem:function(e,t,n){return e<12?"ព្រឹក":"ល្ងាច"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",ss:"%d វិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},dayOfMonthOrdinalParse:/ទី\d{1,2}/,ordinal:"ទី%d",preparse:function(e){return e.replace(/[១២៣៤៥៦៧៨៩០]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}})}(n(5914))},9010:function(e,t,n){!function(e){"use strict";var t={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},n={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"};e.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(e){return e.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ರಾತ್ರಿ"===t?e<4?e:e+12:"ಬೆಳಿಗ್ಗೆ"===t?e:"ಮಧ್ಯಾಹ್ನ"===t?e>=10?e:e+12:"ಸಂಜೆ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ರಾತ್ರಿ":e<10?"ಬೆಳಿಗ್ಗೆ":e<17?"ಮಧ್ಯಾಹ್ನ":e<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(e){return e+"ನೇ"},week:{dow:0,doy:6}})}(n(5914))},7697:function(e,t,n){!function(e){"use strict";e.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},dayOfMonthOrdinalParse:/\d{1,2}(일|월|주)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"일";case"M":return e+"월";case"w":case"W":return e+"주";default:return e}},meridiemParse:/오전|오후/,isPM:function(e){return"오후"===e},meridiem:function(e,t,n){return e<12?"오전":"오후"}})}(n(5914))},1486:function(e,t,n){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=["کانونی دووەم","شوبات","ئازار","نیسان","ئایار","حوزەیران","تەمموز","ئاب","ئەیلوول","تشرینی یەكەم","تشرینی دووەم","كانونی یەکەم"];e.defineLocale("ku",{months:r,monthsShort:r,weekdays:"یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌".split("_"),weekdaysShort:"یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌".split("_"),weekdaysMin:"ی_د_س_چ_پ_ه_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ئێواره‌|به‌یانی/,isPM:function(e){return/ئێواره‌/.test(e)},meridiem:function(e,t,n){return e<12?"به‌یانی":"ئێواره‌"},calendar:{sameDay:"[ئه‌مرۆ كاتژمێر] LT",nextDay:"[به‌یانی كاتژمێر] LT",nextWeek:"dddd [كاتژمێر] LT",lastDay:"[دوێنێ كاتژمێر] LT",lastWeek:"dddd [كاتژمێر] LT",sameElse:"L"},relativeTime:{future:"له‌ %s",past:"%s",s:"چه‌ند چركه‌یه‌ك",ss:"چركه‌ %d",m:"یه‌ك خوله‌ك",mm:"%d خوله‌ك",h:"یه‌ك كاتژمێر",hh:"%d كاتژمێر",d:"یه‌ك ڕۆژ",dd:"%d ڕۆژ",M:"یه‌ك مانگ",MM:"%d مانگ",y:"یه‌ك ساڵ",yy:"%d ساڵ"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(5914))},2604:function(e,t,n){!function(e){"use strict";var t={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"};e.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кечээ саат] LT",lastWeek:"[Өткөн аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",ss:"%d секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(5914))},9707:function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?i[n][0]:i[n][1]}function n(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10;return n(0===t?e/10:t)}if(e<1e4){for(;e>=10;)e/=10;return n(e)}return n(e/=1e3)}e.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(e){return n(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e},past:function(e){return n(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e},s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d Méint",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5914))},1931:function(e,t,n){!function(e){"use strict";e.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(e){return"ຕອນແລງ"===e},meridiem:function(e,t,n){return e<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",ss:"%d ວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(e){return"ທີ່"+e}})}(n(5914))},5045:function(e,t,n){!function(e){"use strict";var t={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function n(e,t,n,r){return t?i(n)[0]:r?i(n)[1]:i(n)[2]}function r(e){return e%10==0||e>10&&e<20}function i(e){return t[e].split("_")}function o(e,t,o,a){var s=e+" ";return 1===e?s+n(0,t,o[0],a):t?s+(r(e)?i(o)[1]:i(o)[0]):a?s+i(o)[1]:s+(r(e)?i(o)[1]:i(o)[2])}e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:function(e,t,n,r){return t?"kelios sekundės":r?"kelių sekundžių":"kelias sekundes"},ss:o,m:n,mm:o,h:n,hh:o,d:n,dd:o,M:n,MM:o,y:n,yy:o},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}})}(n(5914))},3827:function(e,t,n){!function(e){"use strict";var t={ss:"sekundes_sekundēm_sekunde_sekundes".split("_"),m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function n(e,t,n){return n?t%10==1&&t%100!=11?e[2]:e[3]:t%10==1&&t%100!=11?e[0]:e[1]}function r(e,r,i){return e+" "+n(t[i],e,r)}function i(e,r,i){return n(t[i],e,r)}e.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:function(e,t){return t?"dažas sekundes":"dažām sekundēm"},ss:r,m:i,mm:r,h:i,hh:r,d:i,dd:r,M:i,MM:r,y:i,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5914))},1827:function(e,t,n){!function(e){"use strict";var t={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,r){var i=t.words[r];return 1===r.length?n?i[0]:i[1]:e+" "+t.correctGrammaticalCase(e,i)}};e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(5914))},3165:function(e,t,n){!function(e){"use strict";e.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",ss:"%d hēkona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(5914))},4061:function(e,t,n){!function(e){"use strict";e.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"за %s",past:"пред %s",s:"неколку секунди",ss:"%d секунди",m:"една минута",mm:"%d минути",h:"еден час",hh:"%d часа",d:"еден ден",dd:"%d дена",M:"еден месец",MM:"%d месеци",y:"една година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})}(n(5914))},2488:function(e,t,n){!function(e){"use strict";e.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",ss:"%d സെക്കൻഡ്",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(e,t){return 12===e&&(e=0),"രാത്രി"===t&&e>=4||"ഉച്ച കഴിഞ്ഞ്"===t||"വൈകുന്നേരം"===t?e+12:e},meridiem:function(e,t,n){return e<4?"രാത്രി":e<12?"രാവിലെ":e<17?"ഉച്ച കഴിഞ്ഞ്":e<20?"വൈകുന്നേരം":"രാത്രി"}})}(n(5914))},9326:function(e,t,n){!function(e){"use strict";function t(e,t,n,r){switch(n){case"s":return t?"хэдхэн секунд":"хэдхэн секундын";case"ss":return e+(t?" секунд":" секундын");case"m":case"mm":return e+(t?" минут":" минутын");case"h":case"hh":return e+(t?" цаг":" цагийн");case"d":case"dd":return e+(t?" өдөр":" өдрийн");case"M":case"MM":return e+(t?" сар":" сарын");case"y":case"yy":return e+(t?" жил":" жилийн");default:return e}}e.defineLocale("mn",{months:"Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар".split("_"),monthsShort:"1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар".split("_"),monthsParseExact:!0,weekdays:"Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба".split("_"),weekdaysShort:"Ням_Дав_Мяг_Лха_Пүр_Баа_Бям".split("_"),weekdaysMin:"Ня_Да_Мя_Лх_Пү_Ба_Бя".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY оны MMMMын D",LLL:"YYYY оны MMMMын D HH:mm",LLLL:"dddd, YYYY оны MMMMын D HH:mm"},meridiemParse:/ҮӨ|ҮХ/i,isPM:function(e){return"ҮХ"===e},meridiem:function(e,t,n){return e<12?"ҮӨ":"ҮХ"},calendar:{sameDay:"[Өнөөдөр] LT",nextDay:"[Маргааш] LT",nextWeek:"[Ирэх] dddd LT",lastDay:"[Өчигдөр] LT",lastWeek:"[Өнгөрсөн] dddd LT",sameElse:"L"},relativeTime:{future:"%s дараа",past:"%s өмнө",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2} өдөр/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+" өдөр";default:return e}}})}(n(5914))},1382:function(e,t,n){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};function r(e,t,n,r){var i="";if(t)switch(n){case"s":i="काही सेकंद";break;case"ss":i="%d सेकंद";break;case"m":i="एक मिनिट";break;case"mm":i="%d मिनिटे";break;case"h":i="एक तास";break;case"hh":i="%d तास";break;case"d":i="एक दिवस";break;case"dd":i="%d दिवस";break;case"M":i="एक महिना";break;case"MM":i="%d महिने";break;case"y":i="एक वर्ष";break;case"yy":i="%d वर्षे"}else switch(n){case"s":i="काही सेकंदां";break;case"ss":i="%d सेकंदां";break;case"m":i="एका मिनिटा";break;case"mm":i="%d मिनिटां";break;case"h":i="एका तासा";break;case"hh":i="%d तासां";break;case"d":i="एका दिवसा";break;case"dd":i="%d दिवसां";break;case"M":i="एका महिन्या";break;case"MM":i="%d महिन्यां";break;case"y":i="एका वर्षा";break;case"yy":i="%d वर्षां"}return i.replace(/%d/i,e)}e.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/पहाटे|सकाळी|दुपारी|सायंकाळी|रात्री/,meridiemHour:function(e,t){return 12===e&&(e=0),"पहाटे"===t||"सकाळी"===t?e:"दुपारी"===t||"सायंकाळी"===t||"रात्री"===t?e>=12?e:e+12:void 0},meridiem:function(e,t,n){return e>=0&&e<6?"पहाटे":e<12?"सकाळी":e<17?"दुपारी":e<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}})}(n(5914))},1729:function(e,t,n){!function(e){"use strict";e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n(5914))},2348:function(e,t,n){!function(e){"use strict";e.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n(5914))},5428:function(e,t,n){!function(e){"use strict";e.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[Għada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-bieraħ fil-]LT",lastWeek:"dddd [li għadda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(5914))},211:function(e,t,n){!function(e){"use strict";var t={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},n={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"};e.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",ss:"%d စက္ကန့်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(e){return e.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}})}(n(5914))},148:function(e,t,n){!function(e){"use strict";e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5914))},7722:function(e,t,n){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};e.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(e,t){return 12===e&&(e=0),"राति"===t?e<4?e:e+12:"बिहान"===t?e:"दिउँसो"===t?e>=10?e:e+12:"साँझ"===t?e+12:void 0},meridiem:function(e,t,n){return e<3?"राति":e<12?"बिहान":e<16?"दिउँसो":e<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",ss:"%d सेकेण्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}})}(n(5914))},4543:function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),r=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],i=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(5914))},9911:function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),r=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],i=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",w:"één week",ww:"%d weken",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(5914))},7509:function(e,t,n){!function(e){"use strict";e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._må._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_må_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5914))},262:function(e,t,n){!function(e){"use strict";e.defineLocale("oc-lnc",{months:{standalone:"genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre".split("_"),format:"de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[uèi a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[ièr a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}})}(n(5914))},9866:function(e,t,n){!function(e){"use strict";var t={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},n={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"};e.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"[ਅਗਲਾ] dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",ss:"%d ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(e){return e.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ਰਾਤ"===t?e<4?e:e+12:"ਸਵੇਰ"===t?e:"ਦੁਪਹਿਰ"===t?e>=10?e:e+12:"ਸ਼ਾਮ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ਰਾਤ":e<10?"ਸਵੇਰ":e<17?"ਦੁਪਹਿਰ":e<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}})}(n(5914))},2698:function(e,t,n){!function(e){"use strict";var t="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),r=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^paź/i,/^lis/i,/^gru/i];function i(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function o(e,t,n){var r=e+" ";switch(n){case"ss":return r+(i(e)?"sekundy":"sekund");case"m":return t?"minuta":"minutę";case"mm":return r+(i(e)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return r+(i(e)?"godziny":"godzin");case"ww":return r+(i(e)?"tygodnie":"tygodni");case"MM":return r+(i(e)?"miesiące":"miesięcy");case"yy":return r+(i(e)?"lata":"lat")}}e.defineLocale("pl",{months:function(e,r){return e?/D MMMM/.test(r)?n[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielę o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W środę o] LT";case 6:return"[W sobotę o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:o,m:o,mm:o,h:o,hh:o,d:"1 dzień",dd:"%d dni",w:"tydzień",ww:o,M:"miesiąc",MM:o,y:"rok",yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5914))},6999:function(e,t,n){!function(e){"use strict";e.defineLocale("pt-br",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"do_2ª_3ª_4ª_5ª_6ª_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",invalidDate:"Data inválida"})}(n(5914))},4913:function(e,t,n){!function(e){"use strict";e.defineLocale("pt",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(5914))},4474:function(e,t,n){!function(e){"use strict";function t(e,t,n){var r=" ";return(e%100>=20||e>=100&&e%100==0)&&(r=" de "),e+r+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"săptămâni",MM:"luni",yy:"ani"}[n]}e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:t,m:"un minut",mm:t,h:"o oră",hh:t,d:"o zi",dd:t,w:"o săptămână",ww:t,M:"o lună",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})}(n(5914))},5936:function(e,t,n){!function(e){"use strict";function t(e,t,n){return"m"===n?t?"минута":"минуту":e+" "+(r=+e,i={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",ww:"неделя_недели_недель",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[n].split("_"),r%10==1&&r%100!=11?i[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?i[1]:i[2]);var r,i}var n=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];e.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[Сегодня, в] LT",nextDay:"[Завтра, в] LT",lastDay:"[Вчера, в] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В следующее] dddd, [в] LT";case 1:case 2:case 4:return"[В следующий] dddd, [в] LT";case 3:case 5:case 6:return"[В следующую] dddd, [в] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd, [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd, [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd, [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:t,m:t,mm:t,h:"час",hh:t,d:"день",dd:t,w:"неделя",ww:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дня|вечера)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-я";default:return e}},week:{dow:1,doy:4}})}(n(5914))},4664:function(e,t,n){!function(e){"use strict";var t=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],n=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"];e.defineLocale("sd",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,n){return e<12?"صبح":"شام"},calendar:{sameDay:"[اڄ] LT",nextDay:"[سڀاڻي] LT",nextWeek:"dddd [اڳين هفتي تي] LT",lastDay:"[ڪالهه] LT",lastWeek:"[گزريل هفتي] dddd [تي] LT",sameElse:"L"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",ss:"%d سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})}(n(5914))},3100:function(e,t,n){!function(e){"use strict";e.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5914))},4709:function(e,t,n){!function(e){"use strict";e.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්‍ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",ss:"තත්පර %d",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},dayOfMonthOrdinalParse:/\d{1,2} වැනි/,ordinal:function(e){return e+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(e){return"ප.ව."===e||"පස් වරු"===e},meridiem:function(e,t,n){return e>11?n?"ප.ව.":"පස් වරු":n?"පෙ.ව.":"පෙර වරු"}})}(n(5914))},9210:function(e,t,n){!function(e){"use strict";var t="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),n="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");function r(e){return e>1&&e<5}function i(e,t,n,i){var o=e+" ";switch(n){case"s":return t||i?"pár sekúnd":"pár sekundami";case"ss":return t||i?o+(r(e)?"sekundy":"sekúnd"):o+"sekundami";case"m":return t?"minúta":i?"minútu":"minútou";case"mm":return t||i?o+(r(e)?"minúty":"minút"):o+"minútami";case"h":return t?"hodina":i?"hodinu":"hodinou";case"hh":return t||i?o+(r(e)?"hodiny":"hodín"):o+"hodinami";case"d":return t||i?"deň":"dňom";case"dd":return t||i?o+(r(e)?"dni":"dní"):o+"dňami";case"M":return t||i?"mesiac":"mesiacom";case"MM":return t||i?o+(r(e)?"mesiace":"mesiacov"):o+"mesiacmi";case"y":return t||i?"rok":"rokom";case"yy":return t||i?o+(r(e)?"roky":"rokov"):o+"rokmi"}}e.defineLocale("sk",{months:t,monthsShort:n,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:case 4:case 5:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5914))},3462:function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i=e+" ";switch(n){case"s":return t||r?"nekaj sekund":"nekaj sekundami";case"ss":return i+(1===e?t?"sekundo":"sekundi":2===e?t||r?"sekundi":"sekundah":e<5?t||r?"sekunde":"sekundah":"sekund");case"m":return t?"ena minuta":"eno minuto";case"mm":return i+(1===e?t?"minuta":"minuto":2===e?t||r?"minuti":"minutama":e<5?t||r?"minute":"minutami":t||r?"minut":"minutami");case"h":return t?"ena ura":"eno uro";case"hh":return i+(1===e?t?"ura":"uro":2===e?t||r?"uri":"urama":e<5?t||r?"ure":"urami":t||r?"ur":"urami");case"d":return t||r?"en dan":"enim dnem";case"dd":return i+(1===e?t||r?"dan":"dnem":2===e?t||r?"dni":"dnevoma":t||r?"dni":"dnevi");case"M":return t||r?"en mesec":"enim mesecem";case"MM":return i+(1===e?t||r?"mesec":"mesecem":2===e?t||r?"meseca":"mesecema":e<5?t||r?"mesece":"meseci":t||r?"mesecev":"meseci");case"y":return t||r?"eno leto":"enim letom";case"yy":return i+(1===e?t||r?"leto":"letom":2===e?t||r?"leti":"letoma":e<5?t||r?"leta":"leti":t||r?"let":"leti")}}e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(5914))},3369:function(e,t,n){!function(e){"use strict";e.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,t,n){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",ss:"%d sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5914))},1687:function(e,t,n){!function(e){"use strict";var t={words:{ss:["секунда","секунде","секунди"],m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,r){var i=t.words[r];return 1===r.length?n?i[0]:i[1]:e+" "+t.correctGrammaticalCase(e,i)}};e.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){return["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"дан",dd:t.translate,M:"месец",MM:t.translate,y:"годину",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(5914))},8548:function(e,t,n){!function(e){"use strict";var t={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,r){var i=t.words[r];return 1===r.length?n?i[0]:i[1]:e+" "+t.correctGrammaticalCase(e,i)}};e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(5914))},3111:function(e,t,n){!function(e){"use strict";e.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,t,n){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,t){return 12===e&&(e=0),"ekuseni"===t?e:"emini"===t?e>=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(n(5914))},2021:function(e,t,n){!function(e){"use strict";e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?":e":1===t||2===t?":a":":e")},week:{dow:1,doy:4}})}(n(5914))},173:function(e,t,n){!function(e){"use strict";e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(n(5914))},1683:function(e,t,n){!function(e){"use strict";var t={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},n={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"};e.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",ss:"%d விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},dayOfMonthOrdinalParse:/\d{1,2}வது/,ordinal:function(e){return e+"வது"},preparse:function(e){return e.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(e,t,n){return e<2?" யாமம்":e<6?" வைகறை":e<10?" காலை":e<14?" நண்பகல்":e<18?" எற்பாடு":e<22?" மாலை":" யாமம்"},meridiemHour:function(e,t){return 12===e&&(e=0),"யாமம்"===t?e<2?e:e+12:"வைகறை"===t||"காலை"===t||"நண்பகல்"===t&&e>=10?e:e+12},week:{dow:0,doy:6}})}(n(5914))},1893:function(e,t,n){!function(e){"use strict";e.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",ss:"%d సెకన్లు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},dayOfMonthOrdinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(e,t){return 12===e&&(e=0),"రాత్రి"===t?e<4?e:e+12:"ఉదయం"===t?e:"మధ్యాహ్నం"===t?e>=10?e:e+12:"సాయంత్రం"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"రాత్రి":e<10?"ఉదయం":e<17?"మధ్యాహ్నం":e<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}})}(n(5914))},2931:function(e,t,n){!function(e){"use strict";e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(5914))},7936:function(e,t,n){!function(e){"use strict";var t={0:"-ум",1:"-ум",2:"-юм",3:"-юм",4:"-ум",5:"-ум",6:"-ум",7:"-ум",8:"-ум",9:"-ум",10:"-ум",12:"-ум",13:"-ум",20:"-ум",30:"-юм",40:"-ум",50:"-ум",60:"-ум",70:"-ум",80:"-ум",90:"-ум",100:"-ум"};e.defineLocale("tg",{months:{format:"январи_феврали_марти_апрели_майи_июни_июли_августи_сентябри_октябри_ноябри_декабри".split("_"),standalone:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_")},monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split("_"),weekdaysShort:"яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"),weekdaysMin:"яш_дш_сш_чш_пш_ҷм_шб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Имрӯз соати] LT",nextDay:"[Фардо соати] LT",lastDay:"[Дирӯз соати] LT",nextWeek:"dddd[и] [ҳафтаи оянда соати] LT",lastWeek:"dddd[и] [ҳафтаи гузашта соати] LT",sameElse:"L"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"},meridiemParse:/шаб|субҳ|рӯз|бегоҳ/,meridiemHour:function(e,t){return 12===e&&(e=0),"шаб"===t?e<4?e:e+12:"субҳ"===t?e:"рӯз"===t?e>=11?e:e+12:"бегоҳ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"шаб":e<11?"субҳ":e<16?"рӯз":e<19?"бегоҳ":"шаб"},dayOfMonthOrdinalParse:/\d{1,2}-(ум|юм)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(5914))},4162:function(e,t,n){!function(e){"use strict";e.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(e){return"หลังเที่ยง"===e},meridiem:function(e,t,n){return e<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",w:"1 สัปดาห์",ww:"%d สัปดาห์",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}})}(n(5914))},62:function(e,t,n){!function(e){"use strict";var t={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'ünji",4:"'ünji",100:"'ünji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};e.defineLocale("tk",{months:"Ýanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr".split("_"),monthsShort:"Ýan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek".split("_"),weekdays:"Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe_Penşenbe_Anna_Şenbe".split("_"),weekdaysShort:"Ýek_Duş_Siş_Çar_Pen_Ann_Şen".split("_"),weekdaysMin:"Ýk_Dş_Sş_Çr_Pn_An_Şn".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[düýn] LT",lastWeek:"[geçen] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s soň",past:"%s öň",s:"birnäçe sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir gün",dd:"%d gün",M:"bir aý",MM:"%d aý",y:"bir ýyl",yy:"%d ýyl"},ordinal:function(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'unjy";var r=e%10;return e+(t[r]||t[e%100-r]||t[e>=100?100:null])}},week:{dow:1,doy:7}})}(n(5914))},5779:function(e,t,n){!function(e){"use strict";e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n(5914))},4702:function(e,t,n){!function(e){"use strict";var t="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(e,n,r,i){var o=function(e){var n=Math.floor(e%1e3/100),r=Math.floor(e%100/10),i=e%10,o="";return n>0&&(o+=t[n]+"vatlh"),r>0&&(o+=(""!==o?" ":"")+t[r]+"maH"),i>0&&(o+=(""!==o?" ":"")+t[i]),""===o?"pagh":o}(e);switch(r){case"ss":return o+" lup";case"mm":return o+" tup";case"hh":return o+" rep";case"dd":return o+" jaj";case"MM":return o+" jar";case"yy":return o+" DIS"}}e.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(e){var t=e;return-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq"},past:function(e){var t=e;return-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu’":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret"},s:"puS lup",ss:n,m:"wa’ tup",mm:n,h:"wa’ rep",hh:n,d:"wa’ jaj",dd:n,M:"wa’ jar",MM:n,y:"wa’ DIS",yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5914))},2442:function(e,t,n){!function(e){"use strict";var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};e.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),meridiem:function(e,t,n){return e<12?n?"öö":"ÖÖ":n?"ös":"ÖS"},meridiemParse:/öö|ÖÖ|ös|ÖS/,isPM:function(e){return"ös"===e||"ÖS"===e},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'ıncı";var r=e%10;return e+(t[r]||t[e%100-r]||t[e>=100?100:null])}},week:{dow:1,doy:7}})}(n(5914))},8166:function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",e+" secunds"],m:["'n míut","'iens míut"],mm:[e+" míuts",e+" míuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras",e+" þoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",e+" ars"]};return r||t?i[n][0]:i[n][1]}e.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,n){return e>11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5914))},1654:function(e,t,n){!function(e){"use strict";e.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(n(5914))},2503:function(e,t,n){!function(e){"use strict";e.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",ss:"%d ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}})}(n(5914))},6937:function(e,t,n){!function(e){"use strict";e.defineLocale("ug-cn",{months:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),monthsShort:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekdays:"يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split("_"),weekdaysShort:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),weekdaysMin:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-يىلىM-ئاينىڭD-كۈنى",LLL:"YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",LLLL:"dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"},meridiemParse:/يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,meridiemHour:function(e,t){return 12===e&&(e=0),"يېرىم كېچە"===t||"سەھەر"===t||"چۈشتىن بۇرۇن"===t?e:"چۈشتىن كېيىن"===t||"كەچ"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var r=100*e+t;return r<600?"يېرىم كېچە":r<900?"سەھەر":r<1130?"چۈشتىن بۇرۇن":r<1230?"چۈش":r<1800?"چۈشتىن كېيىن":"كەچ"},calendar:{sameDay:"[بۈگۈن سائەت] LT",nextDay:"[ئەتە سائەت] LT",nextWeek:"[كېلەركى] dddd [سائەت] LT",lastDay:"[تۆنۈگۈن] LT",lastWeek:"[ئالدىنقى] dddd [سائەت] LT",sameElse:"L"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",ss:"%d سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"},dayOfMonthOrdinalParse:/\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"-كۈنى";case"w":case"W":return e+"-ھەپتە";default:return e}},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:7}})}(n(5914))},2695:function(e,t,n){!function(e){"use strict";function t(e,t,n){return"m"===n?t?"хвилина":"хвилину":"h"===n?t?"година":"годину":e+" "+(r=+e,i={ss:t?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:t?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:t?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[n].split("_"),r%10==1&&r%100!=11?i[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?i[1]:i[2]);var r,i}function n(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}e.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:function(e,t){var n={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};return!0===e?n.nominative.slice(1,7).concat(n.nominative.slice(0,1)):e?n[/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative"][e.day()]:n.nominative},weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:n("[Сьогодні "),nextDay:n("[Завтра "),lastDay:n("[Вчора "),nextWeek:n("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return n("[Минулої] dddd [").call(this);case 1:case 2:case 4:return n("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",ss:t,m:t,mm:t,h:"годину",hh:t,d:"день",dd:t,M:"місяць",MM:t,y:"рік",yy:t},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночі":e<12?"ранку":e<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}},week:{dow:1,doy:7}})}(n(5914))},5431:function(e,t,n){!function(e){"use strict";var t=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],n=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"];e.defineLocale("ur",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,n){return e<12?"صبح":"شام"},calendar:{sameDay:"[آج بوقت] LT",nextDay:"[کل بوقت] LT",nextWeek:"dddd [بوقت] LT",lastDay:"[گذشتہ روز بوقت] LT",lastWeek:"[گذشتہ] dddd [بوقت] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",ss:"%d سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})}(n(5914))},2461:function(e,t,n){!function(e){"use strict";e.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(n(5914))},1399:function(e,t,n){!function(e){"use strict";e.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",ss:"%d фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}})}(n(5914))},3856:function(e,t,n){!function(e){"use strict";e.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần trước lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",ss:"%d giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",w:"một tuần",ww:"%d tuần",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n(5914))},5017:function(e,t,n){!function(e){"use strict";e.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(5914))},7501:function(e,t,n){!function(e){"use strict";e.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",ss:"aayá %d",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},dayOfMonthOrdinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}})}(n(5914))},6131:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"下午"===t||"晚上"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:function(e){return e.week()!==this.week()?"[下]dddLT":"[本]dddLT"},lastDay:"[昨天]LT",lastWeek:function(e){return this.week()!==e.week()?"[上]dddLT":"[本]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},relativeTime:{future:"%s后",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",w:"1 周",ww:"%d 周",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}})}(n(5914))},6023:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1200?"上午":1200===r?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(5914))},5221:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-mo",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"D/M/YYYY",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(5914))},9611:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(5914))},4532:(e,t,n)=>{var r={"./af":570,"./af.js":570,"./ar":3508,"./ar-dz":8481,"./ar-dz.js":8481,"./ar-kw":8251,"./ar-kw.js":8251,"./ar-ly":6913,"./ar-ly.js":6913,"./ar-ma":8338,"./ar-ma.js":8338,"./ar-sa":7574,"./ar-sa.js":7574,"./ar-tn":6617,"./ar-tn.js":6617,"./ar.js":3508,"./az":8415,"./az.js":8415,"./be":9750,"./be.js":9750,"./bg":6259,"./bg.js":6259,"./bm":6055,"./bm.js":6055,"./bn":3428,"./bn-bd":5974,"./bn-bd.js":5974,"./bn.js":3428,"./bo":9671,"./bo.js":9671,"./br":4477,"./br.js":4477,"./bs":7668,"./bs.js":7668,"./ca":3930,"./ca.js":3930,"./cs":1001,"./cs.js":1001,"./cv":2104,"./cv.js":2104,"./cy":2621,"./cy.js":2621,"./da":9283,"./da.js":9283,"./de":1863,"./de-at":1183,"./de-at.js":1183,"./de-ch":3305,"./de-ch.js":3305,"./de.js":1863,"./dv":6888,"./dv.js":6888,"./el":7258,"./el.js":7258,"./en-au":4129,"./en-au.js":4129,"./en-ca":5610,"./en-ca.js":5610,"./en-gb":2874,"./en-gb.js":2874,"./en-ie":4585,"./en-ie.js":4585,"./en-il":1557,"./en-il.js":1557,"./en-in":3256,"./en-in.js":3256,"./en-nz":937,"./en-nz.js":937,"./en-sg":8745,"./en-sg.js":8745,"./eo":8569,"./eo.js":8569,"./es":2882,"./es-do":3598,"./es-do.js":3598,"./es-mx":6892,"./es-mx.js":6892,"./es-us":5530,"./es-us.js":5530,"./es.js":2882,"./et":814,"./et.js":814,"./eu":5602,"./eu.js":5602,"./fa":5757,"./fa.js":5757,"./fi":2671,"./fi.js":2671,"./fil":6917,"./fil.js":6917,"./fo":4411,"./fo.js":4411,"./fr":5462,"./fr-ca":7806,"./fr-ca.js":7806,"./fr-ch":6263,"./fr-ch.js":6263,"./fr.js":5462,"./fy":3724,"./fy.js":3724,"./ga":969,"./ga.js":969,"./gd":2506,"./gd.js":2506,"./gl":1101,"./gl.js":1101,"./gom-deva":1515,"./gom-deva.js":1515,"./gom-latn":6749,"./gom-latn.js":6749,"./gu":275,"./gu.js":275,"./he":4074,"./he.js":4074,"./hi":5079,"./hi.js":5079,"./hr":8562,"./hr.js":8562,"./hu":7778,"./hu.js":7778,"./hy-am":8732,"./hy-am.js":8732,"./id":4654,"./id.js":4654,"./is":3330,"./is.js":3330,"./it":9455,"./it-ch":42,"./it-ch.js":42,"./it.js":9455,"./ja":3709,"./ja.js":3709,"./jv":776,"./jv.js":776,"./ka":5686,"./ka.js":5686,"./kk":6867,"./kk.js":6867,"./km":2504,"./km.js":2504,"./kn":9010,"./kn.js":9010,"./ko":7697,"./ko.js":7697,"./ku":1486,"./ku.js":1486,"./ky":2604,"./ky.js":2604,"./lb":9707,"./lb.js":9707,"./lo":1931,"./lo.js":1931,"./lt":5045,"./lt.js":5045,"./lv":3827,"./lv.js":3827,"./me":1827,"./me.js":1827,"./mi":3165,"./mi.js":3165,"./mk":4061,"./mk.js":4061,"./ml":2488,"./ml.js":2488,"./mn":9326,"./mn.js":9326,"./mr":1382,"./mr.js":1382,"./ms":2348,"./ms-my":1729,"./ms-my.js":1729,"./ms.js":2348,"./mt":5428,"./mt.js":5428,"./my":211,"./my.js":211,"./nb":148,"./nb.js":148,"./ne":7722,"./ne.js":7722,"./nl":9911,"./nl-be":4543,"./nl-be.js":4543,"./nl.js":9911,"./nn":7509,"./nn.js":7509,"./oc-lnc":262,"./oc-lnc.js":262,"./pa-in":9866,"./pa-in.js":9866,"./pl":2698,"./pl.js":2698,"./pt":4913,"./pt-br":6999,"./pt-br.js":6999,"./pt.js":4913,"./ro":4474,"./ro.js":4474,"./ru":5936,"./ru.js":5936,"./sd":4664,"./sd.js":4664,"./se":3100,"./se.js":3100,"./si":4709,"./si.js":4709,"./sk":9210,"./sk.js":9210,"./sl":3462,"./sl.js":3462,"./sq":3369,"./sq.js":3369,"./sr":8548,"./sr-cyrl":1687,"./sr-cyrl.js":1687,"./sr.js":8548,"./ss":3111,"./ss.js":3111,"./sv":2021,"./sv.js":2021,"./sw":173,"./sw.js":173,"./ta":1683,"./ta.js":1683,"./te":1893,"./te.js":1893,"./tet":2931,"./tet.js":2931,"./tg":7936,"./tg.js":7936,"./th":4162,"./th.js":4162,"./tk":62,"./tk.js":62,"./tl-ph":5779,"./tl-ph.js":5779,"./tlh":4702,"./tlh.js":4702,"./tr":2442,"./tr.js":2442,"./tzl":8166,"./tzl.js":8166,"./tzm":2503,"./tzm-latn":1654,"./tzm-latn.js":1654,"./tzm.js":2503,"./ug-cn":6937,"./ug-cn.js":6937,"./uk":2695,"./uk.js":2695,"./ur":5431,"./ur.js":5431,"./uz":1399,"./uz-latn":2461,"./uz-latn.js":2461,"./uz.js":1399,"./vi":3856,"./vi.js":3856,"./x-pseudo":5017,"./x-pseudo.js":5017,"./yo":7501,"./yo.js":7501,"./zh-cn":6131,"./zh-cn.js":6131,"./zh-hk":6023,"./zh-hk.js":6023,"./zh-mo":5221,"./zh-mo.js":5221,"./zh-tw":9611,"./zh-tw.js":9611};function i(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}i.keys=function(){return Object.keys(r)},i.resolve=o,e.exports=i,i.id=4532},5914:function(e,t,n){(e=n.nmd(e)).exports=function(){"use strict";var t,r;function i(){return t.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function s(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(s(e,t))return!1;return!0}function c(e){return void 0===e}function u(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function h(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function p(e,t){var n,r=[];for(n=0;n>>0;for(t=0;t0)for(n=0;n=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var I=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,k=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,D={},P={};function M(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(P[e]=i),t&&(P[t[0]]=function(){return N(i.apply(this,arguments),t[1],t[2])}),n&&(P[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function F(e,t){return e.isValid()?(t=H(t,e.localeData()),D[t]=D[t]||function(e){var t,n,r,i=e.match(I);for(t=0,n=i.length;t=0&&k.test(e);)e=e.replace(k,r),k.lastIndex=0,n-=1;return e}var B={};function U(e,t){var n=e.toLowerCase();B[n]=B[n+"s"]=B[t]=e}function j(e){return"string"==typeof e?B[e]||B[e.toLowerCase()]:void 0}function G(e){var t,n,r={};for(n in e)s(e,n)&&(t=j(n))&&(r[t]=e[n]);return r}var Y={};function z(e,t){Y[e]=t}function $(e){return e%4==0&&e%100!=0||e%400==0}function W(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function V(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=W(t)),n}function K(e,t){return function(n){return null!=n?(X(this,e,n),i.updateOffset(this,t),this):q(this,e)}}function q(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function X(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&$(e.year())&&1===e.month()&&29===e.date()?(n=V(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Ne(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var Z,Q=/\d/,J=/\d\d/,ee=/\d{3}/,te=/\d{4}/,ne=/[+-]?\d{6}/,re=/\d\d?/,ie=/\d\d\d\d?/,oe=/\d\d\d\d\d\d?/,ae=/\d{1,3}/,se=/\d{1,4}/,le=/[+-]?\d{1,6}/,ce=/\d+/,ue=/[+-]?\d+/,he=/Z|[+-]\d\d:?\d\d/gi,pe=/Z|[+-]\d\d(?::?\d\d)?/gi,de=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function fe(e,t,n){Z[e]=w(t)?t:function(e,r){return e&&n?n:t}}function me(e,t){return s(Z,e)?Z[e](t._strict,t._locale):new RegExp(ge(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,i){return t||n||r||i}))))}function ge(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}Z={};var ye={};function ve(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),u(t)&&(r=function(e,n){n[t]=V(e)}),n=0;n68?1900:2e3)};var Ge=K("FullYear",!0);function Ye(e,t,n,r,i,o,a){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,r,i,o,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,i,o,a),s}function ze(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function $e(e,t,n){var r=7+t-n;return-(7+ze(e,0,r).getUTCDay()-t)%7+r-1}function We(e,t,n,r,i){var o,a,s=1+7*(t-1)+(7+n-r)%7+$e(e,r,i);return s<=0?a=je(o=e-1)+s:s>je(e)?(o=e+1,a=s-je(e)):(o=e,a=s),{year:o,dayOfYear:a}}function Ve(e,t,n){var r,i,o=$e(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?r=a+Ke(i=e.year()-1,t,n):a>Ke(e.year(),t,n)?(r=a-Ke(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function Ke(e,t,n){var r=$e(e,t,n),i=$e(e+1,t,n);return(je(e)-r+i)/7}M("w",["ww",2],"wo","week"),M("W",["WW",2],"Wo","isoWeek"),U("week","w"),U("isoWeek","W"),z("week",5),z("isoWeek",5),fe("w",re),fe("ww",re,J),fe("W",re),fe("WW",re,J),_e(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=V(e)}));function qe(e,t){return e.slice(t,7).concat(e.slice(0,t))}M("d",0,"do","day"),M("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),M("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),M("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),M("e",0,0,"weekday"),M("E",0,0,"isoWeekday"),U("day","d"),U("weekday","e"),U("isoWeekday","E"),z("day",11),z("weekday",11),z("isoWeekday",11),fe("d",re),fe("e",re),fe("E",re),fe("dd",(function(e,t){return t.weekdaysMinRegex(e)})),fe("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),fe("dddd",(function(e,t){return t.weekdaysRegex(e)})),_e(["dd","ddd","dddd"],(function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:m(n).invalidWeekday=e})),_e(["d","e","E"],(function(e,t,n,r){t[r]=V(e)}));var Xe="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ze="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Qe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Je=de,et=de,tt=de;function nt(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=f([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=Ee.call(this._weekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Ee.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=Ee.call(this._minWeekdaysParse,a))?i:null:"dddd"===t?-1!==(i=Ee.call(this._weekdaysParse,a))||-1!==(i=Ee.call(this._shortWeekdaysParse,a))||-1!==(i=Ee.call(this._minWeekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Ee.call(this._shortWeekdaysParse,a))||-1!==(i=Ee.call(this._weekdaysParse,a))||-1!==(i=Ee.call(this._minWeekdaysParse,a))?i:null:-1!==(i=Ee.call(this._minWeekdaysParse,a))||-1!==(i=Ee.call(this._weekdaysParse,a))||-1!==(i=Ee.call(this._shortWeekdaysParse,a))?i:null}function rt(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],l=[],c=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),r=ge(this.weekdaysMin(n,"")),i=ge(this.weekdaysShort(n,"")),o=ge(this.weekdays(n,"")),a.push(r),s.push(i),l.push(o),c.push(r),c.push(i),c.push(o);a.sort(e),s.sort(e),l.sort(e),c.sort(e),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function it(){return this.hours()%12||12}function ot(e,t){M(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function at(e,t){return t._meridiemParse}M("H",["HH",2],0,"hour"),M("h",["hh",2],0,it),M("k",["kk",2],0,(function(){return this.hours()||24})),M("hmm",0,0,(function(){return""+it.apply(this)+N(this.minutes(),2)})),M("hmmss",0,0,(function(){return""+it.apply(this)+N(this.minutes(),2)+N(this.seconds(),2)})),M("Hmm",0,0,(function(){return""+this.hours()+N(this.minutes(),2)})),M("Hmmss",0,0,(function(){return""+this.hours()+N(this.minutes(),2)+N(this.seconds(),2)})),ot("a",!0),ot("A",!1),U("hour","h"),z("hour",13),fe("a",at),fe("A",at),fe("H",re),fe("h",re),fe("k",re),fe("HH",re,J),fe("hh",re,J),fe("kk",re,J),fe("hmm",ie),fe("hmmss",oe),fe("Hmm",ie),fe("Hmmss",oe),ve(["H","HH"],Ce),ve(["k","kk"],(function(e,t,n){var r=V(e);t[Ce]=24===r?0:r})),ve(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),ve(["h","hh"],(function(e,t,n){t[Ce]=V(e),m(n).bigHour=!0})),ve("hmm",(function(e,t,n){var r=e.length-2;t[Ce]=V(e.substr(0,r)),t[Ae]=V(e.substr(r)),m(n).bigHour=!0})),ve("hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[Ce]=V(e.substr(0,r)),t[Ae]=V(e.substr(r,2)),t[Re]=V(e.substr(i)),m(n).bigHour=!0})),ve("Hmm",(function(e,t,n){var r=e.length-2;t[Ce]=V(e.substr(0,r)),t[Ae]=V(e.substr(r))})),ve("Hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[Ce]=V(e.substr(0,r)),t[Ae]=V(e.substr(r,2)),t[Re]=V(e.substr(i))}));var st=K("Hours",!0);var lt,ct={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Ie,monthsShort:ke,week:{dow:0,doy:6},weekdays:Xe,weekdaysMin:Qe,weekdaysShort:Ze,meridiemParse:/[ap]\.?m?\.?/i},ut={},ht={};function pt(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n0;){if(r=ft(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&pt(i,n)>=t-1)break;t--}o++}return lt}(e)}function vt(e){var t,n=e._a;return n&&-2===m(e).overflow&&(t=n[xe]<0||n[xe]>11?xe:n[Se]<1||n[Se]>Ne(n[Te],n[xe])?Se:n[Ce]<0||n[Ce]>24||24===n[Ce]&&(0!==n[Ae]||0!==n[Re]||0!==n[we])?Ce:n[Ae]<0||n[Ae]>59?Ae:n[Re]<0||n[Re]>59?Re:n[we]<0||n[we]>999?we:-1,m(e)._overflowDayOfYear&&(tSe)&&(t=Se),m(e)._overflowWeeks&&-1===t&&(t=Le),m(e)._overflowWeekday&&-1===t&&(t=Oe),m(e).overflow=t),e}var _t=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,bt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Et=/Z|[+-]\d\d(?::?\d\d)?/,Tt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],xt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],St=/^\/?Date\((-?\d+)/i,Ct=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,At={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Rt(e){var t,n,r,i,o,a,s=e._i,l=_t.exec(s)||bt.exec(s);if(l){for(m(e).iso=!0,t=0,n=Tt.length;t7)&&(l=!0)):(o=e._locale._week.dow,a=e._locale._week.doy,c=Ve(Pt(),o,a),n=Ot(t.gg,e._a[Te],c.year),r=Ot(t.w,c.week),null!=t.d?((i=t.d)<0||i>6)&&(l=!0):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(l=!0)):i=o),r<1||r>Ke(n,o,a)?m(e)._overflowWeeks=!0:null!=l?m(e)._overflowWeekday=!0:(s=We(n,r,i,o,a),e._a[Te]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(a=Ot(e._a[Te],r[Te]),(e._dayOfYear>je(a)||0===e._dayOfYear)&&(m(e)._overflowDayOfYear=!0),n=ze(a,0,e._dayOfYear),e._a[xe]=n.getUTCMonth(),e._a[Se]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=r[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Ce]&&0===e._a[Ae]&&0===e._a[Re]&&0===e._a[we]&&(e._nextDay=!0,e._a[Ce]=0),e._d=(e._useUTC?ze:Ye).apply(null,s),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Ce]=24),e._w&&void 0!==e._w.d&&e._w.d!==o&&(m(e).weekdayMismatch=!0)}}function It(e){if(e._f!==i.ISO_8601)if(e._f!==i.RFC_2822){e._a=[],m(e).empty=!0;var t,n,r,o,a,s,l=""+e._i,c=l.length,u=0;for(r=H(e._f,e._locale).match(I)||[],t=0;t0&&m(e).unusedInput.push(a),l=l.slice(l.indexOf(n)+n.length),u+=n.length),P[o]?(n?m(e).empty=!1:m(e).unusedTokens.push(o),be(o,n,e)):e._strict&&!n&&m(e).unusedTokens.push(o);m(e).charsLeftOver=c-u,l.length>0&&m(e).unusedInput.push(l),e._a[Ce]<=12&&!0===m(e).bigHour&&e._a[Ce]>0&&(m(e).bigHour=void 0),m(e).parsedDateParts=e._a.slice(0),m(e).meridiem=e._meridiem,e._a[Ce]=function(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}(e._locale,e._a[Ce],e._meridiem),null!==(s=m(e).era)&&(e._a[Te]=e._locale.erasConvertYear(s,e._a[Te])),Nt(e),vt(e)}else Lt(e);else Rt(e)}function kt(e){var t=e._i,n=e._f;return e._locale=e._locale||yt(e._l),null===t||void 0===n&&""===t?y({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),T(t)?new E(vt(t)):(h(t)?e._d=t:o(n)?function(e){var t,n,r,i,o,a,s=!1;if(0===e._f.length)return m(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;ithis?this:e:y()}));function Ht(e,t){var n,r;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return Pt();for(n=t[0],r=1;r=0?new Date(e+400,t,n)-fn:new Date(e,t,n).valueOf()}function yn(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-fn:Date.UTC(e,t,n)}function vn(e,t){return t.erasAbbrRegex(e)}function _n(){var e,t,n=[],r=[],i=[],o=[],a=this.eras();for(e=0,t=a.length;e(o=Ke(e,r,i))&&(t=o),Tn.call(this,e,t,n,r,i))}function Tn(e,t,n,r,i){var o=We(e,t,n,r,i),a=ze(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}M("N",0,0,"eraAbbr"),M("NN",0,0,"eraAbbr"),M("NNN",0,0,"eraAbbr"),M("NNNN",0,0,"eraName"),M("NNNNN",0,0,"eraNarrow"),M("y",["y",1],"yo","eraYear"),M("y",["yy",2],0,"eraYear"),M("y",["yyy",3],0,"eraYear"),M("y",["yyyy",4],0,"eraYear"),fe("N",vn),fe("NN",vn),fe("NNN",vn),fe("NNNN",(function(e,t){return t.erasNameRegex(e)})),fe("NNNNN",(function(e,t){return t.erasNarrowRegex(e)})),ve(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,r){var i=n._locale.erasParse(e,r,n._strict);i?m(n).era=i:m(n).invalidEra=e})),fe("y",ce),fe("yy",ce),fe("yyy",ce),fe("yyyy",ce),fe("yo",(function(e,t){return t._eraYearOrdinalRegex||ce})),ve(["y","yy","yyy","yyyy"],Te),ve(["yo"],(function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[Te]=n._locale.eraYearOrdinalParse(e,i):t[Te]=parseInt(e,10)})),M(0,["gg",2],0,(function(){return this.weekYear()%100})),M(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),bn("gggg","weekYear"),bn("ggggg","weekYear"),bn("GGGG","isoWeekYear"),bn("GGGGG","isoWeekYear"),U("weekYear","gg"),U("isoWeekYear","GG"),z("weekYear",1),z("isoWeekYear",1),fe("G",ue),fe("g",ue),fe("GG",re,J),fe("gg",re,J),fe("GGGG",se,te),fe("gggg",se,te),fe("GGGGG",le,ne),fe("ggggg",le,ne),_e(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=V(e)})),_e(["gg","GG"],(function(e,t,n,r){t[r]=i.parseTwoDigitYear(e)})),M("Q",0,"Qo","quarter"),U("quarter","Q"),z("quarter",7),fe("Q",Q),ve("Q",(function(e,t){t[xe]=3*(V(e)-1)})),M("D",["DD",2],"Do","date"),U("date","D"),z("date",9),fe("D",re),fe("DD",re,J),fe("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),ve(["D","DD"],Se),ve("Do",(function(e,t){t[Se]=V(e.match(re)[0])}));var xn=K("Date",!0);M("DDD",["DDDD",3],"DDDo","dayOfYear"),U("dayOfYear","DDD"),z("dayOfYear",4),fe("DDD",ae),fe("DDDD",ee),ve(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=V(e)})),M("m",["mm",2],0,"minute"),U("minute","m"),z("minute",14),fe("m",re),fe("mm",re,J),ve(["m","mm"],Ae);var Sn=K("Minutes",!1);M("s",["ss",2],0,"second"),U("second","s"),z("second",15),fe("s",re),fe("ss",re,J),ve(["s","ss"],Re);var Cn,An,Rn=K("Seconds",!1);for(M("S",0,0,(function(){return~~(this.millisecond()/100)})),M(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),M(0,["SSS",3],0,"millisecond"),M(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),M(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),M(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),M(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),M(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),M(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),U("millisecond","ms"),z("millisecond",16),fe("S",ae,Q),fe("SS",ae,J),fe("SSS",ae,ee),Cn="SSSS";Cn.length<=9;Cn+="S")fe(Cn,ce);function wn(e,t){t[we]=V(1e3*("0."+e))}for(Cn="S";Cn.length<=9;Cn+="S")ve(Cn,wn);An=K("Milliseconds",!1),M("z",0,0,"zoneAbbr"),M("zz",0,0,"zoneName");var Ln=E.prototype;function On(e){return e}Ln.add=nn,Ln.calendar=function(e,t){1===arguments.length&&(arguments[0]?an(arguments[0])?(e=arguments[0],t=void 0):function(e){var t,n=a(e)&&!l(e),r=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;tn.valueOf():n.valueOf()9999?F(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):w(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",F(n,"Z")):F(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Ln.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,r="moment",i="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),e="["+r+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY","-MM-DD[T]HH:mm:ss.SSS",n=i+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(Ln[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Ln.toJSON=function(){return this.isValid()?this.toISOString():null},Ln.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Ln.unix=function(){return Math.floor(this.valueOf()/1e3)},Ln.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},Ln.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Ln.eraName=function(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;ethis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Ln.isLocal=function(){return!!this.isValid()&&!this._isUTC},Ln.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},Ln.isUtc=Kt,Ln.isUTC=Kt,Ln.zoneAbbr=function(){return this._isUTC?"UTC":""},Ln.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},Ln.dates=S("dates accessor is deprecated. Use date instead.",xn),Ln.months=S("months accessor is deprecated. Use month instead",Be),Ln.years=S("years accessor is deprecated. Use year instead",Ge),Ln.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),Ln.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!c(this._isDSTShifted))return this._isDSTShifted;var e,t={};return b(t,this),(t=kt(t))._a?(e=t._isUTC?f(t._a):Pt(t._a),this._isDSTShifted=this.isValid()&&function(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;r0):this._isDSTShifted=!1,this._isDSTShifted}));var Nn=O.prototype;function In(e,t,n,r){var i=yt(),o=f().set(r,t);return i[n](o,e)}function kn(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return In(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=In(e,r,n,"month");return i}function Dn(e,t,n,r){"boolean"==typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var i,o=yt(),a=e?o._week.dow:0,s=[];if(null!=n)return In(t,(n+a)%7,r,"day");for(i=0;i<7;i++)s[i]=In(t,(i+a)%7,r,"day");return s}Nn.calendar=function(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return w(r)?r.call(t,n):r},Nn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(I).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])},Nn.invalidDate=function(){return this._invalidDate},Nn.ordinal=function(e){return this._ordinal.replace("%d",e)},Nn.preparse=On,Nn.postformat=On,Nn.relativeTime=function(e,t,n,r){var i=this._relativeTime[n];return w(i)?i(e,t,n,r):i.replace(/%d/i,e)},Nn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return w(n)?n(t):n.replace(/%s/i,t)},Nn.set=function(e){var t,n;for(n in e)s(e,n)&&(w(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Nn.eras=function(e,t){var n,r,o,a=this._eras||yt("en")._eras;for(n=0,r=a.length;n=0)return l[r]},Nn.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?i(e.since).year():i(e.since).year()+(t-e.offset)*n},Nn.erasAbbrRegex=function(e){return s(this,"_erasAbbrRegex")||_n.call(this),e?this._erasAbbrRegex:this._erasRegex},Nn.erasNameRegex=function(e){return s(this,"_erasNameRegex")||_n.call(this),e?this._erasNameRegex:this._erasRegex},Nn.erasNarrowRegex=function(e){return s(this,"_erasNarrowRegex")||_n.call(this),e?this._erasNarrowRegex:this._erasRegex},Nn.months=function(e,t){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||De).test(t)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months.standalone},Nn.monthsShort=function(e,t){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[De.test(t)?"format":"standalone"][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Nn.monthsParse=function(e,t,n){var r,i,o;if(this._monthsParseExact)return Fe.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=f([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},Nn.monthsRegex=function(e){return this._monthsParseExact?(s(this,"_monthsRegex")||Ue.call(this),e?this._monthsStrictRegex:this._monthsRegex):(s(this,"_monthsRegex")||(this._monthsRegex=Me),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},Nn.monthsShortRegex=function(e){return this._monthsParseExact?(s(this,"_monthsRegex")||Ue.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(s(this,"_monthsShortRegex")||(this._monthsShortRegex=Pe),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},Nn.week=function(e){return Ve(e,this._week.dow,this._week.doy).week},Nn.firstDayOfYear=function(){return this._week.doy},Nn.firstDayOfWeek=function(){return this._week.dow},Nn.weekdays=function(e,t){var n=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?qe(n,this._week.dow):e?n[e.day()]:n},Nn.weekdaysMin=function(e){return!0===e?qe(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},Nn.weekdaysShort=function(e){return!0===e?qe(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},Nn.weekdaysParse=function(e,t,n){var r,i,o;if(this._weekdaysParseExact)return nt.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=f([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},Nn.weekdaysRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(s(this,"_weekdaysRegex")||(this._weekdaysRegex=Je),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},Nn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(s(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=et),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Nn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(s(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=tt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Nn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},Nn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},mt("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===V(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),i.lang=S("moment.lang is deprecated. Use moment.locale instead.",mt),i.langData=S("moment.langData is deprecated. Use moment.localeData instead.",yt);var Pn=Math.abs;function Mn(e,t,n,r){var i=Zt(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Fn(e){return e<0?Math.floor(e):Math.ceil(e)}function Hn(e){return 4800*e/146097}function Bn(e){return 146097*e/4800}function Un(e){return function(){return this.as(e)}}var jn=Un("ms"),Gn=Un("s"),Yn=Un("m"),zn=Un("h"),$n=Un("d"),Wn=Un("w"),Vn=Un("M"),Kn=Un("Q"),qn=Un("y");function Xn(e){return function(){return this.isValid()?this._data[e]:NaN}}var Zn=Xn("milliseconds"),Qn=Xn("seconds"),Jn=Xn("minutes"),er=Xn("hours"),tr=Xn("days"),nr=Xn("months"),rr=Xn("years");var ir=Math.round,or={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function ar(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}var sr=Math.abs;function lr(e){return(e>0)-(e<0)||+e}function cr(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,i,o,a,s,l=sr(this._milliseconds)/1e3,c=sr(this._days),u=sr(this._months),h=this.asSeconds();return h?(e=W(l/60),t=W(e/60),l%=60,e%=60,n=W(u/12),u%=12,r=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=h<0?"-":"",o=lr(this._months)!==lr(h)?"-":"",a=lr(this._days)!==lr(h)?"-":"",s=lr(this._milliseconds)!==lr(h)?"-":"",i+"P"+(n?o+n+"Y":"")+(u?o+u+"M":"")+(c?a+c+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+r+"S":"")):"P0D"}var ur=Ut.prototype;return ur.isValid=function(){return this._isValid},ur.abs=function(){var e=this._data;return this._milliseconds=Pn(this._milliseconds),this._days=Pn(this._days),this._months=Pn(this._months),e.milliseconds=Pn(e.milliseconds),e.seconds=Pn(e.seconds),e.minutes=Pn(e.minutes),e.hours=Pn(e.hours),e.months=Pn(e.months),e.years=Pn(e.years),this},ur.add=function(e,t){return Mn(this,e,t,1)},ur.subtract=function(e,t){return Mn(this,e,t,-1)},ur.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=j(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+Hn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Bn(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},ur.asMilliseconds=jn,ur.asSeconds=Gn,ur.asMinutes=Yn,ur.asHours=zn,ur.asDays=$n,ur.asWeeks=Wn,ur.asMonths=Vn,ur.asQuarters=Kn,ur.asYears=qn,ur.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*V(this._months/12):NaN},ur._bubble=function(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,l=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*Fn(Bn(s)+a),a=0,s=0),l.milliseconds=o%1e3,e=W(o/1e3),l.seconds=e%60,t=W(e/60),l.minutes=t%60,n=W(t/60),l.hours=n%24,a+=W(n/24),s+=i=W(Hn(a)),a-=Fn(Bn(i)),r=W(s/12),s%=12,l.days=a,l.months=s,l.years=r,this},ur.clone=function(){return Zt(this)},ur.get=function(e){return e=j(e),this.isValid()?this[e+"s"]():NaN},ur.milliseconds=Zn,ur.seconds=Qn,ur.minutes=Jn,ur.hours=er,ur.days=tr,ur.weeks=function(){return W(this.days()/7)},ur.months=nr,ur.years=rr,ur.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,i=!1,o=or;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(i=e),"object"==typeof t&&(o=Object.assign({},or,t),null!=t.s&&null==t.ss&&(o.ss=t.s-1)),r=function(e,t,n,r){var i=Zt(e).abs(),o=ir(i.as("s")),a=ir(i.as("m")),s=ir(i.as("h")),l=ir(i.as("d")),c=ir(i.as("M")),u=ir(i.as("w")),h=ir(i.as("y")),p=o<=n.ss&&["s",o]||o0,p[4]=r,ar.apply(null,p)}(this,!i,o,n=this.localeData()),i&&(r=n.pastFuture(+this,r)),n.postformat(r)},ur.toISOString=cr,ur.toString=cr,ur.toJSON=cr,ur.locale=ln,ur.localeData=un,ur.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",cr),ur.lang=cn,M("X",0,0,"unix"),M("x",0,0,"valueOf"),fe("x",ue),fe("X",/[+-]?\d+(\.\d{1,3})?/),ve("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),ve("x",(function(e,t,n){n._d=new Date(V(e))})),i.version="2.29.1",t=Pt,i.fn=Ln,i.min=function(){return Ht("isBefore",[].slice.call(arguments,0))},i.max=function(){return Ht("isAfter",[].slice.call(arguments,0))},i.now=function(){return Date.now?Date.now():+new Date},i.utc=f,i.unix=function(e){return Pt(1e3*e)},i.months=function(e,t){return kn(e,t,"months")},i.isDate=h,i.locale=mt,i.invalid=y,i.duration=Zt,i.isMoment=T,i.weekdays=function(e,t,n){return Dn(e,t,n,"weekdays")},i.parseZone=function(){return Pt.apply(null,arguments).parseZone()},i.localeData=yt,i.isDuration=jt,i.monthsShort=function(e,t){return kn(e,t,"monthsShort")},i.weekdaysMin=function(e,t,n){return Dn(e,t,n,"weekdaysMin")},i.defineLocale=gt,i.updateLocale=function(e,t){if(null!=t){var n,r,i=ct;null!=ut[e]&&null!=ut[e].parentLocale?ut[e].set(L(ut[e]._config,t)):(null!=(r=ft(e))&&(i=r._config),t=L(i,t),null==r&&(t.abbr=e),(n=new O(t)).parentLocale=ut[e],ut[e]=n),mt(e)}else null!=ut[e]&&(null!=ut[e].parentLocale?(ut[e]=ut[e].parentLocale,e===mt()&&mt(e)):null!=ut[e]&&delete ut[e]);return ut[e]},i.locales=function(){return C(ut)},i.weekdaysShort=function(e,t,n){return Dn(e,t,n,"weekdaysShort")},i.normalizeUnits=j,i.relativeTimeRounding=function(e){return void 0===e?ir:"function"==typeof e&&(ir=e,!0)},i.relativeTimeThreshold=function(e,t){return void 0!==or[e]&&(void 0===t?or[e]:(or[e]=t,"s"===e&&(or.ss=t-1),!0))},i.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},i.prototype=Ln,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},i}()},2458:e=>{"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,i){for(var o,a,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),l=1;l{function n(e){let t,n=[];for(let r of e.split(",").map((e=>e.trim())))if(/^-?\d+$/.test(r))n.push(parseInt(r,10));else if(t=r.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[e,r,i,o]=t;if(r&&o){r=parseInt(r),o=parseInt(o);const e=r{"use strict";const{DOCUMENT_MODE:r}=n(162),i="html",o=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],a=o.concat(["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]),s=["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"],l=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],c=l.concat(["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]);function u(e){const t=-1!==e.indexOf('"')?"'":'"';return t+e+t}function h(e,t){for(let n=0;n-1)return r.QUIRKS;let e=null===t?a:o;if(h(n,e))return r.QUIRKS;if(e=null===t?l:c,h(n,e))return r.LIMITED_QUIRKS}return r.NO_QUIRKS},t.serializeContent=function(e,t,n){let r="!DOCTYPE ";return e&&(r+=e),t?r+=" PUBLIC "+u(t):n&&(r+=" SYSTEM"),null!==n&&(r+=" "+u(n)),r}},1302:e=>{"use strict";e.exports={controlCharacterInInputStream:"control-character-in-input-stream",noncharacterInInputStream:"noncharacter-in-input-stream",surrogateInInputStream:"surrogate-in-input-stream",nonVoidHtmlElementStartTagWithTrailingSolidus:"non-void-html-element-start-tag-with-trailing-solidus",endTagWithAttributes:"end-tag-with-attributes",endTagWithTrailingSolidus:"end-tag-with-trailing-solidus",unexpectedSolidusInTag:"unexpected-solidus-in-tag",unexpectedNullCharacter:"unexpected-null-character",unexpectedQuestionMarkInsteadOfTagName:"unexpected-question-mark-instead-of-tag-name",invalidFirstCharacterOfTagName:"invalid-first-character-of-tag-name",unexpectedEqualsSignBeforeAttributeName:"unexpected-equals-sign-before-attribute-name",missingEndTagName:"missing-end-tag-name",unexpectedCharacterInAttributeName:"unexpected-character-in-attribute-name",unknownNamedCharacterReference:"unknown-named-character-reference",missingSemicolonAfterCharacterReference:"missing-semicolon-after-character-reference",unexpectedCharacterAfterDoctypeSystemIdentifier:"unexpected-character-after-doctype-system-identifier",unexpectedCharacterInUnquotedAttributeValue:"unexpected-character-in-unquoted-attribute-value",eofBeforeTagName:"eof-before-tag-name",eofInTag:"eof-in-tag",missingAttributeValue:"missing-attribute-value",missingWhitespaceBetweenAttributes:"missing-whitespace-between-attributes",missingWhitespaceAfterDoctypePublicKeyword:"missing-whitespace-after-doctype-public-keyword",missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers:"missing-whitespace-between-doctype-public-and-system-identifiers",missingWhitespaceAfterDoctypeSystemKeyword:"missing-whitespace-after-doctype-system-keyword",missingQuoteBeforeDoctypePublicIdentifier:"missing-quote-before-doctype-public-identifier",missingQuoteBeforeDoctypeSystemIdentifier:"missing-quote-before-doctype-system-identifier",missingDoctypePublicIdentifier:"missing-doctype-public-identifier",missingDoctypeSystemIdentifier:"missing-doctype-system-identifier",abruptDoctypePublicIdentifier:"abrupt-doctype-public-identifier",abruptDoctypeSystemIdentifier:"abrupt-doctype-system-identifier",cdataInHtmlContent:"cdata-in-html-content",incorrectlyOpenedComment:"incorrectly-opened-comment",eofInScriptHtmlCommentLikeText:"eof-in-script-html-comment-like-text",eofInDoctype:"eof-in-doctype",nestedComment:"nested-comment",abruptClosingOfEmptyComment:"abrupt-closing-of-empty-comment",eofInComment:"eof-in-comment",incorrectlyClosedComment:"incorrectly-closed-comment",eofInCdata:"eof-in-cdata",absenceOfDigitsInNumericCharacterReference:"absence-of-digits-in-numeric-character-reference",nullCharacterReference:"null-character-reference",surrogateCharacterReference:"surrogate-character-reference",characterReferenceOutsideUnicodeRange:"character-reference-outside-unicode-range",controlCharacterReference:"control-character-reference",noncharacterCharacterReference:"noncharacter-character-reference",missingWhitespaceBeforeDoctypeName:"missing-whitespace-before-doctype-name",missingDoctypeName:"missing-doctype-name",invalidCharacterSequenceAfterDoctypeName:"invalid-character-sequence-after-doctype-name",duplicateAttribute:"duplicate-attribute",nonConformingDoctype:"non-conforming-doctype",missingDoctype:"missing-doctype",misplacedDoctype:"misplaced-doctype",endTagWithoutMatchingOpenElement:"end-tag-without-matching-open-element",closingOfElementWithOpenChildElements:"closing-of-element-with-open-child-elements",disallowedContentInNoscriptInHead:"disallowed-content-in-noscript-in-head",openElementsLeftAfterEof:"open-elements-left-after-eof",abandonedHeadElementChild:"abandoned-head-element-child",misplacedStartTagForHeadElement:"misplaced-start-tag-for-head-element",nestedNoscriptInHead:"nested-noscript-in-head",eofInElementThatCanContainOnlyText:"eof-in-element-that-can-contain-only-text"}},2994:(e,t,n)=>{"use strict";const r=n(3102),i=n(162),o=i.TAG_NAMES,a=i.NAMESPACES,s=i.ATTRS,l={attributename:"attributeName",attributetype:"attributeType",basefrequency:"baseFrequency",baseprofile:"baseProfile",calcmode:"calcMode",clippathunits:"clipPathUnits",diffuseconstant:"diffuseConstant",edgemode:"edgeMode",filterunits:"filterUnits",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",limitingconeangle:"limitingConeAngle",markerheight:"markerHeight",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textlength:"textLength",viewbox:"viewBox",viewtarget:"viewTarget",xchannelselector:"xChannelSelector",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan"},c={"xlink:actuate":{prefix:"xlink",name:"actuate",namespace:a.XLINK},"xlink:arcrole":{prefix:"xlink",name:"arcrole",namespace:a.XLINK},"xlink:href":{prefix:"xlink",name:"href",namespace:a.XLINK},"xlink:role":{prefix:"xlink",name:"role",namespace:a.XLINK},"xlink:show":{prefix:"xlink",name:"show",namespace:a.XLINK},"xlink:title":{prefix:"xlink",name:"title",namespace:a.XLINK},"xlink:type":{prefix:"xlink",name:"type",namespace:a.XLINK},"xml:base":{prefix:"xml",name:"base",namespace:a.XML},"xml:lang":{prefix:"xml",name:"lang",namespace:a.XML},"xml:space":{prefix:"xml",name:"space",namespace:a.XML},xmlns:{prefix:"",name:"xmlns",namespace:a.XMLNS},"xmlns:xlink":{prefix:"xmlns",name:"xlink",namespace:a.XMLNS}},u=t.SVG_TAG_NAMES_ADJUSTMENT_MAP={altglyph:"altGlyph",altglyphdef:"altGlyphDef",altglyphitem:"altGlyphItem",animatecolor:"animateColor",animatemotion:"animateMotion",animatetransform:"animateTransform",clippath:"clipPath",feblend:"feBlend",fecolormatrix:"feColorMatrix",fecomponenttransfer:"feComponentTransfer",fecomposite:"feComposite",feconvolvematrix:"feConvolveMatrix",fediffuselighting:"feDiffuseLighting",fedisplacementmap:"feDisplacementMap",fedistantlight:"feDistantLight",feflood:"feFlood",fefunca:"feFuncA",fefuncb:"feFuncB",fefuncg:"feFuncG",fefuncr:"feFuncR",fegaussianblur:"feGaussianBlur",feimage:"feImage",femerge:"feMerge",femergenode:"feMergeNode",femorphology:"feMorphology",feoffset:"feOffset",fepointlight:"fePointLight",fespecularlighting:"feSpecularLighting",fespotlight:"feSpotLight",fetile:"feTile",feturbulence:"feTurbulence",foreignobject:"foreignObject",glyphref:"glyphRef",lineargradient:"linearGradient",radialgradient:"radialGradient",textpath:"textPath"},h={[o.B]:!0,[o.BIG]:!0,[o.BLOCKQUOTE]:!0,[o.BODY]:!0,[o.BR]:!0,[o.CENTER]:!0,[o.CODE]:!0,[o.DD]:!0,[o.DIV]:!0,[o.DL]:!0,[o.DT]:!0,[o.EM]:!0,[o.EMBED]:!0,[o.H1]:!0,[o.H2]:!0,[o.H3]:!0,[o.H4]:!0,[o.H5]:!0,[o.H6]:!0,[o.HEAD]:!0,[o.HR]:!0,[o.I]:!0,[o.IMG]:!0,[o.LI]:!0,[o.LISTING]:!0,[o.MENU]:!0,[o.META]:!0,[o.NOBR]:!0,[o.OL]:!0,[o.P]:!0,[o.PRE]:!0,[o.RUBY]:!0,[o.S]:!0,[o.SMALL]:!0,[o.SPAN]:!0,[o.STRONG]:!0,[o.STRIKE]:!0,[o.SUB]:!0,[o.SUP]:!0,[o.TABLE]:!0,[o.TT]:!0,[o.U]:!0,[o.UL]:!0,[o.VAR]:!0};t.causesExit=function(e){const t=e.tagName;return!(t!==o.FONT||null===r.getTokenAttr(e,s.COLOR)&&null===r.getTokenAttr(e,s.SIZE)&&null===r.getTokenAttr(e,s.FACE))||h[t]},t.adjustTokenMathMLAttrs=function(e){for(let t=0;t{"use strict";const n=t.NAMESPACES={HTML:"http://www.w3.org/1999/xhtml",MATHML:"http://www.w3.org/1998/Math/MathML",SVG:"http://www.w3.org/2000/svg",XLINK:"http://www.w3.org/1999/xlink",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"};t.ATTRS={TYPE:"type",ACTION:"action",ENCODING:"encoding",PROMPT:"prompt",NAME:"name",COLOR:"color",FACE:"face",SIZE:"size"},t.DOCUMENT_MODE={NO_QUIRKS:"no-quirks",QUIRKS:"quirks",LIMITED_QUIRKS:"limited-quirks"};const r=t.TAG_NAMES={A:"a",ADDRESS:"address",ANNOTATION_XML:"annotation-xml",APPLET:"applet",AREA:"area",ARTICLE:"article",ASIDE:"aside",B:"b",BASE:"base",BASEFONT:"basefont",BGSOUND:"bgsound",BIG:"big",BLOCKQUOTE:"blockquote",BODY:"body",BR:"br",BUTTON:"button",CAPTION:"caption",CENTER:"center",CODE:"code",COL:"col",COLGROUP:"colgroup",DD:"dd",DESC:"desc",DETAILS:"details",DIALOG:"dialog",DIR:"dir",DIV:"div",DL:"dl",DT:"dt",EM:"em",EMBED:"embed",FIELDSET:"fieldset",FIGCAPTION:"figcaption",FIGURE:"figure",FONT:"font",FOOTER:"footer",FOREIGN_OBJECT:"foreignObject",FORM:"form",FRAME:"frame",FRAMESET:"frameset",H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6",HEAD:"head",HEADER:"header",HGROUP:"hgroup",HR:"hr",HTML:"html",I:"i",IMG:"img",IMAGE:"image",INPUT:"input",IFRAME:"iframe",KEYGEN:"keygen",LABEL:"label",LI:"li",LINK:"link",LISTING:"listing",MAIN:"main",MALIGNMARK:"malignmark",MARQUEE:"marquee",MATH:"math",MENU:"menu",META:"meta",MGLYPH:"mglyph",MI:"mi",MO:"mo",MN:"mn",MS:"ms",MTEXT:"mtext",NAV:"nav",NOBR:"nobr",NOFRAMES:"noframes",NOEMBED:"noembed",NOSCRIPT:"noscript",OBJECT:"object",OL:"ol",OPTGROUP:"optgroup",OPTION:"option",P:"p",PARAM:"param",PLAINTEXT:"plaintext",PRE:"pre",RB:"rb",RP:"rp",RT:"rt",RTC:"rtc",RUBY:"ruby",S:"s",SCRIPT:"script",SECTION:"section",SELECT:"select",SOURCE:"source",SMALL:"small",SPAN:"span",STRIKE:"strike",STRONG:"strong",STYLE:"style",SUB:"sub",SUMMARY:"summary",SUP:"sup",TABLE:"table",TBODY:"tbody",TEMPLATE:"template",TEXTAREA:"textarea",TFOOT:"tfoot",TD:"td",TH:"th",THEAD:"thead",TITLE:"title",TR:"tr",TRACK:"track",TT:"tt",U:"u",UL:"ul",SVG:"svg",VAR:"var",WBR:"wbr",XMP:"xmp"};t.SPECIAL_ELEMENTS={[n.HTML]:{[r.ADDRESS]:!0,[r.APPLET]:!0,[r.AREA]:!0,[r.ARTICLE]:!0,[r.ASIDE]:!0,[r.BASE]:!0,[r.BASEFONT]:!0,[r.BGSOUND]:!0,[r.BLOCKQUOTE]:!0,[r.BODY]:!0,[r.BR]:!0,[r.BUTTON]:!0,[r.CAPTION]:!0,[r.CENTER]:!0,[r.COL]:!0,[r.COLGROUP]:!0,[r.DD]:!0,[r.DETAILS]:!0,[r.DIR]:!0,[r.DIV]:!0,[r.DL]:!0,[r.DT]:!0,[r.EMBED]:!0,[r.FIELDSET]:!0,[r.FIGCAPTION]:!0,[r.FIGURE]:!0,[r.FOOTER]:!0,[r.FORM]:!0,[r.FRAME]:!0,[r.FRAMESET]:!0,[r.H1]:!0,[r.H2]:!0,[r.H3]:!0,[r.H4]:!0,[r.H5]:!0,[r.H6]:!0,[r.HEAD]:!0,[r.HEADER]:!0,[r.HGROUP]:!0,[r.HR]:!0,[r.HTML]:!0,[r.IFRAME]:!0,[r.IMG]:!0,[r.INPUT]:!0,[r.LI]:!0,[r.LINK]:!0,[r.LISTING]:!0,[r.MAIN]:!0,[r.MARQUEE]:!0,[r.MENU]:!0,[r.META]:!0,[r.NAV]:!0,[r.NOEMBED]:!0,[r.NOFRAMES]:!0,[r.NOSCRIPT]:!0,[r.OBJECT]:!0,[r.OL]:!0,[r.P]:!0,[r.PARAM]:!0,[r.PLAINTEXT]:!0,[r.PRE]:!0,[r.SCRIPT]:!0,[r.SECTION]:!0,[r.SELECT]:!0,[r.SOURCE]:!0,[r.STYLE]:!0,[r.SUMMARY]:!0,[r.TABLE]:!0,[r.TBODY]:!0,[r.TD]:!0,[r.TEMPLATE]:!0,[r.TEXTAREA]:!0,[r.TFOOT]:!0,[r.TH]:!0,[r.THEAD]:!0,[r.TITLE]:!0,[r.TR]:!0,[r.TRACK]:!0,[r.UL]:!0,[r.WBR]:!0,[r.XMP]:!0},[n.MATHML]:{[r.MI]:!0,[r.MO]:!0,[r.MN]:!0,[r.MS]:!0,[r.MTEXT]:!0,[r.ANNOTATION_XML]:!0},[n.SVG]:{[r.TITLE]:!0,[r.FOREIGN_OBJECT]:!0,[r.DESC]:!0}}},7616:(e,t)=>{"use strict";const n=[65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111];t.REPLACEMENT_CHARACTER="�",t.CODE_POINTS={EOF:-1,NULL:0,TABULATION:9,CARRIAGE_RETURN:13,LINE_FEED:10,FORM_FEED:12,SPACE:32,EXCLAMATION_MARK:33,QUOTATION_MARK:34,NUMBER_SIGN:35,AMPERSAND:38,APOSTROPHE:39,HYPHEN_MINUS:45,SOLIDUS:47,DIGIT_0:48,DIGIT_9:57,SEMICOLON:59,LESS_THAN_SIGN:60,EQUALS_SIGN:61,GREATER_THAN_SIGN:62,QUESTION_MARK:63,LATIN_CAPITAL_A:65,LATIN_CAPITAL_F:70,LATIN_CAPITAL_X:88,LATIN_CAPITAL_Z:90,RIGHT_SQUARE_BRACKET:93,GRAVE_ACCENT:96,LATIN_SMALL_A:97,LATIN_SMALL_F:102,LATIN_SMALL_X:120,LATIN_SMALL_Z:122,REPLACEMENT_CHARACTER:65533},t.CODE_POINT_SEQUENCES={DASH_DASH_STRING:[45,45],DOCTYPE_STRING:[68,79,67,84,89,80,69],CDATA_START_STRING:[91,67,68,65,84,65,91],SCRIPT_STRING:[115,99,114,105,112,116],PUBLIC_STRING:[80,85,66,76,73,67],SYSTEM_STRING:[83,89,83,84,69,77]},t.isSurrogate=function(e){return e>=55296&&e<=57343},t.isSurrogatePair=function(e){return e>=56320&&e<=57343},t.getSurrogatePairCodePoint=function(e,t){return 1024*(e-55296)+9216+t},t.isControlCodePoint=function(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159},t.isUndefinedCodePoint=function(e){return e>=64976&&e<=65007||n.indexOf(e)>-1}},8721:(e,t,n)=>{"use strict";const r=n(1405);e.exports=class extends r{constructor(e,t){super(e),this.posTracker=null,this.onParseError=t.onParseError}_setErrorLocation(e){e.startLine=e.endLine=this.posTracker.line,e.startCol=e.endCol=this.posTracker.col,e.startOffset=e.endOffset=this.posTracker.offset}_reportError(e){const t={code:e,startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1};this._setErrorLocation(t),this.onParseError(t)}_getOverriddenMethods(e){return{_err(t){e._reportError(t)}}}}},4548:(e,t,n)=>{"use strict";const r=n(8721),i=n(736),o=n(4182),a=n(1405);e.exports=class extends r{constructor(e,t){super(e,t),this.opts=t,this.ctLoc=null,this.locBeforeToken=!1}_setErrorLocation(e){this.ctLoc&&(e.startLine=this.ctLoc.startLine,e.startCol=this.ctLoc.startCol,e.startOffset=this.ctLoc.startOffset,e.endLine=this.locBeforeToken?this.ctLoc.startLine:this.ctLoc.endLine,e.endCol=this.locBeforeToken?this.ctLoc.startCol:this.ctLoc.endCol,e.endOffset=this.locBeforeToken?this.ctLoc.startOffset:this.ctLoc.endOffset)}_getOverriddenMethods(e,t){return{_bootstrap(n,r){t._bootstrap.call(this,n,r),a.install(this.tokenizer,i,e.opts),a.install(this.tokenizer,o)},_processInputToken(n){e.ctLoc=n.location,t._processInputToken.call(this,n)},_err(t,n){e.locBeforeToken=n&&n.beforeToken,e._reportError(t)}}}}},9109:(e,t,n)=>{"use strict";const r=n(8721),i=n(5485),o=n(1405);e.exports=class extends r{constructor(e,t){super(e,t),this.posTracker=o.install(e,i),this.lastErrOffset=-1}_reportError(e){this.lastErrOffset!==this.posTracker.offset&&(this.lastErrOffset=this.posTracker.offset,super._reportError(e))}}},736:(e,t,n)=>{"use strict";const r=n(8721),i=n(9109),o=n(1405);e.exports=class extends r{constructor(e,t){super(e,t);const n=o.install(e.preprocessor,i,t);this.posTracker=n.posTracker}}},8462:(e,t,n)=>{"use strict";const r=n(1405);e.exports=class extends r{constructor(e,t){super(e),this.onItemPop=t.onItemPop}_getOverriddenMethods(e,t){return{pop(){e.onItemPop(this.current),t.pop.call(this)},popAllUpToHtmlElement(){for(let t=this.stackTop;t>0;t--)e.onItemPop(this.items[t]);t.popAllUpToHtmlElement.call(this)},remove(n){e.onItemPop(this.current),t.remove.call(this,n)}}}}},5608:(e,t,n)=>{"use strict";const r=n(1405),i=n(3102),o=n(4182),a=n(8462),s=n(162).TAG_NAMES;e.exports=class extends r{constructor(e){super(e),this.parser=e,this.treeAdapter=this.parser.treeAdapter,this.posTracker=null,this.lastStartTagToken=null,this.lastFosterParentingLocation=null,this.currentToken=null}_setStartLocation(e){let t=null;this.lastStartTagToken&&(t=Object.assign({},this.lastStartTagToken.location),t.startTag=this.lastStartTagToken.location),this.treeAdapter.setNodeSourceCodeLocation(e,t)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){const n=t.location,r=this.treeAdapter.getTagName(e),o={};t.type===i.END_TAG_TOKEN&&r===t.tagName?(o.endTag=Object.assign({},n),o.endLine=n.endLine,o.endCol=n.endCol,o.endOffset=n.endOffset):(o.endLine=n.startLine,o.endCol=n.startCol,o.endOffset=n.startOffset),this.treeAdapter.updateNodeSourceCodeLocation(e,o)}}_getOverriddenMethods(e,t){return{_bootstrap(n,i){t._bootstrap.call(this,n,i),e.lastStartTagToken=null,e.lastFosterParentingLocation=null,e.currentToken=null;const s=r.install(this.tokenizer,o);e.posTracker=s.posTracker,r.install(this.openElements,a,{onItemPop:function(t){e._setEndLocation(t,e.currentToken)}})},_runParsingLoop(n){t._runParsingLoop.call(this,n);for(let t=this.openElements.stackTop;t>=0;t--)e._setEndLocation(this.openElements.items[t],e.currentToken)},_processTokenInForeignContent(n){e.currentToken=n,t._processTokenInForeignContent.call(this,n)},_processToken(n){if(e.currentToken=n,t._processToken.call(this,n),n.type===i.END_TAG_TOKEN&&(n.tagName===s.HTML||n.tagName===s.BODY&&this.openElements.hasInScope(s.BODY)))for(let t=this.openElements.stackTop;t>=0;t--){const r=this.openElements.items[t];if(this.treeAdapter.getTagName(r)===n.tagName){e._setEndLocation(r,n);break}}},_setDocumentType(e){t._setDocumentType.call(this,e);const n=this.treeAdapter.getChildNodes(this.document),r=n.length;for(let t=0;t{"use strict";const r=n(1405),i=n(3102),o=n(5485);e.exports=class extends r{constructor(e){super(e),this.tokenizer=e,this.posTracker=r.install(e.preprocessor,o),this.currentAttrLocation=null,this.ctLoc=null}_getCurrentLocation(){return{startLine:this.posTracker.line,startCol:this.posTracker.col,startOffset:this.posTracker.offset,endLine:-1,endCol:-1,endOffset:-1}}_attachCurrentAttrLocationInfo(){this.currentAttrLocation.endLine=this.posTracker.line,this.currentAttrLocation.endCol=this.posTracker.col,this.currentAttrLocation.endOffset=this.posTracker.offset;const e=this.tokenizer.currentToken,t=this.tokenizer.currentAttr;e.location.attrs||(e.location.attrs=Object.create(null)),e.location.attrs[t.name]=this.currentAttrLocation}_getOverriddenMethods(e,t){const n={_createStartTagToken(){t._createStartTagToken.call(this),this.currentToken.location=e.ctLoc},_createEndTagToken(){t._createEndTagToken.call(this),this.currentToken.location=e.ctLoc},_createCommentToken(){t._createCommentToken.call(this),this.currentToken.location=e.ctLoc},_createDoctypeToken(n){t._createDoctypeToken.call(this,n),this.currentToken.location=e.ctLoc},_createCharacterToken(n,r){t._createCharacterToken.call(this,n,r),this.currentCharacterToken.location=e.ctLoc},_createEOFToken(){t._createEOFToken.call(this),this.currentToken.location=e._getCurrentLocation()},_createAttr(n){t._createAttr.call(this,n),e.currentAttrLocation=e._getCurrentLocation()},_leaveAttrName(n){t._leaveAttrName.call(this,n),e._attachCurrentAttrLocationInfo()},_leaveAttrValue(n){t._leaveAttrValue.call(this,n),e._attachCurrentAttrLocationInfo()},_emitCurrentToken(){const n=this.currentToken.location;this.currentCharacterToken&&(this.currentCharacterToken.location.endLine=n.startLine,this.currentCharacterToken.location.endCol=n.startCol,this.currentCharacterToken.location.endOffset=n.startOffset),this.currentToken.type===i.EOF_TOKEN?(n.endLine=n.startLine,n.endCol=n.startCol,n.endOffset=n.startOffset):(n.endLine=e.posTracker.line,n.endCol=e.posTracker.col+1,n.endOffset=e.posTracker.offset+1),t._emitCurrentToken.call(this)},_emitCurrentCharacterToken(){const n=this.currentCharacterToken&&this.currentCharacterToken.location;n&&-1===n.endOffset&&(n.endLine=e.posTracker.line,n.endCol=e.posTracker.col,n.endOffset=e.posTracker.offset),t._emitCurrentCharacterToken.call(this)}};return Object.keys(i.MODE).forEach((r=>{const o=i.MODE[r];n[o]=function(n){e.ctLoc=e._getCurrentLocation(),t[o].call(this,n)}})),n}}},5485:(e,t,n)=>{"use strict";const r=n(1405);e.exports=class extends r{constructor(e){super(e),this.preprocessor=e,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.offset=0,this.col=0,this.line=1}_getOverriddenMethods(e,t){return{advance(){const n=this.pos+1,r=this.html[n];return e.isEol&&(e.isEol=!1,e.line++,e.lineStartPos=n),("\n"===r||"\r"===r&&"\n"!==this.html[n+1])&&(e.isEol=!0),e.col=n-e.lineStartPos+1,e.offset=e.droppedBufferSize+n,t.advance.call(this)},retreat(){t.retreat.call(this),e.isEol=!1,e.col=this.pos-e.lineStartPos+1},dropParsedChunk(){const n=this.pos;t.dropParsedChunk.call(this);const r=n-this.pos;e.lineStartPos-=r,e.droppedBufferSize+=r,e.offset=e.droppedBufferSize+this.pos}}}}},3155:e=>{"use strict";class t{constructor(e){this.length=0,this.entries=[],this.treeAdapter=e,this.bookmark=null}_getNoahArkConditionCandidates(e){const n=[];if(this.length>=3){const r=this.treeAdapter.getAttrList(e).length,i=this.treeAdapter.getTagName(e),o=this.treeAdapter.getNamespaceURI(e);for(let e=this.length-1;e>=0;e--){const a=this.entries[e];if(a.type===t.MARKER_ENTRY)break;const s=a.element,l=this.treeAdapter.getAttrList(s);this.treeAdapter.getTagName(s)===i&&this.treeAdapter.getNamespaceURI(s)===o&&l.length===r&&n.push({idx:e,attrs:l})}}return n.length<3?[]:n}_ensureNoahArkCondition(e){const t=this._getNoahArkConditionCandidates(e);let n=t.length;if(n){const r=this.treeAdapter.getAttrList(e),i=r.length,o=Object.create(null);for(let e=0;e=2;e--)this.entries.splice(t[e].idx,1),this.length--}}insertMarker(){this.entries.push({type:t.MARKER_ENTRY}),this.length++}pushElement(e,n){this._ensureNoahArkCondition(e),this.entries.push({type:t.ELEMENT_ENTRY,element:e,token:n}),this.length++}insertElementAfterBookmark(e,n){let r=this.length-1;for(;r>=0&&this.entries[r]!==this.bookmark;r--);this.entries.splice(r+1,0,{type:t.ELEMENT_ENTRY,element:e,token:n}),this.length++}removeEntry(e){for(let t=this.length-1;t>=0;t--)if(this.entries[t]===e){this.entries.splice(t,1),this.length--;break}}clearToLastMarker(){for(;this.length;){const e=this.entries.pop();if(this.length--,e.type===t.MARKER_ENTRY)break}}getElementEntryInScopeWithTagName(e){for(let n=this.length-1;n>=0;n--){const r=this.entries[n];if(r.type===t.MARKER_ENTRY)return null;if(this.treeAdapter.getTagName(r.element)===e)return r}return null}getElementEntry(e){for(let n=this.length-1;n>=0;n--){const r=this.entries[n];if(r.type===t.ELEMENT_ENTRY&&r.element===e)return r}return null}}t.MARKER_ENTRY="MARKER_ENTRY",t.ELEMENT_ENTRY="ELEMENT_ENTRY",e.exports=t},6956:(e,t,n)=>{"use strict";const r=n(3102),i=n(5331),o=n(3155),a=n(5608),s=n(4548),l=n(1405),c=n(9012),u=n(3070),h=n(5635),p=n(2994),d=n(1302),f=n(7616),m=n(162),g=m.TAG_NAMES,y=m.NAMESPACES,v=m.ATTRS,_={scriptingEnabled:!0,sourceCodeLocationInfo:!1,onParseError:null,treeAdapter:c},b="hidden",E=8,T=3,x="INITIAL_MODE",S="BEFORE_HTML_MODE",C="BEFORE_HEAD_MODE",A="IN_HEAD_MODE",R="IN_HEAD_NO_SCRIPT_MODE",w="AFTER_HEAD_MODE",L="IN_BODY_MODE",O="TEXT_MODE",N="IN_TABLE_MODE",I="IN_TABLE_TEXT_MODE",k="IN_CAPTION_MODE",D="IN_COLUMN_GROUP_MODE",P="IN_TABLE_BODY_MODE",M="IN_ROW_MODE",F="IN_CELL_MODE",H="IN_SELECT_MODE",B="IN_SELECT_IN_TABLE_MODE",U="IN_TEMPLATE_MODE",j="AFTER_BODY_MODE",G="IN_FRAMESET_MODE",Y="AFTER_FRAMESET_MODE",z="AFTER_AFTER_BODY_MODE",$="AFTER_AFTER_FRAMESET_MODE",W={[g.TR]:M,[g.TBODY]:P,[g.THEAD]:P,[g.TFOOT]:P,[g.CAPTION]:k,[g.COLGROUP]:D,[g.TABLE]:N,[g.BODY]:L,[g.FRAMESET]:G},V={[g.CAPTION]:N,[g.COLGROUP]:N,[g.TBODY]:N,[g.TFOOT]:N,[g.THEAD]:N,[g.COL]:D,[g.TR]:P,[g.TD]:M,[g.TH]:M},K={[x]:{[r.CHARACTER_TOKEN]:le,[r.NULL_CHARACTER_TOKEN]:le,[r.WHITESPACE_CHARACTER_TOKEN]:ne,[r.COMMENT_TOKEN]:ie,[r.DOCTYPE_TOKEN]:function(e,t){e._setDocumentType(t);const n=t.forceQuirks?m.DOCUMENT_MODE.QUIRKS:h.getDocumentMode(t);h.isConforming(t)||e._err(d.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=S},[r.START_TAG_TOKEN]:le,[r.END_TAG_TOKEN]:le,[r.EOF_TOKEN]:le},[S]:{[r.CHARACTER_TOKEN]:ce,[r.NULL_CHARACTER_TOKEN]:ce,[r.WHITESPACE_CHARACTER_TOKEN]:ne,[r.COMMENT_TOKEN]:ie,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){t.tagName===g.HTML?(e._insertElement(t,y.HTML),e.insertionMode=C):ce(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n!==g.HTML&&n!==g.HEAD&&n!==g.BODY&&n!==g.BR||ce(e,t)},[r.EOF_TOKEN]:ce},[C]:{[r.CHARACTER_TOKEN]:ue,[r.NULL_CHARACTER_TOKEN]:ue,[r.WHITESPACE_CHARACTER_TOKEN]:ne,[r.COMMENT_TOKEN]:ie,[r.DOCTYPE_TOKEN]:re,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.HTML?we(e,t):n===g.HEAD?(e._insertElement(t,y.HTML),e.headElement=e.openElements.current,e.insertionMode=A):ue(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.HEAD||n===g.BODY||n===g.HTML||n===g.BR?ue(e,t):e._err(d.endTagWithoutMatchingOpenElement)},[r.EOF_TOKEN]:ue},[A]:{[r.CHARACTER_TOKEN]:de,[r.NULL_CHARACTER_TOKEN]:de,[r.WHITESPACE_CHARACTER_TOKEN]:ae,[r.COMMENT_TOKEN]:ie,[r.DOCTYPE_TOKEN]:re,[r.START_TAG_TOKEN]:he,[r.END_TAG_TOKEN]:pe,[r.EOF_TOKEN]:de},[R]:{[r.CHARACTER_TOKEN]:fe,[r.NULL_CHARACTER_TOKEN]:fe,[r.WHITESPACE_CHARACTER_TOKEN]:ae,[r.COMMENT_TOKEN]:ie,[r.DOCTYPE_TOKEN]:re,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.HTML?we(e,t):n===g.BASEFONT||n===g.BGSOUND||n===g.HEAD||n===g.LINK||n===g.META||n===g.NOFRAMES||n===g.STYLE?he(e,t):n===g.NOSCRIPT?e._err(d.nestedNoscriptInHead):fe(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.NOSCRIPT?(e.openElements.pop(),e.insertionMode=A):n===g.BR?fe(e,t):e._err(d.endTagWithoutMatchingOpenElement)},[r.EOF_TOKEN]:fe},[w]:{[r.CHARACTER_TOKEN]:me,[r.NULL_CHARACTER_TOKEN]:me,[r.WHITESPACE_CHARACTER_TOKEN]:ae,[r.COMMENT_TOKEN]:ie,[r.DOCTYPE_TOKEN]:re,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.HTML?we(e,t):n===g.BODY?(e._insertElement(t,y.HTML),e.framesetOk=!1,e.insertionMode=L):n===g.FRAMESET?(e._insertElement(t,y.HTML),e.insertionMode=G):n===g.BASE||n===g.BASEFONT||n===g.BGSOUND||n===g.LINK||n===g.META||n===g.NOFRAMES||n===g.SCRIPT||n===g.STYLE||n===g.TEMPLATE||n===g.TITLE?(e._err(d.abandonedHeadElementChild),e.openElements.push(e.headElement),he(e,t),e.openElements.remove(e.headElement)):n===g.HEAD?e._err(d.misplacedStartTagForHeadElement):me(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.BODY||n===g.HTML||n===g.BR?me(e,t):n===g.TEMPLATE?pe(e,t):e._err(d.endTagWithoutMatchingOpenElement)},[r.EOF_TOKEN]:me},[L]:{[r.CHARACTER_TOKEN]:ye,[r.NULL_CHARACTER_TOKEN]:ne,[r.WHITESPACE_CHARACTER_TOKEN]:ge,[r.COMMENT_TOKEN]:ie,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:we,[r.END_TAG_TOKEN]:Ie,[r.EOF_TOKEN]:ke},[O]:{[r.CHARACTER_TOKEN]:ae,[r.NULL_CHARACTER_TOKEN]:ae,[r.WHITESPACE_CHARACTER_TOKEN]:ae,[r.COMMENT_TOKEN]:ne,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:ne,[r.END_TAG_TOKEN]:function(e,t){t.tagName===g.SCRIPT&&(e.pendingScript=e.openElements.current),e.openElements.pop(),e.insertionMode=e.originalInsertionMode},[r.EOF_TOKEN]:function(e,t){e._err(d.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e._processToken(t)}},[N]:{[r.CHARACTER_TOKEN]:De,[r.NULL_CHARACTER_TOKEN]:De,[r.WHITESPACE_CHARACTER_TOKEN]:De,[r.COMMENT_TOKEN]:ie,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:Pe,[r.END_TAG_TOKEN]:Me,[r.EOF_TOKEN]:ke},[I]:{[r.CHARACTER_TOKEN]:function(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0},[r.NULL_CHARACTER_TOKEN]:ne,[r.WHITESPACE_CHARACTER_TOKEN]:function(e,t){e.pendingCharacterTokens.push(t)},[r.COMMENT_TOKEN]:He,[r.DOCTYPE_TOKEN]:He,[r.START_TAG_TOKEN]:He,[r.END_TAG_TOKEN]:He,[r.EOF_TOKEN]:He},[k]:{[r.CHARACTER_TOKEN]:ye,[r.NULL_CHARACTER_TOKEN]:ne,[r.WHITESPACE_CHARACTER_TOKEN]:ge,[r.COMMENT_TOKEN]:ie,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.CAPTION||n===g.COL||n===g.COLGROUP||n===g.TBODY||n===g.TD||n===g.TFOOT||n===g.TH||n===g.THEAD||n===g.TR?e.openElements.hasInTableScope(g.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(g.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=N,e._processToken(t)):we(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.CAPTION||n===g.TABLE?e.openElements.hasInTableScope(g.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(g.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=N,n===g.TABLE&&e._processToken(t)):n!==g.BODY&&n!==g.COL&&n!==g.COLGROUP&&n!==g.HTML&&n!==g.TBODY&&n!==g.TD&&n!==g.TFOOT&&n!==g.TH&&n!==g.THEAD&&n!==g.TR&&Ie(e,t)},[r.EOF_TOKEN]:ke},[D]:{[r.CHARACTER_TOKEN]:Be,[r.NULL_CHARACTER_TOKEN]:Be,[r.WHITESPACE_CHARACTER_TOKEN]:ae,[r.COMMENT_TOKEN]:ie,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.HTML?we(e,t):n===g.COL?(e._appendElement(t,y.HTML),t.ackSelfClosing=!0):n===g.TEMPLATE?he(e,t):Be(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.COLGROUP?e.openElements.currentTagName===g.COLGROUP&&(e.openElements.pop(),e.insertionMode=N):n===g.TEMPLATE?pe(e,t):n!==g.COL&&Be(e,t)},[r.EOF_TOKEN]:ke},[P]:{[r.CHARACTER_TOKEN]:De,[r.NULL_CHARACTER_TOKEN]:De,[r.WHITESPACE_CHARACTER_TOKEN]:De,[r.COMMENT_TOKEN]:ie,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.TR?(e.openElements.clearBackToTableBodyContext(),e._insertElement(t,y.HTML),e.insertionMode=M):n===g.TH||n===g.TD?(e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(g.TR),e.insertionMode=M,e._processToken(t)):n===g.CAPTION||n===g.COL||n===g.COLGROUP||n===g.TBODY||n===g.TFOOT||n===g.THEAD?e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=N,e._processToken(t)):Pe(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.TBODY||n===g.TFOOT||n===g.THEAD?e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=N):n===g.TABLE?e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=N,e._processToken(t)):(n!==g.BODY&&n!==g.CAPTION&&n!==g.COL&&n!==g.COLGROUP||n!==g.HTML&&n!==g.TD&&n!==g.TH&&n!==g.TR)&&Me(e,t)},[r.EOF_TOKEN]:ke},[M]:{[r.CHARACTER_TOKEN]:De,[r.NULL_CHARACTER_TOKEN]:De,[r.WHITESPACE_CHARACTER_TOKEN]:De,[r.COMMENT_TOKEN]:ie,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.TH||n===g.TD?(e.openElements.clearBackToTableRowContext(),e._insertElement(t,y.HTML),e.insertionMode=F,e.activeFormattingElements.insertMarker()):n===g.CAPTION||n===g.COL||n===g.COLGROUP||n===g.TBODY||n===g.TFOOT||n===g.THEAD||n===g.TR?e.openElements.hasInTableScope(g.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=P,e._processToken(t)):Pe(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.TR?e.openElements.hasInTableScope(g.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=P):n===g.TABLE?e.openElements.hasInTableScope(g.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=P,e._processToken(t)):n===g.TBODY||n===g.TFOOT||n===g.THEAD?(e.openElements.hasInTableScope(n)||e.openElements.hasInTableScope(g.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=P,e._processToken(t)):(n!==g.BODY&&n!==g.CAPTION&&n!==g.COL&&n!==g.COLGROUP||n!==g.HTML&&n!==g.TD&&n!==g.TH)&&Me(e,t)},[r.EOF_TOKEN]:ke},[F]:{[r.CHARACTER_TOKEN]:ye,[r.NULL_CHARACTER_TOKEN]:ne,[r.WHITESPACE_CHARACTER_TOKEN]:ge,[r.COMMENT_TOKEN]:ie,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.CAPTION||n===g.COL||n===g.COLGROUP||n===g.TBODY||n===g.TD||n===g.TFOOT||n===g.TH||n===g.THEAD||n===g.TR?(e.openElements.hasInTableScope(g.TD)||e.openElements.hasInTableScope(g.TH))&&(e._closeTableCell(),e._processToken(t)):we(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.TD||n===g.TH?e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=M):n===g.TABLE||n===g.TBODY||n===g.TFOOT||n===g.THEAD||n===g.TR?e.openElements.hasInTableScope(n)&&(e._closeTableCell(),e._processToken(t)):n!==g.BODY&&n!==g.CAPTION&&n!==g.COL&&n!==g.COLGROUP&&n!==g.HTML&&Ie(e,t)},[r.EOF_TOKEN]:ke},[H]:{[r.CHARACTER_TOKEN]:ae,[r.NULL_CHARACTER_TOKEN]:ne,[r.WHITESPACE_CHARACTER_TOKEN]:ae,[r.COMMENT_TOKEN]:ie,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:Ue,[r.END_TAG_TOKEN]:je,[r.EOF_TOKEN]:ke},[B]:{[r.CHARACTER_TOKEN]:ae,[r.NULL_CHARACTER_TOKEN]:ne,[r.WHITESPACE_CHARACTER_TOKEN]:ae,[r.COMMENT_TOKEN]:ie,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.CAPTION||n===g.TABLE||n===g.TBODY||n===g.TFOOT||n===g.THEAD||n===g.TR||n===g.TD||n===g.TH?(e.openElements.popUntilTagNamePopped(g.SELECT),e._resetInsertionMode(),e._processToken(t)):Ue(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.CAPTION||n===g.TABLE||n===g.TBODY||n===g.TFOOT||n===g.THEAD||n===g.TR||n===g.TD||n===g.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(g.SELECT),e._resetInsertionMode(),e._processToken(t)):je(e,t)},[r.EOF_TOKEN]:ke},[U]:{[r.CHARACTER_TOKEN]:ye,[r.NULL_CHARACTER_TOKEN]:ne,[r.WHITESPACE_CHARACTER_TOKEN]:ge,[r.COMMENT_TOKEN]:ie,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;if(n===g.BASE||n===g.BASEFONT||n===g.BGSOUND||n===g.LINK||n===g.META||n===g.NOFRAMES||n===g.SCRIPT||n===g.STYLE||n===g.TEMPLATE||n===g.TITLE)he(e,t);else{const r=V[n]||L;e._popTmplInsertionMode(),e._pushTmplInsertionMode(r),e.insertionMode=r,e._processToken(t)}},[r.END_TAG_TOKEN]:function(e,t){t.tagName===g.TEMPLATE&&pe(e,t)},[r.EOF_TOKEN]:Ge},[j]:{[r.CHARACTER_TOKEN]:Ye,[r.NULL_CHARACTER_TOKEN]:Ye,[r.WHITESPACE_CHARACTER_TOKEN]:ge,[r.COMMENT_TOKEN]:function(e,t){e._appendCommentNode(t,e.openElements.items[0])},[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){t.tagName===g.HTML?we(e,t):Ye(e,t)},[r.END_TAG_TOKEN]:function(e,t){t.tagName===g.HTML?e.fragmentContext||(e.insertionMode=z):Ye(e,t)},[r.EOF_TOKEN]:se},[G]:{[r.CHARACTER_TOKEN]:ne,[r.NULL_CHARACTER_TOKEN]:ne,[r.WHITESPACE_CHARACTER_TOKEN]:ae,[r.COMMENT_TOKEN]:ie,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.HTML?we(e,t):n===g.FRAMESET?e._insertElement(t,y.HTML):n===g.FRAME?(e._appendElement(t,y.HTML),t.ackSelfClosing=!0):n===g.NOFRAMES&&he(e,t)},[r.END_TAG_TOKEN]:function(e,t){t.tagName!==g.FRAMESET||e.openElements.isRootHtmlElementCurrent()||(e.openElements.pop(),e.fragmentContext||e.openElements.currentTagName===g.FRAMESET||(e.insertionMode=Y))},[r.EOF_TOKEN]:se},[Y]:{[r.CHARACTER_TOKEN]:ne,[r.NULL_CHARACTER_TOKEN]:ne,[r.WHITESPACE_CHARACTER_TOKEN]:ae,[r.COMMENT_TOKEN]:ie,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.HTML?we(e,t):n===g.NOFRAMES&&he(e,t)},[r.END_TAG_TOKEN]:function(e,t){t.tagName===g.HTML&&(e.insertionMode=$)},[r.EOF_TOKEN]:se},[z]:{[r.CHARACTER_TOKEN]:ze,[r.NULL_CHARACTER_TOKEN]:ze,[r.WHITESPACE_CHARACTER_TOKEN]:ge,[r.COMMENT_TOKEN]:oe,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){t.tagName===g.HTML?we(e,t):ze(e,t)},[r.END_TAG_TOKEN]:ze,[r.EOF_TOKEN]:se},[$]:{[r.CHARACTER_TOKEN]:ne,[r.NULL_CHARACTER_TOKEN]:ne,[r.WHITESPACE_CHARACTER_TOKEN]:ge,[r.COMMENT_TOKEN]:oe,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.HTML?we(e,t):n===g.NOFRAMES&&he(e,t)},[r.END_TAG_TOKEN]:ne,[r.EOF_TOKEN]:se}};function q(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagName)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):Ne(e,t),n}function X(e,t){let n=null;for(let r=e.openElements.stackTop;r>=0;r--){const i=e.openElements.items[r];if(i===t.element)break;e._isSpecialElement(i)&&(n=i)}return n||(e.openElements.popUntilElementPopped(t.element),e.activeFormattingElements.removeEntry(t)),n}function Z(e,t,n){let r=t,i=e.openElements.getCommonAncestor(t);for(let o=0,a=i;a!==n;o++,a=i){i=e.openElements.getCommonAncestor(a);const n=e.activeFormattingElements.getElementEntry(a),s=n&&o>=T;!n||s?(s&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(a)):(a=Q(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(a,r),r=a)}return r}function Q(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function J(e,t,n){if(e._isElementCausesFosterParenting(t))e._fosterParentElement(n);else{const r=e.treeAdapter.getTagName(t),i=e.treeAdapter.getNamespaceURI(t);r===g.TEMPLATE&&i===y.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function ee(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),i=n.token,o=e.treeAdapter.createElement(i.tagName,r,i.attrs);e._adoptNodes(t,o),e.treeAdapter.appendChild(t,o),e.activeFormattingElements.insertElementAfterBookmark(o,n.token),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,o)}function te(e,t){let n;for(let r=0;r0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagName!==g.TEMPLATE&&e._err(d.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(g.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e._popTmplInsertionMode(),e._resetInsertionMode()):e._err(d.endTagWithoutMatchingOpenElement)}function de(e,t){e.openElements.pop(),e.insertionMode=w,e._processToken(t)}function fe(e,t){const n=t.type===r.EOF_TOKEN?d.openElementsLeftAfterEof:d.disallowedContentInNoscriptInHead;e._err(n),e.openElements.pop(),e.insertionMode=A,e._processToken(t)}function me(e,t){e._insertFakeElement(g.BODY),e.insertionMode=L,e._processToken(t)}function ge(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function ye(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function ve(e,t){e.openElements.hasInButtonScope(g.P)&&e._closePElement(),e._insertElement(t,y.HTML)}function _e(e,t){e.openElements.hasInButtonScope(g.P)&&e._closePElement(),e._insertElement(t,y.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function be(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,y.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Ee(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,y.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function Te(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,y.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function xe(e,t){e._appendElement(t,y.HTML),t.ackSelfClosing=!0}function Se(e,t){e._switchToTextParsing(t,r.MODE.RAWTEXT)}function Ce(e,t){e.openElements.currentTagName===g.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,y.HTML)}function Ae(e,t){e.openElements.hasInScope(g.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,y.HTML)}function Re(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,y.HTML)}function we(e,t){const n=t.tagName;switch(n.length){case 1:n===g.I||n===g.S||n===g.B||n===g.U?be(e,t):n===g.P?ve(e,t):n===g.A?function(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(g.A);n&&(te(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,y.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t):Re(e,t);break;case 2:n===g.DL||n===g.OL||n===g.UL?ve(e,t):n===g.H1||n===g.H2||n===g.H3||n===g.H4||n===g.H5||n===g.H6?function(e,t){e.openElements.hasInButtonScope(g.P)&&e._closePElement();const n=e.openElements.currentTagName;n!==g.H1&&n!==g.H2&&n!==g.H3&&n!==g.H4&&n!==g.H5&&n!==g.H6||e.openElements.pop(),e._insertElement(t,y.HTML)}(e,t):n===g.LI||n===g.DD||n===g.DT?function(e,t){e.framesetOk=!1;const n=t.tagName;for(let t=e.openElements.stackTop;t>=0;t--){const r=e.openElements.items[t],i=e.treeAdapter.getTagName(r);let o=null;if(n===g.LI&&i===g.LI?o=g.LI:n!==g.DD&&n!==g.DT||i!==g.DD&&i!==g.DT||(o=i),o){e.openElements.generateImpliedEndTagsWithExclusion(o),e.openElements.popUntilTagNamePopped(o);break}if(i!==g.ADDRESS&&i!==g.DIV&&i!==g.P&&e._isSpecialElement(r))break}e.openElements.hasInButtonScope(g.P)&&e._closePElement(),e._insertElement(t,y.HTML)}(e,t):n===g.EM||n===g.TT?be(e,t):n===g.BR?Te(e,t):n===g.HR?function(e,t){e.openElements.hasInButtonScope(g.P)&&e._closePElement(),e._appendElement(t,y.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}(e,t):n===g.RB?Ae(e,t):n===g.RT||n===g.RP?function(e,t){e.openElements.hasInScope(g.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(g.RTC),e._insertElement(t,y.HTML)}(e,t):n!==g.TH&&n!==g.TD&&n!==g.TR&&Re(e,t);break;case 3:n===g.DIV||n===g.DIR||n===g.NAV?ve(e,t):n===g.PRE?_e(e,t):n===g.BIG?be(e,t):n===g.IMG||n===g.WBR?Te(e,t):n===g.XMP?function(e,t){e.openElements.hasInButtonScope(g.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,r.MODE.RAWTEXT)}(e,t):n===g.SVG?function(e,t){e._reconstructActiveFormattingElements(),p.adjustTokenSVGAttrs(t),p.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,y.SVG):e._insertElement(t,y.SVG),t.ackSelfClosing=!0}(e,t):n===g.RTC?Ae(e,t):n!==g.COL&&Re(e,t);break;case 4:n===g.HTML?function(e,t){0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}(e,t):n===g.BASE||n===g.LINK||n===g.META?he(e,t):n===g.BODY?function(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}(e,t):n===g.MAIN||n===g.MENU?ve(e,t):n===g.FORM?function(e,t){const n=e.openElements.tmplCount>0;e.formElement&&!n||(e.openElements.hasInButtonScope(g.P)&&e._closePElement(),e._insertElement(t,y.HTML),n||(e.formElement=e.openElements.current))}(e,t):n===g.CODE||n===g.FONT?be(e,t):n===g.NOBR?function(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(g.NOBR)&&(te(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,y.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t):n===g.AREA?Te(e,t):n===g.MATH?function(e,t){e._reconstructActiveFormattingElements(),p.adjustTokenMathMLAttrs(t),p.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,y.MATHML):e._insertElement(t,y.MATHML),t.ackSelfClosing=!0}(e,t):n===g.MENU?function(e,t){e.openElements.hasInButtonScope(g.P)&&e._closePElement(),e._insertElement(t,y.HTML)}(e,t):n!==g.HEAD&&Re(e,t);break;case 5:n===g.STYLE||n===g.TITLE?he(e,t):n===g.ASIDE?ve(e,t):n===g.SMALL?be(e,t):n===g.TABLE?function(e,t){e.treeAdapter.getDocumentMode(e.document)!==m.DOCUMENT_MODE.QUIRKS&&e.openElements.hasInButtonScope(g.P)&&e._closePElement(),e._insertElement(t,y.HTML),e.framesetOk=!1,e.insertionMode=N}(e,t):n===g.EMBED?Te(e,t):n===g.INPUT?function(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,y.HTML);const n=r.getTokenAttr(t,v.TYPE);n&&n.toLowerCase()===b||(e.framesetOk=!1),t.ackSelfClosing=!0}(e,t):n===g.PARAM||n===g.TRACK?xe(e,t):n===g.IMAGE?function(e,t){t.tagName=g.IMG,Te(e,t)}(e,t):n!==g.FRAME&&n!==g.TBODY&&n!==g.TFOOT&&n!==g.THEAD&&Re(e,t);break;case 6:n===g.SCRIPT?he(e,t):n===g.CENTER||n===g.FIGURE||n===g.FOOTER||n===g.HEADER||n===g.HGROUP||n===g.DIALOG?ve(e,t):n===g.BUTTON?function(e,t){e.openElements.hasInScope(g.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(g.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,y.HTML),e.framesetOk=!1}(e,t):n===g.STRIKE||n===g.STRONG?be(e,t):n===g.APPLET||n===g.OBJECT?Ee(e,t):n===g.KEYGEN?Te(e,t):n===g.SOURCE?xe(e,t):n===g.IFRAME?function(e,t){e.framesetOk=!1,e._switchToTextParsing(t,r.MODE.RAWTEXT)}(e,t):n===g.SELECT?function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,y.HTML),e.framesetOk=!1,e.insertionMode===N||e.insertionMode===k||e.insertionMode===P||e.insertionMode===M||e.insertionMode===F?e.insertionMode=B:e.insertionMode=H}(e,t):n===g.OPTION?Ce(e,t):Re(e,t);break;case 7:n===g.BGSOUND?he(e,t):n===g.DETAILS||n===g.ADDRESS||n===g.ARTICLE||n===g.SECTION||n===g.SUMMARY?ve(e,t):n===g.LISTING?_e(e,t):n===g.MARQUEE?Ee(e,t):n===g.NOEMBED?Se(e,t):n!==g.CAPTION&&Re(e,t);break;case 8:n===g.BASEFONT?he(e,t):n===g.FRAMESET?function(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,y.HTML),e.insertionMode=G)}(e,t):n===g.FIELDSET?ve(e,t):n===g.TEXTAREA?function(e,t){e._insertElement(t,y.HTML),e.skipNextNewLine=!0,e.tokenizer.state=r.MODE.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=O}(e,t):n===g.TEMPLATE?he(e,t):n===g.NOSCRIPT?e.options.scriptingEnabled?Se(e,t):Re(e,t):n===g.OPTGROUP?Ce(e,t):n!==g.COLGROUP&&Re(e,t);break;case 9:n===g.PLAINTEXT?function(e,t){e.openElements.hasInButtonScope(g.P)&&e._closePElement(),e._insertElement(t,y.HTML),e.tokenizer.state=r.MODE.PLAINTEXT}(e,t):Re(e,t);break;case 10:n===g.BLOCKQUOTE||n===g.FIGCAPTION?ve(e,t):Re(e,t);break;default:Re(e,t)}}function Le(e,t){const n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function Oe(e,t){const n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function Ne(e,t){const n=t.tagName;for(let t=e.openElements.stackTop;t>0;t--){const r=e.openElements.items[t];if(e.treeAdapter.getTagName(r)===n){e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilElementPopped(r);break}if(e._isSpecialElement(r))break}}function Ie(e,t){const n=t.tagName;switch(n.length){case 1:n===g.A||n===g.B||n===g.I||n===g.S||n===g.U?te(e,t):n===g.P?function(e){e.openElements.hasInButtonScope(g.P)||e._insertFakeElement(g.P),e._closePElement()}(e):Ne(e,t);break;case 2:n===g.DL||n===g.UL||n===g.OL?Le(e,t):n===g.LI?function(e){e.openElements.hasInListItemScope(g.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(g.LI),e.openElements.popUntilTagNamePopped(g.LI))}(e):n===g.DD||n===g.DT?function(e,t){const n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}(e,t):n===g.H1||n===g.H2||n===g.H3||n===g.H4||n===g.H5||n===g.H6?function(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}(e):n===g.BR?function(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(g.BR),e.openElements.pop(),e.framesetOk=!1}(e):n===g.EM||n===g.TT?te(e,t):Ne(e,t);break;case 3:n===g.BIG?te(e,t):n===g.DIR||n===g.DIV||n===g.NAV||n===g.PRE?Le(e,t):Ne(e,t);break;case 4:n===g.BODY?function(e){e.openElements.hasInScope(g.BODY)&&(e.insertionMode=j)}(e):n===g.HTML?function(e,t){e.openElements.hasInScope(g.BODY)&&(e.insertionMode=j,e._processToken(t))}(e,t):n===g.FORM?function(e){const t=e.openElements.tmplCount>0,n=e.formElement;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(g.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(g.FORM):e.openElements.remove(n))}(e):n===g.CODE||n===g.FONT||n===g.NOBR?te(e,t):n===g.MAIN||n===g.MENU?Le(e,t):Ne(e,t);break;case 5:n===g.ASIDE?Le(e,t):n===g.SMALL?te(e,t):Ne(e,t);break;case 6:n===g.CENTER||n===g.FIGURE||n===g.FOOTER||n===g.HEADER||n===g.HGROUP||n===g.DIALOG?Le(e,t):n===g.APPLET||n===g.OBJECT?Oe(e,t):n===g.STRIKE||n===g.STRONG?te(e,t):Ne(e,t);break;case 7:n===g.ADDRESS||n===g.ARTICLE||n===g.DETAILS||n===g.SECTION||n===g.SUMMARY||n===g.LISTING?Le(e,t):n===g.MARQUEE?Oe(e,t):Ne(e,t);break;case 8:n===g.FIELDSET?Le(e,t):n===g.TEMPLATE?pe(e,t):Ne(e,t);break;case 10:n===g.BLOCKQUOTE||n===g.FIGCAPTION?Le(e,t):Ne(e,t);break;default:Ne(e,t)}}function ke(e,t){e.tmplInsertionModeStackTop>-1?Ge(e,t):e.stopped=!0}function De(e,t){const n=e.openElements.currentTagName;n===g.TABLE||n===g.TBODY||n===g.TFOOT||n===g.THEAD||n===g.TR?(e.pendingCharacterTokens=[],e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=I,e._processToken(t)):Fe(e,t)}function Pe(e,t){const n=t.tagName;switch(n.length){case 2:n===g.TD||n===g.TH||n===g.TR?function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(g.TBODY),e.insertionMode=P,e._processToken(t)}(e,t):Fe(e,t);break;case 3:n===g.COL?function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(g.COLGROUP),e.insertionMode=D,e._processToken(t)}(e,t):Fe(e,t);break;case 4:n===g.FORM?function(e,t){e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,y.HTML),e.formElement=e.openElements.current,e.openElements.pop())}(e,t):Fe(e,t);break;case 5:n===g.TABLE?function(e,t){e.openElements.hasInTableScope(g.TABLE)&&(e.openElements.popUntilTagNamePopped(g.TABLE),e._resetInsertionMode(),e._processToken(t))}(e,t):n===g.STYLE?he(e,t):n===g.TBODY||n===g.TFOOT||n===g.THEAD?function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,y.HTML),e.insertionMode=P}(e,t):n===g.INPUT?function(e,t){const n=r.getTokenAttr(t,v.TYPE);n&&n.toLowerCase()===b?e._appendElement(t,y.HTML):Fe(e,t),t.ackSelfClosing=!0}(e,t):Fe(e,t);break;case 6:n===g.SCRIPT?he(e,t):Fe(e,t);break;case 7:n===g.CAPTION?function(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,y.HTML),e.insertionMode=k}(e,t):Fe(e,t);break;case 8:n===g.COLGROUP?function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,y.HTML),e.insertionMode=D}(e,t):n===g.TEMPLATE?he(e,t):Fe(e,t);break;default:Fe(e,t)}}function Me(e,t){const n=t.tagName;n===g.TABLE?e.openElements.hasInTableScope(g.TABLE)&&(e.openElements.popUntilTagNamePopped(g.TABLE),e._resetInsertionMode()):n===g.TEMPLATE?pe(e,t):n!==g.BODY&&n!==g.CAPTION&&n!==g.COL&&n!==g.COLGROUP&&n!==g.HTML&&n!==g.TBODY&&n!==g.TD&&n!==g.TFOOT&&n!==g.TH&&n!==g.THEAD&&n!==g.TR&&Fe(e,t)}function Fe(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,e._processTokenInBodyMode(t),e.fosterParentingEnabled=n}function He(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n0?(e.openElements.popUntilTagNamePopped(g.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e._popTmplInsertionMode(),e._resetInsertionMode(),e._processToken(t)):e.stopped=!0}function Ye(e,t){e.insertionMode=L,e._processToken(t)}function ze(e,t){e.insertionMode=L,e._processToken(t)}e.exports=class{constructor(e){this.options=u(_,e),this.treeAdapter=this.options.treeAdapter,this.pendingScript=null,this.options.sourceCodeLocationInfo&&l.install(this,a),this.options.onParseError&&l.install(this,s,{onParseError:this.options.onParseError})}parse(e){const t=this.treeAdapter.createDocument();return this._bootstrap(t,null),this.tokenizer.write(e,!0),this._runParsingLoop(null),t}parseFragment(e,t){t||(t=this.treeAdapter.createElement(g.TEMPLATE,y.HTML,[]));const n=this.treeAdapter.createElement("documentmock",y.HTML,[]);this._bootstrap(n,t),this.treeAdapter.getTagName(t)===g.TEMPLATE&&this._pushTmplInsertionMode(U),this._initTokenizerForFragmentParsing(),this._insertFakeRootElement(),this._resetInsertionMode(),this._findFormInFragmentContext(),this.tokenizer.write(e,!0),this._runParsingLoop(null);const r=this.treeAdapter.getFirstChild(n),i=this.treeAdapter.createDocumentFragment();return this._adoptNodes(r,i),i}_bootstrap(e,t){this.tokenizer=new r(this.options),this.stopped=!1,this.insertionMode=x,this.originalInsertionMode="",this.document=e,this.fragmentContext=t,this.headElement=null,this.formElement=null,this.openElements=new i(this.document,this.treeAdapter),this.activeFormattingElements=new o(this.treeAdapter),this.tmplInsertionModeStack=[],this.tmplInsertionModeStackTop=-1,this.currentTmplInsertionMode=null,this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1}_err(){}_runParsingLoop(e){for(;!this.stopped;){this._setupTokenizerCDATAMode();const t=this.tokenizer.getNextToken();if(t.type===r.HIBERNATION_TOKEN)break;if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.type===r.WHITESPACE_CHARACTER_TOKEN&&"\n"===t.chars[0])){if(1===t.chars.length)continue;t.chars=t.chars.substr(1)}if(this._processInputToken(t),e&&this.pendingScript)break}}runParsingLoopForCurrentChunk(e,t){if(this._runParsingLoop(t),t&&this.pendingScript){const e=this.pendingScript;return this.pendingScript=null,void t(e)}e&&e()}_setupTokenizerCDATAMode(){const e=this._getAdjustedCurrentElement();this.tokenizer.allowCDATA=e&&e!==this.document&&this.treeAdapter.getNamespaceURI(e)!==y.HTML&&!this._isIntegrationPoint(e)}_switchToTextParsing(e,t){this._insertElement(e,y.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=O}switchToPlaintextParsing(){this.insertionMode=O,this.originalInsertionMode=L,this.tokenizer.state=r.MODE.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;do{if(this.treeAdapter.getTagName(e)===g.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}while(e)}_initTokenizerForFragmentParsing(){if(this.treeAdapter.getNamespaceURI(this.fragmentContext)===y.HTML){const e=this.treeAdapter.getTagName(this.fragmentContext);e===g.TITLE||e===g.TEXTAREA?this.tokenizer.state=r.MODE.RCDATA:e===g.STYLE||e===g.XMP||e===g.IFRAME||e===g.NOEMBED||e===g.NOFRAMES||e===g.NOSCRIPT?this.tokenizer.state=r.MODE.RAWTEXT:e===g.SCRIPT?this.tokenizer.state=r.MODE.SCRIPT_DATA:e===g.PLAINTEXT&&(this.tokenizer.state=r.MODE.PLAINTEXT)}}_setDocumentType(e){const t=e.name||"",n=e.publicId||"",r=e.systemId||"";this.treeAdapter.setDocumentType(this.document,t,n,r)}_attachElementToTree(e){if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{const t=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.appendChild(t,e)}}_appendElement(e,t){const n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n)}_insertElement(e,t){const n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n),this.openElements.push(n)}_insertFakeElement(e){const t=this.treeAdapter.createElement(e,y.HTML,[]);this._attachElementToTree(t),this.openElements.push(t)}_insertTemplate(e){const t=this.treeAdapter.createElement(e.tagName,y.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t),this.openElements.push(t)}_insertFakeRootElement(){const e=this.treeAdapter.createElement(g.HTML,y.HTML,[]);this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e)}_appendCommentNode(e,t){const n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n)}_insertCharacters(e){if(this._shouldFosterParentOnInsertion())this._fosterParentText(e.chars);else{const t=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.insertText(t,e.chars)}}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_shouldProcessTokenInForeignContent(e){const t=this._getAdjustedCurrentElement();if(!t||t===this.document)return!1;const n=this.treeAdapter.getNamespaceURI(t);if(n===y.HTML)return!1;if(this.treeAdapter.getTagName(t)===g.ANNOTATION_XML&&n===y.MATHML&&e.type===r.START_TAG_TOKEN&&e.tagName===g.SVG)return!1;const i=e.type===r.CHARACTER_TOKEN||e.type===r.NULL_CHARACTER_TOKEN||e.type===r.WHITESPACE_CHARACTER_TOKEN;return!((e.type===r.START_TAG_TOKEN&&e.tagName!==g.MGLYPH&&e.tagName!==g.MALIGNMARK||i)&&this._isIntegrationPoint(t,y.MATHML)||(e.type===r.START_TAG_TOKEN||i)&&this._isIntegrationPoint(t,y.HTML)||e.type===r.EOF_TOKEN)}_processToken(e){K[this.insertionMode][e.type](this,e)}_processTokenInBodyMode(e){K[L][e.type](this,e)}_processTokenInForeignContent(e){e.type===r.CHARACTER_TOKEN?function(e,t){e._insertCharacters(t),e.framesetOk=!1}(this,e):e.type===r.NULL_CHARACTER_TOKEN?function(e,t){t.chars=f.REPLACEMENT_CHARACTER,e._insertCharacters(t)}(this,e):e.type===r.WHITESPACE_CHARACTER_TOKEN?ae(this,e):e.type===r.COMMENT_TOKEN?ie(this,e):e.type===r.START_TAG_TOKEN?function(e,t){if(p.causesExit(t)&&!e.fragmentContext){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==y.HTML&&!e._isIntegrationPoint(e.openElements.current);)e.openElements.pop();e._processToken(t)}else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===y.MATHML?p.adjustTokenMathMLAttrs(t):r===y.SVG&&(p.adjustTokenSVGTagName(t),p.adjustTokenSVGAttrs(t)),p.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}(this,e):e.type===r.END_TAG_TOKEN&&function(e,t){for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===y.HTML){e._processToken(t);break}if(e.treeAdapter.getTagName(r).toLowerCase()===t.tagName){e.openElements.popUntilElementPopped(r);break}}}(this,e)}_processInputToken(e){this._shouldProcessTokenInForeignContent(e)?this._processTokenInForeignContent(e):this._processToken(e),e.type===r.START_TAG_TOKEN&&e.selfClosing&&!e.ackSelfClosing&&this._err(d.nonVoidHtmlElementStartTagWithTrailingSolidus)}_isIntegrationPoint(e,t){const n=this.treeAdapter.getTagName(e),r=this.treeAdapter.getNamespaceURI(e),i=this.treeAdapter.getAttrList(e);return p.isIntegrationPoint(n,r,i,t)}_reconstructActiveFormattingElements(){const e=this.activeFormattingElements.length;if(e){let t=e,n=null;do{if(t--,n=this.activeFormattingElements.entries[t],n.type===o.MARKER_ENTRY||this.openElements.contains(n.element)){t++;break}}while(t>0);for(let r=t;r=0;e--){let n=this.openElements.items[e];0===e&&(t=!0,this.fragmentContext&&(n=this.fragmentContext));const r=this.treeAdapter.getTagName(n),i=W[r];if(i){this.insertionMode=i;break}if(!(t||r!==g.TD&&r!==g.TH)){this.insertionMode=F;break}if(!t&&r===g.HEAD){this.insertionMode=A;break}if(r===g.SELECT){this._resetInsertionModeForSelect(e);break}if(r===g.TEMPLATE){this.insertionMode=this.currentTmplInsertionMode;break}if(r===g.HTML){this.insertionMode=this.headElement?w:C;break}if(t){this.insertionMode=L;break}}}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){const e=this.openElements.items[t],n=this.treeAdapter.getTagName(e);if(n===g.TEMPLATE)break;if(n===g.TABLE)return void(this.insertionMode=B)}this.insertionMode=H}_pushTmplInsertionMode(e){this.tmplInsertionModeStack.push(e),this.tmplInsertionModeStackTop++,this.currentTmplInsertionMode=e}_popTmplInsertionMode(){this.tmplInsertionModeStack.pop(),this.tmplInsertionModeStackTop--,this.currentTmplInsertionMode=this.tmplInsertionModeStack[this.tmplInsertionModeStackTop]}_isElementCausesFosterParenting(e){const t=this.treeAdapter.getTagName(e);return t===g.TABLE||t===g.TBODY||t===g.TFOOT||t===g.THEAD||t===g.TR}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.current)}_findFosterParentingLocation(){const e={parent:null,beforeElement:null};for(let t=this.openElements.stackTop;t>=0;t--){const n=this.openElements.items[t],r=this.treeAdapter.getTagName(n),i=this.treeAdapter.getNamespaceURI(n);if(r===g.TEMPLATE&&i===y.HTML){e.parent=this.treeAdapter.getTemplateContent(n);break}if(r===g.TABLE){e.parent=this.treeAdapter.getParentNode(n),e.parent?e.beforeElement=n:e.parent=this.openElements.items[t-1];break}}return e.parent||(e.parent=this.openElements.items[0]),e}_fosterParentElement(e){const t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_fosterParentText(e){const t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertTextBefore(t.parent,e,t.beforeElement):this.treeAdapter.insertText(t.parent,e)}_isSpecialElement(e){const t=this.treeAdapter.getTagName(e),n=this.treeAdapter.getNamespaceURI(e);return m.SPECIAL_ELEMENTS[n][t]}}},5331:(e,t,n)=>{"use strict";const r=n(162),i=r.TAG_NAMES,o=r.NAMESPACES;function a(e){switch(e.length){case 1:return e===i.P;case 2:return e===i.RB||e===i.RP||e===i.RT||e===i.DD||e===i.DT||e===i.LI;case 3:return e===i.RTC;case 6:return e===i.OPTION;case 8:return e===i.OPTGROUP}return!1}function s(e){switch(e.length){case 1:return e===i.P;case 2:return e===i.RB||e===i.RP||e===i.RT||e===i.DD||e===i.DT||e===i.LI||e===i.TD||e===i.TH||e===i.TR;case 3:return e===i.RTC;case 5:return e===i.TBODY||e===i.TFOOT||e===i.THEAD;case 6:return e===i.OPTION;case 7:return e===i.CAPTION;case 8:return e===i.OPTGROUP||e===i.COLGROUP}return!1}function l(e,t){switch(e.length){case 2:if(e===i.TD||e===i.TH)return t===o.HTML;if(e===i.MI||e===i.MO||e===i.MN||e===i.MS)return t===o.MATHML;break;case 4:if(e===i.HTML)return t===o.HTML;if(e===i.DESC)return t===o.SVG;break;case 5:if(e===i.TABLE)return t===o.HTML;if(e===i.MTEXT)return t===o.MATHML;if(e===i.TITLE)return t===o.SVG;break;case 6:return(e===i.APPLET||e===i.OBJECT)&&t===o.HTML;case 7:return(e===i.CAPTION||e===i.MARQUEE)&&t===o.HTML;case 8:return e===i.TEMPLATE&&t===o.HTML;case 13:return e===i.FOREIGN_OBJECT&&t===o.SVG;case 14:return e===i.ANNOTATION_XML&&t===o.MATHML}return!1}e.exports=class{constructor(e,t){this.stackTop=-1,this.items=[],this.current=e,this.currentTagName=null,this.currentTmplContent=null,this.tmplCount=0,this.treeAdapter=t}_indexOf(e){let t=-1;for(let n=this.stackTop;n>=0;n--)if(this.items[n]===e){t=n;break}return t}_isInTemplate(){return this.currentTagName===i.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===o.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagName=this.current&&this.treeAdapter.getTagName(this.current),this.currentTmplContent=this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):null}push(e){this.items[++this.stackTop]=e,this._updateCurrentElement(),this._isInTemplate()&&this.tmplCount++}pop(){this.stackTop--,this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this._updateCurrentElement()}replace(e,t){const n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&this._updateCurrentElement()}insertAfter(e,t){const n=this._indexOf(e)+1;this.items.splice(n,0,t),n===++this.stackTop&&this._updateCurrentElement()}popUntilTagNamePopped(e){for(;this.stackTop>-1;){const t=this.currentTagName,n=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),t===e&&n===o.HTML)break}}popUntilElementPopped(e){for(;this.stackTop>-1;){const t=this.current;if(this.pop(),t===e)break}}popUntilNumberedHeaderPopped(){for(;this.stackTop>-1;){const e=this.currentTagName,t=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),e===i.H1||e===i.H2||e===i.H3||e===i.H4||e===i.H5||e===i.H6&&t===o.HTML)break}}popUntilTableCellPopped(){for(;this.stackTop>-1;){const e=this.currentTagName,t=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),e===i.TD||e===i.TH&&t===o.HTML)break}}popAllUpToHtmlElement(){this.stackTop=0,this._updateCurrentElement()}clearBackToTableContext(){for(;this.currentTagName!==i.TABLE&&this.currentTagName!==i.TEMPLATE&&this.currentTagName!==i.HTML||this.treeAdapter.getNamespaceURI(this.current)!==o.HTML;)this.pop()}clearBackToTableBodyContext(){for(;this.currentTagName!==i.TBODY&&this.currentTagName!==i.TFOOT&&this.currentTagName!==i.THEAD&&this.currentTagName!==i.TEMPLATE&&this.currentTagName!==i.HTML||this.treeAdapter.getNamespaceURI(this.current)!==o.HTML;)this.pop()}clearBackToTableRowContext(){for(;this.currentTagName!==i.TR&&this.currentTagName!==i.TEMPLATE&&this.currentTagName!==i.HTML||this.treeAdapter.getNamespaceURI(this.current)!==o.HTML;)this.pop()}remove(e){for(let t=this.stackTop;t>=0;t--)if(this.items[t]===e){this.items.splice(t,1),this.stackTop--,this._updateCurrentElement();break}}tryPeekProperlyNestedBodyElement(){const e=this.items[1];return e&&this.treeAdapter.getTagName(e)===i.BODY?e:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e);return--t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.currentTagName===i.HTML}hasInScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===o.HTML)return!0;if(l(n,r))return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){const t=this.treeAdapter.getTagName(this.items[e]),n=this.treeAdapter.getNamespaceURI(this.items[e]);if((t===i.H1||t===i.H2||t===i.H3||t===i.H4||t===i.H5||t===i.H6)&&n===o.HTML)return!0;if(l(t,n))return!1}return!0}hasInListItemScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===o.HTML)return!0;if((n===i.UL||n===i.OL)&&r===o.HTML||l(n,r))return!1}return!0}hasInButtonScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===o.HTML)return!0;if(n===i.BUTTON&&r===o.HTML||l(n,r))return!1}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]);if(this.treeAdapter.getNamespaceURI(this.items[t])===o.HTML){if(n===e)return!0;if(n===i.TABLE||n===i.TEMPLATE||n===i.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){const t=this.treeAdapter.getTagName(this.items[e]);if(this.treeAdapter.getNamespaceURI(this.items[e])===o.HTML){if(t===i.TBODY||t===i.THEAD||t===i.TFOOT)return!0;if(t===i.TABLE||t===i.HTML)return!1}}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]);if(this.treeAdapter.getNamespaceURI(this.items[t])===o.HTML){if(n===e)return!0;if(n!==i.OPTION&&n!==i.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;a(this.currentTagName);)this.pop()}generateImpliedEndTagsThoroughly(){for(;s(this.currentTagName);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;a(this.currentTagName)&&this.currentTagName!==e;)this.pop()}}},3102:(e,t,n)=>{"use strict";const r=n(5168),i=n(7616),o=n(1051),a=n(1302),s=i.CODE_POINTS,l=i.CODE_POINT_SEQUENCES,c={128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376},u="DATA_STATE",h="RCDATA_STATE",p="RAWTEXT_STATE",d="SCRIPT_DATA_STATE",f="PLAINTEXT_STATE",m="TAG_OPEN_STATE",g="END_TAG_OPEN_STATE",y="TAG_NAME_STATE",v="RCDATA_LESS_THAN_SIGN_STATE",_="RCDATA_END_TAG_OPEN_STATE",b="RCDATA_END_TAG_NAME_STATE",E="RAWTEXT_LESS_THAN_SIGN_STATE",T="RAWTEXT_END_TAG_OPEN_STATE",x="RAWTEXT_END_TAG_NAME_STATE",S="SCRIPT_DATA_LESS_THAN_SIGN_STATE",C="SCRIPT_DATA_END_TAG_OPEN_STATE",A="SCRIPT_DATA_END_TAG_NAME_STATE",R="SCRIPT_DATA_ESCAPE_START_STATE",w="SCRIPT_DATA_ESCAPE_START_DASH_STATE",L="SCRIPT_DATA_ESCAPED_STATE",O="SCRIPT_DATA_ESCAPED_DASH_STATE",N="SCRIPT_DATA_ESCAPED_DASH_DASH_STATE",I="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN_STATE",k="SCRIPT_DATA_ESCAPED_END_TAG_OPEN_STATE",D="SCRIPT_DATA_ESCAPED_END_TAG_NAME_STATE",P="SCRIPT_DATA_DOUBLE_ESCAPE_START_STATE",M="SCRIPT_DATA_DOUBLE_ESCAPED_STATE",F="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_STATE",H="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH_STATE",B="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN_STATE",U="SCRIPT_DATA_DOUBLE_ESCAPE_END_STATE",j="BEFORE_ATTRIBUTE_NAME_STATE",G="ATTRIBUTE_NAME_STATE",Y="AFTER_ATTRIBUTE_NAME_STATE",z="BEFORE_ATTRIBUTE_VALUE_STATE",$="ATTRIBUTE_VALUE_DOUBLE_QUOTED_STATE",W="ATTRIBUTE_VALUE_SINGLE_QUOTED_STATE",V="ATTRIBUTE_VALUE_UNQUOTED_STATE",K="AFTER_ATTRIBUTE_VALUE_QUOTED_STATE",q="SELF_CLOSING_START_TAG_STATE",X="BOGUS_COMMENT_STATE",Z="MARKUP_DECLARATION_OPEN_STATE",Q="COMMENT_START_STATE",J="COMMENT_START_DASH_STATE",ee="COMMENT_STATE",te="COMMENT_LESS_THAN_SIGN_STATE",ne="COMMENT_LESS_THAN_SIGN_BANG_STATE",re="COMMENT_LESS_THAN_SIGN_BANG_DASH_STATE",ie="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH_STATE",oe="COMMENT_END_DASH_STATE",ae="COMMENT_END_STATE",se="COMMENT_END_BANG_STATE",le="DOCTYPE_STATE",ce="BEFORE_DOCTYPE_NAME_STATE",ue="DOCTYPE_NAME_STATE",he="AFTER_DOCTYPE_NAME_STATE",pe="AFTER_DOCTYPE_PUBLIC_KEYWORD_STATE",de="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER_STATE",fe="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED_STATE",me="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED_STATE",ge="AFTER_DOCTYPE_PUBLIC_IDENTIFIER_STATE",ye="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS_STATE",ve="AFTER_DOCTYPE_SYSTEM_KEYWORD_STATE",_e="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER_STATE",be="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED_STATE",Ee="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED_STATE",Te="AFTER_DOCTYPE_SYSTEM_IDENTIFIER_STATE",xe="BOGUS_DOCTYPE_STATE",Se="CDATA_SECTION_STATE",Ce="CDATA_SECTION_BRACKET_STATE",Ae="CDATA_SECTION_END_STATE",Re="CHARACTER_REFERENCE_STATE",we="NAMED_CHARACTER_REFERENCE_STATE",Le="AMBIGUOS_AMPERSAND_STATE",Oe="NUMERIC_CHARACTER_REFERENCE_STATE",Ne="HEXADEMICAL_CHARACTER_REFERENCE_START_STATE",Ie="DECIMAL_CHARACTER_REFERENCE_START_STATE",ke="HEXADEMICAL_CHARACTER_REFERENCE_STATE",De="DECIMAL_CHARACTER_REFERENCE_STATE",Pe="NUMERIC_CHARACTER_REFERENCE_END_STATE";function Me(e){return e===s.SPACE||e===s.LINE_FEED||e===s.TABULATION||e===s.FORM_FEED}function Fe(e){return e>=s.DIGIT_0&&e<=s.DIGIT_9}function He(e){return e>=s.LATIN_CAPITAL_A&&e<=s.LATIN_CAPITAL_Z}function Be(e){return e>=s.LATIN_SMALL_A&&e<=s.LATIN_SMALL_Z}function Ue(e){return Be(e)||He(e)}function je(e){return Ue(e)||Fe(e)}function Ge(e){return e>=s.LATIN_CAPITAL_A&&e<=s.LATIN_CAPITAL_F}function Ye(e){return e>=s.LATIN_SMALL_A&&e<=s.LATIN_SMALL_F}function ze(e){return e+32}function $e(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(e>>>10&1023|55296)+String.fromCharCode(56320|1023&e))}function We(e){return String.fromCharCode(ze(e))}function Ve(e,t){const n=o[++e];let r=++e,i=r+n-1;for(;r<=i;){const e=r+i>>>1,a=o[e];if(at))return o[e+n];i=e-1}}return-1}class Ke{constructor(){this.preprocessor=new r,this.tokenQueue=[],this.allowCDATA=!1,this.state=u,this.returnState="",this.charRefCode=-1,this.tempBuff=[],this.lastStartTagName="",this.consumedAfterSnapshot=-1,this.active=!1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr=null}_err(){}_errOnNextCodePoint(e){this._consume(),this._err(e),this._unconsume()}getNextToken(){for(;!this.tokenQueue.length&&this.active;){this.consumedAfterSnapshot=0;const e=this._consume();this._ensureHibernation()||this[this.state](e)}return this.tokenQueue.shift()}write(e,t){this.active=!0,this.preprocessor.write(e,t)}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e)}_ensureHibernation(){if(this.preprocessor.endOfChunkHit){for(;this.consumedAfterSnapshot>0;this.consumedAfterSnapshot--)this.preprocessor.retreat();return this.active=!1,this.tokenQueue.push({type:Ke.HIBERNATION_TOKEN}),!0}return!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(){this.consumedAfterSnapshot--,this.preprocessor.retreat()}_reconsumeInState(e){this.state=e,this._unconsume()}_consumeSequenceIfMatch(e,t,n){let r=0,i=!0;const o=e.length;let a,l=0,c=t;for(;l0&&(c=this._consume(),r++),c===s.EOF){i=!1;break}if(a=e[l],c!==a&&(n||c!==ze(a))){i=!1;break}}if(!i)for(;r--;)this._unconsume();return i}_isTempBufferEqualToScriptString(){if(this.tempBuff.length!==l.SCRIPT_STRING.length)return!1;for(let e=0;e0&&this._err(a.endTagWithAttributes),e.selfClosing&&this._err(a.endTagWithTrailingSolidus)),this.tokenQueue.push(e)}_emitCurrentCharacterToken(){this.currentCharacterToken&&(this.tokenQueue.push(this.currentCharacterToken),this.currentCharacterToken=null)}_emitEOFToken(){this._createEOFToken(),this._emitCurrentToken()}_appendCharToCurrentCharacterToken(e,t){this.currentCharacterToken&&this.currentCharacterToken.type!==e&&this._emitCurrentCharacterToken(),this.currentCharacterToken?this.currentCharacterToken.chars+=t:this._createCharacterToken(e,t)}_emitCodePoint(e){let t=Ke.CHARACTER_TOKEN;Me(e)?t=Ke.WHITESPACE_CHARACTER_TOKEN:e===s.NULL&&(t=Ke.NULL_CHARACTER_TOKEN),this._appendCharToCurrentCharacterToken(t,$e(e))}_emitSeveralCodePoints(e){for(let t=0;t-1;){const e=o[r],i=e<7;i&&1&e&&(t=2&e?[o[++r],o[++r]]:[o[++r]],n=0);const a=this._consume();if(this.tempBuff.push(a),n++,a===s.EOF)break;r=i?4&e?Ve(r,a):-1:a===e?++r:-1}for(;n--;)this.tempBuff.pop(),this._unconsume();return t}_isCharacterReferenceInAttribute(){return this.returnState===$||this.returnState===W||this.returnState===V}_isCharacterReferenceAttributeQuirk(e){if(!e&&this._isCharacterReferenceInAttribute()){const e=this._consume();return this._unconsume(),e===s.EQUALS_SIGN||je(e)}return!1}_flushCodePointsConsumedAsCharacterReference(){if(this._isCharacterReferenceInAttribute())for(let e=0;e")):e===s.NULL?(this._err(a.unexpectedNullCharacter),this.state=L,this._emitChars(i.REPLACEMENT_CHARACTER)):e===s.EOF?(this._err(a.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=L,this._emitCodePoint(e))}[I](e){e===s.SOLIDUS?(this.tempBuff=[],this.state=k):Ue(e)?(this.tempBuff=[],this._emitChars("<"),this._reconsumeInState(P)):(this._emitChars("<"),this._reconsumeInState(L))}[k](e){Ue(e)?(this._createEndTagToken(),this._reconsumeInState(D)):(this._emitChars("")):e===s.NULL?(this._err(a.unexpectedNullCharacter),this.state=M,this._emitChars(i.REPLACEMENT_CHARACTER)):e===s.EOF?(this._err(a.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=M,this._emitCodePoint(e))}[B](e){e===s.SOLIDUS?(this.tempBuff=[],this.state=U,this._emitChars("/")):this._reconsumeInState(M)}[U](e){Me(e)||e===s.SOLIDUS||e===s.GREATER_THAN_SIGN?(this.state=this._isTempBufferEqualToScriptString()?L:M,this._emitCodePoint(e)):He(e)?(this.tempBuff.push(ze(e)),this._emitCodePoint(e)):Be(e)?(this.tempBuff.push(e),this._emitCodePoint(e)):this._reconsumeInState(M)}[j](e){Me(e)||(e===s.SOLIDUS||e===s.GREATER_THAN_SIGN||e===s.EOF?this._reconsumeInState(Y):e===s.EQUALS_SIGN?(this._err(a.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=G):(this._createAttr(""),this._reconsumeInState(G)))}[G](e){Me(e)||e===s.SOLIDUS||e===s.GREATER_THAN_SIGN||e===s.EOF?(this._leaveAttrName(Y),this._unconsume()):e===s.EQUALS_SIGN?this._leaveAttrName(z):He(e)?this.currentAttr.name+=We(e):e===s.QUOTATION_MARK||e===s.APOSTROPHE||e===s.LESS_THAN_SIGN?(this._err(a.unexpectedCharacterInAttributeName),this.currentAttr.name+=$e(e)):e===s.NULL?(this._err(a.unexpectedNullCharacter),this.currentAttr.name+=i.REPLACEMENT_CHARACTER):this.currentAttr.name+=$e(e)}[Y](e){Me(e)||(e===s.SOLIDUS?this.state=q:e===s.EQUALS_SIGN?this.state=z:e===s.GREATER_THAN_SIGN?(this.state=u,this._emitCurrentToken()):e===s.EOF?(this._err(a.eofInTag),this._emitEOFToken()):(this._createAttr(""),this._reconsumeInState(G)))}[z](e){Me(e)||(e===s.QUOTATION_MARK?this.state=$:e===s.APOSTROPHE?this.state=W:e===s.GREATER_THAN_SIGN?(this._err(a.missingAttributeValue),this.state=u,this._emitCurrentToken()):this._reconsumeInState(V))}[$](e){e===s.QUOTATION_MARK?this.state=K:e===s.AMPERSAND?(this.returnState=$,this.state=Re):e===s.NULL?(this._err(a.unexpectedNullCharacter),this.currentAttr.value+=i.REPLACEMENT_CHARACTER):e===s.EOF?(this._err(a.eofInTag),this._emitEOFToken()):this.currentAttr.value+=$e(e)}[W](e){e===s.APOSTROPHE?this.state=K:e===s.AMPERSAND?(this.returnState=W,this.state=Re):e===s.NULL?(this._err(a.unexpectedNullCharacter),this.currentAttr.value+=i.REPLACEMENT_CHARACTER):e===s.EOF?(this._err(a.eofInTag),this._emitEOFToken()):this.currentAttr.value+=$e(e)}[V](e){Me(e)?this._leaveAttrValue(j):e===s.AMPERSAND?(this.returnState=V,this.state=Re):e===s.GREATER_THAN_SIGN?(this._leaveAttrValue(u),this._emitCurrentToken()):e===s.NULL?(this._err(a.unexpectedNullCharacter),this.currentAttr.value+=i.REPLACEMENT_CHARACTER):e===s.QUOTATION_MARK||e===s.APOSTROPHE||e===s.LESS_THAN_SIGN||e===s.EQUALS_SIGN||e===s.GRAVE_ACCENT?(this._err(a.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=$e(e)):e===s.EOF?(this._err(a.eofInTag),this._emitEOFToken()):this.currentAttr.value+=$e(e)}[K](e){Me(e)?this._leaveAttrValue(j):e===s.SOLIDUS?this._leaveAttrValue(q):e===s.GREATER_THAN_SIGN?(this._leaveAttrValue(u),this._emitCurrentToken()):e===s.EOF?(this._err(a.eofInTag),this._emitEOFToken()):(this._err(a.missingWhitespaceBetweenAttributes),this._reconsumeInState(j))}[q](e){e===s.GREATER_THAN_SIGN?(this.currentToken.selfClosing=!0,this.state=u,this._emitCurrentToken()):e===s.EOF?(this._err(a.eofInTag),this._emitEOFToken()):(this._err(a.unexpectedSolidusInTag),this._reconsumeInState(j))}[X](e){e===s.GREATER_THAN_SIGN?(this.state=u,this._emitCurrentToken()):e===s.EOF?(this._emitCurrentToken(),this._emitEOFToken()):e===s.NULL?(this._err(a.unexpectedNullCharacter),this.currentToken.data+=i.REPLACEMENT_CHARACTER):this.currentToken.data+=$e(e)}[Z](e){this._consumeSequenceIfMatch(l.DASH_DASH_STRING,e,!0)?(this._createCommentToken(),this.state=Q):this._consumeSequenceIfMatch(l.DOCTYPE_STRING,e,!1)?this.state=le:this._consumeSequenceIfMatch(l.CDATA_START_STRING,e,!0)?this.allowCDATA?this.state=Se:(this._err(a.cdataInHtmlContent),this._createCommentToken(),this.currentToken.data="[CDATA[",this.state=X):this._ensureHibernation()||(this._err(a.incorrectlyOpenedComment),this._createCommentToken(),this._reconsumeInState(X))}[Q](e){e===s.HYPHEN_MINUS?this.state=J:e===s.GREATER_THAN_SIGN?(this._err(a.abruptClosingOfEmptyComment),this.state=u,this._emitCurrentToken()):this._reconsumeInState(ee)}[J](e){e===s.HYPHEN_MINUS?this.state=ae:e===s.GREATER_THAN_SIGN?(this._err(a.abruptClosingOfEmptyComment),this.state=u,this._emitCurrentToken()):e===s.EOF?(this._err(a.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="-",this._reconsumeInState(ee))}[ee](e){e===s.HYPHEN_MINUS?this.state=oe:e===s.LESS_THAN_SIGN?(this.currentToken.data+="<",this.state=te):e===s.NULL?(this._err(a.unexpectedNullCharacter),this.currentToken.data+=i.REPLACEMENT_CHARACTER):e===s.EOF?(this._err(a.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.data+=$e(e)}[te](e){e===s.EXCLAMATION_MARK?(this.currentToken.data+="!",this.state=ne):e===s.LESS_THAN_SIGN?this.currentToken.data+="!":this._reconsumeInState(ee)}[ne](e){e===s.HYPHEN_MINUS?this.state=re:this._reconsumeInState(ee)}[re](e){e===s.HYPHEN_MINUS?this.state=ie:this._reconsumeInState(oe)}[ie](e){e!==s.GREATER_THAN_SIGN&&e!==s.EOF&&this._err(a.nestedComment),this._reconsumeInState(ae)}[oe](e){e===s.HYPHEN_MINUS?this.state=ae:e===s.EOF?(this._err(a.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="-",this._reconsumeInState(ee))}[ae](e){e===s.GREATER_THAN_SIGN?(this.state=u,this._emitCurrentToken()):e===s.EXCLAMATION_MARK?this.state=se:e===s.HYPHEN_MINUS?this.currentToken.data+="-":e===s.EOF?(this._err(a.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="--",this._reconsumeInState(ee))}[se](e){e===s.HYPHEN_MINUS?(this.currentToken.data+="--!",this.state=oe):e===s.GREATER_THAN_SIGN?(this._err(a.incorrectlyClosedComment),this.state=u,this._emitCurrentToken()):e===s.EOF?(this._err(a.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="--!",this._reconsumeInState(ee))}[le](e){Me(e)?this.state=ce:e===s.GREATER_THAN_SIGN?this._reconsumeInState(ce):e===s.EOF?(this._err(a.eofInDoctype),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(a.missingWhitespaceBeforeDoctypeName),this._reconsumeInState(ce))}[ce](e){Me(e)||(He(e)?(this._createDoctypeToken(We(e)),this.state=ue):e===s.NULL?(this._err(a.unexpectedNullCharacter),this._createDoctypeToken(i.REPLACEMENT_CHARACTER),this.state=ue):e===s.GREATER_THAN_SIGN?(this._err(a.missingDoctypeName),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=u):e===s.EOF?(this._err(a.eofInDoctype),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._createDoctypeToken($e(e)),this.state=ue))}[ue](e){Me(e)?this.state=he:e===s.GREATER_THAN_SIGN?(this.state=u,this._emitCurrentToken()):He(e)?this.currentToken.name+=We(e):e===s.NULL?(this._err(a.unexpectedNullCharacter),this.currentToken.name+=i.REPLACEMENT_CHARACTER):e===s.EOF?(this._err(a.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.name+=$e(e)}[he](e){Me(e)||(e===s.GREATER_THAN_SIGN?(this.state=u,this._emitCurrentToken()):e===s.EOF?(this._err(a.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this._consumeSequenceIfMatch(l.PUBLIC_STRING,e,!1)?this.state=pe:this._consumeSequenceIfMatch(l.SYSTEM_STRING,e,!1)?this.state=ve:this._ensureHibernation()||(this._err(a.invalidCharacterSequenceAfterDoctypeName),this.currentToken.forceQuirks=!0,this._reconsumeInState(xe)))}[pe](e){Me(e)?this.state=de:e===s.QUOTATION_MARK?(this._err(a.missingWhitespaceAfterDoctypePublicKeyword),this.currentToken.publicId="",this.state=fe):e===s.APOSTROPHE?(this._err(a.missingWhitespaceAfterDoctypePublicKeyword),this.currentToken.publicId="",this.state=me):e===s.GREATER_THAN_SIGN?(this._err(a.missingDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this.state=u,this._emitCurrentToken()):e===s.EOF?(this._err(a.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(a.missingQuoteBeforeDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(xe))}[de](e){Me(e)||(e===s.QUOTATION_MARK?(this.currentToken.publicId="",this.state=fe):e===s.APOSTROPHE?(this.currentToken.publicId="",this.state=me):e===s.GREATER_THAN_SIGN?(this._err(a.missingDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this.state=u,this._emitCurrentToken()):e===s.EOF?(this._err(a.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(a.missingQuoteBeforeDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(xe)))}[fe](e){e===s.QUOTATION_MARK?this.state=ge:e===s.NULL?(this._err(a.unexpectedNullCharacter),this.currentToken.publicId+=i.REPLACEMENT_CHARACTER):e===s.GREATER_THAN_SIGN?(this._err(a.abruptDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=u):e===s.EOF?(this._err(a.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.publicId+=$e(e)}[me](e){e===s.APOSTROPHE?this.state=ge:e===s.NULL?(this._err(a.unexpectedNullCharacter),this.currentToken.publicId+=i.REPLACEMENT_CHARACTER):e===s.GREATER_THAN_SIGN?(this._err(a.abruptDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=u):e===s.EOF?(this._err(a.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.publicId+=$e(e)}[ge](e){Me(e)?this.state=ye:e===s.GREATER_THAN_SIGN?(this.state=u,this._emitCurrentToken()):e===s.QUOTATION_MARK?(this._err(a.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),this.currentToken.systemId="",this.state=be):e===s.APOSTROPHE?(this._err(a.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),this.currentToken.systemId="",this.state=Ee):e===s.EOF?(this._err(a.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(a.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(xe))}[ye](e){Me(e)||(e===s.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=u):e===s.QUOTATION_MARK?(this.currentToken.systemId="",this.state=be):e===s.APOSTROPHE?(this.currentToken.systemId="",this.state=Ee):e===s.EOF?(this._err(a.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(a.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(xe)))}[ve](e){Me(e)?this.state=_e:e===s.QUOTATION_MARK?(this._err(a.missingWhitespaceAfterDoctypeSystemKeyword),this.currentToken.systemId="",this.state=be):e===s.APOSTROPHE?(this._err(a.missingWhitespaceAfterDoctypeSystemKeyword),this.currentToken.systemId="",this.state=Ee):e===s.GREATER_THAN_SIGN?(this._err(a.missingDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this.state=u,this._emitCurrentToken()):e===s.EOF?(this._err(a.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(a.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(xe))}[_e](e){Me(e)||(e===s.QUOTATION_MARK?(this.currentToken.systemId="",this.state=be):e===s.APOSTROPHE?(this.currentToken.systemId="",this.state=Ee):e===s.GREATER_THAN_SIGN?(this._err(a.missingDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this.state=u,this._emitCurrentToken()):e===s.EOF?(this._err(a.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(a.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(xe)))}[be](e){e===s.QUOTATION_MARK?this.state=Te:e===s.NULL?(this._err(a.unexpectedNullCharacter),this.currentToken.systemId+=i.REPLACEMENT_CHARACTER):e===s.GREATER_THAN_SIGN?(this._err(a.abruptDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=u):e===s.EOF?(this._err(a.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.systemId+=$e(e)}[Ee](e){e===s.APOSTROPHE?this.state=Te:e===s.NULL?(this._err(a.unexpectedNullCharacter),this.currentToken.systemId+=i.REPLACEMENT_CHARACTER):e===s.GREATER_THAN_SIGN?(this._err(a.abruptDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=u):e===s.EOF?(this._err(a.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.systemId+=$e(e)}[Te](e){Me(e)||(e===s.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=u):e===s.EOF?(this._err(a.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(a.unexpectedCharacterAfterDoctypeSystemIdentifier),this._reconsumeInState(xe)))}[xe](e){e===s.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=u):e===s.NULL?this._err(a.unexpectedNullCharacter):e===s.EOF&&(this._emitCurrentToken(),this._emitEOFToken())}[Se](e){e===s.RIGHT_SQUARE_BRACKET?this.state=Ce:e===s.EOF?(this._err(a.eofInCdata),this._emitEOFToken()):this._emitCodePoint(e)}[Ce](e){e===s.RIGHT_SQUARE_BRACKET?this.state=Ae:(this._emitChars("]"),this._reconsumeInState(Se))}[Ae](e){e===s.GREATER_THAN_SIGN?this.state=u:e===s.RIGHT_SQUARE_BRACKET?this._emitChars("]"):(this._emitChars("]]"),this._reconsumeInState(Se))}[Re](e){this.tempBuff=[s.AMPERSAND],e===s.NUMBER_SIGN?(this.tempBuff.push(e),this.state=Oe):je(e)?this._reconsumeInState(we):(this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}[we](e){const t=this._matchNamedCharacterReference(e);if(this._ensureHibernation())this.tempBuff=[s.AMPERSAND];else if(t){const e=this.tempBuff[this.tempBuff.length-1]===s.SEMICOLON;this._isCharacterReferenceAttributeQuirk(e)||(e||this._errOnNextCodePoint(a.missingSemicolonAfterCharacterReference),this.tempBuff=t),this._flushCodePointsConsumedAsCharacterReference(),this.state=this.returnState}else this._flushCodePointsConsumedAsCharacterReference(),this.state=Le}[Le](e){je(e)?this._isCharacterReferenceInAttribute()?this.currentAttr.value+=$e(e):this._emitCodePoint(e):(e===s.SEMICOLON&&this._err(a.unknownNamedCharacterReference),this._reconsumeInState(this.returnState))}[Oe](e){this.charRefCode=0,e===s.LATIN_SMALL_X||e===s.LATIN_CAPITAL_X?(this.tempBuff.push(e),this.state=Ne):this._reconsumeInState(Ie)}[Ne](e){!function(e){return Fe(e)||Ge(e)||Ye(e)}(e)?(this._err(a.absenceOfDigitsInNumericCharacterReference),this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState)):this._reconsumeInState(ke)}[Ie](e){Fe(e)?this._reconsumeInState(De):(this._err(a.absenceOfDigitsInNumericCharacterReference),this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}[ke](e){Ge(e)?this.charRefCode=16*this.charRefCode+e-55:Ye(e)?this.charRefCode=16*this.charRefCode+e-87:Fe(e)?this.charRefCode=16*this.charRefCode+e-48:e===s.SEMICOLON?this.state=Pe:(this._err(a.missingSemicolonAfterCharacterReference),this._reconsumeInState(Pe))}[De](e){Fe(e)?this.charRefCode=10*this.charRefCode+e-48:e===s.SEMICOLON?this.state=Pe:(this._err(a.missingSemicolonAfterCharacterReference),this._reconsumeInState(Pe))}[Pe](){if(this.charRefCode===s.NULL)this._err(a.nullCharacterReference),this.charRefCode=s.REPLACEMENT_CHARACTER;else if(this.charRefCode>1114111)this._err(a.characterReferenceOutsideUnicodeRange),this.charRefCode=s.REPLACEMENT_CHARACTER;else if(i.isSurrogate(this.charRefCode))this._err(a.surrogateCharacterReference),this.charRefCode=s.REPLACEMENT_CHARACTER;else if(i.isUndefinedCodePoint(this.charRefCode))this._err(a.noncharacterCharacterReference);else if(i.isControlCodePoint(this.charRefCode)||this.charRefCode===s.CARRIAGE_RETURN){this._err(a.controlCharacterReference);const e=c[this.charRefCode];e&&(this.charRefCode=e)}this.tempBuff=[this.charRefCode],this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState)}}Ke.CHARACTER_TOKEN="CHARACTER_TOKEN",Ke.NULL_CHARACTER_TOKEN="NULL_CHARACTER_TOKEN",Ke.WHITESPACE_CHARACTER_TOKEN="WHITESPACE_CHARACTER_TOKEN",Ke.START_TAG_TOKEN="START_TAG_TOKEN",Ke.END_TAG_TOKEN="END_TAG_TOKEN",Ke.COMMENT_TOKEN="COMMENT_TOKEN",Ke.DOCTYPE_TOKEN="DOCTYPE_TOKEN",Ke.EOF_TOKEN="EOF_TOKEN",Ke.HIBERNATION_TOKEN="HIBERNATION_TOKEN",Ke.MODE={DATA:u,RCDATA:h,RAWTEXT:p,SCRIPT_DATA:d,PLAINTEXT:f},Ke.getTokenAttr=function(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null},e.exports=Ke},1051:e=>{"use strict";e.exports=new Uint16Array([4,52,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,106,303,412,810,1432,1701,1796,1987,2114,2360,2420,2484,3170,3251,4140,4393,4575,4610,5106,5512,5728,6117,6274,6315,6345,6427,6516,7002,7910,8733,9323,9870,10170,10631,10893,11318,11386,11467,12773,13092,14474,14922,15448,15542,16419,17666,18166,18611,19004,19095,19298,19397,4,16,69,77,97,98,99,102,103,108,109,110,111,112,114,115,116,117,140,150,158,169,176,194,199,210,216,222,226,242,256,266,283,294,108,105,103,5,198,1,59,148,1,198,80,5,38,1,59,156,1,38,99,117,116,101,5,193,1,59,167,1,193,114,101,118,101,59,1,258,4,2,105,121,182,191,114,99,5,194,1,59,189,1,194,59,1,1040,114,59,3,55349,56580,114,97,118,101,5,192,1,59,208,1,192,112,104,97,59,1,913,97,99,114,59,1,256,100,59,1,10835,4,2,103,112,232,237,111,110,59,1,260,102,59,3,55349,56632,112,108,121,70,117,110,99,116,105,111,110,59,1,8289,105,110,103,5,197,1,59,264,1,197,4,2,99,115,272,277,114,59,3,55349,56476,105,103,110,59,1,8788,105,108,100,101,5,195,1,59,292,1,195,109,108,5,196,1,59,301,1,196,4,8,97,99,101,102,111,114,115,117,321,350,354,383,388,394,400,405,4,2,99,114,327,336,107,115,108,97,115,104,59,1,8726,4,2,118,119,342,345,59,1,10983,101,100,59,1,8966,121,59,1,1041,4,3,99,114,116,362,369,379,97,117,115,101,59,1,8757,110,111,117,108,108,105,115,59,1,8492,97,59,1,914,114,59,3,55349,56581,112,102,59,3,55349,56633,101,118,101,59,1,728,99,114,59,1,8492,109,112,101,113,59,1,8782,4,14,72,79,97,99,100,101,102,104,105,108,111,114,115,117,442,447,456,504,542,547,569,573,577,616,678,784,790,796,99,121,59,1,1063,80,89,5,169,1,59,454,1,169,4,3,99,112,121,464,470,497,117,116,101,59,1,262,4,2,59,105,476,478,1,8914,116,97,108,68,105,102,102,101,114,101,110,116,105,97,108,68,59,1,8517,108,101,121,115,59,1,8493,4,4,97,101,105,111,514,520,530,535,114,111,110,59,1,268,100,105,108,5,199,1,59,528,1,199,114,99,59,1,264,110,105,110,116,59,1,8752,111,116,59,1,266,4,2,100,110,553,560,105,108,108,97,59,1,184,116,101,114,68,111,116,59,1,183,114,59,1,8493,105,59,1,935,114,99,108,101,4,4,68,77,80,84,591,596,603,609,111,116,59,1,8857,105,110,117,115,59,1,8854,108,117,115,59,1,8853,105,109,101,115,59,1,8855,111,4,2,99,115,623,646,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8754,101,67,117,114,108,121,4,2,68,81,658,671,111,117,98,108,101,81,117,111,116,101,59,1,8221,117,111,116,101,59,1,8217,4,4,108,110,112,117,688,701,736,753,111,110,4,2,59,101,696,698,1,8759,59,1,10868,4,3,103,105,116,709,717,722,114,117,101,110,116,59,1,8801,110,116,59,1,8751,111,117,114,73,110,116,101,103,114,97,108,59,1,8750,4,2,102,114,742,745,59,1,8450,111,100,117,99,116,59,1,8720,110,116,101,114,67,108,111,99,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8755,111,115,115,59,1,10799,99,114,59,3,55349,56478,112,4,2,59,67,803,805,1,8915,97,112,59,1,8781,4,11,68,74,83,90,97,99,101,102,105,111,115,834,850,855,860,865,888,903,916,921,1011,1415,4,2,59,111,840,842,1,8517,116,114,97,104,100,59,1,10513,99,121,59,1,1026,99,121,59,1,1029,99,121,59,1,1039,4,3,103,114,115,873,879,883,103,101,114,59,1,8225,114,59,1,8609,104,118,59,1,10980,4,2,97,121,894,900,114,111,110,59,1,270,59,1,1044,108,4,2,59,116,910,912,1,8711,97,59,1,916,114,59,3,55349,56583,4,2,97,102,927,998,4,2,99,109,933,992,114,105,116,105,99,97,108,4,4,65,68,71,84,950,957,978,985,99,117,116,101,59,1,180,111,4,2,116,117,964,967,59,1,729,98,108,101,65,99,117,116,101,59,1,733,114,97,118,101,59,1,96,105,108,100,101,59,1,732,111,110,100,59,1,8900,102,101,114,101,110,116,105,97,108,68,59,1,8518,4,4,112,116,117,119,1021,1026,1048,1249,102,59,3,55349,56635,4,3,59,68,69,1034,1036,1041,1,168,111,116,59,1,8412,113,117,97,108,59,1,8784,98,108,101,4,6,67,68,76,82,85,86,1065,1082,1101,1189,1211,1236,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8751,111,4,2,116,119,1089,1092,59,1,168,110,65,114,114,111,119,59,1,8659,4,2,101,111,1107,1141,102,116,4,3,65,82,84,1117,1124,1136,114,114,111,119,59,1,8656,105,103,104,116,65,114,114,111,119,59,1,8660,101,101,59,1,10980,110,103,4,2,76,82,1149,1177,101,102,116,4,2,65,82,1158,1165,114,114,111,119,59,1,10232,105,103,104,116,65,114,114,111,119,59,1,10234,105,103,104,116,65,114,114,111,119,59,1,10233,105,103,104,116,4,2,65,84,1199,1206,114,114,111,119,59,1,8658,101,101,59,1,8872,112,4,2,65,68,1218,1225,114,114,111,119,59,1,8657,111,119,110,65,114,114,111,119,59,1,8661,101,114,116,105,99,97,108,66,97,114,59,1,8741,110,4,6,65,66,76,82,84,97,1264,1292,1299,1352,1391,1408,114,114,111,119,4,3,59,66,85,1276,1278,1283,1,8595,97,114,59,1,10515,112,65,114,114,111,119,59,1,8693,114,101,118,101,59,1,785,101,102,116,4,3,82,84,86,1310,1323,1334,105,103,104,116,86,101,99,116,111,114,59,1,10576,101,101,86,101,99,116,111,114,59,1,10590,101,99,116,111,114,4,2,59,66,1345,1347,1,8637,97,114,59,1,10582,105,103,104,116,4,2,84,86,1362,1373,101,101,86,101,99,116,111,114,59,1,10591,101,99,116,111,114,4,2,59,66,1384,1386,1,8641,97,114,59,1,10583,101,101,4,2,59,65,1399,1401,1,8868,114,114,111,119,59,1,8615,114,114,111,119,59,1,8659,4,2,99,116,1421,1426,114,59,3,55349,56479,114,111,107,59,1,272,4,16,78,84,97,99,100,102,103,108,109,111,112,113,115,116,117,120,1466,1470,1478,1489,1515,1520,1525,1536,1544,1593,1609,1617,1650,1664,1668,1677,71,59,1,330,72,5,208,1,59,1476,1,208,99,117,116,101,5,201,1,59,1487,1,201,4,3,97,105,121,1497,1503,1512,114,111,110,59,1,282,114,99,5,202,1,59,1510,1,202,59,1,1069,111,116,59,1,278,114,59,3,55349,56584,114,97,118,101,5,200,1,59,1534,1,200,101,109,101,110,116,59,1,8712,4,2,97,112,1550,1555,99,114,59,1,274,116,121,4,2,83,86,1563,1576,109,97,108,108,83,113,117,97,114,101,59,1,9723,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,1,9643,4,2,103,112,1599,1604,111,110,59,1,280,102,59,3,55349,56636,115,105,108,111,110,59,1,917,117,4,2,97,105,1624,1640,108,4,2,59,84,1631,1633,1,10869,105,108,100,101,59,1,8770,108,105,98,114,105,117,109,59,1,8652,4,2,99,105,1656,1660,114,59,1,8496,109,59,1,10867,97,59,1,919,109,108,5,203,1,59,1675,1,203,4,2,105,112,1683,1689,115,116,115,59,1,8707,111,110,101,110,116,105,97,108,69,59,1,8519,4,5,99,102,105,111,115,1713,1717,1722,1762,1791,121,59,1,1060,114,59,3,55349,56585,108,108,101,100,4,2,83,86,1732,1745,109,97,108,108,83,113,117,97,114,101,59,1,9724,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,1,9642,4,3,112,114,117,1770,1775,1781,102,59,3,55349,56637,65,108,108,59,1,8704,114,105,101,114,116,114,102,59,1,8497,99,114,59,1,8497,4,12,74,84,97,98,99,100,102,103,111,114,115,116,1822,1827,1834,1848,1855,1877,1882,1887,1890,1896,1978,1984,99,121,59,1,1027,5,62,1,59,1832,1,62,109,109,97,4,2,59,100,1843,1845,1,915,59,1,988,114,101,118,101,59,1,286,4,3,101,105,121,1863,1869,1874,100,105,108,59,1,290,114,99,59,1,284,59,1,1043,111,116,59,1,288,114,59,3,55349,56586,59,1,8921,112,102,59,3,55349,56638,101,97,116,101,114,4,6,69,70,71,76,83,84,1915,1933,1944,1953,1959,1971,113,117,97,108,4,2,59,76,1925,1927,1,8805,101,115,115,59,1,8923,117,108,108,69,113,117,97,108,59,1,8807,114,101,97,116,101,114,59,1,10914,101,115,115,59,1,8823,108,97,110,116,69,113,117,97,108,59,1,10878,105,108,100,101,59,1,8819,99,114,59,3,55349,56482,59,1,8811,4,8,65,97,99,102,105,111,115,117,2005,2012,2026,2032,2036,2049,2073,2089,82,68,99,121,59,1,1066,4,2,99,116,2018,2023,101,107,59,1,711,59,1,94,105,114,99,59,1,292,114,59,1,8460,108,98,101,114,116,83,112,97,99,101,59,1,8459,4,2,112,114,2055,2059,102,59,1,8461,105,122,111,110,116,97,108,76,105,110,101,59,1,9472,4,2,99,116,2079,2083,114,59,1,8459,114,111,107,59,1,294,109,112,4,2,68,69,2097,2107,111,119,110,72,117,109,112,59,1,8782,113,117,97,108,59,1,8783,4,14,69,74,79,97,99,100,102,103,109,110,111,115,116,117,2144,2149,2155,2160,2171,2189,2194,2198,2209,2245,2307,2329,2334,2341,99,121,59,1,1045,108,105,103,59,1,306,99,121,59,1,1025,99,117,116,101,5,205,1,59,2169,1,205,4,2,105,121,2177,2186,114,99,5,206,1,59,2184,1,206,59,1,1048,111,116,59,1,304,114,59,1,8465,114,97,118,101,5,204,1,59,2207,1,204,4,3,59,97,112,2217,2219,2238,1,8465,4,2,99,103,2225,2229,114,59,1,298,105,110,97,114,121,73,59,1,8520,108,105,101,115,59,1,8658,4,2,116,118,2251,2281,4,2,59,101,2257,2259,1,8748,4,2,103,114,2265,2271,114,97,108,59,1,8747,115,101,99,116,105,111,110,59,1,8898,105,115,105,98,108,101,4,2,67,84,2293,2300,111,109,109,97,59,1,8291,105,109,101,115,59,1,8290,4,3,103,112,116,2315,2320,2325,111,110,59,1,302,102,59,3,55349,56640,97,59,1,921,99,114,59,1,8464,105,108,100,101,59,1,296,4,2,107,109,2347,2352,99,121,59,1,1030,108,5,207,1,59,2358,1,207,4,5,99,102,111,115,117,2372,2386,2391,2397,2414,4,2,105,121,2378,2383,114,99,59,1,308,59,1,1049,114,59,3,55349,56589,112,102,59,3,55349,56641,4,2,99,101,2403,2408,114,59,3,55349,56485,114,99,121,59,1,1032,107,99,121,59,1,1028,4,7,72,74,97,99,102,111,115,2436,2441,2446,2452,2467,2472,2478,99,121,59,1,1061,99,121,59,1,1036,112,112,97,59,1,922,4,2,101,121,2458,2464,100,105,108,59,1,310,59,1,1050,114,59,3,55349,56590,112,102,59,3,55349,56642,99,114,59,3,55349,56486,4,11,74,84,97,99,101,102,108,109,111,115,116,2508,2513,2520,2562,2585,2981,2986,3004,3011,3146,3167,99,121,59,1,1033,5,60,1,59,2518,1,60,4,5,99,109,110,112,114,2532,2538,2544,2548,2558,117,116,101,59,1,313,98,100,97,59,1,923,103,59,1,10218,108,97,99,101,116,114,102,59,1,8466,114,59,1,8606,4,3,97,101,121,2570,2576,2582,114,111,110,59,1,317,100,105,108,59,1,315,59,1,1051,4,2,102,115,2591,2907,116,4,10,65,67,68,70,82,84,85,86,97,114,2614,2663,2672,2728,2735,2760,2820,2870,2888,2895,4,2,110,114,2620,2633,103,108,101,66,114,97,99,107,101,116,59,1,10216,114,111,119,4,3,59,66,82,2644,2646,2651,1,8592,97,114,59,1,8676,105,103,104,116,65,114,114,111,119,59,1,8646,101,105,108,105,110,103,59,1,8968,111,4,2,117,119,2679,2692,98,108,101,66,114,97,99,107,101,116,59,1,10214,110,4,2,84,86,2699,2710,101,101,86,101,99,116,111,114,59,1,10593,101,99,116,111,114,4,2,59,66,2721,2723,1,8643,97,114,59,1,10585,108,111,111,114,59,1,8970,105,103,104,116,4,2,65,86,2745,2752,114,114,111,119,59,1,8596,101,99,116,111,114,59,1,10574,4,2,101,114,2766,2792,101,4,3,59,65,86,2775,2777,2784,1,8867,114,114,111,119,59,1,8612,101,99,116,111,114,59,1,10586,105,97,110,103,108,101,4,3,59,66,69,2806,2808,2813,1,8882,97,114,59,1,10703,113,117,97,108,59,1,8884,112,4,3,68,84,86,2829,2841,2852,111,119,110,86,101,99,116,111,114,59,1,10577,101,101,86,101,99,116,111,114,59,1,10592,101,99,116,111,114,4,2,59,66,2863,2865,1,8639,97,114,59,1,10584,101,99,116,111,114,4,2,59,66,2881,2883,1,8636,97,114,59,1,10578,114,114,111,119,59,1,8656,105,103,104,116,97,114,114,111,119,59,1,8660,115,4,6,69,70,71,76,83,84,2922,2936,2947,2956,2962,2974,113,117,97,108,71,114,101,97,116,101,114,59,1,8922,117,108,108,69,113,117,97,108,59,1,8806,114,101,97,116,101,114,59,1,8822,101,115,115,59,1,10913,108,97,110,116,69,113,117,97,108,59,1,10877,105,108,100,101,59,1,8818,114,59,3,55349,56591,4,2,59,101,2992,2994,1,8920,102,116,97,114,114,111,119,59,1,8666,105,100,111,116,59,1,319,4,3,110,112,119,3019,3110,3115,103,4,4,76,82,108,114,3030,3058,3070,3098,101,102,116,4,2,65,82,3039,3046,114,114,111,119,59,1,10229,105,103,104,116,65,114,114,111,119,59,1,10231,105,103,104,116,65,114,114,111,119,59,1,10230,101,102,116,4,2,97,114,3079,3086,114,114,111,119,59,1,10232,105,103,104,116,97,114,114,111,119,59,1,10234,105,103,104,116,97,114,114,111,119,59,1,10233,102,59,3,55349,56643,101,114,4,2,76,82,3123,3134,101,102,116,65,114,114,111,119,59,1,8601,105,103,104,116,65,114,114,111,119,59,1,8600,4,3,99,104,116,3154,3158,3161,114,59,1,8466,59,1,8624,114,111,107,59,1,321,59,1,8810,4,8,97,99,101,102,105,111,115,117,3188,3192,3196,3222,3227,3237,3243,3248,112,59,1,10501,121,59,1,1052,4,2,100,108,3202,3213,105,117,109,83,112,97,99,101,59,1,8287,108,105,110,116,114,102,59,1,8499,114,59,3,55349,56592,110,117,115,80,108,117,115,59,1,8723,112,102,59,3,55349,56644,99,114,59,1,8499,59,1,924,4,9,74,97,99,101,102,111,115,116,117,3271,3276,3283,3306,3422,3427,4120,4126,4137,99,121,59,1,1034,99,117,116,101,59,1,323,4,3,97,101,121,3291,3297,3303,114,111,110,59,1,327,100,105,108,59,1,325,59,1,1053,4,3,103,115,119,3314,3380,3415,97,116,105,118,101,4,3,77,84,86,3327,3340,3365,101,100,105,117,109,83,112,97,99,101,59,1,8203,104,105,4,2,99,110,3348,3357,107,83,112,97,99,101,59,1,8203,83,112,97,99,101,59,1,8203,101,114,121,84,104,105,110,83,112,97,99,101,59,1,8203,116,101,100,4,2,71,76,3389,3405,114,101,97,116,101,114,71,114,101,97,116,101,114,59,1,8811,101,115,115,76,101,115,115,59,1,8810,76,105,110,101,59,1,10,114,59,3,55349,56593,4,4,66,110,112,116,3437,3444,3460,3464,114,101,97,107,59,1,8288,66,114,101,97,107,105,110,103,83,112,97,99,101,59,1,160,102,59,1,8469,4,13,59,67,68,69,71,72,76,78,80,82,83,84,86,3492,3494,3517,3536,3578,3657,3685,3784,3823,3860,3915,4066,4107,1,10988,4,2,111,117,3500,3510,110,103,114,117,101,110,116,59,1,8802,112,67,97,112,59,1,8813,111,117,98,108,101,86,101,114,116,105,99,97,108,66,97,114,59,1,8742,4,3,108,113,120,3544,3552,3571,101,109,101,110,116,59,1,8713,117,97,108,4,2,59,84,3561,3563,1,8800,105,108,100,101,59,3,8770,824,105,115,116,115,59,1,8708,114,101,97,116,101,114,4,7,59,69,70,71,76,83,84,3600,3602,3609,3621,3631,3637,3650,1,8815,113,117,97,108,59,1,8817,117,108,108,69,113,117,97,108,59,3,8807,824,114,101,97,116,101,114,59,3,8811,824,101,115,115,59,1,8825,108,97,110,116,69,113,117,97,108,59,3,10878,824,105,108,100,101,59,1,8821,117,109,112,4,2,68,69,3666,3677,111,119,110,72,117,109,112,59,3,8782,824,113,117,97,108,59,3,8783,824,101,4,2,102,115,3692,3724,116,84,114,105,97,110,103,108,101,4,3,59,66,69,3709,3711,3717,1,8938,97,114,59,3,10703,824,113,117,97,108,59,1,8940,115,4,6,59,69,71,76,83,84,3739,3741,3748,3757,3764,3777,1,8814,113,117,97,108,59,1,8816,114,101,97,116,101,114,59,1,8824,101,115,115,59,3,8810,824,108,97,110,116,69,113,117,97,108,59,3,10877,824,105,108,100,101,59,1,8820,101,115,116,101,100,4,2,71,76,3795,3812,114,101,97,116,101,114,71,114,101,97,116,101,114,59,3,10914,824,101,115,115,76,101,115,115,59,3,10913,824,114,101,99,101,100,101,115,4,3,59,69,83,3838,3840,3848,1,8832,113,117,97,108,59,3,10927,824,108,97,110,116,69,113,117,97,108,59,1,8928,4,2,101,105,3866,3881,118,101,114,115,101,69,108,101,109,101,110,116,59,1,8716,103,104,116,84,114,105,97,110,103,108,101,4,3,59,66,69,3900,3902,3908,1,8939,97,114,59,3,10704,824,113,117,97,108,59,1,8941,4,2,113,117,3921,3973,117,97,114,101,83,117,4,2,98,112,3933,3952,115,101,116,4,2,59,69,3942,3945,3,8847,824,113,117,97,108,59,1,8930,101,114,115,101,116,4,2,59,69,3963,3966,3,8848,824,113,117,97,108,59,1,8931,4,3,98,99,112,3981,4e3,4045,115,101,116,4,2,59,69,3990,3993,3,8834,8402,113,117,97,108,59,1,8840,99,101,101,100,115,4,4,59,69,83,84,4015,4017,4025,4037,1,8833,113,117,97,108,59,3,10928,824,108,97,110,116,69,113,117,97,108,59,1,8929,105,108,100,101,59,3,8831,824,101,114,115,101,116,4,2,59,69,4056,4059,3,8835,8402,113,117,97,108,59,1,8841,105,108,100,101,4,4,59,69,70,84,4080,4082,4089,4100,1,8769,113,117,97,108,59,1,8772,117,108,108,69,113,117,97,108,59,1,8775,105,108,100,101,59,1,8777,101,114,116,105,99,97,108,66,97,114,59,1,8740,99,114,59,3,55349,56489,105,108,100,101,5,209,1,59,4135,1,209,59,1,925,4,14,69,97,99,100,102,103,109,111,112,114,115,116,117,118,4170,4176,4187,4205,4212,4217,4228,4253,4259,4292,4295,4316,4337,4346,108,105,103,59,1,338,99,117,116,101,5,211,1,59,4185,1,211,4,2,105,121,4193,4202,114,99,5,212,1,59,4200,1,212,59,1,1054,98,108,97,99,59,1,336,114,59,3,55349,56594,114,97,118,101,5,210,1,59,4226,1,210,4,3,97,101,105,4236,4241,4246,99,114,59,1,332,103,97,59,1,937,99,114,111,110,59,1,927,112,102,59,3,55349,56646,101,110,67,117,114,108,121,4,2,68,81,4272,4285,111,117,98,108,101,81,117,111,116,101,59,1,8220,117,111,116,101,59,1,8216,59,1,10836,4,2,99,108,4301,4306,114,59,3,55349,56490,97,115,104,5,216,1,59,4314,1,216,105,4,2,108,109,4323,4332,100,101,5,213,1,59,4330,1,213,101,115,59,1,10807,109,108,5,214,1,59,4344,1,214,101,114,4,2,66,80,4354,4380,4,2,97,114,4360,4364,114,59,1,8254,97,99,4,2,101,107,4372,4375,59,1,9182,101,116,59,1,9140,97,114,101,110,116,104,101,115,105,115,59,1,9180,4,9,97,99,102,104,105,108,111,114,115,4413,4422,4426,4431,4435,4438,4448,4471,4561,114,116,105,97,108,68,59,1,8706,121,59,1,1055,114,59,3,55349,56595,105,59,1,934,59,1,928,117,115,77,105,110,117,115,59,1,177,4,2,105,112,4454,4467,110,99,97,114,101,112,108,97,110,101,59,1,8460,102,59,1,8473,4,4,59,101,105,111,4481,4483,4526,4531,1,10939,99,101,100,101,115,4,4,59,69,83,84,4498,4500,4507,4519,1,8826,113,117,97,108,59,1,10927,108,97,110,116,69,113,117,97,108,59,1,8828,105,108,100,101,59,1,8830,109,101,59,1,8243,4,2,100,112,4537,4543,117,99,116,59,1,8719,111,114,116,105,111,110,4,2,59,97,4555,4557,1,8759,108,59,1,8733,4,2,99,105,4567,4572,114,59,3,55349,56491,59,1,936,4,4,85,102,111,115,4585,4594,4599,4604,79,84,5,34,1,59,4592,1,34,114,59,3,55349,56596,112,102,59,1,8474,99,114,59,3,55349,56492,4,12,66,69,97,99,101,102,104,105,111,114,115,117,4636,4642,4650,4681,4704,4763,4767,4771,5047,5069,5081,5094,97,114,114,59,1,10512,71,5,174,1,59,4648,1,174,4,3,99,110,114,4658,4664,4668,117,116,101,59,1,340,103,59,1,10219,114,4,2,59,116,4675,4677,1,8608,108,59,1,10518,4,3,97,101,121,4689,4695,4701,114,111,110,59,1,344,100,105,108,59,1,342,59,1,1056,4,2,59,118,4710,4712,1,8476,101,114,115,101,4,2,69,85,4722,4748,4,2,108,113,4728,4736,101,109,101,110,116,59,1,8715,117,105,108,105,98,114,105,117,109,59,1,8651,112,69,113,117,105,108,105,98,114,105,117,109,59,1,10607,114,59,1,8476,111,59,1,929,103,104,116,4,8,65,67,68,70,84,85,86,97,4792,4840,4849,4905,4912,4972,5022,5040,4,2,110,114,4798,4811,103,108,101,66,114,97,99,107,101,116,59,1,10217,114,111,119,4,3,59,66,76,4822,4824,4829,1,8594,97,114,59,1,8677,101,102,116,65,114,114,111,119,59,1,8644,101,105,108,105,110,103,59,1,8969,111,4,2,117,119,4856,4869,98,108,101,66,114,97,99,107,101,116,59,1,10215,110,4,2,84,86,4876,4887,101,101,86,101,99,116,111,114,59,1,10589,101,99,116,111,114,4,2,59,66,4898,4900,1,8642,97,114,59,1,10581,108,111,111,114,59,1,8971,4,2,101,114,4918,4944,101,4,3,59,65,86,4927,4929,4936,1,8866,114,114,111,119,59,1,8614,101,99,116,111,114,59,1,10587,105,97,110,103,108,101,4,3,59,66,69,4958,4960,4965,1,8883,97,114,59,1,10704,113,117,97,108,59,1,8885,112,4,3,68,84,86,4981,4993,5004,111,119,110,86,101,99,116,111,114,59,1,10575,101,101,86,101,99,116,111,114,59,1,10588,101,99,116,111,114,4,2,59,66,5015,5017,1,8638,97,114,59,1,10580,101,99,116,111,114,4,2,59,66,5033,5035,1,8640,97,114,59,1,10579,114,114,111,119,59,1,8658,4,2,112,117,5053,5057,102,59,1,8477,110,100,73,109,112,108,105,101,115,59,1,10608,105,103,104,116,97,114,114,111,119,59,1,8667,4,2,99,104,5087,5091,114,59,1,8475,59,1,8625,108,101,68,101,108,97,121,101,100,59,1,10740,4,13,72,79,97,99,102,104,105,109,111,113,115,116,117,5134,5150,5157,5164,5198,5203,5259,5265,5277,5283,5374,5380,5385,4,2,67,99,5140,5146,72,99,121,59,1,1065,121,59,1,1064,70,84,99,121,59,1,1068,99,117,116,101,59,1,346,4,5,59,97,101,105,121,5176,5178,5184,5190,5195,1,10940,114,111,110,59,1,352,100,105,108,59,1,350,114,99,59,1,348,59,1,1057,114,59,3,55349,56598,111,114,116,4,4,68,76,82,85,5216,5227,5238,5250,111,119,110,65,114,114,111,119,59,1,8595,101,102,116,65,114,114,111,119,59,1,8592,105,103,104,116,65,114,114,111,119,59,1,8594,112,65,114,114,111,119,59,1,8593,103,109,97,59,1,931,97,108,108,67,105,114,99,108,101,59,1,8728,112,102,59,3,55349,56650,4,2,114,117,5289,5293,116,59,1,8730,97,114,101,4,4,59,73,83,85,5306,5308,5322,5367,1,9633,110,116,101,114,115,101,99,116,105,111,110,59,1,8851,117,4,2,98,112,5329,5347,115,101,116,4,2,59,69,5338,5340,1,8847,113,117,97,108,59,1,8849,101,114,115,101,116,4,2,59,69,5358,5360,1,8848,113,117,97,108,59,1,8850,110,105,111,110,59,1,8852,99,114,59,3,55349,56494,97,114,59,1,8902,4,4,98,99,109,112,5395,5420,5475,5478,4,2,59,115,5401,5403,1,8912,101,116,4,2,59,69,5411,5413,1,8912,113,117,97,108,59,1,8838,4,2,99,104,5426,5468,101,101,100,115,4,4,59,69,83,84,5440,5442,5449,5461,1,8827,113,117,97,108,59,1,10928,108,97,110,116,69,113,117,97,108,59,1,8829,105,108,100,101,59,1,8831,84,104,97,116,59,1,8715,59,1,8721,4,3,59,101,115,5486,5488,5507,1,8913,114,115,101,116,4,2,59,69,5498,5500,1,8835,113,117,97,108,59,1,8839,101,116,59,1,8913,4,11,72,82,83,97,99,102,104,105,111,114,115,5536,5546,5552,5567,5579,5602,5607,5655,5695,5701,5711,79,82,78,5,222,1,59,5544,1,222,65,68,69,59,1,8482,4,2,72,99,5558,5563,99,121,59,1,1035,121,59,1,1062,4,2,98,117,5573,5576,59,1,9,59,1,932,4,3,97,101,121,5587,5593,5599,114,111,110,59,1,356,100,105,108,59,1,354,59,1,1058,114,59,3,55349,56599,4,2,101,105,5613,5631,4,2,114,116,5619,5627,101,102,111,114,101,59,1,8756,97,59,1,920,4,2,99,110,5637,5647,107,83,112,97,99,101,59,3,8287,8202,83,112,97,99,101,59,1,8201,108,100,101,4,4,59,69,70,84,5668,5670,5677,5688,1,8764,113,117,97,108,59,1,8771,117,108,108,69,113,117,97,108,59,1,8773,105,108,100,101,59,1,8776,112,102,59,3,55349,56651,105,112,108,101,68,111,116,59,1,8411,4,2,99,116,5717,5722,114,59,3,55349,56495,114,111,107,59,1,358,4,14,97,98,99,100,102,103,109,110,111,112,114,115,116,117,5758,5789,5805,5823,5830,5835,5846,5852,5921,5937,6089,6095,6101,6108,4,2,99,114,5764,5774,117,116,101,5,218,1,59,5772,1,218,114,4,2,59,111,5781,5783,1,8607,99,105,114,59,1,10569,114,4,2,99,101,5796,5800,121,59,1,1038,118,101,59,1,364,4,2,105,121,5811,5820,114,99,5,219,1,59,5818,1,219,59,1,1059,98,108,97,99,59,1,368,114,59,3,55349,56600,114,97,118,101,5,217,1,59,5844,1,217,97,99,114,59,1,362,4,2,100,105,5858,5905,101,114,4,2,66,80,5866,5892,4,2,97,114,5872,5876,114,59,1,95,97,99,4,2,101,107,5884,5887,59,1,9183,101,116,59,1,9141,97,114,101,110,116,104,101,115,105,115,59,1,9181,111,110,4,2,59,80,5913,5915,1,8899,108,117,115,59,1,8846,4,2,103,112,5927,5932,111,110,59,1,370,102,59,3,55349,56652,4,8,65,68,69,84,97,100,112,115,5955,5985,5996,6009,6026,6033,6044,6075,114,114,111,119,4,3,59,66,68,5967,5969,5974,1,8593,97,114,59,1,10514,111,119,110,65,114,114,111,119,59,1,8645,111,119,110,65,114,114,111,119,59,1,8597,113,117,105,108,105,98,114,105,117,109,59,1,10606,101,101,4,2,59,65,6017,6019,1,8869,114,114,111,119,59,1,8613,114,114,111,119,59,1,8657,111,119,110,97,114,114,111,119,59,1,8661,101,114,4,2,76,82,6052,6063,101,102,116,65,114,114,111,119,59,1,8598,105,103,104,116,65,114,114,111,119,59,1,8599,105,4,2,59,108,6082,6084,1,978,111,110,59,1,933,105,110,103,59,1,366,99,114,59,3,55349,56496,105,108,100,101,59,1,360,109,108,5,220,1,59,6115,1,220,4,9,68,98,99,100,101,102,111,115,118,6137,6143,6148,6152,6166,6250,6255,6261,6267,97,115,104,59,1,8875,97,114,59,1,10987,121,59,1,1042,97,115,104,4,2,59,108,6161,6163,1,8873,59,1,10982,4,2,101,114,6172,6175,59,1,8897,4,3,98,116,121,6183,6188,6238,97,114,59,1,8214,4,2,59,105,6194,6196,1,8214,99,97,108,4,4,66,76,83,84,6209,6214,6220,6231,97,114,59,1,8739,105,110,101,59,1,124,101,112,97,114,97,116,111,114,59,1,10072,105,108,100,101,59,1,8768,84,104,105,110,83,112,97,99,101,59,1,8202,114,59,3,55349,56601,112,102,59,3,55349,56653,99,114,59,3,55349,56497,100,97,115,104,59,1,8874,4,5,99,101,102,111,115,6286,6292,6298,6303,6309,105,114,99,59,1,372,100,103,101,59,1,8896,114,59,3,55349,56602,112,102,59,3,55349,56654,99,114,59,3,55349,56498,4,4,102,105,111,115,6325,6330,6333,6339,114,59,3,55349,56603,59,1,926,112,102,59,3,55349,56655,99,114,59,3,55349,56499,4,9,65,73,85,97,99,102,111,115,117,6365,6370,6375,6380,6391,6405,6410,6416,6422,99,121,59,1,1071,99,121,59,1,1031,99,121,59,1,1070,99,117,116,101,5,221,1,59,6389,1,221,4,2,105,121,6397,6402,114,99,59,1,374,59,1,1067,114,59,3,55349,56604,112,102,59,3,55349,56656,99,114,59,3,55349,56500,109,108,59,1,376,4,8,72,97,99,100,101,102,111,115,6445,6450,6457,6472,6477,6501,6505,6510,99,121,59,1,1046,99,117,116,101,59,1,377,4,2,97,121,6463,6469,114,111,110,59,1,381,59,1,1047,111,116,59,1,379,4,2,114,116,6483,6497,111,87,105,100,116,104,83,112,97,99,101,59,1,8203,97,59,1,918,114,59,1,8488,112,102,59,1,8484,99,114,59,3,55349,56501,4,16,97,98,99,101,102,103,108,109,110,111,112,114,115,116,117,119,6550,6561,6568,6612,6622,6634,6645,6672,6699,6854,6870,6923,6933,6963,6974,6983,99,117,116,101,5,225,1,59,6559,1,225,114,101,118,101,59,1,259,4,6,59,69,100,105,117,121,6582,6584,6588,6591,6600,6609,1,8766,59,3,8766,819,59,1,8767,114,99,5,226,1,59,6598,1,226,116,101,5,180,1,59,6607,1,180,59,1,1072,108,105,103,5,230,1,59,6620,1,230,4,2,59,114,6628,6630,1,8289,59,3,55349,56606,114,97,118,101,5,224,1,59,6643,1,224,4,2,101,112,6651,6667,4,2,102,112,6657,6663,115,121,109,59,1,8501,104,59,1,8501,104,97,59,1,945,4,2,97,112,6678,6692,4,2,99,108,6684,6688,114,59,1,257,103,59,1,10815,5,38,1,59,6697,1,38,4,2,100,103,6705,6737,4,5,59,97,100,115,118,6717,6719,6724,6727,6734,1,8743,110,100,59,1,10837,59,1,10844,108,111,112,101,59,1,10840,59,1,10842,4,7,59,101,108,109,114,115,122,6753,6755,6758,6762,6814,6835,6848,1,8736,59,1,10660,101,59,1,8736,115,100,4,2,59,97,6770,6772,1,8737,4,8,97,98,99,100,101,102,103,104,6790,6793,6796,6799,6802,6805,6808,6811,59,1,10664,59,1,10665,59,1,10666,59,1,10667,59,1,10668,59,1,10669,59,1,10670,59,1,10671,116,4,2,59,118,6821,6823,1,8735,98,4,2,59,100,6830,6832,1,8894,59,1,10653,4,2,112,116,6841,6845,104,59,1,8738,59,1,197,97,114,114,59,1,9084,4,2,103,112,6860,6865,111,110,59,1,261,102,59,3,55349,56658,4,7,59,69,97,101,105,111,112,6886,6888,6891,6897,6900,6904,6908,1,8776,59,1,10864,99,105,114,59,1,10863,59,1,8778,100,59,1,8779,115,59,1,39,114,111,120,4,2,59,101,6917,6919,1,8776,113,59,1,8778,105,110,103,5,229,1,59,6931,1,229,4,3,99,116,121,6941,6946,6949,114,59,3,55349,56502,59,1,42,109,112,4,2,59,101,6957,6959,1,8776,113,59,1,8781,105,108,100,101,5,227,1,59,6972,1,227,109,108,5,228,1,59,6981,1,228,4,2,99,105,6989,6997,111,110,105,110,116,59,1,8755,110,116,59,1,10769,4,16,78,97,98,99,100,101,102,105,107,108,110,111,112,114,115,117,7036,7041,7119,7135,7149,7155,7219,7224,7347,7354,7463,7489,7786,7793,7814,7866,111,116,59,1,10989,4,2,99,114,7047,7094,107,4,4,99,101,112,115,7058,7064,7073,7080,111,110,103,59,1,8780,112,115,105,108,111,110,59,1,1014,114,105,109,101,59,1,8245,105,109,4,2,59,101,7088,7090,1,8765,113,59,1,8909,4,2,118,119,7100,7105,101,101,59,1,8893,101,100,4,2,59,103,7113,7115,1,8965,101,59,1,8965,114,107,4,2,59,116,7127,7129,1,9141,98,114,107,59,1,9142,4,2,111,121,7141,7146,110,103,59,1,8780,59,1,1073,113,117,111,59,1,8222,4,5,99,109,112,114,116,7167,7181,7188,7193,7199,97,117,115,4,2,59,101,7176,7178,1,8757,59,1,8757,112,116,121,118,59,1,10672,115,105,59,1,1014,110,111,117,59,1,8492,4,3,97,104,119,7207,7210,7213,59,1,946,59,1,8502,101,101,110,59,1,8812,114,59,3,55349,56607,103,4,7,99,111,115,116,117,118,119,7241,7262,7288,7305,7328,7335,7340,4,3,97,105,117,7249,7253,7258,112,59,1,8898,114,99,59,1,9711,112,59,1,8899,4,3,100,112,116,7270,7275,7281,111,116,59,1,10752,108,117,115,59,1,10753,105,109,101,115,59,1,10754,4,2,113,116,7294,7300,99,117,112,59,1,10758,97,114,59,1,9733,114,105,97,110,103,108,101,4,2,100,117,7318,7324,111,119,110,59,1,9661,112,59,1,9651,112,108,117,115,59,1,10756,101,101,59,1,8897,101,100,103,101,59,1,8896,97,114,111,119,59,1,10509,4,3,97,107,111,7362,7436,7458,4,2,99,110,7368,7432,107,4,3,108,115,116,7377,7386,7394,111,122,101,110,103,101,59,1,10731,113,117,97,114,101,59,1,9642,114,105,97,110,103,108,101,4,4,59,100,108,114,7411,7413,7419,7425,1,9652,111,119,110,59,1,9662,101,102,116,59,1,9666,105,103,104,116,59,1,9656,107,59,1,9251,4,2,49,51,7442,7454,4,2,50,52,7448,7451,59,1,9618,59,1,9617,52,59,1,9619,99,107,59,1,9608,4,2,101,111,7469,7485,4,2,59,113,7475,7478,3,61,8421,117,105,118,59,3,8801,8421,116,59,1,8976,4,4,112,116,119,120,7499,7504,7517,7523,102,59,3,55349,56659,4,2,59,116,7510,7512,1,8869,111,109,59,1,8869,116,105,101,59,1,8904,4,12,68,72,85,86,98,100,104,109,112,116,117,118,7549,7571,7597,7619,7655,7660,7682,7708,7715,7721,7728,7750,4,4,76,82,108,114,7559,7562,7565,7568,59,1,9559,59,1,9556,59,1,9558,59,1,9555,4,5,59,68,85,100,117,7583,7585,7588,7591,7594,1,9552,59,1,9574,59,1,9577,59,1,9572,59,1,9575,4,4,76,82,108,114,7607,7610,7613,7616,59,1,9565,59,1,9562,59,1,9564,59,1,9561,4,7,59,72,76,82,104,108,114,7635,7637,7640,7643,7646,7649,7652,1,9553,59,1,9580,59,1,9571,59,1,9568,59,1,9579,59,1,9570,59,1,9567,111,120,59,1,10697,4,4,76,82,108,114,7670,7673,7676,7679,59,1,9557,59,1,9554,59,1,9488,59,1,9484,4,5,59,68,85,100,117,7694,7696,7699,7702,7705,1,9472,59,1,9573,59,1,9576,59,1,9516,59,1,9524,105,110,117,115,59,1,8863,108,117,115,59,1,8862,105,109,101,115,59,1,8864,4,4,76,82,108,114,7738,7741,7744,7747,59,1,9563,59,1,9560,59,1,9496,59,1,9492,4,7,59,72,76,82,104,108,114,7766,7768,7771,7774,7777,7780,7783,1,9474,59,1,9578,59,1,9569,59,1,9566,59,1,9532,59,1,9508,59,1,9500,114,105,109,101,59,1,8245,4,2,101,118,7799,7804,118,101,59,1,728,98,97,114,5,166,1,59,7812,1,166,4,4,99,101,105,111,7824,7829,7834,7846,114,59,3,55349,56503,109,105,59,1,8271,109,4,2,59,101,7841,7843,1,8765,59,1,8909,108,4,3,59,98,104,7855,7857,7860,1,92,59,1,10693,115,117,98,59,1,10184,4,2,108,109,7872,7885,108,4,2,59,101,7879,7881,1,8226,116,59,1,8226,112,4,3,59,69,101,7894,7896,7899,1,8782,59,1,10926,4,2,59,113,7905,7907,1,8783,59,1,8783,4,15,97,99,100,101,102,104,105,108,111,114,115,116,117,119,121,7942,8021,8075,8080,8121,8126,8157,8279,8295,8430,8446,8485,8491,8707,8726,4,3,99,112,114,7950,7956,8007,117,116,101,59,1,263,4,6,59,97,98,99,100,115,7970,7972,7977,7984,7998,8003,1,8745,110,100,59,1,10820,114,99,117,112,59,1,10825,4,2,97,117,7990,7994,112,59,1,10827,112,59,1,10823,111,116,59,1,10816,59,3,8745,65024,4,2,101,111,8013,8017,116,59,1,8257,110,59,1,711,4,4,97,101,105,117,8031,8046,8056,8061,4,2,112,114,8037,8041,115,59,1,10829,111,110,59,1,269,100,105,108,5,231,1,59,8054,1,231,114,99,59,1,265,112,115,4,2,59,115,8069,8071,1,10828,109,59,1,10832,111,116,59,1,267,4,3,100,109,110,8088,8097,8104,105,108,5,184,1,59,8095,1,184,112,116,121,118,59,1,10674,116,5,162,2,59,101,8112,8114,1,162,114,100,111,116,59,1,183,114,59,3,55349,56608,4,3,99,101,105,8134,8138,8154,121,59,1,1095,99,107,4,2,59,109,8146,8148,1,10003,97,114,107,59,1,10003,59,1,967,114,4,7,59,69,99,101,102,109,115,8174,8176,8179,8258,8261,8268,8273,1,9675,59,1,10691,4,3,59,101,108,8187,8189,8193,1,710,113,59,1,8791,101,4,2,97,100,8200,8223,114,114,111,119,4,2,108,114,8210,8216,101,102,116,59,1,8634,105,103,104,116,59,1,8635,4,5,82,83,97,99,100,8235,8238,8241,8246,8252,59,1,174,59,1,9416,115,116,59,1,8859,105,114,99,59,1,8858,97,115,104,59,1,8861,59,1,8791,110,105,110,116,59,1,10768,105,100,59,1,10991,99,105,114,59,1,10690,117,98,115,4,2,59,117,8288,8290,1,9827,105,116,59,1,9827,4,4,108,109,110,112,8305,8326,8376,8400,111,110,4,2,59,101,8313,8315,1,58,4,2,59,113,8321,8323,1,8788,59,1,8788,4,2,109,112,8332,8344,97,4,2,59,116,8339,8341,1,44,59,1,64,4,3,59,102,108,8352,8354,8358,1,8705,110,59,1,8728,101,4,2,109,120,8365,8371,101,110,116,59,1,8705,101,115,59,1,8450,4,2,103,105,8382,8395,4,2,59,100,8388,8390,1,8773,111,116,59,1,10861,110,116,59,1,8750,4,3,102,114,121,8408,8412,8417,59,3,55349,56660,111,100,59,1,8720,5,169,2,59,115,8424,8426,1,169,114,59,1,8471,4,2,97,111,8436,8441,114,114,59,1,8629,115,115,59,1,10007,4,2,99,117,8452,8457,114,59,3,55349,56504,4,2,98,112,8463,8474,4,2,59,101,8469,8471,1,10959,59,1,10961,4,2,59,101,8480,8482,1,10960,59,1,10962,100,111,116,59,1,8943,4,7,100,101,108,112,114,118,119,8507,8522,8536,8550,8600,8697,8702,97,114,114,4,2,108,114,8516,8519,59,1,10552,59,1,10549,4,2,112,115,8528,8532,114,59,1,8926,99,59,1,8927,97,114,114,4,2,59,112,8545,8547,1,8630,59,1,10557,4,6,59,98,99,100,111,115,8564,8566,8573,8587,8592,8596,1,8746,114,99,97,112,59,1,10824,4,2,97,117,8579,8583,112,59,1,10822,112,59,1,10826,111,116,59,1,8845,114,59,1,10821,59,3,8746,65024,4,4,97,108,114,118,8610,8623,8663,8672,114,114,4,2,59,109,8618,8620,1,8631,59,1,10556,121,4,3,101,118,119,8632,8651,8656,113,4,2,112,115,8639,8645,114,101,99,59,1,8926,117,99,99,59,1,8927,101,101,59,1,8910,101,100,103,101,59,1,8911,101,110,5,164,1,59,8670,1,164,101,97,114,114,111,119,4,2,108,114,8684,8690,101,102,116,59,1,8630,105,103,104,116,59,1,8631,101,101,59,1,8910,101,100,59,1,8911,4,2,99,105,8713,8721,111,110,105,110,116,59,1,8754,110,116,59,1,8753,108,99,116,121,59,1,9005,4,19,65,72,97,98,99,100,101,102,104,105,106,108,111,114,115,116,117,119,122,8773,8778,8783,8821,8839,8854,8887,8914,8930,8944,9036,9041,9058,9197,9227,9258,9281,9297,9305,114,114,59,1,8659,97,114,59,1,10597,4,4,103,108,114,115,8793,8799,8805,8809,103,101,114,59,1,8224,101,116,104,59,1,8504,114,59,1,8595,104,4,2,59,118,8816,8818,1,8208,59,1,8867,4,2,107,108,8827,8834,97,114,111,119,59,1,10511,97,99,59,1,733,4,2,97,121,8845,8851,114,111,110,59,1,271,59,1,1076,4,3,59,97,111,8862,8864,8880,1,8518,4,2,103,114,8870,8876,103,101,114,59,1,8225,114,59,1,8650,116,115,101,113,59,1,10871,4,3,103,108,109,8895,8902,8907,5,176,1,59,8900,1,176,116,97,59,1,948,112,116,121,118,59,1,10673,4,2,105,114,8920,8926,115,104,116,59,1,10623,59,3,55349,56609,97,114,4,2,108,114,8938,8941,59,1,8643,59,1,8642,4,5,97,101,103,115,118,8956,8986,8989,8996,9001,109,4,3,59,111,115,8965,8967,8983,1,8900,110,100,4,2,59,115,8975,8977,1,8900,117,105,116,59,1,9830,59,1,9830,59,1,168,97,109,109,97,59,1,989,105,110,59,1,8946,4,3,59,105,111,9009,9011,9031,1,247,100,101,5,247,2,59,111,9020,9022,1,247,110,116,105,109,101,115,59,1,8903,110,120,59,1,8903,99,121,59,1,1106,99,4,2,111,114,9048,9053,114,110,59,1,8990,111,112,59,1,8973,4,5,108,112,116,117,119,9070,9076,9081,9130,9144,108,97,114,59,1,36,102,59,3,55349,56661,4,5,59,101,109,112,115,9093,9095,9109,9116,9122,1,729,113,4,2,59,100,9102,9104,1,8784,111,116,59,1,8785,105,110,117,115,59,1,8760,108,117,115,59,1,8724,113,117,97,114,101,59,1,8865,98,108,101,98,97,114,119,101,100,103,101,59,1,8966,110,4,3,97,100,104,9153,9160,9172,114,114,111,119,59,1,8595,111,119,110,97,114,114,111,119,115,59,1,8650,97,114,112,111,111,110,4,2,108,114,9184,9190,101,102,116,59,1,8643,105,103,104,116,59,1,8642,4,2,98,99,9203,9211,107,97,114,111,119,59,1,10512,4,2,111,114,9217,9222,114,110,59,1,8991,111,112,59,1,8972,4,3,99,111,116,9235,9248,9252,4,2,114,121,9241,9245,59,3,55349,56505,59,1,1109,108,59,1,10742,114,111,107,59,1,273,4,2,100,114,9264,9269,111,116,59,1,8945,105,4,2,59,102,9276,9278,1,9663,59,1,9662,4,2,97,104,9287,9292,114,114,59,1,8693,97,114,59,1,10607,97,110,103,108,101,59,1,10662,4,2,99,105,9311,9315,121,59,1,1119,103,114,97,114,114,59,1,10239,4,18,68,97,99,100,101,102,103,108,109,110,111,112,113,114,115,116,117,120,9361,9376,9398,9439,9444,9447,9462,9495,9531,9585,9598,9614,9659,9755,9771,9792,9808,9826,4,2,68,111,9367,9372,111,116,59,1,10871,116,59,1,8785,4,2,99,115,9382,9392,117,116,101,5,233,1,59,9390,1,233,116,101,114,59,1,10862,4,4,97,105,111,121,9408,9414,9430,9436,114,111,110,59,1,283,114,4,2,59,99,9421,9423,1,8790,5,234,1,59,9428,1,234,108,111,110,59,1,8789,59,1,1101,111,116,59,1,279,59,1,8519,4,2,68,114,9453,9458,111,116,59,1,8786,59,3,55349,56610,4,3,59,114,115,9470,9472,9482,1,10906,97,118,101,5,232,1,59,9480,1,232,4,2,59,100,9488,9490,1,10902,111,116,59,1,10904,4,4,59,105,108,115,9505,9507,9515,9518,1,10905,110,116,101,114,115,59,1,9191,59,1,8467,4,2,59,100,9524,9526,1,10901,111,116,59,1,10903,4,3,97,112,115,9539,9544,9564,99,114,59,1,275,116,121,4,3,59,115,118,9554,9556,9561,1,8709,101,116,59,1,8709,59,1,8709,112,4,2,49,59,9571,9583,4,2,51,52,9577,9580,59,1,8196,59,1,8197,1,8195,4,2,103,115,9591,9594,59,1,331,112,59,1,8194,4,2,103,112,9604,9609,111,110,59,1,281,102,59,3,55349,56662,4,3,97,108,115,9622,9635,9640,114,4,2,59,115,9629,9631,1,8917,108,59,1,10723,117,115,59,1,10865,105,4,3,59,108,118,9649,9651,9656,1,949,111,110,59,1,949,59,1,1013,4,4,99,115,117,118,9669,9686,9716,9747,4,2,105,111,9675,9680,114,99,59,1,8790,108,111,110,59,1,8789,4,2,105,108,9692,9696,109,59,1,8770,97,110,116,4,2,103,108,9705,9710,116,114,59,1,10902,101,115,115,59,1,10901,4,3,97,101,105,9724,9729,9734,108,115,59,1,61,115,116,59,1,8799,118,4,2,59,68,9741,9743,1,8801,68,59,1,10872,112,97,114,115,108,59,1,10725,4,2,68,97,9761,9766,111,116,59,1,8787,114,114,59,1,10609,4,3,99,100,105,9779,9783,9788,114,59,1,8495,111,116,59,1,8784,109,59,1,8770,4,2,97,104,9798,9801,59,1,951,5,240,1,59,9806,1,240,4,2,109,114,9814,9822,108,5,235,1,59,9820,1,235,111,59,1,8364,4,3,99,105,112,9834,9838,9843,108,59,1,33,115,116,59,1,8707,4,2,101,111,9849,9859,99,116,97,116,105,111,110,59,1,8496,110,101,110,116,105,97,108,101,59,1,8519,4,12,97,99,101,102,105,106,108,110,111,112,114,115,9896,9910,9914,9921,9954,9960,9967,9989,9994,10027,10036,10164,108,108,105,110,103,100,111,116,115,101,113,59,1,8786,121,59,1,1092,109,97,108,101,59,1,9792,4,3,105,108,114,9929,9935,9950,108,105,103,59,1,64259,4,2,105,108,9941,9945,103,59,1,64256,105,103,59,1,64260,59,3,55349,56611,108,105,103,59,1,64257,108,105,103,59,3,102,106,4,3,97,108,116,9975,9979,9984,116,59,1,9837,105,103,59,1,64258,110,115,59,1,9649,111,102,59,1,402,4,2,112,114,1e4,10005,102,59,3,55349,56663,4,2,97,107,10011,10016,108,108,59,1,8704,4,2,59,118,10022,10024,1,8916,59,1,10969,97,114,116,105,110,116,59,1,10765,4,2,97,111,10042,10159,4,2,99,115,10048,10155,4,6,49,50,51,52,53,55,10062,10102,10114,10135,10139,10151,4,6,50,51,52,53,54,56,10076,10083,10086,10093,10096,10099,5,189,1,59,10081,1,189,59,1,8531,5,188,1,59,10091,1,188,59,1,8533,59,1,8537,59,1,8539,4,2,51,53,10108,10111,59,1,8532,59,1,8534,4,3,52,53,56,10122,10129,10132,5,190,1,59,10127,1,190,59,1,8535,59,1,8540,53,59,1,8536,4,2,54,56,10145,10148,59,1,8538,59,1,8541,56,59,1,8542,108,59,1,8260,119,110,59,1,8994,99,114,59,3,55349,56507,4,17,69,97,98,99,100,101,102,103,105,106,108,110,111,114,115,116,118,10206,10217,10247,10254,10268,10273,10358,10363,10374,10380,10385,10406,10458,10464,10470,10497,10610,4,2,59,108,10212,10214,1,8807,59,1,10892,4,3,99,109,112,10225,10231,10244,117,116,101,59,1,501,109,97,4,2,59,100,10239,10241,1,947,59,1,989,59,1,10886,114,101,118,101,59,1,287,4,2,105,121,10260,10265,114,99,59,1,285,59,1,1075,111,116,59,1,289,4,4,59,108,113,115,10283,10285,10288,10308,1,8805,59,1,8923,4,3,59,113,115,10296,10298,10301,1,8805,59,1,8807,108,97,110,116,59,1,10878,4,4,59,99,100,108,10318,10320,10324,10345,1,10878,99,59,1,10921,111,116,4,2,59,111,10332,10334,1,10880,4,2,59,108,10340,10342,1,10882,59,1,10884,4,2,59,101,10351,10354,3,8923,65024,115,59,1,10900,114,59,3,55349,56612,4,2,59,103,10369,10371,1,8811,59,1,8921,109,101,108,59,1,8503,99,121,59,1,1107,4,4,59,69,97,106,10395,10397,10400,10403,1,8823,59,1,10898,59,1,10917,59,1,10916,4,4,69,97,101,115,10416,10419,10434,10453,59,1,8809,112,4,2,59,112,10426,10428,1,10890,114,111,120,59,1,10890,4,2,59,113,10440,10442,1,10888,4,2,59,113,10448,10450,1,10888,59,1,8809,105,109,59,1,8935,112,102,59,3,55349,56664,97,118,101,59,1,96,4,2,99,105,10476,10480,114,59,1,8458,109,4,3,59,101,108,10489,10491,10494,1,8819,59,1,10894,59,1,10896,5,62,6,59,99,100,108,113,114,10512,10514,10527,10532,10538,10545,1,62,4,2,99,105,10520,10523,59,1,10919,114,59,1,10874,111,116,59,1,8919,80,97,114,59,1,10645,117,101,115,116,59,1,10876,4,5,97,100,101,108,115,10557,10574,10579,10599,10605,4,2,112,114,10563,10570,112,114,111,120,59,1,10886,114,59,1,10616,111,116,59,1,8919,113,4,2,108,113,10586,10592,101,115,115,59,1,8923,108,101,115,115,59,1,10892,101,115,115,59,1,8823,105,109,59,1,8819,4,2,101,110,10616,10626,114,116,110,101,113,113,59,3,8809,65024,69,59,3,8809,65024,4,10,65,97,98,99,101,102,107,111,115,121,10653,10658,10713,10718,10724,10760,10765,10786,10850,10875,114,114,59,1,8660,4,4,105,108,109,114,10668,10674,10678,10684,114,115,112,59,1,8202,102,59,1,189,105,108,116,59,1,8459,4,2,100,114,10690,10695,99,121,59,1,1098,4,3,59,99,119,10703,10705,10710,1,8596,105,114,59,1,10568,59,1,8621,97,114,59,1,8463,105,114,99,59,1,293,4,3,97,108,114,10732,10748,10754,114,116,115,4,2,59,117,10741,10743,1,9829,105,116,59,1,9829,108,105,112,59,1,8230,99,111,110,59,1,8889,114,59,3,55349,56613,115,4,2,101,119,10772,10779,97,114,111,119,59,1,10533,97,114,111,119,59,1,10534,4,5,97,109,111,112,114,10798,10803,10809,10839,10844,114,114,59,1,8703,116,104,116,59,1,8763,107,4,2,108,114,10816,10827,101,102,116,97,114,114,111,119,59,1,8617,105,103,104,116,97,114,114,111,119,59,1,8618,102,59,3,55349,56665,98,97,114,59,1,8213,4,3,99,108,116,10858,10863,10869,114,59,3,55349,56509,97,115,104,59,1,8463,114,111,107,59,1,295,4,2,98,112,10881,10887,117,108,108,59,1,8259,104,101,110,59,1,8208,4,15,97,99,101,102,103,105,106,109,110,111,112,113,115,116,117,10925,10936,10958,10977,10990,11001,11039,11045,11101,11192,11220,11226,11237,11285,11299,99,117,116,101,5,237,1,59,10934,1,237,4,3,59,105,121,10944,10946,10955,1,8291,114,99,5,238,1,59,10953,1,238,59,1,1080,4,2,99,120,10964,10968,121,59,1,1077,99,108,5,161,1,59,10975,1,161,4,2,102,114,10983,10986,59,1,8660,59,3,55349,56614,114,97,118,101,5,236,1,59,10999,1,236,4,4,59,105,110,111,11011,11013,11028,11034,1,8520,4,2,105,110,11019,11024,110,116,59,1,10764,116,59,1,8749,102,105,110,59,1,10716,116,97,59,1,8489,108,105,103,59,1,307,4,3,97,111,112,11053,11092,11096,4,3,99,103,116,11061,11065,11088,114,59,1,299,4,3,101,108,112,11073,11076,11082,59,1,8465,105,110,101,59,1,8464,97,114,116,59,1,8465,104,59,1,305,102,59,1,8887,101,100,59,1,437,4,5,59,99,102,111,116,11113,11115,11121,11136,11142,1,8712,97,114,101,59,1,8453,105,110,4,2,59,116,11129,11131,1,8734,105,101,59,1,10717,100,111,116,59,1,305,4,5,59,99,101,108,112,11154,11156,11161,11179,11186,1,8747,97,108,59,1,8890,4,2,103,114,11167,11173,101,114,115,59,1,8484,99,97,108,59,1,8890,97,114,104,107,59,1,10775,114,111,100,59,1,10812,4,4,99,103,112,116,11202,11206,11211,11216,121,59,1,1105,111,110,59,1,303,102,59,3,55349,56666,97,59,1,953,114,111,100,59,1,10812,117,101,115,116,5,191,1,59,11235,1,191,4,2,99,105,11243,11248,114,59,3,55349,56510,110,4,5,59,69,100,115,118,11261,11263,11266,11271,11282,1,8712,59,1,8953,111,116,59,1,8949,4,2,59,118,11277,11279,1,8948,59,1,8947,59,1,8712,4,2,59,105,11291,11293,1,8290,108,100,101,59,1,297,4,2,107,109,11305,11310,99,121,59,1,1110,108,5,239,1,59,11316,1,239,4,6,99,102,109,111,115,117,11332,11346,11351,11357,11363,11380,4,2,105,121,11338,11343,114,99,59,1,309,59,1,1081,114,59,3,55349,56615,97,116,104,59,1,567,112,102,59,3,55349,56667,4,2,99,101,11369,11374,114,59,3,55349,56511,114,99,121,59,1,1112,107,99,121,59,1,1108,4,8,97,99,102,103,104,106,111,115,11404,11418,11433,11438,11445,11450,11455,11461,112,112,97,4,2,59,118,11413,11415,1,954,59,1,1008,4,2,101,121,11424,11430,100,105,108,59,1,311,59,1,1082,114,59,3,55349,56616,114,101,101,110,59,1,312,99,121,59,1,1093,99,121,59,1,1116,112,102,59,3,55349,56668,99,114,59,3,55349,56512,4,23,65,66,69,72,97,98,99,100,101,102,103,104,106,108,109,110,111,112,114,115,116,117,118,11515,11538,11544,11555,11560,11721,11780,11818,11868,12136,12160,12171,12203,12208,12246,12275,12327,12509,12523,12569,12641,12732,12752,4,3,97,114,116,11523,11528,11532,114,114,59,1,8666,114,59,1,8656,97,105,108,59,1,10523,97,114,114,59,1,10510,4,2,59,103,11550,11552,1,8806,59,1,10891,97,114,59,1,10594,4,9,99,101,103,109,110,112,113,114,116,11580,11586,11594,11600,11606,11624,11627,11636,11694,117,116,101,59,1,314,109,112,116,121,118,59,1,10676,114,97,110,59,1,8466,98,100,97,59,1,955,103,4,3,59,100,108,11615,11617,11620,1,10216,59,1,10641,101,59,1,10216,59,1,10885,117,111,5,171,1,59,11634,1,171,114,4,8,59,98,102,104,108,112,115,116,11655,11657,11669,11673,11677,11681,11685,11690,1,8592,4,2,59,102,11663,11665,1,8676,115,59,1,10527,115,59,1,10525,107,59,1,8617,112,59,1,8619,108,59,1,10553,105,109,59,1,10611,108,59,1,8610,4,3,59,97,101,11702,11704,11709,1,10923,105,108,59,1,10521,4,2,59,115,11715,11717,1,10925,59,3,10925,65024,4,3,97,98,114,11729,11734,11739,114,114,59,1,10508,114,107,59,1,10098,4,2,97,107,11745,11758,99,4,2,101,107,11752,11755,59,1,123,59,1,91,4,2,101,115,11764,11767,59,1,10635,108,4,2,100,117,11774,11777,59,1,10639,59,1,10637,4,4,97,101,117,121,11790,11796,11811,11815,114,111,110,59,1,318,4,2,100,105,11802,11807,105,108,59,1,316,108,59,1,8968,98,59,1,123,59,1,1083,4,4,99,113,114,115,11828,11832,11845,11864,97,59,1,10550,117,111,4,2,59,114,11840,11842,1,8220,59,1,8222,4,2,100,117,11851,11857,104,97,114,59,1,10599,115,104,97,114,59,1,10571,104,59,1,8626,4,5,59,102,103,113,115,11880,11882,12008,12011,12031,1,8804,116,4,5,97,104,108,114,116,11895,11913,11935,11947,11996,114,114,111,119,4,2,59,116,11905,11907,1,8592,97,105,108,59,1,8610,97,114,112,111,111,110,4,2,100,117,11925,11931,111,119,110,59,1,8637,112,59,1,8636,101,102,116,97,114,114,111,119,115,59,1,8647,105,103,104,116,4,3,97,104,115,11959,11974,11984,114,114,111,119,4,2,59,115,11969,11971,1,8596,59,1,8646,97,114,112,111,111,110,115,59,1,8651,113,117,105,103,97,114,114,111,119,59,1,8621,104,114,101,101,116,105,109,101,115,59,1,8907,59,1,8922,4,3,59,113,115,12019,12021,12024,1,8804,59,1,8806,108,97,110,116,59,1,10877,4,5,59,99,100,103,115,12043,12045,12049,12070,12083,1,10877,99,59,1,10920,111,116,4,2,59,111,12057,12059,1,10879,4,2,59,114,12065,12067,1,10881,59,1,10883,4,2,59,101,12076,12079,3,8922,65024,115,59,1,10899,4,5,97,100,101,103,115,12095,12103,12108,12126,12131,112,112,114,111,120,59,1,10885,111,116,59,1,8918,113,4,2,103,113,12115,12120,116,114,59,1,8922,103,116,114,59,1,10891,116,114,59,1,8822,105,109,59,1,8818,4,3,105,108,114,12144,12150,12156,115,104,116,59,1,10620,111,111,114,59,1,8970,59,3,55349,56617,4,2,59,69,12166,12168,1,8822,59,1,10897,4,2,97,98,12177,12198,114,4,2,100,117,12184,12187,59,1,8637,4,2,59,108,12193,12195,1,8636,59,1,10602,108,107,59,1,9604,99,121,59,1,1113,4,5,59,97,99,104,116,12220,12222,12227,12235,12241,1,8810,114,114,59,1,8647,111,114,110,101,114,59,1,8990,97,114,100,59,1,10603,114,105,59,1,9722,4,2,105,111,12252,12258,100,111,116,59,1,320,117,115,116,4,2,59,97,12267,12269,1,9136,99,104,101,59,1,9136,4,4,69,97,101,115,12285,12288,12303,12322,59,1,8808,112,4,2,59,112,12295,12297,1,10889,114,111,120,59,1,10889,4,2,59,113,12309,12311,1,10887,4,2,59,113,12317,12319,1,10887,59,1,8808,105,109,59,1,8934,4,8,97,98,110,111,112,116,119,122,12345,12359,12364,12421,12446,12467,12474,12490,4,2,110,114,12351,12355,103,59,1,10220,114,59,1,8701,114,107,59,1,10214,103,4,3,108,109,114,12373,12401,12409,101,102,116,4,2,97,114,12382,12389,114,114,111,119,59,1,10229,105,103,104,116,97,114,114,111,119,59,1,10231,97,112,115,116,111,59,1,10236,105,103,104,116,97,114,114,111,119,59,1,10230,112,97,114,114,111,119,4,2,108,114,12433,12439,101,102,116,59,1,8619,105,103,104,116,59,1,8620,4,3,97,102,108,12454,12458,12462,114,59,1,10629,59,3,55349,56669,117,115,59,1,10797,105,109,101,115,59,1,10804,4,2,97,98,12480,12485,115,116,59,1,8727,97,114,59,1,95,4,3,59,101,102,12498,12500,12506,1,9674,110,103,101,59,1,9674,59,1,10731,97,114,4,2,59,108,12517,12519,1,40,116,59,1,10643,4,5,97,99,104,109,116,12535,12540,12548,12561,12564,114,114,59,1,8646,111,114,110,101,114,59,1,8991,97,114,4,2,59,100,12556,12558,1,8651,59,1,10605,59,1,8206,114,105,59,1,8895,4,6,97,99,104,105,113,116,12583,12589,12594,12597,12614,12635,113,117,111,59,1,8249,114,59,3,55349,56513,59,1,8624,109,4,3,59,101,103,12606,12608,12611,1,8818,59,1,10893,59,1,10895,4,2,98,117,12620,12623,59,1,91,111,4,2,59,114,12630,12632,1,8216,59,1,8218,114,111,107,59,1,322,5,60,8,59,99,100,104,105,108,113,114,12660,12662,12675,12680,12686,12692,12698,12705,1,60,4,2,99,105,12668,12671,59,1,10918,114,59,1,10873,111,116,59,1,8918,114,101,101,59,1,8907,109,101,115,59,1,8905,97,114,114,59,1,10614,117,101,115,116,59,1,10875,4,2,80,105,12711,12716,97,114,59,1,10646,4,3,59,101,102,12724,12726,12729,1,9667,59,1,8884,59,1,9666,114,4,2,100,117,12739,12746,115,104,97,114,59,1,10570,104,97,114,59,1,10598,4,2,101,110,12758,12768,114,116,110,101,113,113,59,3,8808,65024,69,59,3,8808,65024,4,14,68,97,99,100,101,102,104,105,108,110,111,112,115,117,12803,12809,12893,12908,12914,12928,12933,12937,13011,13025,13032,13049,13052,13069,68,111,116,59,1,8762,4,4,99,108,112,114,12819,12827,12849,12887,114,5,175,1,59,12825,1,175,4,2,101,116,12833,12836,59,1,9794,4,2,59,101,12842,12844,1,10016,115,101,59,1,10016,4,2,59,115,12855,12857,1,8614,116,111,4,4,59,100,108,117,12869,12871,12877,12883,1,8614,111,119,110,59,1,8615,101,102,116,59,1,8612,112,59,1,8613,107,101,114,59,1,9646,4,2,111,121,12899,12905,109,109,97,59,1,10793,59,1,1084,97,115,104,59,1,8212,97,115,117,114,101,100,97,110,103,108,101,59,1,8737,114,59,3,55349,56618,111,59,1,8487,4,3,99,100,110,12945,12954,12985,114,111,5,181,1,59,12952,1,181,4,4,59,97,99,100,12964,12966,12971,12976,1,8739,115,116,59,1,42,105,114,59,1,10992,111,116,5,183,1,59,12983,1,183,117,115,4,3,59,98,100,12995,12997,13e3,1,8722,59,1,8863,4,2,59,117,13006,13008,1,8760,59,1,10794,4,2,99,100,13017,13021,112,59,1,10971,114,59,1,8230,112,108,117,115,59,1,8723,4,2,100,112,13038,13044,101,108,115,59,1,8871,102,59,3,55349,56670,59,1,8723,4,2,99,116,13058,13063,114,59,3,55349,56514,112,111,115,59,1,8766,4,3,59,108,109,13077,13079,13087,1,956,116,105,109,97,112,59,1,8888,97,112,59,1,8888,4,24,71,76,82,86,97,98,99,100,101,102,103,104,105,106,108,109,111,112,114,115,116,117,118,119,13142,13165,13217,13229,13247,13330,13359,13414,13420,13508,13513,13579,13602,13626,13631,13762,13767,13855,13936,13995,14214,14285,14312,14432,4,2,103,116,13148,13152,59,3,8921,824,4,2,59,118,13158,13161,3,8811,8402,59,3,8811,824,4,3,101,108,116,13173,13200,13204,102,116,4,2,97,114,13181,13188,114,114,111,119,59,1,8653,105,103,104,116,97,114,114,111,119,59,1,8654,59,3,8920,824,4,2,59,118,13210,13213,3,8810,8402,59,3,8810,824,105,103,104,116,97,114,114,111,119,59,1,8655,4,2,68,100,13235,13241,97,115,104,59,1,8879,97,115,104,59,1,8878,4,5,98,99,110,112,116,13259,13264,13270,13275,13308,108,97,59,1,8711,117,116,101,59,1,324,103,59,3,8736,8402,4,5,59,69,105,111,112,13287,13289,13293,13298,13302,1,8777,59,3,10864,824,100,59,3,8779,824,115,59,1,329,114,111,120,59,1,8777,117,114,4,2,59,97,13316,13318,1,9838,108,4,2,59,115,13325,13327,1,9838,59,1,8469,4,2,115,117,13336,13344,112,5,160,1,59,13342,1,160,109,112,4,2,59,101,13352,13355,3,8782,824,59,3,8783,824,4,5,97,101,111,117,121,13371,13385,13391,13407,13411,4,2,112,114,13377,13380,59,1,10819,111,110,59,1,328,100,105,108,59,1,326,110,103,4,2,59,100,13399,13401,1,8775,111,116,59,3,10861,824,112,59,1,10818,59,1,1085,97,115,104,59,1,8211,4,7,59,65,97,100,113,115,120,13436,13438,13443,13466,13472,13478,13494,1,8800,114,114,59,1,8663,114,4,2,104,114,13450,13454,107,59,1,10532,4,2,59,111,13460,13462,1,8599,119,59,1,8599,111,116,59,3,8784,824,117,105,118,59,1,8802,4,2,101,105,13484,13489,97,114,59,1,10536,109,59,3,8770,824,105,115,116,4,2,59,115,13503,13505,1,8708,59,1,8708,114,59,3,55349,56619,4,4,69,101,115,116,13523,13527,13563,13568,59,3,8807,824,4,3,59,113,115,13535,13537,13559,1,8817,4,3,59,113,115,13545,13547,13551,1,8817,59,3,8807,824,108,97,110,116,59,3,10878,824,59,3,10878,824,105,109,59,1,8821,4,2,59,114,13574,13576,1,8815,59,1,8815,4,3,65,97,112,13587,13592,13597,114,114,59,1,8654,114,114,59,1,8622,97,114,59,1,10994,4,3,59,115,118,13610,13612,13623,1,8715,4,2,59,100,13618,13620,1,8956,59,1,8954,59,1,8715,99,121,59,1,1114,4,7,65,69,97,100,101,115,116,13647,13652,13656,13661,13665,13737,13742,114,114,59,1,8653,59,3,8806,824,114,114,59,1,8602,114,59,1,8229,4,4,59,102,113,115,13675,13677,13703,13725,1,8816,116,4,2,97,114,13684,13691,114,114,111,119,59,1,8602,105,103,104,116,97,114,114,111,119,59,1,8622,4,3,59,113,115,13711,13713,13717,1,8816,59,3,8806,824,108,97,110,116,59,3,10877,824,4,2,59,115,13731,13734,3,10877,824,59,1,8814,105,109,59,1,8820,4,2,59,114,13748,13750,1,8814,105,4,2,59,101,13757,13759,1,8938,59,1,8940,105,100,59,1,8740,4,2,112,116,13773,13778,102,59,3,55349,56671,5,172,3,59,105,110,13787,13789,13829,1,172,110,4,4,59,69,100,118,13800,13802,13806,13812,1,8713,59,3,8953,824,111,116,59,3,8949,824,4,3,97,98,99,13820,13823,13826,59,1,8713,59,1,8951,59,1,8950,105,4,2,59,118,13836,13838,1,8716,4,3,97,98,99,13846,13849,13852,59,1,8716,59,1,8958,59,1,8957,4,3,97,111,114,13863,13892,13899,114,4,4,59,97,115,116,13874,13876,13883,13888,1,8742,108,108,101,108,59,1,8742,108,59,3,11005,8421,59,3,8706,824,108,105,110,116,59,1,10772,4,3,59,99,101,13907,13909,13914,1,8832,117,101,59,1,8928,4,2,59,99,13920,13923,3,10927,824,4,2,59,101,13929,13931,1,8832,113,59,3,10927,824,4,4,65,97,105,116,13946,13951,13971,13982,114,114,59,1,8655,114,114,4,3,59,99,119,13961,13963,13967,1,8603,59,3,10547,824,59,3,8605,824,103,104,116,97,114,114,111,119,59,1,8603,114,105,4,2,59,101,13990,13992,1,8939,59,1,8941,4,7,99,104,105,109,112,113,117,14011,14036,14060,14080,14085,14090,14106,4,4,59,99,101,114,14021,14023,14028,14032,1,8833,117,101,59,1,8929,59,3,10928,824,59,3,55349,56515,111,114,116,4,2,109,112,14045,14050,105,100,59,1,8740,97,114,97,108,108,101,108,59,1,8742,109,4,2,59,101,14067,14069,1,8769,4,2,59,113,14075,14077,1,8772,59,1,8772,105,100,59,1,8740,97,114,59,1,8742,115,117,4,2,98,112,14098,14102,101,59,1,8930,101,59,1,8931,4,3,98,99,112,14114,14157,14171,4,4,59,69,101,115,14124,14126,14130,14133,1,8836,59,3,10949,824,59,1,8840,101,116,4,2,59,101,14141,14144,3,8834,8402,113,4,2,59,113,14151,14153,1,8840,59,3,10949,824,99,4,2,59,101,14164,14166,1,8833,113,59,3,10928,824,4,4,59,69,101,115,14181,14183,14187,14190,1,8837,59,3,10950,824,59,1,8841,101,116,4,2,59,101,14198,14201,3,8835,8402,113,4,2,59,113,14208,14210,1,8841,59,3,10950,824,4,4,103,105,108,114,14224,14228,14238,14242,108,59,1,8825,108,100,101,5,241,1,59,14236,1,241,103,59,1,8824,105,97,110,103,108,101,4,2,108,114,14254,14269,101,102,116,4,2,59,101,14263,14265,1,8938,113,59,1,8940,105,103,104,116,4,2,59,101,14279,14281,1,8939,113,59,1,8941,4,2,59,109,14291,14293,1,957,4,3,59,101,115,14301,14303,14308,1,35,114,111,59,1,8470,112,59,1,8199,4,9,68,72,97,100,103,105,108,114,115,14332,14338,14344,14349,14355,14369,14376,14408,14426,97,115,104,59,1,8877,97,114,114,59,1,10500,112,59,3,8781,8402,97,115,104,59,1,8876,4,2,101,116,14361,14365,59,3,8805,8402,59,3,62,8402,110,102,105,110,59,1,10718,4,3,65,101,116,14384,14389,14393,114,114,59,1,10498,59,3,8804,8402,4,2,59,114,14399,14402,3,60,8402,105,101,59,3,8884,8402,4,2,65,116,14414,14419,114,114,59,1,10499,114,105,101,59,3,8885,8402,105,109,59,3,8764,8402,4,3,65,97,110,14440,14445,14468,114,114,59,1,8662,114,4,2,104,114,14452,14456,107,59,1,10531,4,2,59,111,14462,14464,1,8598,119,59,1,8598,101,97,114,59,1,10535,4,18,83,97,99,100,101,102,103,104,105,108,109,111,112,114,115,116,117,118,14512,14515,14535,14560,14597,14603,14618,14643,14657,14662,14701,14741,14747,14769,14851,14877,14907,14916,59,1,9416,4,2,99,115,14521,14531,117,116,101,5,243,1,59,14529,1,243,116,59,1,8859,4,2,105,121,14541,14557,114,4,2,59,99,14548,14550,1,8858,5,244,1,59,14555,1,244,59,1,1086,4,5,97,98,105,111,115,14572,14577,14583,14587,14591,115,104,59,1,8861,108,97,99,59,1,337,118,59,1,10808,116,59,1,8857,111,108,100,59,1,10684,108,105,103,59,1,339,4,2,99,114,14609,14614,105,114,59,1,10687,59,3,55349,56620,4,3,111,114,116,14626,14630,14640,110,59,1,731,97,118,101,5,242,1,59,14638,1,242,59,1,10689,4,2,98,109,14649,14654,97,114,59,1,10677,59,1,937,110,116,59,1,8750,4,4,97,99,105,116,14672,14677,14693,14698,114,114,59,1,8634,4,2,105,114,14683,14687,114,59,1,10686,111,115,115,59,1,10683,110,101,59,1,8254,59,1,10688,4,3,97,101,105,14709,14714,14719,99,114,59,1,333,103,97,59,1,969,4,3,99,100,110,14727,14733,14736,114,111,110,59,1,959,59,1,10678,117,115,59,1,8854,112,102,59,3,55349,56672,4,3,97,101,108,14755,14759,14764,114,59,1,10679,114,112,59,1,10681,117,115,59,1,8853,4,7,59,97,100,105,111,115,118,14785,14787,14792,14831,14837,14841,14848,1,8744,114,114,59,1,8635,4,4,59,101,102,109,14802,14804,14817,14824,1,10845,114,4,2,59,111,14811,14813,1,8500,102,59,1,8500,5,170,1,59,14822,1,170,5,186,1,59,14829,1,186,103,111,102,59,1,8886,114,59,1,10838,108,111,112,101,59,1,10839,59,1,10843,4,3,99,108,111,14859,14863,14873,114,59,1,8500,97,115,104,5,248,1,59,14871,1,248,108,59,1,8856,105,4,2,108,109,14884,14893,100,101,5,245,1,59,14891,1,245,101,115,4,2,59,97,14901,14903,1,8855,115,59,1,10806,109,108,5,246,1,59,14914,1,246,98,97,114,59,1,9021,4,12,97,99,101,102,104,105,108,109,111,114,115,117,14948,14992,14996,15033,15038,15068,15090,15189,15192,15222,15427,15441,114,4,4,59,97,115,116,14959,14961,14976,14989,1,8741,5,182,2,59,108,14968,14970,1,182,108,101,108,59,1,8741,4,2,105,108,14982,14986,109,59,1,10995,59,1,11005,59,1,8706,121,59,1,1087,114,4,5,99,105,109,112,116,15009,15014,15019,15024,15027,110,116,59,1,37,111,100,59,1,46,105,108,59,1,8240,59,1,8869,101,110,107,59,1,8241,114,59,3,55349,56621,4,3,105,109,111,15046,15057,15063,4,2,59,118,15052,15054,1,966,59,1,981,109,97,116,59,1,8499,110,101,59,1,9742,4,3,59,116,118,15076,15078,15087,1,960,99,104,102,111,114,107,59,1,8916,59,1,982,4,2,97,117,15096,15119,110,4,2,99,107,15103,15115,107,4,2,59,104,15110,15112,1,8463,59,1,8462,118,59,1,8463,115,4,9,59,97,98,99,100,101,109,115,116,15140,15142,15148,15151,15156,15168,15171,15179,15184,1,43,99,105,114,59,1,10787,59,1,8862,105,114,59,1,10786,4,2,111,117,15162,15165,59,1,8724,59,1,10789,59,1,10866,110,5,177,1,59,15177,1,177,105,109,59,1,10790,119,111,59,1,10791,59,1,177,4,3,105,112,117,15200,15208,15213,110,116,105,110,116,59,1,10773,102,59,3,55349,56673,110,100,5,163,1,59,15220,1,163,4,10,59,69,97,99,101,105,110,111,115,117,15244,15246,15249,15253,15258,15334,15347,15367,15416,15421,1,8826,59,1,10931,112,59,1,10935,117,101,59,1,8828,4,2,59,99,15264,15266,1,10927,4,6,59,97,99,101,110,115,15280,15282,15290,15299,15303,15329,1,8826,112,112,114,111,120,59,1,10935,117,114,108,121,101,113,59,1,8828,113,59,1,10927,4,3,97,101,115,15311,15319,15324,112,112,114,111,120,59,1,10937,113,113,59,1,10933,105,109,59,1,8936,105,109,59,1,8830,109,101,4,2,59,115,15342,15344,1,8242,59,1,8473,4,3,69,97,115,15355,15358,15362,59,1,10933,112,59,1,10937,105,109,59,1,8936,4,3,100,102,112,15375,15378,15404,59,1,8719,4,3,97,108,115,15386,15392,15398,108,97,114,59,1,9006,105,110,101,59,1,8978,117,114,102,59,1,8979,4,2,59,116,15410,15412,1,8733,111,59,1,8733,105,109,59,1,8830,114,101,108,59,1,8880,4,2,99,105,15433,15438,114,59,3,55349,56517,59,1,968,110,99,115,112,59,1,8200,4,6,102,105,111,112,115,117,15462,15467,15472,15478,15485,15491,114,59,3,55349,56622,110,116,59,1,10764,112,102,59,3,55349,56674,114,105,109,101,59,1,8279,99,114,59,3,55349,56518,4,3,97,101,111,15499,15520,15534,116,4,2,101,105,15506,15515,114,110,105,111,110,115,59,1,8461,110,116,59,1,10774,115,116,4,2,59,101,15528,15530,1,63,113,59,1,8799,116,5,34,1,59,15540,1,34,4,21,65,66,72,97,98,99,100,101,102,104,105,108,109,110,111,112,114,115,116,117,120,15586,15609,15615,15620,15796,15855,15893,15931,15977,16001,16039,16183,16204,16222,16228,16285,16312,16318,16363,16408,16416,4,3,97,114,116,15594,15599,15603,114,114,59,1,8667,114,59,1,8658,97,105,108,59,1,10524,97,114,114,59,1,10511,97,114,59,1,10596,4,7,99,100,101,110,113,114,116,15636,15651,15656,15664,15687,15696,15770,4,2,101,117,15642,15646,59,3,8765,817,116,101,59,1,341,105,99,59,1,8730,109,112,116,121,118,59,1,10675,103,4,4,59,100,101,108,15675,15677,15680,15683,1,10217,59,1,10642,59,1,10661,101,59,1,10217,117,111,5,187,1,59,15694,1,187,114,4,11,59,97,98,99,102,104,108,112,115,116,119,15721,15723,15727,15739,15742,15746,15750,15754,15758,15763,15767,1,8594,112,59,1,10613,4,2,59,102,15733,15735,1,8677,115,59,1,10528,59,1,10547,115,59,1,10526,107,59,1,8618,112,59,1,8620,108,59,1,10565,105,109,59,1,10612,108,59,1,8611,59,1,8605,4,2,97,105,15776,15781,105,108,59,1,10522,111,4,2,59,110,15788,15790,1,8758,97,108,115,59,1,8474,4,3,97,98,114,15804,15809,15814,114,114,59,1,10509,114,107,59,1,10099,4,2,97,107,15820,15833,99,4,2,101,107,15827,15830,59,1,125,59,1,93,4,2,101,115,15839,15842,59,1,10636,108,4,2,100,117,15849,15852,59,1,10638,59,1,10640,4,4,97,101,117,121,15865,15871,15886,15890,114,111,110,59,1,345,4,2,100,105,15877,15882,105,108,59,1,343,108,59,1,8969,98,59,1,125,59,1,1088,4,4,99,108,113,115,15903,15907,15914,15927,97,59,1,10551,100,104,97,114,59,1,10601,117,111,4,2,59,114,15922,15924,1,8221,59,1,8221,104,59,1,8627,4,3,97,99,103,15939,15966,15970,108,4,4,59,105,112,115,15950,15952,15957,15963,1,8476,110,101,59,1,8475,97,114,116,59,1,8476,59,1,8477,116,59,1,9645,5,174,1,59,15975,1,174,4,3,105,108,114,15985,15991,15997,115,104,116,59,1,10621,111,111,114,59,1,8971,59,3,55349,56623,4,2,97,111,16007,16028,114,4,2,100,117,16014,16017,59,1,8641,4,2,59,108,16023,16025,1,8640,59,1,10604,4,2,59,118,16034,16036,1,961,59,1,1009,4,3,103,110,115,16047,16167,16171,104,116,4,6,97,104,108,114,115,116,16063,16081,16103,16130,16143,16155,114,114,111,119,4,2,59,116,16073,16075,1,8594,97,105,108,59,1,8611,97,114,112,111,111,110,4,2,100,117,16093,16099,111,119,110,59,1,8641,112,59,1,8640,101,102,116,4,2,97,104,16112,16120,114,114,111,119,115,59,1,8644,97,114,112,111,111,110,115,59,1,8652,105,103,104,116,97,114,114,111,119,115,59,1,8649,113,117,105,103,97,114,114,111,119,59,1,8605,104,114,101,101,116,105,109,101,115,59,1,8908,103,59,1,730,105,110,103,100,111,116,115,101,113,59,1,8787,4,3,97,104,109,16191,16196,16201,114,114,59,1,8644,97,114,59,1,8652,59,1,8207,111,117,115,116,4,2,59,97,16214,16216,1,9137,99,104,101,59,1,9137,109,105,100,59,1,10990,4,4,97,98,112,116,16238,16252,16257,16278,4,2,110,114,16244,16248,103,59,1,10221,114,59,1,8702,114,107,59,1,10215,4,3,97,102,108,16265,16269,16273,114,59,1,10630,59,3,55349,56675,117,115,59,1,10798,105,109,101,115,59,1,10805,4,2,97,112,16291,16304,114,4,2,59,103,16298,16300,1,41,116,59,1,10644,111,108,105,110,116,59,1,10770,97,114,114,59,1,8649,4,4,97,99,104,113,16328,16334,16339,16342,113,117,111,59,1,8250,114,59,3,55349,56519,59,1,8625,4,2,98,117,16348,16351,59,1,93,111,4,2,59,114,16358,16360,1,8217,59,1,8217,4,3,104,105,114,16371,16377,16383,114,101,101,59,1,8908,109,101,115,59,1,8906,105,4,4,59,101,102,108,16394,16396,16399,16402,1,9657,59,1,8885,59,1,9656,116,114,105,59,1,10702,108,117,104,97,114,59,1,10600,59,1,8478,4,19,97,98,99,100,101,102,104,105,108,109,111,112,113,114,115,116,117,119,122,16459,16466,16472,16572,16590,16672,16687,16746,16844,16850,16924,16963,16988,17115,17121,17154,17206,17614,17656,99,117,116,101,59,1,347,113,117,111,59,1,8218,4,10,59,69,97,99,101,105,110,112,115,121,16494,16496,16499,16513,16518,16531,16536,16556,16564,16569,1,8827,59,1,10932,4,2,112,114,16505,16508,59,1,10936,111,110,59,1,353,117,101,59,1,8829,4,2,59,100,16524,16526,1,10928,105,108,59,1,351,114,99,59,1,349,4,3,69,97,115,16544,16547,16551,59,1,10934,112,59,1,10938,105,109,59,1,8937,111,108,105,110,116,59,1,10771,105,109,59,1,8831,59,1,1089,111,116,4,3,59,98,101,16582,16584,16587,1,8901,59,1,8865,59,1,10854,4,7,65,97,99,109,115,116,120,16606,16611,16634,16642,16646,16652,16668,114,114,59,1,8664,114,4,2,104,114,16618,16622,107,59,1,10533,4,2,59,111,16628,16630,1,8600,119,59,1,8600,116,5,167,1,59,16640,1,167,105,59,1,59,119,97,114,59,1,10537,109,4,2,105,110,16659,16665,110,117,115,59,1,8726,59,1,8726,116,59,1,10038,114,4,2,59,111,16679,16682,3,55349,56624,119,110,59,1,8994,4,4,97,99,111,121,16697,16702,16716,16739,114,112,59,1,9839,4,2,104,121,16708,16713,99,121,59,1,1097,59,1,1096,114,116,4,2,109,112,16724,16729,105,100,59,1,8739,97,114,97,108,108,101,108,59,1,8741,5,173,1,59,16744,1,173,4,2,103,109,16752,16770,109,97,4,3,59,102,118,16762,16764,16767,1,963,59,1,962,59,1,962,4,8,59,100,101,103,108,110,112,114,16788,16790,16795,16806,16817,16828,16832,16838,1,8764,111,116,59,1,10858,4,2,59,113,16801,16803,1,8771,59,1,8771,4,2,59,69,16812,16814,1,10910,59,1,10912,4,2,59,69,16823,16825,1,10909,59,1,10911,101,59,1,8774,108,117,115,59,1,10788,97,114,114,59,1,10610,97,114,114,59,1,8592,4,4,97,101,105,116,16860,16883,16891,16904,4,2,108,115,16866,16878,108,115,101,116,109,105,110,117,115,59,1,8726,104,112,59,1,10803,112,97,114,115,108,59,1,10724,4,2,100,108,16897,16900,59,1,8739,101,59,1,8995,4,2,59,101,16910,16912,1,10922,4,2,59,115,16918,16920,1,10924,59,3,10924,65024,4,3,102,108,112,16932,16938,16958,116,99,121,59,1,1100,4,2,59,98,16944,16946,1,47,4,2,59,97,16952,16954,1,10692,114,59,1,9023,102,59,3,55349,56676,97,4,2,100,114,16970,16985,101,115,4,2,59,117,16978,16980,1,9824,105,116,59,1,9824,59,1,8741,4,3,99,115,117,16996,17028,17089,4,2,97,117,17002,17015,112,4,2,59,115,17009,17011,1,8851,59,3,8851,65024,112,4,2,59,115,17022,17024,1,8852,59,3,8852,65024,117,4,2,98,112,17035,17062,4,3,59,101,115,17043,17045,17048,1,8847,59,1,8849,101,116,4,2,59,101,17056,17058,1,8847,113,59,1,8849,4,3,59,101,115,17070,17072,17075,1,8848,59,1,8850,101,116,4,2,59,101,17083,17085,1,8848,113,59,1,8850,4,3,59,97,102,17097,17099,17112,1,9633,114,4,2,101,102,17106,17109,59,1,9633,59,1,9642,59,1,9642,97,114,114,59,1,8594,4,4,99,101,109,116,17131,17136,17142,17148,114,59,3,55349,56520,116,109,110,59,1,8726,105,108,101,59,1,8995,97,114,102,59,1,8902,4,2,97,114,17160,17172,114,4,2,59,102,17167,17169,1,9734,59,1,9733,4,2,97,110,17178,17202,105,103,104,116,4,2,101,112,17188,17197,112,115,105,108,111,110,59,1,1013,104,105,59,1,981,115,59,1,175,4,5,98,99,109,110,112,17218,17351,17420,17423,17427,4,9,59,69,100,101,109,110,112,114,115,17238,17240,17243,17248,17261,17267,17279,17285,17291,1,8834,59,1,10949,111,116,59,1,10941,4,2,59,100,17254,17256,1,8838,111,116,59,1,10947,117,108,116,59,1,10945,4,2,69,101,17273,17276,59,1,10955,59,1,8842,108,117,115,59,1,10943,97,114,114,59,1,10617,4,3,101,105,117,17299,17335,17339,116,4,3,59,101,110,17308,17310,17322,1,8834,113,4,2,59,113,17317,17319,1,8838,59,1,10949,101,113,4,2,59,113,17330,17332,1,8842,59,1,10955,109,59,1,10951,4,2,98,112,17345,17348,59,1,10965,59,1,10963,99,4,6,59,97,99,101,110,115,17366,17368,17376,17385,17389,17415,1,8827,112,112,114,111,120,59,1,10936,117,114,108,121,101,113,59,1,8829,113,59,1,10928,4,3,97,101,115,17397,17405,17410,112,112,114,111,120,59,1,10938,113,113,59,1,10934,105,109,59,1,8937,105,109,59,1,8831,59,1,8721,103,59,1,9834,4,13,49,50,51,59,69,100,101,104,108,109,110,112,115,17455,17462,17469,17476,17478,17481,17496,17509,17524,17530,17536,17548,17554,5,185,1,59,17460,1,185,5,178,1,59,17467,1,178,5,179,1,59,17474,1,179,1,8835,59,1,10950,4,2,111,115,17487,17491,116,59,1,10942,117,98,59,1,10968,4,2,59,100,17502,17504,1,8839,111,116,59,1,10948,115,4,2,111,117,17516,17520,108,59,1,10185,98,59,1,10967,97,114,114,59,1,10619,117,108,116,59,1,10946,4,2,69,101,17542,17545,59,1,10956,59,1,8843,108,117,115,59,1,10944,4,3,101,105,117,17562,17598,17602,116,4,3,59,101,110,17571,17573,17585,1,8835,113,4,2,59,113,17580,17582,1,8839,59,1,10950,101,113,4,2,59,113,17593,17595,1,8843,59,1,10956,109,59,1,10952,4,2,98,112,17608,17611,59,1,10964,59,1,10966,4,3,65,97,110,17622,17627,17650,114,114,59,1,8665,114,4,2,104,114,17634,17638,107,59,1,10534,4,2,59,111,17644,17646,1,8601,119,59,1,8601,119,97,114,59,1,10538,108,105,103,5,223,1,59,17664,1,223,4,13,97,98,99,100,101,102,104,105,111,112,114,115,119,17694,17709,17714,17737,17742,17749,17754,17860,17905,17957,17964,18090,18122,4,2,114,117,17700,17706,103,101,116,59,1,8982,59,1,964,114,107,59,1,9140,4,3,97,101,121,17722,17728,17734,114,111,110,59,1,357,100,105,108,59,1,355,59,1,1090,111,116,59,1,8411,108,114,101,99,59,1,8981,114,59,3,55349,56625,4,4,101,105,107,111,17764,17805,17836,17851,4,2,114,116,17770,17786,101,4,2,52,102,17777,17780,59,1,8756,111,114,101,59,1,8756,97,4,3,59,115,118,17795,17797,17802,1,952,121,109,59,1,977,59,1,977,4,2,99,110,17811,17831,107,4,2,97,115,17818,17826,112,112,114,111,120,59,1,8776,105,109,59,1,8764,115,112,59,1,8201,4,2,97,115,17842,17846,112,59,1,8776,105,109,59,1,8764,114,110,5,254,1,59,17858,1,254,4,3,108,109,110,17868,17873,17901,100,101,59,1,732,101,115,5,215,3,59,98,100,17884,17886,17898,1,215,4,2,59,97,17892,17894,1,8864,114,59,1,10801,59,1,10800,116,59,1,8749,4,3,101,112,115,17913,17917,17953,97,59,1,10536,4,4,59,98,99,102,17927,17929,17934,17939,1,8868,111,116,59,1,9014,105,114,59,1,10993,4,2,59,111,17945,17948,3,55349,56677,114,107,59,1,10970,97,59,1,10537,114,105,109,101,59,1,8244,4,3,97,105,112,17972,17977,18082,100,101,59,1,8482,4,7,97,100,101,109,112,115,116,17993,18051,18056,18059,18066,18072,18076,110,103,108,101,4,5,59,100,108,113,114,18009,18011,18017,18032,18035,1,9653,111,119,110,59,1,9663,101,102,116,4,2,59,101,18026,18028,1,9667,113,59,1,8884,59,1,8796,105,103,104,116,4,2,59,101,18045,18047,1,9657,113,59,1,8885,111,116,59,1,9708,59,1,8796,105,110,117,115,59,1,10810,108,117,115,59,1,10809,98,59,1,10701,105,109,101,59,1,10811,101,122,105,117,109,59,1,9186,4,3,99,104,116,18098,18111,18116,4,2,114,121,18104,18108,59,3,55349,56521,59,1,1094,99,121,59,1,1115,114,111,107,59,1,359,4,2,105,111,18128,18133,120,116,59,1,8812,104,101,97,100,4,2,108,114,18143,18154,101,102,116,97,114,114,111,119,59,1,8606,105,103,104,116,97,114,114,111,119,59,1,8608,4,18,65,72,97,98,99,100,102,103,104,108,109,111,112,114,115,116,117,119,18204,18209,18214,18234,18250,18268,18292,18308,18319,18343,18379,18397,18413,18504,18547,18553,18584,18603,114,114,59,1,8657,97,114,59,1,10595,4,2,99,114,18220,18230,117,116,101,5,250,1,59,18228,1,250,114,59,1,8593,114,4,2,99,101,18241,18245,121,59,1,1118,118,101,59,1,365,4,2,105,121,18256,18265,114,99,5,251,1,59,18263,1,251,59,1,1091,4,3,97,98,104,18276,18281,18287,114,114,59,1,8645,108,97,99,59,1,369,97,114,59,1,10606,4,2,105,114,18298,18304,115,104,116,59,1,10622,59,3,55349,56626,114,97,118,101,5,249,1,59,18317,1,249,4,2,97,98,18325,18338,114,4,2,108,114,18332,18335,59,1,8639,59,1,8638,108,107,59,1,9600,4,2,99,116,18349,18374,4,2,111,114,18355,18369,114,110,4,2,59,101,18363,18365,1,8988,114,59,1,8988,111,112,59,1,8975,114,105,59,1,9720,4,2,97,108,18385,18390,99,114,59,1,363,5,168,1,59,18395,1,168,4,2,103,112,18403,18408,111,110,59,1,371,102,59,3,55349,56678,4,6,97,100,104,108,115,117,18427,18434,18445,18470,18475,18494,114,114,111,119,59,1,8593,111,119,110,97,114,114,111,119,59,1,8597,97,114,112,111,111,110,4,2,108,114,18457,18463,101,102,116,59,1,8639,105,103,104,116,59,1,8638,117,115,59,1,8846,105,4,3,59,104,108,18484,18486,18489,1,965,59,1,978,111,110,59,1,965,112,97,114,114,111,119,115,59,1,8648,4,3,99,105,116,18512,18537,18542,4,2,111,114,18518,18532,114,110,4,2,59,101,18526,18528,1,8989,114,59,1,8989,111,112,59,1,8974,110,103,59,1,367,114,105,59,1,9721,99,114,59,3,55349,56522,4,3,100,105,114,18561,18566,18572,111,116,59,1,8944,108,100,101,59,1,361,105,4,2,59,102,18579,18581,1,9653,59,1,9652,4,2,97,109,18590,18595,114,114,59,1,8648,108,5,252,1,59,18601,1,252,97,110,103,108,101,59,1,10663,4,15,65,66,68,97,99,100,101,102,108,110,111,112,114,115,122,18643,18648,18661,18667,18847,18851,18857,18904,18909,18915,18931,18937,18943,18949,18996,114,114,59,1,8661,97,114,4,2,59,118,18656,18658,1,10984,59,1,10985,97,115,104,59,1,8872,4,2,110,114,18673,18679,103,114,116,59,1,10652,4,7,101,107,110,112,114,115,116,18695,18704,18711,18720,18742,18754,18810,112,115,105,108,111,110,59,1,1013,97,112,112,97,59,1,1008,111,116,104,105,110,103,59,1,8709,4,3,104,105,114,18728,18732,18735,105,59,1,981,59,1,982,111,112,116,111,59,1,8733,4,2,59,104,18748,18750,1,8597,111,59,1,1009,4,2,105,117,18760,18766,103,109,97,59,1,962,4,2,98,112,18772,18791,115,101,116,110,101,113,4,2,59,113,18784,18787,3,8842,65024,59,3,10955,65024,115,101,116,110,101,113,4,2,59,113,18803,18806,3,8843,65024,59,3,10956,65024,4,2,104,114,18816,18822,101,116,97,59,1,977,105,97,110,103,108,101,4,2,108,114,18834,18840,101,102,116,59,1,8882,105,103,104,116,59,1,8883,121,59,1,1074,97,115,104,59,1,8866,4,3,101,108,114,18865,18884,18890,4,3,59,98,101,18873,18875,18880,1,8744,97,114,59,1,8891,113,59,1,8794,108,105,112,59,1,8942,4,2,98,116,18896,18901,97,114,59,1,124,59,1,124,114,59,3,55349,56627,116,114,105,59,1,8882,115,117,4,2,98,112,18923,18927,59,3,8834,8402,59,3,8835,8402,112,102,59,3,55349,56679,114,111,112,59,1,8733,116,114,105,59,1,8883,4,2,99,117,18955,18960,114,59,3,55349,56523,4,2,98,112,18966,18981,110,4,2,69,101,18973,18977,59,3,10955,65024,59,3,8842,65024,110,4,2,69,101,18988,18992,59,3,10956,65024,59,3,8843,65024,105,103,122,97,103,59,1,10650,4,7,99,101,102,111,112,114,115,19020,19026,19061,19066,19072,19075,19089,105,114,99,59,1,373,4,2,100,105,19032,19055,4,2,98,103,19038,19043,97,114,59,1,10847,101,4,2,59,113,19050,19052,1,8743,59,1,8793,101,114,112,59,1,8472,114,59,3,55349,56628,112,102,59,3,55349,56680,59,1,8472,4,2,59,101,19081,19083,1,8768,97,116,104,59,1,8768,99,114,59,3,55349,56524,4,14,99,100,102,104,105,108,109,110,111,114,115,117,118,119,19125,19146,19152,19157,19173,19176,19192,19197,19202,19236,19252,19269,19286,19291,4,3,97,105,117,19133,19137,19142,112,59,1,8898,114,99,59,1,9711,112,59,1,8899,116,114,105,59,1,9661,114,59,3,55349,56629,4,2,65,97,19163,19168,114,114,59,1,10234,114,114,59,1,10231,59,1,958,4,2,65,97,19182,19187,114,114,59,1,10232,114,114,59,1,10229,97,112,59,1,10236,105,115,59,1,8955,4,3,100,112,116,19210,19215,19230,111,116,59,1,10752,4,2,102,108,19221,19225,59,3,55349,56681,117,115,59,1,10753,105,109,101,59,1,10754,4,2,65,97,19242,19247,114,114,59,1,10233,114,114,59,1,10230,4,2,99,113,19258,19263,114,59,3,55349,56525,99,117,112,59,1,10758,4,2,112,116,19275,19281,108,117,115,59,1,10756,114,105,59,1,9651,101,101,59,1,8897,101,100,103,101,59,1,8896,4,8,97,99,101,102,105,111,115,117,19316,19335,19349,19357,19362,19367,19373,19379,99,4,2,117,121,19323,19332,116,101,5,253,1,59,19330,1,253,59,1,1103,4,2,105,121,19341,19346,114,99,59,1,375,59,1,1099,110,5,165,1,59,19355,1,165,114,59,3,55349,56630,99,121,59,1,1111,112,102,59,3,55349,56682,99,114,59,3,55349,56526,4,2,99,109,19385,19389,121,59,1,1102,108,5,255,1,59,19395,1,255,4,10,97,99,100,101,102,104,105,111,115,119,19419,19426,19441,19446,19462,19467,19472,19480,19486,19492,99,117,116,101,59,1,378,4,2,97,121,19432,19438,114,111,110,59,1,382,59,1,1079,111,116,59,1,380,4,2,101,116,19452,19458,116,114,102,59,1,8488,97,59,1,950,114,59,3,55349,56631,99,121,59,1,1078,103,114,97,114,114,59,1,8669,112,102,59,3,55349,56683,99,114,59,3,55349,56527,4,2,106,110,19498,19501,59,1,8205,106,59,1,8204])},5168:(e,t,n)=>{"use strict";const r=n(7616),i=n(1302),o=r.CODE_POINTS;e.exports=class{constructor(){this.html=null,this.pos=-1,this.lastGapPos=-1,this.lastCharPos=-1,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536}_err(){}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.lastCharPos){const t=this.html.charCodeAt(this.pos+1);if(r.isSurrogatePair(t))return this.pos++,this._addGap(),r.getSurrogatePairCodePoint(e,t)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,o.EOF;return this._err(i.surrogateInInputStream),e}dropParsedChunk(){this.pos>this.bufferWaterline&&(this.lastCharPos-=this.pos,this.html=this.html.substring(this.pos),this.pos=0,this.lastGapPos=-1,this.gapStack=[])}write(e,t){this.html?this.html+=e:this.html=e,this.lastCharPos=this.html.length-1,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1,this.html.length),this.lastCharPos=this.html.length-1,this.endOfChunkHit=!1}advance(){if(this.pos++,this.pos>this.lastCharPos)return this.endOfChunkHit=!this.lastChunkWritten,o.EOF;let e=this.html.charCodeAt(this.pos);return this.skipNextNewLine&&e===o.LINE_FEED?(this.skipNextNewLine=!1,this._addGap(),this.advance()):e===o.CARRIAGE_RETURN?(this.skipNextNewLine=!0,o.LINE_FEED):(this.skipNextNewLine=!1,r.isSurrogate(e)&&(e=this._processSurrogate(e)),e>31&&e<127||e===o.LINE_FEED||e===o.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){r.isControlCodePoint(e)?this._err(i.controlCharacterInInputStream):r.isUndefinedCodePoint(e)&&this._err(i.noncharacterInInputStream)}retreat(){this.pos===this.lastGapPos&&(this.lastGapPos=this.gapStack.pop(),this.pos--),this.pos--}}},9012:(e,t,n)=>{"use strict";const{DOCUMENT_MODE:r}=n(162);t.createDocument=function(){return{nodeName:"#document",mode:r.NO_QUIRKS,childNodes:[]}},t.createDocumentFragment=function(){return{nodeName:"#document-fragment",childNodes:[]}},t.createElement=function(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},t.createCommentNode=function(e){return{nodeName:"#comment",data:e,parentNode:null}};const i=function(e){return{nodeName:"#text",value:e,parentNode:null}},o=t.appendChild=function(e,t){e.childNodes.push(t),t.parentNode=e},a=t.insertBefore=function(e,t,n){const r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e};t.setTemplateContent=function(e,t){e.content=t},t.getTemplateContent=function(e){return e.content},t.setDocumentType=function(e,t,n,r){let i=null;for(let t=0;t{"use strict";e.exports=function(e,t){return[e,t=t||Object.create(null)].reduce(((e,t)=>(Object.keys(t).forEach((n=>{e[n]=t[n]})),e)),Object.create(null))}},1405:e=>{"use strict";class t{constructor(e){const t={},n=this._getOverriddenMethods(this,t);for(const r of Object.keys(n))"function"==typeof n[r]&&(t[r]=e[r],e[r]=n[r])}_getOverriddenMethods(){throw new Error("Not implemented")}}t.install=function(e,t,n){e.__mixins||(e.__mixins=[]);for(let n=0;n{var t,n,r=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{n="function"==typeof clearTimeout?clearTimeout:o}catch(e){n=o}}();var s,l=[],c=!1,u=-1;function h(){c&&s&&(c=!1,s.length?l=s.concat(l):u=-1,l.length&&p())}function p(){if(!c){var e=a(h);c=!0;for(var t=l.length;t;){for(s=l,l=[];++u1)for(var n=1;n{"use strict";var r=n(5148);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},7862:(e,t,n)=>{e.exports=n(1772)()},5148:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},46:(e,t,n)=>{"use strict";n.d(t,{xS:()=>ha});var r=n(1024),i=n.n(r),o=n(6410),a={},s=function(e,t,n,r){var i=e+"-"+t+"-"+n+(r?"-server":"");if(a[i])return a[i];var o=function(e,t,n,r){if("undefined"==typeof document&&!r)return null;var i=r?new r:document.createElement("canvas");i.width=2*n,i.height=2*n;var o=i.getContext("2d");return o?(o.fillStyle=e,o.fillRect(0,0,i.width,i.height),o.fillStyle=t,o.fillRect(0,0,n,n),o.translate(n,n),o.fillRect(0,0,n,n),i.toDataURL()):null}(e,t,n,r);return a[i]=o,o},l=Object.assign||function(e){for(var t=1;ta?1:Math.round(100*u/a)/100,t.a!==h)return{h:t.h,s:t.s,l:t.l,a:h,source:"rgb"}}else{var p;if(r!==(p=c<0?0:c>o?1:Math.round(100*c/o)/100))return{h:t.h,s:t.s,l:t.l,a:p,source:"rgb"}}return null}(e,r.props.hsl,r.props.direction,r.props.a,r.container);t&&"function"==typeof r.props.onChange&&r.props.onChange(t,e)},r.handleMouseDown=function(e){r.handleChange(e),window.addEventListener("mousemove",r.handleChange),window.addEventListener("mouseup",r.handleMouseUp)},r.handleMouseUp=function(){r.unbindEventListeners()},r.unbindEventListeners=function(){window.removeEventListener("mousemove",r.handleChange),window.removeEventListener("mouseup",r.handleMouseUp)},d(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),p(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"render",value:function(){var e=this,t=this.props.rgb,n=(0,o.ZP)({default:{alpha:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},checkboard:{absolute:"0px 0px 0px 0px",overflow:"hidden",borderRadius:this.props.radius},gradient:{absolute:"0px 0px 0px 0px",background:"linear-gradient(to right, rgba("+t.r+","+t.g+","+t.b+", 0) 0%,\n rgba("+t.r+","+t.g+","+t.b+", 1) 100%)",boxShadow:this.props.shadow,borderRadius:this.props.radius},container:{position:"relative",height:"100%",margin:"0 3px"},pointer:{position:"absolute",left:100*t.a+"%"},slider:{width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",marginTop:"1px",transform:"translateX(-2px)"}},vertical:{gradient:{background:"linear-gradient(to bottom, rgba("+t.r+","+t.g+","+t.b+", 0) 0%,\n rgba("+t.r+","+t.g+","+t.b+", 1) 100%)"},pointer:{left:0,top:100*t.a+"%"}},overwrite:h({},this.props.style)},{vertical:"vertical"===this.props.direction,overwrite:!0});return i().createElement("div",{style:n.alpha},i().createElement("div",{style:n.checkboard},i().createElement(u,{renderers:this.props.renderers})),i().createElement("div",{style:n.gradient}),i().createElement("div",{style:n.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},i().createElement("div",{style:n.pointer},this.props.pointer?i().createElement(this.props.pointer,this.props):i().createElement("div",{style:n.slider}))))}}]),t}(r.PureComponent||r.Component);var m=function(){function e(e,t){for(var n=0;n-1)){var i=n.getArrowOffset(),o=38===e.keyCode?r+i:r-i;n.setUpdatedValue(o,e)}},n.handleDrag=function(e){if(n.props.dragLabel){var t=Math.round(n.props.value+e.movementX);t>=0&&t<=n.props.dragMax&&n.props.onChange&&n.props.onChange(n.getValueObjectWithLabel(t),e)}},n.handleMouseDown=function(e){n.props.dragLabel&&(e.preventDefault(),n.handleDrag(e),window.addEventListener("mousemove",n.handleDrag),window.addEventListener("mouseup",n.handleMouseUp))},n.handleMouseUp=function(){n.unbindEventListeners()},n.unbindEventListeners=function(){window.removeEventListener("mousemove",n.handleDrag),window.removeEventListener("mouseup",n.handleMouseUp)},n.state={value:String(e.value).toUpperCase(),blurValue:String(e.value).toUpperCase()},n.inputId="rc-editable-input-"+y++,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),m(t,[{key:"componentDidUpdate",value:function(e,t){this.props.value===this.state.value||e.value===this.props.value&&t.value===this.state.value||(this.input===document.activeElement?this.setState({blurValue:String(this.props.value).toUpperCase()}):this.setState({value:String(this.props.value).toUpperCase(),blurValue:!this.state.blurValue&&String(this.props.value).toUpperCase()}))}},{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"getValueObjectWithLabel",value:function(e){return function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},this.props.label,e)}},{key:"getArrowOffset",value:function(){return this.props.arrowOffset||1}},{key:"setUpdatedValue",value:function(e,t){var n=this.props.label?this.getValueObjectWithLabel(e):e;this.props.onChange&&this.props.onChange(n,t),this.setState({value:e})}},{key:"render",value:function(){var e=this,t=(0,o.ZP)({default:{wrap:{position:"relative"}},"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":!0},this.props);return i().createElement("div",{style:t.wrap},i().createElement("input",{id:this.inputId,style:t.input,ref:function(t){return e.input=t},value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,spellCheck:"false"}),this.props.label&&!this.props.hideLabel?i().createElement("label",{htmlFor:this.inputId,style:t.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),t}(r.PureComponent||r.Component);var _=function(){function e(e,t){for(var n=0;no?0:360*(-100*c/o+100)/100,n.h!==u)return{h:u,s:n.s,l:n.l,a:n.a,source:"hsl"}}else{var h;if(h=l<0?0:l>i?359:100*l/i*360/100,n.h!==h)return{h,s:n.s,l:n.l,a:n.a,source:"hsl"}}return null}(e,r.props.direction,r.props.hsl,r.container);t&&"function"==typeof r.props.onChange&&r.props.onChange(t,e)},r.handleMouseDown=function(e){r.handleChange(e),window.addEventListener("mousemove",r.handleChange),window.addEventListener("mouseup",r.handleMouseUp)},r.handleMouseUp=function(){r.unbindEventListeners()},b(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),_(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.direction,n=void 0===t?"horizontal":t,r=(0,o.ZP)({default:{hue:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius,boxShadow:this.props.shadow},container:{padding:"0 2px",position:"relative",height:"100%",borderRadius:this.props.radius},pointer:{position:"absolute",left:100*this.props.hsl.h/360+"%"},slider:{marginTop:"1px",width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",transform:"translateX(-2px)"}},vertical:{pointer:{left:"0px",top:-100*this.props.hsl.h/360+100+"%"}}},{vertical:"vertical"===n});return i().createElement("div",{style:r.hue},i().createElement("div",{className:"hue-"+n,style:r.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},i().createElement("style",null,"\n .hue-horizontal {\n background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0\n 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n background: -webkit-linear-gradient(to right, #f00 0%, #ff0\n 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n }\n\n .hue-vertical {\n background: linear-gradient(to top, #f00 0%, #ff0 17%, #0f0 33%,\n #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n background: -webkit-linear-gradient(to top, #f00 0%, #ff0 17%,\n #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n }\n "),i().createElement("div",{style:r.pointer},this.props.pointer?i().createElement(this.props.pointer,this.props):i().createElement("div",{style:r.slider}))))}}]),t}(r.PureComponent||r.Component);var T=n(7862),x=n.n(T);const S=function(e,t){return e===t||e!=e&&t!=t},C=function(e,t){for(var n=e.length;n--;)if(S(e[n][0],t))return n;return-1};var A=Array.prototype.splice;function R(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t-1},R.prototype.set=function(e,t){var n=this.__data__,r=C(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};const w=R,L="object"==typeof global&&global&&global.Object===Object&&global;var O="object"==typeof self&&self&&self.Object===Object&&self;const N=L||O||Function("return this")(),I=N.Symbol;var k=Object.prototype,D=k.hasOwnProperty,P=k.toString,M=I?I.toStringTag:void 0;var F=Object.prototype.toString;var H=I?I.toStringTag:void 0;const B=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":H&&H in Object(e)?function(e){var t=D.call(e,M),n=e[M];try{e[M]=void 0;var r=!0}catch(e){}var i=P.call(e);return r&&(t?e[M]=n:delete e[M]),i}(e):function(e){return F.call(e)}(e)},U=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},j=function(e){if(!U(e))return!1;var t=B(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},G=N["__core-js_shared__"];var Y,z=(Y=/[^.]+$/.exec(G&&G.keys&&G.keys.IE_PROTO||""))?"Symbol(src)_1."+Y:"";var $=Function.prototype.toString;const W=function(e){if(null!=e){try{return $.call(e)}catch(e){}try{return e+""}catch(e){}}return""};var V=/^\[object .+?Constructor\]$/,K=Function.prototype,q=Object.prototype,X=K.toString,Z=q.hasOwnProperty,Q=RegExp("^"+X.call(Z).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const J=function(e){return!(!U(e)||(t=e,z&&z in t))&&(j(e)?Q:V).test(W(e));var t},ee=function(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return J(n)?n:void 0},te=ee(N,"Map"),ne=ee(Object,"create");var re=Object.prototype.hasOwnProperty;var ie=Object.prototype.hasOwnProperty;function oe(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t-1&&e%1==0&&e<=9007199254740991},Me=function(e){return null!=e&&Pe(e.length)&&!j(e)};var Fe="object"==typeof exports&&exports&&!exports.nodeType&&exports,He=Fe&&"object"==typeof module&&module&&!module.nodeType&&module,Be=He&&He.exports===Fe?N.Buffer:void 0;const Ue=(Be?Be.isBuffer:void 0)||function(){return!1};var je=Function.prototype,Ge=Object.prototype,Ye=je.toString,ze=Ge.hasOwnProperty,$e=Ye.call(Object);var We={};We["[object Float32Array]"]=We["[object Float64Array]"]=We["[object Int8Array]"]=We["[object Int16Array]"]=We["[object Int32Array]"]=We["[object Uint8Array]"]=We["[object Uint8ClampedArray]"]=We["[object Uint16Array]"]=We["[object Uint32Array]"]=!0,We["[object Arguments]"]=We["[object Array]"]=We["[object ArrayBuffer]"]=We["[object Boolean]"]=We["[object DataView]"]=We["[object Date]"]=We["[object Error]"]=We["[object Function]"]=We["[object Map]"]=We["[object Number]"]=We["[object Object]"]=We["[object RegExp]"]=We["[object Set]"]=We["[object String]"]=We["[object WeakMap]"]=!1;var Ve="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ke=Ve&&"object"==typeof module&&module&&!module.nodeType&&module,qe=Ke&&Ke.exports===Ve&&L.process,Xe=function(){try{return Ke&&Ke.require&&Ke.require("util").types||qe&&qe.binding&&qe.binding("util")}catch(e){}}(),Ze=Xe&&Xe.isTypedArray;const Qe=Ze?(Je=Ze,function(e){return Je(e)}):function(e){return we(e)&&Pe(e.length)&&!!We[B(e)]};var Je;const et=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]};var tt=Object.prototype.hasOwnProperty;const nt=function(e,t,n){var r=e[t];tt.call(e,t)&&S(r,n)&&(void 0!==n||t in e)||de(e,t,n)};var rt=/^(?:0|[1-9]\d*)$/;const it=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&rt.test(e))&&e>-1&&e%1==0&&e0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(gt),_t=function(e,t){return vt(function(e,t,n){return t=ft(void 0===t?e.length-1:t,0),function(){for(var r=arguments,i=-1,o=ft(r.length-t,0),a=Array(o);++i1?t[r-1]:void 0,o=r>2?t[2]:void 0;for(i=Et.length>3&&"function"==typeof i?(r--,i):void 0,o&&function(e,t,n){if(!U(n))return!1;var r=typeof t;return!!("number"==r?Me(n)&&it(t,n.length):"string"==r&&t in n)&&S(n[t],e)}(t[0],t[1],o)&&(i=r<3?void 0:i,r=1),e=Object(e);++n=t||n<0||h&&e-c>=o}function m(){var e=St();if(f(e))return g(e);s=setTimeout(m,function(e){var n=t-(e-l);return h?Pt(n,o-(e-c)):n}(e))}function g(e){return s=void 0,p&&r?d(e):(r=i=void 0,a)}function y(){var e=St(),n=f(e);if(r=arguments,i=this,l=e,n){if(void 0===s)return function(e){return c=e,s=setTimeout(m,t),u?d(e):a}(l);if(h)return clearTimeout(s),s=setTimeout(m,t),d(l)}return void 0===s&&(s=setTimeout(m,t)),a}return t=kt(t)||0,U(n)&&(u=!!n.leading,o=(h="maxWait"in n)?Dt(kt(n.maxWait)||0,t):o,p="trailing"in n?!!n.trailing:p),y.cancel=function(){void 0!==s&&clearTimeout(s),c=0,r=l=i=s=void 0},y.flush=function(){return void 0===s?a:g(St())},y};var Ft=function(){function e(e,t){for(var n=0;ni&&(l=i),c<0?c=0:c>o&&(c=o);var u=l/i,h=1-c/o;return{h:t.h,s:u,v:h,a:t.a,source:"hsv"}}(e,n.props.hsl,n.container),e)},n.handleMouseDown=function(e){n.handleChange(e);var t=n.getContainerRenderWindow();t.addEventListener("mousemove",n.handleChange),t.addEventListener("mouseup",n.handleMouseUp)},n.handleMouseUp=function(){n.unbindEventListeners()},n.throttle=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return U(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Mt(e,t,{leading:r,maxWait:t,trailing:i})}((function(e,t,n){e(t,n)}),50),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Ft(t,[{key:"componentWillUnmount",value:function(){this.throttle.cancel(),this.unbindEventListeners()}},{key:"getContainerRenderWindow",value:function(){for(var e=this.container,t=window;!t.document.contains(e)&&t.parent!==t;)t=t.parent;return t}},{key:"unbindEventListeners",value:function(){var e=this.getContainerRenderWindow();e.removeEventListener("mousemove",this.handleChange),e.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.style||{},n=t.color,r=t.white,a=t.black,s=t.pointer,l=t.circle,c=(0,o.ZP)({default:{color:{absolute:"0px 0px 0px 0px",background:"hsl("+this.props.hsl.h+",100%, 50%)",borderRadius:this.props.radius},white:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},black:{absolute:"0px 0px 0px 0px",boxShadow:this.props.shadow,borderRadius:this.props.radius},pointer:{position:"absolute",top:-100*this.props.hsv.v+100+"%",left:100*this.props.hsv.s+"%",cursor:"default"},circle:{width:"4px",height:"4px",boxShadow:"0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0,0,0,.3),\n 0 0 1px 2px rgba(0,0,0,.4)",borderRadius:"50%",cursor:"hand",transform:"translate(-2px, -2px)"}},custom:{color:n,white:r,black:a,pointer:s,circle:l}},{custom:!!this.props.style});return i().createElement("div",{style:c.color,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},i().createElement("style",null,"\n .saturation-white {\n background: -webkit-linear-gradient(to right, #fff, rgba(255,255,255,0));\n background: linear-gradient(to right, #fff, rgba(255,255,255,0));\n }\n .saturation-black {\n background: -webkit-linear-gradient(to top, #000, rgba(0,0,0,0));\n background: linear-gradient(to top, #000, rgba(0,0,0,0));\n }\n "),i().createElement("div",{style:c.white,className:"saturation-white"},i().createElement("div",{style:c.black,className:"saturation-black"}),i().createElement("div",{style:c.pointer},this.props.pointer?i().createElement(this.props.pointer,this.props):i().createElement("div",{style:c.circle}))))}}]),t}(r.PureComponent||r.Component);const Bt=Ht,Ut=function(e,t){for(var n=-1,r=null==e?0:e.length;++n1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=gn(e,360),t=gn(t,100),n=gn(n,100),0===t)r=i=o=n;else{var s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;r=a(l,s,e+1/3),i=a(l,s,e),o=a(l,s,e-1/3)}return{r:255*r,g:255*i,b:255*o}}(e.h,a,l),c=!0,u="hsl"),e.hasOwnProperty("a")&&(o=e.a)),o=mn(o),{ok:c,format:e.format||u,r:Math.min(255,Math.max(i.r,0)),g:Math.min(255,Math.max(i.g,0)),b:Math.min(255,Math.max(i.b,0)),a:o}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=Math.round(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=n.ok}function Xt(e,t,n){e=gn(e,255),t=gn(t,255),n=gn(n,255);var r,i,o=Math.max(e,t,n),a=Math.min(e,t,n),s=(o+a)/2;if(o==a)r=i=0;else{var l=o-a;switch(i=s>.5?l/(2-o-a):l/(o+a),o){case e:r=(t-n)/l+(t>1)+720)%360;--t;)r.h=(r.h+i)%360,o.push(qt(r));return o}function pn(e,t){t=t||6;for(var n=qt(e).toHsv(),r=n.h,i=n.s,o=n.v,a=[],s=1/t;t--;)a.push(qt({h:r,s:i,v:o})),o=(o+s)%1;return a}qt.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=mn(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=Zt(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=Zt(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=Xt(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=Xt(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return Qt(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,i){var o=[_n(Math.round(e).toString(16)),_n(Math.round(t).toString(16)),_n(Math.round(n).toString(16)),_n(En(r))];return i&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)&&o[3].charAt(0)==o[3].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*gn(this._r,255))+"%",g:Math.round(100*gn(this._g,255))+"%",b:Math.round(100*gn(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+Math.round(100*gn(this._r,255))+"%, "+Math.round(100*gn(this._g,255))+"%, "+Math.round(100*gn(this._b,255))+"%)":"rgba("+Math.round(100*gn(this._r,255))+"%, "+Math.round(100*gn(this._g,255))+"%, "+Math.round(100*gn(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(fn[Qt(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+Jt(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var i=qt(e);n="#"+Jt(i._r,i._g,i._b,i._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return qt(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(rn,arguments)},brighten:function(){return this._applyModification(on,arguments)},darken:function(){return this._applyModification(an,arguments)},desaturate:function(){return this._applyModification(en,arguments)},saturate:function(){return this._applyModification(tn,arguments)},greyscale:function(){return this._applyModification(nn,arguments)},spin:function(){return this._applyModification(sn,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(hn,arguments)},complement:function(){return this._applyCombination(ln,arguments)},monochromatic:function(){return this._applyCombination(pn,arguments)},splitcomplement:function(){return this._applyCombination(un,arguments)},triad:function(){return this._applyCombination(cn,[3])},tetrad:function(){return this._applyCombination(cn,[4])}},qt.fromRatio=function(e,t){if("object"==Wt(e)){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:bn(e[r]));e=n}return qt(e,t)},qt.equals=function(e,t){return!(!e||!t)&&qt(e).toRgbString()==qt(t).toRgbString()},qt.random=function(){return qt.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},qt.mix=function(e,t,n){n=0===n?0:n||50;var r=qt(e).toRgb(),i=qt(t).toRgb(),o=n/100;return qt({r:(i.r-r.r)*o+r.r,g:(i.g-r.g)*o+r.g,b:(i.b-r.b)*o+r.b,a:(i.a-r.a)*o+r.a})},qt.readability=function(e,t){var n=qt(e),r=qt(t);return(Math.max(n.getLuminance(),r.getLuminance())+.05)/(Math.min(n.getLuminance(),r.getLuminance())+.05)},qt.isReadable=function(e,t,n){var r,i,o,a,s,l=qt.readability(e,t);switch(i=!1,(o=n,"AA"!==(a=((o=o||{level:"AA",size:"small"}).level||"AA").toUpperCase())&&"AAA"!==a&&(a="AA"),"small"!==(s=(o.size||"small").toLowerCase())&&"large"!==s&&(s="small"),r={level:a,size:s}).level+r.size){case"AAsmall":case"AAAlarge":i=l>=4.5;break;case"AAlarge":i=l>=3;break;case"AAAsmall":i=l>=7}return i},qt.mostReadable=function(e,t,n){var r,i,o,a,s=null,l=0;i=(n=n||{}).includeFallbackColors,o=n.level,a=n.size;for(var c=0;cl&&(l=r,s=qt(t[c]));return qt.isReadable(e,s,{level:o,size:a})||!i?s:(n.includeFallbackColors=!1,qt.mostReadable(e,["#fff","#000"],n))};var dn=qt.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",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:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",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",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",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:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",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:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},fn=qt.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(dn);function mn(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function gn(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function yn(e){return Math.min(1,Math.max(0,e))}function vn(e){return parseInt(e,16)}function _n(e){return 1==e.length?"0"+e:""+e}function bn(e){return e<=1&&(e=100*e+"%"),e}function En(e){return Math.round(255*parseFloat(e)).toString(16)}function Tn(e){return vn(e)/255}var xn,Sn,Cn,An=(Sn="[\\s|\\(]+("+(xn="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+xn+")[,|\\s]+("+xn+")\\s*\\)?",Cn="[\\s|\\(]+("+xn+")[,|\\s]+("+xn+")[,|\\s]+("+xn+")[,|\\s]+("+xn+")\\s*\\)?",{CSS_UNIT:new RegExp(xn),rgb:new RegExp("rgb"+Sn),rgba:new RegExp("rgba"+Cn),hsl:new RegExp("hsl"+Sn),hsla:new RegExp("hsla"+Cn),hsv:new RegExp("hsv"+Sn),hsva:new RegExp("hsva"+Cn),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function Rn(e){return!!An.CSS_UNIT.exec(e)}var wn=function(e){var t=0,n=0;return $t(["r","g","b","a","h","s","l","v"],(function(r){e[r]&&(t+=1,isNaN(e[r])||(n+=1),"s"===r||"l"===r)&&/^\d+%$/.test(e[r])&&(n+=1)})),t===n&&e},Ln=function(e,t){var n=e.hex?qt(e.hex):qt(e),r=n.toHsl(),i=n.toHsv(),o=n.toRgb(),a=n.toHex();return 0===r.s&&(r.h=t||0,i.h=t||0),{hsl:r,hex:"000000"===a&&0===o.a?"transparent":"#"+a,rgb:o,hsv:i,oldHue:e.h||t||r.h,source:e.source}},On=function(e){if("transparent"===e)return!0;var t="#"===String(e).charAt(0)?1:0;return e.length!==4+t&&e.length<7+t&&qt(e).isValid()},Nn=function(e){if(!e)return"#fff";var t=Ln(e);return"transparent"===t.hex?"rgba(0,0,0,0.4)":(299*t.rgb.r+587*t.rgb.g+114*t.rgb.b)/1e3>=128?"#000":"#fff"},In=function(e,t){return qt(t+" ("+e.replace("°","")+")")._ok},kn=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function r(){var e,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r);for(var i=arguments.length,o=Array(i),a=0;as))return!1;var c=o.get(e),u=o.get(t);if(c&&u)return c==t&&u==e;var h=-1,p=!0,d=2&n?new $n:void 0;for(o.set(e,t),o.set(t,e);++h1&&(e.a=1),n.props.onChange({h:n.props.hsl.h,s:n.props.hsl.s,l:n.props.hsl.l,a:Math.round(100*e.a)/100,source:"rgb"},t)):(e.h||e.s||e.l)&&("string"==typeof e.s&&e.s.includes("%")&&(e.s=e.s.replace("%","")),"string"==typeof e.l&&e.l.includes("%")&&(e.l=e.l.replace("%","")),1==e.s?e.s=.01:1==e.l&&(e.l=.01),n.props.onChange({h:e.h||n.props.hsl.h,s:Number(Fo(e.s)?n.props.hsl.s:e.s),l:Number(Fo(e.l)?n.props.hsl.l:e.l),source:"hsl"},t))},n.showHighlight=function(e){e.currentTarget.style.background="#eee"},n.hideHighlight=function(e){e.currentTarget.style.background="transparent"},1!==e.hsl.a&&"hex"===e.view?n.state={view:"rgb"}:n.state={view:e.view},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Bo(t,[{key:"render",value:function(){var e=this,t=(0,o.ZP)({default:{wrap:{paddingTop:"16px",display:"flex"},fields:{flex:"1",display:"flex",marginLeft:"-6px"},field:{paddingLeft:"6px",width:"100%"},alpha:{paddingLeft:"6px",width:"100%"},toggle:{width:"32px",textAlign:"right",position:"relative"},icon:{marginRight:"-4px",marginTop:"12px",cursor:"pointer",position:"relative"},iconHighlight:{position:"absolute",width:"24px",height:"28px",background:"#eee",borderRadius:"4px",top:"10px",left:"12px",display:"none"},input:{fontSize:"11px",color:"#333",width:"100%",borderRadius:"2px",border:"none",boxShadow:"inset 0 0 0 1px #dadada",height:"21px",textAlign:"center"},label:{textTransform:"uppercase",fontSize:"11px",lineHeight:"11px",color:"#969696",textAlign:"center",display:"block",marginTop:"12px"},svg:{fill:"#333",width:"24px",height:"24px",border:"1px transparent solid",borderRadius:"5px"}},disableAlpha:{alpha:{display:"none"}}},this.props,this.state),n=void 0;return"hex"===this.state.view?n=i().createElement("div",{style:t.fields,className:"flexbox-fix"},i().createElement("div",{style:t.field},i().createElement(v,{style:{input:t.input,label:t.label},label:"hex",value:this.props.hex,onChange:this.handleChange}))):"rgb"===this.state.view?n=i().createElement("div",{style:t.fields,className:"flexbox-fix"},i().createElement("div",{style:t.field},i().createElement(v,{style:{input:t.input,label:t.label},label:"r",value:this.props.rgb.r,onChange:this.handleChange})),i().createElement("div",{style:t.field},i().createElement(v,{style:{input:t.input,label:t.label},label:"g",value:this.props.rgb.g,onChange:this.handleChange})),i().createElement("div",{style:t.field},i().createElement(v,{style:{input:t.input,label:t.label},label:"b",value:this.props.rgb.b,onChange:this.handleChange})),i().createElement("div",{style:t.alpha},i().createElement(v,{style:{input:t.input,label:t.label},label:"a",value:this.props.rgb.a,arrowOffset:.01,onChange:this.handleChange}))):"hsl"===this.state.view&&(n=i().createElement("div",{style:t.fields,className:"flexbox-fix"},i().createElement("div",{style:t.field},i().createElement(v,{style:{input:t.input,label:t.label},label:"h",value:Math.round(this.props.hsl.h),onChange:this.handleChange})),i().createElement("div",{style:t.field},i().createElement(v,{style:{input:t.input,label:t.label},label:"s",value:Math.round(100*this.props.hsl.s)+"%",onChange:this.handleChange})),i().createElement("div",{style:t.field},i().createElement(v,{style:{input:t.input,label:t.label},label:"l",value:Math.round(100*this.props.hsl.l)+"%",onChange:this.handleChange})),i().createElement("div",{style:t.alpha},i().createElement(v,{style:{input:t.input,label:t.label},label:"a",value:this.props.hsl.a,arrowOffset:.01,onChange:this.handleChange})))),i().createElement("div",{style:t.wrap,className:"flexbox-fix"},n,i().createElement("div",{style:t.toggle},i().createElement("div",{style:t.icon,onClick:this.toggleViews,ref:function(t){return e.icon=t}},i().createElement(Ho.Z,{style:t.svg,onMouseOver:this.showHighlight,onMouseEnter:this.showHighlight,onMouseOut:this.hideHighlight}))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return 1!==e.hsl.a&&"hex"===t.view?{view:"rgb"}:null}}]),t}(i().Component);Uo.defaultProps={view:"hex"};const jo=Uo,Go=function(){var e=(0,o.ZP)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",transform:"translate(-6px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return i().createElement("div",{style:e.picker})},Yo=function(){var e=(0,o.ZP)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}}});return i().createElement("div",{style:e.picker})};var zo=function(e){var t=e.width,n=e.onChange,r=e.disableAlpha,a=e.rgb,s=e.hsl,l=e.hsv,c=e.hex,h=e.renderers,p=e.styles,d=void 0===p?{}:p,m=e.className,g=void 0===m?"":m,y=e.defaultView,v=(0,o.ZP)(bt({default:{picker:{width:t,background:"#fff",borderRadius:"2px",boxShadow:"0 0 2px rgba(0,0,0,.3), 0 4px 8px rgba(0,0,0,.3)",boxSizing:"initial",fontFamily:"Menlo"},saturation:{width:"100%",paddingBottom:"55%",position:"relative",borderRadius:"2px 2px 0 0",overflow:"hidden"},Saturation:{radius:"2px 2px 0 0"},body:{padding:"16px 16px 12px"},controls:{display:"flex"},color:{width:"32px"},swatch:{marginTop:"6px",width:"16px",height:"16px",borderRadius:"8px",position:"relative",overflow:"hidden"},active:{absolute:"0px 0px 0px 0px",borderRadius:"8px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.1)",background:"rgba("+a.r+", "+a.g+", "+a.b+", "+a.a+")",zIndex:"2"},toggles:{flex:"1"},hue:{height:"10px",position:"relative",marginBottom:"8px"},Hue:{radius:"2px"},alpha:{height:"10px",position:"relative"},Alpha:{radius:"2px"}},disableAlpha:{color:{width:"22px"},alpha:{display:"none"},hue:{marginBottom:"0px"},swatch:{width:"10px",height:"10px",marginTop:"0px"}}},d),{disableAlpha:r});return i().createElement("div",{style:v.picker,className:"chrome-picker "+g},i().createElement("div",{style:v.saturation},i().createElement(Bt,{style:v.Saturation,hsl:s,hsv:l,pointer:Yo,onChange:n})),i().createElement("div",{style:v.body},i().createElement("div",{style:v.controls,className:"flexbox-fix"},i().createElement("div",{style:v.color},i().createElement("div",{style:v.swatch},i().createElement("div",{style:v.active}),i().createElement(u,{renderers:h}))),i().createElement("div",{style:v.toggles},i().createElement("div",{style:v.hue},i().createElement(E,{style:v.Hue,hsl:s,pointer:Go,onChange:n})),i().createElement("div",{style:v.alpha},i().createElement(f,{style:v.Alpha,rgb:a,hsl:s,pointer:Go,renderers:h,onChange:n})))),i().createElement(jo,{rgb:a,hsl:s,hex:c,view:y,onChange:n,disableAlpha:r})))};zo.propTypes={width:x().oneOfType([x().string,x().number]),disableAlpha:x().bool,styles:x().object,defaultView:x().oneOf(["hex","rgb","hsl"])},zo.defaultProps={width:225,disableAlpha:!1,styles:{}},Pn(zo);const $o=function(e){var t=e.color,n=e.onClick,r=void 0===n?function(){}:n,a=e.onSwatchHover,s=e.active,l=(0,o.ZP)({default:{color:{background:t,width:"15px",height:"15px",float:"left",marginRight:"5px",marginBottom:"5px",position:"relative",cursor:"pointer"},dot:{absolute:"5px 5px 5px 5px",background:Nn(t),borderRadius:"50%",opacity:"0"}},active:{dot:{opacity:"1"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},dot:{background:"#000"}},transparent:{dot:{background:"#000"}}},{active:s,"color-#FFFFFF":"#FFFFFF"===t,transparent:"transparent"===t});return i().createElement(Un,{style:l.color,color:t,onClick:r,onHover:a,focusStyle:{boxShadow:"0 0 4px "+t}},i().createElement("div",{style:l.dot}))},Wo=function(e){var t=e.hex,n=e.rgb,r=e.onChange,a=(0,o.ZP)({default:{fields:{display:"flex",paddingBottom:"6px",paddingRight:"5px",position:"relative"},active:{position:"absolute",top:"6px",left:"5px",height:"9px",width:"9px",background:t},HEXwrap:{flex:"6",position:"relative"},HEXinput:{width:"80%",padding:"0px",paddingLeft:"20%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},HEXlabel:{display:"none"},RGBwrap:{flex:"3",position:"relative"},RGBinput:{width:"70%",padding:"0px",paddingLeft:"30%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},RGBlabel:{position:"absolute",top:"3px",left:"0px",lineHeight:"16px",textTransform:"uppercase",fontSize:"12px",color:"#999"}}}),s=function(e,t){e.r||e.g||e.b?r({r:e.r||n.r,g:e.g||n.g,b:e.b||n.b,source:"rgb"},t):r({hex:e.hex,source:"hex"},t)};return i().createElement("div",{style:a.fields,className:"flexbox-fix"},i().createElement("div",{style:a.active}),i().createElement(v,{style:{wrap:a.HEXwrap,input:a.HEXinput,label:a.HEXlabel},label:"hex",value:t,onChange:s}),i().createElement(v,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"r",value:n.r,onChange:s}),i().createElement(v,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"g",value:n.g,onChange:s}),i().createElement(v,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"b",value:n.b,onChange:s}))};var Vo=function(e){var t=e.onChange,n=e.onSwatchHover,r=e.colors,a=e.hex,s=e.rgb,l=e.styles,c=void 0===l?{}:l,u=e.className,h=void 0===u?"":u,p=(0,o.ZP)(bt({default:{Compact:{background:"#f6f6f6",radius:"4px"},compact:{paddingTop:"5px",paddingLeft:"5px",boxSizing:"initial",width:"240px"},clear:{clear:"both"}}},c)),d=function(e,n){e.hex?On(e.hex)&&t({hex:e.hex,source:"hex"},n):t(e,n)};return i().createElement(xt,{style:p.Compact,styles:c},i().createElement("div",{style:p.compact,className:"compact-picker "+h},i().createElement("div",null,qr(r,(function(e){return i().createElement($o,{key:e,color:e,active:e.toLowerCase()===a,onClick:d,onSwatchHover:n})})),i().createElement("div",{style:p.clear})),i().createElement(Wo,{hex:a,rgb:s,onChange:d})))};Vo.propTypes={colors:x().arrayOf(x().string),styles:x().object},Vo.defaultProps={colors:["#4D4D4D","#999999","#FFFFFF","#F44E3B","#FE9200","#FCDC00","#DBDF00","#A4DD00","#68CCCA","#73D8FF","#AEA1FF","#FDA1FF","#333333","#808080","#cccccc","#D33115","#E27300","#FCC400","#B0BC00","#68BC00","#16A5A5","#009CE0","#7B64FF","#FA28FF","#000000","#666666","#B3B3B3","#9F0500","#C45100","#FB9E00","#808900","#194D33","#0C797D","#0062B1","#653294","#AB149E"],styles:{}},Pn(Vo);const Ko=(0,o.tz)((function(e){var t=e.hover,n=e.color,r=e.onClick,a=e.onSwatchHover,s={position:"relative",zIndex:"2",outline:"2px solid #fff",boxShadow:"0 0 5px 2px rgba(0,0,0,0.25)"},l=(0,o.ZP)({default:{swatch:{width:"25px",height:"25px",fontSize:"0"}},hover:{swatch:s}},{hover:t});return i().createElement("div",{style:l.swatch},i().createElement(Un,{color:n,onClick:r,onHover:a,focusStyle:s}))}));var qo=function(e){var t=e.width,n=e.colors,r=e.onChange,a=e.onSwatchHover,s=e.triangle,l=e.styles,c=void 0===l?{}:l,u=e.className,h=void 0===u?"":u,p=(0,o.ZP)(bt({default:{card:{width:t,background:"#fff",border:"1px solid rgba(0,0,0,0.2)",boxShadow:"0 3px 12px rgba(0,0,0,0.15)",borderRadius:"4px",position:"relative",padding:"5px",display:"flex",flexWrap:"wrap"},triangle:{position:"absolute",border:"7px solid transparent",borderBottomColor:"#fff"},triangleShadow:{position:"absolute",border:"8px solid transparent",borderBottomColor:"rgba(0,0,0,0.15)"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-14px",left:"10px"},triangleShadow:{top:"-16px",left:"9px"}},"top-right-triangle":{triangle:{top:"-14px",right:"10px"},triangleShadow:{top:"-16px",right:"9px"}},"bottom-left-triangle":{triangle:{top:"35px",left:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",left:"9px",transform:"rotate(180deg)"}},"bottom-right-triangle":{triangle:{top:"35px",right:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",right:"9px",transform:"rotate(180deg)"}}},c),{"hide-triangle":"hide"===s,"top-left-triangle":"top-left"===s,"top-right-triangle":"top-right"===s,"bottom-left-triangle":"bottom-left"===s,"bottom-right-triangle":"bottom-right"===s}),d=function(e,t){return r({hex:e,source:"hex"},t)};return i().createElement("div",{style:p.card,className:"github-picker "+h},i().createElement("div",{style:p.triangleShadow}),i().createElement("div",{style:p.triangle}),qr(n,(function(e){return i().createElement(Ko,{color:e,key:e,onClick:d,onSwatchHover:a})})))};qo.propTypes={width:x().oneOfType([x().string,x().number]),colors:x().arrayOf(x().string),triangle:x().oneOf(["hide","top-left","top-right","bottom-left","bottom-right"]),styles:x().object},qo.defaultProps={width:200,colors:["#B80000","#DB3E00","#FCCB00","#008B02","#006B76","#1273DE","#004DCF","#5300EB","#EB9694","#FAD0C3","#FEF3BD","#C1E1C5","#BEDADC","#C4DEF6","#BED3F3","#D4C4FB"],triangle:"top-left",styles:{}},Pn(qo);var Xo=Object.assign||function(e){for(var t=1;t.5});return i().createElement("div",{style:n.picker})},ea=function(){var e=(0,o.ZP)({default:{triangle:{width:0,height:0,borderStyle:"solid",borderWidth:"4px 0 4px 6px",borderColor:"transparent transparent transparent #fff",position:"absolute",top:"1px",left:"1px"},triangleBorder:{width:0,height:0,borderStyle:"solid",borderWidth:"5px 0 5px 8px",borderColor:"transparent transparent transparent #555"},left:{Extend:"triangleBorder",transform:"translate(-13px, -4px)"},leftInside:{Extend:"triangle",transform:"translate(-8px, -5px)"},right:{Extend:"triangleBorder",transform:"translate(20px, -14px) rotate(180deg)"},rightInside:{Extend:"triangle",transform:"translate(-8px, -5px)"}}});return i().createElement("div",{style:e.pointer},i().createElement("div",{style:e.left},i().createElement("div",{style:e.leftInside})),i().createElement("div",{style:e.right},i().createElement("div",{style:e.rightInside})))},ta=function(e){var t=e.onClick,n=e.label,r=e.children,a=e.active,s=(0,o.ZP)({default:{button:{backgroundImage:"linear-gradient(-180deg, #FFFFFF 0%, #E6E6E6 100%)",border:"1px solid #878787",borderRadius:"2px",height:"20px",boxShadow:"0 1px 0 0 #EAEAEA",fontSize:"14px",color:"#000",lineHeight:"20px",textAlign:"center",marginBottom:"10px",cursor:"pointer"}},active:{button:{boxShadow:"0 0 0 1px #878787"}}},{active:a});return i().createElement("div",{style:s.button,onClick:t},n||r)},na=function(e){var t=e.rgb,n=e.currentColor,r=(0,o.ZP)({default:{swatches:{border:"1px solid #B3B3B3",borderBottom:"1px solid #F0F0F0",marginBottom:"2px",marginTop:"1px"},new:{height:"34px",background:"rgb("+t.r+","+t.g+", "+t.b+")",boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 1px 0 #000"},current:{height:"34px",background:n,boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 -1px 0 #000"},label:{fontSize:"14px",color:"#000",textAlign:"center"}}});return i().createElement("div",null,i().createElement("div",{style:r.label},"new"),i().createElement("div",{style:r.swatches},i().createElement("div",{style:r.new}),i().createElement("div",{style:r.current})),i().createElement("div",{style:r.label},"current"))};var ra=function(){function e(e,t){for(var n=0;n100&&(e.a=100),e.a/=100,t({h:r.h,s:r.s,l:r.l,a:e.a,source:"rgb"},i))};return i().createElement("div",{style:l.fields,className:"flexbox-fix"},i().createElement("div",{style:l.double},i().createElement(v,{style:{input:l.input,label:l.label},label:"hex",value:a.replace("#",""),onChange:c})),i().createElement("div",{style:l.single},i().createElement(v,{style:{input:l.input,label:l.label},label:"r",value:n.r,onChange:c,dragLabel:"true",dragMax:"255"})),i().createElement("div",{style:l.single},i().createElement(v,{style:{input:l.input,label:l.label},label:"g",value:n.g,onChange:c,dragLabel:"true",dragMax:"255"})),i().createElement("div",{style:l.single},i().createElement(v,{style:{input:l.input,label:l.label},label:"b",value:n.b,onChange:c,dragLabel:"true",dragMax:"255"})),i().createElement("div",{style:l.alpha},i().createElement(v,{style:{input:l.input,label:l.label},label:"a",value:Math.round(100*n.a),onChange:c,dragLabel:"true",dragMax:"100"})))};var aa=Object.assign||function(e){for(var t=1;t{"use strict";function r(e){return r="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},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DraggableCore",{enumerable:!0,get:function(){return h.default}}),t.default=void 0;var i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=m(t);if(n&&n.has(e))return n.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(i,a,s):i[a]=e[a]}return i.default=e,n&&n.set(e,i),i}(n(1024)),o=f(n(7862)),a=f(n(314)),s=f(n(4517)),l=n(3041),c=n(576),u=n(6747),h=f(n(1953)),p=f(n(1661)),d=["axis","bounds","children","defaultPosition","defaultClassName","defaultClassNameDragging","defaultClassNameDragged","position","positionOffset","scale"];function f(e){return e&&e.__esModule?e:{default:e}}function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(m=function(e){return e?n:t})(e)}function g(){return g=Object.assign||function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n, without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element."),t}return t=y,o=[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.position,r=t.prevPropsPosition;return!n||r&&n.x===r.x&&n.y===r.y?null:((0,p.default)("Draggable: getDerivedStateFromProps %j",{position:n,prevPropsPosition:r}),{x:n.x,y:n.y,prevPropsPosition:v({},n)})}}],(n=[{key:"componentDidMount",value:function(){void 0!==window.SVGElement&&this.findDOMNode()instanceof window.SVGElement&&this.setState({isElementSVG:!0})}},{key:"componentWillUnmount",value:function(){this.setState({dragging:!1})}},{key:"findDOMNode",value:function(){var e,t,n;return null!==(e=null===(t=this.props)||void 0===t||null===(n=t.nodeRef)||void 0===n?void 0:n.current)&&void 0!==e?e:a.default.findDOMNode(this)}},{key:"render",value:function(){var e,t=this.props,n=(t.axis,t.bounds,t.children),r=t.defaultPosition,o=t.defaultClassName,a=t.defaultClassNameDragging,u=t.defaultClassNameDragged,p=t.position,f=t.positionOffset,m=(t.scale,function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(t,d)),y={},_=null,b=!Boolean(p)||this.state.dragging,E=p||r,T={x:(0,c.canDragX)(this)&&b?this.state.x:E.x,y:(0,c.canDragY)(this)&&b?this.state.y:E.y};this.state.isElementSVG?_=(0,l.createSVGTransform)(T,f):y=(0,l.createCSSTransform)(T,f);var x=(0,s.default)(n.props.className||"",o,(S(e={},a,this.state.dragging),S(e,u,this.state.dragged),e));return i.createElement(h.default,g({},m,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),i.cloneElement(i.Children.only(n),{className:x,style:v(v({},n.props.style),y),transform:_}))}}])&&b(t.prototype,n),o&&b(t,o),Object.defineProperty(t,"prototype",{writable:!1}),y}(i.Component);t.default=C,S(C,"displayName","Draggable"),S(C,"propTypes",v(v({},h.default.propTypes),{},{axis:o.default.oneOf(["both","x","y","none"]),bounds:o.default.oneOfType([o.default.shape({left:o.default.number,right:o.default.number,top:o.default.number,bottom:o.default.number}),o.default.string,o.default.oneOf([!1])]),defaultClassName:o.default.string,defaultClassNameDragging:o.default.string,defaultClassNameDragged:o.default.string,defaultPosition:o.default.shape({x:o.default.number,y:o.default.number}),positionOffset:o.default.shape({x:o.default.oneOfType([o.default.number,o.default.string]),y:o.default.oneOfType([o.default.number,o.default.string])}),position:o.default.shape({x:o.default.number,y:o.default.number}),className:u.dontSetMe,style:u.dontSetMe,transform:u.dontSetMe})),S(C,"defaultProps",v(v({},h.default.defaultProps),{},{axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},scale:1}))},1953:(e,t,n)=>{"use strict";function r(e){return r="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},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(i,a,s):i[a]=e[a]}return i.default=e,n&&n.set(e,i),i}(n(1024)),o=h(n(7862)),a=h(n(314)),s=n(3041),l=n(576),c=n(6747),u=h(n(1661));function h(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(e,t):void 0}}(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 f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n not mounted on DragStart!");var r=n.ownerDocument;if(!(e.props.disabled||!(t.target instanceof r.defaultView.Node)||e.props.handle&&!(0,s.matchesSelectorAndParentsTo)(t.target,e.props.handle,n)||e.props.cancel&&(0,s.matchesSelectorAndParentsTo)(t.target,e.props.cancel,n))){"touchstart"===t.type&&t.preventDefault();var i=(0,s.getTouchIdentifier)(t);e.setState({touchIdentifier:i});var o=(0,l.getControlPosition)(t,i,y(e));if(null!=o){var a=o.x,c=o.y,h=(0,l.createCoreData)(y(e),a,c);(0,u.default)("DraggableCore: handleDragStart: %j",h),(0,u.default)("calling",e.props.onStart),!1!==e.props.onStart(t,h)&&!1!==e.mounted&&(e.props.enableUserSelectHack&&(0,s.addUserSelectStyles)(r),e.setState({dragging:!0,lastX:a,lastY:c}),(0,s.addEvent)(r,T.move,e.handleDrag),(0,s.addEvent)(r,T.stop,e.handleDragStop))}}})),_(y(e),"handleDrag",(function(t){var n=(0,l.getControlPosition)(t,e.state.touchIdentifier,y(e));if(null!=n){var r=n.x,i=n.y;if(Array.isArray(e.props.grid)){var o=r-e.state.lastX,a=i-e.state.lastY,s=d((0,l.snapToGrid)(e.props.grid,o,a),2);if(o=s[0],a=s[1],!o&&!a)return;r=e.state.lastX+o,i=e.state.lastY+a}var c=(0,l.createCoreData)(y(e),r,i);if((0,u.default)("DraggableCore: handleDrag: %j",c),!1!==e.props.onDrag(t,c)&&!1!==e.mounted)e.setState({lastX:r,lastY:i});else try{e.handleDragStop(new MouseEvent("mouseup"))}catch(t){var h=document.createEvent("MouseEvents");h.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),e.handleDragStop(h)}}})),_(y(e),"handleDragStop",(function(t){if(e.state.dragging){var n=(0,l.getControlPosition)(t,e.state.touchIdentifier,y(e));if(null!=n){var r=n.x,i=n.y;if(Array.isArray(e.props.grid)){var o=r-e.state.lastX||0,a=i-e.state.lastY||0,c=d((0,l.snapToGrid)(e.props.grid,o,a),2);o=c[0],a=c[1],r=e.state.lastX+o,i=e.state.lastY+a}var h=(0,l.createCoreData)(y(e),r,i);if(!1===e.props.onStop(t,h)||!1===e.mounted)return!1;var p=e.findDOMNode();p&&e.props.enableUserSelectHack&&(0,s.removeUserSelectStyles)(p.ownerDocument),(0,u.default)("DraggableCore: handleDragStop: %j",h),e.setState({dragging:!1,lastX:NaN,lastY:NaN}),p&&((0,u.default)("DraggableCore: Removing handlers"),(0,s.removeEvent)(p.ownerDocument,T.move,e.handleDrag),(0,s.removeEvent)(p.ownerDocument,T.stop,e.handleDragStop))}}})),_(y(e),"onMouseDown",(function(t){return T=E,e.handleDragStart(t)})),_(y(e),"onMouseUp",(function(t){return T=E,e.handleDragStop(t)})),_(y(e),"onTouchStart",(function(t){return T=b,e.handleDragStart(t)})),_(y(e),"onTouchEnd",(function(t){return T=b,e.handleDragStop(t)})),e}return t=p,(n=[{key:"componentDidMount",value:function(){this.mounted=!0;var e=this.findDOMNode();e&&(0,s.addEvent)(e,b.start,this.onTouchStart,{passive:!1})}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var e=this.findDOMNode();if(e){var t=e.ownerDocument;(0,s.removeEvent)(t,E.move,this.handleDrag),(0,s.removeEvent)(t,b.move,this.handleDrag),(0,s.removeEvent)(t,E.stop,this.handleDragStop),(0,s.removeEvent)(t,b.stop,this.handleDragStop),(0,s.removeEvent)(e,b.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,s.removeUserSelectStyles)(t)}}},{key:"findDOMNode",value:function(){var e,t,n;return null!==(e=this.props)&&void 0!==e&&e.nodeRef?null===(t=this.props)||void 0===t||null===(n=t.nodeRef)||void 0===n?void 0:n.current:a.default.findDOMNode(this)}},{key:"render",value:function(){return i.cloneElement(i.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}])&&m(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),p}(i.Component);t.default=x,_(x,"displayName","DraggableCore"),_(x,"propTypes",{allowAnyClick:o.default.bool,disabled:o.default.bool,enableUserSelectHack:o.default.bool,offsetParent:function(e,t){if(e[t]&&1!==e[t].nodeType)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:o.default.arrayOf(o.default.number),handle:o.default.string,cancel:o.default.string,nodeRef:o.default.object,onStart:o.default.func,onDrag:o.default.func,onStop:o.default.func,onMouseDown:o.default.func,scale:o.default.number,className:c.dontSetMe,style:c.dontSetMe,transform:c.dontSetMe}),_(x,"defaultProps",{allowAnyClick:!1,disabled:!1,enableUserSelectHack:!0,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1})},8078:(e,t,n)=>{"use strict";var r=n(2733),i=r.default,o=r.DraggableCore;e.exports=i,e.exports.default=i,e.exports.DraggableCore=o},3041:(e,t,n)=>{"use strict";function r(e){return r="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},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.addClassName=d,t.addEvent=function(e,t,n,r){if(e){var i=l({capture:!0},r);e.addEventListener?e.addEventListener(t,n,i):e.attachEvent?e.attachEvent("on"+t,n):e["on"+t]=n}},t.addUserSelectStyles=function(e){if(e){var t=e.getElementById("react-draggable-style-el");t||((t=e.createElement("style")).type="text/css",t.id="react-draggable-style-el",t.innerHTML=".react-draggable-transparent-selection *::-moz-selection {all: inherit;}\n",t.innerHTML+=".react-draggable-transparent-selection *::selection {all: inherit;}\n",e.getElementsByTagName("head")[0].appendChild(t)),e.body&&d(e.body,"react-draggable-transparent-selection")}},t.createCSSTransform=function(e,t){var n=p(e,t,"px");return c({},(0,o.browserPrefixToKey)("transform",o.default),n)},t.createSVGTransform=function(e,t){return p(e,t,"")},t.getTouch=function(e,t){return e.targetTouches&&(0,i.findInArray)(e.targetTouches,(function(e){return t===e.identifier}))||e.changedTouches&&(0,i.findInArray)(e.changedTouches,(function(e){return t===e.identifier}))},t.getTouchIdentifier=function(e){return e.targetTouches&&e.targetTouches[0]?e.targetTouches[0].identifier:e.changedTouches&&e.changedTouches[0]?e.changedTouches[0].identifier:void 0},t.getTranslation=p,t.innerHeight=function(e){var t=e.clientHeight,n=e.ownerDocument.defaultView.getComputedStyle(e);return(t-=(0,i.int)(n.paddingTop))-(0,i.int)(n.paddingBottom)},t.innerWidth=function(e){var t=e.clientWidth,n=e.ownerDocument.defaultView.getComputedStyle(e);return(t-=(0,i.int)(n.paddingLeft))-(0,i.int)(n.paddingRight)},t.matchesSelector=h,t.matchesSelectorAndParentsTo=function(e,t,n){var r=e;do{if(h(r,t))return!0;if(r===n)return!1;r=r.parentNode}while(r);return!1},t.offsetXYFromParent=function(e,t,n){var r=t===t.ownerDocument.body?{left:0,top:0}:t.getBoundingClientRect();return{x:(e.clientX+t.scrollLeft-r.left)/n,y:(e.clientY+t.scrollTop-r.top)/n}},t.outerHeight=function(e){var t=e.clientHeight,n=e.ownerDocument.defaultView.getComputedStyle(e);return(t+=(0,i.int)(n.borderTopWidth))+(0,i.int)(n.borderBottomWidth)},t.outerWidth=function(e){var t=e.clientWidth,n=e.ownerDocument.defaultView.getComputedStyle(e);return(t+=(0,i.int)(n.borderLeftWidth))+(0,i.int)(n.borderRightWidth)},t.removeClassName=f,t.removeEvent=function(e,t,n,r){if(e){var i=l({capture:!0},r);e.removeEventListener?e.removeEventListener(t,n,i):e.detachEvent?e.detachEvent("on"+t,n):e["on"+t]=null}},t.removeUserSelectStyles=function(e){if(e)try{if(e.body&&f(e.body,"react-draggable-transparent-selection"),e.selection)e.selection.empty();else{var t=(e.defaultView||window).getSelection();t&&"Caret"!==t.type&&t.removeAllRanges()}}catch(e){}};var i=n(6747),o=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=a(t);if(n&&n.has(e))return n.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var l=o?Object.getOwnPropertyDescriptor(e,s):null;l&&(l.get||l.set)?Object.defineProperty(i,s,l):i[s]=e[s]}return i.default=e,n&&n.set(e,i),i}(n(1422));function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(a=function(e){return e?n:t})(e)}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.browserPrefixToKey=i,t.browserPrefixToStyle=function(e,t){return t?"-".concat(t.toLowerCase(),"-").concat(e):e},t.default=void 0,t.getPrefix=r;var n=["Moz","Webkit","O","ms"];function r(){var e,t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"transform";if("undefined"==typeof window)return"";var o=null===(e=window.document)||void 0===e||null===(t=e.documentElement)||void 0===t?void 0:t.style;if(!o)return"";if(r in o)return"";for(var a=0;a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){}},576:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canDragX=function(e){return"both"===e.props.axis||"x"===e.props.axis},t.canDragY=function(e){return"both"===e.props.axis||"y"===e.props.axis},t.createCoreData=function(e,t,n){var i=e.state,a=!(0,r.isNum)(i.lastX),s=o(e);return a?{node:s,deltaX:0,deltaY:0,lastX:t,lastY:n,x:t,y:n}:{node:s,deltaX:t-i.lastX,deltaY:n-i.lastY,lastX:i.lastX,lastY:i.lastY,x:t,y:n}},t.createDraggableData=function(e,t){var n=e.props.scale;return{node:t.node,x:e.state.x+t.deltaX/n,y:e.state.y+t.deltaY/n,deltaX:t.deltaX/n,deltaY:t.deltaY/n,lastX:e.state.x,lastY:e.state.y}},t.getBoundPosition=function(e,t,n){if(!e.props.bounds)return[t,n];var a=e.props.bounds;a="string"==typeof a?a:function(e){return{left:e.left,top:e.top,right:e.right,bottom:e.bottom}}(a);var s=o(e);if("string"==typeof a){var l,c=s.ownerDocument,u=c.defaultView;if(!((l="parent"===a?s.parentNode:c.querySelector(a))instanceof u.HTMLElement))throw new Error('Bounds selector "'+a+'" could not find an element.');var h=l,p=u.getComputedStyle(s),d=u.getComputedStyle(h);a={left:-s.offsetLeft+(0,r.int)(d.paddingLeft)+(0,r.int)(p.marginLeft),top:-s.offsetTop+(0,r.int)(d.paddingTop)+(0,r.int)(p.marginTop),right:(0,i.innerWidth)(h)-(0,i.outerWidth)(s)-s.offsetLeft+(0,r.int)(d.paddingRight)-(0,r.int)(p.marginRight),bottom:(0,i.innerHeight)(h)-(0,i.outerHeight)(s)-s.offsetTop+(0,r.int)(d.paddingBottom)-(0,r.int)(p.marginBottom)}}return(0,r.isNum)(a.right)&&(t=Math.min(t,a.right)),(0,r.isNum)(a.bottom)&&(n=Math.min(n,a.bottom)),(0,r.isNum)(a.left)&&(t=Math.max(t,a.left)),(0,r.isNum)(a.top)&&(n=Math.max(n,a.top)),[t,n]},t.getControlPosition=function(e,t,n){var r="number"==typeof t?(0,i.getTouch)(e,t):null;if("number"==typeof t&&!r)return null;var a=o(n),s=n.props.offsetParent||a.offsetParent||a.ownerDocument.body;return(0,i.offsetXYFromParent)(r||e,s,n.props.scale)},t.snapToGrid=function(e,t,n){return[Math.round(t/e[0])*e[0],Math.round(n/e[1])*e[1]]};var r=n(6747),i=n(3041);function o(e){var t=e.findDOMNode();if(!t)throw new Error(": Unmounted during event!");return t}},6747:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dontSetMe=function(e,t,n){if(e[t])return new Error("Invalid prop ".concat(t," passed to ").concat(n," - do not set this, set it on the child."))},t.findInArray=function(e,t){for(var n=0,r=e.length;n{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,h=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,d=n?Symbol.for("react.suspense"):60113,f=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,v=n?Symbol.for("react.fundamental"):60117,_=n?Symbol.for("react.responder"):60118,b=n?Symbol.for("react.scope"):60119;function E(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case h:case o:case s:case a:case d:return e;default:switch(e=e&&e.$$typeof){case c:case p:case g:case m:case l:return e;default:return t}}case i:return t}}}function T(e){return E(e)===h}t.AsyncMode=u,t.ConcurrentMode=h,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=p,t.Fragment=o,t.Lazy=g,t.Memo=m,t.Portal=i,t.Profiler=s,t.StrictMode=a,t.Suspense=d,t.isAsyncMode=function(e){return T(e)||E(e)===u},t.isConcurrentMode=T,t.isContextConsumer=function(e){return E(e)===c},t.isContextProvider=function(e){return E(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return E(e)===p},t.isFragment=function(e){return E(e)===o},t.isLazy=function(e){return E(e)===g},t.isMemo=function(e){return E(e)===m},t.isPortal=function(e){return E(e)===i},t.isProfiler=function(e){return E(e)===s},t.isStrictMode=function(e){return E(e)===a},t.isSuspense=function(e){return E(e)===d},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===h||e===s||e===a||e===d||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===p||e.$$typeof===v||e.$$typeof===_||e.$$typeof===b||e.$$typeof===y)},t.typeOf=E},9415:(e,t,n)=>{"use strict";e.exports=n(4507)},208:(e,t)=>{"use strict";var n,r=Symbol.for("react.element"),i=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.server_context"),h=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen");function y(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case o:case s:case a:case p:case d:return e;default:switch(e=e&&e.$$typeof){case u:case c:case h:case m:case f:case l:return e;default:return t}}case i:return t}}}n=Symbol.for("react.module.reference"),t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=h,t.Fragment=o,t.Lazy=m,t.Memo=f,t.Portal=i,t.Profiler=s,t.StrictMode=a,t.Suspense=p,t.SuspenseList=d,t.isAsyncMode=function(){return!1},t.isConcurrentMode=function(){return!1},t.isContextConsumer=function(e){return y(e)===c},t.isContextProvider=function(e){return y(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return y(e)===h},t.isFragment=function(e){return y(e)===o},t.isLazy=function(e){return y(e)===m},t.isMemo=function(e){return y(e)===f},t.isPortal=function(e){return y(e)===i},t.isProfiler=function(e){return y(e)===s},t.isStrictMode=function(e){return y(e)===a},t.isSuspense=function(e){return y(e)===p},t.isSuspenseList=function(e){return y(e)===d},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===s||e===a||e===p||e===d||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===f||e.$$typeof===l||e.$$typeof===c||e.$$typeof===h||e.$$typeof===n||void 0!==e.getModuleId)},t.typeOf=y},9999:(e,t,n)=>{"use strict";e.exports=n(208)},640:function(e,t,n){var r;e.exports=(r=n(1024),function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=48)}([function(e,t){e.exports=r},function(e,t){var n=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(26)("wks"),i=n(17),o=n(3).Symbol,a="function"==typeof o;(e.exports=function(e){return r[e]||(r[e]=a&&o[e]||(a?o:i)("Symbol."+e))}).store=r},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){e.exports=!n(8)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(7),i=n(16);e.exports=n(4)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(10),i=n(35),o=n(23),a=Object.defineProperty;t.f=n(4)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(40),i=n(22);e.exports=function(e){return r(i(e))}},function(e,t,n){var r=n(11);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports={}},function(e,t,n){var r=n(39),i=n(27);e.exports=Object.keys||function(e){return r(e,i)}},function(e,t){e.exports=!0},function(e,t,n){var r=n(3),i=n(1),o=n(53),a=n(6),s=n(5),l=function(e,t,n){var c,u,h,p=e&l.F,d=e&l.G,f=e&l.S,m=e&l.P,g=e&l.B,y=e&l.W,v=d?i:i[t]||(i[t]={}),_=v.prototype,b=d?r:f?r[t]:(r[t]||{}).prototype;for(c in d&&(n=t),n)(u=!p&&b&&void 0!==b[c])&&s(v,c)||(h=u?b[c]:n[c],v[c]=d&&"function"!=typeof b[c]?n[c]:g&&u?o(h,r):y&&b[c]==h?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(h):m&&"function"==typeof h?o(Function.call,h):h,m&&((v.virtual||(v.virtual={}))[c]=h,e&l.R&&_&&!_[c]&&a(_,c,h)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){var r=n(22);e.exports=function(e){return Object(r(e))}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){"use strict";var r=n(52)(!0);n(34)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(11);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(26)("keys"),i=n(17);e.exports=function(e){return r[e]||(r[e]=i(e))}},function(e,t,n){var r=n(1),i=n(3),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(14)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(7).f,i=n(5),o=n(2)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},function(e,t,n){n(62);for(var r=n(3),i=n(6),o=n(12),a=n(2)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;ldocument.F=Object<\/script>"),e.close(),l=e.F;r--;)delete l.prototype[o[r]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=r(e),n=new s,s.prototype=null,n[a]=e):n=l(),void 0===t?n:i(n,t)}},function(e,t,n){var r=n(5),i=n(9),o=n(57)(!1),a=n(25)("IE_PROTO");e.exports=function(e,t){var n,s=i(e),l=0,c=[];for(n in s)n!=a&&r(s,n)&&c.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~o(c,n)||c.push(n));return c}},function(e,t,n){var r=n(24);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(39),i=n(27).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t,n){var r=n(24),i=n(2)("toStringTag"),o="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?n:o?r(t):"Object"==(a=r(t))&&"function"==typeof t.callee?"Arguments":a}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){var n=/-?\d+(\.\d+)?%?/g;e.exports=function(e){return e.match(n)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getBase16Theme=t.createStyling=t.invertTheme=void 0;var r=d(n(49)),i=d(n(76)),o=d(n(81)),a=d(n(89)),s=d(n(93)),l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(94)),c=d(n(132)),u=d(n(133)),h=d(n(138)),p=n(139);function d(e){return e&&e.__esModule?e:{default:e}}var f=l.default,m=(0,a.default)(f),g=(0,h.default)(u.default,p.rgb2yuv,(function(e){var t,n=(0,o.default)(e,3);return[(t=n[0],t<.25?1:t<.5?.9-t:1.1-t),n[1],n[2]]}),p.yuv2rgb,c.default),y=function(e){return function(t){return{className:[t.className,e.className].filter(Boolean).join(" "),style:(0,i.default)({},t.style||{},e.style||{})}}},v=function(e,t){var n=(0,a.default)(t);for(var o in e)-1===n.indexOf(o)&&n.push(o);return n.reduce((function(n,o){return n[o]=function(e,t){if(void 0===e)return t;if(void 0===t)return e;var n=void 0===e?"undefined":(0,r.default)(e),o=void 0===t?"undefined":(0,r.default)(t);switch(n){case"string":switch(o){case"string":return[t,e].filter(Boolean).join(" ");case"object":return y({className:e,style:t});case"function":return function(n){for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o1?r-1:0),o=1;o1?r-1:0),o=1;o1?r-1:0),o=1;o1?r-1:0),o=1;o2?n-2:0),s=2;s3?t-3:0),r=3;r1&&void 0!==arguments[1]?arguments[1]:{},l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},c=o.defaultBase16,u=void 0===c?f:c,h=o.base16Themes,p=E(l,void 0===h?null:h);p&&(l=(0,i.default)({},p,l));var d=m.reduce((function(e,t){return e[t]=l[t]||u[t],e}),{}),g=(0,a.default)(l).reduce((function(e,t){return-1===m.indexOf(t)?(e[t]=l[t],e):e}),{}),y=e(d),b=v(g,y);return(0,s.default)(_,2).apply(void 0,[b].concat(n))}),3),t.getBase16Theme=function(e,t){if(e&&e.extend&&(e=e.extend),"string"==typeof e){var n=e.split(":"),r=(0,o.default)(n,2),i=r[0],a=r[1];e=(t||{})[i]||l[i],"inverted"===a&&(e=b(e))}return e&&e.hasOwnProperty("base00")?e:void 0})},function(e,t,n){"use strict";var r,i="object"==typeof Reflect?Reflect:null,o=i&&"function"==typeof i.apply?i.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=i&&"function"==typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var a=Number.isNaN||function(e){return e!=e};function s(){s.init.call(this)}e.exports=s,e.exports.once=function(e,t){return new Promise((function(n,r){function i(){void 0!==o&&e.removeListener("error",o),n([].slice.call(arguments))}var o;"error"!==t&&(o=function(n){e.removeListener(t,i),r(n)},e.once("error",o)),e.once(t,i)}))},s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var l=10;function c(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function u(e){return void 0===e._maxListeners?s.defaultMaxListeners:e._maxListeners}function h(e,t,n,r){var i,o,a,s;if(c(n),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),a=o[t]),void 0===a)a=o[t]=n,++e._eventsCount;else if("function"==typeof a?a=o[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(i=u(e))>0&&a.length>i&&!a.warned){a.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=a.length,s=l,console&&console.warn&&console.warn(s)}return e}function p(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=p.bind(r);return i.listener=n,r.wrapFn=i,i}function f(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var l=i[e];if(void 0===l)return!1;if("function"==typeof l)o(l,this,t);else{var c=l.length,u=g(l,c);for(n=0;n=0;o--)if(n[o]===t||n[o].listener===t){a=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1=0;r--)this.removeListener(e,t[r]);return this},s.prototype.listeners=function(e){return f(this,e,!0)},s.prototype.rawListeners=function(e){return f(this,e,!1)},s.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},s.prototype.listenerCount=m,s.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},function(e,t,n){e.exports.Dispatcher=n(140)},function(e,t,n){e.exports=n(142)},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(50)),i=a(n(65)),o="function"==typeof i.default&&"symbol"==typeof r.default?function(e){return typeof e}:function(e){return e&&"function"==typeof i.default&&e.constructor===i.default&&e!==i.default.prototype?"symbol":typeof e};function a(e){return e&&e.__esModule?e:{default:e}}t.default="function"==typeof i.default&&"symbol"===o(r.default)?function(e){return void 0===e?"undefined":o(e)}:function(e){return e&&"function"==typeof i.default&&e.constructor===i.default&&e!==i.default.prototype?"symbol":void 0===e?"undefined":o(e)}},function(e,t,n){e.exports={default:n(51),__esModule:!0}},function(e,t,n){n(20),n(29),e.exports=n(30).f("iterator")},function(e,t,n){var r=n(21),i=n(22);e.exports=function(e){return function(t,n){var o,a,s=String(i(t)),l=r(n),c=s.length;return l<0||l>=c?e?"":void 0:(o=s.charCodeAt(l))<55296||o>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):o:e?s.slice(l,l+2):a-56320+(o-55296<<10)+65536}}},function(e,t,n){var r=n(54);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){"use strict";var r=n(38),i=n(16),o=n(28),a={};n(6)(a,n(2)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(a,{next:i(1,n)}),o(e,t+" Iterator")}},function(e,t,n){var r=n(7),i=n(10),o=n(13);e.exports=n(4)?Object.defineProperties:function(e,t){i(e);for(var n,a=o(t),s=a.length,l=0;s>l;)r.f(e,n=a[l++],t[n]);return e}},function(e,t,n){var r=n(9),i=n(58),o=n(59);e.exports=function(e){return function(t,n,a){var s,l=r(t),c=i(l.length),u=o(a,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}}},function(e,t,n){var r=n(21),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t,n){var r=n(21),i=Math.max,o=Math.min;e.exports=function(e,t){return(e=r(e))<0?i(e+t,0):o(e,t)}},function(e,t,n){var r=n(3).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(5),i=n(18),o=n(25)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){"use strict";var r=n(63),i=n(64),o=n(12),a=n(9);e.exports=n(34)(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){e.exports={default:n(66),__esModule:!0}},function(e,t,n){n(67),n(73),n(74),n(75),e.exports=n(1).Symbol},function(e,t,n){"use strict";var r=n(3),i=n(5),o=n(4),a=n(15),s=n(37),l=n(68).KEY,c=n(8),u=n(26),h=n(28),p=n(17),d=n(2),f=n(30),m=n(31),g=n(69),y=n(70),v=n(10),_=n(11),b=n(18),E=n(9),T=n(23),x=n(16),S=n(38),C=n(71),A=n(72),R=n(32),w=n(7),L=n(13),O=A.f,N=w.f,I=C.f,k=r.Symbol,D=r.JSON,P=D&&D.stringify,M=d("_hidden"),F=d("toPrimitive"),H={}.propertyIsEnumerable,B=u("symbol-registry"),U=u("symbols"),j=u("op-symbols"),G=Object.prototype,Y="function"==typeof k&&!!R.f,z=r.QObject,$=!z||!z.prototype||!z.prototype.findChild,W=o&&c((function(){return 7!=S(N({},"a",{get:function(){return N(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=O(G,t);r&&delete G[t],N(e,t,n),r&&e!==G&&N(G,t,r)}:N,V=function(e){var t=U[e]=S(k.prototype);return t._k=e,t},K=Y&&"symbol"==typeof k.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof k},q=function(e,t,n){return e===G&&q(j,t,n),v(e),t=T(t,!0),v(n),i(U,t)?(n.enumerable?(i(e,M)&&e[M][t]&&(e[M][t]=!1),n=S(n,{enumerable:x(0,!1)})):(i(e,M)||N(e,M,x(1,{})),e[M][t]=!0),W(e,t,n)):N(e,t,n)},X=function(e,t){v(e);for(var n,r=g(t=E(t)),i=0,o=r.length;o>i;)q(e,n=r[i++],t[n]);return e},Z=function(e){var t=H.call(this,e=T(e,!0));return!(this===G&&i(U,e)&&!i(j,e))&&(!(t||!i(this,e)||!i(U,e)||i(this,M)&&this[M][e])||t)},Q=function(e,t){if(e=E(e),t=T(t,!0),e!==G||!i(U,t)||i(j,t)){var n=O(e,t);return!n||!i(U,t)||i(e,M)&&e[M][t]||(n.enumerable=!0),n}},J=function(e){for(var t,n=I(E(e)),r=[],o=0;n.length>o;)i(U,t=n[o++])||t==M||t==l||r.push(t);return r},ee=function(e){for(var t,n=e===G,r=I(n?j:E(e)),o=[],a=0;r.length>a;)!i(U,t=r[a++])||n&&!i(G,t)||o.push(U[t]);return o};Y||(s((k=function(){if(this instanceof k)throw TypeError("Symbol is not a constructor!");var e=p(arguments.length>0?arguments[0]:void 0),t=function(n){this===G&&t.call(j,n),i(this,M)&&i(this[M],e)&&(this[M][e]=!1),W(this,e,x(1,n))};return o&&$&&W(G,e,{configurable:!0,set:t}),V(e)}).prototype,"toString",(function(){return this._k})),A.f=Q,w.f=q,n(41).f=C.f=J,n(19).f=Z,R.f=ee,o&&!n(14)&&s(G,"propertyIsEnumerable",Z,!0),f.f=function(e){return V(d(e))}),a(a.G+a.W+a.F*!Y,{Symbol:k});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)d(te[ne++]);for(var re=L(d.store),ie=0;re.length>ie;)m(re[ie++]);a(a.S+a.F*!Y,"Symbol",{for:function(e){return i(B,e+="")?B[e]:B[e]=k(e)},keyFor:function(e){if(!K(e))throw TypeError(e+" is not a symbol!");for(var t in B)if(B[t]===e)return t},useSetter:function(){$=!0},useSimple:function(){$=!1}}),a(a.S+a.F*!Y,"Object",{create:function(e,t){return void 0===t?S(e):X(S(e),t)},defineProperty:q,defineProperties:X,getOwnPropertyDescriptor:Q,getOwnPropertyNames:J,getOwnPropertySymbols:ee});var oe=c((function(){R.f(1)}));a(a.S+a.F*oe,"Object",{getOwnPropertySymbols:function(e){return R.f(b(e))}}),D&&a(a.S+a.F*(!Y||c((function(){var e=k();return"[null]"!=P([e])||"{}"!=P({a:e})||"{}"!=P(Object(e))}))),"JSON",{stringify:function(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(_(t)||void 0!==e)&&!K(e))return y(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!K(t))return t}),r[1]=t,P.apply(D,r)}}),k.prototype[F]||n(6)(k.prototype,F,k.prototype.valueOf),h(k,"Symbol"),h(Math,"Math",!0),h(r.JSON,"JSON",!0)},function(e,t,n){var r=n(17)("meta"),i=n(11),o=n(5),a=n(7).f,s=0,l=Object.isExtensible||function(){return!0},c=!n(8)((function(){return l(Object.preventExtensions({}))})),u=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},h=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,r)){if(!l(e))return"F";if(!t)return"E";u(e)}return e[r].i},getWeak:function(e,t){if(!o(e,r)){if(!l(e))return!0;if(!t)return!1;u(e)}return e[r].w},onFreeze:function(e){return c&&h.NEED&&l(e)&&!o(e,r)&&u(e),e}}},function(e,t,n){var r=n(13),i=n(32),o=n(19);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var a,s=n(e),l=o.f,c=0;s.length>c;)l.call(e,a=s[c++])&&t.push(a);return t}},function(e,t,n){var r=n(24);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(9),i=n(41).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?function(e){try{return i(e)}catch(e){return a.slice()}}(e):i(r(e))}},function(e,t,n){var r=n(19),i=n(16),o=n(9),a=n(23),s=n(5),l=n(35),c=Object.getOwnPropertyDescriptor;t.f=n(4)?c:function(e,t){if(e=o(e),t=a(t,!0),l)try{return c(e,t)}catch(e){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},function(e,t){},function(e,t,n){n(31)("asyncIterator")},function(e,t,n){n(31)("observable")},function(e,t,n){"use strict";t.__esModule=!0;var r,i=(r=n(77))&&r.__esModule?r:{default:r};t.default=i.default||function(e){for(var t=1;tu;)for(var d,f=l(arguments[u++]),m=h?i(f).concat(h(f)):i(f),g=m.length,y=0;g>y;)d=m[y++],r&&!p.call(f,d)||(n[d]=f[d]);return n}:c},function(e,t,n){"use strict";t.__esModule=!0;var r=o(n(82)),i=o(n(85));function o(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if(Array.isArray(e))return e;if((0,r.default)(Object(e)))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var s,l=(0,i.default)(e);!(r=(s=l.next()).done)&&(n.push(s.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t,n){e.exports={default:n(83),__esModule:!0}},function(e,t,n){n(29),n(20),e.exports=n(84)},function(e,t,n){var r=n(42),i=n(2)("iterator"),o=n(12);e.exports=n(1).isIterable=function(e){var t=Object(e);return void 0!==t[i]||"@@iterator"in t||o.hasOwnProperty(r(t))}},function(e,t,n){e.exports={default:n(86),__esModule:!0}},function(e,t,n){n(29),n(20),e.exports=n(87)},function(e,t,n){var r=n(10),i=n(88);e.exports=n(1).getIterator=function(e){var t=i(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return r(t.call(e))}},function(e,t,n){var r=n(42),i=n(2)("iterator"),o=n(12);e.exports=n(1).getIteratorMethod=function(e){if(null!=e)return e[i]||e["@@iterator"]||o[r(e)]}},function(e,t,n){e.exports={default:n(90),__esModule:!0}},function(e,t,n){n(91),e.exports=n(1).Object.keys},function(e,t,n){var r=n(18),i=n(13);n(92)("keys",(function(){return function(e){return i(r(e))}}))},function(e,t,n){var r=n(15),i=n(1),o=n(8);e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*o((function(){n(1)})),"Object",a)}},function(e,t,n){(function(t){var n=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],r=/^\s+|\s+$/g,i=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,o=/\{\n\/\* \[wrapped with (.+)\] \*/,a=/,? & /,s=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,c=/^\[object .+?Constructor\]$/,u=/^0o[0-7]+$/i,h=/^(?:0|[1-9]\d*)$/,p=parseInt,d="object"==typeof t&&t&&t.Object===Object&&t,f="object"==typeof self&&self&&self.Object===Object&&self,m=d||f||Function("return this")();function g(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function y(e){return e!=e}function v(e,t){for(var n=-1,r=e.length,i=0,o=[];++n2?b:void 0);function D(e){return function(){var t=arguments;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]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=function(e){return $(e)?O(e):{}}(e.prototype),r=e.apply(n,t);return $(r)?r:n}}function P(e,t,n,r,i,o,a,s,l,c){var u=128&t,h=1&t,p=2&t,d=24&t,f=512&t,g=p?void 0:D(e);return function y(){for(var _=arguments.length,b=Array(_),E=_;E--;)b[E]=arguments[E];if(d)var T=F(y),x=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&r++;return r}(b,T);if(r&&(b=function(e,t,n,r){for(var i=-1,o=e.length,a=n.length,s=-1,l=t.length,c=N(o-a,0),u=Array(l+c),h=!r;++s1&&b.reverse(),u&&l<_&&(b.length=l),this&&this!==m&&this instanceof y&&(A=g||D(A)),A.apply(C,b)}}function M(e,t,n,r,i,o,a,s,l,c){var u=8&t;t|=u?32:64,4&(t&=~(u?64:32))||(t&=-4);var h=n(e,t,i,u?o:void 0,u?a:void 0,u?void 0:o,u?void 0:a,s,l,c);return h.placeholder=r,G(h,e,t)}function F(e){return e.placeholder}function H(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!$(e)||function(e){return!!C&&C in e}(e))&&(function(e){var t=$(e)?w.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?L:c).test(function(e){if(null!=e){try{return A.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}(n)?n:void 0}function B(e){var t=e.match(o);return t?t[1].split(a):[]}function U(e,t){var n=t.length,r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(i,"{\n/* [wrapped with "+t+"] */\n")}function j(e,t){return!!(t=null==t?9007199254740991:t)&&("number"==typeof e||h.test(e))&&e>-1&&e%1==0&&e-1}(e,r)&&e.push(r)})),e.sort()}function z(e,t,n){var r=function(e,t,n,r,i,o,a,s){var l=2&t;if(!l&&"function"!=typeof e)throw new TypeError("Expected a function");var c=r?r.length:0;if(c||(t&=-97,r=i=void 0),a=void 0===a?a:N(W(a),0),s=void 0===s?s:W(s),c-=i?i.length:0,64&t){var u=r,h=i;r=i=void 0}var p=[e,t,n,r,i,u,h,o,a,s];if(e=p[0],t=p[1],n=p[2],r=p[3],i=p[4],!(s=p[9]=null==p[9]?l?0:e.length:N(p[9]-c,0))&&24&t&&(t&=-25),t&&1!=t)d=8==t||16==t?function(e,t,n){var r=D(e);return function i(){for(var o=arguments.length,a=Array(o),s=o,l=F(i);s--;)a[s]=arguments[s];var c=o<3&&a[0]!==l&&a[o-1]!==l?[]:v(a,l);return(o-=c.length)1&&r--,o=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,i[c]=255*o;return i}},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t,r="object"==typeof self&&self&&self.Object===Object&&self,i=n||r||Function("return this")();function o(e,t){for(var n=-1,r=t.length,i=e.length;++n-1&&e%1==0&&e<=9007199254740991}(e.length)&&!function(e){var t=function(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}(e)?l.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}(e)}(e)}(e)&&s.call(e,"callee")&&(!u.call(e,"callee")||"[object Arguments]"==l.call(e))}(e)||!!(h&&e&&e[h])}var f,m,g=Array.isArray,y=(f=function(e){for(var t=(e=function e(t,n,r,i,a){var s=-1,l=t.length;for(r||(r=d),a||(a=[]);++s0&&r(c)?n>1?e(c,n-1,r,i,a):o(a,c):i||(a[a.length]=c)}return a}(e,1)).length,n=t;n--;)if("function"!=typeof e[n])throw new TypeError("Expected a function");return function(){for(var n=0,r=t?e[n].apply(this,arguments):arguments[0];++n2?n-2:0),i=2;i=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function T(e){var t=function(e){return{}.toString.call(e).match(/\s([a-zA-Z]+)/)[1].toLowerCase()}(e);return"number"===t&&(t=isNaN(e)?"nan":(0|e)!=e?"float":"integer"),t}y.__suppressDeprecationWarning=!0,v.__suppressDeprecationWarning=!0,_.__suppressDeprecationWarning=!0;var x={scheme:"rjv-default",author:"mac gainor",base00:"rgba(0, 0, 0, 0)",base01:"rgb(245, 245, 245)",base02:"rgb(235, 235, 235)",base03:"#93a1a1",base04:"rgba(0, 0, 0, 0.3)",base05:"#586e75",base06:"#073642",base07:"#002b36",base08:"#d33682",base09:"#cb4b16",base0A:"#dc322f",base0B:"#859900",base0C:"#6c71c4",base0D:"#586e75",base0E:"#2aa198",base0F:"#268bd2"},S={scheme:"rjv-grey",author:"mac gainor",base00:"rgba(1, 1, 1, 0)",base01:"rgba(1, 1, 1, 0.1)",base02:"rgba(0, 0, 0, 0.2)",base03:"rgba(1, 1, 1, 0.3)",base04:"rgba(0, 0, 0, 0.4)",base05:"rgba(1, 1, 1, 0.5)",base06:"rgba(1, 1, 1, 0.6)",base07:"rgba(1, 1, 1, 0.7)",base08:"rgba(1, 1, 1, 0.8)",base09:"rgba(1, 1, 1, 0.8)",base0A:"rgba(1, 1, 1, 0.8)",base0B:"rgba(1, 1, 1, 0.8)",base0C:"rgba(1, 1, 1, 0.8)",base0D:"rgba(1, 1, 1, 0.8)",base0E:"rgba(1, 1, 1, 0.8)",base0F:"rgba(1, 1, 1, 0.8)"},C={white:"#fff",black:"#000",transparent:"rgba(1, 1, 1, 0)",globalFontFamily:"monospace",globalCursor:"default",indentBlockWidth:"5px",braceFontWeight:"bold",braceCursor:"pointer",ellipsisFontSize:"18px",ellipsisLineHeight:"10px",ellipsisCursor:"pointer",keyMargin:"0px 5px",keyLetterSpacing:"0.5px",keyFontStyle:"none",keyBorderRadius:"3px",keyColonWeight:"bold",keyVerticalAlign:"top",keyOpacity:"0.85",keyOpacityHover:"1",keyValPaddingTop:"3px",keyValPaddingBottom:"3px",keyValPaddingRight:"5px",keyValBorderLeft:"1px solid",keyValBorderHover:"2px solid",keyValPaddingHover:"3px 5px 3px 4px",pushedContentMarginLeft:"6px",variableValuePaddingRight:"6px",nullFontSize:"11px",nullFontWeight:"bold",nullPadding:"1px 2px",nullBorderRadius:"3px",nanFontSize:"11px",nanFontWeight:"bold",nanPadding:"1px 2px",nanBorderRadius:"3px",undefinedFontSize:"11px",undefinedFontWeight:"bold",undefinedPadding:"1px 2px",undefinedBorderRadius:"3px",dataTypeFontSize:"11px",dataTypeMarginRight:"4px",datatypeOpacity:"0.8",objectSizeBorderRadius:"3px",objectSizeFontStyle:"italic",objectSizeMargin:"0px 6px 0px 0px",clipboardCursor:"pointer",clipboardCheckMarginLeft:"-12px",metaDataPadding:"0px 0px 0px 10px",arrayGroupMetaPadding:"0px 0px 0px 4px",iconContainerWidth:"17px",tooltipPadding:"4px",editInputMinWidth:"130px",editInputBorderRadius:"2px",editInputPadding:"5px",editInputMarginRight:"4px",editInputFontFamily:"monospace",iconCursor:"pointer",iconFontSize:"15px",iconPaddingRight:"1px",dateValueMarginLeft:"2px",iconMarginRight:"3px",detectedRowPaddingTop:"3px",addKeyCoverBackground:"rgba(255, 255, 255, 0.3)",addKeyCoverPosition:"absolute",addKeyCoverPositionPx:"0px",addKeyModalWidth:"200px",addKeyModalMargin:"auto",addKeyModalPadding:"10px",addKeyModalRadius:"3px"},A=n(45),R=function(e){var t=function(e){return{backgroundColor:e.base00,ellipsisColor:e.base09,braceColor:e.base07,expandedIcon:e.base0D,collapsedIcon:e.base0E,keyColor:e.base07,arrayKeyColor:e.base0C,objectSize:e.base04,copyToClipboard:e.base0F,copyToClipboardCheck:e.base0D,objectBorder:e.base02,dataTypes:{boolean:e.base0E,date:e.base0D,float:e.base0B,function:e.base0D,integer:e.base0F,string:e.base09,nan:e.base08,null:e.base0A,undefined:e.base05,regexp:e.base0A,background:e.base02},editVariable:{editIcon:e.base0E,cancelIcon:e.base09,removeIcon:e.base09,addIcon:e.base0E,checkIcon:e.base0E,background:e.base01,color:e.base0A,border:e.base07},addKeyModal:{background:e.base05,border:e.base04,color:e.base0A,labelColor:e.base01},validationFailure:{background:e.base09,iconColor:e.base01,fontColor:e.base01}}}(e);return{"app-container":{fontFamily:C.globalFontFamily,cursor:C.globalCursor,backgroundColor:t.backgroundColor,position:"relative"},ellipsis:{display:"inline-block",color:t.ellipsisColor,fontSize:C.ellipsisFontSize,lineHeight:C.ellipsisLineHeight,cursor:C.ellipsisCursor},"brace-row":{display:"inline-block",cursor:"pointer"},brace:{display:"inline-block",cursor:C.braceCursor,fontWeight:C.braceFontWeight,color:t.braceColor},"expanded-icon":{color:t.expandedIcon},"collapsed-icon":{color:t.collapsedIcon},colon:{display:"inline-block",margin:C.keyMargin,color:t.keyColor,verticalAlign:"top"},objectKeyVal:function(e,n){return{style:o({paddingTop:C.keyValPaddingTop,paddingRight:C.keyValPaddingRight,paddingBottom:C.keyValPaddingBottom,borderLeft:C.keyValBorderLeft+" "+t.objectBorder,":hover":{paddingLeft:n.paddingLeft-1+"px",borderLeft:C.keyValBorderHover+" "+t.objectBorder}},n)}},"object-key-val-no-border":{padding:C.keyValPadding},"pushed-content":{marginLeft:C.pushedContentMarginLeft},variableValue:function(e,t){return{style:o({display:"inline-block",paddingRight:C.variableValuePaddingRight,position:"relative"},t)}},"object-name":{display:"inline-block",color:t.keyColor,letterSpacing:C.keyLetterSpacing,fontStyle:C.keyFontStyle,verticalAlign:C.keyVerticalAlign,opacity:C.keyOpacity,":hover":{opacity:C.keyOpacityHover}},"array-key":{display:"inline-block",color:t.arrayKeyColor,letterSpacing:C.keyLetterSpacing,fontStyle:C.keyFontStyle,verticalAlign:C.keyVerticalAlign,opacity:C.keyOpacity,":hover":{opacity:C.keyOpacityHover}},"object-size":{color:t.objectSize,borderRadius:C.objectSizeBorderRadius,fontStyle:C.objectSizeFontStyle,margin:C.objectSizeMargin,cursor:"default"},"data-type-label":{fontSize:C.dataTypeFontSize,marginRight:C.dataTypeMarginRight,opacity:C.datatypeOpacity},boolean:{display:"inline-block",color:t.dataTypes.boolean},date:{display:"inline-block",color:t.dataTypes.date},"date-value":{marginLeft:C.dateValueMarginLeft},float:{display:"inline-block",color:t.dataTypes.float},function:{display:"inline-block",color:t.dataTypes.function,cursor:"pointer",whiteSpace:"pre-line"},"function-value":{fontStyle:"italic"},integer:{display:"inline-block",color:t.dataTypes.integer},string:{display:"inline-block",color:t.dataTypes.string},nan:{display:"inline-block",color:t.dataTypes.nan,fontSize:C.nanFontSize,fontWeight:C.nanFontWeight,backgroundColor:t.dataTypes.background,padding:C.nanPadding,borderRadius:C.nanBorderRadius},null:{display:"inline-block",color:t.dataTypes.null,fontSize:C.nullFontSize,fontWeight:C.nullFontWeight,backgroundColor:t.dataTypes.background,padding:C.nullPadding,borderRadius:C.nullBorderRadius},undefined:{display:"inline-block",color:t.dataTypes.undefined,fontSize:C.undefinedFontSize,padding:C.undefinedPadding,borderRadius:C.undefinedBorderRadius,backgroundColor:t.dataTypes.background},regexp:{display:"inline-block",color:t.dataTypes.regexp},"copy-to-clipboard":{cursor:C.clipboardCursor},"copy-icon":{color:t.copyToClipboard,fontSize:C.iconFontSize,marginRight:C.iconMarginRight,verticalAlign:"top"},"copy-icon-copied":{color:t.copyToClipboardCheck,marginLeft:C.clipboardCheckMarginLeft},"array-group-meta-data":{display:"inline-block",padding:C.arrayGroupMetaPadding},"object-meta-data":{display:"inline-block",padding:C.metaDataPadding},"icon-container":{display:"inline-block",width:C.iconContainerWidth},tooltip:{padding:C.tooltipPadding},removeVarIcon:{verticalAlign:"top",display:"inline-block",color:t.editVariable.removeIcon,cursor:C.iconCursor,fontSize:C.iconFontSize,marginRight:C.iconMarginRight},addVarIcon:{verticalAlign:"top",display:"inline-block",color:t.editVariable.addIcon,cursor:C.iconCursor,fontSize:C.iconFontSize,marginRight:C.iconMarginRight},editVarIcon:{verticalAlign:"top",display:"inline-block",color:t.editVariable.editIcon,cursor:C.iconCursor,fontSize:C.iconFontSize,marginRight:C.iconMarginRight},"edit-icon-container":{display:"inline-block",verticalAlign:"top"},"check-icon":{display:"inline-block",cursor:C.iconCursor,color:t.editVariable.checkIcon,fontSize:C.iconFontSize,paddingRight:C.iconPaddingRight},"cancel-icon":{display:"inline-block",cursor:C.iconCursor,color:t.editVariable.cancelIcon,fontSize:C.iconFontSize,paddingRight:C.iconPaddingRight},"edit-input":{display:"inline-block",minWidth:C.editInputMinWidth,borderRadius:C.editInputBorderRadius,backgroundColor:t.editVariable.background,color:t.editVariable.color,padding:C.editInputPadding,marginRight:C.editInputMarginRight,fontFamily:C.editInputFontFamily},"detected-row":{paddingTop:C.detectedRowPaddingTop},"key-modal-request":{position:C.addKeyCoverPosition,top:C.addKeyCoverPositionPx,left:C.addKeyCoverPositionPx,right:C.addKeyCoverPositionPx,bottom:C.addKeyCoverPositionPx,backgroundColor:C.addKeyCoverBackground},"key-modal":{width:C.addKeyModalWidth,backgroundColor:t.addKeyModal.background,marginLeft:C.addKeyModalMargin,marginRight:C.addKeyModalMargin,padding:C.addKeyModalPadding,borderRadius:C.addKeyModalRadius,marginTop:"15px",position:"relative"},"key-modal-label":{color:t.addKeyModal.labelColor,marginLeft:"2px",marginBottom:"5px",fontSize:"11px"},"key-modal-input-container":{overflow:"hidden"},"key-modal-input":{width:"100%",padding:"3px 6px",fontFamily:"monospace",color:t.addKeyModal.color,border:"none",boxSizing:"border-box",borderRadius:"2px"},"key-modal-cancel":{backgroundColor:t.editVariable.removeIcon,position:"absolute",top:"0px",right:"0px",borderRadius:"0px 3px 0px 3px",cursor:"pointer"},"key-modal-cancel-icon":{color:t.addKeyModal.labelColor,fontSize:C.iconFontSize,transform:"rotate(45deg)"},"key-modal-submit":{color:t.editVariable.addIcon,fontSize:C.iconFontSize,position:"absolute",right:"2px",top:"3px",cursor:"pointer"},"function-ellipsis":{display:"inline-block",color:t.ellipsisColor,fontSize:C.ellipsisFontSize,lineHeight:C.ellipsisLineHeight,cursor:C.ellipsisCursor},"validation-failure":{float:"right",padding:"3px 6px",borderRadius:"2px",cursor:"pointer",color:t.validationFailure.fontColor,backgroundColor:t.validationFailure.background},"validation-failure-label":{marginRight:"6px"},"validation-failure-clear":{position:"relative",verticalAlign:"top",cursor:"pointer",color:t.validationFailure.iconColor,fontSize:C.iconFontSize,transform:"rotate(45deg)"}}};function w(e,t,n){return e||console.error("theme has not been set"),function(e){var t=x;return!1!==e&&"none"!==e||(t=S),Object(A.createStyling)(R,{defaultBase16:t})(e)}(e)(t,n)}var L=function(e){u(n,e);var t=f(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){var e=this.props,t=(e.rjvId,e.type_name),n=e.displayDataTypes,r=e.theme;return n?g.a.createElement("span",Object.assign({className:"data-type-label"},w(r,"data-type-label")),t):null}}]),n}(g.a.PureComponent),O=function(e){u(n,e);var t=f(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){var e=this.props;return g.a.createElement("div",w(e.theme,"boolean"),g.a.createElement(L,Object.assign({type_name:"bool"},e)),e.value?"true":"false")}}]),n}(g.a.PureComponent),N=function(e){u(n,e);var t=f(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){var e=this.props;return g.a.createElement("div",w(e.theme,"date"),g.a.createElement(L,Object.assign({type_name:"date"},e)),g.a.createElement("span",Object.assign({className:"date-value"},w(e.theme,"date-value")),e.value.toLocaleTimeString("en-us",{weekday:"short",year:"numeric",month:"short",day:"numeric",hour:"2-digit",minute:"2-digit"})))}}]),n}(g.a.PureComponent),I=function(e){u(n,e);var t=f(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){var e=this.props;return g.a.createElement("div",w(e.theme,"float"),g.a.createElement(L,Object.assign({type_name:"float"},e)),this.props.value)}}]),n}(g.a.PureComponent);function k(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},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(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}(i);try{for(h.s();!(s=h.n()).done;)u=u[s.value]}catch(e){h.e(e)}finally{h.f()}return a?"array"==T(u)?u.splice(r,1):delete u[r]:null!==r?u[r]=o:c=o,e.set(t,"global","src",c),c},e.deepCopy=function(t,n){var r,i=T(t),a=n.shift();return"array"==i?r=P(t):"object"==i&&(r=o({},t)),void 0!==a&&(r[a]=e.deepCopy(t[a],n)),r},e}return n}(M.EventEmitter));F.register(H.handleAction.bind(H));var B=H,U=function(e){u(n,e);var t=f(n);function n(e){var r;return a(this,n),(r=t.call(this,e)).toggleCollapsed=function(){r.setState({collapsed:!r.state.collapsed},(function(){B.set(r.props.rjvId,r.props.namespace,"collapsed",r.state.collapsed)}))},r.getFunctionDisplay=function(e){var t=d(r).props;return e?g.a.createElement("span",null,r.props.value.toString().slice(9,-1).replace(/\{[\s\S]+/,""),g.a.createElement("span",{className:"function-collapsed",style:{fontWeight:"bold"}},g.a.createElement("span",null,"{"),g.a.createElement("span",w(t.theme,"ellipsis"),"..."),g.a.createElement("span",null,"}"))):r.props.value.toString().slice(9,-1)},r.state={collapsed:B.get(e.rjvId,e.namespace,"collapsed",!0)},r}return l(n,[{key:"render",value:function(){var e=this.props,t=this.state.collapsed;return g.a.createElement("div",w(e.theme,"function"),g.a.createElement(L,Object.assign({type_name:"function"},e)),g.a.createElement("span",Object.assign({},w(e.theme,"function-value"),{className:"rjv-function-container",onClick:this.toggleCollapsed}),this.getFunctionDisplay(t)))}}]),n}(g.a.PureComponent),j=function(e){u(n,e);var t=f(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){return g.a.createElement("div",w(this.props.theme,"nan"),"NaN")}}]),n}(g.a.PureComponent),G=function(e){u(n,e);var t=f(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){return g.a.createElement("div",w(this.props.theme,"null"),"NULL")}}]),n}(g.a.PureComponent),Y=function(e){u(n,e);var t=f(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){var e=this.props;return g.a.createElement("div",w(e.theme,"integer"),g.a.createElement(L,Object.assign({type_name:"int"},e)),this.props.value)}}]),n}(g.a.PureComponent),z=function(e){u(n,e);var t=f(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){var e=this.props;return g.a.createElement("div",w(e.theme,"regexp"),g.a.createElement(L,Object.assign({type_name:"regexp"},e)),this.props.value.toString())}}]),n}(g.a.PureComponent),$=function(e){u(n,e);var t=f(n);function n(e){var r;return a(this,n),(r=t.call(this,e)).toggleCollapsed=function(){r.setState({collapsed:!r.state.collapsed},(function(){B.set(r.props.rjvId,r.props.namespace,"collapsed",r.state.collapsed)}))},r.state={collapsed:B.get(e.rjvId,e.namespace,"collapsed",!0)},r}return l(n,[{key:"render",value:function(){this.state.collapsed;var e=this.props,t=e.collapseStringsAfterLength,n=e.theme,r=e.value,i={style:{cursor:"default"}};return"integer"===T(t)&&r.length>t&&(i.style.cursor="pointer",this.state.collapsed&&(r=g.a.createElement("span",null,r.substring(0,t),g.a.createElement("span",w(n,"ellipsis")," ...")))),g.a.createElement("div",w(n,"string"),g.a.createElement(L,Object.assign({type_name:"string"},e)),g.a.createElement("span",Object.assign({className:"string-value"},i,{onClick:this.toggleCollapsed}),'"',r,'"'))}}]),n}(g.a.PureComponent),W=function(e){u(n,e);var t=f(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){return g.a.createElement("div",w(this.props.theme,"undefined"),"undefined")}}]),n}(g.a.PureComponent);function V(){return(V=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"]),h=void 0!==u.value,p=Object(m.useRef)(null),d=function(e,t){var n=Object(m.useRef)();return Object(m.useCallback)((function(r){e.current=r,n.current&&q(n.current,null),n.current=t,t&&q(t,r)}),[t])}(p,t),f=Object(m.useRef)(0),g=Object(m.useRef)(),y=function(){var e=p.current,t=r&&g.current?g.current:function(e){var t=window.getComputedStyle(e);if(null===t)return null;var n,r=(n=t,ee.reduce((function(e,t){return e[t]=n[t],e}),{})),i=r.boxSizing;return""===i?null:(te&&"border-box"===i&&(r.width=parseFloat(r.width)+parseFloat(r.borderRightWidth)+parseFloat(r.borderLeftWidth)+parseFloat(r.paddingRight)+parseFloat(r.paddingLeft)+"px"),{sizingStyle:r,paddingSize:parseFloat(r.paddingBottom)+parseFloat(r.paddingTop),borderSize:parseFloat(r.borderBottomWidth)+parseFloat(r.borderTopWidth)})}(e);if(t){g.current=t;var n=function(e,t,n,r){void 0===n&&(n=1),void 0===r&&(r=1/0),Q||((Q=document.createElement("textarea")).setAttribute("tab-index","-1"),Q.setAttribute("aria-hidden","true"),Z(Q)),null===Q.parentNode&&document.body.appendChild(Q);var i=e.paddingSize,o=e.borderSize,a=e.sizingStyle,s=a.boxSizing;Object.keys(a).forEach((function(e){var t=e;Q.style[t]=a[t]})),Z(Q),Q.value=t;var l=function(e,t){var n=e.scrollHeight;return"border-box"===t.sizingStyle.boxSizing?n+t.borderSize:n-t.paddingSize}(Q,e);Q.value="x";var c=Q.scrollHeight-i,u=c*n;"border-box"===s&&(u=u+i+o),l=Math.max(u,l);var h=c*r;return"border-box"===s&&(h=h+i+o),[l=Math.min(h,l),c]}(t,e.value||e.placeholder||"x",o,i),a=n[0],s=n[1];f.current!==a&&(f.current=a,e.style.setProperty("height",a+"px","important"),c(a,{rowHeight:s}))}};return Object(m.useLayoutEffect)(y),n=function(e){var t=Object(m.useRef)(e);return K((function(){t.current=e})),t}(y),Object(m.useLayoutEffect)((function(){var e=function(e){n.current(e)};return window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}}),[]),Object(m.createElement)("textarea",V({},u,{onChange:function(e){h||y(),s(e)},ref:d}))}));function re(e){e=e.trim();try{if("["===(e=JSON.stringify(JSON.parse(e)))[0])return ie("array",JSON.parse(e));if("{"===e[0])return ie("object",JSON.parse(e));if(e.match(/\-?\d+\.\d+/)&&e.match(/\-?\d+\.\d+/)[0]===e)return ie("float",parseFloat(e));if(e.match(/\-?\d+e-\d+/)&&e.match(/\-?\d+e-\d+/)[0]===e)return ie("float",Number(e));if(e.match(/\-?\d+/)&&e.match(/\-?\d+/)[0]===e)return ie("integer",parseInt(e));if(e.match(/\-?\d+e\+\d+/)&&e.match(/\-?\d+e\+\d+/)[0]===e)return ie("integer",Number(e))}catch(e){}switch(e=e.toLowerCase()){case"undefined":return ie("undefined",void 0);case"nan":return ie("nan",NaN);case"null":return ie("null",null);case"true":return ie("boolean",!0);case"false":return ie("boolean",!1);default:if(e=Date.parse(e))return ie("date",new Date(e))}return ie(!1,null)}function ie(e,t){return{type:e,value:t}}var oe=function(e){u(n,e);var t=f(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){var e=this.props,t=e.style,n=E(e,["style"]);return g.a.createElement("span",n,g.a.createElement("svg",Object.assign({},ye(t),{viewBox:"0 0 24 24",fill:"currentColor",preserveAspectRatio:"xMidYMid meet"}),g.a.createElement("path",{d:"M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M7,13H17V11H7"})))}}]),n}(g.a.PureComponent),ae=function(e){u(n,e);var t=f(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){var e=this.props,t=e.style,n=E(e,["style"]);return g.a.createElement("span",n,g.a.createElement("svg",Object.assign({},ye(t),{viewBox:"0 0 24 24",fill:"currentColor",preserveAspectRatio:"xMidYMid meet"}),g.a.createElement("path",{d:"M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M13,7H11V11H7V13H11V17H13V13H17V11H13V7Z"})))}}]),n}(g.a.PureComponent),se=function(e){u(n,e);var t=f(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){var e=this.props,t=e.style,n=E(e,["style"]),r=ye(t).style;return g.a.createElement("span",n,g.a.createElement("svg",{fill:r.color,width:r.height,height:r.width,style:r,viewBox:"0 0 1792 1792"},g.a.createElement("path",{d:"M1344 800v64q0 14-9 23t-23 9h-832q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h832q14 0 23 9t9 23zm128 448v-832q0-66-47-113t-113-47h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113zm128-832v832q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q119 0 203.5 84.5t84.5 203.5z"})))}}]),n}(g.a.PureComponent),le=function(e){u(n,e);var t=f(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){var e=this.props,t=e.style,n=E(e,["style"]),r=ye(t).style;return g.a.createElement("span",n,g.a.createElement("svg",{fill:r.color,width:r.height,height:r.width,style:r,viewBox:"0 0 1792 1792"},g.a.createElement("path",{d:"M1344 800v64q0 14-9 23t-23 9h-352v352q0 14-9 23t-23 9h-64q-14 0-23-9t-9-23v-352h-352q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h352v-352q0-14 9-23t23-9h64q14 0 23 9t9 23v352h352q14 0 23 9t9 23zm128 448v-832q0-66-47-113t-113-47h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113zm128-832v832q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q119 0 203.5 84.5t84.5 203.5z"})))}}]),n}(g.a.PureComponent),ce=function(e){u(n,e);var t=f(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){var e=this.props,t=e.style,n=E(e,["style"]);return g.a.createElement("span",n,g.a.createElement("svg",{style:o(o({},ye(t).style),{},{paddingLeft:"2px",verticalAlign:"top"}),viewBox:"0 0 15 15",fill:"currentColor"},g.a.createElement("path",{d:"M0 14l6-6-6-6z"})))}}]),n}(g.a.PureComponent),ue=function(e){u(n,e);var t=f(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){var e=this.props,t=e.style,n=E(e,["style"]);return g.a.createElement("span",n,g.a.createElement("svg",{style:o(o({},ye(t).style),{},{paddingLeft:"2px",verticalAlign:"top"}),viewBox:"0 0 15 15",fill:"currentColor"},g.a.createElement("path",{d:"M0 5l6 6 6-6z"})))}}]),n}(g.a.PureComponent),he=function(e){u(n,e);var t=f(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){var e=this.props,t=e.style,n=E(e,["style"]);return g.a.createElement("span",n,g.a.createElement("svg",Object.assign({},ye(t),{viewBox:"0 0 40 40",fill:"currentColor",preserveAspectRatio:"xMidYMid meet"}),g.a.createElement("g",null,g.a.createElement("path",{d:"m30 35h-25v-22.5h25v7.5h2.5v-12.5c0-1.4-1.1-2.5-2.5-2.5h-7.5c0-2.8-2.2-5-5-5s-5 2.2-5 5h-7.5c-1.4 0-2.5 1.1-2.5 2.5v27.5c0 1.4 1.1 2.5 2.5 2.5h25c1.4 0 2.5-1.1 2.5-2.5v-5h-2.5v5z m-20-27.5h2.5s2.5-1.1 2.5-2.5 1.1-2.5 2.5-2.5 2.5 1.1 2.5 2.5 1.3 2.5 2.5 2.5h2.5s2.5 1.1 2.5 2.5h-20c0-1.5 1.1-2.5 2.5-2.5z m-2.5 20h5v-2.5h-5v2.5z m17.5-5v-5l-10 7.5 10 7.5v-5h12.5v-5h-12.5z m-17.5 10h7.5v-2.5h-7.5v2.5z m12.5-17.5h-12.5v2.5h12.5v-2.5z m-7.5 5h-5v2.5h5v-2.5z"}))))}}]),n}(g.a.PureComponent),pe=function(e){u(n,e);var t=f(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){var e=this.props,t=e.style,n=E(e,["style"]);return g.a.createElement("span",n,g.a.createElement("svg",Object.assign({},ye(t),{viewBox:"0 0 40 40",fill:"currentColor",preserveAspectRatio:"xMidYMid meet"}),g.a.createElement("g",null,g.a.createElement("path",{d:"m28.6 25q0-0.5-0.4-1l-4-4 4-4q0.4-0.5 0.4-1 0-0.6-0.4-1.1l-2-2q-0.4-0.4-1-0.4-0.6 0-1 0.4l-4.1 4.1-4-4.1q-0.4-0.4-1-0.4-0.6 0-1 0.4l-2 2q-0.5 0.5-0.5 1.1 0 0.5 0.5 1l4 4-4 4q-0.5 0.5-0.5 1 0 0.7 0.5 1.1l2 2q0.4 0.4 1 0.4 0.6 0 1-0.4l4-4.1 4.1 4.1q0.4 0.4 1 0.4 0.6 0 1-0.4l2-2q0.4-0.4 0.4-1z m8.7-5q0 4.7-2.3 8.6t-6.3 6.2-8.6 2.3-8.6-2.3-6.2-6.2-2.3-8.6 2.3-8.6 6.2-6.2 8.6-2.3 8.6 2.3 6.3 6.2 2.3 8.6z"}))))}}]),n}(g.a.PureComponent),de=function(e){u(n,e);var t=f(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){var e=this.props,t=e.style,n=E(e,["style"]);return g.a.createElement("span",n,g.a.createElement("svg",Object.assign({},ye(t),{viewBox:"0 0 40 40",fill:"currentColor",preserveAspectRatio:"xMidYMid meet"}),g.a.createElement("g",null,g.a.createElement("path",{d:"m30.1 21.4v-2.8q0-0.6-0.4-1t-1-0.5h-5.7v-5.7q0-0.6-0.4-1t-1-0.4h-2.9q-0.6 0-1 0.4t-0.4 1v5.7h-5.7q-0.6 0-1 0.5t-0.5 1v2.8q0 0.6 0.5 1t1 0.5h5.7v5.7q0 0.5 0.4 1t1 0.4h2.9q0.6 0 1-0.4t0.4-1v-5.7h5.7q0.6 0 1-0.5t0.4-1z m7.2-1.4q0 4.7-2.3 8.6t-6.3 6.2-8.6 2.3-8.6-2.3-6.2-6.2-2.3-8.6 2.3-8.6 6.2-6.2 8.6-2.3 8.6 2.3 6.3 6.2 2.3 8.6z"}))))}}]),n}(g.a.PureComponent),fe=function(e){u(n,e);var t=f(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){var e=this.props,t=e.style,n=E(e,["style"]);return g.a.createElement("span",n,g.a.createElement("svg",Object.assign({},ye(t),{viewBox:"0 0 40 40",fill:"currentColor",preserveAspectRatio:"xMidYMid meet"}),g.a.createElement("g",null,g.a.createElement("path",{d:"m31.6 21.6h-10v10h-3.2v-10h-10v-3.2h10v-10h3.2v10h10v3.2z"}))))}}]),n}(g.a.PureComponent),me=function(e){u(n,e);var t=f(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){var e=this.props,t=e.style,n=E(e,["style"]);return g.a.createElement("span",n,g.a.createElement("svg",Object.assign({},ye(t),{viewBox:"0 0 40 40",fill:"currentColor",preserveAspectRatio:"xMidYMid meet"}),g.a.createElement("g",null,g.a.createElement("path",{d:"m19.8 26.4l2.6-2.6-3.4-3.4-2.6 2.6v1.3h2.2v2.1h1.2z m9.8-16q-0.3-0.4-0.7 0l-7.8 7.8q-0.4 0.4 0 0.7t0.7 0l7.8-7.8q0.4-0.4 0-0.7z m1.8 13.2v4.3q0 2.6-1.9 4.5t-4.5 1.9h-18.6q-2.6 0-4.5-1.9t-1.9-4.5v-18.6q0-2.7 1.9-4.6t4.5-1.8h18.6q1.4 0 2.6 0.5 0.3 0.2 0.4 0.5 0.1 0.4-0.2 0.7l-1.1 1.1q-0.3 0.3-0.7 0.1-0.5-0.1-1-0.1h-18.6q-1.4 0-2.5 1.1t-1 2.5v18.6q0 1.4 1 2.5t2.5 1h18.6q1.5 0 2.5-1t1.1-2.5v-2.9q0-0.2 0.2-0.4l1.4-1.5q0.3-0.3 0.8-0.1t0.4 0.6z m-2.1-16.5l6.4 6.5-15 15h-6.4v-6.5z m9.9 3l-2.1 2-6.4-6.4 2.1-2q0.6-0.7 1.5-0.7t1.5 0.7l3.4 3.4q0.6 0.6 0.6 1.5t-0.6 1.5z"}))))}}]),n}(g.a.PureComponent),ge=function(e){u(n,e);var t=f(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){var e=this.props,t=e.style,n=E(e,["style"]);return g.a.createElement("span",n,g.a.createElement("svg",Object.assign({},ye(t),{viewBox:"0 0 40 40",fill:"currentColor",preserveAspectRatio:"xMidYMid meet"}),g.a.createElement("g",null,g.a.createElement("path",{d:"m31.7 16.4q0-0.6-0.4-1l-2.1-2.1q-0.4-0.4-1-0.4t-1 0.4l-9.1 9.1-5-5q-0.5-0.4-1-0.4t-1 0.4l-2.1 2q-0.4 0.4-0.4 1 0 0.6 0.4 1l8.1 8.1q0.4 0.4 1 0.4 0.6 0 1-0.4l12.2-12.1q0.4-0.4 0.4-1z m5.6 3.6q0 4.7-2.3 8.6t-6.3 6.2-8.6 2.3-8.6-2.3-6.2-6.2-2.3-8.6 2.3-8.6 6.2-6.2 8.6-2.3 8.6 2.3 6.3 6.2 2.3 8.6z"}))))}}]),n}(g.a.PureComponent);function ye(e){return e||(e={}),{style:o(o({verticalAlign:"middle"},e),{},{color:e.color?e.color:"#000000",height:"1em",width:"1em"})}}var ve=function(e){u(n,e);var t=f(n);function n(e){var r;return a(this,n),(r=t.call(this,e)).copiedTimer=null,r.handleCopy=function(){var e=document.createElement("textarea"),t=r.props,n=t.clickCallback,i=t.src,o=t.namespace;e.innerHTML=JSON.stringify(r.clipboardValue(i),null," "),document.body.appendChild(e),e.select(),document.execCommand("copy"),document.body.removeChild(e),r.copiedTimer=setTimeout((function(){r.setState({copied:!1})}),5500),r.setState({copied:!0},(function(){"function"==typeof n&&n({src:i,namespace:o,name:o[o.length-1]})}))},r.getClippyIcon=function(){var e=r.props.theme;return r.state.copied?g.a.createElement("span",null,g.a.createElement(he,Object.assign({className:"copy-icon"},w(e,"copy-icon"))),g.a.createElement("span",w(e,"copy-icon-copied"),"✔")):g.a.createElement(he,Object.assign({className:"copy-icon"},w(e,"copy-icon")))},r.clipboardValue=function(e){switch(T(e)){case"function":case"regexp":return e.toString();default:return e}},r.state={copied:!1},r}return l(n,[{key:"componentWillUnmount",value:function(){this.copiedTimer&&(clearTimeout(this.copiedTimer),this.copiedTimer=null)}},{key:"render",value:function(){var e=this.props,t=(e.src,e.theme),n=e.hidden,r=e.rowHovered,i=w(t,"copy-to-clipboard").style,a="inline";return n&&(a="none"),g.a.createElement("span",{className:"copy-to-clipboard-container",title:"Copy to clipboard",style:{verticalAlign:"top",display:r?"inline-block":"none"}},g.a.createElement("span",{style:o(o({},i),{},{display:a}),onClick:this.handleCopy},this.getClippyIcon()))}}]),n}(g.a.PureComponent),_e=function(e){u(n,e);var t=f(n);function n(e){var r;return a(this,n),(r=t.call(this,e)).getEditIcon=function(){var e=r.props,t=e.variable,n=e.theme;return g.a.createElement("div",{className:"click-to-edit",style:{verticalAlign:"top",display:r.state.hovered?"inline-block":"none"}},g.a.createElement(me,Object.assign({className:"click-to-edit-icon"},w(n,"editVarIcon"),{onClick:function(){r.prepopInput(t)}})))},r.prepopInput=function(e){if(!1!==r.props.onEdit){var t=function(e){var t;switch(T(e)){case"undefined":t="undefined";break;case"nan":t="NaN";break;case"string":t=e;break;case"date":case"function":case"regexp":t=e.toString();break;default:try{t=JSON.stringify(e,null," ")}catch(e){t=""}}return t}(e.value),n=re(t);r.setState({editMode:!0,editValue:t,parsedInput:{type:n.type,value:n.value}})}},r.getRemoveIcon=function(){var e=r.props,t=e.variable,n=e.namespace,i=e.theme,o=e.rjvId;return g.a.createElement("div",{className:"click-to-remove",style:{verticalAlign:"top",display:r.state.hovered?"inline-block":"none"}},g.a.createElement(pe,Object.assign({className:"click-to-remove-icon"},w(i,"removeVarIcon"),{onClick:function(){F.dispatch({name:"VARIABLE_REMOVED",rjvId:o,data:{name:t.name,namespace:n,existing_value:t.value,variable_removed:!0}})}})))},r.getValue=function(e,t){var n=!t&&e.type,i=d(r).props;switch(n){case!1:return r.getEditInput();case"string":return g.a.createElement($,Object.assign({value:e.value},i));case"integer":return g.a.createElement(Y,Object.assign({value:e.value},i));case"float":return g.a.createElement(I,Object.assign({value:e.value},i));case"boolean":return g.a.createElement(O,Object.assign({value:e.value},i));case"function":return g.a.createElement(U,Object.assign({value:e.value},i));case"null":return g.a.createElement(G,i);case"nan":return g.a.createElement(j,i);case"undefined":return g.a.createElement(W,i);case"date":return g.a.createElement(N,Object.assign({value:e.value},i));case"regexp":return g.a.createElement(z,Object.assign({value:e.value},i));default:return g.a.createElement("div",{className:"object-value"},JSON.stringify(e.value))}},r.getEditInput=function(){var e=r.props.theme,t=r.state.editValue;return g.a.createElement("div",null,g.a.createElement(ne,Object.assign({type:"text",inputRef:function(e){return e&&e.focus()},value:t,className:"variable-editor",onChange:function(e){var t=e.target.value,n=re(t);r.setState({editValue:t,parsedInput:{type:n.type,value:n.value}})},onKeyDown:function(e){switch(e.key){case"Escape":r.setState({editMode:!1,editValue:""});break;case"Enter":(e.ctrlKey||e.metaKey)&&r.submitEdit(!0)}e.stopPropagation()},placeholder:"update this value",minRows:2},w(e,"edit-input"))),g.a.createElement("div",w(e,"edit-icon-container"),g.a.createElement(pe,Object.assign({className:"edit-cancel"},w(e,"cancel-icon"),{onClick:function(){r.setState({editMode:!1,editValue:""})}})),g.a.createElement(ge,Object.assign({className:"edit-check string-value"},w(e,"check-icon"),{onClick:function(){r.submitEdit()}})),g.a.createElement("div",null,r.showDetected())))},r.submitEdit=function(e){var t=r.props,n=t.variable,i=t.namespace,o=t.rjvId,a=r.state,s=a.editValue,l=a.parsedInput,c=s;e&&l.type&&(c=l.value),r.setState({editMode:!1}),F.dispatch({name:"VARIABLE_UPDATED",rjvId:o,data:{name:n.name,namespace:i,existing_value:n.value,new_value:c,variable_removed:!1}})},r.showDetected=function(){var e=r.props,t=e.theme,n=(e.variable,e.namespace,e.rjvId,r.state.parsedInput),i=(n.type,n.value,r.getDetectedInput());if(i)return g.a.createElement("div",null,g.a.createElement("div",w(t,"detected-row"),i,g.a.createElement(ge,{className:"edit-check detected",style:o({verticalAlign:"top",paddingLeft:"3px"},w(t,"check-icon").style),onClick:function(){r.submitEdit(!0)}})))},r.getDetectedInput=function(){var e=r.state.parsedInput,t=e.type,n=e.value,i=d(r).props,a=i.theme;if(!1!==t)switch(t.toLowerCase()){case"object":return g.a.createElement("span",null,g.a.createElement("span",{style:o(o({},w(a,"brace").style),{},{cursor:"default"})},"{"),g.a.createElement("span",{style:o(o({},w(a,"ellipsis").style),{},{cursor:"default"})},"..."),g.a.createElement("span",{style:o(o({},w(a,"brace").style),{},{cursor:"default"})},"}"));case"array":return g.a.createElement("span",null,g.a.createElement("span",{style:o(o({},w(a,"brace").style),{},{cursor:"default"})},"["),g.a.createElement("span",{style:o(o({},w(a,"ellipsis").style),{},{cursor:"default"})},"..."),g.a.createElement("span",{style:o(o({},w(a,"brace").style),{},{cursor:"default"})},"]"));case"string":return g.a.createElement($,Object.assign({value:n},i));case"integer":return g.a.createElement(Y,Object.assign({value:n},i));case"float":return g.a.createElement(I,Object.assign({value:n},i));case"boolean":return g.a.createElement(O,Object.assign({value:n},i));case"function":return g.a.createElement(U,Object.assign({value:n},i));case"null":return g.a.createElement(G,i);case"nan":return g.a.createElement(j,i);case"undefined":return g.a.createElement(W,i);case"date":return g.a.createElement(N,Object.assign({value:new Date(n)},i))}},r.state={editMode:!1,editValue:"",hovered:!1,renameKey:!1,parsedInput:{type:!1,value:null}},r}return l(n,[{key:"render",value:function(){var e=this,t=this.props,n=t.variable,r=t.singleIndent,i=t.type,a=t.theme,s=t.namespace,l=t.indentWidth,c=t.enableClipboard,u=t.onEdit,h=t.onDelete,p=t.onSelect,d=t.displayArrayKey,f=t.quotesOnKeys,m=this.state.editMode;return g.a.createElement("div",Object.assign({},w(a,"objectKeyVal",{paddingLeft:l*r}),{onMouseEnter:function(){return e.setState(o(o({},e.state),{},{hovered:!0}))},onMouseLeave:function(){return e.setState(o(o({},e.state),{},{hovered:!1}))},className:"variable-row",key:n.name}),"array"==i?d?g.a.createElement("span",Object.assign({},w(a,"array-key"),{key:n.name+"_"+s}),n.name,g.a.createElement("div",w(a,"colon"),":")):null:g.a.createElement("span",null,g.a.createElement("span",Object.assign({},w(a,"object-name"),{className:"object-key",key:n.name+"_"+s}),!!f&&g.a.createElement("span",{style:{verticalAlign:"top"}},'"'),g.a.createElement("span",{style:{display:"inline-block"}},n.name),!!f&&g.a.createElement("span",{style:{verticalAlign:"top"}},'"')),g.a.createElement("span",w(a,"colon"),":")),g.a.createElement("div",Object.assign({className:"variable-value",onClick:!1===p&&!1===u?null:function(t){var r=P(s);(t.ctrlKey||t.metaKey)&&!1!==u?e.prepopInput(n):!1!==p&&(r.shift(),p(o(o({},n),{},{namespace:r})))}},w(a,"variableValue",{cursor:!1===p?"default":"pointer"})),this.getValue(n,m)),c?g.a.createElement(ve,{rowHovered:this.state.hovered,hidden:m,src:n.value,clickCallback:c,theme:a,namespace:[].concat(P(s),[n.name])}):null,!1!==u&&0==m?this.getEditIcon():null,!1!==h&&0==m?this.getRemoveIcon():null)}}]),n}(g.a.PureComponent),be=function(e){u(n,e);var t=f(n);function n(){var e;a(this,n);for(var r=arguments.length,i=new Array(r),s=0;s0?a:null,namespace:i.splice(0,i.length-1),existing_value:s,variable_removed:!1,key_name:null};"object"===T(s)?F.dispatch({name:"ADD_VARIABLE_KEY_REQUEST",rjvId:l,data:e}):F.dispatch({name:"VARIABLE_ADDED",rjvId:l,data:o(o({},e),{},{new_value:[].concat(P(s),[null])})})}})))},e.getRemoveObject=function(t){var n=e.props,r=n.theme,i=(n.hover,n.namespace),o=n.name,a=n.src,s=n.rjvId;if(1!==i.length)return g.a.createElement("span",{className:"click-to-remove",style:{display:t?"inline-block":"none"}},g.a.createElement(pe,Object.assign({className:"click-to-remove-icon"},w(r,"removeVarIcon"),{onClick:function(){F.dispatch({name:"VARIABLE_REMOVED",rjvId:s,data:{name:o,namespace:i.splice(0,i.length-1),existing_value:a,variable_removed:!0}})}})))},e.render=function(){var t=e.props,n=t.theme,r=t.onDelete,i=t.onAdd,o=t.enableClipboard,a=t.src,s=t.namespace,l=t.rowHovered;return g.a.createElement("div",Object.assign({},w(n,"object-meta-data"),{className:"object-meta-data",onClick:function(e){e.stopPropagation()}}),e.getObjectSize(),o?g.a.createElement(ve,{rowHovered:l,clickCallback:o,src:a,theme:n,namespace:s}):null,!1!==i?e.getAddAttribute(l):null,!1!==r?e.getRemoveObject(l):null)},e}return n}(g.a.PureComponent);function Ee(e){var t=e.parent_type,n=e.namespace,r=e.quotesOnKeys,i=e.theme,o=e.jsvRoot,a=e.name,s=e.displayArrayKey,l=e.name?e.name:"";return!o||!1!==a&&null!==a?"array"==t?s?g.a.createElement("span",Object.assign({},w(i,"array-key"),{key:n}),g.a.createElement("span",{className:"array-key"},l),g.a.createElement("span",w(i,"colon"),":")):g.a.createElement("span",null):g.a.createElement("span",Object.assign({},w(i,"object-name"),{key:n}),g.a.createElement("span",{className:"object-key"},r&&g.a.createElement("span",{style:{verticalAlign:"top"}},'"'),g.a.createElement("span",null,l),r&&g.a.createElement("span",{style:{verticalAlign:"top"}},'"')),g.a.createElement("span",w(i,"colon"),":")):g.a.createElement("span",null)}function Te(e){var t=e.theme;switch(e.iconStyle){case"triangle":return g.a.createElement(ue,Object.assign({},w(t,"expanded-icon"),{className:"expanded-icon"}));case"square":return g.a.createElement(se,Object.assign({},w(t,"expanded-icon"),{className:"expanded-icon"}));default:return g.a.createElement(oe,Object.assign({},w(t,"expanded-icon"),{className:"expanded-icon"}))}}function xe(e){var t=e.theme;switch(e.iconStyle){case"triangle":return g.a.createElement(ce,Object.assign({},w(t,"collapsed-icon"),{className:"collapsed-icon"}));case"square":return g.a.createElement(le,Object.assign({},w(t,"collapsed-icon"),{className:"collapsed-icon"}));default:return g.a.createElement(ae,Object.assign({},w(t,"collapsed-icon"),{className:"collapsed-icon"}))}}var Se=function(e){u(n,e);var t=f(n);function n(e){var r;return a(this,n),(r=t.call(this,e)).toggleCollapsed=function(e){var t=[];for(var n in r.state.expanded)t.push(r.state.expanded[n]);t[e]=!t[e],r.setState({expanded:t})},r.state={expanded:[]},r}return l(n,[{key:"getExpandedIcon",value:function(e){var t=this.props,n=t.theme,r=t.iconStyle;return this.state.expanded[e]?g.a.createElement(Te,{theme:n,iconStyle:r}):g.a.createElement(xe,{theme:n,iconStyle:r})}},{key:"render",value:function(){var e=this,t=this.props,n=t.src,r=t.groupArraysAfterLength,i=(t.depth,t.name),o=t.theme,a=t.jsvRoot,s=t.namespace,l=(t.parent_type,E(t,["src","groupArraysAfterLength","depth","name","theme","jsvRoot","namespace","parent_type"])),c=0,u=5*this.props.indentWidth;a||(c=5*this.props.indentWidth);var h=r,p=Math.ceil(n.length/h);return g.a.createElement("div",Object.assign({className:"object-key-val"},w(o,a?"jsv-root":"objectKeyVal",{paddingLeft:c})),g.a.createElement(Ee,this.props),g.a.createElement("span",null,g.a.createElement(be,Object.assign({size:n.length},this.props))),P(Array(p)).map((function(t,r){return g.a.createElement("div",Object.assign({key:r,className:"object-key-val array-group"},w(o,"objectKeyVal",{marginLeft:6,paddingLeft:u})),g.a.createElement("span",w(o,"brace-row"),g.a.createElement("div",Object.assign({className:"icon-container"},w(o,"icon-container"),{onClick:function(t){e.toggleCollapsed(r)}}),e.getExpandedIcon(r)),e.state.expanded[r]?g.a.createElement(Re,Object.assign({key:i+r,depth:0,name:!1,collapsed:!1,groupArraysAfterLength:h,index_offset:r*h,src:n.slice(r*h,r*h+h),namespace:s,type:"array",parent_type:"array_group",theme:o},l)):g.a.createElement("span",Object.assign({},w(o,"brace"),{onClick:function(t){e.toggleCollapsed(r)},className:"array-group-brace"}),"[",g.a.createElement("div",Object.assign({},w(o,"array-group-meta-data"),{className:"array-group-meta-data"}),g.a.createElement("span",Object.assign({className:"object-size"},w(o,"object-size")),r*h," - ",r*h+h>n.length?n.length:r*h+h)),"]")))})))}}]),n}(g.a.PureComponent),Ce=function(e){u(n,e);var t=f(n);function n(e){var r;a(this,n),(r=t.call(this,e)).toggleCollapsed=function(){r.setState({expanded:!r.state.expanded},(function(){B.set(r.props.rjvId,r.props.namespace,"expanded",r.state.expanded)}))},r.getObjectContent=function(e,t,n){return g.a.createElement("div",{className:"pushed-content object-container"},g.a.createElement("div",Object.assign({className:"object-content"},w(r.props.theme,"pushed-content")),r.renderObjectContents(t,n)))},r.getEllipsis=function(){return 0===r.state.size?null:g.a.createElement("div",Object.assign({},w(r.props.theme,"ellipsis"),{className:"node-ellipsis",onClick:r.toggleCollapsed}),"...")},r.getObjectMetaData=function(e){var t=r.props,n=(t.rjvId,t.theme,r.state),i=n.size,o=n.hovered;return g.a.createElement(be,Object.assign({rowHovered:o,size:i},r.props))},r.renderObjectContents=function(e,t){var n,i=r.props,o=i.depth,a=i.parent_type,s=i.index_offset,l=i.groupArraysAfterLength,c=i.namespace,u=r.state.object_type,h=[],p=Object.keys(e||{});return r.props.sortKeys&&"array"!==u&&(p=p.sort()),p.forEach((function(i){if(n=new Ae(i,e[i]),"array_group"===a&&s&&(n.name=parseInt(n.name)+s),e.hasOwnProperty(i))if("object"===n.type)h.push(g.a.createElement(Re,Object.assign({key:n.name,depth:o+1,name:n.name,src:n.value,namespace:c.concat(n.name),parent_type:u},t)));else if("array"===n.type){var p=Re;l&&n.value.length>l&&(p=Se),h.push(g.a.createElement(p,Object.assign({key:n.name,depth:o+1,name:n.name,src:n.value,namespace:c.concat(n.name),type:"array",parent_type:u},t)))}else h.push(g.a.createElement(_e,Object.assign({key:n.name+"_"+c,variable:n,singleIndent:5,namespace:c,type:r.props.type},t)))})),h};var i=n.getState(e);return r.state=o(o({},i),{},{prevProps:{}}),r}return l(n,[{key:"getBraceStart",value:function(e,t){var n=this,r=this.props,i=r.src,o=r.theme,a=r.iconStyle;if("array_group"===r.parent_type)return g.a.createElement("span",null,g.a.createElement("span",w(o,"brace"),"array"===e?"[":"{"),t?this.getObjectMetaData(i):null);var s=t?Te:xe;return g.a.createElement("span",null,g.a.createElement("span",Object.assign({onClick:function(e){n.toggleCollapsed()}},w(o,"brace-row")),g.a.createElement("div",Object.assign({className:"icon-container"},w(o,"icon-container")),g.a.createElement(s,{theme:o,iconStyle:a})),g.a.createElement(Ee,this.props),g.a.createElement("span",w(o,"brace"),"array"===e?"[":"{")),t?this.getObjectMetaData(i):null)}},{key:"render",value:function(){var e=this,t=this.props,n=t.depth,r=t.src,i=(t.namespace,t.name,t.type,t.parent_type),a=t.theme,s=t.jsvRoot,l=t.iconStyle,c=E(t,["depth","src","namespace","name","type","parent_type","theme","jsvRoot","iconStyle"]),u=this.state,h=u.object_type,p=u.expanded,d={};return s||"array_group"===i?"array_group"===i&&(d.borderLeft=0,d.display="inline"):d.paddingLeft=5*this.props.indentWidth,g.a.createElement("div",Object.assign({className:"object-key-val",onMouseEnter:function(){return e.setState(o(o({},e.state),{},{hovered:!0}))},onMouseLeave:function(){return e.setState(o(o({},e.state),{},{hovered:!1}))}},w(a,s?"jsv-root":"objectKeyVal",d)),this.getBraceStart(h,p),p?this.getObjectContent(n,r,o({theme:a,iconStyle:l},c)):this.getEllipsis(),g.a.createElement("span",{className:"brace-row"},g.a.createElement("span",{style:o(o({},w(a,"brace").style),{},{paddingLeft:p?"3px":"0px"})},"array"===h?"]":"}"),p?null:this.getObjectMetaData(r)))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var r=t.prevProps;return e.src!==r.src||e.collapsed!==r.collapsed||e.name!==r.name||e.namespace!==r.namespace||e.rjvId!==r.rjvId?o(o({},n.getState(e)),{},{prevProps:e}):null}}]),n}(g.a.PureComponent);Ce.getState=function(e){var t=Object.keys(e.src).length,n=(!1===e.collapsed||!0!==e.collapsed&&e.collapsed>e.depth)&&(!e.shouldCollapse||!1===e.shouldCollapse({name:e.name,src:e.src,type:T(e.src),namespace:e.namespace}))&&0!==t;return{expanded:B.get(e.rjvId,e.namespace,"expanded",n),object_type:"array"===e.type?"array":"object",parent_type:"array"===e.type?"array":"object",size:t,hovered:!1}};var Ae=function e(t,n){a(this,e),this.name=t,this.value=n,this.type=T(n)};b(Ce);var Re=Ce,we=function(e){u(n,e);var t=f(n);function n(){var e;a(this,n);for(var r=arguments.length,i=new Array(r),o=0;ot.groupArraysAfterLength&&(r=Se),g.a.createElement("div",{className:"pretty-json-container object-container"},g.a.createElement("div",{className:"object-content"},g.a.createElement(r,Object.assign({namespace:n,depth:0,jsvRoot:!0},t))))},e}return n}(g.a.PureComponent),Le=function(e){u(n,e);var t=f(n);function n(e){var r;return a(this,n),(r=t.call(this,e)).closeModal=function(){F.dispatch({rjvId:r.props.rjvId,name:"RESET"})},r.submit=function(){r.props.submit(r.state.input)},r.state={input:e.input?e.input:""},r}return l(n,[{key:"render",value:function(){var e=this,t=this.props,n=t.theme,r=t.rjvId,i=t.isValid,o=this.state.input,a=i(o);return g.a.createElement("div",Object.assign({className:"key-modal-request"},w(n,"key-modal-request"),{onClick:this.closeModal}),g.a.createElement("div",Object.assign({},w(n,"key-modal"),{onClick:function(e){e.stopPropagation()}}),g.a.createElement("div",w(n,"key-modal-label"),"Key Name:"),g.a.createElement("div",{style:{position:"relative"}},g.a.createElement("input",Object.assign({},w(n,"key-modal-input"),{className:"key-modal-input",ref:function(e){return e&&e.focus()},spellCheck:!1,value:o,placeholder:"...",onChange:function(t){e.setState({input:t.target.value})},onKeyPress:function(t){a&&"Enter"===t.key?e.submit():"Escape"===t.key&&e.closeModal()}})),a?g.a.createElement(ge,Object.assign({},w(n,"key-modal-submit"),{className:"key-modal-submit",onClick:function(t){return e.submit()}})):null),g.a.createElement("span",w(n,"key-modal-cancel"),g.a.createElement(fe,Object.assign({},w(n,"key-modal-cancel-icon"),{className:"key-modal-cancel",onClick:function(){F.dispatch({rjvId:r,name:"RESET"})}})))))}}]),n}(g.a.PureComponent),Oe=function(e){u(n,e);var t=f(n);function n(){var e;a(this,n);for(var r=arguments.length,i=new Array(r),s=0;s{"use strict";n(2458);var r=n(1024),i=60103;if("function"==typeof Symbol&&Symbol.for){var o=Symbol.for;i=o("react.element"),o("react.fragment")}var a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s=Object.prototype.hasOwnProperty,l={key:!0,ref:!0,__self:!0,__source:!0};t.jsx=function(e,t,n){var r,o={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)s.call(t,r)&&!l.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:i,type:e,key:c,ref:u,props:o,_owner:a.current}}},1250:(e,t,n)=>{"use strict";e.exports=n(5472)},5021:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.autoprefix=void 0;var r,i=(r=n(4802))&&r.__esModule?r:{default:r},o=Object.assign||function(e){for(var t=1;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.active=void 0;var r,i=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function r(){var n,s,l;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r);for(var c=arguments.length,u=Array(c),h=0;h{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hover=void 0;var r,i=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function r(){var n,s,l;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r);for(var c=arguments.length,u=Array(c),h=0;h{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.flattenNames=void 0;var r=s(n(6705)),i=s(n(4802)),o=s(n(4256)),a=s(n(9107));function s(e){return e&&e.__esModule?e:{default:e}}var l=t.flattenNames=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=[];return(0,a.default)(t,(function(t){Array.isArray(t)?e(t).map((function(e){return n.push(e)})):(0,o.default)(t)?(0,i.default)(t,(function(e,t){!0===e&&n.push(t),n.push(t+"-"+e)})):(0,r.default)(t)&&n.push(t)})),n};t.default=l},6410:(e,t,n)=>{"use strict";t.tz=void 0;var r=c(n(2719)),i=c(n(6239)),o=c(n(5021)),a=c(n(3567)),s=c(n(6066)),l=c(n(3383));function c(e){return e&&e.__esModule?e:{default:e}}a.default,t.tz=a.default,s.default,l.default;t.ZP=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),a=1;a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n={},r=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];n[e]=t};return 0===e&&r("first-child"),e===t-1&&r("last-child"),(0===e||e%2==0)&&r("even"),1===Math.abs(e%2)&&r("odd"),r("nth-child",e),n}},6239:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeClasses=void 0;var r=a(n(4802)),i=a(n(7179)),o=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:[],n=e.default&&(0,i.default)(e.default)||{};return t.map((function(t){var i=e[t];return i&&(0,r.default)(i,(function(e,t){n[t]||(n[t]={}),n[t]=o({},n[t],i[t])})),t})),n};t.default=s},1919:function(e){e.exports=function(){"use strict";var e=function(e){return e instanceof Uint8Array||e instanceof Uint16Array||e instanceof Uint32Array||e instanceof Int8Array||e instanceof Int16Array||e instanceof Int32Array||e instanceof Float32Array||e instanceof Float64Array||e instanceof Uint8ClampedArray},t=function(e,t){for(var n=Object.keys(t),r=0;r=0&&(0|e)===e||r("invalid parameter type, ("+e+")"+o(t)+". must be a nonnegative integer")},oneOf:s,shaderError:function(e,t,r,o,a){if(!e.getShaderParameter(t,e.COMPILE_STATUS)){var s=e.getShaderInfoLog(t),l=o===e.FRAGMENT_SHADER?"fragment":"vertex";v(r,"string",l+" shader source must be a string",a);var u=m(r,a),h=function(e){var t=[];return e.split("\n").forEach((function(e){if(!(e.length<5)){var n=/^ERROR:\s+(\d+):(\d+):\s*(.*)$/.exec(e);n?t.push(new p(0|n[1],0|n[2],n[3].trim())):e.length>0&&t.push(new p("unknown",0,e))}})),t}(s);(function(e,t){t.forEach((function(t){var n=e[t.file];if(n){var r=n.index[t.line];if(r)return r.errors.push(t),void(n.hasErrors=!0)}e.unknown.hasErrors=!0,e.unknown.lines[0].errors.push(t)}))})(u,h),Object.keys(u).forEach((function(e){var t=u[e];if(t.hasErrors){var r=[""],i=[""];o("file number "+e+": "+t.name+"\n","color:red;text-decoration:underline;font-weight:bold"),t.lines.forEach((function(e){if(e.errors.length>0){o(c(e.number,4)+"| ","background-color:yellow; font-weight:bold"),o(e.line+n,"color:red; background-color:yellow; font-weight:bold");var t=0;e.errors.forEach((function(r){var i=r.message,a=/^\s*'(.*)'\s*:\s*(.*)$/.exec(i);if(a){var s=a[1];i=a[2],"assign"===s&&(s="="),t=Math.max(e.line.indexOf(s,t),0)}else t=0;o(c("| ",6)),o(c("^^^",t+3)+n,"font-weight:bold"),o(c("| ",6)),o(i+n,"font-weight:bold")})),o(c("| ",6)+n)}else o(c(e.number,4)+"| "),o(e.line+n,"color:red")})),"undefined"==typeof document||window.chrome?console.log(r.join("")):(i[0]=r.join("%c"),console.log.apply(console,i))}function o(e,t){r.push(e),i.push(t||"")}})),i.raise("Error compiling "+l+" shader, "+u[0].name)}},linkError:function(e,t,r,o,a){if(!e.getProgramParameter(t,e.LINK_STATUS)){var s=e.getProgramInfoLog(t),l=m(r,a),c='Error linking program with vertex shader, "'+m(o,a)[0].name+'", and fragment shader "'+l[0].name+'"';"undefined"!=typeof document?console.log("%c"+c+"\n%c"+s,"color:red;text-decoration:underline;font-weight:bold","color:red"):console.log(c+n+s),i.raise(c)}},callSite:f,saveCommandRef:g,saveDrawInfo:function(e,t,n,r){function i(e){return e?r.id(e):0}function o(e,t){Object.keys(t).forEach((function(t){e[r.id(t)]=!0}))}g(e),e._fragId=i(e.static.frag),e._vertId=i(e.static.vert);var a=e._uniformSet={};o(a,t.static),o(a,t.dynamic);var s=e._attributeSet={};o(s,n.static),o(s,n.dynamic),e._hasCount="count"in e.static||"count"in e.dynamic||"elements"in e.static||"elements"in e.dynamic},framebufferFormat:function(e,t,n){e.texture?s(e.texture._texture.internalformat,t,"unsupported texture format for attachment"):s(e.renderbuffer._renderbuffer.format,n,"unsupported renderbuffer format for attachment")},guessCommand:d,texture2D:function(e,t,n){var r,o=t.width,a=t.height,s=t.channels;i(o>0&&o<=n.maxTextureSize&&a>0&&a<=n.maxTextureSize,"invalid texture shape"),e.wrapS===_&&e.wrapT===_||i(A(o)&&A(a),"incompatible wrap mode for texture, both width and height must be power of 2"),1===t.mipmask?1!==o&&1!==a&&i(9984!==e.minFilter&&9986!==e.minFilter&&9985!==e.minFilter&&9987!==e.minFilter,"min filter requires mipmap"):(i(A(o)&&A(a),"texture must be a square power of 2 to support mipmapping"),i(t.mipmask===(o<<1)-1,"missing or incomplete mipmap data")),5126===t.type&&(n.extensions.indexOf("oes_texture_float_linear")<0&&i(9728===e.minFilter&&9728===e.magFilter,"filter not supported, must enable oes_texture_float_linear"),i(!e.genMipmaps,"mipmap generation not supported with float textures"));var l=t.images;for(r=0;r<16;++r)if(l[r]){var c=o>>r,u=a>>r;i(t.mipmask&1<0&&o<=r.maxTextureSize&&a>0&&a<=r.maxTextureSize,"invalid texture shape"),i(o===a,"cube map must be square"),i(t.wrapS===_&&t.wrapT===_,"wrap mode not supported by cube map");for(var l=0;l>h,f=a>>h;i(c.mipmask&1<1&&t===n&&('"'===t||"'"===t))return['"'+O(e.substr(1,e.length-2))+'"'];var r=/\[(false|true|null|\d+|'[^']*'|"[^"]*")\]/.exec(e);if(r)return N(e.substr(0,r.index)).concat(N(r[1])).concat(N(e.substr(r.index+r[0].length)));var i=e.split(".");if(1===i.length)return['"'+O(e)+'"'];for(var o=[],a=0;ae(t,n+"["+r+"]")))):t instanceof L?t:void R(!1,"invalid option type in uniform "+n)},accessor:I},D={next:"function"==typeof requestAnimationFrame?function(e){return requestAnimationFrame(e)}:function(e){return setTimeout(e,16)},cancel:"function"==typeof cancelAnimationFrame?function(e){return cancelAnimationFrame(e)}:clearTimeout},P="undefined"!=typeof performance&&performance.now?function(){return performance.now()}:function(){return+new Date};function M(e){return"string"==typeof e?e.split():(R(Array.isArray(e),"invalid extension array"),e)}function F(e){return"string"==typeof e?(R("undefined"!=typeof document,"not supported outside of DOM"),document.querySelector(e)):e}function H(e){var n,r,i,o,a,s=e||{},l={},c=[],u=[],h="undefined"==typeof window?1:window.devicePixelRatio,p=!1,d=function(e){e&&R.raise(e)},f=function(){};if("string"==typeof s?(R("undefined"!=typeof document,"selector queries only supported in DOM enviroments"),n=document.querySelector(s),R(n,"invalid query string for element")):"object"==typeof s?"string"==typeof(a=s).nodeName&&"function"==typeof a.appendChild&&"function"==typeof a.getBoundingClientRect?n=s:function(e){return"function"==typeof e.drawArrays||"function"==typeof e.drawElements}(s)?i=(o=s).canvas:(R.constructor(s),"gl"in s?o=s.gl:"canvas"in s?i=F(s.canvas):"container"in s&&(r=F(s.container)),"attributes"in s&&(l=s.attributes,R.type(l,"object","invalid context attributes")),"extensions"in s&&(c=M(s.extensions)),"optionalExtensions"in s&&(u=M(s.optionalExtensions)),"onDone"in s&&(R.type(s.onDone,"function","invalid or missing onDone callback"),d=s.onDone),"profile"in s&&(p=!!s.profile),"pixelRatio"in s&&(h=+s.pixelRatio,R(h>0,"invalid pixel ratio"))):R.raise("invalid arguments to regl"),n&&("canvas"===n.nodeName.toLowerCase()?i=n:r=n),!o){if(!i){R("undefined"!=typeof document,"must manually specify webgl context outside of DOM environments");var m=function(e,n,r){var i,o=document.createElement("canvas");function a(){var n=window.innerWidth,i=window.innerHeight;if(e!==document.body){var a=e.getBoundingClientRect();n=a.right-a.left,i=a.bottom-a.top}o.width=r*n,o.height=r*i,t(o.style,{width:n+"px",height:i+"px"})}return t(o.style,{border:0,margin:0,padding:0,top:0,left:0}),e.appendChild(o),e===document.body&&(o.style.position="absolute",t(e.style,{margin:0,padding:0})),e!==document.body&&"function"==typeof ResizeObserver?(i=new ResizeObserver((function(){setTimeout(a)}))).observe(e):window.addEventListener("resize",a,!1),a(),{canvas:o,onDestroy:function(){i?i.disconnect():window.removeEventListener("resize",a),e.removeChild(o)}}}(r||document.body,0,h);if(!m)return null;i=m.canvas,f=m.onDestroy}void 0===l.premultipliedAlpha&&(l.premultipliedAlpha=!0),o=function(e,t){function n(n){try{return e.getContext(n,t)}catch(e){return null}}return n("webgl")||n("experimental-webgl")||n("webgl-experimental")}(i,l)}return o?{gl:o,canvas:i,container:r,extensions:c,optionalExtensions:u,pixelRatio:h,profile:p,onDone:d,onDestroy:f}:(f(),d("webgl not supported, try upgrading your browser or graphics drivers http://get.webgl.org"),null)}function B(e,t){for(var n=Array(e),r=0;r65535)<<4,t|=n=((e>>>=t)>255)<<3,t|=n=((e>>>=n)>15)<<2,(t|=n=((e>>>=n)>3)<<1)|(e>>>=n)>>1}function j(){var e=B(8,(function(){return[]}));function t(t){var n=function(e){for(var t=16;t<=1<<28;t*=16)if(e<=t)return t;return 0}(t),r=e[U(n)>>2];return r.length>0?r.pop():new ArrayBuffer(n)}function n(t){e[U(t.byteLength)>>2].push(t)}return{alloc:t,free:n,allocType:function(e,n){var r=null;switch(e){case 5120:r=new Int8Array(t(n),0,n);break;case 5121:r=new Uint8Array(t(n),0,n);break;case 5122:r=new Int16Array(t(2*n),0,n);break;case 5123:r=new Uint16Array(t(2*n),0,n);break;case 5124:r=new Int32Array(t(4*n),0,n);break;case 5125:r=new Uint32Array(t(4*n),0,n);break;case 5126:r=new Float32Array(t(4*n),0,n);break;default:return null}return r.length!==n?r.subarray(0,n):r},freeType:function(e){n(e.buffer)}}}var G=j();G.zero=j();var Y=3553,z=6408,$=5126,W=36160;function V(t){return!!t&&"object"==typeof t&&Array.isArray(t.shape)&&Array.isArray(t.stride)&&"number"==typeof t.offset&&t.shape.length===t.stride.length&&(Array.isArray(t.data)||e(t.data))}var K=function(e){return Object.keys(e).map((function(t){return e[t]}))},q={shape:function(e){for(var t=[],n=e;n.length;n=n[0])t.push(n.length);return t},flatten:function(e,t,n,r){var i=1;if(t.length)for(var o=0;o>>31<<15,o=(r<<1>>>24)-127,a=r>>13&1023;if(o<-24)t[n]=i;else if(o<-14){var s=-14-o;t[n]=i+(a+1024>>s)}else t[n]=o>15?i+31744:i+(o+15<<10)+a}return t}function we(t){return Array.isArray(t)||e(t)}var Le=function(e){return!(e&e-1||!e)},Oe=34467,Ne=3553,Ie=34067,ke=34069,De=6408,Pe=6406,Me=6407,Fe=6409,He=6410,Be=32854,Ue=32855,je=36194,Ge=32819,Ye=32820,ze=33635,$e=34042,We=6402,Ve=34041,Ke=35904,qe=35906,Xe=36193,Ze=33776,Qe=33777,Je=33778,et=33779,tt=35986,nt=35987,rt=34798,it=35840,ot=35841,at=35842,st=35843,lt=36196,ct=5121,ut=5123,ht=5125,pt=5126,dt=10242,ft=10243,mt=10497,gt=33071,yt=33648,vt=10240,_t=10241,bt=9728,Et=9729,Tt=9984,xt=9985,St=9986,Ct=9987,At=33170,Rt=4352,wt=4353,Lt=4354,Ot=34046,Nt=3317,It=37440,kt=37441,Dt=37443,Pt=37444,Mt=33984,Ft=[Tt,St,xt,Ct],Ht=[0,Fe,He,Me,De],Bt={};function Ut(e){return"[object "+e+"]"}Bt[Fe]=Bt[Pe]=Bt[We]=1,Bt[Ve]=Bt[He]=2,Bt[Me]=Bt[Ke]=3,Bt[De]=Bt[qe]=4;var jt=Ut("HTMLCanvasElement"),Gt=Ut("OffscreenCanvas"),Yt=Ut("CanvasRenderingContext2D"),zt=Ut("ImageBitmap"),$t=Ut("HTMLImageElement"),Wt=Ut("HTMLVideoElement"),Vt=Object.keys(Q).concat([jt,Gt,Yt,zt,$t,Wt]),Kt=[];Kt[ct]=1,Kt[pt]=4,Kt[Xe]=2,Kt[ut]=2,Kt[ht]=4;var qt=[];function Xt(e){return Array.isArray(e)&&(0===e.length||"number"==typeof e[0])}function Zt(e){return!!Array.isArray(e)&&!(0===e.length||!we(e[0]))}function Qt(e){return Object.prototype.toString.call(e)}function Jt(e){return Qt(e)===jt}function en(e){return Qt(e)===Gt}function tn(e){if(!e)return!1;var t=Qt(e);return Vt.indexOf(t)>=0||Xt(e)||Zt(e)||V(e)}function nn(e){return 0|Q[Object.prototype.toString.call(e)]}function rn(e,t){return G.allocType(e.type===Xe?pt:e.type,t)}function on(e,t){e.type===Xe?(e.data=Re(t),G.freeType(t)):e.data=t}function an(e,t,n,r,i,o){var a;if(a=void 0!==qt[e]?qt[e]:Bt[e]*Kt[t],o&&(a*=6),i){for(var s=0,l=n;l>=1;)s+=a*l*l,l/=2;return s}return a*n*r}function sn(n,r,i,o,a,s,l){var c={"don't care":Rt,"dont care":Rt,nice:Lt,fast:wt},u={repeat:mt,clamp:gt,mirror:yt},h={nearest:bt,linear:Et},p=t({mipmap:Ct,"nearest mipmap nearest":Tt,"linear mipmap nearest":xt,"nearest mipmap linear":St,"linear mipmap linear":Ct},h),d={none:0,browser:Pt},f={uint8:ct,rgba4:Ge,rgb565:ze,"rgb5 a1":Ye},m={alpha:Pe,luminance:Fe,"luminance alpha":He,rgb:Me,rgba:De,rgba4:Be,"rgb5 a1":Ue,rgb565:je},g={};r.ext_srgb&&(m.srgb=Ke,m.srgba=qe),r.oes_texture_float&&(f.float32=f.float=pt),r.oes_texture_half_float&&(f.float16=f["half float"]=Xe),r.webgl_depth_texture&&(t(m,{depth:We,"depth stencil":Ve}),t(f,{uint16:ut,uint32:ht,"depth stencil":$e})),r.webgl_compressed_texture_s3tc&&t(g,{"rgb s3tc dxt1":Ze,"rgba s3tc dxt1":Qe,"rgba s3tc dxt3":Je,"rgba s3tc dxt5":et}),r.webgl_compressed_texture_atc&&t(g,{"rgb atc":tt,"rgba atc explicit alpha":nt,"rgba atc interpolated alpha":rt}),r.webgl_compressed_texture_pvrtc&&t(g,{"rgb pvrtc 4bppv1":it,"rgb pvrtc 2bppv1":ot,"rgba pvrtc 4bppv1":at,"rgba pvrtc 2bppv1":st}),r.webgl_compressed_texture_etc1&&(g["rgb etc1"]=lt);var y=Array.prototype.slice.call(n.getParameter(Oe));Object.keys(g).forEach((function(e){var t=g[e];y.indexOf(t)>=0&&(m[e]=t)}));var v=Object.keys(m);i.textureFormats=v;var _=[];Object.keys(m).forEach((function(e){var t=m[e];_[t]=e}));var b=[];Object.keys(f).forEach((function(e){var t=f[e];b[t]=e}));var E=[];Object.keys(h).forEach((function(e){var t=h[e];E[t]=e}));var T=[];Object.keys(p).forEach((function(e){var t=p[e];T[t]=e}));var x=[];Object.keys(u).forEach((function(e){var t=u[e];x[t]=e}));var S=v.reduce((function(e,t){var n=m[t];return n===Fe||n===Pe||n===Fe||n===He||n===We||n===Ve||r.ext_srgb&&(n===Ke||n===qe)?e[n]=n:n===Ue||t.indexOf("rgba")>=0?e[n]=De:e[n]=Me,e}),{});function C(){this.internalformat=De,this.format=De,this.type=ct,this.compressed=!1,this.premultiplyAlpha=!1,this.flipY=!1,this.unpackAlignment=1,this.colorSpace=Pt,this.width=0,this.height=0,this.channels=0}function A(e,t){e.internalformat=t.internalformat,e.format=t.format,e.type=t.type,e.compressed=t.compressed,e.premultiplyAlpha=t.premultiplyAlpha,e.flipY=t.flipY,e.unpackAlignment=t.unpackAlignment,e.colorSpace=t.colorSpace,e.width=t.width,e.height=t.height,e.channels=t.channels}function w(e,t){if("object"==typeof t&&t){if("premultiplyAlpha"in t&&(R.type(t.premultiplyAlpha,"boolean","invalid premultiplyAlpha"),e.premultiplyAlpha=t.premultiplyAlpha),"flipY"in t&&(R.type(t.flipY,"boolean","invalid texture flip"),e.flipY=t.flipY),"alignment"in t&&(R.oneOf(t.alignment,[1,2,4,8],"invalid texture unpack alignment"),e.unpackAlignment=t.alignment),"colorSpace"in t&&(R.parameter(t.colorSpace,d,"invalid colorSpace"),e.colorSpace=d[t.colorSpace]),"type"in t){var n=t.type;R(r.oes_texture_float||!("float"===n||"float32"===n),"you must enable the OES_texture_float extension in order to use floating point textures."),R(r.oes_texture_half_float||!("half float"===n||"float16"===n),"you must enable the OES_texture_half_float extension in order to use 16-bit floating point textures."),R(r.webgl_depth_texture||!("uint16"===n||"uint32"===n||"depth stencil"===n),"you must enable the WEBGL_depth_texture extension in order to use depth/stencil textures."),R.parameter(n,f,"invalid texture type"),e.type=f[n]}var o=e.width,a=e.height,s=e.channels,l=!1;"shape"in t?(R(Array.isArray(t.shape)&&t.shape.length>=2,"shape must be an array"),o=t.shape[0],a=t.shape[1],3===t.shape.length&&(s=t.shape[2],R(s>0&&s<=4,"invalid number of channels"),l=!0),R(o>=0&&o<=i.maxTextureSize,"invalid width"),R(a>=0&&a<=i.maxTextureSize,"invalid height")):("radius"in t&&(o=a=t.radius,R(o>=0&&o<=i.maxTextureSize,"invalid radius")),"width"in t&&(o=t.width,R(o>=0&&o<=i.maxTextureSize,"invalid width")),"height"in t&&(a=t.height,R(a>=0&&a<=i.maxTextureSize,"invalid height")),"channels"in t&&(s=t.channels,R(s>0&&s<=4,"invalid number of channels"),l=!0)),e.width=0|o,e.height=0|a,e.channels=0|s;var c=!1;if("format"in t){var u=t.format;R(r.webgl_depth_texture||!("depth"===u||"depth stencil"===u),"you must enable the WEBGL_depth_texture extension in order to use depth/stencil textures."),R.parameter(u,m,"invalid texture format");var h=e.internalformat=m[u];e.format=S[h],u in f&&("type"in t||(e.type=f[u])),u in g&&(e.compressed=!0),c=!0}!l&&c?e.channels=Bt[e.format]:l&&!c?e.channels!==Ht[e.format]&&(e.format=e.internalformat=Ht[e.channels]):c&&l&&R(e.channels===Bt[e.format],"number of channels inconsistent with specified format")}}function L(e){n.pixelStorei(It,e.flipY),n.pixelStorei(kt,e.premultiplyAlpha),n.pixelStorei(Dt,e.colorSpace),n.pixelStorei(Nt,e.unpackAlignment)}function O(){C.call(this),this.xOffset=0,this.yOffset=0,this.data=null,this.needsFree=!1,this.element=null,this.needsCopy=!1}function N(t,n){var r=null;if(tn(n)?r=n:n&&(R.type(n,"object","invalid pixel data type"),w(t,n),"x"in n&&(t.xOffset=0|n.x),"y"in n&&(t.yOffset=0|n.y),tn(n.data)&&(r=n.data)),R(!t.compressed||r instanceof Uint8Array,"compressed texture data must be stored in a uint8array"),n.copy){R(!r,"can not specify copy and data field for the same texture");var o=a.viewportWidth,s=a.viewportHeight;t.width=t.width||o-t.xOffset,t.height=t.height||s-t.yOffset,t.needsCopy=!0,R(t.xOffset>=0&&t.xOffset=0&&t.yOffset0&&t.width<=o&&t.height>0&&t.height<=s,"copy texture read out of bounds")}else if(r){if(e(r))t.channels=t.channels||4,t.data=r,"type"in n||t.type!==ct||(t.type=nn(r));else if(Xt(r))t.channels=t.channels||4,function(e,t){var n=t.length;switch(e.type){case ct:case ut:case ht:case pt:var r=G.allocType(e.type,n);r.set(t),e.data=r;break;case Xe:e.data=Re(t);break;default:R.raise("unsupported texture type, must specify a typed array")}}(t,r),t.alignment=1,t.needsFree=!0;else if(V(r)){var l=r.data;Array.isArray(l)||t.type!==ct||(t.type=nn(l));var c,u,h,p,d,f,m=r.shape,g=r.stride;3===m.length?(h=m[2],f=g[2]):(R(2===m.length,"invalid ndarray pixel data, must be 2 or 3D"),h=1,f=1),c=m[0],u=m[1],p=g[0],d=g[1],t.alignment=1,t.width=c,t.height=u,t.channels=h,t.format=t.internalformat=Ht[h],t.needsFree=!0,function(e,t,n,r,i,o){for(var a=e.width,s=e.height,l=e.channels,c=rn(e,a*s*l),u=0,h=0;h=0,"oes_texture_float extension not enabled"):t.type===Xe&&R(i.extensions.indexOf("oes_texture_half_float")>=0,"oes_texture_half_float extension not enabled")}function I(e,t,r){var i=e.element,a=e.data,s=e.internalformat,l=e.format,c=e.type,u=e.width,h=e.height;L(e),i?n.texImage2D(t,r,l,l,c,i):e.compressed?n.compressedTexImage2D(t,r,s,u,h,0,a):e.needsCopy?(o(),n.copyTexImage2D(t,r,l,e.xOffset,e.yOffset,u,h,0)):n.texImage2D(t,r,l,u,h,0,l,c,a||null)}function k(e,t,r,i,a){var s=e.element,l=e.data,c=e.internalformat,u=e.format,h=e.type,p=e.width,d=e.height;L(e),s?n.texSubImage2D(t,a,r,i,u,h,s):e.compressed?n.compressedTexSubImage2D(t,a,r,i,c,p,d,l):e.needsCopy?(o(),n.copyTexSubImage2D(t,a,r,i,e.xOffset,e.yOffset,p,d)):n.texSubImage2D(t,a,r,i,p,d,u,h,l)}var D=[];function P(){return D.pop()||new O}function M(e){e.needsFree&&G.freeType(e.data),O.call(e),D.push(e)}function F(){C.call(this),this.genMipmaps=!1,this.mipmapHint=Rt,this.mipmask=0,this.images=Array(16)}function H(e,t,n){var r=e.images[0]=P();e.mipmask=1,r.width=e.width=t,r.height=e.height=n,r.channels=e.channels=4}function B(e,t){var n=null;if(tn(t))A(n=e.images[0]=P(),e),N(n,t),e.mipmask=1;else if(w(e,t),Array.isArray(t.mipmap))for(var r=t.mipmap,i=0;i>=i,n.height>>=i,N(n,r[i]),e.mipmask|=1<=0&&!("faces"in t)&&(e.genMipmaps=!0)}if("mag"in t){var r=t.mag;R.parameter(r,h),e.magFilter=h[r]}var o=e.wrapS,a=e.wrapT;if("wrap"in t){var s=t.wrap;"string"==typeof s?(R.parameter(s,u),o=a=u[s]):Array.isArray(s)&&(R.parameter(s[0],u),R.parameter(s[1],u),o=u[s[0]],a=u[s[1]])}else{if("wrapS"in t){var l=t.wrapS;R.parameter(l,u),o=u[l]}if("wrapT"in t){var d=t.wrapT;R.parameter(d,u),a=u[d]}}if(e.wrapS=o,e.wrapT=a,"anisotropic"in t){var f=t.anisotropic;R("number"==typeof f&&f>=1&&f<=i.maxAnisotropic,"aniso samples must be between 1 and "),e.anisotropic=t.anisotropic}if("mipmap"in t){var m=!1;switch(typeof t.mipmap){case"string":R.parameter(t.mipmap,c,"invalid mipmap hint"),e.mipmapHint=c[t.mipmap],e.genMipmaps=!0,m=!0;break;case"boolean":m=e.genMipmaps=t.mipmap;break;case"object":R(Array.isArray(t.mipmap),"invalid mipmap type"),e.genMipmaps=!1,m=!0;break;default:R.raise("invalid mipmap type")}m&&!("min"in t)&&(e.minFilter=Tt)}}function X(e,t){n.texParameteri(t,_t,e.minFilter),n.texParameteri(t,vt,e.magFilter),n.texParameteri(t,dt,e.wrapS),n.texParameteri(t,ft,e.wrapT),r.ext_texture_filter_anisotropic&&n.texParameteri(t,Ot,e.anisotropic),e.genMipmaps&&(n.hint(At,e.mipmapHint),n.generateMipmap(t))}var Z=0,Q={},J=i.maxTextureUnits,ee=Array(J).map((function(){return null}));function te(e){C.call(this),this.mipmask=0,this.internalformat=De,this.id=Z++,this.refCount=1,this.target=e,this.texture=n.createTexture(),this.unit=-1,this.bindCount=0,this.texInfo=new $,l.profile&&(this.stats={size:0})}function ne(e){n.activeTexture(Mt),n.bindTexture(e.target,e.texture)}function re(){var e=ee[0];e?n.bindTexture(e.target,e.texture):n.bindTexture(Ne,null)}function ie(e){var t=e.texture;R(t,"must not double destroy texture");var r=e.unit,i=e.target;r>=0&&(n.activeTexture(Mt+r),n.bindTexture(i,null),ee[r]=null),n.deleteTexture(t),e.texture=null,e.params=null,e.pixels=null,e.refCount=0,delete Q[e.id],s.textureCount--}return t(te.prototype,{bind:function(){var e=this;e.bindCount+=1;var t=e.unit;if(t<0){for(var r=0;r0)continue;i.unit=-1}ee[r]=e,t=r;break}t>=J&&R.raise("insufficient number of texture units"),l.profile&&s.maxTextureUnits>l)-a,c.height=c.height||(r.height>>l)-s,R(r.type===c.type&&r.format===c.format&&r.internalformat===c.internalformat,"incompatible format for texture.subimage"),R(a>=0&&s>=0&&a+c.width<=r.width&&s+c.height<=r.height,"texture.subimage write out of bounds"),R(r.mipmask&1<>s;++s){var c=i>>s,u=a>>s;if(!c||!u)break;n.texImage2D(Ne,s,r.format,c,u,0,r.format,r.type,null)}return re(),l.profile&&(r.stats.size=an(r.internalformat,r.type,i,a,!1,!1)),o},o._reglType="texture2d",o._texture=r,l.profile&&(o.stats=r.stats),o.destroy=function(){r.decRef()},o},createCube:function(e,t,r,o,a,c){var u=new te(Ie);Q[u.id]=u,s.cubeCount++;var h=new Array(6);function p(e,t,n,r,o,a){var s,c=u.texInfo;for($.call(c),s=0;s<6;++s)h[s]=Y();if("number"!=typeof e&&e)if("object"==typeof e)if(t)B(h[0],e),B(h[1],t),B(h[2],n),B(h[3],r),B(h[4],o),B(h[5],a);else if(W(c,e),w(u,e),"faces"in e){var d=e.faces;for(R(Array.isArray(d)&&6===d.length,"cube faces must be a length 6 array"),s=0;s<6;++s)R("object"==typeof d[s]&&!!d[s],"invalid input for cube map face"),A(h[s],u),B(h[s],d[s])}else for(s=0;s<6;++s)B(h[s],e);else R.raise("invalid arguments to cube map");else{var f=0|e||1;for(s=0;s<6;++s)H(h[s],f,f)}for(A(u,h[0]),i.npotTextureCube||R(Le(u.width)&&Le(u.height),"your browser does not support non power or two texture dimensions"),c.genMipmaps?u.mipmask=(h[0].width<<1)-1:u.mipmask=h[0].mipmask,R.textureCube(u,c,h,i),u.internalformat=h[0].internalformat,p.width=h[0].width,p.height=h[0].height,ne(u),s=0;s<6;++s)U(h[s],ke+s);for(X(c,Ie),re(),l.profile&&(u.stats.size=an(u.internalformat,u.type,p.width,p.height,c.genMipmaps,!0)),p.format=_[u.internalformat],p.type=b[u.type],p.mag=E[c.magFilter],p.min=T[c.minFilter],p.wrapS=x[c.wrapS],p.wrapT=x[c.wrapT],s=0;s<6;++s)z(h[s]);return p}return p(e,t,r,o,a,c),p.subimage=function(e,t,n,r,i){R(!!t,"must specify image data"),R("number"==typeof e&&e===(0|e)&&e>=0&&e<6,"invalid face");var o=0|n,a=0|r,s=0|i,l=P();return A(l,u),l.width=0,l.height=0,N(l,t),l.width=l.width||(u.width>>s)-o,l.height=l.height||(u.height>>s)-a,R(u.type===l.type&&u.format===l.format&&u.internalformat===l.internalformat,"incompatible format for texture.subimage"),R(o>=0&&a>=0&&o+l.width<=u.width&&a+l.height<=u.height,"texture.subimage write out of bounds"),R(u.mipmask&1<>i;++i)n.texImage2D(ke+r,i,u.format,t>>i,t>>i,0,u.format,u.type,null);return re(),l.profile&&(u.stats.size=an(u.internalformat,u.type,p.width,p.height,!1,!0)),p}},p._reglType="textureCube",p._texture=u,l.profile&&(p.stats=u.stats),p.destroy=function(){u.decRef()},p},clear:function(){for(var e=0;e>t,e.height>>t,0,e.internalformat,e.type,null);else for(var r=0;r<6;++r)n.texImage2D(ke+r,t,e.internalformat,e.width>>t,e.height>>t,0,e.internalformat,e.type,null);X(e.texInfo,e.target)}))},refresh:function(){for(var e=0;e=0&&u=0&&h0&&p+u<=i.framebufferWidth,"invalid width for read pixels"),R(d>0&&d+h<=i.framebufferHeight,"invalid height for read pixels"),r();var m=p*d*4;return f||(c===Hn?f=new Uint8Array(m):c===Un&&(f=f||new Float32Array(m))),R.isTypedArray(f,"data buffer for regl.read() must be a typedarray"),R(f.byteLength>=m,"data buffer for regl.read() too small"),t.pixelStorei(Bn,4),t.readPixels(u,h,p,d,Fn,c,f),f}return function(e){return e&&"framebuffer"in e?function(e){var t;return n.setFBO({framebuffer:e.framebuffer},(function(){t=l(e)})),t}(e):l(e)}}function Gn(e){return Array.prototype.slice.call(e)}function Yn(e){return Gn(e).join("")}var zn="xyzw".split(""),$n=5121,Wn=1,Vn=2,Kn=0,qn=1,Xn=2,Zn=3,Qn=4,Jn=5,er=6,tr="dither",nr="blend.enable",rr="blend.color",ir="blend.equation",or="blend.func",ar="depth.enable",sr="depth.func",lr="depth.range",cr="depth.mask",ur="colorMask",hr="cull.enable",pr="cull.face",dr="frontFace",fr="lineWidth",mr="polygonOffset.enable",gr="polygonOffset.offset",yr="sample.alpha",vr="sample.enable",_r="sample.coverage",br="stencil.enable",Er="stencil.mask",Tr="stencil.func",xr="stencil.opFront",Sr="stencil.opBack",Cr="scissor.enable",Ar="scissor.box",Rr="viewport",wr="profile",Lr="framebuffer",Or="vert",Nr="frag",Ir="elements",kr="primitive",Dr="count",Pr="offset",Mr="instances",Fr="vao",Hr="Width",Br="Height",Ur=Lr+Hr,jr=Lr+Br,Gr=Rr+Hr,Yr=Rr+Br,zr="drawingBuffer",$r=zr+Hr,Wr=zr+Br,Vr=[or,ir,Tr,xr,Sr,_r,Rr,Ar,gr],Kr=34962,qr=34963,Xr=3553,Zr=34067,Qr=2884,Jr=3042,ei=3024,ti=2960,ni=2929,ri=3089,ii=32823,oi=32926,ai=32928,si=5126,li=35664,ci=35665,ui=35666,hi=5124,pi=35667,di=35668,fi=35669,mi=35670,gi=35671,yi=35672,vi=35673,_i=35674,bi=35675,Ei=35676,Ti=35678,xi=35680,Si=4,Ci=1028,Ai=1029,Ri=2304,wi=2305,Li=32775,Oi=32776,Ni=519,Ii=7680,ki=0,Di=1,Pi=32774,Mi=513,Fi=36160,Hi=36064,Bi={0:0,1:1,zero:0,one:1,"src color":768,"one minus src color":769,"src alpha":770,"one minus src alpha":771,"dst color":774,"one minus dst color":775,"dst alpha":772,"one minus dst alpha":773,"constant color":32769,"one minus constant color":32770,"constant alpha":32771,"one minus constant alpha":32772,"src alpha saturate":776},Ui=["constant color, constant alpha","one minus constant color, constant alpha","constant color, one minus constant alpha","one minus constant color, one minus constant alpha","constant alpha, constant color","constant alpha, one minus constant color","one minus constant alpha, constant color","one minus constant alpha, one minus constant color"],ji={never:512,less:513,"<":513,equal:514,"=":514,"==":514,"===":514,lequal:515,"<=":515,greater:516,">":516,notequal:517,"!=":517,"!==":517,gequal:518,">=":518,always:519},Gi={0:0,zero:0,keep:7680,replace:7681,increment:7682,decrement:7683,"increment wrap":34055,"decrement wrap":34056,invert:5386},Yi={frag:35632,vert:35633},zi={cw:Ri,ccw:wi};function $i(t){return Array.isArray(t)||e(t)||V(t)}function Wi(e){return e.sort((function(e,t){return e===Rr?-1:t===Rr?1:e=1,r>=2,t)}if(n===Qn){var i=e.data;return new Vi(i.thisDep,i.contextDep,i.propDep,t)}if(n===Jn)return new Vi(!1,!1,!1,t);if(n===er){for(var o=!1,a=!1,s=!1,l=0;l=1&&(a=!0),u>=2&&(s=!0)}else c.type===Qn&&(o=o||c.data.thisDep,a=a||c.data.contextDep,s=s||c.data.propDep)}return new Vi(o,a,s,t)}return new Vi(n===Zn,n===Xn,n===qn,t)}var Zi=new Vi(!1,!1,!1,(function(){}));function Qi(e,n,r,i,o,a,s,l,c,u,h,p,d,f,m){var g=u.Record,y={add:32774,subtract:32778,"reverse subtract":32779};r.ext_blend_minmax&&(y.min=Li,y.max=Oi);var v=r.angle_instanced_arrays,_=r.webgl_draw_buffers,b={dirty:!0,profile:m.profile},E={},T=[],x={},S={};function C(e){return e.replace(".","_")}function A(e,t,n){var r=C(e);T.push(e),E[r]=b[r]=!!n,x[r]=t}function w(e,t,n){var r=C(e);T.push(e),Array.isArray(n)?(b[r]=n.slice(),E[r]=n.slice()):b[r]=E[r]=n,S[r]=t}A(tr,ei),A(nr,Jr),w(rr,"blendColor",[0,0,0,0]),w(ir,"blendEquationSeparate",[Pi,Pi]),w(or,"blendFuncSeparate",[Di,ki,Di,ki]),A(ar,ni,!0),w(sr,"depthFunc",Mi),w(lr,"depthRange",[0,1]),w(cr,"depthMask",!0),w(ur,ur,[!0,!0,!0,!0]),A(hr,Qr),w(pr,"cullFace",Ai),w(dr,dr,wi),w(fr,fr,1),A(mr,ii),w(gr,"polygonOffset",[0,0]),A(yr,oi),A(vr,ai),w(_r,"sampleCoverage",[1,!1]),A(br,ti),w(Er,"stencilMask",-1),w(Tr,"stencilFunc",[Ni,0,-1]),w(xr,"stencilOpSeparate",[Ci,Ii,Ii,Ii]),w(Sr,"stencilOpSeparate",[Ai,Ii,Ii,Ii]),A(Cr,ri),w(Ar,"scissor",[0,0,e.drawingBufferWidth,e.drawingBufferHeight]),w(Rr,Rr,[0,0,e.drawingBufferWidth,e.drawingBufferHeight]);var L={gl:e,context:d,strings:n,next:E,current:b,draw:p,elements:a,buffer:o,shader:h,attributes:u.state,vao:u,uniforms:c,framebuffer:l,extensions:r,timer:f,isBufferArgs:$i},O={primTypes:he,compareFuncs:ji,blendFuncs:Bi,blendEquations:y,stencilOps:Gi,glTypes:J,orientationType:zi};R.optional((function(){L.isArrayLike=we})),_&&(O.backBuffer=[Ai],O.drawBuffer=B(i.maxDrawbuffers,(function(e){return 0===e?[0]:B(e,(function(e){return Hi+e}))})));var N=0;function I(){var e=function(){var e=0,n=[],r=[];function i(){var n=[],r=[];return t((function(){n.push.apply(n,Gn(arguments))}),{def:function(){var t="v"+e++;return r.push(t),arguments.length>0&&(n.push(t,"="),n.push.apply(n,Gn(arguments)),n.push(";")),t},toString:function(){return Yn([r.length>0?"var "+r.join(",")+";":"",Yn(n)])}})}function o(){var e=i(),n=i(),r=e.toString,o=n.toString;function a(t,r){n(t,r,"=",e.def(t,r),";")}return t((function(){e.apply(e,Gn(arguments))}),{def:e.def,entry:e,exit:n,save:a,set:function(t,n,r){a(t,n),e(t,n,"=",r,";")},toString:function(){return r()+o()}})}var a=i(),s={};return{global:a,link:function(t){for(var i=0;i=0,'unknown parameter "'+t+'"',p.commandStr)}))}t(d),t(f)}));var m=function(e,t){var n=e.static;if("string"==typeof n[Nr]&&"string"==typeof n[Or]){if(Object.keys(t.dynamic).length>0)return null;var r=t.static,i=Object.keys(r);if(i.length>0&&"number"==typeof r[i[0]]){for(var o=[],a=0;a=0,"invalid "+e,n.commandStr)):l=!1,"height"in o?(s=0|o.height,R.command(s>=0,"invalid "+e,n.commandStr)):l=!1,new Vi(!l&&t&&t.thisDep,!l&&t&&t.contextDep,!l&&t&&t.propDep,(function(e,t){var n=e.shared.context,r=a;"width"in o||(r=t.def(n,".",Ur,"-",c));var i=s;return"height"in o||(i=t.def(n,".",jr,"-",u)),[c,u,r,i]}))}if(e in i){var h=i[e],p=Xi(h,(function(t,n){var r=t.invoke(n,h);R.optional((function(){t.assert(n,r+"&&typeof "+r+'==="object"',"invalid "+e)}));var i=t.shared.context,o=n.def(r,".x|0"),a=n.def(r,".y|0"),s=n.def('"width" in ',r,"?",r,".width|0:","(",i,".",Ur,"-",o,")"),l=n.def('"height" in ',r,"?",r,".height|0:","(",i,".",jr,"-",a,")");return R.optional((function(){t.assert(n,s+">=0&&"+l+">=0","invalid "+e)})),[o,a,s,l]}));return t&&(p.thisDep=p.thisDep||t.thisDep,p.contextDep=p.contextDep||t.contextDep,p.propDep=p.propDep||t.propDep),p}return t?new Vi(t.thisDep,t.contextDep,t.propDep,(function(e,t){var n=e.shared.context;return[0,0,t.def(n,".",Ur),t.def(n,".",jr)]})):null}var a=o(Rr);if(a){var s=a;a=new Vi(a.thisDep,a.contextDep,a.propDep,(function(e,t){var n=s.append(e,t),r=e.shared.context;return t.set(r,"."+Gr,n[2]),t.set(r,"."+Yr,n[3]),n}))}return{viewport:a,scissor_box:o(Ar)}}(e,_,p),E=function(e,t){var n=e.static,r=e.dynamic,i=function(){if(Ir in n){var e=n[Ir];$i(e)?e=a.getElements(a.create(e,!0)):e&&(e=a.getElements(e),R.command(e,"invalid elements",t.commandStr));var i=qi((function(t,n){if(e){var r=t.link(e);return t.ELEMENTS=r,r}return t.ELEMENTS=null,null}));return i.value=e,i}if(Ir in r){var o=r[Ir];return Xi(o,(function(e,t){var n=e.shared,r=n.isBufferArgs,i=n.elements,a=e.invoke(t,o),s=t.def("null"),l=t.def(r,"(",a,")"),c=e.cond(l).then(s,"=",i,".createStream(",a,");").else(s,"=",i,".getElements(",a,");");return R.optional((function(){e.assert(c.else,"!"+a+"||"+s,"invalid elements")})),t.entry(c),t.exit(e.cond(l).then(i,".destroyStream(",s,");")),e.ELEMENTS=s,s}))}return null}();function o(e,o){if(e in n){var a=0|n[e];return R.command(!o||a>=0,"invalid "+e,t.commandStr),qi((function(e,t){return o&&(e.OFFSET=a),a}))}if(e in r){var s=r[e];return Xi(s,(function(t,n){var r=t.invoke(n,s);return o&&(t.OFFSET=r,R.optional((function(){t.assert(n,r+">=0","invalid "+e)}))),r}))}return o&&i?qi((function(e,t){return e.OFFSET="0",0})):null}var s=o(Pr,!0);return{elements:i,primitive:function(){if(kr in n){var e=n[kr];return R.commandParameter(e,he,"invalid primitve",t.commandStr),qi((function(t,n){return he[e]}))}if(kr in r){var o=r[kr];return Xi(o,(function(e,t){var n=e.constants.primTypes,r=e.invoke(t,o);return R.optional((function(){e.assert(t,r+" in "+n,"invalid primitive, must be one of "+Object.keys(he))})),t.def(n,"[",r,"]")}))}return i?Ki(i)?i.value?qi((function(e,t){return t.def(e.ELEMENTS,".primType")})):qi((function(){return Si})):new Vi(i.thisDep,i.contextDep,i.propDep,(function(e,t){var n=e.ELEMENTS;return t.def(n,"?",n,".primType:",Si)})):null}(),count:function(){if(Dr in n){var e=0|n[Dr];return R.command("number"==typeof e&&e>=0,"invalid vertex count",t.commandStr),qi((function(){return e}))}if(Dr in r){var o=r[Dr];return Xi(o,(function(e,t){var n=e.invoke(t,o);return R.optional((function(){e.assert(t,"typeof "+n+'==="number"&&'+n+">=0&&"+n+"===("+n+"|0)","invalid vertex count")})),n}))}if(i){if(Ki(i)){if(i)return s?new Vi(s.thisDep,s.contextDep,s.propDep,(function(e,t){var n=t.def(e.ELEMENTS,".vertCount-",e.OFFSET);return R.optional((function(){e.assert(t,n+">=0","invalid vertex offset/element buffer too small")})),n})):qi((function(e,t){return t.def(e.ELEMENTS,".vertCount")}));var a=qi((function(){return-1}));return R.optional((function(){a.MISSING=!0})),a}var l=new Vi(i.thisDep||s.thisDep,i.contextDep||s.contextDep,i.propDep||s.propDep,(function(e,t){var n=e.ELEMENTS;return e.OFFSET?t.def(n,"?",n,".vertCount-",e.OFFSET,":-1"):t.def(n,"?",n,".vertCount:-1")}));return R.optional((function(){l.DYNAMIC=!0})),l}return null}(),instances:o(Mr,!1),offset:s}}(e,p),x=function(e,t){var n=e.static,r=e.dynamic,o={};return T.forEach((function(e){var a=C(e);function s(t,i){if(e in n){var s=t(n[e]);o[a]=qi((function(){return s}))}else if(e in r){var l=r[e];o[a]=Xi(l,(function(e,t){return i(e,t,e.invoke(t,l))}))}}switch(e){case hr:case nr:case tr:case br:case ar:case Cr:case mr:case yr:case vr:case cr:return s((function(n){return R.commandType(n,"boolean",e,t.commandStr),n}),(function(t,n,r){return R.optional((function(){t.assert(n,"typeof "+r+'==="boolean"',"invalid flag "+e,t.commandStr)})),r}));case sr:return s((function(n){return R.commandParameter(n,ji,"invalid "+e,t.commandStr),ji[n]}),(function(t,n,r){var i=t.constants.compareFuncs;return R.optional((function(){t.assert(n,r+" in "+i,"invalid "+e+", must be one of "+Object.keys(ji))})),n.def(i,"[",r,"]")}));case lr:return s((function(e){return R.command(we(e)&&2===e.length&&"number"==typeof e[0]&&"number"==typeof e[1]&&e[0]<=e[1],"depth range is 2d array",t.commandStr),e}),(function(e,t,n){return R.optional((function(){e.assert(t,e.shared.isArrayLike+"("+n+")&&"+n+".length===2&&typeof "+n+'[0]==="number"&&typeof '+n+'[1]==="number"&&'+n+"[0]<="+n+"[1]","depth range must be a 2d array")})),[t.def("+",n,"[0]"),t.def("+",n,"[1]")]}));case or:return s((function(e){R.commandType(e,"object","blend.func",t.commandStr);var n="srcRGB"in e?e.srcRGB:e.src,r="srcAlpha"in e?e.srcAlpha:e.src,i="dstRGB"in e?e.dstRGB:e.dst,o="dstAlpha"in e?e.dstAlpha:e.dst;return R.commandParameter(n,Bi,a+".srcRGB",t.commandStr),R.commandParameter(r,Bi,a+".srcAlpha",t.commandStr),R.commandParameter(i,Bi,a+".dstRGB",t.commandStr),R.commandParameter(o,Bi,a+".dstAlpha",t.commandStr),R.command(-1===Ui.indexOf(n+", "+i),"unallowed blending combination (srcRGB, dstRGB) = ("+n+", "+i+")",t.commandStr),[Bi[n],Bi[i],Bi[r],Bi[o]]}),(function(t,n,r){var i=t.constants.blendFuncs;function o(o,a){var s=n.def('"',o,a,'" in ',r,"?",r,".",o,a,":",r,".",o);return R.optional((function(){t.assert(n,s+" in "+i,"invalid "+e+"."+o+a+", must be one of "+Object.keys(Bi))})),s}R.optional((function(){t.assert(n,r+"&&typeof "+r+'==="object"',"invalid blend func, must be an object")}));var a=o("src","RGB"),s=o("dst","RGB");R.optional((function(){var e=t.constants.invalidBlendCombinations;t.assert(n,e+".indexOf("+a+'+", "+'+s+") === -1 ","unallowed blending combination for (srcRGB, dstRGB)")}));var l=n.def(i,"[",a,"]"),c=n.def(i,"[",o("src","Alpha"),"]");return[l,n.def(i,"[",s,"]"),c,n.def(i,"[",o("dst","Alpha"),"]")]}));case ir:return s((function(n){return"string"==typeof n?(R.commandParameter(n,y,"invalid "+e,t.commandStr),[y[n],y[n]]):"object"==typeof n?(R.commandParameter(n.rgb,y,e+".rgb",t.commandStr),R.commandParameter(n.alpha,y,e+".alpha",t.commandStr),[y[n.rgb],y[n.alpha]]):void R.commandRaise("invalid blend.equation",t.commandStr)}),(function(t,n,r){var i=t.constants.blendEquations,o=n.def(),a=n.def(),s=t.cond("typeof ",r,'==="string"');return R.optional((function(){function n(e,n,r){t.assert(e,r+" in "+i,"invalid "+n+", must be one of "+Object.keys(y))}n(s.then,e,r),t.assert(s.else,r+"&&typeof "+r+'==="object"',"invalid "+e),n(s.else,e+".rgb",r+".rgb"),n(s.else,e+".alpha",r+".alpha")})),s.then(o,"=",a,"=",i,"[",r,"];"),s.else(o,"=",i,"[",r,".rgb];",a,"=",i,"[",r,".alpha];"),n(s),[o,a]}));case rr:return s((function(e){return R.command(we(e)&&4===e.length,"blend.color must be a 4d array",t.commandStr),B(4,(function(t){return+e[t]}))}),(function(e,t,n){return R.optional((function(){e.assert(t,e.shared.isArrayLike+"("+n+")&&"+n+".length===4","blend.color must be a 4d array")})),B(4,(function(e){return t.def("+",n,"[",e,"]")}))}));case Er:return s((function(e){return R.commandType(e,"number",a,t.commandStr),0|e}),(function(e,t,n){return R.optional((function(){e.assert(t,"typeof "+n+'==="number"',"invalid stencil.mask")})),t.def(n,"|0")}));case Tr:return s((function(n){R.commandType(n,"object",a,t.commandStr);var r=n.cmp||"keep",i=n.ref||0,o="mask"in n?n.mask:-1;return R.commandParameter(r,ji,e+".cmp",t.commandStr),R.commandType(i,"number",e+".ref",t.commandStr),R.commandType(o,"number",e+".mask",t.commandStr),[ji[r],i,o]}),(function(e,t,n){var r=e.constants.compareFuncs;return R.optional((function(){function i(){e.assert(t,Array.prototype.join.call(arguments,""),"invalid stencil.func")}i(n+"&&typeof ",n,'==="object"'),i('!("cmp" in ',n,")||(",n,".cmp in ",r,")")})),[t.def('"cmp" in ',n,"?",r,"[",n,".cmp]",":",Ii),t.def(n,".ref|0"),t.def('"mask" in ',n,"?",n,".mask|0:-1")]}));case xr:case Sr:return s((function(n){R.commandType(n,"object",a,t.commandStr);var r=n.fail||"keep",i=n.zfail||"keep",o=n.zpass||"keep";return R.commandParameter(r,Gi,e+".fail",t.commandStr),R.commandParameter(i,Gi,e+".zfail",t.commandStr),R.commandParameter(o,Gi,e+".zpass",t.commandStr),[e===Sr?Ai:Ci,Gi[r],Gi[i],Gi[o]]}),(function(t,n,r){var i=t.constants.stencilOps;function o(o){return R.optional((function(){t.assert(n,'!("'+o+'" in '+r+")||("+r+"."+o+" in "+i+")","invalid "+e+"."+o+", must be one of "+Object.keys(Gi))})),n.def('"',o,'" in ',r,"?",i,"[",r,".",o,"]:",Ii)}return R.optional((function(){t.assert(n,r+"&&typeof "+r+'==="object"',"invalid "+e)})),[e===Sr?Ai:Ci,o("fail"),o("zfail"),o("zpass")]}));case gr:return s((function(e){R.commandType(e,"object",a,t.commandStr);var n=0|e.factor,r=0|e.units;return R.commandType(n,"number",a+".factor",t.commandStr),R.commandType(r,"number",a+".units",t.commandStr),[n,r]}),(function(t,n,r){return R.optional((function(){t.assert(n,r+"&&typeof "+r+'==="object"',"invalid "+e)})),[n.def(r,".factor|0"),n.def(r,".units|0")]}));case pr:return s((function(e){var n=0;return"front"===e?n=Ci:"back"===e&&(n=Ai),R.command(!!n,a,t.commandStr),n}),(function(e,t,n){return R.optional((function(){e.assert(t,n+'==="front"||'+n+'==="back"',"invalid cull.face")})),t.def(n,'==="front"?',Ci,":",Ai)}));case fr:return s((function(e){return R.command("number"==typeof e&&e>=i.lineWidthDims[0]&&e<=i.lineWidthDims[1],"invalid line width, must be a positive number between "+i.lineWidthDims[0]+" and "+i.lineWidthDims[1],t.commandStr),e}),(function(e,t,n){return R.optional((function(){e.assert(t,"typeof "+n+'==="number"&&'+n+">="+i.lineWidthDims[0]+"&&"+n+"<="+i.lineWidthDims[1],"invalid line width")})),n}));case dr:return s((function(e){return R.commandParameter(e,zi,a,t.commandStr),zi[e]}),(function(e,t,n){return R.optional((function(){e.assert(t,n+'==="cw"||'+n+'==="ccw"',"invalid frontFace, must be one of cw,ccw")})),t.def(n+'==="cw"?'+Ri+":"+wi)}));case ur:return s((function(e){return R.command(we(e)&&4===e.length,"color.mask must be length 4 array",t.commandStr),e.map((function(e){return!!e}))}),(function(e,t,n){return R.optional((function(){e.assert(t,e.shared.isArrayLike+"("+n+")&&"+n+".length===4","invalid color.mask")})),B(4,(function(e){return"!!"+n+"["+e+"]"}))}));case _r:return s((function(e){R.command("object"==typeof e&&e,a,t.commandStr);var n="value"in e?e.value:1,r=!!e.invert;return R.command("number"==typeof n&&n>=0&&n<=1,"sample.coverage.value must be a number between 0 and 1",t.commandStr),[n,r]}),(function(e,t,n){return R.optional((function(){e.assert(t,n+"&&typeof "+n+'==="object"',"invalid sample.coverage")})),[t.def('"value" in ',n,"?+",n,".value:1"),t.def("!!",n,".invert")]}))}})),o}(e,p),S=function(e,t,r){var i=e.static,o=e.dynamic;function a(e){if(e in i){var t=n.id(i[e]);R.optional((function(){h.shader(Yi[e],t,R.guessCommand())}));var r=qi((function(){return t}));return r.id=t,r}if(e in o){var a=o[e];return Xi(a,(function(t,n){var r=t.invoke(n,a),i=n.def(t.shared.strings,".id(",r,")");return R.optional((function(){n(t.shared.shader,".shader(",Yi[e],",",i,",",t.command,");")})),i}))}return null}var s,l=a(Nr),c=a(Or),u=null;return Ki(l)&&Ki(c)?(u=h.program(c.id,l.id,null,r),s=qi((function(e,t){return e.link(u)}))):s=new Vi(l&&l.thisDep||c&&c.thisDep,l&&l.contextDep||c&&c.contextDep,l&&l.propDep||c&&c.propDep,(function(e,t){var n,r=e.shared.shader;n=l?l.append(e,t):t.def(r,".",Nr);var i=r+".program("+(c?c.append(e,t):t.def(r,".",Or))+","+n;return R.optional((function(){i+=","+e.command})),t.def(i+")")})),{frag:l,vert:c,progVar:s,program:u}}(e,0,m);function A(e){var t=b[e];t&&(x[e]=t)}A(Rr),A(C(Ar));var w=Object.keys(x).length>0,L={framebuffer:_,draw:E,shader:S,state:x,dirty:w,scopeVAO:null,drawVAO:null,useVAO:!1,attributes:{}};if(L.profile=function(e){var t,n=e.static,r=e.dynamic;if(wr in n){var i=!!n[wr];(t=qi((function(e,t){return i}))).enable=i}else if(wr in r){var o=r[wr];t=Xi(o,(function(e,t){return e.invoke(t,o)}))}return t}(e),L.uniforms=function(e,t){var n=e.static,r=e.dynamic,i={};return Object.keys(n).forEach((function(e){var r,o=n[e];if("number"==typeof o||"boolean"==typeof o)r=qi((function(){return o}));else if("function"==typeof o){var a=o._reglType;"texture2d"===a||"textureCube"===a?r=qi((function(e){return e.link(o)})):"framebuffer"===a||"framebufferCube"===a?(R.command(o.color.length>0,'missing color attachment for framebuffer sent to uniform "'+e+'"',t.commandStr),r=qi((function(e){return e.link(o.color[0])}))):R.commandRaise('invalid data for uniform "'+e+'"',t.commandStr)}else we(o)?r=qi((function(t){return t.global.def("[",B(o.length,(function(n){return R.command("number"==typeof o[n]||"boolean"==typeof o[n],"invalid uniform "+e,t.commandStr),o[n]})),"]")})):R.commandRaise('invalid or missing data for uniform "'+e+'"',t.commandStr);r.value=o,i[e]=r})),Object.keys(r).forEach((function(e){var t=r[e];i[e]=Xi(t,(function(e,n){return e.invoke(n,t)}))})),i}(s,p),L.drawVAO=L.scopeVAO=function(e,t){var n=e.static,r=e.dynamic;if(Fr in n){var i=n[Fr];return null!==i&&null===u.getVAO(i)&&(i=u.createVAO(i)),qi((function(e){return e.link(u.getVAO(i))}))}if(Fr in r){var o=r[Fr];return Xi(o,(function(e,t){var n=e.invoke(t,o);return t.def(e.shared.vao+".getVAO("+n+")")}))}return null}(e),!L.drawVAO&&S.program&&!m&&r.angle_instanced_arrays){var O=!0,N=S.program.attributes.map((function(e){var n=t.static[e];return O=O&&!!n,n}));if(O&&N.length>0){var I=u.getVAO(u.createVAO(N));L.drawVAO=new Vi(null,null,null,(function(e,t){return e.link(I)})),L.useVAO=!0}}return m?L.useVAO=!0:L.attributes=function(e,t){var r=e.static,i=e.dynamic,a={};return Object.keys(r).forEach((function(e){var i=r[e],s=n.id(e),l=new g;if($i(i))l.state=Wn,l.buffer=o.getBuffer(o.create(i,Kr,!1,!0)),l.type=0;else{var c=o.getBuffer(i);if(c)l.state=Wn,l.buffer=c,l.type=0;else if(R.command("object"==typeof i&&i,"invalid data for attribute "+e,t.commandStr),"constant"in i){var u=i.constant;l.buffer="null",l.state=Vn,"number"==typeof u?l.x=u:(R.command(we(u)&&u.length>0&&u.length<=4,"invalid constant for attribute "+e,t.commandStr),zn.forEach((function(e,t){t=0,'invalid offset for attribute "'+e+'"',t.commandStr);var p=0|i.stride;R.command(p>=0&&p<256,'invalid stride for attribute "'+e+'", must be integer betweeen [0, 255]',t.commandStr);var d=0|i.size;R.command(!("size"in i)||d>0&&d<=4,'invalid size for attribute "'+e+'", must be 1,2,3,4',t.commandStr);var f=!!i.normalized,m=0;"type"in i&&(R.commandParameter(i.type,J,"invalid type for attribute "+e,t.commandStr),m=J[i.type]);var y=0|i.divisor;"divisor"in i&&(R.command(0===y||v,'cannot specify divisor for attribute "'+e+'", instancing not supported',t.commandStr),R.command(y>=0,'invalid divisor for attribute "'+e+'"',t.commandStr)),R.optional((function(){var n=t.commandStr,r=["buffer","offset","divisor","normalized","type","size","stride"];Object.keys(i).forEach((function(t){R.command(r.indexOf(t)>=0,'unknown parameter "'+t+'" for attribute pointer "'+e+'" (valid parameters are '+r+")",n)}))})),l.buffer=c,l.state=Wn,l.size=d,l.normalized=f,l.type=m||c.dtype,l.offset=h,l.stride=p,l.divisor=y}}a[e]=qi((function(e,t){var n=e.attribCache;if(s in n)return n[s];var r={isStream:!1};return Object.keys(l).forEach((function(e){r[e]=l[e]})),l.buffer&&(r.buffer=e.link(l.buffer),r.type=r.type||r.buffer+".dtype"),n[s]=r,r}))})),Object.keys(i).forEach((function(e){var t=i[e];a[e]=Xi(t,(function(n,r){var i=n.invoke(r,t),o=n.shared,a=n.constants,s=o.isBufferArgs,l=o.buffer;R.optional((function(){n.assert(r,i+"&&(typeof "+i+'==="object"||typeof '+i+'==="function")&&('+s+"("+i+")||"+l+".getBuffer("+i+")||"+l+".getBuffer("+i+".buffer)||"+s+"("+i+'.buffer)||("constant" in '+i+"&&(typeof "+i+'.constant==="number"||'+o.isArrayLike+"("+i+".constant))))",'invalid dynamic attribute "'+e+'"')}));var c={isStream:r.def(!1)},u=new g;u.state=Wn,Object.keys(u).forEach((function(e){c[e]=r.def(""+u[e])}));var h=c.buffer,p=c.type;function d(e){r(c[e],"=",i,".",e,"|0;")}return r("if(",s,"(",i,")){",c.isStream,"=true;",h,"=",l,".createStream(",Kr,",",i,");",p,"=",h,".dtype;","}else{",h,"=",l,".getBuffer(",i,");","if(",h,"){",p,"=",h,".dtype;",'}else if("constant" in ',i,"){",c.state,"=",Vn,";","if(typeof "+i+'.constant === "number"){',c[zn[0]],"=",i,".constant;",zn.slice(1).map((function(e){return c[e]})).join("="),"=0;","}else{",zn.map((function(e,t){return c[e]+"="+i+".constant.length>"+t+"?"+i+".constant["+t+"]:0;"})).join(""),"}}else{","if(",s,"(",i,".buffer)){",h,"=",l,".createStream(",Kr,",",i,".buffer);","}else{",h,"=",l,".getBuffer(",i,".buffer);","}",p,'="type" in ',i,"?",a.glTypes,"[",i,".type]:",h,".dtype;",c.normalized,"=!!",i,".normalized;"),d("size"),d("offset"),d("stride"),d("divisor"),r("}}"),r.exit("if(",c.isStream,"){",l,".destroyStream(",h,");","}"),c}))})),a}(t,p),L.context=function(e){var t=e.static,n=e.dynamic,r={};return Object.keys(t).forEach((function(e){var n=t[e];r[e]=qi((function(e,t){return"number"==typeof n||"boolean"==typeof n?""+n:e.link(n)}))})),Object.keys(n).forEach((function(e){var t=n[e];r[e]=Xi(t,(function(e,n){return e.invoke(n,t)}))})),r}(c),L}function P(e,t,n){var r=e.shared.context,i=e.scope();Object.keys(n).forEach((function(o){t.save(r,"."+o);var a=n[o].append(e,t);Array.isArray(a)?i(r,".",o,"=[",a.join(),"];"):i(r,".",o,"=",a,";")})),t(i)}function M(e,t,n,r){var i,o=e.shared,a=o.gl,s=o.framebuffer;_&&(i=t.def(o.extensions,".webgl_draw_buffers"));var l,c=e.constants,u=c.drawBuffer,h=c.backBuffer;l=n?n.append(e,t):t.def(s,".next"),r||t("if(",l,"!==",s,".cur){"),t("if(",l,"){",a,".bindFramebuffer(",Fi,",",l,".framebuffer);"),_&&t(i,".drawBuffersWEBGL(",u,"[",l,".colorAttachments.length]);"),t("}else{",a,".bindFramebuffer(",Fi,",null);"),_&&t(i,".drawBuffersWEBGL(",h,");"),t("}",s,".cur=",l,";"),r||t("}")}function F(e,t,n){var r=e.shared,i=r.gl,o=e.current,a=e.next,s=r.current,l=r.next,c=e.cond(s,".dirty");T.forEach((function(t){var r,u,h=C(t);if(!(h in n.state))if(h in a){r=a[h],u=o[h];var p=B(b[h].length,(function(e){return c.def(r,"[",e,"]")}));c(e.cond(p.map((function(e,t){return e+"!=="+u+"["+t+"]"})).join("||")).then(i,".",S[h],"(",p,");",p.map((function(e,t){return u+"["+t+"]="+e})).join(";"),";"))}else{r=c.def(l,".",h);var d=e.cond(r,"!==",s,".",h);c(d),h in x?d(e.cond(r).then(i,".enable(",x[h],");").else(i,".disable(",x[h],");"),s,".",h,"=",r,";"):d(i,".",S[h],"(",r,");",s,".",h,"=",r,";")}})),0===Object.keys(n.state).length&&c(s,".dirty=false;"),t(c)}function H(e,t,n,r){var i=e.shared,o=e.current,a=i.current,s=i.gl;Wi(Object.keys(n)).forEach((function(i){var l=n[i];if(!r||r(l)){var c=l.append(e,t);if(x[i]){var u=x[i];Ki(l)?t(s,c?".enable(":".disable(",u,");"):t(e.cond(c).then(s,".enable(",u,");").else(s,".disable(",u,");")),t(a,".",i,"=",c,";")}else if(we(c)){var h=o[i];t(s,".",S[i],"(",c,");",c.map((function(e,t){return h+"["+t+"]="+e})).join(";"),";")}else t(s,".",S[i],"(",c,");",a,".",i,"=",c,";")}}))}function U(e,t){v&&(e.instancing=t.def(e.shared.extensions,".angle_instanced_arrays"))}function j(e,t,n,r,i){var o,a,s,l=e.shared,c=e.stats,u=l.current,h=l.timer,p=n.profile;function d(){return"undefined"==typeof performance?"Date.now()":"performance.now()"}function m(e){e(o=t.def(),"=",d(),";"),"string"==typeof i?e(c,".count+=",i,";"):e(c,".count++;"),f&&(r?e(a=t.def(),"=",h,".getNumPendingQueries();"):e(h,".beginQuery(",c,");"))}function g(e){e(c,".cpuTime+=",d(),"-",o,";"),f&&(r?e(h,".pushScopeStats(",a,",",h,".getNumPendingQueries(),",c,");"):e(h,".endQuery();"))}function y(e){var n=t.def(u,".profile");t(u,".profile=",e,";"),t.exit(u,".profile=",n,";")}if(p){if(Ki(p))return void(p.enable?(m(t),g(t.exit),y("true")):y("false"));y(s=p.append(e,t))}else s=t.def(u,".profile");var v=e.block();m(v),t("if(",s,"){",v,"}");var _=e.block();g(_),t.exit("if(",s,"){",_,"}")}function G(e,t,n,r,i){var o=e.shared;r.forEach((function(r){var a,s=r.name,l=n.attributes[s];if(l){if(!i(l))return;a=l.append(e,t)}else{if(!i(Zi))return;var c=e.scopeAttrib(s);R.optional((function(){e.assert(t,c+".state","missing attribute "+s)})),a={},Object.keys(new g).forEach((function(e){a[e]=t.def(c,".",e)}))}!function(n,r,i){var a=o.gl,s=t.def(n,".location"),l=t.def(o.attributes,"[",s,"]"),c=i.state,u=i.buffer,h=[i.x,i.y,i.z,i.w],p=["buffer","normalized","offset","stride"];function d(){t("if(!",l,".buffer){",a,".enableVertexAttribArray(",s,");}");var n,o=i.type;if(n=i.size?t.def(i.size,"||",r):r,t("if(",l,".type!==",o,"||",l,".size!==",n,"||",p.map((function(e){return l+"."+e+"!=="+i[e]})).join("||"),"){",a,".bindBuffer(",Kr,",",u,".buffer);",a,".vertexAttribPointer(",[s,n,o,i.normalized,i.stride,i.offset],");",l,".type=",o,";",l,".size=",n,";",p.map((function(e){return l+"."+e+"="+i[e]+";"})).join(""),"}"),v){var c=i.divisor;t("if(",l,".divisor!==",c,"){",e.instancing,".vertexAttribDivisorANGLE(",[s,c],");",l,".divisor=",c,";}")}}function f(){t("if(",l,".buffer){",a,".disableVertexAttribArray(",s,");",l,".buffer=null;","}if(",zn.map((function(e,t){return l+"."+e+"!=="+h[t]})).join("||"),"){",a,".vertexAttrib4f(",s,",",h,");",zn.map((function(e,t){return l+"."+e+"="+h[t]+";"})).join(""),"}")}c===Wn?d():c===Vn?f():(t("if(",c,"===",Wn,"){"),d(),t("}else{"),f(),t("}"))}(e.link(r),function(e){switch(e){case li:case pi:case gi:return 2;case ci:case di:case yi:return 3;case ui:case fi:case vi:return 4;default:return 1}}(r.info.type),a)}))}function Y(e,t,r,i,o){for(var a,s=e.shared,l=s.gl,c=0;c1?t(B(b,(function(e){return Array.isArray(u)?u[e]:u+"["+e+"]"}))):(R(!Array.isArray(u),"uniform value must not be an array"),t(u));t(");")}}function z(e,t,n,r){var i=e.shared,o=i.gl,a=i.draw,s=r.draw;var l=function(){var i,l=s.elements,c=t;return l?((l.contextDep&&r.contextDynamic||l.propDep)&&(c=n),i=l.append(e,c)):i=c.def(a,".",Ir),i&&c("if("+i+")"+o+".bindBuffer("+qr+","+i+".buffer.buffer);"),i}();function c(i){var o=s[i];return o?o.contextDep&&r.contextDynamic||o.propDep?o.append(e,n):o.append(e,t):t.def(a,".",i)}var u,h,p=c(kr),d=c(Pr),f=function(){var i,o=s.count,l=t;return o?((o.contextDep&&r.contextDynamic||o.propDep)&&(l=n),i=o.append(e,l),R.optional((function(){o.MISSING&&e.assert(t,"false","missing vertex count"),o.DYNAMIC&&e.assert(l,i+">=0","missing vertex count")}))):(i=l.def(a,".",Dr),R.optional((function(){e.assert(l,i+">=0","missing vertex count")}))),i}();if("number"==typeof f){if(0===f)return}else n("if(",f,"){"),n.exit("}");v&&(u=c(Mr),h=e.instancing);var m=l+".type",g=s.elements&&Ki(s.elements);function y(){function e(){n(h,".drawElementsInstancedANGLE(",[p,f,m,d+"<<(("+m+"-"+$n+")>>1)",u],");")}function t(){n(h,".drawArraysInstancedANGLE(",[p,d,f,u],");")}l?g?e():(n("if(",l,"){"),e(),n("}else{"),t(),n("}")):t()}function _(){function e(){n(o+".drawElements("+[p,f,m,d+"<<(("+m+"-"+$n+")>>1)"]+");")}function t(){n(o+".drawArrays("+[p,d,f]+");")}l?g?e():(n("if(",l,"){"),e(),n("}else{"),t(),n("}")):t()}v&&("number"!=typeof u||u>=0)?"string"==typeof u?(n("if(",u,">0){"),y(),n("}else if(",u,"<0){"),_(),n("}")):y():_()}function $(e,t,n,r,i){var o=I(),a=o.proc("body",i);return R.optional((function(){o.commandStr=t.commandStr,o.command=o.link(t.commandStr)})),v&&(o.instancing=a.def(o.shared.extensions,".angle_instanced_arrays")),e(o,a,n,r),o.compile().body}function W(e,t,n,r){U(e,t),n.useVAO?n.drawVAO?t(e.shared.vao,".setVAO(",n.drawVAO.append(e,t),");"):t(e.shared.vao,".setVAO(",e.shared.vao,".targetVAO);"):(t(e.shared.vao,".setVAO(null);"),G(e,t,n,r.attributes,(function(){return!0}))),Y(e,t,n,r.uniforms,(function(){return!0})),z(e,t,t,n)}function V(e,t,n,r){function i(){return!0}e.batchId="a1",U(e,t),G(e,t,n,r.attributes,i),Y(e,t,n,r.uniforms,i),z(e,t,t,n)}function K(e,t,n,r){U(e,t);var i=n.contextDep,o=t.def(),a=t.def();e.shared.props=a,e.batchId=o;var s=e.scope(),l=e.scope();function c(e){return e.contextDep&&i||e.propDep}function u(e){return!c(e)}if(t(s.entry,"for(",o,"=0;",o,"<","a1",";++",o,"){",a,"=","a0","[",o,"];",l,"}",s.exit),n.needsContext&&P(e,l,n.context),n.needsFramebuffer&&M(e,l,n.framebuffer),H(e,l,n.state,c),n.profile&&c(n.profile)&&j(e,l,n,!1,!0),r)n.useVAO?n.drawVAO?c(n.drawVAO)?l(e.shared.vao,".setVAO(",n.drawVAO.append(e,l),");"):s(e.shared.vao,".setVAO(",n.drawVAO.append(e,s),");"):s(e.shared.vao,".setVAO(",e.shared.vao,".targetVAO);"):(s(e.shared.vao,".setVAO(null);"),G(e,s,n,r.attributes,u),G(e,l,n,r.attributes,c)),Y(e,s,n,r.uniforms,u),Y(e,l,n,r.uniforms,c),z(e,s,l,n);else{var h=e.global.def("{}"),p=n.shader.progVar.append(e,l),d=l.def(p,".id"),f=l.def(h,"[",d,"]");l(e.shared.gl,".useProgram(",p,".program);","if(!",f,"){",f,"=",h,"[",d,"]=",e.link((function(t){return $(V,e,n,t,2)})),"(",p,");}",f,".call(this,a0[",o,"],",o,");")}}function q(e,t,n){var r=t.static[n];if(r&&function(e){if("object"==typeof e&&!we(e)){for(var t=Object.keys(e),n=0;n0&&n(e.shared.current,".dirty=true;")}(s,l),function(e,t){var r=e.proc("scope",3);e.batchId="a2";var i=e.shared,o=i.current;function a(n){var o=t.shader[n];o&&r.set(i.shader,"."+n,o.append(e,r))}P(e,r,t.context),t.framebuffer&&t.framebuffer.append(e,r),Wi(Object.keys(t.state)).forEach((function(n){var o=t.state[n].append(e,r);we(o)?o.forEach((function(t,i){r.set(e.next[n],"["+i+"]",t)})):r.set(i.next,"."+n,o)})),j(e,r,t,!0,!0),[Ir,Pr,Dr,Mr,kr].forEach((function(n){var o=t.draw[n];o&&r.set(i.draw,"."+n,""+o.append(e,r))})),Object.keys(t.uniforms).forEach((function(o){var a=t.uniforms[o].append(e,r);Array.isArray(a)&&(a="["+a.join()+"]"),r.set(i.uniforms,"["+n.id(o)+"]",a)})),Object.keys(t.attributes).forEach((function(n){var i=t.attributes[n].append(e,r),o=e.scopeAttrib(n);Object.keys(new g).forEach((function(e){r.set(o,"."+e,i[e])}))})),t.scopeVAO&&r.set(i.vao,".targetVAO",t.scopeVAO.append(e,r)),a(Or),a(Nr),Object.keys(t.state).length>0&&(r(o,".dirty=true;"),r.exit(o,".dirty=true;")),r("a1(",e.shared.context,",a0,",e.batchId,");")}(s,l),function(e,t){var n=e.proc("batch",2);e.batchId="0",U(e,n);var r=!1,i=!0;Object.keys(t.context).forEach((function(e){r=r||t.context[e].propDep})),r||(P(e,n,t.context),i=!1);var o=t.framebuffer,a=!1;function s(e){return e.contextDep&&r||e.propDep}o?(o.propDep?r=a=!0:o.contextDep&&r&&(a=!0),a||M(e,n,o)):M(e,n,null),t.state.viewport&&t.state.viewport.propDep&&(r=!0),F(e,n,t),H(e,n,t.state,(function(e){return!s(e)})),t.profile&&s(t.profile)||j(e,n,t,!1,"a1"),t.contextDep=r,t.needsContext=i,t.needsFramebuffer=a;var l=t.shader.progVar;if(l.contextDep&&r||l.propDep)K(e,n,t,null);else{var c=l.append(e,n);if(n(e.shared.gl,".useProgram(",c,".program);"),t.shader.program)K(e,n,t,t.shader.program);else{n(e.shared.vao,".setVAO(null);");var u=e.global.def("{}"),h=n.def(c,".id"),p=n.def(u,"[",h,"]");n(e.cond(p).then(p,".call(this,a0,a1);").else(p,"=",u,"[",h,"]=",e.link((function(n){return $(K,e,t,n,2)})),"(",c,");",p,".call(this,a0,a1);"))}}Object.keys(t.state).length>0&&n(e.shared.current,".dirty=true;")}(s,l),t(s.compile(),{destroy:function(){l.shader.program.destroy()}})}}}var Ji=function(e,t){if(!t.ext_disjoint_timer_query)return null;var n=[];function r(e){n.push(e)}var i=[];function o(){this.startQueryIndex=-1,this.endQueryIndex=-1,this.sum=0,this.stats=null}var a=[];function s(e){a.push(e)}var l=[];function c(e,t,n){var r=a.pop()||new o;r.startQueryIndex=e,r.endQueryIndex=t,r.sum=0,r.stats=n,l.push(r)}var u=[],h=[];return{beginQuery:function(e){var r=n.pop()||t.ext_disjoint_timer_query.createQueryEXT();t.ext_disjoint_timer_query.beginQueryEXT(35007,r),i.push(r),c(i.length-1,i.length,e)},endQuery:function(){t.ext_disjoint_timer_query.endQueryEXT(35007)},pushScopeStats:c,update:function(){var e,n,o=i.length;if(0!==o){h.length=Math.max(h.length,o+1),u.length=Math.max(u.length,o+1),u[0]=0,h[0]=0;var a=0;for(e=0,n=0;n0)if(Array.isArray(n[0])){s=ne(n);for(var u=1,h=1;h0)if("number"==typeof t[0]){var o=G.allocType(p.dtype,t.length);ce(o,t),f(o,i),G.freeType(o)}else if(Array.isArray(t[0])||e(t[0])){r=ne(t);var a=te(t,r,p.dtype);f(a,i),G.freeType(a)}else R.raise("invalid buffer data")}else if(V(t)){r=t.shape;var s=t.stride,l=0,c=0,u=0,h=0;1===r.length?(l=r[0],c=1,u=s[0],h=0):2===r.length?(l=r[0],c=r[1],u=s[0],h=s[1]):R.raise("invalid shape");var m=Array.isArray(t.data)?p.dtype:le(t.data),g=G.allocType(m,l*c);ue(g,t.data,l,c,u,h,t.offset),f(g,i),G.freeType(g)}else R.raise("invalid data for buffer subdata");return d},r.profile&&(d.stats=p.stats),d.destroy=function(){h(p)},d},createStream:function(e,t){var n=l.pop();return n||(n=new s(e)),n.bind(),u(n,t,ie,0,1,!1),n},destroyStream:function(e){l.push(e)},clear:function(){K(a).forEach(h),l.forEach(h)},getBuffer:function(e){return e&&e._buffer instanceof s?e._buffer:null},restore:function(){K(a).forEach((function(e){e.buffer=t.createBuffer(),t.bindBuffer(e.type,e.buffer),t.bufferData(e.type,e.persistentData||e.byteLength,e.usage)}))},_initBuffer:u}}(i,h,r,(function(e){return b.destroyBuffer(e)})),b=function(t,n,r,i,o){for(var a=r.maxAttributes,s=new Array(a),l=0;l0,"must specify at least one attribute");var i={},l=r.attributes;l.length=t.length;for(var c=0;c=d.byteLength?u.subdata(d):(u.destroy(),r.buffers[c]=null)),r.buffers[c]||(u=r.buffers[c]=o.create(h,Nn,!1,!0)),p.buffer=o.getBuffer(u),p.size=0|p.buffer.dimension,p.normalized=!1,p.type=p.buffer.dtype,p.offset=0,p.stride=0,p.divisor=0,p.state=1,i[c]=1):o.getBuffer(h)?(p.buffer=o.getBuffer(h),p.size=0|p.buffer.dimension,p.normalized=!1,p.type=p.buffer.dtype,p.offset=0,p.stride=0,p.divisor=0,p.state=1):o.getBuffer(h.buffer)?(p.buffer=o.getBuffer(h.buffer),p.size=0|(+h.size||p.buffer.dimension),p.normalized=!!h.normalized||!1,"type"in h?(R.parameter(h.type,J,"invalid buffer type"),p.type=J[h.type]):p.type=p.buffer.dtype,p.offset=0|(h.offset||0),p.stride=0|(h.stride||0),p.divisor=0|(h.divisor||0),p.state=1,R(p.size>=1&&p.size<=4,"size must be between 1 and 4"),R(p.offset>=0,"invalid offset"),R(p.stride>=0&&p.stride<=255,"stride must be between 0 and 255"),R(p.divisor>=0,"divisor must be positive"),R(!p.divisor||!!n.angle_instanced_arrays,"ANGLE_instanced_arrays must be enabled to use divisor")):"x"in h?(R(c>0,"first attribute must not be a constant"),p.x=+h.x||0,p.y=+h.y||0,p.z=+h.z||0,p.w=+h.w||0,p.state=2):R(!1,"invalid attribute spec for location "+c)}for(var f=0;f>=1:h===be&&(d>>=2)),i.vertCount=d;var f=s;if(s<0){f=fe;var m=i.buffer.dimension;1===m&&(f=pe),2===m&&(f=de),3===m&&(f=fe)}i.primType=f}function h(e){i.elementsCount--,R(null!==e.buffer,"must not double destroy elements"),delete o[e.id],e.buffer.destroy(),e.buffer=null}return{create:function(t,n){var o=r.create(null,Ee,!0),a=new l(o._buffer);function c(t){if(t)if("number"==typeof t)o(t),a.primType=fe,a.vertCount=0|t,a.type=ge;else{var n=null,r=xe,i=-1,l=-1,h=0,p=0;Array.isArray(t)||e(t)||V(t)?n=t:(R.type(t,"object","invalid arguments for elements"),"data"in t&&(n=t.data,R(Array.isArray(n)||e(n)||V(n),"invalid data for element buffer")),"usage"in t&&(R.parameter(t.usage,ee,"invalid element buffer usage"),r=ee[t.usage]),"primitive"in t&&(R.parameter(t.primitive,he,"invalid element buffer primitive"),i=he[t.primitive]),"count"in t&&(R("number"==typeof t.count&&t.count>=0,"invalid vertex count for elements"),l=0|t.count),"type"in t&&(R.parameter(t.type,s,"invalid buffer type"),p=s[t.type]),"length"in t?h=0|t.length:(h=l,p===ve||p===ye?h*=2:p!==be&&p!==_e||(h*=4))),u(a,n,r,i,l,h,p)}else o(),a.primType=fe,a.vertCount=0,a.type=ge;return c}return i.elementsCount++,c(t),c._reglType="elements",c._elements=a,c.subdata=function(e,t){return o.subdata(e,t),c},c.destroy=function(){h(a)},c},createStream:function(e){var t=c.pop();return t||(t=new l(r.create(null,Ee,!0,!1)._buffer)),u(t,e,Te,-1,-1,0,0),t},destroyStream:function(e){c.push(e)},getElements:function(e){return"function"==typeof e&&e._elements instanceof l?e._elements:null},clear:function(){K(o).forEach(h)}}}(i,p,_,h),T=function(e,n,r,i){var o={},a={};function s(e,t,n,r){this.name=e,this.id=t,this.location=n,this.info=r}function l(e,t){for(var n=0;n1)for(var y=0;ye&&(e=t.stats.uniformsCount)})),e},r.getMaxAttributesCount=function(){var e=0;return h.forEach((function(t){t.stats.attributesCount>e&&(e=t.stats.attributesCount)})),e}),{clear:function(){var t=e.deleteShader.bind(e);K(o).forEach(t),o={},K(a).forEach(t),a={},h.forEach((function(t){e.deleteProgram(t.program)})),h.length=0,u={},r.shaderCount=0},program:function(n,i,s,l){R.command(n>=0,"missing vertex shader",s),R.command(i>=0,"missing fragment shader",s);var c=u[i];c||(c=u[i]={});var p=c[n];if(p&&(p.refCount++,!l))return p;var m=new d(i,n);return r.shaderCount++,f(m,s,l),p||(c[n]=m),h.push(m),t(m,{destroy:function(){if(m.refCount--,m.refCount<=0){e.deleteProgram(m.program);var t=h.indexOf(m);h.splice(t,1),r.shaderCount--}c[m.vertId].refCount<=0&&(e.deleteShader(a[m.vertId]),delete a[m.vertId],delete u[m.fragId][m.vertId]),Object.keys(u[m.fragId]).length||(e.deleteShader(o[m.fragId]),delete o[m.fragId],delete u[m.fragId])}})},restore:function(){o={},a={};for(var e=0;e=2,"invalid renderbuffer shape"),s=0|d[0],l=0|d[1]}else"radius"in p&&(s=l=0|p.radius),"width"in p&&(s=0|p.width),"height"in p&&(l=0|p.height);"format"in p&&(R.parameter(p.format,o,"invalid renderbuffer format"),c=o[p.format])}else"number"==typeof t?(s=0|t,l="number"==typeof r?0|r:s):t?R.raise("invalid arguments to renderbuffer constructor"):s=l=1;if(R(s>0&&l>0&&s<=n.maxRenderbufferSize&&l<=n.maxRenderbufferSize,"invalid renderbuffer size"),s!==u.width||l!==u.height||c!==u.format)return h.width=u.width=s,h.height=u.height=l,u.format=c,e.bindRenderbuffer(ln,u.renderbuffer),e.renderbufferStorage(ln,c,s,l),R(0===e.getError(),"invalid render buffer format"),i.profile&&(u.stats.size=hn(u.format,u.width,u.height)),h.format=a[u.format],h}return l[u.id]=u,r.renderbufferCount++,h(t,s),h.resize=function(t,r){var o=0|t,a=0|r||o;return o===u.width&&a===u.height||(R(o>0&&a>0&&o<=n.maxRenderbufferSize&&a<=n.maxRenderbufferSize,"invalid renderbuffer size"),h.width=u.width=o,h.height=u.height=a,e.bindRenderbuffer(ln,u.renderbuffer),e.renderbufferStorage(ln,u.format,o,a),R(0===e.getError(),"invalid render buffer format"),i.profile&&(u.stats.size=hn(u.format,u.width,u.height))),h},h._reglType="renderbuffer",h._renderbuffer=u,i.profile&&(h.stats=u.stats),h.destroy=function(){u.decRef()},h},clear:function(){K(l).forEach(u)},restore:function(){K(l).forEach((function(t){t.renderbuffer=e.createRenderbuffer(),e.bindRenderbuffer(ln,t.renderbuffer),e.renderbufferStorage(ln,t.format,t.width,t.height)})),e.bindRenderbuffer(ln,null)}}}(i,p,v,h,r),C=function(e,n,r,i,o,a){var s={cur:null,next:null,dirty:!1,setFBO:null},l=["rgba"],c=["rgba4","rgb565","rgb5 a1"];n.ext_srgb&&c.push("srgba"),n.ext_color_buffer_half_float&&c.push("rgba16f","rgb16f"),n.webgl_color_buffer_float&&c.push("rgba32f");var u=["uint8"];function h(e,t,n){this.target=e,this.texture=t,this.renderbuffer=n;var r=0,i=0;t?(r=t.width,i=t.height):n&&(r=n.width,i=n.height),this.width=r,this.height=i}function p(e){e&&(e.texture&&e.texture._texture.decRef(),e.renderbuffer&&e.renderbuffer._renderbuffer.decRef())}function d(e,t,n){if(e)if(e.texture){var r=e.texture._texture,i=Math.max(1,r.width),o=Math.max(1,r.height);R(i===t&&o===n,"inconsistent width/height for supplied texture"),r.refCount+=1}else{var a=e.renderbuffer._renderbuffer;R(a.width===t&&a.height===n,"inconsistent width/height for renderbuffer"),a.refCount+=1}}function f(t,n){n&&(n.texture?e.framebufferTexture2D(pn,t,n.target,n.texture._texture.texture,0):e.framebufferRenderbuffer(pn,t,dn,n.renderbuffer._renderbuffer.renderbuffer))}function m(e){var t=fn,n=null,r=null,i=e;"object"==typeof e&&(i=e.data,"target"in e&&(t=0|e.target)),R.type(i,"function","invalid attachment data");var o=i._reglType;return"texture2d"===o?(n=i,R(t===fn)):"textureCube"===o?(n=i,R(t>=mn&&t=2,"invalid shape for framebuffer"),a=I[0],p=I[1]}else"radius"in N&&(a=p=N.radius),"width"in N&&(a=N.width),"height"in N&&(p=N.height);("color"in N||"colors"in N)&&(_=N.color||N.colors,Array.isArray(_)&&R(1===_.length||n.webgl_draw_buffers,"multiple render targets not supported")),_||("colorCount"in N&&(C=0|N.colorCount,R(C>0,"invalid color buffer count")),"colorTexture"in N&&(b=!!N.colorTexture,E="rgba4"),"colorType"in N&&(x=N.colorType,b?(R(n.oes_texture_float||!("float"===x||"float32"===x),"you must enable OES_texture_float in order to use floating point framebuffer objects"),R(n.oes_texture_half_float||!("half float"===x||"float16"===x),"you must enable OES_texture_half_float in order to use 16-bit floating point framebuffer objects")):"half float"===x||"float16"===x?(R(n.ext_color_buffer_half_float,"you must enable EXT_color_buffer_half_float to use 16-bit render buffers"),E="rgba16f"):"float"!==x&&"float32"!==x||(R(n.webgl_color_buffer_float,"you must enable WEBGL_color_buffer_float in order to use 32-bit floating point renderbuffers"),E="rgba32f"),R.oneOf(x,u,"invalid color type")),"colorFormat"in N&&(E=N.colorFormat,l.indexOf(E)>=0?b=!0:c.indexOf(E)>=0?b=!1:b?R.oneOf(N.colorFormat,l,"invalid color format for texture"):R.oneOf(N.colorFormat,c,"invalid color format for renderbuffer"))),("depthTexture"in N||"depthStencilTexture"in N)&&(O=!(!N.depthTexture&&!N.depthStencilTexture),R(!O||n.webgl_depth_texture,"webgl_depth_texture extension not supported")),"depth"in N&&("boolean"==typeof N.depth?f=N.depth:(A=N.depth,v=!1)),"stencil"in N&&("boolean"==typeof N.stencil?v=N.stencil:(w=N.stencil,f=!1)),"depthStencil"in N&&("boolean"==typeof N.depthStencil?f=v=N.depthStencil:(L=N.depthStencil,f=!1,v=!1))}else a=p=1;var k=null,D=null,P=null,M=null;if(Array.isArray(_))k=_.map(m);else if(_)k=[m(_)];else for(k=new Array(C),i=0;i=0||k[i].renderbuffer&&wn.indexOf(k[i].renderbuffer._renderbuffer.format)>=0,"framebuffer color attachment "+i+" is invalid"),k[i]&&k[i].texture){var H=xn[k[i].texture._texture.format]*Sn[k[i].texture._texture.type];null===F?F=H:R(F===H,"all color attachments much have the same number of bits per pixel.")}return d(D,a,p),R(!D||D.texture&&D.texture._texture.format===En||D.renderbuffer&&D.renderbuffer._renderbuffer.format===Cn,"invalid depth attachment for framebuffer object"),d(P,a,p),R(!P||P.renderbuffer&&P.renderbuffer._renderbuffer.format===An,"invalid stencil attachment for framebuffer object"),d(M,a,p),R(!M||M.texture&&M.texture._texture.format===Rn||M.renderbuffer&&M.renderbuffer._renderbuffer.format===Rn,"invalid depth-stencil attachment for framebuffer object"),T(o),o.width=a,o.height=p,o.colorAttachments=k,o.depthAttachment=D,o.stencilAttachment=P,o.depthStencilAttachment=M,h.color=k.map(y),h.depth=y(D),h.stencil=y(P),h.depthStencil=y(M),h.width=o.width,h.height=o.height,S(o),h}return a.framebufferCount++,h(e,i),t(h,{resize:function(e,t){R(s.next!==o,"can not resize a framebuffer which is currently in use");var n=Math.max(0|e,1),r=Math.max(0|t||n,1);if(n===o.width&&r===o.height)return h;for(var i=o.colorAttachments,a=0;a=2,"invalid shape for framebuffer"),R(v[0]===v[1],"cube framebuffer must be square"),p=v[0]}else"radius"in y&&(p=0|y.radius),"width"in y?(p=0|y.width,"height"in y&&R(y.height===p,"must be square")):"height"in y&&(p=0|y.height);("color"in y||"colors"in y)&&(d=y.color||y.colors,Array.isArray(d)&&R(1===d.length||n.webgl_draw_buffers,"multiple render targets not supported")),d||("colorCount"in y&&(g=0|y.colorCount,R(g>0,"invalid color buffer count")),"colorType"in y&&(R.oneOf(y.colorType,u,"invalid color type"),m=y.colorType),"colorFormat"in y&&(f=y.colorFormat,R.oneOf(y.colorFormat,l,"invalid color format for texture"))),"depth"in y&&(h.depth=y.depth),"stencil"in y&&(h.stencil=y.stencil),"depthStencil"in y&&(h.depthStencil=y.depthStencil)}else p=1;if(d)if(Array.isArray(d))for(c=[],r=0;r0&&(h.depth=o[0].depth,h.stencil=o[0].stencil,h.depthStencil=o[0].depthStencil),o[r]?o[r](h):o[r]=C(h)}return t(a,{width:p,height:p,color:c})}return a(e),t(a,{faces:o,resize:function(e){var t,n=0|e;if(R(n>0&&n<=r.maxCubeMapSize,"invalid radius for cube fbo"),n===a.width)return a;var i=a.color;for(t=0;t=0;--e){var t=N[e];t&&t(y,null,0)}i.flush(),d&&d.update()}function j(){!B&&N.length>0&&(B=D.next(U))}function q(){B&&(D.cancel(U),B=null)}function X(e){e.preventDefault(),a=!0,q(),I.forEach((function(e){e()}))}function Z(e){i.getError(),a=!1,s.restore(),T.restore(),_.restore(),x.restore(),S.restore(),C.restore(),b.restore(),d&&d.restore(),A.procs.refresh(),j(),M.forEach((function(e){e()}))}function Q(e){function n(e,t){var n={},r={};return Object.keys(e).forEach((function(i){var o=e[i];if(k.isDynamic(o))r[i]=k.unbox(o,i);else{if(t&&Array.isArray(o))for(var a=0;a0)return h.call(this,function(e){for(;d.length=0,"cannot cancel a frame twice"),N[t]=function e(){var t=no(N,e);N[t]=N[N.length-1],N.length-=1,N.length<=0&&q()}}}}function Re(){var e=L.viewport,t=L.scissor_box;e[0]=e[1]=t[0]=t[1]=0,y.viewportWidth=y.framebufferWidth=y.drawingBufferWidth=e[2]=t[2]=i.drawingBufferWidth,y.viewportHeight=y.framebufferHeight=y.drawingBufferHeight=e[3]=t[3]=i.drawingBufferHeight}function we(){y.tick+=1,y.time=Oe(),Re(),A.procs.poll()}function Le(){x.refresh(),Re(),A.procs.refresh(),d&&d.update()}function Oe(){return(P()-f)/1e3}Le();var Ne=t(Q,{clear:function(e){if(R("object"==typeof e&&e,"regl.clear() takes an object as input"),"framebuffer"in e)if(e.framebuffer&&"framebufferCube"===e.framebuffer_reglType)for(var n=0;n<6;++n)Se(t({framebuffer:e.framebuffer.faces[n]},e),Ce);else Se(e,Ce);else Ce(0,e)},prop:k.define.bind(null,1),context:k.define.bind(null,2),this:k.define.bind(null,3),draw:Q({}),buffer:function(e){return _.create(e,34962,!1,!1)},elements:function(e){return E.create(e,!1)},texture:x.create2D,cube:x.createCube,renderbuffer:S.create,framebuffer:C.create,framebufferCube:C.createCube,vao:b.createVAO,attributes:o,frame:Ae,on:function(e,t){var n;switch(R.type(t,"function","listener callback must be a function"),e){case"frame":return Ae(t);case"lost":n=I;break;case"restore":n=M;break;case"destroy":n=F;break;default:R.raise("invalid event, must be one of frame,lost,restore,destroy")}return n.push(t),{cancel:function(){for(var e=0;e=0},read:w,destroy:function(){N.length=0,q(),O&&(O.removeEventListener(eo,X),O.removeEventListener(to,Z)),T.clear(),C.clear(),S.clear(),x.clear(),E.clear(),_.clear(),b.clear(),d&&d.clear(),F.forEach((function(e){e()}))},_gl:i,_refresh:Le,poll:function(){we(),d&&d.update()},now:Oe,stats:h});return r.onDone(null,Ne),Ne}}()},565:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SensorTabIndex=t.SensorClassName=t.SizeSensorId=void 0,t.SizeSensorId="size-sensor-id",t.SensorClassName="size-sensor-object",t.SensorTabIndex="-1"},5622:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:60,n=null;return function(){for(var r=this,i=arguments.length,o=new Array(i),a=0;a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=1;t.default=function(){return"".concat(n++)}},7224:(e,t,n)=>{"use strict";t.ak=void 0;var r=n(3536);t.ak=function(e,t){var n=(0,r.getSensor)(e);return n.bind(t),function(){n.unbind(t)}}},3536:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeSensor=t.getSensor=void 0;var r,i=(r=n(1604))&&r.__esModule?r:{default:r},o=n(7919),a=n(565),s={};t.getSensor=function(e){var t=e.getAttribute(a.SizeSensorId);if(t&&s[t])return s[t];var n=(0,i.default)();e.setAttribute(a.SizeSensorId,n);var r=(0,o.createSensor)(e);return s[n]=r,r},t.removeSensor=function(e){var t=e.element.getAttribute(a.SizeSensorId);e.element.removeAttribute(a.SizeSensorId),e.destroy(),t&&s[t]&&delete s[t]}},7919:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createSensor=void 0;var r=n(9451),i=n(3512),o="undefined"!=typeof ResizeObserver?i.createSensor:r.createSensor;t.createSensor=o},9451:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createSensor=void 0;var r,i=(r=n(5622))&&r.__esModule?r:{default:r},o=n(565);t.createSensor=function(e){var t=void 0,n=[],r=(0,i.default)((function(){n.forEach((function(t){t(e)}))})),a=function(){t&&t.parentNode&&(t.contentDocument&&t.contentDocument.defaultView.removeEventListener("resize",r),t.parentNode.removeChild(t),t=void 0,n=[])};return{element:e,bind:function(i){t||(t=function(){"static"===getComputedStyle(e).position&&(e.style.position="relative");var t=document.createElement("object");return t.onload=function(){t.contentDocument.defaultView.addEventListener("resize",r),r()},t.style.display="block",t.style.position="absolute",t.style.top="0",t.style.left="0",t.style.height="100%",t.style.width="100%",t.style.overflow="hidden",t.style.pointerEvents="none",t.style.zIndex="-1",t.style.opacity="0",t.setAttribute("class",o.SensorClassName),t.setAttribute("tabindex",o.SensorTabIndex),t.type="text/html",e.appendChild(t),t.data="about:blank",t}()),-1===n.indexOf(i)&&n.push(i)},destroy:a,unbind:function(e){var r=n.indexOf(e);-1!==r&&n.splice(r,1),0===n.length&&t&&a()}}}},3512:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createSensor=void 0;var r,i=(r=n(5622))&&r.__esModule?r:{default:r};t.createSensor=function(e){var t=void 0,n=[],r=(0,i.default)((function(){n.forEach((function(t){t(e)}))})),o=function(){t.disconnect(),n=[],t=void 0};return{element:e,bind:function(i){var o;t||((o=new ResizeObserver(r)).observe(e),r(),t=o),-1===n.indexOf(i)&&n.push(i)},destroy:o,unbind:function(e){var r=n.indexOf(e);-1!==r&&n.splice(r,1),0===n.length&&t&&o()}}}},9826:(e,t,n)=>{var r=n(158);function i(e,t){var n,i=null;if(!e||"string"!=typeof e)return i;for(var o,a,s=r(e),l="function"==typeof t,c=0,u=s.length;c{"use strict";var r=n(3656);t.__esModule=!0,t.isIOS=t.isAndroid=t.isWeb=t.isWechatApp=t.isMiniApp=t.isReactNative=t.isWeex=t.isNode=void 0;var i="undefined"!=typeof __sfc__,o="object"==typeof navigator&&("Mozilla"===navigator.appCodeName||"Gecko"===navigator.product),a=void 0!==r&&!(!r.versions||!r.versions.node);t.isNode=a;var s="function"==typeof callNative||"object"==typeof WXEnvironment&&"Web"!==WXEnvironment.platform;t.isWeex=s;var l="undefined"!=typeof __fbBatchedBridgeConfig;t.isReactNative=l;var c="object"==typeof my&&void 0!==my.getSystemInfo&&!i;t.isMiniApp=c;var u="object"==typeof wx&&void 0!==wx.getSystemInfo;t.isWechatApp=u;var h=o&&!c&&!u||i;t.isWeb=h;var p={};c&&(p=my.getSystemInfoSync()),u&&(p=wx.getSystemInfoSync()),s&&(p=navigator);var d=c||u||s?"android"===(p.platform||"").toLowerCase():!!h&&Boolean(navigator.userAgent.match(/android/i));t.isAndroid=d;var f=c||u||s?["ios","iOS","iPhone OS"].indexOf(p.platform)>-1:!!h&&Boolean(navigator.userAgent.match(/(iphone|ipod|ipad)/i));t.isIOS=f},8770:t=>{"use strict";t.exports=e},9835:e=>{"use strict";e.exports=t},3618:e=>{"use strict";e.exports=n},4725:e=>{"use strict";e.exports=r},1024:e=>{"use strict";e.exports=i},314:e=>{"use strict";e.exports=o},9479:e=>{"use strict";e.exports=a},2721:e=>{"use strict";e.exports=s},3321:()=>{},6964:(e,t,n)=>{var r=n(3606).default;function i(){"use strict";e.exports=i=function(){return t},e.exports.__esModule=!0,e.exports.default=e.exports;var t={},n=Object.prototype,o=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},s="function"==typeof Symbol?Symbol:{},l=s.iterator||"@@iterator",c=s.asyncIterator||"@@asyncIterator",u=s.toStringTag||"@@toStringTag";function h(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{h({},"")}catch(e){h=function(e,t,n){return e[t]=n}}function p(e,t,n,r){var i=t&&t.prototype instanceof m?t:m,o=Object.create(i.prototype),s=new w(r||[]);return a(o,"_invoke",{value:S(e,n,s)}),o}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var f={};function m(){}function g(){}function y(){}var v={};h(v,l,(function(){return this}));var _=Object.getPrototypeOf,b=_&&_(_(L([])));b&&b!==n&&o.call(b,l)&&(v=b);var E=y.prototype=m.prototype=Object.create(v);function T(e){["next","throw","return"].forEach((function(t){h(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(i,a,s,l){var c=d(e[i],e,a);if("throw"!==c.type){var u=c.arg,h=u.value;return h&&"object"==r(h)&&o.call(h,"__await")?t.resolve(h.__await).then((function(e){n("next",e,s,l)}),(function(e){n("throw",e,s,l)})):t.resolve(h).then((function(e){u.value=e,s(u)}),(function(e){return n("throw",e,s,l)}))}l(c.arg)}var i;a(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,i){n(e,r,t,i)}))}return i=i?i.then(o,o):o()}})}function S(e,t,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return{value:void 0,done:!0}}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=C(a,n);if(s){if(s===f)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=d(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===f)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function C(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,C(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var i=d(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,f;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function R(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function w(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function L(e){if(e){var t=e[l];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n=0;--r){var i=this.tryEntries[r],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=o.call(i,"catchLoc"),l=o.call(i,"finallyLoc");if(s&&l){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),R(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;R(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:L(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},t}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},3606:e=>{function t(n){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(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},1109:(e,t,n)=>{var r=n(6964)();e.exports=r;try{regeneratorRuntime=r}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},4722:(e,t,n)=>{"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);nr})},3192:(e,t,n)=>{"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:()=>r})},6838:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(1347);function i(e,t){for(var n=0;n{"use strict";n.d(t,{Z:()=>i});var r=n(1347);function i(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},3050:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;tr})},3659:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(6297);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t{"use strict";n.d(t,{Z:()=>i});var r=n(3146);function i(e,t){if(null==e)return{};var n,i,o=(0,r.Z)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}},3146:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}n.d(t,{Z:()=>r})},8535:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:()=>r})},5162:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(6198);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||(0,r.Z)(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.")}()}},9908:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(4722),i=n(6198);function o(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,i.Z)(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.")}()}},1347:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(7743);function i(e){var t=function(e,t){if("object"!==(0,r.Z)(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,"string");if("object"!==(0,r.Z)(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===(0,r.Z)(t)?t:String(t)}},7743:(e,t,n)=>{"use strict";function r(e){return r="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},r(e)}n.d(t,{Z:()=>r})},6198:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(4722);function i(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},6744:e=>{"use strict";e.exports=JSON.parse('{"advance.components.AddSheetbar.Component.PleaseUseThisFunctionIn":"Please use this function in the default canvas. Currently, the \\"add tab\\" function of other canvases is not supported.","advance.components.AddSheetbar.AddATab":"Add a tab","advance.components.AddSheetbar.registerMeta.AddTheSelectedNodesAnd":"Add the selected nodes and edges to the new canvas","advance.components.AddSheetbar.registerMeta.RelayoutOrNot":"Relayout or not","advance.components.AjustLayout.Component.GridLayout":"Grid Layout","advance.components.AjustLayout.Component.ConcentricCircleLayout":"Concentric circle layout","advance.components.AjustLayout.Component.HierarchicalLayout":"Hierarchical layout","advance.components.AjustLayout.Component.LayoutIndex":"Layout {index}","advance.components.AjustLayout.Component.SelectANode":"Select a node:","advance.components.AjustLayout.Component.SelectANode.1":"Select a node","advance.components.AjustLayout.Component.SelectLayout":"Select Layout:","advance.components.AjustLayout.Component.PleaseSelectALayout":"Please select a layout","advance.components.AjustLayout.Component.AddLayout":"Add Layout","advance.components.AjustLayout.Component.StartAdjustment":"Start adjustment","advance.components.AjustLayout.LayoutAdjustment":"Layout Adjustment","advance.components.AjustLayout.registerMeta.SubgraphLayout":"Subgraph layout","advance.components.AnalysisHistory.Component.FailedToObtainTheTemplate":"Failed to obtain the template list. No service is available to obtain the template.","advance.components.AnalysisHistory.Component.FailedToObtainTheAnalysis":"Failed to obtain the analysis history template list.","advance.components.AnalysisHistory.Component.SaveFailedThereIsNo":"Save failed. There is no service to save the template.","advance.components.AnalysisHistory.Component.TheHistoricalAnalysisLinkTemplate":"The historical analysis link template {name}({description}) has been saved. You can use the use analysis template in the lower-right corner.","advance.components.AnalysisHistory.Component.SaveFailed":"Save failed","advance.components.AnalysisHistory.Component.FailedToRemoveNoService":"Failed to remove, no service to remove the template","advance.components.AnalysisHistory.Component.HistoricalAnalysisLinkTemplateTitle":"Historical analysis link template {title} deleted successfully","advance.components.AnalysisHistory.Component.FailedToDelete":"Failed to delete","advance.components.AnalysisHistory.Component.ManageExistingTemplates":"Manage existing templates","advance.components.AnalysisHistory.Component.Delete":"Delete","advance.components.AnalysisHistory.Component.NoRecord":"No record","advance.components.AnalysisHistory.Component.HistoryList":"History list","advance.components.AnalysisHistory.Component.TheAnalysisTemplateIsDetected":"⭐◆ The analysis template is detected for this project. Click here to use it.","advance.components.AnalysisHistory.Component.UseAnalysisTemplates":"Use Analysis templates","advance.components.AnalysisHistory.Component.NoHistoryPleaseAnalyzeThe":"No history, please analyze the data first","advance.components.AnalysisHistory.Component.PrecipitationAnalysisHistory":"Precipitation Analysis history","advance.components.AnalysisHistory.ConfigurePanel.Description":"Description:","advance.components.AnalysisHistory.ConfigurePanel.None":"None","advance.components.AnalysisHistory.ConfigurePanel.ClickANodeToConfigure":"Click a node to configure parameters.","advance.components.AnalysisHistory.ParamterizePanel.WhenSwipingTheSelectedText":"When swiping the selected text, lift the mouse within the range of the parameter value text to complete the parameterized","advance.components.AnalysisHistory.ParamterizePanel.BoxSelectionDoNotSpan":"Box selection do not span parameterized content","advance.components.AnalysisHistory.ParamterizePanel.FailedToNameTheVariable":"Failed to name. The variable name must start with a letter and contain no special characters.","advance.components.AnalysisHistory.ParamterizePanel.NamingFailedDuplicateParameterNaming":"Naming failed. Duplicate parameter naming cannot be used in one parameter.","advance.components.AnalysisHistory.ParamterizePanel.Description":"Description:","advance.components.AnalysisHistory.ParamterizePanel.AuxiliaryDescriptionOfTheHistory":"Auxiliary description of the history","advance.components.AnalysisHistory.ParamterizePanel.ClickTheValueInThe":"Click the value in the object to parameterize it.","advance.components.AnalysisHistory.ParamterizePanel.SelectSomeTextToParameterize":"Select some text to parameterize","advance.components.AnalysisHistory.ParamterizePanel.NameEnglish":"Name (English)","advance.components.AnalysisHistory.ParamterizePanel.NameTheParameter":"Name the parameter","advance.components.AnalysisHistory.ParamterizePanel.EnterAName":"Enter a name","advance.components.AnalysisHistory.ParamterizePanel.Description.1":"Description","advance.components.AnalysisHistory.ParamterizePanel.AuxiliaryDescriptionOfThisParameter":"Auxiliary description of this parameter","advance.components.AnalysisHistory.ParamterizePanel.Cancel":"Cancel","advance.components.AnalysisHistory.ParamterizePanel.Ok":"OK","advance.components.AnalysisHistory.ParamterizePanel.Parameterized":"Parameterized","advance.components.AnalysisHistory.ParamterizePanel.ClickANodeToConfigure":"Click a node to configure parameters.","advance.components.AnalysisHistory.ParamterizePanel.ClickHistoryFromTheLeft":"Click History from the left timeline to add a template","advance.components.AnalysisHistory.TemplateDrawer.AssetComponentidIsNotFound":"Asset {componentId} is not found. Please configure it in the canvas first.","advance.components.AnalysisHistory.TemplateDrawer.TheCurrentNodeFailedTo":"The current node failed to execute. Re-execute the node from scratch.","advance.components.AnalysisHistory.TemplateDrawer.AnalysisLinkTemplate":"Analysis link template","advance.components.AnalysisHistory.TemplateDrawer.SelectTemplate":"Select Template","advance.components.AnalysisHistory.TemplateDrawer.ExecutionMethod":"Execution method","advance.components.AnalysisHistory.TemplateDrawer.AutomaticStepByStepExecution":"Automatic step-by-step execution","advance.components.AnalysisHistory.TemplateDrawer.ManualStepByStepExecution":"Manual step-by-step execution","advance.components.AnalysisHistory.TemplateDrawer.DoNotConfigureUseDefault":"Do not configure, use default parameters to execute","advance.components.AnalysisHistory.TemplateModal.Start":"Start","advance.components.AnalysisHistory.TemplateModal.End":"End","advance.components.AnalysisHistory.TemplateModal.ThereIsNoContentTo":"There is no content to save. Please add the history to the template first.","advance.components.AnalysisHistory.TemplateModal.Save":"Save","advance.components.AnalysisHistory.TemplateModal.Name":"Name","advance.components.AnalysisHistory.TemplateModal.NameTheTemplate":"Name the template","advance.components.AnalysisHistory.TemplateModal.EnterATemplateName":"Enter a Template name","advance.components.AnalysisHistory.TemplateModal.Description":"Description","advance.components.AnalysisHistory.TemplateModal.AuxiliaryDescription":"Auxiliary description","advance.components.AnalysisHistory.TemplateModal.Ok":"OK","advance.components.AnalysisHistory.TemplateModal.AnalysisTemplatesStoredAsWorkbook":"Analysis templates stored as Workbook","advance.components.AnalysisHistory.TemplateModal.PrecipitationAnalysisHistory":"Precipitation Analysis history","advance.components.AnalysisHistory.TemplateModal.SaveAndCloseTheDialog":"Save and close the dialog box","advance.components.AnalysisHistory.TemplateModal.Close":"Close","advance.components.AnalysisHistory.TemplateModal.NoHistoryIsAvailablePlease":"No history is available. Please perform operations on the graph first.","advance.components.AnalysisHistory.TemplateModal.OperationHistory":"Operation History","advance.components.AnalysisHistory.TemplateModal.SelectRecordsOnTheTimeline":"Select Records on the timeline to add them to the analysis link template.","advance.components.AnalysisHistory.TemplateModal.AnalysisLinkTemplate":"Analysis link template","advance.components.AnalysisHistory.info.AnalyzeHistoricalPrecipitation":"Analyze historical precipitation","advance.components.AnalysisHistory.info.RecordsTheAnalysisHistoryAnd":"Records the analysis history and can be deposited as a template.","advance.components.AnalysisHistory.registerMeta.SaveAnalysisHistoryTemplateService":"Save analysis History Template service","advance.components.AnalysisHistory.registerMeta.ReadAnalysisHistoryTemplateList":"Read analysis history template list service","advance.components.AnalysisHistory.registerMeta.DeleteAnalysisHistoryTemplateService":"Delete analysis History Template service","advance.components.AnalysisHistory.registerMeta.PlacementOrientation":"Placement orientation","advance.components.AnalysisHistory.registerMeta.Top":"Top","advance.components.AnalysisHistory.registerMeta.Bottom":"Bottom","advance.components.AnalysisHistory.registerMeta.HistoryBarHeight":"History bar height","advance.components.AnalysisHistory.util.Query":"Query","advance.components.AnalysisHistory.util.Analysis":"Analysis","advance.components.AnalysisHistory.util.Configuration":"Configuration","advance.components.AnalysisHistory.util.UnparameterizedContentCannotBeModified":"Unparameterized content cannot be modified","advance.components.Assistant.Component.NoDataFound":"No data found","advance.components.Assistant.Component.SetApiKeyFirst":"Set API Key first","advance.components.Assistant.Component.StartQueryingGraphData":"Start querying graph data...","advance.components.Assistant.Component.AiAssistant":"AI assistant","advance.Assistant.Dialog.input.AiAssistantServesYou":"AI assistant serves you","advance.Assistant.Dialog.input.NewConversation":"New Conversation","advance.Assistant.Header.StopQuery":"Stop query","advance.components.Assistant.info.AiAssistant":"AI assistant","advance.components.Assistant.registerMeta.DataService":"Data Service","advance.components.Assistant.registerMeta.Size":"Size","advance.components.Assistant.registerMeta.Location":"Location","advance.components.Assistant.registerMeta.UpperLeft":"Upper left","advance.components.Assistant.registerMeta.UpperRight":"Upper right","advance.components.Assistant.registerMeta.LowerLeft":"Lower left","advance.components.Assistant.registerMeta.LowerRight":"Lower right","advance.components.Assistant.registerMeta.Offset":"Offset","advance.components.Assistant.registerMeta.Draggable":"Draggable","advance.components.Assistant.registerMeta.Welcome":"Welcome","advance.components.Assistant.registerMeta.HelloIAmGraphinsightAssistant":"Hello! I am GraphInsight assistant. Do you have any questions or requirements about GraphInsight?","advance.components.Assistant.registerMeta.PromptWords":"Prompt words","advance.components.Assistant.registerMeta.SupportedVariablesGraphschemaUsageGraphschema":"Supported variables: graphSchema, usage: \\"${graphSchema}\\"","advance.components.Assistant.registerMeta.GraphinsightIsAnExtensibleGraph":"GraphInsight is an extensible graph visual analysis platform, including functional modules such as data source management, composition, personalized configuration of graph elements, and graph visual analysis.","advance.components.Assistant.registerMeta.YourTaskIsToAct":"Your task is to act as an assistant robot to provide guidelines for GraphInsight of users, including generating corresponding Cypher Query statements according to their needs.","advance.components.Assistant.registerMeta.CypherStatementIsAppliedTo":"Cypher statement is applied to Neo4j declarative graph query language","advance.components.Assistant.registerMeta.ForExampleWhenAUser":"For example, when a user says \\"I want to find the most answered question\\", you can give a query in the following way:","advance.components.Assistant.registerMeta.NoteThatYouOnlyNeed":"Note that you only need to return the query node. You do not need to query attributes.","advance.components.Assistant.registerMeta.TheDataInformationOfThe":"The data information of the graph viewed by the current user is as follows:","advance.components.Assistant.registerMeta.PleaseDoNotAnswerQuestions":"Please do not answer questions unrelated to GraphInsight.","advance.components.Assistant.registerMeta.YouOnlyNeedToGive":"You only need to give the query code based on the user\'s answer and inform the user that the query is being made for you without too much explanation.","advance.components.Assistant.registerMeta.StartTheConversationWithThe":"Start the conversation with the user.","advance.components.CypherQuery.Component.QueryFailed":"Query failed","advance.components.CypherQuery.Component.PublishAsATemplate":"Publish as a template","advance.components.CypherQuery.Component.ExecuteAQuery":"Execute a query","advance.components.CypherQuery.info.CypherStatementQuery":"Cypher statement query","advance.components.CypherQuery.info.DataQueryModule":"Data Query module","advance.components.CypherQuery.registerMeta.DataService":"Data Service","advance.components.CypherQuery.registerMeta.QueryLimits":"Query limits","advance.components.CypherQuery.registerMeta.PublishAsATemplate":"Publish as a template","advance.components.CypherQuery.registerMeta.PublishTemplateService":"Publish Template service","advance.components.CypherQuery.registerMeta.InitialStatement":"Initial statement","advance.components.EdgeBundling.EdgeBinding":"Edge binding","advance.components.GraphAnnotation.Component.Red":"Red","advance.components.GraphAnnotation.Component.Green":"Green","advance.components.GraphAnnotation.Component.Blue":"Blue","advance.components.GraphAnnotation.Component.Yellow":"Yellow","advance.components.GraphAnnotation.Component.Black":"Black","advance.components.GraphAnnotation.Component.Cancel":"Cancel","advance.components.GraphAnnotation.Component.Node":"Node","advance.components.GraphAnnotation.Component.Edge":"Edge","advance.components.GraphAnnotation.Component.NodeGrouping":"Node grouping","advance.components.GraphAnnotation.Component.Canvas":"Canvas","advance.components.GraphAnnotation.Component.DoubleClickHereToStart":"Double-click here to start editing","advance.components.GraphAnnotation.Component.LabelMenuitemnameitemtype":"Label {menuItemNameItemType}","advance.components.GraphAnnotation.Component.MarkMenuitemnameitemtype":"Mark {menuItemNameItemType}","advance.components.GraphAnnotation.Menu":"MENU","advance.components.GraphAnnotation.FigureAnnotationOftenIntegratedIn":"Figure annotation, often integrated in the right-click menu","advance.components.GraphAnnotation.registerMeta.MarkNodesAtTheSame":"Mark nodes at the same time","advance.components.GraphAnnotation.registerMeta.WhenYouClickANode":"When you click a node marker","advance.components.GraphAnnotation.registerMeta.MarkNodesOnlyYouCannot":"Mark nodes only. You cannot add labels.","advance.components.GraphAnnotation.registerMeta.AddOnlyLabelsNotNodes":"Add only labels, not nodes","advance.components.GraphAnnotation.registerMeta.LabelingMethod":"Labeling method","advance.components.GremlinPathQuery.Component.ShortestPath":"Shortest path","advance.components.GremlinPathQuery.Component.QueryTheShortestPathBetween":"Query the shortest path between two nodes","advance.components.GremlinPathQuery.Component.StartNode":"Start node","advance.components.GremlinPathQuery.Component.TargetNode":"Target node","advance.components.GremlinPathQuery.Component.MaximumDegree":"Maximum degree","advance.components.GremlinPathQuery.Component.LimitTheNumberOfPaths":"Limit the number of paths","advance.components.GremlinPathQuery.Component.LoopDetection":"Loop detection","advance.components.GremlinPathQuery.Component.ChecksWhetherOneOrTwo":"Checks whether one or two nodes are in the loop and queries the loop.","advance.components.GremlinPathQuery.Component.TargetNode.1":"Target node 1","advance.components.GremlinPathQuery.Component.TargetNode.2":"Target node 2","advance.components.GremlinPathQuery.Component.CommonNeighbor":"Common neighbor","advance.components.GremlinPathQuery.Component.EnterTparametername":"Enter {tParameterName}","advance.components.GremlinPathQuery.Component.PleaseLookForward":"Please look forward","advance.components.GremlinPathQuery.Component.TheQueryTemplateDoesNot":"The query template does not exist in this project.","advance.components.GremlinPathQuery.Component.GremlinTemplateQueryFailed":"Gremlin template query failed","advance.components.GremlinPathQuery.Component.GremlinTemplateQuery":"Gremlin template query","advance.components.GremlinPathQuery.Component.PathQuery":"Path query","advance.components.GremlinPathQuery.Component.PathList":"Path list","advance.components.GremlinPathQuery.Component.SelectAPathTemplate":"Select a path Template","advance.components.GremlinPathQuery.Component.Description":"Description","advance.components.GremlinPathQuery.Component.Parameter":"Parameter","advance.components.GremlinPathQuery.Component.QueryStatement":"Query statement","advance.components.GremlinPathQuery.Component.Query":"Query","advance.components.GremlinPathQuery.GremlinTemplateStatementQueryPanel":"Gremlin template statement query panel","advance.components.GremlinPathQuery.QuicklyQueryGraphDataThrough":"Quickly query graph data through Gremlin template statements","advance.components.GremlinPathQuery.registerMeta.GremlinQueryTemplate":"Gremlin query Template","advance.components.GremlinPathQuery.registerMeta.DataService":"Data Service","advance.components.GremlinQuery.Component.FailedToExecuteGremlinQuery":"Failed to execute Gremlin query","advance.components.GremlinQuery.Component.FailureReasonResultmessage":"Failure Reason:{resultMessage}","advance.components.GremlinQuery.Component.PublishAsATemplate":"Publish as a template","advance.components.GremlinQuery.Component.ExecuteAQuery":"Execute a query","advance.components.GremlinQuery.Component.LimitConfigTip":"The suffix will be appended to gremlin code: .limt({value})","advance.components.GremlinQuery.Component.TimeoutConfigTip":"The constraint will be added to gremlin code: .with(\'evaluationTimeout\', {value})","advance.components.GremlinQuery.info.GremlinQuery":"Gremlin query","advance.components.GremlinQuery.info.QueryGraphDataThroughGremlin":"Query graph data through Gremlin statements","advance.components.GremlinQuery.registerMeta.DataService":"Data Service","advance.components.GremlinQuery.registerMeta.PublishAsATemplate":"Publish as a template","advance.components.GremlinQuery.registerMeta.IsShowLimit":"Limit Configurable","advance.components.GremlinQuery.registerMeta.IsShowTimeout":"Timeout Configurable","advance.components.GremlinQuery.registerMeta.PublishTemplateService":"Publish Template service","advance.components.GremlinQuery.registerMeta.InitialQuery":"Initial query","advance.components.GremlinQuery.registerMeta.Height":"Height","advance.components.JSONMode.info.CodeMode":"Code mode","advance.components.JSONMode.info.ShowDataInCode":"Show data in code","advance.components.JSONMode.registerMeta.StyleTheme":"Style theme","advance.components.ModeSwitch.Component.CanvasMode":"Canvas mode","advance.components.ModeSwitch.ModeSwitching":"Mode switching","advance.components.ModeSwitch.IntegratesMultipleAnalysisModesAnd":"Integrates multiple analysis modes and supports switching","advance.components.ModeSwitch.registerMeta.IntegratedComponents":"Integrated Components","advance.components.ModeSwitch.registerMeta.PlacementOrientation":"Placement orientation","advance.components.ModeSwitch.registerMeta.TopLeftTop":"top left/top","advance.components.ModeSwitch.registerMeta.TopRightRight":"Top right/right","advance.components.ModeSwitch.registerMeta.LowerLeftLeft":"Lower left/left","advance.components.ModeSwitch.registerMeta.BottomRightBottom":"bottom right/bottom","advance.components.ModeSwitch.registerMeta.OffsetDistance":"Offset distance","advance.components.PublishTemplate.SelectAServiceToPublish":"Select a service to publish as a template","advance.components.PublishTemplate.ParameterizeExistingParametersAndOverwrite":"Parameterize existing parameters and overwrite existing parameters.","advance.components.PublishTemplate.TheTemplateNameIsEmpty":"The template name is empty or the format is incorrect!","advance.components.PublishTemplate.TemplatePublishedSuccessfully":"Template published successfully","advance.components.PublishTemplate.ParameterName":"Parameter name","advance.components.PublishTemplate.Type":"Type","advance.components.PublishTemplate.ReplacementValue":"Replacement value","advance.components.PublishTemplate.Operation":"Operation","advance.components.PublishTemplate.AreYouSureYouWant":"Are you sure you want to delete it?","advance.components.PublishTemplate.Ok":"OK","advance.components.PublishTemplate.Cancel":"Cancel","advance.components.PublishTemplate.PublishAsATemplate":"Publish as a template","advance.components.PublishTemplate.Publish":"Publish","advance.components.PublishTemplate.TemplateName":"Template name","advance.components.PublishTemplate.TheTemplateNameCanOnly":"The template name can only contain letters, numbers, or underscores, and can only start with a letter.","advance.components.PublishTemplate.OriginalStatement":"Original statement","advance.components.PublishTemplate.SelectTheContentToBe":"Select the content to be parameterized, and then click the parameterized button on the right to proceed to the next step.","advance.components.PublishTemplate.SelectTheParameterValueIn":"Select the parameter value in {fileType} and perform a parameterized operation.","advance.components.PublishTemplate.Parameterized":"Parameterized","advance.components.PublishTemplate.TemplateStatement":"Template statement","advance.components.PublishTemplate.ParameterList":"Parameter list","advance.components.PublishTemplate.TemplateDescription":"Template description","advance.components.PublishTemplate.FiletypeParameterized":"{fileType} parameterized","advance.components.PublishTemplate.EnterTheNameOfThe":"Enter the name of the parameter!","advance.components.PublishTemplate.ParameterType":"Parameter type","advance.components.PublishTemplate.SelectAParameterType":"Select a parameter type!","advance.components.Redo.info.Redo":"Redo","advance.components.Redo.info.RedoTheCanvasEntersThe":"Redo, the canvas enters the next state","advance.components.SearchBar.Component.Type":"Type:","advance.components.SearchBar.Component.All":"All","advance.components.SearchBar.Component.Properties":"Properties:","advance.components.SearchBar.Component.EnterAnAttributeValue":"Enter an attribute value","advance.components.SearchBar.IsoGqlSearchBox":"ISO-GQL search box","advance.components.SearchBar.UseIsoGqlStatementsTo":"Use ISO-GQL statements to quickly query graph data","advance.components.SearchBar.registerMeta.SearchBar":"Search bar","advance.components.SearchBar.registerMeta.DataService":"Data Service","advance.components.SearchBar.registerMeta.SchemaService":"Schema Service","advance.components.Sheetbar.Component.DefaultCanvas":"Default canvas","advance.components.Sheetbar.Component.UnnamedCanvas":"Unnamed canvas","advance.components.Sheetbar.Component.Delete":"Delete","advance.components.Sheetbar.MultiCanvasTab":"Multi-canvas tab","advance.components.Sheetbar.CreateACanvasTabTo":"Create a canvas tab to assist dynamic analysis","advance.components.Sheetbar.registerMeta.PlacementOrientation":"Placement orientation","advance.components.Sheetbar.registerMeta.Top":"Top","advance.components.Sheetbar.registerMeta.Bottom":"Bottom","advance.components.Sheetbar.registerMeta.TabHeight":"Tab height","advance.components.SnapshotGallery.Snapshot.GalleryPicture":"Gallery picture","advance.components.SnapshotGallery.info.SnapshotGallery":"Snapshot gallery","advance.components.SnapshotGallery.info.SaveTheAnalysisProcessTo":"Save the analysis process to the gallery through snapshots","advance.components.SnapshotGallery.registerMeta.SnapshotGallery":"Snapshot gallery","advance.components.SnapshotGallery.registerMeta.SnapshotGalleryShortcutCtrlX":"Snapshot Gallery (shortcut ctrl + x)","advance.components.SnapshotGallery.registerMeta.GalleryBackground":"Gallery background","advance.components.SnapshotGallery.registerMeta.DisplayDirection":"Display direction","advance.components.SnapshotGallery.registerMeta.HorizontalDisplay":"Horizontal display","advance.components.SnapshotGallery.registerMeta.VerticalDisplay":"Vertical display","advance.components.SnapshotGallery.registerMeta.GalleryLocation":"Gallery location","advance.components.SnapshotGallery.registerMeta.UpperLeft":"Upper left","advance.components.SnapshotGallery.registerMeta.UpperRight":"Upper right","advance.components.SnapshotGallery.registerMeta.LowerLeft":"Lower left","advance.components.SnapshotGallery.registerMeta.LowerRight":"Lower right","advance.components.SnapshotGallery.registerMeta.OffsetDistance":"Offset distance","advance.components.StructAnalysis.Component.AnalyzeTheSchemaAbstractionStructure":"Analyze the Schema Abstraction structure of all paths in the current canvas, that is, the type combination of nodes and edges in the path","advance.components.StructAnalysis.info.PathStructureAnalysis":"Path structure analysis","advance.components.StructAnalysis.info.AutomaticallyParseAllPathsOf":"Automatically parse all paths of the canvas for aggregation analysis.","advance.components.StyleSetting.Component.Node":"Node","advance.components.StyleSetting.Component.Edge":"Edge","advance.components.StyleSetting.StyleSettingPanel.StyleSettings":"Style settings","advance.components.StyleSetting.info.StyleSettings":"Style settings","advance.components.StyleSetting.info.SetElementStylesToCustomize":"Set element styles to customize grouping rules","advance.components.StyleSetting.registerMeta.StyleSettings":"Style settings","advance.components.StyleSetting.registerMeta.DataService":"Data Service","advance.components.SubGraphLayout.Component.NoSelectedElementInThe":"No selected element in the current canvas","advance.components.SubGraphLayout.Component.LayoutIndex":"Layout {index}","advance.components.SubGraphLayout.Component.SelectANode":"Select a node:","advance.components.SubGraphLayout.Component.SelectANode.1":"Select a node","advance.components.SubGraphLayout.Component.SelectLayout":"Select Layout:","advance.components.SubGraphLayout.Component.PleaseSelectALayout":"Please select a layout","advance.components.SubGraphLayout.Component.AddLayout":"Add Layout","advance.components.SubGraphLayout.Component.StartAdjustment":"Start adjustment","advance.components.SubGraphLayout.const.GridLayout":"Grid Layout","advance.components.SubGraphLayout.const.CircularLayout":"Circular layout","advance.components.SubGraphLayout.const.HierarchicalLayout":"Hierarchical layout","advance.components.SubGraphLayout.const.ConcentricCircleLayout":"Concentric circle layout","advance.components.SubGraphLayout.const.RadialLayout":"Radial layout","advance.components.SubGraphLayout.info.SubgraphLayout":"Subgraph layout","advance.components.SubGraphLayout.info.SubgraphLayoutPanel":"Subgraph layout panel","advance.components.SubGraphLayout.registerMeta.DefaultSubgraphPartition":"Default subgraph partition","advance.components.SubGraphLayout.registerMeta.MappingField":"Mapping field","advance.components.SubGraphLayout.registerMeta.SubgraphSpacing":"Subgraph spacing","advance.components.SubGraphLayout.registerMeta.SubgraphArrangementDirection":"Subgraph arrangement direction","advance.components.SubGraphLayout.registerMeta.Vertical":"Vertical","advance.components.SubGraphLayout.registerMeta.Horizontal":"Horizontal","advance.components.TableMode.Component.ExportedSuccessfully":"Exported successfully","advance.components.TableMode.Component.ExportFailed":"Export failed","advance.components.TableMode.Component.UseANewBrowserTab":"Use a new browser tab to open the screen splitting operation more efficiently","advance.components.TableMode.Component.ExportPointEdgeData":"Export point edge data","advance.components.TableMode.Component.CustomColumns":"Custom columns","advance.components.TableMode.Component.PointTable":"Point Table","advance.components.TableMode.Component.EdgeTable":"Edge table","advance.components.TableMode.info.TableMode":"Table mode","advance.components.TableMode.info.ShowNodesAndEdgesIn":"Show nodes and edges in the canvas as tables","advance.components.TableMode.registerMeta.CopySelectedContent":"Copy selected content","advance.components.TableMode.registerMeta.SupportsExportingData":"Supports exporting data","advance.components.TableMode.registerMeta.SupportTabSplitScreen":"Support tab split screen","advance.components.TableMode.registerMeta.ElementSelectionHighlight":"Element selection highlight","advance.components.TableMode.registerMeta.SplitTabRouting":"Split tab routing","advance.components.TemplateQuery.Component.EnterTparametername":"Enter {tParameterName}","advance.components.TemplateQuery.Component.EnterPkey":"Enter {pkey}","advance.components.TemplateQuery.Component.Template":"Template","advance.components.TemplateQuery.Component.CopiedSuccessfully":"Copied successfully","advance.components.TemplateQuery.Component.SelectATemplate":"Select a template","advance.components.TemplateQuery.Component.TemplateDescription":"Template description","advance.components.TemplateQuery.Component.TemplateParameters":"Template parameters","advance.components.TemplateQuery.Component.TemplateStatement":"Template statement","advance.components.TemplateQuery.Component.Query":"Query","advance.components.TemplateQuery.info.StatementTemplateQuery":"Statement template query","advance.components.TemplateQuery.info.QueryGraphDataThroughTemplates":"Query graph data through templates","advance.components.TemplateQuery.registerMeta.StatementTemplate":"Statement Template","advance.components.TemplateQuery.registerMeta.TemplateListService":"Template list service","advance.components.TemplateQuery.registerMeta.ExecuteQueryService":"Execute query service","advance.components.ThemeSetting.AddOrUpdateTheme.ConfigureTheCanvasBackgroundStyle":"Configure the canvas background style in the canvas settings asset, and configure the element style in the style settings asset or in the left-side configuration panel.","advance.components.ThemeSetting.AddOrUpdateTheme.ModifyTheCanvasBackgroundStyle":"Modify the canvas background style in the canvas settings asset, and configure the element style in the style settings asset or in the left-side modify panel.","advance.components.ThemeSetting.AddOrUpdateTheme.CreateATopic":"Create a topic","advance.components.ThemeSetting.AddOrUpdateTheme.EditTopic":"Edit topic","advance.components.ThemeSetting.AddOrUpdateTheme.TopicName":"Topic Name","advance.components.ThemeSetting.AddOrUpdateTheme.Description":"Description","advance.components.ThemeSetting.AddOrUpdateTheme.ThemeStyle":"Theme style","advance.components.ThemeSetting.AddOrUpdateTheme.NodeStyle":"Node style","advance.components.ThemeSetting.AddOrUpdateTheme.EdgeStyle":"Edge style","advance.components.ThemeSetting.AddOrUpdateTheme.CreateNow":"Create now","advance.components.ThemeSetting.AddOrUpdateTheme.ConfirmEditing":"Confirm editing","advance.components.ThemeSetting.Component.DeleteTheTopic":"Delete the topic?","advance.components.ThemeSetting.Component.DeleteATopic":"Delete a topic","advance.components.ThemeSetting.Component.EditTopic":"Edit topic","advance.components.ThemeSetting.Component.CreateATopic":"Create a topic","advance.components.ThemeSetting.Component.CustomTheme":"Custom Theme","advance.components.ThemeSetting.info.ThemeSettings":"Theme Settings","advance.components.ThemeSetting.info.YouCanConfigureThemeStyles":"You can configure theme styles independently.","advance.components.ThemeSetting.mockServices.TheThemeHasBeenCreated":"The theme has been created!","advance.components.ThemeSetting.mockServices.TheTopicHasBeenUpdated":"The topic has been updated.","advance.components.ThemeSetting.mockServices.TheTopicDoesNotExist":"The topic does not exist.","advance.components.ThemeSetting.mockServices.DeletedSuccessfully":"Deleted successfully","advance.components.ThemeSetting.registerMeta.GetThemeServices":"Get theme services","advance.components.ThemeSetting.registerMeta.AddThemeService":"Add theme service","advance.components.ThemeSetting.registerMeta.DeleteAThemeService":"Delete a theme service","advance.components.Undo.info.Revoke":"Revoke","advance.components.Undo.info.UndoTheCanvasReturnsTo":"Undo, the canvas returns to the previous state","advance.components.utils.csv.ExportDataCsv":"Export data. csv","advance.elements.CircleBar.NandinggeerNodes":"NANDINGGEER nodes","advance.elements.CircleBar.registerMeta.Size":"Size","advance.elements.CircleBar.registerMeta.Radius":"Radius","advance.elements.CircleBar.registerMeta.MappingField":"Mapping field","advance.elements.CircleBar.registerMeta.Color":"Color","advance.elements.CircleBar.registerMeta.FillColor":"Fill color","advance.elements.CircleBar.registerMeta.Label":"Label","advance.elements.CircleBar.registerMeta.Switch":"Switch","advance.elements.CircleBar.registerMeta.Icon":"Icon","advance.elements.CircleBar.registerMeta.Type":"Type","advance.elements.CircleBar.registerMeta.Text":"Text","advance.elements.CircleBar.registerMeta.Picture":"Picture","advance.elements.CircleBar.registerMeta.FontIcon":"Font icon","advance.elements.ClusterNode.ClusterNode":"Cluster node","advance.elements.ClusterNode.DonutComponentForDataDistribution":"Donut component for data distribution","advance.elements.ClusterNode.registerMeta.Label":"Label","advance.elements.ClusterNode.registerMeta.Switch":"Switch","advance.elements.ClusterNode.registerMeta.MappingField":"Mapping field","advance.elements.ReasonNode.StrawberryMap":"Strawberry map","advance.elements.ReasonNode.CompositeNodesIncludingRoseCharts":"Composite nodes, including rose charts, bar charts, and nodes, were originally used in attribution trees.","advance.ReasonNode.reason_analysis_node.draw_bizQuotas.Yes":"Yes","advance.ReasonNode.reason_analysis_node.draw_bizQuotas.No":"No","advance.ReasonNode.reason_analysis_node.draw_bizQuotas.Other":"Other","advance.ReasonNode.reason_analysis_node.draw_contribution.Contribution":"Contribution","advance.ReasonNode.reason_analysis_node.draw_rose.PreviousValue":"Previous value","advance.ReasonNode.reason_analysis_node.draw_rose.AfterChange":"After Change","advance.ReasonNode.reason_analysis_node.draw_runningState.Running":"Running,","advance.ReasonNode.reason_analysis_node.draw_runningState.Completed":"Completed,","advance.ReasonNode.reason_analysis_node.draw_runningState.BusinessIntervention":"Business intervention","advance.ReasonNode.reason_analysis_node.draw_runningState.BusinessNonIntervention":"Business non-intervention","advance.ReasonNode.reason_analysis_node.draw_variability.Variation":"Variation","advance.ReasonNode.reason_analysis_node.preprocess.Yes":"Yes","advance.ReasonNode.reason_analysis_node.preprocess.No":"No","advance.elements.ReasonNode.registerMeta.Size":"Size","advance.elements.ReasonNode.registerMeta.Radius":"Radius","advance.elements.ReasonNode.registerMeta.MappingField":"Mapping field","advance.elements.ReasonNode.registerMeta.Color":"Color","advance.elements.ReasonNode.registerMeta.FillColor":"Fill color","advance.elements.ReasonNode.registerMeta.Label":"Label","advance.elements.ReasonNode.registerMeta.Switch":"Switch","advance.elements.ReasonNode.registerMeta.Icon":"Icon","advance.elements.ReasonNode.registerMeta.Type":"Type","advance.elements.ReasonNode.registerMeta.Text":"Text","advance.elements.ReasonNode.registerMeta.Picture":"Picture","advance.elements.ReasonNode.registerMeta.FontIcon":"Font icon","advance.src.services.GremlinQuery.GremlinQuery":"Gremlin query","advance.src.services.HistoryAnalyseService.SaveAnalysisLinkTemplate":"Save analysis link template","advance.src.services.HistoryAnalyseService.TheDefaultSaveAnalysisLink":"The default save analysis link service provided by GI","advance.src.services.HistoryAnalyseService.DeleteAnAnalysisLinkTemplate":"Delete an analysis link template","advance.src.services.HistoryAnalyseService.TheDeleteAnalysisLinkService":"The delete analysis link service provided by GI by default. Error message:{successMsg}","advance.src.services.HistoryAnalyseService.QueryTheListOfHistorical":"Query the list of historical analysis link templates","advance.src.services.HistoryAnalyseService.TheQueryHistoryAnalysisLink":"The query history analysis link template service provided by GI by default","advance.src.services.LanguageQueryService.StatementQuery":"Statement query","advance.src.services.LanguageQueryService.QueryParameters":"Query parameters","advance.src.services.StyleSetting.StyleSettings":"Style settings","advance.src.services.TemplateService.PublishTemplate":"Publish Template","advance.src.services.TemplateService.GiDefaultServiceForPublishing":"GI default service for publishing templates","advance.src.services.TemplateService.QueryTemplateList":"Query template list","advance.src.services.TemplateService.ExecuteTemplateQuery":"Execute template query","advance.src.services.TemplateService.ExecuteTemplateQueryParameters":"Execute template query parameters","advance.src.services.ThemeSetting.AddTopic":"Add topic","advance.src.services.ThemeSetting.TheThemeHasBeenCreated":"The theme has been created!","advance.src.services.ThemeSetting.GetTopics":"Get topics","advance.src.services.ThemeSetting.UpdateTopic":"Update topic","advance.src.services.ThemeSetting.TheTopicHasBeenUpdated":"The topic has been updated.","advance.src.services.ThemeSetting.TheTopicDoesNotExist":"The topic does not exist.","advance.src.services.ThemeSetting.DeleteATopic":"Delete a topic","advance.src.services.ThemeSetting.DeletedSuccessfully":"Deleted successfully","advance.components.GremlinQuery.Component.CannotBeModifiedLimitNum":"Cannot be modified. limit(num) constraint exists in the statement.","advance.components.GremlinQuery.Component.TheStatementAddsASuffix":"The statement adds a suffix: .limt({limit}).","advance.components.GremlinQuery.Component.CannotBeModifiedWithEvaluationtimeout":"Cannot be modified. with(\'evaluationTimeout\', timeout) constraint exists in the statement.","advance.components.GremlinQuery.Component.StatementToAddConstraintsWith":"Statement to add constraints: .with(\'evaluationTimeout\', {timeout})","advance.src.services.CypherQuery.QuerySucceeded":"Query succeeded","advance.src.services.CypherQuery.TheCurrentQueryRequestIs":"The current query request is MOCK. Use it with the graph database.","advance.components.GraphAnnotation.registerMeta.DefaultTitleFillAttribute":"Default title fill attribute","advance.components.GraphAnnotation.registerMeta.DefaultContentFillAttribute":"Default content fill attribute","advance.components.TableMode.FilterPopover.NoteOnlyTheDisplayAnd":"Note: Only the display and hiding of data rows in the table are controlled.","advance.components.TableMode.FilterPopover.EnterASearchKeyword":"Enter a search keyword","advance.components.TableMode.FilterPopover.SelectAll":"Select all"}')},4623:e=>{"use strict";e.exports=JSON.parse('{"advance.components.AddSheetbar.Component.PleaseUseThisFunctionIn":"请在默认画布中使用该功能,暂不支持其他画布的「添加页签」功能","advance.components.AddSheetbar.AddATab":"新增页签","advance.components.AddSheetbar.registerMeta.AddTheSelectedNodesAnd":"将选中的节点与边添加到新画布中","advance.components.AddSheetbar.registerMeta.RelayoutOrNot":"是否重新布局","advance.components.AjustLayout.Component.GridLayout":"网格布局","advance.components.AjustLayout.Component.ConcentricCircleLayout":"同心圆布局","advance.components.AjustLayout.Component.HierarchicalLayout":"层次布局","advance.components.AjustLayout.Component.LayoutIndex":"布局{index}","advance.components.AjustLayout.Component.SelectANode":"选择节点:","advance.components.AjustLayout.Component.SelectANode.1":"请选择节点","advance.components.AjustLayout.Component.SelectLayout":"选择布局:","advance.components.AjustLayout.Component.PleaseSelectALayout":"请选择布局","advance.components.AjustLayout.Component.AddLayout":"添加布局","advance.components.AjustLayout.Component.StartAdjustment":"开始调整","advance.components.AjustLayout.LayoutAdjustment":"布局调整","advance.components.AjustLayout.registerMeta.SubgraphLayout":"子图布局","advance.components.AnalysisHistory.Component.FailedToObtainTheTemplate":"获取模版列表失败,无获取模版的服务","advance.components.AnalysisHistory.Component.FailedToObtainTheAnalysis":"分析历史模版列表获取失败","advance.components.AnalysisHistory.Component.SaveFailedThereIsNo":"保存失败,无保存模版的服务","advance.components.AnalysisHistory.Component.TheHistoricalAnalysisLinkTemplate":"历史分析链路模版 {name}({description}) 保存成功,您将可以右下方「使用分析模版」中使用","advance.components.AnalysisHistory.Component.SaveFailed":"保存失败","advance.components.AnalysisHistory.Component.FailedToRemoveNoService":"移除失败,无移除模版的服务","advance.components.AnalysisHistory.Component.HistoricalAnalysisLinkTemplateTitle":"历史分析链路模版 {title} 删除成功","advance.components.AnalysisHistory.Component.FailedToDelete":"删除失败","advance.components.AnalysisHistory.Component.ManageExistingTemplates":"管理已有模版","advance.components.AnalysisHistory.Component.Delete":"删除","advance.components.AnalysisHistory.Component.NoRecord":"暂无记录","advance.components.AnalysisHistory.Component.HistoryList":"历史记录列表","advance.components.AnalysisHistory.Component.TheAnalysisTemplateIsDetected":"⭐️检测到该项目存在分析模版,点击此处使用","advance.components.AnalysisHistory.Component.UseAnalysisTemplates":"使用分析模版","advance.components.AnalysisHistory.Component.NoHistoryPleaseAnalyzeThe":"暂无历史,请先分析数据","advance.components.AnalysisHistory.Component.PrecipitationAnalysisHistory":"沉淀分析历史","advance.components.AnalysisHistory.ConfigurePanel.Description":"描述:","advance.components.AnalysisHistory.ConfigurePanel.None":"无","advance.components.AnalysisHistory.ConfigurePanel.ClickANodeToConfigure":"请点击一个节点进行参数配置","advance.components.AnalysisHistory.ParamterizePanel.WhenSwipingTheSelectedText":"刷选文本时,请在参数值文字范围内抬起鼠标以完成参数化","advance.components.AnalysisHistory.ParamterizePanel.BoxSelectionDoNotSpan":"框选请勿跨越已参数化的内容","advance.components.AnalysisHistory.ParamterizePanel.FailedToNameTheVariable":"命名失败,变量名必须以字母开头,且不包含特殊字符","advance.components.AnalysisHistory.ParamterizePanel.NamingFailedDuplicateParameterNaming":"命名失败,在一个参数中,不可使用重复的参数命名","advance.components.AnalysisHistory.ParamterizePanel.Description":"描述:","advance.components.AnalysisHistory.ParamterizePanel.AuxiliaryDescriptionOfTheHistory":"该条历史记录的辅助描述","advance.components.AnalysisHistory.ParamterizePanel.ClickTheValueInThe":"点选对象中的值,进行参数化","advance.components.AnalysisHistory.ParamterizePanel.SelectSomeTextToParameterize":"刷选部分文字进行参数化","advance.components.AnalysisHistory.ParamterizePanel.NameEnglish":"名称(英文)","advance.components.AnalysisHistory.ParamterizePanel.NameTheParameter":"请为参数命名","advance.components.AnalysisHistory.ParamterizePanel.EnterAName":"输入名称","advance.components.AnalysisHistory.ParamterizePanel.Description.1":"描述","advance.components.AnalysisHistory.ParamterizePanel.AuxiliaryDescriptionOfThisParameter":"该参数的辅助描述","advance.components.AnalysisHistory.ParamterizePanel.Cancel":"取消","advance.components.AnalysisHistory.ParamterizePanel.Ok":"确定","advance.components.AnalysisHistory.ParamterizePanel.Parameterized":"参数化","advance.components.AnalysisHistory.ParamterizePanel.ClickANodeToConfigure":"请点击一个节点进行参数配置","advance.components.AnalysisHistory.ParamterizePanel.ClickHistoryFromTheLeft":"请先从左侧时间轴中点选历史记录加入模版图","advance.components.AnalysisHistory.TemplateDrawer.AssetComponentidIsNotFound":"未找到资产 {componentId},请先将它配置到画布中","advance.components.AnalysisHistory.TemplateDrawer.TheCurrentNodeFailedTo":"当前节点执行失败,点从头重新执行","advance.components.AnalysisHistory.TemplateDrawer.AnalysisLinkTemplate":"分析链路模版","advance.components.AnalysisHistory.TemplateDrawer.SelectTemplate":"选择模版","advance.components.AnalysisHistory.TemplateDrawer.ExecutionMethod":"执行方式","advance.components.AnalysisHistory.TemplateDrawer.AutomaticStepByStepExecution":"自动分步执行","advance.components.AnalysisHistory.TemplateDrawer.ManualStepByStepExecution":"手动分步执行","advance.components.AnalysisHistory.TemplateDrawer.DoNotConfigureUseDefault":"可不配置,使用默认参数执行","advance.components.AnalysisHistory.TemplateModal.Start":"开始","advance.components.AnalysisHistory.TemplateModal.End":"结束","advance.components.AnalysisHistory.TemplateModal.ThereIsNoContentTo":"暂无可保存内容,请先将历史记录加入模版图","advance.components.AnalysisHistory.TemplateModal.Save":"保存","advance.components.AnalysisHistory.TemplateModal.Name":"名称","advance.components.AnalysisHistory.TemplateModal.NameTheTemplate":"请为模版命名","advance.components.AnalysisHistory.TemplateModal.EnterATemplateName":"输入模版名","advance.components.AnalysisHistory.TemplateModal.Description":"描述","advance.components.AnalysisHistory.TemplateModal.AuxiliaryDescription":"辅助描述","advance.components.AnalysisHistory.TemplateModal.Ok":"确定","advance.components.AnalysisHistory.TemplateModal.AnalysisTemplatesStoredAsWorkbook":"存储为工作簿的分析模版","advance.components.AnalysisHistory.TemplateModal.PrecipitationAnalysisHistory":"沉淀分析历史","advance.components.AnalysisHistory.TemplateModal.SaveAndCloseTheDialog":"暂存并关闭对话框","advance.components.AnalysisHistory.TemplateModal.Close":"关闭","advance.components.AnalysisHistory.TemplateModal.NoHistoryIsAvailablePlease":"暂无历史记录,请先对图进行操作","advance.components.AnalysisHistory.TemplateModal.OperationHistory":"操作历史","advance.components.AnalysisHistory.TemplateModal.SelectRecordsOnTheTimeline":"在时间轴上勾选记录,可加入分析链路模版中","advance.components.AnalysisHistory.TemplateModal.AnalysisLinkTemplate":"分析链路模版","advance.components.AnalysisHistory.info.AnalyzeHistoricalPrecipitation":"分析历史沉淀","advance.components.AnalysisHistory.info.RecordsTheAnalysisHistoryAnd":"记录分析历史,并可沉淀为模版","advance.components.AnalysisHistory.registerMeta.SaveAnalysisHistoryTemplateService":"保存分析历史模版服务","advance.components.AnalysisHistory.registerMeta.ReadAnalysisHistoryTemplateList":"读取分析历史模版列表服务","advance.components.AnalysisHistory.registerMeta.DeleteAnalysisHistoryTemplateService":"删除分析历史模版服务","advance.components.AnalysisHistory.registerMeta.PlacementOrientation":"放置方位","advance.components.AnalysisHistory.registerMeta.Top":"顶部","advance.components.AnalysisHistory.registerMeta.Bottom":"底部","advance.components.AnalysisHistory.registerMeta.HistoryBarHeight":"历史栏高度","advance.components.AnalysisHistory.util.Query":"查询","advance.components.AnalysisHistory.util.Analysis":"分析","advance.components.AnalysisHistory.util.Configuration":"配置","advance.components.AnalysisHistory.util.UnparameterizedContentCannotBeModified":"未参数化内容不可修改","advance.components.Assistant.Component.NoDataFound":"没有查询到数据","advance.components.Assistant.Component.SetApiKeyFirst":"请先设置API Key","advance.components.Assistant.Component.StartQueryingGraphData":"开始查询图数据...","advance.components.Assistant.Component.AiAssistant":"AI 助理","advance.Assistant.Dialog.input.AiAssistantServesYou":"AI 助理为您服务","advance.Assistant.Dialog.input.NewConversation":"新对话","advance.Assistant.Header.StopQuery":"停止查询","advance.components.Assistant.info.AiAssistant":"AI 助理","advance.components.Assistant.registerMeta.DataService":"数据服务","advance.components.Assistant.registerMeta.Size":"尺寸","advance.components.Assistant.registerMeta.Location":"位置","advance.components.Assistant.registerMeta.UpperLeft":"左上","advance.components.Assistant.registerMeta.UpperRight":"右上","advance.components.Assistant.registerMeta.LowerLeft":"左下","advance.components.Assistant.registerMeta.LowerRight":"右下","advance.components.Assistant.registerMeta.Offset":"偏移量","advance.components.Assistant.registerMeta.Draggable":"可拖拽","advance.components.Assistant.registerMeta.Welcome":"欢迎语","advance.components.Assistant.registerMeta.HelloIAmGraphinsightAssistant":"您好!我是 GraphInsight 助理。请问有什么关于 GraphInsight 的问题或需求?","advance.components.Assistant.registerMeta.PromptWords":"提示词","advance.components.Assistant.registerMeta.SupportedVariablesGraphschemaUsageGraphschema":"支持的变量:graphSchema,使用方式:\\"${graphSchema}\\"","advance.components.Assistant.registerMeta.GraphinsightIsAnExtensibleGraph":"GraphInsight 是一个可扩展的图可视分析平台,包括数据源管理、构图、图元素个性化配置、图可视分析等功能模块。","advance.components.Assistant.registerMeta.YourTaskIsToAct":"你的任务是作为助理机器人,为 GraphInsight 的用户提供使用指引,包括根据用户的需求生成对应的 Cypher 查询语句。","advance.components.Assistant.registerMeta.CypherStatementIsAppliedTo":"Cypher 语句是应用于 Neo4j 声明式图查询语言","advance.components.Assistant.registerMeta.ForExampleWhenAUser":"例如,当用户说“我想找出回答数最多的问题”,你可以以下列方式给出查询:","advance.components.Assistant.registerMeta.NoteThatYouOnlyNeed":"注意只需要返回查询节点即可,不需要查询属性","advance.components.Assistant.registerMeta.TheDataInformationOfThe":"当前用户查看的图的数据信息如下:","advance.components.Assistant.registerMeta.PleaseDoNotAnswerQuestions":"请不要回答与 GraphInsight 无关的问题。","advance.components.Assistant.registerMeta.YouOnlyNeedToGive":"你只需要根据用户的回答给出查询代码,并告知用户正在为您查询,不需要做过多的解释。","advance.components.Assistant.registerMeta.StartTheConversationWithThe":"下面开始和用户的对话。","advance.components.CypherQuery.Component.QueryFailed":"查询失败","advance.components.CypherQuery.Component.PublishAsATemplate":"发布成模板","advance.components.CypherQuery.Component.ExecuteAQuery":"执行查询","advance.components.CypherQuery.info.CypherStatementQuery":"Cypher 语句查询","advance.components.CypherQuery.info.DataQueryModule":"数据查询模块","advance.components.CypherQuery.registerMeta.DataService":"数据服务","advance.components.CypherQuery.registerMeta.QueryLimits":"查询限制","advance.components.CypherQuery.registerMeta.PublishAsATemplate":"发布成模板","advance.components.CypherQuery.registerMeta.PublishTemplateService":"发布模板服务","advance.components.CypherQuery.registerMeta.InitialStatement":"初始语句","advance.components.EdgeBundling.EdgeBinding":"边绑定","advance.components.GraphAnnotation.Component.Red":"红色","advance.components.GraphAnnotation.Component.Green":"绿色","advance.components.GraphAnnotation.Component.Blue":"蓝色","advance.components.GraphAnnotation.Component.Yellow":"黄色","advance.components.GraphAnnotation.Component.Black":"黑色","advance.components.GraphAnnotation.Component.Cancel":"取消","advance.components.GraphAnnotation.Component.Node":"节点","advance.components.GraphAnnotation.Component.Edge":"边","advance.components.GraphAnnotation.Component.NodeGrouping":"节点分组","advance.components.GraphAnnotation.Component.Canvas":"画布","advance.components.GraphAnnotation.Component.DoubleClickHereToStart":"双击此处开始编辑","advance.components.GraphAnnotation.Component.LabelMenuitemnameitemtype":"标注{menuItemNameItemType}","advance.components.GraphAnnotation.Component.MarkMenuitemnameitemtype":"标记{menuItemNameItemType}","advance.components.GraphAnnotation.Menu":"图标注(MENU)","advance.components.GraphAnnotation.FigureAnnotationOftenIntegratedIn":"图标注,常集成在右键菜单中","advance.components.GraphAnnotation.registerMeta.MarkNodesAtTheSame":"标记节点的同时","advance.components.GraphAnnotation.registerMeta.WhenYouClickANode":"点击节点标记时","advance.components.GraphAnnotation.registerMeta.MarkNodesOnlyYouCannot":"仅标记节点,不可添加标注","advance.components.GraphAnnotation.registerMeta.AddOnlyLabelsNotNodes":"仅添加标注,不标记节点","advance.components.GraphAnnotation.registerMeta.LabelingMethod":"标注方式","advance.components.GremlinPathQuery.Component.ShortestPath":"最短路径","advance.components.GremlinPathQuery.Component.QueryTheShortestPathBetween":"查询两个节点之间的最短路径","advance.components.GremlinPathQuery.Component.StartNode":"开始节点","advance.components.GremlinPathQuery.Component.TargetNode":"目标节点","advance.components.GremlinPathQuery.Component.MaximumDegree":"最大度数","advance.components.GremlinPathQuery.Component.LimitTheNumberOfPaths":"限制路径条数","advance.components.GremlinPathQuery.Component.LoopDetection":"环路检测","advance.components.GremlinPathQuery.Component.ChecksWhetherOneOrTwo":"检测指定的一个或两个节点是否在环路中,并查询所在的环路","advance.components.GremlinPathQuery.Component.TargetNode.1":"目标节点1","advance.components.GremlinPathQuery.Component.TargetNode.2":"目标节点2","advance.components.GremlinPathQuery.Component.CommonNeighbor":"共同邻居","advance.components.GremlinPathQuery.Component.EnterTparametername":"请输入{tParameterName}","advance.components.GremlinPathQuery.Component.PleaseLookForward":"敬请期待","advance.components.GremlinPathQuery.Component.TheQueryTemplateDoesNot":"本项目不存在该查询模版","advance.components.GremlinPathQuery.Component.GremlinTemplateQueryFailed":"Gremlin 模版查询失败","advance.components.GremlinPathQuery.Component.GremlinTemplateQuery":"Gremlin 模版查询","advance.components.GremlinPathQuery.Component.PathQuery":"路径查询","advance.components.GremlinPathQuery.Component.PathList":"路径列表","advance.components.GremlinPathQuery.Component.SelectAPathTemplate":"请选择路径模版","advance.components.GremlinPathQuery.Component.Description":"描述","advance.components.GremlinPathQuery.Component.Parameter":"参数","advance.components.GremlinPathQuery.Component.QueryStatement":"查询语句","advance.components.GremlinPathQuery.Component.Query":"查询","advance.components.GremlinPathQuery.GremlinTemplateStatementQueryPanel":"Gremlin 模板语句查询面板","advance.components.GremlinPathQuery.QuicklyQueryGraphDataThrough":"通过 Gremlin 模板语句快速查询图数据","advance.components.GremlinPathQuery.registerMeta.GremlinQueryTemplate":"Gremlin 查询模版","advance.components.GremlinPathQuery.registerMeta.DataService":"数据服务","advance.components.GremlinQuery.Component.FailedToExecuteGremlinQuery":"执行 Gremlin 查询失败","advance.components.GremlinQuery.Component.FailureReasonResultmessage":"失败原因:{resultMessage}","advance.components.GremlinQuery.Component.PublishAsATemplate":"发布成模板","advance.components.GremlinQuery.Component.ExecuteAQuery":"执行查询","advance.components.GremlinQuery.info.GremlinQuery":"Gremlin 查询","advance.components.GremlinQuery.info.QueryGraphDataThroughGremlin":"通过 Gremlin 语句查询图数据","advance.components.GremlinQuery.registerMeta.DataService":"数据服务","advance.components.GremlinQuery.registerMeta.PublishAsATemplate":"发布成模板","advance.components.GremlinQuery.registerMeta.IsShowLimit":"Limit可配","advance.components.GremlinQuery.registerMeta.IsShowTimeout":"Timeout可配","advance.components.GremlinQuery.registerMeta.PublishTemplateService":"发布模板服务","advance.components.GremlinQuery.registerMeta.InitialQuery":"初始查询","advance.components.GremlinQuery.registerMeta.Height":"高度","advance.components.JSONMode.info.CodeMode":"代码模式","advance.components.GremlinQuery.Component.LimitConfigTip":"语句将添加后缀: .limt({value})","advance.components.GremlinQuery.Component.TimeoutConfigTip":"语句将添加约束: .with(\'evaluationTimeout\', {value})","advance.components.JSONMode.info.ShowDataInCode":"将数据以代码形式展示","advance.components.JSONMode.registerMeta.StyleTheme":"样式主题","advance.components.ModeSwitch.Component.CanvasMode":"画布模式","advance.components.ModeSwitch.ModeSwitching":"模式切换","advance.components.ModeSwitch.IntegratesMultipleAnalysisModesAnd":"集成多个分析模式,支持切换","advance.components.ModeSwitch.registerMeta.IntegratedComponents":"集成组件","advance.components.ModeSwitch.registerMeta.PlacementOrientation":"放置方位","advance.components.ModeSwitch.registerMeta.TopLeftTop":"左上 / top","advance.components.ModeSwitch.registerMeta.TopRightRight":"右上 / right","advance.components.ModeSwitch.registerMeta.LowerLeftLeft":"左下 / left","advance.components.ModeSwitch.registerMeta.BottomRightBottom":"右下 / bottom","advance.components.ModeSwitch.registerMeta.OffsetDistance":"偏移距离","advance.components.PublishTemplate.SelectAServiceToPublish":"请选择发布成模板的服务","advance.components.PublishTemplate.ParameterizeExistingParametersAndOverwrite":"参数化已经存在的参数,会覆盖已有的参数","advance.components.PublishTemplate.TheTemplateNameIsEmpty":"模板名称为空或格式不正确!","advance.components.PublishTemplate.TemplatePublishedSuccessfully":"发布模板成功","advance.components.PublishTemplate.ParameterName":"参数名称","advance.components.PublishTemplate.Type":"类型","advance.components.PublishTemplate.ReplacementValue":"替换值","advance.components.PublishTemplate.Operation":"操作","advance.components.PublishTemplate.AreYouSureYouWant":"确定删除?","advance.components.PublishTemplate.Ok":"确定","advance.components.PublishTemplate.Cancel":"取消","advance.components.PublishTemplate.PublishAsATemplate":"发布成模板","advance.components.PublishTemplate.Publish":"发布","advance.components.PublishTemplate.TemplateName":"模板名称","advance.components.PublishTemplate.TheTemplateNameCanOnly":"模板名称只能包含字母、数字或下划线,且只能以字母开头","advance.components.PublishTemplate.OriginalStatement":"原始语句","advance.components.PublishTemplate.SelectTheContentToBe":"请选择要参数化的内容,然后点击右边的参数化按钮进行下一步的操作","advance.components.PublishTemplate.SelectTheParameterValueIn":"选择 {fileType} 中的参数值后进行参数化操作","advance.components.PublishTemplate.Parameterized":"参数化","advance.components.PublishTemplate.TemplateStatement":"模板语句","advance.components.PublishTemplate.ParameterList":"参数列表","advance.components.PublishTemplate.TemplateDescription":"模板描述","advance.components.PublishTemplate.FiletypeParameterized":"{fileType} 参数化","advance.components.PublishTemplate.EnterTheNameOfThe":"请输入参数的名称!","advance.components.PublishTemplate.ParameterType":"参数类型","advance.components.PublishTemplate.SelectAParameterType":"请选择参数类型!","advance.components.Redo.info.Redo":"重做","advance.components.Redo.info.RedoTheCanvasEntersThe":"重做,画布进入下一步状态","advance.components.SearchBar.Component.Type":"类型:","advance.components.SearchBar.Component.All":"全部","advance.components.SearchBar.Component.Properties":"属性:","advance.components.SearchBar.Component.EnterAnAttributeValue":"请输入属性值","advance.components.SearchBar.IsoGqlSearchBox":"ISO-GQL 搜索框","advance.components.SearchBar.UseIsoGqlStatementsTo":"通过 ISO-GQL 语句快查询图数据","advance.components.SearchBar.registerMeta.SearchBar":"搜索栏","advance.components.SearchBar.registerMeta.DataService":"数据服务","advance.components.SearchBar.registerMeta.SchemaService":"Schema服务","advance.components.Sheetbar.Component.DefaultCanvas":"默认画布","advance.components.Sheetbar.Component.UnnamedCanvas":"未命名画布","advance.components.Sheetbar.Component.Delete":"删除","advance.components.Sheetbar.MultiCanvasTab":"多画布页签","advance.components.Sheetbar.CreateACanvasTabTo":"新建画布页签,辅助动态分析","advance.components.Sheetbar.registerMeta.PlacementOrientation":"放置方位","advance.components.Sheetbar.registerMeta.Top":"顶部","advance.components.Sheetbar.registerMeta.Bottom":"底部","advance.components.Sheetbar.registerMeta.TabHeight":"页签高度","advance.components.SnapshotGallery.Snapshot.GalleryPicture":"画廊图片","advance.components.SnapshotGallery.info.SnapshotGallery":"快照画廊","advance.components.SnapshotGallery.info.SaveTheAnalysisProcessTo":"通过快照,将分析过程保存到画廊","advance.components.SnapshotGallery.registerMeta.SnapshotGallery":"快照画廊","advance.components.SnapshotGallery.registerMeta.SnapshotGalleryShortcutCtrlX":"快照画廊(快捷键ctrl+x)","advance.components.SnapshotGallery.registerMeta.GalleryBackground":"画廊背景","advance.components.SnapshotGallery.registerMeta.DisplayDirection":"展示方向","advance.components.SnapshotGallery.registerMeta.HorizontalDisplay":"水平展示","advance.components.SnapshotGallery.registerMeta.VerticalDisplay":"纵向展示","advance.components.SnapshotGallery.registerMeta.GalleryLocation":"画廊位置","advance.components.SnapshotGallery.registerMeta.UpperLeft":"左上","advance.components.SnapshotGallery.registerMeta.UpperRight":"右上","advance.components.SnapshotGallery.registerMeta.LowerLeft":"左下","advance.components.SnapshotGallery.registerMeta.LowerRight":"右下","advance.components.SnapshotGallery.registerMeta.OffsetDistance":"偏移距离","advance.components.StructAnalysis.Component.AnalyzeTheSchemaAbstractionStructure":"分析当前画布中所有路径的 Schema 抽象结构,即路径中节点与边的类型组合","advance.components.StructAnalysis.info.PathStructureAnalysis":"路径结构分析","advance.components.StructAnalysis.info.AutomaticallyParseAllPathsOf":"自动解析画布所有路径,做聚合分析","advance.components.StyleSetting.Component.Node":"节点","advance.components.StyleSetting.Component.Edge":"边","advance.components.StyleSetting.StyleSettingPanel.StyleSettings":"样式设置","advance.components.StyleSetting.info.StyleSettings":"样式设置","advance.components.StyleSetting.info.SetElementStylesToCustomize":"设置元素样式,可自定义分组规则","advance.components.StyleSetting.registerMeta.StyleSettings":"样式设置","advance.components.StyleSetting.registerMeta.DataService":"数据服务","advance.components.SubGraphLayout.Component.NoSelectedElementInThe":"当前画布中无选中元素","advance.components.SubGraphLayout.Component.LayoutIndex":"布局{index}","advance.components.SubGraphLayout.Component.SelectANode":"选择节点:","advance.components.SubGraphLayout.Component.SelectANode.1":"请选择节点","advance.components.SubGraphLayout.Component.SelectLayout":"选择布局:","advance.components.SubGraphLayout.Component.PleaseSelectALayout":"请选择布局","advance.components.SubGraphLayout.Component.AddLayout":"添加布局","advance.components.SubGraphLayout.Component.StartAdjustment":"开始调整","advance.components.SubGraphLayout.const.GridLayout":"网格布局","advance.components.SubGraphLayout.const.CircularLayout":"圆形布局","advance.components.SubGraphLayout.const.HierarchicalLayout":"层次布局","advance.components.SubGraphLayout.const.ConcentricCircleLayout":"同心圆布局","advance.components.SubGraphLayout.const.RadialLayout":"径向布局","advance.components.SubGraphLayout.info.SubgraphLayout":"子图布局","advance.components.SubGraphLayout.info.SubgraphLayoutPanel":"子图布局面板","advance.components.SubGraphLayout.registerMeta.DefaultSubgraphPartition":"默认子图划分","advance.components.SubGraphLayout.registerMeta.MappingField":"映射字段","advance.components.SubGraphLayout.registerMeta.SubgraphSpacing":"子图间距","advance.components.SubGraphLayout.registerMeta.SubgraphArrangementDirection":"子图排列方向","advance.components.SubGraphLayout.registerMeta.Vertical":"垂直","advance.components.SubGraphLayout.registerMeta.Horizontal":"水平","advance.components.TableMode.Component.ExportedSuccessfully":"导出成功","advance.components.TableMode.Component.ExportFailed":"导出失败","advance.components.TableMode.Component.UseANewBrowserTab":"使用浏览器新页签打开,分屏操作更高效","advance.components.TableMode.Component.ExportPointEdgeData":"导出点边数据","advance.components.TableMode.Component.CustomColumns":"自定义列","advance.components.TableMode.Component.PointTable":"点表","advance.components.TableMode.Component.EdgeTable":"边表","advance.components.TableMode.info.TableMode":"表格模式","advance.components.TableMode.info.ShowNodesAndEdgesIn":"将画布中的节点和边以表格形式展示","advance.components.TableMode.registerMeta.CopySelectedContent":"复制选中内容","advance.components.TableMode.registerMeta.SupportsExportingData":"支持导出数据","advance.components.TableMode.registerMeta.SupportTabSplitScreen":"支持页签分屏","advance.components.TableMode.registerMeta.ElementSelectionHighlight":"元素选中高亮","advance.components.TableMode.registerMeta.SplitTabRouting":"分屏页签路由","advance.components.TemplateQuery.Component.EnterTparametername":"请输入{tParameterName}","advance.components.TemplateQuery.Component.EnterPkey":"请输入{pkey}","advance.components.TemplateQuery.Component.Template":"模版","advance.components.TemplateQuery.Component.CopiedSuccessfully":"复制成功","advance.components.TemplateQuery.Component.SelectATemplate":"请选择模版","advance.components.TemplateQuery.Component.TemplateDescription":"模版描述","advance.components.TemplateQuery.Component.TemplateParameters":"模板参数","advance.components.TemplateQuery.Component.TemplateStatement":"模板语句","advance.components.TemplateQuery.Component.Query":"查询","advance.components.TemplateQuery.info.StatementTemplateQuery":"语句模版查询","advance.components.TemplateQuery.info.QueryGraphDataThroughTemplates":"通过模版查询图数据","advance.components.TemplateQuery.registerMeta.StatementTemplate":"语句模版","advance.components.TemplateQuery.registerMeta.TemplateListService":"模板列表服务","advance.components.TemplateQuery.registerMeta.ExecuteQueryService":"执行查询服务","advance.components.ThemeSetting.AddOrUpdateTheme.ConfigureTheCanvasBackgroundStyle":"请在【画布设置】资产中配置画布背景样式,在【样式设置】资产或左侧配置面板中配置元素样式","advance.components.ThemeSetting.AddOrUpdateTheme.ModifyTheCanvasBackgroundStyle":"请在【画布设置】资产中修改画布背景样式,在【样式设置】资产或左侧修改面板中配置元素样式","advance.components.ThemeSetting.AddOrUpdateTheme.CreateATopic":"创建主题","advance.components.ThemeSetting.AddOrUpdateTheme.EditTopic":"编辑主题","advance.components.ThemeSetting.AddOrUpdateTheme.TopicName":"主题名称","advance.components.ThemeSetting.AddOrUpdateTheme.Description":"描述","advance.components.ThemeSetting.AddOrUpdateTheme.ThemeStyle":"主题样式","advance.components.ThemeSetting.AddOrUpdateTheme.NodeStyle":"节点样式","advance.components.ThemeSetting.AddOrUpdateTheme.EdgeStyle":"边样式","advance.components.ThemeSetting.AddOrUpdateTheme.CreateNow":"立即创建","advance.components.ThemeSetting.AddOrUpdateTheme.ConfirmEditing":"确认编辑","advance.components.ThemeSetting.Component.DeleteTheTopic":"是否删除该主题?","advance.components.ThemeSetting.Component.DeleteATopic":"删除主题","advance.components.ThemeSetting.Component.EditTopic":"编辑主题","advance.components.ThemeSetting.Component.CreateATopic":"创建主题","advance.components.ThemeSetting.Component.CustomTheme":"自定义主题","advance.components.ThemeSetting.info.ThemeSettings":"主题设置","advance.components.ThemeSetting.info.YouCanConfigureThemeStyles":"可以自主配置主题样式","advance.components.ThemeSetting.mockServices.TheThemeHasBeenCreated":"主题创建成功!","advance.components.ThemeSetting.mockServices.TheTopicHasBeenUpdated":"主题更新成功","advance.components.ThemeSetting.mockServices.TheTopicDoesNotExist":"主题不存在","advance.components.ThemeSetting.mockServices.DeletedSuccessfully":"删除成功","advance.components.ThemeSetting.registerMeta.GetThemeServices":"获取主题服务","advance.components.ThemeSetting.registerMeta.AddThemeService":"添加主题服务","advance.components.ThemeSetting.registerMeta.DeleteAThemeService":"删除主题服务","advance.components.Undo.info.Revoke":"撤销","advance.components.Undo.info.UndoTheCanvasReturnsTo":"撤销,画布返回上一步状态","advance.components.utils.csv.ExportDataCsv":"导出数据.csv","advance.elements.CircleBar.NandinggeerNodes":"南丁格尔节点","advance.elements.CircleBar.registerMeta.Size":"大小","advance.elements.CircleBar.registerMeta.Radius":"半径","advance.elements.CircleBar.registerMeta.MappingField":"映射字段","advance.elements.CircleBar.registerMeta.Color":"颜色","advance.elements.CircleBar.registerMeta.FillColor":"填充颜色","advance.elements.CircleBar.registerMeta.Label":"标签","advance.elements.CircleBar.registerMeta.Switch":"开关","advance.elements.CircleBar.registerMeta.Icon":"图标","advance.elements.CircleBar.registerMeta.Type":"类型","advance.elements.CircleBar.registerMeta.Text":"文本","advance.elements.CircleBar.registerMeta.Picture":"图片","advance.elements.CircleBar.registerMeta.FontIcon":"字体图标","advance.elements.ClusterNode.ClusterNode":"集群节点","advance.elements.ClusterNode.DonutComponentForDataDistribution":"甜甜圈组件,用于数据有分布的情况","advance.elements.ClusterNode.registerMeta.Label":"标签","advance.elements.ClusterNode.registerMeta.Switch":"开关","advance.elements.ClusterNode.registerMeta.MappingField":"映射字段","advance.elements.ReasonNode.StrawberryMap":"草莓图","advance.elements.ReasonNode.CompositeNodesIncludingRoseCharts":"复合节点,包含玫瑰图、柱状图、节点等,原来用在归因树","advance.ReasonNode.reason_analysis_node.draw_bizQuotas.Yes":"是","advance.ReasonNode.reason_analysis_node.draw_bizQuotas.No":"否","advance.ReasonNode.reason_analysis_node.draw_bizQuotas.Other":"其他","advance.ReasonNode.reason_analysis_node.draw_contribution.Contribution":"贡献度","advance.ReasonNode.reason_analysis_node.draw_rose.PreviousValue":"先前值","advance.ReasonNode.reason_analysis_node.draw_rose.AfterChange":"变化后","advance.ReasonNode.reason_analysis_node.draw_runningState.Running":"运行中,","advance.ReasonNode.reason_analysis_node.draw_runningState.Completed":"已完成,","advance.ReasonNode.reason_analysis_node.draw_runningState.BusinessIntervention":"业务可干预","advance.ReasonNode.reason_analysis_node.draw_runningState.BusinessNonIntervention":"业务不可干预","advance.ReasonNode.reason_analysis_node.draw_variability.Variation":"变异度","advance.ReasonNode.reason_analysis_node.preprocess.Yes":"是","advance.ReasonNode.reason_analysis_node.preprocess.No":"否","advance.elements.ReasonNode.registerMeta.Size":"大小","advance.elements.ReasonNode.registerMeta.Radius":"半径","advance.elements.ReasonNode.registerMeta.MappingField":"映射字段","advance.elements.ReasonNode.registerMeta.Color":"颜色","advance.elements.ReasonNode.registerMeta.FillColor":"填充颜色","advance.elements.ReasonNode.registerMeta.Label":"标签","advance.elements.ReasonNode.registerMeta.Switch":"开关","advance.elements.ReasonNode.registerMeta.Icon":"图标","advance.elements.ReasonNode.registerMeta.Type":"类型","advance.elements.ReasonNode.registerMeta.Text":"文本","advance.elements.ReasonNode.registerMeta.Picture":"图片","advance.elements.ReasonNode.registerMeta.FontIcon":"字体图标","advance.src.services.GremlinQuery.GremlinQuery":"Gremlin 查询","advance.src.services.HistoryAnalyseService.SaveAnalysisLinkTemplate":"保存分析链路模版","advance.src.services.HistoryAnalyseService.TheDefaultSaveAnalysisLink":"GI 默认提供的保存分析链路服务","advance.src.services.HistoryAnalyseService.DeleteAnAnalysisLinkTemplate":"删除分析链路模版","advance.src.services.HistoryAnalyseService.TheDeleteAnalysisLinkService":"GI 默认提供的删除分析链路服务。错误信息:{successMsg}","advance.src.services.HistoryAnalyseService.QueryTheListOfHistorical":"查询历史分析链路模版列表","advance.src.services.HistoryAnalyseService.TheQueryHistoryAnalysisLink":"GI 默认提供的查询历史分析链路模版服务","advance.src.services.LanguageQueryService.StatementQuery":"语句查询","advance.src.services.LanguageQueryService.QueryParameters":"查询参数","advance.src.services.StyleSetting.StyleSettings":"样式设置","advance.src.services.TemplateService.PublishTemplate":"发布模板","advance.src.services.TemplateService.GiDefaultServiceForPublishing":"GI 默认提供的发布模板的服务","advance.src.services.TemplateService.QueryTemplateList":"查询模板列表","advance.src.services.TemplateService.ExecuteTemplateQuery":"执行模板查询","advance.src.services.TemplateService.ExecuteTemplateQueryParameters":"执行模板查询参数","advance.src.services.ThemeSetting.AddTopic":"添加主题","advance.src.services.ThemeSetting.TheThemeHasBeenCreated":"主题创建成功!","advance.src.services.ThemeSetting.GetTopics":"获取主题","advance.src.services.ThemeSetting.UpdateTopic":"更新主题","advance.src.services.ThemeSetting.TheTopicHasBeenUpdated":"主题更新成功","advance.src.services.ThemeSetting.TheTopicDoesNotExist":"主题不存在","advance.src.services.ThemeSetting.DeleteATopic":"删除主题","advance.src.services.ThemeSetting.DeletedSuccessfully":"删除成功","advance.components.GremlinQuery.Component.CannotBeModifiedLimitNum":"不可修改,语句中已有 .limit(num) 约束","advance.components.GremlinQuery.Component.TheStatementAddsASuffix":"语句将添加后缀: .limt({limit})","advance.components.GremlinQuery.Component.CannotBeModifiedWithEvaluationtimeout":"不可修改,语句中已有 .with(\'evaluationTimeout\', timeout) 约束","advance.components.GremlinQuery.Component.StatementToAddConstraintsWith":"语句将添加约束: .with(\'evaluationTimeout\', {timeout})","advance.src.services.CypherQuery.QuerySucceeded":"查询成功","advance.src.services.CypherQuery.TheCurrentQueryRequestIs":"当前的查询请求是 MOCK 的,请搭配图数据库使用。","advance.components.GraphAnnotation.registerMeta.DefaultTitleFillAttribute":"默认标题填充属性","advance.components.GraphAnnotation.registerMeta.DefaultContentFillAttribute":"默认内容填充属性","advance.components.TableMode.FilterPopover.NoteOnlyTheDisplayAnd":"注意:仅控制表格中数据行的显示与隐藏","advance.components.TableMode.FilterPopover.EnterASearchKeyword":"请输入搜索关键词","advance.components.TableMode.FilterPopover.SelectAll":"全选"}')},3969:e=>{"use strict";e.exports=JSON.parse('{"common-components.CommonStyleSetting.ColorInput.PleaseSelectAColor":"Please select a color","common-components.src.CommonStyleSetting.FormilyRenderForm.SelectElementAssets":"Select element assets","common-components.CommonStyleSetting.IconPicker.IconContent.Foundation":"Foundation","common-components.CommonStyleSetting.IconPicker.IconContent.Equipment":"Equipment","common-components.CommonStyleSetting.IconPicker.IconContent.Company":"Company","common-components.CommonStyleSetting.IconPicker.IconContent.Logo":"Logo","common-components.CommonStyleSetting.IconPicker.IconContent.ViewAllIcons":"View all icons","common-components.CommonStyleSetting.IconPicker.IconContent.AllIcons":"All icons","common-components.CommonStyleSetting.IconPicker.PleaseSelectTheIcon":"Please select the icon","common-components.CommonStyleSetting.IconSelector.SelectIconType":"Select icon type","common-components.CommonStyleSetting.IconSelector.CommonlyUsed":"Commonly used","common-components.CommonStyleSetting.IconSelector.All":"All","common-components.CommonStyleSetting.IconSelector.EnterAnIconNameTo":"Enter an icon name to search","common-components.FilterPanel.Charts.LineChart.SelectElementtypeAttribute":"Select {elementType} attribute","common-components.src.FilterPanel.Component.AddFilter":"Add Filter","common-components.src.FilterPanel.FilterSelection.SelectElementAttributes":"Select element attributes","common-components.src.FilterPanel.FilterSelection.Node":"Node","common-components.src.FilterPanel.FilterSelection.Edge":"Edge","common-components.src.FilterPanel.FilterSelection.SelectAFilterValue":"Select a filter value","common-components.src.FilterPanel.FilterSelection.SelectAValidField":"Select a valid field","common-components.FormilyForm.Offset.XAxisOffset":"X-axis offset","common-components.FormilyForm.Offset.YAxisOffset":"Y-axis offset","common-components.src.GroupContainer.ExpressionGroup.PropertyFiltering":"Property filtering","common-components.src.GroupContainer.ExpressionGroup.CustomAttributePathsAreSupported":"Custom attribute paths are supported. Example: A. B .C","common-components.src.GroupContainer.ExpressionGroup.AddAttributes":"Add attributes","common-components.src.GroupContainer.StyleConfigurationGroup":"Style configuration Group 1","common-components.src.GroupContainer.CustomStyleIdx":"Custom style {idx}","common-components.src.GroupContainer.AddStyleGroups":"Add style groups","common-components.src.GroupContainer.GroupingRules":"Grouping Rules","common-components.src.GroupContainer.EnterAStyleGroupName":"Enter a style group name","common-components.src.GroupContainer.utils.Equal":"Equal","common-components.src.GroupContainer.utils.NotEqual":"Not equal","common-components.src.GroupContainer.utils.Include":"Include","common-components.src.GroupContainer.utils.NotIncluded":"Not included","common-components.src.GroupContainer.utils.Greater":"Greater","common-components.src.GroupContainer.utils.GreaterThanOrEqual":"Greater than or equal","common-components.src.GroupContainer.utils.Less":"Less","common-components.src.GroupContainer.utils.LessThanOrEqual":"Less than or equal","common-components.src.GroupContainer.Reset":"Reset","common-components.src.NodeSelectionWrap.PleaseFillInLabelNodelabel":"Please fill in {label}{nodeLabel}","common-components.src.NodeSelectionWrap.YouCanClickCanvasNodes":"You can click canvas nodes to quickly select {label}"}')},7441:e=>{"use strict";e.exports=JSON.parse('{"common-components.CommonStyleSetting.ColorInput.PleaseSelectAColor":"请选择颜色","common-components.src.CommonStyleSetting.FormilyRenderForm.SelectElementAssets":"选择元素资产","common-components.CommonStyleSetting.IconPicker.IconContent.Foundation":"基础","common-components.CommonStyleSetting.IconPicker.IconContent.Equipment":"设备","common-components.CommonStyleSetting.IconPicker.IconContent.Company":"公司","common-components.CommonStyleSetting.IconPicker.IconContent.Logo":"徽标","common-components.CommonStyleSetting.IconPicker.IconContent.ViewAllIcons":"查看全部图标","common-components.CommonStyleSetting.IconPicker.IconContent.AllIcons":"全部图标","common-components.CommonStyleSetting.IconPicker.PleaseSelectTheIcon":"请选择图标","common-components.CommonStyleSetting.IconSelector.SelectIconType":"选择图标类型","common-components.CommonStyleSetting.IconSelector.CommonlyUsed":"常用","common-components.CommonStyleSetting.IconSelector.All":"全部","common-components.CommonStyleSetting.IconSelector.EnterAnIconNameTo":"输入图标名称进行搜索","common-components.FilterPanel.Charts.LineChart.SelectElementtypeAttribute":"选择{elementType}属性","common-components.src.FilterPanel.Component.AddFilter":"增加筛选器","common-components.src.FilterPanel.FilterSelection.SelectElementAttributes":"选择元素属性","common-components.src.FilterPanel.FilterSelection.Node":"节点","common-components.src.FilterPanel.FilterSelection.Edge":"边","common-components.src.FilterPanel.FilterSelection.SelectAFilterValue":"选择筛选值","common-components.src.FilterPanel.FilterSelection.SelectAValidField":"请选择合法字段","common-components.FormilyForm.Offset.XAxisOffset":"X轴偏移量","common-components.FormilyForm.Offset.YAxisOffset":"Y轴偏移量","common-components.src.GroupContainer.ExpressionGroup.PropertyFiltering":"属性过滤","common-components.src.GroupContainer.ExpressionGroup.CustomAttributePathsAreSupported":"支持自定义属性路径,例: a.b.c","common-components.src.GroupContainer.ExpressionGroup.AddAttributes":"添加属性","common-components.src.GroupContainer.StyleConfigurationGroup":"样式配置分组1","common-components.src.GroupContainer.CustomStyleIdx":"自定义样式 {idx}","common-components.src.GroupContainer.AddStyleGroups":"新增样式分组","common-components.src.GroupContainer.GroupingRules":"分组规则","common-components.src.GroupContainer.EnterAStyleGroupName":"请输入样式分组名称","common-components.src.GroupContainer.utils.Equal":"等于","common-components.src.GroupContainer.utils.NotEqual":"不等于","common-components.src.GroupContainer.utils.Include":"包含","common-components.src.GroupContainer.utils.NotIncluded":"不包含","common-components.src.GroupContainer.utils.Greater":"大于","common-components.src.GroupContainer.utils.GreaterThanOrEqual":"大于等于","common-components.src.GroupContainer.utils.Less":"小于","common-components.src.GroupContainer.utils.LessThanOrEqual":"小于等于","common-components.src.GroupContainer.Reset":"重置","common-components.src.NodeSelectionWrap.PleaseFillInLabelNodelabel":"请填写{label}{nodeLabel}","common-components.src.NodeSelectionWrap.YouCanClickCanvasNodes":"可点选画布节点,快速选择{label}"}')}},c={};function u(e){var t=c[e];if(void 0!==t)return t.exports;var n=c[e]={id:e,loaded:!1,exports:{}};return l[e].call(n.exports,n,n.exports,u),n.loaded=!0,n.exports}u.amdD=function(){throw new Error("define cannot be used indirect")},u.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return u.d(t,{a:t}),t},u.d=(e,t)=>{for(var n in t)u.o(t,n)&&!u.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},u.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),u.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),u.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),u.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var h={};return(()=>{"use strict";u.r(h),u.d(h,{components:()=>r,services:()=>vw});var e={};u.r(e),u.d(e,{attentionMarkers:()=>Ro,contentInitial:()=>Eo,disable:()=>wo,document:()=>bo,flow:()=>xo,flowInitial:()=>To,insideSpan:()=>Ao,string:()=>So,text:()=>Co});var t={};u.r(t),u.d(t,{boolean:()=>xa,booleanish:()=>Sa,commaOrSpaceSeparated:()=>La,commaSeparated:()=>wa,number:()=>Aa,overloadedBoolean:()=>Ca,spaceSeparated:()=>Ra});var n={};u.r(n),u.d(n,{postorder:()=>kv,preorder:()=>Dv});var r={};u.r(r),u.d(r,{AddSheetbar:()=>N,AnalysisHistory:()=>Gn,Assistant:()=>ty,CypherQuery:()=>rt,GraphAnnotation:()=>vt,GremlinQuery:()=>Ct,JSONMode:()=>cy,ModeSwitch:()=>Lt,Redo:()=>Ut,Sheetbar:()=>Vt,StructAnalysis:()=>my,StyleSetting:()=>Cy,SubGraphLayout:()=>qA,TableMode:()=>IR,ThemeSetting:()=>VR,Undo:()=>ew});var i={};u.r(i),u.d(i,{CypherQuery:()=>tw});var o={};u.r(o),u.d(o,{GremlinQuery:()=>nw});var a={};u.r(a),u.d(a,{ListHistoryTemplateService:()=>aw,RemoveHistoryTemplateService:()=>ow,SaveHistoryTemplateService:()=>iw});var s={};u.r(s),u.d(s,{StyleSetting:()=>sw});var l={};u.r(l),u.d(l,{ExecTemplateQueryService:()=>pw,PublishTemplate:()=>uw,TemplateListService:()=>hw});var c={};u.r(c),u.d(c,{AddTheme:()=>fw,GetTheme:()=>mw,RemoveTheme:()=>yw,UpdateTheme:()=>gw});var p=u(3618),d=u.n(p),f=u(2721),m=u(1024),g=u.n(m),y=u(5558),v=u.n(y),_=u(4959),b=u(5802),E=u.n(b);let T,x;function S(){const{lang:e}=v().getLocale();T=e,x=_.ZP.init(e,E(),{name:"advance"})}const C=function(e,t={}){return x||S(),"string"==typeof e?_.ZP.format({id:e},t,{name:"advance"}):("object"==typeof e&&e.dm&&(e.defaultMessage=e.dm),_.ZP.format({id:e.id,defaultString:e.dm},t,{name:"advance"}))};const{GIAComponent:A}=p.extra,R=(0,m.memo)((e=>{const{handleAddSheetbar:t,graph:n}=(0,p.useContext)(),{GIAC:r,isRelayout:i}=e,o=g().useCallback((()=>{const e=n.findAllByState("node","selected").map((e=>{const t=e.getModel(),{x:n,y:r}=t,o=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);ie.getModel()));0!==e.length&&(t||f.message.warn(C({id:"advance.components.AddSheetbar.Component.PleaseUseThisFunctionIn",dm:"请在默认画布中使用该功能,暂不支持其他画布的「添加页签」功能"})),t&&t({nodes:e,edges:r}))}),[n,t,i]);return g().createElement(g().Fragment,null,g().createElement(A,{GIAC:r,onClick:o}))})),{deepClone:w,GIAC_METAS:L}=p.extra,O=w(L);O.GIAC.properties.GIAC.properties.title.default=C({id:"advance.components.AddSheetbar.registerMeta.AddTheSelectedNodesAnd",dm:"将选中的节点与边添加到新画布中"}),O.GIAC.properties.GIAC.properties.icon.default="icon-plus",O.GIAC.properties.GIAC.properties.isShowTitle.default=!1,O.GIAC.properties.GIAC.properties.tooltipPlacement.default="right";const N={info:{id:"AddSheetbar",name:C({id:"advance.components.AddSheetbar.AddATab",dm:"新增页签"}),desc:C({id:"advance.components.AddSheetbar.AddATab",dm:"新增页签"}),cover:"http://xxxx.jpg",category:"system-interaction",icon:"icon-plus",type:"GIAC",docs:"https://www.yuque.com/antv/gi/wwzhrmtem0m2g09p"},component:R,registerMeta:()=>Object.assign({isRelayout:{title:C({id:"advance.components.AddSheetbar.registerMeta.RelayoutOrNot",dm:"是否重新布局"}),type:"boolean","x-decorator":"FormItem","x-component":"Switch",default:!0}},O)};function I(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r3?t.i-4:t.i:Array.isArray(e)?1:U(e)?2:j(e)?3:0}function H(e,t){return 2===F(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function B(e,t,n){var r=F(e);2===r?e.set(t,n):3===r?(e.delete(t),e.add(n)):e[t]=n}function U(e){return fe&&e instanceof Map}function j(e){return me&&e instanceof Set}function G(e){return e.o||e.t}function Y(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Te(e);delete t[_e];for(var n=Ee(t),r=0;r1&&(e.set=e.add=e.clear=e.delete=$),Object.freeze(e),t&&M(e,(function(e,t){return z(t,!0)}),!0)),e}function $(){I(2)}function W(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function V(e){var t=xe[e];return t||I(18,e),t}function K(){return pe}function q(e,t){t&&(V("Patches"),e.u=[],e.s=[],e.v=t)}function X(e){Z(e),e.p.forEach(J),e.p=null}function Z(e){e===pe&&(pe=e.l)}function Q(e){return pe={p:[],l:pe,h:e,m:!0,_:0}}function J(e){var t=e[_e];0===t.i||1===t.i?t.j():t.g=!0}function ee(e,t){t._=t.p.length;var n=t.p[0],r=void 0!==e&&e!==n;return t.h.O||V("ES5").S(t,e,r),r?(n[_e].P&&(X(t),I(4)),D(e)&&(e=te(t,e),t.l||re(t,e)),t.u&&V("Patches").M(n[_e],e,t.u,t.s)):e=te(t,n,[]),X(t),t.u&&t.v(t.u,t.s),e!==ye?e:void 0}function te(e,t,n){if(W(t))return t;var r=t[_e];if(!r)return M(t,(function(i,o){return ne(e,r,t,i,o,n)}),!0),t;if(r.A!==e)return t;if(!r.P)return re(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=Y(r.k):r.o;M(3===r.i?new Set(i):i,(function(t,o){return ne(e,r,i,t,o,n)})),re(e,i,!1),n&&e.u&&V("Patches").R(r,n,e.u,e.s)}return r.o}function ne(e,t,n,r,i,o){if(k(i)){var a=te(e,i,o&&t&&3!==t.i&&!H(t.D,r)?o.concat(r):void 0);if(B(n,r,a),!k(a))return;e.m=!1}if(D(i)&&!W(i)){if(!e.h.F&&e._<1)return;te(e,i),t&&t.A.l||re(e,i)}}function re(e,t,n){void 0===n&&(n=!1),e.h.F&&e.m&&z(t,n)}function ie(e,t){var n=e[_e];return(n?G(n):e)[t]}function oe(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function ae(e){e.P||(e.P=!0,e.l&&ae(e.l))}function se(e){e.o||(e.o=Y(e.t))}function le(e,t,n){var r=U(t)?V("MapSet").N(t,n):j(t)?V("MapSet").T(t,n):e.O?function(e,t){var n=Array.isArray(e),r={i:n?1:0,A:t?t.A:K(),P:!1,I:!1,D:{},l:t,t:e,k:null,o:null,j:null,C:!1},i=r,o=Se;n&&(i=[r],o=Ce);var a=Proxy.revocable(i,o),s=a.revoke,l=a.proxy;return r.k=l,r.j=s,l}(t,n):V("ES5").J(t,n);return(n?n.A:K()).p.push(r),r}function ce(e){return k(e)||I(22,e),function e(t){if(!D(t))return t;var n,r=t[_e],i=F(t);if(r){if(!r.P&&(r.i<4||!V("ES5").K(r)))return r.t;r.I=!0,n=ue(t,i),r.I=!1}else n=ue(t,i);return M(n,(function(t,i){r&&function(e,t){return 2===F(e)?e.get(t):e[t]}(r.t,t)===i||B(n,t,e(i))})),3===i?new Set(n):n}(e)}function ue(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Y(e)}var he,pe,de="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),fe="undefined"!=typeof Map,me="undefined"!=typeof Set,ge="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,ye=de?Symbol.for("immer-nothing"):((he={})["immer-nothing"]=!0,he),ve=de?Symbol.for("immer-draftable"):"__$immer_draftable",_e=de?Symbol.for("immer-state"):"__$immer_state",be=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),Ee="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Te=Object.getOwnPropertyDescriptors||function(e){var t={};return Ee(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t},xe={},Se={get:function(e,t){if(t===_e)return e;var n=G(e);if(!H(n,t))return function(e,t,n){var r,i=oe(t,n);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(e.k):void 0}(e,n,t);var r=n[t];return e.I||!D(r)?r:r===ie(e.t,t)?(se(e),e.o[t]=le(e.A.h,r,e)):r},has:function(e,t){return t in G(e)},ownKeys:function(e){return Reflect.ownKeys(G(e))},set:function(e,t,n){var r=oe(G(e),t);if(null==r?void 0:r.set)return r.set.call(e.k,n),!0;if(!e.P){var i=ie(G(e),t),o=null==i?void 0:i[_e];if(o&&o.t===n)return e.o[t]=n,e.D[t]=!1,!0;if(function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}(n,i)&&(void 0!==n||H(e.t,t)))return!0;se(e),ae(e)}return e.o[t]===n&&"number"!=typeof n||(e.o[t]=n,e.D[t]=!0,!0)},deleteProperty:function(e,t){return void 0!==ie(e.t,t)||t in e.t?(e.D[t]=!1,se(e),ae(e)):delete e.D[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=G(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty:function(){I(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){I(12)}},Ce={};M(Se,(function(e,t){Ce[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),Ce.deleteProperty=function(e,t){return Se.deleteProperty.call(this,e[0],t)},Ce.set=function(e,t,n){return Se.set.call(this,e[0],t,n,e[0])};var Ae=function(){function e(e){var t=this;this.O=ge,this.F=!0,this.produce=function(e,n,r){if("function"==typeof e&&"function"!=typeof n){var i=n;n=e;var o=t;return function(e){var t=this;void 0===e&&(e=i);for(var r=arguments.length,a=Array(r>1?r-1:0),s=1;s1?r-1:0),o=1;o=0;n--){var r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}var i=V("Patches").$;return k(e)?i(e,t):this.produce(e,(function(e){return i(e,t.slice(n+1))}))},e}(),Re=new Ae,we=Re.produce;function Le(e){var t=(0,m.useState)((function(){return z("function"==typeof e?e():e,!0)})),n=t[1];return[t[0],(0,m.useCallback)((function(e){n("function"==typeof e?we(e):z(e))}),[])]}Re.produceWithPatches.bind(Re),Re.setAutoFreeze.bind(Re),Re.setUseProxies.bind(Re),Re.applyPatches.bind(Re),Re.createDraft.bind(Re),Re.finishDraft.bind(Re);var Oe=u(6840),Ne=u(3659);const Ie={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"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 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"}}]},name:"info-circle",theme:"outlined"};var ke=u(2439),De=function(e,t){return m.createElement(ke.Z,(0,Ne.Z)((0,Ne.Z)({},e),{},{ref:t,icon:Ie}))};De.displayName="InfoCircleOutlined";const Pe=m.forwardRef(De);u(9625),u(2902),u(6087),u(5200),u(6484),u(6628),u(651);var Me={};const Fe=function(e){var t=e.height,n=void 0===t?150:t,r=e.showGutter,i=void 0===r||r,o=e.gremlinId,a=e.initValue,s=e.onValueChange,l=e.onSelectChange,c=e.isReadOnly,u=void 0!==c&&c,h=e.historyValue,p=e.theme,d=void 0===p?"tomorrow":p,f=e.onInit,y=Me[o];return(0,m.useEffect)((function(){if(!o)throw new Error("Gremlin Editor ID do not be undefined");return y||(Me[o]=window.ace.edit(o),y=Me[o],window.ace.require("ace/ext/language_tools"),d&&y.setTheme("ace/theme/".concat(d)),y.session.setMode("ace/mode/gremlin"),y.setShowPrintMargin(!1),y.setHighlightActiveLine(!1),y.renderer.setShowGutter(i),y.$blockScrolling=1/0,y.setReadOnly(u),y.setOption("minLines",3),y.setOption("wrap","free"),y.setOptions({enableBasicAutocompletion:!0,enableSnippets:!0,enableLiveAutocompletion:!0}),y.on("change",(function(){var e=y.getValue();s&&s(e)})),y.on("changeSelection",(function(){var e=y.session.getTextRange(y.getSelectionRange());l&&l(e)})),f&&f({resize:function(){y.resize()}})),a&&y.setValue(a),y.clearSelection(),function(){y.destroy(),y.container.remove(),y=null,delete Me[o]}}),[o]),(0,m.useEffect)((function(){Me[o]&&h&&Me[o].insert(h)}),[h]),g().createElement("div",{id:o,style:{height:n}})};var He=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){e.done?i(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))};const{Option:Be}=f.Select,Ue={labelCol:{span:6},wrapperCol:{span:18}},je=({fileType:e,value:t,visible:n,close:r,saveTemplateServceId:i})=>{const[o]=f.Form.useForm(),{services:a}=(0,p.useContext)();if(!i)return f.message.error(C({id:"advance.components.PublishTemplate.SelectAServiceToPublish",dm:"请选择发布成模板的服务"})),null;const s=p.utils.getService(a,i),[l,c]=Le({initValue:t,defaultFormValue:{parameterName:"",valueType:"string",parameterValue:""},paramsList:[],selectValue:"",modalVisible:!1,btnLoading:!1,temDescription:""}),{initValue:u,defaultFormValue:h,paramsList:d,selectValue:m,modalVisible:y,temDescription:v,btnLoading:_}=l,b=[{title:C({id:"advance.components.PublishTemplate.ParameterName",dm:"参数名称"}),dataIndex:"parameterName",key:"parameterName"},{title:C({id:"advance.components.PublishTemplate.Type",dm:"类型"}),dataIndex:"valueType",key:"valueType"},{title:C({id:"advance.components.PublishTemplate.ReplacementValue",dm:"替换值"}),dataIndex:"parameterValue",key:"parameterValue"},{title:C({id:"advance.components.PublishTemplate.Operation",dm:"操作"}),key:"action",render:(e,t)=>g().createElement(f.Popconfirm,{title:C({id:"advance.components.PublishTemplate.AreYouSureYouWant",dm:"确定删除?"}),onConfirm:()=>(e=>{const t=d.filter((t=>t.parameterName!==e.parameterName&&t.parameterValue!==e.parameterValue));c((e=>{e.paramsList=t}))})(t),okText:C({id:"advance.components.PublishTemplate.Ok",dm:"确定"}),cancelText:C({id:"advance.components.PublishTemplate.Cancel",dm:"取消"})},g().createElement("a",null,g().createElement(Oe.Z,null)))}];return g().createElement(f.Drawer,{title:C({id:"advance.components.PublishTemplate.PublishAsATemplate",dm:"发布成模板"}),visible:n,width:700,onClose:r,footer:g().createElement("div",{style:{textAlign:"right"}},g().createElement(f.Button,{onClick:r,style:{marginRight:8}},C({id:"advance.components.PublishTemplate.Cancel",dm:"取消"})),g().createElement(f.Button,{type:"primary",onClick:()=>He(void 0,void 0,void 0,(function*(){const t=yield o.validateFields();if(!t.templateName)return void f.message.error(C({id:"advance.components.PublishTemplate.TheTemplateNameIsEmpty",dm:"模板名称为空或格式不正确!"}));if(c((e=>{e.btnLoading=!0})),!s)return;const n=yield s({graphLanguageType:e,queryTemplate:u,templateName:t.templateName,description:v,templateParameterList:d});c((e=>{e.btnLoading=!1})),n&&(f.message.success(C({id:"advance.components.PublishTemplate.TemplatePublishedSuccessfully",dm:"发布模板成功"})),r())})),loading:_},C({id:"advance.components.PublishTemplate.Publish",dm:"发布"})))},g().createElement(f.Row,{className:"templateParamContainer"},g().createElement(f.Col,{span:24,className:"title",style:{marginBottom:-8}},g().createElement(f.Form,{name:"templateNames",form:o},g().createElement(f.Form.Item,{label:C({id:"advance.components.PublishTemplate.TemplateName",dm:"模板名称"}),name:"templateName",tooltip:{title:C({id:"advance.components.PublishTemplate.TheTemplateNameCanOnly",dm:"模板名称只能包含字母、数字或下划线,且只能以字母开头"}),icon:g().createElement(Pe,null)}},g().createElement(f.Input,{size:"small",style:{width:350,border:"1px solid #434343",marginLeft:16}})))),g().createElement(f.Col,{span:16,className:"title",style:{marginTop:0}},C({id:"advance.components.PublishTemplate.OriginalStatement",dm:"原始语句"}),g().createElement("span",{className:"description"},C({id:"advance.components.PublishTemplate.SelectTheContentToBe",dm:"请选择要参数化的内容,然后点击右边的参数化按钮进行下一步的操作"}))),g().createElement(f.Col,{span:8,style:{textAlign:"right",marginTop:20}},g().createElement(f.Tooltip,{title:C({id:"advance.components.PublishTemplate.SelectTheParameterValueIn",dm:"选择 {fileType} 中的参数值后进行参数化操作"},{fileType:e})},g().createElement(f.Button,{size:"small",onClick:()=>{c((e=>{e.modalVisible=!0})),o.setFieldsValue({parameterName:"",valueType:"string",parameterValue:m.replace(/(\"|\')/g,"")})},disabled:!m},C({id:"advance.components.PublishTemplate.Parameterized",dm:"参数化"})))),g().createElement(f.Col,{span:24,style:{border:"1px solid #d9d9d9"}},g().createElement(Fe,{initialValue:u,height:150,isReadOnly:!0,onSelectChange:e=>{c((t=>{t.selectValue=e}))}})),g().createElement(f.Col,{span:24,className:"title"},C({id:"advance.components.PublishTemplate.TemplateStatement",dm:"模板语句"}),g().createElement("pre",{className:"tpre",dangerouslySetInnerHTML:{__html:u.trim().replace(/(\{\{)\w+(\}\})/g,(e=>`${e}`))}})),g().createElement(f.Col,{span:24,className:"title"},C({id:"advance.components.PublishTemplate.ParameterList",dm:"参数列表"})),g().createElement(f.Col,{span:24},g().createElement(f.Table,{columns:b,dataSource:d,pagination:{hideOnSinglePage:!0,size:"small"}})),g().createElement(f.Col,{span:24,className:"title"},C({id:"advance.components.PublishTemplate.TemplateDescription",dm:"模板描述"})),g().createElement(f.Col,{span:24},g().createElement(f.Input.TextArea,{rows:3,onChange:e=>{c((t=>{t.temDescription=e.target.value}))},style:{border:"1px solid #434343"}}))),g().createElement(f.Modal,{title:C({id:"advance.components.PublishTemplate.FiletypeParameterized",dm:"{fileType} 参数化"},{fileType:e}),visible:y,onOk:()=>He(void 0,void 0,void 0,(function*(){const e=yield o.validateFields(),t=[...d],n=t.find((t=>t.parameterName===e.parameterName));n&&f.message.info(C({id:"advance.components.PublishTemplate.ParameterizeExistingParametersAndOverwrite",dm:"参数化已经存在的参数,会覆盖已有的参数"}));const r=t.filter((t=>t.parameterName!==e.parameterName));r.push(e);try{const t=new RegExp(`${m}`),n=u.replace(t,`{{${e.parameterName}}}`).replace(/(\"|\')(?=\{\{)/,"").replace(/(?:\}\})(\"|\')/,"");c((e=>{e.paramsList=[...r],e.initValue=n,e.modalVisible=!1,e.defaultFormValue={parameterName:"",valueType:"string",parameterValue:""}}))}catch(e){console.log("error",e)}})),width:350,okText:C({id:"advance.components.PublishTemplate.Ok",dm:"确定"}),cancelText:C({id:"advance.components.PublishTemplate.Cancel",dm:"取消"}),onCancel:()=>{c((e=>{e.modalVisible=!1}))},bodyStyle:{padding:"8px 24px"}},g().createElement(f.Form,Object.assign({},Ue,{name:"templateParams",form:o,initialValues:h}),g().createElement(f.Form.Item,{label:C({id:"advance.components.PublishTemplate.ParameterName",dm:"参数名称"}),name:"parameterName",rules:[{required:!0,message:C({id:"advance.components.PublishTemplate.EnterTheNameOfThe",dm:"请输入参数的名称!"})}],style:{marginBottom:16}},g().createElement(f.Input,{size:"small"})),g().createElement(f.Form.Item,{label:C({id:"advance.components.PublishTemplate.ParameterType",dm:"参数类型"}),name:"valueType",rules:[{required:!0,message:C({id:"advance.components.PublishTemplate.SelectAParameterType",dm:"请选择参数类型!"})}],style:{marginBottom:16}},g().createElement(f.Select,{size:"small"},g().createElement(Be,{value:"string"},"string"),g().createElement(Be,{value:"long"},"long"),g().createElement(Be,{value:"double"},"double"))),g().createElement(f.Form.Item,{name:"parameterValue",label:C({id:"advance.components.PublishTemplate.ReplacementValue",dm:"替换值"}),style:{marginBottom:0}},g().createElement(f.Input,{size:"small",disabled:!0})))))};var Ge=u(3266),Ye=u.n(Ge),ze=u(5535);function $e(e,t){return{from:{line:e.line-1,ch:e.column},to:{line:t.line-1,ch:t.column}}}u(2580),u(5212),u(6713),Ye().registerHelper("lint","cypher",((e,t,n)=>{const r=n.editorSupport;if(!r)return[];const i=n.newContentVersion();return r.update(e,i),function(e,t){const n=e.cypherMarkers;n.forEach((e=>e.clear())),null!=t.parseTree&&t.applyHighlighthing(((r,i)=>{const{from:o,to:a}=function(e,t){const{start:n,stop:r}=ze.TreeUtils.getPosition(e)||{start:0,stop:0};return $e(t.positionConverter.toRelative(n),t.positionConverter.toRelative(r+1))}(r,t);n.push(e.markText(o,a,{className:`cm-p-${i}`}))}))}(n,r),(r.parseErrors||[]).map((({line:e,col:t,msg:r})=>({severity:"error",from:{line:e-1,ch:Math.min(n.getLine(e-1).length-1,t)},to:{line:e,ch:0},message:r})))})),Ye().registerHelper("hint","cypher",(e=>{const t=e.editorSupport;if(!t)return{};t.update(e.getValue());const{line:n,ch:r}=e.getCursor(),{items:i,from:o,to:a}=t.getCompletion(n+1,r),s=$e(o,a),l=(e,t,n)=>{e.innerHTML+=`${n.displayText}${n.postfix?n.postfix:""}`};return Object.assign({list:i.map((({type:e,view:t,content:n,postfix:r})=>({text:n,displayText:t,className:`cm-hint-${e}`,type:e,postfix:r,render:l})))},s)}));const We=JSON.parse('{"aT":[{"row":["apoc.coll.avg","apoc.coll.avg(numbers :: LIST? OF NUMBER?) :: (FLOAT?)","apoc.coll.avg([0.5,1,2.3])",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.coll.contains","apoc.coll.contains(coll :: LIST? OF ANY?, value :: ANY?) :: (BOOLEAN?)","apoc.coll.contains(coll, value) optimized contains operation (using a HashSet) (returns single row or not)",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.coll.containsAll","apoc.coll.containsAll(coll :: LIST? OF ANY?, values :: LIST? OF ANY?) :: (BOOLEAN?)","apoc.coll.containsAll(coll, values) optimized contains-all operation (using a HashSet) (returns single row or not)",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.coll.containsAllSorted","apoc.coll.containsAllSorted(coll :: LIST? OF ANY?, values :: LIST? OF ANY?) :: (BOOLEAN?)","apoc.coll.containsAllSorted(coll, value) optimized contains-all on a sorted list operation (Collections.binarySearch) (returns single row or not)",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.coll.containsSorted","apoc.coll.containsSorted(coll :: LIST? OF ANY?, value :: ANY?) :: (BOOLEAN?)","apoc.coll.containsSorted(coll, value) optimized contains on a sorted list operation (Collections.binarySearch) (returns single row or not)",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.coll.disjunction","apoc.coll.disjunction(first :: LIST? OF ANY?, second :: LIST? OF ANY?) :: (LIST? OF ANY?)","apoc.coll.disjunction(first, second) - returns the disjunct set of the two lists",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.coll.indexOf","apoc.coll.indexOf(coll :: LIST? OF ANY?, value :: ANY?) :: (INTEGER?)","apoc.coll.indexOf(coll, value) | position of value in the list",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.coll.intersection","apoc.coll.intersection(first :: LIST? OF ANY?, second :: LIST? OF ANY?) :: (LIST? OF ANY?)","apoc.coll.intersection(first, second) - returns the unique intersection of the two lists",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.coll.max","apoc.coll.max(values :: LIST? OF ANY?) :: (ANY?)","apoc.coll.max([0.5,1,2.3])",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.coll.min","apoc.coll.min(values :: LIST? OF ANY?) :: (ANY?)","apoc.coll.min([0.5,1,2.3])",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.coll.pairs","apoc.coll.pairs(list :: LIST? OF ANY?) :: (LIST? OF ANY?)","apoc.coll.pairs([1,2,3]) returns [1,2],[2,3],[3,null] ",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.coll.pairsMin","apoc.coll.pairsMin(list :: LIST? OF ANY?) :: (LIST? OF ANY?)","apoc.coll.pairsMin([1,2,3]) returns [1,2],[2,3]",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.coll.removeAll","apoc.coll.removeAll(first :: LIST? OF ANY?, second :: LIST? OF ANY?) :: (LIST? OF ANY?)","apoc.coll.removeAll(first, second) - returns first list with all elements of second list removed",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.coll.sort","apoc.coll.sort(coll :: LIST? OF ANY?) :: (LIST? OF ANY?)","apoc.coll.sort(coll) sort on Collections",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.coll.sortMaps","apoc.coll.sortMaps(coll :: LIST? OF MAP?, prop :: STRING?) :: (LIST? OF ANY?)","apoc.coll.sortMaps([maps], \'name\') - sort maps by property",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.coll.sortNodes","apoc.coll.sortNodes(coll :: LIST? OF NODE?, prop :: STRING?) :: (LIST? OF ANY?)","apoc.coll.sortNodes([nodes], \'name\') sort nodes by property",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.coll.subtract","apoc.coll.subtract(first :: LIST? OF ANY?, second :: LIST? OF ANY?) :: (LIST? OF ANY?)","apoc.coll.subtract(first, second) - returns unique set of first list with all elements of second list removed",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.coll.sum","apoc.coll.sum(numbers :: LIST? OF NUMBER?) :: (FLOAT?)","apoc.coll.sum([0.5,1,2.3])",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.coll.sumLongs","apoc.coll.sumLongs(numbers :: LIST? OF NUMBER?) :: (INTEGER?)","apoc.coll.sumLongs([1,3,3])",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.coll.toSet","apoc.coll.toSet(values :: LIST? OF ANY?) :: (LIST? OF ANY?)","apoc.coll.toSet([list]) returns a unique list backed by a set",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.coll.union","apoc.coll.union(first :: LIST? OF ANY?, second :: LIST? OF ANY?) :: (LIST? OF ANY?)","apoc.coll.union(first, second) - creates the distinct union of the 2 lists",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.coll.unionAll","apoc.coll.unionAll(first :: LIST? OF ANY?, second :: LIST? OF ANY?) :: (LIST? OF ANY?)","apoc.coll.unionAll(first, second) - creates the full union with duplicates of the two lists",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.coll.zip","apoc.coll.zip(list1 :: LIST? OF ANY?, list2 :: LIST? OF ANY?) :: (LIST? OF ANY?)","apoc.coll.zip([list1],[list2])",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.convert.fromJsonList","apoc.convert.fromJsonList(list :: STRING?) :: (LIST? OF ANY?)","apoc.convert.fromJsonList(\'[1,2,3]\')",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.convert.fromJsonMap","apoc.convert.fromJsonMap(map :: STRING?) :: (MAP?)","apoc.convert.fromJsonMap(\'{\\"a\\":42,\\"b\\":\\"foo\\",\\"c\\":[1,2,3]}\')",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.convert.getJsonProperty","apoc.convert.getJsonProperty(node :: NODE?, key :: STRING?) :: (ANY?)","apoc.json.getJsonProperty(node,key) - converts serialized JSON in property back to original object",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.convert.getJsonPropertyMap","apoc.convert.getJsonPropertyMap(node :: NODE?, key :: STRING?) :: (MAP?)","apoc.json.getJsonPropertyMap(node,key) - converts serialized JSON in property back to map",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.convert.toBoolean","apoc.convert.toBoolean(bool :: ANY?) :: (BOOLEAN?)","apoc.convert.toBoolean(value) | tries it\'s best to convert the value to a boolean",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.convert.toJson","apoc.convert.toJson(value :: ANY?) :: (STRING?)","apoc.convert.toJson([1,2,3]) or toJson({a:42,b:\\"foo\\",c:[1,2,3]})",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.convert.toList","apoc.convert.toList(list :: ANY?) :: (LIST? OF ANY?)","apoc.convert.toList(value) | tries it\'s best to convert the value to a list",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.convert.toMap","apoc.convert.toMap(map :: ANY?) :: (MAP?)","apoc.convert.toMap(value) | tries it\'s best to convert the value to a map",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.convert.toNode","apoc.convert.toNode(node :: ANY?) :: (NODE?)","apoc.convert.toNode(value) | tries it\'s best to convert the value to a node",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.convert.toRelationship","apoc.convert.toRelationship(relationship :: ANY?) :: (RELATIONSHIP?)","apoc.convert.toRelationship(value) | tries it\'s best to convert the value to a relationship",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.convert.toSet","apoc.convert.toSet(list :: ANY?) :: (LIST? OF ANY?)","apoc.convert.toSet(value) | tries it\'s best to convert the value to a set",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.convert.toString","apoc.convert.toString(string :: ANY?) :: (STRING?)","apoc.convert.toString(value) | tries it\'s best to convert the value to a string",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.create.uuid","apoc.create.uuid() :: (STRING?)","apoc.create.uuid() - creates an UUID",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.data.domain","apoc.data.domain(url_or_email_address :: STRING?) :: (STRING?)","apoc.data.domain(\'url_or_email_address\') YIELD domain - extract the domain name from a url or an email address. If nothing was found, yield null.",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.date.fields","apoc.date.fields(date :: STRING?, pattern = yyyy-MM-dd HH:mm:ss :: STRING?) :: (MAP?)","apoc.date.fields(\'2012-12-23\',(\'yyyy-MM-dd\')) - return columns and a map representation of date parsed with the given format with entries for years,months,weekdays,days,hours,minutes,seconds,zoneid",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.date.format","apoc.date.format(time :: INTEGER?, unit = ms :: STRING?, format = yyyy-MM-dd HH:mm:ss :: STRING?, timezone = :: STRING?) :: (STRING?)","apoc.date.format(12345,(\'ms|s|m|h|d\'),(\'yyyy-MM-dd HH:mm:ss zzz\'),(\'TZ\')) get string representation of time value optionally using the specified unit (default ms) using specified format (default ISO) and specified time zone (default current TZ)",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.date.parse","apoc.date.parse(time :: STRING?, unit = ms :: STRING?, format = yyyy-MM-dd HH:mm:ss :: STRING?, timezone = :: STRING?) :: (INTEGER?)","apoc.date.parse(\'2012-12-23\',\'ms|s|m|h|d\',\'yyyy-MM-dd\') parse date string using the specified format into the specified time unit",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.date.systemTimezone","apoc.date.systemTimezone() :: (STRING?)","apoc.date.systemTimezone() returns the system timezone display name",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.date.toYears","apoc.date.toYears(value :: ANY?, format = yyyy-MM-dd HH:mm:ss :: STRING?) :: (FLOAT?)","toYears(timestap) or toYears(date[,format]) converts timestamp into floating point years",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.map.clean","apoc.map.clean(map :: MAP?, keys :: LIST? OF STRING?, values :: LIST? OF ANY?) :: (MAP?)","apoc.map.clean(map,[skip,keys],[skip,values]) yield map removes the keys and values contained in those lists, good for data cleaning from CSV/JSON",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.map.flatten","apoc.map.flatten(map :: MAP?) :: (MAP?)","apoc.map.flatten(map) yield map - flattens nested items in map using dot notation",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.map.fromLists","apoc.map.fromLists(keys :: LIST? OF STRING?, values :: LIST? OF ANY?) :: (MAP?)","apoc.map.fromLists([keys],[values])",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.map.fromNodes","apoc.map.fromNodes(label :: STRING?, property :: STRING?) :: (MAP?)","apoc.map.fromNodes(label, property)",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.map.fromPairs","apoc.map.fromPairs(pairs :: LIST? OF LIST? OF ANY?) :: (MAP?)","apoc.map.fromPairs([[key,value],[key2,value2],...])",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.map.fromValues","apoc.map.fromValues(values :: LIST? OF ANY?) :: (MAP?)","apoc.map.fromValues([key1,value1,key2,value2,...])",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.map.groupBy","apoc.map.groupBy(values :: LIST? OF ANY?, key :: STRING?) :: (MAP?)","apoc.map.groupBy([maps/nodes/relationships],\'key\') yield value - creates a map of the list keyed by the given property, with single values",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.map.groupByMulti","apoc.map.groupByMulti(values :: LIST? OF ANY?, key :: STRING?) :: (MAP?)","apoc.map.groupByMulti([maps/nodes/relationships],\'key\') yield value - creates a map of the list keyed by the given property, with list values",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.map.merge","apoc.map.merge(first :: MAP?, second :: MAP?) :: (MAP?)","apoc.map.merge(first,second) - merges two maps",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.map.mergeList","apoc.map.mergeList(maps :: LIST? OF MAP?) :: (MAP?)","apoc.map.mergeList([{maps}]) yield value - merges all maps in the list into one",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.map.removeKey","apoc.map.removeKey(map :: MAP?, key :: STRING?) :: (MAP?)","apoc.map.removeKey(map,key)",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.map.removeKeys","apoc.map.removeKeys(map :: MAP?, keys :: LIST? OF STRING?) :: (MAP?)","apoc.map.removeKeys(map,keys)",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.map.setEntry","apoc.map.setEntry(map :: MAP?, key :: STRING?, value :: ANY?) :: (MAP?)","apoc.map.setEntry(map,key,value)",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.map.setKey","apoc.map.setKey(map :: MAP?, key :: STRING?, value :: ANY?) :: (MAP?)","apoc.map.setKey(map,key,value)",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.map.setLists","apoc.map.setLists(map :: MAP?, keys :: LIST? OF STRING?, values :: LIST? OF ANY?) :: (MAP?)","apoc.map.setLists(map,[keys],[values])",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.map.setPairs","apoc.map.setPairs(map :: MAP?, pairs :: LIST? OF LIST? OF ANY?) :: (MAP?)","apoc.map.setPairs(map,[[key1,value1],[key2,value2])",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.map.setValues","apoc.map.setValues(map :: MAP?, pairs :: LIST? OF ANY?) :: (MAP?)","apoc.map.setValues(map,[key1,value1,key2,value2])",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.math.round","apoc.math.round(value :: FLOAT?, precision = 0 :: INTEGER?, mode = HALF_UP :: STRING?) :: (FLOAT?)","apoc.math.round(value,[prec],mode=[CEILING,FLOOR,UP,DOWN,HALF_EVEN,HALF_DOWN,HALF_UP,DOWN,UNNECESSARY])",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.meta.isType","apoc.meta.isType(value :: ANY?, type :: STRING?) :: (BOOLEAN?)","apoc.meta.isType(value,type) - returns a row if type name matches none if not (INTEGER,FLOAT,STRING,BOOLEAN,RELATIONSHIP,NODE,PATH,NULL,UNKNOWN,MAP,LIST)",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.meta.type","apoc.meta.type(value :: ANY?) :: (STRING?)","apoc.meta.type(value) - type name of a value (INTEGER,FLOAT,STRING,BOOLEAN,RELATIONSHIP,NODE,PATH,NULL,UNKNOWN,MAP,LIST)",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.meta.typeName","apoc.meta.typeName(value :: ANY?) :: (STRING?)","apoc.meta.typeName(value) - type name of a value (INTEGER,FLOAT,STRING,BOOLEAN,RELATIONSHIP,NODE,PATH,NULL,UNKNOWN,MAP,LIST)",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.meta.types","apoc.meta.types(properties :: ANY?) :: (MAP?)","apoc.meta.types(node-relationship-map) - returns a map of keys to types",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.node.relationship.exists","apoc.node.relationship.exists(node :: NODE?, types :: STRING?) :: (BOOLEAN?)","apoc.node.relationship.exists(node, rel-direction-pattern) - yields true effectively when the node has the relationships of the pattern",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.nodes.isDense","apoc.nodes.isDense(node :: NODE?) :: (BOOLEAN?)","apoc.nodes.isDense(node) - returns true if it is a dense node",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.number.format","apoc.number.format(number :: ANY?, pattern = :: STRING?, lang = :: STRING?) :: (STRING?)","apoc.number.format(number) | format a long or double using the default system pattern and language to produce a string",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.number.parseFloat","apoc.number.parseFloat(text :: STRING?, pattern = :: STRING?, lang = :: STRING?) :: (FLOAT?)","apoc.number.parseFloat(text) | parse a text using the default system pattern and language to produce a double",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.number.parseInt","apoc.number.parseInt(text :: STRING?, pattern = :: STRING?, lang = :: STRING?) :: (INTEGER?)","apoc.number.parseInt(text) | parse a text using the default system pattern and language to produce a long",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.scoring.existence","apoc.scoring.existence(score :: INTEGER?, exists :: BOOLEAN?) :: (FLOAT?)","apoc.scoring.existence(5, true) returns the provided score if true, 0 if false",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.scoring.pareto","apoc.scoring.pareto(minimumThreshold :: INTEGER?, eightyPercentValue :: INTEGER?, maximumValue :: INTEGER?, score :: INTEGER?) :: (FLOAT?)","apoc.scoring.pareto(10, 20, 100, 11) applies a Pareto scoring function over the inputs",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.text.clean","apoc.text.clean(text :: STRING?) :: (STRING?)","apoc.text.clean(text) - strip the given string of everything except alpha numeric characters and convert it to lower case.",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.text.compareCleaned","apoc.text.compareCleaned(text1 :: STRING?, text2 :: STRING?) :: (BOOLEAN?)","apoc.text.compareCleaned(text1, text2) - compare the given strings stripped of everything except alpha numeric characters converted to lower case.",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.text.join","apoc.text.join(texts :: LIST? OF STRING?, delimiter :: STRING?) :: (STRING?)","apoc.text.join([\'text1\',\'text2\',...], delimiter) - join the given strings with the given delimiter.",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.text.regreplace","apoc.text.regreplace(text :: STRING?, regex :: STRING?, replacement :: STRING?) :: (STRING?)","apoc.text.regreplace(text, regex, replacement) - replace each substring of the given string that matches the given regular expression with the given replacement.",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.text.replace","apoc.text.replace(text :: STRING?, regex :: STRING?, replacement :: STRING?) :: (STRING?)","apoc.text.replace(text, regex, replacement) - replace each substring of the given string that matches the given regular expression with the given replacement.",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.text.urldecode","apoc.text.urldecode(text :: STRING?) :: (STRING?)","apoc.text.urldecode(text) - return the urldecoded text",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.text.urlencode","apoc.text.urlencode(text :: STRING?) :: (STRING?)","apoc.text.urlencode(text) - return the urlencoded text",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.trigger.nodesByLabel","apoc.trigger.nodesByLabel(labelEntries :: ANY?, label :: STRING?) :: (LIST? OF ANY?)","",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.trigger.propertiesByKey","apoc.trigger.propertiesByKey(propertyEntries :: ANY?, key :: STRING?) :: (LIST? OF ANY?)","",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.util.md5","apoc.util.md5(values :: LIST? OF ANY?) :: (STRING?)","apoc.util.md5([values]) | computes the md5 of the concatenation of all string values of the list",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.util.sha1","apoc.util.sha1(values :: LIST? OF ANY?) :: (STRING?)","apoc.util.sha1([values]) | computes the sha1 of the concatenation of all string values of the list",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}}]}'),Ve=JSON.parse('{"aT":[{"row":["apoc.algo.aStar","apoc.algo.aStar(startNode :: NODE?, endNode :: NODE?, relationshipTypesAndDirections :: STRING?, weightPropertyName :: STRING?, latPropertyName :: STRING?, lonPropertyName :: STRING?) :: (path :: PATH?, weight :: FLOAT?)","apoc.algo.aStar(startNode, endNode, \'KNOWS|\', \'distance\',\'lat\',\'lon\') YIELD path, weight - run A* with relationship property name as cost function",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.algo.aStarConfig","apoc.algo.aStarConfig(startNode :: NODE?, endNode :: NODE?, relationshipTypesAndDirections :: STRING?, config :: MAP?) :: (path :: PATH?, weight :: FLOAT?)","apoc.algo.aStar(startNode, endNode, \'KNOWS|\', {weight:\'dist\',default:10,x:\'lon\',y:\'lat\'}) YIELD path, weight - run A* with relationship property name as cost function",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.algo.allSimplePaths","apoc.algo.allSimplePaths(startNode :: NODE?, endNode :: NODE?, relationshipTypesAndDirections :: STRING?, maxNodes :: INTEGER?) :: (path :: PATH?)","apoc.algo.allSimplePaths(startNode, endNode, \'KNOWS|\', 5) YIELD path, weight - run allSimplePaths with relationships given and maxNodes",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.algo.betweenness","apoc.algo.betweenness(types :: LIST? OF STRING?, nodes :: LIST? OF NODE?, direction :: STRING?) :: (node :: NODE?, score :: FLOAT?)","CALL apoc.algo.betweenness([\'TYPE\',...],nodes,BOTH) YIELD node, score - calculate betweenness centrality for given nodes",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.algo.betweennessCypher","apoc.algo.betweennessCypher(config :: MAP?) :: (nodes :: INTEGER?, relationships :: INTEGER?, readNodeMillis :: INTEGER?, readRelationshipMillis :: INTEGER?, computeMillis :: INTEGER?, writeMillis :: INTEGER?, write :: BOOLEAN?, property :: STRING?)","CALL apoc.algo.betweennessCypher(node_cypher,rel_cypher,write) - calculates betweeness centrality based on cypher input",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.algo.cliques","apoc.algo.cliques(minSize :: NUMBER?) :: (clique :: LIST? OF NODE?)","apoc.algo.cliques(minSize) YIELD cliques - search the graph and return all maximal cliques at least at large as the minimum size argument.",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.algo.cliquesWithNode","apoc.algo.cliquesWithNode(startNode :: NODE?, minSize :: NUMBER?) :: (clique :: LIST? OF NODE?)","apoc.algo.cliquesWithNode(startNode, minSize) YIELD cliques - search the graph and return all maximal cliques that are at least as large than the minimum size argument and contain this node ",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.algo.closeness","apoc.algo.closeness(types :: LIST? OF STRING?, nodes :: LIST? OF NODE?, direction :: STRING?) :: (node :: NODE?, score :: FLOAT?)","CALL apoc.algo.closeness([\'TYPE\',...],nodes, INCOMING) YIELD node, score - calculate closeness centrality for given nodes",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.algo.community","apoc.algo.community(times :: INTEGER?, labels :: LIST? OF STRING?, partitionKey :: STRING?, type :: STRING?, direction :: STRING?, weightKey :: STRING?, batchSize :: INTEGER?) :: VOID","CALL apoc.algo.community(times,labels,partitionKey,type,direction,weightKey,batchSize) - simple label propagation kernel",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.algo.cover","apoc.algo.cover(nodes :: ANY?) :: (rel :: RELATIONSHIP?)","apoc.algo.cover(nodes) yield rel - returns all relationships between this set of nodes",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.algo.dijkstra","apoc.algo.dijkstra(startNode :: NODE?, endNode :: NODE?, relationshipTypesAndDirections :: STRING?, weightPropertyName :: STRING?) :: (path :: PATH?, weight :: FLOAT?)","apoc.algo.dijkstra(startNode, endNode, \'KNOWS|\', \'distance\') YIELD path, weight - run dijkstra with relationship property name as cost function",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.algo.dijkstraWithDefaultWeight","apoc.algo.dijkstraWithDefaultWeight(startNode :: NODE?, endNode :: NODE?, relationshipTypesAndDirections :: STRING?, weightPropertyName :: STRING?, defaultWeight :: FLOAT?) :: (path :: PATH?, weight :: FLOAT?)","apoc.algo.dijkstraWithDefaultWeight(startNode, endNode, \'KNOWS|\', \'distance\', 10) YIELD path, weight - run dijkstra with relationship property name as cost function and a default weight if the property does not exist",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.algo.pageRank","apoc.algo.pageRank(nodes :: LIST? OF NODE?) :: (node :: NODE?, score :: FLOAT?)","CALL apoc.algo.pageRank(nodes) YIELD node, score - calculates page rank for given nodes",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.algo.pageRankStats","apoc.algo.pageRankStats(config :: MAP?) :: (nodes :: INTEGER?, relationships :: INTEGER?, iterations :: INTEGER?, readNodeMillis :: INTEGER?, readRelationshipMillis :: INTEGER?, computeMillis :: INTEGER?, writeMillis :: INTEGER?, write :: BOOLEAN?, property :: STRING?)","CALL apoc.algo.pageRankStats({iterations:_,types:_,write:true,...}) YIELD nodeCount - calculates page rank on graph for given nodes and potentially writes back",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.algo.pageRankWithConfig","apoc.algo.pageRankWithConfig(nodes :: LIST? OF NODE?, config :: MAP?) :: (node :: NODE?, score :: FLOAT?)","CALL apoc.algo.pageRankWithConfig(nodes,{iterations:_,types:_}) YIELD node, score, info - calculates page rank for given nodes",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.algo.pageRankWithCypher","apoc.algo.pageRankWithCypher(config :: MAP?) :: (nodes :: INTEGER?, relationships :: INTEGER?, iterations :: INTEGER?, readNodeMillis :: INTEGER?, readRelationshipMillis :: INTEGER?, computeMillis :: INTEGER?, writeMillis :: INTEGER?, write :: BOOLEAN?, property :: STRING?)","CALL apoc.algo.pageRankWithCypher({iterations,node_cypher,rel_cypher,write,property,numCpu}) - calculates page rank based on cypher input",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.algo.wcc","apoc.algo.wcc() :: (nodeIds :: LIST? OF INTEGER?, stats :: MAP?)","CALL apoc.algo.wcc() YIELD number of weakly connected components",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.bitwise.op","apoc.bitwise.op(a :: INTEGER?, operator :: STRING?, b :: INTEGER?) :: (value :: INTEGER?)","apoc.bitwise.op(60,\'|\',13) bitwise operations a & b, a | b, a ^ b, ~a, a >> b, a >>> b, a << b. returns the result of the bitwise operation",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.cluster.graph","apoc.cluster.graph() :: (nodes :: LIST? OF NODE?, relationships :: LIST? OF RELATIONSHIP?)","",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.coll.partition","apoc.coll.partition(values :: LIST? OF ANY?, batchSize :: INTEGER?) :: (value :: LIST? OF ANY?)","apoc.coll.partition(list,batchSize)",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.coll.split","apoc.coll.split(values :: LIST? OF ANY?, value :: ANY?) :: (value :: LIST? OF ANY?)","apoc.coll.split(list,value) | splits collection on given values rows of lists, value itself will not be part of resulting lists",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.coll.zipToRows","apoc.coll.zipToRows(list1 :: LIST? OF ANY?, list2 :: LIST? OF ANY?) :: (value :: LIST? OF ANY?)","apoc.coll.zipToRows(list1,list2) - creates pairs like zip but emits one row per pair",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.config.list","apoc.config.list() :: (key :: STRING?, value :: ANY?)","",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.config.map","apoc.config.map() :: (value :: MAP?)","",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.convert.setJsonProperty","apoc.convert.setJsonProperty(node :: NODE?, key :: STRING?, value :: ANY?) :: VOID","apoc.json.setJsonProperty(node,key,complexValue) - sets value serialized to JSON as property with the given name on the node",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.convert.toTree","apoc.convert.toTree(paths :: LIST? OF PATH?) :: (value :: MAP?)","apoc.convert.toTree([paths]) creates a stream of nested documents representing the at least one root of these paths",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.couchbase.append","apoc.couchbase.append(nodes :: LIST? OF STRING?, bucket :: STRING?, documentId :: STRING?, json :: STRING?) :: (id :: STRING?, expiry :: INTEGER?, cas :: INTEGER?, mutationToken :: MAP?, content :: MAP?)","apoc.couchbase.append(nodes, bucket, documentId, jsonDocument) yield id, expiry, cas, mutationToken, content - append a couchbase json document to an existing one.",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.couchbase.exists","apoc.couchbase.exists(nodes :: LIST? OF STRING?, bucket :: STRING?, documentId :: STRING?) :: (value :: BOOLEAN?)","apoc.couchbase.exists(nodes, bucket, documentId) yield value - check whether a couchbase json document with the given ID does exist.",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.couchbase.get","apoc.couchbase.get(nodes :: LIST? OF STRING?, bucket :: STRING?, documentId :: STRING?) :: (id :: STRING?, expiry :: INTEGER?, cas :: INTEGER?, mutationToken :: MAP?, content :: MAP?)","apoc.couchbase.get(nodes, bucket, documentId) yield id, expiry, cas, mutationToken, content - retrieves a couchbase json document by its unique ID.",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.couchbase.insert","apoc.couchbase.insert(nodes :: LIST? OF STRING?, bucket :: STRING?, documentId :: STRING?, json :: STRING?) :: (id :: STRING?, expiry :: INTEGER?, cas :: INTEGER?, mutationToken :: MAP?, content :: MAP?)","apoc.couchbase.insert(nodes, bucket, documentId, jsonDocument) yield id, expiry, cas, mutationToken, content - insert a couchbase json document with its unique ID.",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.couchbase.namedParamsQuery","apoc.couchbase.namedParamsQuery(nodes :: LIST? OF STRING?, bucket :: STRING?, statement :: STRING?, paramNames :: LIST? OF STRING?, paramValues :: LIST? OF ANY?) :: (queryResult :: LIST? OF MAP?)","apoc.couchbase.namedParamsQuery(nodes, bucket, statement, paramNames, paramValues) yield queryResult - executes a N1QL statement with named parameters.",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.couchbase.posParamsQuery","apoc.couchbase.posParamsQuery(nodes :: LIST? OF STRING?, bucket :: STRING?, statement :: STRING?, params :: LIST? OF ANY?) :: (queryResult :: LIST? OF MAP?)","apoc.couchbase.posParamsQuery(nodes, bucket, statement, params) yield queryResult - executes a N1QL statement with positional parameters.",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.couchbase.prepend","apoc.couchbase.prepend(nodes :: LIST? OF STRING?, bucket :: STRING?, documentId :: STRING?, json :: STRING?) :: (id :: STRING?, expiry :: INTEGER?, cas :: INTEGER?, mutationToken :: MAP?, content :: MAP?)","apoc.couchbase.prepend(nodes, bucket, documentId, jsonDocument) yield id, expiry, cas, mutationToken, content - prepend a couchbase json document to an existing one.",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.couchbase.query","apoc.couchbase.query(nodes :: LIST? OF STRING?, bucket :: STRING?, statement :: STRING?) :: (queryResult :: LIST? OF MAP?)","apoc.couchbase.query(nodes, bucket, statement) yield queryResult - executes a plain un-parameterized N1QL statement.",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.couchbase.remove","apoc.couchbase.remove(nodes :: LIST? OF STRING?, bucket :: STRING?, documentId :: STRING?) :: (id :: STRING?, expiry :: INTEGER?, cas :: INTEGER?, mutationToken :: MAP?, content :: MAP?)","apoc.couchbase.remove(nodes, bucket, documentId) yield id, expiry, cas, mutationToken, content - remove the couchbase json document identified by its unique ID.",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.couchbase.replace","apoc.couchbase.replace(nodes :: LIST? OF STRING?, bucket :: STRING?, documentId :: STRING?, json :: STRING?) :: (id :: STRING?, expiry :: INTEGER?, cas :: INTEGER?, mutationToken :: MAP?, content :: MAP?)","apoc.couchbase.replace(nodes, bucket, documentId, jsonDocument) yield id, expiry, cas, mutationToken, content - replace the content of the couchbase json document identified by its unique ID.",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.couchbase.upsert","apoc.couchbase.upsert(nodes :: LIST? OF STRING?, bucket :: STRING?, documentId :: STRING?, json :: STRING?) :: (id :: STRING?, expiry :: INTEGER?, cas :: INTEGER?, mutationToken :: MAP?, content :: MAP?)","apoc.couchbase.upsert(nodes, bucket, documentId, jsonDocument) yield id, expiry, cas, mutationToken, content - insert or overwrite a couchbase json document with its unique ID.",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.create.addLabels","apoc.create.addLabels(nodes :: ANY?, label :: LIST? OF STRING?) :: (node :: NODE?)","apoc.create.addLabels( [node,id,ids,nodes], [\'Label\',...]) - adds the given labels to the node or nodes",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.create.node","apoc.create.node(label :: LIST? OF STRING?, props :: MAP?) :: (node :: NODE?)","apoc.create.node([\'Label\'], {key:value,...}) - create node with dynamic labels",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.create.nodes","apoc.create.nodes(label :: LIST? OF STRING?, props :: LIST? OF MAP?) :: (node :: NODE?)","apoc.create.nodes([\'Label\'], [{key:value,...}]) create multiple nodes with dynamic labels",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.create.relationship","apoc.create.relationship(from :: NODE?, relType :: STRING?, props :: MAP?, to :: NODE?) :: (rel :: RELATIONSHIP?)","apoc.create.relationship(person1,\'KNOWS\',{key:value,...}, person2) create relationship with dynamic rel-type",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.create.removeLabels","apoc.create.removeLabels(nodes :: ANY?, label :: LIST? OF STRING?) :: (node :: NODE?)","apoc.create.removeLabels( [node,id,ids,nodes], [\'Label\',...]) - removes the given labels from the node or nodes",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.create.setLabels","apoc.create.setLabels(nodes :: ANY?, label :: LIST? OF STRING?) :: (node :: NODE?)","apoc.create.setLabels( [node,id,ids,nodes], [\'Label\',...]) - sets the given labels, non matching labels are removed on the node or nodes",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.create.setProperties","apoc.create.setProperties(nodes :: ANY?, keys :: LIST? OF STRING?, values :: LIST? OF ANY?) :: (node :: NODE?)","apoc.create.setProperties( [node,id,ids,nodes], [keys], [values]) - sets the given property on the nodes(s)",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.create.setProperty","apoc.create.setProperty(nodes :: ANY?, key :: STRING?, value :: ANY?) :: (node :: NODE?)","apoc.create.setProperty( [node,id,ids,nodes], key, value) - sets the given property on the node(s)",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.create.setRelProperties","apoc.create.setRelProperties(rels :: ANY?, keys :: LIST? OF STRING?, values :: LIST? OF ANY?) :: (rel :: RELATIONSHIP?)","apoc.create.setRelProperties( [rel,id,ids,rels], [keys], [values]) - sets the given property on the relationship(s)",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.create.setRelProperty","apoc.create.setRelProperty(relationships :: ANY?, key :: STRING?, value :: ANY?) :: (rel :: RELATIONSHIP?)","apoc.create.setRelProperty( [rel,id,ids,rels], key, value) - sets the given property on the relationship(s)",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.create.uuids","apoc.create.uuids(count :: INTEGER?) :: (row :: INTEGER?, uuid :: STRING?)","apoc.create.uuids(count) yield uuid - creates \'count\' UUIDs ",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.create.vNode","apoc.create.vNode(label :: LIST? OF STRING?, props :: MAP?) :: (node :: NODE?)","apoc.create.vNode([\'Label\'], {key:value,...}) returns a virtual node",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.create.vNodes","apoc.create.vNodes(label :: LIST? OF STRING?, props :: LIST? OF MAP?) :: (node :: NODE?)","apoc.create.vNodes([\'Label\'], [{key:value,...}]) returns virtual nodes",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.create.vPattern","apoc.create.vPattern(from :: MAP?, relType :: STRING?, props :: MAP?, to :: MAP?) :: (from :: NODE?, rel :: RELATIONSHIP?, to :: NODE?)","apoc.create.vPattern({_labels:[\'LabelA\'],key:value},\'KNOWS\',{key:value,...}, {_labels:[\'LabelB\'],key:value}) returns a virtual pattern",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.create.vPatternFull","apoc.create.vPatternFull(labelsN :: LIST? OF STRING?, n :: MAP?, relType :: STRING?, props :: MAP?, labelsM :: LIST? OF STRING?, m :: MAP?) :: (from :: NODE?, rel :: RELATIONSHIP?, to :: NODE?)","apoc.create.vPatternFull([\'LabelA\'],{key:value},\'KNOWS\',{key:value,...},[\'LabelB\'],{key:value}) returns a virtual pattern",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.create.vRelationship","apoc.create.vRelationship(from :: NODE?, relType :: STRING?, props :: MAP?, to :: NODE?) :: (rel :: RELATIONSHIP?)","apoc.create.vRelationship(nodeFrom,\'KNOWS\',{key:value,...}, nodeTo) returns a virtual relationship",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.cypher.doit","apoc.cypher.doit(cypher :: STRING?, params :: MAP?) :: (value :: MAP?)","apoc.cypher.doIt(fragment, params) yield value - executes writing fragment with the given parameters",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.cypher.mapParallel","apoc.cypher.mapParallel(fragment :: STRING?, params :: MAP?, list :: LIST? OF ANY?) :: (value :: MAP?)","apoc.cypher.mapParallel(fragment, params, list-to-parallelize) yield value - executes fragment in parallel batches with the list segments being assigned to _",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.cypher.mapParallel2","apoc.cypher.mapParallel2(fragment :: STRING?, params :: MAP?, list :: LIST? OF ANY?, partitions :: INTEGER?) :: (value :: MAP?)","apoc.cypher.mapParallel2(fragment, params, list-to-parallelize) yield value - executes fragment in parallel batches with the list segments being assigned to _",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.cypher.parallel","apoc.cypher.parallel(fragment :: STRING?, params :: MAP?, parallelizeOn :: STRING?) :: (value :: MAP?)","",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.cypher.parallel2","apoc.cypher.parallel2(fragment :: STRING?, params :: MAP?, parallelizeOn :: STRING?) :: (value :: MAP?)","",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.cypher.run","apoc.cypher.run(cypher :: STRING?, params :: MAP?) :: (value :: MAP?)","apoc.cypher.run(fragment, params) yield value - executes reading fragment with the given parameters",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.cypher.runFile","apoc.cypher.runFile(file :: STRING?) :: (row :: INTEGER?, result :: MAP?)","apoc.cypher.runFile(file or url) - runs each statement in the file, all semicolon separated - currently no schema operations",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.cypher.runMany","apoc.cypher.runMany(cypher :: STRING?, params :: MAP?) :: (row :: INTEGER?, result :: MAP?)","apoc.cypher.runMany(\'cypher;\\\\nstatements;\',{params}) - runs each semicolon separated statement and returns summary - currently no schema operations",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.cypher.runTimeboxed","apoc.cypher.runTimeboxed(cypher :: STRING?, params :: MAP?, timeout :: INTEGER?) :: (value :: MAP?)","apoc.cypher.runTimeboxed(\'cypherStatement\',{params}, timeout) - abort statement after timeout ms if not finished",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.date.expire","apoc.date.expire(node :: NODE?, time :: INTEGER?, timeUnit :: STRING?) :: VOID","CALL apoc.date.expire(node,time,\'time-unit\') - expire node in given time by setting :TTL label and `ttl` property",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.date.expireIn","apoc.date.expireIn(node :: NODE?, timeDelta :: INTEGER?, timeUnit :: STRING?) :: VOID","CALL apoc.date.expire.in(node,time,\'time-unit\') - expire node in given time-delta by setting :TTL label and `ttl` property",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.es.get","apoc.es.get(host :: STRING?, index :: STRING?, type :: STRING?, id :: STRING?, query :: ANY?, payload :: ANY?) :: (value :: MAP?)","apoc.es.get(host-or-port,index-or-null,type-or-null,id-or-null,query-or-null,payload-or-null) yield value - perform a GET operation on elastic search",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.es.getRaw","apoc.es.getRaw(host :: STRING?, path :: STRING?, payload :: ANY?) :: (value :: MAP?)","apoc.es.getRaw(host-or-port,path,payload-or-null) yield value - perform a raw GET operation on elastic search",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.es.post","apoc.es.post(host :: STRING?, index :: STRING?, type :: STRING?, id :: STRING?, query :: ANY?, payload :: ANY?) :: (value :: MAP?)","apoc.es.post(host-or-port,index-or-null,type-or-null,query-or-null,payload-or-null) yield value - perform a POST operation on elastic search",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.es.postRaw","apoc.es.postRaw(host :: STRING?, path :: STRING?, payload :: ANY?) :: (value :: MAP?)","apoc.es.postRaw(host-or-port,path,payload-or-null) yield value - perform a raw POST operation on elastic search",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.es.put","apoc.es.put(host :: STRING?, index :: STRING?, type :: STRING?, id :: STRING?, query :: ANY?, payload :: ANY?) :: (value :: MAP?)","apoc.es.put(host-or-port,index-or-null,type-or-null,query-or-null,payload-or-null) yield value - perform a PUT operation on elastic search",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.es.query","apoc.es.query(host :: STRING?, index :: STRING?, type :: STRING?, query :: ANY?, payload :: ANY?) :: (value :: MAP?)","apoc.es.query(host-or-port,index-or-null,type-or-null,query-or-null,payload-or-null) yield value - perform a SEARCH operation on elastic search",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.es.stats","apoc.es.stats(host :: STRING?) :: (value :: MAP?)","apoc.es.stats(host-url-Key) - elastic search statistics",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.example.movies","apoc.example.movies() :: (file :: STRING?, source :: STRING?, format :: STRING?, nodes :: INTEGER?, relationships :: INTEGER?, properties :: INTEGER?, time :: INTEGER?, rows :: INTEGER?)","apoc.example.movies() | Creates the sample movies graph",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.export.csv.all","apoc.export.csv.all(file :: STRING?, config :: MAP?) :: (file :: STRING?, source :: STRING?, format :: STRING?, nodes :: INTEGER?, relationships :: INTEGER?, properties :: INTEGER?, time :: INTEGER?, rows :: INTEGER?)","",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.export.csv.data","apoc.export.csv.data(nodes :: LIST? OF NODE?, rels :: LIST? OF RELATIONSHIP?, file :: STRING?, config :: MAP?) :: (file :: STRING?, source :: STRING?, format :: STRING?, nodes :: INTEGER?, relationships :: INTEGER?, properties :: INTEGER?, time :: INTEGER?, rows :: INTEGER?)","",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.export.csv.graph","apoc.export.csv.graph(graph :: MAP?, file :: STRING?, config :: MAP?) :: (file :: STRING?, source :: STRING?, format :: STRING?, nodes :: INTEGER?, relationships :: INTEGER?, properties :: INTEGER?, time :: INTEGER?, rows :: INTEGER?)","",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.export.csv.query","apoc.export.csv.query(query :: STRING?, file :: STRING?, config :: MAP?) :: (file :: STRING?, source :: STRING?, format :: STRING?, nodes :: INTEGER?, relationships :: INTEGER?, properties :: INTEGER?, time :: INTEGER?, rows :: INTEGER?)","",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.export.cypher.all","apoc.export.cypher.all(file :: STRING?, config :: MAP?) :: (file :: STRING?, source :: STRING?, format :: STRING?, nodes :: INTEGER?, relationships :: INTEGER?, properties :: INTEGER?, time :: INTEGER?, rows :: INTEGER?)","apoc.export.cypher.all(file,config) - exports whole database incl. indexes as cypher statements to the provided file",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.export.cypher.data","apoc.export.cypher.data(nodes :: LIST? OF NODE?, rels :: LIST? OF RELATIONSHIP?, file :: STRING?, config :: MAP?) :: (file :: STRING?, source :: STRING?, format :: STRING?, nodes :: INTEGER?, relationships :: INTEGER?, properties :: INTEGER?, time :: INTEGER?, rows :: INTEGER?)","apoc.export.cypher.data(nodes,rels,file,config) - exports given nodes and relationships incl. indexes as cypher statements to the provided file",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.export.cypher.graph","apoc.export.cypher.graph(graph :: MAP?, file :: STRING?, config :: MAP?) :: (file :: STRING?, source :: STRING?, format :: STRING?, nodes :: INTEGER?, relationships :: INTEGER?, properties :: INTEGER?, time :: INTEGER?, rows :: INTEGER?)","apoc.export.cypher.graph(graph,file,config) - exports given graph object incl. indexes as cypher statements to the provided file",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.export.cypher.query","apoc.export.cypher.query(query :: STRING?, file :: STRING?, config :: MAP?) :: (file :: STRING?, source :: STRING?, format :: STRING?, nodes :: INTEGER?, relationships :: INTEGER?, properties :: INTEGER?, time :: INTEGER?, rows :: INTEGER?)","apoc.export.cypher.query(query,file,config) - exports nodes and relationships from the cypher statement incl. indexes as cypher statements to the provided file",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.export.cypherAll","apoc.export.cypherAll(file :: STRING?, config :: MAP?) :: (file :: STRING?, source :: STRING?, format :: STRING?, nodes :: INTEGER?, relationships :: INTEGER?, properties :: INTEGER?, time :: INTEGER?, rows :: INTEGER?)","apoc.export.cypherAll(file,config) - exports whole database incl. indexes as cypher statements to the provided file",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.export.cypherData","apoc.export.cypherData(nodes :: LIST? OF NODE?, rels :: LIST? OF RELATIONSHIP?, file :: STRING?, config :: MAP?) :: (file :: STRING?, source :: STRING?, format :: STRING?, nodes :: INTEGER?, relationships :: INTEGER?, properties :: INTEGER?, time :: INTEGER?, rows :: INTEGER?)","apoc.export.cypherData(nodes,rels,file,config) - exports given nodes and relationships incl. indexes as cypher statements to the provided file",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.export.cypherGraph","apoc.export.cypherGraph(graph :: MAP?, file :: STRING?, config :: MAP?) :: (file :: STRING?, source :: STRING?, format :: STRING?, nodes :: INTEGER?, relationships :: INTEGER?, properties :: INTEGER?, time :: INTEGER?, rows :: INTEGER?)","apoc.export.cypherGraph(graph,file,config) - exports given graph object incl. indexes as cypher statements to the provided file",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.export.cypherQuery","apoc.export.cypherQuery(query :: STRING?, file :: STRING?, config :: MAP?) :: (file :: STRING?, source :: STRING?, format :: STRING?, nodes :: INTEGER?, relationships :: INTEGER?, properties :: INTEGER?, time :: INTEGER?, rows :: INTEGER?)","apoc.export.cypherQuery(query,file,config) - exports nodes and relationships from the cypher statement incl. indexes as cypher statements to the provided file",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.export.graphml.all","apoc.export.graphml.all(file :: STRING?, config :: MAP?) :: (file :: STRING?, source :: STRING?, format :: STRING?, nodes :: INTEGER?, relationships :: INTEGER?, properties :: INTEGER?, time :: INTEGER?, rows :: INTEGER?)","apoc.export.graphml.all(file,config) - exports whole database as graphml to the provided file",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.export.graphml.data","apoc.export.graphml.data(nodes :: LIST? OF NODE?, rels :: LIST? OF RELATIONSHIP?, file :: STRING?, config :: MAP?) :: (file :: STRING?, source :: STRING?, format :: STRING?, nodes :: INTEGER?, relationships :: INTEGER?, properties :: INTEGER?, time :: INTEGER?, rows :: INTEGER?)","apoc.export.graphml.data(nodes,rels,file,config) - exports given nodes and relationships as graphml to the provided file",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.export.graphml.graph","apoc.export.graphml.graph(graph :: MAP?, file :: STRING?, config :: MAP?) :: (file :: STRING?, source :: STRING?, format :: STRING?, nodes :: INTEGER?, relationships :: INTEGER?, properties :: INTEGER?, time :: INTEGER?, rows :: INTEGER?)","apoc.export.graphml.graph(graph,file,config) - exports given graph object as graphml to the provided file",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.export.graphml.query","apoc.export.graphml.query(query :: STRING?, file :: STRING?, config :: MAP?) :: (file :: STRING?, source :: STRING?, format :: STRING?, nodes :: INTEGER?, relationships :: INTEGER?, properties :: INTEGER?, time :: INTEGER?, rows :: INTEGER?)","apoc.export.graphml.query(query,file,config) - exports nodes and relationships from the cypher statement as graphml to the provided file",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.generate.ba","apoc.generate.ba(noNodes :: INTEGER?, edgesPerNode :: INTEGER?, label :: STRING?, type :: STRING?) :: VOID","apoc.generate.ba(noNodes, edgesPerNode, label, type) - generates a random graph according to the Barabasi-Albert model",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.generate.complete","apoc.generate.complete(noNodes :: INTEGER?, label :: STRING?, type :: STRING?) :: VOID","apoc.generate.complete(noNodes, label, type) - generates a random complete graph",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.generate.er","apoc.generate.er(noNodes :: INTEGER?, noEdges :: INTEGER?, label :: STRING?, type :: STRING?) :: VOID","apoc.generate.er(noNodes, noEdges, label, type) - generates a random graph according to the Erdos-Renyi model",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.generate.simple","apoc.generate.simple(degrees :: LIST? OF INTEGER?, label :: STRING?, type :: STRING?) :: VOID","apoc.generate.simple(degrees, label, type) - generates a simple random graph according to the given degree distribution",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.generate.ws","apoc.generate.ws(noNodes :: INTEGER?, degree :: INTEGER?, beta :: FLOAT?, label :: STRING?, type :: STRING?) :: VOID","apoc.generate.ws(noNodes, degree, beta, label, type) - generates a random graph according to the Watts-Strogatz model",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.gephi.add","apoc.gephi.add(urlOrKey :: STRING?, workspace :: STRING?, data :: ANY?) :: (file :: STRING?, source :: STRING?, format :: STRING?, nodes :: INTEGER?, relationships :: INTEGER?, properties :: INTEGER?, time :: INTEGER?, rows :: INTEGER?)","apoc.gephi.add(url-or-key, workspace, data) | streams passed in data to Gephi",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.get.nodes","apoc.get.nodes(nodes :: ANY?) :: (node :: NODE?)","apoc.get.nodes(node|id|[ids]) - quickly returns all nodes with these id\'s",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.get.rels","apoc.get.rels(relationships :: ANY?) :: (rel :: RELATIONSHIP?)","apoc.get.rels(rel|id|[ids]) - quickly returns all relationships with these id\'s",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.graph.from","apoc.graph.from(data :: ANY?, name :: STRING?, properties :: MAP?) :: (graph :: MAP?)","apoc.graph.from(data,\'name\',{properties}) | creates a virtual graph object for later processing it tries its best to extract the graph information from the data you pass in",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.graph.fromCypher","apoc.graph.fromCypher(statement :: STRING?, params :: MAP?, name :: STRING?, properties :: MAP?) :: (graph :: MAP?)","apoc.graph.fromCypher(\'statement\',{params},\'name\',{properties}) - creates a virtual graph object for later processing",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.graph.fromDB","apoc.graph.fromDB(name :: STRING?, properties :: MAP?) :: (graph :: MAP?)","apoc.graph.fromDB(\'name\',{properties}) - creates a virtual graph object for later processing",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.graph.fromData","apoc.graph.fromData(nodes :: LIST? OF NODE?, relationships :: LIST? OF RELATIONSHIP?, name :: STRING?, properties :: MAP?) :: (graph :: MAP?)","apoc.graph.fromData([nodes],[relationships],\'name\',{properties}) | creates a virtual graph object for later processing",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.graph.fromPath","apoc.graph.fromPath(path :: PATH?, name :: STRING?, properties :: MAP?) :: (graph :: MAP?)","apoc.graph.fromPaths(path,\'name\',{properties}) - creates a virtual graph object for later processing",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.graph.fromPaths","apoc.graph.fromPaths(paths :: LIST? OF PATH?, name :: STRING?, properties :: MAP?) :: (graph :: MAP?)","apoc.graph.fromPaths([paths],\'name\',{properties}) - creates a virtual graph object for later processing",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.help","apoc.help(proc :: STRING?) :: (type :: STRING?, name :: STRING?, text :: STRING?, signature :: STRING?, roles :: LIST? OF STRING?, writes :: BOOLEAN?)","Provides descriptions of available procedures. To narrow the results, supply a search string. To also search in the description text, append + to the end of the search string.",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.import.graphml","apoc.import.graphml(file :: STRING?, config :: MAP?) :: (file :: STRING?, source :: STRING?, format :: STRING?, nodes :: INTEGER?, relationships :: INTEGER?, properties :: INTEGER?, time :: INTEGER?, rows :: INTEGER?)","apoc.import.graphml(file,config) - imports graphml file",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.index.addAllNodes","apoc.index.addAllNodes(index :: STRING?, structure :: MAP?) :: (label :: STRING?, property :: STRING?, nodeCount :: INTEGER?)","apoc.index.addAllNodes(\'name\',{label1:[\'prop1\',...],...}) YIELD type, name, config - create a free text search index",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.index.addAllNodesExtended","apoc.index.addAllNodesExtended(index :: STRING?, structure :: MAP?, options :: MAP?) :: (label :: STRING?, property :: STRING?, nodeCount :: INTEGER?)","apoc.index.addAllNodes(\'name\',{label1:[\'prop1\',...],...}, {options}) YIELD type, name, config - create a free text search index with special options",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.index.addNode","apoc.index.addNode(node :: NODE?, properties :: LIST? OF STRING?) :: VOID","apoc.index.addNode(node,[\'prop1\',...]) add node to an index for each label it has",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.index.addNodeByLabel","apoc.index.addNodeByLabel(label :: STRING?, node :: NODE?, properties :: LIST? OF STRING?) :: VOID","apoc.index.addNodeByLabel(node,\'Label\',[\'prop1\',...]) add node to an index for the given label",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.index.addRelationship","apoc.index.addRelationship(relationship :: RELATIONSHIP?, properties :: LIST? OF STRING?) :: VOID","apoc.index.addRelationship(rel,[\'prop1\',...]) add relationship to an index for its type",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.index.between","apoc.index.between(from :: NODE?, type :: STRING?, to :: NODE?, query :: STRING?) :: (rel :: RELATIONSHIP?, weight :: FLOAT?, start :: NODE?, end :: NODE?)","apoc.index.between(node1,\'TYPE\',node2,\'prop:value*\') YIELD rel - lucene query on relationship index with the given type name bound by either or both sides (each node parameter can be null)",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.index.forNodes","apoc.index.forNodes(name :: STRING?, config :: MAP?) :: (type :: STRING?, name :: STRING?, config :: MAP?)","apoc.index.forNodes(\'name\',{config}) YIELD type,name,config - gets or creates node index",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.index.forRelationships","apoc.index.forRelationships(name :: STRING?, config :: MAP?) :: (type :: STRING?, name :: STRING?, config :: MAP?)","apoc.index.forRelationships(\'name\',{config}) YIELD type,name,config - gets or creates relationship index",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.index.in","apoc.index.in(to :: NODE?, type :: STRING?, query :: STRING?) :: (node :: NODE?, weight :: FLOAT?)","apoc.index.in(node,\'TYPE\',\'prop:value*\') YIELD node lucene query on relationship index with the given type name for *incoming* relationship of the given node, *returns start-nodes*",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.index.list","apoc.index.list() :: (type :: STRING?, name :: STRING?, config :: MAP?)","apoc.index.list() - YIELD type,name,config - lists all manual indexes",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.index.nodes","apoc.index.nodes(label :: STRING?, query :: STRING?) :: (node :: NODE?, weight :: FLOAT?)","apoc.index.nodes(\'Label\',\'prop:value*\') YIELD node - lucene query on node index with the given label name",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.index.orderedByText","apoc.index.orderedByText(label :: STRING?, key :: STRING?, operator :: STRING?, value :: STRING?, relevance :: BOOLEAN?, limit :: INTEGER?) :: (node :: NODE?)","apoc.index.orderedByText(label,key,operator,value,sort-relevance,limit) yield node - schema string search which keeps index order and adds limit, operator is \'STARTS WITH\' or \'CONTAINS\'",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.index.orderedRange","apoc.index.orderedRange(label :: STRING?, key :: STRING?, min :: ANY?, max :: ANY?, relevance :: BOOLEAN?, limit :: INTEGER?) :: (node :: NODE?)","apoc.index.orderedRange(label,key,min,max,sort-relevance,limit) yield node - schema range scan which keeps index order and adds limit, values can be null, boundaries are inclusive",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.index.out","apoc.index.out(from :: NODE?, type :: STRING?, query :: STRING?) :: (node :: NODE?, weight :: FLOAT?)","apoc.index.out(node,\'TYPE\',\'prop:value*\') YIELD node - lucene query on relationship index with the given type name for *outgoing* relationship of the given node, *returns end-nodes*",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.index.related","apoc.index.related(nodes :: LIST? OF NODE?, label :: STRING?, key :: STRING?, relationship :: STRING?, limit :: INTEGER?) :: (node :: NODE?)","apoc.index.relatedNodes([nodes],label,key,\'\'/\'TYPE\',limit) yield node - schema range scan which keeps index order and adds limit and checks opposite node of relationship against the given set of nodes",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.index.relationships","apoc.index.relationships(type :: STRING?, query :: STRING?) :: (rel :: RELATIONSHIP?, weight :: FLOAT?, start :: NODE?, end :: NODE?)","apoc.index.relationships(\'TYPE\',\'prop:value*\') YIELD rel - lucene query on relationship index with the given type name",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.index.remove","apoc.index.remove(name :: STRING?) :: (type :: STRING?, name :: STRING?, config :: MAP?)","apoc.index.remove(\'name\') YIELD type,name,config - removes an manual index",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.index.search","apoc.index.search(index :: STRING?, query :: STRING?) :: (node :: NODE?, weight :: FLOAT?)","apoc.index.search(\'name\', \'query\') YIELD node, weight - search for nodes in the free text index matching the given query",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.load.csv","apoc.load.csv(url :: STRING?, config :: MAP?) :: (lineNo :: INTEGER?, list :: LIST? OF ANY?, map :: MAP?)","apoc.load.csv(\'url\',{config}) YIELD lineNo, list, map - load CSV fom URL as stream of values,\\n config contains any of: {skip:1,limit:5,header:false,sep:\'TAB\',ignore:[\'tmp\'],arraySep:\';\',mapping:{years:{type:\'int\',arraySep:\'-\',array:false,name:\'age\',ignore:false}}",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.load.driver","apoc.load.driver(driverClass :: STRING?) :: VOID","apoc.load.driver(\'org.apache.derby.jdbc.EmbeddedDriver\') register JDBC driver of source database",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.load.jdbc","apoc.load.jdbc(jdbc :: STRING?, tableOrSql :: STRING?) :: (row :: MAP?)","apoc.load.jdbc(\'key or url\',\'table or statement\') YIELD row - load from relational database, from a full table or a sql statement",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.load.jdbcParams","apoc.load.jdbcParams(jdbc :: STRING?, sql :: STRING?, params :: LIST? OF ANY?) :: (row :: MAP?)","apoc.load.jdbcParams(\'key or url\',\'statement\',[params]) YIELD row - load from relational database, from a sql statement with parameters",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.load.json","apoc.load.json(url :: STRING?) :: (value :: MAP?)","apoc.load.json(\'url\') YIELD value - import JSON as stream of values if the JSON was an array or a single value if it was a map",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.load.jsonArray","apoc.load.jsonArray(url :: STRING?) :: (value :: ANY?)","apoc.load.jsonArray(\'url\') YIELD value - load array from JSON URL (e.g. web-api) to import JSON as stream of values",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.load.jsonParams","apoc.load.jsonParams(url :: STRING?, headers :: MAP?, payload :: STRING?) :: (value :: MAP?)","apoc.load.jsonParams(\'url\',{header:value},payload) YIELD value - load from JSON URL (e.g. web-api) while sending headers / payload to import JSON as stream of values if the JSON was an array or a single value if it was a map",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.load.xml","apoc.load.xml(url :: STRING?) :: (value :: MAP?)","apoc.load.xml(\'http://example.com/test.xml\') YIELD value as doc CREATE (p:Person) SET p.name = doc.name load from XML URL (e.g. web-api) to import XML as single nested map with attributes and _type, _text and _childrenx fields.",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.load.xmlSimple","apoc.load.xmlSimple(url :: STRING?) :: (value :: MAP?)","apoc.load.xml(\'http://example.com/test.xml\') YIELD value as doc CREATE (p:Person) SET p.name = doc.name load from XML URL (e.g. web-api) to import XML as single nested map with attributes and _type, _text and _childrenx fields.",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.lock.all","apoc.lock.all(nodes :: LIST? OF NODE?, rels :: LIST? OF RELATIONSHIP?) :: VOID","apoc.lock.all([nodes],[relationships]) acquires a write lock on the given nodes and relationships",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.lock.nodes","apoc.lock.nodes(nodes :: LIST? OF NODE?) :: VOID","apoc.lock.nodes([nodes]) acquires a write lock on the given nodes",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.lock.rels","apoc.lock.rels(rels :: LIST? OF RELATIONSHIP?) :: VOID","apoc.lock.rels([relationships]) acquires a write lock on the given relationship",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.meta.data","apoc.meta.data() :: (label :: STRING?, property :: STRING?, count :: INTEGER?, unique :: BOOLEAN?, index :: BOOLEAN?, existence :: BOOLEAN?, type :: STRING?, array :: BOOLEAN?, sample :: LIST? OF ANY?, leftCount :: INTEGER?, rightCount :: INTEGER?, left :: INTEGER?, right :: INTEGER?, other :: LIST? OF STRING?)","apoc.meta.data - examines a subset of the graph to provide a tabular meta information",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.meta.graph","apoc.meta.graph() :: (nodes :: LIST? OF NODE?, relationships :: LIST? OF RELATIONSHIP?)","apoc.meta.graph - examines the full graph to create the meta-graph",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.meta.graphSample","apoc.meta.graphSample() :: (nodes :: LIST? OF NODE?, relationships :: LIST? OF RELATIONSHIP?)","apoc.meta.graphSample() - examines the database statistics to build the meta graph, very fast, might report extra relationships",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.meta.stats","apoc.meta.stats() :: (labelCount :: INTEGER?, relTypeCount :: INTEGER?, propertyKeyCount :: INTEGER?, nodeCount :: INTEGER?, relCount :: INTEGER?, labels :: MAP?, relTypes :: MAP?, stats :: MAP?)","apoc.meta.stats yield labelCount, relTypeCount, propertyKeyCount, nodeCount, relCount, labels, relTypes, stats | returns the information stored in the transactional database statistics",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.meta.subGraph","apoc.meta.subGraph(config :: MAP?) :: (nodes :: LIST? OF NODE?, relationships :: LIST? OF RELATIONSHIP?)","apoc.meta.subGraph({labels:[labels],rels:[rel-types], excludes:[labels,rel-types]}) - examines a sample sub graph to create the meta-graph",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.mongodb.count","apoc.mongodb.count(host :: STRING?, db :: STRING?, collection :: STRING?, query :: MAP?) :: (value :: INTEGER?)","apoc.mongodb.count(host-or-port,db-or-null,collection-or-null,query-or-null) yield value - perform a find operation on mongodb collection",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.mongodb.delete","apoc.mongodb.delete(host :: STRING?, db :: STRING?, collection :: STRING?, query :: MAP?) :: (value :: INTEGER?)","apoc.mongodb.delete(host-or-port,db-or-null,collection-or-null,list-of-maps) - inserts the given documents into the mongodb collection",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.mongodb.find","apoc.mongodb.find(host :: STRING?, db :: STRING?, collection :: STRING?, query :: MAP?, project :: MAP?, sort :: MAP?) :: (value :: MAP?)","apoc.mongodb.find(host-or-port,db-or-null,collection-or-null,query-or-null,projection-or-null,sort-or-null) yield value - perform a find,project,sort operation on mongodb collection",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.mongodb.first","apoc.mongodb.first(host :: STRING?, db :: STRING?, collection :: STRING?, query :: MAP?) :: (value :: MAP?)","apoc.mongodb.first(host-or-port,db-or-null,collection-or-null,query-or-null) yield value - perform a first operation on mongodb collection",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.mongodb.get","apoc.mongodb.get(host :: STRING?, db :: STRING?, collection :: STRING?, query :: MAP?) :: (value :: MAP?)","apoc.mongodb.get(host-or-port,db-or-null,collection-or-null,query-or-null) yield value - perform a find operation on mongodb collection",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.mongodb.insert","apoc.mongodb.insert(host :: STRING?, db :: STRING?, collection :: STRING?, documents :: LIST? OF MAP?) :: VOID","apoc.mongodb.insert(host-or-port,db-or-null,collection-or-null,list-of-maps) - inserts the given documents into the mongodb collection",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.mongodb.update","apoc.mongodb.update(host :: STRING?, db :: STRING?, collection :: STRING?, query :: MAP?, update :: MAP?) :: (value :: INTEGER?)","apoc.mongodb.update(host-or-port,db-or-null,collection-or-null,list-of-maps) - inserts the given documents into the mongodb collection",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.monitor.ids","apoc.monitor.ids() :: (nodeIds :: INTEGER?, relIds :: INTEGER?, propIds :: INTEGER?, relTypeIds :: INTEGER?)","apoc.monitor.ids() returns the object ids in use for this neo4j instance",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.monitor.kernel","apoc.monitor.kernel() :: (readOnly :: BOOLEAN?, kernelVersion :: STRING?, storeId :: STRING?, kernelStartTime :: STRING?, databaseName :: STRING?, storeLogVersion :: INTEGER?, storeCreationDate :: STRING?)","apoc.monitor.kernel() returns informations about the neo4j kernel",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.monitor.locks","apoc.monitor.locks(minWaitTime :: INTEGER?) :: (advertedDeadLocks :: INTEGER?, lockCount :: INTEGER?, contendedLockCount :: INTEGER?, minimumWaitTimeMs :: INTEGER?, contendedLocks :: LIST? OF MAP?, info :: STRING?)","apoc.monitor.locks(minWaitTime) yield advertedDeadLocks, lockCount, contendedLockCount, minimumWaitTimeMs, contendedLocks, info",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.monitor.store","apoc.monitor.store() :: (logSize :: INTEGER?, stringStoreSize :: INTEGER?, arrayStoreSize :: INTEGER?, relStoreSize :: INTEGER?, propStoreSize :: INTEGER?, totalStoreSize :: INTEGER?, nodeStoreSize :: INTEGER?)","apoc.monitor.store() returns informations about the sizes of the different parts of the neo4j graph store",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.monitor.tx","apoc.monitor.tx() :: (rolledBackTx :: INTEGER?, peakTx :: INTEGER?, lastTxId :: INTEGER?, currentOpenedTx :: INTEGER?, totalOpenedTx :: INTEGER?, totalTx :: INTEGER?)","apoc.monitor.tx() returns informations about the neo4j transaction manager",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.nodes.delete","apoc.nodes.delete(nodes :: ANY?, batchSize :: INTEGER?) :: (value :: INTEGER?)","apoc.nodes.delete(node|nodes|id|[ids]) - quickly delete all nodes with these id\'s",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.nodes.get","apoc.nodes.get(nodes :: ANY?) :: (node :: NODE?)","apoc.nodes.get(node|nodes|id|[ids]) - quickly returns all nodes with these id\'s",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.nodes.link","apoc.nodes.link(nodes :: LIST? OF NODE?, type :: STRING?) :: VOID","apoc.nodes.link([nodes],\'REL_TYPE\') - creates a linked list of nodes from first to last",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.nodes.rels","apoc.nodes.rels(relationships :: ANY?) :: (rel :: RELATIONSHIP?)","apoc.get.rels(rel|id|[ids]) - quickly returns all relationships with these id\'s",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.path.expand","apoc.path.expand(start :: ANY?, relationshipFilter :: STRING?, labelFilter :: STRING?, minLevel :: INTEGER?, maxLevel :: INTEGER?) :: (path :: PATH?)","apoc.path.expand(startNode |Node|list, \'TYPE|TYPE_OUT>||Node|list, {minLevel,maxLevel,uniqueness,relationshipFilter,labelFilter,uniqueness:\'RELATIONSHIP_PATH\',bfs:true}) yield path expand from start node following the given relationships from min to max-level adhering to the label filters",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.periodic.cancel","apoc.periodic.cancel(name :: STRING?) :: (name :: STRING?, delay :: INTEGER?, rate :: INTEGER?, done :: BOOLEAN?, cancelled :: BOOLEAN?)","apoc.periodic.cancel(name) - cancel job with the given name",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.periodic.commit","apoc.periodic.commit(statement :: STRING?, params :: MAP?) :: (updates :: INTEGER?, executions :: INTEGER?, runtime :: INTEGER?, batches :: INTEGER?, faileBatches :: INTEGER?, batchErrors :: MAP?, failedCommits :: INTEGER?, commitErrors :: MAP?)","apoc.periodic.commit(statement,params) - runs the given statement in separate transactions until it returns 0",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.periodic.iterate","apoc.periodic.iterate(cypherIterate :: STRING?, cypherAction :: STRING?, config :: MAP?) :: (batches :: INTEGER?, total :: INTEGER?, timeTaken :: INTEGER?, committedOperations :: INTEGER?, failedOperations :: INTEGER?, failedBatches :: INTEGER?, errorMessages :: MAP?, batch :: MAP?, operations :: MAP?)","apoc.periodic.iterate(\'statement returning items\', \'statement per item\', {batchSize:1000,parallel:true}) YIELD batches, total - run the second statement for each item returned by the first statement. Returns number of batches and total processed rows",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.periodic.list","apoc.periodic.list() :: (name :: STRING?, delay :: INTEGER?, rate :: INTEGER?, done :: BOOLEAN?, cancelled :: BOOLEAN?)","apoc.periodic.list - list all jobs",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.periodic.repeat","apoc.periodic.repeat(name :: STRING?, statement :: STRING?, rate :: INTEGER?) :: (name :: STRING?, delay :: INTEGER?, rate :: INTEGER?, done :: BOOLEAN?, cancelled :: BOOLEAN?)","apoc.periodic.schedule(\'name\',statement,repeat-time-in-seconds) submit a repeatedly-called background statement",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.periodic.rock_n_roll","apoc.periodic.rock_n_roll(cypherIterate :: STRING?, cypherAction :: STRING?, batchSize :: INTEGER?) :: (batches :: INTEGER?, total :: INTEGER?, timeTaken :: INTEGER?, committedOperations :: INTEGER?, failedOperations :: INTEGER?, failedBatches :: INTEGER?, errorMessages :: MAP?, batch :: MAP?, operations :: MAP?)","apoc.periodic.rock_n_roll(\'some cypher for iteration\', \'some cypher as action on each iteration\', 10000) YIELD batches, total - run the action statement in batches over the iterator statement\'s results in a separate thread. Returns number of batches and total processed rows",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.periodic.rock_n_roll_while","apoc.periodic.rock_n_roll_while(cypherLoop :: STRING?, cypherIterate :: STRING?, cypherAction :: STRING?, batchSize :: INTEGER?) :: (loop :: ANY?, batches :: INTEGER?, total :: INTEGER?)","apoc.periodic.rock_n_roll_while(\'some cypher for knowing when to stop\', \'some cypher for iteration\', \'some cypher as action on each iteration\', 10000) YIELD batches, total - run the action statement in batches over the iterator statement\'s results in a separate thread. Returns number of batches and total processed rows",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.periodic.submit","apoc.periodic.submit(name :: STRING?, statement :: STRING?) :: (name :: STRING?, delay :: INTEGER?, rate :: INTEGER?, done :: BOOLEAN?, cancelled :: BOOLEAN?)","apoc.periodic.submit(\'name\',statement) - submit a one-off background statement",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.refactor.categorize","apoc.refactor.categorize(sourceKey :: STRING?, type :: STRING?, outgoing :: BOOLEAN?, label :: STRING?, targetKey :: STRING?, copiedKeys :: LIST? OF STRING?, batchSize :: INTEGER?) :: VOID","apoc.refactor.categorize(sourceKey, type, outgoing, label, targetKey, copiedKeys, batchSize) turn each unique propertyKey into a category node and connect to it",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.refactor.cloneNodes","apoc.refactor.cloneNodes(nodes :: LIST? OF NODE?) :: (input :: INTEGER?, output :: NODE?, error :: STRING?)","apoc.refactor.cloneNodes([node1,node2,...]) clone nodes with their labels and properties",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.refactor.cloneNodesWithRelationships","apoc.refactor.cloneNodesWithRelationships(nodes :: LIST? OF NODE?) :: (input :: INTEGER?, output :: NODE?, error :: STRING?)","apoc.refactor.cloneNodesWithRelationships([node1,node2,...]) clone nodes with their labels, properties and relationships",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.refactor.collapseNode","apoc.refactor.collapseNode(nodes :: ANY?, type :: STRING?) :: (input :: INTEGER?, output :: RELATIONSHIP?, error :: STRING?)","apoc.refactor.collapseNode([node1,node2],\'TYPE\') collapse node to relationship, node with one rel becomes self-relationship",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.refactor.extractNode","apoc.refactor.extractNode(relationships :: ANY?, labels :: LIST? OF STRING?, outType :: STRING?, inType :: STRING?) :: (input :: INTEGER?, output :: NODE?, error :: STRING?)","apoc.refactor.extractNode([rel1,rel2,...], [labels],\'OUT\',\'IN\') extract node from relationships",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.refactor.from","apoc.refactor.from(relationship :: RELATIONSHIP?, newNode :: NODE?) :: (input :: INTEGER?, output :: RELATIONSHIP?, error :: STRING?)","apoc.refactor.from(rel, startNode) redirect relationship to use new start-node",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.refactor.invert","apoc.refactor.invert(relationship :: RELATIONSHIP?) :: (input :: INTEGER?, output :: RELATIONSHIP?, error :: STRING?)","apoc.refactor.invert(rel) inverts relationship direction",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.refactor.mergeNodes","apoc.refactor.mergeNodes(nodes :: LIST? OF NODE?) :: (node :: NODE?)","apoc.refactor.mergeNodes([node1,node2]) merge nodes onto first in list",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.refactor.normalizeAsBoolean","apoc.refactor.normalizeAsBoolean(entity :: ANY?, propertyKey :: STRING?, true_values :: LIST? OF ANY?, false_values :: LIST? OF ANY?) :: VOID","apoc.refactor.normalizeAsBoolean(entity, propertyKey, true_values, false_values) normalize/convert a property to be boolean",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.refactor.setType","apoc.refactor.setType(relationship :: RELATIONSHIP?, newType :: STRING?) :: (input :: INTEGER?, output :: RELATIONSHIP?, error :: STRING?)","apoc.refactor.setType(rel, \'NEW-TYPE\') change relationship-type",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.refactor.to","apoc.refactor.to(relationship :: RELATIONSHIP?, newNode :: NODE?) :: (input :: INTEGER?, output :: RELATIONSHIP?, error :: STRING?)","apoc.refactor.to(rel, endNode) redirect relationship to use new end-node",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.schema.assert","apoc.schema.assert(indexes :: MAP?, constraints :: MAP?) :: (label :: STRING?, key :: LIST? OF STRING?, unique :: BOOLEAN?, action :: STRING?)","",["admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.schema.properties.distinct","apoc.schema.properties.distinct(label :: STRING?, key :: STRING?) :: (value :: LIST? OF ANY?)","apoc.schema.properties.distinct(label, key) - quickly returns all distinct values for a given key",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.search.multiSearchReduced","apoc.search.multiSearchReduced(LabelPropertyMap :: ANY?, operator :: STRING?, value :: STRING?) :: (id :: INTEGER?, labels :: LIST? OF STRING?, values :: MAP?)","Do a parallel search over multiple indexes returning a reduced representation of the nodes found: node id, labels and the searched properties. apoc.search.multiSearchReduced( map of label and properties which will be searched upon, operator: EXACT | CONTAINS | STARTS WITH | ENDS WITH, searchValue ). Multiple search results for the same node are merged into one record.",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.search.node","apoc.search.node(LabelPropertyMap :: ANY?, operator :: STRING?, value :: STRING?) :: (node :: NODE?)","Do a parallel search over multiple indexes returning nodes. usage apoc.search.node( map of label and properties which will be searched upon, operator: EXACT | CONTAINS | STARTS WITH | ENDS WITH, searchValue ) returns all the DISTINCT Nodes found in the different searches.",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.search.nodeAll","apoc.search.nodeAll(LabelPropertyMap :: ANY?, operator :: STRING?, value :: STRING?) :: (node :: NODE?)","Do a parallel search over multiple indexes returning nodes. usage apoc.search.nodeAll( map of label and properties which will be searched upon, operator: EXACT | CONTAINS | STARTS WITH | ENDS WITH, searchValue ) returns all the Nodes found in the different searches.",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.search.nodeAllReduced","apoc.search.nodeAllReduced(LabelPropertyMap :: ANY?, operator :: STRING?, value :: ANY?) :: (id :: INTEGER?, labels :: LIST? OF STRING?, values :: MAP?)","Do a parallel search over multiple indexes returning a reduced representation of the nodes found: node id, labels and the searched property. apoc.search.nodeShortAll( map of label and properties which will be searched upon, operator: EXACT / CONTAINS / STARTS WITH | ENDS WITH / = / <> / < / > ..., value ). All \'hits\' are returned.",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.search.nodeReduced","apoc.search.nodeReduced(LabelPropertyMap :: ANY?, operator :: STRING?, value :: STRING?) :: (id :: INTEGER?, labels :: LIST? OF STRING?, values :: MAP?)","Do a parallel search over multiple indexes returning a reduced representation of the nodes found: node id, labels and the searched properties. apoc.search.nodeReduced( map of label and properties which will be searched upon, operator: EXACT | CONTAINS | STARTS WITH | ENDS WITH, searchValue ). Multiple search results for the same node are merged into one record.",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.spatial.geocode","apoc.spatial.geocode(location :: STRING?, maxResults :: INTEGER?) :: (location :: MAP?, data :: MAP?, latitude :: FLOAT?, longitude :: FLOAT?, description :: STRING?)","apoc.spatial.geocode(\'address\') YIELD location, latitude, longitude, description, osmData - look up geographic location of address from openstreetmap geocoding service",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.spatial.geocodeOnce","apoc.spatial.geocodeOnce(location :: STRING?) :: (location :: MAP?, data :: MAP?, latitude :: FLOAT?, longitude :: FLOAT?, description :: STRING?)","apoc.spatial.geocodeOnce(\'address\') YIELD location, latitude, longitude, description, osmData - look up geographic location of address from openstreetmap geocoding service",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.spatial.sortByDistance","apoc.spatial.sortByDistance(paths :: LIST? OF PATH?) :: (path :: PATH?, distance :: FLOAT?)","apoc.spatial.sortPathsByDistance(List) sort the given paths based on the geo informations (lat/long) in ascending order",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.static.get","apoc.static.get(key :: STRING?) :: (value :: ANY?)","apoc.static.get(name) - returns statically stored value from config (apoc.static.) or server lifetime storage",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.static.getAll","apoc.static.getAll(prefix :: STRING?) :: (value :: MAP?)","apoc.static.getAll(prefix) - returns statically stored values from config (apoc.static..*) or server lifetime storage",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.static.list","apoc.static.list(prefix :: STRING?) :: (key :: STRING?, value :: ANY?)","apoc.static.list(prefix) - returns statically stored values from config (apoc.static..*) or server lifetime storage",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.static.set","apoc.static.set(key :: STRING?, value :: ANY?) :: (value :: ANY?)","apoc.static.set(name, value) - stores value under key for server livetime storage, returns previously stored or configured value",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.text.format","apoc.text.format(text :: STRING?, params :: LIST? OF ANY?) :: (value :: STRING?)","apoc.text.format(text,[params]) YIELD value - sprintf format the string with the params given",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.text.lpad","apoc.text.lpad(text :: STRING?, count :: INTEGER?, delim :: STRING?) :: (value :: STRING?)","apoc.text.lpad(text,count,delim) YIELD value - left pad the string to the given width",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.text.phonetic","apoc.text.phonetic(value :: ANY?) :: (value :: STRING?)","apoc.text.phonetic(value) yield value - Compute the US_ENGLISH phonetic soundex encoding of all words of the text value which can be a single string or a list of strings",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.text.phoneticDelta","apoc.text.phoneticDelta(text1 :: STRING?, text2 :: STRING?) :: (phonetic1 :: STRING?, phonetic2 :: STRING?, delta :: INTEGER?)","apoc.text.phoneticDelta(text1, text2) yield phonetic1, phonetic2, delta - Compute the US_ENGLISH soundex character difference between two given strings",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.text.rpad","apoc.text.rpad(text :: STRING?, count :: INTEGER?, delim :: STRING?) :: (value :: STRING?)","apoc.text.rpad(text,count,delim) YIELD value - right pad the string to the given width",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.trigger.add","apoc.trigger.add(name :: STRING?, statement :: STRING?, selector :: MAP?) :: (name :: STRING?, query :: STRING?, selector :: MAP?, installed :: BOOLEAN?)","",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.trigger.list","apoc.trigger.list() :: (name :: STRING?, query :: STRING?, selector :: MAP?, installed :: BOOLEAN?)","",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.trigger.remove","apoc.trigger.remove(name :: STRING?) :: (name :: STRING?, query :: STRING?, selector :: MAP?, installed :: BOOLEAN?)","",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.util.sleep","apoc.util.sleep(duration :: INTEGER?) :: VOID","apoc.util.sleep() | sleeps for millis, transaction termination is honored",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.warmup.run","apoc.warmup.run() :: (pageSize :: INTEGER?, nodesPerPage :: INTEGER?, nodesTotal :: INTEGER?, nodePages :: INTEGER?, nodesTime :: INTEGER?, relsPerPage :: INTEGER?, relsTotal :: INTEGER?, relPages :: INTEGER?, relsTime :: INTEGER?, totalTime :: INTEGER?)","apoc.warmup.run() - quickly loads all nodes and rels into memory by skipping one page at a time",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["db.awaitIndex","db.awaitIndex(index :: STRING?, timeOutSeconds = 300 :: INTEGER?) :: VOID","Wait for an index to come online (for example: CALL db.awaitIndex(\\":Person(name)\\")).",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["db.constraints","db.constraints() :: (description :: STRING?)","List all constraints in the database.",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["db.indexes","db.indexes() :: (description :: STRING?, state :: STRING?, type :: STRING?)","List all indexes in the database.",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["db.labels","db.labels() :: (label :: STRING?)","List all labels in the database.",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["db.propertyKeys","db.propertyKeys() :: (propertyKey :: STRING?)","List all property keys in the database.",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["db.relationshipTypes","db.relationshipTypes() :: (relationshipType :: STRING?)","List all relationship types in the database.",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["db.resampleIndex","db.resampleIndex(index :: STRING?) :: VOID","Schedule resampling of an index (for example: CALL db.resampleIndex(\\":Person(name)\\")).",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["db.resampleOutdatedIndexes","db.resampleOutdatedIndexes() :: VOID","Schedule resampling of all outdated indexes.",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["db.schema","db.schema() :: (nodes :: LIST? OF NODE?, relationships :: LIST? OF RELATIONSHIP?)","Show the schema of the data.",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["dbms.changePassword","dbms.changePassword(password :: STRING?) :: VOID","Change the current user\'s password. Deprecated by dbms.security.changePassword.",["admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["dbms.components","dbms.components() :: (name :: STRING?, versions :: LIST? OF STRING?, edition :: STRING?)","List DBMS components and their versions.",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["dbms.functions","dbms.functions() :: (name :: STRING?, signature :: STRING?, description :: STRING?, roles :: LIST? OF STRING?)","List all user functions in the DBMS.",["admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["dbms.killQueries","dbms.killQueries(ids :: LIST? OF STRING?) :: (queryId :: STRING?, username :: STRING?)","Kill all transactions executing a query with any of the given query ids.",["admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["dbms.killQuery","dbms.killQuery(id :: STRING?) :: (queryId :: STRING?, username :: STRING?)","Kill all transactions executing the query with the given query id.",["admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["dbms.listQueries","dbms.listQueries() :: (queryId :: STRING?, username :: STRING?, query :: STRING?, parameters :: MAP?, startTime :: STRING?, elapsedTime :: STRING?, connectionDetails :: STRING?, metaData :: MAP?)","List all queries currently executing at this instance that are visible to the user.",["admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["dbms.procedures","dbms.procedures() :: (name :: STRING?, signature :: STRING?, description :: STRING?, roles :: LIST? OF STRING?)","List all procedures in the DBMS.",["admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["dbms.queryJmx","dbms.queryJmx(query :: STRING?) :: (name :: STRING?, description :: STRING?, attributes :: MAP?)","Query JMX management data by domain and name. For instance, \\"org.neo4j:*\\"",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["dbms.security.activateUser","dbms.security.activateUser(username :: STRING?, requirePasswordChange = true :: BOOLEAN?) :: VOID","Activate a suspended user.",["admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["dbms.security.addRoleToUser","dbms.security.addRoleToUser(roleName :: STRING?, username :: STRING?) :: VOID","Assign a role to the user.",["admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["dbms.security.changePassword","dbms.security.changePassword(password :: STRING?, requirePasswordChange = false :: BOOLEAN?) :: VOID","Change the current user\'s password.",["admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["dbms.security.changeUserPassword","dbms.security.changeUserPassword(username :: STRING?, newPassword :: STRING?, requirePasswordChange = true :: BOOLEAN?) :: VOID","Change the given user\'s password.",["admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["dbms.security.clearAuthCache","dbms.security.clearAuthCache() :: VOID","Clears authentication and authorization cache.",["admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["dbms.security.createRole","dbms.security.createRole(roleName :: STRING?) :: VOID","Create a new role.",["admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["dbms.security.createUser","dbms.security.createUser(username :: STRING?, password :: STRING?, requirePasswordChange = true :: BOOLEAN?) :: VOID","Create a new user.",["admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["dbms.security.deleteRole","dbms.security.deleteRole(roleName :: STRING?) :: VOID","Delete the specified role. Any role assignments will be removed.",["admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["dbms.security.deleteUser","dbms.security.deleteUser(username :: STRING?) :: VOID","Delete the specified user.",["admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["dbms.security.listRoles","dbms.security.listRoles() :: (role :: STRING?, users :: LIST? OF STRING?)","List all available roles.",["admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["dbms.security.listRolesForUser","dbms.security.listRolesForUser(username :: STRING?) :: (value :: STRING?)","List all roles assigned to the specified user.",["admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["dbms.security.listUsers","dbms.security.listUsers() :: (username :: STRING?, roles :: LIST? OF STRING?, flags :: LIST? OF STRING?)","List all local users.",["admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["dbms.security.listUsersForRole","dbms.security.listUsersForRole(roleName :: STRING?) :: (value :: STRING?)","List all users currently assigned the specified role.",["admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["dbms.security.removeRoleFromUser","dbms.security.removeRoleFromUser(roleName :: STRING?, username :: STRING?) :: VOID","Unassign a role from the user.",["admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["dbms.security.showCurrentUser","dbms.security.showCurrentUser() :: (username :: STRING?, roles :: LIST? OF STRING?, flags :: LIST? OF STRING?)","Show the current user.",["admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["dbms.security.suspendUser","dbms.security.suspendUser(username :: STRING?) :: VOID","Suspend the specified user.",["admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["dbms.setTXMetaData","dbms.setTXMetaData(data :: MAP?) :: VOID","Attaches a map of data to the transaction. The data will be printed when listing queries, and inserted into the query log.",["admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}}]}'),Ke={value:p.utils.searchParamOf("cypher")||"MATCH (n) RETURN n limit 10",mode:"application/x-cypher-query",indentWithTabs:!0,smartIndent:!1,lineNumbers:!0,matchBrackets:!0,autofocus:!0,theme:"cypher cypher-dark",lint:!0,styleActiveLine:!0,extraKeys:{"Ctrl-Space":"autocomplete"},hintOptions:{completeSingle:!1,closeOnUnfocus:!1,alignWithWord:!0,async:!0},gutters:["cypher-hints"],lineWrapping:!0,autoCloseBrackets:{explode:""}},qe={consoleCommands:[{name:":clear"},{name:":play"},{name:":help",description:"this is help command"},{name:":server",commands:[{name:"user",commands:[{name:"list",description:"listdesc"},{name:"add"}]}]},{name:":schema"},{name:":history"},{name:":queries"}],labels:[":Spacey mc spaceface",":Legislator",":State",":Party",":Body",":Bill",":Subject",":Committee",":Congress"],relationshipTypes:[":REPRESENTS",":IS_MEMBER_OF",":ELECTED_TO",":PROPOSED_DURING",":SPONSORED_BY",":VOTED ON",":REFERRED_TO",":SERVES_ON",":DEALS_WITH"],parameters:["age","name","surname"],propertyKeys:["bioguideID","code","name","type","billID","title","thomasID","birthday","wikipediaID","currentParty","state","votesmartID","fecIDs","republicanCount","otherCount","cspanID","democratCount","lastName","firstName","party","opensecretsID","icpsrID","religion","lisID","govtrackID","gender","district","number","enacted","officialTitle","vetoed","active","popularTitle","cosponsor","vote","jurisdiction","url","rank","washpostID"],functions:We.aT.map((e=>{const t=e.row[0],n=e.row[1];return{name:e.row[0],signature:n.replace(t,"")}})),procedures:Ve.aT.map((e=>{const t=e.row[0],n=e.row[1].replace(t,"");let r=[];const i=n.match(/\([^)]*\) :: \((.*)\)/i);return i&&(r=i[1].split(", ").map((e=>{const t=e.match(/(.*) :: (.*)/);return{name:t[1],signature:t[2]}}))),{name:t,signature:n,returnItems:r}}))},Xe=({onValueChange:e,inputValue:t,cancelInputValue:n})=>{const r=(0,m.useRef)(null),i=(t,n)=>{if(0===n.text.length)return;const r=n.text[0];("."===r||":"===r||"[]"===r||"()"===r||"{}"===r||"["===r||"("===r||"{"===r||"$"===r)&&t.execCommand("autocomplete"),e&&e(t.getValue())},o=(0,m.useMemo)((()=>{const{editor:t,editorSupport:n}=function(e,t){const n=new ze.CypherEditorSupport(""),r=Ye()(e,Object.assign(Object.assign({},t),{value:""}));return r.cypherMarkers=[],r.editorSupport=n,r.version=1,r.newContentVersion=function(){return this.version+=1,this.version},r.newContentVersion.bind(r),r.setValue(t.value||""),{editor:r,editorSupport:n}}(r.current,Ke);return e&&e(t.getValue()),t.on("change",i),n.setSchema(qe),t}),[r.current]);return(0,m.useEffect)((()=>{t&&(null==o||o.setValue(t),null==n||n())}),[t]),g().createElement("div",{className:"Codemirror-Container",ref:r})};const Ze=(0,m.memo)((({serviceId:e,isShowPublishButton:t,saveCypherTemplateServceId:n="GI/PublishTemplate",limit:r,controlledValues:i,onOpen:o})=>{const{updateContext:a,updateHistory:s,transform:l,services:c,largeGraphLimit:u}=(0,p.useContext)(),h=p.utils.getService(c,e),[d,y]=Le({value:"",loading:!1,modalVisible:!1,inputValue:""});(0,m.useEffect)((()=>{if(i){null==o||o();const{value:e}=i;_(e),v(e),y((t=>{t.inputValue=e}))}}),[i]);const v=e=>function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){e.done?i(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))}(void 0,void 0,void 0,(function*(){if(!h)return;y((e=>{e.loading=!0}));let t=e||d.value;const n=yield h({value:t,limit:r}),i=!!n.nodes;((e,t,n)=>{s({componentId:"CypherQuery",type:"query",subType:"Cypher",statement:n,success:e,errorMsg:t,params:{value:n}})})(i,i?void 0:C({id:"advance.components.CypherQuery.Component.QueryFailed",dm:"查询失败"}),t),y((e=>{e.loading=!1})),a((e=>{const t=l(n);if(e.source=t,e.isLoading=!1,t.nodes.length>u)return e.largeGraphMode=!0,e.largeGraphData=t,void(e.data={nodes:[],edges:[]});e.data=t}))})),_=e=>{y((t=>{t.value=e}))};return g().createElement("div",{className:"cypher-query-container"},g().createElement(Xe,{onValueChange:_,inputValue:d.inputValue,cancelInputValue:()=>y((e=>{e.inputValue=""}))}),g().createElement("div",{style:{textAlign:"right",padding:"12px 0px"}},t&&g().createElement(f.Button,{className:"publishButton",disabled:!d.value,onClick:()=>{y((e=>{e.modalVisible=!0}))}},C({id:"advance.components.CypherQuery.Component.PublishAsATemplate",dm:"发布成模板"})),g().createElement(f.Button,{onClick:()=>v(),type:"primary",loading:d.loading},C({id:"advance.components.CypherQuery.Component.ExecuteAQuery",dm:"执行查询"}))),d.modalVisible&&g().createElement(je,{saveTemplateServceId:n,visible:d.modalVisible,value:d.value,close:()=>{y((e=>{e.modalVisible=!1}))},fileType:"CYPHER"}))})),Qe="CypherQuery",Je={id:Qe,name:C({id:"advance.components.CypherQuery.info.CypherStatementQuery",dm:"Cypher 语句查询"}),category:"data-query",desc:C({id:"advance.components.CypherQuery.info.DataQueryModule",dm:"数据查询模块"}),cover:"http://xxxx.jpg",type:"GIAC_CONTENT",icon:"icon-query",services:[Qe,"PublishTemplate"],docs:"https://www.yuque.com/antv/gi/tt351vzs0agex3un"},{GIAC_CONTENT_METAS:et,deepClone:tt}=p.extra,nt=tt(et);nt.GIAC_CONTENT.properties.GIAC_CONTENT.properties.icon.default=Je.icon,nt.GIAC_CONTENT.properties.GIAC_CONTENT.properties.title.default=Je.name;const rt={info:Je,component:Ze,registerMeta:e=>{const{services:t=[],engineId:n}=e,{options:r,defaultValue:i}=p.utils.getServiceOptionsByEngineId(t,Je.services[0],n),{options:o,defaultValue:a}=p.utils.getServiceOptionsByEngineId(t,Je.services[1],n);return Object.assign({serviceId:{title:C({id:"advance.components.CypherQuery.registerMeta.DataService",dm:"数据服务"}),type:"string","x-decorator":"FormItem","x-component":"Select","x-component-props":{options:r},default:i},limit:{title:C({id:"advance.components.CypherQuery.registerMeta.QueryLimits",dm:"查询限制"}),type:"number","x-decorator":"FormItem","x-component":"NumberPicker",default:100},isShowPublishButton:{title:C({id:"advance.components.CypherQuery.registerMeta.PublishAsATemplate",dm:"发布成模板"}),type:"string","x-decorator":"FormItem","x-component":"Switch","x-reactions":[{target:"saveCypherTemplateServceId",fulfill:{state:{visible:"{{$self.value}}"}}}],default:!1},saveCypherTemplateServceId:{title:C({id:"advance.components.CypherQuery.registerMeta.PublishTemplateService",dm:"发布模板服务"}),type:"string","x-decorator":"FormItem","x-component":"Select","x-component-props":{options:o},default:a},initialValue:{title:C({id:"advance.components.CypherQuery.registerMeta.InitialStatement",dm:"初始语句"}),type:"string","x-decorator":"FormItem","x-component":"Input.TextArea",default:"MATCH n RETURN LIMIT 100"}},nt)}},it={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"};var ot=function(e,t){return m.createElement(ke.Z,(0,Ne.Z)((0,Ne.Z)({},e),{},{ref:t,icon:it}))};ot.displayName="StarFilled";const at=m.forwardRef(ot);var st=u(9835),lt=u.n(st),ct=u(2791),ut=u.n(ct),ht=u(7224);const pt=[{key:"red",label:C({id:"advance.components.GraphAnnotation.Component.Red",dm:"红色"}),hex:"#ff4d4f"},{key:"green",label:C({id:"advance.components.GraphAnnotation.Component.Green",dm:"绿色"}),hex:"#389e0d"},{key:"blue",label:C({id:"advance.components.GraphAnnotation.Component.Blue",dm:"蓝色"}),hex:"#1890ff"},{key:"yellow",label:C({id:"advance.components.GraphAnnotation.Component.Yellow",dm:"黄色"}),hex:"#ffc53d"},{key:"black",label:C({id:"advance.components.GraphAnnotation.Component.Black",dm:"黑色"}),hex:"#000"}],dt={key:"cancel",label:C({id:"advance.components.GraphAnnotation.Component.Cancel",dm:"取消"}),hex:"#ccc"},ft="gi-graph-annotation";let mt;const gt=(0,m.memo)((e=>{var t;const{contextmenu:n,annotationWay:r,defaultTitleField:i,defaultContentFields:o}=e,{graph:a,GISDK_ID:s}=(0,p.useContext)(),{item:l,x:c,y:u}=n;if(l&&l.destroyed)return null;const h=(null===(t=null==l?void 0:l.getType)||void 0===t?void 0:t.call(l))||"canvas",d={node:C({id:"advance.components.GraphAnnotation.Component.Node",dm:"节点"}),edge:C({id:"advance.components.GraphAnnotation.Component.Edge",dm:"边"}),combo:C({id:"advance.components.GraphAnnotation.Component.NodeGrouping",dm:"节点分组"}),canvas:C({id:"advance.components.GraphAnnotation.Component.Canvas",dm:"画布"})},y=(0,m.useMemo)((()=>{const e=a.get("plugins").filter((e=>"gi-graph-annoation-component"===e.get("pluginType")))[0];if(e)return e;const t=new(lt().Annotation)({pluginType:"gi-graph-annoation-component",trigger:"fix",onAnnotationChange:()=>{},cardCfg:{borderRadius:2,maxTitleLength:25,maxWidth:250,minWidth:150,collapseType:"hide",closeType:"remove",defaultBegin:{right:32,top:100}},getTitle:e=>{var t;if(i)return e.getModel()[i];const n=(null===(t=e.getType)||void 0===t?void 0:t.call(e))||"canvas";return d[n]},getContent:e=>{if(o){const t=e.getModel();return o.map((e=>t.hasOwnProperty(e)?`${e}: ${t[e]}`:void 0)).filter(Boolean).join("\n\r")}},getContentPlaceholder:e=>C({id:"advance.components.GraphAnnotation.Component.DoubleClickHereToStart",dm:"双击此处开始编辑"})});return a.addPlugin(t),t}),[]);(0,m.useEffect)((()=>{if(!y)return null==mt||mt(),void(mt=void 0);const e=document.getElementById(`${s}-graphin-container`);mt=(0,ht.ak)(e,(e=>{const t=y.get("canvas"),n=y.get("linkCanvas");if(e){const{clientHeight:r,clientWidth:i}=e;t&&t.changeSize(i,r),n&&n.changeSize(i,r)}}))}),[y]);const v=e=>{switch(r){case"tag":_(),b(e);break;case"click":case"tagOnly":default:b(e);break;case"annotateOnly":_()}n.onClose()},_=e=>{var t;const n=e||l||a.get("canvas");(null===(t=null==n?void 0:n.isCanvas)||void 0===t?void 0:t.call(n))?y.toggleAnnotation(n,{x:c,y:u}):y.showAnnotation({item:n})},b=e=>{if(!l)return;const t=l.getModel(),{badges:n=[],keyshape:r}=t.style||{},i=Math.max(Math.round(r.size/2)||15,15),o=[...n],s=o.find((e=>e.classname===ft));if(s){const e=o.indexOf(s);o.splice(e,1)}"cancel"!==e.key?o.push({position:"RB",fontFamily:"iconfont",type:"font",value:p.icons["star-fill"],size:i,fontSize:i-2,color:e.hex,fill:"#fff",stroke:e.hex,classname:ft}):y.removeCard(t.id),a.updateItem(l,{pinned:!0,style:{badges:o}})},E=e=>{var t,n;const{target:r,item:i}=e;if("badges-circle"===r.get("name")){if(!(null===(n=null===(t=null==i?void 0:i.getModel().style)||void 0===t?void 0:t.badges)||void 0===n?void 0:n.find((e=>e.classname===ft))))return;_(i)}};(0,m.useEffect)((()=>{if(!y||y.destroyed)return null==mt||mt(),void(mt=void 0);ut()("\n .g6-annotation-wrapper {\n box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);\n }\n .g6-annotation-header-wapper {\n background-color: #fff;\n border-bottom: 1px solid rgba(0, 0, 0, 0.15);\n }\n ")}),[]),(0,m.useEffect)((()=>("click"===r&&a.on("node:click",E),()=>{a.off("node:click",E)})),[r]);const T=(0,m.useMemo)((()=>{var e;const t=l||a.get("canvas");return"annotateOnly"===r||(null===(e=null==t?void 0:t.isCanvas)||void 0===e?void 0:e.call(t))&&"tagOnly"!==r?g().createElement(f.Menu.Item,{key:"graph-annotation",eventKey:"graph-annotation",onClick:v},C({id:"advance.components.GraphAnnotation.Component.LabelMenuitemnameitemtype",dm:"标注{menuItemNameItemType}"},{menuItemNameItemType:d[h]})):g().createElement(f.Menu.SubMenu,{key:"tag",title:C({id:"advance.components.GraphAnnotation.Component.MarkMenuitemnameitemtype",dm:"标记{menuItemNameItemType}"},{menuItemNameItemType:d[h]})},g().createElement("div",{className:"gi-annotation-tag-color-container"},pt.map((e=>g().createElement("div",{className:"gi-annotation-tag-color",style:{border:`1px solid ${e.hex}`},onClick:()=>v(e)},g().createElement(at,{style:{color:e.hex,fontSize:12,padding:"1px"}})))),g().createElement("div",{style:{marginLeft:"8px",lineHeight:"24px"},onClick:()=>v(dt)},C({id:"advance.components.GraphAnnotation.Component.Cancel",dm:"取消"}))))}),[r,l]);return g().createElement(g().Fragment,null," ",T," ")})),yt=[{value:"tag",label:C({id:"advance.components.GraphAnnotation.registerMeta.MarkNodesAtTheSame",dm:"标记节点的同时"})},{value:"click",label:C({id:"advance.components.GraphAnnotation.registerMeta.WhenYouClickANode",dm:"点击节点标记时"})},{value:"tagOnly",label:C({id:"advance.components.GraphAnnotation.registerMeta.MarkNodesOnlyYouCannot",dm:"仅标记节点,不可添加标注"})},{value:"annotateOnly",label:C({id:"advance.components.GraphAnnotation.registerMeta.AddOnlyLabelsNotNodes",dm:"仅添加标注,不标记节点"})}],vt={info:{id:"GraphAnnotation",name:C({id:"advance.components.GraphAnnotation.Menu",dm:"图标注(MENU)"}),category:"elements-interaction",desc:C({id:"advance.components.GraphAnnotation.FigureAnnotationOftenIntegratedIn",dm:"图标注,常集成在右键菜单中"}),cover:"http://xxxx.jpg",icon:"icon-pushpin",type:"GIAC_MENU",docs:"https://www.yuque.com/antv/gi/wefpto855v7x79dd"},component:gt,registerMeta:e=>{const{keys:t}=e;return{annotationWay:{title:C({id:"advance.components.GraphAnnotation.registerMeta.LabelingMethod",dm:"标注方式"}),type:"string","x-decorator":"FormItem","x-component":"Select","x-component-props":{options:yt},default:"tag"},defaultTitleField:{title:C({id:"advance.components.GraphAnnotation.registerMeta.DefaultTitleFillAttribute",dm:"默认标题填充属性"}),type:"string","x-decorator":"FormItem","x-component":"Select","x-component-props":{mode:"single",options:t.map((e=>({label:e,value:e})))},default:void 0},defaultContentFields:{title:C({id:"advance.components.GraphAnnotation.registerMeta.DefaultContentFillAttribute",dm:"默认内容填充属性"}),type:"string","x-decorator":"FormItem","x-component":"Select","x-component-props":{mode:"multiple",options:t.map((e=>({label:e,value:e})))},default:void 0}}}};const _t=(0,m.memo)((({initialValue:e="",height:t=220,serviceId:n,saveTemplateServceId:r="GI/PublishTemplate",style:i,visible:o,isShowPublishButton:a,isShowLimit:s,isShowTimeout:l,controlledValues:c})=>{var u;const{updateContext:h,transform:d,services:y,updateHistory:v}=(0,p.useContext)(),_=g().useRef(null),b=p.utils.getService(y,n),E=p.utils.searchParamOf("gremlin"),[T,x]=Le({editorValue:E||e||"",isFullScreen:!1,modalVisible:!1,limit:null,timeout:5e3}),S=e=>{x((t=>{t.editorValue=e}))},{editorValue:A,isFullScreen:R,limit:w,timeout:L}=T,[O,N]=(0,m.useState)(!1),I=(0,m.useMemo)((()=>A.includes(".limit")),[A]),k=(0,m.useMemo)((()=>A.includes("evaluationTimeout")),[A]),D=()=>function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){e.done?i(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))}(void 0,void 0,void 0,(function*(){if(N(!0),!b)return;let e=`${A}`;s&&w&&!I&&(e=`${e}.limit(${w})`),l&&L&&!k&&(e=`${e.substring(0,1)}.with('evaluationTimeout', ${L})${e.substring(1)}`);const t=yield b({value:e});v({componentId:"GremlinQuery",type:"query",subType:"Gremlin",statement:e,success:t&&t.success,params:{value:e}}),N(!1),t&&t.success?h((e=>{const n=d(t.data);e.data=n,e.source=n,e.isLoading=!1})):f.notification.error({message:C({id:"advance.components.GremlinQuery.Component.FailedToExecuteGremlinQuery",dm:"执行 Gremlin 查询失败"}),description:C({id:"advance.components.GremlinQuery.Component.FailureReasonResultmessage",dm:"失败原因:{resultMessage}"},{resultMessage:t.message})})}));(0,m.useEffect)((()=>{N(!1)}),[o]),(0,m.useEffect)((()=>{console.log("editorValue..........",A),S(A)}),[]),(0,m.useEffect)((()=>{const{value:e}=c||{};e&&(S(e),D())}),[c]);const P=s||l,M=(0,m.useMemo)((()=>{var e,t;return!!(null===(e=_.current)||void 0===e?void 0:e.scrollWidth)&&(null===(t=_.current)||void 0===t?void 0:t.scrollWidth)>400}),[null===(u=_.current)||void 0===u?void 0:u.scrollWidth]),F=s?g().createElement("div",{className:"gi-gremlin-query-config",style:{width:M?"50%":"unset"}},g().createElement(f.Tooltip,{title:I?C({id:"advance.components.GremlinQuery.Component.CannotBeModifiedLimitNum",dm:"不可修改,语句中已有 .limit(num) 约束"}):""},g().createElement("div",{className:"gi-gremlin-query-constraint-constraint"},g().createElement("label",{className:"gi-gremlin-query-constraint-label"},"Limit: "),g().createElement(f.InputNumber,{min:1,max:1/0,value:I?void 0:w,size:"small",style:{width:"calc(100% - 80px)"},disabled:I,onChange:e=>x((t=>{t.limit=e}))}))),w&&!I?g().createElement("div",{className:"gi-gremlin-query-config-tip"},C({id:"advance.components.GremlinQuery.Component.LimitConfigTip",dm:C({id:"advance.components.GremlinQuery.Component.TheStatementAddsASuffix",dm:"语句将添加后缀: .limt({limit})"},{limit:w})},{value:w})):""):"",H=l?g().createElement("div",{className:"gi-gremlin-query-config",style:{width:M?"50%":"unset"}},g().createElement(f.Tooltip,{title:k?C({id:"advance.components.GremlinQuery.Component.CannotBeModifiedWithEvaluationtimeout",dm:"不可修改,语句中已有 .with('evaluationTimeout', timeout) 约束"}):""},g().createElement("div",{className:"gi-gremlin-query-constraint-constraint"},g().createElement("label",{className:"gi-gremlin-query-constraint-label"},"Timeout(ms): "),g().createElement(f.InputNumber,{min:500,max:1/0,step:1e3,value:k?void 0:L,size:"small",disabled:k,style:{width:"calc(100% - 80px)"},onChange:e=>x((t=>{t.timeout=e}))}))),L&&!k?g().createElement("div",{className:"gi-gremlin-query-config-tip"},C({id:"advance.components.GremlinQuery.Component.TimeoutConfigTip",dm:C({id:"advance.components.GremlinQuery.Component.StatementToAddConstraintsWith",dm:"语句将添加约束: .with('evaluationTimeout', {timeout})"},{timeout:L})},{value:L})):""):"";return g().createElement("div",{className:"gi-gremlin-query ",style:Object.assign({},i),ref:_},g().createElement("div",{style:{border:"1px solid #f6f6f6"}},g().createElement(Fe,{initValue:A,height:t,gremlinId:"gi-assets-gremlin",onValueChange:e=>(e=>{S(e)})(e)})),P?g().createElement("div",{className:"gi-gremlin-query-constraints-wrapper",style:{display:M?"inline-flex":"block"}},F,H):"",g().createElement("div",{style:{display:"flex",justifyContent:"end",padding:"8px 8px"}},g().createElement(f.Space,null,g().createElement(f.Button,{className:"publishButton",disabled:!0},C({id:"advance.components.GremlinQuery.Component.PublishAsATemplate",dm:"发布成模板"})),g().createElement(f.Button,{className:"queryButton",loading:O,type:"primary",onClick:D},C({id:"advance.components.GremlinQuery.Component.ExecuteAQuery",dm:"执行查询"})))))})),bt="GremlinQuery",Et={id:bt,name:C({id:"advance.components.GremlinQuery.info.GremlinQuery",dm:"Gremlin 查询"}),desc:C({id:"advance.components.GremlinQuery.info.QueryGraphDataThroughGremlin",dm:"通过 Gremlin 语句查询图数据"}),icon:"icon-query",category:"data-query",cover:"http://xxxx.jpg",type:"GIAC_CONTENT",services:[bt,"PublishTemplate"],docs:"https://www.yuque.com/antv/gi/nfkf0ku3rgvnican"},{GIAC_CONTENT_METAS:Tt,deepClone:xt}=p.extra,St=xt(Tt);St.GIAC_CONTENT.properties.GIAC_CONTENT.properties.icon.default=Et.icon,St.GIAC_CONTENT.properties.GIAC_CONTENT.properties.title.default="Gremlin";const Ct={info:Et,component:_t,registerMeta:e=>{const{services:t,engineId:n}=e,{options:r,defaultValue:i}=p.utils.getServiceOptionsByEngineId(t,Et.services[0],n),{options:o,defaultValue:a}=p.utils.getServiceOptionsByEngineId(t,Et.services[1],n);return Object.assign({serviceId:{title:C({id:"advance.components.GremlinQuery.registerMeta.DataService",dm:"数据服务"}),type:"string","x-decorator":"FormItem","x-component":"Select","x-component-props":{options:r},default:i},isShowPublishButton:{title:C({id:"advance.components.GremlinQuery.registerMeta.PublishAsATemplate",dm:"发布成模板"}),type:"string","x-decorator":"FormItem","x-component":"Switch","x-reactions":[{target:"saveTemplateServceId",fulfill:{state:{visible:"{{$self.value}}"}}}],default:!1},saveTemplateServceId:{title:C({id:"advance.components.GremlinQuery.registerMeta.PublishTemplateService",dm:"发布模板服务"}),type:"string","x-decorator":"FormItem","x-component":"Select","x-component-props":{options:o},default:a},initialValue:{title:C({id:"advance.components.GremlinQuery.registerMeta.InitialQuery",dm:"初始查询"}),type:"string","x-decorator":"FormItem","x-component":"Input.TextArea",default:'g.V().hasLabel("Film").has("id","c54e6f7dd4dacc1ac5b0fa66565a4a60")'},isShowLimit:{title:C({id:"advance.components.GremlinQuery.registerMeta.IsShowLimit",dm:"可设置 limit"}),type:"string","x-decorator":"FormItem","x-component":"Switch",default:!1},isShowTimeout:{title:C({id:"advance.components.GremlinQuery.registerMeta.IsShowTimeout",dm:"可设置 timeout"}),type:"string","x-decorator":"FormItem","x-component":"Switch",default:!1},height:{title:C({id:"advance.components.GremlinQuery.registerMeta.Height",dm:"高度"}),type:"number","x-decorator":"FormItem","x-component":"NumberPicker",default:200}},St)}};var At=u(314),Rt=u.n(At);const wt=["TableMode","MapMode"],Lt={info:{id:"ModeSwitch",name:C({id:"advance.components.ModeSwitch.ModeSwitching",dm:"模式切换"}),desc:C({id:"advance.components.ModeSwitch.IntegratesMultipleAnalysisModesAnd",dm:"集成多个分析模式,支持切换"}),icon:"icon-sidebar",cover:"http://xxxx.jpg",category:"container-components",type:"GICC",docs:"https://www.yuque.com/antv/gi/uzzgt9vxx4leche6"},component:e=>{const{components:t,assets:n,GISDK_ID:r,placement:i,offset:o}=e,[a,s]=Le({mode:"CanvasMode"}),l=document.getElementById(`${r}-graphin-container`),c=(l.firstChild,m.useMemo((()=>t.sort(((e,t)=>e.props.GI_CONTAINER_INDEX-t.props.GI_CONTAINER_INDEX)).filter((e=>e&&e.props))),[t])),u=c.map((e=>({value:e.id,label:e.name||e.id})));u.unshift({value:"CanvasMode",label:C({id:"advance.components.ModeSwitch.Component.CanvasMode",dm:"画布模式"})});const h=m.useMemo((()=>{const e=c.find((e=>e.id===a.mode));if(!e)return null;const{props:t,id:r}=e,i=n[r].component;return m.createElement(i,Object.assign({},t))}),[c,a.mode,n]);m.useEffect((()=>{const e=document.getElementById(`${r}-graphin-container`);e.childElementCount>0&&e.childNodes.forEach((e=>{"SECTION"===e.nodeName&&(e.style.display="TableMode"===a.mode?"block":"none"),"DIV"===e.nodeName&&(e.style.display="CanvasMode"===a.mode?"block":"none")}))}),[a.mode,r]);const p="LT"===i||"LB"===i,d="LT"===i||"RT"===i;return m.createElement(m.Fragment,null,Rt().createPortal(m.createElement("nav",{style:{top:d?"0px":"unset",bottom:d?"unset":"0px",left:"0px",right:"0px",zIndex:300,position:"fixed"}},m.createElement("div",{style:{textAlign:p?"left":"right",marginLeft:p?o[0]:"unset",marginRight:p?"unset":o[0],marginTop:d?o[1]:"unset",marginBottom:d?"unset":o[1]}},m.createElement(f.Segmented,{value:a.mode,options:u,onChange:e=>{s((t=>{t.mode=e}))}}))),l),h&&Rt().createPortal(m.createElement("section",{style:{background:"#fff",position:"fixed",width:"100%",top:"32px",bottom:"0px",zIndex:300}},h),l))},registerMeta:e=>{const{GIAC_CONTENT_ITEMS:t=[],GIAC_ITEMS:n}=e,r=[...t].filter((e=>wt.includes(e.value)));return{GI_CONTAINER:{title:C({id:"advance.components.ModeSwitch.registerMeta.IntegratedComponents",dm:"集成组件"}),type:"string","x-decorator":"FormItem","x-component":"Select","x-component-props":{mode:"multiple"},enum:r,default:[]},placement:{title:C({id:"advance.components.ModeSwitch.registerMeta.PlacementOrientation",dm:"放置方位"}),type:"string","x-decorator":"FormItem","x-component":"Select","x-component-props":{options:[{value:"LT",label:C({id:"advance.components.ModeSwitch.registerMeta.TopLeftTop",dm:"左上 / top"})},{value:"RT",label:C({id:"advance.components.ModeSwitch.registerMeta.TopRightRight",dm:"右上 / right"})},{value:"LB",label:C({id:"advance.components.ModeSwitch.registerMeta.LowerLeftLeft",dm:"左下 / left"})},{value:"RB",label:C({id:"advance.components.ModeSwitch.registerMeta.BottomRightBottom",dm:"右下 / bottom"})}]},default:"LT"},offset:{title:C({id:"advance.components.ModeSwitch.registerMeta.OffsetDistance",dm:"偏移距离"}),type:"string","x-decorator":"FormItem","x-component":"Offset",default:[16,8]}}}};var Ot=u(4725),Nt=u.n(Ot);const It=(e,t)=>{var n,r;const i=e.save(),o={};null===(n=i.nodes)||void 0===n||n.forEach((e=>{o[e.id]=e}));const a=null===(r=t.nodes)||void 0===r?void 0:r.map((e=>{if("number"!=typeof e.x||"number"!=typeof e.y){const t=o[e.id];return t?Object.assign(Object.assign({},e),{x:t.x,y:t.y}):Object.assign(Object.assign({},e),{x:0,y:0})}return e}));return Object.assign(Object.assign({},t),{nodes:a})},kt=()=>{const{graph:e}=g().useContext(Ot.GraphinContext),[t,n]=g().useState((()=>({undoStack:e.getUndoStack(),redoStack:e.getRedoStack()}))),r=(t,n)=>{if(n)switch(t){case"visible":Object.keys(n).forEach((t=>{const r=n[t];r&&r.forEach((t=>{const n=e.findById(t.id);n&&(t.visible?e.showItem(n,!1):e.hideItem(n,!1))}))}));break;case"render":case"update":const t=e.getNodes().reduce(((e,t)=>(e[t.getID()]=t,e)),{});Object.keys(n).forEach((r=>{const i=n[r];i&&i.forEach((n=>{t[n.id]&&e.updateItem(n.id,n,!1)}))}));break;case"changedata":e.changeData(n,!1);break;case"delete":Object.keys(n).forEach((t=>{const r=n[t];r&&r.forEach((t=>{const n=t.itemType;delete t.itemType,e.addItem(n,t,!1)}))}));break;case"add":Object.keys(n).forEach((t=>{const r=n[t];r&&r.forEach((t=>{e.removeItem(t.id,!1)}))}));break;case"updateComboTree":const r={};e.getCombos().forEach((e=>{r[e.getID()]=e})),Object.keys(n).forEach((t=>{const i=n[t];i&&i.forEach((t=>{!r[t.id]||t.parentId&&!r[t.parentId]||e.updateComboTree(t.id,t.parentId,!1)}))}))}};return g().useEffect((()=>{const t=e=>{const{undoStack:t,redoStack:r}=e;n({undoStack:t,redoStack:r})};return e.on("stackchange",t),()=>{e.off("stackchange",t)}}),[e]),Object.assign(Object.assign(Object.assign({},t),{redo:()=>{const t=e.getRedoStack();if(!t||0===t.length)return;const n=t.pop();if(n){const{action:t}=n;let i=n.data.after;e.pushStack(t,Object.assign(Object.assign({},n.data),{after:It(e,n.data.after),before:It(e,n.data.before)})),"delete"===t&&(i=n.data.before),r(t,i)}},undo:()=>{const t=e.getUndoStack();if(!t||1===t.length)return;const n=t.pop();if(n){const{action:t}=n;e.pushStack(t,Object.assign(Object.assign({},n.data),{after:It(e,n.data.after),before:It(e,n.data.before)}),"redo");let i=n.data.before;"add"===t&&(i=n.data.after),r(t,i)}}}),t)},{GIAComponent:Dt}=p.extra,Pt=(0,m.memo)((e=>{const{GIAC:t}=e,{redo:n,redoStack:r}=kt();return g().createElement(Dt,{GIAC:Object.assign(Object.assign({},t),{disabled:0===r.length}),onClick:n})})),Mt={id:"Redo",name:C({id:"advance.components.Redo.info.Redo",dm:"重做"}),desc:C({id:"advance.components.Redo.info.RedoTheCanvasEntersThe",dm:"重做,画布进入下一步状态"}),cover:"http://xxxx.jpg",category:"canvas-interaction",type:"GIAC",icon:"icon-redo",docs:"https://www.yuque.com/antv/gi/qe8vp7n9snmv54qn"},{GIAC_METAS:Ft,deepClone:Ht}=p.extra,Bt=Ht(Ft);Bt.GIAC.properties.GIAC.properties.title.default=Mt.name,Bt.GIAC.properties.GIAC.properties.isShowTitle.default=!1,Bt.GIAC.properties.GIAC.properties.icon.default=Mt.icon;const Ut={info:Mt,component:Pt,registerMeta:()=>Object.assign({},Bt)},jt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M456 231a56 56 0 10112 0 56 56 0 10-112 0zm0 280a56 56 0 10112 0 56 56 0 10-112 0zm0 280a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"more",theme:"outlined"};var Gt=function(e,t){return m.createElement(ke.Z,(0,Ne.Z)((0,Ne.Z)({},e),{},{ref:t,icon:jt}))};Gt.displayName="MoreOutlined";const Yt=m.forwardRef(Gt);var zt=u(5538);const $t=(e,t,n)=>{const[r,i]=n;return"top"===t?{container:{},sheetbar:{position:"absolute",display:"flex",top:`${i}px`,left:`${r}px`,right:"0px",height:`${e+1}px`,lineHeight:`${e+1}px`,background:"var(--background-color)",zIndex:300,borderBottom:"1px solid var(--border-color)"}}:{container:{},sheetbar:{display:"flex",position:"absolute",bottom:`${i}px`,left:`${r}px`,right:"0px",height:`${e+1}px`,lineHeight:`${e+1}px`,background:"var(--background-color)",zIndex:300,borderTop:"1px solid var(--border-color)"}}},Wt=(0,m.memo)((e=>{const{height:t,placement:n,position:r=[0,0]}=e,{GISDK_ID:i,config:o,data:a,source:s,transform:l,services:c,updateContext:u,graph:h,assets:y}=(0,p.useContext)(),v=g().useRef({tagContext:!1}),[_,b]=g().useState((()=>{const e=new Map;return e.set("default",{sheetId:"default",sheetName:C({id:"advance.components.Sheetbar.Component.DefaultCanvas",dm:"默认画布"}),config:o,data:a,source:s}),{currentId:"default",currentName:C({id:"advance.components.Sheetbar.Component.DefaultCanvas",dm:"默认画布"}),sheetMap:e}})),{sheetMap:E,currentId:T,currentName:x}=_,S=[...E.values()],A=$t(t,n,r),R=e=>{const t=Math.random().toString(36).substr(2),n=C({id:"advance.components.Sheetbar.Component.UnnamedCanvas",dm:"未命名画布"});let r={nodes:[],edges:[]};e&&(r=JSON.parse(JSON.stringify(e))),b((e=>Object.assign(Object.assign({},e),{currentId:t,currentName:n,sheetMap:e.sheetMap.set(t,{sheetId:t,sheetName:n,config:o,source:r,data:r})})))};g().useEffect((()=>{v.current.tagContext||(u((e=>{e.handleAddSheetbar=e=>{R(e)}})),v.current.tagContext=!0)}),[]);const w=g().useCallback((e=>{T!==e&&b((t=>Object.assign(Object.assign({},t),{currentId:e,currentName:E.get(e).sheetName})))}),[T,E]),L=document.getElementById(`${i}-container`),O=L.parentElement;g().useEffect((()=>{"default"===T?(L.style.display="block",Object.keys(A.container).forEach((e=>{L.style[e]=A.container[e]}))):L.style.display="none"}),[T,L]);const N=(0,m.useMemo)((()=>(console.log("render ...sheet components"),g().createElement(g().Fragment,null,g().createElement("div",{style:A.sheetbar,className:"gi-sheetbar"},S.map((e=>{const{sheetName:n,sheetId:r}=e,i=T===r,o=e.config.components.filter((e=>"Sheetbar"!==e.id)),a=c.map((t=>-1!==t.id.indexOf("GI_SERVICE_INTIAL_GRAPH")?Object.assign(Object.assign({},t),{service:()=>new Promise((t=>{t(e.data)}))}):t)),s=Object.assign(Object.assign({},e.config),{components:o}),l=[{key:"delete",label:g().createElement("div",{onClick:()=>{var e;"default"!==(e=r)&&b((t=>(t.sheetMap.delete(e),Object.assign(Object.assign({},t),{sheetMap:t.sheetMap,currentId:"default",currentName:C({id:"advance.components.Sheetbar.Component.DefaultCanvas",dm:"默认画布"})}))))}},C({id:"advance.components.Sheetbar.Component.Delete",dm:"删除"})),icon:g().createElement(Oe.Z,null)}],u=g().createElement(f.Menu,{items:"default"===r?[]:l});return g().createElement("div",{key:r,onClick:()=>{w(r)},style:{color:i?"var(--primary-color)":"var(--text-color)",padding:"0px 0px 0px 12px",cursor:"pointer",background:i?"var(--background-color-2)":"var(--background-color)"}},n,g().createElement(f.Dropdown,{overlay:u,placement:"topRight",trigger:["click"]},g().createElement(f.Button,{type:"text",style:{height:`${t}px`,width:`${t}px`,marginLeft:"4px"},icon:g().createElement(Yt,null)})),"default"!==r&&Rt().createPortal(g().createElement(d(),{id:r,config:s,assets:y,services:a,style:Object.assign({display:r===T?"flex":"none"},A.container)}),O))})),g().createElement("div",null,g().createElement(f.Button,{icon:g().createElement(zt.Z,null),type:"text",onClick:()=>R(),style:{width:`${t}px`,height:`${t}px`}})))))),[T]);return Rt().createPortal(N,O)})),Vt={info:{id:"Sheetbar",name:C({id:"advance.components.Sheetbar.MultiCanvasTab",dm:"多画布页签"}),desc:C({id:"advance.components.Sheetbar.CreateACanvasTabTo",dm:"新建画布页签,辅助动态分析"}),cover:"http://xxxx.jpg",category:"system-interaction",type:"AUTO",icon:"icon-diff",docs:"https://www.yuque.com/antv/gi/vb6ysnnf1db2pdlf"},component:Wt,registerMeta:()=>({placement:{title:C({id:"advance.components.Sheetbar.registerMeta.PlacementOrientation",dm:"放置方位"}),type:"string","x-decorator":"FormItem","x-component":"Select","x-component-props":{options:[{value:"top",label:C({id:"advance.components.Sheetbar.registerMeta.Top",dm:"顶部"})},{value:"bottom",label:C({id:"advance.components.Sheetbar.registerMeta.Bottom",dm:"底部"})}]},default:"bottom"},height:{title:C({id:"advance.components.Sheetbar.registerMeta.TabHeight",dm:"页签高度"}),type:"number","x-decorator":"FormItem","x-component":"NumberPicker",default:40},position:{title:C({id:"sdk.src.components.const.OffsetDistance",dm:"偏移距离"}),type:"string","x-decorator":"FormItem","x-component":"Offset",default:[0,0]}})},Kt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512.5 390.6c-29.9 0-57.9 11.6-79.1 32.8-21.1 21.2-32.8 49.2-32.8 79.1 0 29.9 11.7 57.9 32.8 79.1 21.2 21.1 49.2 32.8 79.1 32.8 29.9 0 57.9-11.7 79.1-32.8 21.1-21.2 32.8-49.2 32.8-79.1 0-29.9-11.7-57.9-32.8-79.1a110.96 110.96 0 00-79.1-32.8zm412.3 235.5l-65.4-55.9c3.1-19 4.7-38.4 4.7-57.7s-1.6-38.8-4.7-57.7l65.4-55.9a32.03 32.03 0 009.3-35.2l-.9-2.6a442.5 442.5 0 00-79.6-137.7l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.2 28.9c-30-24.6-63.4-44-99.6-57.5l-15.7-84.9a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52-9.4-106.8-9.4-158.8 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.3a353.44 353.44 0 00-98.9 57.3l-81.8-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a445.93 445.93 0 00-79.6 137.7l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.2 56.5c-3.1 18.8-4.6 38-4.6 57 0 19.2 1.5 38.4 4.6 57l-66 56.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.3 44.8 96.8 79.6 137.7l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.8-29.1c29.8 24.5 63 43.9 98.9 57.3l15.8 85.3a32.05 32.05 0 0025.8 25.7l2.7.5a448.27 448.27 0 00158.8 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-84.9c36.2-13.6 69.6-32.9 99.6-57.5l81.2 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.5-87.4 79.6-137.7l.9-2.6c4.3-12.4.6-26.3-9.5-35zm-412.3 52.2c-97.1 0-175.8-78.7-175.8-175.8s78.7-175.8 175.8-175.8 175.8 78.7 175.8 175.8-78.7 175.8-175.8 175.8z"}}]},name:"setting",theme:"filled"};var qt=function(e,t){return m.createElement(ke.Z,(0,Ne.Z)((0,Ne.Z)({},e),{},{ref:t,icon:Kt}))};qt.displayName="SettingFilled";const Xt=m.forwardRef(qt);var Zt=u(3747),Qt=u(3486);const Jt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"};var en=function(e,t){return m.createElement(ke.Z,(0,Ne.Z)((0,Ne.Z)({},e),{},{ref:t,icon:Jt}))};en.displayName="RedoOutlined";const tn=m.forwardRef(en);var nn=u(703);const rn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M304 176h80v672h-80zm408 0h-64c-4.4 0-8 3.6-8 8v656c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V184c0-4.4-3.6-8-8-8z"}}]},name:"pause",theme:"outlined"};var on=function(e,t){return m.createElement(ke.Z,(0,Ne.Z)((0,Ne.Z)({},e),{},{ref:t,icon:rn}))};on.displayName="PauseOutlined";const an=m.forwardRef(on),sn=function(e){var t=(0,m.useRef)(e);t.current=(0,m.useMemo)((function(){return e}),[e]);var n=(0,m.useRef)();return n.current||(n.current=function(){for(var e=[],n=0;n{const{type:i,subType:o,statement:a,timestamp:s}=e,l=new Date(s);return m.createElement("div",{className:"gi-analysis-record-wrapper",style:Object.assign({},n)},r?m.createElement("div",{className:"gi-analysis-history-tag",style:{background:fn[i]}}):"",r?m.createElement("div",{style:{color:fn[i]}},mn[i]):"",m.createElement("span",{className:"gi-analysis-history-statement"},mn[i]," (",o,"): ",a),m.createElement("span",{className:"gi-analysis-history-time"},l.toLocaleDateString()," ",l.toLocaleTimeString()),t?m.createElement(f.Popover,{placement:"top",style:{width:"fit-content",height:"fit-content"},content:m.createElement("img",{src:t,style:{width:"300px"}})},m.createElement(un,{className:"gi-analysis-history-screenshot-icon"})):"")},yn=(e,t)=>"object"!=typeof e?m.createElement("span",Object.assign({},t),String(e)):m.createElement("div",{className:"gi-analysis-history-value-json"},m.createElement(dn,Object.assign({className:"gi-analysis-history-value-json"},t,{src:e}))),vn=(e,t,n)=>{let r=e;t.forEach(((e,i)=>{i===t.length-1?r[e]=n:r=r[e]}))},_n=(e,t,n={},r=void 0)=>{const{content:i,params:o}=e,a=o[t],s="object"==typeof a;return"query"===i.type&&"value"===t||s?((e,t,n,r={},i)=>{const{id:o,parameterized:a}=e,s=[],l=[],c=a[t];return c?("object"==typeof n?((e,t,n,r,i={},o,a,s)=>{let l=JSON.parse(JSON.stringify(n));Object.values(r).forEach((n=>{const{position:r,parameterName:i,parameterDesc:s}=n,{paths:c,content:u}=r;vn(l,c,`\${${i}}`);const h=`${e}-${t}-${c.join("-")}-${i}`;a.push(m.createElement(f.Form.Item,{label:i,name:h,style:{margin:"4px"}},m.createElement(f.Input,Object.assign({placeholder:u,size:"small",width:"100%"},o,{"data-name":h})),m.createElement("div",{style:{fontSize:"10px",color:"var(--text-color-secondary)"}},s)))})),s.push(m.createElement("div",{className:"gi-analysis-history-value-json"},m.createElement(dn,Object.assign({},i,{src:l}))))})(o,t,n,c,r,i,l,s):((e,t,n,r,i={},o,a,s)=>{r.sort(((e,t)=>e.position.start-t.position.start));let l=0;r.forEach((({position:r,parameterName:c,parameterDesc:u})=>{const{start:h,end:p,content:d}=r;h-l&&a.push(yn(n,Object.assign(Object.assign({},i),{style:Object.assign({width:"fit-content"},i.style),dataStart:l}))),a.push(m.createElement("span",{style:{color:o?"var(--primary-color)":"#ccc",userSelect:"none",width:"fit-content"}},`\${${c}}`));const g=`${e}-${t}-${t}--${c}`;s.push(m.createElement(f.Form.Item,{label:c,name:g,style:{margin:"4px"}},m.createElement(f.Input,Object.assign({placeholder:d,size:"small",width:"100%"},o,{"data-name":g})),m.createElement("div",{style:{fontSize:"10px",color:"var(--text-color-secondary)"}},u))),l=p})),l!==n.length&&a.push(m.createElement("textarea",Object.assign({},i,{style:Object.assign({width:"fit-content"},i.style),"data-start":l}),n.substring(l)))})(o,t,n,c,r,i,s,l),m.createElement(m.Fragment,null,m.createElement("div",{style:{display:"inline-block",wordBreak:"break-all"}},s),m.createElement("div",{style:{marginTop:"8px"}},i?l:""))):yn(n,r)})(e,t,a,n,r):((e,t,n,r={},i)=>{const{id:o,parameterized:a}=e,s=a[t],l=`${o}-${t}-${t}`;return i&&s?m.createElement(f.Form.Item,{label:t,name:l,style:{margin:"4px"}},m.createElement(f.Input,Object.assign({placeholder:n,size:"small",width:"100%"},i,{"data-name":l}))):m.createElement(f.Tooltip,{title:i?C({id:"advance.components.AnalysisHistory.util.UnparameterizedContentCannotBeModified",dm:"未参数化内容不可修改"}):""},m.createElement("span",Object.assign({},r,{style:Object.assign({userSelect:"none"},r.style)}),n))})(e,t,a,n,r)},bn=(e="",t=5)=>!e||e.lengthnew(lt().Tooltip)({offsetX:350,offsetY:0,fixToNode:[0,0],itemTypes:["node"],shouldBegin:e=>{if(!(null==e?void 0:e.item))return!1;const t=e.item.getID();return"start"!==t&&"end"!==t},getContent:t=>{if(!(null==t?void 0:t.item))return"";const{id:n,errorMsg:r,content:i}=t.item.getModel();if("start"===n||"end"===n)return"";const o=t.target.get("name"),a=document.createElement("div");if("error-icon"===o||"error-content"===o)a.innerHTML=`
${r}
`;else{const t=(null==i?void 0:i.img)||e[n];a.innerHTML=``}return a}}),xn=e=>{const{parameterized:t={},configured:n={},content:r={},params:i={}}=e;return!!Object.keys(t).find((e=>{const o=i[e];return"query"===r.type&&"value"===e||"object"==typeof o?t[e].find((t=>!n[`${e}-${t.parameterName}`])):!n[`${e}-${e}`]}))},Sn=(e,t)=>{const{size:n=[102,33]}=e;return t.addShape("circle",{attrs:{x:n[0]/2-1,y:-n[1]/2+2,r:4,fill:"#f5222d",stroke:"#fff",lineWidth:1},name:"unconfigure-tag"})},Cn=(e,t,n,r)=>{const{width:i,r:o}=e,a={x:"rect"===t?i/2+14:o+14,y:0};n.addShape("circle",{attrs:Object.assign(Object.assign({},a),{r:8,fill:"success"===r?"#52c41a":"#f5222d",lineWidth:0,opacity:0}),name:`${r}-icon`}).animate({opacity:1},{duration:300}),n.addShape("path",{attrs:{path:"success"===r?[["M",a.x-4,0],["L",a.x,3],["L",a.x+4,-2]]:[["M",a.x-3,-3],["L",a.x+3,3],["M",a.x-3,3],["L",a.x+3,-3]],stroke:"#fff",lineWidth:2},name:`${r}-content`})},An=(e,t)=>{const n=e.find((e=>e.get("name")===`${t}-icon`)),r=e.find((e=>e.get("name")===`${t}-content`));null==n||n.remove(!0),null==r||r.remove(!0)},Rn=(e,t,n,r)=>{const i=n.getContainer(),o=n.getKeyShape(),a=o.attr(),{width:s,r:l}=a;if("running"===e)if(t)if("circle"===r)i.addShape("text",{attrs:{x:l+4,y:0,text:"Ready",textAlign:"left",textBaseline:"middle",fontSize:12,fill:"#52c41a"},name:"running-icon"});else{const e=lt().Util.transform([1,0,0,0,1,0,0,0,1],[["t",-(s/2+14),0],["r",Math.PI+.9],["t",s/2+14,0]]);i.addShape("circle",{attrs:{x:s/2+14,y:0,r:6,lineWidth:2,fill:"#fff",stroke:"#52c41a",lineDash:[4,16*Math.PI],matrix:e},name:"running-icon"}).animate({lineDash:[4,0]},{duration:1e3,easing:"easeLinear",repeat:!0})}else{const e=i.find((e=>"running-icon"===e.get("name")));e&&(e.stopAnimate(),e.remove(!0))}if("success"===e)t?"circle"===r?i.addShape("text",{attrs:{x:l+4,y:0,text:"Ready",textAlign:"left",textBaseline:"middle",fontSize:12,fill:"#52c41a"},name:"success-icon"}):Cn(a,r,i,"success"):An(i,"success");else if("configuring"===e)if(t){const e=Object.assign(Object.assign({},o.attr()),{stroke:"#fff",lineWidth:1,fillOpacity:0});o.attr({lineWidth:4,stroke:e.fill}),delete e.fill,i.addShape(r,{attrs:e,name:"border"});const t=i.find((e=>"unconfigure-tag"===e.get("name")));null==t||t.toFront()}else{const e=i.find((e=>"border"===e.get("name")));e&&e.remove(!0),o.attr({lineWidth:0})}else"error"===e&&(t?Cn(a,r,i,"error"):An(i,"error"))},{Tooltip:wn}=lt(),Ln=e=>{const t=(0,m.useRef)(),{runningId:n,errorInfos:r,successIds:i,graphData:o,urlMap:a,configuring:s,style:l={},isConfigure:c=!1,setConfiguring:u}=e,[h,p]=Le({tooltip:void 0,graph:null}),{tooltip:d,graph:f}=h;(0,m.useEffect)((()=>{lt().registerNode("gi-history-rect",{afterDraw(e,t){(null==e?void 0:e.isConfigure)&&xn(e)&&Sn(e,t)},afterUpdate(e,t){if(!e||!t)return;const n=t.getContainer(),r=n.find((e=>"unconfigure-tag"===e.get("name")));e.isConfigure&&xn(e)?r||Sn(e,n):r&&r.remove()},setState:(e,t,n)=>Rn(e,t,n,"rect")},"rect"),lt().registerNode("gi-history-circle",{setState:(e,t,n)=>Rn(e,t,n,"circle")},"circle")}),[]),(0,m.useEffect)((()=>{if(!o)return;const e=JSON.parse(JSON.stringify(o));if(f)return void f.changeData(e);const n=t.current,r=Tn(a),i=((e,t,n)=>{const r=(null==e?void 0:e.offsetWidth)||500,i=(null==e?void 0:e.offsetHeight)||500;return new(lt().Graph)({container:e,width:r,height:i,animate:!0,plugins:[t],modes:{default:[{type:"drag-canvas"},{type:"scroll-canvas",direction:"y"}]},layout:{type:"dagre",ranksep:10,begin:[r/2,70]},defaultNode:{type:"gi-history-rect",isConfigure:n,anchorPoints:[[.5,0],[.5,1]],labelCfg:{style:{fill:"#fff",cursor:"pointer"}}},defaultEdge:{type:"line",sourceAnchor:1,targetAnchor:0,color:fn.edge,style:{endArrow:{path:lt().Arrow.triangle(6,8),fill:fn.edge}}}})})(n,r,c);i.on("node:click",y),i.on("canvas:click",v),i.read(e),p((e=>{e.graph=i,e.tooltip=r}))}),[o]),(0,m.useEffect)((()=>{if(f){f.removePlugin(d);const e=Tn();f.addPlugin(e)}}),[a]),(0,m.useEffect)((()=>{f&&(f.findAllByState("node","running").forEach((e=>f.setItemState(e,"running",!1))),n&&f.findById(n)&&f.setItemState(n,"running",!0))}),[n]),(0,m.useEffect)((()=>{f&&(f.findAllByState("node","error").forEach((e=>f.setItemState(e,"error",!1))),null==r||r.forEach((e=>{const t=f.findById(e.id);t&&!t.destroyed&&(f.updateItem(e.id,{errorMsg:e.msg}),f.setItemState(e.id,"error",!0))})))}),[r]),(0,m.useEffect)((()=>{f&&((null==i?void 0:i.length)||f.findAllByState("node","success").forEach((e=>f.setItemState(e,"success",!1))),setTimeout((()=>{null==i||i.forEach((e=>{const t=f.findById(e);t&&(f.setItemState(t,"running",!1),t.hasState("success")||f.setItemState(t,"success",!0))}))}),1e3))}),[i]);const y=sn((e=>{if(!f)return;const t=e.item.getModel();if("start"!==t.id&&"end"!==t.id&&(null==s?void 0:s.id)!==t.id){if(s){const e=f.findById(s.id);e&&!e.destroyed&&f.setItemState(e,"configuring",!1)}f.setItemState(t.id,"configuring",!0),u(JSON.parse(JSON.stringify(t)))}})),v=sn((()=>{if(f){if(s){const e=f.findById(s.id);e&&e.setState("configuring",!1)}u(void 0)}}));return g().createElement("div",{className:"gi-history-modal-graph",ref:t,style:l})},On=e=>{const[t]=f.Form.useForm(),{configuring:n,updateConfigure:r}=e,{content:i,params:o}=n||{},a=e=>{const i=e.target.value,o=e.target.getAttribute("data-name");if(!n)return;const a=t.getFieldsValue();i&&!a[o]&&(a[o]=i,t.setFieldValue(o,i)),r(n.id,a)},s={width:"50%"};return n?g().createElement("div",{className:"gi-history-modal-configure-panel",style:s},g().createElement("h4",null,n.label),g().createElement(f.Divider,{type:"horizontal",style:{margin:"12px 0"}}),g().createElement("div",{style:{margin:"8px 0",wordBreak:"break-all"}},(()=>{const{statement:e,timestamp:t}=i,n=new Date(t);return g().createElement(g().Fragment,null,g().createElement("span",{className:"gi-analysis-history-statement"},e),g().createElement("div",{className:"gi-analysis-history-time",style:{fontSize:"10px"}},n.toLocaleDateString()," ",n.toLocaleTimeString()))})()),g().createElement(f.Form,{form:t},g().createElement("div",{style:{borderBottom:"1px solid #f0f0f0",paddingBottom:"16px"}},C({id:"advance.components.AnalysisHistory.ConfigurePanel.Description",dm:"描述:"}),n.description||C({id:"advance.components.AnalysisHistory.ConfigurePanel.None",dm:"无"})),Object.keys(o).map((e=>g().createElement("div",{className:"gi-history-modal-configure-field",style:{marginTop:"12px",display:"block"}},g().createElement("div",{className:"gi-history-modal-configure-parameterize-fieldname"},e,":"),g().createElement("div",{style:{borderRadius:"6px",padding:"4px",border:"1px solid #d9d9d9",wordBreak:"break-all"}},_n(n,e,{className:"gi-history-modal-configure-value",style:{border:"unset",userSelect:"none"}},{onBlur:a}))))))):g().createElement("div",{className:"gi-history-modal-configure-panel",style:s},C({id:"advance.components.AnalysisHistory.ConfigurePanel.ClickANodeToConfigure",dm:"请点击一个节点进行参数配置"}))};let Nn=0;const In=e=>{const{open:t,templates:n,urlMap:r,handleClose:i,handleUpdateConfigure:o}=e,{updateContext:a,history:s}=(0,p.useContext)(),[l,c]=Le({activeTemplateId:void 0,configuring:void 0,applyBtnTooltipVisible:!1,applyWay:"autoSteps",currentStep:-1,runningId:void 0,errorInfos:[],successIds:[],runningStatus:"none",autoRunning:!1}),{activeTemplateId:u,applyWay:h,currentStep:d,configuring:g,runningId:y,errorInfos:v,successIds:_,runningStatus:b,autoRunning:E}=l,T=m.useMemo((()=>{const e=null==n?void 0:n.find((e=>e.id===u));return e?e.nodes.filter((e=>"start"!==e.id&&"end"!==e.id)).sort(((e,t)=>{var n,r;return(null===(n=e.content)||void 0===n?void 0:n.timestamp)-(null===(r=t.content)||void 0===r?void 0:r.timestamp)})):[]}),[u,n]);m.useEffect((()=>{t?setTimeout((()=>{c((e=>{e.applyBtnTooltipVisible=!0})),setTimeout((()=>{c((e=>{e.applyBtnTooltipVisible=!1}))}),5e3)}),500):c((e=>{e.applyBtnTooltipVisible=!1}))}),[t]),m.useEffect((()=>{if(!(null==s?void 0:s.length))return;const{success:e,errorMsg:t}=s[s.length-1];y&&(e?("autoSteps"===h&&E&&d{S()}),1e3)),c((e=>{e.runningStatus="success",e.errorInfos=[],e.successIds=[..._,y]}))):e||c((e=>{e.errorInfos=[...v,{id:y,msg:t}],e.runningId=void 0,e.runningStatus="failed"})))}),[s]),m.useEffect((()=>{if(!(null==n?void 0:n.length)||u)return;const e=n[0].id;c((t=>{t.activeTemplateId=e}))}),[n]);const x=(e=!1)=>{Nn&&(clearTimeout(Nn),Nn=0),c((t=>{t.errorInfos=[],t.runningStatus=e?"finish":"none",t.runningId="start",t.successIds=[],t.currentStep="failed"===b?d:-1,t.autoRunning=!1}))},S=sn((()=>{let e=d+1;if(e>=T.length)x(!0);else{const t="finish"===b?T.length-1:d;R(T[e],T[t]),c((t=>{t.currentStep=e,t.runningStatus="running"}))}})),A=sn((e=>{c((e=>{e.runningId="start",e.successIds=[],e.autoRunning=!0})),Nn=setTimeout((()=>{c((e=>{e.successIds=["start"]})),S()}),e)})),R=(e,t)=>{const{params:n,parameterized:r,configured:i={},componentId:o,content:s}=e,{componentId:l}=t||{};c((t=>{t.runningId=e.id}));let u=!1;a((t=>{t.config.components.forEach((t=>{if(l&&t.id===l&&(t.props.controlledValues=void 0),t.id!==o)return;const a={seed:Math.random()};Object.keys(n).forEach((t=>{const o=n[t];if("query"===s.type&&"value"===t||"object"==typeof o){let n="string"!=typeof o?JSON.parse(JSON.stringify(o)):"",s=0;r[t]&&Object.values(r[t]).forEach((r=>{const{position:a,parameterName:l}=r,{start:c,end:u,content:h,paths:p}=a,d=i[`${e.id}-${t}-${p.join("-")}-${l}`]||h;"string"!=typeof o?vn(n,p,d):n=`${n}${o.substring(s,c-s)}${d}`,s=u})),"string"==typeof o&&(n=`${n}${o.substring(s)}`),a[t]=n}else a[t]=r[t]&&i[`${e.id}-${t}-${t}`]?i[`${e.id}-${t}-${t}`]:n[t]})),t.props.controlledValues=a,u=!0})),u||c((t=>{t.errorInfos=[...v,{id:e.id,msg:C({id:"advance.components.AnalysisHistory.TemplateDrawer.AssetComponentidIsNotFound",dm:"未找到资产 {componentId},请先将它配置到画布中"},{componentId:o})}],t.runningId=void 0,t.runningStatus="failed"}))}))},w=m.useMemo((()=>{const e={height:"32px",width:"83px",borderRadius:"0 8px 8px 0"};return"controlledSteps"===h?"failed"===b?m.createElement(f.Tooltip,{title:C({id:"advance.components.AnalysisHistory.TemplateDrawer.TheCurrentNodeFailedTo",dm:"当前节点执行失败,点从头重新执行"})},m.createElement(f.Button,{type:"primary",onClick:()=>x(),style:e},m.createElement(tn,{color:"#fff"}))):m.createElement(f.Button,{type:"primary",onClick:()=>S(),style:e,disabled:"running"===b},m.createElement(nn.Z,{color:"#fff"})):"failed"===b?m.createElement(f.Tooltip,{title:C({id:"advance.components.AnalysisHistory.TemplateDrawer.TheCurrentNodeFailedTo",dm:"当前节点执行失败,点从头重新执行"})},m.createElement(f.Button,{type:"primary",onClick:()=>{x(),A(1e3)},style:e},m.createElement(tn,{color:"#fff"}))):"running"===b||"success"===b?m.createElement(f.Button,{type:"primary",onClick:()=>{Nn&&clearTimeout(Nn),x()},style:e},m.createElement(an,{color:"#fff"})):m.createElement(f.Button,{type:"primary",onClick:()=>A(1e3),style:e},m.createElement(nn.Z,{color:"#fff"}))}),[d,h,b]);return m.createElement(f.Drawer,{title:C({id:"advance.components.AnalysisHistory.TemplateDrawer.AnalysisLinkTemplate",dm:"分析链路模版"}),width:"50vw",maskClosable:!1,mask:!1,open:t,onClose:i},m.createElement(f.Form,null,m.createElement(f.Form.Item,{label:C({id:"advance.components.AnalysisHistory.TemplateDrawer.SelectTemplate",dm:"选择模版"}),name:"template",className:"gi-history-drawer-select"},m.createElement(f.Select,{defaultValue:l.activeTemplateId,style:{width:"100%"},onChange:e=>{c((t=>{t.activeTemplateId=e,t.configuring=void 0})),x("finish"===b)}},null==n?void 0:n.map((e=>m.createElement(f.Select.Option,{value:e.id},e.name,e.description?m.createElement("span",{style:{color:"var(--text-color-secondary)",marginLeft:"4px"}},`(${e.description})`):""))))),m.createElement("div",{style:{width:"100%",display:"inline-flex"}},m.createElement(f.Form.Item,{label:C({id:"advance.components.AnalysisHistory.TemplateDrawer.ExecutionMethod",dm:"执行方式"}),name:"applyWay",initialValue:"autoSteps",style:{width:"calc(100% - 83px)"},className:"gi-history-drawer-select gi-history-drawer-select-apply"},m.createElement(f.Select,{style:{width:"100%"},onChange:e=>{x("finish"===b),c((t=>{t.applyWay=e}))},options:[{value:"autoSteps",label:C({id:"advance.components.AnalysisHistory.TemplateDrawer.AutomaticStepByStepExecution",dm:"自动分步执行"})},{value:"controlledSteps",label:C({id:"advance.components.AnalysisHistory.TemplateDrawer.ManualStepByStepExecution",dm:"手动分步执行"})}]})),m.createElement(f.Tooltip,{title:C({id:"advance.components.AnalysisHistory.TemplateDrawer.DoNotConfigureUseDefault",dm:"可不配置,使用默认参数执行"}),placement:"bottomLeft",open:l.applyBtnTooltipVisible},m.createElement("div",{style:{width:"83px"}},w)))),m.createElement("div",{className:"gi-history-drawer-graph-wrapper"},m.createElement(Ln,{urlMap:r,style:{width:"50%"},graphData:null==n?void 0:n.find((e=>e.id===l.activeTemplateId)),isConfigure:!0,runningId:y,errorInfos:v,successIds:_,configuring:g,setConfiguring:e=>c((t=>{t.configuring=e}))}),m.createElement(On,{configuring:l.configuring,updateConfigure:(e,t)=>o(l.activeTemplateId,e,t)})))};var kn=u(9909);const Dn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"};var Pn=function(e,t){return m.createElement(ke.Z,(0,Ne.Z)((0,Ne.Z)({},e),{},{ref:t,icon:Dn}))};Pn.displayName="CheckCircleFilled";const Mn=m.forwardRef(Pn),Fn=e=>{const[t]=f.Form.useForm(),{configuring:n,graphData:r,updateParameterize:i,updateQueryParameterize:o,updateDescription:a}=e,{content:s,params:l,parameterized:c}=n||{},[u,h]=Le({selectingField:void 0,operatingQueryField:void 0,operatingQueryValue:void 0,brushing:!1}),{selectingField:p,operatingQueryField:d,operatingQueryValue:y,brushing:v}=u;(0,m.useEffect)((()=>(window.addEventListener("mouseup",b),window.addEventListener("mousedown",_),()=>{window.removeEventListener("mouseup",b),window.removeEventListener("mousedown",_)})),[]),(0,m.useEffect)((()=>{n&&t.setFieldValue("description",n.description)}),[null==n?void 0:n.id]);const _=e=>{const{className:t}=e.target||{};"string"==typeof t&&t.includes("gi-history-modal-configure-value")||(h((e=>{e.brushing=!1})),"string"==typeof t&&t.includes("gi-history-modal-configure-panel")&&h((e=>{e.operatingQueryValue=void 0,e.selectingField=void 0})))},b=()=>{p&&!1!==v&&(f.message.info(C({id:"advance.components.AnalysisHistory.ParamterizePanel.WhenSwipingTheSelectedText",dm:"刷选文本时,请在参数值文字范围内抬起鼠标以完成参数化"})),h((e=>{e.brushing=!1})))},E=e=>{var t,n;if(!p||!1===v)return;const r=Number(e.target.getAttribute("data-start"))||0,i=v;if(i!==r)return void f.message.error(C({id:"advance.components.AnalysisHistory.ParamterizePanel.BoxSelectionDoNotSpan",dm:"框选请勿跨越已参数化的内容"}));const o=null===(t=window.getSelection())||void 0===t?void 0:t.getRangeAt(0);if(!o)return;const{startContainer:a,startOffset:s,endOffset:l}=o,c=l-s;if(c<=0)return;const u=null===(n=a.nodeValue)||void 0===n?void 0:n.substring(s,c);u&&h((e=>{e.operatingQueryValue={start:s+i,end:l+i,content:u}}))},T=(e,t,r)=>{if(n)if(r){if(!y)return;h((t=>{t.operatingQueryField=e}))}else i(n.id,e,t)},x=()=>{y&&n&&p&&t.validateFields().then((e=>{var r,i,a;const{parameterName:s,parameterDesc:l}=e;if(/^[a-zA-Z][a-zA-Z0-9]*$/.test(s)){if("string"!=typeof p){const[e,...t]=p,a=t.join(",");if(null===(i=null===(r=c[e])||void 0===r?void 0:r[a])||void 0===i?void 0:i.find((e=>e.parameterName===s)))return void f.message.error(C({id:"advance.components.AnalysisHistory.ParamterizePanel.NamingFailedDuplicateParameterNaming",dm:"命名失败,在一个参数中,不可使用重复的参数命名"}));o(n.id,p,y,s,l)}else{if(null===(a=c[p])||void 0===a?void 0:a.find((e=>e.parameterName===s)))return void f.message.error(C({id:"advance.components.AnalysisHistory.ParamterizePanel.NamingFailedDuplicateParameterNaming",dm:"命名失败,在一个参数中,不可使用重复的参数命名"}));o(n.id,[p],y,s,l)}h((e=>{e.operatingQueryField=void 0,e.operatingQueryValue=void 0})),t.setFieldValue("parameterName",void 0),t.setFieldValue("parameterDesc",void 0)}else f.message.error(C({id:"advance.components.AnalysisHistory.ParamterizePanel.FailedToNameTheVariable",dm:"命名失败,变量名必须以字母开头,且不包含特殊字符"}))}))};return n?g().createElement("div",{className:"gi-history-modal-configure-panel"},g().createElement("h4",null,n.label),g().createElement(f.Divider,{type:"horizontal",style:{margin:"12px 0"}}),(()=>{const{statement:e,timestamp:t}=s,n=new Date(t);return g().createElement("div",{style:{margin:"8px 0"}},g().createElement("span",{className:"gi-analysis-history-statement"},e),g().createElement("div",{className:"gi-analysis-history-time",style:{fontSize:"10px"}},n.toLocaleDateString()," ",n.toLocaleTimeString()))})(),g().createElement(f.Form,{form:t},C({id:"advance.components.AnalysisHistory.ParamterizePanel.Description",dm:"描述:"}),g().createElement(f.Form.Item,{name:"description"},g().createElement(f.Input,{size:"small",placeholder:C({id:"advance.components.AnalysisHistory.ParamterizePanel.AuxiliaryDescriptionOfTheHistory",dm:"该条历史记录的辅助描述"}),onBlur:e=>{n&&a(n.id,e.target.value)},defaultValue:n.description})),Object.keys(l).map((e=>{const r="object"==typeof l[e],i="query"===s.type&&"value"===e||r;let o="";r?o=C({id:"advance.components.AnalysisHistory.ParamterizePanel.ClickTheValueInThe",dm:"点选对象中的值,进行参数化"}):i&&(o=C({id:"advance.components.AnalysisHistory.ParamterizePanel.SelectSomeTextToParameterize",dm:"刷选部分文字进行参数化"}));const a=!i&&(null==c?void 0:c[e]);return g().createElement("div",{style:{marginTop:"12px"}},g().createElement("div",{className:"gi-history-modal-configure-field"},g().createElement("span",{className:"gi-history-modal-configure-parameterize-fieldname"},e,":"),g().createElement(f.Popover,{content:g().createElement("div",null,g().createElement(f.Form.Item,{name:"parameterName",label:C({id:"advance.components.AnalysisHistory.ParamterizePanel.NameEnglish",dm:"名称(英文)"}),style:{width:"100%"},rules:[{required:!0,message:C({id:"advance.components.AnalysisHistory.ParamterizePanel.NameTheParameter",dm:"请为参数命名"})}]},g().createElement(f.Input,{className:"gi-history-modal-parametername-input",placeholder:C({id:"advance.components.AnalysisHistory.ParamterizePanel.EnterAName",dm:"输入名称"}),size:"small"})),g().createElement(f.Form.Item,{name:"parameterDesc",label:C({id:"advance.components.AnalysisHistory.ParamterizePanel.Description.1",dm:"描述"}),style:{width:"100%"}},g().createElement(f.Input,{className:"gi-history-modal-parametername-input",placeholder:C({id:"advance.components.AnalysisHistory.ParamterizePanel.AuxiliaryDescriptionOfThisParameter",dm:"该参数的辅助描述"}),size:"small"})),g().createElement("div",{style:{width:"100%",textAlign:"right"}},g().createElement(f.Button,{type:"text",size:"small",onClick:()=>{h((e=>{e.operatingQueryField=void 0})),t.resetFields()}},C({id:"advance.components.AnalysisHistory.ParamterizePanel.Cancel",dm:"取消"})),g().createElement(f.Button,{className:"gi-history-modal-parametername-confirm",style:{margin:"0px 4px"},type:"primary",size:"small",onClick:x},C({id:"advance.components.AnalysisHistory.ParamterizePanel.Ok",dm:"确定"})))),title:`为即将参数化的"${bn(null==y?void 0:y.content)}"命名`,trigger:"click",open:!!d,onOpenChange:e=>{e||h((e=>{e.operatingQueryField=void 0}))}},g().createElement(f.Button,{className:"gi-history-modal-configure-parameterize-btn",type:"link",disabled:!!i&&!u.operatingQueryValue,onClick:()=>T(e,!a,i),size:"small"},C(a?{id:"advance.components.AnalysisHistory.ParamterizePanel.Cancel",dm:"取消"}:{id:"advance.components.AnalysisHistory.ParamterizePanel.Parameterized",dm:"参数化"})))),g().createElement(f.Tooltip,{title:o,placement:"leftTop"},_n(n,e,{className:"gi-history-modal-configure-value",onMouseDown:t=>((e,t,n)=>{t&&h((t=>{t.operatingQueryValue=void 0,t.selectingField=e,t.brushing=Number(n.target.getAttribute("data-start"))||0}))})(e,i,t),onMouseUp:E,onSelect:t=>((e,t)=>{const{name:n,namespace:r,type:i,value:o}=t;h((t=>{t.selectingField=[e,...r,n],t.operatingQueryValue={content:o}})),T(n,!0,!0)})(e,t),color:a?"var(--text-color-secondary)":"unset"})))})))):g().createElement("div",{className:"gi-history-modal-configure-panel"},(null==r?void 0:r.nodes.length)>2?C({id:"advance.components.AnalysisHistory.ParamterizePanel.ClickANodeToConfigure",dm:"请点击一个节点进行参数配置"}):C({id:"advance.components.AnalysisHistory.ParamterizePanel.ClickHistoryFromTheLeft",dm:"请先从左侧时间轴中点选历史记录加入模版图"}))},Hn=e=>{const[t]=f.Form.useForm(),{history:n}=(0,p.useContext)(),{open:r,urlMap:i,handleSave:o,handleClose:a}=e,[s,l]=Le({checkedRecordIds:[],configuring:void 0,graphData:{nodes:[],edges:[],id:"",name:""},timelineTooltipVisible:!1,savePopoverOpen:!1}),{checkedRecordIds:c=[],configuring:u,graphData:h,timelineTooltipVisible:d,savePopoverOpen:g}=s;m.useEffect((()=>{r?setTimeout((()=>{y(!0),setTimeout((()=>{y(!1)}),5e3)}),500):y(!1)}),[r]),m.useEffect((()=>{const e=[],t=[Object.assign({id:"start",label:C({id:"advance.components.AnalysisHistory.TemplateModal.Start",dm:"开始"})},En),Object.assign({id:"end",label:C({id:"advance.components.AnalysisHistory.TemplateModal.End",dm:"结束"})},En)];if(!(null==n?void 0:n.length)||!(null==c?void 0:c.length))return void l((e=>{e.configuring=void 0,e.graphData={id:(0,kn.createUuid)(),name:(0,kn.createUuid)(),nodes:t,edges:[{id:"start-end",source:"start",target:"end",style:{lineDash:[4,4]}}]}}));let r="start";n.forEach((n=>{const{id:o,success:a}=n;c.includes(o)&&a&&(e.push({id:`${r}-${o}`,source:r,target:o}),r=o,t.splice(t.length-2,0,((e,t)=>{const{id:n,type:r,subType:i,statement:o,timestamp:a,componentId:s,params:l}=e;return{id:n,type:"gi-history-rect",label:`${mn[r]}(${i})`,color:fn[r],componentId:s,style:{fill:fn[r],stroke:fn[r],lineWidth:0,radius:6,cursor:"pointer"},content:{type:r,subType:i,statement:o,timestamp:a,img:t[n]},params:l,parameterized:{},configured:{}}})(n,i)))})),e.push({id:`edge-${Math.random()}`,source:r,target:"end"}),l((n=>{n.configuring=void 0,n.graphData={id:(0,kn.createUuid)(),name:(0,kn.createUuid)(),nodes:t,edges:e}}))}),[n,c]);const y=e=>{l((t=>{t.timelineTooltipVisible=e}))},v=e=>{l((t=>{const n=[...c];if(n.includes(e)){const r=n.indexOf(e);n.splice(r,1),t.checkedRecordIds=n}else t.checkedRecordIds=n.concat(e)}))},_=e=>{l((t=>{t.savePopoverOpen=e}))},b=()=>{y(!1),a()},E=(null==h?void 0:h.nodes.length)<3?m.createElement(f.Tooltip,{title:C({id:"advance.components.AnalysisHistory.TemplateModal.ThereIsNoContentTo",dm:"暂无可保存内容,请先将历史记录加入模版图"})},m.createElement(f.Button,{type:"primary",disabled:!0},C({id:"advance.components.AnalysisHistory.TemplateModal.Save",dm:"保存"}))):m.createElement(f.Popover,{content:m.createElement(f.Form,{form:t},m.createElement(f.Form.Item,{label:C({id:"advance.components.AnalysisHistory.TemplateModal.Name",dm:"名称"}),name:"templateName",rules:[{required:!0,message:C({id:"advance.components.AnalysisHistory.TemplateModal.NameTheTemplate",dm:"请为模版命名"})}]},m.createElement(f.Input,{placeholder:C({id:"advance.components.AnalysisHistory.TemplateModal.EnterATemplateName",dm:"输入模版名"})})),m.createElement(f.Form.Item,{label:C({id:"advance.components.AnalysisHistory.TemplateModal.Description",dm:"描述"}),name:"templateDesc"},m.createElement(f.Input,{placeholder:C({id:"advance.components.AnalysisHistory.TemplateModal.AuxiliaryDescription",dm:"辅助描述"})})),m.createElement(f.Button,{type:"primary",disabled:(null==h?void 0:h.nodes.length)<3,onClick:()=>{t.validateFields().then((e=>{const{templateName:t,templateDesc:n}=e;_(!1),b(),o(h,t,n)}))}},C({id:"advance.components.AnalysisHistory.TemplateModal.Ok",dm:"确定"}))),title:C({id:"advance.components.AnalysisHistory.TemplateModal.NameTheTemplate",dm:"请为模版命名"}),trigger:"click",open:g,onOpenChange:_},m.createElement(f.Tooltip,{title:C({id:"advance.components.AnalysisHistory.TemplateModal.AnalysisTemplatesStoredAsWorkbook",dm:"存储为工作簿的分析模版"})},m.createElement(f.Button,{type:"primary"},C({id:"advance.components.AnalysisHistory.TemplateModal.Save",dm:"保存"}))));return m.createElement(f.Modal,{title:C({id:"advance.components.AnalysisHistory.TemplateModal.PrecipitationAnalysisHistory",dm:"沉淀分析历史"}),width:"80%",open:r,maskClosable:!1,onCancel:b,footer:[m.createElement(f.Tooltip,{title:C({id:"advance.components.AnalysisHistory.TemplateModal.SaveAndCloseTheDialog",dm:"暂存并关闭对话框"})},m.createElement(f.Button,{style:{margin:"0 8px"},onClick:b},C({id:"advance.components.AnalysisHistory.TemplateModal.Close",dm:"关闭"}))),E]},(null==n?void 0:n.length)?m.createElement("div",{className:"gi-history-modal-wrapper"},m.createElement("div",{className:"gi-history-modal-timeline-wrapper"},m.createElement("h3",{className:"gi-history-modal-title"},C({id:"advance.components.AnalysisHistory.TemplateModal.OperationHistory",dm:"操作历史"})),m.createElement(f.Timeline,null,null==n?void 0:n.map(((e,t)=>{const{id:n,type:r,subType:o,statement:a,timestamp:s}=e,l=new Date(s),u=c.includes(n)?m.createElement(Mn,{style:{fontSize:"16px"},onClick:()=>v(n)}):m.createElement("a",{className:"gi-history-modal-timeline-dot-uncheck",style:{border:`2px solid ${fn[r]}`},onClick:()=>v(n),onMouseLeave:()=>y(!1)});return m.createElement(f.Timeline.Item,{color:fn[r],dot:0===t?m.createElement(f.Tooltip,{title:C({id:"advance.components.AnalysisHistory.TemplateModal.SelectRecordsOnTheTimeline",dm:"在时间轴上勾选记录,可加入分析链路模版中"}),placement:"topLeft",open:d},u):u},m.createElement("span",{className:"gi-analysis-history-statement"},mn[r]," (",o,"): ",a),m.createElement("span",{className:"gi-analysis-history-time"},l.toLocaleDateString()," ",l.toLocaleTimeString()),i[n]?m.createElement(f.Popover,{placement:"right",style:{width:"fit-content",height:"fit-content"},content:m.createElement("img",{src:i[n],style:{width:"300px"}})},m.createElement(un,{className:"gi-analysis-history-screenshot-icon",style:{marginTop:0}})):"")})))),m.createElement("div",{className:"gi-history-modal-graph-wrapper"},m.createElement("h3",{className:"gi-history-modal-title"},C({id:"advance.components.AnalysisHistory.TemplateModal.AnalysisLinkTemplate",dm:"分析链路模版"})),m.createElement("div",{className:"gi-history-modal-graph-area"},m.createElement(Ln,{graphData:h,urlMap:i,configuring:u,setConfiguring:e=>l((t=>{t.configuring=e}))}),m.createElement(Fn,{graphData:h,configuring:u,updateParameterize:(e,t,n)=>{l((r=>{var i;let o;null===(i=r.graphData.nodes)||void 0===i||i.forEach((r=>{r.id===e&&(o=JSON.parse(JSON.stringify(P(r))),n?o.parameterized[t]=`\${${t}}`:delete o.parameterized[t],r.parameterized=o.parameterized)})),o&&(r.configuring=o)}))},updateQueryParameterize:(e,t,n,r,i)=>{l((o=>{var a;let s;null===(a=o.graphData.nodes)||void 0===a||a.forEach((o=>{o.id===e&&(s=JSON.parse(JSON.stringify(P(o))),s.parameterized[t[0]]=s.parameterized[t[0]]||[],s.parameterized[t[0]].push({position:Object.assign(Object.assign({},n),{paths:[...t].splice(1)}),parameterName:r,parameterDescription:i,fieldName:t[0]}),o.parameterized=s.parameterized)})),s&&(o.configuring=s)}))},updateDescription:(e,t)=>{l((n=>{var r;null===(r=n.graphData.nodes)||void 0===r||r.forEach((n=>{n.id===e&&(n.description=t)}))}))}})))):m.createElement(f.Empty,{description:C({id:"advance.components.AnalysisHistory.TemplateModal.NoHistoryIsAvailablePlease",dm:"暂无历史记录,请先对图进行操作"})}))};var Bn=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){e.done?i(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))};const Un=(0,m.memo)((e=>{const{GISDK_ID:t,history:n,graph:r,services:i}=(0,p.useContext)(),{height:o,placement:a,saveTemplateServiceId:s="GI/SaveHistoryTemplateService",listTemplateServiceId:l="GI/ListHistoryTemplateService",removeTemplateServiceId:c="GI/RemoveHistoryTemplateService"}=e,[u,h]=Le({collapsed:!0,urlMap:{},modalOpened:!1,templates:[],templateDrawerVisible:!1,templateApplyTooltipVisible:!1}),d=p.utils.getService(i,l),m=p.utils.getService(i,s),y=p.utils.getService(i,c),{collapsed:v,urlMap:_,modalOpened:b,templates:E,templateDrawerVisible:T,templateApplyTooltipVisible:x}=u,S=document.getElementById(`${t}-container`);g().useEffect((()=>{A((e=>{e.length&&setTimeout((()=>{R(!0),setTimeout((()=>{R(!1)}),5e3)}),500)}))}),[]),g().useEffect((()=>{const e=null==n?void 0:n[n.length-1],t=r.toDataURL("image/jpeg","#fff");if(e){const{id:n,success:r}=e;if(!r)return;h((e=>{e.urlMap[n]=t}))}}),[n]);const A=e=>{d?Bn(void 0,void 0,void 0,(function*(){const t=yield d(),{success:n,data:r}=t;n?(h((e=>{e.templates=r})),null==e||e(r)):(h((e=>{e.templates=[]})),f.message.error(C({id:"advance.components.AnalysisHistory.Component.FailedToObtainTheAnalysis",dm:"分析历史模版列表获取失败"})))})):f.message.error(C({id:"advance.components.AnalysisHistory.Component.FailedToObtainTheTemplate",dm:"获取模版列表失败,无获取模版的服务"}))},R=e=>{h((t=>{t.templateApplyTooltipVisible=e}))},w=g().createElement(f.Popover,{title:C({id:"advance.components.AnalysisHistory.Component.ManageExistingTemplates",dm:"管理已有模版"}),trigger:"click",placement:"topRight",content:g().createElement("div",{style:{width:"200px"}},null==E?void 0:E.map((e=>{const{id:t,name:n,description:r}=e;return g().createElement(f.Row,{justify:"space-between"},g().createElement(f.Col,null,bn(r?`${n}(${r})`:n,30)),g().createElement(f.Col,null,g().createElement(f.Tooltip,{title:C({id:"advance.components.AnalysisHistory.Component.Delete",dm:"删除"}),placement:"right"},g().createElement(Oe.Z,{onClick:()=>((e,t,n)=>Bn(void 0,void 0,void 0,(function*(){if(!y)return void f.message.error(C({id:"advance.components.AnalysisHistory.Component.FailedToRemoveNoService",dm:"移除失败,无移除模版的服务"}));const r=yield y({ids:[e]});if(null==r?void 0:r.success){const e=n?`${t}(${n})`:t;f.message.success(C({id:"advance.components.AnalysisHistory.Component.HistoricalAnalysisLinkTemplateTitle",dm:"历史分析链路模版 {title} 删除成功"},{title:e})),A()}else f.message.error(C({id:"advance.components.AnalysisHistory.Component.FailedToDelete",dm:"删除失败"}))})))(t,n,r)}))))})))},g().createElement(Xt,{style:{color:"var(--text-color)"}})),L=$t(o,a,[0,0]),O=v?L.sheetbar:Object.assign(Object.assign({},L.sheetbar),{height:"300px"}),N=null==n?void 0:n[n.length-1],I=g().createElement("div",{style:Object.assign(Object.assign({},O),{display:"unset"}),className:"gi-history-footer"},g().createElement(f.Row,{justify:"space-between",style:{width:"100%"}},g().createElement(f.Col,{style:{display:"inline-flex"},span:16},v?g().createElement(g().Fragment,null,g().createElement(Zt.Z,{onClick:()=>{h((e=>{e.collapsed=!1}))},style:{marginRight:"8px",marginTop:"12px"}}),N?gn(N,_[N.id]):g().createElement("span",null,C({id:"advance.components.AnalysisHistory.Component.NoRecord",dm:"暂无记录"}))):g().createElement(g().Fragment,null,g().createElement(Qt.Z,{style:{marginTop:"14px"},onClick:()=>{h((e=>{e.collapsed=!0}))}}),g().createElement("span",{style:{marginLeft:"4px"}},C({id:"advance.components.AnalysisHistory.Component.HistoryList",dm:"历史记录列表"})))),g().createElement(f.Col,{span:7,offset:1,style:{textAlign:"right"}},g().createElement(f.Tooltip,{title:C({id:"advance.components.AnalysisHistory.Component.TheAnalysisTemplateIsDetected",dm:"⭐️检测到该项目存在分析模版,点击此处使用"}),open:v&&x},g().createElement("a",{onClick:()=>{R(!1),h((e=>{e.templateDrawerVisible=!0}))},onMouseLeave:()=>R(!1),style:{display:(null==E?void 0:E.length)?"inline-flex":"none"}},C({id:"advance.components.AnalysisHistory.Component.UseAnalysisTemplates",dm:"使用分析模版"}))),g().createElement(f.Tooltip,{title:(null==n?void 0:n.length)?"":C({id:"advance.components.AnalysisHistory.Component.NoHistoryPleaseAnalyzeThe",dm:"暂无历史,请先分析数据"})},g().createElement(f.Button,{type:"text",onClick:()=>{h((e=>{e.modalOpened=!0}))},disabled:!(null==n?void 0:n.length),style:{marginRight:"0 6px",color:(null==n?void 0:n.length)?"var(--primary-color)":"var(--text-color-secondary)"}},C({id:"advance.components.AnalysisHistory.Component.PrecipitationAnalysisHistory",dm:"沉淀分析历史"}))),w)),v?"":g().createElement("div",{className:"gi-history-footer-item-container"},((e,t={},n={})=>{if(!e)return[];const r=[];for(let i=e.length-1;i>=0;i--){const{id:o}=e[i];r.push(gn(e[i],t[o],n))}return r})(n,_)),g().createElement(Hn,{templates:E,open:b,urlMap:_,handleSave:(e,t,n)=>Bn(void 0,void 0,void 0,(function*(){m?(yield m(Object.assign(Object.assign({},e),{name:t,description:n}))).success?(f.message.success(C({id:"advance.components.AnalysisHistory.Component.TheHistoricalAnalysisLinkTemplate",dm:"历史分析链路模版 {name}({description}) 保存成功,您将可以右下方「使用分析模版」中使用"},{name:t,description:n})),A()):f.message.error(C({id:"advance.components.AnalysisHistory.Component.SaveFailed",dm:"保存失败"})):f.message.error(C({id:"advance.components.AnalysisHistory.Component.SaveFailedThereIsNo",dm:"保存失败,无保存模版的服务"}))})),handleClose:()=>{h((e=>{e.modalOpened=!1}))}}),g().createElement(In,{open:T,templates:E,urlMap:_,handleClose:()=>h((e=>{e.templateDrawerVisible=!1})),handleUpdateConfigure:(e,t,n)=>{e&&t&&h((r=>{r.templates.forEach((r=>{r.id===e&&r.nodes.forEach((e=>{e.id===t&&(e.configured=n)}))}))}))}}));return Rt().createPortal(I,S)})),jn={id:"AnalysisHistory",name:C({id:"advance.components.AnalysisHistory.info.AnalyzeHistoricalPrecipitation",dm:"分析历史沉淀"}),desc:C({id:"advance.components.AnalysisHistory.info.RecordsTheAnalysisHistoryAnd",dm:"记录分析历史,并可沉淀为模版"}),cover:"http://xxxx.jpg",category:"canvas-interaction",type:"AUTO",icon:"icon-time-circle",docs:"https://yuque.antfin.com/graphinsight/az1phr/gw5nwttkqc4h3ayg",services:["SaveHistoryTemplateService","ListHistoryTemplateService","RemoveHistoryTemplateService"]},Gn={info:jn,component:Un,registerMeta:e=>{const{services:t,engineId:n}=e,{options:r,defaultValue:i}=p.utils.getServiceOptionsByEngineId(t,jn.services[0],n),{options:o,defaultValue:a}=p.utils.getServiceOptionsByEngineId(t,jn.services[1],n),{options:s,defaultValue:l}=p.utils.getServiceOptionsByEngineId(t,jn.services[2],n);return{saveTemplateServiceId:{title:C({id:"advance.components.AnalysisHistory.registerMeta.SaveAnalysisHistoryTemplateService",dm:"保存分析历史模版服务"}),type:"string","x-decorator":"FormItem","x-component":"Select","x-component-props":{options:r},default:i},listTemplateServiceId:{title:C({id:"advance.components.AnalysisHistory.registerMeta.ReadAnalysisHistoryTemplateList",dm:"读取分析历史模版列表服务"}),type:"string","x-decorator":"FormItem","x-component":"Select","x-component-props":{options:o},default:a},removeTemplateServiceId:{title:C({id:"advance.components.AnalysisHistory.registerMeta.DeleteAnalysisHistoryTemplateService",dm:"删除分析历史模版服务"}),type:"string","x-decorator":"FormItem","x-component":"Select","x-component-props":{options:s},default:l},placement:{title:C({id:"advance.components.AnalysisHistory.registerMeta.PlacementOrientation",dm:"放置方位"}),type:"string","x-decorator":"FormItem","x-component":"Select","x-component-props":{options:[{value:"top",label:C({id:"advance.components.AnalysisHistory.registerMeta.Top",dm:"顶部"})},{value:"bottom",label:C({id:"advance.components.AnalysisHistory.registerMeta.Bottom",dm:"底部"})}]},default:"bottom"},height:{title:C({id:"advance.components.AnalysisHistory.registerMeta.HistoryBarHeight",dm:"历史栏高度"}),type:"number","x-decorator":"FormItem","x-component":"NumberPicker",default:40}}}};var Yn=u(8078),zn=u.n(Yn),$n=u(3050),Wn=u(3146),Vn=u(8535);function Kn(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,Vn.Z)(e,t)}function qn(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}const Xn=g().createContext(null);var Zn=function(e){return e.scrollTop},Qn="unmounted",Jn="exited",er="entering",tr="entered",nr="exiting",rr=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var i,o=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?o?(i=Jn,r.appearStatus=er):i=tr:i=t.unmountOnExit||t.mountOnEnter?Qn:Jn,r.state={status:i},r.nextCallback=null,r}Kn(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Qn?{status:Jn}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==er&&n!==tr&&(t=er):n!==er&&n!==tr||(t=nr)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===er){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:Rt().findDOMNode(this);n&&Zn(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Jn&&this.setState({status:Qn})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,i=this.props.nodeRef?[r]:[Rt().findDOMNode(this),r],o=i[0],a=i[1],s=this.getTimeouts(),l=r?s.appear:s.enter;e||n?(this.props.onEnter(o,a),this.safeSetState({status:er},(function(){t.props.onEntering(o,a),t.onTransitionEnd(l,(function(){t.safeSetState({status:tr},(function(){t.props.onEntered(o,a)}))}))}))):this.safeSetState({status:tr},(function(){t.props.onEntered(o)}))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:Rt().findDOMNode(this);t?(this.props.onExit(r),this.safeSetState({status:nr},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:Jn},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:Jn},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:Rt().findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],o=i[0],a=i[1];this.props.addEndListener(o,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===Qn)return null;var t=this.props,n=t.children,r=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,Wn.Z)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return g().createElement(Xn.Provider,{value:null},"function"==typeof n?n(e,r):g().cloneElement(g().Children.only(n),r))},t}(g().Component);function ir(){}rr.contextType=Xn,rr.propTypes={},rr.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:ir,onEntering:ir,onEntered:ir,onExit:ir,onExiting:ir,onExited:ir},rr.UNMOUNTED=Qn,rr.EXITED=Jn,rr.ENTERING=er,rr.ENTERED=tr,rr.EXITING=nr;const or=rr;var ar=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.remove(r):"string"==typeof n.className?n.className=qn(n.className,r):n.setAttribute("class",qn(n.className&&n.className.baseVal||"",r)));var n,r}))},sr=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i{const{onInput:t,clearMessages:n}=(0,m.useContext)(dr),{loading:r,setLoading:i}=(0,m.useContext)(dr),{defaultValue:o=""}=e,[a,s]=(0,m.useState)(o),l=g().createElement(cr.Z,{style:{fontSize:24},spin:!0});return g().createElement("div",{className:"input-container"},g().createElement(f.Spin,{indicator:l,spinning:r},g().createElement(f.Input.TextArea,{autoSize:!0,placeholder:C({id:"advance.Assistant.Dialog.input.AiAssistantServesYou",dm:"AI 助理为您服务"}),value:a,onKeyDown:e=>{if("Enter"===e.key&&!e.shiftKey){const n=a.trim();if(e.preventDefault(),n){if(!t)return;null==i||i(!0),t(n).then((e=>{e&&s(""),null==i||i(!1)}))}}},style:{maxHeight:"60vh"},onChange:e=>s(e.target.value)})),g().createElement(f.Tooltip,{title:C({id:"advance.Assistant.Dialog.input.NewConversation",dm:"新对话"}),mouseEnterDelay:1},g().createElement(pr,{className:"new-dialog",onClick:n})))};var mr=u(4853);function gr(e){return e&&"object"==typeof e?"position"in e||"type"in e?vr(e.position):"start"in e||"end"in e?vr(e):"line"in e||"column"in e?yr(e):"":""}function yr(e){return _r(e&&e.line)+":"+_r(e&&e.column)}function vr(e){return yr(e&&e.start)+"-"+yr(e&&e.end)}function _r(e){return e&&"number"==typeof e?e:1}class br extends Error{constructor(e,t,n){const r=[null,null];let i={start:{line:null,column:null},end:{line:null,column:null}};if(super(),"string"==typeof t&&(n=t,t=void 0),"string"==typeof n){const e=n.indexOf(":");-1===e?r[1]=n:(r[0]=n.slice(0,e),r[1]=n.slice(e+1))}t&&("type"in t||"position"in t?t.position&&(i=t.position):"start"in t||"end"in t?i=t:("line"in t||"column"in t)&&(i.start=t)),this.name=gr(t)||"1:1",this.message="object"==typeof e?e.message:e,this.stack="","object"==typeof e&&e.stack&&(this.stack=e.stack),this.reason=this.message,this.fatal,this.line=i.start.line,this.column=i.start.column,this.position=i,this.source=r[0],this.ruleId=r[1],this.file,this.actual,this.expected,this.url,this.note}}br.prototype.file="",br.prototype.name="",br.prototype.reason="",br.prototype.message="",br.prototype.stack="",br.prototype.fatal=null,br.prototype.column=null,br.prototype.line=null,br.prototype.source=null,br.prototype.ruleId=null,br.prototype.position=null;const Er=function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');Ar(e);let n,r=0,i=-1,o=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;o--;)if(47===e.charCodeAt(o)){if(n){r=o+1;break}}else i<0&&(n=!0,i=o+1);return i<0?"":e.slice(r,i)}if(t===e)return"";let a=-1,s=t.length-1;for(;o--;)if(47===e.charCodeAt(o)){if(n){r=o+1;break}}else a<0&&(n=!0,a=o+1),s>-1&&(e.charCodeAt(o)===t.charCodeAt(s--)?s<0&&(i=o):(s=-1,i=a));return r===i?i=a:i<0&&(i=e.length),e.slice(r,i)},Tr=function(e){if(Ar(e),0===e.length)return".";let t,n=-1,r=e.length;for(;--r;)if(47===e.charCodeAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.charCodeAt(0)?"/":".":1===n&&47===e.charCodeAt(0)?"//":e.slice(0,n)},xr=function(e){Ar(e);let t,n=e.length,r=-1,i=0,o=-1,a=0;for(;n--;){const s=e.charCodeAt(n);if(47!==s)r<0&&(t=!0,r=n+1),46===s?o<0?o=n:1!==a&&(a=1):o>-1&&(a=-1);else if(t){i=n+1;break}}return o<0||r<0||0===a||1===a&&o===r-1&&o===i+1?"":e.slice(o,r)},Sr=function(...e){let t,n=-1;for(;++n2){if(r=i.lastIndexOf("/"),r!==i.length-1){r<0?(i="",o=0):(i=i.slice(0,r),o=i.length-1-i.lastIndexOf("/")),a=l,s=0;continue}}else if(i.length>0){i="",o=0,a=l,s=0;continue}t&&(i=i.length>0?i+"/..":"..",o=2)}else i.length>0?i+="/"+e.slice(a+1,l):i=e.slice(a+1,l),o=l-a-1;a=l,s=0}else 46===n&&s>-1?s++:s=-1}return i}(e,!t);return 0!==n.length||t||(n="."),n.length>0&&47===e.charCodeAt(e.length-1)&&(n+="/"),t?"/"+n:n}(t)},Cr="/";function Ar(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Rr=function(){return"/"};function wr(e){return null!==e&&"object"==typeof e&&e.href&&e.origin}const Lr=["history","path","basename","stem","extname","dirname"];class Or{constructor(e){let t;t=e?"string"==typeof e||function(e){return mr(e)}(e)?{value:e}:wr(e)?{path:e}:e:{},this.data={},this.messages=[],this.history=[],this.cwd=Rr(),this.value,this.stored,this.result,this.map;let n,r=-1;for(;++rt.length;let a;o&&t.push(r);try{a=e.apply(this,t)}catch(e){if(o&&n)throw e;return r(e)}o||(a instanceof Promise?a.then(i,r):a instanceof Error?r(a):i(a))};function r(e,...r){n||(n=!0,t(e,...r))}function i(e){r(null,e)}}(s,i)(...a):r(null,...a)}}(null,...t)},use:function(n){if("function"!=typeof n)throw new TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}(),n=[];let r,i={},o=-1;return a.data=function(e,t){return"string"==typeof e?2===arguments.length?(Gr("data",r),i[e]=t,a):Hr.call(i,e)&&i[e]||null:e?(Gr("data",r),i=e,a):i},a.Parser=void 0,a.Compiler=void 0,a.freeze=function(){if(r)return a;for(;++o{if(!e&&t&&n){const r=a.stringify(t,n);null==r||(function(e){return"string"==typeof e||mr(e)}(r)?n.value=r:n.result=r),o(e,n)}else o(e)}))}n(null,t)},a.processSync=function(e){let t;a.freeze(),Ur("processSync",a.Parser),jr("processSync",a.Compiler);const n=$r(e);return a.process(n,(function(e){t=!0,Dr(e)})),zr("processSync","process",t),n},a;function a(){const t=e();let r=-1;for(;++ri?0:i+t:t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);a0?(qr(e,e.length,0,t),e):t}const Zr={}.hasOwnProperty;function Qr(e){const t={};let n=-1;for(;++no))return;const n=t.events.length;let i,s,l=n;for(;l--;)if("exit"===t.events[l][0]&&"chunkFlow"===t.events[l][1].type){if(i){s=t.events[l][1].end;break}i=!0}for(y(a),e=n;er;){const r=n[i];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function v(){r.write([null]),i=void 0,r=void 0,t.containerState._closeFlow=void 0}}},yi={tokenize:function(e,t,n){return fi(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},vi={tokenize:function(e,t,n){return function(t){return ui(t)?fi(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||li(e)?t(e):n(e)}},partial:!0};function _i(e){const t={};let n,r,i,o,a,s,l,c=-1;for(;++c=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}},partial:!0},xi={tokenize:function(e){const t=this,n=e.attempt(vi,(function(r){if(null!==r)return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n;e.consume(r)}),e.attempt(this.parser.constructs.flowInitial,r,fi(e,e.attempt(this.parser.constructs.flow,r,e.attempt(Ei,r)),"linePrefix")));return n;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}}},Si={resolveAll:wi()},Ci=Ri("string"),Ai=Ri("text");function Ri(e){return{tokenize:function(t){const n=this,r=this.parser.constructs[e],i=t.attempt(r,o,a);return o;function o(e){return l(e)?i(e):a(e)}function a(e){if(null!==e)return t.enter("data"),t.consume(e),s;t.consume(e)}function s(e){return l(e)?(t.exit("data"),i(e)):(t.consume(e),s)}function l(e){if(null===e)return!0;const t=r[e];let i=-1;if(t)for(;++i-1){const e=a[0];"string"==typeof e?a[0]=e.slice(r):a.shift()}o>0&&a.push(e[i].slice(0,o))}return a}(a,e)}function f(){const{line:e,column:t,offset:n,_index:i,_bufferIndex:o}=r;return{line:e,column:t,offset:n,_index:i,_bufferIndex:o}}function m(e){l=void 0,h=e,p=p(e)}function g(e,t){t.restore()}function y(e,t){return function(n,i,o){let a,h,p,d;return Array.isArray(n)?m(n):"tokenize"in n?m([n]):function(e){return function(t){const n=null!==t&&e[t],r=null!==t&&e.null;return m([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(r)?r:r?[r]:[]])(t)}}(n);function m(e){return a=e,h=0,0===e.length?o:g(e[h])}function g(e){return function(n){return d=function(){const e=f(),t=u.previous,n=u.currentConstruct,i=u.events.length,o=Array.from(s);return{restore:function(){r=e,u.previous=t,u.currentConstruct=n,u.events.length=i,s=o,_()},from:i}}(),p=e,e.partial||(u.currentConstruct=e),e.name&&u.parser.constructs.disable.null.includes(e.name)?v():e.tokenize.call(t?Object.assign(Object.create(u),t):u,c,y,v)(n)}}function y(t){return l=!0,e(p,d),i}function v(e){return l=!0,d.restore(),++h=3&&(null===o||li(o))?(e.exit("thematicBreak"),t(o)):n(o)}function a(t){return t===r?(e.consume(t),i++,a):(e.exit("thematicBreakSequence"),ui(t)?fi(e,o,"whitespace")(t):o(t))}}},ki={name:"list",tokenize:function(e,t,n){const r=this,i=r.events[r.events.length-1];let o=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,a=0;return function(t){const i=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||t===r.containerState.marker:oi(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===t||45===t?e.check(Ii,n,l)(t):l(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),s(t)}return n(t)};function s(t){return oi(t)&&++a<10?(e.consume(t),s):(!r.interrupt||a<2)&&(r.containerState.marker?t===r.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),l(t)):n(t)}function l(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(vi,r.interrupt?n:c,e.attempt(Di,h,u))}function c(e){return r.containerState.initialBlankLine=!0,o++,h(e)}function u(t){return ui(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),h):n(t)}function h(n){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}},continuation:{tokenize:function(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(vi,(function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,fi(e,t,"listItemIndent",r.containerState.size+1)(n)}),(function(n){return r.containerState.furtherBlankLines||!ui(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,i(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Pi,t,i)(n))}));function i(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,fi(e,e.attempt(ki,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)}},Di={tokenize:function(e,t,n){const r=this;return fi(e,(function(e){const i=r.events[r.events.length-1];return!ui(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):n(e)}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},Pi={tokenize:function(e,t,n){const r=this;return fi(e,(function(e){const i=r.events[r.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)}),"listItemIndent",r.containerState.size+1)},partial:!0},Mi={name:"blockQuote",tokenize:function(e,t,n){const r=this;return function(t){if(62===t){const n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),i}return n(t)};function i(n){return ui(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}},continuation:{tokenize:function(e,t,n){const r=this;return function(t){return ui(t)?fi(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):i(t)};function i(r){return e.attempt(Mi,t,n)(r)}}},exit:function(e){e.exit("blockQuote")}};function Fi(e,t,n,r,i,o,a,s,l){const c=l||Number.POSITIVE_INFINITY;let u=0;return function(t){return 60===t?(e.enter(r),e.enter(i),e.enter(o),e.consume(t),e.exit(o),h):null===t||32===t||41===t||ii(t)?n(t):(e.enter(r),e.enter(a),e.enter(s),e.enter("chunkString",{contentType:"string"}),f(t))};function h(n){return 62===n?(e.enter(o),e.consume(n),e.exit(o),e.exit(i),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),p(n))}function p(t){return 62===t?(e.exit("chunkString"),e.exit(s),h(t)):null===t||60===t||li(t)?n(t):(e.consume(t),92===t?d:p)}function d(t){return 60===t||62===t||92===t?(e.consume(t),p):p(t)}function f(i){return u||null!==i&&41!==i&&!ci(i)?u999||null===h||91===h||93===h&&!s||94===h&&!l&&"_hiddenFootnoteSupport"in a.parser.constructs?n(h):93===h?(e.exit(o),e.enter(i),e.consume(h),e.exit(i),e.exit(r),t):li(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),u(h))}function u(t){return null===t||91===t||93===t||li(t)||l++>999?(e.exit("chunkString"),c(t)):(e.consume(t),s||(s=!ui(t)),92===t?h:u)}function h(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}}function Bi(e,t,n,r,i,o){let a;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(i),e.consume(t),e.exit(i),a=40===t?41:t,s):n(t)};function s(n){return n===a?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(o),l(n))}function l(t){return t===a?(e.exit(o),s(a)):null===t?n(t):li(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),fi(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(t))}function c(t){return t===a||null===t||li(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?u:c)}function u(t){return t===a||92===t?(e.consume(t),c):c(t)}}function Ui(e,t){let n;return function r(i){return li(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):ui(i)?fi(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}function ji(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Gi={name:"definition",tokenize:function(e,t,n){const r=this;let i;return function(t){return e.enter("definition"),function(t){return Hi.call(r,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)}(t)};function o(t){return i=ji(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),a):n(t)}function a(t){return ci(t)?Ui(e,s)(t):s(t)}function s(t){return Fi(e,l,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function l(t){return e.attempt(Yi,c,c)(t)}function c(t){return ui(t)?fi(e,u,"whitespace")(t):u(t)}function u(o){return null===o||li(o)?(e.exit("definition"),r.parser.defined.push(i),t(o)):n(o)}}},Yi={tokenize:function(e,t,n){return function(t){return ci(t)?Ui(e,r)(t):n(t)};function r(t){return Bi(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function i(t){return ui(t)?fi(e,o,"whitespace")(t):o(t)}function o(e){return null===e||li(e)?t(e):n(e)}},partial:!0},zi={name:"codeIndented",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("codeIndented"),fi(e,i,"linePrefix",5)(t)};function i(e){const t=r.events[r.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?o(e):n(e)}function o(t){return null===t?s(t):li(t)?e.attempt($i,o,s)(t):(e.enter("codeFlowValue"),a(t))}function a(t){return null===t||li(t)?(e.exit("codeFlowValue"),o(t)):(e.consume(t),a)}function s(n){return e.exit("codeIndented"),t(n)}}},$i={tokenize:function(e,t,n){const r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):li(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):fi(e,o,"linePrefix",5)(t)}function o(e){const o=r.events[r.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(e):li(e)?i(e):n(e)}},partial:!0},Wi={name:"headingAtx",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("atxHeading"),function(t){return e.enter("atxHeadingSequence"),i(t)}(t)};function i(t){return 35===t&&r++<6?(e.consume(t),i):null===t||ci(t)?(e.exit("atxHeadingSequence"),o(t)):n(t)}function o(n){return 35===n?(e.enter("atxHeadingSequence"),a(n)):null===n||li(n)?(e.exit("atxHeading"),t(n)):ui(n)?fi(e,o,"whitespace")(n):(e.enter("atxHeadingText"),s(n))}function a(t){return 35===t?(e.consume(t),a):(e.exit("atxHeadingSequence"),o(t))}function s(t){return null===t||35===t||ci(t)?(e.exit("atxHeadingText"),o(t)):(e.consume(t),s)}},resolve:function(e,t){let n,r,i=e.length-2,o=3;return"whitespace"===e[o][1].type&&(o+=2),i-2>o&&"whitespace"===e[i][1].type&&(i-=2),"atxHeadingSequence"===e[i][1].type&&(o===i-1||i-4>o&&"whitespace"===e[i-2][1].type)&&(i-=o+1===i?2:4),i>o&&(n={type:"atxHeadingText",start:e[o][1].start,end:e[i][1].end},r={type:"chunkText",start:e[o][1].start,end:e[i][1].end,contentType:"text"},qr(e,o,i-o+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e}},Vi={name:"setextUnderline",tokenize:function(e,t,n){const r=this;let i;return function(t){let a,s=r.events.length;for(;s--;)if("lineEnding"!==r.events[s][1].type&&"linePrefix"!==r.events[s][1].type&&"content"!==r.events[s][1].type){a="paragraph"===r.events[s][1].type;break}return r.parser.lazy[r.now().line]||!r.interrupt&&!a?n(t):(e.enter("setextHeadingLine"),i=t,function(t){return e.enter("setextHeadingLineSequence"),o(t)}(t))};function o(t){return t===i?(e.consume(t),o):(e.exit("setextHeadingLineSequence"),ui(t)?fi(e,a,"lineSuffix")(t):a(t))}function a(r){return null===r||li(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}},resolveTo:function(e,t){let n,r,i,o=e.length;for(;o--;)if("enter"===e[o][0]){if("content"===e[o][1].type){n=o;break}"paragraph"===e[o][1].type&&(r=o)}else"content"===e[o][1].type&&e.splice(o,1),i||"definition"!==e[o][1].type||(i=o);const a={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",a,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[i][1].end)):e[n][1]=a,e.push(["exit",a,t]),e}},Ki=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],qi=["pre","script","style","textarea"],Xi={name:"htmlFlow",tokenize:function(e,t,n){const r=this;let i,o,a,s,l;return function(t){return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),c}(t)};function c(s){return 33===s?(e.consume(s),u):47===s?(e.consume(s),o=!0,d):63===s?(e.consume(s),i=3,r.interrupt?t:D):ti(s)?(e.consume(s),a=String.fromCharCode(s),f):n(s)}function u(o){return 45===o?(e.consume(o),i=2,h):91===o?(e.consume(o),i=5,s=0,p):ti(o)?(e.consume(o),i=4,r.interrupt?t:D):n(o)}function h(i){return 45===i?(e.consume(i),r.interrupt?t:D):n(i)}function p(i){return i==="CDATA[".charCodeAt(s++)?(e.consume(i),6===s?r.interrupt?t:A:p):n(i)}function d(t){return ti(t)?(e.consume(t),a=String.fromCharCode(t),f):n(t)}function f(s){if(null===s||47===s||62===s||ci(s)){const l=47===s,c=a.toLowerCase();return l||o||!qi.includes(c)?Ki.includes(a.toLowerCase())?(i=6,l?(e.consume(s),m):r.interrupt?t(s):A(s)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(s):o?g(s):y(s)):(i=1,r.interrupt?t(s):A(s))}return 45===s||ni(s)?(e.consume(s),a+=String.fromCharCode(s),f):n(s)}function m(i){return 62===i?(e.consume(i),r.interrupt?t:A):n(i)}function g(t){return ui(t)?(e.consume(t),g):S(t)}function y(t){return 47===t?(e.consume(t),S):58===t||95===t||ti(t)?(e.consume(t),v):ui(t)?(e.consume(t),y):S(t)}function v(t){return 45===t||46===t||58===t||95===t||ni(t)?(e.consume(t),v):_(t)}function _(t){return 61===t?(e.consume(t),b):ui(t)?(e.consume(t),_):y(t)}function b(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),l=t,E):ui(t)?(e.consume(t),b):T(t)}function E(t){return t===l?(e.consume(t),l=null,x):null===t||li(t)?n(t):(e.consume(t),E)}function T(t){return null===t||34===t||39===t||47===t||60===t||61===t||62===t||96===t||ci(t)?_(t):(e.consume(t),T)}function x(e){return 47===e||62===e||ui(e)?y(e):n(e)}function S(t){return 62===t?(e.consume(t),C):n(t)}function C(t){return null===t||li(t)?A(t):ui(t)?(e.consume(t),C):n(t)}function A(t){return 45===t&&2===i?(e.consume(t),O):60===t&&1===i?(e.consume(t),N):62===t&&4===i?(e.consume(t),P):63===t&&3===i?(e.consume(t),D):93===t&&5===i?(e.consume(t),k):!li(t)||6!==i&&7!==i?null===t||li(t)?(e.exit("htmlFlowData"),R(t)):(e.consume(t),A):(e.exit("htmlFlowData"),e.check(Zi,M,R)(t))}function R(t){return e.check(Qi,w,M)(t)}function w(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),L}function L(t){return null===t||li(t)?R(t):(e.enter("htmlFlowData"),A(t))}function O(t){return 45===t?(e.consume(t),D):A(t)}function N(t){return 47===t?(e.consume(t),a="",I):A(t)}function I(t){if(62===t){const n=a.toLowerCase();return qi.includes(n)?(e.consume(t),P):A(t)}return ti(t)&&a.length<8?(e.consume(t),a+=String.fromCharCode(t),I):A(t)}function k(t){return 93===t?(e.consume(t),D):A(t)}function D(t){return 62===t?(e.consume(t),P):45===t&&2===i?(e.consume(t),D):A(t)}function P(t){return null===t||li(t)?(e.exit("htmlFlowData"),M(t)):(e.consume(t),P)}function M(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},concrete:!0},Zi={tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(vi,t,n)}},partial:!0},Qi={tokenize:function(e,t,n){const r=this;return function(t){return li(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):n(t)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},Ji={tokenize:function(e,t,n){const r=this;return function(t){return null===t?n(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},eo={name:"codeFenced",tokenize:function(e,t,n){const r=this,i={tokenize:function(e,t,n){let i=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a};function a(t){return e.enter("codeFencedFence"),ui(t)?fi(e,l,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):l(t)}function l(t){return t===o?(e.enter("codeFencedFenceSequence"),c(t)):n(t)}function c(t){return t===o?(i++,e.consume(t),c):i>=s?(e.exit("codeFencedFenceSequence"),ui(t)?fi(e,u,"whitespace")(t):u(t)):n(t)}function u(r){return null===r||li(r)?(e.exit("codeFencedFence"),t(r)):n(r)}},partial:!0};let o,a=0,s=0;return function(t){return function(t){const n=r.events[r.events.length-1];return a=n&&"linePrefix"===n[1].type?n[2].sliceSerialize(n[1],!0).length:0,o=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),l(t)}(t)};function l(t){return t===o?(s++,e.consume(t),l):s<3?n(t):(e.exit("codeFencedFenceSequence"),ui(t)?fi(e,c,"whitespace")(t):c(t))}function c(n){return null===n||li(n)?(e.exit("codeFencedFence"),r.interrupt?t(n):e.check(Ji,d,v)(n)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),u(n))}function u(t){return null===t||li(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),c(t)):ui(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),fi(e,h,"whitespace")(t)):96===t&&t===o?n(t):(e.consume(t),u)}function h(t){return null===t||li(t)?c(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),p(t))}function p(t){return null===t||li(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),c(t)):96===t&&t===o?n(t):(e.consume(t),p)}function d(t){return e.attempt(i,v,f)(t)}function f(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),m}function m(t){return a>0&&ui(t)?fi(e,g,"linePrefix",a+1)(t):g(t)}function g(t){return null===t||li(t)?e.check(Ji,d,v)(t):(e.enter("codeFlowValue"),y(t))}function y(t){return null===t||li(t)?(e.exit("codeFlowValue"),g(t)):(e.consume(t),y)}function v(n){return e.exit("codeFenced"),t(n)}},concrete:!0},to=document.createElement("i");function no(e){const t="&"+e+";";to.innerHTML=t;const n=to.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}const ro={name:"characterReference",tokenize:function(e,t,n){const r=this;let i,o,a=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),s};function s(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),i=31,o=ni,c(t))}function l(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,o=ai,c):(e.enter("characterReferenceValue"),i=7,o=oi,c(t))}function c(s){if(59===s&&a){const i=e.exit("characterReferenceValue");return o!==ni||no(r.sliceSerialize(i))?(e.enter("characterReferenceMarker"),e.consume(s),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(s)}return o(s)&&a++1&&e[u][1].end.offset-e[u][1].start.offset>1?2:1;const h=Object.assign({},e[n][1].end),p=Object.assign({},e[u][1].start);fo(h,-s),fo(p,s),o={type:s>1?"strongSequence":"emphasisSequence",start:h,end:Object.assign({},e[n][1].end)},a={type:s>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[u][1].start),end:p},i={type:s>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[u][1].start)},r={type:s>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},a.end)},e[n][1].end=Object.assign({},o.start),e[u][1].start=Object.assign({},a.end),l=[],e[n][1].end.offset-e[n][1].start.offset&&(l=Xr(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=Xr(l,[["enter",r,t],["enter",o,t],["exit",o,t],["enter",i,t]]),l=Xr(l,Oi(t.parser.constructs.insideSpan.null,e.slice(n+1,u),t)),l=Xr(l,[["exit",i,t],["enter",a,t],["exit",a,t],["exit",r,t]]),e[u][1].end.offset-e[u][1].start.offset?(c=2,l=Xr(l,[["enter",e[u][1],t],["exit",e[u][1],t]])):c=0,qr(e,n-1,u-n+3,l),u=n+l.length-c-2;break}for(u=-1;++u13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||65535==(65535&n)||65534==(65535&n)||n>1114111?"�":String.fromCharCode(n)}const No=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Io(e){return e.replace(No,ko)}function ko(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){const e=n.charCodeAt(1),t=120===e||88===e;return Oo(n.slice(t?2:1),t?16:10)}return no(n)||e}const Do={}.hasOwnProperty,Po=function(t,n,r){return"string"!=typeof n&&(r=n,n=void 0),function(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(b),autolinkProtocol:p,autolinkEmail:p,atxHeading:a(y),blockQuote:a((function(){return{type:"blockquote",children:[]}})),characterEscape:p,characterReference:p,codeFenced:a(g),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:a(g,s),codeText:a((function(){return{type:"inlineCode",value:""}}),s),codeTextData:p,data:p,codeFlowValue:p,definition:a((function(){return{type:"definition",identifier:"",label:null,title:null,url:""}})),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:a((function(){return{type:"emphasis",children:[]}})),hardBreakEscape:a(v),hardBreakTrailing:a(v),htmlFlow:a(_,s),htmlFlowData:p,htmlText:a(_,s),htmlTextData:p,image:a((function(){return{type:"image",title:null,url:"",alt:null}})),label:s,link:a(b),listItem:a((function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}})),listItemValue:function(e){o("expectingFirstListItemValue")&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),i("expectingFirstListItemValue"))},listOrdered:a(E,(function(){i("expectingFirstListItemValue",!0)})),listUnordered:a(E),paragraph:a((function(){return{type:"paragraph",children:[]}})),reference:function(){i("referenceType","collapsed")},referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:a(y),strong:a((function(){return{type:"strong",children:[]}})),thematicBreak:a((function(){return{type:"thematicBreak"}}))},exit:{atxHeading:c(),atxHeadingSequence:function(e){const t=this.stack[this.stack.length-1];if(!t.depth){const n=this.sliceSerialize(e).length;t.depth=n}},autolink:c(),autolinkEmail:function(e){d.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){d.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:c(),characterEscapeValue:d,characterReferenceMarkerHexadecimal:m,characterReferenceMarkerNumeric:m,characterReferenceValue:function(e){const t=this.sliceSerialize(e),n=o("characterReferenceType");let r;n?(r=Oo(t,"characterReferenceMarkerNumeric"===n?10:16),i("characterReferenceType")):r=no(t);const a=this.stack.pop();a.value+=r,a.position.end=Mo(e.end)},codeFenced:c((function(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),i("flowCodeInside")})),codeFencedFence:function(){o("flowCodeInside")||(this.buffer(),i("flowCodeInside",!0))},codeFencedFenceInfo:function(){const e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){const e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:d,codeIndented:c((function(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")})),codeText:c((function(){const e=this.resume();this.stack[this.stack.length-1].value=e})),codeTextData:d,data:d,definition:c(),definitionDestinationString:function(){const e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=ji(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){const e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:c(),hardBreakEscape:c(f),hardBreakTrailing:c(f),htmlFlow:c((function(){const e=this.resume();this.stack[this.stack.length-1].value=e})),htmlFlowData:d,htmlText:c((function(){const e=this.resume();this.stack[this.stack.length-1].value=e})),htmlTextData:d,image:c((function(){const e=this.stack[this.stack.length-1];if(o("inReference")){const t=o("referenceType")||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;i("referenceType")})),label:function(){const e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];if(i("inReference",!0),"link"===n.type){const t=e.children;n.children=t}else n.alt=t},labelText:function(e){const t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=Io(t),n.identifier=ji(t).toLowerCase()},lineEnding:function(e){const n=this.stack[this.stack.length-1];if(o("atHardBreak"))return n.children[n.children.length-1].position.end=Mo(e.end),void i("atHardBreak");!o("setextHeadingSlurpLineEnding")&&t.canContainEols.includes(n.type)&&(p.call(this,e),d.call(this,e))},link:c((function(){const e=this.stack[this.stack.length-1];if(o("inReference")){const t=o("referenceType")||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;i("referenceType")})),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:function(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=ji(this.sliceSerialize(e)).toLowerCase(),i("referenceType","full")},resourceDestinationString:function(){const e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){const e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){i("inReference")},setextHeading:c((function(){i("setextHeadingSlurpLineEnding")})),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).charCodeAt(0)?1:2},setextHeadingText:function(){i("setextHeadingSlurpLineEnding",!0)},strong:c(),thematicBreak:c()}};Fo(t,(e||{}).mdastExtensions||[]);const n={};return function(e){let n={type:"root",children:[]};const a={stack:[n],tokenStack:[],config:t,enter:l,exit:u,buffer:s,resume:h,setData:i,getData:o},c=[];let p=-1;for(;++p0){const e=a.tokenStack[a.tokenStack.length-1];(e[1]||Bo).call(a,void 0,e[0])}for(n.position={start:Mo(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:Mo(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},p=-1;++p{const n=this.data("settings");return Po(t,Object.assign({},n,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}function jo(e){const t=[];let n=-1,r=0,i=0;for(;++n55295&&o<57344){const t=e.charCodeAt(n+1);o<56320&&t>56319&&t<57344?(a=String.fromCharCode(o,t),i=1):a="�"}else a=String.fromCharCode(o);a&&(t.push(e.slice(r,n),encodeURIComponent(a)),r=n+i+1,a=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}const Go=function(e){if(null==e)return zo;if("string"==typeof e)return t=e,Yo((function(e){return e&&e.type===t}));var t;if("object"==typeof e)return Array.isArray(e)?function(e){const t=[];let n=-1;for(;++n":"")+")"})}return u;function u(){let c,u,h,p=[];if((!t||i(a,s,l[l.length-1]||null))&&(p=function(e){return Array.isArray(e)?e:"number"==typeof e?[!0,e]:[e]}(n(a,l)),p[0]===$o))return p;if(a.children&&p[0]!==Wo)for(u=(r?a.children.length:-1)+o,h=l.concat(a);u>-1&&u-1?n.offset:null}}}const Qo={}.hasOwnProperty;function Jo(e){return String(e||"").toUpperCase()}function ea(e,t){const n=String(t.identifier).toUpperCase(),r=jo(n.toLowerCase()),i=e.footnoteOrder.indexOf(n);let o;-1===i?(e.footnoteOrder.push(n),e.footnoteCounts[n]=1,o=e.footnoteOrder.length):(e.footnoteCounts[n]++,o=i+1);const a=e.footnoteCounts[n],s={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fn-"+r,id:e.clobberPrefix+"fnref-"+r+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(t,s);const l={type:"element",tagName:"sup",properties:{},children:[s]};return e.patch(t,l),e.applyData(t,l)}function ta(e,t){const n=t.referenceType;let r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return{type:"text",value:"!["+t.alt+r};const i=e.all(t),o=i[0];o&&"text"===o.type?o.value="["+o.value:i.unshift({type:"text",value:"["});const a=i[i.length-1];return a&&"text"===a.type?a.value+=r:i.push({type:"text",value:r}),i}function na(e){const t=e.spread;return null==t?e.children.length>1:t}const ra=9,ia=32;function oa(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),i=0;const o=[];for(;r;)o.push(aa(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return o.push(aa(t.slice(i),i>0,!1)),o.join("")}function aa(e,t,n){let r=0,i=e.length;if(t){let t=e.codePointAt(r);for(;t===ra||t===ia;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(i-1);for(;t===ra||t===ia;)i--,t=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}const sa={blockquote:function(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){const n=t.value?t.value+"\n":"",r=t.lang?t.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,i={};r&&(i.className=["language-"+r]);let o={type:"element",tagName:"code",properties:i,children:[{type:"text",value:n}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o=e.applyData(t,o),o={type:"element",tagName:"pre",properties:{},children:[o]},e.patch(t,o),o},delete:function(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:ea,footnote:function(e,t){const n=e.footnoteById;let r=1;for(;r in n;)r++;const i=String(r);return n[i]={type:"footnoteDefinition",identifier:i,children:[{type:"paragraph",children:t.children}],position:t.position},ea(e,{type:"footnoteReference",identifier:i,position:t.position})},heading:function(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.dangerous){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}return null},imageReference:function(e,t){const n=e.definition(t.identifier);if(!n)return ta(e,t);const r={src:jo(n.url||""),alt:t.alt};null!==n.title&&void 0!==n.title&&(r.title=n.title);const i={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,i),e.applyData(t,i)},image:function(e,t){const n={src:jo(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){const n=e.definition(t.identifier);if(!n)return ta(e,t);const r={href:jo(n.url||"")};null!==n.title&&void 0!==n.title&&(r.title=n.title);const i={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)},link:function(e,t){const n={href:jo(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){const r=e.all(t),i=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r0&&n.children.unshift({type:"text",value:" "}),n.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let s=-1;for(;++s0){const r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},o=qo(t.children[1]),a=Xo(t.children[t.children.length-1]);o.line&&a.line&&(r.position={start:o,end:a}),i.push(r)}const o={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,o),e.applyData(t,o)},tableCell:function(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){const r=n?n.children:void 0,i=0===(r?r.indexOf(t):1)?"th":"td",o=n&&"table"===n.type?n.align:void 0,a=o?o.length:t.children.length;let s=-1;const l=[];for(;++s0&&n.push({type:"text",value:"\n"}),n}function ma(e,t){const n=function(e,t){const n=t||{},r=n.allowDangerousHtml||!1,i={};return a.dangerous=r,a.clobberPrefix=void 0===n.clobberPrefix||null===n.clobberPrefix?"user-content-":n.clobberPrefix,a.footnoteLabel=n.footnoteLabel||"Footnotes",a.footnoteLabelTagName=n.footnoteLabelTagName||"h2",a.footnoteLabelProperties=n.footnoteLabelProperties||{className:["sr-only"]},a.footnoteBackLabel=n.footnoteBackLabel||"Back to content",a.unknownHandler=n.unknownHandler,a.passThrough=n.passThrough,a.handlers={...sa,...n.handlers},a.definition=function(e){const t=Object.create(null);if(!e||!e.type)throw new Error("mdast-util-definitions expected node");return Ko(e,"definition",(e=>{const n=Jo(e.identifier);n&&!Qo.call(t,n)&&(t[n]=e)})),function(e){const n=Jo(e);return n&&Qo.call(t,n)?t[n]:null}}(e),a.footnoteById=i,a.footnoteOrder=[],a.footnoteCounts={},a.patch=ua,a.applyData=ha,a.one=function(e,t){return pa(a,e,t)},a.all=function(e){return da(a,e)},a.wrap=fa,a.augment=o,Ko(e,"footnoteDefinition",(e=>{const t=String(e.identifier).toUpperCase();ca.call(i,t)||(i[t]=e)})),a;function o(e,t){if(e&&"data"in e&&e.data){const n=e.data;n.hName&&("element"!==t.type&&(t={type:"element",tagName:"",properties:{},children:[]}),t.tagName=n.hName),"element"===t.type&&n.hProperties&&(t.properties={...t.properties,...n.hProperties}),"children"in t&&t.children&&n.hChildren&&(t.children=n.hChildren)}if(e){const r="type"in e?e:{position:e};!((n=r)&&n.position&&n.position.start&&n.position.start.line&&n.position.start.column&&n.position.end&&n.position.end.line&&n.position.end.column)||(t.position={start:qo(r),end:Xo(r)})}var n;return t}function a(e,t,n,r){return Array.isArray(n)&&(r=n,n={}),o(e,{type:"element",tagName:t,properties:n||{},children:r||[]})}}(e,t),r=n.one(e,null),i=function(e){const t=[];let n=-1;for(;++n1?"-"+s:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"↩"}]};s>1&&t.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(s)}]}),l.length>0&&l.push({type:"text",value:" "}),l.push(t)}const c=i[i.length-1];if(c&&"element"===c.type&&"p"===c.tagName){const e=c.children[c.children.length-1];e&&"text"===e.type?e.value+=" ":c.children.push({type:"text",value:" "}),c.children.push(...l)}else i.push(...l);const u={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+a},children:e.wrap(i,!0)};e.patch(r,u),t.push(u)}if(0!==t.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(e.footnoteLabelProperties)),id:"footnote-label"},children:[{type:"text",value:e.footnoteLabel}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(t,!0)},{type:"text",value:"\n"}]}}(n);return i&&r.children.push({type:"text",value:"\n"},i),Array.isArray(r)?{type:"root",children:r}:r}const ga=function(e,t){return e&&"run"in e?function(e,t){return(n,r,i)=>{e.run(ma(n,t),r,(e=>{i(e)}))}}(e,t):function(e){return t=>ma(t,e)}(e||t)};var ya=u(7862);class va{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}function _a(e,t){const n={},r={};let i=-1;for(;++i"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),Fa=Pa({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Ha(e,t){return t in e?e[t]:t}function Ba(e,t){return Ha(e,t.toLowerCase())}const Ua=Pa({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:Ba,properties:{xmlns:null,xmlnsXLink:null}}),ja=Pa({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:Sa,ariaAutoComplete:null,ariaBusy:Sa,ariaChecked:Sa,ariaColCount:Aa,ariaColIndex:Aa,ariaColSpan:Aa,ariaControls:Ra,ariaCurrent:null,ariaDescribedBy:Ra,ariaDetails:null,ariaDisabled:Sa,ariaDropEffect:Ra,ariaErrorMessage:null,ariaExpanded:Sa,ariaFlowTo:Ra,ariaGrabbed:Sa,ariaHasPopup:null,ariaHidden:Sa,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Ra,ariaLevel:Aa,ariaLive:null,ariaModal:Sa,ariaMultiLine:Sa,ariaMultiSelectable:Sa,ariaOrientation:null,ariaOwns:Ra,ariaPlaceholder:null,ariaPosInSet:Aa,ariaPressed:Sa,ariaReadOnly:Sa,ariaRelevant:null,ariaRequired:Sa,ariaRoleDescription:Ra,ariaRowCount:Aa,ariaRowIndex:Aa,ariaRowSpan:Aa,ariaSelected:Sa,ariaSetSize:Aa,ariaSort:null,ariaValueMax:Aa,ariaValueMin:Aa,ariaValueNow:Aa,ariaValueText:null,role:null}}),Ga=Pa({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:Ba,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:wa,acceptCharset:Ra,accessKey:Ra,action:null,allow:null,allowFullScreen:xa,allowPaymentRequest:xa,allowUserMedia:xa,alt:null,as:null,async:xa,autoCapitalize:null,autoComplete:Ra,autoFocus:xa,autoPlay:xa,capture:xa,charSet:null,checked:xa,cite:null,className:Ra,cols:Aa,colSpan:null,content:null,contentEditable:Sa,controls:xa,controlsList:Ra,coords:Aa|wa,crossOrigin:null,data:null,dateTime:null,decoding:null,default:xa,defer:xa,dir:null,dirName:null,disabled:xa,download:Ca,draggable:Sa,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:xa,formTarget:null,headers:Ra,height:Aa,hidden:xa,high:Aa,href:null,hrefLang:null,htmlFor:Ra,httpEquiv:Ra,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:xa,itemId:null,itemProp:Ra,itemRef:Ra,itemScope:xa,itemType:Ra,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:xa,low:Aa,manifest:null,max:null,maxLength:Aa,media:null,method:null,min:null,minLength:Aa,multiple:xa,muted:xa,name:null,nonce:null,noModule:xa,noValidate:xa,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:xa,optimum:Aa,pattern:null,ping:Ra,placeholder:null,playsInline:xa,poster:null,preload:null,readOnly:xa,referrerPolicy:null,rel:Ra,required:xa,reversed:xa,rows:Aa,rowSpan:Aa,sandbox:Ra,scope:null,scoped:xa,seamless:xa,selected:xa,shape:null,size:Aa,sizes:null,slot:null,span:Aa,spellCheck:Sa,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Aa,step:null,style:null,tabIndex:Aa,target:null,title:null,translate:null,type:null,typeMustMatch:xa,useMap:null,value:Sa,width:Aa,wrap:null,align:null,aLink:null,archive:Ra,axis:null,background:null,bgColor:null,border:Aa,borderColor:null,bottomMargin:Aa,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:xa,declare:xa,event:null,face:null,frame:null,frameBorder:null,hSpace:Aa,leftMargin:Aa,link:null,longDesc:null,lowSrc:null,marginHeight:Aa,marginWidth:Aa,noResize:xa,noHref:xa,noShade:xa,noWrap:xa,object:null,profile:null,prompt:null,rev:null,rightMargin:Aa,rules:null,scheme:null,scrolling:Sa,standby:null,summary:null,text:null,topMargin:Aa,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Aa,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:xa,disableRemotePlayback:xa,prefix:null,property:null,results:Aa,security:null,unselectable:null}}),Ya=Pa({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:Ha,properties:{about:La,accentHeight:Aa,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Aa,amplitude:Aa,arabicForm:null,ascent:Aa,attributeName:null,attributeType:null,azimuth:Aa,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Aa,by:null,calcMode:null,capHeight:Aa,className:Ra,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Aa,diffuseConstant:Aa,direction:null,display:null,dur:null,divisor:Aa,dominantBaseline:null,download:xa,dx:null,dy:null,edgeMode:null,editable:null,elevation:Aa,enableBackground:null,end:null,event:null,exponent:Aa,externalResourcesRequired:null,fill:null,fillOpacity:Aa,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:wa,g2:wa,glyphName:wa,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Aa,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Aa,horizOriginX:Aa,horizOriginY:Aa,id:null,ideographic:Aa,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Aa,k:Aa,k1:Aa,k2:Aa,k3:Aa,k4:Aa,kernelMatrix:La,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Aa,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Aa,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Aa,overlineThickness:Aa,paintOrder:null,panose1:null,path:null,pathLength:Aa,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Ra,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Aa,pointsAtY:Aa,pointsAtZ:Aa,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:La,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:La,rev:La,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:La,requiredFeatures:La,requiredFonts:La,requiredFormats:La,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:Aa,specularExponent:Aa,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Aa,strikethroughThickness:Aa,string:null,stroke:null,strokeDashArray:La,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Aa,strokeOpacity:Aa,strokeWidth:null,style:null,surfaceScale:Aa,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:La,tabIndex:Aa,tableValues:null,target:null,targetX:Aa,targetY:Aa,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:La,to:null,transform:null,u1:null,u2:null,underlinePosition:Aa,underlineThickness:Aa,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Aa,values:null,vAlphabetic:Aa,vMathematical:Aa,vectorEffect:null,vHanging:Aa,vIdeographic:Aa,version:null,vertAdvY:Aa,vertOriginX:Aa,vertOriginY:Aa,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Aa,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),za=_a([Fa,Ma,Ua,ja,Ga],"html"),$a=_a([Fa,Ma,Ua,ja,Ya],"svg");function Wa(e){if(e.allowedElements&&e.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return t=>{Ko(t,"element",((t,n,r)=>{const i=r;let o;if(e.allowedElements?o=!e.allowedElements.includes(t.tagName):e.disallowedElements&&(o=e.disallowedElements.includes(t.tagName)),!o&&e.allowElement&&"number"==typeof n&&(o=!e.allowElement(t,n,i)),o&&"number"==typeof n)return e.unwrapDisallowed&&t.children?i.children.splice(n,1,...t.children):i.children.splice(n,1),n}))}}var Va=u(9999);function Ka(e){const t=e&&"object"==typeof e&&"text"===e.type?e.value||"":e;return"string"==typeof t&&""===t.replace(/[ \t\n\f\r]/g,"")}const qa=/^data[-\w.:]+$/i,Xa=/-[a-z]/g,Za=/[A-Z]/g;function Qa(e,t){const n=ba(t);let r=t,i=Ea;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&qa.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(Xa,es);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!Xa.test(e)){let n=e.replace(Za,Ja);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}i=Ia}return new i(r,t)}function Ja(e){return"-"+e.toLowerCase()}function es(e){return e.charAt(1).toUpperCase()}const ts={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};function ns(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function rs(e){return e.join(" ").trim()}function is(e){const t=[],n=String(e||"");let r=n.indexOf(","),i=0,o=!1;for(;!o;){-1===r&&(r=n.length,o=!0);const e=n.slice(i,r).trim();!e&&o||t.push(e),i=r+1,r=n.indexOf(",",i)}return t}function os(e,t){const n=t||{};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}const as=u(9826),ss=["http","https","mailto","tel"];function ls(e){const t=(e||"").trim(),n=t.charAt(0);if("#"===n||"/"===n)return t;const r=t.indexOf(":");if(-1===r)return t;let i=-1;for(;++ii?t:(i=t.indexOf("#"),-1!==i&&r>i?t:"javascript:void(0)")}const cs={}.hasOwnProperty,us=new Set(["table","thead","tbody","tfoot","tr"]);function hs(e,t){const n=[];let r,i=-1;for(;++i0?m.createElement(d,l,h):m.createElement(d,l)}function ds(e,t){let n=-1,r=0;for(;++n for more info)`),delete ys[t]}const t=Fr().use(Uo).use(e.remarkPlugins||[]).use(ga,{...e.remarkRehypeOptions,allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(Wa,e),n=new Or;"string"==typeof e.children?n.value=e.children:void 0!==e.children&&null!==e.children&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);const r=t.runSync(t.parse(n),n);if("root"!==r.type)throw new TypeError("Expected a `root` node");let i=m.createElement(m.Fragment,{},hs({options:e,schema:za,listDepth:0},r));return e.className&&(i=m.createElement("div",{className:e.className},i)),i}vs.propTypes={children:ya.string,className:ya.string,allowElement:ya.func,allowedElements:ya.arrayOf(ya.string),disallowedElements:ya.arrayOf(ya.string),unwrapDisallowed:ya.bool,remarkPlugins:ya.arrayOf(ya.oneOfType([ya.object,ya.func,ya.arrayOf(ya.oneOfType([ya.bool,ya.string,ya.object,ya.func,ya.arrayOf(ya.any)]))])),rehypePlugins:ya.arrayOf(ya.oneOfType([ya.object,ya.func,ya.arrayOf(ya.oneOfType([ya.bool,ya.string,ya.object,ya.func,ya.arrayOf(ya.any)]))])),sourcePos:ya.bool,rawSourcePos:ya.bool,skipHtml:ya.bool,includeElementIndex:ya.bool,transformLinkUri:ya.oneOfType([ya.func,ya.bool]),linkTarget:ya.oneOfType([ya.func,ya.string]),transformImageUri:ya.func,components:ya.object};const _s={tokenize:function(e,t,n){let r=0;return function t(o){return(87===o||119===o)&&r<3?(r++,e.consume(o),t):46===o&&3===r?(e.consume(o),i):n(o)};function i(e){return null===e?n(e):t(e)}},partial:!0},bs={tokenize:function(e,t,n){let r,i,o;return a;function a(t){return 46===t||95===t?e.check(Ts,l,s)(t):null===t||ci(t)||pi(t)||45!==t&&hi(t)?l(t):(o=!0,e.consume(t),a)}function s(t){return 95===t?r=!0:(i=r,r=void 0),e.consume(t),a}function l(e){return i||r||!o?n(e):t(e)}},partial:!0},Es={tokenize:function(e,t){let n=0,r=0;return i;function i(a){return 40===a?(n++,e.consume(a),i):41===a&&r0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}Rs[43]=As,Rs[45]=As,Rs[46]=As,Rs[95]=As,Rs[72]=[As,Cs],Rs[104]=[As,Cs],Rs[87]=[As,Ss],Rs[119]=[As,Ss];const Ps={tokenize:function(e,t,n){const r=this;return fi(e,(function(e){const i=r.events[r.events.length-1];return i&&"gfmFootnoteDefinitionIndent"===i[1].type&&4===i[2].sliceSerialize(i[1],!0).length?t(e):n(e)}),"gfmFootnoteDefinitionIndent",5)},partial:!0};function Ms(e,t,n){const r=this;let i=r.events.length;const o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a;for(;i--;){const e=r.events[i][1];if("labelImage"===e.type){a=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(i){if(!a||!a._balanced)return n(i);const s=ji(r.sliceSerialize({start:a.end,end:r.now()}));return 94===s.codePointAt(0)&&o.includes(s.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(i),e.exit("gfmFootnoteCallLabelMarker"),t(i)):n(i)}}function Fs(e,t){let n,r=e.length;for(;r--;)if("labelImage"===e[r][1].type&&"enter"===e[r][0]){n=e[r][1];break}e[r+1][1].type="data",e[r+3][1].type="gfmFootnoteCallLabelMarker";const i={type:"gfmFootnoteCall",start:Object.assign({},e[r+3][1].start),end:Object.assign({},e[e.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},e[r+3][1].end),end:Object.assign({},e[r+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;const a={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},e[e.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},l=[e[r+1],e[r+2],["enter",i,t],e[r+3],e[r+4],["enter",o,t],["exit",o,t],["enter",a,t],["enter",s,t],["exit",s,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",i,t]];return e.splice(r,e.length-r+1,...l),e}function Hs(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o,a=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),s};function s(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",l)}function l(s){if(a>999||93===s&&!o||null===s||91===s||ci(s))return n(s);if(93===s){e.exit("chunkString");const o=e.exit("gfmFootnoteCallString");return i.includes(ji(r.sliceSerialize(o)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(s),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(s)}return ci(s)||(o=!0),a++,e.consume(s),92===s?c:l}function c(t){return 91===t||92===t||93===t?(e.consume(t),a++,l):l(t)}}function Bs(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o,a,s=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),l};function l(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",c):n(t)}function c(t){if(s>999||93===t&&!a||null===t||91===t||ci(t))return n(t);if(93===t){e.exit("chunkString");const n=e.exit("gfmFootnoteDefinitionLabelString");return o=ji(r.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),h}return ci(t)||(a=!0),s++,e.consume(t),92===t?u:c}function u(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}function h(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),i.includes(o)||i.push(o),fi(e,p,"gfmFootnoteDefinitionWhitespace")):n(t)}function p(e){return t(e)}}function Us(e,t,n){return e.check(vi,t,e.attempt(Ps,t,n))}function js(e){e.exit("gfmFootnoteDefinition")}function Gs(e){let t=(e||{}).singleTilde;const n={tokenize:function(e,n,r){const i=this.previous,o=this.events;let a=0;return function(t){return 126===i&&"characterEscape"!==o[o.length-1][1].type?r(t):(e.enter("strikethroughSequenceTemporary"),s(t))};function s(o){const l=ho(i);if(126===o)return a>1?r(o):(e.consume(o),a++,s);if(a<2&&!t)return r(o);const c=e.exit("strikethroughSequenceTemporary"),u=ho(o);return c._open=!u||2===u&&Boolean(l),c._close=!l||2===l&&Boolean(u),n(o)}},resolveAll:function(e,t){let n=-1;for(;++ne[0]-t[0])),0===this.map.length)return;let t=this.map.length;const n=[];for(;t>0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1])),n.push(this.map[t][2]),e.length=this.map[t][0];n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}}function zs(e,t){let n=!1;const r=[];for(;t-1;){const e=r.events[t][1].type;if("lineEnding"!==e&&"linePrefix"!==e)break;t--}const i=t>-1?r.events[t][1].type:null,o="tableHead"===i||"tableRow"===i?b:s;return o===b&&r.parser.lazy[r.now().line]?n(e):o(e)};function s(t){return e.enter("tableHead"),e.enter("tableRow"),function(e){return 124===e||(i=!0,a+=1),l(e)}(t)}function l(t){return null===t?n(t):li(t)?a>1?(a=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),h):n(t):ui(t)?fi(e,l,"whitespace")(t):(a+=1,i&&(i=!1,o+=1),124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),i=!0,l):(e.enter("data"),c(t)))}function c(t){return null===t||124===t||ci(t)?(e.exit("data"),l(t)):(e.consume(t),92===t?u:c)}function u(t){return 92===t||124===t?(e.consume(t),c):c(t)}function h(t){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(t):(e.enter("tableDelimiterRow"),i=!1,ui(t)?fi(e,p,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):p(t))}function p(t){return 45===t||58===t?f(t):124===t?(i=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),d):_(t)}function d(t){return ui(t)?fi(e,f,"whitespace")(t):f(t)}function f(t){return 58===t?(a+=1,i=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),m):45===t?(a+=1,m(t)):null===t||li(t)?v(t):_(t)}function m(t){return 45===t?(e.enter("tableDelimiterFiller"),g(t)):_(t)}function g(t){return 45===t?(e.consume(t),g):58===t?(i=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),y):(e.exit("tableDelimiterFiller"),y(t))}function y(t){return ui(t)?fi(e,v,"whitespace")(t):v(t)}function v(n){return 124===n?p(n):(null===n||li(n))&&i&&o===a?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(n)):_(n)}function _(e){return n(e)}function b(t){return e.enter("tableRow"),E(t)}function E(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),E):null===n||li(n)?(e.exit("tableRow"),t(n)):ui(n)?fi(e,E,"whitespace")(n):(e.enter("data"),T(n))}function T(t){return null===t||124===t||ci(t)?(e.exit("data"),E(t)):(e.consume(t),92===t?x:T)}function x(t){return 92===t||124===t?(e.consume(t),T):T(t)}},resolveAll:function(e,t){let n,r,i,o=-1,a=!0,s=0,l=[0,0,0,0],c=[0,0,0,0],u=!1,h=0;const p=new Ys;for(;++on[2]+1){const t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",a,t]])}return void 0!==i&&(o.end=Object.assign({},Ks(t.events,i)),e.add(i,0,[["exit",o,t]]),o=void 0),o}function Vs(e,t,n,r,i){const o=[],a=Ks(t.events,n);i&&(i.end=Object.assign({},a),o.push(["exit",i,t])),r.end=Object.assign({},a),o.push(["exit",r,t]),e.add(n+1,0,o)}function Ks(e,t){const n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}const qs={tokenize:function(e,t,n){const r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),i):n(t)};function i(t){return ci(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),o):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),o):n(t)}function o(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),a):n(t)}function a(r){return li(r)?t(r):ui(r)?e.check({tokenize:Zs},t,n)(r):n(r)}}},Xs={text:{91:qs}};function Zs(e,t,n){return fi(e,(function(e){return null===e?n(e):t(e)}),"whitespace")}function Qs(e,t){const n=String(e);if("string"!=typeof t)throw new TypeError("Expected character");let r=0,i=n.indexOf(t);for(;-1!==i;)r++,i=n.indexOf(t,i+t.length);return r}const Js={}.hasOwnProperty;function el(e){return"string"==typeof e?new RegExp(function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(e),"g"):e}function tl(e){return"function"==typeof e?e:()=>e}const nl="phrasing",rl=["autolink","link","image","label"],il={transforms:[function(e){!function(e,t,n,r){let i,o;"string"==typeof t||t instanceof RegExp?(o=[[t,n]],i=r):(o=t,i=n),i||(i={});const a=Go(i.ignore||[]),s=function(e){const t=[];if("object"!=typeof e)throw new TypeError("Expected array or object as schema");if(Array.isArray(e)){let n=-1;for(;++n0?{type:"text",value:s}:void 0),!1!==s&&(o!==n&&u.push({type:"text",value:e.value.slice(o,n)}),Array.isArray(s)?u.push(...s):s&&u.push(s),o=n+h[0].length,c=!0),!r.global)break;h=r.exec(e.value)}return c?(o?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const i=Qs(e,"(");let o=Qs(e,")");for(;-1!==r&&i>o;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),o++;return[e,n]}(n+r);if(!a[0])return!1;const s={type:"link",title:null,url:o+t+a[0],children:[{type:"text",value:t+a[0]}]};return a[1]?[s,{type:"text",value:a[1]}]:s}function ll(e,t,n,r){return!(!cl(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function cl(e,t){const n=e.input.charCodeAt(e.index-1);return(0===e.index||pi(n)||hi(n))&&(!t||47!==n)}function ul(e){return e.label||!e.identifier?e.label||"":Io(e.identifier)}function hl(e,t,n,r){let i=r.join.length;for(;i--;){const o=r.join[i](e,t,n,r);if(!0===o||1===o)break;if("number"==typeof o)return"\n".repeat(1+o);if(!1===o)return"\n\n\x3c!----\x3e\n\n"}return"\n\n"}const pl=/\r?\n|\r/g;function dl(e){if(!e._compiled){const t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}function fl(e,t){return ml(e,t.inConstruct,!0)&&!ml(e,t.notInConstruct,!1)}function ml(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r=c||e+10?" ":"")),i.shift(4),o+=i.move(function(e,t){const n=[];let r,i=0,o=0;for(;r=pl.exec(e);)a(e.slice(i,r.index)),n.push(r[0]),i=r.index+r[0].length,o++;return a(e.slice(i)),n.join("");function a(e){n.push(t(e,o,!e))}}(function(e,t,n){const r=t.indexStack,i=e.children||[],o=t.createTracker(n),a=[];let s=-1;for(r.push(-1);++s0&&("\r"===s||"\n"===s)&&"html"===c.type&&(o[o.length-1]=o[o.length-1].replace(/(\r?\n|\r)$/," "),s=" ",l=t.createTracker(n),l.move(o.join(""))),o.push(l.move(t.handle(c,e,t,{...l.current(),before:s,after:u}))),s=o[o.length-1].slice(-1)}return r.pop(),o.join("")}wl.peek=function(){return"["},Dl.peek=function(){return"~"};const Il={canContainEols:["delete"],enter:{strikethrough:function(e){this.enter({type:"delete",children:[]},e)}},exit:{strikethrough:function(e){this.exit(e)}}},kl={unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"]}],handlers:{delete:Dl}};function Dl(e,t,n,r){const i=_l(r),o=n.enter("strikethrough");let a=i.move("~~");return a+=Nl(e,n,{...i.current(),before:a,after:"~"}),a+=i.move("~~"),o(),a}function Pl(e,t,n){let r=e.value||"",i="`",o=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++o"none"===e?null:e)),children:[]},e),this.setData("inTable",!0)},tableData:jl,tableHeader:jl,tableRow:function(e){this.enter({type:"tableRow",children:[]},e)}},exit:{codeText:function(e){let t=this.resume();this.getData("inTable")&&(t=t.replace(/\\([\\|])/g,Gl));this.stack[this.stack.length-1].value=t,this.exit(e)},table:function(e){this.exit(e),this.setData("inTable")},tableData:Ul,tableHeader:Ul,tableRow:Ul}};function Ul(e){this.exit(e)}function jl(e){this.enter({type:"tableCell",children:[]},e)}function Gl(e,t){return"|"===t?t:e}function Yl(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,o=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:function(e,t,n,r){return s(function(e,t,n){const r=e.children;let i=-1;const o=[],a=t.enter("table");for(;++il&&(l=e[c].length);++us[u])&&(s[u]=e)}n.push(o)}o[c]=n,a[c]=i}let u=-1;if("object"==typeof n&&"length"in n)for(;++us[u]&&(s[u]=o),p[u]=o),h[u]=a}o.splice(1,0,h),a.splice(1,0,p),c=-1;const d=[];for(;++c-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+o);let a=o.length+1;("tab"===i||"mixed"===i&&(t&&"list"===t.type&&t.spread||e.spread))&&(a=4*Math.ceil(a/4));const s=n.createTracker(r);s.move(o+" ".repeat(a-o.length)),s.shift(a);const l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,s.current()),(function(e,t,n){return t?(n?"":" ".repeat(a))+e:(n?o:o+" ".repeat(a-o.length))+e}));return l(),c}(e,t,n,{...r,...s.current()});return o&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,(function(e){return e+a}))),l}}};function Wl(e){this.stack[this.stack.length-2].checked="taskListCheckValueChecked"===e.type}function Vl(e={}){const t=this.data();function n(e,n){(t[e]?t[e]:t[e]=[]).push(n)}n("micromarkExtensions",function(e){return Qr([ws,{document:{91:{tokenize:Bs,continuation:{tokenize:Us},exit:js}},text:{91:{tokenize:Hs},93:{add:"after",tokenize:Ms,resolveTo:Fs}}},Gs(e),$s,Xs])}(e)),n("fromMarkdownExtensions",[il,{enter:{gfmFootnoteDefinition:bl,gfmFootnoteDefinitionLabelString:El,gfmFootnoteCall:Sl,gfmFootnoteCallString:Cl},exit:{gfmFootnoteDefinition:xl,gfmFootnoteDefinitionLabelString:Tl,gfmFootnoteCall:Rl,gfmFootnoteCallString:Al}},Il,Bl,zl]),n("toMarkdownExtensions",function(e){return{extensions:[ol,{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:Ll,footnoteReference:wl}},kl,Yl(e),$l]}}(e))}var Kl=u(6956);const ql=/[#.]/g,Xl=new Set(["menu","submit","reset","button"]),Zl={}.hasOwnProperty;function Ql(e,t,n){const r=n&&function(e){const t={};let n=-1;for(;++n-1&&ee)return{line:t+1,column:e-(t>0?n[t-1]:0)+1,offset:e};return{line:void 0,column:void 0,offset:void 0}},toOffset:function(e){const t=e&&e.line,r=e&&e.column;if("number"==typeof t&&"number"==typeof r&&!Number.isNaN(t)&&!Number.isNaN(r)&&t-1 in n){const e=(n[t-2]||0)+r-1||0;if(e>-1&&e{const r=e;if(r.value.stitch&&null!==n&&null!==t)return n.children[t]=r.value.stitch,t})),"root"!==e.type&&"root"===h.type&&1===h.children.length?h.children[0]:h;function p(e){let t=-1;if(e)for(;++tEc(t,n,e)}const Ac=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC62-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g,Rc=Object.hasOwnProperty,wc={}.hasOwnProperty;function Lc(e,t){const n="string"==typeof t&&function(e){return Boolean(e&&"object"==typeof e&&"type"in e)}(e)&&"element"===e.type&&e.properties&&wc.call(e.properties,t)&&e.properties[t];return null!=n&&!1!==n}function Oc(e){const t=e&&"element"===e.type&&e.tagName.toLowerCase()||"",n=2===t.length&&104===t.charCodeAt(0)?t.charCodeAt(1):0;return n>48&&n<55?n-48:null}function Nc(e){return"children"in e?kc(e):"value"in e?e.value:""}function Ic(e){return"text"===e.type?e.value:"children"in e?kc(e):""}function kc(e){let t=-1;const n=[];for(;++t{Dc.reset(),Ko(e,"element",(e=>{Oc(e)&&e.properties&&!Lc(e,"id")&&(e.properties.id=t+Dc.slug(Nc(e)))}))}}const Mc=function(e){if(null==e)return Hc;if("string"==typeof e)return t=e,function(e){return Hc(e)&&e.tagName===t};var t;if("object"==typeof e)return function(e){const t=[];let n=-1;for(;++n{Ko(e,"element",((e,t,n)=>{if(Oc(e)&&Lc(e,"id")&&o(e,t,n))return a(e,t,n)}))};function s(e,t){const n=l(e,t);return Array.isArray(n)?n:[n]}function l(e,t){return"function"==typeof e?e(t):Pr(!0,Array.isArray(e)?[]:{},e)}function c(e,t,n){return{type:"element",tagName:"a",properties:Object.assign({},t,{href:"#"+(e.properties||{}).id}),children:n}}}const jc=(e=[],t,n,r)=>{let i=t;for(;i/,"$2")||""))return;if(r){if(jc(e,i,"pre",r))return;return t.value=(t.value||"").replace(/^(\n|\s)+/,""),t}return t.value=(t.value||"").replace(/^(\n|\s)+/,""),t}}},Gc=({value:e=""})=>{const t=((e="")=>(e.match(/([^?=&]+)(=([^&]*))/g)||[]).reduce(((e,t)=>(e[t.slice(0,t.indexOf("="))]=t.slice(t.indexOf("=")+1),e)),{}))(e.replace(/^/,"$1").replace(/^rehype:/,""));return Object.keys(t).forEach((e=>{"true"===t[e]&&(t[e]=!0),"false"===t[e]&&(t[e]=!1),"string"!=typeof t[e]||/^0/.test(t[e])||isNaN(+t[e])||(t[e]=+t[e])})),t},Yc=(e,t,n)=>"string"===n?{...e,"data-config":JSON.stringify({...t,rehyp:!0})}:"attr"===n?{...e,...t}:{...e,"data-config":{...t,rehyp:!0}},zc=(e={})=>{const{properties:t="data",codeBlockParames:n=!0}=e;return e=>{Ko(e,"element",((e,r,i)=>{if(n&&"pre"===e.tagName&&e&&Array.isArray(e.children)&&i&&Array.isArray(i.children)&&i.children.length>1){const n=e.children[0];if(n&&"code"===n.tagName&&"number"==typeof r){const o=((e=[],t)=>{let n=t;for(;n>-1;){if(n--,!e[n])return;if(e[n]&&e[n].value&&""!==e[n].value.replace(/(\n|\s)/g,"")||"text"!==e[n].type){if(!/^rehype:/.test(e[n].value)||"comment"!==e[n].type)return;return e[n]}}})(i.children,r);if(o){const r=Gc(o);Object.keys(r).length>0&&(e.properties={...e.properties,"data-type":"rehyp"},n.properties=Yc(n.properties,r,t))}}}if(/^(em|strong|b|a|i|p|pre|kbd|blockquote|h(1|2|3|4|5|6)|code|table|img|del|ul|ol)$/.test(e.tagName)&&i&&Array.isArray(i.children)&&"number"==typeof r){const o=jc(i.children,r,"",n);if(o){const n=Gc(o);Object.keys(n).length>0&&(e.properties=Yc(e.properties,n,t))}}}))}},$c=(e={})=>{const{openDelimiter:t="rehype:ignore:start",closeDelimiter:n="rehype:ignore:end"}=e;return e=>{Ko(e,((e,r,i)=>{if("element"===e.type||"root"===e.type){let r=!1;e.children=e.children.filter((e=>{if("raw"===e.type||"comment"===e.type){let i=(e.value||"").trim();if(i=i.replace(/^/,"$1"),i===t)return r=!0,!1;if(i===n)return r=!1,!1}return!r}))}}))}},Wc={}.hasOwnProperty;var Vc=u(2613);function Kc(e){e.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}function qc(e){e.register(Kc),e.languages.c=e.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),e.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),e.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},e.languages.c.string],char:e.languages.c.char,comment:e.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:e.languages.c}}}}),e.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete e.languages.c.boolean}function Xc(e){e.register(qc),function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,(function(){return t.source}));e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,(function(){return t.source}))),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,(function(){return n}))+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(e)}function Zc(e){e.register(Xc),e.languages.arduino=e.languages.extend("cpp",{keyword:/\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,constant:/\b(?:ANALOG_MESSAGE|DEFAULT|DIGITAL_MESSAGE|EXTERNAL|FIRMATA_STRING|HIGH|INPUT|INPUT_PULLUP|INTERNAL|INTERNAL1V1|INTERNAL2V56|LED_BUILTIN|LOW|OUTPUT|REPORT_ANALOG|REPORT_DIGITAL|SET_PIN_MODE|SYSEX_START|SYSTEM_RESET)\b/,builtin:/\b(?:Audio|BSSID|Bridge|Client|Console|EEPROM|Esplora|EsploraTFT|Ethernet|EthernetClient|EthernetServer|EthernetUDP|File|FileIO|FileSystem|Firmata|GPRS|GSM|GSMBand|GSMClient|GSMModem|GSMPIN|GSMScanner|GSMServer|GSMVoiceCall|GSM_SMS|HttpClient|IPAddress|IRread|Keyboard|KeyboardController|LiquidCrystal|LiquidCrystal_I2C|Mailbox|Mouse|MouseController|PImage|Process|RSSI|RobotControl|RobotMotor|SD|SPI|SSID|Scheduler|Serial|Server|Servo|SoftwareSerial|Stepper|Stream|TFT|Task|USBHost|WiFi|WiFiClient|WiFiServer|WiFiUDP|Wire|YunClient|YunServer|abs|addParameter|analogRead|analogReadResolution|analogReference|analogWrite|analogWriteResolution|answerCall|attach|attachGPRS|attachInterrupt|attached|autoscroll|available|background|beep|begin|beginPacket|beginSD|beginSMS|beginSpeaker|beginTFT|beginTransmission|beginWrite|bit|bitClear|bitRead|bitSet|bitWrite|blink|blinkVersion|buffer|changePIN|checkPIN|checkPUK|checkReg|circle|cityNameRead|cityNameWrite|clear|clearScreen|click|close|compassRead|config|connect|connected|constrain|cos|countryNameRead|countryNameWrite|createChar|cursor|debugPrint|delay|delayMicroseconds|detach|detachInterrupt|digitalRead|digitalWrite|disconnect|display|displayLogos|drawBMP|drawCompass|encryptionType|end|endPacket|endSMS|endTransmission|endWrite|exists|exitValue|fill|find|findUntil|flush|gatewayIP|get|getAsynchronously|getBand|getButton|getCurrentCarrier|getIMEI|getKey|getModifiers|getOemKey|getPINUsed|getResult|getSignalStrength|getSocket|getVoiceCallStatus|getXChange|getYChange|hangCall|height|highByte|home|image|interrupts|isActionDone|isDirectory|isListening|isPIN|isPressed|isValid|keyPressed|keyReleased|keyboardRead|knobRead|leftToRight|line|lineFollowConfig|listen|listenOnLocalhost|loadImage|localIP|lowByte|macAddress|maintain|map|max|messageAvailable|micros|millis|min|mkdir|motorsStop|motorsWrite|mouseDragged|mouseMoved|mousePressed|mouseReleased|move|noAutoscroll|noBlink|noBuffer|noCursor|noDisplay|noFill|noInterrupts|noListenOnLocalhost|noStroke|noTone|onReceive|onRequest|open|openNextFile|overflow|parseCommand|parseFloat|parseInt|parsePacket|pauseMode|peek|pinMode|playFile|playMelody|point|pointTo|position|pow|prepare|press|print|printFirmwareVersion|printVersion|println|process|processInput|pulseIn|put|random|randomSeed|read|readAccelerometer|readBlue|readButton|readBytes|readBytesUntil|readGreen|readJoystickButton|readJoystickSwitch|readJoystickX|readJoystickY|readLightSensor|readMessage|readMicrophone|readNetworks|readRed|readSlider|readString|readStringUntil|readTemperature|ready|rect|release|releaseAll|remoteIP|remoteNumber|remotePort|remove|requestFrom|retrieveCallingNumber|rewindDirectory|rightToLeft|rmdir|robotNameRead|robotNameWrite|run|runAsynchronously|runShellCommand|runShellCommandAsynchronously|running|scanNetworks|scrollDisplayLeft|scrollDisplayRight|seek|sendAnalog|sendDigitalPortPair|sendDigitalPorts|sendString|sendSysex|serialEvent|setBand|setBitOrder|setClockDivider|setCursor|setDNS|setDataMode|setFirmwareVersion|setMode|setPINUsed|setSpeed|setTextSize|setTimeout|shiftIn|shiftOut|shutdown|sin|size|sqrt|startLoop|step|stop|stroke|subnetMask|switchPIN|tan|tempoWrite|text|tone|transfer|tuneWrite|turn|updateIR|userNameRead|userNameWrite|voiceCall|waitContinue|width|write|writeBlue|writeGreen|writeJSON|writeMessage|writeMicroseconds|writeRGB|writeRed|yield)\b/}),e.languages.ino=e.languages.arduino}function Qc(e){!function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var i=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],o=r.variable[1].inside,a=0;a>/g,(function(e,n){return"(?:"+t[+n]+")"}))}function n(e,n,r){return RegExp(t(e,n),r||"")}function r(e,t){for(var n=0;n>/g,(function(){return"(?:"+e+")"}));return e.replace(/<>/g,"[^\\s\\S]")}var i="bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",o="class enum interface record struct",a="add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",s="abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield";function l(e){return"\\b(?:"+e.trim().replace(/ /g,"|")+")\\b"}var c=l(o),u=RegExp(l(i+" "+o+" "+a+" "+s)),h=l(o+" "+a+" "+s),p=l(i+" "+o+" "+s),d=r(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),f=r(/\((?:[^()]|<>)*\)/.source,2),m=/@?\b[A-Za-z_]\w*\b/.source,g=t(/<<0>>(?:\s*<<1>>)?/.source,[m,d]),y=t(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[h,g]),v=/\[\s*(?:,\s*)*\]/.source,_=t(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[y,v]),b=t(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[d,f,v]),E=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[b]),T=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[E,y,v]),x={keyword:u,punctuation:/[<>()?,.:[\]]/},S=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,C=/"(?:\\.|[^\\"\r\n])*"/.source,A=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[A]),lookbehind:!0,greedy:!0},{pattern:n(/(^|[^@$\\])<<0>>/.source,[C]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[y]),lookbehind:!0,inside:x},{pattern:n(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[m,T]),lookbehind:!0,inside:x},{pattern:n(/(\busing\s+)<<0>>(?=\s*=)/.source,[m]),lookbehind:!0},{pattern:n(/(\b<<0>>\s+)<<1>>/.source,[c,g]),lookbehind:!0,inside:x},{pattern:n(/(\bcatch\s*\(\s*)<<0>>/.source,[y]),lookbehind:!0,inside:x},{pattern:n(/(\bwhere\s+)<<0>>/.source,[m]),lookbehind:!0},{pattern:n(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[_]),lookbehind:!0,inside:x},{pattern:n(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[T,p,m]),inside:x}],keyword:u,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),e.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),e.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:n(/([(,]\s*)<<0>>(?=\s*:)/.source,[m]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:n(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[m]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:n(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[f]),lookbehind:!0,alias:"class-name",inside:x},"return-type":{pattern:n(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[T,y]),inside:x,alias:"class-name"},"constructor-invocation":{pattern:n(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[T]),lookbehind:!0,inside:x,alias:"class-name"},"generic-method":{pattern:n(/<<0>>\s*<<1>>(?=\s*\()/.source,[m,d]),inside:{function:n(/^<<0>>/.source,[m]),generic:{pattern:RegExp(d),alias:"class-name",inside:x}}},"type-list":{pattern:n(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[c,g,m,T,u.source,f,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:n(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[g,f]),lookbehind:!0,greedy:!0,inside:e.languages.csharp},keyword:u,"class-name":{pattern:RegExp(T),greedy:!0,inside:x},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var R=C+"|"+S,w=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[R]),L=r(t(/[^"'/()]|<<0>>|\(<>*\)/.source,[w]),2),O=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,N=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[y,L]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:n(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[O,N]),lookbehind:!0,greedy:!0,inside:{target:{pattern:n(/^<<0>>(?=\s*:)/.source,[O]),alias:"keyword"},"attribute-arguments":{pattern:n(/\(<<0>>*\)/.source,[L]),inside:e.languages.csharp},"class-name":{pattern:RegExp(y),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var I=/:[^}\r\n]+/.source,k=r(t(/[^"'/()]|<<0>>|\(<>*\)/.source,[w]),2),D=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[k,I]),P=r(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[R]),2),M=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[P,I]);function F(t,r){return{interpolation:{pattern:n(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[t]),lookbehind:!0,inside:{"format-string":{pattern:n(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[r,I]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:e.languages.csharp}}},string:/[\s\S]+/}}e.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:n(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[D]),lookbehind:!0,greedy:!0,inside:F(D,k)},{pattern:n(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[M]),lookbehind:!0,greedy:!0,inside:F(M,P)}],char:{pattern:RegExp(S),greedy:!0}}),e.languages.dotnet=e.languages.cs=e.languages.csharp}(e)}function eu(e){e.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},e.languages.markup.tag.inside["attr-value"].inside.entity=e.languages.markup.entity,e.languages.markup.doctype.inside["internal-subset"].inside=e.languages.markup,e.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.value.replace(/&/,"&"))})),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:function(t,n){var r={};r["language-"+n]={pattern:/(^$)/i,lookbehind:!0,inside:e.languages[n]},r.cdata=/^$/i;var i={"included-cdata":{pattern://i,inside:r}};i["language-"+n]={pattern:/[\s\S]+/,inside:e.languages[n]};var o={};o[t]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,(function(){return t})),"i"),lookbehind:!0,greedy:!0,inside:i},e.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(e.languages.markup.tag,"addAttribute",{value:function(t,n){e.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+t+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[n,"language-"+n],inside:e.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),e.languages.html=e.languages.markup,e.languages.mathml=e.languages.markup,e.languages.svg=e.languages.markup,e.languages.xml=e.languages.extend("markup",{}),e.languages.ssml=e.languages.xml,e.languages.atom=e.languages.xml,e.languages.rss=e.languages.xml}function tu(e){!function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(e)}function nu(e){!function(e){e.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var t={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(t).forEach((function(n){var r=t[n],i=[];/^\w+$/.test(n)||i.push(/\w+/.exec(n)[0]),"diff"===n&&i.push("bold"),e.languages.diff[n]={pattern:RegExp("^(?:["+r+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:i,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(n)[0]}}}})),Object.defineProperty(e.languages.diff,"PREFIXES",{value:t})}(e)}function ru(e){e.register(Kc),e.languages.go=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),e.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete e.languages.go["class-name"]}function iu(e){e.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/}}function ou(e){e.register(Kc),function(e){var t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,n=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,r={pattern:RegExp(/(^|[^\w.])/.source+n+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};e.languages.java=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[r,{pattern:RegExp(/(^|[^\w.])/.source+n+/[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:r.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+n+/[A-Z]\w*\b/.source),lookbehind:!0,inside:r.inside}],keyword:t,function:[e.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0},constant:/\b[A-Z][A-Z_\d]+\b/}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+n+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:r.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+n+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:r.inside.namespace,static:/\b\w+$/,punctuation:/\./,operator:/\*/,"class-name":/\w+/}}],namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(//g,(function(){return t.source}))),lookbehind:!0,inside:{punctuation:/\./}}})}(e)}function au(e){!function(e){var t={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},n=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,r="(?:[^\\\\-]|"+n.source+")",i=RegExp(r+"-"+r),o={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};e.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:i,inside:{escape:n,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":t,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:n}},"special-escape":t,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":o}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:n,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]||&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),e.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,e.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:e.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:e.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:e.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:e.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),e.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:e.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),e.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),e.languages.markup&&(e.languages.markup.tag.addInlined("script","javascript"),e.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),e.languages.js=e.languages.javascript}function lu(e){e.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},e.languages.webmanifest=e.languages.json}function cu(e){e.register(Kc),function(e){e.languages.kotlin=e.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete e.languages.kotlin["class-name"];var t={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}};e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:t},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:t},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin}(e)}function uu(e){e.register(tu),e.languages.less=e.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),e.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}function hu(e){e.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}}function pu(e){e.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/}}function du(e){!function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+n.source+")?)",i=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),o=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function a(e,t){t=(t||"").replace(/m/g,"")+"m";var n=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,(function(){return r})).replace(/<>/g,(function(){return e}));return RegExp(n,t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,(function(){return r}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,(function(){return r})).replace(/<>/g,(function(){return"(?:"+i+"|"+o+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:a(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:a(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:a(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:a(o),lookbehind:!0,greedy:!0},number:{pattern:a(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(e)}function fu(e){e.register(eu),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(//g,(function(){return t})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,i=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return r})),o=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+i+o+"(?:"+i+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+i+o+")(?:"+i+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+i+")"+o+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+i+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(t){["url","bold","italic","strike","code-snippet"].forEach((function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])}))})),e.hooks.add("after-tokenize",(function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete e.languages.objectivec["class-name"],e.languages.objc=e.languages.objectivec}function gu(e){!function(e){var t=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source;e.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,t].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,t].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,t+/\s*/.source+t].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}}(e)}function yu(e){e.register(eu),function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,i,o){if(n.language===r){var a=n.tokenStack=[];n.code=n.code.replace(i,(function(e){if("function"==typeof o&&!o(e))return e;for(var i,s=a.length;-1!==n.code.indexOf(i=t(r,s));)++s;return a[s]=e,i})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var i=0,o=Object.keys(n.tokenStack);!function a(s){for(var l=0;l=o.length);l++){var c=s[l];if("string"==typeof c||c.content&&"string"==typeof c.content){var u=o[i],h=n.tokenStack[u],p="string"==typeof c?c:c.content,d=t(r,u),f=p.indexOf(d);if(f>-1){++i;var m=p.substring(0,f),g=new e.Token(r,e.tokenize(h,n.grammar),"language-"+r,h),y=p.substring(f+d.length),v=[];m&&v.push.apply(v,a([m])),v.push(g),y&&v.push.apply(v,a([y])),"string"==typeof c?s.splice.apply(s,[l,1].concat(v)):c.content=v}}else c.content&&a(c.content)}return s}(n.tokens)}}}})}(e)}function vu(e){e.register(yu),function(e){var t=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,n=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],r=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,i=/|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,o=/[{}\[\](),:;]/;e.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:t,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|never|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|never|new|or|parent|print|private|protected|public|readonly|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s*)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:r,operator:i,punctuation:o};var a={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:e.languages.php},s=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:a}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:a}}];e.languages.insertBefore("php","variable",{string:s,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:t,string:s,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,number:r,operator:i,punctuation:o}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),e.hooks.add("before-tokenize",(function(t){/<\?/.test(t.code)&&e.languages["markup-templating"].buildPlaceholders(t,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"php")}))}(e)}function _u(e){e.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},e.languages.python["string-interpolation"].inside.interpolation.inside.rest=e.languages.python,e.languages.py=e.languages.python}function bu(e){e.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}}function Eu(e){e.register(Kc),function(e){e.languages.ruby=e.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===||[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),e.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var t={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete e.languages.ruby.function;var n="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",r=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;e.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+n+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+r),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+r+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),e.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+n),greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+n),greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete e.languages.ruby.string,e.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),e.languages.rb=e.languages.ruby}(e)}function Tu(e){!function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|)*\*\//.source,n=0;n<2;n++)t=t.replace(//g,(function(){return t}));t=t.replace(//g,(function(){return/[^\s\S]/.source})),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(e)}function xu(e){e.register(tu),function(e){e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete e.languages.sass.atrule;var t=/\$[-\w]+|#\{\$[-\w]+\}/,n=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:t,operator:n}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:t,operator:n,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,e.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})}(e)}function Su(e){e.register(tu),e.languages.scss=e.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),e.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),e.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),e.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),e.languages.scss.atrule.inside.rest=e.languages.scss}function Cu(e){e.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}}function Au(e){e.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ \t]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},e.languages.swift["string-literal"].forEach((function(t){t.inside.interpolation.inside=e.languages.swift}))}function Ru(e){e.register(su),function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(e)}function wu(e){e.languages.basic={comment:{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/}}function Lu(e){e.register(wu),e.languages.vbnet=e.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/})}Kc.displayName="clike",Kc.aliases=[],qc.displayName="c",qc.aliases=[],Xc.displayName="cpp",Xc.aliases=[],Zc.displayName="arduino",Zc.aliases=["ino"],Qc.displayName="bash",Qc.aliases=["sh","shell"],Jc.displayName="csharp",Jc.aliases=["cs","dotnet"],eu.displayName="markup",eu.aliases=["atom","html","mathml","rss","ssml","svg","xml"],tu.displayName="css",tu.aliases=[],nu.displayName="diff",nu.aliases=[],ru.displayName="go",ru.aliases=[],iu.displayName="ini",iu.aliases=[],ou.displayName="java",ou.aliases=[],au.displayName="regex",au.aliases=[],su.displayName="javascript",su.aliases=["js"],lu.displayName="json",lu.aliases=["webmanifest"],cu.displayName="kotlin",cu.aliases=["kt","kts"],uu.displayName="less",uu.aliases=[],hu.displayName="lua",hu.aliases=[],pu.displayName="makefile",pu.aliases=[],du.displayName="yaml",du.aliases=["yml"],fu.displayName="markdown",fu.aliases=["md"],mu.displayName="objectivec",mu.aliases=["objc"],gu.displayName="perl",gu.aliases=[],yu.displayName="markup-templating",yu.aliases=[],vu.displayName="php",vu.aliases=[],_u.displayName="python",_u.aliases=["py"],bu.displayName="r",bu.aliases=[],Eu.displayName="ruby",Eu.aliases=["rb"],Tu.displayName="rust",Tu.aliases=[],xu.displayName="sass",xu.aliases=[],Su.displayName="scss",Su.aliases=[],Cu.displayName="sql",Cu.aliases=[],Au.displayName="swift",Au.aliases=[],Ru.displayName="typescript",Ru.aliases=["ts"],wu.displayName="basic",wu.aliases=[],Lu.displayName="vbnet",Lu.aliases=[];const Ou=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],Nu={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"};function Iu(e){const t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}function ku(e){const t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}function Du(e){return function(e){const t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}(e)||Iu(e)}const Pu=String.fromCharCode,Mu=["","Named character references must be terminated by a semicolon","Numeric character references must be terminated by a semicolon","Named character references cannot be empty","Numeric character references cannot be empty","Named character references must be known","Numeric character references cannot be disallowed","Numeric character references cannot be outside the permissible Unicode range"];function Fu(e,t={}){const n="string"==typeof t.additional?t.additional.charCodeAt(0):t.additional,r=[];let i,o,a=0,s=-1,l="";t.position&&("start"in t.position||"indent"in t.position?(o=t.position.indent,i=t.position.start):i=t.position);let c,u=(i?i.line:0)||1,h=(i?i.column:0)||1,p=f();for(a--;++a<=e.length;)if(10===c&&(h=(o?o[s]:0)||1),c=e.charCodeAt(a),38===c){const i=e.charCodeAt(a+1);if(9===i||10===i||12===i||32===i||38===i||60===i||Number.isNaN(i)||n&&i===n){l+=Pu(c),h++;continue}const o=a+1;let s,u=o,y=o;if(35===i){y=++u;const t=e.charCodeAt(y);88===t||120===t?(s="hexadecimal",y=++u):s="decimal"}else s="named";let v="",_="",b="";const E="named"===s?Du:"decimal"===s?Iu:ku;for(y--;++y<=e.length;){const t=e.charCodeAt(y);if(!E(t))break;b+=Pu(t),"named"===s&&Ou.includes(b)&&(v=b,_=no(b))}let T=59===e.charCodeAt(y);if(T){y++;const e="named"===s&&no(b);e&&(v=b,_=e)}let x=1+y-o,S="";if(T||!1!==t.nonTerminated)if(b)if("named"===s){if(T&&!_)m(5,1);else if(v!==b&&(y=u+v.length,x=1+y-u,T=!1),!T){const n=v?1:3;if(t.attribute){const t=e.charCodeAt(y);61===t?(m(n,x),_=""):Du(t)?_="":m(n,x)}else m(n,x)}S=_}else{T||m(2,x);let e=Number.parseInt(b,"hexadecimal"===s?16:10);if((d=e)>=55296&&d<=57343||d>1114111)m(7,x),S=Pu(65533);else if(e in Nu)m(6,x),S=Nu[e];else{let t="";Hu(e)&&m(6,x),e>65535&&(e-=65536,t+=Pu(e>>>10|55296),e=56320|1023&e),S=t+Pu(e)}}else"named"!==s&&m(4,x);if(S){g(),p=f(),a=y-1,h+=y-o+1,r.push(S);const n=f();n.offset++,t.reference&&t.reference.call(t.referenceContext,S,{start:p,end:n},e.slice(o-1,y)),p=n}else b=e.slice(o-1,y),l+=b,h+=b.length,a=y-1}else 10===c&&(u++,s++,h=0),Number.isNaN(c)?g():(l+=Pu(c),h++);var d;return r.join("");function f(){return{line:u,column:h,offset:a+((i?i.offset:0)||0)}}function m(e,n){let r;t.warning&&(r=f(),r.column+=n,r.offset+=n,t.warning.call(t.warningContext,Mu[e],r,e))}function g(){l&&(r.push(l),t.text&&t.text.call(t.textContext,l,{start:p,end:f()}),l="")}}function Hu(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||65535==(65535&e)||65534==(65535&e)}var Bu=0,Uu={},ju={util:{type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++Bu}),e.__id},clone:function e(t,n){var r,i;switch(n=n||{},ju.util.type(t)){case"Object":if(i=ju.util.objId(t),n[i])return n[i];for(var o in r={},n[i]=r,t)t.hasOwnProperty(o)&&(r[o]=e(t[o],n));return r;case"Array":return i=ju.util.objId(t),n[i]?n[i]:(r=[],n[i]=r,t.forEach((function(t,i){r[i]=e(t,n)})),r);default:return t}}},languages:{plain:Uu,plaintext:Uu,text:Uu,txt:Uu,extend:function(e,t){var n=ju.util.clone(ju.languages[e]);for(var r in t)n[r]=t[r];return n},insertBefore:function(e,t,n,r){var i=(r=r||ju.languages)[e],o={};for(var a in i)if(i.hasOwnProperty(a)){if(a==t)for(var s in n)n.hasOwnProperty(s)&&(o[s]=n[s]);n.hasOwnProperty(a)||(o[a]=i[a])}var l=r[e];return r[e]=o,ju.languages.DFS(ju.languages,(function(t,n){n===l&&t!=e&&(this[t]=o)})),o},DFS:function e(t,n,r,i){i=i||{};var o=ju.util.objId;for(var a in t)if(t.hasOwnProperty(a)){n.call(t,a,t[a],r||a);var s=t[a],l=ju.util.type(s);"Object"!==l||i[o(s)]?"Array"!==l||i[o(s)]||(i[o(s)]=!0,e(s,n,a,i)):(i[o(s)]=!0,e(s,n,null,i))}}},plugins:{},highlight:function(e,t,n){var r={code:e,grammar:t,language:n};if(ju.hooks.run("before-tokenize",r),!r.grammar)throw new Error('The language "'+r.language+'" has no grammar.');return r.tokens=ju.tokenize(r.code,r.grammar),ju.hooks.run("after-tokenize",r),Gu.stringify(ju.util.encode(r.tokens),r.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var i=new $u;return Wu(i,i.head,e),zu(e,i,t,i.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(i)},hooks:{all:{},add:function(e,t){var n=ju.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=ju.hooks.all[e];if(n&&n.length)for(var r,i=0;r=n[i++];)r(t)}},Token:Gu};function Gu(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function Yu(e,t,n,r){e.lastIndex=t;var i=e.exec(n);if(i&&r&&i[1]){var o=i[1].length;i.index+=o,i[0]=i[0].slice(o)}return i}function zu(e,t,n,r,i,o){for(var a in n)if(n.hasOwnProperty(a)&&n[a]){var s=n[a];s=Array.isArray(s)?s:[s];for(var l=0;l=o.reach);y+=g.value.length,g=g.next){var v=g.value;if(t.length>e.length)return;if(!(v instanceof Gu)){var _,b=1;if(p){if(!(_=Yu(m,y,e,h))||_.index>=e.length)break;var E=_.index,T=_.index+_[0].length,x=y;for(x+=g.value.length;E>=x;)x+=(g=g.next).value.length;if(y=x-=g.value.length,g.value instanceof Gu)continue;for(var S=g;S!==t.tail&&(xo.reach&&(o.reach=w);var L=g.prev;if(A&&(L=Wu(t,L,A),y+=A.length),Vu(t,L,b),g=Wu(t,L,new Gu(a,u?ju.tokenize(C,u):C,d,C)),R&&Wu(t,g,R),b>1){var O={cause:a+","+l,reach:w};zu(e,t,n,g.prev,y,O),o&&O.reach>o.reach&&(o.reach=O.reach)}}}}}}function $u(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function Wu(e,t,n){var r=t.next,i={value:n,prev:t,next:r};return t.next=i,r.prev=i,e.length++,i}function Vu(e,t,n){for(var r=t.next,i=0;i]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/}}function Ju(e){!function(e){var t="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)";e.languages.abnf={comment:/;.*/,string:{pattern:/(?:%[is])?"[^"\n\r]*"/,greedy:!0,inside:{punctuation:/^%[is]/}},range:{pattern:/%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,alias:"number"},terminal:{pattern:/%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,alias:"number"},repetition:{pattern:/(^|[^\w-])(?:\d*\*\d*|\d+)/,lookbehind:!0,alias:"operator"},definition:{pattern:/(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,lookbehind:!0,alias:"keyword",inside:{punctuation:/<|>/}},"core-rule":{pattern:RegExp("(?:(^|[^<\\w-])"+t+"|<"+t+">)(?![\\w-])","i"),lookbehind:!0,alias:["rule","constant"],inside:{punctuation:/<|>/}},rule:{pattern:/(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,lookbehind:!0,inside:{punctuation:/<|>/}},operator:/=\/?|\//,punctuation:/[()\[\]]/}}(e)}function eh(e){e.register(su),e.languages.actionscript=e.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<>?>?|[!=]=?)=?|[~?@]/}),e.languages.actionscript["class-name"].alias="function",delete e.languages.actionscript.parameter,delete e.languages.actionscript["literal-property"],e.languages.markup&&e.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:e.languages.markup}})}function th(e){e.languages.ada={comment:/--.*/,string:/"(?:""|[^"\r\f\n])*"/,number:[{pattern:/\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i},{pattern:/\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i}],attribute:{pattern:/\b'\w+/,alias:"attr-name"},keyword:/\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|or|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,boolean:/\b(?:false|true)\b/i,operator:/<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,punctuation:/\.\.?|[,;():]/,char:/'.'/,variable:/\b[a-z](?:\w)*\b/i}}function nh(e){!function(e){e.languages.agda={comment:/\{-[\s\S]*?(?:-\}|$)|--.*/,string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},punctuation:/[(){}⦃⦄.;@]/,"class-name":{pattern:/((?:data|record) +)\S+/,lookbehind:!0},function:{pattern:/(^[ \t]*)(?!\s)[^:\r\n]+(?=:)/m,lookbehind:!0},operator:{pattern:/(^\s*|\s)(?:[=|:∀→λ\\?_]|->)(?=\s)/,lookbehind:!0},keyword:/\b(?:Set|abstract|constructor|data|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)\b/}}(e)}function rh(e){e.languages.al={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},function:{pattern:/(\b(?:event|procedure|trigger)\s+|(?:^|[^.])\.\s*)[a-z_]\w*(?=\s*\()/i,lookbehind:!0},keyword:[/\b(?:array|asserterror|begin|break|case|do|downto|else|end|event|exit|for|foreach|function|if|implements|in|indataset|interface|internal|local|of|procedure|program|protected|repeat|runonclient|securityfiltering|suppressdispose|temporary|then|to|trigger|until|var|while|with|withevents)\b/i,/\b(?:action|actions|addafter|addbefore|addfirst|addlast|area|assembly|chartpart|codeunit|column|controladdin|cuegroup|customizes|dataitem|dataset|dotnet|elements|enum|enumextension|extends|field|fieldattribute|fieldelement|fieldgroup|fieldgroups|fields|filter|fixed|grid|group|key|keys|label|labels|layout|modify|moveafter|movebefore|movefirst|movelast|page|pagecustomization|pageextension|part|profile|query|repeater|report|requestpage|schema|separator|systempart|table|tableelement|tableextension|textattribute|textelement|type|usercontrol|value|xmlport)\b/i],number:/\b(?:0x[\da-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(?:F|LL?|U(?:LL?)?)?\b/i,boolean:/\b(?:false|true)\b/i,variable:/\b(?:Curr(?:FieldNo|Page|Report)|x?Rec|RequestOptionsPage)\b/,"class-name":/\b(?:automation|biginteger|bigtext|blob|boolean|byte|char|clienttype|code|completiontriggererrorlevel|connectiontype|database|dataclassification|datascope|date|dateformula|datetime|decimal|defaultlayout|dialog|dictionary|dotnetassembly|dotnettypedeclaration|duration|errorinfo|errortype|executioncontext|executionmode|fieldclass|fieldref|fieldtype|file|filterpagebuilder|guid|httpclient|httpcontent|httpheaders|httprequestmessage|httpresponsemessage|instream|integer|joker|jsonarray|jsonobject|jsontoken|jsonvalue|keyref|list|moduledependencyinfo|moduleinfo|none|notification|notificationscope|objecttype|option|outstream|pageresult|record|recordid|recordref|reportformat|securityfilter|sessionsettings|tableconnectiontype|tablefilter|testaction|testfield|testfilterfield|testpage|testpermissions|testrequestpage|text|textbuilder|textconst|textencoding|time|transactionmodel|transactiontype|variant|verbosity|version|view|views|webserviceactioncontext|webserviceactionresultcode|xmlattribute|xmlattributecollection|xmlcdata|xmlcomment|xmldeclaration|xmldocument|xmldocumenttype|xmlelement|xmlnamespacemanager|xmlnametable|xmlnode|xmlnodelist|xmlprocessinginstruction|xmlreadoptions|xmltext|xmlwriteoptions)\b/i,operator:/\.\.|:[=:]|[-+*/]=?|<>|[<>]=?|=|\b(?:and|div|mod|not|or|xor)\b/i,punctuation:/[()\[\]{}:.;,]/}}function ih(e){e.languages.antlr4={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,string:{pattern:/'(?:\\.|[^\\'\r\n])*'/,greedy:!0},"character-class":{pattern:/\[(?:\\.|[^\\\]\r\n])*\]/,greedy:!0,alias:"regex",inside:{range:{pattern:/([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/,lookbehind:!0,alias:"punctuation"},escape:/\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/,punctuation:/[\[\]]/}},action:{pattern:/\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/,greedy:!0,inside:{content:{pattern:/(\{)[\s\S]+(?=\})/,lookbehind:!0},punctuation:/[{}]/}},command:{pattern:/(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i,lookbehind:!0,inside:{function:/\b\w+(?=\s*(?:[,(]|$))/,punctuation:/[,()]/}},annotation:{pattern:/@\w+(?:::\w+)*/,alias:"keyword"},label:{pattern:/#[ \t]*\w+/,alias:"punctuation"},keyword:/\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/,definition:[{pattern:/\b[a-z]\w*(?=\s*:)/,alias:["rule","class-name"]},{pattern:/\b[A-Z]\w*(?=\s*:)/,alias:["token","constant"]}],constant:/\b[A-Z][A-Z_]*\b/,operator:/\.\.|->|[|~]|[*+?]\??/,punctuation:/[;:()=]/},e.languages.g4=e.languages.antlr4}function oh(e){e.languages.apacheconf={comment:/#.*/,"directive-inline":{pattern:/(^[\t ]*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|Add(?:Alt|AltByEncoding|AltByType|Charset|DefaultCharset|Description|Encoding|Handler|Icon|IconByEncoding|IconByType|InputFilter|Language|ModuleInfo|OutputFilter|OutputFilterByType|Type)|Alias|AliasMatch|Allow(?:CONNECT|EncodedSlashes|Methods|Override|OverrideList)?|Anonymous(?:_LogEmail|_MustGiveEmail|_NoUserID|_VerifyEmail)?|AsyncRequestWorkerFactor|Auth(?:BasicAuthoritative|BasicFake|BasicProvider|BasicUseDigestAlgorithm|DBDUserPWQuery|DBDUserRealmQuery|DBMGroupFile|DBMType|DBMUserFile|Digest(?:Algorithm|Domain|NonceLifetime|Provider|Qop|ShmemSize)|Form(?:Authoritative|Body|DisableNoStore|FakeBasicAuth|Location|LoginRequiredLocation|LoginSuccessLocation|LogoutLocation|Method|Mimetype|Password|Provider|SitePassphrase|Size|Username)|GroupFile|LDAP(?:AuthorizePrefix|BindAuthoritative|BindDN|BindPassword|CharsetConfig|CompareAsUser|CompareDNOnServer|DereferenceAliases|GroupAttribute|GroupAttributeIsDN|InitialBindAsUser|InitialBindPattern|MaxSubGroupDepth|RemoteUserAttribute|RemoteUserIsDN|SearchAsUser|SubGroupAttribute|SubGroupClass|Url)|Merging|Name|nCache(?:Context|Enable|ProvideFor|SOCache|Timeout)|nzFcgiCheckAuthnProvider|nzFcgiDefineProvider|Type|UserFile|zDBDLoginToReferer|zDBDQuery|zDBDRedirectQuery|zDBMType|zSendForbiddenOnFailure)|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|Cache(?:DefaultExpire|DetailHeader|DirLength|DirLevels|Disable|Enable|File|Header|IgnoreCacheControl|IgnoreHeaders|IgnoreNoLastMod|IgnoreQueryString|IgnoreURLSessionIdentifiers|KeyBaseURL|LastModifiedFactor|Lock|LockMaxAge|LockPath|MaxExpire|MaxFileSize|MinExpire|MinFileSize|NegotiatedDocs|QuickHandler|ReadSize|ReadTime|Root|Socache(?:MaxSize|MaxTime|MinTime|ReadSize|ReadTime)?|StaleOnError|StoreExpired|StoreNoStore|StorePrivate)|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|Deflate(?:BufferSize|CompressionLevel|FilterNote|InflateLimitRequestBody|InflateRatio(?:Burst|Limit)|MemLevel|WindowSize)|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|Heartbeat(?:Address|Listen|MaxServers|Storage)|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|Index(?:HeadInsert|Ignore|IgnoreReset|Options|OrderDefault|StyleSheet)|InputSed|ISAPI(?:AppendLogToErrors|AppendLogToQuery|CacheFile|FakeAsync|LogNotSupported|ReadAheadBuffer)|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAP(?:CacheEntries|CacheTTL|ConnectionPoolTTL|ConnectionTimeout|LibraryDebug|OpCacheEntries|OpCacheTTL|ReferralHopLimit|Referrals|Retries|RetryDelay|SharedCacheFile|SharedCacheSize|Timeout|TrustedClientCert|TrustedGlobalCert|TrustedMode|VerifyServerCert)|Limit(?:InternalRecursion|Request(?:Body|Fields|FieldSize|Line)|XMLRequestBody)|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|Lua(?:Hook(?:AccessChecker|AuthChecker|CheckUserID|Fixups|InsertFilter|Log|MapToStorage|TranslateName|TypeChecker)|Inherit|InputFilter|MapHandler|OutputFilter|PackageCPath|PackagePath|QuickHandler|Root|Scope)|Max(?:ConnectionsPerChild|KeepAliveRequests|MemFree|RangeOverlaps|RangeReversals|Ranges|RequestWorkers|SpareServers|SpareThreads|Threads)|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|Proxy(?:AddHeaders|BadHeader|Block|Domain|ErrorOverride|ExpressDBMFile|ExpressDBMType|ExpressEnable|FtpDirCharset|FtpEscapeWildcards|FtpListOnWildcard|HTML(?:BufSize|CharsetOut|DocType|Enable|Events|Extended|Fixups|Interp|Links|Meta|StripComments|URLMap)|IOBufferSize|MaxForwards|Pass(?:Inherit|InterpolateEnv|Match|Reverse|ReverseCookieDomain|ReverseCookiePath)?|PreserveHost|ReceiveBufferSize|Remote|RemoteMatch|Requests|SCGIInternalRedirect|SCGISendfile|Set|SourceAddress|Status|Timeout|Via)|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIP(?:Header|InternalProxy|InternalProxyList|ProxiesHeader|TrustedProxy|TrustedProxyList)|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|Rewrite(?:Base|Cond|Engine|Map|Options|Rule)|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script(?:Alias|AliasMatch|InterpreterSource|Log|LogBuffer|LogLength|Sock)?|SecureListen|SeeRequestTail|SendBufferSize|Server(?:Admin|Alias|Limit|Name|Path|Root|Signature|Tokens)|Session(?:Cookie(?:Name|Name2|Remove)|Crypto(?:Cipher|Driver|Passphrase|PassphraseFile)|DBD(?:CookieName|CookieName2|CookieRemove|DeleteLabel|InsertLabel|PerUser|SelectLabel|UpdateLabel)|Env|Exclude|Header|Include|MaxAge)?|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSL(?:CACertificateFile|CACertificatePath|CADNRequestFile|CADNRequestPath|CARevocationCheck|CARevocationFile|CARevocationPath|CertificateChainFile|CertificateFile|CertificateKeyFile|CipherSuite|Compression|CryptoDevice|Engine|FIPS|HonorCipherOrder|InsecureRenegotiation|OCSP(?:DefaultResponder|Enable|OverrideResponder|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|UseRequestNonce)|OpenSSLConfCmd|Options|PassPhraseDialog|Protocol|Proxy(?:CACertificateFile|CACertificatePath|CARevocation(?:Check|File|Path)|CheckPeer(?:CN|Expire|Name)|CipherSuite|Engine|MachineCertificate(?:ChainFile|File|Path)|Protocol|Verify|VerifyDepth)|RandomSeed|RenegBufferSize|Require|RequireSSL|Session(?:Cache|CacheTimeout|TicketKeyFile|Tickets)|SRPUnknownUserSeed|SRPVerifierFile|Stapling(?:Cache|ErrorCacheTimeout|FakeTryLater|ForceURL|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|ReturnResponderErrors|StandardCacheTimeout)|StrictSNIVHostCheck|UserName|UseStapling|VerifyClient|VerifyDepth)|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|Virtual(?:DocumentRoot|ScriptAlias)(?:IP)?|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,lookbehind:!0,alias:"property"},"directive-block":{pattern:/<\/?\b(?:Auth[nz]ProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|Require(?:All|Any|None)|VirtualHost)\b.*>/i,inside:{"directive-block":{pattern:/^<\/?\w+/,inside:{punctuation:/^<\/?/},alias:"tag"},"directive-block-parameter":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}}},alias:"attr-value"},punctuation:/>/},alias:"tag"},"directive-flags":{pattern:/\[(?:[\w=],?)+\]/,alias:"keyword"},string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}},variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/,regex:/\^?.*\$|\^.*\$?/}}function ah(e){e.register(Kc),e.register(Cu),function(e){var t=/\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,n=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(//g,(function(){return t.source}));function r(e){return RegExp(e.replace(//g,(function(){return n})),"i")}var i={keyword:t,punctuation:/[()\[\]{};,:.<>]/};e.languages.apex={comment:e.languages.clike.comment,string:e.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:e.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:r(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)/.source),lookbehind:!0,inside:i},{pattern:r(/(\(\s*)(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:i},{pattern:r(/(?=\s*\w+\s*[;=,(){:])/.source),inside:i}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:t,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,operator:/[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<{1,3}=?/,punctuation:/[()\[\]{};,.]/}}(e)}function sh(e){e.languages.apl={comment:/(?:⍝|#[! ]).*$/m,string:{pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/¯?(?:\d*\.?\b\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+)?|¯|∞))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/⎕[A-Z]+/i,alias:"function"},constant:/[⍬⌾#⎕⍞]/,function:/[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/,"monadic-operator":{pattern:/[\\\/⌿⍀¨⍨⌶&∥]/,alias:"operator"},"dyadic-operator":{pattern:/[.⍣⍠⍤∘⌸@⌺⍥]/,alias:"operator"},assignment:{pattern:/←/,alias:"keyword"},punctuation:/[\[;\]()◇⋄]/,dfn:{pattern:/[{}⍺⍵⍶⍹∇⍫:]/,alias:"builtin"}}}function lh(e){e.languages.applescript={comment:[/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\.|[^"\\\r\n])*"/,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,operator:[/[&=≠≤≥*+\-\/÷^]|[<>]=?/,/\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/],keyword:/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,"class-name":/\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,punctuation:/[{}():,¬«»《》]/}}function ch(e){e.languages.aql={comment:/\/\/.*|\/\*[\s\S]*?\*\//,property:{pattern:/([{,]\s*)(?:(?!\d)\w+|(["'´`])(?:(?!\2)[^\\\r\n]|\\.)*\2)(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},identifier:{pattern:/([´`])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},variable:/@@?\w+/,keyword:[{pattern:/(\bWITH\s+)COUNT(?=\s+INTO\b)/i,lookbehind:!0},/\b(?:AGGREGATE|ALL|AND|ANY|ASC|COLLECT|DESC|DISTINCT|FILTER|FOR|GRAPH|IN|INBOUND|INSERT|INTO|K_PATHS|K_SHORTEST_PATHS|LET|LIKE|LIMIT|NONE|NOT|NULL|OR|OUTBOUND|REMOVE|REPLACE|RETURN|SHORTEST_PATH|SORT|UPDATE|UPSERT|WINDOW|WITH)\b/i,{pattern:/(^|[^\w.[])(?:KEEP|PRUNE|SEARCH|TO)\b/i,lookbehind:!0},{pattern:/(^|[^\w.[])(?:CURRENT|NEW|OLD)\b/,lookbehind:!0},{pattern:/\bOPTIONS(?=\s*\{)/i}],function:/\b(?!\d)\w+(?=\s*\()/,boolean:/\b(?:false|true)\b/i,range:{pattern:/\.\./,alias:"operator"},number:[/\b0b[01]+/i,/\b0x[0-9a-f]+/i,/(?:\B\.\d+|\b(?:0|[1-9]\d*)(?:\.\d+)?)(?:e[+-]?\d+)?/i],operator:/\*{2,}|[=!]~|[!=<>]=?|&&|\|\||[-+*/%]/,punctuation:/::|[?.:,;()[\]{}]/}}function uh(e){e.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/}}function hh(e){e.languages.armasm={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"/,greedy:!0,inside:{variable:{pattern:/((?:^|[^$])(?:\${2})*)\$\w+/,lookbehind:!0}}},char:{pattern:/'(?:[^'\r\n]{0,4}|'')'/,greedy:!0},"version-symbol":{pattern:/\|[\w@]+\|/,greedy:!0,alias:"property"},boolean:/\b(?:FALSE|TRUE)\b/,directive:{pattern:/\b(?:ALIAS|ALIGN|AREA|ARM|ASSERT|ATTR|CN|CODE|CODE16|CODE32|COMMON|CP|DATA|DCB|DCD|DCDO|DCDU|DCFD|DCFDU|DCI|DCQ|DCQU|DCW|DCWU|DN|ELIF|ELSE|END|ENDFUNC|ENDIF|ENDP|ENTRY|EQU|EXPORT|EXPORTAS|EXTERN|FIELD|FILL|FN|FUNCTION|GBLA|GBLL|GBLS|GET|GLOBAL|IF|IMPORT|INCBIN|INCLUDE|INFO|KEEP|LCLA|LCLL|LCLS|LTORG|MACRO|MAP|MEND|MEXIT|NOFP|OPT|PRESERVE8|PROC|QN|READONLY|RELOC|REQUIRE|REQUIRE8|RLIST|ROUT|SETA|SETL|SETS|SN|SPACE|SUBT|THUMB|THUMBX|TTL|WEND|WHILE)\b/,alias:"property"},instruction:{pattern:/((?:^|(?:^|[^\\])(?:\r\n?|\n))[ \t]*(?:(?:[A-Z][A-Z0-9_]*[a-z]\w*|[a-z]\w*|\d+)[ \t]+)?)\b[A-Z.]+\b/,lookbehind:!0,alias:"keyword"},variable:/\$\w+/,number:/(?:\b[2-9]_\d+|(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e-?\d+)?|\b0(?:[fd]_|x)[0-9a-f]+|&[0-9a-f]+)\b/i,register:{pattern:/\b(?:r\d|lr)\b/,alias:"symbol"},operator:/<>|<<|>>|&&|\|\||[=!<>/]=?|[+\-*%#?&|^]|:[A-Z]+:/,punctuation:/[()[\],]/},e.languages["arm-asm"]=e.languages.armasm}function ph(e){!function(e){var t=function(t,n){return{pattern:RegExp(/\{!/.source+"(?:"+(n||t)+")"+/$[\s\S]*\}/.source,"m"),greedy:!0,inside:{embedded:{pattern:/(^\{!\w+\b)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-"+t,inside:e.languages[t]},string:/[\s\S]+/}}};e.languages.arturo={comment:{pattern:/;.*/,greedy:!0},character:{pattern:/`.`/,alias:"char",greedy:!0},number:{pattern:/\b\d+(?:\.\d+(?:\.\d+(?:-[\w+-]+)?)?)?\b/},string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},regex:{pattern:/\{\/.*?\/\}/,greedy:!0},"html-string":t("html"),"css-string":t("css"),"js-string":t("js"),"md-string":t("md"),"sql-string":t("sql"),"sh-string":t("shell","sh"),multistring:{pattern:/».*|\{:[\s\S]*?:\}|\{[\s\S]*?\}|^-{6}$[\s\S]*/m,alias:"string",greedy:!0},label:{pattern:/\w+\b\??:/,alias:"property"},literal:{pattern:/'(?:\w+\b\??:?)/,alias:"constant"},type:{pattern:/:(?:\w+\b\??:?)/,alias:"class-name"},color:/#\w+/,predicate:{pattern:/\b(?:all|and|any|ascii|attr|attribute|attributeLabel|binary|block|char|contains|database|date|dictionary|empty|equal|even|every|exists|false|floating|function|greater|greaterOrEqual|if|in|inline|integer|is|key|label|leap|less|lessOrEqual|literal|logical|lower|nand|negative|nor|not|notEqual|null|numeric|odd|or|path|pathLabel|positive|prefix|prime|regex|same|set|some|sorted|standalone|string|subset|suffix|superset|symbol|symbolLiteral|true|try|type|unless|upper|when|whitespace|word|xnor|xor|zero)\?/,alias:"keyword"},"builtin-function":{pattern:/\b(?:abs|acos|acosh|acsec|acsech|actan|actanh|add|after|alert|alias|and|angle|append|arg|args|arity|array|as|asec|asech|asin|asinh|atan|atan2|atanh|attr|attrs|average|before|benchmark|blend|break|call|capitalize|case|ceil|chop|clear|clip|close|color|combine|conj|continue|copy|cos|cosh|crc|csec|csech|ctan|ctanh|cursor|darken|dec|decode|define|delete|desaturate|deviation|dialog|dictionary|difference|digest|digits|div|do|download|drop|dup|e|else|empty|encode|ensure|env|escape|execute|exit|exp|extend|extract|factors|fdiv|filter|first|flatten|floor|fold|from|function|gamma|gcd|get|goto|hash|hypot|if|inc|indent|index|infinity|info|input|insert|inspect|intersection|invert|jaro|join|keys|kurtosis|last|let|levenshtein|lighten|list|ln|log|loop|lower|mail|map|match|max|median|min|mod|module|mul|nand|neg|new|nor|normalize|not|now|null|open|or|outdent|pad|palette|panic|path|pause|permissions|permutate|pi|pop|popup|pow|powerset|powmod|prefix|print|prints|process|product|query|random|range|read|relative|remove|rename|render|repeat|replace|request|return|reverse|round|sample|saturate|script|sec|sech|select|serve|set|shl|shr|shuffle|sin|sinh|size|skewness|slice|sort|spin|split|sqrt|squeeze|stack|strip|sub|suffix|sum|switch|symbols|symlink|sys|take|tan|tanh|terminal|terminate|to|truncate|try|type|unclip|union|unique|unless|until|unzip|upper|values|var|variance|volume|webview|while|with|wordwrap|write|xnor|xor|zip)\b/,alias:"keyword"},sugar:{pattern:/->|=>|\||::/,alias:"operator"},punctuation:/[()[\],]/,symbol:{pattern:/<:|-:|ø|@|#|\+|\||\*|\$|---|-|%|\/|\.\.|\^|~|=|<|>|\\/},boolean:{pattern:/\b(?:false|maybe|true)\b/}},e.languages.art=e.languages.arturo}(e)}function dh(e){!function(e){var t={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},n=e.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})$[\s\S]*?^\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})$[\s\S]*?^\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})$[\s\S]*?^\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})$[\s\S]*?^\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:t,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:t.inside}}},inline:{pattern:/(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,lookbehind:!0,inside:{attributes:t,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|R|TM)\)/,alias:"builtin"},entity:/&#?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}};function r(e){for(var t={},r=0,i=(e=e.split(" ")).length;r/,alias:"tag",inside:{"page-directive":{pattern:/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,alias:"tag"},rest:e.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:e.languages.csharp}}}),e.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,e.languages.insertBefore("inside","punctuation",{directive:e.languages.aspnet.directive},e.languages.aspnet.tag.inside["attr-value"]),e.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),e.languages.insertBefore("aspnet",e.languages.javascript?"script":"tag",{"asp-script":{pattern:/(]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:e.languages.csharp||{}}})}function mh(e){e.languages.asm6502={comment:/;.*/,directive:{pattern:/\.\w+(?= )/,alias:"property"},string:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,"op-code":{pattern:/\b(?:ADC|AND|ASL|BCC|BCS|BEQ|BIT|BMI|BNE|BPL|BRK|BVC|BVS|CLC|CLD|CLI|CLV|CMP|CPX|CPY|DEC|DEX|DEY|EOR|INC|INX|INY|JMP|JSR|LDA|LDX|LDY|LSR|NOP|ORA|PHA|PHP|PLA|PLP|ROL|ROR|RTI|RTS|SBC|SEC|SED|SEI|STA|STX|STY|TAX|TAY|TSX|TXA|TXS|TYA|adc|and|asl|bcc|bcs|beq|bit|bmi|bne|bpl|brk|bvc|bvs|clc|cld|cli|clv|cmp|cpx|cpy|dec|dex|dey|eor|inc|inx|iny|jmp|jsr|lda|ldx|ldy|lsr|nop|ora|pha|php|pla|plp|rol|ror|rti|rts|sbc|sec|sed|sei|sta|stx|sty|tax|tay|tsx|txa|txs|tya)\b/,alias:"keyword"},"hex-number":{pattern:/#?\$[\da-f]{1,4}\b/i,alias:"number"},"binary-number":{pattern:/#?%[01]+\b/,alias:"number"},"decimal-number":{pattern:/#?\b\d+\b/,alias:"number"},register:{pattern:/\b[xya]\b/i,alias:"variable"},punctuation:/[(),:]/}}function gh(e){e.languages.asmatmel={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},constant:/\b(?:PORT[A-Z]|DDR[A-Z]|(?:DD|P)[A-Z](?:\d|[0-2]\d|3[01]))\b/,directive:{pattern:/\.\w+(?= )/,alias:"property"},"r-register":{pattern:/\br(?:\d|[12]\d|3[01])\b/,alias:"variable"},"op-code":{pattern:/\b(?:ADC|ADD|ADIW|AND|ANDI|ASR|BCLR|BLD|BRBC|BRBS|BRCC|BRCS|BREAK|BREQ|BRGE|BRHC|BRHS|BRID|BRIE|BRLO|BRLT|BRMI|BRNE|BRPL|BRSH|BRTC|BRTS|BRVC|BRVS|BSET|BST|CALL|CBI|CBR|CLC|CLH|CLI|CLN|CLR|CLS|CLT|CLV|CLZ|COM|CP|CPC|CPI|CPSE|DEC|DES|EICALL|EIJMP|ELPM|EOR|FMUL|FMULS|FMULSU|ICALL|IJMP|IN|INC|JMP|LAC|LAS|LAT|LD|LD[A-Za-z0-9]|LPM|LSL|LSR|MOV|MOVW|MUL|MULS|MULSU|NEG|NOP|OR|ORI|OUT|POP|PUSH|RCALL|RET|RETI|RJMP|ROL|ROR|SBC|SBCI|SBI|SBIC|SBIS|SBIW|SBR|SBRC|SBRS|SEC|SEH|SEI|SEN|SER|SES|SET|SEV|SEZ|SLEEP|SPM|ST|ST[A-Z0-9]|SUB|SUBI|SWAP|TST|WDR|XCH|adc|add|adiw|and|andi|asr|bclr|bld|brbc|brbs|brcc|brcs|break|breq|brge|brhc|brhs|brid|brie|brlo|brlt|brmi|brne|brpl|brsh|brtc|brts|brvc|brvs|bset|bst|call|cbi|cbr|clc|clh|cli|cln|clr|cls|clt|clv|clz|com|cp|cpc|cpi|cpse|dec|des|eicall|eijmp|elpm|eor|fmul|fmuls|fmulsu|icall|ijmp|in|inc|jmp|lac|las|lat|ld|ld[a-z0-9]|lpm|lsl|lsr|mov|movw|mul|muls|mulsu|neg|nop|or|ori|out|pop|push|rcall|ret|reti|rjmp|rol|ror|sbc|sbci|sbi|sbic|sbis|sbiw|sbr|sbrc|sbrs|sec|seh|sei|sen|ser|ses|set|sev|sez|sleep|spm|st|st[a-zA-Z0-9]|sub|subi|swap|tst|wdr|xch)\b/,alias:"keyword"},"hex-number":{pattern:/#?\$[\da-f]{2,4}\b/i,alias:"number"},"binary-number":{pattern:/#?%[01]+\b/,alias:"number"},"decimal-number":{pattern:/#?\b\d+\b/,alias:"number"},register:{pattern:/\b[acznvshtixy]\b/i,alias:"variable"},operator:/>>=?|<<=?|&[&=]?|\|[\|=]?|[-+*/%^!=<>?]=?/,punctuation:/[(),:]/}}function yh(e){e.languages.autohotkey={comment:[{pattern:/(^|\s);.*/,lookbehind:!0},{pattern:/(^[\t ]*)\/\*(?:[\r\n](?![ \t]*\*\/)|[^\r\n])*(?:[\r\n][ \t]*\*\/)?/m,lookbehind:!0,greedy:!0}],tag:{pattern:/^([ \t]*)[^\s,`":]+(?=:[ \t]*$)/m,lookbehind:!0},string:/"(?:[^"\n\r]|"")*"/,variable:/%\w+%/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/,boolean:/\b(?:false|true)\b/,command:{pattern:/\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegView|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,alias:"selector"},constant:/\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i,builtin:/\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i,symbol:/\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,directive:{pattern:/#[a-z]+\b/i,alias:"important"},keyword:/\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i,function:/[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/,punctuation:/[{}[\]():,]/}}function vh(e){e.languages.autoit={comment:[/;.*/,{pattern:/(^[\t ]*)#(?:comments-start|cs)[\s\S]*?^[ \t]*#(?:ce|comments-end)/m,lookbehind:!0}],url:{pattern:/(^[\t ]*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m,lookbehind:!0},string:{pattern:/(["'])(?:\1\1|(?!\1)[^\r\n])*\1/,greedy:!0,inside:{variable:/([%$@])\w+\1/}},directive:{pattern:/(^[\t ]*)#[\w-]+/m,lookbehind:!0,alias:"keyword"},function:/\b\w+(?=\()/,variable:/[$@]\w+/,keyword:/\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,boolean:/\b(?:False|True)\b/i,operator:/<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Not|Or)\b/i,punctuation:/[\[\]().,:]/}}function _h(e){!function(e){function t(e,t,n){return RegExp(function(e,t){return e.replace(/<<(\d+)>>/g,(function(e,n){return t[+n]}))}(e,t),n||"")}var n=/bool|clip|float|int|string|val/.source,r=[[/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/.source,/apply|assert|default|eval|import|nop|select|undefined/.source,/opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/.source,/hex(?:value)?|value/.source,/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/.source,/a?sinh?|a?cosh?|a?tan[2h]?/.source,/(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/.source,/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/.source,/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/.source,/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/.source,/isversionorgreater|version(?:number|string)/.source,/buildpixeltype|colorspacenametopixeltype/.source,/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source].join("|"),[/has(?:audio|video)/.source,/height|width/.source,/frame(?:count|rate)|framerate(?:denominator|numerator)/.source,/getparity|is(?:field|frame)based/.source,/bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/.source,/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/.source].join("|"),[/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/.source,/coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/.source,/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source,/addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/.source,/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/.source,/trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/.source,/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/.source,/amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/.source,/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/.source,/imagewriter/.source,/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/.source].join("|")].join("|");e.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:t(/\b(?:<<0>>)\s+("?)\w+\1/.source,[n],"i"),inside:{keyword:/^\w+/}},"argument-label":{pattern:/([,(][\s\\]*)\w+\s*=(?!=)/,lookbehind:!0,inside:{"argument-name":{pattern:/^\w+/,alias:"punctuation"},punctuation:/=$/}},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0,inside:{constant:{pattern:/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/}}}],variable:/\b(?:last)\b/i,boolean:/\b(?:false|no|true|yes)\b/i,keyword:/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,constant:/\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,"builtin-function":{pattern:t(/\b(?:<<0>>)\b/.source,[r],"i"),alias:"function"},"type-cast":{pattern:t(/\b(?:<<0>>)(?=\s*\()/.source,[n],"i"),alias:"keyword"},function:{pattern:/\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,lookbehind:!0},"line-continuation":{pattern:/(^[ \t]*)\\|\\(?=[ \t]*$)/m,lookbehind:!0,alias:"punctuation"},number:/\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,operator:/\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,punctuation:/[{}\[\]();,.]/},e.languages.avs=e.languages.avisynth}(e)}function bh(e){e.languages["avro-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0},annotation:{pattern:/@(?:[$\w.-]|`[^\r\n`]+`)+/,greedy:!0,alias:"function"},"function-identifier":{pattern:/`[^\r\n`]+`(?=\s*\()/,greedy:!0,alias:"function"},identifier:{pattern:/`[^\r\n`]+`/,greedy:!0},"class-name":{pattern:/(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,lookbehind:!0,greedy:!0},keyword:/\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:[{pattern:/(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,lookbehind:!0},/-?\b(?:Infinity|NaN)\b/],operator:/=/,punctuation:/[()\[\]{}<>.:,;-]/},e.languages.avdl=e.languages["avro-idl"]}function Eh(e){e.languages.awk={hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\\"\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},regex:{pattern:/((?:^|[^\w\s)])\s*)\/(?:[^\/\\\r\n]|\\.)*\//,lookbehind:!0,greedy:!0},variable:/\$\w+/,keyword:/\b(?:BEGIN|BEGINFILE|END|ENDFILE|break|case|continue|default|delete|do|else|exit|for|function|getline|if|in|next|nextfile|printf?|return|switch|while)\b|@(?:include|load)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[a-fA-F0-9]+)\b/,operator:/--|\+\+|!?~|>&|>>|<<|(?:\*\*|[<>!=+\-*/%^])=?|&&|\|[|&]|[?:]/,punctuation:/[()[\]{},;]/},e.languages.gawk=e.languages.awk}function Th(e){!function(e){var t=/%%?[~:\w]+%?|!\S+!/,n={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},r=/"(?:[\\"]"|[^"])*"(?!")/,i=/(?:\b|-)\d+\b/;e.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/\b(?:do|in)\b|^for\b/i,string:r,parameter:n,variable:t,number:i,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,lookbehind:!0,inside:{keyword:/\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,string:r,parameter:n,variable:t,number:i,operator:/\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:r,parameter:n,variable:[t,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:i,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:r,parameter:n,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:t,number:i,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}}(e)}function xh(e){e.languages.bbcode={tag:{pattern:/\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,inside:{tag:{pattern:/^\[\/?[^\s=\]]+/,inside:{punctuation:/^\[\/?/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\]/,"attr-name":/[^\s=\]]+/}}},e.languages.shortcode=e.languages.bbcode}function Sh(e){!function(e){e.languages.bbj={comment:{pattern:/(^|[^\\:])rem\s+.*/i,lookbehind:!0,greedy:!0},string:{pattern:/(['"])(?:(?!\1|\\).|\\.)*\1/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:abstract|all|argc|begin|bye|callback|case|chn|class|classend|ctl|day|declare|delete|dim|dom|dread|dsz|else|end|endif|err|exitto|extends|fi|field|for|from|gosub|goto|if|implements|interface|interfaceend|iol|iolist|let|list|load|method|methodend|methodret|on|opts|pfx|print|private|process_events|protected|psz|public|read|read_resource|release|remove_callback|repeat|restore|return|rev|seterr|setesc|sqlchn|sqlunt|ssn|start|static|swend|switch|sys|then|tim|unt|until|use|void|wend|where|while)\b/i,function:/\b\w+(?=\()/,boolean:/\b(?:BBjAPI\.TRUE|BBjAPI\.FALSE)\b/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:and|not|or|xor)\b/i,punctuation:/[.,;:()]/}}(e)}function Ch(e){e.languages.bicep={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],property:[{pattern:/([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,lookbehind:!0},{pattern:/([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,lookbehind:!0,greedy:!0}],string:[{pattern:/'''[^'][\s\S]*?'''/,greedy:!0},{pattern:/(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0}],"interpolated-string":{pattern:/(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}\r\n]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0},punctuation:/^\$\{|\}$/}},string:/[\s\S]+/}},datatype:{pattern:/(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,lookbehind:!0,alias:"class-name"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,decorator:/@\w+\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,punctuation:/[{}[\];(),.:]/},e.languages.bicep["interpolated-string"].inside.interpolation.inside.expression.inside=e.languages.bicep}function Ah(e){e.register(Kc),e.languages.birb=e.languages.extend("clike",{string:{pattern:/r?("|')(?:\\.|(?!\1)[^\\])*\1/,greedy:!0},"class-name":[/\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/,/\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/],keyword:/\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,operator:/\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,variable:/\b[a-z_]\w*\b/}),e.languages.insertBefore("birb","function",{metadata:{pattern:/<\w+>/,greedy:!0,alias:"symbol"}})}function Rh(e){e.register(qc),e.languages.bison=e.languages.extend("c",{}),e.languages.insertBefore("bison","comment",{bison:{pattern:/^(?:[^%]|%(?!%))*%%[\s\S]*?%%/,inside:{c:{pattern:/%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,inside:{delimiter:{pattern:/^%?\{|%?\}$/,alias:"punctuation"},"bison-variable":{pattern:/[$@](?:<[^\s>]+>)?[\w$]+/,alias:"variable",inside:{punctuation:/<|>/}},rest:e.languages.c}},comment:e.languages.c.comment,string:e.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}})}function wh(e){e.languages.bnf={string:{pattern:/"[^\r\n"]*"|'[^\r\n']*'/},definition:{pattern:/<[^<>\r\n\t]+>(?=\s*::=)/,alias:["rule","keyword"],inside:{punctuation:/^<|>$/}},rule:{pattern:/<[^<>\r\n\t]+>/,inside:{punctuation:/^<|>$/}},operator:/::=|[|()[\]{}*+?]|\.{3}/},e.languages.rbnf=e.languages.bnf}function Lh(e){e.languages.bqn={shebang:{pattern:/^#![ \t]*\/.*/,alias:"important",greedy:!0},comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/"(?:[^"]|"")*"/,greedy:!0,alias:"string"},"character-literal":{pattern:/'(?:[\s\S]|[\uD800-\uDBFF][\uDC00-\uDFFF])'/,greedy:!0,alias:"char"},function:/•[\w¯.∞π]+[\w¯.∞π]*/,"dot-notation-on-brackets":{pattern:/\{(?=.*\}\.)|\}\./,alias:"namespace"},"special-name":{pattern:/(?:𝕨|𝕩|𝕗|𝕘|𝕤|𝕣|𝕎|𝕏|𝔽|𝔾|𝕊|_𝕣_|_𝕣)/,alias:"keyword"},"dot-notation-on-name":{pattern:/[A-Za-z_][\w¯∞π]*\./,alias:"namespace"},"word-number-scientific":{pattern:/\d+(?:\.\d+)?[eE]¯?\d+/,alias:"number"},"word-name":{pattern:/[A-Za-z_][\w¯∞π]*/,alias:"symbol"},"word-number":{pattern:/[¯∞π]?(?:\d*\.?\b\d+(?:e[+¯]?\d+|E[+¯]?\d+)?|¯|∞|π)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+|E[+¯]?\d+)?|¯|∞|π))?/,alias:"number"},"null-literal":{pattern:/@/,alias:"char"},"primitive-functions":{pattern:/[-+×÷⋆√⌊⌈|¬∧∨<>≠=≤≥≡≢⊣⊢⥊∾≍⋈↑↓↕«»⌽⍉/⍋⍒⊏⊑⊐⊒∊⍷⊔!]/,alias:"operator"},"primitive-1-operators":{pattern:/[`˜˘¨⁼⌜´˝˙]/,alias:"operator"},"primitive-2-operators":{pattern:/[∘⊸⟜○⌾⎉⚇⍟⊘◶⎊]/,alias:"operator"},punctuation:/[←⇐↩(){}⟨⟩[\]‿·⋄,.;:?]/}}function Oh(e){e.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}function Nh(e){e.languages.brightscript={comment:/(?:\brem|').*/i,"directive-statement":{pattern:/(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,lookbehind:!0,alias:"property",inside:{"error-message":{pattern:/(^#error).+/,lookbehind:!0},directive:{pattern:/^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,alias:"keyword"},expression:{pattern:/[\s\S]+/,inside:null}}},property:{pattern:/([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},"class-name":{pattern:/(\bAs[\t ]+)\w+/i,lookbehind:!0},keyword:/\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?!\d)\w+(?=[\t ]*\()/,number:/(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,operator:/--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,punctuation:/[.,;()[\]{}]/,constant:/\b(?:LINE_NUM)\b/i},e.languages.brightscript["directive-statement"].inside.expression.inside=e.languages.brightscript}function Ih(e){e.languages.bro={comment:{pattern:/(^|[^\\$])#.*/,lookbehind:!0,inside:{italic:/\b(?:FIXME|TODO|XXX)\b/}},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},boolean:/\b[TF]\b/,function:{pattern:/(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,lookbehind:!0},builtin:/(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,constant:{pattern:/(\bconst[ \t]+)\w+/i,lookbehind:!0},keyword:/\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,punctuation:/[{}[\];(),.:]/}}function kh(e){e.languages.bsl={comment:/\/\/.*/,string:[{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},{pattern:/'(?:[^'\r\n\\]|\\.)*'/}],keyword:[{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|для|новый|прервать|попытка|исключение|вызватьисключение|иначе|конецпопытки|неопределено|функция|перем|возврат|конецфункции|если|иначеесли|процедура|конецпроцедуры|тогда|знач|экспорт|конецесли|из|каждого|истина|ложь|по|цикл|конеццикла|выполнить)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i}],number:{pattern:/(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,lookbehind:!0},operator:[/[<>+\-*/]=?|[%=]/,{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:and|not|or)\b/i}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/,directive:[{pattern:/^([ \t]*)&.*/m,lookbehind:!0,greedy:!0,alias:"important"},{pattern:/^([ \t]*)#.*/gm,lookbehind:!0,greedy:!0,alias:"important"}]},e.languages.oscript=e.languages.bsl}function Dh(e){e.register(Kc),e.languages.cfscript=e.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,inside:{annotation:{pattern:/(?:^|[^.])@[\w\.]+/,alias:"punctuation"}}},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],keyword:/\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,operator:[/\+\+|--|&&|\|\||::|=>|[!=]==|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|:/,/\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/],scope:{pattern:/\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,alias:"global"},type:{pattern:/\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,alias:"builtin"}}),e.languages.insertBefore("cfscript","keyword",{"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"}}),delete e.languages.cfscript["class-name"],e.languages.cfc=e.languages.cfscript}function Ph(e){e.register(Kc),e.register(Xc),e.languages.chaiscript=e.languages.extend("clike",{string:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/,lookbehind:!0,greedy:!0},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},{pattern:/(\b(?:attr|def)\s+)\w+(?=\s*::)/,lookbehind:!0}],keyword:/\b(?:attr|auto|break|case|catch|class|continue|def|default|else|finally|for|fun|global|if|return|switch|this|try|var|while)\b/,number:[e.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/}),e.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}}),e.languages.insertBefore("chaiscript","string",{"string-interpolation":{pattern:/(^|[^\\])"(?:[^"$\\]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\}/,lookbehind:!0,inside:{"interpolation-expression":{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}})}function Mh(e){e.languages.cil={comment:/\/\/.*/,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},directive:{pattern:/(^|\W)\.[a-z]+(?=\s)/,lookbehind:!0,alias:"class-name"},variable:/\[[\w\.]+\]/,keyword:/\b(?:abstract|ansi|assembly|auto|autochar|beforefieldinit|bool|bstr|byvalstr|catch|char|cil|class|currency|date|decimal|default|enum|error|explicit|extends|extern|famandassem|family|famorassem|final(?:ly)?|float32|float64|hidebysig|u?int(?:8|16|32|64)?|iant|idispatch|implements|import|initonly|instance|interface|iunknown|literal|lpstr|lpstruct|lptstr|lpwstr|managed|method|native(?:Type)?|nested|newslot|object(?:ref)?|pinvokeimpl|private|privatescope|public|reqsecobj|rtspecialname|runtime|sealed|sequential|serializable|specialname|static|string|struct|syschar|tbstr|unicode|unmanagedexp|unsigned|value(?:type)?|variant|virtual|void)\b/,function:/\b(?:(?:constrained|no|readonly|tail|unaligned|volatile)\.)?(?:conv\.(?:[iu][1248]?|ovf\.[iu][1248]?(?:\.un)?|r\.un|r4|r8)|ldc\.(?:i4(?:\.\d+|\.[mM]1|\.s)?|i8|r4|r8)|ldelem(?:\.[iu][1248]?|\.r[48]|\.ref|a)?|ldind\.(?:[iu][1248]?|r[48]|ref)|stelem\.?(?:i[1248]?|r[48]|ref)?|stind\.(?:i[1248]?|r[48]|ref)?|end(?:fault|filter|finally)|ldarg(?:\.[0-3s]|a(?:\.s)?)?|ldloc(?:\.\d+|\.s)?|sub(?:\.ovf(?:\.un)?)?|mul(?:\.ovf(?:\.un)?)?|add(?:\.ovf(?:\.un)?)?|stloc(?:\.[0-3s])?|refany(?:type|val)|blt(?:\.un)?(?:\.s)?|ble(?:\.un)?(?:\.s)?|bgt(?:\.un)?(?:\.s)?|bge(?:\.un)?(?:\.s)?|unbox(?:\.any)?|init(?:blk|obj)|call(?:i|virt)?|brfalse(?:\.s)?|bne\.un(?:\.s)?|ldloca(?:\.s)?|brzero(?:\.s)?|brtrue(?:\.s)?|brnull(?:\.s)?|brinst(?:\.s)?|starg(?:\.s)?|leave(?:\.s)?|shr(?:\.un)?|rem(?:\.un)?|div(?:\.un)?|clt(?:\.un)?|alignment|castclass|ldvirtftn|beq(?:\.s)?|ckfinite|ldsflda|ldtoken|localloc|mkrefany|rethrow|cgt\.un|arglist|switch|stsfld|sizeof|newobj|newarr|ldsfld|ldnull|ldflda|isinst|throw|stobj|stfld|ldstr|ldobj|ldlen|ldftn|ldfld|cpobj|cpblk|break|br\.s|xor|shl|ret|pop|not|nop|neg|jmp|dup|cgt|ceq|box|and|or|br)\b/,boolean:/\b(?:false|true)\b/,number:/\b-?(?:0x[0-9a-f]+|\d+)(?:\.[0-9a-f]+)?\b/i,punctuation:/[{}[\];(),:=]|IL_[0-9A-Za-z]+/}}function Fh(e){e.register(qc),e.languages.cilkc=e.languages.insertBefore("c","function",{"parallel-keyword":{pattern:/\bcilk_(?:for|reducer|s(?:cope|pawn|ync))\b/,alias:"keyword"}}),e.languages["cilk-c"]=e.languages.cilkc}function Hh(e){e.register(Xc),e.languages.cilkcpp=e.languages.insertBefore("cpp","function",{"parallel-keyword":{pattern:/\bcilk_(?:for|reducer|s(?:cope|pawn|ync))\b/,alias:"keyword"}}),e.languages["cilk-cpp"]=e.languages.cilkcpp,e.languages.cilk=e.languages.cilkcpp}function Bh(e){e.languages.clojure={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},char:/\\\w+/,symbol:{pattern:/(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,lookbehind:!0},keyword:{pattern:/(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,lookbehind:!0},boolean:/\b(?:false|nil|true)\b/,number:{pattern:/(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,lookbehind:!0},function:{pattern:/((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,lookbehind:!0},operator:/[#@^`~]/,punctuation:/[{}\[\](),]/}}function Uh(e){e.languages.cmake={comment:/#.*/,string:{pattern:/"(?:[^\\"]|\\.)*"/,greedy:!0,inside:{interpolation:{pattern:/\$\{(?:[^{}$]|\$\{[^{}$]*\})*\}/,inside:{punctuation:/\$\{|\}/,variable:/\w+/}}}},variable:/\b(?:CMAKE_\w+|\w+_(?:(?:BINARY|SOURCE)_DIR|DESCRIPTION|HOMEPAGE_URL|ROOT|VERSION(?:_MAJOR|_MINOR|_PATCH|_TWEAK)?)|(?:ANDROID|APPLE|BORLAND|BUILD_SHARED_LIBS|CACHE|CPACK_(?:ABSOLUTE_DESTINATION_FILES|COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY|ERROR_ON_ABSOLUTE_INSTALL_DESTINATION|INCLUDE_TOPLEVEL_DIRECTORY|INSTALL_DEFAULT_DIRECTORY_PERMISSIONS|INSTALL_SCRIPT|PACKAGING_INSTALL_PREFIX|SET_DESTDIR|WARN_ON_ABSOLUTE_INSTALL_DESTINATION)|CTEST_(?:BINARY_DIRECTORY|BUILD_COMMAND|BUILD_NAME|BZR_COMMAND|BZR_UPDATE_OPTIONS|CHANGE_ID|CHECKOUT_COMMAND|CONFIGURATION_TYPE|CONFIGURE_COMMAND|COVERAGE_COMMAND|COVERAGE_EXTRA_FLAGS|CURL_OPTIONS|CUSTOM_(?:COVERAGE_EXCLUDE|ERROR_EXCEPTION|ERROR_MATCH|ERROR_POST_CONTEXT|ERROR_PRE_CONTEXT|MAXIMUM_FAILED_TEST_OUTPUT_SIZE|MAXIMUM_NUMBER_OF_(?:ERRORS|WARNINGS)|MAXIMUM_PASSED_TEST_OUTPUT_SIZE|MEMCHECK_IGNORE|POST_MEMCHECK|POST_TEST|PRE_MEMCHECK|PRE_TEST|TESTS_IGNORE|WARNING_EXCEPTION|WARNING_MATCH)|CVS_CHECKOUT|CVS_COMMAND|CVS_UPDATE_OPTIONS|DROP_LOCATION|DROP_METHOD|DROP_SITE|DROP_SITE_CDASH|DROP_SITE_PASSWORD|DROP_SITE_USER|EXTRA_COVERAGE_GLOB|GIT_COMMAND|GIT_INIT_SUBMODULES|GIT_UPDATE_CUSTOM|GIT_UPDATE_OPTIONS|HG_COMMAND|HG_UPDATE_OPTIONS|LABELS_FOR_SUBPROJECTS|MEMORYCHECK_(?:COMMAND|COMMAND_OPTIONS|SANITIZER_OPTIONS|SUPPRESSIONS_FILE|TYPE)|NIGHTLY_START_TIME|P4_CLIENT|P4_COMMAND|P4_OPTIONS|P4_UPDATE_OPTIONS|RUN_CURRENT_SCRIPT|SCP_COMMAND|SITE|SOURCE_DIRECTORY|SUBMIT_URL|SVN_COMMAND|SVN_OPTIONS|SVN_UPDATE_OPTIONS|TEST_LOAD|TEST_TIMEOUT|TRIGGER_SITE|UPDATE_COMMAND|UPDATE_OPTIONS|UPDATE_VERSION_ONLY|USE_LAUNCHERS)|CYGWIN|ENV|EXECUTABLE_OUTPUT_PATH|GHS-MULTI|IOS|LIBRARY_OUTPUT_PATH|MINGW|MSVC(?:10|11|12|14|60|70|71|80|90|_IDE|_TOOLSET_VERSION|_VERSION)?|MSYS|PROJECT_NAME|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE))\b/,property:/\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|VISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_GENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/,keyword:/\b(?:add_compile_definitions|add_compile_options|add_custom_command|add_custom_target|add_definitions|add_dependencies|add_executable|add_library|add_link_options|add_subdirectory|add_test|aux_source_directory|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|ctest_build|ctest_configure|ctest_coverage|ctest_empty_binary_directory|ctest_memcheck|ctest_read_custom_files|ctest_run_script|ctest_sleep|ctest_start|ctest_submit|ctest_test|ctest_update|ctest_upload|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|target_compile_definitions|target_compile_features|target_compile_options|target_include_directories|target_link_directories|target_link_libraries|target_link_options|target_sources|try_compile|try_run|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/,boolean:/\b(?:FALSE|OFF|ON|TRUE)\b/,namespace:/\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/,operator:/\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/,inserted:{pattern:/\b\w+::\w+\b/,alias:"class-name"},number:/\b\d+(?:\.\d+)*\b/,function:/\b[a-z_]\w*(?=\s*\()\b/i,punctuation:/[()>}]|\$[<{]/}}function jh(e){e.languages.cobol={comment:{pattern:/\*>.*|(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},string:{pattern:/[xzgn]?(?:"(?:[^\r\n"]|"")*"(?!")|'(?:[^\r\n']|'')*'(?!'))/i,greedy:!0},level:{pattern:/(^[ \t]*)\d+\b/m,lookbehind:!0,greedy:!0,alias:"number"},"class-name":{pattern:/(\bpic(?:ture)?\s+)(?:(?:[-\w$/,:*+<>]|\.(?!\s|$))(?:\(\d+\))?)+/i,lookbehind:!0,inside:{number:{pattern:/(\()\d+/,lookbehind:!0},punctuation:/[()]/}},keyword:{pattern:/(^|[^\w-])(?:ABORT|ACCEPT|ACCESS|ADD|ADDRESS|ADVANCING|AFTER|ALIGNED|ALL|ALPHABET|ALPHABETIC|ALPHABETIC-LOWER|ALPHABETIC-UPPER|ALPHANUMERIC|ALPHANUMERIC-EDITED|ALSO|ALTER|ALTERNATE|ANY|ARE|AREA|AREAS|AS|ASCENDING|ASCII|ASSIGN|ASSOCIATED-DATA|ASSOCIATED-DATA-LENGTH|AT|ATTRIBUTE|AUTHOR|AUTO|AUTO-SKIP|BACKGROUND-COLOR|BACKGROUND-COLOUR|BASIS|BEEP|BEFORE|BEGINNING|BELL|BINARY|BIT|BLANK|BLINK|BLOCK|BOTTOM|BOUNDS|BY|BYFUNCTION|BYTITLE|CALL|CANCEL|CAPABLE|CCSVERSION|CD|CF|CH|CHAINING|CHANGED|CHANNEL|CHARACTER|CHARACTERS|CLASS|CLASS-ID|CLOCK-UNITS|CLOSE|CLOSE-DISPOSITION|COBOL|CODE|CODE-SET|COL|COLLATING|COLUMN|COM-REG|COMMA|COMMITMENT|COMMON|COMMUNICATION|COMP|COMP-1|COMP-2|COMP-3|COMP-4|COMP-5|COMPUTATIONAL|COMPUTATIONAL-1|COMPUTATIONAL-2|COMPUTATIONAL-3|COMPUTATIONAL-4|COMPUTATIONAL-5|COMPUTE|CONFIGURATION|CONTAINS|CONTENT|CONTINUE|CONTROL|CONTROL-POINT|CONTROLS|CONVENTION|CONVERTING|COPY|CORR|CORRESPONDING|COUNT|CRUNCH|CURRENCY|CURSOR|DATA|DATA-BASE|DATE|DATE-COMPILED|DATE-WRITTEN|DAY|DAY-OF-WEEK|DBCS|DE|DEBUG-CONTENTS|DEBUG-ITEM|DEBUG-LINE|DEBUG-NAME|DEBUG-SUB-1|DEBUG-SUB-2|DEBUG-SUB-3|DEBUGGING|DECIMAL-POINT|DECLARATIVES|DEFAULT|DEFAULT-DISPLAY|DEFINITION|DELETE|DELIMITED|DELIMITER|DEPENDING|DESCENDING|DESTINATION|DETAIL|DFHRESP|DFHVALUE|DISABLE|DISK|DISPLAY|DISPLAY-1|DIVIDE|DIVISION|DONTCARE|DOUBLE|DOWN|DUPLICATES|DYNAMIC|EBCDIC|EGCS|EGI|ELSE|EMI|EMPTY-CHECK|ENABLE|END|END-ACCEPT|END-ADD|END-CALL|END-COMPUTE|END-DELETE|END-DIVIDE|END-EVALUATE|END-IF|END-MULTIPLY|END-OF-PAGE|END-PERFORM|END-READ|END-RECEIVE|END-RETURN|END-REWRITE|END-SEARCH|END-START|END-STRING|END-SUBTRACT|END-UNSTRING|END-WRITE|ENDING|ENTER|ENTRY|ENTRY-PROCEDURE|ENVIRONMENT|EOL|EOP|EOS|ERASE|ERROR|ESCAPE|ESI|EVALUATE|EVENT|EVERY|EXCEPTION|EXCLUSIVE|EXHIBIT|EXIT|EXPORT|EXTEND|EXTENDED|EXTERNAL|FD|FILE|FILE-CONTROL|FILLER|FINAL|FIRST|FOOTING|FOR|FOREGROUND-COLOR|FOREGROUND-COLOUR|FROM|FULL|FUNCTION|FUNCTION-POINTER|FUNCTIONNAME|GENERATE|GIVING|GLOBAL|GO|GOBACK|GRID|GROUP|HEADING|HIGH-VALUE|HIGH-VALUES|HIGHLIGHT|I-O|I-O-CONTROL|ID|IDENTIFICATION|IF|IMPLICIT|IMPORT|IN|INDEX|INDEXED|INDICATE|INITIAL|INITIALIZE|INITIATE|INPUT|INPUT-OUTPUT|INSPECT|INSTALLATION|INTEGER|INTO|INVALID|INVOKE|IS|JUST|JUSTIFIED|KANJI|KEPT|KEY|KEYBOARD|LABEL|LANGUAGE|LAST|LB|LD|LEADING|LEFT|LEFTLINE|LENGTH|LENGTH-CHECK|LIBACCESS|LIBPARAMETER|LIBRARY|LIMIT|LIMITS|LINAGE|LINAGE-COUNTER|LINE|LINE-COUNTER|LINES|LINKAGE|LIST|LOCAL|LOCAL-STORAGE|LOCK|LONG-DATE|LONG-TIME|LOW-VALUE|LOW-VALUES|LOWER|LOWLIGHT|MEMORY|MERGE|MESSAGE|MMDDYYYY|MODE|MODULES|MORE-LABELS|MOVE|MULTIPLE|MULTIPLY|NAMED|NATIONAL|NATIONAL-EDITED|NATIVE|NEGATIVE|NETWORK|NEXT|NO|NO-ECHO|NULL|NULLS|NUMBER|NUMERIC|NUMERIC-DATE|NUMERIC-EDITED|NUMERIC-TIME|OBJECT-COMPUTER|OCCURS|ODT|OF|OFF|OMITTED|ON|OPEN|OPTIONAL|ORDER|ORDERLY|ORGANIZATION|OTHER|OUTPUT|OVERFLOW|OVERLINE|OWN|PACKED-DECIMAL|PADDING|PAGE|PAGE-COUNTER|PASSWORD|PERFORM|PF|PH|PIC|PICTURE|PLUS|POINTER|PORT|POSITION|POSITIVE|PRINTER|PRINTING|PRIVATE|PROCEDURE|PROCEDURE-POINTER|PROCEDURES|PROCEED|PROCESS|PROGRAM|PROGRAM-ID|PROGRAM-LIBRARY|PROMPT|PURGE|QUEUE|QUOTE|QUOTES|RANDOM|RD|READ|READER|REAL|RECEIVE|RECEIVED|RECORD|RECORDING|RECORDS|RECURSIVE|REDEFINES|REEL|REF|REFERENCE|REFERENCES|RELATIVE|RELEASE|REMAINDER|REMARKS|REMOTE|REMOVAL|REMOVE|RENAMES|REPLACE|REPLACING|REPORT|REPORTING|REPORTS|REQUIRED|RERUN|RESERVE|RESET|RETURN|RETURN-CODE|RETURNING|REVERSE-VIDEO|REVERSED|REWIND|REWRITE|RF|RH|RIGHT|ROUNDED|RUN|SAME|SAVE|SCREEN|SD|SEARCH|SECTION|SECURE|SECURITY|SEGMENT|SEGMENT-LIMIT|SELECT|SEND|SENTENCE|SEPARATE|SEQUENCE|SEQUENTIAL|SET|SHARED|SHAREDBYALL|SHAREDBYRUNUNIT|SHARING|SHIFT-IN|SHIFT-OUT|SHORT-DATE|SIGN|SIZE|SORT|SORT-CONTROL|SORT-CORE-SIZE|SORT-FILE-SIZE|SORT-MERGE|SORT-MESSAGE|SORT-MODE-SIZE|SORT-RETURN|SOURCE|SOURCE-COMPUTER|SPACE|SPACES|SPECIAL-NAMES|STANDARD|STANDARD-1|STANDARD-2|START|STATUS|STOP|STRING|SUB-QUEUE-1|SUB-QUEUE-2|SUB-QUEUE-3|SUBTRACT|SUM|SUPPRESS|SYMBOL|SYMBOLIC|SYNC|SYNCHRONIZED|TABLE|TALLY|TALLYING|TAPE|TASK|TERMINAL|TERMINATE|TEST|TEXT|THEN|THREAD|THREAD-LOCAL|THROUGH|THRU|TIME|TIMER|TIMES|TITLE|TO|TODAYS-DATE|TODAYS-NAME|TOP|TRAILING|TRUNCATED|TYPE|TYPEDEF|UNDERLINE|UNIT|UNSTRING|UNTIL|UP|UPON|USAGE|USE|USING|VALUE|VALUES|VARYING|VIRTUAL|WAIT|WHEN|WHEN-COMPILED|WITH|WORDS|WORKING-STORAGE|WRITE|YEAR|YYYYDDD|YYYYMMDD|ZERO-FILL|ZEROES|ZEROS)(?![\w-])/i,lookbehind:!0},boolean:{pattern:/(^|[^\w-])(?:false|true)(?![\w-])/i,lookbehind:!0},number:{pattern:/(^|[^\w-])(?:[+-]?(?:(?:\d+(?:[.,]\d+)?|[.,]\d+)(?:e[+-]?\d+)?|zero))(?![\w-])/i,lookbehind:!0},operator:[/<>|[<>]=?|[=+*/&]/,{pattern:/(^|[^\w-])(?:-|and|equal|greater|less|not|or|than)(?![\w-])/i,lookbehind:!0}],punctuation:/[.:,()]/}}function Gh(e){e.register(su),function(e){var t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(e)}function Yh(e){e.languages.concurnas={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/,lookbehind:!0,greedy:!0},langext:{pattern:/\b\w+\s*\|\|[\s\S]+?\|\|/,greedy:!0,inside:{"class-name":/^\w+/,string:{pattern:/(^\s*\|\|)[\s\S]+(?=\|\|$)/,lookbehind:!0},punctuation:/\|\|/}},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/,lookbehind:!0},keyword:/\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/,boolean:/\b(?:false|true)\b/,number:/\b0b[01][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i,punctuation:/[{}[\];(),.:]/,operator:/<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/,annotation:{pattern:/@(?:\w+:)?(?:\w+|\[[^\]]+\])?/,alias:"builtin"}},e.languages.insertBefore("concurnas","langext",{"regex-literal":{pattern:/\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:e.languages.concurnas},regex:/[\s\S]+/}},"string-literal":{pattern:/(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:e.languages.concurnas},string:/[\s\S]+/}}}),e.languages.conc=e.languages.concurnas}function zh(e){!function(e){function t(e){return RegExp(/([ \t])/.source+"(?:"+e+")"+/(?=[\s;]|$)/.source,"i")}e.languages.csp={directive:{pattern:/(^|[\s;])(?:base-uri|block-all-mixed-content|(?:child|connect|default|font|frame|img|manifest|media|object|prefetch|script|style|worker)-src|disown-opener|form-action|frame-(?:ancestors|options)|input-protection(?:-(?:clip|selectors))?|navigate-to|plugin-types|policy-uri|referrer|reflected-xss|report-(?:to|uri)|require-sri-for|sandbox|(?:script|style)-src-(?:attr|elem)|upgrade-insecure-requests)(?=[\s;]|$)/i,lookbehind:!0,alias:"property"},scheme:{pattern:t(/[a-z][a-z0-9.+-]*:/.source),lookbehind:!0},none:{pattern:t(/'none'/.source),lookbehind:!0,alias:"keyword"},nonce:{pattern:t(/'nonce-[-+/\w=]+'/.source),lookbehind:!0,alias:"number"},hash:{pattern:t(/'sha(?:256|384|512)-[-+/\w=]+'/.source),lookbehind:!0,alias:"number"},host:{pattern:t(/[a-z][a-z0-9.+-]*:\/\/[^\s;,']*/.source+"|"+/\*[^\s;,']*/.source+"|"+/[a-z0-9-]+(?:\.[a-z0-9-]+)+(?::[\d*]+)?(?:\/[^\s;,']*)?/.source),lookbehind:!0,alias:"url",inside:{important:/\*/}},keyword:[{pattern:t(/'unsafe-[a-z-]+'/.source),lookbehind:!0,alias:"unsafe"},{pattern:t(/'[a-z-]+'/.source),lookbehind:!0,alias:"safe"}],punctuation:/;/}}(e)}function $h(e){!function(e){var t=/(?:(?!\s)[\d$+<=a-zA-Z\x80-\uFFFF])+/.source,n=/[^{}@#]+/.source,r=n+/\{[^}#@]*\}/.source,i=/(?:h|hours|hrs|m|min|minutes)/.source;e.languages.cooklang={comment:{pattern:/\[-[\s\S]*?-\]|--.*/,greedy:!0},meta:{pattern:/>>.*:.*/,inside:{property:{pattern:/(>>\s*)[^\s:](?:[^:]*[^\s:])?/,lookbehind:!0}}},"cookware-group":{pattern:new RegExp("#(?:"+r+"|"+t+")"),inside:{cookware:{pattern:new RegExp("(^#)(?:"+n+")"),lookbehind:!0,alias:"variable"},"cookware-keyword":{pattern:/^#/,alias:"keyword"},"quantity-group":{pattern:new RegExp(/\{[^{}@#]*\}/),inside:{quantity:{pattern:new RegExp(/(^\{)/.source+n),lookbehind:!0,alias:"number"},punctuation:/[{}]/}}}},"ingredient-group":{pattern:new RegExp("@(?:"+r+"|"+t+")"),inside:{ingredient:{pattern:new RegExp("(^@)(?:"+n+")"),lookbehind:!0,alias:"variable"},"ingredient-keyword":{pattern:/^@/,alias:"keyword"},"amount-group":{pattern:/\{[^{}]*\}/,inside:{amount:{pattern:/([\{|])[^{}|*%]+/,lookbehind:!0,alias:"number"},unit:{pattern:/(%)[^}]+/,lookbehind:!0,alias:"symbol"},"servings-scaler":{pattern:/\*/,alias:"operator"},"servings-alternative-separator":{pattern:/\|/,alias:"operator"},"unit-separator":{pattern:/(?:%|(\*)%)/,lookbehind:!0,alias:"operator"},punctuation:/[{}]/}}}},"timer-group":{pattern:/~(?!\s)[^@#~{}]*\{[^{}]*\}/,inside:{timer:{pattern:/(^~)[^{]+/,lookbehind:!0,alias:"variable"},"duration-group":{pattern:/\{[^{}]*\}/,inside:{punctuation:/[{}]/,unit:{pattern:new RegExp(/(%\s*)/.source+i+/\b/.source),lookbehind:!0,alias:"symbol"},operator:/%/,duration:{pattern:/\d+/,alias:"number"}}},"timer-keyword":{pattern:/^~/,alias:"keyword"}}}}}(e)}function Wh(e){!function(e){for(var t=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|)*\*\)/.source,n=0;n<2;n++)t=t.replace(//g,(function(){return t}));t=t.replace(//g,"[]"),e.languages.coq={comment:RegExp(t),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|)*\]/.source.replace(//g,(function(){return t}))),greedy:!0,alias:"attr-name",inside:{comment:RegExp(t),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},operator:/=/,punctuation:/^#\[|\]$|[,()]/}},{pattern:/\b(?:Cumulative|Global|Local|Monomorphic|NonCumulative|Polymorphic|Private|Program)\b/,alias:"attr-name"}],keyword:/\b(?:Abort|About|Add|Admit|Admitted|All|Arguments|As|Assumptions|Axiom|Axioms|Back|BackTo|Backtrace|BinOp|BinOpSpec|BinRel|Bind|Blacklist|Canonical|Case|Cd|Check|Class|Classes|Close|CoFixpoint|CoInductive|Coercion|Coercions|Collection|Combined|Compute|Conjecture|Conjectures|Constant|Constants|Constraint|Constructors|Context|Corollary|Create|CstOp|Custom|Cut|Debug|Declare|Defined|Definition|Delimit|Dependencies|Dependent|Derive|Diffs|Drop|Elimination|End|Entry|Equality|Eval|Example|Existential|Existentials|Existing|Export|Extern|Extraction|Fact|Fail|Field|File|Firstorder|Fixpoint|Flags|Focus|From|Funclass|Function|Functional|GC|Generalizable|Goal|Grab|Grammar|Graph|Guarded|Haskell|Heap|Hide|Hint|HintDb|Hints|Hypotheses|Hypothesis|IF|Identity|Immediate|Implicit|Implicits|Import|Include|Induction|Inductive|Infix|Info|Initial|InjTyp|Inline|Inspect|Instance|Instances|Intro|Intros|Inversion|Inversion_clear|JSON|Language|Left|Lemma|Let|Lia|Libraries|Library|Load|LoadPath|Locate|Ltac|Ltac2|ML|Match|Method|Minimality|Module|Modules|Morphism|Next|NoInline|Notation|Number|OCaml|Obligation|Obligations|Opaque|Open|Optimize|Parameter|Parameters|Parametric|Path|Paths|Prenex|Preterm|Primitive|Print|Profile|Projections|Proof|Prop|PropBinOp|PropOp|PropUOp|Property|Proposition|Pwd|Qed|Quit|Rec|Record|Recursive|Redirect|Reduction|Register|Relation|Remark|Remove|Require|Reserved|Reset|Resolve|Restart|Rewrite|Right|Ring|Rings|SProp|Saturate|Save|Scheme|Scope|Scopes|Search|SearchHead|SearchPattern|SearchRewrite|Section|Separate|Set|Setoid|Show|Signatures|Solve|Solver|Sort|Sortclass|Sorted|Spec|Step|Strategies|Strategy|String|Structure|SubClass|Subgraph|SuchThat|Tactic|Term|TestCompile|Theorem|Time|Timeout|To|Transparent|Type|Typeclasses|Types|Typing|UnOp|UnOpSpec|Undelimit|Undo|Unfocus|Unfocused|Unfold|Universe|Universes|Unshelve|Variable|Variables|Variant|Verbose|View|Visibility|Zify|_|apply|as|at|by|cofix|else|end|exists|exists2|fix|for|forall|fun|if|in|let|match|measure|move|removed|return|struct|then|using|wf|where|with)\b/,number:/\b(?:0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]+)?(?:p[+-]?\d[\d_]*)?|\d[\d_]*(?:\.[\d_]+)?(?:e[+-]?\d[\d_]*)?)\b/i,punct:{pattern:/@\{|\{\||\[=|:>/,alias:"punctuation"},operator:/\/\\|\\\/|\.{2,3}|:{1,2}=|\*\*|[-=]>|<(?:->?|[+:=>]|<:)|>(?:=|->)|\|[-|]?|[-!%&*+/<=>?@^~']/,punctuation:/\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/}}(e)}function Vh(e){e.register(Eu),function(e){e.languages.crystal=e.languages.extend("ruby",{keyword:[/\b(?:__DIR__|__END_LINE__|__FILE__|__LINE__|abstract|alias|annotation|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|ifdef|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|ptr|require|rescue|return|select|self|sizeof|struct|super|then|type|typeof|undef|uninitialized|union|unless|until|when|while|with|yield)\b/,{pattern:/(\.\s*)(?:is_a|responds_to)\?/,lookbehind:!0}],number:/\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[\da-fA-F_]*[\da-fA-F]|(?:\d(?:[\d_]*\d)?)(?:\.[\d_]*\d)?(?:[eE][+-]?[\d_]*\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\b/,operator:[/->/,e.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),e.languages.insertBefore("crystal","string-literal",{attribute:{pattern:/@\[.*?\]/,inside:{delimiter:{pattern:/^@\[|\]$/,alias:"punctuation"},attribute:{pattern:/^(\s*)\w+/,lookbehind:!0,alias:"class-name"},args:{pattern:/\S(?:[\s\S]*\S)?/,inside:e.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:e.languages.crystal},delimiter:{pattern:/^\{[\{%]|[\}%]\}$/,alias:"operator"}}},char:{pattern:/'(?:[^\\\r\n]{1,2}|\\(?:.|u(?:[A-Fa-f0-9]{1,4}|\{[A-Fa-f0-9]{1,6}\})))'/,greedy:!0}})}(e)}function Kh(e){e.register(tu),function(e){var t,n=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:t={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+n.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[n,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var r={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},i={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:r,number:i,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:r,number:i})}(e)}function qh(e){e.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}function Xh(e){!function(e){var t="(?:"+(/"""(?:[^\\"]|"(?!""\2)|)*"""/.source+"|"+/'''(?:[^\\']|'(?!''\2)|)*'''/.source+"|"+/"(?:[^\\\r\n"]|"(?!\2)|)*"/.source+"|"+/'(?:[^\\\r\n']|'(?!\2)|)*'/.source).replace(//g,/\\(?:(?!\2)|\2(?:[^()\r\n]|\([^()]*\)))/.source)+")";e.languages.cue={comment:{pattern:/\/\/.*/,greedy:!0},"string-literal":{pattern:RegExp(/(^|[^#"'\\])(#*)/.source+t+/(?!["'])\2/.source),lookbehind:!0,greedy:!0,inside:{escape:{pattern:/(?=[\s\S]*["'](#*)$)\\\1(?:U[a-fA-F0-9]{1,8}|u[a-fA-F0-9]{1,4}|x[a-fA-F0-9]{1,2}|\d{2,3}|[^(])/,greedy:!0,alias:"string"},interpolation:{pattern:/(?=[\s\S]*["'](#*)$)\\\1\([^()]*\)/,greedy:!0,inside:{punctuation:/^\\#*\(|\)$/,expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:{pattern:/(^|[^\w$])(?:for|if|import|in|let|null|package)(?![\w$])/,lookbehind:!0},boolean:{pattern:/(^|[^\w$])(?:false|true)(?![\w$])/,lookbehind:!0},builtin:{pattern:/(^|[^\w$])(?:bool|bytes|float|float(?:32|64)|u?int(?:8|16|32|64|128)?|number|rune|string)(?![\w$])/,lookbehind:!0},attribute:{pattern:/@[\w$]+(?=\s*\()/,alias:"function"},function:{pattern:/(^|[^\w$])[a-z_$][\w$]*(?=\s*\()/i,lookbehind:!0},number:{pattern:/(^|[^\w$.])(?:0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|0[xX][0-9A-Fa-f]+(?:_[0-9A-Fa-f]+)*|(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[eE][+-]?\d+(?:_\d+)*)?(?:[KMGTP]i?)?)(?![\w$])/,lookbehind:!0},operator:/\.{3}|_\|_|&&?|\|\|?|[=!]~|[<>=!]=?|[+\-*/?]/,punctuation:/[()[\]{},.:]/},e.languages.cue["string-literal"].inside.interpolation.inside.expression.inside=e.languages.cue}(e)}function Zh(e){e.languages.cypher={comment:/\/\/.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/,greedy:!0},"class-name":{pattern:/(:\s*)(?:\w+|`(?:[^`\\\r\n])*`)(?=\s*[{):])/,lookbehind:!0,greedy:!0},relationship:{pattern:/(-\[\s*(?:\w+\s*|`(?:[^`\\\r\n])*`\s*)?:\s*|\|\s*:\s*)(?:\w+|`(?:[^`\\\r\n])*`)/,lookbehind:!0,greedy:!0,alias:"property"},identifier:{pattern:/`(?:[^`\\\r\n])*`/,greedy:!0},variable:/\$\w+/,keyword:/\b(?:ADD|ALL|AND|AS|ASC|ASCENDING|ASSERT|BY|CALL|CASE|COMMIT|CONSTRAINT|CONTAINS|CREATE|CSV|DELETE|DESC|DESCENDING|DETACH|DISTINCT|DO|DROP|ELSE|END|ENDS|EXISTS|FOR|FOREACH|IN|INDEX|IS|JOIN|KEY|LIMIT|LOAD|MANDATORY|MATCH|MERGE|NODE|NOT|OF|ON|OPTIONAL|OR|ORDER(?=\s+BY)|PERIODIC|REMOVE|REQUIRE|RETURN|SCALAR|SCAN|SET|SKIP|START|STARTS|THEN|UNION|UNIQUE|UNWIND|USING|WHEN|WHERE|WITH|XOR|YIELD)\b/i,function:/\b\w+\b(?=\s*\()/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)\b/,operator:/:|<--?|--?>?|<>|=~?|[<>]=?|[+*/%^|]|\.\.\.?/,punctuation:/[()[\]{},;.]/}}function Qh(e){e.register(Kc),e.languages.d=e.languages.extend("clike",{comment:[{pattern:/^\s*#!.+/,greedy:!0},{pattern:RegExp(/(^|[^\\])/.source+"(?:"+[/\/\+(?:\/\+(?:[^+]|\+(?!\/))*\+\/|(?!\/\+)[\s\S])*?\+\//.source,/\/\/.*/.source,/\/\*[\s\S]*?\*\//.source].join("|")+")"),lookbehind:!0,greedy:!0}],string:[{pattern:RegExp([/\b[rx]"(?:\\[\s\S]|[^\\"])*"[cwd]?/.source,/\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/.source,/\bq"((?!\d)\w+)$[\s\S]*?^\1"/.source,/\bq"(.)[\s\S]*?\2"/.source,/(["`])(?:\\[\s\S]|(?!\3)[^\\])*\3[cwd]?/.source].join("|"),"m"),greedy:!0},{pattern:/\bq\{(?:\{[^{}]*\}|[^{}])*\}/,greedy:!0,alias:"token-string"}],keyword:/\$|\b(?:__(?:(?:DATE|EOF|FILE|FUNCTION|LINE|MODULE|PRETTY_FUNCTION|TIMESTAMP|TIME|VENDOR|VERSION)__|gshared|parameters|traits|vector)|abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|dstring|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|ptrdiff_t|public|pure|real|ref|return|scope|shared|short|size_t|static|string|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|wstring)\b/,number:[/\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]{0,4}/i,{pattern:/((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]{0,4}/i,lookbehind:!0}],operator:/\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/}),e.languages.insertBefore("d","string",{char:/'(?:\\(?:\W|\w+)|[^\\])'/}),e.languages.insertBefore("d","keyword",{property:/\B@\w*/}),e.languages.insertBefore("d","function",{register:{pattern:/\b(?:[ABCD][LHX]|E?(?:BP|DI|SI|SP)|[BS]PL|[ECSDGF]S|CR[0234]|[DS]IL|DR[012367]|E[ABCD]X|X?MM[0-7]|R(?:1[0-5]|[89])[BWD]?|R[ABCD]X|R[BS]P|R[DS]I|TR[3-7]|XMM(?:1[0-5]|[89])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/,alias:"variable"}})}function Jh(e){e.register(Kc),function(e){var t=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],n=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,r={pattern:RegExp(n+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}};e.languages.dart=e.languages.extend("clike",{"class-name":[r,{pattern:RegExp(n+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:r.inside}],keyword:t,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),e.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.dart}}},string:/[\s\S]+/}},string:void 0}),e.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),e.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})}(e)}function ep(e){!function(e){e.languages.dataweave={url:/\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/,property:{pattern:/(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/,greedy:!0},string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},"mime-type":/\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/,date:{pattern:/\|[\w:+-]+\|/,greedy:!0},comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],regex:{pattern:/\/(?:[^\\\/\r\n]|\\[^\r\n])+\//,greedy:!0},keyword:/\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/,function:/\b[A-Z_]\w*(?=\s*\()/i,number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\];(),.:@]/,operator:/<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/,boolean:/\b(?:false|true)\b/}}(e)}function tp(e){e.languages.dax={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/).*)/,lookbehind:!0},"data-field":{pattern:/'(?:[^']|'')*'(?!')(?:\[[ \w\xA0-\uFFFF]+\])?|\w+\[[ \w\xA0-\uFFFF]+\]/,alias:"symbol"},measure:{pattern:/\[[ \w\xA0-\uFFFF]+\]/,alias:"constant"},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},function:/\b(?:ABS|ACOS|ACOSH|ACOT|ACOTH|ADDCOLUMNS|ADDMISSINGITEMS|ALL|ALLCROSSFILTERED|ALLEXCEPT|ALLNOBLANKROW|ALLSELECTED|AND|APPROXIMATEDISTINCTCOUNT|ASIN|ASINH|ATAN|ATANH|AVERAGE|AVERAGEA|AVERAGEX|BETA\.DIST|BETA\.INV|BLANK|CALCULATE|CALCULATETABLE|CALENDAR|CALENDARAUTO|CEILING|CHISQ\.DIST|CHISQ\.DIST\.RT|CHISQ\.INV|CHISQ\.INV\.RT|CLOSINGBALANCEMONTH|CLOSINGBALANCEQUARTER|CLOSINGBALANCEYEAR|COALESCE|COMBIN|COMBINA|COMBINEVALUES|CONCATENATE|CONCATENATEX|CONFIDENCE\.NORM|CONFIDENCE\.T|CONTAINS|CONTAINSROW|CONTAINSSTRING|CONTAINSSTRINGEXACT|CONVERT|COS|COSH|COT|COTH|COUNT|COUNTA|COUNTAX|COUNTBLANK|COUNTROWS|COUNTX|CROSSFILTER|CROSSJOIN|CURRENCY|CURRENTGROUP|CUSTOMDATA|DATATABLE|DATE|DATEADD|DATEDIFF|DATESBETWEEN|DATESINPERIOD|DATESMTD|DATESQTD|DATESYTD|DATEVALUE|DAY|DEGREES|DETAILROWS|DISTINCT|DISTINCTCOUNT|DISTINCTCOUNTNOBLANK|DIVIDE|EARLIER|EARLIEST|EDATE|ENDOFMONTH|ENDOFQUARTER|ENDOFYEAR|EOMONTH|ERROR|EVEN|EXACT|EXCEPT|EXP|EXPON\.DIST|FACT|FALSE|FILTER|FILTERS|FIND|FIRSTDATE|FIRSTNONBLANK|FIRSTNONBLANKVALUE|FIXED|FLOOR|FORMAT|GCD|GENERATE|GENERATEALL|GENERATESERIES|GEOMEAN|GEOMEANX|GROUPBY|HASONEFILTER|HASONEVALUE|HOUR|IF|IF\.EAGER|IFERROR|IGNORE|INT|INTERSECT|ISBLANK|ISCROSSFILTERED|ISEMPTY|ISERROR|ISEVEN|ISFILTERED|ISINSCOPE|ISLOGICAL|ISNONTEXT|ISNUMBER|ISO\.CEILING|ISODD|ISONORAFTER|ISSELECTEDMEASURE|ISSUBTOTAL|ISTEXT|KEEPFILTERS|KEYWORDMATCH|LASTDATE|LASTNONBLANK|LASTNONBLANKVALUE|LCM|LEFT|LEN|LN|LOG|LOG10|LOOKUPVALUE|LOWER|MAX|MAXA|MAXX|MEDIAN|MEDIANX|MID|MIN|MINA|MINUTE|MINX|MOD|MONTH|MROUND|NATURALINNERJOIN|NATURALLEFTOUTERJOIN|NEXTDAY|NEXTMONTH|NEXTQUARTER|NEXTYEAR|NONVISUAL|NORM\.DIST|NORM\.INV|NORM\.S\.DIST|NORM\.S\.INV|NOT|NOW|ODD|OPENINGBALANCEMONTH|OPENINGBALANCEQUARTER|OPENINGBALANCEYEAR|OR|PARALLELPERIOD|PATH|PATHCONTAINS|PATHITEM|PATHITEMREVERSE|PATHLENGTH|PERCENTILE\.EXC|PERCENTILE\.INC|PERCENTILEX\.EXC|PERCENTILEX\.INC|PERMUT|PI|POISSON\.DIST|POWER|PREVIOUSDAY|PREVIOUSMONTH|PREVIOUSQUARTER|PREVIOUSYEAR|PRODUCT|PRODUCTX|QUARTER|QUOTIENT|RADIANS|RAND|RANDBETWEEN|RANK\.EQ|RANKX|RELATED|RELATEDTABLE|REMOVEFILTERS|REPLACE|REPT|RIGHT|ROLLUP|ROLLUPADDISSUBTOTAL|ROLLUPGROUP|ROLLUPISSUBTOTAL|ROUND|ROUNDDOWN|ROUNDUP|ROW|SAMEPERIODLASTYEAR|SAMPLE|SEARCH|SECOND|SELECTCOLUMNS|SELECTEDMEASURE|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURENAME|SELECTEDVALUE|SIGN|SIN|SINH|SQRT|SQRTPI|STARTOFMONTH|STARTOFQUARTER|STARTOFYEAR|STDEV\.P|STDEV\.S|STDEVX\.P|STDEVX\.S|SUBSTITUTE|SUBSTITUTEWITHINDEX|SUM|SUMMARIZE|SUMMARIZECOLUMNS|SUMX|SWITCH|T\.DIST|T\.DIST\.2T|T\.DIST\.RT|T\.INV|T\.INV\.2T|TAN|TANH|TIME|TIMEVALUE|TODAY|TOPN|TOPNPERLEVEL|TOPNSKIP|TOTALMTD|TOTALQTD|TOTALYTD|TREATAS|TRIM|TRUE|TRUNC|UNICHAR|UNICODE|UNION|UPPER|USERELATIONSHIP|USERNAME|USEROBJECTID|USERPRINCIPALNAME|UTCNOW|UTCTODAY|VALUE|VALUES|VAR\.P|VAR\.S|VARX\.P|VARX\.S|WEEKDAY|WEEKNUM|XIRR|XNPV|YEAR|YEARFRAC)(?=\s*\()/i,keyword:/\b(?:DEFINE|EVALUATE|MEASURE|ORDER\s+BY|RETURN|VAR|START\s+AT|ASC|DESC)\b/i,boolean:{pattern:/\b(?:FALSE|NULL|TRUE)\b/i,alias:"constant"},number:/\b\d+(?:\.\d*)?|\B\.\d+\b/,operator:/:=|[-+*\/=^]|&&?|\|\||<(?:=>?|<|>)?|>[>=]?|\b(?:IN|NOT)\b/i,punctuation:/[;\[\](){}`,.]/}}function np(e){e.languages.dhall={comment:/--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/,string:{pattern:/"(?:[^"\\]|\\.)*"|''(?:[^']|'(?!')|'''|''\$\{)*''(?!'|\$)/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-dhall",inside:null},punctuation:/\$\{|\}/}}}},label:{pattern:/`[^`]*`/,greedy:!0},url:{pattern:/\bhttps?:\/\/[\w.:%!$&'*+;=@~-]+(?:\/[\w.:%!$&'*+;=@~-]*)*(?:\?[/?\w.:%!$&'*+;=@~-]*)?/,greedy:!0},env:{pattern:/\benv:(?:(?!\d)\w+|"(?:[^"\\=]|\\.)*")/,greedy:!0,inside:{function:/^env/,operator:/^:/,variable:/[\s\S]+/}},hash:{pattern:/\bsha256:[\da-fA-F]{64}\b/,inside:{function:/sha256/,operator:/:/,number:/[\da-fA-F]{64}/}},keyword:/\b(?:as|assert|else|forall|if|in|let|merge|missing|then|toMap|using|with)\b|\u2200/,builtin:/\b(?:None|Some)\b/,boolean:/\b(?:False|True)\b/,number:/\bNaN\b|-?\bInfinity\b|[+-]?\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/,operator:/\/\\|\/\/\\\\|&&|\|\||===|[!=]=|\/\/|->|\+\+|::|[+*#@=:?<>|\\\u2227\u2a53\u2261\u2afd\u03bb\u2192]/,punctuation:/\.\.|[{}\[\](),./]/,"class-name":/\b[A-Z]\w*\b/},e.languages.dhall.string.inside.interpolation.inside.expression.inside=e.languages.dhall}function rp(e){e.register(yu),function(e){e.languages.django={comment:/^\{#[\s\S]*?#\}$/,tag:{pattern:/(^\{%[+-]?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%][+-]?|[+-]?[}%]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},filter:{pattern:/(\|)\w+/,lookbehind:!0,alias:"function"},test:{pattern:/(\bis\s+(?:not\s+)?)(?!not\b)\w+/,lookbehind:!0,alias:"function"},function:/\b[a-z_]\w+(?=\s*\()/i,keyword:/\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,number:/\b\d+(?:\.\d+)?\b/,boolean:/[Ff]alse|[Nn]one|[Tt]rue/,variable:/\b\w+\b/,punctuation:/[{}[\](),.:;]/};var t=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,n=e.languages["markup-templating"];e.hooks.add("before-tokenize",(function(e){n.buildPlaceholders(e,"django",t)})),e.hooks.add("after-tokenize",(function(e){n.tokenizePlaceholders(e,"django")})),e.languages.jinja2=e.languages.django,e.hooks.add("before-tokenize",(function(e){n.buildPlaceholders(e,"jinja2",t)})),e.hooks.add("after-tokenize",(function(e){n.tokenizePlaceholders(e,"jinja2")}))}(e)}function ip(e){e.languages["dns-zone-file"]={comment:/;.*/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},variable:[{pattern:/(^\$ORIGIN[ \t]+)\S+/m,lookbehind:!0},{pattern:/(^|\s)@(?=\s|$)/,lookbehind:!0}],keyword:/^\$(?:INCLUDE|ORIGIN|TTL)(?=\s|$)/m,class:{pattern:/(^|\s)(?:CH|CS|HS|IN)(?=\s|$)/,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/,lookbehind:!0,alias:"keyword"},punctuation:/[()]/},e.languages["dns-zone"]=e.languages["dns-zone-file"]}function op(e){!function(e){var t=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,n=/(?:[ \t]+(?![ \t])(?:)?|)/.source.replace(//g,(function(){return t})),r=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,i=/--[\w-]+=(?:|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(//g,(function(){return r})),o={pattern:RegExp(r),greedy:!0},a={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function s(e,t){return e=e.replace(//g,(function(){return i})).replace(//g,(function(){return n})),RegExp(e,t)}e.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:s(/(^(?:ONBUILD)?\w+)(?:)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[o,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:s(/(^(?:ONBUILD)?HEALTHCHECK(?:)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:s(/(^(?:ONBUILD)?FROM(?:)*(?!--)[^ \t\\]+)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:s(/(^ONBUILD)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:a,string:o,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:a},e.languages.dockerfile=e.languages.docker}(e)}function ap(e){!function(e){var t="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!)*>/.source].join("|")+")",n={markup:{pattern:/(^<)[\s\S]+(?=>$)/,lookbehind:!0,alias:["language-markup","language-html","language-xml"],inside:e.languages.markup}};function r(e,n){return RegExp(e.replace(//g,(function(){return t})),n)}e.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:r(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:n},"attr-value":{pattern:r(/(=[ \t\r\n]*)/.source),lookbehind:!0,greedy:!0,inside:n},"attr-name":{pattern:r(/([\[;, \t\r\n])(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:n},keyword:/\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,"compass-point":{pattern:/(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,lookbehind:!0,alias:"builtin"},node:{pattern:r(/(^|[^-.\w\x80-\uFFFF\\])/.source),lookbehind:!0,greedy:!0,inside:n},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},e.languages.gv=e.languages.dot}(e)}function sp(e){e.languages.ebnf={comment:/\(\*[\s\S]*?\*\)/,string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},special:{pattern:/\?[^?\r\n]*\?/,greedy:!0,alias:"class-name"},definition:{pattern:/^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im,lookbehind:!0,alias:["rule","keyword"]},rule:/\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i,punctuation:/\([:/]|[:/]\)|[.,;()[\]{}]/,operator:/[-=|*/!]/}}function lp(e){e.languages.editorconfig={comment:/[;#].*/,section:{pattern:/(^[ \t]*)\[.+\]/m,lookbehind:!0,alias:"selector",inside:{regex:/\\\\[\[\]{},!?.*]/,operator:/[!?]|\.\.|\*{1,2}/,punctuation:/[\[\]{},]/}},key:{pattern:/(^[ \t]*)[^\s=]+(?=[ \t]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/=.*/,alias:"attr-value",inside:{punctuation:/^=/}}}}function cp(e){e.languages.eiffel={comment:/--.*/,string:[{pattern:/"([^[]*)\[[\s\S]*?\]\1"/,greedy:!0},{pattern:/"([^{]*)\{[\s\S]*?\}\1"/,greedy:!0},{pattern:/"(?:%(?:(?!\n)\s)*\n\s*%|%\S|[^%"\r\n])*"/,greedy:!0}],char:/'(?:%.|[^%'\r\n])+'/,keyword:/\b(?:across|agent|alias|all|and|as|assign|attached|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i,boolean:/\b(?:False|True)\b/i,"class-name":/\b[A-Z][\dA-Z_]*\b/,number:[/\b0[xcb][\da-f](?:_*[\da-f])*\b/i,/(?:\b\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*\b|\b\d(?:_*\d)*\b\.?/i],punctuation:/:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/,operator:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}}function up(e){e.register(su),e.register(yu),function(e){e.languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:e.languages.javascript}},e.hooks.add("before-tokenize",(function(t){e.languages["markup-templating"].buildPlaceholders(t,"ejs",/<%(?!%)[\s\S]+?%>/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"ejs")})),e.languages.eta=e.languages.ejs}(e)}function hp(e){e.languages.elixir={doc:{pattern:/@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/,inside:{attribute:/^@\w+/,string:/['"][\s\S]+/}},comment:{pattern:/#.*/,greedy:!0},regex:{pattern:/~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/,greedy:!0},string:[{pattern:/~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/,greedy:!0,inside:{}},{pattern:/("""|''')[\s\S]*?\1/,greedy:!0,inside:{}},{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{}}],atom:{pattern:/(^|[^:]):\w+/,lookbehind:!0,alias:"symbol"},module:{pattern:/\b[A-Z]\w*\b/,alias:"class-name"},"attr-name":/\b\w+\??:(?!:)/,argument:{pattern:/(^|[^&])&\d+/,lookbehind:!0,alias:"variable"},attribute:{pattern:/@\w+/,alias:"variable"},function:/\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/,number:/\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i,keyword:/\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/,boolean:/\b(?:false|nil|true)\b/,operator:[/\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/,{pattern:/([^<])<(?!<)/,lookbehind:!0},{pattern:/([^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,%\[\]{}()]/},e.languages.elixir.string.forEach((function(t){t.inside={interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:e.languages.elixir}}}}))}function pp(e){e.languages.elm={comment:/--.*|\{-[\s\S]*?-\}/,char:{pattern:/'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+|u\{[0-9a-fA-F]+\}))'/,greedy:!0},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:[^\\"\r\n]|\\.)*"/,greedy:!0}],"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+(?:[A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|exposing|import)\b/}},keyword:/\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/,builtin:/\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i,operator:/\s\.\s|[+\-/*=.$<>:&|^?%#@~!]{2,}|[+\-/*=$<>:&|^?%#@~!]/,hvariable:/\b(?:[A-Z]\w*\.)*[a-z]\w*\b/,constant:/\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/,punctuation:/[{}[\]|(),.:]/}}function dp(e){e.register(hu),e.register(yu),function(e){e.languages.etlua={delimiter:{pattern:/^<%[-=]?|-?%>$/,alias:"punctuation"},"language-lua":{pattern:/[\s\S]+/,inside:e.languages.lua}},e.hooks.add("before-tokenize",(function(t){e.languages["markup-templating"].buildPlaceholders(t,"etlua",/<%[\s\S]+?%>/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"etlua")}))}(e)}function fp(e){e.register(yu),e.register(Eu),function(e){e.languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:e.languages.ruby}},e.hooks.add("before-tokenize",(function(t){e.languages["markup-templating"].buildPlaceholders(t,"erb",/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"erb")}))}(e)}function mp(e){e.languages.erlang={comment:/%.+/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},"quoted-function":{pattern:/'(?:\\.|[^\\'\r\n])+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'(?:\\.|[^\\'\r\n])+'/,alias:"atom"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:after|begin|case|catch|end|fun|if|of|receive|try|when)\b/,number:[/\$\\?./,/\b\d+#[a-z0-9]+/i,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i],function:/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/}}function gp(e){e.languages["excel-formula"]={comment:{pattern:/(\bN\(\s*)"(?:[^"]|"")*"(?=\s*\))/i,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},reference:{pattern:/(?:'[^']*'|(?:[^\s()[\]{}<>*?"';,$&]*\[[^^\s()[\]{}<>*?"']+\])?\w+)!/,greedy:!0,alias:"string",inside:{operator:/!$/,punctuation:/'/,sheet:{pattern:/[^[\]]+$/,alias:"function"},file:{pattern:/\[[^[\]]+\]$/,inside:{punctuation:/[[\]]/}},path:/[\s\S]+/}},"function-name":{pattern:/\b[A-Z]\w*(?=\()/i,alias:"builtin"},range:{pattern:/\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i,alias:"selector",inside:{operator:/:/,cell:/\$?[A-Z]+\$?\d+/i,column:/\$?[A-Z]+/i,row:/\$?\d+/}},cell:{pattern:/\b[A-Z]+\d+\b|\$[A-Za-z]+\$?\d+\b|\b[A-Za-z]+\$\d+\b/,alias:"selector"},number:/(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?\b/i,boolean:/\b(?:FALSE|TRUE)\b/i,operator:/[-+*/^%=&,]|<[=>]?|>=?/,punctuation:/[[\]();{}|]/},e.languages.xlsx=e.languages.xls=e.languages["excel-formula"]}function yp(e){e.register(Kc),e.languages.fsharp=e.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*(?!\))[\s\S]*?\*\)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?/,greedy:!0},"class-name":{pattern:/(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/,lookbehind:!0,inside:{operator:/->|\*/,punctuation:/\./}},keyword:/\b(?:let|return|use|yield)(?:!\B|\b)|\b(?:abstract|and|as|asr|assert|atomic|base|begin|break|checked|class|component|const|constraint|constructor|continue|default|delegate|do|done|downcast|downto|eager|elif|else|end|event|exception|extern|external|false|finally|fixed|for|fun|function|functor|global|if|in|include|inherit|inline|interface|internal|land|lazy|lor|lsl|lsr|lxor|match|member|method|mixin|mod|module|mutable|namespace|new|not|null|object|of|open|or|override|parallel|private|process|protected|public|pure|rec|sealed|select|sig|static|struct|tailcall|then|to|trait|true|try|type|upcast|val|virtual|void|volatile|when|while|with)\b/,number:[/\b0x[\da-fA-F]+(?:LF|lf|un)?\b/,/\b0b[01]+(?:uy|y)?\b/,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i,/\b\d+(?:[IlLsy]|UL|u[lsy]?)?\b/],operator:/([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/}),e.languages.insertBefore("fsharp","keyword",{preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(^#)\b(?:else|endif|if|light|line|nowarn)\b/,lookbehind:!0,alias:"keyword"}}}}),e.languages.insertBefore("fsharp","punctuation",{"computation-expression":{pattern:/\b[_a-z]\w*(?=\s*\{)/i,alias:"keyword"}}),e.languages.insertBefore("fsharp","string",{annotation:{pattern:/\[<.+?>\]/,greedy:!0,inside:{punctuation:/^\[<|>\]$/,"class-name":{pattern:/^\w+$|(^|;\s*)[A-Z]\w*(?=\()/,lookbehind:!0},"annotation-content":{pattern:/[\s\S]+/,inside:e.languages.fsharp}}},char:{pattern:/'(?:[^\\']|\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8}))'B?/,greedy:!0}})}function vp(e){!function(e){var t={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/},n={number:/\\[^\s']|%\w/},r={comment:[{pattern:/(^|\s)(?:! .*|!$)/,lookbehind:!0,inside:t},{pattern:/(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,lookbehind:!0,greedy:!0,inside:t},{pattern:/(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,inside:t}],number:[{pattern:/(^|\s)[+-]?\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b[01]+|o[0-7]+|d\d+|x[\dA-F]+)(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)[+-]?\d+\/\d+\.?(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)\+?\d+\+\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)-\d+-\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?(?:\d*\.\d+|\d+\.\d*|\d+)(?:e[+-]?\d+)?(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)NAN:\s+[\da-fA-F]+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b1\.[01]*|o1\.[0-7]*|d1\.\d*|x1\.[\dA-F]*)p\d+(?=\s|$)/i,lookbehind:!0}],regexp:{pattern:/(^|\s)R\/\s(?:\\\S|[^\\/])*\/(?:[idmsr]*|[idmsr]+-[idmsr]+)(?=\s|$)/,lookbehind:!0,alias:"number",inside:{variable:/\\\S/,keyword:/[+?*\[\]^$(){}.|]/,operator:{pattern:/(\/)[idmsr]+(?:-[idmsr]+)?/,lookbehind:!0}}},boolean:{pattern:/(^|\s)[tf](?=\s|$)/,lookbehind:!0},"custom-string":{pattern:/(^|\s)[A-Z0-9\-]+"\s(?:\\\S|[^"\\])*"/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:/\\\S|%\w|\//}},"multiline-string":[{pattern:/(^|\s)STRING:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*;(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:n.number,"semicolon-or-setlocal":{pattern:/([\r\n][ \t]*);(?=\s|$)/,lookbehind:!0,alias:"function"}}},{pattern:/(^|\s)HEREDOC:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*\S+(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:n},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:n}],"special-using":{pattern:/(^|\s)USING:(?:\s\S+)*(?=\s+;(?:\s|$))/,lookbehind:!0,alias:"function",inside:{string:{pattern:/(\s)[^:\s]+/,lookbehind:!0}}},"stack-effect-delimiter":[{pattern:/(^|\s)(?:call|eval|execute)?\((?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)--(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\)(?=\s|$)/,lookbehind:!0,alias:"operator"}],combinators:{pattern:null,lookbehind:!0,alias:"keyword"},"kernel-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"sequences-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"math-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"constructor-word":{pattern:/(^|\s)<(?!=+>|-+>)\S+>(?=\s|$)/,lookbehind:!0,alias:"keyword"},"other-builtin-syntax":{pattern:null,lookbehind:!0,alias:"operator"},"conventionally-named-word":{pattern:/(^|\s)(?!")(?:(?:change|new|set|with)-\S+|\$\S+|>[^>\s]+|[^:>\s]+>|[^>\s]+>[^>\s]+|\+[^+\s]+\+|[^?\s]+\?|\?[^?\s]+|[^>\s]+>>|>>[^>\s]+|[^<\s]+<<|\([^()\s]+\)|[^!\s]+!|[^*\s]\S*\*|[^.\s]\S*\.)(?=\s|$)/,lookbehind:!0,alias:"keyword"},"colon-syntax":{pattern:/(^|\s)(?:[A-Z0-9\-]+#?)?:{1,2}\s+(?:;\S+|(?!;)\S+)(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"function"},"semicolon-or-setlocal":{pattern:/(\s)(?:;|:>)(?=\s|$)/,lookbehind:!0,alias:"function"},"curly-brace-literal-delimiter":[{pattern:/(^|\s)[a-z]*\{(?=\s)/i,lookbehind:!0,alias:"operator"},{pattern:/(\s)\}(?=\s|$)/,lookbehind:!0,alias:"operator"}],"quotation-delimiter":[{pattern:/(^|\s)\[(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\](?=\s|$)/,lookbehind:!0,alias:"operator"}],"normal-word":{pattern:/(^|\s)[^"\s]\S*(?=\s|$)/,lookbehind:!0},string:{pattern:/"(?:\\\S|[^"\\])*"/,greedy:!0,inside:n}},i=function(e){return(e+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},o=function(e){return new RegExp("(^|\\s)(?:"+e.map(i).join("|")+")(?=\\s|$)")},a={"kernel-builtin":["or","2nipd","4drop","tuck","wrapper","nip","wrapper?","callstack>array","die","dupd","callstack","callstack?","3dup","hashcode","pick","4nip","build",">boolean","nipd","clone","5nip","eq?","?","=","swapd","2over","clear","2dup","get-retainstack","not","tuple?","dup","3nipd","call","-rotd","object","drop","assert=","assert?","-rot","execute","boa","get-callstack","curried?","3drop","pickd","overd","over","roll","3nip","swap","and","2nip","rotd","throw","(clone)","hashcode*","spin","reach","4dup","equal?","get-datastack","assert","2drop","","boolean?","identity-hashcode","identity-tuple?","null","composed?","new","5drop","rot","-roll","xor","identity-tuple","boolean"],"other-builtin-syntax":["=======","recursive","flushable",">>","<<<<<<","M\\","B","PRIVATE>","\\","======","final","inline","delimiter","deprecated",">>>>>","<<<<<<<","parse-complex","malformed-complex","read-only",">>>>>>>","call-next-method","<<","foldable","$","$[","${"],"sequences-builtin":["member-eq?","mismatch","append","assert-sequence=","longer","repetition","clone-like","3sequence","assert-sequence?","last-index-from","reversed","index-from","cut*","pad-tail","join-as","remove-eq!","concat-as","but-last","snip","nths","nth","sequence","longest","slice?","","remove-nth","tail-slice","empty?","tail*","member?","virtual-sequence?","set-length","drop-prefix","iota","unclip","bounds-error?","unclip-last-slice","non-negative-integer-expected","non-negative-integer-expected?","midpoint@","longer?","?set-nth","?first","rest-slice","prepend-as","prepend","fourth","sift","subseq-start","new-sequence","?last","like","first4","1sequence","reverse","slice","virtual@","repetition?","set-last","index","4sequence","max-length","set-second","immutable-sequence","first2","first3","supremum","unclip-slice","suffix!","insert-nth","tail","3append","short","suffix","concat","flip","immutable?","reverse!","2sequence","sum","delete-all","indices","snip-slice","","check-slice","sequence?","head","append-as","halves","sequence=","collapse-slice","?second","slice-error?","product","bounds-check?","bounds-check","immutable","virtual-exemplar","harvest","remove","pad-head","last","set-fourth","cartesian-product","remove-eq","shorten","shorter","reversed?","shorter?","shortest","head-slice","pop*","tail-slice*","but-last-slice","iota?","append!","cut-slice","new-resizable","head-slice*","sequence-hashcode","pop","set-nth","?nth","second","join","immutable-sequence?","","3append-as","virtual-sequence","subseq?","remove-nth!","length","last-index","lengthen","assert-sequence","copy","move","third","first","tail?","set-first","prefix","bounds-error","","exchange","surround","cut","min-length","set-third","push-all","head?","subseq-start-from","delete-slice","rest","sum-lengths","head*","infimum","remove!","glue","slice-error","subseq","push","replace-slice","subseq-as","unclip-last"],"math-builtin":["number=","next-power-of-2","?1+","fp-special?","imaginary-part","float>bits","number?","fp-infinity?","bignum?","fp-snan?","denominator","gcd","*","+","fp-bitwise=","-","u>=","/",">=","bitand","power-of-2?","log2-expects-positive","neg?","<","log2",">","integer?","number","bits>double","2/","zero?","bits>float","float?","shift","ratio?","rect>","even?","ratio","fp-sign","bitnot",">fixnum","complex?","/i","integer>fixnum","/f","sgn",">bignum","next-float","u<","u>","mod","recip","rational",">float","2^","integer","fixnum?","neg","fixnum","sq","bignum",">rect","bit?","fp-qnan?","simple-gcd","complex","","real",">fraction","double>bits","bitor","rem","fp-nan-payload","real-part","log2-expects-positive?","prev-float","align","unordered?","float","fp-nan?","abs","bitxor","integer>fixnum-strict","u<=","odd?","<=","/mod",">integer","real?","rational?","numerator"]};Object.keys(a).forEach((function(e){r[e].pattern=o(a[e])})),r.combinators.pattern=o(["2bi","while","2tri","bi*","4dip","both?","same?","tri@","curry","prepose","3bi","?if","tri*","2keep","3keep","curried","2keepd","when","2bi*","2tri*","4keep","bi@","keepdd","do","unless*","tri-curry","if*","loop","bi-curry*","when*","2bi@","2tri@","with","2with","either?","bi","until","3dip","3curry","tri-curry*","tri-curry@","bi-curry","keepd","compose","2dip","if","3tri","unless","tuple","keep","2curry","tri","most","while*","dip","composed","bi-curry@","find-last-from","trim-head-slice","map-as","each-from","none?","trim-tail","partition","if-empty","accumulate*","reject!","find-from","accumulate-as","collector-for-as","reject","map","map-sum","accumulate!","2each-from","follow","supremum-by","map!","unless-empty","collector","padding","reduce-index","replicate-as","infimum-by","trim-tail-slice","count","find-index","filter","accumulate*!","reject-as","map-integers","map-find","reduce","selector","interleave","2map","filter-as","binary-reduce","map-index-as","find","produce","filter!","replicate","cartesian-map","cartesian-each","find-index-from","map-find-last","3map-as","3map","find-last","selector-as","2map-as","2map-reduce","accumulate","each","each-index","accumulate*-as","when-empty","all?","collector-as","push-either","new-like","collector-for","2selector","push-if","2all?","map-reduce","3each","any?","trim-slice","2reduce","change-nth","produce-as","2each","trim","trim-head","cartesian-find","map-index","if-zero","each-integer","unless-zero","(find-integer)","when-zero","find-last-integer","(all-integers?)","times","(each-integer)","find-integer","all-integers?","unless-negative","if-positive","when-positive","when-negative","unless-positive","if-negative","case","2cleave","cond>quot","case>quot","3cleave","wrong-values","to-fixed-point","alist>quot","cond","cleave","call-effect","recursive-hashcode","spread","deep-spread>quot","2||","0||","n||","0&&","2&&","3||","1||","1&&","n&&","3&&","smart-unless*","keep-inputs","reduce-outputs","smart-when*","cleave>array","smart-with","smart-apply","smart-if","inputs/outputs","output>sequence-n","map-outputs","map-reduce-outputs","dropping","output>array","smart-map-reduce","smart-2map-reduce","output>array-n","nullary","inputsequence"]),e.languages.factor=r}(e)}function _p(e){!function(e){e.languages.false={comment:{pattern:/\{[^}]*\}/},string:{pattern:/"[^"]*"/,greedy:!0},"character-code":{pattern:/'(?:[^\r]|\r\n?)/,alias:"number"},"assembler-code":{pattern:/\d+`/,alias:"important"},number:/\d+/,operator:/[-!#$%&'*+,./:;=>?@\\^_`|~ßø]/,punctuation:/\[|\]/,variable:/[a-z]/,"non-standard":{pattern:/[()!=]=?|[-+*/%]|\b(?:in|is)\b/}),delete e.languages["firestore-security-rules"]["class-name"],e.languages.insertBefore("firestore-security-rules","keyword",{path:{pattern:/(^|[\s(),])(?:\/(?:[\w\xA0-\uFFFF]+|\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)))+/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)/,inside:{operator:/=/,keyword:/\*\*/,punctuation:/[.$(){}]/}},punctuation:/\//}},method:{pattern:/(\ballow\s+)[a-z]+(?:\s*,\s*[a-z]+)*(?=\s*[:;])/,lookbehind:!0,alias:"builtin",inside:{punctuation:/,/}}})}function Ep(e){e.register(su),function(e){e.languages.flow=e.languages.extend("javascript",{}),e.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),e.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete e.languages.flow.parameter,e.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(e.languages.flow.keyword)||(e.languages.flow.keyword=[e.languages.flow.keyword]),e.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})}(e)}function Tp(e){e.languages.fortran={"quoted-number":{pattern:/[BOZ](['"])[A-F0-9]+\1/i,alias:"number"},string:{pattern:/(?:\b\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:[ \t]*!.*(?:\r\n?|\n)|(?![ \t]*!))|(?!\1).)*(?:\1|&)/,inside:{comment:{pattern:/(&(?:\r\n?|\n)\s*)!.*/,lookbehind:!0}}},comment:{pattern:/!.*/,greedy:!0},boolean:/\.(?:FALSE|TRUE)\.(?:_\w+)?/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i,keyword:[/\b(?:CHARACTER|COMPLEX|DOUBLE ?PRECISION|INTEGER|LOGICAL|REAL)\b/i,/\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i,/\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i,/\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEIF|ELSEWHERE|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i],operator:[/\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.[A-Z]+\./i,{pattern:/(^|(?!\().)\/(?!\))/,lookbehind:!0}],punctuation:/\(\/|\/\)|[(),;:&]/}}function xp(e){e.register(yu),function(e){for(var t=/[^<()"']|\((?:)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,n=0;n<2;n++)t=t.replace(//g,(function(){return t}));t=t.replace(//g,/[^\s\S]/.source);var r={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:))*\})*\1/.source.replace(//g,(function(){return t}))),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:))*\}/.source.replace(//g,(function(){return t}))),lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:null}}}}],keyword:/\b(?:as)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/((?:^|[^?])\?\s*)\w+/,lookbehind:!0,alias:"function"},function:/\b\w+(?=\s*\()/,number:/\b\d+(?:\.\d+)?\b/,operator:/\.\.[<*!]?|->|--|\+\+|&&|\|\||\?{1,2}|[-+*/%!=<>]=?|\b(?:gt|gte|lt|lte)\b/,punctuation:/[,;.:()[\]{}]/};r.string[1].inside.interpolation.inside.rest=r,e.languages.ftl={"ftl-comment":{pattern:/^<#--[\s\S]*/,alias:"comment"},"ftl-directive":{pattern:/^<[\s\S]+>$/,inside:{directive:{pattern:/(^<\/?)[#@][a-z]\w*/i,lookbehind:!0,alias:"keyword"},punctuation:/^<\/?|\/?>$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:r}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:r}}}},e.hooks.add("before-tokenize",(function(n){var r=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:)*?>|\$\{(?:)*?\}/.source.replace(//g,(function(){return t})),"gi");e.languages["markup-templating"].buildPlaceholders(n,"ftl",r)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"ftl")}))}(e)}function Sp(e){e.register(Kc),e.languages.gamemakerlanguage=e.languages.gml=e.languages.extend("clike",{keyword:/\b(?:break|case|continue|default|do|else|enum|exit|for|globalvar|if|repeat|return|switch|until|var|while)\b/,number:/(?:\b0x[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ulf]{0,4}/i,operator:/--|\+\+|[-+%/=]=?|!=|\*\*?=?|<[<=>]?|>[=>]?|&&?|\^\^?|\|\|?|~|\b(?:and|at|not|or|with|xor)\b/,constant:/\b(?:GM_build_date|GM_version|action_(?:continue|restart|reverse|stop)|all|gamespeed_(?:fps|microseconds)|global|local|noone|other|pi|pointer_(?:invalid|null)|self|timezone_(?:local|utc)|undefined|ev_(?:create|destroy|step|alarm|keyboard|mouse|collision|other|draw|draw_(?:begin|end|post|pre)|keypress|keyrelease|trigger|(?:left|middle|no|right)_button|(?:left|middle|right)_press|(?:left|middle|right)_release|mouse_(?:enter|leave|wheel_down|wheel_up)|global_(?:left|middle|right)_button|global_(?:left|middle|right)_press|global_(?:left|middle|right)_release|joystick(?:1|2)_(?:button1|button2|button3|button4|button5|button6|button7|button8|down|left|right|up)|outside|boundary|game_start|game_end|room_start|room_end|no_more_lives|animation_end|end_of_path|no_more_health|user\d|gui|gui_begin|gui_end|step_(?:begin|end|normal))|vk_(?:alt|anykey|backspace|control|delete|down|end|enter|escape|home|insert|left|nokey|pagedown|pageup|pause|printscreen|return|right|shift|space|tab|up|f\d|numpad\d|add|decimal|divide|lalt|lcontrol|lshift|multiply|ralt|rcontrol|rshift|subtract)|achievement_(?:filter_(?:all_players|favorites_only|friends_only)|friends_info|info|leaderboard_info|our_info|pic_loaded|show_(?:achievement|bank|friend_picker|leaderboard|profile|purchase_prompt|ui)|type_challenge|type_score_challenge)|asset_(?:font|object|path|room|script|shader|sound|sprite|tiles|timeline|unknown)|audio_(?:3d|falloff_(?:exponent_distance|exponent_distance_clamped|inverse_distance|inverse_distance_clamped|linear_distance|linear_distance_clamped|none)|mono|new_system|old_system|stereo)|bm_(?:add|complex|dest_alpha|dest_color|dest_colour|inv_dest_alpha|inv_dest_color|inv_dest_colour|inv_src_alpha|inv_src_color|inv_src_colour|max|normal|one|src_alpha|src_alpha_sat|src_color|src_colour|subtract|zero)|browser_(?:chrome|firefox|ie|ie_mobile|not_a_browser|opera|safari|safari_mobile|tizen|unknown|windows_store)|buffer_(?:bool|f16|f32|f64|fast|fixed|generalerror|grow|invalidtype|network|outofbounds|outofspace|s16|s32|s8|seek_end|seek_relative|seek_start|string|text|u16|u32|u64|u8|vbuffer|wrap)|c_(?:aqua|black|blue|dkgray|fuchsia|gray|green|lime|ltgray|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)|cmpfunc_(?:always|equal|greater|greaterequal|less|lessequal|never|notequal)|cr_(?:appstart|arrow|beam|cross|default|drag|handpoint|hourglass|none|size_all|size_nesw|size_ns|size_nwse|size_we|uparrow)|cull_(?:clockwise|counterclockwise|noculling)|device_(?:emulator|tablet)|device_ios_(?:ipad|ipad_retina|iphone|iphone5|iphone6|iphone6plus|iphone_retina|unknown)|display_(?:landscape|landscape_flipped|portrait|portrait_flipped)|dll_(?:cdecl|cdel|stdcall)|ds_type_(?:grid|list|map|priority|queue|stack)|ef_(?:cloud|ellipse|explosion|firework|flare|rain|ring|smoke|smokeup|snow|spark|star)|fa_(?:archive|bottom|center|directory|hidden|left|middle|readonly|right|sysfile|top|volumeid)|fb_login_(?:default|fallback_to_webview|forcing_safari|forcing_webview|no_fallback_to_webview|use_system_account)|iap_(?:available|canceled|ev_consume|ev_product|ev_purchase|ev_restore|ev_storeload|failed|purchased|refunded|status_available|status_loading|status_processing|status_restoring|status_unavailable|status_uninitialised|storeload_failed|storeload_ok|unavailable)|leaderboard_type_(?:number|time_mins_secs)|lighttype_(?:dir|point)|matrix_(?:projection|view|world)|mb_(?:any|left|middle|none|right)|network_(?:config_(?:connect_timeout|disable_reliable_udp|enable_reliable_udp|use_non_blocking_socket)|socket_(?:bluetooth|tcp|udp)|type_(?:connect|data|disconnect|non_blocking_connect))|of_challenge_(?:lose|tie|win)|os_(?:android|ios|linux|macosx|ps3|ps4|psvita|unknown|uwp|win32|win8native|windows|winphone|xboxone)|phy_debug_render_(?:aabb|collision_pairs|coms|core_shapes|joints|obb|shapes)|phy_joint_(?:anchor_1_x|anchor_1_y|anchor_2_x|anchor_2_y|angle|angle_limits|damping_ratio|frequency|length_1|length_2|lower_angle_limit|max_force|max_length|max_motor_force|max_motor_torque|max_torque|motor_force|motor_speed|motor_torque|reaction_force_x|reaction_force_y|reaction_torque|speed|translation|upper_angle_limit)|phy_particle_data_flag_(?:category|color|colour|position|typeflags|velocity)|phy_particle_flag_(?:colormixing|colourmixing|elastic|powder|spring|tensile|viscous|wall|water|zombie)|phy_particle_group_flag_(?:rigid|solid)|pr_(?:linelist|linestrip|pointlist|trianglefan|trianglelist|trianglestrip)|ps_(?:distr|shape)_(?:diamond|ellipse|gaussian|invgaussian|line|linear|rectangle)|pt_shape_(?:circle|cloud|disk|explosion|flare|line|pixel|ring|smoke|snow|spark|sphere|square|star)|ty_(?:real|string)|gp_(?:face\d|axislh|axislv|axisrh|axisrv|padd|padl|padr|padu|select|shoulderl|shoulderlb|shoulderr|shoulderrb|start|stickl|stickr)|lb_disp_(?:none|numeric|time_ms|time_sec)|lb_sort_(?:ascending|descending|none)|ov_(?:achievements|community|friends|gamegroup|players|settings)|ugc_(?:filetype_(?:community|microtrans)|list_(?:Favorited|Followed|Published|Subscribed|UsedOrPlayed|VotedDown|VotedOn|VotedUp|WillVoteLater)|match_(?:AllGuides|Artwork|Collections|ControllerBindings|IntegratedGuides|Items|Items_Mtx|Items_ReadyToUse|Screenshots|UsableInGame|Videos|WebGuides)|query_(?:AcceptedForGameRankedByAcceptanceDate|CreatedByFriendsRankedByPublicationDate|FavoritedByFriendsRankedByPublicationDate|NotYetRated)|query_RankedBy(?:NumTimesReported|PublicationDate|TextSearch|TotalVotesAsc|Trend|Vote|VotesUp)|result_success|sortorder_CreationOrder(?:Asc|Desc)|sortorder_(?:ForModeration|LastUpdatedDesc|SubscriptionDateDesc|TitleAsc|VoteScoreDesc)|visibility_(?:friends_only|private|public))|vertex_usage_(?:binormal|blendindices|blendweight|color|colour|depth|fog|normal|position|psize|sample|tangent|texcoord|textcoord)|vertex_type_(?:float\d|color|colour|ubyte4)|input_type|layerelementtype_(?:background|instance|oldtilemap|particlesystem|sprite|tile|tilemap|undefined)|se_(?:chorus|compressor|echo|equalizer|flanger|gargle|none|reverb)|text_type|tile_(?:flip|index_mask|mirror|rotate)|(?:obj|rm|scr|spr)\w+)\b/,variable:/\b(?:alarm|application_surface|async_load|background_(?:alpha|blend|color|colour|foreground|height|hspeed|htiled|index|showcolor|showcolour|visible|vspeed|vtiled|width|x|xscale|y|yscale)|bbox_(?:bottom|left|right|top)|browser_(?:height|width)|caption_(?:health|lives|score)|current_(?:day|hour|minute|month|second|time|weekday|year)|cursor_sprite|debug_mode|delta_time|direction|display_aa|error_(?:last|occurred)|event_(?:action|number|object|type)|fps|fps_real|friction|game_(?:display|project|save)_(?:id|name)|gamemaker_(?:pro|registered|version)|gravity|gravity_direction|(?:h|v)speed|health|iap_data|id|image_(?:alpha|angle|blend|depth|index|number|speed|xscale|yscale)|instance_(?:count|id)|keyboard_(?:key|lastchar|lastkey|string)|layer|lives|mask_index|mouse_(?:button|lastbutton|x|y)|object_index|os_(?:browser|device|type|version)|path_(?:endaction|index|orientation|position|positionprevious|scale|speed)|persistent|phy_(?:rotation|(?:col_normal|collision|com|linear_velocity|position|speed)_(?:x|y)|angular_(?:damping|velocity)|position_(?:x|y)previous|speed|linear_damping|bullet|fixed_rotation|active|mass|inertia|dynamic|kinematic|sleeping|collision_points)|pointer_(?:invalid|null)|room|room_(?:caption|first|height|last|persistent|speed|width)|score|secure_mode|show_(?:health|lives|score)|solid|speed|sprite_(?:height|index|width|xoffset|yoffset)|temp_directory|timeline_(?:index|loop|position|running|speed)|transition_(?:color|kind|steps)|undefined|view_(?:angle|current|enabled|(?:h|v)(?:border|speed)|(?:h|w|x|y)port|(?:h|w|x|y)view|object|surface_id|visible)|visible|webgl_enabled|working_directory|(?:x|y)(?:previous|start)|x|y|argument(?:_relitive|_count|\d)|argument|global|local|other|self)\b/})}function Cp(e){e.languages.gap={shell:{pattern:/^gap>[\s\S]*?(?=^gap>|$(?![\s\S]))/m,greedy:!0,inside:{gap:{pattern:/^(gap>).+(?:(?:\r(?:\n|(?!\n))|\n)>.*)*/,lookbehind:!0,inside:null},punctuation:/^gap>/}},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\'"])(?:'(?:[^\r\n\\']|\\.){1,10}'|"(?:[^\r\n\\"]|\\.)*"(?!")|"""[\s\S]*?""")/,lookbehind:!0,greedy:!0,inside:{continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"}}},keyword:/\b(?:Assert|Info|IsBound|QUIT|TryNextMethod|Unbind|and|atomic|break|continue|do|elif|else|end|fi|for|function|if|in|local|mod|not|od|or|quit|readonly|readwrite|rec|repeat|return|then|until|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"},operator:/->|[-+*/^~=!]|<>|[<>]=?|:=|\.\./,punctuation:/[()[\]{},;.:]/},e.languages.gap.shell.inside.gap.inside=e.languages.gap}function Ap(e){e.languages.gcode={comment:/;.*|\B\(.*?\)\B/,string:{pattern:/"(?:""|[^"])*"/,greedy:!0},keyword:/\b[GM]\d+(?:\.\d+)?\b/,property:/\b[A-Z]/,checksum:{pattern:/(\*)\d+/,lookbehind:!0,alias:"number"},punctuation:/[:*]/}}function Rp(e){e.languages.gdscript={comment:/#.*/,string:{pattern:/@?(?:("|')(?:(?!\1)[^\n\\]|\\[\s\S])*\1(?!"|')|"""(?:[^\\]|\\[\s\S])*?""")/,greedy:!0},"class-name":{pattern:/(^(?:class|class_name|extends)[ \t]+|^export\([ \t]*|\bas[ \t]+|(?:\b(?:const|var)[ \t]|[,(])[ \t]*\w+[ \t]*:[ \t]*|->[ \t]*)[a-zA-Z_]\w*/m,lookbehind:!0},keyword:/\b(?:and|as|assert|break|breakpoint|class|class_name|const|continue|elif|else|enum|export|extends|for|func|if|in|is|master|mastersync|match|not|null|onready|or|pass|preload|puppet|puppetsync|remote|remotesync|return|self|setget|signal|static|tool|var|while|yield)\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,variable:/\$\w+/,number:[/\b0b[01_]+\b|\b0x[\da-fA-F_]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.[\d_]+)(?:e[+-]?[\d_]+)?\b/,/\b(?:INF|NAN|PI|TAU)\b/],constant:/\b[A-Z][A-Z_\d]*\b/,boolean:/\b(?:false|true)\b/,operator:/->|:=|&&|\|\||<<|>>|[-+*/%&|!<>=]=?|[~^]/,punctuation:/[.:,;()[\]{}]/}}function wp(e){e.languages.gedcom={"line-value":{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ ).+/m,lookbehind:!0,inside:{pointer:{pattern:/^@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/,alias:"variable"}}},record:{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,lookbehind:!0,alias:"tag"},level:{pattern:/(^[\t ]*)\d+/m,lookbehind:!0,alias:"number"},pointer:{pattern:/@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,alias:"variable"}}}function Lp(e){e.languages.gettext={comment:[{pattern:/# .*/,greedy:!0,alias:"translator-comment"},{pattern:/#\..*/,greedy:!0,alias:"extracted-comment"},{pattern:/#:.*/,greedy:!0,alias:"reference-comment"},{pattern:/#,.*/,greedy:!0,alias:"flag-comment"},{pattern:/#\|.*/,greedy:!0,alias:"previously-untranslated-comment"},{pattern:/#.*/,greedy:!0}],string:{pattern:/(^|[^\\])"(?:[^"\\]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/^msg(?:ctxt|id|id_plural|str)\b/m,number:/\b\d+\b/,punctuation:/[\[\]]/},e.languages.po=e.languages.gettext}function Op(e){!function(e){var t=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source;e.languages.gherkin={pystring:{pattern:/("""|''')[\s\S]+?\1/,alias:"string"},comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},tag:{pattern:/(^[ \t]*)@\S*/m,lookbehind:!0},feature:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|Lastnost|Mak|Mogucnost|laH|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):(?:[^:\r\n]+(?:\r?\n|\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]+/,lookbehind:!0},keyword:/[^:\r\n]+:/}},scenario:{pattern:/(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|Grundlage|Hannergrond|ghantoH|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|Lýsing Atburðarásar|Lýsing Dæma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan Senaryo|Plan senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\r\n]*/m,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]*/,lookbehind:!0},keyword:/[^:\r\n]+:/}},"table-body":{pattern:RegExp("("+t+")(?:"+t+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(t),inside:{th:{pattern:/\s*[^\s|][^|]*/,alias:"variable"},punctuation:/\|/}},atrule:{pattern:/(^[ \t]+)(?:'a|'ach|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cand|Cando|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|E|En|Entonces|Epi|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kad|Kada|Kadar|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|Un|Und|ugeholl|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \t])/m,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"}}},outline:{pattern:/<[^>]+>/,alias:"variable"}}}(e)}function Np(e){e.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m}}function Ip(e){e.register(qc),e.languages.glsl=e.languages.extend("c",{keyword:/\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234])?|default|discard|do|double|else|enum|extern|external|false|filter|fixed|flat|float|for|fvec[234]|goto|half|highp|hvec[234]|[iu]?sampler2DMS(?:Array)?|[iu]?sampler2DRect|[iu]?samplerBuffer|[iu]?samplerCube|[iu]?samplerCubeArray|[iu]?sampler[123]D|[iu]?sampler[12]DArray|[iu]?image2DMS(?:Array)?|[iu]?image2DRect|[iu]?imageBuffer|[iu]?imageCube|[iu]?imageCubeArray|[iu]?image[123]D|[iu]?image[12]DArray|if|in|inline|inout|input|int|interface|invariant|layout|long|lowp|mediump|namespace|noinline|noperspective|out|output|partition|patch|precise|precision|public|readonly|resource|restrict|return|sample|sampler[12]DArrayShadow|sampler[12]DShadow|sampler2DRectShadow|sampler3DRect|samplerCubeArrayShadow|samplerCubeShadow|shared|short|sizeof|smooth|static|struct|subroutine|superp|switch|template|this|true|typedef|uint|uniform|union|unsigned|using|varying|void|volatile|while|writeonly)\b/})}function kp(e){e.languages.gn={comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/(^|[^\\"])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[\s\S]*?\}|[a-zA-Z_]\w*|0x[a-fA-F0-9]{2})/,lookbehind:!0,inside:{number:/^\$0x[\s\S]{2}$/,variable:/^\$\w+$/,"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:/\b(?:else|if)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/\b(?:assert|defined|foreach|import|pool|print|template|tool|toolchain)(?=\s*\()/i,alias:"keyword"},function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:current_cpu|current_os|current_toolchain|default_toolchain|host_cpu|host_os|root_build_dir|root_gen_dir|root_out_dir|target_cpu|target_gen_dir|target_os|target_out_dir)\b/,number:/-?\b\d+\b/,operator:/[-+!=<>]=?|&&|\|\|/,punctuation:/[(){}[\],.]/},e.languages.gn["string-literal"].inside.interpolation.inside.expression.inside=e.languages.gn,e.languages.gni=e.languages.gn}function Dp(e){e.languages["linker-script"]={comment:{pattern:/(^|\s)\/\*[\s\S]*?(?:$|\*\/)/,lookbehind:!0,greedy:!0},identifier:{pattern:/"[^"\r\n]*"/,greedy:!0},"location-counter":{pattern:/\B\.\B/,alias:"important"},section:{pattern:/(^|[^\w*])\.\w+\b/,lookbehind:!0,alias:"keyword"},function:/\b[A-Z][A-Z_]*(?=\s*\()/,number:/\b(?:0[xX][a-fA-F0-9]+|\d+)[KM]?\b/,operator:/>>=?|<<=?|->|\+\+|--|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?/,punctuation:/[(){},;]/},e.languages.ld=e.languages["linker-script"]}function Pp(e){e.languages["go-mod"]=e.languages["go-module"]={comment:{pattern:/\/\/.*/,greedy:!0},version:{pattern:/(^|[\s()[\],])v\d+\.\d+\.\d+(?:[+-][-+.\w]*)?(?![^\s()[\],])/,lookbehind:!0,alias:"number"},"go-version":{pattern:/((?:^|\s)go\s+)\d+(?:\.\d+){1,2}/,lookbehind:!0,alias:"number"},keyword:{pattern:/^([ \t]*)(?:exclude|go|module|replace|require|retract)\b/m,lookbehind:!0},operator:/=>/,punctuation:/[()[\],]/}}function Mp(e){e.register(Kc),function(e){var t={pattern:/((?:^|[^\\$])(?:\\{2})*)\$(?:\w+|\{[^{}]*\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}};e.languages.gradle=e.languages.extend("clike",{string:{pattern:/'''(?:[^\\]|\\[\s\S])*?'''|'(?:\\.|[^\\'\r\n])*'/,greedy:!0},keyword:/\b(?:apply|def|dependencies|else|if|implementation|import|plugin|plugins|project|repositories|repository|sourceSets|tasks|val)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),e.languages.insertBefore("gradle","string",{shebang:{pattern:/#!.+/,alias:"comment",greedy:!0},"interpolation-string":{pattern:/"""(?:[^\\]|\\[\s\S])*?"""|(["/])(?:\\.|(?!\1)[^\\\r\n])*\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}}}),e.languages.insertBefore("gradle","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),e.languages.insertBefore("gradle","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),t.inside.expression.inside=e.languages.gradle}(e)}function Fp(e){e.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:e.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},e.hooks.add("after-tokenize",(function(e){if("graphql"===e.language)for(var t=e.tokens.filter((function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type})),n=0;n0)){var s=p(/^\{$/,/^\}$/);if(-1===s)continue;for(var l=n;l=0&&d(c,"variable-input")}}}}function u(e){return t[n+e]}function h(e,t){t=t||0;for(var n=0;n]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),e.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment",greedy:!0},"interpolation-string":{pattern:/"""(?:[^\\]|\\[\s\S])*?"""|(["/])(?:\\.|(?!\1)[^\\\r\n])*\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}}}),e.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),e.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),t.inside.expression.inside=e.languages.groovy}(e)}function Bp(e){e.register(eu),function(e){var t=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,n=/\)|\((?![^|()\n]+\))/.source;function r(e,r){return RegExp(e.replace(//g,(function(){return"(?:"+t+")"})).replace(//g,(function(){return"(?:"+n+")"})),r||"")}var i={css:{pattern:/\{[^{}]+\}/,inside:{rest:e.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},o=e.languages.textile=e.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:r(/^[a-z]\w*(?:||[<>=])*\./.source),inside:{modifier:{pattern:r(/(^[a-z]\w*)(?:||[<>=])+(?=\.)/.source),lookbehind:!0,inside:i},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:r(/^[*#]+*\s+\S.*/.source,"m"),inside:{modifier:{pattern:r(/(^[*#]+)+/.source),lookbehind:!0,inside:i},punctuation:/^[*#]+/}},table:{pattern:r(/^(?:(?:||[<>=^~])+\.\s*)?(?:\|(?:(?:||[<>=^~_]|[\\/]\d+)+\.|(?!(?:||[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:r(/(^|\|(?:\r?\n|\r)?)(?:||[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:i},punctuation:/\||^\./}},inline:{pattern:r(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:r(/(^(\*\*?)*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:r(/(^(__?)*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:r(/(^\?\?*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:r(/(^@*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:r(/(^\+*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:r(/(^-*).+?(?=-)/.source),lookbehind:!0},span:{pattern:r(/(^%*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:r(/(^\*\*|__|\?\?|[*_%@+\-^~])+/.source),lookbehind:!0,inside:i},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:r(/"*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:r(/(^"*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:r(/(^")+/.source),lookbehind:!0,inside:i},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:r(/!(?:||[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:r(/(^!(?:||[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:r(/(^!)(?:||[<>=])+/.source),lookbehind:!0,inside:i},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\b\[\d+\]/,alias:"comment",inside:{punctuation:/\[|\]/}},acronym:{pattern:/\b[A-Z\d]+\([^)]+\)/,inside:{comment:{pattern:/(\()[^()]+(?=\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\b\((?:C|R|TM)\)/,alias:"comment",inside:{punctuation:/[()]/}}}}}),a=o.phrase.inside,s={inline:a.inline,link:a.link,image:a.image,footnote:a.footnote,acronym:a.acronym,mark:a.mark};o.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var l=a.inline.inside;l.bold.inside=s,l.italic.inside=s,l.inserted.inside=s,l.deleted.inside=s,l.span.inside=s;var c=a.table.inside;c.inline=s.inline,c.link=s.link,c.image=s.image,c.footnote=s.footnote,c.acronym=s.acronym,c.mark=s.mark}(e)}function Up(e){e.register(Eu),function(e){e.languages.haml={"multiline-comment":{pattern:/((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ].+)*/,lookbehind:!0,alias:"comment"},"multiline-code":[{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ].*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ].+)/,lookbehind:!0,inside:e.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:e.languages.ruby}],filter:{pattern:/((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"}}},markup:{pattern:/((?:^|\r?\n|\r)[\t ]*)<.+/,lookbehind:!0,inside:e.languages.markup},doctype:{pattern:/((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^{}])+\}|\[[^\]]+\])*[\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\{(?:\{[^}]+\}|[^{}])+\}/,lookbehind:!0,inside:e.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:e.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:e.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:e.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var t=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],n={},r=0,i=t.length;r@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},e.hooks.add("before-tokenize",(function(t){e.languages["markup-templating"].buildPlaceholders(t,"handlebars",/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"handlebars")})),e.languages.hbs=e.languages.handlebars,e.languages.mustache=e.languages.handlebars}(e)}function Gp(e){e.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|\{-[\s\S]*?-\})/m,lookbehind:!0},char:{pattern:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|ACK|BEL|BS|CAN|CR|DC1|DC2|DC3|DC4|DEL|DLE|EM|ENQ|EOT|ESC|ETB|ETX|FF|FS|GS|HT|LF|NAK|NUL|RS|SI|SO|SOH|SP|STX|SUB|SYN|US|VT|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,alias:"string"},string:{pattern:/"(?:[^\\"]|\\(?:\S|\s+\\))*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,"import-statement":{pattern:/(^[\t ]*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import|qualified)\b/,punctuation:/\./}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:[{pattern:/`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,greedy:!0},{pattern:/(\s)\.(?=\s)/,lookbehind:!0},/[-!#$%*+=?&@|~:<>^\\\/][-!#$%*+=?&@|~.:<>^\\\/]*|\.[-!#$%*+=?&@|~.:<>^\\\/]+/],hvariable:{pattern:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*/,inside:{punctuation:/\./}},constant:{pattern:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:]/},e.languages.hs=e.languages.haskell}function Yp(e){e.register(Kc),e.languages.haxe=e.languages.extend("clike",{string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},"class-name":[{pattern:/(\b(?:abstract|class|enum|extends|implements|interface|new|typedef)\s+)[A-Z_]\w*/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|final|for|from|function|if|implements|import|in|inline|interface|macro|new|null|operator|overload|override|package|private|public|return|static|super|switch|throw|to|try|typedef|untyped|using|var|while)(?!\.)\b/,function:{pattern:/\b[a-z_]\w*(?=\s*(?:<[^<>]*>\s*)?\()/i,greedy:!0},operator:/\.{3}|\+\+|--|&&|\|\||->|=>|(?:<{1,3}|[-+*/%!=&|^])=?|[?:~]/}),e.languages.insertBefore("haxe","string",{"string-interpolation":{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{interpolation:{pattern:/(^|[^\\])\$(?:\w+|\{[^{}]+\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.haxe}}},string:/[\s\S]+/}}}),e.languages.insertBefore("haxe","class-name",{regex:{pattern:/~\/(?:[^\/\\\r\n]|\\.)+\/[a-z]*/,greedy:!0,inside:{"regex-flags":/\b[a-z]+$/,"regex-source":{pattern:/^(~\/)[\s\S]+(?=\/$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^~\/|\/$/}}}),e.languages.insertBefore("haxe","keyword",{preprocessor:{pattern:/#(?:else|elseif|end|if)\b.*/,alias:"property"},metadata:{pattern:/@:?[\w.]+/,alias:"symbol"},reification:{pattern:/\$(?:\w+|(?=\{))/,alias:"important"}})}function zp(e){e.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,greedy:!0,alias:"string"},keyword:[{pattern:/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,inside:{type:{pattern:/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},/[\w-]+(?=\s+\{)/],property:[/[-\w\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],string:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:count|data|local|module|path|self|terraform|var)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,boolean:/\b(?:false|true)\b/i,punctuation:/[=\[\]{}]/}}function $p(e){e.register(qc),e.languages.hlsl=e.languages.extend("c",{"class-name":[e.languages.c["class-name"],/\b(?:AppendStructuredBuffer|BlendState|Buffer|ByteAddressBuffer|CompileShader|ComputeShader|ConsumeStructuredBuffer|DepthStencilState|DepthStencilView|DomainShader|GeometryShader|Hullshader|InputPatch|LineStream|OutputPatch|PixelShader|PointStream|RWBuffer|RWByteAddressBuffer|RWStructuredBuffer|RWTexture(?:1D|1DArray|2D|2DArray|3D)|RasterizerState|RenderTargetView|SamplerComparisonState|SamplerState|StructuredBuffer|Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray)|TriangleStream|VertexShader)\b/],keyword:[/\b(?:asm|asm_fragment|auto|break|case|catch|cbuffer|centroid|char|class|column_major|compile|compile_fragment|const|const_cast|continue|default|delete|discard|do|dynamic_cast|else|enum|explicit|export|extern|for|friend|fxgroup|goto|groupshared|if|in|inline|inout|interface|line|lineadj|linear|long|matrix|mutable|namespace|new|nointerpolation|noperspective|operator|out|packoffset|pass|pixelfragment|point|precise|private|protected|public|register|reinterpret_cast|return|row_major|sample|sampler|shared|short|signed|sizeof|snorm|stateblock|stateblock_state|static|static_cast|string|struct|switch|tbuffer|technique|technique10|technique11|template|texture|this|throw|triangle|triangleadj|try|typedef|typename|uniform|union|unorm|unsigned|using|vector|vertexfragment|virtual|void|volatile|while)\b/,/\b(?:bool|double|dword|float|half|int|min(?:10float|12int|16(?:float|int|uint))|uint)(?:[1-4](?:x[1-4])?)?\b/],number:/(?:(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?|\b0x[\da-fA-F]+)[fFhHlLuU]?\b/,boolean:/\b(?:false|true)\b/})}function Wp(e){e.languages.hoon={comment:{pattern:/::.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'/,greedy:!0},constant:/%(?:\.[ny]|[\w-]+)/,"class-name":/@(?:[a-z0-9-]*[a-z0-9])?|\*/i,function:/(?:\+[-+] {2})?(?:[a-z](?:[a-z0-9-]*[a-z0-9])?)/,keyword:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}function Vp(e){e.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}function Kp(e){e.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}function qp(e){e.languages.uri={scheme:{pattern:/^[a-z][a-z0-9+.-]*:/im,greedy:!0,inside:{"scheme-delimiter":/:$/}},fragment:{pattern:/#[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"fragment-delimiter":/^#/}},query:{pattern:/\?[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"query-delimiter":{pattern:/^\?/,greedy:!0},"pair-delimiter":/[&;]/,pair:{pattern:/^[^=][\s\S]*/,inside:{key:/^[^=]+/,value:{pattern:/(^=)[\s\S]+/,lookbehind:!0}}}}},authority:{pattern:RegExp(/^\/\//.source+/(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source+"(?:"+/\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/.source+"|"+/[\w\-.~!$&'()*+,;=%]*/.source+")"+/(?::\d*)?/.source,"m"),inside:{"authority-delimiter":/^\/\//,"user-info-segment":{pattern:/^[\w\-.~!$&'()*+,;=%:]*@/,inside:{"user-info-delimiter":/@$/,"user-info":/^[\w\-.~!$&'()*+,;=%:]+/}},"port-segment":{pattern:/:\d*$/,inside:{"port-delimiter":/^:/,port:/^\d+/}},host:{pattern:/[\s\S]+/,inside:{"ip-literal":{pattern:/^\[[\s\S]+\]$/,inside:{"ip-literal-delimiter":/^\[|\]$/,"ipv-future":/^v[\s\S]+/,"ipv6-address":/^[\s\S]+/}},"ipv4-address":/^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/}}}},path:{pattern:/^[\w\-.~!$&'()*+,;=%:@/]+/m,inside:{"path-separator":/\//}}},e.languages.url=e.languages.uri}function Xp(e){!function(e){function t(e){return RegExp("(^(?:"+e+"):[ \t]*(?![ \t]))[^]+","i")}e.languages.http={"request-line":{pattern:/^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PRI|PUT|SEARCH|TRACE)\s(?:https?:\/\/|\/)\S*\sHTTP\/[\d.]+/m,inside:{method:{pattern:/^[A-Z]+\b/,alias:"property"},"request-target":{pattern:/^(\s)(?:https?:\/\/|\/)\S*(?=\s)/,lookbehind:!0,alias:"url",inside:e.languages.uri},"http-version":{pattern:/^(\s)HTTP\/[\d.]+/,lookbehind:!0,alias:"property"}}},"response-status":{pattern:/^HTTP\/[\d.]+ \d+ .+/m,inside:{"http-version":{pattern:/^HTTP\/[\d.]+/,alias:"property"},"status-code":{pattern:/^(\s)\d+(?=\s)/,lookbehind:!0,alias:"number"},"reason-phrase":{pattern:/^(\s).+/,lookbehind:!0,alias:"string"}}},header:{pattern:/^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,inside:{"header-value":[{pattern:t(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:e.languages.csp},{pattern:t(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:e.languages.hpkp},{pattern:t(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:e.languages.hsts},{pattern:t(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var n,r=e.languages,i={"application/javascript":r.javascript,"application/json":r.json||r.javascript,"application/xml":r.xml,"text/xml":r.xml,"text/html":r.html,"text/css":r.css,"text/plain":r.plain},o={"application/json":!0,"application/xml":!0};function a(e){var t=e.replace(/^[a-z]+\//,"");return"(?:"+e+"|\\w+/(?:[\\w.-]+\\+)+"+t+"(?![+\\w.-]))"}for(var s in i)if(i[s]){n=n||{};var l=o[s]?a(s):s;n[s.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+l+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:i[s]}}n&&e.languages.insertBefore("http","header",n)}(e)}function Zp(e){e.languages.ichigojam={comment:/(?:\B'|REM)(?:[^\n\r]*)/i,string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/\B#[0-9A-F]+|\B`[01]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:BEEP|BPS|CASE|CLEAR|CLK|CLO|CLP|CLS|CLT|CLV|CONT|COPY|ELSE|END|FILE|FILES|FOR|GOSUB|GOTO|GSB|IF|INPUT|KBD|LED|LET|LIST|LOAD|LOCATE|LRUN|NEW|NEXT|OUT|PLAY|POKE|PRINT|PWM|REM|RENUM|RESET|RETURN|RIGHT|RTN|RUN|SAVE|SCROLL|SLEEP|SRND|STEP|STOP|SUB|TEMPO|THEN|TO|UART|VIDEO|WAIT)(?:\$|\b)/i,function:/\b(?:ABS|ANA|ASC|BIN|BTN|DEC|END|FREE|HELP|HEX|I2CR|I2CW|IN|INKEY|LEN|LINE|PEEK|RND|SCR|SOUND|STR|TICK|USR|VER|VPEEK|ZER)(?:\$|\b)/i,label:/(?:\B@\S+)/,operator:/<[=>]?|>=?|\|\||&&|[+\-*\/=|&^~!]|\b(?:AND|NOT|OR)\b/i,punctuation:/[\[,;:()\]]/}}function Qp(e){e.languages.icon={comment:/#.*/,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/,greedy:!0},number:/\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i,"builtin-keyword":{pattern:/&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/,alias:"variable"},directive:{pattern:/\$\w+/,alias:"builtin"},keyword:/\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/,function:/\b(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/,operator:/[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/,punctuation:/[\[\](){},;]/}}function Jp(e){!function(e){function t(e,n){return n<=0?/[]/.source:e.replace(//g,(function(){return t(e,n-1)}))}var n=/'[{}:=,](?:[^']|'')*'(?!')/,r={pattern:/''/,greedy:!0,alias:"operator"},i={pattern:n,greedy:!0,inside:{escape:r}},o=t(/\{(?:[^{}']|'(?![{},'])|''||)*\}/.source.replace(//g,(function(){return n.source})),8),a={pattern:RegExp(o),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};e.languages["icu-message-format"]={argument:{pattern:RegExp(o),greedy:!0,inside:{content:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:{"argument-name":{pattern:/^(\s*)[^{}:=,\s]+/,lookbehind:!0},"choice-style":{pattern:/^(\s*,\s*choice\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{punctuation:/\|/,range:{pattern:/^(\s*)[+-]?(?:\d+(?:\.\d*)?|\u221e)\s*[<#\u2264]/,lookbehind:!0,inside:{operator:/[<#\u2264]/,number:/\S+/}},rest:null}},"plural-style":{pattern:/^(\s*,\s*(?:plural|selectordinal)\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{offset:/^offset:\s*\d+/,"nested-message":a,selector:{pattern:/=\d+|[^{}:=,\s]+/,inside:{keyword:/^(?:few|many|one|other|two|zero)$/}}}},"select-style":{pattern:/^(\s*,\s*select\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{"nested-message":a,selector:{pattern:/[^{}:=,\s]+/,inside:{keyword:/^other$/}}}},keyword:/\b(?:choice|plural|select|selectordinal)\b/,"arg-type":{pattern:/\b(?:date|duration|number|ordinal|spellout|time)\b/,alias:"keyword"},"arg-skeleton":{pattern:/(,\s*)::[^{}:=,\s]+/,lookbehind:!0},"arg-style":{pattern:/(,\s*)(?:currency|full|integer|long|medium|percent|short)(?=\s*$)/,lookbehind:!0},"arg-style-text":{pattern:RegExp(/(^\s*,\s*(?=\S))/.source+t(/(?:[^{}']|'[^']*'|\{(?:)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:r,string:i},a.inside.message.inside=e.languages["icu-message-format"],e.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest=e.languages["icu-message-format"]}(e)}function ed(e){e.register(Gp),e.languages.idris=e.languages.extend("haskell",{comment:{pattern:/(?:(?:--|\|\|\|).*$|\{-[\s\S]*?-\})/m},keyword:/\b(?:Type|case|class|codata|constructor|corecord|data|do|dsl|else|export|if|implementation|implicit|import|impossible|in|infix|infixl|infixr|instance|interface|let|module|mutual|namespace|of|parameters|partial|postulate|private|proof|public|quoteGoal|record|rewrite|syntax|then|total|using|where|with)\b/,builtin:void 0}),e.languages.insertBefore("idris","keyword",{"import-statement":{pattern:/(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.idr=e.languages.idris}function td(e){!function(e){e.languages.ignore={comment:/^#.*/m,entry:{pattern:/\S(?:.*(?:(?:\\ )|\S))?/,alias:"string",inside:{operator:/^!|\*\*?|\?/,regex:{pattern:/(^|[^\\])\[[^\[\]]*\]/,lookbehind:!0},punctuation:/\//}}},e.languages.gitignore=e.languages.ignore,e.languages.hgignore=e.languages.ignore,e.languages.npmignore=e.languages.ignore}(e)}function nd(e){e.languages.inform7={string:{pattern:/"[^"]*"/,inside:{substitution:{pattern:/\[[^\[\]]+\]/,inside:{delimiter:{pattern:/\[|\]/,alias:"punctuation"}}}}},comment:{pattern:/\[[^\[\]]+\]/,greedy:!0},title:{pattern:/^[ \t]*(?:book|chapter|part(?! of)|section|table|volume)\b.+/im,alias:"important"},number:{pattern:/(^|[^-])(?:\b\d+(?:\.\d+)?(?:\^\d+)?(?:(?!\d)\w+)?|\b(?:eight|eleven|five|four|nine|one|seven|six|ten|three|twelve|two))\b(?!-)/i,lookbehind:!0},verb:{pattern:/(^|[^-])\b(?:answering|applying to|are|asking|attacking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:ing|s)?|consulting|contain(?:ing|s)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:s|ve|ving)|hold(?:ing|s)?|impl(?:ies|y)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:ing|s)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:ing|s)?|setting|showing|singing|sleeping|smelling|squeezing|support(?:ing|s)?|swearing|switching|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:ing|s)?|var(?:ies|y|ying)|waiting|waking|waving|wear(?:ing|s)?)\b(?!-)/i,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^-])\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|the story|unless)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\b(?!-)/i,lookbehind:!0},property:{pattern:/(^|[^-])\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supported|swinging|switch(?:able|ed(?: off| on)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\b(?!-)/i,lookbehind:!0,alias:"symbol"},position:{pattern:/(^|[^-])\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\b(?!-)/i,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|[^-])\b(?:actions?|activit(?:ies|y)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\b(?!-)/i,lookbehind:!0,alias:"variable"},punctuation:/[.,:;(){}]/},e.languages.inform7.string.inside.substitution.inside.rest=e.languages.inform7,e.languages.inform7.string.inside.substitution.inside.rest.text={pattern:/\S(?:\s*\S)*/,alias:"comment"}}function rd(e){e.languages.io={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/,lookbehind:!0,greedy:!0},"triple-quoted-string":{pattern:/"""(?:\\[\s\S]|(?!""")[^\\])*"""/,greedy:!0,alias:"string"},string:{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},keyword:/\b(?:activate|activeCoroCount|asString|block|break|call|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getEnvironmentVariable|getSlot|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/,builtin:/\b(?:Array|AudioDevice|AudioMixer|BigNum|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Random|Regex|SGML|SGMLElement|SGMLParser|SQLite|Sequence|Server|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink)\b/,boolean:/\b(?:false|nil|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?/i,operator:/[=!*/%+\-^&|]=|>>?=?|<+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/,alias:"keyword"},number:/\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:ad|ar|[ejpx])_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_\b(?!\.))/,adverb:{pattern:/[~}]|[\/\\]\.?|[bfM]\.|t[.:]/,alias:"builtin"},operator:/[=a][.:]|_\./,conjunction:{pattern:/&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/,alias:"variable"},punctuation:/[()]/}}function od(e){!function(e){var t=e.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};Object.defineProperty(t,"addSupport",{value:function(t,n){"string"==typeof t&&(t=[t]),t.forEach((function(t){!function(t,n){var r="doc-comment",i=e.languages[t];if(i){var o=i[r];if(!o){var a={};a[r]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},o=(i=e.languages.insertBefore(t,"comment",a))[r]}if(o instanceof RegExp&&(o=i[r]={pattern:o}),Array.isArray(o))for(var s=0,l=o.length;s|\b(?:abstract|case|catch|class|def|derives|do|else|enum|extends|extension|final|finally|for|forSome|given|if|implicit|import|infix|inline|lazy|match|new|null|object|opaque|open|override|package|private|protected|return|sealed|self|super|this|throw|trait|transparent|try|type|using|val|var|while|with|yield)\b/,number:/\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i,builtin:/\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/,symbol:/'[^\d\s\\]\w*/}),e.languages.insertBefore("scala","triple-quoted-string",{"string-interpolation":{pattern:/\b[a-z]\w*(?:"""(?:[^$]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*?"""|"(?:[^$"\r\n]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*")/i,greedy:!0,inside:{id:{pattern:/^\w+/,greedy:!0,alias:"function"},escape:{pattern:/\\\$"|\$[$"]/,greedy:!0,alias:"symbol"},interpolation:{pattern:/\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,greedy:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.scala}}},string:/[\s\S]+/}}}),delete e.languages.scala["class-name"],delete e.languages.scala.function,delete e.languages.scala.constant}function sd(e){e.register(ou),e.register(od),e.register(eu),function(e){var t=/(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m,n=/#\s*\w+(?:\s*\([^()]*\))?/.source,r=/(?:\b[a-zA-Z]\w+\s*\.\s*)*\b[A-Z]\w*(?:\s*)?|/.source.replace(//g,(function(){return n}));e.languages.javadoc=e.languages.extend("javadoclike",{}),e.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+r+")"),lookbehind:!0,inside:{function:{pattern:/(#\s*)\w+(?=\s*\()/,lookbehind:!0},field:{pattern:/(#\s*)\w+/,lookbehind:!0},namespace:{pattern:/\b(?:[a-z]\w*\s*\.\s*)+/,inside:{punctuation:/\./}},"class-name":/\b[A-Z]\w*/,keyword:e.languages.java.keyword,punctuation:/[#()[\],.]/}},"class-name":{pattern:/(@param\s+)<[A-Z]\w*>/,lookbehind:!0,inside:{punctuation:/[.<>]/}},"code-section":[{pattern:/(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/,lookbehind:!0,inside:{code:{pattern:t,lookbehind:!0,inside:e.languages.java,alias:"language-java"}}},{pattern:/(<(code|pre|tt)>(?!)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,lookbehind:!0,inside:{line:{pattern:t,lookbehind:!0,inside:{tag:e.languages.markup.tag,entity:e.languages.markup.entity,code:{pattern:/.+/,inside:e.languages.java,alias:"language-java"}}}}}],tag:e.languages.markup.tag,entity:e.languages.markup.entity}),e.languages.javadoclike.addSupport("java",e.languages.javadoc)}(e)}function ld(e){e.languages.javastacktrace={summary:{pattern:/^([\t ]*)(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?::.*)?$/m,lookbehind:!0,inside:{keyword:{pattern:/^([\t ]*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m,lookbehind:!0},string:{pattern:/^(\s*)"[^"]*"/,lookbehind:!0},exceptions:{pattern:/^(:?\s*)[\w$.]+(?=:|$)/,lookbehind:!0,inside:{"class-name":/[\w$]+$/,namespace:/\b[a-z]\w*\b/,punctuation:/\./}},message:{pattern:/(:\s*)\S.*/,lookbehind:!0,alias:"string"},punctuation:/:/}},"stack-frame":{pattern:/^([\t ]*)at (?:[\w$./]|@[\w$.+-]*\/)+(?:)?\([^()]*\)/m,lookbehind:!0,inside:{keyword:{pattern:/^(\s*)at(?= )/,lookbehind:!0},source:[{pattern:/(\()\w+\.\w+:\d+(?=\))/,lookbehind:!0,inside:{file:/^\w+\.\w+/,punctuation:/:/,"line-number":{pattern:/\b\d+\b/,alias:"number"}}},{pattern:/(\()[^()]*(?=\))/,lookbehind:!0,inside:{keyword:/^(?:Native Method|Unknown Source)$/}}],"class-name":/[\w$]+(?=\.(?:|[\w$]+)\()/,function:/(?:|[\w$]+)(?=\()/,"class-loader":{pattern:/(\s)[a-z]\w*(?:\.[a-z]\w*)*(?=\/[\w@$.]*\/)/,lookbehind:!0,alias:"namespace",inside:{punctuation:/\./}},module:{pattern:/([\s/])[a-z]\w*(?:\.[a-z]\w*)*(?:@[\w$.+-]*)?(?=\/)/,lookbehind:!0,inside:{version:{pattern:/(@)[\s\S]+/,lookbehind:!0,alias:"number"},punctuation:/[@.]/}},namespace:{pattern:/(?:\b[a-z]\w*\.)+/,inside:{punctuation:/\./}},punctuation:/[()/.]/}},more:{pattern:/^([\t ]*)\.{3} \d+ [a-z]+(?: [a-z]+)*/m,lookbehind:!0,inside:{punctuation:/\.{3}/,number:/\d+/,keyword:/\b[a-z]+(?: [a-z]+)*\b/}}}}function cd(e){e.languages.jexl={string:/(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,transform:{pattern:/(\|\s*)[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*/,alias:"function",lookbehind:!0},function:/[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*\s*(?=\()/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+\b/,operator:/[<>!]=?|-|\+|&&|==|\|\|?|\/\/?|[?:*^%]/,boolean:/\b(?:false|true)\b/,keyword:/\bin\b/,punctuation:/[{}[\](),.]/}}function ud(e){e.register(Kc),e.languages.jolie=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\[\s\S]|[^"\\])*"/,lookbehind:!0,greedy:!0},"class-name":{pattern:/((?:\b(?:as|courier|embed|in|inputPort|outputPort|service)\b|@)[ \t]*)\w+/,lookbehind:!0},keyword:/\b(?:as|cH|comp|concurrent|constants|courier|cset|csets|default|define|else|embed|embedded|execution|exit|extender|for|foreach|forward|from|global|if|import|in|include|init|inputPort|install|instanceof|interface|is_defined|linkIn|linkOut|main|new|nullProcess|outputPort|over|private|provide|public|scope|sequential|service|single|spawn|synchronized|this|throw|throws|type|undef|until|while|with)\b/,function:/\b[a-z_]\w*(?=[ \t]*[@(])/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?l?/i,operator:/-[-=>]?|\+[+=]?|<[<=]?|[>=*!]=?|&&|\|\||[?\/%^@|]/,punctuation:/[()[\]{},;.:]/,builtin:/\b(?:Byte|any|bool|char|double|enum|float|int|length|long|ranges|regex|string|undefined|void)\b/}),e.languages.insertBefore("jolie","keyword",{aggregates:{pattern:/(\bAggregates\s*:\s*)(?:\w+(?:\s+with\s+\w+)?\s*,\s*)*\w+(?:\s+with\s+\w+)?/,lookbehind:!0,inside:{keyword:/\bwith\b/,"class-name":/\w+/,punctuation:/,/}},redirects:{pattern:/(\bRedirects\s*:\s*)(?:\w+\s*=>\s*\w+\s*,\s*)*(?:\w+\s*=>\s*\w+)/,lookbehind:!0,inside:{punctuation:/,/,"class-name":/\w+/,operator:/=>/}},property:{pattern:/\b(?:Aggregates|[Ii]nterfaces|Java|Javascript|Jolie|[Ll]ocation|OneWay|[Pp]rotocol|Redirects|RequestResponse)\b(?=[ \t]*:)/}})}function hd(e){!function(e){var t=/\\\((?:[^()]|\([^()]*\))*\)/.source,n=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,(function(){return t}))),r={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+t),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},i=e.languages.jq={comment:/#.*/,property:{pattern:RegExp(n.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:r},string:{pattern:n,lookbehind:!0,greedy:!0,inside:r},function:{pattern:/(\bdef\s+)[a-z_]\w+/i,lookbehind:!0},variable:/\B\$\w+/,"property-literal":{pattern:/\b[a-z_]\w*(?=\s*:(?!:))/i,alias:"property"},keyword:/\b(?:as|break|catch|def|elif|else|end|foreach|if|import|include|label|module|modulemeta|null|reduce|then|try|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b\d+\.|\B\.)?\b\d+(?:[eE][+-]?\d+)?\b/,operator:[{pattern:/\|=?/,alias:"pipe"},/\.\.|[!=<>]?=|\?\/\/|\/\/=?|[-+*/%]=?|[<>?]|\b(?:and|not|or)\b/],"c-style-function":{pattern:/\b[a-z_]\w*(?=\s*\()/i,alias:"function"},punctuation:/::|[()\[\]{},:;]|\.(?=\s*[\[\w$])/,dot:{pattern:/\./,alias:"important"}};r.interpolation.inside.content.inside=i}(e)}function pd(e){e.register(su),function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside.interpolation,i=r.inside["interpolation-punctuation"],o=r.pattern.source;function a(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function s(e,t){return"___"+t.toUpperCase()+"_"+e+"___"}function l(t,n,r){var i={code:t,grammar:n,language:r};return e.hooks.run("before-tokenize",i),i.tokens=e.tokenize(i.code,i.grammar),e.hooks.run("after-tokenize",i),i.tokens}function c(t){var n={};n["interpolation-punctuation"]=i;var o=e.tokenize(t,n);if(3===o.length){var a=[1,1];a.push.apply(a,l(o[1],e.languages.javascript,"javascript")),o.splice.apply(o,a)}return new e.Token("interpolation",o,r.alias,t)}function u(t,n,r){var i=e.tokenize(t,{interpolation:{pattern:RegExp(o),lookbehind:!0}}),a=0,u={},h=l(i.map((function(e){if("string"==typeof e)return e;for(var n,i=e.content;-1!==t.indexOf(n=s(a++,r)););return u[n]=i,n})).join(""),n,r),p=Object.keys(u);return a=0,function e(t){for(var n=0;n=p.length)return;var r=t[n];if("string"==typeof r||"string"==typeof r.content){var i=p[a],o="string"==typeof r?r:r.content,s=o.indexOf(i);if(-1!==s){++a;var l=o.substring(0,s),h=c(u[i]),d=o.substring(s+i.length),f=[];if(l&&f.push(l),f.push(h),d){var m=[d];e(m),f.push.apply(f,m)}"string"==typeof r?(t.splice.apply(t,[n,1].concat(f)),n+=f.length-1):r.content=f}}else{var g=r.content;Array.isArray(g)?e(g):e([g])}}}(h),new e.Token(r,h,"language-"+r,t)}e.languages.javascript["template-string"]=[a("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),a("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),a("svg",/\bsvg/.source),a("markdown",/\b(?:markdown|md)/.source),a("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),a("sql",/\bsql/.source),t].filter(Boolean);var h={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function p(e){return"string"==typeof e?e:Array.isArray(e)?e.map(p).join(""):p(e.content)}e.hooks.add("after-tokenize",(function(t){t.language in h&&function t(n){for(var r=0,i=n.length;r\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(//g,(function(){return n}))),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+n),lookbehind:!0,inside:{string:t.string,number:t.number,boolean:t.boolean,keyword:e.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:t,alias:"language-javascript"}}}}),e.languages.javadoclike.addSupport("javascript",e.languages.jsdoc)}(e)}function fd(e){e.register(su),e.languages.n4js=e.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),e.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),e.languages.n4jsd=e.languages.n4js}function md(e){e.register(su),function(e){function t(e,t){return RegExp(e.replace(//g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],r=0;r|.*(?:node_modules|\(\)|\(|$|\(internal\/|\(node\.js)).*/m,alias:"comment"},filename:{pattern:/(\bat\s+(?!\s)|\()(?:[a-zA-Z]:)?[^():]+(?=:)/,lookbehind:!0,alias:"url"},function:{pattern:/(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,lookbehind:!0,inside:{punctuation:/\./}},punctuation:/[()]/,keyword:/\b(?:at|new)\b/,alias:{pattern:/\[(?:as\s+)?(?!\s)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\]/,alias:"variable"},"line-number":{pattern:/:\d+(?::\d+)?\b/,alias:"number",inside:{punctuation:/:/}}}}}}function _d(e){e.languages.julia={comment:{pattern:/(^|[^\\])(?:#=(?:[^#=]|=(?!#)|#(?!=)|#=(?:[^#=]|=(?!#)|#(?!=))*=#)*=#|#.*)/,lookbehind:!0},regex:{pattern:/r"(?:\\.|[^"\\\r\n])*"[imsx]{0,4}/,greedy:!0},string:{pattern:/"""[\s\S]+?"""|(?:\b\w+)?"(?:\\.|[^"\\\r\n])*"|`(?:[^\\`\r\n]|\\.)*`/,greedy:!0},char:{pattern:/(^|[^\w'])'(?:\\[^\r\n][^'\r\n]*|[^\\\r\n])'/,lookbehind:!0,greedy:!0},keyword:/\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|in|let|local|macro|module|print|println|quote|return|struct|try|type|typealias|using|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+(?:_[\da-f]+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[efp][+-]?\d+(?:_\d+)*)?j?/i,operator:/&&|\|\||[-+*^%÷⊻&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:|])?|>(?:=|>>?=?)?|==?=?|[~≠≤≥'√∛]/,punctuation:/::?|[{}[\]();,.?]/,constant:/\b(?:(?:Inf|NaN)(?:16|32|64)?|im|pi)\b|[πℯ]/}}function bd(e){e.languages.keepalived={comment:{pattern:/[#!].*/,greedy:!0},string:{pattern:/(^|[^\\])(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,lookbehind:!0,greedy:!0},ip:{pattern:RegExp(/\b(?:(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){5}:(?:[\da-f]{1,4}:)?[\da-f]{1,4}|(?:[\da-f]{1,4}:){4}:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4}|(?:[\da-f]{1,4}:){3}:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4}|(?:[\da-f]{1,4}:){2}:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}|(?:[\da-f]{1,4}:){0,5}:|::(?:[\da-f]{1,4}:){0,5}|[\da-f]{1,4}::(?:[\da-f]{1,4}:){0,5}[\da-f]{1,4}|::(?:[\da-f]{1,4}:){0,6}[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,7}:)(?:\/\d{1,3})?|(?:\/\d{1,2})?)\b/.source.replace(//g,(function(){return/(?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d))/.source})),"i"),alias:"number"},path:{pattern:/(\s)\/(?:[^\/\s]+\/)*[^\/\s]*|\b[a-zA-Z]:\\(?:[^\\\s]+\\)*[^\\\s]*/,lookbehind:!0,alias:"string"},variable:/\$\{?\w+\}?/,email:{pattern:/[\w-]+@[\w-]+(?:\.[\w-]{2,3}){1,2}/,alias:"string"},"conditional-configuration":{pattern:/@\^?[\w-]+/,alias:"variable"},operator:/=/,property:/\b(?:BFD_CHECK|DNS_CHECK|FILE_CHECK|HTTP_GET|MISC_CHECK|NAME|PING_CHECK|SCRIPTS|SMTP_CHECK|SSL|SSL_GET|TCP_CHECK|UDP_CHECK|accept|advert_int|alpha|auth_pass|auth_type|authentication|bfd_cpu_affinity|bfd_instance|bfd_no_swap|bfd_priority|bfd_process_name|bfd_rlimit_rttime|bfd_rt_priority|bind_if|bind_port|bindto|ca|certificate|check_unicast_src|checker|checker_cpu_affinity|checker_log_all_failures|checker_no_swap|checker_priority|checker_rlimit_rttime|checker_rt_priority|child_wait_time|connect_ip|connect_port|connect_timeout|dbus_service_name|debug|default_interface|delay|delay_before_retry|delay_loop|digest|dont_track_primary|dynamic|dynamic_interfaces|enable_(?:dbus|script_security|sni|snmp_checker|snmp_rfc|snmp_rfcv2|snmp_rfcv3|snmp_vrrp|traps)|end|fall|fast_recovery|file|flag-[123]|fork_delay|full_command|fwmark|garp_group|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|global_defs|global_tracking|gna_interval|group|ha_suspend|hashed|helo_name|higher_prio_send_advert|hoplimit|http_protocol|hysteresis|idle_tx|include|inhibit_on_failure|init_fail|init_file|instance|interface|interfaces|interval|ip_family|ipvs_process_name|keepalived.conf|kernel_rx_buf_size|key|linkbeat_interfaces|linkbeat_use_polling|log_all_failures|log_unknown_vrids|lower_prio_no_advert|lthreshold|lvs_flush|lvs_flush_onstop|lvs_method|lvs_netlink_cmd_rcv_bufs|lvs_netlink_cmd_rcv_bufs_force|lvs_netlink_monitor_rcv_bufs|lvs_netlink_monitor_rcv_bufs_force|lvs_notify_fifo|lvs_notify_fifo_script|lvs_sched|lvs_sync_daemon|max_auto_priority|max_hops|mcast_src_ip|mh-fallback|mh-port|min_auto_priority_delay|min_rx|min_tx|misc_dynamic|misc_path|misc_timeout|multiplier|name|namespace_with_ipsets|native_ipv6|neighbor_ip|net_namespace|net_namespace_ipvs|nftables|nftables_counters|nftables_ifindex|nftables_priority|no_accept|no_checker_emails|no_email_faults|nopreempt|notification_email|notification_email_from|notify|notify_backup|notify_deleted|notify_down|notify_fault|notify_fifo|notify_fifo_script|notify_master|notify_master_rx_lower_pri|notify_priority_changes|notify_stop|notify_up|old_unicast_checksum|omega|ops|param_match|passive|password|path|persistence_engine|persistence_granularity|persistence_timeout|preempt|preempt_delay|priority|process|process_monitor_rcv_bufs|process_monitor_rcv_bufs_force|process_name|process_names|promote_secondaries|protocol|proxy_arp|proxy_arp_pvlan|quorum|quorum_down|quorum_max|quorum_up|random_seed|real_server|regex|regex_max_offset|regex_min_offset|regex_no_match|regex_options|regex_stack|reload_repeat|reload_time_file|require_reply|retry|rise|router_id|rs_init_notifies|script|script_user|sh-fallback|sh-port|shutdown_script|shutdown_script_timeout|skip_check_adv_addr|smtp_alert|smtp_alert_checker|smtp_alert_vrrp|smtp_connect_timeout|smtp_helo_name|smtp_server|snmp_socket|sorry_server|sorry_server_inhibit|sorry_server_lvs_method|source_ip|start|startup_script|startup_script_timeout|state|static_ipaddress|static_routes|static_rules|status_code|step|strict_mode|sync_group_tracking_weight|terminate_delay|timeout|track_bfd|track_file|track_group|track_interface|track_process|track_script|track_src_ip|ttl|type|umask|unicast_peer|unicast_src_ip|unicast_ttl|url|use_ipvlan|use_pid_dir|use_vmac|user|uthreshold|val[123]|version|virtual_ipaddress|virtual_ipaddress_excluded|virtual_router_id|virtual_routes|virtual_rules|virtual_server|virtual_server_group|virtualhost|vmac_xmit_base|vrrp|vrrp_(?:check_unicast_src|cpu_affinity|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|gna_interval|higher_prio_send_advert|instance|ipsets|iptables|lower_prio_no_advert|mcast_group4|mcast_group6|min_garp|netlink_cmd_rcv_bufs|netlink_cmd_rcv_bufs_force|netlink_monitor_rcv_bufs|netlink_monitor_rcv_bufs_force|no_swap|notify_fifo|notify_fifo_script|notify_priority_changes|priority|process_name|rlimit_rttime|rt_priority|rx_bufs_multiplier|rx_bufs_policy|script|skip_check_adv_addr|startup_delay|strict|sync_group|track_process|version)|warmup|weight)\b/,constant:/\b(?:A|AAAA|AH|BACKUP|CNAME|DR|MASTER|MX|NAT|NS|PASS|SCTP|SOA|TCP|TUN|TXT|UDP|dh|fo|lblc|lblcr|lc|mh|nq|ovf|rr|sed|sh|wlc|wrr)\b/,number:{pattern:/(^|[^\w.-])-?\d+(?:\.\d+)?/,lookbehind:!0},boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\{\}]/}}function Ed(e){e.languages.keyman={comment:{pattern:/\bc .*/i,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},"virtual-key":{pattern:/\[\s*(?:(?:ALT|CAPS|CTRL|LALT|LCTRL|NCAPS|RALT|RCTRL|SHIFT)\s+)*(?:[TKU]_[\w?]+|[A-E]\d\d?|"[^"\r\n]*"|'[^'\r\n]*')\s*\]/i,greedy:!0,alias:"function"},"header-keyword":{pattern:/&\w+/,alias:"bold"},"header-statement":{pattern:/\b(?:bitmap|bitmaps|caps always off|caps on only|copyright|hotkey|language|layout|message|name|shift frees caps|version)\b/i,alias:"bold"},"rule-keyword":{pattern:/\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|reset|return|save|set|store|use)\b/i,alias:"keyword"},"structural-keyword":{pattern:/\b(?:ansi|begin|group|match|newcontext|nomatch|postkeystroke|readonly|unicode|using keys)\b/i,alias:"keyword"},"compile-target":{pattern:/\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,alias:"property"},number:/\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,operator:/[+>\\$]|\.\./,punctuation:/[()=,]/}}function Td(e){!function(e){var t=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function n(e,n){return RegExp(e.replace(//g,t),n)}e.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:n(/(^|[])(?:да|нет)(?=[]|$)/.source),lookbehind:!0},"operator-word":{pattern:n(/(^|[])(?:и|или|не)(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:n(/(^|[])знач(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:n(/(^|[])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:n(/(^|[])(?:компл|сканкод|файл|цвет)(?=[]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:n(/(^|[])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[]|$)/.source),lookbehind:!0},name:{pattern:n(/(^|[])[^\d][^]*(?:\x20+[^]+)*(?=[]|$)/.source),lookbehind:!0},number:{pattern:n(/(^|[])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[]|$)/.source,"i"),lookbehind:!0},punctuation:/:=|[(),:;\[\]]/,"operator-char":{pattern:/\*\*?|<[=>]?|>=?|[-+/=]/,alias:"operator"}},e.languages.kum=e.languages.kumir}(e)}function xd(e){e.languages.kusto={comment:{pattern:/\/\/.*/,greedy:!0},string:{pattern:/```[\s\S]*?```|[hH]?(?:"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\.)*'|@(?:"[^\r\n"]*"|'[^\r\n']*'))/,greedy:!0},verb:{pattern:/(\|\s*)[a-z][\w-]*/i,lookbehind:!0,alias:"keyword"},command:{pattern:/\.[a-z][a-z\d-]*\b/,alias:"keyword"},"class-name":/\b(?:bool|datetime|decimal|dynamic|guid|int|long|real|string|timespan)\b/,keyword:/\b(?:access|alias|and|anti|as|asc|auto|between|by|(?:contains|(?:ends|starts)with|has(?:perfix|suffix)?)(?:_cs)?|database|declare|desc|external|from|fullouter|has_all|in|ingestion|inline|inner|innerunique|into|(?:left|right)(?:anti(?:semi)?|inner|outer|semi)?|let|like|local|not|of|on|or|pattern|print|query_parameters|range|restrict|schema|set|step|table|tables|to|view|where|with|matches\s+regex|nulls\s+(?:first|last))(?![\w-])/,boolean:/\b(?:false|null|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/,datetime:[{pattern:/\b(?:(?:Fri|Friday|Mon|Monday|Sat|Saturday|Sun|Sunday|Thu|Thursday|Tue|Tuesday|Wed|Wednesday)\s*,\s*)?\d{1,2}(?:\s+|-)(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)(?:\s+|-)\d{2}\s+\d{2}:\d{2}(?::\d{2})?(?:\s*(?:\b(?:[A-Z]|(?:[ECMT][DS]|GM|U)T)|[+-]\d{4}))?\b/,alias:"number"},{pattern:/[+-]?\b(?:\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)?|\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)Z?/,alias:"number"}],number:/\b(?:0x[0-9A-Fa-f]+|\d+(?:\.\d+)?(?:[Ee][+-]?\d+)?)(?:(?:min|sec|[mnµ]s|[dhms]|microsecond|tick)\b)?|[+-]?\binf\b/,operator:/=>|[!=]~|[!=<>]=?|[-+*/%|]|\.\./,punctuation:/[()\[\]{},;.:]/}}function Sd(e){!function(e){var t=/\\(?:[^a-z()[\]]|[a-z*]+)/i,n={"equation-command":{pattern:t,alias:"regex"}};e.languages.latex={comment:/%.*/,cdata:{pattern:/(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:n,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:n,alias:"string"}],keyword:{pattern:/(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0,alias:"class-name"},function:{pattern:t,alias:"selector"},punctuation:/[[\]{}&]/},e.languages.tex=e.languages.latex,e.languages.context=e.languages.latex}(e)}function Cd(e){e.register(Kc),e.register(yu),e.register(vu),function(e){e.languages.latte={comment:/^\{\*[\s\S]*/,"latte-tag":{pattern:/(^\{(?:\/(?=[a-z]))?)(?:[=_]|[a-z]\w*\b(?!\())/i,lookbehind:!0,alias:"important"},delimiter:{pattern:/^\{\/?|\}$/,alias:"punctuation"},php:{pattern:/\S(?:[\s\S]*\S)?/,alias:"language-php",inside:e.languages.php}};var t=e.languages.extend("markup",{});e.languages.insertBefore("inside","attr-value",{"n-attr":{pattern:/n:[\w-]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+))?/,inside:{"attr-name":{pattern:/^[^\s=]+/,alias:"important"},"attr-value":{pattern:/=[\s\S]+/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],php:{pattern:/\S(?:[\s\S]*\S)?/,inside:e.languages.php}}}}}},t.tag),e.hooks.add("before-tokenize",(function(n){"latte"===n.language&&(e.languages["markup-templating"].buildPlaceholders(n,"latte",/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g),n.grammar=t)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"latte")}))}(e)}function Ad(e){!function(e){e.languages.scheme={comment:/;.*|#;\s*(?:\((?:[^()]|\([^()]*\))*\)|\[(?:[^\[\]]|\[[^\[\]]*\])*\])|#\|(?:[^#|]|#(?!\|)|\|(?!#)|#\|(?:[^#|]|#(?!\|)|\|(?!#))*\|#)*\|#/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},symbol:{pattern:/'[^()\[\]#'\s]+/,greedy:!0},char:{pattern:/#\\(?:[ux][a-fA-F\d]+\b|[-a-zA-Z]+\b|[\uD800-\uDBFF][\uDC00-\uDFFF]|\S)/,greedy:!0},"lambda-parameter":[{pattern:/((?:^|[^'`#])[(\[]lambda\s+)(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)/,lookbehind:!0},{pattern:/((?:^|[^'`#])[(\[]lambda\s+[(\[])[^()\[\]']+/,lookbehind:!0}],keyword:{pattern:/((?:^|[^'`#])[(\[])(?:begin|case(?:-lambda)?|cond(?:-expand)?|define(?:-library|-macro|-record-type|-syntax|-values)?|defmacro|delay(?:-force)?|do|else|except|export|guard|if|import|include(?:-ci|-library-declarations)?|lambda|let(?:rec)?(?:-syntax|-values|\*)?|let\*-values|only|parameterize|prefix|(?:quasi-?)?quote|rename|set!|syntax-(?:case|rules)|unless|unquote(?:-splicing)?|when)(?=[()\[\]\s]|$)/,lookbehind:!0},builtin:{pattern:/((?:^|[^'`#])[(\[])(?:abs|and|append|apply|assoc|ass[qv]|binary-port\?|boolean=?\?|bytevector(?:-append|-copy|-copy!|-length|-u8-ref|-u8-set!|\?)?|caar|cadr|call-with-(?:current-continuation|port|values)|call\/cc|car|cdar|cddr|cdr|ceiling|char(?:->integer|-ready\?|\?|<\?|<=\?|=\?|>\?|>=\?)|close-(?:input-port|output-port|port)|complex\?|cons|current-(?:error|input|output)-port|denominator|dynamic-wind|eof-object\??|eq\?|equal\?|eqv\?|error|error-object(?:-irritants|-message|\?)|eval|even\?|exact(?:-integer-sqrt|-integer\?|\?)?|expt|features|file-error\?|floor(?:-quotient|-remainder|\/)?|flush-output-port|for-each|gcd|get-output-(?:bytevector|string)|inexact\??|input-port(?:-open\?|\?)|integer(?:->char|\?)|lcm|length|list(?:->string|->vector|-copy|-ref|-set!|-tail|\?)?|make-(?:bytevector|list|parameter|string|vector)|map|max|member|memq|memv|min|modulo|negative\?|newline|not|null\?|number(?:->string|\?)|numerator|odd\?|open-(?:input|output)-(?:bytevector|string)|or|output-port(?:-open\?|\?)|pair\?|peek-char|peek-u8|port\?|positive\?|procedure\?|quotient|raise|raise-continuable|rational\?|rationalize|read-(?:bytevector|bytevector!|char|error\?|line|string|u8)|real\?|remainder|reverse|round|set-c[ad]r!|square|string(?:->list|->number|->symbol|->utf8|->vector|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?|<\?|<=\?|=\?|>\?|>=\?)?|substring|symbol(?:->string|\?|=\?)|syntax-error|textual-port\?|truncate(?:-quotient|-remainder|\/)?|u8-ready\?|utf8->string|values|vector(?:->list|->string|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?)?|with-exception-handler|write-(?:bytevector|char|string|u8)|zero\?)(?=[()\[\]\s]|$)/,lookbehind:!0},operator:{pattern:/((?:^|[^'`#])[(\[])(?:[-+*%/]|[<>]=?|=>?)(?=[()\[\]\s]|$)/,lookbehind:!0},number:{pattern:RegExp(function(e){for(var t in e)e[t]=e[t].replace(/<[\w\s]+>/g,(function(t){return"(?:"+e[t].trim()+")"}));return e[t]}({"":/\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/(?:#d(?:#[ei])?|#[ei](?:#d)?)?/.source,"":/[0-9a-f]+(?:\/[0-9a-f]+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/#[box](?:#[ei])?|(?:#[ei])?#[box]/.source,"":/(^|[()\[\]\s])(?:|)(?=[()\[\]\s]|$)/.source}),"i"),lookbehind:!0},boolean:{pattern:/(^|[()\[\]\s])#(?:[ft]|false|true)(?=[()\[\]\s]|$)/,lookbehind:!0},function:{pattern:/((?:^|[^'`#])[(\[])(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\[\]\s]|$)/,lookbehind:!0},identifier:{pattern:/(^|[()\[\]\s])\|(?:[^\\|]|\\.)*\|(?=[()\[\]\s]|$)/,lookbehind:!0,greedy:!0},punctuation:/[()\[\]']/}}(e)}function Rd(e){e.register(Ad),function(e){for(var t=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|)*\)/.source,n=0;n<5;n++)t=t.replace(//g,(function(){return t}));t=t.replace(//g,/[^\s\S]/.source);var r=e.languages.lilypond={comment:/%(?:(?!\{).*|\{[\s\S]*?%\})/,"embedded-scheme":{pattern:RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|))/.source.replace(//g,(function(){return t})),"m"),lookbehind:!0,greedy:!0,inside:{scheme:{pattern:/^(#)[\s\S]+$/,lookbehind:!0,alias:"language-scheme",inside:{"embedded-lilypond":{pattern:/#\{[\s\S]*?#\}/,greedy:!0,inside:{punctuation:/^#\{|#\}$/,lilypond:{pattern:/[\s\S]+/,alias:"language-lilypond",inside:null}}},rest:e.languages.scheme}},punctuation:/#/}},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":{pattern:/(\\new\s+)[\w-]+/,lookbehind:!0},keyword:{pattern:/\\[a-z][-\w]*/i,inside:{punctuation:/^\\/}},operator:/[=|]|<<|>>/,punctuation:{pattern:/(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/,lookbehind:!0},number:/\b\d+(?:\/\d+)?\b/};r["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=r,e.languages.ly=r}(e)}function wd(e){e.register(yu),e.languages.liquid={comment:{pattern:/(^\{%\s*comment\s*%\})[\s\S]+(?=\{%\s*endcomment\s*%\}$)/,lookbehind:!0},delimiter:{pattern:/^\{(?:\{\{|[%\{])-?|-?(?:\}\}|[%\}])\}$/,alias:"punctuation"},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},keyword:/\b(?:as|assign|break|(?:end)?(?:capture|case|comment|for|form|if|paginate|raw|style|tablerow|unless)|continue|cycle|decrement|echo|else|elsif|in|include|increment|limit|liquid|offset|range|render|reversed|section|when|with)\b/,object:/\b(?:address|all_country_option_tags|article|block|blog|cart|checkout|collection|color|country|country_option_tags|currency|current_page|current_tags|customer|customer_address|date|discount_allocation|discount_application|external_video|filter|filter_value|font|forloop|fulfillment|generic_file|gift_card|group|handle|image|line_item|link|linklist|localization|location|measurement|media|metafield|model|model_source|order|page|page_description|page_image|page_title|part|policy|product|product_option|recommendations|request|robots|routes|rule|script|search|selling_plan|selling_plan_allocation|selling_plan_group|shipping_method|shop|shop_locale|sitemap|store_availability|tax_line|template|theme|transaction|unit_price_measurement|user_agent|variant|video|video_source)\b/,function:[{pattern:/(\|\s*)\w+/,lookbehind:!0,alias:"filter"},{pattern:/(\.\s*)(?:first|last|size)/,lookbehind:!0}],boolean:/\b(?:false|nil|true)\b/,range:{pattern:/\.\./,alias:"operator"},number:/\b\d+(?:\.\d+)?\b/,operator:/[!=]=|<>|[<>]=?|[|?:=-]|\b(?:and|contains(?=\s)|or)\b/,punctuation:/[.,\[\]()]/,empty:{pattern:/\bempty\b/,alias:"keyword"}},e.hooks.add("before-tokenize",(function(t){var n=!1;e.languages["markup-templating"].buildPlaceholders(t,"liquid",/\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g,(function(e){var t=/^\{%-?\s*(\w+)/.exec(e);if(t){var r=t[1];if("raw"===r&&!n)return n=!0,!0;if("endraw"===r)return n=!1,!0}return!n}))})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"liquid")}))}function Ld(e){!function(e){function t(e){return RegExp(/(\()/.source+"(?:"+e+")"+/(?=[\s\)])/.source)}function n(e){return RegExp(/([\s([])/.source+"(?:"+e+")"+/(?=[\s)])/.source)}var r=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,i="&"+r,o="(\\()",a="(?=\\s)",s=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,l={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+r+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+r),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+r),alias:"property"},splice:{pattern:RegExp(",@?"+r),alias:["symbol","variable"]},keyword:[{pattern:RegExp(o+"(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)"+a),lookbehind:!0},{pattern:RegExp(o+"(?:append|by|collect|concat|do|finally|for|in|return)"+a),lookbehind:!0}],declare:{pattern:t(/declare/.source),lookbehind:!0,alias:"keyword"},interactive:{pattern:t(/interactive/.source),lookbehind:!0,alias:"keyword"},boolean:{pattern:n(/nil|t/.source),lookbehind:!0},number:{pattern:n(/[-+]?\d+(?:\.\d*)?/.source),lookbehind:!0},defvar:{pattern:RegExp(o+"def(?:const|custom|group|var)\\s+"+r),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(r)}},defun:{pattern:RegExp(o+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+r+/\s+\(/.source+s+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+r),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(o+"lambda\\s+\\(\\s*(?:&?"+r+"(?:\\s+&?"+r+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(o+r),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},c={"lisp-marker":RegExp(i),varform:{pattern:RegExp(/\(/.source+r+/\s+(?=\S)/.source+s+/\)/.source),inside:l},argument:{pattern:RegExp(/(^|[\s(])/.source+r),lookbehind:!0,alias:"variable"},rest:l},u="\\S+(?:\\s+\\S+)*",h={pattern:RegExp(o+s+"(?=\\))"),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+u),inside:c},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+u),inside:c},keys:{pattern:RegExp("&key\\s+"+u+"(?:\\s+&allow-other-keys)?"),inside:c},argument:{pattern:RegExp(r),alias:"variable"},punctuation:/[()]/}};l.lambda.inside.arguments=h,l.defun.inside.arguments=e.util.clone(h),l.defun.inside.arguments.inside.sublist=h,e.languages.lisp=l,e.languages.elisp=l,e.languages.emacs=l,e.languages["emacs-lisp"]=l}(e)}function Od(e){e.languages.livescript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\])#.*/,lookbehind:!0}],"interpolated-string":{pattern:/(^|[^"])("""|")(?:\\[\s\S]|(?!\2)[^\\])*\2(?!")/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/(^|[^\\])#[a-z_](?:-?[a-z]|[\d_])*/m,lookbehind:!0},interpolation:{pattern:/(^|[^\\])#\{[^}]+\}/m,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^#\{|\}$/,alias:"variable"}}},string:/[\s\S]+/}},string:[{pattern:/('''|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/<\[[\s\S]*?\]>/,greedy:!0},/\\[^\s,;\])}]+/],regex:[{pattern:/\/\/(?:\[[^\r\n\]]*\]|\\.|(?!\/\/)[^\\\[])+\/\/[gimyu]{0,5}/,greedy:!0,inside:{comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0}}},{pattern:/\/(?:\[[^\r\n\]]*\]|\\.|[^/\\\r\n\[])+\/[gimyu]{0,5}/,greedy:!0}],keyword:{pattern:/(^|(?!-).)\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\b/m,lookbehind:!0},"keyword-operator":{pattern:/(^|[^-])\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?: not|nt)?|not|of|or|til|to|typeof|with|xor)(?!-)\b)/m,lookbehind:!0,alias:"operator"},boolean:{pattern:/(^|[^-])\b(?:false|no|off|on|true|yes)(?!-)\b/m,lookbehind:!0},argument:{pattern:/(^|(?!\.&\.)[^&])&(?!&)\d*/m,lookbehind:!0,alias:"variable"},number:/\b(?:\d+~[\da-z]+|\d[\d_]*(?:\.\d[\d_]*)?(?:[a-z]\w*)?)/i,identifier:/[a-z_](?:-?[a-z]|[\d_])*/i,operator:[{pattern:/( )\.(?= )/,lookbehind:!0},/\.(?:[=~]|\.\.?)|\.(?:[&|^]|<<|>>>?)\.|:(?:=|:=?)|&&|\|[|>]|<(?:<[>=?]?|-(?:->?|>)?|\+\+?|@@?|%%?|\*\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\^\^?|[\/?]/],punctuation:/[(){}\[\]|.,:;`]/},e.languages.livescript["interpolated-string"].inside.interpolation.inside.rest=e.languages.livescript}function Nd(e){!function(e){e.languages.llvm={comment:/;.*/,string:{pattern:/"[^"]*"/,greedy:!0},boolean:/\b(?:false|true)\b/,variable:/[%@!#](?:(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+|\d+)/i,label:/(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+:/i,type:{pattern:/\b(?:double|float|fp128|half|i[1-9]\d*|label|metadata|ppc_fp128|token|void|x86_fp80|x86_mmx)\b/,alias:"class-name"},keyword:/\b[a-z_][a-z_0-9]*\b/,number:/[+-]?\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-Fa-f]+\b|\b0xK[\dA-Fa-f]{20}\b|\b0x[ML][\dA-Fa-f]{32}\b|\b0xH[\dA-Fa-f]{4}\b/,punctuation:/[{}[\];(),.!*=<>]/}}(e)}function Id(e){e.languages.log={string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?![st] | \w)(?:[^'\\\r\n]|\\.)*'/,greedy:!0},exception:{pattern:/(^|[^\w.])[a-z][\w.]*(?:Error|Exception):.*(?:(?:\r\n?|\n)[ \t]*(?:at[ \t].+|\.{3}.*|Caused by:.*))+(?:(?:\r\n?|\n)[ \t]*\.\.\. .*)?/,lookbehind:!0,greedy:!0,alias:["javastacktrace","language-javastacktrace"],inside:e.languages.javastacktrace||{keyword:/\bat\b/,function:/[a-z_][\w$]*(?=\()/,punctuation:/[.:()]/}},level:[{pattern:/\b(?:ALERT|CRIT|CRITICAL|EMERG|EMERGENCY|ERR|ERROR|FAILURE|FATAL|SEVERE)\b/,alias:["error","important"]},{pattern:/\b(?:WARN|WARNING|WRN)\b/,alias:["warning","important"]},{pattern:/\b(?:DISPLAY|INF|INFO|NOTICE|STATUS)\b/,alias:["info","keyword"]},{pattern:/\b(?:DBG|DEBUG|FINE)\b/,alias:["debug","keyword"]},{pattern:/\b(?:FINER|FINEST|TRACE|TRC|VERBOSE|VRB)\b/,alias:["trace","comment"]}],property:{pattern:/((?:^|[\]|])[ \t]*)[a-z_](?:[\w-]|\b\/\b)*(?:[. ]\(?\w(?:[\w-]|\b\/\b)*\)?)*:(?=\s)/im,lookbehind:!0},separator:{pattern:/(^|[^-+])-{3,}|={3,}|\*{3,}|- - /m,lookbehind:!0,alias:"comment"},url:/\b(?:file|ftp|https?):\/\/[^\s|,;'"]*[^\s|,;'">.]/,email:{pattern:/(^|\s)[-\w+.]+@[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)+(?=\s)/,lookbehind:!0,alias:"url"},"ip-address":{pattern:/\b(?:\d{1,3}(?:\.\d{1,3}){3})\b/,alias:"constant"},"mac-address":{pattern:/\b[a-f0-9]{2}(?::[a-f0-9]{2}){5}\b/i,alias:"constant"},domain:{pattern:/(^|\s)[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*\.[a-z][a-z0-9-]+(?=\s)/,lookbehind:!0,alias:"constant"},uuid:{pattern:/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/i,alias:"constant"},hash:{pattern:/\b(?:[a-f0-9]{32}){1,2}\b/i,alias:"constant"},"file-path":{pattern:/\b[a-z]:[\\/][^\s|,;:(){}\[\]"']+|(^|[\s:\[\](>|])\.{0,2}\/\w[^\s|,;:(){}\[\]"']*/i,lookbehind:!0,greedy:!0,alias:"string"},date:{pattern:RegExp(/\b\d{4}[-/]\d{2}[-/]\d{2}(?:T(?=\d{1,2}:)|(?=\s\d{1,2}:))/.source+"|"+/\b\d{1,4}[-/ ](?:\d{1,2}|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)[-/ ]\d{2,4}T?\b/.source+"|"+/\b(?:(?:Fri|Mon|Sat|Sun|Thu|Tue|Wed)(?:\s{1,2}(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep))?|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)\s{1,2}\d{1,2}\b/.source,"i"),alias:"number"},time:{pattern:/\b\d{1,2}:\d{1,2}:\d{1,2}(?:[.,:]\d+)?(?:\s?[+-]\d{2}:?\d{2}|Z)?\b/,alias:"number"},boolean:/\b(?:false|null|true)\b/i,number:{pattern:/(^|[^.\w])(?:0x[a-f0-9]+|0o[0-7]+|0b[01]+|v?\d[\da-f]*(?:\.\d+)*(?:e[+-]?\d+)?[a-z]{0,3}\b)\b(?!\.\w)/i,lookbehind:!0},operator:/[;:?<=>~/@!$%&+\-|^(){}*#]/,punctuation:/[\[\].,]/}}function kd(e){e.languages.lolcode={comment:[/\bOBTW\s[\s\S]*?\sTLDR\b/,/\bBTW.+/],string:{pattern:/"(?::.|[^":])*"/,inside:{variable:/:\{[^}]+\}/,symbol:[/:\([a-f\d]+\)/i,/:\[[^\]]+\]/,/:[)>o":]/]},greedy:!0},number:/(?:\B-)?(?:\b\d+(?:\.\d*)?|\B\.\d+)/,symbol:{pattern:/(^|\s)(?:A )?(?:BUKKIT|NOOB|NUMBAR|NUMBR|TROOF|YARN)(?=\s|,|$)/,lookbehind:!0,inside:{keyword:/A(?=\s)/}},label:{pattern:/((?:^|\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\w*/,lookbehind:!0,alias:"string"},function:{pattern:/((?:^|\s)(?:HOW IZ I|I IZ|IZ) )[a-zA-Z]\w*/,lookbehind:!0},keyword:[{pattern:/(^|\s)(?:AN|FOUND YR|GIMMEH|GTFO|HAI|HAS A|HOW IZ I|I HAS A|I IZ|IF U SAY SO|IM IN YR|IM OUTTA YR|IS NOW(?: A)?|ITZ(?: A)?|IZ|KTHX|KTHXBYE|LIEK(?: A)?|MAEK|MEBBE|MKAY|NERFIN|NO WAI|O HAI IM|O RLY\?|OIC|OMG|OMGWTF|R|SMOOSH|SRS|TIL|UPPIN|VISIBLE|WILE|WTF\?|YA RLY|YR)(?=\s|,|$)/,lookbehind:!0},/'Z(?=\s|,|$)/],boolean:{pattern:/(^|\s)(?:FAIL|WIN)(?=\s|,|$)/,lookbehind:!0},variable:{pattern:/(^|\s)IT(?=\s|,|$)/,lookbehind:!0},operator:{pattern:/(^|\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:ALL|ANY|BIGGR|BOTH|DIFF|EITHER|MOD|PRODUKT|QUOSHUNT|SMALLR|SUM|WON) OF)(?=\s|,|$)/,lookbehind:!0},punctuation:/\.{3}|…|,|!/}}function Dd(e){e.languages.magma={output:{pattern:/^(>.*(?:\r(?:\n|(?!\n))|\n))(?!>)(?:.+|(?:\r(?:\n|(?!\n))|\n)(?!>).*)(?:(?:\r(?:\n|(?!\n))|\n)(?!>).*)*/m,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\"])"(?:[^\r\n\\"]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|adj|and|assert|assert2|assert3|assigned|break|by|case|cat|catch|clear|cmpeq|cmpne|continue|declare|default|delete|diff|div|do|elif|else|end|eq|error|eval|exists|exit|for|forall|forward|fprintf|freeze|function|ge|gt|if|iload|import|in|intrinsic|is|join|le|load|local|lt|meet|mod|ne|not|notadj|notin|notsubset|or|print|printf|procedure|quit|random|read|readi|repeat|require|requirege|requirerange|restore|return|save|sdiff|select|subset|then|time|to|try|until|vprint|vprintf|vtime|when|where|while|xor)\b/,boolean:/\b(?:false|true)\b/,generator:{pattern:/\b[a-z_]\w*(?=\s*<)/i,alias:"class-name"},function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},operator:/->|[-+*/^~!|#=]|:=|\.\./,punctuation:/[()[\]{}<>,;.:]/}}function Pd(e){!function(e){var t=/\b(?:(?:col|row)?vector|matrix|scalar)\b/.source,n=/\bvoid\b||\b(?:complex|numeric|pointer(?:\s*\([^()]*\))?|real|string|(?:class|struct)\s+\w+|transmorphic)(?:\s*)?/.source.replace(//g,t);e.languages.mata={comment:{pattern:/\/\/.*|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\//,greedy:!0},string:{pattern:/"[^"\r\n]*"|[‘`']".*?"[’`']/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|struct)\s+)\w+(?=\s*(?:\{|\bextends\b))/,lookbehind:!0},type:{pattern:RegExp(n),alias:"class-name",inside:{punctuation:/[()]/,keyword:/\b(?:class|function|struct|void)\b/}},keyword:/\b(?:break|class|continue|do|else|end|extends|external|final|for|function|goto|if|pragma|private|protected|public|return|static|struct|unset|unused|version|virtual|while)\b/,constant:/\bNULL\b/,number:{pattern:/(^|[^\w.])(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|\d[a-f0-9]*(?:\.[a-f0-9]+)?x[+-]?\d+)i?(?![\w.])/i,lookbehind:!0},missing:{pattern:/(^|[^\w.])(?:\.[a-z]?)(?![\w.])/,lookbehind:!0,alias:"symbol"},function:/\b[a-z_]\w*(?=\s*\()/i,operator:/\.\.|\+\+|--|&&|\|\||:?(?:[!=<>]=|[+\-*/^<>&|:])|[!?=\\#’`']/,punctuation:/[()[\]{},;.]/}}(e)}function Md(e){e.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/\b(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}}function Fd(e){!function(e){var t=/\b(?:about|and|animate|as|at|attributes|by|case|catch|collect|continue|coordsys|do|else|exit|fn|for|from|function|global|if|in|local|macroscript|mapped|max|not|of|off|on|or|parameters|persistent|plugin|rcmenu|return|rollout|set|struct|then|throw|to|tool|try|undo|utility|when|where|while|with)\b/i;e.languages.maxscript={comment:{pattern:/\/\*[\s\S]*?(?:\*\/|$)|--.*/,greedy:!0},string:{pattern:/(^|[^"\\@])(?:"(?:[^"\\]|\\[\s\S])*"|@"[^"]*")/,lookbehind:!0,greedy:!0},path:{pattern:/\$(?:[\w/\\.*?]|'[^']*')*/,greedy:!0,alias:"string"},"function-call":{pattern:RegExp("((?:"+/^/.source+"|"+/[;=<>+\-*/^({\[]/.source+"|"+/\b(?:and|by|case|catch|collect|do|else|if|in|not|or|return|then|to|try|where|while|with)\b/.source+")[ \t]*)(?!"+t.source+")"+/[a-z_]\w*\b/.source+"(?=[ \t]*(?:(?!"+t.source+")"+/[a-z_]/.source+"|"+/\d|-\.?\d/.source+"|"+/[({'"$@#?]/.source+"))","im"),lookbehind:!0,greedy:!0,alias:"function"},"function-definition":{pattern:/(\b(?:fn|function)\s+)\w+\b/i,lookbehind:!0,alias:"function"},argument:{pattern:/\b[a-z_]\w*(?=:)/i,alias:"attr-name"},keyword:t,boolean:/\b(?:false|true)\b/,time:{pattern:/(^|[^\w.])(?:(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?[msft])+|\d+:\d+(?:\.\d*)?)(?![\w.:])/,lookbehind:!0,alias:"number"},number:[{pattern:/(^|[^\w.])(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?|0x[a-fA-F0-9]+)(?![\w.:])/,lookbehind:!0},/\b(?:e|pi)\b/],constant:/\b(?:dontcollect|ok|silentValue|undefined|unsupplied)\b/,color:{pattern:/\b(?:black|blue|brown|gray|green|orange|red|white|yellow)\b/i,alias:"constant"},operator:/[-+*/<>=!]=?|[&^?]|#(?!\()/,punctuation:/[()\[\]{}.:,;]|#(?=\()|\\$/m}}(e)}function Hd(e){e.languages.mel={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},code:{pattern:/`(?:\\.|[^\\`])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},statement:{pattern:/[\s\S]+/,inside:null}}},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},variable:/\$\w+/,number:/\b0x[\da-fA-F]+\b|\b\d+(?:\.\d*)?|\B\.\d+/,flag:{pattern:/-[^\d\W]\w*/,alias:"operator"},keyword:/\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/,function:{pattern:/((?:^|[{;])[ \t]*)[a-z_]\w*\b(?!\s*(?:\.(?!\.)|[[{=]))|\b[a-z_]\w*(?=[ \t]*\()/im,lookbehind:!0,greedy:!0},"tensor-punctuation":{pattern:/<<|>>/,alias:"punctuation"},operator:/\+[+=]?|-[-=]?|&&|\|\||[<>]=?|[*\/!=]=?|[%^]/,punctuation:/[.,:;?\[\](){}]/},e.languages.mel.code.inside.statement.inside=e.languages.mel}function Bd(e){e.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}},"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>()x-])(?:--?(?:>>|[x>)])(?![<>()x])|(?:<<|[x<(])--?(?!-))/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>|*o.-])(?:[*o]--|--[*o]|<\|?(?:--|\.\.)|(?:--|\.\.)\|?>|--|\.\.)(?![<>|*o.-])/,lookbehind:!0,alias:"operator"}],label:{pattern:/(^|[^|<])\|(?:[^\r\n"|]|"[^"\r\n]*")+\|/,lookbehind:!0,greedy:!0,alias:"property"},text:{pattern:/(?:[(\[{]+|\b>)(?:[^\r\n"()\[\]{}]|"[^"\r\n]*")+(?:[)\]}]+|>)/,alias:"string"},string:{pattern:/"[^"\r\n]*"/,greedy:!0},annotation:{pattern:/<<(?:abstract|choice|enumeration|fork|interface|join|service)>>|\[\[(?:choice|fork|join)\]\]/i,alias:"important"},keyword:[{pattern:/(^[ \t]*)(?:action|callback|class|classDef|classDiagram|click|direction|erDiagram|flowchart|gantt|gitGraph|graph|journey|link|linkStyle|pie|requirementDiagram|sequenceDiagram|stateDiagram|stateDiagram-v2|style|subgraph)(?![\w$-])/m,lookbehind:!0,greedy:!0},{pattern:/(^[ \t]*)(?:activate|alt|and|as|autonumber|deactivate|else|end(?:[ \t]+note)?|loop|opt|par|participant|rect|state|note[ \t]+(?:over|(?:left|right)[ \t]+of))(?![\w$-])/im,lookbehind:!0,greedy:!0}],entity:/#[a-z0-9]+;/,operator:{pattern:/(\w[ \t]*)&(?=[ \t]*\w)|:::|:/,lookbehind:!0},punctuation:/[(){};]/}}function Ud(e){e.languages.metafont={comment:{pattern:/%.*/,greedy:!0},string:{pattern:/"[^\r\n"]*"/,greedy:!0},number:/\d*\.?\d+/,boolean:/\b(?:false|true)\b/,punctuation:[/[,;()]/,{pattern:/(^|[^{}])(?:\{|\})(?![{}])/,lookbehind:!0},{pattern:/(^|[^[])\[(?!\[)/,lookbehind:!0},{pattern:/(^|[^\]])\](?!\])/,lookbehind:!0}],constant:[{pattern:/(^|[^!?])\?\?\?(?![!?])/,lookbehind:!0},{pattern:/(^|[^/*\\])(?:\\|\\\\)(?![/*\\])/,lookbehind:!0},/\b(?:_|blankpicture|bp|cc|cm|dd|ditto|down|eps|epsilon|fullcircle|halfcircle|identity|in|infinity|left|mm|nullpen|nullpicture|origin|pc|penrazor|penspeck|pensquare|penstroke|proof|pt|quartercircle|relax|right|smoke|unitpixel|unitsquare|up)\b/],quantity:{pattern:/\b(?:autorounding|blacker|boundarychar|charcode|chardp|chardx|chardy|charext|charht|charic|charwd|currentwindow|day|designsize|displaying|fillin|fontmaking|granularity|hppp|join_radius|month|o_correction|pausing|pen_(?:bot|lft|rt|top)|pixels_per_inch|proofing|showstopping|smoothing|time|tolerance|tracingcapsules|tracingchoices|tracingcommands|tracingedges|tracingequations|tracingmacros|tracingonline|tracingoutput|tracingpens|tracingrestores|tracingspecs|tracingstats|tracingtitles|turningcheck|vppp|warningcheck|xoffset|year|yoffset)\b/,alias:"keyword"},command:{pattern:/\b(?:addto|batchmode|charlist|cull|display|errhelp|errmessage|errorstopmode|everyjob|extensible|fontdimen|headerbyte|inner|interim|let|ligtable|message|newinternal|nonstopmode|numspecial|openwindow|outer|randomseed|save|scrollmode|shipout|show|showdependencies|showstats|showtoken|showvariable|special)\b/,alias:"builtin"},operator:[{pattern:/(^|[^>=<:|])(?:<|<=|=|=:|\|=:|\|=:>|=:\|>|=:\||\|=:\||\|=:\|>|\|=:\|>>|>|>=|:|:=|<>|::|\|\|:)(?![>=<:|])/,lookbehind:!0},{pattern:/(^|[^+-])(?:\+|\+\+|-{1,3}|\+-\+)(?![+-])/,lookbehind:!0},{pattern:/(^|[^/*\\])(?:\*|\*\*|\/)(?![/*\\])/,lookbehind:!0},{pattern:/(^|[^.])(?:\.{2,3})(?!\.)/,lookbehind:!0},{pattern:/(^|[^@#&$])&(?![@#&$])/,lookbehind:!0},/\b(?:and|not|or)\b/],macro:{pattern:/\b(?:abs|beginchar|bot|byte|capsule_def|ceiling|change_width|clear_pen_memory|clearit|clearpen|clearxy|counterclockwise|cullit|cutdraw|cutoff|decr|define_blacker_pixels|define_corrected_pixels|define_good_x_pixels|define_good_y_pixels|define_horizontal_corrected_pixels|define_pixels|define_whole_blacker_pixels|define_whole_pixels|define_whole_vertical_blacker_pixels|define_whole_vertical_pixels|dir|direction|directionpoint|div|dotprod|downto|draw|drawdot|endchar|erase|fill|filldraw|fix_units|flex|font_coding_scheme|font_extra_space|font_identifier|font_normal_shrink|font_normal_space|font_normal_stretch|font_quad|font_size|font_slant|font_x_height|gfcorners|gobble|gobbled|good\.(?:bot|lft|rt|top|x|y)|grayfont|hide|hround|imagerules|incr|interact|interpath|intersectionpoint|inverse|italcorr|killtext|labelfont|labels|lft|loggingall|lowres_fix|makegrid|makelabel(?:\.(?:bot|lft|rt|top)(?:\.nodot)?)?|max|min|mod|mode_def|mode_setup|nodisplays|notransforms|numtok|openit|penlabels|penpos|pickup|proofoffset|proofrule|proofrulethickness|range|reflectedabout|rotatedabout|rotatedaround|round|rt|savepen|screenchars|screenrule|screenstrokes|shipit|showit|slantfont|softjoin|solve|stop|superellipse|tensepath|thru|titlefont|top|tracingall|tracingnone|undraw|undrawdot|unfill|unfilldraw|upto|vround)\b/,alias:"function"},builtin:/\b(?:ASCII|angle|char|cosd|decimal|directiontime|floor|hex|intersectiontimes|jobname|known|length|makepath|makepen|mexp|mlog|normaldeviate|oct|odd|pencircle|penoffset|point|postcontrol|precontrol|reverse|rotated|sind|sqrt|str|subpath|substring|totalweight|turningnumber|uniformdeviate|unknown|xpart|xxpart|xypart|ypart|yxpart|yypart)\b/,keyword:/\b(?:also|at|atleast|begingroup|charexists|contour|controls|curl|cycle|def|delimiters|doublepath|dropping|dump|else|elseif|end|enddef|endfor|endgroup|endinput|exitif|exitunless|expandafter|fi|for|forever|forsuffixes|from|if|input|inwindow|keeping|kern|of|primarydef|quote|readstring|scaled|scantokens|secondarydef|shifted|skipto|slanted|step|tension|tertiarydef|to|transformed|until|vardef|withpen|withweight|xscaled|yscaled|zscaled)\b/,type:{pattern:/\b(?:boolean|expr|numeric|pair|path|pen|picture|primary|secondary|string|suffix|tertiary|text|transform)\b/,alias:"property"},variable:{pattern:/(^|[^@#&$])(?:@#|#@|#|@)(?![@#&$])|\b(?:aspect_ratio|currentpen|currentpicture|currenttransform|d|extra_beginchar|extra_endchar|extra_setup|h|localfont|mag|mode|screen_cols|screen_rows|w|whatever|x|y|z)\b/,lookbehind:!0}}}function jd(e){e.languages.mizar={comment:/::.+/,keyword:/@proof\b|\b(?:according|aggregate|all|and|antonym|are|as|associativity|assume|asymmetry|attr|be|begin|being|by|canceled|case|cases|clusters?|coherence|commutativity|compatibility|connectedness|consider|consistency|constructors|contradiction|correctness|def|deffunc|define|definitions?|defpred|do|does|end|environ|equals|ex|exactly|existence|for|from|func|given|hence|hereby|holds|idempotence|identity|iff?|implies|involutiveness|irreflexivity|is|it|let|means|mode|non|not|notations?|now|of|or|otherwise|over|per|pred|prefix|projectivity|proof|provided|qua|reconsider|redefine|reduce|reducibility|reflexivity|registrations?|requirements|reserve|sch|schemes?|section|selector|set|sethood|st|struct|such|suppose|symmetry|synonym|take|that|the|then|theorems?|thesis|thus|to|transitivity|uniqueness|vocabular(?:ies|y)|when|where|with|wrt)\b/,parameter:{pattern:/\$(?:10|\d)/,alias:"variable"},variable:/\b\w+(?=:)/,number:/(?:\b|-)\d+\b/,operator:/\.\.\.|->|&|\.?=/,punctuation:/\(#|#\)|[,:;\[\](){}]/}}function Gd(e){e.register(su),function(e){var t=["$eq","$gt","$gte","$in","$lt","$lte","$ne","$nin","$and","$not","$nor","$or","$exists","$type","$expr","$jsonSchema","$mod","$regex","$text","$where","$geoIntersects","$geoWithin","$near","$nearSphere","$all","$elemMatch","$size","$bitsAllClear","$bitsAllSet","$bitsAnyClear","$bitsAnySet","$comment","$elemMatch","$meta","$slice","$currentDate","$inc","$min","$max","$mul","$rename","$set","$setOnInsert","$unset","$addToSet","$pop","$pull","$push","$pullAll","$each","$position","$slice","$sort","$bit","$addFields","$bucket","$bucketAuto","$collStats","$count","$currentOp","$facet","$geoNear","$graphLookup","$group","$indexStats","$limit","$listLocalSessions","$listSessions","$lookup","$match","$merge","$out","$planCacheStats","$project","$redact","$replaceRoot","$replaceWith","$sample","$set","$skip","$sort","$sortByCount","$unionWith","$unset","$unwind","$setWindowFields","$abs","$accumulator","$acos","$acosh","$add","$addToSet","$allElementsTrue","$and","$anyElementTrue","$arrayElemAt","$arrayToObject","$asin","$asinh","$atan","$atan2","$atanh","$avg","$binarySize","$bsonSize","$ceil","$cmp","$concat","$concatArrays","$cond","$convert","$cos","$dateFromParts","$dateToParts","$dateFromString","$dateToString","$dayOfMonth","$dayOfWeek","$dayOfYear","$degreesToRadians","$divide","$eq","$exp","$filter","$first","$floor","$function","$gt","$gte","$hour","$ifNull","$in","$indexOfArray","$indexOfBytes","$indexOfCP","$isArray","$isNumber","$isoDayOfWeek","$isoWeek","$isoWeekYear","$last","$last","$let","$literal","$ln","$log","$log10","$lt","$lte","$ltrim","$map","$max","$mergeObjects","$meta","$min","$millisecond","$minute","$mod","$month","$multiply","$ne","$not","$objectToArray","$or","$pow","$push","$radiansToDegrees","$range","$reduce","$regexFind","$regexFindAll","$regexMatch","$replaceOne","$replaceAll","$reverseArray","$round","$rtrim","$second","$setDifference","$setEquals","$setIntersection","$setIsSubset","$setUnion","$size","$sin","$slice","$split","$sqrt","$stdDevPop","$stdDevSamp","$strcasecmp","$strLenBytes","$strLenCP","$substr","$substrBytes","$substrCP","$subtract","$sum","$switch","$tan","$toBool","$toDate","$toDecimal","$toDouble","$toInt","$toLong","$toObjectId","$toString","$toLower","$toUpper","$trim","$trunc","$type","$week","$year","$zip","$count","$dateAdd","$dateDiff","$dateSubtract","$dateTrunc","$getField","$rand","$sampleRate","$setField","$unsetField","$comment","$explain","$hint","$max","$maxTimeMS","$min","$orderby","$query","$returnKey","$showDiskLoc","$natural"],n="(?:"+(t=t.map((function(e){return e.replace("$","\\$")}))).join("|")+")\\b";e.languages.mongodb=e.languages.extend("javascript",{}),e.languages.insertBefore("mongodb","string",{property:{pattern:/(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/,greedy:!0,inside:{keyword:RegExp("^(['\"])?"+n+"(?:\\1)?$")}}}),e.languages.mongodb.string.inside={url:{pattern:/https?:\/\/[-\w@:%.+~#=]{1,256}\.[a-z0-9()]{1,6}\b[-\w()@:%+.~#?&/=]*/i,greedy:!0},entity:{pattern:/\b(?:(?:[01]?\d\d?|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d\d?|2[0-4]\d|25[0-5])\b/,greedy:!0}},e.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:"+["ObjectId","Code","BinData","DBRef","Timestamp","NumberLong","NumberDecimal","MaxKey","MinKey","RegExp","ISODate","UUID"].join("|")+")\\b"),alias:"keyword"}})}(e)}function Yd(e){e.languages.monkey={comment:{pattern:/^#Rem\s[\s\S]*?^#End|'.+/im,greedy:!0},string:{pattern:/"[^"\r\n]*"/,greedy:!0},preprocessor:{pattern:/(^[ \t]*)#.+/m,lookbehind:!0,greedy:!0,alias:"property"},function:/\b\w+(?=\()/,"type-char":{pattern:/\b[?%#$]/,alias:"class-name"},number:{pattern:/((?:\.\.)?)(?:(?:\b|\B-\.?|\B\.)\d+(?:(?!\.\.)\.\d*)?|\$[\da-f]+)/i,lookbehind:!0},keyword:/\b(?:Abstract|Array|Bool|Case|Catch|Class|Const|Continue|Default|Eachin|Else|ElseIf|End|EndIf|Exit|Extends|Extern|False|Field|Final|Float|For|Forever|Function|Global|If|Implements|Import|Inline|Int|Interface|Local|Method|Module|New|Next|Null|Object|Private|Property|Public|Repeat|Return|Select|Self|Step|Strict|String|Super|Then|Throw|To|True|Try|Until|Void|Wend|While)\b/i,operator:/\.\.|<[=>]?|>=?|:?=|(?:[+\-*\/&~|]|\b(?:Mod|Shl|Shr)\b)=?|\b(?:And|Not|Or)\b/i,punctuation:/[.,:;()\[\]]/}}function zd(e){e.languages.moonscript={comment:/--.*/,string:[{pattern:/'[^']*'|\[(=*)\[[\s\S]*?\]\1\]/,greedy:!0},{pattern:/"[^"]*"/,greedy:!0,inside:{interpolation:{pattern:/#\{[^{}]*\}/,inside:{moonscript:{pattern:/(^#\{)[\s\S]+(?=\})/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/#\{|\}/,alias:"punctuation"}}}}}],"class-name":[{pattern:/(\b(?:class|extends)[ \t]+)\w+/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\b(?:class|continue|do|else|elseif|export|extends|for|from|if|import|in|local|nil|return|self|super|switch|then|unless|using|when|while|with)\b/,variable:/@@?\w*/,property:{pattern:/\b(?!\d)\w+(?=:)|(:)(?!\d)\w+/,lookbehind:!0},function:{pattern:/\b(?:_G|_VERSION|assert|collectgarbage|coroutine\.(?:create|resume|running|status|wrap|yield)|debug\.(?:debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|setfenv|sethook|setlocal|setmetatable|setupvalue|traceback)|dofile|error|getfenv|getmetatable|io\.(?:close|flush|input|lines|open|output|popen|read|stderr|stdin|stdout|tmpfile|type|write)|ipairs|load|loadfile|loadstring|math\.(?:abs|acos|asin|atan|atan2|ceil|cos|cosh|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pi|pow|rad|random|randomseed|sin|sinh|sqrt|tan|tanh)|module|next|os\.(?:clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\.(?:cpath|loaded|loadlib|path|preload|seeall)|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|string\.(?:byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)|table\.(?:concat|insert|maxn|remove|sort)|tonumber|tostring|type|unpack|xpcall)\b/,inside:{punctuation:/\./}},boolean:/\b(?:false|true)\b/,number:/(?:\B\.\d+|\b\d+\.\d+|\b\d+(?=[eE]))(?:[eE][-+]?\d+)?\b|\b(?:0x[a-fA-F\d]+|\d+)(?:U?LL)?\b/,operator:/\.{3}|[-=]>|~=|(?:[-+*/%<>!=]|\.\.)=?|[:#^]|\b(?:and|or)\b=?|\b(?:not)\b/,punctuation:/[.,()[\]{}\\]/},e.languages.moonscript.string[1].inside.interpolation.inside.moonscript.inside=e.languages.moonscript,e.languages.moon=e.languages.moonscript}function $d(e){e.languages.n1ql={comment:{pattern:/\/\*[\s\S]*?(?:$|\*\/)|--.*/,greedy:!0},string:{pattern:/(["'])(?:\\[\s\S]|(?!\1)[^\\]|\1\1)*\1/,greedy:!0},identifier:{pattern:/`(?:\\[\s\S]|[^\\`]|``)*`/,greedy:!0},parameter:/\$[\w.]+/,keyword:/\b(?:ADVISE|ALL|ALTER|ANALYZE|AS|ASC|AT|BEGIN|BINARY|BOOLEAN|BREAK|BUCKET|BUILD|BY|CALL|CAST|CLUSTER|COLLATE|COLLECTION|COMMIT|COMMITTED|CONNECT|CONTINUE|CORRELATE|CORRELATED|COVER|CREATE|CURRENT|DATABASE|DATASET|DATASTORE|DECLARE|DECREMENT|DELETE|DERIVED|DESC|DESCRIBE|DISTINCT|DO|DROP|EACH|ELEMENT|EXCEPT|EXCLUDE|EXECUTE|EXPLAIN|FETCH|FILTER|FLATTEN|FLUSH|FOLLOWING|FOR|FORCE|FROM|FTS|FUNCTION|GOLANG|GRANT|GROUP|GROUPS|GSI|HASH|HAVING|IF|IGNORE|ILIKE|INCLUDE|INCREMENT|INDEX|INFER|INLINE|INNER|INSERT|INTERSECT|INTO|IS|ISOLATION|JAVASCRIPT|JOIN|KEY|KEYS|KEYSPACE|KNOWN|LANGUAGE|LAST|LEFT|LET|LETTING|LEVEL|LIMIT|LSM|MAP|MAPPING|MATCHED|MATERIALIZED|MERGE|MINUS|MISSING|NAMESPACE|NEST|NL|NO|NTH_VALUE|NULL|NULLS|NUMBER|OBJECT|OFFSET|ON|OPTION|OPTIONS|ORDER|OTHERS|OUTER|OVER|PARSE|PARTITION|PASSWORD|PATH|POOL|PRECEDING|PREPARE|PRIMARY|PRIVATE|PRIVILEGE|PROBE|PROCEDURE|PUBLIC|RANGE|RAW|REALM|REDUCE|RENAME|RESPECT|RETURN|RETURNING|REVOKE|RIGHT|ROLE|ROLLBACK|ROW|ROWS|SATISFIES|SAVEPOINT|SCHEMA|SCOPE|SELECT|SELF|SEMI|SET|SHOW|SOME|START|STATISTICS|STRING|SYSTEM|TIES|TO|TRAN|TRANSACTION|TRIGGER|TRUNCATE|UNBOUNDED|UNDER|UNION|UNIQUE|UNKNOWN|UNNEST|UNSET|UPDATE|UPSERT|USE|USER|USING|VALIDATE|VALUE|VALUES|VIA|VIEW|WHERE|WHILE|WINDOW|WITH|WORK|XOR)\b/i,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:FALSE|TRUE)\b/i,number:/(?:\b\d+\.|\B\.)\d+e[+\-]?\d+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/%]|!=|==?|\|\||<[>=]?|>=?|\b(?:AND|ANY|ARRAY|BETWEEN|CASE|ELSE|END|EVERY|EXISTS|FIRST|IN|LIKE|NOT|OR|THEN|VALUED|WHEN|WITHIN)\b/i,punctuation:/[;[\](),.{}:]/}}function Wd(e){e.languages["nand2tetris-hdl"]={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,keyword:/\b(?:BUILTIN|CHIP|CLOCKED|IN|OUT|PARTS)\b/,boolean:/\b(?:false|true)\b/,function:/\b[A-Za-z][A-Za-z0-9]*(?=\()/,number:/\b\d+\b/,operator:/=|\.\./,punctuation:/[{}[\];(),:]/}}function Vd(e){!function(e){var t=/\{[^\r\n\[\]{}]*\}/,n={"quoted-string":{pattern:/"(?:[^"\\]|\\.)*"/,alias:"operator"},"command-param-id":{pattern:/(\s)\w+:/,lookbehind:!0,alias:"property"},"command-param-value":[{pattern:t,alias:"selector"},{pattern:/([\t ])\S+/,lookbehind:!0,greedy:!0,alias:"operator"},{pattern:/\S(?:.*\S)?/,alias:"operator"}]};function r(e){return"string"==typeof e?e:Array.isArray(e)?e.map(r).join(""):r(e.content)}e.languages.naniscript={comment:{pattern:/^([\t ]*);.*/m,lookbehind:!0},define:{pattern:/^>.+/m,alias:"tag",inside:{value:{pattern:/(^>\w+[\t ]+)(?!\s)[^{}\r\n]+/,lookbehind:!0,alias:"operator"},key:{pattern:/(^>)\w+/,lookbehind:!0}}},label:{pattern:/^([\t ]*)#[\t ]*\w+[\t ]*$/m,lookbehind:!0,alias:"regex"},command:{pattern:/^([\t ]*)@\w+(?=[\t ]|$).*/m,lookbehind:!0,alias:"function",inside:{"command-name":/^@\w+/,expression:{pattern:t,greedy:!0,alias:"selector"},"command-params":{pattern:/\s*\S[\s\S]*/,inside:n}}},"generic-text":{pattern:/(^[ \t]*)[^#@>;\s].*/m,lookbehind:!0,alias:"punctuation",inside:{"escaped-char":/\\[{}\[\]"]/,expression:{pattern:t,greedy:!0,alias:"selector"},"inline-command":{pattern:/\[[\t ]*\w[^\r\n\[\]]*\]/,greedy:!0,alias:"function",inside:{"command-params":{pattern:/(^\[[\t ]*\w+\b)[\s\S]+(?=\]$)/,lookbehind:!0,inside:n},"command-param-name":{pattern:/^(\[[\t ]*)\w+/,lookbehind:!0,alias:"name"},"start-stop-char":/[\[\]]/}}}}},e.languages.nani=e.languages.naniscript,e.hooks.add("after-tokenize",(function(e){e.tokens.forEach((function(e){if("string"!=typeof e&&"generic-text"===e.type){var t=r(e);(function(e){for(var t=[],n=0;n=&|$!]/}}function qd(e){e.languages.neon={comment:{pattern:/#.*/,greedy:!0},datetime:{pattern:/(^|[[{(=:,\s])\d\d\d\d-\d\d?-\d\d?(?:(?:[Tt]| +)\d\d?:\d\d:\d\d(?:\.\d*)? *(?:Z|[-+]\d\d?(?::?\d\d)?)?)?(?=$|[\]}),\s])/,lookbehind:!0,alias:"number"},key:{pattern:/(^|[[{(,\s])[^,:=[\]{}()'"\s]+(?=\s*:(?:$|[\]}),\s])|\s*=)/,lookbehind:!0,alias:"property"},number:{pattern:/(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/,lookbehind:!0},boolean:{pattern:/(^|[[{(=:,\s])(?:false|no|true|yes)(?=$|[\]}),:=\s])/i,lookbehind:!0},null:{pattern:/(^|[[{(=:,\s])(?:null)(?=$|[\]}),:=\s])/i,lookbehind:!0,alias:"keyword"},string:{pattern:/(^|[[{(=:,\s])(?:('''|""")\r?\n(?:(?:[^\r\n]|\r?\n(?![\t ]*\2))*\r?\n)?[\t ]*\2|'[^'\r\n]*'|"(?:\\.|[^\\"\r\n])*")/,lookbehind:!0,greedy:!0},literal:{pattern:/(^|[[{(=:,\s])(?:[^#"',:=[\]{}()\s`-]|[:-][^"',=[\]{}()\s])(?:[^,:=\]})(\s]|:(?![\s,\]})]|$)|[ \t]+[^#,:=\]})(\s])*/,lookbehind:!0,alias:"string"},punctuation:/[,:=[\]{}()-]/}}function Xd(e){e.languages.nevod={comment:/\/\/.*|(?:\/\*[\s\S]*?(?:\*\/|$))/,string:{pattern:/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))!?\*?/,greedy:!0,inside:{"string-attrs":/!$|!\*$|\*$/}},namespace:{pattern:/(@namespace\s+)[a-zA-Z0-9\-.]+(?=\s*\{)/,lookbehind:!0},pattern:{pattern:/(@pattern\s+)?#?[a-zA-Z0-9\-.]+(?:\s*\(\s*(?:~\s*)?[a-zA-Z0-9\-.]+\s*(?:,\s*(?:~\s*)?[a-zA-Z0-9\-.]*)*\))?(?=\s*=)/,lookbehind:!0,inside:{"pattern-name":{pattern:/^#?[a-zA-Z0-9\-.]+/,alias:"class-name"},fields:{pattern:/\(.*\)/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},punctuation:/[,()]/,operator:{pattern:/~/,alias:"field-hidden-mark"}}}}},search:{pattern:/(@search\s+|#)[a-zA-Z0-9\-.]+(?:\.\*)?(?=\s*;)/,alias:"function",lookbehind:!0},keyword:/@(?:having|inside|namespace|outside|pattern|require|search|where)\b/,"standard-pattern":{pattern:/\b(?:Alpha|AlphaNum|Any|Blank|End|LineBreak|Num|NumAlpha|Punct|Space|Start|Symbol|Word|WordBreak)\b(?:\([a-zA-Z0-9\-.,\s+]*\))?/,inside:{"standard-pattern-name":{pattern:/^[a-zA-Z0-9\-.]+/,alias:"builtin"},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},"standard-pattern-attr":{pattern:/[a-zA-Z0-9\-.]+/,alias:"builtin"},punctuation:/[,()]/}},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},operator:[{pattern:/=/,alias:"pattern-def"},{pattern:/&/,alias:"conjunction"},{pattern:/~/,alias:"exception"},{pattern:/\?/,alias:"optionality"},{pattern:/[[\]]/,alias:"repetition"},{pattern:/[{}]/,alias:"variation"},{pattern:/[+_]/,alias:"sequence"},{pattern:/\.{2,3}/,alias:"span"}],"field-capture":[{pattern:/([a-zA-Z0-9\-.]+\s*\()\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+(?:\s*,\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+)*(?=\s*\))/,lookbehind:!0,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}},{pattern:/[a-zA-Z0-9\-.]+\s*:/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}}],punctuation:/[:;,()]/,name:/[a-zA-Z0-9\-.]+/}}function Zd(e){!function(e){var t=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i;e.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:t}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:t}},punctuation:/[{};]/}}(e)}function Qd(e){e.languages.nim={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(?:\b(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+)?(?:"""[\s\S]*?"""(?!")|"(?:\\[\s\S]|""|[^"\\])*")/,greedy:!0},char:{pattern:/'(?:\\(?:\d+|x[\da-fA-F]{0,2}|.)|[^'])'/,greedy:!0},function:{pattern:/(?:(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+|`[^`\r\n]+`)\*?(?:\[[^\]]+\])?(?=\s*\()/,greedy:!0,inside:{operator:/\*$/}},identifier:{pattern:/`[^`\r\n]+`/,greedy:!0,inside:{punctuation:/`/}},number:/\b(?:0[xXoObB][\da-fA-F_]+|\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:[eE][+-]?\d[\d_]*)?)(?:'?[iuf]\d*)?/,keyword:/\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\b/,operator:{pattern:/(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|in|is|isnot|mod|not|notin|of|or|shl|shr|xor)\b)/m,lookbehind:!0},punctuation:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/}}function Jd(e){e.languages.nix={comment:{pattern:/\/\*[\s\S]*?\*\/|#.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/,greedy:!0,inside:{interpolation:{pattern:/(^|(?:^|(?!'').)[^\\])\$\{(?:[^{}]|\{[^}]*\})*\}/,lookbehind:!0,inside:null}}},url:[/\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/,{pattern:/([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/,lookbehind:!0}],antiquotation:{pattern:/\$(?=\{)/,alias:"important"},number:/\b\d+\b/,keyword:/\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/,function:/\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:Tarball|url)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/,punctuation:/[{}()[\].,:;]/},e.languages.nix.string.inside.interpolation.inside=e.languages.nix}function ef(e){e.languages.nsis={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|[#;].*)/,lookbehind:!0,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:{pattern:/(^[\t ]*)(?:Abort|Add(?:BrandingImage|Size)|AdvSplash|Allow(?:RootDirInstall|SkipFiles)|AutoCloseWindow|BG(?:Font|Gradient|Image)|Banner|BrandingText|BringToFront|CRCCheck|Call(?:InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|Create(?:Directory|Font|ShortCut)|Delete(?:INISec|INIStr|RegKey|RegValue)?|Detail(?:Print|sButtonText)|Dialer|Dir(?:Text|Var|Verify)|EnableWindow|Enum(?:RegKey|RegValue)|Exch|Exec(?:Shell(?:Wait)?|Wait)?|ExpandEnvStrings|File(?:BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|Seek|Write|WriteByte|WriteUTF16LE|WriteWord)?|Find(?:Close|First|Next|Window)|FlushINI|Get(?:CurInstType|CurrentAddress|DLLVersion(?:Local)?|DlgItem|ErrorLevel|FileTime(?:Local)?|FullPathName|Function(?:Address|End)?|InstDirError|KnownFolderPath|LabelAddress|TempFileName|WinVer)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|RtlLanguage|ShellVarContextAll|Silent)|InitPluginsDir|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|NSISdl|Name|Nop|OutFile|PE(?:DllCharacteristics|SubsysVer)|Page(?:Callbacks)?|Pop|Push|Quit|RMDir|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|Target|UnRegDLL|Unicode|UninstPage|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UserInfo|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|Var|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle|ns(?:Dialogs|Exec))\b/m,lookbehind:!0},property:/\b(?:ARCHIVE|FILE_(?:ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK(?:(?:CR|CU|LM)(?:32|64)?|DD|PD|U)|HKEY_(?:CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(?:ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(?:ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY|admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user)\b/,constant:/\$\{[!\w\.:\^-]+\}|\$\([!\w\.:\^-]+\)/,variable:/\$\w[\w\.]*/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/,punctuation:/[{}[\];(),.:]/,important:{pattern:/(^[\t ]*)!(?:addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im,lookbehind:!0}}}function tf(e){e.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/}}function nf(e){!function(e){var t=/\\(?:["'\\abefnrtv]|0[0-7]{2}|U[\dA-Fa-f]{6}|u[\dA-Fa-f]{4}|x[\dA-Fa-f]{2})/;e.languages.odin={comment:[{pattern:/\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:\*(?!\/)|[^*])*(?:\*\/|$))*(?:\*\/|$)/,greedy:!0},{pattern:/#![^\n\r]*/,greedy:!0},{pattern:/\/\/[^\n\r]*/,greedy:!0}],char:{pattern:/'(?:\\(?:.|[0Uux][0-9A-Fa-f]{1,6})|[^\n\r'\\])'/,greedy:!0,inside:{symbol:t}},string:[{pattern:/`[^`]*`/,greedy:!0},{pattern:/"(?:\\.|[^\n\r"\\])*"/,greedy:!0,inside:{symbol:t}}],directive:{pattern:/#\w+/,alias:"property"},number:/\b0(?:b[01_]+|d[\d_]+|h_*(?:(?:(?:[\dA-Fa-f]_*){8}){1,2}|(?:[\dA-Fa-f]_*){4})|o[0-7_]+|x[\dA-F_a-f]+|z[\dAB_ab]+)\b|(?:\b\d+(?:\.(?!\.)\d*)?|\B\.\d+)(?:[Ee][+-]?\d*)?[ijk]?(?!\w)/,discard:{pattern:/\b_\b/,alias:"keyword"},"procedure-definition":{pattern:/\b\w+(?=[ \t]*(?::\s*){2}proc\b)/,alias:"function"},keyword:/\b(?:asm|auto_cast|bit_set|break|case|cast|context|continue|defer|distinct|do|dynamic|else|enum|fallthrough|for|foreign|if|import|in|map|matrix|not_in|or_else|or_return|package|proc|return|struct|switch|transmute|typeid|union|using|when|where)\b/,"procedure-name":{pattern:/\b\w+(?=[ \t]*\()/,alias:"function"},boolean:/\b(?:false|nil|true)\b/,"constant-parameter-sign":{pattern:/\$/,alias:"important"},undefined:{pattern:/---/,alias:"operator"},arrow:{pattern:/->/,alias:"punctuation"},operator:/\+\+|--|\.\.[<=]?|(?:&~|[-!*+/=~]|[%&<>|]{1,2})=?|[?^]/,punctuation:/[(),.:;@\[\]{}]/}}(e)}function rf(e){e.register(qc),function(e){e.languages.opencl=e.languages.extend("c",{keyword:/\b(?:(?:__)?(?:constant|global|kernel|local|private|read_only|read_write|write_only)|__attribute__|auto|(?:bool|u?(?:char|int|long|short)|half|quad)(?:2|3|4|8|16)?|break|case|complex|const|continue|(?:double|float)(?:16(?:x(?:1|2|4|8|16))?|1x(?:1|2|4|8|16)|2(?:x(?:1|2|4|8|16))?|3|4(?:x(?:1|2|4|8|16))?|8(?:x(?:1|2|4|8|16))?)?|default|do|else|enum|extern|for|goto|if|imaginary|inline|packed|pipe|register|restrict|return|signed|sizeof|static|struct|switch|typedef|uniform|union|unsigned|void|volatile|while)\b/,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[fuhl]{0,4}/i,boolean:/\b(?:false|true)\b/,"constant-opencl-kernel":{pattern:/\b(?:CHAR_(?:BIT|MAX|MIN)|CLK_(?:ADDRESS_(?:CLAMP(?:_TO_EDGE)?|NONE|REPEAT)|FILTER_(?:LINEAR|NEAREST)|(?:GLOBAL|LOCAL)_MEM_FENCE|NORMALIZED_COORDS_(?:FALSE|TRUE))|CL_(?:BGRA|(?:HALF_)?FLOAT|INTENSITY|LUMINANCE|A?R?G?B?[Ax]?|(?:(?:UN)?SIGNED|[US]NORM)_(?:INT(?:8|16|32))|UNORM_(?:INT_101010|SHORT_(?:555|565)))|(?:DBL|FLT|HALF)_(?:DIG|EPSILON|(?:MAX|MIN)(?:(?:_10)?_EXP)?|MANT_DIG)|FLT_RADIX|HUGE_VALF?|(?:INT|LONG|SCHAR|SHRT)_(?:MAX|MIN)|INFINITY|MAXFLOAT|M_(?:[12]_PI|2_SQRTPI|E|LN(?:2|10)|LOG(?:2|10)E?|PI(?:_[24])?|SQRT(?:1_2|2))(?:_F|_H)?|NAN|(?:UCHAR|UINT|ULONG|USHRT)_MAX)\b/,alias:"constant"}}),e.languages.insertBefore("opencl","class-name",{"builtin-type":{pattern:/\b(?:_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|cl_(?:image_format|mem_fence_flags)|clk_event_t|event_t|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|intptr_t|ndrange_t|ptrdiff_t|queue_t|reserve_id_t|sampler_t|size_t|uintptr_t)\b/,alias:"keyword"}});var t={"type-opencl-host":{pattern:/\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|int|long|short)|double|float)(?:2|3|4|8|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/,alias:"keyword"},"boolean-opencl-host":{pattern:/\bCL_(?:FALSE|TRUE)\b/,alias:"boolean"},"constant-opencl-host":{pattern:/\bCL_(?:A|ABGR|ADDRESS_(?:CLAMP(?:_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BGRA|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(?:ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(?:ACQUIRE_GL_OBJECTS|BARRIER|COPY_(?:BUFFER(?:_RECT|_TO_IMAGE)?|IMAGE(?:_TO_BUFFER)?)|FILL_(?:BUFFER|IMAGE)|MAP(?:_BUFFER|_IMAGE)|MARKER|MIGRATE(?:_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(?:BUFFER(?:_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(?:FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(?:BUFFER(?:_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(?:DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(?:_STENCIL)?|DEVICE_(?:ADDRESS_BITS|AFFINITY_DOMAIN_(?:L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(?:MEM_(?:CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(?:2D_MAX_(?:HEIGHT|WIDTH)|3D_MAX_(?:DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(?:CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(?:EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(?:AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(?:AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(?:ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(?:GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(?:ON_(?:DEVICE_(?:MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(?:ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(?:_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(?:_ID)?|VERSION)|DRIVER_VERSION|EVENT_(?:COMMAND_(?:EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(?:KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(?:LINEAR|NEAREST)|FLOAT|FP_(?:CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(?:ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(?:ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(?:ARG_(?:ACCESS_(?:NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(?:CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(?:CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(?:FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(?:ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(?:ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(?:CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(?:HOST_MEMORY|RESOURCES)|PIPE_(?:MAX_PACKETS|PACKET_SIZE)|PLATFORM_(?:EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(?:COMMAND_(?:COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(?:BINARIES|BINARY_SIZES|BINARY_TYPE(?:_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(?:GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(?:CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|R|RA|READ_(?:ONLY|WRITE)_CACHE|RG|RGB|RGBA|RGBx|RGx|RUNNING|Rx|SAMPLER_(?:ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(?:UN)?SIGNED_INT(?:8|16|32)|SNORM_INT(?:8|16)|SUBMITTED|SUCCESS|UNORM_INT(?:8|16|24|_101010|_101010_2)|UNORM_SHORT_(?:555|565)|VERSION_(?:1_0|1_1|1_2|2_0|2_1)|sBGRA|sRGB|sRGBA|sRGBx)\b/,alias:"constant"},"function-opencl-host":{pattern:/\bcl(?:BuildProgram|CloneKernel|CompileProgram|Create(?:Buffer|CommandQueue(?:WithProperties)?|Context|ContextFromType|Image|Image2D|Image3D|Kernel|KernelsInProgram|Pipe|ProgramWith(?:Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue(?:(?:Barrier|Marker)(?:WithWaitList)?|Copy(?:Buffer(?:Rect|ToImage)?|Image(?:ToBuffer)?)|(?:Fill|Map)(?:Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(?:Read|Write)(?:Buffer(?:Rect)?|Image)|SVM(?:Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(?:CommandQueueInfo|ContextInfo|Device(?:AndHostTimer|IDs|Info)|Event(?:Profiling)?Info|ExtensionFunctionAddress(?:ForPlatform)?|HostTimer|ImageInfo|Kernel(?:ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(?:IDs|Info)|Program(?:Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(?:Release|Retain)(?:CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(?:Alloc|Free)|Set(?:CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel|Kernel(?:Arg(?:SVMPointer)?|ExecInfo)|MemObjectDestructorCallback|UserEventStatus)|Unload(?:Platform)?Compiler|WaitForEvents)\b/,alias:"function"}};e.languages.insertBefore("c","keyword",t),e.languages.cpp&&(t["type-opencl-host-cpp"]={pattern:/\b(?:Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image|Image1D|Image1DArray|Image1DBuffer|Image2D|Image2DArray|Image2DGL|Image3D|Image3DGL|ImageFormat|ImageGL|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|SVMAllocator|SVMTraitAtomic|SVMTraitCoarse|SVMTraitFine|SVMTraitReadOnly|SVMTraitReadWrite|SVMTraitWriteOnly|Sampler|UserEvent)\b/,alias:"keyword"},e.languages.insertBefore("cpp","keyword",t))}(e)}function of(e){e.languages.openqasm={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"[^"\r\n\t]*"|'[^'\r\n\t]*'/,greedy:!0},keyword:/\b(?:CX|OPENQASM|U|barrier|boxas|boxto|break|const|continue|ctrl|def|defcal|defcalgrammar|delay|else|end|for|gate|gphase|if|in|include|inv|kernel|lengthof|let|measure|pow|reset|return|rotary|stretchinf|while)\b|#pragma\b/,"class-name":/\b(?:angle|bit|bool|creg|fixed|float|int|length|qreg|qubit|stretch|uint)\b/,function:/\b(?:cos|exp|ln|popcount|rotl|rotr|sin|sqrt|tan)\b(?=\s*\()/,constant:/\b(?:euler|pi|tau)\b|π|𝜏|ℇ/,number:{pattern:/(^|[^.\w$])(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?(?:dt|ns|us|µs|ms|s)?/i,lookbehind:!0},operator:/->|>>=?|<<=?|&&|\|\||\+\+|--|[!=<>&|~^+\-*/%]=?|@/,punctuation:/[(){}\[\];,:.]/},e.languages.qasm=e.languages.openqasm}function af(e){e.languages.oz={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},atom:{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,alias:"builtin"},keyword:/\$|\[\]|\b(?:_|at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/,function:[/\b[a-z][A-Za-z\d]*(?=\()/,{pattern:/(\{)[A-Z][A-Za-z\d]*\b/,lookbehind:!0}],number:/\b(?:0[bx][\da-f]+|\d+(?:\.\d*)?(?:e~?\d+)?)\b|&(?:[^\\]|\\(?:\d{3}|.))/i,variable:/`(?:[^`\\]|\\.)+`/,"attr-name":/\b\w+(?=[ \t]*:(?![:=]))/,operator:/:(?:=|::?)|<[-:=]?|=(?:=|=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/,punctuation:/[\[\](){}.:;?]/}}function sf(e){var t;e.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:(t=["breakpoint","break","dbg_down","dbg_err","dbg_up","dbg_x","forcomposite","fordiv","forell","forpart","forprime","forstep","forsubgroup","forvec","for","iferr","if","local","my","next","return","until","while"],t=t.map((function(e){return e.split("").join(" *")})).join("|"),RegExp("\\b(?:"+t+")\\b")),function:/\b\w(?:[\w ]*\w)?(?= *\()/,number:{pattern:/((?:\. *\. *)?)(?:\b\d(?: *\d)*(?: *(?!\. *\.)\.(?: *\d)*)?|\. *\d(?: *\d)*)(?: *e *(?:[+-] *)?\d(?: *\d)*)?/i,lookbehind:!0},operator:/\. *\.|[*\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\+(?: *[+=])?|-(?: *[-=>])?|<(?: *>|(?: *<)?(?: *=)?)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\(?: *\/)?(?: *=)?|&(?: *&)?|\| *\||['#~^]/,punctuation:/[\[\]{}().,:;|]/}}function lf(e){e.register(eu),function(e){var t=e.languages.parser=e.languages.extend("markup",{keyword:{pattern:/(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/,lookbehind:!0},variable:{pattern:/(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{punctuation:/\.|:+/}},function:{pattern:/(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{keyword:{pattern:/(^@)(?:GET_|SET_)/,lookbehind:!0},punctuation:/\.|:+/}},escape:{pattern:/\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i,alias:"builtin"},punctuation:/[\[\](){};]/});t=e.languages.insertBefore("parser","keyword",{"parser-comment":{pattern:/(\s)#.*/,lookbehind:!0,alias:"comment"},expression:{pattern:/(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/,greedy:!0,lookbehind:!0,inside:{string:{pattern:/(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/,lookbehind:!0},keyword:t.keyword,variable:t.variable,function:t.function,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i,escape:t.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:t.punctuation}}}),e.languages.insertBefore("inside","punctuation",{expression:t.expression,keyword:t.keyword,variable:t.variable,function:t.function,escape:t.escape,"parser-punctuation":{pattern:t.punctuation,alias:"punctuation"}},t.tag.inside["attr-value"])}(e)}function cf(e){e.languages.pascal={directive:{pattern:/\{\$[\s\S]*?\}/,greedy:!0,alias:["marco","property"]},comment:{pattern:/\(\*[\s\S]*?\*\)|\{[\s\S]*?\}|\/\/.*/,greedy:!0},string:{pattern:/(?:'(?:''|[^'\r\n])*'(?!')|#[&$%]?[a-f\d]+)+|\^[a-z]/i,greedy:!0},asm:{pattern:/(\basm\b)[\s\S]+?(?=\bend\s*[;[])/i,lookbehind:!0,greedy:!0,inside:null},keyword:[{pattern:/(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:dispose|exit|false|new|true)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i,lookbehind:!0}],number:[/(?:[&%]\d+|\$[a-f\d]+)/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?/i],operator:[/\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/,{pattern:/(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/,lookbehind:!0}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/},e.languages.pascal.asm.inside=e.languages.extend("pascal",{asm:void 0,keyword:void 0,operator:void 0}),e.languages.objectpascal=e.languages.pascal}function uf(e){!function(e){var t=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,n=/(?:\b\w+(?:)?|)/.source.replace(//g,(function(){return t})),r=e.languages.pascaligo={comment:/\(\*[\s\S]+?\*\)|\/\/.*/,string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1|\^[a-z]/i,greedy:!0},"class-name":[{pattern:RegExp(/(\btype\s+\w+\s+is\s+)/.source.replace(//g,(function(){return n})),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/(?=\s+is\b)/.source.replace(//g,(function(){return n})),"i"),inside:null},{pattern:RegExp(/(:\s*)/.source.replace(//g,(function(){return n}))),lookbehind:!0,inside:null}],keyword:{pattern:/(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|skip|then|type|var|while|with)\b/i,lookbehind:!0},boolean:{pattern:/(^|[^&])\b(?:False|True)\b/i,lookbehind:!0},builtin:{pattern:/(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i,lookbehind:!0},function:/\b\w+(?=\s*\()/,number:[/%[01]+|&[0-7]+|\$[a-f\d]+/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i],operator:/->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/,punctuation:/\(\.|\.\)|[()\[\]:;,.{}]/},i=["comment","keyword","builtin","operator","punctuation"].reduce((function(e,t){return e[t]=r[t],e}),{});r["class-name"].forEach((function(e){e.inside=i}))}(e)}function hf(e){e.languages.psl={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0,inside:{symbol:/\\[ntrbA-Z"\\]/}},"heredoc-string":{pattern:/<<<([a-zA-Z_]\w*)[\r\n](?:.*[\r\n])*?\1\b/,alias:"string",greedy:!0},keyword:/\b(?:__multi|__single|case|default|do|else|elsif|exit|export|for|foreach|function|if|last|line|local|next|requires|return|switch|until|while|word)\b/,constant:/\b(?:ALARM|CHART_ADD_GRAPH|CHART_DELETE_GRAPH|CHART_DESTROY|CHART_LOAD|CHART_PRINT|EOF|OFFLINE|OK|PSL_PROF_LOG|R_CHECK_HORIZ|R_CHECK_VERT|R_CLICKER|R_COLUMN|R_FRAME|R_ICON|R_LABEL|R_LABEL_CENTER|R_LIST_MULTIPLE|R_LIST_MULTIPLE_ND|R_LIST_SINGLE|R_LIST_SINGLE_ND|R_MENU|R_POPUP|R_POPUP_SCROLLED|R_RADIO_HORIZ|R_RADIO_VERT|R_ROW|R_SCALE_HORIZ|R_SCALE_VERT|R_SEP_HORIZ|R_SEP_VERT|R_SPINNER|R_TEXT_FIELD|R_TEXT_FIELD_LABEL|R_TOGGLE|TRIM_LEADING|TRIM_LEADING_AND_TRAILING|TRIM_REDUNDANT|TRIM_TRAILING|VOID|WARN)\b/,boolean:/\b(?:FALSE|False|NO|No|TRUE|True|YES|Yes|false|no|true|yes)\b/,variable:/\b(?:PslDebug|errno|exit_status)\b/,builtin:{pattern:/\b(?:PslExecute|PslFunctionCall|PslFunctionExists|PslSetOptions|_snmp_debug|acos|add_diary|annotate|annotate_get|ascii_to_ebcdic|asctime|asin|atan|atexit|batch_set|blackout|cat|ceil|chan_exists|change_state|close|code_cvt|cond_signal|cond_wait|console_type|convert_base|convert_date|convert_locale_date|cos|cosh|create|date|dcget_text|destroy|destroy_lock|dget_text|difference|dump_hist|ebcdic_to_ascii|encrypt|event_archive|event_catalog_get|event_check|event_query|event_range_manage|event_range_query|event_report|event_schedule|event_trigger|event_trigger2|execute|exists|exp|fabs|file|floor|fmod|fopen|fseek|ftell|full_discovery|get|get_chan_info|get_ranges|get_text|get_vars|getenv|gethostinfo|getpid|getpname|grep|history|history_get_retention|in_transition|index|int|internal|intersection|is_var|isnumber|join|kill|length|lines|lock|lock_info|log|log10|loge|matchline|msg_check|msg_get_format|msg_get_severity|msg_printf|msg_sprintf|ntharg|nthargf|nthline|nthlinef|num_bytes|num_consoles|pconfig|popen|poplines|pow|print|printf|proc_exists|process|random|read|readln|refresh_parameters|remote_check|remote_close|remote_event_query|remote_event_trigger|remote_file_send|remote_open|remove|replace|rindex|sec_check_priv|sec_store_get|sec_store_set|set|set_alarm_ranges|set_locale|share|sin|sinh|sleep|snmp_agent_config|snmp_agent_start|snmp_agent_stop|snmp_close|snmp_config|snmp_get|snmp_get_next|snmp_h_get|snmp_h_get_next|snmp_h_set|snmp_open|snmp_set|snmp_trap_ignore|snmp_trap_listen|snmp_trap_raise_std_trap|snmp_trap_receive|snmp_trap_register_im|snmp_trap_send|snmp_walk|sopen|sort|splitline|sprintf|sqrt|srandom|str_repeat|strcasecmp|subset|substr|system|tail|tan|tanh|text_domain|time|tmpnam|tolower|toupper|trace_psl_process|trim|union|unique|unlock|unset|va_arg|va_start|write)\b/,alias:"builtin-function"},"foreach-variable":{pattern:/(\bforeach\s+(?:(?:\w+\b|"(?:\\.|[^\\"])*")\s+){0,2})[_a-zA-Z]\w*(?=\s*\()/,lookbehind:!0,greedy:!0},function:/\b[_a-z]\w*\b(?=\s*\()/i,number:/\b(?:0x[0-9a-f]+|\d+(?:\.\d+)?)\b/i,operator:/--|\+\+|&&=?|\|\|=?|<<=?|>>=?|[=!]~|[-+*/%&|^!=<>]=?|\.|[:?]/,punctuation:/[(){}\[\];,]/}}function pf(e){e.languages.pcaxis={string:/"[^"]*"/,keyword:{pattern:/((?:^|;)\s*)[-A-Z\d]+(?:\s*\[[-\w]+\])?(?:\s*\("[^"]*"(?:,\s*"[^"]*")*\))?(?=\s*=)/,lookbehind:!0,greedy:!0,inside:{keyword:/^[-A-Z\d]+/,language:{pattern:/^(\s*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/^\[|\]$/,property:/[-\w]+/}},"sub-key":{pattern:/^(\s*)\S[\s\S]*/,lookbehind:!0,inside:{parameter:{pattern:/"[^"]*"/,alias:"property"},punctuation:/^\(|\)$|,/}}}},operator:/=/,tlist:{pattern:/TLIST\s*\(\s*\w+(?:(?:\s*,\s*"[^"]*")+|\s*,\s*"[^"]*"-"[^"]*")?\s*\)/,greedy:!0,inside:{function:/^TLIST/,property:{pattern:/^(\s*\(\s*)\w+/,lookbehind:!0},string:/"[^"]*"/,punctuation:/[(),]/,operator:/-/}},punctuation:/[;,]/,number:{pattern:/(^|\s)\d+(?:\.\d+)?(?!\S)/,lookbehind:!0},boolean:/NO|YES/},e.languages.px=e.languages.pcaxis}function df(e){e.languages.peoplecode={comment:RegExp([/\/\*[\s\S]*?\*\//.source,/\bREM[^;]*;/.source,/<\*(?:[^<*]|\*(?!>)|<(?!\*)|<\*(?:(?!\*>)[\s\S])*\*>)*\*>/.source,/\/\+[\s\S]*?\+\//.source].join("|")),string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},variable:/%\w+/,"function-definition":{pattern:/((?:^|[^\w-])(?:function|method)\s+)\w+/i,lookbehind:!0,alias:"function"},"class-name":{pattern:/((?:^|[^-\w])(?:as|catch|class|component|create|extends|global|implements|instance|local|of|property|returns)\s+)\w+(?::\w+)*/i,lookbehind:!0,inside:{punctuation:/:/}},keyword:/\b(?:abstract|alias|as|catch|class|component|constant|create|declare|else|end-(?:class|evaluate|for|function|get|if|method|set|try|while)|evaluate|extends|for|function|get|global|if|implements|import|instance|library|local|method|null|of|out|peopleCode|private|program|property|protected|readonly|ref|repeat|returns?|set|step|then|throw|to|try|until|value|when(?:-other)?|while)\b/i,"operator-keyword":{pattern:/\b(?:and|not|or)\b/i,alias:"operator"},function:/[_a-z]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/\b\d+(?:\.\d+)?\b/,operator:/<>|[<>]=?|!=|\*\*|[-+*/|=@]/,punctuation:/[:.;,()[\]]/},e.languages.pcode=e.languages.peoplecode}function ff(e){e.register(od),e.register(vu),function(e){var t=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source;e.languages.phpdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+t+"\\s+)?)\\$\\w+"),lookbehind:!0}}),e.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+t),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),e.languages.javadoclike.addSupport("php",e.languages.phpdoc)}(e)}function mf(e){e.register(vu),e.languages.insertBefore("php","variable",{this:{pattern:/\$this\b/,alias:"keyword"},global:/\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/\b(?:parent|self|static)\b/,punctuation:/::|\\/}}})}function gf(e){!function(e){var t=/\$\w+|%[a-z]+%/,n=/\[[^[\]]*\]/.source,r=/(?:[drlu]|do|down|le|left|ri|right|up)/.source,i="(?:-+"+r+"-+|\\.+"+r+"\\.+|-+(?:"+n+"-*)?|"+n+"-+|\\.+(?:"+n+"\\.*)?|"+n+"\\.+)",o=/(?:>{1,2}|\/{1,2}|\\{1,2}|\|>|[#*^+{xo])/.source,a=/[[?]?[ox]?/.source+"(?:"+i+o+"|"+/(?:<{1,2}|\/{1,2}|\\{1,2}|<\||[#*^+}xo])/.source+i+"(?:"+o+")?)"+/[ox]?[\]?]?/.source;e.languages["plant-uml"]={comment:{pattern:/(^[ \t]*)(?:'.*|\/'[\s\S]*?'\/)/m,lookbehind:!0,greedy:!0},preprocessor:{pattern:/(^[ \t]*)!.*/m,lookbehind:!0,greedy:!0,alias:"property",inside:{variable:t}},delimiter:{pattern:/(^[ \t]*)@(?:end|start)uml\b/m,lookbehind:!0,greedy:!0,alias:"punctuation"},arrow:{pattern:RegExp(/(^|[^-.<>?|\\[\]ox])/.source+a+/(?![-.<>?|\\\]ox])/.source),lookbehind:!0,greedy:!0,alias:"operator",inside:{expression:{pattern:/(\[)[^[\]]+(?=\])/,lookbehind:!0,inside:null},punctuation:/\[(?=$|\])|^\]/}},string:{pattern:/"[^"]*"/,greedy:!0},text:{pattern:/(\[[ \t]*[\r\n]+(?![\r\n]))[^\]]*(?=\])/,lookbehind:!0,greedy:!0,alias:"string"},keyword:[{pattern:/^([ \t]*)(?:abstract\s+class|end\s+(?:box|fork|group|merge|note|ref|split|title)|(?:fork|split)(?:\s+again)?|activate|actor|agent|alt|annotation|artifact|autoactivate|autonumber|backward|binary|boundary|box|break|caption|card|case|circle|class|clock|cloud|collections|component|concise|control|create|critical|database|deactivate|destroy|detach|diamond|else|elseif|end|end[hr]note|endif|endswitch|endwhile|entity|enum|file|folder|footer|frame|group|[hr]?note|header|hexagon|hide|if|interface|label|legend|loop|map|namespace|network|newpage|node|nwdiag|object|opt|package|page|par|participant|person|queue|rectangle|ref|remove|repeat|restore|return|robust|scale|set|show|skinparam|stack|start|state|stop|storage|switch|title|together|usecase|usecase\/|while)(?=\s|$)/m,lookbehind:!0,greedy:!0},/\b(?:elseif|equals|not|while)(?=\s*\()/,/\b(?:as|is|then)\b/],divider:{pattern:/^==.+==$/m,greedy:!0,alias:"important"},time:{pattern:/@(?:\d+(?:[:/]\d+){2}|[+-]?\d+|:[a-z]\w*(?:[+-]\d+)?)\b/i,greedy:!0,alias:"number"},color:{pattern:/#(?:[a-z_]+|[a-fA-F0-9]+)\b/,alias:"symbol"},variable:t,punctuation:/[:,;()[\]{}]|\.{3}/},e.languages["plant-uml"].arrow.inside.expression.inside=e.languages["plant-uml"],e.languages.plantuml=e.languages["plant-uml"]}(e)}function yf(e){e.register(Cu),e.languages.plsql=e.languages.extend("sql",{comment:{pattern:/\/\*[\s\S]*?\*\/|--.*/,greedy:!0},keyword:/\b(?:A|ACCESSIBLE|ADD|AGENT|AGGREGATE|ALL|ALTER|AND|ANY|ARRAY|AS|ASC|AT|ATTRIBUTE|AUTHID|AVG|BEGIN|BETWEEN|BFILE_BASE|BINARY|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BULK|BY|BYTE|C|CALL|CALLING|CASCADE|CASE|CHAR|CHARACTER|CHARSET|CHARSETFORM|CHARSETID|CHAR_BASE|CHECK|CLOB_BASE|CLONE|CLOSE|CLUSTER|CLUSTERS|COLAUTH|COLLECT|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPILED|COMPRESS|CONNECT|CONSTANT|CONSTRUCTOR|CONTEXT|CONTINUE|CONVERT|COUNT|CRASH|CREATE|CREDENTIAL|CURRENT|CURSOR|CUSTOMDATUM|DANGLING|DATA|DATE|DATE_BASE|DAY|DECLARE|DEFAULT|DEFINE|DELETE|DESC|DETERMINISTIC|DIRECTORY|DISTINCT|DOUBLE|DROP|DURATION|ELEMENT|ELSE|ELSIF|EMPTY|END|ESCAPE|EXCEPT|EXCEPTION|EXCEPTIONS|EXCLUSIVE|EXECUTE|EXISTS|EXIT|EXTERNAL|FETCH|FINAL|FIRST|FIXED|FLOAT|FOR|FORALL|FORCE|FROM|FUNCTION|GENERAL|GOTO|GRANT|GROUP|HASH|HAVING|HEAP|HIDDEN|HOUR|IDENTIFIED|IF|IMMEDIATE|IMMUTABLE|IN|INCLUDING|INDEX|INDEXES|INDICATOR|INDICES|INFINITE|INSERT|INSTANTIABLE|INT|INTERFACE|INTERSECT|INTERVAL|INTO|INVALIDATE|IS|ISOLATION|JAVA|LANGUAGE|LARGE|LEADING|LENGTH|LEVEL|LIBRARY|LIKE|LIKE2|LIKE4|LIKEC|LIMIT|LIMITED|LOCAL|LOCK|LONG|LOOP|MAP|MAX|MAXLEN|MEMBER|MERGE|MIN|MINUS|MINUTE|MOD|MODE|MODIFY|MONTH|MULTISET|MUTABLE|NAME|NAN|NATIONAL|NATIVE|NCHAR|NEW|NOCOMPRESS|NOCOPY|NOT|NOWAIT|NULL|NUMBER_BASE|OBJECT|OCICOLL|OCIDATE|OCIDATETIME|OCIDURATION|OCIINTERVAL|OCILOBLOCATOR|OCINUMBER|OCIRAW|OCIREF|OCIREFCURSOR|OCIROWID|OCISTRING|OCITYPE|OF|OLD|ON|ONLY|OPAQUE|OPEN|OPERATOR|OPTION|OR|ORACLE|ORADATA|ORDER|ORGANIZATION|ORLANY|ORLVARY|OTHERS|OUT|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETER|PARAMETERS|PARENT|PARTITION|PASCAL|PERSISTABLE|PIPE|PIPELINED|PLUGGABLE|POLYMORPHIC|PRAGMA|PRECISION|PRIOR|PRIVATE|PROCEDURE|PUBLIC|RAISE|RANGE|RAW|READ|RECORD|REF|REFERENCE|RELIES_ON|REM|REMAINDER|RENAME|RESOURCE|RESULT|RESULT_CACHE|RETURN|RETURNING|REVERSE|REVOKE|ROLLBACK|ROW|SAMPLE|SAVE|SAVEPOINT|SB1|SB2|SB4|SECOND|SEGMENT|SELECT|SELF|SEPARATE|SEQUENCE|SERIALIZABLE|SET|SHARE|SHORT|SIZE|SIZE_T|SOME|SPARSE|SQL|SQLCODE|SQLDATA|SQLNAME|SQLSTATE|STANDARD|START|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUM|SYNONYM|TABAUTH|TABLE|TDO|THE|THEN|TIME|TIMESTAMP|TIMEZONE_ABBR|TIMEZONE_HOUR|TIMEZONE_MINUTE|TIMEZONE_REGION|TO|TRAILING|TRANSACTION|TRANSACTIONAL|TRUSTED|TYPE|UB1|UB2|UB4|UNDER|UNION|UNIQUE|UNPLUG|UNSIGNED|UNTRUSTED|UPDATE|USE|USING|VALIST|VALUE|VALUES|VARIABLE|VARIANCE|VARRAY|VARYING|VIEW|VIEWS|VOID|WHEN|WHERE|WHILE|WITH|WORK|WRAPPED|WRITE|YEAR|ZONE)\b/i,operator:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/}),e.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}})}function vf(e){e.languages.powerquery={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},"quoted-identifier":{pattern:/#"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},string:{pattern:/(?:#!)?"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},constant:[/\bDay\.(?:Friday|Monday|Saturday|Sunday|Thursday|Tuesday|Wednesday)\b/,/\bTraceLevel\.(?:Critical|Error|Information|Verbose|Warning)\b/,/\bOccurrence\.(?:All|First|Last)\b/,/\bOrder\.(?:Ascending|Descending)\b/,/\bRoundingMode\.(?:AwayFromZero|Down|ToEven|TowardZero|Up)\b/,/\bMissingField\.(?:Error|Ignore|UseNull)\b/,/\bQuoteStyle\.(?:Csv|None)\b/,/\bJoinKind\.(?:FullOuter|Inner|LeftAnti|LeftOuter|RightAnti|RightOuter)\b/,/\bGroupKind\.(?:Global|Local)\b/,/\bExtraValues\.(?:Error|Ignore|List)\b/,/\bJoinAlgorithm\.(?:Dynamic|LeftHash|LeftIndex|PairwiseHash|RightHash|RightIndex|SortMerge)\b/,/\bJoinSide\.(?:Left|Right)\b/,/\bPrecision\.(?:Decimal|Double)\b/,/\bRelativePosition\.From(?:End|Start)\b/,/\bTextEncoding\.(?:Ascii|BigEndianUnicode|Unicode|Utf16|Utf8|Windows)\b/,/\b(?:Any|Binary|Date|DateTime|DateTimeZone|Duration|Function|Int16|Int32|Int64|Int8|List|Logical|None|Number|Record|Table|Text|Time)\.Type\b/,/\bnull\b/],boolean:/\b(?:false|true)\b/,keyword:/\b(?:and|as|each|else|error|if|in|is|let|meta|not|nullable|optional|or|otherwise|section|shared|then|try|type)\b|#(?:binary|date|datetime|datetimezone|duration|infinity|nan|sections|shared|table|time)\b/,function:{pattern:/(^|[^#\w.])[a-z_][\w.]*(?=\s*\()/i,lookbehind:!0},"data-type":{pattern:/\b(?:any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|number|record|table|text|time)\b/,alias:"class-name"},number:{pattern:/\b0x[\da-f]+\b|(?:[+-]?(?:\b\d+\.)?\b\d+|[+-]\.\d+|(^|[^.])\B\.\d+)(?:e[+-]?\d+)?\b/i,lookbehind:!0},operator:/[-+*\/&?@^]|<(?:=>?|>)?|>=?|=>?|\.\.\.?/,punctuation:/[,;\[\](){}]/},e.languages.pq=e.languages.powerquery,e.languages.mscript=e.languages.powerquery}function _f(e){!function(e){var t=e.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/};t.string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:t},boolean:t.boolean,variable:t.variable}}(e)}function bf(e){e.register(Kc),e.languages.processing=e.languages.extend("clike",{keyword:/\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/,function:/\b\w+(?=\s*\()/,operator:/<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/}),e.languages.insertBefore("processing","number",{constant:/\b(?!XML\b)[A-Z][A-Z\d_]+\b/,type:{pattern:/\b(?:boolean|byte|char|color|double|float|int|[A-Z]\w*)\b/,alias:"class-name"}})}function Ef(e){e.languages.prolog={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1(?!\1)/,greedy:!0},builtin:/\b(?:fx|fy|xf[xy]?|yfx?)\b/,function:/\b[a-z]\w*(?:(?=\()|\/\d+)/,number:/\b\d+(?:\.\d*)?/,operator:/[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/,punctuation:/[(){}\[\],]/}}function Tf(e){!function(e){var t=["on","ignoring","group_right","group_left","by","without"],n=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"].concat(t,["offset"]);e.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:new RegExp("((?:"+t.join("|")+")\\s*)\\([^)]*\\)"),lookbehind:!0,inside:{"label-key":{pattern:/\b[^,]+\b/,alias:"attr-name"},punctuation:/[(),]/}},"context-labels":{pattern:/\{[^{}]*\}/,inside:{"label-key":{pattern:/\b[a-z_]\w*(?=\s*(?:=|![=~]))/,alias:"attr-name"},"label-value":{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0,alias:"attr-value"},punctuation:/\{|\}|=~?|![=~]|,/}},"context-range":[{pattern:/\[[\w\s:]+\]/,inside:{punctuation:/\[|\]|:/,"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}},{pattern:/(\boffset\s+)\w+/,lookbehind:!0,inside:{"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}}],keyword:new RegExp("\\b(?:"+n.join("|")+")\\b","i"),function:/\b[a-z_]\w*(?=\s*\()/i,number:/[-+]?(?:(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[-+]?\d+)?\b|\b(?:0x[0-9a-f]+|nan|inf)\b)/i,operator:/[\^*/%+-]|==|!=|<=|<|>=|>|\b(?:and|or|unless)\b/i,punctuation:/[{};()`,.[\]]/}}(e)}function xf(e){e.languages.properties={comment:/^[ \t]*[#!].*$/m,value:{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0,alias:"attr-value"},key:{pattern:/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,alias:"attr-name"},punctuation:/[=:]/}}function Sf(e){e.register(Kc),function(e){var t=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/;e.languages.protobuf=e.languages.extend("clike",{"class-name":[{pattern:/(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/,lookbehind:!0},{pattern:/(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/,lookbehind:!0}],keyword:/\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/,function:/\b[a-z_]\w*(?=\s*\()/i}),e.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:t}},builtin:t,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})}(e)}function Cf(e){!function(e){var t={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},n={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},r={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:n,punctuation:/[{}()\[\];:,]/};r.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:r}},r.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:r}},e.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:r}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:r}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:r}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:r.interpolation}},rest:r}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:r.interpolation,comment:r.comment,punctuation:/[{},]/}},func:r.func,string:r.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:r.interpolation,punctuation:/[{}()\[\];:.]/}}(e)}function Af(e){e.register(yu),e.languages.twig={comment:/^\{#[\s\S]*?#\}$/,"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/}},keyword:/\b(?:even|if|odd)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/},e.hooks.add("before-tokenize",(function(t){"twig"===t.language&&e.languages["markup-templating"].buildPlaceholders(t,"twig",/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"twig")}))}function Rf(e){e.register(su),e.register(eu),function(e){e.languages.pug={comment:{pattern:/(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ].+)*/m,lookbehind:!0},"multiline-script":{pattern:/(^([\t ]*)script\b.*\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:e.languages.javascript},filter:{pattern:/(^([\t ]*)):.+(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:/\S[\s\S]*/}},"multiline-plain-text":{pattern:/(^([\t ]*)[\w\-#.]+\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0},markup:{pattern:/(^[\t ]*)<.+/m,lookbehind:!0,inside:e.languages.markup},doctype:{pattern:/((?:^|\n)[\t ]*)doctype(?: .+)?/,lookbehind:!0},"flow-control":{pattern:/(^[\t ]*)(?:case|default|each|else|if|unless|when|while)\b(?: .+)?/m,lookbehind:!0,inside:{each:{pattern:/^each .+? in\b/,inside:{keyword:/\b(?:each|in)\b/,punctuation:/,/}},branch:{pattern:/^(?:case|default|else|if|unless|when|while)\b/,alias:"keyword"},rest:e.languages.javascript}},keyword:{pattern:/(^[\t ]*)(?:append|block|extends|include|prepend)\b.+/m,lookbehind:!0},mixin:[{pattern:/(^[\t ]*)mixin .+/m,lookbehind:!0,inside:{keyword:/^mixin/,function:/\w+(?=\s*\(|\s*$)/,punctuation:/[(),.]/}},{pattern:/(^[\t ]*)\+.+/m,lookbehind:!0,inside:{name:{pattern:/^\+\w+/,alias:"function"},rest:e.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,lookbehind:!0,inside:e.languages.javascript},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:e.languages.javascript},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:e.languages.javascript},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/,"attr-id":/#[\w\-]+/,"attr-class":/\.[\w\-]+/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:e.languages.javascript}],punctuation:/[.\-!=|]+/};for(var t=/(^([\t ]*)):(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source,n=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],r={},i=0,o=n.length;i",(function(){return a.filter})),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:{pattern:/\S[\s\S]*/,alias:[a.language,"language-"+a.language],inside:e.languages[a.language]}}})}e.languages.insertBefore("pug","filter",r)}(e)}function wf(e){!function(e){e.languages.puppet={heredoc:[{pattern:/(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,greedy:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,alias:"string",inside:{punctuation:{pattern:/(\().+?(?=\))/,lookbehind:!0}}}],"multiline-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0,alias:"comment"},regex:{pattern:/((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,lookbehind:!0,greedy:!0,inside:{"extended-regex":{pattern:/^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,inside:{comment:/#.*/}}}},comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/,greedy:!0,inside:{"double-quoted":{pattern:/^"[\s\S]*"$/,inside:{}}}},variable:{pattern:/\$(?:::)?\w+(?:::\w+)*/,inside:{punctuation:/::/}},"attr-name":/(?:\b\w+|\*)(?=\s*=>)/,function:[{pattern:/(\.)(?!\d)\w+/,lookbehind:!0},/\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/],number:/\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,boolean:/\b(?:false|true)\b/,keyword:/\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,datatype:{pattern:/\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,alias:"symbol"},operator:/=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,punctuation:/[\[\]{}().,;]|:+/};var t=[{pattern:/(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,lookbehind:!0,inside:{"short-variable":{pattern:/(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}},delimiter:{pattern:/^\$/,alias:"variable"},rest:e.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}];e.languages.puppet.heredoc[0].inside.interpolation=t,e.languages.puppet.string.inside["double-quoted"].inside.interpolation=t}(e)}function Lf(e){!function(e){e.languages.pure={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0},/#!.+/],"inline-lang":{pattern:/%<[\s\S]+?%>/,greedy:!0,inside:{lang:{pattern:/(^%< *)-\*-.+?-\*-/,lookbehind:!0,alias:"comment"},delimiter:{pattern:/^%<.*|%>$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},number:{pattern:/((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?L?)/i,lookbehind:!0},keyword:/\b(?:NULL|ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/,function:/\b(?:abs|add_(?:addr|constdef|(?:fundef|interface|macdef|typedef)(?:_at)?|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_c?string(?:_pointer)?|byte_(?:matrix|pointer)|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|sentry|short|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/,special:{pattern:/\b__[a-z]+__\b/i,alias:"builtin"},operator:/(?:[!"#$%&'*+,\-.\/:<=>?@\\^`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]|\b_+\b)+|\b(?:and|div|mod|not|or)\b/,punctuation:/[(){}\[\];,|]/};var t=/%< *-\*- *\d* *-\*-[\s\S]+?%>/.source;["c",{lang:"c++",alias:"cpp"},"fortran"].forEach((function(n){var r=n;if("string"!=typeof n&&(r=n.alias,n=n.lang),e.languages[r]){var i={};i["inline-lang-"+r]={pattern:RegExp(t.replace("",n.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:e.util.clone(e.languages.pure["inline-lang"].inside)},i["inline-lang-"+r].inside.rest=e.util.clone(e.languages[r]),e.languages.insertBefore("pure","inline-lang",i)}})),e.languages.c&&(e.languages.pure["inline-lang"].inside.rest=e.util.clone(e.languages.c))}(e)}function Of(e){e.register(Kc),e.languages.purebasic=e.languages.extend("clike",{comment:/;.*/,keyword:/\b(?:align|and|as|break|calldebugger|case|compilercase|compilerdefault|compilerelse|compilerelseif|compilerendif|compilerendselect|compilererror|compilerif|compilerselect|continue|data|datasection|debug|debuglevel|declare|declarec|declarecdll|declaredll|declaremodule|default|define|dim|disableasm|disabledebugger|disableexplicit|else|elseif|enableasm|enabledebugger|enableexplicit|end|enddatasection|enddeclaremodule|endenumeration|endif|endimport|endinterface|endmacro|endmodule|endprocedure|endselect|endstructure|endstructureunion|endwith|enumeration|extends|fakereturn|for|foreach|forever|global|gosub|goto|if|import|importc|includebinary|includefile|includepath|interface|macro|module|newlist|newmap|next|not|or|procedure|procedurec|procedurecdll|proceduredll|procedurereturn|protected|prototype|prototypec|read|redim|repeat|restore|return|runtime|select|shared|static|step|structure|structureunion|swap|threaded|to|until|wend|while|with|xincludefile|xor)\b/i,function:/\b\w+(?:\.\w+)?\s*(?=\()/,number:/(?:\$[\da-f]+|\b-?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?)\b/i,operator:/(?:@\*?|\?|\*)\w+\$?|-[>-]?|\+\+?|!=?|<>?=?|==?|&&?|\|?\||[~^%?*/@]/}),e.languages.insertBefore("purebasic","keyword",{tag:/#\w+\$?/,asm:{pattern:/(^[\t ]*)!.*/m,lookbehind:!0,alias:"tag",inside:{comment:/;.*/,string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"label-reference-anonymous":{pattern:/(!\s*j[a-z]+\s+)@[fb]/i,lookbehind:!0,alias:"fasm-label"},"label-reference-addressed":{pattern:/(!\s*j[a-z]+\s+)[A-Z._?$@][\w.?$@~#]*/i,lookbehind:!0,alias:"fasm-label"},keyword:[/\b(?:extern|global)\b[^;\r\n]*/i,/\b(?:CPU|DEFAULT|FLOAT)\b.*/],function:{pattern:/^([\t ]*!\s*)[\da-z]+(?=\s|$)/im,lookbehind:!0},"function-inline":{pattern:/(:\s*)[\da-z]+(?=\s)/i,lookbehind:!0,alias:"function"},label:{pattern:/^([\t ]*!\s*)[A-Za-z._?$@][\w.?$@~#]*(?=:)/m,lookbehind:!0,alias:"fasm-label"},register:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s|mm\d+)\b/i,number:/(?:\b|-|(?=\$))(?:0[hx](?:[\da-f]*\.)?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-/%<>=&|$!,.:]/}}}),delete e.languages.purebasic["class-name"],delete e.languages.purebasic.boolean,e.languages.pbfasm=e.languages.purebasic}function Nf(e){e.register(Gp),e.languages.purescript=e.languages.extend("haskell",{keyword:/\b(?:ado|case|class|data|derive|do|else|forall|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b|∀/,"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*(?:\s+as\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import)\b/,punctuation:/\./}},builtin:/\b(?:absurd|add|ap|append|apply|between|bind|bottom|clamp|compare|comparing|compose|conj|const|degree|discard|disj|div|eq|flap|flip|gcd|identity|ifM|join|lcm|liftA1|liftM1|map|max|mempty|min|mod|mul|negate|not|notEq|one|otherwise|recip|show|sub|top|unit|unless|unlessM|void|when|whenM|zero)\b/,operator:[e.languages.haskell.operator[0],e.languages.haskell.operator[2],/[\xa2-\xa6\xa8\xa9\xac\xae-\xb1\xb4\xb8\xd7\xf7\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384\u0385\u03f6\u0482\u058d-\u058f\u0606-\u0608\u060b\u060e\u060f\u06de\u06e9\u06fd\u06fe\u07f6\u07fe\u07ff\u09f2\u09f3\u09fa\u09fb\u0af1\u0b70\u0bf3-\u0bfa\u0c7f\u0d4f\u0d79\u0e3f\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce\u0fcf\u0fd5-\u0fd8\u109e\u109f\u1390-\u1399\u166d\u17db\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u2044\u2052\u207a-\u207c\u208a-\u208c\u20a0-\u20bf\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u2140-\u2144\u214a-\u214d\u214f\u218a\u218b\u2190-\u2307\u230c-\u2328\u232b-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2767\u2794-\u27c4\u27c7-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2b73\u2b76-\u2b95\u2b97-\u2bff\u2ce5-\u2cea\u2e50\u2e51\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u309b\u309c\u3190\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua700-\ua716\ua720\ua721\ua789\ua78a\ua828-\ua82b\ua836-\ua839\uaa77-\uaa79\uab5b\uab6a\uab6b\ufb29\ufbb2-\ufbc1\ufdfc\ufdfd\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc\ufffd]/]}),e.languages.purs=e.languages.purescript}function If(e){e.register(Kc),function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,(function(e,n){return"(?:"+t[+n]+")"}))}function n(e,n,r){return RegExp(t(e,n),r||"")}var r=RegExp("\\b(?:"+"Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero Adjoint adjoint apply as auto body borrow borrowing Controlled controlled distribute elif else fail fixup for function if in internal intrinsic invert is let mutable namespace new newtype open operation repeat return self set until use using while within".trim().replace(/ /g,"|")+")\\b"),i=t(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[/\b[A-Za-z_]\w*\b/.source]),o={keyword:r,punctuation:/[<>()?,.:[\]]/},a=/"(?:\\.|[^\\"])*"/.source;e.languages.qsharp=e.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[a]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[i]),lookbehind:!0,inside:o},{pattern:n(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[i]),lookbehind:!0,inside:o}],keyword:r,number:/(?:\b0(?:x[\da-f]+|b[01]+|o[0-7]+)|(?:\B\.\d+|\b\d+(?:\.\d*)?)(?:e[-+]?\d+)?)l?\b/i,operator:/\band=|\bor=|\band\b|\bnot\b|\bor\b|<[-=]|[-=]>|>>>=?|<<<=?|\^\^\^=?|\|\|\|=?|&&&=?|w\/=?|~~~|[*\/+\-^=!%]=?/,punctuation:/::|[{}[\];(),.:]/}),e.languages.insertBefore("qsharp","number",{range:{pattern:/\.\./,alias:"operator"}});var s=function(e,t){for(var n=0;n<2;n++)e=e.replace(/<>/g,(function(){return"(?:"+e+")"}));return e.replace(/<>/g,"[^\\s\\S]")}(t(/\{(?:[^"{}]|<<0>>|<>)*\}/.source,[a]));e.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:n(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[s]),greedy:!0,inside:{interpolation:{pattern:n(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[s]),lookbehind:!0,inside:{punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-qsharp",inside:e.languages.qsharp}}},string:/[\s\S]+/}}})}(e),e.languages.qs=e.languages.qsharp}function kf(e){e.languages.q={string:/"(?:\\.|[^"\\\r\n])*"/,comment:[{pattern:/([\t )\]}])\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r(?!\n)))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,lookbehind:!0,greedy:!0},{pattern:/^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,greedy:!0},{pattern:/^#!.+/m,greedy:!0}],symbol:/`(?::\S+|[\w.]*)/,datetime:{pattern:/0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,alias:"number"},number:/\b(?![01]:)(?:0N[hje]?|0W[hj]?|0[wn]|0x[\da-fA-F]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?[hjfeb]?)/,keyword:/\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,adverb:{pattern:/['\/\\]:?|\beach\b/,alias:"function"},verb:{pattern:/(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?~=|$&#@^]):?|\b_\b:?/,alias:"operator"},punctuation:/[(){}\[\];.]/}}function Df(e){e.register(su),function(e){for(var t=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,n=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,r=/(?:[^\\()[\]{}"'/]||\/(?![*/])||\(*\)|\[*\]|\{*\}|\\[\s\S])/.source.replace(//g,(function(){return t})).replace(//g,(function(){return n})),i=0;i<2;i++)r=r.replace(//g,(function(){return r}));r=r.replace(//g,"[^\\s\\S]"),e.languages.qml={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},"javascript-function":{pattern:RegExp(/((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(*\)\s*\{*\}/.source.replace(//g,(function(){return r})),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:e.languages.javascript},"class-name":{pattern:/((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m,lookbehind:!0},property:[{pattern:/((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0},{pattern:/((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0,inside:{keyword:/^property/,property:/\w+(?:\.\w+)*/}}],"javascript-expression":{pattern:RegExp(/(:[ \t]*)(?![\s;}[])(?:(?!$|[;}]))+/.source.replace(//g,(function(){return r})),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:e.languages.javascript},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},keyword:/\b(?:as|import|on)\b/,punctuation:/[{}[\]:;,]/}}(e)}function Pf(e){e.register(Kc),e.languages.qore=e.languages.extend("clike",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/,lookbehind:!0},string:{pattern:/("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:bool|date|float|int|list|number|string)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/,boolean:/\b(?:false|true)\b/i,function:/\$?\b(?!\d)\w+(?=\()/,number:/\b(?:0b[01]+|0x(?:[\da-f]*\.)?[\da-fp\-]+|(?:\d+(?:\.\d+)?|\.\d+)(?:e\d+)?[df]|(?:\d+(?:\.\d+)?|\.\d+))\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/,lookbehind:!0},variable:/\$(?!\d)\w+\b/})}function Mf(e){e.register(Ad),e.languages.racket=e.languages.extend("scheme",{"lambda-parameter":{pattern:/([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,lookbehind:!0}}),e.languages.insertBefore("racket","string",{lang:{pattern:/^#lang.+/m,greedy:!0,alias:"keyword"}}),e.languages.rkt=e.languages.racket}function Ff(e){e.register(Jc),e.register(eu),function(e){var t=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,n=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function r(e,r){for(var i=0;i/g,(function(){return"(?:"+e+")"}));return e.replace(//g,"[^\\s\\S]").replace(//g,"(?:"+n+")").replace(//g,"(?:"+t+")")}var i=r(/\((?:[^()'"@/]|||)*\)/.source,2),o=r(/\[(?:[^\[\]'"@/]|||)*\]/.source,1),a=r(/\{(?:[^{}'"@/]|||)*\}/.source,2),s=r(/<(?:[^<>'"@/]||)*>/.source,1),l=/@/.source+/(?:await\b\s*)?/.source+"(?:"+/(?!await\b)\w+\b/.source+"|"+i+")(?:"+/[?!]?\.\w+\b/.source+"|(?:"+s+")?"+i+"|"+o+")*"+/(?![?!\.(\[]|<(?!\/))/.source,c="(?:"+/"[^"@]*"|'[^'@]*'|[^\s'"@>=]+(?=[\s>])/.source+"|[\"'][^\"'@]*(?:(?:"+/@(?![\w()])/.source+"|"+l+")[^\"'@]*)+[\"'])",u=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*|(?=[\s/>])))+)?/.source.replace(//,c),h=/(?!\d)[^\s>\/=$<%]+/.source+u+/\s*\/?>/.source,p=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+u+/\s*>/.source+"(?:"+/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+h+"|"+r(/<\1/.source+u+/\s*>/.source+"(?:"+/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+h+"|)*"+/<\/\1\s*>/.source,2)+")*"+/<\/\1\s*>/.source+"|"+/*\.{3}(?:[^{}]|)*\})/.source;function o(e,t){return e=e.replace(//g,(function(){return n})).replace(//g,(function(){return r})).replace(//g,(function(){return i})),RegExp(e,t)}i=o(i).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=o(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:o(//.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:o(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var a=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(a).join(""):""},s=function(t){for(var n=[],r=0;r0&&n[n.length-1].tagName===a(i.content[0].content[1])&&n.pop():"/>"===i.content[i.content.length-1].content||n.push({tagName:a(i.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===i.type&&"{"===i.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===i.type&&"}"===i.content?n[n.length-1].openedBraces--:o=!0),(o||"string"==typeof i)&&n.length>0&&0===n[n.length-1].openedBraces){var l=a(i);r0&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(l=a(t[r-1])+l,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",l,null,l)}i.content&&"string"!=typeof i.content&&s(i.content)}};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||s(e.tokens)}))}(e)}function Bf(e){e.register(Hf),e.register(Ru),function(e){var t=e.util.clone(e.languages.typescript);e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"];var n=e.languages.tsx.tag;n.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+n.pattern.source+")",n.pattern.flags),n.lookbehind=!0}(e)}function Uf(e){e.register(Kc),e.languages.reason=e.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),e.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete e.languages.reason.function}function jf(e){e.languages.rego={comment:/#.*/,property:{pattern:/(^|[^\\.])(?:"(?:\\.|[^\\"\r\n])*"|`[^`]*`|\b[a-z_]\w*\b)(?=\s*:(?!=))/i,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:as|default|else|import|not|null|package|set(?=\s*\()|some|with)\b/,boolean:/\b(?:false|true)\b/,function:{pattern:/\b[a-z_]\w*\b(?:\s*\.\s*\b[a-z_]\w*\b)*(?=\s*\()/i,inside:{namespace:/\b\w+\b(?=\s*\.)/,punctuation:/\./}},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,operator:/[-+*/%|&]|[<>:=]=?|!=|\b_\b/,punctuation:/[,;.\[\]{}()]/}}function Gf(e){e.languages.renpy={comment:{pattern:/(^|[^\\])#.+/,lookbehind:!0},string:{pattern:/("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\])*\2|(?:^#?(?:(?:[0-9a-fA-F]){3}|[0-9a-fA-F]{6})$)/m,greedy:!0},function:/\b[a-z_]\w*(?=\()/i,property:/\b(?:Update|UpdateVersion|action|activate_sound|adv_nvl_transition|after_load_transition|align|alpha|alt|anchor|antialias|area|auto|background|bar_invert|bar_resizing|bar_vertical|black_color|bold|bottom_bar|bottom_gutter|bottom_margin|bottom_padding|box_reverse|box_wrap|can_update|caret|child|color|crop|default_afm_enable|default_afm_time|default_fullscreen|default_text_cps|developer|directory_name|drag_handle|drag_joined|drag_name|drag_raise|draggable|dragged|drop_shadow|drop_shadow_color|droppable|dropped|easein|easeout|edgescroll|end_game_transition|end_splash_transition|enter_replay_transition|enter_sound|enter_transition|enter_yesno_transition|executable_name|exit_replay_transition|exit_sound|exit_transition|exit_yesno_transition|fadein|fadeout|first_indent|first_spacing|fit_first|focus|focus_mask|font|foreground|game_main_transition|get_installed_packages|google_play_key|google_play_salt|ground|has_music|has_sound|has_voice|height|help|hinting|hover|hover_background|hover_color|hover_sound|hovered|hyperlink_functions|idle|idle_color|image_style|include_update|insensitive|insensitive_background|insensitive_color|inside|intra_transition|italic|justify|kerning|keyboard_focus|language|layer_clipping|layers|layout|left_bar|left_gutter|left_margin|left_padding|length|line_leading|line_overlap_split|line_spacing|linear|main_game_transition|main_menu_music|maximum|min_width|minimum|minwidth|modal|mouse|mousewheel|name|narrator_menu|newline_indent|nvl_adv_transition|offset|order_reverse|outlines|overlay_functions|pos|position|prefix|radius|range|rest_indent|right_bar|right_gutter|right_margin|right_padding|rotate|rotate_pad|ruby_style|sample_sound|save_directory|say_attribute_transition|screen_height|screen_width|scrollbars|selected_hover|selected_hover_color|selected_idle|selected_idle_color|selected_insensitive|show_side_image|show_two_window|side_spacing|side_xpos|side_ypos|size|size_group|slow_cps|slow_cps_multiplier|spacing|strikethrough|subpixel|text_align|text_style|text_xpos|text_y_fudge|text_ypos|thumb|thumb_offset|thumb_shadow|thumbnail_height|thumbnail_width|time|top_bar|top_gutter|top_margin|top_padding|translations|underline|unscrollable|update|value|version|version_name|version_tuple|vertical|width|window_hide_transition|window_icon|window_left_padding|window_show_transition|window_title|windows_icon|xadjustment|xalign|xanchor|xanchoraround|xaround|xcenter|xfill|xinitial|xmargin|xmaximum|xminimum|xoffset|xofsset|xpadding|xpos|xsize|xzoom|yadjustment|yalign|yanchor|yanchoraround|yaround|ycenter|yfill|yinitial|ymargin|ymaximum|yminimum|yoffset|ypadding|ypos|ysize|ysizexysize|yzoom|zoom|zorder)\b/,tag:/\b(?:bar|block|button|buttoscreenn|drag|draggroup|fixed|frame|grid|[hv]box|hotbar|hotspot|image|imagebutton|imagemap|input|key|label|menu|mm_menu_frame|mousearea|nvl|parallel|screen|self|side|tag|text|textbutton|timer|vbar|viewport|window)\b|\$/,keyword:/\b(?:None|add|adjustment|alignaround|allow|angle|animation|around|as|assert|behind|box_layout|break|build|cache|call|center|changed|child_size|choice|circles|class|clear|clicked|clipping|clockwise|config|contains|continue|corner1|corner2|counterclockwise|def|default|define|del|delay|disabled|disabled_text|dissolve|elif|else|event|except|exclude|exec|expression|fade|finally|for|from|function|global|gm_root|has|hide|id|if|import|in|init|is|jump|knot|lambda|left|less_rounded|mm_root|movie|music|null|on|onlayer|pass|pause|persistent|play|print|python|queue|raise|random|renpy|repeat|return|right|rounded_window|scene|scope|set|show|slow|slow_abortable|slow_done|sound|stop|store|style|style_group|substitute|suffix|theme|transform|transform_anchor|transpose|try|ui|unhovered|updater|use|voice|while|widget|widget_hover|widget_selected|widget_text|yield)\b/,boolean:/\b(?:[Ff]alse|[Tt]rue)\b/,number:/(?:\b(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?)|\B\.\d+)(?:e[+-]?\d+)?j?/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:and|at|not|or|with)\b/,punctuation:/[{}[\];(),.:]/},e.languages.rpy=e.languages.renpy}function Yf(e){e.languages.rescript={comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},char:{pattern:/'(?:[^\r\n\\]|\\(?:.|\w+))'/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*|@[a-z.]*|#[A-Za-z]\w*|#\d/,function:{pattern:/[a-zA-Z]\w*(?=\()|(\.)[a-z]\w*/,lookbehind:!0},number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,boolean:/\b(?:false|true)\b/,"attr-value":/[A-Za-z]\w*(?==)/,constant:{pattern:/(\btype\s+)[a-z]\w*/,lookbehind:!0},tag:{pattern:/(<)[a-z]\w*|(?:<\/)[a-z]\w*/,lookbehind:!0,inside:{operator:/<|>|\//}},keyword:/\b(?:and|as|assert|begin|bool|class|constraint|do|done|downto|else|end|exception|external|float|for|fun|function|if|in|include|inherit|initializer|int|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|string|switch|then|to|try|type|when|while|with)\b/,operator:/\.{3}|:[:=]?|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/,punctuation:/[(){}[\],;.]/},e.languages.insertBefore("rescript","string",{"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"tag"},rest:e.languages.rescript}},string:/[\s\S]+/}}}),e.languages.res=e.languages.rescript}function zf(e){e.languages.rest={table:[{pattern:/(^[\t ]*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1[+|].+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/m,lookbehind:!0,inside:{punctuation:/\||(?:\+[=-]+)+\+/}},{pattern:/(^[\t ]*)=+ [ =]*=(?:(?:\r?\n|\r)\1.+)+(?:\r?\n|\r)\1=+ [ =]*=(?=(?:\r?\n|\r){2}|\s*$)/m,lookbehind:!0,inside:{punctuation:/[=-]+/}}],"substitution-def":{pattern:/(^[\t ]*\.\. )\|(?:[^|\s](?:[^|]*[^|\s])?)\| [^:]+::/m,lookbehind:!0,inside:{substitution:{pattern:/^\|(?:[^|\s]|[^|\s][^|]*[^|\s])\|/,alias:"attr-value",inside:{punctuation:/^\||\|$/}},directive:{pattern:/( )(?! )[^:]+::/,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}}}},"link-target":[{pattern:/(^[\t ]*\.\. )\[[^\]]+\]/m,lookbehind:!0,alias:"string",inside:{punctuation:/^\[|\]$/}},{pattern:/(^[\t ]*\.\. )_(?:`[^`]+`|(?:[^:\\]|\\.)+):/m,lookbehind:!0,alias:"string",inside:{punctuation:/^_|:$/}}],directive:{pattern:/(^[\t ]*\.\. )[^:]+::/m,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}},comment:{pattern:/(^[\t ]*\.\.)(?:(?: .+)?(?:(?:\r?\n|\r).+)+| .+)(?=(?:\r?\n|\r){2}|$)/m,lookbehind:!0},title:[{pattern:/^(([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+)(?:\r?\n|\r).+(?:\r?\n|\r)\1$/m,inside:{punctuation:/^[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+|[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}},{pattern:/(^|(?:\r?\n|\r){2}).+(?:\r?\n|\r)([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+(?=\r?\n|\r|$)/,lookbehind:!0,inside:{punctuation:/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}}],hr:{pattern:/((?:\r?\n|\r){2})([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2{3,}(?=(?:\r?\n|\r){2})/,lookbehind:!0,alias:"punctuation"},field:{pattern:/(^[\t ]*):[^:\r\n]+:(?= )/m,lookbehind:!0,alias:"attr-name"},"command-line-option":{pattern:/(^[\t ]*)(?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?(?:, (?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?)*(?=(?:\r?\n|\r)? {2,}\S)/im,lookbehind:!0,alias:"symbol"},"literal-block":{pattern:/::(?:\r?\n|\r){2}([ \t]+)(?![ \t]).+(?:(?:\r?\n|\r)\1.+)*/,inside:{"literal-block-punctuation":{pattern:/^::/,alias:"punctuation"}}},"quoted-literal-block":{pattern:/::(?:\r?\n|\r){2}([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]).*(?:(?:\r?\n|\r)\1.*)*/,inside:{"literal-block-punctuation":{pattern:/^(?:::|([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\1*)/m,alias:"punctuation"}}},"list-bullet":{pattern:/(^[\t ]*)(?:[*+\-•‣⁃]|\(?(?:\d+|[a-z]|[ivxdclm]+)\)|(?:\d+|[a-z]|[ivxdclm]+)\.)(?= )/im,lookbehind:!0,alias:"punctuation"},"doctest-block":{pattern:/(^[\t ]*)>>> .+(?:(?:\r?\n|\r).+)*/m,lookbehind:!0,inside:{punctuation:/^>>>/}},inline:[{pattern:/(^|[\s\-:\/'"<(\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\*\*?|``?|\|)(?!\s)(?:(?!\2).)*\S\2(?=[\s\-.,:;!?\\\/'")\]}]|$))/m,lookbehind:!0,inside:{bold:{pattern:/(^\*\*).+(?=\*\*$)/,lookbehind:!0},italic:{pattern:/(^\*).+(?=\*$)/,lookbehind:!0},"inline-literal":{pattern:/(^``).+(?=``$)/,lookbehind:!0,alias:"symbol"},role:{pattern:/^:[^:]+:|:[^:]+:$/,alias:"function",inside:{punctuation:/^:|:$/}},"interpreted-text":{pattern:/(^`).+(?=`$)/,lookbehind:!0,alias:"attr-value"},substitution:{pattern:/(^\|).+(?=\|$)/,lookbehind:!0,alias:"attr-value"},punctuation:/\*\*?|``?|\|/}}],link:[{pattern:/\[[^\[\]]+\]_(?=[\s\-.,:;!?\\\/'")\]}]|$)/,alias:"string",inside:{punctuation:/^\[|\]_$/}},{pattern:/(?:\b[a-z\d]+(?:[_.:+][a-z\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\s\-.,:;!?\\\/'")\]}]|$)/i,alias:"string",inside:{punctuation:/^_?`|`$|`?_?_$/}}],punctuation:{pattern:/(^[\t ]*)(?:\|(?= |$)|(?:---?|—|\.\.|__)(?= )|\.\.$)/m,lookbehind:!0}}}function $f(e){e.languages.rip={comment:{pattern:/#.*/,greedy:!0},char:{pattern:/\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},regex:{pattern:/(^|[^/])\/(?!\/)(?:\[[^\n\r\]]*\]|\\.|[^/\\\r\n\[])+\/(?=\s*(?:$|[\r\n,.;})]))/,lookbehind:!0,greedy:!0},keyword:/(?:=>|->)|\b(?:case|catch|class|else|exit|finally|if|raise|return|switch|try)\b/,builtin:/@|\bSystem\b/,boolean:/\b(?:false|true)\b/,date:/\b\d{4}-\d{2}-\d{2}\b/,time:/\b\d{2}:\d{2}:\d{2}\b/,datetime:/\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/,symbol:/:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/,number:/[+-]?\b(?:\d+\.\d+|\d+)\b/,punctuation:/(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/,reference:/[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/}}function Wf(e){e.languages.roboconf={comment:/#.*/,keyword:{pattern:/(^|\s)(?:(?:external|import)\b|(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{))/,lookbehind:!0},component:{pattern:/[\w-]+(?=[ \t]*\{)/,alias:"variable"},property:/[\w.-]+(?=[ \t]*:)/,value:{pattern:/(=[ \t]*(?![ \t]))[^,;]+/,lookbehind:!0,alias:"attr-value"},optional:{pattern:/\(optional\)/,alias:"builtin"},wildcard:{pattern:/(\.)\*/,lookbehind:!0,alias:"operator"},punctuation:/[{},.;:=]/}}function Vf(e){!function(e){var t={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},n={pattern:/((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,lookbehind:!0,inside:{punctuation:/^[$@&%]\{|\}$/}};function r(e,r){var i={"section-header":{pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"}};for(var o in r)i[o]=r[o];return i.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},i.variable=n,i.comment=t,{pattern:RegExp(/^ ?\*{3}[ \t]*[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(//g,(function(){return e})),"im"),alias:"section",inside:i}}var i={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},o={pattern:/([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,alias:"function",inside:{variable:n}},a={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:n}};e.languages.robotframework={settings:r("Settings",{documentation:{pattern:/([\r\n] ?Documentation(?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},property:{pattern:/([\r\n] ?)(?!\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0}}),variables:r("Variables"),"test-cases":r("Test Cases",{"test-name":o,documentation:i,property:a}),keywords:r("Keywords",{"keyword-name":o,documentation:i,property:a}),tasks:r("Tasks",{"task-name":o,documentation:i,property:a}),comment:t},e.languages.robot=e.languages.robotframework}(e)}function Kf(e){!function(e){var t=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,n=/\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,r={pattern:RegExp(t+"[bx]"),alias:"number"},i={pattern:/&[a-z_]\w*/i},o={pattern:/((?:^|\s|=|\())%(?:ABORT|BY|CMS|COPY|DISPLAY|DO|ELSE|END|EVAL|GLOBAL|GO|GOTO|IF|INC|INCLUDE|INDEX|INPUT|KTRIM|LENGTH|LET|LIST|LOCAL|PUT|QKTRIM|QSCAN|QSUBSTR|QSYSFUNC|QUPCASE|RETURN|RUN|SCAN|SUBSTR|SUPERQ|SYMDEL|SYMEXIST|SYMGLOBL|SYMLOCAL|SYSCALL|SYSEVALF|SYSEXEC|SYSFUNC|SYSGET|SYSRPUT|THEN|TO|TSO|UNQUOTE|UNTIL|UPCASE|WHILE|WINDOW)\b/i,lookbehind:!0,alias:"keyword"},a={pattern:/(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,alias:"keyword",lookbehind:!0},s=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],l={pattern:RegExp(t),greedy:!0},c=/[$%@.(){}\[\];,\\]/,u={pattern:/%?\b\w+(?=\()/,alias:"keyword"},h={function:u,"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":i,arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:n,"numeric-constant":r,punctuation:c,string:l},p={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},d={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},f={pattern:/((?:^|\s)=?)(?:catname|checkpoint execute_always|dm|endsas|filename|footnote|%include|libname|%list|lock|missing|options|page|resetline|%run|sasfile|skip|sysecho|title\d?)\b/i,lookbehind:!0,alias:"keyword"},m={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},g=/aStore|accessControl|aggregation|audio|autotune|bayesianNetClassifier|bioMedImage|boolRule|builtins|cardinality|cdm|clustering|conditionalRandomFields|configuration|copula|countreg|dataDiscovery|dataPreprocess|dataSciencePilot|dataStep|decisionTree|deduplication|deepLearn|deepNeural|deepRnn|ds2|ecm|entityRes|espCluster|explainModel|factmac|fastKnn|fcmpact|fedSql|freqTab|gVarCluster|gam|gleam|graphSemiSupLearn|hiddenMarkovModel|hyperGroup|ica|image|iml|kernalPca|langModel|ldaTopic|loadStreams|mbc|mixed|mlTools|modelPublishing|network|neuralNet|nmf|nonParametricBayes|nonlinear|optNetwork|optimization|panel|pca|percentile|phreg|pls|qkb|qlim|quantreg|recommend|regression|reinforcementLearn|robustPca|ruleMining|sampling|sandwich|sccasl|search(?:Analytics)?|sentimentAnalysis|sequence|session(?:Prop)?|severity|simSystem|simple|smartData|sparkEmbeddedProcess|sparseML|spatialreg|spc|stabilityMonitoring|svDataDescription|svm|table|text(?:Filters|Frequency|Mining|Parse|Rule(?:Develop|Score)|Topic|Util)|timeData|transpose|tsInfo|tsReconcile|uniTimeSeries|varReduce/.source,y={pattern:RegExp(/(^|\s)(?:action\s+)?(?:)\.[a-z]+\b[^;]+/.source.replace(//g,(function(){return g})),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:)\.[a-z]+\b/.source.replace(//g,(function(){return g})),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:s,function:u,"arg-value":h["arg-value"],operator:h.operator,argument:h.arg,number:n,"numeric-constant":r,punctuation:c,string:l}},v={pattern:/((?:^|\s)=?)(?:after|analysis|and|array|barchart|barwidth|begingraph|by|call|cas|cbarline|cfill|class(?:lev)?|close|column|computed?|contains|continue|data(?==)|define|delete|describe|document|do\s+over|do|dol|drop|dul|else|end(?:comp|source)?|entryTitle|eval(?:uate)?|exec(?:ute)?|exit|file(?:name)?|fill(?:attrs)?|flist|fnc|function(?:list)?|global|goto|group(?:by)?|headline|headskip|histogram|if|infile|keep|keylabel|keyword|label|layout|leave|legendlabel|length|libname|loadactionset|merge|midpoints|_?null_|name|noobs|nowd|ods|options|or|otherwise|out(?:put)?|over(?:lay)?|plot|print|put|raise|ranexp|rannor|rbreak|retain|return|select|session|sessref|set|source|statgraph|sum|summarize|table|temp|terminate|then\s+do|then|title\d?|to|var|when|where|xaxisopts|y2axisopts|yaxisopts)\b/i,lookbehind:!0};e.languages.sas={datalines:{pattern:/^([ \t]*)(?:cards|(?:data)?lines);[\s\S]+?^[ \t]*;/im,lookbehind:!0,alias:"string",inside:{keyword:{pattern:/^(?:cards|(?:data)?lines)/i},punctuation:/;/}},"proc-sql":{pattern:/(^proc\s+(?:fed)?sql(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{sql:{pattern:RegExp(/^[ \t]*(?:select|alter\s+table|(?:create|describe|drop)\s+(?:index|table(?:\s+constraints)?|view)|create\s+unique\s+index|insert\s+into|update)(?:|[^;"'])+;/.source.replace(//g,(function(){return t})),"im"),alias:"language-sql",inside:e.languages.sql},"global-statements":f,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:n,"numeric-constant":r,punctuation:c,string:l}},"proc-groovy":{pattern:/(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,groovy:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,(function(){return t})),"im"),lookbehind:!0,alias:"language-groovy",inside:e.languages.groovy},keyword:v,"submit-statement":m,"global-statements":f,number:n,"numeric-constant":r,punctuation:c,string:l}},"proc-lua":{pattern:/(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,lua:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,(function(){return t})),"im"),lookbehind:!0,alias:"language-lua",inside:e.languages.lua},keyword:v,"submit-statement":m,"global-statements":f,number:n,"numeric-constant":r,punctuation:c,string:l}},"proc-cas":{pattern:/(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,"statement-var":{pattern:/((?:^|\s)=?)saveresult\s[^;]+/im,lookbehind:!0,inside:{statement:{pattern:/^saveresult\s+\S+/i,inside:{keyword:/^(?:saveresult)/i}},rest:h}},"cas-actions":y,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:h},step:a,keyword:v,function:u,format:p,altformat:d,"global-statements":f,number:n,"numeric-constant":r,punctuation:c,string:l}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|)+;/.source.replace(//g,(function(){return t})),"im"),lookbehind:!0,inside:h},"macro-keyword":o,"macro-variable":i,"macro-string-functions":{pattern:/((?:^|\s|=))%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)\(.*?(?:[^%]\))/i,lookbehind:!0,inside:{function:{pattern:/%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)/i,alias:"keyword"},"macro-keyword":o,"macro-variable":i,"escaped-char":{pattern:/%['"()<>=¬^~;,#]/},punctuation:c}},"macro-declaration":{pattern:/^%macro[^;]+(?=;)/im,inside:{keyword:/%macro/i}},"macro-end":{pattern:/^%mend[^;]+(?=;)/im,inside:{keyword:/%mend/i}},macro:{pattern:/%_\w+(?=\()/,alias:"keyword"},input:{pattern:/\binput\s[-\w\s/*.$&]+;/i,inside:{input:{alias:"keyword",pattern:/^input/i},comment:s,number:n,"numeric-constant":r}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:h},"cas-actions":y,comment:s,function:u,format:p,altformat:d,"numeric-constant":r,datetime:{pattern:RegExp(t+"(?:dt?|t)"),alias:"number"},string:l,step:a,keyword:v,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:n,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:c}}(e)}function qf(e){e.register(Qc),function(e){var t=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|");e.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<>)+/.source.replace(/<>/g,(function(){return t})),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:e.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},e.languages["sh-session"]=e.languages.shellsession=e.languages["shell-session"]}(e)}function Xf(e){e.languages.smali={comment:/#.*/,string:{pattern:/"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\(?:.|u[\da-fA-F]{4}))'/,greedy:!0},"class-name":{pattern:/(^|[^L])L(?:(?:\w+|`[^`\r\n]*`)\/)*(?:[\w$]+|`[^`\r\n]*`)(?=\s*;)/,lookbehind:!0,inside:{"class-name":{pattern:/(^L|\/)(?:[\w$]+|`[^`\r\n]*`)$/,lookbehind:!0},namespace:{pattern:/^(L)(?:(?:\w+|`[^`\r\n]*`)\/)+/,lookbehind:!0,inside:{punctuation:/\//}},builtin:/^L/}},builtin:[{pattern:/([();\[])[BCDFIJSVZ]+/,lookbehind:!0},{pattern:/([\w$>]:)[BCDFIJSVZ]/,lookbehind:!0}],keyword:[{pattern:/(\.end\s+)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])\.(?!\d)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])(?:abstract|annotation|bridge|constructor|enum|final|interface|private|protected|public|runtime|static|synthetic|system|transient)(?![\w.-])/,lookbehind:!0}],function:{pattern:/(^|[^\w.-])(?:\w+|<[\w$-]+>)(?=\()/,lookbehind:!0},field:{pattern:/[\w$]+(?=:)/,alias:"variable"},register:{pattern:/(^|[^\w.-])[vp]\d(?![\w.-])/,lookbehind:!0,alias:"variable"},boolean:{pattern:/(^|[^\w.-])(?:false|true)(?![\w.-])/,lookbehind:!0},number:{pattern:/(^|[^/\w.-])-?(?:NAN|INFINITY|0x(?:[\dA-F]+(?:\.[\dA-F]*)?|\.[\dA-F]+)(?:p[+-]?[\dA-F]+)?|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)[dflst]?(?![\w.-])/i,lookbehind:!0},label:{pattern:/(:)\w+/,lookbehind:!0,alias:"property"},operator:/->|\.\.|[\[=]/,punctuation:/[{}(),;:]/}}function Zf(e){e.languages.smalltalk={comment:{pattern:/"(?:""|[^"])*"/,greedy:!0},char:{pattern:/\$./,greedy:!0},string:{pattern:/'(?:''|[^'])*'/,greedy:!0},symbol:/#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,"block-arguments":{pattern:/(\[\s*):[^\[|]*\|/,lookbehind:!0,inside:{variable:/:[\da-z]+/i,punctuation:/\|/}},"temporary-variables":{pattern:/\|[^|]+\|/,inside:{variable:/[\da-z]+/i,punctuation:/\|/}},keyword:/\b(?:new|nil|self|super)\b/,boolean:/\b(?:false|true)\b/,number:[/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,/\b\d+(?:\.\d+)?(?:e-?\d+)?/],operator:/[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,punctuation:/[.;:?\[\](){}]/}}function Qf(e){e.register(yu),function(e){e.languages.smarty={comment:{pattern:/^\{\*[\s\S]*?\*\}/,greedy:!0},"embedded-php":{pattern:/^\{php\}[\s\S]*?\{\/php\}/,greedy:!0,inside:{smarty:{pattern:/^\{php\}|\{\/php\}$/,inside:null},php:{pattern:/[\s\S]+/,alias:"language-php",inside:e.languages.php}}},string:[{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0,inside:{interpolation:{pattern:/\{[^{}]*\}|`[^`]*`/,inside:{"interpolation-punctuation":{pattern:/^[{`]|[`}]$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},variable:/\$\w+/}},{pattern:/'(?:\\.|[^'\\\r\n])*'/,greedy:!0}],keyword:{pattern:/(^\{\/?)[a-z_]\w*\b(?!\()/i,lookbehind:!0,greedy:!0},delimiter:{pattern:/^\{\/?|\}$/,greedy:!0,alias:"punctuation"},number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,variable:[/\$(?!\d)\w+/,/#(?!\d)\w+#/,{pattern:/(\.|->|\w\s*=)(?!\d)\w+\b(?!\()/,lookbehind:!0},{pattern:/(\[)(?!\d)\w+(?=\])/,lookbehind:!0}],function:{pattern:/(\|\s*)@?[a-z_]\w*|\b[a-z_]\w*(?=\()/i,lookbehind:!0},"attr-name":/\b[a-z_]\w*(?=\s*=)/i,boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\[\](){}.,:`]|->/,operator:[/[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/,/\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/,/\b(?:and|eq|gt?e|gt|lt?e|lt|mod|neq?|not|or)\b/]},e.languages.smarty["embedded-php"].inside.smarty.inside=e.languages.smarty,e.languages.smarty.string[0].inside.interpolation.inside.expression.inside=e.languages.smarty;var t=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,n=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']||\{(?:[^{}"']||\{(?:[^{}"']|)*\})*\})*\}/.source.replace(//g,(function(){return t.source})),"g");e.hooks.add("before-tokenize",(function(t){var r=!1;e.languages["markup-templating"].buildPlaceholders(t,"smarty",n,(function(e){return"{/literal}"===e&&(r=!1),!r&&("{literal}"===e&&(r=!0),!0)}))})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"smarty")}))}(e)}function Jf(e){!function(e){var t=/\b(?:abstype|and|andalso|as|case|datatype|do|else|end|eqtype|exception|fn|fun|functor|handle|if|in|include|infix|infixr|let|local|nonfix|of|op|open|orelse|raise|rec|sharing|sig|signature|struct|structure|then|type|val|where|while|with|withtype)\b/i;e.languages.sml={comment:/\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/,string:{pattern:/#?"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":[{pattern:RegExp(/((?:^|[^:]):\s*)(?:\s*(?:(?:\*|->)\s*|,\s*(?:(?=)|(?!)\s+)))*/.source.replace(//g,(function(){return/\s*(?:[*,]|->)/.source})).replace(//g,(function(){return/(?:'[\w']*||\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+)*/.source})).replace(//g,(function(){return/(?!)[a-z\d_][\w'.]*/.source})).replace(//g,(function(){return t.source})),"i"),lookbehind:!0,greedy:!0,inside:null},{pattern:/((?:^|[^\w'])(?:datatype|exception|functor|signature|structure|type)\s+)[a-z_][\w'.]*/i,lookbehind:!0}],function:{pattern:/((?:^|[^\w'])fun\s+)[a-z_][\w'.]*/i,lookbehind:!0},keyword:t,variable:{pattern:/(^|[^\w'])'[\w']*/,lookbehind:!0},number:/~?\b(?:\d+(?:\.\d+)?(?:e~?\d+)?|0x[\da-f]+)\b/i,word:{pattern:/\b0w(?:\d+|x[\da-f]+)\b/i,alias:"constant"},boolean:/\b(?:false|true)\b/i,operator:/\.\.\.|:[>=:]|=>?|->|[<>]=?|[!+\-*/^#|@~]/,punctuation:/[(){}\[\].:,;]/},e.languages.sml["class-name"][0].inside=e.languages.sml,e.languages.smlnj=e.languages.sml}(e)}function em(e){e.register(Kc),e.languages.solidity=e.languages.extend("clike",{"class-name":{pattern:/(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,lookbehind:!0},keyword:/\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,operator:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),e.languages.insertBefore("solidity","keyword",{builtin:/\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/}),e.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}}),e.languages.sol=e.languages.solidity}function tm(e){!function(e){var t={pattern:/\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,alias:"constant",inside:{punctuation:/[{}]/}};e.languages["solution-file"]={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0,inside:{guid:t}},object:{pattern:/^([ \t]*)(?:([A-Z]\w*)\b(?=.*(?:\r\n?|\n)(?:\1[ \t].*(?:\r\n?|\n))*\1End\2(?=[ \t]*$))|End[A-Z]\w*(?=[ \t]*$))/m,lookbehind:!0,greedy:!0,alias:"keyword"},property:{pattern:/^([ \t]*)(?!\s)[^\r\n"#=()]*[^\s"#=()](?=\s*=)/m,lookbehind:!0,inside:{guid:t}},guid:t,number:/\b\d+(?:\.\d+)*\b/,boolean:/\b(?:FALSE|TRUE)\b/,operator:/=/,punctuation:/[(),]/},e.languages.sln=e.languages["solution-file"]}(e)}function nm(e){e.register(yu),function(e){var t=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,n=/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/;e.languages.soy={comment:[/\/\*[\s\S]*?\*\//,{pattern:/(\s)\/\/.*/,lookbehind:!0,greedy:!0}],"command-arg":{pattern:/(\{+\/?\s*(?:alias|call|delcall|delpackage|deltemplate|namespace|template)\s+)\.?[\w.]+/,lookbehind:!0,alias:"string",inside:{punctuation:/\./}},parameter:{pattern:/(\{+\/?\s*@?param\??\s+)\.?[\w.]+/,lookbehind:!0,alias:"variable"},keyword:[{pattern:/(\{+\/?[^\S\r\n]*)(?:\\[nrt]|alias|call|case|css|default|delcall|delpackage|deltemplate|else(?:if)?|fallbackmsg|for(?:each)?|if(?:empty)?|lb|let|literal|msg|namespace|nil|@?param\??|rb|sp|switch|template|xid)/,lookbehind:!0},/\b(?:any|as|attributes|bool|css|float|html|in|int|js|list|map|null|number|string|uri)\b/],delimiter:{pattern:/^\{+\/?|\/?\}+$/,alias:"punctuation"},property:/\w+(?==)/,variable:{pattern:/\$[^\W\d]\w*(?:\??(?:\.\w+|\[[^\]]+\]))*/,inside:{string:{pattern:t,greedy:!0},number:n,punctuation:/[\[\].?]/}},string:{pattern:t,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:n,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},e.hooks.add("before-tokenize",(function(t){var n=!1;e.languages["markup-templating"].buildPlaceholders(t,"soy",/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,(function(e){return"{/literal}"===e&&(n=!1),!n&&("{literal}"===e&&(n=!0),!0)}))})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"soy")}))}(e)}function rm(e){e.languages.turtle={comment:{pattern:/#.*/,greedy:!0},"multiline-string":{pattern:/"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/,greedy:!0,alias:"string",inside:{comment:/#.*/}},string:{pattern:/"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/,greedy:!0},url:{pattern:/<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/,greedy:!0,inside:{punctuation:/[<>]/}},function:{pattern:/(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i,inside:{"local-name":{pattern:/([^:]*:)[\s\S]+/,lookbehind:!0},prefix:{pattern:/[\s\S]+/,inside:{punctuation:/:/}}}},number:/[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[{}.,;()[\]]|\^\^/,boolean:/\b(?:false|true)\b/,keyword:[/(?:\ba|@prefix|@base)\b|=/,/\b(?:base|graph|prefix)\b/i],tag:{pattern:/@[a-z]+(?:-[a-z\d]+)*/i,inside:{punctuation:/@/}}},e.languages.trig=e.languages.turtle}function im(e){e.register(rm),e.languages.sparql=e.languages.extend("turtle",{boolean:/\b(?:false|true)\b/i,variable:{pattern:/[?$]\w+/,greedy:!0}}),e.languages.insertBefore("sparql","punctuation",{keyword:[/\b(?:A|ADD|ALL|AS|ASC|ASK|BNODE|BY|CLEAR|CONSTRUCT|COPY|CREATE|DATA|DEFAULT|DELETE|DESC|DESCRIBE|DISTINCT|DROP|EXISTS|FILTER|FROM|GROUP|HAVING|INSERT|INTO|LIMIT|LOAD|MINUS|MOVE|NAMED|NOT|NOW|OFFSET|OPTIONAL|ORDER|RAND|REDUCED|SELECT|SEPARATOR|SERVICE|SILENT|STRUUID|UNION|USING|UUID|VALUES|WHERE)\b/i,/\b(?:ABS|AVG|BIND|BOUND|CEIL|COALESCE|CONCAT|CONTAINS|COUNT|DATATYPE|DAY|ENCODE_FOR_URI|FLOOR|GROUP_CONCAT|HOURS|IF|IRI|isBLANK|isIRI|isLITERAL|isNUMERIC|isURI|LANG|LANGMATCHES|LCASE|MAX|MD5|MIN|MINUTES|MONTH|REGEX|REPLACE|ROUND|sameTerm|SAMPLE|SECONDS|SHA1|SHA256|SHA384|SHA512|STR|STRAFTER|STRBEFORE|STRDT|STRENDS|STRLANG|STRLEN|STRSTARTS|SUBSTR|SUM|TIMEZONE|TZ|UCASE|URI|YEAR)\b(?=\s*\()/i,/\b(?:BASE|GRAPH|PREFIX)\b/i]}),e.languages.rq=e.languages.sparql}function om(e){e.languages["splunk-spl"]={comment:/`comment\("(?:\\.|[^\\"])*"\)`/,string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0},keyword:/\b(?:abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|anomalydetection|append|appendcols|appendcsv|appendlookup|appendpipe|arules|associate|audit|autoregress|bin|bucket|bucketdir|chart|cluster|cofilter|collect|concurrency|contingency|convert|correlate|datamodel|dbinspect|dedup|delete|delta|diff|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geom|geomfilter|geostats|head|highlight|history|iconify|input|inputcsv|inputlookup|iplocation|join|kmeans|kv|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|mcollect|metadata|metasearch|meventcollect|mstats|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|timewrap|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|union|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries)\b/i,"operator-word":{pattern:/\b(?:and|as|by|not|or|xor)\b/i,alias:"operator"},function:/\b\w+(?=\s*\()/,property:/\b\w+(?=\s*=(?!=))/,date:{pattern:/\b\d{1,2}\/\d{1,2}\/\d{1,4}(?:(?::\d{1,2}){3})?\b/,alias:"number"},number:/\b\d+(?:\.\d+)?\b/,boolean:/\b(?:f|false|t|true)\b/i,operator:/[<>=]=?|[-+*/%|]/,punctuation:/[()[\],]/}}function am(e){e.register(Kc),e.languages.sqf=e.languages.extend("clike",{string:{pattern:/"(?:(?:"")?[^"])*"(?!")|'(?:[^'])*'/,greedy:!0},keyword:/\b(?:breakOut|breakTo|call|case|catch|default|do|echo|else|execFSM|execVM|exitWith|for|forEach|forEachMember|forEachMemberAgent|forEachMemberTeam|from|goto|if|nil|preprocessFile|preprocessFileLineNumbers|private|scopeName|spawn|step|switch|then|throw|to|try|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?:abs|accTime|acos|action|actionIDs|actionKeys|actionKeysImages|actionKeysNames|actionKeysNamesArray|actionName|actionParams|activateAddons|activatedAddons|activateKey|add3DENConnection|add3DENEventHandler|add3DENLayer|addAction|addBackpack|addBackpackCargo|addBackpackCargoGlobal|addBackpackGlobal|addCamShake|addCuratorAddons|addCuratorCameraArea|addCuratorEditableObjects|addCuratorEditingArea|addCuratorPoints|addEditorObject|addEventHandler|addForce|addForceGeneratorRTD|addGoggles|addGroupIcon|addHandgunItem|addHeadgear|addItem|addItemCargo|addItemCargoGlobal|addItemPool|addItemToBackpack|addItemToUniform|addItemToVest|addLiveStats|addMagazine|addMagazineAmmoCargo|addMagazineCargo|addMagazineCargoGlobal|addMagazineGlobal|addMagazinePool|addMagazines|addMagazineTurret|addMenu|addMenuItem|addMissionEventHandler|addMPEventHandler|addMusicEventHandler|addOwnedMine|addPlayerScores|addPrimaryWeaponItem|addPublicVariableEventHandler|addRating|addResources|addScore|addScoreSide|addSecondaryWeaponItem|addSwitchableUnit|addTeamMember|addToRemainsCollector|addTorque|addUniform|addVehicle|addVest|addWaypoint|addWeapon|addWeaponCargo|addWeaponCargoGlobal|addWeaponGlobal|addWeaponItem|addWeaponPool|addWeaponTurret|admin|agent|agents|AGLToASL|aimedAtTarget|aimPos|airDensityCurveRTD|airDensityRTD|airplaneThrottle|airportSide|AISFinishHeal|alive|all3DENEntities|allAirports|allControls|allCurators|allCutLayers|allDead|allDeadMen|allDisplays|allGroups|allMapMarkers|allMines|allMissionObjects|allow3DMode|allowCrewInImmobile|allowCuratorLogicIgnoreAreas|allowDamage|allowDammage|allowFileOperations|allowFleeing|allowGetIn|allowSprint|allPlayers|allSimpleObjects|allSites|allTurrets|allUnits|allUnitsUAV|allVariables|ammo|ammoOnPylon|animate|animateBay|animateDoor|animatePylon|animateSource|animationNames|animationPhase|animationSourcePhase|animationState|append|apply|armoryPoints|arrayIntersect|asin|ASLToAGL|ASLToATL|assert|assignAsCargo|assignAsCargoIndex|assignAsCommander|assignAsDriver|assignAsGunner|assignAsTurret|assignCurator|assignedCargo|assignedCommander|assignedDriver|assignedGunner|assignedItems|assignedTarget|assignedTeam|assignedVehicle|assignedVehicleRole|assignItem|assignTeam|assignToAirport|atan|atan2|atg|ATLToASL|attachedObject|attachedObjects|attachedTo|attachObject|attachTo|attackEnabled|backpack|backpackCargo|backpackContainer|backpackItems|backpackMagazines|backpackSpaceFor|behaviour|benchmark|binocular|blufor|boundingBox|boundingBoxReal|boundingCenter|briefingName|buildingExit|buildingPos|buldozer_EnableRoadDiag|buldozer_IsEnabledRoadDiag|buldozer_LoadNewRoads|buldozer_reloadOperMap|buttonAction|buttonSetAction|cadetMode|callExtension|camCommand|camCommit|camCommitPrepared|camCommitted|camConstuctionSetParams|camCreate|camDestroy|cameraEffect|cameraEffectEnableHUD|cameraInterest|cameraOn|cameraView|campaignConfigFile|camPreload|camPreloaded|camPrepareBank|camPrepareDir|camPrepareDive|camPrepareFocus|camPrepareFov|camPrepareFovRange|camPreparePos|camPrepareRelPos|camPrepareTarget|camSetBank|camSetDir|camSetDive|camSetFocus|camSetFov|camSetFovRange|camSetPos|camSetRelPos|camSetTarget|camTarget|camUseNVG|canAdd|canAddItemToBackpack|canAddItemToUniform|canAddItemToVest|cancelSimpleTaskDestination|canFire|canMove|canSlingLoad|canStand|canSuspend|canTriggerDynamicSimulation|canUnloadInCombat|canVehicleCargo|captive|captiveNum|cbChecked|cbSetChecked|ceil|channelEnabled|cheatsEnabled|checkAIFeature|checkVisibility|civilian|className|clear3DENAttribute|clear3DENInventory|clearAllItemsFromBackpack|clearBackpackCargo|clearBackpackCargoGlobal|clearForcesRTD|clearGroupIcons|clearItemCargo|clearItemCargoGlobal|clearItemPool|clearMagazineCargo|clearMagazineCargoGlobal|clearMagazinePool|clearOverlay|clearRadio|clearVehicleInit|clearWeaponCargo|clearWeaponCargoGlobal|clearWeaponPool|clientOwner|closeDialog|closeDisplay|closeOverlay|collapseObjectTree|collect3DENHistory|collectiveRTD|combatMode|commandArtilleryFire|commandChat|commander|commandFire|commandFollow|commandFSM|commandGetOut|commandingMenu|commandMove|commandRadio|commandStop|commandSuppressiveFire|commandTarget|commandWatch|comment|commitOverlay|compile|compileFinal|completedFSM|composeText|configClasses|configFile|configHierarchy|configName|configNull|configProperties|configSourceAddonList|configSourceMod|configSourceModList|confirmSensorTarget|connectTerminalToUAV|controlNull|controlsGroupCtrl|copyFromClipboard|copyToClipboard|copyWaypoints|cos|count|countEnemy|countFriendly|countSide|countType|countUnknown|create3DENComposition|create3DENEntity|createAgent|createCenter|createDialog|createDiaryLink|createDiaryRecord|createDiarySubject|createDisplay|createGearDialog|createGroup|createGuardedPoint|createLocation|createMarker|createMarkerLocal|createMenu|createMine|createMissionDisplay|createMPCampaignDisplay|createSimpleObject|createSimpleTask|createSite|createSoundSource|createTask|createTeam|createTrigger|createUnit|createVehicle|createVehicleCrew|createVehicleLocal|crew|ctAddHeader|ctAddRow|ctClear|ctCurSel|ctData|ctFindHeaderRows|ctFindRowHeader|ctHeaderControls|ctHeaderCount|ctRemoveHeaders|ctRemoveRows|ctrlActivate|ctrlAddEventHandler|ctrlAngle|ctrlAutoScrollDelay|ctrlAutoScrollRewind|ctrlAutoScrollSpeed|ctrlChecked|ctrlClassName|ctrlCommit|ctrlCommitted|ctrlCreate|ctrlDelete|ctrlEnable|ctrlEnabled|ctrlFade|ctrlHTMLLoaded|ctrlIDC|ctrlIDD|ctrlMapAnimAdd|ctrlMapAnimClear|ctrlMapAnimCommit|ctrlMapAnimDone|ctrlMapCursor|ctrlMapMouseOver|ctrlMapScale|ctrlMapScreenToWorld|ctrlMapWorldToScreen|ctrlModel|ctrlModelDirAndUp|ctrlModelScale|ctrlParent|ctrlParentControlsGroup|ctrlPosition|ctrlRemoveAllEventHandlers|ctrlRemoveEventHandler|ctrlScale|ctrlSetActiveColor|ctrlSetAngle|ctrlSetAutoScrollDelay|ctrlSetAutoScrollRewind|ctrlSetAutoScrollSpeed|ctrlSetBackgroundColor|ctrlSetChecked|ctrlSetDisabledColor|ctrlSetEventHandler|ctrlSetFade|ctrlSetFocus|ctrlSetFont|ctrlSetFontH1|ctrlSetFontH1B|ctrlSetFontH2|ctrlSetFontH2B|ctrlSetFontH3|ctrlSetFontH3B|ctrlSetFontH4|ctrlSetFontH4B|ctrlSetFontH5|ctrlSetFontH5B|ctrlSetFontH6|ctrlSetFontH6B|ctrlSetFontHeight|ctrlSetFontHeightH1|ctrlSetFontHeightH2|ctrlSetFontHeightH3|ctrlSetFontHeightH4|ctrlSetFontHeightH5|ctrlSetFontHeightH6|ctrlSetFontHeightSecondary|ctrlSetFontP|ctrlSetFontPB|ctrlSetFontSecondary|ctrlSetForegroundColor|ctrlSetModel|ctrlSetModelDirAndUp|ctrlSetModelScale|ctrlSetPixelPrecision|ctrlSetPosition|ctrlSetScale|ctrlSetStructuredText|ctrlSetText|ctrlSetTextColor|ctrlSetTextColorSecondary|ctrlSetTextSecondary|ctrlSetTooltip|ctrlSetTooltipColorBox|ctrlSetTooltipColorShade|ctrlSetTooltipColorText|ctrlShow|ctrlShown|ctrlText|ctrlTextHeight|ctrlTextSecondary|ctrlTextWidth|ctrlType|ctrlVisible|ctRowControls|ctRowCount|ctSetCurSel|ctSetData|ctSetHeaderTemplate|ctSetRowTemplate|ctSetValue|ctValue|curatorAddons|curatorCamera|curatorCameraArea|curatorCameraAreaCeiling|curatorCoef|curatorEditableObjects|curatorEditingArea|curatorEditingAreaType|curatorMouseOver|curatorPoints|curatorRegisteredObjects|curatorSelected|curatorWaypointCost|current3DENOperation|currentChannel|currentCommand|currentMagazine|currentMagazineDetail|currentMagazineDetailTurret|currentMagazineTurret|currentMuzzle|currentNamespace|currentTask|currentTasks|currentThrowable|currentVisionMode|currentWaypoint|currentWeapon|currentWeaponMode|currentWeaponTurret|currentZeroing|cursorObject|cursorTarget|customChat|customRadio|cutFadeOut|cutObj|cutRsc|cutText|damage|date|dateToNumber|daytime|deActivateKey|debriefingText|debugFSM|debugLog|deg|delete3DENEntities|deleteAt|deleteCenter|deleteCollection|deleteEditorObject|deleteGroup|deleteGroupWhenEmpty|deleteIdentity|deleteLocation|deleteMarker|deleteMarkerLocal|deleteRange|deleteResources|deleteSite|deleteStatus|deleteTeam|deleteVehicle|deleteVehicleCrew|deleteWaypoint|detach|detectedMines|diag_activeMissionFSMs|diag_activeScripts|diag_activeSQFScripts|diag_activeSQSScripts|diag_captureFrame|diag_captureFrameToFile|diag_captureSlowFrame|diag_codePerformance|diag_drawMode|diag_dynamicSimulationEnd|diag_enable|diag_enabled|diag_fps|diag_fpsMin|diag_frameNo|diag_lightNewLoad|diag_list|diag_log|diag_logSlowFrame|diag_mergeConfigFile|diag_recordTurretLimits|diag_setLightNew|diag_tickTime|diag_toggle|dialog|diarySubjectExists|didJIP|didJIPOwner|difficulty|difficultyEnabled|difficultyEnabledRTD|difficultyOption|direction|directSay|disableAI|disableCollisionWith|disableConversation|disableDebriefingStats|disableMapIndicators|disableNVGEquipment|disableRemoteSensors|disableSerialization|disableTIEquipment|disableUAVConnectability|disableUserInput|displayAddEventHandler|displayCtrl|displayNull|displayParent|displayRemoveAllEventHandlers|displayRemoveEventHandler|displaySetEventHandler|dissolveTeam|distance|distance2D|distanceSqr|distributionRegion|do3DENAction|doArtilleryFire|doFire|doFollow|doFSM|doGetOut|doMove|doorPhase|doStop|doSuppressiveFire|doTarget|doWatch|drawArrow|drawEllipse|drawIcon|drawIcon3D|drawLine|drawLine3D|drawLink|drawLocation|drawPolygon|drawRectangle|drawTriangle|driver|drop|dynamicSimulationDistance|dynamicSimulationDistanceCoef|dynamicSimulationEnabled|dynamicSimulationSystemEnabled|east|edit3DENMissionAttributes|editObject|editorSetEventHandler|effectiveCommander|emptyPositions|enableAI|enableAIFeature|enableAimPrecision|enableAttack|enableAudioFeature|enableAutoStartUpRTD|enableAutoTrimRTD|enableCamShake|enableCaustics|enableChannel|enableCollisionWith|enableCopilot|enableDebriefingStats|enableDiagLegend|enableDynamicSimulation|enableDynamicSimulationSystem|enableEndDialog|enableEngineArtillery|enableEnvironment|enableFatigue|enableGunLights|enableInfoPanelComponent|enableIRLasers|enableMimics|enablePersonTurret|enableRadio|enableReload|enableRopeAttach|enableSatNormalOnDetail|enableSaving|enableSentences|enableSimulation|enableSimulationGlobal|enableStamina|enableStressDamage|enableTeamSwitch|enableTraffic|enableUAVConnectability|enableUAVWaypoints|enableVehicleCargo|enableVehicleSensor|enableWeaponDisassembly|endl|endLoadingScreen|endMission|engineOn|enginesIsOnRTD|enginesPowerRTD|enginesRpmRTD|enginesTorqueRTD|entities|environmentEnabled|estimatedEndServerTime|estimatedTimeLeft|evalObjectArgument|everyBackpack|everyContainer|exec|execEditorScript|exp|expectedDestination|exportJIPMessages|eyeDirection|eyePos|face|faction|fadeMusic|fadeRadio|fadeSound|fadeSpeech|failMission|fillWeaponsFromPool|find|findCover|findDisplay|findEditorObject|findEmptyPosition|findEmptyPositionReady|findIf|findNearestEnemy|finishMissionInit|finite|fire|fireAtTarget|firstBackpack|flag|flagAnimationPhase|flagOwner|flagSide|flagTexture|fleeing|floor|flyInHeight|flyInHeightASL|fog|fogForecast|fogParams|forceAddUniform|forceAtPositionRTD|forcedMap|forceEnd|forceFlagTexture|forceFollowRoad|forceGeneratorRTD|forceMap|forceRespawn|forceSpeed|forceWalk|forceWeaponFire|forceWeatherChange|forgetTarget|format|formation|formationDirection|formationLeader|formationMembers|formationPosition|formationTask|formatText|formLeader|freeLook|fromEditor|fuel|fullCrew|gearIDCAmmoCount|gearSlotAmmoCount|gearSlotData|get3DENActionState|get3DENAttribute|get3DENCamera|get3DENConnections|get3DENEntity|get3DENEntityID|get3DENGrid|get3DENIconsVisible|get3DENLayerEntities|get3DENLinesVisible|get3DENMissionAttribute|get3DENMouseOver|get3DENSelected|getAimingCoef|getAllEnvSoundControllers|getAllHitPointsDamage|getAllOwnedMines|getAllSoundControllers|getAmmoCargo|getAnimAimPrecision|getAnimSpeedCoef|getArray|getArtilleryAmmo|getArtilleryComputerSettings|getArtilleryETA|getAssignedCuratorLogic|getAssignedCuratorUnit|getBackpackCargo|getBleedingRemaining|getBurningValue|getCameraViewDirection|getCargoIndex|getCenterOfMass|getClientState|getClientStateNumber|getCompatiblePylonMagazines|getConnectedUAV|getContainerMaxLoad|getCursorObjectParams|getCustomAimCoef|getDammage|getDescription|getDir|getDirVisual|getDLCAssetsUsage|getDLCAssetsUsageByName|getDLCs|getDLCUsageTime|getEditorCamera|getEditorMode|getEditorObjectScope|getElevationOffset|getEngineTargetRpmRTD|getEnvSoundController|getFatigue|getFieldManualStartPage|getForcedFlagTexture|getFriend|getFSMVariable|getFuelCargo|getGroupIcon|getGroupIconParams|getGroupIcons|getHideFrom|getHit|getHitIndex|getHitPointDamage|getItemCargo|getMagazineCargo|getMarkerColor|getMarkerPos|getMarkerSize|getMarkerType|getMass|getMissionConfig|getMissionConfigValue|getMissionDLCs|getMissionLayerEntities|getMissionLayers|getModelInfo|getMousePosition|getMusicPlayedTime|getNumber|getObjectArgument|getObjectChildren|getObjectDLC|getObjectMaterials|getObjectProxy|getObjectTextures|getObjectType|getObjectViewDistance|getOxygenRemaining|getPersonUsedDLCs|getPilotCameraDirection|getPilotCameraPosition|getPilotCameraRotation|getPilotCameraTarget|getPlateNumber|getPlayerChannel|getPlayerScores|getPlayerUID|getPlayerUIDOld|getPos|getPosASL|getPosASLVisual|getPosASLW|getPosATL|getPosATLVisual|getPosVisual|getPosWorld|getPylonMagazines|getRelDir|getRelPos|getRemoteSensorsDisabled|getRepairCargo|getResolution|getRotorBrakeRTD|getShadowDistance|getShotParents|getSlingLoad|getSoundController|getSoundControllerResult|getSpeed|getStamina|getStatValue|getSuppression|getTerrainGrid|getTerrainHeightASL|getText|getTotalDLCUsageTime|getTrimOffsetRTD|getUnitLoadout|getUnitTrait|getUserMFDText|getUserMFDValue|getVariable|getVehicleCargo|getWeaponCargo|getWeaponSway|getWingsOrientationRTD|getWingsPositionRTD|getWPPos|glanceAt|globalChat|globalRadio|goggles|group|groupChat|groupFromNetId|groupIconSelectable|groupIconsVisible|groupId|groupOwner|groupRadio|groupSelectedUnits|groupSelectUnit|grpNull|gunner|gusts|halt|handgunItems|handgunMagazine|handgunWeapon|handsHit|hasInterface|hasPilotCamera|hasWeapon|hcAllGroups|hcGroupParams|hcLeader|hcRemoveAllGroups|hcRemoveGroup|hcSelected|hcSelectGroup|hcSetGroup|hcShowBar|hcShownBar|headgear|hideBody|hideObject|hideObjectGlobal|hideSelection|hint|hintC|hintCadet|hintSilent|hmd|hostMission|htmlLoad|HUDMovementLevels|humidity|image|importAllGroups|importance|in|inArea|inAreaArray|incapacitatedState|independent|inflame|inflamed|infoPanel|infoPanelComponentEnabled|infoPanelComponents|infoPanels|inGameUISetEventHandler|inheritsFrom|initAmbientLife|inPolygon|inputAction|inRangeOfArtillery|insertEditorObject|intersect|is3DEN|is3DENMultiplayer|isAbleToBreathe|isAgent|isAimPrecisionEnabled|isArray|isAutoHoverOn|isAutonomous|isAutoStartUpEnabledRTD|isAutotest|isAutoTrimOnRTD|isBleeding|isBurning|isClass|isCollisionLightOn|isCopilotEnabled|isDamageAllowed|isDedicated|isDLCAvailable|isEngineOn|isEqualTo|isEqualType|isEqualTypeAll|isEqualTypeAny|isEqualTypeArray|isEqualTypeParams|isFilePatchingEnabled|isFlashlightOn|isFlatEmpty|isForcedWalk|isFormationLeader|isGroupDeletedWhenEmpty|isHidden|isInRemainsCollector|isInstructorFigureEnabled|isIRLaserOn|isKeyActive|isKindOf|isLaserOn|isLightOn|isLocalized|isManualFire|isMarkedForCollection|isMultiplayer|isMultiplayerSolo|isNil|isNull|isNumber|isObjectHidden|isObjectRTD|isOnRoad|isPipEnabled|isPlayer|isRealTime|isRemoteExecuted|isRemoteExecutedJIP|isServer|isShowing3DIcons|isSimpleObject|isSprintAllowed|isStaminaEnabled|isSteamMission|isStreamFriendlyUIEnabled|isStressDamageEnabled|isText|isTouchingGround|isTurnedOut|isTutHintsEnabled|isUAVConnectable|isUAVConnected|isUIContext|isUniformAllowed|isVehicleCargo|isVehicleRadarOn|isVehicleSensorEnabled|isWalking|isWeaponDeployed|isWeaponRested|itemCargo|items|itemsWithMagazines|join|joinAs|joinAsSilent|joinSilent|joinString|kbAddDatabase|kbAddDatabaseTargets|kbAddTopic|kbHasTopic|kbReact|kbRemoveTopic|kbTell|kbWasSaid|keyImage|keyName|knowsAbout|land|landAt|landResult|language|laserTarget|lbAdd|lbClear|lbColor|lbColorRight|lbCurSel|lbData|lbDelete|lbIsSelected|lbPicture|lbPictureRight|lbSelection|lbSetColor|lbSetColorRight|lbSetCurSel|lbSetData|lbSetPicture|lbSetPictureColor|lbSetPictureColorDisabled|lbSetPictureColorSelected|lbSetPictureRight|lbSetPictureRightColor|lbSetPictureRightColorDisabled|lbSetPictureRightColorSelected|lbSetSelectColor|lbSetSelectColorRight|lbSetSelected|lbSetText|lbSetTextRight|lbSetTooltip|lbSetValue|lbSize|lbSort|lbSortByValue|lbText|lbTextRight|lbValue|leader|leaderboardDeInit|leaderboardGetRows|leaderboardInit|leaderboardRequestRowsFriends|leaderboardRequestRowsGlobal|leaderboardRequestRowsGlobalAroundUser|leaderboardsRequestUploadScore|leaderboardsRequestUploadScoreKeepBest|leaderboardState|leaveVehicle|libraryCredits|libraryDisclaimers|lifeState|lightAttachObject|lightDetachObject|lightIsOn|lightnings|limitSpeed|linearConversion|lineBreak|lineIntersects|lineIntersectsObjs|lineIntersectsSurfaces|lineIntersectsWith|linkItem|list|listObjects|listRemoteTargets|listVehicleSensors|ln|lnbAddArray|lnbAddColumn|lnbAddRow|lnbClear|lnbColor|lnbColorRight|lnbCurSelRow|lnbData|lnbDeleteColumn|lnbDeleteRow|lnbGetColumnsPosition|lnbPicture|lnbPictureRight|lnbSetColor|lnbSetColorRight|lnbSetColumnsPos|lnbSetCurSelRow|lnbSetData|lnbSetPicture|lnbSetPictureColor|lnbSetPictureColorRight|lnbSetPictureColorSelected|lnbSetPictureColorSelectedRight|lnbSetPictureRight|lnbSetText|lnbSetTextRight|lnbSetValue|lnbSize|lnbSort|lnbSortByValue|lnbText|lnbTextRight|lnbValue|load|loadAbs|loadBackpack|loadFile|loadGame|loadIdentity|loadMagazine|loadOverlay|loadStatus|loadUniform|loadVest|local|localize|locationNull|locationPosition|lock|lockCameraTo|lockCargo|lockDriver|locked|lockedCargo|lockedDriver|lockedTurret|lockIdentity|lockTurret|lockWP|log|logEntities|logNetwork|logNetworkTerminate|lookAt|lookAtPos|magazineCargo|magazines|magazinesAllTurrets|magazinesAmmo|magazinesAmmoCargo|magazinesAmmoFull|magazinesDetail|magazinesDetailBackpack|magazinesDetailUniform|magazinesDetailVest|magazinesTurret|magazineTurretAmmo|mapAnimAdd|mapAnimClear|mapAnimCommit|mapAnimDone|mapCenterOnCamera|mapGridPosition|markAsFinishedOnSteam|markerAlpha|markerBrush|markerColor|markerDir|markerPos|markerShape|markerSize|markerText|markerType|max|members|menuAction|menuAdd|menuChecked|menuClear|menuCollapse|menuData|menuDelete|menuEnable|menuEnabled|menuExpand|menuHover|menuPicture|menuSetAction|menuSetCheck|menuSetData|menuSetPicture|menuSetValue|menuShortcut|menuShortcutText|menuSize|menuSort|menuText|menuURL|menuValue|min|mineActive|mineDetectedBy|missionConfigFile|missionDifficulty|missionName|missionNamespace|missionStart|missionVersion|modelToWorld|modelToWorldVisual|modelToWorldVisualWorld|modelToWorldWorld|modParams|moonIntensity|moonPhase|morale|move|move3DENCamera|moveInAny|moveInCargo|moveInCommander|moveInDriver|moveInGunner|moveInTurret|moveObjectToEnd|moveOut|moveTime|moveTo|moveToCompleted|moveToFailed|musicVolume|name|nameSound|nearEntities|nearestBuilding|nearestLocation|nearestLocations|nearestLocationWithDubbing|nearestObject|nearestObjects|nearestTerrainObjects|nearObjects|nearObjectsReady|nearRoads|nearSupplies|nearTargets|needReload|netId|netObjNull|newOverlay|nextMenuItemIndex|nextWeatherChange|nMenuItems|numberOfEnginesRTD|numberToDate|objectCurators|objectFromNetId|objectParent|objNull|objStatus|onBriefingGear|onBriefingGroup|onBriefingNotes|onBriefingPlan|onBriefingTeamSwitch|onCommandModeChanged|onDoubleClick|onEachFrame|onGroupIconClick|onGroupIconOverEnter|onGroupIconOverLeave|onHCGroupSelectionChanged|onMapSingleClick|onPlayerConnected|onPlayerDisconnected|onPreloadFinished|onPreloadStarted|onShowNewObject|onTeamSwitch|openCuratorInterface|openDLCPage|openDSInterface|openMap|openSteamApp|openYoutubeVideo|opfor|orderGetIn|overcast|overcastForecast|owner|param|params|parseNumber|parseSimpleArray|parseText|parsingNamespace|particlesQuality|pi|pickWeaponPool|pitch|pixelGrid|pixelGridBase|pixelGridNoUIScale|pixelH|pixelW|playableSlotsNumber|playableUnits|playAction|playActionNow|player|playerRespawnTime|playerSide|playersNumber|playGesture|playMission|playMove|playMoveNow|playMusic|playScriptedMission|playSound|playSound3D|position|positionCameraToWorld|posScreenToWorld|posWorldToScreen|ppEffectAdjust|ppEffectCommit|ppEffectCommitted|ppEffectCreate|ppEffectDestroy|ppEffectEnable|ppEffectEnabled|ppEffectForceInNVG|precision|preloadCamera|preloadObject|preloadSound|preloadTitleObj|preloadTitleRsc|primaryWeapon|primaryWeaponItems|primaryWeaponMagazine|priority|processDiaryLink|processInitCommands|productVersion|profileName|profileNamespace|profileNameSteam|progressLoadingScreen|progressPosition|progressSetPosition|publicVariable|publicVariableClient|publicVariableServer|pushBack|pushBackUnique|putWeaponPool|queryItemsPool|queryMagazinePool|queryWeaponPool|rad|radioChannelAdd|radioChannelCreate|radioChannelRemove|radioChannelSetCallSign|radioChannelSetLabel|radioVolume|rain|rainbow|random|rank|rankId|rating|rectangular|registeredTasks|registerTask|reload|reloadEnabled|remoteControl|remoteExec|remoteExecCall|remoteExecutedOwner|remove3DENConnection|remove3DENEventHandler|remove3DENLayer|removeAction|removeAll3DENEventHandlers|removeAllActions|removeAllAssignedItems|removeAllContainers|removeAllCuratorAddons|removeAllCuratorCameraAreas|removeAllCuratorEditingAreas|removeAllEventHandlers|removeAllHandgunItems|removeAllItems|removeAllItemsWithMagazines|removeAllMissionEventHandlers|removeAllMPEventHandlers|removeAllMusicEventHandlers|removeAllOwnedMines|removeAllPrimaryWeaponItems|removeAllWeapons|removeBackpack|removeBackpackGlobal|removeCuratorAddons|removeCuratorCameraArea|removeCuratorEditableObjects|removeCuratorEditingArea|removeDrawIcon|removeDrawLinks|removeEventHandler|removeFromRemainsCollector|removeGoggles|removeGroupIcon|removeHandgunItem|removeHeadgear|removeItem|removeItemFromBackpack|removeItemFromUniform|removeItemFromVest|removeItems|removeMagazine|removeMagazineGlobal|removeMagazines|removeMagazinesTurret|removeMagazineTurret|removeMenuItem|removeMissionEventHandler|removeMPEventHandler|removeMusicEventHandler|removeOwnedMine|removePrimaryWeaponItem|removeSecondaryWeaponItem|removeSimpleTask|removeSwitchableUnit|removeTeamMember|removeUniform|removeVest|removeWeapon|removeWeaponAttachmentCargo|removeWeaponCargo|removeWeaponGlobal|removeWeaponTurret|reportRemoteTarget|requiredVersion|resetCamShake|resetSubgroupDirection|resistance|resize|resources|respawnVehicle|restartEditorCamera|reveal|revealMine|reverse|reversedMouseY|roadAt|roadsConnectedTo|roleDescription|ropeAttachedObjects|ropeAttachedTo|ropeAttachEnabled|ropeAttachTo|ropeCreate|ropeCut|ropeDestroy|ropeDetach|ropeEndPosition|ropeLength|ropes|ropeUnwind|ropeUnwound|rotorsForcesRTD|rotorsRpmRTD|round|runInitScript|safeZoneH|safeZoneW|safeZoneWAbs|safeZoneX|safeZoneXAbs|safeZoneY|save3DENInventory|saveGame|saveIdentity|saveJoysticks|saveOverlay|saveProfileNamespace|saveStatus|saveVar|savingEnabled|say|say2D|say3D|score|scoreSide|screenshot|screenToWorld|scriptDone|scriptName|scriptNull|scudState|secondaryWeapon|secondaryWeaponItems|secondaryWeaponMagazine|select|selectBestPlaces|selectDiarySubject|selectedEditorObjects|selectEditorObject|selectionNames|selectionPosition|selectLeader|selectMax|selectMin|selectNoPlayer|selectPlayer|selectRandom|selectRandomWeighted|selectWeapon|selectWeaponTurret|sendAUMessage|sendSimpleCommand|sendTask|sendTaskResult|sendUDPMessage|serverCommand|serverCommandAvailable|serverCommandExecutable|serverName|serverTime|set|set3DENAttribute|set3DENAttributes|set3DENGrid|set3DENIconsVisible|set3DENLayer|set3DENLinesVisible|set3DENLogicType|set3DENMissionAttribute|set3DENMissionAttributes|set3DENModelsVisible|set3DENObjectType|set3DENSelected|setAccTime|setActualCollectiveRTD|setAirplaneThrottle|setAirportSide|setAmmo|setAmmoCargo|setAmmoOnPylon|setAnimSpeedCoef|setAperture|setApertureNew|setArmoryPoints|setAttributes|setAutonomous|setBehaviour|setBleedingRemaining|setBrakesRTD|setCameraInterest|setCamShakeDefParams|setCamShakeParams|setCamUseTI|setCaptive|setCenterOfMass|setCollisionLight|setCombatMode|setCompassOscillation|setConvoySeparation|setCuratorCameraAreaCeiling|setCuratorCoef|setCuratorEditingAreaType|setCuratorWaypointCost|setCurrentChannel|setCurrentTask|setCurrentWaypoint|setCustomAimCoef|setCustomWeightRTD|setDamage|setDammage|setDate|setDebriefingText|setDefaultCamera|setDestination|setDetailMapBlendPars|setDir|setDirection|setDrawIcon|setDriveOnPath|setDropInterval|setDynamicSimulationDistance|setDynamicSimulationDistanceCoef|setEditorMode|setEditorObjectScope|setEffectCondition|setEngineRpmRTD|setFace|setFaceAnimation|setFatigue|setFeatureType|setFlagAnimationPhase|setFlagOwner|setFlagSide|setFlagTexture|setFog|setForceGeneratorRTD|setFormation|setFormationTask|setFormDir|setFriend|setFromEditor|setFSMVariable|setFuel|setFuelCargo|setGroupIcon|setGroupIconParams|setGroupIconsSelectable|setGroupIconsVisible|setGroupId|setGroupIdGlobal|setGroupOwner|setGusts|setHideBehind|setHit|setHitIndex|setHitPointDamage|setHorizonParallaxCoef|setHUDMovementLevels|setIdentity|setImportance|setInfoPanel|setLeader|setLightAmbient|setLightAttenuation|setLightBrightness|setLightColor|setLightDayLight|setLightFlareMaxDistance|setLightFlareSize|setLightIntensity|setLightnings|setLightUseFlare|setLocalWindParams|setMagazineTurretAmmo|setMarkerAlpha|setMarkerAlphaLocal|setMarkerBrush|setMarkerBrushLocal|setMarkerColor|setMarkerColorLocal|setMarkerDir|setMarkerDirLocal|setMarkerPos|setMarkerPosLocal|setMarkerShape|setMarkerShapeLocal|setMarkerSize|setMarkerSizeLocal|setMarkerText|setMarkerTextLocal|setMarkerType|setMarkerTypeLocal|setMass|setMimic|setMousePosition|setMusicEffect|setMusicEventHandler|setName|setNameSound|setObjectArguments|setObjectMaterial|setObjectMaterialGlobal|setObjectProxy|setObjectTexture|setObjectTextureGlobal|setObjectViewDistance|setOvercast|setOwner|setOxygenRemaining|setParticleCircle|setParticleClass|setParticleFire|setParticleParams|setParticleRandom|setPilotCameraDirection|setPilotCameraRotation|setPilotCameraTarget|setPilotLight|setPiPEffect|setPitch|setPlateNumber|setPlayable|setPlayerRespawnTime|setPos|setPosASL|setPosASL2|setPosASLW|setPosATL|setPosition|setPosWorld|setPylonLoadOut|setPylonsPriority|setRadioMsg|setRain|setRainbow|setRandomLip|setRank|setRectangular|setRepairCargo|setRotorBrakeRTD|setShadowDistance|setShotParents|setSide|setSimpleTaskAlwaysVisible|setSimpleTaskCustomData|setSimpleTaskDescription|setSimpleTaskDestination|setSimpleTaskTarget|setSimpleTaskType|setSimulWeatherLayers|setSize|setSkill|setSlingLoad|setSoundEffect|setSpeaker|setSpeech|setSpeedMode|setStamina|setStaminaScheme|setStatValue|setSuppression|setSystemOfUnits|setTargetAge|setTaskMarkerOffset|setTaskResult|setTaskState|setTerrainGrid|setText|setTimeMultiplier|setTitleEffect|setToneMapping|setToneMappingParams|setTrafficDensity|setTrafficDistance|setTrafficGap|setTrafficSpeed|setTriggerActivation|setTriggerArea|setTriggerStatements|setTriggerText|setTriggerTimeout|setTriggerType|setType|setUnconscious|setUnitAbility|setUnitLoadout|setUnitPos|setUnitPosWeak|setUnitRank|setUnitRecoilCoefficient|setUnitTrait|setUnloadInCombat|setUserActionText|setUserMFDText|setUserMFDValue|setVariable|setVectorDir|setVectorDirAndUp|setVectorUp|setVehicleAmmo|setVehicleAmmoDef|setVehicleArmor|setVehicleCargo|setVehicleId|setVehicleInit|setVehicleLock|setVehiclePosition|setVehicleRadar|setVehicleReceiveRemoteTargets|setVehicleReportOwnPosition|setVehicleReportRemoteTargets|setVehicleTIPars|setVehicleVarName|setVelocity|setVelocityModelSpace|setVelocityTransformation|setViewDistance|setVisibleIfTreeCollapsed|setWantedRpmRTD|setWaves|setWaypointBehaviour|setWaypointCombatMode|setWaypointCompletionRadius|setWaypointDescription|setWaypointForceBehaviour|setWaypointFormation|setWaypointHousePosition|setWaypointLoiterRadius|setWaypointLoiterType|setWaypointName|setWaypointPosition|setWaypointScript|setWaypointSpeed|setWaypointStatements|setWaypointTimeout|setWaypointType|setWaypointVisible|setWeaponReloadingTime|setWind|setWindDir|setWindForce|setWindStr|setWingForceScaleRTD|setWPPos|show3DIcons|showChat|showCinemaBorder|showCommandingMenu|showCompass|showCuratorCompass|showGPS|showHUD|showLegend|showMap|shownArtilleryComputer|shownChat|shownCompass|shownCuratorCompass|showNewEditorObject|shownGPS|shownHUD|shownMap|shownPad|shownRadio|shownScoretable|shownUAVFeed|shownWarrant|shownWatch|showPad|showRadio|showScoretable|showSubtitles|showUAVFeed|showWarrant|showWatch|showWaypoint|showWaypoints|side|sideAmbientLife|sideChat|sideEmpty|sideEnemy|sideFriendly|sideLogic|sideRadio|sideUnknown|simpleTasks|simulationEnabled|simulCloudDensity|simulCloudOcclusion|simulInClouds|simulWeatherSync|sin|size|sizeOf|skill|skillFinal|skipTime|sleep|sliderPosition|sliderRange|sliderSetPosition|sliderSetRange|sliderSetSpeed|sliderSpeed|slingLoadAssistantShown|soldierMagazines|someAmmo|sort|soundVolume|speaker|speed|speedMode|splitString|sqrt|squadParams|stance|startLoadingScreen|stop|stopEngineRTD|stopped|str|sunOrMoon|supportInfo|suppressFor|surfaceIsWater|surfaceNormal|surfaceType|swimInDepth|switchableUnits|switchAction|switchCamera|switchGesture|switchLight|switchMove|synchronizedObjects|synchronizedTriggers|synchronizedWaypoints|synchronizeObjectsAdd|synchronizeObjectsRemove|synchronizeTrigger|synchronizeWaypoint|systemChat|systemOfUnits|tan|targetKnowledge|targets|targetsAggregate|targetsQuery|taskAlwaysVisible|taskChildren|taskCompleted|taskCustomData|taskDescription|taskDestination|taskHint|taskMarkerOffset|taskNull|taskParent|taskResult|taskState|taskType|teamMember|teamMemberNull|teamName|teams|teamSwitch|teamSwitchEnabled|teamType|terminate|terrainIntersect|terrainIntersectASL|terrainIntersectAtASL|text|textLog|textLogFormat|tg|time|timeMultiplier|titleCut|titleFadeOut|titleObj|titleRsc|titleText|toArray|toFixed|toLower|toString|toUpper|triggerActivated|triggerActivation|triggerArea|triggerAttachedVehicle|triggerAttachObject|triggerAttachVehicle|triggerDynamicSimulation|triggerStatements|triggerText|triggerTimeout|triggerTimeoutCurrent|triggerType|turretLocal|turretOwner|turretUnit|tvAdd|tvClear|tvCollapse|tvCollapseAll|tvCount|tvCurSel|tvData|tvDelete|tvExpand|tvExpandAll|tvPicture|tvPictureRight|tvSetColor|tvSetCurSel|tvSetData|tvSetPicture|tvSetPictureColor|tvSetPictureColorDisabled|tvSetPictureColorSelected|tvSetPictureRight|tvSetPictureRightColor|tvSetPictureRightColorDisabled|tvSetPictureRightColorSelected|tvSetSelectColor|tvSetText|tvSetTooltip|tvSetValue|tvSort|tvSortByValue|tvText|tvTooltip|tvValue|type|typeName|typeOf|UAVControl|uiNamespace|uiSleep|unassignCurator|unassignItem|unassignTeam|unassignVehicle|underwater|uniform|uniformContainer|uniformItems|uniformMagazines|unitAddons|unitAimPosition|unitAimPositionVisual|unitBackpack|unitIsUAV|unitPos|unitReady|unitRecoilCoefficient|units|unitsBelowHeight|unlinkItem|unlockAchievement|unregisterTask|updateDrawIcon|updateMenuItem|updateObjectTree|useAIOperMapObstructionTest|useAISteeringComponent|useAudioTimeForMoves|userInputDisabled|vectorAdd|vectorCos|vectorCrossProduct|vectorDiff|vectorDir|vectorDirVisual|vectorDistance|vectorDistanceSqr|vectorDotProduct|vectorFromTo|vectorMagnitude|vectorMagnitudeSqr|vectorModelToWorld|vectorModelToWorldVisual|vectorMultiply|vectorNormalized|vectorUp|vectorUpVisual|vectorWorldToModel|vectorWorldToModelVisual|vehicle|vehicleCargoEnabled|vehicleChat|vehicleRadio|vehicleReceiveRemoteTargets|vehicleReportOwnPosition|vehicleReportRemoteTargets|vehicles|vehicleVarName|velocity|velocityModelSpace|verifySignature|vest|vestContainer|vestItems|vestMagazines|viewDistance|visibleCompass|visibleGPS|visibleMap|visiblePosition|visiblePositionASL|visibleScoretable|visibleWatch|waitUntil|waves|waypointAttachedObject|waypointAttachedVehicle|waypointAttachObject|waypointAttachVehicle|waypointBehaviour|waypointCombatMode|waypointCompletionRadius|waypointDescription|waypointForceBehaviour|waypointFormation|waypointHousePosition|waypointLoiterRadius|waypointLoiterType|waypointName|waypointPosition|waypoints|waypointScript|waypointsEnabledUAV|waypointShow|waypointSpeed|waypointStatements|waypointTimeout|waypointTimeoutCurrent|waypointType|waypointVisible|weaponAccessories|weaponAccessoriesCargo|weaponCargo|weaponDirection|weaponInertia|weaponLowered|weapons|weaponsItems|weaponsItemsCargo|weaponState|weaponsTurret|weightRTD|west|WFSideText|wind|windDir|windRTD|windStr|wingsForcesRTD|worldName|worldSize|worldToModel|worldToModelVisual|worldToScreen)\b/i,number:/(?:\$|\b0x)[\da-f]+\b|(?:\B\.\d+|\b\d+(?:\.\d+)?)(?:e[+-]?\d+)?\b/i,operator:/##|>>|&&|\|\||[!=<>]=?|[-+*/%#^]|\b(?:and|mod|not|or)\b/i,"magic-variable":{pattern:/\b(?:this|thisList|thisTrigger|_exception|_fnc_scriptName|_fnc_scriptNameParent|_forEachIndex|_this|_thisEventHandler|_thisFSM|_thisScript|_x)\b/i,alias:"keyword"},constant:/\bDIK(?:_[a-z\d]+)+\b/i}),e.languages.insertBefore("sqf","string",{macro:{pattern:/(^[ \t]*)#[a-z](?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{directive:{pattern:/#[a-z]+\b/i,alias:"keyword"},comment:e.languages.sqf.comment}}}),delete e.languages.sqf["class-name"]}function sm(e){e.register(Kc),e.languages.squirrel=e.languages.extend("clike",{comment:[e.languages.clike.comment[0],{pattern:/(^|[^\\:])(?:\/\/|#).*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^\\"'@])(?:@"(?:[^"]|"")*"(?!")|"(?:[^\\\r\n"]|\\.)*")/,lookbehind:!0,greedy:!0},"class-name":{pattern:/(\b(?:class|enum|extends|instanceof)\s+)\w+(?:\.\w+)*/,lookbehind:!0,inside:{punctuation:/\./}},keyword:/\b(?:__FILE__|__LINE__|base|break|case|catch|class|clone|const|constructor|continue|default|delete|else|enum|extends|for|foreach|function|if|in|instanceof|local|null|resume|return|static|switch|this|throw|try|typeof|while|yield)\b/,number:/\b(?:0x[0-9a-fA-F]+|\d+(?:\.(?:\d+|[eE][+-]?\d+))?)\b/,operator:/\+\+|--|<=>|<[-<]|>>>?|&&?|\|\|?|[-+*/%!=<>]=?|[~^]|::?/,punctuation:/[(){}\[\],;.]/}),e.languages.insertBefore("squirrel","string",{char:{pattern:/(^|[^\\"'])'(?:[^\\']|\\(?:[xuU][0-9a-fA-F]{0,8}|[\s\S]))'/,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("squirrel","operator",{"attribute-punctuation":{pattern:/<\/|\/>/,alias:"important"},lambda:{pattern:/@(?=\()/,alias:"operator"}})}function lm(e){!function(e){var t=/\b(?:algebra_solver|algebra_solver_newton|integrate_1d|integrate_ode|integrate_ode_bdf|integrate_ode_rk45|map_rect|ode_(?:adams|bdf|ckrk|rk45)(?:_tol)?|ode_adjoint_tol_ctl|reduce_sum|reduce_sum_static)\b/;e.languages.stan={comment:/\/\/.*|\/\*[\s\S]*?\*\/|#(?!include).*/,string:{pattern:/"[\x20\x21\x23-\x5B\x5D-\x7E]*"/,greedy:!0},directive:{pattern:/^([ \t]*)#include\b.*/m,lookbehind:!0,alias:"property"},"function-arg":{pattern:RegExp("("+t.source+/\s*\(\s*/.source+")"+/[a-zA-Z]\w*/.source),lookbehind:!0,alias:"function"},constraint:{pattern:/(\b(?:int|matrix|real|row_vector|vector)\s*)<[^<>]*>/,lookbehind:!0,inside:{expression:{pattern:/(=\s*)\S(?:\S|\s+(?!\s))*?(?=\s*(?:>$|,\s*\w+\s*=))/,lookbehind:!0,inside:null},property:/\b[a-z]\w*(?=\s*=)/i,operator:/=/,punctuation:/^<|>$|,/}},keyword:[{pattern:/\bdata(?=\s*\{)|\b(?:functions|generated|model|parameters|quantities|transformed)\b/,alias:"program-block"},/\b(?:array|break|cholesky_factor_corr|cholesky_factor_cov|complex|continue|corr_matrix|cov_matrix|data|else|for|if|in|increment_log_prob|int|matrix|ordered|positive_ordered|print|real|reject|return|row_vector|simplex|target|unit_vector|vector|void|while)\b/,t],function:/\b[a-z]\w*(?=\s*\()/i,number:/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:E[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,boolean:/\b(?:false|true)\b/,operator:/<-|\.[*/]=?|\|\|?|&&|[!=<>+\-*/]=?|['^%~?:]/,punctuation:/[()\[\]{},;]/},e.languages.stan.constraint.inside.expression.inside=e.languages.stan}(e)}function cm(e){e.register(ou),e.register(Pd),e.register(_u),e.languages.stata={comment:[{pattern:/(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|\s)\/\/.*|\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0}],"string-literal":{pattern:/"[^"\r\n]*"|[‘`']".*?"[’`']/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}|[‘`']\w[^’`'\r\n]*[’`']/,inside:{punctuation:/^\$\{|\}$/,expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},mata:{pattern:/(^[ \t]*mata[ \t]*:)[\s\S]+?(?=^end\b)/m,lookbehind:!0,greedy:!0,alias:"language-mata",inside:e.languages.mata},java:{pattern:/(^[ \t]*java[ \t]*:)[\s\S]+?(?=^end\b)/m,lookbehind:!0,greedy:!0,alias:"language-java",inside:e.languages.java},python:{pattern:/(^[ \t]*python[ \t]*:)[\s\S]+?(?=^end\b)/m,lookbehind:!0,greedy:!0,alias:"language-python",inside:e.languages.python},command:{pattern:/(^[ \t]*(?:\.[ \t]+)?(?:(?:bayes|bootstrap|by|bysort|capture|collect|fmm|fp|frame|jackknife|mfp|mi|nestreg|noisily|permute|quietly|rolling|simulate|statsby|stepwise|svy|version|xi)\b[^:\r\n]*:[ \t]*|(?:capture|noisily|quietly|version)[ \t]+)?)[a-zA-Z]\w*/m,lookbehind:!0,greedy:!0,alias:"keyword"},variable:/\$\w+|[‘`']\w[^’`'\r\n]*[’`']/,keyword:/\b(?:bayes|bootstrap|by|bysort|capture|clear|collect|fmm|fp|frame|if|in|jackknife|mi[ \t]+estimate|mfp|nestreg|noisily|of|permute|quietly|rolling|simulate|sort|statsby|stepwise|svy|varlist|version|xi)\b/,boolean:/\b(?:off|on)\b/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+/,function:/\b[a-z_]\w*(?=\()/i,operator:/\+\+|--|##?|[<>!=~]=?|[+\-*^&|/]/,punctuation:/[(){}[\],:]/},e.languages.stata["string-literal"].inside.interpolation.inside.expression.inside=e.languages.stata}function um(e){e.languages.iecst={comment:[{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\(\*[\s\S]*?(?:\*\)|$)|\{[\s\S]*?(?:\}|$))/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:[/\b(?:END_)?(?:PROGRAM|CONFIGURATION|INTERFACE|FUNCTION_BLOCK|FUNCTION|ACTION|TRANSITION|TYPE|STRUCT|(?:INITIAL_)?STEP|NAMESPACE|LIBRARY|CHANNEL|FOLDER|RESOURCE|VAR_(?:ACCESS|CONFIG|EXTERNAL|GLOBAL|INPUT|IN_OUT|OUTPUT|TEMP)|VAR|METHOD|PROPERTY)\b/i,/\b(?:AT|BY|(?:END_)?(?:CASE|FOR|IF|REPEAT|WHILE)|CONSTANT|CONTINUE|DO|ELSE|ELSIF|EXIT|EXTENDS|FROM|GET|GOTO|IMPLEMENTS|JMP|NON_RETAIN|OF|PRIVATE|PROTECTED|PUBLIC|RETAIN|RETURN|SET|TASK|THEN|TO|UNTIL|USING|WITH|__CATCH|__ENDTRY|__FINALLY|__TRY)\b/],"class-name":/\b(?:ANY|ARRAY|BOOL|BYTE|U?(?:D|L|S)?INT|(?:D|L)?WORD|DATE(?:_AND_TIME)?|DT|L?REAL|POINTER|STRING|TIME(?:_OF_DAY)?|TOD)\b/,address:{pattern:/%[IQM][XBWDL][\d.]*|%[IQ][\d.]*/,alias:"symbol"},number:/\b(?:16#[\da-f]+|2#[01_]+|0x[\da-f]+)\b|\b(?:D|DT|T|TOD)#[\d_shmd:]*|\b[A-Z]*#[\d.,_]*|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/,operator:/S?R?:?=>?|&&?|\*\*?|<[=>]?|>=?|[-:^/+#]|\b(?:AND|EQ|EXPT|GE|GT|LE|LT|MOD|NE|NOT|OR|XOR)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,punctuation:/[()[\].,;]/}}function hm(e){e.languages.supercollider={comment:{pattern:/\/\/.*|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^"\\]|\\[\s\S])*"/,lookbehind:!0,greedy:!0},char:{pattern:/\$(?:[^\\\r\n]|\\.)/,greedy:!0},symbol:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'|\\\w+/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|arg|classvar|const|nil|var|while)\b/,boolean:/\b(?:false|true)\b/,label:{pattern:/\b[a-z_]\w*(?=\s*:)/,alias:"property"},number:/\b(?:inf|pi|0x[0-9a-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(?:pi)?|\d+r[0-9a-zA-Z]+(?:\.[0-9a-zA-Z]+)?|\d+[sb]{1,4}\d*)\b/,"class-name":/\b[A-Z]\w*\b/,operator:/\.{2,3}|#(?![[{])|&&|[!=]==?|\+>>|\+{1,3}|-[->]|=>|>>|\?\?|@\|?@|\|(?:@|[!=]=)?\||!\?|<[!=>]|\*{1,2}|<{2,3}\*?|[-!%&/<>?@|=`]/,punctuation:/[{}()[\].:,;]|#[[{]/},e.languages.sclang=e.languages.supercollider}function pm(e){!function(e){var t={pattern:/^[;#].*/m,greedy:!0},n=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source;e.languages.systemd={comment:t,section:{pattern:/^\[[^\n\r\[\]]*\](?=[ \t]*$)/m,greedy:!0,inside:{punctuation:/^\[|\]$/,"section-name":{pattern:/[\s\S]+/,alias:"selector"}}},key:{pattern:/^[^\s=]+(?=[ \t]*=)/m,greedy:!0,alias:"attr-name"},value:{pattern:RegExp(/(=[ \t]*(?!\s))/.source+"(?:"+n+'|(?=[^"\r\n]))(?:'+/[^\s\\]/.source+'|[ \t]+(?:(?![ \t"])|'+n+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:t,quoted:{pattern:RegExp(/(^|\s)/.source+n),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}}(e)}function dm(e){!function(e){function t(e,t,n){return{pattern:RegExp("<#"+e+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+e+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:t,alias:n}}}}e.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:function(n){var r=e.languages[n],i="language-"+n;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:t("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:t("=",r,i),"class-feature":t("\\+",r,i),standard:t("",r,i)}}}}})}(e)}function fm(e){e.register(Jc),e.register(dm),e.languages.t4=e.languages["t4-cs"]=e.languages["t4-templating"].createT4("csharp")}function mm(e){e.register(dm),e.register(Lu),e.languages["t4-vb"]=e.languages["t4-templating"].createT4("vbnet")}function gm(e){e.register(du),e.languages.tap={fail:/not ok[^#{\n\r]*/,pass:/ok[^#{\n\r]*/,pragma:/pragma [+-][a-z]+/,bailout:/bail out!.*/i,version:/TAP version \d+/i,plan:/\b\d+\.\.\d+(?: +#.*)?/,subtest:{pattern:/# Subtest(?:: .*)?/,greedy:!0},punctuation:/[{}]/,directive:/#.*/,yamlish:{pattern:/(^[ \t]*)---[\s\S]*?[\r\n][ \t]*\.\.\.$/m,lookbehind:!0,inside:e.languages.yaml,alias:"language-yaml"}}}function ym(e){e.languages.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,greedy:!0},variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,lookbehind:!0},{pattern:/(\$)\{[^}]+\}/,lookbehind:!0},{pattern:/(^[\t ]*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,lookbehind:!0}],function:{pattern:/(^[\t ]*proc[ \t]+)\S+/m,lookbehind:!0},builtin:[{pattern:/(^[\t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while)\b/m,lookbehind:!0},/\b(?:else|elseif)\b/],scope:{pattern:/(^[\t ]*)(?:global|upvar|variable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^[\t ]*|\[)(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|in|ne|ni)\b/,punctuation:/[{}()\[\]]/}}function vm(e){e.register(Kc),e.register(yu),function(e){e.languages.tt2=e.languages.extend("clike",{comment:/#.*|\[%#[\s\S]*?%\]/,keyword:/\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,punctuation:/[[\]{},()]/}),e.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),e.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),e.languages.insertBefore("tt2","string",{"single-quoted-string":{pattern:/'[^\\']*(?:\\[\s\S][^\\']*)*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,greedy:!0,alias:"string",inside:{variable:{pattern:/\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i}}}}),delete e.languages.tt2.string,e.hooks.add("before-tokenize",(function(t){e.languages["markup-templating"].buildPlaceholders(t,"tt2",/\[%[\s\S]+?%\]/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"tt2")}))}(e)}function _m(e){!function(e){var t=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function n(e){return e.replace(/__/g,(function(){return t}))}e.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(n(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(n(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}}(e)}function bm(e){!function(e){e.languages.tremor={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},"interpolated-string":null,extractor:{pattern:/\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,greedy:!0,inside:{regex:{pattern:/(^re)\|[\s\S]+/,lookbehind:!0},function:/^\w+/,value:/\|[\s\S]+/}},identifier:{pattern:/`[^`]*`/,greedy:!0},function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,keyword:/\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,"pattern-punctuation":{pattern:/%(?=[({[])/,alias:"punctuation"},operator:/[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?>?=?|(?:absent|and|not|or|present|xor)\b/,punctuation:/::|[;\[\]()\{\},.:]/};var t=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source;e.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+t+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+t+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(t),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.tremor}}},string:/[\s\S]+/}},e.languages.troy=e.languages.tremor,e.languages.trickle=e.languages.tremor}(e)}function Em(e){!function(e){var t=/\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/;e.languages.typoscript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^"'])#.*/,lookbehind:!0,greedy:!0}],function:[{pattern://,inside:{string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,inside:{keyword:t}},keyword:{pattern:/INCLUDE_TYPOSCRIPT/}}},{pattern:/@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,inside:{string:/"[^"\r\n]*"|'[^'\r\n]*'/}}],string:{pattern:/^([^=]*=[< ]?)(?:(?!\]\n).)*/,lookbehind:!0,inside:{function:/\{\$.*\}/,keyword:t,number:/^\d+$/,punctuation:/[,|:]/}},keyword:t,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},e.languages.tsconfig=e.languages.typoscript}(e)}function Tm(e){e.languages.unrealscript={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},category:{pattern:/(\b(?:(?:autoexpand|hide|show)categories|var)\s*\()[^()]+(?=\))/,lookbehind:!0,greedy:!0,alias:"property"},metadata:{pattern:/(\w\s*)<\s*\w+\s*=[^<>|=\r\n]+(?:\|\s*\w+\s*=[^<>|=\r\n]+)*>/,lookbehind:!0,greedy:!0,inside:{property:/\b\w+(?=\s*=)/,operator:/=/,punctuation:/[<>|]/}},macro:{pattern:/`\w+/,alias:"property"},"class-name":{pattern:/(\b(?:class|enum|extends|interface|state(?:\(\))?|struct|within)\s+)\w+/,lookbehind:!0},keyword:/\b(?:abstract|actor|array|auto|autoexpandcategories|bool|break|byte|case|class|classgroup|client|coerce|collapsecategories|config|const|continue|default|defaultproperties|delegate|dependson|deprecated|do|dontcollapsecategories|editconst|editinlinenew|else|enum|event|exec|export|extends|final|float|for|forcescriptorder|foreach|function|goto|guid|hidecategories|hidedropdown|if|ignores|implements|inherits|input|int|interface|iterator|latent|local|material|name|native|nativereplication|noexport|nontransient|noteditinlinenew|notplaceable|operator|optional|out|pawn|perobjectconfig|perobjectlocalized|placeable|postoperator|preoperator|private|protected|reliable|replication|return|server|showcategories|simulated|singular|state|static|string|struct|structdefault|structdefaultproperties|switch|texture|transient|travel|unreliable|until|var|vector|while|within)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/>>|<<|--|\+\+|\*\*|[-+*/~!=<>$@]=?|&&?|\|\|?|\^\^?|[?:%]|\b(?:ClockwiseFrom|Cross|Dot)\b/,punctuation:/[()[\]{};,.]/},e.languages.uc=e.languages.uscript=e.languages.unrealscript}function xm(e){e.languages.uorazor={"comment-hash":{pattern:/#.*/,alias:"comment",greedy:!0},"comment-slash":{pattern:/\/\/.*/,alias:"comment",greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/},greedy:!0},"source-layers":{pattern:/\b(?:arms|backpack|blue|bracelet|cancel|clear|cloak|criminal|earrings|enemy|facialhair|friend|friendly|gloves|gray|grey|ground|hair|head|innerlegs|innertorso|innocent|lefthand|middletorso|murderer|neck|nonfriendly|onehandedsecondary|outerlegs|outertorso|pants|red|righthand|ring|self|shirt|shoes|talisman|waist)\b/i,alias:"function"},"source-commands":{pattern:/\b(?:alliance|attack|cast|clearall|clearignore|clearjournal|clearlist|clearsysmsg|createlist|createtimer|dclick|dclicktype|dclickvar|dress|dressconfig|drop|droprelloc|emote|getlabel|guild|gumpclose|gumpresponse|hotkey|ignore|lasttarget|lift|lifttype|menu|menuresponse|msg|org|organize|organizer|overhead|pause|poplist|potion|promptresponse|pushlist|removelist|removetimer|rename|restock|say|scav|scavenger|script|setability|setlasttarget|setskill|settimer|setvar|sysmsg|target|targetloc|targetrelloc|targettype|undress|unignore|unsetvar|useobject|useonce|useskill|usetype|virtue|wait|waitforgump|waitformenu|waitforprompt|waitforstat|waitforsysmsg|waitfortarget|walk|wfsysmsg|wft|whisper|yell)\b/,alias:"function"},"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},function:/\b(?:atlist|close|closest|count|counter|counttype|dead|dex|diffhits|diffmana|diffstam|diffweight|find|findbuff|finddebuff|findlayer|findtype|findtypelist|followers|gumpexists|hidden|hits|hp|hue|human|humanoid|ingump|inlist|insysmessage|insysmsg|int|invul|lhandempty|list|listexists|mana|maxhits|maxhp|maxmana|maxstam|maxweight|monster|mounted|name|next|noto|paralyzed|poisoned|position|prev|previous|queued|rand|random|rhandempty|skill|stam|str|targetexists|timer|timerexists|varexist|warmode|weight)\b/,keyword:/\b(?:and|as|break|continue|else|elseif|endfor|endif|endwhile|for|if|loop|not|or|replay|stop|while)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/}}function Sm(e){e.register(Kc),function(e){var t={pattern:/[\s\S]+/,inside:null};e.languages.v=e.languages.extend("clike",{string:{pattern:/r?(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,alias:"quoted-string",greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[^{}]*\}|\w+(?:\.\w+(?:\([^\(\)]*\))?|\[[^\[\]]+\])*)/,lookbehind:!0,inside:{"interpolation-variable":{pattern:/^\$\w[\s\S]*$/,alias:"variable"},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},"interpolation-expression":t}}}},"class-name":{pattern:/(\b(?:enum|interface|struct|type)\s+)(?:C\.)?\w+/,lookbehind:!0},keyword:/(?:\b(?:__global|as|asm|assert|atomic|break|chan|const|continue|defer|else|embed|enum|fn|for|go(?:to)?|if|import|in|interface|is|lock|match|module|mut|none|or|pub|return|rlock|select|shared|sizeof|static|struct|type(?:of)?|union|unsafe)|\$(?:else|for|if)|#(?:flag|include))\b/,number:/\b(?:0x[a-f\d]+(?:_[a-f\d]+)*|0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?)\b/i,operator:/~|\?|[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\.?/,builtin:/\b(?:any(?:_float|_int)?|bool|byte(?:ptr)?|charptr|f(?:32|64)|i(?:8|16|64|128|nt)|rune|size_t|string|u(?:16|32|64|128)|voidptr)\b/}),t.inside=e.languages.v,e.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),e.languages.insertBefore("v","operator",{attribute:{pattern:/(^[\t ]*)\[(?:deprecated|direct_array_access|flag|inline|live|ref_only|typedef|unsafe_fn|windows_stdcall)\]/m,lookbehind:!0,alias:"annotation",inside:{punctuation:/[\[\]]/,keyword:/\w+/}},generic:{pattern:/<\w+>(?=\s*[\)\{])/,inside:{punctuation:/[<>]/,"class-name":/\w+/}}}),e.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:e.languages.v.generic.inside}}}})}(e)}function Cm(e){e.register(Kc),e.languages.vala=e.languages.extend("clike",{"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|enum|interface|new|struct)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],keyword:/\b(?:abstract|as|assert|async|base|bool|break|case|catch|char|class|const|construct|continue|default|delegate|delete|do|double|dynamic|else|ensures|enum|errordomain|extern|finally|float|for|foreach|get|if|in|inline|int|int16|int32|int64|int8|interface|internal|is|lock|long|namespace|new|null|out|override|owned|params|private|protected|public|ref|requires|return|set|short|signal|sizeof|size_t|ssize_t|static|string|struct|switch|this|throw|throws|try|typeof|uchar|uint|uint16|uint32|uint64|uint8|ulong|unichar|unowned|ushort|using|value|var|virtual|void|volatile|weak|while|yield)\b/i,function:/\b\w+(?=\s*\()/,number:/(?:\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i,operator:/\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./,punctuation:/[{}[\];(),.:]/,constant:/\b[A-Z0-9_]+\b/}),e.languages.insertBefore("vala","string",{"raw-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"template-string":{pattern:/@"[\s\S]*?"/,greedy:!0,inside:{interpolation:{pattern:/\$(?:\([^)]*\)|[a-zA-Z]\w*)/,inside:{delimiter:{pattern:/^\$\(?|\)$/,alias:"punctuation"},rest:e.languages.vala}},string:/[\s\S]+/}}}),e.languages.insertBefore("vala","keyword",{regex:{pattern:/\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[imsx]{0,4}(?=\s*(?:$|[\r\n,.;})\]]))/,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\//,"regex-flags":/^[a-z]+$/}}})}function Am(e){e.register(eu),function(e){e.languages.velocity=e.languages.extend("markup",{});var t={variable:{pattern:/(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+\])*|\{[^}]+\})/i,lookbehind:!0,inside:{}},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},number:/\b\d+\b/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|[+*/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/,punctuation:/[(){}[\]:,.]/};t.variable.inside={string:t.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:t.number,boolean:t.boolean,punctuation:t.punctuation},e.languages.insertBefore("velocity","comment",{unparsed:{pattern:/(^|[^\\])#\[\[[\s\S]*?\]\]#/,lookbehind:!0,greedy:!0,inside:{punctuation:/^#\[\[|\]\]#$/}},"velocity-comment":[{pattern:/(^|[^\\])#\*[\s\S]*?\*#/,lookbehind:!0,greedy:!0,alias:"comment"},{pattern:/(^|[^\\])##.*/,lookbehind:!0,greedy:!0,alias:"comment"}],directive:{pattern:/(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i,lookbehind:!0,inside:{keyword:{pattern:/^#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})|\bin\b/,inside:{punctuation:/[{}]/}},rest:t}},variable:t.variable}),e.languages.velocity.tag.inside["attr-value"].inside.rest=e.languages.velocity}(e)}function Rm(e){e.languages.verilog={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"kernel-function":{pattern:/\B\$\w+\b/,alias:"property"},constant:/\B`\w+\b/,function:/\b\w+(?=\()/,keyword:/\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|case|casex|casez|cell|chandle|class|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endsequence|endspecify|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|or|output|package|packed|parameter|pmos|posedge|primitive|priority|program|property|protected|pull0|pull1|pulldown|pullup|pulsestyle_ondetect|pulsestyle_onevent|pure|rand|randc|randcase|randsequence|rcmos|real|realtime|ref|reg|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/,important:/\b(?:always|always_comb|always_ff|always_latch)\b(?: *@)?/,number:/\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b(?:\d*[._])?\d+(?:e[-+]?\d+)?/i,operator:/[-+{}^~%*\/?=!<>&|]+/,punctuation:/[[\];(),.:]/}}function wm(e){e.languages.vhdl={comment:/--.+/,"vhdl-vectors":{pattern:/\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i,alias:"number"},"quoted-function":{pattern:/"\S+?"(?=\()/,alias:"function"},string:/"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,attribute:{pattern:/\b'\w+/,alias:"attr-name"},keyword:/\b(?:access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|private|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|view|wait|when|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\w+(?=\()/,number:/'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,operator:/[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,punctuation:/[{}[\];(),.:]/}}function Lm(e){e.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\b\w+(?=\()/,keyword:/\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}}function Om(e){e.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/},e.languages.vb=e.languages["visual-basic"],e.languages.vba=e.languages["visual-basic"]}function Nm(e){e.languages.warpscript={comment:/#.*|\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,greedy:!0},variable:/\$\S+/,macro:{pattern:/@\S+/,alias:"property"},keyword:/\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,number:/[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,boolean:/\b(?:F|T|false|true)\b/,punctuation:/<%|%>|[{}[\]()]/,operator:/==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/}}function Im(e){e.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/}}function km(e){!function(e){var t=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,n="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+t+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,r={};for(var i in e.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+t),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:r},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+n),lookbehind:!0,inside:r},{pattern:RegExp("("+/\bcallback\s+/.source+t+/\s*=\s*/.source+")"+n),lookbehind:!0,inside:r},{pattern:RegExp(/(\btypedef\b\s*)/.source+n),lookbehind:!0,inside:r},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+t),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+t),lookbehind:!0},RegExp(t+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+t),lookbehind:!0},{pattern:RegExp(n+"(?="+/\s*(?:\.{3}\s*)?/.source+t+/\s*[(),;=]/.source+")"),inside:r}],builtin:/\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,keyword:[/\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/,/\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/],boolean:/\b(?:false|true)\b/,number:{pattern:/(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,lookbehind:!0},operator:/\.{3}|[=:?<>-]/,punctuation:/[(){}[\].,;]/},e.languages["web-idl"])"class-name"!==i&&(r[i]=e.languages["web-idl"][i]);e.languages.webidl=e.languages["web-idl"]}(e)}function Dm(e){e.languages.wgsl={comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},"builtin-attribute":{pattern:/(@)builtin\(.*?\)/,lookbehind:!0,inside:{attribute:{pattern:/^builtin/,alias:"attr-name"},punctuation:/[(),]/,"built-in-values":{pattern:/\b(?:frag_depth|front_facing|global_invocation_id|instance_index|local_invocation_id|local_invocation_index|num_workgroups|position|sample_index|sample_mask|vertex_index|workgroup_id)\b/,alias:"attr-value"}}},attributes:{pattern:/(@)(?:align|binding|compute|const|fragment|group|id|interpolate|invariant|location|size|vertex|workgroup_size)/i,lookbehind:!0,alias:"attr-name"},functions:{pattern:/\b(fn\s+)[_a-zA-Z]\w*(?=[(<])/,lookbehind:!0,alias:"function"},keyword:/\b(?:bitcast|break|case|const|continue|continuing|default|discard|else|enable|fallthrough|fn|for|function|if|let|loop|private|return|storage|struct|switch|type|uniform|var|while|workgroup)\b/,builtin:/\b(?:abs|acos|acosh|all|any|array|asin|asinh|atan|atan2|atanh|atomic|atomicAdd|atomicAnd|atomicCompareExchangeWeak|atomicExchange|atomicLoad|atomicMax|atomicMin|atomicOr|atomicStore|atomicSub|atomicXor|bool|ceil|clamp|cos|cosh|countLeadingZeros|countOneBits|countTrailingZeros|cross|degrees|determinant|distance|dot|dpdx|dpdxCoarse|dpdxFine|dpdy|dpdyCoarse|dpdyFine|exp|exp2|extractBits|f32|f64|faceForward|firstLeadingBit|floor|fma|fract|frexp|fwidth|fwidthCoarse|fwidthFine|i32|i64|insertBits|inverseSqrt|ldexp|length|log|log2|mat[2-4]x[2-4]|max|min|mix|modf|normalize|override|pack2x16float|pack2x16snorm|pack2x16unorm|pack4x8snorm|pack4x8unorm|pow|ptr|quantizeToF16|radians|reflect|refract|reverseBits|round|sampler|sampler_comparison|select|shiftLeft|shiftRight|sign|sin|sinh|smoothstep|sqrt|staticAssert|step|storageBarrier|tan|tanh|textureDimensions|textureGather|textureGatherCompare|textureLoad|textureNumLayers|textureNumLevels|textureNumSamples|textureSample|textureSampleBias|textureSampleCompare|textureSampleCompareLevel|textureSampleGrad|textureSampleLevel|textureStore|texture_1d|texture_2d|texture_2d_array|texture_3d|texture_cube|texture_cube_array|texture_depth_2d|texture_depth_2d_array|texture_depth_cube|texture_depth_cube_array|texture_depth_multisampled_2d|texture_multisampled_2d|texture_storage_1d|texture_storage_2d|texture_storage_2d_array|texture_storage_3d|transpose|trunc|u32|u64|unpack2x16float|unpack2x16snorm|unpack2x16unorm|unpack4x8snorm|unpack4x8unorm|vec[2-4]|workgroupBarrier)\b/,"function-calls":{pattern:/\b[_a-z]\w*(?=\()/i,alias:"function"},"class-name":/\b(?:[A-Z][A-Za-z0-9]*)\b/,"bool-literal":{pattern:/\b(?:false|true)\b/,alias:"boolean"},"hex-int-literal":{pattern:/\b0[xX][0-9a-fA-F]+[iu]?\b(?![.pP])/,alias:"number"},"hex-float-literal":{pattern:/\b0[xX][0-9a-fA-F]*(?:\.[0-9a-fA-F]*)?(?:[pP][+-]?\d+[fh]?)?/,alias:"number"},"decimal-float-literal":[{pattern:/\d*\.\d+(?:[eE](?:\+|-)?\d+)?[fh]?/,alias:"number"},{pattern:/\d+\.\d*(?:[eE](?:\+|-)?\d+)?[fh]?/,alias:"number"},{pattern:/\d+[eE](?:\+|-)?\d+[fh]?/,alias:"number"},{pattern:/\b\d+[fh]\b/,alias:"number"}],"int-literal":{pattern:/\b\d+[iu]?\b/,alias:"number"},operator:[{pattern:/(?:\^|~|\|(?!\|)|\|\||&&|<<|>>|!)(?!=)/},{pattern:/&(?![&=])/},{pattern:/(?:\+=|-=|\*=|\/=|%=|\^=|&=|\|=|<<=|>>=)/},{pattern:/(^|[^<>=!])=(?![=>])/,lookbehind:!0},{pattern:/(?:==|!=|<=|\+\+|--|(^|[^=])>=)/,lookbehind:!0},{pattern:/(?:(?:[+%]|(?:\*(?!\w)))(?!=))|(?:-(?!>))|(?:\/(?!\/))/},{pattern:/->/}],punctuation:/[@(){}[\],;<>:.]/}}function Pm(e){e.register(eu),e.languages.wiki=e.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+)[^=\r\n].*?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold-italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0,alias:["bold","italic"]},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:e.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),e.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,inside:e.languages.markup.tag.inside}}}})}function Mm(e){e.languages.wolfram={comment:/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,context:{pattern:/\b\w+`+\w*/,alias:"class-name"},blank:{pattern:/\b\w+_\b/,alias:"regex"},"global-variable":{pattern:/\$\w+/,alias:"variable"},boolean:/\b(?:False|True)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},e.languages.mathematica=e.languages.wolfram,e.languages.wl=e.languages.wolfram,e.languages.nb=e.languages.wolfram}function Fm(e){e.languages.wren={comment:[{pattern:/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"string-literal":null,hashbang:{pattern:/^#!\/.+/,greedy:!0,alias:"comment"},attribute:{pattern:/#!?[ \t\u3000]*\w+/,alias:"keyword"},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},/\b[A-Z][a-z\d_]*\b/],constant:/\b[A-Z][A-Z\d_]*\b/,null:{pattern:/\bnull\b/,alias:"keyword"},keyword:/\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,function:/\b[a-z_]\w*(?=\s*[({])/i,operator:/<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,punctuation:/[\[\](){}.,;]/},e.languages.wren["string-literal"]={pattern:/(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,lookbehind:!0,inside:{expression:{pattern:/^(%\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:e.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}}}function Hm(e){e.register(eu),function(e){e.languages.xeora=e.languages.extend("markup",{constant:{pattern:/\$(?:DomainContents|PageRenderDuration)\$/,inside:{punctuation:{pattern:/\$/}}},variable:{pattern:/\$@?(?:#+|[-+*~=^])?[\w.]+\$/,inside:{punctuation:{pattern:/[$.]/},operator:{pattern:/#+|[-+*~=^@]/}}},"function-inline":{pattern:/\$F:[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\$/,inside:{variable:{pattern:/(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/,inside:{punctuation:{pattern:/[,.|]/},operator:{pattern:/#+|[-+*~=^@]/}}},punctuation:{pattern:/\$\w:|[$:?.,|]/}},alias:"function"},"function-block":{pattern:/\$XF:\{[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\}:XF\$/,inside:{punctuation:{pattern:/[$:{}?.,|]/}},alias:"function"},"directive-inline":{pattern:/\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\/\w.]+\$/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}}},alias:"function"},"directive-block-open":{pattern:/\$\w+:\{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\w.]+:\{(?:![A-Z]+)?/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}},attribute:{pattern:/![A-Z]+$/,inside:{punctuation:{pattern:/!/}},alias:"keyword"}},alias:"function"},"directive-block-separator":{pattern:/\}:[-\w.]+:\{/,inside:{punctuation:{pattern:/[:{}]/}},alias:"function"},"directive-block-close":{pattern:/\}:[-\w.]+\$/,inside:{punctuation:{pattern:/[:{}$]/}},alias:"function"}}),e.languages.insertBefore("inside","punctuation",{variable:e.languages.xeora["function-inline"].inside.variable},e.languages.xeora["function-block"]),e.languages.xeoracube=e.languages.xeora}(e)}function Bm(e){e.register(eu),function(e){function t(t,n){e.languages[t]&&e.languages.insertBefore(t,"comment",{"doc-comment":n})}var n=e.languages.markup.tag,r={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:n}},i={pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:n}};t("csharp",r),t("fsharp",r),t("vbnet",i)}(e)}function Um(e){e.languages.xojo={comment:{pattern:/(?:'|\/\/|Rem\b).+/i,greedy:!0},string:{pattern:/"(?:""|[^"])*"/,greedy:!0},number:[/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,/&[bchou][a-z\d]+/i],directive:{pattern:/#(?:Else|ElseIf|Endif|If|Pragma)\b/i,alias:"property"},keyword:/\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,operator:/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,punctuation:/[.,;:()]/}}function jm(e){e.register(eu),function(e){e.languages.xquery=e.languages.extend("markup",{"xquery-comment":{pattern:/\(:[\s\S]*?:\)/,greedy:!0,alias:"comment"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0},extension:{pattern:/\(#.+?#\)/,alias:"symbol"},variable:/\$[-\w:]+/,axis:{pattern:/(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,lookbehind:!0,alias:"operator"},"keyword-operator":{pattern:/(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,lookbehind:!0},function:/[\w-]+(?::[\w-]+)*(?=\s*\()/,"xquery-element":{pattern:/(element\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"tag"},"xquery-attribute":{pattern:/(attribute\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"attr-name"},builtin:{pattern:/(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,lookbehind:!0},number:/\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,operator:[/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],punctuation:/[[\](){},;:/]/}),e.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,e.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,e.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,e.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:e.languages.xquery,alias:"language-xquery"};var t=function(e){return"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(t).join("")},n=function(r){for(var i=[],o=0;o0&&i[i.length-1].tagName===t(a.content[0].content[1])&&i.pop():"/>"===a.content[a.content.length-1].content||i.push({tagName:t(a.content[0].content[1]),openedBraces:0}):!(i.length>0&&"punctuation"===a.type&&"{"===a.content)||r[o+1]&&"punctuation"===r[o+1].type&&"{"===r[o+1].content||r[o-1]&&"plain-text"===r[o-1].type&&"{"===r[o-1].content?i.length>0&&i[i.length-1].openedBraces>0&&"punctuation"===a.type&&"}"===a.content?i[i.length-1].openedBraces--:"comment"!==a.type&&(s=!0):i[i.length-1].openedBraces++),(s||"string"==typeof a)&&i.length>0&&0===i[i.length-1].openedBraces){var l=t(a);o0&&("string"==typeof r[o-1]||"plain-text"===r[o-1].type)&&(l=t(r[o-1])+l,r.splice(o-1,1),o--),/^\s+$/.test(l)?r[o]=l:r[o]=new e.Token("plain-text",l,null,l)}a.content&&"string"!=typeof a.content&&n(a.content)}};e.hooks.add("after-tokenize",(function(e){"xquery"===e.language&&n(e.tokens)}))}(e)}function Gm(e){e.languages.yang={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"(?:[^\\"]|\\.)*"|'[^']*'/,greedy:!0},keyword:{pattern:/(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,lookbehind:!0},namespace:{pattern:/(\s)[a-z_][\w.-]*(?=:)/i,lookbehind:!0},boolean:/\b(?:false|true)\b/,operator:/\+/,punctuation:/[{};:]/}}function Ym(e){!function(e){function t(e){return function(){return e}}var n=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,r="\\b(?!"+n.source+")(?!\\d)\\w+\\b",i=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,o="(?!\\s)(?:!?\\s*(?:"+/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(//g,t(i))+"\\s*)*"+/(?:\bpromise\b|(?:\berror\.)?(?:\.)*(?!\s+))/.source.replace(//g,t(r))+")+";e.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)(?=\s*(?:\s*)?[=;,)])|(?=\s*(?:\s*)?\{)/.source.replace(//g,t(o)).replace(//g,t(i))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)(?=\s*(?:\s*)?;)/.source.replace(//g,t(o)).replace(//g,t(i))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:n,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},e.languages.zig["class-name"].forEach((function(t){null===t.inside&&(t.inside=e.languages.zig)}))}(e)}function zm(){zm=function(e,t){return new n(e,void 0,t)};var e=RegExp.prototype,t=new WeakMap;function n(e,r,i){var o=new RegExp(e,r);return t.set(o,i||t.get(e)),$m(o,n.prototype)}function r(e,n){var r=t.get(n);return Object.keys(r).reduce((function(t,n){return t[n]=e[r[n]],t}),Object.create(null))}return function(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&&$m(e,t)}(n,RegExp),n.prototype.exec=function(t){var n=e.exec.call(this,t);return n&&(n.groups=r(n,this)),n},n.prototype[Symbol.replace]=function(n,i){if("string"==typeof i){var o=t.get(this);return e[Symbol.replace].call(this,n,i.replace(/\$<([^>]+)>/g,(function(e,t){return"$"+o[t]})))}if("function"==typeof i){var a=this;return e[Symbol.replace].call(this,n,(function(){var e=arguments;return"object"!=typeof e[e.length-1]&&(e=[].slice.call(e)).push(r(e,a)),i.apply(this,e)}))}return e[Symbol.replace].call(this,n,i)},zm.apply(this,arguments)}function $m(e,t){return $m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},$m(e,t)}function Wm(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}Zu.highlight=function(e,t){if("string"!=typeof e)throw new TypeError("Expected `string` for `value`, got `"+e+"`");let n,r;if(t&&"object"==typeof t)n=t;else{if(r=t,"string"!=typeof r)throw new TypeError("Expected `string` for `name`, got `"+r+"`");if(!qu.call(Zu.languages,r))throw new Error("Unknown language: `"+r+"` is not registered");n=Zu.languages[r]}return{type:"root",children:Ku.highlight.call(Zu,e,n,r)}},Zu.register=function(e){if("function"!=typeof e||!e.displayName)throw new Error("Expected `function` for `syntax`, got `"+e+"`");qu.call(Zu.languages,e.displayName)||e(Zu)},Zu.alias=function(e,t){const n=Zu.languages;let r,i={};for(r in"string"==typeof e?t&&(i[e]=t):i=e,i)if(qu.call(i,r)){const e=i[r],t="string"==typeof e?[e]:e;let o=-1;for(;++o0?{start:{line:l.children[0].position.start.line,column:0},end:{line:l.children[l.children.length-1].position.end.line,column:0}}:{start:{line:0,column:0},end:{line:0,column:0}};for(var p,d=function(e){var t=/{([\d,-]+)}/,n=e.split(",").map((function(e){return e.trim()})).join();if(t.test(n)){var r=t.exec(n)[1],i=Vc(r);return function(e){return i.includes(e+1)}}return function(){return!1}}(s),f=function(e){var t=zm(/showLineNumbers=([0-9]+)/i,{lines:1});if(t.test(e)){var n=t.exec(e);return Number(n.groups.lines)}return 1}(s),m=function(e){for(var t=new Array(e),n=0;n0&&0===o.length)return null}const a={};let s;for(s in t)Wc.call(t,s)&&(a[s]="children"===s?o:t[s]);return a}(e)}(l,(function(e){return e.position.start.line<=n+1&&e.position.end.line>=n+1}));r.children=i.children,!s.toLowerCase().includes("showLineNumbers".toLowerCase())&&!t.showLineNumbers||g.some((function(e){return s.toLowerCase().includes(e)}))||(r.properties.line=[(n+f).toString()],r.properties.className.push("line-number")),d(n)&&r.properties.className.push("highlight-line"),("diff"===u||null!=u&&u.includes("diff-"))&&"-"===Nc(r).substring(0,1)?r.properties.className.push("deleted"):("diff"===u||null!=u&&u.includes("diff-"))&&"+"===Nc(r).substring(0,1)&&r.properties.className.push("inserted")},v=Vm(m.entries());!(p=v()).done;)y();m.length>0&&""===Nc(m[m.length-1]).trim()&&m.pop(),n.children=m}}}},qm=(Km(Zu),Km(Zu));const Xm="֑-߿יִ-﷽ﹰ-ﻼ",Zm="A-Za-zÀ-ÖØ-öø-ʸ̀-֐ࠀ-῿‎Ⰰ-﬜︀-﹯﻽-￿",Qm=new RegExp("^[^"+Zm+"]*["+Xm+"]"),Jm=new RegExp("^[^"+Xm+"]*["+Zm+"]");function eg(e){const t=function(e){const t=String(e||"");return Qm.test(t)?"rtl":Jm.test(t)?"ltr":"neutral"}(e);return"neutral"===t?void 0:t}function tg(e){const t="element"===e.type&&e.properties&&"string"==typeof e.properties.dir?e.properties.dir.toLowerCase():void 0;return"auto"===t||"ltr"===t||"rtl"===t?t:void 0}const ng=dc("operator",{unknown:function(e){throw new Error("Unknown operator `"+e.operator+"`")},invalid:function(e,t,n){return Lc(t,n.property)},handlers:{"=":function(e,t,n){return Boolean(Lc(t,n.property)&&t.properties&&rg(t.properties[n.property],n)===e.value)},"~=":function(e,t,n){const r=t.properties&&t.properties[n.property];return!n.commaSeparated&&r&&"object"==typeof r&&e.value&&r.includes(e.value)||Lc(t,n.property)&&rg(r,n)===e.value},"|=":function(e,t,n){const r=rg(t.properties&&t.properties[n.property],n);return Boolean(Lc(t,n.property)&&e.value&&(r===e.value||r.slice(0,e.value.length)===e.value&&"-"===r.charAt(e.value.length)))},"^=":function(e,t,n){return Boolean(Lc(t,n.property)&&t.properties&&e.value&&rg(t.properties[n.property],n).slice(0,e.value.length)===e.value)},"$=":function(e,t,n){return Boolean(Lc(t,n.property)&&t.properties&&e.value&&rg(t.properties[n.property],n).slice(-e.value.length)===e.value)},"*=":function(e,t,n){return Boolean(Lc(t,n.property)&&t.properties&&e.value&&rg(t.properties[n.property],n).includes(e.value))}}});function rg(e,t){return"boolean"==typeof e?t.attribute:Array.isArray(e)?(t.commaSeparated?os:rs)(e):String(e)}function ig(e,t){return function(n,r){let i=ag(n,"tag");const o=ag(null==r?"*":r,"range"),a=[];let s=-1;for(;++se<=n;if(0===t)return e=>e===n;if(1===t)return n<0?ug.trueFunc:e=>e>=n;const r=Math.abs(t),i=(n%r+r)%r;return t>1?e=>e>=n&&e%r===i:e=>e<=n&&e%r===i}(function(e){if("even"===(e=e.trim().toLowerCase()))return[2,0];if("odd"===e)return[2,1];let t=0,n=0,r=o(),i=a();if(t=lg&&e.charCodeAt(t)<=cg;)r=10*r+(e.charCodeAt(t)-lg),t++;return t===n?null:r}function s(){for(;t0},lang:function(e,t,n,r,i){return""!==i.language&&void 0!==i.language&&og(i.language,is(e.value)).length>0},"last-child":function(e,t,n,r,i){return bg(i,e),Boolean(i.elementCount&&i.elementIndex===i.elementCount-1)},"last-of-type":function(e,t,n,r,i){return bg(i,e),"number"==typeof i.typeIndex&&"number"==typeof i.typeCount&&i.typeIndex===i.typeCount-1},matches:gg,not:function(e,t,n,r,i){return!gg(e,t,0,0,i)},"nth-child":function(e,t,n,r,i){const o=Eg(e);return bg(i,e),"number"==typeof i.elementIndex&&o(i.elementIndex)},"nth-last-child":function(e,t,n,r,i){const o=Eg(e);return bg(i,e),Boolean("number"==typeof i.elementCount&&"number"==typeof i.elementIndex&&o(i.elementCount-i.elementIndex-1))},"nth-of-type":function(e,t,n,r,i){const o=Eg(e);return bg(i,e),"number"==typeof i.typeIndex&&o(i.typeIndex)},"nth-last-of-type":function(e,t,n,r,i){const o=Eg(e);return bg(i,e),"number"==typeof i.typeCount&&"number"==typeof i.typeIndex&&o(i.typeCount-1-i.typeIndex)},"only-child":function(e,t,n,r,i){return bg(i,e),1===i.elementCount},"only-of-type":function(e,t,n,r,i){return bg(i,e),1===i.typeCount},optional:function(e,t){return!vg(0,t)},"read-only":function(e,t,n,r,i){return!yg(0,t,0,0,i)},"read-write":yg,required:vg,root:function(e,t,n,r,i){return Boolean((!r||"root"===r.type)&&i.schema&&("html"===i.schema.space||"svg"===i.schema.space)&&("html"===t.tagName||"svg"===t.tagName))},scope:function(e,t,n,r,i){return i.scopeElements.includes(t)}}});function fg(e,t,n,r,i){const o=e.pseudos;let a=-1;for(;++a"===t.nestingOperator?"directChild":"descendant",e)}else e.found=!0,e.results.includes(n)||e.results.push(n)}null===s.rule.nestingOperator?wg(o,"descendant",s):"~"===s.rule.nestingOperator&&wg(o,"generalSibling",s)}return o}(e,Rg(t,e.rootQuery.selectors),n,r,i)),!("children"in n)||e.shallow||e.one&&e.found||function(e,t,n){const r=Rg(t.descendant,t.directChild);let i,o=-1;const a={count:0,types:new Map},s={count:0,types:new Map};for(;++o0&&t.length>0?[...e,...t]:e&&e.length>0?e:t&&t.length>0?t:xg}function wg(e,t,n){const r=e[t];r?r.push(n):e[t]=[n]}function Lg(e,t){if("element"===t.type){const n=t.tagName.toUpperCase(),r=(e.types.get(n)||0)+1;e.count++,e.types.set(n,r)}}const Og=new(u(142).N);function Ng(e){if("string"!=typeof e)throw new TypeError("Expected `string` as selector, not `"+e+"`");return Og.parse(e)}Og.registerAttrEqualityMods("~","|","^","$","*"),Og.registerSelectorPseudos("any","matches","not","has"),Og.registerNestingOperators(">","+","~");const Ig=(e=[],t="")=>(e.forEach((e=>{"text"===e.type?t+=e.value:"element"===e.type&&e.children&&Array.isArray(e.children)&&(t+=Ig(e.children))})),t),kg=e=>{const{selector:t,rewrite:n}=e||{};return e=>{if(n&&"function"==typeof n)if(t&&"string"==typeof t){const r=function(e,t,n){const r=function(e,t,n){return{rootQuery:Sg(Ng(e)),results:[],scopeElements:t?"root"===t.type?t.children:[t]:[],one:!1,shallow:!1,found:!1,schema:"svg"===n?$a:za,language:void 0,direction:"ltr",editableOrEditingHost:!1,typeIndex:void 0,elementIndex:void 0,typeCount:void 0,elementCount:void 0}}(e,t,void 0);return Cg(r,t||void 0),r.results}(t,e);r&&r.length>0&&Ko(e,r,((e,t,r)=>{n(e,t,r)}))}else Ko(e,((e,t,r)=>{n(e,t,r)}))}};var Dg={type:"element",tagName:"svg",properties:{className:"octicon octicon-link",viewBox:"0 0 16 16",version:"1.1",width:"16",height:"16",ariaHidden:"true"},children:[{type:"element",tagName:"path",children:[],properties:{fillRule:"evenodd",d:"M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"}}]},Pg=u(9412),Mg=u.n(Pg);function Fg(e){if(!e)return null;var t=e;return t.dataset.code&&t.classList.contains("copied")?t:t.parentElement?Fg(t.parentElement):null}function Hg(e){var t=e=>{var t=Fg(e.target);t&&(t.classList.add("active"),Mg()(t.dataset.code,(function(){setTimeout((()=>{t.classList.remove("active")}),2e3)})))};(0,m.useEffect)((()=>{var n,r;return null==(n=e.current)||n.removeEventListener("click",t,!1),null==(r=e.current)||r.addEventListener("click",t,!1),()=>{var n;null==(n=e.current)||n.removeEventListener("click",t,!1)}}),[e])}var Bg=function(e){return void 0===e&&(e={}),e=>{Ko(e,(e=>{"element"===e.type&&"code"===e.tagName&&e.data&&e.data.meta&&(e.properties=(0,$n.Z)({},e.properties,{"data-meta":String(e.data.meta)}))}))}},Ug=u(1250),jg=["prefixCls","className","source","style","disableCopy","skipHtml","onScroll","onMouseOver","pluginsFilter","rehypeRewrite","wrapperElement","warpperElement"];const Gg=g().forwardRef(((e,t)=>{var{prefixCls:n="wmde-markdown wmde-markdown-color",className:r,source:i,style:o,disableCopy:a=!1,skipHtml:s=!0,onScroll:l,onMouseOver:c,pluginsFilter:u,rehypeRewrite:h,wrapperElement:p={},warpperElement:d={}}=e,f=(0,Wn.Z)(e,jg),y=g().useRef(null);(0,m.useImperativeHandle)(t,(()=>(0,$n.Z)({},e,{mdp:y})),[y,e]);var v=(n||"")+" "+(r||"");Hg(y);var _=[Bg,[qm,{ignoreMissing:!0}],Pc,Uc,$c,[kg,{rewrite:(e,t,n)=>{if("element"===e.type&&n&&"root"===n.type&&/h(1|2|3|4|5|6)/.test(e.tagName)){var r=e.children&&e.children[0];r&&r.properties&&"true"===r.properties.ariaHidden&&(r.properties=(0,$n.Z)({class:"anchor"},r.properties),r.children=[Dg])}if("element"===e.type&&"pre"===e.tagName&&!a){var i=Ig(e.children);e.children.push((void 0===(o=i)&&(o=""),{type:"element",tagName:"div",properties:{class:"copied","data-code":o},children:[{type:"element",tagName:"svg",properties:{className:"octicon-copy",ariaHidden:"true",viewBox:"0 0 16 16",fill:"currentColor",height:12,width:12},children:[{type:"element",tagName:"path",properties:{fillRule:"evenodd",d:"M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 010 1.5h-1.5a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-1.5a.75.75 0 011.5 0v1.5A1.75 1.75 0 019.25 16h-7.5A1.75 1.75 0 010 14.25v-7.5z"},children:[]},{type:"element",tagName:"path",properties:{fillRule:"evenodd",d:"M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0114.25 11h-7.5A1.75 1.75 0 015 9.25v-7.5zm1.75-.25a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-7.5a.25.25 0 00-.25-.25h-7.5z"},children:[]}]},{type:"element",tagName:"svg",properties:{className:"octicon-check",ariaHidden:"true",viewBox:"0 0 16 16",fill:"currentColor",height:12,width:12},children:[{type:"element",tagName:"path",properties:{fillRule:"evenodd",d:"M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z"},children:[]}]}]}))}var o;h&&h(e,t,n)}}],[zc,{properties:"attr"}],...f.rehypePlugins||[]],b={allowElement:(e,t,n)=>f.allowElement?f.allowElement(e,t,n):/^[A-Za-z0-9]+$/.test(e.tagName)};s&&_.push(Cc);var E=[...f.remarkPlugins||[],Vl],T=(0,$n.Z)({},d,p);return(0,Ug.jsx)("div",(0,$n.Z)({ref:y,onScroll:l,onMouseOver:c},T,{className:v,style:o,children:(0,Ug.jsx)(vs,(0,$n.Z)({},b,f,{skipHtml:s,rehypePlugins:u?u("rehype",_):_,remarkPlugins:u?u("remark",E):E,children:i||""}))}))})),Yg=e=>{const{role:t,content:n,timestamp:r}=e,i="user"===t&&!n.includes("`"),o=new Date(r).toLocaleString();return g().createElement(f.Tooltip,{title:o,mouseEnterDelay:1},g().createElement("div",null,i?g().createElement("div",{className:"message-content"},n):g().createElement(Gg,{wrapperElement:{"data-color-mode":"dark"===document.documentElement.getAttribute("data-theme")?"dark":"light"},className:"message-content",source:(a=n,null!==a.match(/```[\S]+/g)?a:a.replace(/```[\s]*\n([\s\S]*?)```/g,"```js\n$1```"))})));var a},zg=()=>{const{messages:e}=(0,m.useContext)(dr);return(0,m.useEffect)((()=>{(()=>{const e=document.querySelector(".list");e&&e.scrollTo({top:e.scrollHeight,behavior:"smooth"})})()}),[e]),g().createElement("div",{className:"list"},e.filter((e=>"system"!==e.role)).map((e=>g().createElement("div",{key:e.timestamp,className:`message ${e.role}`},g().createElement(Yg,Object.assign({},e))))))},$g=()=>g().createElement("div",{className:"dialog-content"},g().createElement(zg,null),g().createElement(fr,null)),Wg=({title:e,onClose:t})=>{const{loading:n,abortQuery:r}=(0,m.useContext)(dr);return g().createElement("div",{className:"dialog-header"},g().createElement("div",{className:"dialog-header-title"},e),g().createElement("div",{className:"dialog-header-button-group"},n&&g().createElement(f.Tooltip,{title:C({id:"advance.Assistant.Header.StopQuery",dm:"停止查询"}),mouseEnterDelay:1},g().createElement("div",{className:"dialog-header-cancel",onClick:r},g().createElement("div",{className:"cancel-button"}))),g().createElement("div",{className:"dialog-header-close",onClick:t},g().createElement("div",{className:"close-button"},g().createElement("div",{className:"close-button-bar"}),g().createElement("div",{className:"close-button-bar"})))))};class Vg{constructor(e){this.status=e.status||"pending",this.role=e.role||"user",this.content=e.content||"",this.timestamp=e.timestamp||Date.now(),this.reserved=e.reserved||!1}}function Kg(e,t){const n=function(e){const{nodes:t,edges:n}=e;return`${`图中有 ${t.length} 种节点,分别是:${t.map((e=>`"${e.nodeType}"`)).join(",")}。`} 图中有 ${n.length} 中边,分别是 ${n.map((e=>`"${e.edgeType}"`)).join(",")}。`}(t);return e.replace(/\$\{graphSchema\}/g,n)}function qg(e,t,n){return[t&&new Vg({status:"success",role:"system",content:Kg(t,n),timestamp:Date.now(),reserved:!0}),e&&new Vg({status:"success",role:"assistant",content:e,timestamp:Date.now(),reserved:!0})].filter(Boolean)}var Xg=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){e.done?i(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))};const Zg=zn(),{getPositionStyles:Qg}=p.utils,Jg=(0,m.memo)((({apiKey:e,draggable:t,logo:n,offset:r,placement:i,prompt:o,serviceId:a,size:s,welcome:l})=>{const{services:c,schemaData:u,transform:h,updateContext:d,largeGraphLimit:y}=(0,p.useContext)(),v=p.utils.getService(c,a),_=(()=>{const e=(0,m.useRef)(new AbortController);return e.current.signal.aborted&&(e.current=new AbortController),e.current})(),b=(0,m.useRef)(null),[E,T]=(0,m.useState)(!1),[x,S]=(0,m.useState)(!1),[A,R]=(0,m.useState)([]),[w,L]=(0,m.useState)(!1),O=Qg(i,r),N=(0,m.useMemo)((()=>{switch(i){case"LB":return{left:0,bottom:0};case"RT":return{right:0,top:0};case"RB":return{right:0,bottom:0};default:return{left:0,top:0}}}),[i]),I=e=>{R((t=>[...t,e]))},k=t=>Xg(void 0,void 0,void 0,(function*(){if(!e)return f.message.error(C({id:"advance.components.Assistant.Component.SetApiKeyFirst",dm:"请先设置API Key"})),!1;const n=[...A,t];I(t);const r=yield function(e,t,n){return fetch("https://api.openai.com/v1/chat/completions",{signal:n,method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${t}`},body:JSON.stringify({model:"gpt-3.5-turbo",messages:e.map((({role:e,content:t})=>({role:e,content:t})))})}).then((e=>e.json())).then((e=>({status:"success",message:e.choices[0].message}))).catch((e=>"AbortError"===e.name?{status:"cancel",message:null}:{status:"failed",message:e.message}))}(n.filter((({status:e})=>"cancel"!==e)),e,_.signal);if(!r)return!1;I(new Vg({role:r.message.role,content:r.message.content,status:"success"}));const i=function(e){const t=/```([a-zA-Z]+)?(?:\n)([\s\S]*?)```/g,n=[];let r;for(;null!==(r=t.exec(e));){const e=r[1]?r[1]:"unknown",t=r[2].replace(/\n/g," ").trim();n.push({language:e,code:t})}return n}(r.message.content);return!i.length||(f.message.success(C({id:"advance.components.Assistant.Component.StartQueryingGraphData",dm:"开始查询图数据..."})),yield(o=i[0],Xg(void 0,void 0,void 0,(function*(){if(!v)return!1;const e=yield v({value:o.code,limit:25});return d((t=>{const n=h(e);if(0===n.nodes.length&&f.message.info(C({id:"advance.components.Assistant.Component.NoDataFound",dm:"没有查询到数据"})),n.nodes.length>y)return t.largeGraphMode=!0,t.largeGraphData=n,t.source=n,t.data={nodes:[],edges:[]},void(t.isLoading=!1);t.data=n,t.source=n,t.isLoading=!1})),!0}))));var o}));return(0,m.useEffect)((()=>{u&&R((e=>[...e.splice(2,e.length),...qg(l,o,u)]))}),[u,l,o]),g().createElement(Zg,{disabled:!t,onStart:()=>{setTimeout((()=>{S(!0)}),100)},onStop:()=>{setTimeout((()=>{S(!1)}),100)},bounds:".gi-analysis"},g().createElement("div",{className:"assistant",style:O},g().createElement(lr,{in:!E,timeout:300,classNames:"dialog-button",unmountOnExit:!0},g().createElement("div",{onClick:()=>!x&&T(!0),className:"dialog-button"},g().createElement("img",{src:n,width:s[0],height:s[1],alt:"logo"}))),g().createElement(lr,{in:E,timeout:300,classNames:"dialog",unmountOnExit:!0},g().createElement("div",{className:"dialog-wrapper",ref:b,style:N},g().createElement("div",{className:"dialog-container"},g().createElement(dr.Provider,{value:{loading:w,setLoading:L,messages:A,onSendMessage:k,onInput:e=>k(new Vg({role:"user",content:e})),abortQuery:()=>{_.abort(),R((e=>{const t=e.filter((e=>!e.reserved))[e.length-1];return t&&(t.status="cancel"),[...e]})),L(!1)},clearMessages:()=>{R(A.filter((e=>e.reserved)))}}},g().createElement(Wg,{title:C({id:"advance.components.Assistant.Component.AiAssistant",dm:"AI 助理"}),onClose:()=>T(!1)}),g().createElement($g,null)))))))})),ey={id:"Assistant",name:C({id:"advance.components.Assistant.info.AiAssistant",dm:"AI 助理"}),desc:C({id:"advance.components.Assistant.info.AiAssistant",dm:"AI 助理"}),cover:"http://xxx.jpg",category:"system-interaction",services:["CypherQuery","GremlinQuery"],icon:"icon-robot",type:"AUTO",docs:"https://www.yuque.com/antv/gi/zepk11ds9vrt4gcs"},ty={info:ey,component:Jg,registerMeta:e=>{const{services:t,engineId:n}=e,{options:r,defaultValue:i}=p.utils.getServiceOptionsByEngineId(t,ey.services[0],n);return{apiKey:{title:"API KEY",type:"string","x-decorator":"FormItem","x-component":"Input.Password",default:""},serviceId:{title:C({id:"advance.components.Assistant.registerMeta.DataService",dm:"数据服务"}),type:"string","x-decorator":"FormItem","x-component":"Select","x-component-props":{options:r},default:i},logo:{title:"Logo",type:"string","x-decorator":"FormItem","x-component":"Input",default:"https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*n07bSaB--F4AAAAAAAAAAAAADmJ7AQ/original"},size:{title:C({id:"advance.components.Assistant.registerMeta.Size",dm:"尺寸"}),type:"string","x-decorator":"FormItem","x-component":"Offset","x-component-props":{min:10,max:100},default:[50,50]},placement:{title:C({id:"advance.components.Assistant.registerMeta.Location",dm:"位置"}),type:"string","x-decorator":"FormItem","x-component":"Select","x-component-props":{options:[{value:"LT",label:C({id:"advance.components.Assistant.registerMeta.UpperLeft",dm:"左上"})},{value:"RT",label:C({id:"advance.components.Assistant.registerMeta.UpperRight",dm:"右上"})},{value:"LB",label:C({id:"advance.components.Assistant.registerMeta.LowerLeft",dm:"左下"})},{value:"RB",label:C({id:"advance.components.Assistant.registerMeta.LowerRight",dm:"右下"})}]},default:"LT"},offset:{title:C({id:"advance.components.Assistant.registerMeta.Offset",dm:"偏移量"}),type:"string","x-decorator":"FormItem","x-component":"Offset","x-component-props":{min:0,max:400},default:[100,20]},draggable:{title:C({id:"advance.components.Assistant.registerMeta.Draggable",dm:"可拖拽"}),type:"boolean","x-decorator":"FormItem","x-component":"Switch",default:!0},welcome:{title:C({id:"advance.components.Assistant.registerMeta.Welcome",dm:"欢迎语"}),type:"string","x-decorator":"FormItem","x-component":"Input.TextArea","x-component-props":{autoSize:!0},default:C({id:"advance.components.Assistant.registerMeta.HelloIAmGraphinsightAssistant",dm:"您好!我是 GraphInsight 助理。请问有什么关于 GraphInsight 的问题或需求?"})},prompt:{title:C({id:"advance.components.Assistant.registerMeta.PromptWords",dm:"提示词"}),type:"string","x-decorator":"FormItem","x-component":"Input.TextArea","x-component-props":{placeholder:C({id:"advance.components.Assistant.registerMeta.SupportedVariablesGraphschemaUsageGraphschema",dm:'支持的变量:graphSchema,使用方式:"${graphSchema}"'}),autoSize:!0},default:C({id:"advance.components.Assistant.registerMeta.GraphinsightIsAnExtensibleGraph",dm:"GraphInsight 是一个可扩展的图可视分析平台,包括数据源管理、构图、图元素个性化配置、图可视分析等功能模块。"})+C({id:"advance.components.Assistant.registerMeta.YourTaskIsToAct",dm:"你的任务是作为助理机器人,为 GraphInsight 的用户提供使用指引,包括根据用户的需求生成对应的 Cypher 查询语句。"})+C({id:"advance.components.Assistant.registerMeta.CypherStatementIsAppliedTo",dm:"Cypher 语句是应用于 Neo4j 声明式图查询语言"})+C({id:"advance.components.Assistant.registerMeta.ForExampleWhenAUser",dm:"例如,当用户说“我想找出回答数最多的问题”,你可以以下列方式给出查询:"})+"```Cypher\nMATCH(q:Question)<-[:ANSWERED]-(a:Answer)\nWITH q,count(a)AS answer_count\nORDERBY answer_count DESC\nLIMIT1\nRETURN q, answer_count\n```\n"+C({id:"advance.components.Assistant.registerMeta.NoteThatYouOnlyNeed",dm:"注意只需要返回查询节点即可,不需要查询属性"})+C({id:"advance.components.Assistant.registerMeta.TheDataInformationOfThe",dm:"当前用户查看的图的数据信息如下:"})+"${graphSchema}"+C({id:"advance.components.Assistant.registerMeta.PleaseDoNotAnswerQuestions",dm:"请不要回答与 GraphInsight 无关的问题。"})+C({id:"advance.components.Assistant.registerMeta.YouOnlyNeedToGive",dm:"你只需要根据用户的回答给出查询代码,并告知用户正在为您查询,不需要做过多的解释。"})+C({id:"advance.components.Assistant.registerMeta.StartTheConversationWithThe",dm:"下面开始和用户的对话。"})}}}};var ny=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i{const{style:t={},theme:n="rjv-default"}=e,{data:r}=(0,p.useContext)(),i=(0,m.useMemo)((()=>{const{nodes:e=[],edges:t=[],combos:n=[]}=r,i=ny(r,["nodes","edges","combos"]);return Object.assign({nodes:e.map((e=>{const{type:t,style:n,nodeType:r,nodeTypeKeyFromProperties:i}=e,o=ny(e,["type","style","nodeType","nodeTypeKeyFromProperties"]);return Object.assign(Object.assign({},o),{[i]:r})})),edges:t.map((e=>{const{type:t,style:n,edgeType:r,edgeTypeKeyFromProperties:i}=e,o=ny(e,["type","style","edgeType","edgeTypeKeyFromProperties"]);return Object.assign(Object.assign({},o),{[i]:r})})),combos:null==n?void 0:n.map((e=>{const t=e,{style:n,type:r}=t;return ny(t,["style","type"])}))},i)}),[r]);return g().createElement("div",{className:"gi-json-mode",id:"gi-json-mode",style:t},g().createElement(pn(),{src:i,theme:n,style:{height:"100%"}}))})),iy={id:"JSONMode",name:C({id:"advance.components.JSONMode.info.CodeMode",dm:"代码模式"}),desc:C({id:"advance.components.JSONMode.info.ShowDataInCode",dm:"将数据以代码形式展示"}),icon:"icon-table",cover:"http://xxxx.jpg",category:"data-query",type:"GIAC_CONTENT",docs:"https://www.yuque.com/antv/gi/phx0p1kkgm2sei6o"},{deepClone:oy,GIAC_CONTENT_METAS:ay}=p.extra,sy=oy(ay);sy.GIAC_CONTENT.properties.GIAC_CONTENT.properties.title.default=iy.name,sy.GIAC_CONTENT.properties.GIAC_CONTENT.properties.icon.default=iy.icon,sy.GIAC_CONTENT.properties.GIAC_CONTENT.properties.tooltip.default=iy.desc,sy.GIAC_CONTENT.properties.GIAC_CONTENT.properties.containerWidth.default="400px";const ly=["tomorrow","rjv-default","google","harmonic","mocha","solarized"],cy={component:ry,registerMeta:({schemaData:e})=>Object.assign({theme:{title:C({id:"advance.components.JSONMode.registerMeta.StyleTheme",dm:"样式主题"}),type:"string","x-decorator":"FormItem","x-component":"Select","x-component-props":{options:ly.map((e=>({value:e,label:e})))},default:"rjv-default"}},sy),info:iy},uy=(0,m.memo)((()=>{const{data:e,sourceDataMap:t,config:n,schemaData:r}=(0,p.useContext)(),{nodesConfigMap:i,edgesConfigMap:o}=g().useMemo((()=>{const e=new Map,t=new Map,{nodes:r,edges:i}=n;return r.forEach((t=>{const n=JSON.stringify(t.expressions);e.set(n,t)})),i.forEach((e=>{const n=JSON.stringify(e.expressions);t.set(n,e)})),{nodesConfigMap:e,edgesConfigMap:t}}),[n]),[a,s]=Le({graphStruct:{nodes:[],edges:[]}}),l=(0,m.useRef)(new Map),c=(0,m.useRef)(new Map);return(0,m.useEffect)((()=>{const n=new Map,r=new Map;e.edges.forEach((e=>{const{source:t,target:i}=e;n.set(t,n.has(t)?n.get(t)+1:1),r.set(i,r.has(i)?r.get(i)+1:1)}));const a=e.nodes.filter((e=>!r.has(e.id))).map((e=>e.id)),u=e.nodes.filter((e=>!n.has(e.id))).map((e=>e.id)),h={nodes:[],edges:[]},d=l.current,f=c.current;a.forEach((n=>{u.forEach((r=>{const{allNodePath:a,allEdgePath:s}=p.utils.findAllPath(e,n,r,!0);for(let e=0;ee.id===t.id)),h.edges=p.utils.uniqueElementsBy(h.edges,((e,t)=>e.id===t.id)),h.nodes=h.nodes.map((e=>{var t;return Object.assign(Object.assign({},e),{style:Object.assign(Object.assign({},e.style),{icon:{type:"text",value:String((null===(t=d.get(e.id))||void 0===t?void 0:t.size)||0),stroke:"#fff",fill:"#fff"}})})})),s((e=>{e.graphStruct=h}))}),[e,t]),g().createElement(g().Fragment,null,g().createElement("div",{style:{margin:"8px 0",textAlign:"center"}},C({id:"advance.components.StructAnalysis.Component.AnalyzeTheSchemaAbstractionStructure",dm:"分析当前画布中所有路径的 Schema 抽象结构,即路径中节点与边的类型组合"})),g().createElement(Nt(),{data:a.graphStruct,style:{background:"var(--background-color)"},layout:{type:"dagre"}}))})),hy={id:"StructAnalysis",name:C({id:"advance.components.StructAnalysis.info.PathStructureAnalysis",dm:"路径结构分析"}),desc:C({id:"advance.components.StructAnalysis.info.AutomaticallyParseAllPathsOf",dm:"自动解析画布所有路径,做聚合分析"}),icon:"icon-layout-tree",cover:"http://xxxx.jpg",category:"algorithm-analysis",type:"GIAC_CONTENT",docs:"https://www.yuque.com/antv/gi/za1cihu8pus4usds"},{deepClone:py,GIAC_CONTENT_METAS:dy}=p.extra,fy=py(dy);fy.GIAC_CONTENT.properties.GIAC_CONTENT.properties.title.default=hy.name,fy.GIAC_CONTENT.properties.GIAC_CONTENT.properties.icon.default=hy.icon,fy.GIAC_CONTENT.properties.GIAC_CONTENT.properties.tooltip.default=hy.desc,fy.GIAC_CONTENT.properties.GIAC_CONTENT.properties.containerWidth.default="400px";const my={info:hy,component:uy,registerMeta:()=>Object.assign({},fy)};var gy=u(8494);const yy=({elementType:e="nodes",service:t,controlledValues:n,onOpen:r})=>{const{updateContext:i,updateHistory:o,data:a,config:s,assets:l,schemaData:c={nodes:[],edges:[]}}=(0,p.useContext)(),u=g().useMemo((()=>p.utils.getElementsByAssets(l.elements,a,c)),[c,a]),h=n=>{const r=n.map((e=>{const{id:t,groupId:n,groupName:r,expressions:i,logic:o}=e;return{id:t,props:e.props,groupId:n,groupName:r,expressions:i,logic:o}})),a=JSON.parse(JSON.stringify(r));i((t=>{t.config[e]=a,t.layoutCache=!0})),o({componentId:"StyleSettingPanel",type:"configure",subType:C({id:"advance.components.StyleSetting.StyleSettingPanel.StyleSettings",dm:"样式设置"}),statement:C({id:"advance.components.StyleSetting.StyleSettingPanel.StyleSettings",dm:"样式设置"}),success:!0,params:{elementType:e,styleGroups:JSON.parse(JSON.stringify(n))}}),t&&t(a,e)};return(0,m.useEffect)((()=>{const{elementType:t,styleGroups:i}=n||{};n&&t===e&&(h(i),null==r||r())}),[n]),g().createElement(gy.Z,{schemaData:c,onChange:h,config:s,data:a,elementType:e,elements:u[e]})},{TabPane:vy}=f.Tabs,_y=(0,m.memo)((e=>{const{serviceId:t,controlledValues:n}=e,{services:r}=(0,p.useContext)(),i=p.utils.getService(r,t);return g().createElement("div",{className:"gi-style-setting"},g().createElement(f.Tabs,null,g().createElement(vy,{key:"nodes",tab:C({id:"advance.components.StyleSetting.Component.Node",dm:"节点"})},g().createElement(yy,{elementType:"nodes",service:i,controlledValues:n})),g().createElement(vy,{key:"edges",tab:C({id:"advance.components.StyleSetting.Component.Edge",dm:"边"})},g().createElement(yy,{elementType:"edges",service:i,controlledValues:n}))))})),by="StyleSetting",Ey={id:by,name:C({id:"advance.components.StyleSetting.info.StyleSettings",dm:"样式设置"}),desc:C({id:"advance.components.StyleSetting.info.SetElementStylesToCustomize",dm:"设置元素样式,可自定义分组规则"}),icon:"icon-bg-colors",cover:"http://xxxx.jpg",category:"elements-interaction",services:[by],type:"GIAC_CONTENT",docs:"https://www.yuque.com/antv/gi/kf54p9k1ffxpcm18"},{GIAC_CONTENT_METAS:Ty,deepClone:xy}=p.extra,Sy=xy(Ty);Sy.GIAC_CONTENT.properties.GIAC_CONTENT.properties.icon.default="icon-bold",Sy.GIAC_CONTENT.properties.GIAC_CONTENT.properties.title.default=C({id:"advance.components.StyleSetting.registerMeta.StyleSettings",dm:"样式设置"});const Cy={info:Ey,component:_y,registerMeta:e=>{const{services:t,engineId:n}=e,{options:r,defaultValue:i}=p.utils.getServiceOptionsByEngineId(t,Ey.services[0],n);return Object.assign({serviceId:{title:C({id:"advance.components.StyleSetting.registerMeta.DataService",dm:"数据服务"}),type:"string","x-decorator":"FormItem","x-component":"Select","x-component-props":{options:r},default:i}},Sy)}},Ay=e=>"string"==typeof e,Ry=(Object.create(null),Array.isArray),wy=e=>"number"==typeof e,Ly=e=>Number.isNaN(Number(e)),Oy=e=>null!==e&&"object"==typeof e,Ny=e=>{if(null===e)return e;if(e instanceof Date)return new Date(e.getTime());if(e instanceof Array){const t=[];return e.forEach((e=>{t.push(e)})),t.map((e=>Ny(e)))}if("object"==typeof e&&Object.keys(e).length){const t=Object.assign({},e);return Object.keys(t).forEach((e=>{t[e]=Ny(t[e])})),t}return e},Iy=(e,t)=>{const n=e[t];return Oy(n)?n.cell:n},ky=(e,t,n)=>{const r=[];for(let t=0;t{const n=Iy(e,"source"),i=Iy(e,"target");n&&r[t[n]]&&(r[t[n]].out+=1,r[t[n]].all+=1),i&&r[t[i]]&&(r[t[i]].in+=1,r[t[i]].all+=1)})),r):r},Dy=e=>"function"==typeof e,Py=(e,t,n)=>{let r;return r=n||(wy(e)?()=>e:()=>t),r},My=(e,t,n=!0)=>t||0===t?Dy(t)?t:wy(t)?()=>t:Ry(t)?()=>{if(n){const n=Math.max(...t);return isNaN(n)?e:n}return t}:Oy(t)?()=>{if(n){const n=Math.max(t.width,t.height);return isNaN(n)?e:n}return[t.width,t.height]}:()=>e:t=>t.size?Ry(t.size)?t.size[0]>t.size[1]?t.size[0]:t.size[1]:Oy(t.size)?t.size.width>t.size.height?t.size.width:t.size.height:t.size:e;new Map;class Fy{constructor(){this.nodes=[],this.edges=[],this.combos=[],this.comboEdges=[],this.hiddenNodes=[],this.hiddenEdges=[],this.hiddenCombos=[],this.vedges=[],this.positions=[],this.destroyed=!1,this.onLayoutEnd=()=>{}}layout(e){return this.init(e),this.execute(!0)}init(e){this.nodes=e.nodes||[],this.edges=e.edges||[],this.combos=e.combos||[],this.comboEdges=e.comboEdges||[],this.hiddenNodes=e.hiddenNodes||[],this.hiddenEdges=e.hiddenEdges||[],this.hiddenCombos=e.hiddenCombos||[],this.vedges=e.vedges||[]}execute(e){}executeWithWorker(){}getDefaultCfg(){return{}}updateCfg(e){e&&Object.assign(this,e)}getType(){return"base"}destroy(){this.nodes=null,this.edges=null,this.combos=null,this.positions=null,this.destroyed=!0}}function Hy(e,t,n,r){if(isNaN(t)||isNaN(n))return e;var i,o,a,s,l,c,u,h,p,d=e._root,f={data:r},m=e._x0,g=e._y0,y=e._x1,v=e._y1;if(!d)return e._root=f,e;for(;d.length;)if((c=t>=(o=(m+y)/2))?m=o:y=o,(u=n>=(a=(g+v)/2))?g=a:v=a,i=d,!(d=d[h=u<<1|c]))return i[h]=f,e;if(s=+e._x.call(null,d.data),l=+e._y.call(null,d.data),t===s&&n===l)return f.next=d,i?i[h]=f:e._root=f,e;do{i=i?i[h]=new Array(4):e._root=new Array(4),(c=t>=(o=(m+y)/2))?m=o:y=o,(u=n>=(a=(g+v)/2))?g=a:v=a}while((h=u<<1|c)==(p=(l>=a)<<1|s>=o));return i[p]=d,i[h]=f,e}function By(e,t,n,r,i){this.node=e,this.x0=t,this.y0=n,this.x1=r,this.y1=i}function Uy(e){return e[0]}function jy(e){return e[1]}function Gy(e,t,n,r,i,o){this._x=e,this._y=t,this._x0=n,this._y0=r,this._x1=i,this._y1=o,this._root=void 0}function Yy(e){for(var t={data:e.data},n=t;e=e.next;)n=n.next={data:e.data};return t}var zy=function(e,t,n){var r=new Gy(null==t?Uy:t,null==n?jy:n,NaN,NaN,NaN,NaN);return null==e?r:r.addAll(e)}.prototype=Gy.prototype;zy.copy=function(){var e,t,n=new Gy(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return n;if(!r.length)return n._root=Yy(r),n;for(e=[{source:r,target:n._root=new Array(4)}];r=e.pop();)for(var i=0;i<4;++i)(t=r.source[i])&&(t.length?e.push({source:t,target:r.target[i]=new Array(4)}):r.target[i]=Yy(t));return n},zy.add=function(e){const t=+this._x.call(null,e),n=+this._y.call(null,e);return Hy(this.cover(t,n),t,n,e)},zy.addAll=function(e){var t,n,r,i,o=e.length,a=new Array(o),s=new Array(o),l=1/0,c=1/0,u=-1/0,h=-1/0;for(n=0;nu&&(u=r),ih&&(h=i));if(l>u||c>h)return this;for(this.cover(l,c).cover(u,h),n=0;ne||e>=i||r>t||t>=o;)switch(s=(tp||(o=l.y0)>d||(a=l.x1)=y)<<1|e>=g)&&(l=f[f.length-1],f[f.length-1]=f[f.length-1-c],f[f.length-1-c]=l)}else{var v=e-+this._x.call(null,m.data),_=t-+this._y.call(null,m.data),b=v*v+_*_;if(b=(s=(f+g)/2))?f=s:g=s,(u=a>=(l=(m+y)/2))?m=l:y=l,t=d,!(d=d[h=u<<1|c]))return this;if(!d.length)break;(t[h+1&3]||t[h+2&3]||t[h+3&3])&&(n=t,p=h)}for(;d.data!==e;)if(r=d,!(d=d.next))return this;return(i=d.next)&&delete d.next,r?(i?r.next=i:delete r.next,this):t?(i?t[h]=i:delete t[h],(d=t[0]||t[1]||t[2]||t[3])&&d===(t[3]||t[2]||t[1]||t[0])&&!d.length&&(n?n[p]=d:this._root=d),this):(this._root=i,this)},zy.removeAll=function(e){for(var t=0,n=e.length;t{}};function Wy(e){this._=e}function Vy(e,t){for(var n,r=0,i=e.length;r=0&&(t=e.slice(n+1),e=e.slice(0,n)),e&&!r.hasOwnProperty(e))throw new Error("unknown type: "+e);return{type:e,name:t}}))),a=-1,s=o.length;if(!(arguments.length<2)){if(null!=t&&"function"!=typeof t)throw new Error("invalid callback: "+t);for(;++a0)for(var n,r,i=new Array(n),o=0;o=0&&t._call.call(null,e),t=t._next;--Zy}()}finally{Zy=0,function(){for(var e,t,n=qy,r=1/0;n;)n._call?(r>n._time&&(r=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:qy=t);Xy=e,hv(r)}(),nv=0}}function uv(){var e=iv.now(),t=e-tv;t>ev&&(rv-=t,tv=e)}function hv(e){Zy||(Qy&&(Qy=clearTimeout(Qy)),e-nv>24?(e<1/0&&(Qy=setTimeout(cv,e-iv.now()-rv)),Jy&&(Jy=clearInterval(Jy))):(Jy||(tv=iv.now(),Jy=setInterval(uv,ev)),Zy=1,ov(cv)))}function pv(e,t){const n=e.degree,r=t.degree;return nr?1:0}lv.prototype=function(e,t,n){var r=new lv;return r.restart(e,t,n),r}.prototype={constructor:lv,restart:function(e,t,n){if("function"!=typeof e)throw new TypeError("callback is not a function");n=(null==n?av():+n)+(null==t?0:+t),this._next||Xy===this||(Xy?Xy._next=this:qy=this,Xy=this),this._call=e,this._time=n,hv()},stop:function(){this._call&&(this._call=null,this._time=1/0,hv())}},Math.PI,Math.sqrt(5);const dv=(e,t)=>{if("next"!==e&&"prev"!==e)return t},fv=e=>{e.prev.next=e.next,e.next.prev=e.prev,delete e.next,delete e.prev};class mv{constructor(){const e={};e.prev=e,e.next=e.prev,this.shortcut=e}dequeue(){const e=this.shortcut,t=e.prev;if(t&&t!==e)return fv(t),t}enqueue(e){const t=this.shortcut;e.prev&&e.next&&fv(e),e.next=t.next,t.next.prev=e,t.next=e,e.prev=t}toString(){const e=[],t=this.shortcut;let n=t.prev;for(;n!==t;)e.push(JSON.stringify(n,dv)),n=null==n?void 0:n.prev;return`[${e.join(", ")}]`}}var gv;function yv(e,t){var n=e.get(t)||0;e.set(t,n+1)}function vv(e,t){var n=e.get(t);void 0!==n&&((n-=1)>0?e.set(t,n):e.delete(t))}function _v(e,t,n,r){var i=String(t),o=String(n);if(!e&&i>o){var a=i;i=o,o=a}return i+gv.EDGE_KEY_DELIM+o+gv.EDGE_KEY_DELIM+(void 0===r?gv.DEFAULT_EDGE_NAME:r)}function bv(e,t,n,r){var i=String(t),o=String(n),a={v:t,w:n};if(!e&&i>o){var s=a.v;a.v=a.w,a.w=s}return void 0!==r&&(a.name=r),a}function Ev(e,t){return _v(e,t.v,t.w,t.name)}function Tv(e){return"function"==typeof e}!function(e){e.DEFAULT_EDGE_NAME="\0",e.GRAPH_NODE="\0",e.EDGE_KEY_DELIM=""}(gv||(gv={}));var xv=function(e){return e.nodes().map((function(t){var n={id:t,value:e.node(t),parent:e.parent(t)};return void 0===n.value&&delete n.value,void 0===n.parent&&delete n.parent,n}))},Sv=function(e){return e.edges().map((function(t){var n=e.edge(t),r={v:t.v,w:t.w,value:n,name:t.name};return void 0===r.name&&delete r.name,void 0===r.value&&delete r.value,r}))};function Cv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Av(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.directed=!0,this.multigraph=!1,this.compound=!1,this.GRAPH_NODE=gv.GRAPH_NODE,this.label=void 0,this.nodeCountNum=0,this.edgeCountNum=0,this.defaultNodeLabelFn=function(){},this.defaultEdgeLabelFn=function(){},this.parentMap=void 0,this.childrenMap=void 0,this.nodesLabelMap=new Map,this.inEdgesMap=new Map,this.outEdgesMap=new Map,this.predecessorsMap=new Map,this.successorsMap=new Map,this.edgesMap=new Map,this.edgesLabelsMap=new Map,this.isDirected=function(){return t.directed},this.isMultigraph=function(){return t.multigraph},this.isCompound=function(){return t.compound},this.setGraph=function(e){return t.label=e,t},this.graph=function(){return t.label},this.setDefaultNodeLabel=function(e){return Tv(e)?t.defaultNodeLabelFn=e:t.defaultNodeLabelFn=function(){return e},t},this.nodeCount=function(){return t.nodeCountNum},this.node=function(e){return t.nodesLabelMap.get(e)},this.nodes=function(){return Array.from(t.nodesLabelMap.keys())},this.sources=function(){return t.nodes().filter((function(e){var n;return!(null===(n=t.inEdgesMap.get(e))||void 0===n?void 0:n.size)}))},this.sinks=function(){return t.nodes().filter((function(e){var n;return!(null===(n=t.outEdgesMap.get(e))||void 0===n?void 0:n.size)}))},this.setNodes=function(e,n){return e.map((function(e){return t.setNode(e,n)})),t},this.hasNode=function(e){return t.nodesLabelMap.has(e)},this.checkCompound=function(){if(!t.isCompound())throw new Error("Cannot construct parent-children relations in a non-compound graph")},this.parent=function(e){if(t.isCompound()){var n,r=null===(n=t.parentMap)||void 0===n?void 0:n.get(e);if(r!==t.GRAPH_NODE)return r}},this.removeFromParentsChildList=function(e){var n=t.parentMap.get(e);t.childrenMap.get(n).delete(e)},this.setParent=function(e,n){var r,i;t.checkCompound();for(var o=void 0===n?t.GRAPH_NODE:n,a=t.parent(o);a;){if(e===a)throw new Error("Setting "+n+" as parent of "+e+" would create a cycle");a=t.parent(a)}n&&t.setNode(n),t.setNode(e),t.removeFromParentsChildList(e),null===(r=t.parentMap)||void 0===r||r.set(e,o);var s=t.childrenMap.get(o);return s.set(e,!0),null===(i=t.childrenMap)||void 0===i||i.set(o,s),t},this.children=function(e){var n=void 0===e?t.GRAPH_NODE:e;if(t.isCompound()){var r,i=null===(r=t.childrenMap)||void 0===r?void 0:r.get(n);return i?Array.from(i.keys()):void 0}return n===t.GRAPH_NODE?t.nodes():e&&t.hasNode(e)?[]:void 0},this.predecessors=function(e){var n=t.predecessorsMap.get(e);return n?Array.from(n.keys()):void 0},this.successors=function(e){var n=t.successorsMap.get(e);return n?Array.from(n.keys()):void 0},this.neighbors=function(e){var n;if(t.hasNode(e))return Array.from(new Set(null===(n=t.predecessors(e))||void 0===n?void 0:n.concat(t.successors(e))))},this.isLeaf=function(e){var n,r;return t.isDirected()?!(null===(r=t.successors(e))||void 0===r?void 0:r.length):!(null===(n=t.neighbors(e))||void 0===n?void 0:n.length)},this.filterNodes=function(n){var r=t.directed,i=t.multigraph,o=t.compound,a=new e({directed:r,multigraph:i,compound:o});return a.setGraph(t.graph()),t.nodes().forEach((function(e){n(e)&&a.setNode(e,t.node(e))})),t.edges().forEach((function(e){a.hasNode(e.v)&&a.hasNode(e.w)&&a.setEdgeObj(e,t.edge(e))})),o&&a.nodes().forEach((function(e){a.setParent(e,function(e){for(var n=t.parent(e);void 0!==n&&!a.hasNode(n);)n=t.parent(n);return n}(e))})),a},this.setDefaultEdgeLabel=function(e){return Tv(e)?t.defaultEdgeLabelFn=e:t.defaultEdgeLabelFn=function(){return e},t},this.edgeCount=function(){return t.edgeCountNum},this.setEdgeObj=function(e,n){return t.setEdge(e.v,e.w,n,e.name)},this.setPath=function(e,n){return e.reduce((function(e,r){return t.setEdge(e,r,n),r})),t},this.edgeFromArgs=function(e,n,r){return t.edge({v:e,w:n,name:r})},this.edge=function(e){return t.edgesLabelsMap.get(Ev(t.isDirected(),e))},this.hasEdge=function(e,n,r){return t.edgesLabelsMap.has(Ev(t.isDirected(),{v:e,w:n,name:r}))},this.removeEdgeObj=function(e){var n=e.v,r=e.w,i=e.name;return t.removeEdge(n,r,i)},this.edges=function(){return Array.from(t.edgesMap.values())},this.inEdges=function(e,n){var r=t.inEdgesMap.get(e);if(r)return Array.from(r.values()).filter((function(e){return!n||e.v===n}))},this.outEdges=function(e,n){var r=t.outEdgesMap.get(e);if(r)return Array.from(r.values()).filter((function(e){return!n||e.w===n}))},this.nodeEdges=function(e,n){var r;if(t.hasNode(e))return null===(r=t.inEdges(e,n))||void 0===r?void 0:r.concat(t.outEdges(e,n))},this.toJSON=function(){return function(e){var t={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:xv(e),edges:Sv(e),value:e.graph()};return void 0===t.value&&delete t.value,t}(t)},this.nodeInDegree=function(e){var n=t.inEdgesMap.get(e);return n?n.size:0},this.nodeOutDegree=function(e){var n=t.outEdgesMap.get(e);return n?n.size:0},this.nodeDegree=function(e){return t.nodeInDegree(e)+t.nodeOutDegree(e)},this.source=function(e){return e.v},this.target=function(e){return e.w};var r=Av(Av({},Lv),n);this.compound=r.compound,this.directed=r.directed,this.multigraph=r.multigraph,this.compound&&(this.parentMap=new Map,this.childrenMap=new Map)}var t,n;return t=e,n=[{key:"setNode",value:function(e,t){var n,r=this.nodesLabelMap,i=this.defaultNodeLabelFn,o=this.isCompound,a=this.parentMap,s=this.childrenMap,l=this.inEdgesMap,c=this.outEdgesMap,u=this.predecessorsMap,h=this.successorsMap;return r.has(e)?(void 0!==t&&r.set(e,t),this):(r.set(e,t||i(e)),o()&&(null==a||a.set(e,this.GRAPH_NODE),null==s||s.set(e,new Map),(null==s?void 0:s.has(this.GRAPH_NODE))||null==s||s.set(this.GRAPH_NODE,new Map),null==s||null===(n=s.get(this.GRAPH_NODE))||void 0===n||n.set(e,!0)),[l,c,u,h].forEach((function(t){return t.set(e,new Map)})),this.nodeCountNum+=1,this)}},{key:"removeNode",value:function(e){var t=this;if(this.hasNode(e)){var n,r,i,o=function(e){t.removeEdge(e.v,e.w,e.name)},a=this.inEdgesMap,s=this.outEdgesMap,l=this.predecessorsMap,c=this.successorsMap,u=this.nodesLabelMap;this.isCompound()&&(this.removeFromParentsChildList(e),null===(n=this.parentMap)||void 0===n||n.delete(e),null===(r=this.children(e))||void 0===r||r.forEach((function(e){return t.setParent(e)})),null===(i=this.childrenMap)||void 0===i||i.delete(e));var h=a.get(e),p=s.get(e);Array.from(h.values()).forEach((function(e){return o(e)})),Array.from(p.values()).forEach((function(e){return o(e)})),u.delete(e),a.delete(e),s.delete(e),l.delete(e),c.delete(e),this.nodeCountNum-=1}return this}},{key:"setEdge",value:function(e,t,n,r){var i,o,a=bv(this.isDirected(),e,t,r),s=Ev(this.isDirected(),a),l=a.v,c=a.w;if(this.edgesLabelsMap.has(s))return this.edgesLabelsMap.set(s,n),this;if(void 0!==r&&!this.isMultigraph())throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(l),this.setNode(c),this.edgesLabelsMap.set(s,n||this.defaultEdgeLabelFn(l,c,r)),Object.freeze(a),this.edgesMap.set(s,a);var u=this.predecessorsMap.get(c),h=this.successorsMap.get(l);return yv(u,l),yv(h,c),null===(i=this.inEdgesMap.get(c))||void 0===i||i.set(s,a),null===(o=this.outEdgesMap.get(l))||void 0===o||o.set(s,a),this.edgeCountNum+=1,this}},{key:"removeEdge",value:function(e,t,n){var r=_v(this.isDirected(),e,t,n);if(this.edgesMap.get(r)){var i=bv(this.isDirected(),e,t,n),o=i.v,a=i.w;this.edgesLabelsMap.delete(r),this.edgesMap.delete(r);var s=this.predecessorsMap.get(a),l=this.successorsMap.get(o);vv(s,o),vv(l,a),this.inEdgesMap.get(a).delete(r),this.outEdgesMap.get(o).delete(r),this.edgeCountNum-=1}return this}}],n&&wv(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();Ov.fromJSON=function(e){var t=new Ov(e.options);return void 0!==e.value&&t.setGraph(e.value),e.nodes.forEach((function(e){t.setNode(e.id,e.value),e.parent&&t.setParent(e.id,e.parent)})),e.edges.forEach((function(e){t.setEdge(e.v,e.w,e.value,e.name)})),t};var Nv=function e(t,n,r,i,o,a){i.includes(n)||(i.push(n),r||a.push(n),o(n).forEach((function(n){return e(t,n,r,i,o,a)})),r&&a.push(n))};const Iv=function(e,t,n){var r=Array.isArray(t)?t:[t],i=function(t){return e.isDirected()?e.successors(t):e.neighbors(t)},o=[],a=[];return r.forEach((function(t){if(!e.hasNode(t))throw new Error("Graph does not have node: "+t);Nv(e,t,"post"===n,a,i,o)})),o},kv=function(e,t){return Iv(e,t,"post")},Dv=function(e,t){return Iv(e,t,"pre")};class Pv extends mv{}class Mv extends Ov{}const Fv=()=>1,Hv=(e,t,n,r,i)=>{var o,a;const s=[];return null===(o=e.inEdges(r.v))||void 0===o||o.forEach((r=>{const o=e.edge(r),a=e.node(r.v);i&&s.push({v:r.v,w:r.w,in:0,out:0}),void 0===a.out&&(a.out=0),a.out-=o,Bv(t,n,a)})),null===(a=e.outEdges(r.v))||void 0===a||a.forEach((r=>{const i=e.edge(r),o=r.w,a=e.node(o);void 0===a.in&&(a.in=0),a.in-=i,Bv(t,n,a)})),e.removeNode(r.v),i?s:void 0},Bv=(e,t,n)=>{n.out?n.in?e[n.out-n.in+t].enqueue(n):e[e.length-1].enqueue(n):e[0].enqueue(n)},Uv=(e,t)=>{var n;if(e.nodeCount()<=1)return[];const r=((e,t)=>{const n=new Mv;let r=0,i=0;e.nodes().forEach((e=>{n.setNode(e,{v:e,in:0,out:0})})),e.edges().forEach((e=>{const o=n.edge(e)||0,a=(null==t?void 0:t(e))||1,s=o+a;n.setEdge(e.v,e.w,s),i=Math.max(i,n.node(e.v).out+=a),r=Math.max(r,n.node(e.w).in+=a)}));const o=[],a=i+r+3;for(let e=0;e{Bv(o,s,n.node(e))})),{buckets:o,zeroIdx:s,graph:n}})(e,t||Fv);return null===(n=((e,t,n)=>{let r=[];const i=t[t.length-1],o=t[0];let a;for(;e.nodeCount();){for(;a=o.dequeue();)Hv(e,t,n,a);for(;a=i.dequeue();)Hv(e,t,n,a);if(e.nodeCount())for(let i=t.length-2;i>0;--i)if(a=t[i].dequeue(),a){r=r.concat(Hv(e,t,n,a,!0));break}}return r})(r.graph,r.buckets,r.zeroIdx).map((t=>e.outEdges(t.v,t.w))))||void 0===n?void 0:n.flat()};class jv extends Ov{}const Gv=(e,t,n,r)=>{let i;do{i=`${r}${Math.random()}`}while(e.hasNode(i));return n.dummy=t,e.setNode(i,n),i},Yv=e=>{const t=new jv({multigraph:e.isMultigraph()}).setGraph(e.graph());return e.nodes().forEach((n=>{var r;(null===(r=e.children(n))||void 0===r?void 0:r.length)||t.setNode(n,e.node(n))})),e.edges().forEach((n=>{t.setEdgeObj(n,e.edge(n))})),t},zv=(e,t)=>{const n=Number(e.x),r=Number(e.y),i=Number(t.x)-n,o=Number(t.y)-r;let a,s,l=Number(e.width)/2,c=Number(e.height)/2;return i||o?(Math.abs(o)*l>Math.abs(i)*c?(o<0&&(c=-c),a=c*i/o,s=c):(i<0&&(l=-l),a=l,s=l*o/i),{x:n+a,y:r+s}):{x:0,y:0}},$v=e=>{const t=[],n=Vv(e)+1;for(let e=0;e{const r=e.node(n);if(!r)return;const i=r.rank;void 0!==i&&t[i]&&t[i].push(n)}));for(let r=0;r{var r,i,o,a;return o=null===(r=e.node(t))||void 0===r?void 0:r.order,a=null===(i=e.node(n))||void 0===i?void 0:i.order,Number(o)-Number(a)}));return t},Wv=(e,t,n,r)=>{const i={width:0,height:0};return wy(n)&&wy(r)&&(i.rank=n,i.order=r),Gv(e,"border",i,t)},Vv=e=>{let t;return e.nodes().forEach((n=>{var r;const i=null===(r=e.node(n))||void 0===r?void 0:r.rank;void 0!==i&&(void 0===t||i>t)&&(t=i)})),t||(t=0),t},Kv=(e,t)=>{const n=Date.now();try{return t()}finally{console.log(`${e} time: ${Date.now()-n}ms`)}},qv=(e,t)=>t(),Xv=(e,t)=>e.reduce(((e,n)=>t(e)>t(n)?n:e)),Zv=e=>{e.graph().dummyChains=[],e.edges().forEach((t=>((e,t)=>{let n=t.v,r=e.node(n).rank;const i=t.w,o=e.node(i).rank,a=t.name,s=e.edge(t),l=s.labelRank;if(o===r+1)return;e.removeEdgeObj(t);const c=e.graph();let u,h,p;for(p=0,++r;r{var t;const n={},r=t=>{var i;const o=e.node(t);if(!o)return 0;if(n[t])return o.rank;let a;return n[t]=!0,null===(i=e.outEdges(t))||void 0===i||i.forEach((t=>{const n=r(t.w)-e.edge(t).minlen;n&&(void 0===a||nr(e)))},Jv=(e,t)=>e.node(t.w).rank-e.node(t.v).rank-e.edge(t).minlen,e_=(e,t)=>{const n=r=>{t.nodeEdges(r).forEach((i=>{const o=i.v,a=r===o?i.w:o;e.hasNode(a)||Jv(t,i)||(e.setNode(a,{}),e.setEdge(r,a,{}),n(a))}))};return e.nodes().forEach(n),e.nodeCount()},t_=(e,t)=>{const n=r=>{var i;null===(i=t.nodeEdges(r))||void 0===i||i.forEach((i=>{const o=i.v,a=r===o?i.w:o;e.hasNode(a)||void 0===t.node(a).layer&&Jv(t,i)||(e.setNode(a,{}),e.setEdge(r,a,{}),n(a))}))};return e.nodes().forEach(n),e.nodeCount()},n_=(e,t)=>Xv(t.edges(),(n=>e.hasNode(n.v)!==e.hasNode(n.w)?Jv(t,n):1/0)),r_=(e,t,n)=>{e.nodes().forEach((e=>{t.node(e).rank||(t.node(e).rank=0),t.node(e).rank+=n}))},{preorder:i_,postorder:o_}=n,a_=(e,t)=>{let n=o_(e,e.nodes());n=null==n?void 0:n.slice(0,(null==n?void 0:n.length)-1),null==n||n.forEach((n=>{s_(e,t,n)}))},s_=(e,t,n)=>{const r=e.node(n).parent;e.edgeFromArgs(n,r).cutvalue=l_(e,t,n)},l_=(e,t,n)=>{var r;const i=e.node(n).parent;let o=!0,a=t.edgeFromArgs(n,i),s=0;return a||(o=!1,a=t.edgeFromArgs(i,n)),s=a.weight,null===(r=t.nodeEdges(n))||void 0===r||r.forEach((r=>{const a=r.v===n,l=a?r.w:r.v;if(l!==i){const i=a===o,c=t.edge(r).weight;if(s+=i?c:-c,m_(e,n,l)){const t=e.edgeFromArgs(n,l).cutvalue;s+=i?-t:t}}})),s},c_=(e,t=e.nodes()[0])=>{u_(e,{},1,t)},u_=(e,t,n,r,i)=>{var o;const a=n;let s=n;const l=e.node(r);return t[r]=!0,null===(o=e.neighbors(r))||void 0===o||o.forEach((n=>{t[n]||(s=u_(e,t,s,n,r))})),l.low=a,l.lim=s++,i?l.parent=i:delete l.parent,s},h_=e=>e.edges().find((t=>e.edge(t).cutvalue<0)),p_=(e,t,n)=>{let r=n.v,i=n.w;t.hasEdge(r,i)||(r=n.w,i=n.v);const o=e.node(r),a=e.node(i);let s=o,l=!1;o.lim>a.lim&&(s=a,l=!0);const c=t.edges().filter((t=>l===g_(e,e.node(t.v),s)&&l!==g_(e,e.node(t.w),s)));return Xv(c,(e=>Jv(t,e)))},d_=(e,t,n,r)=>{const i=n.v,o=n.w;e.removeEdge(i,o),e.setEdge(r.v,r.w,{}),c_(e),a_(e,t),f_(e,t)},f_=(e,t)=>{const n=e.nodes().find((e=>{var n;return!(null===(n=t.node(e))||void 0===n?void 0:n.parent)}));let r=i_(e,n);r=null==r?void 0:r.slice(1),null==r||r.forEach((n=>{const r=e.node(n).parent;let i=t.edgeFromArgs(n,r),o=!1;i||(i=t.edgeFromArgs(r,n),o=!0),t.node(n).rank=t.node(r).rank+(o?i.minlen:-i.minlen)}))},m_=(e,t,n)=>e.hasEdge(t,n),g_=(e,t,n)=>n.low<=t.lim&&t.lim<=n.lim,y_=e=>{const t=(e=>{const t=(new jv).setGraph(e.graph());return e.nodes().forEach((n=>{t.setNode(n,e.node(n))})),e.edges().forEach((n=>{const r=t.edgeFromArgs(n.v,n.w)||{weight:0,minlen:1},i=e.edge(n);t.setEdge(n.v,n.w,{weight:r.weight+i.weight,minlen:Math.max(r.minlen,i.minlen)})})),t})(e);Qv(t);const n=(e=>{const t=new jv({directed:!1}),n=e.nodes()[0],r=e.nodeCount();let i,o;for(t.setNode(n,{});e_(t,e){(e=>{var t;const n={};let r;const i=t=>{var o;const a=e.node(t);if(!a)return 0;if(n[t])return a.rank;let s;return n[t]=!0,null===(o=e.outEdges(t))||void 0===o||o.forEach((t=>{const n=i(t.w)-e.edge(t).minlen;n&&(void 0===s||n{e.node(t)&&i(t)})),void 0===r&&(r=0);const o={},a=(t,n)=>{var r;const i=e.node(t),s=isNaN(i.layer)?n:i.layer;(void 0===i.rank||i.rank{a(t.w,s+e.edge(t).minlen)})))};e.nodes().forEach((t=>{const n=e.node(t);n&&(isNaN(n.layer)?n.rank-=r:a(t,n.layer))}))})(e),(e=>{const t=new jv({directed:!1}),n=e.nodes()[0],r=e.nodes().filter((t=>!!e.node(t))).length;let i,o;for(t.setNode(n,{});t_(t,e){switch(e.graph().ranker){case"network-simplex":(e=>{y_(e)})(e);break;case"tight-tree":default:__(e);break;case"longest-path":v_(e)}},E_=(e,t,n,r,i,o,a)=>{const s=e.children(a);if(!(null==s?void 0:s.length))return void(a!==t&&e.setEdge(t,a,{weight:0,minlen:n}));const l=Wv(e,"_bt"),c=Wv(e,"_bb"),u=e.node(a);e.setParent(l,a),u.borderTop=l,e.setParent(c,a),u.borderBottom=c,null==s||s.forEach((s=>{E_(e,t,n,r,i,o,s);const u=e.node(s),h=u.borderTop?u.borderTop:s,p=u.borderBottom?u.borderBottom:s,d=u.borderTop?r:2*r,f=h!==p?1:i-o[a]+1;e.setEdge(l,h,{minlen:f,weight:d,nestingEdge:!0}),e.setEdge(p,c,{minlen:f,weight:d,nestingEdge:!0})})),e.parent(a)||e.setEdge(t,l,{weight:0,minlen:i+o[a]})},T_=(e,t,n,r,i,o)=>{const a={rank:o,borderType:t,width:0,height:0},s=i[t][o-1],l=Gv(e,"border",a,n);i[t][o]=l,e.setParent(l,r),s&&e.setEdge(s,l,{weight:1})},x_=e=>{e.nodes().forEach((t=>{S_(e.node(t))})),e.edges().forEach((t=>{S_(e.edge(t))}))},S_=e=>{const t=e.width;e.width=e.height,e.height=t},C_=e=>{(null==e?void 0:e.y)&&(e.y=-e.y)},A_=e=>{const t=e.x;e.x=e.y,e.y=t},R_=e=>{var t;const n=null===(t=e.graph().rankdir)||void 0===t?void 0:t.toLowerCase();"bt"!==n&&"rl"!==n||(e=>{e.nodes().forEach((t=>{C_(e.node(t))})),e.edges().forEach((t=>{var n;const r=e.edge(t);null===(n=r.points)||void 0===n||n.forEach((e=>C_(e))),r.hasOwnProperty("y")&&C_(r)}))})(e),"lr"!==n&&"rl"!==n||((e=>{e.nodes().forEach((t=>{A_(e.node(t))})),e.edges().forEach((t=>{var n;const r=e.edge(t);null===(n=r.points)||void 0===n||n.forEach((e=>A_(e))),r.hasOwnProperty("x")&&A_(r)}))})(e),x_(e))};var w_={}.toString;const L_=function(e){return Array.isArray?Array.isArray(e):function(e,t){return w_.call(e)==="[object "+t+"]"}(e,"Array")},O_=function(e){if(L_(e))return e.reduce((function(e,t){return Math.max(e,t)}),e[0])},N_=e=>{const t={},n=e.nodes().filter((t=>{var n;return!(null===(n=e.children(t))||void 0===n?void 0:n.length)})),r=n.map((t=>e.node(t).rank)),i=O_(r),o=[];for(let e=0;e{var r;if(t.hasOwnProperty(n))return;t[n]=!0;const i=e.node(n);isNaN(i.rank)||o[i.rank].push(n),null===(r=e.successors(n))||void 0===r||r.forEach((e=>a(e)))},s=n.sort(((t,n)=>e.node(t).rank-e.node(n).rank)),l=s.filter((t=>void 0!==e.node(t).fixorder)),c=l.sort(((t,n)=>e.node(t).fixorder-e.node(n).fixorder));return null==c||c.forEach((n=>{isNaN(e.node(n).rank)||o[e.node(n).rank].push(n),t[n]=!0})),null==s||s.forEach(a),o},I_=(e,t,n)=>{const r=(a=n,s=n.map(((e,t)=>t)),null==a?void 0:a.reduce(((e,t,n)=>(e[t]=s[n],e)),{})),i=t.map((t=>{var n;const i=null===(n=e.outEdges(t))||void 0===n?void 0:n.map((t=>({pos:r[t.w]||0,weight:e.edge(t).weight})));return null==i?void 0:i.sort(((e,t)=>e.pos-t.pos))})),o=i.flat().filter((e=>void 0!==e));var a,s;let l=1;for(;l{if(e){let t=e.pos+l;u[t]+=e.weight;let n=0;for(;t>0;)t%2&&(n+=u[t+1]),t=t-1>>1,u[t]+=e.weight;h+=e.weight*n}})),h},k_=(e,t)=>{let n=0;for(let r=1;r<(null==t?void 0:t.length);r+=1)n+=I_(e,t[r-1],t[r]);return n},D_=(e,t,n)=>{const r=(e=>{let t;for(;e.hasNode(t=`_root${Math.random()}`););return t})(e),i=new jv({compound:!0}).setGraph({root:r}).setDefaultNodeLabel((t=>e.node(t)));return e.nodes().forEach((o=>{var a;const s=e.node(o),l=e.parent(o);(s.rank===t||s.minRank<=t&&t<=s.maxRank)&&(i.setNode(o),i.setParent(o,l||r),null===(a=e[n](o))||void 0===a||a.forEach((t=>{const n=t.v===o?t.w:t.v,r=i.edgeFromArgs(n,o),a=void 0!==r?r.weight:0;i.setEdge(n,o,{weight:e.edge(t).weight+a})})),s.hasOwnProperty("minRank")&&i.setNode(o,{borderLeft:s.borderLeft[t],borderRight:s.borderRight[t]}))})),i},P_=(e,t)=>{var n;let r=0,i=0;e.weight&&(r+=e.barycenter*e.weight,i+=e.weight),t.weight&&(r+=t.barycenter*t.weight,i+=t.weight),e.vs=null===(n=t.vs)||void 0===n?void 0:n.concat(e.vs),e.barycenter=r/i,e.weight=i,e.i=Math.min(t.i,e.i),t.merged=!0},M_=(e,t)=>{var n,r,i;const o={};null==e||e.forEach(((e,t)=>{o[e.v]={i:t,indegree:0,in:[],out:[],vs:[e.v]};const n=o[e.v];void 0!==e.barycenter&&(n.barycenter=e.barycenter,n.weight=e.weight)})),null===(n=t.edges())||void 0===n||n.forEach((e=>{const t=o[e.v],n=o[e.w];void 0!==t&&void 0!==n&&(n.indegree++,t.out.push(o[e.w]))}));return(e=>{var t,n;const r=[];for(;null==e?void 0:e.length;){const i=e.pop();r.push(i),null===(t=i.in.reverse())||void 0===t||t.forEach((e=>{return(t=i,e=>{e.merged||(void 0===e.barycenter||void 0===t.barycenter||e.barycenter>=t.barycenter)&&P_(t,e)})(e);var t})),null===(n=i.out)||void 0===n||n.forEach((t=>{return(n=i,t=>{t.in.push(n),0==--t.indegree&&e.push(t)})(t);var n}))}const i=r.filter((e=>!e.merged)),o=["vs","i","barycenter","weight"];return i.map((e=>{const t={};return null==o||o.forEach((n=>{void 0!==e[n]&&(t[n]=e[n])})),t}))})(null===(i=(r=Object.values(o)).filter)||void 0===i?void 0:i.call(r,(e=>!e.indegree)))},F_=(e,t,n)=>{let r,i=n;for(;t.length&&(r=t[t.length-1]).i<=i;)t.pop(),null==e||e.push(r.vs),i++;return i},H_=(e,t,n,r)=>{const i=((e,t)=>{const n={lhs:[],rhs:[]};return null==e||e.forEach((e=>{(e=>{const t=e.hasOwnProperty("fixorder")&&!isNaN(e.fixorder);return r?!t&&e.hasOwnProperty("barycenter"):t||e.hasOwnProperty("barycenter")})(e)?n.lhs.push(e):n.rhs.push(e)})),n})(e),o=i.lhs,a=i.rhs.sort(((e,t)=>-e.i- -t.i)),s=[];let l=0,c=0,u=0;null==o||o.sort(((e,t)=>(n,r)=>{if(void 0!==n.fixorder&&void 0!==r.fixorder)return n.fixorder-r.fixorder;if(n.barycenterr.barycenter)return 1;if(t&&void 0!==n.order&&void 0!==r.order){if(n.orderr.order)return 1}return e?r.i-n.i:n.i-r.i})(!!t,!!n)),u=F_(s,a,u),null==o||o.forEach((e=>{var t;u+=null===(t=e.vs)||void 0===t?void 0:t.length,s.push(e.vs),l+=e.barycenter*e.weight,c+=e.weight,u=F_(s,a,u)}));const h={vs:s.flat()};return c&&(h.barycenter=l/c,h.weight=c),h},B_=(e,t,n,r,i,o)=>{var a,s,l,c;let u=e.children(t);const h=e.node(t),p=h?h.borderLeft:void 0,d=h?h.borderRight:void 0,f={};p&&(u=null==u?void 0:u.filter((e=>e!==p&&e!==d)));const m=((e,t)=>t.map((t=>{const n=e.inEdges(t);if(!(null==n?void 0:n.length))return{v:t};{const r={sum:0,weight:0};return null==n||n.forEach((t=>{const n=e.edge(t),i=e.node(t.v);r.sum+=n.weight*i.order,r.weight+=n.weight})),{v:t,barycenter:r.sum/r.weight,weight:r.weight}}})))(e,u||[]);null==m||m.forEach((t=>{var i;if(null===(i=e.children(t.v))||void 0===i?void 0:i.length){const i=B_(e,t.v,n,r,o);f[t.v]=i,i.hasOwnProperty("barycenter")&&j_(t,i)}}));const g=M_(m,n);U_(g,f),null===(a=g.filter((e=>e.vs.length>0)))||void 0===a||a.forEach((t=>{const n=e.node(t.vs[0]);n&&(t.fixorder=n.fixorder,t.order=n.order)}));const y=H_(g,r,i,o);if(p&&(y.vs=[p,y.vs,d].flat(),null===(s=e.predecessors(p))||void 0===s?void 0:s.length)){const t=e.node((null===(l=e.predecessors(p))||void 0===l?void 0:l[0])||""),n=e.node((null===(c=e.predecessors(d))||void 0===c?void 0:c[0])||"");y.hasOwnProperty("barycenter")||(y.barycenter=0,y.weight=0),y.barycenter=(y.barycenter*y.weight+t.order+n.order)/(y.weight+2),y.weight+=2}return y},U_=(e,t)=>{null==e||e.forEach((e=>{var n;const r=null===(n=e.vs)||void 0===n?void 0:n.map((e=>t[e]?t[e].vs:e));e.vs=r.flat()}))},j_=(e,t)=>{void 0!==e.barycenter?(e.barycenter=(e.barycenter*e.weight+t.barycenter*t.weight)/(e.weight+t.weight),e.weight+=t.weight):(e.barycenter=t.barycenter,e.weight=t.weight)},G_=B_,Y_=(e,t,n)=>t.map((t=>D_(e,t,n))),z_=(e,t,n,r)=>{const i=new jv;null==e||e.forEach((e=>{var o;const a=e.graph().root,s=G_(e,a,i,t,n,r);for(let t=0;t<(null===(o=s.vs)||void 0===o?void 0:o.length);t++){const n=e.node(s.vs[t]);n&&(n.order=t)}((e,t,n)=>{const r={};let i;null==n||n.forEach((n=>{let o,a,s=e.parent(n);for(;s;){if(o=e.parent(s),o?(a=r[o],r[o]=s):(a=i,i=s),a&&a!==s)return void t.setEdge(a,s);s=o}}))})(e,i,s.vs)}))},$_=(e,t)=>{null==t||t.forEach((t=>{null==t||t.forEach(((t,n)=>{e.node(t).order=n}))}))},W_=function(e){if(L_(e))return e.reduce((function(e,t){return Math.min(e,t)}),e[0])};class V_ extends Ov{}const K_=(e,t)=>{var n,r;if(null===(n=e.node(t))||void 0===n?void 0:n.dummy)return null===(r=e.predecessors(t))||void 0===r?void 0:r.find((t=>e.node(t).dummy))},q_=(e,t,n)=>{let r=t,i=n;if(r>i){const e=r;r=i,i=e}let o=e[r];o||(e[r]=o={}),o[i]=!0},X_=(e,t,n)=>{let r=t,i=n;return r>n&&(r=n,i=t),!!e[r]},Z_=(e,t,n,r)=>{const i=new V_,o=e.graph(),a=Q_(o.nodesep,o.edgesep,r);return null==t||t.forEach((t=>{let r;null==t||t.forEach((t=>{const o=n[t];if(i.setNode(o),r){const s=n[r],l=i.edgeFromArgs(s,o);i.setEdge(s,o,Math.max(a(e,t,r),l||0))}r=t}))})),i};const Q_=(e,t,n)=>(r,i,o)=>{const a=r.node(i),s=r.node(o);let l,c=0;if(c+=a.width/2,a.hasOwnProperty("labelpos"))switch((a.labelpos||"").toLowerCase()){case"l":l=-a.width/2;break;case"r":l=a.width/2}if(l&&(c+=n?l:-l),l=0,c+=(a.dummy?t:e)/2,c+=(s.dummy?t:e)/2,c+=s.width/2,s.labelpos)switch((s.labelpos||"").toLowerCase()){case"l":l=s.width/2;break;case"r":l=-s.width/2}return l&&(c+=n?l:-l),l=0,c},J_=(e,t)=>e.node(t).width||0,eb=e=>{var t;const n=Yv(e);(e=>{const t=$v(e),n=e.graph().ranksep;let r=0;null==t||t.forEach((t=>{const i=t.map((t=>e.node(t).height)),o=Math.max(...i,0);null==t||t.forEach((t=>{e.node(t).y=r+o/2})),r+=o+n}))})(n);const r=(e=>{const t=$v(e),n=Object.assign(((e,t)=>{const n={};return(null==t?void 0:t.length)&&t.reduce(((t,r)=>{let i=0,o=0;const a=t.length,s=null==r?void 0:r[(null==r?void 0:r.length)-1];return null==r||r.forEach(((t,l)=>{var c;const u=K_(e,t),h=u?e.node(u).order:a;(u||t===s)&&(null===(c=r.slice(o,l+1))||void 0===c||c.forEach((t=>{var r;null===(r=e.predecessors(t))||void 0===r||r.forEach((r=>{var o;const a=e.node(r),s=a.order;!(s{const n={};function r(t,r){const i=function(e){return JSON.stringify(e.slice(1))}(t);r.get(i)||(function(t,r,i,o,a){var s,l;let c;for(let u=r;u{const r=e.node(t);r.dummy&&(r.ordera)&&q_(n,t,c)})))}(...t),r.set(i,!0))}return(null==t?void 0:t.length)&&t.reduce(((t,n)=>{let i,o=-1,a=0;const s=new Map;return null==n||n.forEach(((l,c)=>{var u;if("border"===(null===(u=e.node(l))||void 0===u?void 0:u.dummy)){const t=e.predecessors(l)||[];t.length&&(i=e.node(t[0]).order,r([n,a,c,o,i],s),a=c,o=i)}r([n,a,n.length,i,t.length],s)})),n})),n})(e,t)),r={};let i=[];["u","d"].forEach((o=>{i="u"===o?t:Object.values(t).reverse(),["l","r"].forEach((t=>{"r"===t&&(i=i.map((e=>Object.values(e).reverse())));const a=("u"===o?e.predecessors:e.successors).bind(e),s=((e,t,n,r)=>{const i={},o={},a={};return null==t||t.forEach((e=>{null==e||e.forEach(((e,t)=>{i[e]=e,o[e]=e,a[e]=t}))})),null==t||t.forEach((e=>{let t=-1;null==e||e.forEach((e=>{let s=r(e);if(s.length){s=s.sort(((e,t)=>a[e]-a[t]));const r=(s.length-1)/2;for(let l=Math.floor(r),c=Math.ceil(r);l<=c;++l){const r=s[l];o[e]===e&&t{var o;const a={},s=Z_(e,t,n,i),l=i?"borderLeft":"borderRight",c=(e,t)=>{let n=s.nodes(),r=n.pop();const i={};for(;r;)i[r]?e(r):(i[r]=!0,n.push(r),n=n.concat(t(r))),r=n.pop()};return c((e=>{a[e]=(s.inEdges(e)||[]).reduce(((e,t)=>Math.max(e,(a[t.v]||0)+s.edge(t))),0)}),s.predecessors.bind(s)),c((t=>{const n=(s.outEdges(t)||[]).reduce(((e,t)=>Math.min(e,(a[t.w]||0)-s.edge(t))),Number.POSITIVE_INFINITY),r=e.node(t);n!==Number.POSITIVE_INFINITY&&r.borderType!==l&&(a[t]=Math.max(a[t],n))}),s.successors.bind(s)),null===(o=Object.values(r))||void 0===o||o.forEach((e=>{a[e]=a[n[e]]})),a})(e,i,s.root,s.align,"r"===t);"r"===t&&Object.keys(l).forEach((e=>l[e]=-l[e])),r[o+t]=l}))}));const o=((e,t)=>Xv(Object.values(t),(t=>{var n;let r=Number.NEGATIVE_INFINITY,i=Number.POSITIVE_INFINITY;return null===(n=Object.keys(t))||void 0===n||n.forEach((n=>{const o=t[n],a=J_(e,n)/2;r=Math.max(o+a,r),i=Math.min(o-a,i)})),r-i})))(e,r);return o&&function(e,t){const n=Object.values(t),r=W_(n),i=O_(n);["u","d"].forEach((n=>{["l","r"].forEach((o=>{const a=n+o,s=e[a];let l;if(s===t)return;const c=Object.values(s);l="l"===o?r-W_(c):i-O_(c),l&&(e[a]={},Object.keys(s).forEach((t=>{e[a][t]=s[t]+l})))}))}))}(r,o),((e,t)=>{const n={};return Object.keys(e.ul).forEach((r=>{if(t)n[r]=e[t.toLowerCase()][r];else{const t=Object.values(e).map((e=>e[r]));n[r]=(t[0]+t[1])/2}})),n})(r,e.graph().align)})(n);null===(t=Object.keys(r))||void 0===t||t.forEach((e=>{n.node(e).x=r[e]}))},tb=(e,t,n)=>{t(" removeSelfEdges",(()=>{vb(e)})),t(" acyclic",(()=>{(e=>{const t="greedy"===e.graph().acyclicer?Uv(e,(e=>t=>{var n;return(null===(n=e.edge(t))||void 0===n?void 0:n.weight)||1})(e)):(e=>{const t=[],n={},r={},i=o=>{var a;r[o]||(r[o]=!0,n[o]=!0,null===(a=e.outEdges(o))||void 0===a||a.forEach((e=>{n[e.w]?t.push(e):i(e.w)})),delete n[o])};return e.nodes().forEach(i),t})(e);null==t||t.forEach((t=>{const n=e.edge(t);e.removeEdgeObj(t),n.forwardName=t.name,n.reversed=!0,e.setEdge(t.w,t.v,n,`rev-${Math.random()}`)}))})(e)})),t(" nestingGraph.run",(()=>{(e=>{var t;const n=Gv(e,"root",{},"_root"),r=(e=>{var t;const n={},r=(t,i)=>{const o=e.children(t);null==o||o.forEach((e=>r(e,i+1))),n[t]=i};return null===(t=e.children())||void 0===t||t.forEach((e=>r(e,1))),n})(e);let i=Math.max(...Object.values(r));Math.abs(i)===1/0&&(i=1);const o=i-1,a=2*o+1;e.graph().nestingRoot=n,e.edges().forEach((t=>{e.edge(t).minlen*=a}));const s=(e=>{let t=0;return e.edges().forEach((n=>{t+=e.edge(n).weight})),t})(e)+1;null===(t=e.children())||void 0===t||t.forEach((t=>{E_(e,n,a,s,o,r,t)})),e.graph().nodeRankFactor=a})(e)})),t(" rank",(()=>{b_(Yv(e))})),t(" injectEdgeLabelProxies",(()=>{ub(e)})),t(" removeEmptyRanks",(()=>{(e=>{const t=e.nodes(),n=t.filter((t=>{var n;return void 0!==(null===(n=e.node(t))||void 0===n?void 0:n.rank)})).map((t=>e.node(t).rank)),r=Math.min(...n),i=[];t.forEach((t=>{var n;const o=((null===(n=e.node(t))||void 0===n?void 0:n.rank)||0)-r;i[o]||(i[o]=[]),i[o].push(t)}));let o=0;const a=e.graph().nodeRankFactor||0;for(let t=0;t{const n=e.node(t);n&&(n.rank=n.rank||0,n.rank+=o)})))}})(e)})),t(" nestingGraph.cleanup",(()=>{(e=>{const t=e.graph();t.nestingRoot&&e.removeNode(t.nestingRoot),delete t.nestingRoot,e.edges().forEach((t=>{e.edge(t).nestingEdge&&e.removeEdgeObj(t)}))})(e)})),t(" normalizeRanks",(()=>{(e=>{const t=e.nodes().filter((t=>{var n;return void 0!==(null===(n=e.node(t))||void 0===n?void 0:n.rank)})).map((t=>e.node(t).rank)),n=Math.min(...t);e.nodes().forEach((t=>{const r=e.node(t);r.hasOwnProperty("rank")&&n!==1/0&&(r.rank-=n)}))})(e)})),t(" assignRankMinMax",(()=>{hb(e)})),t(" removeEdgeLabelProxies",(()=>{pb(e)})),t(" normalize.run",(()=>{Zv(e)})),t(" parentDummyChains",(()=>{(e=>{var t;const n=(e=>{var t;const n={};let r=0;const i=t=>{var o;const a=r;null===(o=e.children(t))||void 0===o||o.forEach(i),n[t]={low:a,lim:r++}};return null===(t=e.children())||void 0===t||t.forEach(i),n})(e);null===(t=e.graph().dummyChains)||void 0===t||t.forEach((t=>{var r,i;let o=t,a=e.node(o);const s=a.edgeObj;if(!s)return;const l=((e,t,n,r)=>{const i=[],o=[],a=Math.min(t[n].low,t[r].low),s=Math.max(t[n].lim,t[r].lim);let l,c;l=n;do{l=e.parent(l),i.push(l)}while(l&&(t[l].low>a||s>t[l].lim));for(c=l,l=r;l&&l!==c;)o.push(l),l=e.parent(l);return{lca:c,path:i.concat(o.reverse())}})(e,n,s.v,s.w),c=l.path,u=l.lca;let h=0,p=c[h],d=!0;for(;o!==s.w;){if(a=e.node(o),d){for(;p!==u&&(null===(r=e.node(p))||void 0===r?void 0:r.maxRank){(e=>{var t;const n=t=>{const r=e.children(t),i=e.node(t);if((null==r?void 0:r.length)&&r.forEach((e=>n(e))),i.hasOwnProperty("minRank")){i.borderLeft=[],i.borderRight=[];for(let n=i.minRank,r=i.maxRank+1;nn(e)))})(e)})),n&&n.keepNodeOrder&&t(" initDataOrder",(()=>{((e,t)=>{const n=e.nodes().filter((t=>{var n;return!(null===(n=e.children(t))||void 0===n?void 0:n.length)})),r=n.map((t=>e.node(t).rank)),i=Math.max(...r),o=[];for(let e=0;e{const n=e.node(t);n&&!(null==n?void 0:n.dummy)&&(isNaN(n.rank)||(n.fixorder=o[n.rank].length,o[n.rank].push(t)))}))})(e,n.nodeOrder)})),t(" order",(()=>{((e,t)=>{const n=Vv(e),r=[],i=[];for(let e=1;e-1;e--)i.push(e);const o=Y_(e,r,"inEdges"),a=Y_(e,i,"outEdges");let s=N_(e);$_(e,s);let l,c=Number.POSITIVE_INFINITY;for(let n=0,r=0;r<4;++n,++r){z_(n%2?o:a,n%4>=2,!1,t),s=$v(e);const i=k_(e,s);i=2,!0,t),s=$v(e);const i=k_(e,s);i{_b(e)})),t(" adjustCoordinateSystem",(()=>{(e=>{var t;const n=null===(t=e.graph().rankdir)||void 0===t?void 0:t.toLowerCase();"lr"!==n&&"rl"!==n||x_(e)})(e)})),t(" position",(()=>{eb(e)})),t(" positionSelfEdges",(()=>{bb(e)})),t(" removeBorderNodes",(()=>{yb(e)})),t(" normalize.undo",(()=>{(e=>{var t;null===(t=e.graph().dummyChains)||void 0===t||t.forEach((t=>{let n=e.node(t);const r=n.edgeLabel;let i;n.edgeObj&&e.setEdgeObj(n.edgeObj,r);let o=t;for(;n.dummy;)i=e.successors(o)[0],e.removeNode(o),r.points.push({x:n.x,y:n.y}),"edge-label"===n.dummy&&(r.x=n.x,r.y=n.y,r.width=n.width,r.height=n.height),o=i,n=e.node(o)}))})(e)})),t(" fixupEdgeLabelCoords",(()=>{mb(e)})),t(" undoCoordinateSystem",(()=>{R_(e)})),t(" translateGraph",(()=>{db(e)})),t(" assignNodeIntersects",(()=>{fb(e)})),t(" reversePoints",(()=>{gb(e)})),t(" acyclic.undo",(()=>{(e=>{e.edges().forEach((t=>{const n=e.edge(t);if(n.reversed){e.removeEdgeObj(t);const r=n.forwardName;delete n.reversed,delete n.forwardName,e.setEdge(t.w,t.v,n,r)}}))})(e)}))},nb=["nodesep","edgesep","ranksep","marginx","marginy"],rb={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},ib=["acyclicer","ranker","rankdir","align"],ob=["width","height","layer","fixorder"],ab={width:0,height:0},sb=["minlen","weight","width","height","labeloffset"],lb={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},cb=["labelpos"],ub=e=>{e.edges().forEach((t=>{const n=e.edge(t);if(n.width&&n.height){const n=e.node(t.v),r={e:t,rank:(e.node(t.w).rank-n.rank)/2+n.rank};Gv(e,"edge-proxy",r,"_ep")}}))},hb=e=>{let t=0;e.nodes().forEach((n=>{var r,i;const o=e.node(n);o.borderTop&&(o.minRank=null===(r=e.node(o.borderTop))||void 0===r?void 0:r.rank,o.maxRank=null===(i=e.node(o.borderBottom))||void 0===i?void 0:i.rank,t=Math.max(t,o.maxRank||-1/0))})),e.graph().maxRank=t},pb=e=>{e.nodes().forEach((t=>{const n=e.node(t);"edge-proxy"===n.dummy&&(e.edge(n.e).labelRank=n.rank,e.removeNode(t))}))},db=e=>{let t,n,r=0,i=0;const o=e.graph(),a=o.marginx||0,s=o.marginy||0,l=e=>{if(!e)return;const o=e.x,a=e.y,s=e.width,l=e.height;isNaN(o)||isNaN(s)||(void 0===t&&(t=o-s/2),t=Math.min(t,o-s/2),r=Math.max(r,o+s/2)),isNaN(a)||isNaN(l)||(void 0===n&&(n=a-l/2),n=Math.min(n,a-l/2),i=Math.max(i,a+l/2))};e.nodes().forEach((t=>{l(e.node(t))})),e.edges().forEach((t=>{const n=e.edge(t);(null==n?void 0:n.hasOwnProperty("x"))&&l(n)})),t-=a,n-=s,e.nodes().forEach((r=>{const i=e.node(r);i&&(i.x-=t,i.y-=n)})),e.edges().forEach((r=>{var i;const o=e.edge(r);null===(i=o.points)||void 0===i||i.forEach((e=>{e.x-=t,e.y-=n})),o.hasOwnProperty("x")&&(o.x-=t),o.hasOwnProperty("y")&&(o.y-=n)})),o.width=r-t+a,o.height=i-n+s},fb=e=>{e.edges().forEach((t=>{const n=e.edge(t),r=e.node(t.v),i=e.node(t.w);let o,a;n.points?(o=n.points[0],a=n.points[n.points.length-1]):(n.points=[],o=i,a=r),n.points.unshift(zv(r,o)),n.points.push(zv(i,a))}))},mb=e=>{e.edges().forEach((t=>{const n=e.edge(t);if(null==n?void 0:n.hasOwnProperty("x"))switch("l"!==n.labelpos&&"r"!==n.labelpos||(n.width-=n.labeloffset),n.labelpos){case"l":n.x-=n.width/2+n.labeloffset;break;case"r":n.x+=n.width/2+n.labeloffset}}))},gb=e=>{e.edges().forEach((t=>{var n;const r=e.edge(t);r.reversed&&(null===(n=r.points)||void 0===n||n.reverse())}))},yb=e=>{e.nodes().forEach((t=>{var n,r,i;if(null===(n=e.children(t))||void 0===n?void 0:n.length){const n=e.node(t),o=e.node(n.borderTop),a=e.node(n.borderBottom),s=e.node(n.borderLeft[(null===(r=n.borderLeft)||void 0===r?void 0:r.length)-1]),l=e.node(n.borderRight[(null===(i=n.borderRight)||void 0===i?void 0:i.length)-1]);n.width=Math.abs((null==l?void 0:l.x)-(null==s?void 0:s.x))||10,n.height=Math.abs((null==a?void 0:a.y)-(null==o?void 0:o.y))||10,n.x=((null==s?void 0:s.x)||0)+n.width/2,n.y=((null==o?void 0:o.y)||0)+n.height/2}})),e.nodes().forEach((t=>{var n;"border"===(null===(n=e.node(t))||void 0===n?void 0:n.dummy)&&e.removeNode(t)}))},vb=e=>{e.edges().forEach((t=>{if(t.v===t.w){const n=e.node(t.v);n.selfEdges||(n.selfEdges=[]),n.selfEdges.push({e:t,label:e.edge(t)}),e.removeEdgeObj(t)}}))},_b=e=>{const t=$v(e);null==t||t.forEach((t=>{let n=0;null==t||t.forEach(((t,r)=>{var i;const o=e.node(t);o.order=r+n,null===(i=o.selfEdges)||void 0===i||i.forEach((t=>{Gv(e,"selfedge",{width:t.label.width,height:t.label.height,rank:o.rank,order:r+ ++n,e:t.e,label:t.label},"_se")})),delete o.selfEdges}))}))},bb=e=>{e.nodes().forEach((t=>{const n=e.node(t);if("selfedge"===n.dummy){const r=e.node(n.e.v),i=r.x+r.width/2,o=r.y,a=n.x-i,s=r.height/2;e.setEdgeObj(n.e,n.label),e.removeNode(t),n.label.points=[{x:i+2*a/3,y:o-s},{x:i+5*a/6,y:o-s},{y:o,x:i+a},{x:i+5*a/6,y:o+s},{x:i+2*a/3,y:o+s}],n.label.x=n.x,n.label.y=n.y}}))},Eb=(e,t)=>{const n={};return null==t||t.forEach((t=>{void 0!==e[t]&&(n[t]=+e[t])})),n},Tb=(e={})=>{const t={};return Object.keys(e).forEach((n=>{t[n.toLowerCase()]=e[n]})),t},xb=(e,t)=>{const n=t&&t.debugTiming?Kv:qv;n("layout",(()=>{t&&!t.keepNodeOrder&&t.prevGraph&&n(" inheritOrder",(()=>{var n,r;n=e,r=t.prevGraph,n.nodes().forEach((e=>{const t=n.node(e),i=r.node(e);void 0!==i?(t.fixorder=i._order,delete i._order):delete t.fixorder}))}));const r=n(" buildLayoutGraph",(()=>(e=>{const t=new jv({multigraph:!0,compound:!0}),n=Tb(e.graph()),r={};return null==ib||ib.forEach((e=>{void 0!==n[e]&&(r[e]=n[e])})),t.setGraph(Object.assign({},rb,Eb(n,nb),r)),e.nodes().forEach((n=>{const r=Tb(e.node(n)),i=Object.assign(Object.assign({},ab),r),o=Eb(i,ob);t.setNode(n,o),t.setParent(n,e.parent(n))})),e.edges().forEach((n=>{const r=Tb(e.edge(n)),i={};null==cb||cb.forEach((e=>{void 0!==r[e]&&(i[e]=r[e])})),t.setEdgeObj(n,Object.assign({},lb,Eb(r,sb),i))})),t})(e)));t&&!1===t.edgeLabelSpace||n(" makeSpaceForEdgeLabels",(()=>{(e=>{const t=e.graph();t.ranksep||(t.ranksep=0),t.ranksep/=2,e.nodes().forEach((t=>{const n=e.node(t);isNaN(n.layer)||n.layer||(n.layer=0)})),e.edges().forEach((n=>{var r;const i=e.edge(n);i.minlen*=2,"c"!==(null===(r=i.labelpos)||void 0===r?void 0:r.toLowerCase())&&("TB"===t.rankdir||"BT"===t.rankdir?i.width+=i.labeloffset:i.height+=i.labeloffset)}))})(r)}));try{n(" runLayout",(()=>{tb(r,n,t)}))}catch(e){if("Not possible to find intersection inside of the rectangle"===e.message)return void console.error("The following error may be caused by improper layer setting, please make sure your manual layer setting does not violate the graph's structure:\n",e);throw e}n(" updateInputGraph",(()=>{((e,t)=>{e.nodes().forEach((n=>{var r;const i=e.node(n);if(i){const e=t.node(n);i.x=e.x,i.y=e.y,i._order=e.order,i._rank=e.rank,(null===(r=t.children(n))||void 0===r?void 0:r.length)&&(i.width=e.width,i.height=e.height)}})),e.edges().forEach((n=>{const r=e.edge(n),i=t.edge(n);r.points=i?i.points:[],i&&i.hasOwnProperty("x")&&(r.x=i.x,r.y=i.y)})),e.graph().width=t.graph().width,e.graph().height=t.graph().height})(e,r)}))}))};const Sb=(e,t,n,r,i,o,a)=>{let s=(null==e?void 0:e.slice(1,e.length-1))||[];if(t&&n){let{x:e,y:l}=t,{x:c,y:u}=n;if(i&&(e=t.y,l=t.x,c=n.y,u=n.x),u!==l&&e!==c){const h=r.indexOf(l),p=r[h+1];if(p){const e=s[0],t=i?{x:(l+p)/2,y:(null==e?void 0:e.y)||c}:{x:(null==e?void 0:e.x)||c,y:(l+p)/2};e&&!o(e,t)||s.unshift(t)}const d=r.indexOf(u),f=Math.abs(d-h);if(1===f)s=a(s,t,n),s.length||s.push(i?{x:(l+u)/2,y:e}:{x:e,y:(l+u)/2});else if(f>1){const t=r[d-1];if(t){const n=s[s.length-1],r=i?{x:(u+t)/2,y:(null==n?void 0:n.y)||c}:{x:(null==n?void 0:n.x)||e,y:(u+t)/2};n&&!o(n,r)||s.push(r)}}}}return s};function Cb(e){return`◬${e}◬`}var Ab,Rb,wb,Lb;Cb("ROOT"),Cb("BRIDGE_GRAPH"),function(e){e[e.META=0]="META",e[e.NODE=1]="NODE",e[e.BRIDGE=2]="BRIDGE"}(Ab||(Ab={})),function(e){e[e.INCLUDE=0]="INCLUDE",e[e.EXCLUDE=1]="EXCLUDE",e[e.UNSPECIFIED=2]="UNSPECIFIED"}(Rb||(Rb={})),function(e){e[e.META=0]="META",e[e.CORE=1]="CORE",e[e.BRIDGE=2]="BRIDGE"}(wb||(wb={})),function(e){e[e.META=0]="META",e[e.OP=1]="OP",e[e.SERIES=2]="SERIES"}(Lb||(Lb={}));var Ob="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==u.g?u.g:"undefined"!=typeof self?self:{};function Nb(e,t){return e(t={exports:{}},t.exports),t.exports}var Ib=function(e,t){return e===t||e!=e&&t!=t},kb=function(e,t){for(var n=e.length;n--;)if(Ib(e[n][0],t))return n;return-1},Db=Array.prototype.splice;function Pb(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t-1},Pb.prototype.set=function(e,t){var n=this.__data__,r=kb(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};var Mb,Fb=Pb,Hb="object"==typeof Ob&&Ob&&Ob.Object===Object&&Ob,Bb="object"==typeof self&&self&&self.Object===Object&&self,Ub=Hb||Bb||Function("return this")(),jb=Ub.Symbol,Gb=Object.prototype,Yb=Gb.hasOwnProperty,zb=Gb.toString,$b=jb?jb.toStringTag:void 0,Wb=Object.prototype.toString,Vb=jb?jb.toStringTag:void 0,Kb=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Vb&&Vb in Object(e)?function(e){var t=Yb.call(e,$b),n=e[$b];try{e[$b]=void 0;var r=!0}catch(e){}var i=zb.call(e);return r&&(t?e[$b]=n:delete e[$b]),i}(e):function(e){return Wb.call(e)}(e)},qb=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},Xb=function(e){if(!qb(e))return!1;var t=Kb(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},Zb=Ub["__core-js_shared__"],Qb=(Mb=/[^.]+$/.exec(Zb&&Zb.keys&&Zb.keys.IE_PROTO||""))?"Symbol(src)_1."+Mb:"",Jb=Function.prototype.toString,eE=function(e){if(null!=e){try{return Jb.call(e)}catch(e){}try{return e+""}catch(e){}}return""},tE=/^\[object .+?Constructor\]$/,nE=Function.prototype,rE=Object.prototype,iE=nE.toString,oE=rE.hasOwnProperty,aE=RegExp("^"+iE.call(oE).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),sE=function(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!qb(e)||function(e){return!!Qb&&Qb in e}(e))&&(Xb(e)?aE:tE).test(eE(e))}(n)?n:void 0},lE=sE(Ub,"Map"),cE=sE(Object,"create"),uE=Object.prototype.hasOwnProperty,hE=Object.prototype.hasOwnProperty;function pE(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t-1&&e%1==0&&e-1&&e%1==0&&e<=9007199254740991},FE={};FE["[object Float32Array]"]=FE["[object Float64Array]"]=FE["[object Int8Array]"]=FE["[object Int16Array]"]=FE["[object Int32Array]"]=FE["[object Uint8Array]"]=FE["[object Uint8ClampedArray]"]=FE["[object Uint16Array]"]=FE["[object Uint32Array]"]=!0,FE["[object Arguments]"]=FE["[object Array]"]=FE["[object ArrayBuffer]"]=FE["[object Boolean]"]=FE["[object DataView]"]=FE["[object Date]"]=FE["[object Error]"]=FE["[object Function]"]=FE["[object Map]"]=FE["[object Number]"]=FE["[object Object]"]=FE["[object RegExp]"]=FE["[object Set]"]=FE["[object String]"]=FE["[object WeakMap]"]=!1;var HE=function(e){return function(t){return e(t)}},BE=Nb((function(e,t){var n=t&&!t.nodeType&&t,r=n&&e&&!e.nodeType&&e,i=r&&r.exports===n&&Hb.process,o=function(){try{return r&&r.require&&r.require("util").types||i&&i.binding&&i.binding("util")}catch(e){}}();e.exports=o})),UE=BE&&BE.isTypedArray,jE=UE?HE(UE):function(e){return CE(e)&&ME(e.length)&&!!FE[Kb(e)]},GE=Object.prototype.hasOwnProperty,YE=function(e,t){var n=NE(e),r=!n&&OE(e),i=!n&&!r&&kE(e),o=!n&&!r&&!i&&jE(e),a=n||r||i||o,s=a?function(e,t){for(var n=-1,r=Array(e);++ns))return!1;var c=o.get(e),u=o.get(t);if(c&&u)return c==t&&u==e;var h=-1,p=!0,d=2&n?new XT:void 0;for(o.set(e,t),o.set(t,e);++h0&&r(l)?n>1?e(l,n-1,r,i,o):sT(o,l):i||(o[o.length]=l)}return o},rS=Math.max,iS=function(e,t,n){return t=rS(void 0===t?e.length-1:t,0),function(){for(var r=arguments,i=-1,o=rS(r.length-t,0),a=Array(o);++i0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(oS),lS=function(e,t){return sS(iS(e,t,zT),e+"")},cS=function(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o-1},pS=mT&&1/tx(new mT([,-0]))[1]==1/0?function(e){return new mT(e)}:function(){},dS=function(e){return CE(e)&&XE(e)},fS=lS((function(e){return function(e,t,n){var r=-1,i=hS,o=e.length,a=!0,s=[],l=s;if(o>=200){var c=pS(e);if(c)return tx(c);a=!1,i=QT,l=new XT}else l=s;e:for(;++ro){var a=i;i=o,o=a}return i+""+o+""+(gS.isUndefined(r)?"\0":r)}function TS(e,t){return ES(e,t.v,t.w,t.name)}vS.prototype._nodeCount=0,vS.prototype._edgeCount=0,vS.prototype.isDirected=function(){return this._isDirected},vS.prototype.isMultigraph=function(){return this._isMultigraph},vS.prototype.isCompound=function(){return this._isCompound},vS.prototype.setGraph=function(e){return this._label=e,this},vS.prototype.graph=function(){return this._label},vS.prototype.setDefaultNodeLabel=function(e){return gS.isFunction(e)||(e=gS.constant(e)),this._defaultNodeLabelFn=e,this},vS.prototype.nodeCount=function(){return this._nodeCount},vS.prototype.nodes=function(){return gS.keys(this._nodes)},vS.prototype.sources=function(){var e=this;return gS.filter(this.nodes(),(function(t){return gS.isEmpty(e._in[t])}))},vS.prototype.sinks=function(){var e=this;return gS.filter(this.nodes(),(function(t){return gS.isEmpty(e._out[t])}))},vS.prototype.setNodes=function(e,t){var n=arguments,r=this;return gS.each(e,(function(e){n.length>1?r.setNode(e,t):r.setNode(e)})),this},vS.prototype.setNode=function(e,t){return gS.has(this._nodes,e)?(arguments.length>1&&(this._nodes[e]=t),this):(this._nodes[e]=arguments.length>1?t:this._defaultNodeLabelFn(e),this._isCompound&&(this._parent[e]="\0",this._children[e]={},this._children["\0"][e]=!0),this._in[e]={},this._preds[e]={},this._out[e]={},this._sucs[e]={},++this._nodeCount,this)},vS.prototype.node=function(e){return this._nodes[e]},vS.prototype.hasNode=function(e){return gS.has(this._nodes,e)},vS.prototype.removeNode=function(e){var t=this;if(gS.has(this._nodes,e)){var n=function(e){t.removeEdge(t._edgeObjs[e])};delete this._nodes[e],this._isCompound&&(this._removeFromParentsChildList(e),delete this._parent[e],gS.each(this.children(e),(function(e){t.setParent(e)})),delete this._children[e]),gS.each(gS.keys(this._in[e]),n),delete this._in[e],delete this._preds[e],gS.each(gS.keys(this._out[e]),n),delete this._out[e],delete this._sucs[e],--this._nodeCount}return this},vS.prototype.setParent=function(e,t){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(gS.isUndefined(t))t="\0";else{for(var n=t+="";!gS.isUndefined(n);n=this.parent(n))if(n===e)throw new Error("Setting "+t+" as parent of "+e+" would create a cycle");this.setNode(t)}return this.setNode(e),this._removeFromParentsChildList(e),this._parent[e]=t,this._children[t][e]=!0,this},vS.prototype._removeFromParentsChildList=function(e){delete this._children[this._parent[e]][e]},vS.prototype.parent=function(e){if(this._isCompound){var t=this._parent[e];if("\0"!==t)return t}},vS.prototype.children=function(e){if(gS.isUndefined(e)&&(e="\0"),this._isCompound){var t=this._children[e];if(t)return gS.keys(t)}else{if("\0"===e)return this.nodes();if(this.hasNode(e))return[]}},vS.prototype.predecessors=function(e){var t=this._preds[e];if(t)return gS.keys(t)},vS.prototype.successors=function(e){var t=this._sucs[e];if(t)return gS.keys(t)},vS.prototype.neighbors=function(e){var t=this.predecessors(e);if(t)return gS.union(t,this.successors(e))},vS.prototype.isLeaf=function(e){return 0===(this.isDirected()?this.successors(e):this.neighbors(e)).length},vS.prototype.filterNodes=function(e){var t=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});t.setGraph(this.graph());var n=this;gS.each(this._nodes,(function(n,r){e(r)&&t.setNode(r,n)})),gS.each(this._edgeObjs,(function(e){t.hasNode(e.v)&&t.hasNode(e.w)&&t.setEdge(e,n.edge(e))}));var r={};function i(e){var o=n.parent(e);return void 0===o||t.hasNode(o)?(r[e]=o,o):o in r?r[o]:i(o)}return this._isCompound&&gS.each(t.nodes(),(function(e){t.setParent(e,i(e))})),t},vS.prototype.setDefaultEdgeLabel=function(e){return gS.isFunction(e)||(e=gS.constant(e)),this._defaultEdgeLabelFn=e,this},vS.prototype.edgeCount=function(){return this._edgeCount},vS.prototype.edges=function(){return gS.values(this._edgeObjs)},vS.prototype.setPath=function(e,t){var n=this,r=arguments;return gS.reduce(e,(function(e,i){return r.length>1?n.setEdge(e,i,t):n.setEdge(e,i),i})),this},vS.prototype.setEdge=function(){var e,t,n,r,i=!1,o=arguments[0];"object"==typeof o&&null!==o&&"v"in o?(e=o.v,t=o.w,n=o.name,2===arguments.length&&(r=arguments[1],i=!0)):(e=o,t=arguments[1],n=arguments[3],arguments.length>2&&(r=arguments[2],i=!0)),e=""+e,t=""+t,gS.isUndefined(n)||(n=""+n);var a=ES(this._isDirected,e,t,n);if(gS.has(this._edgeLabels,a))return i&&(this._edgeLabels[a]=r),this;if(!gS.isUndefined(n)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(e),this.setNode(t),this._edgeLabels[a]=i?r:this._defaultEdgeLabelFn(e,t,n);var s=function(e,t,n,r){var i=""+t,o=""+n;if(!e&&i>o){var a=i;i=o,o=a}var s={v:i,w:o};return r&&(s.name=r),s}(this._isDirected,e,t,n);return e=s.v,t=s.w,Object.freeze(s),this._edgeObjs[a]=s,_S(this._preds[t],e),_S(this._sucs[e],t),this._in[t][a]=s,this._out[e][a]=s,this._edgeCount++,this},vS.prototype.edge=function(e,t,n){var r=1===arguments.length?TS(this._isDirected,arguments[0]):ES(this._isDirected,e,t,n);return this._edgeLabels[r]},vS.prototype.hasEdge=function(e,t,n){var r=1===arguments.length?TS(this._isDirected,arguments[0]):ES(this._isDirected,e,t,n);return gS.has(this._edgeLabels,r)},vS.prototype.removeEdge=function(e,t,n){var r=1===arguments.length?TS(this._isDirected,arguments[0]):ES(this._isDirected,e,t,n),i=this._edgeObjs[r];return i&&(e=i.v,t=i.w,delete this._edgeLabels[r],delete this._edgeObjs[r],bS(this._preds[t],e),bS(this._sucs[e],t),delete this._in[t][r],delete this._out[e][r],this._edgeCount--),this},vS.prototype.inEdges=function(e,t){var n=this._in[e];if(n){var r=gS.values(n);return t?gS.filter(r,(function(e){return e.v===t})):r}},vS.prototype.outEdges=function(e,t){var n=this._out[e];if(n){var r=gS.values(n);return t?gS.filter(r,(function(e){return e.w===t})):r}},vS.prototype.nodeEdges=function(e,t){var n=this.inEdges(e,t);if(n)return n.concat(this.outEdges(e,t))};var xS={Graph:yS,version:"2.1.8"},SS={write:function(e){var t={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:CS(e),edges:AS(e)};return gS.isUndefined(e.graph())||(t.value=gS.clone(e.graph())),t},read:function(e){var t=new yS(e.options).setGraph(e.value);return gS.each(e.nodes,(function(e){t.setNode(e.v,e.value),e.parent&&t.setParent(e.v,e.parent)})),gS.each(e.edges,(function(e){t.setEdge({v:e.v,w:e.w,name:e.name},e.value)})),t}};function CS(e){return gS.map(e.nodes(),(function(t){var n=e.node(t),r=e.parent(t),i={v:t};return gS.isUndefined(n)||(i.value=n),gS.isUndefined(r)||(i.parent=r),i}))}function AS(e){return gS.map(e.edges(),(function(t){var n=e.edge(t),r={v:t.v,w:t.w};return gS.isUndefined(t.name)||(r.name=t.name),gS.isUndefined(n)||(r.value=n),r}))}var RS=wS;function wS(){this._arr=[],this._keyIndices={}}wS.prototype.size=function(){return this._arr.length},wS.prototype.keys=function(){return this._arr.map((function(e){return e.key}))},wS.prototype.has=function(e){return gS.has(this._keyIndices,e)},wS.prototype.priority=function(e){var t=this._keyIndices[e];if(void 0!==t)return this._arr[t].priority},wS.prototype.min=function(){if(0===this.size())throw new Error("Queue underflow");return this._arr[0].key},wS.prototype.add=function(e,t){var n=this._keyIndices;if(e=String(e),!gS.has(n,e)){var r=this._arr,i=r.length;return n[e]=i,r.push({key:e,priority:t}),this._decrease(i),!0}return!1},wS.prototype.removeMin=function(){this._swap(0,this._arr.length-1);var e=this._arr.pop();return delete this._keyIndices[e.key],this._heapify(0),e.key},wS.prototype.decrease=function(e,t){var n=this._keyIndices[e];if(t>this._arr[n].priority)throw new Error("New priority is greater than current priority. Key: "+e+" Old: "+this._arr[n].priority+" New: "+t);this._arr[n].priority=t,this._decrease(n)},wS.prototype._heapify=function(e){var t=this._arr,n=2*e,r=n+1,i=e;n>1].priority0&&(i=s.removeMin(),(o=a[i]).distance!==Number.POSITIVE_INFINITY);)r(i).forEach(l);return a}(e,String(t),n||OS,r||function(t){return e.outEdges(t)})},OS=gS.constant(1),NS=function(e){var t=0,n=[],r={},i=[];function o(a){var s=r[a]={onStack:!0,lowlink:t,index:t++};if(n.push(a),e.successors(a).forEach((function(e){gS.has(r,e)?r[e].onStack&&(s.lowlink=Math.min(s.lowlink,r[e].index)):(o(e),s.lowlink=Math.min(s.lowlink,r[e].lowlink))})),s.lowlink===s.index){var l,c=[];do{l=n.pop(),r[l].onStack=!1,c.push(l)}while(a!==l);i.push(c)}}return e.nodes().forEach((function(e){gS.has(r,e)||o(e)})),i},IS=gS.constant(1),kS=DS;function DS(e){var t={},n={},r=[];if(gS.each(e.sinks(),(function i(o){if(gS.has(n,o))throw new PS;gS.has(t,o)||(n[o]=!0,t[o]=!0,gS.each(e.predecessors(o),i),delete n[o],r.push(o))})),gS.size(t)!==e.nodeCount())throw new PS;return r}function PS(){}DS.CycleException=PS,PS.prototype=new Error;var MS=function(e,t,n){gS.isArray(t)||(t=[t]);var r=(e.isDirected()?e.successors:e.neighbors).bind(e),i=[],o={};return gS.each(t,(function(t){if(!e.hasNode(t))throw new Error("Graph does not have node: "+t);FS(e,t,"post"===n,o,r,i)})),i};function FS(e,t,n,r,i,o){gS.has(r,t)||(r[t]=!0,n||o.push(t),gS.each(i(t),(function(t){FS(e,t,n,r,i,o)})),n&&o.push(t))}var HS,BS={Graph:xS.Graph,json:SS,alg:{components:function(e){var t,n={},r=[];function i(r){gS.has(n,r)||(n[r]=!0,t.push(r),gS.each(e.successors(r),i),gS.each(e.predecessors(r),i))}return gS.each(e.nodes(),(function(e){t=[],i(e),t.length&&r.push(t)})),r},dijkstra:LS,dijkstraAll:function(e,t,n){return gS.transform(e.nodes(),(function(r,i){r[i]=LS(e,i,t,n)}),{})},findCycles:function(e){return gS.filter(NS(e),(function(t){return t.length>1||1===t.length&&e.hasEdge(t[0],t[0])}))},floydWarshall:function(e,t,n){return function(e,t,n){var r={},i=e.nodes();return i.forEach((function(e){r[e]={},r[e][e]={distance:0},i.forEach((function(t){e!==t&&(r[e][t]={distance:Number.POSITIVE_INFINITY})})),n(e).forEach((function(n){var i=n.v===e?n.w:n.v,o=t(n);r[e][i]={distance:o,predecessor:e}}))})),i.forEach((function(e){var t=r[e];i.forEach((function(n){var o=r[n];i.forEach((function(n){var r=o[e],i=t[n],a=o[n],s=r.distance+i.distance;s0;){if(n=o.removeMin(),gS.has(i,n))r.setEdge(n,i[n]);else{if(s)throw new Error("Input graph is not connected: "+e);s=!0}e.nodeEdges(n).forEach(a)}return r},tarjan:NS,topsort:kS},version:xS.version};try{HS=BS}catch(P){}HS||(HS=window.graphlib);var US,jS=HS,GS=function(e,t,n){if(!qb(n))return!1;var r=typeof t;return!!("number"==r?XE(n)&&PE(t,n.length):"string"==r&&t in n)&&Ib(n[t],e)},YS=Object.prototype,zS=YS.hasOwnProperty,$S=lS((function(e,t){e=Object(e);var n=-1,r=t.length,i=r>2?t[2]:void 0;for(i&&GS(t[0],t[1],i)&&(r=1);++n-1?r[i?e[o]:o]:void 0},eC=function(e){return null!=e&&e.length?nS(e,1):[]},tC=function(e,t,n){for(var r=-1,i=e.length;++rt},rC=function(e,t,n){(void 0!==n&&!Ib(e[t],n)||void 0===n&&!(t in e))&&EE(e,t,n)},iC=Function.prototype,oC=Object.prototype,aC=iC.toString,sC=oC.hasOwnProperty,lC=aC.call(Object),cC=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]},uC=function e(t,n,r,i,o){t!==n&&jT(n,(function(a,s){if(o||(o=new vE),qb(a))!function(e,t,n,r,i,o,a){var s=cC(e,n),l=cC(t,n),c=a.get(l);if(c)rC(e,n,c);else{var u=o?o(s,l,n+"",e,t,a):void 0,h=void 0===u;if(h){var p=NE(l),d=!p&&kE(l),f=!p&&!d&&jE(l);u=l,p||d||f?NE(s)?u=s:dS(s)?u=tT(s):d?(h=!1,u=eT(l,!0)):f?(h=!1,u=OT(l,!0)):u=[]:function(e){if(!CE(e)||"[object Object]"!=Kb(e))return!1;var t=lT(e);if(null===t)return!0;var n=sC.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&aC.call(n)==lC}(l)||OE(l)?(u=s,OE(s)?u=function(e){return SE(e,JE(e))}(s):qb(s)&&!Xb(s)||(u=kT(l))):h=!1}h&&(a.set(l,u),i(u,l,r,o,a),a.delete(l)),rC(e,n,u)}}(t,n,s,r,e,i,o);else{var l=i?i(cC(t,s),a,s+"",t,n,o):void 0;void 0===l&&(l=a),rC(t,s,l)}}),JE)},hC=function(e){return lS((function(t,n){var r=-1,i=n.length,o=i>1?n[i-1]:void 0,a=i>2?n[2]:void 0;for(o=e.length>3&&"function"==typeof o?(i--,o):void 0,a&&GS(n[0],n[1],a)&&(o=i<3?void 0:o,i=1),t=Object(t);++rt||o&&a&&l&&!s&&!c||r&&a&&l||!n&&l||!i)return 1;if(!r&&!o&&!c&&e1&&GS(e,t[0],t[1])?t=[]:n>2&&GS(t[0],t[1],t[2])&&(t=[t[0]]),function(e,t,n){t=t.length?_x(t,(function(e){return NE(e)?function(t){return Ax(t,1===e.length?e[0]:e)}:e})):[zT];var r=-1;t=_x(t,HE(Nx));var i=Hx(e,(function(e,n,i){return{criteria:_x(t,(function(t){return t(e)})),index:++r,value:e}}));return function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(i,(function(e,t){return function(e,t,n){for(var r=-1,i=e.criteria,o=t.criteria,a=i.length,s=n.length;++r=s?l:l*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))}(e,nS(t,1),[])})),_C=0;try{US={cloneDeep:function(e){return BT(e,5)},constant:UT,defaults:$S,each:VT,filter:Ix,find:JS,flatten:eC,forEach:WT,forIn:function(e,t){return null==e?e:jT(e,$T(t),JE)},has:Px,isUndefined:Fx,last:function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0},map:Bx,mapValues:function(e,t){var n={};return t=Nx(t),GT(e,(function(e,r,i){EE(n,r,t(e,r,i))})),n},max:function(e){return e&&e.length?tC(e,zT,nC):void 0},merge:hC,min:function(e){return e&&e.length?tC(e,zT,pC):void 0},minBy:function(e,t){return e&&e.length?tC(e,Nx(t),pC):void 0},now:function(){return Ub.Date.now()},pick:fC,range:function(e,t,n){return n&&"number"!=typeof n&&GS(e,t,n)&&(t=n=void 0),e=ZS(e),void 0===t?(t=e,e=0):t=ZS(t),function(e,t,n,r){for(var i=-1,o=gC(mC((t-e)/(n||1)),0),a=Array(o);o--;)a[++i]=e,e+=n;return a}(e,t,n=void 0===n?eMath.abs(a)*c?(s<0&&(c=-c),n=c*a/s,r=c):(a<0&&(l=-l),n=l,r=l*s/a),{x:i+n,y:o+r}},buildLayerMatrix:function(e){var t=bC.map(bC.range(RC(e)+1),(function(){return[]}));return bC.forEach(e.nodes(),(function(n){var r=e.node(n),i=r.rank;bC.isUndefined(i)||(t[i][r.order]=n)})),t},normalizeRanks:function(e){var t=bC.min(bC.map(e.nodes(),(function(t){return e.node(t).rank})));bC.forEach(e.nodes(),(function(n){var r=e.node(n);bC.has(r,"rank")&&(r.rank-=t)}))},removeEmptyRanks:function(e){var t=bC.min(bC.map(e.nodes(),(function(t){return e.node(t).rank}))),n=[];bC.forEach(e.nodes(),(function(r){var i=e.node(r).rank-t;n[i]||(n[i]=[]),n[i].push(r)}));var r=0,i=e.graph().nodeRankFactor;bC.forEach(n,(function(t,n){bC.isUndefined(t)&&n%i!=0?--r:r&&bC.forEach(t,(function(t){e.node(t).rank+=r}))}))},addBorderNode:function(e,t,n,r){var i={width:0,height:0};return arguments.length>=4&&(i.rank=n,i.order=r),AC(e,"border",i,t)},maxRank:RC,partition:function(e,t){var n={lhs:[],rhs:[]};return bC.forEach(e,(function(e){t(e)?n.lhs.push(e):n.rhs.push(e)})),n},time:function(e,t){var n=bC.now();try{return t()}finally{console.log(e+" time: "+(bC.now()-n)+"ms")}},notime:function(e,t){return t()}};function AC(e,t,n,r){var i;do{i=bC.uniqueId(r)}while(e.hasNode(i));return n.dummy=t,e.setNode(i,n),i}function RC(e){return bC.max(bC.map(e.nodes(),(function(t){var n=e.node(t).rank;if(!bC.isUndefined(n))return n})))}var wC=function(e){var t={};bC.forEach(e.sources(),(function n(r){var i=e.node(r);if(bC.has(t,r))return i.rank;t[r]=!0;var o=bC.min(bC.map(e.outEdges(r),(function(t){return n(t.w)-e.edge(t).minlen})));return o!==Number.POSITIVE_INFINITY&&null!=o||(o=0),i.rank=o}))},LC=function(e,t){return e.node(t.w).rank-e.node(t.v).rank-e.edge(t).minlen},OC=jS.Graph,NC=LC;function IC(e,t){return bC.forEach(e.nodes(),(function n(r){bC.forEach(t.nodeEdges(r),(function(i){var o=i.v,a=r===o?i.w:o;e.hasNode(a)||NC(t,i)||(e.setNode(a,{}),e.setEdge(r,a,{}),n(a))}))})),e.nodeCount()}function kC(e,t){return bC.minBy(t.edges(),(function(n){if(e.hasNode(n.v)!==e.hasNode(n.w))return NC(t,n)}))}function DC(e,t,n){bC.forEach(e.nodes(),(function(e){t.node(e).rank+=n}))}var PC=LC,MC=wC,FC=jS.alg.preorder,HC=jS.alg.postorder,BC=CC.simplify;function UC(e){e=BC(e),MC(e);var t,n=function(e){var t,n,r=new OC({directed:!1}),i=e.nodes()[0],o=e.nodeCount();for(r.setNode(i,{});IC(r,e)a.lim&&(s=a,l=!0);var c=bC.filter(t.edges(),(function(t){return l===KC(0,e.node(t.v),s)&&l!==KC(0,e.node(t.w),s)}));return bC.minBy(c,(function(e){return PC(t,e)}))}function VC(e,t,n,r){var i=n.v,o=n.w;e.removeEdge(i,o),e.setEdge(r.v,r.w,{}),YC(e),jC(e,t),function(e,t){var n=bC.find(e.nodes(),(function(e){return!t.node(e).parent})),r=FC(e,n);r=r.slice(1),bC.forEach(r,(function(n){var r=e.node(n).parent,i=t.edge(n,r),o=!1;i||(i=t.edge(r,n),o=!0),t.node(n).rank=t.node(r).rank+(o?i.minlen:-i.minlen)}))}(e,t)}function KC(e,t,n){return n.low<=t.lim&&t.lim<=n.lim}UC.initLowLimValues=YC,UC.initCutValues=jC,UC.calcCutValue=GC,UC.leaveEdge=$C,UC.enterEdge=WC,UC.exchangeEdges=VC;jS.Graph,jS.Graph;jS.Graph;CC.normalizeRanks,CC.removeEmptyRanks,jS.Graph;jS.Graph;CC.time,CC.notime;const qC=Object.prototype.toString;function XC(e){const t=qC.call(e);return t.endsWith("Array]")&&!t.includes("Big")}function ZC(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!XC(e))throw new TypeError("input must be an array");if(0===e.length)throw new TypeError("input must not be empty");if(void 0!==n.output){if(!XC(n.output))throw new TypeError("output option must be an array if specified");t=n.output}else t=new Array(e.length);var r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!XC(e))throw new TypeError("input must be an array");if(0===e.length)throw new TypeError("input must not be empty");var n=t.fromIndex,r=void 0===n?0:n,i=t.toIndex,o=void 0===i?e.length:i;if(r<0||r>=e.length||!Number.isInteger(r))throw new Error("fromIndex must be a positive integer smaller than length");if(o<=r||o>e.length||!Number.isInteger(o))throw new Error("toIndex must be an integer greater than fromIndex and at most equal to length");for(var a=e[r],s=r+1;s1&&void 0!==arguments[1]?arguments[1]:{};if(!XC(e))throw new TypeError("input must be an array");if(0===e.length)throw new TypeError("input must not be empty");var n=t.fromIndex,r=void 0===n?0:n,i=t.toIndex,o=void 0===i?e.length:i;if(r<0||r>=e.length||!Number.isInteger(r))throw new Error("fromIndex must be a positive integer smaller than length");if(o<=r||o>e.length||!Number.isInteger(o))throw new Error("toIndex must be an integer greater than fromIndex and at most equal to length");for(var a=e[r],s=r+1;sa&&(a=e[s]);return a}(e);if(r===i)throw new RangeError("minimum and maximum input values are equal. Cannot rescale a constant array");var o=n.min,a=void 0===o?n.autoMinMax?r:0:o,s=n.max,l=void 0===s?n.autoMinMax?i:1:s;if(a>=l)throw new RangeError("min option must be smaller than max option");for(var c=(l-a)/(i-r),u=0;u=0&&n?` ${nA(e,t-1)}`:nA(e,t)).padEnd(t)}function nA(e,t){let n=e.toString();if(n.length<=t)return n;let r=e.toFixed(t);if(r.length>t&&(r=e.toFixed(Math.max(0,t-(r.length-t)))),r.length<=t&&!r.startsWith("0.000")&&!r.startsWith("-0.000"))return r;let i=e.toExponential(t);return i.length>t&&(i=e.toExponential(Math.max(0,t-(i.length-t)))),i.slice(0)}function rA(e,t,n){let r=n?e.rows:e.rows-1;if(t<0||t>r)throw new RangeError("Row index out of range")}function iA(e,t,n){let r=n?e.columns:e.columns-1;if(t<0||t>r)throw new RangeError("Column index out of range")}function oA(e,t){if(t.to1DArray&&(t=t.to1DArray()),t.length!==e.columns)throw new RangeError("vector size must be the same as the number of columns");return t}function aA(e,t){if(t.to1DArray&&(t=t.to1DArray()),t.length!==e.rows)throw new RangeError("vector size must be the same as the number of rows");return t}function sA(e,t,n,r,i){if(5!==arguments.length)throw new RangeError("expected 4 arguments");if(cA("startRow",t),cA("endRow",n),cA("startColumn",r),cA("endColumn",i),t>n||r>i||t<0||t>=e.rows||n<0||n>=e.rows||r<0||r>=e.columns||i<0||i>=e.columns)throw new RangeError("Submatrix indices are out of range")}function lA(e,t=0){let n=[];for(let r=0;r=i)throw new RangeError("min must be smaller than max");let a=i-r,s=new dA(e,t);for(let n=0;nn?(i=!0,n=t):(r=!1,i=!0);e++}return r}isReducedEchelonForm(){let e=0,t=0,n=-1,r=!0,i=!1;for(;en?(i=!0,n=t):(r=!1,i=!0);for(let n=t+1;ne.get(r,n)&&(r=i);if(0===e.get(r,n))n++;else{e.swapRows(t,r);let i=e.get(t,n);for(let r=n;r=0;)if(0===e.maxRow(r))r--;else{let i=0,o=!1;for(;ie[t]&&(e[t]=this.get(t,n));return e}case"column":{const e=new Array(this.columns).fill(Number.NEGATIVE_INFINITY);for(let t=0;te[n]&&(e[n]=this.get(t,n));return e}case void 0:{let e=this.get(0,0);for(let t=0;te&&(e=this.get(t,n));return e}default:throw new Error(`invalid option: ${e}`)}}maxIndex(){uA(this);let e=this.get(0,0),t=[0,0];for(let n=0;ne&&(e=this.get(n,r),t[0]=n,t[1]=r);return t}min(e){if(this.isEmpty())return NaN;switch(e){case"row":{const e=new Array(this.rows).fill(Number.POSITIVE_INFINITY);for(let t=0;tt&&(t=this.get(e,n));return t}maxRowIndex(e){rA(this,e),uA(this);let t=this.get(e,0),n=[e,0];for(let r=1;rt&&(t=this.get(e,r),n[1]=r);return n}minRow(e){if(rA(this,e),this.isEmpty())return NaN;let t=this.get(e,0);for(let n=1;nt&&(t=this.get(n,e));return t}maxColumnIndex(e){iA(this,e),uA(this);let t=this.get(0,e),n=[0,e];for(let r=1;rt&&(t=this.get(r,e),n[0]=r);return n}minColumn(e){if(iA(this,e),this.isEmpty())return NaN;let t=this.get(0,e);for(let n=1;n=n)throw new RangeError("min must be smaller than max");let r=new dA(this.rows,this.columns);for(let e=0;e0&&ZC(i,{min:t,max:n,output:i}),r.setRow(e,i)}return r}scaleColumns(e={}){if("object"!=typeof e)throw new TypeError("options must be an object");const{min:t=0,max:n=1}=e;if(!Number.isFinite(t))throw new TypeError("min must be a number");if(!Number.isFinite(n))throw new TypeError("max must be a number");if(t>=n)throw new RangeError("min must be smaller than max");let r=new dA(this.rows,this.columns);for(let e=0;en||t<0||t>=this.columns||n<0||n>=this.columns)throw new RangeError("Argument out of range");let r=new dA(e.length,n-t+1);for(let i=0;i=this.rows)throw new RangeError(`Row index out of range: ${e[i]}`);r.set(i,o-t,this.get(e[i],o))}return r}subMatrixColumn(e,t,n){if(void 0===t&&(t=0),void 0===n&&(n=this.rows-1),t>n||t<0||t>=this.rows||n<0||n>=this.rows)throw new RangeError("Argument out of range");let r=new dA(n-t+1,e.length);for(let i=0;i=this.columns)throw new RangeError(`Column index out of range: ${e[i]}`);r.set(o-t,i,this.get(o,e[i]))}return r}setSubMatrix(e,t,n){if((e=dA.checkMatrix(e)).isEmpty())return this;sA(this,t,t+e.rows-1,n,n+e.columns-1);for(let r=0;r=e.rows)throw new RangeError("row indices are out of range")}(this,e),function(e,t){if(!XC(t))throw new TypeError("column indices must be an array");for(let n=0;n=e.columns)throw new RangeError("column indices are out of range")}(this,t);let n=new dA(e.length,t.length);for(let r=0;r=0){if(this.data=[],!(Number.isInteger(t)&&t>=0))throw new TypeError("nColumns must be a positive integer");for(let n=0;n"number"==typeof e)))throw new TypeError("Input data contains non-numeric values");this.data.push(Float64Array.from(n[r]))}}}this.rows=e,this.columns=t}set(e,t,n){return this.data[e][t]=n,this}get(e,t){return this.data[e][t]}removeRow(e){return rA(this,e),this.data.splice(e,1),this.rows-=1,this}addRow(e,t){return void 0===t&&(t=e,e=this.rows),rA(this,e,!0),t=Float64Array.from(oA(this,t)),this.data.splice(e,0,t),this.rows+=1,this}removeColumn(e){iA(this,e);for(let t=0;t>e);return this},e.prototype.signPropagatingRightShiftM=function(e){if(e=t.checkMatrix(e),this.rows!==e.rows||this.columns!==e.columns)throw new RangeError("Matrices dimensions must be equal");for(let t=0;t>e.get(t,n));return this},e.signPropagatingRightShift=function(e,n){return new t(e).signPropagatingRightShift(n)},e.prototype.rightShift=function(e){return"number"==typeof e?this.rightShiftS(e):this.rightShiftM(e)},e.prototype.rightShiftS=function(e){for(let t=0;t>>e);return this},e.prototype.rightShiftM=function(e){if(e=t.checkMatrix(e),this.rows!==e.rows||this.columns!==e.columns)throw new RangeError("Matrices dimensions must be equal");for(let t=0;t>>e.get(t,n));return this},e.rightShift=function(e,n){return new t(e).rightShift(n)},e.prototype.zeroFillRightShift=e.prototype.rightShift,e.prototype.zeroFillRightShiftS=e.prototype.rightShiftS,e.prototype.zeroFillRightShiftM=e.prototype.rightShiftM,e.zeroFillRightShift=e.rightShift,e.prototype.not=function(){for(let e=0;eMath.abs(t)?(n=t/e,Math.abs(e)*Math.sqrt(1+n*n)):0!==t?(n=e/t,Math.abs(t)*Math.sqrt(1+n*n)):0}class gA{constructor(e,t={}){if((e=fA.checkMatrix(e)).isEmpty())throw new Error("Matrix must be non-empty");let n=e.rows,r=e.columns;const{computeLeftSingularVectors:i=!0,computeRightSingularVectors:o=!0,autoTranspose:a=!1}=t;let s,l=Boolean(i),c=Boolean(o),u=!1;if(n=0;e--)if(0!==d[e]){for(let t=e+1;t=0;e--){if(e0;){let e,t;for(e=T-2;e>=-1&&-1!==e;e--){const t=Number.MIN_VALUE+C*Math.abs(d[e]+Math.abs(d[e+1]));if(Math.abs(g[e])<=t||Number.isNaN(g[e])){g[e]=0;break}}if(e===T-2)t=4;else{let n;for(n=T-1;n>=e&&n!==e;n--){let t=(n!==T?Math.abs(g[n]):0)+(n!==e+1?Math.abs(g[n-1]):0);if(Math.abs(d[n])<=C*t){d[n]=0;break}}n===e?t=3:n===T-1?t=1:(t=2,e=n)}switch(e++,t){case 1:{let t=g[T-2];g[T-2]=0;for(let n=T-2;n>=e;n--){let i=mA(d[n],t),o=d[n]/i,a=t/i;if(d[n]=i,n!==e&&(t=-a*g[n-1],g[n-1]=o*g[n-1]),c)for(let e=0;e=d[e+1]);){let t=d[e];if(d[e]=d[e+1],d[e+1]=t,c&&et&&i.set(o,n,e.get(o,n)/this.s[n]);let o=this.U,a=o.rows,s=o.columns,l=new dA(n,a);for(let e=0;ee&&t++;return t}get diagonal(){return Array.from(this.s)}get threshold(){return Number.EPSILON/2*Math.max(this.m,this.n)*this.s[0]}get leftSingularVectors(){return this.U}get rightSingularVectors(){return this.V}get diagonalMatrix(){return dA.diag(this.s)}}class yA{constructor(e){this.distances=e.distances,this.dimension=e.dimension||2,this.linkDistance=e.linkDistance}layout(){const{dimension:e,distances:t,linkDistance:n}=this;try{const n=dA.mul(dA.pow(t,2),-.5),r=n.mean("row"),i=n.mean("column"),o=n.mean();n.add(o).subRowVector(r).subColumnVector(i);const a=new gA(n),s=dA.sqrt(a.diagonalMatrix).diagonal();return a.leftSingularVectors.toJSON().map((t=>dA.mul([t],[s]).toJSON()[0].splice(0,e)))}catch(e){const r=[];for(let e=0;e{n[t]={x:0,y:0}})),e.getRepulsion(),e.updatePositions();return t}getRepulsion(){const e=this,t=e.positions,n=e.nodes,r=e.disp,i=e.k,o=e.radii||[];t.forEach(((a,s)=>{r[s]={x:0,y:0},t.forEach(((t,l)=>{if(s===l)return;if(o[s]!==o[l])return;let c=a[0]-t[0],u=a[1]-t[1],h=Math.sqrt(c*c+u*u);if(0===h){h=1;const e=s>l?1:-1;c=.01*e,u=.01*e}if(h{const r=t[n][0]-t[o][0],i=t[n][1]-t[o][1],a=Math.sqrt(r*r+i*i);let s=i/a,l=-r/a;const c=Math.sqrt(e.x*e.x+e.y*e.y);let u=Math.acos((s*e.x+l*e.y)/c);u>Math.PI/2&&(u-=Math.PI/2,s*=-1,l*=-1);const h=Math.cos(u)*c;e.x=s*h,e.y=l*h}));const s=e.radii;t.forEach(((e,l)=>{if(l===o)return;const c=Math.sqrt(n[l].x*n[l].x+n[l].y*n[l].y);if(c>0&&l!==o){const u=Math.min(a*(r/800),c);if(e[0]+=n[l].x/c*u,e[1]+=n[l].y/c*u,i){let n=e[0]-t[o][0],r=e[1]-t[o][1];const i=Math.sqrt(n*n+r*r);n=n/i*s[l],r=r/i*s[l],e[0]=t[o][0]+n,e[1]=t[o][1]+r}}}))}}function _A(e,t){return Math.sqrt((e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1]))}var bA,EA,TA,xA,SA,CA,AA,RA,wA,LA,OA,NA,IA,kA,DA,PA,MA,FA,HA,BA=u(6297);u(3192),u(6838),u(922),u(3224),u(5589),u(1109),function(e){e[e.DEPTH_BUFFER_BIT=256]="DEPTH_BUFFER_BIT",e[e.STENCIL_BUFFER_BIT=1024]="STENCIL_BUFFER_BIT",e[e.COLOR_BUFFER_BIT=16384]="COLOR_BUFFER_BIT",e[e.POINTS=0]="POINTS",e[e.LINES=1]="LINES",e[e.LINE_LOOP=2]="LINE_LOOP",e[e.LINE_STRIP=3]="LINE_STRIP",e[e.TRIANGLES=4]="TRIANGLES",e[e.TRIANGLE_STRIP=5]="TRIANGLE_STRIP",e[e.TRIANGLE_FAN=6]="TRIANGLE_FAN",e[e.ZERO=0]="ZERO",e[e.ONE=1]="ONE",e[e.SRC_COLOR=768]="SRC_COLOR",e[e.ONE_MINUS_SRC_COLOR=769]="ONE_MINUS_SRC_COLOR",e[e.SRC_ALPHA=770]="SRC_ALPHA",e[e.ONE_MINUS_SRC_ALPHA=771]="ONE_MINUS_SRC_ALPHA",e[e.DST_ALPHA=772]="DST_ALPHA",e[e.ONE_MINUS_DST_ALPHA=773]="ONE_MINUS_DST_ALPHA",e[e.DST_COLOR=774]="DST_COLOR",e[e.ONE_MINUS_DST_COLOR=775]="ONE_MINUS_DST_COLOR",e[e.SRC_ALPHA_SATURATE=776]="SRC_ALPHA_SATURATE",e[e.FUNC_ADD=32774]="FUNC_ADD",e[e.BLEND_EQUATION=32777]="BLEND_EQUATION",e[e.BLEND_EQUATION_RGB=32777]="BLEND_EQUATION_RGB",e[e.BLEND_EQUATION_ALPHA=34877]="BLEND_EQUATION_ALPHA",e[e.FUNC_SUBTRACT=32778]="FUNC_SUBTRACT",e[e.FUNC_REVERSE_SUBTRACT=32779]="FUNC_REVERSE_SUBTRACT",e[e.MAX_EXT=32776]="MAX_EXT",e[e.MIN_EXT=32775]="MIN_EXT",e[e.BLEND_DST_RGB=32968]="BLEND_DST_RGB",e[e.BLEND_SRC_RGB=32969]="BLEND_SRC_RGB",e[e.BLEND_DST_ALPHA=32970]="BLEND_DST_ALPHA",e[e.BLEND_SRC_ALPHA=32971]="BLEND_SRC_ALPHA",e[e.CONSTANT_COLOR=32769]="CONSTANT_COLOR",e[e.ONE_MINUS_CONSTANT_COLOR=32770]="ONE_MINUS_CONSTANT_COLOR",e[e.CONSTANT_ALPHA=32771]="CONSTANT_ALPHA",e[e.ONE_MINUS_CONSTANT_ALPHA=32772]="ONE_MINUS_CONSTANT_ALPHA",e[e.BLEND_COLOR=32773]="BLEND_COLOR",e[e.ARRAY_BUFFER=34962]="ARRAY_BUFFER",e[e.ELEMENT_ARRAY_BUFFER=34963]="ELEMENT_ARRAY_BUFFER",e[e.ARRAY_BUFFER_BINDING=34964]="ARRAY_BUFFER_BINDING",e[e.ELEMENT_ARRAY_BUFFER_BINDING=34965]="ELEMENT_ARRAY_BUFFER_BINDING",e[e.STREAM_DRAW=35040]="STREAM_DRAW",e[e.STATIC_DRAW=35044]="STATIC_DRAW",e[e.DYNAMIC_DRAW=35048]="DYNAMIC_DRAW",e[e.BUFFER_SIZE=34660]="BUFFER_SIZE",e[e.BUFFER_USAGE=34661]="BUFFER_USAGE",e[e.CURRENT_VERTEX_ATTRIB=34342]="CURRENT_VERTEX_ATTRIB",e[e.FRONT=1028]="FRONT",e[e.BACK=1029]="BACK",e[e.FRONT_AND_BACK=1032]="FRONT_AND_BACK",e[e.CULL_FACE=2884]="CULL_FACE",e[e.BLEND=3042]="BLEND",e[e.DITHER=3024]="DITHER",e[e.STENCIL_TEST=2960]="STENCIL_TEST",e[e.DEPTH_TEST=2929]="DEPTH_TEST",e[e.SCISSOR_TEST=3089]="SCISSOR_TEST",e[e.POLYGON_OFFSET_FILL=32823]="POLYGON_OFFSET_FILL",e[e.SAMPLE_ALPHA_TO_COVERAGE=32926]="SAMPLE_ALPHA_TO_COVERAGE",e[e.SAMPLE_COVERAGE=32928]="SAMPLE_COVERAGE",e[e.NO_ERROR=0]="NO_ERROR",e[e.INVALID_ENUM=1280]="INVALID_ENUM",e[e.INVALID_VALUE=1281]="INVALID_VALUE",e[e.INVALID_OPERATION=1282]="INVALID_OPERATION",e[e.OUT_OF_MEMORY=1285]="OUT_OF_MEMORY",e[e.CW=2304]="CW",e[e.CCW=2305]="CCW",e[e.LINE_WIDTH=2849]="LINE_WIDTH",e[e.ALIASED_POINT_SIZE_RANGE=33901]="ALIASED_POINT_SIZE_RANGE",e[e.ALIASED_LINE_WIDTH_RANGE=33902]="ALIASED_LINE_WIDTH_RANGE",e[e.CULL_FACE_MODE=2885]="CULL_FACE_MODE",e[e.FRONT_FACE=2886]="FRONT_FACE",e[e.DEPTH_RANGE=2928]="DEPTH_RANGE",e[e.DEPTH_WRITEMASK=2930]="DEPTH_WRITEMASK",e[e.DEPTH_CLEAR_VALUE=2931]="DEPTH_CLEAR_VALUE",e[e.DEPTH_FUNC=2932]="DEPTH_FUNC",e[e.STENCIL_CLEAR_VALUE=2961]="STENCIL_CLEAR_VALUE",e[e.STENCIL_FUNC=2962]="STENCIL_FUNC",e[e.STENCIL_FAIL=2964]="STENCIL_FAIL",e[e.STENCIL_PASS_DEPTH_FAIL=2965]="STENCIL_PASS_DEPTH_FAIL",e[e.STENCIL_PASS_DEPTH_PASS=2966]="STENCIL_PASS_DEPTH_PASS",e[e.STENCIL_REF=2967]="STENCIL_REF",e[e.STENCIL_VALUE_MASK=2963]="STENCIL_VALUE_MASK",e[e.STENCIL_WRITEMASK=2968]="STENCIL_WRITEMASK",e[e.STENCIL_BACK_FUNC=34816]="STENCIL_BACK_FUNC",e[e.STENCIL_BACK_FAIL=34817]="STENCIL_BACK_FAIL",e[e.STENCIL_BACK_PASS_DEPTH_FAIL=34818]="STENCIL_BACK_PASS_DEPTH_FAIL",e[e.STENCIL_BACK_PASS_DEPTH_PASS=34819]="STENCIL_BACK_PASS_DEPTH_PASS",e[e.STENCIL_BACK_REF=36003]="STENCIL_BACK_REF",e[e.STENCIL_BACK_VALUE_MASK=36004]="STENCIL_BACK_VALUE_MASK",e[e.STENCIL_BACK_WRITEMASK=36005]="STENCIL_BACK_WRITEMASK",e[e.VIEWPORT=2978]="VIEWPORT",e[e.SCISSOR_BOX=3088]="SCISSOR_BOX",e[e.COLOR_CLEAR_VALUE=3106]="COLOR_CLEAR_VALUE",e[e.COLOR_WRITEMASK=3107]="COLOR_WRITEMASK",e[e.UNPACK_ALIGNMENT=3317]="UNPACK_ALIGNMENT",e[e.PACK_ALIGNMENT=3333]="PACK_ALIGNMENT",e[e.MAX_TEXTURE_SIZE=3379]="MAX_TEXTURE_SIZE",e[e.MAX_VIEWPORT_DIMS=3386]="MAX_VIEWPORT_DIMS",e[e.SUBPIXEL_BITS=3408]="SUBPIXEL_BITS",e[e.RED_BITS=3410]="RED_BITS",e[e.GREEN_BITS=3411]="GREEN_BITS",e[e.BLUE_BITS=3412]="BLUE_BITS",e[e.ALPHA_BITS=3413]="ALPHA_BITS",e[e.DEPTH_BITS=3414]="DEPTH_BITS",e[e.STENCIL_BITS=3415]="STENCIL_BITS",e[e.POLYGON_OFFSET_UNITS=10752]="POLYGON_OFFSET_UNITS",e[e.POLYGON_OFFSET_FACTOR=32824]="POLYGON_OFFSET_FACTOR",e[e.TEXTURE_BINDING_2D=32873]="TEXTURE_BINDING_2D",e[e.SAMPLE_BUFFERS=32936]="SAMPLE_BUFFERS",e[e.SAMPLES=32937]="SAMPLES",e[e.SAMPLE_COVERAGE_VALUE=32938]="SAMPLE_COVERAGE_VALUE",e[e.SAMPLE_COVERAGE_INVERT=32939]="SAMPLE_COVERAGE_INVERT",e[e.COMPRESSED_TEXTURE_FORMATS=34467]="COMPRESSED_TEXTURE_FORMATS",e[e.DONT_CARE=4352]="DONT_CARE",e[e.FASTEST=4353]="FASTEST",e[e.NICEST=4354]="NICEST",e[e.GENERATE_MIPMAP_HINT=33170]="GENERATE_MIPMAP_HINT",e[e.BYTE=5120]="BYTE",e[e.UNSIGNED_BYTE=5121]="UNSIGNED_BYTE",e[e.SHORT=5122]="SHORT",e[e.UNSIGNED_SHORT=5123]="UNSIGNED_SHORT",e[e.INT=5124]="INT",e[e.UNSIGNED_INT=5125]="UNSIGNED_INT",e[e.FLOAT=5126]="FLOAT",e[e.DEPTH_COMPONENT=6402]="DEPTH_COMPONENT",e[e.ALPHA=6406]="ALPHA",e[e.RGB=6407]="RGB",e[e.RGBA=6408]="RGBA",e[e.LUMINANCE=6409]="LUMINANCE",e[e.LUMINANCE_ALPHA=6410]="LUMINANCE_ALPHA",e[e.UNSIGNED_SHORT_4_4_4_4=32819]="UNSIGNED_SHORT_4_4_4_4",e[e.UNSIGNED_SHORT_5_5_5_1=32820]="UNSIGNED_SHORT_5_5_5_1",e[e.UNSIGNED_SHORT_5_6_5=33635]="UNSIGNED_SHORT_5_6_5",e[e.FRAGMENT_SHADER=35632]="FRAGMENT_SHADER",e[e.VERTEX_SHADER=35633]="VERTEX_SHADER",e[e.MAX_VERTEX_ATTRIBS=34921]="MAX_VERTEX_ATTRIBS",e[e.MAX_VERTEX_UNIFORM_VECTORS=36347]="MAX_VERTEX_UNIFORM_VECTORS",e[e.MAX_VARYING_VECTORS=36348]="MAX_VARYING_VECTORS",e[e.MAX_COMBINED_TEXTURE_IMAGE_UNITS=35661]="MAX_COMBINED_TEXTURE_IMAGE_UNITS",e[e.MAX_VERTEX_TEXTURE_IMAGE_UNITS=35660]="MAX_VERTEX_TEXTURE_IMAGE_UNITS",e[e.MAX_TEXTURE_IMAGE_UNITS=34930]="MAX_TEXTURE_IMAGE_UNITS",e[e.MAX_FRAGMENT_UNIFORM_VECTORS=36349]="MAX_FRAGMENT_UNIFORM_VECTORS",e[e.SHADER_TYPE=35663]="SHADER_TYPE",e[e.DELETE_STATUS=35712]="DELETE_STATUS",e[e.LINK_STATUS=35714]="LINK_STATUS",e[e.VALIDATE_STATUS=35715]="VALIDATE_STATUS",e[e.ATTACHED_SHADERS=35717]="ATTACHED_SHADERS",e[e.ACTIVE_UNIFORMS=35718]="ACTIVE_UNIFORMS",e[e.ACTIVE_ATTRIBUTES=35721]="ACTIVE_ATTRIBUTES",e[e.SHADING_LANGUAGE_VERSION=35724]="SHADING_LANGUAGE_VERSION",e[e.CURRENT_PROGRAM=35725]="CURRENT_PROGRAM",e[e.NEVER=512]="NEVER",e[e.LESS=513]="LESS",e[e.EQUAL=514]="EQUAL",e[e.LEQUAL=515]="LEQUAL",e[e.GREATER=516]="GREATER",e[e.NOTEQUAL=517]="NOTEQUAL",e[e.GEQUAL=518]="GEQUAL",e[e.ALWAYS=519]="ALWAYS",e[e.KEEP=7680]="KEEP",e[e.REPLACE=7681]="REPLACE",e[e.INCR=7682]="INCR",e[e.DECR=7683]="DECR",e[e.INVERT=5386]="INVERT",e[e.INCR_WRAP=34055]="INCR_WRAP",e[e.DECR_WRAP=34056]="DECR_WRAP",e[e.VENDOR=7936]="VENDOR",e[e.RENDERER=7937]="RENDERER",e[e.VERSION=7938]="VERSION",e[e.NEAREST=9728]="NEAREST",e[e.LINEAR=9729]="LINEAR",e[e.NEAREST_MIPMAP_NEAREST=9984]="NEAREST_MIPMAP_NEAREST",e[e.LINEAR_MIPMAP_NEAREST=9985]="LINEAR_MIPMAP_NEAREST",e[e.NEAREST_MIPMAP_LINEAR=9986]="NEAREST_MIPMAP_LINEAR",e[e.LINEAR_MIPMAP_LINEAR=9987]="LINEAR_MIPMAP_LINEAR",e[e.TEXTURE_MAG_FILTER=10240]="TEXTURE_MAG_FILTER",e[e.TEXTURE_MIN_FILTER=10241]="TEXTURE_MIN_FILTER",e[e.TEXTURE_WRAP_S=10242]="TEXTURE_WRAP_S",e[e.TEXTURE_WRAP_T=10243]="TEXTURE_WRAP_T",e[e.TEXTURE_2D=3553]="TEXTURE_2D",e[e.TEXTURE=5890]="TEXTURE",e[e.TEXTURE_CUBE_MAP=34067]="TEXTURE_CUBE_MAP",e[e.TEXTURE_BINDING_CUBE_MAP=34068]="TEXTURE_BINDING_CUBE_MAP",e[e.TEXTURE_CUBE_MAP_POSITIVE_X=34069]="TEXTURE_CUBE_MAP_POSITIVE_X",e[e.TEXTURE_CUBE_MAP_NEGATIVE_X=34070]="TEXTURE_CUBE_MAP_NEGATIVE_X",e[e.TEXTURE_CUBE_MAP_POSITIVE_Y=34071]="TEXTURE_CUBE_MAP_POSITIVE_Y",e[e.TEXTURE_CUBE_MAP_NEGATIVE_Y=34072]="TEXTURE_CUBE_MAP_NEGATIVE_Y",e[e.TEXTURE_CUBE_MAP_POSITIVE_Z=34073]="TEXTURE_CUBE_MAP_POSITIVE_Z",e[e.TEXTURE_CUBE_MAP_NEGATIVE_Z=34074]="TEXTURE_CUBE_MAP_NEGATIVE_Z",e[e.MAX_CUBE_MAP_TEXTURE_SIZE=34076]="MAX_CUBE_MAP_TEXTURE_SIZE",e[e.TEXTURE0=33984]="TEXTURE0",e[e.TEXTURE1=33985]="TEXTURE1",e[e.TEXTURE2=33986]="TEXTURE2",e[e.TEXTURE3=33987]="TEXTURE3",e[e.TEXTURE4=33988]="TEXTURE4",e[e.TEXTURE5=33989]="TEXTURE5",e[e.TEXTURE6=33990]="TEXTURE6",e[e.TEXTURE7=33991]="TEXTURE7",e[e.TEXTURE8=33992]="TEXTURE8",e[e.TEXTURE9=33993]="TEXTURE9",e[e.TEXTURE10=33994]="TEXTURE10",e[e.TEXTURE11=33995]="TEXTURE11",e[e.TEXTURE12=33996]="TEXTURE12",e[e.TEXTURE13=33997]="TEXTURE13",e[e.TEXTURE14=33998]="TEXTURE14",e[e.TEXTURE15=33999]="TEXTURE15",e[e.TEXTURE16=34e3]="TEXTURE16",e[e.TEXTURE17=34001]="TEXTURE17",e[e.TEXTURE18=34002]="TEXTURE18",e[e.TEXTURE19=34003]="TEXTURE19",e[e.TEXTURE20=34004]="TEXTURE20",e[e.TEXTURE21=34005]="TEXTURE21",e[e.TEXTURE22=34006]="TEXTURE22",e[e.TEXTURE23=34007]="TEXTURE23",e[e.TEXTURE24=34008]="TEXTURE24",e[e.TEXTURE25=34009]="TEXTURE25",e[e.TEXTURE26=34010]="TEXTURE26",e[e.TEXTURE27=34011]="TEXTURE27",e[e.TEXTURE28=34012]="TEXTURE28",e[e.TEXTURE29=34013]="TEXTURE29",e[e.TEXTURE30=34014]="TEXTURE30",e[e.TEXTURE31=34015]="TEXTURE31",e[e.ACTIVE_TEXTURE=34016]="ACTIVE_TEXTURE",e[e.REPEAT=10497]="REPEAT",e[e.CLAMP_TO_EDGE=33071]="CLAMP_TO_EDGE",e[e.MIRRORED_REPEAT=33648]="MIRRORED_REPEAT",e[e.FLOAT_VEC2=35664]="FLOAT_VEC2",e[e.FLOAT_VEC3=35665]="FLOAT_VEC3",e[e.FLOAT_VEC4=35666]="FLOAT_VEC4",e[e.INT_VEC2=35667]="INT_VEC2",e[e.INT_VEC3=35668]="INT_VEC3",e[e.INT_VEC4=35669]="INT_VEC4",e[e.BOOL=35670]="BOOL",e[e.BOOL_VEC2=35671]="BOOL_VEC2",e[e.BOOL_VEC3=35672]="BOOL_VEC3",e[e.BOOL_VEC4=35673]="BOOL_VEC4",e[e.FLOAT_MAT2=35674]="FLOAT_MAT2",e[e.FLOAT_MAT3=35675]="FLOAT_MAT3",e[e.FLOAT_MAT4=35676]="FLOAT_MAT4",e[e.SAMPLER_2D=35678]="SAMPLER_2D",e[e.SAMPLER_CUBE=35680]="SAMPLER_CUBE",e[e.VERTEX_ATTRIB_ARRAY_ENABLED=34338]="VERTEX_ATTRIB_ARRAY_ENABLED",e[e.VERTEX_ATTRIB_ARRAY_SIZE=34339]="VERTEX_ATTRIB_ARRAY_SIZE",e[e.VERTEX_ATTRIB_ARRAY_STRIDE=34340]="VERTEX_ATTRIB_ARRAY_STRIDE",e[e.VERTEX_ATTRIB_ARRAY_TYPE=34341]="VERTEX_ATTRIB_ARRAY_TYPE",e[e.VERTEX_ATTRIB_ARRAY_NORMALIZED=34922]="VERTEX_ATTRIB_ARRAY_NORMALIZED",e[e.VERTEX_ATTRIB_ARRAY_POINTER=34373]="VERTEX_ATTRIB_ARRAY_POINTER",e[e.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING=34975]="VERTEX_ATTRIB_ARRAY_BUFFER_BINDING",e[e.COMPILE_STATUS=35713]="COMPILE_STATUS",e[e.LOW_FLOAT=36336]="LOW_FLOAT",e[e.MEDIUM_FLOAT=36337]="MEDIUM_FLOAT",e[e.HIGH_FLOAT=36338]="HIGH_FLOAT",e[e.LOW_INT=36339]="LOW_INT",e[e.MEDIUM_INT=36340]="MEDIUM_INT",e[e.HIGH_INT=36341]="HIGH_INT",e[e.FRAMEBUFFER=36160]="FRAMEBUFFER",e[e.RENDERBUFFER=36161]="RENDERBUFFER",e[e.RGBA4=32854]="RGBA4",e[e.RGB5_A1=32855]="RGB5_A1",e[e.RGB565=36194]="RGB565",e[e.DEPTH_COMPONENT16=33189]="DEPTH_COMPONENT16",e[e.STENCIL_INDEX=6401]="STENCIL_INDEX",e[e.STENCIL_INDEX8=36168]="STENCIL_INDEX8",e[e.DEPTH_STENCIL=34041]="DEPTH_STENCIL",e[e.RENDERBUFFER_WIDTH=36162]="RENDERBUFFER_WIDTH",e[e.RENDERBUFFER_HEIGHT=36163]="RENDERBUFFER_HEIGHT",e[e.RENDERBUFFER_INTERNAL_FORMAT=36164]="RENDERBUFFER_INTERNAL_FORMAT",e[e.RENDERBUFFER_RED_SIZE=36176]="RENDERBUFFER_RED_SIZE",e[e.RENDERBUFFER_GREEN_SIZE=36177]="RENDERBUFFER_GREEN_SIZE",e[e.RENDERBUFFER_BLUE_SIZE=36178]="RENDERBUFFER_BLUE_SIZE",e[e.RENDERBUFFER_ALPHA_SIZE=36179]="RENDERBUFFER_ALPHA_SIZE",e[e.RENDERBUFFER_DEPTH_SIZE=36180]="RENDERBUFFER_DEPTH_SIZE",e[e.RENDERBUFFER_STENCIL_SIZE=36181]="RENDERBUFFER_STENCIL_SIZE",e[e.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE=36048]="FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE",e[e.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME=36049]="FRAMEBUFFER_ATTACHMENT_OBJECT_NAME",e[e.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL=36050]="FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL",e[e.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE=36051]="FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE",e[e.COLOR_ATTACHMENT0=36064]="COLOR_ATTACHMENT0",e[e.DEPTH_ATTACHMENT=36096]="DEPTH_ATTACHMENT",e[e.STENCIL_ATTACHMENT=36128]="STENCIL_ATTACHMENT",e[e.DEPTH_STENCIL_ATTACHMENT=33306]="DEPTH_STENCIL_ATTACHMENT",e[e.NONE=0]="NONE",e[e.FRAMEBUFFER_COMPLETE=36053]="FRAMEBUFFER_COMPLETE",e[e.FRAMEBUFFER_INCOMPLETE_ATTACHMENT=36054]="FRAMEBUFFER_INCOMPLETE_ATTACHMENT",e[e.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT=36055]="FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT",e[e.FRAMEBUFFER_INCOMPLETE_DIMENSIONS=36057]="FRAMEBUFFER_INCOMPLETE_DIMENSIONS",e[e.FRAMEBUFFER_UNSUPPORTED=36061]="FRAMEBUFFER_UNSUPPORTED",e[e.FRAMEBUFFER_BINDING=36006]="FRAMEBUFFER_BINDING",e[e.RENDERBUFFER_BINDING=36007]="RENDERBUFFER_BINDING",e[e.MAX_RENDERBUFFER_SIZE=34024]="MAX_RENDERBUFFER_SIZE",e[e.INVALID_FRAMEBUFFER_OPERATION=1286]="INVALID_FRAMEBUFFER_OPERATION",e[e.UNPACK_FLIP_Y_WEBGL=37440]="UNPACK_FLIP_Y_WEBGL",e[e.UNPACK_PREMULTIPLY_ALPHA_WEBGL=37441]="UNPACK_PREMULTIPLY_ALPHA_WEBGL",e[e.CONTEXT_LOST_WEBGL=37442]="CONTEXT_LOST_WEBGL",e[e.UNPACK_COLORSPACE_CONVERSION_WEBGL=37443]="UNPACK_COLORSPACE_CONVERSION_WEBGL",e[e.BROWSER_DEFAULT_WEBGL=37444]="BROWSER_DEFAULT_WEBGL",e[e.COPY_SRC=1]="COPY_SRC",e[e.COPY_DST=2]="COPY_DST",e[e.SAMPLED=4]="SAMPLED",e[e.STORAGE=8]="STORAGE",e[e.RENDER_ATTACHMENT=16]="RENDER_ATTACHMENT"}(bA||(bA={})),"undefined"!=typeof navigator&&/Version\/[\d\.]+.*Safari/.test(navigator.userAgent),function(e){e.Void="Void",e.Boolean="Boolean",e.Float="Float",e.Uint32="Uint32",e.Int32="Int32",e.Vector="Vector",e.Vector2Float="vec2",e.Vector3Float="vec3",e.Vector4Float="vec4",e.Vector2Boolean="vec2",e.Vector3Boolean="vec3",e.Vector4Boolean="vec4",e.Vector2Uint="vec2",e.Vector3Uint="vec3",e.Vector4Uint="vec4",e.Vector2Int="vec2",e.Vector3Int="vec3",e.Vector4Int="vec4",e.Matrix="Matrix",e.Matrix3x3Float="mat3x3",e.Matrix4x4Float="mat4x4",e.Struct="Struct",e.FloatArray="Float[]",e.Vector4FloatArray="vec4[]"}(EA||(EA={})),function(e){e.Program="Program",e.Identifier="Identifier",e.VariableDeclaration="VariableDeclaration",e.BlockStatement="BlockStatement",e.ReturnStatement="ReturnStatement",e.FunctionDeclaration="FunctionDeclaration",e.VariableDeclarator="VariableDeclarator",e.AssignmentExpression="AssignmentExpression",e.LogicalExpression="LogicalExpression",e.BinaryExpression="BinaryExpression",e.ArrayExpression="ArrayExpression",e.UnaryExpression="UnaryExpression",e.UpdateExpression="UpdateExpression",e.FunctionExpression="FunctionExpression",e.MemberExpression="MemberExpression",e.ConditionalExpression="ConditionalExpression",e.ExpressionStatement="ExpressionStatement",e.CallExpression="CallExpression",e.NumThreadStatement="NumThreadStatement",e.StorageStatement="StorageStatement",e.DoWhileStatement="DoWhileStatement",e.WhileStatement="WhileStatement",e.ForStatement="ForStatement",e.BreakStatement="BreakStatement",e.ContinueStatement="ContinueStatement",e.IfStatement="IfStatement",e.ImportedFunctionStatement="ImportedFunctionStatement"}(TA||(TA={})),function(e){e.Input="Input",e.Output="Output",e.Uniform="Uniform",e.Workgroup="Workgroup",e.UniformConstant="UniformConstant",e.Image="Image",e.StorageBuffer="StorageBuffer",e.Private="Private",e.Function="Function"}(xA||(xA={})),function(e){e.GLSL100="GLSL100",e.GLSL450="GLSL450",e.WGSL="WGSL"}(SA||(SA={})),u(1919),CA={},(0,BA.Z)(CA,bA.POINTS,"points"),(0,BA.Z)(CA,bA.LINES,"lines"),(0,BA.Z)(CA,bA.LINE_LOOP,"line loop"),(0,BA.Z)(CA,bA.LINE_STRIP,"line strip"),(0,BA.Z)(CA,bA.TRIANGLES,"triangles"),(0,BA.Z)(CA,bA.TRIANGLE_FAN,"triangle fan"),(0,BA.Z)(CA,bA.TRIANGLE_STRIP,"triangle strip"),AA={},(0,BA.Z)(AA,bA.STATIC_DRAW,"static"),(0,BA.Z)(AA,bA.DYNAMIC_DRAW,"dynamic"),(0,BA.Z)(AA,bA.STREAM_DRAW,"stream"),RA={},(0,BA.Z)(RA,bA.BYTE,"int8"),(0,BA.Z)(RA,bA.UNSIGNED_INT,"int16"),(0,BA.Z)(RA,bA.INT,"int32"),(0,BA.Z)(RA,bA.UNSIGNED_BYTE,"uint8"),(0,BA.Z)(RA,bA.UNSIGNED_SHORT,"uint16"),(0,BA.Z)(RA,bA.UNSIGNED_INT,"uint32"),(0,BA.Z)(RA,bA.FLOAT,"float"),wA={},(0,BA.Z)(wA,bA.ALPHA,"alpha"),(0,BA.Z)(wA,bA.LUMINANCE,"luminance"),(0,BA.Z)(wA,bA.LUMINANCE_ALPHA,"luminance alpha"),(0,BA.Z)(wA,bA.RGB,"rgb"),(0,BA.Z)(wA,bA.RGBA,"rgba"),(0,BA.Z)(wA,bA.RGBA4,"rgba4"),(0,BA.Z)(wA,bA.RGB5_A1,"rgb5 a1"),(0,BA.Z)(wA,bA.RGB565,"rgb565"),(0,BA.Z)(wA,bA.DEPTH_COMPONENT,"depth"),(0,BA.Z)(wA,bA.DEPTH_STENCIL,"depth stencil"),LA={},(0,BA.Z)(LA,bA.DONT_CARE,"dont care"),(0,BA.Z)(LA,bA.NICEST,"nice"),(0,BA.Z)(LA,bA.FASTEST,"fast"),OA={},(0,BA.Z)(OA,bA.NEAREST,"nearest"),(0,BA.Z)(OA,bA.LINEAR,"linear"),(0,BA.Z)(OA,bA.LINEAR_MIPMAP_LINEAR,"mipmap"),(0,BA.Z)(OA,bA.NEAREST_MIPMAP_LINEAR,"nearest mipmap linear"),(0,BA.Z)(OA,bA.LINEAR_MIPMAP_NEAREST,"linear mipmap nearest"),(0,BA.Z)(OA,bA.NEAREST_MIPMAP_NEAREST,"nearest mipmap nearest"),NA={},(0,BA.Z)(NA,bA.REPEAT,"repeat"),(0,BA.Z)(NA,bA.CLAMP_TO_EDGE,"clamp"),(0,BA.Z)(NA,bA.MIRRORED_REPEAT,"mirror"),IA={},(0,BA.Z)(IA,bA.NONE,"none"),(0,BA.Z)(IA,bA.BROWSER_DEFAULT_WEBGL,"browser"),kA={},(0,BA.Z)(kA,bA.NEVER,"never"),(0,BA.Z)(kA,bA.ALWAYS,"always"),(0,BA.Z)(kA,bA.LESS,"less"),(0,BA.Z)(kA,bA.LEQUAL,"lequal"),(0,BA.Z)(kA,bA.GREATER,"greater"),(0,BA.Z)(kA,bA.GEQUAL,"gequal"),(0,BA.Z)(kA,bA.EQUAL,"equal"),(0,BA.Z)(kA,bA.NOTEQUAL,"notequal"),DA={},(0,BA.Z)(DA,bA.FUNC_ADD,"add"),(0,BA.Z)(DA,bA.MIN_EXT,"min"),(0,BA.Z)(DA,bA.MAX_EXT,"max"),(0,BA.Z)(DA,bA.FUNC_SUBTRACT,"subtract"),(0,BA.Z)(DA,bA.FUNC_REVERSE_SUBTRACT,"reverse subtract"),PA={},(0,BA.Z)(PA,bA.ZERO,"zero"),(0,BA.Z)(PA,bA.ONE,"one"),(0,BA.Z)(PA,bA.SRC_COLOR,"src color"),(0,BA.Z)(PA,bA.ONE_MINUS_SRC_COLOR,"one minus src color"),(0,BA.Z)(PA,bA.SRC_ALPHA,"src alpha"),(0,BA.Z)(PA,bA.ONE_MINUS_SRC_ALPHA,"one minus src alpha"),(0,BA.Z)(PA,bA.DST_COLOR,"dst color"),(0,BA.Z)(PA,bA.ONE_MINUS_DST_COLOR,"one minus dst color"),(0,BA.Z)(PA,bA.DST_ALPHA,"dst alpha"),(0,BA.Z)(PA,bA.ONE_MINUS_DST_ALPHA,"one minus dst alpha"),(0,BA.Z)(PA,bA.CONSTANT_COLOR,"constant color"),(0,BA.Z)(PA,bA.ONE_MINUS_CONSTANT_COLOR,"one minus constant color"),(0,BA.Z)(PA,bA.CONSTANT_ALPHA,"constant alpha"),(0,BA.Z)(PA,bA.ONE_MINUS_CONSTANT_ALPHA,"one minus constant alpha"),(0,BA.Z)(PA,bA.SRC_ALPHA_SATURATE,"src alpha saturate"),MA={},(0,BA.Z)(MA,bA.NEVER,"never"),(0,BA.Z)(MA,bA.ALWAYS,"always"),(0,BA.Z)(MA,bA.LESS,"less"),(0,BA.Z)(MA,bA.LEQUAL,"lequal"),(0,BA.Z)(MA,bA.GREATER,"greater"),(0,BA.Z)(MA,bA.GEQUAL,"gequal"),(0,BA.Z)(MA,bA.EQUAL,"equal"),(0,BA.Z)(MA,bA.NOTEQUAL,"notequal"),FA={},(0,BA.Z)(FA,bA.ZERO,"zero"),(0,BA.Z)(FA,bA.KEEP,"keep"),(0,BA.Z)(FA,bA.REPLACE,"replace"),(0,BA.Z)(FA,bA.INVERT,"invert"),(0,BA.Z)(FA,bA.INCR,"increment"),(0,BA.Z)(FA,bA.DECR,"decrement"),(0,BA.Z)(FA,bA.INCR_WRAP,"increment wrap"),(0,BA.Z)(FA,bA.DECR_WRAP,"decrement wrap"),HA={},(0,BA.Z)(HA,bA.FRONT,"front"),(0,BA.Z)(HA,bA.BACK,"back"),u(9908),u(7743),u(4256);class UA{constructor(){this.cells=[],this.columnNum=0,this.rowNum=0,this.additionColumn=[],this.additionRow=[]}init(e,t,n){this.cells=[],this.CELL_W=n.CELL_W||UA.DEFAULT_CELL_W,this.CELL_H=n.CELL_H||UA.DEFAULT_CELL_H,this.columnNum=Math.ceil(e/this.CELL_W),this.rowNum=Math.ceil(t/this.CELL_H),UA.MIN_DIST=Math.pow(e,2)+Math.pow(t,2);for(let e=0;ee;n--)for(let e=0;e=e&&(this.additionColumn[n]+=t);for(let n=0;ne;r--)this.cells[n][r+t]=Object.assign(Object.assign({},this.cells[n][r]),{dx:n,dy:r+t,x:n*this.CELL_W,y:(r+t)*this.CELL_H}),this.cells[n][r]={dx:n,dy:r,x:n*this.CELL_W,y:r*this.CELL_H,occupied:!1,node:null};for(let n=0;n=e&&(this.additionRow[n]+=t);for(let n=0;n{},this.updateCfg(e)}getDefaultCfg(){return{begin:[0,0],preventOverlap:!0,preventOverlapPadding:10,condense:!1,rows:void 0,cols:void 0,position:void 0,sortBy:"degree",nodeSize:30}}execute(){const e=this,{nodes:t,edges:n,begin:r}=e,i=t.length;if(0===i)return e.onLayoutEnd&&e.onLayoutEnd(),{nodes:t,edges:n};if(1===i)return t[0].x=r[0],t[0].y=r[1],e.onLayoutEnd&&e.onLayoutEnd(),{nodes:t,edges:n};let{sortBy:o,width:a,height:s}=e;const{condense:l,preventOverlapPadding:c,preventOverlap:u,nodeSpacing:h,nodeSize:p}=e,d=[];t.forEach((e=>{d.push(e)}));const f={};if(d.forEach(((e,t)=>{f[e.id]=t})),("degree"===o||!Ay(o)||void 0===d[0][o])&&(o="degree",Ly(t[0].degree))){const e=ky(d.length,f,n);d.forEach(((t,n)=>{t.degree=e[n].all}))}d.sort(((e,t)=>t[o]-e[o])),a||"undefined"==typeof window||(a=window.innerWidth),s||"undefined"==typeof window||(s=window.innerHeight);const m=e.rows,g=null!=e.cols?e.cols:e.columns;if(e.cells=i,null!=m&&null!=g?(e.rows=m,e.cols=g):null!=m&&null==g?(e.rows=m,e.cols=Math.ceil(e.cells/e.rows)):null==m&&null!=g?(e.cols=g,e.rows=Math.ceil(e.cells/e.cols)):(e.splits=Math.sqrt(e.cells*e.height/e.width),e.rows=Math.round(e.splits),e.cols=Math.round(e.width/e.height*e.splits)),e.rows=Math.max(e.rows,1),e.cols=Math.max(e.cols,1),e.cols*e.rows>e.cells){const t=e.small(),n=e.large();(t-1)*n>=e.cells?e.small(t-1):(n-1)*t>=e.cells&&e.large(n-1)}else for(;e.cols*e.rows=e.cells?e.large(n+1):e.small(t+1)}if(e.cellWidth=a/e.cols,e.cellHeight=s/e.rows,l&&(e.cellWidth=0,e.cellHeight=0),u||h){const t=My(10,h),n=My(30,p,!1);d.forEach((r=>{r.x&&r.y||(r.x=0,r.y=0);const i=n(r)||30;let o,a;Ry(i)?(o=i[0],a=i[1]):(o=i,a=i);const s=void 0!==t?t(r):c,l=o+s,u=a+s;e.cellWidth=Math.max(e.cellWidth,l),e.cellHeight=Math.max(e.cellHeight,u)}))}e.cellUsed={},e.row=0,e.col=0,e.id2manPos={};for(let t=0;t=t&&(e.col=0,e.row++)}getPos(e){const t=this,{begin:n,cellWidth:r,cellHeight:i}=t;let o,a;const s=t.id2manPos[e.id];if(s)o=s.col*r+r/2+n[0],a=s.row*i+i/2+n[1];else{for(;t.used(t.row,t.col);)t.moveToNextCell();o=t.col*r+r/2+n[0],a=t.row*i+i/2+n[1],t.use(t.row,t.col),t.moveToNextCell()}e.x=o,e.y=a}getType(){return"grid"}},circular:class extends Fy{constructor(e){super(),this.radius=null,this.nodeSize=void 0,this.startRadius=null,this.endRadius=null,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.divisions=1,this.ordering=null,this.angleRatio=1,this.nodes=[],this.edges=[],this.nodeMap={},this.degrees=[],this.width=300,this.height=300,this.updateCfg(e)}getDefaultCfg(){return{radius:null,startRadius:null,endRadius:null,startAngle:0,endAngle:2*Math.PI,clockwise:!0,divisions:1,ordering:null,angleRatio:1}}execute(){var e;const t=this,n=t.nodes,r=t.edges,i=n.length;if(0===i)return void(t.onLayoutEnd&&t.onLayoutEnd());t.width||"undefined"==typeof window||(t.width=window.innerWidth),t.height||"undefined"==typeof window||(t.height=window.innerHeight),t.center||(t.center=[t.width/2,t.height/2]);const o=t.center;if(1===i)return n[0].x=o[0],n[0].y=o[1],void(t.onLayoutEnd&&t.onLayoutEnd());let{radius:a,startRadius:s,endRadius:l}=t;const{divisions:c,startAngle:u,endAngle:h,angleRatio:p,ordering:d,clockwise:f,nodeSpacing:m,nodeSize:g}=t,y=(h-u)/i,v={};n.forEach(((e,t)=>{v[e.id]=t})),t.nodeMap=v;const _=ky(n.length,v,r);if(t.degrees=_,m){const e=My(10,m),t=My(10,g);let r=-1/0;n.forEach((e=>{const n=t(e);r{i+=0===n?r||10:(e(t)||0)+(r||10)})),a=i/(2*Math.PI)}else a||s||l?!s&&l?s=l:s&&!l&&(l=s):a=t.height>t.width?t.width/2:t.height/2;const b=y*p;let E=[];E="topology"===d?t.topologyOrdering():"topology-directed"===d?t.topologyOrdering(!0):"degree"===d?t.degreeOrdering():n;const T=Math.ceil(i/c);for(let e=0;e{e[n].children=[],e[n].parent=[]})),r?t.forEach((t=>{const r=Iy(t,"source"),i=Iy(t,"target");let o=0;r&&(o=n[r]);let a=0;i&&(a=n[i]);const s=e[o].children,l=e[a].parent;s.push(e[a].id),l.push(e[o].id)})):t.forEach((t=>{const r=Iy(t,"source"),i=Iy(t,"target");let o=0;r&&(o=n[r]);let a=0;i&&(a=n[i]);const s=e[o].children,l=e[a].children;s.push(e[a].id),l.push(e[o].id)}))}(o,r,a,e);let h=0;return o.forEach(((e,t)=>{if(0!==t)if(t!==u-1&&n[t].all===n[t+1].all&&!function(e,t,n){const r=n.length;for(let i=0;i{e.degree=n[r].all,t.push(e)})),t.sort(pv),t}getType(){return"circular"}},dagre:class extends Fy{constructor(e){super(),this.rankdir="TB",this.nodesep=50,this.ranksep=50,this.controlPoints=!1,this.sortByCombo=!1,this.edgeLabelSpace=!0,this.radial=!1,this.nodes=[],this.edges=[],this.onLayoutEnd=()=>{},this.layoutNode=e=>{const{nodes:t}=this,n=t.find((t=>t.id===e));return!n||!1!==n.layout},this.updateCfg(e)}getDefaultCfg(){return{rankdir:"TB",align:void 0,nodeSize:void 0,nodesepFunc:void 0,ranksepFunc:void 0,nodesep:50,ranksep:50,controlPoints:!1,radial:!1,focusNode:null}}execute(){var e,t,n,r;const i=this,{nodes:o,nodeSize:a,rankdir:s,combos:l,begin:c,radial:u,comboEdges:h=[],vedges:p=[]}=i;if(!o)return;const d=i.edges||[],f=new jv({multigraph:!0,compound:!0});i.nodeMap={};const m={};o.forEach((e=>{i.nodeMap[e.id]=e,e.comboId&&(m[e.comboId]=m[e.comboId]||[],m[e.comboId].push(e.id))}));let g=[];const y={};let v;(null===(e=i.nodeOrder)||void 0===e?void 0:e.length)?(i.nodeOrder.forEach((e=>{y[e]=!0,g.push(i.nodeMap[e])})),o.forEach((e=>{y[e.id]||g.push(e)}))):g=o,v=a?Ry(a)?()=>a:()=>[a,a]:e=>e.size?Ry(e.size)?e.size:Oy(e.size)?[e.size.width||40,e.size.height||40]:[e.size,e.size]:[40,40];const _=Py(i.ranksep,50,i.ranksepFunc),b=Py(i.nodesep,50,i.nodesepFunc);let E=b,T=_;"LR"!==s&&"RL"!==s||(E=_,T=b),f.setDefaultEdgeLabel((()=>({}))),f.setGraph(i);const x={};let S;this.sortByCombo&&l&&l.forEach((e=>{if(x[e.id]=e,e.collapsed){const t=v(e),n=T(e),r=E(e),i=t[0]+2*r,o=t[1]+2*n;f.setNode(e.id,{width:i,height:o})}e.parentId&&(x[e.parentId]||f.setNode(e.parentId,{}),f.setParent(e.id,e.parentId))})),g.filter((e=>!1!==e.layout)).forEach((e=>{const t=v(e),n=T(e),r=E(e),i=t[0]+2*r,o=t[1]+2*n,a=e.layer;wy(a)?f.setNode(e.id,{width:i,height:o,layer:a}):f.setNode(e.id,{width:i,height:o}),this.sortByCombo&&e.comboId&&(x[e.comboId]||(x[e.comboId]={id:e.comboId},f.setNode(e.comboId,{})),f.setParent(e.id,e.comboId))})),d.forEach((e=>{const t=Iy(e,"source"),n=Iy(e,"target");this.layoutNode(t)&&this.layoutNode(n)&&f.setEdge(t,n,{weight:e.weight||1})})),null===(t=null==h?void 0:h.concat(p||[]))||void 0===t||t.forEach((e=>{var t,n;const{source:r,target:i}=e,o=(null===(t=x[r])||void 0===t?void 0:t.collapsed)?[r]:m[r]||[r],a=(null===(n=x[i])||void 0===n?void 0:n.collapsed)?[i]:m[i]||[i];o.forEach((t=>{a.forEach((n=>{f.setEdge(t,n,{weight:e.weight||1})}))}))})),(null===(n=i.preset)||void 0===n?void 0:n.nodes)&&(S=new jv({multigraph:!0,compound:!0}),i.preset.nodes.forEach((e=>{null==S||S.setNode(e.id,e)}))),xb(f,{prevGraph:S,edgeLabelSpace:i.edgeLabelSpace,keepNodeOrder:Boolean(!!i.nodeOrder),nodeOrder:i.nodeOrder});const C=[0,0];if(c){let e=1/0,t=1/0;f.nodes().forEach((n=>{const r=f.node(n);e>r.x&&(e=r.x),t>r.y&&(t=r.y)})),f.edges().forEach((n=>{var r;null===(r=f.edge(n).points)||void 0===r||r.forEach((n=>{e>n.x&&(e=n.x),t>n.y&&(t=n.y)}))})),C[0]=c[0]-e,C[1]=c[1]-t}const A="LR"===s||"RL"===s;if(u){const{focusNode:e,ranksep:t,getRadialPos:n}=this,o=Ay(e)?e:null==e?void 0:e.id,a=o?null===(r=f.node(o))||void 0===r?void 0:r._rank:0,s=[],l=A?"y":"x",c=A?"height":"width";let u=1/0,h=-1/0;f.nodes().forEach((e=>{const t=f.node(e);if(!i.nodeMap[e])return;const n=b(i.nodeMap[e]);if(0===a)s[t._rank]||(s[t._rank]={nodes:[],totalWidth:0,maxSize:-1/0}),s[t._rank].nodes.push(e),s[t._rank].totalWidth+=2*n+t[c],s[t._rank].maxSizeh&&(h=o)}));let p=t||50;const m={},g=(h-u)/.9,y=[.5*(u+h-g),.5*(u+h+g)],v=(e,t,r=-1/0,o=[0,1])=>{let a=r;return e.forEach((e=>{const r=f.node(e);m[e]=t;const{x:s,y:c}=n(r[l],y,g,t,o);if(!i.nodeMap[e])return;i.nodeMap[e].x=s+C[0],i.nodeMap[e].y=c+C[1],i.nodeMap[e]._order=r._order;const u=_(i.nodeMap[e]);a{var t,n,r,o,s,l,c;if(!(null===(t=null==e?void 0:e.nodes)||void 0===t?void 0:t.length)&&!(null===(n=null==e?void 0:e.left)||void 0===n?void 0:n.length)&&!(null===(r=null==e?void 0:e.right)||void 0===r?void 0:r.length))return;if(E&&1===e.nodes.length){const t=e.nodes[0];if(!i.nodeMap[t])return;return i.nodeMap[t].x=C[0],i.nodeMap[t].y=C[1],m[e.nodes[0]]=0,p=_(i.nodeMap[t]),void(E=!1)}p=Math.max(p,e.totalWidth/(2*Math.PI));let u=-1/0;if(0===a||(null===(o=e.nodes)||void 0===o?void 0:o.length))u=v(e.nodes,p,u,[0,1]);else{const t=(null===(s=e.left)||void 0===s?void 0:s.length)/((null===(l=e.left)||void 0===l?void 0:l.length)+(null===(c=e.right)||void 0===c?void 0:c.length));u=v(e.left,p,u,[0,t]),u=v(e.right,p,u,[t+.05,1])}p+=u,E=!1,e.maxSize})),f.edges().forEach((e=>{var t,r,o;const a=f.edge(e),s=d.findIndex((t=>{const n=Iy(t,"source"),r=Iy(t,"target");return n===e.v&&r===e.w}));if(!(s<=-1)&&i.edgeLabelSpace&&i.controlPoints&&"loop"!==d[s].type){const i="x"===l?"y":"x",c=null===(t=null==a?void 0:a.points)||void 0===t?void 0:t.slice(1,a.points.length-1),u=[],h=null===(r=f.node(e.v))||void 0===r?void 0:r[i],p=h-(null===(o=f.node(e.w))||void 0===o?void 0:o[i]),v=m[e.v],_=v-m[e.w];null==c||c.forEach((e=>{const t=(e[i]-h)/p*_+v,r=n(e[l],y,g,t);u.push({x:r.x+C[0],y:r.y+C[1]})})),d[s].controlPoints=u}}))}else{const e=new Set,t="BT"===s||"RL"===s?(e,t)=>t-e:(e,t)=>e-t;f.nodes().forEach((t=>{const n=f.node(t);if(!n)return;let r=this.nodeMap[t];r||(r=null==l?void 0:l.find((e=>e.id===t))),r&&(r.x=n.x+C[0],r.y=n.y+C[1],r._order=n._order,e.add(A?r.x:r.y))}));const n=Array.from(e).sort(t),r=A?(e,t)=>e.x!==t.x:(e,t)=>e.y!==t.y,o=A?(e,t,n)=>{const r=Math.max(t.y,n.y),i=Math.min(t.y,n.y);return e.filter((e=>e.y<=r&&e.y>=i))}:(e,t,n)=>{const r=Math.max(t.x,n.x),i=Math.min(t.x,n.x);return e.filter((e=>e.x<=r&&e.x>=i))};f.edges().forEach((e=>{var t;const a=f.edge(e),s=d.findIndex((t=>{const n=Iy(t,"source"),r=Iy(t,"target");return n===e.v&&r===e.w}));if(!(s<=-1)&&i.edgeLabelSpace&&i.controlPoints&&"loop"!==d[s].type){null===(t=null==a?void 0:a.points)||void 0===t||t.forEach((e=>{e.x+=C[0],e.y+=C[1]}));const l=i.nodeMap[e.v],c=i.nodeMap[e.w];d[s].controlPoints=Sb(null==a?void 0:a.points,l,c,n,A,r,o)}}))}return i.onLayoutEnd&&i.onLayoutEnd(),{nodes:o,edges:d}}getRadialPos(e,t,n,r,i=[0,1]){let o=(e-t[0])/n;o=o*(i[1]-i[0])+i[0];const a=2*o*Math.PI;return{x:Math.cos(a)*r,y:Math.sin(a)*r}}getType(){return"dagre"}},concentric:class extends Fy{constructor(e){super(),this.nodeSize=30,this.minNodeSpacing=10,this.nodeSpacing=10,this.preventOverlap=!1,this.equidistant=!1,this.startAngle=1.5*Math.PI,this.clockwise=!0,this.sortBy="degree",this.nodes=[],this.edges=[],this.width=300,this.height=300,this.onLayoutEnd=()=>{},this.updateCfg(e)}getDefaultCfg(){return{nodeSize:30,minNodeSpacing:10,nodeSpacing:10,preventOverlap:!1,sweep:void 0,equidistant:!1,startAngle:1.5*Math.PI,clockwise:!0,maxLevelDiff:void 0,sortBy:"degree"}}execute(){var e,t;const n=this,{nodes:r,edges:i}=n,o=r.length;if(0===o)return void(null===(e=n.onLayoutEnd)||void 0===e||e.call(n));n.width||"undefined"==typeof window||(n.width=window.innerWidth),n.height||"undefined"==typeof window||(n.height=window.innerHeight),n.center||(n.center=[n.width/2,n.height/2]);const a=n.center;if(1===o)return r[0].x=a[0],r[0].y=a[1],void(null===(t=n.onLayoutEnd)||void 0===t||t.call(n));const{nodeSize:s,nodeSpacing:l}=n,c=[];let u,h=0;u=Ry(s)?Math.max(s[0],s[1]):s,Ry(l)?h=Math.max(l[0],l[1]):wy(l)&&(h=l),r.forEach((e=>{c.push(e);let t=u;Ry(e.size)?t=Math.max(e.size[0],e.size[1]):wy(e.size)?t=e.size:Oy(e.size)&&(t=Math.max(e.size.width,e.size.height)),u=Math.max(u,t),Dy(l)&&(h=Math.max(l(e),h))})),n.clockwise=void 0!==n.counterclockwise?!n.counterclockwise:n.clockwise;const p={},d={};if(c.forEach(((e,t)=>{p[e.id]=e,d[e.id]=t})),!("degree"!==n.sortBy&&Ay(n.sortBy)&&void 0!==c[0][n.sortBy]||(n.sortBy="degree",wy(r[0].degree)))){const e=ky(r.length,d,i);c.forEach(((t,n)=>{t.degree=e[n].all}))}c.sort(((e,t)=>t[n.sortBy]-e[n.sortBy])),n.maxValueNode=c[0],n.maxLevelDiff=n.maxLevelDiff||n.maxValueNode[n.sortBy]/4;const f=[[]];let m=f[0];c.forEach((e=>{if(m.length>0){const t=Math.abs(m[0][n.sortBy]-e[n.sortBy]);n.maxLevelDiff&&t>=n.maxLevelDiff&&(m=[],f.push(m))}m.push(e)}));let g=u+(h||n.minNodeSpacing);if(!n.preventOverlap){const e=f.length>0&&f[0].length>1,t=(Math.min(n.width,n.height)/2-g)/(f.length+(e?1:0));g=Math.min(g,t)}let y=0;if(f.forEach((e=>{let t=n.sweep;void 0===t&&(t=2*Math.PI-2*Math.PI/e.length);const r=e.dTheta=t/Math.max(1,e.length-1);if(e.length>1&&n.preventOverlap){const e=Math.cos(r)-Math.cos(0),t=Math.sin(r)-Math.sin(0),n=Math.sqrt(g*g/(e*e+t*t));y=Math.max(n,y)}e.r=y,y+=g})),n.equidistant){let e=0,t=0;for(let n=0;n{0===r&&(t=n.r),n.r=t,t+=e}))}return f.forEach((e=>{const t=e.dTheta,r=e.r;e.forEach(((e,i)=>{const o=n.startAngle+(n.clockwise?1:-1)*t*i;e.x=a[0]+r*Math.cos(o),e.y=a[1]+r*Math.sin(o)}))})),n.onLayoutEnd&&n.onLayoutEnd(),{nodes:r,edges:i}}getType(){return"concentric"}},radial:class extends Fy{constructor(e){super(),this.maxIteration=1e3,this.focusNode=null,this.unitRadius=null,this.linkDistance=50,this.preventOverlap=!1,this.strictRadial=!0,this.maxPreventOverlapIteration=200,this.sortStrength=10,this.nodes=[],this.edges=[],this.updateCfg(e)}getDefaultCfg(){return{maxIteration:1e3,focusNode:null,unitRadius:null,linkDistance:50,preventOverlap:!1,nodeSize:void 0,nodeSpacing:void 0,strictRadial:!0,maxPreventOverlapIteration:200,sortBy:void 0,sortStrength:10}}execute(){const e=this,t=e.nodes,n=e.edges||[];if(!t||0===t.length)return void(e.onLayoutEnd&&e.onLayoutEnd());e.width||"undefined"==typeof window||(e.width=window.innerWidth),e.height||"undefined"==typeof window||(e.height=window.innerHeight),e.center||(e.center=[e.width/2,e.height/2]);const r=e.center;if(1===t.length)return t[0].x=r[0],t[0].y=r[1],void(e.onLayoutEnd&&e.onLayoutEnd());const i=e.linkDistance;let o=null;if(Ay(e.focusNode)){let n=!1;for(let r=0;r{e.id===t&&(n=r)})),n}(t,o.id);a<0&&(a=0),e.focusIndex=a;const s=((e,t)=>{const{nodes:n,edges:r}=e,i=[],o={};if(!n)throw new Error("invalid nodes data!");return n&&n.forEach(((e,t)=>{o[e.id]=t,i.push([])})),null==r||r.forEach((e=>{const n=Iy(e,"source"),r=Iy(e,"target"),a=o[n],s=o[r];void 0!==a&&void 0!==s&&(i[a][s]=1,t||(i[s][a]=1))})),i})({nodes:t,edges:n},!1),l=(e=>{const t=[],n=e.length;for(let r=0;rt[r][e]+t[e][i]&&(t[r][i]=t[r][e]+t[e][i]);return t})(s),c=e.maxToFocus(l,a);e.handleInfinity(l,a,c+1),e.distances=l;const u=l[a],h=e.width||500,p=e.height||500;let d=h-r[0]>r[0]?r[0]:h-r[0],f=p-r[1]>r[1]?r[1]:p-r[1];0===d&&(d=h/2),0===f&&(f=p/2);const m=f>d?d:f,g=Math.max(...u),y=[];u.forEach(((t,n)=>{e.unitRadius||(e.unitRadius=m/g),y[n]=t*e.unitRadius})),e.radii=y;const v=e.eIdealDisMatrix();e.eIdealDistances=v;const _=function(e){const t=e.length,n=e[0].length,r=[];for(let i=0;i{Ly(e[0])&&(e[0]=Math.random()*i),Ly(e[1])&&(e[1]=Math.random()*i)})),e.positions=b,b.forEach(((e,n)=>{t[n].x=e[0]+r[0],t[n].y=e[1]+r[1]})),b.forEach((e=>{e[0]-=b[a][0],e[1]-=b[a][1]})),e.run();const E=e.preventOverlap,T=e.nodeSize;let x;const S=e.strictRadial;if(E){const n=e.nodeSpacing;let r;r=wy(n)?()=>n:Dy(n)?n:()=>0,x=T?Ry(T)?e=>(T[0]>T[1]?T[0]:T[1])+r(e):e=>T+r(e):e=>e.size?Ry(e.size)?(e.size[0]>e.size[1]?e.size[0]:e.size[1])+r(e):Oy(e.size)?(e.size.width>e.size.height?e.size.width:e.size.height)+r(e):e.size+r(e):10+r(e);const i={nodes:t,nodeSizeFunc:x,adjMatrix:s,positions:b,radii:y,height:p,width:h,strictRadial:S,focusID:a,iterations:e.maxPreventOverlapIteration||200,k:b.length/4.5},o=new vA(i);b=o.layout()}return b.forEach(((e,n)=>{t[n].x=e[0]+r[0],t[n].y=e[1]+r[1]})),e.onLayoutEnd&&e.onLayoutEnd(),{nodes:t,edges:n}}run(){const e=this,t=e.maxIteration,n=e.positions||[],r=e.weights||[],i=e.eIdealDistances||[],o=e.radii||[];for(let a=0;a<=t;a++){const s=a/t;e.oneIteration(s,n,o,i,r)}}oneIteration(e,t,n,r,i){const o=1-e,a=this.focusIndex;t.forEach(((s,l)=>{const c=_A(s,[0,0]),u=0===c?0:1/c;if(l===a)return;let h=0,p=0,d=0;t.forEach(((e,t)=>{if(l===t)return;const n=_A(s,e),o=0===n?0:1/n,a=r[t][l];d+=i[l][t],h+=i[l][t]*(e[0]+a*(s[0]-e[0])*o),p+=i[l][t]*(e[1]+a*(s[1]-e[1])*o)}));const f=0===n[l]?0:1/n[l];d*=o,d+=e*f*f,h*=o,h+=e*f*s[0]*u,s[0]=h/d,p*=o,p+=e*f*s[1]*u,s[1]=p/d}))}eIdealDisMatrix(){const e=this,t=e.nodes;if(!t)return[];const n=e.distances,r=e.linkDistance,i=e.radii||[],o=e.unitRadius||50,a=[];return n&&n.forEach(((n,s)=>{const l=[];n.forEach(((n,a)=>{if(s===a)l.push(0);else if(i[s]===i[a])if("data"===e.sortBy)l.push(n*(Math.abs(s-a)*e.sortStrength)/(i[s]/o));else if(e.sortBy){let r=t[s][e.sortBy]||0,c=t[a][e.sortBy]||0;Ay(r)&&(r=r.charCodeAt(0)),Ay(c)&&(c=c.charCodeAt(0)),l.push(n*(Math.abs(r-c)*e.sortStrength)/(i[s]/o))}else l.push(n*r/(i[s]/o));else{const e=(r+o)/2;l.push(n*e)}})),a.push(l)})),a}handleInfinity(e,t,n){const r=e.length;for(let i=0;in?e[t][r]:n);return n}getType(){return"radial"}}},YA=(e,t,n,r)=>{var i;const o=r.length===n.nodes.length,a=(null===(i=jA.find((t=>t.value===e.options)))||void 0===i?void 0:i.options)||{},s=t.getWidth(),l=t.getHeight();if("circular"===e){let e=60*r.length/(2*Math.PI);o&&(e=Math.min(s,l)/2),a.radius=e}return o&&(a.width=s,a.height=l),a};const{Panel:zA}=f.Collapse,$A={id:"SubGraphLayout",name:C({id:"advance.components.SubGraphLayout.info.SubgraphLayout",dm:"子图布局"}),category:"data-analysis",desc:C({id:"advance.components.SubGraphLayout.info.SubgraphLayoutPanel",dm:"子图布局面板"}),cover:"http://xxxx.jpg",type:"GIAC_CONTENT",icon:"icon-branches",docs:"https://www.yuque.com/antv/gi/yfg1clqzztqvcnt2"},{GIAC_CONTENT_METAS:WA,deepClone:VA}=p.extra,KA=VA(WA);KA.GIAC_CONTENT.properties.GIAC_CONTENT.properties.title.default=$A.name,KA.GIAC_CONTENT.properties.GIAC_CONTENT.properties.icon.default=$A.icon,KA.GIAC_CONTENT.properties.GIAC_CONTENT.properties.tooltip.default=$A.desc,KA.GIAC_CONTENT.properties.GIAC_CONTENT.properties.containerWidth.default="400px";const qA={info:$A,component:e=>{const{graph:t,data:n}=(0,p.useContext)(),{isDefaultSubGraph:r,sortKey:i,gap:o,direction:a}=e,[s,l]=Le({activeKeys:[],layouts:[]});return g().useEffect((()=>{if(!r)return void l((e=>{e.activeKeys=[],e.layouts=[]}));const e={};n.nodes.forEach((t=>{const n=t.data[i];e[n]?e[n].push({id:t.id}):e[n]=[{id:t.id}]}));const o=Object.keys(e).map((r=>{let i;return e[r].length===n.nodes.length&&(i=Math.min(t.getWidth(),t.getHeight())/2),{type:"circular",nodes:e[r],options:YA("circular",t,n,e[r])}}));l((e=>{e.activeKeys=o.map(((e,t)=>String(t))),e.layouts=o}))}),[r,i,n]),g().createElement("div",{className:"gi-subGraph-layout"},g().createElement(f.Collapse,{bordered:!1,activeKey:s.activeKeys,expandIcon:({isActive:e})=>g().createElement(nn.Z,{rotate:e?90:0}),className:"site-collapse-custom-collapse",onChange:e=>{l((t=>{t.activeKeys=e}))}},s.layouts.map(((e,r)=>g().createElement(zA,{header:C({id:"advance.components.SubGraphLayout.Component.LayoutIndex",dm:"布局{index}"},{index:r}),key:r,className:"site-collapse-custom-panel",extra:g().createElement(f.Button,{type:"text",onClick:()=>{l((e=>{e.layouts.splice(r,1)}))}},g().createElement(Oe.Z,null))},g().createElement("div",null,g().createElement("div",{style:{marginBottom:"6px"},className:"custom-item"},g().createElement("div",null,C({id:"advance.components.SubGraphLayout.Component.SelectANode",dm:"选择节点:"})),g().createElement(f.Select,{mode:"multiple",allowClear:!0,style:{width:"316px"},placeholder:C({id:"advance.components.SubGraphLayout.Component.SelectANode.1",dm:"请选择节点"}),value:e.nodes.map((e=>e.id)),onChange:e=>{l((t=>{t.layouts[r].nodes=e.map((e=>({id:e})))}))}},e.nodes.map((e=>g().createElement(f.Select.Option,{key:e.id,value:e.id},e.id))))),g().createElement("div",{style:{marginBottom:"6px"},className:"custom-item"},g().createElement("div",null,C({id:"advance.components.SubGraphLayout.Component.SelectLayout",dm:"选择布局:"})),g().createElement(f.Select,{allowClear:!0,style:{maxWidth:"247px"},placeholder:C({id:"advance.components.SubGraphLayout.Component.PleaseSelectALayout",dm:"请选择布局"}),value:e.type,defaultValue:e.type,onChange:e=>{l((i=>{i.layouts[r].type=e,i.layouts[r].options=YA(e,t,n,s.layouts[r].nodes)}))}},jA.map((e=>g().createElement(f.Select.Option,{key:e.value,value:e.value},e.label)))))))))),g().createElement(f.Button,{type:"dashed",style:{width:"100%"},onClick:()=>{const e=t.findAllByState("node","selected").map((e=>e.get("model"))).map((e=>({id:e.id})));0===e.length?f.message.error(C({id:"advance.components.SubGraphLayout.Component.NoSelectedElementInThe",dm:"当前画布中无选中元素"})):l((r=>{r.layouts.push({type:"circular",nodes:e,options:YA("circular",t,n,e)}),r.activeKeys.push(String(r.layouts.length-1))}))}},C({id:"advance.components.SubGraphLayout.Component.AddLayout",dm:"添加布局"})),g().createElement(f.Button,{type:"primary",style:{width:"100%",marginTop:"12px"},onClick:()=>function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){e.done?i(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))}(void 0,void 0,void 0,(function*(){((e,t,n,r)=>{const i=e.length,o=t.save(),a=t.get("width")/i,s=t.get("height")/i;e.filter((e=>0!==e.nodes.length)).forEach(((e,t)=>{const{type:i,options:l,nodes:c}=e;let u;u="horizontal"===r?[n/2+t*n,s/2]:[a/2,n+t*n];const h=Object.assign({width:a,height:s,center:u},l),p=new GA[i](h),d=((e,t)=>{const{edges:n,nodes:r}=e,i=t.map((e=>e.id)),o=n.filter((e=>{const{source:t,target:n}=e;return-1!==i.indexOf(t)&&-1!==i.indexOf(n)})),a=r.filter((e=>-1!==i.indexOf(e.id))).map((e=>{var t,n;return e.size=(null===(n=null===(t=e.style)||void 0===t?void 0:t.keyshape)||void 0===n?void 0:n.size)||26,e}));return{nodes:a,edges:o}})(o,c);p.layout(d)})),t.once("afteranimate",(()=>{t.fitView()})),t.positionsAnimate()})(s.layouts,t,o,a)}))},C({id:"advance.components.SubGraphLayout.Component.StartAdjustment",dm:"开始调整"})))},registerMeta:({keys:e,schemaData:t})=>{var n;const r=null===(n=t.nodes[0])||void 0===n?void 0:n.nodeTypeKeyFromProperties;return Object.assign({isDefaultSubGraph:{title:C({id:"advance.components.SubGraphLayout.registerMeta.DefaultSubgraphPartition",dm:"默认子图划分"}),type:"boolean","x-decorator":"FormItem","x-component":"Switch",default:!0},sortKey:{title:C({id:"advance.components.SubGraphLayout.registerMeta.MappingField",dm:"映射字段"}),type:"string","x-decorator":"FormItem","x-component":"Select",enum:e,default:r||""},gap:{title:C({id:"advance.components.SubGraphLayout.registerMeta.SubgraphSpacing",dm:"子图间距"}),type:"number","x-decorator":"FormItem","x-component":"NumberPicker","x-component-props":{min:0,max:1e3},default:200},direction:{title:C({id:"advance.components.SubGraphLayout.registerMeta.SubgraphArrangementDirection",dm:"子图排列方向"}),type:"string","x-decorator":"FormItem","x-component":"Select",enum:[{value:"vertical",label:C({id:"advance.components.SubGraphLayout.registerMeta.Vertical",dm:"垂直"})},{value:"horizontal",label:C({id:"advance.components.SubGraphLayout.registerMeta.Horizontal",dm:"水平"})}],default:"horizontal"}},KA)}},XA={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M391 240.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L200 146.3a8.03 8.03 0 00-11.3 0l-42.4 42.3a8.03 8.03 0 000 11.3L280 333.6l-43.9 43.9a8.01 8.01 0 004.7 13.6L401 410c5.1.6 9.5-3.7 8.9-8.9L391 240.9zm10.1 373.2L240.8 633c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L146.3 824a8.03 8.03 0 000 11.3l42.4 42.3c3.1 3.1 8.2 3.1 11.3 0L333.7 744l43.7 43.7A8.01 8.01 0 00391 783l18.9-160.1c.6-5.1-3.7-9.4-8.8-8.8zm221.8-204.2L783.2 391c6.6-.8 9.4-8.9 4.7-13.6L744 333.6 877.7 200c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.3a8.03 8.03 0 00-11.3 0L690.3 279.9l-43.7-43.7a8.01 8.01 0 00-13.6 4.7L614.1 401c-.6 5.2 3.7 9.5 8.8 8.9zM744 690.4l43.9-43.9a8.01 8.01 0 00-4.7-13.6L623 614c-5.1-.6-9.5 3.7-8.9 8.9L633 783.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L824 877.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3L744 690.4z"}}]},name:"fullscreen-exit",theme:"outlined"};var ZA=function(e,t){return m.createElement(ke.Z,(0,Ne.Z)((0,Ne.Z)({},e),{},{ref:t,icon:XA}))};ZA.displayName="FullscreenExitOutlined";const QA=m.forwardRef(ZA),JA={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M290 236.4l43.9-43.9a8.01 8.01 0 00-4.7-13.6L169 160c-5.1-.6-9.5 3.7-8.9 8.9L179 329.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L370 423.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3L290 236.4zm352.7 187.3c3.1 3.1 8.2 3.1 11.3 0l133.7-133.6 43.7 43.7a8.01 8.01 0 0013.6-4.7L863.9 169c.6-5.1-3.7-9.5-8.9-8.9L694.8 179c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L600.3 370a8.03 8.03 0 000 11.3l42.4 42.4zM845 694.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L654 600.3a8.03 8.03 0 00-11.3 0l-42.4 42.3a8.03 8.03 0 000 11.3L734 787.6l-43.9 43.9a8.01 8.01 0 004.7 13.6L855 864c5.1.6 9.5-3.7 8.9-8.9L845 694.9zm-463.7-94.6a8.03 8.03 0 00-11.3 0L236.3 733.9l-43.7-43.7a8.01 8.01 0 00-13.6 4.7L160.1 855c-.6 5.1 3.7 9.5 8.9 8.9L329.2 845c6.6-.8 9.4-8.9 4.7-13.6L290 787.6 423.7 654c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.4z"}}]},name:"fullscreen",theme:"outlined"};var eR=function(e,t){return m.createElement(ke.Z,(0,Ne.Z)((0,Ne.Z)({},e),{},{ref:t,icon:JA}))};eR.displayName="FullscreenOutlined";const tR=m.forwardRef(eR),nR={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 512.3v-.3c0-229.8-186.2-416-416-416S96 282.2 96 512v.4c0 229.8 186.2 416 416 416s416-186.2 416-416v-.3.2zm-6.7-74.6l.6 3.3-.6-3.3zM676.7 638.2c53.5-82.2 52.5-189.4-11.1-263.7l162.4-8.4c20.5 44.4 32 93.8 32 145.9 0 185.2-144.6 336.6-327.1 347.4l143.8-221.2zM512 652.3c-77.5 0-140.2-62.7-140.2-140.2 0-77.7 62.7-140.2 140.2-140.2S652.2 434.5 652.2 512 589.5 652.3 512 652.3zm369.2-331.7l-3-5.7 3 5.7zM512 164c121.3 0 228.2 62.1 290.4 156.2l-263.6-13.9c-97.5-5.7-190.2 49.2-222.3 141.1L227.8 311c63.1-88.9 166.9-147 284.2-147zM102.5 585.8c26 145 127.1 264 261.6 315.1C229.6 850 128.5 731 102.5 585.8zM164 512c0-55.9 13.2-108.7 36.6-155.5l119.7 235.4c44.1 86.7 137.4 139.7 234 121.6l-74 145.1C302.9 842.5 164 693.5 164 512zm324.7 415.4c4 .2 8 .4 12 .5-4-.2-8-.3-12-.5z"}}]},name:"chrome",theme:"outlined"};var rR=function(e,t){return m.createElement(ke.Z,(0,Ne.Z)((0,Ne.Z)({},e),{},{ref:t,icon:nR}))};rR.displayName="ChromeOutlined";const iR=m.forwardRef(rR),oR={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888.3 757.4h-53.8c-4.2 0-7.7 3.5-7.7 7.7v61.8H197.1V197.1h629.8v61.8c0 4.2 3.5 7.7 7.7 7.7h53.8c4.2 0 7.7-3.4 7.7-7.7V158.7c0-17-13.7-30.7-30.7-30.7H158.7c-17 0-30.7 13.7-30.7 30.7v706.6c0 17 13.7 30.7 30.7 30.7h706.6c17 0 30.7-13.7 30.7-30.7V765.1c0-4.3-3.5-7.7-7.7-7.7zm18.6-251.7L765 393.7c-5.3-4.2-13-.4-13 6.3v76H438c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h314v76c0 6.7 7.8 10.5 13 6.3l141.9-112a8 8 0 000-12.6z"}}]},name:"export",theme:"outlined"};var aR=function(e,t){return m.createElement(ke.Z,(0,Ne.Z)((0,Ne.Z)({},e),{},{ref:t,icon:oR}))};aR.displayName="ExportOutlined";const sR=m.forwardRef(aR);var lR=u(2153),cR=u(8770),uR=u(9876),hR=u(2752);const pR=function(e,t,n){for(var r,i=0,o=(r=t,(0,hR.Z)(r,"String")?t.split("."):t);e&&i(t||[]).filter((t=>{var n;return t.filterKey===e&&(null===(n=t.filteredValues)||void 0===n?void 0:n.length)})).map((e=>e.filteredValues)).flat(),fR=e=>{const t={};return e.forEach((e=>{t[e]=!0})),t},mR={none:"Filter",asc:"SortUp",desc:"SortDown"};class gR extends lR.UhE{constructor(e,t,n,r){super(e,t,n),this.onIconClick=r}drawTextShape(){super.drawTextShape();const{x:e,y:t,width:n,height:r}=this.meta,i=this.getStyle(),o=pR(i,"icon.size"),a=pR(i,"icon.margin"),s=e+n-o-(null==a?void 0:a.right),l=t+r/2-o/2;this.renderFilterIcon({x:s,y:l+2,width:o,height:o})}renderFilterIcon(e){const t=(n=this.meta.value,r=this.spreadsheet.dataCfg.sortParams,pR((r||[]).filter((e=>e.sortFieldId===n)),"[0].sortMethod","NONE")||"NONE");var n,r;const i=((e,t)=>!!(this.spreadsheet.dataCfg.filterParams||[]).filter((t=>{var n;return t.filterKey===e&&(null===(n=t.filteredValues)||void 0===n?void 0:n.length)})).length)(this.meta.value),{x:o,y:a,width:s,height:l}=e,c=new lR.f0h({name:mR[t.toLowerCase()],x:o,y:a,width:s,height:l,fill:i?"#ffc069":"rgba(255, 255, 255, 0.3)",cursor:"pointer"});this.add(c),c.on("click",(()=>{var e;null===(e=this.onIconClick)||void 0===e||e.call(this,{meta:this.meta})}))}}const yR=({fieldName:e,spreadsheet:t,modalCallbackRef:n})=>{const r=g().useMemo((()=>function(e,t){void 0===t&&(t=new Map);var n=[];if(Array.isArray(e))for(var r=0,i=e.length;rt[e])))),[t.dataSet.originData,e]),{filterParams:i}=t.dataCfg,[o,a]=g().useState(fR(dR(e,i))),[s,l]=g().useState({filter:!1}),[c,u]=g().useState("");(0,m.useEffect)((()=>{a(fR(dR(e,i)))}),[e]);const h=g().useMemo((()=>r.filter((e=>!c||"string"==typeof e&&-1!==e.search(c)))),[c,r,e]);return n.current=()=>{s.filter&&t.emit(lR.ch4.RANGE_FILTER,{filterKey:e,filteredValues:Object.entries(o||{}).map((([e,t])=>{if(t)return e})).filter(Boolean).map((e=>"undefined"===e?void 0:e))}),l({filter:!1})},g().createElement(f.Form,null,g().createElement("p",{className:"gi-tablemode-filter-tip"},C({id:"advance.components.TableMode.FilterPopover.NoteOnlyTheDisplayAnd",dm:"注意:仅控制表格中数据行的显示与隐藏"})),g().createElement(f.Form.Item,{className:"gi-tablemode-filter-item"},g().createElement("div",null,g().createElement(f.Input.Search,{value:c,onChange:e=>(e=>{u(e),l((e=>Object.assign(Object.assign({},e),{filter:!0})));const t={};r.filter((t=>!r.filter((t=>!e||"string"==typeof t&&-1!==t.search(e))).includes(t))).forEach((e=>{t[e]=!0})),a(t)})(e.target.value),placeholder:C({id:"advance.components.TableMode.FilterPopover.EnterASearchKeyword",dm:"请输入搜索关键词"}),className:"search-box"}),g().createElement("div",{className:"gi-tablemode-filter-check-item-list"},g().createElement(f.Checkbox,{className:"check-item",checked:h.every((e=>!o[e])),indeterminate:h.some((e=>!o[e]))&&!h.every((e=>!o[e])),onChange:e=>{const{target:{checked:t}}=e;l((e=>Object.assign(Object.assign({},e),{filter:!0}))),a(t?e=>{const t={};return h.forEach((e=>{t[e]=!1})),t}:e=>{const t={};return h.forEach((e=>{t[e]=!0})),{newValue:t}})}},C({id:"advance.components.TableMode.FilterPopover.SelectAll",dm:"全选"})),h.map((e=>g().createElement(f.Checkbox,{className:"check-item",checked:!o[e],onChange:t=>{l((e=>Object.assign(Object.assign({},e),{filter:!0}))),a((n=>Object.assign(Object.assign({},n),{[e]:!t.target.checked})))}},void 0===e?"-":e)))))))},vR=(e,t)=>{const{updateContext:n,largeGraphData:r,data:i,graph:o}=t;if(r){const t=r.nodes.filter((t=>e.has(t.id))),i=r.edges.filter((t=>e.has(t.target)&&e.has(t.source))),o={nodes:t,edges:i};n((e=>{e.data=o,e.source=o}))}else i.nodes.forEach((t=>{const{id:n}=t,r=o.findById(n);e.has(n)?(r.hasState("disabled")&&o.setItemState(n,"disabled",!1),!r.hasState("selected")&&o.setItemState(n,"selected",!0)):(!r.hasState("disabled")&&o.setItemState(n,"disabled",!0),r.hasState("selected")&&o.setItemState(n,"selected",!1))})),i.edges.forEach((t=>{const{id:n,source:r,target:i}=t;o.setItemState(n,"disabled",!0);const a=o.findById(n);e.has(i)&&e.has(r)?(!a.hasState("selected")&&o.setItemState(n,"selected",!0),a.hasState("disabled")&&o.setItemState(n,"disabled",!1)):(!a.hasState("disabled")&&o.setItemState(n,"disabled",!0),a.hasState("selected")&&o.setItemState(n,"selected",!1))}))},_R=(e,t)=>{const{updateContext:n,largeGraphData:r,data:i,graph:o}=t,a=new Set;if(r){const t=r.edges.filter((t=>!!e.has(t.id)&&(a.add(t.target),a.add(t.source),!0))),i=r.nodes.filter((e=>a.has(e.id))),o={nodes:i,edges:t};n((e=>{e.source=o,e.data=o}))}else i.edges.forEach((t=>{const{id:n,GI_AGGREGATE_ID:r}=t,i=o.findById(n);e.has(r||n)?(i.hasState("disabled")&&o.setItemState(n,"disabled",!1),!i.hasState("selected")&&o.setItemState(n,"selected",!0),a.add(t.target),a.add(t.source)):(!i.hasState("disabled")&&o.setItemState(n,"disabled",!0),i.hasState("selected")&&o.setItemState(n,"selected",!1))})),i.nodes.forEach((e=>{const{id:t}=e,n=o.findById(t);a.has(t)?(n.hasState("disabled")&&o.setItemState(t,"disabled",!1),!n.hasState("selected")&&o.setItemState(t,"selected",!0)):(!n.hasState("disabled")&&o.setItemState(t,"disabled",!0),n.hasState("selected")&&o.setItemState(t,"selected",!1))}))};var bR=u(9479);function ER(e){return{columns:{selectable:!0,items:e.columns.items}}}const TR=e=>{const t={columns:{selectable:!0,items:e.columns.map((e=>({id:e})))}},[n,r]=(0,m.useState)({fields:e,switcherFields:t});(0,m.useEffect)((()=>{(0,bR.isEqual)(n.fields,e)||r((n=>Object.assign(Object.assign({},n),{fields:e,switcherFields:t})))}),[e]);const{fields:i,switcherFields:o}=n;return{fields:i,switcherFields:o,onSwitch:e=>{r((t=>{return Object.assign(Object.assign({},t),{fields:(n=e,{columns:n.columns.items.filter((e=>!1!==e.checked)).map((e=>e.id))}),switcherFields:ER(e)});var n}))}}},xR=(e,t)=>{const n=e[t].reduce(((e,t)=>Object.assign(Object.assign({},e),t.properties)),{});let r=[];for(let e in n)"number"!=typeof n[e]&&"string"!=typeof n[e]||r.push(e);return r},SR=(e,{largeGraphData:t,selectItems:n,graphData:r})=>{let i=r[e];return 0!==n[e].length&&(i=n[e]),t&&(i=t[e]),"nodes"===e?i.map((e=>Object.assign(Object.assign({},e.data),{id:e.id}))):"edges"===e?i.reduce(((e,t)=>{const{aggregate:n}=t;if(n&&n.length>0){const t=n.map((e=>Object.assign(Object.assign({},e.data),{id:e.id})));return[...e,...t]}return[...e,Object.assign(Object.assign({},t.data),{id:t.id})]}),[]):void 0},{TabPane:CR}=f.Tabs,AR={width:0,height:0},RR=(0,m.memo)((e=>{const{isSelectedActive:t,enableCopy:n,exportable:r,enableTabSplitScreen:i,targetWindowPath:o,style:a={}}=e,{graph:s,schemaData:l,largeGraphData:c,data:u}=(0,p.useContext)(),h=(()=>{const[e,t]=(0,m.useState)(!1);return(0,m.useEffect)((()=>{const e=()=>{t((e=>!e))};return window.addEventListener("fullscreenchange",e),()=>{window.removeEventListener("fullscreenchange",e)}}),[]),e})(),d=(0,m.useRef)(null),y=(0,m.useRef)((e=>{})),v={node:(0,m.useRef)(null),edge:(0,m.useRef)(null)},_=(0,lR.XNs)("colorful"),b={name:"colorful",palette:(0,lR.WkR)(Object.assign(Object.assign({},_),{brandColor:"dark"===localStorage.getItem("@theme")?"#1f1f1f":"#3056e3"})),theme:{dataCell:{cell:{interactionState:{selected:{backgroundColor:"#ffa940"}}}}}},[E,T]=Le({supportCSSTransform:!0,showSeriesNumber:!0,interaction:{autoResetSheetStyle:!1},tooltip:{},refreshIndex:9527,colCell:(e,t,n)=>new gR(e,t,n,Z),customSVGIcons:[{name:"Filter",svg:''}],style:{colCfg:{width:e=>{const{value:t,spreadsheet:n}=e,r=n.dataSet.displayData.map((e=>e[t])),i={fontSize:15};let o=(0,cR.measureTextWidth)(String(t),i)+40,a="none";return r.forEach((e=>{const t=(0,cR.measureTextWidth)(String(e),i);o({columns:xR(l,"nodes")})),[l]),U=g().useMemo((()=>({columns:xR(l,"edges")})),[l]),j=SR("nodes",{selectItems:A,largeGraphData:c,graphData:u}),G=SR("edges",{selectItems:A,largeGraphData:c,graphData:u}),{fields:Y,switcherFields:z,onSwitch:$}=TR(B),{fields:W,switcherFields:V,onSwitch:K}=TR(U),q={fields:Y,data:j},X={fields:W,data:G};((e,t,n)=>{const r=(0,p.useContext)(),{data:i,graph:o,largeGraphData:a,updateContext:s}=r,{nodeTable:l,edgeTable:c}=t;g().useEffect((()=>{l&&l.on(lR.ch4.GLOBAL_SELECTED,(()=>{if(!e||n)return;const t=l.interaction.getCells(),r=new Set;t.forEach((e=>{var t;const{rowIndex:n}=e,i=l.dataSet.getMultiData();if(!i)return;const o=null===(t=i[n])||void 0===t?void 0:t.id;r.add(o)})),vR(r,{updateContext:s,largeGraphData:a,data:i,graph:o})})),c&&c.on(lR.ch4.GLOBAL_SELECTED,(()=>{if(!e||n)return;const t=c.interaction.getCells(),r=new Set;t.forEach((e=>{const{rowIndex:t}=e,n=c.dataSet.getMultiData();if(!n)return;const i=n[t],{id:o,GI_AGGREGATE_ID:a}=i;r.add(a||o)})),_R(r,{updateContext:s,largeGraphData:a,data:i,graph:o})}));const t=e=>{const{payload:t,type:n}=e.data;"GI_TABLEMODE_SELECT"===n&&t&&t.selectedNodes&&vR(t.selectedNodes,{updateContext:s,largeGraphData:a,data:i,graph:o})},r=e=>{const{payload:t,type:n}=e.data;"GI_TABLEMODE_SELECT"===n&&t.selectedEdges&&_R(t.selectedEdges,{updateContext:s,largeGraphData:a,data:i,graph:o})};return window.addEventListener("message",t),window.addEventListener("message",r),()=>{null==l||l.off(lR.ch4.GLOBAL_SELECTED),null==c||c.off(lR.ch4.GLOBAL_SELECTED),window.removeEventListener("message",r),window.removeEventListener("message",t)}}),[e,a,i,l,c,n,s,o])})(t,x,h),g().useEffect((()=>{const e=()=>{var e,t,n,r;null===(e=x.nodeTable)||void 0===e||e.interaction.reset(),null===(t=x.edgeTable)||void 0===t||t.interaction.reset(),null===(n=d.current)||void 0===n||n.postMessage({type:"TABS_TABLEMODE_CLEAR",payload:{}}),0===A.nodes.length&&0===A.edges.length||(null===(r=d.current)||void 0===r||r.postMessage({type:"TABS_TABLEMODE_SELECT",payload:{selectItems:{nodes:[],edges:[]}}}),R({nodes:[],edges:[]}))};return s.on("canvas:click",e),()=>{s.off("canvas:click",e)}}),[x.nodeTable,x.edgeTable,A]),g().useEffect((()=>{s.on("nodeselectchange",(e=>{var t;const{selectedItems:n,select:r}=e;if(!r)return;const{nodes:i,edges:o}=n,a=o.reduce(((e,t)=>{const n=t.getModel();return n.aggregate?[...e,...n.aggregate]:[...e,n]}),[]),s={nodes:i.map((e=>e.getModel())),edges:a};null===(t=d.current)||void 0===t||t.postMessage({type:"TABS_TABLEMODE_SELECT",payload:{selectItems:s}}),R(s)})),s.on("edge:click",(e=>{var t;if(!e.item)return;const n=e.item.getModel();R((e=>Object.assign(Object.assign({},e),{edges:n.aggregate?n.aggregate:[n]}))),null===(t=d.current)||void 0===t||t.postMessage({type:"TABS_TABLEMODE_SELECT",payload:{selectItems:{nodes:[],edges:n.aggregate?n.aggregate:[n]}}})}))}),[R,s]);const Z=({meta:e})=>{N(e.value),L(!w)};g().useEffect((()=>{if(!F)return;const e=window.location.origin+o,t=window.open(e,"_black");d.current=t;const n=n=>{"GI_TABLEMODE_READY"===n.data.type&&n.data.payload.isReady&&(null==t||t.postMessage({type:"TABS_TABLEMODE_INIT",payload:H},e))};return window.addEventListener("message",n),()=>{window.removeEventListener("message",n)}}),[F,H]);const Q=[g().createElement(f.Button,{key:"fullScreen",type:"text",icon:h?g().createElement(QA,null):g().createElement(tR,null),onClick:()=>{const e=document.getElementById("gi-table-mode");h?document.exitFullscreen():e.requestFullscreen()}}),i&&g().createElement(f.Tooltip,{title:C({id:"advance.components.TableMode.Component.UseANewBrowserTab",dm:"使用浏览器新页签打开,分屏操作更高效"}),key:"tabSplitScreen"},g().createElement(f.Button,{type:"text",icon:g().createElement(iR,null),onClick:()=>{const e={options:{supportCSSTransform:!0,showSeriesNumber:!0,interaction:{autoResetSheetStyle:!1}},largeGraphData:c,graphData:u,NODES_FIELDS_COLUMNS:B.columns,EDGES_FIELDS_COLUMNS:U.columns};P({isPostStart:!0,postParmas:e})}})),r&&g().createElement(f.Tooltip,{title:C({id:"advance.components.TableMode.Component.ExportPointEdgeData",dm:"导出点边数据"}),key:"export"},g().createElement(f.Button,{type:"text",icon:g().createElement(sR,null),onClick:()=>{try{Object.keys(x).forEach((e=>{const t=(0,lR.F1h)(x[e],",",!0);(0,lR.LRf)(t,e)})),f.message.success(C({id:"advance.components.TableMode.Component.ExportedSuccessfully",dm:"导出成功"}))}catch(e){console.log(e),f.message.error(C({id:"advance.components.TableMode.Component.ExportFailed",dm:"导出失败"}))}}}))].filter(Boolean),J=g().createElement(g().Fragment,null,Q);(0,m.useEffect)((()=>{T((e=>{e.interaction.enableCopy=n,e.interaction.copyWithHeader=n}))}),[n]),(0,m.useEffect)((()=>{const e=document.getElementById("gi-table-mode"),t=e.clientWidth,n=e.clientHeight||500,r=!AR.width||!AR.height;9527===E.refreshIndex||r?T((r=>{r.tooltip.getContainer=()=>e,0===t||0===n?r.refreshIndex=Math.random():(r.width=t,r.height=n,AR.width=t,AR.height=n)})):T((e=>{e.width=AR.width,e.height=AR.height}))}),[E.refreshIndex]);const ee=g().createElement(f.Button,{size:"small",style:{position:"absolute",right:30*Q.length+10+"px",top:"-51px"}},C({id:"advance.components.TableMode.Component.CustomColumns",dm:"自定义列"})),te=(0,m.useMemo)((()=>g().createElement(f.Modal,{title:`${"node"===I?"节点":"边"} ${O} 值筛选`,visible:w,className:"antv-s2-data-preview-demo-modal",onCancel:()=>{L(!1),M.resetFields()},onOk:()=>{y.current(),L(!1)}},g().createElement(yR,{spreadsheet:v[I].current,fieldName:O,modalCallbackRef:y}))),[I,O,w]);return g().createElement("div",{className:"gi-table-mode",id:"gi-table-mode",style:Object.assign({width:"100%",height:"100%"},a)},g().createElement(f.Tabs,{tabPosition:"top",tabBarExtraContent:J,destroyInactiveTabPane:!0,centered:!0,onChange:k},g().createElement(CR,{tab:C({id:"advance.components.TableMode.Component.PointTable",dm:"点表"}),key:"node",forceRender:!0},g().createElement(uR.T5,Object.assign({sheetType:"table"},z,{onSubmit:$,contentTitleText:C({id:"advance.components.TableMode.Component.CustomColumns",dm:"自定义列"}),title:ee})),g().createElement(uR.dZ,{getSpreadSheet:e=>{S((t=>{t.nodeTable=e}))},ref:v.node,adaptive:!0,options:E,dataCfg:q,sheetType:"table",themeCfg:b})),g().createElement(CR,{tab:C({id:"advance.components.TableMode.Component.EdgeTable",dm:"边表"}),key:"edge",forceRender:!0},g().createElement(uR.T5,Object.assign({sheetType:"table"},V,{onSubmit:K,contentTitleText:C({id:"advance.components.TableMode.Component.CustomColumns",dm:"自定义列"}),title:ee})),g().createElement(uR.dZ,{getSpreadSheet:e=>{S((t=>{t.edgeTable=e}))},ref:v.edge,adaptive:!0,options:E,dataCfg:X,sheetType:"table",themeCfg:b}))),te)})),wR={id:"TableMode",name:C({id:"advance.components.TableMode.info.TableMode",dm:"表格模式"}),desc:C({id:"advance.components.TableMode.info.ShowNodesAndEdgesIn",dm:"将画布中的节点和边以表格形式展示"}),icon:"icon-table",cover:"http://xxxx.jpg",category:"data-analysis",type:"GIAC_CONTENT",docs:"https://www.yuque.com/antv/gi/gs2fcb"},{deepClone:LR,GIAC_CONTENT_METAS:OR}=p.extra,NR=LR(OR);NR.GIAC_CONTENT.properties.GIAC_CONTENT.properties.title.default=wR.name,NR.GIAC_CONTENT.properties.GIAC_CONTENT.properties.icon.default=wR.icon,NR.GIAC_CONTENT.properties.GIAC_CONTENT.properties.tooltip.default=wR.desc,NR.GIAC_CONTENT.properties.GIAC_CONTENT.properties.containerWidth.default="400px";const IR={component:RR,registerMeta:({schemaData:e})=>Object.assign({enableCopy:{title:C({id:"advance.components.TableMode.registerMeta.CopySelectedContent",dm:"复制选中内容"}),type:"boolean","x-decorator":"FormItem","x-component":"Switch",default:!0},exportable:{title:C({id:"advance.components.TableMode.registerMeta.SupportsExportingData",dm:"支持导出数据"}),type:"boolean","x-decorator":"FormItem","x-component":"Switch",default:!0},enableTabSplitScreen:{title:C({id:"advance.components.TableMode.registerMeta.SupportTabSplitScreen",dm:"支持页签分屏"}),type:"boolean","x-decorator":"FormItem","x-component":"Switch",default:!0},isSelectedActive:{title:C({id:"advance.components.TableMode.registerMeta.ElementSelectionHighlight",dm:"元素选中高亮"}),type:"boolean","x-decorator":"FormItem","x-component":"Switch",default:!0},targetWindowPath:{title:C({id:"advance.components.TableMode.registerMeta.SplitTabRouting",dm:"分屏页签路由"}),type:"string","x-component":"Input","x-decorator":"FormItem",default:"/#/tabs/table"}},NR),info:wR},kR={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"};var DR=function(e,t){return m.createElement(ke.Z,(0,Ne.Z)((0,Ne.Z)({},e),{},{ref:t,icon:kR}))};DR.displayName="LeftOutlined";const PR=m.forwardRef(DR);var MR=u(6541),FR=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){e.done?i(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))};const HR=()=>[{id:"MOCK/getThemes",service:()=>FR(void 0,void 0,void 0,(function*(){const{GI_SITE_PROJECT_ID:e}=p.utils.getServerEngineContext(),{GI_PROJECT_DB:t}=window;return{success:!0,data:(yield t.getItem(e)).themes||[]}}))},{id:"MOCK/addTheme",service:e=>FR(void 0,void 0,void 0,(function*(){const{GI_SITE_PROJECT_ID:t}=p.utils.getServerEngineContext(),{GI_PROJECT_DB:n}=window,r=yield n.getItem(t),i=[...r.themes||[],e];return n.setItem(t,Object.assign(Object.assign({},r),{themes:i})),{success:!0,msg:C({id:"advance.components.ThemeSetting.mockServices.TheThemeHasBeenCreated",dm:"主题创建成功!"}),data:[...i]}}))},{id:"MOCK/updateTheme",service:(e,t)=>FR(void 0,void 0,void 0,(function*(){const{GI_SITE_PROJECT_ID:n}=p.utils.getServerEngineContext(),{GI_PROJECT_DB:r}=window,i=yield r.getItem(n),o=i.themes||[],a=o.findIndex((t=>t.id===e));return-1!==a?(o[a]=t,r.setItem(n,Object.assign(Object.assign({},i),{themes:o})),{success:!0,msg:C({id:"advance.components.ThemeSetting.mockServices.TheTopicHasBeenUpdated",dm:"主题更新成功"}),data:[...o]}):{sucess:!1,msg:C({id:"advance.components.ThemeSetting.mockServices.TheTopicDoesNotExist",dm:"主题不存在"})}}))},{id:"MOCK/removeTheme",service:e=>FR(void 0,void 0,void 0,(function*(){const{GI_SITE_PROJECT_ID:t}=p.utils.getServerEngineContext(),{GI_PROJECT_DB:n}=window,r=yield n.getItem(t),i=r.themes.filter((t=>t.id!==e));return n.setItem(t,Object.assign(Object.assign({},r),{themes:i})),{success:!0,msg:C({id:"advance.components.ThemeSetting.mockServices.DeletedSuccessfully",dm:"删除成功"}),data:i}}))}];const BR=C({id:"advance.components.ThemeSetting.AddOrUpdateTheme.ConfigureTheCanvasBackgroundStyle",dm:"请在【画布设置】资产中配置画布背景样式,在【样式设置】资产或左侧配置面板中配置元素样式"}),UR=C({id:"advance.components.ThemeSetting.AddOrUpdateTheme.ModifyTheCanvasBackgroundStyle",dm:"请在【画布设置】资产中修改画布背景样式,在【样式设置】资产或左侧修改面板中配置元素样式"}),jR=e=>{var t,n;const{updateState:r,status:i,currentTheme:o}=e,{graph:a,config:s,GISDK_ID:l,services:c}=(0,p.useContext)(),u=a.toDataURL("image/jpeg","#fff"),[h]=f.Form.useForm(),d=HR()[1].service,m=HR()[2].service,y=()=>{r((e=>{e.status="show"}))};return g().createElement("div",{className:"add-theme"},g().createElement("header",null,g().createElement(f.Button,{type:"text",icon:g().createElement(PR,{style:{fontSize:"18x"}}),onClick:y}),g().createElement("span",{className:"title"},C("add"===i?{id:"advance.components.ThemeSetting.AddOrUpdateTheme.CreateATopic",dm:"创建主题"}:{id:"advance.components.ThemeSetting.AddOrUpdateTheme.EditTopic",dm:"编辑主题"}))),g().createElement(f.Form,{layout:"vertical",form:h},g().createElement(f.Form.Item,{label:C({id:"advance.components.ThemeSetting.AddOrUpdateTheme.TopicName",dm:"主题名称"}),name:"name"},g().createElement(f.Input,{defaultValue:null==o?void 0:o.name})),g().createElement(f.Form.Item,{label:C({id:"advance.components.ThemeSetting.AddOrUpdateTheme.Description",dm:"描述"})},g().createElement(f.Alert,{message:"add"===i?BR:UR,type:"info"})),g().createElement(f.Form.Item,{label:C({id:"advance.components.ThemeSetting.AddOrUpdateTheme.ThemeStyle",dm:"主题样式"})},g().createElement("div",{className:"theme-style"},g().createElement(f.List,{header:g().createElement("span",{style:{fontWeight:"bold"}},C({id:"advance.components.ThemeSetting.AddOrUpdateTheme.NodeStyle",dm:"节点样式"})),style:{padding:"10px",boxShadow:"0px 0px 4px rgb(0 0 0 / 10%)",borderRadius:"4px"}},null===(t=s.nodes)||void 0===t?void 0:t.map((e=>g().createElement(f.List.Item,{extra:g().createElement(MR.Z,{color:e.props.color})},e.groupName)))),g().createElement(f.List,{header:g().createElement("span",{style:{fontWeight:"bold"}},C({id:"advance.components.ThemeSetting.AddOrUpdateTheme.EdgeStyle",dm:"边样式"})),style:{padding:"10px",boxShadow:"0px 0px 4px rgb(0 0 0 / 10%)",borderRadius:"4px",marginTop:"10px"}},null===(n=s.edges)||void 0===n?void 0:n.map((e=>g().createElement(f.List.Item,{extra:g().createElement(MR.Z,{color:e.props.color})},e.groupName)))))),g().createElement(f.Form.Item,null,g().createElement(f.Button,{type:"primary",style:{width:"100%"},onClick:()=>function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){e.done?i(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))}(void 0,void 0,void 0,(function*(){const e=h.getFieldValue("name")||(null==o?void 0:o.name),t=s.nodes,n=s.edges,a=document.getElementById(`${l}-graphin-container`),c=a.firstElementChild;let p={backgroundColor:"",backgroundImage:""};if(a&&c&&(p={backgroundColor:c.style.backgroundColor,backgroundImage:c.style.backgroundImage}),"add"===i){const i=((e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce(((e,t)=>e+((t&=63)<36?t.toString(36):t<62?(t-26).toString(36).toUpperCase():t>62?"-":"_")),""))(),o=yield d({id:i,name:e,cover:u,nodesConfig:t,edgesConfig:n,canvasConfig:p});o.success&&(f.message.success(o.msg),r((e=>{e.themes=o.data})),y())}else if("update"===i){const i=yield m(o.id,{id:null==o?void 0:o.id,name:e,cover:u,nodesConfig:t,edgesConfig:n,canvasConfig:p});i.success?(f.message.success(i.msg),r((e=>{e.themes=i.data})),y()):f.message.error(i.msg)}}))},C("add"===i?{id:"advance.components.ThemeSetting.AddOrUpdateTheme.CreateNow",dm:"立即创建"}:{id:"advance.components.ThemeSetting.AddOrUpdateTheme.ConfirmEditing",dm:"确认编辑"})))))};const GR=(0,m.memo)((e=>{const{serviceId:t}=e,{graph:n,GISDK_ID:r,config:i,services:o,schema:a,updateContext:s}=(0,p.useContext)(),l=HR()[0].service,c=HR()[2].service,[u,h]=Le({themes:[],currentThemeId:"",status:"show"}),d=e=>g().createElement(f.Menu,{onClick:({domEvent:e})=>{e.stopPropagation()}},g().createElement(f.Menu.Item,null,g().createElement(f.Popconfirm,{title:C({id:"advance.components.ThemeSetting.Component.DeleteTheTopic",dm:"是否删除该主题?"}),onConfirm:t=>{var n;n=e.id,function(e,t,n,r){new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){e.done?i(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))}(void 0,void 0,void 0,(function*(){const e=yield c(n);e.success&&h((t=>{t.themes=e.data}))})),t.preventDefault()},okText:"Yes",cancelText:"No"},C({id:"advance.components.ThemeSetting.Component.DeleteATopic",dm:"删除主题"}))),g().createElement(f.Menu.Item,{onClick:()=>{m(e),h((t=>{t.status="update",t.currentThemeId=e.id,t.currentTheme=e}))}},C({id:"advance.components.ThemeSetting.Component.EditTopic",dm:"编辑主题"}))),m=e=>{const{nodesConfig:t,edgesConfig:n,canvasConfig:i}=e,o=document.getElementById(`${r}-graphin-container`),a=o.firstElementChild;if(o&&a){const{backgroundColor:e}=i,{backgroundImage:t}=i;a.style.background=e,a.style.backgroundImage=t}s((e=>{e.config=Object.assign(Object.assign({},e.config),{nodes:t,edges:n})})),h((t=>{t.currentThemeId=e.id}))};return g().useEffect((()=>{try{l().then((e=>{e.success&&h((t=>{t.themes=e.data}))}))}catch(e){console.error("valid service")}}),[]),g().createElement("div",{className:"gi-theme-setting"},"show"===u.status&&g().createElement("div",{className:"theme-list"},g().createElement(f.Row,{gutter:[10,10]},g().createElement(f.Col,{span:12},g().createElement(f.Card,{hoverable:!0,onClick:()=>h((e=>{e.status="add"}))},g().createElement("span",{className:"name"},C({id:"advance.components.ThemeSetting.Component.CreateATopic",dm:"创建主题"})))),u.themes.map(((e,t)=>{const n=e.primaryColor||"#fff",r=n.replace("rgb","rgba"),i=n.includes("#")||n.includes("rgba")?n:`${r.substring(0,r.length-1)}, 0.1)`;return g().createElement(f.Col,{span:12},g().createElement(f.Card,{hoverable:!0,onClick:()=>m(e),style:{position:"relative",border:u.currentThemeId===e.id?"#3056e3 1px solid":"",background:i,color:n===i?"rgba(0, 0, 0, 0.85)":n}},g().createElement("span",{className:"name"},e.name||C({id:"advance.components.ThemeSetting.Component.CustomTheme",dm:"自定义主题"})),g().createElement(f.Dropdown,{overlay:d(e)},g().createElement(f.Button,{type:"text",icon:g().createElement(Yt,null),style:{position:"absolute",right:"-1px"},onClick:e=>{e.stopPropagation()}}))))})))),"show"!==u.status&&g().createElement(jR,{status:u.status,currentTheme:u.currentTheme,updateState:h}))})),YR={id:"ThemeSetting",name:C({id:"advance.components.ThemeSetting.info.ThemeSettings",dm:"主题设置"}),desc:C({id:"advance.components.ThemeSetting.info.YouCanConfigureThemeStyles",dm:"可以自主配置主题样式"}),icon:"icon-theme",cover:"http://xxxx.jpg",category:"workbook",type:"GIAC_CONTENT",services:["AddTheme","RemoveTheme","GetTheme","UpdateTheme"],docs:"https://www.yuque.com/antv/gi/ua0gy9t0clagrygi"},{deepClone:zR,GIAC_CONTENT_METAS:$R}=p.extra,WR=zR($R);WR.GIAC_CONTENT.properties.GIAC_CONTENT.properties.title.default=YR.name,WR.GIAC_CONTENT.properties.GIAC_CONTENT.properties.icon.default=YR.icon,WR.GIAC_CONTENT.properties.GIAC_CONTENT.properties.tooltip.default=YR.desc,WR.GIAC_CONTENT.properties.GIAC_CONTENT.properties.containerWidth.default="400px";const VR={component:GR,registerMeta:({services:e})=>(e.map((e=>({value:e.id,label:e.id}))),Object.assign({getThemeServiceId:{title:C({id:"advance.components.ThemeSetting.registerMeta.GetThemeServices",dm:"获取主题服务"}),type:"string","x-decorator":"FormItem","x-component":"Select","x-component-props":{options:p.utils.getServiceOptions(e,"GetTheme")},default:"GI/GetTheme"},addThemeServiceId:{title:C({id:"advance.components.ThemeSetting.registerMeta.AddThemeService",dm:"添加主题服务"}),type:"string","x-decorator":"FormItem","x-component":"Select","x-component-props":{options:p.utils.getServiceOptions(e,"AddTheme")},default:"GI/AddTheme"},removeThemeServiceId:{title:C({id:"advance.components.ThemeSetting.registerMeta.DeleteAThemeService",dm:"删除主题服务"}),type:"string","x-decorator":"FormItem","x-component":"Select","x-component-props":{options:p.utils.getServiceOptions(e,"RemoveTheme")},default:"GI/RemoveTheme"}},WR)),mockServices:HR,info:YR},{GIAComponent:KR}=p.extra,qR=(0,m.memo)((e=>{const{GIAC:t}=e,{undo:n,undoStack:r}=kt();return g().createElement(KR,{GIAC:Object.assign(Object.assign({},t),{disabled:r.length<3}),onClick:n})})),XR={id:"Undo",name:C({id:"advance.components.Undo.info.Revoke",dm:"撤销"}),desc:C({id:"advance.components.Undo.info.UndoTheCanvasReturnsTo",dm:"撤销,画布返回上一步状态"}),cover:C({id:"advance.components.Undo.info.Revoke",dm:"撤销"}),category:"canvas-interaction",type:"GIAC",icon:"icon-undo",docs:"https://www.yuque.com/antv/gi/qe8vp7n9snmv54qn"},{GIAC_METAS:ZR,deepClone:QR}=p.extra,JR=QR(ZR);JR.GIAC.properties.GIAC.properties.title.default=XR.name,JR.GIAC.properties.GIAC.properties.isShowTitle.default=!1,JR.GIAC.properties.GIAC.properties.icon.default=XR.icon;const ew={info:XR,component:qR,registerMeta:()=>Object.assign({},JR)},tw={name:C({id:"advance.src.services.CypherQuery.StatementQuery",dm:"语句查询"}),service:e=>{console.log(C({id:"advance.src.services.CypherQuery.QueryParameters",dm:"查询参数"}),e);const t=Ot.Utils.mock(Math.round(100*Math.random())).tree().graphin();return f.notification.info({message:C({id:"advance.src.services.CypherQuery.QuerySucceeded",dm:"查询成功"}),description:C({id:"advance.src.services.CypherQuery.TheCurrentQueryRequestIs",dm:"当前的查询请求是 MOCK 的,请搭配图数据库使用。"})}),new Promise((e=>e(t)))}},nw={name:C({id:"advance.src.services.GremlinQuery.GremlinQuery",dm:"Gremlin 查询"}),service:e=>{const t="mock_gremlin_query",n={nodes:[{id:t,type:"user"},{id:`${t}-family`,type:"user"},{id:`${t}-card`,type:"card"}],edges:[{source:t,target:`${t}-family`,type:"family"},{source:t,target:`${t}-card`,type:"own"}]};return new Promise((e=>e({success:!0,data:n})))}};var rw=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){e.done?i(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))};const iw={name:C({id:"advance.src.services.HistoryAnalyseService.SaveAnalysisLinkTemplate",dm:"保存分析链路模版"}),service:e=>rw(void 0,void 0,void 0,(function*(){const{GI_SITE_PROJECT_ID:t}=p.utils.getProjectContext();let n;try{const{GI_PROJECT_DB:r}=window,i=yield r.getItem(t),{_history_template:o=[]}=i||{};o.push(e),r.setItem(t,Object.assign(Object.assign({},i),{_history_template:o})),n=!0}catch(e){n=!1}return new Promise((t=>t({success:n,message:C({id:"advance.src.services.HistoryAnalyseService.TheDefaultSaveAnalysisLink",dm:"GI 默认提供的保存分析链路服务"}),data:e})))}))},ow={name:C({id:"advance.src.services.HistoryAnalyseService.DeleteAnAnalysisLinkTemplate",dm:"删除分析链路模版"}),service:e=>rw(void 0,void 0,void 0,(function*(){const{GI_SITE_PROJECT_ID:t}=p.utils.getProjectContext();let n;try{const{GI_PROJECT_DB:n}=window,r=yield n.getItem(t),{_history_template:i}=r||{},{ids:o}=e;(null==o?void 0:o.length)&&(null==i?void 0:i.length)&&(o.forEach((e=>{const t=i.find((t=>t.id===e));if(t){const e=i.indexOf(t);i.splice(e,1)}})),n.setItem(t,Object.assign(Object.assign({},r),{_history_template:i})))}catch(e){n=e}return new Promise((t=>t({success:!n,message:C({id:"advance.src.services.HistoryAnalyseService.TheDeleteAnalysisLinkService",dm:"GI 默认提供的删除分析链路服务。错误信息:{successMsg}"},{successMsg:n}),data:e})))}))},aw={name:C({id:"advance.src.services.HistoryAnalyseService.QueryTheListOfHistorical",dm:"查询历史分析链路模版列表"}),service:()=>rw(void 0,void 0,void 0,(function*(){const{GI_SITE_PROJECT_ID:e}=p.utils.getProjectContext(),{GI_PROJECT_DB:t}=window,n=(yield t.getItem(e))._history_template||[];return new Promise((e=>e({success:!0,message:C({id:"advance.src.services.HistoryAnalyseService.TheQueryHistoryAnalysisLink",dm:"GI 默认提供的查询历史分析链路模版服务"}),data:n})))}))};const sw={name:C({id:"advance.src.services.StyleSetting.StyleSettings",dm:"样式设置"}),service:(e,t)=>function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){e.done?i(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))}(void 0,void 0,void 0,(function*(){const{GI_SITE_PROJECT_ID:n}=p.utils.getProjectContext();if(n){const{localforage:r}=window,i=yield null==r?void 0:r.getItem(n);i.projectConfig[t]=e,r.setItem(n,Object.assign({},i))}return e}))};var lw=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){e.done?i(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))};const cw=[{queryTemplate:"g.V({{ID}})",templateId:"3283",graphLanguageType:"GREMLIN",templateName:"defaultTemplateName",templateParameterList:[{parameterName:"ID",parameterValue:"1",valueType:"STRING"}]},{queryTemplate:"MATCH n RETURN n LIMIT {{count}}",templateId:"13283",graphLanguageType:"CYPHER",templateName:"defaultTemplateName",templateParameterList:[{parameterName:"count",parameterValue:"1",valueType:"STRING"}]}],uw={name:C({id:"advance.src.services.TemplateService.PublishTemplate",dm:"发布模板"}),service:e=>lw(void 0,void 0,void 0,(function*(){const{GI_SITE_PROJECT_ID:t}=p.utils.getProjectContext(),{localforage:n}=window,r=yield n.getItem(t),i=[...r&&r._gremlin_template?r._gremlin_template:[],Object.assign(Object.assign({},e),{templateId:Math.random().toString(36).slice(3)})];return n.setItem(t,Object.assign(Object.assign({},r),{_gremlin_template:i})),new Promise((t=>t({success:!0,message:C({id:"advance.src.services.TemplateService.GiDefaultServiceForPublishing",dm:"GI 默认提供的发布模板的服务"}),data:e})))}))},hw={name:C({id:"advance.src.services.TemplateService.QueryTemplateList",dm:"查询模板列表"}),service:()=>lw(void 0,void 0,void 0,(function*(){const{GI_SITE_PROJECT_ID:e}=p.utils.getProjectContext(),{localforage:t}=window,n=(yield t.getItem(e))._gremlin_template||[cw];return new Promise((e=>e({success:!0,message:C({id:"advance.src.services.TemplateService.GiDefaultServiceForPublishing",dm:"GI 默认提供的发布模板的服务"}),data:n})))}))},pw={name:C({id:"advance.src.services.TemplateService.ExecuteTemplateQuery",dm:"执行模板查询"}),service:e=>{console.log(C({id:"advance.src.services.TemplateService.ExecuteTemplateQueryParameters",dm:"执行模板查询参数"}),e);const t="mock_template_query",n={nodes:[{id:t,type:"user"},{id:`${t}-family`,type:"user"},{id:`${t}-card`,type:"card"}],edges:[{source:t,target:`${t}-family`,type:"family"},{source:t,target:`${t}-card`,type:"own"}]};return new Promise((e=>e({success:!0,data:n})))}};var dw=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){e.done?i(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))};const fw={name:C({id:"advance.src.services.ThemeSetting.AddTopic",dm:"添加主题"}),service:e=>dw(void 0,void 0,void 0,(function*(){const{GI_SITE_PROJECT_ID:t}=p.utils.getProjectContext(),{localforage:n}=window,r=yield n.getItem(t),i=[...r.themes||[],e];return n.setItem(t,Object.assign(Object.assign({},r),{themes:i})),{success:!0,msg:C({id:"advance.src.services.ThemeSetting.TheThemeHasBeenCreated",dm:"主题创建成功!"}),data:[...i]}}))},mw={name:C({id:"advance.src.services.ThemeSetting.GetTopics",dm:"获取主题"}),service:()=>dw(void 0,void 0,void 0,(function*(){const{GI_SITE_PROJECT_ID:e}=p.utils.getProjectContext(),{localforage:t}=window;return{success:!0,data:(yield t.getItem(e)).themes||[]}}))},gw={name:C({id:"advance.src.services.ThemeSetting.UpdateTopic",dm:"更新主题"}),service:(e,t)=>dw(void 0,void 0,void 0,(function*(){const{GI_SITE_PROJECT_ID:n}=p.utils.getProjectContext(),{localforage:r}=window,i=yield r.getItem(n),o=i.themes||[],a=o.findIndex((t=>t.id===e));return-1!==a?(o[a]=t,r.setItem(n,Object.assign(Object.assign({},i),{themes:o})),{success:!0,msg:C({id:"advance.src.services.ThemeSetting.TheTopicHasBeenUpdated",dm:"主题更新成功"}),data:[...o]}):{sucess:!1,msg:C({id:"advance.src.services.ThemeSetting.TheTopicDoesNotExist",dm:"主题不存在"})}}))},yw={name:C({id:"advance.src.services.ThemeSetting.DeleteATopic",dm:"删除主题"}),service:e=>dw(void 0,void 0,void 0,(function*(){const{GI_SITE_PROJECT_ID:t}=p.utils.getProjectContext(),{localforage:n}=window,r=yield n.getItem(t),i=r.themes.filter((t=>t.id!==e));return n.setItem(t,Object.assign(Object.assign({},r),{themes:i})),{success:!0,msg:C({id:"advance.src.services.ThemeSetting.DeletedSuccessfully",dm:"删除成功"}),data:i}}))},vw={id:"GI",services:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},o),c),s),l),i),a)}})(),h})()));