text: define(["lodash","app/core/core_module","app/core/utils/datemath","app/plugins/sdk","app/core/app_events"],function(t,e,n,r,i){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=6)}([function(e,n){e.exports=t},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SemVersion=void 0,e.isVersionGtOrEq=function(t,e){return new u(t).isGtOrEq(e)};var r,i=n(0),o=(r=i)&&r.__esModule?r:{default:r};var a=/^(\d+)(?:\.(\d+))?(?:\.(\d+))?(?:-([0-9A-Za-z\.]+))?/,u=function(){function t(t){var e=a.exec(t);e&&(this.major=Number(e[1]),this.minor=Number(e[2]||0),this.patch=Number(e[3]||0),this.meta=e[4])}return t.prototype.isGtOrEq=function(e){for(var n=new t(e),r=0;r<this.comparable.length;++r){if(this.comparable[r]>n.comparable[r])return!0;if(this.comparable[r]<n.comparable[r])return!1}return!0},t.prototype.isValid=function(){return o.default.isNumber(this.major)},Object.defineProperty(t.prototype,"comparable",{get:function(){return[this.major,this.minor,this.patch]},enumerable:!0,configurable:!0}),t}();e.SemVersion=u},function(t,e,n){"use strict";n.r(e),n.d(e,"__extends",function(){return i}),n.d(e,"__assign",function(){return o}),n.d(e,"__rest",function(){return a}),n.d(e,"__decorate",function(){return u}),n.d(e,"__param",function(){return s}),n.d(e,"__metadata",function(){return c}),n.d(e,"__awaiter",function(){return l}),n.d(e,"__generator",function(){return f}),n.d(e,"__exportStar",function(){return h}),n.d(e,"__values",function(){return p}),n.d(e,"__read",function(){return d}),n.d(e,"__spread",function(){return v}),n.d(e,"__spreadArrays",function(){return g}),n.d(e,"__await",function(){return m}),n.d(e,"__asyncGenerator",function(){return y}),n.d(e,"__asyncDelegator",function(){return b}),n.d(e,"__asyncValues",function(){return x}),n.d(e,"__makeTemplateObject",function(){return w}),n.d(e,"__importStar",function(){return _}),n.d(e,"__importDefault",function(){return C});
  /*! *****************************************************************************
  Copyright (c) Microsoft Corporation. All rights reserved.
  Licensed under the Apache License, Version 2.0 (the "License"); you may not use
  this file except in compliance with the License. You may obtain a copy of the
  License at http://www.apache.org/licenses/LICENSE-2.0
  
  THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
  WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
  MERCHANTABLITY OR NON-INFRINGEMENT.
  
  See the Apache Version 2.0 License for specific language governing permissions
  and limitations under the License.
  ***************************************************************************** */
  var r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function i(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var o=function(){return(o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function a(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]])}return n}function u(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var u=t.length-1;u>=0;u--)(i=t[u])&&(a=(o<3?i(a):o>3?i(e,n,a):i(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a}function s(t,e){return function(n,r){e(n,r,t)}}function c(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function l(t,e,n,r){return new(n||(n=Promise))(function(i,o){function a(t){try{s(r.next(t))}catch(t){o(t)}}function u(t){try{s(r.throw(t))}catch(t){o(t)}}function s(t){t.done?i(t.value):new n(function(e){e(t.value)}).then(a,u)}s((r=r.apply(t,e||[])).next())})}function f(t,e){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:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(o){return function(u){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]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(t){o=[6,t],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,u])}}}function h(t,e){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}function p(t){var e="function"==typeof Symbol&&t[Symbol.iterator],n=0;return e?e.call(t):{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}}function d(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function v(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(d(arguments[e]));return t}function g(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var r=Array(t),i=0;for(e=0;e<n;e++)for(var o=arguments[e],a=0,u=o.length;a<u;a++,i++)r[i]=o[a];return r}function m(t){return this instanceof m?(this.v=t,this):new m(t)}function y(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(t,e||[]),o=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(t){i[t]&&(r[t]=function(e){return new Promise(function(n,r){o.push([t,e,n,r])>1||u(t,e)})})}function u(t,e){try{(n=i[t](e)).value instanceof m?Promise.resolve(n.value.v).then(s,c):l(o[0][2],n)}catch(t){l(o[0][3],t)}var n}function s(t){u("next",t)}function c(t){u("throw",t)}function l(t,e){t(e),o.shift(),o.length&&u(o[0][0],o[0][1])}}function b(t){var e,n;return e={},r("next"),r("throw",function(t){throw t}),r("return"),e[Symbol.iterator]=function(){return this},e;function r(r,i){e[r]=t[r]?function(e){return(n=!n)?{value:m(t[r](e)),done:"return"===r}:i?i(e):e}:i}}function x(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=p(t),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(n){e[n]=t[n]&&function(e){return new Promise(function(r,i){(function(t,e,n,r){Promise.resolve(r).then(function(e){t({value:e,done:n})},e)})(r,i,(e=t[n](e)).done,e.value)})}}}function w(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function _(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function C(t){return t&&t.__esModule?t:{default:t}}},function(t,e,n){var r;
  /*!
   * jQuery JavaScript Library v3.4.1
   * https://jquery.com/
   *
   * Includes Sizzle.js
   * https://sizzlejs.com/
   *
   * Copyright JS Foundation and other contributors
   * Released under the MIT license
   * https://jquery.org/license
   *
   * Date: 2019-05-01T21:04Z
   */!function(e,n){"use strict";"object"==typeof t.exports?t.exports=e.document?n(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return n(t)}:n(e)}("undefined"!=typeof window?window:this,function(n,i){"use strict";var o=[],a=n.document,u=Object.getPrototypeOf,s=o.slice,c=o.concat,l=o.push,f=o.indexOf,h={},p=h.toString,d=h.hasOwnProperty,v=d.toString,g=v.call(Object),m={},y=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType},b=function(t){return null!=t&&t===t.window},x={type:!0,src:!0,nonce:!0,noModule:!0};function w(t,e,n){var r,i,o=(n=n||a).createElement("script");if(o.text=t,e)for(r in x)(i=e[r]||e.getAttribute&&e.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function _(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?h[p.call(t)]||"object":typeof t}var C=function(t,e){return new C.fn.init(t,e)},A=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function T(t){var e=!!t&&"length"in t&&t.length,n=_(t);return!y(t)&&!b(t)&&("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}C.fn=C.prototype={jquery:"3.4.1",constructor:C,length:0,toArray:function(){return s.call(this)},get:function(t){return null==t?s.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=C.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return C.each(this,t)},map:function(t){return this.pushStack(C.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:l,sort:o.sort,splice:o.splice},C.extend=C.fn.extend=function(){var t,e,n,r,i,o,a=arguments[0]||{},u=1,s=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[u]||{},u++),"object"==typeof a||y(a)||(a={}),u===s&&(a=this,u--);u<s;u++)if(null!=(t=arguments[u]))for(e in t)r=t[e],"__proto__"!==e&&a!==r&&(c&&r&&(C.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[e],o=i&&!Array.isArray(n)?[]:i||C.isPlainObject(n)?n:{},i=!1,a[e]=C.extend(c,o,r)):void 0!==r&&(a[e]=r));return a},C.extend({expando:"jQuery"+("3.4.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,n;return!(!t||"[object Object]"!==p.call(t))&&(!(e=u(t))||"function"==typeof(n=d.call(e,"constructor")&&e.constructor)&&v.call(n)===g)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},globalEval:function(t,e){w(t,{nonce:e&&e.nonce})},each:function(t,e){var n,r=0;if(T(t))for(n=t.length;r<n&&!1!==e.call(t[r],r,t[r]);r++);else for(r in t)if(!1===e.call(t[r],r,t[r]))break;return t},trim:function(t){return null==t?"":(t+"").replace(A,"")},makeArray:function(t,e){var n=e||[];return null!=t&&(T(Object(t))?C.merge(n,"string"==typeof t?[t]:t):l.call(n,t)),n},inArray:function(t,e,n){return null==e?-1:f.call(e,t,n)},merge:function(t,e){for(var n=+e.length,r=0,i=t.length;r<n;r++)t[i++]=e[r];return t.length=i,t},grep:function(t,e,n){for(var r=[],i=0,o=t.length,a=!n;i<o;i++)!e(t[i],i)!==a&&r.push(t[i]);return r},map:function(t,e,n){var r,i,o=0,a=[];if(T(t))for(r=t.length;o<r;o++)null!=(i=e(t[o],o,n))&&a.push(i);else for(o in t)null!=(i=e(t[o],o,n))&&a.push(i);return c.apply([],a)},guid:1,support:m}),"function"==typeof Symbol&&(C.fn[Symbol.iterator]=o[Symbol.iterator]),C.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){h["[object "+e+"]"]=e.toLowerCase()});var S=
  /*!
   * Sizzle CSS Selector Engine v2.3.4
   * https://sizzlejs.com/
   *
   * Copyright JS Foundation and other contributors
   * Released under the MIT license
   * https://js.foundation/
   *
   * Date: 2019-04-08
   */
  function(t){var e,n,r,i,o,a,u,s,c,l,f,h,p,d,v,g,m,y,b,x="sizzle"+1*new Date,w=t.document,_=0,C=0,A=st(),T=st(),S=st(),k=st(),E=function(t,e){return t===e&&(f=!0),0},j={}.hasOwnProperty,O=[],P=O.pop,D=O.push,q=O.push,N=O.slice,M=function(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1},L="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",I="[\\x20\\t\\r\\n\\f]",R="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",F="\\["+I+"*("+R+")(?:"+I+"*([*^$|!~]?=)"+I+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+R+"))|)"+I+"*\\]",B=":("+R+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+F+")*)|.*)\\)|)",z=new RegExp(I+"+","g"),W=new RegExp("^"+I+"+|((?:^|[^\\\\])(?:\\\\.)*)"+I+"+$","g"),H=new RegExp("^"+I+"*,"+I+"*"),$=new RegExp("^"+I+"*([>+~]|"+I+")"+I+"*"),U=new RegExp(I+"|>"),V=new RegExp(B),X=new RegExp("^"+R+"$"),Y={ID:new RegExp("^#("+R+")"),CLASS:new RegExp("^\\.("+R+")"),TAG:new RegExp("^("+R+"|[*])"),ATTR:new RegExp("^"+F),PSEUDO:new RegExp("^"+B),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+I+"*(even|odd|(([+-]|)(\\d*)n|)"+I+"*(?:([+-]|)"+I+"*(\\d+)|))"+I+"*\\)|)","i"),bool:new RegExp("^(?:"+L+")$","i"),needsContext:new RegExp("^"+I+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+I+"*((?:-\\d)?\\d*)"+I+"*\\)|)(?=[^-]|$)","i")},G=/HTML$/i,Z=/^(?:input|select|textarea|button)$/i,Q=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,tt=/[+~]/,et=new RegExp("\\\\([\\da-f]{1,6}"+I+"?|("+I+")|.)","ig"),nt=function(t,e,n){var r="0x"+e-65536;return r!=r||n?e:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},rt=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,it=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},ot=function(){h()},at=xt(function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{q.apply(O=N.call(w.childNodes),w.childNodes),O[w.childNodes.length].nodeType}catch(t){q={apply:O.length?function(t,e){D.apply(t,N.call(e))}:function(t,e){for(var n=t.length,r=0;t[n++]=e[r++];);t.length=n-1}}}function ut(t,e,r,i){var o,u,c,l,f,d,m,y=e&&e.ownerDocument,_=e?e.nodeType:9;if(r=r||[],"string"!=typeof t||!t||1!==_&&9!==_&&11!==_)return r;if(!i&&((e?e.ownerDocument||e:w)!==p&&h(e),e=e||p,v)){if(11!==_&&(f=J.exec(t)))if(o=f[1]){if(9===_){if(!(c=e.getElementById(o)))return r;if(c.id===o)return r.push(c),r}else if(y&&(c=y.getElementById(o))&&b(e,c)&&c.id===o)return r.push(c),r}else{if(f[2])return q.apply(r,e.getElementsByTagName(t)),r;if((o=f[3])&&n.getElementsByClassName&&e.getElementsByClassName)return q.apply(r,e.getElementsByClassName(o)),r}if(n.qsa&&!k[t+" "]&&(!g||!g.test(t))&&(1!==_||"object"!==e.nodeName.toLowerCase())){if(m=t,y=e,1===_&&U.test(t)){for((l=e.getAttribute("id"))?l=l.replace(rt,it):e.setAttribute("id",l=x),u=(d=a(t)).length;u--;)d[u]="#"+l+" "+bt(d[u]);m=d.join(","),y=tt.test(t)&&mt(e.parentNode)||e}try{return q.apply(r,y.querySelectorAll(m)),r}catch(e){k(t,!0)}finally{l===x&&e.removeAttribute("id")}}}return s(t.replace(W,"$1"),e,r,i)}function st(){var t=[];return function e(n,i){return t.push(n+" ")>r.cacheLength&&delete e[t.shift()],e[n+" "]=i}}function ct(t){return t[x]=!0,t}function lt(t){var e=p.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function ft(t,e){for(var n=t.split("|"),i=n.length;i--;)r.attrHandle[n[i]]=e}function ht(t,e){var n=e&&t,r=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function pt(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function dt(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function vt(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&at(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function gt(t){return ct(function(e){return e=+e,ct(function(n,r){for(var i,o=t([],n.length,e),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function mt(t){return t&&void 0!==t.getElementsByTagName&&t}for(e in n=ut.support={},o=ut.isXML=function(t){var e=t.namespaceURI,n=(t.ownerDocument||t).documentElement;return!G.test(e||n&&n.nodeName||"HTML")},h=ut.setDocument=function(t){var e,i,a=t?t.ownerDocument||t:w;return a!==p&&9===a.nodeType&&a.documentElement?(d=(p=a).documentElement,v=!o(p),w!==p&&(i=p.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",ot,!1):i.attachEvent&&i.attachEvent("onunload",ot)),n.attributes=lt(function(t){return t.className="i",!t.getAttribute("className")}),n.getElementsByTagName=lt(function(t){return t.appendChild(p.createComment("")),!t.getElementsByTagName("*").length}),n.getElementsByClassName=K.test(p.getElementsByClassName),n.getById=lt(function(t){return d.appendChild(t).id=x,!p.getElementsByName||!p.getElementsByName(x).length}),n.getById?(r.filter.ID=function(t){var e=t.replace(et,nt);return function(t){return t.getAttribute("id")===e}},r.find.ID=function(t,e){if(void 0!==e.getElementById&&v){var n=e.getElementById(t);return n?[n]:[]}}):(r.filter.ID=function(t){var e=t.replace(et,nt);return function(t){var n=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}},r.find.ID=function(t,e){if(void 0!==e.getElementById&&v){var n,r,i,o=e.getElementById(t);if(o){if((n=o.getAttributeNode("id"))&&n.value===t)return[o];for(i=e.getElementsByName(t),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===t)return[o]}return[]}}),r.find.TAG=n.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):n.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,r=[],i=0,o=e.getElementsByTagName(t);if("*"===t){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&v)return e.getElementsByClassName(t)},m=[],g=[],(n.qsa=K.test(p.querySelectorAll))&&(lt(function(t){d.appendChild(t).innerHTML="<a id='"+x+"'></a><select id='"+x+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+I+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||g.push("\\["+I+"*(?:value|"+L+")"),t.querySelectorAll("[id~="+x+"-]").length||g.push("~="),t.querySelectorAll(":checked").length||g.push(":checked"),t.querySelectorAll("a#"+x+"+*").length||g.push(".#.+[+~]")}),lt(function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=p.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&g.push("name"+I+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),d.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),g.push(",.*:")})),(n.matchesSelector=K.test(y=d.matches||d.webkitMatchesSelector||d.mozMatchesSelector||d.oMatchesSelector||d.msMatchesSelector))&&lt(function(t){n.disconnectedMatch=y.call(t,"*"),y.call(t,"[s!='']:x"),m.push("!=",B)}),g=g.length&&new RegExp(g.join("|")),m=m.length&&new RegExp(m.join("|")),e=K.test(d.compareDocumentPosition),b=e||K.test(d.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,r=e&&e.parentNode;return t===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):t.compareDocumentPosition&&16&t.compareDocumentPosition(r)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},E=e?function(t,e){if(t===e)return f=!0,0;var r=!t.compareDocumentPosition-!e.compareDocumentPosition;return r||(1&(r=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!n.sortDetached&&e.compareDocumentPosition(t)===r?t===p||t.ownerDocument===w&&b(w,t)?-1:e===p||e.ownerDocument===w&&b(w,e)?1:l?M(l,t)-M(l,e):0:4&r?-1:1)}:function(t,e){if(t===e)return f=!0,0;var n,r=0,i=t.parentNode,o=e.parentNode,a=[t],u=[e];if(!i||!o)return t===p?-1:e===p?1:i?-1:o?1:l?M(l,t)-M(l,e):0;if(i===o)return ht(t,e);for(n=t;n=n.parentNode;)a.unshift(n);for(n=e;n=n.parentNode;)u.unshift(n);for(;a[r]===u[r];)r++;return r?ht(a[r],u[r]):a[r]===w?-1:u[r]===w?1:0},p):p},ut.matches=function(t,e){return ut(t,null,null,e)},ut.matchesSelector=function(t,e){if((t.ownerDocument||t)!==p&&h(t),n.matchesSelector&&v&&!k[e+" "]&&(!m||!m.test(e))&&(!g||!g.test(e)))try{var r=y.call(t,e);if(r||n.disconnectedMatch||t.document&&11!==t.document.nodeType)return r}catch(t){k(e,!0)}return ut(e,p,null,[t]).length>0},ut.contains=function(t,e){return(t.ownerDocument||t)!==p&&h(t),b(t,e)},ut.attr=function(t,e){(t.ownerDocument||t)!==p&&h(t);var i=r.attrHandle[e.toLowerCase()],o=i&&j.call(r.attrHandle,e.toLowerCase())?i(t,e,!v):void 0;return void 0!==o?o:n.attributes||!v?t.getAttribute(e):(o=t.getAttributeNode(e))&&o.specified?o.value:null},ut.escape=function(t){return(t+"").replace(rt,it)},ut.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},ut.uniqueSort=function(t){var e,r=[],i=0,o=0;if(f=!n.detectDuplicates,l=!n.sortStable&&t.slice(0),t.sort(E),f){for(;e=t[o++];)e===t[o]&&(i=r.push(o));for(;i--;)t.splice(r[i],1)}return l=null,t},i=ut.getText=function(t){var e,n="",r=0,o=t.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=i(t)}else if(3===o||4===o)return t.nodeValue}else for(;e=t[r++];)n+=i(e);return n},(r=ut.selectors={cacheLength:50,createPseudo:ct,match:Y,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(et,nt),t[3]=(t[3]||t[4]||t[5]||"").replace(et,nt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||ut.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&ut.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return Y.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&V.test(n)&&(e=a(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(et,nt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=A[t+" "];return e||(e=new RegExp("(^|"+I+")"+t+"("+I+"|$)"))&&A(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,e,n){return function(r){var i=ut.attr(r,t);return null==i?"!="===e:!e||(i+="","="===e?i===n:"!="===e?i!==n:"^="===e?n&&0===i.indexOf(n):"*="===e?n&&i.indexOf(n)>-1:"$="===e?n&&i.slice(-n.length)===n:"~="===e?(" "+i.replace(z," ")+" ").indexOf(n)>-1:"|="===e&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(t,e,n,r,i){var o="nth"!==t.slice(0,3),a="last"!==t.slice(-4),u="of-type"===e;return 1===r&&0===i?function(t){return!!t.parentNode}:function(e,n,s){var c,l,f,h,p,d,v=o!==a?"nextSibling":"previousSibling",g=e.parentNode,m=u&&e.nodeName.toLowerCase(),y=!s&&!u,b=!1;if(g){if(o){for(;v;){for(h=e;h=h[v];)if(u?h.nodeName.toLowerCase()===m:1===h.nodeType)return!1;d=v="only"===t&&!d&&"nextSibling"}return!0}if(d=[a?g.firstChild:g.lastChild],a&&y){for(b=(p=(c=(l=(f=(h=g)[x]||(h[x]={}))[h.uniqueID]||(f[h.uniqueID]={}))[t]||[])[0]===_&&c[1])&&c[2],h=p&&g.childNodes[p];h=++p&&h&&h[v]||(b=p=0)||d.pop();)if(1===h.nodeType&&++b&&h===e){l[t]=[_,p,b];break}}else if(y&&(b=p=(c=(l=(f=(h=e)[x]||(h[x]={}))[h.uniqueID]||(f[h.uniqueID]={}))[t]||[])[0]===_&&c[1]),!1===b)for(;(h=++p&&h&&h[v]||(b=p=0)||d.pop())&&((u?h.nodeName.toLowerCase()!==m:1!==h.nodeType)||!++b||(y&&((l=(f=h[x]||(h[x]={}))[h.uniqueID]||(f[h.uniqueID]={}))[t]=[_,b]),h!==e)););return(b-=i)===r||b%r==0&&b/r>=0}}},PSEUDO:function(t,e){var n,i=r.pseudos[t]||r.setFilters[t.toLowerCase()]||ut.error("unsupported pseudo: "+t);return i[x]?i(e):i.length>1?(n=[t,t,"",e],r.setFilters.hasOwnProperty(t.toLowerCase())?ct(function(t,n){for(var r,o=i(t,e),a=o.length;a--;)t[r=M(t,o[a])]=!(n[r]=o[a])}):function(t){return i(t,0,n)}):i}},pseudos:{not:ct(function(t){var e=[],n=[],r=u(t.replace(W,"$1"));return r[x]?ct(function(t,e,n,i){for(var o,a=r(t,null,i,[]),u=t.length;u--;)(o=a[u])&&(t[u]=!(e[u]=o))}):function(t,i,o){return e[0]=t,r(e,null,o,n),e[0]=null,!n.pop()}}),has:ct(function(t){return function(e){return ut(t,e).length>0}}),contains:ct(function(t){return t=t.replace(et,nt),function(e){return(e.textContent||i(e)).indexOf(t)>-1}}),lang:ct(function(t){return X.test(t||"")||ut.error("unsupported lang: "+t),t=t.replace(et,nt).toLowerCase(),function(e){var n;do{if(n=v?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===d},focus:function(t){return t===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:vt(!1),disabled:vt(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!r.pseudos.empty(t)},header:function(t){return Q.test(t.nodeName)},input:function(t){return Z.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:gt(function(){return[0]}),last:gt(function(t,e){return[e-1]}),eq:gt(function(t,e,n){return[n<0?n+e:n]}),even:gt(function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t}),odd:gt(function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t}),lt:gt(function(t,e,n){for(var r=n<0?n+e:n>e?e:n;--r>=0;)t.push(r);return t}),gt:gt(function(t,e,n){for(var r=n<0?n+e:n;++r<e;)t.push(r);return t})}}).pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[e]=pt(e);for(e in{submit:!0,reset:!0})r.pseudos[e]=dt(e);function yt(){}function bt(t){for(var e=0,n=t.length,r="";e<n;e++)r+=t[e].value;return r}function xt(t,e,n){var r=e.dir,i=e.next,o=i||r,a=n&&"parentNode"===o,u=C++;return e.first?function(e,n,i){for(;e=e[r];)if(1===e.nodeType||a)return t(e,n,i);return!1}:function(e,n,s){var c,l,f,h=[_,u];if(s){for(;e=e[r];)if((1===e.nodeType||a)&&t(e,n,s))return!0}else for(;e=e[r];)if(1===e.nodeType||a)if(l=(f=e[x]||(e[x]={}))[e.uniqueID]||(f[e.uniqueID]={}),i&&i===e.nodeName.toLowerCase())e=e[r]||e;else{if((c=l[o])&&c[0]===_&&c[1]===u)return h[2]=c[2];if(l[o]=h,h[2]=t(e,n,s))return!0}return!1}}function wt(t){return t.length>1?function(e,n,r){for(var i=t.length;i--;)if(!t[i](e,n,r))return!1;return!0}:t[0]}function _t(t,e,n,r,i){for(var o,a=[],u=0,s=t.length,c=null!=e;u<s;u++)(o=t[u])&&(n&&!n(o,r,i)||(a.push(o),c&&e.push(u)));return a}function Ct(t,e,n,r,i,o){return r&&!r[x]&&(r=Ct(r)),i&&!i[x]&&(i=Ct(i,o)),ct(function(o,a,u,s){var c,l,f,h=[],p=[],d=a.length,v=o||function(t,e,n){for(var r=0,i=e.length;r<i;r++)ut(t,e[r],n);return n}(e||"*",u.nodeType?[u]:u,[]),g=!t||!o&&e?v:_t(v,h,t,u,s),m=n?i||(o?t:d||r)?[]:a:g;if(n&&n(g,m,u,s),r)for(c=_t(m,p),r(c,[],u,s),l=c.length;l--;)(f=c[l])&&(m[p[l]]=!(g[p[l]]=f));if(o){if(i||t){if(i){for(c=[],l=m.length;l--;)(f=m[l])&&c.push(g[l]=f);i(null,m=[],c,s)}for(l=m.length;l--;)(f=m[l])&&(c=i?M(o,f):h[l])>-1&&(o[c]=!(a[c]=f))}}else m=_t(m===a?m.splice(d,m.length):m),i?i(null,a,m,s):q.apply(a,m)})}function At(t){for(var e,n,i,o=t.length,a=r.relative[t[0].type],u=a||r.relative[" "],s=a?1:0,l=xt(function(t){return t===e},u,!0),f=xt(function(t){return M(e,t)>-1},u,!0),h=[function(t,n,r){var i=!a&&(r||n!==c)||((e=n).nodeType?l(t,n,r):f(t,n,r));return e=null,i}];s<o;s++)if(n=r.relative[t[s].type])h=[xt(wt(h),n)];else{if((n=r.filter[t[s].type].apply(null,t[s].matches))[x]){for(i=++s;i<o&&!r.relative[t[i].type];i++);return Ct(s>1&&wt(h),s>1&&bt(t.slice(0,s-1).concat({value:" "===t[s-2].type?"*":""})).replace(W,"$1"),n,s<i&&At(t.slice(s,i)),i<o&&At(t=t.slice(i)),i<o&&bt(t))}h.push(n)}return wt(h)}return yt.prototype=r.filters=r.pseudos,r.setFilters=new yt,a=ut.tokenize=function(t,e){var n,i,o,a,u,s,c,l=T[t+" "];if(l)return e?0:l.slice(0);for(u=t,s=[],c=r.preFilter;u;){for(a in n&&!(i=H.exec(u))||(i&&(u=u.slice(i[0].length)||u),s.push(o=[])),n=!1,(i=$.exec(u))&&(n=i.shift(),o.push({value:n,type:i[0].replace(W," ")}),u=u.slice(n.length)),r.filter)!(i=Y[a].exec(u))||c[a]&&!(i=c[a](i))||(n=i.shift(),o.push({value:n,type:a,matches:i}),u=u.slice(n.length));if(!n)break}return e?u.length:u?ut.error(t):T(t,s).slice(0)},u=ut.compile=function(t,e){var n,i=[],o=[],u=S[t+" "];if(!u){for(e||(e=a(t)),n=e.length;n--;)(u=At(e[n]))[x]?i.push(u):o.push(u);(u=S(t,function(t,e){var n=e.length>0,i=t.length>0,o=function(o,a,u,s,l){var f,d,g,m=0,y="0",b=o&&[],x=[],w=c,C=o||i&&r.find.TAG("*",l),A=_+=null==w?1:Math.random()||.1,T=C.length;for(l&&(c=a===p||a||l);y!==T&&null!=(f=C[y]);y++){if(i&&f){for(d=0,a||f.ownerDocument===p||(h(f),u=!v);g=t[d++];)if(g(f,a||p,u)){s.push(f);break}l&&(_=A)}n&&((f=!g&&f)&&m--,o&&b.push(f))}if(m+=y,n&&y!==m){for(d=0;g=e[d++];)g(b,x,a,u);if(o){if(m>0)for(;y--;)b[y]||x[y]||(x[y]=P.call(s));x=_t(x)}q.apply(s,x),l&&!o&&x.length>0&&m+e.length>1&&ut.uniqueSort(s)}return l&&(_=A,c=w),b};return n?ct(o):o}(o,i))).selector=t}return u},s=ut.select=function(t,e,n,i){var o,s,c,l,f,h="function"==typeof t&&t,p=!i&&a(t=h.selector||t);if(n=n||[],1===p.length){if((s=p[0]=p[0].slice(0)).length>2&&"ID"===(c=s[0]).type&&9===e.nodeType&&v&&r.relative[s[1].type]){if(!(e=(r.find.ID(c.matches[0].replace(et,nt),e)||[])[0]))return n;h&&(e=e.parentNode),t=t.slice(s.shift().value.length)}for(o=Y.needsContext.test(t)?0:s.length;o--&&(c=s[o],!r.relative[l=c.type]);)if((f=r.find[l])&&(i=f(c.matches[0].replace(et,nt),tt.test(s[0].type)&&mt(e.parentNode)||e))){if(s.splice(o,1),!(t=i.length&&bt(s)))return q.apply(n,i),n;break}}return(h||u(t,p))(i,e,!v,n,!e||tt.test(t)&&mt(e.parentNode)||e),n},n.sortStable=x.split("").sort(E).join("")===x,n.detectDuplicates=!!f,h(),n.sortDetached=lt(function(t){return 1&t.compareDocumentPosition(p.createElement("fieldset"))}),lt(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||ft("type|href|height|width",function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),n.attributes&&lt(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||ft("value",function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),lt(function(t){return null==t.getAttribute("disabled")})||ft(L,function(t,e,n){var r;if(!n)return!0===t[e]?e.toLowerCase():(r=t.getAttributeNode(e))&&r.specified?r.value:null}),ut}(n);C.find=S,C.expr=S.selectors,C.expr[":"]=C.expr.pseudos,C.uniqueSort=C.unique=S.uniqueSort,C.text=S.getText,C.isXMLDoc=S.isXML,C.contains=S.contains,C.escapeSelector=S.escape;var k=function(t,e,n){for(var r=[],i=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(i&&C(t).is(n))break;r.push(t)}return r},E=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},j=C.expr.match.needsContext;function O(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}var P=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function D(t,e,n){return y(e)?C.grep(t,function(t,r){return!!e.call(t,r,t)!==n}):e.nodeType?C.grep(t,function(t){return t===e!==n}):"string"!=typeof e?C.grep(t,function(t){return f.call(e,t)>-1!==n}):C.filter(e,t,n)}C.filter=function(t,e,n){var r=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===r.nodeType?C.find.matchesSelector(r,t)?[r]:[]:C.find.matches(t,C.grep(e,function(t){return 1===t.nodeType}))},C.fn.extend({find:function(t){var e,n,r=this.length,i=this;if("string"!=typeof t)return this.pushStack(C(t).filter(function(){for(e=0;e<r;e++)if(C.contains(i[e],this))return!0}));for(n=this.pushStack([]),e=0;e<r;e++)C.find(t,i[e],n);return r>1?C.uniqueSort(n):n},filter:function(t){return this.pushStack(D(this,t||[],!1))},not:function(t){return this.pushStack(D(this,t||[],!0))},is:function(t){return!!D(this,"string"==typeof t&&j.test(t)?C(t):t||[],!1).length}});var q,N=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(C.fn.init=function(t,e,n){var r,i;if(!t)return this;if(n=n||q,"string"==typeof t){if(!(r="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:N.exec(t))||!r[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(r[1]){if(e=e instanceof C?e[0]:e,C.merge(this,C.parseHTML(r[1],e&&e.nodeType?e.ownerDocument||e:a,!0)),P.test(r[1])&&C.isPlainObject(e))for(r in e)y(this[r])?this[r](e[r]):this.attr(r,e[r]);return this}return(i=a.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):y(t)?void 0!==n.ready?n.ready(t):t(C):C.makeArray(t,this)}).prototype=C.fn,q=C(a);var M=/^(?:parents|prev(?:Until|All))/,L={children:!0,contents:!0,next:!0,prev:!0};function I(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}C.fn.extend({has:function(t){var e=C(t,this),n=e.length;return this.filter(function(){for(var t=0;t<n;t++)if(C.contains(this,e[t]))return!0})},closest:function(t,e){var n,r=0,i=this.length,o=[],a="string"!=typeof t&&C(t);if(!j.test(t))for(;r<i;r++)for(n=this[r];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&C.find.matchesSelector(n,t))){o.push(n);break}return this.pushStack(o.length>1?C.uniqueSort(o):o)},index:function(t){return t?"string"==typeof t?f.call(C(t),this[0]):f.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(C.uniqueSort(C.merge(this.get(),C(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),C.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return k(t,"parentNode")},parentsUntil:function(t,e,n){return k(t,"parentNode",n)},next:function(t){return I(t,"nextSibling")},prev:function(t){return I(t,"previousSibling")},nextAll:function(t){return k(t,"nextSibling")},prevAll:function(t){return k(t,"previousSibling")},nextUntil:function(t,e,n){return k(t,"nextSibling",n)},prevUntil:function(t,e,n){return k(t,"previousSibling",n)},siblings:function(t){return E((t.parentNode||{}).firstChild,t)},children:function(t){return E(t.firstChild)},contents:function(t){return void 0!==t.contentDocument?t.contentDocument:(O(t,"template")&&(t=t.content||t),C.merge([],t.childNodes))}},function(t,e){C.fn[t]=function(n,r){var i=C.map(this,e,n);return"Until"!==t.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=C.filter(r,i)),this.length>1&&(L[t]||C.uniqueSort(i),M.test(t)&&i.reverse()),this.pushStack(i)}});var R=/[^\x20\t\r\n\f]+/g;function F(t){return t}function B(t){throw t}function z(t,e,n,r){var i;try{t&&y(i=t.promise)?i.call(t).done(e).fail(n):t&&y(i=t.then)?i.call(t,e,n):e.apply(void 0,[t].slice(r))}catch(t){n.apply(void 0,[t])}}C.Callbacks=function(t){t="string"==typeof t?function(t){var e={};return C.each(t.match(R)||[],function(t,n){e[n]=!0}),e}(t):C.extend({},t);var e,n,r,i,o=[],a=[],u=-1,s=function(){for(i=i||t.once,r=e=!0;a.length;u=-1)for(n=a.shift();++u<o.length;)!1===o[u].apply(n[0],n[1])&&t.stopOnFalse&&(u=o.length,n=!1);t.memory||(n=!1),e=!1,i&&(o=n?[]:"")},c={add:function(){return o&&(n&&!e&&(u=o.length-1,a.push(n)),function e(n){C.each(n,function(n,r){y(r)?t.unique&&c.has(r)||o.push(r):r&&r.length&&"string"!==_(r)&&e(r)})}(arguments),n&&!e&&s()),this},remove:function(){return C.each(arguments,function(t,e){for(var n;(n=C.inArray(e,o,n))>-1;)o.splice(n,1),n<=u&&u--}),this},has:function(t){return t?C.inArray(t,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=a=[],n||e||(o=n=""),this},locked:function(){return!!i},fireWith:function(t,n){return i||(n=[t,(n=n||[]).slice?n.slice():n],a.push(n),e||s()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},C.extend({Deferred:function(t){var e=[["notify","progress",C.Callbacks("memory"),C.Callbacks("memory"),2],["resolve","done",C.Callbacks("once memory"),C.Callbacks("once memory"),0,"resolved"],["reject","fail",C.Callbacks("once memory"),C.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},catch:function(t){return i.then(null,t)},pipe:function(){var t=arguments;return C.Deferred(function(n){C.each(e,function(e,r){var i=y(t[r[4]])&&t[r[4]];o[r[1]](function(){var t=i&&i.apply(this,arguments);t&&y(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[t]:arguments)})}),t=null}).promise()},then:function(t,r,i){var o=0;function a(t,e,r,i){return function(){var u=this,s=arguments,c=function(){var n,c;if(!(t<o)){if((n=r.apply(u,s))===e.promise())throw new TypeError("Thenable self-resolution");c=n&&("object"==typeof n||"function"==typeof n)&&n.then,y(c)?i?c.call(n,a(o,e,F,i),a(o,e,B,i)):(o++,c.call(n,a(o,e,F,i),a(o,e,B,i),a(o,e,F,e.notifyWith))):(r!==F&&(u=void 0,s=[n]),(i||e.resolveWith)(u,s))}},l=i?c:function(){try{c()}catch(n){C.Deferred.exceptionHook&&C.Deferred.exceptionHook(n,l.stackTrace),t+1>=o&&(r!==B&&(u=void 0,s=[n]),e.rejectWith(u,s))}};t?l():(C.Deferred.getStackHook&&(l.stackTrace=C.Deferred.getStackHook()),n.setTimeout(l))}}return C.Deferred(function(n){e[0][3].add(a(0,n,y(i)?i:F,n.notifyWith)),e[1][3].add(a(0,n,y(t)?t:F)),e[2][3].add(a(0,n,y(r)?r:B))}).promise()},promise:function(t){return null!=t?C.extend(t,i):i}},o={};return C.each(e,function(t,n){var a=n[2],u=n[5];i[n[1]]=a.add,u&&a.add(function(){r=u},e[3-t][2].disable,e[3-t][3].disable,e[0][2].lock,e[0][3].lock),a.add(n[3].fire),o[n[0]]=function(){return o[n[0]+"With"](this===o?void 0:this,arguments),this},o[n[0]+"With"]=a.fireWith}),i.promise(o),t&&t.call(o,o),o},when:function(t){var e=arguments.length,n=e,r=Array(n),i=s.call(arguments),o=C.Deferred(),a=function(t){return function(n){r[t]=this,i[t]=arguments.length>1?s.call(arguments):n,--e||o.resolveWith(r,i)}};if(e<=1&&(z(t,o.done(a(n)).resolve,o.reject,!e),"pending"===o.state()||y(i[n]&&i[n].then)))return o.then();for(;n--;)z(i[n],a(n),o.reject);return o.promise()}});var W=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;C.Deferred.exceptionHook=function(t,e){n.console&&n.console.warn&&t&&W.test(t.name)&&n.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},C.readyException=function(t){n.setTimeout(function(){throw t})};var H=C.Deferred();function $(){a.removeEventListener("DOMContentLoaded",$),n.removeEventListener("load",$),C.ready()}C.fn.ready=function(t){return H.then(t).catch(function(t){C.readyException(t)}),this},C.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--C.readyWait:C.isReady)||(C.isReady=!0,!0!==t&&--C.readyWait>0||H.resolveWith(a,[C]))}}),C.ready.then=H.then,"complete"===a.readyState||"loading"!==a.readyState&&!a.documentElement.doScroll?n.setTimeout(C.ready):(a.addEventListener("DOMContentLoaded",$),n.addEventListener("load",$));var U=function(t,e,n,r,i,o,a){var u=0,s=t.length,c=null==n;if("object"===_(n))for(u in i=!0,n)U(t,e,u,n[u],!0,o,a);else if(void 0!==r&&(i=!0,y(r)||(a=!0),c&&(a?(e.call(t,r),e=null):(c=e,e=function(t,e,n){return c.call(C(t),n)})),e))for(;u<s;u++)e(t[u],n,a?r:r.call(t[u],u,e(t[u],n)));return i?t:c?e.call(t):s?e(t[0],n):o},V=/^-ms-/,X=/-([a-z])/g;function Y(t,e){return e.toUpperCase()}function G(t){return t.replace(V,"ms-").replace(X,Y)}var Z=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};function Q(){this.expando=C.expando+Q.uid++}Q.uid=1,Q.prototype={cache:function(t){var e=t[this.expando];return e||(e={},Z(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var r,i=this.cache(t);if("string"==typeof e)i[G(e)]=n;else for(r in e)i[G(r)]=e[r];return i},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][G(e)]},access:function(t,e,n){return void 0===e||e&&"string"==typeof e&&void 0===n?this.get(t,e):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,r=t[this.expando];if(void 0!==r){if(void 0!==e){n=(e=Array.isArray(e)?e.map(G):(e=G(e))in r?[e]:e.match(R)||[]).length;for(;n--;)delete r[e[n]]}(void 0===e||C.isEmptyObject(r))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!C.isEmptyObject(e)}};var K=new Q,J=new Q,tt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,et=/[A-Z]/g;function nt(t,e,n){var r;if(void 0===n&&1===t.nodeType)if(r="data-"+e.replace(et,"-$&").toLowerCase(),"string"==typeof(n=t.getAttribute(r))){try{n=function(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:tt.test(t)?JSON.parse(t):t)}(n)}catch(t){}J.set(t,e,n)}else n=void 0;return n}C.extend({hasData:function(t){return J.hasData(t)||K.hasData(t)},data:function(t,e,n){return J.access(t,e,n)},removeData:function(t,e){J.remove(t,e)},_data:function(t,e,n){return K.access(t,e,n)},_removeData:function(t,e){K.remove(t,e)}}),C.fn.extend({data:function(t,e){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===t){if(this.length&&(i=J.get(o),1===o.nodeType&&!K.get(o,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=G(r.slice(5)),nt(o,r,i[r]));K.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof t?this.each(function(){J.set(this,t)}):U(this,function(e){var n;if(o&&void 0===e)return void 0!==(n=J.get(o,t))?n:void 0!==(n=nt(o,t))?n:void 0;this.each(function(){J.set(this,t,e)})},null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each(function(){J.remove(this,t)})}}),C.extend({queue:function(t,e,n){var r;if(t)return e=(e||"fx")+"queue",r=K.get(t,e),n&&(!r||Array.isArray(n)?r=K.access(t,e,C.makeArray(n)):r.push(n)),r||[]},dequeue:function(t,e){e=e||"fx";var n=C.queue(t,e),r=n.length,i=n.shift(),o=C._queueHooks(t,e);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===e&&n.unshift("inprogress"),delete o.stop,i.call(t,function(){C.dequeue(t,e)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return K.get(t,n)||K.access(t,n,{empty:C.Callbacks("once memory").add(function(){K.remove(t,[e+"queue",n])})})}}),C.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?C.queue(this[0],t):void 0===e?this:this.each(function(){var n=C.queue(this,t,e);C._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&C.dequeue(this,t)})},dequeue:function(t){return this.each(function(){C.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,r=1,i=C.Deferred(),o=this,a=this.length,u=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";a--;)(n=K.get(o[a],t+"queueHooks"))&&n.empty&&(r++,n.empty.add(u));return u(),i.promise(e)}});var rt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,it=new RegExp("^(?:([+-])=|)("+rt+")([a-z%]*)$","i"),ot=["Top","Right","Bottom","Left"],at=a.documentElement,ut=function(t){return C.contains(t.ownerDocument,t)},st={composed:!0};at.getRootNode&&(ut=function(t){return C.contains(t.ownerDocument,t)||t.getRootNode(st)===t.ownerDocument});var ct=function(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&ut(t)&&"none"===C.css(t,"display")},lt=function(t,e,n,r){var i,o,a={};for(o in e)a[o]=t.style[o],t.style[o]=e[o];for(o in i=n.apply(t,r||[]),e)t.style[o]=a[o];return i};function ft(t,e,n,r){var i,o,a=20,u=r?function(){return r.cur()}:function(){return C.css(t,e,"")},s=u(),c=n&&n[3]||(C.cssNumber[e]?"":"px"),l=t.nodeType&&(C.cssNumber[e]||"px"!==c&&+s)&&it.exec(C.css(t,e));if(l&&l[3]!==c){for(s/=2,c=c||l[3],l=+s||1;a--;)C.style(t,e,l+c),(1-o)*(1-(o=u()/s||.5))<=0&&(a=0),l/=o;l*=2,C.style(t,e,l+c),n=n||[]}return n&&(l=+l||+s||0,i=n[1]?l+(n[1]+1)*n[2]:+n[2],r&&(r.unit=c,r.start=l,r.end=i)),i}var ht={};function pt(t){var e,n=t.ownerDocument,r=t.nodeName,i=ht[r];return i||(e=n.body.appendChild(n.createElement(r)),i=C.css(e,"display"),e.parentNode.removeChild(e),"none"===i&&(i="block"),ht[r]=i,i)}function dt(t,e){for(var n,r,i=[],o=0,a=t.length;o<a;o++)(r=t[o]).style&&(n=r.style.display,e?("none"===n&&(i[o]=K.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&ct(r)&&(i[o]=pt(r))):"none"!==n&&(i[o]="none",K.set(r,"display",n)));for(o=0;o<a;o++)null!=i[o]&&(t[o].style.display=i[o]);return t}C.fn.extend({show:function(){return dt(this,!0)},hide:function(){return dt(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){ct(this)?C(this).show():C(this).hide()})}});var vt=/^(?:checkbox|radio)$/i,gt=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,mt=/^$|^module$|\/(?:java|ecma)script/i,yt={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function bt(t,e){var n;return n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&O(t,e)?C.merge([t],n):n}function xt(t,e){for(var n=0,r=t.length;n<r;n++)K.set(t[n],"globalEval",!e||K.get(e[n],"globalEval"))}yt.optgroup=yt.option,yt.tbody=yt.tfoot=yt.colgroup=yt.caption=yt.thead,yt.th=yt.td;var wt,_t,Ct=/<|&#?\w+;/;function At(t,e,n,r,i){for(var o,a,u,s,c,l,f=e.createDocumentFragment(),h=[],p=0,d=t.length;p<d;p++)if((o=t[p])||0===o)if("object"===_(o))C.merge(h,o.nodeType?[o]:o);else if(Ct.test(o)){for(a=a||f.appendChild(e.createElement("div")),u=(gt.exec(o)||["",""])[1].toLowerCase(),s=yt[u]||yt._default,a.innerHTML=s[1]+C.htmlPrefilter(o)+s[2],l=s[0];l--;)a=a.lastChild;C.merge(h,a.childNodes),(a=f.firstChild).textContent=""}else h.push(e.createTextNode(o));for(f.textContent="",p=0;o=h[p++];)if(r&&C.inArray(o,r)>-1)i&&i.push(o);else if(c=ut(o),a=bt(f.appendChild(o),"script"),c&&xt(a),n)for(l=0;o=a[l++];)mt.test(o.type||"")&&n.push(o);return f}wt=a.createDocumentFragment().appendChild(a.createElement("div")),(_t=a.createElement("input")).setAttribute("type","radio"),_t.setAttribute("checked","checked"),_t.setAttribute("name","t"),wt.appendChild(_t),m.checkClone=wt.cloneNode(!0).cloneNode(!0).lastChild.checked,wt.innerHTML="<textarea>x</textarea>",m.noCloneChecked=!!wt.cloneNode(!0).lastChild.defaultValue;var Tt=/^key/,St=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,kt=/^([^.]*)(?:\.(.+)|)/;function Et(){return!0}function jt(){return!1}function Ot(t,e){return t===function(){try{return a.activeElement}catch(t){}}()==("focus"===e)}function Pt(t,e,n,r,i,o){var a,u;if("object"==typeof e){for(u in"string"!=typeof n&&(r=r||n,n=void 0),e)Pt(t,u,n,r,e[u],o);return t}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=jt;else if(!i)return t;return 1===o&&(a=i,(i=function(t){return C().off(t),a.apply(this,arguments)}).guid=a.guid||(a.guid=C.guid++)),t.each(function(){C.event.add(this,e,i,r,n)})}function Dt(t,e,n){n?(K.set(t,e,!1),C.event.add(t,e,{namespace:!1,handler:function(t){var r,i,o=K.get(this,e);if(1&t.isTrigger&&this[e]){if(o.length)(C.event.special[e]||{}).delegateType&&t.stopPropagation();else if(o=s.call(arguments),K.set(this,e,o),r=n(this,e),this[e](),o!==(i=K.get(this,e))||r?K.set(this,e,!1):i={},o!==i)return t.stopImmediatePropagation(),t.preventDefault(),i.value}else o.length&&(K.set(this,e,{value:C.event.trigger(C.extend(o[0],C.Event.prototype),o.slice(1),this)}),t.stopImmediatePropagation())}})):void 0===K.get(t,e)&&C.event.add(t,e,Et)}C.event={global:{},add:function(t,e,n,r,i){var o,a,u,s,c,l,f,h,p,d,v,g=K.get(t);if(g)for(n.handler&&(n=(o=n).handler,i=o.selector),i&&C.find.matchesSelector(at,i),n.guid||(n.guid=C.guid++),(s=g.events)||(s=g.events={}),(a=g.handle)||(a=g.handle=function(e){return void 0!==C&&C.event.triggered!==e.type?C.event.dispatch.apply(t,arguments):void 0}),c=(e=(e||"").match(R)||[""]).length;c--;)p=v=(u=kt.exec(e[c])||[])[1],d=(u[2]||"").split(".").sort(),p&&(f=C.event.special[p]||{},p=(i?f.delegateType:f.bindType)||p,f=C.event.special[p]||{},l=C.extend({type:p,origType:v,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&C.expr.match.needsContext.test(i),namespace:d.join(".")},o),(h=s[p])||((h=s[p]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,d,a)||t.addEventListener&&t.addEventListener(p,a)),f.add&&(f.add.call(t,l),l.handler.guid||(l.handler.guid=n.guid)),i?h.splice(h.delegateCount++,0,l):h.push(l),C.event.global[p]=!0)},remove:function(t,e,n,r,i){var o,a,u,s,c,l,f,h,p,d,v,g=K.hasData(t)&&K.get(t);if(g&&(s=g.events)){for(c=(e=(e||"").match(R)||[""]).length;c--;)if(p=v=(u=kt.exec(e[c])||[])[1],d=(u[2]||"").split(".").sort(),p){for(f=C.event.special[p]||{},h=s[p=(r?f.delegateType:f.bindType)||p]||[],u=u[2]&&new RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=h.length;o--;)l=h[o],!i&&v!==l.origType||n&&n.guid!==l.guid||u&&!u.test(l.namespace)||r&&r!==l.selector&&("**"!==r||!l.selector)||(h.splice(o,1),l.selector&&h.delegateCount--,f.remove&&f.remove.call(t,l));a&&!h.length&&(f.teardown&&!1!==f.teardown.call(t,d,g.handle)||C.removeEvent(t,p,g.handle),delete s[p])}else for(p in s)C.event.remove(t,p+e[c],n,r,!0);C.isEmptyObject(s)&&K.remove(t,"handle events")}},dispatch:function(t){var e,n,r,i,o,a,u=C.event.fix(t),s=new Array(arguments.length),c=(K.get(this,"events")||{})[u.type]||[],l=C.event.special[u.type]||{};for(s[0]=u,e=1;e<arguments.length;e++)s[e]=arguments[e];if(u.delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,u)){for(a=C.event.handlers.call(this,u,c),e=0;(i=a[e++])&&!u.isPropagationStopped();)for(u.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!u.isImmediatePropagationStopped();)u.rnamespace&&!1!==o.namespace&&!u.rnamespace.test(o.namespace)||(u.handleObj=o,u.data=o.data,void 0!==(r=((C.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))&&!1===(u.result=r)&&(u.preventDefault(),u.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,u),u.result}},handlers:function(t,e){var n,r,i,o,a,u=[],s=e.delegateCount,c=t.target;if(s&&c.nodeType&&!("click"===t.type&&t.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==t.type||!0!==c.disabled)){for(o=[],a={},n=0;n<s;n++)void 0===a[i=(r=e[n]).selector+" "]&&(a[i]=r.needsContext?C(i,this).index(c)>-1:C.find(i,this,null,[c]).length),a[i]&&o.push(r);o.length&&u.push({elem:c,handlers:o})}return c=this,s<e.length&&u.push({elem:c,handlers:e.slice(s)}),u},addProp:function(t,e){Object.defineProperty(C.Event.prototype,t,{enumerable:!0,configurable:!0,get:y(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(t){return t[C.expando]?t:new C.Event(t)},special:{load:{noBubble:!0},click:{setup:function(t){var e=this||t;return vt.test(e.type)&&e.click&&O(e,"input")&&Dt(e,"click",Et),!1},trigger:function(t){var e=this||t;return vt.test(e.type)&&e.click&&O(e,"input")&&Dt(e,"click"),!0},_default:function(t){var e=t.target;return vt.test(e.type)&&e.click&&O(e,"input")&&K.get(e,"click")||O(e,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},C.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},C.Event=function(t,e){if(!(this instanceof C.Event))return new C.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?Et:jt,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&C.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[C.expando]=!0},C.Event.prototype={constructor:C.Event,isDefaultPrevented:jt,isPropagationStopped:jt,isImmediatePropagationStopped:jt,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=Et,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=Et,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=Et,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},C.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(t){var e=t.button;return null==t.which&&Tt.test(t.type)?null!=t.charCode?t.charCode:t.keyCode:!t.which&&void 0!==e&&St.test(t.type)?1&e?1:2&e?3:4&e?2:0:t.which}},C.event.addProp),C.each({focus:"focusin",blur:"focusout"},function(t,e){C.event.special[t]={setup:function(){return Dt(this,t,Ot),!1},trigger:function(){return Dt(this,t),!0},delegateType:e}}),C.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){C.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,r=this,i=t.relatedTarget,o=t.handleObj;return i&&(i===r||C.contains(r,i))||(t.type=o.origType,n=o.handler.apply(this,arguments),t.type=e),n}}}),C.fn.extend({on:function(t,e,n,r){return Pt(this,t,e,n,r)},one:function(t,e,n,r){return Pt(this,t,e,n,r,1)},off:function(t,e,n){var r,i;if(t&&t.preventDefault&&t.handleObj)return r=t.handleObj,C(t.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof t){for(i in t)this.off(i,e,t[i]);return this}return!1!==e&&"function"!=typeof e||(n=e,e=void 0),!1===n&&(n=jt),this.each(function(){C.event.remove(this,t,n,e)})}});var qt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,Nt=/<script|<style|<link/i,Mt=/checked\s*(?:[^=]|=\s*.checked.)/i,Lt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function It(t,e){return O(t,"table")&&O(11!==e.nodeType?e:e.firstChild,"tr")&&C(t).children("tbody")[0]||t}function Rt(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Ft(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function Bt(t,e){var n,r,i,o,a,u,s,c;if(1===e.nodeType){if(K.hasData(t)&&(o=K.access(t),a=K.set(e,o),c=o.events))for(i in delete a.handle,a.events={},c)for(n=0,r=c[i].length;n<r;n++)C.event.add(e,i,c[i][n]);J.hasData(t)&&(u=J.access(t),s=C.extend({},u),J.set(e,s))}}function zt(t,e){var n=e.nodeName.toLowerCase();"input"===n&&vt.test(t.type)?e.checked=t.checked:"input"!==n&&"textarea"!==n||(e.defaultValue=t.defaultValue)}function Wt(t,e,n,r){e=c.apply([],e);var i,o,a,u,s,l,f=0,h=t.length,p=h-1,d=e[0],v=y(d);if(v||h>1&&"string"==typeof d&&!m.checkClone&&Mt.test(d))return t.each(function(i){var o=t.eq(i);v&&(e[0]=d.call(this,i,o.html())),Wt(o,e,n,r)});if(h&&(o=(i=At(e,t[0].ownerDocument,!1,t,r)).firstChild,1===i.childNodes.length&&(i=o),o||r)){for(u=(a=C.map(bt(i,"script"),Rt)).length;f<h;f++)s=i,f!==p&&(s=C.clone(s,!0,!0),u&&C.merge(a,bt(s,"script"))),n.call(t[f],s,f);if(u)for(l=a[a.length-1].ownerDocument,C.map(a,Ft),f=0;f<u;f++)s=a[f],mt.test(s.type||"")&&!K.access(s,"globalEval")&&C.contains(l,s)&&(s.src&&"module"!==(s.type||"").toLowerCase()?C._evalUrl&&!s.noModule&&C._evalUrl(s.src,{nonce:s.nonce||s.getAttribute("nonce")}):w(s.textContent.replace(Lt,""),s,l))}return t}function Ht(t,e,n){for(var r,i=e?C.filter(e,t):t,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||C.cleanData(bt(r)),r.parentNode&&(n&&ut(r)&&xt(bt(r,"script")),r.parentNode.removeChild(r));return t}C.extend({htmlPrefilter:function(t){return t.replace(qt,"<$1></$2>")},clone:function(t,e,n){var r,i,o,a,u=t.cloneNode(!0),s=ut(t);if(!(m.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||C.isXMLDoc(t)))for(a=bt(u),r=0,i=(o=bt(t)).length;r<i;r++)zt(o[r],a[r]);if(e)if(n)for(o=o||bt(t),a=a||bt(u),r=0,i=o.length;r<i;r++)Bt(o[r],a[r]);else Bt(t,u);return(a=bt(u,"script")).length>0&&xt(a,!s&&bt(t,"script")),u},cleanData:function(t){for(var e,n,r,i=C.event.special,o=0;void 0!==(n=t[o]);o++)if(Z(n)){if(e=n[K.expando]){if(e.events)for(r in e.events)i[r]?C.event.remove(n,r):C.removeEvent(n,r,e.handle);n[K.expando]=void 0}n[J.expando]&&(n[J.expando]=void 0)}}}),C.fn.extend({detach:function(t){return Ht(this,t,!0)},remove:function(t){return Ht(this,t)},text:function(t){return U(this,function(t){return void 0===t?C.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return Wt(this,arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||It(this,t).appendChild(t)})},prepend:function(){return Wt(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=It(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return Wt(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return Wt(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(C.cleanData(bt(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return C.clone(this,t,e)})},html:function(t){return U(this,function(t){var e=this[0]||{},n=0,r=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!Nt.test(t)&&!yt[(gt.exec(t)||["",""])[1].toLowerCase()]){t=C.htmlPrefilter(t);try{for(;n<r;n++)1===(e=this[n]||{}).nodeType&&(C.cleanData(bt(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=[];return Wt(this,arguments,function(e){var n=this.parentNode;C.inArray(this,t)<0&&(C.cleanData(bt(this)),n&&n.replaceChild(e,this))},t)}}),C.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){C.fn[t]=function(t){for(var n,r=[],i=C(t),o=i.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),C(i[a])[e](n),l.apply(r,n.get());return this.pushStack(r)}});var $t=new RegExp("^("+rt+")(?!px)[a-z%]+$","i"),Ut=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=n),e.getComputedStyle(t)},Vt=new RegExp(ot.join("|"),"i");function Xt(t,e,n){var r,i,o,a,u=t.style;return(n=n||Ut(t))&&(""!==(a=n.getPropertyValue(e)||n[e])||ut(t)||(a=C.style(t,e)),!m.pixelBoxStyles()&&$t.test(a)&&Vt.test(e)&&(r=u.width,i=u.minWidth,o=u.maxWidth,u.minWidth=u.maxWidth=u.width=a,a=n.width,u.width=r,u.minWidth=i,u.maxWidth=o)),void 0!==a?a+"":a}function Yt(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}!function(){function t(){if(l){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",at.appendChild(c).appendChild(l);var t=n.getComputedStyle(l);r="1%"!==t.top,s=12===e(t.marginLeft),l.style.right="60%",u=36===e(t.right),i=36===e(t.width),l.style.position="absolute",o=12===e(l.offsetWidth/3),at.removeChild(c),l=null}}function e(t){return Math.round(parseFloat(t))}var r,i,o,u,s,c=a.createElement("div"),l=a.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",m.clearCloneStyle="content-box"===l.style.backgroundClip,C.extend(m,{boxSizingReliable:function(){return t(),i},pixelBoxStyles:function(){return t(),u},pixelPosition:function(){return t(),r},reliableMarginLeft:function(){return t(),s},scrollboxSize:function(){return t(),o}}))}();var Gt=["Webkit","Moz","ms"],Zt=a.createElement("div").style,Qt={};function Kt(t){var e=C.cssProps[t]||Qt[t];return e||(t in Zt?t:Qt[t]=function(t){for(var e=t[0].toUpperCase()+t.slice(1),n=Gt.length;n--;)if((t=Gt[n]+e)in Zt)return t}(t)||t)}var Jt=/^(none|table(?!-c[ea]).+)/,te=/^--/,ee={position:"absolute",visibility:"hidden",display:"block"},ne={letterSpacing:"0",fontWeight:"400"};function re(t,e,n){var r=it.exec(e);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):e}function ie(t,e,n,r,i,o){var a="width"===e?1:0,u=0,s=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(s+=C.css(t,n+ot[a],!0,i)),r?("content"===n&&(s-=C.css(t,"padding"+ot[a],!0,i)),"margin"!==n&&(s-=C.css(t,"border"+ot[a]+"Width",!0,i))):(s+=C.css(t,"padding"+ot[a],!0,i),"padding"!==n?s+=C.css(t,"border"+ot[a]+"Width",!0,i):u+=C.css(t,"border"+ot[a]+"Width",!0,i));return!r&&o>=0&&(s+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-o-s-u-.5))||0),s}function oe(t,e,n){var r=Ut(t),i=(!m.boxSizingReliable()||n)&&"border-box"===C.css(t,"boxSizing",!1,r),o=i,a=Xt(t,e,r),u="offset"+e[0].toUpperCase()+e.slice(1);if($t.test(a)){if(!n)return a;a="auto"}return(!m.boxSizingReliable()&&i||"auto"===a||!parseFloat(a)&&"inline"===C.css(t,"display",!1,r))&&t.getClientRects().length&&(i="border-box"===C.css(t,"boxSizing",!1,r),(o=u in t)&&(a=t[u])),(a=parseFloat(a)||0)+ie(t,e,n||(i?"border":"content"),o,r,a)+"px"}function ae(t,e,n,r,i){return new ae.prototype.init(t,e,n,r,i)}C.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=Xt(t,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(t,e,n,r){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var i,o,a,u=G(e),s=te.test(e),c=t.style;if(s||(e=Kt(u)),a=C.cssHooks[e]||C.cssHooks[u],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(t,!1,r))?i:c[e];"string"===(o=typeof n)&&(i=it.exec(n))&&i[1]&&(n=ft(t,e,i),o="number"),null!=n&&n==n&&("number"!==o||s||(n+=i&&i[3]||(C.cssNumber[u]?"":"px")),m.clearCloneStyle||""!==n||0!==e.indexOf("background")||(c[e]="inherit"),a&&"set"in a&&void 0===(n=a.set(t,n,r))||(s?c.setProperty(e,n):c[e]=n))}},css:function(t,e,n,r){var i,o,a,u=G(e);return te.test(e)||(e=Kt(u)),(a=C.cssHooks[e]||C.cssHooks[u])&&"get"in a&&(i=a.get(t,!0,n)),void 0===i&&(i=Xt(t,e,r)),"normal"===i&&e in ne&&(i=ne[e]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),C.each(["height","width"],function(t,e){C.cssHooks[e]={get:function(t,n,r){if(n)return!Jt.test(C.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?oe(t,e,r):lt(t,ee,function(){return oe(t,e,r)})},set:function(t,n,r){var i,o=Ut(t),a=!m.scrollboxSize()&&"absolute"===o.position,u=(a||r)&&"border-box"===C.css(t,"boxSizing",!1,o),s=r?ie(t,e,r,u,o):0;return u&&a&&(s-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(o[e])-ie(t,e,"border",!1,o)-.5)),s&&(i=it.exec(n))&&"px"!==(i[3]||"px")&&(t.style[e]=n,n=C.css(t,e)),re(0,n,s)}}}),C.cssHooks.marginLeft=Yt(m.reliableMarginLeft,function(t,e){if(e)return(parseFloat(Xt(t,"marginLeft"))||t.getBoundingClientRect().left-lt(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),C.each({margin:"",padding:"",border:"Width"},function(t,e){C.cssHooks[t+e]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[t+ot[r]+e]=o[r]||o[r-2]||o[0];return i}},"margin"!==t&&(C.cssHooks[t+e].set=re)}),C.fn.extend({css:function(t,e){return U(this,function(t,e,n){var r,i,o={},a=0;if(Array.isArray(e)){for(r=Ut(t),i=e.length;a<i;a++)o[e[a]]=C.css(t,e[a],!1,r);return o}return void 0!==n?C.style(t,e,n):C.css(t,e)},t,e,arguments.length>1)}}),C.Tween=ae,ae.prototype={constructor:ae,init:function(t,e,n,r,i,o){this.elem=t,this.prop=n,this.easing=i||C.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=r,this.unit=o||(C.cssNumber[n]?"":"px")},cur:function(){var t=ae.propHooks[this.prop];return t&&t.get?t.get(this):ae.propHooks._default.get(this)},run:function(t){var e,n=ae.propHooks[this.prop];return this.options.duration?this.pos=e=C.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):ae.propHooks._default.set(this),this}},ae.prototype.init.prototype=ae.prototype,ae.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=C.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){C.fx.step[t.prop]?C.fx.step[t.prop](t):1!==t.elem.nodeType||!C.cssHooks[t.prop]&&null==t.elem.style[Kt(t.prop)]?t.elem[t.prop]=t.now:C.style(t.elem,t.prop,t.now+t.unit)}}},ae.propHooks.scrollTop=ae.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},C.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},C.fx=ae.prototype.init,C.fx.step={};var ue,se,ce=/^(?:toggle|show|hide)$/,le=/queueHooks$/;function fe(){se&&(!1===a.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(fe):n.setTimeout(fe,C.fx.interval),C.fx.tick())}function he(){return n.setTimeout(function(){ue=void 0}),ue=Date.now()}function pe(t,e){var n,r=0,i={height:t};for(e=e?1:0;r<4;r+=2-e)i["margin"+(n=ot[r])]=i["padding"+n]=t;return e&&(i.opacity=i.width=t),i}function de(t,e,n){for(var r,i=(ve.tweeners[e]||[]).concat(ve.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,e,t))return r}function ve(t,e,n){var r,i,o=0,a=ve.prefilters.length,u=C.Deferred().always(function(){delete s.elem}),s=function(){if(i)return!1;for(var e=ue||he(),n=Math.max(0,c.startTime+c.duration-e),r=1-(n/c.duration||0),o=0,a=c.tweens.length;o<a;o++)c.tweens[o].run(r);return u.notifyWith(t,[c,r,n]),r<1&&a?n:(a||u.notifyWith(t,[c,1,0]),u.resolveWith(t,[c]),!1)},c=u.promise({elem:t,props:C.extend({},e),opts:C.extend(!0,{specialEasing:{},easing:C.easing._default},n),originalProperties:e,originalOptions:n,startTime:ue||he(),duration:n.duration,tweens:[],createTween:function(e,n){var r=C.Tween(t,c.opts,e,n,c.opts.specialEasing[e]||c.opts.easing);return c.tweens.push(r),r},stop:function(e){var n=0,r=e?c.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)c.tweens[n].run(1);return e?(u.notifyWith(t,[c,1,0]),u.resolveWith(t,[c,e])):u.rejectWith(t,[c,e]),this}}),l=c.props;for(!function(t,e){var n,r,i,o,a;for(n in t)if(i=e[r=G(n)],o=t[n],Array.isArray(o)&&(i=o[1],o=t[n]=o[0]),n!==r&&(t[r]=o,delete t[n]),(a=C.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete t[r],o)n in t||(t[n]=o[n],e[n]=i);else e[r]=i}(l,c.opts.specialEasing);o<a;o++)if(r=ve.prefilters[o].call(c,t,l,c.opts))return y(r.stop)&&(C._queueHooks(c.elem,c.opts.queue).stop=r.stop.bind(r)),r;return C.map(l,de,c),y(c.opts.start)&&c.opts.start.call(t,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),C.fx.timer(C.extend(s,{elem:t,anim:c,queue:c.opts.queue})),c}C.Animation=C.extend(ve,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return ft(n.elem,t,it.exec(e),n),n}]},tweener:function(t,e){y(t)?(e=t,t=["*"]):t=t.match(R);for(var n,r=0,i=t.length;r<i;r++)n=t[r],ve.tweeners[n]=ve.tweeners[n]||[],ve.tweeners[n].unshift(e)},prefilters:[function(t,e,n){var r,i,o,a,u,s,c,l,f="width"in e||"height"in e,h=this,p={},d=t.style,v=t.nodeType&&ct(t),g=K.get(t,"fxshow");for(r in n.queue||(null==(a=C._queueHooks(t,"fx")).unqueued&&(a.unqueued=0,u=a.empty.fire,a.empty.fire=function(){a.unqueued||u()}),a.unqueued++,h.always(function(){h.always(function(){a.unqueued--,C.queue(t,"fx").length||a.empty.fire()})})),e)if(i=e[r],ce.test(i)){if(delete e[r],o=o||"toggle"===i,i===(v?"hide":"show")){if("show"!==i||!g||void 0===g[r])continue;v=!0}p[r]=g&&g[r]||C.style(t,r)}if((s=!C.isEmptyObject(e))||!C.isEmptyObject(p))for(r in f&&1===t.nodeType&&(n.overflow=[d.overflow,d.overflowX,d.overflowY],null==(c=g&&g.display)&&(c=K.get(t,"display")),"none"===(l=C.css(t,"display"))&&(c?l=c:(dt([t],!0),c=t.style.display||c,l=C.css(t,"display"),dt([t]))),("inline"===l||"inline-block"===l&&null!=c)&&"none"===C.css(t,"float")&&(s||(h.done(function(){d.display=c}),null==c&&(l=d.display,c="none"===l?"":l)),d.display="inline-block")),n.overflow&&(d.overflow="hidden",h.always(function(){d.overflow=n.overflow[0],d.overflowX=n.overflow[1],d.overflowY=n.overflow[2]})),s=!1,p)s||(g?"hidden"in g&&(v=g.hidden):g=K.access(t,"fxshow",{display:c}),o&&(g.hidden=!v),v&&dt([t],!0),h.done(function(){for(r in v||dt([t]),K.remove(t,"fxshow"),p)C.style(t,r,p[r])})),s=de(v?g[r]:0,r,h),r in g||(g[r]=s.start,v&&(s.end=s.start,s.start=0))}],prefilter:function(t,e){e?ve.prefilters.unshift(t):ve.prefilters.push(t)}}),C.speed=function(t,e,n){var r=t&&"object"==typeof t?C.extend({},t):{complete:n||!n&&e||y(t)&&t,duration:t,easing:n&&e||e&&!y(e)&&e};return C.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in C.fx.speeds?r.duration=C.fx.speeds[r.duration]:r.duration=C.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){y(r.old)&&r.old.call(this),r.queue&&C.dequeue(this,r.queue)},r},C.fn.extend({fadeTo:function(t,e,n,r){return this.filter(ct).css("opacity",0).show().end().animate({opacity:e},t,n,r)},animate:function(t,e,n,r){var i=C.isEmptyObject(t),o=C.speed(e,n,r),a=function(){var e=ve(this,C.extend({},t),o);(i||K.get(this,"finish"))&&e.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(t,e,n){var r=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&!1!==t&&this.queue(t||"fx",[]),this.each(function(){var e=!0,i=null!=t&&t+"queueHooks",o=C.timers,a=K.get(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&le.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=t&&o[i].queue!==t||(o[i].anim.stop(n),e=!1,o.splice(i,1));!e&&n||C.dequeue(this,t)})},finish:function(t){return!1!==t&&(t=t||"fx"),this.each(function(){var e,n=K.get(this),r=n[t+"queue"],i=n[t+"queueHooks"],o=C.timers,a=r?r.length:0;for(n.finish=!0,C.queue(this,t,[]),i&&i.stop&&i.stop.call(this,!0),e=o.length;e--;)o[e].elem===this&&o[e].queue===t&&(o[e].anim.stop(!0),o.splice(e,1));for(e=0;e<a;e++)r[e]&&r[e].finish&&r[e].finish.call(this);delete n.finish})}}),C.each(["toggle","show","hide"],function(t,e){var n=C.fn[e];C.fn[e]=function(t,r,i){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(pe(e,!0),t,r,i)}}),C.each({slideDown:pe("show"),slideUp:pe("hide"),slideToggle:pe("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){C.fn[t]=function(t,n,r){return this.animate(e,t,n,r)}}),C.timers=[],C.fx.tick=function(){var t,e=0,n=C.timers;for(ue=Date.now();e<n.length;e++)(t=n[e])()||n[e]!==t||n.splice(e--,1);n.length||C.fx.stop(),ue=void 0},C.fx.timer=function(t){C.timers.push(t),C.fx.start()},C.fx.interval=13,C.fx.start=function(){se||(se=!0,fe())},C.fx.stop=function(){se=null},C.fx.speeds={slow:600,fast:200,_default:400},C.fn.delay=function(t,e){return t=C.fx&&C.fx.speeds[t]||t,e=e||"fx",this.queue(e,function(e,r){var i=n.setTimeout(e,t);r.stop=function(){n.clearTimeout(i)}})},function(){var t=a.createElement("input"),e=a.createElement("select").appendChild(a.createElement("option"));t.type="checkbox",m.checkOn=""!==t.value,m.optSelected=e.selected,(t=a.createElement("input")).value="t",t.type="radio",m.radioValue="t"===t.value}();var ge,me=C.expr.attrHandle;C.fn.extend({attr:function(t,e){return U(this,C.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){C.removeAttr(this,t)})}}),C.extend({attr:function(t,e,n){var r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===t.getAttribute?C.prop(t,e,n):(1===o&&C.isXMLDoc(t)||(i=C.attrHooks[e.toLowerCase()]||(C.expr.match.bool.test(e)?ge:void 0)),void 0!==n?null===n?void C.removeAttr(t,e):i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:(t.setAttribute(e,n+""),n):i&&"get"in i&&null!==(r=i.get(t,e))?r:null==(r=C.find.attr(t,e))?void 0:r)},attrHooks:{type:{set:function(t,e){if(!m.radioValue&&"radio"===e&&O(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,r=0,i=e&&e.match(R);if(i&&1===t.nodeType)for(;n=i[r++];)t.removeAttribute(n)}}),ge={set:function(t,e,n){return!1===e?C.removeAttr(t,n):t.setAttribute(n,n),n}},C.each(C.expr.match.bool.source.match(/\w+/g),function(t,e){var n=me[e]||C.find.attr;me[e]=function(t,e,r){var i,o,a=e.toLowerCase();return r||(o=me[a],me[a]=i,i=null!=n(t,e,r)?a:null,me[a]=o),i}});var ye=/^(?:input|select|textarea|button)$/i,be=/^(?:a|area)$/i;function xe(t){return(t.match(R)||[]).join(" ")}function we(t){return t.getAttribute&&t.getAttribute("class")||""}function _e(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(R)||[]}C.fn.extend({prop:function(t,e){return U(this,C.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[C.propFix[t]||t]})}}),C.extend({prop:function(t,e,n){var r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&C.isXMLDoc(t)||(e=C.propFix[e]||e,i=C.propHooks[e]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:t[e]=n:i&&"get"in i&&null!==(r=i.get(t,e))?r:t[e]},propHooks:{tabIndex:{get:function(t){var e=C.find.attr(t,"tabindex");return e?parseInt(e,10):ye.test(t.nodeName)||be.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),m.optSelected||(C.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),C.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){C.propFix[this.toLowerCase()]=this}),C.fn.extend({addClass:function(t){var e,n,r,i,o,a,u,s=0;if(y(t))return this.each(function(e){C(this).addClass(t.call(this,e,we(this)))});if((e=_e(t)).length)for(;n=this[s++];)if(i=we(n),r=1===n.nodeType&&" "+xe(i)+" "){for(a=0;o=e[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(u=xe(r))&&n.setAttribute("class",u)}return this},removeClass:function(t){var e,n,r,i,o,a,u,s=0;if(y(t))return this.each(function(e){C(this).removeClass(t.call(this,e,we(this)))});if(!arguments.length)return this.attr("class","");if((e=_e(t)).length)for(;n=this[s++];)if(i=we(n),r=1===n.nodeType&&" "+xe(i)+" "){for(a=0;o=e[a++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");i!==(u=xe(r))&&n.setAttribute("class",u)}return this},toggleClass:function(t,e){var n=typeof t,r="string"===n||Array.isArray(t);return"boolean"==typeof e&&r?e?this.addClass(t):this.removeClass(t):y(t)?this.each(function(n){C(this).toggleClass(t.call(this,n,we(this),e),e)}):this.each(function(){var e,i,o,a;if(r)for(i=0,o=C(this),a=_e(t);e=a[i++];)o.hasClass(e)?o.removeClass(e):o.addClass(e);else void 0!==t&&"boolean"!==n||((e=we(this))&&K.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===t?"":K.get(this,"__className__")||""))})},hasClass:function(t){var e,n,r=0;for(e=" "+t+" ";n=this[r++];)if(1===n.nodeType&&(" "+xe(we(n))+" ").indexOf(e)>-1)return!0;return!1}});var Ce=/\r/g;C.fn.extend({val:function(t){var e,n,r,i=this[0];return arguments.length?(r=y(t),this.each(function(n){var i;1===this.nodeType&&(null==(i=r?t.call(this,n,C(this).val()):t)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=C.map(i,function(t){return null==t?"":t+""})),(e=C.valHooks[this.type]||C.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,i,"value")||(this.value=i))})):i?(e=C.valHooks[i.type]||C.valHooks[i.nodeName.toLowerCase()])&&"get"in e&&void 0!==(n=e.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(Ce,""):null==n?"":n:void 0}}),C.extend({valHooks:{option:{get:function(t){var e=C.find.attr(t,"value");return null!=e?e:xe(C.text(t))}},select:{get:function(t){var e,n,r,i=t.options,o=t.selectedIndex,a="select-one"===t.type,u=a?null:[],s=a?o+1:i.length;for(r=o<0?s:a?o:0;r<s;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!O(n.parentNode,"optgroup"))){if(e=C(n).val(),a)return e;u.push(e)}return u},set:function(t,e){for(var n,r,i=t.options,o=C.makeArray(e),a=i.length;a--;)((r=i[a]).selected=C.inArray(C.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(t.selectedIndex=-1),o}}}}),C.each(["radio","checkbox"],function(){C.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=C.inArray(C(t).val(),e)>-1}},m.checkOn||(C.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}),m.focusin="onfocusin"in n;var Ae=/^(?:focusinfocus|focusoutblur)$/,Te=function(t){t.stopPropagation()};C.extend(C.event,{trigger:function(t,e,r,i){var o,u,s,c,l,f,h,p,v=[r||a],g=d.call(t,"type")?t.type:t,m=d.call(t,"namespace")?t.namespace.split("."):[];if(u=p=s=r=r||a,3!==r.nodeType&&8!==r.nodeType&&!Ae.test(g+C.event.triggered)&&(g.indexOf(".")>-1&&(m=g.split("."),g=m.shift(),m.sort()),l=g.indexOf(":")<0&&"on"+g,(t=t[C.expando]?t:new C.Event(g,"object"==typeof t&&t)).isTrigger=i?2:3,t.namespace=m.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),e=null==e?[t]:C.makeArray(e,[t]),h=C.event.special[g]||{},i||!h.trigger||!1!==h.trigger.apply(r,e))){if(!i&&!h.noBubble&&!b(r)){for(c=h.delegateType||g,Ae.test(c+g)||(u=u.parentNode);u;u=u.parentNode)v.push(u),s=u;s===(r.ownerDocument||a)&&v.push(s.defaultView||s.parentWindow||n)}for(o=0;(u=v[o++])&&!t.isPropagationStopped();)p=u,t.type=o>1?c:h.bindType||g,(f=(K.get(u,"events")||{})[t.type]&&K.get(u,"handle"))&&f.apply(u,e),(f=l&&u[l])&&f.apply&&Z(u)&&(t.result=f.apply(u,e),!1===t.result&&t.preventDefault());return t.type=g,i||t.isDefaultPrevented()||h._default&&!1!==h._default.apply(v.pop(),e)||!Z(r)||l&&y(r[g])&&!b(r)&&((s=r[l])&&(r[l]=null),C.event.triggered=g,t.isPropagationStopped()&&p.addEventListener(g,Te),r[g](),t.isPropagationStopped()&&p.removeEventListener(g,Te),C.event.triggered=void 0,s&&(r[l]=s)),t.result}},simulate:function(t,e,n){var r=C.extend(new C.Event,n,{type:t,isSimulated:!0});C.event.trigger(r,null,e)}}),C.fn.extend({trigger:function(t,e){return this.each(function(){C.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];if(n)return C.event.trigger(t,e,n,!0)}}),m.focusin||C.each({focus:"focusin",blur:"focusout"},function(t,e){var n=function(t){C.event.simulate(e,t.target,C.event.fix(t))};C.event.special[e]={setup:function(){var r=this.ownerDocument||this,i=K.access(r,e);i||r.addEventListener(t,n,!0),K.access(r,e,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=K.access(r,e)-1;i?K.access(r,e,i):(r.removeEventListener(t,n,!0),K.remove(r,e))}}});var Se=n.location,ke=Date.now(),Ee=/\?/;C.parseXML=function(t){var e;if(!t||"string"!=typeof t)return null;try{e=(new n.DOMParser).parseFromString(t,"text/xml")}catch(t){e=void 0}return e&&!e.getElementsByTagName("parsererror").length||C.error("Invalid XML: "+t),e};var je=/\[\]$/,Oe=/\r?\n/g,Pe=/^(?:submit|button|image|reset|file)$/i,De=/^(?:input|select|textarea|keygen)/i;function qe(t,e,n,r){var i;if(Array.isArray(e))C.each(e,function(e,i){n||je.test(t)?r(t,i):qe(t+"["+("object"==typeof i&&null!=i?e:"")+"]",i,n,r)});else if(n||"object"!==_(e))r(t,e);else for(i in e)qe(t+"["+i+"]",e[i],n,r)}C.param=function(t,e){var n,r=[],i=function(t,e){var n=y(e)?e():e;r[r.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!C.isPlainObject(t))C.each(t,function(){i(this.name,this.value)});else for(n in t)qe(n,t[n],e,i);return r.join("&")},C.fn.extend({serialize:function(){return C.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=C.prop(this,"elements");return t?C.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!C(this).is(":disabled")&&De.test(this.nodeName)&&!Pe.test(t)&&(this.checked||!vt.test(t))}).map(function(t,e){var n=C(this).val();return null==n?null:Array.isArray(n)?C.map(n,function(t){return{name:e.name,value:t.replace(Oe,"\r\n")}}):{name:e.name,value:n.replace(Oe,"\r\n")}}).get()}});var Ne=/%20/g,Me=/#.*$/,Le=/([?&])_=[^&]*/,Ie=/^(.*?):[ \t]*([^\r\n]*)$/gm,Re=/^(?:GET|HEAD)$/,Fe=/^\/\//,Be={},ze={},We="*/".concat("*"),He=a.createElement("a");function $e(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var r,i=0,o=e.toLowerCase().match(R)||[];if(y(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(t[r]=t[r]||[]).unshift(n)):(t[r]=t[r]||[]).push(n)}}function Ue(t,e,n,r){var i={},o=t===ze;function a(u){var s;return i[u]=!0,C.each(t[u]||[],function(t,u){var c=u(e,n,r);return"string"!=typeof c||o||i[c]?o?!(s=c):void 0:(e.dataTypes.unshift(c),a(c),!1)}),s}return a(e.dataTypes[0])||!i["*"]&&a("*")}function Ve(t,e){var n,r,i=C.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((i[n]?t:r||(r={}))[n]=e[n]);return r&&C.extend(!0,t,r),t}He.href=Se.href,C.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Se.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Se.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":We,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":C.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?Ve(Ve(t,C.ajaxSettings),e):Ve(C.ajaxSettings,t)},ajaxPrefilter:$e(Be),ajaxTransport:$e(ze),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var r,i,o,u,s,c,l,f,h,p,d=C.ajaxSetup({},e),v=d.context||d,g=d.context&&(v.nodeType||v.jquery)?C(v):C.event,m=C.Deferred(),y=C.Callbacks("once memory"),b=d.statusCode||{},x={},w={},_="canceled",A={readyState:0,getResponseHeader:function(t){var e;if(l){if(!u)for(u={};e=Ie.exec(o);)u[e[1].toLowerCase()+" "]=(u[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=u[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return l?o:null},setRequestHeader:function(t,e){return null==l&&(t=w[t.toLowerCase()]=w[t.toLowerCase()]||t,x[t]=e),this},overrideMimeType:function(t){return null==l&&(d.mimeType=t),this},statusCode:function(t){var e;if(t)if(l)A.always(t[A.status]);else for(e in t)b[e]=[b[e],t[e]];return this},abort:function(t){var e=t||_;return r&&r.abort(e),T(0,e),this}};if(m.promise(A),d.url=((t||d.url||Se.href)+"").replace(Fe,Se.protocol+"//"),d.type=e.method||e.type||d.method||d.type,d.dataTypes=(d.dataType||"*").toLowerCase().match(R)||[""],null==d.crossDomain){c=a.createElement("a");try{c.href=d.url,c.href=c.href,d.crossDomain=He.protocol+"//"+He.host!=c.protocol+"//"+c.host}catch(t){d.crossDomain=!0}}if(d.data&&d.processData&&"string"!=typeof d.data&&(d.data=C.param(d.data,d.traditional)),Ue(Be,d,e,A),l)return A;for(h in(f=C.event&&d.global)&&0==C.active++&&C.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!Re.test(d.type),i=d.url.replace(Me,""),d.hasContent?d.data&&d.processData&&0===(d.contentType||"").indexOf("application/x-www-form-urlencoded")&&(d.data=d.data.replace(Ne,"+")):(p=d.url.slice(i.length),d.data&&(d.processData||"string"==typeof d.data)&&(i+=(Ee.test(i)?"&":"?")+d.data,delete d.data),!1===d.cache&&(i=i.replace(Le,"$1"),p=(Ee.test(i)?"&":"?")+"_="+ke+++p),d.url=i+p),d.ifModified&&(C.lastModified[i]&&A.setRequestHeader("If-Modified-Since",C.lastModified[i]),C.etag[i]&&A.setRequestHeader("If-None-Match",C.etag[i])),(d.data&&d.hasContent&&!1!==d.contentType||e.contentType)&&A.setRequestHeader("Content-Type",d.contentType),A.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+We+"; q=0.01":""):d.accepts["*"]),d.headers)A.setRequestHeader(h,d.headers[h]);if(d.beforeSend&&(!1===d.beforeSend.call(v,A,d)||l))return A.abort();if(_="abort",y.add(d.complete),A.done(d.success),A.fail(d.error),r=Ue(ze,d,e,A)){if(A.readyState=1,f&&g.trigger("ajaxSend",[A,d]),l)return A;d.async&&d.timeout>0&&(s=n.setTimeout(function(){A.abort("timeout")},d.timeout));try{l=!1,r.send(x,T)}catch(t){if(l)throw t;T(-1,t)}}else T(-1,"No Transport");function T(t,e,a,u){var c,h,p,x,w,_=e;l||(l=!0,s&&n.clearTimeout(s),r=void 0,o=u||"",A.readyState=t>0?4:0,c=t>=200&&t<300||304===t,a&&(x=function(t,e,n){for(var r,i,o,a,u=t.contents,s=t.dataTypes;"*"===s[0];)s.shift(),void 0===r&&(r=t.mimeType||e.getResponseHeader("Content-Type"));if(r)for(i in u)if(u[i]&&u[i].test(r)){s.unshift(i);break}if(s[0]in n)o=s[0];else{for(i in n){if(!s[0]||t.converters[i+" "+s[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==s[0]&&s.unshift(o),n[o]}(d,A,a)),x=function(t,e,n,r){var i,o,a,u,s,c={},l=t.dataTypes.slice();if(l[1])for(a in t.converters)c[a.toLowerCase()]=t.converters[a];for(o=l.shift();o;)if(t.responseFields[o]&&(n[t.responseFields[o]]=e),!s&&r&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),s=o,o=l.shift())if("*"===o)o=s;else if("*"!==s&&s!==o){if(!(a=c[s+" "+o]||c["* "+o]))for(i in c)if((u=i.split(" "))[1]===o&&(a=c[s+" "+u[0]]||c["* "+u[0]])){!0===a?a=c[i]:!0!==c[i]&&(o=u[0],l.unshift(u[1]));break}if(!0!==a)if(a&&t.throws)e=a(e);else try{e=a(e)}catch(t){return{state:"parsererror",error:a?t:"No conversion from "+s+" to "+o}}}return{state:"success",data:e}}(d,x,A,c),c?(d.ifModified&&((w=A.getResponseHeader("Last-Modified"))&&(C.lastModified[i]=w),(w=A.getResponseHeader("etag"))&&(C.etag[i]=w)),204===t||"HEAD"===d.type?_="nocontent":304===t?_="notmodified":(_=x.state,h=x.data,c=!(p=x.error))):(p=_,!t&&_||(_="error",t<0&&(t=0))),A.status=t,A.statusText=(e||_)+"",c?m.resolveWith(v,[h,_,A]):m.rejectWith(v,[A,_,p]),A.statusCode(b),b=void 0,f&&g.trigger(c?"ajaxSuccess":"ajaxError",[A,d,c?h:p]),y.fireWith(v,[A,_]),f&&(g.trigger("ajaxComplete",[A,d]),--C.active||C.event.trigger("ajaxStop")))}return A},getJSON:function(t,e,n){return C.get(t,e,n,"json")},getScript:function(t,e){return C.get(t,void 0,e,"script")}}),C.each(["get","post"],function(t,e){C[e]=function(t,n,r,i){return y(n)&&(i=i||r,r=n,n=void 0),C.ajax(C.extend({url:t,type:e,dataType:i,data:n,success:r},C.isPlainObject(t)&&t))}}),C._evalUrl=function(t,e){return C.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){C.globalEval(t,e)}})},C.fn.extend({wrapAll:function(t){var e;return this[0]&&(y(t)&&(t=t.call(this[0])),e=C(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(t){return y(t)?this.each(function(e){C(this).wrapInner(t.call(this,e))}):this.each(function(){var e=C(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=y(t);return this.each(function(n){C(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(t){return this.parent(t).not("body").each(function(){C(this).replaceWith(this.childNodes)}),this}}),C.expr.pseudos.hidden=function(t){return!C.expr.pseudos.visible(t)},C.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},C.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(t){}};var Xe={0:200,1223:204},Ye=C.ajaxSettings.xhr();m.cors=!!Ye&&"withCredentials"in Ye,m.ajax=Ye=!!Ye,C.ajaxTransport(function(t){var e,r;if(m.cors||Ye&&!t.crossDomain)return{send:function(i,o){var a,u=t.xhr();if(u.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)u[a]=t.xhrFields[a];for(a in t.mimeType&&u.overrideMimeType&&u.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)u.setRequestHeader(a,i[a]);e=function(t){return function(){e&&(e=r=u.onload=u.onerror=u.onabort=u.ontimeout=u.onreadystatechange=null,"abort"===t?u.abort():"error"===t?"number"!=typeof u.status?o(0,"error"):o(u.status,u.statusText):o(Xe[u.status]||u.status,u.statusText,"text"!==(u.responseType||"text")||"string"!=typeof u.responseText?{binary:u.response}:{text:u.responseText},u.getAllResponseHeaders()))}},u.onload=e(),r=u.onerror=u.ontimeout=e("error"),void 0!==u.onabort?u.onabort=r:u.onreadystatechange=function(){4===u.readyState&&n.setTimeout(function(){e&&r()})},e=e("abort");try{u.send(t.hasContent&&t.data||null)}catch(t){if(e)throw t}},abort:function(){e&&e()}}}),C.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),C.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return C.globalEval(t),t}}}),C.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),C.ajaxTransport("script",function(t){var e,n;if(t.crossDomain||t.scriptAttrs)return{send:function(r,i){e=C("<script>").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&i("error"===t.type?404:200,t.type)}),a.head.appendChild(e[0])},abort:function(){n&&n()}}});var Ge,Ze=[],Qe=/(=)\?(?=&|$)|\?\?/;C.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Ze.pop()||C.expando+"_"+ke++;return this[t]=!0,t}}),C.ajaxPrefilter("json jsonp",function(t,e,r){var i,o,a,u=!1!==t.jsonp&&(Qe.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Qe.test(t.data)&&"data");if(u||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=y(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,u?t[u]=t[u].replace(Qe,"$1"+i):!1!==t.jsonp&&(t.url+=(Ee.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return a||C.error(i+" was not called"),a[0]},t.dataTypes[0]="json",o=n[i],n[i]=function(){a=arguments},r.always(function(){void 0===o?C(n).removeProp(i):n[i]=o,t[i]&&(t.jsonpCallback=e.jsonpCallback,Ze.push(i)),a&&y(o)&&o(a[0]),a=o=void 0}),"script"}),m.createHTMLDocument=((Ge=a.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Ge.childNodes.length),C.parseHTML=function(t,e,n){return"string"!=typeof t?[]:("boolean"==typeof e&&(n=e,e=!1),e||(m.createHTMLDocument?((r=(e=a.implementation.createHTMLDocument("")).createElement("base")).href=a.location.href,e.head.appendChild(r)):e=a),o=!n&&[],(i=P.exec(t))?[e.createElement(i[1])]:(i=At([t],e,o),o&&o.length&&C(o).remove(),C.merge([],i.childNodes)));var r,i,o},C.fn.load=function(t,e,n){var r,i,o,a=this,u=t.indexOf(" ");return u>-1&&(r=xe(t.slice(u)),t=t.slice(0,u)),y(e)?(n=e,e=void 0):e&&"object"==typeof e&&(i="POST"),a.length>0&&C.ajax({url:t,type:i||"GET",dataType:"html",data:e}).done(function(t){o=arguments,a.html(r?C("<div>").append(C.parseHTML(t)).find(r):t)}).always(n&&function(t,e){a.each(function(){n.apply(this,o||[t.responseText,e,t])})}),this},C.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){C.fn[e]=function(t){return this.on(e,t)}}),C.expr.pseudos.animated=function(t){return C.grep(C.timers,function(e){return t===e.elem}).length},C.offset={setOffset:function(t,e,n){var r,i,o,a,u,s,c=C.css(t,"position"),l=C(t),f={};"static"===c&&(t.style.position="relative"),u=l.offset(),o=C.css(t,"top"),s=C.css(t,"left"),("absolute"===c||"fixed"===c)&&(o+s).indexOf("auto")>-1?(a=(r=l.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(s)||0),y(e)&&(e=e.call(t,n,C.extend({},u))),null!=e.top&&(f.top=e.top-u.top+a),null!=e.left&&(f.left=e.left-u.left+i),"using"in e?e.using.call(t,f):l.css(f)}},C.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){C.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,n,r=this[0],i={top:0,left:0};if("fixed"===C.css(r,"position"))e=r.getBoundingClientRect();else{for(e=this.offset(),n=r.ownerDocument,t=r.offsetParent||n.documentElement;t&&(t===n.body||t===n.documentElement)&&"static"===C.css(t,"position");)t=t.parentNode;t&&t!==r&&1===t.nodeType&&((i=C(t).offset()).top+=C.css(t,"borderTopWidth",!0),i.left+=C.css(t,"borderLeftWidth",!0))}return{top:e.top-i.top-C.css(r,"marginTop",!0),left:e.left-i.left-C.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===C.css(t,"position");)t=t.offsetParent;return t||at})}}),C.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var n="pageYOffset"===e;C.fn[t]=function(r){return U(this,function(t,r,i){var o;if(b(t)?o=t:9===t.nodeType&&(o=t.defaultView),void 0===i)return o?o[e]:t[r];o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):t[r]=i},t,r,arguments.length)}}),C.each(["top","left"],function(t,e){C.cssHooks[e]=Yt(m.pixelPosition,function(t,n){if(n)return n=Xt(t,e),$t.test(n)?C(t).position()[e]+"px":n})}),C.each({Height:"height",Width:"width"},function(t,e){C.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,r){C.fn[r]=function(i,o){var a=arguments.length&&(n||"boolean"!=typeof i),u=n||(!0===i||!0===o?"margin":"border");return U(this,function(e,n,i){var o;return b(e)?0===r.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(o=e.documentElement,Math.max(e.body["scroll"+t],o["scroll"+t],e.body["offset"+t],o["offset"+t],o["client"+t])):void 0===i?C.css(e,n,u):C.style(e,n,i,u)},e,a?i:void 0,a)}})}),C.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,e){C.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}),C.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),C.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,r){return this.on(e,t,n,r)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)}}),C.proxy=function(t,e){var n,r,i;if("string"==typeof e&&(n=t[e],e=t,t=n),y(t))return r=s.call(arguments,2),(i=function(){return t.apply(e||this,r.concat(s.call(arguments)))}).guid=t.guid=t.guid||C.guid++,i},C.holdReady=function(t){t?C.readyWait++:C.ready(!0)},C.isArray=Array.isArray,C.parseJSON=JSON.parse,C.nodeName=O,C.isFunction=y,C.isWindow=b,C.camelCase=G,C.type=_,C.now=Date.now,C.isNumeric=function(t){var e=C.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},void 0===(r=function(){return C}.apply(e,[]))||(t.exports=r);var Ke=n.jQuery,Je=n.$;return C.noConflict=function(t){return n.$===C&&(n.$=Je),t&&n.jQuery===C&&(n.jQuery=Ke),C},i||(n.jQuery=n.$=C),C})},function(t,e,n){"undefined"!=typeof self&&self,t.exports=function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=2)}([function(t,e,n){(function(t,r){var i;(function(){function o(t,e){return t.set(e[0],e[1]),t}function a(t,e){return t.add(e),t}function u(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function s(t,e,n,r){for(var i=-1,o=null==t?0:t.length;++i<o;){var a=t[i];e(r,a,n(a),t)}return r}function c(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}function l(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}function f(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(!e(t[n],n,t))return!1;return!0}function h(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n<r;){var a=t[n];e(a,n,t)&&(o[i++]=a)}return o}function p(t,e){return!(null==t||!t.length)&&C(t,e,0)>-1}function d(t,e,n){for(var r=-1,i=null==t?0:t.length;++r<i;)if(n(e,t[r]))return!0;return!1}function v(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}function g(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}function m(t,e,n,r){var i=-1,o=null==t?0:t.length;for(r&&o&&(n=t[++i]);++i<o;)n=e(n,t[i],i,t);return n}function y(t,e,n,r){var i=null==t?0:t.length;for(r&&i&&(n=t[--i]);i--;)n=e(n,t[i],i,t);return n}function b(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}function x(t){return t.match(Ee)||[]}function w(t,e,n){var r;return n(t,function(t,n,i){if(e(t,n,i))return r=n,!1}),r}function _(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return-1}function C(t,e,n){return e==e?function(t,e,n){for(var r=n-1,i=t.length;++r<i;)if(t[r]===e)return r;return-1}(t,e,n):_(t,T,n)}function A(t,e,n,r){for(var i=n-1,o=t.length;++i<o;)if(r(t[i],e))return i;return-1}function T(t){return t!=t}function S(t,e){var n=null==t?0:t.length;return n?O(t,e)/n:Ct}function k(t){return function(e){return null==e?X:e[t]}}function E(t){return function(e){return null==t?X:t[e]}}function j(t,e,n,r,i){return i(t,function(t,i,o){n=r?(r=!1,t):e(n,t,i,o)}),n}function O(t,e){for(var n,r=-1,i=t.length;++r<i;){var o=e(t[r]);o!==X&&(n=n===X?o:n+o)}return n}function P(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function D(t){return function(e){return t(e)}}function q(t,e){return v(e,function(e){return t[e]})}function N(t,e){return t.has(e)}function M(t,e){for(var n=-1,r=t.length;++n<r&&C(e,t[n],0)>-1;);return n}function L(t,e){for(var n=t.length;n--&&C(e,t[n],0)>-1;);return n}function I(t){return"\\"+fn[t]}function R(t){return on.test(t)}function F(t){return an.test(t)}function B(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}function z(t,e){return function(n){return t(e(n))}}function W(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var a=t[n];a!==e&&a!==K||(t[n]=K,o[i++]=n)}return o}function H(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}function $(t){return R(t)?function(t){for(var e=nn.lastIndex=0;nn.test(t);)++e;return e}(t):En(t)}function U(t){return R(t)?function(t){return t.match(nn)||[]}(t):function(t){return t.split("")}(t)}function V(t){return t.match(rn)||[]}var X,Y=200,G="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",Z="Expected a function",Q="__lodash_hash_undefined__",K="__lodash_placeholder__",J=1,tt=2,et=4,nt=1,rt=2,it=1,ot=2,at=4,ut=8,st=16,ct=32,lt=64,ft=128,ht=256,pt=512,dt=30,vt="...",gt=800,mt=16,yt=1,bt=2,xt=1/0,wt=9007199254740991,_t=17976931348623157e292,Ct=NaN,At=4294967295,Tt=At-1,St=At>>>1,kt=[["ary",ft],["bind",it],["bindKey",ot],["curry",ut],["curryRight",st],["flip",pt],["partial",ct],["partialRight",lt],["rearg",ht]],Et="[object Arguments]",jt="[object Array]",Ot="[object AsyncFunction]",Pt="[object Boolean]",Dt="[object Date]",qt="[object DOMException]",Nt="[object Error]",Mt="[object Function]",Lt="[object GeneratorFunction]",It="[object Map]",Rt="[object Number]",Ft="[object Null]",Bt="[object Object]",zt="[object Proxy]",Wt="[object RegExp]",Ht="[object Set]",$t="[object String]",Ut="[object Symbol]",Vt="[object Undefined]",Xt="[object WeakMap]",Yt="[object WeakSet]",Gt="[object ArrayBuffer]",Zt="[object DataView]",Qt="[object Float32Array]",Kt="[object Float64Array]",Jt="[object Int8Array]",te="[object Int16Array]",ee="[object Int32Array]",ne="[object Uint8Array]",re="[object Uint8ClampedArray]",ie="[object Uint16Array]",oe="[object Uint32Array]",ae=/\b__p \+= '';/g,ue=/\b(__p \+=) '' \+/g,se=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ce=/&(?:amp|lt|gt|quot|#39);/g,le=/[&<>"']/g,fe=RegExp(ce.source),he=RegExp(le.source),pe=/<%-([\s\S]+?)%>/g,de=/<%([\s\S]+?)%>/g,ve=/<%=([\s\S]+?)%>/g,ge=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,me=/^\w*$/,ye=/^\./,be=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,xe=/[\\^$.*+?()[\]{}|]/g,we=RegExp(xe.source),_e=/^\s+|\s+$/g,Ce=/^\s+/,Ae=/\s+$/,Te=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Se=/\{\n\/\* \[wrapped with (.+)\] \*/,ke=/,? & /,Ee=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,je=/\\(\\)?/g,Oe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Pe=/\w*$/,De=/^[-+]0x[0-9a-f]+$/i,qe=/^0b[01]+$/i,Ne=/^\[object .+?Constructor\]$/,Me=/^0o[0-7]+$/i,Le=/^(?:0|[1-9]\d*)$/,Ie=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Re=/($^)/,Fe=/['\n\r\u2028\u2029\\]/g,Be="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",ze="\\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",We="["+ze+"]",He="["+Be+"]",$e="[a-z\\xdf-\\xf6\\xf8-\\xff]",Ue="\\ud83c[\\udffb-\\udfff]",Ve="(?:\\ud83c[\\udde6-\\uddff]){2}",Xe="[\\ud800-\\udbff][\\udc00-\\udfff]",Ye="[A-Z\\xc0-\\xd6\\xd8-\\xde]",Ge="(?:"+$e+"|[^\\ud800-\\udfff\\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\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])",Ze="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",Qe="[\\ufe0e\\ufe0f]?"+Ze+"(?:\\u200d(?:"+["[^\\ud800-\\udfff]",Ve,Xe].join("|")+")[\\ufe0e\\ufe0f]?"+Ze+")*",Ke="(?:"+["[\\u2700-\\u27bf]",Ve,Xe].join("|")+")"+Qe,Je="(?:"+["[^\\ud800-\\udfff]"+He+"?",He,Ve,Xe,"[\\ud800-\\udfff]"].join("|")+")",tn=RegExp("['’]","g"),en=RegExp(He,"g"),nn=RegExp(Ue+"(?="+Ue+")|"+Je+Qe,"g"),rn=RegExp([Ye+"?"+$e+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[We,Ye,"$"].join("|")+")","(?:[A-Z\\xc0-\\xd6\\xd8-\\xde]|[^\\ud800-\\udfff\\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\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[We,Ye+Ge,"$"].join("|")+")",Ye+"?"+Ge+"+(?:['’](?:d|ll|m|re|s|t|ve))?",Ye+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:(?:1ST|2ND|3RD|(?![123])\\dTH)\\b)","\\d*(?:(?:1st|2nd|3rd|(?![123])\\dth)\\b)","\\d+",Ke].join("|"),"g"),on=RegExp("[\\u200d\\ud800-\\udfff"+Be+"\\ufe0e\\ufe0f]"),an=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,un=["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"],sn=-1,cn={};cn[Qt]=cn[Kt]=cn[Jt]=cn[te]=cn[ee]=cn[ne]=cn[re]=cn[ie]=cn[oe]=!0,cn[Et]=cn[jt]=cn[Gt]=cn[Pt]=cn[Zt]=cn[Dt]=cn[Nt]=cn[Mt]=cn[It]=cn[Rt]=cn[Bt]=cn[Wt]=cn[Ht]=cn[$t]=cn[Xt]=!1;var ln={};ln[Et]=ln[jt]=ln[Gt]=ln[Zt]=ln[Pt]=ln[Dt]=ln[Qt]=ln[Kt]=ln[Jt]=ln[te]=ln[ee]=ln[It]=ln[Rt]=ln[Bt]=ln[Wt]=ln[Ht]=ln[$t]=ln[Ut]=ln[ne]=ln[re]=ln[ie]=ln[oe]=!0,ln[Nt]=ln[Mt]=ln[Xt]=!1;var fn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},hn=parseFloat,pn=parseInt,dn="object"==typeof t&&t&&t.Object===Object&&t,vn="object"==typeof self&&self&&self.Object===Object&&self,gn=dn||vn||Function("return this")(),mn="object"==typeof e&&e&&!e.nodeType&&e,yn=mn&&"object"==typeof r&&r&&!r.nodeType&&r,bn=yn&&yn.exports===mn,xn=bn&&dn.process,wn=function(){try{return xn&&xn.binding&&xn.binding("util")}catch(t){}}(),_n=wn&&wn.isArrayBuffer,Cn=wn&&wn.isDate,An=wn&&wn.isMap,Tn=wn&&wn.isRegExp,Sn=wn&&wn.isSet,kn=wn&&wn.isTypedArray,En=k("length"),jn=E({"À":"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","Œ":"Oe","œ":"oe","ŉ":"'n","ſ":"s"}),On=E({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"}),Pn=E({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),Dn=function t(e){function n(t){if(so(t)&&!Ku(t)&&!(t instanceof o)){if(t instanceof i)return t;if(Ko.call(t,"__wrapped__"))return Ni(t)}return new i(t)}function r(){}function i(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=X}function o(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=At,this.__views__=[]}function a(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function E(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Ee(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Be(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new Ee;++e<n;)this.add(t[e])}function ze(t){var e=this.__data__=new E(t);this.size=e.size}function We(t,e){var n=Ku(t),r=!n&&Qu(t),i=!n&&!r&&ts(t),o=!n&&!r&&!i&&os(t),a=n||r||i||o,u=a?P(t.length,Uo):[],s=u.length;for(var c in t)!e&&!Ko.call(t,c)||a&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||xi(c,s))||u.push(c);return u}function He(t){var e=t.length;return e?t[rr(0,e-1)]:X}function $e(t,e){return Pi(Nr(t),Je(e,0,t.length))}function Ue(t){return Pi(Nr(t))}function Ve(t,e,n){(n===X||to(t[e],n))&&(n!==X||e in t)||Qe(t,e,n)}function Xe(t,e,n){var r=t[e];Ko.call(t,e)&&to(r,n)&&(n!==X||e in t)||Qe(t,e,n)}function Ye(t,e){for(var n=t.length;n--;)if(to(t[n][0],e))return n;return-1}function Ge(t,e,n,r){return Za(t,function(t,i,o){e(r,t,n(t),o)}),r}function Ze(t,e){return t&&Mr(e,Co(e),t)}function Qe(t,e,n){"__proto__"==e&&ga?ga(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function Ke(t,e){for(var n=-1,r=e.length,i=Ro(r),o=null==t;++n<r;)i[n]=o?X:wo(t,e[n]);return i}function Je(t,e,n){return t==t&&(n!==X&&(t=t<=n?t:n),e!==X&&(t=t>=e?t:e)),t}function nn(t,e,n,r,i,o){var a,u=e&J,s=e&tt,l=e&et;if(n&&(a=i?n(t,r,i,o):n(t)),a!==X)return a;if(!uo(t))return t;var f=Ku(t);if(f){if(a=function(t){var e=t.length,n=t.constructor(e);return e&&"string"==typeof t[0]&&Ko.call(t,"index")&&(n.index=t.index,n.input=t.input),n}(t),!u)return Nr(t,a)}else{var h=su(t),p=h==Mt||h==Lt;if(ts(t))return Er(t,u);if(h==Bt||h==Et||p&&!i){if(a=s||p?{}:yi(t),!u)return s?function(t,e){return Mr(t,uu(t),e)}(t,function(t,e){return t&&Mr(e,Ao(e),t)}(a,t)):function(t,e){return Mr(t,au(t),e)}(t,Ze(a,t))}else{if(!ln[h])return i?t:{};a=function(t,e,n,r){var i=t.constructor;switch(e){case Gt:return jr(t);case Pt:case Dt:return new i(+t);case Zt:return function(t,e){var n=e?jr(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,r);case Qt:case Kt:case Jt:case te:case ee:case ne:case re:case ie:case oe:return Or(t,r);case It:return function(t,e,n){return m(e?n(B(t),J):B(t),o,new t.constructor)}(t,r,n);case Rt:case $t:return new i(t);case Wt:return function(t){var e=new t.constructor(t.source,Pe.exec(t));return e.lastIndex=t.lastIndex,e}(t);case Ht:return function(t,e,n){return m(e?n(H(t),J):H(t),a,new t.constructor)}(t,r,n);case Ut:return function(t){return Xa?Ho(Xa.call(t)):{}}(t)}}(t,h,nn,u)}}o||(o=new ze);var d=o.get(t);if(d)return d;o.set(t,a);var v=f?X:(l?s?li:ci:s?Ao:Co)(t);return c(v||t,function(r,i){v&&(r=t[i=r]),Xe(a,i,nn(r,e,n,i,t,o))}),a}function rn(t,e,n){var r=n.length;if(null==t)return!r;for(t=Ho(t);r--;){var i=n[r],o=e[i],a=t[i];if(a===X&&!(i in t)||!o(a))return!1}return!0}function on(t,e,n){if("function"!=typeof t)throw new Vo(Z);return fu(function(){t.apply(X,n)},e)}function an(t,e,n,r){var i=-1,o=p,a=!0,u=t.length,s=[],c=e.length;if(!u)return s;n&&(e=v(e,D(n))),r?(o=d,a=!1):e.length>=Y&&(o=N,a=!1,e=new Be(e));t:for(;++i<u;){var l=t[i],f=null==n?l:n(l);if(l=r||0!==l?l:0,a&&f==f){for(var h=c;h--;)if(e[h]===f)continue t;s.push(l)}else o(e,f,r)||s.push(l)}return s}function fn(t,e){var n=!0;return Za(t,function(t,r,i){return n=!!e(t,r,i)}),n}function dn(t,e,n){for(var r=-1,i=t.length;++r<i;){var o=t[r],a=e(o);if(null!=a&&(u===X?a==a&&!ho(a):n(a,u)))var u=a,s=o}return s}function vn(t,e){var n=[];return Za(t,function(t,r,i){e(t,r,i)&&n.push(t)}),n}function mn(t,e,n,r,i){var o=-1,a=t.length;for(n||(n=bi),i||(i=[]);++o<a;){var u=t[o];e>0&&n(u)?e>1?mn(u,e-1,n,r,i):g(i,u):r||(i[i.length]=u)}return i}function yn(t,e){return t&&Ka(t,e,Co)}function xn(t,e){return t&&Ja(t,e,Co)}function wn(t,e){return h(e,function(e){return io(t[e])})}function En(t,e){for(var n=0,r=(e=Sr(e,t)).length;null!=t&&n<r;)t=t[Di(e[n++])];return n&&n==r?t:X}function qn(t,e,n){var r=e(t);return Ku(t)?r:g(r,n(t))}function Nn(t){return null==t?t===X?Vt:Ft:va&&va in Ho(t)?function(t){var e=Ko.call(t,va),n=t[va];try{t[va]=X;var r=!0}catch(t){}var i=ea.call(t);return r&&(e?t[va]=n:delete t[va]),i}(t):function(t){return ea.call(t)}(t)}function Mn(t,e){return t>e}function Ln(t,e){return null!=t&&Ko.call(t,e)}function In(t,e){return null!=t&&e in Ho(t)}function Rn(t,e,n){for(var r=n?d:p,i=t[0].length,o=t.length,a=o,u=Ro(o),s=1/0,c=[];a--;){var l=t[a];a&&e&&(l=v(l,D(e))),s=Ea(l.length,s),u[a]=!n&&(e||i>=120&&l.length>=120)?new Be(a&&l):X}l=t[0];var f=-1,h=u[0];t:for(;++f<i&&c.length<s;){var g=l[f],m=e?e(g):g;if(g=n||0!==g?g:0,!(h?N(h,m):r(c,m,n))){for(a=o;--a;){var y=u[a];if(!(y?N(y,m):r(t[a],m,n)))continue t}h&&h.push(m),c.push(g)}}return c}function Fn(t,e,n){var r=null==(t=Ei(t,e=Sr(e,t)))?t:t[Di(Fi(e))];return null==r?X:u(r,t,n)}function Bn(t){return so(t)&&Nn(t)==Et}function zn(t,e,n,r,i){return t===e||(null==t||null==e||!so(t)&&!so(e)?t!=t&&e!=e:function(t,e,n,r,i,o){var a=Ku(t),u=Ku(e),s=a?jt:su(t),c=u?jt:su(e),l=(s=s==Et?Bt:s)==Bt,f=(c=c==Et?Bt:c)==Bt,h=s==c;if(h&&ts(t)){if(!ts(e))return!1;a=!0,l=!1}if(h&&!l)return o||(o=new ze),a||os(t)?ui(t,e,n,r,i,o):function(t,e,n,r,i,o,a){switch(n){case Zt:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case Gt:return!(t.byteLength!=e.byteLength||!o(new ua(t),new ua(e)));case Pt:case Dt:case Rt:return to(+t,+e);case Nt:return t.name==e.name&&t.message==e.message;case Wt:case $t:return t==e+"";case It:var u=B;case Ht:var s=r&nt;if(u||(u=H),t.size!=e.size&&!s)return!1;var c=a.get(t);if(c)return c==e;r|=rt,a.set(t,e);var l=ui(u(t),u(e),r,i,o,a);return a.delete(t),l;case Ut:if(Xa)return Xa.call(t)==Xa.call(e)}return!1}(t,e,s,n,r,i,o);if(!(n&nt)){var p=l&&Ko.call(t,"__wrapped__"),d=f&&Ko.call(e,"__wrapped__");if(p||d){var v=p?t.value():t,g=d?e.value():e;return o||(o=new ze),i(v,g,n,r,o)}}return!!h&&(o||(o=new ze),function(t,e,n,r,i,o){var a=n&nt,u=ci(t),s=u.length;if(s!=ci(e).length&&!a)return!1;for(var c=s;c--;){var l=u[c];if(!(a?l in e:Ko.call(e,l)))return!1}var f=o.get(t);if(f&&o.get(e))return f==e;var h=!0;o.set(t,e),o.set(e,t);for(var p=a;++c<s;){l=u[c];var d=t[l],v=e[l];if(r)var g=a?r(v,d,l,e,t,o):r(d,v,l,t,e,o);if(!(g===X?d===v||i(d,v,n,r,o):g)){h=!1;break}p||(p="constructor"==l)}if(h&&!p){var m=t.constructor,y=e.constructor;m!=y&&"constructor"in t&&"constructor"in e&&!("function"==typeof m&&m instanceof m&&"function"==typeof y&&y instanceof y)&&(h=!1)}return o.delete(t),o.delete(e),h}(t,e,n,r,i,o))}(t,e,n,r,zn,i))}function Wn(t,e,n,r){var i=n.length,o=i,a=!r;if(null==t)return!o;for(t=Ho(t);i--;){var u=n[i];if(a&&u[2]?u[1]!==t[u[0]]:!(u[0]in t))return!1}for(;++i<o;){var s=(u=n[i])[0],c=t[s],l=u[1];if(a&&u[2]){if(c===X&&!(s in t))return!1}else{var f=new ze;if(r)var h=r(c,l,s,t,e,f);if(!(h===X?zn(l,c,nt|rt,r,f):h))return!1}}return!0}function Hn(t){return!(!uo(t)||function(t){return!!ta&&ta in t}(t))&&(io(t)?ia:Ne).test(qi(t))}function $n(t){return"function"==typeof t?t:null==t?Po:"object"==typeof t?Ku(t)?Zn(t[0],t[1]):Gn(t):Mo(t)}function Un(t){if(!Ai(t))return Sa(t);var e=[];for(var n in Ho(t))Ko.call(t,n)&&"constructor"!=n&&e.push(n);return e}function Vn(t){if(!uo(t))return function(t){var e=[];if(null!=t)for(var n in Ho(t))e.push(n);return e}(t);var e=Ai(t),n=[];for(var r in t)("constructor"!=r||!e&&Ko.call(t,r))&&n.push(r);return n}function Xn(t,e){return t<e}function Yn(t,e){var n=-1,r=eo(t)?Ro(t.length):[];return Za(t,function(t,i,o){r[++n]=e(t,i,o)}),r}function Gn(t){var e=vi(t);return 1==e.length&&e[0][2]?Si(e[0][0],e[0][1]):function(n){return n===t||Wn(n,t,e)}}function Zn(t,e){return _i(t)&&Ti(e)?Si(Di(t),e):function(n){var r=wo(n,t);return r===X&&r===e?_o(n,t):zn(e,r,nt|rt)}}function Qn(t,e,n,r,i){t!==e&&Ka(e,function(o,a){if(uo(o))i||(i=new ze),function(t,e,n,r,i,o,a){var u=t[n],s=e[n],c=a.get(s);if(c)Ve(t,n,c);else{var l=o?o(u,s,n+"",t,e,a):X,f=l===X;if(f){var h=Ku(s),p=!h&&ts(s),d=!h&&!p&&os(s);l=s,h||p||d?Ku(u)?l=u:no(u)?l=Nr(u):p?(f=!1,l=Er(s,!0)):d?(f=!1,l=Or(s,!0)):l=[]:lo(s)||Qu(s)?(l=u,Qu(u)?l=bo(u):(!uo(u)||r&&io(u))&&(l=yi(s))):f=!1}f&&(a.set(s,l),i(l,s,r,o,a),a.delete(s)),Ve(t,n,l)}}(t,e,a,n,Qn,r,i);else{var u=r?r(t[a],o,a+"",t,e,i):X;u===X&&(u=o),Ve(t,a,u)}},Ao)}function Kn(t,e){var n=t.length;if(n)return xi(e+=e<0?n:0,n)?t[e]:X}function Jn(t,e,n){var r=-1;return e=v(e.length?e:[Po],D(pi())),function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}(Yn(t,function(t,n,i){return{criteria:v(e,function(e){return e(t)}),index:++r,value:t}}),function(t,e){return function(t,e,n){for(var r=-1,i=t.criteria,o=e.criteria,a=i.length,u=n.length;++r<a;){var s=Pr(i[r],o[r]);if(s)return r>=u?s:s*("desc"==n[r]?-1:1)}return t.index-e.index}(t,e,n)})}function tr(t,e,n){for(var r=-1,i=e.length,o={};++r<i;){var a=e[r],u=En(t,a);n(u,a)&&sr(o,Sr(a,t),u)}return o}function er(t,e,n,r){var i=r?A:C,o=-1,a=e.length,u=t;for(t===e&&(e=Nr(e)),n&&(u=v(t,D(n)));++o<a;)for(var s=0,c=e[o],l=n?n(c):c;(s=i(u,l,s,r))>-1;)u!==t&&ha.call(u,s,1),ha.call(t,s,1);return t}function nr(t,e){for(var n=t?e.length:0,r=n-1;n--;){var i=e[n];if(n==r||i!==o){var o=i;xi(i)?ha.call(t,i,1):yr(t,i)}}return t}function rr(t,e){return t+wa(Pa()*(e-t+1))}function ir(t,e){var n="";if(!t||e<1||e>wt)return n;do{e%2&&(n+=t),(e=wa(e/2))&&(t+=t)}while(e);return n}function or(t,e){return hu(ki(t,e,Po),t+"")}function ar(t){return He(So(t))}function ur(t,e){var n=So(t);return Pi(n,Je(e,0,n.length))}function sr(t,e,n,r){if(!uo(t))return t;for(var i=-1,o=(e=Sr(e,t)).length,a=o-1,u=t;null!=u&&++i<o;){var s=Di(e[i]),c=n;if(i!=a){var l=u[s];(c=r?r(l,s,u):X)===X&&(c=uo(l)?l:xi(e[i+1])?[]:{})}Xe(u,s,c),u=u[s]}return t}function cr(t){return Pi(So(t))}function lr(t,e,n){var r=-1,i=t.length;e<0&&(e=-e>i?0:i+e),(n=n>i?i:n)<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var o=Ro(i);++r<i;)o[r]=t[r+e];return o}function fr(t,e){var n;return Za(t,function(t,r,i){return!(n=e(t,r,i))}),!!n}function hr(t,e,n){var r=0,i=null==t?r:t.length;if("number"==typeof e&&e==e&&i<=St){for(;r<i;){var o=r+i>>>1,a=t[o];null!==a&&!ho(a)&&(n?a<=e:a<e)?r=o+1:i=o}return i}return pr(t,e,Po,n)}function pr(t,e,n,r){e=n(e);for(var i=0,o=null==t?0:t.length,a=e!=e,u=null===e,s=ho(e),c=e===X;i<o;){var l=wa((i+o)/2),f=n(t[l]),h=f!==X,p=null===f,d=f==f,v=ho(f);if(a)var g=r||d;else g=c?d&&(r||h):u?d&&h&&(r||!p):s?d&&h&&!p&&(r||!v):!p&&!v&&(r?f<=e:f<e);g?i=l+1:o=l}return Ea(o,Tt)}function dr(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var a=t[n],u=e?e(a):a;if(!n||!to(u,s)){var s=u;o[i++]=0===a?0:a}}return o}function vr(t){return"number"==typeof t?t:ho(t)?Ct:+t}function gr(t){if("string"==typeof t)return t;if(Ku(t))return v(t,gr)+"";if(ho(t))return Ya?Ya.call(t):"";var e=t+"";return"0"==e&&1/t==-xt?"-0":e}function mr(t,e,n){var r=-1,i=p,o=t.length,a=!0,u=[],s=u;if(n)a=!1,i=d;else if(o>=Y){var c=e?null:iu(t);if(c)return H(c);a=!1,i=N,s=new Be}else s=e?[]:u;t:for(;++r<o;){var l=t[r],f=e?e(l):l;if(l=n||0!==l?l:0,a&&f==f){for(var h=s.length;h--;)if(s[h]===f)continue t;e&&s.push(f),u.push(l)}else i(s,f,n)||(s!==u&&s.push(f),u.push(l))}return u}function yr(t,e){return null==(t=Ei(t,e=Sr(e,t)))||delete t[Di(Fi(e))]}function br(t,e,n,r){return sr(t,e,n(En(t,e)),r)}function xr(t,e,n,r){for(var i=t.length,o=r?i:-1;(r?o--:++o<i)&&e(t[o],o,t););return n?lr(t,r?0:o,r?o+1:i):lr(t,r?o+1:0,r?i:o)}function wr(t,e){var n=t;return n instanceof o&&(n=n.value()),m(e,function(t,e){return e.func.apply(e.thisArg,g([t],e.args))},n)}function _r(t,e,n){var r=t.length;if(r<2)return r?mr(t[0]):[];for(var i=-1,o=Ro(r);++i<r;)for(var a=t[i],u=-1;++u<r;)u!=i&&(o[i]=an(o[i]||a,t[u],e,n));return mr(mn(o,1),e,n)}function Cr(t,e,n){for(var r=-1,i=t.length,o=e.length,a={};++r<i;){var u=r<o?e[r]:X;n(a,t[r],u)}return a}function Ar(t){return no(t)?t:[]}function Tr(t){return"function"==typeof t?t:Po}function Sr(t,e){return Ku(t)?t:_i(t,e)?[t]:pu(xo(t))}function kr(t,e,n){var r=t.length;return n=n===X?r:n,!e&&n>=r?t:lr(t,e,n)}function Er(t,e){if(e)return t.slice();var n=t.length,r=sa?sa(n):new t.constructor(n);return t.copy(r),r}function jr(t){var e=new t.constructor(t.byteLength);return new ua(e).set(new ua(t)),e}function Or(t,e){var n=e?jr(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function Pr(t,e){if(t!==e){var n=t!==X,r=null===t,i=t==t,o=ho(t),a=e!==X,u=null===e,s=e==e,c=ho(e);if(!u&&!c&&!o&&t>e||o&&a&&s&&!u&&!c||r&&a&&s||!n&&s||!i)return 1;if(!r&&!o&&!c&&t<e||c&&n&&i&&!r&&!o||u&&n&&i||!a&&i||!s)return-1}return 0}function Dr(t,e,n,r){for(var i=-1,o=t.length,a=n.length,u=-1,s=e.length,c=ka(o-a,0),l=Ro(s+c),f=!r;++u<s;)l[u]=e[u];for(;++i<a;)(f||i<o)&&(l[n[i]]=t[i]);for(;c--;)l[u++]=t[i++];return l}function qr(t,e,n,r){for(var i=-1,o=t.length,a=-1,u=n.length,s=-1,c=e.length,l=ka(o-u,0),f=Ro(l+c),h=!r;++i<l;)f[i]=t[i];for(var p=i;++s<c;)f[p+s]=e[s];for(;++a<u;)(h||i<o)&&(f[p+n[a]]=t[i++]);return f}function Nr(t,e){var n=-1,r=t.length;for(e||(e=Ro(r));++n<r;)e[n]=t[n];return e}function Mr(t,e,n,r){var i=!n;n||(n={});for(var o=-1,a=e.length;++o<a;){var u=e[o],s=r?r(n[u],t[u],u,n,t):X;s===X&&(s=t[u]),i?Qe(n,u,s):Xe(n,u,s)}return n}function Lr(t,e){return function(n,r){var i=Ku(n)?s:Ge,o=e?e():{};return i(n,t,pi(r,2),o)}}function Ir(t){return or(function(e,n){var r=-1,i=n.length,o=i>1?n[i-1]:X,a=i>2?n[2]:X;for(o=t.length>3&&"function"==typeof o?(i--,o):X,a&&wi(n[0],n[1],a)&&(o=i<3?X:o,i=1),e=Ho(e);++r<i;){var u=n[r];u&&t(e,u,r,o)}return e})}function Rr(t,e){return function(n,r){if(null==n)return n;if(!eo(n))return t(n,r);for(var i=n.length,o=e?i:-1,a=Ho(n);(e?o--:++o<i)&&!1!==r(a[o],o,a););return n}}function Fr(t){return function(e,n,r){for(var i=-1,o=Ho(e),a=r(e),u=a.length;u--;){var s=a[t?u:++i];if(!1===n(o[s],s,o))break}return e}}function Br(t){return function(e){var n=R(e=xo(e))?U(e):X,r=n?n[0]:e.charAt(0),i=n?kr(n,1).join(""):e.slice(1);return r[t]()+i}}function zr(t){return function(e){return m(jo(Eo(e).replace(tn,"")),t,"")}}function Wr(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=Ga(t.prototype),r=t.apply(n,e);return uo(r)?r:n}}function Hr(t,e,n){var r=Wr(t);return function i(){for(var o=arguments.length,a=Ro(o),s=o,c=hi(i);s--;)a[s]=arguments[s];var l=o<3&&a[0]!==c&&a[o-1]!==c?[]:W(a,c);return(o-=l.length)<n?ti(t,e,Vr,i.placeholder,X,a,l,X,X,n-o):u(this&&this!==gn&&this instanceof i?r:t,this,a)}}function $r(t){return function(e,n,r){var i=Ho(e);if(!eo(e)){var o=pi(n,3);e=Co(e),n=function(t){return o(i[t],t,i)}}var a=t(e,n,r);return a>-1?i[o?e[a]:a]:X}}function Ur(t){return si(function(e){var n=e.length,r=n,o=i.prototype.thru;for(t&&e.reverse();r--;){var a=e[r];if("function"!=typeof a)throw new Vo(Z);if(o&&!u&&"wrapper"==fi(a))var u=new i([],!0)}for(r=u?r:n;++r<n;){var s=fi(a=e[r]),c="wrapper"==s?ou(a):X;u=c&&Ci(c[0])&&c[1]==(ft|ut|ct|ht)&&!c[4].length&&1==c[9]?u[fi(c[0])].apply(u,c[3]):1==a.length&&Ci(a)?u[s]():u.thru(a)}return function(){var t=arguments,r=t[0];if(u&&1==t.length&&Ku(r))return u.plant(r).value();for(var i=0,o=n?e[i].apply(this,t):r;++i<n;)o=e[i].call(this,o);return o}})}function Vr(t,e,n,r,i,o,a,u,s,c){var l=e&ft,f=e&it,h=e&ot,p=e&(ut|st),d=e&pt,v=h?X:Wr(t);return function g(){for(var m=arguments.length,y=Ro(m),b=m;b--;)y[b]=arguments[b];if(p)var x=hi(g),w=function(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}(y,x);if(r&&(y=Dr(y,r,i,p)),o&&(y=qr(y,o,a,p)),m-=w,p&&m<c){var _=W(y,x);return ti(t,e,Vr,g.placeholder,n,y,_,u,s,c-m)}var C=f?n:this,A=h?C[t]:t;return m=y.length,u?y=function(t,e){for(var n=t.length,r=Ea(e.length,n),i=Nr(t);r--;){var o=e[r];t[r]=xi(o,n)?i[o]:X}return t}(y,u):d&&m>1&&y.reverse(),l&&s<m&&(y.length=s),this&&this!==gn&&this instanceof g&&(A=v||Wr(A)),A.apply(C,y)}}function Xr(t,e){return function(n,r){return function(t,e,n,r){return yn(t,function(t,i,o){e(r,n(t),i,o)}),r}(n,t,e(r),{})}}function Yr(t,e){return function(n,r){var i;if(n===X&&r===X)return e;if(n!==X&&(i=n),r!==X){if(i===X)return r;"string"==typeof n||"string"==typeof r?(n=gr(n),r=gr(r)):(n=vr(n),r=vr(r)),i=t(n,r)}return i}}function Gr(t){return si(function(e){return e=v(e,D(pi())),or(function(n){var r=this;return t(e,function(t){return u(t,r,n)})})})}function Zr(t,e){var n=(e=e===X?" ":gr(e)).length;if(n<2)return n?ir(e,t):e;var r=ir(e,xa(t/$(e)));return R(e)?kr(U(r),0,t).join(""):r.slice(0,t)}function Qr(t,e,n,r){var i=e&it,o=Wr(t);return function e(){for(var a=-1,s=arguments.length,c=-1,l=r.length,f=Ro(l+s),h=this&&this!==gn&&this instanceof e?o:t;++c<l;)f[c]=r[c];for(;s--;)f[c++]=arguments[++a];return u(h,i?n:this,f)}}function Kr(t){return function(e,n,r){return r&&"number"!=typeof r&&wi(e,n,r)&&(n=r=X),e=vo(e),n===X?(n=e,e=0):n=vo(n),function(t,e,n,r){for(var i=-1,o=ka(xa((e-t)/(n||1)),0),a=Ro(o);o--;)a[r?o:++i]=t,t+=n;return a}(e,n,r=r===X?e<n?1:-1:vo(r),t)}}function Jr(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=yo(e),n=yo(n)),t(e,n)}}function ti(t,e,n,r,i,o,a,u,s,c){var l=e&ut;e|=l?ct:lt,(e&=~(l?lt:ct))&at||(e&=~(it|ot));var f=[t,e,i,l?o:X,l?a:X,l?X:o,l?X:a,u,s,c],h=n.apply(X,f);return Ci(t)&&lu(h,f),h.placeholder=r,ji(h,t,e)}function ei(t){var e=Wo[t];return function(t,n){if(t=yo(t),n=null==n?0:Ea(go(n),292)){var r=(xo(t)+"e").split("e");return+((r=(xo(e(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return e(t)}}function ni(t){return function(e){var n=su(e);return n==It?B(e):n==Ht?function(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=[t,t]}),n}(e):function(t,e){return v(e,function(e){return[e,t[e]]})}(e,t(e))}}function ri(t,e,n,r,i,o,a,u){var s=e&ot;if(!s&&"function"!=typeof t)throw new Vo(Z);var c=r?r.length:0;if(c||(e&=~(ct|lt),r=i=X),a=a===X?a:ka(go(a),0),u=u===X?u:go(u),c-=i?i.length:0,e&lt){var l=r,f=i;r=i=X}var h=s?X:ou(t),p=[t,e,n,r,i,l,f,o,a,u];if(h&&function(t,e){var n=t[1],r=e[1],i=n|r,o=i<(it|ot|ft),a=r==ft&&n==ut||r==ft&&n==ht&&t[7].length<=e[8]||r==(ft|ht)&&e[7].length<=e[8]&&n==ut;if(!o&&!a)return t;r&it&&(t[2]=e[2],i|=n&it?0:at);var u=e[3];if(u){var s=t[3];t[3]=s?Dr(s,u,e[4]):u,t[4]=s?W(t[3],K):e[4]}(u=e[5])&&(s=t[5],t[5]=s?qr(s,u,e[6]):u,t[6]=s?W(t[5],K):e[6]),(u=e[7])&&(t[7]=u),r&ft&&(t[8]=null==t[8]?e[8]:Ea(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=i}(p,h),t=p[0],e=p[1],n=p[2],r=p[3],i=p[4],!(u=p[9]=p[9]===X?s?0:t.length:ka(p[9]-c,0))&&e&(ut|st)&&(e&=~(ut|st)),e&&e!=it)d=e==ut||e==st?Hr(t,e,u):e!=ct&&e!=(it|ct)||i.length?Vr.apply(X,p):Qr(t,e,n,r);else var d=function(t,e,n){var r=e&it,i=Wr(t);return function e(){return(this&&this!==gn&&this instanceof e?i:t).apply(r?n:this,arguments)}}(t,e,n);return ji((h?tu:lu)(d,p),t,e)}function ii(t,e,n,r){return t===X||to(t,Go[n])&&!Ko.call(r,n)?e:t}function oi(t,e,n,r,i,o){return uo(t)&&uo(e)&&(o.set(e,t),Qn(t,e,X,oi,o),o.delete(e)),t}function ai(t){return lo(t)?X:t}function ui(t,e,n,r,i,o){var a=n&nt,u=t.length,s=e.length;if(u!=s&&!(a&&s>u))return!1;var c=o.get(t);if(c&&o.get(e))return c==e;var l=-1,f=!0,h=n&rt?new Be:X;for(o.set(t,e),o.set(e,t);++l<u;){var p=t[l],d=e[l];if(r)var v=a?r(d,p,l,e,t,o):r(p,d,l,t,e,o);if(v!==X){if(v)continue;f=!1;break}if(h){if(!b(e,function(t,e){if(!N(h,e)&&(p===t||i(p,t,n,r,o)))return h.push(e)})){f=!1;break}}else if(p!==d&&!i(p,d,n,r,o)){f=!1;break}}return o.delete(t),o.delete(e),f}function si(t){return hu(ki(t,X,Ii),t+"")}function ci(t){return qn(t,Co,au)}function li(t){return qn(t,Ao,uu)}function fi(t){for(var e=t.name+"",n=Ba[e],r=Ko.call(Ba,e)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==t)return i.name}return e}function hi(t){return(Ko.call(n,"placeholder")?n:t).placeholder}function pi(){var t=n.iteratee||Do;return t=t===Do?$n:t,arguments.length?t(arguments[0],arguments[1]):t}function di(t,e){var n=t.__data__;return function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}(e)?n["string"==typeof e?"string":"hash"]:n.map}function vi(t){for(var e=Co(t),n=e.length;n--;){var r=e[n],i=t[r];e[n]=[r,i,Ti(i)]}return e}function gi(t,e){var n=function(t,e){return null==t?X:t[e]}(t,e);return Hn(n)?n:X}function mi(t,e,n){for(var r=-1,i=(e=Sr(e,t)).length,o=!1;++r<i;){var a=Di(e[r]);if(!(o=null!=t&&n(t,a)))break;t=t[a]}return o||++r!=i?o:!!(i=null==t?0:t.length)&&ao(i)&&xi(a,i)&&(Ku(t)||Qu(t))}function yi(t){return"function"!=typeof t.constructor||Ai(t)?{}:Ga(ca(t))}function bi(t){return Ku(t)||Qu(t)||!!(pa&&t&&t[pa])}function xi(t,e){return!!(e=null==e?wt:e)&&("number"==typeof t||Le.test(t))&&t>-1&&t%1==0&&t<e}function wi(t,e,n){if(!uo(n))return!1;var r=typeof e;return!!("number"==r?eo(n)&&xi(e,n.length):"string"==r&&e in n)&&to(n[e],t)}function _i(t,e){if(Ku(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!ho(t))||me.test(t)||!ge.test(t)||null!=e&&t in Ho(e)}function Ci(t){var e=fi(t),r=n[e];if("function"!=typeof r||!(e in o.prototype))return!1;if(t===r)return!0;var i=ou(r);return!!i&&t===i[0]}function Ai(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Go)}function Ti(t){return t==t&&!uo(t)}function Si(t,e){return function(n){return null!=n&&n[t]===e&&(e!==X||t in Ho(n))}}function ki(t,e,n){return e=ka(e===X?t.length-1:e,0),function(){for(var r=arguments,i=-1,o=ka(r.length-e,0),a=Ro(o);++i<o;)a[i]=r[e+i];i=-1;for(var s=Ro(e+1);++i<e;)s[i]=r[i];return s[e]=n(a),u(t,this,s)}}function Ei(t,e){return e.length<2?t:En(t,lr(e,0,-1))}function ji(t,e,n){var r=e+"";return hu(t,function(t,e){var n=e.length;if(!n)return t;var r=n-1;return e[r]=(n>1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(Te,"{\n/* [wrapped with "+e+"] */\n")}(r,function(t,e){return c(kt,function(n){var r="_."+n[0];e&n[1]&&!p(t,r)&&t.push(r)}),t.sort()}(function(t){var e=t.match(Se);return e?e[1].split(ke):[]}(r),n)))}function Oi(t){var e=0,n=0;return function(){var r=ja(),i=mt-(r-n);if(n=r,i>0){if(++e>=gt)return arguments[0]}else e=0;return t.apply(X,arguments)}}function Pi(t,e){var n=-1,r=t.length,i=r-1;for(e=e===X?r:e;++n<e;){var o=rr(n,i),a=t[o];t[o]=t[n],t[n]=a}return t.length=e,t}function Di(t){if("string"==typeof t||ho(t))return t;var e=t+"";return"0"==e&&1/t==-xt?"-0":e}function qi(t){if(null!=t){try{return Qo.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function Ni(t){if(t instanceof o)return t.clone();var e=new i(t.__wrapped__,t.__chain__);return e.__actions__=Nr(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}function Mi(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:go(n);return i<0&&(i=ka(r+i,0)),_(t,pi(e,3),i)}function Li(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r-1;return n!==X&&(i=go(n),i=n<0?ka(r+i,0):Ea(i,r-1)),_(t,pi(e,3),i,!0)}function Ii(t){return null!=t&&t.length?mn(t,1):[]}function Ri(t){return t&&t.length?t[0]:X}function Fi(t){var e=null==t?0:t.length;return e?t[e-1]:X}function Bi(t,e){return t&&t.length&&e&&e.length?er(t,e):t}function zi(t){return null==t?t:Da.call(t)}function Wi(t){if(!t||!t.length)return[];var e=0;return t=h(t,function(t){if(no(t))return e=ka(t.length,e),!0}),P(e,function(e){return v(t,k(e))})}function Hi(t,e){if(!t||!t.length)return[];var n=Wi(t);return null==e?n:v(n,function(t){return u(e,X,t)})}function $i(t){var e=n(t);return e.__chain__=!0,e}function Ui(t,e){return e(t)}function Vi(t,e){return(Ku(t)?c:Za)(t,pi(e,3))}function Xi(t,e){return(Ku(t)?l:Qa)(t,pi(e,3))}function Yi(t,e){return(Ku(t)?v:Yn)(t,pi(e,3))}function Gi(t,e,n){return e=n?X:e,e=t&&null==e?t.length:e,ri(t,ft,X,X,X,X,e)}function Zi(t,e){var n;if("function"!=typeof e)throw new Vo(Z);return t=go(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=X),n}}function Qi(t,e,n){function r(e){var n=s,r=c;return s=c=X,d=e,f=t.apply(r,n)}function i(t){var n=t-p;return p===X||n>=e||n<0||g&&t-d>=l}function o(){var t=Bu();if(i(t))return a(t);h=fu(o,function(t){var n=e-(t-p);return g?Ea(n,l-(t-d)):n}(t))}function a(t){return h=X,m&&s?r(t):(s=c=X,f)}function u(){var t=Bu(),n=i(t);if(s=arguments,c=this,p=t,n){if(h===X)return function(t){return d=t,h=fu(o,e),v?r(t):f}(p);if(g)return h=fu(o,e),r(p)}return h===X&&(h=fu(o,e)),f}var s,c,l,f,h,p,d=0,v=!1,g=!1,m=!0;if("function"!=typeof t)throw new Vo(Z);return e=yo(e)||0,uo(n)&&(v=!!n.leading,l=(g="maxWait"in n)?ka(yo(n.maxWait)||0,e):l,m="trailing"in n?!!n.trailing:m),u.cancel=function(){h!==X&&ru(h),d=0,s=p=c=h=X},u.flush=function(){return h===X?f:a(Bu())},u}function Ki(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new Vo(Z);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(Ki.Cache||Ee),n}function Ji(t){if("function"!=typeof t)throw new Vo(Z);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}function to(t,e){return t===e||t!=t&&e!=e}function eo(t){return null!=t&&ao(t.length)&&!io(t)}function no(t){return so(t)&&eo(t)}function ro(t){if(!so(t))return!1;var e=Nn(t);return e==Nt||e==qt||"string"==typeof t.message&&"string"==typeof t.name&&!lo(t)}function io(t){if(!uo(t))return!1;var e=Nn(t);return e==Mt||e==Lt||e==Ot||e==zt}function oo(t){return"number"==typeof t&&t==go(t)}function ao(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=wt}function uo(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function so(t){return null!=t&&"object"==typeof t}function co(t){return"number"==typeof t||so(t)&&Nn(t)==Rt}function lo(t){if(!so(t)||Nn(t)!=Bt)return!1;var e=ca(t);if(null===e)return!0;var n=Ko.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&Qo.call(n)==na}function fo(t){return"string"==typeof t||!Ku(t)&&so(t)&&Nn(t)==$t}function ho(t){return"symbol"==typeof t||so(t)&&Nn(t)==Ut}function po(t){if(!t)return[];if(eo(t))return fo(t)?U(t):Nr(t);if(da&&t[da])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[da]());var e=su(t);return(e==It?B:e==Ht?H:So)(t)}function vo(t){return t?(t=yo(t))===xt||t===-xt?(t<0?-1:1)*_t:t==t?t:0:0===t?t:0}function go(t){var e=vo(t),n=e%1;return e==e?n?e-n:e:0}function mo(t){return t?Je(go(t),0,At):0}function yo(t){if("number"==typeof t)return t;if(ho(t))return Ct;if(uo(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=uo(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(_e,"");var n=qe.test(t);return n||Me.test(t)?pn(t.slice(2),n?2:8):De.test(t)?Ct:+t}function bo(t){return Mr(t,Ao(t))}function xo(t){return null==t?"":gr(t)}function wo(t,e,n){var r=null==t?X:En(t,e);return r===X?n:r}function _o(t,e){return null!=t&&mi(t,e,In)}function Co(t){return eo(t)?We(t):Un(t)}function Ao(t){return eo(t)?We(t,!0):Vn(t)}function To(t,e){if(null==t)return{};var n=v(li(t),function(t){return[t]});return e=pi(e),tr(t,n,function(t,n){return e(t,n[0])})}function So(t){return null==t?[]:q(t,Co(t))}function ko(t){return Ps(xo(t).toLowerCase())}function Eo(t){return(t=xo(t))&&t.replace(Ie,jn).replace(en,"")}function jo(t,e,n){return t=xo(t),(e=n?X:e)===X?F(t)?V(t):x(t):t.match(e)||[]}function Oo(t){return function(){return t}}function Po(t){return t}function Do(t){return $n("function"==typeof t?t:nn(t,J))}function qo(t,e,n){var r=Co(e),i=wn(e,r);null!=n||uo(e)&&(i.length||!r.length)||(n=e,e=t,t=this,i=wn(e,Co(e)));var o=!(uo(n)&&"chain"in n&&!n.chain),a=io(t);return c(i,function(n){var r=e[n];t[n]=r,a&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__);return(n.__actions__=Nr(this.__actions__)).push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,g([this.value()],arguments))})}),t}function No(){}function Mo(t){return _i(t)?k(Di(t)):function(t){return function(e){return En(e,t)}}(t)}function Lo(){return[]}function Io(){return!1}var Ro=(e=null==e?gn:Dn.defaults(gn.Object(),e,Dn.pick(gn,un))).Array,Fo=e.Date,Bo=e.Error,zo=e.Function,Wo=e.Math,Ho=e.Object,$o=e.RegExp,Uo=e.String,Vo=e.TypeError,Xo=Ro.prototype,Yo=zo.prototype,Go=Ho.prototype,Zo=e["__core-js_shared__"],Qo=Yo.toString,Ko=Go.hasOwnProperty,Jo=0,ta=function(){var t=/[^.]+$/.exec(Zo&&Zo.keys&&Zo.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),ea=Go.toString,na=Qo.call(Ho),ra=gn._,ia=$o("^"+Qo.call(Ko).replace(xe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),oa=bn?e.Buffer:X,aa=e.Symbol,ua=e.Uint8Array,sa=oa?oa.allocUnsafe:X,ca=z(Ho.getPrototypeOf,Ho),la=Ho.create,fa=Go.propertyIsEnumerable,ha=Xo.splice,pa=aa?aa.isConcatSpreadable:X,da=aa?aa.iterator:X,va=aa?aa.toStringTag:X,ga=function(){try{var t=gi(Ho,"defineProperty");return t({},"",{}),t}catch(t){}}(),ma=e.clearTimeout!==gn.clearTimeout&&e.clearTimeout,ya=Fo&&Fo.now!==gn.Date.now&&Fo.now,ba=e.setTimeout!==gn.setTimeout&&e.setTimeout,xa=Wo.ceil,wa=Wo.floor,_a=Ho.getOwnPropertySymbols,Ca=oa?oa.isBuffer:X,Aa=e.isFinite,Ta=Xo.join,Sa=z(Ho.keys,Ho),ka=Wo.max,Ea=Wo.min,ja=Fo.now,Oa=e.parseInt,Pa=Wo.random,Da=Xo.reverse,qa=gi(e,"DataView"),Na=gi(e,"Map"),Ma=gi(e,"Promise"),La=gi(e,"Set"),Ia=gi(e,"WeakMap"),Ra=gi(Ho,"create"),Fa=Ia&&new Ia,Ba={},za=qi(qa),Wa=qi(Na),Ha=qi(Ma),$a=qi(La),Ua=qi(Ia),Va=aa?aa.prototype:X,Xa=Va?Va.valueOf:X,Ya=Va?Va.toString:X,Ga=function(){function t(){}return function(e){if(!uo(e))return{};if(la)return la(e);t.prototype=e;var n=new t;return t.prototype=X,n}}();n.templateSettings={escape:pe,evaluate:de,interpolate:ve,variable:"",imports:{_:n}},n.prototype=r.prototype,n.prototype.constructor=n,i.prototype=Ga(r.prototype),i.prototype.constructor=i,o.prototype=Ga(r.prototype),o.prototype.constructor=o,a.prototype.clear=function(){this.__data__=Ra?Ra(null):{},this.size=0},a.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},a.prototype.get=function(t){var e=this.__data__;if(Ra){var n=e[t];return n===Q?X:n}return Ko.call(e,t)?e[t]:X},a.prototype.has=function(t){var e=this.__data__;return Ra?e[t]!==X:Ko.call(e,t)},a.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=Ra&&e===X?Q:e,this},E.prototype.clear=function(){this.__data__=[],this.size=0},E.prototype.delete=function(t){var e=this.__data__,n=Ye(e,t);return!(n<0||(n==e.length-1?e.pop():ha.call(e,n,1),--this.size,0))},E.prototype.get=function(t){var e=this.__data__,n=Ye(e,t);return n<0?X:e[n][1]},E.prototype.has=function(t){return Ye(this.__data__,t)>-1},E.prototype.set=function(t,e){var n=this.__data__,r=Ye(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},Ee.prototype.clear=function(){this.size=0,this.__data__={hash:new a,map:new(Na||E),string:new a}},Ee.prototype.delete=function(t){var e=di(this,t).delete(t);return this.size-=e?1:0,e},Ee.prototype.get=function(t){return di(this,t).get(t)},Ee.prototype.has=function(t){return di(this,t).has(t)},Ee.prototype.set=function(t,e){var n=di(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},Be.prototype.add=Be.prototype.push=function(t){return this.__data__.set(t,Q),this},Be.prototype.has=function(t){return this.__data__.has(t)},ze.prototype.clear=function(){this.__data__=new E,this.size=0},ze.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},ze.prototype.get=function(t){return this.__data__.get(t)},ze.prototype.has=function(t){return this.__data__.has(t)},ze.prototype.set=function(t,e){var n=this.__data__;if(n instanceof E){var r=n.__data__;if(!Na||r.length<Y-1)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new Ee(r)}return n.set(t,e),this.size=n.size,this};var Za=Rr(yn),Qa=Rr(xn,!0),Ka=Fr(),Ja=Fr(!0),tu=Fa?function(t,e){return Fa.set(t,e),t}:Po,eu=ga?function(t,e){return ga(t,"toString",{configurable:!0,enumerable:!1,value:Oo(e),writable:!0})}:Po,nu=or,ru=ma||function(t){return gn.clearTimeout(t)},iu=La&&1/H(new La([,-0]))[1]==xt?function(t){return new La(t)}:No,ou=Fa?function(t){return Fa.get(t)}:No,au=_a?function(t){return null==t?[]:(t=Ho(t),h(_a(t),function(e){return fa.call(t,e)}))}:Lo,uu=_a?function(t){for(var e=[];t;)g(e,au(t)),t=ca(t);return e}:Lo,su=Nn;(qa&&su(new qa(new ArrayBuffer(1)))!=Zt||Na&&su(new Na)!=It||Ma&&"[object Promise]"!=su(Ma.resolve())||La&&su(new La)!=Ht||Ia&&su(new Ia)!=Xt)&&(su=function(t){var e=Nn(t),n=e==Bt?t.constructor:X,r=n?qi(n):"";if(r)switch(r){case za:return Zt;case Wa:return It;case Ha:return"[object Promise]";case $a:return Ht;case Ua:return Xt}return e});var cu=Zo?io:Io,lu=Oi(tu),fu=ba||function(t,e){return gn.setTimeout(t,e)},hu=Oi(eu),pu=function(t){var e=Ki(function(t){var e=[];return ye.test(t)&&e.push(""),t.replace(be,function(t,n,r,i){e.push(r?i.replace(je,"$1"):n||t)}),e},function(t){return 500===n.size&&n.clear(),t}),n=e.cache;return e}(),du=or(function(t,e){return no(t)?an(t,mn(e,1,no,!0)):[]}),vu=or(function(t,e){var n=Fi(e);return no(n)&&(n=X),no(t)?an(t,mn(e,1,no,!0),pi(n,2)):[]}),gu=or(function(t,e){var n=Fi(e);return no(n)&&(n=X),no(t)?an(t,mn(e,1,no,!0),X,n):[]}),mu=or(function(t){var e=v(t,Ar);return e.length&&e[0]===t[0]?Rn(e):[]}),yu=or(function(t){var e=Fi(t),n=v(t,Ar);return e===Fi(n)?e=X:n.pop(),n.length&&n[0]===t[0]?Rn(n,pi(e,2)):[]}),bu=or(function(t){var e=Fi(t),n=v(t,Ar);return(e="function"==typeof e?e:X)&&n.pop(),n.length&&n[0]===t[0]?Rn(n,X,e):[]}),xu=or(Bi),wu=si(function(t,e){var n=null==t?0:t.length,r=Ke(t,e);return nr(t,v(e,function(t){return xi(t,n)?+t:t}).sort(Pr)),r}),_u=or(function(t){return mr(mn(t,1,no,!0))}),Cu=or(function(t){var e=Fi(t);return no(e)&&(e=X),mr(mn(t,1,no,!0),pi(e,2))}),Au=or(function(t){var e=Fi(t);return e="function"==typeof e?e:X,mr(mn(t,1,no,!0),X,e)}),Tu=or(function(t,e){return no(t)?an(t,e):[]}),Su=or(function(t){return _r(h(t,no))}),ku=or(function(t){var e=Fi(t);return no(e)&&(e=X),_r(h(t,no),pi(e,2))}),Eu=or(function(t){var e=Fi(t);return e="function"==typeof e?e:X,_r(h(t,no),X,e)}),ju=or(Wi),Ou=or(function(t){var e=t.length,n=e>1?t[e-1]:X;return n="function"==typeof n?(t.pop(),n):X,Hi(t,n)}),Pu=si(function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,a=function(e){return Ke(e,t)};return!(e>1||this.__actions__.length)&&r instanceof o&&xi(n)?((r=r.slice(n,+n+(e?1:0))).__actions__.push({func:Ui,args:[a],thisArg:X}),new i(r,this.__chain__).thru(function(t){return e&&!t.length&&t.push(X),t})):this.thru(a)}),Du=Lr(function(t,e,n){Ko.call(t,n)?++t[n]:Qe(t,n,1)}),qu=$r(Mi),Nu=$r(Li),Mu=Lr(function(t,e,n){Ko.call(t,n)?t[n].push(e):Qe(t,n,[e])}),Lu=or(function(t,e,n){var r=-1,i="function"==typeof e,o=eo(t)?Ro(t.length):[];return Za(t,function(t){o[++r]=i?u(e,t,n):Fn(t,e,n)}),o}),Iu=Lr(function(t,e,n){Qe(t,n,e)}),Ru=Lr(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]}),Fu=or(function(t,e){if(null==t)return[];var n=e.length;return n>1&&wi(t,e[0],e[1])?e=[]:n>2&&wi(e[0],e[1],e[2])&&(e=[e[0]]),Jn(t,mn(e,1),[])}),Bu=ya||function(){return gn.Date.now()},zu=or(function(t,e,n){var r=it;if(n.length){var i=W(n,hi(zu));r|=ct}return ri(t,r,e,n,i)}),Wu=or(function(t,e,n){var r=it|ot;if(n.length){var i=W(n,hi(Wu));r|=ct}return ri(e,r,t,n,i)}),Hu=or(function(t,e){return on(t,1,e)}),$u=or(function(t,e,n){return on(t,yo(e)||0,n)});Ki.Cache=Ee;var Uu=nu(function(t,e){var n=(e=1==e.length&&Ku(e[0])?v(e[0],D(pi())):v(mn(e,1),D(pi()))).length;return or(function(r){for(var i=-1,o=Ea(r.length,n);++i<o;)r[i]=e[i].call(this,r[i]);return u(t,this,r)})}),Vu=or(function(t,e){var n=W(e,hi(Vu));return ri(t,ct,X,e,n)}),Xu=or(function(t,e){var n=W(e,hi(Xu));return ri(t,lt,X,e,n)}),Yu=si(function(t,e){return ri(t,ht,X,X,X,e)}),Gu=Jr(Mn),Zu=Jr(function(t,e){return t>=e}),Qu=Bn(function(){return arguments}())?Bn:function(t){return so(t)&&Ko.call(t,"callee")&&!fa.call(t,"callee")},Ku=Ro.isArray,Ju=_n?D(_n):function(t){return so(t)&&Nn(t)==Gt},ts=Ca||Io,es=Cn?D(Cn):function(t){return so(t)&&Nn(t)==Dt},ns=An?D(An):function(t){return so(t)&&su(t)==It},rs=Tn?D(Tn):function(t){return so(t)&&Nn(t)==Wt},is=Sn?D(Sn):function(t){return so(t)&&su(t)==Ht},os=kn?D(kn):function(t){return so(t)&&ao(t.length)&&!!cn[Nn(t)]},as=Jr(Xn),us=Jr(function(t,e){return t<=e}),ss=Ir(function(t,e){if(Ai(e)||eo(e))Mr(e,Co(e),t);else for(var n in e)Ko.call(e,n)&&Xe(t,n,e[n])}),cs=Ir(function(t,e){Mr(e,Ao(e),t)}),ls=Ir(function(t,e,n,r){Mr(e,Ao(e),t,r)}),fs=Ir(function(t,e,n,r){Mr(e,Co(e),t,r)}),hs=si(Ke),ps=or(function(t){return t.push(X,ii),u(ls,X,t)}),ds=or(function(t){return t.push(X,oi),u(bs,X,t)}),vs=Xr(function(t,e,n){t[e]=n},Oo(Po)),gs=Xr(function(t,e,n){Ko.call(t,e)?t[e].push(n):t[e]=[n]},pi),ms=or(Fn),ys=Ir(function(t,e,n){Qn(t,e,n)}),bs=Ir(function(t,e,n,r){Qn(t,e,n,r)}),xs=si(function(t,e){var n={};if(null==t)return n;var r=!1;e=v(e,function(e){return e=Sr(e,t),r||(r=e.length>1),e}),Mr(t,li(t),n),r&&(n=nn(n,J|tt|et,ai));for(var i=e.length;i--;)yr(n,e[i]);return n}),ws=si(function(t,e){return null==t?{}:function(t,e){return tr(t,e,function(e,n){return _o(t,n)})}(t,e)}),_s=ni(Co),Cs=ni(Ao),As=zr(function(t,e,n){return e=e.toLowerCase(),t+(n?ko(e):e)}),Ts=zr(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),Ss=zr(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),ks=Br("toLowerCase"),Es=zr(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}),js=zr(function(t,e,n){return t+(n?" ":"")+Ps(e)}),Os=zr(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),Ps=Br("toUpperCase"),Ds=or(function(t,e){try{return u(t,X,e)}catch(t){return ro(t)?t:new Bo(t)}}),qs=si(function(t,e){return c(e,function(e){e=Di(e),Qe(t,e,zu(t[e],t))}),t}),Ns=Ur(),Ms=Ur(!0),Ls=or(function(t,e){return function(n){return Fn(n,t,e)}}),Is=or(function(t,e){return function(n){return Fn(t,n,e)}}),Rs=Gr(v),Fs=Gr(f),Bs=Gr(b),zs=Kr(),Ws=Kr(!0),Hs=Yr(function(t,e){return t+e},0),$s=ei("ceil"),Us=Yr(function(t,e){return t/e},1),Vs=ei("floor"),Xs=Yr(function(t,e){return t*e},1),Ys=ei("round"),Gs=Yr(function(t,e){return t-e},0);return n.after=function(t,e){if("function"!=typeof e)throw new Vo(Z);return t=go(t),function(){if(--t<1)return e.apply(this,arguments)}},n.ary=Gi,n.assign=ss,n.assignIn=cs,n.assignInWith=ls,n.assignWith=fs,n.at=hs,n.before=Zi,n.bind=zu,n.bindAll=qs,n.bindKey=Wu,n.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return Ku(t)?t:[t]},n.chain=$i,n.chunk=function(t,e,n){e=(n?wi(t,e,n):e===X)?1:ka(go(e),0);var r=null==t?0:t.length;if(!r||e<1)return[];for(var i=0,o=0,a=Ro(xa(r/e));i<r;)a[o++]=lr(t,i,i+=e);return a},n.compact=function(t){for(var e=-1,n=null==t?0:t.length,r=0,i=[];++e<n;){var o=t[e];o&&(i[r++]=o)}return i},n.concat=function(){var t=arguments.length;if(!t)return[];for(var e=Ro(t-1),n=arguments[0],r=t;r--;)e[r-1]=arguments[r];return g(Ku(n)?Nr(n):[n],mn(e,1))},n.cond=function(t){var e=null==t?0:t.length,n=pi();return t=e?v(t,function(t){if("function"!=typeof t[1])throw new Vo(Z);return[n(t[0]),t[1]]}):[],or(function(n){for(var r=-1;++r<e;){var i=t[r];if(u(i[0],this,n))return u(i[1],this,n)}})},n.conforms=function(t){return function(t){var e=Co(t);return function(n){return rn(n,t,e)}}(nn(t,J))},n.constant=Oo,n.countBy=Du,n.create=function(t,e){var n=Ga(t);return null==e?n:Ze(n,e)},n.curry=function t(e,n,r){var i=ri(e,ut,X,X,X,X,X,n=r?X:n);return i.placeholder=t.placeholder,i},n.curryRight=function t(e,n,r){var i=ri(e,st,X,X,X,X,X,n=r?X:n);return i.placeholder=t.placeholder,i},n.debounce=Qi,n.defaults=ps,n.defaultsDeep=ds,n.defer=Hu,n.delay=$u,n.difference=du,n.differenceBy=vu,n.differenceWith=gu,n.drop=function(t,e,n){var r=null==t?0:t.length;return r?lr(t,(e=n||e===X?1:go(e))<0?0:e,r):[]},n.dropRight=function(t,e,n){var r=null==t?0:t.length;return r?lr(t,0,(e=r-(e=n||e===X?1:go(e)))<0?0:e):[]},n.dropRightWhile=function(t,e){return t&&t.length?xr(t,pi(e,3),!0,!0):[]},n.dropWhile=function(t,e){return t&&t.length?xr(t,pi(e,3),!0):[]},n.fill=function(t,e,n,r){var i=null==t?0:t.length;return i?(n&&"number"!=typeof n&&wi(t,e,n)&&(n=0,r=i),function(t,e,n,r){var i=t.length;for((n=go(n))<0&&(n=-n>i?0:i+n),(r=r===X||r>i?i:go(r))<0&&(r+=i),r=n>r?0:mo(r);n<r;)t[n++]=e;return t}(t,e,n,r)):[]},n.filter=function(t,e){return(Ku(t)?h:vn)(t,pi(e,3))},n.flatMap=function(t,e){return mn(Yi(t,e),1)},n.flatMapDeep=function(t,e){return mn(Yi(t,e),xt)},n.flatMapDepth=function(t,e,n){return n=n===X?1:go(n),mn(Yi(t,e),n)},n.flatten=Ii,n.flattenDeep=function(t){return null!=t&&t.length?mn(t,xt):[]},n.flattenDepth=function(t,e){return null!=t&&t.length?mn(t,e=e===X?1:go(e)):[]},n.flip=function(t){return ri(t,pt)},n.flow=Ns,n.flowRight=Ms,n.fromPairs=function(t){for(var e=-1,n=null==t?0:t.length,r={};++e<n;){var i=t[e];r[i[0]]=i[1]}return r},n.functions=function(t){return null==t?[]:wn(t,Co(t))},n.functionsIn=function(t){return null==t?[]:wn(t,Ao(t))},n.groupBy=Mu,n.initial=function(t){return null!=t&&t.length?lr(t,0,-1):[]},n.intersection=mu,n.intersectionBy=yu,n.intersectionWith=bu,n.invert=vs,n.invertBy=gs,n.invokeMap=Lu,n.iteratee=Do,n.keyBy=Iu,n.keys=Co,n.keysIn=Ao,n.map=Yi,n.mapKeys=function(t,e){var n={};return e=pi(e,3),yn(t,function(t,r,i){Qe(n,e(t,r,i),t)}),n},n.mapValues=function(t,e){var n={};return e=pi(e,3),yn(t,function(t,r,i){Qe(n,r,e(t,r,i))}),n},n.matches=function(t){return Gn(nn(t,J))},n.matchesProperty=function(t,e){return Zn(t,nn(e,J))},n.memoize=Ki,n.merge=ys,n.mergeWith=bs,n.method=Ls,n.methodOf=Is,n.mixin=qo,n.negate=Ji,n.nthArg=function(t){return t=go(t),or(function(e){return Kn(e,t)})},n.omit=xs,n.omitBy=function(t,e){return To(t,Ji(pi(e)))},n.once=function(t){return Zi(2,t)},n.orderBy=function(t,e,n,r){return null==t?[]:(Ku(e)||(e=null==e?[]:[e]),Ku(n=r?X:n)||(n=null==n?[]:[n]),Jn(t,e,n))},n.over=Rs,n.overArgs=Uu,n.overEvery=Fs,n.overSome=Bs,n.partial=Vu,n.partialRight=Xu,n.partition=Ru,n.pick=ws,n.pickBy=To,n.property=Mo,n.propertyOf=function(t){return function(e){return null==t?X:En(t,e)}},n.pull=xu,n.pullAll=Bi,n.pullAllBy=function(t,e,n){return t&&t.length&&e&&e.length?er(t,e,pi(n,2)):t},n.pullAllWith=function(t,e,n){return t&&t.length&&e&&e.length?er(t,e,X,n):t},n.pullAt=wu,n.range=zs,n.rangeRight=Ws,n.rearg=Yu,n.reject=function(t,e){return(Ku(t)?h:vn)(t,Ji(pi(e,3)))},n.remove=function(t,e){var n=[];if(!t||!t.length)return n;var r=-1,i=[],o=t.length;for(e=pi(e,3);++r<o;){var a=t[r];e(a,r,t)&&(n.push(a),i.push(r))}return nr(t,i),n},n.rest=function(t,e){if("function"!=typeof t)throw new Vo(Z);return or(t,e=e===X?e:go(e))},n.reverse=zi,n.sampleSize=function(t,e,n){return e=(n?wi(t,e,n):e===X)?1:go(e),(Ku(t)?$e:ur)(t,e)},n.set=function(t,e,n){return null==t?t:sr(t,e,n)},n.setWith=function(t,e,n,r){return r="function"==typeof r?r:X,null==t?t:sr(t,e,n,r)},n.shuffle=function(t){return(Ku(t)?Ue:cr)(t)},n.slice=function(t,e,n){var r=null==t?0:t.length;return r?(n&&"number"!=typeof n&&wi(t,e,n)?(e=0,n=r):(e=null==e?0:go(e),n=n===X?r:go(n)),lr(t,e,n)):[]},n.sortBy=Fu,n.sortedUniq=function(t){return t&&t.length?dr(t):[]},n.sortedUniqBy=function(t,e){return t&&t.length?dr(t,pi(e,2)):[]},n.split=function(t,e,n){return n&&"number"!=typeof n&&wi(t,e,n)&&(e=n=X),(n=n===X?At:n>>>0)?(t=xo(t))&&("string"==typeof e||null!=e&&!rs(e))&&!(e=gr(e))&&R(t)?kr(U(t),0,n):t.split(e,n):[]},n.spread=function(t,e){if("function"!=typeof t)throw new Vo(Z);return e=null==e?0:ka(go(e),0),or(function(n){var r=n[e],i=kr(n,0,e);return r&&g(i,r),u(t,this,i)})},n.tail=function(t){var e=null==t?0:t.length;return e?lr(t,1,e):[]},n.take=function(t,e,n){return t&&t.length?lr(t,0,(e=n||e===X?1:go(e))<0?0:e):[]},n.takeRight=function(t,e,n){var r=null==t?0:t.length;return r?lr(t,(e=r-(e=n||e===X?1:go(e)))<0?0:e,r):[]},n.takeRightWhile=function(t,e){return t&&t.length?xr(t,pi(e,3),!1,!0):[]},n.takeWhile=function(t,e){return t&&t.length?xr(t,pi(e,3)):[]},n.tap=function(t,e){return e(t),t},n.throttle=function(t,e,n){var r=!0,i=!0;if("function"!=typeof t)throw new Vo(Z);return uo(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Qi(t,e,{leading:r,maxWait:e,trailing:i})},n.thru=Ui,n.toArray=po,n.toPairs=_s,n.toPairsIn=Cs,n.toPath=function(t){return Ku(t)?v(t,Di):ho(t)?[t]:Nr(pu(xo(t)))},n.toPlainObject=bo,n.transform=function(t,e,n){var r=Ku(t),i=r||ts(t)||os(t);if(e=pi(e,4),null==n){var o=t&&t.constructor;n=i?r?new o:[]:uo(t)&&io(o)?Ga(ca(t)):{}}return(i?c:yn)(t,function(t,r,i){return e(n,t,r,i)}),n},n.unary=function(t){return Gi(t,1)},n.union=_u,n.unionBy=Cu,n.unionWith=Au,n.uniq=function(t){return t&&t.length?mr(t):[]},n.uniqBy=function(t,e){return t&&t.length?mr(t,pi(e,2)):[]},n.uniqWith=function(t,e){return e="function"==typeof e?e:X,t&&t.length?mr(t,X,e):[]},n.unset=function(t,e){return null==t||yr(t,e)},n.unzip=Wi,n.unzipWith=Hi,n.update=function(t,e,n){return null==t?t:br(t,e,Tr(n))},n.updateWith=function(t,e,n,r){return r="function"==typeof r?r:X,null==t?t:br(t,e,Tr(n),r)},n.values=So,n.valuesIn=function(t){return null==t?[]:q(t,Ao(t))},n.without=Tu,n.words=jo,n.wrap=function(t,e){return Vu(Tr(e),t)},n.xor=Su,n.xorBy=ku,n.xorWith=Eu,n.zip=ju,n.zipObject=function(t,e){return Cr(t||[],e||[],Xe)},n.zipObjectDeep=function(t,e){return Cr(t||[],e||[],sr)},n.zipWith=Ou,n.entries=_s,n.entriesIn=Cs,n.extend=cs,n.extendWith=ls,qo(n,n),n.add=Hs,n.attempt=Ds,n.camelCase=As,n.capitalize=ko,n.ceil=$s,n.clamp=function(t,e,n){return n===X&&(n=e,e=X),n!==X&&(n=(n=yo(n))==n?n:0),e!==X&&(e=(e=yo(e))==e?e:0),Je(yo(t),e,n)},n.clone=function(t){return nn(t,et)},n.cloneDeep=function(t){return nn(t,J|et)},n.cloneDeepWith=function(t,e){return nn(t,J|et,e="function"==typeof e?e:X)},n.cloneWith=function(t,e){return nn(t,et,e="function"==typeof e?e:X)},n.conformsTo=function(t,e){return null==e||rn(t,e,Co(e))},n.deburr=Eo,n.defaultTo=function(t,e){return null==t||t!=t?e:t},n.divide=Us,n.endsWith=function(t,e,n){t=xo(t),e=gr(e);var r=t.length,i=n=n===X?r:Je(go(n),0,r);return(n-=e.length)>=0&&t.slice(n,i)==e},n.eq=to,n.escape=function(t){return(t=xo(t))&&he.test(t)?t.replace(le,On):t},n.escapeRegExp=function(t){return(t=xo(t))&&we.test(t)?t.replace(xe,"\\$&"):t},n.every=function(t,e,n){var r=Ku(t)?f:fn;return n&&wi(t,e,n)&&(e=X),r(t,pi(e,3))},n.find=qu,n.findIndex=Mi,n.findKey=function(t,e){return w(t,pi(e,3),yn)},n.findLast=Nu,n.findLastIndex=Li,n.findLastKey=function(t,e){return w(t,pi(e,3),xn)},n.floor=Vs,n.forEach=Vi,n.forEachRight=Xi,n.forIn=function(t,e){return null==t?t:Ka(t,pi(e,3),Ao)},n.forInRight=function(t,e){return null==t?t:Ja(t,pi(e,3),Ao)},n.forOwn=function(t,e){return t&&yn(t,pi(e,3))},n.forOwnRight=function(t,e){return t&&xn(t,pi(e,3))},n.get=wo,n.gt=Gu,n.gte=Zu,n.has=function(t,e){return null!=t&&mi(t,e,Ln)},n.hasIn=_o,n.head=Ri,n.identity=Po,n.includes=function(t,e,n,r){t=eo(t)?t:So(t),n=n&&!r?go(n):0;var i=t.length;return n<0&&(n=ka(i+n,0)),fo(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&C(t,e,n)>-1},n.indexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:go(n);return i<0&&(i=ka(r+i,0)),C(t,e,i)},n.inRange=function(t,e,n){return e=vo(e),n===X?(n=e,e=0):n=vo(n),function(t,e,n){return t>=Ea(e,n)&&t<ka(e,n)}(t=yo(t),e,n)},n.invoke=ms,n.isArguments=Qu,n.isArray=Ku,n.isArrayBuffer=Ju,n.isArrayLike=eo,n.isArrayLikeObject=no,n.isBoolean=function(t){return!0===t||!1===t||so(t)&&Nn(t)==Pt},n.isBuffer=ts,n.isDate=es,n.isElement=function(t){return so(t)&&1===t.nodeType&&!lo(t)},n.isEmpty=function(t){if(null==t)return!0;if(eo(t)&&(Ku(t)||"string"==typeof t||"function"==typeof t.splice||ts(t)||os(t)||Qu(t)))return!t.length;var e=su(t);if(e==It||e==Ht)return!t.size;if(Ai(t))return!Un(t).length;for(var n in t)if(Ko.call(t,n))return!1;return!0},n.isEqual=function(t,e){return zn(t,e)},n.isEqualWith=function(t,e,n){var r=(n="function"==typeof n?n:X)?n(t,e):X;return r===X?zn(t,e,X,n):!!r},n.isError=ro,n.isFinite=function(t){return"number"==typeof t&&Aa(t)},n.isFunction=io,n.isInteger=oo,n.isLength=ao,n.isMap=ns,n.isMatch=function(t,e){return t===e||Wn(t,e,vi(e))},n.isMatchWith=function(t,e,n){return n="function"==typeof n?n:X,Wn(t,e,vi(e),n)},n.isNaN=function(t){return co(t)&&t!=+t},n.isNative=function(t){if(cu(t))throw new Bo(G);return Hn(t)},n.isNil=function(t){return null==t},n.isNull=function(t){return null===t},n.isNumber=co,n.isObject=uo,n.isObjectLike=so,n.isPlainObject=lo,n.isRegExp=rs,n.isSafeInteger=function(t){return oo(t)&&t>=-wt&&t<=wt},n.isSet=is,n.isString=fo,n.isSymbol=ho,n.isTypedArray=os,n.isUndefined=function(t){return t===X},n.isWeakMap=function(t){return so(t)&&su(t)==Xt},n.isWeakSet=function(t){return so(t)&&Nn(t)==Yt},n.join=function(t,e){return null==t?"":Ta.call(t,e)},n.kebabCase=Ts,n.last=Fi,n.lastIndexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r;return n!==X&&(i=(i=go(n))<0?ka(r+i,0):Ea(i,r-1)),e==e?function(t,e,n){for(var r=n+1;r--;)if(t[r]===e)return r;return r}(t,e,i):_(t,T,i,!0)},n.lowerCase=Ss,n.lowerFirst=ks,n.lt=as,n.lte=us,n.max=function(t){return t&&t.length?dn(t,Po,Mn):X},n.maxBy=function(t,e){return t&&t.length?dn(t,pi(e,2),Mn):X},n.mean=function(t){return S(t,Po)},n.meanBy=function(t,e){return S(t,pi(e,2))},n.min=function(t){return t&&t.length?dn(t,Po,Xn):X},n.minBy=function(t,e){return t&&t.length?dn(t,pi(e,2),Xn):X},n.stubArray=Lo,n.stubFalse=Io,n.stubObject=function(){return{}},n.stubString=function(){return""},n.stubTrue=function(){return!0},n.multiply=Xs,n.nth=function(t,e){return t&&t.length?Kn(t,go(e)):X},n.noConflict=function(){return gn._===this&&(gn._=ra),this},n.noop=No,n.now=Bu,n.pad=function(t,e,n){t=xo(t);var r=(e=go(e))?$(t):0;if(!e||r>=e)return t;var i=(e-r)/2;return Zr(wa(i),n)+t+Zr(xa(i),n)},n.padEnd=function(t,e,n){t=xo(t);var r=(e=go(e))?$(t):0;return e&&r<e?t+Zr(e-r,n):t},n.padStart=function(t,e,n){t=xo(t);var r=(e=go(e))?$(t):0;return e&&r<e?Zr(e-r,n)+t:t},n.parseInt=function(t,e,n){return n||null==e?e=0:e&&(e=+e),Oa(xo(t).replace(Ce,""),e||0)},n.random=function(t,e,n){if(n&&"boolean"!=typeof n&&wi(t,e,n)&&(e=n=X),n===X&&("boolean"==typeof e?(n=e,e=X):"boolean"==typeof t&&(n=t,t=X)),t===X&&e===X?(t=0,e=1):(t=vo(t),e===X?(e=t,t=0):e=vo(e)),t>e){var r=t;t=e,e=r}if(n||t%1||e%1){var i=Pa();return Ea(t+i*(e-t+hn("1e-"+((i+"").length-1))),e)}return rr(t,e)},n.reduce=function(t,e,n){var r=Ku(t)?m:j,i=arguments.length<3;return r(t,pi(e,4),n,i,Za)},n.reduceRight=function(t,e,n){var r=Ku(t)?y:j,i=arguments.length<3;return r(t,pi(e,4),n,i,Qa)},n.repeat=function(t,e,n){return e=(n?wi(t,e,n):e===X)?1:go(e),ir(xo(t),e)},n.replace=function(){var t=arguments,e=xo(t[0]);return t.length<3?e:e.replace(t[1],t[2])},n.result=function(t,e,n){var r=-1,i=(e=Sr(e,t)).length;for(i||(i=1,t=X);++r<i;){var o=null==t?X:t[Di(e[r])];o===X&&(r=i,o=n),t=io(o)?o.call(t):o}return t},n.round=Ys,n.runInContext=t,n.sample=function(t){return(Ku(t)?He:ar)(t)},n.size=function(t){if(null==t)return 0;if(eo(t))return fo(t)?$(t):t.length;var e=su(t);return e==It||e==Ht?t.size:Un(t).length},n.snakeCase=Es,n.some=function(t,e,n){var r=Ku(t)?b:fr;return n&&wi(t,e,n)&&(e=X),r(t,pi(e,3))},n.sortedIndex=function(t,e){return hr(t,e)},n.sortedIndexBy=function(t,e,n){return pr(t,e,pi(n,2))},n.sortedIndexOf=function(t,e){var n=null==t?0:t.length;if(n){var r=hr(t,e);if(r<n&&to(t[r],e))return r}return-1},n.sortedLastIndex=function(t,e){return hr(t,e,!0)},n.sortedLastIndexBy=function(t,e,n){return pr(t,e,pi(n,2),!0)},n.sortedLastIndexOf=function(t,e){if(null!=t&&t.length){var n=hr(t,e,!0)-1;if(to(t[n],e))return n}return-1},n.startCase=js,n.startsWith=function(t,e,n){return t=xo(t),n=null==n?0:Je(go(n),0,t.length),e=gr(e),t.slice(n,n+e.length)==e},n.subtract=Gs,n.sum=function(t){return t&&t.length?O(t,Po):0},n.sumBy=function(t,e){return t&&t.length?O(t,pi(e,2)):0},n.template=function(t,e,r){var i=n.templateSettings;r&&wi(t,e,r)&&(e=X),t=xo(t),e=ls({},e,i,ii);var o,a,u=ls({},e.imports,i.imports,ii),s=Co(u),c=q(u,s),l=0,f=e.interpolate||Re,h="__p += '",p=$o((e.escape||Re).source+"|"+f.source+"|"+(f===ve?Oe:Re).source+"|"+(e.evaluate||Re).source+"|$","g"),d="//# sourceURL="+("sourceURL"in e?e.sourceURL:"lodash.templateSources["+ ++sn+"]")+"\n";t.replace(p,function(e,n,r,i,u,s){return r||(r=i),h+=t.slice(l,s).replace(Fe,I),n&&(o=!0,h+="' +\n__e("+n+") +\n'"),u&&(a=!0,h+="';\n"+u+";\n__p += '"),r&&(h+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),l=s+e.length,e}),h+="';\n";var v=e.variable;v||(h="with (obj) {\n"+h+"\n}\n"),h=(a?h.replace(ae,""):h).replace(ue,"$1").replace(se,"$1;"),h="function("+(v||"obj")+") {\n"+(v?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var g=Ds(function(){return zo(s,d+"return "+h).apply(X,c)});if(g.source=h,ro(g))throw g;return g},n.times=function(t,e){if((t=go(t))<1||t>wt)return[];var n=At,r=Ea(t,At);e=pi(e),t-=At;for(var i=P(r,e);++n<t;)e(n);return i},n.toFinite=vo,n.toInteger=go,n.toLength=mo,n.toLower=function(t){return xo(t).toLowerCase()},n.toNumber=yo,n.toSafeInteger=function(t){return t?Je(go(t),-wt,wt):0===t?t:0},n.toString=xo,n.toUpper=function(t){return xo(t).toUpperCase()},n.trim=function(t,e,n){if((t=xo(t))&&(n||e===X))return t.replace(_e,"");if(!t||!(e=gr(e)))return t;var r=U(t),i=U(e);return kr(r,M(r,i),L(r,i)+1).join("")},n.trimEnd=function(t,e,n){if((t=xo(t))&&(n||e===X))return t.replace(Ae,"");if(!t||!(e=gr(e)))return t;var r=U(t);return kr(r,0,L(r,U(e))+1).join("")},n.trimStart=function(t,e,n){if((t=xo(t))&&(n||e===X))return t.replace(Ce,"");if(!t||!(e=gr(e)))return t;var r=U(t);return kr(r,M(r,U(e))).join("")},n.truncate=function(t,e){var n=dt,r=vt;if(uo(e)){var i="separator"in e?e.separator:i;n="length"in e?go(e.length):n,r="omission"in e?gr(e.omission):r}var o=(t=xo(t)).length;if(R(t)){var a=U(t);o=a.length}if(n>=o)return t;var u=n-$(r);if(u<1)return r;var s=a?kr(a,0,u).join(""):t.slice(0,u);if(i===X)return s+r;if(a&&(u+=s.length-u),rs(i)){if(t.slice(u).search(i)){var c,l=s;for(i.global||(i=$o(i.source,xo(Pe.exec(i))+"g")),i.lastIndex=0;c=i.exec(l);)var f=c.index;s=s.slice(0,f===X?u:f)}}else if(t.indexOf(gr(i),u)!=u){var h=s.lastIndexOf(i);h>-1&&(s=s.slice(0,h))}return s+r},n.unescape=function(t){return(t=xo(t))&&fe.test(t)?t.replace(ce,Pn):t},n.uniqueId=function(t){var e=++Jo;return xo(t)+e},n.upperCase=Os,n.upperFirst=Ps,n.each=Vi,n.eachRight=Xi,n.first=Ri,qo(n,function(){var t={};return yn(n,function(e,r){Ko.call(n.prototype,r)||(t[r]=e)}),t}(),{chain:!1}),n.VERSION="4.17.4",c(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){n[t].placeholder=n}),c(["drop","take"],function(t,e){o.prototype[t]=function(n){n=n===X?1:ka(go(n),0);var r=this.__filtered__&&!e?new o(this):this.clone();return r.__filtered__?r.__takeCount__=Ea(n,r.__takeCount__):r.__views__.push({size:Ea(n,At),type:t+(r.__dir__<0?"Right":"")}),r},o.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),c(["filter","map","takeWhile"],function(t,e){var n=e+1,r=n==yt||3==n;o.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:pi(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}}),c(["head","last"],function(t,e){var n="take"+(e?"Right":"");o.prototype[t]=function(){return this[n](1).value()[0]}}),c(["initial","tail"],function(t,e){var n="drop"+(e?"":"Right");o.prototype[t]=function(){return this.__filtered__?new o(this):this[n](1)}}),o.prototype.compact=function(){return this.filter(Po)},o.prototype.find=function(t){return this.filter(t).head()},o.prototype.findLast=function(t){return this.reverse().find(t)},o.prototype.invokeMap=or(function(t,e){return"function"==typeof t?new o(this):this.map(function(n){return Fn(n,t,e)})}),o.prototype.reject=function(t){return this.filter(Ji(pi(t)))},o.prototype.slice=function(t,e){t=go(t);var n=this;return n.__filtered__&&(t>0||e<0)?new o(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==X&&(n=(e=go(e))<0?n.dropRight(-e):n.take(e-t)),n)},o.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},o.prototype.toArray=function(){return this.take(At)},yn(o.prototype,function(t,e){var r=/^(?:filter|find|map|reject)|While$/.test(e),a=/^(?:head|last)$/.test(e),u=n[a?"take"+("last"==e?"Right":""):e],s=a||/^find/.test(e);u&&(n.prototype[e]=function(){var e=this.__wrapped__,c=a?[1]:arguments,l=e instanceof o,f=c[0],h=l||Ku(e),p=function(t){var e=u.apply(n,g([t],c));return a&&d?e[0]:e};h&&r&&"function"==typeof f&&1!=f.length&&(l=h=!1);var d=this.__chain__,v=!!this.__actions__.length,m=s&&!d,y=l&&!v;if(!s&&h){e=y?e:new o(this);var b=t.apply(e,c);return b.__actions__.push({func:Ui,args:[p],thisArg:X}),new i(b,d)}return m&&y?t.apply(this,c):(b=this.thru(p),m?a?b.value()[0]:b.value():b)})}),c(["pop","push","shift","sort","splice","unshift"],function(t){var e=Xo[t],r=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",i=/^(?:pop|shift)$/.test(t);n.prototype[t]=function(){var t=arguments;if(i&&!this.__chain__){var n=this.value();return e.apply(Ku(n)?n:[],t)}return this[r](function(n){return e.apply(Ku(n)?n:[],t)})}}),yn(o.prototype,function(t,e){var r=n[e];if(r){var i=r.name+"";(Ba[i]||(Ba[i]=[])).push({name:e,func:r})}}),Ba[Vr(X,ot).name]=[{name:"wrapper",func:X}],o.prototype.clone=function(){var t=new o(this.__wrapped__);return t.__actions__=Nr(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Nr(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Nr(this.__views__),t},o.prototype.reverse=function(){if(this.__filtered__){var t=new o(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},o.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=Ku(t),r=e<0,i=n?t.length:0,o=function(t,e,n){for(var r=-1,i=n.length;++r<i;){var o=n[r],a=o.size;switch(o.type){case"drop":t+=a;break;case"dropRight":e-=a;break;case"take":e=Ea(e,t+a);break;case"takeRight":t=ka(t,e-a)}}return{start:t,end:e}}(0,i,this.__views__),a=o.start,u=o.end,s=u-a,c=r?u:a-1,l=this.__iteratees__,f=l.length,h=0,p=Ea(s,this.__takeCount__);if(!n||!r&&i==s&&p==s)return wr(t,this.__actions__);var d=[];t:for(;s--&&h<p;){for(var v=-1,g=t[c+=e];++v<f;){var m=l[v],y=m.iteratee,b=m.type,x=y(g);if(b==bt)g=x;else if(!x){if(b==yt)continue t;break t}}d[h++]=g}return d},n.prototype.at=Pu,n.prototype.chain=function(){return $i(this)},n.prototype.commit=function(){return new i(this.value(),this.__chain__)},n.prototype.next=function(){this.__values__===X&&(this.__values__=po(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?X:this.__values__[this.__index__++]}},n.prototype.plant=function(t){for(var e,n=this;n instanceof r;){var i=Ni(n);i.__index__=0,i.__values__=X,e?o.__wrapped__=i:e=i;var o=i;n=n.__wrapped__}return o.__wrapped__=t,e},n.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof o){var e=t;return this.__actions__.length&&(e=new o(this)),(e=e.reverse()).__actions__.push({func:Ui,args:[zi],thisArg:X}),new i(e,this.__chain__)}return this.thru(zi)},n.prototype.toJSON=n.prototype.valueOf=n.prototype.value=function(){return wr(this.__wrapped__,this.__actions__)},n.prototype.first=n.prototype.head,da&&(n.prototype[da]=function(){return this}),n}();gn._=Dn,(i=function(){return Dn}.call(e,n,e,r))!==X&&(r.exports=i)}).call(this)}).call(e,n(4),n(5)(t))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});for(var r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var a,u=t[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&u.return&&u.return()}finally{if(i)throw o}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i=function(t){return t&&t.__esModule?t:{default:t}}(n(0)),o="\"'(<\\[{༺༼᚛⁅⁽₍〈❨❪❬❮❰❲❴⟅⟦⟨⟪⟬⟮⦃⦅⦇⦉⦋⦍⦏⦑⦓⦕⦗⧘⧚⧼⸢⸤⸦⸨〈《「『【〔〖〘〚〝〝﴾︗︵︷︹︻︽︿﹁﹃﹇﹙﹛﹝（［｛｟｢«‘“‹⸂⸄⸉⸌⸜⸠‚„»’”›⸃⸅⸊⸍⸝⸡‛‟",a="\"')>\\]}༻༽᚜⁆⁾₎〉❩❫❭❯❱❳❵⟆⟧⟩⟫⟭⟯⦄⦆⦈⦊⦌⦎⦐⦒⦔⦖⦘⧙⧛⧽⸣⸥⸧⸩〉》」』】〕〗〙〛〞〟﴿︘︶︸︺︼︾﹀﹂﹄﹈﹚﹜﹞）］｝｠｣»’”›⸃⸅⸊⸍⸝⸡‛‟«‘“‹⸂⸄⸉⸌⸜⸠‚„",u={},s={},c=0;c<o.length;c++){var l=o[c],f=a[c];u[l]=f,u[f]=l}for(var h="\\-/:֊¡·¿;·՚-՟։־׀׃׆׳״؉؊،؍؛؞؟٪-٭۔܀-܍߷-߹࠰-࠾।॥॰෴๏๚๛༄-༒྅࿐-࿔၊-၏჻፡-፨᐀᙭᙮᛫-᛭᜵᜶។-៖៘-៚᠀-᠊᥄᥅᧞᧟᨞᨟᪠-᪦᪨-᪭᭚-᭠᰻-᰿᱾᱿᳓‐-‗†-‧‰-‸※-‾⁁-⁃⁇-⁑⁓⁕-⁞⳹-⳼⳾⳿⸀⸁⸆-⸈⸋⸎-⸛⸞⸟⸪-⸮⸰⸱、-〃〜〰〽゠・꓾꓿꘍-꘏꙳꙾꛲-꛷꡴-꡷꣎꣏꣸-꣺꤮꤯꥟꧁-꧍꧞꧟꩜-꩟꫞꫟꯫︐-︖︙︰-︲﹅﹆﹉-﹌﹐-﹒﹔-﹘﹟-﹡﹣﹨﹪﹫！-＃％-＇＊，-／：；？＠＼｡､･",p={},d=0;d<o.length;d++)p[h[d]]=!0;var v={"»":"»","‘":"‚","’":"’","‚":"‘’","“":"„","„":"“”","”":"”","›":"›"},g=new RegExp("\\s|["+o+h+"]"),m=new RegExp("\\s|[\\\\.,;!?"+h+a+"]"),y={calcIndentSize:function(t){return i.default.reduce(t,function(t,e){return"\t"===e?t+8-(t+8)%8:t+1},0)},isPunctuationOpener:function(t){return t in u},isPunctuationCloser:function(t){return t in s},isPunctuationDelimiter:function(t){return t in p},isMatchPunctuations:function(t,e){return u[t]===e||t in v&&-1!==v[t].indexOf(e)},isInlineMarkupPrefix:function(t){return g.test(t)},isInlineMarkupSuffix:function(t){return m.test(t)},isUpperRomanNumber:function(t){return/^M{0,3}(CM|CD|D?C{0,3})(XC|XL|L?X{0,3})(IX|IV|V?I{0,3})$/.test(t)},isLowerRomanNumber:function(t){return/^m{0,3}(cm|cd|d?c{0,3})(xc|xl|l?x{0,3})(ix|iv|v?i{0,3})$/.test(t)},romanToNumber:function(t){for(var e=[["M",1e3],["CM",900],["D",500],["CD",400],["C",100],["XC",90],["L",50],["XL",40],["X",10],["IX",9],["V",5],["IV",4],["I",1]],n=0,i=t,o=0;o<e.length;o++)for(var a=r(e[o],2),u=a[0],s=a[1],c=new RegExp("^"+u);i.match(c);)n+=s,i=i.replace(c,"");return n},numberToRoman:function(t){for(var e=[["M",1e3],["CM",900],["D",500],["CD",400],["C",100],["XC",90],["L",50],["XL",40],["X",10],["IX",9],["V",5],["IV",4],["I",1]],n=t,i="",o=0;o<e.length;o++)for(var a=r(e[o],2),u=a[0],s=a[1];n>=s;)i+=u,n-=s;return i}};e.default=y},function(t,e,n){"use strict";var r=function(t){return t&&t.__esModule?t:{default:t}}(n(3)),i=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2;switch(t.type){case"document":return a(t,e,n);case"section":return u(t,e,n);case"transition":return c(t,e,n);case"paragraph":return l(t,e,n);case"bullet_list":return f(t,e,n);case"enumerated_list":return h(t,e,n);case"definition_list":return p(t,e,n);case"list_item":return d(t,e,n);case"line":return v(t,e,n);case"line_block":return g(t,e,n);case"literal_block":return m(t,e,n);case"block_quote":return y(t,e,n);case"text":return b(t,e,n);case"emphasis":return x(t,e,n);case"strong":return w(t,e,n);case"literal":return _(t,e,n);default:return o(t,e,n)}},o=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2;return t.children?T("div","rst-unknown rst-"+t.type,t,e,n):C("div","rst-unknown rst-"+t.type,t,e,n)},a=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2;return T("div","rst-document",t,e,n)},u=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2,r=" ".repeat(e*n);return r+'<div class="rst-section">\n'+s(t.depth,t.children[0],e+1,n)+t.children.slice(1).map(function(t){return i(t,e+1,n)}).join("\n")+r+"</div>\n"},s=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:2;return T("h"+t,"rst-title-"+t,e,n,r)},c=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2;return o(t,e,n)},l=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2;return T("p","rst-paragraph",t,e,n)},f=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2;return T("ul","rst-bullet-list",t,e,n)},h=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2;return T("ol","rst-enumerated-list",t,e,n)},p=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2;return o(t,e,n)},d=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2;return T("li","rst-list-item",t,e,n)},v=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2;return T("div","rst-line",t,e,n)},g=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2;return T("div","rst-line-block",t,e,n)},m=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2;return T("pre","rst-literal-block",t,e,n)},y=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2;return T("blockquote","rst-block-quote",t,e,n)},b=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2;return C("span","rst-text",t,e,n)},x=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2;return A("em","rst-emphasis",t,e,n)},w=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2;return A("strong","rst-strong",t,e,n)},_=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2;return A("tt","rst-literal",t,e,n)},C=function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:2;return" ".repeat(r*i),"<"+t+' class="'+e+'">'+n.value.replace(/\n$/,"")+"</"+t+">"},A=function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:2;return"<"+t+' class="'+e+'">'+n.children.map(function(t){return i(t,r+1,o)}).join("")+"</"+t+">"},T=function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:2,a=" ".repeat(r*o);return a+"<"+t+' class="'+e+'">\n'+n.children.map(function(t){return i(t,r+1,o)}).join("")+"\n"+a+"</"+t+">\n"};t.exports=function(t){var e=(arguments.length>1&&void 0!==arguments[1]&&arguments[1],r.default.parse(t));return i(e,0,2)}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=r(n(0)),o=r(n(6)),a=r(n(8)),u={parse:function(t){var e=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=a.default.parse(t);return(0,o.default)(n,function(t){var n=[];return e.position||n.push("position"),e.blanklines||n.push("blanklines"),e.indent||n.push("indent"),i.default.omit(t,n)})}};e.default=u},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,n){"use strict";var r=n(7);t.exports=function(t,e){return function t(n,i,o){const a=r({},e(n,i,o));return n.children&&(a.children=n.children.map(function(e,r){return t(e,r,n)})),a}(t,null,null)}},function(t,e,n){"use strict";function r(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}
  /*
  object-assign
  (c) Sindre Sorhus
  @license MIT
  */var i=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map(function(t){return e[t]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(t){r[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(t){return!1}}()?Object.assign:function(t,e){for(var n,u,s=r(t),c=1;c<arguments.length;c++){for(var l in n=Object(arguments[c]))o.call(n,l)&&(s[l]=n[l]);if(i){u=i(n);for(var f=0;f<u.length;f++)a.call(n,u[f])&&(s[u[f]]=n[u[f]])}}return s}},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function i(t,e,n,r){this.message=t,this.expected=e,this.found=n,this.location=r,this.name="SyntaxError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,i)}!function(t,e){function n(){this.constructor=t}n.prototype=e.prototype,t.prototype=new n}(i,Error),i.buildMessage=function(t,e){function n(t){return t.charCodeAt(0).toString(16).toUpperCase()}function r(t){return t.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(t){return"\\x0"+n(t)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(t){return"\\x"+n(t)})}function i(t){return t.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(t){return"\\x0"+n(t)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(t){return"\\x"+n(t)})}function o(t){return a[t.type](t)}var a={literal:function(t){return'"'+r(t.text)+'"'},class:function(t){var e,n="";for(e=0;e<t.parts.length;e++)n+=t.parts[e]instanceof Array?i(t.parts[e][0])+"-"+i(t.parts[e][1]):i(t.parts[e]);return"["+(t.inverted?"^":"")+n+"]"},any:function(t){return"any character"},end:function(t){return"end of input"},other:function(t){return t.description}};return"Expected "+function(t){var e,n,r=new Array(t.length);for(e=0;e<t.length;e++)r[e]=o(t[e]);if(r.sort(),r.length>0){for(e=1,n=1;e<r.length;e++)r[e-1]!==r[e]&&(r[n]=r[e],n++);r.length=n}switch(r.length){case 1:return r[0];case 2:return r[0]+" or "+r[1];default:return r.slice(0,-1).join(", ")+", or "+r[r.length-1]}}(t)+" but "+(e?'"'+r(e)+'"':"end of input")+" found."},t.exports={SyntaxError:i,parse:function(t,e){function o(){return c(da,pa)}function a(t,e){return{type:"literal",text:t,ignoreCase:e}}function u(t,e,n){return{type:"class",parts:t,inverted:e,ignoreCase:n}}function s(e){var n,r=va[e];if(r)return r;for(n=e-1;!va[n];)n--;for(r={line:(r=va[n]).line,column:r.column};n<e;)10===t.charCodeAt(n)?(r.line++,r.column=1):r.column++,n++;return va[e]=r,r}function c(t,e){var n=s(t),r=s(e);return{start:{offset:t,line:n.line,column:n.column},end:{offset:e,line:r.line,column:r.column}}}function l(t){pa<ga||(pa>ga&&(ga=pa,ma=[]),ma.push(t))}function f(){var e;return fe.test(t.charAt(pa))?(e=t.charAt(pa),pa++):(e=se,0===ya&&l(he)),e}function h(){var e,n;return e=pa,ya++,t.length>pa?(n=t.charAt(pa),pa++):(n=se,0===ya&&l(pe)),ya--,n===se?e=void 0:(pa=e,e=se),e}function p(){var e,n,r,i;return 10===t.charCodeAt(pa)?(e=de,pa++):(e=se,0===ya&&l(ve)),e===se&&(e=pa,n=pa,13===t.charCodeAt(pa)?(r=ge,pa++):(r=se,0===ya&&l(me)),r!==se?(10===t.charCodeAt(pa)?(i=de,pa++):(i=se,0===ya&&l(ve)),i===se&&(i=null),i!==se?n=r=[r,i]:(pa=n,n=se)):(pa=n,n=se),n!==se&&(da=e,n=ye(n)),e=n),e}function d(){var e;return 32===t.charCodeAt(pa)?(e=be,pa++):(e=se,0===ya&&l(xe)),e===se&&(11===t.charCodeAt(pa)?(e=we,pa++):(e=se,0===ya&&l(_e)),e===se&&(12===t.charCodeAt(pa)?(e=Ce,pa++):(e=se,0===ya&&l(Ae)),e===se&&(9===t.charCodeAt(pa)?(e=Te,pa++):(e=se,0===ya&&l(Se))))),e}function v(){var t;return(t=p())===se&&(t=h()),t}function g(){var t;return(t=d())===se&&(t=p()),t}function m(){var e,n,r,i;return e=pa,n=pa,r=pa,ya++,i=g(),ya--,i===se?r=void 0:(pa=r,r=se),r!==se?(t.length>pa?(i=t.charAt(pa),pa++):(i=se,0===ya&&l(pe)),i!==se?n=r=[r,i]:(pa=n,n=se)):(pa=n,n=se),n!==se&&(da=e,n=ke(n)),n}function y(){var t,e,n,r,i,o,a,u,s;for(t=pa,e=[],n=pa,r=[],i=d();i!==se;)r.push(i),i=d();if(r!==se)if((i=p())!==se){for(o=pa,ya++,a=pa,u=[],s=d();s!==se;)u.push(s),s=d();u!==se&&(s=v())!==se?a=u=[u,s]:(pa=a,a=se),ya--,a!==se?(pa=o,o=void 0):o=se,o!==se?n=r=[r,i,o]:(pa=n,n=se)}else pa=n,n=se;else pa=n,n=se;for(;n!==se;){for(e.push(n),n=pa,r=[],i=d();i!==se;)r.push(i),i=d();if(r!==se)if((i=p())!==se){for(o=pa,ya++,a=pa,u=[],s=d();s!==se;)u.push(s),s=d();u!==se&&(s=v())!==se?a=u=[u,s]:(pa=a,a=se),ya--,a!==se?(pa=o,o=void 0):o=se,o!==se?n=r=[r,i,o]:(pa=n,n=se)}else pa=n,n=se;else pa=n,n=se}if(e!==se){for(n=pa,r=[],i=d();i!==se;)r.push(i),i=d();r!==se&&(i=v())!==se?n=r=[r,i]:(pa=n,n=se),n!==se?(da=t,t=e=Ee(e,n)):(pa=t,t=se)}else pa=t,t=se;return t}function b(){var e,n,r,i,o;for(e=pa,n=[],r=pa,i=pa,ya++,o=v(),ya--,o===se?i=void 0:(pa=i,i=se),i!==se?(t.length>pa?(o=t.charAt(pa),pa++):(o=se,0===ya&&l(pe)),o!==se?r=i=[i,o]:(pa=r,r=se)):(pa=r,r=se);r!==se;)n.push(r),r=pa,i=pa,ya++,o=v(),ya--,o===se?i=void 0:(pa=i,i=se),i!==se?(t.length>pa?(o=t.charAt(pa),pa++):(o=se,0===ya&&l(pe)),o!==se?r=i=[i,o]:(pa=r,r=se)):(pa=r,r=se);return n!==se&&(r=v())!==se?(da=e,e=n=je(n)):(pa=e,e=se),e}function x(){var e,n,r,i,o;if(e=pa,n=[],r=pa,i=pa,ya++,o=v(),ya--,o===se?i=void 0:(pa=i,i=se),i!==se?(t.length>pa?(o=t.charAt(pa),pa++):(o=se,0===ya&&l(pe)),o!==se?r=i=[i,o]:(pa=r,r=se)):(pa=r,r=se),r!==se)for(;r!==se;)n.push(r),r=pa,i=pa,ya++,o=v(),ya--,o===se?i=void 0:(pa=i,i=se),i!==se?(t.length>pa?(o=t.charAt(pa),pa++):(o=se,0===ya&&l(pe)),o!==se?r=i=[i,o]:(pa=r,r=se)):(pa=r,r=se);else n=se;return n!==se&&(r=v())!==se?(da=e,e=n=je(n)):(pa=e,e=se),e}function w(){var t,e;return t=pa,(e=x())!==se&&(da=t,e=Oe(e)),e}function _(){var e,n,r,i,o,a,u;if(e=pa,ya++,n=pa,(r=y())===se&&(r=null),r!==se){for(i=[],o=d();o!==se;)i.push(o),o=d();i!==se?(o=pa,ya++,a=g(),ya--,a===se?o=void 0:(pa=o,o=se),o!==se?(t.length>pa?(a=t.charAt(pa),pa++):(a=se,0===ya&&l(pe)),a!==se?(da=pa,(u=(u=Pe(i))?void 0:se)!==se?n=r=[r,i,o,a,u]:(pa=n,n=se)):(pa=n,n=se)):(pa=n,n=se)):(pa=n,n=se)}else pa=n,n=se;return ya--,n!==se?(pa=e,e=void 0):e=se,e}function C(){var t,e,n;for(t=pa,e=[],n=d();n!==se;)e.push(n),n=d();return e!==se?(da=pa,(n=(n=De(e))?void 0:se)!==se?(da=t,t=e=qe(e)):(pa=t,t=se)):(pa=t,t=se),t}function A(){var t,e,n;if(t=pa,e=[],(n=d())!==se)for(;n!==se;)e.push(n),n=d();else e=se;return e!==se?(da=pa,(n=(n=Ne(e))?void 0:se)!==se?(da=t,t=e=Me(e)):(pa=t,t=se)):(pa=t,t=se),t}function T(){var t,e,n;for(t=pa,e=[],n=d();n!==se;)e.push(n),n=d();return e!==se?(da=pa,(n=(n=Le(e))?void 0:se)!==se?(da=t,t=e=Me(e)):(pa=t,t=se)):(pa=t,t=se),t}function S(){var t,e,n;for(t=pa,e=[],n=d();n!==se;)e.push(n),n=d();return e!==se?(da=pa,(n=(n=Ie(e))?void 0:se)!==se?(da=t,t=e=Me(e)):(pa=t,t=se)):(pa=t,t=se),t}function k(){var e,n,r;return e=pa,da=pa,(n=(n=Re())?void 0:se)!==se?(t.length>pa?(r=t.charAt(pa),pa++):(r=se,0===ya&&l(pe)),r!==se?e=n=[n,r]:(pa=e,e=se)):(pa=e,e=se),e}function E(){return da=pa,Fe()?void 0:se}function j(){var t,e,n;return t=pa,(e=E())!==se&&(n=k())!==se?t=e=[e,n]:(pa=t,t=se),t}function O(){var t,e,n,r,i,o,a,u,s,c,l,f,h;if(t=pa,e=pa,ya++,n=A(),ya--,n!==se?(pa=e,e=void 0):e=se,e!==se){if(n=pa,ya++,r=pa,i=[],(o=d())!==se)for(;o!==se;)i.push(o),o=d();else i=se;if(i!==se)if((o=b())!==se)if(da=pa,(a=(a=Be(i))?void 0:se)!==se){for(u=[],s=pa,c=[],l=d();l!==se;)c.push(l),l=d();if(c!==se&&(l=p())!==se?s=c=[c,l]:(pa=s,s=se),s===se)if(s=pa,c=pa,ya++,l=A(),ya--,l!==se?(pa=c,c=void 0):c=se,c!==se){if(l=[],(f=d())!==se)for(;f!==se;)l.push(f),f=d();else l=se;l!==se&&(f=b())!==se?(da=pa,(h=(h=ze(i,l))?void 0:se)!==se?s=c=[c,l,f,h]:(pa=s,s=se)):(pa=s,s=se)}else pa=s,s=se;for(;s!==se;){for(u.push(s),s=pa,c=[],l=d();l!==se;)c.push(l),l=d();if(c!==se&&(l=p())!==se?s=c=[c,l]:(pa=s,s=se),s===se)if(s=pa,c=pa,ya++,l=A(),ya--,l!==se?(pa=c,c=void 0):c=se,c!==se){if(l=[],(f=d())!==se)for(;f!==se;)l.push(f),f=d();else l=se;l!==se&&(f=b())!==se?(da=pa,(h=(h=ze(i,l))?void 0:se)!==se?s=c=[c,l,f,h]:(pa=s,s=se)):(pa=s,s=se)}else pa=s,s=se}u!==se?(da=pa,(s=(s=We(i))?void 0:se)!==se?r=i=[i,o,a,u,s]:(pa=r,r=se)):(pa=r,r=se)}else pa=r,r=se;else pa=r,r=se;else pa=r,r=se;ya--,r!==se?(pa=n,n=void 0):n=se,n!==se?(da=t,t=e=He()):(pa=t,t=se)}else pa=t,t=se;return t}function P(){var t,e,n,r,i,o;return t=pa,e=pa,ya++,n=pa,(r=A())!==se&&(i=m())!==se?(da=pa,(o=(o=$e(r,i))?void 0:se)!==se?n=r=[r,i,o]:(pa=n,n=se)):(pa=n,n=se),ya--,n!==se?(pa=e,e=void 0):e=se,e!==se&&(da=t,e=He()),e}function D(){return da=pa,Ue()?void 0:se}function q(){var t,e,n;for(t=pa,e=[],(n=N())===se&&(n=R())===se&&(n=z())===se&&(n=oe());n!==se;)e.push(n),(n=N())===se&&(n=R())===se&&(n=z())===se&&(n=oe());return e!==se&&(n=y())!==se?(da=t,t=e=Ve(e,n)):(pa=t,t=se),t}function N(){var t,e,n,r,i,o,a;if(t=pa,(e=y())===se&&(e=null),e!==se)if(L()!==se)if((n=function(){var t,e,n,r,i,o,a;if(t=pa,e=pa,ya++,n=pa,(r=I())!==se?(i=pa,ya++,o=y(),ya--,o===se?i=void 0:(pa=i,i=se),i!==se&&(o=b())!==se&&(a=I())!==se?n=r=[r,i,o,a]:(pa=n,n=se)):(pa=n,n=se),ya--,n!==se?(pa=e,e=void 0):e=se,e!==se)if((n=I())!==se){for(r=[],i=d();i!==se;)r.push(i),i=d();r!==se&&(i=Jt())!==se&&(o=p())!==se&&(a=I())!==se?(da=t,e=Ze(n,i,a),t=e):(pa=t,t=se)}else pa=t,t=se;else pa=t,t=se;return t}())===se&&(n=function(){var t,e,n,r,i,o;return t=pa,e=pa,ya++,n=pa,r=pa,ya++,i=y(),ya--,i===se?r=void 0:(pa=r,r=se),r!==se&&(i=b())!==se&&(o=I())!==se?n=r=[r,i,o]:(pa=n,n=se),ya--,n!==se?(pa=e,e=void 0):e=se,e!==se&&(n=Jt())!==se&&(r=p())!==se&&(i=I())!==se?(da=t,e=Qe(n,i),t=e):(pa=t,t=se),t}()),n!==se){for(r=[],i=pa,(o=L())!==se&&(a=N())!==se?i=o=[o,a]:(pa=i,i=se),i===se&&(i=pa,o=pa,ya++,a=M(),ya--,a===se?o=void 0:(pa=o,o=se),o!==se&&(a=R())!==se?i=o=[o,a]:(pa=i,i=se),i===se&&(i=pa,o=pa,ya++,a=M(),ya--,a===se?o=void 0:(pa=o,o=se),o!==se&&(a=z())!==se?i=o=[o,a]:(pa=i,i=se)));i!==se;)r.push(i),i=pa,(o=L())!==se&&(a=N())!==se?i=o=[o,a]:(pa=i,i=se),i===se&&(i=pa,o=pa,ya++,a=M(),ya--,a===se?o=void 0:(pa=o,o=se),o!==se&&(a=R())!==se?i=o=[o,a]:(pa=i,i=se),i===se&&(i=pa,o=pa,ya++,a=M(),ya--,a===se?o=void 0:(pa=o,o=se),o!==se&&(a=z())!==se?i=o=[o,a]:(pa=i,i=se)));r!==se?(da=t,t=e=Xe(e,n,r)):(pa=t,t=se)}else pa=t,t=se;else pa=t,t=se;else pa=t,t=se;return t}function M(){var t,e,n,r,i,o,a;return t=pa,ya++,e=pa,(n=y())===se&&(n=null),n!==se&&(r=I())!==se?(i=pa,ya++,o=y(),ya--,o===se?i=void 0:(pa=i,i=se),i!==se&&(o=b())!==se&&(a=I())!==se?e=n=[n,r,i,o,a]:(pa=e,e=se)):(pa=e,e=se),ya--,e!==se?(pa=t,t=void 0):t=se,t===se&&(t=pa,ya++,e=pa,(n=y())===se&&(n=null),n!==se&&(r=b())!==se&&(i=I())!==se?e=n=[n,r,i]:(pa=e,e=se),ya--,e!==se?(pa=t,t=void 0):t=se),t}function L(){var t,e,n,r,i,o,a,u;return t=pa,ya++,e=pa,(n=y())===se&&(n=null),n!==se&&(r=I())!==se?(i=pa,ya++,o=y(),ya--,o===se?i=void 0:(pa=i,i=se),i!==se&&(o=b())!==se&&(a=I())!==se?(da=pa,(u=(u=Ye(r,a))?void 0:se)!==se?e=n=[n,r,i,o,a,u]:(pa=e,e=se)):(pa=e,e=se)):(pa=e,e=se),ya--,e!==se?(pa=t,t=void 0):t=se,t===se&&(t=pa,ya++,e=pa,(n=y())===se&&(n=null),n!==se&&(r=b())!==se&&(i=I())!==se?(da=pa,(o=(o=Ge(r,i))?void 0:se)!==se?e=n=[n,r,i,o]:(pa=e,e=se)):(pa=e,e=se),ya--,e!==se?(pa=t,t=void 0):t=se),t}function I(){var e,n,r,i,o;if(e=pa,n=[],33===t.charCodeAt(pa)?(r=Ke,pa++):(r=se,0===ya&&l(Je)),r===se&&(34===t.charCodeAt(pa)?(r=tn,pa++):(r=se,0===ya&&l(en)),r===se&&(35===t.charCodeAt(pa)?(r=nn,pa++):(r=se,0===ya&&l(rn)),r===se&&(36===t.charCodeAt(pa)?(r=on,pa++):(r=se,0===ya&&l(an)),r===se&&(37===t.charCodeAt(pa)?(r=un,pa++):(r=se,0===ya&&l(sn)),r===se&&(38===t.charCodeAt(pa)?(r=cn,pa++):(r=se,0===ya&&l(ln)),r===se&&(39===t.charCodeAt(pa)?(r=fn,pa++):(r=se,0===ya&&l(hn)),r===se&&(40===t.charCodeAt(pa)?(r=pn,pa++):(r=se,0===ya&&l(dn)),r===se&&(41===t.charCodeAt(pa)?(r=vn,pa++):(r=se,0===ya&&l(gn)),r===se&&(42===t.charCodeAt(pa)?(r=mn,pa++):(r=se,0===ya&&l(yn)),r===se&&(43===t.charCodeAt(pa)?(r=bn,pa++):(r=se,0===ya&&l(xn)),r===se&&(44===t.charCodeAt(pa)?(r=wn,pa++):(r=se,0===ya&&l(_n)),r===se&&(45===t.charCodeAt(pa)?(r=Cn,pa++):(r=se,0===ya&&l(An)),r===se&&(46===t.charCodeAt(pa)?(r=Tn,pa++):(r=se,0===ya&&l(Sn)),r===se&&(47===t.charCodeAt(pa)?(r=kn,pa++):(r=se,0===ya&&l(En)),r===se&&(58===t.charCodeAt(pa)?(r=jn,pa++):(r=se,0===ya&&l(On)),r===se&&(59===t.charCodeAt(pa)?(r=Pn,pa++):(r=se,0===ya&&l(Dn)),r===se&&(60===t.charCodeAt(pa)?(r=qn,pa++):(r=se,0===ya&&l(Nn)),r===se&&(61===t.charCodeAt(pa)?(r=Mn,pa++):(r=se,0===ya&&l(Ln)),r===se&&(62===t.charCodeAt(pa)?(r=In,pa++):(r=se,0===ya&&l(Rn)),r===se&&(63===t.charCodeAt(pa)?(r=Fn,pa++):(r=se,0===ya&&l(Bn)),r===se&&(64===t.charCodeAt(pa)?(r=zn,pa++):(r=se,0===ya&&l(Wn)),r===se&&(91===t.charCodeAt(pa)?(r=Hn,pa++):(r=se,0===ya&&l($n)),r===se&&(92===t.charCodeAt(pa)?(r=Un,pa++):(r=se,0===ya&&l(Vn)),r===se&&(93===t.charCodeAt(pa)?(r=Xn,pa++):(r=se,0===ya&&l(Yn)),r===se&&(94===t.charCodeAt(pa)?(r=Gn,pa++):(r=se,0===ya&&l(Zn)),r===se&&(95===t.charCodeAt(pa)?(r=Qn,pa++):(r=se,0===ya&&l(Kn)),r===se&&(96===t.charCodeAt(pa)?(r=Jn,pa++):(r=se,0===ya&&l(tr)),r===se&&(123===t.charCodeAt(pa)?(r=er,pa++):(r=se,0===ya&&l(nr)),r===se&&(124===t.charCodeAt(pa)?(r=rr,pa++):(r=se,0===ya&&l(ir)),r===se&&(125===t.charCodeAt(pa)?(r=or,pa++):(r=se,0===ya&&l(ar)),r===se&&(126===t.charCodeAt(pa)?(r=ur,pa++):(r=se,0===ya&&l(sr))))))))))))))))))))))))))))))))),r!==se)for(;r!==se;)n.push(r),33===t.charCodeAt(pa)?(r=Ke,pa++):(r=se,0===ya&&l(Je)),r===se&&(34===t.charCodeAt(pa)?(r=tn,pa++):(r=se,0===ya&&l(en)),r===se&&(35===t.charCodeAt(pa)?(r=nn,pa++):(r=se,0===ya&&l(rn)),r===se&&(36===t.charCodeAt(pa)?(r=on,pa++):(r=se,0===ya&&l(an)),r===se&&(37===t.charCodeAt(pa)?(r=un,pa++):(r=se,0===ya&&l(sn)),r===se&&(38===t.charCodeAt(pa)?(r=cn,pa++):(r=se,0===ya&&l(ln)),r===se&&(39===t.charCodeAt(pa)?(r=fn,pa++):(r=se,0===ya&&l(hn)),r===se&&(40===t.charCodeAt(pa)?(r=pn,pa++):(r=se,0===ya&&l(dn)),r===se&&(41===t.charCodeAt(pa)?(r=vn,pa++):(r=se,0===ya&&l(gn)),r===se&&(42===t.charCodeAt(pa)?(r=mn,pa++):(r=se,0===ya&&l(yn)),r===se&&(43===t.charCodeAt(pa)?(r=bn,pa++):(r=se,0===ya&&l(xn)),r===se&&(44===t.charCodeAt(pa)?(r=wn,pa++):(r=se,0===ya&&l(_n)),r===se&&(45===t.charCodeAt(pa)?(r=Cn,pa++):(r=se,0===ya&&l(An)),r===se&&(46===t.charCodeAt(pa)?(r=Tn,pa++):(r=se,0===ya&&l(Sn)),r===se&&(47===t.charCodeAt(pa)?(r=kn,pa++):(r=se,0===ya&&l(En)),r===se&&(58===t.charCodeAt(pa)?(r=jn,pa++):(r=se,0===ya&&l(On)),r===se&&(59===t.charCodeAt(pa)?(r=Pn,pa++):(r=se,0===ya&&l(Dn)),r===se&&(60===t.charCodeAt(pa)?(r=qn,pa++):(r=se,0===ya&&l(Nn)),r===se&&(61===t.charCodeAt(pa)?(r=Mn,pa++):(r=se,0===ya&&l(Ln)),r===se&&(62===t.charCodeAt(pa)?(r=In,pa++):(r=se,0===ya&&l(Rn)),r===se&&(63===t.charCodeAt(pa)?(r=Fn,pa++):(r=se,0===ya&&l(Bn)),r===se&&(64===t.charCodeAt(pa)?(r=zn,pa++):(r=se,0===ya&&l(Wn)),r===se&&(91===t.charCodeAt(pa)?(r=Hn,pa++):(r=se,0===ya&&l($n)),r===se&&(92===t.charCodeAt(pa)?(r=Un,pa++):(r=se,0===ya&&l(Vn)),r===se&&(93===t.charCodeAt(pa)?(r=Xn,pa++):(r=se,0===ya&&l(Yn)),r===se&&(94===t.charCodeAt(pa)?(r=Gn,pa++):(r=se,0===ya&&l(Zn)),r===se&&(95===t.charCodeAt(pa)?(r=Qn,pa++):(r=se,0===ya&&l(Kn)),r===se&&(96===t.charCodeAt(pa)?(r=Jn,pa++):(r=se,0===ya&&l(tr)),r===se&&(123===t.charCodeAt(pa)?(r=er,pa++):(r=se,0===ya&&l(nr)),r===se&&(124===t.charCodeAt(pa)?(r=rr,pa++):(r=se,0===ya&&l(ir)),r===se&&(125===t.charCodeAt(pa)?(r=or,pa++):(r=se,0===ya&&l(ar)),r===se&&(126===t.charCodeAt(pa)?(r=ur,pa++):(r=se,0===ya&&l(sr)))))))))))))))))))))))))))))))));else n=se;if(n!==se)if(da=pa,(r=(r=cr(n))?void 0:se)!==se){for(i=[],o=d();o!==se;)i.push(o),o=d();i!==se&&(o=p())!==se?(da=e,e=n=lr(n)):(pa=e,e=se)}else pa=e,e=se;else pa=e,e=se;return e}function R(){var t,e,n,r,i,o,a;if(t=pa,(e=y())===se&&(e=null),e!==se)if((n=F())!==se){for(r=[],i=d();i!==se;)r.push(i),i=d();r!==se&&(i=p())!==se?(o=pa,ya++,a=y(),ya--,a!==se?(pa=o,o=void 0):o=se,o!==se?(da=t,t=e=fr(e,n)):(pa=t,t=se)):(pa=t,t=se)}else pa=t,t=se;else pa=t,t=se;return t}function F(){var e,n,r;if(e=pa,n=[],33===t.charCodeAt(pa)?(r=Ke,pa++):(r=se,0===ya&&l(Je)),r===se&&(34===t.charCodeAt(pa)?(r=tn,pa++):(r=se,0===ya&&l(en)),r===se&&(35===t.charCodeAt(pa)?(r=nn,pa++):(r=se,0===ya&&l(rn)),r===se&&(36===t.charCodeAt(pa)?(r=on,pa++):(r=se,0===ya&&l(an)),r===se&&(37===t.charCodeAt(pa)?(r=un,pa++):(r=se,0===ya&&l(sn)),r===se&&(38===t.charCodeAt(pa)?(r=cn,pa++):(r=se,0===ya&&l(ln)),r===se&&(39===t.charCodeAt(pa)?(r=fn,pa++):(r=se,0===ya&&l(hn)),r===se&&(40===t.charCodeAt(pa)?(r=pn,pa++):(r=se,0===ya&&l(dn)),r===se&&(41===t.charCodeAt(pa)?(r=vn,pa++):(r=se,0===ya&&l(gn)),r===se&&(42===t.charCodeAt(pa)?(r=mn,pa++):(r=se,0===ya&&l(yn)),r===se&&(43===t.charCodeAt(pa)?(r=bn,pa++):(r=se,0===ya&&l(xn)),r===se&&(44===t.charCodeAt(pa)?(r=wn,pa++):(r=se,0===ya&&l(_n)),r===se&&(45===t.charCodeAt(pa)?(r=Cn,pa++):(r=se,0===ya&&l(An)),r===se&&(46===t.charCodeAt(pa)?(r=Tn,pa++):(r=se,0===ya&&l(Sn)),r===se&&(47===t.charCodeAt(pa)?(r=kn,pa++):(r=se,0===ya&&l(En)),r===se&&(58===t.charCodeAt(pa)?(r=jn,pa++):(r=se,0===ya&&l(On)),r===se&&(59===t.charCodeAt(pa)?(r=Pn,pa++):(r=se,0===ya&&l(Dn)),r===se&&(60===t.charCodeAt(pa)?(r=qn,pa++):(r=se,0===ya&&l(Nn)),r===se&&(61===t.charCodeAt(pa)?(r=Mn,pa++):(r=se,0===ya&&l(Ln)),r===se&&(62===t.charCodeAt(pa)?(r=In,pa++):(r=se,0===ya&&l(Rn)),r===se&&(63===t.charCodeAt(pa)?(r=Fn,pa++):(r=se,0===ya&&l(Bn)),r===se&&(64===t.charCodeAt(pa)?(r=zn,pa++):(r=se,0===ya&&l(Wn)),r===se&&(91===t.charCodeAt(pa)?(r=Hn,pa++):(r=se,0===ya&&l($n)),r===se&&(92===t.charCodeAt(pa)?(r=Un,pa++):(r=se,0===ya&&l(Vn)),r===se&&(93===t.charCodeAt(pa)?(r=Xn,pa++):(r=se,0===ya&&l(Yn)),r===se&&(94===t.charCodeAt(pa)?(r=Gn,pa++):(r=se,0===ya&&l(Zn)),r===se&&(95===t.charCodeAt(pa)?(r=Qn,pa++):(r=se,0===ya&&l(Kn)),r===se&&(96===t.charCodeAt(pa)?(r=Jn,pa++):(r=se,0===ya&&l(tr)),r===se&&(123===t.charCodeAt(pa)?(r=er,pa++):(r=se,0===ya&&l(nr)),r===se&&(124===t.charCodeAt(pa)?(r=rr,pa++):(r=se,0===ya&&l(ir)),r===se&&(125===t.charCodeAt(pa)?(r=or,pa++):(r=se,0===ya&&l(ar)),r===se&&(126===t.charCodeAt(pa)?(r=ur,pa++):(r=se,0===ya&&l(sr))))))))))))))))))))))))))))))))),r!==se)for(;r!==se;)n.push(r),33===t.charCodeAt(pa)?(r=Ke,pa++):(r=se,0===ya&&l(Je)),r===se&&(34===t.charCodeAt(pa)?(r=tn,pa++):(r=se,0===ya&&l(en)),r===se&&(35===t.charCodeAt(pa)?(r=nn,pa++):(r=se,0===ya&&l(rn)),r===se&&(36===t.charCodeAt(pa)?(r=on,pa++):(r=se,0===ya&&l(an)),r===se&&(37===t.charCodeAt(pa)?(r=un,pa++):(r=se,0===ya&&l(sn)),r===se&&(38===t.charCodeAt(pa)?(r=cn,pa++):(r=se,0===ya&&l(ln)),r===se&&(39===t.charCodeAt(pa)?(r=fn,pa++):(r=se,0===ya&&l(hn)),r===se&&(40===t.charCodeAt(pa)?(r=pn,pa++):(r=se,0===ya&&l(dn)),r===se&&(41===t.charCodeAt(pa)?(r=vn,pa++):(r=se,0===ya&&l(gn)),r===se&&(42===t.charCodeAt(pa)?(r=mn,pa++):(r=se,0===ya&&l(yn)),r===se&&(43===t.charCodeAt(pa)?(r=bn,pa++):(r=se,0===ya&&l(xn)),r===se&&(44===t.charCodeAt(pa)?(r=wn,pa++):(r=se,0===ya&&l(_n)),r===se&&(45===t.charCodeAt(pa)?(r=Cn,pa++):(r=se,0===ya&&l(An)),r===se&&(46===t.charCodeAt(pa)?(r=Tn,pa++):(r=se,0===ya&&l(Sn)),r===se&&(47===t.charCodeAt(pa)?(r=kn,pa++):(r=se,0===ya&&l(En)),r===se&&(58===t.charCodeAt(pa)?(r=jn,pa++):(r=se,0===ya&&l(On)),r===se&&(59===t.charCodeAt(pa)?(r=Pn,pa++):(r=se,0===ya&&l(Dn)),r===se&&(60===t.charCodeAt(pa)?(r=qn,pa++):(r=se,0===ya&&l(Nn)),r===se&&(61===t.charCodeAt(pa)?(r=Mn,pa++):(r=se,0===ya&&l(Ln)),r===se&&(62===t.charCodeAt(pa)?(r=In,pa++):(r=se,0===ya&&l(Rn)),r===se&&(63===t.charCodeAt(pa)?(r=Fn,pa++):(r=se,0===ya&&l(Bn)),r===se&&(64===t.charCodeAt(pa)?(r=zn,pa++):(r=se,0===ya&&l(Wn)),r===se&&(91===t.charCodeAt(pa)?(r=Hn,pa++):(r=se,0===ya&&l($n)),r===se&&(92===t.charCodeAt(pa)?(r=Un,pa++):(r=se,0===ya&&l(Vn)),r===se&&(93===t.charCodeAt(pa)?(r=Xn,pa++):(r=se,0===ya&&l(Yn)),r===se&&(94===t.charCodeAt(pa)?(r=Gn,pa++):(r=se,0===ya&&l(Zn)),r===se&&(95===t.charCodeAt(pa)?(r=Qn,pa++):(r=se,0===ya&&l(Kn)),r===se&&(96===t.charCodeAt(pa)?(r=Jn,pa++):(r=se,0===ya&&l(tr)),r===se&&(123===t.charCodeAt(pa)?(r=er,pa++):(r=se,0===ya&&l(nr)),r===se&&(124===t.charCodeAt(pa)?(r=rr,pa++):(r=se,0===ya&&l(ir)),r===se&&(125===t.charCodeAt(pa)?(r=or,pa++):(r=se,0===ya&&l(ar)),r===se&&(126===t.charCodeAt(pa)?(r=ur,pa++):(r=se,0===ya&&l(sr)))))))))))))))))))))))))))))))));else n=se;return n!==se?(da=pa,(r=(r=hr(n))?void 0:se)!==se?(da=e,e=n=pr(n)):(pa=e,e=se)):(pa=e,e=se),e}function B(){var t,e,n;return t=pa,(e=y())===se&&(e=null),e!==se?((n=function(){var t;return(t=ne())===se&&(t=re()),t}())===se&&(n=function(){var t;return(t=ct())===se&&(t=lt()),t}())===se&&(n=function(){var t,e,n;return t=pa,(e=C())!==se&&(n=It())!==se?(da=t,e=Po(n),t=e):(pa=t,t=se),t}())===se&&(n=function(){var t,e,n,r,i;if(t=pa,(e=function(){var t,e,n,r,i,o;return t=pa,ya++,e=pa,(n=y())===se&&(n=null),n!==se&&(r=C())!==se&&(i=H())!==se?(da=pa,(o=(o=Sr(i))?void 0:se)!==se?e=n=[n,r,i,o]:(pa=e,e=se)):(pa=e,e=se),ya--,e!==se?(pa=t,t=void 0):t=se,t}())!==se){if(n=[],(r=U())!==se)for(;r!==se;)n.push(r),r=U();else n=se;n===se&&(n=pa,(r=$())!==se&&(i=k())!==se?n=r=[r,i]:(pa=n,n=se)),n!==se&&(r=$())!==se?(da=t,e=wr(n),t=e):(pa=t,t=se)}else pa=t,t=se;return t}())===se&&(n=function(){var t,e,n,r,i,o;if(t=pa,(e=function(){var t,e,n,r;return t=pa,ya++,e=pa,(n=y())===se&&(n=null),n!==se?(da=pa,(r=(r=Or())?void 0:se)!==se?e=n=[n,r]:(pa=e,e=se)):(pa=e,e=se),ya--,e!==se?(pa=t,t=void 0):t=se,t}())!==se){if(n=[],(r=X())!==se)for(;r!==se;)n.push(r),r=X();else n=se;n===se&&(n=pa,(r=V())!==se&&(i=k())!==se?n=r=[r,i]:(pa=n,n=se)),n!==se&&(r=V())!==se?(i=pa,ya++,o=y(),ya--,o!==se?(pa=i,i=void 0):i=se,i!==se?(da=t,e=jr(n),t=e):(pa=t,t=se)):(pa=t,t=se)}else pa=t,t=se;return t}())===se&&(n=function(){var t,e,n,r;if(t=pa,e=[],(n=nt())!==se)for(;n!==se;)e.push(n),n=nt();else e=se;return e!==se?(n=pa,ya++,r=y(),ya--,r!==se?(pa=n,n=void 0):n=se,n!==se?(da=t,e=hi(e),t=e):(pa=t,t=se)):(pa=t,t=se),t}())===se&&(n=Wt())===se&&(n=Zt()),n!==se?(da=t,t=e=dr(e,n)):(pa=t,t=se)):(pa=t,t=se),t}function z(){var t,e;return t=pa,(e=B())===se&&(e=at()),e!==se&&(da=t,e=vr(e)),e}function W(){var t,e;return t=pa,(e=function(){var t,e,n,r;if(t=pa,(e=function(){var t,e,n,r,i,o,a;if(t=pa,e=pa,ya++,n=pa,r=[],(i=d())!==se)for(;i!==se;)r.push(i),i=d();else r=se;return r!==se?(i=pa,ya++,o=m(),ya--,o!==se?(pa=i,i=void 0):i=se,i!==se&&(o=D())!==se?(da=pa,(a=(a=mr(r))?void 0:se)!==se?n=r=[r,i,o,a]:(pa=n,n=se)):(pa=n,n=se)):(pa=n,n=se),ya--,n!==se?(pa=e,e=void 0):e=se,e===se&&(e=pa,ya++,n=pa,(r=y())!==se&&(i=P())!==se?n=r=[r,i]:(pa=n,n=se),ya--,n!==se?(pa=e,e=void 0):e=se),e!==se&&(da=t,e=yr()),t=e}())!==se){if(n=[],(r=z())!==se)for(;r!==se;)n.push(r),r=z();else n=se;n===se&&(n=j()),n!==se&&(r=E())!==se?(da=t,e=br(e,n),t=e):(pa=t,t=se)}else pa=t,t=se;return t}())===se&&(e=function(){var t,e,n;for(t=pa,e=[],n=d();n!==se;)e.push(n),n=d();return e!==se&&(n=v())!==se?(da=t,e=xr(),t=e):(pa=t,t=se),t}()),e!==se&&(da=t,e=gr(e)),e}function H(){var e;return _r.test(t.charAt(pa))?(e=t.charAt(pa),pa++):(e=se,0===ya&&l(Cr)),e}function $(){return da=pa,kr()?void 0:se}function U(){var t,e,n,r;return t=pa,(e=y())===se&&(e=null),e!==se&&C()!==se&&(n=function(){var t,e;return t=pa,(e=H())!==se?(da=pa,(Ar(e)?void 0:se)!==se?(da=t,t=e=Tr(e)):(pa=t,t=se)):(pa=t,t=se),t}())!==se&&(r=W())!==se?(da=t,t=e=Er(e,n,r)):(pa=t,t=se),t}function V(){return da=pa,Pr()?void 0:se}function X(){var t,e,n,r;return t=pa,(e=y())===se&&(e=null),e!==se&&C()!==se&&(n=function(){var t,e;return t=pa,(e=Y())!==se?(da=pa,(Lr(e)?void 0:se)!==se?(da=t,e=Ir(e),t=e):(pa=t,t=se)):(pa=t,t=se),t}())!==se&&(r=W())!==se?(da=t,t=e=Dr(e,n,r)):(pa=t,t=se),t}function Y(){var e,n,r,i;return e=pa,(n=G())!==se?(46===t.charCodeAt(pa)?(r=Tn,pa++):(r=se,0===ya&&l(Sn)),r!==se?(da=e,e=n=qr(n)):(pa=e,e=se)):(pa=e,e=se),e===se&&(e=pa,(n=G())!==se?(41===t.charCodeAt(pa)?(r=vn,pa++):(r=se,0===ya&&l(gn)),r!==se?(da=e,e=n=Nr(n)):(pa=e,e=se)):(pa=e,e=se),e===se&&(e=pa,40===t.charCodeAt(pa)?(n=pn,pa++):(n=se,0===ya&&l(dn)),n!==se&&(r=G())!==se?(41===t.charCodeAt(pa)?(i=vn,pa++):(i=se,0===ya&&l(gn)),i!==se?(da=e,e=n=Mr(r)):(pa=e,e=se)):(pa=e,e=se))),e}function G(){var t,e;return(t=Z())===se&&(t=pa,da=pa,(Rr()?void 0:se)!==se&&(e=Q())!==se?(da=t,t=Ir(e)):(pa=t,t=se),t===se&&(t=pa,da=pa,(Fr()?void 0:se)!==se&&(e=tt())!==se?(da=t,t=Ir(e)):(pa=t,t=se),t===se&&(t=pa,da=pa,(Br()?void 0:se)!==se&&(e=et())!==se?(da=t,t=Ir(e)):(pa=t,t=se),t===se&&(t=pa,da=pa,(zr()?void 0:se)!==se&&(e=K())!==se?(da=t,t=Ir(e)):(pa=t,t=se),t===se&&(t=pa,da=pa,(Wr()?void 0:se)!==se&&(e=J())!==se?(da=t,t=Ir(e)):(pa=t,t=se)))))),t}function Z(){var e,n;return e=pa,35===t.charCodeAt(pa)?(n=nn,pa++):(n=se,0===ya&&l(rn)),n!==se&&(da=e,n=Hr()),n}function Q(){var e,n,r,i;if(e=pa,$r.test(t.charAt(pa))?(n=t.charAt(pa),pa++):(n=se,0===ya&&l(Ur)),n!==se){for(r=[],Vr.test(t.charAt(pa))?(i=t.charAt(pa),pa++):(i=se,0===ya&&l(Xr));i!==se;)r.push(i),Vr.test(t.charAt(pa))?(i=t.charAt(pa),pa++):(i=se,0===ya&&l(Xr));r!==se?(da=e,e=n=Yr(n,r)):(pa=e,e=se)}else pa=e,e=se;return e===se&&(e=pa,Gr.test(t.charAt(pa))?(n=t.charAt(pa),pa++):(n=se,0===ya&&l(Zr)),n!==se&&(da=e,n=Qr(n)),e=n),e}function K(){var e,n;return e=pa,Kr.test(t.charAt(pa))?(n=t.charAt(pa),pa++):(n=se,0===ya&&l(Jr)),n!==se&&(da=e,n=ti(n)),n}function J(){var e,n;return e=pa,ei.test(t.charAt(pa))?(n=t.charAt(pa),pa++):(n=se,0===ya&&l(ni)),n!==se&&(da=e,n=ri(n)),n}function tt(){var e,n,r;if(e=pa,n=[],ii.test(t.charAt(pa))?(r=t.charAt(pa),pa++):(r=se,0===ya&&l(oi)),r!==se)for(;r!==se;)n.push(r),ii.test(t.charAt(pa))?(r=t.charAt(pa),pa++):(r=se,0===ya&&l(oi));else n=se;return n!==se?(da=pa,(r=(r=ai(n))?void 0:se)!==se?(da=e,e=n=ui(n)):(pa=e,e=se)):(pa=e,e=se),e}function et(){var e,n,r;if(e=pa,n=[],si.test(t.charAt(pa))?(r=t.charAt(pa),pa++):(r=se,0===ya&&l(ci)),r!==se)for(;r!==se;)n.push(r),si.test(t.charAt(pa))?(r=t.charAt(pa),pa++):(r=se,0===ya&&l(ci));else n=se;return n!==se?(da=pa,(r=(r=li(n))?void 0:se)!==se?(da=e,e=n=fi(n)):(pa=e,e=se)):(pa=e,e=se),e}function nt(){var e,n,r,i,o,a,u,s,c;if(e=pa,(n=y())===se&&(n=null),n!==se)if(C()!==se)if((r=function(){var t,e,n;if(t=pa,e=[],(n=dt())===se&&(n=it()),n!==se)for(;n!==se;)e.push(n),(n=dt())===se&&(n=it());else e=se;return e!==se&&(da=t,e=di(e)),t=e}())!==se){if(i=[],o=pa,a=[],(u=d())!==se)for(;u!==se;)a.push(u),u=d();else a=se;if(a!==se)if(58===t.charCodeAt(pa)?(u=jn,pa++):(u=se,0===ya&&l(On)),u!==se){if(s=[],(c=d())!==se)for(;c!==se;)s.push(c),c=d();else s=se;s!==se&&(c=ot())!==se?o=a=[a,u,s,c]:(pa=o,o=se)}else pa=o,o=se;else pa=o,o=se;for(;o!==se;){if(i.push(o),o=pa,a=[],(u=d())!==se)for(;u!==se;)a.push(u),u=d();else a=se;if(a!==se)if(58===t.charCodeAt(pa)?(u=jn,pa++):(u=se,0===ya&&l(On)),u!==se){if(s=[],(c=d())!==se)for(;c!==se;)s.push(c),c=d();else s=se;s!==se&&(c=ot())!==se?o=a=[a,u,s,c]:(pa=o,o=se)}else pa=o,o=se;else pa=o,o=se}if(i!==se){for(o=[],a=d();a!==se;)o.push(a),a=d();o!==se&&(a=p())!==se&&(u=P())!==se?((s=function(){var t,e,n;if(t=pa,e=[],(n=z())!==se)for(;n!==se;)e.push(n),n=z();else e=se;return e!==se&&(da=t,e=vi(e)),t=e}())===se&&(s=j()),s!==se&&(c=E())!==se?(da=e,e=n=pi(n,r,i,u,s)):(pa=e,e=se)):(pa=e,e=se)}else pa=e,e=se}else pa=e,e=se;else pa=e,e=se;else pa=e,e=se;return e}function rt(){var e,n,r,i,o;if(e=pa,n=[],(r=d())!==se)for(;r!==se;)n.push(r),r=d();else n=se;if(n!==se)if(58===t.charCodeAt(pa)?(r=jn,pa++):(r=se,0===ya&&l(On)),r!==se){if(i=[],(o=d())!==se)for(;o!==se;)i.push(o),o=d();else i=se;i!==se?e=n=[n,r,i]:(pa=e,e=se)}else pa=e,e=se;else pa=e,e=se;return e}function it(){var e,n,r,i,o,a,u;if(e=pa,n=[],r=pa,i=pa,ya++,o=v(),ya--,o===se?i=void 0:(pa=i,i=se),i!==se?(o=pa,ya++,a=rt(),ya--,a===se?o=void 0:(pa=o,o=se),o!==se?(a=pa,ya++,u=Gt(),ya--,u===se?a=void 0:(pa=a,a=se),a!==se?(t.length>pa?(u=t.charAt(pa),pa++):(u=se,0===ya&&l(pe)),u!==se?r=i=[i,o,a,u]:(pa=r,r=se)):(pa=r,r=se)):(pa=r,r=se)):(pa=r,r=se),r!==se)for(;r!==se;)n.push(r),r=pa,i=pa,ya++,o=v(),ya--,o===se?i=void 0:(pa=i,i=se),i!==se?(o=pa,ya++,a=rt(),ya--,a===se?o=void 0:(pa=o,o=se),o!==se?(a=pa,ya++,u=Gt(),ya--,u===se?a=void 0:(pa=a,a=se),a!==se?(t.length>pa?(u=t.charAt(pa),pa++):(u=se,0===ya&&l(pe)),u!==se?r=i=[i,o,a,u]:(pa=r,r=se)):(pa=r,r=se)):(pa=r,r=se)):(pa=r,r=se);else n=se;return n!==se&&(da=e,n=gi(n)),n}function ot(){var t,e,n;if(t=pa,e=[],(n=dt())===se&&(n=it()),n!==se)for(;n!==se;)e.push(n),(n=dt())===se&&(n=it());else e=se;return e!==se&&(da=t,e=mi(e)),e}function at(){var t;return(t=function(){var t,e,n,r,i,o,a,u;return t=pa,(e=y())===se&&(e=null),e!==se&&(n=P())!==se&&(r=function(){var t,e,n;return t=pa,(e=ut())===se&&(e=j()),e!==se?((n=st())===se&&(n=null),n!==se?(da=t,e=bi(e,n),t=e):(pa=t,t=se)):(pa=t,t=se),t}())!==se?(i=pa,ya++,o=pa,(a=y())!==se&&(u=T())!==se?o=a=[a,u]:(pa=o,o=se),o===se&&(o=j()),ya--,o!==se?(pa=i,i=void 0):i=se,i!==se&&(o=E())!==se&&(a=at())!==se?(da=t,e=yi(e,n,r,a),t=e):(pa=t,t=se)):(pa=t,t=se),t}())===se&&(t=function(){var t,e,n,r,i;return t=pa,(e=y())===se&&(e=null),e!==se&&(n=P())!==se?((r=ut())===se&&(r=j()),r!==se?((i=st())===se&&(i=null),i!==se&&E()!==se?(da=t,e=xi(e,n,r,i),t=e):(pa=t,t=se)):(pa=t,t=se)):(pa=t,t=se),t}()),t}function ut(){var t,e,n,r,i,o;if(t=pa,(e=B())!==se){for(n=[],r=pa,i=pa,ya++,o=st(),ya--,o===se?i=void 0:(pa=i,i=se),i!==se&&(o=z())!==se?r=i=[i,o]:(pa=r,r=se);r!==se;)n.push(r),r=pa,i=pa,ya++,o=st(),ya--,o===se?i=void 0:(pa=i,i=se),i!==se&&(o=z())!==se?r=i=[i,o]:(pa=r,r=se);n!==se?(da=t,t=e=wi(e,n)):(pa=t,t=se)}else pa=t,t=se;return t}function st(){var e,n,r,i,o,a,u,s;if(e=pa,(n=y())!==se)if(C()!==se)if(t.substr(pa,3)===_i?(r=_i,pa+=3):(r=se,0===ya&&l(Ci)),r===se&&(t.substr(pa,2)===Ai?(r=Ai,pa+=2):(r=se,0===ya&&l(Ti)),r===se&&(8212===t.charCodeAt(pa)?(r=Si,pa++):(r=se,0===ya&&l(ki)))),r!==se){for(i=[],o=d();o!==se;)i.push(o),o=d();i!==se?(o=pa,ya++,a=pa,u=pa,ya++,s=v(),ya--,s===se?u=void 0:(pa=u,u=se),u!==se?(t.length>pa?(s=t.charAt(pa),pa++):(s=se,0===ya&&l(pe)),s!==se?a=u=[u,s]:(pa=a,a=se)):(pa=a,a=se),ya--,a!==se?(pa=o,o=void 0):o=se,o!==se?((a=function(){var t,e,n;return t=pa,(e=function(){var t,e,n,r;return t=pa,ya++,e=pa,(n=b())!==se&&(r=P())!==se?e=n=[n,r]:(pa=e,e=se),ya--,e!==se?(pa=t,t=void 0):t=se,t}())!==se&&D()!==se?((n=Zt())===se&&(n=j()),n!==se&&E()!==se?(da=t,e=ji(n),t=e):(pa=t,t=se)):(pa=t,t=se),t}())===se&&(a=function(){var t,e,n;return t=pa,(e=D())!==se&&(n=Zt())!==se?(da=t,e=Oi(n),t=e):(pa=t,t=se),t}()),a!==se?(da=e,e=n=Ei(n,a)):(pa=e,e=se)):(pa=e,e=se)):(pa=e,e=se)}else pa=e,e=se;else pa=e,e=se;else pa=e,e=se;return e}function ct(){var e,n,r,i,o,a,u,s;if(e=pa,C()!==se)if(t.substr(pa,2)===Pi?(n=Pi,pa+=2):(n=se,0===ya&&l(Di)),n!==se){if(r=[],(i=d())!==se)for(;i!==se;)r.push(i),i=d();else r=se;r!==se?(i=pa,ya++,o=m(),ya--,o!==se?(pa=i,i=void 0):i=se,i!==se&&(o=b())!==se?(a=pa,(u=y())===se&&(u=null),u!==se&&(s=ft())!==se?a=u=[u,s]:(pa=a,a=se),a===se&&(a=null),a!==se?(da=e,e=qi(o,a)):(pa=e,e=se)):(pa=e,e=se)):(pa=e,e=se)}else pa=e,e=se;else pa=e,e=se;return e}function lt(){var e,n,r,i,o;if(e=pa,C()!==se)if(t.substr(pa,2)===Pi?(n=Pi,pa+=2):(n=se,0===ya&&l(Di)),n!==se){for(r=[],i=d();i!==se;)r.push(i),i=d();r!==se&&(i=p())!==se?((o=ft())===se&&(o=null),o!==se?(da=e,e=Ni(o)):(pa=e,e=se)):(pa=e,e=se)}else pa=e,e=se;else pa=e,e=se;return e}function ft(){var t,e,n,r,i,o;if(t=pa,(e=O())!==se){for(n=[],r=pa,i=[],o=d();o!==se;)i.push(o),o=d();if(i!==se&&(o=p())!==se?(da=r,r=i=Mi(e)):(pa=r,r=se),r===se&&(r=pa,(i=S())!==se&&(o=x())!==se?r=i=[i,o]:(pa=r,r=se)),r!==se)for(;r!==se;){for(n.push(r),r=pa,i=[],o=d();o!==se;)i.push(o),o=d();i!==se&&(o=p())!==se?(da=r,r=i=Mi(e)):(pa=r,r=se),r===se&&(r=pa,(i=S())!==se&&(o=x())!==se?r=i=[i,o]:(pa=r,r=se))}else n=se;n===se&&(n=j()),n!==se&&(r=E())!==se?(da=t,t=e=Li(e,n)):(pa=t,t=se)}else pa=t,t=se;return t}function ht(){var e,n,r;return(e=v())===se&&(e=pa,t.length>pa?(n=t.charAt(pa),pa++):(n=se,0===ya&&l(pe)),n!==se?(da=pa,(r=(r=Ii(n))?void 0:se)!==se?e=n=[n,r]:(pa=e,e=se)):(pa=e,e=se)),e}function pt(){var t;return(t=_t())===se&&(t=xt())===se&&(t=Tt())===se&&(t=Et())===se&&(t=function(){var t;return(t=qt())===se&&(t=Nt())===se&&(t=Pt())===se&&(t=Dt()),t}())===se&&(t=At())===se&&(t=kt())===se&&(t=jt())===se&&(t=Ot()),t}function dt(){var t;return(t=Ct())===se&&(t=wt())===se&&(t=St()),t}function vt(){var e,n,r,i,o,a;return e=pa,da=pa,(n=(n=Ri())?void 0:se)!==se?(t.length>pa?(r=t.charAt(pa),pa++):(r=se,0===ya&&l(pe)),r!==se?(da=pa,(i=(i=Fi(r))?void 0:se)!==se?e=n=[n,r,i]:(pa=e,e=se)):(pa=e,e=se)):(pa=e,e=se),e===se&&(e=pa,da=pa,(n=(n=Bi())?void 0:se)!==se?(r=pa,t.length>pa?(i=t.charAt(pa),pa++):(i=se,0===ya&&l(pe)),i!==se?(t.length>pa?(o=t.charAt(pa),pa++):(o=se,0===ya&&l(pe)),o!==se?r=i=[i,o]:(pa=r,r=se)):(pa=r,r=se),r!==se?(da=pa,(i=(i=zi(r))?void 0:se)!==se?e=n=[n,r,i]:(pa=e,e=se)):(pa=e,e=se)):(pa=e,e=se),e===se&&(e=pa,da=pa,(n=(n=Wi())?void 0:se)!==se?(r=pa,t.length>pa?(i=t.charAt(pa),pa++):(i=se,0===ya&&l(pe)),i!==se?(t.length>pa?(o=t.charAt(pa),pa++):(o=se,0===ya&&l(pe)),o!==se?(t.length>pa?(a=t.charAt(pa),pa++):(a=se,0===ya&&l(pe)),a!==se?r=i=[i,o,a]:(pa=r,r=se)):(pa=r,r=se)):(pa=r,r=se),r!==se?(da=pa,(i=(i=zi(r))?void 0:se)!==se?e=n=[n,r,i]:(pa=e,e=se)):(pa=e,e=se)):(pa=e,e=se))),e}function gt(){var e,n,r,i,o,a,u,s,c,f,h;if(e=pa,n=[],r=pa,i=pa,ya++,o=p(),ya--,o===se?i=void 0:(pa=i,i=se),i!==se?(o=pa,ya++,a=pa,u=pa,ya++,s=g(),ya--,s===se?u=void 0:(pa=u,u=se),u!==se?(da=pa,(s=(s=Hi())?void 0:se)===se&&(s=pa,ya++,92===t.charCodeAt(pa)?(c=Un,pa++):(c=se,0===ya&&l(Vn)),ya--,c===se?s=void 0:(pa=s,s=se)),s!==se?(t.length>pa?(c=t.charAt(pa),pa++):(c=se,0===ya&&l(pe)),c!==se&&(f=vt())!==se&&(h=ht())!==se?a=u=[u,s,c,f,h]:(pa=a,a=se)):(pa=a,a=se)):(pa=a,a=se),ya--,a===se?o=void 0:(pa=o,o=se),o!==se?(t.length>pa?(a=t.charAt(pa),pa++):(a=se,0===ya&&l(pe)),a!==se?r=i=[i,o,a]:(pa=r,r=se)):(pa=r,r=se)):(pa=r,r=se),r!==se)for(;r!==se;)n.push(r),r=pa,i=pa,ya++,o=p(),ya--,o===se?i=void 0:(pa=i,i=se),i!==se?(o=pa,ya++,a=pa,u=pa,ya++,s=g(),ya--,s===se?u=void 0:(pa=u,u=se),u!==se?(da=pa,(s=(s=Hi())?void 0:se)===se&&(s=pa,ya++,92===t.charCodeAt(pa)?(c=Un,pa++):(c=se,0===ya&&l(Vn)),ya--,c===se?s=void 0:(pa=s,s=se)),s!==se?(t.length>pa?(c=t.charAt(pa),pa++):(c=se,0===ya&&l(pe)),c!==se&&(f=vt())!==se&&(h=ht())!==se?a=u=[u,s,c,f,h]:(pa=a,a=se)):(pa=a,a=se)):(pa=a,a=se),ya--,a===se?o=void 0:(pa=o,o=se),o!==se?(t.length>pa?(a=t.charAt(pa),pa++):(a=se,0===ya&&l(pe)),a!==se?r=i=[i,o,a]:(pa=r,r=se)):(pa=r,r=se)):(pa=r,r=se);else n=se;return n!==se&&(da=e,n=$i(n)),n}function mt(){var t,e,n;return t=pa,(e=gt())!==se?((n=p())===se&&(n=null),n!==se?(da=t,t=e=Ui(e,n)):(pa=t,t=se)):(pa=t,t=se),t}function yt(){var e,n,r,i,o,a,u;return e=pa,(n=gt())!==se?(r=pa,ya++,i=v(),ya--,i===se?r=void 0:(pa=r,r=se),r!==se?(i=pa,ya++,o=g(),ya--,o===se?i=void 0:(pa=i,i=se),i!==se?(t.length>pa?(o=t.charAt(pa),pa++):(o=se,0===ya&&l(pe)),o!==se&&vt()!==se?(a=pa,ya++,u=ht(),ya--,u!==se?(pa=a,a=void 0):a=se,a!==se?(da=e,e=n=Vi(n,o)):(pa=e,e=se)):(pa=e,e=se)):(pa=e,e=se)):(pa=e,e=se)):(pa=e,e=se),e}function bt(){var e,n,r,i,o,a,u,s;if(e=pa,(n=mt())===se&&(n=null),n!==se){for(r=[],i=pa,(o=C())!==se&&(a=mt())!==se?i=o=[o,a]:(pa=i,i=se);i!==se;)r.push(i),i=pa,(o=C())!==se&&(a=mt())!==se?i=o=[o,a]:(pa=i,i=se);r!==se?(i=pa,ya++,o=v(),ya--,o===se?i=void 0:(pa=i,i=se),i!==se?(o=pa,ya++,a=g(),ya--,a===se?o=void 0:(pa=o,o=se),o!==se?(t.length>pa?(a=t.charAt(pa),pa++):(a=se,0===ya&&l(pe)),a!==se&&vt()!==se?(u=pa,ya++,s=ht(),ya--,s!==se?(pa=u,u=void 0):u=se,u!==se?(da=e,e=n=Xi(n,r,a)):(pa=e,e=se)):(pa=e,e=se)):(pa=e,e=se)):(pa=e,e=se)):(pa=e,e=se)}else pa=e,e=se;return e}function xt(){var e,n,r,i,o,a;return e=pa,n=pa,42===t.charCodeAt(pa)?(r=mn,pa++):(r=se,0===ya&&l(yn)),r!==se?(i=pa,ya++,42===t.charCodeAt(pa)?(o=mn,pa++):(o=se,0===ya&&l(yn)),ya--,o===se?i=void 0:(pa=i,i=se),i!==se?(o=pa,ya++,a=g(),ya--,a===se?o=void 0:(pa=o,o=se),o!==se?n=r=[r,i,o]:(pa=n,n=se)):(pa=n,n=se)):(pa=n,n=se),n!==se?(da=pa,(r=(r=Yi())?void 0:se)!==se&&(i=bt())!==se?(da=e,e=n=Gi(i)):(pa=e,e=se)):(pa=e,e=se),e}function wt(){var e,n,r,i,o,a;return e=pa,n=pa,42===t.charCodeAt(pa)?(r=mn,pa++):(r=se,0===ya&&l(yn)),r!==se?(i=pa,ya++,42===t.charCodeAt(pa)?(o=mn,pa++):(o=se,0===ya&&l(yn)),ya--,o===se?i=void 0:(pa=i,i=se),i!==se?(o=pa,ya++,a=g(),ya--,a===se?o=void 0:(pa=o,o=se),o!==se?n=r=[r,i,o]:(pa=n,n=se)):(pa=n,n=se)):(pa=n,n=se),n!==se?(da=pa,(r=(r=Yi())?void 0:se)!==se&&(i=yt())!==se?(da=e,e=n=Gi(i)):(pa=e,e=se)):(pa=e,e=se),e}function _t(){var e,n,r,i,o;return e=pa,n=pa,t.substr(pa,2)===Zi?(r=Zi,pa+=2):(r=se,0===ya&&l(Qi)),r!==se?(i=pa,ya++,o=g(),ya--,o===se?i=void 0:(pa=i,i=se),i!==se?n=r=[r,i]:(pa=n,n=se)):(pa=n,n=se),n!==se?(da=pa,(r=(r=Ki())?void 0:se)!==se&&(i=bt())!==se?(da=e,e=n=Ji(i)):(pa=e,e=se)):(pa=e,e=se),e}function Ct(){var e,n,r,i,o;return e=pa,n=pa,t.substr(pa,2)===Zi?(r=Zi,pa+=2):(r=se,0===ya&&l(Qi)),r!==se?(i=pa,ya++,o=g(),ya--,o===se?i=void 0:(pa=i,i=se),i!==se?n=r=[r,i]:(pa=n,n=se)):(pa=n,n=se),n!==se?(da=pa,(r=(r=Ki())?void 0:se)!==se&&(i=yt())!==se?(da=e,e=n=Ji(i)):(pa=e,e=se)):(pa=e,e=se),e}function At(){var e,n,r,i,o,a,u,s,c;if(e=pa,n=pa,58===t.charCodeAt(pa)?(r=jn,pa++):(r=se,0===ya&&l(On)),r!==se){if(i=[],o=pa,a=pa,ya++,u=v(),ya--,u===se?a=void 0:(pa=a,a=se),a!==se?(u=pa,ya++,s=d(),ya--,s===se?u=void 0:(pa=u,u=se),u!==se?(s=pa,ya++,58===t.charCodeAt(pa)?(c=jn,pa++):(c=se,0===ya&&l(On)),ya--,c===se?s=void 0:(pa=s,s=se),s!==se?(t.length>pa?(c=t.charAt(pa),pa++):(c=se,0===ya&&l(pe)),c!==se?o=a=[a,u,s,c]:(pa=o,o=se)):(pa=o,o=se)):(pa=o,o=se)):(pa=o,o=se),o!==se)for(;o!==se;)i.push(o),o=pa,a=pa,ya++,u=v(),ya--,u===se?a=void 0:(pa=a,a=se),a!==se?(u=pa,ya++,s=d(),ya--,s===se?u=void 0:(pa=u,u=se),u!==se?(s=pa,ya++,58===t.charCodeAt(pa)?(c=jn,pa++):(c=se,0===ya&&l(On)),ya--,c===se?s=void 0:(pa=s,s=se),s!==se?(t.length>pa?(c=t.charAt(pa),pa++):(c=se,0===ya&&l(pe)),c!==se?o=a=[a,u,s,c]:(pa=o,o=se)):(pa=o,o=se)):(pa=o,o=se)):(pa=o,o=se);else i=se;i!==se?(58===t.charCodeAt(pa)?(o=jn,pa++):(o=se,0===ya&&l(On)),o!==se?n=r=[r,i,o]:(pa=n,n=se)):(pa=n,n=se)}else pa=n,n=se;return n===se&&(n=null),n!==se?(r=pa,96===t.charCodeAt(pa)?(i=Jn,pa++):(i=se,0===ya&&l(tr)),i!==se?(o=pa,ya++,a=g(),ya--,a===se?o=void 0:(pa=o,o=se),o!==se?r=i=[i,o]:(pa=r,r=se)):(pa=r,r=se),r!==se?(da=pa,(i=(i=to(n))?void 0:se)!==se&&(o=bt())!==se?(da=e,e=n=eo(n,o)):(pa=e,e=se)):(pa=e,e=se)):(pa=e,e=se),e}function Tt(){var e,n,r,i,o;return e=pa,n=pa,t.substr(pa,2)===no?(r=no,pa+=2):(r=se,0===ya&&l(ro)),r!==se?(i=pa,ya++,o=g(),ya--,o===se?i=void 0:(pa=i,i=se),i!==se?n=r=[r,i]:(pa=n,n=se)):(pa=n,n=se),n!==se?(da=pa,(r=(r=io())?void 0:se)!==se&&(i=bt())!==se?(da=e,e=n=oo(i)):(pa=e,e=se)):(pa=e,e=se),e}function St(){var e,n,r,i,o;return e=pa,n=pa,t.substr(pa,2)===no?(r=no,pa+=2):(r=se,0===ya&&l(ro)),r!==se?(i=pa,ya++,o=g(),ya--,o===se?i=void 0:(pa=i,i=se),i!==se?n=r=[r,i]:(pa=n,n=se)):(pa=n,n=se),n!==se?(da=pa,(r=(r=io())?void 0:se)!==se&&(i=yt())!==se?(da=e,e=n=oo(i)):(pa=e,e=se)):(pa=e,e=se),e}function kt(){var e,n,r,i,o;return e=pa,n=pa,124===t.charCodeAt(pa)?(r=rr,pa++):(r=se,0===ya&&l(ir)),r!==se?(i=pa,ya++,o=g(),ya--,o===se?i=void 0:(pa=i,i=se),i!==se?n=r=[r,i]:(pa=n,n=se)):(pa=n,n=se),n!==se?(da=pa,(r=(r=ao())?void 0:se)!==se&&(i=bt())!==se?(da=e,e=n=uo(i)):(pa=e,e=se)):(pa=e,e=se),e}function Et(){var e,n,r,i,o;return e=pa,n=pa,t.substr(pa,2)===so?(r=so,pa+=2):(r=se,0===ya&&l(co)),r!==se?(i=pa,ya++,o=g(),ya--,o===se?i=void 0:(pa=i,i=se),i!==se?n=r=[r,i]:(pa=n,n=se)):(pa=n,n=se),n!==se?(da=pa,(r=(r=lo())?void 0:se)!==se&&(i=bt())!==se?(da=e,e=n=fo(i)):(pa=e,e=se)):(pa=e,e=se),e}function jt(){var e,n,r,i,o,a;return e=pa,91===t.charCodeAt(pa)?(n=Hn,pa++):(n=se,0===ya&&l($n)),n!==se&&(r=function(){var e,n,r,i;if(e=pa,n=[],Vr.test(t.charAt(pa))?(r=t.charAt(pa),pa++):(r=se,0===ya&&l(Xr)),r!==se)for(;r!==se;)n.push(r),Vr.test(t.charAt(pa))?(r=t.charAt(pa),pa++):(r=se,0===ya&&l(Xr));else n=se;return n===se&&(n=pa,35===t.charCodeAt(pa)?(r=nn,pa++):(r=se,0===ya&&l(rn)),r!==se&&(i=Mt())!==se?n=r=[r,i]:(pa=n,n=se),n===se&&(35===t.charCodeAt(pa)?(n=nn,pa++):(n=se,0===ya&&l(rn)),n===se&&(42===t.charCodeAt(pa)?(n=mn,pa++):(n=se,0===ya&&l(yn))))),n!==se&&(da=e,n=ho(n)),n}())!==se?(t.substr(pa,2)===po?(i=po,pa+=2):(i=se,0===ya&&l(vo)),i!==se?(o=pa,ya++,a=ht(),ya--,a!==se?(pa=o,o=void 0):o=se,o!==se?(da=e,e=n=go(r)):(pa=e,e=se)):(pa=e,e=se)):(pa=e,e=se),e}function Ot(){var e,n,r,i,o,a;return e=pa,91===t.charCodeAt(pa)?(n=Hn,pa++):(n=se,0===ya&&l($n)),n!==se&&(r=Mt())!==se?(t.substr(pa,2)===po?(i=po,pa+=2):(i=se,0===ya&&l(vo)),i!==se?(o=pa,ya++,a=ht(),ya--,a!==se?(pa=o,o=void 0):o=se,o!==se?(da=e,e=n=mo(r)):(pa=e,e=se)):(pa=e,e=se)):(pa=e,e=se),e}function Pt(){var e,n,r,i,o;return e=pa,n=pa,96===t.charCodeAt(pa)?(r=Jn,pa++):(r=se,0===ya&&l(tr)),r!==se?(i=pa,ya++,o=g(),ya--,o===se?i=void 0:(pa=i,i=se),i!==se?n=r=[r,i]:(pa=n,n=se)):(pa=n,n=se),n!==se?(da=pa,(r=(r=yo())?void 0:se)!==se&&(i=bt())!==se?(da=e,e=n=bo(i)):(pa=e,e=se)):(pa=e,e=se),e}function Dt(){var e,n,r,i,o;return e=pa,(n=Lt())!==se?(95===t.charCodeAt(pa)?(r=Qn,pa++):(r=se,0===ya&&l(Kn)),r!==se?(i=pa,ya++,o=ht(),ya--,o!==se?(pa=i,i=void 0):i=se,i!==se?(da=e,e=n=xo(n)):(pa=e,e=se)):(pa=e,e=se)):(pa=e,e=se),e}function qt(){var e,n,r,i,o;return e=pa,n=pa,96===t.charCodeAt(pa)?(r=Jn,pa++):(r=se,0===ya&&l(tr)),r!==se?(i=pa,ya++,o=g(),ya--,o===se?i=void 0:(pa=i,i=se),i!==se?n=r=[r,i]:(pa=n,n=se)):(pa=n,n=se),n!==se?(da=pa,(r=(r=wo())?void 0:se)!==se&&(i=bt())!==se?(da=e,e=n=_o(i)):(pa=e,e=se)):(pa=e,e=se),e}function Nt(){var e,n,r,i,o;return e=pa,(n=Lt())!==se?(t.substr(pa,2)===Co?(r=Co,pa+=2):(r=se,0===ya&&l(Ao)),r!==se?(i=pa,ya++,o=ht(),ya--,o!==se?(pa=i,i=void 0):i=se,i!==se?(da=e,e=n=To(n)):(pa=e,e=se)):(pa=e,e=se)):(pa=e,e=se),e}function Mt(){var e,n,r,i;if(e=pa,(n=f())!==se){if(r=[],(i=f())===se&&(So.test(t.charAt(pa))?(i=t.charAt(pa),pa++):(i=se,0===ya&&l(ko))),i!==se)for(;i!==se;)r.push(i),(i=f())===se&&(So.test(t.charAt(pa))?(i=t.charAt(pa),pa++):(i=se,0===ya&&l(ko)));else r=se;r!==se?(da=e,e=n=Eo(n,r)):(pa=e,e=se)}else pa=e,e=se;return e}function Lt(){var e,n,r,i;if(e=pa,(n=f())!==se){if(r=[],(i=f())===se&&(jo.test(t.charAt(pa))?(i=t.charAt(pa),pa++):(i=se,0===ya&&l(Oo))),i!==se)for(;i!==se;)r.push(i),(i=f())===se&&(jo.test(t.charAt(pa))?(i=t.charAt(pa),pa++):(i=se,0===ya&&l(Oo)));else r=se;r!==se?(da=e,e=n=Eo(n,r)):(pa=e,e=se)}else pa=e,e=se;return e}function It(){var t;return(t=Rt())===se&&(t=Ft()),t}function Rt(){var e,n,r,i,o,a,u,s,c,f,h,v,g;if(e=pa,t.substr(pa,2)===Do?(n=Do,pa+=2):(n=se,0===ya&&l(qo)),n!==se){for(r=[],i=d();i!==se;)r.push(i),i=d();if(r!==se)if((i=p())!==se)if(y()!==se)if((o=O())!==se){for(a=[],u=pa,s=[],c=d();c!==se;)s.push(c),c=d();if(s!==se&&(c=p())!==se?(f=pa,ya++,h=pa,(v=y())===se&&(v=null),v!==se&&(g=T())!==se?h=v=[v,g]:(pa=h,h=se),ya--,h===se?f=void 0:(pa=f,f=se),f!==se?u=s=[s,c,f]:(pa=u,u=se)):(pa=u,u=se),u===se)if(u=pa,s=pa,ya++,c=S(),ya--,c!==se?(pa=s,s=void 0):s=se,s!==se){if(c=[],(f=d())!==se)for(;f!==se;)c.push(f),f=d();else c=se;c!==se&&(f=b())!==se?u=s=[s,c,f]:(pa=u,u=se)}else pa=u,u=se;if(u!==se)for(;u!==se;){for(a.push(u),u=pa,s=[],c=d();c!==se;)s.push(c),c=d();if(s!==se&&(c=p())!==se?(f=pa,ya++,h=pa,(v=y())===se&&(v=null),v!==se&&(g=T())!==se?h=v=[v,g]:(pa=h,h=se),ya--,h===se?f=void 0:(pa=f,f=se),f!==se?u=s=[s,c,f]:(pa=u,u=se)):(pa=u,u=se),u===se)if(u=pa,s=pa,ya++,c=S(),ya--,c!==se?(pa=s,s=void 0):s=se,s!==se){if(c=[],(f=d())!==se)for(;f!==se;)c.push(f),f=d();else c=se;c!==se&&(f=b())!==se?u=s=[s,c,f]:(pa=u,u=se)}else pa=u,u=se}else a=se;a===se&&(a=j()),a!==se&&(u=E())!==se?(da=e,e=n=No(o,a)):(pa=e,e=se)}else pa=e,e=se;else pa=e,e=se;else pa=e,e=se;else pa=e,e=se}else pa=e,e=se;return e}function Ft(){var e,n,r,i,o,a,u,s,c;if(e=pa,t.substr(pa,2)===Do?(n=Do,pa+=2):(n=se,0===ya&&l(qo)),n!==se){for(r=[],i=d();i!==se;)r.push(i),i=d();if(r!==se)if((i=p())!==se)if(y()!==se)if(function(){var t,e,n,r,i;return t=pa,ya++,e=pa,(n=C())!==se&&(r=Bt())!==se?(da=pa,(i=(i=Lo(r))?void 0:se)!==se?e=n=[n,r,i]:(pa=e,e=se)):(pa=e,e=se),ya--,e!==se?(pa=t,t=void 0):t=se,t}()!==se){if(o=[],a=pa,(u=C())!==se&&(s=zt())!==se&&(c=x())!==se?a=u=[u,s,c]:(pa=a,a=se),a!==se)for(;a!==se;)o.push(a),a=pa,(u=C())!==se&&(s=zt())!==se&&(c=x())!==se?a=u=[u,s,c]:(pa=a,a=se);else o=se;o!==se?(a=pa,ya++,u=y(),ya--,u!==se?(pa=a,a=void 0):a=se,a!==se?(da=e,e=n=Mo(o)):(pa=e,e=se)):(pa=e,e=se)}else pa=e,e=se;else pa=e,e=se;else pa=e,e=se;else pa=e,e=se}else pa=e,e=se;return e}function Bt(){var e;return 33===t.charCodeAt(pa)?(e=Ke,pa++):(e=se,0===ya&&l(Je)),e===se&&(34===t.charCodeAt(pa)?(e=tn,pa++):(e=se,0===ya&&l(en)),e===se&&(35===t.charCodeAt(pa)?(e=nn,pa++):(e=se,0===ya&&l(rn)),e===se&&(36===t.charCodeAt(pa)?(e=on,pa++):(e=se,0===ya&&l(an)),e===se&&(37===t.charCodeAt(pa)?(e=un,pa++):(e=se,0===ya&&l(sn)),e===se&&(38===t.charCodeAt(pa)?(e=cn,pa++):(e=se,0===ya&&l(ln)),e===se&&(39===t.charCodeAt(pa)?(e=fn,pa++):(e=se,0===ya&&l(hn)),e===se&&(40===t.charCodeAt(pa)?(e=pn,pa++):(e=se,0===ya&&l(dn)),e===se&&(41===t.charCodeAt(pa)?(e=vn,pa++):(e=se,0===ya&&l(gn)),e===se&&(42===t.charCodeAt(pa)?(e=mn,pa++):(e=se,0===ya&&l(yn)),e===se&&(43===t.charCodeAt(pa)?(e=bn,pa++):(e=se,0===ya&&l(xn)),e===se&&(44===t.charCodeAt(pa)?(e=wn,pa++):(e=se,0===ya&&l(_n)),e===se&&(45===t.charCodeAt(pa)?(e=Cn,pa++):(e=se,0===ya&&l(An)),e===se&&(46===t.charCodeAt(pa)?(e=Tn,pa++):(e=se,0===ya&&l(Sn)),e===se&&(47===t.charCodeAt(pa)?(e=kn,pa++):(e=se,0===ya&&l(En)),e===se&&(58===t.charCodeAt(pa)?(e=jn,pa++):(e=se,0===ya&&l(On)),e===se&&(59===t.charCodeAt(pa)?(e=Pn,pa++):(e=se,0===ya&&l(Dn)),e===se&&(60===t.charCodeAt(pa)?(e=qn,pa++):(e=se,0===ya&&l(Nn)),e===se&&(61===t.charCodeAt(pa)?(e=Mn,pa++):(e=se,0===ya&&l(Ln)),e===se&&(62===t.charCodeAt(pa)?(e=In,pa++):(e=se,0===ya&&l(Rn)),e===se&&(63===t.charCodeAt(pa)?(e=Fn,pa++):(e=se,0===ya&&l(Bn)),e===se&&(64===t.charCodeAt(pa)?(e=zn,pa++):(e=se,0===ya&&l(Wn)),e===se&&(91===t.charCodeAt(pa)?(e=Hn,pa++):(e=se,0===ya&&l($n)),e===se&&(92===t.charCodeAt(pa)?(e=Un,pa++):(e=se,0===ya&&l(Vn)),e===se&&(93===t.charCodeAt(pa)?(e=Xn,pa++):(e=se,0===ya&&l(Yn)),e===se&&(94===t.charCodeAt(pa)?(e=Gn,pa++):(e=se,0===ya&&l(Zn)),e===se&&(95===t.charCodeAt(pa)?(e=Qn,pa++):(e=se,0===ya&&l(Kn)),e===se&&(96===t.charCodeAt(pa)?(e=Jn,pa++):(e=se,0===ya&&l(tr)),e===se&&(123===t.charCodeAt(pa)?(e=er,pa++):(e=se,0===ya&&l(nr)),e===se&&(124===t.charCodeAt(pa)?(e=rr,pa++):(e=se,0===ya&&l(ir)),e===se&&(125===t.charCodeAt(pa)?(e=or,pa++):(e=se,0===ya&&l(ar)),e===se&&(126===t.charCodeAt(pa)?(e=ur,pa++):(e=se,0===ya&&l(sr))))))))))))))))))))))))))))))))),e}function zt(){var t,e,n,r;return t=pa,ya++,e=pa,(n=Bt())!==se?(da=pa,(r=(r=Io(n))?void 0:se)!==se?e=n=[n,r]:(pa=e,e=se)):(pa=e,e=se),ya--,e!==se?(pa=t,t=void 0):t=se,t}function Wt(){var t;return(t=function(){var t,e,n,r,i,o;if(t=pa,(e=Vt())!==se)if((n=Ht())!==se){for(r=[],(i=Ht())===se&&(i=Wt());i!==se;)r.push(i),(i=Ht())===se&&(i=Wt());r!==se&&(i=Xt())!==se&&(o=Wt())!==se?(da=t,e=Ro(e,n,r,o),t=e):(pa=t,t=se)}else pa=t,t=se;else pa=t,t=se;return t}())===se&&(t=function(){var t,e,n;return t=pa,(e=Vt())!==se?((n=function(){var t,e,n,r,i;if(t=pa,(e=Ht())!==se){for(n=[],(r=Ht())===se&&(r=Wt());r!==se;)n.push(r),(r=Ht())===se&&(r=Wt());n!==se?(r=pa,ya++,i=y(),ya--,i!==se?(pa=r,r=void 0):r=se,r!==se?(da=t,e=Bo(e,n),t=e):(pa=t,t=se)):(pa=t,t=se)}else pa=t,t=se;return t}())===se&&(n=function(){var t,e,n;return t=pa,(e=Xt())!==se&&(n=k())!==se?t=e=[e,n]:(pa=t,t=se),t}()),n!==se&&Xt()!==se?(da=t,e=Fo(e,n),t=e):(pa=t,t=se)):(pa=t,t=se),t}()),t}function Ht(){var t;return(t=$t())===se&&(t=Ut()),t}function $t(){var e,n,r;return e=pa,C()!==se?(t.substr(pa,2)===zo?(n=zo,pa+=2):(n=se,0===ya&&l(Wo)),n!==se&&function(){var t,e,n;for(t=pa,e=[],n=d();n!==se;)e.push(n),n=d();return e!==se?(da=pa,(n=(n=Uo(e))?void 0:se)!==se?(da=t,e=Me(e),t=e):(pa=t,t=se)):(pa=t,t=se),t}()!==se&&(r=Jt())!==se&&p()!==se?(da=e,e=Ho(r)):(pa=e,e=se)):(pa=e,e=se),e}function Ut(){var e,n,r,i;if(e=pa,C()!==se)if(124===t.charCodeAt(pa)?(n=rr,pa++):(n=se,0===ya&&l(ir)),n!==se){for(r=[],i=d();i!==se;)r.push(i),i=d();r!==se&&(i=p())!==se?(da=e,e=$o()):(pa=e,e=se)}else pa=e,e=se;else pa=e,e=se;return e}function Vt(){var e,n,r,i,o,a,u,s;for(e=pa,n=pa,ya++,r=pa,i=[],o=Ut();o!==se;)i.push(o),o=Ut();return i!==se&&(o=C())!==se?(t.substr(pa,2)===zo?(a=zo,pa+=2):(a=se,0===ya&&l(Wo)),a!==se&&(u=function(){var t,e,n;for(t=pa,e=[],n=d();n!==se;)e.push(n),n=d();return e!==se?(da=pa,(n=(n=Vo(e))?void 0:se)!==se?(da=t,t=e=Me(e)):(pa=t,t=se)):(pa=t,t=se),t}())!==se?(da=pa,(s=(s=Xo(u))?void 0:se)!==se?r=i=[i,o,a,u,s]:(pa=r,r=se)):(pa=r,r=se)):(pa=r,r=se),ya--,r!==se?(pa=n,n=void 0):n=se,n!==se&&(da=e,n=Yo()),n}function Xt(){return da=pa,Go()?void 0:se}function Yt(){var e,n;return e=pa,t.length>pa?(n=t.charAt(pa),pa++):(n=se,0===ya&&l(pe)),n!==se?(da=pa,(Zo(n)?void 0:se)!==se?(da=e,e=n=Qo(n)):(pa=e,e=se)):(pa=e,e=se),e}function Gt(){var e,n,r,i,o,a,u;return e=pa,(n=Yt())!==se&&(r=function(){var e;return t.substr(pa,2)===Zi?(e=Zi,pa+=2):(e=se,0===ya&&l(Qi)),e===se&&(42===t.charCodeAt(pa)?(e=mn,pa++):(e=se,0===ya&&l(yn)),e===se&&(t.substr(pa,2)===no?(e=no,pa+=2):(e=se,0===ya&&l(ro)),e===se&&(96===t.charCodeAt(pa)?(e=Jn,pa++):(e=se,0===ya&&l(tr)),e===se&&(124===t.charCodeAt(pa)?(e=rr,pa++):(e=se,0===ya&&l(ir)),e===se&&(t.substr(pa,2)===so?(e=so,pa+=2):(e=se,0===ya&&l(co))))))),e}())!==se?(i=pa,ya++,o=v(),ya--,o===se?i=void 0:(pa=i,i=se),i!==se?(o=pa,ya++,a=d(),ya--,a===se?o=void 0:(pa=o,o=se),o!==se?(t.length>pa?(a=t.charAt(pa),pa++):(a=se,0===ya&&l(pe)),a!==se?(da=pa,(u=(u=Ko(n,r,a))?void 0:se)!==se?e=n=[n,r,i,o,a,u]:(pa=e,e=se)):(pa=e,e=se)):(pa=e,e=se)):(pa=e,e=se)):(pa=e,e=se),e===se&&(e=pa,(n=Yt())!==se?((r=At())===se&&(r=jt())===se&&(r=Ot())===se&&(r=Nt())===se&&(r=Dt()),r!==se?e=n=[n,r]:(pa=e,e=se)):(pa=e,e=se)),e}function Zt(){var t,e,n,r,i,o;if(t=pa,e=[],n=pa,(r=C())!==se&&(i=Qt())!==se?n=r=[r,i]:(pa=n,n=se),n!==se)for(;n!==se;)e.push(n),n=pa,(r=C())!==se&&(i=Qt())!==se?n=r=[r,i]:(pa=n,n=se);else e=se;return e!==se?(n=pa,ya++,r=pa,(i=It())!==se&&(o=D())!==se?r=i=[i,o]:(pa=r,r=se),r===se&&(r=y())===se&&(r=_()),ya--,r!==se?(pa=n,n=void 0):n=se,n!==se?(da=t,t=e=Jo(e)):(pa=t,t=se)):(pa=t,t=se),t}function Qt(){var t,e,n,r,i;if(t=pa,e=[],n=pa,r=pa,ya++,(i=y())===se&&(i=It()),ya--,i===se?r=void 0:(pa=r,r=se),r!==se?((i=pt())===se&&(i=Kt()),i!==se?n=r=[r,i]:(pa=n,n=se)):(pa=n,n=se),n!==se)for(;n!==se;)e.push(n),n=pa,r=pa,ya++,(i=y())===se&&(i=It()),ya--,i===se?r=void 0:(pa=r,r=se),r!==se?((i=pt())===se&&(i=Kt()),i!==se?n=r=[r,i]:(pa=n,n=se)):(pa=n,n=se);else e=se;if(e!==se){for(n=[],r=d();r!==se;)n.push(r),r=d();n!==se?((r=v())===se&&(r=pa,ya++,i=It(),ya--,i!==se?(pa=r,r=void 0):r=se),r!==se?(da=t,t=e=ta(e,r)):(pa=t,t=se)):(pa=t,t=se)}else pa=t,t=se;return t}function Kt(){var e,n,r,i,o,a;if(e=pa,n=[],r=pa,i=pa,ya++,(o=v())===se&&(o=It()),ya--,o===se?i=void 0:(pa=i,i=se),i!==se?(o=pa,ya++,a=Gt(),ya--,a===se?o=void 0:(pa=o,o=se),o!==se?(t.length>pa?(a=t.charAt(pa),pa++):(a=se,0===ya&&l(pe)),a!==se?r=i=[i,o,a]:(pa=r,r=se)):(pa=r,r=se)):(pa=r,r=se),r!==se)for(;r!==se;)n.push(r),r=pa,i=pa,ya++,(o=v())===se&&(o=It()),ya--,o===se?i=void 0:(pa=i,i=se),i!==se?(o=pa,ya++,a=Gt(),ya--,a===se?o=void 0:(pa=o,o=se),o!==se?(t.length>pa?(a=t.charAt(pa),pa++):(a=se,0===ya&&l(pe)),a!==se?r=i=[i,o,a]:(pa=r,r=se)):(pa=r,r=se)):(pa=r,r=se);else n=se;if(n!==se?(r=pa,ya++,(i=v())===se&&(i=It()),ya--,i!==se?(pa=r,r=void 0):r=se,r!==se?(da=e,e=n=$i(n)):(pa=e,e=se)):(pa=e,e=se),e===se){for(e=pa,n=[],r=pa,i=pa,ya++,o=v(),ya--,o===se?i=void 0:(pa=i,i=se),i!==se?(o=pa,ya++,a=Gt(),ya--,a===se?o=void 0:(pa=o,o=se),o!==se?(t.length>pa?(a=t.charAt(pa),pa++):(a=se,0===ya&&l(pe)),a!==se?r=i=[i,o,a]:(pa=r,r=se)):(pa=r,r=se)):(pa=r,r=se);r!==se;)n.push(r),r=pa,i=pa,ya++,o=v(),ya--,o===se?i=void 0:(pa=i,i=se),i!==se?(o=pa,ya++,a=Gt(),ya--,a===se?o=void 0:(pa=o,o=se),o!==se?(t.length>pa?(a=t.charAt(pa),pa++):(a=se,0===ya&&l(pe)),a!==se?r=i=[i,o,a]:(pa=r,r=se)):(pa=r,r=se)):(pa=r,r=se);n!==se&&(r=Yt())!==se?(da=e,e=n=ea(n,r)):(pa=e,e=se)}return e}function Jt(){var t,e;if(t=[],(e=dt())===se&&(e=te()),e!==se)for(;e!==se;)t.push(e),(e=dt())===se&&(e=te());else t=se;return t}function te(){var e,n,r,i,o,a;if(e=pa,n=[],r=pa,i=pa,ya++,o=v(),ya--,o===se?i=void 0:(pa=i,i=se),i!==se?(o=pa,ya++,a=Gt(),ya--,a===se?o=void 0:(pa=o,o=se),o!==se?(t.length>pa?(a=t.charAt(pa),pa++):(a=se,0===ya&&l(pe)),a!==se?r=i=[i,o,a]:(pa=r,r=se)):(pa=r,r=se)):(pa=r,r=se),r!==se)for(;r!==se;)n.push(r),r=pa,i=pa,ya++,o=v(),ya--,o===se?i=void 0:(pa=i,i=se),i!==se?(o=pa,ya++,a=Gt(),ya--,a===se?o=void 0:(pa=o,o=se),o!==se?(t.length>pa?(a=t.charAt(pa),pa++):(a=se,0===ya&&l(pe)),a!==se?r=i=[i,o,a]:(pa=r,r=se)):(pa=r,r=se)):(pa=r,r=se);else n=se;if(n!==se?(r=pa,i=pa,ya++,o=v(),ya--,o===se?i=void 0:(pa=i,i=se),i!==se&&(o=Yt())!==se?r=i=[i,o]:(pa=r,r=se),r===se&&(r=null),r!==se?(da=e,e=n=na(n,r)):(pa=e,e=se)):(pa=e,e=se),e===se){for(e=pa,n=[],r=pa,i=pa,ya++,o=v(),ya--,o===se?i=void 0:(pa=i,i=se),i!==se?(o=pa,ya++,a=Gt(),ya--,a===se?o=void 0:(pa=o,o=se),o!==se?(t.length>pa?(a=t.charAt(pa),pa++):(a=se,0===ya&&l(pe)),a!==se?r=i=[i,o,a]:(pa=r,r=se)):(pa=r,r=se)):(pa=r,r=se);r!==se;)n.push(r),r=pa,i=pa,ya++,o=v(),ya--,o===se?i=void 0:(pa=i,i=se),i!==se?(o=pa,ya++,a=Gt(),ya--,a===se?o=void 0:(pa=o,o=se),o!==se?(t.length>pa?(a=t.charAt(pa),pa++):(a=se,0===ya&&l(pe)),a!==se?r=i=[i,o,a]:(pa=r,r=se)):(pa=r,r=se)):(pa=r,r=se);n!==se?(r=pa,i=pa,ya++,o=v(),ya--,o===se?i=void 0:(pa=i,i=se),i!==se&&(o=Yt())!==se?r=i=[i,o]:(pa=r,r=se),r!==se?(da=e,e=n=ra(n,r)):(pa=e,e=se)):(pa=e,e=se)}return e}function ee(){var e,n,r,i,o,a;for(e=pa,n=[],r=pa,ia.test(t.charAt(pa))?(i=t.charAt(pa),pa++):(i=se,0===ya&&l(oa)),i!==se?(o=pa,ya++,t.substr(pa,2)===Do?(a=Do,pa+=2):(a=se,0===ya&&l(qo)),ya--,a===se?o=void 0:(pa=o,o=se),o!==se?(aa.test(t.charAt(pa))?(a=t.charAt(pa),pa++):(a=se,0===ya&&l(ua)),a===se&&(a=null),a!==se?r=i=[i,o,a]:(pa=r,r=se)):(pa=r,r=se)):(pa=r,r=se);r!==se;)n.push(r),r=pa,ia.test(t.charAt(pa))?(i=t.charAt(pa),pa++):(i=se,0===ya&&l(oa)),i!==se?(o=pa,ya++,t.substr(pa,2)===Do?(a=Do,pa+=2):(a=se,0===ya&&l(qo)),ya--,a===se?o=void 0:(pa=o,o=se),o!==se?(aa.test(t.charAt(pa))?(a=t.charAt(pa),pa++):(a=se,0===ya&&l(ua)),a===se&&(a=null),a!==se?r=i=[i,o,a]:(pa=r,r=se)):(pa=r,r=se)):(pa=r,r=se);return n!==se?(ia.test(t.charAt(pa))?(r=t.charAt(pa),pa++):(r=se,0===ya&&l(oa)),r!==se?(da=e,e=n=sa(n,r)):(pa=e,e=se)):(pa=e,e=se),e}function ne(){var e,n,r,i,o,a,u,s,c,f,h;if(e=pa,C()!==se)if(t.substr(pa,2)===Pi?(n=Pi,pa+=2):(n=se,0===ya&&l(Di)),n!==se){if(r=[],(i=d())!==se)for(;i!==se;)r.push(i),i=d();else r=se;if(r!==se)if((i=ee())!==se)if(t.substr(pa,2)===Do?(o=Do,pa+=2):(o=se,0===ya&&l(qo)),o!==se){if(a=[],(u=d())!==se)for(;u!==se;)a.push(u),u=d();else a=se;a!==se?(u=pa,ya++,s=m(),ya--,s!==se?(pa=u,u=void 0):u=se,u!==se&&(s=b())!==se?(c=pa,(f=y())===se&&(f=null),f!==se&&(h=ie())!==se?c=f=[f,h]:(pa=c,c=se),c===se&&(c=null),c!==se?(da=e,e=ca(i,s,c)):(pa=e,e=se)):(pa=e,e=se)):(pa=e,e=se)}else pa=e,e=se;else pa=e,e=se;else pa=e,e=se}else pa=e,e=se;else pa=e,e=se;return e}function re(){var e,n,r,i,o,a,u,s;if(e=pa,C()!==se)if(t.substr(pa,2)===Pi?(n=Pi,pa+=2):(n=se,0===ya&&l(Di)),n!==se){if(r=[],(i=d())!==se)for(;i!==se;)r.push(i),i=d();else r=se;if(r!==se)if((i=ee())!==se)if(t.substr(pa,2)===Do?(o=Do,pa+=2):(o=se,0===ya&&l(qo)),o!==se){for(a=[],u=d();u!==se;)a.push(u),u=d();a!==se&&(u=p())!==se?((s=ie())===se&&(s=null),s!==se?(da=e,e=la(i,s)):(pa=e,e=se)):(pa=e,e=se)}else pa=e,e=se;else pa=e,e=se;else pa=e,e=se}else pa=e,e=se;else pa=e,e=se;return e}function ie(){var t,e,n,r,i,o,a;if(t=pa,(e=y())===se&&(e=null),e!==se)if((n=O())!==se){for(r=[],i=pa,o=[],a=d();a!==se;)o.push(a),a=d();if(o!==se&&(a=p())!==se?(da=i,i=o=Mi(n)):(pa=i,i=se),i===se&&(i=pa,(o=S())!==se&&(a=x())!==se?i=o=[o,a]:(pa=i,i=se)),i!==se)for(;i!==se;){for(r.push(i),i=pa,o=[],a=d();a!==se;)o.push(a),a=d();o!==se&&(a=p())!==se?(da=i,i=o=Mi(n)):(pa=i,i=se),i===se&&(i=pa,(o=S())!==se&&(a=x())!==se?i=o=[o,a]:(pa=i,i=se))}else r=se;r===se&&(r=j()),r!==se&&(i=E())!==se?(da=t,t=e=fa(n,r)):(pa=t,t=se)}else pa=t,t=se;else pa=t,t=se;return t}function oe(){var t,e,n,r,i,o;if(t=pa,(e=y())===se&&(e=null),e!==se){if(n=[],r=pa,i=pa,ya++,o=y(),ya--,o===se?i=void 0:(pa=i,i=se),i!==se&&(o=w())!==se?r=i=[i,o]:(pa=r,r=se),r!==se)for(;r!==se;)n.push(r),r=pa,i=pa,ya++,o=y(),ya--,o===se?i=void 0:(pa=i,i=se),i!==se&&(o=w())!==se?r=i=[i,o]:(pa=r,r=se);else n=se;n!==se?(da=t,t=e=ha(e,n)):(pa=t,t=se)}else pa=t,t=se;return t}function ae(t,e){return ba.map(t,function(t){return t[e]})}e=void 0!==e?e:{};var ue,se={},ce={Document:q},le=q,fe=/^[A-Za-z0-9]/,he=u([["A","Z"],["a","z"],["0","9"]],!1,!1),pe={type:"any"},de="\n",ve=a("\n",!1),ge="\r",me=a("\r",!1),ye=function(t){return t[0]+(t[1]||"")},be=" ",xe=a(" ",!1),we="\v",_e=a("\v",!1),Ce="\f",Ae=a("\f",!1),Te="\t",Se=a("\t",!1),ke=function(t){return t[1]},Ee=function(t,e){return ba.map(t,function(t){return t[0].join("")+(t[1]||"")}).concat(e[0].join("")+(e[1]||""))},je=function(t){return{raw:ba.map(t,function(t){return t[1]}).join("")}},Oe=function(t){return new wa.UnknownLine({value:t.raw})},Pe=function(t){return xa.calcIndentSize(t)<Ca},De=function(t){return Aa===o().start.line||xa.calcIndentSize(t)===Ca},qe=function(t){return t.join("")},Ne=function(t){return xa.calcIndentSize(t)>Ca},Me=function(t){return t.join("")},Le=function(t){return xa.calcIndentSize(t)<Ca},Ie=function(t){return xa.calcIndentSize(t)>=Ca},Re=function(){return!1},Fe=function(){return ja.pop(),!0},Be=function(t){return Ta=xa.calcIndentSize(t),!0},ze=function(t,e){return Ta=Math.min(Ta,xa.calcIndentSize(e)),!0},We=function(t){return ja.push(Ta),!0},He=function(){return{width:Ca,offset:ja.lastIndentDiff()}},$e=function(t,e){return ja.push(xa.calcIndentSize(t)),!0},Ue=function(){return ja.ignore(o().start.line),!0},Ve=function(t,e){return new wa.Document({children:t})},Xe=function(t,e,n){var r=Da.depth();return Da.popSection(),new wa.Section({blanklines:t,depth:r,children:[e].concat(ae(n,1))})},Ye=function(t,e){return t.line[0]===e.line[0]&&Da.isSubSection(e.line[0],!0)},Ge=function(t,e){return Da.isSubSection(e.line[0],!1)},Ze=function(t,e,n){return Da.setNextSection(n.line[0],!0),new wa.Title({children:e})},Qe=function(t,e){return Da.setNextSection(e.line[0],!1),new wa.Title({children:t})},Ke="!",Je=a("!",!1),tn='"',en=a('"',!1),nn="#",rn=a("#",!1),on="$",an=a("$",!1),un="%",sn=a("%",!1),cn="&",ln=a("&",!1),fn="'",hn=a("'",!1),pn="(",dn=a("(",!1),vn=")",gn=a(")",!1),mn="*",yn=a("*",!1),bn="+",xn=a("+",!1),wn=",",_n=a(",",!1),Cn="-",An=a("-",!1),Tn=".",Sn=a(".",!1),kn="/",En=a("/",!1),jn=":",On=a(":",!1),Pn=";",Dn=a(";",!1),qn="<",Nn=a("<",!1),Mn="=",Ln=a("=",!1),In=">",Rn=a(">",!1),Fn="?",Bn=a("?",!1),zn="@",Wn=a("@",!1),Hn="[",$n=a("[",!1),Un="\\",Vn=a("\\",!1),Xn="]",Yn=a("]",!1),Gn="^",Zn=a("^",!1),Qn="_",Kn=a("_",!1),Jn="`",tr=a("`",!1),er="{",nr=a("{",!1),rr="|",ir=a("|",!1),or="}",ar=a("}",!1),ur="~",sr=a("~",!1),cr=function(t){return t.length>=2&&1===ba.uniq(t).length},lr=function(t){return{line:t.join("")}},fr=function(t,e){return new wa.Transition({blanklines:t,children:[]})},hr=function(t){return t.length>=4&&1===ba.uniq(t).length},pr=function(t){return t},dr=function(t,e){return e.blanklines=t||[],e},vr=function(t){return t},gr=function(t){return t},mr=function(t){return ja.push(o().start.column-1),!0},yr=function(){return{width:Ca,offset:ja.lastIndentDiff()}},br=function(t,e){return new wa.ListItem({children:e})},xr=function(){return new wa.ListItem({children:[]})},wr=function(t){return new wa.BulletList({bullet:t[0][0],children:ae(t,1)})},_r=/^[*+\-\u2022\u2023\u2043]/,Cr=u(["*","+","-","•","‣","⁃"],!1,!1),Ar=function(t){return Pa.isSameBullet(t)},Tr=function(t){return t},Sr=function(t){return Pa.pushBullet(t),!0},kr=function(){return Pa.popBullet(),!0},Er=function(t,e,n){return n.blanklines=t||[],[e,n]},jr=function(t){return new wa.EnumeratedList({children:t})},Or=function(){return Ea.begin(),!0},Pr=function(){return Ea.end(),!0},Dr=function(t,e,n){return n.blanklines=t||[],n},qr=function(t){return new wa.Enumerator({sequence:t,format:"period"})},Nr=function(t){return new wa.Enumerator({sequence:t,format:"right_parenthesis"})},Mr=function(t){return new wa.Enumerator({sequence:t,format:"parentheses"})},Lr=function(t){return!!Ea.isNext(t)&&(Ea.set(t),!0)},Ir=function(t){return t},Rr=function(){return Ea.isNextType("arabic_numerals")},Fr=function(){return Ea.isNextType("uppercase_roman")},Br=function(){return Ea.isNextType("lowercase_roman")},zr=function(){return Ea.isNextType("uppercase_alphabet")},Wr=function(){return Ea.isNextType("lowercase_alphabet")},Hr=function(){return new wa.EnumeratorSequence({type:"auto",value:"#"})},$r=/^[1-9]/,Ur=u([["1","9"]],!1,!1),Vr=/^[0-9]/,Xr=u([["0","9"]],!1,!1),Yr=function(t,e){return new wa.EnumeratorSequence({type:"arabic_numerals",value:[t].concat(e).join("")})},Gr=/^[0]/,Zr=u(["0"],!1,!1),Qr=function(t){return new wa.EnumeratorSequence({type:"arabic_numerals",value:t})},Kr=/^[A-Z]/,Jr=u([["A","Z"]],!1,!1),ti=function(t){return new wa.EnumeratorSequence({type:"uppercase_alphabet",value:t})},ei=/^[a-z]/,ni=u([["a","z"]],!1,!1),ri=function(t){return new wa.EnumeratorSequence({type:"lowercase_alphabet",value:t})},ii=/^[IVXLCDM]/,oi=u(["I","V","X","L","C","D","M"],!1,!1),ai=function(t){return xa.isUpperRomanNumber(t.join(""))},ui=function(t){return new wa.EnumeratorSequence({type:"uppercase_roman",value:t.join("")})},si=/^[ivxlcdm]/,ci=u(["i","v","x","l","c","d","m"],!1,!1),li=function(t){return xa.isLowerRomanNumber(t.join(""))},fi=function(t){return new wa.EnumeratorSequence({type:"lowercase_roman",value:t.join("")})},hi=function(t){return new wa.DefinitionList({children:t})},pi=function(t,e,n,i,o){return n=ae(n,3),new wa.DefinitionListItem({blanklines:t,indent:i,children:[e].concat(r(n),[o])})},di=function(t){return new wa.Term({children:t})},vi=function(t){return new wa.Definition({children:t})},gi=function(t){return new wa.Text({value:ae(t,3).join("")})},mi=function(t){return new wa.Classifier({children:t})},yi=function(t,e,n,r){var i={width:e.width,offset:e.width-r.indent.width};n.indent=i;var o=[n].concat(r.children);return e=r.indent,new wa.BlockQuote({indent:e,blanklines:t,children:o})},bi=function(t,e){return new wa.BlockQuote({children:t.concat(e||[])})},xi=function(t,e,n,r){return new wa.BlockQuote({indent:e,blanklines:t,children:n.concat(r||[])})},wi=function(t,e){return[t].concat(ba.map(e,function(t){return t[1]}))},_i="---",Ci=a("---",!1),Ai="--",Ti=a("--",!1),Si="—",ki=a("—",!1),Ei=function(t,e){return new wa.Attribution({blanklines:t,children:e.children})},ji=function(t){return t},Oi=function(t){return t},Pi="..",Di=a("..",!1),qi=function(t,e){var n=[new wa.Text({value:t.raw})],r=null;return ba.isNull(e)||(r=e[1].indent,n=n.concat(e[1].children)),new wa.Comment({indent:r,children:n})},Ni=function(t){return ba.isNull(t)?new wa.Comment({}):t},Mi=function(t){return null},Li=function(t,e){var n=ba.map(ba.reject(e,ba.isNull),function(e){var n=e[0],r=e[1].raw,i=ba.repeat(" ",n.length-t.width)+r;return new wa.Text({value:i})});return new wa.Comment({indent:t,children:n})},Ii=function(t){return xa.isInlineMarkupSuffix(t)},Ri=function(){return 1===Sa.length},Fi=function(t){return t===Sa},Bi=function(){return 2===Sa.length},zi=function(t){return t.join("")===Sa},Wi=function(){return 3===Sa.length},Hi=function(){return"``"===Sa},$i=function(t){return new _a({value:ae(t,2).join("")})},Ui=function(t,e){return ba.isNull(e)||(t=new _a({value:t.value+e})),t},Vi=function(t,e){return[new _a({value:t.value+e})]},Xi=function(t,e,n){var r=(ba.isNull(t)?[]:[t]).concat(ae(e,1));0===r.length&&r.push(new _a({value:""}));var i=r[r.length-1];return r[r.length-1]=new _a({value:i.value+n}),r},Yi=function(){return Sa="*",!0},Gi=function(t){return new wa.Emphasis({children:t})},Zi="**",Qi=a("**",!1),Ki=function(){return Sa="**",!0},Ji=function(t){return new wa.Strong({children:t})},to=function(t){return Sa="`",!0},eo=function(t,e){var n=null;return ba.isNull(t)||(n=ba.map(t[1],function(t){return t[3]}).join("")),new wa.InterpretedText({role:n,children:e})},no="``",ro=a("``",!1),io=function(){return Sa="``",!0},oo=function(t){return new wa.Literal({children:t})},ao=function(){return Sa="|",!0},uo=function(t){return new wa.SubstitutionReference({children:t})},so="_`",co=a("_`",!1),lo=function(){return Sa="`",!0},fo=function(t){return new wa.InlineInternalTarget({children:t})},ho=function(t){return ba.isArray(t)?t.join(""):t},po="]_",vo=a("]_",!1),go=function(t){return new wa.FootnoteReference({children:[new _a({value:t})]})},mo=function(t){return new wa.CitationReference({children:[new _a({value:t})]})},yo=function(){return Sa="`_",!0},bo=function(t){return new wa.Reference({anonymous:!1,simple:!1,children:t})},xo=function(t){return new wa.Reference({anonymous:!1,simple:!0,children:[new _a({value:t})]})},wo=function(){return Sa="`__",!0},_o=function(t){return new wa.Reference({anonymous:!0,simple:!1,children:t})},Co="__",Ao=a("__",!1),To=function(t){return new wa.Reference({anonymous:!0,simple:!0,children:[new _a({value:t})]})},So=/^[\-_.:+]/,ko=u(["-","_",".",":","+"],!1,!1),Eo=function(t,e){return t+e.join("")},jo=/^[\-.:+]/,Oo=u(["-",".",":","+"],!1,!1),Po=function(t){return t},Do="::",qo=a("::",!1),No=function(t,e){var n=ba.map(e,function(e){if(ba.isUndefined(e[0]))var n=xa.calcIndentSize(e[1].join("")),r=ba.repeat(" ",n-t.width)+e[2].raw;else n=xa.calcIndentSize(e[0].join("")),r=ba.repeat(" ",Math.max(0,n-t.width));return new wa.Text({value:r})});return new wa.LiteralBlock({children:n})},Mo=function(t){var e=ba.map(t,function(t){return new wa.Text({value:t[2].raw})});return new wa.LiteralBlock({children:e})},Lo=function(t){return ka=t,!0},Io=function(t){return ka===t},Ro=function(t,e,n,r){var i=[new wa.LineBlock({children:[e].concat(n)})].concat(r.children);return new wa.LineBlock({children:i})},Fo=function(t,e){return e},Bo=function(t,e){return new wa.LineBlock({children:[t].concat(r(e))})},zo="| ",Wo=a("| ",!1),Ho=function(t){return new wa.Line({children:t})},$o=function(){return new wa.Line({children:[]})},Uo=function(t){return xa.calcIndentSize(t)===Oa.current()},Vo=function(t){return xa.calcIndentSize(t)>Oa.current()},Xo=function(t){return Oa.push(xa.calcIndentSize(t)),!0},Yo=function(){return{width:Oa.current(),offset:Oa.diff()}},Go=function(){return Oa.pop(),!0},Zo=function(t){return xa.isInlineMarkupPrefix(t)},Qo=function(t){return t},Ko=function(t,e,n){return!("*"===t&&"*"===e||xa.isMatchPunctuations(t,n))},Jo=function(t){return new wa.Paragraph({children:ba.flatten(ae(t,1))})},ta=function(t,e){var n=ae(t,1);if(e){if("text"!==n[n.length-1].type)return n.concat(new _a({value:e}));n[n.length-1]=new _a({value:n[n.length-1].value+e})}return n},ea=function(t,e){return new _a({value:ae(t,2).join("")+e})},na=function(t,e){var n=ae(t,2).join("");return ba.isNull(e)||(n+=e[1]),new _a({value:n})},ra=function(t,e){var n=ae(t,2).join("")+e[1];return new _a({value:n})},ia=/^[A-Za-z]/,oa=u([["A","Z"],["a","z"]],!1,!1),aa=/^[\-_+:.]/,ua=u(["-","_","+",":","."],!1,!1),sa=function(t,e){return ba.flatMap(t,function(t){return ba.compact(t)}).concat(e).join("")},ca=function(t,e,n){var r=[new wa.Text({value:e.raw})],i=null;return ba.isNull(n)||(i=n[1].indent,r=r.concat(n[1].children)),new wa.Directive({directive:t,indent:i,children:r})},la=function(t,e){return ba.isNull(e)?new wa.Directive({directive:t}):new wa.Directive({directive:t,indent:e.indent,children:e.children})},fa=function(t,e){var n=ba.map(ba.reject(e,ba.isNull),function(e){var n=e[0],r=e[1].raw,i=ba.repeat(" ",n.length-t.width)+r;return new wa.Text({value:i})});return new wa.Directive({indent:t,children:n})},ha=function(t,e){return new wa.Unknown({blanklines:t,children:ba.flatten(ae(e,1))})},pa=0,da=0,va=[{line:1,column:1}],ga=0,ma=[],ya=0;if("startRule"in e){if(!(e.startRule in ce))throw new Error("Can't start parsing from rule \""+e.startRule+'".');le=ce[e.startRule]}var ba=n(0),xa=n(1).default,wa={};ba.forEach(n(9).default,function(t,e){function n(e){t.apply(this,[Object.assign({},{position:o()},e)])}n.prototype=t.prototype,wa[e]=n});var _a=wa.Text,Ca=0,Aa=null,Ta=null,Sa=null,ka=null,Ea=function(){var t=null,e=[],n=null;return{begin:function(){e.push(n),n=null,t=null},end:function(){n=e.pop(),ba.isNull(n)||(t=n.sequence.type)},set:function(e){t=(n=e).sequence.type},isNext:function(t){return ba.isNull(n)||n.isNext(t)},isNextType:function(e){return ba.isNull(n)||t===e}}}(),ja=function(){var t=[];return{push:function(e){t.push(Ca),Ca=e},pop:function(){Ca=t.pop()},ignore:function(t){Aa=t},lastIndentDiff:function(){return 0===t.length?Ca:Ca-t[t.length-1]}}}(),Oa=function(){var t=-1,e=[];return{current:function(){return t},push:function(n){e.push(t),t=n},pop:function(){t=e.pop()},diff:function(){return 0===e.length?t:t-e[e.length-1]}}}(),Pa=function(){var t=[],e=null;return{pushBullet:function(n){t.push(e),e=n},popBullet:function(){e=t.pop()},isSameBullet:function(t){return e===t}}}(),Da=function(){var t=[],e=-1;return{isSubSection:function(n,r){if(e===t.length-1){for(var i=0,o=t.length;i<o;i++)if(t[i].c===n&&t[i].overline===r)return!1;return!0}var a=t[e+1];return a.c===n&&a.overline===r},setNextSection:function(n,r){for(var i=0,o=t.length;i<o;i++)if(t[i].c===n&&t[i].overline===r)return void(e=i);t.push({c:n,overline:r}),e=t.length-1},popSection:function(){--e},depth:function(){return e+1}}}();if((ue=le())!==se&&pa===t.length)return ue;throw ue!==se&&pa<t.length&&l({type:"end"}),function(t,e,n){return new i(i.buildMessage(t,e),t,e,n)}(ma,ga<t.length?t.charAt(ga):null,ga<t.length?c(ga,ga+1):c(ga,ga))}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t){return t.charAt(0).toUpperCase()+t.slice(1)}Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),u=r(n(0)),s=r(n(10)),c=r(n(1)),l={};u.default.forEach(s.default.valueTypes,function(t,e){l[o(e)]=function e(n){var r=n.value,o=n.position;i(this,e),this.type=t,this.value=r,this.position=o}}),u.default.forEach(s.default.parentTypes,function(t,e){l[o(e)]=function e(n){var r=n.children,o=void 0===r?[]:r,a=n.position,u=n.blanklines,s=void 0===u?[]:u,c=n.bullet,l=void 0===c?null:c,f=n.depth,h=void 0===f?null:f,p=n.role,d=void 0===p?null:p,v=n.indent,g=void 0===v?null:v,m=n.directive,y=void 0===m?null:m;i(this,e),this.type=t,"bullet_list"===t&&(this.bullet=l),"interpreted_text"===t&&(this.role=d),"section"===t&&(this.depth=h),"directive"===t&&(this.directive=y),this.position=a,g&&(this.indent=g),this.blanklines=s||[],this.children=o}}),l.EnumeratorSequence=function(){function t(e){var n=e.type,r=e.value;i(this,t),this.type=n,this.value=r}return a(t,[{key:"width",value:function(){return this.value.length}},{key:"isAuto",value:function(){return"auto"===this.type}},{key:"isArabicNumerals",value:function(){return"arabic_numerals"===this.type}},{key:"isUppercaseAlphabet",value:function(){return"uppercase_alphabet"===this.type}},{key:"isLowercaseAlphabet",value:function(){return"lowercase_alphabet"===this.type}},{key:"isUppercaseRoman",value:function(){return"uppercase_roman"===this.type}},{key:"isLowercaseRoman",value:function(){return"lowercase_roman"===this.type}}]),t}(),l.Enumerator=function(){function t(e){var n=e.sequence,r=e.format;i(this,t),this.sequence=n,this.format=r}return a(t,[{key:"width",value:function(){return"parentheses"===this.format?this.sequence.width()+2:this.sequence.width()+1}},{key:"isPeriodFormat",value:function(){return"period"===this.format}},{key:"isParenthesesFormat",value:function(){return"parentheses"===this.format}},{key:"isRightParenthesisFormat",value:function(){return"right_parenthesis"===this.format}},{key:"isNext",value:function(t){return this.format===t.format&&(!!t.sequence.isAuto()||this.sequence.type===t.sequence.type&&(this.sequence.isArabicNumerals()?parseInt(this.sequence.value,10)+1===parseInt(t.sequence.value,10):this.sequence.isUppercaseAlphabet()||this.sequence.isLowercaseAlphabet()?this.sequence.value.charCodeAt(0)+1===t.sequence.value.charCodeAt(0):!this.sequence.isUppercaseRoman()&&!this.sequence.isLowercaseRoman()||c.default.romanToNumber(this.sequence.value.toUpperCase())+1===c.default.romanToNumber(t.sequence.value.toUpperCase())))}},{key:"isFirst",value:function(){if(this.sequence.isUppercaseRoman()||this.sequence.isLowercaseRoman()){var t=this.sequence.value;return"i"===t||"I"===t||2===t.length}return!0}}]),t}(),e.default=l},function(t,e,n){"use strict";function r(t){return t.replace(/_([a-z])/g,function(t,e){return e.toUpperCase()})}Object.defineProperty(e,"__esModule",{value:!0});var i={parentTypes:{},valueTypes:{}},o=!0,a=!1,u=void 0;try{for(var s,c=["text","unknown_line"][Symbol.iterator]();!(o=(s=c.next()).done);o=!0){var l=s.value;i.valueTypes[r(l)]=l}}catch(t){a=!0,u=t}finally{try{!o&&c.return&&c.return()}finally{if(a)throw u}}var f=!0,h=!1,p=void 0;try{for(var d,v=["document","section","title","transition","paragraph","bullet_list","list_item","enumerated_list","definition_list","definition_list_item","term","classifier","definition","field_list","field","field_name","field_body","docinfo","author","authors","organization","contact","version","status","date","copyright","field","topic","option_list","option_list_item","option_group","option","option_string","option_argument","description","literal_block","line_block","line","block_quote","attribution","doctest_block","table","tgroup","colspec","thead","tbody","row","entry","footnote","label","citation","target","substitution_definition","comment","emphasis","strong","literal","reference","target","footnote_reference","citation_reference","substitution_reference","reference","system_message","problematic","unknown","directive","interpreted_text"][Symbol.iterator]();!(f=(d=v.next()).done);f=!0){var g=d.value;i.parentTypes[r(g)]=g}}catch(t){h=!0,p=t}finally{try{!f&&v.return&&v.return()}finally{if(h)throw p}}e.default=i}])},function(t,n){t.exports=e},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AnnotationsQueryCtrl=e.ConfigCtrl=e.QueryCtrl=e.Datasource=void 0;var r=n(7),i=n(10),o=n(20),a=function(){function t(){}return t.templateUrl="partials/annotations.editor.html",t}();e.Datasource=r.TornimoDatasource,e.QueryCtrl=i.TornimoQueryCtrl,e.ConfigCtrl=o.TornimoConfigCtrl,e.AnnotationsQueryCtrl=a},function(t,e,n){"use strict";s.$inject=["instanceSettings","$q","backendSrv","templateSrv"],Object.defineProperty(e,"__esModule",{value:!0});"function"==typeof Symbol&&Symbol.iterator;e.TornimoDatasource=s;var r=u(n(0)),i=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(n(8)),o=u(n(9)),a=n(1);function u(t){return t&&t.__esModule?t:{default:t}}function s(t,e,n,u){var s=this;this.basicAuth=t.basicAuth,this.url=t.url,this.name=t.name,this.token=t.jsonData.token,this.bucketSizeSeconds=t.jsonData.bucketSizeSeconds||60,this.tornimoVersion=t.jsonData.tornimoVersion||"0.3820",this.supportsTags=(this.tornimoVersion,!0),this.cacheTimeout=t.cacheTimeout,this.withCredentials=t.withCredentials,this.render_method=t.render_method||"POST",this.funcDefs=null,this.funcDefsPromise=null,this.getQueryOptionsInfo=function(){return{maxDataPoints:!0,cacheTimeout:!0,links:[{text:"Help",url:"http://docs.grafana.org/features/datasources/graphite/#using-graphite-in-grafana"}]}},this.query=function(t){var n={from:this.translateTime(t.rangeRaw.from,!1),until:this.translateTime(t.rangeRaw.to,!0),targets:t.targets,format:t.format,cacheTimeout:t.cacheTimeout||this.cacheTimeout,maxDataPoints:t.maxDataPoints,token:this.token,bucketSizeSeconds:this.bucketSizeSeconds},r=this.buildTornimoParams(n,t.scopedVars);if(0===r.length)return e.when({data:[]});var i={method:"POST",url:"/render",data:r.join("&"),headers:{"Content-Type":"application/x-www-form-urlencoded"}};return this.addTracingHeaders(i,t),t.panelId&&(i.requestId=this.name+".panelId."+t.panelId),this.doTornimoRequest(i).then(this.convertDataPointsToMs)},this.addTracingHeaders=function(t,e){!this.url.match(/^http/)&&(t.headers["X-Dashboard-Id"]=e.dashboardId,t.headers["X-Panel-Id"]=e.panelId)},this.convertDataPointsToMs=function(t){if(!t||!t.data)return[];for(var e=0;e<t.data.length;e++)for(var n=t.data[e],r=0;r<n.datapoints.length;r++)n.datapoints[r][1]*=1e3;return t},this.parseTags=function(t){var e=[];return 1===(e=t.split(",")).length&&""===(e=t.split(" "))[0]&&(e=[]),e},this.annotationQuery=function(t){var e=this;if(t.annotation.target){var n=u.replace(t.annotation.target,{},"glob"),i={rangeRaw:t.rangeRaw,targets:[{target:n}],format:"json",maxDataPoints:100};return this.query(i).then(function(e){for(var n=[],r=0;r<e.data.length;r++)for(var i=e.data[r],o=0;o<i.datapoints.length;o++){var a=i.datapoints[o];a[0]&&n.push({annotation:t.annotation,time:a[1],title:i.target})}return n})}var o=u.replace(t.annotation.tags);return this.events({range:t.rangeRaw,tags:o}).then(function(n){for(var i=[],o=0;o<n.data.length;o++){var a=n.data[o],u=a.tags;r.default.isString(a.tags)&&(u=e.parseTags(a.tags)),i.push({annotation:t.annotation,time:1e3*a.when,title:a.what,tags:u,text:a.data,regionId:a.regionId})}return i})},this.events=function(t){try{var n="";t.tags&&(n="&tags="+t.tags);var r="";return this.token&&(r="&clientId="+this.token),this.doTornimoRequest({method:"GET",url:"/events/get_data?from="+this.translateTime(t.range.from,!1)+"&until="+this.translateTime(t.range.to,!0)+n+r})}catch(t){return e.reject(t)}},this.targetContainsTemplate=function(t){return u.variableExists(t.target)},this.translateTime=function(t,e){if(r.default.isString(t)){if("now"===t)return"now";if(t.indexOf("now-")>=0&&-1===t.indexOf("/"))return t=(t=(t=t.substring(3)).replace("m","min")).replace("M","mon");t=i.parse(t,e)}return e?t.get("s")&&t.add(1,"m"):!1===e&&t.get("s")&&t.subtract(1,"m"),t.unix()},this.metricFindQuery=function(t,e){var n=e||{},i=u.replace(t),o=i.match(/^tag_values\(([^,]+)((, *[^,]+)*)\)$/);if(o){for(var a=[],s=(c=/, *([^,]+)/g).exec(o[2]);null!==s;)a.push(s[1]),s=c.exec(o[2]);return n.limit=1e4,this.getTagValuesAutoComplete(a,o[1],void 0,n)}if(o=i.match(/^tags\(([^,]*)((, *[^,]+)*)\)$/)){a=[];if(o[1]){a.push(o[1]);var c;for(s=(c=/, *([^,]+)/g).exec(o[2]);null!==s;)a.push(s[1]),s=c.exec(o[2])}return n.limit=1e4,this.getTagsAutoComplete(a,void 0,n)}var l={method:"GET",url:"/metrics/find",params:{query:i,token:n.token},requestId:n.requestId};return n.range&&(l.params.from=this.translateTime(n.range.from,!1),l.params.until=this.translateTime(n.range.to,!0)),l.params.token=this.token,this.doTornimoRequest(l).then(function(t){return r.default.map(t.data,function(t){return{text:t.text,expandable:!!t.expandable}})})},this.getTags=function(t){var e=t||{},n={method:"GET",url:"/tags",requestId:e.requestId};return e.range&&(n.params.from=this.translateTime(e.range.from,!1),n.params.until=this.translateTime(e.range.to,!0)),this.doTornimoRequest(n).then(function(t){return r.default.map(t.data,function(t){return{text:t.tag,id:t.id}})})},this.getTagValues=function(t,e){var n=e||{},i={method:"GET",url:"/tags/"+u.replace(t),requestId:n.requestId};return n.range&&(i.params.from=this.translateTime(n.range.from,!1),i.params.until=this.translateTime(n.range.to,!0)),this.doTornimoRequest(i).then(function(t){return t.data&&t.data.values?r.default.map(t.data.values,function(t){return{text:t.value,id:t.id}}):[]})},this.getTagsAutoComplete=function(t,e,n){var i=n||{},o={method:"GET",url:"/tags/autoComplete/tags",params:{expr:r.default.map(t,function(t){return u.replace((t||"").trim())})},requestId:i.requestId};return o.params.token=s.token,e&&(o.params.tagPrefix=e),i.limit&&(o.params.limit=i.limit),i.range&&(o.params.from=s.translateTime(i.range.from,!1),o.params.until=s.translateTime(i.range.to,!0)),s.doTornimoRequest(o).then(function(t){return t.data?r.default.map(t.data,function(t){return{text:t}}):[]})},this.getTagValuesAutoComplete=function(t,e,n,i){var o=i||{},a={method:"GET",url:"/tags/autoComplete/values",params:{expr:r.default.map(t,function(t){return u.replace((t||"").trim())}),tag:u.replace((e||"").trim())},requestId:o.requestId};return a.params.token=s.token,n&&(a.params.valuePrefix=n),o.limit&&(a.params.limit=o.limit),o.range&&(a.params.from=s.translateTime(o.range.from,!1),a.params.until=s.translateTime(o.range.to,!0)),s.doTornimoRequest(a).then(function(t){return t.data?r.default.map(t.data,function(t){return{text:t}}):[]})},this.getVersion=function(t){var e={method:"GET",url:"/healthcheck?version",requestId:(t||{}).requestId};return this.doTornimoRequest(e).then(function(t){return t.data&&new a.SemVersion(t.data).isValid()?t.data:""}).catch(function(){return""})},this.createFuncInstance=function(t,e){return o.default.createFuncInstance(t,e,this.funcDefs)},this.getFuncDef=function(t){return o.default.getFuncDef(t,this.funcDefs)},this.waitForFuncDefsLoaded=function(){return this.getFuncDefs()},this.getFuncDefs=function(){return null!==this.funcDefsPromise?this.funcDefsPromise:(this.tornimoVersion,this.funcDefs=o.default.getFuncDefs(this.tornimoVersion),this.funcDefsPromise=Promise.resolve(this.funcDefs),this.funcDefsPromise)},this.testDatasource=function(){return this.query({panelId:3,rangeRaw:{from:"now-1h",to:"now"},targets:[{target:"constantLine(100)"}],maxDataPoints:300}).then(function(){return{status:"success",message:"Data source is working"}})},this.doTornimoRequest=function(t){return(this.basicAuth||this.withCredentials)&&(t.withCredentials=!0),t.headers=t.headers||{},t.headers.Authorization=this.token,t.url=this.url+t.url,t.inspect={type:"tornimo"},n.datasourceRequest(t)},this._seriesRefLetters="ABCDEFGHIJKLMNOPQRSTUVWXYZ",this.buildTornimoParams=function(t,e){var n,i,o,a=["from","until","rawData","format","maxDataPoints","cacheTimeout","token","bucketSizeSeconds"],s=[],c={},l=/\#([A-Z])/g,f=/'(\d+)m'/gi,h=!1;function p(t){return t.replace("m","min").replace("M","mon")}for(t.format="json",o=0;o<t.targets.length;o++)(n=t.targets[o]).target&&(n.refId||(n.refId=this._seriesRefLetters[o]),i=(i=u.replace(n.target,e)).replace(f,p),c[n.refId]=i);function d(t,e){return c[e]||t}for(o=0;o<t.targets.length;o++)(n=t.targets[o]).target&&(i=(i=c[n.refId]).replace(l,d),c[n.refId]=i,n.hide||(h=!0,s.push("target="+encodeURIComponent(i))));return r.default.each(t,function(t,e){-1!==r.default.indexOf(a,e)&&t&&s.push(e+"="+encodeURIComponent(t))}),h?s:[]}}},function(t,e){t.exports=n},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FuncInstance=void 0;var r,i=n(0),o=(r=i)&&r.__esModule?r:{default:r},a=n(1);var u={};function s(t){t.params=t.params||[],t.defaultParams=t.defaultParams||[],u[t.name]=t,t.shortName&&(u[t.shortName]=t)}var c=[{name:"other",type:"value_or_series",optional:!0,multiple:!0}];function l(t,e){return!t.version||(0,a.isVersionGtOrEq)(e,t.version)}s({name:"aggregate",category:"Combine",params:[{name:"function",type:"string",options:["sum","avg","maxSeries","minSeries","total"]},{name:"xFilesFactor",type:"int",options:[.1,.25,.33,.5,.66,.75,.9],optional:!0}],defaultParams:["sum"]}),s({name:"scaleToSeconds",category:"Transform",params:[{name:"seconds",type:"int"}],defaultParams:[1]}),s({name:"perSecond",category:"Transform",params:[{name:"max value",type:"int",optional:!0}],defaultParams:[]}),s({name:"nPercentile",category:"Calculate",params:[{name:"Nth percentile",type:"int"}],defaultParams:[95]}),s({name:"diffSeries",params:c,defaultParams:["#A"],category:"Combine"}),s({name:"divideSeries",params:c,defaultParams:["#A"],category:"Combine"}),s({name:"asPercent",params:c,defaultParams:["#A"],category:"Combine"}),s({name:"group",params:c,defaultParams:["#A","#B"],category:"Combine"}),s({name:"sumSeries",shortName:"sum",category:"Combine",params:c,defaultParams:[""]}),s({name:"averageSeries",shortName:"avg",category:"Combine",params:c,defaultParams:[""]}),s({name:"sumSeriesWithWildcards",category:"Combine",params:[{name:"node",type:"int",multiple:!0}],defaultParams:[3]}),s({name:"maxSeries",shortName:"max",category:"Combine"}),s({name:"maxSeriesWithWildcards",category:"Combine",params:[{name:"node",type:"int",options:[0,1,2,3,4,5,6,7,8,9,10,12]},{name:"node",type:"int",options:[0,-1,-2,-3,-4,-5,-6,-7],optional:!0},{name:"node",type:"int",options:[0,-1,-2,-3,-4,-5,-6,-7],optional:!0},{name:"node",type:"int",options:[0,-1,-2,-3,-4,-5,-6,-7],optional:!0}],defaultParams:[3]}),s({name:"minSeries",shortName:"min",category:"Combine"}),s({name:"minSeriesWithWildcards",category:"Combine",params:[{name:"node",type:"int",options:[0,1,2,3,4,5,6,7,8,9,10,12]},{name:"node",type:"int",options:[0,-1,-2,-3,-4,-5,-6,-7],optional:!0},{name:"node",type:"int",options:[0,-1,-2,-3,-4,-5,-6,-7],optional:!0},{name:"node",type:"int",options:[0,-1,-2,-3,-4,-5,-6,-7],optional:!0}],defaultParams:[3]}),s({name:"averageSeriesWithWildcards",category:"Combine",params:[{name:"node",type:"int",multiple:!0}],defaultParams:[3]}),s({name:"aggregateWithWildcards",category:"Combine",params:[{name:"function",type:"string",options:["sum","avg","maxSeries","minSeries","total"]},{name:"node",type:"int",options:[0,1,2,3,4,5,6,7,8,9,10,12]},{name:"node",type:"int",options:[0,-1,-2,-3,-4,-5,-6,-7],optional:!0},{name:"node",type:"int",options:[0,-1,-2,-3,-4,-5,-6,-7],optional:!0},{name:"node",type:"int",options:[0,-1,-2,-3,-4,-5,-6,-7],optional:!0}],defaultParams:["sum",3]}),s({name:"alias",category:"Alias",params:[{name:"alias",type:"string"}],defaultParams:["alias"]}),s({name:"consolidateBy",category:"Special",params:[{name:"function",type:"string",options:["sum","average","min","max"]}],defaultParams:["max"]}),s({name:"groupByNode",category:"Combine",params:[{name:"node",type:"int",options:[0,1,2,3,4,5,6,7,8,9,10,12]},{name:"function",type:"string",options:["sum","avg","maxSeries"]}],defaultParams:[3,"sum"]}),s({name:"aliasByNode",category:"Alias",params:[{name:"node",type:"int",options:[0,1,2,3,4,5,6,7,8,9,10,12],multiple:!0}],defaultParams:[3]}),s({name:"sortByName",category:"Sorting",params:[{name:"natural",type:"boolean",options:["true","false"],optional:!0}],defaultParams:["false"]}),s({name:"sortByMaxima",category:"Sorting"}),s({name:"sortByMinima",category:"Sorting"}),s({name:"sortByTotal",category:"Sorting"}),s({name:"aliasByMetric",category:"Alias"}),s({name:"randomWalk",fake:!0,category:"Special",params:[{name:"name",type:"string"},{name:"step",type:"int",optional:!0},{name:"seed",type:"int",optional:!0}],defaultParams:["randomWalk","-1","60"]}),s({name:"time",fake:!0,category:"Special",params:[{name:"name",type:"string"},{name:"step",type:"int",optional:!0}],defaultParams:["time","60"]}),s({name:"countSeries",category:"Combine"}),s({name:"constantLine",category:"Special",params:[{name:"value",type:"int"}],defaultParams:[10]}),s({name:"keepLastValue",category:"Transform",params:[{name:"n",type:"int"}],defaultParams:[100]}),s({name:"scale",category:"Transform",params:[{name:"factor",type:"int"}],defaultParams:[1]}),s({name:"offset",category:"Transform",params:[{name:"amount",type:"int"}],defaultParams:[10]}),s({name:"offsetToZero",category:"Transform"}),s({name:"derivative",category:"Transform"}),s({name:"nonNegativeDerivative",category:"Transform",params:[{name:"max value or 0",type:"int",optional:!0}],defaultParams:[""]}),s({name:"timeShift",category:"Transform",params:[{name:"amount",type:"select",options:["1h","6h","12h","1d","2d","7d","14d","30d"]}],defaultParams:["1d"]}),s({name:"summarize",category:"Transform",params:[{name:"interval",type:"string"},{name:"func",type:"select",options:["sum","avg","min","max","last"]},{name:"alignToFrom",type:"boolean",optional:!0,options:["false","true"]}],defaultParams:["1h","sum","false"]}),s({name:"smartSummarize",category:"Transform",params:[{name:"interval",type:"string"},{name:"func",type:"select",options:["sum","avg","min","max","last"]}],defaultParams:["1h","sum"]}),s({name:"absolute",category:"Transform"}),s({name:"averageAbove",category:"Filter Series",params:[{name:"n",type:"int"}],defaultParams:[25]}),s({name:"averageBelow",category:"Filter Series",params:[{name:"n",type:"int"}],defaultParams:[25]}),s({name:"currentAbove",category:"Filter Series",params:[{name:"n",type:"int"}],defaultParams:[25]}),s({name:"currentBelow",category:"Filter Series",params:[{name:"n",type:"int"}],defaultParams:[25]}),s({name:"maximumAbove",category:"Filter Series",params:[{name:"value",type:"int"}],defaultParams:[0]}),s({name:"maximumBelow",category:"Filter Series",params:[{name:"value",type:"int"}],defaultParams:[0]}),s({name:"minimumAbove",category:"Filter Series",params:[{name:"value",type:"int"}],defaultParams:[0]}),s({name:"minimumBelow",category:"Filter Series",params:[{name:"value",type:"int"}],defaultParams:[0]}),s({name:"limit",category:"Filter Series",params:[{name:"n",type:"int"}],defaultParams:[5]}),s({name:"movingAverage",category:"Calculate",params:[{name:"windowSize",type:"int_or_interval",options:["5","7","10","5min","10min","30min","1hour"]}],defaultParams:[10]}),s({name:"movingMedian",category:"Calculate",params:[{name:"windowSize",type:"int_or_interval",options:["5","7","10","5min","10min","30min","1hour"]}],defaultParams:["5"]}),s({name:"removeBelowValue",category:"Filter Data",params:[{name:"n",type:"int"}],defaultParams:[5]}),s({name:"lowest",category:"Filter Series",params:[{name:"count",type:"int"},{name:"func",type:"select",options:["sum","average","min","max","last"]}],defaultParams:[5,"average"]}),s({name:"lowestAverage",category:"Filter Series",params:[{name:"count",type:"int"}],defaultParams:[5]}),s({name:"removeAbovePercentile",category:"Filter Data",params:[{name:"n",type:"int"}],defaultParams:[5]}),s({name:"removeAboveValue",category:"Filter Data",params:[{name:"n",type:"int"}],defaultParams:[5]}),s({name:"removeBelowPercentile",category:"Filter Data",params:[{name:"n",type:"int"}],defaultParams:[5]}),s({name:"lowestCurrent",category:"Filter Series",params:[{name:"count",type:"int"}],defaultParams:[5]}),s({name:"highest",category:"Filter Series",params:[{name:"count",type:"int"},{name:"func",type:"select",options:["sum","average","min","max","last"]}],defaultParams:[5,"average"]}),s({name:"highestAverage",category:"Filter Series",params:[{name:"count",type:"int"}],defaultParams:[5]}),s({name:"highestMax",category:"Filter Series",params:[{name:"count",type:"int"}],defaultParams:[5]}),s({name:"exclude",category:"Filter Series",params:[{name:"exclude",type:"string"}],defaultParams:["exclude"]}),s({name:"highestCurrent",category:"Filter Series",params:[{name:"count",type:"int"}],defaultParams:[5]}),s({name:"fallbackSeries",category:"Special",params:[{name:"fallback",type:"string"}],defaultParams:["constantLine(0)"]}),s({name:"groupByNodes",category:"Combine",params:[{name:"function",type:"string",options:["sum","avg","maxSeries"]},{name:"node",type:"int",options:[0,1,2,3,4,5,6,7,8,9,10,12],multiple:!0}],defaultParams:["sum",3]}),s({name:"isNonNull",category:"Combine"}),s({name:"removeEmptySeries",category:"Filter Series"}),s({name:"seriesByTag",category:"Special",params:[{name:"tagExpression",type:"string",multiple:!0}]}),s({name:"groupByTags",category:"Combine",params:[{name:"function",type:"string",options:["sum","avg","maxSeries"]},{name:"tag",type:"string",multiple:!0}],defaultParams:["sum","tag"]}),s({name:"aliasByTags",category:"Alias",params:[{name:"tag",type:"string",multiple:!0}],defaultParams:["tag"]}),s({name:"perlinNoise",fake:!0,category:"Special",params:[{name:"name",type:"string"},{name:"step",type:"int",optional:!0},{name:"seed",type:"int",optional:!0},{name:"octavesCount",type:"int",optional:!0},{name:"interpolation",type:"select",options:["cosine","linear"]},{name:"amplitude",type:"float",optional:!0},{name:"wavelength",type:"int_or_interval",optional:!0},{name:"amplitudeOctaveDivider",type:"float",optional:!0},{name:"wavelengthOctaveDivider",type:"float",optional:!0}],defaultParams:["noise","60","-1","4","cosine","100","1d","1.8","3.2"]});var f=function(){function t(t,e){this.def=t,this.params=[],e&&e.withDefaultParams&&(this.params=t.defaultParams.slice(0)),this.updateText()}return t.prototype.render=function(t){for(var e=this,n=this.def.name+"(",r=o.default.map(this.params,function(t,n){var r;return n<e.def.params.length?r=e.def.params[n].type:o.default.get(o.default.last(e.def.params),"multiple")&&(r=o.default.get(o.default.last(e.def.params),"type")),o.default.includes(["value_or_series","boolean","int","float","node"],r)?t:o.default.includes(["int_or_interval","node_or_tag"],r)&&o.default.isFinite(+t)?o.default.toString(+t):"'"+t+"'"});""===r[r.length-1];)r.pop();return t&&r.unshift(t),n+r.join(", ")+")"},t.prototype._hasMultipleParamsInString=function(t,e){return-1!==t.indexOf(",")&&(!(!this.def.params[e+1]||!this.def.params[e+1].optional)||!!(e+1>=this.def.params.length&&o.default.get(o.default.last(this.def.params),"multiple")))},t.prototype.updateParam=function(t,e){var n=this;this._hasMultipleParamsInString(t,e)?o.default.each(t.split(","),function(t,r){n.updateParam(t.trim(),e+r)}):(""===t&&(e>=this.def.params.length||this.def.params[e].optional)?this.params.splice(e,1):this.params[e]=t,this.updateText())},t.prototype.updateText=function(){if(0!==this.params.length){var t=this.def.name+"(";t+=this.params.join(", "),t+=")",this.text=t}else this.text=this.def.name+"()"},t}();function h(t,e){if(!(e||u)[t])throw{message:"Method not found "+t};return(e||u)[t]}e.FuncInstance=f,e.default={createFuncInstance:function(t,e,n){return o.default.isString(t)&&(t=h(t,n)),new f(t,e)},getFuncDef:h,getFuncDefs:function(t,e){var n={};return o.default.forEach(e||u,function(e){l(e,t)&&(n[e.name]=o.default.assign({},e,{params:o.default.filter(e.params,function(e){return l(e,t)})}))}),n},parseFuncDefs:function(t){var e={};return o.default.forEach(t||{},function(t,n){if("Graph"!==t.group){var r=t.description;r&&(r=r.replace(/:py:func:`(.+)( <[^>]*>)?`/g,"``$1``").replace(/.. seealso:: /g,"See also: ").replace(/.. code-block *:: *none/g,".. code-block::"));var i={name:t.name,description:r,category:t.group,params:[],defaultParams:[],fake:!1};/^seriesLists?$/.test(o.default.get(t,"params[0].type",""))?t.params[0].multiple?t.params[0].required=!1:t.params.shift():i.fake=!0,o.default.forEach(t.params,function(t){var e={name:t.name,type:"string",optional:!t.required,multiple:!!t.multiple,options:void 0};void 0!==t.default?i.defaultParams.push(o.default.toString(t.default)):t.suggestions?i.defaultParams.push(o.default.toString(t.suggestions[0])):i.defaultParams.push(""),"boolean"===t.type?(e.type="boolean",e.options=["true","false"]):"integer"===t.type?e.type="int":"float"===t.type?e.type="float":"node"===t.type?(e.type="node",e.options=["0","1","2","3","4","5","6","7","8","9","10","11","12"]):"nodeOrTag"===t.type?(e.type="node_or_tag",e.options=["name","0","1","2","3","4","5","6","7","8","9","10","11","12"]):"intOrInterval"===t.type?e.type="int_or_interval":"seriesList"===t.type&&(e.type="value_or_series"),t.options?e.options=o.default.map(t.options,o.default.toString):t.suggestions&&(e.options=o.default.map(t.suggestions,o.default.toString)),i.params.push(e)}),e[n]=i}}),e}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TornimoQueryCtrl=void 0;var r=n(2);n(11),n(14);var i=s(n(0)),o=s(n(15)),a=n(18),u=s(n(19));function s(t){return t&&t.__esModule?t:{default:t}}var c=["=","!=","=~","!=~"],l="tag: ",f=function(t){function e(e,n,r,i,a){var u=t.call(this,e,n)||this;return u.uiSegmentSrv=r,u.templateSrv=i,u.supportsTags=u.datasource.supportsTags,u.paused=!1,u.target.target=u.target.target||"",u.datasource.waitForFuncDefsLoaded().then(function(){u.queryModel=new o.default(u.datasource,u.target,i),u.buildSegments()}),u.removeTagValue="-- remove tag --",u}return e.$inject=["$scope","$injector","uiSegmentSrv","templateSrv","$timeout"],(0,r.__extends)(e,t),e.prototype.parseTarget=function(){this.queryModel.parseTarget(),this.buildSegments()},e.prototype.toggleEditorMode=function(){this.target.textEditor=!this.target.textEditor,this.parseTarget()},e.prototype.buildSegments=function(){var t=this;this.segments=i.default.map(this.queryModel.segments,function(e){return t.uiSegmentSrv.newSegment(e)});var e=this.queryModel.checkOtherSegmentsIndex||0;this.checkOtherSegments(e),this.queryModel.seriesByTagUsed&&this.fixTagSegments()},e.prototype.addSelectMetricSegment=function(){this.queryModel.addSelectMetricSegment(),this.segments.push(this.uiSegmentSrv.newSelectMetric())},e.prototype.checkOtherSegments=function(t){var e=this;if(1!==this.queryModel.segments.length||"series-ref"!==this.queryModel.segments[0].type){if(0!==t){var n=this.queryModel.getSegmentPathUpTo(t+1);return""===n?Promise.resolve():this.datasource.metricFindQuery(n).then(function(r){if(0===r.length)""!==n&&(e.queryModel.segments=e.queryModel.segments.splice(0,t),e.segments=e.segments.splice(0,t),e.addSelectMetricSegment());else if(r[0].expandable){if(e.segments.length!==t)return e.checkOtherSegments(t+1);e.addSelectMetricSegment()}}).catch(function(t){u.default.emit("alert-error",["Error",t])})}this.addSelectMetricSegment()}},e.prototype.setSegmentFocus=function(t){i.default.each(this.segments,function(e,n){e.focus=t===n})},e.prototype.getAltSegments=function(t,e){var n=this,r=e&&e.length>0?"*"+e+"*":"*";t>0&&(r=this.queryModel.getSegmentPathUpTo(t)+"."+r);var o={range:this.panelCtrl.range,requestId:"get-alt-segments"};return this.datasource.metricFindQuery(r,o).then(function(r){var o=i.default.map(r,function(t){return n.uiSegmentSrv.newSegment({value:t.text,expandable:t.expandable})});return t>0&&0===o.length?o:(0===t&&i.default.eachRight(n.panelCtrl.panel.targets,function(t){t.refId!==n.queryModel.target.refId&&o.unshift(n.uiSegmentSrv.newSegment({type:"series-ref",value:"#"+t.refId,expandable:!1}))}),i.default.eachRight(n.templateSrv.variables,function(t){o.unshift(n.uiSegmentSrv.newSegment({type:"template",value:"$"+t.name,expandable:!0}))}),o.unshift(n.uiSegmentSrv.newSegment("*")),n.supportsTags&&0===t?(n.removeTaggedEntry(o),n.addAltTagSegments(e,o)):o)}).catch(function(t){return[]})},e.prototype.addAltTagSegments=function(t,e){return this.getTagsAsSegments(t).then(function(t){return t=i.default.map(t,function(t){return t.value=l+t.value,t}),e.concat.apply(e,(0,r.__spread)(t))})},e.prototype.removeTaggedEntry=function(t){t=i.default.remove(t,function(t){return"_tagged"===t.value})},e.prototype.segmentValueChanged=function(t,e){var n=this;if(this.error=null,this.queryModel.updateSegmentValue(t,e),this.queryModel.functions.length>0&&this.queryModel.functions[0].def.fake&&(this.queryModel.functions=[]),"tag"===t.type){var r=t.value.replace(l,"");return this.pause(),void this.addSeriesByTagFunc(r)}if(t.expandable)return this.checkOtherSegments(e+1).then(function(){n.setSegmentFocus(e+1),n.targetChanged()});this.spliceSegments(e+1),this.setSegmentFocus(e+1),this.targetChanged()},e.prototype.spliceSegments=function(t){this.segments=this.segments.splice(0,t),this.queryModel.segments=this.queryModel.segments.splice(0,t)},e.prototype.emptySegments=function(){this.queryModel.segments=[],this.segments=[]},e.prototype.targetTextChanged=function(){this.updateModelTarget(),this.refresh()},e.prototype.updateModelTarget=function(){this.queryModel.updateModelTarget(this.panelCtrl.panel.targets)},e.prototype.targetChanged=function(){if(!this.queryModel.error){var t=this.queryModel.target.target;this.updateModelTarget(),this.queryModel.target===t||this.paused||this.panelCtrl.refresh()}},e.prototype.addFunction=function(t){var e=this.datasource.createFuncInstance(t,{withDefaultParams:!0});e.added=!0,this.queryModel.addFunction(e),this.smartlyHandleNewAliasByNode(e),1===this.segments.length&&this.segments[0].fake&&this.emptySegments(),!e.params.length&&e.added&&this.targetChanged(),"seriesByTag"===e.def.name&&this.parseTarget()},e.prototype.removeFunction=function(t){this.queryModel.removeFunction(t),this.targetChanged()},e.prototype.addSeriesByTagFunc=function(t){var e=this.datasource.createFuncInstance("seriesByTag",{withDefaultParams:!1}),n=t+"=";e.params=[n],this.queryModel.addFunction(e),e.added=!0,this.emptySegments(),this.targetChanged(),this.parseTarget()},e.prototype.smartlyHandleNewAliasByNode=function(t){if("aliasByNode"===t.def.name)for(var e=0;e<this.segments.length;e++)if(this.segments[e].value.indexOf("*")>=0)return t.params[0]=e,t.added=!1,void this.targetChanged()},e.prototype.getAllTags=function(){var t=this;return this.datasource.getTags().then(function(e){var n=i.default.map(e,"text");return n.splice(0,0,t.removeTagValue),h(n)})},e.prototype.getTags=function(t,e){var n=this,r=this.queryModel.renderTagExpressions(t);return this.datasource.getTagsAutoComplete(r,e).then(function(t){var e=i.default.map(t,"text");return e.splice(0,0,n.removeTagValue),h(e)})},e.prototype.getTagsAsSegments=function(t){var e=this,n=this.queryModel.renderTagExpressions();return this.datasource.getTagsAutoComplete(n,t).then(function(t){return i.default.map(t,function(t){return e.uiSegmentSrv.newSegment({value:t.text,type:"tag",expandable:!1})})})},e.prototype.getTagOperators=function(){return h(c)},e.prototype.getAllTagValues=function(t){var e=t.key;return this.datasource.getTagValues(e).then(function(t){return h(i.default.map(t,"text"))})},e.prototype.getTagValues=function(t,e,n){var r=this,o=this.queryModel.renderTagExpressions(e),a=t.key;return this.datasource.getTagValuesAutoComplete(o,a,n).then(function(t){var e=i.default.map(t,"text");return i.default.eachRight(r.templateSrv.variables,function(t){e.push("${"+t.name+":regex}")}),h(e)})},e.prototype.tagChanged=function(t,e){this.queryModel.updateTag(t,e),this.targetChanged()},e.prototype.addNewTag=function(t){var e={key:t.value,operator:"=",value:""};this.queryModel.addTag(e),this.targetChanged(),this.fixTagSegments()},e.prototype.removeTag=function(t){this.queryModel.removeTag(t),this.targetChanged()},e.prototype.fixTagSegments=function(){this.addTagSegments=[this.uiSegmentSrv.newPlusButton()]},e.prototype.showDelimiter=function(t){return t!==this.queryModel.tags.length-1},e.prototype.pause=function(){this.paused=!0},e.prototype.unpause=function(){this.paused=!1,this.panelCtrl.refresh()},e.prototype.getCollapsedText=function(){return this.target.target},e.templateUrl="partials/query.editor.html",e}(a.QueryCtrl);function h(t){return i.default.map(t,function(t){return{text:t,value:t}})}e.TornimoQueryCtrl=f},function(t,e,n){"use strict";s.$inject=["$compile"],Object.defineProperty(e,"__esModule",{value:!0}),e.graphiteAddFunc=s;var r=u(n(0)),i=u(n(3)),o=u(n(4)),a=u(n(12));function u(t){return t&&t.__esModule?t:{default:t}}function s(t){return{link:function(e,n){var u,s=this,c=e.ctrl,l=(0,i.default)('<input type="text" class="gf-form-input" spellcheck="false" style="display:none"></input>'),f=(0,i.default)('<a class="gf-form-label query-part dropdown-toggle" tabindex="1" gf-dropdown="functionMenu" data-toggle="dropdown"><i class="fa fa-plus"></i></a>');l.appendTo(n),f.appendTo(n),c.datasource.getFuncDefs().then(function(i){var o=r.default.map(i,"name").sort();e.functionMenu=function(t){var e={};return r.default.forEach(t,function(t){t.category&&(e[t.category]||(e[t.category]=[]),e[t.category].push({text:t.name,click:"ctrl.addFunction('"+t.name+"')"}))}),r.default.sortBy(r.default.map(e,function(t,e){return{text:e,submenu:r.default.sortBy(t,"text")}}),"text")}(i),l.attr("data-provide","typeahead"),l.typeahead({source:o,minLength:1,items:10,updater:function(t){var n=c.datasource.getFuncDef(t);return n||(t=t.toLowerCase(),n=r.default.find(o,function(e){return 0===e.toLowerCase().indexOf(t)}))?(e.$apply(function(){c.addFunction(n)}),l.trigger("blur"),""):""}}),f.click(function(){f.hide(),l.show(),l.focus()}),l.keyup(function(){n.toggleClass("open",""===l.val())}),l.blur(function(){setTimeout(function(){l.val(""),l.hide(),f.show(),n.removeClass("open")},200)}),t(n.contents())(e)});var h=function(){u&&(u.destroy(),u=null)};(0,i.default)(n).on("mouseenter","ul.dropdown-menu li",function(){var t;h();try{t=c.datasource.getFuncDef((0,i.default)("a",s).text())}catch(t){}if(t&&t.description){var e=t.description;e.length>500&&(e=e.substring(0,497)+"...");var n=document.createElement("div");n.innerHTML="<h4>"+t.name+"</h4>"+(0,o.default)(e),u=new a.default({target:s,content:n,classes:"drop-popover",openOn:"always",tetherOptions:{attachment:"bottom left",targetAttachment:"bottom right"}})}}).on("mouseout","ul.dropdown-menu li",function(){h()}),e.$on("$destroy",h)}}}u(n(5)).default.directive("graphiteAddFunc",s)},function(t,e,n){var r,i,o;/*! tether-drop 1.5.0 */i=[n(13)],void 0===(o="function"==typeof(r=function(t){"use strict";var e=Function.prototype.bind,n=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var a,u=t[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&u.return&&u.return()}finally{if(i)throw o}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=function(t,e,n){for(var r=!0;r;){var i=t,o=e,a=n;r=!1,null===i&&(i=Function.prototype);var u=Object.getOwnPropertyDescriptor(i,o);if(void 0!==u){if("value"in u)return u.value;var s=u.get;if(void 0===s)return;return s.call(a)}var c=Object.getPrototypeOf(i);if(null===c)return;t=c,e=o,n=a,r=!0,u=c=void 0}},o=t.Utils,a=o.extend,u=o.addClass,s=o.removeClass,c=o.hasClass,l=o.Evented;function f(t){var e=t.split(" "),r=n(e,2),i=r[0],o=r[1];if(["left","right"].indexOf(i)>=0){var a=[o,i];i=a[0],o=a[1]}return[i,o].join(" ")}function h(t,e){for(var n=void 0,r=[];-1!==(n=t.indexOf(e));)r.push(t.splice(n,1));return r}var p=["click"];"ontouchstart"in document.documentElement&&p.push("touchstart");var d={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend",transition:"transitionend"},v="";for(var g in d)({}).hasOwnProperty.call(d,g)&&void 0!==document.createElement("p").style[g]&&(v=d[g]);var m={left:"right",right:"left",top:"bottom",bottom:"top",middle:"middle",center:"center"},y={},b=function n(){var o=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],d=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return new(e.apply(b,[null].concat(n)))};a(d,{createContext:n,drops:[],defaults:{}});var g={classPrefix:"drop",defaults:{position:"bottom left",openOn:"click",beforeClose:null,constrainToScrollParent:!0,constrainToWindow:!0,classes:"",remove:!1,openDelay:0,closeDelay:50,focusDelay:null,blurDelay:null,hoverOpenDelay:null,hoverCloseDelay:null,tetherOptions:{}}};a(d,g,o),a(d.defaults,g.defaults,o.defaults),void 0===y[d.classPrefix]&&(y[d.classPrefix]=[]),d.updateBodyClasses=function(){for(var t=!1,e=y[d.classPrefix],n=e.length,r=0;r<n;++r)if(e[r].isOpened()){t=!0;break}t?u(document.body,d.classPrefix+"-open"):s(document.body,d.classPrefix+"-open")};var b=function(e){function n(t){if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n),i(Object.getPrototypeOf(n.prototype),"constructor",this).call(this),this.options=a({},d.defaults,t),this.target=this.options.target,void 0===this.target)throw new Error("Drop Error: You must provide a target.");var e="data-"+d.classPrefix,r=this.target.getAttribute(e);r&&null==this.options.content&&(this.options.content=r);for(var o=["position","openOn"],s=0;s<o.length;++s){var c=this.target.getAttribute(e+"-"+o[s]);c&&null==this.options[o[s]]&&(this.options[o[s]]=c)}this.options.classes&&!1!==this.options.addTargetClasses&&u(this.target,this.options.classes),d.drops.push(this),y[d.classPrefix].push(this),this._boundEvents=[],this.bindMethods(),this.setupElements(),this.setupEvents(),this.setupTether()}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(n,l),r(n,[{key:"_on",value:function(t,e,n){this._boundEvents.push({element:t,event:e,handler:n}),t.addEventListener(e,n)}},{key:"bindMethods",value:function(){this.transitionEndHandler=this._transitionEndHandler.bind(this)}},{key:"setupElements",value:function(){var t=this;this.drop=document.createElement("div"),u(this.drop,d.classPrefix),this.options.classes&&u(this.drop,this.options.classes),this.content=document.createElement("div"),u(this.content,d.classPrefix+"-content"),"function"==typeof this.options.content?this.on("beforeOpen",function(){var e=t.options.content.call(t,t);if("string"==typeof e)t.content.innerHTML=e;else{if("object"!=typeof e)throw new Error("Drop Error: Content function should return a string or HTMLElement.");t.content.innerHTML="",t.content.appendChild(e)}}.bind(this)):"object"==typeof this.options.content?this.content.appendChild(this.options.content):this.content.innerHTML=this.options.content,this.drop.appendChild(this.content)}},{key:"setupTether",value:function(){var e=this.options.position.split(" ");e[0]=m[e[0]],e=e.join(" ");var n=[];this.options.constrainToScrollParent?n.push({to:"scrollParent",pin:"top, bottom",attachment:"together none"}):n.push({to:"scrollParent"}),!1!==this.options.constrainToWindow?n.push({to:"window",attachment:"together"}):n.push({to:"window"});var r={element:this.drop,target:this.target,attachment:f(e),targetAttachment:f(this.options.position),classPrefix:d.classPrefix,offset:"0 0",targetOffset:"0 0",enabled:!1,constraints:n,addTargetClasses:this.options.addTargetClasses};!1!==this.options.tetherOptions&&(this.tether=new t(a({},r,this.options.tetherOptions)))}},{key:"setupEvents",value:function(){var t=this;if(this.options.openOn)if("always"!==this.options.openOn){var e=this.options.openOn.split(" ");if(e.indexOf("click")>=0)for(var n=function(e){t.toggle(e),e.preventDefault()},r=function(e){t.isOpened()&&(e.target===t.drop||t.drop.contains(e.target)||e.target===t.target||t.target.contains(e.target)||t.close(e))},i=0;i<p.length;++i){var o=p[i];this._on(this.target,o,n),this._on(document,o,r)}var a=null,u=null,s=function(e){null!==u?clearTimeout(u):a=setTimeout(function(){t.open(e),a=null},("focus"===e.type?t.options.focusDelay:t.options.hoverOpenDelay)||t.options.openDelay)},c=function(e){null!==a?clearTimeout(a):u=setTimeout(function(){t.close(e),u=null},("blur"===e.type?t.options.blurDelay:t.options.hoverCloseDelay)||t.options.closeDelay)};e.indexOf("hover")>=0&&(this._on(this.target,"mouseover",s),this._on(this.drop,"mouseover",s),this._on(this.target,"mouseout",c),this._on(this.drop,"mouseout",c)),e.indexOf("focus")>=0&&(this._on(this.target,"focus",s),this._on(this.drop,"focus",s),this._on(this.target,"blur",c),this._on(this.drop,"blur",c))}else setTimeout(this.open.bind(this))}},{key:"isOpened",value:function(){if(this.drop)return c(this.drop,d.classPrefix+"-open")}},{key:"toggle",value:function(t){this.isOpened()?this.close(t):this.open(t)}},{key:"open",value:function(t){var e=this;this.isOpened()||(this.drop.parentNode||document.body.appendChild(this.drop),void 0!==this.tether&&this.tether.enable(),u(this.drop,d.classPrefix+"-open"),u(this.drop,d.classPrefix+"-open-transitionend"),setTimeout(function(){e.drop&&u(e.drop,d.classPrefix+"-after-open")}),this.trigger("beforeOpen"),void 0!==this.tether&&this.tether.position(),this.trigger("open"),d.updateBodyClasses())}},{key:"_transitionEndHandler",value:function(t){t.target===t.currentTarget&&(c(this.drop,d.classPrefix+"-open")||s(this.drop,d.classPrefix+"-open-transitionend"),this.drop.removeEventListener(v,this.transitionEndHandler))}},{key:"beforeCloseHandler",value:function(t){var e=!0;return this.isClosing||"function"!=typeof this.options.beforeClose||(this.isClosing=!0,e=!1!==this.options.beforeClose(t,this)),this.isClosing=!1,e}},{key:"close",value:function(t){this.isOpened()&&this.beforeCloseHandler(t)&&(s(this.drop,d.classPrefix+"-open"),s(this.drop,d.classPrefix+"-after-open"),this.drop.addEventListener(v,this.transitionEndHandler),this.trigger("close"),void 0!==this.tether&&this.tether.disable(),d.updateBodyClasses(),this.options.remove&&this.remove(t))}},{key:"remove",value:function(t){this.close(t),this.drop.parentNode&&this.drop.parentNode.removeChild(this.drop)}},{key:"position",value:function(){this.isOpened()&&void 0!==this.tether&&this.tether.position()}},{key:"destroy",value:function(){this.remove(),void 0!==this.tether&&this.tether.destroy();for(var t=0;t<this._boundEvents.length;++t){var e=this._boundEvents[t],n=e.element,r=e.event,i=e.handler;n.removeEventListener(r,i)}this._boundEvents=[],this.tether=null,this.drop=null,this.content=null,this.target=null,h(y[d.classPrefix],this),h(d.drops,this)}}]),n}();return d}();return document.addEventListener("DOMContentLoaded",function(){b.updateBodyClasses()}),b})?r.apply(e,i):r)||(t.exports=o)},function(t,e,n){var r,i,o;/*! tether 1.4.7 */i=[],void 0===(o="function"==typeof(r=function(){"use strict";var t=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();function e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var n=void 0;void 0===n&&(n={modules:[]});var r=null;function i(t){var e=t.getBoundingClientRect(),n={};for(var r in e)n[r]=e[r];try{if(t.ownerDocument!==document){var o=t.ownerDocument.defaultView.frameElement;if(o){var a=i(o);n.top+=a.top,n.bottom+=a.top,n.left+=a.left,n.right+=a.left}}}catch(t){}return n}function o(t){var e=(getComputedStyle(t)||{}).position,n=[];if("fixed"===e)return[t];for(var r=t;(r=r.parentNode)&&r&&1===r.nodeType;){var i=void 0;try{i=getComputedStyle(r)}catch(t){}if(null==i)return n.push(r),n;var o=i,a=o.overflow,u=o.overflowX,s=o.overflowY;/(auto|scroll|overlay)/.test(a+s+u)&&("absolute"!==e||["relative","absolute","fixed"].indexOf(i.position)>=0)&&n.push(r)}return n.push(t.ownerDocument.body),t.ownerDocument!==document&&n.push(t.ownerDocument.defaultView),n}var a,u=(a=0,function(){return++a}),s={},c=function(){var t=r;t&&document.body.contains(t)||((t=document.createElement("div")).setAttribute("data-tether-id",u()),v(t.style,{top:0,left:0,position:"absolute"}),document.body.appendChild(t),r=t);var e=t.getAttribute("data-tether-id");return void 0===s[e]&&(s[e]=i(t),C(function(){delete s[e]})),s[e]};function l(){r&&document.body.removeChild(r),r=null}function f(t){var e=void 0;t===document?(e=document,t=document.documentElement):e=t.ownerDocument;var n=e.documentElement,r=i(t),o=c();return r.top-=o.top,r.left-=o.left,void 0===r.width&&(r.width=document.body.scrollWidth-r.left-r.right),void 0===r.height&&(r.height=document.body.scrollHeight-r.top-r.bottom),r.top=r.top-n.clientTop,r.left=r.left-n.clientLeft,r.right=e.body.clientWidth-r.width-r.left,r.bottom=e.body.clientHeight-r.height-r.top,r}function h(t){return t.offsetParent||document.documentElement}var p=null;function d(){if(p)return p;var t=document.createElement("div");t.style.width="100%",t.style.height="200px";var e=document.createElement("div");v(e.style,{position:"absolute",top:0,left:0,pointerEvents:"none",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),e.appendChild(t),document.body.appendChild(e);var n=t.offsetWidth;e.style.overflow="scroll";var r=t.offsetWidth;n===r&&(r=e.clientWidth),document.body.removeChild(e);var i=n-r;return p={width:i,height:i}}function v(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],e=[];return Array.prototype.push.apply(e,arguments),e.slice(1).forEach(function(e){if(e)for(var n in e)({}).hasOwnProperty.call(e,n)&&(t[n]=e[n])}),t}function g(t,e){if(void 0!==t.classList)e.split(" ").forEach(function(e){e.trim()&&t.classList.remove(e)});else{var n=new RegExp("(^| )"+e.split(" ").join("|")+"( |$)","gi"),r=b(t).replace(n," ");x(t,r)}}function m(t,e){if(void 0!==t.classList)e.split(" ").forEach(function(e){e.trim()&&t.classList.add(e)});else{g(t,e);var n=b(t)+" "+e;x(t,n)}}function y(t,e){if(void 0!==t.classList)return t.classList.contains(e);var n=b(t);return new RegExp("(^| )"+e+"( |$)","gi").test(n)}function b(t){return t.className instanceof t.ownerDocument.defaultView.SVGAnimatedString?t.className.baseVal:t.className}function x(t,e){t.setAttribute("class",e)}function w(t,e,n){n.forEach(function(n){-1===e.indexOf(n)&&y(t,n)&&g(t,n)}),e.forEach(function(e){y(t,e)||m(t,e)})}var _=[],C=function(t){_.push(t)},A=function(){for(var t=void 0;t=_.pop();)t()},T=function(){function n(){e(this,n)}return t(n,[{key:"on",value:function(t,e,n){var r=!(arguments.length<=3||void 0===arguments[3])&&arguments[3];void 0===this.bindings&&(this.bindings={}),void 0===this.bindings[t]&&(this.bindings[t]=[]),this.bindings[t].push({handler:e,ctx:n,once:r})}},{key:"once",value:function(t,e,n){this.on(t,e,n,!0)}},{key:"off",value:function(t,e){if(void 0!==this.bindings&&void 0!==this.bindings[t])if(void 0===e)delete this.bindings[t];else for(var n=0;n<this.bindings[t].length;)this.bindings[t][n].handler===e?this.bindings[t].splice(n,1):++n}},{key:"trigger",value:function(t){if(void 0!==this.bindings&&this.bindings[t]){for(var e=0,n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];for(;e<this.bindings[t].length;){var o=this.bindings[t][e],a=o.handler,u=o.ctx,s=o.once,c=u;void 0===c&&(c=this),a.apply(c,r),s?this.bindings[t].splice(e,1):++e}}}}]),n}();n.Utils={getActualBoundingClientRect:i,getScrollParents:o,getBounds:f,getOffsetParent:h,extend:v,addClass:m,removeClass:g,hasClass:y,updateClasses:w,defer:C,flush:A,uniqueId:u,Evented:T,getScrollBarSize:d,removeUtilElements:l};var S=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var a,u=t[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&u.return&&u.return()}finally{if(i)throw o}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},k=(t=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),function(t,e,n){for(var r=!0;r;){var i=t,o=e,a=n;r=!1,null===i&&(i=Function.prototype);var u=Object.getOwnPropertyDescriptor(i,o);if(void 0!==u){if("value"in u)return u.value;var s=u.get;if(void 0===s)return;return s.call(a)}var c=Object.getPrototypeOf(i);if(null===c)return;t=c,e=o,n=a,r=!0,u=c=void 0}});function e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}if(void 0===n)throw new Error("You must include the utils.js file before tether.js");var o=(G=n.Utils).getScrollParents,h=(f=G.getBounds,G.getOffsetParent),m=(v=G.extend,G.addClass),g=G.removeClass,d=(w=G.updateClasses,C=G.defer,A=G.flush,G.getScrollBarSize),l=G.removeUtilElements;function E(t,e){var n=arguments.length<=2||void 0===arguments[2]?1:arguments[2];return t+n>=e&&e>=t-n}var j,O,P,D,q=function(){if("undefined"==typeof document)return"";for(var t=document.createElement("div"),e=["transform","WebkitTransform","OTransform","MozTransform","msTransform"],n=0;n<e.length;++n){var r=e[n];if(void 0!==t.style[r])return r}}(),N=[],M=function(){N.forEach(function(t){t.position(!1)}),A()};function L(){return"object"==typeof performance&&"function"==typeof performance.now?performance.now():+new Date}j=null,O=null,P=null,D=function t(){if(void 0!==O&&O>16)return O=Math.min(O-16,250),void(P=setTimeout(t,250));void 0!==j&&L()-j<10||(null!=P&&(clearTimeout(P),P=null),j=L(),M(),O=L()-j)},"undefined"!=typeof window&&void 0!==window.addEventListener&&["resize","scroll","touchmove"].forEach(function(t){window.addEventListener(t,D)});var I={center:"center",left:"right",right:"left"},R={middle:"middle",top:"bottom",bottom:"top"},F={top:0,left:0,middle:"50%",center:"50%",bottom:"100%",right:"100%"},B=function(t,e){var n=t.left,r=t.top;return"auto"===n&&(n=I[e.left]),"auto"===r&&(r=R[e.top]),{left:n,top:r}},z=function(t){var e=t.left,n=t.top;return void 0!==F[t.left]&&(e=F[t.left]),void 0!==F[t.top]&&(n=F[t.top]),{left:e,top:n}};function W(){for(var t={top:0,left:0},e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return n.forEach(function(e){var n=e.top,r=e.left;"string"==typeof n&&(n=parseFloat(n,10)),"string"==typeof r&&(r=parseFloat(r,10)),t.top+=n,t.left+=r}),t}function H(t,e){return"string"==typeof t.left&&-1!==t.left.indexOf("%")&&(t.left=parseFloat(t.left,10)/100*e.width),"string"==typeof t.top&&-1!==t.top.indexOf("%")&&(t.top=parseFloat(t.top,10)/100*e.height),t}var $=function(t){var e=t.split(" "),n=S(e,2);return{top:n[0],left:n[1]}},U=$,V=function(r){function i(t){var r=this;e(this,i),k(Object.getPrototypeOf(i.prototype),"constructor",this).call(this),this.position=this.position.bind(this),N.push(this),this.history=[],this.setOptions(t,!1),n.modules.forEach(function(t){void 0!==t.initialize&&t.initialize.call(r)}),this.position()}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(i,T),t(i,[{key:"getClass",value:function(){var t=arguments.length<=0||void 0===arguments[0]?"":arguments[0],e=this.options.classes;return void 0!==e&&e[t]?this.options.classes[t]:this.options.classPrefix?this.options.classPrefix+"-"+t:t}},{key:"setOptions",value:function(t){var e=this,n=arguments.length<=1||void 0===arguments[1]||arguments[1],r={offset:"0 0",targetOffset:"0 0",targetAttachment:"auto auto",classPrefix:"tether"};this.options=v(r,t);var i=this.options,a=i.element,u=i.target,s=i.targetModifier;if(this.element=a,this.target=u,this.targetModifier=s,"viewport"===this.target?(this.target=document.body,this.targetModifier="visible"):"scroll-handle"===this.target&&(this.target=document.body,this.targetModifier="scroll-handle"),["element","target"].forEach(function(t){if(void 0===e[t])throw new Error("Tether Error: Both element and target must be defined");void 0!==e[t].jquery?e[t]=e[t][0]:"string"==typeof e[t]&&(e[t]=document.querySelector(e[t]))}),m(this.element,this.getClass("element")),!1!==this.options.addTargetClasses&&m(this.target,this.getClass("target")),!this.options.attachment)throw new Error("Tether Error: You must provide an attachment");this.targetAttachment=U(this.options.targetAttachment),this.attachment=U(this.options.attachment),this.offset=$(this.options.offset),this.targetOffset=$(this.options.targetOffset),void 0!==this.scrollParents&&this.disable(),"scroll-handle"===this.targetModifier?this.scrollParents=[this.target]:this.scrollParents=o(this.target),!1!==this.options.enabled&&this.enable(n)}},{key:"getTargetBounds",value:function(){if(void 0===this.targetModifier)return f(this.target);if("visible"===this.targetModifier)return this.target===document.body?{top:pageYOffset,left:pageXOffset,height:innerHeight,width:innerWidth}:((o={height:(t=f(this.target)).height,width:t.width,top:t.top,left:t.left}).height=Math.min(o.height,t.height-(pageYOffset-t.top)),o.height=Math.min(o.height,t.height-(t.top+t.height-(pageYOffset+innerHeight))),o.height=Math.min(innerHeight,o.height),o.height-=2,o.width=Math.min(o.width,t.width-(pageXOffset-t.left)),o.width=Math.min(o.width,t.width-(t.left+t.width-(pageXOffset+innerWidth))),o.width=Math.min(innerWidth,o.width),o.width-=2,o.top<pageYOffset&&(o.top=pageYOffset),o.left<pageXOffset&&(o.left=pageXOffset),o);if("scroll-handle"===this.targetModifier){var t=void 0,e=this.target;e===document.body?(e=document.documentElement,t={left:pageXOffset,top:pageYOffset,height:innerHeight,width:innerWidth}):t=f(e);var n=getComputedStyle(e),r=0;(e.scrollWidth>e.clientWidth||[n.overflow,n.overflowX].indexOf("scroll")>=0||this.target!==document.body)&&(r=15);var i=t.height-parseFloat(n.borderTopWidth)-parseFloat(n.borderBottomWidth)-r,o={width:15,height:.975*i*(i/e.scrollHeight),left:t.left+t.width-parseFloat(n.borderLeftWidth)-15},a=0;i<408&&this.target===document.body&&(a=-11e-5*Math.pow(i,2)-.00727*i+22.58),this.target!==document.body&&(o.height=Math.max(o.height,24));var u=this.target.scrollTop/(e.scrollHeight-i);return o.top=u*(i-o.height-a)+t.top+parseFloat(n.borderTopWidth),this.target===document.body&&(o.height=Math.max(o.height,24)),o}}},{key:"clearCache",value:function(){this._cache={}}},{key:"cache",value:function(t,e){return void 0===this._cache&&(this._cache={}),void 0===this._cache[t]&&(this._cache[t]=e.call(this)),this._cache[t]}},{key:"enable",value:function(){var t=this,e=arguments.length<=0||void 0===arguments[0]||arguments[0];!1!==this.options.addTargetClasses&&m(this.target,this.getClass("enabled")),m(this.element,this.getClass("enabled")),this.enabled=!0,this.scrollParents.forEach(function(e){e!==t.target.ownerDocument&&e.addEventListener("scroll",t.position)}),e&&this.position()}},{key:"disable",value:function(){var t=this;g(this.target,this.getClass("enabled")),g(this.element,this.getClass("enabled")),this.enabled=!1,void 0!==this.scrollParents&&this.scrollParents.forEach(function(e){e.removeEventListener("scroll",t.position)})}},{key:"destroy",value:function(){var t=this;this.disable(),N.forEach(function(e,n){e===t&&N.splice(n,1)}),0===N.length&&l()}},{key:"updateAttachClasses",value:function(t,e){var n=this;t=t||this.attachment,e=e||this.targetAttachment,void 0!==this._addAttachClasses&&this._addAttachClasses.length&&this._addAttachClasses.splice(0,this._addAttachClasses.length),void 0===this._addAttachClasses&&(this._addAttachClasses=[]);var r=this._addAttachClasses;t.top&&r.push(this.getClass("element-attached")+"-"+t.top),t.left&&r.push(this.getClass("element-attached")+"-"+t.left),e.top&&r.push(this.getClass("target-attached")+"-"+e.top),e.left&&r.push(this.getClass("target-attached")+"-"+e.left);var i=[];["left","top","bottom","right","middle","center"].forEach(function(t){i.push(n.getClass("element-attached")+"-"+t),i.push(n.getClass("target-attached")+"-"+t)}),C(function(){void 0!==n._addAttachClasses&&(w(n.element,n._addAttachClasses,i),!1!==n.options.addTargetClasses&&w(n.target,n._addAttachClasses,i),delete n._addAttachClasses)})}},{key:"position",value:function(){var t=this,e=arguments.length<=0||void 0===arguments[0]||arguments[0];if(this.enabled){this.clearCache();var r=B(this.targetAttachment,this.attachment);this.updateAttachClasses(this.attachment,r);var i=this.cache("element-bounds",function(){return f(t.element)}),o=i.width,a=i.height;if(0===o&&0===a&&void 0!==this.lastSize){var u=this.lastSize;o=u.width,a=u.height}else this.lastSize={width:o,height:a};var s=this.cache("target-bounds",function(){return t.getTargetBounds()}),c=s,l=H(z(this.attachment),{width:o,height:a}),p=H(z(r),c),v=H(this.offset,{width:o,height:a}),g=H(this.targetOffset,c);l=W(l,v),p=W(p,g);for(var m=s.left+p.left-l.left,y=s.top+p.top-l.top,b=0;b<n.modules.length;++b){var x=n.modules[b],w=x.position.call(this,{left:m,top:y,targetAttachment:r,targetPos:s,elementPos:i,offset:l,targetOffset:p,manualOffset:v,manualTargetOffset:g,scrollbarSize:S,attachment:this.attachment});if(!1===w)return!1;void 0!==w&&"object"==typeof w&&(y=w.top,m=w.left)}var _={page:{top:y,left:m},viewport:{top:y-pageYOffset,bottom:pageYOffset-y-a+innerHeight,left:m-pageXOffset,right:pageXOffset-m-o+innerWidth}},C=this.target.ownerDocument,T=C.defaultView,S=void 0;return T.innerHeight>C.documentElement.clientHeight&&(S=this.cache("scrollbar-size",d),_.viewport.bottom-=S.height),T.innerWidth>C.documentElement.clientWidth&&(S=this.cache("scrollbar-size",d),_.viewport.right-=S.width),-1!==["","static"].indexOf(C.body.style.position)&&-1!==["","static"].indexOf(C.body.parentElement.style.position)||(_.page.bottom=C.body.scrollHeight-y-a,_.page.right=C.body.scrollWidth-m-o),void 0!==this.options.optimizations&&!1!==this.options.optimizations.moveElement&&void 0===this.targetModifier&&function(){var e=t.cache("target-offsetparent",function(){return h(t.target)}),n=t.cache("target-offsetparent-bounds",function(){return f(e)}),r=getComputedStyle(e),i=n,o={};if(["Top","Left","Bottom","Right"].forEach(function(t){o[t.toLowerCase()]=parseFloat(r["border"+t+"Width"])}),n.right=C.body.scrollWidth-n.left-i.width+o.right,n.bottom=C.body.scrollHeight-n.top-i.height+o.bottom,_.page.top>=n.top+o.top&&_.page.bottom>=n.bottom&&_.page.left>=n.left+o.left&&_.page.right>=n.right){var a=e.scrollTop,u=e.scrollLeft;_.offset={top:_.page.top-n.top+a-o.top,left:_.page.left-n.left+u-o.left}}}(),this.move(_),this.history.unshift(_),this.history.length>3&&this.history.pop(),e&&A(),!0}}},{key:"move",value:function(t){var e=this;if(void 0!==this.element.parentNode){var n={};for(var r in t)for(var i in n[r]={},t[r]){for(var o=!1,a=0;a<this.history.length;++a){var u=this.history[a];if(void 0!==u[r]&&!E(u[r][i],t[r][i])){o=!0;break}}o||(n[r][i]=!0)}var s,c,l={top:"",left:"",right:"",bottom:""},f=function(t,n){if(!1!==(void 0!==e.options.optimizations?e.options.optimizations.gpu:null)){var r=void 0,i=void 0;t.top?(l.top=0,r=n.top):(l.bottom=0,r=-n.bottom),t.left?(l.left=0,i=n.left):(l.right=0,i=-n.right),"number"==typeof window.devicePixelRatio&&devicePixelRatio%1==0&&(i=Math.round(i*devicePixelRatio)/devicePixelRatio,r=Math.round(r*devicePixelRatio)/devicePixelRatio),l[q]="translateX("+i+"px) translateY("+r+"px)","msTransform"!==q&&(l[q]+=" translateZ(0)")}else t.top?l.top=n.top+"px":l.bottom=n.bottom+"px",t.left?l.left=n.left+"px":l.right=n.right+"px"},p=!1;if((n.page.top||n.page.bottom)&&(n.page.left||n.page.right)?(l.position="absolute",f(n.page,t.page)):(n.viewport.top||n.viewport.bottom)&&(n.viewport.left||n.viewport.right)?(l.position="fixed",f(n.viewport,t.viewport)):void 0!==n.offset&&n.offset.top&&n.offset.left?function(){l.position="absolute";var r=e.cache("target-offsetparent",function(){return h(e.target)});h(e.element)!==r&&C(function(){e.element.parentNode.removeChild(e.element),r.appendChild(e.element)}),f(n.offset,t.offset),p=!0}():(l.position="absolute",f({top:!0,left:!0},t.page)),!p)if(this.options.bodyElement)this.element.parentNode!==this.options.bodyElement&&this.options.bodyElement.appendChild(this.element);else{for(var d=!0,g=this.element.parentNode;g&&1===g.nodeType&&"BODY"!==g.tagName&&(c=void 0,((c=(s=g).ownerDocument).fullscreenElement||c.webkitFullscreenElement||c.mozFullScreenElement||c.msFullscreenElement)!==s);){if("static"!==getComputedStyle(g).position){d=!1;break}g=g.parentNode}d||(this.element.parentNode.removeChild(this.element),this.element.ownerDocument.body.appendChild(this.element))}var m={},y=!1;for(var i in l){var b=l[i];this.element.style[i]!==b&&(y=!0,m[i]=b)}y&&C(function(){v(e.element.style,m),e.trigger("repositioned")})}}}]),i}();V.modules=[],n.position=M;var X=v(V,n);S=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var a,u=t[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&u.return&&u.return()}finally{if(i)throw o}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},f=(G=n.Utils).getBounds;var v=G.extend,Y=(w=G.updateClasses,C=G.defer,["left","top","right","bottom"]);n.modules.push({position:function(t){var e=this,n=t.top,r=t.left,i=t.targetAttachment;if(!this.options.constraints)return!0;var o=this.cache("element-bounds",function(){return f(e.element)}),a=o.height,u=o.width;if(0===u&&0===a&&void 0!==this.lastSize){var s=this.lastSize;u=s.width,a=s.height}var c=this.cache("target-bounds",function(){return e.getTargetBounds()}),l=c.height,h=c.width,p=[this.getClass("pinned"),this.getClass("out-of-bounds")];this.options.constraints.forEach(function(t){var e=t.outOfBoundsClass,n=t.pinnedClass;e&&p.push(e),n&&p.push(n)}),p.forEach(function(t){["left","top","right","bottom"].forEach(function(e){p.push(t+"-"+e)})});var d=[],g=v({},i),m=v({},this.attachment);return this.options.constraints.forEach(function(t){var o=t.to,s=t.attachment,c=t.pin;void 0===s&&(s="");var p=void 0,v=void 0;if(s.indexOf(" ")>=0){var y=s.split(" "),b=S(y,2);v=b[0],p=b[1]}else p=v=s;var x=function(t,e){return"scrollParent"===e?e=t.scrollParents[0]:"window"===e&&(e=[pageXOffset,pageYOffset,innerWidth+pageXOffset,innerHeight+pageYOffset]),e===document&&(e=e.documentElement),void 0!==e.nodeType&&function(){var t=e,n=f(e),r=n,i=getComputedStyle(e);if(e=[r.left,r.top,n.width+r.left,n.height+r.top],t.ownerDocument!==document){var o=t.ownerDocument.defaultView;e[0]+=o.pageXOffset,e[1]+=o.pageYOffset,e[2]+=o.pageXOffset,e[3]+=o.pageYOffset}Y.forEach(function(t,n){"Top"===(t=t[0].toUpperCase()+t.substr(1))||"Left"===t?e[n]+=parseFloat(i["border"+t+"Width"]):e[n]-=parseFloat(i["border"+t+"Width"])})}(),e}(e,o);"target"!==v&&"both"!==v||(n<x[1]&&"top"===g.top&&(n+=l,g.top="bottom"),n+a>x[3]&&"bottom"===g.top&&(n-=l,g.top="top")),"together"===v&&("top"===g.top&&("bottom"===m.top&&n<x[1]?(n+=l,g.top="bottom",n+=a,m.top="top"):"top"===m.top&&n+a>x[3]&&n-(a-l)>=x[1]&&(n-=a-l,g.top="bottom",m.top="bottom")),"bottom"===g.top&&("top"===m.top&&n+a>x[3]?(n-=l,g.top="top",n-=a,m.top="bottom"):"bottom"===m.top&&n<x[1]&&n+(2*a-l)<=x[3]&&(n+=a-l,g.top="top",m.top="top")),"middle"===g.top&&(n+a>x[3]&&"top"===m.top?(n-=a,m.top="bottom"):n<x[1]&&"bottom"===m.top&&(n+=a,m.top="top"))),"target"!==p&&"both"!==p||(r<x[0]&&"left"===g.left&&(r+=h,g.left="right"),r+u>x[2]&&"right"===g.left&&(r-=h,g.left="left")),"together"===p&&(r<x[0]&&"left"===g.left?"right"===m.left?(r+=h,g.left="right",r+=u,m.left="left"):"left"===m.left&&(r+=h,g.left="right",r-=u,m.left="right"):r+u>x[2]&&"right"===g.left?"left"===m.left?(r-=h,g.left="left",r-=u,m.left="right"):"right"===m.left&&(r-=h,g.left="left",r+=u,m.left="left"):"center"===g.left&&(r+u>x[2]&&"left"===m.left?(r-=u,m.left="right"):r<x[0]&&"right"===m.left&&(r+=u,m.left="left"))),"element"!==v&&"both"!==v||(n<x[1]&&"bottom"===m.top&&(n+=a,m.top="top"),n+a>x[3]&&"top"===m.top&&(n-=a,m.top="bottom")),"element"!==p&&"both"!==p||(r<x[0]&&("right"===m.left?(r+=u,m.left="left"):"center"===m.left&&(r+=u/2,m.left="left")),r+u>x[2]&&("left"===m.left?(r-=u,m.left="right"):"center"===m.left&&(r-=u/2,m.left="right"))),"string"==typeof c?c=c.split(",").map(function(t){return t.trim()}):!0===c&&(c=["top","left","right","bottom"]),c=c||[];var w,_,C=[],A=[];n<x[1]&&(c.indexOf("top")>=0?(n=x[1],C.push("top")):A.push("top")),n+a>x[3]&&(c.indexOf("bottom")>=0?(n=x[3]-a,C.push("bottom")):A.push("bottom")),r<x[0]&&(c.indexOf("left")>=0?(r=x[0],C.push("left")):A.push("left")),r+u>x[2]&&(c.indexOf("right")>=0?(r=x[2]-u,C.push("right")):A.push("right")),C.length&&(w=void 0,w=void 0!==e.options.pinnedClass?e.options.pinnedClass:e.getClass("pinned"),d.push(w),C.forEach(function(t){d.push(w+"-"+t)})),A.length&&(_=void 0,_=void 0!==e.options.outOfBoundsClass?e.options.outOfBoundsClass:e.getClass("out-of-bounds"),d.push(_),A.forEach(function(t){d.push(_+"-"+t)})),(C.indexOf("left")>=0||C.indexOf("right")>=0)&&(m.left=g.left=!1),(C.indexOf("top")>=0||C.indexOf("bottom")>=0)&&(m.top=g.top=!1),g.top===i.top&&g.left===i.left&&m.top===e.attachment.top&&m.left===e.attachment.left||(e.updateAttachClasses(m,g),e.trigger("update",{attachment:m,targetAttachment:g}))}),C(function(){!1!==e.options.addTargetClasses&&w(e.target,d,p),w(e.element,d,p)}),{top:n,left:r}}});var G,f=(G=n.Utils).getBounds,w=G.updateClasses;return C=G.defer,n.modules.push({position:function(t){var e=this,n=t.top,r=t.left,i=this.cache("element-bounds",function(){return f(e.element)}),o=i.height,a=i.width,u=this.getTargetBounds(),s=n+o,c=r+a,l=[];n<=u.bottom&&s>=u.top&&["left","right"].forEach(function(t){var e=u[t];e!==r&&e!==c||l.push(t)}),r<=u.right&&c>=u.left&&["top","bottom"].forEach(function(t){var e=u[t];e!==n&&e!==s||l.push(t)});var h=[],p=[];return h.push(this.getClass("abutted")),["left","top","right","bottom"].forEach(function(t){h.push(e.getClass("abutted")+"-"+t)}),l.length&&p.push(this.getClass("abutted")),l.forEach(function(t){p.push(e.getClass("abutted")+"-"+t)}),C(function(){!1!==e.options.addTargetClasses&&w(e.target,p,h),w(e.element,p,h)}),!0}}),S=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var a,u=t[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&u.return&&u.return()}finally{if(i)throw o}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},n.modules.push({position:function(t){var e=t.top,n=t.left;if(this.options.shift){var r=this.options.shift;"function"==typeof this.options.shift&&(r=this.options.shift.call(this,{top:e,left:n}));var i=void 0,o=void 0;if("string"==typeof r){(r=r.split(" "))[1]=r[1]||r[0];var a=S(r,2);i=a[0],o=a[1],i=parseFloat(i,10),o=parseFloat(o,10)}else i=r.top,o=r.left;return{top:e+=i,left:n+=o}}}}),X})?r.apply(e,i):r)||(t.exports=o)},function(t,e,n){"use strict";u.$inject=["$compile","templateSrv","popoverSrv"],Object.defineProperty(e,"__esModule",{value:!0}),e.graphiteFuncEditor=u;var r=a(n(0)),i=a(n(3)),o=a(n(4));function a(t){return t&&t.__esModule?t:{default:t}}function u(t,e,n){var a='<input type="text" style="display:none" class="input-small tight-form-func-param"></input>';return{restrict:"A",link:function(u,s){var c=(0,i.default)('<a ng-click="">{{func.def.name}}</a><span>(</span>'),l=(0,i.default)('\n    <div class="tight-form-func-controls">\n      <span class="pointer fa fa-arrow-left"></span>\n      <span class="pointer fa fa-question-circle"></span>\n      <span class="pointer fa fa-remove" ></span>\n      <span class="pointer fa fa-arrow-right"></span>\n    </div>'),f=u.ctrl,h=u.func,p=!1,d=0,v=null;function g(t){var e=(0,i.default)(this),n=e.prev(".comma"),r=e.next();r.val(h.params[t]),n.removeClass("query-part__last"),e.hide(),r.show(),r.focus(),r.select();var o=r.data("typeahead");o&&(r.val(""),o.lookup())}function m(t){return t<h.def.params.length?h.def.params[t]:r.default.last(h.def.params).multiple?r.default.assign({},r.default.last(h.def.params),{optional:!0}):{}}function y(t,n){var r=(0,i.default)(t);clearTimeout(v),v=null;var o=r.prev(),a=o.prev(".comma"),s=r.val();(""!==s||m(n).optional)&&(h.updateParam(s,n),o.html(s?e.highlightVariablesAsHtml(s):"&nbsp;")),d!==h.params.length&&(p||(p=!0,setTimeout(function(){A(),p=!1},200))),u.$apply(function(){f.targetChanged()}),o.hasClass("query-part__last")&&""===s?a.addClass("query-part__last"):o.removeClass("query-part__last"),r.hide(),o.show()}function b(t){var e=this;v=setTimeout(function(){y(e,t)},200)}function x(t,e){13===e.which&&(0,i.default)(this).blur()}function w(){this.style.width=8*(3+this.value.length)+"px"}function _(){var t=s.closest(".tight-form");if(s.hasClass("show-function-controls"))return s.removeClass("show-function-controls"),t.removeClass("has-open-function"),void l.hide();s.addClass("show-function-controls"),t.addClass("has-open-function"),l.show()}function C(){l.appendTo(s),c.appendTo(s);for(var n=r.default.clone(h.def.params),o=r.default.last(h.def.params);h.params.length>=n.length&&o&&o.multiple;)n.push(r.default.assign({},o,{optional:!0}));r.default.each(n,function(t,n){if(t.optional&&h.params.length<n)return!1;var o=e.highlightVariablesAsHtml(h.params[n]),u=n>=h.params.length-1&&t.optional&&!o;u&&t.multiple&&(o="+"),n>0&&(0,i.default)('<span class="comma'+(u?" query-part__last":"")+'">, </span>').appendTo(s);var c=(0,i.default)('<a ng-click="" class="graphite-func-param-link'+(u?" query-part__last":"")+'">'+(o||"&nbsp;")+"</a>"),l=(0,i.default)(a);return l.attr("placeholder",t.name),d++,c.appendTo(s),l.appendTo(s),l.blur(r.default.partial(b,n)),l.keyup(w),l.keypress(r.default.partial(x,n)),c.click(r.default.partial(g,n)),t.options&&function(t,e){t.attr("data-provide","typeahead");var n=m(e).options;"int"===m(e).type&&(n=r.default.map(n,function(t){return t.toString()})),t.typeahead({source:n,minLength:0,items:20,updater:function(n){return t.val(n),y(t[0],e),n}}),t.data("typeahead").lookup=function(){return this.query=this.$element.val()||"",this.process(this.source)}}(l,n),!0}),(0,i.default)("<span>)</span>").appendTo(s),t(s.contents())(u)}function A(){s.children().remove(),C(),u.func.added&&(u.func.added=!1,setTimeout(function(){s.find(".graphite-func-param-link").first().click()},10)),c.click(_),l.click(function(t){var e=(0,i.default)(t.target);if(e.hasClass("fa-remove"))return _(),void u.$apply(function(){f.removeFunction(u.func)});if(e.hasClass("fa-arrow-left"))u.$apply(function(){r.default.move(f.queryModel.functions,u.$index,u.$index-1),f.targetChanged()});else if(e.hasClass("fa-arrow-right"))u.$apply(function(){r.default.move(f.queryModel.functions,u.$index,u.$index+1),f.targetChanged()});else if(e.hasClass("fa-question-circle")){var a=f.datasource.getFuncDef(h.def.name);a&&a.description?n.show({element:t.target,position:"bottom left",classNames:"drop-popover drop-function-def",template:'\n                  <div style="overflow:auto;max-height:30rem;">\n                    <h4> '+a.name+" </h4>\n                    "+(0,o.default)(a.description)+"\n                  </div>",openOn:"click"}):window.open("http://graphite.readthedocs.org/en/latest/functions.html#graphite.render.functions."+h.def.name,"_blank")}})}A()}}}a(n(5)).default.directive("graphiteFuncEditor",u)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=n(2),o=n(0),a=(r=o)&&r.__esModule?r:{default:r},u=n(16);var s=function(){function t(t,e,n,r){this.datasource=t,this.target=e,this.parseTarget(),this.removeTagValue="-- remove tag --"}return t.$inject=["datasource","target","templateSrv","scopedVars"],t.prototype.parseTarget=function(){if(this.functions=[],this.segments=[],this.tags=[],this.error=null,!this.target.textEditor){var t=new u.Parser(this.target.target).getAst();if(null!==t){if("error"===t.type)return this.error=t.message+" at position: "+t.pos,void(this.target.textEditor=!0);try{this.parseTargetRecursive(t,null)}catch(t){console.log("error parsing target:",t.message),this.error=t.message,this.target.textEditor=!0}this.checkOtherSegmentsIndex=this.segments.length-1,this.checkForSeriesByTag()}else this.checkOtherSegmentsIndex=0}},t.prototype.checkForSeriesByTag=function(){var t=a.default.find(this.functions,function(t){return"seriesByTag"===t.def.name});if(t){this.seriesByTagUsed=!0,t.hidden=!0;var e=this.splitSeriesByTagParams(t);this.tags=e}},t.prototype.getSegmentPathUpTo=function(t){var e=this.segments.slice(0,t);return a.default.reduce(e,function(t,e){return t?t+"."+e.value:e.value},"")},t.prototype.parseTargetRecursive=function(t,e){var n=this;if(null===t)return null;switch(t.type){case"function":var r=this.datasource.createFuncInstance(t.name,{withDefaultParams:!1});a.default.each(t.params,function(t){n.parseTargetRecursive(t,r)}),r.updateText(),this.functions.push(r);break;case"series-ref":this.segments.length>0?this.addFunctionParameter(e,t.value):this.segments.push(t);break;case"bool":case"string":case"number":this.addFunctionParameter(e,t.value);break;case"metric":this.segments.length>0?this.addFunctionParameter(e,a.default.join(a.default.map(t.segments,"value"),".")):this.segments=t.segments}},t.prototype.updateSegmentValue=function(t,e){this.segments[e].value=t.value},t.prototype.addSelectMetricSegment=function(){this.segments.push({value:"select metric"})},t.prototype.addFunction=function(t){this.functions.push(t),this.moveAliasFuncLast()},t.prototype.moveAliasFuncLast=function(){var t=a.default.find(this.functions,function(t){return t.def.name.startsWith("alias")});t&&(this.functions=a.default.without(this.functions,t),this.functions.push(t))},t.prototype.addFunctionParameter=function(t,e){if(t.params.length>=t.def.params.length&&!a.default.get(a.default.last(t.def.params),"multiple",!1))throw{message:"too many parameters for function "+t.def.name};t.params.push(e)},t.prototype.removeFunction=function(t){this.functions=a.default.without(this.functions,t)},t.prototype.updateModelTarget=function(t){var e,n;if(!this.target.textEditor){var r=this.getSegmentPathUpTo(this.segments.length).replace(/\.select metric$/,"");this.target.target=a.default.reduce(this.functions,c,r)}this.updateRenderedTarget(this.target,t);try{for(var o=(0,i.__values)(t||[]),u=o.next();!u.done;u=o.next()){var s=u.value;s.refId!==this.target.refId&&this.updateRenderedTarget(s,t)}}catch(t){e={error:t}}finally{try{u&&!u.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}},t.prototype.updateRenderedTarget=function(t,e){var n=a.default.keyBy(e,"refId");delete n[t.refId];var r=/\#([A-Z])/g,i=t.target;for(a.default.each(n,function(t,e){!function(t,e){var n=0;a.default.each(t,function(t,i){if(i!==e){var o=r.exec(t.target),a=o&&o.length?o.length-1:0;n+=a}}),t[e].refCount=n}(n,e)});i.match(r);){var o=i.replace(r,function(t,e){var r=n[e];return r?(0===r.refCount&&delete n[e],r.refCount--,r.target):t});if(o===i)break;i=o}delete t.targetFull,t.target!==i&&(t.targetFull=i)},t.prototype.splitSeriesByTagParams=function(t){var e=/([^\!=~]+)(\!?=~?)(.*)/;return a.default.flatten(a.default.map(t.params,function(t){var n=e.exec(t);if(n){var r=n.slice(1);if(3===r.length)return{key:r[0],operator:r[1],value:r[2]}}return[]}))},t.prototype.getSeriesByTagFuncIndex=function(){return a.default.findIndex(this.functions,function(t){return"seriesByTag"===t.def.name})},t.prototype.getSeriesByTagFunc=function(){var t=this.getSeriesByTagFuncIndex();return t>=0?this.functions[t]:void 0},t.prototype.addTag=function(t){var e=l(t);this.getSeriesByTagFunc().params.push(e),this.tags.push(t)},t.prototype.removeTag=function(t){this.getSeriesByTagFunc().params.splice(t,1),this.tags.splice(t,1)},t.prototype.updateTag=function(t,e){if(this.error=null,t.key!==this.removeTagValue){var n=l(t);this.getSeriesByTagFunc().params[e]=n,this.tags[e]=t}else this.removeTag(e)},t.prototype.renderTagExpressions=function(t){return void 0===t&&(t=-1),a.default.compact(a.default.map(this.tags,function(e,n){if(n!==t)return e.key+e.operator+e.value}))},t}();function c(t,e){return e.render(t)}function l(t){return t.key+t.operator+t.value}e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Parser=i;var r=n(17);function i(t){this.expression=t,this.lexer=new r.Lexer(t),this.tokens=this.lexer.tokenize(),this.index=0}i.prototype={getAst:function(){return this.start()},start:function(){try{return this.functionCall()||this.metricExpression()}catch(t){return{type:"error",message:t.message,pos:t.pos}}},curlyBraceSegment:function(){if(this.match("identifier","{")||this.match("{")){for(var t="";!this.match("")&&!this.match("}");)t+=this.consumeToken().value;return this.match("}")||this.errorMark("Expected closing '}'"),t+=this.consumeToken().value,this.match("identifier")&&(t+=this.consumeToken().value),{type:"segment",value:t}}return null},metricSegment:function(){var t=this.curlyBraceSegment();if(t)return t;if(this.match("identifier")||this.match("number")){var e=this.consumeToken().value.split(".");return 2===e.length&&(this.tokens.splice(this.index,0,{type:"."}),this.tokens.splice(this.index+1,0,{type:"number",value:e[1]})),{type:"segment",value:e[0]}}this.match("templateStart")||this.errorMark("Expected metric identifier"),this.consumeToken(),this.match("identifier")||this.errorMark("Expected identifier after templateStart");var n={type:"template",value:this.consumeToken().value};return this.match("templateEnd")||this.errorMark("Expected templateEnd"),this.consumeToken(),n},metricExpression:function(){if(!(this.match("templateStart")||this.match("identifier")||this.match("number")||this.match("{")))return null;var t={type:"metric",segments:[]};for(t.segments.push(this.metricSegment());this.match(".");){this.consumeToken();var e=this.metricSegment();e||this.errorMark("Expected metric identifier"),t.segments.push(e)}return t},functionCall:function(){if(!this.match("identifier","("))return null;var t={type:"function",name:this.consumeToken().value};return this.consumeToken(),t.params=this.functionParameters(),this.match(")")||this.errorMark("Expected closing parenthesis"),this.consumeToken(),t},boolExpression:function(){return this.match("bool")?{type:"bool",value:"true"===this.consumeToken().value}:null},functionParameters:function(){if(this.match(")")||this.match(""))return[];var t=this.functionCall()||this.numericLiteral()||this.seriesRefExpression()||this.boolExpression()||this.metricExpression()||this.stringLiteral();return this.match(",")?(this.consumeToken(),[t].concat(this.functionParameters())):[t]},seriesRefExpression:function(){return this.match("identifier")&&this.tokens[this.index].value.match(/\#[A-Z]/)?{type:"series-ref",value:this.consumeToken().value}:null},numericLiteral:function(){return this.match("number")?{type:"number",value:parseFloat(this.consumeToken().value)}:null},stringLiteral:function(){if(!this.match("string"))return null;var t=this.consumeToken();if(t.isUnclosed)throw{message:"Unclosed string parameter",pos:t.pos};return{type:"string",value:t.value}},errorMark:function(t){var e=this.tokens[this.index];throw{message:t+" instead found "+(e?e.type:"end of string"),pos:e?e.pos:this.lexer.char}},consumeToken:function(){return this.index++,this.tokens[this.index-1]},matchToken:function(t,e){var n=this.tokens[this.index+e];return void 0===n&&""===t||n&&n.type===t},match:function(t,e){return this.matchToken(t,0)&&(!e||this.matchToken(e,1))}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Lexer=l;var r,i=n(0),o=(r=i)&&r.__esModule?r:{default:r};for(var a=[170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,880,884,886,887,890,893,902,902,904,906,908,908,910,929,931,1013,1015,1153,1162,1319,1329,1366,1369,1369,1377,1415,1488,1514,1520,1522,1568,1610,1646,1647,1649,1747,1749,1749,1765,1766,1774,1775,1786,1788,1791,1791,1808,1808,1810,1839,1869,1957,1969,1969,1994,2026,2036,2037,2042,2042,2048,2069,2074,2074,2084,2084,2088,2088,2112,2136,2308,2361,2365,2365,2384,2384,2392,2401,2417,2423,2425,2431,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2493,2493,2510,2510,2524,2525,2527,2529,2544,2545,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2674,2676,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2785,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2877,2877,2908,2909,2911,2913,2929,2929,2947,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3024,3024,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3133,3133,3160,3161,3168,3169,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3261,3261,3294,3294,3296,3297,3313,3314,3333,3340,3342,3344,3346,3386,3389,3389,3406,3406,3424,3425,3450,3455,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3760,3762,3763,3773,3773,3776,3780,3782,3782,3804,3805,3840,3840,3904,3911,3913,3948,3976,3980,4096,4138,4159,4159,4176,4181,4186,4189,4193,4193,4197,4198,4206,4208,4213,4225,4238,4238,4256,4293,4304,4346,4348,4348,4352,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4992,5007,5024,5108,5121,5740,5743,5759,5761,5786,5792,5866,5870,5872,5888,5900,5902,5905,5920,5937,5952,5969,5984,5996,5998,6e3,6016,6067,6103,6103,6108,6108,6176,6263,6272,6312,6314,6314,6320,6389,6400,6428,6480,6509,6512,6516,6528,6571,6593,6599,6656,6678,6688,6740,6823,6823,6917,6963,6981,6987,7043,7072,7086,7087,7104,7141,7168,7203,7245,7247,7258,7293,7401,7404,7406,7409,7424,7615,7680,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8305,8305,8319,8319,8336,8348,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11502,11520,11557,11568,11621,11631,11631,11648,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,11823,11823,12293,12295,12321,12329,12337,12341,12344,12348,12353,12438,12445,12447,12449,12538,12540,12543,12549,12589,12593,12686,12704,12730,12784,12799,13312,13312,19893,19893,19968,19968,40907,40907,40960,42124,42192,42237,42240,42508,42512,42527,42538,42539,42560,42606,42623,42647,42656,42735,42775,42783,42786,42888,42891,42894,42896,42897,42912,42921,43002,43009,43011,43013,43015,43018,43020,43042,43072,43123,43138,43187,43250,43255,43259,43259,43274,43301,43312,43334,43360,43388,43396,43442,43471,43471,43520,43560,43584,43586,43588,43595,43616,43638,43642,43642,43648,43695,43697,43697,43701,43702,43705,43709,43712,43712,43714,43714,43739,43741,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43968,44002,44032,44032,55203,55203,55216,55238,55243,55291,63744,64045,64048,64109,64112,64217,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65140,65142,65276,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500,65536,65547,65549,65574,65576,65594,65596,65597,65599,65613,65616,65629,65664,65786,65856,65908,66176,66204,66208,66256,66304,66334,66352,66378,66432,66461,66464,66499,66504,66511,66513,66517,66560,66717,67584,67589,67592,67592,67594,67637,67639,67640,67644,67644,67647,67669,67840,67861,67872,67897,68096,68096,68112,68115,68117,68119,68121,68147,68192,68220,68352,68405,68416,68437,68448,68466,68608,68680,69635,69687,69763,69807,73728,74606,74752,74850,77824,78894,92160,92728,110592,110593,119808,119892,119894,119964,119966,119967,119970,119970,119973,119974,119977,119980,119982,119993,119995,119995,119997,120003,120005,120069,120071,120074,120077,120084,120086,120092,120094,120121,120123,120126,120128,120132,120134,120134,120138,120144,120146,120485,120488,120512,120514,120538,120540,120570,120572,120596,120598,120628,120630,120654,120656,120686,120688,120712,120714,120744,120746,120770,120772,120779,131072,131072,173782,173782,173824,173824,177972,177972,177984,177984,178205,178205,194560,195101],u=[],s=0;s<128;s++)u[s]=s>=48&&s<=57||36===s||126===s||124===s||s>=65&&s<=90||95===s||45===s||42===s||58===s||91===s||93===s||63===s||37===s||35===s||61===s||s>=97&&s<=122;var c=u;function l(t){this.input=t,this.char=1,this.from=1}l.prototype={peek:function(t){return this.input.charAt(t||0)},skip:function(t){t=t||1,this.char+=t,this.input=this.input.slice(t)},tokenize:function(){for(var t=[],e=this.next();e;)t.push(e),e=this.next();return t},next:function(){if(this.from=this.char,/\s/.test(this.peek())){for(;/\s/.test(this.peek());)this.from+=1,this.skip();if(""===this.peek())return null}var t=this.scanStringLiteral();return t||((t=this.scanPunctuator()||this.scanNumericLiteral()||this.scanIdentifier()||this.scanTemplateSequence())?(this.skip(t.value.length),t):null)},scanTemplateSequence:function(){return"["===this.peek()&&"["===this.peek(1)?{type:"templateStart",value:"[[",pos:this.char}:"]"===this.peek()&&"]"===this.peek(1)?{type:"templateEnd",value:"[[",pos:this.char}:null},scanIdentifier:function(){var t,e,n="",r=0;function i(t){for(var e=0;e<a.length;){if(t<a[e++])return!1;if(t<=a[e++])return!0}return!1}function s(t){return/^[0-9a-fA-F]$/.test(t)}var l=o.default.bind(function(){if(r+=1,"u"!==this.peek(r))return null;var t=this.peek(r+1),e=this.peek(r+2),n=this.peek(r+3),o=this.peek(r+4);return s(t)&&s(e)&&s(n)&&s(o)&&i(parseInt(t+e+n+o,16))?(r+=5,"\\u"+t+e+n+o):null},this),f=o.default.bind(function(){var t=this.peek(r),e=t.charCodeAt(0);return"*"===t?(r+=1,t):92===e?l():e<128?u[e]?(r+=1,t):null:i(e)?(r+=1,t):null},this),h=o.default.bind(function(){var t=this.peek(r),e=t.charCodeAt(0);return 92===e?l():e<128?c[e]?(r+=1,t):null:i(e)?(r+=1,t):null},this);if(null===(e=f()))return null;for(n=e;null!==(e=h());)n+=e;switch(n){case"true":case"false":t="bool";break;default:t="identifier"}return{type:t,value:n,pos:this.char}},scanNumericLiteral:function(){var t,e=0,n="",r=this.input.length,i=this.peek(e);function o(t){return/^[0-9]$/.test(t)}function a(t){return/^[0-7]$/.test(t)}function u(t){return"$"===t||"_"===t||"\\"===t||t>="a"&&t<="z"||t>="A"&&t<="Z"}if("-"===i&&(n+=i,e+=1,i=this.peek(e)),"."!==i&&!o(i))return null;if("."!==i){if(n+=this.peek(e),e+=1,i=this.peek(e),"0"===n){if("x"===i||"X"===i){for(e+=1,n+=i;e<r&&(i=this.peek(e),/^[0-9a-fA-F]$/.test(i));)n+=i,e+=1;return n.length<=2?{type:"number",value:n,isMalformed:!0,pos:this.char}:e<r&&u(i=this.peek(e))?null:{type:"number",value:n,base:16,isMalformed:!1,pos:this.char}}if(a(i)){for(e+=1,n+=i,t=!1;e<r;){if(o(i=this.peek(e))&&(t=!0),!a(i)){if(!this.isPunctuator(i))return null;break}n+=i,e+=1}return e<r&&u(i=this.peek(e))?null:{type:"number",value:n,base:8,isMalformed:t}}o(i)&&(e+=1,n+=i)}for(;e<r&&o(i=this.peek(e));)n+=i,e+=1}if("."===i)for(n+=i,e+=1;e<r&&o(i=this.peek(e));)n+=i,e+=1;if("e"===i||"E"===i){if(n+=i,e+=1,"+"!==(i=this.peek(e))&&"-"!==i||(n+=this.peek(e),e+=1),!o(i=this.peek(e)))return null;for(n+=i,e+=1;e<r&&o(i=this.peek(e));)n+=i,e+=1}return e<r&&(i=this.peek(e),!this.isPunctuator(i))?null:{type:"number",value:n,base:10,pos:this.char,isMalformed:!isFinite(+n)}},isPunctuator:function(t){switch(t){case".":case"(":case")":case",":case"{":case"}":return!0}return!1},scanPunctuator:function(){var t=this.peek();return this.isPunctuator(t)?{type:t,value:t,pos:this.char}:null},scanStringLiteral:function(){var t=this.peek();if('"'!==t&&"'"!==t)return null;var e="";for(this.skip();this.peek()!==t;){if(""===this.peek())return{type:"string",value:e,isUnclosed:!0,quote:t,pos:this.char};e+=this.peek(),this.skip(1)}return this.skip(),{type:"string",value:e,isUnclosed:!1,quote:t,pos:this.char}}}},function(t,e){t.exports=r},function(t,e){t.exports=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){this.tornimoVersions=[{name:"0.382",value:"0.382"}],this.bucketSizes=[{name:"1s",value:"1"},{name:"5s",value:"5"},{name:"10s",value:"10"},{name:"15s",value:"15"},{name:"30s",value:"30"},{name:"60s",value:"60"}],this.datasourceSrv=e,this.current.jsonData=this.current.jsonData||{},this.current.jsonData.tornimoVersion=this.current.jsonData.tornimoVersion||"1.0",this.current.jsonData.bucketSizeSeconds=this.current.jsonData.bucketSizeSeconds||60,this.autoDetectTornimoVersion()}return t.$inject=["$scope","datasourceSrv"],t.prototype.autoDetectTornimoVersion=function(){var t=this;this.current.id&&this.datasourceSrv.loadDatasource(this.current.name).then(function(t){return t.getVersion()}).then(function(e){t.tornimoVersions.push({name:e,value:e}),t.current.jsonData.tornimoVersion=e})},t.templateUrl="partials/config.html",t}();e.TornimoConfigCtrl=r}])});
  //# sourceMappingURL=module.js.map